@moonbeam-foundation/sdk 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.
Files changed (44) hide show
  1. package/README.md +71 -599
  2. package/dist/market/index.d.ts +120 -1
  3. package/dist/market/index.d.ts.map +1 -1
  4. package/dist/market/index.js +75 -1
  5. package/dist/market/index.js.map +1 -1
  6. package/dist/workflows/index.d.ts +11 -2
  7. package/dist/workflows/index.d.ts.map +1 -1
  8. package/dist/workflows/index.js +19 -44
  9. package/dist/workflows/index.js.map +1 -1
  10. package/dist/workflows/steps.d.ts +48 -0
  11. package/dist/workflows/steps.d.ts.map +1 -0
  12. package/dist/workflows/steps.js +62 -0
  13. package/dist/workflows/steps.js.map +1 -0
  14. package/dist/workflows/verified.d.ts +17 -0
  15. package/dist/workflows/verified.d.ts.map +1 -0
  16. package/dist/workflows/verified.js +219 -0
  17. package/dist/workflows/verified.js.map +1 -0
  18. package/docs/REFERENCE.md +511 -0
  19. package/docs/WORKFLOWS.md +164 -0
  20. package/docs/studio/hire-from-chat.png +0 -0
  21. package/docs/studio/list-business.png +0 -0
  22. package/docs/studio/onboard-batch.png +0 -0
  23. package/docs/studio/onboard.png +0 -0
  24. package/docs/studio/publish.png +0 -0
  25. package/docs/studio/resell.png +0 -0
  26. package/docs/studio/sell-edge.png +0 -0
  27. package/docs/workflows/hire-from-chat.png +0 -0
  28. package/docs/workflows/hire-from-chat.svg +102 -0
  29. package/docs/workflows/list-business.png +0 -0
  30. package/docs/workflows/list-business.svg +116 -0
  31. package/docs/workflows/onboard-batch.png +0 -0
  32. package/docs/workflows/onboard-batch.svg +66 -0
  33. package/docs/workflows/onboard.png +0 -0
  34. package/docs/workflows/onboard.svg +76 -0
  35. package/docs/workflows/publish.png +0 -0
  36. package/docs/workflows/publish.svg +86 -0
  37. package/docs/workflows/resell.png +0 -0
  38. package/docs/workflows/resell.svg +116 -0
  39. package/docs/workflows/sell-edge.png +0 -0
  40. package/docs/workflows/sell-edge.svg +46 -0
  41. package/examples/60-cross-list-a-seller.mjs +36 -0
  42. package/examples/README.md +7 -0
  43. package/examples/data/cross-list.recorded.json +10 -0
  44. package/package.json +3 -2
@@ -0,0 +1,62 @@
1
+ /**
2
+ * What each node of a Moonbeam workflow is: its class, what it means, who may run it, the markets it applies to, and the SDK
3
+ * calls that run it on Base and on the test network. One table, keyed by the layer call the node makes; a test holds it complete
4
+ * against the Studio's workflows.
5
+ */
6
+ /** The classes of a node, by what it does to the world. */
7
+ export const NODE_CLASSES = Object.freeze({
8
+ trigger: 'where a run starts: a buyer asks, a chat, a schedule',
9
+ agent: 'the chat agent that decides which tool to call next',
10
+ model: 'the language model the agent reasons with',
11
+ memory: 'what the agent keeps between turns',
12
+ knowledge: 'reads the graph the layer keeps (sellers, buyers, markets, jobs, agents); nothing is written',
13
+ check: 'asks a live agent, or the layer, whether something holds; nothing is paid',
14
+ transform: 'turns what was read into terms or a market\'s own format: a quote, a grade, a listing\'s export, a card',
15
+ connector: 'hands work or a listing to a market in that market\'s own protocol',
16
+ money: 'moves money: answers unsigned calls in order and names who signs each; nothing here signs',
17
+ studio: 'a step the Moonbeam Studio runs itself (its document, your pages, its manual)',
18
+ output: 'what the run hands back',
19
+ });
20
+ const m = (fn) => ({ module: 'market', fn });
21
+ const d = (fn) => ({ module: 'devnet', fn });
22
+ /** Every layer call a Studio workflow makes. Keys are the node's `op`. */
23
+ export const STEPS = Object.freeze({
24
+ 'GET /v1/match/search': { class: 'knowledge', means: 'sellers of a job class on every market, ranked, with their price', access: 'public', markets: ['all'], base: m('searchSellers') },
25
+ 'GET /v1/match/demands': { class: 'knowledge', means: 'the markets whose buyers paid for a job class this week', access: 'key', markets: ['x402', 'virtuals', 'bitagent', 'olas'], base: m('findBuyers') },
26
+ 'GET /v1/venues/:id': { class: 'knowledge', means: 'one market: its week of money, buyers, top jobs and admitted sellers', access: 'public', markets: ['all'], base: m('market') },
27
+ 'GET /v1/settle/:id': { class: 'knowledge', means: 'one hire\'s record: its plan, its grade and its ending', access: 'public', markets: ['moonbeam'], base: m('jobRecord') },
28
+ 'GET /v1/exchanges': { class: 'knowledge', means: 'the listed edges: each seller of a class and its agreement', access: 'public', markets: ['moonbeam'], base: m('listedEdges') },
29
+ 'GET /v1/agents/identity': { class: 'knowledge', means: 'an agent\'s registration: card, endpoint and owner', access: 'public', markets: ['erc8004'], base: m('identity') },
30
+ 'GET /v1/onboard/worklist': { class: 'knowledge', means: 'registered agents with the one fix each needs to be hireable', access: 'public', markets: ['erc8004'], base: d('findSellers') },
31
+ 'GET /v1/agents/:chain/:id/readiness': { class: 'check', means: 'hireable or not, and the check that says why', access: 'public', markets: ['erc8004', 'moonbeam'], base: m('readiness') },
32
+ 'POST /v1/agents/probe': { class: 'check', means: 'one handshake to an endpoint, the probe that runs before a hire; nothing paid', access: 'key', markets: ['mcp', 'a2a'], base: m('testEndpoint') },
33
+ 'pure:onboard.fix': { class: 'check', means: 'the four goals (vaultable, hireable, covered, metered), each met or with its fix', access: 'key', markets: ['erc8004', 'moonbeam'], base: m('checkAgent') },
34
+ 'POST /v1/pools/quote': { class: 'transform', means: 'the seller\'s record turned into terms: deposit, premium, and whether a pool covers it', access: 'public', markets: ['moonbeam'], base: d('quoteEdge') },
35
+ 'POST /v1/judge/compose': { class: 'transform', means: 'a delivery turned into a verdict: code proves the facts, the grader answers, complete or reject', access: 'key', markets: ['all'], base: m('composeGrade') },
36
+ 'pure:wilson.sides': { class: 'transform', means: 'the quote split for both sides: what each party takes on every ending, from the job\'s own amounts', access: 'public', markets: ['moonbeam'], base: { module: 'assurance', fn: 'hookQuote' } },
37
+ 'POST /v1/handshake': { class: 'connector', means: 'the task handed to the seller in its own protocol; the reply\'s digest comes back', access: 'key', markets: ['mcp', 'a2a'], base: m('handOver') },
38
+ 'POST /v1/exchanges/edge': { class: 'connector', means: 'a checked seller listed as an edge: its pool, its agreement and its meter', access: 'testnet', markets: ['moonbeam'], base: d('writeEdge') },
39
+ 'POST /v1/exchanges/:edge_id/call': { class: 'connector', means: 'one task sold through a listed edge; one meter line', access: 'testnet', markets: ['moonbeam'], base: d('callEdge') },
40
+ 'POST /v1/settle': { class: 'money', means: 'the hire: the buyer funds the job, the seller accepts', access: 'key', markets: ['moonbeam'], base: m('hirePlan'), testnet: d('hire'), signer: 'buyer' },
41
+ 'POST /v1/assurance/call': { class: 'money', means: 'the ending the grade decided: release to the seller, or refund the buyer', access: 'key', markets: ['moonbeam'], base: m('jobCalls'), testnet: d('settle'), signer: 'evaluator' },
42
+ // List my business: the ten modules, each with the call under it
43
+ 'pure:business.workflow': { class: 'studio', means: 'the run, saved in the Studio, that a team leaves and resumes', access: 'public', markets: [], base: null },
44
+ 'pure:business.read': { class: 'studio', means: 'your own pages, read and confirmed in your words', access: 'public', markets: [], base: null },
45
+ 'pure:business.claim': { class: 'studio', means: 'one line on your own host that proves the name is yours, read back', access: 'public', markets: [], base: null },
46
+ 'pure:business.door': { class: 'check', means: 'your door answers a real call of its class, on your own key', access: 'key', markets: ['mcp', 'a2a'], base: m('testEndpoint') },
47
+ 'pure:business.publish': { class: 'connector', means: 'one record on the layer, then one graded task per job: each job it passes is sold', access: 'key', markets: ['all'], base: m('publishListing') },
48
+ 'pure:business.reach': { class: 'transform', means: 'the record in each market\'s own format: what x402, MCP, ERC-8004, NEAR and Olas each need', access: 'key', markets: ['x402', 'mcp', 'a2a', 'erc8004', 'near', 'olas'], base: m('readListing') },
49
+ 'pure:business.pay': { class: 'knowledge', means: 'a sale and the seller\'s payout, read from the sale record', access: 'key', markets: ['all'], base: { module: 'resale', fn: 'readSale' } },
50
+ 'pure:business.keep': { class: 'knowledge', means: 'rank, price and differences per market, until you publish again', access: 'key', markets: ['all'], base: m('readListing') },
51
+ 'pure:business.seen': { class: 'transform', means: 'the public card buyers and markets read, and the badge for your pages', access: 'public', markets: ['all'], base: m('listingCard') },
52
+ 'pure:business.plan': { class: 'knowledge', means: 'your plan, its days left and its allowance', access: 'key', markets: [], base: m('keyStanding') },
53
+ 'pure:manual': { class: 'studio', means: 'the Moonbeam manual, shown in the Studio', access: 'public', markets: [], base: null },
54
+ });
55
+ /** The class of a node from its role and its call. */
56
+ export function classOf(n) {
57
+ if (n.op && STEPS[n.op])
58
+ return STEPS[n.op].class;
59
+ const r = n.role ?? '';
60
+ return ['trigger', 'agent', 'model', 'memory', 'output'].find((x) => x === r) ?? 'studio';
61
+ }
62
+ //# sourceMappingURL=steps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"steps.js","sourceRoot":"","sources":["../../src/workflows/steps.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,2DAA2D;AAC3D,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,sDAAsD;IAC/D,KAAK,EAAE,qDAAqD;IAC5D,KAAK,EAAE,2CAA2C;IAClD,MAAM,EAAE,oCAAoC;IAC5C,SAAS,EAAE,8FAA8F;IACzG,KAAK,EAAE,2EAA2E;IAClF,SAAS,EAAE,yGAAyG;IACpH,SAAS,EAAE,oEAAoE;IAC/E,KAAK,EAAE,2FAA2F;IAClG,MAAM,EAAE,+EAA+E;IACvF,MAAM,EAAE,yBAAyB;CACzB,CAAC,CAAC;AAqBZ,MAAM,CAAC,GAAG,CAAC,EAAU,EAAM,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;AACzD,MAAM,CAAC,GAAG,CAAC,EAAU,EAAM,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;AAEzD,0EAA0E;AAC1E,MAAM,CAAC,MAAM,KAAK,GAAuC,MAAM,CAAC,MAAM,CAAC;IACrE,sBAAsB,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,kEAAkE,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI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,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,aAAa,CAAC,EAAE;IACxL,oBAAoB,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,4CAA4C,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,aAAa,CAAC,EAAE;IACrJ,aAAa,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,0CAA0C,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CACjI,CAAC,CAAC;AAEH,sDAAsD;AACtD,MAAM,UAAU,OAAO,CAAC,CAA6C;IACnE,IAAI,CAAC,CAAC,EAAE,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QAAE,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,CAAE,CAAC,KAAK,CAAC;IACnD,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC;IACvB,OAAQ,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,QAAQ,CAAC;AACvG,CAAC"}
@@ -0,0 +1,17 @@
1
+ export type Verification = {
2
+ status: 'ran' | 'planned' | 'refused' | 'not-run' | 'studio';
3
+ at: string;
4
+ ms?: number;
5
+ evidence: string;
6
+ testnet?: {
7
+ at?: string;
8
+ ending?: string | null;
9
+ verdict?: string | null;
10
+ txs: {
11
+ action: string;
12
+ signer: string;
13
+ }[];
14
+ };
15
+ };
16
+ export declare const VERIFIED: Readonly<Record<string, Verification>>;
17
+ //# sourceMappingURL=verified.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verified.d.ts","sourceRoot":"","sources":["../../src/workflows/verified.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,YAAY,GAAG;IAAE,MAAM,EAAE,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IACnI,OAAO,CAAC,EAAE;QAAE,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,GAAG,EAAE;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,EAAE,CAAA;KAAE,CAAA;CAAE,CAAC;AAC1H,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAyN3D,CAAC"}
@@ -0,0 +1,219 @@
1
+ export const VERIFIED = {
2
+ "GET /v1/match/search": {
3
+ "status": "ran",
4
+ "at": "2026-11-06",
5
+ "ms": 496,
6
+ "evidence": "5 sellers of text.summarize; first on x402-base"
7
+ },
8
+ "GET /v1/match/demands": {
9
+ "status": "ran",
10
+ "at": "2026-11-06",
11
+ "ms": 3268,
12
+ "evidence": "5 markets with buyers of text.summarize; first \"x402-base\""
13
+ },
14
+ "GET /v1/venues/:id": {
15
+ "status": "ran",
16
+ "at": "2026-11-06",
17
+ "ms": 580,
18
+ "evidence": "x402: 5 networks; Base 32076 USD in 7 days"
19
+ },
20
+ "GET /v1/exchanges": {
21
+ "status": "ran",
22
+ "at": "2026-11-06",
23
+ "ms": 153,
24
+ "evidence": "43 edges; first edge_520c49b84e146bc2 (quoted)"
25
+ },
26
+ "GET /v1/agents/identity": {
27
+ "status": "ran",
28
+ "at": "2026-11-06",
29
+ "ms": 833,
30
+ "evidence": "1 agent: 8453:31596, its card and owner on record"
31
+ },
32
+ "GET /v1/onboard/worklist": {
33
+ "status": "ran",
34
+ "at": "2026-11-06",
35
+ "ms": 6396,
36
+ "evidence": "250 worklist rows; 3 candidates"
37
+ },
38
+ "GET /v1/agents/:chain/:id/readiness": {
39
+ "status": "ran",
40
+ "at": "2026-11-06",
41
+ "ms": 13240,
42
+ "evidence": "hireable true; 13 checks"
43
+ },
44
+ "pure:onboard.fix": {
45
+ "status": "ran",
46
+ "at": "2026-11-06",
47
+ "ms": 13336,
48
+ "evidence": "goals {\"vaultable\":{\"state\":\"MISSING\",\"gates\":[\"H2\"],\"hop\":\"paid\",\"words\":\"the loop vault can pay its legs: a payTo per network it is paid on\",\"fixes\":[\"fix:spec.pay_"
49
+ },
50
+ "POST /v1/agents/probe": {
51
+ "status": "ran",
52
+ "at": "2026-11-06",
53
+ "ms": 4791,
54
+ "evidence": "probe true"
55
+ },
56
+ "POST /v1/pools/quote": {
57
+ "status": "ran",
58
+ "at": "2026-11-06",
59
+ "ms": 339,
60
+ "evidence": "deposit 2000000000000000000 · premium 657620000000000000 (test GLMR wei) · no pool covers it: premium 65.8% of price exceeds the 30.0% pool rule (interval 0.0%–65.8% over 2 graded) — n"
61
+ },
62
+ "POST /v1/judge/compose": {
63
+ "status": "ran",
64
+ "at": "2026-11-06",
65
+ "ms": 498,
66
+ "evidence": "RUBRIC_v2 prepare on hs_e9afc3e4a36eb5eeed037425: hard_fail false, judge called false, digest 0xce59ea41786add5e…"
67
+ },
68
+ "POST /v1/handshake": {
69
+ "status": "ran",
70
+ "at": "2026-11-06",
71
+ "ms": 460,
72
+ "evidence": "opened hs_29e7471e86741ef1f80d7ed3 without dispatch"
73
+ },
74
+ "POST /v1/exchanges/edge": {
75
+ "status": "not-run",
76
+ "at": "2026-11-06",
77
+ "evidence": "needs a seller that passes the onboarding check today; the last two checks of 48 candidates passed none"
78
+ },
79
+ "POST /v1/exchanges/:edge_id/call": {
80
+ "status": "not-run",
81
+ "at": "2026-11-06",
82
+ "evidence": "no edge is live: the 43 on record are quoted or dry"
83
+ },
84
+ "GET /v1/settle/:id": {
85
+ "status": "ran",
86
+ "at": "2026-11-06",
87
+ "ms": 747,
88
+ "evidence": "the run's job read back: verdict reject, buyer and seller on record"
89
+ },
90
+ "POST /v1/assurance/call": {
91
+ "status": "ran",
92
+ "at": "2026-11-06",
93
+ "ms": 98,
94
+ "evidence": "1 unsigned call(s) on Base; nothing sent",
95
+ "testnet": {
96
+ "at": "2026-11-06",
97
+ "ending": "post-reject",
98
+ "verdict": "reject",
99
+ "txs": [
100
+ {
101
+ "action": "fund-job",
102
+ "signer": "buyer"
103
+ },
104
+ {
105
+ "action": "fund-job",
106
+ "signer": "buyer"
107
+ },
108
+ {
109
+ "action": "approve-deposit",
110
+ "signer": "seller"
111
+ },
112
+ {
113
+ "action": "accept",
114
+ "signer": "seller"
115
+ },
116
+ {
117
+ "action": "submit",
118
+ "signer": "seller"
119
+ },
120
+ {
121
+ "action": "post-verdict",
122
+ "signer": "evaluator"
123
+ }
124
+ ]
125
+ }
126
+ },
127
+ "POST /v1/settle": {
128
+ "status": "ran",
129
+ "at": "2026-11-06",
130
+ "evidence": "the Studio's run funded and accepted a job on the test network (5 transactions); on Base hirePlan answers the unsigned calls",
131
+ "testnet": {
132
+ "txs": [
133
+ {
134
+ "action": "fund-job",
135
+ "signer": "buyer"
136
+ },
137
+ {
138
+ "action": "fund-job",
139
+ "signer": "buyer"
140
+ },
141
+ {
142
+ "action": "approve-deposit",
143
+ "signer": "seller"
144
+ },
145
+ {
146
+ "action": "accept",
147
+ "signer": "seller"
148
+ },
149
+ {
150
+ "action": "submit",
151
+ "signer": "seller"
152
+ }
153
+ ]
154
+ }
155
+ },
156
+ "pure:business.plan": {
157
+ "status": "ran",
158
+ "at": "2026-11-06",
159
+ "ms": 2883,
160
+ "evidence": "plan \"the free agreement\""
161
+ },
162
+ "pure:business.publish": {
163
+ "status": "not-run",
164
+ "at": "2026-11-06",
165
+ "evidence": "no agent listing on this key yet: createListing makes one (the Studio's My agents)"
166
+ },
167
+ "pure:business.reach": {
168
+ "status": "not-run",
169
+ "at": "2026-11-06",
170
+ "evidence": "no agent listing on this key yet: createListing makes one (the Studio's My agents)"
171
+ },
172
+ "pure:business.keep": {
173
+ "status": "not-run",
174
+ "at": "2026-11-06",
175
+ "evidence": "no agent listing on this key yet: createListing makes one (the Studio's My agents)"
176
+ },
177
+ "pure:business.seen": {
178
+ "status": "not-run",
179
+ "at": "2026-11-06",
180
+ "evidence": "no agent listing on this key yet: createListing makes one (the Studio's My agents)"
181
+ },
182
+ "pure:business.pay": {
183
+ "status": "not-run",
184
+ "at": "2026-11-06",
185
+ "evidence": "no sale of a listing on this key yet"
186
+ },
187
+ "pure:business.door": {
188
+ "status": "ran",
189
+ "at": "2026-11-06",
190
+ "ms": 4791,
191
+ "evidence": "probe true"
192
+ },
193
+ "pure:wilson.sides": {
194
+ "status": "ran",
195
+ "at": "2026-11-06",
196
+ "evidence": "hookQuote on the quote's own amounts: completed pays the seller 3000000000000000000, a rejection returns the buyer 1000000000000000000 (wei)"
197
+ },
198
+ "pure:business.workflow": {
199
+ "status": "studio",
200
+ "at": "2026-11-06",
201
+ "evidence": "the Studio runs this step itself"
202
+ },
203
+ "pure:business.read": {
204
+ "status": "studio",
205
+ "at": "2026-11-06",
206
+ "evidence": "the Studio runs this step itself"
207
+ },
208
+ "pure:business.claim": {
209
+ "status": "studio",
210
+ "at": "2026-11-06",
211
+ "evidence": "the Studio runs this step itself"
212
+ },
213
+ "pure:manual": {
214
+ "status": "studio",
215
+ "at": "2026-11-06",
216
+ "evidence": "the Studio runs this step itself"
217
+ }
218
+ };
219
+ //# sourceMappingURL=verified.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verified.js","sourceRoot":"","sources":["../../src/workflows/verified.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,QAAQ,GAA2C;IAC/D,sBAAsB,EAAE;QACvB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,GAA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