@subcortex-ai/sdk 0.3.7 → 0.3.8
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/index.cjs +7 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1035,7 +1035,7 @@ ${connectedPeople.map((p) => {
|
|
|
1035
1035
|
agent_id: "sdk",
|
|
1036
1036
|
tenant_id: this.tenantId,
|
|
1037
1037
|
candidates,
|
|
1038
|
-
...input.sessionId ? { context: {
|
|
1038
|
+
...input.sessionId ? { context: { session_id: input.sessionId } } : {}
|
|
1039
1039
|
});
|
|
1040
1040
|
return { success: true };
|
|
1041
1041
|
}
|
|
@@ -1535,7 +1535,12 @@ var IntakeNamespace = class {
|
|
|
1535
1535
|
provenance: c.provenance,
|
|
1536
1536
|
person_name: c.personName
|
|
1537
1537
|
})),
|
|
1538
|
-
context: input.context
|
|
1538
|
+
context: input.context ? {
|
|
1539
|
+
topic: input.context.topic,
|
|
1540
|
+
emotional_state: input.context.emotionalState,
|
|
1541
|
+
session_id: input.context.sessionId,
|
|
1542
|
+
excerpt: input.context.excerpt
|
|
1543
|
+
} : void 0
|
|
1539
1544
|
});
|
|
1540
1545
|
}
|
|
1541
1546
|
/** Get pending intake results for an agent. */
|