# UnifiedWriter Package File Structure

UnifiedWriter follows iToolkits application development policy v1.6. The package root is environment-independent and does not contain internal Root URLs.

- `scripts/main.js`: public AMD entry. Host should set a RequireJS alias to the package `scripts/` directory.
- `themes/base/unified_writer.css`: default runtime theme.
- `demo/basic.html`: host integration example. Demo code is not part of runtime.
- `PACKAGE_MANIFEST.json`: machine-readable package-relative manifest.

Host integration receives these two external values separately:

- Package root URL
- Package manifest URL = Package root URL + `/PACKAGE_MANIFEST.json`

## v5.66.1 controls directory

`UnifiedWriter/scripts/controls/` contains the Host-facing UnifiedControl Framework classes.

- `editor_control.js`: public body Control, extends `UnifiedControl.Control`.
- `workbench_control.js`: public composite Control, also a UnifiedControl-based Control; it is not a base class.
- `legacy_runtime.js`: internal migration bridge to the existing jQuery editor runtime.

The Host/Demo must configure the `UnifiedControl` RequireJS alias separately. The UnifiedControl package itself is not copied into this package.
