lumiverse-spindle-types 0.4.46 → 0.4.47

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.46",
3
+ "version": "0.4.47",
4
4
  "types": "./src/index.ts",
5
5
  "keywords": [
6
6
  "lumiverse",
package/src/api.ts CHANGED
@@ -179,6 +179,8 @@ export interface ToolRegistrationDTO {
179
179
  description: string;
180
180
  parameters: Record<string, unknown>; // JSON Schema
181
181
  council_eligible?: boolean;
182
+ /** Whether the tool is available for inline function calling during generation */
183
+ inline_available?: boolean;
182
184
  }
183
185
 
184
186
  /** Tool/function schema passed to LLM for inline function calling. */
@@ -1276,6 +1278,8 @@ export interface GenerationStartedPayloadDTO {
1276
1278
  characterId?: string;
1277
1279
  characterName?: string;
1278
1280
  breakdown?: AssemblyBreakdownEntryDTO[];
1281
+ /** The type of generation: normal, continue, regenerate, swipe, or impersonate. */
1282
+ generationType?: string;
1279
1283
  }
1280
1284
 
1281
1285
  /** Payload for `STREAM_TOKEN_RECEIVED` events. */
@@ -1300,6 +1304,8 @@ export interface GenerationEndedPayloadDTO {
1300
1304
  content?: string;
1301
1305
  /** Error message when the generation failed. */
1302
1306
  error?: string;
1307
+ /** The type of generation: normal, continue, regenerate, swipe, or impersonate. */
1308
+ generationType?: string;
1303
1309
  }
1304
1310
 
1305
1311
  /** Payload for `GENERATION_STOPPED` events (user-initiated stop). */
package/src/tools.ts CHANGED
@@ -13,6 +13,8 @@ export interface ToolRegistration {
13
13
  parameters: JSONSchema;
14
14
  /** Whether council members can invoke this tool (future) */
15
15
  council_eligible?: boolean;
16
+ /** Whether the tool is available for inline function calling during generation */
17
+ inline_available?: boolean;
16
18
  /** Auto-set by host — the owning extension identifier */
17
19
  extension_id: string;
18
20
  }