@agents24/node 0.5.15 → 0.5.16
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/compatibility.json +3 -3
- package/dist/bff.cjs +5 -0
- package/dist/bff.cjs.map +1 -1
- package/dist/bff.d.cts +1 -1
- package/dist/bff.d.ts +1 -1
- package/dist/bff.js +5 -0
- package/dist/bff.js.map +1 -1
- package/dist/{client-DDOnbovv.d.cts → client-ChHref1j.d.cts} +3 -0
- package/dist/{client-DDOnbovv.d.ts → client-ChHref1j.d.ts} +3 -0
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types/bff.d.ts.map +1 -1
- package/dist/types/embed.d.ts.map +1 -1
- package/dist/types/types.d.ts +3 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -139,6 +139,7 @@ type StreamRequestOptions = RequestOptions & {
|
|
|
139
139
|
signal?: AbortSignal;
|
|
140
140
|
};
|
|
141
141
|
type AgentStreamRequest = {
|
|
142
|
+
client_submission_id?: string;
|
|
142
143
|
input?: string;
|
|
143
144
|
messages?: Array<Record<string, unknown>>;
|
|
144
145
|
attachment_ids?: string[];
|
|
@@ -171,6 +172,7 @@ type StreamResult = {
|
|
|
171
172
|
queuePosition?: number | null;
|
|
172
173
|
};
|
|
173
174
|
type EmbedStreamRequest = {
|
|
175
|
+
client_submission_id?: string;
|
|
174
176
|
agent_version_id?: string;
|
|
175
177
|
input?: string;
|
|
176
178
|
messages?: Array<Record<string, unknown>>;
|
|
@@ -284,6 +286,7 @@ type EmbedThreadMessageScope = {
|
|
|
284
286
|
integrationId: string;
|
|
285
287
|
};
|
|
286
288
|
type EmbedThreadMessageSubmit = EmbedThreadMessageScope & {
|
|
289
|
+
clientSubmissionId?: string;
|
|
287
290
|
mode: "queue" | "steer";
|
|
288
291
|
input: string;
|
|
289
292
|
attachmentIds?: string[];
|
|
@@ -139,6 +139,7 @@ type StreamRequestOptions = RequestOptions & {
|
|
|
139
139
|
signal?: AbortSignal;
|
|
140
140
|
};
|
|
141
141
|
type AgentStreamRequest = {
|
|
142
|
+
client_submission_id?: string;
|
|
142
143
|
input?: string;
|
|
143
144
|
messages?: Array<Record<string, unknown>>;
|
|
144
145
|
attachment_ids?: string[];
|
|
@@ -171,6 +172,7 @@ type StreamResult = {
|
|
|
171
172
|
queuePosition?: number | null;
|
|
172
173
|
};
|
|
173
174
|
type EmbedStreamRequest = {
|
|
175
|
+
client_submission_id?: string;
|
|
174
176
|
agent_version_id?: string;
|
|
175
177
|
input?: string;
|
|
176
178
|
messages?: Array<Record<string, unknown>>;
|
|
@@ -284,6 +286,7 @@ type EmbedThreadMessageScope = {
|
|
|
284
286
|
integrationId: string;
|
|
285
287
|
};
|
|
286
288
|
type EmbedThreadMessageSubmit = EmbedThreadMessageScope & {
|
|
289
|
+
clientSubmissionId?: string;
|
|
287
290
|
mode: "queue" | "steer";
|
|
288
291
|
input: string;
|
|
289
292
|
attachmentIds?: string[];
|
package/dist/index.cjs
CHANGED
|
@@ -638,6 +638,7 @@ var EmbedNamespace = class {
|
|
|
638
638
|
external_session_id: payload.externalSessionId,
|
|
639
639
|
integration_id: payload.integrationId,
|
|
640
640
|
runtime_target: payload.runtimeTarget ?? "published",
|
|
641
|
+
client_submission_id: payload.clientSubmissionId,
|
|
641
642
|
mode: payload.mode,
|
|
642
643
|
input: payload.input,
|
|
643
644
|
attachment_ids: payload.attachmentIds ?? [],
|