lumiverse-spindle-types 0.4.32 → 0.4.33

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": "lumiverse-spindle-types",
3
- "version": "0.4.32",
3
+ "version": "0.4.33",
4
4
  "types": "./src/index.ts",
5
5
  "keywords": [
6
6
  "lumiverse",
package/src/council.ts CHANGED
@@ -161,16 +161,32 @@ export type CouncilToolCategory =
161
161
  | "content"
162
162
  | "extension";
163
163
 
164
+ export type CouncilToolExecution =
165
+ | "llm"
166
+ | "host"
167
+ | "extension"
168
+ | "mcp";
169
+
164
170
  /** Canonical definition of a council tool (built-in or DLC). */
165
171
  export interface CouncilToolDefinition {
166
172
  name: string;
167
173
  displayName: string;
168
174
  description: string;
169
175
  category: CouncilToolCategory;
170
- /** The prompt sent to the sidecar LLM when invoking this tool. */
171
- prompt: string;
172
- /** JSON Schema describing the tool's expected output structure. */
173
- inputSchema: Record<string, unknown>;
176
+ /** Optional explicit runtime. When omitted, the host may infer one from the tool source. */
177
+ execution?: CouncilToolExecution;
178
+ /** The prompt sent to the sidecar LLM when invoking prompt-style LLM tools. */
179
+ prompt?: string;
180
+ /**
181
+ * JSON Schema describing the prompt-style tool's expected output structure.
182
+ *
183
+ * Historically this field was also used as the callable argument schema for
184
+ * extension / MCP tools. New host-callable tools should prefer `argsSchema`
185
+ * instead so invocation arguments and returned content are not conflated.
186
+ */
187
+ inputSchema?: Record<string, unknown>;
188
+ /** JSON Schema describing the callable arguments for host / extension / MCP tools. */
189
+ argsSchema?: Record<string, unknown>;
174
190
  /** If set, the tool's result is stored under this variable name for macro access. */
175
191
  resultVariable?: string;
176
192
  /** Whether this tool's output appears in the deliberation block (default true). */
package/src/index.ts CHANGED
@@ -132,6 +132,7 @@ export type {
132
132
  CouncilExecutionResult,
133
133
  CachedCouncilResult,
134
134
  CouncilToolCategory,
135
+ CouncilToolExecution,
135
136
  CouncilToolDefinition,
136
137
  } from "./council";
137
138
  export {