@agents24/node 0.5.42 → 0.5.43

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.
Files changed (39) hide show
  1. package/compatibility.json +6 -6
  2. package/dist/bff.cjs +27 -0
  3. package/dist/bff.cjs.map +1 -1
  4. package/dist/bff.d.cts +1 -1
  5. package/dist/bff.d.ts +1 -1
  6. package/dist/bff.js +27 -0
  7. package/dist/bff.js.map +1 -1
  8. package/dist/{client-aKlZQ7rZ.d.cts → client-9eTRFxs2.d.cts} +211 -6
  9. package/dist/{client-aKlZQ7rZ.d.ts → client-9eTRFxs2.d.ts} +211 -6
  10. package/dist/index.cjs +157 -4
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.d.cts +3 -3
  13. package/dist/index.d.ts +3 -3
  14. package/dist/index.js +157 -4
  15. package/dist/index.js.map +1 -1
  16. package/dist/types/bff-customer-operations.d.ts.map +1 -1
  17. package/dist/types/client.d.ts +4 -0
  18. package/dist/types/client.d.ts.map +1 -1
  19. package/dist/types/generated/clientGovernance.d.ts +8 -0
  20. package/dist/types/generated/clientGovernance.d.ts.map +1 -0
  21. package/dist/types/generated/clientServiceKeys.d.ts +10 -0
  22. package/dist/types/generated/clientServiceKeys.d.ts.map +1 -0
  23. package/dist/types/generated/embed.d.ts +6 -1
  24. package/dist/types/generated/embed.d.ts.map +1 -1
  25. package/dist/types/generated/manifest.d.ts +1 -1
  26. package/dist/types/generated/manifest.d.ts.map +1 -1
  27. package/dist/types/generated/personal-skills.d.ts +61 -0
  28. package/dist/types/generated/personal-skills.d.ts.map +1 -1
  29. package/dist/types/generated/resourcePolicies.d.ts +5 -1
  30. package/dist/types/generated/resourcePolicies.d.ts.map +1 -1
  31. package/dist/types/generated/runs.d.ts +8 -0
  32. package/dist/types/generated/runs.d.ts.map +1 -0
  33. package/dist/types/runs.d.ts +2 -2
  34. package/dist/types/runs.d.ts.map +1 -1
  35. package/dist/types/submission-and-service-key-types.d.ts +39 -0
  36. package/dist/types/submission-and-service-key-types.d.ts.map +1 -0
  37. package/dist/types/types.d.ts +80 -3
  38. package/dist/types/types.d.ts.map +1 -1
  39. package/package.json +2 -2
package/dist/bff.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Agents24 } from './client-aKlZQ7rZ.cjs';
1
+ import { A as Agents24 } from './client-9eTRFxs2.cjs';
2
2
  import '@agents24/client/protocol';
3
3
  import '@agents24/client';
4
4
 
package/dist/bff.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Agents24 } from './client-aKlZQ7rZ.js';
1
+ import { A as Agents24 } from './client-9eTRFxs2.js';
2
2
  import '@agents24/client/protocol';
3
3
  import '@agents24/client';
4
4
 
package/dist/bff.js CHANGED
@@ -375,6 +375,33 @@ var OPERATIONS = [
375
375
  fields: ["action", "toolkit", "server_id", "account_id", "native_callback_uri", "enabled", "selected", "label", "enabled_tool_names"],
376
376
  run: (call) => call.embed.managePersonalConnection(call.agentId, payload(call), call.options)
377
377
  },
378
+ {
379
+ method: "GET",
380
+ pattern: /^\/connector-triggers$/,
381
+ capability: "connections.personal",
382
+ run: (call) => call.embed.listConnectorTriggers(call.agentId, query(call))
383
+ },
384
+ {
385
+ method: "POST",
386
+ pattern: /^\/connector-triggers$/,
387
+ capability: "connections.personal",
388
+ keyed: true,
389
+ fields: ["account_id", "trigger_slug", "trigger_config"],
390
+ run: (call) => call.embed.subscribeConnectorTrigger(call.agentId, payload(call), call.options)
391
+ },
392
+ // Removing a subscription twice finds nothing the second time, so no key is required.
393
+ {
394
+ method: "DELETE",
395
+ pattern: /^\/connector-triggers\/([^/]+)$/,
396
+ capability: "connections.personal",
397
+ run: (call) => call.embed.unsubscribeConnectorTrigger(call.agentId, call.ids[0], query(call))
398
+ },
399
+ { method: "GET", pattern: /^\/connector-events$/, capability: "connections.personal", run: (call) => call.embed.readConnectorEvents(call.agentId, {
400
+ ...query(call),
401
+ after: integer(call.url, "after"),
402
+ limit: integer(call.url, "limit"),
403
+ waitSeconds: integer(call.url, "wait_seconds")
404
+ }) },
378
405
  // Ungated: raising a generation only ever withdraws authority.
379
406
  {
380
407
  method: "PUT",