@paybond/kit 0.12.0 → 0.12.2
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/agent/evidence.d.ts +10 -0
- package/dist/agent/evidence.js +16 -0
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/agent/interceptor.js +4 -0
- package/dist/agent/receipt-client.d.ts +16 -1
- package/dist/agent/run.d.ts +3 -0
- package/dist/agent/run.js +1 -1
- package/dist/agent-mandate.d.ts +103 -0
- package/dist/agent-mandate.js +423 -0
- package/dist/agent-receipt-external-attestations.d.ts +27 -0
- package/dist/agent-receipt-external-attestations.js +61 -0
- package/dist/agent-receipt-pdf-export.d.ts +43 -0
- package/dist/agent-receipt-pdf-export.js +109 -0
- package/dist/agent-receipt-prevalidate.d.ts +7 -0
- package/dist/agent-receipt-prevalidate.js +63 -0
- package/dist/agent-receipt.d.ts +21 -1
- package/dist/agent-receipt.js +63 -4
- package/dist/cli/command-spec.js +50 -1
- package/dist/cli/commands/dev.js +10 -3
- package/dist/cli/commands/setup.js +19 -1
- package/dist/cli/commands/shopify.d.ts +53 -0
- package/dist/cli/commands/shopify.js +808 -0
- package/dist/cli/help.d.ts +1 -1
- package/dist/cli/help.js +13 -3
- package/dist/cli/router.js +15 -1
- package/dist/commerce-binding.d.ts +59 -0
- package/dist/commerce-binding.js +129 -0
- package/dist/doctor-completion.d.ts +16 -0
- package/dist/doctor-completion.js +157 -1
- package/dist/index.d.ts +27 -2
- package/dist/index.js +43 -7
- package/dist/mcp-server.d.ts +1 -0
- package/dist/mcp-server.js +38 -11
- package/dist/policy/presets.d.ts +1 -1
- package/dist/policy/presets.js +1 -0
- package/dist/project-init.d.ts +1 -1
- package/dist/project-init.js +1 -0
- package/dist/protocol-receipt.d.ts +129 -0
- package/dist/protocol-receipt.js +620 -0
- package/dist/shopify/checkout.d.ts +29 -0
- package/dist/shopify/checkout.js +79 -0
- package/dist/shopify/evidence.d.ts +13 -0
- package/dist/shopify/evidence.js +85 -0
- package/dist/shopify/index.d.ts +8 -0
- package/dist/shopify/index.js +6 -0
- package/dist/shopify/instrument.d.ts +61 -0
- package/dist/shopify/instrument.js +52 -0
- package/dist/shopify/order.d.ts +8 -0
- package/dist/shopify/order.js +110 -0
- package/dist/shopify/types.d.ts +82 -0
- package/dist/shopify/types.js +4 -0
- package/dist/solutions/catalog.d.ts +1 -1
- package/dist/solutions/catalog.js +1 -1
- package/dist/stripe-commerce/evidence.d.ts +13 -0
- package/dist/stripe-commerce/evidence.js +164 -0
- package/dist/stripe-commerce/index.d.ts +3 -0
- package/dist/stripe-commerce/index.js +2 -0
- package/dist/stripe-commerce/metadata.d.ts +11 -0
- package/dist/stripe-commerce/metadata.js +34 -0
- package/dist/stripe-commerce/types.d.ts +38 -0
- package/dist/stripe-commerce/types.js +1 -0
- package/dist/template-init.d.ts +1 -1
- package/dist/template-init.js +6 -1
- package/package.json +1 -1
- package/policy/presets/stripe-commerce.yaml +19 -0
- package/solutions/stripe-commerce.json +19 -0
- package/templates/manifest.json +82 -10
- package/templates/openai-shopping-agent/package-lock.json +10 -10
- package/templates/openai-shopping-agent/src/paybond.config.ts +1 -1
- package/templates/paybond-aws-operator/package-lock.json +7 -7
- package/templates/paybond-aws-operator/src/paybond.config.ts +1 -1
- package/templates/paybond-claude-agents-demo/package-lock.json +7 -7
- package/templates/paybond-claude-agents-demo/src/paybond.config.ts +1 -1
- package/templates/paybond-mastra-travel-agent/package-lock.json +30 -30
- package/templates/paybond-mastra-travel-agent/src/paybond.config.ts +1 -1
- package/templates/paybond-mcp-coding-agent/package-lock.json +7 -7
- package/templates/paybond-mcp-coding-agent/src/paybond.config.ts +1 -1
- package/templates/paybond-openai-agents-demo/package-lock.json +10 -10
- package/templates/paybond-openai-agents-demo/src/paybond.config.ts +1 -1
- package/templates/paybond-procurement-agent/package-lock.json +7 -7
- package/templates/paybond-procurement-agent/src/paybond.config.ts +1 -1
- package/templates/paybond-shopify-shopping-agent/.env.example +3 -0
- package/templates/paybond-shopify-shopping-agent/.github/workflows/smoke.yml +20 -0
- package/templates/paybond-shopify-shopping-agent/LICENSE +201 -0
- package/templates/paybond-shopify-shopping-agent/README.md +29 -0
- package/templates/paybond-shopify-shopping-agent/package-lock.json +223 -0
- package/templates/paybond-shopify-shopping-agent/package.json +20 -0
- package/templates/paybond-shopify-shopping-agent/paybond.policy.yaml +22 -0
- package/templates/paybond-shopify-shopping-agent/src/index.ts +54 -0
- package/templates/paybond-shopify-shopping-agent/src/paybond.config.ts +51 -0
- package/templates/paybond-shopify-shopping-agent/tsconfig.json +13 -0
- package/templates/paybond-stripe-agent-demo/.env.example +9 -0
- package/templates/paybond-stripe-agent-demo/.github/workflows/smoke.yml +20 -0
- package/templates/paybond-stripe-agent-demo/LICENSE +201 -0
- package/templates/paybond-stripe-agent-demo/README.md +50 -0
- package/templates/paybond-stripe-agent-demo/package-lock.json +223 -0
- package/templates/paybond-stripe-agent-demo/package.json +20 -0
- package/templates/paybond-stripe-agent-demo/paybond.policy.yaml +22 -0
- package/templates/paybond-stripe-agent-demo/src/charge-customer.ts +237 -0
- package/templates/paybond-stripe-agent-demo/src/index.ts +78 -0
- package/templates/paybond-stripe-agent-demo/src/paybond.config.ts +51 -0
- package/templates/paybond-stripe-agent-demo/tsconfig.json +13 -0
- package/templates/paybond-travel-agent/package-lock.json +13 -13
- package/templates/paybond-travel-agent/src/paybond.config.ts +1 -1
- package/templates/paybond-vercel-shopping-agent/package-lock.json +7 -7
- package/templates/paybond-vercel-shopping-agent/src/paybond.config.ts +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.12.
|
|
11
|
+
"@paybond/kit": "^0.12.2",
|
|
12
12
|
"zod": "^4.2.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"license": "MIT"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@langchain/core": {
|
|
29
|
-
"version": "1.2.
|
|
30
|
-
"resolved": "https://registry.npmjs.org/@langchain/core/-/core-1.2.
|
|
31
|
-
"integrity": "sha512-
|
|
29
|
+
"version": "1.2.2",
|
|
30
|
+
"resolved": "https://registry.npmjs.org/@langchain/core/-/core-1.2.2.tgz",
|
|
31
|
+
"integrity": "sha512-KfjEOT6sCg0vvItagfEtGpmrGoLMGfma4Affb5BGEqPmS2YR3AxW54pABSkhQlzCehTB+0BnLquAe1lGF4J9zQ==",
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@cfworker/json-schema": "^4.0.2",
|
|
@@ -178,9 +178,9 @@
|
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
180
|
"node_modules/@paybond/kit": {
|
|
181
|
-
"version": "0.12.
|
|
182
|
-
"resolved": "https://registry.npmjs.org/@paybond/kit/-/kit-0.12.
|
|
183
|
-
"integrity": "sha512-
|
|
181
|
+
"version": "0.12.2",
|
|
182
|
+
"resolved": "https://registry.npmjs.org/@paybond/kit/-/kit-0.12.2.tgz",
|
|
183
|
+
"integrity": "sha512-so7XNbfEfUH2XZZ9JBHmWST2kjQXaoptyhi8p5rPllMO//8LT5lxpar0R028qAZKxU1y8cbj4kBMXy4lR0m05w==",
|
|
184
184
|
"license": "Apache-2.0",
|
|
185
185
|
"dependencies": {
|
|
186
186
|
"@noble/ed25519": "^2.2.1",
|
|
@@ -250,9 +250,9 @@
|
|
|
250
250
|
"license": "MIT"
|
|
251
251
|
},
|
|
252
252
|
"node_modules/@types/node": {
|
|
253
|
-
"version": "22.20.
|
|
254
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.
|
|
255
|
-
"integrity": "sha512-
|
|
253
|
+
"version": "22.20.1",
|
|
254
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.1.tgz",
|
|
255
|
+
"integrity": "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==",
|
|
256
256
|
"dev": true,
|
|
257
257
|
"license": "MIT",
|
|
258
258
|
"dependencies": {
|
|
@@ -358,9 +358,9 @@
|
|
|
358
358
|
"license": "MIT"
|
|
359
359
|
},
|
|
360
360
|
"node_modules/langsmith": {
|
|
361
|
-
"version": "0.
|
|
362
|
-
"resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.
|
|
363
|
-
"integrity": "sha512-
|
|
361
|
+
"version": "0.8.1",
|
|
362
|
+
"resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.8.1.tgz",
|
|
363
|
+
"integrity": "sha512-Y48oSj51aLvehAVwy+VU2i9COlCFmLi9T5REFyL4pWT2npcIKiBSiSlnyjxdkNXOdZ0YYz7Lud8aiZPjkjkXvA==",
|
|
364
364
|
"license": "MIT",
|
|
365
365
|
"dependencies": {
|
|
366
366
|
"p-queue": "6.6.2"
|
|
@@ -28,7 +28,7 @@ export async function loadPaybondEnvFile(envFile = ".env.local"): Promise<void>
|
|
|
28
28
|
const { readFile } = await import("node:fs/promises");
|
|
29
29
|
body = await readFile(envFile, "utf8");
|
|
30
30
|
} catch (err) {
|
|
31
|
-
if ((err).code === "ENOENT") return;
|
|
31
|
+
if ((err as { code?: string }).code === "ENOENT") return;
|
|
32
32
|
throw err;
|
|
33
33
|
}
|
|
34
34
|
const apiKey = readEnvValue(body, "PAYBOND_API_KEY");
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"": {
|
|
7
7
|
"name": "paybond-vercel-shopping-agent",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@paybond/kit": "^0.12.
|
|
9
|
+
"@paybond/kit": "^0.12.2",
|
|
10
10
|
"ai": "^5.0.0",
|
|
11
11
|
"zod": "^4.2.0"
|
|
12
12
|
},
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"node_modules/@paybond/kit": {
|
|
107
|
-
"version": "0.12.
|
|
108
|
-
"resolved": "https://registry.npmjs.org/@paybond/kit/-/kit-0.12.
|
|
109
|
-
"integrity": "sha512-
|
|
107
|
+
"version": "0.12.2",
|
|
108
|
+
"resolved": "https://registry.npmjs.org/@paybond/kit/-/kit-0.12.2.tgz",
|
|
109
|
+
"integrity": "sha512-so7XNbfEfUH2XZZ9JBHmWST2kjQXaoptyhi8p5rPllMO//8LT5lxpar0R028qAZKxU1y8cbj4kBMXy4lR0m05w==",
|
|
110
110
|
"license": "Apache-2.0",
|
|
111
111
|
"dependencies": {
|
|
112
112
|
"@noble/ed25519": "^2.2.1",
|
|
@@ -170,9 +170,9 @@
|
|
|
170
170
|
"license": "MIT"
|
|
171
171
|
},
|
|
172
172
|
"node_modules/@types/node": {
|
|
173
|
-
"version": "22.20.
|
|
174
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.
|
|
175
|
-
"integrity": "sha512-
|
|
173
|
+
"version": "22.20.1",
|
|
174
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.1.tgz",
|
|
175
|
+
"integrity": "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==",
|
|
176
176
|
"dev": true,
|
|
177
177
|
"license": "MIT",
|
|
178
178
|
"dependencies": {
|
|
@@ -28,7 +28,7 @@ export async function loadPaybondEnvFile(envFile = ".env.local"): Promise<void>
|
|
|
28
28
|
const { readFile } = await import("node:fs/promises");
|
|
29
29
|
body = await readFile(envFile, "utf8");
|
|
30
30
|
} catch (err) {
|
|
31
|
-
if ((err).code === "ENOENT") return;
|
|
31
|
+
if ((err as { code?: string }).code === "ENOENT") return;
|
|
32
32
|
throw err;
|
|
33
33
|
}
|
|
34
34
|
const apiKey = readEnvValue(body, "PAYBOND_API_KEY");
|