lumiverse-spindle-types 0.5.20 → 0.5.21
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 +1 -1
- package/src/api.ts +11 -1
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -40,10 +40,20 @@ export interface LlmMessageDTO {
|
|
|
40
40
|
* True when this message is a chat-history turn (as opposed to a depth-injected
|
|
41
41
|
* world-info/preset/author's-note block that was spliced into the chat-history
|
|
42
42
|
* range). Set by the host only on the messages passed to the interceptor pipeline,
|
|
43
|
-
* so an extension applying prompt-target regex inline can reproduce the host's depth
|
|
43
|
+
* so an extension applying prompt-target regex inline can reproduce the host's depth
|
|
44
44
|
* frame exactly.
|
|
45
45
|
*/
|
|
46
46
|
__isChatHistory?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Id of the originating chat message, set only on chat-history turns. Lets
|
|
49
|
+
* interceptors map back to the source message without matching on
|
|
50
|
+
* (macro/regex-mutated) content. Stripped before the LLM payload.
|
|
51
|
+
*/
|
|
52
|
+
sourceMessageId?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Source message's `index_in_chat`, paired with `sourceMessageId`.
|
|
55
|
+
*/
|
|
56
|
+
sourceIndexInChat?: number;
|
|
47
57
|
}
|
|
48
58
|
|
|
49
59
|
export type SpindleUserRoleDTO = "operator" | "admin" | "user";
|