@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/dist/bff.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Agents24 } from './client-DDOnbovv.cjs';
1
+ import { A as Agents24 } from './client-ChHref1j.cjs';
2
2
  import '@agents24/client/protocol';
3
3
 
4
4
  interface AgentBffPrincipal {
package/dist/bff.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Agents24 } from './client-DDOnbovv.js';
1
+ import { A as Agents24 } from './client-ChHref1j.js';
2
2
  import '@agents24/client/protocol';
3
3
 
4
4
  interface AgentBffPrincipal {
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),