@agents24/node 0.5.14 → 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
package/dist/bff.d.cts
CHANGED
package/dist/bff.d.ts
CHANGED
package/dist/bff.js
CHANGED
|
@@ -399,6 +399,7 @@ function messageBody(body) {
|
|
|
399
399
|
if (mode === "steer" && attachmentIds.length) throw new BffInputError(400, "STEER_TEXT_ONLY", "Steering supports text only.");
|
|
400
400
|
const requestedModelId = stringValue(body.requestedModelId) || void 0;
|
|
401
401
|
return {
|
|
402
|
+
clientSubmissionId: stringValue(body.clientSubmissionId),
|
|
402
403
|
mode,
|
|
403
404
|
input,
|
|
404
405
|
attachmentIds,
|
|
@@ -503,6 +504,7 @@ function createAgents24BffHandlerWithResolver(options, resolveCustomerIdentity)
|
|
|
503
504
|
...principal.externalSessionId ? { externalSessionId: principal.externalSessionId } : {},
|
|
504
505
|
integrationId,
|
|
505
506
|
runtimeTarget,
|
|
507
|
+
clientSubmissionId: stringValue(body.clientSubmissionId),
|
|
506
508
|
mode: "queue",
|
|
507
509
|
input,
|
|
508
510
|
attachmentIds,
|
|
@@ -515,6 +517,7 @@ function createAgents24BffHandlerWithResolver(options, resolveCustomerIdentity)
|
|
|
515
517
|
...agentVersionId ? { agent_version_id: agentVersionId } : {},
|
|
516
518
|
runtime_target: runtimeTarget,
|
|
517
519
|
...input ? { input } : {},
|
|
520
|
+
client_submission_id: stringValue(body.clientSubmissionId),
|
|
518
521
|
attachment_ids: attachmentIds,
|
|
519
522
|
...stringValue(body.requestedModelId) ? { requested_model_id: stringValue(body.requestedModelId) } : {},
|
|
520
523
|
tool_inputs: objectValue(body.toolInputs),
|
|
@@ -951,6 +954,7 @@ function createResolvedAgents24BffHandler(options) {
|
|
|
951
954
|
...resolution.principal.externalSessionId ? { externalSessionId: resolution.principal.externalSessionId } : {},
|
|
952
955
|
integrationId,
|
|
953
956
|
runtimeTarget,
|
|
957
|
+
clientSubmissionId: stringValue(body.clientSubmissionId),
|
|
954
958
|
mode: "queue",
|
|
955
959
|
input: input ?? "",
|
|
956
960
|
attachmentIds,
|
|
@@ -963,6 +967,7 @@ function createResolvedAgents24BffHandler(options) {
|
|
|
963
967
|
runtime_target: runtimeTarget,
|
|
964
968
|
integration_id: integrationId,
|
|
965
969
|
...input ? { input } : {},
|
|
970
|
+
client_submission_id: stringValue(body.clientSubmissionId),
|
|
966
971
|
attachment_ids: attachmentIds,
|
|
967
972
|
...stringValue(body.requestedModelId) ? { requested_model_id: stringValue(body.requestedModelId) } : {},
|
|
968
973
|
tool_inputs: objectValue(body.toolInputs),
|