@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 CHANGED
@@ -1114,7 +1114,7 @@ ${connectedPeople.map((p) => {
1114
1114
  agent_id: "sdk",
1115
1115
  tenant_id: this.tenantId,
1116
1116
  candidates,
1117
- ...input.sessionId ? { context: { sessionId: input.sessionId } } : {}
1117
+ ...input.sessionId ? { context: { session_id: input.sessionId } } : {}
1118
1118
  });
1119
1119
  return { success: true };
1120
1120
  }
@@ -1614,7 +1614,12 @@ var IntakeNamespace = class {
1614
1614
  provenance: c.provenance,
1615
1615
  person_name: c.personName
1616
1616
  })),
1617
- context: input.context
1617
+ context: input.context ? {
1618
+ topic: input.context.topic,
1619
+ emotional_state: input.context.emotionalState,
1620
+ session_id: input.context.sessionId,
1621
+ excerpt: input.context.excerpt
1622
+ } : void 0
1618
1623
  });
1619
1624
  }
1620
1625
  /** Get pending intake results for an agent. */