agentic-payments 0.1.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/README.md +924 -0
- package/bin/cli.js +18 -0
- package/bin/mcp.js +10 -0
- package/completions/agentic-payments.bash +21 -0
- package/completions/agentic-payments.fish +9 -0
- package/completions/agentic-payments.zsh +17 -0
- package/completions/bash.sh +182 -0
- package/completions/fish.fish +110 -0
- package/completions/zsh.sh +175 -0
- package/dist/active-mandate/i18n.d.ts +27 -0
- package/dist/active-mandate/i18n.d.ts.map +1 -0
- package/dist/active-mandate/i18n.js +35 -0
- package/dist/active-mandate/i18n.js.map +1 -0
- package/dist/active-mandate/index.d.ts +26 -0
- package/dist/active-mandate/index.d.ts.map +1 -0
- package/dist/active-mandate/index.js +51 -0
- package/dist/active-mandate/index.js.map +1 -0
- package/dist/active-mandate/revocation.d.ts +11 -0
- package/dist/active-mandate/revocation.d.ts.map +1 -0
- package/dist/active-mandate/revocation.js +27 -0
- package/dist/active-mandate/revocation.js.map +1 -0
- package/dist/active-mandate/schema.d.ts +85 -0
- package/dist/active-mandate/schema.d.ts.map +1 -0
- package/dist/active-mandate/schema.js +36 -0
- package/dist/active-mandate/schema.js.map +1 -0
- package/dist/active-mandate/signing.d.ts +8 -0
- package/dist/active-mandate/signing.d.ts.map +1 -0
- package/dist/active-mandate/signing.js +64 -0
- package/dist/active-mandate/signing.js.map +1 -0
- package/dist/active-mandate/types.d.ts +59 -0
- package/dist/active-mandate/types.d.ts.map +1 -0
- package/dist/active-mandate/types.js +6 -0
- package/dist/active-mandate/types.js.map +1 -0
- package/dist/cli/commands/active-mandate.d.ts +4 -0
- package/dist/cli/commands/active-mandate.d.ts.map +1 -0
- package/dist/cli/commands/active-mandate.js +218 -0
- package/dist/cli/commands/active-mandate.js.map +1 -0
- package/dist/cli/commands/generate.d.ts +3 -0
- package/dist/cli/commands/generate.d.ts.map +1 -0
- package/dist/cli/commands/generate.js +59 -0
- package/dist/cli/commands/generate.js.map +1 -0
- package/dist/cli/commands/mandate.d.ts +4 -0
- package/dist/cli/commands/mandate.d.ts.map +1 -0
- package/dist/cli/commands/mandate.js +223 -0
- package/dist/cli/commands/mandate.js.map +1 -0
- package/dist/cli/commands/system.d.ts +4 -0
- package/dist/cli/commands/system.d.ts.map +1 -0
- package/dist/cli/commands/system.js +101 -0
- package/dist/cli/commands/system.js.map +1 -0
- package/dist/cli/commands/verify.d.ts +3 -0
- package/dist/cli/commands/verify.d.ts.map +1 -0
- package/dist/cli/commands/verify.js +104 -0
- package/dist/cli/commands/verify.js.map +1 -0
- package/dist/cli/completion.d.ts +3 -0
- package/dist/cli/completion.d.ts.map +1 -0
- package/dist/cli/completion.js +245 -0
- package/dist/cli/completion.js.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +79 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/errors.d.ts +58 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +100 -0
- package/dist/errors.js.map +1 -0
- package/dist/identity.d.ts +78 -0
- package/dist/identity.d.ts.map +1 -0
- package/dist/identity.js +204 -0
- package/dist/identity.js.map +1 -0
- package/dist/index.d.ts +68 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +79 -0
- package/dist/index.js.map +1 -0
- package/dist/mandate.d.ts +134 -0
- package/dist/mandate.d.ts.map +1 -0
- package/dist/mandate.js +342 -0
- package/dist/mandate.js.map +1 -0
- package/dist/mcp/index.d.ts +7 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +102 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/server.d.ts +38 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +126 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools/agent.d.ts +9 -0
- package/dist/mcp/tools/agent.d.ts.map +1 -0
- package/dist/mcp/tools/agent.js +34 -0
- package/dist/mcp/tools/agent.js.map +1 -0
- package/dist/mcp/tools/consensus.d.ts +9 -0
- package/dist/mcp/tools/consensus.d.ts.map +1 -0
- package/dist/mcp/tools/consensus.js +38 -0
- package/dist/mcp/tools/consensus.js.map +1 -0
- package/dist/mcp/tools/index.d.ts +45 -0
- package/dist/mcp/tools/index.d.ts.map +1 -0
- package/dist/mcp/tools/index.js +282 -0
- package/dist/mcp/tools/index.js.map +1 -0
- package/dist/mcp/tools/mandate.d.ts +31 -0
- package/dist/mcp/tools/mandate.d.ts.map +1 -0
- package/dist/mcp/tools/mandate.js +165 -0
- package/dist/mcp/tools/mandate.js.map +1 -0
- package/dist/mcp/tools/payment.d.ts +13 -0
- package/dist/mcp/tools/payment.d.ts.map +1 -0
- package/dist/mcp/tools/payment.js +66 -0
- package/dist/mcp/tools/payment.js.map +1 -0
- package/dist/mcp/tools/types.d.ts +63 -0
- package/dist/mcp/tools/types.d.ts.map +1 -0
- package/dist/mcp/tools/types.js +5 -0
- package/dist/mcp/tools/types.js.map +1 -0
- package/dist/mcp/transports/http.d.ts +52 -0
- package/dist/mcp/transports/http.d.ts.map +1 -0
- package/dist/mcp/transports/http.js +234 -0
- package/dist/mcp/transports/http.js.map +1 -0
- package/dist/types.d.ts +238 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +7 -0
- package/dist/types.js.map +1 -0
- package/dist/verification.d.ts +140 -0
- package/dist/verification.d.ts.map +1 -0
- package/dist/verification.js +285 -0
- package/dist/verification.js.map +1 -0
- package/package.json +175 -0
package/bin/cli.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Agentic Payments CLI
|
|
5
|
+
* Command-line interface for AP2 and ACP operations
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
console.log('Agentic Payments CLI - Coming soon!');
|
|
9
|
+
console.log('Usage: agentic-payments <command> [options]');
|
|
10
|
+
console.log('');
|
|
11
|
+
console.log('Commands:');
|
|
12
|
+
console.log(' generate-key Generate new Ed25519 keypair');
|
|
13
|
+
console.log(' verify-signature Verify Ed25519 signature');
|
|
14
|
+
console.log(' create-mandate Create AP2 intent mandate');
|
|
15
|
+
console.log(' checkout Create ACP checkout session');
|
|
16
|
+
console.log(' webhook-verify Verify ACP webhook signature');
|
|
17
|
+
console.log('');
|
|
18
|
+
console.log('Run: agentic-payments <command> --help for more information');
|
package/bin/mcp.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Bash completion for agentic-payments CLI
|
|
3
|
+
|
|
4
|
+
_agentic_payments_completions() {
|
|
5
|
+
local cur prev commands
|
|
6
|
+
COMPREPLY=()
|
|
7
|
+
cur="${COMP_WORDS[COMP_CWORD]}"
|
|
8
|
+
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
|
9
|
+
commands="generate-key verify-signature create-mandate checkout webhook-verify"
|
|
10
|
+
|
|
11
|
+
case "${prev}" in
|
|
12
|
+
agentic-payments)
|
|
13
|
+
COMPREPLY=( $(compgen -W "${commands}" -- ${cur}) )
|
|
14
|
+
return 0
|
|
15
|
+
;;
|
|
16
|
+
*)
|
|
17
|
+
;;
|
|
18
|
+
esac
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
complete -F _agentic_payments_completions agentic-payments
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Fish completion for agentic-payments CLI
|
|
2
|
+
|
|
3
|
+
complete -c agentic-payments -f
|
|
4
|
+
|
|
5
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a generate-key -d "Generate new Ed25519 keypair"
|
|
6
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a verify-signature -d "Verify Ed25519 signature"
|
|
7
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a create-mandate -d "Create AP2 intent mandate"
|
|
8
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a checkout -d "Create ACP checkout session"
|
|
9
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a webhook-verify -d "Verify ACP webhook signature"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#compdef agentic-payments
|
|
2
|
+
# Zsh completion for agentic-payments CLI
|
|
3
|
+
|
|
4
|
+
_agentic_payments() {
|
|
5
|
+
local -a commands
|
|
6
|
+
commands=(
|
|
7
|
+
'generate-key:Generate new Ed25519 keypair'
|
|
8
|
+
'verify-signature:Verify Ed25519 signature'
|
|
9
|
+
'create-mandate:Create AP2 intent mandate'
|
|
10
|
+
'checkout:Create ACP checkout session'
|
|
11
|
+
'webhook-verify:Verify ACP webhook signature'
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
_describe 'command' commands
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
_agentic_payments "$@"
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Bash completion script for agentic-payments
|
|
3
|
+
|
|
4
|
+
_agentic_payments_completion() {
|
|
5
|
+
local cur prev opts base
|
|
6
|
+
COMPREPLY=()
|
|
7
|
+
cur="${COMP_WORDS[COMP_CWORD]}"
|
|
8
|
+
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
|
9
|
+
|
|
10
|
+
# Root command options
|
|
11
|
+
opts="generate gen verify mandate system sys completion --help --version --debug --no-color"
|
|
12
|
+
|
|
13
|
+
# Handle subcommands
|
|
14
|
+
case "${COMP_CWORD}" in
|
|
15
|
+
1)
|
|
16
|
+
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
17
|
+
return 0
|
|
18
|
+
;;
|
|
19
|
+
*)
|
|
20
|
+
case "${COMP_WORDS[1]}" in
|
|
21
|
+
generate|gen)
|
|
22
|
+
case "${prev}" in
|
|
23
|
+
--format|-f)
|
|
24
|
+
COMPREPLY=( $(compgen -W "json hex pem" -- ${cur}) )
|
|
25
|
+
return 0
|
|
26
|
+
;;
|
|
27
|
+
--output|-o)
|
|
28
|
+
COMPREPLY=( $(compgen -f -- ${cur}) )
|
|
29
|
+
return 0
|
|
30
|
+
;;
|
|
31
|
+
*)
|
|
32
|
+
opts="--format --output --seed --help"
|
|
33
|
+
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
34
|
+
return 0
|
|
35
|
+
;;
|
|
36
|
+
esac
|
|
37
|
+
;;
|
|
38
|
+
verify)
|
|
39
|
+
case "${prev}" in
|
|
40
|
+
--format|-f)
|
|
41
|
+
COMPREPLY=( $(compgen -W "json hex pem" -- ${cur}) )
|
|
42
|
+
return 0
|
|
43
|
+
;;
|
|
44
|
+
--data|-d)
|
|
45
|
+
COMPREPLY=( $(compgen -f -- ${cur}) )
|
|
46
|
+
return 0
|
|
47
|
+
;;
|
|
48
|
+
--currency|-c)
|
|
49
|
+
COMPREPLY=( $(compgen -W "USD EUR GBP JPY AUD CAD CHF CNY" -- ${cur}) )
|
|
50
|
+
return 0
|
|
51
|
+
;;
|
|
52
|
+
*)
|
|
53
|
+
opts="--amount --currency --agents --threshold --data --verbose --byzantine --help"
|
|
54
|
+
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
55
|
+
return 0
|
|
56
|
+
;;
|
|
57
|
+
esac
|
|
58
|
+
;;
|
|
59
|
+
mandate)
|
|
60
|
+
case "${COMP_CWORD}" in
|
|
61
|
+
2)
|
|
62
|
+
COMPREPLY=( $(compgen -W "create validate sign --help" -- ${cur}) )
|
|
63
|
+
return 0
|
|
64
|
+
;;
|
|
65
|
+
*)
|
|
66
|
+
case "${COMP_WORDS[2]}" in
|
|
67
|
+
create)
|
|
68
|
+
case "${COMP_CWORD}" in
|
|
69
|
+
3)
|
|
70
|
+
COMPREPLY=( $(compgen -W "intent cart payment" -- ${cur}) )
|
|
71
|
+
return 0
|
|
72
|
+
;;
|
|
73
|
+
*)
|
|
74
|
+
case "${prev}" in
|
|
75
|
+
--file|-f|--output|-o)
|
|
76
|
+
COMPREPLY=( $(compgen -f -- ${cur}) )
|
|
77
|
+
return 0
|
|
78
|
+
;;
|
|
79
|
+
*)
|
|
80
|
+
opts="--data --file --output --help"
|
|
81
|
+
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
82
|
+
return 0
|
|
83
|
+
;;
|
|
84
|
+
esac
|
|
85
|
+
;;
|
|
86
|
+
esac
|
|
87
|
+
;;
|
|
88
|
+
validate|sign)
|
|
89
|
+
case "${prev}" in
|
|
90
|
+
--file|-f|--output|-o)
|
|
91
|
+
COMPREPLY=( $(compgen -f -- ${cur}) )
|
|
92
|
+
return 0
|
|
93
|
+
;;
|
|
94
|
+
*)
|
|
95
|
+
opts="--file --data --key --output --help"
|
|
96
|
+
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
97
|
+
return 0
|
|
98
|
+
;;
|
|
99
|
+
esac
|
|
100
|
+
;;
|
|
101
|
+
esac
|
|
102
|
+
;;
|
|
103
|
+
esac
|
|
104
|
+
;;
|
|
105
|
+
system|sys)
|
|
106
|
+
case "${COMP_CWORD}" in
|
|
107
|
+
2)
|
|
108
|
+
COMPREPLY=( $(compgen -W "start stop status metrics --help" -- ${cur}) )
|
|
109
|
+
return 0
|
|
110
|
+
;;
|
|
111
|
+
*)
|
|
112
|
+
case "${COMP_WORDS[2]}" in
|
|
113
|
+
start)
|
|
114
|
+
opts="--agents --port --daemon --help"
|
|
115
|
+
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
116
|
+
return 0
|
|
117
|
+
;;
|
|
118
|
+
stop)
|
|
119
|
+
opts="--force --help"
|
|
120
|
+
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
121
|
+
return 0
|
|
122
|
+
;;
|
|
123
|
+
status)
|
|
124
|
+
opts="--watch --help"
|
|
125
|
+
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
126
|
+
return 0
|
|
127
|
+
;;
|
|
128
|
+
metrics)
|
|
129
|
+
case "${prev}" in
|
|
130
|
+
--format|-f)
|
|
131
|
+
COMPREPLY=( $(compgen -W "table json prometheus" -- ${cur}) )
|
|
132
|
+
return 0
|
|
133
|
+
;;
|
|
134
|
+
*)
|
|
135
|
+
opts="--format --help"
|
|
136
|
+
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
137
|
+
return 0
|
|
138
|
+
;;
|
|
139
|
+
esac
|
|
140
|
+
;;
|
|
141
|
+
esac
|
|
142
|
+
;;
|
|
143
|
+
esac
|
|
144
|
+
;;
|
|
145
|
+
completion)
|
|
146
|
+
case "${COMP_CWORD}" in
|
|
147
|
+
2)
|
|
148
|
+
COMPREPLY=( $(compgen -W "install uninstall generate --help" -- ${cur}) )
|
|
149
|
+
return 0
|
|
150
|
+
;;
|
|
151
|
+
*)
|
|
152
|
+
case "${COMP_WORDS[2]}" in
|
|
153
|
+
install|uninstall)
|
|
154
|
+
case "${prev}" in
|
|
155
|
+
--shell|-s)
|
|
156
|
+
COMPREPLY=( $(compgen -W "bash zsh fish" -- ${cur}) )
|
|
157
|
+
return 0
|
|
158
|
+
;;
|
|
159
|
+
*)
|
|
160
|
+
opts="--shell --dry-run --help"
|
|
161
|
+
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
162
|
+
return 0
|
|
163
|
+
;;
|
|
164
|
+
esac
|
|
165
|
+
;;
|
|
166
|
+
generate)
|
|
167
|
+
if [[ ${COMP_CWORD} -eq 3 ]]; then
|
|
168
|
+
COMPREPLY=( $(compgen -W "bash zsh fish" -- ${cur}) )
|
|
169
|
+
return 0
|
|
170
|
+
fi
|
|
171
|
+
;;
|
|
172
|
+
esac
|
|
173
|
+
;;
|
|
174
|
+
esac
|
|
175
|
+
;;
|
|
176
|
+
esac
|
|
177
|
+
;;
|
|
178
|
+
esac
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
# Register completion function
|
|
182
|
+
complete -F _agentic_payments_completion agentic-payments
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# Fish completion script for agentic-payments
|
|
2
|
+
|
|
3
|
+
# Disable file completion by default
|
|
4
|
+
complete -c agentic-payments -f
|
|
5
|
+
|
|
6
|
+
# Root commands
|
|
7
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a "generate" -d "Generate agent identity"
|
|
8
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a "gen" -d "Alias for generate"
|
|
9
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a "verify" -d "Verify payment with consensus"
|
|
10
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a "mandate" -d "Manage payment mandates"
|
|
11
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a "system" -d "System management"
|
|
12
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a "sys" -d "Alias for system"
|
|
13
|
+
complete -c agentic-payments -n "__fish_use_subcommand" -a "completion" -d "Shell completions"
|
|
14
|
+
|
|
15
|
+
# Global options
|
|
16
|
+
complete -c agentic-payments -l help -d "Display help"
|
|
17
|
+
complete -c agentic-payments -s h -d "Display help"
|
|
18
|
+
complete -c agentic-payments -l version -d "Display version"
|
|
19
|
+
complete -c agentic-payments -s v -d "Display version"
|
|
20
|
+
complete -c agentic-payments -l debug -d "Enable debug output"
|
|
21
|
+
complete -c agentic-payments -l no-color -d "Disable colored output"
|
|
22
|
+
|
|
23
|
+
# Generate command
|
|
24
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from generate gen" -l format -d "Output format" -a "json hex pem"
|
|
25
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from generate gen" -s f -d "Output format" -a "json hex pem"
|
|
26
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from generate gen" -l output -d "Output file" -r
|
|
27
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from generate gen" -s o -d "Output file" -r
|
|
28
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from generate gen" -l seed -d "Generation seed"
|
|
29
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from generate gen" -l help -d "Display help"
|
|
30
|
+
|
|
31
|
+
# Verify command
|
|
32
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -l amount -d "Payment amount"
|
|
33
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -s a -d "Payment amount"
|
|
34
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -l currency -d "Currency code" -a "USD EUR GBP JPY AUD CAD CHF CNY"
|
|
35
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -s c -d "Currency code" -a "USD EUR GBP JPY AUD CAD CHF CNY"
|
|
36
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -l agents -d "Number of agents"
|
|
37
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -s n -d "Number of agents"
|
|
38
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -l threshold -d "Consensus threshold"
|
|
39
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -s t -d "Consensus threshold"
|
|
40
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -l data -d "Data file" -r
|
|
41
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -s d -d "Data file" -r
|
|
42
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -l verbose -d "Show agent votes"
|
|
43
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -s v -d "Show agent votes"
|
|
44
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -l byzantine -d "Byzantine fault tolerance"
|
|
45
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from verify" -l help -d "Display help"
|
|
46
|
+
|
|
47
|
+
# Mandate command
|
|
48
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and not __fish_seen_subcommand_from create validate sign" -a "create" -d "Create mandate"
|
|
49
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and not __fish_seen_subcommand_from create validate sign" -a "validate" -d "Validate mandate"
|
|
50
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and not __fish_seen_subcommand_from create validate sign" -a "sign" -d "Sign mandate"
|
|
51
|
+
|
|
52
|
+
# Mandate create
|
|
53
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from create" -a "intent cart payment" -d "Mandate type"
|
|
54
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from create" -l data -d "Mandate data"
|
|
55
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from create" -s d -d "Mandate data"
|
|
56
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from create" -l file -d "Data file" -r
|
|
57
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from create" -s f -d "Data file" -r
|
|
58
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from create" -l output -d "Output file" -r
|
|
59
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from create" -s o -d "Output file" -r
|
|
60
|
+
|
|
61
|
+
# Mandate validate
|
|
62
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from validate" -l file -d "Mandate file" -r
|
|
63
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from validate" -s f -d "Mandate file" -r
|
|
64
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from validate" -l data -d "Mandate data"
|
|
65
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from validate" -s d -d "Mandate data"
|
|
66
|
+
|
|
67
|
+
# Mandate sign
|
|
68
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from sign" -l file -d "Mandate file" -r
|
|
69
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from sign" -s f -d "Mandate file" -r
|
|
70
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from sign" -l key -d "Private key"
|
|
71
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from sign" -s k -d "Private key"
|
|
72
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from sign" -l output -d "Output file" -r
|
|
73
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from mandate; and __fish_seen_subcommand_from sign" -s o -d "Output file" -r
|
|
74
|
+
|
|
75
|
+
# System command
|
|
76
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and not __fish_seen_subcommand_from start stop status metrics" -a "start" -d "Start system"
|
|
77
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and not __fish_seen_subcommand_from start stop status metrics" -a "stop" -d "Stop system"
|
|
78
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and not __fish_seen_subcommand_from start stop status metrics" -a "status" -d "Show status"
|
|
79
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and not __fish_seen_subcommand_from start stop status metrics" -a "metrics" -d "Show metrics"
|
|
80
|
+
|
|
81
|
+
# System start
|
|
82
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and __fish_seen_subcommand_from start" -l agents -d "Number of agents"
|
|
83
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and __fish_seen_subcommand_from start" -s a -d "Number of agents"
|
|
84
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and __fish_seen_subcommand_from start" -l port -d "API port"
|
|
85
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and __fish_seen_subcommand_from start" -s p -d "API port"
|
|
86
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and __fish_seen_subcommand_from start" -l daemon -d "Run as daemon"
|
|
87
|
+
|
|
88
|
+
# System stop
|
|
89
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and __fish_seen_subcommand_from stop" -l force -d "Force stop"
|
|
90
|
+
|
|
91
|
+
# System status
|
|
92
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and __fish_seen_subcommand_from status" -l watch -d "Watch mode"
|
|
93
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and __fish_seen_subcommand_from status" -s w -d "Watch mode"
|
|
94
|
+
|
|
95
|
+
# System metrics
|
|
96
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and __fish_seen_subcommand_from metrics" -l format -d "Output format" -a "table json prometheus"
|
|
97
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from system sys; and __fish_seen_subcommand_from metrics" -s f -d "Output format" -a "table json prometheus"
|
|
98
|
+
|
|
99
|
+
# Completion command
|
|
100
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from completion; and not __fish_seen_subcommand_from install uninstall generate" -a "install" -d "Install completions"
|
|
101
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from completion; and not __fish_seen_subcommand_from install uninstall generate" -a "uninstall" -d "Remove completions"
|
|
102
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from completion; and not __fish_seen_subcommand_from install uninstall generate" -a "generate" -d "Generate completion script"
|
|
103
|
+
|
|
104
|
+
# Completion install/uninstall
|
|
105
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from completion; and __fish_seen_subcommand_from install uninstall" -l shell -d "Target shell" -a "bash zsh fish"
|
|
106
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from completion; and __fish_seen_subcommand_from install uninstall" -s s -d "Target shell" -a "bash zsh fish"
|
|
107
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from completion; and __fish_seen_subcommand_from install" -l dry-run -d "Show without changes"
|
|
108
|
+
|
|
109
|
+
# Completion generate
|
|
110
|
+
complete -c agentic-payments -n "__fish_seen_subcommand_from completion; and __fish_seen_subcommand_from generate" -a "bash zsh fish" -d "Shell type"
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
#compdef agentic-payments
|
|
2
|
+
# Zsh completion script for agentic-payments
|
|
3
|
+
|
|
4
|
+
_agentic_payments() {
|
|
5
|
+
local -a commands
|
|
6
|
+
local -a generate_opts verify_opts mandate_cmds system_cmds completion_cmds
|
|
7
|
+
|
|
8
|
+
commands=(
|
|
9
|
+
'generate:Generate a new agent identity with cryptographic keys'
|
|
10
|
+
'gen:Alias for generate'
|
|
11
|
+
'verify:Verify a payment using multi-agent consensus'
|
|
12
|
+
'mandate:Create, validate, and sign payment mandates'
|
|
13
|
+
'system:System management and monitoring'
|
|
14
|
+
'sys:Alias for system'
|
|
15
|
+
'completion:Manage shell completions'
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
generate_opts=(
|
|
19
|
+
'--format[Output format]:format:(json hex pem)'
|
|
20
|
+
'--output[Write to file]:file:_files'
|
|
21
|
+
'--seed[Seed for deterministic generation]:seed:'
|
|
22
|
+
'--help[Display help]'
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
verify_opts=(
|
|
26
|
+
'--amount[Payment amount]:amount:'
|
|
27
|
+
'--currency[Currency code]:currency:(USD EUR GBP JPY AUD CAD CHF CNY)'
|
|
28
|
+
'--agents[Number of agents]:count:'
|
|
29
|
+
'--threshold[Consensus threshold]:threshold:'
|
|
30
|
+
'--data[Load from file]:file:_files'
|
|
31
|
+
'--verbose[Show individual agent votes]'
|
|
32
|
+
'--byzantine[Enable Byzantine fault tolerance]'
|
|
33
|
+
'--help[Display help]'
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
mandate_cmds=(
|
|
37
|
+
'create:Create a new mandate'
|
|
38
|
+
'validate:Validate a mandate'
|
|
39
|
+
'sign:Sign a mandate with agent credentials'
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
system_cmds=(
|
|
43
|
+
'start:Start the Agentic Payments system'
|
|
44
|
+
'stop:Stop the Agentic Payments system'
|
|
45
|
+
'status:Display system status and health'
|
|
46
|
+
'metrics:Display detailed performance metrics'
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
completion_cmds=(
|
|
50
|
+
'install:Install shell completions'
|
|
51
|
+
'uninstall:Remove shell completions'
|
|
52
|
+
'generate:Generate completion script'
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
_arguments -C \
|
|
56
|
+
'(--help -h)'{--help,-h}'[Display help]' \
|
|
57
|
+
'(--version -v)'{--version,-v}'[Display version]' \
|
|
58
|
+
'--debug[Enable debug output]' \
|
|
59
|
+
'--no-color[Disable colored output]' \
|
|
60
|
+
'1: :->command' \
|
|
61
|
+
'*::arg:->args'
|
|
62
|
+
|
|
63
|
+
case $state in
|
|
64
|
+
command)
|
|
65
|
+
_describe 'command' commands
|
|
66
|
+
;;
|
|
67
|
+
args)
|
|
68
|
+
case $words[1] in
|
|
69
|
+
generate|gen)
|
|
70
|
+
_arguments $generate_opts
|
|
71
|
+
;;
|
|
72
|
+
verify)
|
|
73
|
+
_arguments $verify_opts
|
|
74
|
+
;;
|
|
75
|
+
mandate)
|
|
76
|
+
case $CURRENT in
|
|
77
|
+
2)
|
|
78
|
+
_describe 'mandate command' mandate_cmds
|
|
79
|
+
;;
|
|
80
|
+
*)
|
|
81
|
+
case $words[2] in
|
|
82
|
+
create)
|
|
83
|
+
case $CURRENT in
|
|
84
|
+
3)
|
|
85
|
+
_values 'mandate type' 'intent' 'cart' 'payment'
|
|
86
|
+
;;
|
|
87
|
+
*)
|
|
88
|
+
_arguments \
|
|
89
|
+
'--data[Mandate data]:json:' \
|
|
90
|
+
'--file[Load from file]:file:_files' \
|
|
91
|
+
'--output[Save to file]:file:_files' \
|
|
92
|
+
'--help[Display help]'
|
|
93
|
+
;;
|
|
94
|
+
esac
|
|
95
|
+
;;
|
|
96
|
+
validate)
|
|
97
|
+
_arguments \
|
|
98
|
+
'--file[Mandate file]:file:_files' \
|
|
99
|
+
'--data[Mandate data]:json:' \
|
|
100
|
+
'--help[Display help]'
|
|
101
|
+
;;
|
|
102
|
+
sign)
|
|
103
|
+
_arguments \
|
|
104
|
+
'--file[Mandate file]:file:_files' \
|
|
105
|
+
'--key[Private key]:hex:' \
|
|
106
|
+
'--output[Save to file]:file:_files' \
|
|
107
|
+
'--help[Display help]'
|
|
108
|
+
;;
|
|
109
|
+
esac
|
|
110
|
+
;;
|
|
111
|
+
esac
|
|
112
|
+
;;
|
|
113
|
+
system|sys)
|
|
114
|
+
case $CURRENT in
|
|
115
|
+
2)
|
|
116
|
+
_describe 'system command' system_cmds
|
|
117
|
+
;;
|
|
118
|
+
*)
|
|
119
|
+
case $words[2] in
|
|
120
|
+
start)
|
|
121
|
+
_arguments \
|
|
122
|
+
'--agents[Number of agents]:count:' \
|
|
123
|
+
'--port[API port]:port:' \
|
|
124
|
+
'--daemon[Run as daemon]' \
|
|
125
|
+
'--help[Display help]'
|
|
126
|
+
;;
|
|
127
|
+
stop)
|
|
128
|
+
_arguments \
|
|
129
|
+
'--force[Force stop]' \
|
|
130
|
+
'--help[Display help]'
|
|
131
|
+
;;
|
|
132
|
+
status)
|
|
133
|
+
_arguments \
|
|
134
|
+
'--watch[Watch mode]' \
|
|
135
|
+
'--help[Display help]'
|
|
136
|
+
;;
|
|
137
|
+
metrics)
|
|
138
|
+
_arguments \
|
|
139
|
+
'--format[Output format]:format:(table json prometheus)' \
|
|
140
|
+
'--help[Display help]'
|
|
141
|
+
;;
|
|
142
|
+
esac
|
|
143
|
+
;;
|
|
144
|
+
esac
|
|
145
|
+
;;
|
|
146
|
+
completion)
|
|
147
|
+
case $CURRENT in
|
|
148
|
+
2)
|
|
149
|
+
_describe 'completion command' completion_cmds
|
|
150
|
+
;;
|
|
151
|
+
*)
|
|
152
|
+
case $words[2] in
|
|
153
|
+
install|uninstall)
|
|
154
|
+
_arguments \
|
|
155
|
+
'--shell[Target shell]:shell:(bash zsh fish)' \
|
|
156
|
+
'--dry-run[Show without changes]' \
|
|
157
|
+
'--help[Display help]'
|
|
158
|
+
;;
|
|
159
|
+
generate)
|
|
160
|
+
case $CURRENT in
|
|
161
|
+
3)
|
|
162
|
+
_values 'shell' 'bash' 'zsh' 'fish'
|
|
163
|
+
;;
|
|
164
|
+
esac
|
|
165
|
+
;;
|
|
166
|
+
esac
|
|
167
|
+
;;
|
|
168
|
+
esac
|
|
169
|
+
;;
|
|
170
|
+
esac
|
|
171
|
+
;;
|
|
172
|
+
esac
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
_agentic_payments "$@"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internationalization support for Active Mandates
|
|
3
|
+
*/
|
|
4
|
+
export type Locale = "en";
|
|
5
|
+
export declare const copy: {
|
|
6
|
+
readonly en: {
|
|
7
|
+
readonly agent: "Agent";
|
|
8
|
+
readonly holder: "Holder";
|
|
9
|
+
readonly spendCap: "Spend cap";
|
|
10
|
+
readonly merchant: "Merchant";
|
|
11
|
+
readonly expires: "Expires";
|
|
12
|
+
readonly mandateId: "Mandate ID";
|
|
13
|
+
readonly confirm: "Confirm";
|
|
14
|
+
readonly revoke: "Revoke mandate";
|
|
15
|
+
readonly revoked: "Revoked";
|
|
16
|
+
readonly kind: "Kind";
|
|
17
|
+
readonly notBefore: "Not before";
|
|
18
|
+
readonly lineItems: "Line items";
|
|
19
|
+
readonly totalAmount: "Total amount";
|
|
20
|
+
readonly allowed: "Allowed";
|
|
21
|
+
readonly blocked: "Blocked";
|
|
22
|
+
readonly any: "Any";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare function formatAmount(minor: number, currency: string): string;
|
|
26
|
+
export declare function formatPeriod(period: "single" | "daily" | "weekly" | "monthly"): string;
|
|
27
|
+
//# sourceMappingURL=i18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/active-mandate/i18n.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,MAAM,GAAG,IAAI,CAAC;AAE1B,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;CAmBP,CAAC;AAEX,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAKpE;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAGtF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internationalization support for Active Mandates
|
|
3
|
+
*/
|
|
4
|
+
export const copy = {
|
|
5
|
+
en: {
|
|
6
|
+
agent: "Agent",
|
|
7
|
+
holder: "Holder",
|
|
8
|
+
spendCap: "Spend cap",
|
|
9
|
+
merchant: "Merchant",
|
|
10
|
+
expires: "Expires",
|
|
11
|
+
mandateId: "Mandate ID",
|
|
12
|
+
confirm: "Confirm",
|
|
13
|
+
revoke: "Revoke mandate",
|
|
14
|
+
revoked: "Revoked",
|
|
15
|
+
kind: "Kind",
|
|
16
|
+
notBefore: "Not before",
|
|
17
|
+
lineItems: "Line items",
|
|
18
|
+
totalAmount: "Total amount",
|
|
19
|
+
allowed: "Allowed",
|
|
20
|
+
blocked: "Blocked",
|
|
21
|
+
any: "Any"
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
export function formatAmount(minor, currency) {
|
|
25
|
+
const sign = Math.sign(minor) < 0 ? "-" : "";
|
|
26
|
+
const abs = Math.abs(minor);
|
|
27
|
+
const major = (abs / 100).toFixed(2);
|
|
28
|
+
return `${sign}${currency} ${major}`;
|
|
29
|
+
}
|
|
30
|
+
export function formatPeriod(period) {
|
|
31
|
+
if (period === "single")
|
|
32
|
+
return "(per purchase)";
|
|
33
|
+
return `(per ${period})`;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=i18n.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../src/active-mandate/i18n.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,EAAE,EAAE;QACF,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,UAAU;QACpB,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,YAAY;QACvB,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,gBAAgB;QACxB,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,MAAM;QACZ,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,WAAW,EAAE,cAAc;QAC3B,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,SAAS;QAClB,GAAG,EAAE,KAAK;KACX;CACO,CAAC;AAEX,MAAM,UAAU,YAAY,CAAC,KAAa,EAAE,QAAgB;IAC1D,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC5B,MAAM,KAAK,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACrC,OAAO,GAAG,IAAI,GAAG,QAAQ,IAAI,KAAK,EAAE,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,MAAiD;IAC5E,IAAI,MAAM,KAAK,QAAQ;QAAE,OAAO,gBAAgB,CAAC;IACjD,OAAO,QAAQ,MAAM,GAAG,CAAC;AAC3B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Active Mandate - Autonomous agent payment authorization
|
|
3
|
+
* Main entry point for Active Mandate functionality
|
|
4
|
+
*/
|
|
5
|
+
import type { SignedMandate, VerificationResult, RevocationRecord, ExecutionGuard } from "./types.js";
|
|
6
|
+
export * from "./types.js";
|
|
7
|
+
export { signedMandateSchema, mandateSchema, spendCapSchema } from "./schema.js";
|
|
8
|
+
export { verifyEd25519Signature, canonicalizeJSON, signWithTweetnacl, getPublicKeyBase64 } from "./signing.js";
|
|
9
|
+
export { isRevoked, revokeMandate, getRevocation, clearRevocations, getAllRevocations } from "./revocation.js";
|
|
10
|
+
export { copy, formatAmount, formatPeriod } from "./i18n.js";
|
|
11
|
+
export type { Locale } from "./i18n.js";
|
|
12
|
+
/**
|
|
13
|
+
* Validate schema and verify Ed25519 signature
|
|
14
|
+
*/
|
|
15
|
+
export declare function validateAndVerify(m: unknown): VerificationResult & {
|
|
16
|
+
parsed?: SignedMandate;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Guard mandate execution with time window and revocation checks
|
|
20
|
+
*/
|
|
21
|
+
export declare function guardExecution(m: SignedMandate): ExecutionGuard;
|
|
22
|
+
/**
|
|
23
|
+
* Revoke a mandate by ID
|
|
24
|
+
*/
|
|
25
|
+
export declare function revoke(mandate_id: string, reason?: string): RevocationRecord;
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/active-mandate/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEtG,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACjF,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,SAAS,EACT,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC7D,YAAY,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,kBAAkB,GAAG;IAAE,MAAM,CAAC,EAAE,aAAa,CAAA;CAAE,CAW7F;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,aAAa,GAAG,cAAc,CAa/D;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAE5E"}
|