@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
package/compatibility.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractHash": "
|
|
2
|
+
"contractHash": "7adfd5a3ae6d8479beeb73bc25c09083baabd255fe0a94d8449b5b26069b8ce6",
|
|
3
3
|
"contractVersion": "0.3.0",
|
|
4
4
|
"corpus": "conformance/v1/corpus.json",
|
|
5
5
|
"generatedBy": "@agents24/sdk-contract",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"runtime": "run-stream.v3"
|
|
20
20
|
},
|
|
21
21
|
"@agents24/node": {
|
|
22
|
-
"contract": "
|
|
22
|
+
"contract": "7adfd5a3ae6d8479beeb73bc25c09083baabd255fe0a94d8449b5b26069b8ce6",
|
|
23
23
|
"node": "^22.0.0 || ^24.0.0"
|
|
24
24
|
},
|
|
25
25
|
"@agents24/react": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"protocolOwner": "@agents24/client"
|
|
32
32
|
},
|
|
33
33
|
"agents24": {
|
|
34
|
-
"contract": "
|
|
34
|
+
"contract": "7adfd5a3ae6d8479beeb73bc25c09083baabd255fe0a94d8449b5b26069b8ce6",
|
|
35
35
|
"python": ">=3.10"
|
|
36
36
|
}
|
|
37
37
|
},
|
package/dist/bff.cjs
CHANGED
|
@@ -401,6 +401,7 @@ function messageBody(body) {
|
|
|
401
401
|
if (mode === "steer" && attachmentIds.length) throw new BffInputError(400, "STEER_TEXT_ONLY", "Steering supports text only.");
|
|
402
402
|
const requestedModelId = stringValue(body.requestedModelId) || void 0;
|
|
403
403
|
return {
|
|
404
|
+
clientSubmissionId: stringValue(body.clientSubmissionId),
|
|
404
405
|
mode,
|
|
405
406
|
input,
|
|
406
407
|
attachmentIds,
|
|
@@ -505,6 +506,7 @@ function createAgents24BffHandlerWithResolver(options, resolveCustomerIdentity)
|
|
|
505
506
|
...principal.externalSessionId ? { externalSessionId: principal.externalSessionId } : {},
|
|
506
507
|
integrationId,
|
|
507
508
|
runtimeTarget,
|
|
509
|
+
clientSubmissionId: stringValue(body.clientSubmissionId),
|
|
508
510
|
mode: "queue",
|
|
509
511
|
input,
|
|
510
512
|
attachmentIds,
|
|
@@ -517,6 +519,7 @@ function createAgents24BffHandlerWithResolver(options, resolveCustomerIdentity)
|
|
|
517
519
|
...agentVersionId ? { agent_version_id: agentVersionId } : {},
|
|
518
520
|
runtime_target: runtimeTarget,
|
|
519
521
|
...input ? { input } : {},
|
|
522
|
+
client_submission_id: stringValue(body.clientSubmissionId),
|
|
520
523
|
attachment_ids: attachmentIds,
|
|
521
524
|
...stringValue(body.requestedModelId) ? { requested_model_id: stringValue(body.requestedModelId) } : {},
|
|
522
525
|
tool_inputs: objectValue(body.toolInputs),
|
|
@@ -953,6 +956,7 @@ function createResolvedAgents24BffHandler(options) {
|
|
|
953
956
|
...resolution.principal.externalSessionId ? { externalSessionId: resolution.principal.externalSessionId } : {},
|
|
954
957
|
integrationId,
|
|
955
958
|
runtimeTarget,
|
|
959
|
+
clientSubmissionId: stringValue(body.clientSubmissionId),
|
|
956
960
|
mode: "queue",
|
|
957
961
|
input: input ?? "",
|
|
958
962
|
attachmentIds,
|
|
@@ -965,6 +969,7 @@ function createResolvedAgents24BffHandler(options) {
|
|
|
965
969
|
runtime_target: runtimeTarget,
|
|
966
970
|
integration_id: integrationId,
|
|
967
971
|
...input ? { input } : {},
|
|
972
|
+
client_submission_id: stringValue(body.clientSubmissionId),
|
|
968
973
|
attachment_ids: attachmentIds,
|
|
969
974
|
...stringValue(body.requestedModelId) ? { requested_model_id: stringValue(body.requestedModelId) } : {},
|
|
970
975
|
tool_inputs: objectValue(body.toolInputs),
|