Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

refactor: rebrand Narratage as Hypit

rponedf23c73d9757
diff --git a/.agents/skills/narratage/SKILL.md b/.agents/skills/hypit/SKILL.md
similarity index 79%
rename from .agents/skills/narratage/SKILL.md
rename to .agents/skills/hypit/SKILL.md
index 97631121..56fc251a 100644
--- a/.agents/skills/narratage/SKILL.md
+++ b/.agents/skills/hypit/SKILL.md
@@ -1,12 +1,12 @@
---
-name: narratage
-description: Author, check, plan, build, inspect, and retrieve Narratage/SVML video sources; configure the cross-platform Node/pnpm/Python runtime and API keys; reconstruct reference video directly as .svml/.svs/.svrun sources; and apply native SVML production playbooks for prompts, continuity, captions, B-roll, overlays, audio, and common video formats. Use for the Narratage repository, its quickstart, SVML authoring, runtime profiles, reference-video reconstruction, or video craft decisions.
+name: hypit
+description: Author, check, plan, build, inspect, and retrieve Hypit/SVML video sources; configure the cross-platform Node/pnpm/Python runtime and API keys; reconstruct reference video directly as .svml/.svs/.svrun sources; and apply native SVML production playbooks for prompts, continuity, captions, B-roll, overlays, audio, and common video formats. Use for the Hypit repository, its quickstart, SVML authoring, runtime profiles, reference-video reconstruction, or video craft decisions.
---
-# Narratage
+# Hypit
-Use this entrypoint for work in the `narratage` repository. Keep `.svml` Author Source, `.svrun` Run
-Source, and the declarative `narratage.runtime.json` Runtime Profile separate.
+Use this entrypoint for work in the `hypit` repository. Keep `.svml` Author Source, `.svrun` Run
+Source, and the declarative `hypit.runtime.json` Runtime Profile separate.
## Route the task
@@ -29,7 +29,7 @@ Source, and the declarative `narratage.runtime.json` Runtime Profile separate.
## Read the package README before writing its syntax
Before writing any element from a package, read that package's README. The import
-`@narratage/<name>@1` is `packages/<name>/README.md` — every package that defines SVML elements has
+`@hypit/<name>@1` is `packages/<name>/README.md` — every package that defines SVML elements has
one, and it is the authority on that package's components, attributes, and ports.
Never write a component or attribute you have not seen in that file, and never infer one package's
@@ -40,11 +40,11 @@ same attributes.
```bash
cd path/to/project
-narratage runtime use narratage.runtime.json
-narratage plan build.svrun
-narratage build build.svrun --follow
-narratage inspect <build-id>
-narratage get <build-id> \
+hypit runtime use hypit.runtime.json
+hypit plan build.svrun
+hypit build build.svrun --follow
+hypit inspect <build-id>
+hypit get <build-id> \
--name final.video --to output/final.mp4
```
@@ -56,7 +56,7 @@ to stop only the Worker; use `programs down` separately when external programs s
Neither command cancels Builds or remote Provider work.
After submitting without `--follow`, or after leaving an observer, reattach with
-`narratage status <build-id> --watch`. A plain `status` remains a one-time snapshot.
+`hypit status <build-id> --watch`. A plain `status` remains a one-time snapshot.
Every `build` invocation receives a fresh automatic Build id. Never try to reclaim a prior Build by
restoring Source bytes or choosing an id. Cross-Build reuse exists only through explicit
@@ -77,7 +77,7 @@ in as the picture it names, held for the length it declares.
pkill -f svml-playground || true # never leave the old one holding the port
pnpm svml:playground -- --source path/to/main.svml \
--run path/to/build.svrun \
- --runtime path/to/narratage.runtime.json &
+ --runtime path/to/hypit.runtime.json &
# then send the author: http://localhost:5179/
```
diff --git a/.agents/skills/hypit/agents/openai.yaml b/.agents/skills/hypit/agents/openai.yaml
new file mode 100644
index 00000000..c5f9ed6c
--- /dev/null
+++ b/.agents/skills/hypit/agents/openai.yaml
@@ -0,0 +1,4 @@
+interface:
+ display_name: "Hypit"
+ short_description: "Build SVML videos with production playbooks"
+ default_prompt: "Use $hypit to author, validate, or refine native SVML video sources and production craft."
diff --git a/.agents/skills/narratage/references/credentials.md b/.agents/skills/hypit/references/credentials.md
similarity index 73%
rename from .agents/skills/narratage/references/credentials.md
rename to .agents/skills/hypit/references/credentials.md
index 16a06f56..b0e0c160 100644
--- a/.agents/skills/narratage/references/credentials.md
+++ b/.agents/skills/hypit/references/credentials.md
@@ -18,7 +18,7 @@ export KIE_API_KEY
read -r -s MIMO_API_KEY
export MIMO_API_KEY
export GOOGLE_CLOUD_PROJECT="your-project-id"
-export GOOGLE_APPLICATION_CREDENTIALS_JSON="$(<"$HOME/.config/narratage/google-service-account.json")"
+export GOOGLE_APPLICATION_CREDENTIALS_JSON="$(<"$HOME/.config/hypit/google-service-account.json")"
```
Windows PowerShell session example:
@@ -27,16 +27,16 @@ Windows PowerShell session example:
$env:KIE_API_KEY = "your-key"
$env:MIMO_API_KEY = "your-key"
$env:GOOGLE_CLOUD_PROJECT = "your-project-id"
-$env:GOOGLE_APPLICATION_CREDENTIALS_JSON = Get-Content -Raw "$HOME\.config\narratage\google-service-account.json"
+$env:GOOGLE_APPLICATION_CREDENTIALS_JSON = Get-Content -Raw "$HOME\.config\hypit\google-service-account.json"
```
Keep keys outside Author/Run/Runtime source and committed files. Verify presence without printing
values with, for example,
-`node .agents/skills/narratage/scripts/check-credentials.mjs KIE_API_KEY MIMO_API_KEY`, then run
-`narratage doctor <profile>`.
+`node .agents/skills/hypit/scripts/check-credentials.mjs KIE_API_KEY MIMO_API_KEY`, then run
+`hypit doctor <profile>`.
An Endpoint whose Runtime Profile points at the read-only `env` CredentialStore must be configured
-by setting its exact environment variable. `narratage auth login` deliberately refuses to prompt in
+by setting its exact environment variable. `hypit auth login` deliberately refuses to prompt in
that case. For an interactive workstation, select the writable macOS Keychain CredentialStore in
-the Runtime Profile; after `runtime use`, `narratage auth login <endpoint>` can store the secret.
+the Runtime Profile; after `runtime use`, `hypit auth login <endpoint>` can store the secret.
This is an explicit deployment choice, not a Provider-specific CLI branch.
diff --git a/.agents/skills/narratage/references/environment.md b/.agents/skills/hypit/references/environment.md
similarity index 84%
rename from .agents/skills/narratage/references/environment.md
rename to .agents/skills/hypit/references/environment.md
index 28bbfe90..941a730c 100644
--- a/.agents/skills/narratage/references/environment.md
+++ b/.agents/skills/hypit/references/environment.md
@@ -6,7 +6,7 @@ WhisperX/OpenCV, `uv` for locked Python environments, and `ffmpeg`/`ffprobe` for
macOS/Linux or Windows PowerShell:
```text
-node .agents/skills/narratage/scripts/check-environment.mjs
+node .agents/skills/hypit/scripts/check-environment.mjs
```
If the probe reports `corepack missing` (some newer Node.js distributions do not bundle it), install
@@ -33,11 +33,11 @@ For managed local programs:
uv python install 3.13
uv sync --project services/whisperx --frozen
uv sync --project services/image-opencv --frozen
-uv run --project services/whisperx --frozen narratage-whisperx-prepare
-narratage runtime use narratage.runtime.json
-narratage doctor
-narratage runtime up
-narratage runtime status
+uv run --project services/whisperx --frozen hypit-whisperx-prepare
+hypit runtime use hypit.runtime.json
+hypit doctor
+hypit runtime up
+hypit runtime status
```
Use `runtime up` for normal Build preparation: it owns the detached durable Worker and prepares the external
diff --git a/.agents/skills/narratage/references/playbooks/craft/b-roll.md b/.agents/skills/hypit/references/playbooks/craft/b-roll.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/craft/b-roll.md
rename to .agents/skills/hypit/references/playbooks/craft/b-roll.md
diff --git a/.agents/skills/narratage/references/playbooks/craft/captions.md b/.agents/skills/hypit/references/playbooks/craft/captions.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/craft/captions.md
rename to .agents/skills/hypit/references/playbooks/craft/captions.md
diff --git a/.agents/skills/narratage/references/playbooks/craft/image-prompt-style.md b/.agents/skills/hypit/references/playbooks/craft/image-prompt-style.md
similarity index 97%
rename from .agents/skills/narratage/references/playbooks/craft/image-prompt-style.md
rename to .agents/skills/hypit/references/playbooks/craft/image-prompt-style.md
index 30fc2f7a..58e8056e 100644
--- a/.agents/skills/narratage/references/playbooks/craft/image-prompt-style.md
+++ b/.agents/skills/hypit/references/playbooks/craft/image-prompt-style.md
@@ -2,7 +2,7 @@
## Author images in SVML
-- Put each prompt in a `copy:Value` from `@narratage/text@1`.
+- Put each prompt in a `copy:Value` from `@hypit/text@1`.
- Generate with an explicit image Surface such as `gpt:Image`, `nano:Image`, `nano:ProImage`,
`seedream:TextImage`, or `seedream:ReferenceImage`. Use the exact package README for its ports.
- Connect every identity, product, scene, or UI reference as a visible Artifact edge. For GPT Image,
diff --git a/.agents/skills/narratage/references/playbooks/craft/overlays.md b/.agents/skills/hypit/references/playbooks/craft/overlays.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/craft/overlays.md
rename to .agents/skills/hypit/references/playbooks/craft/overlays.md
diff --git a/.agents/skills/narratage/references/playbooks/craft/persona-and-audio.md b/.agents/skills/hypit/references/playbooks/craft/persona-and-audio.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/craft/persona-and-audio.md
rename to .agents/skills/hypit/references/playbooks/craft/persona-and-audio.md
diff --git a/.agents/skills/narratage/references/playbooks/craft/pip-overlay.md b/.agents/skills/hypit/references/playbooks/craft/pip-overlay.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/craft/pip-overlay.md
rename to .agents/skills/hypit/references/playbooks/craft/pip-overlay.md
diff --git a/.agents/skills/narratage/references/playbooks/craft/production-gates.md b/.agents/skills/hypit/references/playbooks/craft/production-gates.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/craft/production-gates.md
rename to .agents/skills/hypit/references/playbooks/craft/production-gates.md
diff --git a/.agents/skills/narratage/references/playbooks/craft/screen-demo.md b/.agents/skills/hypit/references/playbooks/craft/screen-demo.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/craft/screen-demo.md
rename to .agents/skills/hypit/references/playbooks/craft/screen-demo.md
diff --git a/.agents/skills/narratage/references/playbooks/craft/seedance-directing.md b/.agents/skills/hypit/references/playbooks/craft/seedance-directing.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/craft/seedance-directing.md
rename to .agents/skills/hypit/references/playbooks/craft/seedance-directing.md
diff --git a/.agents/skills/narratage/references/playbooks/craft/sfx.md b/.agents/skills/hypit/references/playbooks/craft/sfx.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/craft/sfx.md
rename to .agents/skills/hypit/references/playbooks/craft/sfx.md
diff --git a/.agents/skills/narratage/references/playbooks/craft/visual-continuity.md b/.agents/skills/hypit/references/playbooks/craft/visual-continuity.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/craft/visual-continuity.md
rename to .agents/skills/hypit/references/playbooks/craft/visual-continuity.md
diff --git a/.agents/skills/narratage/references/playbooks/formats/asmr.md b/.agents/skills/hypit/references/playbooks/formats/asmr.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/formats/asmr.md
rename to .agents/skills/hypit/references/playbooks/formats/asmr.md
diff --git a/.agents/skills/narratage/references/playbooks/formats/mass-tarot.md b/.agents/skills/hypit/references/playbooks/formats/mass-tarot.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/formats/mass-tarot.md
rename to .agents/skills/hypit/references/playbooks/formats/mass-tarot.md
diff --git a/.agents/skills/narratage/references/playbooks/formats/mixcut.md b/.agents/skills/hypit/references/playbooks/formats/mixcut.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/formats/mixcut.md
rename to .agents/skills/hypit/references/playbooks/formats/mixcut.md
diff --git a/.agents/skills/narratage/references/playbooks/formats/ranking-listicle.md b/.agents/skills/hypit/references/playbooks/formats/ranking-listicle.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/formats/ranking-listicle.md
rename to .agents/skills/hypit/references/playbooks/formats/ranking-listicle.md
diff --git a/.agents/skills/narratage/references/playbooks/formats/scenario-call.md b/.agents/skills/hypit/references/playbooks/formats/scenario-call.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/formats/scenario-call.md
rename to .agents/skills/hypit/references/playbooks/formats/scenario-call.md
diff --git a/.agents/skills/narratage/references/playbooks/formats/street-interview.md b/.agents/skills/hypit/references/playbooks/formats/street-interview.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/formats/street-interview.md
rename to .agents/skills/hypit/references/playbooks/formats/street-interview.md
diff --git a/.agents/skills/narratage/references/playbooks/formats/talking-head.md b/.agents/skills/hypit/references/playbooks/formats/talking-head.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/formats/talking-head.md
rename to .agents/skills/hypit/references/playbooks/formats/talking-head.md
diff --git a/.agents/skills/narratage/references/playbooks/formats/two-person-podcast.md b/.agents/skills/hypit/references/playbooks/formats/two-person-podcast.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/formats/two-person-podcast.md
rename to .agents/skills/hypit/references/playbooks/formats/two-person-podcast.md
diff --git a/.agents/skills/narratage/references/playbooks/formats/voiceover-desk-demo.md b/.agents/skills/hypit/references/playbooks/formats/voiceover-desk-demo.md
similarity index 100%
rename from .agents/skills/narratage/references/playbooks/formats/voiceover-desk-demo.md
rename to .agents/skills/hypit/references/playbooks/formats/voiceover-desk-demo.md
diff --git a/.agents/skills/narratage/references/playbooks/index.md b/.agents/skills/hypit/references/playbooks/index.md
similarity index 94%
rename from .agents/skills/narratage/references/playbooks/index.md
rename to .agents/skills/hypit/references/playbooks/index.md
index 8164286c..3e808557 100644
--- a/.agents/skills/narratage/references/playbooks/index.md
+++ b/.agents/skills/hypit/references/playbooks/index.md
@@ -1,4 +1,4 @@
-# Narratage production playbooks
+# Hypit production playbooks
Use these playbooks to author production decisions directly in `.svml`, `.svs`, and `.svrun`
sources. Each playbook names the SVML components, timing model, review gates, and reuse behavior
@@ -15,8 +15,8 @@ needed for that craft or format.
## Shared SVML contract
- Put narrative truth in one `script` with Segments, Role Cues, Selections, and Moments.
-- Use `copy:Value`/`copy:Render` from `@narratage/text@1` for prompts and reusable copy.
-- Use `typo:Style`/`typo:Track` from `@narratage/typography-track@1` for editorial text.
+- Use `copy:Value`/`copy:Render` from `@hypit/text@1` for prompts and reusable copy.
+- Use `typo:Style`/`typo:Track` from `@hypit/typography-track@1` for editorial text.
Never use the same import alias for generic Text and typography.
- Vendor the selected Seedance Kit into the project, choose stable axes in an SVS Recipe, and keep
dynamic dialogue/action/story in explicit Text edges.
@@ -30,7 +30,7 @@ needed for that craft or format.
- Assemble peer Tracks with `film:Film`, render with `render:Video`, and demand outputs through a
`.svrun` Target.
- Stage expensive work with narrow `.svrun` Targets. Explicitly reuse an accepted Record through
- `build-record` plus `satisfy`; Narratage has no implicit cache.
+ `build-record` plus `satisfy`; Hypit has no implicit cache.
- Use only elements and attributes documented by the current Quickstart or package README. Never
invent a component or attribute to fill in missing syntax.
diff --git a/.agents/skills/narratage/references/quickstart.md b/.agents/skills/hypit/references/quickstart.md
similarity index 96%
rename from .agents/skills/narratage/references/quickstart.md
rename to .agents/skills/hypit/references/quickstart.md
index 7897a7ab..3999fb5b 100644
--- a/.agents/skills/narratage/references/quickstart.md
+++ b/.agents/skills/hypit/references/quickstart.md
@@ -9,7 +9,7 @@ The repository docs are authoritative:
| Media and Seedance | `docs/quickstart/generation.md` |
| Reusable Seedance Prompt Kits | `packages/seedance-kits/README.md` and the selected file under `packages/seedance-kits/kits/` |
| Speech Spine and SemanticMap | `docs/quickstart/timing.md` |
-| Caption, Media, Text, Audio Tracks | `docs/quickstart/tracks.md` and the `@narratage/audio-track` package README |
+| Caption, Media, Text, Audio Tracks | `docs/quickstart/tracks.md` and the `@hypit/audio-track` package README |
| Film and rendering | `docs/quickstart/composition.md` |
| Run Source, durable Runtime, Builds, retrieval, and reuse | `docs/quickstart/run.md` and `references/runtime.md` |
diff --git a/.agents/skills/narratage/references/reference-vlm.md b/.agents/skills/hypit/references/reference-vlm.md
similarity index 100%
rename from .agents/skills/narratage/references/reference-vlm.md
rename to .agents/skills/hypit/references/reference-vlm.md
diff --git a/.agents/skills/narratage/references/runtime.md b/.agents/skills/hypit/references/runtime.md
similarity index 90%
rename from .agents/skills/narratage/references/runtime.md
rename to .agents/skills/hypit/references/runtime.md
index 2b9e7647..b1e95d1d 100644
--- a/.agents/skills/narratage/references/runtime.md
+++ b/.agents/skills/hypit/references/runtime.md
@@ -7,14 +7,14 @@ Build, retrieval, and reuse syntax. Use this file as the operational checklist.
```bash
cd path/to/project
-narratage runtime use narratage.runtime.json
+hypit runtime use hypit.runtime.json
-narratage plan build.svrun
+hypit plan build.svrun
-narratage build build.svrun --follow
+hypit build build.svrun --follow
-narratage inspect <build-id>
-narratage get <build-id> \
+hypit inspect <build-id>
+hypit get <build-id> \
--name final.video --to output/final.mp4
```
@@ -47,7 +47,7 @@ Builds remain archived and neither command cancels remote Provider work.
## Keep project and package boundaries distinct
-Prefer production projects outside the Narratage checkout. Relative Author Sources and assets stay
+Prefer production projects outside the Hypit checkout. Relative Author Sources and assets stay
inside the independently resolved Source Workspace.
- `--workspace` explicitly selects the Source Workspace boundary.
diff --git a/.agents/skills/narratage/references/seedance-kits.md b/.agents/skills/hypit/references/seedance-kits.md
similarity index 91%
rename from .agents/skills/narratage/references/seedance-kits.md
rename to .agents/skills/hypit/references/seedance-kits.md
index 3b517c00..ec1c456f 100644
--- a/.agents/skills/narratage/references/seedance-kits.md
+++ b/.agents/skills/hypit/references/seedance-kits.md
@@ -1,6 +1,6 @@
# Seedance Prompt Kits
-Narratage ships seven English Text Templates under `packages/seedance-kits/kits/`. Each Kit owns the
+Hypit ships seven English Text Templates under `packages/seedance-kits/kits/`. Each Kit owns the
repeatable prompt contract; the project Recipe selects its stable directing axes, and explicit Text
slots carry shot-specific dialogue or action.
@@ -19,7 +19,7 @@ slots carry shot-specific dialogue or action.
1. Read `packages/seedance-kits/README.md` and the selected Kit file for exact axes and defaults.
2. Copy only that `.svs` file into the video project's `./kits/` directory; import the vendored copy.
3. Put stable axis choices in `studio.svs` as a named Recipe.
-4. Import `@narratage/text@1` as `copy`. Use `copy:Render` with the Kit Template and Recipe, then
+4. Import `@hypit/text@1` as `copy`. Use `copy:Render` with the Kit Template and Recipe, then
connect dynamic slots with `copy:Set`.
5. Feed the rendered Text to the appropriate low-level Seedance Surface. Keep duration, resolution,
model, and every image/audio/video reference explicit in the Author Source.
diff --git a/.agents/skills/narratage/scripts/check-credentials.mjs b/.agents/skills/hypit/scripts/check-credentials.mjs
similarity index 100%
rename from .agents/skills/narratage/scripts/check-credentials.mjs
rename to .agents/skills/hypit/scripts/check-credentials.mjs
diff --git a/.agents/skills/narratage/scripts/check-environment.mjs b/.agents/skills/hypit/scripts/check-environment.mjs
similarity index 100%
rename from .agents/skills/narratage/scripts/check-environment.mjs
rename to .agents/skills/hypit/scripts/check-environment.mjs
diff --git a/.agents/skills/narratage/agents/openai.yaml b/.agents/skills/narratage/agents/openai.yaml
deleted file mode 100644
index c71f5959..00000000
--- a/.agents/skills/narratage/agents/openai.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-interface:
- display_name: "Narratage"
- short_description: "Build SVML videos with production playbooks"
- default_prompt: "Use $narratage to author, validate, or refine native SVML video sources and production craft."
diff --git a/.gitignore b/.gitignore
index 9c24db91..2d0ba127 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,7 +41,7 @@ docs/.vitepress/cache/
docs/.vitepress/dist/
*.tsbuildinfo
.svml-cache/
-.narratage/
+.hypit/
examples/**/assets/
examples/**/build/
examples/**/output/
diff --git a/LICENSE b/LICENSE
index 4389b6d3..65d99812 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,25 +1,25 @@
# Open Source License
-Narratage is licensed under a modified version of the Apache License 2.0, with the following additional conditions:
+Hypit is licensed under a modified version of the Apache License 2.0, with the following additional conditions:
-1. Narratage may be utilized commercially for your own organization's purposes, including as a rendering or generation backend for applications your organization operates for itself, and as internal tooling within an enterprise. Should any of the conditions below be met, a commercial license must be obtained from the producer:
+1. Hypit may be utilized commercially for your own organization's purposes, including as a rendering or generation backend for applications your organization operates for itself, and as internal tooling within an enterprise. Should any of the conditions below be met, a commercial license must be obtained from the producer:
-a. Multi-tenant service: Unless explicitly authorized by Hypit.AI in writing, you may not use the Narratage source code, or any derivative work of it, to operate a multi-tenant environment, or to offer Narratage's functionality to third parties as a hosted, managed, or software-as-a-service offering.
- - Tenant Definition: Within the context of Narratage, one tenant corresponds to one workspace — the isolated set of projects, artifacts, credentials, and configuration belonging to a single party. Operating an environment in which two or more parties outside your own organization hold separate workspaces constitutes a multi-tenant service, whether or not a fee is charged.
+a. Multi-tenant service: Unless explicitly authorized by Hypit.AI in writing, you may not use the Hypit source code, or any derivative work of it, to operate a multi-tenant environment, or to offer Hypit's functionality to third parties as a hosted, managed, or software-as-a-service offering.
+ - Tenant Definition: Within the context of Hypit, one tenant corresponds to one workspace — the isolated set of projects, artifacts, credentials, and configuration belonging to a single party. Operating an environment in which two or more parties outside your own organization hold separate workspaces constitutes a multi-tenant service, whether or not a fee is charged.
-b. Commercial redistribution: Unless explicitly authorized by Hypit.AI in writing, you may not sell, license for a fee, or otherwise supply for commercial gain Narratage or any derivative work of it, whether standalone or as a component of, or bundled with, any product, application, package, or device provided to third parties.
- - Forking, modifying, and publishing the source code of Narratage or a derivative work is permitted, provided the result is made available under the terms of this same license and is not supplied for commercial gain.
+b. Commercial redistribution: Unless explicitly authorized by Hypit.AI in writing, you may not sell, license for a fee, or otherwise supply for commercial gain Hypit or any derivative work of it, whether standalone or as a component of, or bundled with, any product, application, package, or device provided to third parties.
+ - Forking, modifying, and publishing the source code of Hypit or a derivative work is permitted, provided the result is made available under the terms of this same license and is not supplied for commercial gain.
- - Permitted without a commercial license under clauses (a) and (b): obtaining Narratage and running it yourself on your own infrastructure; using it for your own organization's work, including commercial work and work performed for your clients; and single-tenant deployments operated by and for one organization.
+ - Permitted without a commercial license under clauses (a) and (b): obtaining Hypit and running it yourself on your own infrastructure; using it for your own organization's work, including commercial work and work performed for your clients; and single-tenant deployments operated by and for one organization.
-c. LOGO and copyright information: In the process of using Narratage, you may not remove or modify the name, LOGO, or copyright information presented in the Narratage command-line interface, its generated run reports and manifests, or any user-facing surface derived from them. This restriction is inapplicable to uses of Narratage that do not surface these components to a user.
+c. LOGO and copyright information: In the process of using Hypit, you may not remove or modify the name, LOGO, or copyright information presented in the Hypit command-line interface, its generated run reports and manifests, or any user-facing surface derived from them. This restriction is inapplicable to uses of Hypit that do not surface these components to a user.
2. As a contributor, you should agree that:
a. The producer can adjust the open-source agreement to be more strict or relaxed as deemed necessary.
b. Your contributed code may be used for commercial purposes, including but not limited to its cloud business operations.
-3. Ownership of output: The producer claims no rights in the content you create with Narratage. Videos, audio, images, manifests, and any other artifacts produced through your use of Narratage belong to you, and this license imposes no conditions on their use — including commercial use. Note that content generated by way of third-party model or service providers may additionally be subject to the terms of those providers.
+3. Ownership of output: The producer claims no rights in the content you create with Hypit. Videos, audio, images, manifests, and any other artifacts produced through your use of Hypit belong to you, and this license imposes no conditions on their use — including commercial use. Note that content generated by way of third-party model or service providers may additionally be subject to the terms of those providers.
Apart from the specific conditions mentioned above, all other rights and restrictions follow the Apache License 2.0. Detailed information about the Apache License 2.0 can be found at http://www.apache.org/licenses/LICENSE-2.0.
diff --git a/README.md b/README.md
index cd22e5b4..1fae84f7 100644
--- a/README.md
+++ b/README.md
@@ -5,8 +5,8 @@
mobile app cannot authenticate and it draws a broken image instead.
-->
<picture>
- <source media="(prefers-color-scheme: dark)" srcset="https://narratage.hypit.ai/logo-line-dark.svg?v=fc5f36c7">
- <img alt="Narratage" src="https://narratage.hypit.ai/logo-line-light.svg?v=f94287fe" width="400" height="94">
+ <source media="(prefers-color-scheme: dark)" srcset="https://hypit.ai/logo-line-dark.svg?v=hypit-20260819">
+ <img alt="Hypit" src="https://hypit.ai/logo-line-light.svg?v=hypit-20260819" width="400" height="78">
</picture>
</p>
@@ -18,17 +18,17 @@
</p>
<p align="center">
- <a href="https://narratage.hypit.ai/"><strong>Demos</strong></a>
+ <a href="https://hypit.ai/"><strong>Demos</strong></a>
&nbsp;&bull;&nbsp;
- <a href="https://narratage.hypit.ai/quickstart"><strong>Quickstart</strong></a>
+ <a href="https://hypit.ai/quickstart"><strong>Quickstart</strong></a>
&nbsp;&bull;&nbsp;
- <a href="https://narratage.hypit.ai/guide/develop"><strong>Develop</strong></a>
+ <a href="https://hypit.ai/guide/develop"><strong>Develop</strong></a>
&nbsp;&bull;&nbsp;
<a href="./README.zh-CN.md"><strong>简体中文</strong></a>
</p>
<p align="center">
- <a href="https://github.com/hypit-ai/narratage/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/hypit-ai/narratage?style=flat-square&color=FFD700&logo=github&logoColor=white&label=Stars"></a>
+ <a href="https://github.com/hypit-ai/hypit/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/hypit-ai/hypit?style=flat-square&color=FFD700&logo=github&logoColor=white&label=Stars"></a>
<a href="./package.json"><img alt="Node 22+" src="https://img.shields.io/badge/Node.js-22+-5FA04E?style=flat-square&logo=nodedotjs&logoColor=white"></a>
<a href="./package.json"><img alt="pnpm 10.33" src="https://img.shields.io/badge/pnpm-10.33-F69220?style=flat-square&logo=pnpm&logoColor=white"></a>
<a href="./package.json"><img alt="TypeScript 5.9" src="https://img.shields.io/badge/TypeScript-5.9-3178C6?style=flat-square&logo=typescript&logoColor=white"></a>
@@ -36,32 +36,32 @@
</p>
<p align="center">
- <a href="https://narratage.hypit.ai/"><img alt="Visit our website" src="https://img.shields.io/badge/Visit%20our%20website-000000?style=for-the-badge&logo=googlechrome&logoColor=white"></a>
+ <a href="https://hypit.ai/"><img alt="Visit our website" src="https://img.shields.io/badge/Visit%20our%20website-000000?style=for-the-badge&logo=googlechrome&logoColor=white"></a>
<a href="https://discord.gg/85hnyQnxpn"><img alt="Join our Discord" src="https://img.shields.io/badge/Join%20our%20Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white"></a>
- <a href="https://t.me/narratage"><img alt="Join our Telegram" src="https://img.shields.io/badge/Join%20our%20Telegram-26A5E4?style=for-the-badge&logo=telegram&logoColor=white"></a>
+ <a href="https://t.me/hypit"><img alt="Join our Telegram" src="https://img.shields.io/badge/Join%20our%20Telegram-26A5E4?style=for-the-badge&logo=telegram&logoColor=white"></a>
<a href="https://x.com/hypitai"><img alt="Follow @hypitai on X" src="https://img.shields.io/badge/Follow%20%40hypitai-000000?style=for-the-badge&logo=x&logoColor=white"></a>
</p>
<p align="center">
- ⭐ <em>Help more people find Narratage and grow the community. Star this repo!</em>
+ ⭐ <em>Help more people find Hypit and grow the community. Star this repo!</em>
</p>
-## Why Narratage
+## Why Hypit
Every video editor — Premiere, CapCut, DaVinci, Final Cut — was built for human hands on a timeline.
-**Narratage is a language and system designed for AI agents.**
+**Hypit is a language and system designed for AI agents.**
- **No timeline** — videos are written, not dragged. B-roll, effects and every track live in source.
- **Agent-native** — plain text in, finished video out. Agents read and write it like code.
- **Pinned to words** — regeneration shifts timing, yet B-roll and effects follow their words.
- **Batch-ready** — it's all source files. Produce video at the scale of code, not at the speed of editing.
-> ### [See demos — SVML source and rendered video side by side →](https://narratage.hypit.ai/)
+> ### [See demos — SVML source and rendered video side by side →](https://hypit.ai/)
## How it works
-Narratage compiles SVML source files into finished videos.
+Hypit compiles SVML source files into finished videos.
1. **Write** — SVML describes who speaks, what they say, and where B-roll and effects go. No timecodes.
2. **Generate** — Seedance, MiniMax H3 and GPT Image 2 produce every shot from prompts and references.
@@ -72,14 +72,14 @@ Change the script, keep the results you approve, and regenerate only what you ch
## The language
-SVML — Semantic Video Markup Language — is the authoring language. Narratage is the compiler, runtime and package ecosystem around it.
+SVML — Semantic Video Markup Language — is the authoring language. Hypit is the compiler, runtime and package ecosystem around it.
A complete `.svml` file:
```xml
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
+ <import from="@hypit/script@1"/>
<import as="studio" source="./studio.svs"/>
<script id="story">
@@ -104,23 +104,23 @@ Four constructs. That's the whole authoring surface:
| **Split** | `<$299 \| two ninety-nine>` | What viewers read on screen can differ from what they hear |
| **Hook** | `@product...@/product` | Pin a visual — B-roll, graphic, effect — to specific words |
-Components outside the Script (video generators, speech models, caption renderers, track compositors) consume what the Script declares. The Script itself carries no rendering logic. Full syntax: [Script spec](https://narratage.hypit.ai/quickstart/script).
+Components outside the Script (video generators, speech models, caption renderers, track compositors) consume what the Script declares. The Script itself carries no rendering logic. Full syntax: [Script spec](https://hypit.ai/quickstart/script).
## Quickstart
### Clone the repository
```bash
-git clone https://github.com/hypit-ai/narratage.git
-cd narratage
+git clone https://github.com/hypit-ai/hypit.git
+cd hypit
```
### With a coding agent
-`/narratage` is available from that working directory. Send your agent:
+`/hypit` is available from that working directory. Send your agent:
```text
-/narratage Set up my environment, ask for only the API keys required by my Runtime Profile, and guide me through authoring and building my first SVML video.
+/hypit Set up my environment, ask for only the API keys required by my Runtime Profile, and guide me through authoring and building my first SVML video.
```
### From the terminal
@@ -137,22 +137,22 @@ Then, from a video project:
```bash
cd my-video
-narratage runtime use narratage.runtime.json
-narratage plan build.svrun
-narratage build build.svrun
-narratage status <build-id> --watch
-narratage get <build-id> --name final.video --to output/final.mp4
+hypit runtime use hypit.runtime.json
+hypit plan build.svrun
+hypit build build.svrun
+hypit status <build-id> --watch
+hypit get <build-id> --name final.video --to output/final.mp4
```
`build` prints a fresh Build ID and returns after durable submission. `status --watch` can attach to
that Build from any later terminal. Use `check` while editing; package selection follows Source
imports and the selected Runtime Profile.
-A real Build additionally needs `ffmpeg` and `ffprobe` on your `PATH`, and depending on the Runtime Profile, Python with `uv` or API credentials. Run `narratage doctor` to see what's missing; see [Quickstart](https://narratage.hypit.ai/quickstart) for the complete setup and a provider-free first plan.
+A real Build additionally needs `ffmpeg` and `ffprobe` on your `PATH`, and depending on the Runtime Profile, Python with `uv` or API credentials. Run `hypit doctor` to see what's missing; see [Quickstart](https://hypit.ai/quickstart) for the complete setup and a provider-free first plan.
### Project files
-Narratage separates authorship from execution:
+Hypit separates authorship from execution:
| File | What it decides |
|---|---|
@@ -165,41 +165,41 @@ A project can have any number of these files, and the same `.svml` can be built
## Where the name comes from
-<p align="center"><em>narration + montage = <strong>narratage</strong></em></p>
+<p align="center"><em>narration + montage = <strong>hypit</strong></em></p>
-> *“The new treatment, which the producer calls ‘narratage,’ is eminently well suited …”*
+> *“The new treatment, which the producer calls ‘hypit,’ is eminently well suited …”*
>
> — Mordaunt Hall, *The New York Times*, 1933
-In the review of Spencer Tracy's *The Power and the Glory*, producer Jesse L. Lasky's term **narratage** described a technique where a narrator's voice carries the story while the screen assembles scenes to match.
+In the review of Spencer Tracy's *The Power and the Glory*, producer Jesse L. Lasky's term **hypit** described a technique where a narrator's voice carries the story while the screen assembles scenes to match.
-Ninety years later, Narratage gives the same idea a new form: a language and system that compiles the montage around the narration.
+Ninety years later, Hypit gives the same idea a new form: a language and system that compiles the montage around the narration.
## Architecture
-AI generation is slow, costly and non-deterministic. Narratage compiles requested work into a durable plan.
+AI generation is slow, costly and non-deterministic. Hypit compiles requested work into a durable plan.
The Core is small and domain-neutral: it knows nothing about video. Installing a package adds capability without requiring a Core release.
| Layer | What it owns | Examples |
|---|---|---|
-| **Narratage Core** | Plan compilation and the Build state machine | `core`, `protocol` |
+| **Hypit Core** | Plan compilation and the Build state machine | `core`, `protocol` |
| **Compiler** | Source parsing, imports and graph elaboration | `host`, `markup`, `svs`, `elaborator` |
| **Foundations** | Reusable media, time, layout, text and transport building blocks | `media-pipeline`, `temporal`, `spatial` |
| **Video authoring** | Script, generation, speech, tracks, film and rendering | `script`, `seedance`, `caption`, `film` |
| **Providers** | Adapters for external models, APIs and Managed Programs | `provider-kie`, `provider-whisperx-local` |
| **Runtime** | Scheduling, storage, credentials and execution | `runtime`, `store-sqlite`, `runtime-local` |
-| **Applications** | User-facing ways to author and operate Narratage | `cli`, `svml-playground` |
+| **Applications** | User-facing ways to author and operate Hypit | `cli`, `svml-playground` |
## Where to go next
-- [Demos](https://narratage.hypit.ai/) — see SVML source and its rendered result side by side.
-- [Quickstart](https://narratage.hypit.ai/quickstart) — write, preview, plan and build your first video.
-- [Develop](https://narratage.hypit.ai/guide/develop) — understand the package architecture and add an Author package or Provider.
+- [Demos](https://hypit.ai/) — see SVML source and its rendered result side by side.
+- [Quickstart](https://hypit.ai/quickstart) — write, preview, plan and build your first video.
+- [Develop](https://hypit.ai/guide/develop) — understand the package architecture and add an Author package or Provider.
## Third-party software
-Narratage integrates with independently licensed software:
+Hypit integrates with independently licensed software:
- [FFmpeg](https://ffmpeg.org/) — inspects, normalizes, transforms and muxes media as a separately licensed executable.
- [HyperFrames](https://www.npmjs.com/package/hyperframes) — turns Compositions into frame-accurate video in Chromium.
@@ -208,8 +208,8 @@ Narratage integrates with independently licensed software:
## License
-Narratage is released under the [Narratage Open Source License](./LICENSE), a modified Apache 2.0 license. You may self-host it, use it for your organization's work — including commercial work and work for clients — and operate a single-tenant deployment for one organization. Multi-tenant or hosted offerings for third parties, and commercial redistribution, require a commercial license. You may fork, modify and publish the source under the same license when it is not supplied for commercial gain. Brand and copyright notices presented by Narratage must remain intact.
+Hypit is released under the [Hypit Open Source License](./LICENSE), a modified Apache 2.0 license. You may self-host it, use it for your organization's work — including commercial work and work for clients — and operate a single-tenant deployment for one organization. Multi-tenant or hosted offerings for third parties, and commercial redistribution, require a commercial license. You may fork, modify and publish the source under the same license when it is not supplied for commercial gain. Brand and copyright notices presented by Hypit must remain intact.
-The content you produce with Narratage belongs to you. Outputs created through third-party models or services may also be subject to those providers' terms.
+The content you produce with Hypit belongs to you. Outputs created through third-party models or services may also be subject to those providers' terms.
-For commercial licensing, email [[email protected]](mailto:[email protected]?subject=%5BGitHub%5DNarratage%20Commercial%20License%20Inquiry).
+For commercial licensing, email [[email protected]](mailto:[email protected]?subject=%5BGitHub%5DHypit%20Commercial%20License%20Inquiry).
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 2d8c6993..3a5a644d 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -5,8 +5,8 @@
mobile app cannot authenticate and it draws a broken image instead.
-->
<picture>
- <source media="(prefers-color-scheme: dark)" srcset="https://narratage.hypit.ai/logo-line-dark.svg?v=fc5f36c7">
- <img alt="Narratage" src="https://narratage.hypit.ai/logo-line-light.svg?v=f94287fe" width="400" height="94">
+ <source media="(prefers-color-scheme: dark)" srcset="https://hypit.ai/logo-line-dark.svg?v=hypit-20260819">
+ <img alt="Hypit" src="https://hypit.ai/logo-line-light.svg?v=hypit-20260819" width="400" height="78">
</picture>
</p>
@@ -17,17 +17,17 @@
</p>
<p align="center">
- <a href="https://narratage.hypit.ai/zh/"><strong>演示</strong></a>
+ <a href="https://hypit.ai/zh/"><strong>演示</strong></a>
&nbsp;&bull;&nbsp;
- <a href="https://narratage.hypit.ai/zh/quickstart"><strong>快速开始</strong></a>
+ <a href="https://hypit.ai/zh/quickstart"><strong>快速开始</strong></a>
&nbsp;&bull;&nbsp;
- <a href="https://narratage.hypit.ai/zh/guide/develop"><strong>开发</strong></a>
+ <a href="https://hypit.ai/zh/guide/develop"><strong>开发</strong></a>
&nbsp;&bull;&nbsp;
<a href="./README.md"><strong>English</strong></a>
</p>
<p align="center">
- <a href="https://github.com/hypit-ai/narratage/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/hypit-ai/narratage?style=flat-square&color=FFD700&logo=github&logoColor=white&label=Stars"></a>
+ <a href="https://github.com/hypit-ai/hypit/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/hypit-ai/hypit?style=flat-square&color=FFD700&logo=github&logoColor=white&label=Stars"></a>
<a href="./package.json"><img alt="Node 22+" src="https://img.shields.io/badge/Node.js-22+-5FA04E?style=flat-square&logo=nodedotjs&logoColor=white"></a>
<a href="./package.json"><img alt="pnpm 10.33" src="https://img.shields.io/badge/pnpm-10.33-F69220?style=flat-square&logo=pnpm&logoColor=white"></a>
<a href="./package.json"><img alt="TypeScript 5.9" src="https://img.shields.io/badge/TypeScript-5.9-3178C6?style=flat-square&logo=typescript&logoColor=white"></a>
@@ -35,32 +35,32 @@
</p>
<p align="center">
- <a href="https://narratage.hypit.ai/zh/"><img alt="Visit our website" src="https://img.shields.io/badge/Visit%20our%20website-000000?style=for-the-badge&logo=googlechrome&logoColor=white"></a>
+ <a href="https://hypit.ai/zh/"><img alt="Visit our website" src="https://img.shields.io/badge/Visit%20our%20website-000000?style=for-the-badge&logo=googlechrome&logoColor=white"></a>
<a href="https://discord.gg/85hnyQnxpn"><img alt="Join our Discord" src="https://img.shields.io/badge/Join%20our%20Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white"></a>
- <a href="https://t.me/narratage"><img alt="Join our Telegram" src="https://img.shields.io/badge/Join%20our%20Telegram-26A5E4?style=for-the-badge&logo=telegram&logoColor=white"></a>
+ <a href="https://t.me/hypit"><img alt="Join our Telegram" src="https://img.shields.io/badge/Join%20our%20Telegram-26A5E4?style=for-the-badge&logo=telegram&logoColor=white"></a>
<a href="https://x.com/hypitai"><img alt="Follow @hypitai on X" src="https://img.shields.io/badge/Follow%20%40hypitai-000000?style=for-the-badge&logo=x&logoColor=white"></a>
</p>
<p align="center">
- ⭐ <em>让更多人发现 Narratage,一起壮大社区。给仓库点个 Star!</em>
+ ⭐ <em>让更多人发现 Hypit,一起壮大社区。给仓库点个 Star!</em>
</p>
-## 为什么是 Narratage
+## 为什么是 Hypit
每一款视频编辑器——Premiere、剪映、DaVinci、Final Cut——都是为人的双手在时间线上操作而造的。
-**Narratage 是一门为 AI Agent 设计的语言与系统。**
+**Hypit 是一门为 AI Agent 设计的语言与系统。**
- **没有时间线** —— 视频是写出来的,不是拖出来的。B-roll、特效以及每一条轨道都存在于源码里。
- **Agent 原生** —— 输入纯文本,输出成片。Agent 像读写代码一样读写它。
- **钉在词上** —— 重新生成会改变时间排布,但 B-roll 与特效仍会跟随它们所属的词。
- **可批量** —— 一切都是源文件。以代码的规模产出视频,而不是以剪辑的速度。
-> ### [看演示 —— SVML 源码与渲染成片并排对照 →](https://narratage.hypit.ai/zh/)
+> ### [看演示 —— SVML 源码与渲染成片并排对照 →](https://hypit.ai/zh/)
## 怎么工作的
-Narratage 把 SVML 源文件编译成成片。
+Hypit 把 SVML 源文件编译成成片。
1. **写** —— SVML 描述谁在说话、说什么,以及 B-roll 与特效放在哪里。不含时间码。
2. **生成** —— Seedance、MiniMax H3 与 GPT Image 2 依据提示词和参考图产出每一个镜头。
@@ -71,14 +71,14 @@ Narratage 把 SVML 源文件编译成成片。
## 语言
-SVML——Semantic Video Markup Language——是创作语言。Narratage 是围绕它的编译器、运行时与包生态。
+SVML——Semantic Video Markup Language——是创作语言。Hypit 是围绕它的编译器、运行时与包生态。
一个完整的 `.svml` 文件:
```xml
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
+ <import from="@hypit/script@1"/>
<import as="studio" source="./studio.svs"/>
<script id="story">
@@ -103,23 +103,23 @@ SVML——Semantic Video Markup Language——是创作语言。Narratage 是围
| **Split** | `<$299 \| two ninety-nine>` | 屏幕上显示的和嘴里说的可以不一样 |
| **Hook** | `@product...@/product` | 把一个画面——B-roll、图形、特效——钩到具体的词上 |
-Script 外面的组件(视频生成器、语音模型、字幕渲染器、轨道合成器)消费 Script 声明的内容。Script 本身不含任何渲染逻辑。完整语法:[Script 规范](https://narratage.hypit.ai/zh/quickstart/script)。
+Script 外面的组件(视频生成器、语音模型、字幕渲染器、轨道合成器)消费 Script 声明的内容。Script 本身不含任何渲染逻辑。完整语法:[Script 规范](https://hypit.ai/zh/quickstart/script)。
## 快速开始
### 克隆仓库
```bash
-git clone https://github.com/hypit-ai/narratage.git
-cd narratage
+git clone https://github.com/hypit-ai/hypit.git
+cd hypit
```
### 用编程 Agent
-在这个工作目录下就可以直接使用 `/narratage`。发送给你的 Agent:
+在这个工作目录下就可以直接使用 `/hypit`。发送给你的 Agent:
```text
-/narratage 配置我的环境,只向我索取当前 Runtime Profile 实际需要的 API key,然后带我完成第一支 SVML 视频的创作与 Build。
+/hypit 配置我的环境,只向我索取当前 Runtime Profile 实际需要的 API key,然后带我完成第一支 SVML 视频的创作与 Build。
```
### 从终端
@@ -136,22 +136,22 @@ npm link
```bash
cd my-video
-narratage runtime use narratage.runtime.json
-narratage plan build.svrun
-narratage build build.svrun
-narratage status <build-id> --watch
-narratage get <build-id> --name final.video --to output/final.mp4
+hypit runtime use hypit.runtime.json
+hypit plan build.svrun
+hypit build build.svrun
+hypit status <build-id> --watch
+hypit get <build-id> --name final.video --to output/final.mp4
```
`build` 会打印一个新的 Build ID,并在耐久提交后立即返回。之后可以从任何终端用
`status --watch` 重新接上这个 Build。编辑时使用 `check`;包选择直接来自 Source import
与当前 Runtime Profile。
-真实的 Build 还需要 `PATH` 上有 `ffmpeg` 与 `ffprobe`,以及视 Runtime Profile 而定的 Python 与 `uv` 或 API 凭据。运行 `narratage doctor` 查看缺什么;完整环境配置与第一次无 Provider 计划见[快速开始](https://narratage.hypit.ai/zh/quickstart)。
+真实的 Build 还需要 `PATH` 上有 `ffmpeg` 与 `ffprobe`,以及视 Runtime Profile 而定的 Python 与 `uv` 或 API 凭据。运行 `hypit doctor` 查看缺什么;完整环境配置与第一次无 Provider 计划见[快速开始](https://hypit.ai/zh/quickstart)。
### 项目文件
-Narratage 把创作与执行分开:
+Hypit 把创作与执行分开:
| 文件 | 决定什么 |
|---|---|
@@ -164,41 +164,41 @@ Narratage 把创作与执行分开:
## 名字的由来
-<p align="center"><em>narration + montage = <strong>narratage</strong></em></p>
+<p align="center"><em>narration + montage = <strong>hypit</strong></em></p>
-> *“The new treatment, which the producer calls ‘narratage,’ is eminently well suited …”*
+> *“The new treatment, which the producer calls ‘hypit,’ is eminently well suited …”*
>
> — Mordaunt Hall,*The New York Times*,1933
-在这篇对 Spencer Tracy 主演的《*The Power and the Glory*》的评论中,制片人 Jesse L. Lasky 所称的 **narratage** 描述了一种由旁白推动故事、画面随之组接场景的手法。
+在这篇对 Spencer Tracy 主演的《*The Power and the Glory*》的评论中,制片人 Jesse L. Lasky 所称的 **hypit** 描述了一种由旁白推动故事、画面随之组接场景的手法。
-九十年后,Narratage 让同一个理念有了新的形态:一门围绕旁白编译蒙太奇的语言与系统。
+九十年后,Hypit 让同一个理念有了新的形态:一门围绕旁白编译蒙太奇的语言与系统。
## 架构
-AI 生成缓慢、昂贵且不确定。Narratage 把所需工作编译为一份持久化计划。
+AI 生成缓慢、昂贵且不确定。Hypit 把所需工作编译为一份持久化计划。
Core 极小且领域无关:它不认识视频。安装一个包即可增加能力,无需重新发布 Core。
| 层 | 负责什么 | 例子 |
|---|---|---|
-| **Narratage Core** | 计划编译与 Build 状态机 | `core`、`protocol` |
+| **Hypit Core** | 计划编译与 Build 状态机 | `core`、`protocol` |
| **Compiler** | Source 解析、导入与图展开 | `host`、`markup`、`svs`、`elaborator` |
| **Foundations** | 可复用的媒体、时间、布局、文本与调用基础能力 | `media-pipeline`、`temporal`、`spatial` |
| **Video authoring** | 稿件、生成、语音、Track、Film 与渲染 | `script`、`seedance`、`caption`、`film` |
| **Providers** | 外部模型、程序与服务的适配器 | `provider-kie`、`provider-whisperx-local` |
| **Runtime** | 调度、存储、凭据与执行 | `runtime`、`store-sqlite`、`runtime-local` |
-| **Applications** | 创作和操作 Narratage 的用户界面 | `cli`、`svml-playground` |
+| **Applications** | 创作和操作 Hypit 的用户界面 | `cli`、`svml-playground` |
## 接下来去哪
-- [演示](https://narratage.hypit.ai/zh/) —— 并排查看 SVML 源码与它渲染出的画面。
-- [快速开始](https://narratage.hypit.ai/zh/quickstart) —— 写作、预览、规划并构建你的第一支视频。
-- [开发](https://narratage.hypit.ai/zh/guide/develop) —— 理解包架构,并添加 Author 包或 Provider。
+- [演示](https://hypit.ai/zh/) —— 并排查看 SVML 源码与它渲染出的画面。
+- [快速开始](https://hypit.ai/zh/quickstart) —— 写作、预览、规划并构建你的第一支视频。
+- [开发](https://hypit.ai/zh/guide/develop) —— 理解包架构,并添加 Author 包或 Provider。
## 第三方软件
-Narratage 集成了以下采用独立许可的软件:
+Hypit 集成了以下采用独立许可的软件:
- [FFmpeg](https://ffmpeg.org/) —— 以独立许可的可执行程序完成媒体探测、规范化、变换与封装。
- [HyperFrames](https://www.npmjs.com/package/hyperframes) —— 在 Chromium 中把 Composition 渲染为帧精确的视频。
@@ -207,8 +207,8 @@ Narratage 集成了以下采用独立许可的软件:
## 许可
-Narratage 以 [Narratage 开源许可](./LICENSE) 发布,这是一份修改后的 Apache 2.0 许可。你可以自行部署,将它用于所在组织的工作——包括商业工作和客户项目——也可以为一个组织运营单租户部署。向第三方提供多租户或托管服务,以及商业再分发,均需要商业授权。只要不是为了商业利益向第三方供应,你可以按照同一许可 fork、修改并公开源码。Narratage 已呈现的品牌与版权信息必须保持完整。
+Hypit 以 [Hypit 开源许可](./LICENSE) 发布,这是一份修改后的 Apache 2.0 许可。你可以自行部署,将它用于所在组织的工作——包括商业工作和客户项目——也可以为一个组织运营单租户部署。向第三方提供多租户或托管服务,以及商业再分发,均需要商业授权。只要不是为了商业利益向第三方供应,你可以按照同一许可 fork、修改并公开源码。Hypit 已呈现的品牌与版权信息必须保持完整。
-你用 Narratage 产出的内容归你所有。通过第三方模型或服务生成的产物,还可能受到相应服务商条款的约束。
+你用 Hypit 产出的内容归你所有。通过第三方模型或服务生成的产物,还可能受到相应服务商条款的约束。
-以英文 [`LICENSE`](./LICENSE) 文本为准。商业授权请联系 [[email protected]](mailto:[email protected]?subject=%5BGitHub%5DNarratage%20Commercial%20License%20Inquiry)。
+以英文 [`LICENSE`](./LICENSE) 文本为准。商业授权请联系 [[email protected]](mailto:[email protected]?subject=%5BGitHub%5DHypit%20Commercial%20License%20Inquiry)。
diff --git a/bin/narratage.mjs b/bin/hypit.mjs
similarity index 75%
rename from bin/narratage.mjs
rename to bin/hypit.mjs
index c0a76dc3..34bcd27e 100755
--- a/bin/narratage.mjs
+++ b/bin/hypit.mjs
@@ -3,12 +3,12 @@
import { register } from "tsx/esm/api";
const emitWarning = process.emitWarning;
-process.emitWarning = function narratageWarning(warning, ...args) {
+process.emitWarning = function hypitWarning(warning, ...args) {
const message = warning instanceof Error ? warning.message : String(warning);
if (message === "SQLite is an experimental feature and might change at any time") return;
return emitWarning.call(process, warning, ...args);
};
-process.env.NARRATAGE_CLI_LAUNCHER ??= import.meta.filename;
+process.env.HYPIT_CLI_LAUNCHER ??= import.meta.filename;
register();
await import("../packages/video-cli/src/cli.ts");
diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts
index a55d48f0..2c8ee7df 100644
--- a/docs/.vitepress/config.ts
+++ b/docs/.vitepress/config.ts
@@ -124,13 +124,13 @@ const svsLanguage: Record<string, unknown> = {
};
const sharedTheme = {
- siteTitle: "NARRATAGE",
+ siteTitle: "HYPIT",
// Discord sits to the left of GitHub. The mark is inlined because the theme
// resolves a named icon to a `vpi-social-<name>` class it does not ship for
// Discord, which would render an empty box.
socialLinks: [
{ icon: { svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M20.317 4.3698a19.7913 19.7913 0 0 0-4.8851-1.5152.0741.0741 0 0 0-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 0 0-.0785-.037 19.7363 19.7363 0 0 0-4.8852 1.515.0699.0699 0 0 0-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 0 0 .0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 0 0 .0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 0 0-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 0 1-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 0 1 .0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 0 1 .0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 0 1-.0066.1276 12.2986 12.2986 0 0 1-1.873.8914.0766.0766 0 0 0-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 0 0 .0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 0 0 .0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 0 0-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg>' }, link: "https://discord.gg/85hnyQnxpn", ariaLabel: "Discord" },
- { icon: "github" as const, link: "https://github.com/hypit-ai/narratage" },
+ { icon: "github" as const, link: "https://github.com/hypit-ai/hypit" },
],
search: { provider: "local" as const },
};
@@ -224,7 +224,7 @@ const zhTheme = {
export default defineConfig({
base,
lang: "en-US",
- title: "Narratage",
+ title: "Hypit",
description: "Write the story. Compile the video.",
appearance: true,
cleanUrls: true,
@@ -248,7 +248,7 @@ export default defineConfig({
[
"script",
{},
- `(function(){var p=location.pathname,b=${JSON.stringify(base)},k="narratage-locale",d=document.documentElement,l;try{l=localStorage.getItem(k)}catch(e){}if(!l)l=(navigator.language||"").toLowerCase().indexOf("zh")===0?"zh":"en";var en=p===b||(b.length>1&&p===b.slice(0,-1)),zh=p===b+"zh/"||p===b+"zh";if(en||zh)d.classList.add("home-page");if(en&&l==="zh")location.replace(b+"zh/"+location.search+location.hash)})()`,
+ `(function(){var p=location.pathname,b=${JSON.stringify(base)},k="hypit-locale",d=document.documentElement,l;try{l=localStorage.getItem(k)}catch(e){}if(!l)l=(navigator.language||"").toLowerCase().indexOf("zh")===0?"zh":"en";var en=p===b||(b.length>1&&p===b.slice(0,-1)),zh=p===b+"zh/"||p===b+"zh";if(en||zh)d.classList.add("home-page");if(en&&l==="zh")location.replace(b+"zh/"+location.search+location.hash)})()`,
],
["link", { rel: "preconnect", href: "https://fonts.googleapis.com" }],
["link", { rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" }],
diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vue
index d74938b0..69500b39 100644
--- a/docs/.vitepress/theme/Layout.vue
+++ b/docs/.vitepress/theme/Layout.vue
@@ -4,7 +4,7 @@ import { useData } from "vitepress";
import { computed } from "vue";
import HeroMasthead from "./components/HeroMasthead.vue";
import LocalePreference from "./components/LocalePreference.vue";
-import NarratageLogo from "./components/NarratageLogo.vue";
+import HypitLogo from "./components/HypitLogo.vue";
import PaperFooter from "./components/PaperFooter.vue";
import { useHomeThemeScope } from "./HomeThemeScope";
@@ -18,7 +18,7 @@ useHomeThemeScope(isHome);
<template>
<DefaultLayout>
- <template #nav-bar-title-before><NarratageLogo v-if="isHome" class="nav-narratage-logo" /></template>
+ <template #nav-bar-title-before><HypitLogo v-if="isHome" class="nav-hypit-logo" /></template>
<template #layout-top><LocalePreference /></template>
<template #home-hero-info><HeroMasthead /></template>
<template #layout-bottom><PaperFooter v-if="isHome" /></template>
diff --git a/docs/.vitepress/theme/components/HeroMasthead.vue b/docs/.vitepress/theme/components/HeroMasthead.vue
index e7972aab..6669d121 100644
--- a/docs/.vitepress/theme/components/HeroMasthead.vue
+++ b/docs/.vitepress/theme/components/HeroMasthead.vue
@@ -14,27 +14,22 @@ const isChinese = computed(() => lang.value.toLowerCase().startsWith("zh"));
</div>
<div class="np-masthead-wrap">
- <!--
- One <text> with two <tspan>s, not two <text>s: textLength is applied per
- <text>, so splitting the wordmark would stretch each half to full width.
- -->
- <svg
- class="np-masthead-wordmark"
- viewBox="0 0 1200 268"
- role="img"
- aria-label="Narratage"
- >
- <text
- x="0"
- y="252"
- font-family="Impact, Haettenschweiler, 'Arial Narrow Bold', 'Arial Black', sans-serif"
- font-size="268"
- textLength="1200"
- lengthAdjust="spacingAndGlyphs"
- >
- <tspan class="np-masthead-ink">NARRA</tspan><tspan class="np-masthead-red">TAGE</tspan>
- </text>
- </svg>
+ <span class="np-masthead-wordmark">
+ <img
+ class="hypit-logo-on-light"
+ :src="withBase('/hypit-logo-dark.png')"
+ alt="Hypit"
+ width="641"
+ height="125"
+ />
+ <img
+ class="hypit-logo-on-dark"
+ :src="withBase('/hypit-logo-light.png')"
+ alt="Hypit"
+ width="641"
+ height="125"
+ />
+ </span>
<!-- Outside the wordmark, or the intro wipe would clip it too. -->
<img
diff --git a/docs/.vitepress/theme/components/HypitLogo.vue b/docs/.vitepress/theme/components/HypitLogo.vue
new file mode 100644
index 00000000..f1bf63a4
--- /dev/null
+++ b/docs/.vitepress/theme/components/HypitLogo.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import { withBase } from "vitepress";
+
+withDefaults(defineProps<{ label?: string }>(), { label: "Hypit" });
+</script>
+
+<template>
+ <span class="hypit-logo">
+ <img class="hypit-logo-on-light" :src="withBase('/hypit-logo-dark.png')" :alt="label" />
+ <img class="hypit-logo-on-dark" :src="withBase('/hypit-logo-light.png')" :alt="label" />
+ </span>
+</template>
diff --git a/docs/.vitepress/theme/components/LocalePreference.vue b/docs/.vitepress/theme/components/LocalePreference.vue
index 93632c02..2f329b9e 100644
--- a/docs/.vitepress/theme/components/LocalePreference.vue
+++ b/docs/.vitepress/theme/components/LocalePreference.vue
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { onBeforeUnmount, onMounted } from "vue";
-const storageKey = "narratage-locale";
+const storageKey = "hypit-locale";
// The dev server serves the site under `/docs/`; the Pages deploy builds with
// VITEPRESS_BASE=/ and serves it at the domain root. Vite substitutes the right
diff --git a/docs/.vitepress/theme/components/NarratageLogo.vue b/docs/.vitepress/theme/components/NarratageLogo.vue
deleted file mode 100644
index f38b1a73..00000000
--- a/docs/.vitepress/theme/components/NarratageLogo.vue
+++ /dev/null
@@ -1,20 +0,0 @@
-<script setup lang="ts">
-withDefaults(defineProps<{ label?: string }>(), { label: "Narratage" });
-</script>
-
-<template>
- <span class="narratage-logo">
- <svg viewBox="182 444 1063 541" fill="currentColor" role="img" :aria-label="label">
- <path d="M265.7,726.2c-7.2-9.9-14.8-18.5-20.4-28.2-31.4-54-31.5-109-1.5-163.1,29.5-53.3,77.3-78.3,137.3-80.2,41.8-1.4,78.8,12,109.9,40.2,38.1,34.6,52.6,78.7,49.5,129.1-1.4,22.8-7.2,44.6-17.5,65.2-4.1,8.1-9.7,11.8-19,11.6-16.5-.5-33-.4-49.5-.1-11.3.2-20.9-3.7-29.1-11.2-2.8-2.6-4.8-2.6-8.2-1-41.6,19.7-104.5,1.7-113.5-61.1-5.1-35.7,11.1-67.8,41.2-83.5,43.9-23,102.2-2.8,114.1,51.1,4.5,20.5,1.4,40.2-10.5,57.8-2.4,3.6-1.7,5.9,1.2,7.9,2.4,1.6,5.3,3.2,8.1,3.3,9.3.5,18.7.9,27.9.3,2.7-.2,6.3-3.5,7.5-6.3,3.3-7.9,6.8-16.1,8.1-24.5,6.8-43-5.3-80-38.2-108.9-24.4-21.4-53.9-30-86.1-28.7-41,1.7-73.7,19.4-96.4,53.8-48.8,74.1-3.8,172.7,84.1,183.6,17.9,2.2,36.2,1.1,54.3.9,53.6-.7,107.3-1.9,160.9-2.7,10.7-.2,18.3,7.6,18.3,18.3.1,68.3.1,136.7,0,205,0,12.3-8.2,20.2-20.5,20.2-122.5,0-245,0-367.5.1-15.5,0-22.5-7.1-22.5-22.7v-202.5c0-16,7.4-23.5,23.5-23.6,15.7-.1,31.3,0,47,0,2.4-.1,4.7-.1,7.5-.1ZM286.5,935.4h216.9v-162.7h-3.9c-28.3,1.4-56.6,2.1-84.8,4.3-26.1,2-51.3,7.8-74.2,21.3-27.2,16-45.6,38.9-51.5,70.2-2.5,13.1-1.9,26.8-2.4,40.3-.4,8.6-.1,17.4-.1,26.6ZM382.9,574.5c-21.8-.1-40.1,17.5-40.3,38.8-.2,22.3,17.2,39.9,39.4,39.9s39.1-17.9,39.1-39.8c.1-21.1-17.3-38.8-38.2-38.9ZM254.5,928.9v-33.6h-32.6v33.6h32.6ZM221.8,829.9v33.6h32.7v-33.6h-32.7ZM565.7,865.3v-33h-32.4v33h32.4ZM254.6,798.9v-32.8h-32.6v32.8h32.6ZM533.4,896.3v33.1h32.3v-33.1h-32.3ZM565.7,802.1v-31.9h-32.3v31.9h32.3Z" />
- <path d="M675.54,613.37v99.1h-38.2v-216.7h38.2c9.9,34,19.9,68.2,30.2,103.2v-103.1h38.7v216.8h-10c-7,0-14-.4-21,.2-5.8.5-8.3-1.2-9.9-7.1-8.4-30.1-17.2-60.1-26-90.1-.3-.9-.7-1.8-1.1-2.6-.3.1-.6.2-.9.3Z" />
- <path d="M997.05,975.04h-40.8v-58.17h-25.46v58.07h-41.44c-.11-1.63-.21-3.27-.21-4.9,0-61.54,0-123.08.11-184.61,0-7.86.96-15.61,6.07-22.25,5.22-6.84,12.36-10.1,20.99-10.21,17.79-.2,35.48-.31,53.27-.1,14.28.2,23.65,7.86,26.42,21.33.75,3.67,1.07,7.45,1.07,11.12.11,61.33.11,122.77.11,184.1-.11,1.73-.11,3.57-.11,5.61ZM955.71,877.97c.11-1.3.32-2,.32-2.6,0-27,.11-53.9.11-80.9,0-5.4-2.24-7.4-8.2-7.5h-7.99c-8.1.1-9.59,1.5-9.59,9.1v76.9c0,1.6.21,3.2.21,5h25.14Z" />
- <path d="M1166.8,712.34h-38.6c-.1-1.3-.3-2.4-.3-3.5,0-61.3-.1-122.6,0-183.9,0-15.5,6.6-25.2,19.1-28.7,2-.6,4.3-.8,6.4-.8,16.5-.1,33-.1,49.5,0,13.1,0,21.8,6.9,24.7,19.6.9,3.9,1.4,7.9,1.4,11.9.1,60.5,0,120.9,0,181.4,0,1.2-.1,2.3-.2,4h-38.6v-65.4h-23.3c-.1,21.5-.1,43.2-.1,65.4ZM1189.3,611.14c.3-.8.5-1.1.5-1.4,0-24.9.1-49.9,0-74.8,0-3.8-2.1-5.7-6-5.7-2.8.1-5.7,0-8.5,0-7.6,0-8.8,1.1-8.8,8.6v68.3c0,1.6.2,3.2.3,5,7.8,0,15,0,22.5,0Z" />
- <path d="M804.1,711.89h-39.1v-5.6c0-60,0-120,.1-180,0-4.8.8-9.7,2.2-14.2,3.2-10.3,12.5-17.1,23.3-17.2,16.8-.2,33.7-.2,50.5,0,14.4.2,23.8,10.3,24.7,26.1.3,5.8.1,11.7.1,17.5v173.3h-38.8c-.1-1.7-.2-3.5-.2-5.2,0-18.5-.1-37,.1-55.5.1-4.2-1.2-5.6-5.3-5.3-5.6.3-11.3.1-17.6.1v66ZM827,610.69v-68.1c0-14.8.2-13.8-13.5-13.7-8.4,0-9.6,1-9.6,9.4,0,22.8,0,45.6.1,68.4,0,1.3.3,2.5.4,4h22.6Z" />
- <path d="M1106.4,712.87h-38.7v-61.6c0-8.4-2.2-10.5-10.7-10.5h-11.8v71.8h-38.4v-216.8h73c15.4,0,25.1,8.3,26,23.7.9,16.1.6,32.3.7,48.4.1,9.5-.1,19,.1,28.5.2,12.5-4.2,22.1-17.9,26.8,1.7.6,2.5.9,3.3,1.2,8,2.4,12.5,7.9,13.8,16,.4,2.8.6,5.6.6,8.5.1,19,.1,38,.1,57-.1,2.1-.1,4.3-.1,7ZM1045.3,604.87c5.7,0,11.2.2,16.6-.1,3.2-.2,5.7-2.3,5.7-5.8.1-21.1.1-42.2.1-63.4,0-3.3-1.8-5.5-5.1-5.6-5.6-.2-11.2-.1-17.2-.1-.1,25.2-.1,49.9-.1,75Z" />
- <path d="M925.7,711.74h-38v-217h71.5c16.7,0,26.4,8.7,27.2,25.4.7,16,.3,32,.4,48,0,8.7-.2,17.3.1,26,.5,13.1-3.2,23.4-17.4,27.8.9.7,1.2,1,1.5,1.1,10.8,3.4,15.4,9,15.6,20.4.3,12.5.2,25,.2,37.5v30.8h-39v-62.3c0-7.4-2.2-9.5-9.5-9.7-4-.1-7.9,0-12.6,0v72ZM926,603.74c5.6,0,10.9.3,16.1-.1,3.5-.2,5.7-2.5,5.7-6.3,0-21,.1-42-.2-63,0-1.9-2.4-5.1-4-5.3-5.8-.6-11.8-.3-17.7-.3.1,25.4.1,50,.1,75Z" />
- <path d="M1071.22,851.6h53.05c.11,1.83.21,3.46.21,5.1,0,30.06.21,60.12-.21,90.18-.11,5.6-1.49,11.62-3.94,16.61-4.26,8.46-12.68,11.51-22.16,11.51-17.26.1-34.41,0-51.67,0s-27.06-8.56-28.66-25.17c-.32-3.57-.21-7.13-.21-10.7,0-51.05-.11-102.21.11-153.26,0-5.81,1.07-11.92,2.88-17.43,3.09-9.58,10.76-14.98,21.09-15.29,19.81-.51,39.74-.51,59.66-.1,10.97.2,20.03,8.25,21.84,19.06,1.17,6.83,1.07,13.86,1.17,20.79.21,12.33,0,24.76,0,37.5h-40.27v-22.32c0-4.28.11-8.46,0-12.74-.11-5.81-2.13-7.64-7.99-7.64-3.2,0-6.39,0-9.59.1-6.18.1-8.2,2.04-8.2,8.05-.11,20.38,0,40.76,0,61.14v72.86c0,8.05,1.7,9.68,9.8,9.58,3.2,0,6.39,0,9.59-.1,3.94-.1,6.5-2.04,6.5-5.91.11-15.59,0-31.18,0-47.38-4.47-.2-8.63-.41-13-.51v-33.93Z" />
- <path d="M1186.46,787.27v59.32h39.63v35.12h-39.52v57.27h42.93c0,11.74.11,22.77-.21,33.69,0,.82-3.09,2.25-4.79,2.25-19.92.2-39.74.1-59.66.1h-19.5v-222.25h83.84v34.4c-14.17.1-28.23.1-42.72.1Z" />
- <path d="M846.62,975.04h-40.8v-187.34h-31.43v-34.94h104.29v34.53h-32.07c0,62.82,0,125.03,0,187.75Z" />
- </svg>
- </span>
-</template>
diff --git a/docs/.vitepress/theme/components/PaperFooter.vue b/docs/.vitepress/theme/components/PaperFooter.vue
index f99d9f6f..79766b19 100644
--- a/docs/.vitepress/theme/components/PaperFooter.vue
+++ b/docs/.vitepress/theme/components/PaperFooter.vue
@@ -2,7 +2,7 @@
import { computed } from "vue";
import { useData, withBase } from "vitepress";
-const REPO = "https://github.com/hypit-ai/narratage";
+const REPO = "https://github.com/hypit-ai/hypit";
const { lang } = useData();
const isChinese = computed(() => lang.value.toLowerCase().startsWith("zh"));
@@ -47,12 +47,12 @@ const t = (en: string, zh: string) => (isChinese.value ? zh : en);
<h2>{{ t("Community", "社区") }}</h2>
<ul>
<li><a href="https://discord.gg/85hnyQnxpn" target="_blank" rel="noreferrer">Discord</a></li>
- <li><a href="https://t.me/narratage" target="_blank" rel="noreferrer">Telegram</a></li>
+ <li><a href="https://t.me/hypit" target="_blank" rel="noreferrer">Telegram</a></li>
</ul>
</section>
<section class="np-footer-about">
- <h2>Narratage</h2>
+ <h2>Hypit</h2>
<p>
{{
t(
diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css
index fa5e32d8..324b902d 100644
--- a/docs/.vitepress/theme/style.css
+++ b/docs/.vitepress/theme/style.css
@@ -167,8 +167,11 @@ html.home-page .VPNavBarTitle .title {
}
/* The configured siteTitle text; the logotype stands in for it. */
html.home-page .VPNavBarTitle .title > span:not([class]) { display: none; }
-html.home-page .nav-narratage-logo { display: block; flex: 0 0 auto; height: 46px; color: var(--ink); }
-html.home-page .nav-narratage-logo svg { display: block; width: auto; height: 100%; }
+html.home-page .nav-hypit-logo { display: block; flex: 0 0 auto; height: 46px; }
+html.home-page .nav-hypit-logo img { display: block; width: auto; height: 100%; }
+html.home-page .hypit-logo-on-dark { display: none; }
+html.home-page.dark .hypit-logo-on-light { display: none; }
+html.home-page.dark .hypit-logo-on-dark { display: block; }
/* The rule that separates the brand from the rest of the bar. */
html.home-page .VPNavBarTitle::after {
content: "";
@@ -341,9 +344,7 @@ html.home-page .VPHomeHero .main { width: 100%; max-width: none; }
height: auto;
margin: 6px 0 0;
}
-.np-masthead-ink { fill: var(--ink); }
-.np-masthead-red { fill: var(--crimson); }
-
+.np-masthead-wordmark img { display: block; width: 100%; height: auto; }
/* Collage scrap, positioned off the wordmark. Decorative only. */
.np-masthead-stamp {
position: absolute;
diff --git a/docs/CNAME b/docs/CNAME
index 15cbb37b..76cecea5 100644
--- a/docs/CNAME
+++ b/docs/CNAME
@@ -1 +1 @@
-narratage.hypit.ai
\ No newline at end of file
+hypit.ai
\ No newline at end of file
diff --git a/docs/guide/author-packages.md b/docs/guide/author-packages.md
index addf8bee..f64b1159 100644
--- a/docs/guide/author-packages.md
+++ b/docs/guide/author-packages.md
@@ -19,20 +19,20 @@ mkdir -p packages/my-component/src packages/my-component/test
```json
{
- "name": "@narratage/my-component",
+ "name": "@hypit/my-component",
"version": "0.0.0-dev",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/protocol": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/markup": "workspace:*"
}
}
```
@@ -45,15 +45,15 @@ Add only the dependencies your package actually imports. See
In `src/index.ts`, declare your Module's identity, Types and Producers:
```typescript
-import type { ModuleManifest, ModuleRef } from "@narratage/protocol";
+import type { ModuleManifest, ModuleRef } from "@hypit/protocol";
export const myComponentModuleRef: ModuleRef = {
- name: "@narratage/my-component",
+ name: "@hypit/my-component",
version: "1",
};
export const myComponentManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: myComponentModuleRef.name,
version: myComponentModuleRef.version,
dependencies: [],
@@ -80,7 +80,7 @@ The Surface handler decodes the Markup Frontend's XML elements into typed author
```typescript
// src/surface.ts
-import type { StructuredSurfaceHandler } from "@narratage/markup";
+import type { StructuredSurfaceHandler } from "@hypit/markup";
export const decodeMyComponentSurface: StructuredSurfaceHandler = ({ element }) => {
// Read attributes and children from the XML element
@@ -99,7 +99,7 @@ Look at existing Surface implementations for reference:
```typescript
// src/activation.ts
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
myComponentManifest,
myComponentMarkupSurfaces,
@@ -107,8 +107,8 @@ import {
decodeMyComponentSurface,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{
manifest: myComponentManifest,
}],
@@ -121,11 +121,11 @@ export const narratagePackage = {
],
};
-export default narratagePackage;
+export default hypitPackage;
```
The Module automatically offers its exact `[email protected]`, so authors import
-`@narratage/my-component@1` without a duplicate alias declaration. Use optional `specifiers` only
+`@hypit/my-component@1` without a duplicate alias declaration. Use optional `specifiers` only
when the package intentionally owns a genuinely different logical alias. The Surface declaration
determines the accepted tag (`<mine:Widget>` when imported as `mine`). It is a Markup Host facet,
not part of the semantic Module Manifest or Core.
@@ -134,7 +134,7 @@ not part of the semantic Module Manifest or Core.
```json
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
```
@@ -146,16 +146,16 @@ pnpm workspace links resolve the package. No root path registry is involved.
pnpm install --frozen-lockfile
```
-The package manager owns installation, versions and integrity. Narratage loads the package when an
+The package manager owns installation, versions and integrity. Hypit loads the package when an
Author or Run Source imports one of its logical offers. Exact Module dependencies declared by its
Manifest are loaded from its installed dependencies.
## 8. Use in Author Source
```xml
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import as="mine" from="@narratage/my-component@1"/>
+ <import as="mine" from="@hypit/my-component@1"/>
<mine:Widget id="demo" during={story.selection.example}/>
</svml>
diff --git a/docs/guide/conventions.md b/docs/guide/conventions.md
index da2f9c01..abac2e2f 100644
--- a/docs/guide/conventions.md
+++ b/docs/guide/conventions.md
@@ -10,8 +10,8 @@ description: Naming, module boundaries, TypeScript configuration and wire data.
| Thing | Convention | Example |
|---|---|---|
| Package directory | kebab-case | `packages/speech-alignment/` |
-| Package name | `@narratage/` scope | `@narratage/speech-alignment` |
-| Provider package | `provider-` prefix | `@narratage/provider-kie` |
+| Package name | `@hypit/` scope | `@hypit/speech-alignment` |
+| Provider package | `provider-` prefix | `@hypit/provider-kie` |
| TypeScript file | kebab-case | `align.ts` |
| Exported type | PascalCase | `SpeechAlignment` |
| Exported function | camelCase | `createSpeechAlignment` |
@@ -20,7 +20,7 @@ description: Naming, module boundaries, TypeScript configuration and wire data.
- Each package has exactly one public entry point: `src/index.ts`.
- Internal modules use explicit `.js` extensions (NodeNext resolution).
-- Cross-package imports use `@narratage/*`, never relative paths across package boundaries.
+- Cross-package imports use `@hypit/*`, never relative paths across package boundaries.
- Circular production dependencies are forbidden.
## TypeScript configuration
@@ -46,9 +46,9 @@ Adding a package does not require changing the root TypeScript configuration.
- Project-owned Module and Frontend identities use the literal logical version `1`.
- Workspace `package.json` versions remain `0.0.0-dev` until publication. They are physical package
metadata, not logical protocol identities.
-- npm or pnpm owns installed package versions and bytes. Narratage identities describe semantic
+- npm or pnpm owns installed package versions and bytes. Hypit identities describe semantic
Modules, Frontends, Fragments and implementations rather than pretending to hash an installed package.
-- Wire types are defined in `@narratage/protocol` and are immutable.
+- Wire types are defined in `@hypit/protocol` and are immutable.
- Nominal Types are owned by Modules, not registered in a central union.
- Type schemas use JSON-compatible structures, not TypeScript interfaces.
diff --git a/docs/guide/develop.md b/docs/guide/develop.md
index a8f67dbe..f55c2c2c 100644
--- a/docs/guide/develop.md
+++ b/docs/guide/develop.md
@@ -1,6 +1,6 @@
---
title: Development Guide
-description: Getting started with Narratage development.
+description: Getting started with Hypit development.
---
# Development Guide
@@ -37,7 +37,7 @@ See [Testing](./testing.md) for environment-gated tests and test patterns.
## Repository layout
```text
-narratage/
+hypit/
├── packages/ workspace packages
├── docs/ VitePress documentation site
├── examples/ runnable example sources
diff --git a/docs/guide/packages.md b/docs/guide/packages.md
index 3e16f688..baf71d36 100644
--- a/docs/guide/packages.md
+++ b/docs/guide/packages.md
@@ -12,14 +12,14 @@ hide a package's undeclared import.
## The seven layers
-### Layer 1: Narratage Core
+### Layer 1: Hypit Core
The immutable graph protocol, demand compiler and Build state machine. This closure is domain
neutral and knows nothing about source syntax, files, networks, models or video.
```text
-@narratage/protocol immutable wire contracts
-@narratage/core Demand compiler and Build state machine
+@hypit/protocol immutable wire contracts
+@hypit/core Demand compiler and Build state machine
```
### Layer 2: Compiler
@@ -28,19 +28,19 @@ Source discovery, Frontends, imports, graph elaboration and the reference Node H
selects its own Frontend in its mandatory header; no central parser knows every language feature.
```text
-@narratage/source mandatory Source Header
-@narratage/elaborator author declarations and Fragment expansion
-@narratage/run syntax-neutral Run Graph
-@narratage/validation semantic admission
-@narratage/host opaque Host-facet envelope
-@narratage/workspace replaceable Source/Asset session
-@narratage/compiler-node reference Node compiler Host
-@narratage/workspace-fs-node workspace filesystem abstraction
-@narratage/package-loader-node installed package selection
-@narratage/markup official .svml Markup Frontend
-@narratage/svs SVS Recipe Frontend
-@narratage/run-markup official .svrun Markup Frontend
-@narratage/compiler-markup-node Markup Frontend + Surface Host assembly
+@hypit/source mandatory Source Header
+@hypit/elaborator author declarations and Fragment expansion
+@hypit/run syntax-neutral Run Graph
+@hypit/validation semantic admission
+@hypit/host opaque Host-facet envelope
+@hypit/workspace replaceable Source/Asset session
+@hypit/compiler-node reference Node compiler Host
+@hypit/workspace-fs-node workspace filesystem abstraction
+@hypit/package-loader-node installed package selection
+@hypit/markup official .svml Markup Frontend
+@hypit/svs SVS Recipe Frontend
+@hypit/run-markup official .svrun Markup Frontend
+@hypit/compiler-markup-node Markup Frontend + Surface Host assembly
```
### Layer 3: Foundations
@@ -49,18 +49,18 @@ Reusable values and deterministic building blocks. They support video authoring
film's creative structure or call an external service.
```text
-@narratage/artifact content-addressed bytes
-@narratage/component-kit Producer and validator registration
-@narratage/text graph-native text templates
-@narratage/media media values
-@narratage/temporal Selection and Moment projection
-@narratage/spatial layout geometry
-@narratage/visual-ir renderer-neutral visual vocabulary
-@narratage/fonts-open redistributable font assets
-@narratage/media-pipeline media inspection and normalization
-@narratage/media-execution shared ffmpeg execution body
-@narratage/transport invocation seams
-@narratage/transport-aws-lambda Lambda transport
+@hypit/artifact content-addressed bytes
+@hypit/component-kit Producer and validator registration
+@hypit/text graph-native text templates
+@hypit/media media values
+@hypit/temporal Selection and Moment projection
+@hypit/spatial layout geometry
+@hypit/visual-ir renderer-neutral visual vocabulary
+@hypit/fonts-open redistributable font assets
+@hypit/media-pipeline media inspection and normalization
+@hypit/media-execution shared ffmpeg execution body
+@hypit/transport invocation seams
+@hypit/transport-aws-lambda Lambda transport
```
### Layer 4: Video authoring
@@ -70,45 +70,45 @@ captions, peer Tracks, Film and render declarations. They depend on shared contr
specific Provider deployment.
```text
-@narratage/narrative authored narrative products
-@narratage/script Script Surface
-@narratage/program-space exact frame/sample domain
-@narratage/generation image/video/audio generation contracts
-@narratage/model-kit model family abstractions
-@narratage/seedance Seedance model family + author Surface
-@narratage/seedance-kits data-only Seedance semantic Text Templates
-@narratage/minimax-h3 MiniMax H3 model family
-@narratage/gemini-omni Gemini Omni model family
-@narratage/grok-imagine Grok Imagine model family
-@narratage/gpt-image GPT Image model family
-@narratage/nano-banana Nano Banana model family
-@narratage/seedream Seedream model family
-@narratage/mimo-tts three exact Xiaomi MiMo TTS models + author Surfaces
-@narratage/estimate duration estimation
-@narratage/speech shared speech products
-@narratage/speech-basis generated speech A/V product
-@narratage/speech-evidence acoustic evidence products
-@narratage/semantic-map authored-token timing map
-@narratage/speech-alignment speech alignment
-@narratage/speech-spine ordered speech-take compilation
-@narratage/whisperx WhisperX component
-@narratage/caption caption planning and timing
-@narratage/caption-gemini Gemini caption planner
-@narratage/caption-fine field-free fine caption Track family
-@narratage/media-track unified Media Item/Sequence Track
-@narratage/typography-track typography overlay Track
-@narratage/audio-track arbitrary sample-domain Audio Track
-@narratage/deck-track depth-stack collection Track
-@narratage/ranking four ranking component families
-@narratage/screen-overlay self-contained full-canvas overlays
-@narratage/film Film composition
-@narratage/composition peer Track composition
-@narratage/hyperframes HyperFrames document compiler
-@narratage/render-hyperframes explicit HyperFrames rendering component
-@narratage/image-transform image processing component
-@narratage/image-compose ordered still-image composition
-@narratage/raster shared deterministic raster execution contract
-@narratage/background-removal external image cutout capability
+@hypit/narrative authored narrative products
+@hypit/script Script Surface
+@hypit/program-space exact frame/sample domain
+@hypit/generation image/video/audio generation contracts
+@hypit/model-kit model family abstractions
+@hypit/seedance Seedance model family + author Surface
+@hypit/seedance-kits data-only Seedance semantic Text Templates
+@hypit/minimax-h3 MiniMax H3 model family
+@hypit/gemini-omni Gemini Omni model family
+@hypit/grok-imagine Grok Imagine model family
+@hypit/gpt-image GPT Image model family
+@hypit/nano-banana Nano Banana model family
+@hypit/seedream Seedream model family
+@hypit/mimo-tts three exact Xiaomi MiMo TTS models + author Surfaces
+@hypit/estimate duration estimation
+@hypit/speech shared speech products
+@hypit/speech-basis generated speech A/V product
+@hypit/speech-evidence acoustic evidence products
+@hypit/semantic-map authored-token timing map
+@hypit/speech-alignment speech alignment
+@hypit/speech-spine ordered speech-take compilation
+@hypit/whisperx WhisperX component
+@hypit/caption caption planning and timing
+@hypit/caption-gemini Gemini caption planner
+@hypit/caption-fine field-free fine caption Track family
+@hypit/media-track unified Media Item/Sequence Track
+@hypit/typography-track typography overlay Track
+@hypit/audio-track arbitrary sample-domain Audio Track
+@hypit/deck-track depth-stack collection Track
+@hypit/ranking four ranking component families
+@hypit/screen-overlay self-contained full-canvas overlays
+@hypit/film Film composition
+@hypit/composition peer Track composition
+@hypit/hyperframes HyperFrames document compiler
+@hypit/render-hyperframes explicit HyperFrames rendering component
+@hypit/image-transform image processing component
+@hypit/image-compose ordered still-image composition
+@hypit/raster shared deterministic raster execution contract
+@hypit/background-removal external image cutout capability
```
### Layer 5: Providers
@@ -117,15 +117,15 @@ Privileged external capabilities. Depend on Runtime ports and shared capability
never on exact-model packages or the CLI.
```text
-@narratage/provider-kie KIE generation plus background removal
-@narratage/provider-media-local local ffprobe/ffmpeg
-@narratage/provider-whisperx-local local WhisperX service
-@narratage/provider-google-vertex Vertex Gemini caption planning
-@narratage/provider-hyperframes-local local Chrome rendering
-@narratage/provider-hyperframes-aws-lambda asynchronous distributed rendering
-@narratage/provider-image-opencv-local local OpenCV Raster execution
-@narratage/provider-media-aws-lambda synchronous AWS media execution
-@narratage/provider-xiaomi-mimo official Xiaomi MiMo TTS API
+@hypit/provider-kie KIE generation plus background removal
+@hypit/provider-media-local local ffprobe/ffmpeg
+@hypit/provider-whisperx-local local WhisperX service
+@hypit/provider-google-vertex Vertex Gemini caption planning
+@hypit/provider-hyperframes-local local Chrome rendering
+@hypit/provider-hyperframes-aws-lambda asynchronous distributed rendering
+@hypit/provider-image-opencv-local local OpenCV Raster execution
+@hypit/provider-media-aws-lambda synchronous AWS media execution
+@hypit/provider-xiaomi-mimo official Xiaomi MiMo TTS API
```
### Layer 6: Runtime
@@ -134,39 +134,39 @@ Domain-neutral execution ports plus replaceable deployment implementations. Runt
queues, stores, credentials and process lifecycle; they never define author syntax.
```text
-@narratage/runtime Scheduler, Worker and Store ports
-@narratage/endpoint-kit Endpoint declarations
-@narratage/driver-node trusted Node command executor
-@narratage/runtime-kit deployment package ABI
-@narratage/runtime-host-node Node Runtime Host ABI
-@narratage/runtime-local local Worker and assembly
-@narratage/store-sqlite SQLite state
-@narratage/artifact-store-fs filesystem Artifacts
-@narratage/artifact-store-s3 S3 Artifacts
-@narratage/credential-store-env environment credentials
-@narratage/credential-store-keychain macOS Keychain credentials
+@hypit/runtime Scheduler, Worker and Store ports
+@hypit/endpoint-kit Endpoint declarations
+@hypit/driver-node trusted Node command executor
+@hypit/runtime-kit deployment package ABI
+@hypit/runtime-host-node Node Runtime Host ABI
+@hypit/runtime-local local Worker and assembly
+@hypit/store-sqlite SQLite state
+@hypit/artifact-store-fs filesystem Artifacts
+@hypit/artifact-store-s3 S3 Artifacts
+@hypit/credential-store-env environment credentials
+@hypit/credential-store-keychain macOS Keychain credentials
```
### Layer 7: Applications
```text
-@narratage/cli generic command engine (requires explicit Distribution)
-@narratage/video-cli video command application (selects Markup compiler, no built-in author packages)
-@narratage/svml-playground development preview for a Source, never runs a Provider
+@hypit/cli generic command engine (requires explicit Distribution)
+@hypit/video-cli video command application (selects Markup compiler, no built-in author packages)
+@hypit/svml-playground development preview for a Source, never runs a Provider
```
## Dependency rules
The package layout follows three dependency rules:
-1. **Acyclic production graph.** No dependency cycle among any `@narratage/*` packages.
+1. **Acyclic production graph.** No dependency cycle among any `@hypit/*` packages.
2. **Domain-neutral Core closure.** Layer 1 contains only `protocol` and `core`; `core` depends only
on `protocol`. Compiler and Runtime may also be domain neutral, but they remain outside Core.
-3. **CLI independence.** Neither `@narratage/cli` nor `@narratage/video-cli` transitively depends on any
+3. **CLI independence.** Neither `@hypit/cli` nor `@hypit/video-cli` transitively depends on any
Provider package. The video CLI also does not depend on any author-level video package
- (`@narratage/script`, `@narratage/seedance`, `@narratage/media-track`, `@narratage/typography-track`, `@narratage/film`).
+ (`@hypit/script`, `@hypit/seedance`, `@hypit/media-track`, `@hypit/typography-track`, `@hypit/film`).
Author packages are activated through Source imports, not compile-time CLI
dependencies. These rules are kept visible in package manifests and reviewed as architecture,
rather than approximated by source-text regex tests.
@@ -189,25 +189,25 @@ packages/example/
```json
{
- "name": "@narratage/example",
+ "name": "@hypit/example",
"version": "0.0.0-dev",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
```
- `"exports"` points to TypeScript source directly during development. pnpm's workspace links resolve
- `@narratage/*` imports through the dependency declared by the importing package.
-- `"narratage.activation"` is the entry point that the Package Loader reads when this package is
+ `@hypit/*` imports through the dependency declared by the importing package.
+- `"hypit.activation"` is the entry point that the Package Loader reads when this package is
selected. It must default-export a `NodePackageContribution`.
- The physical package version remains `0.0.0-dev` until publication. Module and Frontend manifests
use the independent logical protocol version `1`.
@@ -235,8 +235,8 @@ credential or queue authority.
## Package selection
-Narratage does not maintain a package registry or a second package-resolution layer. npm or pnpm
-installs packages and owns their versions and integrity. Narratage has two explicit selection paths:
+Hypit does not maintain a package registry or a second package-resolution layer. npm or pnpm
+installs packages and owns their versions and integrity. Hypit has two explicit selection paths:
| Selection | Packages activated |
|---|---|
@@ -260,7 +260,7 @@ SVS, Run Markup and third-party Frontends otherwise follow the same discovery pr
selector contains no parser-specific branch.
Frontend implementations are not privileged fields in the physical package format. They advertise
-the ordinary `narratage.source-frontend@1` Host facet, exactly as Run Fragments, Markup Surfaces and
+the ordinary `hypit.source-frontend@1` Host facet, exactly as Run Fragments, Markup Surfaces and
Runtime Adapters advertise their own Host ABIs. Only the Source Host interprets that facet.
Runtime Profiles follow the same rule. Each `use` selects a Runtime Host, Endpoint Adapter or
diff --git a/docs/guide/providers.md b/docs/guide/providers.md
index 56a91983..c3204f85 100644
--- a/docs/guide/providers.md
+++ b/docs/guide/providers.md
@@ -24,21 +24,21 @@ packages or the CLI:
```json
{
- "name": "@narratage/provider-my-service",
+ "name": "@hypit/provider-my-service",
"version": "0.0.0-dev",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts"
},
- "narratage": { "activation": "./src/activation.ts" },
+ "hypit": { "activation": "./src/activation.ts" },
"dependencies": {
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/runtime-host-node": "workspace:*",
- "@narratage/generation": "workspace:*"
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/runtime-host-node": "workspace:*",
+ "@hypit/generation": "workspace:*"
}
}
```
@@ -50,7 +50,7 @@ ArtifactStore persistence.
```typescript
// src/provider.ts
-import { defineEndpointPackage } from "@narratage/endpoint-kit";
+import { defineEndpointPackage } from "@hypit/endpoint-kit";
export function createMyServiceProvider(options: {
instance: string;
@@ -59,7 +59,7 @@ export function createMyServiceProvider(options: {
defaultConcurrency?: number;
}) {
return defineEndpointPackage({
- module: { name: "@narratage/provider-my-service", version: "1" },
+ module: { name: "@hypit/provider-my-service", version: "1" },
facet: "service",
instance: options.instance,
pool: options.pool,
@@ -95,11 +95,11 @@ import {
runtimeConfigExact,
runtimeConfigObject,
runtimeConfigPositiveInteger,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import { createMyServiceProvider } from "./provider.js";
const adapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-my-service",
+ use: "@hypit/provider-my-service",
activate(context) {
if (context.pool === undefined) throw new Error("MyService pool is required");
@@ -119,12 +119,12 @@ const adapter = createRuntimeEndpointAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [adapter],
};
-export default narratagePackage;
+export default hypitPackage;
```
`activate` is the one pure deployment declaration. The Endpoint it returns owns the credential
@@ -141,13 +141,13 @@ There is no second manifest flag or central program registry:
```typescript
// src/program.ts
-import type { ManagedProgram } from "@narratage/runtime-kit";
+import type { ManagedProgram } from "@hypit/runtime-kit";
export function createMyProgram(): ManagedProgram {
return {
id: "my-service",
prepare: { command: "uv", args: ["sync", "--project", "services/my-service", "--frozen"] },
- start: { command: "uv", args: ["run", "--project", "services/my-service", "--frozen", "narratage-my-service"] },
+ start: { command: "uv", args: ["run", "--project", "services/my-service", "--frozen", "hypit-my-service"] },
probe: async () => {
// Return { state: "ready" } or { state: "down", detail: "..." }
},
@@ -159,7 +159,7 @@ Return it beside the Endpoint from the same activation:
```typescript
const adapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-my-service",
+ use: "@hypit/provider-my-service",
activate(context) {
return {
endpoint: createMyServiceProvider(/* parsed config */),
@@ -169,7 +169,7 @@ const adapter = createRuntimeEndpointAdapterFacet({
});
```
-`narratage runtime up` prepares, starts and probes declared Managed Programs before starting the
+`hypit runtime up` prepares, starts and probes declared Managed Programs before starting the
durable Worker. `build` starts only Programs backing capabilities demanded by its plan. Providers
that call only remote APIs omit `program` entirely.
@@ -179,20 +179,20 @@ Declare every imported package in the Provider's own `package.json`:
```json
"dependencies": {
- "@narratage/runtime-kit": "workspace:*"
+ "@hypit/runtime-kit": "workspace:*"
}
```
Install the package with the project's package manager. It remains inert until the Runtime Profile
explicitly selects its `use` id.
-## 7. Reference from narratage.runtime.json
+## 7. Reference from hypit.runtime.json
```json
{
"endpoints": {
"my-service": {
- "use": "@narratage/provider-my-service",
+ "use": "@hypit/provider-my-service",
"pool": "my-service.account",
"config": {
"apiKey": { "store": "keychain", "key": "my-service.api-key" },
@@ -206,7 +206,7 @@ explicitly selects its `use` id.
Verify the configuration:
```bash
-narratage doctor narratage.runtime.json
+hypit doctor hypit.runtime.json
```
## Existing Providers to study
diff --git a/docs/guide/runtime.md b/docs/guide/runtime.md
index ddac2d97..e526d4f7 100644
--- a/docs/guide/runtime.md
+++ b/docs/guide/runtime.md
@@ -1,11 +1,11 @@
---
title: Runtime
-description: The execution boundary outside Narratage source and Core.
+description: The execution boundary outside Hypit source and Core.
---
# Runtime
-Narratage keeps three decisions separate:
+Hypit keeps three decisions separate:
| Owner | Decides |
|---|---|
@@ -17,7 +17,7 @@ Core is a domain neutral state machine. It accepts facts, derives Commands and v
Records. It does not start processes, read credentials, choose Providers or know that a Build makes
video.
-`@narratage/runtime-local` is the default execution environment. It owns one Worker, scheduler, Build
+`@hypit/runtime-local` is the default execution environment. It owns one Worker, scheduler, Build
queue and SQLite database. Those are one implementation, not user-selectable pseudo-components.
## Runtime Profile
@@ -26,20 +26,20 @@ The Profile contains only environmental choices that genuinely vary:
```json
{
- "format": "narratage.runtime-profile@1",
+ "format": "hypit.runtime-profile@1",
"runtime": {
- "use": "@narratage/runtime-local",
+ "use": "@hypit/runtime-local",
"config": {
- "dataRoot": ".narratage/runtimes/local",
+ "dataRoot": ".hypit/runtimes/local",
"artifacts": {
- "use": "@narratage/artifact-store-fs",
+ "use": "@hypit/artifact-store-fs",
"config": { "path": "artifacts" }
},
"credentials": {
- "environment": { "use": "@narratage/credential-store-env" }
+ "environment": { "use": "@hypit/credential-store-env" }
},
"endpoints": {
- "media": { "use": "@narratage/provider-media-local" }
+ "media": { "use": "@hypit/provider-media-local" }
}
}
}
@@ -58,7 +58,7 @@ contains no Workspace, author imports or creative routing.
Selecting a Profile writes a project pointer. Execution data stays under `dataRoot`:
```text
-.narratage/
+.hypit/
runtime
runtimes/
local/
@@ -90,9 +90,9 @@ An Endpoint may declare a long-lived helper such as a warm local WhisperX servic
its probe and optional start command; the local Runtime only supervises it.
```bash
-narratage programs status
-narratage programs up
-narratage programs down
+hypit programs status
+hypit programs up
+hypit programs down
```
Program commands load Endpoint packages only. They do not open SQLite, Artifact Stores or Credential
@@ -101,11 +101,11 @@ Stores.
## Lifecycle
```bash
-narratage runtime use narratage.runtime.json
-narratage runtime up
-narratage runtime status
-narratage runtime logs
-narratage runtime down
+hypit runtime use hypit.runtime.json
+hypit runtime up
+hypit runtime status
+hypit runtime logs
+hypit runtime down
```
`runtime up` starts the local Worker. `build` submits work; `status`, `queue` and `cancel` observe or
diff --git a/docs/guide/testing.md b/docs/guide/testing.md
index 229267b1..e821b70d 100644
--- a/docs/guide/testing.md
+++ b/docs/guide/testing.md
@@ -7,7 +7,7 @@ description: Test runner, patterns and environment-gated tests.
## Test runner
-Narratage uses the Node.js built-in test runner (`node:test`), not Jest, Vitest or Mocha.
+Hypit uses the Node.js built-in test runner (`node:test`), not Jest, Vitest or Mocha.
```bash
pnpm test # package tests + boundary tests
@@ -22,7 +22,7 @@ the glob `packages/*/test/**/*.test.ts`.
import assert from "node:assert/strict";
import { describe, test } from "node:test";
-import { someFunction } from "@narratage/example";
+import { someFunction } from "@hypit/example";
describe("someFunction", () => {
test("returns the expected result", () => {
@@ -90,8 +90,8 @@ explicitly opt-in, use no committed secret and fail before spending money unless
| Command | What it tests | Prerequisites |
|---|---|---|
| `pnpm test:whisperx-service` | Python WhisperX service | Python 3.13, uv, frozen sync |
-| `pnpm test:image-opencv` | the shared OpenCV Raster interpreter across both request variants | `NARRATAGE_OPENCV_TESTS=1`, `NARRATAGE_OPENCV_PYTHON` |
-| `pnpm test:browser-visual` | rendered geometry, stacking and clipping in a real browser | a Chrome the HyperFrames CLI can start, `ffmpeg`, and `NARRATAGE_TEST_FONT_PATH` off macOS |
+| `pnpm test:image-opencv` | the shared OpenCV Raster interpreter across both request variants | `HYPIT_OPENCV_TESTS=1`, `HYPIT_OPENCV_PYTHON` |
+| `pnpm test:browser-visual` | rendered geometry, stacking and clipping in a real browser | a Chrome the HyperFrames CLI can start, `ffmpeg`, and `HYPIT_TEST_FONT_PATH` off macOS |
| `pnpm smoke:kie` | Live paid KIE generation | `KIE_API_KEY` |
## Test fixtures
diff --git a/docs/index.md b/docs/index.md
index 72a3101d..2bf69630 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -13,7 +13,7 @@ hero:
link: /guide/develop
- theme: alt
text: GitHub
- link: https://github.com/hypit-ai/narratage
+ link: https://github.com/hypit-ai/hypit
---
<ClientOnly>
diff --git a/docs/public/CNAME b/docs/public/CNAME
index 1028ec02..845024f2 100644
--- a/docs/public/CNAME
+++ b/docs/public/CNAME
@@ -1 +1 @@
-narratage.hypit.ai
+hypit.ai
diff --git a/docs/public/hypit-logo.svg b/docs/public/hypit-logo.svg
new file mode 100644
index 00000000..f0df0297
--- /dev/null
+++ b/docs/public/hypit-logo.svg
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 641 125" role="img" aria-label="Hypit">
+ <title>Hypit</title>
+ <desc>Hypit logo</desc>
+ <image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoEAAAB9CAYAAADdnLnzAAAbwUlEQVR4nO3dCZzURL4H8H+S7plhZjgF8UANKiCR44EoYV0PFBHddVV8fMT1YBFcULxwUYH1AEVcDp/HKqCr6608dX3rgS6K64UaXRAQicAiRFFBjuGag5nuTt6nutMSZweY7k4mR/2+H7GvpKo6yaT/qUpVCZZlEQAAAADwRfS7AAAAAADQ9BAEAgAAAHAIQSAAAAAAhxAEAgAAAHAIQSAAAAAAhxAEAgAAAHAIQSAAAAAAhxAEAgAAAHAIQSAAAAAAhxAEAgAAAHAIQSAAAAAAhxAEAgAAAHAIQSAAAAAAh2IUIY8Nn3BG+xYHDCiKxVqZppkwydwtkBAXBFESiEgQhPiepS0yiRJkUYq9Mi0zIYhCXLDYJ0SWZSWIrWQRCaIYt99Mv8/SEdiH7HO2LlkJ9ihm0k/nlX5NVGIRpVJk7pYEsaQyWbdu8H03/8mHTQMAAADwM4JlsegmvKYNHt3uzN4nvt2h7YE9REHIxl+B9F3FJr3HhEuO9bscAAAAAKFuDn5/4qwXrjhz8KbD27XvGfQAkHlrySd9/S4DAAAAQKhrAr/407MrOrRup1BIfLV+3ZsnThl1tt/lAAAAAAhtEPjJ7X95q8shR5xBIcG28AGjBga+phIAAAD4Ebrm4Ecvn3BSmAJA5rNVXz7gdxkAAAAAQl0TuGLa3NUHt2rTiUIiZZpmuysHSX6XAwAAACC0NYFPXH7LeWEKAJn3li26we8yAAAAAIS6JnDNPX/b0Ka8+UEUEtV1tVUdrjmn3O9yAAAAAIS2JvDFq+8aE6YAkJm/5JNf+10GAAAAgFDXBH5z/98rmpeUtqaQ2F5dufnIsYMP9LscAAAAAKGtCXzjhntmhikAZF5ftBADQwMAAEBghaIm8IcH59WUxOMlFBJbdu74vvONQzr4XQ4AAACA0NYEvjth1tNhCgCZvy1c0N3vMgAAAACEuiZw0+x/JGKiGKOQ+HFbxbqu44ce6Xc5AAAAAEJbE/jRbY++EaYAkEEACAAAAGEQ2CDw5rMuiXc+pMOZFCJrN37/id9lAAAAAAh1EDjkxIHvS4IY2PI1pM/tw3/hdxkAAAAAGiOQQdbMC68ul9u2VylEln29+hm/ywAAAADQWIG83+60bie8JwqCQCGxo6ZqS//pV19KATf1gqtatywtOzQuSUVEFiWSybr0B4JAcdF+L5WqE0lMZJ4n68giikuxovRz9oIyuyUeixWx9dkje83Wy+YjiWIivZjd54g9TZqpOHsdk2KJZCoZzy4bk6TEnhIKZJG1Z3kS0nmzT0wy4+ky2oeFQFRmWVYVe54yrapEKlEniZm0Kmuqai2ByDKtZHphi0gQxVjzZqXFIgllkiiVsfREwVFOIfvdhUTmuxLVJGorb35p9mbv9wwAAEDTC1zv4KlDrmo9asB5FWGJACuqKjcefcPggymg3rrp/oePPvjw88tLmrWJiaLkd3nCZun6r585bcqVgQ/wAQAAQl8TeNZxJy4IQwCYSKWS+vq1c/vfPSaQAcLbNz3waI+OnYb1Oapr4PZxmPywZdOrfpcBAACAi5rA2cMndGkWj3dNJRNVoigVlcSL28ZEqZUoifFMS6AQkwQh3USYlil+poZrT2slk2KvU2SxZsxk+msKP30cY88kUShKmSZr+ktm0rFYwMSaEGNksUeLTMtKiKIYl0SplDUjWpaV2Lm7csXFcyY9TwG1euaL37Zt3vIwv8sRdqu+//btfneMHNiUecqKKhPRP4mINXXXplvC99y/G7cfi4moBRGtMXTtlxRRsqLOJiL2/SqIqJn9tujYJmS/z6aUXGro2q/zzGckEU0kovVEVGSfT0THNmekBvIvJ6KPDV0bSiFnH3cLiWgbu8a1z4MN3Tuefc4+Z+fOQ4hot6FrSgF5DyeiG9mdHOwujHofS45tn90vP91Okj7P/+fyKcc+MvdxD7zp2J8p+182v+yyYr10nWlmH7PrNSSbfjadYkd62Vthau1jfAkRvWDoGntsUrKissqMmxzbP1vuWL3vxv7W3jV0bZhL+bL0ltvHXaV9TGXzK2pg/zq3tfPvNPs6ZR8fe9vvCcf68XrpOjnXz67nPBdnH51/J8606qeXJe3nvfrHS/3v5nxk5d9s6NopVIDA1RJd+fjdq9jvr9/lCKt19/7f5rbNW7b1uxxhlzJN84MViy/uRyw+aFKXE1HHRi7bniJKVlQWYF2xjx/X+g4tILsPiOgvOWx3pwtlRe1q6FpPCilZUc8monkFbMc/F1iEa9gQqwWmEQVsSLTxsqLW2hcXpzVh3rcSUadGLnsREbkSBNppHVrg3y/PukaydzDkZ8mdTy5qWVqGANAFy9Z//dTNf/OlU8hPHWyg0QFgQQxdW01E3fZ0ZcpZD1lR36cQkhV1qCMAzMd9hq5dW2AxWNADe7Dawv6yopqyoj7ZRBumfs3Xvrh5xxbOdz5DEBgRD102rtsRBx58nN/liILaVLJ2wNQxrInKD47e0tBUDF1bUWDN6sl283VoyIr630RUyG0tfzZ0bawLRanfBAx7gq3LZEU1mmCDIBDnFILAiBjYU33L7zJExZJ1qx70uwzQ9AxdYzW/XQpIYrSsqFdRCMiK+hsierGAJF5yoQYwq6H7qmCPI2RFDdJQVWHouwmNhCAwAh4fPv5XB5S3COwwNWGyq3b39rNnjB3ndznAH3bTcN8CknjIDrACS1bUAUT0SgFJzDN0bYiLRUKT4P61lRV1JXlnbx0ZGmL5lC94AEFgBJzave8TfpchKj77esUtfpcB/G2eMnTtMyL6VQFJvCIraiB7bcuKegIbQaqAJN7Ntxe2S/ej8ayLrKh/8LsQEC0IAkNu7qjJl7csQ2cQN2zatf2bIfdPeMiVxCDUDF17g92PVUASH8qK2pkCxC7PpwUk8ZFHPVZRG9R4MylacCuAzxAEhlzfY3pM87sMUfHhymWBHPibY752kjF07WkiKuTWgFWyoraj4ASAqwoMAL2q3cRMRjmQFXV6hPZB4Iap4w2CwBB76aop12FIGHes2bTh/SsevetDl5KDAhm6xgJA30eyN3TtngIDwR/tAXHDHACyJuBANm9z6jqfYwHf/y7BPQgCQ0zt2nOq32WIin8u/5ebN7qDOwLxY1NgIMh6Um7xKxC0ZwIpJAD8oAkGLT7I4/SjpkhW1F4RqQnMzgQEPkEQGFKvXT99SmlRcanf5YiCL79d9/L4Fx4MyhAMzqmMICAKDARFOxBs0n1rN0WvK7AGsKApqRrpI9wXmLPhEYkFWG988LFnPdrjQ+r4zt3YXJtQIIssa97ShUNPplHYlsETiJpAZyBoT2c3Kc8f2eqmCvLtmscfC0hicVNNW8YGnJYV9Q77ZcKuHSqyt9WeeeIb/gHc332jdXtJI5/9kKj3w5vcz+9p9jtknzvLlLCPh2OJaAZr2MmxLGyGm9A3Bxu6tkBWVDZd45YGagWdx0B8H/vBeQw4983e4hvnvogT0Q57us6ZOTbJs4HWD7Tnec+WI95AXg2V02lvx1NiHyMmsPMQqwRCEMij9yc+9EL3Izrt6+QIjaR//81r0+Y9jVk6oFEMXZssK6pkz7Waq5isqHWGrnn6t2vXOG4pYFDfVYau9aEmZOjaNsfLSuLHQiLqJyvq50SUSxMvCwIiwdA1IwD7/R5ZUXMJAmfb9y371YLE/l6cfzN5Q3NwyMy+dFyX7kd0wv1rLvlw1dLfUbCgp2TAZyYwdO02IvpTnqvHWSBI3qop4Nz+o6Frx7hcHtgPQ9d6YyP5R859OCdWexkJCAJDZM5lN/Yd3O+0L/0uR1QsWrvykYn/O8uVqykXIQgMeBDIGLo2Ic9m4WwgyJoCXWcHmPkeQxWGrqGTBp94H7B7G6+z3CAIDIl3Jzz09JBfDPgkLsVwH6cLvt2ycdnAadcG8UZAdAwJUdNwATWCzWRFZfciuUZW1J0FHD/bDF07wM3yAEDw+RZQPHTx9R1EEsskUShLpFJ1oigmEslkOrqWJCmRvfe0sqa61rSsJHsZj8USdclk+iQn2HUEoiDGmjcrLWbPLXt5SyBqXlJanFlEyLy/u6rWsohYWpn3M+kLghBr0ay8+KduAulla2rZM8uykpl3BCqy8xbsPMtLmhVnKyqyZWF2VVely8vKmk4xszpt2VHx002dLctalIuCEGteysotsDLQzpqqWvbI1m1RWl4mCmJZi2alvdu3ajuw88GHD+4pd2rRBLuFC1+uX/vyyVNGX+B3OSD8nUhYjaCsqCVEdH0eq7eQFXWToWvs5vKCyIq6kYiaFxAAtim0DMCNwNbQF6CIONVkQeDLV08d1+VQeWTL8uaHFUmxogtPGiSJghjFgwkC6oftW1d9unr5NSMem1rI3KleQ3Pwns4NoWD3bmUB2Ig8Vm8nK+q3hq4dnm/+sqKyYTba57k6AkBgeG8OzlVkOhN6HgQ+efkt553ao89fT+3ex9dR86NkR1Xllm1Vu76pTdRVJE2zxrLMJLs2EwWxWCAh3cRvkWVmqiHTtZGpTK2mY45OIf2fJIoiOwakzGtBZDWUgpBJI8uyWFqZ56ZlJi2L2OuUSWaS1aRaZCUFQYyxZQQSMmkJJLLXrPKVyGL5p2tWM4OyUCpdu5teIXMdwPJNr00ksbREUYiz16IoxNiymc+zZbCS6TI5sK/P/h+XpFKRhCJRFItMy6xLplLVW3ftWLy+YuPLo5+Y8Wk3uogCLjTBT8Cuzn29oDR0baQduOYz3/BhsqKuNXTtyFxXlBV1ERF1ovxsMXQtENPaAYTsvBuniPA0CHz1+umTz+l7MutJBy4wNm9c/Pm6r8aOfOzuDyPTNQkgIgxdGyYrKquROzOP1TvKirrG0LWjG7uCrKj/JKLjKP9OIAgAIR9RbMFLEKc86xjy2IiJp/6y638hAHTJhyuX3t77lsv6sADQrTQBwF2Grg2yZ8DIx1F2025jA8D+eeazA51AQi8V8PSiLkER4VkQeHbvE//hVdq8eWfFouvPvfem7Ij6EG2RObnwytC1X7IZN/JcvZOsqCv3tYCsqAsLCAB3GbrWKs91ASBiPAkCX77m7vHFsbjd4xYK8c3mjYuHPDDxfmxF4JBzmqRQsWfc+Feeq3eRFXV5Qx/IivoJEZ1YQA0gRhmAQjuGRLE5mFueBIH9uvS43Yt0eTR/6Sdn+V0GgKZmT8kU6h6Lhq6dUEAg2M2eSqx+AJjrHLPOABA1gADudPSoi8qGdD0InDtq0u+L43E2bhYUaPXG9e+Mf2m2X3MTgj9SQR8brynIito6Cj3w7EAw36bhXrKivsqeyIr6IgJAgMAooohwvXfwKd37POB2mrxSbx8xwO8yQJPbncOyAutR6vhbFh3/skzHY/Zf9vP6j+R47VxvbxeLzuXq51H/dfY9Zxmd+cccy7BtwAZQjsTsOKxp2B7KJZ+evOewcQTZMDJ5Zr8TNYDQCOgYwmlNoKsn2bmjJ18+sFc/3Avogs/WrnxgEA10IymItqP8LgA0OhBcRkQ98thehxXQCaRlnutCsLk9qDwGqeeUq83BJx173INupserpGkmB0279jq/ywG+wBV5RBm61pP19Wqi7GrQCSQ8ZEW9O8dVcJ6AYAWBz4+aNKxZUVEzt9Lj2bvLF4/xuwwA4D5D12Qi2uDxtmWdalADGBKyot5MRONzXK0mLMPFASfNwf17HP+IW2nxrKp2964LZ/0R2xIgogxdO0RW1K1E1MaD5FlnoUPt3tWhIisqG1XiFPt+qxq7iZLVeCUdi2WmufxPzuVi9dapv5zk+O3L5kENrOOsbUvup/ZN2sdvqzPdYjudnfbrk9mQQJS7H/JYB8CbIHDe2JnT+h3TIzK9Zfw0f4n2q5H0G7+LAQAeYjN2yIq63YMau+6GroVuRAF7gOx8giFeve5yerzfE5jIcfm9XWSEjitVwH27dL/RjXR4t6Fi679HPj4V08LxjfeTMTfsXrvZGiE39DZ0bQWFjKyo9yIAzI2ha3Nd3g1oDuZUwTt+wY33Py4KAkYQd8GxEy7q7EY6ABAOdu/dXS4kdYaha0sonLr6XYCQ2eFBmggCOVXwju91dNffuVMUvq3f9OOXfpcBAgE1gZyxe/FWFZDEuYauLaDw+tHvAoTMTL8LANFRUBD47viHnkMVoDt63nppd5eSgnAL/SwZkDtD18rzDARZDWB6VpEQw4VP46UMXZviwT4I9RSN4FPHkJ4dO11UyPqQ8dZSbcRQHwaGfvGau8a0b3nAaXEp1ty0rKRpmQnTNGtTllmbMlO16X6G6YnJLPaQsshK3zwrkBAXBEFi/9hr0zTr0suYVkKSpDKSYrRmw/o5ox+/+1PsY4BGO4+I3s5hez0W8hpAyN1QbDQIRBC48I9zXlEOP9LVwvA4KPS7y/81Zujs2/7alPk+NuKPp/bv1ueF07sd386rPPTv1t7hVdrwM7sdcwjXn8ItG8an9nK1z1oCBMcjIzRifuJ9NQBkl3eWydpHTYOzNSJbFlbeUiLibQ7yXOcYDl0vYCjIa4auveTRNuS9JrCOOJVXEHj3kCtbjxpwPsYxyVPSNFPfV2xa+vxH8/tNf+PZJh3P65Wx0287/4RTJnuZx1ffGW9e+9TMdV7mEWE5HQ+GrkVygHZZUdkFyibiS67DxZR5VA4IniWGruE31ztJ4lReQaDS4ahr6sxUwjLNlCRKsZgoejbRe9JMJe0Wyf9gkfXzd9Otlg4CCey/uCR5Vr5EipXPsurnzd4TBEFMvysQJVNmorq2Zuu6zT+8unjdV7dOfGHOtl50GTWluWPu/P3AHn09DQCTlpk68c7fn+1lHhGHewIz2Bh6vNmS4/KFdCYJEs/OzxEx39C1QR7nwfs0dDHiVF5f/Nx7x7GmvnRz39RzR7eOF8USiVQizgaKEQUxZtmNRewhG8CZlpmMS7HElp3ba52xW9sWrYo379xZ265Fq2JByL4vpNdjy1qWRdPn519bdvOZv42zUJAVpm3zVsWsTHXJZFwUhZhg58MemfKS0uLK3dW1mSKzMM5KOr8IWzYeiyXSS9tF3bRjW20u5WNjwJxJ/jj12D6ez+28cr3xyoFeZwI8wGEEvGO9pq/2sAkY8he6GXk8i34nvjJnm0sb05ONOm3+c4ko7rhcabc/tqDzIYd5WsvEam1Pvmv0BV7mwQFuj9F6qv0uQEjuB40C9A7OVCuwSodKIlpKRPc1ca9v3u8JLCJOcVsFypMZQ64qH376uad5nc/na76aNYjO8job4APOTfzIdV/fR0SziYjNuOK8cKpr4DV7Hq93cRXPI0CoczyPO4KG7HPnHMTOsjjL4/zMuT77fJuha0aO5QL3xD1ePrBwouXA6T3U97ye1aWybvfOQffccJ2XeXAiMieXAvF4ZZ6+FYVDuRzzVYaujfWwLLzi/Z5AbmGqmIibfem4Lke0O6i31/l8/NUynJjdgaYx4O1Y4THgDxrem4O5hSAw4k7t3mce6yLtZR47dldvHTrr1iYd6xAgoniskUGLFPitiDiFIDDCnhs9eVj7lm2O8jqf95YvGuZ1HgBRZ+hagtNbB3Kp0cRvljdy2a5RnC22jjiFP6gI63dMj3u8zmPTjm3fDH90yjyv8+EIjzVBDeH2pMyhqDRrc0NW1KhcgBDvozIgCIyo18bOmNKyWdkBXufz1jKtv9d5APAgjx9WHn+4olgLFTZRjBuqiVNR3JlARMcdrfzB6w2xesP6d6599l5MD+cuHn/YG8LdNE55NAfzWGuMINAbvNfGJni9jxVBYAQtvGXO6yWxeImXedSlUnXqpBEDvMwDuMZrMNzABJmRl0swiyAwGLFAMfE9PFMRRQSCwAjq0qGj5yM2f7Hu3094nQcAcFETiCDQf7zXBOYqMvdEIgiMmCV3PbVYEgRP92tVbe3OgTOuHeVlHhyLyg875IfHmq5cmv553D5NQeQ1COK9pQJBYITMuvgPHY5o6/3A0J/9e8WdXucB3ON19gweoSc4gE8QBEZI/54nfOB1Httrqjdf8OfxM73Oh2OoCQTe5DJbBWoCIQjiFBEIAiNiziXj+rZv2bqj1/loX31xo9d5cC4yzQwu4GpbRHDsNU9qfTneThAcCYoIBIERMaBXv797ncfWXbs2/Pbh2570Oh/O4Qcuv+FSeLxBn8eb+Xn8zuC9Yl43MoLACHh25K0XtSlvfpDX+Xy6cpnnYw8CcD5cCuwftz/YHuI9FmjG632svO/4SDip+/FzvM7ju4ot+iWP3vG81/kAcBwE5hrcoFYMwB1FvG5IBIEh9+YN99xfXlLSwut8Plyx6EKv8wDgPAis5fTWgcjMvgChVUacQhAYcr2O7jra6zzWbPzu/THP/M+XXucDOdfuRD1IQk/pfYvKfZO51mhi+CD/p2mMyrGX7wVVZKa1RBAY8unhiqSYp9XYyVQq+dLHC87wMg/4mVY5bI+oD5fBWw1ReY7Lezo1ZBNq53cBIOdjKWqBeFviFILAEDumQ8ezvc5j2brVT06f/1zUrvqCbLvfBQiQXZzVilYS0W4Oa0pz2c+5bB/wpqNDIoKdc2pyXDYyF6iR+SK8WXzH41rH9od6WhO0o6Z66xkzrhvpZR7wc4auTZYV9TAi2lyvpidh/+gn7PfbEFFFxLffRUR0MjsUHb33EvWacFhT4gFEtIkiMCyOrKjnENFxdnNTuaOpNPtdmeb28+kUDex+4zH19m/S/n1i37vIDlLYvc/LOR4+yEvsPH81EW2z90G2eTS7reP28zb2PmAXLJFh6NpnsqLeSkSdiKjaccGxyz72EvZz9v1XGrrGzs+RIFhWFC6g+TJ18BWtR505pMLrtsA3P//4txc/PAk9ggEAACIIzcEhdIE6YJnXAeC3m39chgAQAAAguhAEhsyTl084r13L1qy50DMp0zQ/Xv3Fr73MAwAAAPyFIDBkTu/1i2e8zmPVD9++edVTM77zOh8AAADwD4LAEHnthulTSouKPR3Usi6Vqntt0Qfne5kHAAAA+A9BYIionXtM8DqP1T+sf33am8+g9x0AAEDEIQgMCe3WRxZIgujp/kqaZvKzNV8O8zIPAAAACAYEgSHRuYN8utd5fL525cPj5j4QqfGfAAAAoGEIAkNg6eQnF3udx+oN698ZNON6NlgoAAAAcABBYMD95bKbTjr8oIN7e5nHMmPN8+qkEQO8zAMAAACCBdPGBVzfrv81x4t0TcuyNu/cZry99NPTr33u3nVe5AEAAADBhWnjAu75MXcOKxPjR7LZ/VJk1ZDA5tS0YsRm+xMEiglCs/TEf1Z6XllJJFESRIpbRAmBKC6QQIIoSKIgxEWBSkzTTGyvrvxi6MOTH/H7uwEAAIB/EAQCAAAAcAj3BAIAAABwCEEgAAAAAIcQBAIAAABwCEEgAAAAAIcQBAIAAABwCEEgAAAAAIcQBAIAAABwCEEgAAAAAIcQBAIAAABwCEEgAAAAAIcQBAIAAABwCEEgAAAAAPHn/wGnH0u0BkgpmAAAAABJRU5ErkJggg==" width="641" height="125"/>
+</svg>
diff --git a/docs/public/logo-line-dark.svg b/docs/public/logo-line-dark.svg
index ee6b1d02..3e755414 100644
--- a/docs/public/logo-line-dark.svg
+++ b/docs/public/logo-line-dark.svg
@@ -1 +1,6 @@
-<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" viewBox="544.2 749.9 1306.7 307.1" role="img" aria-label="Narratage"><g id="a"></g><g id="b"><path d="M590.216,910.195c-4.249-5.842-8.733-10.916-12.038-16.64-18.528-31.864-18.587-64.318-.885-96.241,17.407-31.451,45.613-46.203,81.017-47.324,24.665-.826,46.498,7.081,64.849,23.721,22.482,20.417,31.038,46.439,29.209,76.179-.826,13.454-4.249,26.317-10.326,38.473-2.419,4.78-5.724,6.963-11.211,6.845-9.736-.295-19.472-.236-29.209-.059-6.668.118-12.333-2.183-17.171-6.609-1.652-1.534-2.832-1.534-4.839-.59-24.547,11.624-61.663,1.003-66.974-36.054-3.009-21.066,6.55-40.007,24.311-49.271,25.904-13.572,60.306-1.652,67.328,30.153,2.655,12.097.826,23.721-6.196,34.106-1.416,2.124-1.003,3.481.708,4.662,1.416.944,3.127,1.888,4.78,1.947,5.488.295,11.034.531,16.463.177,1.593-.118,3.717-2.065,4.426-3.717,1.947-4.662,4.013-9.5,4.78-14.457,4.013-25.373-3.127-47.206-22.541-64.259-14.398-12.628-31.805-17.702-50.805-16.935-24.193,1.003-43.489,11.447-56.883,31.746-28.796,43.725-2.242,101.906,49.625,108.338,10.562,1.298,21.361.649,32.041.531,31.628-.413,63.315-1.121,94.943-1.593,6.314-.118,10.798,4.485,10.798,10.798.059,40.302.059,80.663,0,120.965,0,7.258-4.839,11.92-12.097,11.92-72.284,0-144.568,0-216.853.059-9.146,0-13.277-4.19-13.277-13.395v-119.49c0-9.441,4.367-13.867,13.867-13.926,9.264-.059,18.469,0,27.734,0,1.416-.059,2.773-.059,4.426-.059h0ZM602.489,1033.639h127.987v-96.005h-2.301c-16.699.826-33.398,1.239-50.038,2.537-15.401,1.18-30.271,4.603-43.784,12.569-16.05,9.441-26.907,22.954-30.389,41.423-1.475,7.73-1.121,15.814-1.416,23.78-.236,5.075-.059,10.267-.059,15.696h0ZM659.373,820.681c-12.864-.059-23.662,10.326-23.78,22.895-.118,13.159,10.149,23.544,23.249,23.544,12.687,0,23.072-10.562,23.072-23.485.059-12.451-10.208-22.895-22.541-22.954h0ZM583.607,1029.803v-19.827h-19.236v19.827h19.236ZM564.312,971.386v19.827h19.295v-19.827h-19.295ZM767.238,992.274v-19.472h-19.118v19.472h19.118ZM583.666,953.093v-19.354h-19.236v19.354h19.236ZM748.179,1010.567v19.531h19.059v-19.531h-19.059ZM767.238,954.982v-18.823h-19.059v18.823h19.059Z" fill="#fff"/><path d="M879.343,928.196v95.886h-36.038v-209.671h36.038c9.34,32.897,18.774,65.988,28.491,99.853v-99.756h36.51v209.768h-9.434c-6.604,0-13.208-.387-19.812.194-5.472.484-7.83-1.161-9.34-6.87-7.925-29.124-16.227-58.151-24.529-87.178-.283-.871-.66-1.742-1.038-2.516-.283.097-.566.193-.849.29h.001Z" fill="#fff"/><path d="M1636.951,1024.549h-38.644v-55.104h-24.115v55.008h-39.249c-.101-1.547-.202-3.094-.202-4.64,0-58.294,0-116.589.101-174.883,0-7.444.908-14.791,5.751-21.075,4.944-6.477,11.704-9.571,19.877-9.667,16.85-.193,33.599-.29,50.449-.097,13.52.193,22.399,7.444,25.023,20.205.706,3.48,1.009,7.057,1.009,10.537.101,58.101.101,116.299.101,174.4-.101,1.643-.101,3.383-.101,5.317h0ZM1597.802,932.594c.101-1.231.303-1.895.303-2.463,0-25.577.101-51.059.101-76.636,0-5.115-2.119-7.01-7.769-7.105h-7.567c-7.668.095-9.081,1.421-9.081,8.62v72.847c0,1.516.202,3.031.202,4.736h23.812,0Z" fill="#bc003a"/><path d="M1349.462,1024.523h-36.33c-.094-1.262-.282-2.33-.282-3.398,0-59.519-.094-119.037,0-178.556,0-15.05,6.212-24.468,17.977-27.866,1.882-.583,4.047-.777,6.024-.777,15.53-.097,31.059-.097,46.589,0,12.33,0,20.518,6.699,23.247,19.03.847,3.787,1.318,7.67,1.318,11.554.094,58.742,0,117.387,0,176.129,0,1.165-.094,2.233-.188,3.884h-36.33v-63.5h-21.93c-.094,20.875-.094,41.945-.094,63.5h-.001ZM1370.639,925.059c.282-.753.471-1.035.471-1.318,0-23.436.094-46.965,0-70.401,0-3.577-1.976-5.365-5.647-5.365-2.635.094-5.365,0-8,0-7.153,0-8.283,1.035-8.283,8.094v64.283c0,1.506.188,3.012.282,4.706h21.177Z" fill="#fff"/><path d="M1001.909,1024.536h-38.21v-5.419c0-58.059,0-116.118.098-174.177,0-4.645.782-9.386,2.15-13.741,3.127-9.967,12.216-16.547,22.77-16.644,16.418-.194,32.933-.194,49.351,0,14.072.194,23.258,9.967,24.138,25.256.293,5.612.098,11.322.098,16.934v167.694h-37.917c-.098-1.645-.195-3.387-.195-5.032,0-17.902-.098-35.803.098-53.705.098-4.064-1.173-5.419-5.179-5.129-5.473.29-11.043.097-17.199.097v63.865h-.003ZM1024.288,926.61v-65.897c0-14.321.195-13.354-13.193-13.257-8.209,0-9.382.968-9.382,9.096,0,22.062,0,44.125.098,66.187,0,1.258.293,2.419.391,3.871h22.086Z" fill="#fff"/><path d="M1293.832,1024.549h-37.26v-59.717c0-8.143-2.118-10.179-10.302-10.179h-11.361v69.605h-36.971v-210.173h70.284c14.827,0,24.166,8.046,25.033,22.976.867,15.608.578,31.313.674,46.921.096,9.21-.096,18.419.096,27.629.193,12.118-4.044,21.424-17.234,25.981,1.637.582,2.407.873,3.177,1.163,7.702,2.327,12.035,7.659,13.287,15.511.385,2.714.578,5.429.578,8.24.096,18.419.096,36.838.096,55.258-.096,2.036-.096,4.168-.096,6.786h0ZM1235.006,919.125c5.488,0,10.783.193,15.982-.096,3.081-.193,5.488-2.214,5.488-5.584.096-20.315.096-40.63.096-61.041,0-3.177-1.733-5.295-4.91-5.392-5.392-.193-10.783-.096-16.56-.096-.096,24.262-.096,48.043-.096,72.209h0Z" fill="#fff"/><path d="M1118.961,1024.536h-36.594v-210.112h68.855c16.082,0,25.423,8.424,26.194,24.594.674,15.492.289,30.984.385,46.476,0,8.424-.193,16.751.096,25.175.482,12.684-3.082,22.657-16.756,26.918.867.678,1.156.968,1.445,1.065,10.4,3.292,14.83,8.714,15.023,19.752.289,12.103.193,24.206.193,36.31v29.822h-37.557v-60.322c0-7.165-2.119-9.198-9.149-9.392-3.852-.097-7.608,0-12.134,0v69.715h-.001ZM1119.25,919.964c5.393,0,10.497.29,15.504-.097,3.371-.194,5.489-2.421,5.489-6.1,0-20.333.096-40.667-.193-61,0-1.84-2.311-4.938-3.852-5.132-5.585-.581-11.363-.29-17.045-.29.096,24.594.096,48.413.096,72.619h0Z" fill="#fff"/><path d="M1704.339,907.608h50.247c.101,1.738.202,3.282.202,4.827,0,28.476.202,56.953-.202,85.429-.101,5.309-1.413,11.004-3.733,15.734-4.036,8.012-12.007,10.908-20.987,10.908-16.345.097-32.59,0-48.936,0s-25.628-8.109-27.142-23.843c-.303-3.379-.202-6.757-.202-10.136,0-48.362-.101-96.82.101-145.182,0-5.502,1.009-11.294,2.724-16.507,2.926-9.074,10.191-14.19,19.978-14.48,18.767-.483,37.635-.483,56.503-.097,10.393.193,18.969,7.819,20.684,18.051,1.11,6.468,1.009,13.128,1.11,19.692.202,11.68,0,23.457,0,35.523h-38.139v-21.14c0-4.054.101-8.012,0-12.066-.101-5.502-2.018-7.24-7.567-7.24-3.027,0-6.054,0-9.081.097-5.852.097-7.769,1.931-7.769,7.626-.101,19.306,0,38.612,0,57.918v69.019c0,7.626,1.614,9.17,9.283,9.074,3.027,0,6.054,0,9.081-.097,3.733-.097,6.155-1.931,6.155-5.599.101-14.769,0-29.538,0-44.887-4.238-.193-8.173-.386-12.309-.483v-32.145.004Z" fill="#bc003a"/><path d="M1810.207,846.678v56.198h37.449v33.274h-37.348v54.264h40.569c0,11.124.101,21.57-.201,31.92,0,.774-2.919,2.128-4.53,2.128-18.825.193-37.549.097-56.374.097h-18.422v-210.574h79.226v32.597c-13.389.097-26.677.097-40.368.097h0Z" fill="#bc003a"/><path d="M1494.159,1024.267h-37.086v-177.148h-28.565v-33.034h94.797v32.648h-29.146v177.534Z" fill="#bc003a"/></g></svg>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 641 125" role="img" aria-label="Hypit">
+ <title>Hypit</title>
+ <desc>Hypit logo for dark backgrounds</desc>
+ <image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoEAAAB9CAYAAADdnLnzAAAlA0lEQVR4nO3dCXwU5fkH8Ped2dkkmxBIOCJyCCLBCAG5CtGqoFxiVbSlxqIih4V6cFgvVFARtaIWsSrQKniA4tEWD/DPoWA9UA4BAYFwE84QkpBjN9mZeef/eWd3SVBoM5udzM7M7/tRcs3M++7s7O4z7/G8VNM0AgAAAADuIlhdAQAAAACofwgCAQAAAFwIQSAAAACACyEIBAAAAHAhBIEAAAAALoQgEAAAAMCFEAQCAAAAuBCCQAAAAAAXQhAIAAAA4EIIAgEAAABcCEEgAAAAgAshCAQAAABwIQSBAAAAAC7kIQ7y+ohJ/TNSG/fzejyNGGMyI6ySEipRKoiUEEIplaq31ggjRCYaUflPTGMyFahENf4XQjRNkwnfSSOECoIU/qX+e34cyv/I/873JZrMvwqh4+tl6T8TkqgRoqqEVYpUSCxXgntvfPHBv1hwagAAAABOQzWNRzf29eyNY5sO7Hbp8pZNmnUWKI3EX3HpYFHBT50n3dLR6noAAAAA2Lo7+MuHX33/joE3FrRumtEl3gNAbtmG1b2srgMAAACArVsCf/zLgq0t05peRGxiW/7ezy6dNmaw1fUAAAAAsG0QuPqxfyzrcO55/YlN8DPceMyAuG+pBAAAAPewXXfwayMnXWanAJBbs2PLS1bXAQAAAMDWLYFbn12Y17xRentiEypjrOmfBolW1wMAAADAti2Bb4x8dIidAkBu1aZ191pdBwAAAABbtwTueuGfR9JTGpxDbMIfrKpoec+1KVbXAwAAAMC2LYEf3P3UXXYKALmlG1b/xuo6AAAAANi6JXD/zEVFDRJ9acQmSvzlx8+feGMzq+sBAAAAYNuWwCX3vvC8nQJA7tN1XyMxNAAAAMQtW7QEHn55cSBRkhKJTRSWnjyUef/QllbXAwAAAMC2LYErJ736tp0CQO6fX6/ItroOAAAAALZuCSyY9X+yRxA8xCaOFRftzXoo93yr6wEAAABg25bAb6a8tsROASCHABAAAADsIG6DwAevvkXKPLflQGIje44eWm11HQAAAABsHQQOvXTAlyIV4rZ+Z9LjsRGXWF0HAAAAgNqIyyDr+ZvuTmnTJKM3sZFNu/PmW10HAAAAgNqKy/F2V3b61SqBUkps4mSgorDv9LtvJXHu6d/emdbQl9xCEkUvIRqRFSWo/4FSIgnh36lqUCCCHPpeCRKNEEn0ePXv+Q8k9LRIHo+X78+/8p/5fpFyREGQ9c3Cc474twpTJf6zR/TIiqpIkW09oihX15ASjWjV2xOql83/wgiT9DqGLwtKSLKmaRX8e5VpFbIqB0UhdKzyQEWVRgnRmKboG2uEUEHwNEjyJQiEJouCmMyPJ9Aa9aSRx07l0GMlJCBXlT/44azj5j8zAAAA9S/uZgc/PfTOtDH9hhTZJQIsqig/esG9NzYncWrZAzPnXNC89Q0piUnpHkEQra6P3WzM3z3/yml/ivsAHwAAwPYtgVd3v3SFHQJAWVWVn/L3LOz7zF1xGSAsf+Cl1zq3bT+8R7usuHuO7eRwYcHHVtcBAADAFS2Bs0ZM6pAkSVmqIlcIguhNlBKaeASxkSAKUqgnkHpESvUuQl2o+qEWrureSk7lP6tE492Yiv4w6ak/e/h3okC9KmO8608JHUfjARPvQvQQjX/VCNM0WRAESRREH+9G1DRNLq0s3zps9uPvkjiV9/wHB5o0aNjK6nrY3Y5DB5bnTB09oD7LnDN7TpvBvxn8hVwVrFBUpUrTNMavVUGgAr8OKaWCxyMlJCYmpp44cWJXVlbWr4lDffXVV7NatGjx60AgUOTxeJL4S1SgVAidkxBJkpKSfL60o0eObOzatetvoinno48Wje7erfvDJ0+ezBdE0SsIgsjPMy+Ln3O+DeW/078Jlc/fi7wJCSmHDuZ/27Nnr1xic3Nmz2pz/ZAhX/sr/MWMqbIaGUoRGi2ijx2PPH7+VWVEYUwNpjRocK4iK5Vt27a5KNqyFy1aNKLLxV3uD1bJ5YoiB06NI+HPtyCKhGhi+DUg8qdEFMXwcBL9/Vl/nw9VjfL/RY0xVSMa479nNa4V/hqqWS5jGuPPMd+GaYwfR6WU8Odef/55mfpXyq87QdQ0pvLPEf36Cw030Y/NGFP5NVN95Or68/qGrpfQeRM9noRwXUXGmD58RVGUqsrKQFFh4YkN+Qfz3799+O0bSD3796J/39qlc5cH5GAwoD9uIXSdC4LgqfnY+Gtt/759K3NycobHotwZM15My705d3PA7y8OVlWVq0wNhl5reh28GtPU0/fQVEqoqL8XhF+noecq9DN/7nmsoGnk1POu/50/cZQQpjKZH5//XhQEKTL8iPFyTg0NCj/Hp4rk17sqR34XeS75k8v018npgUfkWjrLQw69j0SK4jEJpfr1HTm2ft751xrXLA1ff6HrW9O/8tdBhd9/vGPHjlc4KgiEutk749/HG/qSm+A81o3KGJu74qNzHvxn/Y4JXL5s+dT+A/pPNrCLHRrODXv55VdS/vjHO0q8Xm+thjDw9zEa5TjieXNfzxwxctQOEqXdu3f92K7dBV2ITS1c+O7g3NybF0e7/5df/udvV1xx+bho99+5c9cP7dtf0DXa/Z3G7/dX7dm9+9tO2dlX1leZBw4cyGvdunX72mxbWVkpJyYmVjfE1MEnH39y57XXXftKLI7lYtRxs4MhOhuefHMdAsDY2JS/+636DgA5FmqZBo2Q2gaAdTVi5Ki81/7xj06qqkZ1R9yu3QWdt27d8iWxoQ/efz+3LgHgqlWrXqxLAMipilJVl/2dxufzJXTKzu6rqipbvXr1m/VRpsZYdcvX/xDtzdaZMI331IGVEAQ6xCu33dfpvGbNu1tdDyeoUpWqfk/fNcKKsnm3gxXlut3oO+7Y+vLf/pYRbc9Ix46dLufd18RGPnj/g98N/f3v361LC2CfPn0m1rUeiqIE6noMJxJFkebk5Nx26NChfWaXpagqAnGXQhDoEAO69F5mdR2cYsPeHS9bVTYfCwOhsTKGzlsMGifGT5hwfN7cuR2i3f+yyy4b+8nHH99JbOC9hQuvG/r7oR9Eu//atWs/rGsLYATT2Knxh/BLLVq0OK+wsNDcXgkD9z6xbAkE6yEIdIB5Ix66pnFKatymqbGTsqrKksHPTbzPqvL5QGUw9JkUUyNHjcp7Y94bvaLd/9rrrnvlvfcWXkfi2IL58/vdlJv7UbT7/7Bhw+KePXsOjVV91Bo5RuHMmjRp0mTfvv3bzTo/fNJB7beN3UQCPpEjVseC6CAIdIA+2b3esLoOTrFm99ZHrSwfLYEhBceOWdY9dfuI29csfHfhNdHuf9NNuR/Nf/vtuJy1/ca8eb8adssty6Pdf/PmzSu7RTkL+2yYgfFobtamzXkdlixZ8mcn3XRhXqr1EATa3MIxT4xsmIzZwLFQUFayf+jMSZipBiT35twlixb9+7ZoT8Utt9761by5czPj6VTOfX1u5u0jRnwf7f7btm37JtucGatoDaqlq6+++nkn3XxSqqdkAwshCLS5Xhd2ftbqOjjFV9s3WZ74G53BIUwjpDJQaekkmSFDbnh7yZIlUQ8NuH3EiB0zX3yxKYkDPCAdMXLEjroEgGblpOR538w4rhPx4XgrV66cHvPjCtY8B3wlUSvKhWoIAm3swzunjUdKmNjYVXDkyztee+qrGB0O6mjatKk8OavlMfHgwYNfWLJ48X3RfmDffc89x2bM+GsasdDc13kexJE7oh3Pv3nzlpVmJiXHOFhjevXuNT7Wz0Ek4XJtxPZ1aflL3PUQBNpY76wuT1tdB6f4YvPamA10h9jQ4mTE0OBrrnlhyeLoWgR5mo977hlXOGPGDEsCwTmzZrXhAWC0+2/dsvU/2dmdTE1anJKSco6Zx3caX5LP++Ybb8Q0ubagr1pR/zyiJ8mKcqEagkCb+mTC9Gk+b4LP6no4wZYDe//10Psv13ti6DPhSxlZXQf4pcHXDH4h2q5hj8cj3HP33YVTpkyu1+d25syXmt4xZszeaFsAt2zesrJjp7otSVUbR44c+SYYDGJcoAFt2raNbR5TAy2BsVRaWpoXBw3+tuUPBOo8sx798TbVM7PT/VbXwSmtTYs3fp17ORlD4gJScEXV7RReNo6Y3TW8bOnSlAEDBz5udF+PJAmPPPKony93TOoBb3kcN27cMUGI7rM9Ly9vfSeTWwAjeMLpGTNmTOU9g1KCV1YUNcnnS/IyxiSv5D3j8mT8wpCDwaAoinJk/dfq1bPCl40W+pBMSkryhq6N6jVeVVU99Tz84rKJrB9b41D8m1BZhAT8gSAvU2Ph/IbhRWCpQD3Vh6KEPwaVMb0c/jho+MBBORgUBEEuLy/3N23apGP37j2ey8rK6m3knKWnp3ciMcQXybaiO3jYLcNWzJkzp62iKIWKopzWKujz+byqyiSv1+tlrPr5EkRR5p0EsiwHeVX488JPrf7cBPx6UMQYU0LPxy/fE/hxI9+rKpMCAf/JDpmZIwdfc02tJ918+smn43fv2f1ucnJKM0VRKnjZHlGUlfB1FVpbmK9t7vXKcjDIK1d9rdLq9yw9kPMH+f7aqXWIQ/96Ja9cs7v82KmMCZSkp6WlpDRI8fkr/MHxE+o2OgBBoA19+fAr72ef1z4maze63U+H9n/y7OK3sUoH1MqAgQOfWL5smdh/wAAj6zvrEhISPJWVlcFYrbt6NlMmT5amTHmskHdFR7P/vv37dmRmZvYg9WjixInFNX4sJ+7xNSEkZ2fezh/aZ7avdRev1+tNsW52cGxb7saMGbMvDp73FwghtQ4C16xZM2vqk1P554ZVPUj89VLzNRM1dAfbzKxb7+uQfV57jF+Lka92bLydxBFKCWZKnjoX8dks2n/AgCmfr1jxl2j2TUxMlCpj0IXz3zw6eXLAI3miem8/VnDsWJvz2lwY+1rBf9M+s303K8+QkbDOiZ23c+fOM5TOqe35bdsSh0AQaCOzb7u/1405V26xuh5OsW7P9r8//N6rMbmbihWkyzjtXNQ+CKzncUVX9es3afmyZYa7hbnEpCSJdwXGvlaE8JZGr9cb1Y3EiRMnijKaZWCShgtpWu0TdsflnVkdlZWVGfocqApWOWaVGwSBNrFy0itvD72k32pJ9KALPwYOFB7dNODZcXEyELCagIkhUX3aWNE60X/AgCc+/+KLqFoEU1JSkkpKik/Gsj6lJ0tLeUtjNPsWFRUVN27cuHEs6wP2YWyYnwPDQM3k7eOYZQHFK8MmtBSIkCwKNFlWVX2grKwoenStD/QMn+XygL+KaZqiDxr2eOSgooQGXoavQ4EKngZJvgT+vRbeXqOENEj0JUQGC+u/r6yo4tc5P1Z4WGbor5R6UpNSEmpmrCqvDFTpA381TQn9hhJvuGwaLjMlMSkh8mKo2V5R5q/Q68vrqh8xPMi48GTRqWWwGianpgiUehr4eL15ewclpYGKKv6V75vqS0kWqJCcmuTrltGoyYDM5q1v7NKmfWo9PC2usCV/z78unzb2tyQOxWkPaNyzKqfgVVdeOWnVqlWJffr0mWB030aN0lKPFxQUNG3WrFld61FwrOBos4xmDaINANPT09PrWgdwCQeubenzJXndmtuy3oLAf9399H0dWrQZ3TClQSuv6PHedNkgUaCC4y4miF+HS07s+D5v8z2jXn866rVTzUYtytcVbyZPniI9/PAkYgd8duu333zb4JJLLxlldN+mzZo1PXzkyIFzmzdvHW35+fsP5LU6r3VGNPsiALSr2AYhfK6zi2NAYjQrg0cMNfI4gelB4JsjHx3Sp3OPuX2ye1iaNd9JTlaUFxZXlO2vkoNFCmMBTWMKf10KVEjgiQpOvajDjSOaRtRQq2aNNTqp/p8oCAK/BsTQz1TgLZQ/zx6vafxYoe+ZxhRNI/xnlRGm8JZUjWgKpYKHb6OPaePHokQIT9tnhGi8fL1lNZwCWNVbd/UdQi8+Xm747UXkxxIEKvGfBYF6+Lahv0fqoCl6nWrgD5//K4miTyDUKwiCl2ksqKiq/0TZyfX5RUf/NfaN577vRG4m8YxS/rjjJy2KVfjD4qk9ar+9tSfikksvGb169WopJyfH8HrD5zZv3io//+CeVq1anm9037wdeesyO2S2J1EoLCwsbNKkSVwsawdGxfhyd07DVlTUcA9jbUVSwTiBqUHgxxOmP3Ftr8unmFmGm+w7fnT9D3u3TRz9+jNfOWZqEpzOmTGdYXbMH5uTkzN808aNGV0uvnig0X1btWrZNj8/f1erVq0uqO0+WzZv+aJTdqfu0U4CQQBoZ9a9QKy+4TKDGB6+5UamTQx5fdTDfX6ddTECwBj5avvGx7o9elsPHgDG6pgQh2wY/JjBrp8yXS6+eNC2bdu+iWbfVq1atTuQfyCvNttu+VEPAPtGU05xSfFJTAKxN6ZpMV1hRYvx8Zz+xuvR5y04g2lB4OBul/6fWcd2m8+3rptw/YwHplpdDzCfpmmOeXOpzzfleBqnlJWV9Wu+4kY0+7Zu1br9vn37tv+3bbb9tO3rTp2jCwBLS0+WpTVKaxTNvhBHcLMI8RwE/uueZx5K8EjhGbdQF/uPH10/9KWHZ+IsuoR1ifvjDCV+v7/KwOZxha+4sWPHjrXR7NumTZsOe/bs2Xymv23fvn111kVZl0bbApia2hBZBpwg1kMCfzbG2m3dwUY5aXawKUFgTofOj5lxXDdaunH11VbXAeqR5s43op/jSzIxZuiDicSbDh06/CraQPD888/vlLcz74eav9u2bdvqCy+80NAasxHFxcUn0QIIcGaqYmyiB18/2innMuZB4MIxj/8xQZISY31cN8o7mv/5Qx/OsmptQrAAY0yN99x49WHGX/+aJkke28/A44FgXt6OqLqGM9tndl2/ft3H/Pu1a9d+kJWVFVUAyJNSp6WhCxjg7Kihk5NkMK+gq2YHX5Hd46VYH9Otej82qp/VdYD6xRirrO22oihSPqOUf89T/fDUPoKefLM6xU+km4d/5f8zTWORFEACpYIW/lrzuPzvoRRDoVRDp47H3yf15OdUn76rb1ejG4mnDuJFcPrPPD1Q5Bfh7UJ1FAWeQkg/bii1EefRqxdK11B5+4gRzRISEhyxOk5mZoceO/Py1rXPzDQ8k7d79x7XHjl8+EDPnj1bRVN2SUlJaSOMAYT/wfUTQ6ixS8TvoJbAmL7JLhz7xMgBXXMwFjAG1uzZ/tIgMiAWhwIbMdrFy2eUmlYZiJn2mZk9du/evaldu3adje7b/NxzowoAS0tLyxo1atQwmn0hvgkxTipvKEl9HA69qCtK3Cum3cGXdez+ciyP51YKY8qgZ8eNt7oeUP9cf0fuYO3atety6OCh/fVRVnl5eSA1NRWTQGzii8+/eMasYSNgBs0xpzVmQeC7Yx4fnuT1JsXqeG62cvP6u6yuA1jFzfekzteiZYs2x44ePWJmGZWVlfL06dPRAmgTS5Z89uCVV135kJF9FFUJxLIOP18lynUoca2YdQf37dzz77E6lptVVFWW3fTqIziXbuWcG0w4i4xzzjn3xIkTJxo3bpwe65Okqqo2e86cFlOnTrVdvsnly5c/1rx58ytUVQ0qih7k8C5KlTGmRLbRl4+kVKSnfXJHlqIMbce3CS1LeUa8BU0MH4dEyggPaFV+3iofKYcxVTmVoFkfF1vja43u2cjLVx+jW2PfU/UXhAS+fKccDJbyn1u2bHX54MFXdzB6rsrLKw4b3QfOTnPx+25MgsDFE59/NufCzo6ZLWOlpRu+u2Y0uc7qaoBlXPxu5CJ8xY7ikuKStEZpMWux45PF582bmz1h/HjbZRTgCbL79+9vOBhyq4MHD30ay+NRIbZjDO1GNLgCCGNnvcmwnZg0AffqkH1/LI7jdkeKTuwcPe9pLAvnYoYGaIOt8bx9fPZurI731ltvdxs9+o6txGZWfbFqBk+QbXU97GTo7363MJbH4zP03dxsphl8SE7K0VrnIHDF/TPnCfGYqdWGOk66OdPqOoC18FJyFz57l8/iretxFixY0H/48Ns2EBtKS0/LsroOdlJcXHIy1sf8eZoo99GIW9X5ie96QdbtsamKu+UXHNtidR0gDqAl0HX4LN7S0tKKaPd/7733rh82bNgKYlN+v/+Y1XWwk+/XfP98rI/p3hAozGA7VjytVW5pELjyoVfecc6psFaXybdmW10HsJ5IBduvkgHGpaamppSVlRkKBDXGyIIF7/S/6aab9FVF7IpnD7e6DnYhy7I6aODAabE+rmZgiUZn5gnUiFvVaWJIl7btb45dVdxr2cbvRuVakBj6g3ueuiujYeMrJdHTgM+MYxqTGWNVqsaqVKZW6a8L7dQICFUjmj54lhIq8bFrkfFrjLFgaG0JTRZFMZmIHrLrSP7ssfOe+b7eHxSATX286OMhw24dtry226/+7rvXhw37g21bACPc+/Fr3KJFH+UOHfq7mB/XSWPcoqK59/FHHQR+/cjsjy5qfX5sa+PCpNArN6+9K3fWlLn1We7rox7p07dTj/ev6tSzqVll/HRwz1Szju1kRt+MKyoqKiNrCIeXhtPHFepLxPHF2nhsrieW5Wk0Tr/b57nBKCfw8UCh0YhU4Cu6VePH+HmZP9+muu5661Rke71SvHBev5+XXbMONb7X68JUpiYmJviSk1NctQZ5wfECQ2sMBwJ+280Chuj9sH79J0OH/u5Dk84hc3PA5HfQMnD1EgQ+M/RPaWP63YA8JlFSGFMPFRVsfPebpTnTlyyo13xeH02cPuWGX13xhJllbDu477Nxbz2/18wynIppodbW2kpOTnZkgvaZM2c2HT9+fAFxEZ/PZyhdjMcjJRMHcF7nYuzt2rlzQ7fu3U37zA3fR7oWO3teybPQ3B0EXtSy3T1BpsoaY6ooiB6PIJi20LvCVCXcI/kLeorQn/3itJ8pH71AqSSKptVPVnn9eHvL6WXz3+mtHOGEoorKZH9V4MTe44c/Xr932+SH359d3JXcRurTwrue/OOAzr1MDQAVjamXPvnHwWaW4WQUYwJ1hYWFJcRlZFkuNLK9qqpRTyaJJ5Sa9/nhBJs2bVzapcvFg8wsw+3LVQo8ebhLRfXAr59xH+/q07v7nr5+bJrk9ciyKku8j0iggkcL39pFkqrzf3g2d0n0yIWlJVU1Y7cmqY0SjpeWVjVNbZRAqXbaME2+Lb9Dmb40+tayBwf+QdIHslJCmjRolMDrFFQUSRCoh8/wCcVooQqnJPoSyiv9VaEq691nSs0HwreVPB5Z3zpc1YKTxVVG6sdzwAwk1ujTsYfpaztvz9/3UTOzC3EwtIqEtG7d2tBlFOkGtzfqztYbuz9tJikoKDj25Zf/udvELmCIktebYLsVec6mztHvwx/NLq7jISIn05ST+uzSd2oe1zFPnFHfPfb6isxzW5k685S32l7+1NjfmlmG0zHGXHuN1lReXu4nLmM0pGNMrSQOQKm+dJur8eX+ZFlW/H5/+aFDhzdu3brlxdzc3I/NmARyJmcbs+sWPp/P69b7Ftc2gbrJc0PvTBlx1fVXml3OD7u2vTqIXG12Mc52qjXc3fjaq0a2t38roMM+WQzgvUdGtl+1atWLe/bsnSUItBF/tQhUkHnPjSLL+uB+QRRkHlEHg3JQFAVZURXJI3pO3Vypqlp9M0xD8xz060f/Wh2MR3qyvJLXGwwGg/wXXq/Xy1RV8kiSl/+daRo/tlcQRZEPj4qMSVIVJRhZWphSqpcd+VmWlaAkefSgQ9M0iVJB9gcCxX8aO2ZfYmIiSU9PJ9nZnWJ1eqEW1JrXRC1UBYOOSeWFINAFrurce5XZq7qUBytLB71w73gzy3ADgYqOeXOpC1+SsTtzJzh29Jg+FMVtUaMg1D43Jk+q3adPn4l9+vQxt1Iu4/YxgcY552bd5UvFON+sW+/rcF7Tc7qZXc632zZNNLsMNxBcvpC7qxn/XHHEtSKKousC/nhjqDvYCa3uzn9ItYYg0OH6ZPdYzKdIm1nGyUr/idxXJ9drrkMAJwoGg65rkaEmZpeA2jEyx8iJ8ZLk8br2RgRBoIO9M/aJ4RkN09uZXc6qzeuGm10GgNNNe2qqbFY3ajyjBlq/BUHAZ5YZz0GNpO3/e2PnxYGyHDSYLNo5pwAvKAfLubDzC2aXUXCyeP+I16YtNrsct2AEY3M4f8Dv2gz+biNi7WCboeTRyZMdcQMSIYii7M4QEEGgY30y8blpDZOSG5tdzrJN3/U1uwxXcUrut7py4Wl45NEphj5Y3ZhOiK8saHUdnMjIWZU8njOvG2lj5RUVrktJFYGWQIfqfsFFfza7jLwj+Z+PWzADy8PFEGPGlo1zKsaY4rbEyU9NM9YdrLmw1RhBoGnn1RGTjKIlSZLRoRiOGceKINCBvn509qeJHinRzDKCqhrs/fiofmaW4U72D2ZiwZvgdWUwrDkhmjWI6fn1agdBYByMCSSEZDTLSCAOUlBgLD1TksHk0vEMQaADdWjZ1vSMzT/u3fmG2WWAi7kuFDJOY85oCWQGHgeCQHNQKhhrCaTufr9RDSaXjmcIAh1mw1NvrRcN3tUZVVFVVTrguXFjzCzDtTTiiA/2unJrDOjGIMdI178bz088tgQGg1WOCYKieccRa6xAY3cIAh3k1WF/bnleE/MTQ6/ZufVJs8twKxf2Bp5RwTFj3TNuPG+hBcrsj6kqZoJbzGho7Ywrr5rRx+OkOxEEgQ7St8uv/mN2GSUB//Hf/u2h580ux62wfBO4DWO1X60CLYHxwUlBUDSpD/l61MQhEAQ6xOxb7uuV0TCtrdnlfLftx/vNLsPNjKT9cHLrF39klZWVjulyqY1HJk+R3NjbyRgz1Oo72WE56uKBg99KTCEazCsYzxAEOkS/rjmLzC7jRFnZkT/MmfKm2eW4GXXIKhB19eSTU2XH9Tn9Dzz8kySp9qtnGB3M7wBer1d0Y6BsOoOn1GmLhjTLcNZsZyMQBDrAgtGTb05PaXCO2eV8v32T6bkH3c5Zb61147Z0KdStF4vBx9HMYelJ4oFAjS7H56yXpqIoSUa2D/ids6IRgkAHuCy752yzyzhYVPjTLa9NfdfsclzPKR/sMaAZ6KRyQuOQ0dYISojrWgI5Sp0VgMQF196BhCQnJ3vdOCmLQxBoc5/d+8LMlMTEVLPL+WrrupvMLgOc9+ZaF25rCTSasFZwyNABSqmh1RdcdVHUF3e91H7BI4rJxKUQBNpc1wuyxppdxq6jB7+8a/5ft5hdDhhbvokxZ79zG1lJwhGRgebOJQYpMbZk2bFjBYaCZfjfmGpsmUbJa2yZtXinMmPJnzWmGTpf8QxBoM2Xh/OKHlOXr1FUVfnw2xX9zSwDqnm9UqPang9RFBzdbCiKYq1biAwPaYpDaWlpKUa2Fz0eU5eGrC++ZF9TQzs4+97HEh7J2LXktEDc50tuYmgHB12C9n/ndLELW7YdbHYZm/bmvTl96TuOuuuLZ7Isl1hdh3jh9/vLarutqqq2f1suKikur6ioqKz1Dpozlo0LysFaP88VFeWVThj/GW8UAwm7eeqmDIfNpq0KVgVqO/qkvLwsIAjGhjDEM+qyYTeOsX7qvO/aZrToZWYZJwP+E20nDDF2hwR19vU3374WrKw8LohCYujVSXnfn8w0TeV5BD2imOhNSEgPBquK+vbt+4BTT/n8+Qv6ZWQ0uzwoyycFwZOkD8cO51Gk4TFxgiiI3gRv40DAXzBo4NXTiM29Pf+dfunpad01TVMkSeItgyJ/rKIoSoJARd4C4ZE8Dfhar2vWrn3w3okTionN/XXGjLSOF3W8S18zUWUyf7wa0RRCqUekAn/cXqaxoNebkFpScnLzDTcMedvqOjvN/PkLfp2ZmXl3VWWgmBEiUypIVNMI00KvN4FSSdM0mb/vFBUVbR48ePCzxGGWLl32aGpqg/aKovj5+66qqpWKLJcxlQVVpsqqqpZ5JU96aVnZ9qFDf/8hcQgEgTb09I13pI0ZOLTI7Bviz3749g/D5jyOGcEAAAAOhO5gG/pt736bzA4ADxw/tgkBIAAAgHMhCLSZN0dOGtK0YVorM8vgfY7f5v34GzPLAAAAAGshCLSZq7peMt/sMnYcPvDZnW89d9DscgAAAMA6CAJt5JN7p0/zeRNMTWoZVNXgJ+v+c4OZZQAAAID1EATaSO/MzpPMLiPvcP6nz342HylhAAAAHA5BoE18N/nvK0STM+IqjClrdm0ZbmYZAAAAEB8QBNpEZss2V5ldxg97ts+5b+FL5WaXAwAAANZDEGgDG594c73ZZeQdyf980HMT7ja7HAAAAIgPCALj3D9ue+Cy1uc072ZmGZv27Xq39+Oj+plZBgAAAMQXx6x/51S9si6ebcZxmaZpx0uL9y3f+P1V496ZsdeMMgAAACB+Ydm4OPfuXU8OTxak8/kSzyrRAoQShRDNw9cQJZQSD6VJ+vqyGuGLyYsCEUQqEEnj6z8SIlFCCRWoyNd+FChJ5GvPlvjLf8yd88TfrX5sAAAAYB0EgQAAAAAuhDGBAAAAAC6EIBAAAADAhRAEAgAAALgQgkAAAAAAF0IQCAAAAOBCCAIBAAAAXAhBIAAAAIALIQgEAAAAcCEEgQAAAAAuhCAQAAAAwIUQBAIAAAC4EIJAAAAAAOI+/w9VCohy+ooKpwAAAABJRU5ErkJggg==" width="641" height="125"/>
+</svg>
diff --git a/docs/public/logo-line-light.svg b/docs/public/logo-line-light.svg
index 0daddf95..c972a420 100644
--- a/docs/public/logo-line-light.svg
+++ b/docs/public/logo-line-light.svg
@@ -1 +1,6 @@
-<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="361.4 595.1 1306.7 307.1" role="img" aria-label="Narratage"><path d="M407.417,755.343c-4.249-5.842-8.733-10.916-12.038-16.64-18.528-31.864-18.587-64.318-.885-96.241,17.407-31.451,45.613-46.203,81.017-47.324,24.665-.826,46.498,7.081,64.849,23.721,22.482,20.417,31.038,46.439,29.209,76.179-.826,13.454-4.249,26.317-10.326,38.473-2.419,4.78-5.724,6.963-11.211,6.845-9.736-.295-19.472-.236-29.209-.059-6.668.118-12.333-2.183-17.171-6.609-1.652-1.534-2.832-1.534-4.839-.59-24.547,11.624-61.663,1.003-66.974-36.054-3.009-21.066,6.55-40.007,24.311-49.271,25.904-13.572,60.306-1.652,67.328,30.153,2.655,12.097.826,23.721-6.196,34.106-1.416,2.124-1.003,3.481.708,4.662,1.416.944,3.127,1.888,4.78,1.947,5.488.295,11.034.531,16.463.177,1.593-.118,3.717-2.065,4.426-3.717,1.947-4.662,4.013-9.5,4.78-14.457,4.013-25.373-3.127-47.206-22.541-64.259-14.398-12.628-31.805-17.702-50.805-16.935-24.193,1.003-43.489,11.447-56.883,31.746-28.796,43.725-2.242,101.906,49.625,108.338,10.562,1.298,21.361.649,32.041.531,31.628-.413,63.315-1.121,94.943-1.593,6.314-.118,10.798,4.485,10.798,10.798.059,40.302.059,80.663,0,120.965,0,7.258-4.839,11.92-12.097,11.92-72.284,0-144.568,0-216.853.059-9.146,0-13.277-4.19-13.277-13.395v-119.49c0-9.441,4.367-13.867,13.867-13.926,9.264-.059,18.469,0,27.734,0,1.416-.059,2.773-.059,4.426-.059ZM419.69,878.787h127.987v-96.005h-2.301c-16.699.826-33.398,1.239-50.038,2.537-15.401,1.18-30.271,4.603-43.784,12.569-16.05,9.441-26.907,22.954-30.389,41.423-1.475,7.73-1.121,15.814-1.416,23.78-.236,5.075-.059,10.267-.059,15.696ZM476.574,665.829c-12.864-.059-23.662,10.326-23.78,22.895-.118,13.159,10.149,23.544,23.249,23.544,12.687,0,23.072-10.562,23.072-23.485.059-12.451-10.208-22.895-22.541-22.954ZM400.808,874.951v-19.827h-19.236v19.827h19.236ZM381.513,816.534v19.827h19.295v-19.827h-19.295ZM584.439,837.422v-19.472h-19.118v19.472h19.118ZM400.867,798.241v-19.354h-19.236v19.354h19.236ZM565.38,855.715v19.531h19.059v-19.531h-19.059ZM584.439,800.13v-18.823h-19.059v18.823h19.059Z"/><path d="M696.544,773.344v95.886h-36.038v-209.671h36.038c9.34,32.897,18.774,65.988,28.491,99.853v-99.756h36.51v209.768h-9.434c-6.604,0-13.208-.387-19.812.194-5.472.484-7.83-1.161-9.34-6.87-7.925-29.124-16.227-58.151-24.529-87.178-.283-.871-.66-1.742-1.038-2.516-.283.097-.566.193-.849.29Z"/><path d="M1454.152,869.697h-38.644v-55.104h-24.115v55.008h-39.249c-.101-1.547-.202-3.094-.202-4.64,0-58.294,0-116.589.101-174.883,0-7.444.908-14.791,5.751-21.075,4.944-6.477,11.704-9.571,19.877-9.667,16.85-.193,33.599-.29,50.449-.097,13.52.193,22.399,7.444,25.023,20.205.706,3.48,1.009,7.057,1.009,10.537.101,58.101.101,116.299.101,174.4-.101,1.643-.101,3.383-.101,5.317ZM1415.003,777.742c.101-1.231.303-1.895.303-2.463,0-25.577.101-51.059.101-76.636,0-5.115-2.119-7.01-7.769-7.105h-7.567c-7.668.095-9.081,1.421-9.081,8.62v72.847c0,1.516.202,3.031.202,4.736h23.812Z" fill="#780c25"/><path d="M1166.663,869.671h-36.33c-.094-1.262-.282-2.33-.282-3.398,0-59.519-.094-119.037,0-178.556,0-15.05,6.212-24.468,17.977-27.866,1.882-.583,4.047-.777,6.024-.777,15.53-.097,31.059-.097,46.589,0,12.33,0,20.518,6.699,23.247,19.03.847,3.787,1.318,7.67,1.318,11.554.094,58.742,0,117.387,0,176.129,0,1.165-.094,2.233-.188,3.884h-36.33v-63.5h-21.93c-.094,20.875-.094,41.945-.094,63.5ZM1187.84,770.207c.282-.753.471-1.035.471-1.318,0-23.436.094-46.965,0-70.401,0-3.577-1.976-5.365-5.647-5.365-2.635.094-5.365,0-8,0-7.153,0-8.283,1.035-8.283,8.094v64.283c0,1.506.188,3.012.282,4.706,7.341,0,14.118,0,21.177,0Z"/><path d="M819.11,869.684h-38.21v-5.419c0-58.059,0-116.118.098-174.177,0-4.645.782-9.386,2.15-13.741,3.127-9.967,12.216-16.547,22.77-16.644,16.418-.194,32.933-.194,49.351,0,14.072.194,23.258,9.967,24.138,25.256.293,5.612.098,11.322.098,16.934v167.694h-37.917c-.098-1.645-.195-3.387-.195-5.032,0-17.902-.098-35.803.098-53.705.098-4.064-1.173-5.419-5.179-5.129-5.473.29-11.043.097-17.199.097v63.865ZM841.489,771.758v-65.897c0-14.321.195-13.354-13.193-13.257-8.209,0-9.382.968-9.382,9.096,0,22.062,0,44.125.098,66.187,0,1.258.293,2.419.391,3.871h22.086Z"/><path d="M1111.033,869.697h-37.26v-59.717c0-8.143-2.118-10.179-10.302-10.179h-11.361v69.605h-36.971v-210.173h70.284c14.827,0,24.166,8.046,25.033,22.976.867,15.608.578,31.313.674,46.921.096,9.21-.096,18.419.096,27.629.193,12.118-4.044,21.424-17.234,25.981,1.637.582,2.407.873,3.177,1.163,7.702,2.327,12.035,7.659,13.287,15.511.385,2.714.578,5.429.578,8.24.096,18.419.096,36.838.096,55.258-.096,2.036-.096,4.168-.096,6.786ZM1052.207,764.273c5.488,0,10.783.193,15.982-.096,3.081-.193,5.488-2.214,5.488-5.584.096-20.315.096-40.63.096-61.041,0-3.177-1.733-5.295-4.91-5.392-5.392-.193-10.783-.096-16.56-.096-.096,24.262-.096,48.043-.096,72.209Z"/><path d="M936.162,869.684h-36.594v-210.112h68.855c16.082,0,25.423,8.424,26.194,24.594.674,15.492.289,30.984.385,46.476,0,8.424-.193,16.751.096,25.175.482,12.684-3.082,22.657-16.756,26.918.867.678,1.156.968,1.445,1.065,10.4,3.292,14.83,8.714,15.023,19.752.289,12.103.193,24.206.193,36.31v29.822h-37.557v-60.322c0-7.165-2.119-9.198-9.149-9.392-3.852-.097-7.608,0-12.134,0v69.715ZM936.451,765.112c5.393,0,10.497.29,15.504-.097,3.371-.194,5.489-2.421,5.489-6.1,0-20.333.096-40.667-.193-61,0-1.84-2.311-4.938-3.852-5.132-5.585-.581-11.363-.29-17.045-.29.096,24.594.096,48.413.096,72.619Z"/><path d="M1521.54,752.756h50.247c.101,1.738.202,3.282.202,4.827,0,28.476.202,56.953-.202,85.429-.101,5.309-1.413,11.004-3.733,15.734-4.036,8.012-12.007,10.908-20.987,10.908-16.345.097-32.59,0-48.936,0s-25.628-8.109-27.142-23.843c-.303-3.379-.202-6.757-.202-10.136,0-48.362-.101-96.82.101-145.182,0-5.502,1.009-11.294,2.724-16.507,2.926-9.074,10.191-14.19,19.978-14.48,18.767-.483,37.635-.483,56.503-.097,10.393.193,18.969,7.819,20.684,18.051,1.11,6.468,1.009,13.128,1.11,19.692.202,11.68,0,23.457,0,35.523h-38.139v-21.14c0-4.054.101-8.012,0-12.066-.101-5.502-2.018-7.24-7.567-7.24-3.027,0-6.054,0-9.081.097-5.852.097-7.769,1.931-7.769,7.626-.101,19.306,0,38.612,0,57.918v69.019c0,7.626,1.614,9.17,9.283,9.074,3.027,0,6.054,0,9.081-.097,3.733-.097,6.155-1.931,6.155-5.599.101-14.769,0-29.538,0-44.887-4.238-.193-8.173-.386-12.309-.483v-32.145Z" fill="#780c25"/><path d="M1627.408,691.826v56.198h37.449v33.274h-37.348v54.264h40.569c0,11.124.101,21.57-.201,31.92,0,.774-2.919,2.128-4.53,2.128-18.825.193-37.549.097-56.374.097h-18.422v-210.574h79.226v32.597c-13.389.097-26.677.097-40.368.097Z" fill="#780c25"/><path d="M1311.36,869.415h-37.086v-177.148h-28.565v-33.034h94.797v32.648h-29.146c0,59.404,0,118.228,0,177.534Z" fill="#780c25"/></svg>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 641 125" role="img" aria-label="Hypit">
+ <title>Hypit</title>
+ <desc>Hypit logo for light backgrounds</desc>
+ <image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoEAAAB9CAYAAADdnLnzAAAbwUlEQVR4nO3dCZzURL4H8H+S7plhZjgF8UANKiCR44EoYV0PFBHddVV8fMT1YBFcULxwUYH1AEVcDp/HKqCr6608dX3rgS6K64UaXRAQicAiRFFBjuGag5nuTt6nutMSZweY7k4mR/2+H7GvpKo6yaT/qUpVCZZlEQAAAADwRfS7AAAAAADQ9BAEAgAAAHAIQSAAAAAAhxAEAgAAAHAIQSAAAAAAhxAEAgAAAHAIQSAAAAAAhxAEAgAAAHAIQSAAAAAAhxAEAgAAAHAIQSAAAAAAhxAEAgAAAHAIQSAAAAAAh2IUIY8Nn3BG+xYHDCiKxVqZppkwydwtkBAXBFESiEgQhPiepS0yiRJkUYq9Mi0zIYhCXLDYJ0SWZSWIrWQRCaIYt99Mv8/SEdiH7HO2LlkJ9ihm0k/nlX5NVGIRpVJk7pYEsaQyWbdu8H03/8mHTQMAAADwM4JlsegmvKYNHt3uzN4nvt2h7YE9REHIxl+B9F3FJr3HhEuO9bscAAAAAKFuDn5/4qwXrjhz8KbD27XvGfQAkHlrySd9/S4DAAAAQKhrAr/407MrOrRup1BIfLV+3ZsnThl1tt/lAAAAAAhtEPjJ7X95q8shR5xBIcG28AGjBga+phIAAAD4Ebrm4Ecvn3BSmAJA5rNVXz7gdxkAAAAAQl0TuGLa3NUHt2rTiUIiZZpmuysHSX6XAwAAACC0NYFPXH7LeWEKAJn3li26we8yAAAAAIS6JnDNPX/b0Ka8+UEUEtV1tVUdrjmn3O9yAAAAAIS2JvDFq+8aE6YAkJm/5JNf+10GAAAAgFDXBH5z/98rmpeUtqaQ2F5dufnIsYMP9LscAAAAAKGtCXzjhntmhikAZF5ftBADQwMAAEBghaIm8IcH59WUxOMlFBJbdu74vvONQzr4XQ4AAACA0NYEvjth1tNhCgCZvy1c0N3vMgAAAACEuiZw0+x/JGKiGKOQ+HFbxbqu44ce6Xc5AAAAAEJbE/jRbY++EaYAkEEACAAAAGEQ2CDw5rMuiXc+pMOZFCJrN37/id9lAAAAAAh1EDjkxIHvS4IY2PI1pM/tw3/hdxkAAAAAGiOQQdbMC68ul9u2VylEln29+hm/ywAAAADQWIG83+60bie8JwqCQCGxo6ZqS//pV19KATf1gqtatywtOzQuSUVEFiWSybr0B4JAcdF+L5WqE0lMZJ4n68giikuxovRz9oIyuyUeixWx9dkje83Wy+YjiWIivZjd54g9TZqpOHsdk2KJZCoZzy4bk6TEnhIKZJG1Z3kS0nmzT0wy4+ky2oeFQFRmWVYVe54yrapEKlEniZm0Kmuqai2ByDKtZHphi0gQxVjzZqXFIgllkiiVsfREwVFOIfvdhUTmuxLVJGorb35p9mbv9wwAAEDTC1zv4KlDrmo9asB5FWGJACuqKjcefcPggymg3rrp/oePPvjw88tLmrWJiaLkd3nCZun6r585bcqVgQ/wAQAAQl8TeNZxJy4IQwCYSKWS+vq1c/vfPSaQAcLbNz3waI+OnYb1Oapr4PZxmPywZdOrfpcBAACAi5rA2cMndGkWj3dNJRNVoigVlcSL28ZEqZUoifFMS6AQkwQh3USYlil+poZrT2slk2KvU2SxZsxk+msKP30cY88kUShKmSZr+ktm0rFYwMSaEGNksUeLTMtKiKIYl0SplDUjWpaV2Lm7csXFcyY9TwG1euaL37Zt3vIwv8sRdqu+//btfneMHNiUecqKKhPRP4mINXXXplvC99y/G7cfi4moBRGtMXTtlxRRsqLOJiL2/SqIqJn9tujYJmS/z6aUXGro2q/zzGckEU0kovVEVGSfT0THNmekBvIvJ6KPDV0bSiFnH3cLiWgbu8a1z4MN3Tuefc4+Z+fOQ4hot6FrSgF5DyeiG9mdHOwujHofS45tn90vP91Okj7P/+fyKcc+MvdxD7zp2J8p+182v+yyYr10nWlmH7PrNSSbfjadYkd62Vthau1jfAkRvWDoGntsUrKissqMmxzbP1vuWL3vxv7W3jV0bZhL+bL0ltvHXaV9TGXzK2pg/zq3tfPvNPs6ZR8fe9vvCcf68XrpOjnXz67nPBdnH51/J8606qeXJe3nvfrHS/3v5nxk5d9s6NopVIDA1RJd+fjdq9jvr9/lCKt19/7f5rbNW7b1uxxhlzJN84MViy/uRyw+aFKXE1HHRi7bniJKVlQWYF2xjx/X+g4tILsPiOgvOWx3pwtlRe1q6FpPCilZUc8monkFbMc/F1iEa9gQqwWmEQVsSLTxsqLW2hcXpzVh3rcSUadGLnsREbkSBNppHVrg3y/PukaydzDkZ8mdTy5qWVqGANAFy9Z//dTNf/OlU8hPHWyg0QFgQQxdW01E3fZ0ZcpZD1lR36cQkhV1qCMAzMd9hq5dW2AxWNADe7Dawv6yopqyoj7ZRBumfs3Xvrh5xxbOdz5DEBgRD102rtsRBx58nN/liILaVLJ2wNQxrInKD47e0tBUDF1bUWDN6sl283VoyIr630RUyG0tfzZ0bawLRanfBAx7gq3LZEU1mmCDIBDnFILAiBjYU33L7zJExZJ1qx70uwzQ9AxdYzW/XQpIYrSsqFdRCMiK+hsierGAJF5yoQYwq6H7qmCPI2RFDdJQVWHouwmNhCAwAh4fPv5XB5S3COwwNWGyq3b39rNnjB3ndznAH3bTcN8CknjIDrACS1bUAUT0SgFJzDN0bYiLRUKT4P61lRV1JXlnbx0ZGmL5lC94AEFgBJzave8TfpchKj77esUtfpcB/G2eMnTtMyL6VQFJvCIraiB7bcuKegIbQaqAJN7Ntxe2S/ej8ayLrKh/8LsQEC0IAkNu7qjJl7csQ2cQN2zatf2bIfdPeMiVxCDUDF17g92PVUASH8qK2pkCxC7PpwUk8ZFHPVZRG9R4MylacCuAzxAEhlzfY3pM87sMUfHhymWBHPibY752kjF07WkiKuTWgFWyoraj4ASAqwoMAL2q3cRMRjmQFXV6hPZB4Iap4w2CwBB76aop12FIGHes2bTh/SsevetDl5KDAhm6xgJA30eyN3TtngIDwR/tAXHDHACyJuBANm9z6jqfYwHf/y7BPQgCQ0zt2nOq32WIin8u/5ebN7qDOwLxY1NgIMh6Um7xKxC0ZwIpJAD8oAkGLT7I4/SjpkhW1F4RqQnMzgQEPkEQGFKvXT99SmlRcanf5YiCL79d9/L4Fx4MyhAMzqmMICAKDARFOxBs0n1rN0WvK7AGsKApqRrpI9wXmLPhEYkFWG988LFnPdrjQ+r4zt3YXJtQIIssa97ShUNPplHYlsETiJpAZyBoT2c3Kc8f2eqmCvLtmscfC0hicVNNW8YGnJYV9Q77ZcKuHSqyt9WeeeIb/gHc332jdXtJI5/9kKj3w5vcz+9p9jtknzvLlLCPh2OJaAZr2MmxLGyGm9A3Bxu6tkBWVDZd45YGagWdx0B8H/vBeQw4983e4hvnvogT0Q57us6ZOTbJs4HWD7Tnec+WI95AXg2V02lvx1NiHyMmsPMQqwRCEMij9yc+9EL3Izrt6+QIjaR//81r0+Y9jVk6oFEMXZssK6pkz7Waq5isqHWGrnn6t2vXOG4pYFDfVYau9aEmZOjaNsfLSuLHQiLqJyvq50SUSxMvCwIiwdA1IwD7/R5ZUXMJAmfb9y371YLE/l6cfzN5Q3NwyMy+dFyX7kd0wv1rLvlw1dLfUbCgp2TAZyYwdO02IvpTnqvHWSBI3qop4Nz+o6Frx7hcHtgPQ9d6YyP5R859OCdWexkJCAJDZM5lN/Yd3O+0L/0uR1QsWrvykYn/O8uVqykXIQgMeBDIGLo2Ic9m4WwgyJoCXWcHmPkeQxWGrqGTBp94H7B7G6+z3CAIDIl3Jzz09JBfDPgkLsVwH6cLvt2ycdnAadcG8UZAdAwJUdNwATWCzWRFZfciuUZW1J0FHD/bDF07wM3yAEDw+RZQPHTx9R1EEsskUShLpFJ1oigmEslkOrqWJCmRvfe0sqa61rSsJHsZj8USdclk+iQn2HUEoiDGmjcrLWbPLXt5SyBqXlJanFlEyLy/u6rWsohYWpn3M+kLghBr0ay8+KduAulla2rZM8uykpl3BCqy8xbsPMtLmhVnKyqyZWF2VVely8vKmk4xszpt2VHx002dLctalIuCEGteysotsDLQzpqqWvbI1m1RWl4mCmJZi2alvdu3ajuw88GHD+4pd2rRBLuFC1+uX/vyyVNGX+B3OSD8nUhYjaCsqCVEdH0eq7eQFXWToWvs5vKCyIq6kYiaFxAAtim0DMCNwNbQF6CIONVkQeDLV08d1+VQeWTL8uaHFUmxogtPGiSJghjFgwkC6oftW1d9unr5NSMem1rI3KleQ3Pwns4NoWD3bmUB2Ig8Vm8nK+q3hq4dnm/+sqKyYTba57k6AkBgeG8OzlVkOhN6HgQ+efkt553ao89fT+3ex9dR86NkR1Xllm1Vu76pTdRVJE2zxrLMJLs2EwWxWCAh3cRvkWVmqiHTtZGpTK2mY45OIf2fJIoiOwakzGtBZDWUgpBJI8uyWFqZ56ZlJi2L2OuUSWaS1aRaZCUFQYyxZQQSMmkJJLLXrPKVyGL5p2tWM4OyUCpdu5teIXMdwPJNr00ksbREUYiz16IoxNiymc+zZbCS6TI5sK/P/h+XpFKRhCJRFItMy6xLplLVW3ftWLy+YuPLo5+Y8Wk3uogCLjTBT8Cuzn29oDR0baQduOYz3/BhsqKuNXTtyFxXlBV1ERF1ovxsMXQtENPaAYTsvBuniPA0CHz1+umTz+l7MutJBy4wNm9c/Pm6r8aOfOzuDyPTNQkgIgxdGyYrKquROzOP1TvKirrG0LWjG7uCrKj/JKLjKP9OIAgAIR9RbMFLEKc86xjy2IiJp/6y638hAHTJhyuX3t77lsv6sADQrTQBwF2Grg2yZ8DIx1F2025jA8D+eeazA51AQi8V8PSiLkER4VkQeHbvE//hVdq8eWfFouvPvfem7Ij6EG2RObnwytC1X7IZN/JcvZOsqCv3tYCsqAsLCAB3GbrWKs91ASBiPAkCX77m7vHFsbjd4xYK8c3mjYuHPDDxfmxF4JBzmqRQsWfc+Feeq3eRFXV5Qx/IivoJEZ1YQA0gRhmAQjuGRLE5mFueBIH9uvS43Yt0eTR/6Sdn+V0GgKZmT8kU6h6Lhq6dUEAg2M2eSqx+AJjrHLPOABA1gADudPSoi8qGdD0InDtq0u+L43E2bhYUaPXG9e+Mf2m2X3MTgj9SQR8brynIito6Cj3w7EAw36bhXrKivsqeyIr6IgJAgMAooohwvXfwKd37POB2mrxSbx8xwO8yQJPbncOyAutR6vhbFh3/skzHY/Zf9vP6j+R47VxvbxeLzuXq51H/dfY9Zxmd+cccy7BtwAZQjsTsOKxp2B7KJZ+evOewcQTZMDJ5Zr8TNYDQCOgYwmlNoKsn2bmjJ18+sFc/3Avogs/WrnxgEA10IymItqP8LgA0OhBcRkQ98thehxXQCaRlnutCsLk9qDwGqeeUq83BJx173INupserpGkmB0279jq/ywG+wBV5RBm61pP19Wqi7GrQCSQ8ZEW9O8dVcJ6AYAWBz4+aNKxZUVEzt9Lj2bvLF4/xuwwA4D5D12Qi2uDxtmWdalADGBKyot5MRONzXK0mLMPFASfNwf17HP+IW2nxrKp2964LZ/0R2xIgogxdO0RW1K1E1MaD5FlnoUPt3tWhIisqG1XiFPt+qxq7iZLVeCUdi2WmufxPzuVi9dapv5zk+O3L5kENrOOsbUvup/ZN2sdvqzPdYjudnfbrk9mQQJS7H/JYB8CbIHDe2JnT+h3TIzK9Zfw0f4n2q5H0G7+LAQAeYjN2yIq63YMau+6GroVuRAF7gOx8giFeve5yerzfE5jIcfm9XWSEjitVwH27dL/RjXR4t6Fi679HPj4V08LxjfeTMTfsXrvZGiE39DZ0bQWFjKyo9yIAzI2ha3Nd3g1oDuZUwTt+wY33Py4KAkYQd8GxEy7q7EY6ABAOdu/dXS4kdYaha0sonLr6XYCQ2eFBmggCOVXwju91dNffuVMUvq3f9OOXfpcBAgE1gZyxe/FWFZDEuYauLaDw+tHvAoTMTL8LANFRUBD47viHnkMVoDt63nppd5eSgnAL/SwZkDtD18rzDARZDWB6VpEQw4VP46UMXZviwT4I9RSN4FPHkJ4dO11UyPqQ8dZSbcRQHwaGfvGau8a0b3nAaXEp1ty0rKRpmQnTNGtTllmbMlO16X6G6YnJLPaQsshK3zwrkBAXBEFi/9hr0zTr0suYVkKSpDKSYrRmw/o5ox+/+1PsY4BGO4+I3s5hez0W8hpAyN1QbDQIRBC48I9zXlEOP9LVwvA4KPS7y/81Zujs2/7alPk+NuKPp/bv1ueF07sd386rPPTv1t7hVdrwM7sdcwjXn8ItG8an9nK1z1oCBMcjIzRifuJ9NQBkl3eWydpHTYOzNSJbFlbeUiLibQ7yXOcYDl0vYCjIa4auveTRNuS9JrCOOJVXEHj3kCtbjxpwPsYxyVPSNFPfV2xa+vxH8/tNf+PZJh3P65Wx0287/4RTJnuZx1ffGW9e+9TMdV7mEWE5HQ+GrkVygHZZUdkFyibiS67DxZR5VA4IniWGruE31ztJ4lReQaDS4ahr6sxUwjLNlCRKsZgoejbRe9JMJe0Wyf9gkfXzd9Otlg4CCey/uCR5Vr5EipXPsurnzd4TBEFMvysQJVNmorq2Zuu6zT+8unjdV7dOfGHOtl50GTWluWPu/P3AHn09DQCTlpk68c7fn+1lHhGHewIz2Bh6vNmS4/KFdCYJEs/OzxEx39C1QR7nwfs0dDHiVF5f/Nx7x7GmvnRz39RzR7eOF8USiVQizgaKEQUxZtmNRewhG8CZlpmMS7HElp3ba52xW9sWrYo379xZ265Fq2JByL4vpNdjy1qWRdPn519bdvOZv42zUJAVpm3zVsWsTHXJZFwUhZhg58MemfKS0uLK3dW1mSKzMM5KOr8IWzYeiyXSS9tF3bRjW20u5WNjwJxJ/jj12D6ez+28cr3xyoFeZwI8wGEEvGO9pq/2sAkY8he6GXk8i34nvjJnm0sb05ONOm3+c4ko7rhcabc/tqDzIYd5WsvEam1Pvmv0BV7mwQFuj9F6qv0uQEjuB40C9A7OVCuwSodKIlpKRPc1ca9v3u8JLCJOcVsFypMZQ64qH376uad5nc/na76aNYjO8job4APOTfzIdV/fR0SziYjNuOK8cKpr4DV7Hq93cRXPI0CoczyPO4KG7HPnHMTOsjjL4/zMuT77fJuha0aO5QL3xD1ePrBwouXA6T3U97ye1aWybvfOQffccJ2XeXAiMieXAvF4ZZ6+FYVDuRzzVYaujfWwLLzi/Z5AbmGqmIibfem4Lke0O6i31/l8/NUynJjdgaYx4O1Y4THgDxrem4O5hSAw4k7t3mce6yLtZR47dldvHTrr1iYd6xAgoniskUGLFPitiDiFIDDCnhs9eVj7lm2O8jqf95YvGuZ1HgBRZ+hagtNbB3Kp0cRvljdy2a5RnC22jjiFP6gI63dMj3u8zmPTjm3fDH90yjyv8+EIjzVBDeH2pMyhqDRrc0NW1KhcgBDvozIgCIyo18bOmNKyWdkBXufz1jKtv9d5APAgjx9WHn+4olgLFTZRjBuqiVNR3JlARMcdrfzB6w2xesP6d6599l5MD+cuHn/YG8LdNE55NAfzWGuMINAbvNfGJni9jxVBYAQtvGXO6yWxeImXedSlUnXqpBEDvMwDuMZrMNzABJmRl0swiyAwGLFAMfE9PFMRRQSCwAjq0qGj5yM2f7Hu3094nQcAcFETiCDQf7zXBOYqMvdEIgiMmCV3PbVYEgRP92tVbe3OgTOuHeVlHhyLyg875IfHmq5cmv553D5NQeQ1COK9pQJBYITMuvgPHY5o6/3A0J/9e8WdXucB3ON19gweoSc4gE8QBEZI/54nfOB1Httrqjdf8OfxM73Oh2OoCQTe5DJbBWoCIQjiFBEIAiNiziXj+rZv2bqj1/loX31xo9d5cC4yzQwu4GpbRHDsNU9qfTneThAcCYoIBIERMaBXv797ncfWXbs2/Pbh2570Oh/O4Qcuv+FSeLxBn8eb+Xn8zuC9Yl43MoLACHh25K0XtSlvfpDX+Xy6cpnnYw8CcD5cCuwftz/YHuI9FmjG632svO/4SDip+/FzvM7ju4ot+iWP3vG81/kAcBwE5hrcoFYMwB1FvG5IBIEh9+YN99xfXlLSwut8Plyx6EKv8wDgPAis5fTWgcjMvgChVUacQhAYcr2O7jra6zzWbPzu/THP/M+XXucDOdfuRD1IQk/pfYvKfZO51mhi+CD/p2mMyrGX7wVVZKa1RBAY8unhiqSYp9XYyVQq+dLHC87wMg/4mVY5bI+oD5fBWw1ReY7Lezo1ZBNq53cBIOdjKWqBeFviFILAEDumQ8ezvc5j2brVT06f/1zUrvqCbLvfBQiQXZzVilYS0W4Oa0pz2c+5bB/wpqNDIoKdc2pyXDYyF6iR+SK8WXzH41rH9od6WhO0o6Z66xkzrhvpZR7wc4auTZYV9TAi2lyvpidh/+gn7PfbEFFFxLffRUR0MjsUHb33EvWacFhT4gFEtIkiMCyOrKjnENFxdnNTuaOpNPtdmeb28+kUDex+4zH19m/S/n1i37vIDlLYvc/LOR4+yEvsPH81EW2z90G2eTS7reP28zb2PmAXLJFh6NpnsqLeSkSdiKjaccGxyz72EvZz9v1XGrrGzs+RIFhWFC6g+TJ18BWtR505pMLrtsA3P//4txc/PAk9ggEAACIIzcEhdIE6YJnXAeC3m39chgAQAAAguhAEhsyTl084r13L1qy50DMp0zQ/Xv3Fr73MAwAAAPyFIDBkTu/1i2e8zmPVD9++edVTM77zOh8AAADwD4LAEHnthulTSouKPR3Usi6Vqntt0Qfne5kHAAAA+A9BYIionXtM8DqP1T+sf33am8+g9x0AAEDEIQgMCe3WRxZIgujp/kqaZvKzNV8O8zIPAAAACAYEgSHRuYN8utd5fL525cPj5j4QqfGfAAAAoGEIAkNg6eQnF3udx+oN698ZNON6NlgoAAAAcABBYMD95bKbTjr8oIN7e5nHMmPN8+qkEQO8zAMAAACCBdPGBVzfrv81x4t0TcuyNu/cZry99NPTr33u3nVe5AEAAADBhWnjAu75MXcOKxPjR7LZ/VJk1ZDA5tS0YsRm+xMEiglCs/TEf1Z6XllJJFESRIpbRAmBKC6QQIIoSKIgxEWBSkzTTGyvrvxi6MOTH/H7uwEAAIB/EAQCAAAAcAj3BAIAAABwCEEgAAAAAIcQBAIAAABwCEEgAAAAAIcQBAIAAABwCEEgAAAAAIcQBAIAAABwCEEgAAAAAIcQBAIAAABwCEEgAAAAAIcQBAIAAABwCEEgAAAAAPHn/wGnH0u0BkgpmAAAAABJRU5ErkJggg==" width="641" height="125"/>
+</svg>
diff --git a/docs/public/logo-mark.svg b/docs/public/logo-mark.svg
index 6b4176ed..89aa15db 100644
--- a/docs/public/logo-mark.svg
+++ b/docs/public/logo-mark.svg
@@ -1,4 +1,6 @@
-<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
- <rect x="1" y="1" width="30" height="30" rx="8" fill="#EC4899"/>
- <path d="M9 10.5C9 8.567 10.567 7 12.5 7H23V11H13V14H19.5C21.433 14 23 15.567 23 17.5V21.5C23 23.433 21.433 25 19.5 25H9V21H19V18H12.5C10.567 18 9 16.433 9 14.5V10.5Z" fill="#0B0D10"/>
+<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Hypit">
+ <title>Hypit</title>
+ <path d="M7.6 3.8H14.6L12.6 7.2H5.6L7.6 3.8Z" fill="#ED98B9"/>
+ <path d="M4.1 10.4H16.6L18.7 7H30.4L27.9 11.1H16.1L14.1 14.2H1.8L4.1 10.4Z" fill="#ED98B9"/>
+ <path d="M19.1 14.1H23.1L19.3 20.7H15.4L19.1 14.1Z" fill="#ED98B9"/>
</svg>
diff --git a/docs/public/narratage-logo.svg b/docs/public/narratage-logo.svg
deleted file mode 100644
index 679697d4..00000000
--- a/docs/public/narratage-logo.svg
+++ /dev/null
@@ -1,78 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="167.5 434.5 1082.5 561" role="img" aria-labelledby="title desc">
- <title id="title">Narratage</title>
- <desc id="desc">The Narratage mark and wordmark.</desc>
- <style>
- .logo { fill: #020202; }
- @media (prefers-color-scheme: dark) { .logo { fill: #fff; } }
- </style>
- <g class="logo">
- <path d="M265.7,726.2c-7.2-9.9-14.8-18.5-20.4-28.2c-31.4-54-31.5-109-1.5-163.1c29.5-53.3,77.3-78.3,137.3-80.2
- c41.8-1.4,78.8,12,109.9,40.2c38.1,34.6,52.6,78.7,49.5,129.1c-1.4,22.8-7.2,44.6-17.5,65.2c-4.1,8.1-9.7,11.8-19,11.6
- c-16.5-0.5-33-0.4-49.5-0.1c-11.3,0.2-20.9-3.7-29.1-11.2c-2.8-2.6-4.8-2.6-8.2-1c-41.6,19.7-104.5,1.7-113.5-61.1
- c-5.1-35.7,11.1-67.8,41.2-83.5c43.9-23,102.2-2.8,114.1,51.1c4.5,20.5,1.4,40.2-10.5,57.8c-2.4,3.6-1.7,5.9,1.2,7.9
- c2.4,1.6,5.3,3.2,8.1,3.3c9.3,0.5,18.7,0.9,27.9,0.3c2.7-0.2,6.3-3.5,7.5-6.3c3.3-7.9,6.8-16.1,8.1-24.5
- c6.8-43-5.3-80-38.2-108.9c-24.4-21.4-53.9-30-86.1-28.7c-41,1.7-73.7,19.4-96.4,53.8c-48.8,74.1-3.8,172.7,84.1,183.6
- c17.9,2.2,36.2,1.1,54.3,0.9c53.6-0.7,107.3-1.9,160.9-2.7c10.7-0.2,18.3,7.6,18.3,18.3c0.1,68.3,0.1,136.7,0,205
- c0,12.3-8.2,20.2-20.5,20.2c-122.5,0-245,0-367.5,0.1c-15.5,0-22.5-7.1-22.5-22.7c0-67.5,0-135,0-202.5
- c0-16,7.4-23.5,23.5-23.6c15.7-0.1,31.3,0,47,0C260.6,726.2,262.9,726.2,265.7,726.2z M286.5,935.4
- c72.9,0,144.9,0,216.9,0c0-54.4,0-108.4,0-162.7c-1.6,0-2.7,0-3.9,0c-28.3,1.4-56.6,2.1-84.8,4.3
- c-26.1,2-51.3,7.8-74.2,21.3c-27.2,16-45.6,38.9-51.5,70.2c-2.5,13.1-1.9,26.8-2.4,40.3C286.2,917.4,286.5,926.2,286.5,935.4z
- M382.9,574.5c-21.8-0.1-40.1,17.5-40.3,38.8c-0.2,22.3,17.2,39.9,39.4,39.9c21.5,0,39.1-17.9,39.1-39.8
- C421.2,592.3,403.8,574.6,382.9,574.5z M254.5,928.9c0-11.5,0-22.5,0-33.6c-11.1,0-21.9,0-32.6,0c0,11.4,0,22.4,0,33.6
- C232.9,928.9,243.5,928.9,254.5,928.9z M221.8,829.9c0,11.5,0,22.4,0,33.6c11,0,21.8,0,32.7,0c0-11.3,0-22.3,0-33.6
- C243.5,829.9,232.9,829.9,221.8,829.9z M565.7,865.3c0-11.3,0-22.1,0-33c-11,0-21.7,0-32.4,0c0,11.2,0,22,0,33
- C544.2,865.3,554.7,865.3,565.7,865.3z M254.6,798.9c0-11.2,0-21.9,0-32.8c-11.1,0-21.8,0-32.6,0c0,11.1,0,21.8,0,32.8
- C233,798.9,243.5,798.9,254.6,798.9z M533.4,896.3c0,11.2,0,22.1,0,33.1c11,0,21.5,0,32.3,0c0-11.2,0-22.1,0-33.1
- C554.7,896.3,544.1,896.3,533.4,896.3z M565.7,802.1c0-11,0-21.4,0-31.9c-11.1,0-21.7,0-32.3,0c0,10.9,0,21.3,0,31.9
- C544.3,802.1,554.7,802.1,565.7,802.1z"/>
- <path d="M673.6,621.2c0,32.9,0,65.9,0,99.1c-12.9,0-25.4,0-38.2,0c0-72.4,0-144.4,0-216.7c12.8,0,25,0,38.2,0
- c9.9,34,19.9,68.2,30.2,103.2c0-34.8,0-68.7,0-103.1c13,0,25.7,0,38.7,0c0,72.1,0,144.1,0,216.8c-3.5,0-6.7,0-10,0
- c-7,0-14-0.4-21,0.2c-5.8,0.5-8.3-1.2-9.9-7.1c-8.4-30.1-17.2-60.1-26-90.1c-0.3-0.9-0.7-1.8-1.1-2.6
- C674.2,621,673.9,621.1,673.6,621.2z"/>
- <path d="M1011.3,974.1c-13,0-25.4,0-38.3,0c0-19.1,0-37.8,0-57c-8.1,0-15.7,0-23.9,0c0,18.9,0,37.7,0,56.9
- c-13.2,0-25.8,0-38.9,0c-0.1-1.6-0.2-3.2-0.2-4.8c0-60.3,0-120.6,0.1-180.9c0-7.7,0.9-15.3,5.7-21.8
- c4.9-6.7,11.6-9.9,19.7-10c16.7-0.2,33.3-0.3,50-0.1c13.4,0.2,22.2,7.7,24.8,20.9c0.7,3.6,1,7.3,1,10.9
- c0.1,60.1,0.1,120.3,0.1,180.4C1011.3,970.3,1011.3,972.1,1011.3,974.1z M972.5,881.5c0.1-1.3,0.3-2,0.3-2.6
- c0-27,0.1-53.9,0.1-80.9c0-5.4-2.1-7.4-7.7-7.5c-2.5,0-5,0-7.5,0c-7.6,0.1-9,1.5-9,9.1c0,25.6,0,51.3,0,76.9
- c0,1.6,0.2,3.2,0.2,5C957,881.5,964.6,881.5,972.5,881.5z"/>
- <path d="M1166.8,720.4c-13.5,0-25.9,0-38.6,0c-0.1-1.3-0.3-2.4-0.3-3.5c0-61.3-0.1-122.6,0-183.9
- c0-15.5,6.6-25.2,19.1-28.7c2-0.6,4.3-0.8,6.4-0.8c16.5-0.1,33-0.1,49.5,0c13.1,0,21.8,6.9,24.7,19.6
- c0.9,3.9,1.4,7.9,1.4,11.9c0.1,60.5,0,120.9,0,181.4c0,1.2-0.1,2.3-0.2,4c-12.7,0-25.4,0-38.6,0c0-21.7,0-43.3,0-65.4
- c-7.8,0-15.2,0-23.3,0C1166.8,676.5,1166.8,698.2,1166.8,720.4z M1189.3,619.2c0.3-0.8,0.5-1.1,0.5-1.4
- c0-24.9,0.1-49.9,0-74.8c0-3.8-2.1-5.7-6-5.7c-2.8,0.1-5.7,0-8.5,0c-7.6,0-8.8,1.1-8.8,8.6c0,22.8,0,45.6,0,68.3
- c0,1.6,0.2,3.2,0.3,5C1174.6,619.2,1181.8,619.2,1189.3,619.2z"/>
- <path d="M803.9,720.4c-13.5,0-25.9,0-39.1,0c0-2,0-3.8,0-5.6c0-60,0-120,0.1-180c0-4.8,0.8-9.7,2.2-14.2
- c3.2-10.3,12.5-17.1,23.3-17.2c16.8-0.2,33.7-0.2,50.5,0c14.4,0.2,23.8,10.3,24.7,26.1c0.3,5.8,0.1,11.7,0.1,17.5
- c0,56,0,112,0,168c0,1.6,0,3.3,0,5.3c-13,0-25.5,0-38.8,0c-0.1-1.7-0.2-3.5-0.2-5.2c0-18.5-0.1-37,0.1-55.5
- c0.1-4.2-1.2-5.6-5.3-5.3c-5.6,0.3-11.3,0.1-17.6,0.1C803.9,676.5,803.9,698.2,803.9,720.4z M826.8,619.2
- c0-2,0-3.6,0-5.2c0-21,0-41.9,0-62.9c0-14.8,0.2-13.8-13.5-13.7c-8.4,0-9.6,1-9.6,9.4c0,22.8,0,45.6,0.1,68.4
- c0,1.3,0.3,2.5,0.4,4C811.8,619.2,819,619.2,826.8,619.2z"/>
- <path d="M1106.4,720.4c-13.2,0-25.7,0-38.7,0c0-2.2,0-4.1,0-6.1c0-18.5,0-37,0-55.5c0-8.4-2.2-10.5-10.7-10.5
- c-3.8,0-7.6,0-11.8,0c0,24.2,0,47.8,0,71.8c-13,0-25.5,0-38.4,0c0-72.1,0-144.1,0-216.8c2.1,0,4.1,0,6,0
- c22.3,0,44.6,0,67,0c15.4,0,25.1,8.3,26,23.7c0.9,16.1,0.6,32.3,0.7,48.4c0.1,9.5-0.1,19,0.1,28.5
- c0.2,12.5-4.2,22.1-17.9,26.8c1.7,0.6,2.5,0.9,3.3,1.2c8,2.4,12.5,7.9,13.8,16c0.4,2.8,0.6,5.6,0.6,8.5
- c0.1,19,0.1,38,0.1,57C1106.4,715.5,1106.4,717.7,1106.4,720.4z M1045.3,612.4c5.7,0,11.2,0.2,16.6-0.1
- c3.2-0.2,5.7-2.3,5.7-5.8c0.1-21.1,0.1-42.2,0.1-63.4c0-3.3-1.8-5.5-5.1-5.6c-5.6-0.2-11.2-0.1-17.2-0.1
- C1045.3,562.6,1045.3,587.3,1045.3,612.4z"/>
- <path d="M925.7,720.4c-13.1,0-25.3,0-38,0c0-72.3,0-144.4,0-217c2,0,3.7,0,5.5,0c22,0,44,0,66,0
- c16.7,0,26.4,8.7,27.2,25.4c0.7,16,0.3,32,0.4,48c0,8.7-0.2,17.3,0.1,26c0.5,13.1-3.2,23.4-17.4,27.8
- c0.9,0.7,1.2,1,1.5,1.1c10.8,3.4,15.4,9,15.6,20.4c0.3,12.5,0.2,25,0.2,37.5c0,10.1,0,20.3,0,30.8
- c-13.1,0-25.7,0-39,0c0-1.8,0-3.6,0-5.3c0-19,0-38,0-57c0-7.4-2.2-9.5-9.5-9.7c-4-0.1-7.9,0-12.6,0
- c0,12.4,0,24.3,0,36.2C925.7,696.3,925.7,708.1,925.7,720.4z M926,612.4c5.6,0,10.9,0.3,16.1-0.1
- c3.5-0.2,5.7-2.5,5.7-6.3c0-21,0.1-42-0.2-63c0-1.9-2.4-5.1-4-5.3c-5.8-0.6-11.8-0.3-17.7-0.3
- C926,562.8,926,587.4,926,612.4z"/>
- <path d="M1080.8,853.3c16.6,0,33,0,49.8,0c0.1,1.8,0.2,3.4,0.2,5c0,29.5,0.2,59-0.2,88.5
- c-0.1,5.5-1.4,11.4-3.7,16.3c-4,8.3-11.9,11.3-20.8,11.3c-16.2,0.1-32.3,0-48.5,0c-16.2,0-25.4-8.4-26.9-24.7
- c-0.3-3.5-0.2-7-0.2-10.5c0-50.1-0.1-100.3,0.1-150.4c0-5.7,1-11.7,2.7-17.1c2.9-9.4,10.1-14.7,19.8-15
- c18.6-0.5,37.3-0.5,56-0.1c10.3,0.2,18.8,8.1,20.5,18.7c1.1,6.7,1,13.6,1.1,20.4c0.2,12.1,0,24.3,0,36.8
- c-12.6,0-24.8,0-37.8,0c0-7.4,0-14.6,0-21.9c0-4.2,0.1-8.3,0-12.5c-0.1-5.7-2-7.5-7.5-7.5c-3,0-6,0-9,0.1
- c-5.8,0.1-7.7,2-7.7,7.9c-0.1,20,0,40,0,60c0,23.8,0,47.6,0,71.5c0,7.9,1.6,9.5,9.2,9.4c3,0,6,0,9-0.1
- c3.7-0.1,6.1-2,6.1-5.8c0.1-15.3,0-30.6,0-46.5c-4.2-0.2-8.1-0.4-12.2-0.5C1080.8,875.2,1080.8,864.4,1080.8,853.3z"/>
- <path d="M1189.1,790.4c0,19.9,0,38.7,0,58.1c12.4,0,24.6,0,37.2,0c0,11.7,0,22.8,0,34.4c-12.4,0-24.6,0-37.1,0
- c0,18.9,0,37.2,0,56.1c13.3,0,26.5,0,40.3,0c0,11.5,0.1,22.3-0.2,33c0,0.8-2.9,2.2-4.5,2.2
- c-18.7,0.2-37.3,0.1-56,0.1c-6,0-11.9,0-18.3,0c0-72.8,0-145,0-217.7c26.3,0,52.4,0,78.7,0c0,11.1,0,22,0,33.7
- C1215.9,790.4,1202.7,790.4,1189.1,790.4z"/>
- <path d="M870.1,974.1c-13.3,0-25.6,0-38.3,0c0-61,0-121.9,0-183.4c-10,0-19.6,0-29.5,0c0-11.7,0-22.7,0-34.2
- c32.7,0,65.1,0,97.9,0c0,11.2,0,22.2,0,33.8c-9.9,0-19.7,0-30.1,0C870.1,851.8,870.1,912.7,870.1,974.1z"/>
- </g>
-</svg>
diff --git a/docs/quickstart.md b/docs/quickstart.md
index d7c8ad19..e1348ddb 100644
--- a/docs/quickstart.md
+++ b/docs/quickstart.md
@@ -1,11 +1,11 @@
---
title: Quickstart
-description: Install Narratage, compile a complete SVML video graph, and prepare a real Build.
+description: Install Hypit, compile a complete SVML video graph, and prepare a real Build.
---
# Quickstart
-The name **Narratage** comes from a 1933 *New York Times* review of the film *The Power and the
+The name **Hypit** comes from a 1933 *New York Times* review of the film *The Power and the
Glory*. The critic coined the word to describe a then-new cinematic technique:
**Narration + Montage** — a narrator's voice carries the story forward while the screen assembles
a montage of scenes to match.
@@ -14,23 +14,23 @@ That is exactly what this system does. The author writes a narrated Script with
and the compiler assembles generated video, captions, B-roll, text and audio into a finished film.
Author Sources are written in SVML (Semantic Video Markup Language) and carry the `.svml` extension.
-Narratage turns that source into a visible execution graph. Before any model or external service
+Hypit turns that source into a visible execution graph. Before any model or external service
runs, you can check the source, choose a Run, and inspect the exact work it would require. This
page gets you to that first safe plan: it needs no API keys and makes no paid call.
## Clone the repository
```bash
-git clone https://github.com/hypit-ai/narratage.git
-cd narratage
+git clone https://github.com/hypit-ai/hypit.git
+cd hypit
```
-## Use the Narratage skill
+## Use the Hypit skill
-`/narratage` is available from that working directory. Send your agent:
+`/hypit` is available from that working directory. Send your agent:
```text
-/narratage Set up my environment, ask for only the API keys required by my Runtime Profile, and guide me through authoring and building my first SVML video.
+/hypit Set up my environment, ask for only the API keys required by my Runtime Profile, and guide me through authoring and building my first SVML video.
```
It works through the same five steps below, asking you only for what your Runtime Profile actually
@@ -66,7 +66,7 @@ alignment, captions, a media Track, text, Film and final rendering.
```bash
cd examples/talking-film-graph-check
-narratage check main.svml
+hypit check main.svml
```
`check` reads the self-described source, loads only its imported packages and prints the public typed
@@ -75,7 +75,7 @@ outputs it declares.
Now compile the Run Source:
```bash
-narratage plan build.svrun
+hypit plan build.svrun
```
`plan` binds the Author Graph and Run Graph, walks backward from `final.video`, and freezes the
@@ -83,9 +83,9 @@ Operations and external Needs that a Build would use. It never starts a Provider
Open the three source files next:
-- [`main.svml`](https://github.com/hypit-ai/narratage/blob/main/examples/talking-film-graph-check/main.svml) — the video;
-- [`studio.svs`](https://github.com/hypit-ai/narratage/blob/main/examples/talking-film-graph-check/studio.svs) — reusable visual Recipes;
-- [`build.svrun`](https://github.com/hypit-ai/narratage/blob/main/examples/talking-film-graph-check/build.svrun) — the requested output.
+- [`main.svml`](https://github.com/hypit-ai/hypit/blob/main/examples/talking-film-graph-check/main.svml) — the video;
+- [`studio.svs`](https://github.com/hypit-ai/hypit/blob/main/examples/talking-film-graph-check/studio.svs) — reusable visual Recipes;
+- [`build.svrun`](https://github.com/hypit-ai/hypit/blob/main/examples/talking-film-graph-check/build.svrun) — the requested output.
## 3. Understand the project files
@@ -96,7 +96,7 @@ A working video project normally has four authored or configured inputs:
| `main.svml` | What video are you making? |
| `studio.svs` | Which reusable Recipe values does it use? |
| `build.svrun` | Which outputs and Candidates does this Run select? |
-| `narratage.runtime.json` | Which machine, stores and Provider endpoints execute it? |
+| `hypit.runtime.json` | Which machine, stores and Provider endpoints execute it? |
The short form is:
@@ -111,24 +111,24 @@ shots without changing the authored video.
## 4. Start your own project
-Keep project files and generated media outside the Narratage repository. The linked `narratage`
+Keep project files and generated media outside the Hypit repository. The linked `hypit`
command works from that independent project directory:
```bash
cd /path/to/my-video
-narratage runtime use narratage.runtime.json
+hypit runtime use hypit.runtime.json
-narratage plan build.svrun
+hypit plan build.svrun
```
A project with `package.json` owns its installed capability packages. A plain creative folder needs
no Node project and uses packages from the linked checkout. Source and exported files remain in the
project. Runtime state and Artifacts live under the selected Profile's `dataRoot`.
-`runtime use` stores only a local pointer at `.narratage/runtime`. Source imports select author
+`runtime use` stores only a local pointer at `.hypit/runtime`. Source imports select author
packages; the Profile independently selects Runtime packages through `use`.
-Start from [`examples/talking-film-live`](https://github.com/hypit-ai/narratage/tree/main/examples/talking-film-live) when you need a
+Start from [`examples/talking-film-live`](https://github.com/hypit-ai/hypit/tree/main/examples/talking-film-live) when you need a
complete Runtime Profile. Copy the source structure, then replace its assets, Script, model choices
and credentials with your own.
@@ -137,7 +137,7 @@ and credentials with your own.
After reviewing the plan:
```bash
-narratage build build.svrun --follow
+hypit build build.svrun --follow
```
`build` assigns and prints a fresh Build id, stores the Build, ensures its Worker is available, and
@@ -148,11 +148,11 @@ Use `check` while editing a source. Use `doctor` to diagnose a new or broken dep
safe, but neither is required as a repetitive pre-Build ceremony.
```bash
-narratage status <build-id> --watch
+hypit status <build-id> --watch
-narratage queue
+hypit queue
-narratage get <build-id> \
+hypit get <build-id> \
--name final.video \
--to output/final.mp4
```
@@ -177,10 +177,10 @@ For local Python programs:
uv python install 3.13
uv sync --project services/whisperx --frozen
uv sync --project services/image-opencv --frozen
-uv run --project services/whisperx --frozen narratage-whisperx-prepare
+uv run --project services/whisperx --frozen hypit-whisperx-prepare
```
-Run `narratage doctor narratage.runtime.json` after changing a Runtime Profile. It reports missing tools,
+Run `hypit doctor hypit.runtime.json` after changing a Runtime Profile. It reports missing tools,
credentials and endpoint configuration without executing the graph.
## Read next
diff --git a/docs/quickstart/composition.md b/docs/quickstart/composition.md
index 07507e63..17be8d96 100644
--- a/docs/quickstart/composition.md
+++ b/docs/quickstart/composition.md
@@ -9,9 +9,9 @@ Film is the final assembly stage. It takes all peer Tracks, validates them, and
Composition. The renderer then compiles that Composition into an MP4 video.
```svml
-<import as="space" from="@narratage/spatial@1"/>
-<import as="film" from="@narratage/film@1"/>
-<import as="render" from="@narratage/render-hyperframes@1"/>
+<import as="space" from="@hypit/spatial@1"/>
+<import as="film" from="@hypit/film@1"/>
+<import as="render" from="@hypit/render-hyperframes@1"/>
```
## film:Film
@@ -111,23 +111,23 @@ The complete data flow from Script to rendered video. This example is based on
### Author Source (`main.svml`)
```svml
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
- <import as="wording" from="@narratage/text@1"/>
- <import as="seedance" from="@narratage/seedance@1"/>
- <import as="speech" from="@narratage/speech-spine@1"/>
- <import as="whisperx" from="@narratage/whisperx@1"/>
- <import as="caption" from="@narratage/caption@1"/>
- <import as="caption-fine" from="@narratage/caption-fine@1"/>
- <import as="caption-ai" from="@narratage/caption-gemini@1"/>
- <import as="fonts" from="@narratage/fonts-open@1"/>
- <import as="media-track" from="@narratage/media-track@1"/>
- <import as="text" from="@narratage/typography-track@1"/>
- <import as="space" from="@narratage/spatial@1"/>
- <import as="film" from="@narratage/film@1"/>
- <import as="render" from="@narratage/render-hyperframes@1"/>
+ <import from="@hypit/script@1"/>
+ <import as="wording" from="@hypit/text@1"/>
+ <import as="seedance" from="@hypit/seedance@1"/>
+ <import as="speech" from="@hypit/speech-spine@1"/>
+ <import as="whisperx" from="@hypit/whisperx@1"/>
+ <import as="caption" from="@hypit/caption@1"/>
+ <import as="caption-fine" from="@hypit/caption-fine@1"/>
+ <import as="caption-ai" from="@hypit/caption-gemini@1"/>
+ <import as="fonts" from="@hypit/fonts-open@1"/>
+ <import as="media-track" from="@hypit/media-track@1"/>
+ <import as="text" from="@hypit/typography-track@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
+ <import as="film" from="@hypit/film@1"/>
+ <import as="render" from="@hypit/render-hyperframes@1"/>
<import as="studio" source="./studio.svs"/>
<!-- 1. Script: the semantic truth -->
@@ -205,7 +205,7 @@ width and is rejected.
### Stylesheet (`studio.svs`)
```svs
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1">
film.vertical {
@@ -237,7 +237,7 @@ width and is rejected.
### Run Source (`build.svrun`)
```svml
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
@@ -248,9 +248,9 @@ width and is rejected.
### Compile and verify
```bash
-narratage check examples/talking-film-graph-check/main.svml
+hypit check examples/talking-film-graph-check/main.svml
-narratage plan examples/talking-film-graph-check/build.svrun
+hypit plan examples/talking-film-graph-check/build.svrun
```
`check` compiles the Author Graph — validates all imports, types, and graph edges without calling
diff --git a/docs/quickstart/generation.md b/docs/quickstart/generation.md
index 9b80ccb6..e8e177d2 100644
--- a/docs/quickstart/generation.md
+++ b/docs/quickstart/generation.md
@@ -11,11 +11,11 @@ that flow into the timing and track stages downstream.
Every component shown here must be imported by its package specifier before use:
```svml
-<import as="media" from="@narratage/media@1"/>
-<import as="mediaop" from="@narratage/media-pipeline@1"/>
-<import as="estimate" from="@narratage/estimate@1"/>
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="media" from="@hypit/media@1"/>
+<import as="mediaop" from="@hypit/media-pipeline@1"/>
+<import as="estimate" from="@hypit/estimate@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="speaker-kit" source="./kits/speaker-v1.svs"/>
```
@@ -104,7 +104,7 @@ A reusable literal `Text` value. It is model-neutral and can feed Seedance, GPT
declared text port.
```svml
-<import as="text" from="@narratage/text@1"/>
+<import as="text" from="@hypit/text@1"/>
<text:Value id="alice-direction">
Locked medium close-up. Alice speaks directly to camera in a quiet daylight studio.
@@ -197,24 +197,24 @@ Runtime Endpoints for these exact Needs; neither changes the author graph.
## Seedance semantic Kits
-`@narratage/seedance-kits` contains seven data-only Text Templates. A Kit is not a model wrapper: use
+`@hypit/seedance-kits` contains seven data-only Text Templates. A Kit is not a model wrapper: use
generic `text:Render` to produce the prompt, then connect that Text and the real media references to
the low-level Seedance Surface.
Copy only the selected Kit `.svs` files into the video project's `./kits/` directory. Import the
vendored project copy so the Kit bytes remain inside the Source Closure; do not reach back into a
-Narratage repository checkout from project source.
+Hypit repository checkout from project source.
Read the
-[`@narratage/seedance-kits` guide](https://github.com/hypit-ai/narratage/blob/main/packages/seedance-kits/README.md)
-and the [selected Kit source](https://github.com/hypit-ai/narratage/tree/main/packages/seedance-kits/kits)
+[`@hypit/seedance-kits` guide](https://github.com/hypit-ai/hypit/blob/main/packages/seedance-kits/README.md)
+and the [selected Kit source](https://github.com/hypit-ai/hypit/tree/main/packages/seedance-kits/kits)
before authoring. Use an official Kit whenever its format matches. Keep generation instructions and
dynamic prompt slots in English; preserve the authored language only for dialogue that must be
spoken verbatim. Write a freeform English prompt only when none of the seven Kits applies.
```svml
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="broll-kit" source="./kits/broll-v1.svs"/>
<text:Value id="product-story">
@@ -263,8 +263,8 @@ Select framing, edit, pacing, performance, reaction and gesture through an SVS R
the authored dialogue and optional per-take action as dynamic Text edges:
```svml
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="interview-kit" source="./kits/street-interview-v1.svs"/>
<text:Value id="interview-action">
@@ -298,8 +298,8 @@ Template, the project's Recipe and the per-take dialogue/action are assembled by
module. The result enters Seedance through the same explicit `prompt` edge as any other generation.
```svml
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="speaker-kit" source="./kits/speaker-v1.svs"/>
<text:Value id="hook-action">
@@ -331,10 +331,10 @@ reference media or generation endpoint.
A two-take setup with estimated durations feeding explicit Text assembly and Seedance generation:
```svml
-<import as="media" from="@narratage/media@1"/>
-<import as="estimate" from="@narratage/estimate@1"/>
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="media" from="@hypit/media@1"/>
+<import as="estimate" from="@hypit/estimate@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="studio" source="./studio.svs"/>
<import as="speaker-kit" source="./kits/speaker-v1.svs"/>
diff --git a/docs/quickstart/images.md b/docs/quickstart/images.md
index 9cf52ee5..1f20b2d2 100644
--- a/docs/quickstart/images.md
+++ b/docs/quickstart/images.md
@@ -10,8 +10,8 @@ is an image you reference downstream — as a Seedance reference frame, as a Med
source of another operation.
They all need an endpoint. `image-compose` and `image-transform` ask for the raster capability, which
-`@narratage/provider-image-opencv-local` answers by running OpenCV in a bounded Python process on
-your own machine; `background-removal` asks for its own capability, which `@narratage/provider-kie`
+`@hypit/provider-image-opencv-local` answers by running OpenCV in a bounded Python process on
+your own machine; `background-removal` asks for its own capability, which `@hypit/provider-kie`
answers remotely. No example in this repository binds either, so add the endpoint to your
[Runtime Profile](/guide/runtime) before planning a Build that uses one.
@@ -20,7 +20,7 @@ answers remotely. No example in this repository binds either, so add the endpoin
`compose:Image` paints layers onto one canvas, in the order they are written, and hands back a PNG.
```svml
-<import as="compose" from="@narratage/image-compose@1"/>
+<import as="compose" from="@hypit/image-compose@1"/>
```
The element takes `id` and `canvas`, and optionally `background` — which must carry alpha, as
@@ -50,7 +50,7 @@ An `image:Program` is a named list of operations; an `image:Transform` runs one
split is deliberate: a program written once is applied to every shot that needs the same treatment.
```svml
-<import as="image" from="@narratage/image-transform@1"/>
+<import as="image" from="@hypit/image-transform@1"/>
```
`image:Program` takes only `id`, and holds its operations as children, applied in the order written:
@@ -88,7 +88,7 @@ naming it in a `Transform` is what runs it.
## Removing a background
```svml
-<import as="remove" from="@narratage/background-removal@1"/>
+<import as="remove" from="@hypit/background-removal@1"/>
```
`remove:Background` is empty and takes `id` and `source`. It picks no model, threshold or storage —
diff --git a/docs/quickstart/preview.md b/docs/quickstart/preview.md
index a5669fe5..6e7d44e4 100644
--- a/docs/quickstart/preview.md
+++ b/docs/quickstart/preview.md
@@ -20,7 +20,7 @@ pnpm svml:playground -- --source examples/all-components-preview/main.svml
| --- | --- |
| `--source <main.svml>` | The Author Source to read. Required. |
| `--run <build.svrun>` | A Run Source, read for material and timings it already names. |
-| `--runtime <narratage.runtime.json>` | Where material earlier Builds produced is kept. Only a Source that reuses an accepted shot through `<build-record>` needs one. |
+| `--runtime <hypit.runtime.json>` | Where material earlier Builds produced is kept. Only a Source that reuses an accepted shot through `<build-record>` needs one. |
| `--port <number>` | Defaults to `5179`. |
Both optional arguments are additive. With neither, the Playground still runs on a directory holding
@@ -48,7 +48,7 @@ layout are computed by the same functions a build calls, from your Source and yo
card in the wrong part of the frame is wrong here too.
**Timings are estimated** until a build has aligned real audio. Word durations come from
-`@narratage/estimate`, the same syllable model the pipeline uses before generation. An estimated
+`@hypit/estimate`, the same syllable model the pipeline uses before generation. An estimated
timeline is a proportion, not a prediction — real cut points move once WhisperX has run.
**Missing material stands in**, and each stand-in is announced rather than presented as fact:
@@ -111,7 +111,7 @@ Source is read with is an authoring decision, so it is made in a Run Source —
[Run Source & Builds](./run):
```svml
-<file id="take-1" type="@narratage/artifact@1#BlobArtifact"
+<file id="take-1" type="@hypit/artifact@1#BlobArtifact"
from="./assets/take-1.mp4" media-type="video/mp4"/>
<satisfy output="take-opening.video" candidate="take-1"/>
```
@@ -122,7 +122,7 @@ it; without one, that shot alone is refused **by name** and everything else stil
## When an agent is doing the work
-If you are working through the [Narratage skill](https://github.com/hypit-ai/narratage/blob/main/.agents/skills/narratage/SKILL.md),
+If you are working through the [Hypit skill](https://github.com/hypit-ai/hypit/blob/main/.agents/skills/hypit/SKILL.md),
the agent starts the Playground for you and sends you the link after each step that changes the
Source — a Script edit, a Frame moved, a B-roll placed, a Recipe adjusted.
diff --git a/docs/quickstart/run.md b/docs/quickstart/run.md
index 33ffd68b..4b9d76a2 100644
--- a/docs/quickstart/run.md
+++ b/docs/quickstart/run.md
@@ -12,19 +12,19 @@ stores and Provider endpoints that execute the resulting plan.
Select the project Runtime once:
```bash
-narratage runtime use narratage.runtime.json
+hypit runtime use hypit.runtime.json
```
Ordinary work then follows the short path:
```bash
-narratage plan build.svrun
-narratage build build.svrun --follow
-narratage get <build-id> --name final.video --to output/final.mp4
+hypit plan build.svrun
+hypit build build.svrun --follow
+hypit get <build-id> --name final.video --to output/final.mp4
```
The Quickstart links the checkout's command once. Every command on this page then works as
-`narratage`, including from a separate video project.
+`hypit`, including from a separate video project.
Only `build` submits work. `plan` is the normal preview. `check` is an editing aid; `doctor` is a
deployment diagnostic. They are safe to run, but not mandatory ceremony before every Build.
@@ -32,7 +32,7 @@ deployment diagnostic. They are safe to run, but not mandatory ceremony before e
```text
main.svml author meaning
build.svrun this Run's Targets and Candidate choices
-narratage.runtime.json execution environment
+hypit.runtime.json execution environment
```
Run Source and Runtime Profile do not silently rewrite the video. Creative model choices remain in
@@ -43,13 +43,13 @@ the Author Source or in packages that it explicitly imports.
Every `.svrun` file begins with its processing instruction:
```svml
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
```
### Minimal Run Source
```svml
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
@@ -84,7 +84,7 @@ Source without duplicating it. For example, `images.svrun` may target image outp
## Reusing results
-Narratage has no implicit cache. Reusing a result is explicit Run Graph authoring — you declare
+Hypit has no implicit cache. Reusing a result is explicit Run Graph authoring — you declare
historical Records as zero-input Candidates and connect them through Satisfaction edges.
As soon as a generated image or take is accepted, reuse it explicitly in the next `.svrun` with
@@ -92,7 +92,7 @@ As soon as a generated image or take is accepted, reuse it explicitly in the nex
Core has no Pin state or fidelity label.
```svml
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
@@ -119,7 +119,7 @@ Core has no Pin state or fidelity label.
Query an output name as it appeared in each historical Build's frozen Host Catalog:
```bash
-narratage history hook-take.video
+hypit history hook-take.video
```
`history` reports only public Logical Outputs that the Build actually produced. It
@@ -128,7 +128,7 @@ does not list merely declared-but-unbuilt aliases or authored Record aliases tha
Catalog recorded an exact source path:
```bash
-narratage history --source ./main.svml
+hypit history --source ./main.svml
```
An output name is a human locator inside one immutable historical Catalog, not its identity. The
@@ -142,7 +142,7 @@ current name on `<satisfy>`:
<satisfy output="opening-shot.video" candidate="approved-opening"/>
```
-Narratage never infers that two names mean the same author intent. Every `build` invocation receives
+Hypit never infers that two names mean the same author intent. Every `build` invocation receives
a fresh Build id, which the CLI prints and the Runtime archives. Source identity never reclaims an
earlier Build. A later Run reuses an accepted result only by naming that historical Build id here.
@@ -179,7 +179,7 @@ A local file is the simplest zero-input Candidate. The Run Source names the byte
to one current Logical Output:
```svml
-<file id="approved-opening" type="@narratage/artifact@1#BlobArtifact" from="./approved-opening.mp4" media-type="video/mp4"/>
+<file id="approved-opening" type="@hypit/artifact@1#BlobArtifact" from="./approved-opening.mp4" media-type="video/mp4"/>
<satisfy output="opening-shot.video" candidate="approved-opening"/>
```
@@ -195,11 +195,11 @@ configures Provider endpoints and capacity. It never defines the Source Workspac
selection.
```bash
-narratage runtime use narratage.runtime.json
-narratage paths
+hypit runtime use hypit.runtime.json
+hypit paths
```
-`runtime use` writes only `.narratage/runtime`. It does not start a Worker, create Runtime data or
+`runtime use` writes only `.hypit/runtime`. It does not start a Worker, create Runtime data or
change installed packages. See [Runtime](../guide/runtime.md) for the Profile schema and boundaries.
## Configure selected credentials
@@ -223,7 +223,7 @@ export KIE_API_KEY
read -r -s MIMO_API_KEY
export MIMO_API_KEY
export GOOGLE_CLOUD_PROJECT="your-project-id"
-export GOOGLE_APPLICATION_CREDENTIALS_JSON="$(<"$HOME/.config/narratage/google-service-account.json")"
+export GOOGLE_APPLICATION_CREDENTIALS_JSON="$(<"$HOME/.config/hypit/google-service-account.json")"
```
In Windows PowerShell:
@@ -232,7 +232,7 @@ In Windows PowerShell:
$env:KIE_API_KEY = "your-key"
$env:MIMO_API_KEY = "your-key"
$env:GOOGLE_CLOUD_PROJECT = "your-project-id"
-$env:GOOGLE_APPLICATION_CREDENTIALS_JSON = Get-Content -Raw "$HOME\.config\narratage\google-service-account.json"
+$env:GOOGLE_APPLICATION_CREDENTIALS_JSON = Get-Content -Raw "$HOME\.config\hypit\google-service-account.json"
```
Keep credentials out of Author Source, Run Source, Runtime Profile source, and committed files.
@@ -244,7 +244,7 @@ Keep credentials, generated media, Runtime data and logs out of commits. A proje
```bash
cd /work/my-film
-narratage runtime use narratage.runtime.json
+hypit runtime use hypit.runtime.json
```
The Workspace is the selected project or entry Source directory. Override it
@@ -252,7 +252,7 @@ only with `--workspace`. `--package-root` locates installed packages and never w
`--asset-root` grants read access to additional asset bytes without permitting Source imports there.
```text
-.narratage/
+.hypit/
output/
```
@@ -260,7 +260,7 @@ output/
```bash
cd examples/talking-head-aroll
-narratage runtime use narratage.runtime.json
+hypit runtime use hypit.runtime.json
```
Author and Run Sources select their packages through imports. The Runtime Profile selects its Host,
@@ -269,7 +269,7 @@ infrastructure and Provider packages through `use`. The installed package manage
### 2. Diagnose the environment
```bash
-narratage doctor
+hypit doctor
```
Doctor validates every selected Runtime role, Endpoint configuration, credential
@@ -283,11 +283,11 @@ readiness.
### 3. Check source and inspect the plan
```bash
-narratage check main.svml
+hypit check main.svml
```
```bash
-narratage plan build.svrun
+hypit plan build.svrun
```
Review the frozen BuildPlan before spending money. The plan shows every Operation and Needs the
@@ -301,7 +301,7 @@ view for long lived processes declared by Endpoints.
### 4. Submit the Build
```bash
-narratage build build.svrun --follow
+hypit build build.svrun --follow
```
Without `--follow`, `build` returns after durable submission. The detached Worker continues. With
@@ -311,7 +311,7 @@ interrupting it leaves the Build running.
Attach or reattach an observer at any time:
```bash
-narratage status <build-id> --watch
+hypit status <build-id> --watch
```
A plain `status <build-id>` prints one snapshot. `status --watch` exits at terminal state; use
@@ -332,14 +332,14 @@ Records and the same external task checkpoints; it never turns another invocatio
### 5. Inspect and retrieve results
```bash
-narratage inspect <build-id>
+hypit inspect <build-id>
```
`inspect` reports durable Build state, demanded outputs, and accepted Records. Retrieve the selected
archived Artifact only after those facts are correct:
```bash
-narratage get <build-id> \
+hypit get <build-id> \
--name final.video \
--to examples/talking-head-aroll/output/final.mp4
```
@@ -358,14 +358,14 @@ Create a new `.svrun` file that references the completed Build's Records (see [R
above), then submit it:
```bash
-narratage build reuse-generated.svrun --follow
+hypit build reuse-generated.svrun --follow
```
### 7. Diagnose or stop the local Runtime
```bash
-narratage runtime logs
-narratage runtime down
+hypit runtime logs
+hypit runtime down
```
`runtime down` stops the Worker from claiming more Builds but leaves external programs running.
diff --git a/docs/quickstart/script.md b/docs/quickstart/script.md
index 74e04d7b..2b957798 100644
--- a/docs/quickstart/script.md
+++ b/docs/quickstart/script.md
@@ -10,7 +10,7 @@ contains no timecodes, no media references, no styling, no generation parameters
the pipeline reads the Script; the Script reads nothing.
```svml
-<import from="@narratage/script@1"/>
+<import from="@hypit/script@1"/>
<script id="story">
<opening>
@@ -19,7 +19,7 @@ the pipeline reads the Script; the Script reads nothing.
</script>
```
-The import `@narratage/script@1` activates the Script Surface. The `id` attribute lets other
+The import `@hypit/script@1` activates the Script Surface. The `id` attribute lets other
components refer to the Script and its parts.
## Segments
diff --git a/docs/quickstart/styles.md b/docs/quickstart/styles.md
index 65dc6dc7..337b71d1 100644
--- a/docs/quickstart/styles.md
+++ b/docs/quickstart/styles.md
@@ -13,7 +13,7 @@ immutable typed Records that consuming components validate and interpret.
## Basic syntax
```svs
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1" id="studio">
film.vertical {
@@ -28,7 +28,7 @@ immutable typed Records that consuming components validate and interpret.
</sheet>
```
-- The processing instruction `<?svml using="@narratage/svs@1"?>` selects the SVS parser.
+- The processing instruction `<?svml using="@hypit/svs@1"?>` selects the SVS parser.
- The `<sheet>` element wraps all declarations. The `id` attribute becomes the top-level namespace.
- Each block is `namespace.name { ... }` with `;`-terminated key-value properties.
- Comments use `/* ... */`.
@@ -352,7 +352,7 @@ SVS describes typography policy, but it does not choose or open font bytes. For
import the private pre-release catalog and select only the faces the Author Graph uses:
```svml
-<import as="fonts" from="@narratage/fonts-open@1"/>
+<import as="fonts" from="@hypit/fonts-open@1"/>
<fonts:Stack id="caption-fonts" family="inter" weight="600" style="normal" emoji="color">
<fonts:Fallback family="noto-sans-sc" weight="600" style="normal"/>
@@ -387,7 +387,7 @@ For a symbol with both text and Emoji presentation, write the authored Unicode E
Brand and custom fonts remain explicit author assets rather than additions to the shared catalog:
```svml
-<import as="media" from="@narratage/media@1"/>
+<import as="media" from="@hypit/media@1"/>
<media:Font id="brand" src="./assets/Brand-Semibold.woff2"
weight="600" style="normal"/>
```
@@ -397,7 +397,7 @@ Brand and custom fonts remain explicit author assets rather than additions to th
A complete `studio.svs` file for a four-take talking-head project:
```svs
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1" id="studio">
speech.normal {
diff --git a/docs/quickstart/timing.md b/docs/quickstart/timing.md
index 5b156994..946126e7 100644
--- a/docs/quickstart/timing.md
+++ b/docs/quickstart/timing.md
@@ -10,9 +10,9 @@ and the spoken words must be measured against the actual audio to create a timin
steps produce the **ProgramSpace** and **SemanticMap** that every downstream component depends on.
```svml
-<import as="speech" from="@narratage/speech-spine@1"/>
-<import as="whisperx" from="@narratage/whisperx@1"/>
-<import as="space" from="@narratage/spatial@1"/>
+<import as="speech" from="@hypit/speech-spine@1"/>
+<import as="whisperx" from="@hypit/whisperx@1"/>
+<import as="space" from="@hypit/spatial@1"/>
<import as="studio" source="./studio.svs"/>
```
@@ -179,9 +179,9 @@ and do not reinterpret how each point was obtained.
The complete timing stage, from generated takes to map and space:
```svml
-<import as="speech" from="@narratage/speech-spine@1"/>
-<import as="whisperx" from="@narratage/whisperx@1"/>
-<import as="space" from="@narratage/spatial@1"/>
+<import as="speech" from="@hypit/speech-spine@1"/>
+<import as="whisperx" from="@hypit/whisperx@1"/>
+<import as="space" from="@hypit/spatial@1"/>
<import as="studio" source="./studio.svs"/>
<!-- Assemble takes in program order -->
diff --git a/docs/quickstart/tracks.md b/docs/quickstart/tracks.md
index 38186502..9bbcec15 100644
--- a/docs/quickstart/tracks.md
+++ b/docs/quickstart/tracks.md
@@ -18,15 +18,15 @@ Script Display → Caption Program → Planner + measured Atom timing → Style-
```
```svml
-<import as="caption" from="@narratage/caption@1"/>
-<import as="caption-fine" from="@narratage/caption-fine@1"/>
-<import as="caption-ai" from="@narratage/caption-gemini@1"/>
-<import as="media" from="@narratage/media@1"/>
-<import as="fonts" from="@narratage/fonts-open@1"/>
+<import as="caption" from="@hypit/caption@1"/>
+<import as="caption-fine" from="@hypit/caption-fine@1"/>
+<import as="caption-ai" from="@hypit/caption-gemini@1"/>
+<import as="media" from="@hypit/media@1"/>
+<import as="fonts" from="@hypit/fonts-open@1"/>
```
-`@narratage/caption` owns only common Cue bounds, generic optional per-Word fields, total Style
-assignment, Plan validation and the timing join. `@narratage/caption-fine` is one field-free Style
+`@hypit/caption` owns only common Cue bounds, generic optional per-Word fields, total Style
+assignment, Plan validation and the timing join. `@hypit/caption-fine` is one field-free Style
family: it owns geometry, glyph/Cue/Pill Paint and layered local motion.
### caption-fine:Style
@@ -154,8 +154,8 @@ place an image, generated video, prepared timed medium or compositable Surface a
absolute window.
```svml
-<import as="media-track" from="@narratage/media-track@1"/>
-<import as="wording" from="@narratage/text@1"/>
+<import as="media-track" from="@hypit/media-track@1"/>
+<import as="wording" from="@hypit/text@1"/>
```
### media-track:Track and media-track:Item
@@ -213,14 +213,14 @@ or specially selected media, whose output then connects through `media=`.
## Audio tracks
-`@narratage/audio-track` places explicitly prepared audio on the same ProgramSpace as the visual
+`@hypit/audio-track` places explicitly prepared audio on the same ProgramSpace as the visual
Tracks. A `Clip` consumes `SynchronizedMedia`; normalize a declared or generated audio Blob first,
then choose its exact program window and occupancy:
```svml
-<import as="media" from="@narratage/media@1"/>
-<import as="pipeline" from="@narratage/media-pipeline@1"/>
-<import as="audio" from="@narratage/audio-track@1"/>
+<import as="media" from="@hypit/media@1"/>
+<import as="pipeline" from="@hypit/media-pipeline@1"/>
+<import as="audio" from="@hypit/audio-track@1"/>
<media:Audio id="music" src="./assets/music.wav"/>
<pipeline:Normalize id="music-media" source={music}
@@ -253,8 +253,8 @@ Clips in one Track and multiple peer Audio Tracks remain independent inputs to F
Static or timed text displayed on screen — titles, callouts, lower thirds.
```svml
-<import as="text" from="@narratage/typography-track@1"/>
-<import as="wording" from="@narratage/text@1"/>
+<import as="text" from="@hypit/typography-track@1"/>
+<import as="wording" from="@hypit/text@1"/>
```
### text:Track
@@ -341,7 +341,7 @@ its own style tag.
| `ranking:TypewriterList` | `ranking:TypewriterItem` | `ranking:TypewriterListStyle` |
```svml
-<import as="ranking" from="@narratage/ranking@1"/>
+<import as="ranking" from="@hypit/ranking@1"/>
```
### The style tag
@@ -401,7 +401,7 @@ on a Moment. Where a Media Item places one shot in one Frame, a deck keeps a sta
same Frame and moves the whole stack.
```svml
-<import as="deck" from="@narratage/deck-track@1"/>
+<import as="deck" from="@hypit/deck-track@1"/>
```
### deck:DepthStack
@@ -446,7 +446,7 @@ for a Selection, grain over the whole programme. One Track carries them all, and
effect bound to its own window.
```svml
-<import as="screen" from="@narratage/screen-overlay@1"/>
+<import as="screen" from="@hypit/screen-overlay@1"/>
```
`screen:Track` takes `id`, `canvas` and `space`. Its children are the effects, at least one, each
@@ -484,7 +484,7 @@ Social-style comment cards placed in a Frame: an avatar, an author, the comment
optional metadata line.
```svml
-<import as="comment" from="@narratage/comment-sticker@1"/>
+<import as="comment" from="@hypit/comment-sticker@1"/>
```
`comment:Style` is empty and takes `id`, `recipe` and `font`, all required. The recipe carries the
@@ -516,16 +516,16 @@ image, and there is no `z`: stacking order comes from the recipe's `stack-order`
All four track families together in one source file:
```svml
-<import as="caption" from="@narratage/caption@1"/>
-<import as="caption-fine" from="@narratage/caption-fine@1"/>
-<import as="caption-ai" from="@narratage/caption-gemini@1"/>
-<import as="fonts" from="@narratage/fonts-open@1"/>
-<import as="media" from="@narratage/media@1"/>
-<import as="pipeline" from="@narratage/media-pipeline@1"/>
-<import as="media-track" from="@narratage/media-track@1"/>
-<import as="text" from="@narratage/typography-track@1"/>
-<import as="audio" from="@narratage/audio-track@1"/>
-<import as="space" from="@narratage/spatial@1"/>
+<import as="caption" from="@hypit/caption@1"/>
+<import as="caption-fine" from="@hypit/caption-fine@1"/>
+<import as="caption-ai" from="@hypit/caption-gemini@1"/>
+<import as="fonts" from="@hypit/fonts-open@1"/>
+<import as="media" from="@hypit/media@1"/>
+<import as="pipeline" from="@hypit/media-pipeline@1"/>
+<import as="media-track" from="@hypit/media-track@1"/>
+<import as="text" from="@hypit/typography-track@1"/>
+<import as="audio" from="@hypit/audio-track@1"/>
+<import as="space" from="@hypit/spatial@1"/>
<!-- Captions: primary style for all text -->
<fonts:Stack id="caption-font" family="inter" weight="700" style="normal"/>
diff --git a/docs/zh/guide/author-packages.md b/docs/zh/guide/author-packages.md
index b88d0e18..812c49b6 100644
--- a/docs/zh/guide/author-packages.md
+++ b/docs/zh/guide/author-packages.md
@@ -17,20 +17,20 @@ mkdir -p packages/my-component/src packages/my-component/test
```json
{
- "name": "@narratage/my-component",
+ "name": "@hypit/my-component",
"version": "0.0.0-dev",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/protocol": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/markup": "workspace:*"
}
}
```
@@ -42,15 +42,15 @@ mkdir -p packages/my-component/src packages/my-component/test
在 `src/index.ts` 中声明你的 Module 的身份、Type 和 Producer:
```typescript
-import type { ModuleManifest, ModuleRef } from "@narratage/protocol";
+import type { ModuleManifest, ModuleRef } from "@hypit/protocol";
export const myComponentModuleRef: ModuleRef = {
- name: "@narratage/my-component",
+ name: "@hypit/my-component",
version: "1",
};
export const myComponentManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: myComponentModuleRef.name,
version: myComponentModuleRef.version,
dependencies: [],
@@ -76,7 +76,7 @@ Surface handler 把 Markup Frontend 的 XML 元素解码成带类型的作者声
```typescript
// src/surface.ts
-import type { StructuredSurfaceHandler } from "@narratage/markup";
+import type { StructuredSurfaceHandler } from "@hypit/markup";
export const decodeMyComponentSurface: StructuredSurfaceHandler = ({ element }) => {
// Read attributes and children from the XML element
@@ -95,7 +95,7 @@ export const decodeMyComponentSurface: StructuredSurfaceHandler = ({ element })
```typescript
// src/activation.ts
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
myComponentManifest,
myComponentMarkupSurfaces,
@@ -103,8 +103,8 @@ import {
decodeMyComponentSurface,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{
manifest: myComponentManifest,
}],
@@ -117,11 +117,11 @@ export const narratagePackage = {
],
};
-export default narratagePackage;
+export default hypitPackage;
```
Module 会自动提供精确的 `[email protected]`,所以作者直接导入
-`@narratage/my-component@1`,无需再声明一份重复别名。只有包确实拥有另一个逻辑名称时
+`@hypit/my-component@1`,无需再声明一份重复别名。只有包确实拥有另一个逻辑名称时
才使用可选的 `specifiers`。Surface declaration 决定可接受的标签(以 `mine` 导入时即为
`<mine:Widget>`)。它属于 Markup Host facet,不属于语义 Module Manifest,更不属于 Core。
@@ -129,7 +129,7 @@ Module 会自动提供精确的 `[email protected]`,所以作者
```json
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
```
@@ -141,15 +141,15 @@ pnpm 工作区链接负责解析包,不需要根路径注册表。
pnpm install --frozen-lockfile
```
-包管理器负责安装、版本与完整性。Author 或 Run Source 导入逻辑能力时,Narratage 才会加载
+包管理器负责安装、版本与完整性。Author 或 Run Source 导入逻辑能力时,Hypit 才会加载
对应包;Manifest 声明的精确 Module 依赖从该包的已安装依赖中加载。
## 8. 在 Author Source 中使用
```xml
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import as="mine" from="@narratage/my-component@1"/>
+ <import as="mine" from="@hypit/my-component@1"/>
<mine:Widget id="demo" during={story.selection.example}/>
</svml>
diff --git a/docs/zh/guide/conventions.md b/docs/zh/guide/conventions.md
index 268b194c..42e40fc3 100644
--- a/docs/zh/guide/conventions.md
+++ b/docs/zh/guide/conventions.md
@@ -10,8 +10,8 @@ description: 命名、模块边界、TypeScript 配置与 wire 数据。
| 项目 | 约定 | 示例 |
|---|---|---|
| 包目录 | kebab-case | `packages/speech-alignment/` |
-| 包名 | `@narratage/` scope | `@narratage/speech-alignment` |
-| Provider 包 | `provider-` 前缀 | `@narratage/provider-kie` |
+| 包名 | `@hypit/` scope | `@hypit/speech-alignment` |
+| Provider 包 | `provider-` 前缀 | `@hypit/provider-kie` |
| TypeScript 文件 | kebab-case | `align.ts` |
| 导出类型 | PascalCase | `SpeechAlignment` |
| 导出函数 | camelCase | `createSpeechAlignment` |
@@ -20,7 +20,7 @@ description: 命名、模块边界、TypeScript 配置与 wire 数据。
- 每个包有且只有一个公开入口点:`src/index.ts`。
- 内部模块使用显式的 `.js` 扩展名(NodeNext 解析)。
-- 跨包导入使用 `@narratage/*`,绝不跨包边界使用相对路径。
+- 跨包导入使用 `@hypit/*`,绝不跨包边界使用相对路径。
- 禁止生产依赖形成循环。
## TypeScript 配置
@@ -45,7 +45,7 @@ description: 命名、模块边界、TypeScript 配置与 wire 数据。
- 项目自有的 Module 与 Frontend 身份统一使用逻辑版本字面量 `1`。
- 工作区 `package.json` 在真正发布前保持 `0.0.0-dev`;它是物理包元数据,不是逻辑协议身份。
- 真正的可执行实现身份来自锁定后的包字节与闭包摘要,而不是以上任意一个版本字符串。
-- wire 类型定义在 `@narratage/protocol` 中,且不可变。
+- wire 类型定义在 `@hypit/protocol` 中,且不可变。
- Nominal Type 由 Module 拥有,不在中心化的联合类型中注册。
- 类型 schema 使用与 JSON 兼容的结构,而不是 TypeScript 接口。
diff --git a/docs/zh/guide/develop.md b/docs/zh/guide/develop.md
index 49c6aa42..9eed9ff0 100644
--- a/docs/zh/guide/develop.md
+++ b/docs/zh/guide/develop.md
@@ -1,6 +1,6 @@
---
title: 开发指南
-description: 开始 Narratage 开发工作。
+description: 开始 Hypit 开发工作。
---
# 开发指南
@@ -37,7 +37,7 @@ pnpm test # 完整测试套件
## 仓库结构
```text
-narratage/
+hypit/
├── packages/ workspace packages
├── docs/ VitePress documentation site
├── examples/ runnable example sources
diff --git a/docs/zh/guide/packages.md b/docs/zh/guide/packages.md
index 22e4cbd9..a978c8a2 100644
--- a/docs/zh/guide/packages.md
+++ b/docs/zh/guide/packages.md
@@ -10,13 +10,13 @@ Loader 能解析任意被显式选择的包;但 TypeScript 不维护会掩盖
## 七个分层
-### Layer 1:Narratage Core
+### Layer 1:Hypit Core
不可变图协议、需求编译器与 Build 状态机。这个闭包与领域无关,不认识源码语法、文件、网络、模型或视频。
```text
-@narratage/protocol immutable wire contracts
-@narratage/core Demand compiler and Build state machine
+@hypit/protocol immutable wire contracts
+@hypit/core Demand compiler and Build state machine
```
### Layer 2:Compiler
@@ -25,19 +25,19 @@ Loader 能解析任意被显式选择的包;但 TypeScript 不维护会掩盖
Frontend;不存在一个认识全部语法的中央解析器。
```text
-@narratage/source mandatory Source Header
-@narratage/elaborator author declarations and Fragment expansion
-@narratage/run syntax-neutral Run Graph
-@narratage/validation semantic admission
-@narratage/host opaque Host-facet envelope
-@narratage/workspace replaceable Source/Asset session
-@narratage/compiler-node reference Node compiler Host
-@narratage/workspace-fs-node workspace filesystem abstraction
-@narratage/package-loader-node installed package selection
-@narratage/markup official .svml Markup Frontend
-@narratage/svs SVS Recipe Frontend
-@narratage/run-markup official .svrun Markup Frontend
-@narratage/compiler-markup-node Markup Frontend + Surface Host assembly
+@hypit/source mandatory Source Header
+@hypit/elaborator author declarations and Fragment expansion
+@hypit/run syntax-neutral Run Graph
+@hypit/validation semantic admission
+@hypit/host opaque Host-facet envelope
+@hypit/workspace replaceable Source/Asset session
+@hypit/compiler-node reference Node compiler Host
+@hypit/workspace-fs-node workspace filesystem abstraction
+@hypit/package-loader-node installed package selection
+@hypit/markup official .svml Markup Frontend
+@hypit/svs SVS Recipe Frontend
+@hypit/run-markup official .svrun Markup Frontend
+@hypit/compiler-markup-node Markup Frontend + Surface Host assembly
```
### Layer 3:Foundations
@@ -45,18 +45,18 @@ Frontend;不存在一个认识全部语法的中央解析器。
可复用的数据与确定性构件。它们支撑视频创作,但不决定成片的创作结构,也不调用外部服务。
```text
-@narratage/artifact 内容寻址字节
-@narratage/component-kit Producer 与 Validator 注册
-@narratage/text 图原生文字模板
-@narratage/media 媒体值
-@narratage/temporal Selection 与 Moment 投影
-@narratage/spatial 布局几何
-@narratage/visual-ir 渲染器无关的视觉词汇
-@narratage/fonts-open 可分发字体资产
-@narratage/media-pipeline 媒体探测与规范化
-@narratage/media-execution 共享 ffmpeg 执行体
-@narratage/transport 调用边界
-@narratage/transport-aws-lambda Lambda transport
+@hypit/artifact 内容寻址字节
+@hypit/component-kit Producer 与 Validator 注册
+@hypit/text 图原生文字模板
+@hypit/media 媒体值
+@hypit/temporal Selection 与 Moment 投影
+@hypit/spatial 布局几何
+@hypit/visual-ir 渲染器无关的视觉词汇
+@hypit/fonts-open 可分发字体资产
+@hypit/media-pipeline 媒体探测与规范化
+@hypit/media-execution 共享 ffmpeg 执行体
+@hypit/transport 调用边界
+@hypit/transport-aws-lambda Lambda transport
```
### Layer 4:Video authoring
@@ -65,45 +65,45 @@ Frontend;不存在一个认识全部语法的中央解析器。
它们依赖公共合同,但不依赖某个具体 Provider 部署。
```text
-@narratage/narrative authored narrative products
-@narratage/script Script Surface
-@narratage/program-space exact frame/sample domain
-@narratage/generation 图像/视频/音频生成合同
-@narratage/model-kit model family abstractions
-@narratage/seedance Seedance model family + author Surface
-@narratage/seedance-kits 数据化的 Seedance 语义 Text Template
-@narratage/minimax-h3 MiniMax H3 model family
-@narratage/gemini-omni Gemini Omni model family
-@narratage/grok-imagine Grok Imagine model family
-@narratage/gpt-image GPT Image model family
-@narratage/nano-banana Nano Banana model family
-@narratage/seedream Seedream model family
-@narratage/mimo-tts 三个精确 Xiaomi MiMo TTS 模型及作者 Surface
-@narratage/estimate duration estimation
-@narratage/speech shared speech products
-@narratage/speech-basis generated speech A/V product
-@narratage/speech-evidence acoustic evidence products
-@narratage/semantic-map authored-token timing map
-@narratage/speech-alignment speech alignment
-@narratage/speech-spine ordered speech-take compilation
-@narratage/whisperx WhisperX component
-@narratage/caption caption planning and timing
-@narratage/caption-gemini Gemini caption planner
-@narratage/caption-fine 无字段细粒度字幕 Track family
-@narratage/media-track 统一的 Media Item/Sequence Track
-@narratage/typography-track typography overlay Track
-@narratage/audio-track arbitrary sample-domain Audio Track
-@narratage/deck-track depth-stack collection Track
-@narratage/ranking four ranking component families
-@narratage/screen-overlay self-contained full-canvas overlays
-@narratage/film Film composition
-@narratage/composition peer Track composition
-@narratage/hyperframes HyperFrames document compiler
-@narratage/render-hyperframes explicit HyperFrames rendering component
-@narratage/image-transform image processing component
-@narratage/image-compose 有序静态图像合成
-@narratage/raster 共享确定性光栅执行合同
-@narratage/background-removal 外部图像去背景能力
+@hypit/narrative authored narrative products
+@hypit/script Script Surface
+@hypit/program-space exact frame/sample domain
+@hypit/generation 图像/视频/音频生成合同
+@hypit/model-kit model family abstractions
+@hypit/seedance Seedance model family + author Surface
+@hypit/seedance-kits 数据化的 Seedance 语义 Text Template
+@hypit/minimax-h3 MiniMax H3 model family
+@hypit/gemini-omni Gemini Omni model family
+@hypit/grok-imagine Grok Imagine model family
+@hypit/gpt-image GPT Image model family
+@hypit/nano-banana Nano Banana model family
+@hypit/seedream Seedream model family
+@hypit/mimo-tts 三个精确 Xiaomi MiMo TTS 模型及作者 Surface
+@hypit/estimate duration estimation
+@hypit/speech shared speech products
+@hypit/speech-basis generated speech A/V product
+@hypit/speech-evidence acoustic evidence products
+@hypit/semantic-map authored-token timing map
+@hypit/speech-alignment speech alignment
+@hypit/speech-spine ordered speech-take compilation
+@hypit/whisperx WhisperX component
+@hypit/caption caption planning and timing
+@hypit/caption-gemini Gemini caption planner
+@hypit/caption-fine 无字段细粒度字幕 Track family
+@hypit/media-track 统一的 Media Item/Sequence Track
+@hypit/typography-track typography overlay Track
+@hypit/audio-track arbitrary sample-domain Audio Track
+@hypit/deck-track depth-stack collection Track
+@hypit/ranking four ranking component families
+@hypit/screen-overlay self-contained full-canvas overlays
+@hypit/film Film composition
+@hypit/composition peer Track composition
+@hypit/hyperframes HyperFrames document compiler
+@hypit/render-hyperframes explicit HyperFrames rendering component
+@hypit/image-transform image processing component
+@hypit/image-compose 有序静态图像合成
+@hypit/raster 共享确定性光栅执行合同
+@hypit/background-removal 外部图像去背景能力
```
### Layer 5:Providers
@@ -111,15 +111,15 @@ Frontend;不存在一个认识全部语法的中央解析器。
具备特权的外部能力。依赖 Runtime 端口与共享能力词汇,不依赖精确模型包,也绝不依赖 CLI。
```text
-@narratage/provider-kie KIE 生成与去背景
-@narratage/provider-media-local local ffprobe/ffmpeg
-@narratage/provider-whisperx-local local WhisperX service
-@narratage/provider-google-vertex Vertex Gemini caption planning
-@narratage/provider-hyperframes-local local Chrome rendering
-@narratage/provider-hyperframes-aws-lambda asynchronous distributed rendering
-@narratage/provider-image-opencv-local 本地 OpenCV 光栅执行
-@narratage/provider-media-aws-lambda synchronous AWS media execution
-@narratage/provider-xiaomi-mimo Xiaomi 官方 MiMo TTS API
+@hypit/provider-kie KIE 生成与去背景
+@hypit/provider-media-local local ffprobe/ffmpeg
+@hypit/provider-whisperx-local local WhisperX service
+@hypit/provider-google-vertex Vertex Gemini caption planning
+@hypit/provider-hyperframes-local local Chrome rendering
+@hypit/provider-hyperframes-aws-lambda asynchronous distributed rendering
+@hypit/provider-image-opencv-local 本地 OpenCV 光栅执行
+@hypit/provider-media-aws-lambda synchronous AWS media execution
+@hypit/provider-xiaomi-mimo Xiaomi 官方 MiMo TTS API
```
### Layer 6:Runtime
@@ -128,37 +128,37 @@ Frontend;不存在一个认识全部语法的中央解析器。
但不定义作者语法。
```text
-@narratage/runtime Scheduler、Worker 与 Store 端口
-@narratage/endpoint-kit Endpoint 声明
-@narratage/driver-node 可信 Node Command 执行器
-@narratage/runtime-kit 部署包 ABI
-@narratage/runtime-host-node Node Runtime Host ABI
-@narratage/runtime-local 本地 Worker 与组装
-@narratage/store-sqlite SQLite 状态
-@narratage/artifact-store-fs 文件系统 Artifact
-@narratage/artifact-store-s3 S3 Artifact
-@narratage/credential-store-env 环境变量凭据
-@narratage/credential-store-keychain macOS Keychain 凭据
+@hypit/runtime Scheduler、Worker 与 Store 端口
+@hypit/endpoint-kit Endpoint 声明
+@hypit/driver-node 可信 Node Command 执行器
+@hypit/runtime-kit 部署包 ABI
+@hypit/runtime-host-node Node Runtime Host ABI
+@hypit/runtime-local 本地 Worker 与组装
+@hypit/store-sqlite SQLite 状态
+@hypit/artifact-store-fs 文件系统 Artifact
+@hypit/artifact-store-s3 S3 Artifact
+@hypit/credential-store-env 环境变量凭据
+@hypit/credential-store-keychain macOS Keychain 凭据
```
### Layer 7:Applications
```text
-@narratage/cli generic command engine (requires explicit Distribution)
-@narratage/video-cli video command application (selects Markup compiler, no built-in author packages)
-@narratage/svml-playground development preview for a Source, never runs a Provider
+@hypit/cli generic command engine (requires explicit Distribution)
+@hypit/video-cli video command application (selects Markup compiler, no built-in author packages)
+@hypit/svml-playground development preview for a Source, never runs a Provider
```
## 依赖规则
包结构遵循三条依赖规则:
-1. **无环的生产依赖图。** 任何 `@narratage/*` 包之间都不存在依赖环。
+1. **无环的生产依赖图。** 任何 `@hypit/*` 包之间都不存在依赖环。
2. **领域无关 Core 闭包。** Layer 1 只有 `protocol` 与 `core`,且 `core` 只依赖 `protocol`。
Compiler 与 Runtime 也可以领域无关,但它们不属于 Core。
-3. **CLI 独立性。** `@narratage/cli` 和 `@narratage/video-cli` 都不会传递依赖任何 Provider 包。video CLI 同样不依赖任何作者层的视频包(`@narratage/script`、`@narratage/seedance`、`@narratage/media-track`、`@narratage/typography-track`、`@narratage/film`)。Source import 按需激活作者包,Runtime Profile 的逻辑 `use` 名称按需激活运行包;两者都不是 CLI 的编译期依赖。
+3. **CLI 独立性。** `@hypit/cli` 和 `@hypit/video-cli` 都不会传递依赖任何 Provider 包。video CLI 同样不依赖任何作者层的视频包(`@hypit/script`、`@hypit/seedance`、`@hypit/media-track`、`@hypit/typography-track`、`@hypit/film`)。Source import 按需激活作者包,Runtime Profile 的逻辑 `use` 名称按需激活运行包;两者都不是 CLI 的编译期依赖。
## 包的结构
@@ -178,24 +178,24 @@ packages/example/
```json
{
- "name": "@narratage/example",
+ "name": "@hypit/example",
"version": "0.0.0-dev",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
```
-- `"exports"` 在开发期间直接指向 TypeScript 源码。pnpm 工作区链接根据导入包自身声明的依赖解析 `@narratage/*`。
-- `"narratage.activation"` 是该包被选择时 Package Loader 会读取的入口。它必须默认导出一个 `NodePackageContribution`。
+- `"exports"` 在开发期间直接指向 TypeScript 源码。pnpm 工作区链接根据导入包自身声明的依赖解析 `@hypit/*`。
+- `"hypit.activation"` 是该包被选择时 Package Loader 会读取的入口。它必须默认导出一个 `NodePackageContribution`。
- 物理包版本在真正发布前保持 `0.0.0-dev`。Module 与 Frontend manifest 使用相互独立的逻辑协议版本 `1`。
### activation.ts
@@ -218,7 +218,7 @@ packages/example/
## 包选择
-Narratage 不维护中央包注册表,也不维护自定义包锁。npm 或 pnpm 负责安装、版本与字节完整性。
+Hypit 不维护中央包注册表,也不维护自定义包锁。npm 或 pnpm 负责安装、版本与字节完整性。
系统只有两条显式选择路径:
| 选择来源 | 被激活的包 |
@@ -242,7 +242,7 @@ Source 写的是逻辑语言能力。逻辑名按约定直接对应已安装的
Frontend 实现不是物理包格式里的特权字段。它们与 Run Fragment、Markup Surface、Runtime
Adapter 一样,通过自己的 Host ABI 发布普通 facet;Frontend 使用
-`narratage.source-frontend@1`,只有 Source Host 会解释它。
+`hypit.source-frontend@1`,只有 Source Host 会解释它。
Runtime Profile 也遵循同一规则。每个 `use` 选择的是 Runtime Host、Endpoint Adapter 或 Runtime
Infrastructure ABI 加逻辑名;物理 npm 包只负责声明它提供这个逻辑能力。通用 CLI 不维护
diff --git a/docs/zh/guide/providers.md b/docs/zh/guide/providers.md
index fb73e6b9..ab698ddf 100644
--- a/docs/zh/guide/providers.md
+++ b/docs/zh/guide/providers.md
@@ -21,21 +21,21 @@ Provider 包依赖 Runtime 端口与共享能力词汇,不依赖精确模型
```json
{
- "name": "@narratage/provider-my-service",
+ "name": "@hypit/provider-my-service",
"version": "0.0.0-dev",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts"
},
- "narratage": { "activation": "./src/activation.ts" },
+ "hypit": { "activation": "./src/activation.ts" },
"dependencies": {
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/runtime-host-node": "workspace:*",
- "@narratage/generation": "workspace:*"
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/runtime-host-node": "workspace:*",
+ "@hypit/generation": "workspace:*"
}
}
```
@@ -46,7 +46,7 @@ Provider 处理来自 Scheduler 的 Command:提交请求、轮询、下载以
```typescript
// src/provider.ts
-import { defineEndpointPackage } from "@narratage/endpoint-kit";
+import { defineEndpointPackage } from "@hypit/endpoint-kit";
export function createMyServiceProvider(options: {
instance: string;
@@ -55,7 +55,7 @@ export function createMyServiceProvider(options: {
defaultConcurrency?: number;
}) {
return defineEndpointPackage({
- module: { name: "@narratage/provider-my-service", version: "1" },
+ module: { name: "@hypit/provider-my-service", version: "1" },
facet: "service",
instance: options.instance,
pool: options.pool,
@@ -91,11 +91,11 @@ import {
runtimeConfigExact,
runtimeConfigObject,
runtimeConfigPositiveInteger,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import { createMyServiceProvider } from "./provider.js";
const adapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-my-service",
+ use: "@hypit/provider-my-service",
activate(context) {
if (context.pool === undefined) throw new Error("MyService pool is required");
@@ -115,12 +115,12 @@ const adapter = createRuntimeEndpointAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [adapter],
};
-export default narratagePackage;
+export default hypitPackage;
```
`activate` 是唯一的纯部署声明。它返回的 Endpoint 同时拥有供 `doctor` 与执行使用的凭据引用、
@@ -134,13 +134,13 @@ manifest 开关,也没有中央 Program 注册表:
```typescript
// src/program.ts
-import type { ManagedProgram } from "@narratage/runtime-kit";
+import type { ManagedProgram } from "@hypit/runtime-kit";
export function createMyProgram(): ManagedProgram {
return {
id: "my-service",
prepare: { command: "uv", args: ["sync", "--project", "services/my-service", "--frozen"] },
- start: { command: "uv", args: ["run", "--project", "services/my-service", "--frozen", "narratage-my-service"] },
+ start: { command: "uv", args: ["run", "--project", "services/my-service", "--frozen", "hypit-my-service"] },
probe: async () => {
// 返回 { state: "ready" } 或 { state: "down", detail: "..." }
},
@@ -152,7 +152,7 @@ export function createMyProgram(): ManagedProgram {
```typescript
const adapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-my-service",
+ use: "@hypit/provider-my-service",
activate(context) {
return {
endpoint: createMyServiceProvider(/* 已解析配置 */),
@@ -162,7 +162,7 @@ const adapter = createRuntimeEndpointAdapterFacet({
});
```
-`narratage runtime up` 会准备、启动并探测 Managed Program,然后启动耐久 Worker。`build` 只启动
+`hypit runtime up` 会准备、启动并探测 Managed Program,然后启动耐久 Worker。`build` 只启动
本次 Plan 所需 Capability 对应的 Program。只调用远程 API 的 Provider 不返回 `program`。
## 6. 注册并锁定
@@ -171,19 +171,19 @@ const adapter = createRuntimeEndpointAdapterFacet({
```json
"dependencies": {
- "@narratage/runtime-kit": "workspace:*"
+ "@hypit/runtime-kit": "workspace:*"
}
```
用项目的包管理器安装它。Runtime Profile 用 `use` 显式实例化之前,这个包始终不会运行。
-## 7. 在 narratage.runtime.json 中引用
+## 7. 在 hypit.runtime.json 中引用
```json
{
"endpoints": {
"my-service": {
- "use": "@narratage/provider-my-service",
+ "use": "@hypit/provider-my-service",
"pool": "my-service.account",
"config": {
"apiKey": { "store": "keychain", "key": "my-service.api-key" },
@@ -197,7 +197,7 @@ const adapter = createRuntimeEndpointAdapterFacet({
验证配置:
```bash
-narratage doctor narratage.runtime.json
+hypit doctor hypit.runtime.json
```
## 可供研究的现有 Provider
diff --git a/docs/zh/guide/runtime.md b/docs/zh/guide/runtime.md
index 2c00ebb9..fac680f1 100644
--- a/docs/zh/guide/runtime.md
+++ b/docs/zh/guide/runtime.md
@@ -1,11 +1,11 @@
---
title: Runtime
-description: Narratage Source 与 Core 之外的执行边界。
+description: Hypit Source 与 Core 之外的执行边界。
---
# Runtime
-Narratage 把三个决定分开:
+Hypit 把三个决定分开:
| 所有者 | 决定什么 |
|---|---|
@@ -16,7 +16,7 @@ Narratage 把三个决定分开:
Core 是领域无关的状态机。它接收事实、派生 Command、验证 Record,不启动进程、不读取凭证、
不选择 Provider,也不知道 Build 最终是不是视频。
-`@narratage/runtime-local` 是默认执行环境。它自己拥有 Worker、调度器、Build 队列和 SQLite。
+`@hypit/runtime-local` 是默认执行环境。它自己拥有 Worker、调度器、Build 队列和 SQLite。
这些是同一个本地实现,不再伪装成需要用户逐项选择的组件。
## Runtime Profile
@@ -25,20 +25,20 @@ Profile 只保留真正会随环境变化的选择:
```json
{
- "format": "narratage.runtime-profile@1",
+ "format": "hypit.runtime-profile@1",
"runtime": {
- "use": "@narratage/runtime-local",
+ "use": "@hypit/runtime-local",
"config": {
- "dataRoot": ".narratage/runtimes/local",
+ "dataRoot": ".hypit/runtimes/local",
"artifacts": {
- "use": "@narratage/artifact-store-fs",
+ "use": "@hypit/artifact-store-fs",
"config": { "path": "artifacts" }
},
"credentials": {
- "environment": { "use": "@narratage/credential-store-env" }
+ "environment": { "use": "@hypit/credential-store-env" }
},
"endpoints": {
- "media": { "use": "@narratage/provider-media-local" }
+ "media": { "use": "@hypit/provider-media-local" }
}
}
}
@@ -56,7 +56,7 @@ Provider 实现。
选择 Profile 会写入项目指针,执行数据位于 `dataRoot`:
```text
-.narratage/
+.hypit/
runtime
runtimes/
local/
@@ -87,9 +87,9 @@ Endpoint 可以声明 WhisperX 这类需要常驻的辅助程序。Endpoint 提
Runtime 只负责管理它。
```bash
-narratage programs status
-narratage programs up
-narratage programs down
+hypit programs status
+hypit programs up
+hypit programs down
```
这些命令只加载 Endpoint 包,不打开 SQLite、Artifact Store 或 Credential Store。
@@ -97,11 +97,11 @@ narratage programs down
## 生命周期
```bash
-narratage runtime use narratage.runtime.json
-narratage runtime up
-narratage runtime status
-narratage runtime logs
-narratage runtime down
+hypit runtime use hypit.runtime.json
+hypit runtime up
+hypit runtime status
+hypit runtime logs
+hypit runtime down
```
`runtime up` 启动本地 Worker。`build` 提交任务,`status`、`queue`、`cancel` 用来观察和控制。
diff --git a/docs/zh/guide/testing.md b/docs/zh/guide/testing.md
index 7619ebc0..a8799d35 100644
--- a/docs/zh/guide/testing.md
+++ b/docs/zh/guide/testing.md
@@ -7,7 +7,7 @@ description: 测试运行器、测试模式与环境门控的测试。
## 测试运行器
-Narratage 使用 Node.js 内置的测试运行器(`node:test`),而不是 Jest、Vitest 或 Mocha。
+Hypit 使用 Node.js 内置的测试运行器(`node:test`),而不是 Jest、Vitest 或 Mocha。
```bash
pnpm test # 包测试 + boundary 测试
@@ -21,7 +21,7 @@ pnpm test # 包测试 + boundary 测试
import assert from "node:assert/strict";
import { describe, test } from "node:test";
-import { someFunction } from "@narratage/example";
+import { someFunction } from "@hypit/example";
describe("someFunction", () => {
test("returns the expected result", () => {
@@ -79,8 +79,8 @@ test("generates a video", async (t) => {
| 命令 | 测试内容 | 前置条件 |
|---|---|---|
| `pnpm test:whisperx-service` | Python WhisperX 服务 | Python 3.13、uv、frozen sync |
-| `pnpm test:image-opencv` | OpenCV 图像变换 | `NARRATAGE_OPENCV_TESTS=1`、`NARRATAGE_OPENCV_PYTHON` |
-| `pnpm test:browser-visual` | 真实浏览器中的渲染几何、层叠与裁剪 | HyperFrames CLI 能启动的 Chrome、`ffmpeg`;非 macOS 还需 `NARRATAGE_TEST_FONT_PATH` |
+| `pnpm test:image-opencv` | OpenCV 图像变换 | `HYPIT_OPENCV_TESTS=1`、`HYPIT_OPENCV_PYTHON` |
+| `pnpm test:browser-visual` | 真实浏览器中的渲染几何、层叠与裁剪 | HyperFrames CLI 能启动的 Chrome、`ffmpeg`;非 macOS 还需 `HYPIT_TEST_FONT_PATH` |
| `pnpm smoke:kie` | 实时付费的 KIE 生成 | `KIE_API_KEY` |
## 测试 fixtures
diff --git a/docs/zh/index.md b/docs/zh/index.md
index a9032295..d58c5507 100644
--- a/docs/zh/index.md
+++ b/docs/zh/index.md
@@ -12,7 +12,7 @@ hero:
link: /zh/guide/develop
- theme: alt
text: GitHub
- link: https://github.com/hypit-ai/narratage
+ link: https://github.com/hypit-ai/hypit
---
<ClientOnly>
diff --git a/docs/zh/quickstart.md b/docs/zh/quickstart.md
index b3d86732..ad4bc5cd 100644
--- a/docs/zh/quickstart.md
+++ b/docs/zh/quickstart.md
@@ -1,11 +1,11 @@
---
title: 快速开始
-description: 安装 Narratage,编译第一张完整的 SVML 视频图,并准备真实 Build。
+description: 安装 Hypit,编译第一张完整的 SVML 视频图,并准备真实 Build。
---
# 快速开始
-**Narratage** 这个名字来自 1933 年《*New York Times*》对电影《*The Power and the
+**Hypit** 这个名字来自 1933 年《*New York Times*》对电影《*The Power and the
Glory*》的一篇影评。那位影评人造出这个词,用来描述当时的一种新兴电影手法:
**Narration + Montage** —— 旁白的声音推动故事前进,同时画面组接出与之呼应的蒙太奇。
@@ -13,23 +13,23 @@ Glory*》的一篇影评。那位影评人造出这个词,用来描述当时
文字与音频组装成一部完成的影片。Author Source 使用 SVML(Semantic Video Markup Language)编写,
扩展名为 `.svml`。
-Narratage 把这份源码编译成一张可见的执行图。在任何模型或外部服务开始工作之前,你可以先检查源码、
+Hypit 把这份源码编译成一张可见的执行图。在任何模型或外部服务开始工作之前,你可以先检查源码、
选择一次 Run,并看清这次 Build 究竟需要执行什么。本页先带你得到第一份安全的 Plan:不需要 API Key,
也不会产生任何付费请求。
## 克隆仓库
```bash
-git clone https://github.com/hypit-ai/narratage.git
-cd narratage
+git clone https://github.com/hypit-ai/hypit.git
+cd hypit
```
-## 使用 Narratage skill
+## 使用 Hypit skill
-在这个工作目录下就可以直接使用 `/narratage`。发送给你的 Agent:
+在这个工作目录下就可以直接使用 `/hypit`。发送给你的 Agent:
```text
-/narratage 配置我的环境,只向我索取当前 Runtime Profile 实际需要的 API key,然后带我完成第一支 SVML 视频的创作与 Build。
+/hypit 配置我的环境,只向我索取当前 Runtime Profile 实际需要的 API key,然后带我完成第一支 SVML 视频的创作与 Build。
```
它会走下面同样的五个步骤,并且只向你索取 Runtime Profile 实际需要的东西。不想用 Agent 的话,也可以自己依次完成这五步。
@@ -54,7 +54,7 @@ pnpm install --frozen-lockfile
npm link
```
-`pnpm check` 和 `pnpm test` 是修改 Narratage 本身时使用的整仓检查。第一次使用 CLI
+`pnpm check` 和 `pnpm test` 是修改 Hypit 本身时使用的整仓检查。第一次使用 CLI
不需要先跑完整测试。
## 2. 编译示例
@@ -64,7 +64,7 @@ npm link
```bash
cd examples/talking-film-graph-check
-narratage check main.svml
+hypit check main.svml
```
`check` 会读取自描述的源码,只加载源码导入的包,并列出这份 Author Source 声明的公共类型化输出。
@@ -72,7 +72,7 @@ narratage check main.svml
接着编译 Run Source:
```bash
-narratage plan build.svrun
+hypit plan build.svrun
```
`plan` 会连接 Author Graph 和 Run Graph,从 `final.video` 反向找到真正需要的子图,冻结将要使用的
@@ -80,9 +80,9 @@ Operations 与外部 Needs。它绝不会启动 Provider。
现在可以直接打开三份源码阅读:
-- [`main.svml`](https://github.com/hypit-ai/narratage/blob/main/examples/talking-film-graph-check/main.svml):视频本身;
-- [`studio.svs`](https://github.com/hypit-ai/narratage/blob/main/examples/talking-film-graph-check/studio.svs):可复用的视觉 Recipe;
-- [`build.svrun`](https://github.com/hypit-ai/narratage/blob/main/examples/talking-film-graph-check/build.svrun):这次要求得到的输出。
+- [`main.svml`](https://github.com/hypit-ai/hypit/blob/main/examples/talking-film-graph-check/main.svml):视频本身;
+- [`studio.svs`](https://github.com/hypit-ai/hypit/blob/main/examples/talking-film-graph-check/studio.svs):可复用的视觉 Recipe;
+- [`build.svrun`](https://github.com/hypit-ai/hypit/blob/main/examples/talking-film-graph-check/build.svrun):这次要求得到的输出。
## 3. 认识项目里的文件
@@ -93,7 +93,7 @@ Operations 与外部 Needs。它绝不会启动 Provider。
| `main.svml` | 要做的是什么视频? |
| `studio.svs` | 使用哪些可复用的 Recipe 值? |
| `build.svrun` | 这一次 Run 要哪些输出、选择哪些 Candidate? |
-| `narratage.runtime.json` | 在哪台机器、哪些 Store 和 Provider Endpoint 上执行? |
+| `hypit.runtime.json` | 在哪台机器、哪些 Store 和 Provider Endpoint 上执行? |
最短的记法是:
@@ -108,24 +108,24 @@ Runtime Profile 说明在哪里做。
## 4. 建立自己的项目
-把视频项目和生成产物放在 Narratage 仓库之外。完成上面的链接后,可以在独立项目目录里直接使用
-`narratage`:
+把视频项目和生成产物放在 Hypit 仓库之外。完成上面的链接后,可以在独立项目目录里直接使用
+`hypit`:
```bash
cd /path/to/my-video
-narratage runtime use narratage.runtime.json
+hypit runtime use hypit.runtime.json
-narratage plan build.svrun
+hypit plan build.svrun
```
含有 `package.json` 的项目负责自己的能力包安装;普通创作文件夹不需要成为 Node 项目,直接使用
链接仓库里的包。Source 与导出的文件留在项目里,Runtime 状态与 Artifact 位于所选 Profile 的
-`dataRoot`。`runtime use` 只在 `.narratage/runtime` 保存一个本地指针。Source import 选择作者包,
+`dataRoot`。`runtime use` 只在 `.hypit/runtime` 保存一个本地指针。Source import 选择作者包,
Profile 则通过 `use` 独立选择 Runtime 包。
需要完整 Runtime Profile 时,从
-[`examples/talking-film-live`](https://github.com/hypit-ai/narratage/tree/main/examples/talking-film-live) 的结构开始:复制文件结构,
+[`examples/talking-film-live`](https://github.com/hypit-ai/hypit/tree/main/examples/talking-film-live) 的结构开始:复制文件结构,
再换成自己的素材、Script、模型选择和凭据。
## 5. Build 并取出结果
@@ -133,7 +133,7 @@ Profile 则通过 `use` 独立选择 Runtime 包。
检查并确认计划之后:
```bash
-narratage build build.svrun --follow
+hypit build build.svrun --follow
```
`build` 会自动分配并打印一个新的 Build id、持久化这次 Build、确保对应 Worker 可用,并只启动
@@ -143,11 +143,11 @@ narratage build build.svrun --follow
Build 前必须重复的仪式。
```bash
-narratage status <build-id> --watch
+hypit status <build-id> --watch
-narratage queue
+hypit queue
-narratage get <build-id> \
+hypit get <build-id> \
--name final.video \
--to output/final.mp4
```
@@ -172,10 +172,10 @@ Runtime 会归档所有已经接受的中间 Record 和媒体。`get` 只负责
uv python install 3.13
uv sync --project services/whisperx --frozen
uv sync --project services/image-opencv --frozen
-uv run --project services/whisperx --frozen narratage-whisperx-prepare
+uv run --project services/whisperx --frozen hypit-whisperx-prepare
```
-修改 Runtime Profile 后运行 `narratage doctor narratage.runtime.json`。它会报告缺少的工具、凭据和
+修改 Runtime Profile 后运行 `hypit doctor hypit.runtime.json`。它会报告缺少的工具、凭据和
Endpoint 配置,但不会执行作者图。
## 接下来读什么
diff --git a/docs/zh/quickstart/composition.md b/docs/zh/quickstart/composition.md
index ebb7109c..bf4a783e 100644
--- a/docs/zh/quickstart/composition.md
+++ b/docs/zh/quickstart/composition.md
@@ -9,9 +9,9 @@ Film 是最终的组装阶段。它接收所有对等的 Track,对其进行验
Composition。然后渲染器将该 Composition 编译为 MP4 视频。
```svml
-<import as="space" from="@narratage/spatial@1"/>
-<import as="film" from="@narratage/film@1"/>
-<import as="render" from="@narratage/render-hyperframes@1"/>
+<import as="space" from="@hypit/spatial@1"/>
+<import as="film" from="@hypit/film@1"/>
+<import as="render" from="@hypit/render-hyperframes@1"/>
```
## film:Film
@@ -107,23 +107,23 @@ Build Target,也可以直接接到媒体裁切、音频/帧提取或模型参
### Author Source (`main.svml`)
```svml
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
- <import as="wording" from="@narratage/text@1"/>
- <import as="seedance" from="@narratage/seedance@1"/>
- <import as="speech" from="@narratage/speech-spine@1"/>
- <import as="whisperx" from="@narratage/whisperx@1"/>
- <import as="caption" from="@narratage/caption@1"/>
- <import as="caption-fine" from="@narratage/caption-fine@1"/>
- <import as="caption-ai" from="@narratage/caption-gemini@1"/>
- <import as="fonts" from="@narratage/fonts-open@1"/>
- <import as="media-track" from="@narratage/media-track@1"/>
- <import as="text" from="@narratage/typography-track@1"/>
- <import as="space" from="@narratage/spatial@1"/>
- <import as="film" from="@narratage/film@1"/>
- <import as="render" from="@narratage/render-hyperframes@1"/>
+ <import from="@hypit/script@1"/>
+ <import as="wording" from="@hypit/text@1"/>
+ <import as="seedance" from="@hypit/seedance@1"/>
+ <import as="speech" from="@hypit/speech-spine@1"/>
+ <import as="whisperx" from="@hypit/whisperx@1"/>
+ <import as="caption" from="@hypit/caption@1"/>
+ <import as="caption-fine" from="@hypit/caption-fine@1"/>
+ <import as="caption-ai" from="@hypit/caption-gemini@1"/>
+ <import as="fonts" from="@hypit/fonts-open@1"/>
+ <import as="media-track" from="@hypit/media-track@1"/>
+ <import as="text" from="@hypit/typography-track@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
+ <import as="film" from="@hypit/film@1"/>
+ <import as="render" from="@hypit/render-hyperframes@1"/>
<import as="studio" source="./studio.svs"/>
<!-- 1. Script: the semantic truth -->
@@ -199,7 +199,7 @@ Build Target,也可以直接接到媒体裁切、音频/帧提取或模型参
### 样式表 (`studio.svs`)
```svs
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1">
film.vertical {
@@ -231,7 +231,7 @@ Build Target,也可以直接接到媒体裁切、音频/帧提取或模型参
### Run Source (`build.svrun`)
```svml
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
@@ -242,9 +242,9 @@ Build Target,也可以直接接到媒体裁切、音频/帧提取或模型参
### 编译与验证
```bash
-narratage check examples/talking-film-graph-check/main.svml
+hypit check examples/talking-film-graph-check/main.svml
-narratage plan examples/talking-film-graph-check/build.svrun
+hypit plan examples/talking-film-graph-check/build.svrun
```
`check` 编译 Author Graph——验证所有导入、类型和图的边,而不调用任何外部服务。`plan`
diff --git a/docs/zh/quickstart/generation.md b/docs/zh/quickstart/generation.md
index 221b03c7..c9f8b351 100644
--- a/docs/zh/quickstart/generation.md
+++ b/docs/zh/quickstart/generation.md
@@ -10,11 +10,11 @@ description: 声明媒体资源并使用 Seedance 生成视频。
此处展示的每个组件在使用前都必须通过包标识符导入:
```svml
-<import as="media" from="@narratage/media@1"/>
-<import as="mediaop" from="@narratage/media-pipeline@1"/>
-<import as="estimate" from="@narratage/estimate@1"/>
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="media" from="@hypit/media@1"/>
+<import as="mediaop" from="@hypit/media-pipeline@1"/>
+<import as="estimate" from="@hypit/estimate@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="speaker-kit" source="./kits/speaker-v1.svs"/>
```
@@ -94,7 +94,7 @@ speech.normal {
一个可复用的字面 `Text` 值。它与模型无关,可以进入 Seedance、GPT Image 或任何声明的文字端口。
```svml
-<import as="text" from="@narratage/text@1"/>
+<import as="text" from="@hypit/text@1"/>
<text:Value id="alice-direction">
Locked medium close-up. Alice speaks directly to camera in a quiet daylight studio.
@@ -180,18 +180,18 @@ Endpoint,不会改变作者图。
## Seedance 语义 Kit
-`@narratage/seedance-kits` 包含七个纯数据 Text Template。Kit 不是模型包装器:先用通用
+`@hypit/seedance-kits` 包含七个纯数据 Text Template。Kit 不是模型包装器:先用通用
`text:Render` 生成 prompt,再把该 Text 与真实媒体引用显式接入低层 Seedance Surface。
-只把项目实际选择的 Kit `.svs` 文件复制进视频项目的 `./kits/` 目录,并导入这份项目内副本,使 Kit 字节保持在 Source Closure 内;项目源码不要反向引用 Narratage 仓库 checkout。
+只把项目实际选择的 Kit `.svs` 文件复制进视频项目的 `./kits/` 目录,并导入这份项目内副本,使 Kit 字节保持在 Source Closure 内;项目源码不要反向引用 Hypit 仓库 checkout。
创作前阅读
-[`@narratage/seedance-kits` 指南](https://github.com/hypit-ai/narratage/blob/main/packages/seedance-kits/README.md)
-和 [所选 Kit 源文件](https://github.com/hypit-ai/narratage/tree/main/packages/seedance-kits/kits)。格式匹配时优先使用官方 Kit。生成指令与动态 prompt slot 必须使用英语;只有需要逐字说出的对白保留作者原语言。七个 Kit 都不适用时,才编写自由格式的英语 prompt。
+[`@hypit/seedance-kits` 指南](https://github.com/hypit-ai/hypit/blob/main/packages/seedance-kits/README.md)
+和 [所选 Kit 源文件](https://github.com/hypit-ai/hypit/tree/main/packages/seedance-kits/kits)。格式匹配时优先使用官方 Kit。生成指令与动态 prompt slot 必须使用英语;只有需要逐字说出的对白保留作者原语言。七个 Kit 都不适用时,才编写自由格式的英语 prompt。
```svml
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="broll-kit" source="./kits/broll-v1.svs"/>
<text:Value id="product-story">
@@ -230,8 +230,8 @@ Endpoint,不会改变作者图。
使用 `street-interview-v1` 复用场景、角色、麦克风、音色和无叠加文字契约。构图、剪辑、节奏、表演、反应与手势由 SVS Recipe 选择;动态输入只保留对白与可选的单段动作:
```svml
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="interview-kit" source="./kits/street-interview-v1.svs"/>
<text:Value id="interview-action">
@@ -262,8 +262,8 @@ Endpoint,不会改变作者图。
dialogue/action 由普通 Text 模块组装,结果再像其他生成任务一样通过显式 `prompt` 边进入 Seedance。
```svml
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="speaker-kit" source="./kits/speaker-v1.svs"/>
<text:Value id="hook-action">
@@ -293,10 +293,10 @@ dialogue/action 由普通 Text 模块组装,结果再像其他生成任务一
一个两段拍摄的设置,估算时长进入显式 Text 组装与 Seedance 生成:
```svml
-<import as="media" from="@narratage/media@1"/>
-<import as="estimate" from="@narratage/estimate@1"/>
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="media" from="@hypit/media@1"/>
+<import as="estimate" from="@hypit/estimate@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="studio" source="./studio.svs"/>
<import as="speaker-kit" source="./kits/speaker-v1.svs"/>
diff --git a/docs/zh/quickstart/images.md b/docs/zh/quickstart/images.md
index 33e8af51..84b8ffe3 100644
--- a/docs/zh/quickstart/images.md
+++ b/docs/zh/quickstart/images.md
@@ -7,14 +7,14 @@ description: 在图片流向生成器或 Track 之前,对它做合成、校正
有三个包接收一张图片、交还一张图片。它们都不产出 Track:每个输出都是一张可供下游引用的图片——作为 Seedance 的参考帧、作为 Media Item,或作为下一次操作的来源。
-它们都需要 Endpoint。`image-compose` 与 `image-transform` 索取 raster 能力,由 `@narratage/provider-image-opencv-local` 在本机运行 OpenCV 来满足;`background-removal` 索取的是它自己声明的能力,由 `@narratage/provider-kie` 远程满足。本仓库没有示例默认绑定这两者,所以在 plan 一次用到它们的 Build 之前,先把 Endpoint 加进你的 [Runtime Profile](/zh/guide/runtime)。
+它们都需要 Endpoint。`image-compose` 与 `image-transform` 索取 raster 能力,由 `@hypit/provider-image-opencv-local` 在本机运行 OpenCV 来满足;`background-removal` 索取的是它自己声明的能力,由 `@hypit/provider-kie` 远程满足。本仓库没有示例默认绑定这两者,所以在 plan 一次用到它们的 Build 之前,先把 Endpoint 加进你的 [Runtime Profile](/zh/guide/runtime)。
## 合成图层
`compose:Image` 按书写顺序把各图层画到同一张画布上,交还一张 PNG。
```svml
-<import as="compose" from="@narratage/image-compose@1"/>
+<import as="compose" from="@hypit/image-compose@1"/>
```
元素接受 `id` 与 `canvas`,以及可选的 `background`——它必须带 alpha,写作 `#RRGGBBAA`,默认为完全透明。子元素是 `compose:Layer`,至少一个、至多六十四个,各自为空:
@@ -41,7 +41,7 @@ description: 在图片流向生成器或 Track 之前,对它做合成、校正
`image:Program` 是一份具名的操作清单,`image:Transform` 把它作用在某个来源上。这样拆开是有意的:一份写好的 program 可以套用到每一个需要同样处理的镜头上。
```svml
-<import as="image" from="@narratage/image-transform@1"/>
+<import as="image" from="@hypit/image-transform@1"/>
```
`image:Program` 只接受 `id`,操作以子元素形式书写,按书写顺序依次施加:
@@ -77,7 +77,7 @@ description: 在图片流向生成器或 Track 之前,对它做合成、校正
## 去除背景
```svml
-<import as="remove" from="@narratage/background-removal@1"/>
+<import as="remove" from="@hypit/background-removal@1"/>
```
`remove:Background` 必须为空,接受 `id` 与 `source`。它不挑选模型、阈值或存储——那是 endpoint 的事,不是 Source 的事。
diff --git a/docs/zh/quickstart/preview.md b/docs/zh/quickstart/preview.md
index fa2d1df6..0588c763 100644
--- a/docs/zh/quickstart/preview.md
+++ b/docs/zh/quickstart/preview.md
@@ -18,7 +18,7 @@ pnpm svml:playground -- --source examples/all-components-preview/main.svml
| --- | --- |
| `--source <main.svml>` | 要读取的 Author Source。必填。 |
| `--run <build.svrun>` | 一个 Run Source,从中读取它已经指名的素材与时序。 |
-| `--runtime <narratage.runtime.json>` | 早先 Build 产出的素材存放在哪里。只有通过 `<build-record>` 复用已接受镜头的 Source 才需要。 |
+| `--runtime <hypit.runtime.json>` | 早先 Build 产出的素材存放在哪里。只有通过 `<build-record>` 复用已接受镜头的 Source 才需要。 |
| `--port <number>` | 默认 `5179`。 |
两个可选参数是叠加的。两个都不给时,Playground 依然能在一个只有 `main.svml` 和 `.svs` 样式表的目录上运行,不需要 Runtime Profile 或已有 Build。
@@ -39,7 +39,7 @@ pkill -f svml-playground || true
**所有结构性的东西都是真的。** Placement Frame、padding、堆叠顺序、动效以及 Track 布局,都由构建时调用的同一批函数、从你的 Source 和样式表算出。一张卡片如果在画面里的位置不对,在这里同样是不对的。
-**时序是估算的**,直到某次构建对真实音频做过对齐为止。词的时长来自 `@narratage/estimate`——正是流水线在生成之前使用的那套音节模型。估算出的时间线是一种比例,而不是一个预言:等 WhisperX 对齐了真实音频,实际的剪切点会移动。
+**时序是估算的**,直到某次构建对真实音频做过对齐为止。词的时长来自 `@hypit/estimate`——正是流水线在生成之前使用的那套音节模型。估算出的时间线是一种比例,而不是一个预言:等 WhisperX 对齐了真实音频,实际的剪切点会移动。
**缺失的素材会有替身**,而且每个替身都会被明确标注,不会被当作事实呈现:
@@ -87,7 +87,7 @@ pkill -f svml-playground || true
随着素材逐渐积累,同一个预览会越来越接近真实,而 `main.svml` 一个字都不用改。用什么去读一个 Source 是一项创作决策,因此它写在 Run Source 里——见 [Run Source 与 Build](./run):
```svml
-<file id="take-1" type="@narratage/artifact@1#BlobArtifact"
+<file id="take-1" type="@hypit/artifact@1#BlobArtifact"
from="./assets/take-1.mp4" media-type="video/mp4"/>
<satisfy output="take-opening.video" candidate="take-1"/>
```
@@ -96,7 +96,7 @@ pkill -f svml-playground || true
## 当由 agent 来做这件事时
-如果你正在通过 [Narratage skill](https://github.com/hypit-ai/narratage/blob/main/.agents/skills/narratage/SKILL.md)工作,那么每当某个步骤改动了 Source——改了 Script、移了 Frame、放了 B-roll、调了 Recipe——agent 会为你启动 Playground 并把链接发给你。
+如果你正在通过 [Hypit skill](https://github.com/hypit-ai/hypit/blob/main/.agents/skills/hypit/SKILL.md)工作,那么每当某个步骤改动了 Source——改了 Script、移了 Frame、放了 B-roll、调了 Recipe——agent 会为你启动 Playground 并把链接发给你。
读 diff 和亲眼看见空镜落在哪里不是一回事,而此刻正是说出"那张卡片太靠上了"的最便宜的时机——在任何一个 Provider 跑起来之前。
diff --git a/docs/zh/quickstart/run.md b/docs/zh/quickstart/run.md
index e0562a77..31e09feb 100644
--- a/docs/zh/quickstart/run.md
+++ b/docs/zh/quickstart/run.md
@@ -10,25 +10,25 @@ Author Source 定义视频本身。Run Source 从中挑选要产出哪些公开
先为项目选择一次 Runtime:
```bash
-narratage runtime use narratage.runtime.json
+hypit runtime use hypit.runtime.json
```
日常制作只需要这条短路径:
```bash
-narratage plan build.svrun
-narratage build build.svrun --follow
-narratage get <build-id> --name final.video --to output/final.mp4
+hypit plan build.svrun
+hypit build build.svrun --follow
+hypit get <build-id> --name final.video --to output/final.mp4
```
-快速开始只需链接一次仓库命令。此后本页所有命令都直接写作 `narratage`,在仓库外的视频项目中也一样。
+快速开始只需链接一次仓库命令。此后本页所有命令都直接写作 `hypit`,在仓库外的视频项目中也一样。
只有 `build` 会真正提交工作。`plan` 是普通预览;`check` 用于编辑源码,`doctor` 用于配置和排查部署。它们都安全,但不是每次 Build 前必须重复的仪式。
```text
main.svml 作者意图
build.svrun 本次 Run 的 Target 与 Candidate 选择
-narratage.runtime.json 执行环境
+hypit.runtime.json 执行环境
```
Run Source 与 Runtime Profile 不会悄悄改写视频。创作性的模型选择仍然留在 Author Source,或它显式导入的包里。
@@ -38,13 +38,13 @@ Run Source 与 Runtime Profile 不会悄悄改写视频。创作性的模型选
每个 `.svrun` 文件都以其处理指令开头:
```svml
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
```
### 最简 Run Source
```svml
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
@@ -75,12 +75,12 @@ Target 就是你希望这次 Build 产出的东西。它可以是一张生成的
## 复用结果
-Narratage 没有隐式缓存。复用结果是显式的运行图编写——你将历史 Record 声明为零输入 Candidate,并通过 Satisfaction 边将它们连接起来。
+Hypit 没有隐式缓存。复用结果是显式的运行图编写——你将历史 Record 声明为零输入 Candidate,并通过 Satisfaction 边将它们连接起来。
生成图片或 Take 一经验收,就在下一份 `.svrun` 中用 `build-record` 与 `satisfy` 显式复用,并在启动付费下游工作前检查冻结 plan。Core 没有 Pin 状态或 fidelity 标签。
```svml
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
@@ -107,13 +107,13 @@ Narratage 没有隐式缓存。复用结果是显式的运行图编写——你
按照输出在各个历史 Build 冻结 Catalog 中的旧名字查询:
```bash
-narratage history hook-take.video
+hypit history hook-take.video
```
`history` 只列出该 Build 确实产出过的公开 Logical Output。仅仅在源码中声明但没有运行出来的别名,以及不能作为 `build-record` Candidate 的 authored Record 别名,都不会混入结果。如果忘了旧名字,可以按 Catalog 当时记录的精确源码路径列出真正验收过的输出名:
```bash
-narratage history --source ./main.svml
+hypit history --source ./main.svml
```
输出名只是某个不可变历史 Catalog 内供人查找的名字,不是产物身份。真正身份由历史 Core
@@ -126,7 +126,7 @@ Build、Logical Output 和 Record 摘要共同确定。假如当前源码把 `ho
<satisfy output="opening-shot.video" candidate="approved-opening"/>
```
-Narratage 永远不会猜测两个名字代表同一份作者意图。每次执行 `build` 都会得到一个新的
+Hypit 永远不会猜测两个名字代表同一份作者意图。每次执行 `build` 都会得到一个新的
Build id,由 CLI 打印并由 Runtime 归档。源码身份绝不会重新认领旧 Build;后续 Run 只有在
这里明确写出历史 Build id 时,才会复用它已经接受的结果。
@@ -158,7 +158,7 @@ Core 不再给 Candidate 标注 `exact` 或 `substitute`。选择 Candidate 本
本地文件就是最简单的零输入 Candidate:
```svml
-<file id="approved-opening" type="@narratage/artifact@1#BlobArtifact" from="./approved-opening.mp4" media-type="video/mp4"/>
+<file id="approved-opening" type="@hypit/artifact@1#BlobArtifact" from="./approved-opening.mp4" media-type="video/mp4"/>
<satisfy output="opening-shot.video" candidate="approved-opening"/>
```
@@ -171,11 +171,11 @@ Infrastructure 实例,再把实例暴露的 part 分配给 Runtime role,并
容量。Profile 不定义 Source Workspace 或 Author 包选择。
```bash
-narratage runtime use narratage.runtime.json
-narratage paths
+hypit runtime use hypit.runtime.json
+hypit paths
```
-`runtime use` 只写入 `.narratage/runtime`,不会启动 Worker、创建 Runtime 数据或修改已安装
+`runtime use` 只写入 `.hypit/runtime`,不会启动 Worker、创建 Runtime 数据或修改已安装
包。Profile 结构和完整边界见 [Runtime](../guide/runtime.md)。
## 配置所选凭据
@@ -197,7 +197,7 @@ export KIE_API_KEY
read -r -s MIMO_API_KEY
export MIMO_API_KEY
export GOOGLE_CLOUD_PROJECT="your-project-id"
-export GOOGLE_APPLICATION_CREDENTIALS_JSON="$(<"$HOME/.config/narratage/google-service-account.json")"
+export GOOGLE_APPLICATION_CREDENTIALS_JSON="$(<"$HOME/.config/hypit/google-service-account.json")"
```
在 Windows PowerShell 中:
@@ -206,7 +206,7 @@ export GOOGLE_APPLICATION_CREDENTIALS_JSON="$(<"$HOME/.config/narratage/google-s
$env:KIE_API_KEY = "your-key"
$env:MIMO_API_KEY = "your-key"
$env:GOOGLE_CLOUD_PROJECT = "your-project-id"
-$env:GOOGLE_APPLICATION_CREDENTIALS_JSON = Get-Content -Raw "$HOME\.config\narratage\google-service-account.json"
+$env:GOOGLE_APPLICATION_CREDENTIALS_JSON = Get-Content -Raw "$HOME\.config\hypit\google-service-account.json"
```
不要把凭据写进 Author Source、Run Source、Runtime Profile 源文件或提交内容。`doctor` 会验证所需凭据是否存在,但不会打印秘密值。
@@ -225,29 +225,29 @@ pnpm install
`runtime up` 会读取所选 Runtime Profile,并准备其中 Endpoint 声明的外部程序。只有 Profile 选择 WhisperX、OpenCV 等本地 Python 程序时,才需要先安装
[`uv`](https://docs.astral.sh/uv/);具体锁定环境命令见 Quickstart 首页的 [安装](../quickstart.md#安装)。
-`narratage runtime up` 管理后台 Worker 和外部程序;`build` 会确保 Runtime 已运行,但不拥有
+`hypit runtime up` 管理后台 Worker 和外部程序;`build` 会确保 Runtime 已运行,但不拥有
Worker。
-#### 把正式视频项目放在 Narratage 仓库之外
+#### 把正式视频项目放在 Hypit 仓库之外
作者文件不必位于本仓库之下。例如,项目放在 `/work/my-film`,同时复用
-`/opt/narratage` 中已安装的包:
+`/opt/hypit` 中已安装的包:
```bash
cd /work/my-film
-narratage runtime use narratage.runtime.json
-narratage plan build.svrun
+hypit runtime use hypit.runtime.json
+hypit plan build.svrun
```
-Workspace 依次取显式 `--workspace`、所选 `.narratage/runtime` 所在项目和入口 Source 目录。
+Workspace 依次取显式 `--workspace`、所选 `.hypit/runtime` 所在项目和入口 Source 目录。
Runtime Profile 无权改变这条源码边界。`--package-root` 只定位已经安装的
`node_modules`;`--asset-root` 只额外授权读取素材字节。
外部项目通常应提交如下 `.gitignore`:
```text
-.narratage/
+.hypit/
output/
```
@@ -256,7 +256,7 @@ output/
共享只读素材库不必复制进项目,也不必放宽 Source 边界:
```bash
-narratage plan /work/my-film/build.svrun --asset-root /work/shared-media
+hypit plan /work/my-film/build.svrun --asset-root /work/shared-media
```
`--asset-root` 可重复使用,只授权读取素材字节,不允许从那里导入 `.svml/.svs` 源码。该 Host
@@ -269,7 +269,7 @@ Runtime Profile 只选择 Runtime 包与该 Runtime 的封闭配置。完整结
```bash
cd examples/talking-head-aroll
-narratage runtime use narratage.runtime.json
+hypit runtime use hypit.runtime.json
```
Author/Run Source 通过 import 选择作者包,Runtime Profile 通过 `use` 选择环境包;安装、版本
@@ -278,7 +278,7 @@ Author/Run Source 通过 import 选择作者包,Runtime Profile 通过 `use`
### 2. 诊断环境
```bash
-narratage doctor
+hypit doctor
```
Doctor 校验全部显式 Runtime 角色、Endpoint 配置、凭据是否存在和有界环境探测;它不启动 Worker,也不发付费请求。
@@ -290,11 +290,11 @@ Doctor 校验全部显式 Runtime 角色、Endpoint 配置、凭据是否存在
### 3. 检查 Source 与计划
```bash
-narratage check main.svml
+hypit check main.svml
```
```bash
-narratage plan build.svrun
+hypit plan build.svrun
```
在花费资金之前审查冻结的 BuildPlan。该计划展示调度器将发出的每个 Operation 和 Needs;选择
@@ -306,7 +306,7 @@ Runtime 后只预检这次计划真正需要的 Endpoint、凭据和外部程序
### 4. 提交 Build
```bash
-narratage build build.svrun --follow
+hypit build build.svrun --follow
```
不带 `--follow` 时,Build 在耐久提交后退出,后台 Worker 继续。带 `--follow` 时终端也只是观察者,并会报告 phase / Operation 数量变化;Ctrl-C 不会取消任务。
@@ -314,7 +314,7 @@ narratage build build.svrun --follow
任何时候都可以重新接入观察:
```bash
-narratage status <build-id> --watch
+hypit status <build-id> --watch
```
普通的 `status <build-id>` 只打印一次快照。`status --watch` 会在 Build 进入终态时退出;脚本需要限制等待时间时可以加 `--max-wait-ms`。
@@ -334,13 +334,13 @@ narratage status <build-id> --watch
### 5. 检查并获取结果
```bash
-narratage inspect <build-id>
+hypit inspect <build-id>
```
`inspect` 会显示耐久 Build 状态、所需输出与已接受的 Record。确认这些事实正确后,再获取所选归档 Artifact:
```bash
-narratage get <build-id> \
+hypit get <build-id> \
--name final.video \
--to examples/talking-head-aroll/output/final.mp4
```
@@ -355,14 +355,14 @@ Build 的最终输出会为每个目标别名打印精确的 `get --name …`
创建一个引用已完成 Build 的 Record 的新 `.svrun` 文件(参见上文 [复用结果](#复用结果)),然后提交:
```bash
-narratage build reuse-generated.svrun --follow
+hypit build reuse-generated.svrun --follow
```
### 7. 诊断或停止本地 Runtime
```bash
-narratage runtime logs
-narratage runtime down
+hypit runtime logs
+hypit runtime down
```
`runtime down` 只会让 Worker 停止领取新 Build,并保留外部程序;只有确实要停掉这些程序时
diff --git a/docs/zh/quickstart/script.md b/docs/zh/quickstart/script.md
index 7b60b5c2..c5c8f085 100644
--- a/docs/zh/quickstart/script.md
+++ b/docs/zh/quickstart/script.md
@@ -8,7 +8,7 @@ description: Script Surface——Segment、Role Cue、Dual Text、Selection、Mo
`<script>` 元素承载旁白或讲者说出的每一个字。Script 以**散文为先**:它不包含时间码、不引用媒体、不设定样式、不携带生成参数。管线中的其他组件都会读取 Script;Script 本身不读取任何内容。
```svml
-<import from="@narratage/script@1"/>
+<import from="@hypit/script@1"/>
<script id="story">
<opening>
@@ -17,7 +17,7 @@ description: Script Surface——Segment、Role Cue、Dual Text、Selection、Mo
</script>
```
-引入 `@narratage/script@1` 会激活 Script Surface。`id` 属性让其他组件可以引用该 Script 及其各部分。
+引入 `@hypit/script@1` 会激活 Script Surface。`id` 属性让其他组件可以引用该 Script 及其各部分。
## Segment
diff --git a/docs/zh/quickstart/styles.md b/docs/zh/quickstart/styles.md
index d8d88665..4a1f5aa4 100644
--- a/docs/zh/quickstart/styles.md
+++ b/docs/zh/quickstart/styles.md
@@ -10,7 +10,7 @@ SVS(`.svs`)文件使用类 CSS 语法定义可复用的类型化配置值。
## 基本语法
```svs
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1" id="studio">
film.vertical {
@@ -25,7 +25,7 @@ SVS(`.svs`)文件使用类 CSS 语法定义可复用的类型化配置值。
</sheet>
```
-- 处理指令 `<?svml using="@narratage/svs@1"?>` 用于选择 SVS 解析器。
+- 处理指令 `<?svml using="@hypit/svs@1"?>` 用于选择 SVS 解析器。
- `<sheet>` 元素包裹所有声明。`id` 属性成为顶层命名空间。
- 每个块的格式为 `namespace.name { ... }`,属性以 `;` 结尾的键值对形式书写。
- 注释使用 `/* ... */`。
@@ -336,7 +336,7 @@ interview.street {
SVS 描述字体策略,但不选择或打开字体字节。常用开源字体由私有的预发布字体目录显式导入;只有作者图真正引用的字体会进入本次 Build:
```svml
-<import as="fonts" from="@narratage/fonts-open@1"/>
+<import as="fonts" from="@hypit/fonts-open@1"/>
<fonts:Stack id="caption-fonts" family="inter" weight="600" style="normal" emoji="color">
<fonts:Fallback family="noto-sans-sc" weight="600" style="normal"/>
@@ -364,7 +364,7 @@ Caption Recipe 不再重复家族、字重或字形。CJK 与 Emoji 即使由多
品牌字体与自定义字体仍是显式作者资产,不会被塞进共享目录:
```svml
-<import as="media" from="@narratage/media@1"/>
+<import as="media" from="@hypit/media@1"/>
<media:Font id="brand" src="./assets/Brand-Semibold.woff2"
weight="600" style="normal"/>
```
@@ -374,7 +374,7 @@ Caption Recipe 不再重复家族、字重或字形。CJK 与 Emoji 即使由多
一个完整的 `studio.svs` 文件,用于四段式说话人头像项目:
```svs
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1" id="studio">
speech.normal {
diff --git a/docs/zh/quickstart/timing.md b/docs/zh/quickstart/timing.md
index 1570ac7f..658e0a85 100644
--- a/docs/zh/quickstart/timing.md
+++ b/docs/zh/quickstart/timing.md
@@ -8,9 +8,9 @@ description: Speech Spine 装配与 WhisperX 对齐——将生成的片段连
生成完成后,各个片段必须拼接成一个连续的音视频坐标空间,并且需要将语音内容与实际音频进行比对,以创建时序映射。这两个步骤产生 **ProgramSpace** 和 **SemanticMap**,所有下游组件均依赖于它们。
```svml
-<import as="speech" from="@narratage/speech-spine@1"/>
-<import as="whisperx" from="@narratage/whisperx@1"/>
-<import as="space" from="@narratage/spatial@1"/>
+<import as="speech" from="@hypit/speech-spine@1"/>
+<import as="whisperx" from="@hypit/whisperx@1"/>
+<import as="space" from="@hypit/spatial@1"/>
<import as="studio" source="./studio.svs"/>
```
@@ -157,9 +157,9 @@ Map 只包含最终词窗口和语义锚点,不传播“测量、推导、估
完整的时序阶段,从生成的片段到映射和空间:
```svml
-<import as="speech" from="@narratage/speech-spine@1"/>
-<import as="whisperx" from="@narratage/whisperx@1"/>
-<import as="space" from="@narratage/spatial@1"/>
+<import as="speech" from="@hypit/speech-spine@1"/>
+<import as="whisperx" from="@hypit/whisperx@1"/>
+<import as="space" from="@hypit/spatial@1"/>
<import as="studio" source="./studio.svs"/>
<!-- Assemble takes in program order -->
diff --git a/docs/zh/quickstart/tracks.md b/docs/zh/quickstart/tracks.md
index fccb5dff..95f31e50 100644
--- a/docs/zh/quickstart/tracks.md
+++ b/docs/zh/quickstart/tracks.md
@@ -18,11 +18,11 @@ Script 显示全集 → Caption Program → Planner + Atom 实测时间 → 样
```
```svml
-<import as="caption" from="@narratage/caption@1"/>
-<import as="caption-fine" from="@narratage/caption-fine@1"/>
-<import as="caption-ai" from="@narratage/caption-gemini@1"/>
-<import as="media" from="@narratage/media@1"/>
-<import as="fonts" from="@narratage/fonts-open@1"/>
+<import as="caption" from="@hypit/caption@1"/>
+<import as="caption-fine" from="@hypit/caption-fine@1"/>
+<import as="caption-ai" from="@hypit/caption-gemini@1"/>
+<import as="media" from="@hypit/media@1"/>
+<import as="fonts" from="@hypit/fonts-open@1"/>
```
公共 Caption 只负责 Cue 字数边界、可选的通用逐词字段、完整样式分配、Plan 校验与时间拼接。Fine 是第一种无字段样式族,负责自己的几何、字形/Cue/Pill Paint 与局部动画。
@@ -111,8 +111,8 @@ Dual Text 右侧。
B-roll 是通用 Media Track 的一种剪辑用途,不是独立 Track 家族。一个 Item 可以在语义或绝对窗口内放置图片、生成视频、已规范化含时素材或 Compositable Surface。
```svml
-<import as="media-track" from="@narratage/media-track@1"/>
-<import as="wording" from="@narratage/text@1"/>
+<import as="media-track" from="@hypit/media-track@1"/>
+<import as="wording" from="@hypit/text@1"/>
```
### media-track:Track 与 media-track:Item
@@ -162,13 +162,13 @@ Operation。需要共享或特殊选流时仍可显式写 `<pipeline:Normalize>`
## Audio Track
-`@narratage/audio-track` 把显式准备好的音频放进与视觉 Track 相同的 ProgramSpace。`Clip`
+`@hypit/audio-track` 把显式准备好的音频放进与视觉 Track 相同的 ProgramSpace。`Clip`
消费 `SynchronizedMedia`;先规范化已声明或生成的音频 Blob,再选择精确节目窗口与占用方式:
```svml
-<import as="media" from="@narratage/media@1"/>
-<import as="pipeline" from="@narratage/media-pipeline@1"/>
-<import as="audio" from="@narratage/audio-track@1"/>
+<import as="media" from="@hypit/media@1"/>
+<import as="pipeline" from="@hypit/media-pipeline@1"/>
+<import as="audio" from="@hypit/audio-track@1"/>
<media:Audio id="music" src="./assets/music.wav"/>
<pipeline:Normalize id="music-media" source={music}
@@ -200,8 +200,8 @@ Track 都会作为独立输入进入 Film。输出 `{music-bed.track}` 是普通
在屏幕上显示的静态或定时文字——标题、标注、下方三分之一字幕条。
```svml
-<import as="text" from="@narratage/typography-track@1"/>
-<import as="wording" from="@narratage/text@1"/>
+<import as="text" from="@hypit/typography-track@1"/>
+<import as="wording" from="@hypit/text@1"/>
```
### text:Track
@@ -285,7 +285,7 @@ Run 时,继续使用内联 `P`/`Span`/`Break`。
| `ranking:TypewriterList` | `ranking:TypewriterItem` | `ranking:TypewriterListStyle` |
```svml
-<import as="ranking" from="@narratage/ranking@1"/>
+<import as="ranking" from="@hypit/ranking@1"/>
```
### 样式标签
@@ -334,7 +334,7 @@ Run 时,继续使用内联 `P`/`Span`/`Break`。
卡片堆按深度排布卡片:一张在最前,其余向后退去,每张新卡在一个 Moment 上发出。Media Item 是把一个镜头放进一个 Frame,而卡片堆是在同一个 Frame 里维持一叠并整体移动它们。
```svml
-<import as="deck" from="@narratage/deck-track@1"/>
+<import as="deck" from="@hypit/deck-track@1"/>
```
### deck:DepthStack
@@ -373,7 +373,7 @@ DepthStack 的直接子元素,自闭合,至少一张,按书写顺序发出
覆盖在整个画面之上、而非落在某个 Frame 里的效果:切点上的一次闪白、持续整个 Selection 的暗角、铺满全片的颗粒。一条 Track 承载全部,每个子元素是一个效果加它自己的时间窗。
```svml
-<import as="screen" from="@narratage/screen-overlay@1"/>
+<import as="screen" from="@hypit/screen-overlay@1"/>
```
`screen:Track` 接受 `id`、`canvas` 与 `space`。它的子元素就是各个效果,至少一个,各自为空,都必须带 `z` 决定层叠顺序,并且各有一个时间窗,形式是以下之一:
@@ -403,7 +403,7 @@ DepthStack 的直接子元素,自闭合,至少一张,按书写顺序发出
放置在 Frame 中的社交风格评论卡:头像、作者、评论正文,以及可选的一行附注。
```svml
-<import as="comment" from="@narratage/comment-sticker@1"/>
+<import as="comment" from="@hypit/comment-sticker@1"/>
```
`comment:Style` 必须为空,接受 `id`、`recipe` 与 `font`,全部必填。Recipe 承载整张卡的外观——背景、描边、圆角、气泡尾、头像、三行文字,以及进入/停留/退出的动效——每个键都有默认值,所以一份 recipe 只需写它要改的部分。
@@ -429,16 +429,16 @@ DepthStack 的直接子元素,自闭合,至少一张,按书写顺序发出
四类 Track 在一个源文件中协同使用:
```svml
-<import as="caption" from="@narratage/caption@1"/>
-<import as="caption-fine" from="@narratage/caption-fine@1"/>
-<import as="caption-ai" from="@narratage/caption-gemini@1"/>
-<import as="fonts" from="@narratage/fonts-open@1"/>
-<import as="media" from="@narratage/media@1"/>
-<import as="pipeline" from="@narratage/media-pipeline@1"/>
-<import as="media-track" from="@narratage/media-track@1"/>
-<import as="text" from="@narratage/typography-track@1"/>
-<import as="audio" from="@narratage/audio-track@1"/>
-<import as="space" from="@narratage/spatial@1"/>
+<import as="caption" from="@hypit/caption@1"/>
+<import as="caption-fine" from="@hypit/caption-fine@1"/>
+<import as="caption-ai" from="@hypit/caption-gemini@1"/>
+<import as="fonts" from="@hypit/fonts-open@1"/>
+<import as="media" from="@hypit/media@1"/>
+<import as="pipeline" from="@hypit/media-pipeline@1"/>
+<import as="media-track" from="@hypit/media-track@1"/>
+<import as="text" from="@hypit/typography-track@1"/>
+<import as="audio" from="@hypit/audio-track@1"/>
+<import as="space" from="@hypit/spatial@1"/>
<!-- Captions: primary style for all text -->
<fonts:Stack id="caption-font" family="inter" weight="700" style="normal"/>
diff --git a/examples/all-components-preview/build.svrun b/examples/all-components-preview/build.svrun
index 278c7bef..0d3fea84 100644
--- a/examples/all-components-preview/build.svrun
+++ b/examples/all-components-preview/build.svrun
@@ -1,4 +1,4 @@
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
diff --git a/examples/all-components-preview/narratage.runtime.json b/examples/all-components-preview/hypit.runtime.json
similarity index 64%
rename from examples/all-components-preview/narratage.runtime.json
rename to examples/all-components-preview/hypit.runtime.json
index 7d8a7c2d..71bfdc3c 100644
--- a/examples/all-components-preview/narratage.runtime.json
+++ b/examples/all-components-preview/hypit.runtime.json
@@ -1,16 +1,16 @@
{
- "format": "narratage.runtime-profile@1",
+ "format": "hypit.runtime-profile@1",
"runtime": {
- "use": "@narratage/runtime-local",
+ "use": "@hypit/runtime-local",
"config": {
- "dataRoot": ".narratage/runtimes/local",
- "artifacts": { "use": "@narratage/artifact-store-fs", "config": { "path": "artifacts" } },
+ "dataRoot": ".hypit/runtimes/local",
+ "artifacts": { "use": "@hypit/artifact-store-fs", "config": { "path": "artifacts" } },
"credentials": {
- "environment": { "use": "@narratage/credential-store-env" }
+ "environment": { "use": "@hypit/credential-store-env" }
},
"endpoints": {
"kie.all-components": {
- "use": "@narratage/provider-kie",
+ "use": "@hypit/provider-kie",
"pool": "generation",
"config": {
"apiKey": { "store": "env", "key": "KIE_API_KEY" },
@@ -18,22 +18,22 @@
}
},
"media.all-components": {
- "use": "@narratage/provider-media-local",
+ "use": "@hypit/provider-media-local",
"pool": "media",
"config": { "defaultConcurrency": 2 }
},
"whisperx.all-components": {
- "use": "@narratage/provider-whisperx-local",
+ "use": "@hypit/provider-whisperx-local",
"pool": "alignment",
"config": { "defaultConcurrency": 1 }
},
"hyperframes.all-components": {
- "use": "@narratage/provider-hyperframes-local",
+ "use": "@hypit/provider-hyperframes-local",
"pool": "render",
"config": { "defaultConcurrency": 1 }
},
"vertex.all-components": {
- "use": "@narratage/provider-google-vertex",
+ "use": "@hypit/provider-google-vertex",
"pool": "planning",
"config": {
"projectEnv": "GOOGLE_CLOUD_PROJECT",
diff --git a/examples/all-components-preview/image-only.svrun b/examples/all-components-preview/image-only.svrun
index 6dcd51c4..3d916c4e 100644
--- a/examples/all-components-preview/image-only.svrun
+++ b/examples/all-components-preview/image-only.svrun
@@ -1,4 +1,4 @@
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
diff --git a/examples/all-components-preview/main.svml b/examples/all-components-preview/main.svml
index 407d348b..d557eeae 100644
--- a/examples/all-components-preview/main.svml
+++ b/examples/all-components-preview/main.svml
@@ -1,25 +1,25 @@
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
- <import as="wording" from="@narratage/text@1"/>
- <import as="seedance" from="@narratage/seedance@1"/>
- <import as="media" from="@narratage/media@1"/>
- <import as="gpt" from="@narratage/gpt-image@1"/>
- <import as="speech" from="@narratage/speech-spine@1"/>
- <import as="whisperx" from="@narratage/whisperx@1"/>
- <import as="media-track" from="@narratage/media-track@1"/>
- <import as="ranking" from="@narratage/ranking@1"/>
- <import as="screen" from="@narratage/screen-overlay@1"/>
- <import as="deck" from="@narratage/deck-track@1"/>
- <import as="caption" from="@narratage/caption@1"/>
- <import as="caption-fine" from="@narratage/caption-fine@1"/>
- <import as="caption-ai" from="@narratage/caption-gemini@1"/>
- <import as="fonts" from="@narratage/fonts-open@1"/>
- <import as="text" from="@narratage/typography-track@1"/>
- <import as="space" from="@narratage/spatial@1"/>
- <import as="film" from="@narratage/film@1"/>
- <import as="render" from="@narratage/render-hyperframes@1"/>
+ <import from="@hypit/script@1"/>
+ <import as="wording" from="@hypit/text@1"/>
+ <import as="seedance" from="@hypit/seedance@1"/>
+ <import as="media" from="@hypit/media@1"/>
+ <import as="gpt" from="@hypit/gpt-image@1"/>
+ <import as="speech" from="@hypit/speech-spine@1"/>
+ <import as="whisperx" from="@hypit/whisperx@1"/>
+ <import as="media-track" from="@hypit/media-track@1"/>
+ <import as="ranking" from="@hypit/ranking@1"/>
+ <import as="screen" from="@hypit/screen-overlay@1"/>
+ <import as="deck" from="@hypit/deck-track@1"/>
+ <import as="caption" from="@hypit/caption@1"/>
+ <import as="caption-fine" from="@hypit/caption-fine@1"/>
+ <import as="caption-ai" from="@hypit/caption-gemini@1"/>
+ <import as="fonts" from="@hypit/fonts-open@1"/>
+ <import as="text" from="@hypit/typography-track@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
+ <import as="film" from="@hypit/film@1"/>
+ <import as="render" from="@hypit/render-hyperframes@1"/>
<import as="studio" source="./studio.svs"/>
<!-- One Script, written so every Track below is placed by something said
diff --git a/examples/all-components-preview/reuse.svrun b/examples/all-components-preview/reuse.svrun
index 95abfc73..8eddb49f 100644
--- a/examples/all-components-preview/reuse.svrun
+++ b/examples/all-components-preview/reuse.svrun
@@ -1,4 +1,4 @@
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
@@ -6,7 +6,7 @@
<!-- The presenter frame this project generated, kept beside the Source so a
preview shows the real shot without reaching for a Runtime. -->
- <file id="accepted-presenter" type="@narratage/artifact@1#BlobArtifact"
+ <file id="accepted-presenter" type="@hypit/artifact@1#BlobArtifact"
from="./assets/presenter.png" media-type="image/png"/>
<satisfy output="presenter.image" candidate="accepted-presenter"/>
</svrun>
diff --git a/examples/all-components-preview/studio.svs b/examples/all-components-preview/studio.svs
index e0469d90..1d53186b 100644
--- a/examples/all-components-preview/studio.svs
+++ b/examples/all-components-preview/studio.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1">
film.vertical { background: #05060a; }
diff --git a/examples/bootstrap/README.md b/examples/bootstrap/README.md
index 8d361315..7c933a85 100644
--- a/examples/bootstrap/README.md
+++ b/examples/bootstrap/README.md
@@ -5,7 +5,7 @@ self-described Markup entry source can import the Script Surface and recursively
source selected by another Header. There is no built-in video prelude or suffix-selected parser:
```bash
-narratage check examples/bootstrap/main.svml --workspace .
+hypit check examples/bootstrap/main.svml --workspace .
```
The Recipe is intentionally unused. This example therefore checks Source/Module Closure and
diff --git a/examples/bootstrap/main.svml b/examples/bootstrap/main.svml
index 9b149b9e..db49e1d8 100644
--- a/examples/bootstrap/main.svml
+++ b/examples/bootstrap/main.svml
@@ -1,7 +1,7 @@
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
+ <import from="@hypit/script@1"/>
<import as="studio" source="./studio.svs"/>
<script id="story">
diff --git a/examples/bootstrap/studio.svs b/examples/bootstrap/studio.svs
index a9285ffd..e9c39961 100644
--- a/examples/bootstrap/studio.svs
+++ b/examples/bootstrap/studio.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1" id="studio">
caption.host {
diff --git a/examples/street-interview-preview/README.md b/examples/street-interview-preview/README.md
index 37f3f6f6..a8ef6b04 100644
--- a/examples/street-interview-preview/README.md
+++ b/examples/street-interview-preview/README.md
@@ -19,7 +19,7 @@ transcript already exist, and the Run Source says so.
recording, but a transcript is not a SemanticMap. A map is keyed by *this*
Script's own anchor identities, and pairing loose words with authored tokens is
the aligner's job. `align-transcript.ts` runs the real one — `locateSpeechTiming`
-from `@narratage/speech-alignment` — and writes two values:
+from `@hypit/speech-alignment` — and writes two values:
```bash
node --import tsx examples/street-interview-preview/align-transcript.ts
@@ -29,7 +29,7 @@ node --import tsx examples/street-interview-preview/align-transcript.ts
The Run Source then satisfies the two Outputs a timeline needs:
```xml
-<value id="aligned-map" type="@narratage/semantic-map@1#CompleteSemanticMap" from="./timing.json"/>
+<value id="aligned-map" type="@hypit/semantic-map@1#CompleteSemanticMap" from="./timing.json"/>
<satisfy output="timing.map" candidate="aligned-map"/>
```
diff --git a/examples/street-interview-preview/align-transcript.ts b/examples/street-interview-preview/align-transcript.ts
index 2f87d2c1..cba2f0ae 100644
--- a/examples/street-interview-preview/align-transcript.ts
+++ b/examples/street-interview-preview/align-transcript.ts
@@ -20,12 +20,12 @@ import { readFileSync, writeFileSync } from "node:fs";
import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";
-import { parseScript } from "@narratage/script";
-import type { AlignedTranscriptEvidence, AlignedTranscriptSegment } from "@narratage/speech-evidence";
-import { locateSpeechTiming } from "@narratage/speech-alignment";
-import type { SpeechAudioBasis } from "@narratage/speech";
-import { programSpaceFrameCount, sealProgramSpace } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
+import { parseScript } from "@hypit/script";
+import type { AlignedTranscriptEvidence, AlignedTranscriptSegment } from "@hypit/speech-evidence";
+import { locateSpeechTiming } from "@hypit/speech-alignment";
+import type { SpeechAudioBasis } from "@hypit/speech";
+import { programSpaceFrameCount, sealProgramSpace } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
const here = dirname(fileURLToPath(import.meta.url));
const repoRoot = join(here, "../..");
@@ -80,7 +80,7 @@ for (const scene of SCENES) {
// long as the whole frames its recordings occupy.
const frameCount = Math.ceil(elapsed * FRAME_RATE.numerator / FRAME_RATE.denominator);
const space: ProgramSpace = sealProgramSpace({
- contract: "narratage.program-space@1",
+ contract: "hypit.program-space@1",
durationSec: frameCount * FRAME_RATE.denominator / FRAME_RATE.numerator,
frameRate: { ...FRAME_RATE },
});
@@ -104,7 +104,7 @@ const segments: AlignedTranscriptSegment[] = bounds.map((segment) => ({
}));
const evidence: AlignedTranscriptEvidence = {
- contract: "narratage.aligned-transcript-evidence@1",
+ contract: "hypit.aligned-transcript-evidence@1",
durationSec: space.durationSec,
segments,
};
@@ -116,7 +116,7 @@ const evidence: AlignedTranscriptEvidence = {
* the bytes.
*/
const basis: SpeechAudioBasis = {
- contract: "narratage.speech-audio-basis@1",
+ contract: "hypit.speech-audio-basis@1",
programSpace: space,
audio: {
kind: "blob",
diff --git a/examples/street-interview-preview/build.svrun b/examples/street-interview-preview/build.svrun
index fd25a07a..9f2efaef 100644
--- a/examples/street-interview-preview/build.svrun
+++ b/examples/street-interview-preview/build.svrun
@@ -1,4 +1,4 @@
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
@@ -7,26 +7,26 @@
<!-- Footage the documentation site already ships. It is 24 fps, which is the
frame rate this Source declares, so the preview can show it as authored
rather than normalizing it. -->
- <file id="scene-hook" type="@narratage/artifact@1#BlobArtifact"
+ <file id="scene-hook" type="@hypit/artifact@1#BlobArtifact"
from="../../docs/public/street-interview/scene-1.mp4" media-type="video/mp4"/>
- <file id="scene-price" type="@narratage/artifact@1#BlobArtifact"
+ <file id="scene-price" type="@hypit/artifact@1#BlobArtifact"
from="../../docs/public/street-interview/scene-2.mp4" media-type="video/mp4"/>
- <file id="scene-rainbow" type="@narratage/artifact@1#BlobArtifact"
+ <file id="scene-rainbow" type="@hypit/artifact@1#BlobArtifact"
from="../../docs/public/street-interview/scene-3.mp4" media-type="video/mp4"/>
- <file id="scene-payment" type="@narratage/artifact@1#BlobArtifact"
+ <file id="scene-payment" type="@hypit/artifact@1#BlobArtifact"
from="../../docs/public/street-interview/scene-4.mp4" media-type="video/mp4"/>
- <file id="cut-bags" type="@narratage/artifact@1#BlobArtifact"
+ <file id="cut-bags" type="@hypit/artifact@1#BlobArtifact"
from="../../docs/public/street-interview/broll-2.mp4" media-type="video/mp4"/>
- <file id="cut-fee" type="@narratage/artifact@1#BlobArtifact"
+ <file id="cut-fee" type="@hypit/artifact@1#BlobArtifact"
from="../../docs/public/street-interview/broll-3.mp4" media-type="video/mp4"/>
- <file id="cut-receipt" type="@narratage/artifact@1#BlobArtifact"
+ <file id="cut-receipt" type="@hypit/artifact@1#BlobArtifact"
from="../../docs/public/street-interview/broll-4.mp4" media-type="video/mp4"/>
<!-- The recorded transcript, aligned onto this Script's own anchors by
./align-transcript.ts. Which timings a Source is read with is an
authoring decision, so it is made here. -->
- <value id="aligned-map" type="@narratage/semantic-map@1#CompleteSemanticMap" from="./timing.json"/>
- <value id="aligned-space" type="@narratage/program-space@1#ProgramSpace" from="./space.json"/>
+ <value id="aligned-map" type="@hypit/semantic-map@1#CompleteSemanticMap" from="./timing.json"/>
+ <value id="aligned-space" type="@hypit/program-space@1#ProgramSpace" from="./space.json"/>
<satisfy output="timing.map" candidate="aligned-map"/>
<satisfy output="speech.space" candidate="aligned-space"/>
diff --git a/examples/street-interview-preview/main.svml b/examples/street-interview-preview/main.svml
index 48a3ca6d..36d68fbd 100644
--- a/examples/street-interview-preview/main.svml
+++ b/examples/street-interview-preview/main.svml
@@ -1,19 +1,19 @@
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
- <import as="wording" from="@narratage/text@1"/>
- <import as="seedance" from="@narratage/seedance@1"/>
- <import as="speech" from="@narratage/speech-spine@1"/>
- <import as="whisperx" from="@narratage/whisperx@1"/>
- <import as="media-track" from="@narratage/media-track@1"/>
- <import as="caption" from="@narratage/caption@1"/>
- <import as="caption-fine" from="@narratage/caption-fine@1"/>
- <import as="caption-ai" from="@narratage/caption-gemini@1"/>
- <import as="fonts" from="@narratage/fonts-open@1"/>
- <import as="space" from="@narratage/spatial@1"/>
- <import as="film" from="@narratage/film@1"/>
- <import as="render" from="@narratage/render-hyperframes@1"/>
+ <import from="@hypit/script@1"/>
+ <import as="wording" from="@hypit/text@1"/>
+ <import as="seedance" from="@hypit/seedance@1"/>
+ <import as="speech" from="@hypit/speech-spine@1"/>
+ <import as="whisperx" from="@hypit/whisperx@1"/>
+ <import as="media-track" from="@hypit/media-track@1"/>
+ <import as="caption" from="@hypit/caption@1"/>
+ <import as="caption-fine" from="@hypit/caption-fine@1"/>
+ <import as="caption-ai" from="@hypit/caption-gemini@1"/>
+ <import as="fonts" from="@hypit/fonts-open@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
+ <import as="film" from="@hypit/film@1"/>
+ <import as="render" from="@hypit/render-hyperframes@1"/>
<import as="studio" source="./studio.svs"/>
<!-- The words are the ones actually spoken in the recorded interview, so the
diff --git a/examples/street-interview-preview/space.json b/examples/street-interview-preview/space.json
index df007639..aca0261e 100644
--- a/examples/street-interview-preview/space.json
+++ b/examples/street-interview-preview/space.json
@@ -1,5 +1,5 @@
{
- "contract": "narratage.program-space@1",
+ "contract": "hypit.program-space@1",
"durationSec": 31.291666666666668,
"frameRate": {
"numerator": 24,
diff --git a/examples/street-interview-preview/studio.svs b/examples/street-interview-preview/studio.svs
index 8749e196..ce4018e2 100644
--- a/examples/street-interview-preview/studio.svs
+++ b/examples/street-interview-preview/studio.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1">
film.vertical { background: #08080a; }
diff --git a/examples/street-interview-preview/timing.json b/examples/street-interview-preview/timing.json
index 950144e0..c631a370 100644
--- a/examples/street-interview-preview/timing.json
+++ b/examples/street-interview-preview/timing.json
@@ -1,5 +1,5 @@
{
- "contract": "narratage.complete-semantic-map@1",
+ "contract": "hypit.complete-semantic-map@1",
"tokens": [
{
"tokenId": "segment:hook:token:1",
diff --git a/examples/talking-film-broll-preview/main.svml b/examples/talking-film-broll-preview/main.svml
index 93964d35..37da004c 100644
--- a/examples/talking-film-broll-preview/main.svml
+++ b/examples/talking-film-broll-preview/main.svml
@@ -1,15 +1,15 @@
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
- <import as="wording" from="@narratage/text@1"/>
- <import as="seedance" from="@narratage/seedance@1"/>
- <import as="speech" from="@narratage/speech-spine@1"/>
- <import as="whisperx" from="@narratage/whisperx@1"/>
- <import as="media-track" from="@narratage/media-track@1"/>
- <import as="space" from="@narratage/spatial@1"/>
- <import as="film" from="@narratage/film@1"/>
- <import as="render" from="@narratage/render-hyperframes@1"/>
+ <import from="@hypit/script@1"/>
+ <import as="wording" from="@hypit/text@1"/>
+ <import as="seedance" from="@hypit/seedance@1"/>
+ <import as="speech" from="@hypit/speech-spine@1"/>
+ <import as="whisperx" from="@hypit/whisperx@1"/>
+ <import as="media-track" from="@hypit/media-track@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
+ <import as="film" from="@hypit/film@1"/>
+ <import as="render" from="@hypit/render-hyperframes@1"/>
<import as="studio" source="./studio.svs"/>
<script id="story">
diff --git a/examples/talking-film-broll-preview/studio.svs b/examples/talking-film-broll-preview/studio.svs
index 08c1b268..153f456a 100644
--- a/examples/talking-film-broll-preview/studio.svs
+++ b/examples/talking-film-broll-preview/studio.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1">
film.vertical { background: #09090B; }
diff --git a/examples/talking-film-graph-check/README.md b/examples/talking-film-graph-check/README.md
index 9e10f338..9e9ab167 100644
--- a/examples/talking-film-graph-check/README.md
+++ b/examples/talking-film-graph-check/README.md
@@ -7,12 +7,12 @@ HyperFrames.
```bash
cd examples/talking-film-graph-check
-narratage check main.svml
-narratage check build.svrun
-narratage plan build.svrun
+hypit check main.svml
+hypit check build.svrun
+hypit plan build.svrun
```
The Gemini planner receives readable indivisible display atoms and resolved Style runs only. Its
-generic `CaptionPlan` joins the independent `CompleteSemanticMap` in `@narratage/caption`; neither
+generic `CaptionPlan` joins the independent `CompleteSemanticMap` in `@hypit/caption`; neither
the planner nor the Vertex Provider has text-rewriting or timing authority.
-`@narratage/caption-fine` alone owns Recipe interpretation and the concrete visual renderer.
+`@hypit/caption-fine` alone owns Recipe interpretation and the concrete visual renderer.
diff --git a/examples/talking-film-graph-check/build.svrun b/examples/talking-film-graph-check/build.svrun
index 278c7bef..0d3fea84 100644
--- a/examples/talking-film-graph-check/build.svrun
+++ b/examples/talking-film-graph-check/build.svrun
@@ -1,4 +1,4 @@
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
diff --git a/examples/talking-film-graph-check/frame-smoke.svrun b/examples/talking-film-graph-check/frame-smoke.svrun
index 54a83cc7..6e0f101b 100644
--- a/examples/talking-film-graph-check/frame-smoke.svrun
+++ b/examples/talking-film-graph-check/frame-smoke.svrun
@@ -1,4 +1,4 @@
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
diff --git a/examples/talking-film-graph-check/main.svml b/examples/talking-film-graph-check/main.svml
index 12315eec..c31e680e 100644
--- a/examples/talking-film-graph-check/main.svml
+++ b/examples/talking-film-graph-check/main.svml
@@ -1,20 +1,20 @@
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
- <import as="wording" from="@narratage/text@1"/>
- <import as="seedance" from="@narratage/seedance@1"/>
- <import as="speech" from="@narratage/speech-spine@1"/>
- <import as="whisperx" from="@narratage/whisperx@1"/>
- <import as="media-track" from="@narratage/media-track@1"/>
- <import as="caption" from="@narratage/caption@1"/>
- <import as="caption-fine" from="@narratage/caption-fine@1"/>
- <import as="caption-ai" from="@narratage/caption-gemini@1"/>
- <import as="fonts" from="@narratage/fonts-open@1"/>
- <import as="text" from="@narratage/typography-track@1"/>
- <import as="space" from="@narratage/spatial@1"/>
- <import as="film" from="@narratage/film@1"/>
- <import as="render" from="@narratage/render-hyperframes@1"/>
+ <import from="@hypit/script@1"/>
+ <import as="wording" from="@hypit/text@1"/>
+ <import as="seedance" from="@hypit/seedance@1"/>
+ <import as="speech" from="@hypit/speech-spine@1"/>
+ <import as="whisperx" from="@hypit/whisperx@1"/>
+ <import as="media-track" from="@hypit/media-track@1"/>
+ <import as="caption" from="@hypit/caption@1"/>
+ <import as="caption-fine" from="@hypit/caption-fine@1"/>
+ <import as="caption-ai" from="@hypit/caption-gemini@1"/>
+ <import as="fonts" from="@hypit/fonts-open@1"/>
+ <import as="text" from="@hypit/typography-track@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
+ <import as="film" from="@hypit/film@1"/>
+ <import as="render" from="@hypit/render-hyperframes@1"/>
<import as="studio" source="./studio.svs"/>
<script id="story">
diff --git a/examples/talking-film-graph-check/studio.svs b/examples/talking-film-graph-check/studio.svs
index 79a68cfb..6ae3edc0 100644
--- a/examples/talking-film-graph-check/studio.svs
+++ b/examples/talking-film-graph-check/studio.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1">
film.vertical { background: #09090B; }
diff --git a/examples/talking-film-live/README.md b/examples/talking-film-live/README.md
index ba0d1bfc..93aeeb8c 100644
--- a/examples/talking-film-live/README.md
+++ b/examples/talking-film-live/README.md
@@ -22,8 +22,8 @@ Prerequisites for the exact checked-in Runtime Profile:
- `ffmpeg`, `ffprobe`, Chrome/HyperFrames and the prepared managed local WhisperX service.
Prepare and health-check WhisperX as described in
-[`../../services/whisperx/README.md`](../../services/whisperx/README.md). `narratage check` validates
-the source and Run Graph without making a paid Provider request. `narratage build` assembles the
+[`../../services/whisperx/README.md`](../../services/whisperx/README.md). `hypit check` validates
+the source and Run Graph without making a paid Provider request. `hypit build` assembles the
selected Runtime and rejects missing capability coverage before scheduling external work; neither
command promises that remote credentials and service health are valid.
@@ -33,14 +33,14 @@ filesystem Artifacts, credentials, KIE, media, WhisperX, Vertex and HyperFrames
```bash
cd examples/talking-film-live
-narratage runtime use narratage.runtime.json
-narratage runtime up
+hypit runtime use hypit.runtime.json
+hypit runtime up
-narratage build build.svrun --follow
+hypit build build.svrun --follow
-narratage inspect <build-id>
+hypit inspect <build-id>
-narratage get <build-id> \
+hypit get <build-id> \
--name final.video \
--to output/final.mp4
```
@@ -48,17 +48,17 @@ narratage get <build-id> \
`build` prints the fresh automatic Build id assigned to this durable submission. `--follow` only
observes the detached Worker; closing this terminal does not cancel the Build.
-`build.svrun` owns the Targets and any explicit Candidate selections. `narratage.runtime.json` owns Provider instances,
+`build.svrun` owns the Targets and any explicit Candidate selections. `hypit.runtime.json` owns Provider instances,
credentials and their capacity. The Build archives all accepted intermediate Records and referenced
Artifacts even when no destination path is requested. `get` only makes an optional copy of the
already archived named target. The CLI accepts the declarative JSON Runtime Profile shown here;
-applications that embed Narratage assemble Runtime roles directly through `@narratage/runtime-local`.
+applications that embed Hypit assemble Runtime roles directly through `@hypit/runtime-local`.
To reuse the paid shot outputs from a verified earlier Build, add two zero-input Build Record
Candidates and their explicit Satisfaction edges to another `.svrun`:
```xml
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
<target output="final.video"/>
diff --git a/examples/talking-film-live/build.svrun b/examples/talking-film-live/build.svrun
index 278c7bef..0d3fea84 100644
--- a/examples/talking-film-live/build.svrun
+++ b/examples/talking-film-live/build.svrun
@@ -1,4 +1,4 @@
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
diff --git a/examples/talking-film-live/narratage.runtime.json b/examples/talking-film-live/hypit.runtime.json
similarity index 60%
rename from examples/talking-film-live/narratage.runtime.json
rename to examples/talking-film-live/hypit.runtime.json
index 71679b1a..adb6e2ed 100644
--- a/examples/talking-film-live/narratage.runtime.json
+++ b/examples/talking-film-live/hypit.runtime.json
@@ -1,31 +1,31 @@
{
- "format": "narratage.runtime-profile@1",
+ "format": "hypit.runtime-profile@1",
"runtime": {
- "use": "@narratage/runtime-local",
+ "use": "@hypit/runtime-local",
"config": {
- "dataRoot": ".narratage/runtimes/local",
- "artifacts": { "use": "@narratage/artifact-store-fs", "config": { "path": "artifacts" } },
+ "dataRoot": ".hypit/runtimes/local",
+ "artifacts": { "use": "@hypit/artifact-store-fs", "config": { "path": "artifacts" } },
"credentials": {
- "environment": { "use": "@narratage/credential-store-env" }
+ "environment": { "use": "@hypit/credential-store-env" }
},
"endpoints": {
"kie.talking-film": {
- "use": "@narratage/provider-kie",
+ "use": "@hypit/provider-kie",
"config": {
"apiKey": { "store": "env", "key": "KIE_API_KEY" },
"defaultConcurrency": 2
}
},
"media.talking-film": {
- "use": "@narratage/provider-media-local",
+ "use": "@hypit/provider-media-local",
"config": { "defaultConcurrency": 2 }
},
"whisperx.talking-film": {
- "use": "@narratage/provider-whisperx-local",
+ "use": "@hypit/provider-whisperx-local",
"config": { "defaultConcurrency": 1 }
},
"vertex.talking-film": {
- "use": "@narratage/provider-google-vertex",
+ "use": "@hypit/provider-google-vertex",
"config": {
"projectEnv": "GOOGLE_CLOUD_PROJECT",
"credentials": { "store": "env", "key": "GOOGLE_APPLICATION_CREDENTIALS_JSON" },
@@ -33,7 +33,7 @@
}
},
"hyperframes.talking-film": {
- "use": "@narratage/provider-hyperframes-local",
+ "use": "@hypit/provider-hyperframes-local",
"config": { "workers": 2, "quality": "standard", "defaultConcurrency": 1 }
}
}
diff --git a/examples/talking-film-live/main.svml b/examples/talking-film-live/main.svml
index 05dd29cb..d92923cd 100644
--- a/examples/talking-film-live/main.svml
+++ b/examples/talking-film-live/main.svml
@@ -1,21 +1,21 @@
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
- <import as="wording" from="@narratage/text@1"/>
- <import as="media" from="@narratage/media@1"/>
- <import as="estimate" from="@narratage/estimate@1"/>
- <import as="seedance" from="@narratage/seedance@1"/>
- <import as="speech" from="@narratage/speech-spine@1"/>
- <import as="whisperx" from="@narratage/whisperx@1"/>
- <import as="caption" from="@narratage/caption@1"/>
- <import as="caption-fine" from="@narratage/caption-fine@1"/>
- <import as="caption-ai" from="@narratage/caption-gemini@1"/>
- <import as="fonts" from="@narratage/fonts-open@1"/>
- <import as="text" from="@narratage/typography-track@1"/>
- <import as="space" from="@narratage/spatial@1"/>
- <import as="film" from="@narratage/film@1"/>
- <import as="render" from="@narratage/render-hyperframes@1"/>
+ <import from="@hypit/script@1"/>
+ <import as="wording" from="@hypit/text@1"/>
+ <import as="media" from="@hypit/media@1"/>
+ <import as="estimate" from="@hypit/estimate@1"/>
+ <import as="seedance" from="@hypit/seedance@1"/>
+ <import as="speech" from="@hypit/speech-spine@1"/>
+ <import as="whisperx" from="@hypit/whisperx@1"/>
+ <import as="caption" from="@hypit/caption@1"/>
+ <import as="caption-fine" from="@hypit/caption-fine@1"/>
+ <import as="caption-ai" from="@hypit/caption-gemini@1"/>
+ <import as="fonts" from="@hypit/fonts-open@1"/>
+ <import as="text" from="@hypit/typography-track@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
+ <import as="film" from="@hypit/film@1"/>
+ <import as="render" from="@hypit/render-hyperframes@1"/>
<import as="studio" source="./studio.svs"/>
<script id="story">
diff --git a/examples/talking-film-live/studio.svs b/examples/talking-film-live/studio.svs
index adf36b48..10920965 100644
--- a/examples/talking-film-live/studio.svs
+++ b/examples/talking-film-live/studio.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1">
film.vertical {
diff --git a/examples/talking-head-aroll/README.md b/examples/talking-head-aroll/README.md
index d6e3590e..e420fe6f 100644
--- a/examples/talking-head-aroll/README.md
+++ b/examples/talking-head-aroll/README.md
@@ -27,30 +27,30 @@ Select the Runtime Profile:
```sh
cd examples/talking-head-aroll
-narratage runtime use narratage.runtime.json
+hypit runtime use hypit.runtime.json
```
Inspect the authored graph—including the visible `*.prompt` Text output and `*.program`—without a paid call:
```sh
-narratage check main.svml
+hypit check main.svml
```
Inspect the exact paid plan before submitting it:
```sh
-narratage plan build.svrun
+hypit plan build.svrun
```
Build the complete film after preparing the managed local WhisperX service and exposing `KIE_API_KEY`,
`GOOGLE_CLOUD_PROJECT` and `GOOGLE_APPLICATION_CREDENTIALS_JSON`:
```sh
-narratage runtime up
+hypit runtime up
-narratage build build.svrun --follow
+hypit build build.svrun --follow
-narratage get <build-id> \
+hypit get <build-id> \
--name final.video \
--to output/final.mp4
```
@@ -62,7 +62,7 @@ Run the same downstream film from the four archived generated shots without anot
submission:
```sh
-narratage build reuse-generated.svrun --follow
+hypit build reuse-generated.svrun --follow
```
Before this second command, replace `REPLACE_WITH_BUILD_ID` in `reuse-generated.svrun` with the
diff --git a/examples/talking-head-aroll/build.svrun b/examples/talking-head-aroll/build.svrun
index 7e7d1471..d22b48b0 100644
--- a/examples/talking-head-aroll/build.svrun
+++ b/examples/talking-head-aroll/build.svrun
@@ -1,4 +1,4 @@
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
diff --git a/examples/talking-head-aroll/narratage.runtime.json b/examples/talking-head-aroll/hypit.runtime.json
similarity index 62%
rename from examples/talking-head-aroll/narratage.runtime.json
rename to examples/talking-head-aroll/hypit.runtime.json
index 9aaf9004..7cce4311 100644
--- a/examples/talking-head-aroll/narratage.runtime.json
+++ b/examples/talking-head-aroll/hypit.runtime.json
@@ -1,31 +1,31 @@
{
- "format": "narratage.runtime-profile@1",
+ "format": "hypit.runtime-profile@1",
"runtime": {
- "use": "@narratage/runtime-local",
+ "use": "@hypit/runtime-local",
"config": {
- "dataRoot": ".narratage/runtimes/local",
- "artifacts": { "use": "@narratage/artifact-store-fs", "config": { "path": "artifacts" } },
+ "dataRoot": ".hypit/runtimes/local",
+ "artifacts": { "use": "@hypit/artifact-store-fs", "config": { "path": "artifacts" } },
"credentials": {
- "environment": { "use": "@narratage/credential-store-env" }
+ "environment": { "use": "@hypit/credential-store-env" }
},
"endpoints": {
"kie.talking-head-aroll": {
- "use": "@narratage/provider-kie",
+ "use": "@hypit/provider-kie",
"config": {
"apiKey": { "store": "env", "key": "KIE_API_KEY" },
"defaultConcurrency": 2
}
},
"media.talking-head-aroll": {
- "use": "@narratage/provider-media-local",
+ "use": "@hypit/provider-media-local",
"config": { "defaultConcurrency": 2 }
},
"whisperx.talking-head-aroll": {
- "use": "@narratage/provider-whisperx-local",
+ "use": "@hypit/provider-whisperx-local",
"config": { "defaultConcurrency": 1 }
},
"vertex.talking-head-aroll": {
- "use": "@narratage/provider-google-vertex",
+ "use": "@hypit/provider-google-vertex",
"config": {
"projectEnv": "GOOGLE_CLOUD_PROJECT",
"credentials": { "store": "env", "key": "GOOGLE_APPLICATION_CREDENTIALS_JSON" },
@@ -34,7 +34,7 @@
}
},
"hyperframes.talking-head-aroll": {
- "use": "@narratage/provider-hyperframes-local",
+ "use": "@hypit/provider-hyperframes-local",
"config": { "workers": 2, "quality": "standard", "defaultConcurrency": 1 }
}
}
diff --git a/examples/talking-head-aroll/kits/speaker-v1.svs b/examples/talking-head-aroll/kits/speaker-v1.svs
index c06ca8b1..4537dd20 100644
--- a/examples/talking-head-aroll/kits/speaker-v1.svs
+++ b/examples/talking-head-aroll/kits/speaker-v1.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/text/svs@1"?>
+<?svml using="@hypit/text/svs@1"?>
<sheet version="1" id="speaker-v1">
text-template.speaker-v1 {
diff --git a/examples/talking-head-aroll/main.svml b/examples/talking-head-aroll/main.svml
index 68fbd589..c37dd893 100644
--- a/examples/talking-head-aroll/main.svml
+++ b/examples/talking-head-aroll/main.svml
@@ -1,20 +1,20 @@
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
- <import as="wording" from="@narratage/text@1"/>
- <import as="media" from="@narratage/media@1"/>
- <import as="estimate" from="@narratage/estimate@1"/>
- <import as="seedance" from="@narratage/seedance@1"/>
- <import as="speech" from="@narratage/speech-spine@1"/>
- <import as="whisperx" from="@narratage/whisperx@1"/>
- <import as="caption" from="@narratage/caption@1"/>
- <import as="caption-fine" from="@narratage/caption-fine@1"/>
- <import as="caption-ai" from="@narratage/caption-gemini@1"/>
- <import as="fonts" from="@narratage/fonts-open@1"/>
- <import as="space" from="@narratage/spatial@1"/>
- <import as="film" from="@narratage/film@1"/>
- <import as="render" from="@narratage/render-hyperframes@1"/>
+ <import from="@hypit/script@1"/>
+ <import as="wording" from="@hypit/text@1"/>
+ <import as="media" from="@hypit/media@1"/>
+ <import as="estimate" from="@hypit/estimate@1"/>
+ <import as="seedance" from="@hypit/seedance@1"/>
+ <import as="speech" from="@hypit/speech-spine@1"/>
+ <import as="whisperx" from="@hypit/whisperx@1"/>
+ <import as="caption" from="@hypit/caption@1"/>
+ <import as="caption-fine" from="@hypit/caption-fine@1"/>
+ <import as="caption-ai" from="@hypit/caption-gemini@1"/>
+ <import as="fonts" from="@hypit/fonts-open@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
+ <import as="film" from="@hypit/film@1"/>
+ <import as="render" from="@hypit/render-hyperframes@1"/>
<import as="studio" source="./studio.svs"/>
<import as="speaker-kit" source="./kits/speaker-v1.svs"/>
diff --git a/examples/talking-head-aroll/reuse-generated.svrun b/examples/talking-head-aroll/reuse-generated.svrun
index 6db314da..402c04f6 100644
--- a/examples/talking-head-aroll/reuse-generated.svrun
+++ b/examples/talking-head-aroll/reuse-generated.svrun
@@ -1,4 +1,4 @@
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
diff --git a/examples/talking-head-aroll/studio.svs b/examples/talking-head-aroll/studio.svs
index 7efbf882..431e13df 100644
--- a/examples/talking-head-aroll/studio.svs
+++ b/examples/talking-head-aroll/studio.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/svs@1"?>
+<?svml using="@hypit/svs@1"?>
<sheet version="1">
speech.normal {
diff --git a/narratage b/hypit
similarity index 63%
rename from narratage
rename to hypit
index 83077785..eb404eba 100755
--- a/narratage
+++ b/hypit
@@ -3,9 +3,9 @@ set -eu
launcher_path=$(node -e 'process.stdout.write(require("node:fs").realpathSync(process.argv[1]))' "$0")
launcher_dir=$(CDPATH= cd -- "$(dirname -- "$launcher_path")" && pwd)
-launcher="$launcher_dir/bin/narratage.mjs"
+launcher="$launcher_dir/bin/hypit.mjs"
if [ ! -f "$launcher" ]; then
- echo "Narratage dependencies are not installed in $launcher_dir; run: pnpm install --frozen-lockfile" >&2
+ echo "Hypit dependencies are not installed in $launcher_dir; run: pnpm install --frozen-lockfile" >&2
exit 1
fi
exec node "$launcher" "$@"
diff --git a/package.json b/package.json
index 788ed35e..1b3b0264 100644
--- a/package.json
+++ b/package.json
@@ -1,11 +1,11 @@
{
- "name": "@narratage/repository",
+ "name": "@hypit/repository",
"version": "0.0.1",
"license": "SEE LICENSE IN LICENSE",
"private": true,
"type": "module",
"bin": {
- "narratage": "./bin/narratage.mjs"
+ "hypit": "./bin/hypit.mjs"
},
"packageManager": "[email protected]",
"scripts": {
@@ -16,87 +16,87 @@
"test": "node --import tsx --test 'packages/*/test/**/*.test.ts' 'services/*/test/**/*.test.ts' 'test/**/*.test.ts'",
"test:release": "node --import tsx --test test/repository-hygiene.test.mjs",
"test:whisperx-service": "uv run --project services/whisperx --frozen python -m unittest discover -s services/whisperx/tests -p 'test_*.py'",
- "test:browser-visual": "NARRATAGE_BROWSER_TESTS=1 node --import tsx --test packages/hyperframes/test/browser-visual.test.ts",
- "test:image-opencv": "NARRATAGE_OPENCV_TESTS=1 NARRATAGE_OPENCV_PYTHON=services/image-opencv/.venv/bin/python node --import tsx --test packages/provider-image-opencv-local/test/provider.test.ts",
+ "test:browser-visual": "HYPIT_BROWSER_TESTS=1 node --import tsx --test packages/hyperframes/test/browser-visual.test.ts",
+ "test:image-opencv": "HYPIT_OPENCV_TESTS=1 HYPIT_OPENCV_PYTHON=services/image-opencv/.venv/bin/python node --import tsx --test packages/provider-image-opencv-local/test/provider.test.ts",
"smoke:kie": "node --import tsx packages/provider-kie/test/live-smoke.ts",
- "narratage": "node bin/narratage.mjs",
- "caption:playground": "pnpm --filter @narratage/caption-playground exec node --import tsx start.ts",
- "svml:playground": "pnpm --filter @narratage/svml-playground exec node --import tsx start.ts",
- "build:media-lambda": "pnpm --filter @narratage/media-lambda build",
- "build:media-lambda-layer": "pnpm --filter @narratage/media-lambda build:layer"
+ "hypit": "node bin/hypit.mjs",
+ "caption:playground": "pnpm --filter @hypit/caption-playground exec node --import tsx start.ts",
+ "svml:playground": "pnpm --filter @hypit/svml-playground exec node --import tsx start.ts",
+ "build:media-lambda": "pnpm --filter @hypit/media-lambda build",
+ "build:media-lambda-layer": "pnpm --filter @hypit/media-lambda build:layer"
},
"engines": {
"node": ">=22",
"pnpm": ">=10.33.0 <11"
},
"devDependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/artifact-store-fs": "workspace:*",
- "@narratage/artifact-store-s3": "workspace:*",
- "@narratage/audio-track": "workspace:*",
- "@narratage/background-removal": "workspace:*",
- "@narratage/caption": "workspace:*",
- "@narratage/caption-fine": "workspace:*",
- "@narratage/caption-gemini": "workspace:*",
- "@narratage/comment-sticker": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/credential-store-env": "workspace:*",
- "@narratage/credential-store-keychain": "workspace:*",
- "@narratage/deck-track": "workspace:*",
- "@narratage/estimate": "workspace:*",
- "@narratage/film": "workspace:*",
- "@narratage/fonts-open": "workspace:*",
- "@narratage/gemini-omni": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/gpt-image": "workspace:*",
- "@narratage/grok-imagine": "workspace:*",
- "@narratage/hyperframes": "workspace:*",
- "@narratage/image-compose": "workspace:*",
- "@narratage/image-transform": "workspace:*",
- "@narratage/runtime-local": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/media-track": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/minimax-h3": "workspace:*",
- "@narratage/mimo-tts": "workspace:*",
- "@narratage/nano-banana": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/provider-google-vertex": "workspace:*",
- "@narratage/provider-hyperframes-aws-lambda": "workspace:*",
- "@narratage/provider-hyperframes-local": "workspace:*",
- "@narratage/provider-image-opencv-local": "workspace:*",
- "@narratage/provider-kie": "workspace:*",
- "@narratage/provider-media-aws-lambda": "workspace:*",
- "@narratage/provider-media-local": "workspace:*",
- "@narratage/provider-whisperx-local": "workspace:*",
- "@narratage/provider-xiaomi-mimo": "workspace:*",
- "@narratage/ranking": "workspace:*",
- "@narratage/raster": "workspace:*",
- "@narratage/render-hyperframes": "workspace:*",
- "@narratage/run-markup": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/runtime-host-node": "workspace:*",
- "@narratage/screen-overlay": "workspace:*",
- "@narratage/script": "workspace:*",
- "@narratage/seedance": "workspace:*",
- "@narratage/seedance-kits": "workspace:*",
- "@narratage/seedream": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/speech-alignment": "workspace:*",
- "@narratage/speech-basis": "workspace:*",
- "@narratage/speech-evidence": "workspace:*",
- "@narratage/speech-spine": "workspace:*",
- "@narratage/store-sqlite": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/temporal": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/typography-track": "workspace:*",
- "@narratage/visual-ir": "workspace:*",
- "@narratage/whisperx": "workspace:*",
+ "@hypit/artifact": "workspace:*",
+ "@hypit/artifact-store-fs": "workspace:*",
+ "@hypit/artifact-store-s3": "workspace:*",
+ "@hypit/audio-track": "workspace:*",
+ "@hypit/background-removal": "workspace:*",
+ "@hypit/caption": "workspace:*",
+ "@hypit/caption-fine": "workspace:*",
+ "@hypit/caption-gemini": "workspace:*",
+ "@hypit/comment-sticker": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/credential-store-env": "workspace:*",
+ "@hypit/credential-store-keychain": "workspace:*",
+ "@hypit/deck-track": "workspace:*",
+ "@hypit/estimate": "workspace:*",
+ "@hypit/film": "workspace:*",
+ "@hypit/fonts-open": "workspace:*",
+ "@hypit/gemini-omni": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/gpt-image": "workspace:*",
+ "@hypit/grok-imagine": "workspace:*",
+ "@hypit/hyperframes": "workspace:*",
+ "@hypit/image-compose": "workspace:*",
+ "@hypit/image-transform": "workspace:*",
+ "@hypit/runtime-local": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/media-track": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/minimax-h3": "workspace:*",
+ "@hypit/mimo-tts": "workspace:*",
+ "@hypit/nano-banana": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/provider-google-vertex": "workspace:*",
+ "@hypit/provider-hyperframes-aws-lambda": "workspace:*",
+ "@hypit/provider-hyperframes-local": "workspace:*",
+ "@hypit/provider-image-opencv-local": "workspace:*",
+ "@hypit/provider-kie": "workspace:*",
+ "@hypit/provider-media-aws-lambda": "workspace:*",
+ "@hypit/provider-media-local": "workspace:*",
+ "@hypit/provider-whisperx-local": "workspace:*",
+ "@hypit/provider-xiaomi-mimo": "workspace:*",
+ "@hypit/ranking": "workspace:*",
+ "@hypit/raster": "workspace:*",
+ "@hypit/render-hyperframes": "workspace:*",
+ "@hypit/run-markup": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/runtime-host-node": "workspace:*",
+ "@hypit/screen-overlay": "workspace:*",
+ "@hypit/script": "workspace:*",
+ "@hypit/seedance": "workspace:*",
+ "@hypit/seedance-kits": "workspace:*",
+ "@hypit/seedream": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/speech-alignment": "workspace:*",
+ "@hypit/speech-basis": "workspace:*",
+ "@hypit/speech-evidence": "workspace:*",
+ "@hypit/speech-spine": "workspace:*",
+ "@hypit/store-sqlite": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/temporal": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/typography-track": "workspace:*",
+ "@hypit/visual-ir": "workspace:*",
+ "@hypit/whisperx": "workspace:*",
"@types/node": "24.10.1",
"tsx": "4.21.0",
"typescript": "5.9.3",
diff --git a/packages/artifact-store-fs/README.md b/packages/artifact-store-fs/README.md
index 8dc232b9..264c3f01 100644
--- a/packages/artifact-store-fs/README.md
+++ b/packages/artifact-store-fs/README.md
@@ -1,4 +1,4 @@
-# `@narratage/artifact-store-fs`
+# `@hypit/artifact-store-fs`
Filesystem implementation of the Runtime `ArtifactStore` port. It keeps generated bytes under a
content-addressed path and exposes streaming reads, writes and explicit garbage collection.
diff --git a/packages/artifact-store-fs/package.json b/packages/artifact-store-fs/package.json
index df91b819..a36a4813 100644
--- a/packages/artifact-store-fs/package.json
+++ b/packages/artifact-store-fs/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/artifact-store-fs",
+ "name": "@hypit/artifact-store-fs",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,12 +7,12 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*"
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*"
}
}
diff --git a/packages/artifact-store-fs/src/activation.ts b/packages/artifact-store-fs/src/activation.ts
index b302e48f..5c44b7ec 100644
--- a/packages/artifact-store-fs/src/activation.ts
+++ b/packages/artifact-store-fs/src/activation.ts
@@ -5,12 +5,12 @@ import {
runtimeConfigExact,
runtimeConfigObject,
runtimeConfigString,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import { FileArtifactStore } from "./store.js";
const fileArtifactStoreAdapter = createRuntimeArtifactStoreAdapterFacet({
- use: "@narratage/artifact-store-fs",
+ use: "@hypit/artifact-store-fs",
validate(context) {
const config = runtimeConfigObject(context.config, "filesystem ArtifactStore");
runtimeConfigExact(config, ["path"], "filesystem ArtifactStore");
@@ -24,9 +24,9 @@ const fileArtifactStoreAdapter = createRuntimeArtifactStoreAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [fileArtifactStoreAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/artifact-store-fs/src/store.ts b/packages/artifact-store-fs/src/store.ts
index e34a14c9..096613bf 100644
--- a/packages/artifact-store-fs/src/store.ts
+++ b/packages/artifact-store-fs/src/store.ts
@@ -8,9 +8,9 @@ import {
} from "node:fs/promises";
import { dirname, join, resolve } from "node:path";
-import { isDigest } from "@narratage/protocol";
-import type { BlobRef, Digest } from "@narratage/protocol";
-import type { ArtifactStore } from "@narratage/runtime";
+import { isDigest } from "@hypit/protocol";
+import type { BlobRef, Digest } from "@hypit/protocol";
+import type { ArtifactStore } from "@hypit/runtime";
function digestPath(root: string, digest: Digest): string {
if (!isDigest(digest)) throw new Error("Artifact digest is invalid");
diff --git a/packages/artifact-store-fs/test/store.test.ts b/packages/artifact-store-fs/test/store.test.ts
index 1b4eed1e..9be80a2e 100644
--- a/packages/artifact-store-fs/test/store.test.ts
+++ b/packages/artifact-store-fs/test/store.test.ts
@@ -4,10 +4,10 @@ import { tmpdir } from "node:os";
import { join } from "node:path";
import test from "node:test";
-import { FileArtifactStore } from "@narratage/artifact-store-fs";
+import { FileArtifactStore } from "@hypit/artifact-store-fs";
test("filesystem artifacts are content-addressed and survive adapter restart", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-artifacts-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-artifacts-"));
try {
const bytes = new TextEncoder().encode("one immutable video artifact");
const first = new FileArtifactStore(directory);
@@ -26,7 +26,7 @@ test("filesystem artifacts are content-addressed and survive adapter restart", a
});
test("filesystem artifacts stream writes and reads", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-artifacts-stream-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-artifacts-stream-"));
try {
const store = new FileArtifactStore(directory);
const artifact = await store.putStream((async function* () {
diff --git a/packages/artifact-store-s3/README.md b/packages/artifact-store-s3/README.md
index 9acd5a05..0d683c6c 100644
--- a/packages/artifact-store-s3/README.md
+++ b/packages/artifact-store-s3/README.md
@@ -1,4 +1,4 @@
-# `@narratage/artifact-store-s3`
+# `@hypit/artifact-store-s3`
S3 implementation of the Runtime `ArtifactStore` port. Objects use:
diff --git a/packages/artifact-store-s3/package.json b/packages/artifact-store-s3/package.json
index ebe1683e..9fdfb8c2 100644
--- a/packages/artifact-store-s3/package.json
+++ b/packages/artifact-store-s3/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/artifact-store-s3",
+ "name": "@hypit/artifact-store-s3",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,13 +7,13 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.1103.0",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*"
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*"
}
}
diff --git a/packages/artifact-store-s3/src/activation.ts b/packages/artifact-store-s3/src/activation.ts
index d771dddf..85699ea4 100644
--- a/packages/artifact-store-s3/src/activation.ts
+++ b/packages/artifact-store-s3/src/activation.ts
@@ -5,8 +5,8 @@ import {
runtimeConfigObject,
runtimeConfigPositiveInteger,
runtimeConfigString,
-} from "@narratage/runtime-kit";
-import type { RuntimeAdapterFactoryContext } from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
+import type { RuntimeAdapterFactoryContext } from "@hypit/runtime-kit";
import { AwsS3ObjectClient } from "./client.js";
import { createS3ArtifactStore, normalizeS3ArtifactPrefix } from "./store.js";
@@ -30,7 +30,7 @@ function validateConfig(context: RuntimeAdapterFactoryContext): void {
}
const s3ArtifactStoreRuntimeAdapter = createRuntimeArtifactStoreAdapterFacet({
- use: "@narratage/artifact-store-s3",
+ use: "@hypit/artifact-store-s3",
validate: validateConfig,
open(context) {
const config = runtimeConfigObject(context.config, "S3 ArtifactStore");
@@ -78,7 +78,7 @@ const s3ArtifactStoreRuntimeAdapter = createRuntimeArtifactStoreAdapterFacet({
// bucket as the expected owner" without depending on any object.
await client.head({
Bucket: bucket,
- Key: `${runtimeConfigString(config.prefix, "S3 prefix") ?? ""}/.narratage-doctor-probe`.replace(/^\/+/u, ""),
+ Key: `${runtimeConfigString(config.prefix, "S3 prefix") ?? ""}/.hypit-doctor-probe`.replace(/^\/+/u, ""),
...(owner === undefined ? {} : { ExpectedBucketOwner: owner }),
});
return [];
@@ -93,9 +93,9 @@ const s3ArtifactStoreRuntimeAdapter = createRuntimeArtifactStoreAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [s3ArtifactStoreRuntimeAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/artifact-store-s3/src/store.ts b/packages/artifact-store-s3/src/store.ts
index 4da770b9..20366073 100644
--- a/packages/artifact-store-s3/src/store.ts
+++ b/packages/artifact-store-s3/src/store.ts
@@ -1,14 +1,14 @@
import { createHash, randomUUID } from "node:crypto";
-import { isDigest } from "@narratage/protocol";
-import type { BlobRef, Digest } from "@narratage/protocol";
-import type { ArtifactStore } from "@narratage/runtime";
+import { isDigest } from "@hypit/protocol";
+import type { BlobRef, Digest } from "@hypit/protocol";
+import type { ArtifactStore } from "@hypit/runtime";
import { AwsS3ObjectClient } from "./client.js";
import type { S3ObjectClient } from "./client.js";
export const s3ArtifactStoreModuleRef = {
- name: "@narratage/artifact-store-s3",
+ name: "@hypit/artifact-store-s3",
version: "1",
} as const;
diff --git a/packages/artifact-store-s3/test/store.test.ts b/packages/artifact-store-s3/test/store.test.ts
index 0c1059a2..d7d1de99 100644
--- a/packages/artifact-store-s3/test/store.test.ts
+++ b/packages/artifact-store-s3/test/store.test.ts
@@ -1,9 +1,9 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { S3ArtifactStore } from "@narratage/artifact-store-s3";
-import type { S3ObjectClient } from "@narratage/artifact-store-s3";
-import { isStreamingArtifactStore } from "@narratage/runtime";
+import { S3ArtifactStore } from "@hypit/artifact-store-s3";
+import type { S3ObjectClient } from "@hypit/artifact-store-s3";
+import { isStreamingArtifactStore } from "@hypit/runtime";
class FakeS3 implements S3ObjectClient {
readonly values = new Map<string, Uint8Array>();
diff --git a/packages/artifact/README.md b/packages/artifact/README.md
index c1412e97..221ceb37 100644
--- a/packages/artifact/README.md
+++ b/packages/artifact/README.md
@@ -1,10 +1,10 @@
-# `@narratage/artifact`
+# `@hypit/artifact`
Domain-neutral nominal contract for one content-addressed byte Artifact.
`BlobArtifact` wraps the Protocol `BlobRef` storage form in an owner-defined `TypeRef`, allowing any
domain to place files, model outputs or other immutable bytes on Graph edges without borrowing a
media/video type. Artifact storage and transfer remain separate Runtime ports implemented by
-packages such as `@narratage/artifact-store-fs` and `@narratage/artifact-store-s3`.
+packages such as `@hypit/artifact-store-fs` and `@hypit/artifact-store-s3`.
The package has no filesystem, network, media or Provider behavior.
diff --git a/packages/artifact/package.json b/packages/artifact/package.json
index e66134fb..17911078 100644
--- a/packages/artifact/package.json
+++ b/packages/artifact/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/artifact",
+ "name": "@hypit/artifact",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,10 +7,10 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/artifact/src/activation.ts b/packages/artifact/src/activation.ts
index 40ac759c..d39b8925 100644
--- a/packages/artifact/src/activation.ts
+++ b/packages/artifact/src/activation.ts
@@ -1,8 +1,8 @@
import { artifactManifest } from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: artifactManifest }],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/artifact/src/index.ts b/packages/artifact/src/index.ts
index 668646af..36c7f966 100644
--- a/packages/artifact/src/index.ts
+++ b/packages/artifact/src/index.ts
@@ -1,16 +1,16 @@
import type {
ModuleManifest,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
-export const artifactModuleRef = { name: "@narratage/artifact", version: "1" } as const;
+export const artifactModuleRef = { name: "@hypit/artifact", version: "1" } as const;
export const artifactTypes = {
blob: { module: artifactModuleRef, name: "BlobArtifact" },
} satisfies Record<string, TypeRef>;
export const artifactManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: artifactModuleRef.name,
version: artifactModuleRef.version,
dependencies: [],
diff --git a/packages/audio-track/README.md b/packages/audio-track/README.md
index fa425408..cd3bdc38 100644
--- a/packages/audio-track/README.md
+++ b/packages/audio-track/README.md
@@ -1,9 +1,9 @@
-# `@narratage/audio-track`
+# `@hypit/audio-track`
Official provider-free Audio Track authoring package.
It consumes explicitly selected and normalized `SynchronizedMedia`, resolves Program, Selection or
-Moment windows through `@narratage/temporal`, applies exact source trim and one-shot, loop or bounded
+Moment windows through `@hypit/temporal`, applies exact source trim and one-shot, loop or bounded
pitch-preserving stretch occupancy, and lowers independent items to one ordinary peer `AudioTrack`.
The public audio waist uses one exact 48 kHz sample mapping. It contains no Provider, queue, path,
diff --git a/packages/audio-track/package.json b/packages/audio-track/package.json
index 7a28748d..57ca95ff 100644
--- a/packages/audio-track/package.json
+++ b/packages/audio-track/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/audio-track",
+ "name": "@hypit/audio-track",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,29 +7,29 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/temporal": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/temporal": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/core": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/speech-evidence": "workspace:*",
- "@narratage/validation": "workspace:*",
- "@narratage/visual-ir": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/core": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/speech-evidence": "workspace:*",
+ "@hypit/validation": "workspace:*",
+ "@hypit/visual-ir": "workspace:*"
}
}
diff --git a/packages/audio-track/src/activation.ts b/packages/audio-track/src/activation.ts
index 091f6c61..693684b5 100644
--- a/packages/audio-track/src/activation.ts
+++ b/packages/audio-track/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
audioTrackComponent,
audioTrackManifest,
@@ -7,8 +7,8 @@ import {
audioTrackMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: audioTrackManifest }],
components: [audioTrackComponent],
hostFacets: [createMarkupSurfaceHostFacet({
@@ -17,4 +17,4 @@ export const narratagePackage = {
handler: decodeAudioTrackSurface,
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/audio-track/src/component.ts b/packages/audio-track/src/component.ts
index 9545c061..c4357ab1 100644
--- a/packages/audio-track/src/component.ts
+++ b/packages/audio-track/src/component.ts
@@ -1,10 +1,10 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { SynchronizedMedia } from "@narratage/media";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize } from "@narratage/protocol";
-import type { StoredValue } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { SynchronizedMedia } from "@hypit/media";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize } from "@hypit/protocol";
+import type { StoredValue } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
import { audioTrackProducers, audioTrackTypes } from "./manifest.js";
import { appendMomentAudioItem, appendProgramAudioItem, appendSelectionAudioItem, assertAudioTrackProgram, createAudioTrackSet, finalizeAudioTrack, renderAudioTrack } from "./program.js";
diff --git a/packages/audio-track/src/fragment.ts b/packages/audio-track/src/fragment.ts
index f5626738..500bba81 100644
--- a/packages/audio-track/src/fragment.ts
+++ b/packages/audio-track/src/fragment.ts
@@ -1,10 +1,10 @@
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { FragmentOperation } from "@narratage/elaborator";
-import { mediaTypes } from "@narratage/media";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { FragmentOperation } from "@hypit/elaborator";
+import { mediaTypes } from "@hypit/media";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
import { audioTrackProducers, audioTrackTypes } from "./manifest.js";
diff --git a/packages/audio-track/src/manifest.ts b/packages/audio-track/src/manifest.ts
index a7307c02..386818b8 100644
--- a/packages/audio-track/src/manifest.ts
+++ b/packages/audio-track/src/manifest.ts
@@ -1,13 +1,13 @@
-import { compositionDependency, compositionTypes } from "@narratage/composition";
-import { mediaDependency, mediaTypes } from "@narratage/media";
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import { blobRefObjectSchema } from "@narratage/protocol";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { semanticMapDependency, semanticMapTypes } from "@narratage/semantic-map";
-import { temporalDependency } from "@narratage/temporal";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
+import { mediaDependency, mediaTypes } from "@hypit/media";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import { blobRefObjectSchema } from "@hypit/protocol";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { semanticMapDependency, semanticMapTypes } from "@hypit/semantic-map";
+import { temporalDependency } from "@hypit/temporal";
-export const audioTrackModuleRef = { name: "@narratage/audio-track", version: "1" } as const;
+export const audioTrackModuleRef = { name: "@hypit/audio-track", version: "1" } as const;
export const audioTrackTypes = {
header: { module: audioTrackModuleRef, name: "AudioTrackHeader" },
clipSpec: { module: audioTrackModuleRef, name: "AudioClipSpec" },
@@ -93,7 +93,7 @@ export const audioTrackMarkupSurfaces = [{
export const audioTrackManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: audioTrackModuleRef.name,
version: audioTrackModuleRef.version,
dependencies: [mediaDependency, narrativeDependency, semanticMapDependency, programSpaceDependency, temporalDependency, compositionDependency],
diff --git a/packages/audio-track/src/program.ts b/packages/audio-track/src/program.ts
index 4324f0f1..e935c561 100644
--- a/packages/audio-track/src/program.ts
+++ b/packages/audio-track/src/program.ts
@@ -1,23 +1,23 @@
-import { assertAudioTrackIdentity, sealAudioTrack } from "@narratage/composition";
-import type { AudioClip, AudioTrack } from "@narratage/composition";
-import { synchronizedMediaSampleFrames, verifySynchronizedMedia } from "@narratage/media";
-import type { SynchronizedMedia } from "@narratage/media";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
+import { assertAudioTrackIdentity, sealAudioTrack } from "@hypit/composition";
+import type { AudioClip, AudioTrack } from "@hypit/composition";
+import { synchronizedMediaSampleFrames, verifySynchronizedMedia } from "@hypit/media";
+import type { SynchronizedMedia } from "@hypit/media";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
import {
assertProgramSpaceIdentity,
programFrameSampleBoundary,
programSpaceSampleFrames,
-} from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize, isDigest } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
+} from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize, isDigest } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
import {
projectMomentWindows,
projectProgramWindow,
projectSelectionWindows,
temporalDurationInSamples,
-} from "@narratage/temporal";
-import type { ProjectedOccurrence, TemporalDuration } from "@narratage/temporal";
+} from "@hypit/temporal";
+import type { ProjectedOccurrence, TemporalDuration } from "@hypit/temporal";
import type {
AudioClipSpec,
diff --git a/packages/audio-track/src/surface.ts b/packages/audio-track/src/surface.ts
index 07c91519..0f3bca96 100644
--- a/packages/audio-track/src/surface.ts
+++ b/packages/audio-track/src/surface.ts
@@ -1,15 +1,15 @@
-import { mediaTypes } from "@narratage/media";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
+import { mediaTypes } from "@hypit/media";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceRecordDraft,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
-import type { TemporalDuration, TemporalPointExpression } from "@narratage/temporal";
+} from "@hypit/markup";
+import type { TemporalDuration, TemporalPointExpression } from "@hypit/temporal";
import { createAudioTrackFragment } from "./fragment.js";
import { audioTrackTypes } from "./manifest.js";
diff --git a/packages/audio-track/src/types.ts b/packages/audio-track/src/types.ts
index fe6c78d1..6b21db8c 100644
--- a/packages/audio-track/src/types.ts
+++ b/packages/audio-track/src/types.ts
@@ -1,10 +1,10 @@
-import type { FrameSpan } from "@narratage/composition";
-import type { BlobRef } from "@narratage/protocol";
+import type { FrameSpan } from "@hypit/composition";
+import type { BlobRef } from "@hypit/protocol";
import type {
OccurrenceExpansion,
TemporalDuration,
TemporalWindowProjection,
-} from "@narratage/temporal";
+} from "@hypit/temporal";
export type AudioOccupancy =
| { readonly mode: "once"; readonly align: "start" | "end" }
diff --git a/packages/audio-track/test/audio-track.test.ts b/packages/audio-track/test/audio-track.test.ts
index f1828152..29bb002d 100644
--- a/packages/audio-track/test/audio-track.test.ts
+++ b/packages/audio-track/test/audio-track.test.ts
@@ -17,29 +17,29 @@ import {
sealAudioClipSpec,
sealAudioTrackHeader,
decodeAudioTrackSurface,
-} from "@narratage/audio-track";
-import type { AudioClipSpec, AudioTrackSet } from "@narratage/audio-track";
-import { artifactManifest } from "@narratage/artifact";
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
-import { sealComposition, compositionManifest, compositionTypes } from "@narratage/composition";
-import { createResolvedClosure, sealBuildRequest, start } from "@narratage/core";
-import { AuthorFrontendRegistry, compileSourceClosure, resolveCompiledSourceExport } from "@narratage/elaborator";
-import type { SynchronizedMedia } from "@narratage/media";
-import { mediaComponent, mediaDependency, mediaManifest, mediaTypes } from "@narratage/media";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import { narrativeManifest } from "@narratage/narrative";
-import { compileAudioProgramPlan } from "@narratage/media-pipeline";
-import { programSpaceDependency, programSpaceManifest, programSpaceTypes, sealProgramSpace } from "@narratage/program-space";
-import type { ModuleManifest } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import { semanticMapManifest } from "@narratage/semantic-map";
-import { speechEvidenceManifest } from "@narratage/speech-evidence";
-import { speechManifest } from "@narratage/speech";
-import { spatialManifest } from "@narratage/spatial";
-import { temporalManifest } from "@narratage/temporal";
-import { MarkupSurfaceRegistry, createMarkupAuthorFrontend } from "@narratage/markup";
-import { createRecordAdmitter, TypeValidatorRegistry } from "@narratage/validation";
-import { visualIrManifest } from "@narratage/visual-ir";
+} from "@hypit/audio-track";
+import type { AudioClipSpec, AudioTrackSet } from "@hypit/audio-track";
+import { artifactManifest } from "@hypit/artifact";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
+import { sealComposition, compositionManifest, compositionTypes } from "@hypit/composition";
+import { createResolvedClosure, sealBuildRequest, start } from "@hypit/core";
+import { AuthorFrontendRegistry, compileSourceClosure, resolveCompiledSourceExport } from "@hypit/elaborator";
+import type { SynchronizedMedia } from "@hypit/media";
+import { mediaComponent, mediaDependency, mediaManifest, mediaTypes } from "@hypit/media";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import { narrativeManifest } from "@hypit/narrative";
+import { compileAudioProgramPlan } from "@hypit/media-pipeline";
+import { programSpaceDependency, programSpaceManifest, programSpaceTypes, sealProgramSpace } from "@hypit/program-space";
+import type { ModuleManifest } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import { semanticMapManifest } from "@hypit/semantic-map";
+import { speechEvidenceManifest } from "@hypit/speech-evidence";
+import { speechManifest } from "@hypit/speech";
+import { spatialManifest } from "@hypit/spatial";
+import { temporalManifest } from "@hypit/temporal";
+import { MarkupSurfaceRegistry, createMarkupAuthorFrontend } from "@hypit/markup";
+import { createRecordAdmitter, TypeValidatorRegistry } from "@hypit/validation";
+import { visualIrManifest } from "@hypit/visual-ir";
const space = sealProgramSpace({
durationSec: 10,
@@ -237,7 +237,7 @@ test("the self-described Audio Surface parses into the same finite Producer grap
outputs: [mediaTypes.synchronized, programSpaceTypes.programSpace],
} as const;
const fixtureManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: fixtureModule.name,
version: fixtureModule.version,
dependencies: [mediaDependency, programSpaceDependency],
@@ -285,10 +285,10 @@ test("the self-described Audio Surface parses into the same finite Producer grap
entry: {
id: "/project/audio.svml",
name: "audio.svml",
- text: `<?svml using="@narratage/markup@1"?>
+ text: `<?svml using="@hypit/markup@1"?>
<svml>
<import as="fixture" from="example.audio-inputs@1"/>
- <import as="audio" from="@narratage/audio-track@1"/>
+ <import as="audio" from="@hypit/audio-track@1"/>
<fixture:Inputs/>
<audio:Track id="sound" space={space}>
<audio:Clip source={source} during="program" playback="loop-end" gain="0.5" fade-in="2f" fade-out="3f"/>
diff --git a/packages/background-removal/README.md b/packages/background-removal/README.md
index 4760f12c..6c9ce97a 100644
--- a/packages/background-removal/README.md
+++ b/packages/background-removal/README.md
@@ -1,4 +1,4 @@
-# @narratage/background-removal
+# @hypit/background-removal
Declares one external image capability: turn an input image into an image with its background removed.
@@ -6,4 +6,4 @@ Declares one external image capability: turn an input image into an image with i
<remove:Background id="cutout" source={portrait.image}/>
```
-The package does not choose a model, API, threshold, queue, or storage service. Those belong to the selected Endpoint. `@narratage/provider-kie` can fulfill this capability with KIE Recraft; another runtime may bind a local model without changing the author graph.
+The package does not choose a model, API, threshold, queue, or storage service. Those belong to the selected Endpoint. `@hypit/provider-kie` can fulfill this capability with KIE Recraft; another runtime may bind a local model without changing the author graph.
diff --git a/packages/background-removal/package.json b/packages/background-removal/package.json
index c4c1cb15..4f30d2df 100644
--- a/packages/background-removal/package.json
+++ b/packages/background-removal/package.json
@@ -1,16 +1,16 @@
{
- "name": "@narratage/background-removal",
+ "name": "@hypit/background-removal",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
"type": "module",
"exports": { ".": "./src/index.ts" },
- "narratage": { "activation": "./src/activation.ts" },
+ "hypit": { "activation": "./src/activation.ts" },
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/markup": "workspace:*"
}
}
diff --git a/packages/background-removal/src/activation.ts b/packages/background-removal/src/activation.ts
index 6df71223..e9a8a677 100644
--- a/packages/background-removal/src/activation.ts
+++ b/packages/background-removal/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
backgroundRemovalComponent, backgroundRemovalManifest,
@@ -6,8 +6,8 @@ import {
backgroundRemovalMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: backgroundRemovalManifest }],
components: [backgroundRemovalComponent],
hostFacets: [{ ...createMarkupSurfaceHostFacet({
@@ -15,4 +15,4 @@ export const narratagePackage = {
declaration: backgroundRemovalMarkupSurfaces.find((item) => item.name === "background")!, handler: decodeBackgroundRemovalSurface,
}) }],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/background-removal/src/component.ts b/packages/background-removal/src/component.ts
index ddf9a3ef..74232a31 100644
--- a/packages/background-removal/src/component.ts
+++ b/packages/background-removal/src/component.ts
@@ -1,5 +1,5 @@
-import type { ComponentPackage, ProducerHandlerContext } from "@narratage/component-kit";
-import type { StoredValue } from "@narratage/protocol";
+import type { ComponentPackage, ProducerHandlerContext } from "@hypit/component-kit";
+import type { StoredValue } from "@hypit/protocol";
import { backgroundRemovalProducers } from "./manifest.js";
import { backgroundRemovalRequest } from "./program.js";
diff --git a/packages/background-removal/src/fragment.ts b/packages/background-removal/src/fragment.ts
index 0f6883b3..6d46460a 100644
--- a/packages/background-removal/src/fragment.ts
+++ b/packages/background-removal/src/fragment.ts
@@ -1,5 +1,5 @@
-import { artifactTypes } from "@narratage/artifact";
-import { sealGraphFragment } from "@narratage/elaborator";
+import { artifactTypes } from "@hypit/artifact";
+import { sealGraphFragment } from "@hypit/elaborator";
import { backgroundRemovalProducers } from "./manifest.js";
diff --git a/packages/background-removal/src/manifest.ts b/packages/background-removal/src/manifest.ts
index 1aa7c13d..a51e5ec5 100644
--- a/packages/background-removal/src/manifest.ts
+++ b/packages/background-removal/src/manifest.ts
@@ -1,7 +1,7 @@
-import { artifactDependency, artifactTypes } from "@narratage/artifact";
-import type { CapabilityRef, ModuleManifest, ProducerRef } from "@narratage/protocol";
+import { artifactDependency, artifactTypes } from "@hypit/artifact";
+import type { CapabilityRef, ModuleManifest, ProducerRef } from "@hypit/protocol";
-export const backgroundRemovalModuleRef = { name: "@narratage/background-removal", version: "1" } as const;
+export const backgroundRemovalModuleRef = { name: "@hypit/background-removal", version: "1" } as const;
export const backgroundRemovalCapabilities = {
remove: { module: backgroundRemovalModuleRef, name: "remove-background" },
} satisfies Record<string, CapabilityRef>;
@@ -15,7 +15,7 @@ export const backgroundRemovalMarkupSurfaces = [{
export const backgroundRemovalManifest: ModuleManifest = {
- format: "narratage.module@1", name: backgroundRemovalModuleRef.name, version: backgroundRemovalModuleRef.version,
+ format: "hypit.module@1", name: backgroundRemovalModuleRef.name, version: backgroundRemovalModuleRef.version,
dependencies: [artifactDependency], types: [],
capabilities: [{ name: backgroundRemovalCapabilities.remove.name, returns: artifactTypes.blob }],
producers: [{
diff --git a/packages/background-removal/src/program.ts b/packages/background-removal/src/program.ts
index 725c43ff..bc0e330b 100644
--- a/packages/background-removal/src/program.ts
+++ b/packages/background-removal/src/program.ts
@@ -1,4 +1,4 @@
-import { canonicalize, isDigest } from "@narratage/protocol";
+import { canonicalize, isDigest } from "@hypit/protocol";
import type { BackgroundRemovalRequest } from "./types.js";
diff --git a/packages/background-removal/src/surface.ts b/packages/background-removal/src/surface.ts
index 3a5f7bca..05bed3b1 100644
--- a/packages/background-removal/src/surface.ts
+++ b/packages/background-removal/src/surface.ts
@@ -1,5 +1,5 @@
-import { artifactTypes } from "@narratage/artifact";
-import type { StructuredSurfaceHandler, SurfaceResolvedReference, MarkupAttributeValue } from "@narratage/markup";
+import { artifactTypes } from "@hypit/artifact";
+import type { StructuredSurfaceHandler, SurfaceResolvedReference, MarkupAttributeValue } from "@hypit/markup";
import { backgroundRemovalFragment } from "./fragment.js";
diff --git a/packages/background-removal/src/types.ts b/packages/background-removal/src/types.ts
index a0f51dd5..ab4b34e7 100644
--- a/packages/background-removal/src/types.ts
+++ b/packages/background-removal/src/types.ts
@@ -1,4 +1,4 @@
-import type { BlobRef } from "@narratage/protocol";
+import type { BlobRef } from "@hypit/protocol";
export type BackgroundRemovalRequest = {
readonly source: BlobRef;
diff --git a/packages/background-removal/test/background-removal.test.ts b/packages/background-removal/test/background-removal.test.ts
index 770ca7e5..6cf98c83 100644
--- a/packages/background-removal/test/background-removal.test.ts
+++ b/packages/background-removal/test/background-removal.test.ts
@@ -2,10 +2,10 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { artifactTypes } from "@narratage/artifact";
+import { artifactTypes } from "@hypit/artifact";
import {
backgroundRemovalCapabilities, backgroundRemovalComponent, backgroundRemovalFragment, backgroundRemovalManifest,
-} from "@narratage/background-removal";
+} from "@hypit/background-removal";
test("Background Removal is one image edge to one exact external Need", async () => {
assert.deepEqual(backgroundRemovalFragment.inputs.map((input) => input.name), ["source"]);
diff --git a/packages/caption-fine/README.md b/packages/caption-fine/README.md
index 20688f7b..9f52f50b 100644
--- a/packages/caption-fine/README.md
+++ b/packages/caption-fine/README.md
@@ -1,4 +1,4 @@
-# `@narratage/caption-fine`
+# `@hypit/caption-fine`
The official field-free fine-grained Caption Style family. It turns one SVS Recipe into a complete
`CaptionStyle` and lowers timed whole Atoms into one ordinary peer `VisualTrack`.
diff --git a/packages/caption-fine/package.json b/packages/caption-fine/package.json
index 98211b7c..836eea46 100644
--- a/packages/caption-fine/package.json
+++ b/packages/caption-fine/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/caption-fine",
+ "name": "@hypit/caption-fine",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,23 +7,23 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/caption": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/caption": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/script": "workspace:*"
+ "@hypit/script": "workspace:*"
}
}
diff --git a/packages/caption-fine/src/activation.ts b/packages/caption-fine/src/activation.ts
index 5e9be360..f57c427a 100644
--- a/packages/caption-fine/src/activation.ts
+++ b/packages/caption-fine/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
captionFineComponent,
@@ -9,8 +9,8 @@ import {
captionFineMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{
manifest: captionFineManifest,
}],
@@ -29,4 +29,4 @@ export const narratagePackage = {
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/caption-fine/src/component.ts b/packages/caption-fine/src/component.ts
index 654aef31..10453398 100644
--- a/packages/caption-fine/src/component.ts
+++ b/packages/caption-fine/src/component.ts
@@ -1,9 +1,9 @@
-import type { CaptionProgram, TimedCaptionProjection } from "@narratage/caption";
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { CaptionDisplaySequence } from "@narratage/narrative";
-import type { ProgramSpace } from "@narratage/program-space";
-import type { StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
+import type { CaptionProgram, TimedCaptionProjection } from "@hypit/caption";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { CaptionDisplaySequence } from "@hypit/narrative";
+import type { ProgramSpace } from "@hypit/program-space";
+import type { StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
import { captionFineProducers } from "./manifest.js";
import { renderFineCaption } from "./render.js";
diff --git a/packages/caption-fine/src/fragment.ts b/packages/caption-fine/src/fragment.ts
index 369f1701..dde728fa 100644
--- a/packages/caption-fine/src/fragment.ts
+++ b/packages/caption-fine/src/fragment.ts
@@ -1,9 +1,9 @@
-import { captionProducers, captionTypes } from "@narratage/caption";
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
+import { captionProducers, captionTypes } from "@hypit/caption";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
import { captionFineProducers } from "./manifest.js";
diff --git a/packages/caption-fine/src/manifest.ts b/packages/caption-fine/src/manifest.ts
index 0ca73580..a0164cf6 100644
--- a/packages/caption-fine/src/manifest.ts
+++ b/packages/caption-fine/src/manifest.ts
@@ -1,12 +1,12 @@
-import { captionManifest, captionModuleRef, captionTypes } from "@narratage/caption";
-import { compositionDependency, compositionTypes } from "@narratage/composition";
-import { mediaDependency } from "@narratage/media";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import { semanticMapDependency } from "@narratage/semantic-map";
-import type { ModuleManifest, ProducerRef } from "@narratage/protocol";
+import { captionManifest, captionModuleRef, captionTypes } from "@hypit/caption";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
+import { mediaDependency } from "@hypit/media";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import { semanticMapDependency } from "@hypit/semantic-map";
+import type { ModuleManifest, ProducerRef } from "@hypit/protocol";
-export const captionFineModuleRef = { name: "@narratage/caption-fine", version: "1" } as const;
+export const captionFineModuleRef = { name: "@hypit/caption-fine", version: "1" } as const;
export const captionFineProducers = {
render: { module: captionFineModuleRef, name: "render-fine-caption" },
} satisfies Record<string, ProducerRef>;
@@ -22,7 +22,7 @@ export const captionFineMarkupSurfaces = [
export const captionFineManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: captionFineModuleRef.name,
version: captionFineModuleRef.version,
dependencies: [
diff --git a/packages/caption-fine/src/recipe.ts b/packages/caption-fine/src/recipe.ts
index e7957e2f..359762e4 100644
--- a/packages/caption-fine/src/recipe.ts
+++ b/packages/caption-fine/src/recipe.ts
@@ -1,4 +1,4 @@
-import type { ValueSchema } from "@narratage/protocol";
+import type { ValueSchema } from "@hypit/protocol";
export const fineCaptionOneShotMotions = [
"none", "fade", "pop", "scale", "spring", "bounce", "elastic", "stamp", "tilt", "zoom-blur",
diff --git a/packages/caption-fine/src/render.ts b/packages/caption-fine/src/render.ts
index 1ec225cd..852ca5bb 100644
--- a/packages/caption-fine/src/render.ts
+++ b/packages/caption-fine/src/render.ts
@@ -1,6 +1,6 @@
-import { applyCaptionMute, assertCaptionProgramForDisplay, assertTimedCaptionProjection } from "@narratage/caption";
-import type { CaptionProgram, TimedCaptionProjection } from "@narratage/caption";
-import { assertVisualTrackIdentity, sealVisualTrack } from "@narratage/composition";
+import { applyCaptionMute, assertCaptionProgramForDisplay, assertTimedCaptionProjection } from "@hypit/caption";
+import type { CaptionProgram, TimedCaptionProjection } from "@hypit/caption";
+import { assertVisualTrackIdentity, sealVisualTrack } from "@hypit/composition";
import type {
VisualAnimation,
VisualBoxElement,
@@ -9,10 +9,10 @@ import type {
VisualStyleDeclaration,
VisualTextElement,
VisualTrack,
-} from "@narratage/composition";
-import type { CaptionDisplayAtom, CaptionDisplaySequence } from "@narratage/narrative";
-import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
+} from "@hypit/composition";
+import type { CaptionDisplayAtom, CaptionDisplaySequence } from "@hypit/narrative";
+import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
import { assertFineCaptionParameters, FINE_CAPTION_FAMILY } from "./style.js";
import type {
@@ -758,7 +758,7 @@ export function renderFineCaption(
}];
});
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: program.id,
presents,
});
diff --git a/packages/caption-fine/src/style.ts b/packages/caption-fine/src/style.ts
index 9344de18..eff01957 100644
--- a/packages/caption-fine/src/style.ts
+++ b/packages/caption-fine/src/style.ts
@@ -1,9 +1,9 @@
-import type { CaptionStyleIntent } from "@narratage/caption";
-import { sealCaptionStyle } from "@narratage/caption";
-import { assertFontArtifactRef } from "@narratage/media";
-import type { FontArtifactRef } from "@narratage/media";
-import { canonicalStringify } from "@narratage/protocol";
-import type { SvsRecipe } from "@narratage/svs";
+import type { CaptionStyleIntent } from "@hypit/caption";
+import { sealCaptionStyle } from "@hypit/caption";
+import { assertFontArtifactRef } from "@hypit/media";
+import type { FontArtifactRef } from "@hypit/media";
+import { canonicalStringify } from "@hypit/protocol";
+import type { SvsRecipe } from "@hypit/svs";
import type { FineCaptionGlyphPaint, FineCaptionParameters } from "./types.js";
import {
@@ -12,7 +12,7 @@ import {
fineCaptionRequiredRecipeProperties,
} from "./recipe.js";
-export const FINE_CAPTION_FAMILY = "@narratage/caption-fine@1";
+export const FINE_CAPTION_FAMILY = "@hypit/caption-fine@1";
const ALLOWED_PROPERTIES = new Set<string>([
...fineCaptionRequiredRecipeProperties,
diff --git a/packages/caption-fine/src/surface.ts b/packages/caption-fine/src/surface.ts
index 4a68a138..90bfdeda 100644
--- a/packages/caption-fine/src/surface.ts
+++ b/packages/caption-fine/src/surface.ts
@@ -1,17 +1,17 @@
-import { captionTypes } from "@narratage/caption";
-import { assertFontArtifactRef, assertFontStackRef, mediaTypes } from "@narratage/media";
-import type { FontArtifactRef, FontStackRef } from "@narratage/media";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
+import { captionTypes } from "@hypit/caption";
+import { assertFontArtifactRef, assertFontStackRef, mediaTypes } from "@hypit/media";
+import type { FontArtifactRef, FontStackRef } from "@hypit/media";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { fineCaptionTrackFragment } from "./fragment.js";
import { fineCaptionStyle } from "./style.js";
diff --git a/packages/caption-fine/src/types.ts b/packages/caption-fine/src/types.ts
index c579cba3..38d017ad 100644
--- a/packages/caption-fine/src/types.ts
+++ b/packages/caption-fine/src/types.ts
@@ -1,4 +1,4 @@
-import type { FontArtifactRef } from "@narratage/media";
+import type { FontArtifactRef } from "@hypit/media";
export type FineCaptionGlyphPaint = {
readonly fill: string;
diff --git a/packages/caption-fine/test/caption-fine.test.ts b/packages/caption-fine/test/caption-fine.test.ts
index 823b1b76..2d073ebe 100644
--- a/packages/caption-fine/test/caption-fine.test.ts
+++ b/packages/caption-fine/test/caption-fine.test.ts
@@ -2,13 +2,13 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { resolveCaptionProgram } from "@narratage/caption";
-import type { TimedCaptionProjection } from "@narratage/caption";
-import { fineCaptionParameters, fineCaptionStyle, renderFineCaption } from "@narratage/caption-fine";
-import type { FontArtifactRef } from "@narratage/media";
-import { sealProgramSpace } from "@narratage/program-space";
-import { captionDisplaySequence, parseScript } from "@narratage/script";
-import type { SvsRecipe } from "@narratage/svs";
+import { resolveCaptionProgram } from "@hypit/caption";
+import type { TimedCaptionProjection } from "@hypit/caption";
+import { fineCaptionParameters, fineCaptionStyle, renderFineCaption } from "@hypit/caption-fine";
+import type { FontArtifactRef } from "@hypit/media";
+import { sealProgramSpace } from "@hypit/program-space";
+import { captionDisplaySequence, parseScript } from "@hypit/script";
+import type { SvsRecipe } from "@hypit/svs";
const recipe: SvsRecipe = {
diff --git a/packages/caption-gemini/README.md b/packages/caption-gemini/README.md
index a1cd4a8b..5928dcd4 100644
--- a/packages/caption-gemini/README.md
+++ b/packages/caption-gemini/README.md
@@ -1,4 +1,4 @@
-# `@narratage/caption-gemini`
+# `@hypit/caption-gemini`
Exact Gemini Caption planning, without wording, Style-selection or timing authority.
diff --git a/packages/caption-gemini/package.json b/packages/caption-gemini/package.json
index 893c84f4..a0a78712 100644
--- a/packages/caption-gemini/package.json
+++ b/packages/caption-gemini/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/caption-gemini",
+ "name": "@hypit/caption-gemini",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,18 +7,18 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/caption": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/caption": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/script": "workspace:*"
+ "@hypit/script": "workspace:*"
}
}
diff --git a/packages/caption-gemini/src/activation.ts b/packages/caption-gemini/src/activation.ts
index 2d9c352a..3fb742f7 100644
--- a/packages/caption-gemini/src/activation.ts
+++ b/packages/caption-gemini/src/activation.ts
@@ -1,12 +1,12 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
captionGeminiComponent, captionGeminiManifest,
captionGeminiModuleRef, decodeCaptionGeminiPlannerSurface,
captionGeminiMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: captionGeminiManifest }],
components: [captionGeminiComponent],
hostFacets: [createMarkupSurfaceHostFacet({
@@ -15,4 +15,4 @@ export const narratagePackage = {
handler: decodeCaptionGeminiPlannerSurface,
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/caption-gemini/src/component.ts b/packages/caption-gemini/src/component.ts
index af3cc05e..6ed4944d 100644
--- a/packages/caption-gemini/src/component.ts
+++ b/packages/caption-gemini/src/component.ts
@@ -1,8 +1,8 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { CaptionProgram } from "@narratage/caption";
-import type { CaptionDisplaySequence } from "@narratage/narrative";
-import type { StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { CaptionProgram } from "@hypit/caption";
+import type { CaptionDisplaySequence } from "@hypit/narrative";
+import type { StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
import { captionGeminiProducers, captionGeminiTypes } from "./manifest.js";
import { verifyCaptionGeminiProgram } from "./program.js";
diff --git a/packages/caption-gemini/src/fragment.ts b/packages/caption-gemini/src/fragment.ts
index dbd29031..ce5a169d 100644
--- a/packages/caption-gemini/src/fragment.ts
+++ b/packages/caption-gemini/src/fragment.ts
@@ -1,6 +1,6 @@
-import { narrativeTypes } from "@narratage/narrative";
-import { captionTypes } from "@narratage/caption";
-import { sealGraphFragment } from "@narratage/elaborator";
+import { narrativeTypes } from "@hypit/narrative";
+import { captionTypes } from "@hypit/caption";
+import { sealGraphFragment } from "@hypit/elaborator";
import { captionGeminiProducers, captionGeminiTypes } from "./manifest.js";
diff --git a/packages/caption-gemini/src/manifest.ts b/packages/caption-gemini/src/manifest.ts
index 36a769cb..434489ab 100644
--- a/packages/caption-gemini/src/manifest.ts
+++ b/packages/caption-gemini/src/manifest.ts
@@ -1,8 +1,8 @@
-import { captionManifest, captionModuleRef, captionTypes } from "@narratage/caption";
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import type { CapabilityRef, ModuleManifest, ProducerRef, TypeRef } from "@narratage/protocol";
+import { captionManifest, captionModuleRef, captionTypes } from "@hypit/caption";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import type { CapabilityRef, ModuleManifest, ProducerRef, TypeRef } from "@hypit/protocol";
-export const captionGeminiModuleRef = { name: "@narratage/caption-gemini", version: "1" } as const;
+export const captionGeminiModuleRef = { name: "@hypit/caption-gemini", version: "1" } as const;
export const captionGeminiTypes = {
program: { module: captionGeminiModuleRef, name: "CaptionGeminiProgram" },
request: { module: captionGeminiModuleRef, name: "CaptionGeminiRequest" },
@@ -24,7 +24,7 @@ export const captionGeminiMarkupSurfaces = [{
export const captionGeminiManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: captionGeminiModuleRef.name,
version: captionGeminiModuleRef.version,
dependencies: [
diff --git a/packages/caption-gemini/src/plan.ts b/packages/caption-gemini/src/plan.ts
index 4d49e6fc..c4450c06 100644
--- a/packages/caption-gemini/src/plan.ts
+++ b/packages/caption-gemini/src/plan.ts
@@ -1,5 +1,5 @@
-import { assertCaptionPlan, sealCaptionPlan } from "@narratage/caption";
-import type { CaptionFieldDeclaration, CaptionPlannedCue } from "@narratage/caption";
+import { assertCaptionPlan, sealCaptionPlan } from "@hypit/caption";
+import type { CaptionFieldDeclaration, CaptionPlannedCue } from "@hypit/caption";
import { verifyCaptionGeminiRequest } from "./request.js";
import type {
diff --git a/packages/caption-gemini/src/request.ts b/packages/caption-gemini/src/request.ts
index 9c45836f..9b2f6f1e 100644
--- a/packages/caption-gemini/src/request.ts
+++ b/packages/caption-gemini/src/request.ts
@@ -1,6 +1,6 @@
-import { assertCaptionProgramForDisplay } from "@narratage/caption";
-import type { CaptionFieldDeclaration, CaptionProgram } from "@narratage/caption";
-import type { CaptionDisplaySequence } from "@narratage/narrative";
+import { assertCaptionProgramForDisplay } from "@hypit/caption";
+import type { CaptionFieldDeclaration, CaptionProgram } from "@hypit/caption";
+import type { CaptionDisplaySequence } from "@hypit/narrative";
import { verifyCaptionGeminiProgram } from "./program.js";
import type {
diff --git a/packages/caption-gemini/src/surface.ts b/packages/caption-gemini/src/surface.ts
index e9921121..770226ca 100644
--- a/packages/caption-gemini/src/surface.ts
+++ b/packages/caption-gemini/src/surface.ts
@@ -1,10 +1,10 @@
-import { captionTypes } from "@narratage/caption";
-import { narrativeTypes } from "@narratage/narrative";
+import { captionTypes } from "@hypit/caption";
+import { narrativeTypes } from "@hypit/narrative";
import type {
StructuredSurfaceHandler,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { captionGeminiPlanningFragment } from "./fragment.js";
import { captionGeminiTypes } from "./manifest.js";
diff --git a/packages/caption-gemini/src/types.ts b/packages/caption-gemini/src/types.ts
index 52e95de1..178424de 100644
--- a/packages/caption-gemini/src/types.ts
+++ b/packages/caption-gemini/src/types.ts
@@ -6,7 +6,7 @@ import type {
CaptionPlannedCue,
CaptionPlannedRun,
CaptionProgram,
-} from "@narratage/caption";
+} from "@hypit/caption";
export type {
CaptionFieldAssignment,
diff --git a/packages/caption-gemini/test/planning.test.ts b/packages/caption-gemini/test/planning.test.ts
index 5fe905e2..61d185cb 100644
--- a/packages/caption-gemini/test/planning.test.ts
+++ b/packages/caption-gemini/test/planning.test.ts
@@ -1,15 +1,15 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { resolveCaptionProgram, sealCaptionStyle } from "@narratage/caption";
-import type { CaptionFieldDeclaration, CaptionStyleIntent } from "@narratage/caption";
+import { resolveCaptionProgram, sealCaptionStyle } from "@hypit/caption";
+import type { CaptionFieldDeclaration, CaptionStyleIntent } from "@hypit/caption";
import {
compileCaptionGeminiRequest,
sealCaptionGeminiPlan,
sealCaptionGeminiProgram,
-} from "@narratage/caption-gemini";
-import type { CaptionGeminiRequest, RawCaptionGeminiResponse } from "@narratage/caption-gemini";
-import { captionDisplaySequence, parseScript } from "@narratage/script";
+} from "@hypit/caption-gemini";
+import type { CaptionGeminiRequest, RawCaptionGeminiResponse } from "@hypit/caption-gemini";
+import { captionDisplaySequence, parseScript } from "@hypit/script";
function style(id: string, fields: readonly CaptionFieldDeclaration[] = []): CaptionStyleIntent {
return sealCaptionStyle({
diff --git a/packages/caption-playground/index.html b/packages/caption-playground/index.html
index ffcc0678..5a51e5ec 100644
--- a/packages/caption-playground/index.html
+++ b/packages/caption-playground/index.html
@@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" href="data:," />
- <title>Caption Playground · Narratage</title>
+ <title>Caption Playground · Hypit</title>
</head>
<body><div id="app"></div><script type="module" src="/src/main.ts"></script></body>
</html>
diff --git a/packages/caption-playground/package.json b/packages/caption-playground/package.json
index 5eedf3d5..03ae1014 100644
--- a/packages/caption-playground/package.json
+++ b/packages/caption-playground/package.json
@@ -1,21 +1,21 @@
{
- "name": "@narratage/caption-playground",
+ "name": "@hypit/caption-playground",
"version": "0.0.0-dev",
"private": true,
"type": "module",
"dependencies": {
- "@narratage/caption": "workspace:*",
- "@narratage/caption-fine": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/fonts-open": "workspace:*",
- "@narratage/workspace": "workspace:*",
- "@narratage/hyperframes": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/package-loader-node": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/video-cli": "workspace:*",
+ "@hypit/caption": "workspace:*",
+ "@hypit/caption-fine": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/fonts-open": "workspace:*",
+ "@hypit/workspace": "workspace:*",
+ "@hypit/hyperframes": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/package-loader-node": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/video-cli": "workspace:*",
"vite": "5.4.21"
}
}
diff --git a/packages/caption-playground/src/main.ts b/packages/caption-playground/src/main.ts
index ab20af6f..f5182206 100644
--- a/packages/caption-playground/src/main.ts
+++ b/packages/caption-playground/src/main.ts
@@ -1,9 +1,9 @@
-import type { CaptionProgram, TimedCaptionProjection } from "@narratage/caption";
-import { resolveCaptionProgram } from "@narratage/caption";
-import { renderFineCaption } from "@narratage/caption-fine";
-import type { CaptionDisplayAtom, CaptionDisplaySequence } from "@narratage/narrative";
-import type { CanonicalValue, ValueSchema } from "@narratage/protocol";
-import { sealProgramSpace } from "@narratage/program-space";
+import type { CaptionProgram, TimedCaptionProjection } from "@hypit/caption";
+import { resolveCaptionProgram } from "@hypit/caption";
+import { renderFineCaption } from "@hypit/caption-fine";
+import type { CaptionDisplayAtom, CaptionDisplaySequence } from "@hypit/narrative";
+import type { CanonicalValue, ValueSchema } from "@hypit/protocol";
+import { sealProgramSpace } from "@hypit/program-space";
import type {
CaptionPlaygroundFailure,
diff --git a/packages/caption-playground/src/preview/runtime-shim.ts b/packages/caption-playground/src/preview/runtime-shim.ts
index c01e072e..130a1e19 100644
--- a/packages/caption-playground/src/preview/runtime-shim.ts
+++ b/packages/caption-playground/src/preview/runtime-shim.ts
@@ -10,7 +10,7 @@ export const RUNTIME_SHIM = String.raw`
root.style.height = (root.getAttribute('data-height') || '0') + 'px';
}
function seek(seconds) {
- var clips = document.querySelectorAll('.narratage-visual-present');
+ var clips = document.querySelectorAll('.hypit-visual-present');
for (var i = 0; i < clips.length; i++) {
var clip = clips[i];
var start = parseFloat(clip.getAttribute('data-start') || '0') || 0;
diff --git a/packages/caption-playground/src/server.ts b/packages/caption-playground/src/server.ts
index dd23e2b9..f6156c95 100644
--- a/packages/caption-playground/src/server.ts
+++ b/packages/caption-playground/src/server.ts
@@ -3,17 +3,17 @@ import { readFile, rename, writeFile } from "node:fs/promises";
import { createRequire } from "node:module";
import { dirname, relative, resolve } from "node:path";
-import { captionTypes } from "@narratage/caption";
-import { fineCaptionRecipeSchema, FINE_CAPTION_FAMILY } from "@narratage/caption-fine";
-import { openFontFamilies } from "@narratage/fonts-open";
-import type { OpenFontFamily, OpenFontStyle } from "@narratage/fonts-open";
-import { narrativeTypes } from "@narratage/narrative";
-import { loadNodePackageSelection } from "@narratage/package-loader-node";
-import type { LoadedPackage } from "@narratage/package-loader-node";
-import type { ArtifactAttachment } from "@narratage/workspace";
-import type { CanonicalValue, TypedRecord, TypeRef } from "@narratage/protocol";
-import { parseSvs } from "@narratage/svs";
-import { createVideoCompiler, discoverVideoSourcePackages } from "@narratage/video-cli";
+import { captionTypes } from "@hypit/caption";
+import { fineCaptionRecipeSchema, FINE_CAPTION_FAMILY } from "@hypit/caption-fine";
+import { openFontFamilies } from "@hypit/fonts-open";
+import type { OpenFontFamily, OpenFontStyle } from "@hypit/fonts-open";
+import { narrativeTypes } from "@hypit/narrative";
+import { loadNodePackageSelection } from "@hypit/package-loader-node";
+import type { LoadedPackage } from "@hypit/package-loader-node";
+import type { ArtifactAttachment } from "@hypit/workspace";
+import type { CanonicalValue, TypedRecord, TypeRef } from "@hypit/protocol";
+import { parseSvs } from "@hypit/svs";
+import { createVideoCompiler, discoverVideoSourcePackages } from "@hypit/video-cli";
import type { Plugin, ViteDevServer } from "vite";
import type {
@@ -325,7 +325,7 @@ export function captionPlaygroundPlugin(options: CaptionPlaygroundOptions): Plug
};
return {
- name: "narratage-caption-playground",
+ name: "hypit-caption-playground",
configureServer(value) {
server = value;
value.watcher.add([options.source, options.recipeFile, options.fontFile]);
diff --git a/packages/caption-playground/src/shared.ts b/packages/caption-playground/src/shared.ts
index f102a6d9..a59ad61b 100644
--- a/packages/caption-playground/src/shared.ts
+++ b/packages/caption-playground/src/shared.ts
@@ -1,7 +1,7 @@
-import type { CaptionStyleIntent } from "@narratage/caption";
-import type { OpenFontCategory, OpenFontStyle } from "@narratage/fonts-open";
-import type { CaptionDisplaySequence } from "@narratage/narrative";
-import type { CanonicalValue, ValueSchema } from "@narratage/protocol";
+import type { CaptionStyleIntent } from "@hypit/caption";
+import type { OpenFontCategory, OpenFontStyle } from "@hypit/fonts-open";
+import type { CaptionDisplaySequence } from "@hypit/narrative";
+import type { CanonicalValue, ValueSchema } from "@hypit/protocol";
export type CaptionPlaygroundFont = {
readonly id: string;
diff --git a/packages/caption-playground/src/svml.ts b/packages/caption-playground/src/svml.ts
index 635d6d13..4f470e5f 100644
--- a/packages/caption-playground/src/svml.ts
+++ b/packages/caption-playground/src/svml.ts
@@ -1,11 +1,11 @@
-export { resolveCaptionProgram } from "@narratage/caption";
-export type { CaptionStyleIntent, TimedCaptionProjection } from "@narratage/caption";
-export { renderFineCaption } from "@narratage/caption-fine";
-export type { CaptionDisplaySequence } from "@narratage/narrative";
-export { sealComposition } from "@narratage/composition";
-export type { Composition, Track } from "@narratage/composition";
-export { sealProgramSpace, programSpaceFrameCount } from "@narratage/program-space";
-export type { ProgramSpace } from "@narratage/program-space";
+export { resolveCaptionProgram } from "@hypit/caption";
+export type { CaptionStyleIntent, TimedCaptionProjection } from "@hypit/caption";
+export { renderFineCaption } from "@hypit/caption-fine";
+export type { CaptionDisplaySequence } from "@hypit/narrative";
+export { sealComposition } from "@hypit/composition";
+export type { Composition, Track } from "@hypit/composition";
+export { sealProgramSpace, programSpaceFrameCount } from "@hypit/program-space";
+export type { ProgramSpace } from "@hypit/program-space";
export {
compileHyperframesDocument,
materializeHyperframesHtml,
diff --git a/packages/caption-playground/test/runtime-shim.test.ts b/packages/caption-playground/test/runtime-shim.test.ts
index b41ef297..eb13b833 100644
--- a/packages/caption-playground/test/runtime-shim.test.ts
+++ b/packages/caption-playground/test/runtime-shim.test.ts
@@ -1,9 +1,9 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { sealComposition, sealVisualTrack } from "@narratage/composition";
-import { compileHyperframesDocument } from "@narratage/hyperframes";
-import { sealProgramSpace } from "@narratage/program-space";
+import { sealComposition, sealVisualTrack } from "@hypit/composition";
+import { compileHyperframesDocument } from "@hypit/hyperframes";
+import { sealProgramSpace } from "@hypit/program-space";
import { injectRuntimeShim } from "../src/preview/runtime-shim.js";
@@ -17,7 +17,7 @@ function document_() {
id: "caption-preview",
canvas: { width: 1080, height: 1920, clearColor: "#09090b" },
tracks: [sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "caption",
presents: [{
id: "one", span: { startFrame: 0, endFrameExclusive: 30 },
diff --git a/packages/caption/README.md b/packages/caption/README.md
index 41df95e7..11380153 100644
--- a/packages/caption/README.md
+++ b/packages/caption/README.md
@@ -1,4 +1,4 @@
-# `@narratage/caption`
+# `@hypit/caption`
Style-family-neutral Caption contracts and deterministic whole-Atom timing.
diff --git a/packages/caption/package.json b/packages/caption/package.json
index 2499aa6a..159ce284 100644
--- a/packages/caption/package.json
+++ b/packages/caption/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/caption",
+ "name": "@hypit/caption",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,22 +7,22 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/program-space": "workspace:*",
- "@narratage/script": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/speech-alignment": "workspace:*",
- "@narratage/speech-evidence": "workspace:*"
+ "@hypit/program-space": "workspace:*",
+ "@hypit/script": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/speech-alignment": "workspace:*",
+ "@hypit/speech-evidence": "workspace:*"
}
}
diff --git a/packages/caption/src/activation.ts b/packages/caption/src/activation.ts
index 9351f11d..58a14603 100644
--- a/packages/caption/src/activation.ts
+++ b/packages/caption/src/activation.ts
@@ -1,12 +1,12 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
captionComponent, captionManifest, captionModuleRef,
decodeCaptionProgramSurface,
captionMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: captionManifest }],
components: [captionComponent],
hostFacets: [
@@ -14,4 +14,4 @@ export const narratagePackage = {
declaration: captionMarkupSurfaces.find((item) => item.name === "program")!, handler: decodeCaptionProgramSurface }),
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/caption/src/component.ts b/packages/caption/src/component.ts
index bb17ee69..b7938141 100644
--- a/packages/caption/src/component.ts
+++ b/packages/caption/src/component.ts
@@ -1,8 +1,8 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { CaptionCorrespondence, CaptionDisplaySequence } from "@narratage/narrative";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import type { StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { CaptionCorrespondence, CaptionDisplaySequence } from "@hypit/narrative";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import type { StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
import { captionProducers, captionTypes } from "./manifest.js";
import { assertCaptionPlan } from "./plan.js";
diff --git a/packages/caption/src/display.ts b/packages/caption/src/display.ts
index 224bfa65..1d74ad85 100644
--- a/packages/caption/src/display.ts
+++ b/packages/caption/src/display.ts
@@ -3,7 +3,7 @@ import type {
CaptionDisplaySequence,
CaptionDisplayWord,
CaptionDisplayWordSubset,
-} from "@narratage/narrative";
+} from "@hypit/narrative";
function assert(condition: unknown, message: string): asserts condition {
if (!condition) throw new Error(message);
diff --git a/packages/caption/src/fragment.ts b/packages/caption/src/fragment.ts
index 0fb95a14..4c6f6138 100644
--- a/packages/caption/src/fragment.ts
+++ b/packages/caption/src/fragment.ts
@@ -1,6 +1,6 @@
-import { narrativeTypes } from "@narratage/narrative";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { sealGraphFragment } from "@narratage/elaborator";
+import { narrativeTypes } from "@hypit/narrative";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { sealGraphFragment } from "@hypit/elaborator";
import { captionProducers, captionTypes } from "./manifest.js";
diff --git a/packages/caption/src/manifest.ts b/packages/caption/src/manifest.ts
index a02f1b8f..c7aff16a 100644
--- a/packages/caption/src/manifest.ts
+++ b/packages/caption/src/manifest.ts
@@ -1,8 +1,8 @@
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import { semanticMapDependency, semanticMapTypes } from "@narratage/semantic-map";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import { semanticMapDependency, semanticMapTypes } from "@hypit/semantic-map";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
-export const captionModuleRef = { name: "@narratage/caption", version: "1" } as const;
+export const captionModuleRef = { name: "@hypit/caption", version: "1" } as const;
export const captionProducers = {
temporalizePlan: { module: captionModuleRef, name: "temporalize-caption-plan" },
} satisfies Record<string, ProducerRef>;
@@ -99,7 +99,7 @@ export const captionMarkupSurfaces = [{
export const captionManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: captionModuleRef.name,
version: captionModuleRef.version,
dependencies: [narrativeDependency, semanticMapDependency],
diff --git a/packages/caption/src/plan.ts b/packages/caption/src/plan.ts
index 9bb85384..cf89e2d9 100644
--- a/packages/caption/src/plan.ts
+++ b/packages/caption/src/plan.ts
@@ -1,4 +1,4 @@
-import type { CaptionDisplaySequence } from "@narratage/narrative";
+import type { CaptionDisplaySequence } from "@hypit/narrative";
import type { CaptionFieldDeclaration, CaptionPlan, CaptionProgram } from "./types.js";
diff --git a/packages/caption/src/style.ts b/packages/caption/src/style.ts
index c93e7a9a..4e887b67 100644
--- a/packages/caption/src/style.ts
+++ b/packages/caption/src/style.ts
@@ -2,8 +2,8 @@ import type {
CaptionDisplaySequence,
CaptionDisplayWord,
CaptionDisplayWordSubset,
-} from "@narratage/narrative";
-import { canonicalStringify, canonicalize } from "@narratage/protocol";
+} from "@hypit/narrative";
+import { canonicalStringify, canonicalize } from "@hypit/protocol";
import { assertCaptionDisplaySequence, assertCaptionDisplayWordSubset } from "./display.js";
import type {
diff --git a/packages/caption/src/surface.ts b/packages/caption/src/surface.ts
index 668e2839..dcaa6a96 100644
--- a/packages/caption/src/surface.ts
+++ b/packages/caption/src/surface.ts
@@ -1,11 +1,11 @@
-import { narrativeTypes } from "@narratage/narrative";
-import type { CaptionDisplaySequence, CaptionDisplayWordSubset } from "@narratage/narrative";
+import { narrativeTypes } from "@hypit/narrative";
+import type { CaptionDisplaySequence, CaptionDisplayWordSubset } from "@hypit/narrative";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { captionTypes } from "./manifest.js";
import { captionWordsForRole } from "./display.js";
diff --git a/packages/caption/src/temporalize.ts b/packages/caption/src/temporalize.ts
index 8205f40f..c2ece828 100644
--- a/packages/caption/src/temporalize.ts
+++ b/packages/caption/src/temporalize.ts
@@ -1,6 +1,6 @@
-import type { CaptionCorrespondence, CaptionDisplaySequence } from "@narratage/narrative";
-import { tokenFrameSpan } from "@narratage/semantic-map";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
+import type { CaptionCorrespondence, CaptionDisplaySequence } from "@hypit/narrative";
+import { tokenFrameSpan } from "@hypit/semantic-map";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
import { CaptionTimingError } from "./error.js";
import { assertCaptionCorrespondence, assertCaptionDisplaySequence } from "./display.js";
diff --git a/packages/caption/src/types.ts b/packages/caption/src/types.ts
index 12215fcc..d2458dd5 100644
--- a/packages/caption/src/types.ts
+++ b/packages/caption/src/types.ts
@@ -1,5 +1,5 @@
-import type { CanonicalValue } from "@narratage/protocol";
+import type { CanonicalValue } from "@hypit/protocol";
export type CaptionFieldValueSchema =
| { readonly kind: "boolean" }
diff --git a/packages/caption/test/caption.test.ts b/packages/caption/test/caption.test.ts
index a666ec53..379bd2b1 100644
--- a/packages/caption/test/caption.test.ts
+++ b/packages/caption/test/caption.test.ts
@@ -10,24 +10,24 @@ import {
sealCaptionPlan,
sealCaptionStyle,
temporalizeCaptionPlan,
-} from "@narratage/caption";
-import type { CaptionFieldDeclaration, CaptionStyleIntent } from "@narratage/caption";
-import { narrativeTypes } from "@narratage/narrative";
-import type { CaptionDisplayWordSubset, Narrative } from "@narratage/narrative";
-import { canonicalize } from "@narratage/protocol";
-import type { StoredValue, TypeRef } from "@narratage/protocol";
-import { sealProgramSpace } from "@narratage/program-space";
-import { sealSpeechBasis } from "@narratage/speech";
-import type { SpeechAudioBasis } from "@narratage/speech";
-import { locateSpeechTiming } from "@narratage/speech-alignment";
-import { sealAlignedTranscriptEvidence } from "@narratage/speech-evidence";
+} from "@hypit/caption";
+import type { CaptionFieldDeclaration, CaptionStyleIntent } from "@hypit/caption";
+import { narrativeTypes } from "@hypit/narrative";
+import type { CaptionDisplayWordSubset, Narrative } from "@hypit/narrative";
+import { canonicalize } from "@hypit/protocol";
+import type { StoredValue, TypeRef } from "@hypit/protocol";
+import { sealProgramSpace } from "@hypit/program-space";
+import { sealSpeechBasis } from "@hypit/speech";
+import type { SpeechAudioBasis } from "@hypit/speech";
+import { locateSpeechTiming } from "@hypit/speech-alignment";
+import { sealAlignedTranscriptEvidence } from "@hypit/speech-evidence";
import {
captionCorrespondence,
captionDisplaySequence,
captionSelectionWordSubset,
parseScript,
-} from "@narratage/script";
-import type { StructuredElement, SurfaceResolvedReference } from "@narratage/markup";
+} from "@hypit/script";
+import type { StructuredElement, SurfaceResolvedReference } from "@hypit/markup";
type TranscriptFixture = {
readonly words: readonly {
diff --git a/packages/cli/README.md b/packages/cli/README.md
index adbcad6a..d4e5350f 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -1,10 +1,10 @@
-# `@narratage/cli`
+# `@hypit/cli`
-Domain neutral commands for checking, planning, building and inspecting Narratage projects.
+Domain neutral commands for checking, planning, building and inspecting Hypit projects.
The command engine receives one explicit `CliDistribution`. A distribution supplies the compiler,
trusted bootstrap packages, source package discovery and the Runtime Host selected by a Runtime
-Profile. The official video executable is assembled by `@narratage/video-cli`; another domain can
+Profile. The official video executable is assembled by `@hypit/video-cli`; another domain can
reuse this package without installing video packages.
Source imports decide which language and component packages give the source meaning. The Runtime
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 132a746b..cd38be70 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/cli",
+ "name": "@hypit/cli",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,14 +8,14 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/compiler-node": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/workspace": "workspace:*",
- "@narratage/package-loader-node": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/run": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-host-node": "workspace:*",
- "@narratage/source": "workspace:*"
+ "@hypit/compiler-node": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/workspace": "workspace:*",
+ "@hypit/package-loader-node": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/run": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-host-node": "workspace:*",
+ "@hypit/source": "workspace:*"
}
}
diff --git a/packages/cli/src/archive.ts b/packages/cli/src/archive.ts
index 964365e0..1db9c5e7 100644
--- a/packages/cli/src/archive.ts
+++ b/packages/cli/src/archive.ts
@@ -3,9 +3,9 @@ import { mkdir, open, rename, rm, writeFile } from "node:fs/promises";
import { dirname } from "node:path";
import type { CliRuntimeArtifactAccess } from "./runtime-port.js";
-import { isDigest } from "@narratage/protocol";
-import type { BuildState, Digest, TypedRecord, TypeRef } from "@narratage/protocol";
-import type { BuildCatalogEntry } from "@narratage/runtime";
+import { isDigest } from "@hypit/protocol";
+import type { BuildState, Digest, TypedRecord, TypeRef } from "@hypit/protocol";
+import type { BuildCatalogEntry } from "@hypit/runtime";
type ArtifactIdentity = {
readonly digest: Digest;
@@ -68,7 +68,7 @@ export async function materializeArtifact(
await mkdir(dirname(destination), { recursive: true });
const source = await runtime.openArtifact(artifact.digest);
if (source === undefined) throw new Error(`Artifact ${artifact.digest} is absent from the selected ArtifactStore`);
- const temporary = `${destination}.narratage-${randomUUID()}.part`;
+ const temporary = `${destination}.hypit-${randomUUID()}.part`;
const output = await open(temporary, "wx");
let size = 0;
try {
diff --git a/packages/cli/src/distribution.ts b/packages/cli/src/distribution.ts
index 2afeb88d..6c98757d 100644
--- a/packages/cli/src/distribution.ts
+++ b/packages/cli/src/distribution.ts
@@ -1,6 +1,6 @@
-import type { NodeCompiler } from "@narratage/compiler-node";
-import type { LoadedPackage, NodePackageContribution } from "@narratage/package-loader-node";
-import type { NodeRuntimeHost } from "@narratage/runtime-host-node";
+import type { NodeCompiler } from "@hypit/compiler-node";
+import type { LoadedPackage, NodePackageContribution } from "@hypit/package-loader-node";
+import type { NodeRuntimeHost } from "@hypit/runtime-host-node";
export type CliCompilerOptions = {
/** Canonical containment boundary for Author and Run Sources plus source assets. */
@@ -35,7 +35,7 @@ export type CliDistribution = {
readonly packages?: readonly LoadedPackage[];
}): Promise<{
readonly selected: readonly string[];
- readonly logical?: readonly import("@narratage/package-loader-node").LogicalPackageAddress[];
+ readonly logical?: readonly import("@hypit/package-loader-node").LogicalPackageAddress[];
}>;
/** Open the Runtime Profile with this application's Runtime implementation. */
openRuntimeHost(path: string, options: { readonly packageRoot: string }): Promise<NodeRuntimeHost>;
diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts
index 9cc04efa..b6842df8 100644
--- a/packages/cli/src/index.ts
+++ b/packages/cli/src/index.ts
@@ -1,7 +1,7 @@
export { materializeArtifact, materializeRecord } from "./archive.js";
export { runCli } from "./main.js";
export { discoverSourcePackages } from "./source-discovery.js";
-export { narratageHostStateRoot, narratageProjectStateRoot } from "./paths.js";
+export { hypitHostStateRoot, hypitProjectStateRoot } from "./paths.js";
export { renderCliError, writeCliHelp, writeCliOutput } from "./output.js";
export type {
CliColorMode,
diff --git a/packages/cli/src/main.ts b/packages/cli/src/main.ts
index 25786dc3..7354d306 100644
--- a/packages/cli/src/main.ts
+++ b/packages/cli/src/main.ts
@@ -2,12 +2,12 @@ import { randomUUID } from "node:crypto";
import { basename, dirname, isAbsolute, relative, resolve, sep } from "node:path";
import { readFile, stat } from "node:fs/promises";
-import type { NodeCompiledSourceClosure } from "@narratage/compiler-node";
-import type { NodeRuntimeHost } from "@narratage/runtime-host-node";
-import { plannedNeeds } from "@narratage/runtime";
-import type { BuildCatalogDescriptor, CapacityReservation, OperationProgress } from "@narratage/runtime";
-import type { BuildState, CapabilityRef, TypeRef } from "@narratage/protocol";
-import { parseSourceHeader } from "@narratage/source";
+import type { NodeCompiledSourceClosure } from "@hypit/compiler-node";
+import type { NodeRuntimeHost } from "@hypit/runtime-host-node";
+import { plannedNeeds } from "@hypit/runtime";
+import type { BuildCatalogDescriptor, CapacityReservation, OperationProgress } from "@hypit/runtime";
+import type { BuildState, CapabilityRef, TypeRef } from "@hypit/protocol";
+import { parseSourceHeader } from "@hypit/source";
import {
acceptedArchivedOutputs,
@@ -32,7 +32,7 @@ import type {
} from "./runtime-port.js";
import { writeCliHelp, writeCliOutput } from "./output.js";
import type { CliColorMode, CliIo } from "./output.js";
-import { narratageHostStateRoot, narratageProjectStateRoot } from "./paths.js";
+import { hypitHostStateRoot, hypitProjectStateRoot } from "./paths.js";
import { loadDiscoveredSourcePackages } from "./source-packages.js";
import {
clearRuntimeProfile,
@@ -387,22 +387,22 @@ function assertCommandOptions(args: ParsedArgs): void {
function usage(): string {
return [
"usage:",
- " narratage doctor [<runtime-profile>]",
- " narratage programs up|down|status [<runtime-profile>] [--max-wait-ms milliseconds]",
- " narratage runtime use <runtime-profile>",
- " narratage runtime unset",
- " narratage runtime up|status|logs|down [<runtime-profile>]",
- " narratage queue [--runtime profile.json] [--watch]",
- " narratage check <self-described-source> [--runtime profile.json] [--workspace workspace] [--asset-root directory]",
- " narratage plan <run-source> [--runtime profile.json] [--workspace workspace] [--asset-root directory]",
- " narratage build <run-source> [--runtime profile.json] [--workspace workspace] [--asset-root directory] [--follow] [--no-programs]",
- " narratage status <build-id> [--runtime profile.json] [--watch]",
- " narratage builds [--runtime profile.json]",
- " narratage history [source-output-name] [--runtime profile.json] [--source author.svml]",
- " narratage inspect <build-id> [--runtime profile.json]",
- " narratage get <build-id> [--runtime profile.json] [--name source-name|--record record-id|--output logical-output-id|--artifact digest] [--to path]",
- " narratage cancel <build-id> [--runtime profile.json] [--reason text]",
- " narratage auth status|login|logout <endpoint-instance> [--runtime profile.json] [--slot name] [--from secret-file]",
+ " hypit doctor [<runtime-profile>]",
+ " hypit programs up|down|status [<runtime-profile>] [--max-wait-ms milliseconds]",
+ " hypit runtime use <runtime-profile>",
+ " hypit runtime unset",
+ " hypit runtime up|status|logs|down [<runtime-profile>]",
+ " hypit queue [--runtime profile.json] [--watch]",
+ " hypit check <self-described-source> [--runtime profile.json] [--workspace workspace] [--asset-root directory]",
+ " hypit plan <run-source> [--runtime profile.json] [--workspace workspace] [--asset-root directory]",
+ " hypit build <run-source> [--runtime profile.json] [--workspace workspace] [--asset-root directory] [--follow] [--no-programs]",
+ " hypit status <build-id> [--runtime profile.json] [--watch]",
+ " hypit builds [--runtime profile.json]",
+ " hypit history [source-output-name] [--runtime profile.json] [--source author.svml]",
+ " hypit inspect <build-id> [--runtime profile.json]",
+ " hypit get <build-id> [--runtime profile.json] [--name source-name|--record record-id|--output logical-output-id|--artifact digest] [--to path]",
+ " hypit cancel <build-id> [--runtime profile.json] [--reason text]",
+ " hypit auth status|login|logout <endpoint-instance> [--runtime profile.json] [--slot name] [--from secret-file]",
"",
"output:",
" --json --verbose --color auto|always|never --no-color --debug",
@@ -439,7 +439,7 @@ function createCatalogDescriptor(options: {
*
* Programs are started and left running: a developer submits several Builds
* against one warm program, and stopping it between them would pay the model
- * load every time. `narratage programs down` ends them.
+ * load every time. `hypit programs down` ends them.
*/
async function startDeclaredPrograms(
controller: CliRuntimeController,
@@ -639,7 +639,7 @@ async function observeBuild(
if (worker.state !== "running") {
throw new Error(
`Runtime Worker is ${worker.state}; Build ${current.id} remains durable. `
- + `Run narratage runtime up, then run narratage status ${current.id} --watch again`,
+ + `Run hypit runtime up, then run hypit status ${current.id} --watch again`,
);
}
}
@@ -782,7 +782,7 @@ export async function runCli(
const profile = resolve(args.file);
const selected = await selectRuntimeProfile(args.workspaceRoot ?? process.cwd(), profile);
writeOperational({
- format: "narratage.cli-runtime-selection@1",
+ format: "hypit.cli-runtime-selection@1",
profile: selected.profile,
project: selected.projectRoot,
selectionFile: selected.selectionFile,
@@ -799,7 +799,7 @@ export async function runCli(
assertCommandOptions(args);
const cleared = await clearRuntimeProfile(process.cwd());
writeOperational({
- format: "narratage.cli-runtime-selection@1",
+ format: "hypit.cli-runtime-selection@1",
selected: false,
removed: cleared !== undefined,
profile: cleared?.profile,
@@ -871,14 +871,14 @@ export async function runCli(
? undefined
: await (await runtimeHost(args.runtime)).resolvePaths();
const machine = {
- format: "narratage.cli-paths@1" as const,
+ format: "hypit.cli-paths@1" as const,
project: projectRoot,
- projectState: narratageProjectStateRoot(projectRoot),
+ projectState: hypitProjectStateRoot(projectRoot),
profile: args.runtime,
runtimeData: runtimePaths?.runtimeDataRoot,
- hostState: narratageHostStateRoot(),
+ hostState: hypitHostStateRoot(),
};
- writeOperational(machine, "Narratage paths", "info", [
+ writeOperational(machine, "Hypit paths", "info", [
["Project", machine.project],
["Project state", machine.projectState],
["Runtime Profile", machine.profile ?? "not selected"],
@@ -893,12 +893,12 @@ export async function runCli(
}
const profileInput = args.runtime ?? args.file;
if (profileInput === undefined) {
- throw new Error("doctor requires a Runtime Profile; run narratage runtime use <profile> or provide it positionally");
+ throw new Error("doctor requires a Runtime Profile; run hypit runtime use <profile> or provide it positionally");
}
const profile = resolve(profileInput);
const result = await (await runtimeHost(profile)).doctor();
const machine = {
- format: "narratage.cli-doctor@1" as const,
+ format: "hypit.cli-doctor@1" as const,
ok: !result.diagnostics.some((item) => item.severity === "error"),
dataRoot: result.dataRoot,
diagnostics: result.diagnostics,
@@ -935,7 +935,7 @@ export async function runCli(
const ready = result.programs.every((item) => item.state.state === "ready");
const desiredState = args.action === "down" ? !result.programs.some((item) => item.state.state === "ready") : ready;
const machine = {
- format: "narratage.cli-programs-status@1" as const,
+ format: "hypit.cli-programs-status@1" as const,
// A successful status query is not a failed lifecycle action. `ready` carries readiness.
ok: args.action === "status" ? true : desiredState,
ready,
@@ -992,7 +992,7 @@ export async function runCli(
const lines = logs.text.length === 0 ? [] : logs.text.replace(/\n$/u, "").split("\n");
const shown = args.verbose ? lines : lines.slice(-100);
writeOperational({
- format: "narratage.cli-runtime-logs@1",
+ format: "hypit.cli-runtime-logs@1",
path: logs.path,
text: logs.text,
}, "Runtime logs", "info", [
@@ -1007,7 +1007,7 @@ export async function runCli(
});
writeOperational({ ok: true, worker }, "Runtime Worker is down", "success", [
["Worker", worker.state],
- ], ["External programs were left running. Stop them explicitly with narratage programs down."]);
+ ], ["External programs were left running. Stop them explicitly with hypit programs down."]);
return;
}
// These are independent views over one Profile. Load them concurrently without inventing a
@@ -1033,7 +1033,7 @@ export async function runCli(
const attention = active > 0 && !ready;
const unavailable = external.programs.filter((item) => item.state.state !== "ready");
const machine = {
- format: "narratage.cli-runtime-status@1" as const,
+ format: "hypit.cli-runtime-status@1" as const,
ok: true,
ready,
attention,
@@ -1063,7 +1063,7 @@ export async function runCli(
throw new Error("auth takes status, login or logout");
}
if (args.runtime === undefined) {
- throw new Error("auth requires a Runtime; run narratage runtime use <profile> or pass --runtime <profile>");
+ throw new Error("auth requires a Runtime; run hypit runtime use <profile> or pass --runtime <profile>");
}
if (args.from !== undefined && args.action !== "login") throw new Error("--from applies only to auth login");
const runtime = await (await runtimeHost(args.runtime)).openCredentials(args.file!);
@@ -1123,7 +1123,7 @@ export async function runCli(
) {
if (args.runtime === undefined) {
throw new Error(
- `${args.command} requires a Runtime; run narratage runtime use <profile> or pass --runtime <profile>`,
+ `${args.command} requires a Runtime; run hypit runtime use <profile> or pass --runtime <profile>`,
);
}
const runtime = await loadRuntimeArchive(await runtimeHost(args.runtime), args.command !== "cancel");
@@ -1149,7 +1149,7 @@ export async function runCli(
if (args.watch && queueView === previous) return;
previous = queueView;
const value = {
- format: "narratage.cli-queue@1",
+ format: "hypit.cli-queue@1",
at: Date.now(),
worker,
dispatches: queue.dispatches,
@@ -1534,7 +1534,7 @@ export async function runCli(
packageContributions,
});
const machine = {
- format: "narratage.cli-check@1" as const,
+ format: "hypit.cli-check@1" as const,
sourceKind: "run" as const,
ok: true,
run: loaded.source,
@@ -1554,7 +1554,7 @@ export async function runCli(
{
const result = await compiler.compileSource(workspace.entry, workspace);
const machine = {
- format: "narratage.cli-check@1" as const,
+ format: "hypit.cli-check@1" as const,
sourceKind: "author" as const,
ok: true,
units: result.closure.units.length,
@@ -1573,7 +1573,7 @@ export async function runCli(
}
if (args.command === "build") {
if (args.runtime === undefined) {
- throw new Error("build requires a Runtime; run narratage runtime use <profile> or pass --runtime <profile>");
+ throw new Error("build requires a Runtime; run hypit runtime use <profile> or pass --runtime <profile>");
}
const archive = lazyRuntimeArchive(await runtimeHost(args.runtime));
let loadedRun;
@@ -1699,11 +1699,11 @@ export async function runCli(
const terminalLines = targetPresentations.length === 0
? [
...(built.dispatch.reason === undefined ? [] : [`Reason ${built.dispatch.reason}`]),
- `Inspect narratage inspect ${built.id}${runtimeHint}`,
+ `Inspect hypit inspect ${built.id}${runtimeHint}`,
]
: [
...(built.dispatch.reason === undefined ? [] : [`Reason ${built.dispatch.reason}`]),
- `Inspect narratage inspect ${built.id}${runtimeHint}`,
+ `Inspect hypit inspect ${built.id}${runtimeHint}`,
...targetPresentations
.filter((item) => item.inline !== undefined)
.slice(0, args.verbose ? undefined : 8)
@@ -1712,7 +1712,7 @@ export async function runCli(
.filter((item) => item.inline === undefined)
.slice(0, args.verbose ? undefined : 4)
.map((item) =>
- `Export narratage get ${built.id}${runtimeHint} --name ${item.alias.name} --to <path>`),
+ `Export hypit get ${built.id}${runtimeHint} --name ${item.alias.name} --to <path>`),
];
const terminal = built.dispatch.phase === "terminal";
writeOperational(machine, args.follow
@@ -1725,8 +1725,8 @@ export async function runCli(
["Worker", worker.state === "running" ? String(worker.pid) : worker.state],
["Goals", String(machine.goals.length)],
], terminal ? terminalLines : [
- `Watch narratage status ${built.id}${runtimeHint} --watch`,
- `Cancel narratage cancel ${built.id}${runtimeHint}`,
+ `Watch hypit status ${built.id}${runtimeHint} --watch`,
+ `Cancel hypit cancel ${built.id}${runtimeHint}`,
]);
if (built.status === "failed") io.setExitCode?.(1);
} finally {
@@ -1753,7 +1753,7 @@ export async function runCli(
writeCliOutput(io, args, {
kind: "plan",
machine: {
- format: "narratage.cli-plan@1",
+ format: "hypit.cli-plan@1",
ok: true,
plan: result.definition.plan,
...(preflight === undefined ? {} : { preflight }),
diff --git a/packages/cli/src/output.ts b/packages/cli/src/output.ts
index f19c1cc6..a270584d 100644
--- a/packages/cli/src/output.ts
+++ b/packages/cli/src/output.ts
@@ -1,6 +1,6 @@
import { relative, resolve } from "node:path";
-import type { BuildPlan, TypeRef } from "@narratage/protocol";
+import type { BuildPlan, TypeRef } from "@hypit/protocol";
export type CliTerminal = {
readonly isTTY: boolean;
@@ -35,14 +35,14 @@ export type CliDiagnostic = {
};
export type DoctorOutput = {
- readonly format: "narratage.cli-doctor@1";
+ readonly format: "hypit.cli-doctor@1";
readonly ok: boolean;
readonly dataRoot: string;
readonly diagnostics: readonly CliDiagnostic[];
};
export type AuthorCheckOutput = {
- readonly format: "narratage.cli-check@1";
+ readonly format: "hypit.cli-check@1";
readonly sourceKind: "author";
readonly ok: true;
readonly units: number;
@@ -56,7 +56,7 @@ export type AuthorCheckOutput = {
};
export type RunCheckOutput = {
- readonly format: "narratage.cli-check@1";
+ readonly format: "hypit.cli-check@1";
readonly sourceKind: "run";
readonly ok: true;
readonly run: string;
@@ -80,7 +80,7 @@ export type PlanPreflight = {
};
export type PlanOutput = {
- readonly format: "narratage.cli-plan@1";
+ readonly format: "hypit.cli-plan@1";
readonly ok: boolean;
readonly plan: BuildPlan;
readonly preflight?: PlanPreflight;
@@ -194,7 +194,7 @@ function heading(status: "success" | "warning" | "error" | "info", text: string,
function renderDoctor(view: Extract<CliPresentation, { kind: "doctor" }>, io: CliIo, colors: Palette): string {
const errors = view.machine.diagnostics.filter((item) => item.severity === "error");
const warnings = view.machine.diagnostics.filter((item) => item.severity === "warning");
- const lines = [colors.accent(colors.strong("Narratage Doctor")), ""];
+ const lines = [colors.accent(colors.strong("Hypit Doctor")), ""];
lines.push(...facts([
["Profile", shortPath(view.profile)],
["Data root", shortPath(view.machine.dataRoot)],
@@ -403,114 +403,114 @@ function commandHelp(topic: string, colors: Palette): readonly string[] | undefi
];
const topics: Readonly<Record<string, readonly string[]>> = {
check: [
- colors.accent(colors.strong("narratage check")),
+ colors.accent(colors.strong("hypit check")),
colors.dim("Validate one self-described Author Source or Run Source without executing it."),
"",
- " narratage check <source> [--runtime <profile>] [--workspace <workspace>] [--asset-root <directory>]",
+ " hypit check <source> [--runtime <profile>] [--workspace <workspace>] [--asset-root <directory>]",
],
doctor: [
- colors.accent(colors.strong("narratage doctor")),
+ colors.accent(colors.strong("hypit doctor")),
colors.dim("Diagnose one complete declarative Runtime Profile without submitting work."),
"",
- " narratage doctor [<runtime-profile>]",
+ " hypit doctor [<runtime-profile>]",
],
plan: [
- colors.accent(colors.strong("narratage plan")),
+ colors.accent(colors.strong("hypit plan")),
colors.dim("Freeze the demanded subgraph and expose explicit Run choices and every external Need."),
"",
- " narratage plan <run-source> [--runtime <profile>] [--workspace <workspace>] [--asset-root <directory>]",
+ " hypit plan <run-source> [--runtime <profile>] [--workspace <workspace>] [--asset-root <directory>]",
"",
"With --runtime, plan also preflights only the demanded deployment slice.",
"Planning never starts external work.",
],
build: [
- colors.accent(colors.strong("narratage build")),
+ colors.accent(colors.strong("hypit build")),
colors.dim("Submit one durable Build and ensure its selected Runtime Worker is available."),
"",
- " narratage build <run-source> [--runtime <profile>] [--asset-root <directory>] [--follow] [--no-programs]",
+ " hypit build <run-source> [--runtime <profile>] [--asset-root <directory>] [--follow] [--no-programs]",
"",
" --follow observe the Build; the Worker still owns execution",
" --no-programs do not start declared external programs",
" --max-wait-ms <ms> bound startup or follow waiting",
],
runtime: [
- colors.accent(colors.strong("narratage runtime")),
+ colors.accent(colors.strong("hypit runtime")),
colors.dim("Select a project Runtime Profile, then operate its durable Worker."),
"",
- " narratage runtime use <profile> select the Profile for this project",
- " narratage runtime unset remove only the local selection",
- " narratage runtime up [<profile>] validate the Profile, start programs and Worker",
- " narratage runtime status [<profile>] inspect Worker, queue capacity and declared programs",
- " narratage runtime logs [<profile>] read Worker logs",
- " narratage runtime down [<profile>] stop the Worker; external programs keep running",
+ " hypit runtime use <profile> select the Profile for this project",
+ " hypit runtime unset remove only the local selection",
+ " hypit runtime up [<profile>] validate the Profile, start programs and Worker",
+ " hypit runtime status [<profile>] inspect Worker, queue capacity and declared programs",
+ " hypit runtime logs [<profile>] read Worker logs",
+ " hypit runtime down [<profile>] stop the Worker; external programs keep running",
],
programs: [
- colors.accent(colors.strong("narratage programs")),
+ colors.accent(colors.strong("hypit programs")),
colors.dim("Operate only the external programs declared by Endpoints in one Runtime Profile."),
"",
- " narratage programs up [<profile>] [--max-wait-ms <ms>]",
- " narratage programs status [<profile>]",
- " narratage programs down [<profile>]",
+ " hypit programs up [<profile>] [--max-wait-ms <ms>]",
+ " hypit programs status [<profile>]",
+ " hypit programs down [<profile>]",
],
queue: [
- colors.accent(colors.strong("narratage queue")),
+ colors.accent(colors.strong("hypit queue")),
colors.dim("Inspect durable Build dispatch and Provider pool capacity."),
"",
- " narratage queue [--runtime <profile>] [--watch]",
- " narratage queue [--runtime <profile>] --watch --jsonl",
+ " hypit queue [--runtime <profile>] [--watch]",
+ " hypit queue [--runtime <profile>] --watch --jsonl",
],
paths: [
- colors.accent(colors.strong("narratage paths")),
+ colors.accent(colors.strong("hypit paths")),
colors.dim("Show project, Runtime and host state locations without creating them."),
"",
- " narratage paths [--runtime <profile>]",
+ " hypit paths [--runtime <profile>]",
],
builds: [
- colors.accent(colors.strong("narratage builds")),
+ colors.accent(colors.strong("hypit builds")),
colors.dim("List Builds archived by one Runtime Profile."),
"",
- " narratage builds [--runtime <profile>]",
+ " hypit builds [--runtime <profile>]",
],
status: [
- colors.accent(colors.strong("narratage status")),
+ colors.accent(colors.strong("hypit status")),
colors.dim("Show one Build now, or keep watching it without owning execution."),
"",
- " narratage status <build-id> [--runtime <profile>] [--watch]",
+ " hypit status <build-id> [--runtime <profile>] [--watch]",
" --watch observe until terminal; the Worker still owns execution",
" --max-wait-ms <ms> stop watching after a bounded wait",
],
inspect: [
- colors.accent(colors.strong("narratage inspect")),
+ colors.accent(colors.strong("hypit inspect")),
colors.dim("Inspect one Build's targets and accepted archive."),
"",
- " narratage inspect <build-id> [--runtime <profile>]",
+ " hypit inspect <build-id> [--runtime <profile>]",
],
get: [
- colors.accent(colors.strong("narratage get")),
+ colors.accent(colors.strong("hypit get")),
colors.dim("Read or copy one archived result; copying never reruns work."),
"",
- " narratage get <build-id> [--runtime <profile>] [--name <source-name>|--record <id>|--output <id>|--artifact <digest>] [--to <path>]",
+ " hypit get <build-id> [--runtime <profile>] [--name <source-name>|--record <id>|--output <id>|--artifact <digest>] [--to <path>]",
],
history: [
- colors.accent(colors.strong("narratage history")),
+ colors.accent(colors.strong("hypit history")),
colors.dim("Find accepted historical Logical Outputs without selecting them for a new Run."),
"",
- " narratage history <output-name> [--runtime <profile>] [--source <author-source>]",
- " narratage history --source <author-source> [--runtime <profile>]",
+ " hypit history <output-name> [--runtime <profile>] [--source <author-source>]",
+ " hypit history --source <author-source> [--runtime <profile>]",
],
cancel: [
- colors.accent(colors.strong("narratage cancel")),
+ colors.accent(colors.strong("hypit cancel")),
colors.dim("Withdraw one Build and honestly reconcile work already submitted to Providers."),
"",
- " narratage cancel <build-id> [--runtime <profile>] [--reason <text>]",
+ " hypit cancel <build-id> [--runtime <profile>] [--reason <text>]",
],
auth: [
- colors.accent(colors.strong("narratage auth")),
+ colors.accent(colors.strong("hypit auth")),
colors.dim("Manage credentials required by one declared Endpoint instance."),
"",
- " narratage auth status <endpoint-instance> [--runtime <profile>] [--slot <name>]",
- " narratage auth login <endpoint-instance> [--runtime <profile>] [--slot <name>] [--from <secret-file>]",
- " narratage auth logout <endpoint-instance> [--runtime <profile>] [--slot <name>]",
+ " hypit auth status <endpoint-instance> [--runtime <profile>] [--slot <name>]",
+ " hypit auth login <endpoint-instance> [--runtime <profile>] [--slot <name>] [--from <secret-file>]",
+ " hypit auth logout <endpoint-instance> [--runtime <profile>] [--slot <name>]",
],
};
const selected = topics[topic];
@@ -529,7 +529,7 @@ export function writeCliHelp(io: CliIo, topic?: string): void {
}
}
io.write([
- colors.accent(colors.strong("Narratage")),
+ colors.accent(colors.strong("Hypit")),
colors.dim('"First, there was narration. Then, there were montages."'),
"",
colors.strong("Typical flow"),
@@ -584,7 +584,7 @@ export function renderCliError(error: unknown, options: {
: "CLI_ERROR";
if (options.json) {
return `${JSON.stringify({
- format: "narratage.cli-error@1",
+ format: "hypit.cli-error@1",
ok: false,
error: {
code,
diff --git a/packages/cli/src/paths.ts b/packages/cli/src/paths.ts
index d01008dd..431900d6 100644
--- a/packages/cli/src/paths.ts
+++ b/packages/cli/src/paths.ts
@@ -1,29 +1,29 @@
import { homedir } from "node:os";
import { join, resolve } from "node:path";
-export function narratageHostStateRoot(options: {
+export function hypitHostStateRoot(options: {
readonly env?: NodeJS.ProcessEnv;
readonly platform?: NodeJS.Platform;
readonly home?: string;
} = {}): string {
const env = options.env ?? process.env;
- const override = env.NARRATAGE_STATE_HOME;
+ const override = env.HYPIT_STATE_HOME;
if (override !== undefined && override.trim().length > 0) return resolve(override);
const platform = options.platform ?? process.platform;
const home = options.home ?? homedir();
- if (platform === "darwin") return join(home, "Library", "Application Support", "Narratage");
+ if (platform === "darwin") return join(home, "Library", "Application Support", "Hypit");
if (platform === "win32") {
const local = env.LOCALAPPDATA;
return join(local === undefined || local.trim().length === 0
? join(home, "AppData", "Local")
- : local, "Narratage");
+ : local, "Hypit");
}
const state = env.XDG_STATE_HOME;
return join(state === undefined || state.trim().length === 0
? join(home, ".local", "state")
- : state, "narratage");
+ : state, "hypit");
}
-export function narratageProjectStateRoot(projectRoot: string): string {
- return resolve(projectRoot, ".narratage");
+export function hypitProjectStateRoot(projectRoot: string): string {
+ return resolve(projectRoot, ".hypit");
}
diff --git a/packages/cli/src/run-file.ts b/packages/cli/src/run-file.ts
index 43e745f8..3bdd8a37 100644
--- a/packages/cli/src/run-file.ts
+++ b/packages/cli/src/run-file.ts
@@ -1,20 +1,20 @@
import {
NodeRunCompiler,
-} from "@narratage/compiler-node";
+} from "@hypit/compiler-node";
import type {
NodeCompiledRun,
NodeCompiler,
-} from "@narratage/compiler-node";
+} from "@hypit/compiler-node";
import type { CliRuntime } from "./runtime-port.js";
-import type { NodePackageContribution } from "@narratage/package-loader-node";
-import type { WorkspaceSession } from "@narratage/workspace";
+import type { NodePackageContribution } from "@hypit/package-loader-node";
+import type { WorkspaceSession } from "@hypit/workspace";
import {
installRunFragmentHostFacets,
runFrontendsFromHostFacets,
RunFragmentRegistry,
RunFrontendRegistry,
-} from "@narratage/run";
-import type { RunFrontend } from "@narratage/run";
+} from "@hypit/run";
+import type { RunFrontend } from "@hypit/run";
import { selectArchivedRecord } from "./archive.js";
export type LoadedRunFile = NodeCompiledRun & {
diff --git a/packages/cli/src/runtime-port.ts b/packages/cli/src/runtime-port.ts
index 0a3abb19..97d99d77 100644
--- a/packages/cli/src/runtime-port.ts
+++ b/packages/cli/src/runtime-port.ts
@@ -11,4 +11,4 @@ export type {
RuntimeHostExecution as CliRuntime,
RuntimeHostStatus as CliRuntimeStatus,
RuntimeWorkerState as CliRuntimeWorkerState,
-} from "@narratage/runtime-host-node";
+} from "@hypit/runtime-host-node";
diff --git a/packages/cli/src/runtime-selection.ts b/packages/cli/src/runtime-selection.ts
index 6c1c244b..f837b39f 100644
--- a/packages/cli/src/runtime-selection.ts
+++ b/packages/cli/src/runtime-selection.ts
@@ -1,7 +1,7 @@
import { mkdir, readFile, realpath, unlink, writeFile } from "node:fs/promises";
import { dirname, relative, resolve } from "node:path";
-const stateDirectoryName = ".narratage";
+const stateDirectoryName = ".hypit";
const selectionFileName = "runtime";
export type RuntimeProfileSelection = {
@@ -64,7 +64,7 @@ export async function findRuntimeProfile(start: string): Promise<RuntimeProfileS
const selected = await readSelectionFile(start);
if (selected === undefined) return undefined;
if (selected.value.length === 0) {
- throw new Error(`Runtime selection is empty: ${selected.selectionFile}; run narratage runtime use <profile>`);
+ throw new Error(`Runtime selection is empty: ${selected.selectionFile}; run hypit runtime use <profile>`);
}
const projectRoot = await realpath(selected.projectRoot);
const candidate = resolve(projectRoot, selected.value);
@@ -77,7 +77,7 @@ export async function findRuntimeProfile(start: string): Promise<RuntimeProfileS
} catch (error) {
if (errorCode(error) === "ENOENT") {
throw new Error(
- `Selected Runtime Profile no longer exists: ${candidate}; run narratage runtime use <profile>`,
+ `Selected Runtime Profile no longer exists: ${candidate}; run hypit runtime use <profile>`,
);
}
throw error;
diff --git a/packages/cli/src/source-discovery.ts b/packages/cli/src/source-discovery.ts
index 35c9dbb3..9ed4edc9 100644
--- a/packages/cli/src/source-discovery.ts
+++ b/packages/cli/src/source-discovery.ts
@@ -1,14 +1,14 @@
import { readFile, realpath } from "node:fs/promises";
import { dirname, isAbsolute, relative, resolve } from "node:path";
-import { authorFrontendsFromHostFacets, prepareAuthorSource } from "@narratage/elaborator";
-import type { AuthorFrontend } from "@narratage/elaborator";
-import { physicalPackageName } from "@narratage/package-loader-node";
-import type { LogicalPackageAddress, LoadedPackage } from "@narratage/package-loader-node";
-import { modulePackageAbi } from "@narratage/protocol";
-import { prepareRunSource, runFragmentHostAbi, runFrontendsFromHostFacets } from "@narratage/run";
-import type { RunFrontend } from "@narratage/run";
-import { parseSourceHeader, sourceFrontendPackageAbi } from "@narratage/source";
+import { authorFrontendsFromHostFacets, prepareAuthorSource } from "@hypit/elaborator";
+import type { AuthorFrontend } from "@hypit/elaborator";
+import { physicalPackageName } from "@hypit/package-loader-node";
+import type { LogicalPackageAddress, LoadedPackage } from "@hypit/package-loader-node";
+import { modulePackageAbi } from "@hypit/protocol";
+import { prepareRunSource, runFragmentHostAbi, runFrontendsFromHostFacets } from "@hypit/run";
+import type { RunFrontend } from "@hypit/run";
+import { parseSourceHeader, sourceFrontendPackageAbi } from "@hypit/source";
function isWithin(root: string, path: string): boolean {
const relation = relative(root, path);
diff --git a/packages/cli/src/source-packages.ts b/packages/cli/src/source-packages.ts
index 1158cd8f..09acabe3 100644
--- a/packages/cli/src/source-packages.ts
+++ b/packages/cli/src/source-packages.ts
@@ -1,12 +1,12 @@
import {
loadNodePackageSelection,
-} from "@narratage/package-loader-node";
+} from "@hypit/package-loader-node";
import type {
LoadedPackage,
LogicalPackageAddress,
NodePackageSelectionRequest,
-} from "@narratage/package-loader-node";
-import { modulePackageAbi } from "@narratage/protocol";
+} from "@hypit/package-loader-node";
+import { modulePackageAbi } from "@hypit/protocol";
import type { CliDistribution } from "./distribution.js";
diff --git a/packages/cli/test/build-programs.test.ts b/packages/cli/test/build-programs.test.ts
index 16c457c8..f25abf27 100644
--- a/packages/cli/test/build-programs.test.ts
+++ b/packages/cli/test/build-programs.test.ts
@@ -4,7 +4,7 @@ import { tmpdir } from "node:os";
import { join } from "node:path";
import test from "node:test";
-import { createRunFrontendHostFacet } from "@narratage/run";
+import { createRunFrontendHostFacet } from "@hypit/run";
import { runCli } from "../src/main.js";
import type { CliDistribution } from "../src/distribution.js";
@@ -25,9 +25,9 @@ function distribution(
bootstrapPackages: [{
specifier: "@example/run-frontend",
contribution: {
- format: "narratage.node-package@1",
+ format: "hypit.node-package@1",
hostFacets: [createRunFrontendHostFacet({
- id: "@narratage/run-markup@1",
+ id: "@hypit/run-markup@1",
discover() { throw new Error("createRuntime is unavailable"); },
decode() { throw new Error("createRuntime is unavailable"); },
})],
@@ -35,7 +35,7 @@ function distribution(
}],
createCompiler: () => ({
openFile: async (path: string) => ({
- entry: { name: path, text: '<?svml using="@narratage/run-markup@1"?>\n<svrun/>\n' },
+ entry: { name: path, text: '<?svml using="@hypit/run-markup@1"?>\n<svrun/>\n' },
}),
supportsFrontend: () => false,
}),
@@ -68,9 +68,9 @@ function distribution(
}
async function runSource(): Promise<string> {
- const root = await mkdtemp(join(tmpdir(), "narratage-build-programs-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-build-programs-"));
const path = join(root, "build.svrun");
- await writeFile(path, '<?svml using="@narratage/run-markup@1"?>\n<svrun/>\n', "utf8");
+ await writeFile(path, '<?svml using="@hypit/run-markup@1"?>\n<svrun/>\n', "utf8");
return path;
}
@@ -79,7 +79,7 @@ test("a Build that cannot construct its Runtime starts no declared external prog
const source = await runSource();
await assert.rejects(
async () => await runCli(
- ["build", source, "--runtime", "/p/narratage.runtime.json"],
+ ["build", source, "--runtime", "/p/hypit.runtime.json"],
io,
distribution(calls, [{
id: "whisperx",
@@ -102,7 +102,7 @@ test("--no-programs leaves the declared programs alone", async () => {
// never consulted rather than merely tolerated.
await assert.rejects(
async () => await runCli(
- ["build", source, "--runtime", "/p/narratage.runtime.json", "--no-programs"],
+ ["build", source, "--runtime", "/p/hypit.runtime.json", "--no-programs"],
io,
distribution(calls, [{
id: "whisperx",
diff --git a/packages/cli/test/control-commands.test.ts b/packages/cli/test/control-commands.test.ts
index 72c944b7..d50cf061 100644
--- a/packages/cli/test/control-commands.test.ts
+++ b/packages/cli/test/control-commands.test.ts
@@ -35,7 +35,7 @@ test("queue opens durable control without constructing execution Providers", asy
let output = "";
await runCli(
- ["queue", "--runtime", "/tmp/narratage-control-profile.json", "--json"],
+ ["queue", "--runtime", "/tmp/hypit-control-profile.json", "--json"],
{ write: (text) => { output += text; } },
distribution,
);
@@ -48,7 +48,7 @@ test("queue opens durable control without constructing execution Providers", asy
readonly capacity: readonly unknown[];
readonly operations: readonly unknown[];
};
- assert.equal(result.format, "narratage.cli-queue@1");
+ assert.equal(result.format, "hypit.cli-queue@1");
assert.equal(typeof result.at, "number");
assert.deepEqual(result.dispatches, []);
assert.deepEqual(result.capacity, []);
@@ -156,9 +156,9 @@ test("command options fail closed instead of being silently ignored", async () =
);
await assert.rejects(
async () => await runCli([
- "queue", "--runtime", "/tmp/narratage.runtime.ts",
+ "queue", "--runtime", "/tmp/hypit.runtime.ts",
], io, distribution),
- /profile delegated: .*narratage\.runtime\.ts/u,
+ /profile delegated: .*hypit\.runtime\.ts/u,
);
});
diff --git a/packages/cli/test/output.test.ts b/packages/cli/test/output.test.ts
index ac1170d1..cf605062 100644
--- a/packages/cli/test/output.test.ts
+++ b/packages/cli/test/output.test.ts
@@ -1,7 +1,7 @@
import assert from "node:assert/strict";
import test from "node:test";
-import type { BuildPlan } from "@narratage/protocol";
+import type { BuildPlan } from "@hypit/protocol";
import { renderCliError, writeCliHelp, writeCliOutput } from "../src/output.js";
import type { PlanPreflight } from "../src/output.js";
@@ -27,24 +27,24 @@ test("author check renders a compact human summary without dumping identity", ()
const output = capture(human, {
kind: "check-author",
source: "/project/main.svml",
- frontend: "@narratage/markup@1",
+ frontend: "@hypit/markup@1",
machine: {
- format: "narratage.cli-check@1",
+ format: "hypit.cli-check@1",
sourceKind: "author",
ok: true,
units: 2,
sourceAssets: [{ digest }],
- modules: ["@narratage/script@1"],
+ modules: ["@hypit/script@1"],
exports: [{
name: "story",
- type: { module: { name: "@narratage/narrative", version: "1" }, name: "Narrative" },
+ type: { module: { name: "@hypit/narrative", version: "1" }, name: "Narrative" },
kind: "logical-output",
}],
},
});
assert.match(output, /✓ Source is valid/u);
- assert.match(output, /Frontend\s+@narratage\/markup@1/u);
- assert.match(output, /story\s+@narratage\/narrative@1\/Narrative/u);
+ assert.match(output, /Frontend\s+@hypit\/markup@1/u);
+ assert.match(output, /story\s+@hypit\/narrative@1\/Narrative/u);
assert.doesNotMatch(output, /sha256:/u);
assert.doesNotMatch(output, /\u001b\[/u);
});
@@ -60,7 +60,7 @@ test("large author exports are bounded until verbose output is requested", () =>
source: "/project/main.svml",
frontend: "example@1",
machine: {
- format: "narratage.cli-check@1" as const,
+ format: "hypit.cli-check@1" as const,
sourceKind: "author" as const,
ok: true as const,
units: 1,
@@ -77,7 +77,7 @@ test("large author exports are bounded until verbose output is requested", () =>
test("author check hides generated graph plumbing without deleting machine exports", () => {
const machine = {
- format: "narratage.cli-check@1" as const,
+ format: "hypit.cli-check@1" as const,
sourceKind: "author" as const,
ok: true as const,
units: 1,
@@ -112,33 +112,33 @@ test("author check hides generated graph plumbing without deleting machine expor
test("JSON mode is exact machine data with no terminal decoration", () => {
const machine = {
- format: "narratage.cli-doctor@1" as const,
+ format: "hypit.cli-doctor@1" as const,
ok: false,
dataRoot: "/project",
diagnostics: [{ severity: "error" as const, code: "MISSING", message: "not found" }],
};
const output = capture({ json: true, color: "always", verbose: true }, {
kind: "doctor",
- profile: "/project/narratage.runtime.json",
+ profile: "/project/hypit.runtime.json",
machine,
}, { isTTY: true, color: true, unicode: true, columns: 100 });
assert.deepEqual(JSON.parse(output), machine);
- assert.doesNotMatch(output, /Narratage Doctor/u);
+ assert.doesNotMatch(output, /Hypit Doctor/u);
assert.doesNotMatch(output, /\u001b\[/u);
});
test("plan keeps named Run choices visible and leaves graph internals to verbose output", () => {
const plan: BuildPlan = {
- format: "narratage.plan@1",
+ format: "hypit.plan@1",
steps: [{
id: "step-1",
- producer: { module: { name: "@narratage/media", version: "1" }, name: "inspect" },
+ producer: { module: { name: "@hypit/media", version: "1" }, name: "inspect" },
inputs: {},
outputs: {},
needs: { generated: { id: "need-1", result: "record-1" } },
}, {
id: "step-2",
- producer: { module: { name: "@narratage/media", version: "1" }, name: "normalize" },
+ producer: { module: { name: "@hypit/media", version: "1" }, name: "normalize" },
inputs: {},
outputs: {},
needs: {},
@@ -152,7 +152,7 @@ test("plan keeps named Run choices visible and leaves graph internals to verbose
};
const output = capture(human, {
kind: "plan",
- machine: { format: "narratage.cli-plan@1", ok: true, plan },
+ machine: { format: "hypit.cli-plan@1", ok: true, plan },
run: "/project/build.svrun",
outputNames: { "logical:take": "take.video" },
satisfactionNames: { "logical:take": "preview" },
@@ -161,27 +161,27 @@ test("plan keeps named Run choices visible and leaves graph internals to verbose
assert.match(output, /take\.video\s+← preview/u);
assert.doesNotMatch(output, /Operations/u);
assert.match(output, /External requests/u);
- assert.match(output, /1\s+@narratage\/media@1#inspect/u);
+ assert.match(output, /1\s+@hypit\/media@1#inspect/u);
assert.doesNotMatch(output, /No external work was started\./u);
assert.match(capture({ ...human, verbose: true }, {
kind: "plan",
- machine: { format: "narratage.cli-plan@1", ok: true, plan },
+ machine: { format: "hypit.cli-plan@1", ok: true, plan },
run: "/project/build.svrun",
outputNames: { "logical:take": "take.video" },
satisfactionNames: { "logical:take": "preview" },
- }), /2\s+@narratage\/media@1/u);
+ }), /2\s+@hypit\/media@1/u);
});
test("a plan with no Needs stays compact without knowing any Provider names", () => {
const plan: BuildPlan = {
- format: "narratage.plan@1",
+ format: "hypit.plan@1",
steps: [],
goals: [],
selections: [],
};
const output = capture(human, {
kind: "plan",
- machine: { format: "narratage.cli-plan@1", ok: true, plan },
+ machine: { format: "hypit.cli-plan@1", ok: true, plan },
run: "/project/free.svrun",
});
assert.match(output, /External requests\s+0/u);
@@ -190,7 +190,7 @@ test("a plan with no Needs stays compact without knowing any Provider names", ()
test("plan runtime preflight presents only demanded capabilities", () => {
const plan: BuildPlan = {
- format: "narratage.plan@1",
+ format: "hypit.plan@1",
steps: [],
goals: [],
selections: [],
@@ -207,7 +207,7 @@ test("plan runtime preflight presents only demanded capabilities", () => {
};
const output = capture(human, {
kind: "plan",
- machine: { format: "narratage.cli-plan@1", ok: false, plan, preflight },
+ machine: { format: "hypit.cli-plan@1", ok: false, plan, preflight },
run: "/project/images.svrun",
});
assert.match(output, /Runtime preflight/u);
@@ -226,14 +226,14 @@ test("human errors expose stable codes while JSON errors remain parseable", () =
unicode: true,
debug: false,
})) as { readonly format: string; readonly error: { readonly code: string } };
- assert.equal(machine.format, "narratage.cli-error@1");
+ assert.equal(machine.format, "hypit.cli-error@1");
assert.equal(machine.error.code, "RUNTIME_CREDENTIAL_MISSING");
});
test("help is a successful product surface rather than a usage error", () => {
let output = "";
writeCliHelp({ write(text) { output += text; } });
- assert.match(output, /^Narratage\n/u);
+ assert.match(output, /^Hypit\n/u);
assert.match(output, /Authoring/u);
assert.match(output, /--json/u);
assert.doesNotMatch(output, /CLI_ERROR/u);
@@ -242,7 +242,7 @@ test("help is a successful product surface rather than a usage error", () => {
test("command help explains only the selected shell grammar", () => {
let output = "";
writeCliHelp({ write(text) { output += text; } }, "build");
- assert.match(output, /^narratage build\n/u);
+ assert.match(output, /^hypit build\n/u);
assert.match(output, /--follow/u);
assert.doesNotMatch(output, /Authoring/u);
});
@@ -250,7 +250,7 @@ test("command help explains only the selected shell grammar", () => {
test("archive commands have their own help instead of falling back to the global screen", () => {
let output = "";
writeCliHelp({ write(text) { output += text; } }, "get");
- assert.match(output, /^narratage get\n/u);
+ assert.match(output, /^hypit get\n/u);
assert.match(output, /copying never reruns work/u);
assert.doesNotMatch(output, /Typical flow/u);
});
diff --git a/packages/cli/test/programs-command.test.ts b/packages/cli/test/programs-command.test.ts
index 6baf1f19..d9e3784b 100644
--- a/packages/cli/test/programs-command.test.ts
+++ b/packages/cli/test/programs-command.test.ts
@@ -45,26 +45,26 @@ function distribution(calls: string[], reports: readonly CliManagedProgramReport
test("programs dispatches lifecycle through the selected Runtime Controller", async () => {
const calls: string[] = [];
- await runCli(["programs", "up", "/p/narratage.runtime.json", "--max-wait-ms", "1000"], io, distribution(calls));
- await runCli(["programs", "down", "/p/narratage.runtime.json"], io, distribution(calls));
- await runCli(["programs", "status", "/p/narratage.runtime.json"], io, distribution(calls));
+ await runCli(["programs", "up", "/p/hypit.runtime.json", "--max-wait-ms", "1000"], io, distribution(calls));
+ await runCli(["programs", "down", "/p/hypit.runtime.json"], io, distribution(calls));
+ await runCli(["programs", "status", "/p/hypit.runtime.json"], io, distribution(calls));
assert.deepEqual(calls, [
- 'up /p/narratage.runtime.json {"maxWaitMs":1000}',
- "down /p/narratage.runtime.json",
- "report /p/narratage.runtime.json",
+ 'up /p/hypit.runtime.json {"maxWaitMs":1000}',
+ "down /p/hypit.runtime.json",
+ "report /p/hypit.runtime.json",
]);
});
test("programs accepts only up, down and status", async () => {
await assert.rejects(
- runCli(["programs", "restart", "/p/narratage.runtime.json"], io, distribution([])),
+ runCli(["programs", "restart", "/p/hypit.runtime.json"], io, distribution([])),
/programs takes up, down or status/u,
);
});
test("waiting belongs only to programs up", async () => {
await assert.rejects(
- runCli(["programs", "status", "/p/narratage.runtime.json", "--max-wait-ms", "1000"], io, distribution([])),
+ runCli(["programs", "status", "/p/hypit.runtime.json", "--max-wait-ms", "1000"], io, distribution([])),
/--max-wait-ms applies to programs up/u,
);
});
@@ -72,7 +72,7 @@ test("waiting belongs only to programs up", async () => {
test("program status may report down without failing the observation", async () => {
let output = "";
let exitCode: number | undefined;
- await runCli(["programs", "status", "/project/narratage.runtime.json"], {
+ await runCli(["programs", "status", "/project/hypit.runtime.json"], {
write(text) { output += text; },
setExitCode(code) { exitCode = code; },
}, distribution([], [{
@@ -96,7 +96,7 @@ test("runtime up validates the Runtime before it starts Programs", async () => {
}),
} as unknown as CliDistribution;
await assert.rejects(
- runCli(["runtime", "up", "/p/narratage.runtime.json"], io, selected),
+ runCli(["runtime", "up", "/p/hypit.runtime.json"], io, selected),
/Runtime Profile conflict/u,
);
assert.deepEqual(calls, []);
diff --git a/packages/cli/test/runtime-selection.test.ts b/packages/cli/test/runtime-selection.test.ts
index 6434eb29..b65924b9 100644
--- a/packages/cli/test/runtime-selection.test.ts
+++ b/packages/cli/test/runtime-selection.test.ts
@@ -10,7 +10,7 @@ import type { CliRuntimeArchiveControl } from "../src/runtime-port.js";
import { findRuntimeProfile, selectRuntimeProfile } from "../src/runtime-selection.js";
test("project Runtime selection is a relative local pointer discovered from nested sources", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-runtime-selection-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-runtime-selection-"));
try {
const nested = join(root, "sources", "chapter");
const profile = join(root, "runtime", "local.json");
@@ -20,7 +20,7 @@ test("project Runtime selection is a relative local pointer discovered from nest
const selected = await selectRuntimeProfile(root, profile);
assert.equal(selected.profile, await realpath(profile));
- assert.equal((await readFile(join(root, ".narratage", "runtime"), "utf8")).trim(), join("runtime", "local.json"));
+ assert.equal((await readFile(join(root, ".hypit", "runtime"), "utf8")).trim(), join("runtime", "local.json"));
const found = await findRuntimeProfile(nested);
assert.equal(found?.profile, selected.profile);
@@ -31,10 +31,10 @@ test("project Runtime selection is a relative local pointer discovered from nest
});
test("runtime use lets later CLI commands reuse the selected Profile", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-runtime-cli-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-runtime-cli-"));
const previous = process.cwd();
try {
- const profile = join(root, "narratage.runtime.json");
+ const profile = join(root, "hypit.runtime.json");
const otherProfile = join(root, "other.runtime.json");
await writeFile(profile, "{}\n", "utf8");
await writeFile(otherProfile, "{}\n", "utf8");
@@ -75,7 +75,7 @@ test("runtime use lets later CLI commands reuse the selected Profile", async ()
});
test("runtime status without a selected Profile reports the missing context instead of generic usage", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-runtime-missing-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-runtime-missing-"));
const previous = process.cwd();
try {
process.chdir(root);
diff --git a/packages/cli/test/source-discovery.test.ts b/packages/cli/test/source-discovery.test.ts
index 22de30de..8cbe9c27 100644
--- a/packages/cli/test/source-discovery.test.ts
+++ b/packages/cli/test/source-discovery.test.ts
@@ -4,15 +4,15 @@ import { tmpdir } from "node:os";
import { join } from "node:path";
import test from "node:test";
-import { modulePackageAbi } from "@narratage/protocol";
-import { createAuthorFrontendHostFacet } from "@narratage/elaborator";
-import { createRunFrontendHostFacet, runFragmentHostAbi } from "@narratage/run";
-import { sourceFrontendPackageAbi } from "@narratage/source";
+import { modulePackageAbi } from "@hypit/protocol";
+import { createAuthorFrontendHostFacet } from "@hypit/elaborator";
+import { createRunFrontendHostFacet, runFragmentHostAbi } from "@hypit/run";
+import { sourceFrontendPackageAbi } from "@hypit/source";
import { discoverSourcePackages } from "../src/source-discovery.js";
test("third-party Frontends discover same-named ABI requirements through physical package bindings", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-cli-third-party-discovery-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-cli-third-party-discovery-"));
try {
await writeFile(join(root, "build.svrun"), `<?svml using="@logical/run@1"?>\nrun`, "utf8");
await writeFile(join(root, "main.story"), `<?svml using="@logical/story@1"?>\nstory`, "utf8");
@@ -20,7 +20,7 @@ test("third-party Frontends discover same-named ABI requirements through physica
const packages = [
{
specifier: "@physical/run-suite",
- contribution: { format: "narratage.node-package@1" as const, hostFacets: [createRunFrontendHostFacet({
+ contribution: { format: "hypit.node-package@1" as const, hostFacets: [createRunFrontendHostFacet({
id: "@logical/run@1",
discover: () => ({
author: { source: "./main.story" },
@@ -31,7 +31,7 @@ test("third-party Frontends discover same-named ABI requirements through physica
},
{
specifier: "@physical/story-suite",
- contribution: { format: "narratage.node-package@1" as const, hostFacets: [createAuthorFrontendHostFacet({
+ contribution: { format: "hypit.node-package@1" as const, hostFacets: [createAuthorFrontendHostFacet({
id: "@logical/story@1",
discover: () => ({
modules: ["@logical/shared@1"],
@@ -42,9 +42,9 @@ test("third-party Frontends discover same-named ABI requirements through physica
},
{
specifier: "@physical/module-suite",
- contribution: { format: "narratage.node-package@1" as const, modules: [{
+ contribution: { format: "hypit.node-package@1" as const, modules: [{
manifest: {
- format: "narratage.module@1" as const,
+ format: "hypit.module@1" as const,
name: "@logical/shared",
version: "1",
dependencies: [], types: [], capabilities: [], producers: [],
@@ -54,7 +54,7 @@ test("third-party Frontends discover same-named ABI requirements through physica
},
{
specifier: "@physical/fragment-suite",
- contribution: { format: "narratage.node-package@1" as const, hostFacets: [{
+ contribution: { format: "hypit.node-package@1" as const, hostFacets: [{
abi: runFragmentHostAbi,
offers: ["@logical/shared@1"],
implementation: {},
diff --git a/packages/comment-sticker/README.md b/packages/comment-sticker/README.md
index 9190d66e..ece2fc4c 100644
--- a/packages/comment-sticker/README.md
+++ b/packages/comment-sticker/README.md
@@ -1,4 +1,4 @@
-# `@narratage/comment-sticker`
+# `@hypit/comment-sticker`
An optional author package for timed social-comment cards. It lowers every sticker to one ordinary,
self-contained `VisualTrack`; it has no privileged Film behavior and never samples a sibling Track.
@@ -10,7 +10,7 @@ The author surface keeps the three independent concerns visible:
- the shared Temporal projection owns when an item exists.
```xml
-<import as="copy" from="@narratage/text@1"/>
+<import as="copy" from="@hypit/text@1"/>
<copy:Value id="comment-copy">This part finally made the idea click.</copy:Value>
<copy:Value id="comment-author">@viewer</copy:Value>
diff --git a/packages/comment-sticker/package.json b/packages/comment-sticker/package.json
index 48d391a2..132f41cc 100644
--- a/packages/comment-sticker/package.json
+++ b/packages/comment-sticker/package.json
@@ -1,28 +1,28 @@
{
- "name": "@narratage/comment-sticker",
+ "name": "@hypit/comment-sticker",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
"type": "module",
"exports": { ".": "./src/index.ts" },
- "narratage": { "activation": "./src/activation.ts" },
+ "hypit": { "activation": "./src/activation.ts" },
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/temporal": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/temporal": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/hyperframes": "workspace:*"
+ "@hypit/hyperframes": "workspace:*"
}
}
diff --git a/packages/comment-sticker/src/activation.ts b/packages/comment-sticker/src/activation.ts
index 64cda0d0..e932d657 100644
--- a/packages/comment-sticker/src/activation.ts
+++ b/packages/comment-sticker/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
commentStickerComponent,
@@ -9,8 +9,8 @@ import {
commentStickerMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{
manifest: commentStickerManifest,
}],
@@ -29,4 +29,4 @@ export const narratagePackage = {
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/comment-sticker/src/author.ts b/packages/comment-sticker/src/author.ts
index f6bd3629..2ea051ef 100644
--- a/packages/comment-sticker/src/author.ts
+++ b/packages/comment-sticker/src/author.ts
@@ -1,6 +1,6 @@
-import { assertFontStackRef } from "@narratage/media";
-import type { FontStackRef } from "@narratage/media";
-import type { SvsRecipe } from "@narratage/svs";
+import { assertFontStackRef } from "@hypit/media";
+import type { FontStackRef } from "@hypit/media";
+import type { SvsRecipe } from "@hypit/svs";
import { sealCommentStickerStyle } from "./program.js";
import type { CommentStickerStyle, CommentStickerTextStyle } from "./types.js";
diff --git a/packages/comment-sticker/src/component.ts b/packages/comment-sticker/src/component.ts
index 7e61b931..a270b78a 100644
--- a/packages/comment-sticker/src/component.ts
+++ b/packages/comment-sticker/src/component.ts
@@ -1,11 +1,11 @@
-import type { ComponentPackage, ProducerHandlerContext } from "@narratage/component-kit";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize } from "@narratage/protocol";
-import type { BlobRef, StoredValue } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import type { CanvasSpace, SpatialFrame } from "@narratage/spatial";
-import type { Text } from "@narratage/text";
+import type { ComponentPackage, ProducerHandlerContext } from "@hypit/component-kit";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize } from "@hypit/protocol";
+import type { BlobRef, StoredValue } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import type { CanvasSpace, SpatialFrame } from "@hypit/spatial";
+import type { Text } from "@hypit/text";
import { commentStickerProducers, commentStickerTypes } from "./manifest.js";
import { appendMomentCommentSticker, appendProgramCommentSticker, appendSelectionCommentSticker, assertCommentStickerProgram, createCommentStickerSet, createCommentStickerContent, setCommentStickerContentText, finalizeCommentSticker, renderCommentSticker } from "./program.js";
diff --git a/packages/comment-sticker/src/fragment.ts b/packages/comment-sticker/src/fragment.ts
index 4a8a1a34..9dd64fbf 100644
--- a/packages/comment-sticker/src/fragment.ts
+++ b/packages/comment-sticker/src/fragment.ts
@@ -1,13 +1,13 @@
-import { artifactTypes } from "@narratage/artifact";
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { FragmentOperation } from "@narratage/elaborator";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import type { TypeRef } from "@narratage/protocol";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
-import { textTypes } from "@narratage/text";
+import { artifactTypes } from "@hypit/artifact";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { FragmentOperation } from "@hypit/elaborator";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import type { TypeRef } from "@hypit/protocol";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
+import { textTypes } from "@hypit/text";
import { commentStickerProducers, commentStickerTypes } from "./manifest.js";
diff --git a/packages/comment-sticker/src/manifest.ts b/packages/comment-sticker/src/manifest.ts
index fa50cb61..8b668931 100644
--- a/packages/comment-sticker/src/manifest.ts
+++ b/packages/comment-sticker/src/manifest.ts
@@ -1,15 +1,15 @@
-import { artifactDependency, artifactTypes } from "@narratage/artifact";
-import { compositionDependency, compositionTypes } from "@narratage/composition";
-import { fontArtifactSchema, mediaDependency } from "@narratage/media";
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { semanticMapDependency, semanticMapTypes } from "@narratage/semantic-map";
-import { spatialDependency, spatialFrameSchema, spatialTypes } from "@narratage/spatial";
-import { temporalDependency } from "@narratage/temporal";
-import { textDependency, textTypes } from "@narratage/text";
+import { artifactDependency, artifactTypes } from "@hypit/artifact";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
+import { fontArtifactSchema, mediaDependency } from "@hypit/media";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { semanticMapDependency, semanticMapTypes } from "@hypit/semantic-map";
+import { spatialDependency, spatialFrameSchema, spatialTypes } from "@hypit/spatial";
+import { temporalDependency } from "@hypit/temporal";
+import { textDependency, textTypes } from "@hypit/text";
-export const commentStickerModuleRef = { name: "@narratage/comment-sticker", version: "1" } as const;
+export const commentStickerModuleRef = { name: "@hypit/comment-sticker", version: "1" } as const;
export const commentStickerTypes = {
header: { module: commentStickerModuleRef, name: "CommentStickerHeader" },
@@ -147,7 +147,7 @@ export const commentStickerMarkupSurfaces = [
export const commentStickerManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: commentStickerModuleRef.name,
version: commentStickerModuleRef.version,
dependencies: [artifactDependency, narrativeDependency, semanticMapDependency, programSpaceDependency, spatialDependency, temporalDependency, mediaDependency, compositionDependency, textDependency],
diff --git a/packages/comment-sticker/src/program.ts b/packages/comment-sticker/src/program.ts
index c3fffd79..a129be89 100644
--- a/packages/comment-sticker/src/program.ts
+++ b/packages/comment-sticker/src/program.ts
@@ -1,7 +1,7 @@
import {
assertVisualTrackIdentity,
sealVisualTrack,
-} from "@narratage/composition";
+} from "@hypit/composition";
import type {
VisualAnimation,
VisualElement,
@@ -9,24 +9,24 @@ import type {
VisualTextFlow,
VisualTextTypography,
VisualTrack,
-} from "@narratage/composition";
-import { assertFontArtifactRef } from "@narratage/media";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import { assertProgramSpaceIdentity } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize, isDigest } from "@narratage/protocol";
-import type { BlobRef } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import { assertCanvasSpace, assertSpatialFrame } from "@narratage/spatial";
-import type { CanvasSpace, SpatialFrame } from "@narratage/spatial";
+} from "@hypit/composition";
+import { assertFontArtifactRef } from "@hypit/media";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import { assertProgramSpaceIdentity } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize, isDigest } from "@hypit/protocol";
+import type { BlobRef } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import { assertCanvasSpace, assertSpatialFrame } from "@hypit/spatial";
+import type { CanvasSpace, SpatialFrame } from "@hypit/spatial";
import {
projectMomentWindows,
projectProgramWindow,
projectSelectionWindows,
-} from "@narratage/temporal";
-import type { ProjectedOccurrence } from "@narratage/temporal";
-import { verifyText } from "@narratage/text";
-import type { Text } from "@narratage/text";
+} from "@hypit/temporal";
+import type { ProjectedOccurrence } from "@hypit/temporal";
+import { verifyText } from "@hypit/text";
+import type { Text } from "@hypit/text";
import type {
CommentStickerContent,
@@ -615,7 +615,7 @@ export function renderCommentSticker(canvas: CanvasSpace, space: ProgramSpace, p
assertProgramSpaceIdentity(space);
assertCommentStickerProgram(program);
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: program.id,
presents: program.items.map((item) => ({
id: item.id,
diff --git a/packages/comment-sticker/src/surface.ts b/packages/comment-sticker/src/surface.ts
index 32be6567..4d8c2b67 100644
--- a/packages/comment-sticker/src/surface.ts
+++ b/packages/comment-sticker/src/surface.ts
@@ -1,21 +1,21 @@
-import { artifactTypes } from "@narratage/artifact";
-import { mediaTypes } from "@narratage/media";
-import type { FontStackRef } from "@narratage/media";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
-import { sealText, textTypes } from "@narratage/text";
+import { artifactTypes } from "@hypit/artifact";
+import { mediaTypes } from "@hypit/media";
+import type { FontStackRef } from "@hypit/media";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
+import { sealText, textTypes } from "@hypit/text";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceRecordDraft,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
-import type { TemporalDuration, TemporalPointExpression } from "@narratage/temporal";
+} from "@hypit/markup";
+import type { TemporalDuration, TemporalPointExpression } from "@hypit/temporal";
import { decodeCommentStickerStyle } from "./author.js";
import { createCommentStickerFragment } from "./fragment.js";
diff --git a/packages/comment-sticker/src/types.ts b/packages/comment-sticker/src/types.ts
index 8411d9ea..b671bb16 100644
--- a/packages/comment-sticker/src/types.ts
+++ b/packages/comment-sticker/src/types.ts
@@ -1,8 +1,8 @@
-import type { FrameSpan } from "@narratage/composition";
-import type { FontArtifactRef } from "@narratage/media";
-import type { BlobRef } from "@narratage/protocol";
-import type { SpatialFrame } from "@narratage/spatial";
-import type { OccurrenceExpansion, TemporalWindowProjection } from "@narratage/temporal";
+import type { FrameSpan } from "@hypit/composition";
+import type { FontArtifactRef } from "@hypit/media";
+import type { BlobRef } from "@hypit/protocol";
+import type { SpatialFrame } from "@hypit/spatial";
+import type { OccurrenceExpansion, TemporalWindowProjection } from "@hypit/temporal";
export type CommentStickerTextStyle = {
readonly fonts: readonly FontArtifactRef[];
diff --git a/packages/comment-sticker/test/comment-sticker.test.ts b/packages/comment-sticker/test/comment-sticker.test.ts
index ea0c255d..bb865af3 100644
--- a/packages/comment-sticker/test/comment-sticker.test.ts
+++ b/packages/comment-sticker/test/comment-sticker.test.ts
@@ -2,18 +2,18 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { artifactTypes } from "@narratage/artifact";
-import { compileHyperframesDocument } from "@narratage/hyperframes";
-import type { FontArtifactRef, FontStackRef } from "@narratage/media";
-import { mediaTypes } from "@narratage/media";
-import { sealProgramSpace } from "@narratage/program-space";
-import { spatialTypes } from "@narratage/spatial";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
-import { parseStructuredElement } from "@narratage/markup";
-import type { SurfaceResolvedReference } from "@narratage/markup";
-import { sealText } from "@narratage/text";
-import { textTypes } from "@narratage/text";
+import { artifactTypes } from "@hypit/artifact";
+import { compileHyperframesDocument } from "@hypit/hyperframes";
+import type { FontArtifactRef, FontStackRef } from "@hypit/media";
+import { mediaTypes } from "@hypit/media";
+import { sealProgramSpace } from "@hypit/program-space";
+import { spatialTypes } from "@hypit/spatial";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
+import { parseStructuredElement } from "@hypit/markup";
+import type { SurfaceResolvedReference } from "@hypit/markup";
+import { sealText } from "@hypit/text";
+import { textTypes } from "@hypit/text";
import {
appendProgramCommentSticker,
@@ -91,8 +91,8 @@ test("explicit metadata is rendered and the terminal compiler accepts the Track
canvas: { width: 1080, height: 1920, clearColor: "#000000" },
tracks: [rendered],
}, space);
- assert.match(document.html, /data-narratage-element-id="meta"/u);
- assert.match(document.html, /data-narratage-element-id="body"/u);
+ assert.match(document.html, /data-hypit-element-id="meta"/u);
+ assert.match(document.html, /data-hypit-element-id="body"/u);
});
test("SVS controls appearance and local motion but cannot smuggle geometry", () => {
@@ -161,7 +161,7 @@ test("Track Surface lowers mixed program and semantic Stickers to a finite expli
const blob = { kind: "blob" as const, digest: fixtureDigest("comment-avatar"), size: 128, mediaType: "image/png" };
const refs = new Map<string, SurfaceResolvedReference>([
["video.canvas", authored("video.canvas", spatialTypes.canvas, canvas)],
- ["video.space", authored("video.space", { module: { name: "@narratage/program-space", version: "1" }, name: "ProgramSpace" }, space)],
+ ["video.space", authored("video.space", { module: { name: "@hypit/program-space", version: "1" }, name: "ProgramSpace" }, space)],
["layout.comment", authored("layout.comment", spatialTypes.frame, frame)],
["social", authored("social", commentStickerTypes.style, style)],
["avatar", authored("avatar", artifactTypes.blob, blob)],
diff --git a/packages/compiler-markup-node/README.md b/packages/compiler-markup-node/README.md
index 65f567ad..62c910db 100644
--- a/packages/compiler-markup-node/README.md
+++ b/packages/compiler-markup-node/README.md
@@ -1,12 +1,12 @@
-# `@narratage/compiler-markup-node`
+# `@hypit/compiler-markup-node`
-Reference Node compiler assembly for the official `@narratage/markup` authoring language.
+Reference Node compiler assembly for the official `@hypit/markup` authoring language.
The package selects the Markup Frontend ABI, installs Markup Surface Host facets from already trusted
-package contributions, and combines them with the syntax-neutral `@narratage/compiler-node`. It does not
+package contributions, and combines them with the syntax-neutral `@hypit/compiler-node`. It does not
discover packages, grant Runtime authority or know any video component by name.
Every compiled source selects Markup—or another registered Frontend—through its mandatory Source
-Header. Use `@narratage/compiler-node` directly for another Frontend assembly. Use
-`@narratage/package-loader-node` independently when a Runtime only needs locked deterministic compute
+Header. Use `@hypit/compiler-node` directly for another Frontend assembly. Use
+`@hypit/package-loader-node` independently when a Runtime only needs locked deterministic compute
facets and no author syntax.
diff --git a/packages/compiler-markup-node/package.json b/packages/compiler-markup-node/package.json
index 5653d3cf..9f050d15 100644
--- a/packages/compiler-markup-node/package.json
+++ b/packages/compiler-markup-node/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/compiler-markup-node",
+ "name": "@hypit/compiler-markup-node",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,15 +8,15 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/compiler-node": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/workspace": "workspace:*",
- "@narratage/package-loader-node": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/compiler-node": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/workspace": "workspace:*",
+ "@hypit/package-loader-node": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/validation": "workspace:*"
},
"devDependencies": {
- "@narratage/workspace-fs-node": "workspace:*"
+ "@hypit/workspace-fs-node": "workspace:*"
}
}
diff --git a/packages/compiler-markup-node/src/index.ts b/packages/compiler-markup-node/src/index.ts
index d4ca9315..6988140f 100644
--- a/packages/compiler-markup-node/src/index.ts
+++ b/packages/compiler-markup-node/src/index.ts
@@ -1,20 +1,20 @@
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
import {
ModulePackageRegistry,
NodeCompiler,
-} from "@narratage/compiler-node";
-import { AuthorFrontendRegistry, installAuthorFrontendHostFacets } from "@narratage/elaborator";
-import type { Workspace } from "@narratage/workspace";
+} from "@hypit/compiler-node";
+import { AuthorFrontendRegistry, installAuthorFrontendHostFacets } from "@hypit/elaborator";
+import type { Workspace } from "@hypit/workspace";
import {
collectNodePackageComponents,
-} from "@narratage/package-loader-node";
-import type { NodePackageContribution } from "@narratage/package-loader-node";
+} from "@hypit/package-loader-node";
+import type { NodePackageContribution } from "@hypit/package-loader-node";
import {
createMarkupAuthorFrontend,
installMarkupSurfaceHostFacets,
MarkupSurfaceRegistry,
-} from "@narratage/markup";
-import { TypeValidatorRegistry } from "@narratage/validation";
+} from "@hypit/markup";
+import { TypeValidatorRegistry } from "@hypit/validation";
export type CreateMarkupNodeCompilerOptions = {
readonly workspace: Workspace;
diff --git a/packages/compiler-markup-node/test/compiler.test.ts b/packages/compiler-markup-node/test/compiler.test.ts
index 67bc3a67..8fcbb3b8 100644
--- a/packages/compiler-markup-node/test/compiler.test.ts
+++ b/packages/compiler-markup-node/test/compiler.test.ts
@@ -8,10 +8,10 @@ import { tmpdir } from "node:os";
import { join } from "node:path";
import test from "node:test";
-import { createMarkupNodeCompiler } from "@narratage/compiler-markup-node";
-import type { NodePackageContribution } from "@narratage/package-loader-node";
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
-import { NodeFilesystemWorkspace } from "@narratage/workspace-fs-node";
+import { createMarkupNodeCompiler } from "@hypit/compiler-markup-node";
+import type { NodePackageContribution } from "@hypit/package-loader-node";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
+import { NodeFilesystemWorkspace } from "@hypit/workspace-fs-node";
const module = { name: "example.card", version: "1" } as const;
const resultType = { module, name: "CardResult" } as const;
@@ -23,10 +23,10 @@ const cardSurface = {
} as const;
const installedPackage: NodePackageContribution = {
- format: "narratage.node-package@1",
+ format: "hypit.node-package@1",
modules: [{
manifest: {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: module.name,
version: module.version,
dependencies: [],
@@ -63,10 +63,10 @@ const installedPackage: NodePackageContribution = {
};
test("Markup compiler alone selects Markup Surface Host facets from a generic package contribution", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-markup-compiler-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-markup-compiler-"));
try {
const source = join(root, "main.svml");
- await writeFile(source, `<?svml using="@narratage/markup@1"?>
+ await writeFile(source, `<?svml using="@hypit/markup@1"?>
<svml>
<import as="example" from="example.card@1"/>
<example:Card/>
diff --git a/packages/compiler-node/README.md b/packages/compiler-node/README.md
index faf9900b..2842b264 100644
--- a/packages/compiler-node/README.md
+++ b/packages/compiler-node/README.md
@@ -1,4 +1,4 @@
-# `@narratage/compiler-node`
+# `@hypit/compiler-node`
Domain-neutral Node.js compiler host.
@@ -12,7 +12,7 @@ Source Header + registered Frontends + registered manifests
-> Author Module + Graph
```
-Every Author Source selects its own exact Frontend through the mandatory `@narratage/source` Header.
+Every Author Source selects its own exact Frontend through the mandatory `@hypit/source` Header.
The compiler has no suffix table and no entry-Frontend default. A recursively imported source may
select another Frontend without the importer choosing on its behalf.
@@ -22,7 +22,7 @@ embedding application must register the manifests and matching Frontend/Surface
has chosen to trust.
`NodeCompiler` requires the host-neutral `Workspace` contract. The reference CLI explicitly selects
-`@narratage/workspace-fs-node`, where relative recursive Source imports are confined to one canonical
+`@hypit/workspace-fs-node`, where relative recursive Source imports are confined to one canonical
root, symlink escapes are rejected and each edge is locked to the first bytes read for that
compilation. A browser, Git, memory or remote Host can supply another Workspace without
changing Frontends, Surfaces, Source Closure identity or Core.
diff --git a/packages/compiler-node/package.json b/packages/compiler-node/package.json
index 0784f1df..147fd621 100644
--- a/packages/compiler-node/package.json
+++ b/packages/compiler-node/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/compiler-node",
+ "name": "@hypit/compiler-node",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,17 +8,17 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/workspace": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/run": "workspace:*",
- "@narratage/source": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/workspace": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/run": "workspace:*",
+ "@hypit/source": "workspace:*",
+ "@hypit/validation": "workspace:*"
},
"devDependencies": {
- "@narratage/run-markup": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/workspace-fs-node": "workspace:*"
+ "@hypit/run-markup": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/workspace-fs-node": "workspace:*"
}
}
diff --git a/packages/compiler-node/src/compiler.ts b/packages/compiler-node/src/compiler.ts
index 12b1c6ba..a4c00a51 100644
--- a/packages/compiler-node/src/compiler.ts
+++ b/packages/compiler-node/src/compiler.ts
@@ -3,22 +3,22 @@ import { createHash } from "node:crypto";
import {
compileSourceClosure,
prepareAuthorSource,
-} from "@narratage/elaborator";
-import { link } from "@narratage/core";
+} from "@hypit/elaborator";
+import { link } from "@hypit/core";
import type {
AuthorFrontendRegistryLike,
AuthorSourceDiscovery,
CompiledSourceClosure,
AuthorRecordAdmitter,
-} from "@narratage/elaborator";
-import type { SourceUnit } from "@narratage/source";
-import type { ArtifactAttachment, Workspace, WorkspaceSession } from "@narratage/workspace";
-import type { BlobRef, LinkedProgram } from "@narratage/protocol";
+} from "@hypit/elaborator";
+import type { SourceUnit } from "@hypit/source";
+import type { ArtifactAttachment, Workspace, WorkspaceSession } from "@hypit/workspace";
+import type { BlobRef, LinkedProgram } from "@hypit/protocol";
import {
TypeValidatorRegistry,
createRecordAdmitter,
-} from "@narratage/validation";
-import type { TypeValidatorRegistryLike } from "@narratage/validation";
+} from "@hypit/validation";
+import type { TypeValidatorRegistryLike } from "@hypit/validation";
import { NodeCompilerError } from "./error.js";
import type { ModulePackageRegistryLike } from "./modules.js";
diff --git a/packages/compiler-node/src/modules.ts b/packages/compiler-node/src/modules.ts
index 533c8466..3e3ba841 100644
--- a/packages/compiler-node/src/modules.ts
+++ b/packages/compiler-node/src/modules.ts
@@ -1,9 +1,9 @@
-import { createResolvedClosure } from "@narratage/core";
+import { createResolvedClosure } from "@hypit/core";
import type {
ModuleManifest,
ModuleRef,
ResolvedModuleClosure,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import { NodeCompilerError } from "./error.js";
diff --git a/packages/compiler-node/src/run.ts b/packages/compiler-node/src/run.ts
index f8432ede..0d79c803 100644
--- a/packages/compiler-node/src/run.ts
+++ b/packages/compiler-node/src/run.ts
@@ -1,33 +1,33 @@
-import type { WorkspaceSession } from "@narratage/workspace";
-import { resolveCompiledSourceExport } from "@narratage/elaborator";
+import type { WorkspaceSession } from "@hypit/workspace";
+import { resolveCompiledSourceExport } from "@hypit/elaborator";
import {
sealBuildRequest,
sealCompiledGraph,
sliceExecution,
defineBuild,
materializeBuild,
-} from "@narratage/core";
+} from "@hypit/core";
import type {
ArtifactAttachment,
-} from "@narratage/workspace";
+} from "@hypit/workspace";
import type {
BuildDefinition,
BuildState,
StoredValue,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
collectRunModuleRequests,
compileRunSource,
resolveRunDocument,
-} from "@narratage/run";
+} from "@hypit/run";
import type {
RunCompilation,
RunFragmentRegistryLike,
RunFrontendRegistryLike,
RunSourceUnit,
-} from "@narratage/run";
-import type { LinkedProgram } from "@narratage/protocol";
+} from "@hypit/run";
+import type { LinkedProgram } from "@hypit/protocol";
import type { NodeCompiledSourceClosure } from "./compiler.js";
import { mergeAttachments, NodeCompiler } from "./compiler.js";
diff --git a/packages/compiler-node/test/compiler.test.ts b/packages/compiler-node/test/compiler.test.ts
index 88c64db9..5900e129 100644
--- a/packages/compiler-node/test/compiler.test.ts
+++ b/packages/compiler-node/test/compiler.test.ts
@@ -16,40 +16,40 @@ import {
NodeCompiler,
NodeCompilerError,
NodeRunCompiler,
-} from "@narratage/compiler-node";
+} from "@hypit/compiler-node";
import {
AuthorFrontendRegistry,
sealGraphFragment,
-} from "@narratage/elaborator";
+} from "@hypit/elaborator";
import type {
AuthorSourceAssetRequest,
AuthorSourceImport,
AuthorSourceUnit,
-} from "@narratage/elaborator";
+} from "@hypit/elaborator";
import type {
BlobRef,
ModuleManifest,
ModuleRef,
ProducerRef,
TypeRef,
-} from "@narratage/protocol";
-import { SourceHeaderError } from "@narratage/source";
+} from "@hypit/protocol";
+import { SourceHeaderError } from "@hypit/source";
import {
RunFragmentRegistry,
RunFrontendRegistry,
-} from "@narratage/run";
-import { runMarkupFrontend } from "@narratage/run-markup";
-import type { ArtifactAttachment, Workspace } from "@narratage/workspace";
-import { WorkspaceError } from "@narratage/workspace";
+} from "@hypit/run";
+import { runMarkupFrontend } from "@hypit/run-markup";
+import type { ArtifactAttachment, Workspace } from "@hypit/workspace";
+import { WorkspaceError } from "@hypit/workspace";
import {
createMarkupAuthorFrontend,
MarkupSurfaceRegistry,
-} from "@narratage/markup";
-import { NodeFilesystemWorkspace } from "@narratage/workspace-fs-node";
+} from "@hypit/markup";
+import { NodeFilesystemWorkspace } from "@hypit/workspace-fs-node";
function emptyManifest(name: string, version = "1"): ModuleManifest {
return {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name,
version,
dependencies: [],
@@ -98,7 +98,7 @@ const resultSurface = {
name: "result", tag: "Result", mode: "structured", outputs: [],
} as const;
const laboratoryManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: laboratory.name,
version: laboratory.version,
dependencies: [],
@@ -322,9 +322,9 @@ async function readAttachment(attachment: ArtifactAttachment | undefined): Promi
}
test("Node Compiler discovers real imports and emits a named public Author Graph export", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-compiler-node-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-compiler-node-"));
const file = join(root, "main.svml");
- await writeFile(file, `<?svml using="@narratage/markup@1"?>
+ await writeFile(file, `<?svml using="@hypit/markup@1"?>
<svml>
<import as="lab" from="example.compiler-lab@1"/>
<lab:Result id="hello"/>
@@ -339,8 +339,8 @@ test("Node Compiler discovers real imports and emits a named public Author Graph
});
test("the mandatory Source Header selects the Frontend independently of the filename suffix", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-self-described-source-"));
- const text = `<?svml using="@narratage/markup@1"?>
+ const root = await mkdtemp(join(tmpdir(), "hypit-self-described-source-"));
+ const text = `<?svml using="@hypit/markup@1"?>
<svml>
<import as="lab" from="example.compiler-lab@1"/>
<lab:Result id="hello"/>
@@ -363,17 +363,17 @@ test("the mandatory Source Header selects the Frontend independently of the file
});
test("Run-only Fragment modules extend the execution closure without polluting the Author Graph", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-dual-graph-closure-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-dual-graph-closure-"));
const unused = emptyManifest("example.unused-video-feature");
const authorFile = join(root, "main.svml");
const runFile = join(root, "build.svrun");
- await writeFile(authorFile, `<?svml using="@narratage/markup@1"?>
+ await writeFile(authorFile, `<?svml using="@hypit/markup@1"?>
<svml>
<import as="lab" from="example.compiler-lab@1"/>
<import as="unused" from="example.unused-video-feature@1"/>
<lab:Result id="hello"/>
</svml>`, "utf8");
- await writeFile(runFile, `<?svml using="@narratage/run-markup@1"?>
+ await writeFile(runFile, `<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
<import from="@example/preview" as="preview"/>
@@ -411,15 +411,15 @@ test("Run-only Fragment modules extend the execution closure without polluting t
});
test("static Run checking accepts a future BuildRecord without opening a BuildArchive", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-future-build-record-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-future-build-record-"));
const authorFile = join(root, "main.svml");
const runFile = join(root, "reuse.svrun");
- await writeFile(authorFile, `<?svml using="@narratage/markup@1"?>
+ await writeFile(authorFile, `<?svml using="@hypit/markup@1"?>
<svml>
<import as="lab" from="example.compiler-lab@1"/>
<lab:Result id="hello"/>
</svml>`, "utf8");
- await writeFile(runFile, `<?svml using="@narratage/run-markup@1"?>
+ await writeFile(runFile, `<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
<target output="hello.result"/>
@@ -448,10 +448,10 @@ test("static Run checking accepts a future BuildRecord without opening a BuildAr
});
test("source assets become graph values and a Host transfer bundle without closure metadata", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-source-assets-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-source-assets-"));
const file = join(root, "main.svml");
const asset = join(root, "reference.bin");
- await writeFile(file, `<?svml using="@narratage/markup@1"?>
+ await writeFile(file, `<?svml using="@hypit/markup@1"?>
<svml>
<import as="asset" from="example.asset-lab@1"/>
<asset:Asset id="reference" src="./reference.bin"/>
@@ -469,9 +469,9 @@ test("source assets become graph values and a Host transfer bundle without closu
});
test("an installed package Surface can contribute embedded bytes without an author file or network", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-embedded-assets-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-embedded-assets-"));
const file = join(root, "main.svml");
- await writeFile(file, `<?svml using="@narratage/markup@1"?>
+ await writeFile(file, `<?svml using="@hypit/markup@1"?>
<svml>
<import as="asset" from="example.asset-lab@1"/>
<asset:Asset id="embedded" src="package:example.asset-lab/embedded.bin"/>
@@ -487,17 +487,17 @@ test("an installed package Surface can contribute embedded bytes without an auth
});
test("Run compilation retains embedded Author attachments for later Runtime staging", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-run-author-attachments-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-run-author-attachments-"));
const authorFile = join(root, "main.svml");
const runFile = join(root, "build.svrun");
- await writeFile(authorFile, `<?svml using="@narratage/markup@1"?>
+ await writeFile(authorFile, `<?svml using="@hypit/markup@1"?>
<svml>
<import as="asset" from="example.asset-lab@1"/>
<import as="lab" from="example.compiler-lab@1"/>
<asset:Asset id="embedded" src="package:example.asset-lab/embedded.bin"/>
<lab:Result id="hello"/>
</svml>`, "utf8");
- await writeFile(runFile, `<?svml using="@narratage/run-markup@1"?>
+ await writeFile(runFile, `<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
<target output="hello.result"/>
@@ -517,7 +517,7 @@ test("Run compilation retains embedded Author attachments for later Runtime stag
});
test("filesystem Workspace captures source text and asset identity once", async () => {
- const parent = await mkdtemp(join(tmpdir(), "narratage-source-host-"));
+ const parent = await mkdtemp(join(tmpdir(), "hypit-source-host-"));
const root = join(parent, "project");
await mkdir(root);
const entryPath = join(root, "main.svml");
@@ -565,7 +565,7 @@ test("filesystem Workspace captures source text and asset identity once", async
});
test("an asset root widens bytes without widening Source imports", async () => {
- const parent = await mkdtemp(join(tmpdir(), "narratage-asset-root-"));
+ const parent = await mkdtemp(join(tmpdir(), "hypit-asset-root-"));
const project = join(parent, "project");
const library = join(parent, "library");
await mkdir(project);
@@ -588,9 +588,9 @@ test("an asset root widens bytes without widening Source imports", async () => {
});
test("filesystem and in-memory Workspaces load identical asset bytes", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-workspace-equivalence-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-workspace-equivalence-"));
const file = join(root, "main.svml");
- const source = `<?svml using="@narratage/markup@1"?>
+ const source = `<?svml using="@hypit/markup@1"?>
<svml>
<import as="asset" from="example.asset-lab@1"/>
<asset:Asset id="reference" src="./reference.bin"/>
diff --git a/packages/component-kit/README.md b/packages/component-kit/README.md
index 0e19bcd2..f9103222 100644
--- a/packages/component-kit/README.md
+++ b/packages/component-kit/README.md
@@ -1,4 +1,4 @@
-# `@narratage/component-kit`
+# `@hypit/component-kit`
The minimal host-neutral SDK for trusted deterministic compute components. A package exports
enumerable Producer and Type-owner Validator facets. Both identities are data: an exact nominal
@@ -8,7 +8,7 @@ Core command, Producer identity and immutable typed inputs.
They receive no ArtifactStore, credentials, network client, queue or Runtime infrastructure. Work that
needs those authorities must emit an explicit Need and be implemented by a separately selected
-Endpoint package. `@narratage/driver-node` implements the structural registrar but is not part of this
+Endpoint package. `@hypit/driver-node` implements the structural registrar but is not part of this
SDK.
This is dependency inversion, not a sandbox. Until components run in an isolated Worker, selected
diff --git a/packages/component-kit/package.json b/packages/component-kit/package.json
index 25e7d889..d692c92d 100644
--- a/packages/component-kit/package.json
+++ b/packages/component-kit/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/component-kit",
+ "name": "@hypit/component-kit",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,6 +8,6 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/component-kit/src/index.ts b/packages/component-kit/src/index.ts
index bf4f059f..806e3c13 100644
--- a/packages/component-kit/src/index.ts
+++ b/packages/component-kit/src/index.ts
@@ -5,7 +5,7 @@ import type {
StoredValue,
TypeRef,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
export type Awaitable<T> = T | Promise<T>;
diff --git a/packages/composition/README.md b/packages/composition/README.md
index 95912674..0ff9c4e5 100644
--- a/packages/composition/README.md
+++ b/packages/composition/README.md
@@ -1,3 +1,3 @@
-# `@narratage/composition`
+# `@hypit/composition`
Provider-neutral visual and audio Track contracts and their final Composition.
diff --git a/packages/composition/package.json b/packages/composition/package.json
index 13c7be80..806fb77c 100644
--- a/packages/composition/package.json
+++ b/packages/composition/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/composition",
+ "name": "@hypit/composition",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,24 +7,24 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/visual-ir": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/visual-ir": "workspace:*"
},
"devDependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/core": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/speech-evidence": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/core": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/speech-evidence": "workspace:*",
+ "@hypit/validation": "workspace:*"
}
}
diff --git a/packages/composition/src/activation.ts b/packages/composition/src/activation.ts
index 31993ca0..55b77274 100644
--- a/packages/composition/src/activation.ts
+++ b/packages/composition/src/activation.ts
@@ -1,3 +1,3 @@
import { compositionComponent, compositionManifest } from "./index.js";
-export const narratagePackage = { format: "narratage.node-package@1" as const, modules: [{ manifest: compositionManifest }], components: [compositionComponent] };
-export default narratagePackage;
+export const hypitPackage = { format: "hypit.node-package@1" as const, modules: [{ manifest: compositionManifest }], components: [compositionComponent] };
+export default hypitPackage;
diff --git a/packages/composition/src/component.ts b/packages/composition/src/component.ts
index f03bb11e..820e1a59 100644
--- a/packages/composition/src/component.ts
+++ b/packages/composition/src/component.ts
@@ -1,4 +1,4 @@
-import type { ComponentPackage } from "@narratage/component-kit";
+import type { ComponentPackage } from "@hypit/component-kit";
import { compositionTypes } from "./manifest.js";
import { assertAudioTrackIdentity, assertCompositionIdentity, assertVisualTrackIdentity } from "./track.js";
import type { AudioTrack, Composition, VisualTrack } from "./track.js";
diff --git a/packages/composition/src/manifest.ts b/packages/composition/src/manifest.ts
index 66765b52..a967a72d 100644
--- a/packages/composition/src/manifest.ts
+++ b/packages/composition/src/manifest.ts
@@ -1,10 +1,10 @@
import { mediaDependency, programSpaceDependency } from "./schema.js";
-import { visualIrDependency } from "@narratage/visual-ir";
-import type { ModuleManifest, TypeRef } from "@narratage/protocol";
+import { visualIrDependency } from "@hypit/visual-ir";
+import type { ModuleManifest, TypeRef } from "@hypit/protocol";
import { audioTrackSchema, compositionSchema, visualTrackSchema } from "./schema.js";
-export const compositionModuleRef = { name: "@narratage/composition", version: "1" } as const;
+export const compositionModuleRef = { name: "@hypit/composition", version: "1" } as const;
export const compositionTypes = { visualTrack: { module: compositionModuleRef, name: "VisualTrack" }, audioTrack: { module: compositionModuleRef, name: "AudioTrack" }, composition: { module: compositionModuleRef, name: "Composition" } } satisfies Record<string, TypeRef>;
-export const compositionManifest: ModuleManifest = { format: "narratage.module@1", name: compositionModuleRef.name, version: compositionModuleRef.version,
+export const compositionManifest: ModuleManifest = { format: "hypit.module@1", name: compositionModuleRef.name, version: compositionModuleRef.version,
dependencies: [mediaDependency, programSpaceDependency, visualIrDependency], types: [
{ name: compositionTypes.visualTrack.name },
{ name: compositionTypes.audioTrack.name },
diff --git a/packages/composition/src/schema.ts b/packages/composition/src/schema.ts
index 608ee021..84e4eef1 100644
--- a/packages/composition/src/schema.ts
+++ b/packages/composition/src/schema.ts
@@ -1,7 +1,7 @@
-import { compositableSurfaceSchema, fontArtifactSchema, mediaDependency } from "@narratage/media";
-import { programSpaceDependency } from "@narratage/program-space";
-import type { ValueSchema } from "@narratage/protocol";
-import { VISUAL_IR_V1, VISUAL_STYLE_ENUM_VALUES_V1, VISUAL_STYLE_NAMES_V1 } from "@narratage/visual-ir";
+import { compositableSurfaceSchema, fontArtifactSchema, mediaDependency } from "@hypit/media";
+import { programSpaceDependency } from "@hypit/program-space";
+import type { ValueSchema } from "@hypit/protocol";
+import { VISUAL_IR_V1, VISUAL_STYLE_ENUM_VALUES_V1, VISUAL_STYLE_NAMES_V1 } from "@hypit/visual-ir";
export { mediaDependency, programSpaceDependency };
const string = { kind: "string", minLength: 1 } as const; const number = { kind: "number", minimum: 0 } as const;
const integer = { kind: "number", integer: true, minimum: 0 } as const; const signedInteger = { kind: "number", integer: true } as const;
diff --git a/packages/composition/src/track.ts b/packages/composition/src/track.ts
index 63505b0e..a65046fd 100644
--- a/packages/composition/src/track.ts
+++ b/packages/composition/src/track.ts
@@ -1,18 +1,18 @@
-import { canonicalStringify, isDigest } from "@narratage/protocol";
-import type { BlobRef } from "@narratage/protocol";
+import { canonicalStringify, isDigest } from "@hypit/protocol";
+import type { BlobRef } from "@hypit/protocol";
import {
assertVisualStyleV1,
VISUAL_IR_V1,
-} from "@narratage/visual-ir";
+} from "@hypit/visual-ir";
import {
assertProgramSpaceIdentity,
programSpaceFrameCount,
programSpaceSampleFrames,
-} from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { assertCompositableSurfaceRef, assertFontArtifactRef } from "@narratage/media";
-import type { CompositableSurfaceRef, FontArtifactRef } from "@narratage/media";
+} from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { assertCompositableSurfaceRef, assertFontArtifactRef } from "@hypit/media";
+import type { CompositableSurfaceRef, FontArtifactRef } from "@hypit/media";
export type FrameSpan = {
readonly startFrame: number;
diff --git a/packages/composition/test/render.test.ts b/packages/composition/test/render.test.ts
index d31a4217..77a7ff89 100644
--- a/packages/composition/test/render.test.ts
+++ b/packages/composition/test/render.test.ts
@@ -5,9 +5,9 @@ import { fixtureDigest } from "../../../test/fixture-digest.js";
import {
assertCompositableSurfaceRef,
assertFontArtifactRef,
-} from "@narratage/media";
-import type { CompositableSurfaceRef, FontArtifactRef } from "@narratage/media";
-import { sealProgramSpace } from "@narratage/program-space";
+} from "@hypit/media";
+import type { CompositableSurfaceRef, FontArtifactRef } from "@hypit/media";
+import { sealProgramSpace } from "@hypit/program-space";
import {
assertCompositionIdentity,
sealComposition,
@@ -81,7 +81,7 @@ test("CompositableSurfaceRef distinguishes a typed alpha surface from an ordinar
test("exact fonts own font selection and cannot conflict with raw CSS font facts", () => {
const invalid = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "invalid-font-track",
presents: [{
id: "title",
@@ -109,7 +109,7 @@ test("exact fonts own font selection and cannot conflict with raw CSS font facts
test("animated materialized Surfaces must exactly share the Present frame domain", () => {
const valid = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "surface-track",
presents: [{
id: "surface",
@@ -150,7 +150,7 @@ test("animated materialized Surfaces must exactly share the Present frame domain
test("a local mask owns exactly one mask root and one content root inside its Present", () => {
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "masked-text",
presents: [{
id: "mask",
diff --git a/packages/composition/test/track.test.ts b/packages/composition/test/track.test.ts
index 50aac58c..25f03310 100644
--- a/packages/composition/test/track.test.ts
+++ b/packages/composition/test/track.test.ts
@@ -2,21 +2,21 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
-import { createResolvedClosure } from "@narratage/core";
-import { canonicalize } from "@narratage/protocol";
-import type { BlobRef } from "@narratage/protocol";
-import { TypeValidatorRegistry, validateValue } from "@narratage/validation";
-import { artifactManifest } from "@narratage/artifact";
-import type { FontArtifactRef } from "@narratage/media";
-import { mediaManifest } from "@narratage/media";
-import { narrativeManifest } from "@narratage/narrative";
-import { programSpaceManifest, sealProgramSpace } from "@narratage/program-space";
-import { speechManifest } from "@narratage/speech";
-import { speechEvidenceManifest } from "@narratage/speech-evidence";
-import { semanticMapManifest } from "@narratage/semantic-map";
-import { spatialManifest } from "@narratage/spatial";
-import { VISUAL_IR_V1, visualIrManifest } from "@narratage/visual-ir";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
+import { createResolvedClosure } from "@hypit/core";
+import { canonicalize } from "@hypit/protocol";
+import type { BlobRef } from "@hypit/protocol";
+import { TypeValidatorRegistry, validateValue } from "@hypit/validation";
+import { artifactManifest } from "@hypit/artifact";
+import type { FontArtifactRef } from "@hypit/media";
+import { mediaManifest } from "@hypit/media";
+import { narrativeManifest } from "@hypit/narrative";
+import { programSpaceManifest, sealProgramSpace } from "@hypit/program-space";
+import { speechManifest } from "@hypit/speech";
+import { speechEvidenceManifest } from "@hypit/speech-evidence";
+import { semanticMapManifest } from "@hypit/semantic-map";
+import { spatialManifest } from "@hypit/spatial";
+import { VISUAL_IR_V1, visualIrManifest } from "@hypit/visual-ir";
import {
assertCompositionIdentity,
@@ -51,7 +51,7 @@ function fixture() {
frameRate: { numerator: 30, denominator: 1 },
});
const visual = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "caption",
presents: [{
id: "cue-1",
@@ -158,7 +158,7 @@ test("VisualTrack cannot silently extend the versioned public Visual IR", () =>
canvas: { width: 1080, height: 1920, clearColor: "#000000" },
tracks: [unknownStyle],
}), programSpace),
- /outside narratage\.visual-ir@1/u,
+ /outside hypit\.visual-ir@1/u,
);
const fixedPosition = sealVisualTrack({
diff --git a/packages/core/README.md b/packages/core/README.md
index 371b1c78..6c2ad367 100644
--- a/packages/core/README.md
+++ b/packages/core/README.md
@@ -1,4 +1,4 @@
-# `@narratage/core`
+# `@hypit/core`
The domain neutral graph compiler and build state machine.
diff --git a/packages/core/package.json b/packages/core/package.json
index 5f7861f8..cf1d47b5 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/core",
+ "name": "@hypit/core",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,6 +8,6 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/core/src/error.ts b/packages/core/src/error.ts
index fc9476e3..87b9b1be 100644
--- a/packages/core/src/error.ts
+++ b/packages/core/src/error.ts
@@ -1,4 +1,4 @@
-import { SvmlError } from "@narratage/protocol";
+import { SvmlError } from "@hypit/protocol";
export function invariant(
condition: unknown,
diff --git a/packages/core/src/graph.ts b/packages/core/src/graph.ts
index c0277e4c..e9536223 100644
--- a/packages/core/src/graph.ts
+++ b/packages/core/src/graph.ts
@@ -11,9 +11,9 @@ import type {
StoredValue,
TypeRef,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
-import { canonicalize } from "@narratage/protocol";
+import { canonicalize } from "@hypit/protocol";
import { invariant } from "./error.js";
import { resolveProducer, verifyRecordStructure } from "./link.js";
import { producerKey, sameType, typeKey } from "./reference.js";
@@ -119,7 +119,7 @@ export function sealCompiledGraph(
operations: [...graph.operations].map(normalizeOperation).sort((a, b) => a.id.localeCompare(b.id)),
};
return {
- format: "narratage.graph@1" as const,
+ format: "hypit.graph@1" as const,
...normalized,
};
}
@@ -131,7 +131,7 @@ export function sealBuildRequest(
.map((target) => ({ output: target.output }))
.sort((a, b) => a.output.localeCompare(b.output));
return {
- format: "narratage.build-request@1" as const,
+ format: "hypit.build-request@1" as const,
targets,
};
}
@@ -270,7 +270,7 @@ function verifySatisfaction(
}
export function verifyCompiledGraph(program: LinkedProgram, graph: CompiledGraph): void {
- invariant(graph.format === "narratage.graph@1", "UNSUPPORTED_GRAPH", "unsupported compiled graph format");
+ invariant(graph.format === "hypit.graph@1", "UNSUPPORTED_GRAPH", "unsupported compiled graph format");
const outputIds = new Set<string>();
const candidateIds = new Set<string>();
const operationIds = new Set<string>();
@@ -320,7 +320,7 @@ export function verifyBuildRequest(
): void {
verifyCompiledGraph(program, graph);
invariant(
- request.format === "narratage.build-request@1",
+ request.format === "hypit.build-request@1",
"UNSUPPORTED_BUILD_REQUEST",
"unsupported BuildRequest format",
);
diff --git a/packages/core/src/link.ts b/packages/core/src/link.ts
index 603ca7b4..735a0611 100644
--- a/packages/core/src/link.ts
+++ b/packages/core/src/link.ts
@@ -10,7 +10,7 @@ import type {
ResolvedTypeDeclaration,
TypeRef,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import { invariant } from "./error.js";
import { capabilityKey, moduleKey, producerKey, typeKey } from "./reference.js";
@@ -52,7 +52,7 @@ export function createResolvedClosure(
): ResolvedModuleClosure {
const modules = manifests.map((manifest) => ({ manifest: structuredClone(manifest) }));
return {
- format: "narratage.closure@1",
+ format: "hypit.closure@1",
modules,
};
}
@@ -67,7 +67,7 @@ function ensureUniqueNames(names: readonly string[], kind: string, owner: string
}
export function verifyClosure(closure: ResolvedModuleClosure): void {
- invariant(closure.format === "narratage.closure@1", "UNSUPPORTED_CLOSURE", "unsupported closure format");
+ invariant(closure.format === "hypit.closure@1", "UNSUPPORTED_CLOSURE", "unsupported closure format");
const modules = new Map<string, ResolvedModule>();
const declaredTypes = new Set<string>();
@@ -77,7 +77,7 @@ export function verifyClosure(closure: ResolvedModuleClosure): void {
const key = moduleKey(ref);
invariant(ref.name.length > 0, "EMPTY_MODULE_NAME", "module name is empty");
invariant(ref.version.length > 0, "EMPTY_MODULE_VERSION", `${ref.name} version is empty`);
- invariant(module.manifest.format === "narratage.module@1", "UNSUPPORTED_MODULE", `${key} format is unsupported`);
+ invariant(module.manifest.format === "hypit.module@1", "UNSUPPORTED_MODULE", `${key} format is unsupported`);
invariant(!modules.has(key), "DUPLICATE_MODULE", `duplicate module ${key}`, key);
ensureUniqueNames(module.manifest.types.map((item) => item.name), "type", key);
ensureUniqueNames(module.manifest.capabilities.map((item) => item.name), "capability", key);
diff --git a/packages/core/src/machine.ts b/packages/core/src/machine.ts
index 4974dd9b..93e57a54 100644
--- a/packages/core/src/machine.ts
+++ b/packages/core/src/machine.ts
@@ -5,7 +5,7 @@ import type {
CoreCommand,
CommandResult,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import { admitBuildResult, materializeBuild } from "./reducer.js";
diff --git a/packages/core/src/plan.ts b/packages/core/src/plan.ts
index 204a50e5..3e3ddf3d 100644
--- a/packages/core/src/plan.ts
+++ b/packages/core/src/plan.ts
@@ -11,9 +11,9 @@ import type {
RecordId,
TypeRef,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
-import { canonicalStringify } from "@narratage/protocol";
+import { canonicalStringify } from "@hypit/protocol";
import { invariant } from "./error.js";
import {
operationResultRecord,
@@ -101,7 +101,7 @@ function planContent(
selections: BuildPlan["selections"],
): BuildPlan {
return {
- format: "narratage.plan@1",
+ format: "hypit.plan@1",
steps,
goals,
selections,
@@ -232,7 +232,7 @@ function validatePlanStructure(
graph: CompiledGraph,
plan: BuildPlan,
): void {
- invariant(plan.format === "narratage.plan@1", "UNSUPPORTED_PLAN", "unsupported build plan format");
+ invariant(plan.format === "hypit.plan@1", "UNSUPPORTED_PLAN", "unsupported build plan format");
invariant(plan.goals.length > 0, "EMPTY_PLAN_GOALS", "build plan has no goals");
const records = new Map<RecordId, ProducedRecord>();
diff --git a/packages/core/src/reducer.ts b/packages/core/src/reducer.ts
index df281c13..8ab8db64 100644
--- a/packages/core/src/reducer.ts
+++ b/packages/core/src/reducer.ts
@@ -15,9 +15,9 @@ import type {
ProducerCompletedEvent,
StoredValue,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
-import { canonicalize, SvmlError } from "@narratage/protocol";
+import { canonicalize, SvmlError } from "@hypit/protocol";
import { invariant } from "./error.js";
import { resolveProducer, verifyRecordStructure } from "./link.js";
import { compileBuild, producerStep, selectedProvidedRecords } from "./plan.js";
@@ -241,7 +241,7 @@ export function start(
): BuildState {
const plan: BuildPlan = compileBuild(program, graph, request);
const state: BuildState = {
- format: "narratage.build@1",
+ format: "hypit.build@1",
program,
graph,
request,
@@ -280,14 +280,14 @@ export function defineBuild(
): BuildDefinition {
const initial = start(program, graph, request);
return {
- format: "narratage.build-definition@1",
+ format: "hypit.build-definition@1",
...definitionContent(initial),
};
}
function initialBuildView(definition: BuildDefinition): BuildState {
return {
- format: "narratage.build@1",
+ format: "hypit.build@1",
program: definition.program,
graph: definition.graph,
request: definition.request,
@@ -318,7 +318,7 @@ export function admitBuildResult(
const command = state.outstanding.find((item) => item.id === event.command);
invariant(command?.kind === "invoke-producer", "EVENT_COMMAND_MISMATCH", event.command, event.command);
const content = {
- format: "narratage.build-fact@1",
+ format: "hypit.build-fact@1",
kind: "producer-applied",
command: event.command,
step: command.step,
@@ -333,7 +333,7 @@ export function admitBuildResult(
const record = next.records.at(-1);
invariant(record?.id === command.need.result, "NEED_RECORD_MISSING", command.need.id, command.need.id);
const content = {
- format: "narratage.build-fact@1",
+ format: "hypit.build-fact@1",
kind: "need-applied",
command: event.command,
need: command.need.id,
@@ -344,7 +344,7 @@ export function admitBuildResult(
const diagnostic = next.diagnostics.at(-1);
invariant(diagnostic?.subject === event.command, "FAILURE_DIAGNOSTIC_MISSING", event.command, event.command);
const content = {
- format: "narratage.build-fact@1",
+ format: "hypit.build-fact@1",
kind: "command-failed",
command: event.command,
diagnostic,
@@ -353,7 +353,7 @@ export function admitBuildResult(
}
function verifyFactShape(fact: BuildFact): void {
- invariant(fact.format === "narratage.build-fact@1", "UNSUPPORTED_BUILD_FACT", fact.command, fact.command);
+ invariant(fact.format === "hypit.build-fact@1", "UNSUPPORTED_BUILD_FACT", fact.command, fact.command);
}
/** Reconstruct the materialized view from one immutable Definition and its accepted Facts. */
diff --git a/packages/core/src/reference.ts b/packages/core/src/reference.ts
index 4d1b42cf..47d458a0 100644
--- a/packages/core/src/reference.ts
+++ b/packages/core/src/reference.ts
@@ -1,4 +1,4 @@
-import type { CapabilityRef, ModuleRef, ProducerRef, TypeRef } from "@narratage/protocol";
+import type { CapabilityRef, ModuleRef, ProducerRef, TypeRef } from "@hypit/protocol";
export function moduleKey(ref: ModuleRef): string {
return `${ref.name}@${ref.version}`;
diff --git a/packages/core/src/slice.ts b/packages/core/src/slice.ts
index ce41993b..0168b53c 100644
--- a/packages/core/src/slice.ts
+++ b/packages/core/src/slice.ts
@@ -4,7 +4,7 @@ import type {
GraphValueRef,
LinkedProgram,
ModuleRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import { sealCompiledGraph } from "./graph.js";
import { createResolvedClosure, link } from "./link.js";
diff --git a/packages/core/test/core.test.ts b/packages/core/test/core.test.ts
index da003591..8b83cc82 100644
--- a/packages/core/test/core.test.ts
+++ b/packages/core/test/core.test.ts
@@ -4,14 +4,14 @@ import {
BuildMachine,
defineBuild,
reduce,
-} from "@narratage/core";
+} from "@hypit/core";
import type {
CommandResult,
BuildFact,
BuildState,
FulfillNeedCommand,
InvokeProducerCommand,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import { createGreetingBuild } from "./greeting-fixture.js";
diff --git a/packages/core/test/demand.test.ts b/packages/core/test/demand.test.ts
index 522c721c..338dcf67 100644
--- a/packages/core/test/demand.test.ts
+++ b/packages/core/test/demand.test.ts
@@ -8,7 +8,7 @@ import {
sealCompiledGraph,
sealRecord,
start,
-} from "@narratage/core";
+} from "@hypit/core";
import type {
BuildRequest,
BuildState,
@@ -24,7 +24,7 @@ import type {
ProducerRef,
Satisfaction,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
const moduleRef = { name: "example.kernel-demand", version: "0.0.0" } as const;
const types = {
@@ -60,7 +60,7 @@ const producers = {
const seedanceCapability = { module: moduleRef, name: "seedance-media" } as const;
const manifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: moduleRef.name,
version: moduleRef.version,
dependencies: [],
diff --git a/packages/core/test/greeting-fixture.ts b/packages/core/test/greeting-fixture.ts
index 4a3a5234..48289669 100644
--- a/packages/core/test/greeting-fixture.ts
+++ b/packages/core/test/greeting-fixture.ts
@@ -5,7 +5,7 @@ import {
sealCompiledGraph,
sealRecord,
start,
-} from "@narratage/core";
+} from "@hypit/core";
import type {
BuildState,
CapabilityRef,
@@ -13,7 +13,7 @@ import type {
ModuleManifest,
ProducerRef,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
export const moduleRef = { name: "example.greeting", version: "0.0.0" } as const;
export const types = {
@@ -35,7 +35,7 @@ export const producers = {
} satisfies Record<string, ProducerRef>;
export const manifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: moduleRef.name,
version: moduleRef.version,
dependencies: [],
diff --git a/packages/credential-store-env/README.md b/packages/credential-store-env/README.md
index 41a1ab3f..8c92b4c9 100644
--- a/packages/credential-store-env/README.md
+++ b/packages/credential-store-env/README.md
@@ -1,4 +1,4 @@
-# `@narratage/credential-store-env`
+# `@hypit/credential-store-env`
Read-only `CredentialStore` backed by explicitly named environment variables.
diff --git a/packages/credential-store-env/package.json b/packages/credential-store-env/package.json
index f31062dd..b427b310 100644
--- a/packages/credential-store-env/package.json
+++ b/packages/credential-store-env/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/credential-store-env",
+ "name": "@hypit/credential-store-env",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,11 +7,11 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*"
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*"
}
}
diff --git a/packages/credential-store-env/src/activation.ts b/packages/credential-store-env/src/activation.ts
index 09847134..89b81624 100644
--- a/packages/credential-store-env/src/activation.ts
+++ b/packages/credential-store-env/src/activation.ts
@@ -2,12 +2,12 @@ import {
createRuntimeCredentialStoreAdapterFacet,
runtimeConfigExact,
runtimeConfigObject,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import { EnvironmentCredentialStore } from "./index.js";
const environmentCredentialStoreAdapter = createRuntimeCredentialStoreAdapterFacet({
- use: "@narratage/credential-store-env",
+ use: "@hypit/credential-store-env",
validate(context) {
const config = runtimeConfigObject(context.config, "environment CredentialStore");
runtimeConfigExact(config, [], "environment CredentialStore");
@@ -17,9 +17,9 @@ const environmentCredentialStoreAdapter = createRuntimeCredentialStoreAdapterFac
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [environmentCredentialStoreAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/credential-store-env/src/index.ts b/packages/credential-store-env/src/index.ts
index ea4a5466..d94e5d7b 100644
--- a/packages/credential-store-env/src/index.ts
+++ b/packages/credential-store-env/src/index.ts
@@ -2,8 +2,8 @@ import type {
CredentialRef,
CredentialStore,
CredentialValue,
-} from "@narratage/runtime";
-import { verifyCredentialRef } from "@narratage/runtime";
+} from "@hypit/runtime";
+import { verifyCredentialRef } from "@hypit/runtime";
/** Resolves only explicitly requested environment variables and never snapshots or enumerates env. */
export class EnvironmentCredentialStore implements CredentialStore {
diff --git a/packages/credential-store-env/test/store.test.ts b/packages/credential-store-env/test/store.test.ts
index 523caff9..c492f72b 100644
--- a/packages/credential-store-env/test/store.test.ts
+++ b/packages/credential-store-env/test/store.test.ts
@@ -1,8 +1,8 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { EnvironmentCredentialStore } from "@narratage/credential-store-env";
-import { credentialRef } from "@narratage/runtime";
+import { EnvironmentCredentialStore } from "@hypit/credential-store-env";
+import { credentialRef } from "@hypit/runtime";
test("environment credentials resolve only the explicitly requested key", async () => {
const store = new EnvironmentCredentialStore({
diff --git a/packages/credential-store-keychain/README.md b/packages/credential-store-keychain/README.md
index adc78543..b434b501 100644
--- a/packages/credential-store-keychain/README.md
+++ b/packages/credential-store-keychain/README.md
@@ -1,4 +1,4 @@
-# `@narratage/credential-store-keychain`
+# `@hypit/credential-store-keychain`
macOS Keychain-backed implementation of the domain-neutral Runtime `CredentialStore` port, including
its optional writable facet.
@@ -11,14 +11,14 @@ failure.
The Runtime Profile adapter accepts one optional `service` name. Selecting this package requires the
explicit `process:keychain` permission. Merely installing it grants no credential authority.
-`narratage auth login <endpoint> --runtime <profile>` writes only when an Endpoint's configured
+`hypit auth login <endpoint> --runtime <profile>` writes only when an Endpoint's configured
`CredentialRef.store` is `keychain` and this exact Store instance was selected. `auth status` is
read-only; `auth logout` removes only that exact account. The CLI contains no Provider-name switch.
Add a value under the service/account pair selected by the Runtime Profile with:
```bash
-security add-generic-password -s narratage -a KIE_API_KEY -w
+security add-generic-password -s hypit -a KIE_API_KEY -w
```
The account name is the `CredentialRef.key`; the secret is prompted by the `security` command and
diff --git a/packages/credential-store-keychain/package.json b/packages/credential-store-keychain/package.json
index 9ec9f6d5..6ba85966 100644
--- a/packages/credential-store-keychain/package.json
+++ b/packages/credential-store-keychain/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/credential-store-keychain",
+ "name": "@hypit/credential-store-keychain",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,11 +7,11 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*"
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*"
}
}
diff --git a/packages/credential-store-keychain/src/activation.ts b/packages/credential-store-keychain/src/activation.ts
index 6da4ccf8..a783c427 100644
--- a/packages/credential-store-keychain/src/activation.ts
+++ b/packages/credential-store-keychain/src/activation.ts
@@ -3,12 +3,12 @@ import {
runtimeConfigExact,
runtimeConfigObject,
runtimeConfigString,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import { KeychainCredentialStore } from "./store.js";
const keychainCredentialStoreRuntimeAdapter = createRuntimeCredentialStoreAdapterFacet({
- use: "@narratage/credential-store-keychain",
+ use: "@hypit/credential-store-keychain",
validate(context) {
const config = runtimeConfigObject(context.config, "keychain CredentialStore");
runtimeConfigExact(config, ["service"], "keychain CredentialStore");
@@ -24,9 +24,9 @@ const keychainCredentialStoreRuntimeAdapter = createRuntimeCredentialStoreAdapte
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [keychainCredentialStoreRuntimeAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/credential-store-keychain/src/store.ts b/packages/credential-store-keychain/src/store.ts
index 9f2da3ed..d1b76934 100644
--- a/packages/credential-store-keychain/src/store.ts
+++ b/packages/credential-store-keychain/src/store.ts
@@ -1,14 +1,14 @@
import { execFile } from "node:child_process";
-import { verifyCredentialRef } from "@narratage/runtime";
+import { verifyCredentialRef } from "@hypit/runtime";
import type {
CredentialRef,
CredentialValue,
WritableCredentialStore,
-} from "@narratage/runtime";
+} from "@hypit/runtime";
export const keychainCredentialStoreModuleRef = {
- name: "@narratage/credential-store-keychain",
+ name: "@hypit/credential-store-keychain",
version: "1",
} as const;
@@ -26,7 +26,7 @@ export type CreateKeychainCredentialStorePackageOptions = {
readonly remove?: KeychainDeleter;
};
-const DEFAULT_SERVICE = "narratage";
+const DEFAULT_SERVICE = "hypit";
/**
* `security find-generic-password -s <service> -a <account> -w`
diff --git a/packages/credential-store-keychain/test/store.test.ts b/packages/credential-store-keychain/test/store.test.ts
index 48ec62d5..e1811fb4 100644
--- a/packages/credential-store-keychain/test/store.test.ts
+++ b/packages/credential-store-keychain/test/store.test.ts
@@ -1,9 +1,9 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { credentialRef } from "@narratage/runtime";
+import { credentialRef } from "@hypit/runtime";
-import { KeychainCredentialStore } from "@narratage/credential-store-keychain";
+import { KeychainCredentialStore } from "@hypit/credential-store-keychain";
const reader = (entries: Readonly<Record<string, string>>) =>
async (_service: string, account: string) => entries[account];
diff --git a/packages/deck-track/README.md b/packages/deck-track/README.md
index 16c66214..1eadbc49 100644
--- a/packages/deck-track/README.md
+++ b/packages/deck-track/README.md
@@ -1,4 +1,4 @@
-# `@narratage/deck-track`
+# `@hypit/deck-track`
The official, deliberately narrow depth-stack Deck author package.
@@ -7,7 +7,7 @@ relative-depth poses and one deterministic whole-collection reflow. Card pixels
Media layer lowerer, but Deck is not a Media mode and exports only an ordinary peer `VisualTrack`.
```xml
-<import as="copy" from="@narratage/text@1"/>
+<import as="copy" from="@hypit/text@1"/>
<copy:Value id="proof-label">Evidence, not inference</copy:Value>
<deck:Label id="proof-label-style" content={proof-label}
diff --git a/packages/deck-track/package.json b/packages/deck-track/package.json
index b657956e..f71a1b52 100644
--- a/packages/deck-track/package.json
+++ b/packages/deck-track/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/deck-track",
+ "name": "@hypit/deck-track",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,28 +7,28 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/media-track": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/temporal": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/media-track": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/temporal": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/media-pipeline": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*"
}
}
diff --git a/packages/deck-track/src/activation.ts b/packages/deck-track/src/activation.ts
index f9e20a34..ce4af7ca 100644
--- a/packages/deck-track/src/activation.ts
+++ b/packages/deck-track/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeDepthStackLabelSurface,
@@ -9,8 +9,8 @@ import {
depthStackMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{
manifest: depthStackManifest,
}],
@@ -29,4 +29,4 @@ export const narratagePackage = {
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/deck-track/src/author.ts b/packages/deck-track/src/author.ts
index d37f292c..9338171d 100644
--- a/packages/deck-track/src/author.ts
+++ b/packages/deck-track/src/author.ts
@@ -5,13 +5,13 @@ import {
decodeMediaPresentation,
decodeMediaSampleSpec,
mediaAppearanceKeys,
-} from "@narratage/media-track";
+} from "@hypit/media-track";
import type {
MediaPaintLayerSpec,
MediaSampleLayerSpec,
-} from "@narratage/media-track";
-import type { ContentFit } from "@narratage/spatial";
-import type { SvsRecipe } from "@narratage/svs";
+} from "@hypit/media-track";
+import type { ContentFit } from "@hypit/spatial";
+import type { SvsRecipe } from "@hypit/svs";
import {
sealDepthStackCardSpec,
diff --git a/packages/deck-track/src/component.ts b/packages/deck-track/src/component.ts
index 9ef051c5..2e662458 100644
--- a/packages/deck-track/src/component.ts
+++ b/packages/deck-track/src/component.ts
@@ -1,12 +1,12 @@
-import type { ComponentPackage, ProducerHandlerContext } from "@narratage/component-kit";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize } from "@narratage/protocol";
-import type { StoredValue } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import type { CanvasSpace, SpatialFrame } from "@narratage/spatial";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import type { MediaLayerSet } from "@narratage/media-track";
-import type { Text } from "@narratage/text";
+import type { ComponentPackage, ProducerHandlerContext } from "@hypit/component-kit";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize } from "@hypit/protocol";
+import type { StoredValue } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import type { CanvasSpace, SpatialFrame } from "@hypit/spatial";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import type { MediaLayerSet } from "@hypit/media-track";
+import type { Text } from "@hypit/text";
import { renderDepthStack } from "./lower.js";
import { depthStackProducers, depthStackTypes } from "./manifest.js";
diff --git a/packages/deck-track/src/fragment.ts b/packages/deck-track/src/fragment.ts
index 363fadb6..ef97f1b7 100644
--- a/packages/deck-track/src/fragment.ts
+++ b/packages/deck-track/src/fragment.ts
@@ -1,13 +1,13 @@
-import { artifactTypes } from "@narratage/artifact";
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { FragmentOperation, GraphFragment } from "@narratage/elaborator";
-import { mediaTypes } from "@narratage/media";
-import { mediaTrackProducers, mediaTrackTypes } from "@narratage/media-track";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
+import { artifactTypes } from "@hypit/artifact";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { FragmentOperation, GraphFragment } from "@hypit/elaborator";
+import { mediaTypes } from "@hypit/media";
+import { mediaTrackProducers, mediaTrackTypes } from "@hypit/media-track";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
import { depthStackProducers, depthStackTypes } from "./manifest.js";
diff --git a/packages/deck-track/src/lower.ts b/packages/deck-track/src/lower.ts
index f49646c6..992516ed 100644
--- a/packages/deck-track/src/lower.ts
+++ b/packages/deck-track/src/lower.ts
@@ -1,28 +1,28 @@
import {
assertVisualTrackIdentity,
sealVisualTrack,
-} from "@narratage/composition";
+} from "@hypit/composition";
import type {
VisualAnimation,
VisualElement,
VisualStyleDeclaration,
VisualTimedSampling,
VisualTrack,
-} from "@narratage/composition";
+} from "@hypit/composition";
import {
lifecycleAnimationWindow,
lowerMediaItemElements,
resolveVisualSampling,
sustainAnimationWindow,
-} from "@narratage/media-track";
+} from "@hypit/media-track";
import type {
MediaItemProgram,
MediaSampleLayerProgram,
MediaVisualTrim,
-} from "@narratage/media-track";
-import type { ProgramSpace } from "@narratage/program-space";
-import { assertCanvasSpace } from "@narratage/spatial";
-import type { CanvasSpace, SpatialFrame } from "@narratage/spatial";
+} from "@hypit/media-track";
+import type { ProgramSpace } from "@hypit/program-space";
+import { assertCanvasSpace } from "@hypit/spatial";
+import type { CanvasSpace, SpatialFrame } from "@hypit/spatial";
import {
assertDepthStackProgramIdentity,
@@ -358,7 +358,7 @@ export function renderDepthStack(
}
}
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: program.id,
presents,
});
diff --git a/packages/deck-track/src/manifest.ts b/packages/deck-track/src/manifest.ts
index 47eac3f9..79f0a981 100644
--- a/packages/deck-track/src/manifest.ts
+++ b/packages/deck-track/src/manifest.ts
@@ -5,24 +5,24 @@ import {
visualTextFlowSchema,
visualTextPaintSchema,
visualTextTypographySchema,
-} from "@narratage/composition";
-import { mediaDependency } from "@narratage/media";
+} from "@hypit/composition";
+import { mediaDependency } from "@hypit/media";
import {
mediaFramePresentationSchema,
mediaLayerSetSchema,
mediaLifecycleMotionSchema,
mediaTrackDependency,
mediaTrackTypes,
-} from "@narratage/media-track";
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { semanticMapDependency, semanticMapTypes } from "@narratage/semantic-map";
-import { spatialDependency, spatialFrameSchema, spatialTypes } from "@narratage/spatial";
-import { temporalDependency } from "@narratage/temporal";
-import { textDependency, textTypes } from "@narratage/text";
+} from "@hypit/media-track";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { semanticMapDependency, semanticMapTypes } from "@hypit/semantic-map";
+import { spatialDependency, spatialFrameSchema, spatialTypes } from "@hypit/spatial";
+import { temporalDependency } from "@hypit/temporal";
+import { textDependency, textTypes } from "@hypit/text";
-export const depthStackModuleRef = { name: "@narratage/deck-track", version: "1" } as const;
+export const depthStackModuleRef = { name: "@hypit/deck-track", version: "1" } as const;
export const depthStackTypes = {
header: { module: depthStackModuleRef, name: "DepthStackHeader" },
spec: { module: depthStackModuleRef, name: "DepthStackSpec" },
@@ -124,7 +124,7 @@ export const depthStackMarkupSurfaces = [
export const depthStackManifest: ModuleManifest = {
- format: "narratage.module@1", name: depthStackModuleRef.name, version: depthStackModuleRef.version,
+ format: "hypit.module@1", name: depthStackModuleRef.name, version: depthStackModuleRef.version,
dependencies: [narrativeDependency, semanticMapDependency, programSpaceDependency, spatialDependency, temporalDependency, mediaDependency, mediaTrackDependency, compositionDependency, textDependency],
types: [
{ name: depthStackTypes.header.name },
diff --git a/packages/deck-track/src/program.ts b/packages/deck-track/src/program.ts
index ec3d0d8a..ef7672e7 100644
--- a/packages/deck-track/src/program.ts
+++ b/packages/deck-track/src/program.ts
@@ -1,27 +1,27 @@
import {
assertFontArtifactRef,
-} from "@narratage/media";
+} from "@hypit/media";
import {
assertMediaFramePresentation,
assertMediaLayerSet,
assertMediaLifecycleMotion,
-} from "@narratage/media-track";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
+} from "@hypit/media-track";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
import {
assertProgramSpaceIdentity,
programSpaceFrameCount,
-} from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize } from "@narratage/protocol";
-import { verifyText } from "@narratage/text";
-import type { Text } from "@narratage/text";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import { assertSpatialFrame } from "@narratage/spatial";
-import type { SpatialFrame } from "@narratage/spatial";
+} from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize } from "@hypit/protocol";
+import { verifyText } from "@hypit/text";
+import type { Text } from "@hypit/text";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import { assertSpatialFrame } from "@hypit/spatial";
+import type { SpatialFrame } from "@hypit/spatial";
import {
locateMomentOccurrences,
locateSelectionOccurrences,
-} from "@narratage/temporal";
+} from "@hypit/temporal";
import type {
DeckCardTone,
diff --git a/packages/deck-track/src/surface.ts b/packages/deck-track/src/surface.ts
index a7223026..ee030865 100644
--- a/packages/deck-track/src/surface.ts
+++ b/packages/deck-track/src/surface.ts
@@ -1,24 +1,24 @@
-import { artifactTypes } from "@narratage/artifact";
-import { mediaTypes } from "@narratage/media";
-import type { FontStackRef } from "@narratage/media";
-import { mediaTrackTypes } from "@narratage/media-track";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import type { TypeRef } from "@narratage/protocol";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
-import { sealText, textTypes } from "@narratage/text";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { AuthorValueRef } from "@narratage/elaborator";
+import { artifactTypes } from "@hypit/artifact";
+import { mediaTypes } from "@hypit/media";
+import type { FontStackRef } from "@hypit/media";
+import { mediaTrackTypes } from "@hypit/media-track";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import type { TypeRef } from "@hypit/protocol";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
+import { sealText, textTypes } from "@hypit/text";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { AuthorValueRef } from "@hypit/elaborator";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceRecordDraft,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import {
decodeDepthStackCardSpec,
diff --git a/packages/deck-track/src/types.ts b/packages/deck-track/src/types.ts
index 1a191d61..f361de29 100644
--- a/packages/deck-track/src/types.ts
+++ b/packages/deck-track/src/types.ts
@@ -4,13 +4,13 @@ import type {
VisualTextFlow,
VisualTextPaintLayer,
VisualTextTypography,
-} from "@narratage/composition";
+} from "@hypit/composition";
import type {
MediaFramePresentation,
MediaLayerSet,
MediaLifecycleMotion,
-} from "@narratage/media-track";
-import type { SpatialFrame } from "@narratage/spatial";
+} from "@hypit/media-track";
+import type { SpatialFrame } from "@hypit/spatial";
export type DepthStackVisibility = {
readonly previous: number;
diff --git a/packages/deck-track/test/deck-track.test.ts b/packages/deck-track/test/deck-track.test.ts
index 2459945e..aa3c7219 100644
--- a/packages/deck-track/test/deck-track.test.ts
+++ b/packages/deck-track/test/deck-track.test.ts
@@ -3,9 +3,9 @@ import test from "node:test";
import { videoContractManifests } from "../../../test/support/video-domain.js";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { compositionDependency, compositionTypes } from "@narratage/composition";
-import type { VisualElement, VisualTimedSampling } from "@narratage/composition";
-import { createResolvedClosure } from "@narratage/core";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
+import type { VisualElement, VisualTimedSampling } from "@hypit/composition";
+import { createResolvedClosure } from "@hypit/core";
import {
decodeDepthStackLabelSurface,
decodeDepthStackSurface,
@@ -25,32 +25,32 @@ import {
sealDepthStackCardSpec,
sealDepthStackHeader,
sealDepthStackSpec,
-} from "@narratage/deck-track";
+} from "@hypit/deck-track";
import type {
DepthStackCardLabel,
DepthStackProgram,
DepthStackSpec,
-} from "@narratage/deck-track";
-import type { FontArtifactRef } from "@narratage/media";
-import { mediaTypes } from "@narratage/media";
-import { mediaPipelineManifest } from "@narratage/media-pipeline";
-import type { MediaLayerSet } from "@narratage/media-track";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes, sealProgramSpace } from "@narratage/program-space";
-import type { ModuleManifest } from "@narratage/protocol";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { sealCanvasSpace, sealSpatialFrame, spatialTypes } from "@narratage/spatial";
-import { svsRecipeType } from "@narratage/svs";
-import { sealText, textManifest, textTypes } from "@narratage/text";
-import type { SvsRecipe } from "@narratage/svs";
+} from "@hypit/deck-track";
+import type { FontArtifactRef } from "@hypit/media";
+import { mediaTypes } from "@hypit/media";
+import { mediaPipelineManifest } from "@hypit/media-pipeline";
+import type { MediaLayerSet } from "@hypit/media-track";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes, sealProgramSpace } from "@hypit/program-space";
+import type { ModuleManifest } from "@hypit/protocol";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { sealCanvasSpace, sealSpatialFrame, spatialTypes } from "@hypit/spatial";
+import { svsRecipeType } from "@hypit/svs";
+import { sealText, textManifest, textTypes } from "@hypit/text";
+import type { SvsRecipe } from "@hypit/svs";
import type {
StructuredElement,
StructuredNode,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
-import { artifactTypes } from "@narratage/artifact";
-import { mediaTrackManifest, mediaTrackTypes } from "@narratage/media-track";
+} from "@hypit/markup";
+import { artifactTypes } from "@hypit/artifact";
+import { mediaTrackManifest, mediaTrackTypes } from "@hypit/media-track";
const space = sealProgramSpace({
durationSec: 2,
@@ -445,7 +445,7 @@ test("Label Surface compiles explicit exact-font text rather than media metadata
assert.equal(result.components[0]?.outputs.label, "proof-label");
assert.equal(result.fragments[0]?.operations[0]?.producer.name, depthStackProducers.bindLabelText.name);
assert.ok(result.records.some((record) => record.type.name === depthStackTypes.cardLabelStyle.name));
- assert.ok(result.records.some((record) => record.type.module.name === "@narratage/text" && record.type.name === "Text"));
+ assert.ok(result.records.some((record) => record.type.module.name === "@hypit/text" && record.type.name === "Text"));
});
test("Label Surface accepts ordinary graph Text without copying it during author compilation", async () => {
@@ -473,7 +473,7 @@ test("Label Surface accepts ordinary graph Text without copying it during author
test("another Deck family can coexist by contributing only the existing VisualTrack waist", () => {
const other: ModuleManifest = {
- format: "narratage.module@1" as const,
+ format: "hypit.module@1" as const,
name: "example.carousel",
version: "1",
dependencies: [compositionDependency],
@@ -492,7 +492,7 @@ test("another Deck family can coexist by contributing only the existing VisualTr
depthStackManifest,
other,
]);
- assert.ok(closure.modules.some((module) => module.manifest.name === "@narratage/deck-track"));
+ assert.ok(closure.modules.some((module) => module.manifest.name === "@hypit/deck-track"));
assert.ok(closure.modules.some((module) => module.manifest.name === "example.carousel"));
assert.deepEqual(other.producers[0]?.outputs[0]?.type, compositionTypes.visualTrack);
});
diff --git a/packages/driver-node/README.md b/packages/driver-node/README.md
index f8022469..0283e14f 100644
--- a/packages/driver-node/README.md
+++ b/packages/driver-node/README.md
@@ -1,4 +1,4 @@
-# `@narratage/driver-node`
+# `@hypit/driver-node`
Node execution of commands produced by the domain neutral Core.
diff --git a/packages/driver-node/package.json b/packages/driver-node/package.json
index 16de3901..51006d17 100644
--- a/packages/driver-node/package.json
+++ b/packages/driver-node/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/driver-node",
+ "name": "@hypit/driver-node",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,11 +8,11 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/core": "workspace:*",
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/core": "workspace:*",
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/validation": "workspace:*"
}
}
diff --git a/packages/driver-node/src/artifacts.ts b/packages/driver-node/src/artifacts.ts
index 43511292..291b14b1 100644
--- a/packages/driver-node/src/artifacts.ts
+++ b/packages/driver-node/src/artifacts.ts
@@ -1,8 +1,8 @@
import { createHash } from "node:crypto";
-import type { BlobRef, Digest } from "@narratage/protocol";
+import type { BlobRef, Digest } from "@hypit/protocol";
-import type { ArtifactStore } from "@narratage/runtime";
+import type { ArtifactStore } from "@hypit/runtime";
export class MemoryArtifactStore implements ArtifactStore {
readonly #values = new Map<Digest, Uint8Array>();
diff --git a/packages/driver-node/src/driver.ts b/packages/driver-node/src/driver.ts
index bdcd642e..eab66623 100644
--- a/packages/driver-node/src/driver.ts
+++ b/packages/driver-node/src/driver.ts
@@ -1,8 +1,8 @@
import { randomUUID } from "node:crypto";
-import { reduce, resolveProducer } from "@narratage/core";
-import type { ProducerHandlerResult } from "@narratage/component-kit";
-import type { EndpointFulfillment, EndpointOutcome } from "@narratage/endpoint-kit";
+import { reduce, resolveProducer } from "@hypit/core";
+import type { ProducerHandlerResult } from "@hypit/component-kit";
+import type { EndpointFulfillment, EndpointOutcome } from "@hypit/endpoint-kit";
import type {
BuildState,
CommandResult,
@@ -10,12 +10,12 @@ import type {
FulfillNeedCommand,
InvokeProducerCommand,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
TypeValidatorRegistry,
validateValue,
-} from "@narratage/validation";
-import type { TypeValidatorRegistryLike } from "@narratage/validation";
+} from "@hypit/validation";
+import type { TypeValidatorRegistryLike } from "@hypit/validation";
import type {
ArtifactStore,
CredentialStore,
@@ -27,7 +27,7 @@ import type {
RuntimeExecutionResult,
RuntimePreparation,
RuntimeRunnableCommand,
-} from "@narratage/runtime";
+} from "@hypit/runtime";
import { MemoryArtifactStore } from "./artifacts.js";
import {
@@ -56,14 +56,14 @@ export type NodeDriverOptions = {
type Executable =
| {
readonly command: InvokeProducerCommand;
- readonly resources: readonly import("@narratage/runtime").RuntimeResourceClaim[];
+ readonly resources: readonly import("@hypit/runtime").RuntimeResourceClaim[];
readonly run: () => Promise<ProducerHandlerResult>;
}
| {
readonly command: FulfillNeedCommand;
readonly endpointId: string;
- readonly resources: readonly import("@narratage/runtime").RuntimeResourceClaim[];
- readonly queue?: import("@narratage/runtime").RuntimeQueueLane;
+ readonly resources: readonly import("@hypit/runtime").RuntimeResourceClaim[];
+ readonly queue?: import("@hypit/runtime").RuntimeQueueLane;
readonly registration: EndpointRegistration;
};
diff --git a/packages/driver-node/src/registry.ts b/packages/driver-node/src/registry.ts
index 0dad7954..6919ef59 100644
--- a/packages/driver-node/src/registry.ts
+++ b/packages/driver-node/src/registry.ts
@@ -4,17 +4,17 @@ import type {
EndpointScheduling,
ImmediateEndpointHandler,
AsyncEndpoint,
-} from "@narratage/endpoint-kit";
+} from "@hypit/endpoint-kit";
import type {
ProducerRegistrar,
-} from "@narratage/component-kit";
+} from "@hypit/component-kit";
import type {
CapabilityRef,
Need,
ProducerRef,
TypeRef,
-} from "@narratage/protocol";
-import { verifyCredentialRef } from "@narratage/runtime";
+} from "@hypit/protocol";
+import { verifyCredentialRef } from "@hypit/runtime";
import type {
ProducerHandler,
diff --git a/packages/driver-node/src/types.ts b/packages/driver-node/src/types.ts
index 071db8b9..6a40e9e3 100644
--- a/packages/driver-node/src/types.ts
+++ b/packages/driver-node/src/types.ts
@@ -3,18 +3,18 @@ import type {
CoreCommand,
TypeRef,
CapabilityRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type {
ProducerHandler,
-} from "@narratage/component-kit";
-import type { EndpointRegistrationOptions, EndpointScheduling, ImmediateEndpointHandler, AsyncEndpoint } from "@narratage/endpoint-kit";
+} from "@hypit/component-kit";
+import type { EndpointRegistrationOptions, EndpointScheduling, ImmediateEndpointHandler, AsyncEndpoint } from "@hypit/endpoint-kit";
export type {
ProducerHandler,
ProducerHandlerContext,
ProducerHandlerResult,
ProducerRegistrar,
-} from "@narratage/component-kit";
+} from "@hypit/component-kit";
export type DriverExecutionOutcome = {
readonly command: string;
diff --git a/packages/driver-node/test/driver.test.ts b/packages/driver-node/test/driver.test.ts
index e299aa6b..0d3ae9f7 100644
--- a/packages/driver-node/test/driver.test.ts
+++ b/packages/driver-node/test/driver.test.ts
@@ -1,14 +1,14 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { reduce } from "@narratage/core";
+import { reduce } from "@hypit/core";
import {
ProducerRegistry,
MemoryArtifactStore,
NodeDriver,
EndpointRegistry,
-} from "@narratage/driver-node";
-import { credentialRef } from "@narratage/runtime";
+} from "@hypit/driver-node";
+import { credentialRef } from "@hypit/runtime";
import { capabilities, createGreetingBuild, producers as greetingProducers, types } from "../../core/test/greeting-fixture.js";
diff --git a/packages/driver-node/test/scheduler.test.ts b/packages/driver-node/test/scheduler.test.ts
index 0117d449..2e05e82e 100644
--- a/packages/driver-node/test/scheduler.test.ts
+++ b/packages/driver-node/test/scheduler.test.ts
@@ -5,12 +5,12 @@ import {
ProducerRegistry,
NodeDriver,
EndpointRegistry,
-} from "@narratage/driver-node";
-import type { AsyncEndpoint } from "@narratage/endpoint-kit";
+} from "@hypit/driver-node";
+import type { AsyncEndpoint } from "@hypit/endpoint-kit";
import {
LocalBuildScheduler,
-} from "@narratage/runtime";
-import type { OperationSnapshot, OperationStore, OperationUpdate } from "@narratage/runtime";
+} from "@hypit/runtime";
+import type { OperationSnapshot, OperationStore, OperationUpdate } from "@hypit/runtime";
import {
createResolvedClosure,
link,
@@ -18,7 +18,7 @@ import {
sealCompiledGraph,
sealRecord,
start,
-} from "@narratage/core";
+} from "@hypit/core";
import { capabilities, createGreetingBuild, manifest, producers as greetingProducers, types } from "../../core/test/greeting-fixture.js";
diff --git a/packages/driver-node/test/validation.test.ts b/packages/driver-node/test/validation.test.ts
index ff756b5b..70287daf 100644
--- a/packages/driver-node/test/validation.test.ts
+++ b/packages/driver-node/test/validation.test.ts
@@ -9,12 +9,12 @@ import {
sealRecord,
start,
verifyRecordStructure,
-} from "@narratage/core";
+} from "@hypit/core";
import {
ProducerRegistry,
NodeDriver,
EndpointRegistry,
-} from "@narratage/driver-node";
+} from "@hypit/driver-node";
import type {
CapabilityRef,
CompiledGraph,
@@ -22,13 +22,13 @@ import type {
ModuleManifest,
ProducerRef,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
TypeValidationError,
TypeValidatorRegistry,
admitRecord,
validateValue,
-} from "@narratage/validation";
+} from "@hypit/validation";
const contractModule = { name: "example.measurement-contract", version: "1.0.0" } as const;
const sensorModule = { name: "example.sensor", version: "1.0.0" } as const;
@@ -45,7 +45,7 @@ const requestProducer = { module: sensorModule, name: "request-measurement" } sa
const reportProducer = { module: reportModule, name: "write-report" } satisfies ProducerRef;
const contractManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: contractModule.name,
version: contractModule.version,
dependencies: [],
@@ -61,7 +61,7 @@ const contractDependency = {
};
const sensorManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: sensorModule.name,
version: sensorModule.version,
dependencies: [contractDependency],
@@ -88,7 +88,7 @@ const sensorManifest: ModuleManifest = {
};
const reportManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: reportModule.name,
version: reportModule.version,
dependencies: [contractDependency],
diff --git a/packages/elaborator/README.md b/packages/elaborator/README.md
index 793392d7..bb570117 100644
--- a/packages/elaborator/README.md
+++ b/packages/elaborator/README.md
@@ -1,20 +1,20 @@
-# `@narratage/elaborator`
+# `@hypit/elaborator`
Parser-independent author linking and static Graph Fragment elaboration outside SVML Core.
The package is the optional compilation layer between authored declarations and the domain-free
-Kernel. A frontend, API or visual editor first emits one sealed `narratage.author-module@1` containing
+Kernel. A frontend, API or visual editor first emits one sealed `hypit.author-module@1` containing
component calls with symbolic Record/Component-output references. The Elaborator then works in two
phases:
1. lock every referenced Fragment and predeclare every component export;
2. resolve references, reject missing values, type mismatches and cycles, hygienically instantiate
- Fragments, then emit one ordinary `narratage.graph@1` for Core.
+ Fragments, then emit one ordinary `hypit.graph@1` for Core.
Because all exports are collected before any input is resolved, declaration order has no meaning
and a component may reference a later component. The linker itself does not parse `.svml`, execute
package code or know any domain vocabulary. The non-video laboratory test demonstrates that the
-same layer works without `@narratage/markup` or audiovisual contracts.
+same layer works without `@hypit/markup` or audiovisual contracts.
The official Markup adapter emits this exact Author Module format. Its separate non-video
integration fixture proves the complete `source → Surface → AuthorModule → Graph → BuildPlan` path;
@@ -44,10 +44,10 @@ browser upload, repository object or remote content store.
Frontend output passes a Host-owned Record admission hook before linking. The hook is permitted to
reject a Record but is forbidden to rewrite Record identity, Type, value, digest, or origin.
-`@narratage/compiler-node` wires this to `@narratage/validation` by default, so authored
+`@hypit/compiler-node` wires this to `@hypit/validation` by default, so authored
values use the same Type-owner gate as Producer, Provider and provided Candidate values.
-A `narratage.fragment@1` value may reference only declared Fragment inputs and local Operations. It
+A `hypit.fragment@1` value may reference only declared Fragment inputs and local Operations. It
contains no JavaScript callback, ambient file lookup, credential access or Runtime endpoint. Before
expansion the Elaborator verifies producer ports, types, cycles, reachable exports and Semantic
Input Envelopes.
@@ -62,6 +62,6 @@ edges. The result is ordinary graph data that Core validates again before freezi
does not name an Author Logical Output. Run frontends keep Candidate declaration and the explicit
`output -> candidate` Satisfaction edge separate.
-`@narratage/elaborator` is not a public `@narratage/author` subsystem. It is a reusable graph-construction
+`@hypit/elaborator` is not a public `@hypit/author` subsystem. It is a reusable graph-construction
library. A domain normally adds its own contract and component packages; Text remains only one
optional frontend capable of producing the same Author Module data.
diff --git a/packages/elaborator/package.json b/packages/elaborator/package.json
index 2fc8115e..f534c958 100644
--- a/packages/elaborator/package.json
+++ b/packages/elaborator/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/elaborator",
+ "name": "@hypit/elaborator",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,9 +8,9 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/host": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/source": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/host": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/source": "workspace:*"
}
}
diff --git a/packages/elaborator/src/author.ts b/packages/elaborator/src/author.ts
index b7b202b7..4d88609e 100644
--- a/packages/elaborator/src/author.ts
+++ b/packages/elaborator/src/author.ts
@@ -1,13 +1,13 @@
import {
sealCompiledGraph,
verifyCompiledGraph,
-} from "@narratage/core";
+} from "@hypit/core";
import type {
CompiledGraph,
GraphValueRef,
LinkedProgram,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
bindAuthorFragment,
diff --git a/packages/elaborator/src/fragment.ts b/packages/elaborator/src/fragment.ts
index 305feb07..dfa2316e 100644
--- a/packages/elaborator/src/fragment.ts
+++ b/packages/elaborator/src/fragment.ts
@@ -1,6 +1,6 @@
import {
resolveProducer,
-} from "@narratage/core";
+} from "@hypit/core";
import type {
Candidate,
Satisfaction,
@@ -12,7 +12,7 @@ import type {
OperationNode,
ProducerRef,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
export type FragmentInputRef = {
readonly kind: "fragment-input";
@@ -44,7 +44,7 @@ export type FragmentExport = {
};
export type GraphFragment = {
- readonly format: "narratage.fragment@1";
+ readonly format: "hypit.fragment@1";
readonly id: string;
readonly inputs: readonly { readonly name: string; readonly type: TypeRef }[];
readonly operations: readonly FragmentOperation[];
@@ -65,7 +65,7 @@ export type ElaboratedFragmentExport = {
};
export type ElaboratedFragment = {
- readonly format: "narratage.fragment-instance@1";
+ readonly format: "hypit.fragment-instance@1";
readonly id: string;
readonly fragment: string;
readonly instance: string;
@@ -171,7 +171,7 @@ function normalizeExport(item: FragmentExport): FragmentExport {
function fragmentContent(fragment: Omit<GraphFragment, "id">): Omit<GraphFragment, "id"> {
return {
- format: "narratage.fragment@1",
+ format: "hypit.fragment@1",
inputs: [...fragment.inputs]
.map((input) => ({ name: input.name, type: input.type }))
.sort((left, right) => left.name.localeCompare(right.name)),
@@ -183,7 +183,7 @@ function fragmentContent(fragment: Omit<GraphFragment, "id">): Omit<GraphFragmen
export function sealGraphFragment(
fragment: Omit<GraphFragment, "format" | "id">,
): GraphFragment {
- const content = fragmentContent({ format: "narratage.fragment@1", ...fragment });
+ const content = fragmentContent({ format: "hypit.fragment@1", ...fragment });
const producers = content.operations.map((operation) =>
`${operation.producer.module.name}@${operation.producer.module.version}#${operation.producer.name}:${operation.id}`);
const exports = content.exports.map((item) => item.name);
@@ -213,7 +213,7 @@ function resultType(program: LinkedProgram, operation: FragmentOperation): TypeR
}
export function verifyGraphFragment(program: LinkedProgram, fragment: GraphFragment): void {
- assert(fragment.format === "narratage.fragment@1", "UNSUPPORTED_FRAGMENT", "unsupported Graph Fragment format");
+ assert(fragment.format === "hypit.fragment@1", "UNSUPPORTED_FRAGMENT", "unsupported Graph Fragment format");
assert(fragment.id.trim().length > 0, "INVALID_FRAGMENT_ID", "Graph Fragment id is empty");
assert(fragment.exports.length > 0, "EMPTY_FRAGMENT_EXPORTS", `${fragment.id} has no exports`);
@@ -368,7 +368,7 @@ export function elaborateGraphFragment(
};
});
const content = {
- format: "narratage.fragment-instance@1" as const,
+ format: "hypit.fragment-instance@1" as const,
fragment: fragment.id,
instance: request.id,
inputs,
diff --git a/packages/elaborator/src/frontend-facet.ts b/packages/elaborator/src/frontend-facet.ts
index e22db36a..79dfbae1 100644
--- a/packages/elaborator/src/frontend-facet.ts
+++ b/packages/elaborator/src/frontend-facet.ts
@@ -1,12 +1,12 @@
import {
createFrontendHostFacet,
frontendsFromHostFacets,
-} from "@narratage/host";
+} from "@hypit/host";
import type {
FrontendHostFacet,
HostFacet,
-} from "@narratage/host";
-import { sourceFrontendPackageAbi } from "@narratage/source";
+} from "@hypit/host";
+import { sourceFrontendPackageAbi } from "@hypit/source";
import type { AuthorFrontend } from "./source.js";
diff --git a/packages/elaborator/src/source.ts b/packages/elaborator/src/source.ts
index ae68f08d..b7e1bab4 100644
--- a/packages/elaborator/src/source.ts
+++ b/packages/elaborator/src/source.ts
@@ -1,5 +1,5 @@
-import { link } from "@narratage/core";
-import { canonicalStringify, isDigest } from "@narratage/protocol";
+import { link } from "@hypit/core";
+import { canonicalStringify, isDigest } from "@hypit/protocol";
import type {
CompiledGraph,
GraphValueRef,
@@ -7,11 +7,11 @@ import type {
ResolvedModuleClosure,
TypeRef,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
maskSourceHeader,
parseSourceHeader,
-} from "@narratage/source";
+} from "@hypit/source";
import type {
ResolvedSourceAsset,
SourceAssetRequest,
@@ -20,7 +20,7 @@ import type {
SourceImportRequest,
SourceResolver,
SourceUnit,
-} from "@narratage/source";
+} from "@hypit/source";
import {
elaborateAuthorGraph,
diff --git a/packages/elaborator/test/author.test.ts b/packages/elaborator/test/author.test.ts
index 08634e98..405db0da 100644
--- a/packages/elaborator/test/author.test.ts
+++ b/packages/elaborator/test/author.test.ts
@@ -7,19 +7,19 @@ import {
sealBuildRequest,
sealRecord,
start,
-} from "@narratage/core";
+} from "@hypit/core";
import {
AuthorGraphError,
elaborateAuthorGraph,
sealGraphFragment,
-} from "@narratage/elaborator";
-import type { AuthorComponent, GraphFragment } from "@narratage/elaborator";
+} from "@hypit/elaborator";
+import type { AuthorComponent, GraphFragment } from "@hypit/elaborator";
import type {
LinkedProgram,
ModuleManifest,
ProducerRef,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
const laboratory = { name: "example.laboratory", version: "1" } as const;
const sampleType = { module: laboratory, name: "Sample" } satisfies TypeRef;
@@ -30,7 +30,7 @@ const reportProducer = { module: laboratory, name: "write-report" } satisfies Pr
const echoProducer = { module: laboratory, name: "echo-sample" } satisfies ProducerRef;
const manifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: laboratory.name,
version: laboratory.version,
dependencies: [],
diff --git a/packages/elaborator/test/fragment.test.ts b/packages/elaborator/test/fragment.test.ts
index 99d92f4e..6a43b145 100644
--- a/packages/elaborator/test/fragment.test.ts
+++ b/packages/elaborator/test/fragment.test.ts
@@ -1,7 +1,7 @@
import { videoContractManifests } from "../../../test/support/video-domain.js";
-import { speechDependency, speechTypes } from "@narratage/speech";
-import { compositionTypes } from "@narratage/composition";
-import { spatialTypes } from "@narratage/spatial";
+import { speechDependency, speechTypes } from "@hypit/speech";
+import { compositionTypes } from "@hypit/composition";
+import { spatialTypes } from "@hypit/spatial";
import assert from "node:assert/strict";
import test from "node:test";
@@ -12,35 +12,35 @@ import {
sealCompiledGraph,
sealRecord,
start,
-} from "@narratage/core";
+} from "@hypit/core";
import {
bindAuthorFragment,
elaborateGraphFragment,
mergeFragmentContributions,
sealGraphFragment,
-} from "@narratage/elaborator";
+} from "@hypit/elaborator";
import type {
FragmentContribution,
GraphFragment,
-} from "@narratage/elaborator";
+} from "@hypit/elaborator";
import type {
CompiledGraph,
LinkedProgram,
ModuleManifest,
ProducerRef,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
speechBasisManifest,
speechBasisProducers,
-} from "@narratage/speech-basis";
+} from "@hypit/speech-basis";
const testModule = { name: "example.fragment-speech", version: "0.0.0" } as const;
const requestType = { module: testModule, name: "Request" } satisfies TypeRef;
const generateProducer = { module: testModule, name: "generate" } satisfies ProducerRef;
const manifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: testModule.name,
version: testModule.version,
dependencies: [speechDependency],
diff --git a/packages/endpoint-kit/README.md b/packages/endpoint-kit/README.md
index a856e7f9..4ef00c44 100644
--- a/packages/endpoint-kit/README.md
+++ b/packages/endpoint-kit/README.md
@@ -1,4 +1,4 @@
-# `@narratage/endpoint-kit`
+# `@hypit/endpoint-kit`
SDK for packages that fulfill exact external capabilities.
diff --git a/packages/endpoint-kit/package.json b/packages/endpoint-kit/package.json
index 63d83ab5..6e9c0f8c 100644
--- a/packages/endpoint-kit/package.json
+++ b/packages/endpoint-kit/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/endpoint-kit",
+ "name": "@hypit/endpoint-kit",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,7 +8,7 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*"
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*"
}
}
diff --git a/packages/endpoint-kit/src/index.ts b/packages/endpoint-kit/src/index.ts
index 763e0198..25547505 100644
--- a/packages/endpoint-kit/src/index.ts
+++ b/packages/endpoint-kit/src/index.ts
@@ -6,15 +6,15 @@ import type {
Need,
StoredValue,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type {
ArtifactStore,
CredentialRef,
CredentialValue,
OperationFailure,
OperationProgress,
-} from "@narratage/runtime";
-import { verifyCredentialRef } from "@narratage/runtime";
+} from "@hypit/runtime";
+import { verifyCredentialRef } from "@hypit/runtime";
export type Awaitable<T> = T | Promise<T>;
diff --git a/packages/endpoint-kit/test/endpoint.test.ts b/packages/endpoint-kit/test/endpoint.test.ts
index 92ce7132..6b42db7d 100644
--- a/packages/endpoint-kit/test/endpoint.test.ts
+++ b/packages/endpoint-kit/test/endpoint.test.ts
@@ -4,15 +4,15 @@ import test from "node:test";
import {
defineEndpointPackage,
wakeAfter,
-} from "@narratage/endpoint-kit";
+} from "@hypit/endpoint-kit";
import type {
EndpointRegistrar,
EndpointRegistrationOptions,
ImmediateEndpointHandler,
AsyncEndpoint,
-} from "@narratage/endpoint-kit";
-import type { CapabilityRef, TypeRef } from "@narratage/protocol";
-import { credentialRef } from "@narratage/runtime";
+} from "@hypit/endpoint-kit";
+import type { CapabilityRef, TypeRef } from "@hypit/protocol";
+import { credentialRef } from "@hypit/runtime";
import { capabilities, types } from "../../core/test/greeting-fixture.js";
diff --git a/packages/estimate/README.md b/packages/estimate/README.md
index d67e8030..76645f9c 100644
--- a/packages/estimate/README.md
+++ b/packages/estimate/README.md
@@ -1,4 +1,4 @@
-# `@narratage/estimate`
+# `@hypit/estimate`
Provider-free deterministic speech-duration planning.
diff --git a/packages/estimate/package.json b/packages/estimate/package.json
index 8dc21b34..afcac1ef 100644
--- a/packages/estimate/package.json
+++ b/packages/estimate/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/estimate",
+ "name": "@hypit/estimate",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,17 +7,17 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/text": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/text": "workspace:*",
"cmu-pronouncing-dictionary": "3.0.0"
}
}
diff --git a/packages/estimate/src/activation.ts b/packages/estimate/src/activation.ts
index f2e04017..78a4bc9c 100644
--- a/packages/estimate/src/activation.ts
+++ b/packages/estimate/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeSpeechEstimateSurface,
@@ -8,8 +8,8 @@ import {
estimateMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: estimateManifest }],
components: [estimateComponent],
hostFacets: [createMarkupSurfaceHostFacet({
@@ -19,4 +19,4 @@ export const narratagePackage = {
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/estimate/src/component.ts b/packages/estimate/src/component.ts
index 385bdd22..2e1268b2 100644
--- a/packages/estimate/src/component.ts
+++ b/packages/estimate/src/component.ts
@@ -1,7 +1,7 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
-import type { Text } from "@narratage/text";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
+import type { Text } from "@hypit/text";
import { estimateProducers } from "./manifest.js";
import { estimateSpeechDuration } from "./program.js";
diff --git a/packages/estimate/src/fragment.ts b/packages/estimate/src/fragment.ts
index 364ccd5c..c550fae8 100644
--- a/packages/estimate/src/fragment.ts
+++ b/packages/estimate/src/fragment.ts
@@ -1,6 +1,6 @@
-import { speechTypes } from "@narratage/speech";
-import { sealGraphFragment } from "@narratage/elaborator";
-import { textTypes } from "@narratage/text";
+import { speechTypes } from "@hypit/speech";
+import { sealGraphFragment } from "@hypit/elaborator";
+import { textTypes } from "@hypit/text";
import { estimateProducers, estimateTypes } from "./manifest.js";
diff --git a/packages/estimate/src/manifest.ts b/packages/estimate/src/manifest.ts
index 88cb9048..009986e4 100644
--- a/packages/estimate/src/manifest.ts
+++ b/packages/estimate/src/manifest.ts
@@ -1,9 +1,9 @@
-import { speechDependency, speechTypes } from "@narratage/speech";
-import { textDependency, textTypes } from "@narratage/text";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { svsManifest, svsRecipeType } from "@narratage/svs";
+import { speechDependency, speechTypes } from "@hypit/speech";
+import { textDependency, textTypes } from "@hypit/text";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { svsManifest, svsRecipeType } from "@hypit/svs";
-export const estimateModuleRef = { name: "@narratage/estimate", version: "1" } as const;
+export const estimateModuleRef = { name: "@hypit/estimate", version: "1" } as const;
export const estimateTypes = {
speechPolicy: { module: estimateModuleRef, name: "SpeechEstimatePolicy" },
} satisfies Record<string, TypeRef>;
@@ -34,7 +34,7 @@ export const estimateMarkupSurfaces = [{
export const estimateManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: estimateModuleRef.name,
version: estimateModuleRef.version,
dependencies: [
diff --git a/packages/estimate/src/program.ts b/packages/estimate/src/program.ts
index c1464e20..f5ce44ef 100644
--- a/packages/estimate/src/program.ts
+++ b/packages/estimate/src/program.ts
@@ -1,6 +1,6 @@
-import type { Text } from "@narratage/text";
-import { assertSpeechDurationIdentity, sealSpeechDuration } from "@narratage/speech";
-import type { SpeechDuration } from "@narratage/speech";
+import type { Text } from "@hypit/text";
+import { assertSpeechDurationIdentity, sealSpeechDuration } from "@hypit/speech";
+import type { SpeechDuration } from "@hypit/speech";
import { dictionary as cmuPronouncingDictionary } from "cmu-pronouncing-dictionary";
import type {
diff --git a/packages/estimate/src/surface.ts b/packages/estimate/src/surface.ts
index 8d6f93c0..af6a1a18 100644
--- a/packages/estimate/src/surface.ts
+++ b/packages/estimate/src/surface.ts
@@ -1,13 +1,13 @@
-import type { CanonicalValue } from "@narratage/protocol";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
-import { textTypes } from "@narratage/text";
+import type { CanonicalValue } from "@hypit/protocol";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
+import { textTypes } from "@hypit/text";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { speechEstimateFragment } from "./fragment.js";
import { estimateTypes } from "./manifest.js";
diff --git a/packages/estimate/test/estimate.test.ts b/packages/estimate/test/estimate.test.ts
index e3e46828..5ee5c18b 100644
--- a/packages/estimate/test/estimate.test.ts
+++ b/packages/estimate/test/estimate.test.ts
@@ -1,7 +1,7 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { parseStructuredElement } from "@narratage/markup";
-import { sealText, textTypes } from "@narratage/text";
+import { parseStructuredElement } from "@hypit/markup";
+import { sealText, textTypes } from "@hypit/text";
import {
countSpeechEstimateUnits,
@@ -9,7 +9,7 @@ import {
estimateSpeechDuration,
sealSpeechEstimatePolicy,
speechEstimatePolicyFromRecipe,
-} from "@narratage/estimate";
+} from "@hypit/estimate";
function estimateSurface(source: string) {
return decodeSpeechEstimateSurface({
diff --git a/packages/film/README.md b/packages/film/README.md
index fdd24d07..429bf366 100644
--- a/packages/film/README.md
+++ b/packages/film/README.md
@@ -1,4 +1,4 @@
-# `@narratage/film`
+# `@hypit/film`
Official package-owned assembly layer between peer Tracks and the generic Composition waist.
Film is an ordinary author component and an optional Target, not a Core root or a privileged video
diff --git a/packages/film/package.json b/packages/film/package.json
index 14ac2600..0bd45e30 100644
--- a/packages/film/package.json
+++ b/packages/film/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/film",
+ "name": "@hypit/film",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,26 +7,26 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/driver-node": "workspace:*",
- "@narratage/hyperframes": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/typography-track": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/hyperframes": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/typography-track": "workspace:*",
+ "@hypit/validation": "workspace:*"
}
}
diff --git a/packages/film/src/activation.ts b/packages/film/src/activation.ts
index c0873a7f..e6842587 100644
--- a/packages/film/src/activation.ts
+++ b/packages/film/src/activation.ts
@@ -1,11 +1,11 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeFilmSurface, filmComponent, filmManifest, filmModuleRef,
filmMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: filmManifest }],
components: [filmComponent],
hostFacets: [createMarkupSurfaceHostFacet({
@@ -13,4 +13,4 @@ export const narratagePackage = {
declaration: filmMarkupSurfaces.find((item) => item.name === "film")!, handler: decodeFilmSurface,
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/film/src/component.ts b/packages/film/src/component.ts
index edc9d3e5..68368e20 100644
--- a/packages/film/src/component.ts
+++ b/packages/film/src/component.ts
@@ -1,9 +1,9 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { ProgramSpace } from "@narratage/program-space";
-import type { CanvasSpace } from "@narratage/spatial";
-import type { AudioTrack, VisualTrack } from "@narratage/composition";
-import type { StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { ProgramSpace } from "@hypit/program-space";
+import type { CanvasSpace } from "@hypit/spatial";
+import type { AudioTrack, VisualTrack } from "@hypit/composition";
+import type { StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
import { filmProducers } from "./manifest.js";
import { appendFilmAudioTrack, appendFilmVisualTrack, compileFilmComposition, createFilmTrackSet } from "./program.js";
diff --git a/packages/film/src/fragment.ts b/packages/film/src/fragment.ts
index e486bc7e..ee7c1013 100644
--- a/packages/film/src/fragment.ts
+++ b/packages/film/src/fragment.ts
@@ -1,9 +1,9 @@
-import { programSpaceTypes } from "@narratage/program-space";
-import { spatialTypes } from "@narratage/spatial";
-import { compositionTypes } from "@narratage/composition";
-import type { Track } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { FragmentOperation } from "@narratage/elaborator";
+import { programSpaceTypes } from "@hypit/program-space";
+import { spatialTypes } from "@hypit/spatial";
+import { compositionTypes } from "@hypit/composition";
+import type { Track } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { FragmentOperation } from "@hypit/elaborator";
import { filmProducers, filmTypes } from "./manifest.js";
import type { FilmAssemblyFragmentOptions, FilmTrackInput } from "./types.js";
diff --git a/packages/film/src/manifest.ts b/packages/film/src/manifest.ts
index 62bc799d..4d1ba09e 100644
--- a/packages/film/src/manifest.ts
+++ b/packages/film/src/manifest.ts
@@ -1,10 +1,10 @@
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import { audioTrackSchema, compositionDependency, compositionTypes, visualTrackSchema } from "@narratage/composition";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { spatialDependency, spatialTypes } from "@narratage/spatial";
-import { svsManifest, svsModuleRef } from "@narratage/svs";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import { audioTrackSchema, compositionDependency, compositionTypes, visualTrackSchema } from "@hypit/composition";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { spatialDependency, spatialTypes } from "@hypit/spatial";
+import { svsManifest, svsModuleRef } from "@hypit/svs";
-export const filmModuleRef = { name: "@narratage/film", version: "1" } as const;
+export const filmModuleRef = { name: "@hypit/film", version: "1" } as const;
export const filmTypes = {
program: { module: filmModuleRef, name: "FilmProgram" },
trackSet: { module: filmModuleRef, name: "FilmTrackSet" },
@@ -47,7 +47,7 @@ export const filmMarkupSurfaces = [{
export const filmManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: filmModuleRef.name,
version: filmModuleRef.version,
dependencies: [
diff --git a/packages/film/src/program.ts b/packages/film/src/program.ts
index ea485ca1..6f940d6a 100644
--- a/packages/film/src/program.ts
+++ b/packages/film/src/program.ts
@@ -1,9 +1,9 @@
-import { assertProgramSpaceIdentity } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { assertCanvasSpace } from "@narratage/spatial";
-import type { CanvasSpace } from "@narratage/spatial";
-import { assertAudioTrackIdentity, assertCompositionIdentity, assertVisualTrackIdentity, sealComposition } from "@narratage/composition";
-import type { AudioTrack, Composition, Track, VisualTrack } from "@narratage/composition";
+import { assertProgramSpaceIdentity } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { assertCanvasSpace } from "@hypit/spatial";
+import type { CanvasSpace } from "@hypit/spatial";
+import { assertAudioTrackIdentity, assertCompositionIdentity, assertVisualTrackIdentity, sealComposition } from "@hypit/composition";
+import type { AudioTrack, Composition, Track, VisualTrack } from "@hypit/composition";
import type { FilmProgram, FilmTrackSet } from "./types.js";
diff --git a/packages/film/src/recipe.ts b/packages/film/src/recipe.ts
index b9a336ab..2677137ed 100644
--- a/packages/film/src/recipe.ts
+++ b/packages/film/src/recipe.ts
@@ -1,4 +1,4 @@
-import type { SvsRecipe } from "@narratage/svs";
+import type { SvsRecipe } from "@hypit/svs";
/**
* The Film Recipe owns Film appearance only. Canvas geometry and ProgramSpace
diff --git a/packages/film/src/surface.ts b/packages/film/src/surface.ts
index 2d3124ef..a08ade55 100644
--- a/packages/film/src/surface.ts
+++ b/packages/film/src/surface.ts
@@ -1,16 +1,16 @@
-import { programSpaceTypes } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { spatialTypes } from "@narratage/spatial";
-import { compositionTypes } from "@narratage/composition";
-import type { AudioTrack, Track, VisualTrack } from "@narratage/composition";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
+import { programSpaceTypes } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { spatialTypes } from "@hypit/spatial";
+import { compositionTypes } from "@hypit/composition";
+import type { AudioTrack, Track, VisualTrack } from "@hypit/composition";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { createFilmAssemblyFragment } from "./fragment.js";
import { filmTypes } from "./manifest.js";
@@ -124,7 +124,7 @@ export const decodeFilmSurface: StructuredSurfaceHandler = ({ element, resolveRe
if (new Set(tracks.map((track) => track.name)).size !== tracks.length) {
throw new Error(`${element.name} cannot include the same Track more than once`);
}
- const fragment = createFilmAssemblyFragment({ name: "@narratage/film/surface-assembly@1", tracks });
+ const fragment = createFilmAssemblyFragment({ name: "@hypit/film/surface-assembly@1", tracks });
return {
records: [{
diff --git a/packages/film/src/types.ts b/packages/film/src/types.ts
index 2512f01b..fc8e1e47 100644
--- a/packages/film/src/types.ts
+++ b/packages/film/src/types.ts
@@ -1,4 +1,4 @@
-import type { Track } from "@narratage/composition";
+import type { Track } from "@hypit/composition";
/** Package-owned authoring value. A future Film Surface may produce this record. */
export type FilmProgram = {
diff --git a/packages/film/test/film.test.ts b/packages/film/test/film.test.ts
index c948cc93..935f5622 100644
--- a/packages/film/test/film.test.ts
+++ b/packages/film/test/film.test.ts
@@ -1,10 +1,10 @@
import { compositionComponent, spatialComponent, videoContractManifests } from "../../../test/support/video-domain.js";
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
-import { programSpaceTypes, sealProgramSpace } from "@narratage/program-space";
-import { compositionTypes, sealAudioTrack, sealVisualTrack } from "@narratage/composition";
-import type { Composition, Track } from "@narratage/composition";
-import type { FontArtifactRef } from "@narratage/media";
-import { sealCanvasSpace, spatialTypes } from "@narratage/spatial";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
+import { programSpaceTypes, sealProgramSpace } from "@hypit/program-space";
+import { compositionTypes, sealAudioTrack, sealVisualTrack } from "@hypit/composition";
+import type { Composition, Track } from "@hypit/composition";
+import type { FontArtifactRef } from "@hypit/media";
+import { sealCanvasSpace, spatialTypes } from "@hypit/spatial";
import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
@@ -16,21 +16,21 @@ import {
sealCompiledGraph,
sealRecord,
start,
-} from "@narratage/core";
-import { ProducerRegistry, NodeDriver } from "@narratage/driver-node";
+} from "@hypit/core";
+import { ProducerRegistry, NodeDriver } from "@hypit/driver-node";
import {
bindAuthorFragment,
elaborateGraphFragment,
mergeFragmentContributions,
-} from "@narratage/elaborator";
-import { appendFilmAudioTrack, appendFilmVisualTrack, compileFilmComposition, createFilmAssemblyFragment, createFilmTrackSet, filmManifest, filmProducers, filmTypes, sealFilmProgram } from "@narratage/film";
-import { compileHyperframesDocument, hyperframesDocumentFragment, hyperframesManifest, hyperframesProducers, hyperframesTypes } from "@narratage/hyperframes";
-import type { CanonicalValue, CompiledGraph, StoredValue, TypedRecord } from "@narratage/protocol";
-import { svsManifest } from "@narratage/svs";
-import { textManifest } from "@narratage/text";
-import { renderTypographyTrack, sealTypographyTrackProgram, stillTextMotion, typographyTrackFragment, typographyTrackManifest, typographyTrackProducers, typographyTrackTypes } from "@narratage/typography-track";
-import type { TextStyle } from "@narratage/typography-track";
-import { admitRecord, TypeValidatorRegistry } from "@narratage/validation";
+} from "@hypit/elaborator";
+import { appendFilmAudioTrack, appendFilmVisualTrack, compileFilmComposition, createFilmAssemblyFragment, createFilmTrackSet, filmManifest, filmProducers, filmTypes, sealFilmProgram } from "@hypit/film";
+import { compileHyperframesDocument, hyperframesDocumentFragment, hyperframesManifest, hyperframesProducers, hyperframesTypes } from "@hypit/hyperframes";
+import type { CanonicalValue, CompiledGraph, StoredValue, TypedRecord } from "@hypit/protocol";
+import { svsManifest } from "@hypit/svs";
+import { textManifest } from "@hypit/text";
+import { renderTypographyTrack, sealTypographyTrackProgram, stillTextMotion, typographyTrackFragment, typographyTrackManifest, typographyTrackProducers, typographyTrackTypes } from "@hypit/typography-track";
+import type { TextStyle } from "@hypit/typography-track";
+import { admitRecord, TypeValidatorRegistry } from "@hypit/validation";
const space = sealProgramSpace({
durationSec: 4,
@@ -99,7 +99,7 @@ const textProgram = sealTypographyTrackProgram({
}],
});
const background = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "background-track",
presents: [{
id: "background",
@@ -269,7 +269,7 @@ test("the Driver folds peer Tracks, then independently compiles the Composition"
const documentRecord = result.state.records.find((record) => record.type.module.name === hyperframesTypes.document.module.name);
assert(documentRecord);
const document = inline(documentRecord) as { readonly html: string };
- assert.match(document.html, /data-narratage-text-run="title-text"/u);
+ assert.match(document.html, /data-hypit-text-run="title-text"/u);
assert.match(document.html, /background-track/u);
assert.equal(result.state.records.filter((record) => record.type.name === filmTypes.trackSet.name).length, 4);
});
diff --git a/packages/film/test/surface.test.ts b/packages/film/test/surface.test.ts
index b00dd1cc..d613257e 100644
--- a/packages/film/test/surface.test.ts
+++ b/packages/film/test/surface.test.ts
@@ -1,19 +1,19 @@
import { compositionComponent, spatialComponent, videoContractManifests } from "../../../test/support/video-domain.js";
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
-import { programSpaceDependency, programSpaceTypes, sealProgramSpace } from "@narratage/program-space";
-import { compositionDependency, compositionTypes, sealAudioTrack, sealVisualTrack } from "@narratage/composition";
-import type { Track } from "@narratage/composition";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
+import { programSpaceDependency, programSpaceTypes, sealProgramSpace } from "@hypit/program-space";
+import { compositionDependency, compositionTypes, sealAudioTrack, sealVisualTrack } from "@hypit/composition";
+import type { Track } from "@hypit/composition";
import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { createResolvedClosure, sealBuildRequest, start } from "@narratage/core";
+import { createResolvedClosure, sealBuildRequest, start } from "@hypit/core";
import {
AuthorFrontendRegistry,
compileSourceClosure,
resolveCompiledSourceExport,
-} from "@narratage/elaborator";
-import type { AuthorSourceUnit } from "@narratage/elaborator";
+} from "@hypit/elaborator";
+import type { AuthorSourceUnit } from "@hypit/elaborator";
import {
decodeFilmSurface,
filmManifest,
@@ -21,20 +21,20 @@ import {
filmModuleRef,
filmProducers,
filmTypes,
-} from "@narratage/film";
-import type { ModuleManifest } from "@narratage/protocol";
-import { svsFrontend, svsManifest } from "@narratage/svs";
+} from "@hypit/film";
+import type { ModuleManifest } from "@hypit/protocol";
+import { svsFrontend, svsManifest } from "@hypit/svs";
import {
decodeCanvasSurface,
spatialManifest,
spatialMarkupSurfaces,
spatialModuleRef,
-} from "@narratage/spatial";
+} from "@hypit/spatial";
import {
MarkupSurfaceRegistry,
createMarkupAuthorFrontend,
-} from "@narratage/markup";
-import { createRecordAdmitter, TypeValidatorRegistry } from "@narratage/validation";
+} from "@hypit/markup";
+import { createRecordAdmitter, TypeValidatorRegistry } from "@hypit/validation";
const fixtureModule = { name: "example.film-fixture", version: "1" } as const;
const fixtureSurfaceDigest = fixtureDigest("example.film-fixture/inputs-surface@1");
@@ -43,7 +43,7 @@ const fixtureSurface = {
outputs: [programSpaceTypes.programSpace, compositionTypes.visualTrack, compositionTypes.audioTrack],
} as const;
const fixtureManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: fixtureModule.name,
version: fixtureModule.version,
dependencies: [
@@ -60,7 +60,7 @@ const space = sealProgramSpace({
frameRate: { numerator: 30, denominator: 1 },
});
const visual = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "visual",
presents: [],
});
@@ -77,7 +77,7 @@ const closure = createResolvedClosure([
]);
function source(id: string, text: string): AuthorSourceUnit {
- const frontend = id.endsWith(".svs") ? "@narratage/svs@1" : "@narratage/markup@1";
+ const frontend = id.endsWith(".svs") ? "@hypit/svs@1" : "@hypit/markup@1";
return {
id,
name: id.split("/").at(-1) ?? id,
@@ -123,8 +123,8 @@ async function compileFilm(options: { readonly styles?: string } = {}) {
frontends.register(createMarkupAuthorFrontend({
registry: surfaces,
resolveModule(request) {
- if (request.from.startsWith("@narratage/film")) return filmModuleRef;
- if (request.from.startsWith("@narratage/spatial")) return spatialModuleRef;
+ if (request.from.startsWith("@hypit/film")) return filmModuleRef;
+ if (request.from.startsWith("@hypit/spatial")) return spatialModuleRef;
return fixtureModule;
},
}));
@@ -133,8 +133,8 @@ async function compileFilm(options: { readonly styles?: string } = {}) {
return await compileSourceClosure({
entry: source("/project/main.svml", `<svml>
<import as="fixture" from="example.film-fixture@1"/>
- <import as="film" from="@narratage/film@1"/>
- <import as="space" from="@narratage/spatial@1"/>
+ <import as="film" from="@hypit/film@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
<import as="studio" source="./studio.svs"/>
<fixture:Inputs/>
<space:Canvas id="vertical" width="1080" height="1920"/>
diff --git a/packages/fonts-open/README.md b/packages/fonts-open/README.md
index 45372974..306a6a72 100644
--- a/packages/fonts-open/README.md
+++ b/packages/fonts-open/README.md
@@ -1,17 +1,17 @@
-# `@narratage/fonts-open`
+# `@hypit/fonts-open`
Workspace package exposing 109 redistributable open font families as exact,
content-addressed `FontArtifactRef` values. The installed packages carry their font bytes and license
files. Author compilation and rendering never download fonts or inspect system font directories.
A developer who pulls this repository gets the catalog with the ordinary `pnpm install`; importing
-`@narratage/fonts-open@1` selects it. Nothing is installed globally and this package has not been
+`@hypit/fonts-open@1` selects it. Nothing is installed globally and this package has not been
published to npm.
## One exact face
```svml
-<import as="fonts" from="@narratage/fonts-open@1"/>
+<import as="fonts" from="@hypit/fonts-open@1"/>
<fonts:Face id="headline" family="archivo-black" weight="400" style="normal"/>
```
diff --git a/packages/fonts-open/package.json b/packages/fonts-open/package.json
index f3d9fb8f..b9f1d083 100644
--- a/packages/fonts-open/package.json
+++ b/packages/fonts-open/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/fonts-open",
+ "name": "@hypit/fonts-open",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,7 +7,7 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
@@ -120,8 +120,8 @@
"@fontsource/zcool-qingke-huangyou": "5.3.0",
"@fontsource/zcool-xiaowei": "5.3.0",
"@infolektuell/noto-color-emoji": "0.2.0",
- "@narratage/media": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/media": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/markup": "workspace:*"
}
}
diff --git a/packages/fonts-open/src/activation.ts b/packages/fonts-open/src/activation.ts
index d9d99bcb..6c0dec74 100644
--- a/packages/fonts-open/src/activation.ts
+++ b/packages/fonts-open/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeOpenFontFaceSurface,
@@ -8,8 +8,8 @@ import {
fontsOpenMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{
manifest: fontsOpenManifest,
}],
@@ -27,4 +27,4 @@ export const narratagePackage = {
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/fonts-open/src/manifest.ts b/packages/fonts-open/src/manifest.ts
index 132c8a9c..37173e81 100644
--- a/packages/fonts-open/src/manifest.ts
+++ b/packages/fonts-open/src/manifest.ts
@@ -1,7 +1,7 @@
-import { mediaDependency, mediaTypes } from "@narratage/media";
-import type { ModuleManifest } from "@narratage/protocol";
+import { mediaDependency, mediaTypes } from "@hypit/media";
+import type { ModuleManifest } from "@hypit/protocol";
-export const fontsOpenModuleRef = { name: "@narratage/fonts-open", version: "1" } as const;
+export const fontsOpenModuleRef = { name: "@hypit/fonts-open", version: "1" } as const;
export const fontsOpenMarkupSurfaces = [{
name: "face",
@@ -17,7 +17,7 @@ export const fontsOpenMarkupSurfaces = [{
export const fontsOpenManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: fontsOpenModuleRef.name,
version: fontsOpenModuleRef.version,
dependencies: [mediaDependency],
diff --git a/packages/fonts-open/src/surface.ts b/packages/fonts-open/src/surface.ts
index 25c17480..253f0ee0 100644
--- a/packages/fonts-open/src/surface.ts
+++ b/packages/fonts-open/src/surface.ts
@@ -6,9 +6,9 @@ import {
assertFontArtifactRef,
assertFontStackRef,
mediaTypes,
-} from "@narratage/media";
-import type { FontArtifactRef, FontStackRef } from "@narratage/media";
-import type { StructuredElement, StructuredSurfaceHandler } from "@narratage/markup";
+} from "@hypit/media";
+import type { FontArtifactRef, FontStackRef } from "@hypit/media";
+import type { StructuredElement, StructuredSurfaceHandler } from "@hypit/markup";
import {
openFontFamilies,
@@ -114,7 +114,7 @@ async function materializeFace(
const bytes = Uint8Array.from(await readFile(file.path));
const basename = file.path.split("/").at(-1)!;
const resolved = await resolveAsset({
- from: `package:@narratage/fonts-open/${request.familyName}/${basename}`,
+ from: `package:@hypit/fonts-open/${request.familyName}/${basename}`,
mediaType: "font/woff2",
bytes,
range: element.range,
diff --git a/packages/fonts-open/test/fonts-open.test.ts b/packages/fonts-open/test/fonts-open.test.ts
index 0e115be6..593d71ad 100644
--- a/packages/fonts-open/test/fonts-open.test.ts
+++ b/packages/fonts-open/test/fonts-open.test.ts
@@ -10,9 +10,9 @@ import {
openFontFamilies,
openFontFamiliesByCategory,
openFontFamilyNames,
-} from "@narratage/fonts-open";
-import type { FontArtifactRef, FontStackRef } from "@narratage/media";
-import type { StructuredElement, StructuredSurfaceHandler } from "@narratage/markup";
+} from "@hypit/fonts-open";
+import type { FontArtifactRef, FontStackRef } from "@hypit/media";
+import type { StructuredElement, StructuredSurfaceHandler } from "@hypit/markup";
const require = createRequire(import.meta.url);
const range = { start: 0, end: 80 };
diff --git a/packages/gemini-omni/README.md b/packages/gemini-omni/README.md
index eeaa85fa..9dacb899 100644
--- a/packages/gemini-omni/README.md
+++ b/packages/gemini-omni/README.md
@@ -1,4 +1,4 @@
-# `@narratage/gemini-omni`
+# `@hypit/gemini-omni`
Exact author/compute contract and package-owned author Surface for Gemini Omni video generation.
@@ -6,7 +6,7 @@ It defines one `video` endpoint with duration, aspect ratio, resolution and boun
audio, video-range and character references. It validates and seals requests, then projects the
primary result to an ordinary video Artifact.
-The package does not call an API. `@narratage/provider-kie` is one separately selected Runtime Endpoint
+The package does not call an API. `@hypit/provider-kie` is one separately selected Runtime Endpoint
implementation; another Provider can implement the same exact capability without changing Core.
```xml
diff --git a/packages/gemini-omni/package.json b/packages/gemini-omni/package.json
index 946c7263..edbea97e 100644
--- a/packages/gemini-omni/package.json
+++ b/packages/gemini-omni/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/gemini-omni",
+ "name": "@hypit/gemini-omni",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,15 +7,15 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/model-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/text": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/model-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/text": "workspace:*"
}
}
diff --git a/packages/gemini-omni/src/activation.ts b/packages/gemini-omni/src/activation.ts
index c7389ecd..6a98576e 100644
--- a/packages/gemini-omni/src/activation.ts
+++ b/packages/gemini-omni/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
geminiOmniComponent,
geminiOmniManifest,
@@ -7,8 +7,8 @@ import {
} from "./index.js";
import { decodeGeminiOmniVideoSurface } from "./surface.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: geminiOmniManifest }],
components: [geminiOmniComponent],
hostFacets: [createMarkupSurfaceHostFacet({
@@ -17,4 +17,4 @@ export const narratagePackage = {
handler: decodeGeminiOmniVideoSurface,
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/gemini-omni/src/index.ts b/packages/gemini-omni/src/index.ts
index 2f8626be..2c879283 100644
--- a/packages/gemini-omni/src/index.ts
+++ b/packages/gemini-omni/src/index.ts
@@ -1,8 +1,8 @@
-import { sealGenerationPortRequest, sealGenerationPortTable } from "@narratage/generation";
-import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@narratage/generation";
-import { defineExactModelModule } from "@narratage/model-kit";
+import { sealGenerationPortRequest, sealGenerationPortTable } from "@hypit/generation";
+import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@hypit/generation";
+import { defineExactModelModule } from "@hypit/model-kit";
-export const geminiOmniModuleRef = { name: "@narratage/gemini-omni", version: "1" } as const;
+export const geminiOmniModuleRef = { name: "@hypit/gemini-omni", version: "1" } as const;
export const geminiOmniVideoPorts: GenerationPortTable = sealGenerationPortTable({
model: "gemini-omni-video",
diff --git a/packages/gemini-omni/src/surface.ts b/packages/gemini-omni/src/surface.ts
index 47a8a8f1..c3717237 100644
--- a/packages/gemini-omni/src/surface.ts
+++ b/packages/gemini-omni/src/surface.ts
@@ -1,20 +1,20 @@
-import { artifactTypes } from "@narratage/artifact";
-import { generationPort, sealGenerationMediaBinding, sealGenerationRequestDraft } from "@narratage/generation";
-import type { GenerationMediaPort, GenerationPortValue } from "@narratage/generation";
+import { artifactTypes } from "@hypit/artifact";
+import { generationPort, sealGenerationMediaBinding, sealGenerationRequestDraft } from "@hypit/generation";
+import type { GenerationMediaPort, GenerationPortValue } from "@hypit/generation";
import {
createExactModelPrimaryGenerationFragment,
exactModelMediaInputNames,
exactModelTextInputName,
-} from "@narratage/model-kit";
-import type { ExactModelMediaInput } from "@narratage/model-kit";
+} from "@hypit/model-kit";
+import type { ExactModelMediaInput } from "@hypit/model-kit";
import type {
MarkupAttributeValue,
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
-} from "@narratage/markup";
-import type { CanonicalValue, TypeRef } from "@narratage/protocol";
-import { textTypes, verifyText } from "@narratage/text";
+} from "@hypit/markup";
+import type { CanonicalValue, TypeRef } from "@hypit/protocol";
+import { textTypes, verifyText } from "@hypit/text";
import { geminiOmniEndpoints } from "./index.js";
diff --git a/packages/generation/README.md b/packages/generation/README.md
index 3b5abc03..be0f2242 100644
--- a/packages/generation/README.md
+++ b/packages/generation/README.md
@@ -1,4 +1,4 @@
-# `@narratage/generation`
+# `@hypit/generation`
Provider-neutral generated-media contracts shared by exact image, video and audio model packages.
@@ -7,5 +7,5 @@ schemas, validators and graph facets. Generated sets are atomic Products: a Prov
returned bytes in an ArtifactStore and returns typed Blob references rather than transient URLs.
This package does not choose a model, Provider, credential, queue or retry policy. Model packages
-declare exact request Capabilities; Endpoint packages such as `@narratage/provider-kie` implement those
+declare exact request Capabilities; Endpoint packages such as `@hypit/provider-kie` implement those
Capabilities in a selected Runtime Profile.
diff --git a/packages/generation/package.json b/packages/generation/package.json
index d4c426f9..60317864 100644
--- a/packages/generation/package.json
+++ b/packages/generation/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/generation",
+ "name": "@hypit/generation",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,17 +7,17 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/text": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/text": "workspace:*"
},
"devDependencies": {
- "@narratage/driver-node": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/validation": "workspace:*"
}
}
diff --git a/packages/generation/src/activation.ts b/packages/generation/src/activation.ts
index ac25ebfe..85185e9a 100644
--- a/packages/generation/src/activation.ts
+++ b/packages/generation/src/activation.ts
@@ -1,9 +1,9 @@
import { generationComponent, generationManifest } from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: generationManifest }],
components: [generationComponent],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/generation/src/component.ts b/packages/generation/src/component.ts
index cbee2bdd..8b13aca9 100644
--- a/packages/generation/src/component.ts
+++ b/packages/generation/src/component.ts
@@ -1,4 +1,4 @@
-import type { ComponentPackage } from "@narratage/component-kit";
+import type { ComponentPackage } from "@hypit/component-kit";
import {
verifyGeneratedAudioSet,
@@ -15,12 +15,12 @@ function inline(value: { readonly kind: string; readonly value?: unknown }, subj
function primary(
value: { readonly kind: string; readonly value?: unknown },
kind: "audio" | "image" | "video",
-): import("@narratage/protocol").BlobRef {
+): import("@hypit/protocol").BlobRef {
const label = kind === "audio" ? "Audio" : kind === "image" ? "Image" : "Video";
const content = inline(value, `Generated${label}Set`) as {
- readonly images?: readonly import("@narratage/protocol").BlobRef[];
- readonly videos?: readonly import("@narratage/protocol").BlobRef[];
- readonly audios?: readonly import("@narratage/protocol").BlobRef[];
+ readonly images?: readonly import("@hypit/protocol").BlobRef[];
+ readonly videos?: readonly import("@hypit/protocol").BlobRef[];
+ readonly audios?: readonly import("@hypit/protocol").BlobRef[];
};
const selected = kind === "audio"
? content.audios?.[0]
diff --git a/packages/generation/src/identity.ts b/packages/generation/src/identity.ts
index b99de015..420c41aa 100644
--- a/packages/generation/src/identity.ts
+++ b/packages/generation/src/identity.ts
@@ -1,8 +1,8 @@
import {
canonicalize,
isDigest,
-} from "@narratage/protocol";
-import type { BlobRef } from "@narratage/protocol";
+} from "@hypit/protocol";
+import type { BlobRef } from "@hypit/protocol";
import type {
GeneratedAudioSet,
diff --git a/packages/generation/src/manifest.ts b/packages/generation/src/manifest.ts
index c628fd18..d56868f8 100644
--- a/packages/generation/src/manifest.ts
+++ b/packages/generation/src/manifest.ts
@@ -1,12 +1,12 @@
import {
artifactDependency,
artifactTypes,
-} from "@narratage/artifact";
-import type { ModuleManifest, ProducerRef, TypeRef } from "@narratage/protocol";
+} from "@hypit/artifact";
+import type { ModuleManifest, ProducerRef, TypeRef } from "@hypit/protocol";
import { generatedAudioSetSchema, generatedImageSetSchema, generatedVideoSetSchema } from "./schema.js";
-export const generationModuleRef = { name: "@narratage/generation", version: "1" } as const;
+export const generationModuleRef = { name: "@hypit/generation", version: "1" } as const;
export const generationTypes = {
audioSet: { module: generationModuleRef, name: "GeneratedAudioSet" },
imageSet: { module: generationModuleRef, name: "GeneratedImageSet" },
@@ -20,7 +20,7 @@ export const generationProducers = {
} satisfies Record<string, ProducerRef>;
export const generationManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: generationModuleRef.name,
version: generationModuleRef.version,
dependencies: [artifactDependency],
diff --git a/packages/generation/src/mapping.ts b/packages/generation/src/mapping.ts
index fae7211c..77f107f0 100644
--- a/packages/generation/src/mapping.ts
+++ b/packages/generation/src/mapping.ts
@@ -1,5 +1,5 @@
-import { canonicalize } from "@narratage/protocol";
-import type { BlobRef, CanonicalValue, CapabilityRef } from "@narratage/protocol";
+import { canonicalize } from "@hypit/protocol";
+import type { BlobRef, CanonicalValue, CapabilityRef } from "@hypit/protocol";
import { isMediaPort } from "./ports.js";
import type { GenerationMediaRole, GenerationMediaValue, GenerationPortTable } from "./ports.js";
diff --git a/packages/generation/src/ports.ts b/packages/generation/src/ports.ts
index 5703f6ae..65301799 100644
--- a/packages/generation/src/ports.ts
+++ b/packages/generation/src/ports.ts
@@ -1,4 +1,4 @@
-import type { BlobRef } from "@narratage/protocol";
+import type { BlobRef } from "@hypit/protocol";
/**
* The closed vocabulary describing what one exact generation model accepts.
diff --git a/packages/generation/src/request.ts b/packages/generation/src/request.ts
index a6dc98b1..bb878fd0 100644
--- a/packages/generation/src/request.ts
+++ b/packages/generation/src/request.ts
@@ -1,7 +1,7 @@
-import { canonicalize } from "@narratage/protocol";
-import type { BlobRef, ObjectFieldSchema, ValueSchema } from "@narratage/protocol";
-import { verifyText } from "@narratage/text";
-import type { Text } from "@narratage/text";
+import { canonicalize } from "@hypit/protocol";
+import type { BlobRef, ObjectFieldSchema, ValueSchema } from "@hypit/protocol";
+import { verifyText } from "@hypit/text";
+import type { Text } from "@hypit/text";
import { assertGenerationBlobRef, sealGenerationRequest } from "./identity.js";
import { generationBlobRefSchema, generationObjectSchema } from "./schema.js";
diff --git a/packages/generation/src/schema.ts b/packages/generation/src/schema.ts
index 47cd4342..854fb95d 100644
--- a/packages/generation/src/schema.ts
+++ b/packages/generation/src/schema.ts
@@ -1,4 +1,4 @@
-import type { ObjectFieldSchema, ValueSchema } from "@narratage/protocol";
+import type { ObjectFieldSchema, ValueSchema } from "@hypit/protocol";
export const generationDigestSchema = {
kind: "string",
diff --git a/packages/generation/src/types.ts b/packages/generation/src/types.ts
index 5cee82bc..7bcdbc04 100644
--- a/packages/generation/src/types.ts
+++ b/packages/generation/src/types.ts
@@ -1,4 +1,4 @@
-import type { BlobRef } from "@narratage/protocol";
+import type { BlobRef } from "@hypit/protocol";
export type GeneratedImageSet = {
readonly images: readonly BlobRef[];
diff --git a/packages/generation/test/identity.test.ts b/packages/generation/test/identity.test.ts
index d92ca3e1..da10deeb 100644
--- a/packages/generation/test/identity.test.ts
+++ b/packages/generation/test/identity.test.ts
@@ -1,8 +1,8 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
-import { MemoryArtifactStore } from "@narratage/driver-node";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
+import { MemoryArtifactStore } from "@hypit/driver-node";
import {
generationComponent,
generationProducers,
@@ -12,8 +12,8 @@ import {
sealGeneratedVideoSet,
verifyGeneratedImageSet,
verifyGeneratedAudioSet,
-} from "@narratage/generation";
-import { TypeValidatorRegistry } from "@narratage/validation";
+} from "@hypit/generation";
+import { TypeValidatorRegistry } from "@hypit/validation";
test("generated media validators bind artifacts and result contents", async () => {
const store = new MemoryArtifactStore();
diff --git a/packages/generation/test/ports.test.ts b/packages/generation/test/ports.test.ts
index a58d6676..b51f155f 100644
--- a/packages/generation/test/ports.test.ts
+++ b/packages/generation/test/ports.test.ts
@@ -1,7 +1,7 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { MemoryArtifactStore } from "@narratage/driver-node";
+import { MemoryArtifactStore } from "@hypit/driver-node";
import {
assertMappingCoversPorts,
bindGenerationMedia,
@@ -14,8 +14,8 @@ import {
sealGenerationPortTable,
selectWireModel,
verifyRequestAgainstPorts,
-} from "@narratage/generation";
-import type { GenerationPortTable, GenerationWireMapping } from "@narratage/generation";
+} from "@hypit/generation";
+import type { GenerationPortTable, GenerationWireMapping } from "@hypit/generation";
const table: GenerationPortTable = sealGenerationPortTable({
model: "demo-video",
@@ -52,7 +52,7 @@ const table: GenerationPortTable = sealGenerationPortTable({
});
const mapping: GenerationWireMapping = {
- capability: { module: { name: "@narratage/demo", version: "0.0.0-dev" }, name: "demo-video" },
+ capability: { module: { name: "@hypit/demo", version: "0.0.0-dev" }, name: "demo-video" },
result: "video",
routes: [
{ model: "demo/image-to-video", whenPresent: ["firstFrame"] },
diff --git a/packages/gpt-image/README.md b/packages/gpt-image/README.md
index f2da66a9..d64fe94e 100644
--- a/packages/gpt-image/README.md
+++ b/packages/gpt-image/README.md
@@ -1,25 +1,25 @@
-# `@narratage/gpt-image`
+# `@hypit/gpt-image`
Exact model/compute contracts for GPT Image 2 requests.
One closed Port Table accepts the supported scalar settings and optional reference images. Runtime-
produced references remain explicit Blob edges: the model-owned Draft is bound one edge at a time,
then finalized into the only `GenerationRequest` a Provider can receive. The package owns model
-semantics but no API key, Provider selection, queue or network code. `@narratage/provider-kie` is
+semantics but no API key, Provider selection, queue or network code. `@hypit/provider-kie` is
one optional Runtime implementation.
The one physical package exposes two independently importable logical modules:
-- `@narratage/gpt-image@1`: the raw exact model;
-- `@narratage/gpt-image/clean@1`: generation followed by the existing explicit image-transform
+- `@hypit/gpt-image@1`: the raw exact model;
+- `@hypit/gpt-image/clean@1`: generation followed by the existing explicit image-transform
Program, exporting one cleaned image while retaining both operations in the graph.
Both modules own an `Image` Markup Surface. They use the same author shape, so choosing the clean
module changes the visible graph expansion rather than the document structure:
```svml
-<import as="text" from="@narratage/text@1"/>
-<import as="gpt" from="@narratage/gpt-image/clean@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="gpt" from="@hypit/gpt-image/clean@1"/>
<text:Value id="prompt">
A woman holding the product, editorial photography.
diff --git a/packages/gpt-image/package.json b/packages/gpt-image/package.json
index 433353b6..241a5eed 100644
--- a/packages/gpt-image/package.json
+++ b/packages/gpt-image/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/gpt-image",
+ "name": "@hypit/gpt-image",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,28 +7,28 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/image-transform": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/model-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/text": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/image-transform": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/model-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/text": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/raster": "workspace:*",
- "@narratage/run": "workspace:*",
- "@narratage/seedance": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/speech": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/raster": "workspace:*",
+ "@hypit/run": "workspace:*",
+ "@hypit/seedance": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/speech": "workspace:*"
}
}
diff --git a/packages/gpt-image/src/activation.ts b/packages/gpt-image/src/activation.ts
index aa9d0ede..d3fce7d7 100644
--- a/packages/gpt-image/src/activation.ts
+++ b/packages/gpt-image/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
gptImageCleanManifest,
@@ -13,8 +13,8 @@ import {
decodeCleanGptImageSurface,
decodeGptImageSurface,
} from "./surface.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{
manifest: gptImageManifest,
}, {
@@ -34,4 +34,4 @@ export const narratagePackage = {
}),
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/gpt-image/src/fragment.ts b/packages/gpt-image/src/fragment.ts
index ba81ad46..d92c1ff4 100644
--- a/packages/gpt-image/src/fragment.ts
+++ b/packages/gpt-image/src/fragment.ts
@@ -1,11 +1,11 @@
-import { artifactTypes } from "@narratage/artifact";
-import { sealGraphFragment } from "@narratage/elaborator";
-import { generationProducers } from "@narratage/generation";
-import { imageTransformProducers, imageTransformTypes } from "@narratage/image-transform";
-import { exactModelMediaInputNames, exactModelTextInputName } from "@narratage/model-kit";
-import type { ExactModelMediaInput, ExactModelTextInput } from "@narratage/model-kit";
-import type { FragmentOperation } from "@narratage/elaborator";
-import { textTypes } from "@narratage/text";
+import { artifactTypes } from "@hypit/artifact";
+import { sealGraphFragment } from "@hypit/elaborator";
+import { generationProducers } from "@hypit/generation";
+import { imageTransformProducers, imageTransformTypes } from "@hypit/image-transform";
+import { exactModelMediaInputNames, exactModelTextInputName } from "@hypit/model-kit";
+import type { ExactModelMediaInput, ExactModelTextInput } from "@hypit/model-kit";
+import type { FragmentOperation } from "@hypit/elaborator";
+import { textTypes } from "@hypit/text";
import { gptImageEndpoints } from "./index.js";
diff --git a/packages/gpt-image/src/index.ts b/packages/gpt-image/src/index.ts
index 41fe0274..285e4867 100644
--- a/packages/gpt-image/src/index.ts
+++ b/packages/gpt-image/src/index.ts
@@ -2,12 +2,12 @@ import {
sealGenerationPortRequest,
sealGenerationRequestDraft,
sealGenerationPortTable,
-} from "@narratage/generation";
-import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@narratage/generation";
-import { defineExactModelModule } from "@narratage/model-kit";
-import { imageTransformModuleRef, imageTransformTypes } from "@narratage/image-transform";
+} from "@hypit/generation";
+import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@hypit/generation";
+import { defineExactModelModule } from "@hypit/model-kit";
+import { imageTransformModuleRef, imageTransformTypes } from "@hypit/image-transform";
-export const gptImageModuleRef = { name: "@narratage/gpt-image", version: "1" } as const;
+export const gptImageModuleRef = { name: "@hypit/gpt-image", version: "1" } as const;
export const gptImage2Ports: GenerationPortTable = sealGenerationPortTable({
model: "gpt-image-2",
@@ -73,7 +73,7 @@ export const gptImageDefinition = {
};
/** Optional authoring submodule; the exact GPT model remains independent of post-processing. */
-export const gptImageCleanModuleRef = { name: "@narratage/gpt-image/clean", version: "1" } as const;
+export const gptImageCleanModuleRef = { name: "@hypit/gpt-image/clean", version: "1" } as const;
export const gptImageCleanMarkupSurfaces = [{
name: "image",
@@ -87,7 +87,7 @@ export const gptImageCleanMarkupSurfaces = [{
}] as const;
export const gptImageCleanManifest = {
- format: "narratage.module@1" as const,
+ format: "hypit.module@1" as const,
name: gptImageCleanModuleRef.name,
version: gptImageCleanModuleRef.version,
dependencies: [
diff --git a/packages/gpt-image/src/surface.ts b/packages/gpt-image/src/surface.ts
index b50a5191..4c3ae50e 100644
--- a/packages/gpt-image/src/surface.ts
+++ b/packages/gpt-image/src/surface.ts
@@ -1,26 +1,26 @@
-import { artifactTypes } from "@narratage/artifact";
+import { artifactTypes } from "@hypit/artifact";
import {
generationPort,
sealGenerationMediaBinding,
-} from "@narratage/generation";
-import type { GenerationMediaPort } from "@narratage/generation";
+} from "@hypit/generation";
+import type { GenerationMediaPort } from "@hypit/generation";
import {
gptImageDenoiseV1,
imageTransformTypes,
-} from "@narratage/image-transform";
+} from "@hypit/image-transform";
import {
exactModelMediaInputNames,
exactModelTextInputName,
createExactModelPrimaryGenerationFragment,
-} from "@narratage/model-kit";
+} from "@hypit/model-kit";
import type {
MarkupAttributeValue,
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
-} from "@narratage/markup";
-import type { CanonicalValue, TypeRef } from "@narratage/protocol";
-import { textTypes, verifyText } from "@narratage/text";
+} from "@hypit/markup";
+import type { CanonicalValue, TypeRef } from "@hypit/protocol";
+import { textTypes, verifyText } from "@hypit/text";
import { createGptImageCleanFragment } from "./fragment.js";
import {
diff --git a/packages/gpt-image/test/broll-graph.test.ts b/packages/gpt-image/test/broll-graph.test.ts
index 2de7ecec..f39dcee3 100644
--- a/packages/gpt-image/test/broll-graph.test.ts
+++ b/packages/gpt-image/test/broll-graph.test.ts
@@ -2,7 +2,7 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { artifactManifest, artifactTypes } from "@narratage/artifact";
+import { artifactManifest, artifactTypes } from "@hypit/artifact";
import {
createResolvedClosure,
link,
@@ -10,13 +10,13 @@ import {
sealCompiledGraph,
sealRecord,
start,
-} from "@narratage/core";
-import { elaborateAuthorGraph } from "@narratage/elaborator";
+} from "@hypit/core";
+import { elaborateAuthorGraph } from "@hypit/elaborator";
import {
generationManifest,
sealGenerationMediaBinding,
sealGenerationRequestDraft,
-} from "@narratage/generation";
+} from "@hypit/generation";
import {
createGptImageCleanFragment,
gptImage2Ports,
@@ -24,24 +24,24 @@ import {
gptImageEndpoints,
gptImageManifest,
sealGptImage2Draft,
-} from "@narratage/gpt-image";
-import { gptImageDenoiseV1, imageTransformManifest, imageTransformTypes } from "@narratage/image-transform";
-import { exactModelMediaInputNames } from "@narratage/model-kit";
-import { mediaManifest } from "@narratage/media";
-import { narrativeManifest } from "@narratage/narrative";
-import { programSpaceManifest } from "@narratage/program-space";
-import type { CanonicalValue, Digest, ModuleManifest, StoredValue, TypeRef } from "@narratage/protocol";
-import { rasterManifest } from "@narratage/raster";
-import { createProvidedCandidate } from "@narratage/run";
+} from "@hypit/gpt-image";
+import { gptImageDenoiseV1, imageTransformManifest, imageTransformTypes } from "@hypit/image-transform";
+import { exactModelMediaInputNames } from "@hypit/model-kit";
+import { mediaManifest } from "@hypit/media";
+import { narrativeManifest } from "@hypit/narrative";
+import { programSpaceManifest } from "@hypit/program-space";
+import type { CanonicalValue, Digest, ModuleManifest, StoredValue, TypeRef } from "@hypit/protocol";
+import { rasterManifest } from "@hypit/raster";
+import { createProvidedCandidate } from "@hypit/run";
import {
createSeedanceAssembledGenerationFragment,
seedanceEndpoints,
seedanceManifest,
seedancePorts,
-} from "@narratage/seedance";
-import { speechManifest } from "@narratage/speech";
-import { spatialManifest } from "@narratage/spatial";
-import { textManifest } from "@narratage/text";
+} from "@hypit/seedance";
+import { speechManifest } from "@hypit/speech";
+import { spatialManifest } from "@hypit/spatial";
+import { textManifest } from "@hypit/text";
const image = (name: string) => ({
kind: "blob" as const,
diff --git a/packages/gpt-image/test/surface.test.ts b/packages/gpt-image/test/surface.test.ts
index f83a555f..f60cc1cf 100644
--- a/packages/gpt-image/test/surface.test.ts
+++ b/packages/gpt-image/test/surface.test.ts
@@ -1,10 +1,10 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { artifactTypes } from "@narratage/artifact";
-import { parseStructuredElement } from "@narratage/markup";
-import type { StructuredSurfaceHandler, SurfaceResolvedReference } from "@narratage/markup";
-import { textTypes } from "@narratage/text";
+import { artifactTypes } from "@hypit/artifact";
+import { parseStructuredElement } from "@hypit/markup";
+import type { StructuredSurfaceHandler, SurfaceResolvedReference } from "@hypit/markup";
+import { textTypes } from "@hypit/text";
import gptImageNodePackage from "../src/activation.js";
import {
@@ -87,11 +87,11 @@ test("clean GPT Image Surface adds the official denoise as one visible downstrea
test("the physical package carries both independently importable Surface implementations", () => {
assert.deepEqual([
- { name: "@narratage/gpt-image", surfaces: gptImageMarkupSurfaces.map((surface) => surface.tag) },
- { name: "@narratage/gpt-image/clean", surfaces: gptImageCleanMarkupSurfaces.map((surface) => surface.tag) },
+ { name: "@hypit/gpt-image", surfaces: gptImageMarkupSurfaces.map((surface) => surface.tag) },
+ { name: "@hypit/gpt-image/clean", surfaces: gptImageCleanMarkupSurfaces.map((surface) => surface.tag) },
], [
- { name: "@narratage/gpt-image", surfaces: ["Image"] },
- { name: "@narratage/gpt-image/clean", surfaces: ["Image"] },
+ { name: "@hypit/gpt-image", surfaces: ["Image"] },
+ { name: "@hypit/gpt-image/clean", surfaces: ["Image"] },
]);
assert.equal(gptImageNodePackage.hostFacets.length, 2);
});
diff --git a/packages/grok-imagine/README.md b/packages/grok-imagine/README.md
index 8ecf316b..f1b7b302 100644
--- a/packages/grok-imagine/README.md
+++ b/packages/grok-imagine/README.md
@@ -1,10 +1,10 @@
-# `@narratage/grok-imagine`
+# `@hypit/grok-imagine`
Exact author/compute contracts and package-owned author Surfaces for Grok Imagine video generation.
It exposes the standard and 1.5-preview models as distinct Surfaces. Each request is nominally typed and
validated before yielding an ordinary video Artifact. The package declares the model
-choice; it does not route to another model or access a Provider. `@narratage/provider-kie` is one
+choice; it does not route to another model or access a Provider. `@hypit/provider-kie` is one
optional Runtime implementation.
```xml
diff --git a/packages/grok-imagine/package.json b/packages/grok-imagine/package.json
index 645c2dcf..91c1803f 100644
--- a/packages/grok-imagine/package.json
+++ b/packages/grok-imagine/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/grok-imagine",
+ "name": "@hypit/grok-imagine",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,15 +7,15 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/model-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/text": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/model-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/text": "workspace:*"
}
}
diff --git a/packages/grok-imagine/src/activation.ts b/packages/grok-imagine/src/activation.ts
index 3e2219a6..d6e1460a 100644
--- a/packages/grok-imagine/src/activation.ts
+++ b/packages/grok-imagine/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
grokImagineComponent,
grokImagineManifest,
@@ -7,8 +7,8 @@ import {
} from "./index.js";
import { decodeGrokImaginePreviewVideoSurface, decodeGrokImagineVideoSurface } from "./surface.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: grokImagineManifest }],
components: [grokImagineComponent],
hostFacets: [
@@ -24,4 +24,4 @@ export const narratagePackage = {
}),
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/grok-imagine/src/index.ts b/packages/grok-imagine/src/index.ts
index 82814563..344ffe80 100644
--- a/packages/grok-imagine/src/index.ts
+++ b/packages/grok-imagine/src/index.ts
@@ -1,8 +1,8 @@
-import { sealGenerationPortRequest, sealGenerationPortTable } from "@narratage/generation";
-import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@narratage/generation";
-import { defineExactModelModule } from "@narratage/model-kit";
+import { sealGenerationPortRequest, sealGenerationPortTable } from "@hypit/generation";
+import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@hypit/generation";
+import { defineExactModelModule } from "@hypit/model-kit";
-export const grokImagineModuleRef = { name: "@narratage/grok-imagine", version: "1" } as const;
+export const grokImagineModuleRef = { name: "@hypit/grok-imagine", version: "1" } as const;
export const grokImagineModels = ["grok-imagine-video", "grok-imagine-video-1.5-preview"] as const;
export type GrokImagineModel = typeof grokImagineModels[number];
diff --git a/packages/grok-imagine/src/surface.ts b/packages/grok-imagine/src/surface.ts
index d9eff8cd..b7e5d29f 100644
--- a/packages/grok-imagine/src/surface.ts
+++ b/packages/grok-imagine/src/surface.ts
@@ -1,20 +1,20 @@
-import { artifactTypes } from "@narratage/artifact";
-import { generationPort, sealGenerationMediaBinding, sealGenerationRequestDraft } from "@narratage/generation";
-import type { GenerationMediaPort, GenerationPortValue } from "@narratage/generation";
+import { artifactTypes } from "@hypit/artifact";
+import { generationPort, sealGenerationMediaBinding, sealGenerationRequestDraft } from "@hypit/generation";
+import type { GenerationMediaPort, GenerationPortValue } from "@hypit/generation";
import {
createExactModelPrimaryGenerationFragment,
exactModelMediaInputNames,
exactModelTextInputName,
-} from "@narratage/model-kit";
-import type { ExactModelEndpoint } from "@narratage/model-kit";
+} from "@hypit/model-kit";
+import type { ExactModelEndpoint } from "@hypit/model-kit";
import type {
MarkupAttributeValue,
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
-} from "@narratage/markup";
-import type { CanonicalValue, TypeRef } from "@narratage/protocol";
-import { textTypes, verifyText } from "@narratage/text";
+} from "@hypit/markup";
+import type { CanonicalValue, TypeRef } from "@hypit/protocol";
+import { textTypes, verifyText } from "@hypit/text";
import { grokImagineEndpoints } from "./index.js";
diff --git a/packages/host/README.md b/packages/host/README.md
index 92e9d525..b1f84be8 100644
--- a/packages/host/README.md
+++ b/packages/host/README.md
@@ -1,5 +1,5 @@
-# `@narratage/host`
+# `@hypit/host`
The minimal opaque `HostFacet` envelope: an ABI, logical offers, locked identity and inert
implementation. Package loading can carry it without learning what it does; only the exact Host ABI
-may interpret it. Source and asset sessions live separately in `@narratage/workspace`.
+may interpret it. Source and asset sessions live separately in `@hypit/workspace`.
diff --git a/packages/host/package.json b/packages/host/package.json
index a46660f6..48f6b76b 100644
--- a/packages/host/package.json
+++ b/packages/host/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/host",
+ "name": "@hypit/host",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
diff --git a/packages/hyperframes/README.md b/packages/hyperframes/README.md
index dc57c26e..4c6418a8 100644
--- a/packages/hyperframes/README.md
+++ b/packages/hyperframes/README.md
@@ -1,11 +1,11 @@
-# @narratage/hyperframes
+# @hypit/hyperframes
Deterministic reference lowering from the generic `Composition` contract to a portable
`HyperframesDocument`.
-This package implements the one closed `narratage.visual-ir@1` target declared by every
-VisualTrack. The vocabulary is owned by `@narratage/visual-ir`; Track and Composition values are
-owned by `@narratage/composition`. Neither is an author component
+This package implements the one closed `hypit.visual-ir@1` target declared by every
+VisualTrack. The vocabulary is owned by `@hypit/visual-ir`; Track and Composition values are
+owned by `@hypit/composition`. Neither is an author component
and not arbitrary CSS. Unknown properties and alternate browser semantics fail before document
compilation; visuals outside the structural vocabulary enter as typed `CompositableSurface` values.
@@ -18,7 +18,7 @@ It deliberately ignores `AudioTrack`. HyperFrames produces a silent visual fact;
compiles and renders program audio separately, then an explicit mux Provider joins the two. Changing
audio can therefore never be implemented by secretly changing HyperFrames HTML or its renderer.
-Media remains content addressed in the compiled HTML as `narratage-artifact://` placeholders. The
+Media remains content addressed in the compiled HTML as `hypit-artifact://` placeholders. The
document separately carries each dependency's complete `BlobRef` (digest, byte count and MIME), so
a Provider can verify and name staged bytes without guessing from the hash. A local or hosted
render Runtime calls `materializeHyperframesHtml()` with its own Artifact URL resolver before
@@ -42,9 +42,9 @@ from a user font name or filename extension. The document carries a deduplicated
beside its Artifact set so a staging Runtime can verify the exact bytes before rendering.
The ordinary test suite validates deterministic HTML and Artifact collection. Set
-`NARRATAGE_BROWSER_TESTS=1` to run the host integration witness that invokes the installed Hyperframes
+`HYPIT_BROWSER_TESTS=1` to run the host integration witness that invokes the installed Hyperframes
CLI, paints a real font and checks straight-alpha composition at the rendered pixel level. That
test needs Chrome and FFmpeg; its multilingual case uses only the locked open-font package, not a
system font. It is a renderer conformance witness, not Core logic.
-`@narratage/provider-hyperframes-local` adds a real two-worker silent-MP4 witness and strict ffprobe
+`@hypit/provider-hyperframes-local` adds a real two-worker silent-MP4 witness and strict ffprobe
output verification.
diff --git a/packages/hyperframes/package.json b/packages/hyperframes/package.json
index 5f8e10ea..d09e5091 100644
--- a/packages/hyperframes/package.json
+++ b/packages/hyperframes/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/hyperframes",
+ "name": "@hypit/hyperframes",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,29 +8,29 @@
".": "./src/index.ts",
"./project": "./src/project.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/visual-ir": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/visual-ir": "workspace:*"
},
"devDependencies": {
- "@narratage/caption": "workspace:*",
- "@narratage/caption-fine": "workspace:*",
- "@narratage/deck-track": "workspace:*",
- "@narratage/fonts-open": "workspace:*",
- "@narratage/media-track": "workspace:*",
- "@narratage/ranking": "workspace:*",
- "@narratage/screen-overlay": "workspace:*",
- "@narratage/script": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/typography-track": "workspace:*"
+ "@hypit/caption": "workspace:*",
+ "@hypit/caption-fine": "workspace:*",
+ "@hypit/deck-track": "workspace:*",
+ "@hypit/fonts-open": "workspace:*",
+ "@hypit/media-track": "workspace:*",
+ "@hypit/ranking": "workspace:*",
+ "@hypit/screen-overlay": "workspace:*",
+ "@hypit/script": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/typography-track": "workspace:*"
}
}
diff --git a/packages/hyperframes/src/activation.ts b/packages/hyperframes/src/activation.ts
index 6ff5929d..c361231f 100644
--- a/packages/hyperframes/src/activation.ts
+++ b/packages/hyperframes/src/activation.ts
@@ -1,8 +1,8 @@
import { hyperframesComponent, hyperframesManifest } from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: hyperframesManifest }],
components: [hyperframesComponent],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/hyperframes/src/component.ts b/packages/hyperframes/src/component.ts
index 7023cdb6..4b51429a 100644
--- a/packages/hyperframes/src/component.ts
+++ b/packages/hyperframes/src/component.ts
@@ -1,8 +1,8 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { ProgramSpace } from "@narratage/program-space";
-import type { Composition } from "@narratage/composition";
-import type { CanonicalValue, StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { ProgramSpace } from "@hypit/program-space";
+import type { Composition } from "@hypit/composition";
+import type { CanonicalValue, StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
import { compileHyperframesDocument } from "./document.js";
import { hyperframesProducers } from "./manifest.js";
diff --git a/packages/hyperframes/src/document.ts b/packages/hyperframes/src/document.ts
index a7dda584..68234d87 100644
--- a/packages/hyperframes/src/document.ts
+++ b/packages/hyperframes/src/document.ts
@@ -1,8 +1,8 @@
-import { assertCompositableSurfaceRef } from "@narratage/media";
-import type { CompositableSurfaceRef, FontArtifactRef } from "@narratage/media";
-import { programSpaceFrameCount } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { assertCompositionIdentity } from "@narratage/composition";
+import { assertCompositableSurfaceRef } from "@hypit/media";
+import type { CompositableSurfaceRef, FontArtifactRef } from "@hypit/media";
+import { programSpaceFrameCount } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { assertCompositionIdentity } from "@hypit/composition";
import type {
Composition,
Track,
@@ -14,10 +14,10 @@ import type {
VisualSamplingSegment,
VisualStyleDeclaration,
VisualTrack,
-} from "@narratage/composition";
-import { canonicalStringify, isDigest } from "@narratage/protocol";
-import type { BlobRef, Digest } from "@narratage/protocol";
-import { VISUAL_IR_V1 } from "@narratage/visual-ir";
+} from "@hypit/composition";
+import { canonicalStringify, isDigest } from "@hypit/protocol";
+import type { BlobRef, Digest } from "@hypit/protocol";
+import { VISUAL_IR_V1 } from "@hypit/visual-ir";
import type {
ArtifactUrlResolver,
@@ -31,8 +31,8 @@ import {
} from "./text.js";
const NANOSECONDS = 1_000_000_000n;
-const ARTIFACT_URI = /narratage-artifact:\/\/sha256\/([0-9a-f]{64})/gu;
-const SURFACE_ARTIFACT = /data-narratage-surface-artifact="(sha256:[0-9a-f]{64})"/gu;
+const ARTIFACT_URI = /hypit-artifact:\/\/sha256\/([0-9a-f]{64})/gu;
+const SURFACE_ARTIFACT = /data-hypit-surface-artifact="(sha256:[0-9a-f]{64})"/gu;
function escapeHtml(value: string): string {
return value
@@ -177,7 +177,7 @@ function percentage(frame: number, totalFrames: number): string {
export function hyperframesArtifactUri(digest: Digest): string {
if (!isDigest(digest)) throw new Error("HyperFrames Artifact digest is invalid.");
- return `narratage-artifact://sha256/${digest.slice("sha256:".length)}`;
+ return `hypit-artifact://sha256/${digest.slice("sha256:".length)}`;
}
function css(style: readonly VisualStyleDeclaration[]): string {
@@ -198,7 +198,7 @@ function attributes(values: readonly VisualAttribute[] | undefined): string {
}
function stableDomId(parts: readonly string[]): string {
- return `narratage-${Buffer.from(JSON.stringify(parts)).toString("base64url")}`;
+ return `hypit-${Buffer.from(JSON.stringify(parts)).toString("base64url")}`;
}
function exactFontFamily(font: FontArtifactRef): string {
@@ -257,10 +257,10 @@ function renderElement(
"animation-timing-function:linear",
]),
].filter(Boolean).join(";");
- const commonAttributes = `id="${id}" data-narratage-element-id="${escapeHtml(element.id)}"${attributes(element.attributes)}`;
+ const commonAttributes = `id="${id}" data-hypit-element-id="${escapeHtml(element.id)}"${attributes(element.attributes)}`;
const animationAttributes = animationName === undefined
? ""
- : ` data-narratage-frame-animation data-narratage-animation-start-frame="${context.presentStartFrame}" data-narratage-animation-duration-frames="${animationDurationFrames}" data-narratage-animation-sample-frames="${context.presentDurationFrames}" data-narratage-animation-properties="${animationProperties.join(",")}"`;
+ : ` data-hypit-frame-animation data-hypit-animation-start-frame="${context.presentStartFrame}" data-hypit-animation-duration-frames="${animationDurationFrames}" data-hypit-animation-sample-frames="${context.presentDurationFrames}" data-hypit-animation-properties="${animationProperties.join(",")}"`;
const common = `${commonAttributes}${animationAttributes} style="${escapeHtml(inlineStyle)}"`;
if (element.kind === "mask") {
const direct = children.get(element.id) ?? [];
@@ -305,7 +305,7 @@ function renderElement(
return `<image x="0" y="0" width="100%" height="100%" preserveAspectRatio="none" href="${escapeHtml(hyperframesArtifactUri(maskRoot.artifact.digest))}" style="${escapeHtml(css(maskRoot.style))}"/>`;
}
if (maskRoot.kind === "surface" && maskRoot.surface.timing.kind === "still") {
- return `<image data-narratage-surface-artifact="${maskRoot.surface.artifact.digest}" x="0" y="0" width="100%" height="100%" preserveAspectRatio="none" href="${escapeHtml(hyperframesArtifactUri(maskRoot.surface.artifact.digest))}" style="${escapeHtml(css(maskRoot.style))}"/>`;
+ return `<image data-hypit-surface-artifact="${maskRoot.surface.artifact.digest}" x="0" y="0" width="100%" height="100%" preserveAspectRatio="none" href="${escapeHtml(hyperframesArtifactUri(maskRoot.surface.artifact.digest))}" style="${escapeHtml(css(maskRoot.style))}"/>`;
}
throw new Error(`Local mask ${element.id} requires a terminal owned text, image or still Surface mask source.`);
})();
@@ -343,23 +343,23 @@ function renderElement(
const partId = `${id}-sample-${String(part).padStart(4, "0")}`;
const media = [
`id="${partId}"`,
- `data-narratage-element-id="${escapeHtml(element.id)}"`,
- `data-narratage-sampling-part="${part}"`,
+ `data-hypit-element-id="${escapeHtml(element.id)}"`,
+ `data-hypit-sampling-part="${part}"`,
`data-start="${frameSeconds(startFrame, context.programNumerator, context.programDenominator)}"`,
`data-duration="${frameSeconds(durationFrames, context.programNumerator, context.programDenominator)}"`,
`data-track-index="${context.stackIndex}"`,
`data-media-start="${sourceSeconds(run.sourceFrame, element.sampling!.sourceFrameRate)}"`,
`data-playback-rate="${sampledPlaybackRate(segment.rate, element.sampling!.sourceFrameRate, context.programNumerator, context.programDenominator)}"`,
- `data-narratage-source-frame="${run.sourceFrame.numerator}/${run.sourceFrame.denominator}"`,
- `data-narratage-source-rate="${segment.rate.numerator}/${segment.rate.denominator}"`,
+ `data-hypit-source-frame="${run.sourceFrame.numerator}/${run.sourceFrame.denominator}"`,
+ `data-hypit-source-rate="${segment.rate.numerator}/${segment.rate.denominator}"`,
`style="${escapeHtml(inlineStyle)}"`,
attributes(element.attributes).trim(),
"muted",
"playsinline",
...(element.kind === "surface" ? [
- `data-narratage-surface-artifact="${element.surface.artifact.digest}"`,
- `data-narratage-alpha-mode="${element.surface.alphaMode}"`,
- `data-narratage-color-space="${element.surface.colorSpace}"`,
+ `data-hypit-surface-artifact="${element.surface.artifact.digest}"`,
+ `data-hypit-alpha-mode="${element.surface.alphaMode}"`,
+ `data-hypit-color-space="${element.surface.colorSpace}"`,
`width="${element.surface.width}"`,
`height="${element.surface.height}"`,
] : []),
@@ -370,12 +370,12 @@ function renderElement(
if (element.kind === "surface") {
const source = escapeHtml(hyperframesArtifactUri(element.surface.artifact.digest));
const surface = [
- `data-narratage-surface-artifact="${element.surface.artifact.digest}"`,
+ `data-hypit-surface-artifact="${element.surface.artifact.digest}"`,
`data-start="${context.presentStart}"`,
`data-duration="${context.presentDuration}"`,
`data-track-index="${context.stackIndex}"`,
- `data-narratage-alpha-mode="${element.surface.alphaMode}"`,
- `data-narratage-color-space="${element.surface.colorSpace}"`,
+ `data-hypit-alpha-mode="${element.surface.alphaMode}"`,
+ `data-hypit-color-space="${element.surface.colorSpace}"`,
`width="${element.surface.width}"`,
`height="${element.surface.height}"`,
].join(" ");
@@ -424,7 +424,7 @@ function renderVisualPresent(
programDenominator: denominator,
stackIndex,
});
- return `<div class="clip narratage-visual-present" data-narratage-track-id="${escapeHtml(track.id)}" data-narratage-present-id="${escapeHtml(present.id)}" data-narratage-stack-order="${present.stacking.order}" data-narratage-stack-tie="${escapeHtml(present.stacking.tieBreak)}" data-track-index="${stackIndex}" data-start="${start}" data-duration="${duration}" style="position:absolute;inset:0;z-index:${stackIndex};overflow:hidden;pointer-events:none">${contents}</div>`;
+ return `<div class="clip hypit-visual-present" data-hypit-track-id="${escapeHtml(track.id)}" data-hypit-present-id="${escapeHtml(present.id)}" data-hypit-stack-order="${present.stacking.order}" data-hypit-stack-tie="${escapeHtml(present.stacking.tieBreak)}" data-track-index="${stackIndex}" data-start="${start}" data-duration="${duration}" style="position:absolute;inset:0;z-index:${stackIndex};overflow:hidden;pointer-events:none">${contents}</div>`;
}
function renderAnimationRules(track: VisualTrack, present: VisualPresent): string[] {
@@ -576,14 +576,14 @@ function frameAnimationRuntime(numerator: number, denominator: number): string {
const denominator = ${denominator};
const millisecondsPerFrame = denominator * 1000 / numerator;
const timelines = [];
- for (const element of document.querySelectorAll("[data-narratage-frame-animation]")) {
+ for (const element of document.querySelectorAll("[data-hypit-frame-animation]")) {
void element.getBoundingClientRect();
const animation = element.getAnimations()[0];
if (animation === undefined) throw new Error("Visual IR frame animation did not materialize.");
- const start = Number(element.getAttribute("data-narratage-animation-start-frame"));
- const duration = Number(element.getAttribute("data-narratage-animation-duration-frames"));
- const sampleDuration = Number(element.getAttribute("data-narratage-animation-sample-frames"));
- const properties = String(element.getAttribute("data-narratage-animation-properties") || "")
+ const start = Number(element.getAttribute("data-hypit-animation-start-frame"));
+ const duration = Number(element.getAttribute("data-hypit-animation-duration-frames"));
+ const sampleDuration = Number(element.getAttribute("data-hypit-animation-sample-frames"));
+ const properties = String(element.getAttribute("data-hypit-animation-properties") || "")
.split(",").filter(Boolean);
const frames = [];
for (let frame = 0; frame <= sampleDuration; frame += 1) {
@@ -640,7 +640,7 @@ function emitHtml(composition: Composition, programSpace: ProgramSpace): string
</style>
</head>
<body>
- <div data-composition-id="${escapeHtml(composition.id)}" data-start="0" data-no-timeline data-width="${composition.canvas.width}" data-height="${composition.canvas.height}" data-duration="${duration}" data-fps="${fps}" data-narratage-frame-count="${frameCount}">
+ <div data-composition-id="${escapeHtml(composition.id)}" data-start="0" data-no-timeline data-width="${composition.canvas.width}" data-height="${composition.canvas.height}" data-duration="${duration}" data-fps="${fps}" data-hypit-frame-count="${frameCount}">
${visualHtml}
</div>${animationRuntime}${textRuntime}
</body>
diff --git a/packages/hyperframes/src/fragment.ts b/packages/hyperframes/src/fragment.ts
index 71bcbac2..df95cc37 100644
--- a/packages/hyperframes/src/fragment.ts
+++ b/packages/hyperframes/src/fragment.ts
@@ -1,7 +1,7 @@
-import { programSpaceTypes } from "@narratage/program-space";
-import { compositionTypes } from "@narratage/composition";
-import type { Composition } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
+import { programSpaceTypes } from "@hypit/program-space";
+import { compositionTypes } from "@hypit/composition";
+import type { Composition } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
import { hyperframesProducers, hyperframesTypes } from "./manifest.js";
diff --git a/packages/hyperframes/src/manifest.ts b/packages/hyperframes/src/manifest.ts
index f732d08e..88468e99 100644
--- a/packages/hyperframes/src/manifest.ts
+++ b/packages/hyperframes/src/manifest.ts
@@ -1,10 +1,10 @@
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import { compositionDependency, compositionTypes } from "@narratage/composition";
-import { compositableSurfaceSchema, mediaDependency } from "@narratage/media";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { VISUAL_IR_V1 } from "@narratage/visual-ir";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
+import { compositableSurfaceSchema, mediaDependency } from "@hypit/media";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { VISUAL_IR_V1 } from "@hypit/visual-ir";
-export const hyperframesModuleRef = { name: "@narratage/hyperframes", version: "1" } as const;
+export const hyperframesModuleRef = { name: "@hypit/hyperframes", version: "1" } as const;
export const hyperframesTypes = {
document: { module: hyperframesModuleRef, name: "HyperframesDocument" },
} satisfies Record<string, TypeRef>;
@@ -49,7 +49,7 @@ export const hyperframesDocumentSchema: ValueSchema = {
};
export const hyperframesManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: hyperframesModuleRef.name,
version: hyperframesModuleRef.version,
dependencies: [compositionDependency, mediaDependency, programSpaceDependency],
diff --git a/packages/hyperframes/src/project.ts b/packages/hyperframes/src/project.ts
index bfbaa248..42f9feb2 100644
--- a/packages/hyperframes/src/project.ts
+++ b/packages/hyperframes/src/project.ts
@@ -2,8 +2,8 @@ import { createHash } from "node:crypto";
import { mkdir, open, writeFile } from "node:fs/promises";
import { join } from "node:path";
-import type { CompositableSurfaceRef } from "@narratage/media";
-import type { BlobRef } from "@narratage/protocol";
+import type { CompositableSurfaceRef } from "@hypit/media";
+import type { BlobRef } from "@hypit/protocol";
import { assertHyperframesDocument, materializeHyperframesHtml } from "./document.js";
import type { HyperframesDocument } from "./types.js";
diff --git a/packages/hyperframes/src/text.ts b/packages/hyperframes/src/text.ts
index 9e636656..eb2bf434 100644
--- a/packages/hyperframes/src/text.ts
+++ b/packages/hyperframes/src/text.ts
@@ -1,4 +1,4 @@
-import type { FontArtifactRef } from "@narratage/media";
+import type { FontArtifactRef } from "@hypit/media";
import type {
VisualColorPaint,
VisualPathTextElement,
@@ -9,8 +9,8 @@ import type {
VisualTextSequenceAnimation,
VisualTextTypography,
VisualVectorPathCommand,
-} from "@narratage/composition";
-import { canonicalStringify } from "@narratage/protocol";
+} from "@hypit/composition";
+import { canonicalStringify } from "@hypit/protocol";
type TerminalTextElement = VisualTextFlowElement | VisualPathTextElement;
@@ -259,7 +259,7 @@ function renderGlyphPaint(
const layers = glyphPaintLayers(paints);
if (layers.length === 0) return context.escape(value);
const singleSolidFill = layers.length === 1 && layers[0]?.kind === "fill" && layers[0].paint.kind === "solid";
- return layers.map((paint, index) => `<span aria-hidden="${index === layers.length - 1 ? "false" : "true"}" data-narratage-text-paint-layer="${index}"${styleAttribute(glyphLayerCss(paint, singleSolidFill, context), context.escape)}>${context.escape(value)}</span>`).join("");
+ return layers.map((paint, index) => `<span aria-hidden="${index === layers.length - 1 ? "false" : "true"}" data-hypit-text-paint-layer="${index}"${styleAttribute(glyphLayerCss(paint, singleSolidFill, context), context.escape)}>${context.escape(value)}</span>`).join("");
}
function boxLayers(
@@ -333,7 +333,7 @@ function tailHtml(
: side === "bottom" ? "0 0,100% 0,50% 100%"
: side === "left" ? "100% 0,0 50%,100% 100%" : "0 0,100% 50%,0 100%";
const style = `position:absolute;pointer-events:none;width:${number(tail.widthPx)}px;height:${number(tail.heightPx)}px;${position};background:${colorPaintCss(tail.paint)};clip-path:polygon(${polygon});z-index:${index}`;
- return [`<span aria-hidden="true" data-narratage-text-tail="${side}" style="${context.escape(style)}"></span>`];
+ return [`<span aria-hidden="true" data-hypit-text-tail="${side}" style="${context.escape(style)}"></span>`];
}).join("");
}
@@ -439,7 +439,7 @@ function renderDocument(
...boxCss(paints, "grapheme", "isolated"),
...unitAnimationCss(element, "grapheme", graphemeIndex, context),
];
- return `<span data-narratage-text-unit-grapheme="${graphemeIndex}"${styleAttribute(styles, context.escape)}>${tailHtml(paints, "grapheme", context, "isolated")}${renderGlyphPaint(value, paints, context)}</span>`;
+ return `<span data-hypit-text-unit-grapheme="${graphemeIndex}"${styleAttribute(styles, context.escape)}>${tailHtml(paints, "grapheme", context, "isolated")}${renderGlyphPaint(value, paints, context)}</span>`;
};
return document.paragraphs.map((paragraph) => {
const paragraphIndex = indices.paragraph++;
@@ -456,7 +456,7 @@ function renderDocument(
}
const wordIndex = indices.word++;
const wordContent = graphemes(segment.text, inline.language ?? typography.language).map((grapheme) => renderGrapheme(grapheme, paints)).join("");
- return `<span data-narratage-text-unit-word="${wordIndex}"${styleAttribute([
+ return `<span data-hypit-text-unit-word="${wordIndex}"${styleAttribute([
"position:relative",
...boxCss(paints, "word", "isolated"),
...unitAnimationCss(element, "word", wordIndex, context),
@@ -473,7 +473,7 @@ function renderDocument(
...boxCss(paints, "grapheme", "joined"),
...unitAnimationCss(element, "run", runIndex, context),
];
- return `<span data-narratage-text-run="${context.escape(inline.id)}" data-narratage-text-unit-run="${runIndex}" ${textLanguageAttributes(typography, context.escape, inline.language, inline.direction)}${styleAttribute(runStyle, context.escape)}>${tailHtml(paints, "run", context)}${tailHtml(paints, "word", context, "joined")}${tailHtml(paints, "grapheme", context, "joined")}${runContents}</span>`;
+ return `<span data-hypit-text-run="${context.escape(inline.id)}" data-hypit-text-unit-run="${runIndex}" ${textLanguageAttributes(typography, context.escape, inline.language, inline.direction)}${styleAttribute(runStyle, context.escape)}>${tailHtml(paints, "run", context)}${tailHtml(paints, "word", context, "joined")}${tailHtml(paints, "grapheme", context, "joined")}${runContents}</span>`;
}).join("");
const paragraphStyle = [
"position:relative",
@@ -481,7 +481,7 @@ function renderDocument(
...boxCss(paragraphPaints, "paragraph"),
...unitAnimationCss(element, "paragraph", paragraphIndex, context),
];
- return `<div data-narratage-text-paragraph="${context.escape(paragraph.id)}" data-narratage-text-unit-paragraph="${paragraphIndex}" ${textLanguageAttributes(paragraphTypography, context.escape)}${styleAttribute(paragraphStyle, context.escape)}>${tailHtml(paragraphPaints, "paragraph", context)}<span data-narratage-text-line-fragments${styleAttribute([
+ return `<div data-hypit-text-paragraph="${context.escape(paragraph.id)}" data-hypit-text-unit-paragraph="${paragraphIndex}" ${textLanguageAttributes(paragraphTypography, context.escape)}${styleAttribute(paragraphStyle, context.escape)}>${tailHtml(paragraphPaints, "paragraph", context)}<span data-hypit-text-line-fragments${styleAttribute([
"position:relative",
"box-decoration-break:clone",
"-webkit-box-decoration-break:clone",
@@ -634,37 +634,37 @@ function renderPathDocument(element: VisualPathTextElement, context: TextRenderC
const text = segmentRun(inline.text, inline.language ?? typography.language).map((segment) => {
if (!segment.wordLike) return graphemes(segment.text, inline.language ?? typography.language).map((value) => {
const index = indices.grapheme++;
- return `<tspan data-narratage-text-unit-grapheme="${index}"${styleAttribute(unitAnimationCss(element, "grapheme", index, context), context.escape)}>${context.escape(value)}</tspan>`;
+ return `<tspan data-hypit-text-unit-grapheme="${index}"${styleAttribute(unitAnimationCss(element, "grapheme", index, context), context.escape)}>${context.escape(value)}</tspan>`;
}).join("");
const word = indices.word++;
const value = graphemes(segment.text, inline.language ?? typography.language).map((item) => {
const index = indices.grapheme++;
- return `<tspan data-narratage-text-unit-grapheme="${index}"${styleAttribute(unitAnimationCss(element, "grapheme", index, context), context.escape)}>${context.escape(item)}</tspan>`;
+ return `<tspan data-hypit-text-unit-grapheme="${index}"${styleAttribute(unitAnimationCss(element, "grapheme", index, context), context.escape)}>${context.escape(item)}</tspan>`;
}).join("");
- return `<tspan data-narratage-text-unit-word="${word}"${styleAttribute(unitAnimationCss(element, "word", word, context), context.escape)}>${value}</tspan>`;
+ return `<tspan data-hypit-text-unit-word="${word}"${styleAttribute(unitAnimationCss(element, "word", word, context), context.escape)}>${value}</tspan>`;
}).join("");
const style = [...typographyCss(typography, context.exactFontFamily), ...svgGlyphLayerCss(paint, context), ...unitAnimationCss(element, "run", runIndex, context)];
- return `<tspan data-narratage-text-unit-run="${runIndex}" ${textLanguageAttributes(typography, context.escape, inline.language, inline.direction)}${styleAttribute(style, context.escape)}>${text}</tspan>`;
+ return `<tspan data-hypit-text-unit-run="${runIndex}" ${textLanguageAttributes(typography, context.escape, inline.language, inline.direction)}${styleAttribute(style, context.escape)}>${text}</tspan>`;
}).join("");
const separator = paragraphPosition === 0 ? "" : " ";
- return `${separator}<tspan data-narratage-text-unit-paragraph="${paragraphIndex}"${styleAttribute(unitAnimationCss(element, "paragraph", paragraphIndex, context), context.escape)}>${content}</tspan>`;
+ return `${separator}<tspan data-hypit-text-unit-paragraph="${paragraphIndex}"${styleAttribute(unitAnimationCss(element, "paragraph", paragraphIndex, context), context.escape)}>${content}</tspan>`;
}).join("");
}
export function renderTerminalTextElement(element: TerminalTextElement, context: TextRenderContext): string {
assertTextUnitRanges(element);
- const clockAttributes = `data-narratage-text-clock data-narratage-text-start-frame="${context.presentStartFrame}" data-narratage-text-frame-numerator="${context.programNumerator}" data-narratage-text-frame-denominator="${context.programDenominator}"`;
- const sequenceAttributes = element.sequences.length === 0 ? "" : ` data-narratage-text-sequences="${context.escape(JSON.stringify(element.sequences))}" data-narratage-text-duration-frames="${context.durationFrames}"`;
+ const clockAttributes = `data-hypit-text-clock data-hypit-text-start-frame="${context.presentStartFrame}" data-hypit-text-frame-numerator="${context.programNumerator}" data-hypit-text-frame-denominator="${context.programDenominator}"`;
+ const sequenceAttributes = element.sequences.length === 0 ? "" : ` data-hypit-text-sequences="${context.escape(JSON.stringify(element.sequences))}" data-hypit-text-duration-frames="${context.durationFrames}"`;
if (element.kind === "path-text") {
const pathId = context.stableId([context.trackId, context.presentId, element.id, "path"]);
const anchor = element.align === "start" ? "start" : element.align === "end" ? "end" : "middle";
const offset = element.marginAnimation?.keyframes[0]?.startMarginPx
?? (element.align === "start" ? element.startMarginPx : element.align === "end" ? "100%" : "50%");
const placementData = element.marginAnimation === undefined
- ? ` data-narratage-text-path-placement="${context.escape(JSON.stringify({
+ ? ` data-hypit-text-path-placement="${context.escape(JSON.stringify({
align: element.align, startMarginPx: element.startMarginPx, endMarginPx: element.endMarginPx,
}))}"`
- : ` data-narratage-text-path-margin="${context.escape(JSON.stringify({
+ : ` data-hypit-text-path-margin="${context.escape(JSON.stringify({
startFrame: context.presentStartFrame,
numerator: context.programNumerator,
denominator: context.programDenominator,
@@ -675,7 +675,7 @@ export function renderTerminalTextElement(element: TerminalTextElement, context:
const layerCount = pathPaintLayerCount(element);
const layers = Array.from({ length: layerCount }, (_, layerIndex) => {
const textCss = [...typographyCss(element.typography, context.exactFontFamily), "fill:transparent", "stroke:none"].join(";");
- return `<text aria-hidden="${layerIndex === layerCount - 1 ? "false" : "true"}" data-narratage-text-path-paint-layer="${layerIndex}" style="${context.escape(textCss)}" text-anchor="${anchor}" dominant-baseline="central"><textPath href="#${pathId}" startOffset="${typeof offset === "number" ? number(offset) : offset}" side="${element.side}"${placementData}${element.orientation === "upright" ? ' data-narratage-text-path-upright="true"' : ""}>${renderPathDocument(element, context, layerIndex)}</textPath></text>`;
+ return `<text aria-hidden="${layerIndex === layerCount - 1 ? "false" : "true"}" data-hypit-text-path-paint-layer="${layerIndex}" style="${context.escape(textCss)}" text-anchor="${anchor}" dominant-baseline="central"><textPath href="#${pathId}" startOffset="${typeof offset === "number" ? number(offset) : offset}" side="${element.side}"${placementData}${element.orientation === "upright" ? ' data-hypit-text-path-upright="true"' : ""}>${renderPathDocument(element, context, layerIndex)}</textPath></text>`;
}).join("");
return `<svg ${context.commonAttributes} ${clockAttributes}${sequenceAttributes} ${textLanguageAttributes(element.typography, context.escape)} width="100%" height="100%" style="${context.escape(`${context.baseStyle};overflow:${element.overflow === "clip" ? "hidden" : "visible"}`)}"><defs><path id="${pathId}" d="${context.escape(pathData(element.reverse ? reversePath(element.path) : element.path))}"/>${svgPaintDefinitions(element, context)}${glyphFilterDefinitions(element, context)}</defs>${layers}</svg>`;
}
@@ -696,13 +696,13 @@ export function renderTerminalTextElement(element: TerminalTextElement, context:
];
const lineSequences = element.sequences.filter((sequence) => sequence.unit === "line");
const layoutData = [
- `data-narratage-text-overflow="${element.flow.overflow}"`,
- `data-narratage-text-writing-mode="${element.typography.writingMode}"`,
- ...(element.flow.minimumScale === undefined ? [] : [`data-narratage-text-minimum-scale="${number(element.flow.minimumScale)}"`]),
- ...(element.flow.maxLines === undefined ? [] : [`data-narratage-text-max-lines="${element.flow.maxLines}"`]),
+ `data-hypit-text-overflow="${element.flow.overflow}"`,
+ `data-hypit-text-writing-mode="${element.typography.writingMode}"`,
+ ...(element.flow.minimumScale === undefined ? [] : [`data-hypit-text-minimum-scale="${number(element.flow.minimumScale)}"`]),
+ ...(element.flow.maxLines === undefined ? [] : [`data-hypit-text-max-lines="${element.flow.maxLines}"`]),
].join(" ");
- const lineData = lineSequences.length === 0 ? "" : ` data-narratage-text-line-sequences="${context.escape(JSON.stringify(lineSequences))}"`;
- return `<div ${context.commonAttributes} ${clockAttributes}${sequenceAttributes} ${textLanguageAttributes(element.typography, context.escape)} style="${context.escape(rootStyle.join(";"))}">${glyphPaintDefinitions(element, context)}${tailHtml(element.paints, "frame", context)}<div data-narratage-text-flow ${layoutData}${lineData}${styleAttribute(contentStyle, context.escape)}>${tailHtml(element.paints, "content", context)}${renderDocument(element.document, element, context)}</div></div>`;
+ const lineData = lineSequences.length === 0 ? "" : ` data-hypit-text-line-sequences="${context.escape(JSON.stringify(lineSequences))}"`;
+ return `<div ${context.commonAttributes} ${clockAttributes}${sequenceAttributes} ${textLanguageAttributes(element.typography, context.escape)} style="${context.escape(rootStyle.join(";"))}">${glyphPaintDefinitions(element, context)}${tailHtml(element.paints, "frame", context)}<div data-hypit-text-flow ${layoutData}${lineData}${styleAttribute(contentStyle, context.escape)}>${tailHtml(element.paints, "content", context)}${renderDocument(element.document, element, context)}</div></div>`;
}
export function collectTerminalTextFonts(element: TerminalTextElement): FontArtifactRef[] {
@@ -726,8 +726,8 @@ const svmlTextEase = (name, value) => {
return value;
};
const svmlUpdateUprightTextPaths = () => {
- for (const path of document.querySelectorAll('[data-narratage-text-path-upright]')) {
- for (const glyph of path.querySelectorAll('[data-narratage-text-unit-grapheme]')) {
+ for (const path of document.querySelectorAll('[data-hypit-text-path-upright]')) {
+ for (const glyph of path.querySelectorAll('[data-hypit-text-unit-grapheme]')) {
try {
glyph.removeAttribute('rotate');
const pathRotation = glyph.getRotationOfChar(0);
@@ -739,8 +739,8 @@ const svmlUpdateUprightTextPaths = () => {
}
};
const svmlUpdateStaticTextPathPlacements = () => {
- for (const textPath of document.querySelectorAll('[data-narratage-text-path-placement]')) {
- const data = JSON.parse(textPath.getAttribute('data-narratage-text-path-placement'));
+ for (const textPath of document.querySelectorAll('[data-hypit-text-path-placement]')) {
+ const data = JSON.parse(textPath.getAttribute('data-hypit-text-path-placement'));
const href = textPath.getAttribute('href');
const path = href && document.getElementById(href.slice(1));
if (!path || typeof path.getTotalLength !== 'function') throw new Error('Path Text cannot resolve its owned vector path.');
@@ -752,8 +752,8 @@ const svmlUpdateStaticTextPathPlacements = () => {
}
};
const svmlUpdateTextPathMargins = (time) => {
- for (const path of document.querySelectorAll('[data-narratage-text-path-margin]')) {
- const data = JSON.parse(path.getAttribute('data-narratage-text-path-margin'));
+ for (const path of document.querySelectorAll('[data-hypit-text-path-margin]')) {
+ const data = JSON.parse(path.getAttribute('data-hypit-text-path-margin'));
const frames = data.keyframes;
// HyperFrames may reach the same source frame through an incremental seek
// or a fresh worker seek. Quantize the absolute clock back to the authored
@@ -837,17 +837,17 @@ const svmlTextSequenceProgress = (sequence, clock) => {
};
};
const svmlSeekTextUnitAnimations = (time) => {
- const unitSelector = '[data-narratage-text-unit-paragraph],[data-narratage-text-unit-run],[data-narratage-text-unit-word],[data-narratage-text-unit-grapheme]';
- for (const root of document.querySelectorAll('[data-narratage-text-clock][data-narratage-text-sequences]')) {
- const startFrame = Number(root.getAttribute('data-narratage-text-start-frame'));
- const numerator = Number(root.getAttribute('data-narratage-text-frame-numerator'));
- const denominator = Number(root.getAttribute('data-narratage-text-frame-denominator'));
- const durationFrames = Number(root.getAttribute('data-narratage-text-duration-frames'));
+ const unitSelector = '[data-hypit-text-unit-paragraph],[data-hypit-text-unit-run],[data-hypit-text-unit-word],[data-hypit-text-unit-grapheme]';
+ for (const root of document.querySelectorAll('[data-hypit-text-clock][data-hypit-text-sequences]')) {
+ const startFrame = Number(root.getAttribute('data-hypit-text-start-frame'));
+ const numerator = Number(root.getAttribute('data-hypit-text-frame-numerator'));
+ const denominator = Number(root.getAttribute('data-hypit-text-frame-denominator'));
+ const durationFrames = Number(root.getAttribute('data-hypit-text-duration-frames'));
if (!Number.isSafeInteger(startFrame) || !Number.isSafeInteger(numerator) || !Number.isSafeInteger(denominator)
|| !Number.isSafeInteger(durationFrames) || numerator <= 0 || denominator <= 0 || durationFrames <= 0) {
throw new Error('Invalid terminal Text animation clock.');
}
- const sequences = JSON.parse(root.getAttribute('data-narratage-text-sequences') || '[]');
+ const sequences = JSON.parse(root.getAttribute('data-hypit-text-sequences') || '[]');
const localFrame = Math.max(0, Math.min(durationFrames, Math.round(time * numerator / denominator - startFrame)));
for (const unit of root.querySelectorAll(unitSelector)) {
let base = svmlTextUnitBaseStyles.get(unit);
@@ -860,7 +860,7 @@ const svmlSeekTextUnitAnimations = (time) => {
else unit.style.removeProperty(name);
}
for (const sequence of sequences) {
- const attribute = sequence.unit === 'line' ? 'data-narratage-text-physical-line' : 'data-narratage-text-unit-' + sequence.unit;
+ const attribute = sequence.unit === 'line' ? 'data-hypit-text-physical-line' : 'data-hypit-text-unit-' + sequence.unit;
if (!unit.hasAttribute(attribute)) continue;
const index = Number(unit.getAttribute(attribute));
const rank = Number.isSafeInteger(index) ? svmlTextSequenceRank(sequence, index) : null;
@@ -927,22 +927,22 @@ const svmlTextLayoutReady = document.fonts.ready.then(() => {
svmlUpdateUprightTextPaths();
const physicalLines = (flow) => {
const values = [];
- const vertical = flow.getAttribute('data-narratage-text-writing-mode') !== 'horizontal-tb';
- for (const glyph of flow.querySelectorAll('[data-narratage-text-unit-grapheme]')) {
+ const vertical = flow.getAttribute('data-hypit-text-writing-mode') !== 'horizontal-tb';
+ for (const glyph of flow.querySelectorAll('[data-hypit-text-unit-grapheme]')) {
const rect = glyph.getBoundingClientRect();
const axis = vertical ? rect.left : rect.top;
if (!values.some((value) => Math.abs(value - axis) < 0.5)) values.push(axis);
}
return values;
};
- for (const flow of document.querySelectorAll('[data-narratage-text-flow][data-narratage-text-overflow="ellipsis"]')) {
- if (flow.getAttribute('data-narratage-text-max-lines') || getComputedStyle(flow).whiteSpace === 'pre') continue;
+ for (const flow of document.querySelectorAll('[data-hypit-text-flow][data-hypit-text-overflow="ellipsis"]')) {
+ if (flow.getAttribute('data-hypit-text-max-lines') || getComputedStyle(flow).whiteSpace === 'pre') continue;
const parent = flow.parentElement;
if (!parent) throw new Error('Ellipsis Text has no placement frame.');
- const vertical = flow.getAttribute('data-narratage-text-writing-mode') !== 'horizontal-tb';
+ const vertical = flow.getAttribute('data-hypit-text-writing-mode') !== 'horizontal-tb';
const boundary = parent.getBoundingClientRect();
const groups = [];
- for (const glyph of flow.querySelectorAll('[data-narratage-text-unit-grapheme]')) {
+ for (const glyph of flow.querySelectorAll('[data-hypit-text-unit-grapheme]')) {
const rect = glyph.getBoundingClientRect();
const axis = vertical ? rect.left : rect.top;
let group = groups.find((item) => Math.abs(item.axis - axis) < 0.5);
@@ -954,9 +954,9 @@ const svmlTextLayoutReady = document.fonts.ready.then(() => {
: rect.top >= boundary.top - 0.5 && rect.bottom <= boundary.bottom + 0.5)).length;
flow.style.webkitLineClamp = String(Math.max(1, visible));
}
- for (const flow of document.querySelectorAll('[data-narratage-text-flow][data-narratage-text-overflow="shrink"]')) {
- const minimum = Number(flow.getAttribute('data-narratage-text-minimum-scale'));
- const maximumLines = Number(flow.getAttribute('data-narratage-text-max-lines') || '0');
+ for (const flow of document.querySelectorAll('[data-hypit-text-flow][data-hypit-text-overflow="shrink"]')) {
+ const minimum = Number(flow.getAttribute('data-hypit-text-minimum-scale'));
+ const maximumLines = Number(flow.getAttribute('data-hypit-text-max-lines') || '0');
const parent = flow.parentElement;
if (!parent || !Number.isFinite(minimum) || minimum <= 0 || minimum > 1) throw new Error('Invalid bounded Text shrink request.');
const availableWidth = parent.clientWidth;
@@ -975,7 +975,7 @@ const svmlTextLayoutReady = document.fonts.ready.then(() => {
apply(scale);
const lines = physicalLines(flow).length;
const boundary = parent.getBoundingClientRect();
- const glyphRects = [...flow.querySelectorAll('[data-narratage-text-unit-grapheme]')]
+ const glyphRects = [...flow.querySelectorAll('[data-hypit-text-unit-grapheme]')]
.map((glyph) => glyph.getBoundingClientRect());
const left = glyphRects.length === 0 ? boundary.left : Math.min(...glyphRects.map((rect) => rect.left));
const right = glyphRects.length === 0 ? boundary.left : Math.max(...glyphRects.map((rect) => rect.right));
@@ -1012,12 +1012,12 @@ const svmlTextLayoutReady = document.fonts.ready.then(() => {
else high = middle;
}
apply(low);
- flow.setAttribute('data-narratage-text-shrink-scale', low.toFixed(8));
+ flow.setAttribute('data-hypit-text-shrink-scale', low.toFixed(8));
}
- for (const flow of document.querySelectorAll('[data-narratage-text-flow][data-narratage-text-line-sequences]')) {
- const sequences = JSON.parse(flow.getAttribute('data-narratage-text-line-sequences') || '[]');
- const glyphs = [...flow.querySelectorAll('[data-narratage-text-unit-grapheme]')];
- const vertical = flow.getAttribute('data-narratage-text-writing-mode') !== 'horizontal-tb';
+ for (const flow of document.querySelectorAll('[data-hypit-text-flow][data-hypit-text-line-sequences]')) {
+ const sequences = JSON.parse(flow.getAttribute('data-hypit-text-line-sequences') || '[]');
+ const glyphs = [...flow.querySelectorAll('[data-hypit-text-unit-grapheme]')];
+ const vertical = flow.getAttribute('data-hypit-text-writing-mode') !== 'horizontal-tb';
const axes = [];
const lineOf = new Map();
for (const glyph of glyphs) {
@@ -1040,7 +1040,7 @@ const svmlTextLayoutReady = document.fonts.ready.then(() => {
for (const [memberIndex, glyph] of members.entries()) {
const rect = rects[memberIndex];
glyph.style.transformOrigin = String((left + right) / 2 - rect.left) + 'px ' + String((top + bottom) / 2 - rect.top) + 'px';
- glyph.setAttribute('data-narratage-text-physical-line', String(line));
+ glyph.setAttribute('data-hypit-text-physical-line', String(line));
}
}
}
diff --git a/packages/hyperframes/src/types.ts b/packages/hyperframes/src/types.ts
index 566c9077..dea6fe56 100644
--- a/packages/hyperframes/src/types.ts
+++ b/packages/hyperframes/src/types.ts
@@ -1,6 +1,6 @@
-import type { BlobRef, Digest } from "@narratage/protocol";
-import type { CompositableSurfaceRef } from "@narratage/media";
+import type { BlobRef, Digest } from "@hypit/protocol";
+import type { CompositableSurfaceRef } from "@hypit/media";
export type HyperframesFrameDomain = {
readonly frameRate: {
@@ -24,7 +24,7 @@ export type HyperframesDocument = HyperframesFrameDomain & {
readonly artifacts: readonly BlobRef[];
/** Typed Surface dependencies that a Runtime must verify before rendering. */
readonly surfaces: readonly CompositableSurfaceRef[];
- /** Media URLs remain narratage-artifact:// placeholders until a Runtime materializes them. */
+ /** Media URLs remain hypit-artifact:// placeholders until a Runtime materializes them. */
readonly html: string;
};
@@ -35,4 +35,4 @@ export type HyperframesFrameSpan = {
};
export type ArtifactUrlResolver = (artifact: BlobRef) => string;
-import { VISUAL_IR_V1 } from "@narratage/visual-ir";
+import { VISUAL_IR_V1 } from "@hypit/visual-ir";
diff --git a/packages/hyperframes/test/browser-visual.test.ts b/packages/hyperframes/test/browser-visual.test.ts
index 20a3b2eb..9ce2e550 100644
--- a/packages/hyperframes/test/browser-visual.test.ts
+++ b/packages/hyperframes/test/browser-visual.test.ts
@@ -6,24 +6,24 @@ import os from "node:os";
import path from "node:path";
import test from "node:test";
import { deflateSync } from "node:zlib";
-import { resolveCaptionProgram } from "@narratage/caption";
-import type { TimedCaptionProjection } from "@narratage/caption";
-import { fineCaptionStyle, renderFineCaption } from "@narratage/caption-fine";
-import * as deckTrack from "@narratage/deck-track";
-import type { DepthStackCardLabel } from "@narratage/deck-track";
-import { decodeOpenFontFaceSurface } from "@narratage/fonts-open";
-import type { CompositableSurfaceRef, FontArtifactRef } from "@narratage/media";
-import * as mediaTrack from "@narratage/media-track";
-import { sealProgramSpace } from "@narratage/program-space";
-import { sealComposition, sealVisualTrack } from "@narratage/composition";
+import { resolveCaptionProgram } from "@hypit/caption";
+import type { TimedCaptionProjection } from "@hypit/caption";
+import { fineCaptionStyle, renderFineCaption } from "@hypit/caption-fine";
+import * as deckTrack from "@hypit/deck-track";
+import type { DepthStackCardLabel } from "@hypit/deck-track";
+import { decodeOpenFontFaceSurface } from "@hypit/fonts-open";
+import type { CompositableSurfaceRef, FontArtifactRef } from "@hypit/media";
+import * as mediaTrack from "@hypit/media-track";
+import { sealProgramSpace } from "@hypit/program-space";
+import { sealComposition, sealVisualTrack } from "@hypit/composition";
import assert from "node:assert/strict";
import {
compileHyperframesDocument,
materializeHyperframesHtml,
-} from "@narratage/hyperframes";
-import type { BlobRef, Digest } from "@narratage/protocol";
-import { captionDisplaySequence, parseScript } from "@narratage/script";
-import * as rankingTrack from "@narratage/ranking";
+} from "@hypit/hyperframes";
+import type { BlobRef, Digest } from "@hypit/protocol";
+import { captionDisplaySequence, parseScript } from "@hypit/script";
+import * as rankingTrack from "@hypit/ranking";
import {
appendProgramScreenOverlay,
createScreenOverlaySet,
@@ -31,10 +31,10 @@ import {
renderScreenOverlay,
sealScreenOverlayHeader,
sealScreenOverlayItemSpec,
-} from "@narratage/screen-overlay";
-import type { ScreenOverlayComponent, ScreenOverlaySet } from "@narratage/screen-overlay";
-import { sealCanvasSpace } from "@narratage/spatial";
-import type { SvsRecipe } from "@narratage/svs";
+} from "@hypit/screen-overlay";
+import type { ScreenOverlayComponent, ScreenOverlaySet } from "@hypit/screen-overlay";
+import { sealCanvasSpace } from "@hypit/spatial";
+import type { SvsRecipe } from "@hypit/svs";
import {
renderTextMaskTrack,
renderTypographyTrack,
@@ -43,11 +43,11 @@ import {
sealTextStyle,
sealTypographyTrackProgram,
stillTextMotion,
-} from "@narratage/typography-track";
-import type { TextStyle } from "@narratage/typography-track";
+} from "@hypit/typography-track";
+import type { TextStyle } from "@hypit/typography-track";
-const enabled = process.env.NARRATAGE_BROWSER_TESTS === "1";
-const localFont = process.env.NARRATAGE_TEST_FONT_PATH
+const enabled = process.env.HYPIT_BROWSER_TESTS === "1";
+const localFont = process.env.HYPIT_TEST_FONT_PATH
?? (process.platform === "darwin" ? "/System/Library/Fonts/SFNSMono.ttf" : undefined);
const hyperframesCli = createRequire(path.join(process.cwd(), "packages/provider-hyperframes-local/package.json"))
.resolve("hyperframes/bin/hyperframes.mjs");
@@ -281,7 +281,7 @@ test("locked font and straight-alpha Surface survive one real Hyperframes browse
timeout: 120_000,
}, async () => {
assert(localFont !== undefined);
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-hyperframes-visual-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-hyperframes-visual-"));
try {
const fontBytes = await import("node:fs/promises").then(({ readFile }) => readFile(localFont));
const surfaceBytes = rgbaPng(64, 64, [255, 0, 0, 128]);
@@ -297,7 +297,7 @@ test("locked font and straight-alpha Surface survive one real Hyperframes browse
frameRate: { numerator: 30, denominator: 1 },
});
const lower = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "blue",
presents: [{
id: "blue",
@@ -316,7 +316,7 @@ test("locked font and straight-alpha Surface survive one real Hyperframes browse
}],
});
const surface = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "surface",
presents: [{
id: "surface",
@@ -339,7 +339,7 @@ test("locked font and straight-alpha Surface survive one real Hyperframes browse
}],
});
const text = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "text",
presents: [{
id: "text",
@@ -426,7 +426,7 @@ test("Fine Caption exact font, wrapping and all karaoke modes survive real brows
timeout: 120_000,
}, async () => {
assert(localFont !== undefined);
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-caption-fine-visual-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-caption-fine-visual-"));
try {
const width = 720;
const height = 240;
@@ -521,7 +521,7 @@ test("Fine Caption joined trail Pill follows real wrapped browser line fragments
timeout: 120_000,
}, async () => {
assert(localFont !== undefined);
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-caption-fine-pill-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-caption-fine-pill-"));
try {
const width = 480;
const height = 280;
@@ -597,7 +597,7 @@ test("installed open fonts render CJK, emoji and independent stroke, shadow and
skip: !enabled,
timeout: 120_000,
}, async () => {
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-caption-fine-multilingual-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-caption-fine-multilingual-"));
try {
const width = 720;
const height = 320;
@@ -714,7 +714,7 @@ test("complete Text flow, Path, local mask and motion stay exact under parallel
skip: !enabled,
timeout: 180_000,
}, async () => {
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-text-complete-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-text-complete-"));
try {
const width = 960;
const height = 720;
@@ -898,8 +898,8 @@ test("complete Text flow, Path, local mask and motion stay exact under parallel
id: "complete-text-browser",
canvas: { width, height, clearColor: "#000000" }, tracks: [typographyTrack, maskTrack],
}), space);
- assert.match(document.html, /data-narratage-text-shrink-scale/u);
- assert.match(document.html, /data-narratage-text-path-upright/u);
+ assert.match(document.html, /data-hypit-text-shrink-scale/u);
+ assert.match(document.html, /data-hypit-text-path-upright/u);
assert.match(document.html, /mask-type:alpha/u);
const paths = new Map<Digest, string>();
await Promise.all([...fontBytes].map(async ([artifactDigest, bytes], index) => {
@@ -974,7 +974,7 @@ test("Text box targets, rich runs and every sequence direction remain stable acr
skip: !enabled,
timeout: 180_000,
}, async () => {
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-text-box-sequence-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-text-box-sequence-"));
try {
const width = 960;
const height = 440;
@@ -1102,11 +1102,11 @@ test("Text box targets, rich runs and every sequence direction remain stable acr
id: "text-box-sequence-browser",
canvas: { width, height, clearColor: "#000000" }, tracks: [track],
}), space);
- assert.match(compiled.html, /data-narratage-text-line-sequences/u);
+ assert.match(compiled.html, /data-hypit-text-line-sequences/u);
assert.match(compiled.html, /background-image:linear-gradient\(#312e81,#312e81\)/u);
assert.match(compiled.html, /order&quot;:&quot;forward/u);
assert.match(compiled.html, /order&quot;:&quot;reverse/u);
- assert.match(compiled.html, /data-narratage-text-run="reverse-grapheme-run"/u);
+ assert.match(compiled.html, /data-hypit-text-run="reverse-grapheme-run"/u);
const paths = new Map<Digest, string>();
let fontIndex = 0;
for (const [artifactDigest, bytes] of installed.bytes) {
@@ -1167,7 +1167,7 @@ test("vertical Text paints in its authored direction and bounded shrink fails cl
skip: !enabled,
timeout: 120_000,
}, async () => {
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-text-vertical-shrink-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-text-vertical-shrink-"));
try {
const width = 320;
const height = 320;
@@ -1267,7 +1267,7 @@ test("Media two-frame sampling, alpha, local motion and handoff survive partitio
skip: !enabled,
timeout: 120_000,
}, async () => {
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-media-track-visual-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-media-track-visual-"));
try {
const width = 160;
const height = 120;
@@ -1404,7 +1404,7 @@ test("DepthStack Deck reflow, exact labels and old-system layout survive partiti
skip: !enabled,
timeout: 120_000,
}, async () => {
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-depth-stack-visual-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-depth-stack-visual-"));
try {
const width = 240;
const height = 180;
@@ -1585,7 +1585,7 @@ test("all four Ranking components paint frame-pure progressive states under part
skip: !enabled,
timeout: 120_000,
}, async () => {
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-ranking-visual-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-ranking-visual-"));
try {
const width = 480;
const height = 720;
@@ -1787,7 +1787,7 @@ test("all Spatial fit modes and equal-point alignments reach exact browser pixel
skip: !enabled,
timeout: 120_000,
}, async () => {
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-spatial-visual-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-spatial-visual-"));
try {
const width = 530;
const height = 280;
@@ -1968,7 +1968,7 @@ test("every official Screen Overlay survives real sequential and parallel browse
skip: !enabled,
timeout: 120_000,
}, async () => {
- const temp = await mkdtemp(path.join(os.tmpdir(), "narratage-screen-overlay-visual-"));
+ const temp = await mkdtemp(path.join(os.tmpdir(), "hypit-screen-overlay-visual-"));
try {
const width = 128;
const height = 96;
diff --git a/packages/hyperframes/test/document.test.ts b/packages/hyperframes/test/document.test.ts
index 85229078..a2e17e68 100644
--- a/packages/hyperframes/test/document.test.ts
+++ b/packages/hyperframes/test/document.test.ts
@@ -5,12 +5,12 @@ import {
compileHyperframesDocument,
hyperframesTime,
materializeHyperframesHtml,
-} from "@narratage/hyperframes";
-import type { FontArtifactRef } from "@narratage/media";
-import { sealProgramSpace } from "@narratage/program-space";
-import { sealAudioTrack, sealComposition, sealVisualTrack } from "@narratage/composition";
-import type { Track } from "@narratage/composition";
-import { VISUAL_IR_V1 } from "@narratage/visual-ir";
+} from "@hypit/hyperframes";
+import type { FontArtifactRef } from "@hypit/media";
+import { sealProgramSpace } from "@hypit/program-space";
+import { sealAudioTrack, sealComposition, sealVisualTrack } from "@hypit/composition";
+import type { Track } from "@hypit/composition";
+import { VISUAL_IR_V1 } from "@hypit/visual-ir";
import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
@@ -39,7 +39,7 @@ function fixture() {
mediaType: "audio/wav",
};
const lower = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "lower",
presents: [{
id: "picture",
@@ -55,7 +55,7 @@ function fixture() {
}],
});
const upper = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "upper",
presents: [{
id: "words",
@@ -96,11 +96,11 @@ test("HyperFrames flattens generic peer visual Track Presents without absorbing
assert.equal(document.visualIr, VISUAL_IR_V1);
assert.deepEqual(new Set(document.artifacts.map((artifact) => artifact.digest)),
new Set([picture.digest, fixtureFont.sources[0]!.artifact.digest]));
- assert.ok(document.html.indexOf('data-narratage-track-id="lower"') < document.html.indexOf('data-narratage-track-id="upper"'));
- assert.equal((document.html.match(/class="clip narratage-visual-present"/gu) ?? []).length, 2);
+ assert.ok(document.html.indexOf('data-hypit-track-id="lower"') < document.html.indexOf('data-hypit-track-id="upper"'));
+ assert.equal((document.html.match(/class="clip hypit-visual-present"/gu) ?? []).length, 2);
assert.doesNotMatch(document.html, /<audio/u);
assert.doesNotMatch(document.html, new RegExp(sound.digest, "u"));
- assert.doesNotMatch(document.html, /isolation:isolate|narratage-visual-track/u);
+ assert.doesNotMatch(document.html, /isolation:isolate|hypit-visual-track/u);
assert.match(document.html, /Hello &lt;world&gt;/u);
assert.doesNotMatch(document.html, /speech-visual-track|caption-track/u);
});
@@ -108,10 +108,10 @@ test("HyperFrames flattens generic peer visual Track Presents without absorbing
test("visual Artifact placeholders are materialized only by the Runtime boundary", () => {
const { composition, picture, sound, programSpace } = fixture();
const document = compileHyperframesDocument(composition, programSpace);
- assert.match(document.html, /narratage-artifact:\/\/sha256\//u);
+ assert.match(document.html, /hypit-artifact:\/\/sha256\//u);
const resolved = materializeHyperframesHtml(document,
(artifact) => `https://assets.example/${artifact.digest}?x=1&y=2`);
- assert.doesNotMatch(resolved, /narratage-artifact:\/\//u);
+ assert.doesNotMatch(resolved, /hypit-artifact:\/\//u);
assert.match(resolved, new RegExp(`https://assets\\.example/${picture.digest}\\?x=1&amp;y=2`, "u"));
assert.doesNotMatch(resolved, new RegExp(sound.digest, "u"));
assert.equal(document.html.includes("assets.example"), false, "materialization must not mutate the compiled document");
@@ -125,7 +125,7 @@ test("HyperframesDocument carries render facts while its Record binds integrity"
assert.equal(document.frameCount, 30);
assert.deepEqual(document.canvas, { width: 1080, height: 1920 });
assert.match(document.html, /data-fps="30000\/1001"/u);
- assert.match(document.html, /data-narratage-frame-count="30"/u);
+ assert.match(document.html, /data-hypit-frame-count="30"/u);
assert.equal(hyperframesTime.frameSeconds(30, 30_000, 1_001), "1.001");
assert.equal(hyperframesTime.fpsDecimal(30_000, 1_001), "29.970029970029");
});
@@ -182,7 +182,7 @@ test("HyperFrames emits frame-bound local animation without creating a Track sta
...composition,
tracks: composition.tracks.map((track) => track.id === "lower" ? animated : track),
}), programSpace);
- assert.match(document.html, /@keyframes narratage-/u);
+ assert.match(document.html, /@keyframes hypit-/u);
assert.match(document.html, /33\.333333333%\{opacity:1;transform:translateY\(0%\)/u);
assert.match(document.html, /animation-duration:1\.001s/u);
assert.match(document.html, /100%\{opacity:1;transform:translateY\(0%\)\}/u);
@@ -207,7 +207,7 @@ test("HyperFrames clips a long animation by Present visibility instead of reject
tracks: composition.tracks.map((track) => track.id === "lower" ? animated : track),
}), programSpace);
assert.match(document.html, /animation-duration:1\.5015s/u);
- assert.match(document.html, /data-narratage-animation-duration-frames="45" data-narratage-animation-sample-frames="30"/u);
+ assert.match(document.html, /data-hypit-animation-duration-frames="45" data-hypit-animation-sample-frames="30"/u);
assert.match(document.html, /100%\{opacity:1\}/u);
});
@@ -228,7 +228,7 @@ test("content-bound fonts and typed compositable Surfaces cross the same Artifac
};
const surfaceDigest = fixtureDigest("hyperframes:alpha-surface");
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "bound-render-dependencies",
presents: [{
id: "bound",
@@ -277,11 +277,11 @@ test("content-bound fonts and typed compositable Surfaces cross the same Artifac
assert.match(document.html, /@font-face\{/u);
assert.match(document.html, /format\("woff2"\)/u);
assert.match(document.html, /font-synthesis:none/u);
- assert.match(document.html, /data-narratage-alpha-mode="straight"/u);
- assert.match(document.html, /data-narratage-color-space="srgb"/u);
+ assert.match(document.html, /data-hypit-alpha-mode="straight"/u);
+ assert.match(document.html, /data-hypit-color-space="srgb"/u);
const materialized = materializeHyperframesHtml(document,
(artifact) => `https://assets.example/${artifact.digest}?token=1&part=2`);
- assert.doesNotMatch(materialized, /narratage-artifact:\/\//u);
+ assert.doesNotMatch(materialized, /hypit-artifact:\/\//u);
assert.match(materialized, new RegExp(font.sources[0]!.artifact.digest, "u"));
assert.match(materialized, new RegExp(surfaceDigest, "u"));
});
@@ -298,7 +298,7 @@ test("exact timed sampling lowers loop boundaries and held frames without zero-r
mediaType: "video/mp4",
};
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "sampled",
presents: [{
id: "sampled",
@@ -336,7 +336,7 @@ test("exact timed sampling lowers loop boundaries and held frames without zero-r
canvas: { width: 100, height: 100, clearColor: "#000000" },
tracks: [track],
}), programSpace);
- assert.equal((document.html.match(/data-narratage-sampling-part=/gu) ?? []).length, 4);
+ assert.equal((document.html.match(/data-hypit-sampling-part=/gu) ?? []).length, 4);
assert.match(document.html, /data-media-start="0\.066666666666"/u);
assert.match(document.html, /data-media-start="0"/u);
assert.equal((document.html.match(/data-playback-rate="1"/gu) ?? []).length, 4);
diff --git a/packages/image-compose/README.md b/packages/image-compose/README.md
index dbb95d62..4c53953c 100644
--- a/packages/image-compose/README.md
+++ b/packages/image-compose/README.md
@@ -1,8 +1,8 @@
-# @narratage/image-compose
+# @hypit/image-compose
Deterministic multi-layer raster composition for SVML.
-The author graph supplies an explicit Canvas, an ordered list of image Layers, and an explicit Frame for every Layer. The package lowers that meaning to the shared `@narratage/raster` execution contract; an Endpoint such as `@narratage/provider-image-opencv-local` performs the pixels. Core knows nothing about images or compositing.
+The author graph supplies an explicit Canvas, an ordered list of image Layers, and an explicit Frame for every Layer. The package lowers that meaning to the shared `@hypit/raster` execution contract; an Endpoint such as `@hypit/provider-image-opencv-local` performs the pixels. Core knows nothing about images or compositing.
```xml
<compose:Image id="card" canvas={portrait} background="#00000000">
diff --git a/packages/image-compose/package.json b/packages/image-compose/package.json
index c8b30bbf..983bbdc0 100644
--- a/packages/image-compose/package.json
+++ b/packages/image-compose/package.json
@@ -1,18 +1,18 @@
{
- "name": "@narratage/image-compose",
+ "name": "@hypit/image-compose",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
"type": "module",
"exports": { ".": "./src/index.ts" },
- "narratage": { "activation": "./src/activation.ts" },
+ "hypit": { "activation": "./src/activation.ts" },
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/raster": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/raster": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/markup": "workspace:*"
}
}
diff --git a/packages/image-compose/src/activation.ts b/packages/image-compose/src/activation.ts
index 477450e2..7bc500e6 100644
--- a/packages/image-compose/src/activation.ts
+++ b/packages/image-compose/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeImageComposeSurface,
@@ -8,8 +8,8 @@ import {
imageComposeMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: imageComposeManifest }],
components: [imageComposeComponent],
hostFacets: [{ ...createMarkupSurfaceHostFacet({
@@ -18,4 +18,4 @@ export const narratagePackage = {
}) }],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/image-compose/src/component.ts b/packages/image-compose/src/component.ts
index b07a7e28..e9e6e763 100644
--- a/packages/image-compose/src/component.ts
+++ b/packages/image-compose/src/component.ts
@@ -1,8 +1,8 @@
-import type { ComponentPackage, ProducerHandlerContext } from "@narratage/component-kit";
-import type { BlobRef, StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
-import { rasterComposeRequest } from "@narratage/raster";
-import type { CanvasSpace, SpatialFrame } from "@narratage/spatial";
+import type { ComponentPackage, ProducerHandlerContext } from "@hypit/component-kit";
+import type { BlobRef, StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
+import { rasterComposeRequest } from "@hypit/raster";
+import type { CanvasSpace, SpatialFrame } from "@hypit/spatial";
import { imageComposeProducers, imageComposeTypes } from "./manifest.js";
import {
diff --git a/packages/image-compose/src/fragment.ts b/packages/image-compose/src/fragment.ts
index fff5e374..e53a1145 100644
--- a/packages/image-compose/src/fragment.ts
+++ b/packages/image-compose/src/fragment.ts
@@ -1,7 +1,7 @@
-import { artifactTypes } from "@narratage/artifact";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { FragmentOperation } from "@narratage/elaborator";
-import { spatialTypes } from "@narratage/spatial";
+import { artifactTypes } from "@hypit/artifact";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { FragmentOperation } from "@hypit/elaborator";
+import { spatialTypes } from "@hypit/spatial";
import { imageComposeProducers, imageComposeTypes } from "./manifest.js";
diff --git a/packages/image-compose/src/manifest.ts b/packages/image-compose/src/manifest.ts
index 5aa0ec43..3f1bfdd6 100644
--- a/packages/image-compose/src/manifest.ts
+++ b/packages/image-compose/src/manifest.ts
@@ -1,9 +1,9 @@
-import { artifactDependency, artifactTypes } from "@narratage/artifact";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { rasterCapabilities, rasterDependency } from "@narratage/raster";
-import { spatialDependency, spatialFrameSchema, spatialTypes } from "@narratage/spatial";
+import { artifactDependency, artifactTypes } from "@hypit/artifact";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { rasterCapabilities, rasterDependency } from "@hypit/raster";
+import { spatialDependency, spatialFrameSchema, spatialTypes } from "@hypit/spatial";
-export const imageComposeModuleRef = { name: "@narratage/image-compose", version: "1" } as const;
+export const imageComposeModuleRef = { name: "@hypit/image-compose", version: "1" } as const;
export const imageComposeTypes = {
options: { module: imageComposeModuleRef, name: "ImageComposeOptions" },
layerSpec: { module: imageComposeModuleRef, name: "ImageComposeLayerSpec" },
@@ -51,7 +51,7 @@ export const imageComposeMarkupSurfaces = [{
export const imageComposeManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: imageComposeModuleRef.name,
version: imageComposeModuleRef.version,
dependencies: [artifactDependency, spatialDependency, rasterDependency],
diff --git a/packages/image-compose/src/program.ts b/packages/image-compose/src/program.ts
index 3f3b825f..498bd3b5 100644
--- a/packages/image-compose/src/program.ts
+++ b/packages/image-compose/src/program.ts
@@ -1,5 +1,5 @@
-import { assertSpatialFrame } from "@narratage/spatial";
-import { canonicalize, isDigest } from "@narratage/protocol";
+import { assertSpatialFrame } from "@hypit/spatial";
+import { canonicalize, isDigest } from "@hypit/protocol";
import type {
ImageComposeLayer,
diff --git a/packages/image-compose/src/surface.ts b/packages/image-compose/src/surface.ts
index 49aca079..e700cd4f 100644
--- a/packages/image-compose/src/surface.ts
+++ b/packages/image-compose/src/surface.ts
@@ -1,7 +1,7 @@
-import { artifactTypes } from "@narratage/artifact";
-import type { CanonicalValue } from "@narratage/protocol";
-import { spatialTypes } from "@narratage/spatial";
-import type { StructuredElement, StructuredSurfaceHandler, SurfaceResolvedReference, MarkupAttributeValue } from "@narratage/markup";
+import { artifactTypes } from "@hypit/artifact";
+import type { CanonicalValue } from "@hypit/protocol";
+import { spatialTypes } from "@hypit/spatial";
+import type { StructuredElement, StructuredSurfaceHandler, SurfaceResolvedReference, MarkupAttributeValue } from "@hypit/markup";
import { createImageComposeFragment } from "./fragment.js";
import { imageComposeTypes } from "./manifest.js";
diff --git a/packages/image-compose/src/types.ts b/packages/image-compose/src/types.ts
index 4f95f1fa..f69c532a 100644
--- a/packages/image-compose/src/types.ts
+++ b/packages/image-compose/src/types.ts
@@ -1,5 +1,5 @@
-import type { BlobRef } from "@narratage/protocol";
-import type { SpatialFrame } from "@narratage/spatial";
+import type { BlobRef } from "@hypit/protocol";
+import type { SpatialFrame } from "@hypit/spatial";
export type ImageComposeOptions = {
readonly background: string;
diff --git a/packages/image-compose/test/image-compose.test.ts b/packages/image-compose/test/image-compose.test.ts
index 71ac65d7..c0f9425b 100644
--- a/packages/image-compose/test/image-compose.test.ts
+++ b/packages/image-compose/test/image-compose.test.ts
@@ -2,7 +2,7 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { artifactTypes } from "@narratage/artifact";
+import { artifactTypes } from "@hypit/artifact";
import {
createImageComposeFragment,
decodeImageComposeSurface,
@@ -11,10 +11,10 @@ import {
imageComposeTypes,
sealImageComposeLayerSpec,
sealImageComposeOptions,
-} from "@narratage/image-compose";
-import { rasterCapabilities } from "@narratage/raster";
-import type { CanonicalValue, StoredValue, TypeRef, TypedRecord } from "@narratage/protocol";
-import { sealCanvasSpace, sealSpatialFrame, spatialTypes } from "@narratage/spatial";
+} from "@hypit/image-compose";
+import { rasterCapabilities } from "@hypit/raster";
+import type { CanonicalValue, StoredValue, TypeRef, TypedRecord } from "@hypit/protocol";
+import { sealCanvasSpace, sealSpatialFrame, spatialTypes } from "@hypit/spatial";
const canvas = sealCanvasSpace({
widthPx: 1080, heightPx: 1920,
diff --git a/packages/image-transform/README.md b/packages/image-transform/README.md
index d45cf272..f9b44e8c 100644
--- a/packages/image-transform/README.md
+++ b/packages/image-transform/README.md
@@ -1,4 +1,4 @@
-# `@narratage/image-transform`
+# `@hypit/image-transform`
An ordinary graph component with two inputs and one result:
diff --git a/packages/image-transform/package.json b/packages/image-transform/package.json
index c93ef559..b0f8b7ba 100644
--- a/packages/image-transform/package.json
+++ b/packages/image-transform/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/image-transform",
+ "name": "@hypit/image-transform",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,15 +7,15 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/raster": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/raster": "workspace:*",
+ "@hypit/markup": "workspace:*"
}
}
diff --git a/packages/image-transform/src/activation.ts b/packages/image-transform/src/activation.ts
index 32f21fe5..8949c663 100644
--- a/packages/image-transform/src/activation.ts
+++ b/packages/image-transform/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeImageTransformProgramSurface,
@@ -9,8 +9,8 @@ import {
imageTransformMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{
manifest: imageTransformManifest,
}],
@@ -30,4 +30,4 @@ export const narratagePackage = {
}],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/image-transform/src/component.ts b/packages/image-transform/src/component.ts
index de758b8f..7a3d7001 100644
--- a/packages/image-transform/src/component.ts
+++ b/packages/image-transform/src/component.ts
@@ -1,7 +1,7 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { BlobRef, StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
-import { rasterTransformRequest } from "@narratage/raster";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { BlobRef, StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
+import { rasterTransformRequest } from "@hypit/raster";
import { imageTransformProducers, imageTransformTypes } from "./manifest.js";
import { verifyImageTransformProgram } from "./program.js";
diff --git a/packages/image-transform/src/fragment.ts b/packages/image-transform/src/fragment.ts
index 83a8ca01..eb94ee9b 100644
--- a/packages/image-transform/src/fragment.ts
+++ b/packages/image-transform/src/fragment.ts
@@ -1,5 +1,5 @@
-import { artifactTypes } from "@narratage/artifact";
-import { sealGraphFragment } from "@narratage/elaborator";
+import { artifactTypes } from "@hypit/artifact";
+import { sealGraphFragment } from "@hypit/elaborator";
import { imageTransformProducers, imageTransformTypes } from "./manifest.js";
diff --git a/packages/image-transform/src/manifest.ts b/packages/image-transform/src/manifest.ts
index 89a7d86a..bd81df5f 100644
--- a/packages/image-transform/src/manifest.ts
+++ b/packages/image-transform/src/manifest.ts
@@ -1,13 +1,13 @@
-import { artifactDependency, artifactTypes } from "@narratage/artifact";
-import { rasterCapabilities, rasterDependency, rasterTransformOperationSchema } from "@narratage/raster";
+import { artifactDependency, artifactTypes } from "@hypit/artifact";
+import { rasterCapabilities, rasterDependency, rasterTransformOperationSchema } from "@hypit/raster";
import type {
ModuleManifest,
ProducerRef,
TypeRef,
ValueSchema,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
-export const imageTransformModuleRef = { name: "@narratage/image-transform", version: "1" } as const;
+export const imageTransformModuleRef = { name: "@hypit/image-transform", version: "1" } as const;
export const imageTransformTypes = {
program: { module: imageTransformModuleRef, name: "ImageTransformProgram" },
} satisfies Record<string, TypeRef>;
@@ -33,7 +33,7 @@ export const imageTransformMarkupSurfaces = [{
export const imageTransformManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: imageTransformModuleRef.name,
version: imageTransformModuleRef.version,
dependencies: [artifactDependency, rasterDependency],
diff --git a/packages/image-transform/src/program.ts b/packages/image-transform/src/program.ts
index 7b67bb01..85b153de 100644
--- a/packages/image-transform/src/program.ts
+++ b/packages/image-transform/src/program.ts
@@ -1,5 +1,5 @@
-import { canonicalize } from "@narratage/protocol";
-import { assertRasterTransformOperations } from "@narratage/raster";
+import { canonicalize } from "@hypit/protocol";
+import { assertRasterTransformOperations } from "@hypit/raster";
import type { ImageTransformProgram } from "./types.js";
diff --git a/packages/image-transform/src/surface.ts b/packages/image-transform/src/surface.ts
index e66bb60d..5231f0af 100644
--- a/packages/image-transform/src/surface.ts
+++ b/packages/image-transform/src/surface.ts
@@ -1,11 +1,11 @@
-import { artifactTypes } from "@narratage/artifact";
+import { artifactTypes } from "@hypit/artifact";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
-import type { CanonicalValue } from "@narratage/protocol";
+} from "@hypit/markup";
+import type { CanonicalValue } from "@hypit/protocol";
import { imageTransformFragment } from "./fragment.js";
import { imageTransformTypes } from "./manifest.js";
diff --git a/packages/image-transform/src/types.ts b/packages/image-transform/src/types.ts
index e8ff2b0e..a846afe7 100644
--- a/packages/image-transform/src/types.ts
+++ b/packages/image-transform/src/types.ts
@@ -1,4 +1,4 @@
-import type { RasterTransformOperation } from "@narratage/raster";
+import type { RasterTransformOperation } from "@hypit/raster";
export type {
RasterAlphaOperation as ImageAlphaOperation,
@@ -12,7 +12,7 @@ export type {
RasterRotateOperation as ImageRotateOperation,
RasterSharpenOperation as ImageSharpenOperation,
RasterTransformOperation as ImageTransformOperation,
-} from "@narratage/raster";
+} from "@hypit/raster";
/** Authored transformation intent. Operation order is author meaning. */
export type ImageTransformProgram = {
diff --git a/packages/image-transform/test/image-transform.test.ts b/packages/image-transform/test/image-transform.test.ts
index 0b284396..33fc8c49 100644
--- a/packages/image-transform/test/image-transform.test.ts
+++ b/packages/image-transform/test/image-transform.test.ts
@@ -10,10 +10,10 @@ import {
imageTransformManifest,
imageTransformTypes,
sealImageTransformProgram,
-} from "@narratage/image-transform";
-import { artifactTypes } from "@narratage/artifact";
-import { rasterCapabilities } from "@narratage/raster";
-import type { CanonicalValue, TypedRecord } from "@narratage/protocol";
+} from "@hypit/image-transform";
+import { artifactTypes } from "@hypit/artifact";
+import { rasterCapabilities } from "@hypit/raster";
+import type { CanonicalValue, TypedRecord } from "@hypit/protocol";
test("the GPT Image cleanup is one explicit reusable Program", () => {
assert.deepEqual(gptImageDenoiseV1.operations, [{
diff --git a/packages/markup/README.md b/packages/markup/README.md
index 11bc50a0..424690c2 100644
--- a/packages/markup/README.md
+++ b/packages/markup/README.md
@@ -1,7 +1,7 @@
-# `@narratage/markup`
+# `@hypit/markup`
Official XML-like Author Frontend normally used by `.svml` source units. The suffix has no parser
-authority; a mandatory `<?svml using="@narratage/markup@1"?>` Header selects this Frontend. It owns only the `<svml>` envelope,
+authority; a mandatory `<?svml using="@hypit/markup@1"?>` Header selects this Frontend. It owns only the `<svml>` envelope,
the leading Import Prologue, namespace binding, generic structured elements and dispatch to
package-owned Markup Surface Host facets.
@@ -11,9 +11,9 @@ Manifest contains no XML or parser fact. The current registry is for trusted off
sandbox for third-party parser code.
```svml
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
+ <import from="@hypit/script@1"/>
<import as="studio" source="./studio.svs"/>
<script id="story">
@@ -41,13 +41,13 @@ Compiler Host, not the Surface, owns containment, read-once behavior and byte tr
that does not request assets remains unchanged apart from being awaitable.
Markup validates source ranges, duplicate identities, Host-facet-declared Record types and complete
-Fragment references. It strips diagnostic ranges before sealing one `narratage.author-module@1`, so
+Fragment references. It strips diagnostic ranges before sealing one `hypit.author-module@1`, so
source reflow does not change author semantics. It never expands a Fragment or resolves a component
-input while reading the body. After every declaration has been collected, `@narratage/elaborator`
+input while reading the body. After every declaration has been collected, `@hypit/elaborator`
resolves forward references and emits the Core Graph.
Direct `decodeMarkup()` calls require every source import to be supplied as an already resolved
-namespace. The reference `compileSourceClosure()` orchestration in `@narratage/elaborator` recursively
+namespace. The reference `compileSourceClosure()` orchestration in `@hypit/elaborator` recursively
discovers those SourceUnits. Each dependency's own Source Header selects its exact Frontend; Markup
never chooses a dependency parser. The compiler decodes dependencies first and then calls Markup
with their locked public exports. Markup itself never reads a file or guesses a Frontend.
diff --git a/packages/markup/package.json b/packages/markup/package.json
index 90e730a6..ab70f9f8 100644
--- a/packages/markup/package.json
+++ b/packages/markup/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/markup",
+ "name": "@hypit/markup",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,9 +8,9 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/host": "workspace:*",
- "@narratage/protocol": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/host": "workspace:*",
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/markup/src/frontend.ts b/packages/markup/src/frontend.ts
index 4e90c5d4..fccfa141 100644
--- a/packages/markup/src/frontend.ts
+++ b/packages/markup/src/frontend.ts
@@ -1,15 +1,15 @@
-import { canonicalStringify } from "@narratage/protocol";
+import { canonicalStringify } from "@hypit/protocol";
import type {
ModuleRef,
ResolvedModule,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type {
AuthorComponent,
AuthorSourceExport,
AuthorValueRef,
GraphFragment,
-} from "@narratage/elaborator";
+} from "@hypit/elaborator";
import { MarkupFrontendError } from "./error.js";
import {
@@ -33,7 +33,7 @@ import type {
MarkupAuthorFrontendOptions,
MarkupImportRequest,
} from "./types.js";
-export const markupAuthorFrontendId = "@narratage/markup@1";
+export const markupAuthorFrontendId = "@hypit/markup@1";
type BoundSurface = {
readonly tag: string;
@@ -351,7 +351,7 @@ export async function decodeMarkup(source: MarkupSource, context: MarkupDecodeCo
}
}
for (const fragment of output.fragments) {
- if (fragment.format !== "narratage.fragment@1" || fragment.id.length === 0) {
+ if (fragment.format !== "hypit.fragment@1" || fragment.id.length === 0) {
fail(
source,
"MARKUP_FRAGMENT_IDENTITY",
diff --git a/packages/markup/src/host-facet.ts b/packages/markup/src/host-facet.ts
index c3359f26..d65c1006 100644
--- a/packages/markup/src/host-facet.ts
+++ b/packages/markup/src/host-facet.ts
@@ -1,5 +1,5 @@
-import type { HostFacet } from "@narratage/host";
-import type { ModuleRef, TypeRef } from "@narratage/protocol";
+import type { HostFacet } from "@hypit/host";
+import type { ModuleRef, TypeRef } from "@hypit/protocol";
import type {
RawSurfaceHandler,
@@ -10,7 +10,7 @@ import type {
StructuredSurfaceDeclaration,
} from "./types.js";
-export const markupSurfaceHostFacetAbi = "narratage.markup-surface-host@1";
+export const markupSurfaceHostFacetAbi = "hypit.markup-surface-host@1";
type RawMarkupSurfaceHostFacetOptions =
| {
diff --git a/packages/markup/src/registry.ts b/packages/markup/src/registry.ts
index 072250d8..1bd54387 100644
--- a/packages/markup/src/registry.ts
+++ b/packages/markup/src/registry.ts
@@ -1,4 +1,4 @@
-import type { ModuleRef } from "@narratage/protocol";
+import type { ModuleRef } from "@hypit/protocol";
import type {
RawSurfaceDeclaration,
diff --git a/packages/markup/src/types.ts b/packages/markup/src/types.ts
index a8180b43..f272d50b 100644
--- a/packages/markup/src/types.ts
+++ b/packages/markup/src/types.ts
@@ -5,7 +5,7 @@ import type {
StoredValue,
TypeRef,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type {
AuthorComponent,
AuthorFrontend,
@@ -15,7 +15,7 @@ import type {
Awaitable,
GraphFragment,
ResolvedAuthorSourceImport,
-} from "@narratage/elaborator";
+} from "@hypit/elaborator";
/** Decoder-local Markup text; Source identity and closure ownership stay outside the parser. */
export type MarkupSource = {
@@ -89,7 +89,7 @@ export type RawSurfaceInput = {
readonly openingStart: number;
readonly contentStart: number;
readonly attributes: Readonly<Record<string, MarkupAttributeValue>>;
- readonly resolveAsset: (request: AuthorSourceAssetRequest) => Awaitable<import("@narratage/elaborator").ResolvedAuthorSourceAsset>;
+ readonly resolveAsset: (request: AuthorSourceAssetRequest) => Awaitable<import("@hypit/elaborator").ResolvedAuthorSourceAsset>;
};
export type RawSurfaceOutput = SurfaceDecodeOutput & {
@@ -105,7 +105,7 @@ export type StructuredSurfaceInput = {
* A component output has a ref and Type but no compile-time Record value.
*/
readonly resolveReference: (path: string) => SurfaceResolvedReference | undefined;
- readonly resolveAsset: (request: AuthorSourceAssetRequest) => Awaitable<import("@narratage/elaborator").ResolvedAuthorSourceAsset>;
+ readonly resolveAsset: (request: AuthorSourceAssetRequest) => Awaitable<import("@hypit/elaborator").ResolvedAuthorSourceAsset>;
};
export type SurfaceResolvedReference = {
@@ -154,7 +154,7 @@ export type MarkupDecodeContext = {
readonly registry: MarkupSurfaceRegistryLike;
readonly resolveModule: (request: MarkupImportRequest) => ModuleRef;
readonly sourceImports?: readonly ResolvedAuthorSourceImport[];
- readonly resolveAsset?: (request: AuthorSourceAssetRequest) => Awaitable<import("@narratage/elaborator").ResolvedAuthorSourceAsset>;
+ readonly resolveAsset?: (request: AuthorSourceAssetRequest) => Awaitable<import("@hypit/elaborator").ResolvedAuthorSourceAsset>;
};
export type MarkupDecodeResult = {
diff --git a/packages/markup/test/author-integration.test.ts b/packages/markup/test/author-integration.test.ts
index 05e10c46..009ec489 100644
--- a/packages/markup/test/author-integration.test.ts
+++ b/packages/markup/test/author-integration.test.ts
@@ -6,27 +6,27 @@ import {
link,
sealBuildRequest,
start,
-} from "@narratage/core";
+} from "@hypit/core";
import {
AuthorGraphError,
elaborateAuthorGraph,
sealGraphFragment,
-} from "@narratage/elaborator";
-import type { GraphFragment } from "@narratage/elaborator";
+} from "@hypit/elaborator";
+import type { GraphFragment } from "@hypit/elaborator";
import type {
ModuleManifest,
ProducerRef,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
MarkupFrontendError,
MarkupSurfaceRegistry,
decodeMarkup,
-} from "@narratage/markup";
+} from "@hypit/markup";
import type {
StructuredElement,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
const laboratory = { name: "example.text-laboratory", version: "1" } as const;
const sampleType = { module: laboratory, name: "Sample" } satisfies TypeRef;
@@ -41,7 +41,7 @@ const laboratorySurfaces = [
] as const;
const manifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: laboratory.name,
version: laboratory.version,
dependencies: [],
diff --git a/packages/media-execution/README.md b/packages/media-execution/README.md
index 9e895133..50915e29 100644
--- a/packages/media-execution/README.md
+++ b/packages/media-execution/README.md
@@ -1,8 +1,8 @@
-# `@narratage/media-execution`
+# `@hypit/media-execution`
-Shared FFmpeg execution body for Narratage media Providers.
+Shared FFmpeg execution body for Hypit media Providers.
-`@narratage/media-pipeline` owns provider-neutral Needs, plans and result contracts. This package
+`@hypit/media-pipeline` owns provider-neutral Needs, plans and result contracts. This package
owns the byte-level implementations of the eight current operations:
- inspect every media stream;
diff --git a/packages/media-execution/package.json b/packages/media-execution/package.json
index 322e2d8a..b55fe2c3 100644
--- a/packages/media-execution/package.json
+++ b/packages/media-execution/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/media-execution",
+ "name": "@hypit/media-execution",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,10 +8,10 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/media": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/speech": "workspace:*"
+ "@hypit/media": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/speech": "workspace:*"
}
}
diff --git a/packages/media-execution/src/execute.ts b/packages/media-execution/src/execute.ts
index 9c5b7ed0..dce81690 100644
--- a/packages/media-execution/src/execute.ts
+++ b/packages/media-execution/src/execute.ts
@@ -4,11 +4,11 @@ import { createReadStream } from "node:fs";
import { mkdtemp, open, readFile, rm, writeFile } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join } from "node:path";
-import { mediaTypes, sealMediaInspection, sealMuxedMedia, sealSynchronizedMedia, sealTimelineAudio, verifyMediaInspection, verifyMediaStreamSelection, verifyRenderedVisual, verifySynchronizedMedia, verifyTimelineAudio } from "@narratage/media";
-import type { MediaAudioStream, MediaInspection, MediaRational, MediaStream, MediaStreamSelection, MediaTimestamp, MediaVideoStream, MuxedMedia, RenderedVisual, SynchronizedMedia, TimelineAudio } from "@narratage/media";
-import type { ProgramSpace } from "@narratage/program-space";
-import { assertSpeechEvidenceAudioIdentity, sealSpeechEvidenceAudio, speechEvidenceSampleBoundary, speechTypes } from "@narratage/speech";
-import type { SpeechEvidenceAudio } from "@narratage/speech";
+import { mediaTypes, sealMediaInspection, sealMuxedMedia, sealSynchronizedMedia, sealTimelineAudio, verifyMediaInspection, verifyMediaStreamSelection, verifyRenderedVisual, verifySynchronizedMedia, verifyTimelineAudio } from "@hypit/media";
+import type { MediaAudioStream, MediaInspection, MediaRational, MediaStream, MediaStreamSelection, MediaTimestamp, MediaVideoStream, MuxedMedia, RenderedVisual, SynchronizedMedia, TimelineAudio } from "@hypit/media";
+import type { ProgramSpace } from "@hypit/program-space";
+import { assertSpeechEvidenceAudioIdentity, sealSpeechEvidenceAudio, speechEvidenceSampleBoundary, speechTypes } from "@hypit/speech";
+import type { SpeechEvidenceAudio } from "@hypit/speech";
import {
mediaPipelineCapabilities,
verifyAudioExtractionRequest,
@@ -23,12 +23,12 @@ import {
type ProjectSpeechEvidenceAudioNeed,
type RenderAudioNeed,
type TransformMediaNeed,
-} from "@narratage/media-pipeline";
-import type { AudioProgramClip, AudioProgramPlan, MediaTransformOperation } from "@narratage/media-pipeline";
+} from "@hypit/media-pipeline";
+import type { AudioProgramClip, AudioProgramPlan, MediaTransformOperation } from "@hypit/media-pipeline";
import {
canonicalize,
- } from "@narratage/protocol";
-import type { BlobRef, CanonicalValue, StoredValue } from "@narratage/protocol";
+ } from "@hypit/protocol";
+import type { BlobRef, CanonicalValue, StoredValue } from "@hypit/protocol";
import { parseMediaInspection } from "./probe.js";
import {
@@ -42,7 +42,7 @@ import type { AnimatedWebp } from "./webp.js";
/**
* Where the bytes live and which binaries transform them.
*
- * These byte operations are the whole of Narratage's media execution, and they
+ * These byte operations are the whole of Hypit's media execution, and they
* are written once. A local Provider supplies the Build's own ArtifactStore and
* the ffmpeg on its PATH; a Lambda Provider supplies an S3-backed gateway and
* the ffmpeg carried by its deployment. Nothing below knows which it is, so the two
@@ -580,7 +580,7 @@ export async function executeInspectMedia(
constraints: CanonicalValue,
): Promise<MediaOperationResult> {
const need = inspectNeed(constraints);
- const work = await mkdtemp(join(tmpdir(), "narratage-media-inspect-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-media-inspect-"));
try {
const input = join(work, "source.bin");
const animationBytes = need.source.mediaType === "image/webp" ? await sourceBytes(env, need.source) : undefined;
@@ -609,7 +609,7 @@ export async function executeNormalizeMedia(
): Promise<MediaOperationResult> {
const need = normalizeNeed(constraints);
const plan = normalizationPlan(need.inspection, need.selection, need.frameRate);
- const work = await mkdtemp(join(tmpdir(), "narratage-media-normalize-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-media-normalize-"));
try {
const input = join(work, "source.bin");
const animationBytes = need.source.mediaType === "image/webp" ? await sourceBytes(env, need.source) : undefined;
@@ -788,7 +788,7 @@ export async function executeTransformMedia(
const need = transformNeed(constraints);
const media = need.media;
const plan = compileTransformPlan(media, need.program.operations);
- const work = await mkdtemp(join(tmpdir(), "narratage-media-transform-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-media-transform-"));
try {
const visualPath = join(work, "visual.mp4");
const audioPath = join(work, "audio.wav");
@@ -851,7 +851,7 @@ export async function executeExtractAudio(
constraints: CanonicalValue,
): Promise<MediaOperationResult> {
const need = extractAudioNeed(constraints);
- const work = await mkdtemp(join(tmpdir(), "narratage-media-extract-audio-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-media-extract-audio-"));
try {
const input = join(work, "source.bin");
const output = join(work, "audio.wav");
@@ -887,7 +887,7 @@ export async function executeExtractFrame(
constraints: CanonicalValue,
): Promise<MediaOperationResult> {
const need = extractFrameNeed(constraints);
- const work = await mkdtemp(join(tmpdir(), "narratage-media-extract-frame-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-media-extract-frame-"));
try {
const input = join(work, "source.bin");
const output = join(work, "frame.png");
@@ -935,7 +935,7 @@ export async function executeProjectSpeechEvidenceAudio(
constraints: CanonicalValue,
): Promise<MediaOperationResult> {
const need = evidenceAudioNeed(constraints);
- const work = await mkdtemp(join(tmpdir(), "narratage-media-speech-evidence-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-media-speech-evidence-"));
try {
const input = join(work, "speech-master.wav");
const output = join(work, "alignment-evidence.wav");
@@ -999,7 +999,7 @@ export async function executeRenderTimelineAudio(
): Promise<MediaOperationResult> {
const need = renderAudioNeed(constraints);
const plan: AudioProgramPlan = need.plan;
- const work = await mkdtemp(join(tmpdir(), "narratage-media-audio-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-media-audio-"));
try {
const artifacts = new Map<string, { source: BlobRef; path: string; inputIndex: number; sampleFrames: number }>();
for (const clip of plan.clips) {
@@ -1085,7 +1085,7 @@ export async function executeMuxProgramMedia(
constraints: CanonicalValue,
): Promise<MediaOperationResult> {
const need = muxMediaNeed(constraints);
- const work = await mkdtemp(join(tmpdir(), "narratage-media-mux-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-media-mux-"));
try {
const visualPath = join(work, "visual.mp4");
const audioPath = join(work, "audio.wav");
diff --git a/packages/media-execution/src/probe.ts b/packages/media-execution/src/probe.ts
index ebc12263..60cf55a9 100644
--- a/packages/media-execution/src/probe.ts
+++ b/packages/media-execution/src/probe.ts
@@ -1,6 +1,6 @@
-import { sealMediaInspection } from "@narratage/media";
-import type { MediaAudioStream, MediaInspection, MediaOtherStream, MediaRational, MediaStream, MediaTimestamp, MediaVideoStream } from "@narratage/media";
-import type { BlobRef } from "@narratage/protocol";
+import { sealMediaInspection } from "@hypit/media";
+import type { MediaAudioStream, MediaInspection, MediaOtherStream, MediaRational, MediaStream, MediaTimestamp, MediaVideoStream } from "@hypit/media";
+import type { BlobRef } from "@hypit/protocol";
type JsonObject = Record<string, unknown>;
diff --git a/packages/media-execution/src/surface.ts b/packages/media-execution/src/surface.ts
index 855d1f24..51a8039b 100644
--- a/packages/media-execution/src/surface.ts
+++ b/packages/media-execution/src/surface.ts
@@ -3,8 +3,8 @@ import { mkdtemp, rm, writeFile } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join } from "node:path";
-import { assertCompositableSurfaceRef } from "@narratage/media";
-import type { CompositableSurfaceRef } from "@narratage/media";
+import { assertCompositableSurfaceRef } from "@hypit/media";
+import type { CompositableSurfaceRef } from "@hypit/media";
type JsonObject = Record<string, unknown>;
@@ -212,7 +212,7 @@ export async function verifyCompositableSurfaceBytes(options: {
const ffprobePath = options.ffprobePath ?? "ffprobe";
const timeoutMs = options.processTimeoutMs ?? 120_000;
const maxOutputBytes = options.maxProbeOutputBytes ?? 8 * 1024 * 1024;
- const directory = await mkdtemp(join(tmpdir(), "narratage-surface-verify-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-surface-verify-"));
try {
const path = join(directory, `surface${suffix(options.surface.artifact.mediaType)}`);
await writeFile(path, options.bytes);
diff --git a/packages/media-execution/test/probe.test.ts b/packages/media-execution/test/probe.test.ts
index 186d49cf..4f17498b 100644
--- a/packages/media-execution/test/probe.test.ts
+++ b/packages/media-execution/test/probe.test.ts
@@ -3,7 +3,7 @@ import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { parseMediaInspection } from "@narratage/media-execution";
+import { parseMediaInspection } from "@hypit/media-execution";
test("probe derives the last decoded-unit duration instead of adding whole-stream duration_ts", () => {
const inspection = parseMediaInspection({
diff --git a/packages/media-execution/test/surface.test.ts b/packages/media-execution/test/surface.test.ts
index 1a815523..9e08d21b 100644
--- a/packages/media-execution/test/surface.test.ts
+++ b/packages/media-execution/test/surface.test.ts
@@ -6,8 +6,8 @@ import { join } from "node:path";
import assert from "node:assert/strict";
import test from "node:test";
-import { verifyCompositableSurfaceBytes } from "@narratage/media-execution";
-import type { CompositableSurfaceRef } from "@narratage/media";
+import { verifyCompositableSurfaceBytes } from "@hypit/media-execution";
+import type { CompositableSurfaceRef } from "@hypit/media";
const hasMediaTools = spawnSync("ffmpeg", ["-version"], { stdio: "ignore" }).status === 0
&& spawnSync("ffprobe", ["-version"], { stdio: "ignore" }).status === 0;
@@ -46,7 +46,7 @@ function surface(bytes: Uint8Array, options: {
test("Surface byte admission accepts matching still/video bytes and rejects contradictions", {
skip: !hasMediaTools,
}, async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-surface-test-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-surface-test-"));
try {
const opaquePath = join(directory, "opaque.png");
const alphaPath = join(directory, "alpha.png");
diff --git a/packages/media-pipeline/README.md b/packages/media-pipeline/README.md
index b7338559..0c008bd2 100644
--- a/packages/media-pipeline/README.md
+++ b/packages/media-pipeline/README.md
@@ -1,4 +1,4 @@
-# `@narratage/media-pipeline`
+# `@hypit/media-pipeline`
Provider-neutral media execution vocabulary. Ingestion contributes one ordinary finite Fragment:
diff --git a/packages/media-pipeline/package.json b/packages/media-pipeline/package.json
index bd89f7cd..acb6eb94 100644
--- a/packages/media-pipeline/package.json
+++ b/packages/media-pipeline/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/media-pipeline",
+ "name": "@hypit/media-pipeline",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,19 +7,19 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/markup": "workspace:*"
}
}
diff --git a/packages/media-pipeline/src/activation.ts b/packages/media-pipeline/src/activation.ts
index f3e106de..e20e3be4 100644
--- a/packages/media-pipeline/src/activation.ts
+++ b/packages/media-pipeline/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeSynchronizedMediaSurface,
decodeExtractAudioSurface,
@@ -10,8 +10,8 @@ import {
mediaPipelineMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: mediaPipelineManifest }],
components: [mediaPipelineComponent],
hostFacets: [createMarkupSurfaceHostFacet({
@@ -32,4 +32,4 @@ export const narratagePackage = {
handler: decodeExtractFrameSurface,
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/media-pipeline/src/audio-plan.ts b/packages/media-pipeline/src/audio-plan.ts
index 9dce327f..db47d1c0 100644
--- a/packages/media-pipeline/src/audio-plan.ts
+++ b/packages/media-pipeline/src/audio-plan.ts
@@ -1,8 +1,8 @@
-import { programFrameSampleBoundary, programSpaceFrameCount } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { assertCompositionIdentity } from "@narratage/composition";
-import type { Composition } from "@narratage/composition";
-import { canonicalize, isDigest } from "@narratage/protocol";
+import { programFrameSampleBoundary, programSpaceFrameCount } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { assertCompositionIdentity } from "@hypit/composition";
+import type { Composition } from "@hypit/composition";
+import { canonicalize, isDigest } from "@hypit/protocol";
import type { AudioProgramPlan } from "./types.js";
diff --git a/packages/media-pipeline/src/component.ts b/packages/media-pipeline/src/component.ts
index 48400de7..db04d9e8 100644
--- a/packages/media-pipeline/src/component.ts
+++ b/packages/media-pipeline/src/component.ts
@@ -1,14 +1,14 @@
-import { mediaComponent } from "@narratage/media";
-import type { ComponentPackage } from "@narratage/component-kit";
-import { verifyMediaInspection, verifyMediaStreamSelection, verifyMuxedMedia, verifyRenderedVisual, verifySynchronizedMedia, verifyTimelineAudio } from "@narratage/media";
-import type { MediaInspection, MediaStreamSelection, MuxedMedia, RenderedVisual, TimelineAudio } from "@narratage/media";
-import { assertProgramSpaceIdentity, programSpaceSampleFrames } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { assertSpeechAudioBasisIdentity, speechEvidenceSampleBoundary } from "@narratage/speech";
-import type { SpeechAudioBasis } from "@narratage/speech";
-import type { Composition } from "@narratage/composition";
-import type { BlobRef, CanonicalValue, StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
+import { mediaComponent } from "@hypit/media";
+import type { ComponentPackage } from "@hypit/component-kit";
+import { verifyMediaInspection, verifyMediaStreamSelection, verifyMuxedMedia, verifyRenderedVisual, verifySynchronizedMedia, verifyTimelineAudio } from "@hypit/media";
+import type { MediaInspection, MediaStreamSelection, MuxedMedia, RenderedVisual, TimelineAudio } from "@hypit/media";
+import { assertProgramSpaceIdentity, programSpaceSampleFrames } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { assertSpeechAudioBasisIdentity, speechEvidenceSampleBoundary } from "@hypit/speech";
+import type { SpeechAudioBasis } from "@hypit/speech";
+import type { Composition } from "@hypit/composition";
+import type { BlobRef, CanonicalValue, StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
import {
compileAudioProgramPlan,
diff --git a/packages/media-pipeline/src/fragment.ts b/packages/media-pipeline/src/fragment.ts
index c3359cd4..2132ed26 100644
--- a/packages/media-pipeline/src/fragment.ts
+++ b/packages/media-pipeline/src/fragment.ts
@@ -1,6 +1,6 @@
-import { mediaTypes } from "@narratage/media";
-import { artifactTypes } from "@narratage/artifact";
-import { sealGraphFragment } from "@narratage/elaborator";
+import { mediaTypes } from "@hypit/media";
+import { artifactTypes } from "@hypit/artifact";
+import { sealGraphFragment } from "@hypit/elaborator";
import {
mediaPipelineProducers,
diff --git a/packages/media-pipeline/src/manifest.ts b/packages/media-pipeline/src/manifest.ts
index 4ccbc1ec..c4051169 100644
--- a/packages/media-pipeline/src/manifest.ts
+++ b/packages/media-pipeline/src/manifest.ts
@@ -1,18 +1,18 @@
-import { artifactDependency } from "@narratage/artifact";
-import { mediaDependency, mediaTypes } from "@narratage/media";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import { speechDependency, speechTypes } from "@narratage/speech";
-import { compositionDependency, compositionTypes } from "@narratage/composition";
-import { artifactTypes } from "@narratage/artifact";
+import { artifactDependency } from "@hypit/artifact";
+import { mediaDependency, mediaTypes } from "@hypit/media";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import { speechDependency, speechTypes } from "@hypit/speech";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
+import { artifactTypes } from "@hypit/artifact";
import type {
CapabilityRef,
ModuleManifest,
ProducerRef,
TypeRef,
ValueSchema,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
-export const mediaPipelineModuleRef = { name: "@narratage/media-pipeline", version: "1" } as const;
+export const mediaPipelineModuleRef = { name: "@hypit/media-pipeline", version: "1" } as const;
export const mediaPipelineTypes = {
selectionRequest: { module: mediaPipelineModuleRef, name: "MediaSelectionRequest" },
audioProgramPlan: { module: mediaPipelineModuleRef, name: "AudioProgramPlan" },
@@ -219,7 +219,7 @@ export const mediaPipelineMarkupSurfaces = [
export const mediaPipelineManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: mediaPipelineModuleRef.name,
version: mediaPipelineModuleRef.version,
dependencies: [
diff --git a/packages/media-pipeline/src/operations.ts b/packages/media-pipeline/src/operations.ts
index 63b2ae22..183b572e 100644
--- a/packages/media-pipeline/src/operations.ts
+++ b/packages/media-pipeline/src/operations.ts
@@ -1,6 +1,6 @@
-import { verifyMediaInspection } from "@narratage/media";
-import type { MediaAudioStream, MediaInspection, MediaVideoStream } from "@narratage/media";
-import { canonicalize } from "@narratage/protocol";
+import { verifyMediaInspection } from "@hypit/media";
+import type { MediaAudioStream, MediaInspection, MediaVideoStream } from "@hypit/media";
+import { canonicalize } from "@hypit/protocol";
import type {
AudioExtractionRequest,
diff --git a/packages/media-pipeline/src/selection.ts b/packages/media-pipeline/src/selection.ts
index 95f7952f..10f3fa82 100644
--- a/packages/media-pipeline/src/selection.ts
+++ b/packages/media-pipeline/src/selection.ts
@@ -1,10 +1,10 @@
-import type { Narrative } from "@narratage/narrative";
-import { sealMediaStreamSelection, verifyMediaInspection } from "@narratage/media";
-import type { MediaAudioStream, MediaInspection, MediaStreamSelection, MediaVideoStream } from "@narratage/media";
-import type { SpeechBasis } from "@narratage/speech";
+import type { Narrative } from "@hypit/narrative";
+import { sealMediaStreamSelection, verifyMediaInspection } from "@hypit/media";
+import type { MediaAudioStream, MediaInspection, MediaStreamSelection, MediaVideoStream } from "@hypit/media";
+import type { SpeechBasis } from "@hypit/speech";
import {
canonicalize,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type { MediaSelectionRequest } from "./types.js";
diff --git a/packages/media-pipeline/src/surface.ts b/packages/media-pipeline/src/surface.ts
index dabb4e3a..072ae675 100644
--- a/packages/media-pipeline/src/surface.ts
+++ b/packages/media-pipeline/src/surface.ts
@@ -1,5 +1,5 @@
-import { artifactTypes } from "@narratage/artifact";
-import type { StructuredElement, StructuredSurfaceHandler, SurfaceResolvedReference, MarkupAttributeValue } from "@narratage/markup";
+import { artifactTypes } from "@hypit/artifact";
+import type { StructuredElement, StructuredSurfaceHandler, SurfaceResolvedReference, MarkupAttributeValue } from "@hypit/markup";
import {
extractAudioFragment,
diff --git a/packages/media-pipeline/src/types.ts b/packages/media-pipeline/src/types.ts
index 5ec403c5..49918200 100644
--- a/packages/media-pipeline/src/types.ts
+++ b/packages/media-pipeline/src/types.ts
@@ -1,5 +1,5 @@
-import type { BlobRef } from "@narratage/protocol";
-import type { MediaInspection, MediaRational, MediaStreamSelection, RenderedVisual, TimelineAudio } from "@narratage/media";
+import type { BlobRef } from "@hypit/protocol";
+import type { MediaInspection, MediaRational, MediaStreamSelection, RenderedVisual, TimelineAudio } from "@hypit/media";
export type MediaSelectionRequest = {
readonly video:
@@ -68,7 +68,7 @@ export type FrameExtractionRequest = {
};
export type TransformMediaNeed = {
- readonly media: import("@narratage/media").SynchronizedMedia;
+ readonly media: import("@hypit/media").SynchronizedMedia;
readonly program: MediaTransformProgram;
};
diff --git a/packages/media-pipeline/test/manifest.test.ts b/packages/media-pipeline/test/manifest.test.ts
index 0797c392..8a013f50 100644
--- a/packages/media-pipeline/test/manifest.test.ts
+++ b/packages/media-pipeline/test/manifest.test.ts
@@ -1,4 +1,4 @@
-import { artifactTypes } from "@narratage/artifact";
+import { artifactTypes } from "@hypit/artifact";
import assert from "node:assert/strict";
import test from "node:test";
diff --git a/packages/media-pipeline/test/selection.test.ts b/packages/media-pipeline/test/selection.test.ts
index a0c88278..b0f797aa 100644
--- a/packages/media-pipeline/test/selection.test.ts
+++ b/packages/media-pipeline/test/selection.test.ts
@@ -1,5 +1,5 @@
-import { sealMediaInspection, verifyMediaStreamSelection } from "@narratage/media";
-import type { MediaInspection, MediaVideoStream } from "@narratage/media";
+import { sealMediaInspection, verifyMediaStreamSelection } from "@hypit/media";
+import type { MediaInspection, MediaVideoStream } from "@hypit/media";
import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
diff --git a/packages/media-track/README.md b/packages/media-track/README.md
index b2b467dc..d00c36ed 100644
--- a/packages/media-track/README.md
+++ b/packages/media-track/README.md
@@ -1,4 +1,4 @@
-# `@narratage/media-track`
+# `@hypit/media-track`
Official provider-free Media Item and Sequence authoring package.
@@ -19,5 +19,5 @@ restricted internal projection.
The automatic lowering is Surface behavior, not a privileged Runtime route: it produces the same
ordinary Media Pipeline Operations that an author can write explicitly through
-`@narratage/media-pipeline`. The package does not add Media, B-roll or Provider meaning to Core,
+`@hypit/media-pipeline`. The package does not add Media, B-roll or Provider meaning to Core,
Film, Composition or HyperFrames. “B-roll” is an editorial use of an ordinary Item or Sequence.
diff --git a/packages/media-track/package.json b/packages/media-track/package.json
index 4d8ecee0..9d91392a 100644
--- a/packages/media-track/package.json
+++ b/packages/media-track/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/media-track",
+ "name": "@hypit/media-track",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,23 +7,23 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/temporal": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/temporal": "workspace:*"
}
}
diff --git a/packages/media-track/src/activation.ts b/packages/media-track/src/activation.ts
index a4f2c1b9..23d5fb29 100644
--- a/packages/media-track/src/activation.ts
+++ b/packages/media-track/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeMediaTrackSurface,
mediaTrackComponent,
@@ -7,8 +7,8 @@ import {
mediaTrackMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: mediaTrackManifest }],
components: [mediaTrackComponent],
hostFacets: [createMarkupSurfaceHostFacet({
@@ -17,4 +17,4 @@ export const narratagePackage = {
handler: decodeMediaTrackSurface,
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/media-track/src/author.ts b/packages/media-track/src/author.ts
index bfa91041..9d4fff1f 100644
--- a/packages/media-track/src/author.ts
+++ b/packages/media-track/src/author.ts
@@ -1,6 +1,6 @@
-import type { SvsRecipe } from "@narratage/svs";
-import { decodeContentFitProperties } from "@narratage/spatial";
-import type { ContentFit } from "@narratage/spatial";
+import type { SvsRecipe } from "@hypit/svs";
+import { decodeContentFitProperties } from "@hypit/spatial";
+import type { ContentFit } from "@hypit/spatial";
import {
sealMediaPaintLayerSpec,
diff --git a/packages/media-track/src/component.ts b/packages/media-track/src/component.ts
index e35a6fb5..f899b095 100644
--- a/packages/media-track/src/component.ts
+++ b/packages/media-track/src/component.ts
@@ -1,11 +1,11 @@
-import type { ComponentPackage, ProducerHandlerContext } from "@narratage/component-kit";
-import type { CompositableSurfaceRef, SynchronizedMedia } from "@narratage/media";
-import type { NarrativeExcerpt, NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize } from "@narratage/protocol";
-import type { BlobRef, StoredValue } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import type { CanvasSpace, ContentFit, IntrinsicExtent, SpatialFrame, SpatialPath } from "@narratage/spatial";
+import type { ComponentPackage, ProducerHandlerContext } from "@hypit/component-kit";
+import type { CompositableSurfaceRef, SynchronizedMedia } from "@hypit/media";
+import type { NarrativeExcerpt, NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize } from "@hypit/protocol";
+import type { BlobRef, StoredValue } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import type { CanvasSpace, ContentFit, IntrinsicExtent, SpatialFrame, SpatialPath } from "@hypit/spatial";
import {
appendMediaPaintLayer,
diff --git a/packages/media-track/src/fragment.ts b/packages/media-track/src/fragment.ts
index 782b8848..b28ac9c5 100644
--- a/packages/media-track/src/fragment.ts
+++ b/packages/media-track/src/fragment.ts
@@ -1,8 +1,8 @@
-import { artifactTypes } from "@narratage/artifact";
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import { programSpaceTypes } from "@narratage/program-space";
-import { spatialTypes } from "@narratage/spatial";
+import { artifactTypes } from "@hypit/artifact";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import { programSpaceTypes } from "@hypit/program-space";
+import { spatialTypes } from "@hypit/spatial";
import { mediaTrackProducers, mediaTrackTypes } from "./manifest.js";
diff --git a/packages/media-track/src/layers.ts b/packages/media-track/src/layers.ts
index f00ccbd1..d6805dbd 100644
--- a/packages/media-track/src/layers.ts
+++ b/packages/media-track/src/layers.ts
@@ -2,15 +2,15 @@ import {
assertCompositableSurfaceRef,
synchronizedMediaSampleFrames,
verifySynchronizedMedia,
-} from "@narratage/media";
-import type { CompositableSurfaceRef, SynchronizedMedia } from "@narratage/media";
-import { canonicalize, isDigest } from "@narratage/protocol";
-import type { BlobRef } from "@narratage/protocol";
+} from "@hypit/media";
+import type { CompositableSurfaceRef, SynchronizedMedia } from "@hypit/media";
+import { canonicalize, isDigest } from "@hypit/protocol";
+import type { BlobRef } from "@hypit/protocol";
import {
assertContentFit,
assertIntrinsicExtent,
-} from "@narratage/spatial";
-import type { ContentFit, IntrinsicExtent } from "@narratage/spatial";
+} from "@hypit/spatial";
+import type { ContentFit, IntrinsicExtent } from "@hypit/spatial";
import type {
MediaGradientStop,
diff --git a/packages/media-track/src/lower.ts b/packages/media-track/src/lower.ts
index 62ae0b26..ea9a4b6d 100644
--- a/packages/media-track/src/lower.ts
+++ b/packages/media-track/src/lower.ts
@@ -3,10 +3,10 @@ import type {
VisualElement,
VisualStyleDeclaration,
VisualTimedSampling,
-} from "@narratage/composition";
-import type { ProgramSpace } from "@narratage/program-space";
-import { fitContent } from "@narratage/spatial";
-import type { SpatialFrame, SpatialPath } from "@narratage/spatial";
+} from "@hypit/composition";
+import type { ProgramSpace } from "@hypit/program-space";
+import { fitContent } from "@hypit/spatial";
+import type { SpatialFrame, SpatialPath } from "@hypit/spatial";
import { lifecycleAnimation, samplingAnimation, sustainAnimation } from "./motion.js";
import { resolveVisualSampling } from "./sampling.js";
diff --git a/packages/media-track/src/manifest.ts b/packages/media-track/src/manifest.ts
index 50b6328a..72c1ff75 100644
--- a/packages/media-track/src/manifest.ts
+++ b/packages/media-track/src/manifest.ts
@@ -1,25 +1,25 @@
-import { artifactDependency, artifactTypes } from "@narratage/artifact";
-import { compositionDependency, compositionTypes } from "@narratage/composition";
+import { artifactDependency, artifactTypes } from "@hypit/artifact";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
import {
compositableSurfaceSchema,
mediaDependency,
mediaTypes,
-} from "@narratage/media";
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import { mediaPipelineManifest, mediaPipelineModuleRef } from "@narratage/media-pipeline";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { semanticMapDependency, semanticMapTypes } from "@narratage/semantic-map";
+} from "@hypit/media";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import { mediaPipelineManifest, mediaPipelineModuleRef } from "@hypit/media-pipeline";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { semanticMapDependency, semanticMapTypes } from "@hypit/semantic-map";
import {
contentFitSchema,
intrinsicExtentSchema,
spatialDependency,
spatialFrameSchema,
spatialTypes,
-} from "@narratage/spatial";
-import { temporalDependency } from "@narratage/temporal";
+} from "@hypit/spatial";
+import { temporalDependency } from "@hypit/temporal";
-export const mediaTrackModuleRef = { name: "@narratage/media-track", version: "1" } as const;
+export const mediaTrackModuleRef = { name: "@hypit/media-track", version: "1" } as const;
export const mediaTrackTypes = {
header: { module: mediaTrackModuleRef, name: "MediaTrackHeader" },
paintLayerSpec: { module: mediaTrackModuleRef, name: "MediaPaintLayerSpec" },
@@ -295,7 +295,7 @@ export const mediaTrackMarkupSurfaces = [{
export const mediaTrackManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: mediaTrackModuleRef.name,
version: mediaTrackModuleRef.version,
dependencies: [
diff --git a/packages/media-track/src/motion.ts b/packages/media-track/src/motion.ts
index 2f96c16b..a3557478 100644
--- a/packages/media-track/src/motion.ts
+++ b/packages/media-track/src/motion.ts
@@ -2,7 +2,7 @@ import type {
VisualAnimation,
VisualEasing,
VisualStyleDeclaration,
-} from "@narratage/composition";
+} from "@hypit/composition";
import type {
MediaEdgeMotion,
@@ -11,7 +11,7 @@ import type {
MediaSamplingMotion,
MediaSustainMotion,
} from "./types.js";
-import type { CanvasSpace, SpatialFrame } from "@narratage/spatial";
+import type { CanvasSpace, SpatialFrame } from "@hypit/spatial";
function assert(condition: unknown, message: string): asserts condition {
if (!condition) throw new Error(message);
diff --git a/packages/media-track/src/presentation.ts b/packages/media-track/src/presentation.ts
index ed654df7..0cadaed3 100644
--- a/packages/media-track/src/presentation.ts
+++ b/packages/media-track/src/presentation.ts
@@ -1,4 +1,4 @@
-import { assertSpatialPath } from "@narratage/spatial";
+import { assertSpatialPath } from "@hypit/spatial";
import type { MediaFramePresentation } from "./types.js";
diff --git a/packages/media-track/src/program.ts b/packages/media-track/src/program.ts
index 2390e360..4830e05f 100644
--- a/packages/media-track/src/program.ts
+++ b/packages/media-track/src/program.ts
@@ -3,22 +3,22 @@ import {
assertVisualTrackIdentity,
sealAudioTrack,
sealVisualTrack,
-} from "@narratage/composition";
-import type { AudioClip, AudioTrack, VisualTrack } from "@narratage/composition";
-import type { NarrativeExcerpt, NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
+} from "@hypit/composition";
+import type { AudioClip, AudioTrack, VisualTrack } from "@hypit/composition";
+import type { NarrativeExcerpt, NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
import {
assertProgramSpaceIdentity,
programFrameSampleBoundary,
programSpaceFrameCount,
programSpaceSampleFrames,
-} from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize, isDigest } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import { assertCanvasSpace, assertSpatialFrame } from "@narratage/spatial";
-import type { CanvasSpace } from "@narratage/spatial";
-import { assertSpatialPath } from "@narratage/spatial";
-import type { SpatialPath } from "@narratage/spatial";
+} from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize, isDigest } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import { assertCanvasSpace, assertSpatialFrame } from "@hypit/spatial";
+import type { CanvasSpace } from "@hypit/spatial";
+import { assertSpatialPath } from "@hypit/spatial";
+import type { SpatialPath } from "@hypit/spatial";
import {
locateMomentOccurrences,
locateSelectionOccurrences,
@@ -26,8 +26,8 @@ import {
projectProgramWindow,
projectSegmentWindow,
projectSelectionWindows,
-} from "@narratage/temporal";
-import type { ProjectedOccurrence, TemporalDuration, TemporalPointExpression } from "@narratage/temporal";
+} from "@hypit/temporal";
+import type { ProjectedOccurrence, TemporalDuration, TemporalPointExpression } from "@hypit/temporal";
import {
assertMediaIdentity,
@@ -494,7 +494,7 @@ export function assertMediaTrackProgramIdentity(value: MediaTrackProgram, space:
export function projectMediaVisualTrack(space: ProgramSpace, program: MediaTrackProgram): VisualTrack {
assertMediaTrackProgramIdentity(program, space);
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: program.id,
presents: [
...program.items.map((item) => ({
diff --git a/packages/media-track/src/restricted-speech.ts b/packages/media-track/src/restricted-speech.ts
index 9ba3ed35..200a3a57 100644
--- a/packages/media-track/src/restricted-speech.ts
+++ b/packages/media-track/src/restricted-speech.ts
@@ -1,9 +1,9 @@
-import type { VisualPresent } from "@narratage/composition";
-import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import type { BlobRef } from "@narratage/protocol";
-import { assertContentFit, assertIntrinsicExtent, assertSpatialFrame } from "@narratage/spatial";
-import type { ContentFit, IntrinsicExtent, SpatialFrame } from "@narratage/spatial";
+import type { VisualPresent } from "@hypit/composition";
+import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import type { BlobRef } from "@hypit/protocol";
+import { assertContentFit, assertIntrinsicExtent, assertSpatialFrame } from "@hypit/spatial";
+import type { ContentFit, IntrinsicExtent, SpatialFrame } from "@hypit/spatial";
import { lowerMediaItemElements } from "./lower.js";
import type { MediaItemProgram } from "./types.js";
diff --git a/packages/media-track/src/sampling.ts b/packages/media-track/src/sampling.ts
index f14a5dd7..74a573ee 100644
--- a/packages/media-track/src/sampling.ts
+++ b/packages/media-track/src/sampling.ts
@@ -2,9 +2,9 @@ import type {
VisualSamplingRational,
VisualSamplingSegment,
VisualTimedSampling,
-} from "@narratage/composition";
-import { assertProgramSpaceIdentity } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
+} from "@hypit/composition";
+import { assertProgramSpaceIdentity } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
import type { MediaVisualOccupancy, MediaVisualTrim } from "./types.js";
diff --git a/packages/media-track/src/sequence.ts b/packages/media-track/src/sequence.ts
index bfe07435..f715d4a2 100644
--- a/packages/media-track/src/sequence.ts
+++ b/packages/media-track/src/sequence.ts
@@ -3,19 +3,19 @@ import type {
VisualEasing,
VisualPresent,
VisualStyleDeclaration,
-} from "@narratage/composition";
-import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize } from "@narratage/protocol";
-import { assertCanvasSpace, assertSpatialFrame } from "@narratage/spatial";
-import type { CanvasSpace } from "@narratage/spatial";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
+} from "@hypit/composition";
+import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize } from "@hypit/protocol";
+import { assertCanvasSpace, assertSpatialFrame } from "@hypit/spatial";
+import type { CanvasSpace } from "@hypit/spatial";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
import {
locateMomentOccurrences,
locateSelectionOccurrences,
resolveTriggeredSchedule,
-} from "@narratage/temporal";
+} from "@hypit/temporal";
import { assertMediaIdentity, assertMediaLayerSet } from "./layers.js";
import { lowerMediaItemElements } from "./lower.js";
diff --git a/packages/media-track/src/sounds.ts b/packages/media-track/src/sounds.ts
index f962b71e..57c9dfcd 100644
--- a/packages/media-track/src/sounds.ts
+++ b/packages/media-track/src/sounds.ts
@@ -1,6 +1,6 @@
-import { synchronizedMediaSampleFrames, verifySynchronizedMedia } from "@narratage/media";
-import type { SynchronizedMedia } from "@narratage/media";
-import { canonicalize } from "@narratage/protocol";
+import { synchronizedMediaSampleFrames, verifySynchronizedMedia } from "@hypit/media";
+import type { SynchronizedMedia } from "@hypit/media";
+import { canonicalize } from "@hypit/protocol";
import { assertMediaIdentity } from "./layers.js";
import type { MediaSoundSet, MediaSoundSpec } from "./types.js";
diff --git a/packages/media-track/src/surface.ts b/packages/media-track/src/surface.ts
index 82a01581..3e9bb981 100644
--- a/packages/media-track/src/surface.ts
+++ b/packages/media-track/src/surface.ts
@@ -1,29 +1,29 @@
-import { artifactTypes } from "@narratage/artifact";
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { FragmentOperation } from "@narratage/elaborator";
-import { mediaTypes } from "@narratage/media";
-import { mediaPipelineProducers } from "@narratage/media-pipeline";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import type { TypeRef } from "@narratage/protocol";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
+import { artifactTypes } from "@hypit/artifact";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { FragmentOperation } from "@hypit/elaborator";
+import { mediaTypes } from "@hypit/media";
+import { mediaPipelineProducers } from "@hypit/media-pipeline";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import type { TypeRef } from "@hypit/protocol";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceRecordDraft,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import type {
OccurrenceExpansion,
TemporalDuration,
TemporalPointExpression,
TemporalWindowProjection,
-} from "@narratage/temporal";
+} from "@hypit/temporal";
import {
decodeMediaFit,
diff --git a/packages/media-track/src/types.ts b/packages/media-track/src/types.ts
index 51879c90..e0dbfe4f 100644
--- a/packages/media-track/src/types.ts
+++ b/packages/media-track/src/types.ts
@@ -1,16 +1,16 @@
-import type { FrameSpan } from "@narratage/composition";
-import type { CompositableSurfaceRef, MediaRational } from "@narratage/media";
-import type { BlobRef } from "@narratage/protocol";
+import type { FrameSpan } from "@hypit/composition";
+import type { CompositableSurfaceRef, MediaRational } from "@hypit/media";
+import type { BlobRef } from "@hypit/protocol";
import type {
ContentFit,
IntrinsicExtent,
SpatialFrame,
SpatialPath,
-} from "@narratage/spatial";
+} from "@hypit/spatial";
import type {
OccurrenceExpansion,
TemporalWindowProjection,
-} from "@narratage/temporal";
+} from "@hypit/temporal";
/** Intrinsic visual truth resolved before Media authoring; never a Provider or lineage envelope. */
export type MediaVisualSource =
diff --git a/packages/media-track/test/media-track.test.ts b/packages/media-track/test/media-track.test.ts
index a994072d..23ca0fde 100644
--- a/packages/media-track/test/media-track.test.ts
+++ b/packages/media-track/test/media-track.test.ts
@@ -2,14 +2,14 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { sealComposition } from "@narratage/composition";
-import type { AudioTrack } from "@narratage/composition";
-import { compileHyperframesDocument } from "@narratage/hyperframes";
-import { mediaTypes } from "@narratage/media";
-import type { CompositableSurfaceRef, SynchronizedMedia } from "@narratage/media";
-import { mediaPipelineProducers } from "@narratage/media-pipeline";
-import { artifactTypes } from "@narratage/artifact";
-import { narrativeTypes } from "@narratage/narrative";
+import { sealComposition } from "@hypit/composition";
+import type { AudioTrack } from "@hypit/composition";
+import { compileHyperframesDocument } from "@hypit/hyperframes";
+import { mediaTypes } from "@hypit/media";
+import type { CompositableSurfaceRef, SynchronizedMedia } from "@hypit/media";
+import { mediaPipelineProducers } from "@hypit/media-pipeline";
+import { artifactTypes } from "@hypit/artifact";
+import { narrativeTypes } from "@hypit/narrative";
import {
appendMediaPaintLayer,
appendMediaSound,
@@ -46,23 +46,23 @@ import {
stillMediaTrackFragment,
mediaTrackManifest,
mediaTrackMarkupSurfaces,
-} from "@narratage/media-track";
+} from "@hypit/media-track";
import type {
MediaHandoffOperator,
MediaItemSpec,
MediaLayerSet,
MediaSequenceSpec,
-} from "@narratage/media-track";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import { sealProgramSpace } from "@narratage/program-space";
-import { programSpaceTypes } from "@narratage/program-space";
-import type { BlobRef } from "@narratage/protocol";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
-import type { StructuredElement, StructuredNode, SurfaceResolvedReference, MarkupAttributeValue } from "@narratage/markup";
+} from "@hypit/media-track";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import { sealProgramSpace } from "@hypit/program-space";
+import { programSpaceTypes } from "@hypit/program-space";
+import type { BlobRef } from "@hypit/protocol";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
+import type { StructuredElement, StructuredNode, SurfaceResolvedReference, MarkupAttributeValue } from "@hypit/markup";
const space = sealProgramSpace({
durationSec: 4,
@@ -279,7 +279,7 @@ test("self-blur is two explicit samples of one Artifact and Artifact collection
assert.equal(document.artifacts.length, 1);
assert.equal((document.html.match(new RegExp(source.digest, "gu")) ?? []).length, 0,
"HTML uses artifact URIs without the digest prefix spelling");
- assert.equal((document.html.match(/narratage-artifact:\/\/sha256\//gu) ?? []).length, 2);
+ assert.equal((document.html.match(/hypit-artifact:\/\/sha256\//gu) ?? []).length, 2);
const blurred = track.presents[0]!.elements.find((element) => element.id === "blurred");
assert.equal(blurred?.style.find((entry) => entry.name === "left")?.value, "-48px");
assert.equal(blurred?.style.find((entry) => entry.name === "top")?.value, "-48px");
diff --git a/packages/media/README.md b/packages/media/README.md
index b8e3db9f..7ea4f5fe 100644
--- a/packages/media/README.md
+++ b/packages/media/README.md
@@ -1,12 +1,12 @@
-# `@narratage/media`
+# `@hypit/media`
-Author-facing media declarations for the neutral `@narratage/media` contract module.
+Author-facing media declarations for the neutral `@hypit/media` contract module.
`<media:Image>`, `<media:Audio>` and `<media:Font>` request bytes through the Host-owned source-asset
capability. Image and Audio emit one content-addressed `BlobArtifact`; Font wraps the same immutable
bytes with exact weight/style metadata as a one-source `FontArtifactRef`. A logical font face may
also contain several exact Unicode-range sources when another package, such as
-`@narratage/fonts-open`, owns a sharded installed font. `FontStackRef` is the generic ordered value
+`@hypit/fonts-open`, owns a sharded installed font. `FontStackRef` is the generic ordered value
for one primary face followed by exact glyph fallbacks. Media declarations do not open files themselves,
inspect media, call a Provider or promote declared audio to speech. The consuming author package
decides whether an audio artifact is a voice reference, soundtrack, evidence source or something
diff --git a/packages/media/package.json b/packages/media/package.json
index 8003b62b..6543dbf4 100644
--- a/packages/media/package.json
+++ b/packages/media/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/media",
+ "name": "@hypit/media",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,13 +7,13 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/markup": "workspace:*"
}
}
diff --git a/packages/media/src/activation.ts b/packages/media/src/activation.ts
index c8747bc6..7d5604f0 100644
--- a/packages/media/src/activation.ts
+++ b/packages/media/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeMediaAudioSurface, decodeMediaFontSurface, decodeMediaImageSurface, mediaComponent,
@@ -7,8 +7,8 @@ import {
mediaMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: mediaManifest }],
components: [mediaComponent],
hostFacets: [
@@ -30,4 +30,4 @@ export const narratagePackage = {
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/media/src/component.ts b/packages/media/src/component.ts
index 713179e3..f7b57b76 100644
--- a/packages/media/src/component.ts
+++ b/packages/media/src/component.ts
@@ -1,4 +1,4 @@
-import type { ComponentPackage } from "@narratage/component-kit";
+import type { ComponentPackage } from "@hypit/component-kit";
import { verifyMediaInspection, verifyMediaStreamSelection, verifyMuxedMedia, verifyRenderedVisual, verifySynchronizedMedia, verifyTimelineAudio } from "./identity.js";
import { mediaTypes } from "./manifest.js";
function inline(value: { readonly kind: string; readonly value?: unknown }, subject: string): unknown { if (value.kind !== "inline") throw new Error(`${subject} must be inline`); return value.value; }
diff --git a/packages/media/src/identity.ts b/packages/media/src/identity.ts
index 59f210c3..4c5381de 100644
--- a/packages/media/src/identity.ts
+++ b/packages/media/src/identity.ts
@@ -1,8 +1,8 @@
import {
canonicalize,
isDigest,
-} from "@narratage/protocol";
-import type { BlobRef } from "@narratage/protocol";
+} from "@hypit/protocol";
+import type { BlobRef } from "@hypit/protocol";
import type {
MediaInspection,
diff --git a/packages/media/src/manifest.ts b/packages/media/src/manifest.ts
index 545294e2..bfb029d3 100644
--- a/packages/media/src/manifest.ts
+++ b/packages/media/src/manifest.ts
@@ -1,7 +1,7 @@
-import { artifactDependency, artifactTypes } from "@narratage/artifact";
-import type { ModuleManifest, TypeRef } from "@narratage/protocol";
+import { artifactDependency, artifactTypes } from "@hypit/artifact";
+import type { ModuleManifest, TypeRef } from "@hypit/protocol";
import { compositableSurfaceSchema, fontArtifactSchema, fontStackSchema, mediaInspectionSchema, mediaStreamSelectionSchema, muxedMediaSchema, renderedVisualSchema, synchronizedMediaSchema, timelineAudioSchema } from "./schema.js";
-export const mediaModuleRef = { name: "@narratage/media", version: "1" } as const;
+export const mediaModuleRef = { name: "@hypit/media", version: "1" } as const;
export const mediaTypes = {
inspection: { module: mediaModuleRef, name: "MediaInspection" },
streamSelection: { module: mediaModuleRef, name: "MediaStreamSelection" }, synchronized: { module: mediaModuleRef, name: "SynchronizedMedia" },
@@ -18,7 +18,7 @@ export const mediaMarkupSurfaces = [
] as const;
export const mediaManifest: ModuleManifest = {
- format: "narratage.module@1", name: mediaModuleRef.name, version: mediaModuleRef.version, dependencies: [artifactDependency],
+ format: "hypit.module@1", name: mediaModuleRef.name, version: mediaModuleRef.version, dependencies: [artifactDependency],
types: [
{ name: mediaTypes.inspection.name },
{ name: mediaTypes.streamSelection.name },
diff --git a/packages/media/src/render.ts b/packages/media/src/render.ts
index 20c33701..52a8fa84 100644
--- a/packages/media/src/render.ts
+++ b/packages/media/src/render.ts
@@ -1,5 +1,5 @@
-import { isDigest } from "@narratage/protocol";
-import type { BlobRef } from "@narratage/protocol";
+import { isDigest } from "@hypit/protocol";
+import type { BlobRef } from "@hypit/protocol";
const FONT_MEDIA_TYPES = new Set([
"font/otf",
diff --git a/packages/media/src/schema.ts b/packages/media/src/schema.ts
index 544b1bcb..4c5ebaee 100644
--- a/packages/media/src/schema.ts
+++ b/packages/media/src/schema.ts
@@ -1,4 +1,4 @@
-import type { ValueSchema } from "@narratage/protocol";
+import type { ValueSchema } from "@hypit/protocol";
const string = { kind: "string", minLength: 1 } as const;
const number = { kind: "number", minimum: 0 } as const;
const seconds = { kind: "number", minimum: 0 } as const;
diff --git a/packages/media/src/surface.ts b/packages/media/src/surface.ts
index 8e42d7a0..40f2f987 100644
--- a/packages/media/src/surface.ts
+++ b/packages/media/src/surface.ts
@@ -1,8 +1,8 @@
-import { artifactTypes } from "@narratage/artifact";
+import { artifactTypes } from "@hypit/artifact";
import type {
StructuredElement,
StructuredSurfaceHandler,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { assertFontArtifactRef } from "./render.js";
import { mediaTypes } from "./manifest.js";
diff --git a/packages/media/src/types.ts b/packages/media/src/types.ts
index 720c6915..a70e7c7c 100644
--- a/packages/media/src/types.ts
+++ b/packages/media/src/types.ts
@@ -1,4 +1,4 @@
-import type { BlobRef } from "@narratage/protocol";
+import type { BlobRef } from "@hypit/protocol";
export type MediaRational = {
readonly numerator: number;
diff --git a/packages/media/test/font-surface.test.ts b/packages/media/test/font-surface.test.ts
index c7b1437d..a06ec054 100644
--- a/packages/media/test/font-surface.test.ts
+++ b/packages/media/test/font-surface.test.ts
@@ -2,7 +2,7 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { decodeMediaFontSurface, mediaTypes } from "@narratage/media";
+import { decodeMediaFontSurface, mediaTypes } from "@hypit/media";
const range = { start: 0, end: 80 };
diff --git a/packages/mimo-tts/README.md b/packages/mimo-tts/README.md
index 831d52cc..64424a60 100644
--- a/packages/mimo-tts/README.md
+++ b/packages/mimo-tts/README.md
@@ -1,4 +1,4 @@
-# `@narratage/mimo-tts`
+# `@hypit/mimo-tts`
Exact model contracts and author Surfaces for Xiaomi MiMo V2.5 speech synthesis.
@@ -9,7 +9,7 @@ The package owns the three distinct model shapes:
- `mimo-v2.5-tts-voiceclone`: one explicit audio sample.
It contains no API URL, credential, retry, queue or Xiaomi wire encoding. Those belong to a Runtime
-Endpoint such as `@narratage/provider-xiaomi-mimo`. Every model returns the shared
+Endpoint such as `@hypit/provider-xiaomi-mimo`. Every model returns the shared
`GeneratedAudioSet`; author Surfaces expose its primary member as an ordinary `BlobArtifact`.
The `speech` attribute is an ordinary `Text` edge attached through the exact model's `text` port at
execution time; the Frontend never copies Script words into a request draft.
@@ -17,7 +17,7 @@ execution time; the Frontend never copies Script words into a request draft.
`optimize_text_preview` is intentionally absent: MiMo may not rewrite Script's exact speech truth.
```xml
-<import as="mimo" from="@narratage/mimo-tts@1"/>
+<import as="mimo" from="@hypit/mimo-tts@1"/>
<mimo:Preset id="narration" speech={story.segment.opening.speech} voice="Chloe">
Warm, direct and conversational.
diff --git a/packages/mimo-tts/package.json b/packages/mimo-tts/package.json
index 81f2d195..6ad3259d 100644
--- a/packages/mimo-tts/package.json
+++ b/packages/mimo-tts/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/mimo-tts",
+ "name": "@hypit/mimo-tts",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,15 +7,15 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/model-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/model-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/markup": "workspace:*"
}
}
diff --git a/packages/mimo-tts/src/activation.ts b/packages/mimo-tts/src/activation.ts
index 1999eef7..7e08e54a 100644
--- a/packages/mimo-tts/src/activation.ts
+++ b/packages/mimo-tts/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeMimoPresetSurface,
@@ -10,8 +10,8 @@ import {
mimoTtsMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: mimoTtsManifest }],
components: [mimoTtsComponent],
hostFacets: [
@@ -30,4 +30,4 @@ export const narratagePackage = {
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/mimo-tts/src/fragment.ts b/packages/mimo-tts/src/fragment.ts
index b4c4b2fe..4f36dfe8 100644
--- a/packages/mimo-tts/src/fragment.ts
+++ b/packages/mimo-tts/src/fragment.ts
@@ -1,5 +1,5 @@
-import { createExactModelPrimaryGenerationFragment } from "@narratage/model-kit";
-import type { ExactModelEndpoint, ExactModelMediaInput, ExactModelTextInput } from "@narratage/model-kit";
+import { createExactModelPrimaryGenerationFragment } from "@hypit/model-kit";
+import type { ExactModelEndpoint, ExactModelMediaInput, ExactModelTextInput } from "@hypit/model-kit";
/** Model result projection over the same graph-native request assembly as every exact model. */
export function createMimoTtsAudioFragment(
diff --git a/packages/mimo-tts/src/index.ts b/packages/mimo-tts/src/index.ts
index b7d869c0..ecee5cce 100644
--- a/packages/mimo-tts/src/index.ts
+++ b/packages/mimo-tts/src/index.ts
@@ -1,8 +1,8 @@
-import { sealGenerationPortRequest, sealGenerationRequestDraft, sealGenerationPortTable } from "@narratage/generation";
-import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@narratage/generation";
-import { defineExactModelModule } from "@narratage/model-kit";
+import { sealGenerationPortRequest, sealGenerationRequestDraft, sealGenerationPortTable } from "@hypit/generation";
+import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@hypit/generation";
+import { defineExactModelModule } from "@hypit/model-kit";
-export const mimoTtsModuleRef = { name: "@narratage/mimo-tts", version: "1" } as const;
+export const mimoTtsModuleRef = { name: "@hypit/mimo-tts", version: "1" } as const;
export const mimoTtsModels = [
"mimo-v2.5-tts",
"mimo-v2.5-tts-voicedesign",
diff --git a/packages/mimo-tts/src/surface.ts b/packages/mimo-tts/src/surface.ts
index af2b8a00..0cf7766c 100644
--- a/packages/mimo-tts/src/surface.ts
+++ b/packages/mimo-tts/src/surface.ts
@@ -1,19 +1,19 @@
-import { artifactTypes } from "@narratage/artifact";
+import { artifactTypes } from "@hypit/artifact";
import {
generationPort,
sealGenerationMediaBinding,
-} from "@narratage/generation";
-import type { GenerationMediaPort, GenerationPortValue } from "@narratage/generation";
-import { exactModelMediaInputNames, exactModelTextInputName } from "@narratage/model-kit";
-import type { ExactModelMediaInput, ExactModelTextInput } from "@narratage/model-kit";
-import type { CanonicalValue } from "@narratage/protocol";
-import { textTypes, verifyText } from "@narratage/text";
+} from "@hypit/generation";
+import type { GenerationMediaPort, GenerationPortValue } from "@hypit/generation";
+import { exactModelMediaInputNames, exactModelTextInputName } from "@hypit/model-kit";
+import type { ExactModelMediaInput, ExactModelTextInput } from "@hypit/model-kit";
+import type { CanonicalValue } from "@hypit/protocol";
+import { textTypes, verifyText } from "@hypit/text";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { createMimoTtsAudioFragment } from "./fragment.js";
import {
diff --git a/packages/mimo-tts/test/mimo-tts.test.ts b/packages/mimo-tts/test/mimo-tts.test.ts
index d26845f7..8e753923 100644
--- a/packages/mimo-tts/test/mimo-tts.test.ts
+++ b/packages/mimo-tts/test/mimo-tts.test.ts
@@ -2,11 +2,11 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { artifactTypes } from "@narratage/artifact";
-import { generationProducers, generationTypes } from "@narratage/generation";
-import { sealText, textTypes } from "@narratage/text";
-import { parseStructuredElement } from "@narratage/markup";
-import type { SurfaceResolvedReference } from "@narratage/markup";
+import { artifactTypes } from "@hypit/artifact";
+import { generationProducers, generationTypes } from "@hypit/generation";
+import { sealText, textTypes } from "@hypit/text";
+import { parseStructuredElement } from "@hypit/markup";
+import type { SurfaceResolvedReference } from "@hypit/markup";
import mimoNodePackage from "../src/activation.js";
import {
@@ -67,7 +67,7 @@ test("MiMo declares three audio models without Provider facts", () => {
});
test("one installed author package contributes all three Surfaces without a Runtime Provider", () => {
- assert.equal(mimoNodePackage.format, "narratage.node-package@1");
+ assert.equal(mimoNodePackage.format, "hypit.node-package@1");
assert.equal(mimoNodePackage.modules[0]?.manifest.version, "1");
assert.deepEqual(mimoTtsMarkupSurfaces.map((surface) => surface.name),
["preset", "voiceDesign", "voiceClone"]);
diff --git a/packages/minimax-h3/README.md b/packages/minimax-h3/README.md
index 49be1676..6394c58f 100644
--- a/packages/minimax-h3/README.md
+++ b/packages/minimax-h3/README.md
@@ -1,11 +1,11 @@
-# `@narratage/minimax-h3`
+# `@hypit/minimax-h3`
Exact author/compute contracts and package-owned author Surfaces for MiniMax H3 video generation.
Text, first/last-frame and subject-reference modes are separate Surfaces rather than one dynamic
port mode. Each produces an ordinary video Artifact. This package owns request semantics
and validation only; Provider calls, credentials, retries and queueing belong to a Runtime Endpoint
-such as `@narratage/provider-kie`.
+such as `@hypit/provider-kie`.
```xml
<h3:TextVideo id="idea" prompt={prompt} duration="6" resolution="768P" aspect-ratio="9:16"/>
diff --git a/packages/minimax-h3/package.json b/packages/minimax-h3/package.json
index 76fa9829..6d326e72 100644
--- a/packages/minimax-h3/package.json
+++ b/packages/minimax-h3/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/minimax-h3",
+ "name": "@hypit/minimax-h3",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,15 +7,15 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/model-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/text": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/model-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/text": "workspace:*"
}
}
diff --git a/packages/minimax-h3/src/activation.ts b/packages/minimax-h3/src/activation.ts
index 3eef6d79..86eec5db 100644
--- a/packages/minimax-h3/src/activation.ts
+++ b/packages/minimax-h3/src/activation.ts
@@ -1,8 +1,8 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import { minimaxH3Component, minimaxH3Manifest, minimaxH3ModuleRef,
minimaxH3MarkupSurfaces } from "./index.js";
import { decodeMinimaxFrameVideoSurface, decodeMinimaxReferenceVideoSurface, decodeMinimaxTextVideoSurface } from "./surface.js";
-export const narratagePackage = { format: "narratage.node-package@1" as const, modules: [{ manifest: minimaxH3Manifest }], components: [minimaxH3Component], hostFacets: [
+export const hypitPackage = { format: "hypit.node-package@1" as const, modules: [{ manifest: minimaxH3Manifest }], components: [minimaxH3Component], hostFacets: [
createMarkupSurfaceHostFacet({ module: minimaxH3ModuleRef,
declaration: minimaxH3MarkupSurfaces.find((item) => item.name === "text-video")!, handler: decodeMinimaxTextVideoSurface }),
createMarkupSurfaceHostFacet({ module: minimaxH3ModuleRef,
@@ -10,4 +10,4 @@ export const narratagePackage = { format: "narratage.node-package@1" as const, m
createMarkupSurfaceHostFacet({ module: minimaxH3ModuleRef,
declaration: minimaxH3MarkupSurfaces.find((item) => item.name === "reference-video")!, handler: decodeMinimaxReferenceVideoSurface }),
] };
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/minimax-h3/src/index.ts b/packages/minimax-h3/src/index.ts
index 686e4f27..4caf1845 100644
--- a/packages/minimax-h3/src/index.ts
+++ b/packages/minimax-h3/src/index.ts
@@ -1,8 +1,8 @@
-import { sealGenerationPortRequest, sealGenerationPortTable } from "@narratage/generation";
-import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@narratage/generation";
-import { defineExactModelModule } from "@narratage/model-kit";
+import { sealGenerationPortRequest, sealGenerationPortTable } from "@hypit/generation";
+import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@hypit/generation";
+import { defineExactModelModule } from "@hypit/model-kit";
-export const minimaxH3ModuleRef = { name: "@narratage/minimax-h3", version: "1" } as const;
+export const minimaxH3ModuleRef = { name: "@hypit/minimax-h3", version: "1" } as const;
/**
* What MiniMax H3 accepts is a property of the trained model, not of whichever
diff --git a/packages/minimax-h3/src/surface.ts b/packages/minimax-h3/src/surface.ts
index 3de1adbd..7d81cb86 100644
--- a/packages/minimax-h3/src/surface.ts
+++ b/packages/minimax-h3/src/surface.ts
@@ -1,11 +1,11 @@
-import { artifactTypes } from "@narratage/artifact";
-import { generationPort, sealGenerationMediaBinding, sealGenerationRequestDraft } from "@narratage/generation";
-import type { GenerationMediaPort, GenerationMediaRole, GenerationPortValue } from "@narratage/generation";
-import { createExactModelPrimaryGenerationFragment, exactModelMediaInputNames, exactModelTextInputName } from "@narratage/model-kit";
-import type { ExactModelMediaInput } from "@narratage/model-kit";
-import type { MarkupAttributeValue, StructuredElement, StructuredSurfaceHandler, SurfaceResolvedReference } from "@narratage/markup";
-import type { CanonicalValue, TypeRef } from "@narratage/protocol";
-import { textTypes, verifyText } from "@narratage/text";
+import { artifactTypes } from "@hypit/artifact";
+import { generationPort, sealGenerationMediaBinding, sealGenerationRequestDraft } from "@hypit/generation";
+import type { GenerationMediaPort, GenerationMediaRole, GenerationPortValue } from "@hypit/generation";
+import { createExactModelPrimaryGenerationFragment, exactModelMediaInputNames, exactModelTextInputName } from "@hypit/model-kit";
+import type { ExactModelMediaInput } from "@hypit/model-kit";
+import type { MarkupAttributeValue, StructuredElement, StructuredSurfaceHandler, SurfaceResolvedReference } from "@hypit/markup";
+import type { CanonicalValue, TypeRef } from "@hypit/protocol";
+import { textTypes, verifyText } from "@hypit/text";
import { minimaxH3Endpoints } from "./index.js";
type Media = { readonly port: "referenceImage" | "referenceVideo" | "referenceAudio" | "firstFrame" | "lastFrame"; readonly role: GenerationMediaRole; readonly source: SurfaceResolvedReference };
diff --git a/packages/model-kit/README.md b/packages/model-kit/README.md
index f5c71c9d..cd24cabd 100644
--- a/packages/model-kit/README.md
+++ b/packages/model-kit/README.md
@@ -1,4 +1,4 @@
-# `@narratage/model-kit`
+# `@hypit/model-kit`
Author-model package helper for defining exact generated-media requests without repeating the
nominal Type → Producer → Need → Graph Fragment shell.
diff --git a/packages/model-kit/package.json b/packages/model-kit/package.json
index cedda1e1..386e7981 100644
--- a/packages/model-kit/package.json
+++ b/packages/model-kit/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/model-kit",
+ "name": "@hypit/model-kit",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,11 +8,11 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/text": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/text": "workspace:*"
}
}
diff --git a/packages/model-kit/src/index.ts b/packages/model-kit/src/index.ts
index f15365ae..236639c0 100644
--- a/packages/model-kit/src/index.ts
+++ b/packages/model-kit/src/index.ts
@@ -3,9 +3,9 @@ import type {
ProducerFacet,
ProducerHandlerContext,
TypeValidatorFacet,
-} from "@narratage/component-kit";
-import { artifactDependency, artifactTypes } from "@narratage/artifact";
-import { sealGraphFragment } from "@narratage/elaborator";
+} from "@hypit/component-kit";
+import { artifactDependency, artifactTypes } from "@hypit/artifact";
+import { sealGraphFragment } from "@hypit/elaborator";
import {
bindGenerationMedia,
bindGenerationText,
@@ -19,18 +19,18 @@ import {
verifyGenerationMediaBinding,
verifyRequestDraftAgainstPorts,
verifyRequestAgainstPorts,
-} from "@narratage/generation";
+} from "@hypit/generation";
import type {
GenerationMediaBinding,
GenerationMediaPort,
GenerationPortTable,
GenerationRequestDraft,
-} from "@narratage/generation";
-import { textDependency, textTypes } from "@narratage/text";
-import type { Text } from "@narratage/text";
+} from "@hypit/generation";
+import { textDependency, textTypes } from "@hypit/text";
+import type { Text } from "@hypit/text";
import {
canonicalize,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type {
CanonicalValue,
CapabilityRef,
@@ -38,7 +38,7 @@ import type {
ModuleRef,
ProducerRef,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
/**
* One exact model endpoint. The model declares which input ports it accepts;
@@ -183,7 +183,7 @@ export function defineExactModelModule<const Key extends string>(
const endpointData = options.endpoints.map((spec) => ({ spec, ...endpointRef(options.module, spec) }));
const manifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: options.module.name,
version: options.module.version,
dependencies: [
diff --git a/packages/model-kit/test/model-kit.test.ts b/packages/model-kit/test/model-kit.test.ts
index 5edc9a2d..a61527d2 100644
--- a/packages/model-kit/test/model-kit.test.ts
+++ b/packages/model-kit/test/model-kit.test.ts
@@ -6,12 +6,12 @@ import {
sealGenerationMediaBinding,
sealGenerationRequestDraft,
sealGenerationPortTable,
-} from "@narratage/generation";
+} from "@hypit/generation";
import {
createExactModelPrimaryGenerationFragment,
defineExactModelModule,
-} from "@narratage/model-kit";
-import { sealText } from "@narratage/text";
+} from "@hypit/model-kit";
+import { sealText } from "@hypit/text";
const ports = sealGenerationPortTable({
model: "graph-native-image",
diff --git a/packages/nano-banana/README.md b/packages/nano-banana/README.md
index 2a2c5f36..83d8550e 100644
--- a/packages/nano-banana/README.md
+++ b/packages/nano-banana/README.md
@@ -1,10 +1,10 @@
-# `@narratage/nano-banana`
+# `@hypit/nano-banana`
Exact author/compute contracts and package-owned author Surfaces for Nano Banana 2 and Nano Banana Pro.
The model variants are separate endpoints with exact request validation. Their Surfaces project the
primary result to an ordinary image Artifact. The package contains no Provider selection, API key or
-network execution; `@narratage/provider-kie` is one optional Runtime implementation.
+network execution; `@hypit/provider-kie` is one optional Runtime implementation.
Import the model variant you mean and connect prompt and references as ordinary graph edges:
diff --git a/packages/nano-banana/package.json b/packages/nano-banana/package.json
index 9cfca35e..29615981 100644
--- a/packages/nano-banana/package.json
+++ b/packages/nano-banana/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/nano-banana",
+ "name": "@hypit/nano-banana",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,15 +7,15 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/model-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/text": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/model-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/text": "workspace:*"
}
}
diff --git a/packages/nano-banana/src/activation.ts b/packages/nano-banana/src/activation.ts
index 01f513c8..5024b47c 100644
--- a/packages/nano-banana/src/activation.ts
+++ b/packages/nano-banana/src/activation.ts
@@ -1,13 +1,13 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
nanoBananaComponent, nanoBananaManifest, nanoBananaModuleRef,
nanoBananaMarkupSurfaces,
} from "./index.js";
import { decodeNanoBananaImageSurface, decodeNanoBananaProImageSurface } from "./surface.js";
-export const narratagePackage = { format: "narratage.node-package@1" as const, modules: [{ manifest: nanoBananaManifest }], components: [nanoBananaComponent], hostFacets: [
+export const hypitPackage = { format: "hypit.node-package@1" as const, modules: [{ manifest: nanoBananaManifest }], components: [nanoBananaComponent], hostFacets: [
createMarkupSurfaceHostFacet({ module: nanoBananaModuleRef,
declaration: nanoBananaMarkupSurfaces.find((item) => item.name === "image")!, handler: decodeNanoBananaImageSurface }),
createMarkupSurfaceHostFacet({ module: nanoBananaModuleRef,
declaration: nanoBananaMarkupSurfaces.find((item) => item.name === "pro-image")!, handler: decodeNanoBananaProImageSurface }),
] };
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/nano-banana/src/index.ts b/packages/nano-banana/src/index.ts
index f3912e7f..233f5d2a 100644
--- a/packages/nano-banana/src/index.ts
+++ b/packages/nano-banana/src/index.ts
@@ -1,8 +1,8 @@
-import { sealGenerationPortRequest, sealGenerationPortTable } from "@narratage/generation";
-import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@narratage/generation";
-import { defineExactModelModule } from "@narratage/model-kit";
+import { sealGenerationPortRequest, sealGenerationPortTable } from "@hypit/generation";
+import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@hypit/generation";
+import { defineExactModelModule } from "@hypit/model-kit";
-export const nanoBananaModuleRef = { name: "@narratage/nano-banana", version: "1" } as const;
+export const nanoBananaModuleRef = { name: "@hypit/nano-banana", version: "1" } as const;
export const nanoBananaModels = ["nano-banana-2", "nano-banana-pro"] as const;
export type NanoBananaModel = typeof nanoBananaModels[number];
diff --git a/packages/nano-banana/src/surface.ts b/packages/nano-banana/src/surface.ts
index 2c2407db..b006a433 100644
--- a/packages/nano-banana/src/surface.ts
+++ b/packages/nano-banana/src/surface.ts
@@ -1,20 +1,20 @@
-import { artifactTypes } from "@narratage/artifact";
-import { generationPort, sealGenerationMediaBinding, sealGenerationRequestDraft } from "@narratage/generation";
-import type { GenerationMediaPort } from "@narratage/generation";
+import { artifactTypes } from "@hypit/artifact";
+import { generationPort, sealGenerationMediaBinding, sealGenerationRequestDraft } from "@hypit/generation";
+import type { GenerationMediaPort } from "@hypit/generation";
import {
createExactModelPrimaryGenerationFragment,
exactModelMediaInputNames,
exactModelTextInputName,
-} from "@narratage/model-kit";
-import type { ExactModelEndpoint } from "@narratage/model-kit";
+} from "@hypit/model-kit";
+import type { ExactModelEndpoint } from "@hypit/model-kit";
import type {
MarkupAttributeValue,
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
-} from "@narratage/markup";
-import type { CanonicalValue, TypeRef } from "@narratage/protocol";
-import { textTypes, verifyText } from "@narratage/text";
+} from "@hypit/markup";
+import type { CanonicalValue, TypeRef } from "@hypit/protocol";
+import { textTypes, verifyText } from "@hypit/text";
import { nanoBananaEndpoints } from "./index.js";
diff --git a/packages/narrative/README.md b/packages/narrative/README.md
index 85ddbc22..91c74f63 100644
--- a/packages/narrative/README.md
+++ b/packages/narrative/README.md
@@ -1,3 +1,3 @@
-# `@narratage/narrative`
+# `@hypit/narrative`
Public, provider-neutral contracts for authored speech and semantic selections.
diff --git a/packages/narrative/package.json b/packages/narrative/package.json
index 0f14f995..c3a8bf11 100644
--- a/packages/narrative/package.json
+++ b/packages/narrative/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/narrative",
+ "name": "@hypit/narrative",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,10 +7,10 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/narrative/src/activation.ts b/packages/narrative/src/activation.ts
index 1e448e05..82d62acb 100644
--- a/packages/narrative/src/activation.ts
+++ b/packages/narrative/src/activation.ts
@@ -1,6 +1,6 @@
import { narrativeManifest } from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: narrativeManifest }],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/narrative/src/manifest.ts b/packages/narrative/src/manifest.ts
index 2ee77cb2..229f989b 100644
--- a/packages/narrative/src/manifest.ts
+++ b/packages/narrative/src/manifest.ts
@@ -1,4 +1,4 @@
-import type { ModuleManifest, TypeRef } from "@narratage/protocol";
+import type { ModuleManifest, TypeRef } from "@hypit/protocol";
import {
captionCorrespondenceSchema,
captionDisplaySequenceSchema,
@@ -9,7 +9,7 @@ import {
narrativeSelectionSchema,
} from "./schema.js";
-export const narrativeModuleRef = { name: "@narratage/narrative", version: "1" } as const;
+export const narrativeModuleRef = { name: "@hypit/narrative", version: "1" } as const;
export const narrativeTypes = {
narrative: { module: narrativeModuleRef, name: "Narrative" },
excerpt: { module: narrativeModuleRef, name: "NarrativeExcerpt" },
@@ -20,7 +20,7 @@ export const narrativeTypes = {
captionDisplayWordSubset: { module: narrativeModuleRef, name: "CaptionDisplayWordSubset" },
} satisfies Record<string, TypeRef>;
export const narrativeManifest: ModuleManifest = {
- format: "narratage.module@1", name: narrativeModuleRef.name, version: narrativeModuleRef.version,
+ format: "hypit.module@1", name: narrativeModuleRef.name, version: narrativeModuleRef.version,
dependencies: [],
types: [
{ name: narrativeTypes.narrative.name },
diff --git a/packages/narrative/src/schema.ts b/packages/narrative/src/schema.ts
index c2e5e9c5..d65a80a2 100644
--- a/packages/narrative/src/schema.ts
+++ b/packages/narrative/src/schema.ts
@@ -1,4 +1,4 @@
-import type { ValueSchema } from "@narratage/protocol";
+import type { ValueSchema } from "@hypit/protocol";
const string = { kind: "string", minLength: 1 } as const;
const integer = { kind: "number", integer: true, minimum: 0 } as const;
diff --git a/packages/package-loader-node/README.md b/packages/package-loader-node/README.md
index 7ae62eaa..1805e5e7 100644
--- a/packages/package-loader-node/README.md
+++ b/packages/package-loader-node/README.md
@@ -1,10 +1,10 @@
-# `@narratage/package-loader-node`
+# `@hypit/package-loader-node`
-Loads installed Narratage packages selected by source discovery or a Runtime Profile.
+Loads installed Hypit packages selected by source discovery or a Runtime Profile.
The user's package manager owns installation, versions and package bytes. This loader resolves only
-the requested packages, imports their declared `narratage.activation` entry and validates the
-contribution boundary consumed by Narratage. It never scans the dependency tree for plugins and is
+the requested packages, imports their declared `hypit.activation` entry and validates the
+contribution boundary consumed by Hypit. It never scans the dependency tree for plugins and is
not a package manager or registry.
Module dependencies declared by selected packages are loaded from ordinary installed dependencies.
diff --git a/packages/package-loader-node/package.json b/packages/package-loader-node/package.json
index 17c5d8e1..dcde5cfd 100644
--- a/packages/package-loader-node/package.json
+++ b/packages/package-loader-node/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/package-loader-node",
+ "name": "@hypit/package-loader-node",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,8 +8,8 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/host": "workspace:*",
- "@narratage/protocol": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/host": "workspace:*",
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/package-loader-node/src/contribution.ts b/packages/package-loader-node/src/contribution.ts
index af18917b..937e4bd9 100644
--- a/packages/package-loader-node/src/contribution.ts
+++ b/packages/package-loader-node/src/contribution.ts
@@ -1,9 +1,9 @@
-import type { ComponentPackage } from "@narratage/component-kit";
+import type { ComponentPackage } from "@hypit/component-kit";
import type { NodeModuleContribution, NodePackageContribution } from "./types.js";
function assertPackage(value: NodePackageContribution): void {
- if (value.format !== "narratage.node-package@1") {
+ if (value.format !== "hypit.node-package@1") {
throw new Error("Node package contribution has an unsupported format");
}
for (const facet of value.hostFacets ?? []) {
diff --git a/packages/package-loader-node/src/loader.ts b/packages/package-loader-node/src/loader.ts
index 0e99b79f..72cf36ec 100644
--- a/packages/package-loader-node/src/loader.ts
+++ b/packages/package-loader-node/src/loader.ts
@@ -3,7 +3,7 @@ import { createRequire } from "node:module";
import { dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
import { pathToFileURL } from "node:url";
-import { modulePackageAbi } from "@narratage/protocol";
+import { modulePackageAbi } from "@hypit/protocol";
import type {
LoadedPackage,
@@ -14,7 +14,7 @@ import type {
type PackageJson = {
readonly name: string;
- readonly narratage?: { readonly activation?: string };
+ readonly hypit?: { readonly activation?: string };
};
type ResolvedPackage = { readonly root: string; readonly json: PackageJson };
@@ -35,10 +35,10 @@ function text(value: unknown, subject: string): string {
function parsePackageJson(value: unknown, subject: string): PackageJson {
const item = object(value, subject);
- const narratage = item.narratage === undefined ? undefined : object(item.narratage, `${subject}.narratage`);
+ const hypit = item.hypit === undefined ? undefined : object(item.hypit, `${subject}.hypit`);
return {
name: text(item.name, `${subject}.name`),
- ...(narratage?.activation === undefined ? {} : { narratage: { activation: text(narratage.activation, `${subject}.narratage.activation`) } }),
+ ...(hypit?.activation === undefined ? {} : { hypit: { activation: text(hypit.activation, `${subject}.hypit.activation`) } }),
};
}
@@ -67,7 +67,7 @@ async function packageRoot(entry: string, expectedName: string): Promise<Resolve
}
async function resolvePackage(specifier: string, from: string): Promise<ResolvedPackage> {
- const resolver = createRequire(join(resolve(from), "__narratage_package_loader__.cjs"));
+ const resolver = createRequire(join(resolve(from), "__hypit_package_loader__.cjs"));
let entry: string;
try {
entry = resolver.resolve(specifier);
@@ -82,8 +82,8 @@ async function resolvePackage(specifier: string, from: string): Promise<Resolved
}
function activationPath(item: ResolvedPackage): string {
- const declared = item.json.narratage?.activation;
- assert(declared !== undefined, `${item.json.name} does not declare narratage.activation`);
+ const declared = item.json.hypit?.activation;
+ assert(declared !== undefined, `${item.json.name} does not declare hypit.activation`);
assert(!isAbsolute(declared), `${item.json.name} activation must be package-relative`);
const target = resolve(item.root, declared);
const relation = relative(item.root, target);
@@ -97,7 +97,7 @@ async function importContribution(item: ResolvedPackage): Promise<NodePackageCon
const imported = await import(pathToFileURL(target).href) as { readonly default?: unknown };
assert(imported.default !== null && typeof imported.default === "object", `${item.json.name} activation has no default package export`);
const contribution = imported.default as Partial<NodePackageContribution>;
- assert(contribution.format === "narratage.node-package@1", `${item.json.name} activation has an unsupported package format`);
+ assert(contribution.format === "hypit.node-package@1", `${item.json.name} activation has an unsupported package format`);
return contribution as NodePackageContribution;
}
@@ -136,7 +136,7 @@ export class NodePackageSelectionMissingError extends Error {
/**
* Load the packages explicitly named by Source discovery or a Runtime Profile.
- * Node's package manager owns installed versions and bytes; Narratage validates only the
+ * Node's package manager owns installed versions and bytes; Hypit validates only the
* contribution boundary it consumes.
*/
export async function loadNodePackageSelection(
diff --git a/packages/package-loader-node/src/types.ts b/packages/package-loader-node/src/types.ts
index 2d21cb11..590bc06b 100644
--- a/packages/package-loader-node/src/types.ts
+++ b/packages/package-loader-node/src/types.ts
@@ -1,6 +1,6 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { HostFacet } from "@narratage/host";
-import type { ModuleManifest } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { HostFacet } from "@hypit/host";
+import type { ModuleManifest } from "@hypit/protocol";
/** Semantic Module declaration carried by one physical Node package. */
export type NodeModuleContribution = {
@@ -20,7 +20,7 @@ export type LogicalPackageAddress = {
* each exact Host ABI. Runtime facets remain inert unless a Runtime Profile selects the package.
*/
export type NodePackageContribution = {
- readonly format: "narratage.node-package@1";
+ readonly format: "hypit.node-package@1";
readonly modules?: readonly NodeModuleContribution[];
/** Syntax- or Host-specific executable facets, inert until their exact Host ABI selects them. */
readonly hostFacets?: readonly HostFacet[];
diff --git a/packages/package-loader-node/test/loader.test.ts b/packages/package-loader-node/test/loader.test.ts
index 0a9b3ccf..52db275a 100644
--- a/packages/package-loader-node/test/loader.test.ts
+++ b/packages/package-loader-node/test/loader.test.ts
@@ -4,7 +4,7 @@ import { tmpdir } from "node:os";
import { join } from "node:path";
import test from "node:test";
-import { loadNodePackageSelection } from "@narratage/package-loader-node";
+import { loadNodePackageSelection } from "@hypit/package-loader-node";
async function installedPackage(
root: string,
@@ -18,16 +18,16 @@ async function installedPackage(
version: "1.0.0",
type: "module",
exports: "./activation.mjs",
- narratage: { activation: "./activation.mjs" },
+ hypit: { activation: "./activation.mjs" },
}), "utf8");
await writeFile(join(directory, "activation.mjs"), `export default ${contribution};\n`, "utf8");
}
test("loads an explicitly selected installed package", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-package-loader-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-package-loader-"));
try {
await installedPackage(root, "example-cards", `{
- format: "narratage.node-package@1",
+ format: "hypit.node-package@1",
hostFacets: [{ abi: "example.cards@1", offers: ["cards"] }]
}`);
const loaded = await loadNodePackageSelection(["example-cards"], root);
@@ -38,10 +38,10 @@ test("loads an explicitly selected installed package", async () => {
});
test("resolves a logical request to its conventional installed package", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-package-selection-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-package-selection-"));
try {
await installedPackage(root, "example-provider", `{
- format: "narratage.node-package@1",
+ format: "hypit.node-package@1",
hostFacets: [{ abi: "example.endpoint@1", offers: ["example-provider"] }]
}`);
const loaded = await loadNodePackageSelection({
diff --git a/packages/program-space/README.md b/packages/program-space/README.md
index 33f67671..cd47480a 100644
--- a/packages/program-space/README.md
+++ b/packages/program-space/README.md
@@ -1,3 +1,3 @@
-# `@narratage/program-space`
+# `@hypit/program-space`
The provider-neutral time and frame domain shared by a compiled program.
diff --git a/packages/program-space/package.json b/packages/program-space/package.json
index 50fb911f..2e7923de 100644
--- a/packages/program-space/package.json
+++ b/packages/program-space/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/program-space",
+ "name": "@hypit/program-space",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,10 +7,10 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/program-space/src/activation.ts b/packages/program-space/src/activation.ts
index 8ba6444a..a360a2b0 100644
--- a/packages/program-space/src/activation.ts
+++ b/packages/program-space/src/activation.ts
@@ -1,3 +1,3 @@
import { programSpaceManifest } from "./index.js";
-export const narratagePackage = { format: "narratage.node-package@1" as const, modules: [{ manifest: programSpaceManifest }] };
-export default narratagePackage;
+export const hypitPackage = { format: "hypit.node-package@1" as const, modules: [{ manifest: programSpaceManifest }] };
+export default hypitPackage;
diff --git a/packages/program-space/src/index.ts b/packages/program-space/src/index.ts
index d08d1a43..727a22c0 100644
--- a/packages/program-space/src/index.ts
+++ b/packages/program-space/src/index.ts
@@ -1,11 +1,11 @@
-import type { ModuleManifest, TypeRef, ValueSchema } from "@narratage/protocol";
+import type { ModuleManifest, TypeRef, ValueSchema } from "@hypit/protocol";
export type ProgramSpace = {
readonly durationSec: number;
readonly frameRate: { readonly numerator: number; readonly denominator: number };
};
-export const programSpaceModuleRef = { name: "@narratage/program-space", version: "1" } as const;
+export const programSpaceModuleRef = { name: "@hypit/program-space", version: "1" } as const;
export const programSpaceTypes = {
programSpace: { module: programSpaceModuleRef, name: "ProgramSpace" },
} satisfies Record<string, TypeRef>;
@@ -21,7 +21,7 @@ export const programSpaceSchema: ValueSchema = {
},
};
export const programSpaceManifest: ModuleManifest = {
- format: "narratage.module@1", name: programSpaceModuleRef.name, version: programSpaceModuleRef.version,
+ format: "hypit.module@1", name: programSpaceModuleRef.name, version: programSpaceModuleRef.version,
dependencies: [], types: [{
name: programSpaceTypes.programSpace.name,
}],
diff --git a/packages/protocol/README.md b/packages/protocol/README.md
index e70f917d..89f7d3c2 100644
--- a/packages/protocol/README.md
+++ b/packages/protocol/README.md
@@ -1,4 +1,4 @@
-# `@narratage/protocol`
+# `@hypit/protocol`
Data contracts shared across package boundaries.
diff --git a/packages/protocol/package.json b/packages/protocol/package.json
index 613c10c7..b3875795 100644
--- a/packages/protocol/package.json
+++ b/packages/protocol/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/protocol",
+ "name": "@hypit/protocol",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
diff --git a/packages/protocol/src/build.ts b/packages/protocol/src/build.ts
index 0a3d8854..ed97df4b 100644
--- a/packages/protocol/src/build.ts
+++ b/packages/protocol/src/build.ts
@@ -98,7 +98,7 @@ export type Candidate = {
};
export type CompiledGraph = {
- readonly format: "narratage.graph@1";
+ readonly format: "hypit.graph@1";
readonly outputs: readonly LogicalOutput[];
readonly candidates: readonly Candidate[];
readonly operations: readonly OperationNode[];
@@ -114,7 +114,7 @@ export type Satisfaction = {
};
export type BuildRequest = {
- readonly format: "narratage.build-request@1";
+ readonly format: "hypit.build-request@1";
readonly targets: readonly BuildTarget[];
};
@@ -138,7 +138,7 @@ export type BuildGoal = {
};
export type BuildPlan = {
- readonly format: "narratage.plan@1";
+ readonly format: "hypit.plan@1";
readonly steps: readonly ProducerStep[];
readonly goals: readonly BuildGoal[];
readonly selections: readonly BuildSelection[];
@@ -201,7 +201,7 @@ export type BuildDiagnostic = {
/** Immutable finite program selected by one Author Graph plus one Run Graph. */
export type BuildDefinition = {
- readonly format: "narratage.build-definition@1";
+ readonly format: "hypit.build-definition@1";
readonly program: LinkedProgram;
readonly graph: CompiledGraph;
readonly request: BuildRequest;
@@ -209,7 +209,7 @@ export type BuildDefinition = {
};
type BuildFactBase = {
- readonly format: "narratage.build-fact@1";
+ readonly format: "hypit.build-fact@1";
readonly command: CommandId;
};
@@ -239,7 +239,7 @@ export type BuildFact = ProducerAppliedFact | NeedAppliedFact | CommandFailedFac
/** Materialized read/execution view. Durable Stores persist Definition + Facts, never this object. */
export type BuildState = {
- readonly format: "narratage.build@1";
+ readonly format: "hypit.build@1";
readonly program: LinkedProgram;
readonly graph: CompiledGraph;
readonly request: BuildRequest;
diff --git a/packages/protocol/src/module.ts b/packages/protocol/src/module.ts
index e8537808..dc1b900f 100644
--- a/packages/protocol/src/module.ts
+++ b/packages/protocol/src/module.ts
@@ -1,7 +1,7 @@
import type { CapabilityRef, ModuleRef, ProducerRef, TypeRef } from "./identity.js";
/** Logical package address for immutable semantic Modules. */
-export const modulePackageAbi = "narratage.module@1";
+export const modulePackageAbi = "hypit.module@1";
export type ModuleDependency = {
readonly module: ModuleRef;
@@ -35,7 +35,7 @@ export type ProducerDeclaration = {
};
export type ModuleManifest = {
- readonly format: "narratage.module@1";
+ readonly format: "hypit.module@1";
readonly name: string;
readonly version: string;
readonly dependencies: readonly ModuleDependency[];
@@ -49,7 +49,7 @@ export type ResolvedModule = {
};
export type ResolvedModuleClosure = {
- readonly format: "narratage.closure@1";
+ readonly format: "hypit.closure@1";
readonly modules: readonly ResolvedModule[];
};
diff --git a/packages/protocol/test/canonical.test.ts b/packages/protocol/test/canonical.test.ts
index 221a5461..067547c2 100644
--- a/packages/protocol/test/canonical.test.ts
+++ b/packages/protocol/test/canonical.test.ts
@@ -1,7 +1,7 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { canonicalize, canonicalStringify, isDigest } from "@narratage/protocol";
+import { canonicalize, canonicalStringify, isDigest } from "@hypit/protocol";
test("canonical values have stable key order and preserve array order", () => {
assert.equal(canonicalStringify({ b: 1, a: 2 }), '{"a":2,"b":1}');
diff --git a/packages/provider-google-vertex/README.md b/packages/provider-google-vertex/README.md
index 99b6d1e5..d9e5e345 100644
--- a/packages/provider-google-vertex/README.md
+++ b/packages/provider-google-vertex/README.md
@@ -1,10 +1,10 @@
-# @narratage/provider-google-vertex
+# @hypit/provider-google-vertex
-Google Vertex transport for the exact `@narratage/caption-gemini` capability.
+Google Vertex transport for the exact `@hypit/caption-gemini` capability.
This package does not build prompts, parse SVML, inspect WhisperX, choose a model, or rewrite text.
It receives the model package's immutable request, calls `GoogleGenAI({ vertexai: true })` with
-structured JSON output, and returns the response only after `@narratage/caption-gemini` validates every
+structured JSON output, and returns the response only after `@hypit/caption-gemini` validates every
Run, Cue endpoint, atom assignment, field value and per-Cue cardinality.
```ts
diff --git a/packages/provider-google-vertex/package.json b/packages/provider-google-vertex/package.json
index cf54f3f9..0504be62 100644
--- a/packages/provider-google-vertex/package.json
+++ b/packages/provider-google-vertex/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/provider-google-vertex",
+ "name": "@hypit/provider-google-vertex",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,21 +7,21 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
"@google/genai": "1.52.0",
- "@narratage/caption": "workspace:*",
- "@narratage/caption-gemini": "workspace:*",
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/runtime-host-node": "workspace:*"
+ "@hypit/caption": "workspace:*",
+ "@hypit/caption-gemini": "workspace:*",
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/runtime-host-node": "workspace:*"
},
"devDependencies": {
- "@narratage/driver-node": "workspace:*",
- "@narratage/script": "workspace:*"
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/script": "workspace:*"
}
}
diff --git a/packages/provider-google-vertex/src/activation.ts b/packages/provider-google-vertex/src/activation.ts
index c246f07b..2da496df 100644
--- a/packages/provider-google-vertex/src/activation.ts
+++ b/packages/provider-google-vertex/src/activation.ts
@@ -5,13 +5,13 @@ import {
runtimeConfigObject,
runtimeConfigPositiveInteger,
runtimeConfigString,
-} from "@narratage/runtime-kit";
-import { diagnoseRuntimeEnvironmentCredential } from "@narratage/runtime-host-node";
+} from "@hypit/runtime-kit";
+import { diagnoseRuntimeEnvironmentCredential } from "@hypit/runtime-host-node";
import { createGoogleVertexCaptionProvider } from "./provider.js";
const googleVertexRuntimeAdapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-google-vertex",
+ use: "@hypit/provider-google-vertex",
activate(context) {
if (context.pool === undefined) throw new Error("Google Vertex Provider Pool is required");
const config = runtimeConfigObject(context.config, "Google Vertex");
@@ -48,9 +48,9 @@ const googleVertexRuntimeAdapter = createRuntimeEndpointAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [googleVertexRuntimeAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/provider-google-vertex/src/provider.ts b/packages/provider-google-vertex/src/provider.ts
index c2a124de..9a838d3b 100644
--- a/packages/provider-google-vertex/src/provider.ts
+++ b/packages/provider-google-vertex/src/provider.ts
@@ -1,21 +1,21 @@
import { GoogleGenAI, Type } from "@google/genai";
import type { GenerateContentResponse, GoogleGenAIOptions, Schema } from "@google/genai";
-import { captionTypes } from "@narratage/caption";
+import { captionTypes } from "@hypit/caption";
import {
captionGeminiCapabilities,
sealCaptionGeminiPlan,
verifyCaptionGeminiRequest,
-} from "@narratage/caption-gemini";
-import type { CaptionGeminiRequest } from "@narratage/caption-gemini";
-import { defineEndpointPackage } from "@narratage/endpoint-kit";
-import type { EndpointFulfillment, EndpointInvocationContext } from "@narratage/endpoint-kit";
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue } from "@narratage/protocol";
-import { credentialRef } from "@narratage/runtime";
-import type { CredentialRef } from "@narratage/runtime";
+} from "@hypit/caption-gemini";
+import type { CaptionGeminiRequest } from "@hypit/caption-gemini";
+import { defineEndpointPackage } from "@hypit/endpoint-kit";
+import type { EndpointFulfillment, EndpointInvocationContext } from "@hypit/endpoint-kit";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue } from "@hypit/protocol";
+import { credentialRef } from "@hypit/runtime";
+import type { CredentialRef } from "@hypit/runtime";
export const googleVertexProviderModuleRef = {
- name: "@narratage/provider-google-vertex",
+ name: "@hypit/provider-google-vertex",
version: "1",
} as const;
type GenerateCaptionContentInput = {
diff --git a/packages/provider-google-vertex/test/provider.test.ts b/packages/provider-google-vertex/test/provider.test.ts
index 501d98ad..b77c93f5 100644
--- a/packages/provider-google-vertex/test/provider.test.ts
+++ b/packages/provider-google-vertex/test/provider.test.ts
@@ -5,19 +5,19 @@ import {
captionGeminiCapabilities,
compileCaptionGeminiRequest,
sealCaptionGeminiProgram,
-} from "@narratage/caption-gemini";
+} from "@hypit/caption-gemini";
import {
captionTypes,
resolveCaptionProgram,
sealCaptionStyle,
-} from "@narratage/caption";
-import type { CaptionGeminiRequest, RawCaptionGeminiResponse } from "@narratage/caption-gemini";
-import { EndpointRegistry, MemoryArtifactStore } from "@narratage/driver-node";
-import type { ImmediateEndpointHandler } from "@narratage/endpoint-kit";
-import type { CanonicalValue, Need } from "@narratage/protocol";
-import { createGoogleVertexCaptionProvider } from "@narratage/provider-google-vertex";
-import type { GenerateCaptionContent } from "@narratage/provider-google-vertex";
-import { captionDisplaySequence, parseScript } from "@narratage/script";
+} from "@hypit/caption";
+import type { CaptionGeminiRequest, RawCaptionGeminiResponse } from "@hypit/caption-gemini";
+import { EndpointRegistry, MemoryArtifactStore } from "@hypit/driver-node";
+import type { ImmediateEndpointHandler } from "@hypit/endpoint-kit";
+import type { CanonicalValue, Need } from "@hypit/protocol";
+import { createGoogleVertexCaptionProvider } from "@hypit/provider-google-vertex";
+import type { GenerateCaptionContent } from "@hypit/provider-google-vertex";
+import { captionDisplaySequence, parseScript } from "@hypit/script";
function request(): CaptionGeminiRequest {
const narrative = parseScript("provider.svml", "<line><ALICE>Meaning becomes the source.</line>");
@@ -68,7 +68,7 @@ test("Vertex transports the exact model request while the model package validate
const requestValue = request();
let captured: Parameters<GenerateCaptionContent>[0] | undefined;
const provider = createGoogleVertexCaptionProvider({
- project: "narratage-test-project",
+ project: "hypit-test-project",
location: "global",
generateContent: async (input) => {
captured = input;
@@ -98,7 +98,7 @@ test("Vertex transports the exact model request while the model package validate
});
test("Vertex configuration exposes credential/queue policy without changing the model request", () => {
- const provider = createGoogleVertexCaptionProvider({ project: "narratage-test-project", defaultConcurrency: 3 });
+ const provider = createGoogleVertexCaptionProvider({ project: "hypit-test-project", defaultConcurrency: 3 });
assert.equal(provider.instance.id, "google-vertex.caption");
assert.deepEqual(provider.offers, [{
capability: captionGeminiCapabilities.plan,
@@ -108,7 +108,7 @@ test("Vertex configuration exposes credential/queue policy without changing the
});
test("Vertex defers projectEnv resolution until the Endpoint handles a Need", async () => {
- const variable = "NARRATAGE_TEST_MISSING_VERTEX_PROJECT";
+ const variable = "HYPIT_TEST_MISSING_VERTEX_PROJECT";
const previous = process.env[variable];
delete process.env[variable];
try {
diff --git a/packages/provider-hyperframes-aws-lambda/README.md b/packages/provider-hyperframes-aws-lambda/README.md
index 26992aaf..c6475edc 100644
--- a/packages/provider-hyperframes-aws-lambda/README.md
+++ b/packages/provider-hyperframes-aws-lambda/README.md
@@ -1,7 +1,7 @@
-# `@narratage/provider-hyperframes-aws-lambda`
+# `@hypit/provider-hyperframes-aws-lambda`
Asynchronous AWS Step Functions/Lambda implementation of the exact
-`@narratage/render-hyperframes#render-visual` capability.
+`@hypit/render-hyperframes#render-visual` capability.
The Endpoint stages the immutable `HyperframesDocument` with the shared
`stageHyperframesProject()` layout, uploads that content-addressed site, starts one distributed
diff --git a/packages/provider-hyperframes-aws-lambda/package.json b/packages/provider-hyperframes-aws-lambda/package.json
index debf93bd..0dc3f51d 100644
--- a/packages/provider-hyperframes-aws-lambda/package.json
+++ b/packages/provider-hyperframes-aws-lambda/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/provider-hyperframes-aws-lambda",
+ "name": "@hypit/provider-hyperframes-aws-lambda",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -10,24 +10,24 @@
"scripts": {
"canary": "node --import tsx test/live-canary.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.700.0",
"@aws-sdk/client-sfn": "^3.700.0",
"@hyperframes/aws-lambda": "0.7.101",
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/hyperframes": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/render-hyperframes": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*"
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/hyperframes": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/render-hyperframes": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*"
},
"devDependencies": {
- "@narratage/composition": "workspace:*",
- "@narratage/driver-node": "workspace:*",
- "@narratage/program-space": "workspace:*"
+ "@hypit/composition": "workspace:*",
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/program-space": "workspace:*"
}
}
diff --git a/packages/provider-hyperframes-aws-lambda/src/activation.ts b/packages/provider-hyperframes-aws-lambda/src/activation.ts
index 57175be8..c9d1fa9c 100644
--- a/packages/provider-hyperframes-aws-lambda/src/activation.ts
+++ b/packages/provider-hyperframes-aws-lambda/src/activation.ts
@@ -1,12 +1,12 @@
-import type { CanonicalValue } from "@narratage/protocol";
+import type { CanonicalValue } from "@hypit/protocol";
import {
createRuntimeEndpointAdapterFacet,
runtimeConfigExact,
runtimeConfigObject,
runtimeConfigPositiveInteger,
runtimeConfigString,
-} from "@narratage/runtime-kit";
-import type { RuntimeAdapterFactoryContext } from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
+import type { RuntimeAdapterFactoryContext } from "@hypit/runtime-kit";
import { createAwsLambdaHyperframesProvider } from "./provider.js";
import type {
@@ -83,15 +83,15 @@ function providerOptions(context: RuntimeAdapterFactoryContext): RuntimeProvider
}
const awsLambdaHyperframesRuntimeAdapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-hyperframes-aws-lambda",
+ use: "@hypit/provider-hyperframes-aws-lambda",
activate(context) {
return { endpoint: createAwsLambdaHyperframesProvider(providerOptions(context)) };
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [awsLambdaHyperframesRuntimeAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/provider-hyperframes-aws-lambda/src/client.ts b/packages/provider-hyperframes-aws-lambda/src/client.ts
index 1af21070..bf4e5a55 100644
--- a/packages/provider-hyperframes-aws-lambda/src/client.ts
+++ b/packages/provider-hyperframes-aws-lambda/src/client.ts
@@ -97,7 +97,7 @@ export function createHyperframesAwsLambdaClient(region: string): HyperframesAws
async stop(input) {
await sfn.send(new StopExecutionCommand({
executionArn: input.executionArn,
- error: "NarratageBuildCancelled",
+ error: "HypitBuildCancelled",
cause: input.reason,
}));
},
diff --git a/packages/provider-hyperframes-aws-lambda/src/provider.ts b/packages/provider-hyperframes-aws-lambda/src/provider.ts
index 0c3185c1..eeb8ad31 100644
--- a/packages/provider-hyperframes-aws-lambda/src/provider.ts
+++ b/packages/provider-hyperframes-aws-lambda/src/provider.ts
@@ -5,33 +5,33 @@ import { join } from "node:path";
import {
defineEndpointPackage,
wakeAfter,
-} from "@narratage/endpoint-kit";
+} from "@hypit/endpoint-kit";
import type {
EndpointFulfillment,
EndpointOutcome,
EndpointPollContext,
EndpointStartContext,
AsyncEndpoint,
-} from "@narratage/endpoint-kit";
+} from "@hypit/endpoint-kit";
import {
assertHyperframesDocument,
-} from "@narratage/hyperframes";
-import type { HyperframesDocument } from "@narratage/hyperframes";
-import { stageHyperframesProject } from "@narratage/hyperframes/project";
+} from "@hypit/hyperframes";
+import type { HyperframesDocument } from "@hypit/hyperframes";
+import { stageHyperframesProject } from "@hypit/hyperframes/project";
import {
mediaTypes,
sealRenderedVisual,
-} from "@narratage/media";
-import type { RenderedVisual } from "@narratage/media";
+} from "@hypit/media";
+import type { RenderedVisual } from "@hypit/media";
import {
canonicalize,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type {
BlobRef,
CanonicalValue,
-} from "@narratage/protocol";
-import { renderHyperframesCapabilities } from "@narratage/render-hyperframes";
-import { isStreamingArtifactStore } from "@narratage/runtime";
+} from "@hypit/protocol";
+import { renderHyperframesCapabilities } from "@hypit/render-hyperframes";
+import { isStreamingArtifactStore } from "@hypit/runtime";
import {
createHyperframesAwsLambdaClient,
@@ -45,11 +45,11 @@ import type {
HyperframesLambdaSite,
} from "./client.js";
-const HANDLE_CONTRACT = "narratage.hyperframes-aws-lambda-operation@1";
+const HANDLE_CONTRACT = "hypit.hyperframes-aws-lambda-operation@1";
const SUPPORTED_FPS = new Set([24, 30, 60]);
export const awsLambdaHyperframesProviderModuleRef = {
- name: "@narratage/provider-hyperframes-aws-lambda",
+ name: "@hypit/provider-hyperframes-aws-lambda",
version: "1",
} as const;
export type HyperframesLambdaQuality = "draft" | "standard" | "high";
@@ -146,11 +146,11 @@ function operationName(operationId: string): string {
}
function executionName(operationId: string): string {
- return `narratage-${operationName(operationId)}`;
+ return `hypit-${operationName(operationId)}`;
}
function outputKey(operationId: string): string {
- return `renders/narratage/${operationName(operationId)}/visual.mp4`;
+ return `renders/hypit/${operationName(operationId)}/visual.mp4`;
}
function alreadyStopped(error: unknown): boolean {
@@ -383,7 +383,7 @@ export function createAwsLambdaHyperframesProvider(config: CreateAwsLambdaHyperf
...(targetChunkFrames === undefined ? {} : { targetChunkFrames }),
});
let site: HyperframesLambdaSite;
- const work = await mkdtemp(join(tmpdir(), "narratage-hyperframes-aws-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-hyperframes-aws-"));
try {
await stageHyperframesProject({
document,
@@ -487,7 +487,7 @@ export function createAwsLambdaHyperframesProvider(config: CreateAwsLambdaHyperf
await client.stop({
executionArn: target,
region,
- reason: `Narratage cancelled Operation ${context.operation}`,
+ reason: `Hypit cancelled Operation ${context.operation}`,
});
} catch (error) {
if (!alreadyStopped(error)) throw error;
diff --git a/packages/provider-hyperframes-aws-lambda/test/live-canary.ts b/packages/provider-hyperframes-aws-lambda/test/live-canary.ts
index 63c909d9..7957f3c0 100644
--- a/packages/provider-hyperframes-aws-lambda/test/live-canary.ts
+++ b/packages/provider-hyperframes-aws-lambda/test/live-canary.ts
@@ -16,36 +16,36 @@ import {
import {
sealComposition,
sealVisualTrack,
-} from "@narratage/composition";
+} from "@hypit/composition";
import {
EndpointRegistry,
MemoryArtifactStore,
-} from "@narratage/driver-node";
+} from "@hypit/driver-node";
import type {
EndpointOutcome,
AsyncEndpoint,
-} from "@narratage/endpoint-kit";
-import { compileHyperframesDocument } from "@narratage/hyperframes";
-import type { HyperframesDocument } from "@narratage/hyperframes";
+} from "@hypit/endpoint-kit";
+import { compileHyperframesDocument } from "@hypit/hyperframes";
+import type { HyperframesDocument } from "@hypit/hyperframes";
import {
mediaTypes,
verifyRenderedVisual,
-} from "@narratage/media";
-import type { RenderedVisual } from "@narratage/media";
-import { sealProgramSpace } from "@narratage/program-space";
+} from "@hypit/media";
+import type { RenderedVisual } from "@hypit/media";
+import { sealProgramSpace } from "@hypit/program-space";
import {
createAwsLambdaHyperframesProvider,
-} from "@narratage/provider-hyperframes-aws-lambda";
+} from "@hypit/provider-hyperframes-aws-lambda";
import {
- } from "@narratage/protocol";
+ } from "@hypit/protocol";
import type {
CanonicalValue,
Need,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
hyperframesVisualRequest,
renderHyperframesCapabilities,
-} from "@narratage/render-hyperframes";
+} from "@hypit/render-hyperframes";
function requiredEnvironment(name: string): string {
const value = process.env[name];
@@ -53,12 +53,12 @@ function requiredEnvironment(name: string): string {
return value;
}
-const stateMachineArn = requiredEnvironment("NARRATAGE_HYPERFRAMES_STATE_MACHINE_ARN");
-const bucketName = requiredEnvironment("NARRATAGE_HYPERFRAMES_BUCKET");
+const stateMachineArn = requiredEnvironment("HYPIT_HYPERFRAMES_STATE_MACHINE_ARN");
+const bucketName = requiredEnvironment("HYPIT_HYPERFRAMES_BUCKET");
const region = requiredEnvironment("AWS_REGION");
const run = promisify(execFile);
-const memorySizeMb = Number.parseInt(process.env.NARRATAGE_HYPERFRAMES_MEMORY_MB ?? "2048", 10);
+const memorySizeMb = Number.parseInt(process.env.HYPIT_HYPERFRAMES_MEMORY_MB ?? "2048", 10);
assert(Number.isSafeInteger(memorySizeMb) && memorySizeMb >= 2_048, "invalid HyperFrames canary memory size");
function documentFixture(canaryId: string): HyperframesDocument {
@@ -69,7 +69,7 @@ function documentFixture(canaryId: string): HyperframesDocument {
frameRate,
});
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: `hyperframes-aws-canary-${canaryId}`,
presents: [{
id: "card",
@@ -149,7 +149,7 @@ async function deletePrefix(s3: S3Client, prefix: string): Promise<void> {
}
async function main(): Promise<void> {
- const canaryId = process.env.NARRATAGE_HYPERFRAMES_CANARY_ID ?? randomUUID().slice(0, 16);
+ const canaryId = process.env.HYPIT_HYPERFRAMES_CANARY_ID ?? randomUUID().slice(0, 16);
const document = documentFixture(canaryId);
const need = requestNeed(document, canaryId);
const endpoint = await endpointFor(need);
@@ -164,7 +164,7 @@ async function main(): Promise<void> {
operation,
};
let lastHandle: CanonicalValue | undefined;
- const work = await mkdtemp(join(tmpdir(), "narratage-hyperframes-canary-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-hyperframes-canary-"));
try {
let outcome: EndpointOutcome = await endpoint.start(context);
for (let polls = 0; outcome.status === "pending"; polls += 1) {
@@ -186,7 +186,7 @@ async function main(): Promise<void> {
const output = join(work, "visual.mp4");
await writeFile(output, bytes);
- const { stdout } = await run(process.env.NARRATAGE_CANARY_FFPROBE ?? "ffprobe", [
+ const { stdout } = await run(process.env.HYPIT_CANARY_FFPROBE ?? "ffprobe", [
"-v", "error", "-count_frames", "-select_streams", "v:0",
"-show_entries", "stream=codec_name,nb_read_frames,width,height",
"-of", "json", output,
@@ -213,7 +213,7 @@ async function main(): Promise<void> {
}, null, 2)}\n`);
} finally {
await rm(work, { recursive: true, force: true });
- if (process.env.NARRATAGE_HYPERFRAMES_CANARY_KEEP !== "1" && lastHandle !== undefined) {
+ if (process.env.HYPIT_HYPERFRAMES_CANARY_KEEP !== "1" && lastHandle !== undefined) {
const handle = lastHandle as unknown as { executionName?: string; site?: { siteId?: string } };
const s3 = new S3Client({ region });
if (handle.executionName !== undefined) await deletePrefix(s3, `renders/${handle.executionName}/`);
diff --git a/packages/provider-hyperframes-aws-lambda/test/provider.test.ts b/packages/provider-hyperframes-aws-lambda/test/provider.test.ts
index b9caa1cb..c0592a8d 100644
--- a/packages/provider-hyperframes-aws-lambda/test/provider.test.ts
+++ b/packages/provider-hyperframes-aws-lambda/test/provider.test.ts
@@ -4,42 +4,42 @@ import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
import { validateDistributedRenderConfig } from "@hyperframes/aws-lambda/sdk";
-import { EndpointRegistry, MemoryArtifactStore } from "@narratage/driver-node";
-import type { EndpointRegistration } from "@narratage/driver-node";
-import type { AsyncEndpoint } from "@narratage/endpoint-kit";
-import type { HyperframesDocument } from "@narratage/hyperframes";
-import { mediaTypes, verifyRenderedVisual } from "@narratage/media";
-import type { RenderedVisual } from "@narratage/media";
+import { EndpointRegistry, MemoryArtifactStore } from "@hypit/driver-node";
+import type { EndpointRegistration } from "@hypit/driver-node";
+import type { AsyncEndpoint } from "@hypit/endpoint-kit";
+import type { HyperframesDocument } from "@hypit/hyperframes";
+import { mediaTypes, verifyRenderedVisual } from "@hypit/media";
+import type { RenderedVisual } from "@hypit/media";
import {
createAwsLambdaHyperframesProvider,
supportsAwsLambdaHyperframes,
-} from "@narratage/provider-hyperframes-aws-lambda";
+} from "@hypit/provider-hyperframes-aws-lambda";
import type {
HyperframesAwsLambdaClient,
HyperframesLambdaProgress,
HyperframesLambdaRender,
HyperframesLambdaRenderConfig,
HyperframesLambdaSite,
-} from "@narratage/provider-hyperframes-aws-lambda";
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue, Need } from "@narratage/protocol";
-import type { RuntimeEndpointAdapterImplementation } from "@narratage/runtime-kit";
+} from "@hypit/provider-hyperframes-aws-lambda";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue, Need } from "@hypit/protocol";
+import type { RuntimeEndpointAdapterImplementation } from "@hypit/runtime-kit";
import {
hyperframesVisualRequest,
renderHyperframesCapabilities,
-} from "@narratage/render-hyperframes";
-import type { ArtifactStore, StreamingArtifactStore } from "@narratage/runtime";
+} from "@hypit/render-hyperframes";
+import type { ArtifactStore, StreamingArtifactStore } from "@hypit/runtime";
-import { narratagePackage as awsLambdaActivation } from "../src/activation.js";
+import { hypitPackage as awsLambdaActivation } from "../src/activation.js";
const ACCOUNT = "123456789012";
const REGION = "us-east-1";
-const BUCKET = "narratage-render-test";
-const STATE_MACHINE = `arn:aws:states:${REGION}:${ACCOUNT}:stateMachine:narratage-hyperframes`;
-const EXECUTION_PREFIX = `arn:aws:states:${REGION}:${ACCOUNT}:execution:narratage-hyperframes:`;
+const BUCKET = "hypit-render-test";
+const STATE_MACHINE = `arn:aws:states:${REGION}:${ACCOUNT}:stateMachine:hypit-hyperframes`;
+const EXECUTION_PREFIX = `arn:aws:states:${REGION}:${ACCOUNT}:execution:hypit-hyperframes:`;
function documentFixture(fps = 30, denominator = 1): HyperframesDocument {
return {
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
frameRate: { numerator: fps, denominator },
frameCount: 60,
canvas: { width: 720, height: 1280 },
@@ -161,7 +161,7 @@ function fakeClient(options: {
async stop(input) {
state.stopped.push(input.executionArn);
assert.equal(input.region, REGION);
- assert.match(input.reason, /Narratage cancelled Operation/u);
+ assert.match(input.reason, /Hypit cancelled Operation/u);
},
async openOutput(input) {
state.opened.push(input.s3Uri);
@@ -236,7 +236,7 @@ test("the Lambda Endpoint declines frame domains and requirements it cannot pres
alphaMode: "straight",
timing: { kind: "still" },
}],
- html: `<!doctype html><img data-narratage-surface-artifact="${artifact.digest}" src="narratage-artifact://sha256/${artifact.digest.slice("sha256:".length)}"/>`,
+ html: `<!doctype html><img data-hypit-surface-artifact="${artifact.digest}" src="hypit-artifact://sha256/${artifact.digest.slice("sha256:".length)}"/>`,
};
assert.equal(supportsAwsLambdaHyperframes(hyperframesVisualRequest(withSurface)), false,
"a deployment without a Surface verifier must fail closed");
@@ -296,7 +296,7 @@ test("one submission is polled and streams the output into the ArtifactStore", a
assert.doesNotThrow(() => validateDistributedRenderConfig(state.renderInputs[0]!.config),
"the locked SDK must accept the exact configuration sent by the Endpoint");
assert.equal(state.renderInputs[0]!.executionName,
- `narratage-${common.operation.replace(/[^A-Za-z0-9_-]/gu, "-")}`);
+ `hypit-${common.operation.replace(/[^A-Za-z0-9_-]/gu, "-")}`);
const completed = await endpoint.poll({
...common,
diff --git a/packages/provider-hyperframes-local/README.md b/packages/provider-hyperframes-local/README.md
index 73cf9cac..b2de8911 100644
--- a/packages/provider-hyperframes-local/README.md
+++ b/packages/provider-hyperframes-local/README.md
@@ -1,6 +1,6 @@
-# @narratage/provider-hyperframes-local
+# @hypit/provider-hyperframes-local
-Trusted local Provider for the `@narratage/render-hyperframes#render-visual` capability. It stages the
+Trusted local Provider for the `@hypit/render-hyperframes#render-visual` capability. It stages the
content-addressed dependencies declared by a `HyperframesDocument`, renders a silent MP4 with the
HyperFrames CLI, probes the bytes, and returns a verified `RenderedVisual`. Before staging a typed
Surface it decodes the exact bytes and checks declared dimensions, still/frame timing, SDR/sRGB and
@@ -13,7 +13,7 @@ There are deliberately two concurrency controls:
- `workers` controls HyperFrames' parallel Chrome frame workers inside one admitted render.
The Provider owns both controls because they are deployment policy, not author intent. It never
-renders program audio; `@narratage/provider-media-local` separately prepares `TimelineAudio` and muxes
+renders program audio; `@hypit/provider-media-local` separately prepares `TimelineAudio` and muxes
the final media.
The Runtime Adapter also declares one managed browser program. `programs up` invokes the pinned
diff --git a/packages/provider-hyperframes-local/package.json b/packages/provider-hyperframes-local/package.json
index 9d007c1f..3a9cf5a8 100644
--- a/packages/provider-hyperframes-local/package.json
+++ b/packages/provider-hyperframes-local/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/provider-hyperframes-local",
+ "name": "@hypit/provider-hyperframes-local",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,24 +7,24 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/hyperframes": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/media-execution": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/render-hyperframes": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/runtime-host-node": "workspace:*",
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/hyperframes": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/media-execution": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/render-hyperframes": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/runtime-host-node": "workspace:*",
"hyperframes": "0.7.101"
},
"devDependencies": {
- "@narratage/composition": "workspace:*",
- "@narratage/driver-node": "workspace:*",
- "@narratage/program-space": "workspace:*"
+ "@hypit/composition": "workspace:*",
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/program-space": "workspace:*"
}
}
diff --git a/packages/provider-hyperframes-local/src/activation.ts b/packages/provider-hyperframes-local/src/activation.ts
index a81aad60..e3ab881e 100644
--- a/packages/provider-hyperframes-local/src/activation.ts
+++ b/packages/provider-hyperframes-local/src/activation.ts
@@ -4,18 +4,18 @@ import {
runtimeConfigObject,
runtimeConfigPositiveInteger,
runtimeConfigString,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import {
diagnoseRuntimeExecutable,
resolveRuntimeExecutable,
-} from "@narratage/runtime-host-node";
+} from "@hypit/runtime-host-node";
import { createLocalHyperframesProvider } from "./provider.js";
import type { HyperframesBrowserGpu, HyperframesQuality, HyperframesWorkers } from "./provider.js";
import { localHyperframesBrowserProgram } from "./program.js";
const localHyperframesRuntimeAdapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-hyperframes-local",
+ use: "@hypit/provider-hyperframes-local",
activate(context) {
if (context.pool === undefined) throw new Error("local HyperFrames Provider Pool is required");
const config = runtimeConfigObject(context.config, "local HyperFrames");
@@ -83,9 +83,9 @@ const localHyperframesRuntimeAdapter = createRuntimeEndpointAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [localHyperframesRuntimeAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/provider-hyperframes-local/src/program.ts b/packages/provider-hyperframes-local/src/program.ts
index 392422d7..2a3c3537 100644
--- a/packages/provider-hyperframes-local/src/program.ts
+++ b/packages/provider-hyperframes-local/src/program.ts
@@ -1,9 +1,9 @@
import { execFile } from "node:child_process";
-import { probeMediaToolchain } from "@narratage/media-execution";
-import { runtimeConfigObject, runtimeConfigString } from "@narratage/runtime-kit";
-import type { RuntimeAdapterFactoryContext, ManagedProgram, ManagedProgramState } from "@narratage/runtime-kit";
-import { resolveRuntimeExecutable } from "@narratage/runtime-host-node";
+import { probeMediaToolchain } from "@hypit/media-execution";
+import { runtimeConfigObject, runtimeConfigString } from "@hypit/runtime-kit";
+import type { RuntimeAdapterFactoryContext, ManagedProgram, ManagedProgramState } from "@hypit/runtime-kit";
+import { resolveRuntimeExecutable } from "@hypit/runtime-host-node";
import { defaultHyperframesCliPath } from "./provider.js";
diff --git a/packages/provider-hyperframes-local/src/provider.ts b/packages/provider-hyperframes-local/src/provider.ts
index 892b889e..a7c00be9 100644
--- a/packages/provider-hyperframes-local/src/provider.ts
+++ b/packages/provider-hyperframes-local/src/provider.ts
@@ -4,23 +4,23 @@ import { createRequire } from "node:module";
import { mkdtemp, readFile, rm, stat, writeFile } from "node:fs/promises";
import { tmpdir } from "node:os";
import { dirname, join } from "node:path";
-import { mediaTypes, sealRenderedVisual } from "@narratage/media";
-import type { RenderedVisual } from "@narratage/media";
-import { verifyCompositableSurfaceBytes } from "@narratage/media-execution";
-import type { EndpointInvocationContext, EndpointFulfillment } from "@narratage/endpoint-kit";
-import { assertHyperframesDocument } from "@narratage/hyperframes";
-import type { HyperframesDocument } from "@narratage/hyperframes";
-import { stageHyperframesProject } from "@narratage/hyperframes/project";
-import { renderHyperframesCapabilities } from "@narratage/render-hyperframes";
-import { canonicalize } from "@narratage/protocol";
-import { isStreamingArtifactStore } from "@narratage/runtime";
-import type { BlobRef, CanonicalValue } from "@narratage/protocol";
-import { defineEndpointPackage } from "@narratage/endpoint-kit";
+import { mediaTypes, sealRenderedVisual } from "@hypit/media";
+import type { RenderedVisual } from "@hypit/media";
+import { verifyCompositableSurfaceBytes } from "@hypit/media-execution";
+import type { EndpointInvocationContext, EndpointFulfillment } from "@hypit/endpoint-kit";
+import { assertHyperframesDocument } from "@hypit/hyperframes";
+import type { HyperframesDocument } from "@hypit/hyperframes";
+import { stageHyperframesProject } from "@hypit/hyperframes/project";
+import { renderHyperframesCapabilities } from "@hypit/render-hyperframes";
+import { canonicalize } from "@hypit/protocol";
+import { isStreamingArtifactStore } from "@hypit/runtime";
+import type { BlobRef, CanonicalValue } from "@hypit/protocol";
+import { defineEndpointPackage } from "@hypit/endpoint-kit";
const HYPERFRAMES_VERSION = "0.7.101";
export const localHyperframesProviderModuleRef = {
- name: "@narratage/provider-hyperframes-local",
+ name: "@hypit/provider-hyperframes-local",
version: "1",
} as const;
@@ -259,7 +259,7 @@ export function createLocalHyperframesProvider(config: CreateLocalHyperframesPro
returns: mediaTypes.renderedVisual,
handler: async (context) => {
const document = visualRequest(context.need.constraints);
- const work = await mkdtemp(join(tmpdir(), "narratage-hyperframes-local-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-hyperframes-local-"));
try {
await stageHyperframesProject({
document,
diff --git a/packages/provider-hyperframes-local/test/provider.test.ts b/packages/provider-hyperframes-local/test/provider.test.ts
index 6cc80002..32e79d40 100644
--- a/packages/provider-hyperframes-local/test/provider.test.ts
+++ b/packages/provider-hyperframes-local/test/provider.test.ts
@@ -1,22 +1,22 @@
import { spawnSync } from "node:child_process";
import test from "node:test";
-import { mediaTypes, verifyRenderedVisual } from "@narratage/media";
-import type { CompositableSurfaceRef, RenderedVisual } from "@narratage/media";
-import { sealProgramSpace } from "@narratage/program-space";
-import { sealComposition, sealVisualTrack } from "@narratage/composition";
+import { mediaTypes, verifyRenderedVisual } from "@hypit/media";
+import type { CompositableSurfaceRef, RenderedVisual } from "@hypit/media";
+import { sealProgramSpace } from "@hypit/program-space";
+import { sealComposition, sealVisualTrack } from "@hypit/composition";
import assert from "node:assert/strict";
-import { MemoryArtifactStore, EndpointRegistry } from "@narratage/driver-node";
-import type { EndpointRegistration } from "@narratage/driver-node";
-import type { ImmediateEndpointHandler } from "@narratage/endpoint-kit";
-import { compileHyperframesDocument } from "@narratage/hyperframes";
-import { renderHyperframesCapabilities, hyperframesVisualRequest } from "@narratage/render-hyperframes";
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue, Need } from "@narratage/protocol";
+import { MemoryArtifactStore, EndpointRegistry } from "@hypit/driver-node";
+import type { EndpointRegistration } from "@hypit/driver-node";
+import type { ImmediateEndpointHandler } from "@hypit/endpoint-kit";
+import { compileHyperframesDocument } from "@hypit/hyperframes";
+import { renderHyperframesCapabilities, hyperframesVisualRequest } from "@hypit/render-hyperframes";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue, Need } from "@hypit/protocol";
import { createLocalHyperframesProvider } from "../src/index.js";
import { localHyperframesBrowserProgram } from "../src/program.js";
-const liveEnabled = process.env.NARRATAGE_BROWSER_TESTS === "1";
+const liveEnabled = process.env.HYPIT_BROWSER_TESTS === "1";
const hasFfprobe = spawnSync("ffprobe", ["-version"], { stdio: "ignore" }).status === 0;
function documentFixture(surface?: CompositableSurfaceRef) {
@@ -25,7 +25,7 @@ function documentFixture(surface?: CompositableSurfaceRef) {
frameRate: { numerator: 12, denominator: 1 },
});
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "provider-fixture",
presents: [{
id: "card",
diff --git a/packages/provider-image-opencv-local/README.md b/packages/provider-image-opencv-local/README.md
index 723e266b..a2c91e1c 100644
--- a/packages/provider-image-opencv-local/README.md
+++ b/packages/provider-image-opencv-local/README.md
@@ -1,6 +1,6 @@
-# `@narratage/provider-image-opencv-local`
+# `@hypit/provider-image-opencv-local`
-Local OpenCV/NumPy realization of the single `@narratage/raster` capability.
+Local OpenCV/NumPy realization of the single `@hypit/raster` capability.
Image Transform and Image Compose lower their different author meanings to one closed RasterRequest.
One Handler stages its content-addressed inputs, and one Python interpreter shares decoding, fit,
diff --git a/packages/provider-image-opencv-local/package.json b/packages/provider-image-opencv-local/package.json
index 9135a3f9..161e2b38 100644
--- a/packages/provider-image-opencv-local/package.json
+++ b/packages/provider-image-opencv-local/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/provider-image-opencv-local",
+ "name": "@hypit/provider-image-opencv-local",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,19 +7,19 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/raster": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/runtime-host-node": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/raster": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/runtime-host-node": "workspace:*"
},
"devDependencies": {
- "@narratage/driver-node": "workspace:*",
- "@narratage/image-transform": "workspace:*"
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/image-transform": "workspace:*"
}
}
diff --git a/packages/provider-image-opencv-local/runtime/raster_execute.py b/packages/provider-image-opencv-local/runtime/raster_execute.py
index 13f67620..e1be16f2 100644
--- a/packages/provider-image-opencv-local/runtime/raster_execute.py
+++ b/packages/provider-image-opencv-local/runtime/raster_execute.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-"""One bounded raster interpreter for @narratage/provider-image-opencv-local."""
+"""One bounded raster interpreter for @hypit/provider-image-opencv-local."""
import json
import math
diff --git a/packages/provider-image-opencv-local/src/activation.ts b/packages/provider-image-opencv-local/src/activation.ts
index c5affe7c..2129742f 100644
--- a/packages/provider-image-opencv-local/src/activation.ts
+++ b/packages/provider-image-opencv-local/src/activation.ts
@@ -4,17 +4,17 @@ import {
runtimeConfigObject,
runtimeConfigPositiveInteger,
runtimeConfigString,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import {
diagnoseRuntimeExecutable,
-} from "@narratage/runtime-host-node";
+} from "@hypit/runtime-host-node";
import { resolveLocalOpenCvDeployment } from "./deployment.js";
import { createLocalOpenCvImageProvider } from "./provider.js";
import { localOpenCvProgram } from "./program.js";
const localOpenCvRuntimeAdapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-image-opencv-local",
+ use: "@hypit/provider-image-opencv-local",
activate(context) {
if (context.pool === undefined) throw new Error("local OpenCV Provider Pool is required");
const config = runtimeConfigObject(context.config, "local OpenCV image");
@@ -48,9 +48,9 @@ const localOpenCvRuntimeAdapter = createRuntimeEndpointAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [localOpenCvRuntimeAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/provider-image-opencv-local/src/deployment.ts b/packages/provider-image-opencv-local/src/deployment.ts
index e0cd68e1..1f2e9f01 100644
--- a/packages/provider-image-opencv-local/src/deployment.ts
+++ b/packages/provider-image-opencv-local/src/deployment.ts
@@ -2,9 +2,9 @@ import { existsSync } from "node:fs";
import { join } from "node:path";
import { fileURLToPath } from "node:url";
-import { runtimeConfigObject, runtimeConfigString } from "@narratage/runtime-kit";
-import type { RuntimeAdapterFactoryContext, ManagedProgramCommand } from "@narratage/runtime-kit";
-import { resolveRuntimeExecutable } from "@narratage/runtime-host-node";
+import { runtimeConfigObject, runtimeConfigString } from "@hypit/runtime-kit";
+import type { RuntimeAdapterFactoryContext, ManagedProgramCommand } from "@hypit/runtime-kit";
+import { resolveRuntimeExecutable } from "@hypit/runtime-host-node";
/**
* Repository deployment bundled beside this Provider during development. A
diff --git a/packages/provider-image-opencv-local/src/program.ts b/packages/provider-image-opencv-local/src/program.ts
index 694a2314..4f012f3b 100644
--- a/packages/provider-image-opencv-local/src/program.ts
+++ b/packages/provider-image-opencv-local/src/program.ts
@@ -1,6 +1,6 @@
import { execFile } from "node:child_process";
-import type { RuntimeAdapterFactoryContext, ManagedProgram, ManagedProgramState } from "@narratage/runtime-kit";
+import type { RuntimeAdapterFactoryContext, ManagedProgram, ManagedProgramState } from "@hypit/runtime-kit";
import { resolveLocalOpenCvDeployment } from "./deployment.js";
diff --git a/packages/provider-image-opencv-local/src/provider.ts b/packages/provider-image-opencv-local/src/provider.ts
index 2e6eb477..486ae274 100644
--- a/packages/provider-image-opencv-local/src/provider.ts
+++ b/packages/provider-image-opencv-local/src/provider.ts
@@ -4,21 +4,21 @@ import { tmpdir } from "node:os";
import { join } from "node:path";
import { fileURLToPath } from "node:url";
-import { artifactTypes } from "@narratage/artifact";
-import { defineEndpointPackage } from "@narratage/endpoint-kit";
-import type { EndpointFulfillment } from "@narratage/endpoint-kit";
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue } from "@narratage/protocol";
+import { artifactTypes } from "@hypit/artifact";
+import { defineEndpointPackage } from "@hypit/endpoint-kit";
+import type { EndpointFulfillment } from "@hypit/endpoint-kit";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue } from "@hypit/protocol";
import {
assertRasterRequest,
rasterCapabilities,
rasterOutputMediaType,
rasterSources,
-} from "@narratage/raster";
-import type { RasterRequest } from "@narratage/raster";
+} from "@hypit/raster";
+import type { RasterRequest } from "@hypit/raster";
export const localOpenCvImageProviderModuleRef = {
- name: "@narratage/provider-image-opencv-local",
+ name: "@hypit/provider-image-opencv-local",
version: "1",
} as const;
@@ -108,7 +108,7 @@ export function createLocalOpenCvImageProvider(config: CreateLocalOpenCvImagePro
const sources = [...new Map(rasterSources(need).map((source) => [source.digest, source])).values()];
const totalInputBytes = sources.reduce((sum, source) => sum + source.size, 0);
assert(totalInputBytes <= maxInputBytes, "Raster inputs exceed their configured byte limit");
- const work = await mkdtemp(join(tmpdir(), "narratage-raster-opencv-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-raster-opencv-"));
try {
const paths = new Map<string, string>();
for (const [index, source] of sources.entries()) {
diff --git a/packages/provider-image-opencv-local/test/program.test.ts b/packages/provider-image-opencv-local/test/program.test.ts
index 6ad29085..8c061470 100644
--- a/packages/provider-image-opencv-local/test/program.test.ts
+++ b/packages/provider-image-opencv-local/test/program.test.ts
@@ -34,7 +34,7 @@ test("an interpreter without cv2 is reported here, not mid-Build", async () => {
test("an interpreter carrying another OpenCV major is a mismatch, not a failure", async () => {
// A stand-in interpreter that answers truthfully about an environment this
// Provider cannot drive: cv2 3.x predates the APIs it calls.
- const directory = await mkdtemp(join(tmpdir(), "narratage-opencv-probe-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-opencv-probe-"));
const fake = join(directory, "python");
await writeFile(fake, "#!/bin/sh\necho '{\"cv2\": \"3.4.18\", \"numpy\": \"2.1.0\"}'\n", { mode: 0o755 });
try {
diff --git a/packages/provider-image-opencv-local/test/provider.test.ts b/packages/provider-image-opencv-local/test/provider.test.ts
index 540d6ddb..dd47d952 100644
--- a/packages/provider-image-opencv-local/test/provider.test.ts
+++ b/packages/provider-image-opencv-local/test/provider.test.ts
@@ -2,20 +2,20 @@ import assert from "node:assert/strict";
import { spawnSync } from "node:child_process";
import test from "node:test";
-import { artifactTypes } from "@narratage/artifact";
-import { EndpointRegistry, MemoryArtifactStore } from "@narratage/driver-node";
+import { artifactTypes } from "@hypit/artifact";
+import { EndpointRegistry, MemoryArtifactStore } from "@hypit/driver-node";
import {
gptImageDenoiseV1,
sealImageTransformProgram,
-} from "@narratage/image-transform";
-import type { ImageTransformProgram } from "@narratage/image-transform";
+} from "@hypit/image-transform";
+import type { ImageTransformProgram } from "@hypit/image-transform";
import {
createLocalOpenCvImageProvider,
localOpenCvImageProviderModuleRef,
-} from "@narratage/provider-image-opencv-local";
-import { canonicalize } from "@narratage/protocol";
-import type { BlobRef, Need } from "@narratage/protocol";
-import { rasterCapabilities } from "@narratage/raster";
+} from "@hypit/provider-image-opencv-local";
+import { canonicalize } from "@hypit/protocol";
+import type { BlobRef, Need } from "@hypit/protocol";
+import { rasterCapabilities } from "@hypit/raster";
import { resolveLocalOpenCvDeployment } from "../src/deployment.js";
import { localOpenCvProgram } from "../src/program.js";
@@ -86,8 +86,8 @@ test("managed and external OpenCV deployments never mix their interpreters", ()
assert.equal(localOpenCvProgram(externalContext).prepare, undefined);
});
-const liveEnabled = process.env.NARRATAGE_OPENCV_TESTS === "1";
-const openCvPython = process.env.NARRATAGE_OPENCV_PYTHON ?? "python3";
+const liveEnabled = process.env.HYPIT_OPENCV_TESTS === "1";
+const openCvPython = process.env.HYPIT_OPENCV_PYTHON ?? "python3";
const hasOpenCv = spawnSync(openCvPython, ["-c", "import cv2, numpy"], { stdio: "ignore" }).status === 0;
test("the local Provider returns only a new image BlobArtifact", {
diff --git a/packages/provider-kie/README.md b/packages/provider-kie/README.md
index b0450c99..8ff5654d 100644
--- a/packages/provider-kie/README.md
+++ b/packages/provider-kie/README.md
@@ -1,10 +1,10 @@
-# `@narratage/provider-kie`
+# `@hypit/provider-kie`
Asynchronous KIE Market Provider for the twelve explicitly selected exact models and one generic
background-removal capability.
-This package is deployment code. Author source imports model modules such as `@narratage/seedance` or
-`@narratage/gpt-image`; trusted Runtime configuration installs `createKieProvider()`. The Provider binds
+This package is deployment code. Author source imports model modules such as `@hypit/seedance` or
+`@hypit/gpt-image`; trusted Runtime configuration installs `createKieProvider()`. The Provider binds
only those exact model capabilities and never interprets a generic image/video request as permission to
choose another model.
@@ -20,14 +20,14 @@ routes rather than extra Capabilities.
| Author module | Exact models | KIE model slugs |
|---|---|---|
-| `@narratage/seedance` | `seedance-2`, `-fast`, `-mini`, `seedance-2.5` | `bytedance/seedance-2*`, `bytedance/seedance-2-5` |
-| `@narratage/minimax-h3` | `minimax-h3` | `minimax-h3/{text,image,reference}-to-video` |
-| `@narratage/gemini-omni` | `gemini-omni-video` | `gemini-omni-video` |
-| `@narratage/grok-imagine` | `grok-imagine-video`, `-1.5-preview` | Grok Imagine video endpoints |
-| `@narratage/gpt-image` | `gpt-image-2` | `gpt-image-2-{text,image}-to-image` |
-| `@narratage/nano-banana` | `nano-banana-2`, `-pro` | `nano-banana-2`, `nano-banana-pro` |
-| `@narratage/seedream` | `seedream-5-lite` | `seedream/5-lite-{text,image}-to-image` |
-| `@narratage/background-removal` | `remove-background` | `recraft/remove-background` |
+| `@hypit/seedance` | `seedance-2`, `-fast`, `-mini`, `seedance-2.5` | `bytedance/seedance-2*`, `bytedance/seedance-2-5` |
+| `@hypit/minimax-h3` | `minimax-h3` | `minimax-h3/{text,image,reference}-to-video` |
+| `@hypit/gemini-omni` | `gemini-omni-video` | `gemini-omni-video` |
+| `@hypit/grok-imagine` | `grok-imagine-video`, `-1.5-preview` | Grok Imagine video endpoints |
+| `@hypit/gpt-image` | `gpt-image-2` | `gpt-image-2-{text,image}-to-image` |
+| `@hypit/nano-banana` | `nano-banana-2`, `-pro` | `nano-banana-2`, `nano-banana-pro` |
+| `@hypit/seedream` | `seedream-5-lite` | `seedream/5-lite-{text,image}-to-image` |
+| `@hypit/background-removal` | `remove-background` | `recraft/remove-background` |
There is deliberately no Grok image capability and no MiMo capability in this release. Seedream's
`nsfwCheck` is explicit author request content; KIE cannot silently enable or disable it. A
@@ -40,7 +40,7 @@ Declarative activation names an ordinary CredentialRef, not an environment-speci
```json
{
- "use": "@narratage/provider-kie",
+ "use": "@hypit/provider-kie",
"instance": "kie.personal",
"config": {
"apiKey": { "store": "keychain", "key": "kie.api-key" },
@@ -53,13 +53,13 @@ Declarative activation names an ordinary CredentialRef, not an environment-speci
}
```
-The selected writable CredentialStore then enables `narratage auth login kie.personal --runtime
-narratage.runtime.json`; KIE contributes the credential description and the generic CLI contains no KIE
+The selected writable CredentialStore then enables `hypit auth login kie.personal --runtime
+hypit.runtime.json`; KIE contributes the credential description and the generic CLI contains no KIE
branch.
```ts
-import { createKieProvider } from "@narratage/provider-kie";
-import { credentialRef } from "@narratage/runtime";
+import { createKieProvider } from "@hypit/provider-kie";
+import { credentialRef } from "@hypit/runtime";
const kie = createKieProvider({
instance: "kie.personal",
@@ -103,15 +103,15 @@ explicitly and keeps a stable Runtime directory under the operating system tempo
an interrupted paid task can continue polling from its SQLite checkpoint:
```sh
-NARRATAGE_KIE_LIVE=1 KIE_API_KEY=... pnpm smoke:kie
+HYPIT_KIE_LIVE=1 KIE_API_KEY=... pnpm smoke:kie
```
-The default case is `gpt-image-2`. Set `NARRATAGE_KIE_SMOKE_CASES=all` or a comma-separated subset of
+The default case is `gpt-image-2`. Set `HYPIT_KIE_SMOKE_CASES=all` or a comma-separated subset of
`gpt-image-2,nano-banana-2,seedream-5-lite,seedance-2-mini,minimax-h3,gemini-omni,grok-imagine`.
-Set `NARRATAGE_KIE_SMOKE_REFERENCE` to add the optional `gpt-image-2-edit` upload case; only use an asset
+Set `HYPIT_KIE_SMOKE_REFERENCE` to add the optional `gpt-image-2-edit` upload case; only use an asset
that is explicitly approved for external upload.
-`KIE_BASE_URL` and `NARRATAGE_KIE_SMOKE_ROOT` are optional deployment overrides. The command prints
+`KIE_BASE_URL` and `HYPIT_KIE_SMOKE_ROOT` are optional deployment overrides. The command prints
credit usage, the content digest and a local inspection copy, but never prints or persists the key.
A representative run of all seven families and the optional upload case has passed. Generated
results are deployment evidence and are intentionally not committed as a dated transcript.
diff --git a/packages/provider-kie/package.json b/packages/provider-kie/package.json
index 93587ecf..d041fe43 100644
--- a/packages/provider-kie/package.json
+++ b/packages/provider-kie/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/provider-kie",
+ "name": "@hypit/provider-kie",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,38 +7,38 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/background-removal": "workspace:*",
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/background-removal": "workspace:*",
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*"
},
"devDependencies": {
- "@narratage/artifact-store-fs": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/core": "workspace:*",
- "@narratage/credential-store-env": "workspace:*",
- "@narratage/driver-node": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/gemini-omni": "workspace:*",
- "@narratage/gpt-image": "workspace:*",
- "@narratage/grok-imagine": "workspace:*",
- "@narratage/runtime-local": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/minimax-h3": "workspace:*",
- "@narratage/model-kit": "workspace:*",
- "@narratage/nano-banana": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/seedance": "workspace:*",
- "@narratage/seedream": "workspace:*",
- "@narratage/store-sqlite": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/artifact-store-fs": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/core": "workspace:*",
+ "@hypit/credential-store-env": "workspace:*",
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/gemini-omni": "workspace:*",
+ "@hypit/gpt-image": "workspace:*",
+ "@hypit/grok-imagine": "workspace:*",
+ "@hypit/runtime-local": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/minimax-h3": "workspace:*",
+ "@hypit/model-kit": "workspace:*",
+ "@hypit/nano-banana": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/seedance": "workspace:*",
+ "@hypit/seedream": "workspace:*",
+ "@hypit/store-sqlite": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/validation": "workspace:*"
}
}
diff --git a/packages/provider-kie/src/activation.ts b/packages/provider-kie/src/activation.ts
index 8edf1131..acada764 100644
--- a/packages/provider-kie/src/activation.ts
+++ b/packages/provider-kie/src/activation.ts
@@ -5,12 +5,12 @@ import {
runtimeConfigObject,
runtimeConfigPositiveInteger,
runtimeConfigString,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import { createKieProvider } from "./provider.js";
const kieRuntimeAdapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-kie",
+ use: "@hypit/provider-kie",
activate(context) {
if (context.pool === undefined) throw new Error("KIE Provider Pool is required");
const config = runtimeConfigObject(context.config, "KIE");
@@ -62,9 +62,9 @@ const kieRuntimeAdapter = createRuntimeEndpointAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [kieRuntimeAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/provider-kie/src/mapping.ts b/packages/provider-kie/src/mapping.ts
index 37c6ae66..e4e777fa 100644
--- a/packages/provider-kie/src/mapping.ts
+++ b/packages/provider-kie/src/mapping.ts
@@ -1,5 +1,5 @@
-import type { CapabilityRef, ModuleRef } from "@narratage/protocol";
-import type { GenerationWireMapping } from "@narratage/generation";
+import type { CapabilityRef, ModuleRef } from "@hypit/protocol";
+import type { GenerationWireMapping } from "@hypit/generation";
/**
* How KIE names each model's declared input ports.
@@ -11,13 +11,13 @@ import type { GenerationWireMapping } from "@narratage/generation";
*/
/** Model packages this KIE release is written against. A version bump is a mapping review. */
-const SEEDANCE: ModuleRef = { name: "@narratage/seedance", version: "1" };
-const MINIMAX: ModuleRef = { name: "@narratage/minimax-h3", version: "1" };
-const GEMINI: ModuleRef = { name: "@narratage/gemini-omni", version: "1" };
-const GROK: ModuleRef = { name: "@narratage/grok-imagine", version: "1" };
-const GPT_IMAGE: ModuleRef = { name: "@narratage/gpt-image", version: "1" };
-const NANO_BANANA: ModuleRef = { name: "@narratage/nano-banana", version: "1" };
-const SEEDREAM: ModuleRef = { name: "@narratage/seedream", version: "1" };
+const SEEDANCE: ModuleRef = { name: "@hypit/seedance", version: "1" };
+const MINIMAX: ModuleRef = { name: "@hypit/minimax-h3", version: "1" };
+const GEMINI: ModuleRef = { name: "@hypit/gemini-omni", version: "1" };
+const GROK: ModuleRef = { name: "@hypit/grok-imagine", version: "1" };
+const GPT_IMAGE: ModuleRef = { name: "@hypit/gpt-image", version: "1" };
+const NANO_BANANA: ModuleRef = { name: "@hypit/nano-banana", version: "1" };
+const SEEDREAM: ModuleRef = { name: "@hypit/seedream", version: "1" };
/** KIE keeps each reference modality in its own array, as its schema documents. */
const referenceFields = {
diff --git a/packages/provider-kie/src/provider.ts b/packages/provider-kie/src/provider.ts
index 0dd9b15b..faa8a7c0 100644
--- a/packages/provider-kie/src/provider.ts
+++ b/packages/provider-kie/src/provider.ts
@@ -3,21 +3,21 @@ import type {
EndpointPollContext,
EndpointStartContext,
EndpointOutcome,
-} from "@narratage/endpoint-kit";
+} from "@hypit/endpoint-kit";
import {
canonicalize,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type {
BlobRef,
CanonicalValue,
Digest,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
defineEndpointPackage,
wakeAfter,
-} from "@narratage/endpoint-kit";
-import { credentialRef, isStreamingArtifactStore } from "@narratage/runtime";
-import type { ArtifactStore, CredentialRef } from "@narratage/runtime";
+} from "@hypit/endpoint-kit";
+import { credentialRef, isStreamingArtifactStore } from "@hypit/runtime";
+import type { ArtifactStore, CredentialRef } from "@hypit/runtime";
import {
kieRouteForCapability,
@@ -26,7 +26,7 @@ import {
} from "./routes.js";
import type { KieTaskRequest } from "./routes.js";
-export const kieProviderModuleRef = { name: "@narratage/provider-kie", version: "1" } as const;
+export const kieProviderModuleRef = { name: "@hypit/provider-kie", version: "1" } as const;
type Fetch = typeof globalThis.fetch;
@@ -50,7 +50,7 @@ export type CreateKieProviderOptions = {
};
type KieHandle = {
- readonly contract: "narratage.kie-operation@1";
+ readonly contract: "hypit.kie-operation@1";
readonly taskId: string;
readonly routeKey: string;
readonly startedAt: number;
@@ -217,7 +217,7 @@ class KieClient {
}
const hex = artifact.digest.slice("sha256:".length);
const fileName = `${hex}.${mediaExtension(artifact.mediaType)}`;
- const boundary = `narratage-${hex}`;
+ const boundary = `hypit-${hex}`;
const encode = (value: string) => new TextEncoder().encode(value);
const fileHead = encode(
`--${boundary}\r\nContent-Disposition: form-data; name="file"; filename="${fileName}"\r\n`
@@ -418,7 +418,7 @@ function readHandle(value: CanonicalValue | undefined, context: EndpointPollCont
}
const handle = object(value, "KIE handle") as unknown as KieHandle;
const route = kieRouteForCapability(context.need.capability);
- if (handle.contract !== "narratage.kie-operation@1"
+ if (handle.contract !== "hypit.kie-operation@1"
|| typeof handle.taskId !== "string"
|| route === undefined
|| handle.routeKey !== route.key
@@ -464,7 +464,7 @@ function endpoint(options: {
await options.gate.enter();
const taskId = await options.client.createTask(task, key);
const handle: KieHandle = {
- contract: "narratage.kie-operation@1",
+ contract: "hypit.kie-operation@1",
taskId,
routeKey: route.key,
startedAt: options.now(),
diff --git a/packages/provider-kie/src/routes.ts b/packages/provider-kie/src/routes.ts
index 47afd3b0..11417d9e 100644
--- a/packages/provider-kie/src/routes.ts
+++ b/packages/provider-kie/src/routes.ts
@@ -1,18 +1,18 @@
-import { artifactTypes } from "@narratage/artifact";
+import { artifactTypes } from "@hypit/artifact";
import {
assertBackgroundRemovalRequest,
backgroundRemovalCapabilities,
-} from "@narratage/background-removal";
-import type { BackgroundRemovalRequest } from "@narratage/background-removal";
+} from "@hypit/background-removal";
+import type { BackgroundRemovalRequest } from "@hypit/background-removal";
import {
compileWireRequest,
generationTypes,
sealGeneratedImageSet,
sealGeneratedVideoSet,
-} from "@narratage/generation";
-import type { GenerationArtifactUrlResolver, GenerationRequest, GenerationWireMapping } from "@narratage/generation";
-import { canonicalize } from "@narratage/protocol";
-import type { BlobRef, CanonicalValue, CapabilityRef, StoredValue, TypeRef } from "@narratage/protocol";
+} from "@hypit/generation";
+import type { GenerationArtifactUrlResolver, GenerationRequest, GenerationWireMapping } from "@hypit/generation";
+import { canonicalize } from "@hypit/protocol";
+import type { BlobRef, CanonicalValue, CapabilityRef, StoredValue, TypeRef } from "@hypit/protocol";
import { kieModelCatalog, verifyKieModelCatalog } from "./mapping.js";
diff --git a/packages/provider-kie/test/live-smoke.ts b/packages/provider-kie/test/live-smoke.ts
index fc042769..12c66219 100644
--- a/packages/provider-kie/test/live-smoke.ts
+++ b/packages/provider-kie/test/live-smoke.ts
@@ -2,9 +2,9 @@ import { randomUUID } from "node:crypto";
import { mkdir, readFile, writeFile } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join, resolve } from "node:path";
-import { FileArtifactStore } from "@narratage/artifact-store-fs";
-import { EnvironmentCredentialStore } from "@narratage/credential-store-env";
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
+import { FileArtifactStore } from "@hypit/artifact-store-fs";
+import { EnvironmentCredentialStore } from "@hypit/credential-store-env";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
import {
createResolvedClosure,
defineBuild,
@@ -13,70 +13,70 @@ import {
sealCompiledGraph,
sealRecord,
start,
-} from "@narratage/core";
-import { narrativeManifest } from "@narratage/narrative";
-import { mediaManifest } from "@narratage/media";
+} from "@hypit/core";
+import { narrativeManifest } from "@hypit/narrative";
+import { mediaManifest } from "@hypit/media";
import {
geminiOmniComponent,
geminiOmniEndpoints,
geminiOmniManifest,
sealGeminiOmniRequest,
-} from "@narratage/gemini-omni";
+} from "@hypit/gemini-omni";
import {
generationComponent,
generationManifest,
verifyGeneratedImageSet,
verifyGeneratedVideoSet,
-} from "@narratage/generation";
+} from "@hypit/generation";
import {
gptImageComponent,
gptImageEndpoints,
gptImageManifest,
sealGptImage2Request,
-} from "@narratage/gpt-image";
+} from "@hypit/gpt-image";
import {
grokImagineComponent,
grokImagineEndpoints,
grokImagineManifest,
sealGrokImagineRequest,
-} from "@narratage/grok-imagine";
-import { createLocalRuntime } from "@narratage/runtime-local";
-import type { LocalBuildSubmission } from "@narratage/runtime-local";
+} from "@hypit/grok-imagine";
+import { createLocalRuntime } from "@hypit/runtime-local";
+import type { LocalBuildSubmission } from "@hypit/runtime-local";
import {
minimaxH3Component,
minimaxH3Endpoints,
minimaxH3Manifest,
sealMinimaxH3Request,
-} from "@narratage/minimax-h3";
-import type { ExactModelEndpoint, ExactModelModule } from "@narratage/model-kit";
+} from "@hypit/minimax-h3";
+import type { ExactModelEndpoint, ExactModelModule } from "@hypit/model-kit";
import {
nanoBananaComponent,
nanoBananaEndpoints,
nanoBananaManifest,
sealNanoBananaRequest,
-} from "@narratage/nano-banana";
-import { createKieProvider } from "@narratage/provider-kie";
+} from "@hypit/nano-banana";
+import { createKieProvider } from "@hypit/provider-kie";
import type {
BlobRef,
CanonicalValue,
ModuleManifest,
TypedRecord,
-} from "@narratage/protocol";
-import { credentialRef } from "@narratage/runtime";
-import { SqliteRuntimeState } from "@narratage/store-sqlite";
+} from "@hypit/protocol";
+import { credentialRef } from "@hypit/runtime";
+import { SqliteRuntimeState } from "@hypit/store-sqlite";
import {
sealSeedanceRequest,
seedanceComponent,
seedanceEndpoints,
seedanceManifest,
-} from "@narratage/seedance";
+} from "@hypit/seedance";
import {
sealSeedreamRequest,
seedreamComponent,
seedreamEndpoints,
seedreamManifest,
-} from "@narratage/seedream";
-import { admitRecord, TypeValidatorRegistry } from "@narratage/validation";
+} from "@hypit/seedream";
+import { admitRecord, TypeValidatorRegistry } from "@hypit/validation";
type SmokeCase = {
readonly key: string;
@@ -145,7 +145,7 @@ function caseIds(key: string, media: "image" | "video"): SmokeCase["ids"] {
if (key === "gpt-image-2") {
return {
request: "request:gpt-image-2-live",
- source: "@narratage/provider-kie/live-smoke/gpt-image-2@1",
+ source: "@hypit/provider-kie/live-smoke/gpt-image-2@1",
output: "result:image",
candidate: "candidate:gpt-image-2",
operation: "operation:gpt-image-2",
@@ -155,7 +155,7 @@ function caseIds(key: string, media: "image" | "video"): SmokeCase["ids"] {
}
return {
request: `request:${key}-live`,
- source: `@narratage/provider-kie/live-smoke/${key}@1`,
+ source: `@hypit/provider-kie/live-smoke/${key}@1`,
output: `result:${key}`,
candidate: `candidate:${key}`,
operation: `operation:${key}`,
@@ -169,7 +169,7 @@ function referenceMediaType(path: string): string {
if (lower.endsWith(".jpg") || lower.endsWith(".jpeg")) return "image/jpeg";
if (lower.endsWith(".webp")) return "image/webp";
if (lower.endsWith(".png")) return "image/png";
- throw new Error("NARRATAGE_KIE_SMOKE_REFERENCE must be a PNG, JPEG or WebP image");
+ throw new Error("HYPIT_KIE_SMOKE_REFERENCE must be a PNG, JPEG or WebP image");
}
async function smokeCases(root: string): Promise<readonly SmokeCase[]> {
@@ -268,7 +268,7 @@ async function smokeCases(root: string): Promise<readonly SmokeCase[]> {
}) as unknown as CanonicalValue,
},
];
- const referencePath = process.env.NARRATAGE_KIE_SMOKE_REFERENCE;
+ const referencePath = process.env.HYPIT_KIE_SMOKE_REFERENCE;
if (referencePath !== undefined) {
const absolute = resolve(referencePath);
const store = new FileArtifactStore(join(root, ".svml", "artifacts"));
@@ -290,10 +290,10 @@ async function smokeCases(root: string): Promise<readonly SmokeCase[]> {
}
function selectCases(cases: readonly SmokeCase[]): readonly SmokeCase[] {
- const requested = process.env.NARRATAGE_KIE_SMOKE_CASES ?? "gpt-image-2";
+ const requested = process.env.HYPIT_KIE_SMOKE_CASES ?? "gpt-image-2";
if (requested === "all") return cases;
const keys = requested.split(",").map((item) => item.trim()).filter((item) => item.length > 0);
- assert(keys.length > 0, "NARRATAGE_KIE_SMOKE_CASES selected no cases");
+ assert(keys.length > 0, "HYPIT_KIE_SMOKE_CASES selected no cases");
const available = new Map(cases.map((item) => [item.key, item]));
return keys.map((key) => {
const item = available.get(key);
@@ -371,12 +371,12 @@ function failureMessage(item: SmokeCase, build: LocalBuildSubmission): string {
}
async function main(): Promise<void> {
- assert(process.env.NARRATAGE_KIE_LIVE === "1",
- "KIE live smoke is paid and opt-in; set NARRATAGE_KIE_LIVE=1 explicitly");
+ assert(process.env.HYPIT_KIE_LIVE === "1",
+ "KIE live smoke is paid and opt-in; set HYPIT_KIE_LIVE=1 explicitly");
const key = process.env.KIE_API_KEY;
assert(key !== undefined && key.length > 0, "KIE_API_KEY is required");
const baseUrl = apiBaseUrl(process.env.KIE_BASE_URL ?? "https://api.kie.ai");
- const root = resolve(process.env.NARRATAGE_KIE_SMOKE_ROOT ?? join(tmpdir(), "narratage-kie-live"));
+ const root = resolve(process.env.HYPIT_KIE_SMOKE_ROOT ?? join(tmpdir(), "hypit-kie-live"));
await mkdir(root, { recursive: true });
const selected = selectCases(await smokeCases(root));
console.log(`KIE smoke cases: ${selected.map((item) => item.key).join(", ")}`);
@@ -389,13 +389,13 @@ async function main(): Promise<void> {
defaultConcurrency: 1,
pollIntervalMs: 3_000,
});
- const state = new SqliteRuntimeState(join(root, ".narratage", "runtime.sqlite"));
+ const state = new SqliteRuntimeState(join(root, ".hypit", "runtime.sqlite"));
const runtime = await createLocalRuntime({
buildStore: state.builds,
buildCatalog: state.catalog,
operationStore: state.operations,
dispatchStore: state.dispatch,
- artifactStore: new FileArtifactStore(join(root, ".narratage", "artifacts")),
+ artifactStore: new FileArtifactStore(join(root, ".hypit", "artifacts")),
credentialStore: new EnvironmentCredentialStore(),
components: [
generationComponent,
diff --git a/packages/provider-kie/test/models.test.ts b/packages/provider-kie/test/models.test.ts
index 9e3b6f2a..88d2feac 100644
--- a/packages/provider-kie/test/models.test.ts
+++ b/packages/provider-kie/test/models.test.ts
@@ -1,50 +1,50 @@
import assert from "node:assert/strict";
import test from "node:test";
import { videoContractManifests } from "../../../test/support/video-domain.js";
-import { createResolvedClosure } from "@narratage/core";
+import { createResolvedClosure } from "@hypit/core";
-import { verifyGraphFragment } from "@narratage/elaborator";
+import { verifyGraphFragment } from "@hypit/elaborator";
import {
geminiOmniDefinition,
geminiOmniManifest,
sealGeminiOmniRequest,
-} from "@narratage/gemini-omni";
-import { MemoryArtifactStore } from "@narratage/driver-node";
+} from "@hypit/gemini-omni";
+import { MemoryArtifactStore } from "@hypit/driver-node";
import {
assertMappingCoversPorts,
compileWireRequest,
generationManifest,
-} from "@narratage/generation";
-import type { GenerationPortTable } from "@narratage/generation";
+} from "@hypit/generation";
+import type { GenerationPortTable } from "@hypit/generation";
import {
gptImageDefinition,
gptImageManifest,
sealGptImage2Request,
-} from "@narratage/gpt-image";
+} from "@hypit/gpt-image";
import {
grokImagineDefinition,
grokImagineManifest,
sealGrokImagineRequest,
-} from "@narratage/grok-imagine";
+} from "@hypit/grok-imagine";
import {
minimaxH3Definition,
minimaxH3Manifest,
sealMinimaxH3Request,
-} from "@narratage/minimax-h3";
+} from "@hypit/minimax-h3";
import {
nanoBananaDefinition,
nanoBananaManifest,
sealNanoBananaRequest,
-} from "@narratage/nano-banana";
-import { kieModelCatalog } from "@narratage/provider-kie";
-import { seedanceDefinition, seedanceManifest, seedancePorts, sealSeedanceRequest } from "@narratage/seedance";
+} from "@hypit/nano-banana";
+import { kieModelCatalog } from "@hypit/provider-kie";
+import { seedanceDefinition, seedanceManifest, seedancePorts, sealSeedanceRequest } from "@hypit/seedance";
import {
seedreamDefinition,
seedreamManifest,
sealSeedreamRequest,
-} from "@narratage/seedream";
-import type { CapabilityRef, LinkedProgram } from "@narratage/protocol";
-import { textManifest } from "@narratage/text";
+} from "@hypit/seedream";
+import type { CapabilityRef, LinkedProgram } from "@hypit/protocol";
+import { textManifest } from "@hypit/text";
/**
* Every exact model this repository ships, paired with the Capability it publishes.
@@ -72,13 +72,13 @@ test("the selected KIE release is seven exact model families and no Grok image c
assert.deepEqual(
[...new Set(kieModelCatalog.map((item) => item.capability.module.name))].sort(),
[
- "@narratage/gemini-omni",
- "@narratage/gpt-image",
- "@narratage/grok-imagine",
- "@narratage/minimax-h3",
- "@narratage/nano-banana",
- "@narratage/seedance",
- "@narratage/seedream",
+ "@hypit/gemini-omni",
+ "@hypit/gpt-image",
+ "@hypit/grok-imagine",
+ "@hypit/minimax-h3",
+ "@hypit/nano-banana",
+ "@hypit/seedance",
+ "@hypit/seedream",
],
);
});
diff --git a/packages/provider-kie/test/provider.test.ts b/packages/provider-kie/test/provider.test.ts
index 2dd7378d..eef128a5 100644
--- a/packages/provider-kie/test/provider.test.ts
+++ b/packages/provider-kie/test/provider.test.ts
@@ -5,14 +5,14 @@ import { fixtureDigest } from "../../../test/fixture-digest.js";
import {
MemoryArtifactStore,
EndpointRegistry,
-} from "@narratage/driver-node";
-import type { EndpointRegistration } from "@narratage/driver-node";
-import type { AsyncEndpoint } from "@narratage/endpoint-kit";
-import { artifactTypes } from "@narratage/artifact";
-import { backgroundRemovalCapabilities, backgroundRemovalRequest } from "@narratage/background-removal";
-import { seedanceEndpoints, sealSeedanceRequest } from "@narratage/seedance";
-import type { CanonicalValue, Need } from "@narratage/protocol";
-import { createKieProvider } from "@narratage/provider-kie";
+} from "@hypit/driver-node";
+import type { EndpointRegistration } from "@hypit/driver-node";
+import type { AsyncEndpoint } from "@hypit/endpoint-kit";
+import { artifactTypes } from "@hypit/artifact";
+import { backgroundRemovalCapabilities, backgroundRemovalRequest } from "@hypit/background-removal";
+import { seedanceEndpoints, sealSeedanceRequest } from "@hypit/seedance";
+import type { CanonicalValue, Need } from "@hypit/protocol";
+import { createKieProvider } from "@hypit/provider-kie";
function need(constraints: CanonicalValue): Need {
return {
diff --git a/packages/provider-media-aws-lambda/README.md b/packages/provider-media-aws-lambda/README.md
index 4ebfdd9d..c88a40d1 100644
--- a/packages/provider-media-aws-lambda/README.md
+++ b/packages/provider-media-aws-lambda/README.md
@@ -1,7 +1,7 @@
-# `@narratage/provider-media-aws-lambda`
+# `@hypit/provider-media-aws-lambda`
AWS Lambda Endpoint package for the eight exact capabilities declared by
-`@narratage/media-pipeline` and implemented by `@narratage/media-execution`.
+`@hypit/media-pipeline` and implemented by `@hypit/media-execution`.
The Provider invokes one versioned or aliased Lambda ARN synchronously. Source and result bytes stay
in the configured S3 ArtifactStore bucket; invocation carries only bounded JSON and content-addressed
diff --git a/packages/provider-media-aws-lambda/package.json b/packages/provider-media-aws-lambda/package.json
index 1315012e..ac7f9cc9 100644
--- a/packages/provider-media-aws-lambda/package.json
+++ b/packages/provider-media-aws-lambda/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/provider-media-aws-lambda",
+ "name": "@hypit/provider-media-aws-lambda",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,20 +7,20 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/transport-aws-lambda": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/transport-aws-lambda": "workspace:*"
},
"devDependencies": {
- "@narratage/driver-node": "workspace:*"
+ "@hypit/driver-node": "workspace:*"
}
}
diff --git a/packages/provider-media-aws-lambda/src/activation.ts b/packages/provider-media-aws-lambda/src/activation.ts
index b552b182..c469aee1 100644
--- a/packages/provider-media-aws-lambda/src/activation.ts
+++ b/packages/provider-media-aws-lambda/src/activation.ts
@@ -4,8 +4,8 @@ import {
runtimeConfigObject,
runtimeConfigPositiveInteger,
runtimeConfigString,
-} from "@narratage/runtime-kit";
-import type { RuntimeAdapterFactoryContext } from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
+import type { RuntimeAdapterFactoryContext } from "@hypit/runtime-kit";
import { createAwsLambdaMediaProvider } from "./provider.js";
import type { CreateAwsLambdaMediaProviderOptions } from "./provider.js";
@@ -51,7 +51,7 @@ function providerOptions(context: RuntimeAdapterFactoryContext): CreateAwsLambda
}
const awsLambdaMediaRuntimeAdapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-media-aws-lambda",
+ use: "@hypit/provider-media-aws-lambda",
activate(context) {
return { endpoint: createAwsLambdaMediaProvider(providerOptions(context)) };
},
@@ -60,9 +60,9 @@ const awsLambdaMediaRuntimeAdapter = createRuntimeEndpointAdapterFacet({
// read-only deployment probe is added.
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [awsLambdaMediaRuntimeAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/provider-media-aws-lambda/src/contract.ts b/packages/provider-media-aws-lambda/src/contract.ts
index c1cf2c67..e03700e6 100644
--- a/packages/provider-media-aws-lambda/src/contract.ts
+++ b/packages/provider-media-aws-lambda/src/contract.ts
@@ -1,5 +1,5 @@
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue, StoredValue } from "@narratage/protocol";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue, StoredValue } from "@hypit/protocol";
/**
* The envelope between the Endpoint and the function it invokes.
@@ -9,8 +9,8 @@ import type { CanonicalValue, StoredValue } from "@narratage/protocol";
* invocation is an untrusted input even when the account is trusted. Neither
* side treats the other's output as already valid.
*/
-export const MEDIA_LAMBDA_REQUEST = "narratage.media-lambda-request@1";
-export const MEDIA_LAMBDA_RESPONSE = "narratage.media-lambda-response@1";
+export const MEDIA_LAMBDA_REQUEST = "hypit.media-lambda-request@1";
+export const MEDIA_LAMBDA_RESPONSE = "hypit.media-lambda-response@1";
export const mediaLambdaOperations = [
"inspect",
diff --git a/packages/provider-media-aws-lambda/src/provider.ts b/packages/provider-media-aws-lambda/src/provider.ts
index a37fa753..f183f74d 100644
--- a/packages/provider-media-aws-lambda/src/provider.ts
+++ b/packages/provider-media-aws-lambda/src/provider.ts
@@ -1,13 +1,13 @@
-import { mediaTypes } from "@narratage/media";
-import { artifactTypes } from "@narratage/artifact";
-import { mediaPipelineCapabilities } from "@narratage/media-pipeline";
-import { canonicalize } from "@narratage/protocol";
-import type { BlobRef, CanonicalValue } from "@narratage/protocol";
-import { speechTypes } from "@narratage/speech";
-import { defineEndpointPackage } from "@narratage/endpoint-kit";
-import type { EndpointFulfillment, EndpointInvocationContext } from "@narratage/endpoint-kit";
-import { AwsLambdaJsonInvoker } from "@narratage/transport-aws-lambda";
-import type { JsonInvoker } from "@narratage/transport-aws-lambda";
+import { mediaTypes } from "@hypit/media";
+import { artifactTypes } from "@hypit/artifact";
+import { mediaPipelineCapabilities } from "@hypit/media-pipeline";
+import { canonicalize } from "@hypit/protocol";
+import type { BlobRef, CanonicalValue } from "@hypit/protocol";
+import { speechTypes } from "@hypit/speech";
+import { defineEndpointPackage } from "@hypit/endpoint-kit";
+import type { EndpointFulfillment, EndpointInvocationContext } from "@hypit/endpoint-kit";
+import { AwsLambdaJsonInvoker } from "@hypit/transport-aws-lambda";
+import type { JsonInvoker } from "@hypit/transport-aws-lambda";
import {
MEDIA_LAMBDA_REQUEST,
@@ -17,7 +17,7 @@ import {
import type { MediaLambdaOperation } from "./contract.js";
export const awsLambdaMediaProviderModuleRef = {
- name: "@narratage/provider-media-aws-lambda",
+ name: "@hypit/provider-media-aws-lambda",
version: "1",
} as const;
diff --git a/packages/provider-media-aws-lambda/test/provider.test.ts b/packages/provider-media-aws-lambda/test/provider.test.ts
index d801a6c7..b768e943 100644
--- a/packages/provider-media-aws-lambda/test/provider.test.ts
+++ b/packages/provider-media-aws-lambda/test/provider.test.ts
@@ -2,19 +2,19 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { MemoryArtifactStore } from "@narratage/driver-node";
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue } from "@narratage/protocol";
-import type { ImmediateEndpointHandler } from "@narratage/endpoint-kit";
-import type { JsonInvoker } from "@narratage/transport-aws-lambda";
+import { MemoryArtifactStore } from "@hypit/driver-node";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue } from "@hypit/protocol";
+import type { ImmediateEndpointHandler } from "@hypit/endpoint-kit";
+import type { JsonInvoker } from "@hypit/transport-aws-lambda";
import {
createAwsLambdaMediaProvider,
parseMediaLambdaRequest,
parseMediaLambdaResponse,
-} from "@narratage/provider-media-aws-lambda";
+} from "@hypit/provider-media-aws-lambda";
-const ARN = "arn:aws:lambda:us-east-1:123456789012:function:narratage-media:7";
+const ARN = "arn:aws:lambda:us-east-1:123456789012:function:hypit-media:7";
function recordingInvoker(reply: (request: CanonicalValue) => CanonicalValue) {
const seen: CanonicalValue[] = [];
@@ -62,7 +62,7 @@ async function endpointFor(invoker: JsonInvoker, options: { bucket?: string; cap
test("an unqualified function ARN is refused, because two Builds could then run different code", () => {
assert.throws(
() => createAwsLambdaMediaProvider({
- functionArn: "arn:aws:lambda:us-east-1:123456789012:function:narratage-media",
+ functionArn: "arn:aws:lambda:us-east-1:123456789012:function:hypit-media",
bucket: "team-artifacts",
}),
/must name a version or alias/u,
@@ -77,7 +77,7 @@ test("the Provider sends the Need verbatim with the bucket the function should u
const store = new MemoryArtifactStore();
const artifact = await store.put(new TextEncoder().encode("out!"), "video/mp4");
const { invoker, seen } = recordingInvoker(() => canonicalize({
- contract: "narratage.media-lambda-response@1",
+ contract: "hypit.media-lambda-response@1",
operation: "inspect",
ok: true,
value: { kind: "inline", value: { artifact } },
@@ -126,7 +126,7 @@ test("the remote Provider receives the exact AudioProgramPlan compiled for local
plan,
} as unknown as CanonicalValue);
const { invoker, seen } = recordingInvoker(() => canonicalize({
- contract: "narratage.media-lambda-response@1",
+ contract: "hypit.media-lambda-response@1",
operation: "render-audio",
ok: true,
value: { kind: "inline", value: {
@@ -144,7 +144,7 @@ test("a Provider aimed at another bucket fails naming the Artifact, not later wi
const store = new MemoryArtifactStore();
const stranger = fixtureDigest("an artifact this Build's store never received");
const { invoker } = recordingInvoker(() => canonicalize({
- contract: "narratage.media-lambda-response@1",
+ contract: "hypit.media-lambda-response@1",
operation: "inspect",
ok: true,
value: { kind: "inline", value: {
@@ -166,7 +166,7 @@ test("a Provider aimed at another bucket fails naming the Artifact, not later wi
test("a typed failure reaches the Build with its code, since the transport withholds the payload", async () => {
const { invoker } = recordingInvoker(() => canonicalize({
- contract: "narratage.media-lambda-response@1",
+ contract: "hypit.media-lambda-response@1",
operation: "inspect",
ok: false,
code: "MEDIA_SOURCE_UNAVAILABLE",
@@ -182,11 +182,11 @@ test("a typed failure reaches the Build with its code, since the transport withh
});
test("a reply that is not this contract is refused rather than half-read", () => {
- assert.throws(() => parseMediaLambdaResponse({ contract: "narratage.media-lambda-response@invalid", operation: "inspect" }),
- /contract must be narratage\.media-lambda-response@1/u);
- assert.throws(() => parseMediaLambdaResponse({ contract: "narratage.media-lambda-response@1", operation: "transcode" }),
+ assert.throws(() => parseMediaLambdaResponse({ contract: "hypit.media-lambda-response@invalid", operation: "inspect" }),
+ /contract must be hypit\.media-lambda-response@1/u);
+ assert.throws(() => parseMediaLambdaResponse({ contract: "hypit.media-lambda-response@1", operation: "transcode" }),
/operation must be one of/u);
assert.throws(() => parseMediaLambdaRequest({
- contract: "narratage.media-lambda-request@1", operation: "mux", artifacts: {}, constraints: {},
+ contract: "hypit.media-lambda-request@1", operation: "mux", artifacts: {}, constraints: {},
}), /artifacts\.bucket must be a non-empty string/u);
});
diff --git a/packages/provider-media-local/README.md b/packages/provider-media-local/README.md
index 3bf13089..8dcf0687 100644
--- a/packages/provider-media-local/README.md
+++ b/packages/provider-media-local/README.md
@@ -1,10 +1,10 @@
-# `@narratage/provider-media-local`
+# `@hypit/provider-media-local`
-Trusted local ffprobe/ffmpeg implementation of `@narratage/media-pipeline`'s eight exact byte-operation
+Trusted local ffprobe/ffmpeg implementation of `@hypit/media-pipeline`'s eight exact byte-operation
capabilities. It is Runtime configuration and is never imported by author `.svml`.
```ts
-import { createLocalMediaProvider } from "@narratage/provider-media-local";
+import { createLocalMediaProvider } from "@hypit/provider-media-local";
const media = createLocalMediaProvider({ instance: "media.local", defaultConcurrency: 1 });
```
diff --git a/packages/provider-media-local/package.json b/packages/provider-media-local/package.json
index 7b56d850..a7d6fe7f 100644
--- a/packages/provider-media-local/package.json
+++ b/packages/provider-media-local/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/provider-media-local",
+ "name": "@hypit/provider-media-local",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,22 +7,22 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/media-execution": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/runtime-host-node": "workspace:*",
- "@narratage/speech": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/media-execution": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/runtime-host-node": "workspace:*",
+ "@hypit/speech": "workspace:*"
},
"devDependencies": {
- "@narratage/driver-node": "workspace:*"
+ "@hypit/driver-node": "workspace:*"
}
}
diff --git a/packages/provider-media-local/src/activation.ts b/packages/provider-media-local/src/activation.ts
index 318d035f..12e0dc47 100644
--- a/packages/provider-media-local/src/activation.ts
+++ b/packages/provider-media-local/src/activation.ts
@@ -4,17 +4,17 @@ import {
runtimeConfigObject,
runtimeConfigPositiveInteger,
runtimeConfigString,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import {
diagnoseRuntimeExecutable,
resolveRuntimeExecutable,
-} from "@narratage/runtime-host-node";
+} from "@hypit/runtime-host-node";
import { createLocalMediaProvider } from "./provider.js";
import { localMediaToolchainProgram } from "./program.js";
const localMediaRuntimeAdapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-media-local",
+ use: "@hypit/provider-media-local",
activate(context) {
if (context.pool === undefined) throw new Error("local media Provider Pool is required");
const config = runtimeConfigObject(context.config, "local media");
@@ -57,9 +57,9 @@ const localMediaRuntimeAdapter = createRuntimeEndpointAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [localMediaRuntimeAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/provider-media-local/src/program.ts b/packages/provider-media-local/src/program.ts
index a55f5516..3d3fc734 100644
--- a/packages/provider-media-local/src/program.ts
+++ b/packages/provider-media-local/src/program.ts
@@ -1,7 +1,7 @@
-import { probeMediaToolchain } from "@narratage/media-execution";
-import { runtimeConfigObject, runtimeConfigString } from "@narratage/runtime-kit";
-import type { RuntimeAdapterFactoryContext, ManagedProgram } from "@narratage/runtime-kit";
-import { resolveRuntimeExecutable } from "@narratage/runtime-host-node";
+import { probeMediaToolchain } from "@hypit/media-execution";
+import { runtimeConfigObject, runtimeConfigString } from "@hypit/runtime-kit";
+import type { RuntimeAdapterFactoryContext, ManagedProgram } from "@hypit/runtime-kit";
+import { resolveRuntimeExecutable } from "@hypit/runtime-host-node";
/** A system/custom FFmpeg deployment is external: programs up probes it but never mutates a package manager. */
export function localMediaToolchainProgram(context: RuntimeAdapterFactoryContext): ManagedProgram {
diff --git a/packages/provider-media-local/src/provider.ts b/packages/provider-media-local/src/provider.ts
index 38feba95..bd278f46 100644
--- a/packages/provider-media-local/src/provider.ts
+++ b/packages/provider-media-local/src/provider.ts
@@ -1,5 +1,5 @@
-import { mediaTypes } from "@narratage/media";
-import { artifactTypes } from "@narratage/artifact";
+import { mediaTypes } from "@hypit/media";
+import { artifactTypes } from "@hypit/artifact";
import {
executeExtractAudio,
executeExtractFrame,
@@ -9,16 +9,16 @@ import {
executeProjectSpeechEvidenceAudio,
executeRenderTimelineAudio,
executeTransformMedia,
-} from "@narratage/media-execution";
-import type { MediaExecutionEnvironment, MediaOperationResult } from "@narratage/media-execution";
-import { mediaPipelineCapabilities } from "@narratage/media-pipeline";
-import { canonicalize } from "@narratage/protocol";
-import { isStreamingArtifactStore } from "@narratage/runtime";
-import { speechTypes } from "@narratage/speech";
-import { defineEndpointPackage } from "@narratage/endpoint-kit";
-import type { EndpointFulfillment, EndpointInvocationContext } from "@narratage/endpoint-kit";
+} from "@hypit/media-execution";
+import type { MediaExecutionEnvironment, MediaOperationResult } from "@hypit/media-execution";
+import { mediaPipelineCapabilities } from "@hypit/media-pipeline";
+import { canonicalize } from "@hypit/protocol";
+import { isStreamingArtifactStore } from "@hypit/runtime";
+import { speechTypes } from "@hypit/speech";
+import { defineEndpointPackage } from "@hypit/endpoint-kit";
+import type { EndpointFulfillment, EndpointInvocationContext } from "@hypit/endpoint-kit";
-export const localMediaProviderModuleRef = { name: "@narratage/provider-media-local", version: "1" } as const;
+export const localMediaProviderModuleRef = { name: "@hypit/provider-media-local", version: "1" } as const;
export type CreateLocalMediaProviderOptions = {
readonly instance?: string;
@@ -45,7 +45,7 @@ function fulfillment(result: MediaOperationResult): EndpointFulfillment {
/**
* The Build's own ArtifactStore, and whatever ffmpeg this machine has. The
- * operations themselves live in `@narratage/media-execution`, shared with the
+ * operations themselves live in `@hypit/media-execution`, shared with the
* AWS Provider so one Need cannot mean two different transforms.
*/
export function createLocalMediaProvider(config: CreateLocalMediaProviderOptions) {
diff --git a/packages/provider-media-local/test/provider.test.ts b/packages/provider-media-local/test/provider.test.ts
index 6911ac40..95e09e91 100644
--- a/packages/provider-media-local/test/provider.test.ts
+++ b/packages/provider-media-local/test/provider.test.ts
@@ -3,26 +3,26 @@ import { mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join } from "node:path";
import test from "node:test";
-import { artifactTypes } from "@narratage/artifact";
-import { mediaTypes, sealRenderedVisual, synchronizedMediaSampleFrames, verifyMediaInspection, verifyMuxedMedia, verifySynchronizedMedia, verifyTimelineAudio } from "@narratage/media";
-import type { MediaAudioStream, MediaInspection, MuxedMedia, SynchronizedMedia, TimelineAudio } from "@narratage/media";
-import { assertSpeechEvidenceAudioIdentity, speechTypes } from "@narratage/speech";
-import type { SpeechEvidenceAudio } from "@narratage/speech";
+import { artifactTypes } from "@hypit/artifact";
+import { mediaTypes, sealRenderedVisual, synchronizedMediaSampleFrames, verifyMediaInspection, verifyMuxedMedia, verifySynchronizedMedia, verifyTimelineAudio } from "@hypit/media";
+import type { MediaAudioStream, MediaInspection, MuxedMedia, SynchronizedMedia, TimelineAudio } from "@hypit/media";
+import { assertSpeechEvidenceAudioIdentity, speechTypes } from "@hypit/speech";
+import type { SpeechEvidenceAudio } from "@hypit/speech";
import assert from "node:assert/strict";
import {
MemoryArtifactStore,
EndpointRegistry,
-} from "@narratage/driver-node";
-import type { EndpointRegistration } from "@narratage/driver-node";
-import type { ImmediateEndpointHandler } from "@narratage/endpoint-kit";
+} from "@hypit/driver-node";
+import type { EndpointRegistration } from "@hypit/driver-node";
+import type { ImmediateEndpointHandler } from "@hypit/endpoint-kit";
import {
mediaPipelineCapabilities,
sealAudioProgramPlan,
sealMediaSelectionRequest,
selectMediaStreams,
-} from "@narratage/media-pipeline";
-import { canonicalize } from "@narratage/protocol";
-import type { CapabilityRef, CanonicalValue, Need, TypeRef } from "@narratage/protocol";
+} from "@hypit/media-pipeline";
+import { canonicalize } from "@hypit/protocol";
+import type { CapabilityRef, CanonicalValue, Need, TypeRef } from "@hypit/protocol";
import { createLocalMediaProvider } from "../src/index.js";
import { localMediaToolchainProgram } from "../src/program.js";
@@ -231,7 +231,7 @@ async function normalizeArtifact(args: {
test("local media Provider enumerates attached pictures and jointly normalizes 32k AAC without inventing speech", {
skip: !hasMediaBinaries,
}, async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-provider-media-local-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-provider-media-local-"));
try {
const sourcePath = await fixture(root);
const artifacts = new MemoryArtifactStore();
@@ -304,7 +304,7 @@ test("local media Provider enumerates attached pictures and jointly normalizes 3
test("local media normalization materializes rotation and sample aspect before Spatial", {
skip: !hasMediaBinaries,
}, async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-provider-media-display-geometry-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-provider-media-display-geometry-"));
try {
const base = join(root, "base.mp4");
const sourcePath = join(root, "rotated.mp4");
@@ -373,7 +373,7 @@ test("animated WebP keeps its authored frame timing before fixed-rate normalizat
test("animated GIF keeps its authored frame timing before fixed-rate normalization", {
skip: !hasMediaBinaries,
}, async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-provider-media-gif-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-provider-media-gif-"));
try {
const path = join(root, "animated.gif");
await run("ffmpeg", [
@@ -404,7 +404,7 @@ test("animated GIF keeps its authored frame timing before fixed-rate normalizati
test("local media Provider derives one exact 16 kHz mono WhisperX evidence artifact without a hidden second transcode", {
skip: !hasMediaBinaries,
}, async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-provider-media-evidence-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-provider-media-evidence-"));
try {
const sourcePath = join(root, "speech-master.wav");
await run("ffmpeg", [
@@ -445,7 +445,7 @@ test("local media Provider derives one exact 16 kHz mono WhisperX evidence artif
test("local media Provider preserves one source A/V origin when audio starts later than picture", {
skip: !hasMediaBinaries,
}, async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-provider-media-offset-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-provider-media-offset-"));
try {
const sourcePath = join(root, "offset.mkv");
await run("ffmpeg", [
@@ -494,7 +494,7 @@ test("local media Provider preserves one source A/V origin when audio starts lat
test("a silent generated MP4 remains a visual-only product and cannot satisfy a requested audio stream", {
skip: !hasMediaBinaries,
}, async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-provider-media-silent-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-provider-media-silent-"));
try {
const sourcePath = join(root, "silent.mp4");
await run("ffmpeg", [
@@ -531,7 +531,7 @@ test("a silent generated MP4 remains a visual-only product and cannot satisfy a
test("local media Provider transforms A/V and extracts ordinary audio and frame Artifacts", {
skip: !hasMediaBinaries,
}, async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-provider-media-ordinary-ops-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-provider-media-ordinary-ops-"));
try {
const sourcePath = await fixture(root);
const artifacts = new MemoryArtifactStore();
@@ -616,7 +616,7 @@ test("local media Provider transforms A/V and extracts ordinary audio and frame
test("local media Provider renders one frame-domain audio plan and muxes exactly one silent visual with it", {
skip: !hasMediaBinaries,
}, async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-provider-media-program-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-provider-media-program-"));
try {
const firstPath = join(root, "first.wav");
const secondPath = join(root, "second.wav");
@@ -736,7 +736,7 @@ test("local media Provider renders one frame-domain audio plan and muxes exactly
test("local media Provider executes an end-aligned loop from the exact authored sample phase", {
skip: !hasMediaBinaries,
}, async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-provider-media-loop-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-provider-media-loop-"));
try {
const artifacts = new MemoryArtifactStore();
const source = await artifacts.put(rampWav(100), "audio/wav");
diff --git a/packages/provider-whisperx-local/README.md b/packages/provider-whisperx-local/README.md
index 33add958..a794654b 100644
--- a/packages/provider-whisperx-local/README.md
+++ b/packages/provider-whisperx-local/README.md
@@ -1,6 +1,6 @@
-# @narratage/provider-whisperx-local
+# @hypit/provider-whisperx-local
-Trusted local Provider for the explicit `@narratage/whisperx#whisperx-alignment` capability. It talks to
+Trusted local Provider for the explicit `@hypit/whisperx#whisperx-alignment` capability. It talks to
the warm Python service in `services/whisperx` through `/health` and `/transcribe`.
The Provider accepts only canonical 16 kHz mono PCM s16 WAV bytes produced by the separate media
diff --git a/packages/provider-whisperx-local/package.json b/packages/provider-whisperx-local/package.json
index bf2dce30..0ab821a6 100644
--- a/packages/provider-whisperx-local/package.json
+++ b/packages/provider-whisperx-local/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/provider-whisperx-local",
+ "name": "@hypit/provider-whisperx-local",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,18 +7,18 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/speech-evidence": "workspace:*",
- "@narratage/whisperx": "workspace:*"
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/speech-evidence": "workspace:*",
+ "@hypit/whisperx": "workspace:*"
},
"devDependencies": {
- "@narratage/driver-node": "workspace:*",
- "@narratage/speech": "workspace:*"
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/speech": "workspace:*"
}
}
diff --git a/packages/provider-whisperx-local/src/activation.ts b/packages/provider-whisperx-local/src/activation.ts
index 28a4c691..0e05b5d5 100644
--- a/packages/provider-whisperx-local/src/activation.ts
+++ b/packages/provider-whisperx-local/src/activation.ts
@@ -4,13 +4,13 @@ import {
runtimeConfigObject,
runtimeConfigPositiveInteger,
runtimeConfigString,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import { createLocalWhisperXProvider } from "./provider.js";
import { localWhisperXProgram } from "./program.js";
const localWhisperXRuntimeAdapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-whisperx-local",
+ use: "@hypit/provider-whisperx-local",
activate(context) {
if (context.pool === undefined) throw new Error("WhisperX Provider Pool is required");
const config = runtimeConfigObject(context.config, "local WhisperX");
@@ -70,9 +70,9 @@ const localWhisperXRuntimeAdapter = createRuntimeEndpointAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [localWhisperXRuntimeAdapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/provider-whisperx-local/src/program.ts b/packages/provider-whisperx-local/src/program.ts
index 090b9d1f..4ca81109 100644
--- a/packages/provider-whisperx-local/src/program.ts
+++ b/packages/provider-whisperx-local/src/program.ts
@@ -1,8 +1,8 @@
import { existsSync } from "node:fs";
import { fileURLToPath } from "node:url";
-import { runtimeConfigObject, runtimeConfigString } from "@narratage/runtime-kit";
-import type { RuntimeAdapterFactoryContext, ManagedProgram, ManagedProgramState } from "@narratage/runtime-kit";
+import { runtimeConfigObject, runtimeConfigString } from "@hypit/runtime-kit";
+import type { RuntimeAdapterFactoryContext, ManagedProgram, ManagedProgramState } from "@hypit/runtime-kit";
import { localWhisperXPunktTabDigest } from "./provider.js";
@@ -13,7 +13,7 @@ import { localWhisperXPunktTabDigest } from "./provider.js";
* command for an environment that installs WhisperX differently.
*
* The default names the pinned uv project shipped beside this package in the
- * Narratage repository, by absolute path — a Runtime root is wherever the
+ * Hypit repository, by absolute path — a Runtime root is wherever the
* operator keeps their Profile, and it is not where that project lives. An
* installation that obtained this package on its own has no such directory and
* must say what to run instead; `serviceCommand` is that.
@@ -38,7 +38,7 @@ export function localWhisperXProgram(context: RuntimeAdapterFactoryContext): Man
const baseUrl = (runtimeConfigString(config.baseUrl, "WhisperX baseUrl") ?? "http://127.0.0.1:8765")
.replace(/\/+$/u, "");
const expected = {
- protocol: "narratage.whisperx-service@1",
+ protocol: "hypit.whisperx-service@1",
serviceVersion: runtimeConfigString(config.expectedServiceVersion, "WhisperX expectedServiceVersion") ?? "0.1.0",
whisperxVersion: runtimeConfigString(config.expectedWhisperXVersion, "WhisperX expectedWhisperXVersion") ?? "3.8.6",
model: runtimeConfigString(config.expectedModel, "WhisperX expectedModel") ?? "small",
@@ -53,8 +53,8 @@ export function localWhisperXProgram(context: RuntimeAdapterFactoryContext): Man
// systemd or container command. With no override the bundled project is the
// managed default; when it is not present this becomes probe-only.
const managed = customStart === undefined && customPrepare === undefined;
- const prepare = customPrepare ?? (managed ? workspaceCommand("narratage-whisperx-prepare") : undefined);
- const start = customStart ?? (managed ? workspaceCommand("narratage-whisperx-service") : undefined);
+ const prepare = customPrepare ?? (managed ? workspaceCommand("hypit-whisperx-prepare") : undefined);
+ const start = customStart ?? (managed ? workspaceCommand("hypit-whisperx-service") : undefined);
return {
id: "whisperx",
...(prepare === undefined ? {} : { prepare }),
diff --git a/packages/provider-whisperx-local/src/provider.ts b/packages/provider-whisperx-local/src/provider.ts
index f2e8b19e..f22cfed2 100644
--- a/packages/provider-whisperx-local/src/provider.ts
+++ b/packages/provider-whisperx-local/src/provider.ts
@@ -1,19 +1,19 @@
import { mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join } from "node:path";
-import { sealAlignedTranscriptEvidence, speechEvidenceTypes } from "@narratage/speech-evidence";
-import type { AlignedTranscriptEvidence, SpeechTranscriptPassage } from "@narratage/speech-evidence";
-import type { EndpointInvocationContext, EndpointFulfillment } from "@narratage/endpoint-kit";
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue } from "@narratage/protocol";
-import { defineEndpointPackage } from "@narratage/endpoint-kit";
+import { sealAlignedTranscriptEvidence, speechEvidenceTypes } from "@hypit/speech-evidence";
+import type { AlignedTranscriptEvidence, SpeechTranscriptPassage } from "@hypit/speech-evidence";
+import type { EndpointInvocationContext, EndpointFulfillment } from "@hypit/endpoint-kit";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue } from "@hypit/protocol";
+import { defineEndpointPackage } from "@hypit/endpoint-kit";
import {
whisperXCapabilities,
-} from "@narratage/whisperx";
-import type { WhisperXAlignmentRequest } from "@narratage/whisperx";
+} from "@hypit/whisperx";
+import type { WhisperXAlignmentRequest } from "@hypit/whisperx";
export const localWhisperXProviderModuleRef = {
- name: "@narratage/provider-whisperx-local",
+ name: "@hypit/provider-whisperx-local",
version: "1",
} as const;
export const localWhisperXPunktTabDigest =
@@ -250,7 +250,7 @@ export function createLocalWhisperXProvider(config: CreateLocalWhisperXProviderO
assert(audio !== undefined && audio.byteLength === request.audio.size,
`WhisperX evidence Artifact ${request.audio.digest} is unavailable or has changed`);
assertCanonicalEvidenceWav(audio, request.sampleFrames);
- const work = await mkdtemp(join(tmpdir(), "narratage-whisperx-local-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-whisperx-local-"));
try {
const audioPath = join(work, "alignment-evidence.wav");
await writeFile(audioPath, audio);
@@ -271,7 +271,7 @@ export function createLocalWhisperXProvider(config: CreateLocalWhisperXProviderO
readonly punktTabDigest?: unknown;
};
assert(healthValue.ok === true
- && healthValue.protocol === "narratage.whisperx-service@1"
+ && healthValue.protocol === "hypit.whisperx-service@1"
&& healthValue.serviceVersion === expectedServiceVersion
&& healthValue.whisperxVersion === expectedWhisperXVersion
&& healthValue.model === expectedModel
diff --git a/packages/provider-whisperx-local/test/program.test.ts b/packages/provider-whisperx-local/test/program.test.ts
index 114e95c7..8a7125eb 100644
--- a/packages/provider-whisperx-local/test/program.test.ts
+++ b/packages/provider-whisperx-local/test/program.test.ts
@@ -13,8 +13,8 @@ test("the Provider declares how to bring WhisperX up and how to recognise it", (
const program = localWhisperXProgram(context());
assert.equal(program.id, "whisperx");
assert.equal(program.start?.command, "uv");
- assert.equal(program.start?.args.at(-1), "narratage-whisperx-service");
- assert.equal(program.prepare?.args.at(-1), "narratage-whisperx-prepare");
+ assert.equal(program.start?.args.at(-1), "hypit-whisperx-service");
+ assert.equal(program.prepare?.args.at(-1), "hypit-whisperx-prepare");
// Absolute: a Runtime root is wherever the Profile lives, not where the
// pinned uv project lives.
const project = program.start?.args.at(-3) ?? "";
@@ -38,7 +38,7 @@ test("a program answering with another identity is reported, never used", async
const original = globalThis.fetch;
globalThis.fetch = (async () => new Response(JSON.stringify({
ok: true,
- protocol: "narratage.whisperx-service@1",
+ protocol: "hypit.whisperx-service@1",
serviceVersion: "0.1.0",
whisperxVersion: "3.8.6",
model: "large-v3",
diff --git a/packages/provider-whisperx-local/test/provider.test.ts b/packages/provider-whisperx-local/test/provider.test.ts
index ca706660..b4f1ce50 100644
--- a/packages/provider-whisperx-local/test/provider.test.ts
+++ b/packages/provider-whisperx-local/test/provider.test.ts
@@ -1,14 +1,14 @@
import { readFile } from "node:fs/promises";
import test from "node:test";
-import { sealSpeechEvidenceAudio, speechTypes } from "@narratage/speech";
+import { sealSpeechEvidenceAudio, speechTypes } from "@hypit/speech";
import assert from "node:assert/strict";
-import { MemoryArtifactStore, EndpointRegistry } from "@narratage/driver-node";
-import type { Need } from "@narratage/protocol";
-import { speechEvidenceTypes } from "@narratage/speech-evidence";
+import { MemoryArtifactStore, EndpointRegistry } from "@hypit/driver-node";
+import type { Need } from "@hypit/protocol";
+import { speechEvidenceTypes } from "@hypit/speech-evidence";
import {
whisperXCapabilities,
whisperXRequestForEvidenceAudio,
-} from "@narratage/whisperx";
+} from "@hypit/whisperx";
import {
createLocalWhisperXProvider,
@@ -80,7 +80,7 @@ test("local Provider stages canonical evidence bytes unchanged and returns seale
if (url.endsWith("/health")) {
return new Response(JSON.stringify({
ok: true,
- protocol: "narratage.whisperx-service@1",
+ protocol: "hypit.whisperx-service@1",
serviceVersion: "0.1.0",
whisperxVersion: "3.8.6",
model: "small",
diff --git a/packages/provider-xiaomi-mimo/README.md b/packages/provider-xiaomi-mimo/README.md
index 84f8586d..135cae4b 100644
--- a/packages/provider-xiaomi-mimo/README.md
+++ b/packages/provider-xiaomi-mimo/README.md
@@ -1,10 +1,10 @@
-# `@narratage/provider-xiaomi-mimo`
+# `@hypit/provider-xiaomi-mimo`
Immediate Runtime Endpoint for Xiaomi's official MiMo V2.5 TTS API.
This package owns the `chat/completions` wire shape, `api-key` credential, timeout, response bounds,
voice-sample data URI conversion and ArtifactStore ingestion. It does not import
-`@narratage/mimo-tts`: capabilities and model port names are bound as versioned data, keeping the
+`@hypit/mimo-tts`: capabilities and model port names are bound as versioned data, keeping the
three exact model contracts independent from this particular service.
Runtime Profile example:
@@ -13,7 +13,7 @@ Runtime Profile example:
{
"endpoints": {
"mimo.official": {
- "use": "@narratage/provider-xiaomi-mimo",
+ "use": "@hypit/provider-xiaomi-mimo",
"pool": "mimo.official",
"config": {
"apiKey": { "store": "keychain", "key": "xiaomi-mimo.api-key" },
diff --git a/packages/provider-xiaomi-mimo/package.json b/packages/provider-xiaomi-mimo/package.json
index 47dbb1ab..b5d65a3b 100644
--- a/packages/provider-xiaomi-mimo/package.json
+++ b/packages/provider-xiaomi-mimo/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/provider-xiaomi-mimo",
+ "name": "@hypit/provider-xiaomi-mimo",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,18 +7,18 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*"
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*"
},
"devDependencies": {
- "@narratage/driver-node": "workspace:*",
- "@narratage/mimo-tts": "workspace:*"
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/mimo-tts": "workspace:*"
}
}
diff --git a/packages/provider-xiaomi-mimo/src/activation.ts b/packages/provider-xiaomi-mimo/src/activation.ts
index 193342b7..1661e63c 100644
--- a/packages/provider-xiaomi-mimo/src/activation.ts
+++ b/packages/provider-xiaomi-mimo/src/activation.ts
@@ -5,12 +5,12 @@ import {
runtimeConfigObject,
runtimeConfigPositiveInteger,
runtimeConfigString,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import { createXiaomiMimoProvider } from "./provider.js";
const adapter = createRuntimeEndpointAdapterFacet({
- use: "@narratage/provider-xiaomi-mimo",
+ use: "@hypit/provider-xiaomi-mimo",
activate(context) {
if (context.pool === undefined) throw new Error("Xiaomi MiMo Provider Pool is required");
const config = runtimeConfigObject(context.config, "Xiaomi MiMo");
@@ -49,9 +49,9 @@ const adapter = createRuntimeEndpointAdapterFacet({
},
});
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [adapter],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/provider-xiaomi-mimo/src/provider.ts b/packages/provider-xiaomi-mimo/src/provider.ts
index 8d376de3..d97076a0 100644
--- a/packages/provider-xiaomi-mimo/src/provider.ts
+++ b/packages/provider-xiaomi-mimo/src/provider.ts
@@ -1,17 +1,17 @@
-import { defineEndpointPackage } from "@narratage/endpoint-kit";
-import type { EndpointInvocationContext } from "@narratage/endpoint-kit";
+import { defineEndpointPackage } from "@hypit/endpoint-kit";
+import type { EndpointInvocationContext } from "@hypit/endpoint-kit";
import {
generationTypes,
sealGeneratedAudioSet,
-} from "@narratage/generation";
-import type { GenerationMediaValue, GenerationRequest } from "@narratage/generation";
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue, CapabilityRef } from "@narratage/protocol";
-import { credentialRef } from "@narratage/runtime";
-import type { CredentialRef } from "@narratage/runtime";
+} from "@hypit/generation";
+import type { GenerationMediaValue, GenerationRequest } from "@hypit/generation";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue, CapabilityRef } from "@hypit/protocol";
+import { credentialRef } from "@hypit/runtime";
+import type { CredentialRef } from "@hypit/runtime";
-export const xiaomiMimoProviderModuleRef = { name: "@narratage/provider-xiaomi-mimo", version: "1" } as const;
-const mimoModelModule = { name: "@narratage/mimo-tts", version: "1" } as const;
+export const xiaomiMimoProviderModuleRef = { name: "@hypit/provider-xiaomi-mimo", version: "1" } as const;
+const mimoModelModule = { name: "@hypit/mimo-tts", version: "1" } as const;
const modelNames = [
"mimo-v2.5-tts",
"mimo-v2.5-tts-voicedesign",
diff --git a/packages/provider-xiaomi-mimo/test/provider.test.ts b/packages/provider-xiaomi-mimo/test/provider.test.ts
index b908ea6e..059091d6 100644
--- a/packages/provider-xiaomi-mimo/test/provider.test.ts
+++ b/packages/provider-xiaomi-mimo/test/provider.test.ts
@@ -1,11 +1,11 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { EndpointRegistry, MemoryArtifactStore } from "@narratage/driver-node";
-import { generationTypes } from "@narratage/generation";
-import { mimoTtsEndpoints, sealMimoTtsRequest } from "@narratage/mimo-tts";
-import type { CanonicalValue, Need } from "@narratage/protocol";
-import { createXiaomiMimoProvider } from "@narratage/provider-xiaomi-mimo";
+import { EndpointRegistry, MemoryArtifactStore } from "@hypit/driver-node";
+import { generationTypes } from "@hypit/generation";
+import { mimoTtsEndpoints, sealMimoTtsRequest } from "@hypit/mimo-tts";
+import type { CanonicalValue, Need } from "@hypit/protocol";
+import { createXiaomiMimoProvider } from "@hypit/provider-xiaomi-mimo";
function need(
endpoint: (typeof mimoTtsEndpoints)[keyof typeof mimoTtsEndpoints],
diff --git a/packages/ranking/README.md b/packages/ranking/README.md
index bbacfdfa..7b7b6c83 100644
--- a/packages/ranking/README.md
+++ b/packages/ranking/README.md
@@ -1,4 +1,4 @@
-# @narratage/ranking
+# @hypit/ranking
Four independent progressive-ranking author components over one private schedule utility:
@@ -23,7 +23,7 @@ result across schedule, event and render work. Tier row names remain Style confi
they define the board vocabulary rather than dynamic item copy.
```svml
-<import as="copy" from="@narratage/text@1"/>
+<import as="copy" from="@hypit/text@1"/>
<copy:Value id="winner">No hidden runtime choice</copy:Value>
diff --git a/packages/ranking/package.json b/packages/ranking/package.json
index 51adc25d..dcd532b8 100644
--- a/packages/ranking/package.json
+++ b/packages/ranking/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/ranking",
+ "name": "@hypit/ranking",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,26 +7,26 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/temporal": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/temporal": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*"
+ "@hypit/core": "workspace:*"
}
}
diff --git a/packages/ranking/src/activation.ts b/packages/ranking/src/activation.ts
index f128ba2f..3d9fb41a 100644
--- a/packages/ranking/src/activation.ts
+++ b/packages/ranking/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeColumnStyleSurface,
@@ -26,8 +26,8 @@ const facets = [
["typewriter", decodeTypewriterListSurface],
] as const;
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{
manifest: rankingManifest,
}],
@@ -39,4 +39,4 @@ export const narratagePackage = {
})),
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/ranking/src/component.ts b/packages/ranking/src/component.ts
index ef09cbaf..71e8ac37 100644
--- a/packages/ranking/src/component.ts
+++ b/packages/ranking/src/component.ts
@@ -1,12 +1,12 @@
-import type { ComponentPackage, ProducerHandlerContext } from "@narratage/component-kit";
-import type { SynchronizedMedia } from "@narratage/media";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize } from "@narratage/protocol";
-import type { BlobRef, StoredValue } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import type { SpatialFrame } from "@narratage/spatial";
-import type { Text } from "@narratage/text";
+import type { ComponentPackage, ProducerHandlerContext } from "@hypit/component-kit";
+import type { SynchronizedMedia } from "@hypit/media";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize } from "@hypit/protocol";
+import type { BlobRef, StoredValue } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import type { SpatialFrame } from "@hypit/spatial";
+import type { Text } from "@hypit/text";
import { rankingProducers, rankingTypes } from "./manifest.js";
import { appendColumnItem, appendRankingItemSpec, appendRankingSound, appendTierBoardItem, appendTopThreeItem, appendTypewriterItem, assertColumnProgram, assertRankingSchedule, assertRankingSoundEventPlan, assertTierBoardProgram, assertTopThreeProgram, assertTypewriterListProgram, buildColumnProgram, buildColumnSoundEvents, buildRankingSchedule, buildTierBoardProgram, buildTierBoardSoundEvents, buildTopThreeProgram, buildTopThreeSoundEvents, buildTypewriterListProgram, buildTypewriterSoundEvents, createColumnItemSet, createRankingItemSpecSet, createRankingSoundSet, createTierBoardItemSet, createTopThreeItemSet, createTypewriterItemSet, materializeRankingTextItem } from "./schedule.js";
diff --git a/packages/ranking/src/fragment.ts b/packages/ranking/src/fragment.ts
index 24e2afc3..f041ee38 100644
--- a/packages/ranking/src/fragment.ts
+++ b/packages/ranking/src/fragment.ts
@@ -1,12 +1,12 @@
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { FragmentOperation, GraphFragment } from "@narratage/elaborator";
-import { mediaTypes } from "@narratage/media";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
-import { textTypes } from "@narratage/text";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { FragmentOperation, GraphFragment } from "@hypit/elaborator";
+import { mediaTypes } from "@hypit/media";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
+import { textTypes } from "@hypit/text";
import { rankingProducers, rankingTypes } from "./manifest.js";
import type { RankingVariant } from "./types.js";
diff --git a/packages/ranking/src/manifest.ts b/packages/ranking/src/manifest.ts
index 5b2be2a0..3b83df20 100644
--- a/packages/ranking/src/manifest.ts
+++ b/packages/ranking/src/manifest.ts
@@ -1,15 +1,15 @@
-import { artifactDependency } from "@narratage/artifact";
-import { compositionDependency, compositionTypes } from "@narratage/composition";
-import { mediaDependency, mediaTypes } from "@narratage/media";
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { semanticMapDependency, semanticMapTypes } from "@narratage/semantic-map";
-import { spatialDependency, spatialFrameSchema, spatialTypes } from "@narratage/spatial";
-import { temporalDependency } from "@narratage/temporal";
-import { textDependency, textTypes } from "@narratage/text";
+import { artifactDependency } from "@hypit/artifact";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
+import { mediaDependency, mediaTypes } from "@hypit/media";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { semanticMapDependency, semanticMapTypes } from "@hypit/semantic-map";
+import { spatialDependency, spatialFrameSchema, spatialTypes } from "@hypit/spatial";
+import { temporalDependency } from "@hypit/temporal";
+import { textDependency, textTypes } from "@hypit/text";
-export const rankingModuleRef = { name: "@narratage/ranking", version: "1" } as const;
+export const rankingModuleRef = { name: "@hypit/ranking", version: "1" } as const;
export const rankingTypes = {
header: { module: rankingModuleRef, name: "RankingHeader" },
itemSpec: { module: rankingModuleRef, name: "RankingItemSpec" },
@@ -147,7 +147,7 @@ export const rankingMarkupSurfaces = [
export const rankingManifest: ModuleManifest = {
- format: "narratage.module@1", name: rankingModuleRef.name, version: rankingModuleRef.version,
+ format: "hypit.module@1", name: rankingModuleRef.name, version: rankingModuleRef.version,
dependencies: [artifactDependency, mediaDependency, narrativeDependency, semanticMapDependency, programSpaceDependency, spatialDependency, temporalDependency, compositionDependency, textDependency],
types: [
{ name: rankingTypes.header.name },
diff --git a/packages/ranking/src/render.ts b/packages/ranking/src/render.ts
index c53a73d5..97248e5a 100644
--- a/packages/ranking/src/render.ts
+++ b/packages/ranking/src/render.ts
@@ -3,7 +3,7 @@ import {
assertVisualTrackIdentity,
sealAudioTrack,
sealVisualTrack,
-} from "@narratage/composition";
+} from "@hypit/composition";
import type {
AudioClip,
AudioTrack,
@@ -16,14 +16,14 @@ import type {
VisualTextPaintLayer,
VisualTextTypography,
VisualTrack,
-} from "@narratage/composition";
-import { synchronizedMediaSampleFrames, verifySynchronizedMedia } from "@narratage/media";
+} from "@hypit/composition";
+import { synchronizedMediaSampleFrames, verifySynchronizedMedia } from "@hypit/media";
import {
assertProgramSpaceIdentity,
programFrameSampleBoundary,
programSpaceSampleFrames,
-} from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
+} from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
import {
assertColumnProgram,
@@ -248,7 +248,7 @@ function directItemAnimation(duration: number, appearFrames: number): VisualAnim
}
function sealTrack(space: ProgramSpace, id: string, presents: readonly VisualPresent[]): VisualTrack {
- const value = sealVisualTrack({ visualIr: "narratage.visual-ir@1", id, presents });
+ const value = sealVisualTrack({ visualIr: "hypit.visual-ir@1", id, presents });
assertVisualTrackIdentity(value, space);
return value;
}
diff --git a/packages/ranking/src/schedule.ts b/packages/ranking/src/schedule.ts
index e69c1882..3d30b5fc 100644
--- a/packages/ranking/src/schedule.ts
+++ b/packages/ranking/src/schedule.ts
@@ -1,27 +1,27 @@
import {
assertFontArtifactRef,
verifySynchronizedMedia,
-} from "@narratage/media";
-import type { SynchronizedMedia } from "@narratage/media";
+} from "@hypit/media";
+import type { SynchronizedMedia } from "@hypit/media";
import type {
NarrativeMomentRef,
NarrativeSelectionRef,
-} from "@narratage/narrative";
+} from "@hypit/narrative";
import {
assertProgramSpaceIdentity,
programSpaceFrameCount,
-} from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize, isDigest } from "@narratage/protocol";
-import { verifyText } from "@narratage/text";
-import type { Text } from "@narratage/text";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import { assertSpatialFrame } from "@narratage/spatial";
+} from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize, isDigest } from "@hypit/protocol";
+import { verifyText } from "@hypit/text";
+import type { Text } from "@hypit/text";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import { assertSpatialFrame } from "@hypit/spatial";
import {
locateMomentOccurrences,
locateSelectionOccurrences,
resolveTriggeredSchedule,
-} from "@narratage/temporal";
+} from "@hypit/temporal";
import type {
ColumnItem,
@@ -486,7 +486,7 @@ export function fitTypewriterStage(
};
}
-export function buildTierBoardProgram(header: RankingHeader, frameValue: import("@narratage/spatial").SpatialFrame, schedule: RankingSchedule, style: TierBoardStyle, set: TierBoardItemSet): TierBoardProgram {
+export function buildTierBoardProgram(header: RankingHeader, frameValue: import("@hypit/spatial").SpatialFrame, schedule: RankingSchedule, style: TierBoardStyle, set: TierBoardItemSet): TierBoardProgram {
assert(header.variant === "tier-board" && schedule.variant === "tier-board", "TierBoard variant is inconsistent.");
assertSpatialFrame(frameValue);
assertTierBoardStyle(style);
@@ -498,7 +498,7 @@ export function buildTierBoardProgram(header: RankingHeader, frameValue: import(
return canonicalize(result) as unknown as TierBoardProgram;
}
-export function buildColumnProgram(header: RankingHeader, frameValue: import("@narratage/spatial").SpatialFrame, schedule: RankingSchedule, style: ColumnStyle, set: ColumnItemSet): ColumnProgram {
+export function buildColumnProgram(header: RankingHeader, frameValue: import("@hypit/spatial").SpatialFrame, schedule: RankingSchedule, style: ColumnStyle, set: ColumnItemSet): ColumnProgram {
assert(header.variant === "column" && schedule.variant === "column", "Column variant is inconsistent.");
assertSpatialFrame(frameValue);
assertColumnStyle(style);
@@ -508,7 +508,7 @@ export function buildColumnProgram(header: RankingHeader, frameValue: import("@n
return canonicalize(result) as unknown as ColumnProgram;
}
-export function buildTopThreeProgram(header: RankingHeader, frameValue: import("@narratage/spatial").SpatialFrame, schedule: RankingSchedule, style: TopThreeStyle, set: TopThreeItemSet): TopThreeProgram {
+export function buildTopThreeProgram(header: RankingHeader, frameValue: import("@hypit/spatial").SpatialFrame, schedule: RankingSchedule, style: TopThreeStyle, set: TopThreeItemSet): TopThreeProgram {
assert(header.variant === "top-three" && schedule.variant === "top-three", "TopThree variant is inconsistent.");
assertSpatialFrame(frameValue);
assertTopThreeStyle(style);
@@ -523,7 +523,7 @@ export function graphemes(text: string): string[] {
return [...new Intl.Segmenter(undefined, { granularity: "grapheme" }).segment(text)].map((value) => value.segment);
}
-export function buildTypewriterListProgram(header: RankingHeader, title: string, frameValue: import("@narratage/spatial").SpatialFrame, schedule: RankingSchedule, style: TypewriterListStyle, set: TypewriterItemSet): TypewriterListProgram {
+export function buildTypewriterListProgram(header: RankingHeader, title: string, frameValue: import("@hypit/spatial").SpatialFrame, schedule: RankingSchedule, style: TypewriterListStyle, set: TypewriterItemSet): TypewriterListProgram {
assert(header.variant === "typewriter-list" && schedule.variant === "typewriter-list", "TypewriterList variant is inconsistent.");
assert(title.trim().length > 0, "TypewriterList title is empty.");
assertSpatialFrame(frameValue);
diff --git a/packages/ranking/src/style.ts b/packages/ranking/src/style.ts
index 59c2ad0c..0816ba1c 100644
--- a/packages/ranking/src/style.ts
+++ b/packages/ranking/src/style.ts
@@ -1,13 +1,13 @@
import {
assertFontArtifactRef,
assertFontStackRef,
-} from "@narratage/media";
+} from "@hypit/media";
import type {
FontArtifactRef,
FontStackRef,
-} from "@narratage/media";
-import { canonicalize } from "@narratage/protocol";
-import type { SvsRecipe } from "@narratage/svs";
+} from "@hypit/media";
+import { canonicalize } from "@hypit/protocol";
+import type { SvsRecipe } from "@hypit/svs";
import {
assertColumnStyle,
diff --git a/packages/ranking/src/surface.ts b/packages/ranking/src/surface.ts
index 929832c8..270c13e9 100644
--- a/packages/ranking/src/surface.ts
+++ b/packages/ranking/src/surface.ts
@@ -1,20 +1,20 @@
-import { mediaTypes } from "@narratage/media";
-import type { FontArtifactRef, FontStackRef } from "@narratage/media";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import type { CanonicalValue, TypeRef } from "@narratage/protocol";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
-import { sealText, textTypes } from "@narratage/text";
+import { mediaTypes } from "@hypit/media";
+import type { FontArtifactRef, FontStackRef } from "@hypit/media";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import type { CanonicalValue, TypeRef } from "@hypit/protocol";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
+import { sealText, textTypes } from "@hypit/text";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceRecordDraft,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { createRankingFragment } from "./fragment.js";
import type { RankingFragmentItem, RankingFragmentSound } from "./fragment.js";
diff --git a/packages/ranking/src/types.ts b/packages/ranking/src/types.ts
index cbf03dbc..66d40507 100644
--- a/packages/ranking/src/types.ts
+++ b/packages/ranking/src/types.ts
@@ -1,10 +1,10 @@
-import type { FrameSpan } from "@narratage/composition";
+import type { FrameSpan } from "@hypit/composition";
import type {
FontArtifactRef,
SynchronizedMedia,
-} from "@narratage/media";
-import type { BlobRef } from "@narratage/protocol";
-import type { SpatialFrame } from "@narratage/spatial";
+} from "@hypit/media";
+import type { BlobRef } from "@hypit/protocol";
+import type { SpatialFrame } from "@hypit/spatial";
export type RankingVariant = "tier-board" | "column" | "top-three" | "typewriter-list";
diff --git a/packages/ranking/test/ranking.test.ts b/packages/ranking/test/ranking.test.ts
index 06b2d9f8..86b1d1ee 100644
--- a/packages/ranking/test/ranking.test.ts
+++ b/packages/ranking/test/ranking.test.ts
@@ -3,14 +3,14 @@ import test from "node:test";
import { videoContractManifests } from "../../../test/support/video-domain.js";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { createResolvedClosure } from "@narratage/core";
-import type { FontArtifactRef, SynchronizedMedia } from "@narratage/media";
-import { mediaTypes } from "@narratage/media";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import { sealProgramSpace } from "@narratage/program-space";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import { sealSpatialFrame } from "@narratage/spatial";
-import type { SvsRecipe } from "@narratage/svs";
+import { createResolvedClosure } from "@hypit/core";
+import type { FontArtifactRef, SynchronizedMedia } from "@hypit/media";
+import { mediaTypes } from "@hypit/media";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import { sealProgramSpace } from "@hypit/program-space";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import { sealSpatialFrame } from "@hypit/spatial";
+import type { SvsRecipe } from "@hypit/svs";
import {
appendColumnItem,
@@ -58,7 +58,7 @@ import {
rankingProducers,
rankingTypes,
sealRankingHeader,
-} from "@narratage/ranking";
+} from "@hypit/ranking";
import type {
ColumnItemSpec,
RankingHeader,
@@ -67,19 +67,19 @@ import type {
TierBoardItemSpec,
TopThreeItemSpec,
TypewriterItemSpec,
-} from "@narratage/ranking";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
-import { svsRecipeType } from "@narratage/svs";
-import { sealText, textManifest, textTypes } from "@narratage/text";
+} from "@hypit/ranking";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
+import { svsRecipeType } from "@hypit/svs";
+import { sealText, textManifest, textTypes } from "@hypit/text";
import type {
StructuredElement,
StructuredNode,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
const space = sealProgramSpace({
durationSec: 8,
diff --git a/packages/raster/README.md b/packages/raster/README.md
index a88cef82..1177a039 100644
--- a/packages/raster/README.md
+++ b/packages/raster/README.md
@@ -1,4 +1,4 @@
-# @narratage/raster
+# @hypit/raster
The closed deterministic raster-execution waist. It owns one `execute-raster` capability and a
finite `RasterRequest` union. Author packages such as Image Transform and Image Compose lower their
diff --git a/packages/raster/package.json b/packages/raster/package.json
index 2319b0b3..a99dd88e 100644
--- a/packages/raster/package.json
+++ b/packages/raster/package.json
@@ -1,14 +1,14 @@
{
- "name": "@narratage/raster",
+ "name": "@hypit/raster",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
"type": "module",
"exports": { ".": "./src/index.ts" },
- "narratage": { "activation": "./src/activation.ts" },
+ "hypit": { "activation": "./src/activation.ts" },
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/spatial": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/spatial": "workspace:*"
}
}
diff --git a/packages/raster/src/activation.ts b/packages/raster/src/activation.ts
index e41eb526..26372cf3 100644
--- a/packages/raster/src/activation.ts
+++ b/packages/raster/src/activation.ts
@@ -1,7 +1,7 @@
import { rasterManifest } from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: rasterManifest }],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/raster/src/manifest.ts b/packages/raster/src/manifest.ts
index d8289bb3..33a09e23 100644
--- a/packages/raster/src/manifest.ts
+++ b/packages/raster/src/manifest.ts
@@ -1,12 +1,12 @@
-import { artifactDependency, artifactTypes } from "@narratage/artifact";
-import type { CapabilityRef, ModuleManifest } from "@narratage/protocol";
+import { artifactDependency, artifactTypes } from "@hypit/artifact";
+import type { CapabilityRef, ModuleManifest } from "@hypit/protocol";
-export const rasterModuleRef = { name: "@narratage/raster", version: "1" } as const;
+export const rasterModuleRef = { name: "@hypit/raster", version: "1" } as const;
export const rasterCapabilities = {
execute: { module: rasterModuleRef, name: "execute-raster" },
} satisfies Record<string, CapabilityRef>;
export const rasterManifest: ModuleManifest = {
- format: "narratage.module@1", name: rasterModuleRef.name, version: rasterModuleRef.version,
+ format: "hypit.module@1", name: rasterModuleRef.name, version: rasterModuleRef.version,
dependencies: [artifactDependency], types: [],
capabilities: [{ name: rasterCapabilities.execute.name, returns: artifactTypes.blob }],
producers: [],
diff --git a/packages/raster/src/program.ts b/packages/raster/src/program.ts
index 62e59d12..31c6a251 100644
--- a/packages/raster/src/program.ts
+++ b/packages/raster/src/program.ts
@@ -1,5 +1,5 @@
-import { canonicalize, isDigest } from "@narratage/protocol";
-import { assertCanvasSpace, assertSpatialFrame } from "@narratage/spatial";
+import { canonicalize, isDigest } from "@hypit/protocol";
+import { assertCanvasSpace, assertSpatialFrame } from "@hypit/spatial";
import type {
RasterComposeRequest, RasterEncodeOperation, RasterLayer, RasterRequest,
diff --git a/packages/raster/src/schema.ts b/packages/raster/src/schema.ts
index 60d6bbec..6bbb5e04 100644
--- a/packages/raster/src/schema.ts
+++ b/packages/raster/src/schema.ts
@@ -1,4 +1,4 @@
-import type { ValueSchema } from "@narratage/protocol";
+import type { ValueSchema } from "@hypit/protocol";
const number = (minimum?: number, maximum?: number): ValueSchema => ({
kind: "number", ...(minimum === undefined ? {} : { minimum }), ...(maximum === undefined ? {} : { maximum }),
diff --git a/packages/raster/src/types.ts b/packages/raster/src/types.ts
index bdc29980..2b362860 100644
--- a/packages/raster/src/types.ts
+++ b/packages/raster/src/types.ts
@@ -1,5 +1,5 @@
-import type { BlobRef } from "@narratage/protocol";
-import type { CanvasSpace, SpatialFrame } from "@narratage/spatial";
+import type { BlobRef } from "@hypit/protocol";
+import type { CanvasSpace, SpatialFrame } from "@hypit/spatial";
export type RasterInterpolation = "nearest" | "linear" | "cubic" | "area" | "lanczos";
export type RasterFit = "contain" | "cover" | "stretch";
diff --git a/packages/raster/test/raster.test.ts b/packages/raster/test/raster.test.ts
index e74f2e10..a8d12da0 100644
--- a/packages/raster/test/raster.test.ts
+++ b/packages/raster/test/raster.test.ts
@@ -9,7 +9,7 @@ import {
rasterOutputMediaType,
rasterSources,
rasterTransformRequest,
-} from "@narratage/raster";
+} from "@hypit/raster";
const image = { kind: "blob" as const, digest: fixtureDigest("raster-image"), size: 12, mediaType: "image/png" };
diff --git a/packages/render-hyperframes/README.md b/packages/render-hyperframes/README.md
index 3ca15bf1..3b78ad62 100644
--- a/packages/render-hyperframes/README.md
+++ b/packages/render-hyperframes/README.md
@@ -1,4 +1,4 @@
-# `@narratage/render-hyperframes`
+# `@hypit/render-hyperframes`
Explicit author and capability boundary for final HyperFrames video rendering.
@@ -31,7 +31,7 @@ Film is not a dependency of this author meaning. Any package that produces the c
contract can feed the render Surface. Conversely, targeting Composition never demands this package;
rendering exists only when the author declares and the Build targets the video output.
-`@narratage/provider-hyperframes-local` is the first concrete visual implementation. It stages the
+`@hypit/provider-hyperframes-local` is the first concrete visual implementation. It stages the
document's exact `BlobRef` dependencies, lets HyperFrames partition the finite frame domain across
configured Chrome workers, emits a silent MP4 and rejects output unless ffprobe proves one H.264
stream with the declared canvas, rational frame rate and frame count.
diff --git a/packages/render-hyperframes/package.json b/packages/render-hyperframes/package.json
index cf81be77..f8f31b0c 100644
--- a/packages/render-hyperframes/package.json
+++ b/packages/render-hyperframes/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/render-hyperframes",
+ "name": "@hypit/render-hyperframes",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,24 +7,24 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/hyperframes": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/hyperframes": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/driver-node": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/validation": "workspace:*"
}
}
diff --git a/packages/render-hyperframes/src/activation.ts b/packages/render-hyperframes/src/activation.ts
index c467c5f1..8a826256 100644
--- a/packages/render-hyperframes/src/activation.ts
+++ b/packages/render-hyperframes/src/activation.ts
@@ -1,12 +1,12 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeHyperframesRenderSurface, renderHyperframesComponent, renderHyperframesManifest,
renderHyperframesModuleRef,
renderHyperframesMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: renderHyperframesManifest }],
components: [renderHyperframesComponent],
hostFacets: [createMarkupSurfaceHostFacet({
@@ -15,4 +15,4 @@ export const narratagePackage = {
handler: decodeHyperframesRenderSurface,
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/render-hyperframes/src/component.ts b/packages/render-hyperframes/src/component.ts
index 15b30e25..bff1e484 100644
--- a/packages/render-hyperframes/src/component.ts
+++ b/packages/render-hyperframes/src/component.ts
@@ -1,5 +1,5 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { StoredValue } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { StoredValue } from "@hypit/protocol";
import { hyperframesVisualRequest } from "./product.js";
import { renderHyperframesProducers } from "./manifest.js";
diff --git a/packages/render-hyperframes/src/fragment.ts b/packages/render-hyperframes/src/fragment.ts
index c4bf06e5..4647b4ec 100644
--- a/packages/render-hyperframes/src/fragment.ts
+++ b/packages/render-hyperframes/src/fragment.ts
@@ -1,9 +1,9 @@
-import { artifactTypes } from "@narratage/artifact";
-import { programSpaceTypes } from "@narratage/program-space";
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import { hyperframesProducers } from "@narratage/hyperframes";
-import { mediaPipelineProducers } from "@narratage/media-pipeline";
+import { artifactTypes } from "@hypit/artifact";
+import { programSpaceTypes } from "@hypit/program-space";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import { hyperframesProducers } from "@hypit/hyperframes";
+import { mediaPipelineProducers } from "@hypit/media-pipeline";
import {
renderHyperframesProducers,
diff --git a/packages/render-hyperframes/src/manifest.ts b/packages/render-hyperframes/src/manifest.ts
index 23aaf7c3..7b8c0359 100644
--- a/packages/render-hyperframes/src/manifest.ts
+++ b/packages/render-hyperframes/src/manifest.ts
@@ -1,21 +1,21 @@
-import { artifactDependency } from "@narratage/artifact";
-import { mediaDependency, mediaTypes } from "@narratage/media";
-import { compositionDependency } from "@narratage/composition";
+import { artifactDependency } from "@hypit/artifact";
+import { mediaDependency, mediaTypes } from "@hypit/media";
+import { compositionDependency } from "@hypit/composition";
import {
hyperframesManifest,
hyperframesModuleRef,
hyperframesTypes,
-} from "@narratage/hyperframes";
+} from "@hypit/hyperframes";
import type {
CapabilityRef,
ModuleManifest,
ProducerRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
mediaPipelineModuleRef,
-} from "@narratage/media-pipeline";
+} from "@hypit/media-pipeline";
-export const renderHyperframesModuleRef = { name: "@narratage/render-hyperframes", version: "1" } as const;
+export const renderHyperframesModuleRef = { name: "@hypit/render-hyperframes", version: "1" } as const;
export const renderHyperframesCapabilities = {
renderVisual: { module: renderHyperframesModuleRef, name: "render-visual" },
} satisfies Record<string, CapabilityRef>;
@@ -32,7 +32,7 @@ export const renderHyperframesMarkupSurfaces = [{
export const renderHyperframesManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: renderHyperframesModuleRef.name,
version: renderHyperframesModuleRef.version,
dependencies: [
diff --git a/packages/render-hyperframes/src/product.ts b/packages/render-hyperframes/src/product.ts
index 21452870..9422687a 100644
--- a/packages/render-hyperframes/src/product.ts
+++ b/packages/render-hyperframes/src/product.ts
@@ -1,6 +1,6 @@
-import type { CanonicalValue } from "@narratage/protocol";
-import { assertHyperframesDocument } from "@narratage/hyperframes";
-import type { HyperframesDocument } from "@narratage/hyperframes";
+import type { CanonicalValue } from "@hypit/protocol";
+import { assertHyperframesDocument } from "@hypit/hyperframes";
+import type { HyperframesDocument } from "@hypit/hyperframes";
export function hyperframesVisualRequest(document: HyperframesDocument): CanonicalValue {
assertHyperframesDocument(document);
diff --git a/packages/render-hyperframes/src/surface.ts b/packages/render-hyperframes/src/surface.ts
index fd036358..18982545 100644
--- a/packages/render-hyperframes/src/surface.ts
+++ b/packages/render-hyperframes/src/surface.ts
@@ -1,12 +1,12 @@
-import { programSpaceTypes } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { compositionTypes } from "@narratage/composition";
-import type { Composition } from "@narratage/composition";
+import { programSpaceTypes } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { compositionTypes } from "@hypit/composition";
+import type { Composition } from "@hypit/composition";
import type {
StructuredElement,
StructuredSurfaceHandler,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { renderHyperframesFragment } from "./fragment.js";
diff --git a/packages/render-hyperframes/test/render.test.ts b/packages/render-hyperframes/test/render.test.ts
index 366c1123..7e577819 100644
--- a/packages/render-hyperframes/test/render.test.ts
+++ b/packages/render-hyperframes/test/render.test.ts
@@ -1,13 +1,13 @@
import { compositionComponent, videoContractManifests } from "../../../test/support/video-domain.js";
-import { artifactTypes } from "@narratage/artifact";
+import { artifactTypes } from "@hypit/artifact";
import {
registerProducerFacets,
registerTypeValidatorFacets,
-} from "@narratage/component-kit";
-import { mediaTypes, sealMuxedMedia, sealRenderedVisual, sealTimelineAudio } from "@narratage/media";
-import { programSpaceDependency, programSpaceTypes, sealProgramSpace } from "@narratage/program-space";
-import { compositionDependency, compositionTypes, sealComposition } from "@narratage/composition";
-import type { Composition } from "@narratage/composition";
+} from "@hypit/component-kit";
+import { mediaTypes, sealMuxedMedia, sealRenderedVisual, sealTimelineAudio } from "@hypit/media";
+import { programSpaceDependency, programSpaceTypes, sealProgramSpace } from "@hypit/program-space";
+import { compositionDependency, compositionTypes, sealComposition } from "@hypit/composition";
+import type { Composition } from "@hypit/composition";
import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
@@ -19,26 +19,26 @@ import {
sealCompiledGraph,
sealRecord,
start,
-} from "@narratage/core";
+} from "@hypit/core";
import {
ProducerRegistry,
NodeDriver,
EndpointRegistry,
-} from "@narratage/driver-node";
+} from "@hypit/driver-node";
import {
AuthorFrontendRegistry,
bindAuthorFragment,
compileSourceClosure,
elaborateGraphFragment,
resolveCompiledSourceExport,
-} from "@narratage/elaborator";
-import type { AuthorSourceUnit } from "@narratage/elaborator";
+} from "@hypit/elaborator";
+import type { AuthorSourceUnit } from "@hypit/elaborator";
import {
compileHyperframesDocument,
hyperframesComponent,
hyperframesManifest,
hyperframesProducers,
-} from "@narratage/hyperframes";
+} from "@hypit/hyperframes";
import {
decodeHyperframesRenderSurface,
renderHyperframesCapabilities,
@@ -49,7 +49,7 @@ import {
renderHyperframesModuleRef,
renderHyperframesProducers,
hyperframesVisualRequest,
-} from "@narratage/render-hyperframes";
+} from "@hypit/render-hyperframes";
import {
compileAudioProgramPlan,
decodeExtractFrameSurface,
@@ -60,22 +60,22 @@ import {
mediaPipelineMarkupSurfaces,
mediaPipelineModuleRef,
mediaPipelineProducers,
-} from "@narratage/media-pipeline";
+} from "@hypit/media-pipeline";
import {
admitRecord,
createRecordAdmitter,
TypeValidatorRegistry,
-} from "@narratage/validation";
+} from "@hypit/validation";
import type {
CanonicalValue,
ModuleManifest,
StoredValue,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
createMarkupAuthorFrontend,
MarkupSurfaceRegistry,
-} from "@narratage/markup";
+} from "@hypit/markup";
const space = sealProgramSpace({
durationSec: 2,
@@ -306,7 +306,7 @@ const fixtureSurface = {
outputs: [compositionTypes.composition, programSpaceTypes.programSpace],
} as const;
const fixtureManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: fixtureModule.name,
version: fixtureModule.version,
dependencies: [compositionDependency, programSpaceDependency],
@@ -319,7 +319,7 @@ function source(text: string): AuthorSourceUnit {
return {
id: "/project/main.svml",
name: "main.svml",
- text: `<?svml using="@narratage/markup@1"?>\n${text}`,
+ text: `<?svml using="@hypit/markup@1"?>\n${text}`,
};
}
@@ -354,16 +354,16 @@ test("the final rendered video is an ordinary BlobArtifact that can feed another
frontends.register(createMarkupAuthorFrontend({
registry: surfaces,
resolveModule(request) {
- if (request.from.startsWith("@narratage/render-hyperframes")) return renderHyperframesModuleRef;
- if (request.from.startsWith("@narratage/media-pipeline")) return mediaPipelineModuleRef;
+ if (request.from.startsWith("@hypit/render-hyperframes")) return renderHyperframesModuleRef;
+ if (request.from.startsWith("@hypit/media-pipeline")) return mediaPipelineModuleRef;
return fixtureModule;
},
}));
const compiled = await compileSourceClosure({
entry: source(`<svml>
<import as="fixture" from="example.composition-fixture@1"/>
- <import as="render" from="@narratage/render-hyperframes@1"/>
- <import as="media" from="@narratage/media-pipeline@1"/>
+ <import as="render" from="@hypit/render-hyperframes@1"/>
+ <import as="media" from="@hypit/media-pipeline@1"/>
<fixture:Composition/>
<render:Video id="final" composition={composition} space={space}/>
<media:ExtractFrame id="poster" source={final.video} video="primary-moving" at="last"/>
diff --git a/packages/run-markup/README.md b/packages/run-markup/README.md
index cb90d940..131a18c9 100644
--- a/packages/run-markup/README.md
+++ b/packages/run-markup/README.md
@@ -1,17 +1,17 @@
-# `@narratage/run-markup`
+# `@hypit/run-markup`
-Official human-readable Frontend for `@narratage/run`.
+Official human-readable Frontend for `@hypit/run`.
One Run Source is self-described and names one Author Source explicitly:
```xml
-<?svml using="@narratage/run-markup@1"?>
+<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
<target output="final.video"/>
<build-record id="opening" build="prior-build-id" output="opening-take"/>
- <file id="approved" type="@narratage/artifact@1#BlobArtifact" from="./approved.mp4" media-type="video/mp4"/>
+ <file id="approved" type="@hypit/artifact@1#BlobArtifact" from="./approved.mp4" media-type="video/mp4"/>
<satisfy output="opening-take" candidate="opening"/>
</svrun>
```
diff --git a/packages/run-markup/package.json b/packages/run-markup/package.json
index 6a59da1c..1d06e272 100644
--- a/packages/run-markup/package.json
+++ b/packages/run-markup/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/run-markup",
+ "name": "@hypit/run-markup",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,16 +7,16 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*",
- "@narratage/run": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/protocol": "workspace:*",
+ "@hypit/run": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/elaborator": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/elaborator": "workspace:*"
}
}
diff --git a/packages/run-markup/src/activation.ts b/packages/run-markup/src/activation.ts
index 4b509f79..66a61136 100644
--- a/packages/run-markup/src/activation.ts
+++ b/packages/run-markup/src/activation.ts
@@ -1,10 +1,10 @@
-import { createRunFrontendHostFacet } from "@narratage/run";
+import { createRunFrontendHostFacet } from "@hypit/run";
import { runMarkupFrontend } from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
hostFacets: [createRunFrontendHostFacet(runMarkupFrontend)],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/run-markup/src/frontend.ts b/packages/run-markup/src/frontend.ts
index 74e3ca21..930d0ea6 100644
--- a/packages/run-markup/src/frontend.ts
+++ b/packages/run-markup/src/frontend.ts
@@ -1,8 +1,8 @@
-import type { RunFrontend } from "@narratage/run";
+import type { RunFrontend } from "@hypit/run";
import { parseRunDocument } from "./syntax.js";
-export const runMarkupFrontendId = "@narratage/run-markup@1";
+export const runMarkupFrontendId = "@hypit/run-markup@1";
export const runMarkupFrontend: RunFrontend = {
id: runMarkupFrontendId,
diff --git a/packages/run-markup/src/syntax.ts b/packages/run-markup/src/syntax.ts
index f70ad809..ab12ddd3 100644
--- a/packages/run-markup/src/syntax.ts
+++ b/packages/run-markup/src/syntax.ts
@@ -1,4 +1,4 @@
-import type { TypeRef } from "@narratage/protocol";
+import type { TypeRef } from "@hypit/protocol";
import type {
RunBuildRecord,
RunCandidateDeclaration,
@@ -9,15 +9,15 @@ import type {
RunProvidedValue,
RunSatisfaction,
RunTarget,
-} from "@narratage/run";
+} from "@hypit/run";
import {
parseStructuredElement,
skipTextTrivia,
-} from "@narratage/markup";
+} from "@hypit/markup";
import type {
MarkupSource,
StructuredElement,
-} from "@narratage/markup";
+} from "@hypit/markup";
export class RunSyntaxError extends Error {
readonly code: string;
@@ -266,7 +266,7 @@ function parseRunDocumentBody(name: string, text: string): RunDocument {
unique(targets.map((item) => item.output), "Run target", root);
if (targets.length === 0) fail(root, "RUN_TARGETS", "<svrun> requires at least one <target>");
return {
- format: "narratage.run-document@1",
+ format: "hypit.run-document@1",
author,
imports,
targets,
diff --git a/packages/run-markup/test/run.test.ts b/packages/run-markup/test/run.test.ts
index 5c305fc6..61c18a4e 100644
--- a/packages/run-markup/test/run.test.ts
+++ b/packages/run-markup/test/run.test.ts
@@ -10,10 +10,10 @@ import {
sealCompiledGraph,
sealRecord,
start,
-} from "@narratage/core";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { CompiledSourceClosure } from "@narratage/elaborator";
-import type { CompiledGraph, ModuleManifest, ProducerRef, TypeRef } from "@narratage/protocol";
+} from "@hypit/core";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { CompiledSourceClosure } from "@hypit/elaborator";
+import type { CompiledGraph, ModuleManifest, ProducerRef, TypeRef } from "@hypit/protocol";
import {
compileRunSource,
createRunFragmentHostFacet,
@@ -21,8 +21,8 @@ import {
resolveRunDocument,
RunFragmentRegistry,
RunFrontendRegistry,
-} from "@narratage/run";
-import { parseRunDocument, runMarkupFrontend } from "@narratage/run-markup";
+} from "@hypit/run";
+import { parseRunDocument, runMarkupFrontend } from "@hypit/run-markup";
const moduleRef = { name: "example.run", version: "1" } as const;
const promptType = { module: moduleRef, name: "Prompt" } satisfies TypeRef;
@@ -31,7 +31,7 @@ const defaultProducer = { module: moduleRef, name: "default" } satisfies Produce
const previewProducer = { module: moduleRef, name: "preview" } satisfies ProducerRef;
const manifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: moduleRef.name,
version: moduleRef.version,
dependencies: [],
@@ -116,7 +116,7 @@ async function compileDocument(body: string) {
return await compileRunSource({
id: "/project/build.svrun",
name: "build.svrun",
- text: `<?svml using="@narratage/run-markup@1"?>\n${body}`,
+ text: `<?svml using="@hypit/run-markup@1"?>\n${body}`,
}, frontends);
}
@@ -131,7 +131,7 @@ test("Run Markup compilation consumes decode output without repeating package di
const compiled = await compileRunSource({
id: "/project/build.svrun",
name: "build.svrun",
- text: `<?svml using="@narratage/run-markup@1"?>\n<svrun version="1"><author source="./main.svml"/><target output="left"/></svrun>`,
+ text: `<?svml using="@hypit/run-markup@1"?>\n<svrun version="1"><author source="./main.svml"/><target output="left"/></svrun>`,
}, frontends);
assert.equal(compiled.document.targets[0]?.output, "left");
});
@@ -193,7 +193,7 @@ test("a source file is an ordinary BlobArtifact Candidate", async () => {
const compiled = await compileDocument(`<svrun version="1">
<author source="./main.svml"/>
<target output="left"/>
- <file id="approved" type="@narratage/artifact@1#BlobArtifact" from="./approved.mp4" media-type="video/mp4"/>
+ <file id="approved" type="@hypit/artifact@1#BlobArtifact" from="./approved.mp4" media-type="video/mp4"/>
<satisfy output="left" candidate="approved"/>
</svrun>`);
const compilation = fixture();
@@ -209,7 +209,7 @@ test("a source file is an ordinary BlobArtifact Candidate", async () => {
resolveBuildRecord() { throw new Error("not used"); },
});
assert.equal(run.graph.candidates.length, 1);
- assert.equal(run.graph.candidates[0]?.type.module.name, "@narratage/artifact");
+ assert.equal(run.graph.candidates[0]?.type.module.name, "@hypit/artifact");
assert.equal(run.graph.candidates[0]?.type.name, "BlobArtifact");
});
diff --git a/packages/run/README.md b/packages/run/README.md
index 35ffc6dc..b32bb05b 100644
--- a/packages/run/README.md
+++ b/packages/run/README.md
@@ -1,4 +1,4 @@
-# `@narratage/run`
+# `@hypit/run`
Syntax-neutral Run Source and complete Run Graph compiler.
@@ -17,7 +17,7 @@ CLI flags.
`RunSourceClosure` separately binds original source bytes, Frontend id/implementation and decoded
semantic meaning. `RunFragmentRegistry` accepts trusted Fragment packages only through the
-`narratage.run-fragment-host@1` Host-facet installer. Package loading does not interpret Fragment code.
+`hypit.run-fragment-host@1` Host-facet installer. Package loading does not interpret Fragment code.
-The optional official XML-like syntax lives in `@narratage/run-markup`. Another trusted Frontend can emit
+The optional official XML-like syntax lives in `@hypit/run-markup`. Another trusted Frontend can emit
the same `RunDocument` without changing this package or Core.
diff --git a/packages/run/package.json b/packages/run/package.json
index 2d59bc06..4bbdcee3 100644
--- a/packages/run/package.json
+++ b/packages/run/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/run",
+ "name": "@hypit/run",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,9 +8,9 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/elaborator": "workspace:*",
- "@narratage/host": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/source": "workspace:*"
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/host": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/source": "workspace:*"
}
}
diff --git a/packages/run/src/candidate.ts b/packages/run/src/candidate.ts
index f1a50e75..78f2ada4 100644
--- a/packages/run/src/candidate.ts
+++ b/packages/run/src/candidate.ts
@@ -1,11 +1,11 @@
import {
canonicalize,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type {
Candidate,
StoredValue,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
export type ProvidedCandidateInput = {
readonly id: string;
diff --git a/packages/run/src/facet.ts b/packages/run/src/facet.ts
index 5500f99f..e9a79cc7 100644
--- a/packages/run/src/facet.ts
+++ b/packages/run/src/facet.ts
@@ -1,11 +1,11 @@
-import type { GraphFragment } from "@narratage/elaborator";
-import type { HostFacet } from "@narratage/host";
+import type { GraphFragment } from "@hypit/elaborator";
+import type { HostFacet } from "@hypit/host";
import type {
RunFragmentPackage,
} from "./types.js";
-export const runFragmentHostAbi = "narratage.run-fragment-host@1";
+export const runFragmentHostAbi = "hypit.run-fragment-host@1";
export type RunFragmentHostFacet = HostFacet & {
readonly abi: typeof runFragmentHostAbi;
diff --git a/packages/run/src/frontend-facet.ts b/packages/run/src/frontend-facet.ts
index a90479ad..10d59b88 100644
--- a/packages/run/src/frontend-facet.ts
+++ b/packages/run/src/frontend-facet.ts
@@ -1,12 +1,12 @@
import {
createFrontendHostFacet,
frontendsFromHostFacets,
-} from "@narratage/host";
+} from "@hypit/host";
import type {
FrontendHostFacet,
HostFacet,
-} from "@narratage/host";
-import { sourceFrontendPackageAbi } from "@narratage/source";
+} from "@hypit/host";
+import { sourceFrontendPackageAbi } from "@hypit/source";
import type { RunFrontend } from "./types.js";
diff --git a/packages/run/src/frontend.ts b/packages/run/src/frontend.ts
index 633b8231..9ac96bdd 100644
--- a/packages/run/src/frontend.ts
+++ b/packages/run/src/frontend.ts
@@ -1,7 +1,7 @@
import {
maskSourceHeader,
parseSourceHeader,
-} from "@narratage/source";
+} from "@hypit/source";
import type {
RunDocument,
diff --git a/packages/run/src/graph.ts b/packages/run/src/graph.ts
index c743c3e3..0936358b 100644
--- a/packages/run/src/graph.ts
+++ b/packages/run/src/graph.ts
@@ -16,7 +16,7 @@ function assert(condition: unknown, code: string, message: string): asserts cond
function content(graph: RunGraph): RunGraph {
return {
- format: "narratage.run-graph@1",
+ format: "hypit.run-graph@1",
candidates: [...graph.candidates].sort((left, right) => left.id.localeCompare(right.id)),
operations: [...graph.operations].sort((left, right) => left.id.localeCompare(right.id)),
satisfactions: [...graph.satisfactions].sort((left, right) => left.output.localeCompare(right.output)),
@@ -25,13 +25,13 @@ function content(graph: RunGraph): RunGraph {
}
export function sealRunGraph(input: Omit<RunGraph, "format">): RunGraph {
- const graph = content({ format: "narratage.run-graph@1", ...input });
+ const graph = content({ format: "hypit.run-graph@1", ...input });
verifyRunGraph(graph);
return graph;
}
export function verifyRunGraph(graph: RunGraph): void {
- assert(graph.format === "narratage.run-graph@1", "UNSUPPORTED_RUN_GRAPH", "unsupported Run Graph");
+ assert(graph.format === "hypit.run-graph@1", "UNSUPPORTED_RUN_GRAPH", "unsupported Run Graph");
const candidateIds = new Set<string>();
for (const candidate of graph.candidates) {
assert(!candidateIds.has(candidate.id), "DUPLICATE_RUN_CANDIDATE", `Run Graph repeats Candidate ${candidate.id}`);
diff --git a/packages/run/src/registry.ts b/packages/run/src/registry.ts
index e8f934aa..9a386124 100644
--- a/packages/run/src/registry.ts
+++ b/packages/run/src/registry.ts
@@ -1,4 +1,4 @@
-import type { GraphFragment } from "@narratage/elaborator";
+import type { GraphFragment } from "@hypit/elaborator";
import type { RunFragmentPackage, RunFragmentRegistryLike } from "./types.js";
diff --git a/packages/run/src/resolve.ts b/packages/run/src/resolve.ts
index 99add1e5..9baf8c51 100644
--- a/packages/run/src/resolve.ts
+++ b/packages/run/src/resolve.ts
@@ -2,15 +2,15 @@ import {
elaborateGraphFragment,
exportRunFragment,
resolveCompiledSourceExport,
-} from "@narratage/elaborator";
-import { canonicalStringify } from "@narratage/protocol";
+} from "@hypit/elaborator";
+import { canonicalStringify } from "@hypit/protocol";
import type {
Candidate,
GraphValueRef,
ModuleRef,
OperationNode,
StoredValue,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
createProvidedCandidate,
} from "./candidate.js";
diff --git a/packages/run/src/types.ts b/packages/run/src/types.ts
index 315c3729..50688faf 100644
--- a/packages/run/src/types.ts
+++ b/packages/run/src/types.ts
@@ -1,15 +1,15 @@
import type {
CompiledSourceClosure,
GraphFragment,
-} from "@narratage/elaborator";
+} from "@hypit/elaborator";
import type {
Candidate,
OperationNode,
Satisfaction,
StoredValue,
TypeRef,
-} from "@narratage/protocol";
-import type { SourceHeader, SourceUnit } from "@narratage/source";
+} from "@hypit/protocol";
+import type { SourceHeader, SourceUnit } from "@hypit/source";
export type RunSourceUnit = SourceUnit;
@@ -82,7 +82,7 @@ export type RunSatisfaction = {
};
export type RunDocument = {
- readonly format: "narratage.run-document@1";
+ readonly format: "hypit.run-document@1";
readonly author: RunAuthorSourceRequest;
readonly imports: readonly RunImport[];
readonly targets: readonly RunTarget[];
@@ -120,7 +120,7 @@ export interface RunFragmentRegistryLike {
/** Complete, mandatory execution-intent graph. Empty alternate Candidate sets are still a Run Graph. */
export type RunGraph = {
- readonly format: "narratage.run-graph@1";
+ readonly format: "hypit.run-graph@1";
readonly candidates: readonly Candidate[];
readonly operations: readonly OperationNode[];
readonly satisfactions: readonly Satisfaction[];
diff --git a/packages/runtime-host-node/README.md b/packages/runtime-host-node/README.md
index 5cc6428a..034ba195 100644
--- a/packages/runtime-host-node/README.md
+++ b/packages/runtime-host-node/README.md
@@ -1,4 +1,4 @@
-# `@narratage/runtime-host-node`
+# `@hypit/runtime-host-node`
Node.js Runtime port shared by the generic CLI and an application's chosen Runtime implementation,
plus environment helpers for Endpoint adapters.
@@ -13,5 +13,5 @@ These functions produce `RuntimeDoctorDiagnostic` values only. They do not const
read secret values, execute commands or choose fallback Providers.
The generic CLI depends only on this port. The official video application selects
-`@narratage/runtime-local` directly; Runtime Profiles vary stores and Endpoints rather than replacing
+`@hypit/runtime-local` directly; Runtime Profiles vary stores and Endpoints rather than replacing
the Runtime itself.
diff --git a/packages/runtime-host-node/package.json b/packages/runtime-host-node/package.json
index 2ec4b5b3..38fa40f1 100644
--- a/packages/runtime-host-node/package.json
+++ b/packages/runtime-host-node/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/runtime-host-node",
+ "name": "@hypit/runtime-host-node",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,9 +8,9 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/workspace": "workspace:*"
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/workspace": "workspace:*"
}
}
diff --git a/packages/runtime-host-node/src/index.ts b/packages/runtime-host-node/src/index.ts
index 2974e51b..98125770 100644
--- a/packages/runtime-host-node/src/index.ts
+++ b/packages/runtime-host-node/src/index.ts
@@ -1,8 +1,8 @@
import { access } from "node:fs/promises";
import { constants } from "node:fs";
import { delimiter, isAbsolute, resolve } from "node:path";
-import type { ArtifactAttachment } from "@narratage/workspace";
-import type { BuildDefinition, BuildState, CapabilityRef, Digest } from "@narratage/protocol";
+import type { ArtifactAttachment } from "@hypit/workspace";
+import type { BuildDefinition, BuildState, CapabilityRef, Digest } from "@hypit/protocol";
import type {
BuildCatalogDescriptor,
BuildCatalogEntry,
@@ -12,8 +12,8 @@ import type {
CredentialRef,
OperationSnapshot,
RuntimeWorkerRunOptions,
-} from "@narratage/runtime";
-import type { RuntimeDoctorDiagnostic } from "@narratage/runtime-kit";
+} from "@hypit/runtime";
+import type { RuntimeDoctorDiagnostic } from "@hypit/runtime-kit";
export type RuntimeHostBuildSubmission = {
readonly id: string;
diff --git a/packages/runtime-host-node/test/runtime-host-node.test.ts b/packages/runtime-host-node/test/runtime-host-node.test.ts
index 85c09aef..fac9bbb4 100644
--- a/packages/runtime-host-node/test/runtime-host-node.test.ts
+++ b/packages/runtime-host-node/test/runtime-host-node.test.ts
@@ -7,10 +7,10 @@ import test from "node:test";
import {
diagnoseRuntimeExecutable,
resolveRuntimeExecutable,
-} from "@narratage/runtime-host-node";
+} from "@hypit/runtime-host-node";
test("configured executable paths are rooted at the Runtime Profile project", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-runtime-host-node-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-runtime-host-node-"));
try {
const path = join(root, "tools", "fixture");
await mkdir(join(root, "tools"), { recursive: true });
diff --git a/packages/runtime-kit/README.md b/packages/runtime-kit/README.md
index 29588cbc..35706055 100644
--- a/packages/runtime-kit/README.md
+++ b/packages/runtime-kit/README.md
@@ -1,4 +1,4 @@
-# `@narratage/runtime-kit`
+# `@hypit/runtime-kit`
Host facets for the three environmental choices a Runtime Profile may select:
diff --git a/packages/runtime-kit/package.json b/packages/runtime-kit/package.json
index e48004ad..abf83c3b 100644
--- a/packages/runtime-kit/package.json
+++ b/packages/runtime-kit/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/runtime-kit",
+ "name": "@hypit/runtime-kit",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,9 +8,9 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/host": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*"
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/host": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*"
}
}
diff --git a/packages/runtime-kit/src/index.ts b/packages/runtime-kit/src/index.ts
index 96156f8d..a3903c94 100644
--- a/packages/runtime-kit/src/index.ts
+++ b/packages/runtime-kit/src/index.ts
@@ -1,12 +1,12 @@
-import type { EndpointPackage } from "@narratage/endpoint-kit";
-import type { HostFacet } from "@narratage/host";
-import type { CanonicalValue } from "@narratage/protocol";
-import { credentialRef } from "@narratage/runtime";
-import type { ArtifactStore, CredentialRef, CredentialStore } from "@narratage/runtime";
-
-export const runtimeEndpointAdapterHostAbi = "narratage.runtime-endpoint-adapter-host@1";
-export const runtimeArtifactStoreAdapterHostAbi = "narratage.runtime-artifact-store-adapter-host@1";
-export const runtimeCredentialStoreAdapterHostAbi = "narratage.runtime-credential-store-adapter-host@1";
+import type { EndpointPackage } from "@hypit/endpoint-kit";
+import type { HostFacet } from "@hypit/host";
+import type { CanonicalValue } from "@hypit/protocol";
+import { credentialRef } from "@hypit/runtime";
+import type { ArtifactStore, CredentialRef, CredentialStore } from "@hypit/runtime";
+
+export const runtimeEndpointAdapterHostAbi = "hypit.runtime-endpoint-adapter-host@1";
+export const runtimeArtifactStoreAdapterHostAbi = "hypit.runtime-artifact-store-adapter-host@1";
+export const runtimeCredentialStoreAdapterHostAbi = "hypit.runtime-credential-store-adapter-host@1";
export type RuntimeAdapterKind = "endpoint" | "artifact-store" | "credential-store";
diff --git a/packages/runtime-kit/test/registry.test.ts b/packages/runtime-kit/test/registry.test.ts
index 77778b98..b6faad79 100644
--- a/packages/runtime-kit/test/registry.test.ts
+++ b/packages/runtime-kit/test/registry.test.ts
@@ -11,8 +11,8 @@ import {
runtimeConfigPositiveInteger,
runtimeConfigString,
RuntimeAdapterRegistry,
-} from "@narratage/runtime-kit";
-import type { RuntimeAdapterFactoryContext } from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
+import type { RuntimeAdapterFactoryContext } from "@hypit/runtime-kit";
const context = { dataRoot: "/tmp", instance: "one", config: {} };
const endpointPackage = (instance: string) => ({
diff --git a/packages/runtime-local/README.md b/packages/runtime-local/README.md
index 72959bc6..d9bf37c7 100644
--- a/packages/runtime-local/README.md
+++ b/packages/runtime-local/README.md
@@ -1,23 +1,23 @@
-# `@narratage/runtime-local`
+# `@hypit/runtime-local`
-The default local Runtime for Narratage. It owns the Worker, scheduler, SQLite state and Build queue.
+The default local Runtime for Hypit. It owns the Worker, scheduler, SQLite state and Build queue.
It contains no video, authoring or Provider policy.
A Runtime Profile selects only the environmental parts that genuinely vary:
```json
{
- "format": "narratage.runtime-profile@1",
+ "format": "hypit.runtime-profile@1",
"runtime": {
- "use": "@narratage/runtime-local",
+ "use": "@hypit/runtime-local",
"config": {
- "dataRoot": ".narratage/runtimes/local",
+ "dataRoot": ".hypit/runtimes/local",
"artifacts": {
- "use": "@narratage/artifact-store-fs",
+ "use": "@hypit/artifact-store-fs",
"config": { "path": "artifacts" }
},
"credentials": {
- "environment": { "use": "@narratage/credential-store-env" }
+ "environment": { "use": "@hypit/credential-store-env" }
},
"endpoints": {}
}
diff --git a/packages/runtime-local/package.json b/packages/runtime-local/package.json
index 13ec0112..71fece7b 100644
--- a/packages/runtime-local/package.json
+++ b/packages/runtime-local/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/runtime-local",
+ "name": "@hypit/runtime-local",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -11,20 +11,20 @@
"./worker-process": "./src/worker-process.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/driver-node": "workspace:*",
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/package-loader-node": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-kit": "workspace:*",
- "@narratage/runtime-host-node": "workspace:*",
- "@narratage/store-sqlite": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/package-loader-node": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-kit": "workspace:*",
+ "@hypit/runtime-host-node": "workspace:*",
+ "@hypit/store-sqlite": "workspace:*",
+ "@hypit/validation": "workspace:*"
},
"devDependencies": {
- "@narratage/artifact-store-fs": "workspace:*",
- "@narratage/credential-store-env": "workspace:*",
- "@narratage/core": "workspace:*"
+ "@hypit/artifact-store-fs": "workspace:*",
+ "@hypit/credential-store-env": "workspace:*",
+ "@hypit/core": "workspace:*"
}
}
diff --git a/packages/runtime-local/src/config.ts b/packages/runtime-local/src/config.ts
index d3662002..7a803d43 100644
--- a/packages/runtime-local/src/config.ts
+++ b/packages/runtime-local/src/config.ts
@@ -1,29 +1,29 @@
import { readFile, stat } from "node:fs/promises";
import { dirname, resolve } from "node:path";
-import { collectNodePackageComponents, loadNodePackageSelection } from "@narratage/package-loader-node";
-import type { NodePackageSelectionRequest } from "@narratage/package-loader-node";
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue, CapabilityRef } from "@narratage/protocol";
+import { collectNodePackageComponents, loadNodePackageSelection } from "@hypit/package-loader-node";
+import type { NodePackageSelectionRequest } from "@hypit/package-loader-node";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue, CapabilityRef } from "@hypit/protocol";
import {
CompositeCredentialStore,
-} from "@narratage/runtime";
-import type { ArtifactStore, CredentialStore } from "@narratage/runtime";
+} from "@hypit/runtime";
+import type { ArtifactStore, CredentialStore } from "@hypit/runtime";
import {
isRuntimeAdapterHostFacet,
runtimeArtifactStoreAdapterHostAbi,
runtimeCredentialStoreAdapterHostAbi,
runtimeEndpointAdapterHostAbi,
RuntimeAdapterRegistry,
-} from "@narratage/runtime-kit";
+} from "@hypit/runtime-kit";
import type {
ManagedProgram,
ManagedProgramState,
RuntimeDoctorDiagnostic,
RuntimeEndpointActivation,
RuntimeOpened,
-} from "@narratage/runtime-kit";
-import { SqliteRuntimeState } from "@narratage/store-sqlite";
+} from "@hypit/runtime-kit";
+import { SqliteRuntimeState } from "@hypit/store-sqlite";
import { createLocalRuntime } from "./runtime.js";
import {
@@ -46,7 +46,7 @@ export type RuntimeConfigEntry = {
};
export type RuntimeConfigDocument = {
- readonly format: "narratage.runtime-profile@1";
+ readonly format: "hypit.runtime-profile@1";
readonly dataRoot: string;
readonly artifacts: RuntimeConfigEntry;
readonly credentials: readonly RuntimeConfigEntry[];
@@ -118,12 +118,12 @@ function entries(value: unknown, subject: string, poolAllowed = false): readonly
export function parseRuntimeConfig(value: unknown): RuntimeConfigDocument {
const item = object(value, "$runtime");
exactKeys(item, ["format", "runtime"], "$runtime");
- if (item.format !== "narratage.runtime-profile@1") {
- throw new Error("$runtime.format must be narratage.runtime-profile@1");
+ if (item.format !== "hypit.runtime-profile@1") {
+ throw new Error("$runtime.format must be hypit.runtime-profile@1");
}
const runtime = object(item.runtime, "$runtime.runtime");
exactKeys(runtime, ["use", "config"], "$runtime.runtime");
- if (runtime.use !== "@narratage/runtime-local") {
+ if (runtime.use !== "@hypit/runtime-local") {
throw new Error(`Local Runtime loader cannot activate ${String(runtime.use)}`);
}
const config = object(runtime.config, "$runtime.runtime.config");
@@ -134,7 +134,7 @@ export function parseRuntimeConfig(value: unknown): RuntimeConfigDocument {
const ids = [...credentials, ...endpoints].map((value) => value.instance);
if (new Set(ids).size !== ids.length) throw new Error("$runtime repeats a Runtime instance id");
return {
- format: "narratage.runtime-profile@1",
+ format: "hypit.runtime-profile@1",
dataRoot: requiredString(config.dataRoot, "$runtime.runtime.config.dataRoot"),
artifacts,
credentials,
@@ -388,7 +388,7 @@ export async function doctorRuntimeConfig(
message: `${slot.label} for Endpoint ${slot.endpoint} is not configured. ${
slot.ref.store === "env"
? `Set ${slot.ref.key} in this process environment.`
- : `Configure it with: narratage auth login ${slot.endpoint} --runtime ${absolute}`}`,
+ : `Configure it with: hypit auth login ${slot.endpoint} --runtime ${absolute}`}`,
subject: `${slot.endpoint}.${slot.slot}`,
});
}
diff --git a/packages/runtime-local/src/control.ts b/packages/runtime-local/src/control.ts
index 9b0e7ac7..1bec8414 100644
--- a/packages/runtime-local/src/control.ts
+++ b/packages/runtime-local/src/control.ts
@@ -1,6 +1,6 @@
import {
isStreamingArtifactStore,
-} from "@narratage/runtime";
+} from "@hypit/runtime";
import type {
CreateLocalRuntimeArchiveControlOptions,
diff --git a/packages/runtime-local/src/credentials.ts b/packages/runtime-local/src/credentials.ts
index dea44c50..53d1b57c 100644
--- a/packages/runtime-local/src/credentials.ts
+++ b/packages/runtime-local/src/credentials.ts
@@ -1,6 +1,6 @@
import {
writableCredentialStore,
-} from "@narratage/runtime";
+} from "@hypit/runtime";
import type {
CreateLocalCredentialControlOptions,
diff --git a/packages/runtime-local/src/host.ts b/packages/runtime-local/src/host.ts
index ea86147a..773f515f 100644
--- a/packages/runtime-local/src/host.ts
+++ b/packages/runtime-local/src/host.ts
@@ -2,7 +2,7 @@ import type {
NodeRuntimeHost,
RuntimeController,
RuntimeWorkerLaunch,
-} from "@narratage/runtime-host-node";
+} from "@hypit/runtime-host-node";
import { resolve } from "node:path";
import {
diff --git a/packages/runtime-local/src/programs.ts b/packages/runtime-local/src/programs.ts
index 8bd3af74..5d32f361 100644
--- a/packages/runtime-local/src/programs.ts
+++ b/packages/runtime-local/src/programs.ts
@@ -3,8 +3,8 @@ import { mkdir, open, readFile, rename, rm, stat, writeFile } from "node:fs/prom
import { join } from "node:path";
import { setTimeout as sleep } from "node:timers/promises";
-import type { CapabilityRef } from "@narratage/protocol";
-import type { ManagedProgram, ManagedProgramCommand, ManagedProgramState } from "@narratage/runtime-kit";
+import type { CapabilityRef } from "@hypit/protocol";
+import type { ManagedProgram, ManagedProgramCommand, ManagedProgramState } from "@hypit/runtime-kit";
import { declaredManagedPrograms } from "./config.js";
import type { LoadRuntimeConfigOptions } from "./config.js";
diff --git a/packages/runtime-local/src/runtime.ts b/packages/runtime-local/src/runtime.ts
index 844edcf3..1d934859 100644
--- a/packages/runtime-local/src/runtime.ts
+++ b/packages/runtime-local/src/runtime.ts
@@ -1,16 +1,16 @@
import {
registerProducerFacets,
registerTypeValidatorFacets,
-} from "@narratage/component-kit";
+} from "@hypit/component-kit";
import {
ProducerRegistry,
NodeDriver,
EndpointRegistry,
-} from "@narratage/driver-node";
+} from "@hypit/driver-node";
import {
isStreamingArtifactStore,
-} from "@narratage/runtime";
-import { TypeValidatorRegistry } from "@narratage/validation";
+} from "@hypit/runtime";
+import { TypeValidatorRegistry } from "@hypit/validation";
import { createLocalRuntimeArchiveControl, createLocalRuntimeArtifactAccess } from "./control.js";
import { createLocalCredentialControl } from "./credentials.js";
diff --git a/packages/runtime-local/src/types.ts b/packages/runtime-local/src/types.ts
index 6af4b67c..f2e042e4 100644
--- a/packages/runtime-local/src/types.ts
+++ b/packages/runtime-local/src/types.ts
@@ -1,5 +1,5 @@
-import type { Awaitable, ComponentPackage } from "@narratage/component-kit";
-import type { EndpointPackage } from "@narratage/endpoint-kit";
+import type { Awaitable, ComponentPackage } from "@hypit/component-kit";
+import type { EndpointPackage } from "@hypit/endpoint-kit";
import type {
ArtifactStore,
BuildCatalog,
@@ -8,21 +8,21 @@ import type {
BuildDispatchSnapshot,
CredentialStore,
OperationStore,
-} from "@narratage/runtime";
+} from "@hypit/runtime";
import type {
RuntimeHostArchive,
RuntimeHostArtifactAccess,
RuntimeHostBuildSubmission,
RuntimeHostCredentialControl,
RuntimeHostExecution,
-} from "@narratage/runtime-host-node";
+} from "@hypit/runtime-host-node";
export type CreateLocalRuntimeOptions = {
readonly buildStore: BuildStore;
/** Host presentation metadata only; never part of Core state. */
readonly buildCatalog?: BuildCatalog;
readonly operationStore: OperationStore;
- readonly dispatchStore: import("@narratage/runtime").BuildDispatchStore;
+ readonly dispatchStore: import("@hypit/runtime").BuildDispatchStore;
readonly artifactStore: ArtifactStore;
readonly credentialStore: CredentialStore;
readonly components?: readonly ComponentPackage[];
diff --git a/packages/runtime-local/src/worker.ts b/packages/runtime-local/src/worker.ts
index 60ad78bb..a60f1c89 100644
--- a/packages/runtime-local/src/worker.ts
+++ b/packages/runtime-local/src/worker.ts
@@ -1,4 +1,4 @@
-import type { BuildState } from "@narratage/protocol";
+import type { BuildState } from "@hypit/protocol";
import type {
BuildDispatchSnapshot,
RuntimeCommandExecutor,
@@ -7,14 +7,14 @@ import type {
RuntimeRunnableCommand,
ScheduledBuildResult,
RuntimeWorkerRunOptions,
-} from "@narratage/runtime";
-import { LocalBuildScheduler } from "@narratage/runtime";
+} from "@hypit/runtime";
+import { LocalBuildScheduler } from "@hypit/runtime";
type LocalWorkerOptions = {
readonly stores: {
- readonly builds: import("@narratage/runtime").BuildStore;
- readonly operations: import("@narratage/runtime").OperationStore;
- readonly dispatch: import("@narratage/runtime").BuildDispatchStore;
+ readonly builds: import("@hypit/runtime").BuildStore;
+ readonly operations: import("@hypit/runtime").OperationStore;
+ readonly dispatch: import("@hypit/runtime").BuildDispatchStore;
};
readonly installComponentPackages: (specifiers: readonly string[]) => Promise<void>;
};
@@ -109,7 +109,7 @@ class CapacityExecutor implements RuntimeCommandExecutor {
async cancelOperation(
state: BuildState,
- operation: import("@narratage/runtime").OperationSnapshot,
+ operation: import("@hypit/runtime").OperationSnapshot,
) {
assert(this.#delegate.cancelOperation !== undefined, "selected executor cannot cancel Operations");
return await this.#delegate.cancelOperation(state, operation);
@@ -189,7 +189,7 @@ class DurableLocalWorker {
async #runClaimed(dispatches: readonly BuildDispatchSnapshot[]): Promise<readonly BuildDispatchSnapshot[]> {
const finished: BuildDispatchSnapshot[] = [];
- const runnable: { readonly dispatch: BuildDispatchSnapshot; readonly snapshot: import("@narratage/runtime").BuildSnapshot }[] = [];
+ const runnable: { readonly dispatch: BuildDispatchSnapshot; readonly snapshot: import("@hypit/runtime").BuildSnapshot }[] = [];
for (const dispatch of dispatches) {
if (dispatch.cancellation !== undefined) {
finished.push(await this.#cancel(dispatch));
diff --git a/packages/runtime-local/test/config.test.ts b/packages/runtime-local/test/config.test.ts
index fd047ad5..640768b8 100644
--- a/packages/runtime-local/test/config.test.ts
+++ b/packages/runtime-local/test/config.test.ts
@@ -8,15 +8,15 @@ import {
createRuntimeArtifactStoreAdapterFacet,
createRuntimeEndpointAdapterFacet,
RuntimeAdapterRegistry,
-} from "@narratage/runtime-kit";
-import { MemoryArtifactStore } from "@narratage/driver-node";
-import { SqliteRuntimeState } from "@narratage/store-sqlite";
+} from "@hypit/runtime-kit";
+import { MemoryArtifactStore } from "@hypit/driver-node";
+import { SqliteRuntimeState } from "@hypit/store-sqlite";
import {
createRuntimeArchiveFromConfig,
createRuntimeArtifactAccessFromConfig,
doctorRuntimeConfig,
parseRuntimeConfig,
-} from "@narratage/runtime-local";
+} from "@hypit/runtime-local";
function profile(config: {
readonly dataRoot?: string;
@@ -25,11 +25,11 @@ function profile(config: {
readonly endpoints?: Readonly<Record<string, unknown>>;
} = {}) {
return {
- format: "narratage.runtime-profile@1",
+ format: "hypit.runtime-profile@1",
runtime: {
- use: "@narratage/runtime-local",
+ use: "@hypit/runtime-local",
config: {
- dataRoot: config.dataRoot ?? ".narratage/runtimes/local",
+ dataRoot: config.dataRoot ?? ".hypit/runtimes/local",
artifacts: config.artifacts ?? { use: "example.artifacts" },
credentials: config.credentials ?? {},
endpoints: config.endpoints ?? {},
@@ -43,7 +43,7 @@ test("Runtime Profile names the stores and Endpoints used by one local Runtime",
credentials: { secrets: { use: "example.credentials" } },
endpoints: { generation: { use: "example.provider", pool: "shared" } },
}));
- assert.equal(parsed.dataRoot, ".narratage/runtimes/local");
+ assert.equal(parsed.dataRoot, ".hypit/runtimes/local");
assert.deepEqual(parsed.artifacts, { use: "example.artifacts", instance: "artifacts" });
assert.deepEqual(parsed.credentials, [{ use: "example.credentials", instance: "secrets" }]);
assert.deepEqual(parsed.endpoints, [{ use: "example.provider", instance: "generation", pool: "shared" }]);
@@ -54,8 +54,8 @@ test("Runtime Profile rejects source ownership fields", () => {
});
test("archive inspection opens SQLite only; Artifact access opens the selected Store", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-runtime-slice-"));
- const path = join(root, "narratage.runtime.json");
+ const root = await mkdtemp(join(tmpdir(), "hypit-runtime-slice-"));
+ const path = join(root, "hypit.runtime.json");
await writeFile(path, JSON.stringify(profile({ dataRoot: "." })));
const state = new SqliteRuntimeState(join(root, "runtime.sqlite"));
state.close();
@@ -83,8 +83,8 @@ test("archive inspection opens SQLite only; Artifact access opens the selected S
});
test("doctor reports a down Managed Program", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-runtime-program-"));
- const path = join(root, "narratage.runtime.json");
+ const root = await mkdtemp(join(tmpdir(), "hypit-runtime-program-"));
+ const path = join(root, "hypit.runtime.json");
await writeFile(path, JSON.stringify(profile({
dataRoot: ".",
endpoints: { speech: { use: "example.speech" } },
diff --git a/packages/runtime-local/test/local.test.ts b/packages/runtime-local/test/local.test.ts
index c0010e39..d7039e66 100644
--- a/packages/runtime-local/test/local.test.ts
+++ b/packages/runtime-local/test/local.test.ts
@@ -10,21 +10,21 @@ import { tmpdir } from "node:os";
import { join } from "node:path";
import test from "node:test";
-import { FileArtifactStore } from "@narratage/artifact-store-fs";
-import { EnvironmentCredentialStore } from "@narratage/credential-store-env";
-import { MemoryArtifactStore } from "@narratage/driver-node";
-import { defineEndpointPackage } from "@narratage/endpoint-kit";
-import type { AsyncEndpoint, EndpointPackage } from "@narratage/endpoint-kit";
-import type { ComponentPackage } from "@narratage/component-kit";
-import { createLocalRuntime } from "@narratage/runtime-local";
-import { defineBuild } from "@narratage/core";
+import { FileArtifactStore } from "@hypit/artifact-store-fs";
+import { EnvironmentCredentialStore } from "@hypit/credential-store-env";
+import { MemoryArtifactStore } from "@hypit/driver-node";
+import { defineEndpointPackage } from "@hypit/endpoint-kit";
+import type { AsyncEndpoint, EndpointPackage } from "@hypit/endpoint-kit";
+import type { ComponentPackage } from "@hypit/component-kit";
+import { createLocalRuntime } from "@hypit/runtime-local";
+import { defineBuild } from "@hypit/core";
import {
collectNodePackageComponents,
loadNodePackageSelection,
-} from "@narratage/package-loader-node";
-import { credentialRef } from "@narratage/runtime";
-import type { CredentialValue, WritableCredentialStore } from "@narratage/runtime";
-import { SqliteRuntimeState } from "@narratage/store-sqlite";
+} from "@hypit/package-loader-node";
+import { credentialRef } from "@hypit/runtime";
+import type { CredentialValue, WritableCredentialStore } from "@hypit/runtime";
+import { SqliteRuntimeState } from "@hypit/store-sqlite";
import {
capabilities,
@@ -41,20 +41,20 @@ function definition(state: ReturnType<typeof createGreetingBuild>) {
}
function projectRuntimeFixture(directory: string) {
- const state = new SqliteRuntimeState(join(directory, ".narratage", "runtime.sqlite"));
+ const state = new SqliteRuntimeState(join(directory, ".hypit", "runtime.sqlite"));
return {
buildStore: state.builds,
buildCatalog: state.catalog,
operationStore: state.operations,
dispatchStore: state.dispatch,
- artifactStore: new FileArtifactStore(join(directory, ".narratage", "artifacts")),
+ artifactStore: new FileArtifactStore(join(directory, ".hypit", "artifacts")),
credentialStore: new EnvironmentCredentialStore(),
close: () => state.close(),
} as const;
}
test("Endpoint-declared credentials use the selected writable Store without a Provider switch", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-local-auth-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-local-auth-"));
const values = new Map<string, CredentialValue>();
const credentialStore: WritableCredentialStore = {
owns(ref) { return ref.store === "memory"; },
@@ -100,7 +100,7 @@ test("Endpoint-declared credentials use the selected writable Store without a Pr
});
test("project local runtime queues, polls and cancels work with replaceable packages", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-local-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-local-"));
const initial = createGreetingBuild();
const catalog = {
source: { path: join(directory, "main.svml") },
@@ -238,7 +238,7 @@ test("project local runtime queues, polls and cancels work with replaceable pack
});
test("one local Worker admits later Builds while preserving shared Endpoint capacity", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-local-parallel-builds-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-local-parallel-builds-"));
let unrestrictedActive = 0;
let mostUnrestricted = 0;
let limitedActive = 0;
@@ -336,9 +336,9 @@ test("one local Worker admits later Builds while preserving shared Endpoint capa
});
test("project local runtime accepts components loaded from an installed package", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-local-components-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-local-components-"));
const runtimeRoot = join(directory, "external-project");
- const installedRoot = join(directory, "narratage-install");
+ const installedRoot = join(directory, "hypit-install");
const packageRoot = join(installedRoot, "node_modules", "example-greeting-components");
await mkdir(runtimeRoot, { recursive: true });
await mkdir(packageRoot, { recursive: true });
@@ -347,14 +347,14 @@ test("project local runtime accepts components loaded from an installed package"
version: "1.0.0",
type: "module",
exports: "./activation.mjs",
- narratage: { activation: "./activation.mjs" },
+ hypit: { activation: "./activation.mjs" },
}), "utf8");
await writeFile(join(packageRoot, "activation.mjs"), `
const manifest = ${JSON.stringify(greetingManifest)};
const module = { name: manifest.name, version: manifest.version };
const producer = (name) => ({ module, name });
export default {
- format: "narratage.node-package@1",
+ format: "hypit.node-package@1",
modules: [{ manifest }],
components: [{
producers: [
@@ -409,7 +409,7 @@ test("project local runtime accepts components loaded from an installed package"
});
test("project local runtime accepts an explicitly selected replacement ArtifactStore package", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-local-artifacts-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-local-artifacts-"));
const artifactStore = new MemoryArtifactStore();
try {
const runtime = await createLocalRuntime({
diff --git a/packages/runtime-local/test/programs.test.ts b/packages/runtime-local/test/programs.test.ts
index 6cd5c2d9..0fffd9eb 100644
--- a/packages/runtime-local/test/programs.test.ts
+++ b/packages/runtime-local/test/programs.test.ts
@@ -5,16 +5,16 @@ import { join } from "node:path";
import test from "node:test";
import { setTimeout as sleep } from "node:timers/promises";
-import { createRuntimeEndpointAdapterFacet, RuntimeAdapterRegistry } from "@narratage/runtime-kit";
-import type { ManagedProgram } from "@narratage/runtime-kit";
-import type { CapabilityRef } from "@narratage/protocol";
+import { createRuntimeEndpointAdapterFacet, RuntimeAdapterRegistry } from "@hypit/runtime-kit";
+import type { ManagedProgram } from "@hypit/runtime-kit";
+import type { CapabilityRef } from "@hypit/protocol";
import {
bringManagedProgramsUp,
declaredManagedPrograms,
reportManagedPrograms,
takeManagedProgramsDown,
-} from "@narratage/runtime-local";
+} from "@hypit/runtime-local";
const requiredCapability = {
module: { name: "example.capabilities", version: "1" },
@@ -27,12 +27,12 @@ const requiredCapability = {
* ready, and stopping — without a Python environment.
*/
async function project(program: (root: string) => ManagedProgram) {
- const root = await mkdtemp(join(tmpdir(), "narratage-programs-"));
- const path = join(root, "narratage.runtime.json");
+ const root = await mkdtemp(join(tmpdir(), "hypit-programs-"));
+ const path = join(root, "hypit.runtime.json");
await writeFile(path, JSON.stringify({
- format: "narratage.runtime-profile@1",
+ format: "hypit.runtime-profile@1",
runtime: {
- use: "@narratage/runtime-local",
+ use: "@hypit/runtime-local",
config: {
dataRoot: ".",
artifacts: { use: "example.artifacts" },
@@ -117,7 +117,7 @@ function fileBackedProgram(marker: string): ManagedProgram {
}
test("up starts the program once for every Endpoint that drives it, and down stops it", async () => {
- const marker = join(await mkdtemp(join(tmpdir(), "narratage-marker-")), "ready");
+ const marker = join(await mkdtemp(join(tmpdir(), "hypit-marker-")), "ready");
const { root, path, options } = await project(() => fileBackedProgram(marker));
const progress: string[] = [];
@@ -178,7 +178,7 @@ test("down leaves a running program this project did not start", async () => {
});
test("a program with nothing to start is prepared, and preparing is the whole job", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-prepare-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-prepare-"));
const marker = join(directory, "installed");
const { path, options } = await project(() => ({
id: "example",
@@ -200,13 +200,13 @@ test("a program with nothing to start is prepared, and preparing is the whole jo
});
test("up creates a fresh Runtime data directory before running commands", async () => {
- const projectRoot = await mkdtemp(join(tmpdir(), "narratage-fresh-runtime-"));
+ const projectRoot = await mkdtemp(join(tmpdir(), "hypit-fresh-runtime-"));
const dataRoot = join(projectRoot, "never-created");
- const path = join(projectRoot, "narratage.runtime.json");
+ const path = join(projectRoot, "hypit.runtime.json");
await writeFile(path, JSON.stringify({
- format: "narratage.runtime-profile@1",
+ format: "hypit.runtime-profile@1",
runtime: {
- use: "@narratage/runtime-local",
+ use: "@hypit/runtime-local",
config: {
dataRoot: "./never-created",
artifacts: { use: "example.artifacts" },
diff --git a/packages/runtime-local/test/worker-process.test.ts b/packages/runtime-local/test/worker-process.test.ts
index 079018f9..1d269b70 100644
--- a/packages/runtime-local/test/worker-process.test.ts
+++ b/packages/runtime-local/test/worker-process.test.ts
@@ -12,12 +12,12 @@ import {
} from "../src/worker-process.js";
test("one detached Runtime Worker can be started, observed and stopped", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-runtime-process-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-runtime-process-"));
const profile = join(root, "runtime.json");
- const dataRoot = join(root, ".narratage", "runtimes", "local");
- await writeFile(profile, JSON.stringify({ format: "narratage.runtime-profile@1" }), "utf8");
- await mkdir(join(root, ".narratage"), { recursive: true });
- await writeFile(join(root, ".narratage", "runtime"), "runtime.json\n", "utf8");
+ const dataRoot = join(root, ".hypit", "runtimes", "local");
+ await writeFile(profile, JSON.stringify({ format: "hypit.runtime-profile@1" }), "utf8");
+ await mkdir(join(root, ".hypit"), { recursive: true });
+ await writeFile(join(root, ".hypit", "runtime"), "runtime.json\n", "utf8");
const program = `
const fs = require("node:fs");
const path = require("node:path");
@@ -38,7 +38,7 @@ test("one detached Runtime Worker can be started, observed and stopped", async (
);
assert.equal(first.state, "running");
assert.ok(first.pid);
- assert.equal(await readFile(join(root, ".narratage", "runtime"), "utf8"), "runtime.json\n");
+ assert.equal(await readFile(join(root, ".hypit", "runtime"), "utf8"), "runtime.json\n");
const second = await ensureRuntimeProcess(
profile,
diff --git a/packages/runtime/README.md b/packages/runtime/README.md
index 7b552905..2fd8d5f2 100644
--- a/packages/runtime/README.md
+++ b/packages/runtime/README.md
@@ -1,4 +1,4 @@
-# `@narratage/runtime`
+# `@hypit/runtime`
Environment neutral execution and storage contracts around Core.
@@ -13,8 +13,8 @@ The package defines the small ports used by a runtime:
* `LocalBuildScheduler` runs ready commands concurrently while respecting declared resource limits.
These contracts do not choose a filesystem, database, provider or source language. The default local
-implementation lives in `@narratage/runtime-local`; Node component and endpoint execution lives in
-`@narratage/driver-node`.
+implementation lives in `@hypit/runtime-local`; Node component and endpoint execution lives in
+`@hypit/driver-node`.
The scheduler never changes graph meaning. Targets and candidates are fixed before execution, and
resource limits only control when an already selected command may run.
diff --git a/packages/runtime/package.json b/packages/runtime/package.json
index 29f3a8bd..12e553ce 100644
--- a/packages/runtime/package.json
+++ b/packages/runtime/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/runtime",
+ "name": "@hypit/runtime",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,7 +8,7 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/protocol": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/runtime/src/catalog.ts b/packages/runtime/src/catalog.ts
index d1a2ab32..16af960e 100644
--- a/packages/runtime/src/catalog.ts
+++ b/packages/runtime/src/catalog.ts
@@ -1,7 +1,7 @@
import type {
LogicalOutputRef,
RecordRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
export type BuildCatalogAlias = {
readonly name: string;
diff --git a/packages/runtime/src/index.ts b/packages/runtime/src/index.ts
index eb8455f8..5c6d79c0 100644
--- a/packages/runtime/src/index.ts
+++ b/packages/runtime/src/index.ts
@@ -1,4 +1,4 @@
-export { plannedNeeds } from "@narratage/core";
+export { plannedNeeds } from "@hypit/core";
export type * from "./catalog.js";
export {
CompositeCredentialStore,
diff --git a/packages/runtime/src/operations.ts b/packages/runtime/src/operations.ts
index 9bd43577..d17c62e2 100644
--- a/packages/runtime/src/operations.ts
+++ b/packages/runtime/src/operations.ts
@@ -1,7 +1,7 @@
import type {
CanonicalValue,
StoredValue,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
export type OperationIdentity = {
readonly id: string;
diff --git a/packages/runtime/src/scheduler.ts b/packages/runtime/src/scheduler.ts
index 361ae8a9..ae3466c4 100644
--- a/packages/runtime/src/scheduler.ts
+++ b/packages/runtime/src/scheduler.ts
@@ -1,5 +1,5 @@
-import { BuildMachine, reduce } from "@narratage/core";
-import type { BuildState } from "@narratage/protocol";
+import { BuildMachine, reduce } from "@hypit/core";
+import type { BuildState } from "@hypit/protocol";
import type {
BuildSchedulerOptions,
@@ -103,7 +103,7 @@ export class LocalBuildScheduler {
return proposed;
};
- const accept = async (build: MutableBuild, event: import("@narratage/protocol").CommandResult): Promise<void> => {
+ const accept = async (build: MutableBuild, event: import("@hypit/protocol").CommandResult): Promise<void> => {
if (this.#buildStore === undefined || build.machine === undefined) {
build.state = reduce(build.state, event);
return;
diff --git a/packages/runtime/src/types.ts b/packages/runtime/src/types.ts
index 779a5a47..e0daf4e9 100644
--- a/packages/runtime/src/types.ts
+++ b/packages/runtime/src/types.ts
@@ -6,7 +6,7 @@ import type {
CommandResult,
CoreCommand,
Digest,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type { OperationSnapshot } from "./operations.js";
export type RuntimeBlockedCommand = {
diff --git a/packages/screen-overlay/README.md b/packages/screen-overlay/README.md
index 46f6f181..cc0056c2 100644
--- a/packages/screen-overlay/README.md
+++ b/packages/screen-overlay/README.md
@@ -1,4 +1,4 @@
-# `@narratage/screen-overlay`
+# `@hypit/screen-overlay`
Official provider-free self-contained screen-paint package.
diff --git a/packages/screen-overlay/package.json b/packages/screen-overlay/package.json
index 0b8e8a6f..6da5839f 100644
--- a/packages/screen-overlay/package.json
+++ b/packages/screen-overlay/package.json
@@ -1,30 +1,30 @@
{
- "name": "@narratage/screen-overlay",
+ "name": "@hypit/screen-overlay",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
"type": "module",
"exports": { ".": "./src/index.ts" },
- "narratage": { "activation": "./src/activation.ts" },
+ "hypit": { "activation": "./src/activation.ts" },
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/temporal": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/temporal": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/core": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/speech-evidence": "workspace:*",
- "@narratage/validation": "workspace:*",
- "@narratage/visual-ir": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/core": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/speech-evidence": "workspace:*",
+ "@hypit/validation": "workspace:*",
+ "@hypit/visual-ir": "workspace:*"
}
}
diff --git a/packages/screen-overlay/src/activation.ts b/packages/screen-overlay/src/activation.ts
index 696a31a7..c31c933a 100644
--- a/packages/screen-overlay/src/activation.ts
+++ b/packages/screen-overlay/src/activation.ts
@@ -1,10 +1,10 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeScreenOverlaySurface, screenOverlayComponent, screenOverlayManifest, screenOverlayModuleRef,
screenOverlayMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: screenOverlayManifest }],
components: [screenOverlayComponent],
hostFacets: [createMarkupSurfaceHostFacet({
@@ -12,4 +12,4 @@ export const narratagePackage = {
declaration: screenOverlayMarkupSurfaces.find((item) => item.name === "track")!, handler: decodeScreenOverlaySurface,
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/screen-overlay/src/component.ts b/packages/screen-overlay/src/component.ts
index a544d2c7..ae7c1f64 100644
--- a/packages/screen-overlay/src/component.ts
+++ b/packages/screen-overlay/src/component.ts
@@ -1,10 +1,10 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize } from "@narratage/protocol";
-import type { StoredValue } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import type { CanvasSpace } from "@narratage/spatial";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize } from "@hypit/protocol";
+import type { StoredValue } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import type { CanvasSpace } from "@hypit/spatial";
import { screenOverlayProducers, screenOverlayTypes } from "./manifest.js";
import { appendMomentScreenOverlay, appendProgramScreenOverlay, appendSelectionScreenOverlay, assertScreenOverlayProgram, createScreenOverlaySet, finalizeScreenOverlay, renderScreenOverlay } from "./program.js";
import type { ScreenOverlayHeader, ScreenOverlayItemSpec, ScreenOverlayProgram, ScreenOverlaySet } from "./types.js";
diff --git a/packages/screen-overlay/src/fragment.ts b/packages/screen-overlay/src/fragment.ts
index 17a2f7b3..bc66f120 100644
--- a/packages/screen-overlay/src/fragment.ts
+++ b/packages/screen-overlay/src/fragment.ts
@@ -1,10 +1,10 @@
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { FragmentOperation } from "@narratage/elaborator";
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { FragmentOperation } from "@hypit/elaborator";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
import { screenOverlayProducers, screenOverlayTypes } from "./manifest.js";
export type ScreenOverlayFragmentItem =
diff --git a/packages/screen-overlay/src/manifest.ts b/packages/screen-overlay/src/manifest.ts
index 449b913f..a4d36967 100644
--- a/packages/screen-overlay/src/manifest.ts
+++ b/packages/screen-overlay/src/manifest.ts
@@ -1,12 +1,12 @@
-import { compositionDependency, compositionTypes } from "@narratage/composition";
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { semanticMapDependency, semanticMapTypes } from "@narratage/semantic-map";
-import { spatialDependency, spatialTypes } from "@narratage/spatial";
-import { temporalDependency } from "@narratage/temporal";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { semanticMapDependency, semanticMapTypes } from "@hypit/semantic-map";
+import { spatialDependency, spatialTypes } from "@hypit/spatial";
+import { temporalDependency } from "@hypit/temporal";
-export const screenOverlayModuleRef = { name: "@narratage/screen-overlay", version: "1" } as const;
+export const screenOverlayModuleRef = { name: "@hypit/screen-overlay", version: "1" } as const;
export const screenOverlayTypes = {
header: { module: screenOverlayModuleRef, name: "ScreenOverlayHeader" },
itemSpec: { module: screenOverlayModuleRef, name: "ScreenOverlayItemSpec" },
@@ -74,7 +74,7 @@ export const screenOverlayMarkupSurfaces = [{ name: "track", tag: "Track", mode:
export const screenOverlayManifest: ModuleManifest = {
- format: "narratage.module@1", name: screenOverlayModuleRef.name, version: screenOverlayModuleRef.version,
+ format: "hypit.module@1", name: screenOverlayModuleRef.name, version: screenOverlayModuleRef.version,
dependencies: [narrativeDependency, semanticMapDependency, programSpaceDependency, spatialDependency, temporalDependency, compositionDependency],
types: [
{ name: screenOverlayTypes.header.name },
diff --git a/packages/screen-overlay/src/program.ts b/packages/screen-overlay/src/program.ts
index 974d0fc2..114d6ca2 100644
--- a/packages/screen-overlay/src/program.ts
+++ b/packages/screen-overlay/src/program.ts
@@ -1,14 +1,14 @@
-import { assertVisualTrackIdentity, sealVisualTrack } from "@narratage/composition";
-import type { VisualAnimation, VisualElement, VisualStyleDeclaration, VisualTrack } from "@narratage/composition";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import { assertProgramSpaceIdentity } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { canonicalize } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import { assertCanvasSpace } from "@narratage/spatial";
-import type { CanvasSpace } from "@narratage/spatial";
-import { projectMomentWindows, projectProgramWindow, projectSelectionWindows } from "@narratage/temporal";
-import type { ProjectedOccurrence } from "@narratage/temporal";
+import { assertVisualTrackIdentity, sealVisualTrack } from "@hypit/composition";
+import type { VisualAnimation, VisualElement, VisualStyleDeclaration, VisualTrack } from "@hypit/composition";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import { assertProgramSpaceIdentity } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { canonicalize } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import { assertCanvasSpace } from "@hypit/spatial";
+import type { CanvasSpace } from "@hypit/spatial";
+import { projectMomentWindows, projectProgramWindow, projectSelectionWindows } from "@hypit/temporal";
+import type { ProjectedOccurrence } from "@hypit/temporal";
import type {
ScreenOverlayComponent,
@@ -309,7 +309,7 @@ function overlayElements(content: ScreenOverlayComponent, canvas: CanvasSpace, d
export function renderScreenOverlay(canvas: CanvasSpace, space: ProgramSpace, program: ScreenOverlayProgram): VisualTrack {
assertCanvasSpace(canvas); assertProgramSpaceIdentity(space); assertScreenOverlayProgram(program);
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1", id: program.id,
+ visualIr: "hypit.visual-ir@1", id: program.id,
presents: program.items.map((item) => ({
id: item.id, span: { ...item.span }, stacking: { ...item.stacking },
elements: overlayElements(item.content, canvas, item.span.endFrameExclusive - item.span.startFrame),
diff --git a/packages/screen-overlay/src/surface.ts b/packages/screen-overlay/src/surface.ts
index 5224bfce..d26463f9 100644
--- a/packages/screen-overlay/src/surface.ts
+++ b/packages/screen-overlay/src/surface.ts
@@ -1,9 +1,9 @@
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { spatialTypes } from "@narratage/spatial";
-import type { StructuredElement, StructuredSurfaceHandler, SurfaceRecordDraft, SurfaceResolvedReference, MarkupAttributeValue } from "@narratage/markup";
-import type { TemporalDuration, TemporalPointExpression } from "@narratage/temporal";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { spatialTypes } from "@hypit/spatial";
+import type { StructuredElement, StructuredSurfaceHandler, SurfaceRecordDraft, SurfaceResolvedReference, MarkupAttributeValue } from "@hypit/markup";
+import type { TemporalDuration, TemporalPointExpression } from "@hypit/temporal";
import { createScreenOverlayFragment } from "./fragment.js";
import { screenOverlayTypes } from "./manifest.js";
import { sealScreenOverlayHeader, sealScreenOverlayItemSpec } from "./program.js";
diff --git a/packages/screen-overlay/src/types.ts b/packages/screen-overlay/src/types.ts
index 5647ff41..7cc0caae 100644
--- a/packages/screen-overlay/src/types.ts
+++ b/packages/screen-overlay/src/types.ts
@@ -1,5 +1,5 @@
-import type { FrameSpan } from "@narratage/composition";
-import type { OccurrenceExpansion, TemporalWindowProjection } from "@narratage/temporal";
+import type { FrameSpan } from "@hypit/composition";
+import type { OccurrenceExpansion, TemporalWindowProjection } from "@hypit/temporal";
export type FlashOverlay = {
readonly kind: "flash"; readonly color: string; readonly intensity: number;
diff --git a/packages/screen-overlay/test/screen-overlay.test.ts b/packages/screen-overlay/test/screen-overlay.test.ts
index f6e27cc0..9512c112 100644
--- a/packages/screen-overlay/test/screen-overlay.test.ts
+++ b/packages/screen-overlay/test/screen-overlay.test.ts
@@ -2,16 +2,16 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { artifactManifest } from "@narratage/artifact";
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
-import { compositionManifest, compositionTypes, sealComposition, sealVisualTrack } from "@narratage/composition";
-import { createResolvedClosure, sealBuildRequest, start } from "@narratage/core";
-import { AuthorFrontendRegistry, compileSourceClosure, resolveCompiledSourceExport } from "@narratage/elaborator";
-import { compileHyperframesDocument } from "@narratage/hyperframes";
-import { mediaManifest } from "@narratage/media";
-import { narrativeManifest } from "@narratage/narrative";
-import { programSpaceDependency, programSpaceManifest, programSpaceTypes, sealProgramSpace } from "@narratage/program-space";
-import type { ModuleManifest } from "@narratage/protocol";
+import { artifactManifest } from "@hypit/artifact";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
+import { compositionManifest, compositionTypes, sealComposition, sealVisualTrack } from "@hypit/composition";
+import { createResolvedClosure, sealBuildRequest, start } from "@hypit/core";
+import { AuthorFrontendRegistry, compileSourceClosure, resolveCompiledSourceExport } from "@hypit/elaborator";
+import { compileHyperframesDocument } from "@hypit/hyperframes";
+import { mediaManifest } from "@hypit/media";
+import { narrativeManifest } from "@hypit/narrative";
+import { programSpaceDependency, programSpaceManifest, programSpaceTypes, sealProgramSpace } from "@hypit/program-space";
+import type { ModuleManifest } from "@hypit/protocol";
import {
appendProgramScreenOverlay,
createScreenOverlaySet,
@@ -25,16 +25,16 @@ import {
screenOverlayProducers,
sealScreenOverlayHeader,
sealScreenOverlayItemSpec,
-} from "@narratage/screen-overlay";
-import type { ScreenOverlayComponent } from "@narratage/screen-overlay";
-import { semanticMapManifest } from "@narratage/semantic-map";
-import { speechEvidenceManifest } from "@narratage/speech-evidence";
-import { speechManifest } from "@narratage/speech";
-import { sealCanvasSpace, spatialComponent, spatialDependency, spatialManifest, spatialTypes } from "@narratage/spatial";
-import { temporalManifest } from "@narratage/temporal";
-import { MarkupSurfaceRegistry, createMarkupAuthorFrontend } from "@narratage/markup";
-import { createRecordAdmitter, TypeValidatorRegistry } from "@narratage/validation";
-import { visualIrManifest } from "@narratage/visual-ir";
+} from "@hypit/screen-overlay";
+import type { ScreenOverlayComponent } from "@hypit/screen-overlay";
+import { semanticMapManifest } from "@hypit/semantic-map";
+import { speechEvidenceManifest } from "@hypit/speech-evidence";
+import { speechManifest } from "@hypit/speech";
+import { sealCanvasSpace, spatialComponent, spatialDependency, spatialManifest, spatialTypes } from "@hypit/spatial";
+import { temporalManifest } from "@hypit/temporal";
+import { MarkupSurfaceRegistry, createMarkupAuthorFrontend } from "@hypit/markup";
+import { createRecordAdmitter, TypeValidatorRegistry } from "@hypit/validation";
+import { visualIrManifest } from "@hypit/visual-ir";
const canvas = sealCanvasSpace({
widthPx: 1080, heightPx: 1920,
@@ -101,7 +101,7 @@ test("overlay Tracks interleave with peer Tracks only through absolute stacking"
const below = trackFor(components[1]!, 20);
const above = { ...trackFor(components[0]!, 80), id: "screen-above" };
const middle = sealVisualTrack({
- visualIr: "narratage.visual-ir@1", id: "middle",
+ visualIr: "hypit.visual-ir@1", id: "middle",
presents: [{ id: "middle", span: { startFrame: 0, endFrameExclusive: 60 }, stacking: { order: 50, tieBreak: "middle" },
elements: [{ id: "root", order: 0, kind: "box", style: [{ name: "background-color", value: "#112233" }] }] }],
});
@@ -109,9 +109,9 @@ test("overlay Tracks interleave with peer Tracks only through absolute stacking"
id: "stack", canvas: { width: 1080, height: 1920, clearColor: "#000000" },
tracks: [above, middle, below],
}), space);
- const belowAt = document.html.indexOf('data-narratage-track-id="screen"');
- const middleAt = document.html.indexOf('data-narratage-track-id="middle"');
- const aboveAt = document.html.indexOf('data-narratage-track-id="screen-above"');
+ const belowAt = document.html.indexOf('data-hypit-track-id="screen"');
+ const middleAt = document.html.indexOf('data-hypit-track-id="middle"');
+ const aboveAt = document.html.indexOf('data-hypit-track-id="screen-above"');
assert.ok(belowAt < middleAt && middleAt < aboveAt);
});
@@ -135,7 +135,7 @@ test("the self-described Screen Surface parses into a finite peer-Track graph",
outputs: [spatialTypes.canvas, programSpaceTypes.programSpace],
} as const;
const fixtureManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: fixtureModule.name,
version: fixtureModule.version,
dependencies: [spatialDependency, programSpaceDependency],
@@ -183,10 +183,10 @@ test("the self-described Screen Surface parses into a finite peer-Track graph",
entry: {
id: "/project/screen.svml",
name: "screen.svml",
- text: `<?svml using="@narratage/markup@1"?>
+ text: `<?svml using="@hypit/markup@1"?>
<svml>
<import as="fixture" from="example.screen-inputs@1"/>
- <import as="screen" from="@narratage/screen-overlay@1"/>
+ <import as="screen" from="@hypit/screen-overlay@1"/>
<fixture:Inputs/>
<screen:Track id="screen-fx" canvas={canvas} space={space}>
<screen:Flash during="program" z="70" color="#ffffff" intensity="0.9" attack="2" hold="3" decay="5"/>
diff --git a/packages/script/README.md b/packages/script/README.md
index 81365128..e3ab0068 100644
--- a/packages/script/README.md
+++ b/packages/script/README.md
@@ -1,4 +1,4 @@
-# `@narratage/script`
+# `@hypit/script`
Official raw Script Surface for the Markup Frontend. It parses prose-first named Segment blocks,
newline-independent Role Cues, Dual Text, Selection and Moment syntax, and lowers them to a
@@ -32,7 +32,7 @@ when every Segment closes; a Role can never leak into the following Segment.
The package exports its Manifest, `parseScript`, semantic/source-map projection helpers, a
semantic-preserving formatter and the raw `decodeScriptSurface` handler. Source ranges and parser
state remain private to Script; its authored Narrative Record uses the Frontend-neutral type from
-`@narratage/narrative`, so third-party author surfaces can feed the same WhisperX, locator and caption
+`@hypit/narrative`, so third-party author surfaces can feed the same WhisperX, locator and caption
components without importing Script internals.
The Surface exports one full Narrative plus narrow, immutable views:
diff --git a/packages/script/package.json b/packages/script/package.json
index 6ff684d9..2cd47055 100644
--- a/packages/script/package.json
+++ b/packages/script/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/script",
+ "name": "@hypit/script",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,16 +7,16 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/narrative": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/narrative": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*"
+ "@hypit/core": "workspace:*"
}
}
diff --git a/packages/script/src/activation.ts b/packages/script/src/activation.ts
index 4886aff6..b389871c 100644
--- a/packages/script/src/activation.ts
+++ b/packages/script/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeScriptSurface,
@@ -7,8 +7,8 @@ import {
scriptMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: scriptManifest }],
hostFacets: [createMarkupSurfaceHostFacet({
module: scriptModuleRef,
@@ -17,4 +17,4 @@ export const narratagePackage = {
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/script/src/format.ts b/packages/script/src/format.ts
index 8d8a7256..f77366b6 100644
--- a/packages/script/src/format.ts
+++ b/packages/script/src/format.ts
@@ -1,4 +1,4 @@
-import { canonicalStringify } from "@narratage/protocol";
+import { canonicalStringify } from "@hypit/protocol";
import { ScriptSyntaxError } from "./error.js";
import { narrativeValue } from "./narrative.js";
diff --git a/packages/script/src/manifest.ts b/packages/script/src/manifest.ts
index 310f88a4..144bac40 100644
--- a/packages/script/src/manifest.ts
+++ b/packages/script/src/manifest.ts
@@ -1,8 +1,8 @@
-import { narrativeDependency, narrativeSchema, narrativeTypes } from "@narratage/narrative";
-import { textDependency, textTypes } from "@narratage/text";
-import type { ModuleManifest, TypeRef } from "@narratage/protocol";
+import { narrativeDependency, narrativeSchema, narrativeTypes } from "@hypit/narrative";
+import { textDependency, textTypes } from "@hypit/text";
+import type { ModuleManifest, TypeRef } from "@hypit/protocol";
-export const scriptModuleRef = { name: "@narratage/script", version: "1" } as const;
+export const scriptModuleRef = { name: "@hypit/script", version: "1" } as const;
export const narrativeType: TypeRef = narrativeTypes.narrative;
export const narrativeExcerptType: TypeRef = narrativeTypes.excerpt;
export const narrativeSelectionType: TypeRef = narrativeTypes.selection;
@@ -31,7 +31,7 @@ export const scriptMarkupSurfaces = [
] as const;
export const scriptManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: scriptModuleRef.name,
version: scriptModuleRef.version,
dependencies: [narrativeDependency, textDependency],
diff --git a/packages/script/src/narrative.ts b/packages/script/src/narrative.ts
index 3548c88c..ec77e460 100644
--- a/packages/script/src/narrative.ts
+++ b/packages/script/src/narrative.ts
@@ -1,13 +1,13 @@
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue } from "@narratage/protocol";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue } from "@hypit/protocol";
import type {
CaptionCorrespondence,
CaptionDisplayAtom,
CaptionDisplaySequence,
CaptionDisplayWord,
CaptionDisplayWordSubset,
-} from "@narratage/narrative";
-import { sealText } from "@narratage/text";
+} from "@hypit/narrative";
+import { sealText } from "@hypit/text";
import type { ParsedCaptionRegion, ParsedNarrative } from "./types.js";
diff --git a/packages/script/src/surface.ts b/packages/script/src/surface.ts
index fbf4a149..c53a6fd0 100644
--- a/packages/script/src/surface.ts
+++ b/packages/script/src/surface.ts
@@ -21,7 +21,7 @@ import {
narrativeSelectionType,
narrativeType,
} from "./manifest.js";
-import { textTypes } from "@narratage/text";
+import { textTypes } from "@hypit/text";
import { parseScript } from "./parser.js";
import type { ScriptSurfaceInput, ScriptSurfaceOutput } from "./types.js";
diff --git a/packages/script/src/types.ts b/packages/script/src/types.ts
index e9fabc13..e8ed7d63 100644
--- a/packages/script/src/types.ts
+++ b/packages/script/src/types.ts
@@ -1,7 +1,7 @@
-import type { CanonicalValue, SourceRange, StoredValue, TypeRef } from "@narratage/protocol";
-import type { Narrative, NarrativeMomentOccurrence, NarrativeSegment, NarrativeSelectionOccurrence, NarrativeToken, NarrativeTurn } from "@narratage/narrative";
+import type { CanonicalValue, SourceRange, StoredValue, TypeRef } from "@hypit/protocol";
+import type { Narrative, NarrativeMomentOccurrence, NarrativeSegment, NarrativeSelectionOccurrence, NarrativeToken, NarrativeTurn } from "@hypit/narrative";
-export type { Narrative, SemanticAnchor } from "@narratage/narrative";
+export type { Narrative, SemanticAnchor } from "@hypit/narrative";
export type Affinity = "left" | "right";
diff --git a/packages/script/test/markup-integration.test.ts b/packages/script/test/markup-integration.test.ts
index c4323ae6..dc62c1eb 100644
--- a/packages/script/test/markup-integration.test.ts
+++ b/packages/script/test/markup-integration.test.ts
@@ -1,23 +1,23 @@
-import { narrativeManifest } from "@narratage/narrative";
-import type { Narrative, NarrativeExcerpt } from "@narratage/narrative";
-import { textManifest } from "@narratage/text";
+import { narrativeManifest } from "@hypit/narrative";
+import type { Narrative, NarrativeExcerpt } from "@hypit/narrative";
+import { textManifest } from "@hypit/text";
import assert from "node:assert/strict";
import test from "node:test";
-import { createResolvedClosure } from "@narratage/core";
-import type { ModuleManifest } from "@narratage/protocol";
+import { createResolvedClosure } from "@hypit/core";
+import type { ModuleManifest } from "@hypit/protocol";
import {
decodeScriptSurface,
scriptManifest,
scriptMarkupSurfaces,
scriptModuleRef,
-} from "@narratage/script";
+} from "@hypit/script";
import {
MarkupFrontendError,
MarkupSurfaceRegistry,
decodeMarkup,
parseStructuredElement,
-} from "@narratage/markup";
+} from "@hypit/markup";
function scriptContext() {
const closure = createResolvedClosure([narrativeManifest, textManifest, scriptManifest]);
@@ -39,7 +39,7 @@ test("Script teaches Markup <script> only through its imported Manifest", async
{
name: "talk.svml",
text: `<svml>
- <import from="@narratage/script@1"/>
+ <import from="@hypit/script@1"/>
<script id="story">
<opening>
@@ -71,7 +71,7 @@ test("the same Script meaning has the same authored Record digest across reflow"
const compact = await decodeMarkup(
{
name: "compact.svml",
- text: `<svml><import from="@narratage/script@1"/><script id="story"><opening><ALICE>Hello.<BOB>Hi.</opening></script></svml>`,
+ text: `<svml><import from="@hypit/script@1"/><script id="story"><opening><ALICE>Hello.<BOB>Hi.</opening></script></svml>`,
},
scriptContext(),
);
@@ -79,7 +79,7 @@ test("the same Script meaning has the same authored Record digest across reflow"
{
name: "multiline.svml",
text: `<svml>
- <import from="@narratage/script@1"/>
+ <import from="@hypit/script@1"/>
<script id="story">
<opening>
<ALICE>Hello.
@@ -121,7 +121,7 @@ test("a raw Surface cannot consume the Markup document close", async () => {
decodeMarkup(
{
name: "swallowed.svml",
- text: `<svml><import from="@narratage/script@1"/><script><opening>Hello.</opening></script></svml>`,
+ text: `<svml><import from="@hypit/script@1"/><script><opening>Hello.</opening></script></svml>`,
},
{ closure, registry, resolveModule: () => scriptModuleRef },
),
@@ -135,9 +135,9 @@ test("imports are frozen before body decoding", async () => {
{
name: "late.svml",
text: `<svml>
- <import from="@narratage/script@1"/>
+ <import from="@hypit/script@1"/>
<script><opening>Hello.</opening></script>
- <import from="@narratage/script@1"/>
+ <import from="@hypit/script@1"/>
</svml>`,
},
scriptContext(),
@@ -178,7 +178,7 @@ test("a module can use Markup's generic structured parser without adding another
outputs: [type],
} as const;
const manifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: module.name,
version: module.version,
dependencies: [],
diff --git a/packages/script/test/script.test.ts b/packages/script/test/script.test.ts
index 20b926c8..c3c1fd71 100644
--- a/packages/script/test/script.test.ts
+++ b/packages/script/test/script.test.ts
@@ -2,7 +2,7 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import type { Narrative } from "@narratage/narrative";
+import type { Narrative } from "@hypit/narrative";
import {
ScriptSyntaxError,
captionCorrespondence,
@@ -13,7 +13,7 @@ import {
serializeCaption,
serializeDialogue,
serializeSpeech,
-} from "@narratage/script";
+} from "@hypit/script";
test("named blocks are Segments and Role Cues do not depend on line breaks", () => {
const compact = parseScript(
diff --git a/packages/seedance-kits/README.md b/packages/seedance-kits/README.md
index 65b31455..408f4fef 100644
--- a/packages/seedance-kits/README.md
+++ b/packages/seedance-kits/README.md
@@ -1,19 +1,19 @@
-# `@narratage/seedance-kits`
+# `@hypit/seedance-kits`
Data-only authoring Kits for recurring Seedance semantics. They are `TextTemplate` source modules,
not model wrappers, Providers or new execution nodes.
Vendor the selected `.svs` file into the video project (for example `./kits/speaker-v1.svs`). This
keeps its bytes inside the project's Source Closure and Workspace boundary; a project must not
-reach back into a Narratage checkout through `../../packages/...`.
+reach back into a Hypit checkout through `../../packages/...`.
Each Kit is rendered by the domain-neutral `text:Render` Surface. Its Text output then feeds one of
-the three low-level `@narratage/seedance` invocation modes. Reference media and duration remain
+the three low-level `@hypit/seedance` invocation modes. Reference media and duration remain
ordinary explicit graph edges:
```svml
-<import as="text" from="@narratage/text@1"/>
-<import as="seedance" from="@narratage/seedance@1"/>
+<import as="text" from="@hypit/text@1"/>
+<import as="seedance" from="@hypit/seedance@1"/>
<import as="broll-kit" source="./kits/broll-v1.svs"/>
<text:Render id="broll-prompt" template={broll-kit.broll-v1} recipe={studio.broll}>
diff --git a/packages/seedance-kits/kits/broll-v1.svs b/packages/seedance-kits/kits/broll-v1.svs
index c67ad3a6..662d59f5 100644
--- a/packages/seedance-kits/kits/broll-v1.svs
+++ b/packages/seedance-kits/kits/broll-v1.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/text/svs@1"?>
+<?svml using="@hypit/text/svs@1"?>
<sheet version="1" id="broll-v1">
text-template.broll-v1 {
diff --git a/packages/seedance-kits/kits/call-v1.svs b/packages/seedance-kits/kits/call-v1.svs
index 392357ca..d30517c7 100644
--- a/packages/seedance-kits/kits/call-v1.svs
+++ b/packages/seedance-kits/kits/call-v1.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/text/svs@1"?>
+<?svml using="@hypit/text/svs@1"?>
<sheet version="1" id="call-v1">
text-template.call-v1 {
diff --git a/packages/seedance-kits/kits/camera-reference-v1.svs b/packages/seedance-kits/kits/camera-reference-v1.svs
index 20386ac3..6d5c80c8 100644
--- a/packages/seedance-kits/kits/camera-reference-v1.svs
+++ b/packages/seedance-kits/kits/camera-reference-v1.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/text/svs@1"?>
+<?svml using="@hypit/text/svs@1"?>
<sheet version="1" id="camera-reference-v1">
text-template.camera-reference-v1 { separator: paragraph; }
diff --git a/packages/seedance-kits/kits/motion-reference-v1.svs b/packages/seedance-kits/kits/motion-reference-v1.svs
index d61ea644..b5af4720 100644
--- a/packages/seedance-kits/kits/motion-reference-v1.svs
+++ b/packages/seedance-kits/kits/motion-reference-v1.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/text/svs@1"?>
+<?svml using="@hypit/text/svs@1"?>
<sheet version="1" id="motion-reference-v1">
text-template.motion-reference-v1 { separator: paragraph; }
diff --git a/packages/seedance-kits/kits/podcast-v1.svs b/packages/seedance-kits/kits/podcast-v1.svs
index bed639e4..a236adb4 100644
--- a/packages/seedance-kits/kits/podcast-v1.svs
+++ b/packages/seedance-kits/kits/podcast-v1.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/text/svs@1"?>
+<?svml using="@hypit/text/svs@1"?>
<sheet version="1" id="podcast-v1">
text-template.podcast-v1 {
diff --git a/packages/seedance-kits/kits/speaker-v1.svs b/packages/seedance-kits/kits/speaker-v1.svs
index c06ca8b1..4537dd20 100644
--- a/packages/seedance-kits/kits/speaker-v1.svs
+++ b/packages/seedance-kits/kits/speaker-v1.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/text/svs@1"?>
+<?svml using="@hypit/text/svs@1"?>
<sheet version="1" id="speaker-v1">
text-template.speaker-v1 {
diff --git a/packages/seedance-kits/kits/street-interview-v1.svs b/packages/seedance-kits/kits/street-interview-v1.svs
index 000585a7..5247f632 100644
--- a/packages/seedance-kits/kits/street-interview-v1.svs
+++ b/packages/seedance-kits/kits/street-interview-v1.svs
@@ -1,4 +1,4 @@
-<?svml using="@narratage/text/svs@1"?>
+<?svml using="@hypit/text/svs@1"?>
<sheet version="1" id="street-interview-v1">
text-template.street-interview-v1 {
diff --git a/packages/seedance-kits/package.json b/packages/seedance-kits/package.json
index 88e9126d..8bb890e4 100644
--- a/packages/seedance-kits/package.json
+++ b/packages/seedance-kits/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/seedance-kits",
+ "name": "@hypit/seedance-kits",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -18,7 +18,7 @@
"README.md"
],
"devDependencies": {
- "@narratage/svs": "workspace:*",
- "@narratage/text": "workspace:*"
+ "@hypit/svs": "workspace:*",
+ "@hypit/text": "workspace:*"
}
}
diff --git a/packages/seedance-kits/test/kits.test.ts b/packages/seedance-kits/test/kits.test.ts
index 0c1f0e99..16f6e6dd 100644
--- a/packages/seedance-kits/test/kits.test.ts
+++ b/packages/seedance-kits/test/kits.test.ts
@@ -1,8 +1,8 @@
import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
import test from "node:test";
-import { parseSvs } from "@narratage/svs";
-import { renderText, sealTextBindings, textTemplateFromSvsRecipes } from "@narratage/text";
+import { parseSvs } from "@hypit/svs";
+import { renderText, sealTextBindings, textTemplateFromSvsRecipes } from "@hypit/text";
const cases = [
{ file: "speaker-v1.svs", id: "speaker-v1", bindings: { dialogue: "HOST: Meaning comes first." }, marker: "@audio1 is the speaker's voice-timbre reference" },
diff --git a/packages/seedance/README.md b/packages/seedance/README.md
index 5188b2b9..cea8d2e4 100644
--- a/packages/seedance/README.md
+++ b/packages/seedance/README.md
@@ -1,4 +1,4 @@
-# `@narratage/seedance`
+# `@hypit/seedance`
Exact Seedance author model module. It owns the request schema and exactly three invocation Surfaces;
it does not contain KIE credentials, HTTP code, queues, runtime routing or usage-specific Prompt assembly.
diff --git a/packages/seedance/package.json b/packages/seedance/package.json
index 67311ada..879a6831 100644
--- a/packages/seedance/package.json
+++ b/packages/seedance/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/seedance",
+ "name": "@hypit/seedance",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,17 +7,17 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/model-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/model-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/markup": "workspace:*"
}
}
diff --git a/packages/seedance/src/activation.ts b/packages/seedance/src/activation.ts
index 850f94e6..cba3e77b 100644
--- a/packages/seedance/src/activation.ts
+++ b/packages/seedance/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeSeedanceFrameVideoSurface,
@@ -10,8 +10,8 @@ import {
seedanceMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: seedanceManifest }],
components: [seedanceComponent],
hostFacets: [
@@ -33,4 +33,4 @@ export const narratagePackage = {
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/seedance/src/fragment.ts b/packages/seedance/src/fragment.ts
index 18d7c7d1..a83abd57 100644
--- a/packages/seedance/src/fragment.ts
+++ b/packages/seedance/src/fragment.ts
@@ -1,15 +1,15 @@
-import { speechTypes } from "@narratage/speech";
-import { artifactTypes } from "@narratage/artifact";
-import { sealGraphFragment } from "@narratage/elaborator";
-import { generationProducers } from "@narratage/generation";
+import { speechTypes } from "@hypit/speech";
+import { artifactTypes } from "@hypit/artifact";
+import { sealGraphFragment } from "@hypit/elaborator";
+import { generationProducers } from "@hypit/generation";
import {
createExactModelPrimaryGenerationFragment,
exactModelMediaInputNames,
exactModelTextInputName,
-} from "@narratage/model-kit";
-import type { ExactModelEndpoint, ExactModelMediaInput, ExactModelTextInput } from "@narratage/model-kit";
-import { textTypes } from "@narratage/text";
-import type { ProducerRef } from "@narratage/protocol";
+} from "@hypit/model-kit";
+import type { ExactModelEndpoint, ExactModelMediaInput, ExactModelTextInput } from "@hypit/model-kit";
+import { textTypes } from "@hypit/text";
+import type { ProducerRef } from "@hypit/protocol";
const input = (name: string) => ({ kind: "fragment-input" as const, name });
const operation = (id: string) => ({ kind: "fragment-operation" as const, operation: id });
@@ -62,7 +62,7 @@ export function createSeedanceDurationGenerationFragment(
{ name: "program", type: { module: endpoint.producer.module, name: "DurationProgram" } },
{ name: "duration", type: speechTypes.duration },
];
- const operations: Array<import("@narratage/elaborator").FragmentOperation> = [{
+ const operations: Array<import("@hypit/elaborator").FragmentOperation> = [{
id: "compile-draft",
producer: compileProducer,
inputs: { program: input("program"), duration: input("duration") },
diff --git a/packages/seedance/src/index.ts b/packages/seedance/src/index.ts
index 455241e9..2acfd2bf 100644
--- a/packages/seedance/src/index.ts
+++ b/packages/seedance/src/index.ts
@@ -5,20 +5,20 @@ import {
sealGenerationRequestDraft,
sealGenerationPortTable,
verifyPortsAgainstTable,
-} from "@narratage/generation";
+} from "@hypit/generation";
import type {
GenerationPortTable,
GenerationPortValue,
GenerationRequest,
GenerationRequestDraft,
-} from "@narratage/generation";
-import { defineExactModelModule } from "@narratage/model-kit";
-import { assertSpeechDurationIdentity, speechDependency, speechTypes } from "@narratage/speech";
-import type { SpeechDuration } from "@narratage/speech";
-import { canonicalize } from "@narratage/protocol";
-import type { Digest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
+} from "@hypit/generation";
+import { defineExactModelModule } from "@hypit/model-kit";
+import { assertSpeechDurationIdentity, speechDependency, speechTypes } from "@hypit/speech";
+import type { SpeechDuration } from "@hypit/speech";
+import { canonicalize } from "@hypit/protocol";
+import type { Digest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
-export const seedanceModuleRef = { name: "@narratage/seedance", version: "1" } as const;
+export const seedanceModuleRef = { name: "@hypit/seedance", version: "1" } as const;
export const seedanceModels = ["seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2.5"] as const;
export type SeedanceModel = typeof seedanceModels[number];
@@ -253,7 +253,7 @@ export const seedanceComponent = {
...seedanceBaseDefinition.component.producers,
...seedanceModels.map((model) => ({
producer: seedanceDurationCompileProducers[model],
- handler: ({ inputs }: { readonly inputs: Readonly<Record<string, { readonly value: import("@narratage/protocol").StoredValue }>> }) => ({
+ handler: ({ inputs }: { readonly inputs: Readonly<Record<string, { readonly value: import("@hypit/protocol").StoredValue }>> }) => ({
outputs: {
draft: {
kind: "inline" as const,
diff --git a/packages/seedance/src/surface.ts b/packages/seedance/src/surface.ts
index c389c506..86828d64 100644
--- a/packages/seedance/src/surface.ts
+++ b/packages/seedance/src/surface.ts
@@ -1,25 +1,25 @@
-import { artifactTypes } from "@narratage/artifact";
+import { artifactTypes } from "@hypit/artifact";
import {
generationPort,
sealGenerationMediaBinding,
sealGenerationRequestDraft,
-} from "@narratage/generation";
+} from "@hypit/generation";
import type {
GenerationMediaPort,
GenerationMediaRole,
GenerationPortTable,
-} from "@narratage/generation";
-import { exactModelMediaInputNames, exactModelTextInputName } from "@narratage/model-kit";
-import type { ExactModelEndpoint, ExactModelMediaInput } from "@narratage/model-kit";
-import type { CanonicalValue } from "@narratage/protocol";
-import { speechTypes } from "@narratage/speech";
-import { textTypes, verifyText } from "@narratage/text";
+} from "@hypit/generation";
+import { exactModelMediaInputNames, exactModelTextInputName } from "@hypit/model-kit";
+import type { ExactModelEndpoint, ExactModelMediaInput } from "@hypit/model-kit";
+import type { CanonicalValue } from "@hypit/protocol";
+import { speechTypes } from "@hypit/speech";
+import { textTypes, verifyText } from "@hypit/text";
import type {
MarkupAttributeValue,
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
-} from "@narratage/markup";
+} from "@hypit/markup";
import {
createSeedanceAssembledGenerationFragment,
diff --git a/packages/seedance/test/surface.test.ts b/packages/seedance/test/surface.test.ts
index f172cedc..dcbff663 100644
--- a/packages/seedance/test/surface.test.ts
+++ b/packages/seedance/test/surface.test.ts
@@ -1,10 +1,10 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { artifactTypes } from "@narratage/artifact";
-import { parseStructuredElement } from "@narratage/markup";
-import type { StructuredSurfaceHandler, SurfaceResolvedReference } from "@narratage/markup";
-import { textTypes } from "@narratage/text";
+import { artifactTypes } from "@hypit/artifact";
+import { parseStructuredElement } from "@hypit/markup";
+import type { StructuredSurfaceHandler, SurfaceResolvedReference } from "@hypit/markup";
+import { textTypes } from "@hypit/text";
import {
decodeSeedanceFrameVideoSurface,
diff --git a/packages/seedream/README.md b/packages/seedream/README.md
index 049c2862..1c0eb76a 100644
--- a/packages/seedream/README.md
+++ b/packages/seedream/README.md
@@ -1,10 +1,10 @@
-# `@narratage/seedream`
+# `@hypit/seedream`
Exact author/compute contracts and package-owned author Surfaces for Seedream image generation.
The two modes are separate Surfaces and project the primary result to an ordinary image Artifact.
This package defines what the author requested, not where it runs: API translation, credentials,
-retry and queue behavior belong to a selected Runtime Endpoint such as `@narratage/provider-kie`.
+retry and queue behavior belong to a selected Runtime Endpoint such as `@hypit/provider-kie`.
The modes stay explicit in the source:
diff --git a/packages/seedream/package.json b/packages/seedream/package.json
index 1d29af3b..da55602c 100644
--- a/packages/seedream/package.json
+++ b/packages/seedream/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/seedream",
+ "name": "@hypit/seedream",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,15 +7,15 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/generation": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/model-kit": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/text": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/generation": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/model-kit": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/text": "workspace:*"
}
}
diff --git a/packages/seedream/src/activation.ts b/packages/seedream/src/activation.ts
index c5f03dc5..8440480c 100644
--- a/packages/seedream/src/activation.ts
+++ b/packages/seedream/src/activation.ts
@@ -1,11 +1,11 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import { seedreamComponent, seedreamManifest, seedreamModuleRef,
seedreamMarkupSurfaces } from "./index.js";
import { decodeSeedreamReferenceImageSurface, decodeSeedreamTextImageSurface } from "./surface.js";
-export const narratagePackage = { format: "narratage.node-package@1" as const, modules: [{ manifest: seedreamManifest }], components: [seedreamComponent], hostFacets: [
+export const hypitPackage = { format: "hypit.node-package@1" as const, modules: [{ manifest: seedreamManifest }], components: [seedreamComponent], hostFacets: [
createMarkupSurfaceHostFacet({ module: seedreamModuleRef,
declaration: seedreamMarkupSurfaces.find((item) => item.name === "text-image")!, handler: decodeSeedreamTextImageSurface }),
createMarkupSurfaceHostFacet({ module: seedreamModuleRef,
declaration: seedreamMarkupSurfaces.find((item) => item.name === "reference-image")!, handler: decodeSeedreamReferenceImageSurface }),
] };
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/seedream/src/index.ts b/packages/seedream/src/index.ts
index 9fff3e33..64102f85 100644
--- a/packages/seedream/src/index.ts
+++ b/packages/seedream/src/index.ts
@@ -1,8 +1,8 @@
-import { sealGenerationPortRequest, sealGenerationPortTable } from "@narratage/generation";
-import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@narratage/generation";
-import { defineExactModelModule } from "@narratage/model-kit";
+import { sealGenerationPortRequest, sealGenerationPortTable } from "@hypit/generation";
+import type { GenerationPortTable, GenerationPortValue, GenerationRequest } from "@hypit/generation";
+import { defineExactModelModule } from "@hypit/model-kit";
-export const seedreamModuleRef = { name: "@narratage/seedream", version: "1" } as const;
+export const seedreamModuleRef = { name: "@hypit/seedream", version: "1" } as const;
export const seedream5LitePorts: GenerationPortTable = sealGenerationPortTable({
model: "seedream-5-lite",
diff --git a/packages/seedream/src/surface.ts b/packages/seedream/src/surface.ts
index c8fac1ce..e1b7d0cb 100644
--- a/packages/seedream/src/surface.ts
+++ b/packages/seedream/src/surface.ts
@@ -1,10 +1,10 @@
-import { artifactTypes } from "@narratage/artifact";
-import { generationPort, sealGenerationMediaBinding, sealGenerationRequestDraft } from "@narratage/generation";
-import type { GenerationMediaPort } from "@narratage/generation";
-import { createExactModelPrimaryGenerationFragment, exactModelMediaInputNames, exactModelTextInputName } from "@narratage/model-kit";
-import type { MarkupAttributeValue, StructuredElement, StructuredSurfaceHandler, SurfaceResolvedReference } from "@narratage/markup";
-import type { CanonicalValue, TypeRef } from "@narratage/protocol";
-import { textTypes, verifyText } from "@narratage/text";
+import { artifactTypes } from "@hypit/artifact";
+import { generationPort, sealGenerationMediaBinding, sealGenerationRequestDraft } from "@hypit/generation";
+import type { GenerationMediaPort } from "@hypit/generation";
+import { createExactModelPrimaryGenerationFragment, exactModelMediaInputNames, exactModelTextInputName } from "@hypit/model-kit";
+import type { MarkupAttributeValue, StructuredElement, StructuredSurfaceHandler, SurfaceResolvedReference } from "@hypit/markup";
+import type { CanonicalValue, TypeRef } from "@hypit/protocol";
+import { textTypes, verifyText } from "@hypit/text";
import { seedreamEndpoints } from "./index.js";
function assert(condition: unknown, message: string): asserts condition { if (!condition) throw new Error(message); }
diff --git a/packages/semantic-map/README.md b/packages/semantic-map/README.md
index c0f2196f..a567270a 100644
--- a/packages/semantic-map/README.md
+++ b/packages/semantic-map/README.md
@@ -1,3 +1,3 @@
-# `@narratage/semantic-map`
+# `@hypit/semantic-map`
The located projection of authored Narrative identity onto ProgramSpace.
diff --git a/packages/semantic-map/package.json b/packages/semantic-map/package.json
index c358a5a2..f36367dd 100644
--- a/packages/semantic-map/package.json
+++ b/packages/semantic-map/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/semantic-map",
+ "name": "@hypit/semantic-map",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,12 +7,12 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/narrative": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/speech-evidence": "workspace:*"
+ "@hypit/narrative": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/speech-evidence": "workspace:*"
}
}
diff --git a/packages/semantic-map/src/activation.ts b/packages/semantic-map/src/activation.ts
index e4c93463..0ec4e017 100644
--- a/packages/semantic-map/src/activation.ts
+++ b/packages/semantic-map/src/activation.ts
@@ -1,3 +1,3 @@
import { semanticMapManifest } from "./index.js";
-export const narratagePackage = { format: "narratage.node-package@1" as const, modules: [{ manifest: semanticMapManifest }] };
-export default narratagePackage;
+export const hypitPackage = { format: "hypit.node-package@1" as const, modules: [{ manifest: semanticMapManifest }] };
+export default hypitPackage;
diff --git a/packages/semantic-map/src/location.ts b/packages/semantic-map/src/location.ts
index 89dfe6fa..6540cf5c 100644
--- a/packages/semantic-map/src/location.ts
+++ b/packages/semantic-map/src/location.ts
@@ -1,4 +1,4 @@
-import type { NarrativeExcerpt, NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
+import type { NarrativeExcerpt, NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
import type { CompleteSemanticMap } from "./types.js";
export type LocatedFrameSpan = { readonly startFrame: number; readonly endFrameExclusive: number };
diff --git a/packages/semantic-map/src/manifest.ts b/packages/semantic-map/src/manifest.ts
index 4a1d70e4..eab6306e 100644
--- a/packages/semantic-map/src/manifest.ts
+++ b/packages/semantic-map/src/manifest.ts
@@ -1,6 +1,6 @@
-import { narrativeDependency } from "@narratage/narrative";
-import { speechEvidenceDependency } from "@narratage/speech-evidence";
-import type { ModuleManifest, TypeRef, ValueSchema } from "@narratage/protocol";
+import { narrativeDependency } from "@hypit/narrative";
+import { speechEvidenceDependency } from "@hypit/speech-evidence";
+import type { ModuleManifest, TypeRef, ValueSchema } from "@hypit/protocol";
const string = { kind: "string", minLength: 1 } as const;
const integer = { kind: "number", integer: true, minimum: 0 } as const;
const object = (fields: Readonly<Record<string, { readonly schema: ValueSchema; readonly optional?: boolean }>>): ValueSchema => ({ kind: "object", fields });
@@ -8,8 +8,8 @@ const timedToken = object({ tokenId: { schema: string }, segmentId: { schema: st
const point = object({ identity: { schema: string }, frame: { schema: integer } });
export const completeSemanticMapSchema: ValueSchema = object({
tokens: { schema: { kind: "array", items: timedToken } }, anchors: { schema: { kind: "array", items: point } } });
-export const semanticMapModuleRef = { name: "@narratage/semantic-map", version: "1" } as const;
+export const semanticMapModuleRef = { name: "@hypit/semantic-map", version: "1" } as const;
export const semanticMapTypes = { complete: { module: semanticMapModuleRef, name: "CompleteSemanticMap" } } satisfies Record<string, TypeRef>;
-export const semanticMapManifest: ModuleManifest = { format: "narratage.module@1", name: semanticMapModuleRef.name, version: semanticMapModuleRef.version,
+export const semanticMapManifest: ModuleManifest = { format: "hypit.module@1", name: semanticMapModuleRef.name, version: semanticMapModuleRef.version,
dependencies: [narrativeDependency, speechEvidenceDependency], types: [{ name: semanticMapTypes.complete.name }], capabilities: [], producers: [] };
export const semanticMapDependency = { module: semanticMapModuleRef } as const;
diff --git a/packages/semantic-map/test/location.test.ts b/packages/semantic-map/test/location.test.ts
index f6d87203..97eaac86 100644
--- a/packages/semantic-map/test/location.test.ts
+++ b/packages/semantic-map/test/location.test.ts
@@ -1,9 +1,9 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { momentFrames, segmentFrameSpan, selectionFrameSpans } from "@narratage/semantic-map";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
+import { momentFrames, segmentFrameSpan, selectionFrameSpans } from "@hypit/semantic-map";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
/**
* Two Segments at 10 fps. Words are one frame wide with a one-frame gap, so a
diff --git a/packages/source/README.md b/packages/source/README.md
index 44e4e09c..b00abb49 100644
--- a/packages/source/README.md
+++ b/packages/source/README.md
@@ -1,11 +1,11 @@
-# `@narratage/source`
+# `@hypit/source`
The smallest source bootstrap shared by Author and Run compilation.
It recognizes exactly one mandatory bounded Header:
```xml
-<?svml using="@narratage/markup@1"?>
+<?svml using="@hypit/markup@1"?>
```
The Header selects an exact trusted Frontend. There is no suffix dispatch and no default parser.
diff --git a/packages/source/package.json b/packages/source/package.json
index b10bf0c8..8f4b60e5 100644
--- a/packages/source/package.json
+++ b/packages/source/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/source",
+ "name": "@hypit/source",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,6 +8,6 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/source/src/index.ts b/packages/source/src/index.ts
index a6bfdf3b..2d21762f 100644
--- a/packages/source/src/index.ts
+++ b/packages/source/src/index.ts
@@ -14,4 +14,4 @@ export type {
SourceUnit,
} from "./unit.js";
/** Logical package address for Source Frontends selected by a Source Header. */
-export const sourceFrontendPackageAbi = "narratage.source-frontend@1";
+export const sourceFrontendPackageAbi = "hypit.source-frontend@1";
diff --git a/packages/source/src/unit.ts b/packages/source/src/unit.ts
index ff7c0e1b..06754fa8 100644
--- a/packages/source/src/unit.ts
+++ b/packages/source/src/unit.ts
@@ -1,4 +1,4 @@
-import type { BlobRef, SourceRange } from "@narratage/protocol";
+import type { BlobRef, SourceRange } from "@hypit/protocol";
export type SourceUnit = {
/** Host-canonical identity used only for recursion and diagnostics. */
diff --git a/packages/source/test/header.test.ts b/packages/source/test/header.test.ts
index d1b20c0b..155df8df 100644
--- a/packages/source/test/header.test.ts
+++ b/packages/source/test/header.test.ts
@@ -5,12 +5,12 @@ import {
maskSourceHeader,
parseSourceHeader,
SourceHeaderError,
-} from "@narratage/source";
+} from "@hypit/source";
test("Source Header explicitly selects one Frontend and masking preserves offsets", () => {
- const text = '<?svml using="@narratage/markup@1"?>\n\n<svml/>\n';
+ const text = '<?svml using="@hypit/markup@1"?>\n\n<svml/>\n';
const header = parseSourceHeader("main.svml", text);
- assert.equal(header.using, "@narratage/markup@1");
+ assert.equal(header.using, "@hypit/markup@1");
const masked = maskSourceHeader(text, header);
assert.equal(masked.length, text.length);
assert.equal(masked.indexOf("<svml/>"), text.indexOf("<svml/>"));
@@ -19,8 +19,8 @@ test("Source Header explicitly selects one Frontend and masking preserves offset
test("Source Header accepts a UTF-8 BOM but no implicit or duplicate Frontend", () => {
assert.equal(
- parseSourceHeader("bom.svs", '\ufeff<?svml using="@narratage/svs@1"?>\n<sheet/>').using,
- "@narratage/svs@1",
+ parseSourceHeader("bom.svs", '\ufeff<?svml using="@hypit/svs@1"?>\n<sheet/>').using,
+ "@hypit/svs@1",
);
assert.throws(
() => parseSourceHeader("missing.svml", "<svml/>"),
diff --git a/packages/spatial/README.md b/packages/spatial/README.md
index 6b18cc7b..bdd008f0 100644
--- a/packages/spatial/README.md
+++ b/packages/spatial/README.md
@@ -1,4 +1,4 @@
-# `@narratage/spatial`
+# `@hypit/spatial`
Shared video-domain geometry: explicit Canvas coordinates, Points, Frames, Paths, intrinsic extents
and deterministic two-frame content fitting. It owns no timing, Paint, motion, media decoding,
diff --git a/packages/spatial/package.json b/packages/spatial/package.json
index 6f847773..134147e2 100644
--- a/packages/spatial/package.json
+++ b/packages/spatial/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/spatial",
+ "name": "@hypit/spatial",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,17 +7,17 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/validation": "workspace:*"
}
}
diff --git a/packages/spatial/src/activation.ts b/packages/spatial/src/activation.ts
index 0cda214b..1b89405a 100644
--- a/packages/spatial/src/activation.ts
+++ b/packages/spatial/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeAnchoredFrameSurface,
@@ -16,8 +16,8 @@ import {
} from "./manifest.js";
import { spatialComponent } from "./component.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: spatialManifest }],
components: [spatialComponent],
hostFacets: [
@@ -37,4 +37,4 @@ export const narratagePackage = {
declaration: spatialMarkupSurfaces.find((item) => item.name === "aspect-frame")!, handler: decodeAspectFrameSurface }),
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/spatial/src/author.ts b/packages/spatial/src/author.ts
index 41a88269..5766c0c1 100644
--- a/packages/spatial/src/author.ts
+++ b/packages/spatial/src/author.ts
@@ -1,4 +1,4 @@
-import type { CanonicalValue } from "@narratage/protocol";
+import type { CanonicalValue } from "@hypit/protocol";
import { sealContentFit } from "./geometry.js";
import type { ContentFit } from "./types.js";
diff --git a/packages/spatial/src/component.ts b/packages/spatial/src/component.ts
index b86f0fdf..d5e11847 100644
--- a/packages/spatial/src/component.ts
+++ b/packages/spatial/src/component.ts
@@ -1,6 +1,6 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import { canonicalize } from "@narratage/protocol";
-import type { StoredValue } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import { canonicalize } from "@hypit/protocol";
+import type { StoredValue } from "@hypit/protocol";
import { anchoredFrame, aspectFrame, assertCanvasSpace, assertContentFit, assertFittedContent, assertIntrinsicExtent, assertSpatialFrame, assertSpatialPath, assertSpatialPoint, canvasFrame, fitContent, frameFromEdges } from "./geometry.js";
import { spatialProducers, spatialTypes } from "./manifest.js";
diff --git a/packages/spatial/src/fragment.ts b/packages/spatial/src/fragment.ts
index d660c5ea..7ce84dd3 100644
--- a/packages/spatial/src/fragment.ts
+++ b/packages/spatial/src/fragment.ts
@@ -1,4 +1,4 @@
-import { sealGraphFragment } from "@narratage/elaborator";
+import { sealGraphFragment } from "@hypit/elaborator";
import { spatialProducers, spatialTypes } from "./manifest.js";
diff --git a/packages/spatial/src/manifest.ts b/packages/spatial/src/manifest.ts
index b698a724..7b287b7a 100644
--- a/packages/spatial/src/manifest.ts
+++ b/packages/spatial/src/manifest.ts
@@ -1,4 +1,4 @@
-import type { ModuleManifest, ProducerRef, TypeRef } from "@narratage/protocol";
+import type { ModuleManifest, ProducerRef, TypeRef } from "@hypit/protocol";
import {
anchoredFrameProgramSchema,
aspectFrameProgramSchema,
@@ -12,7 +12,7 @@ import {
spatialPointSchema,
} from "./schema.js";
-export const spatialModuleRef = { name: "@narratage/spatial", version: "1" } as const;
+export const spatialModuleRef = { name: "@hypit/spatial", version: "1" } as const;
export const spatialTypes = {
canvas: { module: spatialModuleRef, name: "CanvasSpace" },
point: { module: spatialModuleRef, name: "SpatialPoint" },
@@ -45,7 +45,7 @@ export const spatialMarkupSurfaces = [
export const spatialManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: spatialModuleRef.name,
version: spatialModuleRef.version,
dependencies: [],
diff --git a/packages/spatial/src/schema.ts b/packages/spatial/src/schema.ts
index 44d05740..8f2c05ae 100644
--- a/packages/spatial/src/schema.ts
+++ b/packages/spatial/src/schema.ts
@@ -1,4 +1,4 @@
-import type { ValueSchema } from "@narratage/protocol";
+import type { ValueSchema } from "@hypit/protocol";
const number = { kind: "number" } as const;
const positiveInteger = { kind: "number", integer: true, minimum: 1 } as const;
diff --git a/packages/spatial/src/surface.ts b/packages/spatial/src/surface.ts
index 56f90c6d..b87af889 100644
--- a/packages/spatial/src/surface.ts
+++ b/packages/spatial/src/surface.ts
@@ -1,12 +1,12 @@
-import type { AuthorValueRef, GraphFragment } from "@narratage/elaborator";
-import type { CanonicalValue } from "@narratage/protocol";
+import type { AuthorValueRef, GraphFragment } from "@hypit/elaborator";
+import type { CanonicalValue } from "@hypit/protocol";
import type {
SurfaceComponentDraft,
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import {
anchoredFrameFragment,
diff --git a/packages/spatial/test/spatial.test.ts b/packages/spatial/test/spatial.test.ts
index d0feda94..ee3661f3 100644
--- a/packages/spatial/test/spatial.test.ts
+++ b/packages/spatial/test/spatial.test.ts
@@ -1,15 +1,15 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
-import { createResolvedClosure, sealBuildRequest, start } from "@narratage/core";
-import { AuthorFrontendRegistry, compileSourceClosure, resolveCompiledSourceExport } from "@narratage/elaborator";
-import type { AuthorSourceUnit } from "@narratage/elaborator";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
+import { createResolvedClosure, sealBuildRequest, start } from "@hypit/core";
+import { AuthorFrontendRegistry, compileSourceClosure, resolveCompiledSourceExport } from "@hypit/elaborator";
+import type { AuthorSourceUnit } from "@hypit/elaborator";
import {
MarkupSurfaceRegistry,
createMarkupAuthorFrontend,
-} from "@narratage/markup";
-import { createRecordAdmitter, TypeValidatorRegistry } from "@narratage/validation";
+} from "@hypit/markup";
+import { createRecordAdmitter, TypeValidatorRegistry } from "@hypit/validation";
import {
anchoredFrame,
@@ -190,7 +190,7 @@ test("SpatialPath is typed geometry and rejects an empty or stateful command str
});
function source(text: string): AuthorSourceUnit {
- return { id: "/project/main.svml", name: "main.svml", text: `<?svml using="@narratage/markup@1"?>\n${text}` };
+ return { id: "/project/main.svml", name: "main.svml", text: `<?svml using="@hypit/markup@1"?>\n${text}` };
}
test("self-described Spatial Surfaces produce an explicit Canvas edge and finite Frame graph", async () => {
@@ -213,7 +213,7 @@ test("self-described Spatial Surfaces produce an explicit Canvas edge and finite
registerTypeValidatorFacets(validators, spatialComponent.validators ?? []);
const compiled = await compileSourceClosure({
entry: source(`<svml>
- <import as="space" from="@narratage/spatial@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
<space:Canvas id="vertical" width="1080" height="1920"/>
<space:Point id="headline-origin" x="120" y="280"/>
<space:Path id="headline-path">
diff --git a/packages/speech-alignment/README.md b/packages/speech-alignment/README.md
index b95d70f6..847984ba 100644
--- a/packages/speech-alignment/README.md
+++ b/packages/speech-alignment/README.md
@@ -1,4 +1,4 @@
-# `@narratage/speech-alignment`
+# `@hypit/speech-alignment`
Provider-neutral deterministic timing locator for one aligned transcript. The package does not
invoke Python, read audio, call a speech provider, use an LLM, infer speakers or retain multiple
@@ -28,6 +28,6 @@ port. The package depends only on public video
contracts and protocol utilities; it has no Core, Driver, Provider, Artifact, queue or credential
authority.
-Caption display is outside this package. `@narratage/caption` composes the resulting complete speech
+Caption display is outside this package. `@hypit/caption` composes the resulting complete speech
map with Script's explicit whole-Atom `CaptionCorrespondence`; it never asks this locator to infer
display text or display-Word timing.
diff --git a/packages/speech-alignment/package.json b/packages/speech-alignment/package.json
index dbb40de4..03885ec3 100644
--- a/packages/speech-alignment/package.json
+++ b/packages/speech-alignment/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/speech-alignment",
+ "name": "@hypit/speech-alignment",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,19 +7,19 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/speech-evidence": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/speech-evidence": "workspace:*"
},
"devDependencies": {
- "@narratage/script": "workspace:*"
+ "@hypit/script": "workspace:*"
}
}
diff --git a/packages/speech-alignment/src/activation.ts b/packages/speech-alignment/src/activation.ts
index 11cae6d1..20009b05 100644
--- a/packages/speech-alignment/src/activation.ts
+++ b/packages/speech-alignment/src/activation.ts
@@ -1,8 +1,8 @@
import { speechAlignmentComponent, speechAlignmentManifest } from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: speechAlignmentManifest }],
components: [speechAlignmentComponent],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/speech-alignment/src/align.ts b/packages/speech-alignment/src/align.ts
index 9e7d462c..c8a1319d 100644
--- a/packages/speech-alignment/src/align.ts
+++ b/packages/speech-alignment/src/align.ts
@@ -1,5 +1,5 @@
-import type { NarrativeToken } from "@narratage/narrative";
-import type { SpeechWordEvidence } from "@narratage/speech-evidence";
+import type { NarrativeToken } from "@hypit/narrative";
+import type { SpeechWordEvidence } from "@hypit/speech-evidence";
import { editDistance, normalizeForAlignment } from "./normalize.js";
import type { AlignmentGroup, AlignmentRelation } from "./types.js";
diff --git a/packages/speech-alignment/src/component.ts b/packages/speech-alignment/src/component.ts
index 447b1ca1..54456609 100644
--- a/packages/speech-alignment/src/component.ts
+++ b/packages/speech-alignment/src/component.ts
@@ -1,9 +1,9 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { Narrative } from "@narratage/narrative";
-import type { SpeechAudioBasis } from "@narratage/speech";
-import type { AlignedTranscriptEvidence } from "@narratage/speech-evidence";
-import type { StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { Narrative } from "@hypit/narrative";
+import type { SpeechAudioBasis } from "@hypit/speech";
+import type { AlignedTranscriptEvidence } from "@hypit/speech-evidence";
+import type { StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
import {
locateSpeechTiming,
diff --git a/packages/speech-alignment/src/locate.ts b/packages/speech-alignment/src/locate.ts
index f83f7d82..77f209ef 100644
--- a/packages/speech-alignment/src/locate.ts
+++ b/packages/speech-alignment/src/locate.ts
@@ -1,15 +1,15 @@
-import { isDigest } from "@narratage/protocol";
-import type { Narrative, NarrativeToken } from "@narratage/narrative";
-import { programFrameSampleBoundary, programSpaceFrameCount } from "@narratage/program-space";
-import type { SpeechAudioBasis } from "@narratage/speech";
+import { isDigest } from "@hypit/protocol";
+import type { Narrative, NarrativeToken } from "@hypit/narrative";
+import { programFrameSampleBoundary, programSpaceFrameCount } from "@hypit/program-space";
+import type { SpeechAudioBasis } from "@hypit/speech";
import type {
AlignedTranscriptEvidence,
SpeechActivitySpan,
SpeechCharacterEvidence,
SpeechTranscriptPassage,
SpeechWordEvidence,
-} from "@narratage/speech-evidence";
-import type { CompleteSemanticMap, SemanticTimePoint, TimedSpeechToken } from "@narratage/semantic-map";
+} from "@hypit/speech-evidence";
+import type { CompleteSemanticMap, SemanticTimePoint, TimedSpeechToken } from "@hypit/semantic-map";
import { alignWordGroups } from "./align.js";
import { SpeechAlignmentError } from "./error.js";
diff --git a/packages/speech-alignment/src/manifest.ts b/packages/speech-alignment/src/manifest.ts
index cf9323f7..48005f6d 100644
--- a/packages/speech-alignment/src/manifest.ts
+++ b/packages/speech-alignment/src/manifest.ts
@@ -1,16 +1,16 @@
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import { speechDependency, speechTypes } from "@narratage/speech";
-import { speechEvidenceDependency, speechEvidenceTypes } from "@narratage/speech-evidence";
-import { semanticMapDependency, semanticMapTypes } from "@narratage/semantic-map";
-import type { ModuleManifest, ProducerRef } from "@narratage/protocol";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import { speechDependency, speechTypes } from "@hypit/speech";
+import { speechEvidenceDependency, speechEvidenceTypes } from "@hypit/speech-evidence";
+import { semanticMapDependency, semanticMapTypes } from "@hypit/semantic-map";
+import type { ModuleManifest, ProducerRef } from "@hypit/protocol";
-export const speechAlignmentModuleRef = { name: "@narratage/speech-alignment", version: "1" } as const;
+export const speechAlignmentModuleRef = { name: "@hypit/speech-alignment", version: "1" } as const;
export const speechAlignmentProducers = {
locate: { module: speechAlignmentModuleRef, name: "locate-speech" },
} satisfies Record<string, ProducerRef>;
export const speechAlignmentManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: speechAlignmentModuleRef.name,
version: speechAlignmentModuleRef.version,
dependencies: [
diff --git a/packages/speech-alignment/src/types.ts b/packages/speech-alignment/src/types.ts
index 5a188ee3..9139cdf3 100644
--- a/packages/speech-alignment/src/types.ts
+++ b/packages/speech-alignment/src/types.ts
@@ -4,13 +4,13 @@ export type {
SpeechCharacterEvidence,
SpeechTranscriptPassage,
SpeechWordEvidence,
-} from "@narratage/speech-evidence";
+} from "@hypit/speech-evidence";
export type {
CompleteSemanticMap,
SemanticTimePoint,
TimedSpeechToken,
-} from "@narratage/semantic-map";
-export type { SpeechAudioBasis } from "@narratage/speech";
+} from "@hypit/semantic-map";
+export type { SpeechAudioBasis } from "@hypit/speech";
/** Private vocabulary of the alignment implementation, not part of SemanticMap. */
export type AlignmentRelation =
diff --git a/packages/speech-alignment/test/speech-align.test.ts b/packages/speech-alignment/test/speech-align.test.ts
index af293736..9ee857b0 100644
--- a/packages/speech-alignment/test/speech-align.test.ts
+++ b/packages/speech-alignment/test/speech-align.test.ts
@@ -1,20 +1,20 @@
-import type { Narrative } from "@narratage/narrative";
-import { sealProgramSpace } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { sealSpeechBasis } from "@narratage/speech";
-import type { SpeechAudioBasis, SpeechBasis } from "@narratage/speech";
-import { sealAlignedTranscriptEvidence } from "@narratage/speech-evidence";
-import type { AlignedTranscriptEvidence, SpeechCharacterEvidence, SpeechWordEvidence } from "@narratage/speech-evidence";
+import type { Narrative } from "@hypit/narrative";
+import { sealProgramSpace } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { sealSpeechBasis } from "@hypit/speech";
+import type { SpeechAudioBasis, SpeechBasis } from "@hypit/speech";
+import { sealAlignedTranscriptEvidence } from "@hypit/speech-evidence";
+import type { AlignedTranscriptEvidence, SpeechCharacterEvidence, SpeechWordEvidence } from "@hypit/speech-evidence";
import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { parseScript } from "@narratage/script";
+import { parseScript } from "@hypit/script";
import {
SpeechAlignmentError,
alignWordGroups,
locateSpeechTiming,
-} from "@narratage/speech-alignment";
+} from "@hypit/speech-alignment";
type WordFixture = {
readonly text: string;
diff --git a/packages/speech-basis/README.md b/packages/speech-basis/README.md
index 3467c83f..2af470e7 100644
--- a/packages/speech-basis/README.md
+++ b/packages/speech-basis/README.md
@@ -1,4 +1,4 @@
-# `@narratage/speech-basis`
+# `@hypit/speech-basis`
Reference Product/Projection package for an atomic speech take.
@@ -18,6 +18,6 @@ imports without a Driver or Runtime source change. The component has no Provider
Artifact access, queue or credentials.
The package intentionally publishes no Type validators: it does not own any of its input or output
-Types. `@narratage/speech`, `@narratage/program-space` and `@narratage/composition` remain the
+Types. `@hypit/speech`, `@hypit/program-space` and `@hypit/composition` remain the
semantic owners of `SpeechBasis`, `ProgramSpace` and the generic Track Types, and supply any owner
validators required by those contracts.
diff --git a/packages/speech-basis/package.json b/packages/speech-basis/package.json
index 9a9b2eb7..43033a05 100644
--- a/packages/speech-basis/package.json
+++ b/packages/speech-basis/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/speech-basis",
+ "name": "@hypit/speech-basis",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,22 +7,22 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media-track": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/speech": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media-track": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/speech": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/driver-node": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/validation": "workspace:*"
}
}
diff --git a/packages/speech-basis/src/activation.ts b/packages/speech-basis/src/activation.ts
index b4ef8024..0e1bcd4d 100644
--- a/packages/speech-basis/src/activation.ts
+++ b/packages/speech-basis/src/activation.ts
@@ -1,8 +1,8 @@
import { speechBasisComponent, speechBasisManifest } from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: speechBasisManifest }],
components: [speechBasisComponent],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/speech-basis/src/component.ts b/packages/speech-basis/src/component.ts
index b0842a99..5f5b0cdd 100644
--- a/packages/speech-basis/src/component.ts
+++ b/packages/speech-basis/src/component.ts
@@ -1,7 +1,7 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { SpeechBasis } from "@narratage/speech";
-import type { StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { SpeechBasis } from "@hypit/speech";
+import type { StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
import {
speechBasisProducers,
diff --git a/packages/speech-basis/src/fragment.ts b/packages/speech-basis/src/fragment.ts
index 1d78c21b..9e35cb33 100644
--- a/packages/speech-basis/src/fragment.ts
+++ b/packages/speech-basis/src/fragment.ts
@@ -1,8 +1,8 @@
-import { programSpaceTypes } from "@narratage/program-space";
-import { speechTypes } from "@narratage/speech";
-import type { SpeechBasis } from "@narratage/speech";
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
+import { programSpaceTypes } from "@hypit/program-space";
+import { speechTypes } from "@hypit/speech";
+import type { SpeechBasis } from "@hypit/speech";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
import { speechBasisProducers } from "./manifest.js";
diff --git a/packages/speech-basis/src/manifest.ts b/packages/speech-basis/src/manifest.ts
index 2e670da0..bfb89afd 100644
--- a/packages/speech-basis/src/manifest.ts
+++ b/packages/speech-basis/src/manifest.ts
@@ -1,9 +1,9 @@
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import { speechDependency, speechTypes } from "@narratage/speech";
-import { compositionDependency, compositionTypes } from "@narratage/composition";
-import type { ModuleManifest, ProducerRef } from "@narratage/protocol";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import { speechDependency, speechTypes } from "@hypit/speech";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
+import type { ModuleManifest, ProducerRef } from "@hypit/protocol";
-export const speechBasisModuleRef = { name: "@narratage/speech-basis", version: "1" } as const;
+export const speechBasisModuleRef = { name: "@hypit/speech-basis", version: "1" } as const;
export const speechBasisProducers = {
projectAudio: { module: speechBasisModuleRef, name: "project-audio" },
@@ -13,7 +13,7 @@ export const speechBasisProducers = {
} satisfies Record<string, ProducerRef>;
export const speechBasisManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: speechBasisModuleRef.name,
version: speechBasisModuleRef.version,
dependencies: [
diff --git a/packages/speech-basis/src/projection.ts b/packages/speech-basis/src/projection.ts
index 3a7d7d6f..e7dcc15d 100644
--- a/packages/speech-basis/src/projection.ts
+++ b/packages/speech-basis/src/projection.ts
@@ -1,10 +1,10 @@
-import { programSpaceSampleFrames } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { assertSpeechBasisIdentity } from "@narratage/speech";
-import type { SpeechAudioBasis, SpeechBasis } from "@narratage/speech";
-import { lowerRestrictedSpeechVisualPresents } from "@narratage/media-track";
-import { sealAudioTrack, sealVisualTrack } from "@narratage/composition";
-import type { AudioTrack, VisualTrack } from "@narratage/composition";
+import { programSpaceSampleFrames } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { assertSpeechBasisIdentity } from "@hypit/speech";
+import type { SpeechAudioBasis, SpeechBasis } from "@hypit/speech";
+import { lowerRestrictedSpeechVisualPresents } from "@hypit/media-track";
+import { sealAudioTrack, sealVisualTrack } from "@hypit/composition";
+import type { AudioTrack, VisualTrack } from "@hypit/composition";
export function projectSpeechProgramSpace(basis: SpeechBasis): ProgramSpace {
assertSpeechBasisIdentity(basis);
@@ -28,7 +28,7 @@ export function projectSpeechVisual(basis: SpeechBasis): VisualTrack {
endFrameExclusive: segment.endFrameExclusive,
}]));
return sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: trackId,
presents: lowerRestrictedSpeechVisualPresents(
trackId,
diff --git a/packages/speech-basis/test/product.test.ts b/packages/speech-basis/test/product.test.ts
index 21982e86..e968134e 100644
--- a/packages/speech-basis/test/product.test.ts
+++ b/packages/speech-basis/test/product.test.ts
@@ -2,12 +2,12 @@ import { compositionComponent, spatialComponent, videoContractManifests } from "
import {
registerProducerFacets,
registerTypeValidatorFacets,
-} from "@narratage/component-kit";
-import { sealProgramSpace } from "@narratage/program-space";
-import { sealSpeechBasis, speechDependency, speechTypes } from "@narratage/speech";
-import type { SpeechBasis } from "@narratage/speech";
-import { compositionTypes } from "@narratage/composition";
-import { mediaPipelineManifest } from "@narratage/media-pipeline";
+} from "@hypit/component-kit";
+import { sealProgramSpace } from "@hypit/program-space";
+import { sealSpeechBasis, speechDependency, speechTypes } from "@hypit/speech";
+import type { SpeechBasis } from "@hypit/speech";
+import { compositionTypes } from "@hypit/composition";
+import { mediaPipelineManifest } from "@hypit/media-pipeline";
import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
@@ -19,8 +19,8 @@ import {
sealCompiledGraph,
sealRecord,
start,
-} from "@narratage/core";
-import { ProducerRegistry, NodeDriver } from "@narratage/driver-node";
+} from "@hypit/core";
+import { ProducerRegistry, NodeDriver } from "@hypit/driver-node";
import type {
BuildRequest,
CompiledGraph,
@@ -28,7 +28,7 @@ import type {
ModuleManifest,
ProducerRef,
TypeRef,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
projectSpeechAudio,
projectSpeechAudioTrack,
@@ -37,16 +37,16 @@ import {
speechBasisComponent,
speechBasisManifest,
speechBasisProducers,
-} from "@narratage/speech-basis";
-import { TypeValidatorRegistry } from "@narratage/validation";
-import { mediaTrackManifest } from "@narratage/media-track";
+} from "@hypit/speech-basis";
+import { TypeValidatorRegistry } from "@hypit/validation";
+import { mediaTrackManifest } from "@hypit/media-track";
const testModule = { name: "example.speech-basis-product", version: "0.0.0" } as const;
const requestType = { module: testModule, name: "SpeechRequest" } satisfies TypeRef;
const generateProducer = { module: testModule, name: "generate-speech-basis" } satisfies ProducerRef;
const testManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: testModule.name,
version: testModule.version,
dependencies: [speechDependency],
diff --git a/packages/speech-evidence/README.md b/packages/speech-evidence/README.md
index 7819e158..f6a8600f 100644
--- a/packages/speech-evidence/README.md
+++ b/packages/speech-evidence/README.md
@@ -1,3 +1,3 @@
-# `@narratage/speech-evidence`
+# `@hypit/speech-evidence`
Provider-neutral acoustic and word-alignment observations. Evidence is not the authored semantic truth.
diff --git a/packages/speech-evidence/package.json b/packages/speech-evidence/package.json
index 8e7f965d..62f80447 100644
--- a/packages/speech-evidence/package.json
+++ b/packages/speech-evidence/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/speech-evidence",
+ "name": "@hypit/speech-evidence",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,10 +7,10 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/speech-evidence/src/activation.ts b/packages/speech-evidence/src/activation.ts
index a8afe29a..2a0a306e 100644
--- a/packages/speech-evidence/src/activation.ts
+++ b/packages/speech-evidence/src/activation.ts
@@ -1,3 +1,3 @@
import { speechEvidenceManifest } from "./index.js";
-export const narratagePackage = { format: "narratage.node-package@1" as const, modules: [{ manifest: speechEvidenceManifest }] };
-export default narratagePackage;
+export const hypitPackage = { format: "hypit.node-package@1" as const, modules: [{ manifest: speechEvidenceManifest }] };
+export default hypitPackage;
diff --git a/packages/speech-evidence/src/index.ts b/packages/speech-evidence/src/index.ts
index 53bed75f..929ff23a 100644
--- a/packages/speech-evidence/src/index.ts
+++ b/packages/speech-evidence/src/index.ts
@@ -1,4 +1,4 @@
-import type { ModuleManifest, TypeRef, ValueSchema } from "@narratage/protocol";
+import type { ModuleManifest, TypeRef, ValueSchema } from "@hypit/protocol";
/** Exact boundaries in the fixed 16 kHz Speech Evidence Audio sample domain. */
export type SpeechWordEvidence = {
@@ -80,12 +80,12 @@ export const alignedTranscriptEvidenceFields = {
} as const satisfies Readonly<Record<string, { readonly schema: ValueSchema; readonly optional?: boolean }>>;
export const alignedTranscriptEvidenceSchema: ValueSchema = object(alignedTranscriptEvidenceFields);
-export const speechEvidenceModuleRef = { name: "@narratage/speech-evidence", version: "1" } as const;
+export const speechEvidenceModuleRef = { name: "@hypit/speech-evidence", version: "1" } as const;
export const speechEvidenceTypes = {
alignedTranscript: { module: speechEvidenceModuleRef, name: "AlignedTranscriptEvidence" },
} satisfies Record<string, TypeRef>;
export const speechEvidenceManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: speechEvidenceModuleRef.name,
version: speechEvidenceModuleRef.version,
dependencies: [],
diff --git a/packages/speech-spine/README.md b/packages/speech-spine/README.md
index a63adf41..605962c0 100644
--- a/packages/speech-spine/README.md
+++ b/packages/speech-spine/README.md
@@ -1,4 +1,4 @@
-# @narratage/speech-spine
+# @hypit/speech-spine
Trusted, static Graph Fragments for the first official speech-video Program.
diff --git a/packages/speech-spine/package.json b/packages/speech-spine/package.json
index 4ca48606..a41e7e58 100644
--- a/packages/speech-spine/package.json
+++ b/packages/speech-spine/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/speech-spine",
+ "name": "@hypit/speech-spine",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,30 +7,30 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/artifact": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/speech-basis": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/artifact": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/speech-basis": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/media-track": "workspace:*",
- "@narratage/script": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/media-track": "workspace:*",
+ "@hypit/script": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/validation": "workspace:*"
}
}
diff --git a/packages/speech-spine/src/activation.ts b/packages/speech-spine/src/activation.ts
index eb6eb48d..ca207e1d 100644
--- a/packages/speech-spine/src/activation.ts
+++ b/packages/speech-spine/src/activation.ts
@@ -1,12 +1,12 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeSpeechSpineSurface, speechSpineComponent, speechSpineManifest,
speechSpineModuleRef,
speechSpineMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{
manifest: speechSpineManifest,
}],
@@ -16,4 +16,4 @@ export const narratagePackage = {
declaration: speechSpineMarkupSurfaces.find((item) => item.name === "spine")!, handler: decodeSpeechSpineSurface,
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/speech-spine/src/component.ts b/packages/speech-spine/src/component.ts
index b59003ac..675d2e74 100644
--- a/packages/speech-spine/src/component.ts
+++ b/packages/speech-spine/src/component.ts
@@ -1,9 +1,9 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { NarrativeExcerpt } from "@narratage/narrative";
-import type { SynchronizedMedia, TimelineAudio } from "@narratage/media";
-import type { StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
-import type { ContentFit, SpatialFrame } from "@narratage/spatial";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { NarrativeExcerpt } from "@hypit/narrative";
+import type { SynchronizedMedia, TimelineAudio } from "@hypit/media";
+import type { StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
+import type { ContentFit, SpatialFrame } from "@hypit/spatial";
import { speechSpineProducers } from "./manifest.js";
import { appendSpeechSpineAudioTake, appendSpeechSpineVisualTake, assembleSpeechBasis, compileSpeechSpineAudio, createSpeechSpineSet } from "./program.js";
diff --git a/packages/speech-spine/src/fragment.ts b/packages/speech-spine/src/fragment.ts
index 769a3831..4b8cf0bd 100644
--- a/packages/speech-spine/src/fragment.ts
+++ b/packages/speech-spine/src/fragment.ts
@@ -1,14 +1,14 @@
-import { narrativeTypes } from "@narratage/narrative";
-import { mediaTypes } from "@narratage/media";
-import { programSpaceTypes } from "@narratage/program-space";
-import { speechTypes } from "@narratage/speech";
-import { compositionTypes } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { FragmentOperation } from "@narratage/elaborator";
-import { mediaPipelineProducers } from "@narratage/media-pipeline";
-import { speechBasisProducers } from "@narratage/speech-basis";
-import { spatialTypes } from "@narratage/spatial";
-import type { TypeRef } from "@narratage/protocol";
+import { narrativeTypes } from "@hypit/narrative";
+import { mediaTypes } from "@hypit/media";
+import { programSpaceTypes } from "@hypit/program-space";
+import { speechTypes } from "@hypit/speech";
+import { compositionTypes } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { FragmentOperation } from "@hypit/elaborator";
+import { mediaPipelineProducers } from "@hypit/media-pipeline";
+import { speechBasisProducers } from "@hypit/speech-basis";
+import { spatialTypes } from "@hypit/spatial";
+import type { TypeRef } from "@hypit/protocol";
import { speechSpineProducers, speechSpineTypes } from "./manifest.js";
import type { SpeechSpineFragmentOptions } from "./types.js";
diff --git a/packages/speech-spine/src/manifest.ts b/packages/speech-spine/src/manifest.ts
index 7d9d1608..cdff6381 100644
--- a/packages/speech-spine/src/manifest.ts
+++ b/packages/speech-spine/src/manifest.ts
@@ -1,25 +1,25 @@
-import { artifactDependency } from "@narratage/artifact";
-import { narrativeDependency, narrativeExcerptSchema, narrativeTypes } from "@narratage/narrative";
-import { mediaDependency, mediaTypes, synchronizedMediaSchema } from "@narratage/media";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import { speechDependency, speechTypes } from "@narratage/speech";
-import { compositionDependency, compositionTypes } from "@narratage/composition";
+import { artifactDependency } from "@hypit/artifact";
+import { narrativeDependency, narrativeExcerptSchema, narrativeTypes } from "@hypit/narrative";
+import { mediaDependency, mediaTypes, synchronizedMediaSchema } from "@hypit/media";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import { speechDependency, speechTypes } from "@hypit/speech";
+import { compositionDependency, compositionTypes } from "@hypit/composition";
import {
mediaPipelineManifest,
mediaPipelineModuleRef,
mediaPipelineTypes,
-} from "@narratage/media-pipeline";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
-import { speechBasisManifest, speechBasisModuleRef } from "@narratage/speech-basis";
+} from "@hypit/media-pipeline";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
+import { speechBasisManifest, speechBasisModuleRef } from "@hypit/speech-basis";
import {
contentFitSchema,
spatialDependency,
spatialFrameSchema,
spatialTypes,
-} from "@narratage/spatial";
-import { svsManifest, svsModuleRef } from "@narratage/svs";
+} from "@hypit/spatial";
+import { svsManifest, svsModuleRef } from "@hypit/svs";
-export const speechSpineModuleRef = { name: "@narratage/speech-spine", version: "1" } as const;
+export const speechSpineModuleRef = { name: "@hypit/speech-spine", version: "1" } as const;
export const speechSpineTypes = {
spineProgram: { module: speechSpineModuleRef, name: "SpeechSpineProgram" },
spineSet: { module: speechSpineModuleRef, name: "SpeechSpineSet" },
@@ -77,7 +77,7 @@ export const speechSpineMarkupSurfaces = [{
export const speechSpineManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: speechSpineModuleRef.name,
version: speechSpineModuleRef.version,
dependencies: [
diff --git a/packages/speech-spine/src/program.ts b/packages/speech-spine/src/program.ts
index f0bad3dd..df90b58d 100644
--- a/packages/speech-spine/src/program.ts
+++ b/packages/speech-spine/src/program.ts
@@ -1,18 +1,18 @@
-import type { NarrativeExcerpt } from "@narratage/narrative";
-import { synchronizedMediaSampleFrames, verifySynchronizedMedia, verifyTimelineAudio } from "@narratage/media";
-import type { SynchronizedMedia, TimelineAudio } from "@narratage/media";
-import { assertProgramSpaceIdentity, sealProgramSpace } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { sealSpeechBasis } from "@narratage/speech";
-import type { SpeechBasis } from "@narratage/speech";
+import type { NarrativeExcerpt } from "@hypit/narrative";
+import { synchronizedMediaSampleFrames, verifySynchronizedMedia, verifyTimelineAudio } from "@hypit/media";
+import type { SynchronizedMedia, TimelineAudio } from "@hypit/media";
+import { assertProgramSpaceIdentity, sealProgramSpace } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { sealSpeechBasis } from "@hypit/speech";
+import type { SpeechBasis } from "@hypit/speech";
import {
sealAudioProgramPlan,
verifyAudioProgramPlan,
-} from "@narratage/media-pipeline";
-import type { AudioProgramPlan } from "@narratage/media-pipeline";
-import { canonicalize } from "@narratage/protocol";
-import { assertContentFit, assertSpatialFrame } from "@narratage/spatial";
-import type { ContentFit, SpatialFrame } from "@narratage/spatial";
+} from "@hypit/media-pipeline";
+import type { AudioProgramPlan } from "@hypit/media-pipeline";
+import { canonicalize } from "@hypit/protocol";
+import { assertContentFit, assertSpatialFrame } from "@hypit/spatial";
+import type { ContentFit, SpatialFrame } from "@hypit/spatial";
import type {
SpeechSpineProgram,
diff --git a/packages/speech-spine/src/surface.ts b/packages/speech-spine/src/surface.ts
index 562539e8..b1e9ede3 100644
--- a/packages/speech-spine/src/surface.ts
+++ b/packages/speech-spine/src/surface.ts
@@ -1,19 +1,19 @@
-import { narrativeTypes } from "@narratage/narrative";
-import { artifactTypes } from "@narratage/artifact";
-import { mediaTypes } from "@narratage/media";
+import { narrativeTypes } from "@hypit/narrative";
+import { artifactTypes } from "@hypit/artifact";
+import { mediaTypes } from "@hypit/media";
import {
mediaPipelineTypes,
sealMediaSelectionRequest,
synchronizedMediaFragment,
-} from "@narratage/media-pipeline";
-import type { SvsRecipe } from "@narratage/svs";
-import { svsRecipeType } from "@narratage/svs";
+} from "@hypit/media-pipeline";
+import type { SvsRecipe } from "@hypit/svs";
+import { svsRecipeType } from "@hypit/svs";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { createSpeechSpineFragment } from "./fragment.js";
import { speechSpineTypes } from "./manifest.js";
@@ -22,7 +22,7 @@ import {
contentFitPropertyNames,
decodeContentFitProperties,
spatialTypes,
-} from "@narratage/spatial";
+} from "@hypit/spatial";
function localName(value: string): string {
return value.includes(":") ? value.slice(value.lastIndexOf(":") + 1) : value;
@@ -216,7 +216,7 @@ export const decodeSpeechSpineSurface: StructuredSurfaceHandler = ({ element, re
frameRate: rate,
});
const assembly = createSpeechSpineFragment({
- name: `@narratage/speech-spine/surface/${id}@1`,
+ name: `@hypit/speech-spine/surface/${id}@1`,
takes: declaredTakes.map(({ mediaName, segmentName, visual }) => ({
mediaName,
segmentName,
diff --git a/packages/speech-spine/src/types.ts b/packages/speech-spine/src/types.ts
index bff9bb5d..126f1b9f 100644
--- a/packages/speech-spine/src/types.ts
+++ b/packages/speech-spine/src/types.ts
@@ -1,6 +1,6 @@
-import type { NarrativeExcerpt } from "@narratage/narrative";
-import type { SynchronizedMedia } from "@narratage/media";
-import type { ContentFit, SpatialFrame } from "@narratage/spatial";
+import type { NarrativeExcerpt } from "@hypit/narrative";
+import type { SynchronizedMedia } from "@hypit/media";
+import type { ContentFit, SpatialFrame } from "@hypit/spatial";
/** Author-owned policy for one ordered Speech Spine. */
export type SpeechSpineProgram = {
diff --git a/packages/speech-spine/test/program.test.ts b/packages/speech-spine/test/program.test.ts
index 20bcc64c..85f2aec0 100644
--- a/packages/speech-spine/test/program.test.ts
+++ b/packages/speech-spine/test/program.test.ts
@@ -2,8 +2,8 @@ import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import type { SynchronizedMedia, TimelineAudio } from "@narratage/media";
-import type { NarrativeExcerpt } from "@narratage/narrative";
+import type { SynchronizedMedia, TimelineAudio } from "@hypit/media";
+import type { NarrativeExcerpt } from "@hypit/narrative";
import {
appendSpeechSpineAudioTake,
appendSpeechSpineVisualTake,
@@ -11,7 +11,7 @@ import {
createSpeechSpineSet,
sealSpeechSpineProgram,
sealSpeechSpineVisualSpec,
-} from "@narratage/speech-spine";
+} from "@hypit/speech-spine";
const frame = { xPx: 40, yPx: 80, widthPx: 640, heightPx: 900 };
const fit = {
diff --git a/packages/speech-spine/test/surface.test.ts b/packages/speech-spine/test/surface.test.ts
index 1092ec70..d393e353 100644
--- a/packages/speech-spine/test/surface.test.ts
+++ b/packages/speech-spine/test/surface.test.ts
@@ -1,55 +1,55 @@
-import { artifactDependency } from "@narratage/artifact";
+import { artifactDependency } from "@hypit/artifact";
import { videoContractManifests } from "../../../test/support/video-domain.js";
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
-import { mediaDependency } from "@narratage/media";
-import { compositionTypes } from "@narratage/composition";
-import { artifactTypes } from "@narratage/artifact";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
+import { mediaDependency } from "@hypit/media";
+import { compositionTypes } from "@hypit/composition";
+import { artifactTypes } from "@hypit/artifact";
import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import { createResolvedClosure, sealBuildRequest, start } from "@narratage/core";
+import { createResolvedClosure, sealBuildRequest, start } from "@hypit/core";
import {
AuthorFrontendRegistry,
compileSourceClosure,
resolveCompiledSourceExport,
-} from "@narratage/elaborator";
-import type { AuthorSourceUnit } from "@narratage/elaborator";
+} from "@hypit/elaborator";
+import type { AuthorSourceUnit } from "@hypit/elaborator";
import {
mediaPipelineComponent,
mediaPipelineManifest,
mediaPipelineProducers,
-} from "@narratage/media-pipeline";
-import type { ModuleManifest } from "@narratage/protocol";
+} from "@hypit/media-pipeline";
+import type { ModuleManifest } from "@hypit/protocol";
import {
decodeScriptSurface,
scriptManifest,
scriptMarkupSurfaces,
scriptModuleRef,
-} from "@narratage/script";
-import { speechBasisManifest, speechBasisProducers } from "@narratage/speech-basis";
-import { textComponent, textManifest } from "@narratage/text";
-import { mediaTrackManifest } from "@narratage/media-track";
-import { svsManifest, svsModuleRef, svsRecipeType } from "@narratage/svs";
+} from "@hypit/script";
+import { speechBasisManifest, speechBasisProducers } from "@hypit/speech-basis";
+import { textComponent, textManifest } from "@hypit/text";
+import { mediaTrackManifest } from "@hypit/media-track";
+import { svsManifest, svsModuleRef, svsRecipeType } from "@hypit/svs";
import {
decodeSpeechSpineSurface,
speechSpineManifest,
speechSpineMarkupSurfaces,
speechSpineModuleRef,
speechSpineProducers,
-} from "@narratage/speech-spine";
+} from "@hypit/speech-spine";
import {
decodeCanvasSurface,
decodeFrameSurface,
spatialComponent,
spatialMarkupSurfaces,
spatialModuleRef,
-} from "@narratage/spatial";
+} from "@hypit/spatial";
import {
MarkupSurfaceRegistry,
createMarkupAuthorFrontend,
-} from "@narratage/markup";
-import { createRecordAdmitter, TypeValidatorRegistry } from "@narratage/validation";
+} from "@hypit/markup";
+import { createRecordAdmitter, TypeValidatorRegistry } from "@hypit/validation";
const fixtureModule = { name: "example.speech-media", version: "1" } as const;
const fixtureSurfaceDigest = fixtureDigest("example.speech-media/surface@1");
@@ -57,7 +57,7 @@ const fixtureSurface = {
name: "media", tag: "Media", mode: "structured", outputs: [artifactTypes.blob, svsRecipeType],
} as const;
const fixtureManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: fixtureModule.name,
version: fixtureModule.version,
dependencies: [artifactDependency, mediaDependency, { module: svsModuleRef }],
@@ -68,7 +68,7 @@ function source(text: string): AuthorSourceUnit {
return {
id: "/project/main.svml",
name: "main.svml",
- text: `<?svml using="@narratage/markup@1"?>\n${text}`,
+ text: `<?svml using="@hypit/markup@1"?>\n${text}`,
};
}
@@ -111,9 +111,9 @@ test("Speech Spine lowers ordered Takes into media normalization, one audio plan
frontends.register(createMarkupAuthorFrontend({
registry: surfaces,
resolveModule(request) {
- if (request.from.startsWith("@narratage/script")) return scriptModuleRef;
- if (request.from.startsWith("@narratage/speech")) return speechSpineModuleRef;
- if (request.from.startsWith("@narratage/spatial")) return spatialModuleRef;
+ if (request.from.startsWith("@hypit/script")) return scriptModuleRef;
+ if (request.from.startsWith("@hypit/speech")) return speechSpineModuleRef;
+ if (request.from.startsWith("@hypit/spatial")) return spatialModuleRef;
return fixtureModule;
},
}));
@@ -123,10 +123,10 @@ test("Speech Spine lowers ordered Takes into media normalization, one audio plan
registerTypeValidatorFacets(validators, textComponent.validators ?? []);
const compiled = await compileSourceClosure({
entry: source(`<svml>
- <import from="@narratage/script@1"/>
+ <import from="@hypit/script@1"/>
<import as="fixture" from="example.speech-media@1"/>
- <import as="speech" from="@narratage/speech-spine@1"/>
- <import as="space" from="@narratage/spatial@1"/>
+ <import as="speech" from="@hypit/speech-spine@1"/>
+ <import as="space" from="@hypit/spatial@1"/>
<script id="story">
<opening><ALICE> Hello from Alice.</opening>
<answer><BOB> Hello from Bob.</answer>
diff --git a/packages/speech/README.md b/packages/speech/README.md
index 4e43eaaa..7d4058b4 100644
--- a/packages/speech/README.md
+++ b/packages/speech/README.md
@@ -1,4 +1,4 @@
-# `@narratage/speech`
+# `@hypit/speech`
Public contracts for speech duration, assembled bases and alignment audio projections. SpeechBasis
Segments use exact ProgramSpace frame boundaries. The separate SpeechEvidenceAudio contract carries
diff --git a/packages/speech/package.json b/packages/speech/package.json
index 19e2f588..bc2d3796 100644
--- a/packages/speech/package.json
+++ b/packages/speech/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/speech",
+ "name": "@hypit/speech",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,14 +7,14 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/media": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/spatial": "workspace:*"
+ "@hypit/media": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/spatial": "workspace:*"
}
}
diff --git a/packages/speech/src/activation.ts b/packages/speech/src/activation.ts
index 202e620c..a98b2e6b 100644
--- a/packages/speech/src/activation.ts
+++ b/packages/speech/src/activation.ts
@@ -1,3 +1,3 @@
import { speechManifest } from "./index.js";
-export const narratagePackage = { format: "narratage.node-package@1" as const, modules: [{ manifest: speechManifest }] };
-export default narratagePackage;
+export const hypitPackage = { format: "hypit.node-package@1" as const, modules: [{ manifest: speechManifest }] };
+export default hypitPackage;
diff --git a/packages/speech/src/identity.ts b/packages/speech/src/identity.ts
index c2351738..5c5c0954 100644
--- a/packages/speech/src/identity.ts
+++ b/packages/speech/src/identity.ts
@@ -1,6 +1,6 @@
-import { isDigest } from "@narratage/protocol";
-import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@narratage/program-space";
-import { assertContentFit, assertIntrinsicExtent, assertSpatialFrame } from "@narratage/spatial";
+import { isDigest } from "@hypit/protocol";
+import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@hypit/program-space";
+import { assertContentFit, assertIntrinsicExtent, assertSpatialFrame } from "@hypit/spatial";
import type { SpeechAudioBasis, SpeechBasis, SpeechDuration, SpeechEvidenceAudio } from "./types.js";
function assertAudioBlob(value: SpeechBasis["audio"], label: string): void {
if (value.kind !== "blob" || !isDigest(value.digest) || !Number.isSafeInteger(value.size)
diff --git a/packages/speech/src/manifest.ts b/packages/speech/src/manifest.ts
index 82e13bdc..4eb2323c 100644
--- a/packages/speech/src/manifest.ts
+++ b/packages/speech/src/manifest.ts
@@ -1,15 +1,15 @@
-import { mediaDependency } from "@narratage/media";
-import { narrativeDependency } from "@narratage/narrative";
-import { programSpaceDependency } from "@narratage/program-space";
-import type { ModuleManifest, TypeRef } from "@narratage/protocol";
-import { spatialDependency } from "@narratage/spatial";
+import { mediaDependency } from "@hypit/media";
+import { narrativeDependency } from "@hypit/narrative";
+import { programSpaceDependency } from "@hypit/program-space";
+import type { ModuleManifest, TypeRef } from "@hypit/protocol";
+import { spatialDependency } from "@hypit/spatial";
import { speechAudioBasisSchema, speechBasisSchema, speechDurationSchema, speechEvidenceAudioSchema } from "./schema.js";
-export const speechModuleRef = { name: "@narratage/speech", version: "1" } as const;
+export const speechModuleRef = { name: "@hypit/speech", version: "1" } as const;
export const speechTypes = {
duration: { module: speechModuleRef, name: "SpeechDuration" }, basis: { module: speechModuleRef, name: "SpeechBasis" },
audioBasis: { module: speechModuleRef, name: "SpeechAudioBasis" }, evidenceAudio: { module: speechModuleRef, name: "SpeechEvidenceAudio" },
} satisfies Record<string, TypeRef>;
-export const speechManifest: ModuleManifest = { format: "narratage.module@1", name: speechModuleRef.name, version: speechModuleRef.version,
+export const speechManifest: ModuleManifest = { format: "hypit.module@1", name: speechModuleRef.name, version: speechModuleRef.version,
dependencies: [narrativeDependency, mediaDependency, programSpaceDependency, spatialDependency],
types: [{ name: speechTypes.duration.name }, { name: speechTypes.basis.name },
{ name: speechTypes.audioBasis.name }, { name: speechTypes.evidenceAudio.name }],
diff --git a/packages/speech/src/schema.ts b/packages/speech/src/schema.ts
index 42671062..155a344d 100644
--- a/packages/speech/src/schema.ts
+++ b/packages/speech/src/schema.ts
@@ -1,6 +1,6 @@
-import { programSpaceSchema } from "@narratage/program-space";
-import type { ValueSchema } from "@narratage/protocol";
-import { contentFitSchema, intrinsicExtentSchema, spatialFrameSchema } from "@narratage/spatial";
+import { programSpaceSchema } from "@hypit/program-space";
+import type { ValueSchema } from "@hypit/protocol";
+import { contentFitSchema, intrinsicExtentSchema, spatialFrameSchema } from "@hypit/spatial";
const string = { kind: "string", minLength: 1 } as const;
const number = { kind: "number", minimum: 0 } as const;
const integer = { kind: "number", integer: true, minimum: 0 } as const;
diff --git a/packages/speech/src/types.ts b/packages/speech/src/types.ts
index 26eb9f3c..8c60516e 100644
--- a/packages/speech/src/types.ts
+++ b/packages/speech/src/types.ts
@@ -1,6 +1,6 @@
-import type { ProgramSpace } from "@narratage/program-space";
-import type { BlobRef } from "@narratage/protocol";
-import type { ContentFit, IntrinsicExtent, SpatialFrame } from "@narratage/spatial";
+import type { ProgramSpace } from "@hypit/program-space";
+import type { BlobRef } from "@hypit/protocol";
+import type { ContentFit, IntrinsicExtent, SpatialFrame } from "@hypit/spatial";
/** Positive seconds. The graph port's TypeRef already carries the SpeechDuration identity. */
export type SpeechDuration = number;
export type SpeechBasisSegment = {
diff --git a/packages/speech/test/evidence.test.ts b/packages/speech/test/evidence.test.ts
index 84cde157..0df20619 100644
--- a/packages/speech/test/evidence.test.ts
+++ b/packages/speech/test/evidence.test.ts
@@ -1,6 +1,6 @@
-import { programSpaceSampleFrames, sealProgramSpace } from "@narratage/program-space";
-import { assertSpeechEvidenceAudioIdentity, sealSpeechEvidenceAudio, speechEvidenceSampleBoundary } from "@narratage/speech";
-import type { SpeechEvidenceAudio } from "@narratage/speech";
+import { programSpaceSampleFrames, sealProgramSpace } from "@hypit/program-space";
+import { assertSpeechEvidenceAudioIdentity, sealSpeechEvidenceAudio, speechEvidenceSampleBoundary } from "@hypit/speech";
+import type { SpeechEvidenceAudio } from "@hypit/speech";
import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
diff --git a/packages/store-sqlite/README.md b/packages/store-sqlite/README.md
index a9ebd762..663f89ad 100644
--- a/packages/store-sqlite/README.md
+++ b/packages/store-sqlite/README.md
@@ -1,6 +1,6 @@
-# `@narratage/store-sqlite`
+# `@hypit/store-sqlite`
-Private durable state used by `@narratage/runtime-local`.
+Private durable state used by `@hypit/runtime-local`.
One SQLite file stores Build facts, external Operations, the Build queue, active capacity reservations
and a small output catalog. No ready-command queue is stored: Core derives ready work from the saved
diff --git a/packages/store-sqlite/package.json b/packages/store-sqlite/package.json
index 7b6cc77d..88a3377d 100644
--- a/packages/store-sqlite/package.json
+++ b/packages/store-sqlite/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/store-sqlite",
+ "name": "@hypit/store-sqlite",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -11,8 +11,8 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/runtime": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/runtime": "workspace:*"
}
}
diff --git a/packages/store-sqlite/src/store.ts b/packages/store-sqlite/src/store.ts
index ab4d57ff..3562887b 100644
--- a/packages/store-sqlite/src/store.ts
+++ b/packages/store-sqlite/src/store.ts
@@ -2,11 +2,11 @@ import { existsSync, mkdirSync } from "node:fs";
import { dirname, resolve } from "node:path";
import { DatabaseSync } from "node:sqlite";
-import { materializeBuild } from "@narratage/core";
+import { materializeBuild } from "@hypit/core";
import type {
BuildDefinition,
BuildFact,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import type {
BuildDispatchRequest,
BuildDispatchRelease,
@@ -26,7 +26,7 @@ import type {
OperationSnapshot,
OperationStore,
OperationUpdate,
-} from "@narratage/runtime";
+} from "@hypit/runtime";
export type SqliteRuntimeStateOptions = {
readonly busyTimeoutMs?: number;
@@ -133,7 +133,7 @@ class SqliteBuildStore implements BuildStore {
#facts(build: string): Row[] {
return this.#database.prepare(`
SELECT fact_json
- FROM narratage_build_facts
+ FROM hypit_build_facts
WHERE build_id = ?
ORDER BY sequence ASC
`).all(build) as Row[];
@@ -142,7 +142,7 @@ class SqliteBuildStore implements BuildStore {
async create(build: string, definition: BuildDefinition): Promise<BuildSnapshot> {
assert(build.trim().length > 0, "build id must not be empty");
const result = this.#database.prepare(`
- INSERT OR IGNORE INTO narratage_builds (build_id, definition_json)
+ INSERT OR IGNORE INTO hypit_builds (build_id, definition_json)
VALUES (?, ?)
`).run(build, JSON.stringify(definition));
if (result.changes !== 1) throw new Error(`build ${build} already exists`);
@@ -155,7 +155,7 @@ class SqliteBuildStore implements BuildStore {
async read(build: string): Promise<BuildSnapshot | undefined> {
const row = this.#database.prepare(`
SELECT build_id, definition_json
- FROM narratage_builds
+ FROM hypit_builds
WHERE build_id = ?
`).get(build) as Row | undefined;
return row === undefined ? undefined : parseBuildSnapshot(row, this.#facts(build));
@@ -163,7 +163,7 @@ class SqliteBuildStore implements BuildStore {
async append(build: string, fact: BuildFact): Promise<void> {
const result = this.#database.prepare(`
- INSERT INTO narratage_build_facts (
+ INSERT INTO hypit_build_facts (
build_id, command_id, fact_json
) VALUES (?, ?, ?)
`).run(build, fact.command, JSON.stringify(fact));
@@ -194,7 +194,7 @@ class SqliteBuildCatalog implements BuildCatalog {
assert(build.trim().length > 0, "Build Catalog build id must not be empty");
const now = Date.now();
this.#database.prepare(`
- INSERT INTO narratage_build_catalog (
+ INSERT INTO hypit_build_catalog (
build_id, created_at, descriptor_json
) VALUES (?, ?, ?)
`).run(build, now, JSON.stringify(descriptor));
@@ -204,7 +204,7 @@ class SqliteBuildCatalog implements BuildCatalog {
async read(build: string): Promise<BuildCatalogEntry | undefined> {
const row = this.#database.prepare(`
SELECT build_id, created_at, descriptor_json
- FROM narratage_build_catalog
+ FROM hypit_build_catalog
WHERE build_id = ?
`).get(build) as Row | undefined;
return row === undefined ? undefined : parseCatalogEntry(row);
@@ -213,7 +213,7 @@ class SqliteBuildCatalog implements BuildCatalog {
async list(): Promise<readonly BuildCatalogEntry[]> {
const rows = this.#database.prepare(`
SELECT build_id, created_at, descriptor_json
- FROM narratage_build_catalog
+ FROM hypit_build_catalog
ORDER BY created_at DESC, build_id ASC
`).all() as Row[];
return rows.map(parseCatalogEntry);
@@ -239,7 +239,7 @@ class SqliteOperationStore implements OperationStore {
? JSON.stringify(operation.completion)
: operation.status === "failed" ? JSON.stringify(operation.failure) : null;
const result = this.#database.prepare(`
- INSERT INTO narratage_operations (
+ INSERT INTO hypit_operations (
operation_id, build_id, command_id, endpoint_id, pool_id, lane_id, status,
payload_json
) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
@@ -253,7 +253,7 @@ class SqliteOperationStore implements OperationStore {
const row = this.#database.prepare(`
SELECT operation_id, build_id, command_id, endpoint_id, pool_id, lane_id,
status, payload_json
- FROM narratage_operations
+ FROM hypit_operations
WHERE operation_id = ?
`).get(id) as Row | undefined;
return row === undefined ? undefined : parseOperationSnapshot(row);
@@ -274,7 +274,7 @@ class SqliteOperationStore implements OperationStore {
const rows = this.#database.prepare(`
SELECT operation_id, build_id, command_id, endpoint_id, pool_id, lane_id,
status, payload_json
- FROM narratage_operations
+ FROM hypit_operations
${predicates.length === 0 ? "" : `WHERE ${predicates.join(" AND ")}`}
ORDER BY operation_id ASC
`).all(...values) as Row[];
@@ -296,7 +296,7 @@ class SqliteOperationStore implements OperationStore {
? JSON.stringify(update.completion)
: update.status === "failed" ? JSON.stringify(update.failure) : null;
const result = this.#database.prepare(`
- UPDATE narratage_operations
+ UPDATE hypit_operations
SET status = ?, payload_json = ?
WHERE operation_id = ?
`).run(update.status, payload, id);
@@ -359,7 +359,7 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
const now = options.now ?? Date.now();
nonNegativeInteger(now, "Dispatch creation time");
this.#database.prepare(`
- INSERT INTO narratage_dispatches (
+ INSERT INTO hypit_dispatches (
build_id, component_packages_json, created_at, available_at,
phase, reason, cancel_requested, terminal
) VALUES (?, ?, ?, ?, 'queued', NULL, 0, NULL)
@@ -373,13 +373,13 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
}
async read(build: string): Promise<BuildDispatchSnapshot | undefined> {
- const row = this.#database.prepare("SELECT * FROM narratage_dispatches WHERE build_id = ?").get(build) as Row | undefined;
+ const row = this.#database.prepare("SELECT * FROM hypit_dispatches WHERE build_id = ?").get(build) as Row | undefined;
return row === undefined ? undefined : parseDispatchSnapshot(row);
}
async list(query: DispatchQuery = {}): Promise<readonly BuildDispatchSnapshot[]> {
const rows = this.#database.prepare(`
- SELECT * FROM narratage_dispatches
+ SELECT * FROM hypit_dispatches
ORDER BY created_at ASC, build_id ASC
`).all() as Row[];
return rows.map(parseDispatchSnapshot)
@@ -390,7 +390,7 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
nonNegativeInteger(now, "Dispatch claim time");
return transaction(this.#database, () => {
const row = this.#database.prepare(`
- SELECT build_id FROM narratage_dispatches
+ SELECT build_id FROM hypit_dispatches
WHERE phase IN ('queued', 'waiting') AND available_at <= ?
ORDER BY available_at ASC, created_at ASC, build_id ASC
LIMIT 1
@@ -398,13 +398,13 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
if (row === undefined) return undefined;
assert(typeof row.build_id === "string", "SQLite ready Dispatch has no Build id");
const updated = this.#database.prepare(`
- UPDATE narratage_dispatches
+ UPDATE hypit_dispatches
SET phase = 'running'
WHERE build_id = ? AND phase IN ('queued', 'waiting') AND available_at <= ?
`).run(row.build_id, now);
if (updated.changes !== 1) return undefined;
return parseDispatchSnapshot(
- this.#database.prepare("SELECT * FROM narratage_dispatches WHERE build_id = ?").get(row.build_id) as Row,
+ this.#database.prepare("SELECT * FROM hypit_dispatches WHERE build_id = ?").get(row.build_id) as Row,
);
});
}
@@ -412,19 +412,19 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
async release(build: string, update: BuildDispatchRelease): Promise<BuildDispatchSnapshot> {
nonNegativeInteger(update.availableAt, "Dispatch release availableAt");
return transaction(this.#database, () => {
- const row = this.#database.prepare("SELECT * FROM narratage_dispatches WHERE build_id = ?").get(build) as Row | undefined;
+ const row = this.#database.prepare("SELECT * FROM hypit_dispatches WHERE build_id = ?").get(build) as Row | undefined;
if (row === undefined) throw new Error(`Dispatch ${build} does not exist`);
const current = parseDispatchSnapshot(row);
if (current.phase === "terminal") return current;
if (current.cancellation !== undefined) return current;
assert(current.phase === "running", `Dispatch ${build} is not running`);
this.#database.prepare(`
- UPDATE narratage_dispatches
+ UPDATE hypit_dispatches
SET phase = ?, available_at = ?, reason = ?
WHERE build_id = ?
`).run(update.phase, update.availableAt, update.reason ?? null, build);
return parseDispatchSnapshot(
- this.#database.prepare("SELECT * FROM narratage_dispatches WHERE build_id = ?").get(build) as Row,
+ this.#database.prepare("SELECT * FROM hypit_dispatches WHERE build_id = ?").get(build) as Row,
);
});
}
@@ -435,18 +435,18 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
reason?: string,
): Promise<BuildDispatchSnapshot> {
return transaction(this.#database, () => {
- const row = this.#database.prepare("SELECT * FROM narratage_dispatches WHERE build_id = ?").get(build) as Row | undefined;
+ const row = this.#database.prepare("SELECT * FROM hypit_dispatches WHERE build_id = ?").get(build) as Row | undefined;
if (row === undefined) throw new Error(`Dispatch ${build} does not exist`);
const current = parseDispatchSnapshot(row);
if (current.phase === "terminal") return current;
const effective = current.cancellation === undefined ? terminal : "cancelled";
this.#database.prepare(`
- UPDATE narratage_dispatches
+ UPDATE hypit_dispatches
SET phase = 'terminal', terminal = ?, reason = ?
WHERE build_id = ?
`).run(effective, reason ?? current.cancellation?.reason ?? null, build);
return parseDispatchSnapshot(
- this.#database.prepare("SELECT * FROM narratage_dispatches WHERE build_id = ?").get(build) as Row,
+ this.#database.prepare("SELECT * FROM hypit_dispatches WHERE build_id = ?").get(build) as Row,
);
});
}
@@ -454,21 +454,21 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
async requestCancellation(build: string, reason?: string): Promise<BuildDispatchSnapshot> {
const now = Date.now();
return transaction(this.#database, () => {
- const row = this.#database.prepare("SELECT * FROM narratage_dispatches WHERE build_id = ?").get(build) as Row | undefined;
+ const row = this.#database.prepare("SELECT * FROM hypit_dispatches WHERE build_id = ?").get(build) as Row | undefined;
if (row === undefined) throw new Error(`Dispatch ${build} does not exist`);
const current = parseDispatchSnapshot(row);
if (current.phase === "terminal") return current;
if (current.cancellation !== undefined) return current;
if (current.phase === "queued") {
this.#database.prepare(`
- UPDATE narratage_dispatches
+ UPDATE hypit_dispatches
SET phase = 'terminal', terminal = 'cancelled',
reason = ?, cancel_requested = 1
WHERE build_id = ?
`).run(reason ?? "cancelled before execution", build);
} else {
this.#database.prepare(`
- UPDATE narratage_dispatches
+ UPDATE hypit_dispatches
SET phase = CASE WHEN phase = 'running' THEN phase ELSE 'queued' END,
available_at = CASE WHEN phase = 'running' THEN available_at ELSE ? END,
reason = ?, cancel_requested = 1
@@ -476,7 +476,7 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
`).run(now, reason ?? "cancellation requested", build);
}
return parseDispatchSnapshot(
- this.#database.prepare("SELECT * FROM narratage_dispatches WHERE build_id = ?").get(build) as Row,
+ this.#database.prepare("SELECT * FROM hypit_dispatches WHERE build_id = ?").get(build) as Row,
);
});
}
@@ -494,7 +494,7 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
};
return transaction(this.#database, () => {
const existing = this.#database.prepare(
- "SELECT * FROM narratage_capacity WHERE build_id = ? AND command_id = ?",
+ "SELECT * FROM hypit_capacity WHERE build_id = ? AND command_id = ?",
).get(reservation.build, reservation.command) as Row | undefined;
if (existing !== undefined) {
return { status: "acquired", reservation: parseCapacityReservation(existing) };
@@ -502,7 +502,7 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
for (const resource of resources) {
const count = this.#database.prepare(`
SELECT COUNT(DISTINCT capacity.rowid) AS count
- FROM narratage_capacity AS capacity, json_each(capacity.resources_json) AS claim
+ FROM hypit_capacity AS capacity, json_each(capacity.resources_json) AS claim
WHERE json_extract(claim.value, '$.id') = ?
`).get(resource.id) as Row;
assert(typeof count.count === "number", `SQLite Capacity count for ${resource.id} is invalid`);
@@ -516,7 +516,7 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
}
}
this.#database.prepare(`
- INSERT INTO narratage_capacity (
+ INSERT INTO hypit_capacity (
build_id, command_id, resources_json, queue_json, created_at
) VALUES (?, ?, ?, ?, ?)
`).run(
@@ -532,17 +532,17 @@ class SqliteBuildDispatchStore implements BuildDispatchStore {
async releaseCapacity(build: string, command: string): Promise<void> {
this.#database.prepare(
- "DELETE FROM narratage_capacity WHERE build_id = ? AND command_id = ?",
+ "DELETE FROM hypit_capacity WHERE build_id = ? AND command_id = ?",
).run(build, command);
}
async releaseBuildCapacity(build: string): Promise<void> {
- this.#database.prepare("DELETE FROM narratage_capacity WHERE build_id = ?").run(build);
+ this.#database.prepare("DELETE FROM hypit_capacity WHERE build_id = ?").run(build);
}
async listCapacity(): Promise<readonly CapacityReservation[]> {
return (this.#database.prepare(
- "SELECT * FROM narratage_capacity ORDER BY created_at ASC, build_id ASC, command_id ASC",
+ "SELECT * FROM hypit_capacity ORDER BY created_at ASC, build_id ASC, command_id ASC",
).all() as Row[]).map(parseCapacityReservation);
}
}
@@ -589,18 +589,18 @@ export class SqliteRuntimeState {
this.#database.exec("PRAGMA synchronous = NORMAL");
}
if (!options.readOnly || emptyReadOnly) this.#database.exec(`
- CREATE TABLE IF NOT EXISTS narratage_builds (
+ CREATE TABLE IF NOT EXISTS hypit_builds (
build_id TEXT PRIMARY KEY,
definition_json TEXT NOT NULL
) STRICT;
- CREATE TABLE IF NOT EXISTS narratage_build_facts (
+ CREATE TABLE IF NOT EXISTS hypit_build_facts (
sequence INTEGER PRIMARY KEY AUTOINCREMENT,
build_id TEXT NOT NULL,
command_id TEXT NOT NULL,
fact_json TEXT NOT NULL,
UNIQUE (build_id, command_id)
) STRICT;
- CREATE TABLE IF NOT EXISTS narratage_operations (
+ CREATE TABLE IF NOT EXISTS hypit_operations (
operation_id TEXT PRIMARY KEY,
build_id TEXT NOT NULL,
command_id TEXT NOT NULL,
@@ -610,12 +610,12 @@ export class SqliteRuntimeState {
status TEXT NOT NULL CHECK (status IN ('pending', 'completed', 'failed', 'cancelled')),
payload_json TEXT
) STRICT;
- CREATE TABLE IF NOT EXISTS narratage_build_catalog (
+ CREATE TABLE IF NOT EXISTS hypit_build_catalog (
build_id TEXT PRIMARY KEY,
created_at INTEGER NOT NULL,
descriptor_json TEXT NOT NULL
) STRICT;
- CREATE TABLE IF NOT EXISTS narratage_dispatches (
+ CREATE TABLE IF NOT EXISTS hypit_dispatches (
build_id TEXT PRIMARY KEY,
component_packages_json TEXT NOT NULL,
created_at INTEGER NOT NULL,
@@ -625,9 +625,9 @@ export class SqliteRuntimeState {
cancel_requested INTEGER NOT NULL DEFAULT 0 CHECK (cancel_requested IN (0, 1)),
terminal TEXT CHECK (terminal IS NULL OR terminal IN ('complete', 'failed', 'cancelled'))
) STRICT;
- CREATE INDEX IF NOT EXISTS narratage_dispatch_ready
- ON narratage_dispatches (phase, available_at);
- CREATE TABLE IF NOT EXISTS narratage_capacity (
+ CREATE INDEX IF NOT EXISTS hypit_dispatch_ready
+ ON hypit_dispatches (phase, available_at);
+ CREATE TABLE IF NOT EXISTS hypit_capacity (
build_id TEXT NOT NULL,
command_id TEXT NOT NULL,
resources_json TEXT NOT NULL,
diff --git a/packages/store-sqlite/test/store.test.ts b/packages/store-sqlite/test/store.test.ts
index 3e8deec0..f7a1d59e 100644
--- a/packages/store-sqlite/test/store.test.ts
+++ b/packages/store-sqlite/test/store.test.ts
@@ -3,14 +3,14 @@ import { mkdtemp, rm, stat } from "node:fs/promises";
import { join } from "node:path";
import { tmpdir } from "node:os";
import test from "node:test";
-import { BuildMachine, defineBuild } from "@narratage/core";
-import { SqliteRuntimeState } from "@narratage/store-sqlite";
+import { BuildMachine, defineBuild } from "@hypit/core";
+import { SqliteRuntimeState } from "@hypit/store-sqlite";
import { createGreetingBuild } from "../../core/test/greeting-fixture.js";
test("read-only SQLite observation of an absent archive creates no file", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-sqlite-read-only-"));
- const path = join(directory, ".narratage", "runtime.sqlite");
+ const directory = await mkdtemp(join(tmpdir(), "hypit-sqlite-read-only-"));
+ const path = join(directory, ".hypit", "runtime.sqlite");
try {
const state = new SqliteRuntimeState(path, { readOnly: true });
assert.equal(await state.builds.read("missing"), undefined);
@@ -23,7 +23,7 @@ test("read-only SQLite observation of an absent archive creates no file", async
}
});
test("SQLite stores verified Build facts and Operation handles across reopen", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-sqlite-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-sqlite-"));
const path = join(directory, "runtime.sqlite");
try {
const first = new SqliteRuntimeState(path);
@@ -80,7 +80,7 @@ test("SQLite stores verified Build facts and Operation handles across reopen", a
});
test("SQLite Operation updates preserve a terminal completion", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-operation-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-operation-"));
try {
const state = new SqliteRuntimeState(join(directory, "runtime.sqlite"));
const identity = {
@@ -109,7 +109,7 @@ test("SQLite Operation updates preserve a terminal completion", async () => {
}
});
test("cancelling a never-claimed Build atomically withdraws it from dispatch", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-sqlite-cancel-queued-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-sqlite-cancel-queued-"));
try {
const state = new SqliteRuntimeState(join(directory, "runtime.sqlite"));
await state.dispatch.create({ build: "queued-build", componentPackages: [] }, { now: 100 });
@@ -130,7 +130,7 @@ test("cancelling a never-claimed Build atomically withdraws it from dispatch", a
});
test("Pool and Lane limits count only asynchronous Operations still in flight", async () => {
- const directory = await mkdtemp(join(tmpdir(), "narratage-sqlite-hierarchy-"));
+ const directory = await mkdtemp(join(tmpdir(), "hypit-sqlite-hierarchy-"));
try {
const state = new SqliteRuntimeState(join(directory, "runtime.sqlite"));
const pool = { id: "pool:kie.main", maxActive: 2, maxInFlight: 2 };
diff --git a/packages/svml-playground/README.md b/packages/svml-playground/README.md
index 1811c2b6..88c6183b 100644
--- a/packages/svml-playground/README.md
+++ b/packages/svml-playground/README.md
@@ -10,7 +10,7 @@ pnpm svml:playground -- --source examples/talking-film-broll-preview/main.svml
Optional arguments:
- `--run <build.svrun>` reads material and timings explicitly selected by a Run Source.
-- `--runtime <narratage.runtime.json>` opens earlier Build records and Artifacts read-only.
+- `--runtime <hypit.runtime.json>` opens earlier Build records and Artifacts read-only.
- `--port <number>` changes the listening port from `5179`.
The Playground never writes a Source, Recipe, Build or Artifact and never calls
@@ -19,7 +19,7 @@ missing speech timings are visibly estimated.
## Package boundary
-The Playground is an application, not a registry required by Narratage. It
+The Playground is an application, not a registry required by Hypit. It
explicitly depends on the official video packages it can preview and loads the
same activation, Frontends, Surfaces, Producers and Validators that a normal
Host loads. No compiler, Runtime or video package imports the Playground, and
diff --git a/packages/svml-playground/index.html b/packages/svml-playground/index.html
index c4e5044f..fd720e78 100644
--- a/packages/svml-playground/index.html
+++ b/packages/svml-playground/index.html
@@ -8,7 +8,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0&display=block" />
- <title>SVML Playground - Narratage</title>
+ <title>SVML Playground - Hypit</title>
</head>
<body><div id="app"></div><script type="module" src="/src/ui/main.ts"></script></body>
</html>
diff --git a/packages/svml-playground/package.json b/packages/svml-playground/package.json
index f2e6cb32..cb86ffbd 100644
--- a/packages/svml-playground/package.json
+++ b/packages/svml-playground/package.json
@@ -1,65 +1,65 @@
{
- "name": "@narratage/svml-playground",
+ "name": "@hypit/svml-playground",
"version": "0.0.0-dev",
"private": true,
"type": "module",
"dependencies": {
- "@narratage/audio-track": "workspace:*",
- "@narratage/background-removal": "workspace:*",
- "@narratage/caption": "workspace:*",
- "@narratage/caption-fine": "workspace:*",
- "@narratage/caption-gemini": "workspace:*",
- "@narratage/comment-sticker": "workspace:*",
- "@narratage/compiler-node": "workspace:*",
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/core": "workspace:*",
- "@narratage/deck-track": "workspace:*",
- "@narratage/driver-node": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/endpoint-kit": "workspace:*",
- "@narratage/estimate": "workspace:*",
- "@narratage/film": "workspace:*",
- "@narratage/fonts-open": "workspace:*",
- "@narratage/gemini-omni": "workspace:*",
- "@narratage/gpt-image": "workspace:*",
- "@narratage/grok-imagine": "workspace:*",
- "@narratage/hyperframes": "workspace:*",
- "@narratage/image-compose": "workspace:*",
- "@narratage/image-transform": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/media-track": "workspace:*",
- "@narratage/mimo-tts": "workspace:*",
- "@narratage/minimax-h3": "workspace:*",
- "@narratage/nano-banana": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/package-loader-node": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/provider-hyperframes-local": "workspace:*",
- "@narratage/provider-media-local": "workspace:*",
- "@narratage/provider-whisperx-local": "workspace:*",
- "@narratage/ranking": "workspace:*",
- "@narratage/render-hyperframes": "workspace:*",
- "@narratage/run": "workspace:*",
- "@narratage/run-markup": "workspace:*",
- "@narratage/runtime": "workspace:*",
- "@narratage/runtime-local": "workspace:*",
- "@narratage/screen-overlay": "workspace:*",
- "@narratage/script": "workspace:*",
- "@narratage/seedance": "workspace:*",
- "@narratage/seedream": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/speech-spine": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/temporal": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/typography-track": "workspace:*",
- "@narratage/validation": "workspace:*",
- "@narratage/whisperx": "workspace:*",
+ "@hypit/audio-track": "workspace:*",
+ "@hypit/background-removal": "workspace:*",
+ "@hypit/caption": "workspace:*",
+ "@hypit/caption-fine": "workspace:*",
+ "@hypit/caption-gemini": "workspace:*",
+ "@hypit/comment-sticker": "workspace:*",
+ "@hypit/compiler-node": "workspace:*",
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/core": "workspace:*",
+ "@hypit/deck-track": "workspace:*",
+ "@hypit/driver-node": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/endpoint-kit": "workspace:*",
+ "@hypit/estimate": "workspace:*",
+ "@hypit/film": "workspace:*",
+ "@hypit/fonts-open": "workspace:*",
+ "@hypit/gemini-omni": "workspace:*",
+ "@hypit/gpt-image": "workspace:*",
+ "@hypit/grok-imagine": "workspace:*",
+ "@hypit/hyperframes": "workspace:*",
+ "@hypit/image-compose": "workspace:*",
+ "@hypit/image-transform": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/media-track": "workspace:*",
+ "@hypit/mimo-tts": "workspace:*",
+ "@hypit/minimax-h3": "workspace:*",
+ "@hypit/nano-banana": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/package-loader-node": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/provider-hyperframes-local": "workspace:*",
+ "@hypit/provider-media-local": "workspace:*",
+ "@hypit/provider-whisperx-local": "workspace:*",
+ "@hypit/ranking": "workspace:*",
+ "@hypit/render-hyperframes": "workspace:*",
+ "@hypit/run": "workspace:*",
+ "@hypit/run-markup": "workspace:*",
+ "@hypit/runtime": "workspace:*",
+ "@hypit/runtime-local": "workspace:*",
+ "@hypit/screen-overlay": "workspace:*",
+ "@hypit/script": "workspace:*",
+ "@hypit/seedance": "workspace:*",
+ "@hypit/seedream": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/speech-spine": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/temporal": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/typography-track": "workspace:*",
+ "@hypit/validation": "workspace:*",
+ "@hypit/whisperx": "workspace:*",
"vite": "5.4.21"
}
}
diff --git a/packages/svml-playground/src/official-video.ts b/packages/svml-playground/src/official-video.ts
index 0b40dc1f..858f53d2 100644
--- a/packages/svml-playground/src/official-video.ts
+++ b/packages/svml-playground/src/official-video.ts
@@ -1,62 +1,62 @@
/**
* The official video packages understood by this preview application.
*
- * This is deliberately application-local composition. Narratage packages do
+ * This is deliberately application-local composition. Hypit packages do
* not register themselves with a central video catalogue and do not know that
* the Playground exists. The Playground chooses the packages it previews,
* then reads the activation each package already publishes for normal Hosts.
*/
-import { registerProducerFacets, registerTypeValidatorFacets } from "@narratage/component-kit";
-import { createResolvedClosure } from "@narratage/core";
-import { ProducerRegistry } from "@narratage/driver-node";
+import { registerProducerFacets, registerTypeValidatorFacets } from "@hypit/component-kit";
+import { createResolvedClosure } from "@hypit/core";
+import { ProducerRegistry } from "@hypit/driver-node";
import {
AuthorFrontendRegistry,
installAuthorFrontendHostFacets,
-} from "@narratage/elaborator";
+} from "@hypit/elaborator";
import {
createMarkupAuthorFrontend,
installMarkupSurfaceHostFacets,
MarkupSurfaceRegistry,
-} from "@narratage/markup";
-import type { MarkupSurfaceRegistryLike } from "@narratage/markup";
-import { loadNodePackageSelection } from "@narratage/package-loader-node";
-import type { ModuleRef, ResolvedModuleClosure } from "@narratage/protocol";
-import { TypeValidatorRegistry } from "@narratage/validation";
+} from "@hypit/markup";
+import type { MarkupSurfaceRegistryLike } from "@hypit/markup";
+import { loadNodePackageSelection } from "@hypit/package-loader-node";
+import type { ModuleRef, ResolvedModuleClosure } from "@hypit/protocol";
+import { TypeValidatorRegistry } from "@hypit/validation";
const OFFICIAL_VIDEO_PACKAGES = [
- "@narratage/audio-track",
- "@narratage/background-removal",
- "@narratage/caption",
- "@narratage/caption-fine",
- "@narratage/caption-gemini",
- "@narratage/comment-sticker",
- "@narratage/deck-track",
- "@narratage/estimate",
- "@narratage/film",
- "@narratage/fonts-open",
- "@narratage/gemini-omni",
- "@narratage/gpt-image",
- "@narratage/grok-imagine",
- "@narratage/image-compose",
- "@narratage/image-transform",
- "@narratage/media",
- "@narratage/media-pipeline",
- "@narratage/media-track",
- "@narratage/mimo-tts",
- "@narratage/minimax-h3",
- "@narratage/nano-banana",
- "@narratage/ranking",
- "@narratage/render-hyperframes",
- "@narratage/screen-overlay",
- "@narratage/script",
- "@narratage/seedance",
- "@narratage/seedream",
- "@narratage/spatial",
- "@narratage/speech-spine",
- "@narratage/svs",
- "@narratage/text",
- "@narratage/typography-track",
- "@narratage/whisperx",
+ "@hypit/audio-track",
+ "@hypit/background-removal",
+ "@hypit/caption",
+ "@hypit/caption-fine",
+ "@hypit/caption-gemini",
+ "@hypit/comment-sticker",
+ "@hypit/deck-track",
+ "@hypit/estimate",
+ "@hypit/film",
+ "@hypit/fonts-open",
+ "@hypit/gemini-omni",
+ "@hypit/gpt-image",
+ "@hypit/grok-imagine",
+ "@hypit/image-compose",
+ "@hypit/image-transform",
+ "@hypit/media",
+ "@hypit/media-pipeline",
+ "@hypit/media-track",
+ "@hypit/mimo-tts",
+ "@hypit/minimax-h3",
+ "@hypit/nano-banana",
+ "@hypit/ranking",
+ "@hypit/render-hyperframes",
+ "@hypit/screen-overlay",
+ "@hypit/script",
+ "@hypit/seedance",
+ "@hypit/seedream",
+ "@hypit/spatial",
+ "@hypit/speech-spine",
+ "@hypit/svs",
+ "@hypit/text",
+ "@hypit/typography-track",
+ "@hypit/whisperx",
] as const;
type OfficialVideoDomain = {
diff --git a/packages/svml-playground/src/pipeline/archive.ts b/packages/svml-playground/src/pipeline/archive.ts
index 1b5a65bb..56a54dcf 100644
--- a/packages/svml-playground/src/pipeline/archive.ts
+++ b/packages/svml-playground/src/pipeline/archive.ts
@@ -8,8 +8,8 @@
*/
import {
createRuntimeArchiveFromConfig, createRuntimeArtifactAccessFromConfig,
-} from "@narratage/runtime-local/config";
-import type { BuildState } from "@narratage/protocol";
+} from "@hypit/runtime-local/config";
+import type { BuildState } from "@hypit/protocol";
export type Archive = {
/** A prior Build by its authored id, or undefined when it is not on this machine. */
diff --git a/packages/svml-playground/src/pipeline/compile.ts b/packages/svml-playground/src/pipeline/compile.ts
index fce9ddae..097be15e 100644
--- a/packages/svml-playground/src/pipeline/compile.ts
+++ b/packages/svml-playground/src/pipeline/compile.ts
@@ -9,9 +9,9 @@ import { createHash } from "node:crypto";
import { readFileSync } from "node:fs";
import { dirname, isAbsolute, relative, resolve } from "node:path";
-import { compileSourceClosure, resolveCompiledSourceExport } from "@narratage/elaborator";
-import type { Digest } from "@narratage/protocol";
-import { createRecordAdmitter } from "@narratage/validation";
+import { compileSourceClosure, resolveCompiledSourceExport } from "@hypit/elaborator";
+import type { Digest } from "@hypit/protocol";
+import { createRecordAdmitter } from "@hypit/validation";
import { officialVideoDomain } from "../official-video.js";
import { createObserver } from "./observe.js";
diff --git a/packages/svml-playground/src/pipeline/estimate.ts b/packages/svml-playground/src/pipeline/estimate.ts
index 1f50bbbf..a8221240 100644
--- a/packages/svml-playground/src/pipeline/estimate.ts
+++ b/packages/svml-playground/src/pipeline/estimate.ts
@@ -11,7 +11,7 @@
import {
countSpeechEstimateUnits, resolveSpeechEstimateLanguage, resolveSpeechEstimateRate,
sealSpeechEstimatePolicy,
-} from "@narratage/estimate";
+} from "@hypit/estimate";
/** The Narrative a Script sealed, as the preview reads it. */
type Narrative = {
diff --git a/packages/svml-playground/src/pipeline/execute.ts b/packages/svml-playground/src/pipeline/execute.ts
index 98623f6d..1c8625aa 100644
--- a/packages/svml-playground/src/pipeline/execute.ts
+++ b/packages/svml-playground/src/pipeline/execute.ts
@@ -6,13 +6,13 @@
* Capability means - the Providers declare what they fulfil, and a Need nobody
* can fulfil is reported rather than faked.
*/
-import { EndpointRegistry, MemoryArtifactStore, NodeDriver } from "@narratage/driver-node";
-import type { EndpointPackage } from "@narratage/endpoint-kit";
-import type { ArtifactStore } from "@narratage/runtime";
-import type { BuildState } from "@narratage/protocol";
-import { createLocalHyperframesProvider } from "@narratage/provider-hyperframes-local";
-import { createLocalMediaProvider } from "@narratage/provider-media-local";
-import { createLocalWhisperXProvider } from "@narratage/provider-whisperx-local";
+import { EndpointRegistry, MemoryArtifactStore, NodeDriver } from "@hypit/driver-node";
+import type { EndpointPackage } from "@hypit/endpoint-kit";
+import type { ArtifactStore } from "@hypit/runtime";
+import type { BuildState } from "@hypit/protocol";
+import { createLocalHyperframesProvider } from "@hypit/provider-hyperframes-local";
+import { createLocalMediaProvider } from "@hypit/provider-media-local";
+import { createLocalWhisperXProvider } from "@hypit/provider-whisperx-local";
import { officialVideoDomain } from "../official-video.js";
diff --git a/packages/svml-playground/src/pipeline/observe.ts b/packages/svml-playground/src/pipeline/observe.ts
index 57c1ebb9..fbae1ab1 100644
--- a/packages/svml-playground/src/pipeline/observe.ts
+++ b/packages/svml-playground/src/pipeline/observe.ts
@@ -9,9 +9,9 @@
*/
import type {
MarkupSurfaceRegistryLike, RegisteredSurface, StructuredElement, SurfaceDecodeOutput,
-} from "@narratage/markup";
-import type { ModuleRef } from "@narratage/protocol";
-import { parseScript } from "@narratage/script";
+} from "@hypit/markup";
+import type { ModuleRef } from "@hypit/protocol";
+import { parseScript } from "@hypit/script";
import type { Range } from "../shared.js";
@@ -195,7 +195,7 @@ function harvestScript(input: RawInput, into: Record<string, unknown>[]): void {
input.contentStart,
);
into.push({
- format: "narratage.script-source-map@1",
+ format: "hypit.script-source-map@1",
record: id,
range: { start: input.openingStart, end: end + closing.length },
segments: parsed.segments.map((segment) => ({ id: segment.id, range: segment.range })),
diff --git a/packages/svml-playground/src/pipeline/preview.ts b/packages/svml-playground/src/pipeline/preview.ts
index f3569fb3..ebc9ea87 100644
--- a/packages/svml-playground/src/pipeline/preview.ts
+++ b/packages/svml-playground/src/pipeline/preview.ts
@@ -9,7 +9,7 @@
*/
import { createHash } from "node:crypto";
-import { createProvidedCandidate } from "@narratage/run";
+import { createProvidedCandidate } from "@hypit/run";
import { officialVideoDomain } from "../official-video.js";
import { compileSource } from "./compile.js";
@@ -97,7 +97,7 @@ function authoredCanvas(compiled: unknown): { width: number; height: number } {
for (const record of records) {
if (record.value.kind !== "inline") continue;
const canvas = record.value.value as { widthPx?: number; heightPx?: number; contract?: string };
- if (canvas.contract === "narratage.canvas-space@1"
+ if (canvas.contract === "hypit.canvas-space@1"
&& typeof canvas.widthPx === "number" && typeof canvas.heightPx === "number") {
return { width: canvas.widthPx, height: canvas.heightPx };
}
diff --git a/packages/svml-playground/src/pipeline/run-source.ts b/packages/svml-playground/src/pipeline/run-source.ts
index aca4056d..79cc0fcd 100644
--- a/packages/svml-playground/src/pipeline/run-source.ts
+++ b/packages/svml-playground/src/pipeline/run-source.ts
@@ -11,13 +11,13 @@ import { createHash } from "node:crypto";
import { readFileSync } from "node:fs";
import { dirname, resolve } from "node:path";
-import { NodeRunCompiler } from "@narratage/compiler-node";
-import type { PlannedBuild } from "@narratage/compiler-node";
-import type { Digest, StoredValue } from "@narratage/protocol";
+import { NodeRunCompiler } from "@hypit/compiler-node";
+import type { PlannedBuild } from "@hypit/compiler-node";
+import type { Digest, StoredValue } from "@hypit/protocol";
import {
compileRunSource, RunFragmentRegistry, RunFrontendRegistry, resolveRunDocument,
-} from "@narratage/run";
-import { runMarkupFrontend } from "@narratage/run-markup";
+} from "@hypit/run";
+import { runMarkupFrontend } from "@hypit/run-markup";
import { officialVideoDomain } from "../official-video.js";
import type { Archive } from "./archive.js";
diff --git a/packages/svml-playground/src/pipeline/snapshot.ts b/packages/svml-playground/src/pipeline/snapshot.ts
index 8c6c662b..56a4b64e 100644
--- a/packages/svml-playground/src/pipeline/snapshot.ts
+++ b/packages/svml-playground/src/pipeline/snapshot.ts
@@ -84,7 +84,7 @@ function scriptMap(
maps: readonly Record<string, unknown>[],
built: Preview,
): ScriptMap | undefined {
- const found = maps.find((map) => map.format === "narratage.script-source-map@1");
+ const found = maps.find((map) => map.format === "hypit.script-source-map@1");
if (found === undefined) return undefined;
const selections = (found.selections ?? []) as ScriptMap["selections"];
const segments = (found.segments ?? []) as ScriptMap["segments"];
diff --git a/packages/svml-playground/src/preview/render.ts b/packages/svml-playground/src/preview/render.ts
index 9cdb2d11..8d7f6909 100644
--- a/packages/svml-playground/src/preview/render.ts
+++ b/packages/svml-playground/src/preview/render.ts
@@ -1,7 +1,7 @@
-import { sealComposition } from "@narratage/composition";
-import type { Composition, Track } from "@narratage/composition";
-import { compileHyperframesDocument, materializeHyperframesHtml } from "@narratage/hyperframes";
-import type { ProgramSpace } from "@narratage/program-space";
+import { sealComposition } from "@hypit/composition";
+import type { Composition, Track } from "@hypit/composition";
+import { compileHyperframesDocument, materializeHyperframesHtml } from "@hypit/hyperframes";
+import type { ProgramSpace } from "@hypit/program-space";
import { injectRuntimeShim } from "./runtime-shim.js";
diff --git a/packages/svml-playground/src/preview/runtime-shim.ts b/packages/svml-playground/src/preview/runtime-shim.ts
index 3a232d8e..650b3ffd 100644
--- a/packages/svml-playground/src/preview/runtime-shim.ts
+++ b/packages/svml-playground/src/preview/runtime-shim.ts
@@ -40,7 +40,7 @@ function shim(audibleTrack: string | undefined): string {
* while the transport insisted it was keeping time.
*/
function apply(seconds, scrubbing) {
- var clips = document.querySelectorAll('.narratage-visual-present');
+ var clips = document.querySelectorAll('.hypit-visual-present');
for (var i = 0; i < clips.length; i++) {
var clip = clips[i];
var start = parseFloat(clip.getAttribute('data-start') || '0') || 0;
@@ -58,7 +58,7 @@ function shim(audibleTrack: string | undefined): string {
// separate Track the media pipeline muxes in. A preview is not a
// render, and placing B-roll against speech means hearing the speech,
// so the Spine's own material is allowed to sound.
- var track = clip.getAttribute('data-narratage-track-id');
+ var track = clip.getAttribute('data-hypit-track-id');
element.muted = muted || scrubbing || audible === null || track !== audible;
try {
if (!inside) { element.pause(); continue; }
diff --git a/packages/svml-playground/src/server.ts b/packages/svml-playground/src/server.ts
index 342b900d..9baff059 100644
--- a/packages/svml-playground/src/server.ts
+++ b/packages/svml-playground/src/server.ts
@@ -130,7 +130,7 @@ export function svmlPlaygroundPlugin(options: SvmlPlaygroundOptions): Plugin {
};
return {
- name: "narratage-svml-playground",
+ name: "hypit-svml-playground",
configureServer(value) {
server = value;
value.watcher.add([options.source, ...(options.run === undefined ? [] : [options.run])]);
@@ -142,7 +142,7 @@ export function svmlPlaygroundPlugin(options: SvmlPlaygroundOptions): Plugin {
if (changed === options.source || changed === options.run || path.endsWith(".svs")) schedule();
});
value.middlewares.use((request, response, next) => {
- const url = new URL(request.url ?? "/", "http://narratage.local");
+ const url = new URL(request.url ?? "/", "http://hypit.local");
if (request.method !== "GET" && request.method !== "HEAD") {
next();
return;
diff --git a/packages/svml-playground/src/shared.ts b/packages/svml-playground/src/shared.ts
index c67a9c58..3d6e1ea0 100644
--- a/packages/svml-playground/src/shared.ts
+++ b/packages/svml-playground/src/shared.ts
@@ -13,7 +13,7 @@ export type Range = { readonly start: number; readonly end: number };
* moves it and only the picture knows where it ended up.
*/
export type Clip = {
- /** The Present's own id, identical to the preview's data-narratage-present-id. */
+ /** The Present's own id, identical to the preview's data-hypit-present-id. */
readonly id: string;
/** The authored id this Present is named after, when it names one. */
readonly authoredId: string;
diff --git a/packages/svml-playground/src/ui/code.ts b/packages/svml-playground/src/ui/code.ts
index 6565844f..3e9d69fa 100644
--- a/packages/svml-playground/src/ui/code.ts
+++ b/packages/svml-playground/src/ui/code.ts
@@ -41,7 +41,7 @@ type Line = {
type Caret = { readonly x: number; readonly y: number; readonly height: number };
/**
- * One rounded outline through an arbitrary polygon. Ported from the Narratage
+ * One rounded outline through an arbitrary polygon. Ported from the Hypit
* demo so a highlight here reads the same as a highlight on the site.
*/
function roundedRangePath(points: readonly { x: number; y: number }[], radius = 6): string {
diff --git a/packages/svml-playground/src/ui/stage.ts b/packages/svml-playground/src/ui/stage.ts
index 8d5bddd0..536a92e9 100644
--- a/packages/svml-playground/src/ui/stage.ts
+++ b/packages/svml-playground/src/ui/stage.ts
@@ -50,10 +50,10 @@ export function createStage(store: Store): Stage {
const measure = (clipId: string): { xPx: number; yPx: number; widthPx: number; heightPx: number } | undefined => {
const document_ = iframe.contentDocument;
if (document_ === null) return undefined;
- const present = document_.querySelector(`[data-narratage-present-id="${CSS.escape(clipId)}"]`);
+ const present = document_.querySelector(`[data-hypit-present-id="${CSS.escape(clipId)}"]`);
// The present spans the whole canvas; the drawn box is its frame element.
- const drawn = present?.querySelector(`[data-narratage-element-id="${CSS.escape(`${clipId}:frame`)}"]`)
- ?? present?.querySelector("[data-narratage-element-id]");
+ const drawn = present?.querySelector(`[data-hypit-element-id="${CSS.escape(`${clipId}:frame`)}"]`)
+ ?? present?.querySelector("[data-hypit-element-id]");
if (drawn === null || drawn === undefined) return undefined;
const box = drawn.getBoundingClientRect();
if (box.width === 0 && box.height === 0) return undefined;
diff --git a/packages/svml-playground/start.ts b/packages/svml-playground/start.ts
index dfd4b431..737ba649 100644
--- a/packages/svml-playground/start.ts
+++ b/packages/svml-playground/start.ts
@@ -12,7 +12,7 @@ function usage(message?: string): never {
if (message !== undefined) process.stderr.write(`${message}\n\n`);
process.stderr.write(`Usage:
pnpm svml:playground -- --source <main.svml> [--run <build.svrun>]
- [--runtime <narratage.runtime.json>] [--port <number>]
+ [--runtime <hypit.runtime.json>] [--port <number>]
The Playground reads the Source. It never writes to it, and it never runs a
Provider: with no build present it estimates timings from the Script text.
@@ -49,7 +49,7 @@ const run = runArgument === undefined ? undefined : resolve(invokedFrom, runArgu
const runtimeArgument = values.get("runtime");
const runtime = runtimeArgument === undefined ? undefined : resolve(invokedFrom, runtimeArgument);
// Runtime packages belong to the project that selected them. Pointing into the
-// Narratage monorepo would make the preview work here and fail once installed.
+// Hypit monorepo would make the preview work here and fail once installed.
const packageRoot = invokedFrom;
const port = Number(values.get("port") ?? "5179");
if (!Number.isSafeInteger(port) || port <= 0) usage("--port must be a positive integer");
diff --git a/packages/svml-playground/test/syntax.test.ts b/packages/svml-playground/test/syntax.test.ts
index c4f1008b..e3d6dde5 100644
--- a/packages/svml-playground/test/syntax.test.ts
+++ b/packages/svml-playground/test/syntax.test.ts
@@ -37,12 +37,12 @@ test("the rendered text reconstructs the source exactly", () => {
});
test("the Source Header, tags, attributes and references are distinguished", () => {
- const kinds = kindsOf(`<?svml using="@narratage/markup@1"?>
+ const kinds = kindsOf(`<?svml using="@hypit/markup@1"?>
<svml>
<space:Frame id="card-a" within={vertical} left="8%"/>
</svml>
`);
- assert.ok(kinds.includes(`<?svml using="@narratage/markup@1"?>:header`));
+ assert.ok(kinds.includes(`<?svml using="@hypit/markup@1"?>:header`));
assert.ok(kinds.includes("space:Frame:tag"));
assert.ok(kinds.includes("id:attr"));
assert.ok(kinds.includes(`"card-a":string`));
diff --git a/packages/svs/README.md b/packages/svs/README.md
index 51604dd5..0b67172e 100644
--- a/packages/svs/README.md
+++ b/packages/svs/README.md
@@ -1,7 +1,7 @@
-# `@narratage/svs`
+# `@hypit/svs`
Minimal official parameter-recipe Frontend normally used by `.svs` SourceUnits. The source must
-select it explicitly with `<?svml using="@narratage/svs@1"?>`; the suffix is only a human convention.
+select it explicitly with `<?svml using="@hypit/svs@1"?>`; the suffix is only a human convention.
The SVS Frontend reads a `<sheet version="1">` containing named rule blocks and emits one immutable generic
`Recipe` Record per rule. It does not know Caption, Film, Track or Provider parameters and it does
diff --git a/packages/svs/package.json b/packages/svs/package.json
index cc0c2f7f..c917a7db 100644
--- a/packages/svs/package.json
+++ b/packages/svs/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/svs",
+ "name": "@hypit/svs",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,15 +7,15 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/protocol": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/protocol": "workspace:*"
},
"devDependencies": {
- "@narratage/markup": "workspace:*"
+ "@hypit/markup": "workspace:*"
}
}
diff --git a/packages/svs/src/activation.ts b/packages/svs/src/activation.ts
index 51f4bac5..9453a3d3 100644
--- a/packages/svs/src/activation.ts
+++ b/packages/svs/src/activation.ts
@@ -1,11 +1,11 @@
-import { createAuthorFrontendHostFacet } from "@narratage/elaborator";
+import { createAuthorFrontendHostFacet } from "@hypit/elaborator";
import { svsFrontend, svsManifest } from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: svsManifest }],
hostFacets: [createAuthorFrontendHostFacet(svsFrontend)],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/svs/src/frontend.ts b/packages/svs/src/frontend.ts
index d08002e1..2959b3c8 100644
--- a/packages/svs/src/frontend.ts
+++ b/packages/svs/src/frontend.ts
@@ -1,7 +1,7 @@
import {
sealRecord,
-} from "@narratage/core";
-import type { AuthorFrontend, AuthorSourceExport } from "@narratage/elaborator";
+} from "@hypit/core";
+import type { AuthorFrontend, AuthorSourceExport } from "@hypit/elaborator";
import { svsFrontendId, svsModuleRef, svsRecipeType } from "./manifest.js";
import { parseSvs } from "./parser.js";
diff --git a/packages/svs/src/manifest.ts b/packages/svs/src/manifest.ts
index e8240882..766a42c1 100644
--- a/packages/svs/src/manifest.ts
+++ b/packages/svs/src/manifest.ts
@@ -1,11 +1,11 @@
-import type { ModuleManifest, TypeRef } from "@narratage/protocol";
+import type { ModuleManifest, TypeRef } from "@hypit/protocol";
-export const svsModuleRef = { name: "@narratage/svs", version: "1" } as const;
+export const svsModuleRef = { name: "@hypit/svs", version: "1" } as const;
export const svsRecipeType = { module: svsModuleRef, name: "Recipe" } satisfies TypeRef;
-export const svsFrontendId = "@narratage/svs@1";
+export const svsFrontendId = "@hypit/svs@1";
export const svsManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: svsModuleRef.name,
version: svsModuleRef.version,
dependencies: [],
diff --git a/packages/svs/src/parser.ts b/packages/svs/src/parser.ts
index d843b657..b82f52e4 100644
--- a/packages/svs/src/parser.ts
+++ b/packages/svs/src/parser.ts
@@ -1,4 +1,4 @@
-import type { CanonicalValue } from "@narratage/protocol";
+import type { CanonicalValue } from "@hypit/protocol";
import type {
ParsedSvsProperty,
diff --git a/packages/svs/src/types.ts b/packages/svs/src/types.ts
index 5c4defee..7aaa2c3e 100644
--- a/packages/svs/src/types.ts
+++ b/packages/svs/src/types.ts
@@ -1,4 +1,4 @@
-import type { CanonicalValue, SourceRange } from "@narratage/protocol";
+import type { CanonicalValue, SourceRange } from "@hypit/protocol";
export type SvsRecipe = {
readonly path: string;
diff --git a/packages/svs/test/source-closure.test.ts b/packages/svs/test/source-closure.test.ts
index b28ccb30..14de653b 100644
--- a/packages/svs/test/source-closure.test.ts
+++ b/packages/svs/test/source-closure.test.ts
@@ -4,34 +4,34 @@ import {
createResolvedClosure,
sealBuildRequest,
start,
-} from "@narratage/core";
+} from "@hypit/core";
import {
AuthorFrontendRegistry,
SourceClosureError,
compileSourceClosure,
resolveCompiledSourceExport,
sealGraphFragment,
-} from "@narratage/elaborator";
-import type { AuthorSourceUnit } from "@narratage/elaborator";
+} from "@hypit/elaborator";
+import type { AuthorSourceUnit } from "@hypit/elaborator";
import type {
ModuleManifest,
ProducerRef,
TypeRef,
TypedRecord,
-} from "@narratage/protocol";
+} from "@hypit/protocol";
import {
SvsSyntaxError,
parseSvs,
svsFrontend,
svsManifest,
svsRecipeType,
-} from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
+} from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
import {
MarkupSurfaceRegistry,
createMarkupAuthorFrontend,
-} from "@narratage/markup";
-import type { StructuredElement } from "@narratage/markup";
+} from "@hypit/markup";
+import type { StructuredElement } from "@hypit/markup";
const laboratory = { name: "example.recipe-card", version: "1" } as const;
const cardType = { module: laboratory, name: "Card" } satisfies TypeRef;
@@ -43,7 +43,7 @@ const cardSurface = {
} as const;
const manifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: laboratory.name,
version: laboratory.version,
dependencies: [{ module: { name: svsManifest.name, version: svsManifest.version } }],
@@ -153,7 +153,7 @@ function sourceRegistry(): MarkupSurfaceRegistry {
const closure = createResolvedClosure([svsManifest, manifest]);
function unit(id: string, text: string, frontend?: string): AuthorSourceUnit {
- const selected = frontend ?? (id.endsWith(".svs") ? "@narratage/svs@1" : "@narratage/markup@1");
+ const selected = frontend ?? (id.endsWith(".svs") ? "@hypit/svs@1" : "@hypit/markup@1");
return {
id,
name: id.split("/").at(-1) ?? id,
diff --git a/packages/temporal/README.md b/packages/temporal/README.md
index 5b32366b..3818dac7 100644
--- a/packages/temporal/README.md
+++ b/packages/temporal/README.md
@@ -1,7 +1,7 @@
-# `@narratage/temporal`
+# `@hypit/temporal`
Focused video-domain temporal projection. It locates authored Selection/Moment occurrences through
-`@narratage/semantic-map`, expands strict `one`/`each` cardinality, evaluates exact rational point
+`@hypit/semantic-map`, expands strict `one`/`each` cardinality, evaluates exact rational point
expressions, intersects them with ProgramSpace and returns validated half-open frame spans.
The package also provides pure sibling-window validation and triggered-stage scheduling. It defines
diff --git a/packages/temporal/package.json b/packages/temporal/package.json
index c655e10a..0a20a5b4 100644
--- a/packages/temporal/package.json
+++ b/packages/temporal/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/temporal",
+ "name": "@hypit/temporal",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,13 +7,13 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*"
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*"
}
}
diff --git a/packages/temporal/src/activation.ts b/packages/temporal/src/activation.ts
index 368eff28..e907428f 100644
--- a/packages/temporal/src/activation.ts
+++ b/packages/temporal/src/activation.ts
@@ -1,7 +1,7 @@
import { temporalManifest } from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: temporalManifest }],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/temporal/src/index.ts b/packages/temporal/src/index.ts
index 9bc03329..eb3e5e10 100644
--- a/packages/temporal/src/index.ts
+++ b/packages/temporal/src/index.ts
@@ -1,4 +1,4 @@
-import type { ModuleManifest } from "@narratage/protocol";
+import type { ModuleManifest } from "@hypit/protocol";
export * from "./location.js";
export * from "./projection.js";
@@ -6,9 +6,9 @@ export * from "./schedule.js";
export * from "./sample.js";
export type * from "./types.js";
-export const temporalModuleRef = { name: "@narratage/temporal", version: "1" } as const;
+export const temporalModuleRef = { name: "@hypit/temporal", version: "1" } as const;
export const temporalManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: temporalModuleRef.name,
version: temporalModuleRef.version,
dependencies: [],
diff --git a/packages/temporal/src/location.ts b/packages/temporal/src/location.ts
index 2cad397b..01cf437b 100644
--- a/packages/temporal/src/location.ts
+++ b/packages/temporal/src/location.ts
@@ -1,8 +1,8 @@
-import type { NarrativeExcerpt, NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import { momentFrames, segmentFrameSpan, selectionFrameSpans } from "@narratage/semantic-map";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
+import type { NarrativeExcerpt, NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import { momentFrames, segmentFrameSpan, selectionFrameSpans } from "@hypit/semantic-map";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
import type {
LocatedMomentOccurrence,
diff --git a/packages/temporal/src/projection.ts b/packages/temporal/src/projection.ts
index c8fc8cdf..d9424705 100644
--- a/packages/temporal/src/projection.ts
+++ b/packages/temporal/src/projection.ts
@@ -1,7 +1,7 @@
-import type { NarrativeExcerpt, NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
+import type { NarrativeExcerpt, NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
import { locateMomentOccurrences, locateProgramOccurrence, locateSegmentOccurrence, locateSelectionOccurrences } from "./location.js";
import {
diff --git a/packages/temporal/src/rational.ts b/packages/temporal/src/rational.ts
index 27bd0748..40e3bd76 100644
--- a/packages/temporal/src/rational.ts
+++ b/packages/temporal/src/rational.ts
@@ -1,4 +1,4 @@
-import type { ProgramSpace } from "@narratage/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
import type { TemporalDuration } from "./types.js";
diff --git a/packages/temporal/src/sample.ts b/packages/temporal/src/sample.ts
index f1d4a318..7fdf92a2 100644
--- a/packages/temporal/src/sample.ts
+++ b/packages/temporal/src/sample.ts
@@ -1,4 +1,4 @@
-import type { ProgramSpace } from "@narratage/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
import type { TemporalDuration } from "./types.js";
diff --git a/packages/temporal/test/temporal.test.ts b/packages/temporal/test/temporal.test.ts
index c4bb9569..7e65b79f 100644
--- a/packages/temporal/test/temporal.test.ts
+++ b/packages/temporal/test/temporal.test.ts
@@ -1,10 +1,10 @@
import assert from "node:assert/strict";
import test from "node:test";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import { programFrameSampleBoundary, programSpaceSampleFrames } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import { programFrameSampleBoundary, programSpaceSampleFrames } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
import {
assertWindowRelation,
diff --git a/packages/text/README.md b/packages/text/README.md
index ad6e3974..57c8a528 100644
--- a/packages/text/README.md
+++ b/packages/text/README.md
@@ -1,4 +1,4 @@
-# `@narratage/text`
+# `@hypit/text`
Domain-neutral text values and deterministic text programs.
@@ -11,7 +11,7 @@ Its optional Markup vocabulary exposes literal and assembled values without
hiding the graph:
```svml
-<import as="text" from="@narratage/text@1"/>
+<import as="text" from="@hypit/text@1"/>
<import as="ugc" source="./ugc-template.svs"/>
<text:Value id="extra">Keep the product readable.</text:Value>
@@ -33,8 +33,8 @@ template actually declares into its bindings. Template defaults, Recipe values a
such as model or resolution are ignored by the text program. No prompt-specific package code is
needed.
-`@narratage/markup` is the XML-like authoring Frontend and
-`@narratage/typography-track` renders text into video. They are deliberately
+`@hypit/markup` is the XML-like authoring Frontend and
+`@hypit/typography-track` renders text into video. They are deliberately
separate packages.
## Graph consumers
@@ -42,7 +42,7 @@ separate packages.
`Text` is a small domain-neutral graph value, not a prompt-only type. Current consumers include:
- exact model prompt ports;
-- `@narratage/typography-track` Point, Area and Path content;
+- `@hypit/typography-track` Point, Area and Path content;
- Ranking Column/TopThree labels and Typewriter title/rows;
- Comment Sticker comment, author, header and metadata copy;
- Deck Card labels.
diff --git a/packages/text/package.json b/packages/text/package.json
index 6130b364..0528e9a1 100644
--- a/packages/text/package.json
+++ b/packages/text/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/text",
+ "name": "@hypit/text",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,15 +7,15 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/core": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/svs": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/core": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/svs": "workspace:*"
}
}
diff --git a/packages/text/src/activation.ts b/packages/text/src/activation.ts
index 08bb117a..efed7dc9 100644
--- a/packages/text/src/activation.ts
+++ b/packages/text/src/activation.ts
@@ -1,5 +1,5 @@
-import { createAuthorFrontendHostFacet } from "@narratage/elaborator";
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createAuthorFrontendHostFacet } from "@hypit/elaborator";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeTextRenderSurface,
@@ -11,8 +11,8 @@ import {
textMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: textManifest }],
components: [textComponent],
hostFacets: [
@@ -30,4 +30,4 @@ export const narratagePackage = {
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/text/src/component.ts b/packages/text/src/component.ts
index ee65def1..df9622a1 100644
--- a/packages/text/src/component.ts
+++ b/packages/text/src/component.ts
@@ -1,5 +1,5 @@
-import type { ComponentPackage, ProducerHandlerContext } from "@narratage/component-kit";
-import type { StoredValue } from "@narratage/protocol";
+import type { ComponentPackage, ProducerHandlerContext } from "@hypit/component-kit";
+import type { StoredValue } from "@hypit/protocol";
import {
textProducers,
diff --git a/packages/text/src/fragment.ts b/packages/text/src/fragment.ts
index 8807e67f..aff5af16 100644
--- a/packages/text/src/fragment.ts
+++ b/packages/text/src/fragment.ts
@@ -1,4 +1,4 @@
-import { sealGraphFragment } from "@narratage/elaborator";
+import { sealGraphFragment } from "@hypit/elaborator";
import { textProducers, textTypes } from "./manifest.js";
@@ -20,7 +20,7 @@ export function createTextRenderFragment(entries: readonly TextFragmentBinding[]
{ name: "template", type: textTypes.template },
{ name: "bindings", type: textTypes.bindings },
];
- const operations: Array<import("@narratage/elaborator").FragmentOperation> = [];
+ const operations: Array<import("@hypit/elaborator").FragmentOperation> = [];
let bindings = input("bindings") as ReturnType<typeof input> | ReturnType<typeof operation>;
entries.forEach((entry, index) => {
const prefix = `binding:${entry.name}`;
diff --git a/packages/text/src/frontend.ts b/packages/text/src/frontend.ts
index 2507a110..d6d05dfc 100644
--- a/packages/text/src/frontend.ts
+++ b/packages/text/src/frontend.ts
@@ -1,13 +1,13 @@
import {
sealRecord,
-} from "@narratage/core";
-import type { AuthorFrontend, AuthorSourceExport } from "@narratage/elaborator";
-import { parseSvs } from "@narratage/svs";
+} from "@hypit/core";
+import type { AuthorFrontend, AuthorSourceExport } from "@hypit/elaborator";
+import { parseSvs } from "@hypit/svs";
import { textModuleRef, textTypes } from "./manifest.js";
import { textTemplateFromSvsRecipes } from "./svs.js";
-export const textSvsFrontendId = "@narratage/text/svs@1";
+export const textSvsFrontendId = "@hypit/text/svs@1";
export const textSvsFrontend: AuthorFrontend = {
id: textSvsFrontendId,
@@ -26,7 +26,7 @@ export const textSvsFrontend: AuthorFrontend = {
const record = sealRecord({
id,
type: textTypes.template,
- value: { kind: "inline", value: template as unknown as import("@narratage/protocol").CanonicalValue },
+ value: { kind: "inline", value: template as unknown as import("@hypit/protocol").CanonicalValue },
});
const exports: AuthorSourceExport[] = [{ name: id, ref: { kind: "record", id }, type: textTypes.template }];
return {
diff --git a/packages/text/src/manifest.ts b/packages/text/src/manifest.ts
index 0c40358a..6ffeaad2 100644
--- a/packages/text/src/manifest.ts
+++ b/packages/text/src/manifest.ts
@@ -1,6 +1,6 @@
-import type { ModuleManifest, ProducerRef, TypeRef } from "@narratage/protocol";
+import type { ModuleManifest, ProducerRef, TypeRef } from "@hypit/protocol";
-export const textModuleRef = { name: "@narratage/text", version: "1" } as const;
+export const textModuleRef = { name: "@hypit/text", version: "1" } as const;
export const textTypes = {
text: { module: textModuleRef, name: "Text" },
@@ -29,7 +29,7 @@ export const textMarkupSurfaces = [{
export const textManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: textModuleRef.name,
version: textModuleRef.version,
dependencies: [],
diff --git a/packages/text/src/program.ts b/packages/text/src/program.ts
index fe43aa31..d5cb8710 100644
--- a/packages/text/src/program.ts
+++ b/packages/text/src/program.ts
@@ -1,4 +1,4 @@
-import { canonicalize } from "@narratage/protocol";
+import { canonicalize } from "@hypit/protocol";
import type {
Text,
diff --git a/packages/text/src/surface.ts b/packages/text/src/surface.ts
index f3f6f001..ec849d96 100644
--- a/packages/text/src/surface.ts
+++ b/packages/text/src/surface.ts
@@ -1,12 +1,12 @@
-import type { CanonicalValue } from "@narratage/protocol";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
+import type { CanonicalValue } from "@hypit/protocol";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
import type {
MarkupAttributeValue,
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { createTextRenderFragment } from "./fragment.js";
import {
diff --git a/packages/text/src/svs.ts b/packages/text/src/svs.ts
index 768e3edb..2c783a79 100644
--- a/packages/text/src/svs.ts
+++ b/packages/text/src/svs.ts
@@ -1,4 +1,4 @@
-import type { SvsRecipe } from "@narratage/svs";
+import type { SvsRecipe } from "@hypit/svs";
import { sealTextTemplate } from "./program.js";
import type {
diff --git a/packages/text/test/text.test.ts b/packages/text/test/text.test.ts
index 566afa0e..4883b1bf 100644
--- a/packages/text/test/text.test.ts
+++ b/packages/text/test/text.test.ts
@@ -1,8 +1,8 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { parseStructuredElement } from "@narratage/markup";
-import type { SurfaceResolvedReference } from "@narratage/markup";
-import { svsRecipeType } from "@narratage/svs";
+import { parseStructuredElement } from "@hypit/markup";
+import type { SurfaceResolvedReference } from "@hypit/markup";
+import { svsRecipeType } from "@hypit/svs";
import {
bindText,
@@ -16,7 +16,7 @@ import {
sealTextTemplate,
textTypes,
verifyTextTemplate,
-} from "@narratage/text";
+} from "@hypit/text";
test("text programs compose nested templates, choices, lists and transforms", () => {
const template = sealTextTemplate({
diff --git a/packages/transport-aws-lambda/README.md b/packages/transport-aws-lambda/README.md
index 325d9b1e..dd6bd648 100644
--- a/packages/transport-aws-lambda/README.md
+++ b/packages/transport-aws-lambda/README.md
@@ -1,4 +1,4 @@
-# `@narratage/transport-aws-lambda`
+# `@hypit/transport-aws-lambda`
Low-level synchronous JSON invocation for Endpoint packages that execute work through AWS Lambda.
It is deliberately not an Endpoint and declares no SVML capability.
@@ -12,7 +12,7 @@ Endpoint-specific code owns:
- the function name, version/alias and retry semantics included in Endpoint configuration identity.
The transport always uses `RequestResponse`. Lambda `Event` invocation has its own at-least-once
-queue and no immediate result/checkpoint, so treating it as an asynchronous Narratage Endpoint would be
+queue and no immediate result/checkpoint, so treating it as an asynchronous Hypit Endpoint would be
misleading. An Endpoint may invoke a coordinator Lambda synchronously; that coordinator can submit
long work and return a checkpoint which the Endpoint later polls through another synchronous call.
diff --git a/packages/transport-aws-lambda/package.json b/packages/transport-aws-lambda/package.json
index ec7dae02..9cc34836 100644
--- a/packages/transport-aws-lambda/package.json
+++ b/packages/transport-aws-lambda/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/transport-aws-lambda",
+ "name": "@hypit/transport-aws-lambda",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -9,6 +9,6 @@
},
"dependencies": {
"@aws-sdk/client-lambda": "^3.1103.0",
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/transport-aws-lambda/src/index.ts b/packages/transport-aws-lambda/src/index.ts
index 89f7065e..22048a5d 100644
--- a/packages/transport-aws-lambda/src/index.ts
+++ b/packages/transport-aws-lambda/src/index.ts
@@ -5,8 +5,8 @@ import {
import type {
LambdaClientConfig,
} from "@aws-sdk/client-lambda";
-import { canonicalize } from "@narratage/protocol";
-import type { CanonicalValue } from "@narratage/protocol";
+import { canonicalize } from "@hypit/protocol";
+import type { CanonicalValue } from "@hypit/protocol";
/** One canonical JSON exchange; callers may inject any structurally compatible transport. */
export interface JsonInvoker {
diff --git a/packages/transport-aws-lambda/test/invoker.test.ts b/packages/transport-aws-lambda/test/invoker.test.ts
index e6118c5b..9ddad506 100644
--- a/packages/transport-aws-lambda/test/invoker.test.ts
+++ b/packages/transport-aws-lambda/test/invoker.test.ts
@@ -3,8 +3,8 @@ import test from "node:test";
import {
AwsLambdaJsonInvoker,
-} from "@narratage/transport-aws-lambda";
-import type { LambdaInvocationClient } from "@narratage/transport-aws-lambda";
+} from "@hypit/transport-aws-lambda";
+import type { LambdaInvocationClient } from "@hypit/transport-aws-lambda";
test("Lambda transport uses synchronous JSON and leaves Endpoint semantics to its caller", async () => {
let invocation: Parameters<LambdaInvocationClient["invoke"]>[0] | undefined;
diff --git a/packages/typography-track/README.md b/packages/typography-track/README.md
index 05d4e829..ba56e29b 100644
--- a/packages/typography-track/README.md
+++ b/packages/typography-track/README.md
@@ -1,4 +1,4 @@
-# `@narratage/typography-track`
+# `@hypit/typography-track`
Official provider-free Text overlay package. It owns a typed `TypographyTrackProgram` and lowers every
item into an independently timed and stacked Present in the public VisualTrack contract.
@@ -8,8 +8,8 @@ bounded rich documents, exact font stacks, ordered Paint, frame/content/paragrap
grapheme boxes, deterministic overflow and Unicode-aware local motion.
An item spanning the complete ProgramSpace is a persistent overlay; a shorter item is timed. They
-are not different Track kinds. Timing is projected through `@narratage/temporal`, and placement is
-an explicit `SpatialFrame` input from `@narratage/spatial`; neither is hidden in the appearance
+are not different Track kinds. Timing is projected through `@hypit/temporal`, and placement is
+an explicit `SpatialFrame` input from `@hypit/spatial`; neither is hidden in the appearance
Recipe. The package exposes semantic typography rather than a rendering callback, arbitrary CSS or
cross-Track access.
@@ -22,8 +22,8 @@ closed and materialize through an independent package.
Content has two explicit author forms:
```svml
-<import as="copy" from="@narratage/text@1"/>
-<import as="typo" from="@narratage/typography-track@1"/>
+<import as="copy" from="@hypit/text@1"/>
+<import as="typo" from="@hypit/typography-track@1"/>
<copy:Value id="headline">Intent, not timelines.</copy:Value>
diff --git a/packages/typography-track/package.json b/packages/typography-track/package.json
index cf805565..57b26769 100644
--- a/packages/typography-track/package.json
+++ b/packages/typography-track/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/typography-track",
+ "name": "@hypit/typography-track",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,27 +7,27 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/composition": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/program-space": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/spatial": "workspace:*",
- "@narratage/svs": "workspace:*",
- "@narratage/temporal": "workspace:*",
- "@narratage/text": "workspace:*",
- "@narratage/visual-ir": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/composition": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/program-space": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/spatial": "workspace:*",
+ "@hypit/svs": "workspace:*",
+ "@hypit/temporal": "workspace:*",
+ "@hypit/text": "workspace:*",
+ "@hypit/visual-ir": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/core": "workspace:*",
- "@narratage/validation": "workspace:*"
+ "@hypit/core": "workspace:*",
+ "@hypit/validation": "workspace:*"
}
}
diff --git a/packages/typography-track/src/activation.ts b/packages/typography-track/src/activation.ts
index 2ee47c12..688a1149 100644
--- a/packages/typography-track/src/activation.ts
+++ b/packages/typography-track/src/activation.ts
@@ -1,4 +1,4 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeTypographyMotionSurface,
decodeTypographyMaskSurface,
@@ -10,8 +10,8 @@ import {
typographyTrackMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: typographyTrackManifest }],
components: [typographyTrackComponent],
hostFacets: [
@@ -33,4 +33,4 @@ export const narratagePackage = {
}),
],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/typography-track/src/component.ts b/packages/typography-track/src/component.ts
index f021c9f3..69a0075a 100644
--- a/packages/typography-track/src/component.ts
+++ b/packages/typography-track/src/component.ts
@@ -1,12 +1,12 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import type { ProgramSpace } from "@narratage/program-space";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
-import type { CompositableSurfaceRef } from "@narratage/media";
-import type { SpatialFrame, SpatialPath, SpatialPoint } from "@narratage/spatial";
-import type { StoredValue } from "@narratage/protocol";
-import type { Text } from "@narratage/text";
-import { canonicalize } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import type { ProgramSpace } from "@hypit/program-space";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
+import type { CompositableSurfaceRef } from "@hypit/media";
+import type { SpatialFrame, SpatialPath, SpatialPoint } from "@hypit/spatial";
+import type { StoredValue } from "@hypit/protocol";
+import type { Text } from "@hypit/text";
+import { canonicalize } from "@hypit/protocol";
import { typographyTrackProducers } from "./manifest.js";
import { appendMomentTextItem, appendProgramTextItem, appendSelectionTextItem, bindAreaTextPlacement, bindPathTextPlacement, bindPointTextPlacement, createTypographyTrackSet, finalizeTypographyTrack, renderTypographyTrack, renderTextMaskTrack, materializePlainTextItem } from "./program.js";
diff --git a/packages/typography-track/src/fragment.ts b/packages/typography-track/src/fragment.ts
index bba428ff..238568dc 100644
--- a/packages/typography-track/src/fragment.ts
+++ b/packages/typography-track/src/fragment.ts
@@ -1,7 +1,7 @@
-import { programSpaceTypes } from "@narratage/program-space";
-import { compositionTypes } from "@narratage/composition";
-import type { VisualTrack } from "@narratage/composition";
-import { sealGraphFragment } from "@narratage/elaborator";
+import { programSpaceTypes } from "@hypit/program-space";
+import { compositionTypes } from "@hypit/composition";
+import type { VisualTrack } from "@hypit/composition";
+import { sealGraphFragment } from "@hypit/elaborator";
import { typographyTrackProducers, typographyTrackTypes } from "./manifest.js";
diff --git a/packages/typography-track/src/manifest.ts b/packages/typography-track/src/manifest.ts
index 56a33b62..2cb1d798 100644
--- a/packages/typography-track/src/manifest.ts
+++ b/packages/typography-track/src/manifest.ts
@@ -1,6 +1,6 @@
-import { narrativeDependency, narrativeTypes } from "@narratage/narrative";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import { semanticMapDependency, semanticMapTypes } from "@narratage/semantic-map";
+import { narrativeDependency, narrativeTypes } from "@hypit/narrative";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import { semanticMapDependency, semanticMapTypes } from "@hypit/semantic-map";
import {
compositionDependency,
compositionTypes,
@@ -9,20 +9,20 @@ import {
visualTextPaintSchema,
visualTextSequenceSchema,
visualTextTypographySchema,
-} from "@narratage/composition";
+} from "@hypit/composition";
import {
spatialDependency,
spatialFrameSchema,
spatialPathSchema,
spatialPointSchema,
spatialTypes,
-} from "@narratage/spatial";
-import { VISUAL_STYLE_ENUM_VALUES_V1, VISUAL_STYLE_NAMES_V1 } from "@narratage/visual-ir";
-import { mediaDependency, mediaTypes } from "@narratage/media";
-import { textDependency, textTypes } from "@narratage/text";
-import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@narratage/protocol";
+} from "@hypit/spatial";
+import { VISUAL_STYLE_ENUM_VALUES_V1, VISUAL_STYLE_NAMES_V1 } from "@hypit/visual-ir";
+import { mediaDependency, mediaTypes } from "@hypit/media";
+import { textDependency, textTypes } from "@hypit/text";
+import type { ModuleManifest, ProducerRef, TypeRef, ValueSchema } from "@hypit/protocol";
-export const typographyTrackModuleRef = { name: "@narratage/typography-track", version: "1" } as const;
+export const typographyTrackModuleRef = { name: "@hypit/typography-track", version: "1" } as const;
export const typographyTrackTypes = {
style: { module: typographyTrackModuleRef, name: "TextStyle" },
motion: { module: typographyTrackModuleRef, name: "TextMotion" },
@@ -163,7 +163,7 @@ export const typographyTrackMarkupSurfaces = [
export const typographyTrackManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: typographyTrackModuleRef.name,
version: typographyTrackModuleRef.version,
dependencies: [programSpaceDependency, narrativeDependency, semanticMapDependency, spatialDependency, mediaDependency, compositionDependency, textDependency],
diff --git a/packages/typography-track/src/program.ts b/packages/typography-track/src/program.ts
index 5c72cf0d..5760a5f4 100644
--- a/packages/typography-track/src/program.ts
+++ b/packages/typography-track/src/program.ts
@@ -1,29 +1,29 @@
-import type { NarrativeMomentRef, NarrativeSelectionRef } from "@narratage/narrative";
-import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@narratage/program-space";
-import type { ProgramSpace } from "@narratage/program-space";
+import type { NarrativeMomentRef, NarrativeSelectionRef } from "@hypit/narrative";
+import { assertProgramSpaceIdentity, programSpaceFrameCount } from "@hypit/program-space";
+import type { ProgramSpace } from "@hypit/program-space";
import {
assertCompleteSemanticMapIdentity,
assertNarrativeMomentIdentity,
assertNarrativeSelectionIdentity,
-} from "@narratage/semantic-map";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
+} from "@hypit/semantic-map";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
import {
assertSpatialFrame,
assertSpatialPath,
assertSpatialPoint,
-} from "@narratage/spatial";
-import type { SpatialFrame, SpatialPath, SpatialPoint } from "@narratage/spatial";
+} from "@hypit/spatial";
+import type { SpatialFrame, SpatialPath, SpatialPoint } from "@hypit/spatial";
import {
assertWindowRelation,
projectMomentWindows,
projectProgramWindow,
projectSelectionWindows,
-} from "@narratage/temporal";
-import type { ProjectedOccurrence } from "@narratage/temporal";
+} from "@hypit/temporal";
+import type { ProjectedOccurrence } from "@hypit/temporal";
import {
assertVisualTrackIdentity,
sealVisualTrack,
-} from "@narratage/composition";
+} from "@hypit/composition";
import type {
VisualElement,
VisualPathTextElement,
@@ -31,12 +31,12 @@ import type {
VisualTextElement,
VisualTextFlowElement,
VisualTrack,
-} from "@narratage/composition";
-import { assertCompositableSurfaceRef } from "@narratage/media";
-import type { CompositableSurfaceRef } from "@narratage/media";
-import { canonicalize } from "@narratage/protocol";
-import { verifyText } from "@narratage/text";
-import type { Text } from "@narratage/text";
+} from "@hypit/composition";
+import { assertCompositableSurfaceRef } from "@hypit/media";
+import type { CompositableSurfaceRef } from "@hypit/media";
+import { canonicalize } from "@hypit/protocol";
+import { verifyText } from "@hypit/text";
+import type { Text } from "@hypit/text";
import type {
TextGeometry,
@@ -113,7 +113,7 @@ export function assertTextStyle(style: TextStyle): void {
}
assertVisualTrackIdentity({
kind: "visual",
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "text-style-validation",
presents: [{
id: "style",
@@ -613,7 +613,7 @@ function elements(item: TextItem): VisualElement[] {
export function renderTypographyTrack(space: ProgramSpace, program: TypographyTrackProgram): VisualTrack {
assertTypographyTrackProgramIdentity(program, space);
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: program.id,
presents: program.items.map((item) => ({
id: item.id,
@@ -639,7 +639,7 @@ export function renderTextMaskTrack(
throw new Error("Official Text Mask requires one explicit still material Surface; timed materials use an independent package.");
}
const track = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: spec.id,
presents: program.items.map((item) => {
assertMotionDomain(item);
diff --git a/packages/typography-track/src/surface.ts b/packages/typography-track/src/surface.ts
index c0d86736..4a9cd4e9 100644
--- a/packages/typography-track/src/surface.ts
+++ b/packages/typography-track/src/surface.ts
@@ -1,7 +1,7 @@
-import { narrativeTypes } from "@narratage/narrative";
-import { programSpaceTypes } from "@narratage/program-space";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { compositionTypes } from "@narratage/composition";
+import { narrativeTypes } from "@hypit/narrative";
+import { programSpaceTypes } from "@hypit/program-space";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { compositionTypes } from "@hypit/composition";
import type {
VisualColorPaint,
VisualStyleDeclaration,
@@ -10,32 +10,32 @@ import type {
VisualTextRunStyle,
VisualTextSequenceAnimation,
VisualTextTypography,
-} from "@narratage/composition";
+} from "@hypit/composition";
import {
assertFontArtifactRef,
assertFontStackRef,
mediaTypes,
-} from "@narratage/media";
-import type { FontArtifactRef, FontStackRef } from "@narratage/media";
-import { spatialTypes } from "@narratage/spatial";
-import { sealGraphFragment } from "@narratage/elaborator";
-import type { AuthorValueRef, FragmentOperation, GraphFragment } from "@narratage/elaborator";
-import { svsRecipeType } from "@narratage/svs";
-import type { SvsRecipe } from "@narratage/svs";
-import { textTypes } from "@narratage/text";
+} from "@hypit/media";
+import type { FontArtifactRef, FontStackRef } from "@hypit/media";
+import { spatialTypes } from "@hypit/spatial";
+import { sealGraphFragment } from "@hypit/elaborator";
+import type { AuthorValueRef, FragmentOperation, GraphFragment } from "@hypit/elaborator";
+import { svsRecipeType } from "@hypit/svs";
+import type { SvsRecipe } from "@hypit/svs";
+import { textTypes } from "@hypit/text";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceRecordDraft,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import type {
OccurrenceExpansion,
TemporalDuration,
TemporalPointExpression,
TemporalWindowProjection,
-} from "@narratage/temporal";
+} from "@hypit/temporal";
import { typographyTrackProducers, typographyTrackTypes } from "./manifest.js";
import {
diff --git a/packages/typography-track/src/types.ts b/packages/typography-track/src/types.ts
index 9e07ce4b..f07825e0 100644
--- a/packages/typography-track/src/types.ts
+++ b/packages/typography-track/src/types.ts
@@ -7,9 +7,9 @@ import type {
VisualTextPaintLayer,
VisualTextSequenceAnimation,
VisualTextTypography,
-} from "@narratage/composition";
-import type { SpatialFrame, SpatialPath, SpatialPoint } from "@narratage/spatial";
-import type { OccurrenceExpansion, TemporalWindowProjection } from "@narratage/temporal";
+} from "@hypit/composition";
+import type { SpatialFrame, SpatialPath, SpatialPoint } from "@hypit/spatial";
+import type { OccurrenceExpansion, TemporalWindowProjection } from "@hypit/temporal";
export type TextDocument = VisualTextDocument;
export type TextTypography = VisualTextTypography;
@@ -70,7 +70,7 @@ export type TextItemSpec = {
/**
* Author/runtime-independent part of one plain-text item. The actual copy is
- * supplied by an ordinary @narratage/text Text edge and materialized into a
+ * supplied by an ordinary @hypit/text Text edge and materialized into a
* TextItemSpec before temporal projection.
*/
export type PlainTextItemSpec = {
diff --git a/packages/typography-track/test/typography-track.test.ts b/packages/typography-track/test/typography-track.test.ts
index 4b836d9e..17a81e10 100644
--- a/packages/typography-track/test/typography-track.test.ts
+++ b/packages/typography-track/test/typography-track.test.ts
@@ -3,18 +3,18 @@ import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
import { spatialComponent, videoContractManifests } from "../../../test/support/video-domain.js";
-import { registerTypeValidatorFacets } from "@narratage/component-kit";
-import { compositionTypes, sealComposition, sealVisualTrack } from "@narratage/composition";
-import { createResolvedClosure, sealBuildRequest, start } from "@narratage/core";
-import { AuthorFrontendRegistry, compileSourceClosure, resolveCompiledSourceExport } from "@narratage/elaborator";
-import { compileHyperframesDocument } from "@narratage/hyperframes";
-import { mediaDependency, mediaTypes } from "@narratage/media";
-import type { CompositableSurfaceRef, FontArtifactRef } from "@narratage/media";
-import type { NarrativeSelectionRef } from "@narratage/narrative";
-import { sealProgramSpace } from "@narratage/program-space";
-import { programSpaceDependency, programSpaceTypes } from "@narratage/program-space";
-import type { ModuleManifest } from "@narratage/protocol";
-import type { CompleteSemanticMap } from "@narratage/semantic-map";
+import { registerTypeValidatorFacets } from "@hypit/component-kit";
+import { compositionTypes, sealComposition, sealVisualTrack } from "@hypit/composition";
+import { createResolvedClosure, sealBuildRequest, start } from "@hypit/core";
+import { AuthorFrontendRegistry, compileSourceClosure, resolveCompiledSourceExport } from "@hypit/elaborator";
+import { compileHyperframesDocument } from "@hypit/hyperframes";
+import { mediaDependency, mediaTypes } from "@hypit/media";
+import type { CompositableSurfaceRef, FontArtifactRef } from "@hypit/media";
+import type { NarrativeSelectionRef } from "@hypit/narrative";
+import { sealProgramSpace } from "@hypit/program-space";
+import { programSpaceDependency, programSpaceTypes } from "@hypit/program-space";
+import type { ModuleManifest } from "@hypit/protocol";
+import type { CompleteSemanticMap } from "@hypit/semantic-map";
import {
appendSelectionTextItem,
bindAreaTextPlacement,
@@ -39,13 +39,13 @@ import {
typographyTrackModuleRef,
typographyTrackProducers,
typographyTrackTypes,
-} from "@narratage/typography-track";
-import type { TextStyle } from "@narratage/typography-track";
-import { spatialDependency, spatialTypes } from "@narratage/spatial";
-import { svsManifest, svsRecipeType } from "@narratage/svs";
-import { sealText, textComponent, textDependency, textManifest, textTypes } from "@narratage/text";
-import { MarkupSurfaceRegistry, createMarkupAuthorFrontend } from "@narratage/markup";
-import { createRecordAdmitter, TypeValidatorRegistry } from "@narratage/validation";
+} from "@hypit/typography-track";
+import type { TextStyle } from "@hypit/typography-track";
+import { spatialDependency, spatialTypes } from "@hypit/spatial";
+import { svsManifest, svsRecipeType } from "@hypit/svs";
+import { sealText, textComponent, textDependency, textManifest, textTypes } from "@hypit/text";
+import { MarkupSurfaceRegistry, createMarkupAuthorFrontend } from "@hypit/markup";
+import { createRecordAdmitter, TypeValidatorRegistry } from "@hypit/validation";
const space = sealProgramSpace({
durationSec: 5,
@@ -184,7 +184,7 @@ test("persistent and timed Text Items lower to ordinary VisualTrack Presents", (
assert.equal(track.presents[0]?.elements[2]?.kind, "text-flow");
const lower = sealVisualTrack({
- visualIr: "narratage.visual-ir@1",
+ visualIr: "hypit.visual-ir@1",
id: "lower",
presents: [{
id: "lower",
@@ -198,9 +198,9 @@ test("persistent and timed Text Items lower to ordinary VisualTrack Presents", (
canvas: { width: 1080, height: 1920, clearColor: "#000000" },
tracks: [track, lower],
}), space);
- assert.match(rendered.html, /data-narratage-text-run="run"/u);
+ assert.match(rendered.html, /data-hypit-text-run="run"/u);
assert.match(rendered.html, /background-image:linear-gradient\(#111111,#111111\)/u);
- assert.ok(rendered.html.indexOf('data-narratage-present-id="lower"') < rendered.html.indexOf('data-narratage-present-id="callout"'));
+ assert.ok(rendered.html.indexOf('data-hypit-present-id="lower"') < rendered.html.indexOf('data-hypit-present-id="callout"'));
});
test("Text Mask explicitly consumes one authored Text Program and one owned still Surface", () => {
@@ -321,7 +321,7 @@ test("the self-described Markup Surfaces compile Style, Motion and all three spa
],
} as const;
const fixtureManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: fixtureModule.name,
version: fixtureModule.version,
dependencies: [
@@ -414,10 +414,10 @@ test("the self-described Markup Surfaces compile Style, Motion and all three spa
entry: {
id: "/project/text.svml",
name: "text.svml",
- text: `<?svml using="@narratage/markup@1"?>
+ text: `<?svml using="@hypit/markup@1"?>
<svml>
<import as="fixture" from="example.text-inputs@1"/>
- <import as="text" from="@narratage/typography-track@1"/>
+ <import as="text" from="@hypit/typography-track@1"/>
<fixture:Inputs/>
<text:Style id="poster" recipe={editorial} font={exact-font}>
<text:Fill color="#f8fafc"/>
@@ -592,12 +592,12 @@ test("rich Text lowers ordered glyph layers, boxes, bounded flow, sequences and
id: "rich-text-film",
canvas: { width: 1080, height: 900, clearColor: "#000000" }, tracks: [track],
}), space);
- assert.match(rendered.html, /data-narratage-text-paint-layer="5"/u);
+ assert.match(rendered.html, /data-hypit-text-paint-layer="5"/u);
assert.match(rendered.html, /feMorphology/u);
assert.match(rendered.html, /linear-gradient\(30deg/u);
assert.match(rendered.html, /radial-gradient/u);
- assert.match(rendered.html, /data-narratage-text-overflow="shrink"/u);
- assert.match(rendered.html, /data-narratage-text-line-sequences/u);
+ assert.match(rendered.html, /data-hypit-text-overflow="shrink"/u);
+ assert.match(rendered.html, /data-hypit-text-line-sequences/u);
assert.match(rendered.html, /<textPath/u);
- assert.match(rendered.html, /data-narratage-text-path-margin/u);
+ assert.match(rendered.html, /data-hypit-text-path-margin/u);
});
diff --git a/packages/validation/README.md b/packages/validation/README.md
index 1aa431bb..a7c45fae 100644
--- a/packages/validation/README.md
+++ b/packages/validation/README.md
@@ -1,4 +1,4 @@
-# `@narratage/validation`
+# `@hypit/validation`
Host side semantic validation for package owned types.
diff --git a/packages/validation/package.json b/packages/validation/package.json
index ca6ac0c1..7a908132 100644
--- a/packages/validation/package.json
+++ b/packages/validation/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/validation",
+ "name": "@hypit/validation",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,8 +8,8 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/core": "workspace:*",
- "@narratage/protocol": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/core": "workspace:*",
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/validation/src/index.ts b/packages/validation/src/index.ts
index 10d02a73..c79b180b 100644
--- a/packages/validation/src/index.ts
+++ b/packages/validation/src/index.ts
@@ -1,18 +1,18 @@
import {
resolveType,
verifyRecordStructure,
-} from "@narratage/core";
+} from "@hypit/core";
import type {
TypeValidatorHandler,
TypeValidatorRegistrar,
-} from "@narratage/component-kit";
-import type { ResolvedModuleClosure, StoredValue, TypeRef, TypedRecord } from "@narratage/protocol";
+} from "@hypit/component-kit";
+import type { ResolvedModuleClosure, StoredValue, TypeRef, TypedRecord } from "@hypit/protocol";
function typeKey(type: TypeRef): string {
return `${type.module.name}@${type.module.version}#${type.name}`;
}
-export type { TypeValidatorContext, TypeValidatorHandler, TypeValidatorRegistrar } from "@narratage/component-kit";
+export type { TypeValidatorContext, TypeValidatorHandler, TypeValidatorRegistrar } from "@hypit/component-kit";
export type TypeValidatorRegistration = {
readonly handler: TypeValidatorHandler;
diff --git a/packages/video-cli/README.md b/packages/video-cli/README.md
index 76c702b5..02b66083 100644
--- a/packages/video-cli/README.md
+++ b/packages/video-cli/README.md
@@ -1,4 +1,4 @@
-# `@narratage/video-cli`
+# `@hypit/video-cli`
Official video command application. It selects the Markup compiler Host, but deliberately carries
no built-in author, Run, Provider or Store package.
@@ -11,22 +11,22 @@ From the repository:
```bash
cd path/to/project
-narratage runtime use narratage.runtime.json
-narratage check main.svml
-narratage plan build.svrun
-narratage build build.svrun --follow
-narratage status <build-id> --watch
-narratage builds
-narratage history [source-output-name] [--source ./main.svml]
-narratage inspect <build-id>
-narratage get <build-id> --name final.video --to ./final.mp4
-narratage cancel <build-id>
-narratage doctor
-narratage gc
+hypit runtime use hypit.runtime.json
+hypit check main.svml
+hypit plan build.svrun
+hypit build build.svrun --follow
+hypit status <build-id> --watch
+hypit builds
+hypit history [source-output-name] [--source ./main.svml]
+hypit inspect <build-id>
+hypit get <build-id> --name final.video --to ./final.mp4
+hypit cancel <build-id>
+hypit doctor
+hypit gc
```
Link the repository command once with `npm link`. It resolves its own TypeScript loader and CLI, so
-it neither invokes pnpm per command nor requires a separate project to contain Narratage's
+it neither invokes pnpm per command nor requires a separate project to contain Hypit's
`package.json`.
`--workspace` is only the Source Workspace containment boundary. `--asset-root` may additionally admit
@@ -82,10 +82,10 @@ output. Upstream work behind the selected Candidate is pruned by reverse reachab
unbound reachable output follows the ordinary graph. This is a new Build identity and never resumes
or copies the prior Build's outstanding Commands.
-`@narratage/package-loader-node` loads explicitly selected installed implementation packages and checks
+`@hypit/package-loader-node` loads explicitly selected installed implementation packages and checks
their Module, Host-facet, Producer and Validator contributions. Frontends are ordinary
-`narratage.source-frontend@1` Host facets, so the Loader does not
+`hypit.source-frontend@1` Host facets, so the Loader does not
select a syntax; each Source Header selects among installed Frontends. Run Fragment libraries enter
-only through the `narratage.run-fragment-host@1` facet. Source cannot
+only through the `hypit.run-fragment-host@1` facet. Source cannot
install a package or activate Provider/Runtime authority. Arbitrary untrusted community execution
remains absent until an isolated Worker and real permission boundary exist.
diff --git a/packages/video-cli/package.json b/packages/video-cli/package.json
index 6c27487e..865afa04 100644
--- a/packages/video-cli/package.json
+++ b/packages/video-cli/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/video-cli",
+ "name": "@hypit/video-cli",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,11 +8,11 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/cli": "workspace:*",
- "@narratage/compiler-markup-node": "workspace:*",
- "@narratage/markup": "workspace:*",
- "@narratage/package-loader-node": "workspace:*",
- "@narratage/runtime-local": "workspace:*",
- "@narratage/workspace-fs-node": "workspace:*"
+ "@hypit/cli": "workspace:*",
+ "@hypit/compiler-markup-node": "workspace:*",
+ "@hypit/markup": "workspace:*",
+ "@hypit/package-loader-node": "workspace:*",
+ "@hypit/runtime-local": "workspace:*",
+ "@hypit/workspace-fs-node": "workspace:*"
}
}
diff --git a/packages/video-cli/src/cli.ts b/packages/video-cli/src/cli.ts
index cb254bb3..d1879461 100644
--- a/packages/video-cli/src/cli.ts
+++ b/packages/video-cli/src/cli.ts
@@ -1,6 +1,6 @@
#!/usr/bin/env node
-import { renderCliError, writeCliHelp } from "@narratage/cli";
-import type { CliIo } from "@narratage/cli";
+import { renderCliError, writeCliHelp } from "@hypit/cli";
+import type { CliIo } from "@hypit/cli";
const argv = process.argv.slice(2);
const json = argv.includes("--json");
diff --git a/packages/video-cli/src/compiler.ts b/packages/video-cli/src/compiler.ts
index eefc191f..2ac4177f 100644
--- a/packages/video-cli/src/compiler.ts
+++ b/packages/video-cli/src/compiler.ts
@@ -1,6 +1,6 @@
-import type { CliCompilerOptions } from "@narratage/cli";
-import { createMarkupNodeCompiler } from "@narratage/compiler-markup-node";
-import { NodeFilesystemWorkspace } from "@narratage/workspace-fs-node";
+import type { CliCompilerOptions } from "@hypit/cli";
+import { createMarkupNodeCompiler } from "@hypit/compiler-markup-node";
+import { NodeFilesystemWorkspace } from "@hypit/workspace-fs-node";
/** Assemble the Markup compiler Host from only the packages selected for this invocation. */
export function createVideoCompiler(options: CliCompilerOptions) {
diff --git a/packages/video-cli/src/distribution.ts b/packages/video-cli/src/distribution.ts
index a56b2d29..1865271b 100644
--- a/packages/video-cli/src/distribution.ts
+++ b/packages/video-cli/src/distribution.ts
@@ -1,12 +1,12 @@
-import type { CliDistribution } from "@narratage/cli";
-import { openLocalRuntimeHost } from "@narratage/runtime-local";
+import type { CliDistribution } from "@hypit/cli";
+import { openLocalRuntimeHost } from "@hypit/runtime-local";
import { fileURLToPath } from "node:url";
import {
createVideoCompiler,
} from "./compiler.js";
const packageRoot = import.meta.dirname;
-const installedLauncher = process.env.NARRATAGE_CLI_LAUNCHER;
+const installedLauncher = process.env.HYPIT_CLI_LAUNCHER;
/** Official video authoring assembly for the generic CLI engine. */
export const videoCliDistribution: CliDistribution = {
diff --git a/packages/video-cli/src/index.ts b/packages/video-cli/src/index.ts
index 895b4239..89a82da2 100644
--- a/packages/video-cli/src/index.ts
+++ b/packages/video-cli/src/index.ts
@@ -2,9 +2,9 @@ import {
materializeArtifact,
materializeRecord,
runCli,
-} from "@narratage/cli";
-import type { CliIo } from "@narratage/cli";
-import type { LoadedPackage } from "@narratage/package-loader-node";
+} from "@hypit/cli";
+import type { CliIo } from "@hypit/cli";
+import type { LoadedPackage } from "@hypit/package-loader-node";
import { videoCliDistribution } from "./distribution.js";
diff --git a/packages/video-cli/src/package-selection.ts b/packages/video-cli/src/package-selection.ts
index c9944ab4..accbd667 100644
--- a/packages/video-cli/src/package-selection.ts
+++ b/packages/video-cli/src/package-selection.ts
@@ -1,9 +1,9 @@
-import { discoverSourcePackages } from "@narratage/cli";
+import { discoverSourcePackages } from "@hypit/cli";
import {
createMarkupAuthorFrontend,
MarkupSurfaceRegistry,
-} from "@narratage/markup";
-import type { LoadedPackage } from "@narratage/package-loader-node";
+} from "@hypit/markup";
+import type { LoadedPackage } from "@hypit/package-loader-node";
const markupFrontend = createMarkupAuthorFrontend({
registry: new MarkupSurfaceRegistry(),
diff --git a/packages/video-cli/test/cli.test.ts b/packages/video-cli/test/cli.test.ts
index baf8570f..d9d101f3 100644
--- a/packages/video-cli/test/cli.test.ts
+++ b/packages/video-cli/test/cli.test.ts
@@ -5,7 +5,7 @@ import { tmpdir } from "node:os";
import { join } from "node:path";
import test from "node:test";
-import { materializeRecord, runVideoCli, videoCliDistribution } from "@narratage/video-cli";
+import { materializeRecord, runVideoCli, videoCliDistribution } from "@hypit/video-cli";
import { videoTestPackages } from "./packages.js";
@@ -15,17 +15,17 @@ const runCli = (
) => runVideoCli([...argv, "--json"], io, videoTestPackages);
test("source package selection follows Run and Author imports", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-cli-package-selection-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-cli-package-selection-"));
try {
- await writeFile(join(root, "style.svs"), `<?svml using="@narratage/svs@1"?>\n<sheet version="1"/>`, "utf8");
- await writeFile(join(root, "main.svml"), `<?svml using="@narratage/markup@1"?>
+ await writeFile(join(root, "style.svs"), `<?svml using="@hypit/svs@1"?>\n<sheet version="1"/>`, "utf8");
+ await writeFile(join(root, "main.svml"), `<?svml using="@hypit/markup@1"?>
<svml>
- <import from="@narratage/script@1"/>
+ <import from="@hypit/script@1"/>
<import as="style" source="./style.svs"/>
<script id="story"><line><HOST>Hello.</line></script>
</svml>`, "utf8");
const run = join(root, "build.svrun");
- await writeFile(run, `<?svml using="@narratage/run-markup@1"?>
+ await writeFile(run, `<?svml using="@hypit/run-markup@1"?>
<svrun version="1">
<author source="./main.svml"/>
<target output="story"/>
@@ -34,7 +34,7 @@ test("source package selection follows Run and Author imports", async () => {
workspaceRoot: root,
packages: videoTestPackages,
});
- assert.deepEqual(discovered.selected, ["@narratage/run-markup", "@narratage/script", "@narratage/svs"]);
+ assert.deepEqual(discovered.selected, ["@hypit/run-markup", "@hypit/script", "@hypit/svs"]);
} finally {
await rm(root, { recursive: true, force: true });
}
@@ -61,7 +61,7 @@ test("provider-free example plans from installed Source packages", async () => {
});
test("materializeRecord copies an archived Artifact without rerunning a Build", async () => {
- const root = await mkdtemp(join(tmpdir(), "narratage-cli-get-"));
+ const root = await mkdtemp(join(tmpdir(), "hypit-cli-get-"));
try {
const bytes = Buffer.from("final-video-bytes");
const artifactDigest = `sha256:${createHash("sha256").update(bytes).digest("hex")}`;
diff --git a/packages/video-cli/test/packages.ts b/packages/video-cli/test/packages.ts
index 1e1fdc96..e24d2ec7 100644
--- a/packages/video-cli/test/packages.ts
+++ b/packages/video-cli/test/packages.ts
@@ -30,7 +30,7 @@ import visualIr from "../../visual-ir/src/activation.js";
import svs from "../../svs/src/activation.js";
import typographyTrack from "../../typography-track/src/activation.js";
import whisperX from "../../whisperx/src/activation.js";
-import type { NodePackageContribution } from "@narratage/package-loader-node";
+import type { NodePackageContribution } from "@hypit/package-loader-node";
const bind = (specifier: string, contribution: NodePackageContribution) => ({
specifier,
@@ -39,36 +39,36 @@ const bind = (specifier: string, contribution: NodePackageContribution) => ({
/** Test-only explicit environment; production video CLI starts with no author packages. */
export const videoTestPackages = [
- bind("@narratage/artifact", artifact),
- bind("@narratage/narrative", narrative),
- bind("@narratage/media", media),
- bind("@narratage/program-space", programSpace),
- bind("@narratage/speech", speech),
- bind("@narratage/speech-evidence", speechEvidence),
- bind("@narratage/semantic-map", semanticMap),
- bind("@narratage/visual-ir", visualIr),
- bind("@narratage/composition", composition),
- bind("@narratage/svs", svs),
- bind("@narratage/script", script),
- bind("@narratage/estimate", estimate),
- bind("@narratage/fonts-open", fontsOpen),
- bind("@narratage/text", text),
- bind("@narratage/generation", generation),
- bind("@narratage/seedance", seedance),
- bind("@narratage/caption", caption),
- bind("@narratage/caption-fine", captionFine),
- bind("@narratage/caption-gemini", captionGemini),
- bind("@narratage/speech-alignment", speechAlignment),
- bind("@narratage/speech-basis", speechBasis),
- bind("@narratage/speech-spine", speechSpine),
- bind("@narratage/whisperx", whisperX),
- bind("@narratage/spatial", spatial),
- bind("@narratage/temporal", temporal),
- bind("@narratage/media-track", mediaTrack),
- bind("@narratage/typography-track", typographyTrack),
- bind("@narratage/film", film),
- bind("@narratage/hyperframes", hyperframes),
- bind("@narratage/media-pipeline", mediaPipeline),
- bind("@narratage/render-hyperframes", renderHyperframes),
- bind("@narratage/run-markup", runMarkup),
+ bind("@hypit/artifact", artifact),
+ bind("@hypit/narrative", narrative),
+ bind("@hypit/media", media),
+ bind("@hypit/program-space", programSpace),
+ bind("@hypit/speech", speech),
+ bind("@hypit/speech-evidence", speechEvidence),
+ bind("@hypit/semantic-map", semanticMap),
+ bind("@hypit/visual-ir", visualIr),
+ bind("@hypit/composition", composition),
+ bind("@hypit/svs", svs),
+ bind("@hypit/script", script),
+ bind("@hypit/estimate", estimate),
+ bind("@hypit/fonts-open", fontsOpen),
+ bind("@hypit/text", text),
+ bind("@hypit/generation", generation),
+ bind("@hypit/seedance", seedance),
+ bind("@hypit/caption", caption),
+ bind("@hypit/caption-fine", captionFine),
+ bind("@hypit/caption-gemini", captionGemini),
+ bind("@hypit/speech-alignment", speechAlignment),
+ bind("@hypit/speech-basis", speechBasis),
+ bind("@hypit/speech-spine", speechSpine),
+ bind("@hypit/whisperx", whisperX),
+ bind("@hypit/spatial", spatial),
+ bind("@hypit/temporal", temporal),
+ bind("@hypit/media-track", mediaTrack),
+ bind("@hypit/typography-track", typographyTrack),
+ bind("@hypit/film", film),
+ bind("@hypit/hyperframes", hyperframes),
+ bind("@hypit/media-pipeline", mediaPipeline),
+ bind("@hypit/render-hyperframes", renderHyperframes),
+ bind("@hypit/run-markup", runMarkup),
] as const;
diff --git a/packages/visual-ir/README.md b/packages/visual-ir/README.md
index 3677a435..8cb13cd3 100644
--- a/packages/visual-ir/README.md
+++ b/packages/visual-ir/README.md
@@ -1,4 +1,4 @@
-# `@narratage/visual-ir`
+# `@hypit/visual-ir`
The renderer-neutral, code-free terminal visual vocabulary. HyperFrames is the current reference
render route, not the identity or only possible implementation of this IR.
diff --git a/packages/visual-ir/package.json b/packages/visual-ir/package.json
index 12c14d2f..016e4bf3 100644
--- a/packages/visual-ir/package.json
+++ b/packages/visual-ir/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/visual-ir",
+ "name": "@hypit/visual-ir",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,10 +7,10 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*"
+ "@hypit/protocol": "workspace:*"
}
}
diff --git a/packages/visual-ir/src/activation.ts b/packages/visual-ir/src/activation.ts
index cda440de..3bce7905 100644
--- a/packages/visual-ir/src/activation.ts
+++ b/packages/visual-ir/src/activation.ts
@@ -1,3 +1,3 @@
import { visualIrManifest } from "./index.js";
-export const narratagePackage = { format: "narratage.node-package@1" as const, modules: [{ manifest: visualIrManifest }] };
-export default narratagePackage;
+export const hypitPackage = { format: "hypit.node-package@1" as const, modules: [{ manifest: visualIrManifest }] };
+export default hypitPackage;
diff --git a/packages/visual-ir/src/index.ts b/packages/visual-ir/src/index.ts
index ff2407a5..6d05f8b1 100644
--- a/packages/visual-ir/src/index.ts
+++ b/packages/visual-ir/src/index.ts
@@ -1,7 +1,7 @@
-import type { ModuleManifest } from "@narratage/protocol";
+import type { ModuleManifest } from "@hypit/protocol";
export { assertVisualStyleV1, VISUAL_IR_V1, VISUAL_STYLE_ENUM_VALUES_V1, VISUAL_STYLE_NAMES_V1 } from "./style.js";
export type * from "./style.js";
-export const visualIrModuleRef = { name: "@narratage/visual-ir", version: "1" } as const;
-export const visualIrManifest: ModuleManifest = { format: "narratage.module@1", name: visualIrModuleRef.name, version: visualIrModuleRef.version,
+export const visualIrModuleRef = { name: "@hypit/visual-ir", version: "1" } as const;
+export const visualIrManifest: ModuleManifest = { format: "hypit.module@1", name: visualIrModuleRef.name, version: visualIrModuleRef.version,
dependencies: [], types: [], capabilities: [], producers: [] };
export const visualIrDependency = { module: visualIrModuleRef } as const;
diff --git a/packages/visual-ir/src/style.ts b/packages/visual-ir/src/style.ts
index ec6b0192..f3034c3e 100644
--- a/packages/visual-ir/src/style.ts
+++ b/packages/visual-ir/src/style.ts
@@ -6,7 +6,7 @@
*
* This is a video contract, not a Core concept and not an author component.
*/
-export const VISUAL_IR_V1 = "narratage.visual-ir@1" as const;
+export const VISUAL_IR_V1 = "hypit.visual-ir@1" as const;
/**
* Closed CSS-shaped vocabulary for public visual Visual IR v1.
diff --git a/packages/whisperx/README.md b/packages/whisperx/README.md
index 4dea4501..6e3493e1 100644
--- a/packages/whisperx/README.md
+++ b/packages/whisperx/README.md
@@ -1,4 +1,4 @@
-# @narratage/whisperx
+# @hypit/whisperx
Explicit WhisperX model-family capability for the official speech program. Importing this package
selects WhisperX; Runtime registration only binds the resulting alignment Need to
@@ -8,11 +8,11 @@ The package contains no credentials, Python environment or queue. Providers tran
request directly into provider-neutral `AlignedTranscriptEvidence`. There is no vendor-shaped
Evidence wrapper or pass-through normalization node in the graph.
-The request Producer consumes only canonical `SpeechEvidenceAudio` bytes. `@narratage/media-pipeline`
+The request Producer consumes only canonical `SpeechEvidenceAudio` bytes. `@hypit/media-pipeline`
first requests the explicit 48 kHz stereo speech-master → 16 kHz mono evidence projection. Authored
Segment identity never enters the WhisperX Need or Provider. The later Speech Alignment operation
receives `SpeechAudioBasis` through its own graph edge and assigns acoustic passages to its exact
Segment frame windows there.
-`@narratage/provider-whisperx-local` is the first concrete adapter; it validates and stages those bytes
+`@hypit/provider-whisperx-local` is the first concrete adapter; it validates and stages those bytes
unchanged for a warm loopback service.
diff --git a/packages/whisperx/package.json b/packages/whisperx/package.json
index c80857b9..3d40e431 100644
--- a/packages/whisperx/package.json
+++ b/packages/whisperx/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/whisperx",
+ "name": "@hypit/whisperx",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -7,22 +7,22 @@
"exports": {
".": "./src/index.ts"
},
- "narratage": {
+ "hypit": {
"activation": "./src/activation.ts"
},
"dependencies": {
- "@narratage/component-kit": "workspace:*",
- "@narratage/elaborator": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/narrative": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/semantic-map": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/speech-alignment": "workspace:*",
- "@narratage/speech-evidence": "workspace:*",
- "@narratage/markup": "workspace:*"
+ "@hypit/component-kit": "workspace:*",
+ "@hypit/elaborator": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/narrative": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/semantic-map": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/speech-alignment": "workspace:*",
+ "@hypit/speech-evidence": "workspace:*",
+ "@hypit/markup": "workspace:*"
},
"devDependencies": {
- "@narratage/program-space": "workspace:*"
+ "@hypit/program-space": "workspace:*"
}
}
diff --git a/packages/whisperx/src/activation.ts b/packages/whisperx/src/activation.ts
index 7cd0eb8b..dcf13646 100644
--- a/packages/whisperx/src/activation.ts
+++ b/packages/whisperx/src/activation.ts
@@ -1,12 +1,12 @@
-import { createMarkupSurfaceHostFacet } from "@narratage/markup";
+import { createMarkupSurfaceHostFacet } from "@hypit/markup";
import {
decodeWhisperXAlignmentSurface, whisperXComponent,
whisperXManifest, whisperXModuleRef,
whisperXMarkupSurfaces,
} from "./index.js";
-export const narratagePackage = {
- format: "narratage.node-package@1" as const,
+export const hypitPackage = {
+ format: "hypit.node-package@1" as const,
modules: [{ manifest: whisperXManifest }],
components: [whisperXComponent],
hostFacets: [createMarkupSurfaceHostFacet({
@@ -15,4 +15,4 @@ export const narratagePackage = {
handler: decodeWhisperXAlignmentSurface,
})],
};
-export default narratagePackage;
+export default hypitPackage;
diff --git a/packages/whisperx/src/component.ts b/packages/whisperx/src/component.ts
index 4034c8ef..ffeeafee 100644
--- a/packages/whisperx/src/component.ts
+++ b/packages/whisperx/src/component.ts
@@ -1,7 +1,7 @@
-import type { ComponentPackage } from "@narratage/component-kit";
-import type { SpeechEvidenceAudio } from "@narratage/speech";
-import type { CanonicalValue, StoredValue } from "@narratage/protocol";
-import { canonicalize } from "@narratage/protocol";
+import type { ComponentPackage } from "@hypit/component-kit";
+import type { SpeechEvidenceAudio } from "@hypit/speech";
+import type { CanonicalValue, StoredValue } from "@hypit/protocol";
+import { canonicalize } from "@hypit/protocol";
import { whisperXRequestForEvidenceAudio } from "./evidence.js";
import { whisperXProducers } from "./manifest.js";
diff --git a/packages/whisperx/src/evidence.ts b/packages/whisperx/src/evidence.ts
index 5f965ed7..009f60be 100644
--- a/packages/whisperx/src/evidence.ts
+++ b/packages/whisperx/src/evidence.ts
@@ -1,5 +1,5 @@
-import { assertSpeechEvidenceAudioIdentity } from "@narratage/speech";
-import type { SpeechEvidenceAudio } from "@narratage/speech";
+import { assertSpeechEvidenceAudioIdentity } from "@hypit/speech";
+import type { SpeechEvidenceAudio } from "@hypit/speech";
import type { WhisperXAlignmentRequest } from "./types.js";
export function whisperXRequestForEvidenceAudio(
diff --git a/packages/whisperx/src/fragment.ts b/packages/whisperx/src/fragment.ts
index 65b80fcd..e148929f 100644
--- a/packages/whisperx/src/fragment.ts
+++ b/packages/whisperx/src/fragment.ts
@@ -1,10 +1,10 @@
-import { narrativeTypes } from "@narratage/narrative";
-import { speechTypes } from "@narratage/speech";
-import { speechEvidenceTypes } from "@narratage/speech-evidence";
-import { semanticMapTypes } from "@narratage/semantic-map";
-import { sealGraphFragment } from "@narratage/elaborator";
-import { mediaPipelineProducers } from "@narratage/media-pipeline";
-import { speechAlignmentProducers } from "@narratage/speech-alignment";
+import { narrativeTypes } from "@hypit/narrative";
+import { speechTypes } from "@hypit/speech";
+import { speechEvidenceTypes } from "@hypit/speech-evidence";
+import { semanticMapTypes } from "@hypit/semantic-map";
+import { sealGraphFragment } from "@hypit/elaborator";
+import { mediaPipelineProducers } from "@hypit/media-pipeline";
+import { speechAlignmentProducers } from "@hypit/speech-alignment";
import { whisperXProducers } from "./manifest.js";
diff --git a/packages/whisperx/src/manifest.ts b/packages/whisperx/src/manifest.ts
index a9911876..f5e376d6 100644
--- a/packages/whisperx/src/manifest.ts
+++ b/packages/whisperx/src/manifest.ts
@@ -1,11 +1,11 @@
-import { speechDependency, speechTypes } from "@narratage/speech";
-import { speechEvidenceDependency, speechEvidenceTypes } from "@narratage/speech-evidence";
-import { semanticMapDependency, semanticMapTypes } from "@narratage/semantic-map";
-import type { CapabilityRef, ModuleManifest, ProducerRef } from "@narratage/protocol";
-import { mediaPipelineManifest, mediaPipelineModuleRef } from "@narratage/media-pipeline";
-import { speechAlignmentManifest, speechAlignmentModuleRef } from "@narratage/speech-alignment";
+import { speechDependency, speechTypes } from "@hypit/speech";
+import { speechEvidenceDependency, speechEvidenceTypes } from "@hypit/speech-evidence";
+import { semanticMapDependency, semanticMapTypes } from "@hypit/semantic-map";
+import type { CapabilityRef, ModuleManifest, ProducerRef } from "@hypit/protocol";
+import { mediaPipelineManifest, mediaPipelineModuleRef } from "@hypit/media-pipeline";
+import { speechAlignmentManifest, speechAlignmentModuleRef } from "@hypit/speech-alignment";
-export const whisperXModuleRef = { name: "@narratage/whisperx", version: "1" } as const;
+export const whisperXModuleRef = { name: "@hypit/whisperx", version: "1" } as const;
export const whisperXCapabilities = {
alignment: { module: whisperXModuleRef, name: "whisperx-alignment" },
} satisfies Record<string, CapabilityRef>;
@@ -22,7 +22,7 @@ export const whisperXMarkupSurfaces = [{
export const whisperXManifest: ModuleManifest = {
- format: "narratage.module@1",
+ format: "hypit.module@1",
name: whisperXModuleRef.name,
version: whisperXModuleRef.version,
dependencies: [
diff --git a/packages/whisperx/src/surface.ts b/packages/whisperx/src/surface.ts
index 9aa998e7..f04b8493 100644
--- a/packages/whisperx/src/surface.ts
+++ b/packages/whisperx/src/surface.ts
@@ -1,11 +1,11 @@
-import { narrativeTypes } from "@narratage/narrative";
-import { speechTypes } from "@narratage/speech";
+import { narrativeTypes } from "@hypit/narrative";
+import { speechTypes } from "@hypit/speech";
import type {
StructuredElement,
StructuredSurfaceHandler,
SurfaceResolvedReference,
MarkupAttributeValue,
-} from "@narratage/markup";
+} from "@hypit/markup";
import { whisperXSpeechAlignmentFragment } from "./fragment.js";
diff --git a/packages/whisperx/src/types.ts b/packages/whisperx/src/types.ts
index 6022499f..db434e37 100644
--- a/packages/whisperx/src/types.ts
+++ b/packages/whisperx/src/types.ts
@@ -1,4 +1,4 @@
-import type { SpeechEvidenceAudio } from "@narratage/speech";
+import type { SpeechEvidenceAudio } from "@hypit/speech";
export type WhisperXAlignmentRequest = {
readonly audio: SpeechEvidenceAudio["artifact"];
diff --git a/packages/whisperx/test/whisperx.test.ts b/packages/whisperx/test/whisperx.test.ts
index ec4ae2c4..0d337ecd 100644
--- a/packages/whisperx/test/whisperx.test.ts
+++ b/packages/whisperx/test/whisperx.test.ts
@@ -1,20 +1,20 @@
import {
registerProducerFacets,
-} from "@narratage/component-kit";
-import type { ProducerRegistrar } from "@narratage/component-kit";
-import { sealProgramSpace } from "@narratage/program-space";
-import { sealSpeechBasis, sealSpeechEvidenceAudio } from "@narratage/speech";
-import type { SpeechBasis, SpeechEvidenceAudio } from "@narratage/speech";
+} from "@hypit/component-kit";
+import type { ProducerRegistrar } from "@hypit/component-kit";
+import { sealProgramSpace } from "@hypit/program-space";
+import { sealSpeechBasis, sealSpeechEvidenceAudio } from "@hypit/speech";
+import type { SpeechBasis, SpeechEvidenceAudio } from "@hypit/speech";
import assert from "node:assert/strict";
import test from "node:test";
import { fixtureDigest } from "../../../test/fixture-digest.js";
-import type { Digest, ProducerRef } from "@narratage/protocol";
+import type { Digest, ProducerRef } from "@hypit/protocol";
import {
whisperXComponent,
whisperXProducers,
whisperXRequestForEvidenceAudio,
-} from "@narratage/whisperx";
+} from "@hypit/whisperx";
function basis() {
const programSpace = sealProgramSpace({
diff --git a/packages/workspace-fs-node/README.md b/packages/workspace-fs-node/README.md
index c82af280..c71aed4f 100644
--- a/packages/workspace-fs-node/README.md
+++ b/packages/workspace-fs-node/README.md
@@ -1,4 +1,4 @@
-# `@narratage/workspace-fs-node`
+# `@hypit/workspace-fs-node`
Reference Node filesystem implementation of the host-neutral `Workspace` contract.
diff --git a/packages/workspace-fs-node/package.json b/packages/workspace-fs-node/package.json
index 80e78fd0..2e791916 100644
--- a/packages/workspace-fs-node/package.json
+++ b/packages/workspace-fs-node/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/workspace-fs-node",
+ "name": "@hypit/workspace-fs-node",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,8 +8,8 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/workspace": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/source": "workspace:*"
+ "@hypit/workspace": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/source": "workspace:*"
}
}
diff --git a/packages/workspace-fs-node/src/workspace.ts b/packages/workspace-fs-node/src/workspace.ts
index 14d3f143..08089021 100644
--- a/packages/workspace-fs-node/src/workspace.ts
+++ b/packages/workspace-fs-node/src/workspace.ts
@@ -7,14 +7,14 @@ import type {
SourceAssetRequest,
SourceImportRequest,
SourceUnit,
-} from "@narratage/source";
+} from "@hypit/source";
import type {
ArtifactAttachment,
Workspace,
WorkspaceSession,
-} from "@narratage/workspace";
-import { WorkspaceError } from "@narratage/workspace";
-import type { BlobRef } from "@narratage/protocol";
+} from "@hypit/workspace";
+import { WorkspaceError } from "@hypit/workspace";
+import type { BlobRef } from "@hypit/protocol";
function isWithin(root: string, path: string): boolean {
const relation = relative(root, path);
diff --git a/packages/workspace/README.md b/packages/workspace/README.md
index 1f5872f9..c421ef8e 100644
--- a/packages/workspace/README.md
+++ b/packages/workspace/README.md
@@ -1,4 +1,4 @@
-# `@narratage/workspace`
+# `@hypit/workspace`
Replaceable Author/Run source and asset sessions. Filesystem, browser, Git, memory and remote
implementations can provide the same port without entering Core or the generic Host-facet package.
diff --git a/packages/workspace/package.json b/packages/workspace/package.json
index 63356fe8..d4a155ab 100644
--- a/packages/workspace/package.json
+++ b/packages/workspace/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/workspace",
+ "name": "@hypit/workspace",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,7 +8,7 @@
".": "./src/index.ts"
},
"dependencies": {
- "@narratage/protocol": "workspace:*",
- "@narratage/source": "workspace:*"
+ "@hypit/protocol": "workspace:*",
+ "@hypit/source": "workspace:*"
}
}
diff --git a/packages/workspace/src/index.ts b/packages/workspace/src/index.ts
index 523ebb6f..987b4b1a 100644
--- a/packages/workspace/src/index.ts
+++ b/packages/workspace/src/index.ts
@@ -3,8 +3,8 @@ import type {
SourceAssetResolver,
SourceResolver,
SourceUnit,
-} from "@narratage/source";
-import type { BlobRef } from "@narratage/protocol";
+} from "@hypit/source";
+import type { BlobRef } from "@hypit/protocol";
/** Repeatably openable transfer bytes admitted by the selected Workspace. */
export type ArtifactAttachment = {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2f8b2611..658f5136 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -8,205 +8,205 @@ importers:
.:
devDependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:packages/artifact
- '@narratage/artifact-store-fs':
+ '@hypit/artifact-store-fs':
specifier: workspace:*
version: link:packages/artifact-store-fs
- '@narratage/artifact-store-s3':
+ '@hypit/artifact-store-s3':
specifier: workspace:*
version: link:packages/artifact-store-s3
- '@narratage/audio-track':
+ '@hypit/audio-track':
specifier: workspace:*
version: link:packages/audio-track
- '@narratage/background-removal':
+ '@hypit/background-removal':
specifier: workspace:*
version: link:packages/background-removal
- '@narratage/caption':
+ '@hypit/caption':
specifier: workspace:*
version: link:packages/caption
- '@narratage/caption-fine':
+ '@hypit/caption-fine':
specifier: workspace:*
version: link:packages/caption-fine
- '@narratage/caption-gemini':
+ '@hypit/caption-gemini':
specifier: workspace:*
version: link:packages/caption-gemini
- '@narratage/comment-sticker':
+ '@hypit/comment-sticker':
specifier: workspace:*
version: link:packages/comment-sticker
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:packages/composition
- '@narratage/credential-store-env':
+ '@hypit/credential-store-env':
specifier: workspace:*
version: link:packages/credential-store-env
- '@narratage/credential-store-keychain':
+ '@hypit/credential-store-keychain':
specifier: workspace:*
version: link:packages/credential-store-keychain
- '@narratage/deck-track':
+ '@hypit/deck-track':
specifier: workspace:*
version: link:packages/deck-track
- '@narratage/estimate':
+ '@hypit/estimate':
specifier: workspace:*
version: link:packages/estimate
- '@narratage/film':
+ '@hypit/film':
specifier: workspace:*
version: link:packages/film
- '@narratage/fonts-open':
+ '@hypit/fonts-open':
specifier: workspace:*
version: link:packages/fonts-open
- '@narratage/gemini-omni':
+ '@hypit/gemini-omni':
specifier: workspace:*
version: link:packages/gemini-omni
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:packages/generation
- '@narratage/gpt-image':
+ '@hypit/gpt-image':
specifier: workspace:*
version: link:packages/gpt-image
- '@narratage/grok-imagine':
+ '@hypit/grok-imagine':
specifier: workspace:*
version: link:packages/grok-imagine
- '@narratage/hyperframes':
+ '@hypit/hyperframes':
specifier: workspace:*
version: link:packages/hyperframes
- '@narratage/image-compose':
+ '@hypit/image-compose':
specifier: workspace:*
version: link:packages/image-compose
- '@narratage/image-transform':
+ '@hypit/image-transform':
specifier: workspace:*
version: link:packages/image-transform
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:packages/media
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:packages/media-pipeline
- '@narratage/media-track':
+ '@hypit/media-track':
specifier: workspace:*
version: link:packages/media-track
- '@narratage/mimo-tts':
+ '@hypit/mimo-tts':
specifier: workspace:*
version: link:packages/mimo-tts
- '@narratage/minimax-h3':
+ '@hypit/minimax-h3':
specifier: workspace:*
version: link:packages/minimax-h3
- '@narratage/nano-banana':
+ '@hypit/nano-banana':
specifier: workspace:*
version: link:packages/nano-banana
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:packages/narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:packages/program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:packages/protocol
- '@narratage/provider-google-vertex':
+ '@hypit/provider-google-vertex':
specifier: workspace:*
version: link:packages/provider-google-vertex
- '@narratage/provider-hyperframes-aws-lambda':
+ '@hypit/provider-hyperframes-aws-lambda':
specifier: workspace:*
version: link:packages/provider-hyperframes-aws-lambda
- '@narratage/provider-hyperframes-local':
+ '@hypit/provider-hyperframes-local':
specifier: workspace:*
version: link:packages/provider-hyperframes-local
- '@narratage/provider-image-opencv-local':
+ '@hypit/provider-image-opencv-local':
specifier: workspace:*
version: link:packages/provider-image-opencv-local
- '@narratage/provider-kie':
+ '@hypit/provider-kie':
specifier: workspace:*
version: link:packages/provider-kie
- '@narratage/provider-media-aws-lambda':
+ '@hypit/provider-media-aws-lambda':
specifier: workspace:*
version: link:packages/provider-media-aws-lambda
- '@narratage/provider-media-local':
+ '@hypit/provider-media-local':
specifier: workspace:*
version: link:packages/provider-media-local
- '@narratage/provider-whisperx-local':
+ '@hypit/provider-whisperx-local':
specifier: workspace:*
version: link:packages/provider-whisperx-local
- '@narratage/provider-xiaomi-mimo':
+ '@hypit/provider-xiaomi-mimo':
specifier: workspace:*
version: link:packages/provider-xiaomi-mimo
- '@narratage/ranking':
+ '@hypit/ranking':
specifier: workspace:*
version: link:packages/ranking
- '@narratage/raster':
+ '@hypit/raster':
specifier: workspace:*
version: link:packages/raster
- '@narratage/render-hyperframes':
+ '@hypit/render-hyperframes':
specifier: workspace:*
version: link:packages/render-hyperframes
- '@narratage/run-markup':
+ '@hypit/run-markup':
specifier: workspace:*
version: link:packages/run-markup
- '@narratage/runtime-host-node':
+ '@hypit/runtime-host-node':
specifier: workspace:*
version: link:packages/runtime-host-node
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:packages/runtime-kit
- '@narratage/runtime-local':
+ '@hypit/runtime-local':
specifier: workspace:*
version: link:packages/runtime-local
- '@narratage/screen-overlay':
+ '@hypit/screen-overlay':
specifier: workspace:*
version: link:packages/screen-overlay
- '@narratage/script':
+ '@hypit/script':
specifier: workspace:*
version: link:packages/script
- '@narratage/seedance':
+ '@hypit/seedance':
specifier: workspace:*
version: link:packages/seedance
- '@narratage/seedance-kits':
+ '@hypit/seedance-kits':
specifier: workspace:*
version: link:packages/seedance-kits
- '@narratage/seedream':
+ '@hypit/seedream':
specifier: workspace:*
version: link:packages/seedream
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:packages/semantic-map
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:packages/spatial
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:packages/speech
- '@narratage/speech-alignment':
+ '@hypit/speech-alignment':
specifier: workspace:*
version: link:packages/speech-alignment
- '@narratage/speech-basis':
+ '@hypit/speech-basis':
specifier: workspace:*
version: link:packages/speech-basis
- '@narratage/speech-evidence':
+ '@hypit/speech-evidence':
specifier: workspace:*
version: link:packages/speech-evidence
- '@narratage/speech-spine':
+ '@hypit/speech-spine':
specifier: workspace:*
version: link:packages/speech-spine
- '@narratage/store-sqlite':
+ '@hypit/store-sqlite':
specifier: workspace:*
version: link:packages/store-sqlite
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:packages/svs
- '@narratage/temporal':
+ '@hypit/temporal':
specifier: workspace:*
version: link:packages/temporal
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:packages/text
- '@narratage/typography-track':
+ '@hypit/typography-track':
specifier: workspace:*
version: link:packages/typography-track
- '@narratage/visual-ir':
+ '@hypit/visual-ir':
specifier: workspace:*
version: link:packages/visual-ir
- '@narratage/whisperx':
+ '@hypit/whisperx':
specifier: workspace:*
version: link:packages/whisperx
'@types/node':
@@ -227,19 +227,19 @@ importers:
packages/artifact:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/artifact-store-fs:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
@@ -248,230 +248,230 @@ importers:
'@aws-sdk/client-s3':
specifier: ^3.1103.0
version: 3.1103.0
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
packages/audio-track:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/temporal':
+ '@hypit/temporal':
specifier: workspace:*
version: link:../temporal
devDependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
- '@narratage/speech-evidence':
+ '@hypit/speech-evidence':
specifier: workspace:*
version: link:../speech-evidence
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
- '@narratage/visual-ir':
+ '@hypit/visual-ir':
specifier: workspace:*
version: link:../visual-ir
packages/background-removal:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/caption:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
devDependencies:
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/script':
+ '@hypit/script':
specifier: workspace:*
version: link:../script
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
- '@narratage/speech-alignment':
+ '@hypit/speech-alignment':
specifier: workspace:*
version: link:../speech-alignment
- '@narratage/speech-evidence':
+ '@hypit/speech-evidence':
specifier: workspace:*
version: link:../speech-evidence
packages/caption-fine:
dependencies:
- '@narratage/caption':
+ '@hypit/caption':
specifier: workspace:*
version: link:../caption
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
devDependencies:
- '@narratage/script':
+ '@hypit/script':
specifier: workspace:*
version: link:../script
packages/caption-gemini:
dependencies:
- '@narratage/caption':
+ '@hypit/caption':
specifier: workspace:*
version: link:../caption
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
devDependencies:
- '@narratage/script':
+ '@hypit/script':
specifier: workspace:*
version: link:../script
packages/caption-playground:
dependencies:
- '@narratage/caption':
+ '@hypit/caption':
specifier: workspace:*
version: link:../caption
- '@narratage/caption-fine':
+ '@hypit/caption-fine':
specifier: workspace:*
version: link:../caption-fine
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/fonts-open':
+ '@hypit/fonts-open':
specifier: workspace:*
version: link:../fonts-open
- '@narratage/hyperframes':
+ '@hypit/hyperframes':
specifier: workspace:*
version: link:../hyperframes
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/package-loader-node':
+ '@hypit/package-loader-node':
specifier: workspace:*
version: link:../package-loader-node
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
- '@narratage/video-cli':
+ '@hypit/video-cli':
specifier: workspace:*
version: link:../video-cli
- '@narratage/workspace':
+ '@hypit/workspace':
specifier: workspace:*
version: link:../workspace
vite:
@@ -480,339 +480,339 @@ importers:
packages/cli:
dependencies:
- '@narratage/compiler-node':
+ '@hypit/compiler-node':
specifier: workspace:*
version: link:../compiler-node
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/package-loader-node':
+ '@hypit/package-loader-node':
specifier: workspace:*
version: link:../package-loader-node
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/run':
+ '@hypit/run':
specifier: workspace:*
version: link:../run
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-host-node':
+ '@hypit/runtime-host-node':
specifier: workspace:*
version: link:../runtime-host-node
- '@narratage/source':
+ '@hypit/source':
specifier: workspace:*
version: link:../source
- '@narratage/workspace':
+ '@hypit/workspace':
specifier: workspace:*
version: link:../workspace
packages/comment-sticker:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
- '@narratage/temporal':
+ '@hypit/temporal':
specifier: workspace:*
version: link:../temporal
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
devDependencies:
- '@narratage/hyperframes':
+ '@hypit/hyperframes':
specifier: workspace:*
version: link:../hyperframes
packages/compiler-markup-node:
dependencies:
- '@narratage/compiler-node':
+ '@hypit/compiler-node':
specifier: workspace:*
version: link:../compiler-node
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/package-loader-node':
+ '@hypit/package-loader-node':
specifier: workspace:*
version: link:../package-loader-node
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
- '@narratage/workspace':
+ '@hypit/workspace':
specifier: workspace:*
version: link:../workspace
devDependencies:
- '@narratage/workspace-fs-node':
+ '@hypit/workspace-fs-node':
specifier: workspace:*
version: link:../workspace-fs-node
packages/compiler-node:
dependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/run':
+ '@hypit/run':
specifier: workspace:*
version: link:../run
- '@narratage/source':
+ '@hypit/source':
specifier: workspace:*
version: link:../source
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
- '@narratage/workspace':
+ '@hypit/workspace':
specifier: workspace:*
version: link:../workspace
devDependencies:
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/run-markup':
+ '@hypit/run-markup':
specifier: workspace:*
version: link:../run-markup
- '@narratage/workspace-fs-node':
+ '@hypit/workspace-fs-node':
specifier: workspace:*
version: link:../workspace-fs-node
packages/component-kit:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/composition:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/visual-ir':
+ '@hypit/visual-ir':
specifier: workspace:*
version: link:../visual-ir
devDependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
- '@narratage/speech-evidence':
+ '@hypit/speech-evidence':
specifier: workspace:*
version: link:../speech-evidence
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
packages/core:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/credential-store-env:
dependencies:
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
packages/credential-store-keychain:
dependencies:
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
packages/deck-track:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/media-track':
+ '@hypit/media-track':
specifier: workspace:*
version: link:../media-track
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
- '@narratage/temporal':
+ '@hypit/temporal':
specifier: workspace:*
version: link:../temporal
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
packages/driver-node:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
packages/elaborator:
dependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/host':
+ '@hypit/host':
specifier: workspace:*
version: link:../host
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/source':
+ '@hypit/source':
specifier: workspace:*
version: link:../source
packages/endpoint-kit:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
packages/estimate:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
cmu-pronouncing-dictionary:
@@ -821,50 +821,50 @@ importers:
packages/film:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/hyperframes':
+ '@hypit/hyperframes':
specifier: workspace:*
version: link:../hyperframes
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
- '@narratage/typography-track':
+ '@hypit/typography-track':
specifier: workspace:*
version: link:../typography-track
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
@@ -1197,132 +1197,132 @@ importers:
'@infolektuell/noto-color-emoji':
specifier: 0.2.0
version: 0.2.0
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/gemini-omni:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/model-kit':
+ '@hypit/model-kit':
specifier: workspace:*
version: link:../model-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
packages/generation:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
devDependencies:
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
packages/gpt-image:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/image-transform':
+ '@hypit/image-transform':
specifier: workspace:*
version: link:../image-transform
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/model-kit':
+ '@hypit/model-kit':
specifier: workspace:*
version: link:../model-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/raster':
+ '@hypit/raster':
specifier: workspace:*
version: link:../raster
- '@narratage/run':
+ '@hypit/run':
specifier: workspace:*
version: link:../run
- '@narratage/seedance':
+ '@hypit/seedance':
specifier: workspace:*
version: link:../seedance
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
packages/grok-imagine:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/model-kit':
+ '@hypit/model-kit':
specifier: workspace:*
version: link:../model-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
@@ -1330,338 +1330,338 @@ importers:
packages/hyperframes:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/visual-ir':
+ '@hypit/visual-ir':
specifier: workspace:*
version: link:../visual-ir
devDependencies:
- '@narratage/caption':
+ '@hypit/caption':
specifier: workspace:*
version: link:../caption
- '@narratage/caption-fine':
+ '@hypit/caption-fine':
specifier: workspace:*
version: link:../caption-fine
- '@narratage/deck-track':
+ '@hypit/deck-track':
specifier: workspace:*
version: link:../deck-track
- '@narratage/fonts-open':
+ '@hypit/fonts-open':
specifier: workspace:*
version: link:../fonts-open
- '@narratage/media-track':
+ '@hypit/media-track':
specifier: workspace:*
version: link:../media-track
- '@narratage/ranking':
+ '@hypit/ranking':
specifier: workspace:*
version: link:../ranking
- '@narratage/screen-overlay':
+ '@hypit/screen-overlay':
specifier: workspace:*
version: link:../screen-overlay
- '@narratage/script':
+ '@hypit/script':
specifier: workspace:*
version: link:../script
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
- '@narratage/typography-track':
+ '@hypit/typography-track':
specifier: workspace:*
version: link:../typography-track
packages/image-compose:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/raster':
+ '@hypit/raster':
specifier: workspace:*
version: link:../raster
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
packages/image-transform:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/raster':
+ '@hypit/raster':
specifier: workspace:*
version: link:../raster
packages/markup:
dependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/host':
+ '@hypit/host':
specifier: workspace:*
version: link:../host
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/media:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/media-execution:
dependencies:
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
packages/media-pipeline:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
packages/media-track:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
- '@narratage/temporal':
+ '@hypit/temporal':
specifier: workspace:*
version: link:../temporal
packages/mimo-tts:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/model-kit':
+ '@hypit/model-kit':
specifier: workspace:*
version: link:../model-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
packages/minimax-h3:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/model-kit':
+ '@hypit/model-kit':
specifier: workspace:*
version: link:../model-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
packages/model-kit:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
packages/nano-banana:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/model-kit':
+ '@hypit/model-kit':
specifier: workspace:*
version: link:../model-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
packages/narrative:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/package-loader-node:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/host':
+ '@hypit/host':
specifier: workspace:*
version: link:../host
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/program-space:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
@@ -1672,32 +1672,32 @@ importers:
'@google/genai':
specifier: 1.52.0
version: 1.52.0
- '@narratage/caption':
+ '@hypit/caption':
specifier: workspace:*
version: link:../caption
- '@narratage/caption-gemini':
+ '@hypit/caption-gemini':
specifier: workspace:*
version: link:../caption-gemini
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-host-node':
+ '@hypit/runtime-host-node':
specifier: workspace:*
version: link:../runtime-host-node
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
devDependencies:
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/script':
+ '@hypit/script':
specifier: workspace:*
version: link:../script
@@ -1712,1033 +1712,1033 @@ importers:
'@hyperframes/aws-lambda':
specifier: 0.7.101
version: 0.7.101
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/hyperframes':
+ '@hypit/hyperframes':
specifier: workspace:*
version: link:../hyperframes
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/render-hyperframes':
+ '@hypit/render-hyperframes':
specifier: workspace:*
version: link:../render-hyperframes
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
devDependencies:
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
packages/provider-hyperframes-local:
dependencies:
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/hyperframes':
+ '@hypit/hyperframes':
specifier: workspace:*
version: link:../hyperframes
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/media-execution':
+ '@hypit/media-execution':
specifier: workspace:*
version: link:../media-execution
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/render-hyperframes':
+ '@hypit/render-hyperframes':
specifier: workspace:*
version: link:../render-hyperframes
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-host-node':
+ '@hypit/runtime-host-node':
specifier: workspace:*
version: link:../runtime-host-node
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
hyperframes:
specifier: 0.7.101
version: 0.7.101(@types/[email protected])
devDependencies:
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
packages/provider-image-opencv-local:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/raster':
+ '@hypit/raster':
specifier: workspace:*
version: link:../raster
- '@narratage/runtime-host-node':
+ '@hypit/runtime-host-node':
specifier: workspace:*
version: link:../runtime-host-node
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
devDependencies:
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/image-transform':
+ '@hypit/image-transform':
specifier: workspace:*
version: link:../image-transform
packages/provider-kie:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/background-removal':
+ '@hypit/background-removal':
specifier: workspace:*
version: link:../background-removal
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
devDependencies:
- '@narratage/artifact-store-fs':
+ '@hypit/artifact-store-fs':
specifier: workspace:*
version: link:../artifact-store-fs
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/credential-store-env':
+ '@hypit/credential-store-env':
specifier: workspace:*
version: link:../credential-store-env
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/gemini-omni':
+ '@hypit/gemini-omni':
specifier: workspace:*
version: link:../gemini-omni
- '@narratage/gpt-image':
+ '@hypit/gpt-image':
specifier: workspace:*
version: link:../gpt-image
- '@narratage/grok-imagine':
+ '@hypit/grok-imagine':
specifier: workspace:*
version: link:../grok-imagine
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/minimax-h3':
+ '@hypit/minimax-h3':
specifier: workspace:*
version: link:../minimax-h3
- '@narratage/model-kit':
+ '@hypit/model-kit':
specifier: workspace:*
version: link:../model-kit
- '@narratage/nano-banana':
+ '@hypit/nano-banana':
specifier: workspace:*
version: link:../nano-banana
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/runtime-local':
+ '@hypit/runtime-local':
specifier: workspace:*
version: link:../runtime-local
- '@narratage/seedance':
+ '@hypit/seedance':
specifier: workspace:*
version: link:../seedance
- '@narratage/seedream':
+ '@hypit/seedream':
specifier: workspace:*
version: link:../seedream
- '@narratage/store-sqlite':
+ '@hypit/store-sqlite':
specifier: workspace:*
version: link:../store-sqlite
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
packages/provider-media-aws-lambda:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
- '@narratage/transport-aws-lambda':
+ '@hypit/transport-aws-lambda':
specifier: workspace:*
version: link:../transport-aws-lambda
devDependencies:
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
packages/provider-media-local:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/media-execution':
+ '@hypit/media-execution':
specifier: workspace:*
version: link:../media-execution
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-host-node':
+ '@hypit/runtime-host-node':
specifier: workspace:*
version: link:../runtime-host-node
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
devDependencies:
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
packages/provider-whisperx-local:
dependencies:
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
- '@narratage/speech-evidence':
+ '@hypit/speech-evidence':
specifier: workspace:*
version: link:../speech-evidence
- '@narratage/whisperx':
+ '@hypit/whisperx':
specifier: workspace:*
version: link:../whisperx
devDependencies:
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
packages/provider-xiaomi-mimo:
dependencies:
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
devDependencies:
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/mimo-tts':
+ '@hypit/mimo-tts':
specifier: workspace:*
version: link:../mimo-tts
packages/ranking:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
- '@narratage/temporal':
+ '@hypit/temporal':
specifier: workspace:*
version: link:../temporal
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
packages/raster:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
packages/render-hyperframes:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/hyperframes':
+ '@hypit/hyperframes':
specifier: workspace:*
version: link:../hyperframes
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
packages/run:
dependencies:
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/host':
+ '@hypit/host':
specifier: workspace:*
version: link:../host
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/source':
+ '@hypit/source':
specifier: workspace:*
version: link:../source
packages/run-markup:
dependencies:
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/run':
+ '@hypit/run':
specifier: workspace:*
version: link:../run
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
packages/runtime:
dependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/runtime-host-node:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
- '@narratage/workspace':
+ '@hypit/workspace':
specifier: workspace:*
version: link:../workspace
packages/runtime-kit:
dependencies:
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/host':
+ '@hypit/host':
specifier: workspace:*
version: link:../host
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
packages/runtime-local:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/package-loader-node':
+ '@hypit/package-loader-node':
specifier: workspace:*
version: link:../package-loader-node
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-host-node':
+ '@hypit/runtime-host-node':
specifier: workspace:*
version: link:../runtime-host-node
- '@narratage/runtime-kit':
+ '@hypit/runtime-kit':
specifier: workspace:*
version: link:../runtime-kit
- '@narratage/store-sqlite':
+ '@hypit/store-sqlite':
specifier: workspace:*
version: link:../store-sqlite
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
devDependencies:
- '@narratage/artifact-store-fs':
+ '@hypit/artifact-store-fs':
specifier: workspace:*
version: link:../artifact-store-fs
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/credential-store-env':
+ '@hypit/credential-store-env':
specifier: workspace:*
version: link:../credential-store-env
packages/screen-overlay:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/temporal':
+ '@hypit/temporal':
specifier: workspace:*
version: link:../temporal
devDependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
- '@narratage/speech-evidence':
+ '@hypit/speech-evidence':
specifier: workspace:*
version: link:../speech-evidence
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
- '@narratage/visual-ir':
+ '@hypit/visual-ir':
specifier: workspace:*
version: link:../visual-ir
packages/script:
dependencies:
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
packages/seedance:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/model-kit':
+ '@hypit/model-kit':
specifier: workspace:*
version: link:../model-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
packages/seedance-kits:
devDependencies:
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
packages/seedream:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/generation':
+ '@hypit/generation':
specifier: workspace:*
version: link:../generation
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/model-kit':
+ '@hypit/model-kit':
specifier: workspace:*
version: link:../model-kit
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
packages/semantic-map:
dependencies:
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/speech-evidence':
+ '@hypit/speech-evidence':
specifier: workspace:*
version: link:../speech-evidence
packages/source:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/spatial:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
packages/speech:
dependencies:
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
packages/speech-alignment:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
- '@narratage/speech-evidence':
+ '@hypit/speech-evidence':
specifier: workspace:*
version: link:../speech-evidence
devDependencies:
- '@narratage/script':
+ '@hypit/script':
specifier: workspace:*
version: link:../script
packages/speech-basis:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/media-track':
+ '@hypit/media-track':
specifier: workspace:*
version: link:../media-track
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
packages/speech-evidence:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/speech-spine:
dependencies:
- '@narratage/artifact':
+ '@hypit/artifact':
specifier: workspace:*
version: link:../artifact
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
- '@narratage/speech-basis':
+ '@hypit/speech-basis':
specifier: workspace:*
version: link:../speech-basis
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/media-track':
+ '@hypit/media-track':
specifier: workspace:*
version: link:../media-track
- '@narratage/script':
+ '@hypit/script':
specifier: workspace:*
version: link:../script
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
packages/store-sqlite:
dependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
packages/svml-playground:
dependencies:
- '@narratage/audio-track':
+ '@hypit/audio-track':
specifier: workspace:*
version: link:../audio-track
- '@narratage/background-removal':
+ '@hypit/background-removal':
specifier: workspace:*
version: link:../background-removal
- '@narratage/caption':
+ '@hypit/caption':
specifier: workspace:*
version: link:../caption
- '@narratage/caption-fine':
+ '@hypit/caption-fine':
specifier: workspace:*
version: link:../caption-fine
- '@narratage/caption-gemini':
+ '@hypit/caption-gemini':
specifier: workspace:*
version: link:../caption-gemini
- '@narratage/comment-sticker':
+ '@hypit/comment-sticker':
specifier: workspace:*
version: link:../comment-sticker
- '@narratage/compiler-node':
+ '@hypit/compiler-node':
specifier: workspace:*
version: link:../compiler-node
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/deck-track':
+ '@hypit/deck-track':
specifier: workspace:*
version: link:../deck-track
- '@narratage/driver-node':
+ '@hypit/driver-node':
specifier: workspace:*
version: link:../driver-node
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/endpoint-kit':
+ '@hypit/endpoint-kit':
specifier: workspace:*
version: link:../endpoint-kit
- '@narratage/estimate':
+ '@hypit/estimate':
specifier: workspace:*
version: link:../estimate
- '@narratage/film':
+ '@hypit/film':
specifier: workspace:*
version: link:../film
- '@narratage/fonts-open':
+ '@hypit/fonts-open':
specifier: workspace:*
version: link:../fonts-open
- '@narratage/gemini-omni':
+ '@hypit/gemini-omni':
specifier: workspace:*
version: link:../gemini-omni
- '@narratage/gpt-image':
+ '@hypit/gpt-image':
specifier: workspace:*
version: link:../gpt-image
- '@narratage/grok-imagine':
+ '@hypit/grok-imagine':
specifier: workspace:*
version: link:../grok-imagine
- '@narratage/hyperframes':
+ '@hypit/hyperframes':
specifier: workspace:*
version: link:../hyperframes
- '@narratage/image-compose':
+ '@hypit/image-compose':
specifier: workspace:*
version: link:../image-compose
- '@narratage/image-transform':
+ '@hypit/image-transform':
specifier: workspace:*
version: link:../image-transform
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
- '@narratage/media-track':
+ '@hypit/media-track':
specifier: workspace:*
version: link:../media-track
- '@narratage/mimo-tts':
+ '@hypit/mimo-tts':
specifier: workspace:*
version: link:../mimo-tts
- '@narratage/minimax-h3':
+ '@hypit/minimax-h3':
specifier: workspace:*
version: link:../minimax-h3
- '@narratage/nano-banana':
+ '@hypit/nano-banana':
specifier: workspace:*
version: link:../nano-banana
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/package-loader-node':
+ '@hypit/package-loader-node':
specifier: workspace:*
version: link:../package-loader-node
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/provider-hyperframes-local':
+ '@hypit/provider-hyperframes-local':
specifier: workspace:*
version: link:../provider-hyperframes-local
- '@narratage/provider-media-local':
+ '@hypit/provider-media-local':
specifier: workspace:*
version: link:../provider-media-local
- '@narratage/provider-whisperx-local':
+ '@hypit/provider-whisperx-local':
specifier: workspace:*
version: link:../provider-whisperx-local
- '@narratage/ranking':
+ '@hypit/ranking':
specifier: workspace:*
version: link:../ranking
- '@narratage/render-hyperframes':
+ '@hypit/render-hyperframes':
specifier: workspace:*
version: link:../render-hyperframes
- '@narratage/run':
+ '@hypit/run':
specifier: workspace:*
version: link:../run
- '@narratage/run-markup':
+ '@hypit/run-markup':
specifier: workspace:*
version: link:../run-markup
- '@narratage/runtime':
+ '@hypit/runtime':
specifier: workspace:*
version: link:../runtime
- '@narratage/runtime-local':
+ '@hypit/runtime-local':
specifier: workspace:*
version: link:../runtime-local
- '@narratage/screen-overlay':
+ '@hypit/screen-overlay':
specifier: workspace:*
version: link:../screen-overlay
- '@narratage/script':
+ '@hypit/script':
specifier: workspace:*
version: link:../script
- '@narratage/seedance':
+ '@hypit/seedance':
specifier: workspace:*
version: link:../seedance
- '@narratage/seedream':
+ '@hypit/seedream':
specifier: workspace:*
version: link:../seedream
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/speech-spine':
+ '@hypit/speech-spine':
specifier: workspace:*
version: link:../speech-spine
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
- '@narratage/temporal':
+ '@hypit/temporal':
specifier: workspace:*
version: link:../temporal
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
- '@narratage/typography-track':
+ '@hypit/typography-track':
specifier: workspace:*
version: link:../typography-track
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
- '@narratage/whisperx':
+ '@hypit/whisperx':
specifier: workspace:*
version: link:../whisperx
vite:
@@ -2747,53 +2747,53 @@ importers:
packages/svs:
dependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
devDependencies:
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
packages/temporal:
dependencies:
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
packages/text:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
@@ -2802,183 +2802,183 @@ importers:
'@aws-sdk/client-lambda':
specifier: ^3.1103.0
version: 3.1103.0
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/typography-track:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/composition':
+ '@hypit/composition':
specifier: workspace:*
version: link:../composition
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../media
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/spatial':
+ '@hypit/spatial':
specifier: workspace:*
version: link:../spatial
- '@narratage/svs':
+ '@hypit/svs':
specifier: workspace:*
version: link:../svs
- '@narratage/temporal':
+ '@hypit/temporal':
specifier: workspace:*
version: link:../temporal
- '@narratage/text':
+ '@hypit/text':
specifier: workspace:*
version: link:../text
- '@narratage/visual-ir':
+ '@hypit/visual-ir':
specifier: workspace:*
version: link:../visual-ir
devDependencies:
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/validation':
+ '@hypit/validation':
specifier: workspace:*
version: link:../validation
packages/validation:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/core':
+ '@hypit/core':
specifier: workspace:*
version: link:../core
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/video-cli:
dependencies:
- '@narratage/cli':
+ '@hypit/cli':
specifier: workspace:*
version: link:../cli
- '@narratage/compiler-markup-node':
+ '@hypit/compiler-markup-node':
specifier: workspace:*
version: link:../compiler-markup-node
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/package-loader-node':
+ '@hypit/package-loader-node':
specifier: workspace:*
version: link:../package-loader-node
- '@narratage/runtime-local':
+ '@hypit/runtime-local':
specifier: workspace:*
version: link:../runtime-local
- '@narratage/workspace-fs-node':
+ '@hypit/workspace-fs-node':
specifier: workspace:*
version: link:../workspace-fs-node
packages/visual-ir:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
packages/whisperx:
dependencies:
- '@narratage/component-kit':
+ '@hypit/component-kit':
specifier: workspace:*
version: link:../component-kit
- '@narratage/elaborator':
+ '@hypit/elaborator':
specifier: workspace:*
version: link:../elaborator
- '@narratage/markup':
+ '@hypit/markup':
specifier: workspace:*
version: link:../markup
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../media-pipeline
- '@narratage/narrative':
+ '@hypit/narrative':
specifier: workspace:*
version: link:../narrative
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/semantic-map':
+ '@hypit/semantic-map':
specifier: workspace:*
version: link:../semantic-map
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../speech
- '@narratage/speech-alignment':
+ '@hypit/speech-alignment':
specifier: workspace:*
version: link:../speech-alignment
- '@narratage/speech-evidence':
+ '@hypit/speech-evidence':
specifier: workspace:*
version: link:../speech-evidence
devDependencies:
- '@narratage/program-space':
+ '@hypit/program-space':
specifier: workspace:*
version: link:../program-space
packages/workspace:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/source':
+ '@hypit/source':
specifier: workspace:*
version: link:../source
packages/workspace-fs-node:
dependencies:
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../protocol
- '@narratage/source':
+ '@hypit/source':
specifier: workspace:*
version: link:../source
- '@narratage/workspace':
+ '@hypit/workspace':
specifier: workspace:*
version: link:../workspace
services/media-lambda:
dependencies:
- '@narratage/artifact-store-s3':
+ '@hypit/artifact-store-s3':
specifier: workspace:*
version: link:../../packages/artifact-store-s3
- '@narratage/media':
+ '@hypit/media':
specifier: workspace:*
version: link:../../packages/media
- '@narratage/media-execution':
+ '@hypit/media-execution':
specifier: workspace:*
version: link:../../packages/media-execution
- '@narratage/media-pipeline':
+ '@hypit/media-pipeline':
specifier: workspace:*
version: link:../../packages/media-pipeline
- '@narratage/protocol':
+ '@hypit/protocol':
specifier: workspace:*
version: link:../../packages/protocol
- '@narratage/provider-media-aws-lambda':
+ '@hypit/provider-media-aws-lambda':
specifier: workspace:*
version: link:../../packages/provider-media-aws-lambda
- '@narratage/speech':
+ '@hypit/speech':
specifier: workspace:*
version: link:../../packages/speech
- '@narratage/transport-aws-lambda':
+ '@hypit/transport-aws-lambda':
specifier: workspace:*
version: link:../../packages/transport-aws-lambda
devDependencies:
diff --git a/services/image-opencv/README.md b/services/image-opencv/README.md
index e1d33bd1..c1506592 100644
--- a/services/image-opencv/README.md
+++ b/services/image-opencv/README.md
@@ -1,6 +1,6 @@
# SVML local OpenCV runtime
-This is the locked Python environment used by `@narratage/provider-image-opencv-local`. It is deployment
+This is the locked Python environment used by `@hypit/provider-image-opencv-local`. It is deployment
state, not an author-importable SVML package, a queue, a service daemon or part of Core.
Install it once:
@@ -16,7 +16,7 @@ Then configure the Provider with the environment's interpreter:
```json
{
- "use": "@narratage/provider-image-opencv-local",
+ "use": "@hypit/provider-image-opencv-local",
"instance": "image.opencv.local",
"config": {
"pythonExecutable": "./services/image-opencv/.venv/bin/python",
diff --git a/services/image-opencv/pyproject.toml b/services/image-opencv/pyproject.toml
index b08405b3..1a719e37 100644
--- a/services/image-opencv/pyproject.toml
+++ b/services/image-opencv/pyproject.toml
@@ -1,9 +1,9 @@
[project]
-name = "narratage-image-opencv-runtime"
+name = "hypit-image-opencv-runtime"
version = "0.1.0"
description = "Locked Python runtime for the SVML local OpenCV image Provider"
requires-python = ">=3.13,<3.14"
-license = { text = "Narratage Open Source License (Apache-2.0 with additional conditions); see LICENSE at the repository root" }
+license = { text = "Hypit Open Source License (Apache-2.0 with additional conditions); see LICENSE at the repository root" }
dependencies = [
"numpy>=2.1,<3",
"opencv-python-headless>=4.10,<5",
diff --git a/services/image-opencv/uv.lock b/services/image-opencv/uv.lock
index 3fb0fb5e..8bb7eaab 100644
--- a/services/image-opencv/uv.lock
+++ b/services/image-opencv/uv.lock
@@ -41,7 +41,7 @@ wheels = [
]
[[package]]
-name = "narratage-image-opencv-runtime"
+name = "hypit-image-opencv-runtime"
version = "0.1.0"
source = { virtual = "." }
dependencies = [
diff --git a/services/media-lambda/README.md b/services/media-lambda/README.md
index bf44f05d..3aebbe00 100644
--- a/services/media-lambda/README.md
+++ b/services/media-lambda/README.md
@@ -1,11 +1,11 @@
-# Narratage media execution service
+# Hypit media execution service
This service answers eight media Needs in AWS Lambda: inspect, normalize, transform, extract audio,
extract frame, speech-evidence projection, timeline audio and mux. It is deployment state, not an
author-importable SVML package.
-It owns no media semantics. `@narratage/media-execution` contains the FFmpeg commands and
-frame/sample arithmetic shared with `@narratage/provider-media-local`. This directory contributes
+It owns no media semantics. `@hypit/media-execution` contains the FFmpeg commands and
+frame/sample arithmetic shared with `@hypit/provider-media-local`. This directory contributes
an S3 byte gateway, a managed-runtime handler and one declarative AWS deployment.
## One stack, two immutable code objects
@@ -26,7 +26,7 @@ Artifacts.
`build.mjs` produces the small function ZIP. `build-layer.mjs` downloads one exact BtbN archive,
checks its SHA-256, retains only `ffmpeg`, `ffprobe`, their shared libraries and the upstream
license, and creates a deterministic Layer ZIP. The Layer provenance is embedded as
-`/opt/narratage-layer.json`. Set `NARRATAGE_FFMPEG_SOURCE` to an already downloaded archive for an
+`/opt/hypit-layer.json`. Set `HYPIT_FFMPEG_SOURCE` to an already downloaded archive for an
offline build; it is accepted only when its digest matches the pin.
Shared-library links are copied verbatim from the upstream archive. The builder rejects absolute,
@@ -55,7 +55,7 @@ therefore not a URL change; it means replacing the H.264 encoder and re-tuning e
The GPL obligations attach to whoever *conveys* the binary. Here nobody does. `build-layer.mjs`
downloads the archive on the operator's own machine, and `deploy.sh` refuses to run unless the
resolved AWS account matches the configured `AWS_ACCOUNT_ID`, so the Layer is published only into
-the operator's own account. The operator obtains FFmpeg from its upstream, not from Narratage.
+the operator's own account. The operator obtains FFmpeg from its upstream, not from Hypit.
That boundary is the whole argument, so keep it intact:
@@ -65,7 +65,7 @@ That boundary is the whole argument, so keep it intact:
- Distributing that Layer would additionally collide with the repository's own LICENSE, whose extra
conditions GPL-3.0 section 7 does not permit a distributor to add.
- The upstream `LICENSE.txt` is already copied into the Layer and the provenance is recorded in
- `/opt/narratage-layer.json`. Keep both.
+ `/opt/hypit-layer.json`. Keep both.
## Authority and bytes
@@ -77,7 +77,7 @@ The deployer needs the reviewed actions in `iam/publisher.json`. CloudFormation
AWS credential chain; access keys never enter source, a Runtime Profile or BuildState.
Media bytes never enter the synchronous Lambda request. Requests identify content-addressed S3
-objects and results are written back through the same `@narratage/artifact-store-s3` key rule.
+objects and results are written back through the same `@hypit/artifact-store-s3` key rule.
## Build without AWS
@@ -96,28 +96,28 @@ but it only creates a CloudFormation Change Set. `apply` accepts that exact Chan
not rebuild or silently reinterpret the plan.
```bash
-export AWS_PROFILE=narratage
+export AWS_PROFILE=hypit
export AWS_REGION=us-east-1
export AWS_ACCOUNT_ID=123456789012
-export NARRATAGE_MEDIA_ENVIRONMENT=dev
-export NARRATAGE_MEDIA_STACK=narratage-media-dev
-export NARRATAGE_MEDIA_FUNCTION=narratage-media-dev
-export NARRATAGE_MEDIA_ROLE=NarratageMediaExecution-dev
-export NARRATAGE_MEDIA_LAYER=narratage-ffmpeg-8-0-1
-export NARRATAGE_MEDIA_ARTIFACT_BUCKET=narratage-artifacts-123456789012
-export NARRATAGE_MEDIA_DEPLOYMENT_BUCKET=your-regional-deployment-bucket
+export HYPIT_MEDIA_ENVIRONMENT=dev
+export HYPIT_MEDIA_STACK=hypit-media-dev
+export HYPIT_MEDIA_FUNCTION=hypit-media-dev
+export HYPIT_MEDIA_ROLE=HypitMediaExecution-dev
+export HYPIT_MEDIA_LAYER=hypit-ffmpeg-8-0-1
+export HYPIT_MEDIA_ARTIFACT_BUCKET=hypit-artifacts-123456789012
+export HYPIT_MEDIA_DEPLOYMENT_BUCKET=your-regional-deployment-bucket
services/media-lambda/deploy.sh plan
services/media-lambda/deploy.sh apply <exact-change-set-arn>
```
-Optional infrastructure parameters are `NARRATAGE_MEDIA_MEMORY` (3008),
-`NARRATAGE_MEDIA_EPHEMERAL` (8192), `NARRATAGE_MEDIA_CONCURRENCY` (8) and
-`NARRATAGE_MEDIA_LOG_RETENTION_DAYS` (14). They are CloudFormation parameters and therefore visible
+Optional infrastructure parameters are `HYPIT_MEDIA_MEMORY` (3008),
+`HYPIT_MEDIA_EPHEMERAL` (8192), `HYPIT_MEDIA_CONCURRENCY` (8) and
+`HYPIT_MEDIA_LOG_RETENTION_DAYS` (14). They are CloudFormation parameters and therefore visible
in the Change Set.
The stack outputs an immutable function-version ARN and a complete JSON Endpoint entry for
-`@narratage/provider-media-aws-lambda`. The Provider rejects an unqualified function name. Old
+`@hypit/provider-media-aws-lambda`. The Provider rejects an unqualified function name. Old
function and Layer versions are retained across updates so a recorded Runtime Profile never changes
meaning because a newer deployment happened.
diff --git a/services/media-lambda/build-layer.mjs b/services/media-lambda/build-layer.mjs
index 3d3a7996..c92249ec 100755
--- a/services/media-lambda/build-layer.mjs
+++ b/services/media-lambda/build-layer.mjs
@@ -32,7 +32,7 @@ const EPOCH = new Date("1980-01-01T00:00:00.000Z");
const root = dirname(fileURLToPath(import.meta.url));
const out = join(root, "build");
-const source = process.env.NARRATAGE_FFMPEG_SOURCE ?? join(out, SOURCE_NAME);
+const source = process.env.HYPIT_FFMPEG_SOURCE ?? join(out, SOURCE_NAME);
const work = join(out, "ffmpeg-layer-work");
const extracted = join(work, "source");
const layer = join(work, "layer");
@@ -52,8 +52,8 @@ async function ensureSource() {
} catch (error) {
if (error?.code !== "ENOENT") throw error;
}
- if (process.env.NARRATAGE_FFMPEG_SOURCE !== undefined) {
- throw new Error(`NARRATAGE_FFMPEG_SOURCE does not match pinned sha256 ${SOURCE_SHA256}`);
+ if (process.env.HYPIT_FFMPEG_SOURCE !== undefined) {
+ throw new Error(`HYPIT_FFMPEG_SOURCE does not match pinned sha256 ${SOURCE_SHA256}`);
}
const temporary = `${source}.partial`;
@@ -126,14 +126,14 @@ for (const name of ["bin/ffmpeg", "bin/ffprobe", "lib", "LICENSE.txt"]) {
}
const provenance = {
- contract: "narratage.ffmpeg-lambda-layer@1",
+ contract: "hypit.ffmpeg-lambda-layer@1",
ffmpegVersion: FFmpeg_VERSION,
architecture: "x86_64",
upstream: { url: SOURCE_URL, sha256: SOURCE_SHA256 },
paths: { ffmpeg: "/opt/bin/ffmpeg", ffprobe: "/opt/bin/ffprobe" },
license: "GPL-3.0-or-later",
};
-await writeFile(join(layer, "narratage-layer.json"), `${JSON.stringify(provenance, null, 2)}\n`);
+await writeFile(join(layer, "hypit-layer.json"), `${JSON.stringify(provenance, null, 2)}\n`);
await normalize(layer);
const files = await entriesUnder(layer);
diff --git a/services/media-lambda/build.mjs b/services/media-lambda/build.mjs
index 1197462a..301c9fe4 100755
--- a/services/media-lambda/build.mjs
+++ b/services/media-lambda/build.mjs
@@ -14,7 +14,7 @@ const out = join(root, "build");
await mkdir(out, { recursive: true });
const deployment = {
- contract: "narratage.media-lambda-deployment@1",
+ contract: "hypit.media-lambda-deployment@1",
runtime: "nodejs22.x",
architecture: "x86_64",
handler: "index.handler",
@@ -67,7 +67,7 @@ const archiveStat = await stat(archive);
const archiveBytes = await readFile(archive);
const archiveSha256 = createHash("sha256").update(archiveBytes).digest();
const functionArtifact = {
- contract: "narratage.media-lambda-function-artifact@1",
+ contract: "hypit.media-lambda-function-artifact@1",
bundleHash: hash,
archiveSha256: archiveSha256.toString("hex"),
codeSha256: archiveSha256.toString("base64"),
diff --git a/services/media-lambda/deploy.sh b/services/media-lambda/deploy.sh
index 05a82e98..f15d2d8e 100755
--- a/services/media-lambda/deploy.sh
+++ b/services/media-lambda/deploy.sh
@@ -10,8 +10,8 @@ fi
: "${AWS_REGION:?set AWS_REGION, e.g. us-east-1}"
: "${AWS_ACCOUNT_ID:?set AWS_ACCOUNT_ID, your 12-digit account id}"
-: "${NARRATAGE_MEDIA_ENVIRONMENT:?set NARRATAGE_MEDIA_ENVIRONMENT, e.g. dev}"
-: "${NARRATAGE_MEDIA_STACK:?set NARRATAGE_MEDIA_STACK, e.g. narratage-media-dev}"
+: "${HYPIT_MEDIA_ENVIRONMENT:?set HYPIT_MEDIA_ENVIRONMENT, e.g. dev}"
+: "${HYPIT_MEDIA_STACK:?set HYPIT_MEDIA_STACK, e.g. hypit-media-dev}"
here="$(cd "$(dirname "$0")" && pwd)"
caller_account="$(aws sts get-caller-identity --query Account --output text)"
@@ -25,8 +25,8 @@ if [ "$operation" = apply ]; then
change_set="${2:?apply requires the exact change-set ARN printed by plan}"
stack="$(aws cloudformation describe-change-set --region "$AWS_REGION" \
--change-set-name "$change_set" --query StackName --output text)"
- if [ "$stack" != "$NARRATAGE_MEDIA_STACK" ]; then
- printf 'change set belongs to %s, not configured stack %s\n' "$stack" "$NARRATAGE_MEDIA_STACK" >&2
+ if [ "$stack" != "$HYPIT_MEDIA_STACK" ]; then
+ printf 'change set belongs to %s, not configured stack %s\n' "$stack" "$HYPIT_MEDIA_STACK" >&2
exit 2
fi
stack_status="$(aws cloudformation describe-stacks --region "$AWS_REGION" \
@@ -42,16 +42,16 @@ if [ "$operation" = apply ]; then
exit 0
fi
-: "${NARRATAGE_MEDIA_ARTIFACT_BUCKET:?set NARRATAGE_MEDIA_ARTIFACT_BUCKET}"
-: "${NARRATAGE_MEDIA_DEPLOYMENT_BUCKET:?set NARRATAGE_MEDIA_DEPLOYMENT_BUCKET}"
-: "${NARRATAGE_MEDIA_FUNCTION:?set NARRATAGE_MEDIA_FUNCTION}"
-: "${NARRATAGE_MEDIA_ROLE:?set NARRATAGE_MEDIA_ROLE}"
-: "${NARRATAGE_MEDIA_LAYER:?set NARRATAGE_MEDIA_LAYER}"
+: "${HYPIT_MEDIA_ARTIFACT_BUCKET:?set HYPIT_MEDIA_ARTIFACT_BUCKET}"
+: "${HYPIT_MEDIA_DEPLOYMENT_BUCKET:?set HYPIT_MEDIA_DEPLOYMENT_BUCKET}"
+: "${HYPIT_MEDIA_FUNCTION:?set HYPIT_MEDIA_FUNCTION}"
+: "${HYPIT_MEDIA_ROLE:?set HYPIT_MEDIA_ROLE}"
+: "${HYPIT_MEDIA_LAYER:?set HYPIT_MEDIA_LAYER}"
-memory="${NARRATAGE_MEDIA_MEMORY:-3008}"
-ephemeral="${NARRATAGE_MEDIA_EPHEMERAL:-8192}"
-concurrency="${NARRATAGE_MEDIA_CONCURRENCY:-8}"
-retention="${NARRATAGE_MEDIA_LOG_RETENTION_DAYS:-14}"
+memory="${HYPIT_MEDIA_MEMORY:-3008}"
+ephemeral="${HYPIT_MEDIA_EPHEMERAL:-8192}"
+concurrency="${HYPIT_MEDIA_CONCURRENCY:-8}"
+retention="${HYPIT_MEDIA_LOG_RETENTION_DAYS:-14}"
printf 'Building immutable function and FFmpeg Layer artifacts\n'
(cd "$here" && node build.mjs)
@@ -61,8 +61,8 @@ function_hash="$(node -p "require('$here/build/function-artifact.json').archiveS
function_code_sha="$(node -p "require('$here/build/function-artifact.json').codeSha256")"
bundle_hash="$(node -p "require('$here/build/function-artifact.json').bundleHash")"
layer_hash="$(node -p "require('$here/build/ffmpeg-layer-artifact.json').archiveSha256")"
-function_key="narratage/media-lambda/functions/${function_hash}.zip"
-layer_key="narratage/media-lambda/layers/${layer_hash}.zip"
+function_key="hypit/media-lambda/functions/${function_hash}.zip"
+layer_key="hypit/media-lambda/layers/${layer_hash}.zip"
uncompressed_layer="$(node -p "require('$here/build/ffmpeg-layer-artifact.json').uncompressedBytes")"
uncompressed_function="$(unzip -l "$here/build/function.zip" | awk 'END {print $1}')"
@@ -73,14 +73,14 @@ fi
printf 'Uploading content-addressed deployment artifacts\n'
aws s3 cp "$here/build/function.zip" \
- "s3://${NARRATAGE_MEDIA_DEPLOYMENT_BUCKET}/${function_key}" \
+ "s3://${HYPIT_MEDIA_DEPLOYMENT_BUCKET}/${function_key}" \
--region "$AWS_REGION" --only-show-errors --checksum-algorithm SHA256
aws s3 cp "$here/build/ffmpeg-layer.zip" \
- "s3://${NARRATAGE_MEDIA_DEPLOYMENT_BUCKET}/${layer_key}" \
+ "s3://${HYPIT_MEDIA_DEPLOYMENT_BUCKET}/${layer_key}" \
--region "$AWS_REGION" --only-show-errors --checksum-algorithm SHA256
stack_status="$(aws cloudformation describe-stacks --region "$AWS_REGION" \
- --stack-name "$NARRATAGE_MEDIA_STACK" --query 'Stacks[0].StackStatus' --output text 2>/dev/null || true)"
+ --stack-name "$HYPIT_MEDIA_STACK" --query 'Stacks[0].StackStatus' --output text 2>/dev/null || true)"
if [ -z "$stack_status" ] || [ "$stack_status" = REVIEW_IN_PROGRESS ]; then
change_set_type=CREATE
else
@@ -90,19 +90,19 @@ change_set_name="media-$(date -u +%Y%m%dT%H%M%SZ)-${function_hash:0:8}-${layer_h
printf 'Creating unexecuted %s Change Set %s\n' "$change_set_type" "$change_set_name"
change_set_arn="$(aws cloudformation create-change-set --region "$AWS_REGION" \
- --stack-name "$NARRATAGE_MEDIA_STACK" \
+ --stack-name "$HYPIT_MEDIA_STACK" \
--change-set-name "$change_set_name" \
--change-set-type "$change_set_type" \
- --description "Narratage media function ${function_hash}; layer ${layer_hash}" \
+ --description "Hypit media function ${function_hash}; layer ${layer_hash}" \
--template-body "file://${here}/template.yaml" \
--capabilities CAPABILITY_NAMED_IAM \
--parameters \
- "ParameterKey=EnvironmentName,ParameterValue=${NARRATAGE_MEDIA_ENVIRONMENT}" \
- "ParameterKey=FunctionName,ParameterValue=${NARRATAGE_MEDIA_FUNCTION}" \
- "ParameterKey=ExecutionRoleName,ParameterValue=${NARRATAGE_MEDIA_ROLE}" \
- "ParameterKey=LayerName,ParameterValue=${NARRATAGE_MEDIA_LAYER}" \
- "ParameterKey=ArtifactBucket,ParameterValue=${NARRATAGE_MEDIA_ARTIFACT_BUCKET}" \
- "ParameterKey=DeploymentBucket,ParameterValue=${NARRATAGE_MEDIA_DEPLOYMENT_BUCKET}" \
+ "ParameterKey=EnvironmentName,ParameterValue=${HYPIT_MEDIA_ENVIRONMENT}" \
+ "ParameterKey=FunctionName,ParameterValue=${HYPIT_MEDIA_FUNCTION}" \
+ "ParameterKey=ExecutionRoleName,ParameterValue=${HYPIT_MEDIA_ROLE}" \
+ "ParameterKey=LayerName,ParameterValue=${HYPIT_MEDIA_LAYER}" \
+ "ParameterKey=ArtifactBucket,ParameterValue=${HYPIT_MEDIA_ARTIFACT_BUCKET}" \
+ "ParameterKey=DeploymentBucket,ParameterValue=${HYPIT_MEDIA_DEPLOYMENT_BUCKET}" \
"ParameterKey=FunctionCodeKey,ParameterValue=${function_key}" \
"ParameterKey=FunctionCodeSha256,ParameterValue=${function_code_sha}" \
"ParameterKey=FunctionBundleHash,ParameterValue=${bundle_hash}" \
diff --git a/services/media-lambda/iam/publisher.json b/services/media-lambda/iam/publisher.json
index 10360510..e211ab6e 100644
--- a/services/media-lambda/iam/publisher.json
+++ b/services/media-lambda/iam/publisher.json
@@ -6,8 +6,8 @@
"Effect": "Allow",
"Action": ["lambda:PublishLayerVersion", "lambda:GetLayerVersion"],
"Resource": [
- "arn:aws:lambda:REGION:ACCOUNT_ID:layer:narratage-ffmpeg-8-0-1",
- "arn:aws:lambda:REGION:ACCOUNT_ID:layer:narratage-ffmpeg-8-0-1:*"
+ "arn:aws:lambda:REGION:ACCOUNT_ID:layer:hypit-ffmpeg-8-0-1",
+ "arn:aws:lambda:REGION:ACCOUNT_ID:layer:hypit-ffmpeg-8-0-1:*"
]
},
{
@@ -31,7 +31,7 @@
"lambda:TagResource",
"lambda:UntagResource"
],
- "Resource": "arn:aws:lambda:REGION:ACCOUNT_ID:function:narratage-media*"
+ "Resource": "arn:aws:lambda:REGION:ACCOUNT_ID:function:hypit-media*"
},
{
"Sid": "HandTheExecutionRoleToTheFunction",
@@ -46,7 +46,7 @@
"iam:TagRole",
"iam:UntagRole"
],
- "Resource": "arn:aws:iam::ACCOUNT_ID:role/NarratageMediaExecution-*"
+ "Resource": "arn:aws:iam::ACCOUNT_ID:role/HypitMediaExecution-*"
},
{
"Sid": "ManageTheMediaStack",
@@ -61,7 +61,7 @@
"cloudformation:ExecuteChangeSet",
"cloudformation:DeleteChangeSet"
],
- "Resource": "arn:aws:cloudformation:REGION:ACCOUNT_ID:stack/narratage-media-*/*"
+ "Resource": "arn:aws:cloudformation:REGION:ACCOUNT_ID:stack/hypit-media-*/*"
},
{
"Sid": "ManageTheMediaLogGroup",
@@ -71,7 +71,7 @@
"logs:DeleteLogGroup",
"logs:PutRetentionPolicy"
],
- "Resource": "arn:aws:logs:REGION:ACCOUNT_ID:log-group:/aws/lambda/narratage-media-*"
+ "Resource": "arn:aws:logs:REGION:ACCOUNT_ID:log-group:/aws/lambda/hypit-media-*"
},
{
"Sid": "TheArtifactStore",
@@ -81,7 +81,7 @@
"arn:aws:s3:::BUCKET",
"arn:aws:s3:::BUCKET/*",
"arn:aws:s3:::DEPLOYMENT_BUCKET",
- "arn:aws:s3:::DEPLOYMENT_BUCKET/narratage/media-lambda/*"
+ "arn:aws:s3:::DEPLOYMENT_BUCKET/hypit/media-lambda/*"
]
}
]
diff --git a/services/media-lambda/package.json b/services/media-lambda/package.json
index 4c4700e2..35bbf8e3 100644
--- a/services/media-lambda/package.json
+++ b/services/media-lambda/package.json
@@ -1,5 +1,5 @@
{
- "name": "@narratage/media-lambda",
+ "name": "@hypit/media-lambda",
"version": "0.0.0-dev",
"license": "SEE LICENSE IN LICENSE",
"private": true,
@@ -8,14 +8,14 @@
".": "./src/handler.ts"
},
"dependencies": {
- "@narratage/artifact-store-s3": "workspace:*",
- "@narratage/media": "workspace:*",
- "@narratage/media-execution": "workspace:*",
- "@narratage/media-pipeline": "workspace:*",
- "@narratage/protocol": "workspace:*",
- "@narratage/provider-media-aws-lambda": "workspace:*",
- "@narratage/speech": "workspace:*",
- "@narratage/transport-aws-lambda": "workspace:*"
+ "@hypit/artifact-store-s3": "workspace:*",
+ "@hypit/media": "workspace:*",
+ "@hypit/media-execution": "workspace:*",
+ "@hypit/media-pipeline": "workspace:*",
+ "@hypit/protocol": "workspace:*",
+ "@hypit/provider-media-aws-lambda": "workspace:*",
+ "@hypit/speech": "workspace:*",
+ "@hypit/transport-aws-lambda": "workspace:*"
},
"scripts": {
"build": "node build.mjs",
diff --git a/services/media-lambda/src/handler.ts b/services/media-lambda/src/handler.ts
index 548b202e..03d87da8 100644
--- a/services/media-lambda/src/handler.ts
+++ b/services/media-lambda/src/handler.ts
@@ -1,5 +1,5 @@
-import { AwsS3ObjectClient, S3ArtifactStore } from "@narratage/artifact-store-s3";
-import type { S3ObjectClient } from "@narratage/artifact-store-s3";
+import { AwsS3ObjectClient, S3ArtifactStore } from "@hypit/artifact-store-s3";
+import type { S3ObjectClient } from "@hypit/artifact-store-s3";
import {
executeInspectMedia,
executeExtractAudio,
@@ -9,23 +9,23 @@ import {
executeProjectSpeechEvidenceAudio,
executeRenderTimelineAudio,
executeTransformMedia,
-} from "@narratage/media-execution";
-import type { MediaExecutionEnvironment, MediaOperationResult } from "@narratage/media-execution";
+} from "@hypit/media-execution";
+import type { MediaExecutionEnvironment, MediaOperationResult } from "@hypit/media-execution";
import { execFile } from "node:child_process";
import { createReadStream } from "node:fs";
import { readFile } from "node:fs/promises";
import { promisify } from "node:util";
-import type { BlobRef, CanonicalValue, Digest } from "@narratage/protocol";
+import type { BlobRef, CanonicalValue, Digest } from "@hypit/protocol";
import {
MEDIA_LAMBDA_RESPONSE,
parseMediaLambdaRequest,
-} from "@narratage/provider-media-aws-lambda";
-import type { MediaLambdaArtifactLocation, MediaLambdaOperation } from "@narratage/provider-media-aws-lambda";
+} from "@hypit/provider-media-aws-lambda";
+import type { MediaLambdaArtifactLocation, MediaLambdaOperation } from "@hypit/provider-media-aws-lambda";
/**
* The whole function.
*
- * It owns no media logic: `@narratage/media-execution` holds the ffmpeg argv
+ * It owns no media logic: `@hypit/media-execution` holds the ffmpeg argv
* and the frame arithmetic, and the same code answers a local Build. What is
* particular to this deployment is only where the bytes live and which ffmpeg
* binary its immutable Layer carries.
@@ -46,7 +46,7 @@ const OPERATIONS: Record<
const FFMPEG_PATH = process.env.FFMPEG_PATH ?? "/opt/bin/ffmpeg";
const FFPROBE_PATH = process.env.FFPROBE_PATH ?? "/opt/bin/ffprobe";
-const FFMPEG_LIBRARY_PATH = process.env.NARRATAGE_FFMPEG_LIBRARY_PATH;
+const FFMPEG_LIBRARY_PATH = process.env.HYPIT_FFMPEG_LIBRARY_PATH;
const run = promisify(execFile);
function positiveInteger(value: string | undefined, fallback: number): number {
@@ -172,7 +172,7 @@ export function createMediaLambdaHandler(options: MediaLambdaHandlerOptions = {}
binariesReady ??= assertBinaryPair(
ffmpegPath,
ffprobePath,
- options.expectedFfmpegVersion ?? process.env.NARRATAGE_FFMPEG_VERSION,
+ options.expectedFfmpegVersion ?? process.env.HYPIT_FFMPEG_VERSION,
sharedLibraryPath,
);
await binariesReady;
@@ -181,8 +181,8 @@ export function createMediaLambdaHandler(options: MediaLambdaHandlerOptions = {}
ffmpegPath,
ffprobePath,
...(sharedLibraryPath === undefined ? {} : { sharedLibraryPath }),
- processTimeoutMs: positiveInteger(process.env.NARRATAGE_MEDIA_TIMEOUT_MS, 14 * 60_000),
- maxProbeOutputBytes: positiveInteger(process.env.NARRATAGE_MEDIA_MAX_PROBE_BYTES, 256 * 1024 * 1024),
+ processTimeoutMs: positiveInteger(process.env.HYPIT_MEDIA_TIMEOUT_MS, 14 * 60_000),
+ maxProbeOutputBytes: positiveInteger(process.env.HYPIT_MEDIA_MAX_PROBE_BYTES, 256 * 1024 * 1024),
};
const result = await OPERATIONS[operation](env, request.constraints);
return {
diff --git a/services/media-lambda/template.yaml b/services/media-lambda/template.yaml
index 38d80049..61afb7bd 100644
--- a/services/media-lambda/template.yaml
+++ b/services/media-lambda/template.yaml
@@ -1,5 +1,5 @@
AWSTemplateFormatVersion: "2010-09-09"
-Description: "Narratage media execution service: FFmpeg Layer, function, immutable version, role and logs."
+Description: "Hypit media execution service: FFmpeg Layer, function, immutable version, role and logs."
Parameters:
EnvironmentName:
@@ -60,7 +60,7 @@ Resources:
Type: AWS::IAM::Role
Properties:
RoleName: !Ref ExecutionRoleName
- Description: !Sub "Narratage media execution role for ${EnvironmentName}"
+ Description: !Sub "Hypit media execution role for ${EnvironmentName}"
AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement:
@@ -69,7 +69,7 @@ Resources:
Service: lambda.amazonaws.com
Action: sts:AssumeRole
Policies:
- - PolicyName: NarratageMediaArtifactsAndLogs
+ - PolicyName: HypitMediaArtifactsAndLogs
PolicyDocument:
Version: "2012-10-17"
Statement:
@@ -107,7 +107,7 @@ Resources:
DependsOn: MediaLogGroup
Properties:
FunctionName: !Ref FunctionName
- Description: Narratage remote media execution
+ Description: Hypit remote media execution
Runtime: nodejs22.x
RuntimeManagementConfig:
UpdateRuntimeOn: FunctionUpdate
@@ -127,11 +127,11 @@ Resources:
ReservedConcurrentExecutions: !Ref ReservedConcurrency
Environment:
Variables:
- NARRATAGE_MEDIA_BUNDLE_HASH: !Ref FunctionBundleHash
- NARRATAGE_FFMPEG_VERSION: "8.0.1"
+ HYPIT_MEDIA_BUNDLE_HASH: !Ref FunctionBundleHash
+ HYPIT_FFMPEG_VERSION: "8.0.1"
FFMPEG_PATH: /opt/bin/ffmpeg
FFPROBE_PATH: /opt/bin/ffprobe
- NARRATAGE_FFMPEG_LIBRARY_PATH: /opt/lib
+ HYPIT_FFMPEG_LIBRARY_PATH: /opt/lib
MediaFunctionVersion:
Type: AWS::Lambda::Version
@@ -144,7 +144,7 @@ Resources:
Outputs:
FunctionVersionArn:
- Description: Immutable function ARN for @narratage/provider-media-aws-lambda.
+ Description: Immutable function ARN for @hypit/provider-media-aws-lambda.
Value: !Ref MediaFunctionVersion
LayerVersionArn:
Description: Immutable FFmpeg Layer version used by the function.
@@ -156,5 +156,5 @@ Outputs:
RuntimeProfileEndpoint:
Description: Endpoint entry; parse this output as JSON.
Value: !Sub
- - '{"use":"@narratage/provider-media-aws-lambda","instance":"media.aws-lambda.${EnvironmentName}","lane":"media","config":{"functionArn":"${FunctionVersionArn}","bucket":"${ArtifactBucket}","region":"${AWS::Region}","defaultConcurrency":${ReservedConcurrency}}}'
+ - '{"use":"@hypit/provider-media-aws-lambda","instance":"media.aws-lambda.${EnvironmentName}","lane":"media","config":{"functionArn":"${FunctionVersionArn}","bucket":"${ArtifactBucket}","region":"${AWS::Region}","defaultConcurrency":${ReservedConcurrency}}}'
- FunctionVersionArn: !Ref MediaFunctionVersion
diff --git a/services/media-lambda/test/deployment.test.ts b/services/media-lambda/test/deployment.test.ts
index 120a5b28..21f1f316 100644
--- a/services/media-lambda/test/deployment.test.ts
+++ b/services/media-lambda/test/deployment.test.ts
@@ -21,7 +21,7 @@ test("the stack owns the complete service without granting media semantics extra
assert.doesNotMatch(template, /Resource:\s*["']?\*["']?/u);
assert.match(template, /ReservedConcurrentExecutions: !Ref ReservedConcurrency/u);
assert.match(template, /UpdateRuntimeOn: FunctionUpdate/u);
- assert.match(template, /NARRATAGE_FFMPEG_LIBRARY_PATH: \/opt\/lib/u);
+ assert.match(template, /HYPIT_FFMPEG_LIBRARY_PATH: \/opt\/lib/u);
assert.equal((template.match(/DeletionPolicy: RetainExceptOnCreate/gu) ?? []).length, 3);
assert.equal((template.match(/UpdateReplacePolicy: Retain/gu) ?? []).length, 3);
assert.match(template, /FunctionVersionArn:[\s\S]*MediaFunctionVersion/u);
diff --git a/services/media-lambda/test/handler.test.ts b/services/media-lambda/test/handler.test.ts
index 6812b661..a8b58d18 100644
--- a/services/media-lambda/test/handler.test.ts
+++ b/services/media-lambda/test/handler.test.ts
@@ -7,9 +7,9 @@ import { join } from "node:path";
import test from "node:test";
import { promisify } from "node:util";
-import { s3ArtifactKey } from "@narratage/artifact-store-s3";
-import type { S3ObjectClient } from "@narratage/artifact-store-s3";
-import type { Digest } from "@narratage/protocol";
+import { s3ArtifactKey } from "@hypit/artifact-store-s3";
+import type { S3ObjectClient } from "@hypit/artifact-store-s3";
+import type { Digest } from "@hypit/protocol";
import { createMediaLambdaHandler } from "../src/handler.js";
@@ -43,7 +43,7 @@ async function ffmpegAvailable(): Promise<boolean> {
test("the function answers a real Need with real media, over a bucket it addresses like the store does",
{ skip: (await ffmpegAvailable()) ? false : "ffmpeg and ffprobe are not on PATH" },
async () => {
- const work = await mkdtemp(join(tmpdir(), "narratage-media-lambda-"));
+ const work = await mkdtemp(join(tmpdir(), "hypit-media-lambda-"));
try {
// One second of real audio, so ffprobe has something true to report.
const path = join(work, "source.wav");
@@ -58,7 +58,7 @@ test("the function answers a real Need with real media, over a bucket it address
const handle = createMediaLambdaHandler({ client: bucket, ffmpegPath: "ffmpeg", ffprobePath: "ffprobe" });
const reply = await handle({
- contract: "narratage.media-lambda-request@1",
+ contract: "hypit.media-lambda-request@1",
operation: "inspect",
artifacts: { bucket: "fixture", prefix: "svml" },
constraints: {
@@ -83,7 +83,7 @@ test("the function answers a real Need with real media, over a bucket it address
test("a source the bucket does not hold is a typed failure, never a throw", async () => {
const handle = createMediaLambdaHandler({ client: new Bucket() });
const reply = await handle({
- contract: "narratage.media-lambda-request@1",
+ contract: "hypit.media-lambda-request@1",
operation: "inspect",
artifacts: { bucket: "fixture" },
constraints: {
@@ -97,9 +97,9 @@ test("a source the bucket does not hold is a typed failure, never a throw", asyn
test("an envelope from another contract is refused before any media is touched", async () => {
const handle = createMediaLambdaHandler({ client: new Bucket() });
- const reply = await handle({ contract: "narratage.media-lambda-request@invalid" }) as Record<string, unknown>;
+ const reply = await handle({ contract: "hypit.media-lambda-request@invalid" }) as Record<string, unknown>;
assert.equal(reply.ok, false);
- assert.match(String(reply.message), /contract must be narratage\.media-lambda-request@1/u);
+ assert.match(String(reply.message), /contract must be hypit\.media-lambda-request@1/u);
});
test("a Layer that lies about its FFmpeg version fails before reading an Artifact",
@@ -112,7 +112,7 @@ test("a Layer that lies about its FFmpeg version fails before reading an Artifac
expectedFfmpegVersion: "0.0.0-impossible",
});
const reply = await handle({
- contract: "narratage.media-lambda-request@1",
+ contract: "hypit.media-lambda-request@1",
operation: "inspect",
artifacts: { bucket: "fixture" },
constraints: {
diff --git a/services/whisperx/README.md b/services/whisperx/README.md
index 8659032a..2d87f720 100644
--- a/services/whisperx/README.md
+++ b/services/whisperx/README.md
@@ -1,6 +1,6 @@
# SVML WhisperX Service
-This is the trusted, warm Python process used by `@narratage/provider-whisperx-local`. It is a Runtime
+This is the trusted, warm Python process used by `@hypit/provider-whisperx-local`. It is a Runtime
deployment package, not an author-importable SVML module and not part of Core.
The service has one narrow job:
@@ -22,19 +22,19 @@ WhisperX 3.8.6 supports Python 3.10 through 3.13. The checked-in lock selects Py
```bash
uv python install 3.13
uv sync --project services/whisperx --frozen
-uv run --project services/whisperx --frozen narratage-whisperx-prepare
-uv run --project services/whisperx --frozen narratage-whisperx-check
+uv run --project services/whisperx --frozen hypit-whisperx-prepare
+uv run --project services/whisperx --frozen hypit-whisperx-check
```
The first model start may download ASR and alignment weights. Production should put the relevant
-Hugging Face cache on persistent storage. `narratage-whisperx-prepare` separately installs NLTK's
+Hugging Face cache on persistent storage. `hypit-whisperx-prepare` separately installs NLTK's
`punkt_tab` sentence data from a commit-pinned official archive after verifying its SHA-256. This
resource is required by WhisperX alignment and is never downloaded inside an inference request.
## Run
```bash
-uv run --project services/whisperx --frozen narratage-whisperx-service
+uv run --project services/whisperx --frozen hypit-whisperx-service
curl http://127.0.0.1:8765/health
```
@@ -45,22 +45,22 @@ model small
device cpu
compute int8
batch size 8
-protocol narratage.whisperx-service@1
+protocol hypit.whisperx-service@1
```
Configuration is deployment state:
| Variable | Default | Meaning |
|---|---:|---|
-| `NARRATAGE_WHISPERX_PORT` | `8765` | loopback port |
-| `NARRATAGE_WHISPERX_MODEL` | `small` | faster-whisper model |
-| `NARRATAGE_WHISPERX_DEVICE` | `cpu` | `cpu` or the deployed accelerator |
-| `NARRATAGE_WHISPERX_COMPUTE` | `int8` on CPU | CTranslate2 compute type |
-| `NARRATAGE_WHISPERX_BATCH_SIZE` | `8` | bounded ASR batch size |
-| `NARRATAGE_WHISPERX_INPUT_ROOTS` | OS temp directory | path-separated roots the service may read |
-| `NARRATAGE_WHISPERX_NLTK_DATA` | user SVML cache | prepared, identity-checked NLTK data root |
-| `NARRATAGE_WHISPERX_MAX_REQUEST_BYTES` | `65536` | HTTP JSON bound |
-| `NARRATAGE_WHISPERX_MAX_AUDIO_BYTES` | `536870912` | staged canonical WAV bound |
+| `HYPIT_WHISPERX_PORT` | `8765` | loopback port |
+| `HYPIT_WHISPERX_MODEL` | `small` | faster-whisper model |
+| `HYPIT_WHISPERX_DEVICE` | `cpu` | `cpu` or the deployed accelerator |
+| `HYPIT_WHISPERX_COMPUTE` | `int8` on CPU | CTranslate2 compute type |
+| `HYPIT_WHISPERX_BATCH_SIZE` | `8` | bounded ASR batch size |
+| `HYPIT_WHISPERX_INPUT_ROOTS` | OS temp directory | path-separated roots the service may read |
+| `HYPIT_WHISPERX_NLTK_DATA` | user SVML cache | prepared, identity-checked NLTK data root |
+| `HYPIT_WHISPERX_MAX_REQUEST_BYTES` | `65536` | HTTP JSON bound |
+| `HYPIT_WHISPERX_MAX_AUDIO_BYTES` | `536870912` | staged canonical WAV bound |
The Node Provider must configure the same model, device, compute, batch size, service version and
WhisperX version. A mismatch fails before transcription results are accepted.
diff --git a/services/whisperx/deploy/hypit-whisperx.service.example b/services/whisperx/deploy/hypit-whisperx.service.example
new file mode 100644
index 00000000..4d55d879
--- /dev/null
+++ b/services/whisperx/deploy/hypit-whisperx.service.example
@@ -0,0 +1,28 @@
+[Unit]
+Description=SVML WhisperX alignment service
+After=network.target
+
+[Service]
+Type=simple
+User=hypit
+WorkingDirectory=/opt/hypit
+Environment=HYPIT_WHISPERX_PORT=8765
+Environment=HYPIT_WHISPERX_MODEL=small
+Environment=HYPIT_WHISPERX_DEVICE=cpu
+Environment=HYPIT_WHISPERX_COMPUTE=int8
+Environment=HYPIT_WHISPERX_BATCH_SIZE=8
+Environment=HYPIT_WHISPERX_INPUT_ROOTS=/tmp
+Environment=HYPIT_WHISPERX_NLTK_DATA=/var/cache/hypit/whisperx/nltk_data
+Environment=OMP_NUM_THREADS=2
+Environment=TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1
+Environment=HTTP_PROXY=
+Environment=HTTPS_PROXY=
+Environment=ALL_PROXY=
+ExecStartPre=/opt/hypit/services/whisperx/.venv/bin/hypit-whisperx-check
+ExecStart=/opt/hypit/services/whisperx/.venv/bin/hypit-whisperx-service
+Restart=on-failure
+RestartSec=5
+TimeoutStopSec=30
+
+[Install]
+WantedBy=multi-user.target
diff --git a/services/whisperx/deploy/narratage-whisperx.service.example b/services/whisperx/deploy/narratage-whisperx.service.example
deleted file mode 100644
index bbe7799e..00000000
--- a/services/whisperx/deploy/narratage-whisperx.service.example
+++ /dev/null
@@ -1,28 +0,0 @@
-[Unit]
-Description=SVML WhisperX alignment service
-After=network.target
-
-[Service]
-Type=simple
-User=narratage
-WorkingDirectory=/opt/narratage
-Environment=NARRATAGE_WHISPERX_PORT=8765
-Environment=NARRATAGE_WHISPERX_MODEL=small
-Environment=NARRATAGE_WHISPERX_DEVICE=cpu
-Environment=NARRATAGE_WHISPERX_COMPUTE=int8
-Environment=NARRATAGE_WHISPERX_BATCH_SIZE=8
-Environment=NARRATAGE_WHISPERX_INPUT_ROOTS=/tmp
-Environment=NARRATAGE_WHISPERX_NLTK_DATA=/var/cache/narratage/whisperx/nltk_data
-Environment=OMP_NUM_THREADS=2
-Environment=TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1
-Environment=HTTP_PROXY=
-Environment=HTTPS_PROXY=
-Environment=ALL_PROXY=
-ExecStartPre=/opt/narratage/services/whisperx/.venv/bin/narratage-whisperx-check
-ExecStart=/opt/narratage/services/whisperx/.venv/bin/narratage-whisperx-service
-Restart=on-failure
-RestartSec=5
-TimeoutStopSec=30
-
-[Install]
-WantedBy=multi-user.target
diff --git a/services/whisperx/pyproject.toml b/services/whisperx/pyproject.toml
index e1d04386..772ea890 100644
--- a/services/whisperx/pyproject.toml
+++ b/services/whisperx/pyproject.toml
@@ -1,19 +1,19 @@
[project]
-name = "narratage-whisperx-service"
+name = "hypit-whisperx-service"
version = "0.1.0"
description = "Warm, loopback-only WhisperX alignment service for the SVML local Provider"
readme = "README.md"
requires-python = ">=3.10,<3.14"
-license = { text = "Narratage Open Source License (Apache-2.0 with additional conditions); see LICENSE at the repository root" }
+license = { text = "Hypit Open Source License (Apache-2.0 with additional conditions); see LICENSE at the repository root" }
dependencies = [
"numpy>=2.1,<3",
"whisperx==3.8.6",
]
[project.scripts]
-narratage-whisperx-service = "narratage_whisperx_service.__main__:main"
-narratage-whisperx-check = "narratage_whisperx_service.check:main"
-narratage-whisperx-prepare = "narratage_whisperx_service.prepare:main"
+hypit-whisperx-service = "hypit_whisperx_service.__main__:main"
+hypit-whisperx-check = "hypit_whisperx_service.check:main"
+hypit-whisperx-prepare = "hypit_whisperx_service.prepare:main"
[build-system]
requires = ["setuptools>=77"]
diff --git a/services/whisperx/src/narratage_whisperx_service/__init__.py b/services/whisperx/src/hypit_whisperx_service/__init__.py
similarity index 74%
rename from services/whisperx/src/narratage_whisperx_service/__init__.py
rename to services/whisperx/src/hypit_whisperx_service/__init__.py
index ad64ef80..fc56b2d3 100644
--- a/services/whisperx/src/narratage_whisperx_service/__init__.py
+++ b/services/whisperx/src/hypit_whisperx_service/__init__.py
@@ -1,6 +1,6 @@
"""SVML's trusted local WhisperX process boundary."""
SERVICE_VERSION = "0.1.0"
-PROTOCOL = "narratage.whisperx-service@1"
+PROTOCOL = "hypit.whisperx-service@1"
__all__ = ["PROTOCOL", "SERVICE_VERSION"]
diff --git a/services/whisperx/src/narratage_whisperx_service/__main__.py b/services/whisperx/src/hypit_whisperx_service/__main__.py
similarity index 93%
rename from services/whisperx/src/narratage_whisperx_service/__main__.py
rename to services/whisperx/src/hypit_whisperx_service/__main__.py
index d26f4af4..3e770c16 100644
--- a/services/whisperx/src/narratage_whisperx_service/__main__.py
+++ b/services/whisperx/src/hypit_whisperx_service/__main__.py
@@ -14,7 +14,7 @@ def main() -> None:
format="%(asctime)s %(levelname)s [%(name)s] %(message)s",
)
config = ServiceConfig.from_environment()
- logging.getLogger("narratage.whisperx").info(
+ logging.getLogger("hypit.whisperx").info(
"loading model=%s device=%s compute=%s batch=%d",
config.model,
config.device,
diff --git a/services/whisperx/src/narratage_whisperx_service/application.py b/services/whisperx/src/hypit_whisperx_service/application.py
similarity index 100%
rename from services/whisperx/src/narratage_whisperx_service/application.py
rename to services/whisperx/src/hypit_whisperx_service/application.py
diff --git a/services/whisperx/src/narratage_whisperx_service/audio.py b/services/whisperx/src/hypit_whisperx_service/audio.py
similarity index 92%
rename from services/whisperx/src/narratage_whisperx_service/audio.py
rename to services/whisperx/src/hypit_whisperx_service/audio.py
index f24f3574..f7110b2e 100644
--- a/services/whisperx/src/narratage_whisperx_service/audio.py
+++ b/services/whisperx/src/hypit_whisperx_service/audio.py
@@ -40,11 +40,11 @@ def read_canonical_audio(
except OSError as error:
raise AudioInputError("audio_path does not identify a readable file") from error
if not _inside(path, roots):
- raise AudioInputError("audio_path is outside NARRATAGE_WHISPERX_INPUT_ROOTS")
+ raise AudioInputError("audio_path is outside HYPIT_WHISPERX_INPUT_ROOTS")
if not path.is_file():
raise AudioInputError("audio_path must identify a regular file")
if path.stat().st_size > max_audio_bytes:
- raise AudioInputError("audio input exceeds NARRATAGE_WHISPERX_MAX_AUDIO_BYTES")
+ raise AudioInputError("audio input exceeds HYPIT_WHISPERX_MAX_AUDIO_BYTES")
try:
with wave.open(str(path), "rb") as source:
diff --git a/services/whisperx/src/narratage_whisperx_service/check.py b/services/whisperx/src/hypit_whisperx_service/check.py
similarity index 92%
rename from services/whisperx/src/narratage_whisperx_service/check.py
rename to services/whisperx/src/hypit_whisperx_service/check.py
index 272fac85..af43f989 100644
--- a/services/whisperx/src/narratage_whisperx_service/check.py
+++ b/services/whisperx/src/hypit_whisperx_service/check.py
@@ -22,7 +22,7 @@ def main() -> None:
raise RuntimeError(f"installed WhisperX is missing required API: {name}")
versions = {
name: metadata.version(name)
- for name in ("narratage-whisperx-service", "whisperx", "faster-whisper", "numpy", "torch")
+ for name in ("hypit-whisperx-service", "whisperx", "faster-whisper", "numpy", "torch")
}
if versions["whisperx"] != "3.8.6":
raise RuntimeError(f"expected whisperx 3.8.6, got {versions['whisperx']}")
diff --git a/services/whisperx/src/narratage_whisperx_service/config.py b/services/whisperx/src/hypit_whisperx_service/config.py
similarity index 60%
rename from services/whisperx/src/narratage_whisperx_service/config.py
rename to services/whisperx/src/hypit_whisperx_service/config.py
index 2e49c8c2..7a20fe72 100644
--- a/services/whisperx/src/narratage_whisperx_service/config.py
+++ b/services/whisperx/src/hypit_whisperx_service/config.py
@@ -35,47 +35,47 @@ class ServiceConfig:
@classmethod
def from_environment(cls, environment: Mapping[str, str] | None = None) -> "ServiceConfig":
env = os.environ if environment is None else environment
- device = env.get("NARRATAGE_WHISPERX_DEVICE", "cpu").strip()
- model = env.get("NARRATAGE_WHISPERX_MODEL", "small").strip()
+ device = env.get("HYPIT_WHISPERX_DEVICE", "cpu").strip()
+ model = env.get("HYPIT_WHISPERX_MODEL", "small").strip()
compute = env.get(
- "NARRATAGE_WHISPERX_COMPUTE",
+ "HYPIT_WHISPERX_COMPUTE",
"int8" if device == "cpu" else "float16",
).strip()
if not model:
- raise ValueError("NARRATAGE_WHISPERX_MODEL must not be empty")
+ raise ValueError("HYPIT_WHISPERX_MODEL must not be empty")
if not device:
- raise ValueError("NARRATAGE_WHISPERX_DEVICE must not be empty")
+ raise ValueError("HYPIT_WHISPERX_DEVICE must not be empty")
if not compute:
- raise ValueError("NARRATAGE_WHISPERX_COMPUTE must not be empty")
+ raise ValueError("HYPIT_WHISPERX_COMPUTE must not be empty")
- raw_roots = env.get("NARRATAGE_WHISPERX_INPUT_ROOTS", tempfile.gettempdir())
+ raw_roots = env.get("HYPIT_WHISPERX_INPUT_ROOTS", tempfile.gettempdir())
roots = tuple(
Path(item).expanduser().resolve()
for item in raw_roots.split(os.pathsep)
if item.strip()
)
if not roots:
- raise ValueError("NARRATAGE_WHISPERX_INPUT_ROOTS must contain at least one path")
+ raise ValueError("HYPIT_WHISPERX_INPUT_ROOTS must contain at least one path")
return cls(
- port=_positive_integer(env.get("NARRATAGE_WHISPERX_PORT", "8765"), "NARRATAGE_WHISPERX_PORT", 65535),
+ port=_positive_integer(env.get("HYPIT_WHISPERX_PORT", "8765"), "HYPIT_WHISPERX_PORT", 65535),
model=model,
device=device,
compute=compute,
batch_size=_positive_integer(
- env.get("NARRATAGE_WHISPERX_BATCH_SIZE", "8"),
- "NARRATAGE_WHISPERX_BATCH_SIZE",
+ env.get("HYPIT_WHISPERX_BATCH_SIZE", "8"),
+ "HYPIT_WHISPERX_BATCH_SIZE",
),
input_roots=roots,
nltk_data_root=Path(
- env.get("NARRATAGE_WHISPERX_NLTK_DATA", str(default_nltk_data_root()))
+ env.get("HYPIT_WHISPERX_NLTK_DATA", str(default_nltk_data_root()))
).expanduser().resolve(),
max_request_bytes=_positive_integer(
- env.get("NARRATAGE_WHISPERX_MAX_REQUEST_BYTES", str(64 * 1024)),
- "NARRATAGE_WHISPERX_MAX_REQUEST_BYTES",
+ env.get("HYPIT_WHISPERX_MAX_REQUEST_BYTES", str(64 * 1024)),
+ "HYPIT_WHISPERX_MAX_REQUEST_BYTES",
),
max_audio_bytes=_positive_integer(
- env.get("NARRATAGE_WHISPERX_MAX_AUDIO_BYTES", str(512 * 1024 * 1024)),
- "NARRATAGE_WHISPERX_MAX_AUDIO_BYTES",
+ env.get("HYPIT_WHISPERX_MAX_AUDIO_BYTES", str(512 * 1024 * 1024)),
+ "HYPIT_WHISPERX_MAX_AUDIO_BYTES",
),
)
diff --git a/services/whisperx/src/narratage_whisperx_service/engine.py b/services/whisperx/src/hypit_whisperx_service/engine.py
similarity index 100%
rename from services/whisperx/src/narratage_whisperx_service/engine.py
rename to services/whisperx/src/hypit_whisperx_service/engine.py
diff --git a/services/whisperx/src/narratage_whisperx_service/prepare.py b/services/whisperx/src/hypit_whisperx_service/prepare.py
similarity index 100%
rename from services/whisperx/src/narratage_whisperx_service/prepare.py
rename to services/whisperx/src/hypit_whisperx_service/prepare.py
diff --git a/services/whisperx/src/narratage_whisperx_service/resources.py b/services/whisperx/src/hypit_whisperx_service/resources.py
similarity index 92%
rename from services/whisperx/src/narratage_whisperx_service/resources.py
rename to services/whisperx/src/hypit_whisperx_service/resources.py
index 70084e14..b294ab6d 100644
--- a/services/whisperx/src/narratage_whisperx_service/resources.py
+++ b/services/whisperx/src/hypit_whisperx_service/resources.py
@@ -17,11 +17,11 @@ PUNKT_TAB_URL = (
f"{PUNKT_TAB_COMMIT}/packages/tokenizers/punkt_tab.zip"
)
MAX_ARCHIVE_BYTES = 32 * 1024 * 1024
-MARKER_NAME = ".narratage-resource.json"
+MARKER_NAME = ".hypit-resource.json"
def default_nltk_data_root() -> Path:
- return Path.home() / ".cache" / "narratage" / "whisperx" / "nltk_data"
+ return Path.home() / ".cache" / "hypit" / "whisperx" / "nltk_data"
def _marker(root: Path) -> Path:
@@ -34,7 +34,7 @@ def assert_punkt_tab(root: Path) -> None:
value = json.loads(marker.read_text(encoding="utf-8"))
except (OSError, json.JSONDecodeError) as error:
raise RuntimeError(
- "locked NLTK punkt_tab data is unavailable; run `narratage-whisperx-prepare`"
+ "locked NLTK punkt_tab data is unavailable; run `hypit-whisperx-prepare`"
) from error
if value != {"commit": PUNKT_TAB_COMMIT, "sha256": PUNKT_TAB_SHA256}:
raise RuntimeError("installed NLTK punkt_tab identity differs from the service lock")
@@ -90,7 +90,7 @@ def prepare_punkt_tab(root: Path, payload: bytes | None = None) -> Path:
raise RuntimeError(f"punkt_tab archive digest mismatch: expected {PUNKT_TAB_SHA256}, got {digest}")
target.parent.mkdir(parents=True, exist_ok=True)
- with tempfile.TemporaryDirectory(prefix="narratage-punkt-tab-", dir=target.parent) as temporary:
+ with tempfile.TemporaryDirectory(prefix="hypit-punkt-tab-", dir=target.parent) as temporary:
staging = Path(temporary)
_extract(archive, staging)
extracted = staging / "punkt_tab"
diff --git a/services/whisperx/src/narratage_whisperx_service/server.py b/services/whisperx/src/hypit_whisperx_service/server.py
similarity index 97%
rename from services/whisperx/src/narratage_whisperx_service/server.py
rename to services/whisperx/src/hypit_whisperx_service/server.py
index b1e50d20..6a85efc2 100644
--- a/services/whisperx/src/narratage_whisperx_service/server.py
+++ b/services/whisperx/src/hypit_whisperx_service/server.py
@@ -7,7 +7,7 @@ import threading
from .application import RequestError, WhisperXApplication
-LOGGER = logging.getLogger("narratage.whisperx")
+LOGGER = logging.getLogger("hypit.whisperx")
class WhisperXHttpServer(ThreadingHTTPServer):
@@ -21,7 +21,7 @@ class WhisperXHttpServer(ThreadingHTTPServer):
class WhisperXRequestHandler(BaseHTTPRequestHandler):
protocol_version = "HTTP/1.1"
- server_version = "narratage-whisperx"
+ server_version = "hypit-whisperx"
sys_version = ""
@property
diff --git a/services/whisperx/tests/test_service.py b/services/whisperx/tests/test_service.py
index 54b86ab3..ae009a16 100644
--- a/services/whisperx/tests/test_service.py
+++ b/services/whisperx/tests/test_service.py
@@ -11,12 +11,12 @@ import wave
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "src"))
-from narratage_whisperx_service import PROTOCOL, SERVICE_VERSION # noqa: E402
-from narratage_whisperx_service.application import RequestError, WhisperXApplication # noqa: E402
-from narratage_whisperx_service.audio import AudioInputError, CanonicalAudio, read_canonical_audio # noqa: E402
-from narratage_whisperx_service.config import ServiceConfig # noqa: E402
-from narratage_whisperx_service.engine import InferenceBusyError, normalize_alignment, normalize_language # noqa: E402
-from narratage_whisperx_service.resources import assert_punkt_tab # noqa: E402
+from hypit_whisperx_service import PROTOCOL, SERVICE_VERSION # noqa: E402
+from hypit_whisperx_service.application import RequestError, WhisperXApplication # noqa: E402
+from hypit_whisperx_service.audio import AudioInputError, CanonicalAudio, read_canonical_audio # noqa: E402
+from hypit_whisperx_service.config import ServiceConfig # noqa: E402
+from hypit_whisperx_service.engine import InferenceBusyError, normalize_alignment, normalize_language # noqa: E402
+from hypit_whisperx_service.resources import assert_punkt_tab # noqa: E402
def write_wav(path: Path, frames: int = 32_000, rate: int = 16_000, channels: int = 1) -> None:
@@ -61,7 +61,7 @@ class BusyEngine(FakeEngine):
def config(root: Path, **environment: str) -> ServiceConfig:
return ServiceConfig.from_environment({
- "NARRATAGE_WHISPERX_INPUT_ROOTS": str(root),
+ "HYPIT_WHISPERX_INPUT_ROOTS": str(root),
**environment,
})
@@ -79,7 +79,7 @@ class ConfigurationTests(unittest.TestCase):
def test_invalid_limits_fail_before_loading_model_weights(self) -> None:
with tempfile.TemporaryDirectory() as directory:
with self.assertRaisesRegex(ValueError, "PORT"):
- config(Path(directory), NARRATAGE_WHISPERX_PORT="70000")
+ config(Path(directory), HYPIT_WHISPERX_PORT="70000")
class AudioTests(unittest.TestCase):
@@ -108,7 +108,7 @@ class AudioTests(unittest.TestCase):
class ResourceTests(unittest.TestCase):
def test_locked_sentence_data_is_required_before_model_start(self) -> None:
with tempfile.TemporaryDirectory() as directory:
- with self.assertRaisesRegex(RuntimeError, "narratage-whisperx-prepare"):
+ with self.assertRaisesRegex(RuntimeError, "hypit-whisperx-prepare"):
assert_punkt_tab(Path(directory))
diff --git a/services/whisperx/uv.lock b/services/whisperx/uv.lock
index 18dd1cf3..adb7741b 100644
--- a/services/whisperx/uv.lock
+++ b/services/whisperx/uv.lock
@@ -2908,7 +2908,7 @@ wheels = [
]
[[package]]
-name = "narratage-whisperx-service"
+name = "hypit-whisperx-service"
version = "0.1.0"
source = { editable = "." }
dependencies = [
diff --git a/test/fixture-digest.ts b/test/fixture-digest.ts
index 81ce4962..6a835e49 100644
--- a/test/fixture-digest.ts
+++ b/test/fixture-digest.ts
@@ -1,4 +1,4 @@
-import type { Digest } from "@narratage/protocol";
+import type { Digest } from "@hypit/protocol";
/** Test-only Blob address. It encodes fixture text; it does not hash program meaning. */
export function fixtureDigest(value: unknown): Digest {
diff --git a/test/repository-hygiene.test.mjs b/test/repository-hygiene.test.mjs
index 3f6f82ea..e30fbf8d 100644
--- a/test/repository-hygiene.test.mjs
+++ b/test/repository-hygiene.test.mjs
@@ -7,7 +7,7 @@ import ts from "typescript";
const repositoryRoot = new URL("../", import.meta.url);
const scanRoots = ["docs", "examples", "packages", "services", "test"];
const rootTextFiles = ["README.md", "package.json", "pnpm-workspace.yaml", "tsconfig.json"];
-const ignoredDirectories = new Set(["node_modules", "dist", "output", ".narratage", ".svml", ".vitepress"]);
+const ignoredDirectories = new Set(["node_modules", "dist", "output", ".hypit", ".svml", ".vitepress"]);
const textExtensions = new Set([
".css", ".html", ".js", ".json", ".jsx", ".md", ".mjs", ".sh", ".svml", ".svrun",
".svs", ".ts", ".tsx", ".txt", ".yaml", ".yml",
@@ -58,7 +58,7 @@ test("public repository contains no workstation paths or high-confidence secret
});
test("pre-release project-owned major identities remain at one", async () => {
- const identity = /(?:\bsvml\.[a-z0-9._/-]+|@narratage\/[a-z0-9._/${}-]+)@([0-9]+)(?![.0-9])/giu;
+ const identity = /(?:\bsvml\.[a-z0-9._/-]+|@hypit\/[a-z0-9._/${}-]+)@([0-9]+)(?![.0-9])/giu;
const failures = [];
for (const entry of await repositoryEntries()) {
if (!entry.isFile || !textExtensions.has(extname(entry.path))) continue;
@@ -85,7 +85,7 @@ function projectIdentityObject(node) {
const owner = properties.get("name") ?? properties.get("module");
return owner !== undefined
&& ts.isStringLiteralLike(owner)
- && owner.text.startsWith("@narratage/")
+ && owner.text.startsWith("@hypit/")
&& properties.has("version")
? properties.get("version")
: undefined;
@@ -115,7 +115,7 @@ test("project-owned production Module and Frontend identities use literal versio
});
function packageImports(source) {
- const matches = source.matchAll(/(?:\bfrom\s+|\bimport\s*\(|^\s*import\s+)["'](@narratage\/[a-z0-9-]+)(?:\/[^"']*)?["']/gmu);
+ const matches = source.matchAll(/(?:\bfrom\s+|\bimport\s*\(|^\s*import\s+)["'](@hypit\/[a-z0-9-]+)(?:\/[^"']*)?["']/gmu);
return [...matches].map((match) => match[1]);
}
diff --git a/test/support/video-domain.ts b/test/support/video-domain.ts
index abcafa17..5824c016 100644
--- a/test/support/video-domain.ts
+++ b/test/support/video-domain.ts
@@ -1,14 +1,14 @@
-import { artifactManifest } from "@narratage/artifact";
-import { compositionComponent, compositionManifest } from "@narratage/composition";
-import { mediaComponent, mediaManifest } from "@narratage/media";
-import { narrativeManifest } from "@narratage/narrative";
-import { programSpaceManifest } from "@narratage/program-space";
-import { semanticMapManifest } from "@narratage/semantic-map";
-import { spatialComponent, spatialManifest } from "@narratage/spatial";
-import { speechManifest } from "@narratage/speech";
-import { speechEvidenceManifest } from "@narratage/speech-evidence";
-import { temporalManifest } from "@narratage/temporal";
-import { visualIrManifest } from "@narratage/visual-ir";
+import { artifactManifest } from "@hypit/artifact";
+import { compositionComponent, compositionManifest } from "@hypit/composition";
+import { mediaComponent, mediaManifest } from "@hypit/media";
+import { narrativeManifest } from "@hypit/narrative";
+import { programSpaceManifest } from "@hypit/program-space";
+import { semanticMapManifest } from "@hypit/semantic-map";
+import { spatialComponent, spatialManifest } from "@hypit/spatial";
+import { speechManifest } from "@hypit/speech";
+import { speechEvidenceManifest } from "@hypit/speech-evidence";
+import { temporalManifest } from "@hypit/temporal";
+import { visualIrManifest } from "@hypit/visual-ir";
/** Shared test fixture only; production packages import only the contracts they use. */
export const videoContractManifests = [