lumiverse-spindle-types 0.6.64 → 0.6.65

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/dist/api.d.ts CHANGED
@@ -14,6 +14,7 @@ export type LlmMessagePartDTO = {
14
14
  type: "text";
15
15
  text: string;
16
16
  cache_control?: Record<string, unknown>;
17
+ thought_signature?: string;
17
18
  } | {
18
19
  type: "image";
19
20
  data: string;
@@ -48,7 +49,11 @@ export interface LlmMessageDTO {
48
49
  role: "system" | "user" | "assistant";
49
50
  content: string | LlmMessagePartDTO[];
50
51
  name?: string;
52
+ /** Marks a trailing assistant message as a generation prefix. */
53
+ partial?: boolean;
51
54
  cache_control?: Record<string, unknown>;
55
+ /** Opaque Gemini signature on a non-tool response part; replay unmodified. */
56
+ thought_signature?: string;
52
57
  /**
53
58
  * Thinking-mode reasoning content from the previous assistant turn, echoed
54
59
  * back on the next request. Required by DeepSeek's thinking-mode models
@@ -2091,6 +2096,8 @@ export interface WorldInfoActivatedEventDTO {
2091
2096
  stats?: Record<string, unknown>;
2092
2097
  }
2093
2098
  export interface DryRunRequestDTO {
2099
+ /** Include prepared messages with media, tool calls and reasoning intact. Requires generation-request-messages-v1. */
2100
+ includeRequestMessages?: boolean;
2094
2101
  chatId: string;
2095
2102
  connectionId?: string;
2096
2103
  personaId?: string;
@@ -2251,6 +2258,10 @@ export interface SpindleMessageMetadataDTO extends Record<string, unknown> {
2251
2258
  preset_contexts?: Array<MessagePresetContextDTO | null>;
2252
2259
  }
2253
2260
  export interface DryRunResultDTO {
2261
+ /** Prepared messages returned only when includeRequestMessages is true. */
2262
+ request_messages?: LlmMessageDTO[];
2263
+ /** Prepared assistant prefix, already included in request_messages. Returned only with includeRequestMessages. */
2264
+ assistantPrefill?: string;
2254
2265
  /** Returned only with forcePresetId: true. Requires message-preset-context-v1: 1. */
2255
2266
  variable_state?: MacroVariableSnapshotDTO;
2256
2267
  messages: LlmMessageDTO[];
package/dist/host.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export const SPINDLE_HOST_CAPABILITIES = Object.freeze({
2
2
  "message-preset-context-v1": 1,
3
+ "generation-request-messages-v1": 1,
3
4
  "chat-metadata-patch-v1": 1,
4
5
  "chat-swipe-reasoning-v1": 1,
5
6
  "preset-extension-data-v1": 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lumiverse-spindle-types",
3
- "version": "0.6.64",
3
+ "version": "0.6.65",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "keywords": [