@frockbot/applet-sdk 0.7.119 → 0.7.121

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frockbot/applet-sdk",
3
- "version": "0.7.119",
3
+ "version": "0.7.121",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Authoring SDK for FrockBot Applets: schema-first Durable Object server, TanStack DB client, component kit, linter, and the build pipeline.",
package/plugin/index.d.ts CHANGED
@@ -24,7 +24,8 @@ export type PluginHookEvent =
24
24
  | "agent/request"
25
25
  | "tools/pre-execute"
26
26
  | "tools/post-execute"
27
- | "agent/turn-stopping";
27
+ | "agent/turn-stopping"
28
+ | "theme/assemble";
28
29
 
29
30
  /**
30
31
  * The grants a Plugin may declare in `plugin.json`, in the kernel's order.
@@ -479,6 +480,12 @@ export interface PluginHookPayloads {
479
480
  result: { [key: string]: unknown };
480
481
  };
481
482
  "agent/turn-stopping": { agent: { [key: string]: unknown }; turn: number };
483
+ "theme/assemble": {
484
+ document: { [key: string]: unknown };
485
+ look: "inherit" | "studio" | "custom";
486
+ now: string;
487
+ timezone: string;
488
+ };
482
489
  }
483
490
 
484
491
  export interface PluginHookReplacements {
@@ -488,6 +495,7 @@ export interface PluginHookReplacements {
488
495
  "tools/pre-execute": PluginHookPayloads["tools/pre-execute"]["preparation"];
489
496
  "tools/post-execute": PluginHookPayloads["tools/post-execute"]["result"];
490
497
  "agent/turn-stopping": never;
498
+ "theme/assemble": PluginHookPayloads["theme/assemble"]["document"];
491
499
  }
492
500
 
493
501
  export type PluginHook<Event extends PluginHookEvent> = (
@@ -2,7 +2,7 @@
2
2
  "id": "__PLUGIN_ID__",
3
3
  "displayName": "__PLUGIN_NAME__",
4
4
  "version": "1",
5
- "contractVersion": 5,
5
+ "contractVersion": 7,
6
6
  "tools": [
7
7
  {
8
8
  "name": "note_count",