@tangle-network/agent-app 0.56.4 → 0.57.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.
|
@@ -1,30 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* App-shell story fixtures. The chat content below mirrors the shared
|
|
3
|
-
* `../fixtures/chat.ts` thread (launch-poster scenario, same message ids); it
|
|
4
|
-
* is duplicated here so the app-shell area stays self-contained — the composed
|
|
5
|
-
* shell is the design-evaluation centerpiece and must keep rendering even when
|
|
6
|
-
* other areas' fixtures move. The sidebar session list and model catalog are
|
|
7
|
-
* shell-specific and live only here.
|
|
8
|
-
*
|
|
9
|
-
* Types come from the package source (`../../web-react`) — the same types the
|
|
10
|
-
* chat components consume — so a drift in `ChatUiMessage` fails typecheck here.
|
|
11
|
-
*/
|
|
1
|
+
/** App-shell story fixtures: the shared chat thread without its opening system message, plus shell-specific sessions and models. */
|
|
12
2
|
import type { CatalogModel, ChatUiMessage } from '../../web-react';
|
|
3
|
+
import { proposalAwaitingApprovalMessage, streamingAssistantMessage } from '../fixtures/chat';
|
|
13
4
|
import type { SessionStatus, ShellSessionSection } from './shell';
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* A turn still streaming: partial answer text, a tool call in flight, and no
|
|
18
|
-
* completion metrics yet (no `completionTokens`/`durationMs` — producers only
|
|
19
|
-
* stamp those when the turn settles).
|
|
20
|
-
*/
|
|
21
|
-
export declare const streamingAssistantMessage: ChatUiMessage;
|
|
22
|
-
/**
|
|
23
|
-
* ~16 messages covering every rendered state: plain exchanges, reasoning,
|
|
24
|
-
* per-message metrics, interleaved `segments`, a proposal awaiting approval,
|
|
25
|
-
* an errored tool call, and a trailing in-flight turn. Long enough that the
|
|
26
|
-
* thread scrolls, so spacing/typography stories evaluate real rhythm.
|
|
27
|
-
*/
|
|
5
|
+
export { proposalAwaitingApprovalMessage, streamingAssistantMessage };
|
|
6
|
+
/** The app shell begins with the first user turn; the shared thread also includes a system preface. */
|
|
28
7
|
export declare const chatThread: ChatUiMessage[];
|
|
29
8
|
/**
|
|
30
9
|
* Minimal catalog. `anthropic/claude-opus-4` matches every `modelUsed` in the
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Local fixtures + harness helpers for the design-canvas stories.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* (kept local so these stories are self-contained); the multi-page and empty
|
|
4
|
+
* The poster adapts the shared canvas fixture; the multi-page and empty
|
|
6
5
|
* scenes are additions covering the editor's page strip, layers states, and
|
|
7
6
|
* empty-state doors.
|
|
8
7
|
*/
|
|
9
8
|
import type { SceneDocument, ScenePage } from '../../design-canvas';
|
|
10
9
|
import type { SceneOperation } from '../../design-canvas';
|
|
11
|
-
/**
|
|
12
|
-
* (layers, toolbar, rulers, guides) renders with real content. Text elements
|
|
13
|
-
* reference Inter, loaded in `.storybook/preview-head.html`. */
|
|
10
|
+
/** Keep the local Glow and Badge placement while sharing the poster artwork. */
|
|
14
11
|
export declare function makeLaunchPosterScene(): SceneDocument;
|
|
15
12
|
/** One blank 1080×1080 page — drives the branded empty state (three doors). */
|
|
16
13
|
export declare function makeEmptyScene(): SceneDocument;
|
package/package.json
CHANGED