@hypit/hypit 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +1 -1
  2. package/dist/public/studio-adapter.d.ts +31 -2
  3. package/package.json +4 -1
  4. package/packages/audio-track-studio/src/index.ts +7 -4
  5. package/packages/build-result/README.md +58 -0
  6. package/packages/build-result/package.json +2 -1
  7. package/packages/build-result/src/decode.ts +10 -8
  8. package/packages/build-result/src/file-reference.ts +42 -0
  9. package/packages/build-result/src/index.ts +3 -0
  10. package/packages/build-result/src/replace-file-windows.ts +58 -0
  11. package/packages/build-result/src/replace-file.ts +11 -0
  12. package/packages/build-result/src/store.ts +44 -13
  13. package/packages/build-result/src/types.ts +38 -8
  14. package/packages/build-result/src/writer.ts +12 -1
  15. package/packages/build-result-fs/README.md +23 -1
  16. package/packages/build-result-s3/README.md +5 -0
  17. package/packages/build-result-s3/src/repository.ts +19 -5
  18. package/packages/caption-fine/README.md +17 -2
  19. package/packages/caption-fine/src/manifest.ts +1 -1
  20. package/packages/caption-fine/src/render.ts +48 -36
  21. package/packages/caption-fine-studio/package.json +8 -3
  22. package/packages/caption-fine-studio/src/index.ts +10 -1
  23. package/packages/cli/README.md +25 -0
  24. package/packages/cli/src/arguments.ts +16 -11
  25. package/packages/cli/src/build-planning.ts +6 -1
  26. package/packages/cli/src/command.ts +1 -1
  27. package/packages/cli/src/commands/environment.ts +42 -13
  28. package/packages/cli/src/machine-view.ts +12 -3
  29. package/packages/cli/src/main.ts +4 -0
  30. package/packages/cli/src/output.ts +28 -12
  31. package/packages/cli/src/result-export.ts +22 -13
  32. package/packages/cli/src/run-file.ts +19 -8
  33. package/packages/comment-sticker-studio/src/index.ts +2 -1
  34. package/packages/compiler-node/src/compiler.ts +1 -0
  35. package/packages/estimate/README.md +56 -3
  36. package/packages/estimate/src/program.ts +7 -8
  37. package/packages/fonts-open/README.md +5 -0
  38. package/packages/fonts-open/package.json +5 -1
  39. package/packages/fonts-open/src/studio.ts +21 -0
  40. package/packages/gpt-image-kits/README.md +17 -12
  41. package/packages/gpt-image-kits/kits/phone-ugc-v1.svs +8 -8
  42. package/packages/media-track-studio/src/index.ts +7 -2
  43. package/packages/provider-whisperx-local/README.md +57 -0
  44. package/packages/ranking/src/render.ts +11 -9
  45. package/packages/ranking-studio/README.md +11 -0
  46. package/packages/ranking-studio/package.json +8 -3
  47. package/packages/ranking-studio/src/index.ts +11 -4
  48. package/packages/runtime/src/catalog.ts +2 -0
  49. package/packages/runtime-host-node/src/index.ts +1 -0
  50. package/packages/runtime-local/README.md +19 -0
  51. package/packages/runtime-local/src/programs.ts +39 -24
  52. package/packages/runtime-local/src/runtime.ts +2 -0
  53. package/packages/script/README.md +22 -0
  54. package/packages/script/src/edit.ts +123 -73
  55. package/packages/script/src/lexical.ts +40 -6
  56. package/packages/script/src/parser.ts +36 -8
  57. package/packages/script/src/types.ts +4 -0
  58. package/packages/seedance-kits/README.md +3 -1
  59. package/packages/seedance-kits/kits/speaker-v1.svs +5 -5
  60. package/packages/speech-alignment/src/align.ts +45 -21
  61. package/packages/studio/INSPECTOR.md +104 -0
  62. package/packages/studio/README.md +65 -4
  63. package/packages/studio/src/build-library.ts +99 -84
  64. package/packages/studio/src/library-media.ts +19 -0
  65. package/packages/studio/src/parameter-values.ts +41 -1
  66. package/packages/studio/src/parameters.ts +20 -21
  67. package/packages/studio/src/server.ts +58 -30
  68. package/packages/studio/src/shared.ts +20 -6
  69. package/packages/studio/src/studio-registry.ts +22 -0
  70. package/packages/studio/src/style.css +135 -144
  71. package/packages/studio/src/temporal-edit.ts +131 -0
  72. package/packages/studio/src/ui/artifact-name.ts +80 -0
  73. package/packages/studio/src/ui/artifact-preview.ts +99 -0
  74. package/packages/studio/src/ui/icons.ts +5 -1
  75. package/packages/studio/src/ui/library.ts +373 -192
  76. package/packages/studio/src/ui/main.ts +153 -31
  77. package/packages/studio/src/ui/material-preview.ts +1 -1
  78. package/packages/studio/src/ui/overlay.ts +21 -20
  79. package/packages/studio/src/ui/sidebar-panel.ts +31 -0
  80. package/packages/studio/src/ui/stage.ts +124 -8
  81. package/packages/studio/src/ui/timeline.ts +16 -179
  82. package/packages/studio/start.ts +15 -3
  83. package/packages/studio-adapter/README.md +21 -0
  84. package/packages/studio-adapter/src/index.ts +26 -1
  85. package/packages/temporal-markup/EDITING.md +183 -0
  86. package/packages/temporal-markup/README.md +4 -0
  87. package/packages/typography-track-studio/package.json +8 -3
  88. package/packages/typography-track-studio/src/index.ts +5 -1
  89. package/packages/video-cli/README.md +12 -3
  90. package/packages/video-cli/src/creation.ts +11 -5
  91. package/packages/whisperx/README.md +7 -0
  92. package/packages/workspace/src/index.ts +2 -0
  93. package/packages/workspace-fs-node/README.md +4 -1
  94. package/packages/workspace-fs-node/src/workspace.ts +3 -1
@@ -75,19 +75,19 @@
75
75
  }
76
76
 
77
77
  text-template.speaker-v1.choice.performance.natural-explainer {
78
- text: "PERFORMANCE: natural explainer energy with clear eye focus, expressive eyebrows, small nods, and a friendly conversational rhythm.";
78
+ text: "PERFORMANCE: engaged, friendly conversation with responsive intonation and clear emphasis as the thought develops. Let gaze, expression, and gesture convey the speaker's attitude to what they are saying.";
79
79
  }
80
80
 
81
81
  text-template.speaker-v1.choice.performance.high-energy-ugc {
82
- text: "PERFORMANCE: vivid high-energy short-form delivery with expressive face changes on key words.";
82
+ text: "PERFORMANCE: vivid, energetic short-form delivery with nimble phrasing, animated intonation, and emphatic key ideas. Let the voice and visible reactions develop together as the speaker makes their point.";
83
83
  }
84
84
 
85
85
  text-template.speaker-v1.choice.performance.calm-authority {
86
- text: "PERFORMANCE: composed, confident, precise, and trustworthy, with deliberate emphasis.";
86
+ text: "PERFORMANCE: composed, thoughtful conviction with measured phrasing and purposeful vocal emphasis. Let focused attention and small, deliberate reactions express how the speaker weighs the idea and reaches a judgment.";
87
87
  }
88
88
 
89
89
  text-template.speaker-v1.choice.performance.reactive-playful {
90
- text: "PERFORMANCE: playful and reactive, with amused looks, quick smiles, skeptical eyebrows, and lively timing.";
90
+ text: "PERFORMANCE: playful, responsive delivery with teasing inflection, lively timing, and an audible smile where the thought amuses the speaker. Let curiosity, skepticism, or delight come through in the voice and matching visible reactions as the passage calls for them.";
91
91
  }
92
92
 
93
93
  text-template.speaker-v1.block.gesture {
@@ -131,6 +131,6 @@
131
131
  order: 100;
132
132
  slot: action;
133
133
  optional: true;
134
- label: "ACTION DIRECTION:";
134
+ label: "PERFORMANCE AND ACTION DIRECTION:";
135
135
  }
136
136
  </sheet>
@@ -66,6 +66,9 @@ function pairedCost(
66
66
  ): number {
67
67
  const sourceText = comparisonText(source);
68
68
  const evidenceText = comparisonText(evidence);
69
+ // Identical wording with different token boundaries is a segmentation difference. Its cost
70
+ // must not grow with the number of letters a recognizer happens to emit for one word.
71
+ if (sourceText === evidenceText) return source.length === 1 && evidence.length === 1 ? 0 : 0.055;
69
72
  const width = Math.max([...sourceText].length, [...evidenceText].length, 1);
70
73
  const distance = editDistance([...sourceText], [...evidenceText]) / width;
71
74
  const grouping = 0.055 * Math.max(0, source.length + evidence.length - 2);
@@ -74,6 +77,17 @@ function pairedCost(
74
77
  return distance * evidenceReliability(evidence) + grouping + 0.06 * unmatchedWordBoundaries;
75
78
  }
76
79
 
80
+ function exactRunLength(target: string, parts: readonly string[], start: number): number {
81
+ if (target.length === 0) return 0;
82
+ let joined = "";
83
+ for (let index = start; index < parts.length; index += 1) {
84
+ joined += parts[index];
85
+ if (joined === target) return index - start + 1;
86
+ if (!target.startsWith(joined)) return 0;
87
+ }
88
+ return 0;
89
+ }
90
+
77
91
  function better(candidate: Cell, current: Cell | undefined): boolean {
78
92
  if (!current) return true;
79
93
  if (candidate.cost < current.cost - EPSILON) return true;
@@ -155,34 +169,44 @@ export function alignWordGroups(
155
169
  }
156
170
  };
157
171
 
172
+ const sourceTexts = source.map((token) => normalizeForAlignment(token.text));
173
+ const evidenceTexts = evidence.map((word) => normalizeForAlignment(word.text));
158
174
  for (let sourceIndex = 0; sourceIndex <= source.length; sourceIndex += 1) {
159
175
  for (let evidenceIndex = 0; evidenceIndex <= evidence.length; evidenceIndex += 1) {
160
176
  if (!rows[sourceIndex]![evidenceIndex]) continue;
177
+ const pair = (sourceCount: number, evidenceCount: number): void => {
178
+ const sourceGroup = source.slice(sourceIndex, sourceIndex + sourceCount);
179
+ const evidenceGroup = evidence.slice(evidenceIndex, evidenceIndex + evidenceCount);
180
+ const exactOneToOne = sourceCount === 1
181
+ && evidenceCount === 1
182
+ && sourceGroup[0]!.normalized === normalizeForAlignment(evidenceGroup[0]!.text);
183
+ const cost = pairedCost(sourceGroup, evidenceGroup);
184
+ update(
185
+ sourceIndex,
186
+ evidenceIndex,
187
+ sourceIndex + sourceCount,
188
+ evidenceIndex + evidenceCount,
189
+ {
190
+ sourceSegmentId,
191
+ sourceTokenIds: sourceGroup.map((token) => token.id),
192
+ evidenceWordStart: evidenceIndex,
193
+ evidenceWordEndExclusive: evidenceIndex + evidenceCount,
194
+ relation: relation(sourceCount, evidenceCount, exactOneToOne),
195
+ cost,
196
+ },
197
+ exactOneToOne ? 1 : 0,
198
+ );
199
+ };
161
200
  for (let sourceCount = 1; sourceCount <= maxGroupSize && sourceIndex + sourceCount <= source.length; sourceCount += 1) {
162
201
  for (let evidenceCount = 1; evidenceCount <= maxGroupSize && evidenceIndex + evidenceCount <= evidence.length; evidenceCount += 1) {
163
- const sourceGroup = source.slice(sourceIndex, sourceIndex + sourceCount);
164
- const evidenceGroup = evidence.slice(evidenceIndex, evidenceIndex + evidenceCount);
165
- const exactOneToOne = sourceCount === 1
166
- && evidenceCount === 1
167
- && sourceGroup[0]!.normalized === normalizeForAlignment(evidenceGroup[0]!.text);
168
- const cost = pairedCost(sourceGroup, evidenceGroup);
169
- update(
170
- sourceIndex,
171
- evidenceIndex,
172
- sourceIndex + sourceCount,
173
- evidenceIndex + evidenceCount,
174
- {
175
- sourceSegmentId,
176
- sourceTokenIds: sourceGroup.map((token) => token.id),
177
- evidenceWordStart: evidenceIndex,
178
- evidenceWordEndExclusive: evidenceIndex + evidenceCount,
179
- relation: relation(sourceCount, evidenceCount, exactOneToOne),
180
- cost,
181
- },
182
- exactOneToOne ? 1 : 0,
183
- );
202
+ pair(sourceCount, evidenceCount);
184
203
  }
185
204
  }
205
+ // Bound fuzzy alternatives, but follow a complete exact split/merge regardless of token count.
206
+ const evidenceRun = exactRunLength(sourceTexts[sourceIndex] ?? "", evidenceTexts, evidenceIndex);
207
+ if (evidenceRun > maxGroupSize) pair(1, evidenceRun);
208
+ const sourceRun = exactRunLength(evidenceTexts[evidenceIndex] ?? "", sourceTexts, sourceIndex);
209
+ if (sourceRun > maxGroupSize) pair(sourceRun, 1);
186
210
  if (sourceIndex < source.length) {
187
211
  const token = source[sourceIndex]!;
188
212
  update(
@@ -0,0 +1,104 @@
1
+ # Companion-owned Inspector fields
2
+
3
+ The Inspector asks three questions. **Where** describes spatial placement and organization;
4
+ **When** describes scheduling, playback and changes over time; **How** describes appearance,
5
+ content and sound. These are navigation domains, not restrictions on component behavior.
6
+
7
+ | Domain | Useful pages and sections |
8
+ | --- | --- |
9
+ | Where | Position, size, anchor, fitting/cropping, padding, clipping, stacking, layout |
10
+ | When | Placement in time, playback/cycling, source trim, entrance, sustained motion, exit, transitions, fades |
11
+ | How | Text/content, typography, fill/stroke, image adjustments, shadows, effect character, audio levels |
12
+
13
+ Each Companion supplies page and section IDs and labels in declaration order. These examples are
14
+ a shared vocabulary, not a registry of permitted pages. A new component can name a useful grouping
15
+ without a Studio change. Put a field where its authoring decision belongs: motion duration is When,
16
+ its color is How, and the object's frame is Where. One field has one owner and one location.
17
+
18
+ ## Controls describe the editing task
19
+
20
+ `bindings` exposes actual author endpoints; `inspector` chooses which to show. A resolved field is
21
+ shown only when its binding is writable. The finite controls are independent of the three domains:
22
+
23
+ | Control | Use |
24
+ | --- | --- |
25
+ | `text` | Text, identifiers, or a meaningful expression. `multiline: true` provides a textarea. |
26
+ | `number` | A scalar with optional limits, stepping, display scaling, or an authored suffix. |
27
+ | `boolean` | A two-state switch. |
28
+ | `select` | A finite choice, including presets, font families or numeric weights. |
29
+ | `color` | Hex text and a native color picker; optional `swatches` offers package-chosen colors. |
30
+ | `list` | An ordered value described by an array schema, such as a palette or repeated settings. |
31
+ | `record` | Named values described by an object schema, such as one shadow's parameters. |
32
+
33
+ Lists and records retain Apply/Reset drafts. Their schema owns value shape. There is no separate
34
+ palette database, font control protocol, generic CSS editor, or component-supplied DOM renderer.
35
+ Use text for an expression whose parts cannot meaningfully be edited as one number.
36
+
37
+ ## Separate author values from display values
38
+
39
+ The DTO retains the authored `value`. A numeric presentation describes the small, reversible
40
+ conversion into the editor. The server applies the inverse, validates the **authored** value against
41
+ its public schema, and uses the author language's serializer. Source ranges and existing transactions
42
+ still own the write. Failed validation or recompilation does not publish a partial edit.
43
+
44
+ ```ts
45
+ // Authored as "78%" or "240px": edit only the magnitude, keep the existing unit.
46
+ { binding: "frame.width", label: "Width", domain: "where",
47
+ section: { id: "size", label: "Size" }, control: "number",
48
+ number: { suffixes: ["%", "px"], step: 1 } }
49
+
50
+ // Authored as 0.78: display 78 %, write 0.42 when the author enters 42.
51
+ { binding: "appearance.opacity", label: "Opacity", domain: "how",
52
+ section: { id: "image", label: "Image" }, control: "number", unit: "%",
53
+ number: { scale: 100, minimum: 0, maximum: 100, step: 1 } }
54
+ ```
55
+
56
+ `unit` is a label, not an instruction to append text. `suffixes` explicitly declares a string-valued
57
+ number and retains whichever admitted suffix the current source uses. It does not convert `%` into
58
+ pixels or seconds into frames. `scale` is positive; displayed value = authored magnitude × scale.
59
+ Limits and step in `number` refer to displayed values. A number schema's limits and integer setting
60
+ also inform the input when no presentation override is provided. Empty input is not silently zero.
61
+
62
+ SVML strings escape attribute delimiters and entity characters. SVS values use `formatSvsValue`.
63
+ Neither the UI nor a Companion writes source text through an arbitrary callback. Timeline temporal
64
+ gestures are separate from Inspector field conversion; see the temporal author forms for their
65
+ semantic-anchor and local-offset editing behavior.
66
+
67
+ ## Choices retain their actual value
68
+
69
+ Existing string options are shorthand for identical value and label. Rich options can supply a
70
+ different label, description and one small visual hint:
71
+
72
+ ```ts
73
+ options: [
74
+ { value: "brand-serif", label: "Brand Serif", description: "Project headline face",
75
+ preview: { kind: "font", family: "Project Serif", sample: "Aa 字幕" } },
76
+ { value: "brand-sans", label: "Brand Sans" },
77
+ ]
78
+ ```
79
+
80
+ A color hint uses `{ kind: "color", color: "#FF584A" }`. Values may be strings, numbers or booleans;
81
+ the selected value, not its display label, is validated and written. Preview hints contain data only.
82
+ Options remain named keyboard-operable choices. Font hints use a family available to the Studio
83
+ document; declaring a hint does not install or load a font or change the composition's font bytes.
84
+
85
+ The optional `@hypit/fonts-open/studio` helper owns its catalog labels and descriptions. Caption,
86
+ Typography and Ranking Companions use it to reach a Style's referenced font and edit its `family`
87
+ attribute. It appears for an actual writable family attribute; a `media:Font` file has no such
88
+ attribute. The family still has to supply the authored weight and style. A local font keeps its exact
89
+ file binding. Changing a shared font changes every consumer; this is visible Source reuse.
90
+
91
+ Nested `referenced` declarations follow explicit author references, such as Style → Font → family.
92
+ They neither scan for candidates nor replace whole-value references with strings. Project components
93
+ can declare their own option values and binding paths through the same ABI.
94
+
95
+ ## Implementation owners
96
+
97
+ - `studio-adapter` owns the data-only declarations and snapshot types.
98
+ - Component Companions own grouping, choices, units and references to writable author facts.
99
+ - Studio resolves endpoints, renders controls, converts display values and commits source edits.
100
+ - SVML/SVS and the component's ordinary compilation remain the authority for valid authored work.
101
+
102
+ The UI follows native numeric input behavior and named listbox options; reference material:
103
+ [MDN numeric inputs](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/number),
104
+ [WAI listbox pattern](https://www.w3.org/WAI/ARIA/apg/patterns/listbox/).
@@ -14,11 +14,55 @@ When `--runtime` is omitted, Studio reads the resolved project's `.hypit/runtime
14
14
  selection made by `hypit runtime use`. It does not search parent projects for a
15
15
  Profile. `--workspace` explicitly selects the project boundary; `--package-root`
16
16
  overrides the author package resolution root when those locations intentionally differ.
17
+ Startup prints the project, Run, Profile and whether the Profile came from the command argument or
18
+ the project's selection file. Relative command-line paths start at the invoking directory;
19
+ `--workspace` selects the project without rebasing `--run` or `--runtime`.
17
20
  The upper-left library is intentionally not a filesystem browser:
18
21
 
19
22
  - Source is the exact Run + Author closure and writes back only the selected file;
20
- - Tasks combine finished project Results with read-only active `BuildView` and Operation information;
21
- - Artifacts are public files exposed by project Build Results.
23
+ - Tasks show one card per Build, with All, In progress and Finished filters. Active progress comes from
24
+ the selected Runtime's read-only control interface; completed, failed and cancelled Builds come
25
+ from the project's Result Repository. Saving a Result and an issue requiring attention remain
26
+ visible, with the source Run and available progress or failure reason.
27
+ - Artifacts show top-level file Outputs whose declared MIME type is image, video or audio,
28
+ including files already published by ongoing Builds. Composite Outputs retain their structure:
29
+ the library does not extract their embedded resources. Forwarded file Outputs resolve to their
30
+ owner; references to the same owner file share one card and retain their origins. Highlighted
31
+ Outputs sort first, without excluding other media.
32
+
33
+ Source, Tasks and Artifacts use the shared `ui/sidebar-panel.ts` layout and navigation buttons. Each view
34
+ owns its toolbar content, data and actions; the shared shell owns geometry and navigation styling.
35
+
36
+ Views load on entry; returning to Tasks preserves its loaded list and selection. Explicit Refresh reads the latest state. There is no library polling.
37
+ Refresh replaces the current snapshot; scrolling to the end loads more finished Results. Failed
38
+ refreshes preserve the last view and show the error. Artifacts show project media through an icon sidebar: All media, Videos, Images and Audio.
39
+ The header names the category and offers Refresh. Selecting a Task adds its name beside the category in the existing header, establishing a session-local task context without shifting the list; its arrow opens that Build's media. The context remains across tab changes. Click its name to return to the selected Task, or clear it to browse project media. Task selection does not write Source, Result or Runtime state. Selected tasks expand the complete error text with a copy action. Source details are available on each media card. A media category is sent to the server, which
40
+ walks Result metadata pages until it collects a useful batch of matching files or reaches the end.
41
+ This keeps Build storage unchanged while avoiding empty category pages. The browser appends
42
+ older matches on scroll; Refresh reads the latest results for the current category.
43
+
44
+ Media cards use fixed-size square cells, contain the file at its own aspect ratio, and show up to two
45
+ wrapped name lines below. Selection colors the thumbnail area and name separately, without an
46
+ outer card border. Resizing the
47
+ sidebar distributes spare width between columns, then adds a column when another fixed-size
48
+ card fits. Card size stays unchanged. Video thumbnails decode a frame in the browser; audio waveforms are also
49
+ browser presentation, not additional Result files. Thumbnails load as their cells enter view.
50
+ The CLI carries the author's component name from compilation provenance into the Result's
51
+ optional Output `displayName`. The public Output identifier stays intact for references;
52
+ Outputs without a display name show that identifier unchanged. Double-click a name or press F2
53
+ to edit it in full; Enter or blur saves, Escape cancels. Failed saves retain the text and show the
54
+ reason. A completed, failed or cancelled Build's name is written through Result Repository
55
+ `updatePresentation` to that exact Output's `displayName`. Ongoing Builds become editable when
56
+ they finish, following the existing Result presentation-edit boundary. Renaming never changes
57
+ Output identity, referenced media files or other Builds' names for the same file.
58
+
59
+ The composition has a frame-snapped progress slider and current/total time.
60
+ Clicking a card opens the file in the central preview and pauses the composition. Images need
61
+ no transport; video and audio share the play/mute controls and a seconds-based scrubber above
62
+ the playback bar. The previous/next buttons skip five seconds for media, and step one frame
63
+ for the composition. Back to composition restores the existing composition playhead. Selecting
64
+ or seeking in the composition timeline also returns to it. Opening media changes no Source,
65
+ Run, or Candidate selection.
22
66
 
23
67
  No project manifest, Studio database, output-directory scan or inferred campaign
24
68
  folder structure is involved. With no selected Runtime, finished Result tasks and
@@ -32,7 +76,10 @@ The selected targets must reach one Film and its resolved time source. Studio re
32
76
  distinct Films in one view; use separate Runs/sessions for those. A SemanticTrack supplies the
33
77
  Script lane and performance timing, including wordless Segments with media spans. A declared
34
78
  ProgramSpace supplies authored animation time without a Script lane. Both show their component
35
- tracks and use the same rendering and parameter-editing machinery.
79
+ tracks and use the same rendering and parameter-editing machinery. When the snapshot contains
80
+ a semantic timeline, its lane and label stay pinned directly below the time ruler while
81
+ component tracks scroll. Its presence follows the resolved semantic timeline, including
82
+ wordless content, rather than a component name or the presence of spoken words.
36
83
 
37
84
  Open the URL printed by Vite. Studio requests port 5179 by default, accepts `--port`,
38
85
  and Vite can choose another available port when it is occupied. Reuse that process
@@ -52,11 +99,25 @@ Timeline gestures use explicit temporal authority. Moving a shared Selection or
52
99
  Moment edits Script and moves its consumers after recompilation. A parameter-based
53
100
  handle edits its exact authored parameter. Fixed or derived values with no supported
54
101
  inverse remain read-only. Seeing an entity does not promise every drag gesture.
102
+
103
+ A direct `during={selection}` move advances both endpoints by the same number of semantic
104
+ stops (distinct frame positions), so its duration may change. `at/for` moves its event and
105
+ offers a trailing duration trim; `until/for` offers the corresponding leading trim.
106
+ An Instant reference expression edits only its offset; a bare reference has an implicit zero offset.
107
+ `start/end` trims edit the corresponding expression; moving the window shifts both by the same
108
+ frame delta. Edited clock values and offsets are written in frames at the current ProgramSpace rate.
109
+ The semantic marker Inspector exposes exact anchor identities and, where a
110
+ declared handle supports it, offers choices among coincident anchors.
111
+ See [temporal author forms](../temporal-markup/EDITING.md) for the complete behavior.
112
+
55
113
  Tasks and Artifacts are inspection surfaces; selecting an Artifact does not write a
56
114
  Run Candidate. Use `build-record`/`satisfy` in the Run for explicit Output reuse.
57
115
 
58
116
  ## Component presentation
59
117
 
118
+ [Inspector fields](INSPECTOR.md) describes Where/When/How grouping, numeric unit conversion,
119
+ rich choices, fonts, color suggestions and exact Source writeback.
120
+
60
121
  Studio is an application boundary. Core and domain computation do not import it or
61
122
  register UI metadata. The installed Distribution explicitly selects one independent
62
123
  Studio Companion per supported official domain. Packages actually selected by the
@@ -82,7 +143,7 @@ source binding is never shown merely because Studio can reach it. Material layer
82
143
  Resource id or Surface identity, never a Studio HTTP URL. Studio always owns
83
144
  time formatting and transport resolution, so chrome and material cannot hide a
84
145
  title or its time.
85
- Studio owns session-wide behavior and chrome: Companion assembly, collision rules,
146
+ Studio owns session-wide behavior and chrome: Companion assembly, single-row overlap display,
86
147
  fallback defaults, selection treatment, playback, zoom,
87
148
  scrolling, the finite Inspector control set and source mutation transport. A
88
149
  companion cannot ship arbitrary DOM or CSS into the application.