@paybond/kit 0.10.0 → 0.11.0
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/completion-presets/catalog.json +1187 -0
- package/completion-presets/catalog.sha256 +1 -0
- package/dev/trace-ui/dashboard.html +617 -0
- package/dist/agent/adapter.d.ts +51 -0
- package/dist/agent/adapter.js +66 -0
- package/dist/agent/attach-bundle.d.ts +37 -0
- package/dist/agent/attach-bundle.js +118 -0
- package/dist/agent/authorization-cache.d.ts +22 -0
- package/dist/agent/authorization-cache.js +36 -0
- package/dist/agent/deferred-tools.d.ts +11 -0
- package/dist/agent/deferred-tools.js +62 -0
- package/dist/agent/discover.d.ts +41 -0
- package/dist/agent/discover.js +147 -0
- package/dist/agent/evidence.d.ts +9 -0
- package/dist/agent/evidence.js +28 -0
- package/dist/agent/facade.d.ts +48 -0
- package/dist/agent/facade.js +112 -0
- package/dist/agent/gateway-trace-reporter.d.ts +28 -0
- package/dist/agent/gateway-trace-reporter.js +49 -0
- package/dist/agent/generic-runner.d.ts +14 -0
- package/dist/agent/generic-runner.js +49 -0
- package/dist/agent/generic-sandbox-demo.d.ts +36 -0
- package/dist/agent/generic-sandbox-demo.js +82 -0
- package/dist/agent/guarded-agent.d.ts +49 -0
- package/dist/agent/guarded-agent.js +100 -0
- package/dist/agent/index.d.ts +13 -0
- package/dist/agent/index.js +13 -0
- package/dist/agent/instrument.d.ts +156 -0
- package/dist/agent/instrument.js +442 -0
- package/dist/agent/interceptor.d.ts +24 -0
- package/dist/agent/interceptor.js +440 -0
- package/dist/agent/lazy-context-tools.d.ts +15 -0
- package/dist/agent/lazy-context-tools.js +81 -0
- package/dist/agent/registry-file.d.ts +39 -0
- package/dist/agent/registry-file.js +219 -0
- package/dist/agent/registry.d.ts +37 -0
- package/dist/agent/registry.js +128 -0
- package/dist/agent/run.d.ts +124 -0
- package/dist/agent/run.js +301 -0
- package/dist/agent/types.d.ts +318 -0
- package/dist/agent/types.js +42 -0
- package/dist/agent-recognition.d.ts +72 -0
- package/dist/agent-recognition.js +165 -0
- package/dist/bincode-wire.d.ts +18 -0
- package/dist/bincode-wire.js +93 -0
- package/dist/claude-agents/config.d.ts +21 -0
- package/dist/claude-agents/config.js +145 -0
- package/dist/claude-agents/index.d.ts +2 -0
- package/dist/claude-agents/index.js +2 -0
- package/dist/claude-agents/sandbox-demo.d.ts +30 -0
- package/dist/claude-agents/sandbox-demo.js +91 -0
- package/dist/cli/agent/env-quote.d.ts +1 -0
- package/dist/cli/agent/env-quote.js +6 -0
- package/dist/cli/agent/env-write.d.ts +8 -0
- package/dist/cli/agent/env-write.js +47 -0
- package/dist/cli/agent/paybond.d.ts +16 -0
- package/dist/cli/agent/paybond.js +55 -0
- package/dist/cli/agent/policy-file.d.ts +29 -0
- package/dist/cli/agent/policy-file.js +61 -0
- package/dist/cli/agent/production-evidence.d.ts +24 -0
- package/dist/cli/agent/production-evidence.js +98 -0
- package/dist/cli/agent/run-store.d.ts +30 -0
- package/dist/cli/agent/run-store.js +42 -0
- package/dist/cli/agent/run-trace-store.d.ts +39 -0
- package/dist/cli/agent/run-trace-store.js +143 -0
- package/dist/cli/agent-run-trace-table.d.ts +9 -0
- package/dist/cli/agent-run-trace-table.js +24 -0
- package/dist/cli/agent-sandbox-smoke-checklist.d.ts +9 -0
- package/dist/cli/agent-sandbox-smoke-checklist.js +50 -0
- package/dist/cli/command-spec.d.ts +1 -0
- package/dist/cli/command-spec.js +286 -5
- package/dist/cli/commands/agent.d.ts +16 -0
- package/dist/cli/commands/agent.js +1135 -0
- package/dist/cli/commands/dev.d.ts +7 -0
- package/dist/cli/commands/dev.js +348 -0
- package/dist/cli/commands/discovery.js +3 -3
- package/dist/cli/commands/policy.d.ts +13 -0
- package/dist/cli/commands/policy.js +769 -0
- package/dist/cli/commands/setup.d.ts +3 -0
- package/dist/cli/commands/setup.js +124 -8
- package/dist/cli/commands/workflows.js +9 -4
- package/dist/cli/config.d.ts +2 -0
- package/dist/cli/config.js +4 -2
- package/dist/cli/context.js +2 -1
- package/dist/cli/credentials.js +2 -2
- package/dist/cli/doctor-agent-middleware.d.ts +5 -0
- package/dist/cli/doctor-agent-middleware.js +49 -0
- package/dist/cli/globals.d.ts +1 -0
- package/dist/cli/globals.js +11 -1
- package/dist/cli/help.d.ts +1 -1
- package/dist/cli/help.js +35 -3
- package/dist/cli/mcp-install.js +2 -2
- package/dist/cli/mcp-policy.d.ts +3 -0
- package/dist/cli/mcp-policy.js +19 -13
- package/dist/cli/mcp-verify-config.js +9 -11
- package/dist/cli/redact.js +29 -8
- package/dist/cli/router.js +105 -2
- package/dist/cli/smoke-deep-links.d.ts +15 -0
- package/dist/cli/smoke-deep-links.js +63 -0
- package/dist/cli/telemetry.d.ts +17 -0
- package/dist/cli/telemetry.js +94 -0
- package/dist/completion-catalog-digest.d.ts +2 -0
- package/dist/completion-catalog-digest.js +2 -0
- package/dist/completion-catalog-integrity.d.ts +2 -0
- package/dist/completion-catalog-integrity.js +17 -0
- package/dist/completion-catalog.d.ts +49 -0
- package/dist/completion-catalog.js +62 -0
- package/dist/completion-contract-digest.d.ts +37 -0
- package/dist/completion-contract-digest.js +73 -0
- package/dist/completion-forbidden-fields.d.ts +5 -0
- package/dist/completion-forbidden-fields.js +26 -0
- package/dist/completion-init.d.ts +8 -0
- package/dist/completion-init.js +334 -0
- package/dist/completion-resolve.d.ts +21 -0
- package/dist/completion-resolve.js +86 -0
- package/dist/completion-validate-evidence.d.ts +24 -0
- package/dist/completion-validate-evidence.js +145 -0
- package/dist/dev/offline-gateway.d.ts +24 -0
- package/dist/dev/offline-gateway.js +102 -0
- package/dist/dev/trace-buffer.d.ts +61 -0
- package/dist/dev/trace-buffer.js +330 -0
- package/dist/dev/trace-security-headers.d.ts +11 -0
- package/dist/dev/trace-security-headers.js +16 -0
- package/dist/dev/trace-server.d.ts +8 -0
- package/dist/dev/trace-server.js +38 -0
- package/dist/dev/trace-ui.d.ts +4 -0
- package/dist/dev/trace-ui.js +25 -0
- package/dist/dev/wiremock-up.d.ts +15 -0
- package/dist/dev/wiremock-up.js +118 -0
- package/dist/doctor-completion.d.ts +17 -0
- package/dist/doctor-completion.js +428 -0
- package/dist/gateway-url.d.ts +7 -0
- package/dist/gateway-url.js +69 -0
- package/dist/index.d.ts +119 -2
- package/dist/index.js +267 -6
- package/dist/init.js +374 -57
- package/dist/langgraph/awrap-tool-call.d.ts +25 -0
- package/dist/langgraph/awrap-tool-call.js +81 -0
- package/dist/langgraph/config.d.ts +13 -0
- package/dist/langgraph/config.js +11 -0
- package/dist/langgraph/index.d.ts +4 -0
- package/dist/langgraph/index.js +4 -0
- package/dist/langgraph/sandbox-demo.d.ts +40 -0
- package/dist/langgraph/sandbox-demo.js +96 -0
- package/dist/langgraph/tool-node.d.ts +10 -0
- package/dist/langgraph/tool-node.js +38 -0
- package/dist/login.js +7 -0
- package/dist/mcp/index.d.ts +1 -0
- package/dist/mcp/index.js +1 -0
- package/dist/mcp/tool-surface.d.ts +25 -0
- package/dist/mcp/tool-surface.js +17 -0
- package/dist/mcp-capability-token-cache.d.ts +24 -0
- package/dist/mcp-capability-token-cache.js +101 -0
- package/dist/mcp-evidence-policy.d.ts +48 -0
- package/dist/mcp-evidence-policy.js +117 -0
- package/dist/mcp-policy-reload.d.ts +79 -0
- package/dist/mcp-policy-reload.js +200 -0
- package/dist/mcp-sep2828-evidence.d.ts +36 -0
- package/dist/mcp-sep2828-evidence.js +65 -0
- package/dist/mcp-server.d.ts +6 -0
- package/dist/mcp-server.js +224 -44
- package/dist/openai-agents/index.d.ts +40 -0
- package/dist/openai-agents/index.js +151 -0
- package/dist/openai-agents/sandbox-demo.d.ts +34 -0
- package/dist/openai-agents/sandbox-demo.js +118 -0
- package/dist/payee-evidence.js +2 -29
- package/dist/policy/catalog.d.ts +31 -0
- package/dist/policy/catalog.js +48 -0
- package/dist/policy/compose-utils.d.ts +3 -0
- package/dist/policy/compose-utils.js +4 -0
- package/dist/policy/compose.d.ts +20 -0
- package/dist/policy/compose.js +240 -0
- package/dist/policy/digest.d.ts +7 -0
- package/dist/policy/digest.js +75 -0
- package/dist/policy/domain.d.ts +15 -0
- package/dist/policy/domain.js +28 -0
- package/dist/policy/guardrail-spec.d.ts +17 -0
- package/dist/policy/guardrail-spec.js +140 -0
- package/dist/policy/guardrails.d.ts +48 -0
- package/dist/policy/guardrails.js +72 -0
- package/dist/policy/index.d.ts +21 -0
- package/dist/policy/index.js +21 -0
- package/dist/policy/init.d.ts +102 -0
- package/dist/policy/init.js +351 -0
- package/dist/policy/intent-spec.d.ts +52 -0
- package/dist/policy/intent-spec.js +176 -0
- package/dist/policy/json-path.d.ts +4 -0
- package/dist/policy/json-path.js +23 -0
- package/dist/policy/layers-io.d.ts +7 -0
- package/dist/policy/layers-io.js +28 -0
- package/dist/policy/load-effective.d.ts +22 -0
- package/dist/policy/load-effective.js +77 -0
- package/dist/policy/load.d.ts +85 -0
- package/dist/policy/load.js +164 -0
- package/dist/policy/merge.d.ts +29 -0
- package/dist/policy/merge.js +297 -0
- package/dist/policy/parse-text.d.ts +2 -0
- package/dist/policy/parse-text.js +126 -0
- package/dist/policy/policy-api.d.ts +45 -0
- package/dist/policy/policy-api.js +61 -0
- package/dist/policy/presets.d.ts +19 -0
- package/dist/policy/presets.js +66 -0
- package/dist/policy/registry.d.ts +7 -0
- package/dist/policy/registry.js +33 -0
- package/dist/policy/reload.d.ts +86 -0
- package/dist/policy/reload.js +233 -0
- package/dist/policy/render-yaml.d.ts +3 -0
- package/dist/policy/render-yaml.js +69 -0
- package/dist/policy/sandbox-bootstrap.d.ts +19 -0
- package/dist/policy/sandbox-bootstrap.js +66 -0
- package/dist/policy/schema.d.ts +204 -0
- package/dist/policy/schema.js +255 -0
- package/dist/policy/snapshot.d.ts +33 -0
- package/dist/policy/snapshot.js +23 -0
- package/dist/policy/validate-remote.d.ts +43 -0
- package/dist/policy/validate-remote.js +104 -0
- package/dist/policy/validate.d.ts +36 -0
- package/dist/policy/validate.js +150 -0
- package/dist/policy/watcher.d.ts +29 -0
- package/dist/policy/watcher.js +112 -0
- package/dist/principal-intent.d.ts +52 -0
- package/dist/principal-intent.js +193 -37
- package/dist/project-init.d.ts +34 -0
- package/dist/project-init.js +898 -0
- package/dist/sep2828-signature.d.ts +10 -0
- package/dist/sep2828-signature.js +134 -0
- package/dist/solutions/api.d.ts +22 -0
- package/dist/solutions/api.js +40 -0
- package/dist/solutions/catalog.d.ts +34 -0
- package/dist/solutions/catalog.js +129 -0
- package/dist/solutions/index.d.ts +2 -0
- package/dist/solutions/index.js +2 -0
- package/dist/template-init.d.ts +54 -0
- package/dist/template-init.js +203 -0
- package/dist/vercel-ai/config.d.ts +15 -0
- package/dist/vercel-ai/config.js +13 -0
- package/dist/vercel-ai/index.d.ts +4 -0
- package/dist/vercel-ai/index.js +4 -0
- package/dist/vercel-ai/sandbox-demo.d.ts +44 -0
- package/dist/vercel-ai/sandbox-demo.js +153 -0
- package/dist/vercel-ai/tool-approval.d.ts +16 -0
- package/dist/vercel-ai/tool-approval.js +41 -0
- package/dist/vercel-ai/wrap-tools.d.ts +9 -0
- package/dist/vercel-ai/wrap-tools.js +40 -0
- package/dist/x402-receipt-evidence.d.ts +29 -0
- package/dist/x402-receipt-evidence.js +97 -0
- package/dist/x402-receipt-signature.d.ts +12 -0
- package/dist/x402-receipt-signature.js +211 -0
- package/package.json +75 -3
- package/solutions/aws.json +17 -0
- package/solutions/saas.json +17 -0
- package/solutions/shopping.json +17 -0
- package/solutions/travel.json +18 -0
- package/templates/manifest.json +169 -0
- package/templates/openai-shopping-agent/.env.example +3 -0
- package/templates/openai-shopping-agent/.github/workflows/smoke.yml +20 -0
- package/templates/openai-shopping-agent/LICENSE +201 -0
- package/templates/openai-shopping-agent/README.md +29 -0
- package/templates/openai-shopping-agent/package.json +22 -0
- package/templates/openai-shopping-agent/paybond.policy.yaml +22 -0
- package/templates/openai-shopping-agent/src/index.ts +22 -0
- package/templates/openai-shopping-agent/src/paybond.config.ts +51 -0
- package/templates/openai-shopping-agent/tsconfig.json +13 -0
- package/templates/paybond-aws-operator/.env.example +3 -0
- package/templates/paybond-aws-operator/.github/workflows/smoke.yml +20 -0
- package/templates/paybond-aws-operator/LICENSE +201 -0
- package/templates/paybond-aws-operator/README.md +29 -0
- package/templates/paybond-aws-operator/package.json +20 -0
- package/templates/paybond-aws-operator/paybond.policy.yaml +22 -0
- package/templates/paybond-aws-operator/src/index.ts +54 -0
- package/templates/paybond-aws-operator/src/paybond.config.ts +51 -0
- package/templates/paybond-aws-operator/tsconfig.json +13 -0
- package/templates/paybond-claude-agents-demo/.env.example +3 -0
- package/templates/paybond-claude-agents-demo/.github/workflows/smoke.yml +20 -0
- package/templates/paybond-claude-agents-demo/LICENSE +201 -0
- package/templates/paybond-claude-agents-demo/README.md +29 -0
- package/templates/paybond-claude-agents-demo/package.json +22 -0
- package/templates/paybond-claude-agents-demo/paybond.policy.yaml +22 -0
- package/templates/paybond-claude-agents-demo/src/index.ts +22 -0
- package/templates/paybond-claude-agents-demo/src/paybond.config.ts +51 -0
- package/templates/paybond-claude-agents-demo/tsconfig.json +13 -0
- package/templates/paybond-invoice-agent/.env.example +3 -0
- package/templates/paybond-invoice-agent/.github/workflows/smoke.yml +19 -0
- package/templates/paybond-invoice-agent/LICENSE +201 -0
- package/templates/paybond-invoice-agent/README.md +29 -0
- package/templates/paybond-invoice-agent/app.py +27 -0
- package/templates/paybond-invoice-agent/package.json +6 -0
- package/templates/paybond-invoice-agent/paybond.policy.yaml +22 -0
- package/templates/paybond-invoice-agent/paybond_config.py +45 -0
- package/templates/paybond-invoice-agent/requirements.txt +2 -0
- package/templates/paybond-mcp-coding-agent/.env.example +3 -0
- package/templates/paybond-mcp-coding-agent/.github/workflows/smoke.yml +20 -0
- package/templates/paybond-mcp-coding-agent/LICENSE +201 -0
- package/templates/paybond-mcp-coding-agent/README.md +39 -0
- package/templates/paybond-mcp-coding-agent/package.json +20 -0
- package/templates/paybond-mcp-coding-agent/paybond.policy.yaml +25 -0
- package/templates/paybond-mcp-coding-agent/src/index.ts +40 -0
- package/templates/paybond-mcp-coding-agent/src/paybond.config.ts +51 -0
- package/templates/paybond-mcp-coding-agent/tsconfig.json +13 -0
- package/templates/paybond-openai-agents-demo/.env.example +3 -0
- package/templates/paybond-openai-agents-demo/.github/workflows/smoke.yml +20 -0
- package/templates/paybond-openai-agents-demo/LICENSE +201 -0
- package/templates/paybond-openai-agents-demo/README.md +29 -0
- package/templates/paybond-openai-agents-demo/package.json +22 -0
- package/templates/paybond-openai-agents-demo/paybond.policy.yaml +22 -0
- package/templates/paybond-openai-agents-demo/src/index.ts +22 -0
- package/templates/paybond-openai-agents-demo/src/paybond.config.ts +51 -0
- package/templates/paybond-openai-agents-demo/tsconfig.json +13 -0
- package/templates/paybond-procurement-agent/.env.example +3 -0
- package/templates/paybond-procurement-agent/.github/workflows/smoke.yml +20 -0
- package/templates/paybond-procurement-agent/LICENSE +201 -0
- package/templates/paybond-procurement-agent/README.md +29 -0
- package/templates/paybond-procurement-agent/package.json +20 -0
- package/templates/paybond-procurement-agent/paybond.policy.yaml +25 -0
- package/templates/paybond-procurement-agent/src/index.ts +54 -0
- package/templates/paybond-procurement-agent/src/paybond.config.ts +51 -0
- package/templates/paybond-procurement-agent/tsconfig.json +13 -0
- package/templates/paybond-travel-agent/.env.example +3 -0
- package/templates/paybond-travel-agent/.github/workflows/smoke.yml +20 -0
- package/templates/paybond-travel-agent/LICENSE +201 -0
- package/templates/paybond-travel-agent/README.md +29 -0
- package/templates/paybond-travel-agent/package.json +23 -0
- package/templates/paybond-travel-agent/paybond.policy.yaml +22 -0
- package/templates/paybond-travel-agent/src/index.ts +22 -0
- package/templates/paybond-travel-agent/src/paybond.config.ts +51 -0
- package/templates/paybond-travel-agent/tsconfig.json +13 -0
- package/templates/paybond-vercel-shopping-agent/.env.example +3 -0
- package/templates/paybond-vercel-shopping-agent/.github/workflows/smoke.yml +20 -0
- package/templates/paybond-vercel-shopping-agent/LICENSE +201 -0
- package/templates/paybond-vercel-shopping-agent/README.md +29 -0
- package/templates/paybond-vercel-shopping-agent/package.json +22 -0
- package/templates/paybond-vercel-shopping-agent/paybond.policy.yaml +22 -0
- package/templates/paybond-vercel-shopping-agent/src/index.ts +22 -0
- package/templates/paybond-vercel-shopping-agent/src/paybond.config.ts +51 -0
- package/templates/paybond-vercel-shopping-agent/tsconfig.json +13 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { basename } from "node:path";
|
|
2
|
+
import { colorize, shouldUseColor } from "./color.js";
|
|
3
|
+
function formatUsdFromCents(cents) {
|
|
4
|
+
return `$${(cents / 100).toFixed(2)}`;
|
|
5
|
+
}
|
|
6
|
+
function evidencePresetFromBind(bind) {
|
|
7
|
+
const preset = bind.completion_preset;
|
|
8
|
+
return typeof preset === "string" && preset.trim() ? preset.trim() : undefined;
|
|
9
|
+
}
|
|
10
|
+
/** Build human-readable sandbox smoke checklist lines for `--format table`. */
|
|
11
|
+
export function formatAgentSandboxSmokeChecklist(options) {
|
|
12
|
+
const useColor = shouldUseColor(options.globals);
|
|
13
|
+
const mark = (line) => {
|
|
14
|
+
if (line.startsWith("✓") || line === "Success") {
|
|
15
|
+
return colorize(line, "green", useColor);
|
|
16
|
+
}
|
|
17
|
+
return line;
|
|
18
|
+
};
|
|
19
|
+
const presetLabel = options.presetId?.trim() ||
|
|
20
|
+
(typeof options.bind.policy_file === "string"
|
|
21
|
+
? basename(options.bind.policy_file)
|
|
22
|
+
: "custom");
|
|
23
|
+
const lines = [];
|
|
24
|
+
lines.push(mark(`✓ Policy loaded (${presetLabel})`));
|
|
25
|
+
if (options.bind.intent_id) {
|
|
26
|
+
lines.push(mark("✓ Sandbox intent created"));
|
|
27
|
+
}
|
|
28
|
+
const operation = String(options.bind.operation ?? "").trim();
|
|
29
|
+
if (operation) {
|
|
30
|
+
lines.push(mark(`✓ Tool call: ${operation}`));
|
|
31
|
+
}
|
|
32
|
+
const authorization = options.execute.authorization;
|
|
33
|
+
if (authorization?.allow) {
|
|
34
|
+
const costCents = typeof options.resultBody.cost_cents === "number"
|
|
35
|
+
? options.resultBody.cost_cents
|
|
36
|
+
: typeof options.bind.requested_spend_cents === "number"
|
|
37
|
+
? options.bind.requested_spend_cents
|
|
38
|
+
: undefined;
|
|
39
|
+
const spendLabel = costCents !== undefined ? formatUsdFromCents(costCents) : "approved";
|
|
40
|
+
lines.push(mark(`✓ Spend approved (${spendLabel})`));
|
|
41
|
+
}
|
|
42
|
+
const evidence = options.execute.evidence;
|
|
43
|
+
if (evidence?.submitted) {
|
|
44
|
+
const preset = evidencePresetFromBind(options.bind) ?? "cost_and_completion";
|
|
45
|
+
lines.push(mark(`✓ Evidence validated (${preset})`));
|
|
46
|
+
lines.push(mark("✓ Settlement simulated"));
|
|
47
|
+
}
|
|
48
|
+
lines.push(mark("Success"));
|
|
49
|
+
return lines;
|
|
50
|
+
}
|
|
@@ -2,6 +2,7 @@ export declare const COMMAND_PATHS: string[];
|
|
|
2
2
|
export declare const GLOBAL_FLAG_NAMES: string[];
|
|
3
3
|
export declare const COMMAND_EXAMPLES: Record<string, string[]>;
|
|
4
4
|
export declare const COMPLETIONS: Record<string, string[]>;
|
|
5
|
+
export declare const COMPLETION_PRESET_IDS: string[];
|
|
5
6
|
export declare const WORKFLOWS: Array<{
|
|
6
7
|
title: string;
|
|
7
8
|
description?: string;
|
package/dist/cli/command-spec.js
CHANGED
|
@@ -5,12 +5,30 @@ export const COMMAND_PATHS = [
|
|
|
5
5
|
"examples",
|
|
6
6
|
"completion",
|
|
7
7
|
"login",
|
|
8
|
+
"init",
|
|
8
9
|
"init guardrail",
|
|
10
|
+
"init completion",
|
|
11
|
+
"policy templates",
|
|
12
|
+
"policy preview",
|
|
13
|
+
"policy import-mcp-receipt",
|
|
14
|
+
"policy import-x402-receipt",
|
|
15
|
+
"policy validate-evidence",
|
|
16
|
+
"policy presets list",
|
|
17
|
+
"policy presets show",
|
|
18
|
+
"policy init",
|
|
19
|
+
"policy init-org",
|
|
20
|
+
"policy extend",
|
|
21
|
+
"policy validate-tools",
|
|
9
22
|
"mcp serve",
|
|
10
23
|
"mcp install",
|
|
11
24
|
"mcp verify-config",
|
|
12
25
|
"mcp tools",
|
|
13
26
|
"doctor",
|
|
27
|
+
"dev",
|
|
28
|
+
"dev smoke",
|
|
29
|
+
"dev trace",
|
|
30
|
+
"dev loop",
|
|
31
|
+
"dev up",
|
|
14
32
|
"version",
|
|
15
33
|
"diagnose",
|
|
16
34
|
"config get",
|
|
@@ -40,6 +58,20 @@ export const COMMAND_PATHS = [
|
|
|
40
58
|
"mandates import",
|
|
41
59
|
"a2a card",
|
|
42
60
|
"a2a contracts",
|
|
61
|
+
"init agent-middleware",
|
|
62
|
+
"agent run bind",
|
|
63
|
+
"agent run status",
|
|
64
|
+
"agent run trace",
|
|
65
|
+
"agent run reload-policy",
|
|
66
|
+
"agent tool execute",
|
|
67
|
+
"agent tool validate",
|
|
68
|
+
"agent registry validate",
|
|
69
|
+
"agent sandbox smoke",
|
|
70
|
+
"agent demo vercel-ai smoke",
|
|
71
|
+
"agent demo langgraph smoke",
|
|
72
|
+
"agent demo generic smoke",
|
|
73
|
+
"agent demo claude-agents smoke",
|
|
74
|
+
"agent demo openai-agents smoke",
|
|
43
75
|
"audit exports list",
|
|
44
76
|
"audit exports get",
|
|
45
77
|
"audit exports verify",
|
|
@@ -81,10 +113,67 @@ export const COMMAND_EXAMPLES = {
|
|
|
81
113
|
"paybond login",
|
|
82
114
|
"paybond login --no-open --format json"
|
|
83
115
|
],
|
|
116
|
+
"init": [
|
|
117
|
+
"paybond init",
|
|
118
|
+
"paybond init --solution travel --max-spend-usd 500 --framework langgraph --non-interactive"
|
|
119
|
+
],
|
|
84
120
|
"init guardrail": [
|
|
85
121
|
"paybond init guardrail",
|
|
86
122
|
"paybond init guardrail --framework openai --out guard.ts"
|
|
87
123
|
],
|
|
124
|
+
"init completion": [
|
|
125
|
+
"paybond init completion --preset api_response_ok",
|
|
126
|
+
"paybond init completion --preset cost_and_completion --out paybond-completion.ts"
|
|
127
|
+
],
|
|
128
|
+
"policy templates": [
|
|
129
|
+
"paybond policy templates",
|
|
130
|
+
"paybond policy templates --format json"
|
|
131
|
+
],
|
|
132
|
+
"policy preview": [
|
|
133
|
+
"paybond policy preview --preset api_response_ok --evidence-file evidence.json",
|
|
134
|
+
"paybond policy preview --template api_response_v1 --parameters-file parameters.json --evidence-file evidence.json"
|
|
135
|
+
],
|
|
136
|
+
"policy import-mcp-receipt": [
|
|
137
|
+
"paybond policy import-mcp-receipt --decision-file decision.json --outcome-file outcome.json",
|
|
138
|
+
"paybond policy import-mcp-receipt --decision-file decision.json --outcome-file outcome.json --write-evidence-file evidence.json"
|
|
139
|
+
],
|
|
140
|
+
"policy import-x402-receipt": [
|
|
141
|
+
"paybond policy import-x402-receipt --receipt-file receipt.json",
|
|
142
|
+
"paybond policy import-x402-receipt --receipt-file receipt.json --write-evidence-file evidence.json"
|
|
143
|
+
],
|
|
144
|
+
"policy validate-evidence": [
|
|
145
|
+
"paybond policy validate-evidence --preset stripe_charge --vendor-file vendor.json",
|
|
146
|
+
"paybond policy validate-evidence --preset ach_travel_booking --vendor-file booking.json --frozen-api-version 2024-10-28.acacia"
|
|
147
|
+
],
|
|
148
|
+
"policy presets list": [
|
|
149
|
+
"paybond policy presets list",
|
|
150
|
+
"paybond policy presets list --format json"
|
|
151
|
+
],
|
|
152
|
+
"policy presets show": [
|
|
153
|
+
"paybond policy presets show travel",
|
|
154
|
+
"paybond policy presets show --preset travel --max-spend 500",
|
|
155
|
+
"paybond policy presets show --domain travel --guardrails read-only,max-spend:500"
|
|
156
|
+
],
|
|
157
|
+
"policy init": [
|
|
158
|
+
"paybond policy init --preset travel --out paybond.policy.yaml",
|
|
159
|
+
"paybond policy init --preset travel --max-spend 500 --out paybond.policy.yaml",
|
|
160
|
+
"paybond policy init --domain travel --guardrails read-only,max-spend:500 --out paybond.policy.yaml",
|
|
161
|
+
"paybond policy init --out paybond.policy.yaml",
|
|
162
|
+
"paybond policy init --operation travel.book_hotel --evidence-preset cost_and_completion"
|
|
163
|
+
],
|
|
164
|
+
"policy init-org": [
|
|
165
|
+
"paybond policy init-org --policy-id acme-agent-spend-v1 --out org-agent-spend-v1.yaml",
|
|
166
|
+
"paybond policy init-org --policy-id acme-agent-spend-v1 --operation travel.book_hotel --max-spend-cents 20000"
|
|
167
|
+
],
|
|
168
|
+
"policy extend": [
|
|
169
|
+
"paybond policy extend --extends org_acme_corp/acme-agent-spend-v1 --out paybond.policy.yaml",
|
|
170
|
+
"paybond policy extend --extends org_acme_corp/acme-agent-spend-v1 --operation acme.internal.approve_po --evidence-preset cost_and_completion"
|
|
171
|
+
],
|
|
172
|
+
"policy validate-tools": [
|
|
173
|
+
"paybond policy validate-tools --file paybond.policy.yaml --local-only",
|
|
174
|
+
"paybond policy validate-tools --file paybond.policy.yaml --remote --format json",
|
|
175
|
+
"paybond policy validate-tools --file paybond.policy.yaml --remote --resolve-inheritance --format json"
|
|
176
|
+
],
|
|
88
177
|
"mcp serve": [
|
|
89
178
|
"paybond mcp serve"
|
|
90
179
|
],
|
|
@@ -103,6 +192,31 @@ export const COMMAND_EXAMPLES = {
|
|
|
103
192
|
"paybond doctor",
|
|
104
193
|
"paybond doctor --agent --format json"
|
|
105
194
|
],
|
|
195
|
+
"dev": [
|
|
196
|
+
"paybond dev smoke --offline",
|
|
197
|
+
"paybond dev trace",
|
|
198
|
+
"paybond dev loop",
|
|
199
|
+
"paybond dev up"
|
|
200
|
+
],
|
|
201
|
+
"dev smoke": [
|
|
202
|
+
"paybond dev smoke",
|
|
203
|
+
"paybond dev smoke --offline",
|
|
204
|
+
"paybond dev smoke --format json"
|
|
205
|
+
],
|
|
206
|
+
"dev trace": [
|
|
207
|
+
"paybond dev trace",
|
|
208
|
+
"paybond dev trace --port 9477"
|
|
209
|
+
],
|
|
210
|
+
"dev loop": [
|
|
211
|
+
"paybond dev loop",
|
|
212
|
+
"paybond dev loop --offline",
|
|
213
|
+
"paybond dev loop --format json"
|
|
214
|
+
],
|
|
215
|
+
"dev up": [
|
|
216
|
+
"paybond dev up",
|
|
217
|
+
"paybond dev up --port 18089",
|
|
218
|
+
"paybond dev up --down"
|
|
219
|
+
],
|
|
106
220
|
"version": [
|
|
107
221
|
"paybond version",
|
|
108
222
|
"paybond version --verbose --format json"
|
|
@@ -193,6 +307,55 @@ export const COMMAND_EXAMPLES = {
|
|
|
193
307
|
"a2a contracts": [
|
|
194
308
|
"paybond a2a contracts"
|
|
195
309
|
],
|
|
310
|
+
"init agent-middleware": [
|
|
311
|
+
"paybond init agent-middleware",
|
|
312
|
+
"paybond init agent-middleware --framework claude-agents --out paybond-claude-agents.ts",
|
|
313
|
+
"paybond init agent-middleware --framework openai --out paybond-agent-middleware.ts"
|
|
314
|
+
],
|
|
315
|
+
"agent run bind": [
|
|
316
|
+
"paybond agent run bind --policy-file paybond.policy.yaml --format json",
|
|
317
|
+
"paybond agent run bind --sandbox --operation travel.book_hotel --requested-spend-cents 20000 --completion-preset cost_and_completion --registry-file ./paybond.agent.registry.yaml --format json"
|
|
318
|
+
],
|
|
319
|
+
"agent run status": [
|
|
320
|
+
"paybond agent run status --run-id run-123 --format json"
|
|
321
|
+
],
|
|
322
|
+
"agent run trace": [
|
|
323
|
+
"paybond agent run trace --run-id run-123 --format json",
|
|
324
|
+
"paybond agent run trace --run-id run-123 --format table"
|
|
325
|
+
],
|
|
326
|
+
"agent run reload-policy": [
|
|
327
|
+
"paybond agent run reload-policy --run-id run-123 --format json",
|
|
328
|
+
"paybond agent run reload-policy --run-id run-123 --policy-file ./paybond.policy.yaml --remote --format json"
|
|
329
|
+
],
|
|
330
|
+
"agent tool execute": [
|
|
331
|
+
"paybond agent tool execute --run-id run-123 --operation travel.book_hotel --tool-call-id call-1 --arguments '{\"city\":\"Lisbon\",\"estimated_price_cents\":18700}' --result-body '{\"reservation\":{\"status\":\"confirmed\",\"price_cents\":18700}}' --format json"
|
|
332
|
+
],
|
|
333
|
+
"agent tool validate": [
|
|
334
|
+
"paybond agent tool validate --run-id run-123 --operation travel.book_hotel --requested-spend-cents 18700 --format json"
|
|
335
|
+
],
|
|
336
|
+
"agent registry validate": [
|
|
337
|
+
"paybond agent registry validate --file ./paybond.agent.registry.yaml --format json"
|
|
338
|
+
],
|
|
339
|
+
"agent sandbox smoke": [
|
|
340
|
+
"paybond agent sandbox smoke --preset travel --result-body '{\"status\":\"completed\",\"cost_cents\":18700}' --format json",
|
|
341
|
+
"paybond agent sandbox smoke --policy-file paybond.policy.yaml --result-body '{\"status\":\"completed\",\"cost_cents\":18700}' --format json",
|
|
342
|
+
"paybond agent sandbox smoke --operation paid-tool --requested-spend-cents 100 --evidence-preset cost_and_completion --result-body '{\"status\":\"ok\",\"cost_cents\":100}' --format json"
|
|
343
|
+
],
|
|
344
|
+
"agent demo vercel-ai smoke": [
|
|
345
|
+
"paybond agent demo vercel-ai smoke --operation paid-tool --requested-spend-cents 100 --evidence-preset cost_and_completion --format json"
|
|
346
|
+
],
|
|
347
|
+
"agent demo langgraph smoke": [
|
|
348
|
+
"paybond agent demo langgraph smoke --operation paid-tool --requested-spend-cents 100 --evidence-preset cost_and_completion --format json"
|
|
349
|
+
],
|
|
350
|
+
"agent demo generic smoke": [
|
|
351
|
+
"paybond agent demo generic smoke --operation paid-tool --requested-spend-cents 100 --evidence-preset cost_and_completion --format json"
|
|
352
|
+
],
|
|
353
|
+
"agent demo claude-agents smoke": [
|
|
354
|
+
"paybond agent demo claude-agents smoke --operation paid-tool --requested-spend-cents 100 --evidence-preset cost_and_completion --format json"
|
|
355
|
+
],
|
|
356
|
+
"agent demo openai-agents smoke": [
|
|
357
|
+
"paybond agent demo openai-agents smoke --operation paid-tool --requested-spend-cents 100 --evidence-preset cost_and_completion --format json"
|
|
358
|
+
],
|
|
196
359
|
"audit exports list": [
|
|
197
360
|
"paybond audit exports list --format json"
|
|
198
361
|
],
|
|
@@ -216,6 +379,7 @@ export const COMPLETIONS = {
|
|
|
216
379
|
"init",
|
|
217
380
|
"mcp",
|
|
218
381
|
"doctor",
|
|
382
|
+
"dev",
|
|
219
383
|
"version",
|
|
220
384
|
"diagnose",
|
|
221
385
|
"config",
|
|
@@ -228,10 +392,14 @@ export const COMPLETIONS = {
|
|
|
228
392
|
"receipts",
|
|
229
393
|
"mandates",
|
|
230
394
|
"a2a",
|
|
231
|
-
"
|
|
395
|
+
"policy",
|
|
396
|
+
"audit",
|
|
397
|
+
"agent"
|
|
232
398
|
],
|
|
233
399
|
"init": [
|
|
234
|
-
"guardrail"
|
|
400
|
+
"guardrail",
|
|
401
|
+
"completion",
|
|
402
|
+
"agent-middleware"
|
|
235
403
|
],
|
|
236
404
|
"mcp": [
|
|
237
405
|
"serve",
|
|
@@ -239,6 +407,12 @@ export const COMPLETIONS = {
|
|
|
239
407
|
"verify-config",
|
|
240
408
|
"tools"
|
|
241
409
|
],
|
|
410
|
+
"dev": [
|
|
411
|
+
"smoke",
|
|
412
|
+
"trace",
|
|
413
|
+
"loop",
|
|
414
|
+
"up"
|
|
415
|
+
],
|
|
242
416
|
"config": [
|
|
243
417
|
"get",
|
|
244
418
|
"set",
|
|
@@ -283,6 +457,21 @@ export const COMPLETIONS = {
|
|
|
283
457
|
"card",
|
|
284
458
|
"contracts"
|
|
285
459
|
],
|
|
460
|
+
"policy": [
|
|
461
|
+
"init",
|
|
462
|
+
"validate-tools",
|
|
463
|
+
"templates",
|
|
464
|
+
"preview",
|
|
465
|
+
"import-mcp-receipt",
|
|
466
|
+
"import-x402-receipt",
|
|
467
|
+
"validate-evidence"
|
|
468
|
+
],
|
|
469
|
+
"agent": [
|
|
470
|
+
"run",
|
|
471
|
+
"tool",
|
|
472
|
+
"registry",
|
|
473
|
+
"sandbox"
|
|
474
|
+
],
|
|
286
475
|
"audit": [
|
|
287
476
|
"exports"
|
|
288
477
|
],
|
|
@@ -290,8 +479,72 @@ export const COMPLETIONS = {
|
|
|
290
479
|
"bash",
|
|
291
480
|
"zsh",
|
|
292
481
|
"fish"
|
|
482
|
+
],
|
|
483
|
+
"init completion preset": [
|
|
484
|
+
"api_response_ok",
|
|
485
|
+
"webhook_confirmed",
|
|
486
|
+
"artifact_attested",
|
|
487
|
+
"cost_and_completion",
|
|
488
|
+
"sandbox_permissive",
|
|
489
|
+
"stripe_charge",
|
|
490
|
+
"vendor_webhook_confirmed",
|
|
491
|
+
"stripe_webhook_payment",
|
|
492
|
+
"ach_paid_api_ok",
|
|
493
|
+
"ach_travel_booking",
|
|
494
|
+
"ach_vendor_webhook",
|
|
495
|
+
"x402_paid_api_ok",
|
|
496
|
+
"x402_delivery_receipt",
|
|
497
|
+
"x402_cost_and_completion"
|
|
498
|
+
],
|
|
499
|
+
"policy preview preset": [
|
|
500
|
+
"api_response_ok",
|
|
501
|
+
"webhook_confirmed",
|
|
502
|
+
"artifact_attested",
|
|
503
|
+
"cost_and_completion",
|
|
504
|
+
"sandbox_permissive",
|
|
505
|
+
"stripe_charge",
|
|
506
|
+
"vendor_webhook_confirmed",
|
|
507
|
+
"stripe_webhook_payment",
|
|
508
|
+
"ach_paid_api_ok",
|
|
509
|
+
"ach_travel_booking",
|
|
510
|
+
"ach_vendor_webhook",
|
|
511
|
+
"x402_paid_api_ok",
|
|
512
|
+
"x402_delivery_receipt",
|
|
513
|
+
"x402_cost_and_completion"
|
|
514
|
+
],
|
|
515
|
+
"guardrails bootstrap completion-preset": [
|
|
516
|
+
"api_response_ok",
|
|
517
|
+
"webhook_confirmed",
|
|
518
|
+
"artifact_attested",
|
|
519
|
+
"cost_and_completion",
|
|
520
|
+
"sandbox_permissive",
|
|
521
|
+
"stripe_charge",
|
|
522
|
+
"vendor_webhook_confirmed",
|
|
523
|
+
"stripe_webhook_payment",
|
|
524
|
+
"ach_paid_api_ok",
|
|
525
|
+
"ach_travel_booking",
|
|
526
|
+
"ach_vendor_webhook",
|
|
527
|
+
"x402_paid_api_ok",
|
|
528
|
+
"x402_delivery_receipt",
|
|
529
|
+
"x402_cost_and_completion"
|
|
293
530
|
]
|
|
294
531
|
};
|
|
532
|
+
export const COMPLETION_PRESET_IDS = [
|
|
533
|
+
"api_response_ok",
|
|
534
|
+
"webhook_confirmed",
|
|
535
|
+
"artifact_attested",
|
|
536
|
+
"cost_and_completion",
|
|
537
|
+
"sandbox_permissive",
|
|
538
|
+
"stripe_charge",
|
|
539
|
+
"vendor_webhook_confirmed",
|
|
540
|
+
"stripe_webhook_payment",
|
|
541
|
+
"ach_paid_api_ok",
|
|
542
|
+
"ach_travel_booking",
|
|
543
|
+
"ach_vendor_webhook",
|
|
544
|
+
"x402_paid_api_ok",
|
|
545
|
+
"x402_delivery_receipt",
|
|
546
|
+
"x402_cost_and_completion"
|
|
547
|
+
];
|
|
295
548
|
export const WORKFLOWS = [
|
|
296
549
|
{
|
|
297
550
|
"title": "Sandbox setup",
|
|
@@ -320,11 +573,39 @@ export const WORKFLOWS = [
|
|
|
320
573
|
"paybond guardrails bootstrap --operation paid-tool --requested-spend-cents 100"
|
|
321
574
|
],
|
|
322
575
|
"next": "paybond spend authorize --help"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"title": "Policy-driven agent sandbox",
|
|
579
|
+
"description": "Validate and smoke-test agent middleware from a versioned paybond.policy.yaml file.",
|
|
580
|
+
"examples": [
|
|
581
|
+
"paybond policy init --out paybond.policy.yaml",
|
|
582
|
+
"paybond policy validate-tools --file paybond.policy.yaml",
|
|
583
|
+
"paybond agent sandbox smoke --policy-file paybond.policy.yaml --result-body '{\"status\":\"completed\",\"cost_cents\":18700}' --format json"
|
|
584
|
+
],
|
|
585
|
+
"next": "paybond policy validate-tools --help"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"title": "Agent middleware sandbox",
|
|
589
|
+
"description": "Bind a sandbox run and execute a guarded tool with auto-evidence.",
|
|
590
|
+
"examples": [
|
|
591
|
+
"paybond agent sandbox smoke --operation paid-tool --requested-spend-cents 100 --evidence-preset cost_and_completion --result-body '{\"status\":\"ok\",\"cost_cents\":100}' --format json"
|
|
592
|
+
],
|
|
593
|
+
"next": "paybond agent run bind --help"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"title": "Completion preset",
|
|
597
|
+
"description": "Scaffold catalog-aligned completion evidence for Harbor release predicates.",
|
|
598
|
+
"examples": [
|
|
599
|
+
"paybond init completion --preset api_response_ok",
|
|
600
|
+
"paybond policy templates",
|
|
601
|
+
"paybond policy preview --preset api_response_ok --evidence-file evidence.json"
|
|
602
|
+
],
|
|
603
|
+
"next": "paybond policy preview --help"
|
|
323
604
|
}
|
|
324
605
|
];
|
|
325
606
|
export const DOCS_BASE_URL = "https://docs.paybond.ai/kit";
|
|
326
607
|
export const COMPLETION_SCRIPTS = {
|
|
327
|
-
"bash": "# Generated by kit/cli-parity/generate.mjs — do not edit by hand.\n# # top_level: onboarding help examples completion login init mcp doctor version diagnose config whoami keys intents guardrails spend signal receipts mandates a2a audit\n# init: guardrail\n# mcp: serve install verify-config tools\n# config: get set unset list\n# keys: list create rotate revoke\n# intents: list get create fund evidence settlement-confirm\n# guardrails: bootstrap evidence\n# spend: authorize\n# signal: reputation portfolio fraud\n# receipts: get verify\n# mandates: verify import\n# a2a: card contracts\n# audit: exports\n# completion: bash zsh fish\n_paybond_completion() {\n local cur prev words cword\n COMPREPLY=()\n cur=\"${COMP_WORDS[COMP_CWORD]}\"\n prev=\"${COMP_WORDS[COMP_CWORD-1]}\"\n\n if [[ $COMP_CWORD -eq 1 ]]; then\n COMPREPLY=($(compgen -W \"onboarding help examples completion login init mcp doctor version diagnose config whoami keys intents guardrails spend signal receipts mandates a2a audit\" -- \"$cur\"))\n return 0\n fi\n\n case \"${COMP_WORDS[1]}\" in\n init) COMPREPLY=($(compgen -W \"guardrail\" -- \"$cur\")) ;;\n mcp) COMPREPLY=($(compgen -W \"serve install verify-config tools\" -- \"$cur\")) ;;\n config) COMPREPLY=($(compgen -W \"get set unset list\" -- \"$cur\")) ;;\n keys) COMPREPLY=($(compgen -W \"list create rotate revoke\" -- \"$cur\")) ;;\n intents) COMPREPLY=($(compgen -W \"list get create fund evidence settlement-confirm\" -- \"$cur\")) ;;\n guardrails) COMPREPLY=($(compgen -W \"bootstrap evidence\" -- \"$cur\")) ;;\n spend) COMPREPLY=($(compgen -W \"authorize\" -- \"$cur\")) ;;\n signal) COMPREPLY=($(compgen -W \"reputation portfolio fraud\" -- \"$cur\")) ;;\n receipts) COMPREPLY=($(compgen -W \"get verify\" -- \"$cur\")) ;;\n mandates) COMPREPLY=($(compgen -W \"verify import\" -- \"$cur\")) ;;\n a2a) COMPREPLY=($(compgen -W \"card contracts\" -- \"$cur\")) ;;\n audit) COMPREPLY=($(compgen -W \"exports\" -- \"$cur\")) ;;\n completion) COMPREPLY=($(compgen -W \"bash zsh fish\" -- \"$cur\")) ;;\n *) ;;\n esac\n}\ncomplete -F _paybond_completion paybond\n",
|
|
328
|
-
"zsh": "#compdef paybond\n# Generated by kit/cli-parity/generate.mjs — do not edit by hand.\n# # top_level: onboarding help examples completion login init mcp doctor version diagnose config whoami keys intents guardrails spend signal receipts mandates a2a audit\n# init: guardrail\n# mcp: serve install verify-config tools\n# config: get set unset list\n# keys: list create rotate revoke\n# intents: list get create fund evidence settlement-confirm\n# guardrails: bootstrap evidence\n# spend: authorize\n# signal: reputation portfolio fraud\n# receipts: get verify\n# mandates: verify import\n# a2a: card contracts\n# audit: exports\n# completion: bash zsh fish\n\n_paybond() {\n local -a commands\n commands=(\n 'onboarding' 'help' 'examples' 'completion' 'login' 'init' 'mcp' 'doctor' 'version' 'diagnose' 'config' 'whoami' 'keys' 'intents' 'guardrails' 'spend' 'signal' 'receipts' 'mandates' 'a2a' 'audit'\n )\n _arguments -C \\\n '(--gateway)--gateway[Gateway base URL]:url:' \\\n '(--env-file)--env-file[Local secrets file]:path:_files' \\\n '(--format)--format[Output format]:(table json)' \\\n '(--color)--color[Color mode]:(auto always never)' \\\n '--no-color[Disable color output]' \\\n '1: :->command' \\\n '*::arg:->args'\n\n case $state in\n command)\n _describe -t commands 'paybond commands' commands\n ;;\n args)\n case $words[1] in\n 'init:subcommand:(guardrail)'\n 'mcp:subcommand:(serve install verify-config tools)'\n 'config:subcommand:(get set unset list)'\n 'keys:subcommand:(list create rotate revoke)'\n 'intents:subcommand:(list get create fund evidence settlement-confirm)'\n 'guardrails:subcommand:(bootstrap evidence)'\n 'spend:subcommand:(authorize)'\n 'signal:subcommand:(reputation portfolio fraud)'\n 'receipts:subcommand:(get verify)'\n 'mandates:subcommand:(verify import)'\n 'a2a:subcommand:(card contracts)'\n 'audit:subcommand:(exports)'\n 'completion:subcommand:(bash zsh fish)'\n esac\n ;;\n esac\n}\n\ncompdef _paybond paybond\n",
|
|
329
|
-
"fish": "# Generated by kit/cli-parity/generate.mjs — do not edit by hand.\n# # top_level: onboarding help examples completion login init mcp doctor version diagnose config whoami keys intents guardrails spend signal receipts mandates a2a audit\n# init: guardrail\n# mcp: serve install verify-config tools\n# config: get set unset list\n# keys: list create rotate revoke\n# intents: list get create fund evidence settlement-confirm\n# guardrails: bootstrap evidence\n# spend: authorize\n# signal: reputation portfolio fraud\n# receipts: get verify\n# mandates: verify import\n# a2a: card contracts\n# audit: exports\n# completion: bash zsh fish\ncomplete -c paybond -f\ncomplete -c paybond -l gateway -d 'Gateway base URL'\ncomplete -c paybond -l env-file -d 'Local secrets file' -r\ncomplete -c paybond -l format -d 'Output format' -xa 'table json'\ncomplete -c paybond -l color -d 'Color mode' -xa 'auto always never'\ncomplete -c paybond -l no-color -d 'Disable color output'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'onboarding'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'help'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'examples'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'completion'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'login'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'init'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'mcp'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'doctor'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'version'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'diagnose'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'config'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'whoami'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'keys'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'intents'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'guardrails'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'spend'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'signal'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'receipts'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'mandates'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'a2a'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'audit'\ncomplete -c paybond -n '__fish_seen_subcommand_from init' -a 'guardrail'\ncomplete -c paybond -n '__fish_seen_subcommand_from mcp' -a 'serve'\ncomplete -c paybond -n '__fish_seen_subcommand_from mcp' -a 'install'\ncomplete -c paybond -n '__fish_seen_subcommand_from mcp' -a 'verify-config'\ncomplete -c paybond -n '__fish_seen_subcommand_from mcp' -a 'tools'\ncomplete -c paybond -n '__fish_seen_subcommand_from config' -a 'get'\ncomplete -c paybond -n '__fish_seen_subcommand_from config' -a 'set'\ncomplete -c paybond -n '__fish_seen_subcommand_from config' -a 'unset'\ncomplete -c paybond -n '__fish_seen_subcommand_from config' -a 'list'\ncomplete -c paybond -n '__fish_seen_subcommand_from keys' -a 'list'\ncomplete -c paybond -n '__fish_seen_subcommand_from keys' -a 'create'\ncomplete -c paybond -n '__fish_seen_subcommand_from keys' -a 'rotate'\ncomplete -c paybond -n '__fish_seen_subcommand_from keys' -a 'revoke'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'list'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'get'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'create'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'fund'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'evidence'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'settlement-confirm'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails' -a 'bootstrap'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails' -a 'evidence'\ncomplete -c paybond -n '__fish_seen_subcommand_from spend' -a 'authorize'\ncomplete -c paybond -n '__fish_seen_subcommand_from signal' -a 'reputation'\ncomplete -c paybond -n '__fish_seen_subcommand_from signal' -a 'portfolio'\ncomplete -c paybond -n '__fish_seen_subcommand_from signal' -a 'fraud'\ncomplete -c paybond -n '__fish_seen_subcommand_from receipts' -a 'get'\ncomplete -c paybond -n '__fish_seen_subcommand_from receipts' -a 'verify'\ncomplete -c paybond -n '__fish_seen_subcommand_from mandates' -a 'verify'\ncomplete -c paybond -n '__fish_seen_subcommand_from mandates' -a 'import'\ncomplete -c paybond -n '__fish_seen_subcommand_from a2a' -a 'card'\ncomplete -c paybond -n '__fish_seen_subcommand_from a2a' -a 'contracts'\ncomplete -c paybond -n '__fish_seen_subcommand_from audit' -a 'exports'\ncomplete -c paybond -n '__fish_seen_subcommand_from completion' -a 'bash'\ncomplete -c paybond -n '__fish_seen_subcommand_from completion' -a 'zsh'\ncomplete -c paybond -n '__fish_seen_subcommand_from completion' -a 'fish'\n"
|
|
608
|
+
"bash": "# Generated by kit/cli-parity/generate.mjs — do not edit by hand.\n# # top_level: onboarding help examples completion login init mcp doctor dev version diagnose config whoami keys intents guardrails spend signal receipts mandates a2a policy audit agent\n# init: guardrail completion agent-middleware\n# mcp: serve install verify-config tools\n# dev: smoke trace loop up\n# config: get set unset list\n# keys: list create rotate revoke\n# intents: list get create fund evidence settlement-confirm\n# guardrails: bootstrap evidence\n# spend: authorize\n# signal: reputation portfolio fraud\n# receipts: get verify\n# mandates: verify import\n# a2a: card contracts\n# policy: init validate-tools templates preview import-mcp-receipt import-x402-receipt validate-evidence\n# agent: run tool registry sandbox\n# audit: exports\n# completion: bash zsh fish\n# init completion preset: api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\n# policy preview preset: api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\n# guardrails bootstrap completion-preset: api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\n_paybond_completion() {\n local cur prev words cword\n COMPREPLY=()\n cur=\"${COMP_WORDS[COMP_CWORD]}\"\n prev=\"${COMP_WORDS[COMP_CWORD-1]}\"\n\n if [[ $COMP_CWORD -eq 1 ]]; then\n COMPREPLY=($(compgen -W \"onboarding help examples completion login init mcp doctor dev version diagnose config whoami keys intents guardrails spend signal receipts mandates a2a policy audit agent\" -- \"$cur\"))\n return 0\n fi\n\n case \"${COMP_WORDS[1]}\" in\n init) COMPREPLY=($(compgen -W \"guardrail completion agent-middleware\" -- \"$cur\")) ;;\n mcp) COMPREPLY=($(compgen -W \"serve install verify-config tools\" -- \"$cur\")) ;;\n dev) COMPREPLY=($(compgen -W \"smoke trace loop up\" -- \"$cur\")) ;;\n config) COMPREPLY=($(compgen -W \"get set unset list\" -- \"$cur\")) ;;\n keys) COMPREPLY=($(compgen -W \"list create rotate revoke\" -- \"$cur\")) ;;\n intents) COMPREPLY=($(compgen -W \"list get create fund evidence settlement-confirm\" -- \"$cur\")) ;;\n guardrails) COMPREPLY=($(compgen -W \"bootstrap evidence\" -- \"$cur\")) ;;\n spend) COMPREPLY=($(compgen -W \"authorize\" -- \"$cur\")) ;;\n signal) COMPREPLY=($(compgen -W \"reputation portfolio fraud\" -- \"$cur\")) ;;\n receipts) COMPREPLY=($(compgen -W \"get verify\" -- \"$cur\")) ;;\n mandates) COMPREPLY=($(compgen -W \"verify import\" -- \"$cur\")) ;;\n a2a) COMPREPLY=($(compgen -W \"card contracts\" -- \"$cur\")) ;;\n policy) COMPREPLY=($(compgen -W \"init validate-tools templates preview import-mcp-receipt import-x402-receipt validate-evidence\" -- \"$cur\")) ;;\n agent) COMPREPLY=($(compgen -W \"run tool registry sandbox\" -- \"$cur\")) ;;\n audit) COMPREPLY=($(compgen -W \"exports\" -- \"$cur\")) ;;\n completion) COMPREPLY=($(compgen -W \"bash zsh fish\" -- \"$cur\")) ;;\n init completion preset) COMPREPLY=($(compgen -W \"api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\" -- \"$cur\")) ;;\n policy preview preset) COMPREPLY=($(compgen -W \"api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\" -- \"$cur\")) ;;\n guardrails bootstrap completion-preset) COMPREPLY=($(compgen -W \"api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\" -- \"$cur\")) ;;\n *) ;;\n esac\n}\ncomplete -F _paybond_completion paybond\n",
|
|
609
|
+
"zsh": "#compdef paybond\n# Generated by kit/cli-parity/generate.mjs — do not edit by hand.\n# # top_level: onboarding help examples completion login init mcp doctor dev version diagnose config whoami keys intents guardrails spend signal receipts mandates a2a policy audit agent\n# init: guardrail completion agent-middleware\n# mcp: serve install verify-config tools\n# dev: smoke trace loop up\n# config: get set unset list\n# keys: list create rotate revoke\n# intents: list get create fund evidence settlement-confirm\n# guardrails: bootstrap evidence\n# spend: authorize\n# signal: reputation portfolio fraud\n# receipts: get verify\n# mandates: verify import\n# a2a: card contracts\n# policy: init validate-tools templates preview import-mcp-receipt import-x402-receipt validate-evidence\n# agent: run tool registry sandbox\n# audit: exports\n# completion: bash zsh fish\n# init completion preset: api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\n# policy preview preset: api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\n# guardrails bootstrap completion-preset: api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\n\n_paybond() {\n local -a commands\n commands=(\n 'onboarding' 'help' 'examples' 'completion' 'login' 'init' 'mcp' 'doctor' 'dev' 'version' 'diagnose' 'config' 'whoami' 'keys' 'intents' 'guardrails' 'spend' 'signal' 'receipts' 'mandates' 'a2a' 'policy' 'audit' 'agent'\n )\n _arguments -C \\\n '(--gateway)--gateway[Gateway base URL]:url:' \\\n '(--env-file)--env-file[Local secrets file]:path:_files' \\\n '(--format)--format[Output format]:(table json)' \\\n '(--color)--color[Color mode]:(auto always never)' \\\n '--no-color[Disable color output]' \\\n '1: :->command' \\\n '*::arg:->args'\n\n case $state in\n command)\n _describe -t commands 'paybond commands' commands\n ;;\n args)\n case $words[1] in\n 'init:subcommand:(guardrail completion agent-middleware)'\n 'mcp:subcommand:(serve install verify-config tools)'\n 'dev:subcommand:(smoke trace loop up)'\n 'config:subcommand:(get set unset list)'\n 'keys:subcommand:(list create rotate revoke)'\n 'intents:subcommand:(list get create fund evidence settlement-confirm)'\n 'guardrails:subcommand:(bootstrap evidence)'\n 'spend:subcommand:(authorize)'\n 'signal:subcommand:(reputation portfolio fraud)'\n 'receipts:subcommand:(get verify)'\n 'mandates:subcommand:(verify import)'\n 'a2a:subcommand:(card contracts)'\n 'policy:subcommand:(init validate-tools templates preview import-mcp-receipt import-x402-receipt validate-evidence)'\n 'agent:subcommand:(run tool registry sandbox)'\n 'audit:subcommand:(exports)'\n 'completion:subcommand:(bash zsh fish)'\n 'init completion preset:subcommand:(api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion)'\n 'policy preview preset:subcommand:(api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion)'\n 'guardrails bootstrap completion-preset:subcommand:(api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion)'\n esac\n ;;\n esac\n}\n\ncompdef _paybond paybond\n",
|
|
610
|
+
"fish": "# Generated by kit/cli-parity/generate.mjs — do not edit by hand.\n# # top_level: onboarding help examples completion login init mcp doctor dev version diagnose config whoami keys intents guardrails spend signal receipts mandates a2a policy audit agent\n# init: guardrail completion agent-middleware\n# mcp: serve install verify-config tools\n# dev: smoke trace loop up\n# config: get set unset list\n# keys: list create rotate revoke\n# intents: list get create fund evidence settlement-confirm\n# guardrails: bootstrap evidence\n# spend: authorize\n# signal: reputation portfolio fraud\n# receipts: get verify\n# mandates: verify import\n# a2a: card contracts\n# policy: init validate-tools templates preview import-mcp-receipt import-x402-receipt validate-evidence\n# agent: run tool registry sandbox\n# audit: exports\n# completion: bash zsh fish\n# init completion preset: api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\n# policy preview preset: api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\n# guardrails bootstrap completion-preset: api_response_ok webhook_confirmed artifact_attested cost_and_completion sandbox_permissive stripe_charge vendor_webhook_confirmed stripe_webhook_payment ach_paid_api_ok ach_travel_booking ach_vendor_webhook x402_paid_api_ok x402_delivery_receipt x402_cost_and_completion\ncomplete -c paybond -f\ncomplete -c paybond -l gateway -d 'Gateway base URL'\ncomplete -c paybond -l env-file -d 'Local secrets file' -r\ncomplete -c paybond -l format -d 'Output format' -xa 'table json'\ncomplete -c paybond -l color -d 'Color mode' -xa 'auto always never'\ncomplete -c paybond -l no-color -d 'Disable color output'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'onboarding'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'help'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'examples'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'completion'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'login'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'init'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'mcp'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'doctor'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'dev'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'version'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'diagnose'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'config'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'whoami'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'keys'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'intents'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'guardrails'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'spend'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'signal'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'receipts'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'mandates'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'a2a'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'policy'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'audit'\ncomplete -c paybond -n '__fish_use_subcommand' -a 'agent'\ncomplete -c paybond -n '__fish_seen_subcommand_from init' -a 'guardrail'\ncomplete -c paybond -n '__fish_seen_subcommand_from init' -a 'completion'\ncomplete -c paybond -n '__fish_seen_subcommand_from init' -a 'agent-middleware'\ncomplete -c paybond -n '__fish_seen_subcommand_from mcp' -a 'serve'\ncomplete -c paybond -n '__fish_seen_subcommand_from mcp' -a 'install'\ncomplete -c paybond -n '__fish_seen_subcommand_from mcp' -a 'verify-config'\ncomplete -c paybond -n '__fish_seen_subcommand_from mcp' -a 'tools'\ncomplete -c paybond -n '__fish_seen_subcommand_from dev' -a 'smoke'\ncomplete -c paybond -n '__fish_seen_subcommand_from dev' -a 'trace'\ncomplete -c paybond -n '__fish_seen_subcommand_from dev' -a 'loop'\ncomplete -c paybond -n '__fish_seen_subcommand_from dev' -a 'up'\ncomplete -c paybond -n '__fish_seen_subcommand_from config' -a 'get'\ncomplete -c paybond -n '__fish_seen_subcommand_from config' -a 'set'\ncomplete -c paybond -n '__fish_seen_subcommand_from config' -a 'unset'\ncomplete -c paybond -n '__fish_seen_subcommand_from config' -a 'list'\ncomplete -c paybond -n '__fish_seen_subcommand_from keys' -a 'list'\ncomplete -c paybond -n '__fish_seen_subcommand_from keys' -a 'create'\ncomplete -c paybond -n '__fish_seen_subcommand_from keys' -a 'rotate'\ncomplete -c paybond -n '__fish_seen_subcommand_from keys' -a 'revoke'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'list'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'get'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'create'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'fund'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'evidence'\ncomplete -c paybond -n '__fish_seen_subcommand_from intents' -a 'settlement-confirm'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails' -a 'bootstrap'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails' -a 'evidence'\ncomplete -c paybond -n '__fish_seen_subcommand_from spend' -a 'authorize'\ncomplete -c paybond -n '__fish_seen_subcommand_from signal' -a 'reputation'\ncomplete -c paybond -n '__fish_seen_subcommand_from signal' -a 'portfolio'\ncomplete -c paybond -n '__fish_seen_subcommand_from signal' -a 'fraud'\ncomplete -c paybond -n '__fish_seen_subcommand_from receipts' -a 'get'\ncomplete -c paybond -n '__fish_seen_subcommand_from receipts' -a 'verify'\ncomplete -c paybond -n '__fish_seen_subcommand_from mandates' -a 'verify'\ncomplete -c paybond -n '__fish_seen_subcommand_from mandates' -a 'import'\ncomplete -c paybond -n '__fish_seen_subcommand_from a2a' -a 'card'\ncomplete -c paybond -n '__fish_seen_subcommand_from a2a' -a 'contracts'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy' -a 'init'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy' -a 'validate-tools'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy' -a 'templates'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy' -a 'preview'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy' -a 'import-mcp-receipt'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy' -a 'import-x402-receipt'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy' -a 'validate-evidence'\ncomplete -c paybond -n '__fish_seen_subcommand_from agent' -a 'run'\ncomplete -c paybond -n '__fish_seen_subcommand_from agent' -a 'tool'\ncomplete -c paybond -n '__fish_seen_subcommand_from agent' -a 'registry'\ncomplete -c paybond -n '__fish_seen_subcommand_from agent' -a 'sandbox'\ncomplete -c paybond -n '__fish_seen_subcommand_from audit' -a 'exports'\ncomplete -c paybond -n '__fish_seen_subcommand_from completion' -a 'bash'\ncomplete -c paybond -n '__fish_seen_subcommand_from completion' -a 'zsh'\ncomplete -c paybond -n '__fish_seen_subcommand_from completion' -a 'fish'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'api_response_ok'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'webhook_confirmed'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'artifact_attested'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'cost_and_completion'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'sandbox_permissive'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'stripe_charge'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'vendor_webhook_confirmed'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'stripe_webhook_payment'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'ach_paid_api_ok'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'ach_travel_booking'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'ach_vendor_webhook'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'x402_paid_api_ok'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'x402_delivery_receipt'\ncomplete -c paybond -n '__fish_seen_subcommand_from init completion preset' -a 'x402_cost_and_completion'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'api_response_ok'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'webhook_confirmed'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'artifact_attested'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'cost_and_completion'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'sandbox_permissive'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'stripe_charge'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'vendor_webhook_confirmed'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'stripe_webhook_payment'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'ach_paid_api_ok'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'ach_travel_booking'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'ach_vendor_webhook'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'x402_paid_api_ok'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'x402_delivery_receipt'\ncomplete -c paybond -n '__fish_seen_subcommand_from policy preview preset' -a 'x402_cost_and_completion'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'api_response_ok'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'webhook_confirmed'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'artifact_attested'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'cost_and_completion'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'sandbox_permissive'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'stripe_charge'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'vendor_webhook_confirmed'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'stripe_webhook_payment'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'ach_paid_api_ok'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'ach_travel_booking'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'ach_vendor_webhook'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'x402_paid_api_ok'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'x402_delivery_receipt'\ncomplete -c paybond -n '__fish_seen_subcommand_from guardrails bootstrap completion-preset' -a 'x402_cost_and_completion'\n"
|
|
330
611
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { CliContext } from "../context.js";
|
|
2
|
+
import { type CommandResult } from "../types.js";
|
|
3
|
+
export declare function handleAgentRunBind(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
4
|
+
export declare function handleAgentRunStatus(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
5
|
+
export declare function handleAgentRunTrace(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
6
|
+
export declare function handleAgentRunReloadPolicy(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
7
|
+
export declare function handleAgentToolExecute(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
8
|
+
export declare function handleAgentToolValidate(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
9
|
+
export declare function handleAgentRegistryValidate(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
10
|
+
export declare function handleAgentSandboxSmoke(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
11
|
+
export declare function handleAgentDemoVercelAiSmoke(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
12
|
+
export declare function handleAgentDemoLanggraphSmoke(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
13
|
+
export declare function handleAgentDemoGenericSmoke(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
14
|
+
export declare function handleAgentDemoClaudeAgentsSmoke(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
15
|
+
export declare function handleAgentDemoOpenAIAgentsSmoke(ctx: CliContext, argv: string[]): Promise<CommandResult>;
|
|
16
|
+
export declare function handleAgent(ctx: CliContext, group: string, subcommand: string, argv: string[]): Promise<CommandResult>;
|