@theoremjs/web 0.3.5-next.1009.g7c07ce6 → 0.3.5-next.1011.gfbc6c42
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.
|
@@ -11,4 +11,4 @@ export declare const transcriptBlockSchema: z.ZodType<TranscriptBlock>;
|
|
|
11
11
|
/** The block without the app's own values: a page cannot state them. */
|
|
12
12
|
export declare function withoutHost(block: TranscriptBlock): TranscriptBlock;
|
|
13
13
|
/** A block as a page's request states it: `host` is the app's to set, so it is dropped. */
|
|
14
|
-
export declare const pageBlockSchema: z.ZodPipe<z.ZodType<TranscriptBlock, unknown, z.core.$ZodTypeInternals<TranscriptBlock, unknown>>, z.ZodTransform<import("../../../src/interface/types").UserTextBlock | import("../../../src/interface/types").UserAttachmentBlock | import("../../../src/interface/types").ThoughtBlock | import("../../../src/interface/types").TextBlock | import("../../../src/interface/types").ToolBlock | import("../../../src/interface/types").StructuredBlock | import("../../../src/interface/types").MediaBlock | import("../../../src/interface/types").GroundingBlock | import("../../../src/interface/types").CitationBlock | import("../../../src/interface/types").EvidenceBlock | import("../../../src/interface/types").GuardrailBlock | import("../../../src/interface/types").LateResultsBlock | import("../../../src/interface/types").ErrorBlock | import("../../../src/interface/types").TurnDoneBlock, TranscriptBlock>>;
|
|
14
|
+
export declare const pageBlockSchema: z.ZodPipe<z.ZodType<TranscriptBlock, unknown, z.core.$ZodTypeInternals<TranscriptBlock, unknown>>, z.ZodTransform<import("../../../src/interface/types").UserTextBlock | import("../../../src/interface/types").UserAttachmentBlock | import("../../../src/interface/types").ThoughtBlock | import("../../../src/interface/types").TextBlock | import("../../../src/interface/types").ToolBlock | import("../../../src/interface/types").StructuredBlock | import("../../../src/interface/types").MediaBlock | import("../../../src/interface/types").GroundingBlock | import("../../../src/interface/types").CitationBlock | import("../../../src/interface/types").EvidenceBlock | import("../../../src/interface/types").GuardrailBlock | import("../../../src/interface/types").LateResultsBlock | import("../../../src/interface/types").ResumedBlock | import("../../../src/interface/types").ErrorBlock | import("../../../src/interface/types").TurnDoneBlock, TranscriptBlock>>;
|
|
@@ -118,6 +118,7 @@ const transcriptBlock = z.discriminatedUnion('kind', [
|
|
|
118
118
|
operationIds: z.array(z.string()),
|
|
119
119
|
inReply: z.boolean(),
|
|
120
120
|
}),
|
|
121
|
+
z.object({ ...blockId, kind: z.literal('resumed'), message: z.string() }),
|
|
121
122
|
z.object({ ...blockId, kind: z.literal('error'), message: z.string() }),
|
|
122
123
|
z.object({
|
|
123
124
|
...blockId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theoremjs/web",
|
|
3
|
-
"version": "0.3.5-next.
|
|
3
|
+
"version": "0.3.5-next.1011.gfbc6c42",
|
|
4
4
|
"description": "Theorem on the web platform, with no UI framework: Web-standard server handlers that serve a profile, and the browser client that talks to them.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"zod": "^4.6.5",
|
|
28
|
-
"@theoremjs/agents": "^0.3.5-next.
|
|
28
|
+
"@theoremjs/agents": "^0.3.5-next.1011.gfbc6c42"
|
|
29
29
|
}
|
|
30
30
|
}
|