@jigs.design/protocol 0.3.1 → 0.3.2

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 (2) hide show
  1. package/dist/types.d.ts +7 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -196,6 +196,13 @@ export interface ChatBlock {
196
196
  /** The checked source, with its pragma. Store this, not the program. */
197
197
  source: string;
198
198
  status: ChatBlockStatus;
199
+ /**
200
+ * Set when the block reads the `toolResults` slot (a server with
201
+ * `toolResults: true`): the tool names it reads, or `"all"` when it uses
202
+ * the results whole. `toolData` passes the block only these. Derived from
203
+ * the source on every compile, never trusted for more than trimming.
204
+ */
205
+ toolKeys?: ReadonlyArray<string> | "all";
199
206
  /** 1 for the first block with this name in the conversation, then 2, 3… */
200
207
  version: number;
201
208
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jigs.design/protocol",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "The program format, the diagnostics, and the types and messages the server, the browser and the sandbox share. No runtime and no dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {