@maximem/synap-js-sdk 0.4.2 → 0.4.4

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.
@@ -47,6 +47,10 @@ interface ConversationEventInput {
47
47
  session_id?: string;
48
48
  metadata?: Record<string, string>;
49
49
  timestamp_ms?: number;
50
+ /** proto: ConversationEvent.tool_name */
51
+ tool_name?: string;
52
+ /** proto: ConversationEvent.tool_args_json. Python sends json.dumps(tool_args). */
53
+ tool_args_json?: string;
50
54
  search_queries?: string[];
51
55
  context_types?: string[];
52
56
  }
@@ -47,6 +47,10 @@ interface ConversationEventInput {
47
47
  session_id?: string;
48
48
  metadata?: Record<string, string>;
49
49
  timestamp_ms?: number;
50
+ /** proto: ConversationEvent.tool_name */
51
+ tool_name?: string;
52
+ /** proto: ConversationEvent.tool_args_json. Python sends json.dumps(tool_args). */
53
+ tool_args_json?: string;
50
54
  search_queries?: string[];
51
55
  context_types?: string[];
52
56
  }
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ListeningNotActiveError
3
- } from "../chunk-T3NZBIV2.js";
3
+ } from "../chunk-OCMM2Z5P.js";
4
4
  import {
5
5
  GrpcStreamClient,
6
6
  PROTO_SHA
7
- } from "../chunk-5SC3ELNK.js";
7
+ } from "../chunk-ZU6ZC4SU.js";
8
8
 
9
9
  // src/grpc/index.ts
10
10
  async function checkGrpcAvailability() {
@@ -39,7 +39,7 @@ async function listen(options) {
39
39
  throw new ListeningNotActiveError(availability.detail);
40
40
  }
41
41
  const [{ GrpcStreamClient: StreamClient }, { AnticipationCache }, { getEnv }] = await Promise.all([
42
- import("../stream-client-ME5N5NK4.js"),
42
+ import("../stream-client-6V4FGKZ3.js"),
43
43
  import("../anticipation-cache-H7HEVWQC.js"),
44
44
  import("../env-QCUKKW36.js")
45
45
  ]);