@alexkroman1/aai-ui 16.0.0 → 16.1.0
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.
- package/dist/components/audio-result.d.ts +2 -2
- package/dist/components/facts.d.ts +1 -1
- package/dist/components/workflow-run-panel.d.ts +1 -1
- package/dist/context.d.ts +1 -1
- package/dist/context.js +1 -1
- package/dist/hooks.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/use-run-key.d.ts +1 -1
- package/dist/use-workflow-form.d.ts +1 -1
- package/package.json +2 -2
- package/styles.css +2 -2
|
@@ -58,9 +58,9 @@ export type AudioResultProps = {
|
|
|
58
58
|
* and that is the whole reason both pages hand this a hook result rather than a
|
|
59
59
|
* path.
|
|
60
60
|
*
|
|
61
|
-
* **A caption track is a judgement, not a default.** `spoken-summary` passes
|
|
61
|
+
* **A caption track is a judgement, not a default.** `spoken-summary-workflow` passes
|
|
62
62
|
* `captions`: the summary was written before it was spoken, so one cue
|
|
63
|
-
* spanning the clip is an honest transcript of it. `call-audit` deliberately
|
|
63
|
+
* spanning the clip is an honest transcript of it. `call-audit-workflow` deliberately
|
|
64
64
|
* does not: the spoken text is rendered in full immediately below the player,
|
|
65
65
|
* which is the same information a track would carry. Both are right, which is
|
|
66
66
|
* why the prop is optional in both directions.
|
|
@@ -42,7 +42,7 @@ export type FactsProps = {
|
|
|
42
42
|
* 1,840 words".
|
|
43
43
|
*
|
|
44
44
|
* Nine pages had written this by hand under four different typographies for
|
|
45
|
-
* one role, two of them (`call-audit` and `spoken-summary`) byte-identical down
|
|
45
|
+
* one role, two of them (`call-audit-workflow` and `spoken-summary-workflow`) byte-identical down
|
|
46
46
|
* to the payload. Three things it takes off the caller:
|
|
47
47
|
*
|
|
48
48
|
* - **The separator cannot be forgotten, and neither can the space around it.**
|
|
@@ -40,7 +40,7 @@ export type WorkflowRunPanelProps<O> = {
|
|
|
40
40
|
* button, the run's own narration, the live slot while it works, the completed
|
|
41
41
|
* body once it has, and the announced error if it failed.
|
|
42
42
|
*
|
|
43
|
-
* Two pages had written this shell — `redline` and `transcription-workflow` —
|
|
43
|
+
* Two pages had written this shell — `document-redline-workflow` and `transcription-workflow` —
|
|
44
44
|
* with the same header, the same `text-xs underline` Clear, the same
|
|
45
45
|
* {@link WorkflowProgress} under it, the same `run.status === "completed"`
|
|
46
46
|
* discrimination above the same {@link WorkflowRunError}, and each spread
|
package/dist/context.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare function useSessionCore(): BrowserSession;
|
|
|
62
62
|
* rebuilds the snapshot object on every change. Measured consequence: four
|
|
63
63
|
* components across three templates re-rendered on every STT partial and every
|
|
64
64
|
* streaming delta, in files whose every other component is narrowly subscribed
|
|
65
|
-
* on purpose. One of them (`
|
|
65
|
+
* on purpose. One of them (`text-adventure-agent`'s `TitleScreen`) reads nothing
|
|
66
66
|
* from the snapshot at all and subscribes to all of it for `session.start`.
|
|
67
67
|
*
|
|
68
68
|
* **Why publishing this does not reopen what `/internal` closed.**
|
package/dist/context.js
CHANGED
|
@@ -47,7 +47,7 @@ function useSessionCore() {
|
|
|
47
47
|
* rebuilds the snapshot object on every change. Measured consequence: four
|
|
48
48
|
* components across three templates re-rendered on every STT partial and every
|
|
49
49
|
* streaming delta, in files whose every other component is narrowly subscribed
|
|
50
|
-
* on purpose. One of them (`
|
|
50
|
+
* on purpose. One of them (`text-adventure-agent`'s `TitleScreen`) reads nothing
|
|
51
51
|
* from the snapshot at all and subscribes to all of it for `session.start`.
|
|
52
52
|
*
|
|
53
53
|
* **Why publishing this does not reopen what `/internal` closed.**
|
package/dist/hooks.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ export declare function useAgentState<S = DefaultToolResult>(): S | null;
|
|
|
133
133
|
* is expensive to IMPORT.** A projection is built from the slot, so the browser
|
|
134
134
|
* bundle gets whatever that module pulls in — and the cost is the static import
|
|
135
135
|
* graph rather than the `create()` call, so no option on the slot can avoid it.
|
|
136
|
-
* `retail` is the worked example: its slot lives beside a 107 KB seed, so the
|
|
136
|
+
* `retail-orders-agent` is the worked example: its slot lives beside a 107 KB seed, so the
|
|
137
137
|
* page passes a `fallback` built by running the same view over a cheap empty
|
|
138
138
|
* state, from a module that imports no seed. Reach for this overload
|
|
139
139
|
* everywhere the slot's module is cheap, which is every other stateful
|
package/dist/index.js
CHANGED
|
@@ -48,9 +48,9 @@ function captionsUrl(text, durationMs) {
|
|
|
48
48
|
* and that is the whole reason both pages hand this a hook result rather than a
|
|
49
49
|
* path.
|
|
50
50
|
*
|
|
51
|
-
* **A caption track is a judgement, not a default.** `spoken-summary` passes
|
|
51
|
+
* **A caption track is a judgement, not a default.** `spoken-summary-workflow` passes
|
|
52
52
|
* `captions`: the summary was written before it was spoken, so one cue
|
|
53
|
-
* spanning the clip is an honest transcript of it. `call-audit` deliberately
|
|
53
|
+
* spanning the clip is an honest transcript of it. `call-audit-workflow` deliberately
|
|
54
54
|
* does not: the spoken text is rendered in full immediately below the player,
|
|
55
55
|
* which is the same information a track would carry. Both are right, which is
|
|
56
56
|
* why the prop is optional in both directions.
|
|
@@ -191,7 +191,7 @@ const FACT_SEPARATOR = " · ";
|
|
|
191
191
|
* 1,840 words".
|
|
192
192
|
*
|
|
193
193
|
* Nine pages had written this by hand under four different typographies for
|
|
194
|
-
* one role, two of them (`call-audit` and `spoken-summary`) byte-identical down
|
|
194
|
+
* one role, two of them (`call-audit-workflow` and `spoken-summary-workflow`) byte-identical down
|
|
195
195
|
* to the payload. Three things it takes off the caller:
|
|
196
196
|
*
|
|
197
197
|
* - **The separator cannot be forgotten, and neither can the space around it.**
|
|
@@ -1680,7 +1680,7 @@ const WORKFLOW_STATUS_LABELS = {
|
|
|
1680
1680
|
* button, the run's own narration, the live slot while it works, the completed
|
|
1681
1681
|
* body once it has, and the announced error if it failed.
|
|
1682
1682
|
*
|
|
1683
|
-
* Two pages had written this shell — `redline` and `transcription-workflow` —
|
|
1683
|
+
* Two pages had written this shell — `document-redline-workflow` and `transcription-workflow` —
|
|
1684
1684
|
* with the same header, the same `text-xs underline` Clear, the same
|
|
1685
1685
|
* {@link WorkflowProgress} under it, the same `run.status === "completed"`
|
|
1686
1686
|
* discrimination above the same {@link WorkflowRunError}, and each spread
|
|
@@ -1952,7 +1952,7 @@ function useDownloadUrl(uploadId, options = {}) {
|
|
|
1952
1952
|
* coming back on Friday to press Stop is the ordinary case rather than an edge
|
|
1953
1953
|
* one, and a tab-scoped key would answer that with an empty form beside a run
|
|
1954
1954
|
* still posting somewhere. It is as far as a key can go without a login, and no
|
|
1955
|
-
* further. `podcast-digest` is that template, and the reason this hook is still
|
|
1955
|
+
* further. `podcast-digest-workflow` is that template, and the reason this hook is still
|
|
1956
1956
|
* called by name anywhere; the other five take the tab-scoped default the
|
|
1957
1957
|
* submit hook mints for them.
|
|
1958
1958
|
*
|
|
@@ -2749,7 +2749,7 @@ function coalesceUploadReports(set) {
|
|
|
2749
2749
|
*
|
|
2750
2750
|
* A page that submits a workflow always needs the same four pieces of state:
|
|
2751
2751
|
* the run id, whether a submit is in flight, whether the RUN is still going, and
|
|
2752
|
-
* whichever of the two failed. `link-digest` writes them out by hand, which is
|
|
2752
|
+
* whichever of the two failed. `link-digest-workflow` writes them out by hand, which is
|
|
2753
2753
|
* the right shape for a template teaching the primitives and the wrong shape to
|
|
2754
2754
|
* write a third time — and it is easy to get subtly wrong: dropping the previous
|
|
2755
2755
|
* run id before the new `POST` returns is what stops a finished result sitting
|
package/dist/use-run-key.d.ts
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
* coming back on Friday to press Stop is the ordinary case rather than an edge
|
|
52
52
|
* one, and a tab-scoped key would answer that with an empty form beside a run
|
|
53
53
|
* still posting somewhere. It is as far as a key can go without a login, and no
|
|
54
|
-
* further. `podcast-digest` is that template, and the reason this hook is still
|
|
54
|
+
* further. `podcast-digest-workflow` is that template, and the reason this hook is still
|
|
55
55
|
* called by name anywhere; the other five take the tab-scoped default the
|
|
56
56
|
* submit hook mints for them.
|
|
57
57
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* A page that submits a workflow always needs the same four pieces of state:
|
|
12
12
|
* the run id, whether a submit is in flight, whether the RUN is still going, and
|
|
13
|
-
* whichever of the two failed. `link-digest` writes them out by hand, which is
|
|
13
|
+
* whichever of the two failed. `link-digest-workflow` writes them out by hand, which is
|
|
14
14
|
* the right shape for a template teaching the primitives and the wrong shape to
|
|
15
15
|
* write a third time — and it is easy to get subtly wrong: dropping the previous
|
|
16
16
|
* run id before the new `POST` returns is what stops a finished result sitting
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexkroman1/aai-ui",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"use-stick-to-bottom": "^1.1.6",
|
|
47
47
|
"use-sync-external-store": "^1.6.0",
|
|
48
48
|
"xstate": "^5.32.6",
|
|
49
|
-
"@alexkroman1/aai": "16.
|
|
49
|
+
"@alexkroman1/aai": "16.1.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@tailwindcss/vite": "^4.3.3",
|
package/styles.css
CHANGED
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
* reaches the TEMPLATES.** Every template's `client.tsx` opens with
|
|
102
102
|
* `import "@alexkroman1/aai-ui/styles.css"`, and several then declare keyframes
|
|
103
103
|
* of their own in an inline `<style>` block: `dc-pulse`/`dc-slide-in`
|
|
104
|
-
* (dispatch-
|
|
105
|
-
* (
|
|
104
|
+
* (emergency-dispatch-agent), `rt-pulse`/`rt-slide-in` (retail), `crisisPulse`
|
|
105
|
+
* (tabletop-rpg-agent), and `ic-flicker`/`ic-scanline`/`ic-pulse` (text-adventure-agent,
|
|
106
106
|
* which flickers the whole viewport's opacity and sweeps a scanline across the
|
|
107
107
|
* page — the worst thing in the repo for a motion-sensitive reader). Nothing in
|
|
108
108
|
* this package knows those names, and no per-component fix could: it would have
|