@hexis-ai/engram-sdk 0.14.0 → 0.15.0
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/types.d.ts +13 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -39,6 +39,17 @@ export interface SessionInit {
|
|
|
39
39
|
trigger_conversation_id?: string | null;
|
|
40
40
|
/** Causal lineage — an external event (e.g. calendar event id). */
|
|
41
41
|
trigger_event_id?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Host-defined "why was this side-conversation started" — set when
|
|
44
|
+
* a parent session opens a side-conv with a stated goal. Opaque to
|
|
45
|
+
* engram; the host's agent reads it back to drive resume behaviour.
|
|
46
|
+
*/
|
|
47
|
+
trigger_purpose?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Host-defined "what condition should make us resume the parent" —
|
|
50
|
+
* paired with `trigger_purpose`. Opaque to engram.
|
|
51
|
+
*/
|
|
52
|
+
trigger_resume_hint?: string | null;
|
|
42
53
|
}
|
|
43
54
|
/** Patch for `updateSession`. */
|
|
44
55
|
export interface SessionUpdate {
|
|
@@ -49,6 +60,8 @@ export interface SessionUpdate {
|
|
|
49
60
|
model?: string | null;
|
|
50
61
|
trigger_conversation_id?: string | null;
|
|
51
62
|
trigger_event_id?: string | null;
|
|
63
|
+
trigger_purpose?: string | null;
|
|
64
|
+
trigger_resume_hint?: string | null;
|
|
52
65
|
}
|
|
53
66
|
export interface SessionAck {
|
|
54
67
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hexis-ai/engram-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"author": "hexis ltd.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@hexis-ai/engram-core": "^0.
|
|
12
|
+
"@hexis-ai/engram-core": "^0.3.0"
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|