@agents24/node 0.5.32 → 0.5.33

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.
@@ -143,6 +143,7 @@ type EmbedThreadMessageScope = {
143
143
  chatScope?: string;
144
144
  };
145
145
  type EmbedThreadMessageSubmit = {
146
+ trustedContext?: Record<string, unknown>;
146
147
  customerTenant?: {
147
148
  issuer: string;
148
149
  subject: string;
@@ -143,6 +143,7 @@ type EmbedThreadMessageScope = {
143
143
  chatScope?: string;
144
144
  };
145
145
  type EmbedThreadMessageSubmit = {
146
+ trustedContext?: Record<string, unknown>;
146
147
  customerTenant?: {
147
148
  issuer: string;
148
149
  subject: string;
package/dist/index.cjs CHANGED
@@ -849,6 +849,7 @@ var EmbedNamespace2 = class extends EmbedNamespace {
849
849
  requested_model_id: payload.requestedModelId,
850
850
  knowledge_namespaces: payload.knowledgeNamespaces,
851
851
  customer_tenant: payload.customerTenant,
852
+ ...payload.trustedContext === void 0 ? {} : { trusted_context: payload.trustedContext },
852
853
  execution_limits: payload.executionLimits,
853
854
  tool_inputs: payload.toolInputs ?? {},
854
855
  ...payload.metadata === void 0 ? {} : { metadata: payload.metadata }