@paybond/kit 0.11.1 → 0.11.3

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 (48) hide show
  1. package/README.md +1 -1
  2. package/dist/agent/facade.d.ts +1 -1
  3. package/dist/agent/facade.js +1 -1
  4. package/dist/agent/guarded-agent.d.ts +1 -1
  5. package/dist/agent/guarded-agent.js +1 -1
  6. package/dist/claude-agents/config.d.ts +2 -2
  7. package/dist/claude-agents/config.js +22 -1
  8. package/dist/cli/commands/agent.js +2 -1
  9. package/dist/langgraph/awrap-tool-call.d.ts +2 -2
  10. package/dist/langgraph/awrap-tool-call.js +40 -3
  11. package/dist/langgraph/tool-node.d.ts +4 -1
  12. package/dist/langgraph/tool-node.js +44 -26
  13. package/dist/mcp-server.js +1 -1
  14. package/dist/openai-agents/index.d.ts +2 -2
  15. package/dist/openai-agents/index.js +23 -1
  16. package/package.json +4 -3
  17. package/policy/presets/aws.yaml +19 -0
  18. package/policy/presets/domain/aws.yaml +15 -0
  19. package/policy/presets/domain/saas.yaml +15 -0
  20. package/policy/presets/domain/shopping.yaml +15 -0
  21. package/policy/presets/domain/travel.yaml +15 -0
  22. package/policy/presets/guardrails/default-aws.yaml +8 -0
  23. package/policy/presets/guardrails/default-saas.yaml +8 -0
  24. package/policy/presets/guardrails/default-shopping.yaml +8 -0
  25. package/policy/presets/guardrails/default-travel.yaml +8 -0
  26. package/policy/presets/read-only.yaml +23 -0
  27. package/policy/presets/saas.yaml +19 -0
  28. package/policy/presets/shopping.yaml +19 -0
  29. package/policy/presets/strict.yaml +16 -0
  30. package/policy/presets/travel.yaml +19 -0
  31. package/templates/manifest.json +9 -9
  32. package/templates/openai-shopping-agent/package-lock.json +8 -12
  33. package/templates/openai-shopping-agent/package.json +1 -1
  34. package/templates/paybond-aws-operator/package-lock.json +58 -4
  35. package/templates/paybond-aws-operator/package.json +1 -1
  36. package/templates/paybond-claude-agents-demo/package-lock.json +5 -4
  37. package/templates/paybond-claude-agents-demo/package.json +1 -1
  38. package/templates/paybond-invoice-agent/requirements.txt +1 -1
  39. package/templates/paybond-mcp-coding-agent/package-lock.json +58 -4
  40. package/templates/paybond-mcp-coding-agent/package.json +1 -1
  41. package/templates/paybond-openai-agents-demo/package-lock.json +8 -12
  42. package/templates/paybond-openai-agents-demo/package.json +1 -1
  43. package/templates/paybond-procurement-agent/package-lock.json +58 -4
  44. package/templates/paybond-procurement-agent/package.json +1 -1
  45. package/templates/paybond-travel-agent/package-lock.json +58 -4
  46. package/templates/paybond-travel-agent/package.json +1 -1
  47. package/templates/paybond-vercel-shopping-agent/package-lock.json +58 -4
  48. package/templates/paybond-vercel-shopping-agent/package.json +1 -1
@@ -8,7 +8,7 @@
8
8
  "dependencies": {
9
9
  "@langchain/core": "^1.2.1",
10
10
  "@langchain/langgraph": "^1.4.7",
11
- "@paybond/kit": "^0.11.1",
11
+ "@paybond/kit": "^0.11.3",
12
12
  "zod": "^4.2.0"
13
13
  },
14
14
  "devDependencies": {
@@ -178,14 +178,15 @@
178
178
  }
179
179
  },
180
180
  "node_modules/@paybond/kit": {
181
- "version": "0.11.1",
182
- "resolved": "https://registry.npmjs.org/@paybond/kit/-/kit-0.11.1.tgz",
183
- "integrity": "sha512-pwsPg8qmmmQHB/uxaWHwfMbwMj+hF4FO8QcBHoGYD/W7/3TImhfCceKe0xK2MgiGJEqQqN395u7cegXF2yoG0A==",
181
+ "version": "0.11.3",
182
+ "resolved": "https://registry.npmjs.org/@paybond/kit/-/kit-0.11.3.tgz",
183
+ "integrity": "sha512-O+NW0/6+ybT8xBXhybSrXNfOzJZahTNjOovcIfAfiiCEkTGpXrWFhOw3IJbOmoqLhdBK8NE5OG3pCiatmNZcLQ==",
184
184
  "license": "Apache-2.0",
185
185
  "dependencies": {
186
186
  "@noble/ed25519": "^2.2.1",
187
187
  "@noble/hashes": "^1.7.1",
188
188
  "@noble/secp256k1": "^2.2.3",
189
+ "ajv": "^8.17.1",
189
190
  "blake3": "^2.1.7",
190
191
  "uuid": "^14.0.0"
191
192
  },
@@ -249,6 +250,22 @@
249
250
  "undici-types": "~6.21.0"
250
251
  }
251
252
  },
253
+ "node_modules/ajv": {
254
+ "version": "8.20.0",
255
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
256
+ "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",
257
+ "license": "MIT",
258
+ "dependencies": {
259
+ "fast-deep-equal": "^3.1.3",
260
+ "fast-uri": "^3.0.1",
261
+ "json-schema-traverse": "^1.0.0",
262
+ "require-from-string": "^2.0.2"
263
+ },
264
+ "funding": {
265
+ "type": "github",
266
+ "url": "https://github.com/sponsors/epoberezkin"
267
+ }
268
+ },
252
269
  "node_modules/base64-js": {
253
270
  "version": "1.5.1",
254
271
  "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
@@ -282,6 +299,28 @@
282
299
  "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==",
283
300
  "license": "MIT"
284
301
  },
302
+ "node_modules/fast-deep-equal": {
303
+ "version": "3.1.3",
304
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
305
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
306
+ "license": "MIT"
307
+ },
308
+ "node_modules/fast-uri": {
309
+ "version": "3.1.3",
310
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.3.tgz",
311
+ "integrity": "sha512-i70LwGWUduXqzicKXWshooq+sWL1K3WUU5rKZNG/0i3a1OSoX3HqhH5WbWwTmqWfor4urUakGPiRQcleRZTwOg==",
312
+ "funding": [
313
+ {
314
+ "type": "github",
315
+ "url": "https://github.com/sponsors/fastify"
316
+ },
317
+ {
318
+ "type": "opencollective",
319
+ "url": "https://opencollective.com/fastify"
320
+ }
321
+ ],
322
+ "license": "BSD-3-Clause"
323
+ },
285
324
  "node_modules/is-network-error": {
286
325
  "version": "1.3.2",
287
326
  "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.3.2.tgz",
@@ -303,6 +342,12 @@
303
342
  "base64-js": "^1.5.1"
304
343
  }
305
344
  },
345
+ "node_modules/json-schema-traverse": {
346
+ "version": "1.0.0",
347
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
348
+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
349
+ "license": "MIT"
350
+ },
306
351
  "node_modules/langsmith": {
307
352
  "version": "0.7.15",
308
353
  "resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.7.15.tgz",
@@ -397,6 +442,15 @@
397
442
  "node": ">=8"
398
443
  }
399
444
  },
445
+ "node_modules/require-from-string": {
446
+ "version": "2.0.2",
447
+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
448
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
449
+ "license": "MIT",
450
+ "engines": {
451
+ "node": ">=0.10.0"
452
+ }
453
+ },
400
454
  "node_modules/typescript": {
401
455
  "version": "5.9.3",
402
456
  "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
@@ -8,7 +8,7 @@
8
8
  "smoke": "paybond agent sandbox smoke --policy-file paybond.policy.yaml --operation travel.book_hotel --requested-spend-cents 18700 --evidence-preset cost_and_completion --result-body '{\"status\":\"completed\",\"cost_cents\":18700}' --format json"
9
9
  },
10
10
  "dependencies": {
11
- "@paybond/kit": "^0.11.1",
11
+ "@paybond/kit": "^0.11.3",
12
12
  "@langchain/core": "^1.2.1",
13
13
  "@langchain/langgraph": "^1.4.7",
14
14
  "zod": "^4.2.0"
@@ -6,7 +6,7 @@
6
6
  "": {
7
7
  "name": "paybond-vercel-shopping-agent",
8
8
  "dependencies": {
9
- "@paybond/kit": "^0.11.1",
9
+ "@paybond/kit": "^0.11.3",
10
10
  "ai": "^5.0.0",
11
11
  "zod": "^4.2.0"
12
12
  },
@@ -104,14 +104,15 @@
104
104
  }
105
105
  },
106
106
  "node_modules/@paybond/kit": {
107
- "version": "0.11.1",
108
- "resolved": "https://registry.npmjs.org/@paybond/kit/-/kit-0.11.1.tgz",
109
- "integrity": "sha512-iUnBCQ5iLCbHR/cojYxyfEf8FxZYicW/dhTxjd6gIuJgu+KHJu6e/dzDrcHQsVVRVHKCOI6h9M+Q0MchpFv8FA==",
107
+ "version": "0.11.3",
108
+ "resolved": "https://registry.npmjs.org/@paybond/kit/-/kit-0.11.3.tgz",
109
+ "integrity": "sha512-fPSNotqz+kGpKWlk2tqFXwJi9PnYgHjIGGKp5Ts0+eiN028ZNumyzQX+oTGb6X5C/xBJ7Axe/aAtDyYhfSVrdg==",
110
110
  "license": "Apache-2.0",
111
111
  "dependencies": {
112
112
  "@noble/ed25519": "^2.2.1",
113
113
  "@noble/hashes": "^1.7.1",
114
114
  "@noble/secp256k1": "^2.2.3",
115
+ "ajv": "^8.17.1",
115
116
  "blake3": "^2.1.7",
116
117
  "uuid": "^14.0.0"
117
118
  },
@@ -196,6 +197,22 @@
196
197
  "zod": "^3.25.76 || ^4.1.8"
197
198
  }
198
199
  },
200
+ "node_modules/ajv": {
201
+ "version": "8.20.0",
202
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
203
+ "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",
204
+ "license": "MIT",
205
+ "dependencies": {
206
+ "fast-deep-equal": "^3.1.3",
207
+ "fast-uri": "^3.0.1",
208
+ "json-schema-traverse": "^1.0.0",
209
+ "require-from-string": "^2.0.2"
210
+ },
211
+ "funding": {
212
+ "type": "github",
213
+ "url": "https://github.com/sponsors/epoberezkin"
214
+ }
215
+ },
199
216
  "node_modules/blake3": {
200
217
  "version": "2.1.7",
201
218
  "resolved": "https://registry.npmjs.org/blake3/-/blake3-2.1.7.tgz",
@@ -212,12 +229,49 @@
212
229
  "node": ">=18.0.0"
213
230
  }
214
231
  },
232
+ "node_modules/fast-deep-equal": {
233
+ "version": "3.1.3",
234
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
235
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
236
+ "license": "MIT"
237
+ },
238
+ "node_modules/fast-uri": {
239
+ "version": "3.1.3",
240
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.3.tgz",
241
+ "integrity": "sha512-i70LwGWUduXqzicKXWshooq+sWL1K3WUU5rKZNG/0i3a1OSoX3HqhH5WbWwTmqWfor4urUakGPiRQcleRZTwOg==",
242
+ "funding": [
243
+ {
244
+ "type": "github",
245
+ "url": "https://github.com/sponsors/fastify"
246
+ },
247
+ {
248
+ "type": "opencollective",
249
+ "url": "https://opencollective.com/fastify"
250
+ }
251
+ ],
252
+ "license": "BSD-3-Clause"
253
+ },
215
254
  "node_modules/json-schema": {
216
255
  "version": "0.4.0",
217
256
  "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
218
257
  "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==",
219
258
  "license": "(AFL-2.1 OR BSD-3-Clause)"
220
259
  },
260
+ "node_modules/json-schema-traverse": {
261
+ "version": "1.0.0",
262
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
263
+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
264
+ "license": "MIT"
265
+ },
266
+ "node_modules/require-from-string": {
267
+ "version": "2.0.2",
268
+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
269
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
270
+ "license": "MIT",
271
+ "engines": {
272
+ "node": ">=0.10.0"
273
+ }
274
+ },
221
275
  "node_modules/typescript": {
222
276
  "version": "5.9.3",
223
277
  "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
@@ -8,7 +8,7 @@
8
8
  "smoke": "paybond agent sandbox smoke --policy-file paybond.policy.yaml --operation commerce.checkout --requested-spend-cents 4500 --evidence-preset cost_and_completion --result-body '{\"status\":\"completed\",\"cost_cents\":4500}' --format json"
9
9
  },
10
10
  "dependencies": {
11
- "@paybond/kit": "^0.11.1",
11
+ "@paybond/kit": "^0.11.3",
12
12
  "ai": "^5.0.0",
13
13
  "zod": "^4.2.0"
14
14
  },