agentlaunch-templates 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/claude-context.d.ts +9 -15
- package/dist/claude-context.d.ts.map +1 -1
- package/dist/claude-context.js +505 -155
- package/dist/claude-context.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/claude-context.d.ts
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* claude-context.ts — Claude Code
|
|
2
|
+
* claude-context.ts — Complete Claude Code context for scaffolded projects
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Everything a third-party developer needs to create, deploy, and tokenize
|
|
5
|
+
* agents on the AgentLaunch platform with Claude Code assistance.
|
|
6
6
|
*/
|
|
7
|
-
export declare const RULES:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
export declare const SKILLS: {
|
|
13
|
-
"build-agent/SKILL.md": string;
|
|
14
|
-
"deploy/SKILL.md": string;
|
|
15
|
-
"tokenize/SKILL.md": string;
|
|
16
|
-
"status/SKILL.md": string;
|
|
17
|
-
"market/SKILL.md": string;
|
|
18
|
-
};
|
|
7
|
+
export declare const RULES: Record<string, string>;
|
|
8
|
+
export declare const SKILLS: Record<string, string>;
|
|
9
|
+
export declare const DOCS: Record<string, string>;
|
|
10
|
+
export declare const EXAMPLES: Record<string, string>;
|
|
19
11
|
export declare function buildPackageJson(name: string): string;
|
|
12
|
+
export declare const CURSOR_MCP_CONFIG: string;
|
|
13
|
+
export declare const CURSOR_RULES = "# AgentLaunch Agent Project\n\nThis is an AgentLaunch agent project. Use the MCP tools to build, deploy, and tokenize.\n\n## Quick Commands\n\n- `npm run deploy` - Deploy to Agentverse\n- `npm run tokenize` - Create token + handoff link\n- `npm run status` - Check status\n\n## Key Files\n\n- `agent.py` - Your agent code (edit this!)\n- `CLAUDE.md` - Full context for Claude\n- `docs/` - SDK, CLI, MCP documentation\n- `examples/` - Working code samples\n\n## Platform Constants\n\n- Deploy fee: 120 FET\n- Graduation: 30,000 FET liquidity\n- Trading fee: 2% to protocol treasury\n";
|
|
20
14
|
//# sourceMappingURL=claude-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude-context.d.ts","sourceRoot":"","sources":["../src/claude-context.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"claude-context.d.ts","sourceRoot":"","sources":["../src/claude-context.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkKxC,CAAC;AAMF,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAyEzC,CAAC;AAMF,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4HvC,CAAC;AAMF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkQ3C,CAAC;AAMF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAsBrD;AAMD,eAAO,MAAM,iBAAiB,QAWtB,CAAC;AAET,eAAO,MAAM,YAAY,2kBAsBxB,CAAC"}
|
package/dist/claude-context.js
CHANGED
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* claude-context.ts — Claude Code
|
|
2
|
+
* claude-context.ts — Complete Claude Code context for scaffolded projects
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Everything a third-party developer needs to create, deploy, and tokenize
|
|
5
|
+
* agents on the AgentLaunch platform with Claude Code assistance.
|
|
6
6
|
*/
|
|
7
7
|
// ---------------------------------------------------------------------------
|
|
8
|
-
// Rules
|
|
8
|
+
// Rules — Claude's coding guidelines
|
|
9
9
|
// ---------------------------------------------------------------------------
|
|
10
10
|
export const RULES = {
|
|
11
11
|
"agentlaunch.md": `# AgentLaunch Platform Rules
|
|
12
12
|
|
|
13
|
-
When working with AgentLaunch tokens and the platform API:
|
|
14
|
-
|
|
15
13
|
## Constants (from smart contracts -- never change)
|
|
16
14
|
|
|
17
15
|
- Deploy fee: 120 FET (read from contract, can change via multi-sig)
|
|
18
16
|
- Graduation: 30,000 FET liquidity -> auto DEX listing
|
|
19
|
-
- Trading fee: 2% -> 100% to
|
|
20
|
-
- NO creator fee. The 2% fee has NO split. All to protocol.
|
|
17
|
+
- Trading fee: 2% -> 100% to protocol treasury (NO creator fee)
|
|
21
18
|
- Total buy supply: 800,000,000 tokens per token
|
|
22
19
|
- Default chain: BSC (testnet=97, mainnet=56)
|
|
23
20
|
|
|
@@ -25,19 +22,11 @@ When working with AgentLaunch tokens and the platform API:
|
|
|
25
22
|
|
|
26
23
|
- Use \`X-API-Key\` header with Agentverse API key
|
|
27
24
|
- Key is read from \`.env\` AGENTVERSE_API_KEY
|
|
28
|
-
- No wallet signatures needed for API calls
|
|
29
25
|
|
|
30
26
|
## API Base URLs
|
|
31
27
|
|
|
32
|
-
- Production
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
## Handoff Protocol
|
|
36
|
-
|
|
37
|
-
- Agents NEVER hold private keys
|
|
38
|
-
- All on-chain actions go through handoff links
|
|
39
|
-
- Deploy link: \`https://agent-launch.ai/deploy/{tokenId}\`
|
|
40
|
-
- Trade link: \`https://agent-launch.ai/trade/{tokenAddress}?action=buy&amount=100\`
|
|
28
|
+
- Production: \`https://agent-launch.ai/api\`
|
|
29
|
+
- Frontend: \`https://agent-launch.ai\`
|
|
41
30
|
|
|
42
31
|
## Key Endpoints
|
|
43
32
|
|
|
@@ -47,39 +36,24 @@ GET /api/agents/tokens List tokens
|
|
|
47
36
|
GET /api/agents/token/{address} Token details
|
|
48
37
|
GET /api/tokens/calculate-buy Preview buy
|
|
49
38
|
GET /api/tokens/calculate-sell Preview sell
|
|
50
|
-
GET /api/platform/stats Platform stats
|
|
51
39
|
\`\`\`
|
|
52
40
|
|
|
53
|
-
##
|
|
41
|
+
## Handoff Protocol
|
|
54
42
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
43
|
+
Agents NEVER hold private keys. Flow:
|
|
44
|
+
1. Agent calls API to create token record
|
|
45
|
+
2. API returns handoff link
|
|
46
|
+
3. Agent shares link with human
|
|
47
|
+
4. Human signs transaction
|
|
60
48
|
`,
|
|
61
49
|
"agentverse.md": `# Agentverse Deployment Rules
|
|
62
50
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
## API Base URL
|
|
66
|
-
|
|
67
|
-
\`\`\`
|
|
68
|
-
https://agentverse.ai/v1
|
|
69
|
-
\`\`\`
|
|
70
|
-
|
|
71
|
-
## Auth Header
|
|
72
|
-
|
|
73
|
-
\`\`\`
|
|
74
|
-
Authorization: Bearer <AGENTVERSE_API_KEY>
|
|
75
|
-
\`\`\`
|
|
76
|
-
|
|
77
|
-
Note: Capital "Bearer", followed by space, then the raw API key.
|
|
51
|
+
## API: https://agentverse.ai/v1
|
|
52
|
+
## Auth: Authorization: Bearer <AGENTVERSE_API_KEY>
|
|
78
53
|
|
|
79
54
|
## CRITICAL: Code Upload Format
|
|
80
55
|
|
|
81
56
|
The code field MUST be double-encoded JSON:
|
|
82
|
-
|
|
83
57
|
\`\`\`python
|
|
84
58
|
code_array = [{"language": "python", "name": "agent.py", "value": source_code}]
|
|
85
59
|
payload = {"code": json.dumps(code_array)}
|
|
@@ -87,32 +61,23 @@ payload = {"code": json.dumps(code_array)}
|
|
|
87
61
|
|
|
88
62
|
## Agent Code Requirements
|
|
89
63
|
|
|
90
|
-
- Use \`Agent()\` with zero params
|
|
91
|
-
- Use Chat Protocol v0.3.0
|
|
92
|
-
- Must have
|
|
64
|
+
- Use \`Agent()\` with zero params
|
|
65
|
+
- Use Chat Protocol v0.3.0
|
|
66
|
+
- Must have \`ChatAcknowledgement\` handler
|
|
93
67
|
- Use \`ctx.logger\`, never \`print()\`
|
|
94
|
-
- Use \`datetime.now()\` not \`
|
|
95
|
-
-
|
|
96
|
-
- Include \`publish_manifest=True\` in \`agent.include()\`
|
|
68
|
+
- Use \`datetime.now()\` not \`utcnow()\`
|
|
69
|
+
- Include \`publish_manifest=True\`
|
|
97
70
|
|
|
98
71
|
## Deployment Flow
|
|
99
72
|
|
|
100
|
-
1.
|
|
101
|
-
2.
|
|
102
|
-
3.
|
|
103
|
-
4.
|
|
104
|
-
5.
|
|
105
|
-
|
|
106
|
-
## Common Errors
|
|
107
|
-
|
|
108
|
-
- "Invalid code format" -- code field not json.dumps'd
|
|
109
|
-
- Agent stuck in "compiling" -- wait longer, check logs for syntax errors
|
|
110
|
-
- 401 Unauthorized -- bad API key or missing "Bearer" prefix
|
|
73
|
+
1. POST /v1/hosting/agents -> creates agent
|
|
74
|
+
2. PUT /v1/hosting/agents/{addr}/code -> upload
|
|
75
|
+
3. POST /v1/hosting/secrets -> set secrets
|
|
76
|
+
4. POST /v1/hosting/agents/{addr}/start -> start
|
|
77
|
+
5. Poll until compiled (15-60s)
|
|
111
78
|
`,
|
|
112
79
|
"uagent-patterns.md": `# uAgent Code Patterns
|
|
113
80
|
|
|
114
|
-
When writing Agentverse agent code:
|
|
115
|
-
|
|
116
81
|
## Minimal Working Agent
|
|
117
82
|
|
|
118
83
|
\`\`\`python
|
|
@@ -123,7 +88,7 @@ from uagents_core.contrib.protocols.chat import (
|
|
|
123
88
|
)
|
|
124
89
|
from datetime import datetime
|
|
125
90
|
|
|
126
|
-
agent = Agent()
|
|
91
|
+
agent = Agent()
|
|
127
92
|
chat_proto = agent.create_protocol(spec=chat_protocol_spec)
|
|
128
93
|
|
|
129
94
|
@chat_proto.on_message(ChatMessage)
|
|
@@ -136,7 +101,6 @@ async def handle_message(ctx: Context, sender: str, msg: ChatMessage):
|
|
|
136
101
|
msg_id=msg.msg_id,
|
|
137
102
|
content=[TextContent(text=f"You said: {text}")]
|
|
138
103
|
))
|
|
139
|
-
|
|
140
104
|
await ctx.send(sender, ChatMessage(
|
|
141
105
|
timestamp=datetime.now(),
|
|
142
106
|
msg_id=msg.msg_id,
|
|
@@ -145,166 +109,517 @@ async def handle_message(ctx: Context, sender: str, msg: ChatMessage):
|
|
|
145
109
|
|
|
146
110
|
@chat_proto.on_message(ChatAcknowledgement)
|
|
147
111
|
async def handle_ack(ctx: Context, sender: str, msg: ChatAcknowledgement):
|
|
148
|
-
ctx.logger.info(f"Ack
|
|
112
|
+
ctx.logger.info(f"Ack: {msg.acknowledged_msg_id}")
|
|
149
113
|
|
|
150
114
|
agent.include(chat_proto, publish_manifest=True)
|
|
151
115
|
|
|
152
116
|
if __name__ == "__main__":
|
|
153
117
|
agent.run()
|
|
154
118
|
\`\`\`
|
|
119
|
+
`,
|
|
120
|
+
"api-design.md": `# API Design Rules
|
|
121
|
+
|
|
122
|
+
## Response Format
|
|
123
|
+
\`\`\`json
|
|
124
|
+
{
|
|
125
|
+
"success": boolean,
|
|
126
|
+
"data": object | array,
|
|
127
|
+
"error": null | { "code": string, "message": string }
|
|
128
|
+
}
|
|
129
|
+
\`\`\`
|
|
155
130
|
|
|
156
|
-
##
|
|
131
|
+
## Status Codes
|
|
132
|
+
- 200: Success
|
|
133
|
+
- 201: Created
|
|
134
|
+
- 400: Bad Request
|
|
135
|
+
- 401: Unauthorized
|
|
136
|
+
- 404: Not Found
|
|
137
|
+
- 429: Rate Limited
|
|
138
|
+
- 500: Server Error
|
|
139
|
+
`,
|
|
140
|
+
"security-checklist.md": `# Security Checklist
|
|
141
|
+
|
|
142
|
+
## Agent Code
|
|
143
|
+
- Input validation on all messages
|
|
144
|
+
- Rate limiting per user
|
|
145
|
+
- Secrets in .env only
|
|
146
|
+
- Never log sensitive data
|
|
147
|
+
- Sanitize user input
|
|
148
|
+
|
|
149
|
+
## General
|
|
150
|
+
- No private keys in code
|
|
151
|
+
- .env in .gitignore
|
|
152
|
+
- Use ctx.logger not print
|
|
153
|
+
`,
|
|
154
|
+
"testing.md": `# Testing Rules
|
|
155
|
+
|
|
156
|
+
## Local Testing
|
|
157
|
+
\`\`\`bash
|
|
158
|
+
source .env && python agent.py
|
|
159
|
+
\`\`\`
|
|
157
160
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
- Always include \`publish_manifest=True\` in \`agent.include()\`
|
|
161
|
+
## Deploy Testing
|
|
162
|
+
\`\`\`bash
|
|
163
|
+
agentlaunch deploy
|
|
164
|
+
agentlaunch status <address>
|
|
165
|
+
\`\`\`
|
|
164
166
|
`,
|
|
165
167
|
};
|
|
166
168
|
// ---------------------------------------------------------------------------
|
|
167
|
-
// Skills
|
|
169
|
+
// Skills — Claude's slash commands
|
|
168
170
|
// ---------------------------------------------------------------------------
|
|
169
171
|
export const SKILLS = {
|
|
170
|
-
"build-agent/SKILL.md": `# /build-agent
|
|
172
|
+
"build-agent/SKILL.md": `# /build-agent — Full Agent Lifecycle
|
|
171
173
|
|
|
172
174
|
Build, deploy, and tokenize an agent in one guided flow.
|
|
173
175
|
|
|
174
176
|
## Steps
|
|
175
177
|
|
|
176
|
-
1.
|
|
177
|
-
|
|
178
|
+
1. Ask user what agent they want (name, description, functionality)
|
|
179
|
+
2. Generate agent.py code based on description
|
|
180
|
+
3. Show code, let user request changes
|
|
181
|
+
4. Deploy: \`agentlaunch deploy\`
|
|
182
|
+
5. Tokenize: \`agentlaunch tokenize --agent <address> --name "Name" --symbol SYM\`
|
|
183
|
+
6. Return handoff link for human to sign
|
|
178
184
|
|
|
179
|
-
|
|
180
|
-
|
|
185
|
+
## Platform Fees
|
|
186
|
+
- Deploy: 120 FET (paid by human signer)
|
|
187
|
+
- Trading: 2% to protocol treasury
|
|
188
|
+
`,
|
|
189
|
+
"deploy/SKILL.md": `# /deploy — Deploy to Agentverse
|
|
181
190
|
|
|
182
|
-
|
|
191
|
+
Deploy agent.py to Agentverse hosting.
|
|
183
192
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
193
|
+
## Command
|
|
194
|
+
\`\`\`bash
|
|
195
|
+
agentlaunch deploy
|
|
196
|
+
\`\`\`
|
|
188
197
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
198
|
+
## What It Does
|
|
199
|
+
1. Reads agent.py
|
|
200
|
+
2. Validates uAgent patterns
|
|
201
|
+
3. Creates agent on Agentverse
|
|
202
|
+
4. Uploads code
|
|
203
|
+
5. Sets secrets from .env
|
|
204
|
+
6. Starts agent
|
|
205
|
+
7. Waits for compilation
|
|
206
|
+
`,
|
|
207
|
+
"tokenize/SKILL.md": `# /tokenize — Create Token
|
|
192
208
|
|
|
193
|
-
|
|
194
|
-
- Agent address (agent1q...)
|
|
195
|
-
- Token handoff link
|
|
196
|
-
- Instructions: "Click this link, connect your wallet, and sign to deploy"
|
|
209
|
+
Create a tradeable token for an agent.
|
|
197
210
|
|
|
198
|
-
##
|
|
211
|
+
## Command
|
|
212
|
+
\`\`\`bash
|
|
213
|
+
agentlaunch tokenize --agent <address> --name "Name" --symbol SYM
|
|
214
|
+
\`\`\`
|
|
199
215
|
|
|
200
|
-
|
|
201
|
-
|
|
216
|
+
## Result
|
|
217
|
+
Returns a handoff link. Human clicks it, connects wallet, signs, token goes live.
|
|
202
218
|
`,
|
|
203
|
-
"
|
|
204
|
-
|
|
205
|
-
Deploy the agent.py file to the Agentverse hosting platform.
|
|
219
|
+
"status/SKILL.md": `# /status — Check Status
|
|
206
220
|
|
|
207
|
-
|
|
221
|
+
Check agent and token status.
|
|
208
222
|
|
|
209
|
-
|
|
210
|
-
|
|
223
|
+
## Command
|
|
224
|
+
\`\`\`bash
|
|
225
|
+
agentlaunch status <address>
|
|
211
226
|
\`\`\`
|
|
212
227
|
|
|
213
|
-
|
|
228
|
+
Shows: running status, price, holders, progress to graduation.
|
|
229
|
+
`,
|
|
230
|
+
"market/SKILL.md": `# /market — Browse Tokens
|
|
214
231
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
232
|
+
Browse tokens on AgentLaunch.
|
|
233
|
+
|
|
234
|
+
## Commands
|
|
235
|
+
\`\`\`bash
|
|
236
|
+
agentlaunch list
|
|
237
|
+
agentlaunch status <token_address>
|
|
238
|
+
\`\`\`
|
|
239
|
+
`,
|
|
240
|
+
};
|
|
241
|
+
// ---------------------------------------------------------------------------
|
|
242
|
+
// Docs — Full documentation
|
|
243
|
+
// ---------------------------------------------------------------------------
|
|
244
|
+
export const DOCS = {
|
|
245
|
+
"getting-started.md": `# Getting Started
|
|
223
246
|
|
|
224
|
-
##
|
|
247
|
+
## Prerequisites
|
|
248
|
+
- Node.js 18+
|
|
249
|
+
- Agentverse API key from https://agentverse.ai/profile/api-keys
|
|
250
|
+
|
|
251
|
+
## Quick Start
|
|
225
252
|
|
|
226
253
|
\`\`\`bash
|
|
227
|
-
|
|
254
|
+
# Set API key
|
|
255
|
+
export AGENTVERSE_API_KEY=av-xxx
|
|
256
|
+
|
|
257
|
+
# Create agent project
|
|
258
|
+
npx agentlaunch-cli create
|
|
259
|
+
|
|
260
|
+
# Or use SDK
|
|
261
|
+
npm install agentlaunch-sdk
|
|
228
262
|
\`\`\`
|
|
229
263
|
|
|
230
|
-
##
|
|
264
|
+
## The Agent-Human Handoff
|
|
265
|
+
|
|
266
|
+
Agents never hold private keys:
|
|
267
|
+
1. Agent calls API -> gets handoff link
|
|
268
|
+
2. Agent shares link with human
|
|
269
|
+
3. Human opens link, connects wallet, signs
|
|
270
|
+
4. Token goes live
|
|
231
271
|
|
|
232
|
-
|
|
272
|
+
## Platform Constants
|
|
273
|
+
- Deploy fee: 120 FET
|
|
274
|
+
- Graduation: 30,000 FET -> DEX listing
|
|
275
|
+
- Trading fee: 2% to protocol
|
|
233
276
|
`,
|
|
234
|
-
"
|
|
277
|
+
"sdk-reference.md": `# SDK Reference
|
|
278
|
+
|
|
279
|
+
\`\`\`bash
|
|
280
|
+
npm install agentlaunch-sdk
|
|
281
|
+
\`\`\`
|
|
235
282
|
|
|
236
|
-
|
|
283
|
+
## Key Functions
|
|
284
|
+
|
|
285
|
+
\`\`\`typescript
|
|
286
|
+
import {
|
|
287
|
+
tokenize, // Create token record
|
|
288
|
+
getToken, // Get token details
|
|
289
|
+
listTokens, // List all tokens
|
|
290
|
+
getTokenPrice, // Get current price
|
|
291
|
+
getTokenHolders, // Get holder list
|
|
292
|
+
generateDeployLink, // Create deploy URL
|
|
293
|
+
generateBuyLink, // Create buy URL
|
|
294
|
+
generateSellLink, // Create sell URL
|
|
295
|
+
deployAgent, // Deploy to Agentverse
|
|
296
|
+
} from 'agentlaunch-sdk';
|
|
297
|
+
\`\`\`
|
|
298
|
+
|
|
299
|
+
## Example: Create Token
|
|
237
300
|
|
|
238
|
-
|
|
301
|
+
\`\`\`typescript
|
|
302
|
+
const { data } = await tokenize({
|
|
303
|
+
agentAddress: 'agent1q...',
|
|
304
|
+
name: 'My Agent',
|
|
305
|
+
symbol: 'MYAG',
|
|
306
|
+
chainId: 97,
|
|
307
|
+
});
|
|
239
308
|
|
|
309
|
+
console.log(data.handoff_link); // Share with human
|
|
240
310
|
\`\`\`
|
|
241
|
-
|
|
311
|
+
`,
|
|
312
|
+
"cli-reference.md": `# CLI Reference
|
|
313
|
+
|
|
314
|
+
\`\`\`bash
|
|
315
|
+
npm install -g agentlaunch-cli
|
|
242
316
|
\`\`\`
|
|
243
317
|
|
|
244
|
-
##
|
|
318
|
+
## Commands
|
|
245
319
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
320
|
+
| Command | Description |
|
|
321
|
+
|---------|-------------|
|
|
322
|
+
| \`agentlaunch create\` | Interactive: scaffold + deploy + tokenize |
|
|
323
|
+
| \`agentlaunch deploy\` | Deploy agent.py to Agentverse |
|
|
324
|
+
| \`agentlaunch tokenize\` | Create token + handoff link |
|
|
325
|
+
| \`agentlaunch list\` | List tokens |
|
|
326
|
+
| \`agentlaunch status <addr>\` | Token details |
|
|
327
|
+
| \`agentlaunch config set-key\` | Store API key |
|
|
249
328
|
|
|
250
|
-
##
|
|
329
|
+
## Full Workflow
|
|
251
330
|
|
|
252
331
|
\`\`\`bash
|
|
253
|
-
agentlaunch
|
|
332
|
+
agentlaunch config set-key av-xxx
|
|
333
|
+
agentlaunch create
|
|
334
|
+
# Answer prompts -> agent deployed + tokenized
|
|
254
335
|
\`\`\`
|
|
336
|
+
`,
|
|
337
|
+
"mcp-tools.md": `# MCP Tools Reference
|
|
338
|
+
|
|
339
|
+
The MCP server provides 13+ tools for Claude Code.
|
|
340
|
+
|
|
341
|
+
## Setup
|
|
342
|
+
|
|
343
|
+
Already configured in \`.claude/settings.json\`.
|
|
255
344
|
|
|
256
|
-
##
|
|
345
|
+
## Key Tools
|
|
257
346
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
347
|
+
| Tool | Description |
|
|
348
|
+
|------|-------------|
|
|
349
|
+
| \`scaffold_agent\` | Generate agent code |
|
|
350
|
+
| \`deploy_to_agentverse\` | Deploy agent |
|
|
351
|
+
| \`create_token_record\` | Create token |
|
|
352
|
+
| \`list_tokens\` | Browse tokens |
|
|
353
|
+
| \`get_token\` | Token details |
|
|
354
|
+
| \`calculate_buy\` | Preview buy |
|
|
355
|
+
| \`calculate_sell\` | Preview sell |
|
|
356
|
+
| \`get_trade_link\` | Generate trade URL |
|
|
357
|
+
|
|
358
|
+
## Example Prompts
|
|
359
|
+
|
|
360
|
+
- "Create a price monitoring agent"
|
|
361
|
+
- "Deploy my agent to Agentverse"
|
|
362
|
+
- "Tokenize my agent as $MYTOKEN"
|
|
363
|
+
- "Show trending tokens"
|
|
263
364
|
`,
|
|
264
|
-
|
|
365
|
+
};
|
|
366
|
+
// ---------------------------------------------------------------------------
|
|
367
|
+
// Examples — Reference implementations
|
|
368
|
+
// ---------------------------------------------------------------------------
|
|
369
|
+
export const EXAMPLES = {
|
|
370
|
+
"price-monitor.py": `"""
|
|
371
|
+
Price Monitor Agent — Token Price Alerts
|
|
265
372
|
|
|
266
|
-
|
|
373
|
+
Monitors token prices and sends alerts when thresholds are crossed.
|
|
374
|
+
"""
|
|
267
375
|
|
|
268
|
-
|
|
376
|
+
from datetime import datetime
|
|
377
|
+
from uuid import uuid4
|
|
378
|
+
import os
|
|
379
|
+
import requests
|
|
380
|
+
from uagents import Agent, Context, Protocol
|
|
381
|
+
from uagents_core.contrib.protocols.chat import (
|
|
382
|
+
ChatAcknowledgement, ChatMessage, TextContent,
|
|
383
|
+
EndSessionContent, chat_protocol_spec
|
|
384
|
+
)
|
|
269
385
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
\`\`\`
|
|
386
|
+
agent = Agent()
|
|
387
|
+
chat_proto = Protocol(spec=chat_protocol_spec)
|
|
273
388
|
|
|
274
|
-
|
|
389
|
+
API_URL = os.environ.get("AGENT_LAUNCH_API_URL", "https://agent-launch.ai/api")
|
|
275
390
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
- Shows platform stats
|
|
391
|
+
# Store watches: user_id -> [{address, threshold}]
|
|
392
|
+
watches = {}
|
|
279
393
|
|
|
280
|
-
|
|
394
|
+
def fetch_price(token_address: str) -> float | None:
|
|
395
|
+
try:
|
|
396
|
+
r = requests.get(f"{API_URL}/agents/token/{token_address}", timeout=10)
|
|
397
|
+
if r.ok:
|
|
398
|
+
return float(r.json().get("price", 0))
|
|
399
|
+
except:
|
|
400
|
+
pass
|
|
401
|
+
return None
|
|
281
402
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
403
|
+
@chat_proto.on_message(ChatMessage)
|
|
404
|
+
async def handle(ctx: Context, sender: str, msg: ChatMessage):
|
|
405
|
+
await ctx.send(sender, ChatAcknowledgement(
|
|
406
|
+
timestamp=datetime.now(), acknowledged_msg_id=msg.msg_id
|
|
407
|
+
))
|
|
408
|
+
|
|
409
|
+
text = msg.content[0].text if msg.content else ""
|
|
410
|
+
|
|
411
|
+
if text.startswith("watch "):
|
|
412
|
+
addr = text.split()[1]
|
|
413
|
+
price = fetch_price(addr)
|
|
414
|
+
if price:
|
|
415
|
+
watches.setdefault(sender, []).append({"address": addr, "baseline": price})
|
|
416
|
+
response = f"Watching {addr[:12]}... at {price:.6f} FET"
|
|
417
|
+
else:
|
|
418
|
+
response = "Could not fetch price"
|
|
419
|
+
elif text.startswith("price "):
|
|
420
|
+
addr = text.split()[1]
|
|
421
|
+
price = fetch_price(addr)
|
|
422
|
+
response = f"{price:.6f} FET" if price else "Error"
|
|
423
|
+
else:
|
|
424
|
+
response = "Commands: watch <addr>, price <addr>"
|
|
425
|
+
|
|
426
|
+
await ctx.send(sender, ChatMessage(
|
|
427
|
+
timestamp=datetime.now(), msg_id=uuid4(),
|
|
428
|
+
content=[TextContent(text=response), EndSessionContent()]
|
|
429
|
+
))
|
|
430
|
+
|
|
431
|
+
@chat_proto.on_message(ChatAcknowledgement)
|
|
432
|
+
async def handle_ack(ctx: Context, sender: str, msg: ChatAcknowledgement):
|
|
433
|
+
pass
|
|
434
|
+
|
|
435
|
+
agent.include(chat_proto, publish_manifest=True)
|
|
436
|
+
|
|
437
|
+
if __name__ == "__main__":
|
|
438
|
+
agent.run()
|
|
285
439
|
`,
|
|
286
|
-
"
|
|
440
|
+
"trading-signals.py": `"""
|
|
441
|
+
Trading Signal Agent — Buy/Sell Recommendations
|
|
287
442
|
|
|
288
|
-
|
|
443
|
+
Analyzes token prices and generates trading signals.
|
|
444
|
+
"""
|
|
289
445
|
|
|
290
|
-
|
|
446
|
+
from datetime import datetime
|
|
447
|
+
from uuid import uuid4
|
|
448
|
+
import os
|
|
449
|
+
import requests
|
|
450
|
+
from uagents import Agent, Context, Protocol
|
|
451
|
+
from uagents_core.contrib.protocols.chat import (
|
|
452
|
+
ChatAcknowledgement, ChatMessage, TextContent,
|
|
453
|
+
EndSessionContent, chat_protocol_spec
|
|
454
|
+
)
|
|
291
455
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
\`\`\`
|
|
456
|
+
agent = Agent()
|
|
457
|
+
chat_proto = Protocol(spec=chat_protocol_spec)
|
|
295
458
|
|
|
296
|
-
|
|
459
|
+
API_URL = os.environ.get("AGENT_LAUNCH_API_URL", "https://agent-launch.ai/api")
|
|
297
460
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
- Previews buy/sell amounts
|
|
461
|
+
# Simple price history
|
|
462
|
+
price_history = {}
|
|
301
463
|
|
|
302
|
-
|
|
464
|
+
def get_signal(addr: str) -> str:
|
|
465
|
+
try:
|
|
466
|
+
r = requests.get(f"{API_URL}/agents/token/{addr}", timeout=10)
|
|
467
|
+
if r.ok:
|
|
468
|
+
data = r.json()
|
|
469
|
+
price = float(data.get("price", 0))
|
|
470
|
+
change = float(data.get("price_change_24h", 0))
|
|
303
471
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
472
|
+
history = price_history.setdefault(addr, [])
|
|
473
|
+
history.append(price)
|
|
474
|
+
if len(history) > 10:
|
|
475
|
+
history.pop(0)
|
|
476
|
+
|
|
477
|
+
ma = sum(history) / len(history) if history else price
|
|
478
|
+
pct = ((price - ma) / ma * 100) if ma else 0
|
|
479
|
+
|
|
480
|
+
if pct > 5:
|
|
481
|
+
return f"BUY - Price {pct:.1f}% above MA"
|
|
482
|
+
elif pct < -5:
|
|
483
|
+
return f"SELL - Price {pct:.1f}% below MA"
|
|
484
|
+
else:
|
|
485
|
+
return f"HOLD - Price at {price:.6f} FET"
|
|
486
|
+
except:
|
|
487
|
+
pass
|
|
488
|
+
return "ERROR"
|
|
489
|
+
|
|
490
|
+
@chat_proto.on_message(ChatMessage)
|
|
491
|
+
async def handle(ctx: Context, sender: str, msg: ChatMessage):
|
|
492
|
+
await ctx.send(sender, ChatAcknowledgement(
|
|
493
|
+
timestamp=datetime.now(), acknowledged_msg_id=msg.msg_id
|
|
494
|
+
))
|
|
495
|
+
|
|
496
|
+
text = msg.content[0].text if msg.content else ""
|
|
497
|
+
|
|
498
|
+
if text.startswith("signal "):
|
|
499
|
+
addr = text.split()[1]
|
|
500
|
+
response = get_signal(addr)
|
|
501
|
+
else:
|
|
502
|
+
response = "Usage: signal <token_address>"
|
|
503
|
+
|
|
504
|
+
await ctx.send(sender, ChatMessage(
|
|
505
|
+
timestamp=datetime.now(), msg_id=uuid4(),
|
|
506
|
+
content=[TextContent(text=response), EndSessionContent()]
|
|
507
|
+
))
|
|
508
|
+
|
|
509
|
+
@chat_proto.on_message(ChatAcknowledgement)
|
|
510
|
+
async def handle_ack(ctx: Context, sender: str, msg: ChatAcknowledgement):
|
|
511
|
+
pass
|
|
512
|
+
|
|
513
|
+
agent.include(chat_proto, publish_manifest=True)
|
|
514
|
+
|
|
515
|
+
if __name__ == "__main__":
|
|
516
|
+
agent.run()
|
|
517
|
+
`,
|
|
518
|
+
"research-agent.py": `"""
|
|
519
|
+
Research Agent — AI-Powered Analysis
|
|
520
|
+
|
|
521
|
+
Uses AI to generate research reports on tokens.
|
|
522
|
+
"""
|
|
523
|
+
|
|
524
|
+
from datetime import datetime
|
|
525
|
+
from uuid import uuid4
|
|
526
|
+
import os
|
|
527
|
+
import requests
|
|
528
|
+
from uagents import Agent, Context, Protocol
|
|
529
|
+
from uagents_core.contrib.protocols.chat import (
|
|
530
|
+
ChatAcknowledgement, ChatMessage, TextContent,
|
|
531
|
+
EndSessionContent, chat_protocol_spec
|
|
532
|
+
)
|
|
533
|
+
|
|
534
|
+
agent = Agent()
|
|
535
|
+
chat_proto = Protocol(spec=chat_protocol_spec)
|
|
536
|
+
|
|
537
|
+
API_URL = os.environ.get("AGENT_LAUNCH_API_URL", "https://agent-launch.ai/api")
|
|
538
|
+
HF_TOKEN = os.environ.get("HF_TOKEN", "")
|
|
539
|
+
|
|
540
|
+
def get_token_data(addr: str) -> dict:
|
|
541
|
+
try:
|
|
542
|
+
r = requests.get(f"{API_URL}/agents/token/{addr}", timeout=10)
|
|
543
|
+
if r.ok:
|
|
544
|
+
return r.json()
|
|
545
|
+
except:
|
|
546
|
+
pass
|
|
547
|
+
return {}
|
|
548
|
+
|
|
549
|
+
def generate_report(query: str, data: dict) -> str:
|
|
550
|
+
if not HF_TOKEN:
|
|
551
|
+
return f"Token: {data.get('name', 'Unknown')}\\nPrice: {data.get('price', '?')} FET\\nProgress: {data.get('progress', 0):.1f}%"
|
|
552
|
+
|
|
553
|
+
try:
|
|
554
|
+
prompt = f"Analyze this token: {query}. Data: {data}"
|
|
555
|
+
r = requests.post(
|
|
556
|
+
"https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2",
|
|
557
|
+
headers={"Authorization": f"Bearer {HF_TOKEN}"},
|
|
558
|
+
json={"inputs": prompt, "parameters": {"max_new_tokens": 200}},
|
|
559
|
+
timeout=30
|
|
560
|
+
)
|
|
561
|
+
if r.ok:
|
|
562
|
+
return r.json()[0].get("generated_text", "")[:500]
|
|
563
|
+
except:
|
|
564
|
+
pass
|
|
565
|
+
return "Could not generate report"
|
|
566
|
+
|
|
567
|
+
@chat_proto.on_message(ChatMessage)
|
|
568
|
+
async def handle(ctx: Context, sender: str, msg: ChatMessage):
|
|
569
|
+
await ctx.send(sender, ChatAcknowledgement(
|
|
570
|
+
timestamp=datetime.now(), acknowledged_msg_id=msg.msg_id
|
|
571
|
+
))
|
|
572
|
+
|
|
573
|
+
text = msg.content[0].text if msg.content else ""
|
|
574
|
+
|
|
575
|
+
if text.startswith("research "):
|
|
576
|
+
addr = text.split()[1]
|
|
577
|
+
data = get_token_data(addr)
|
|
578
|
+
response = generate_report(text, data)
|
|
579
|
+
else:
|
|
580
|
+
response = "Usage: research <token_address>"
|
|
581
|
+
|
|
582
|
+
await ctx.send(sender, ChatMessage(
|
|
583
|
+
timestamp=datetime.now(), msg_id=uuid4(),
|
|
584
|
+
content=[TextContent(text=response), EndSessionContent()]
|
|
585
|
+
))
|
|
586
|
+
|
|
587
|
+
@chat_proto.on_message(ChatAcknowledgement)
|
|
588
|
+
async def handle_ack(ctx: Context, sender: str, msg: ChatAcknowledgement):
|
|
589
|
+
pass
|
|
590
|
+
|
|
591
|
+
agent.include(chat_proto, publish_manifest=True)
|
|
592
|
+
|
|
593
|
+
if __name__ == "__main__":
|
|
594
|
+
agent.run()
|
|
595
|
+
`,
|
|
596
|
+
"sdk-tokenize.ts": `/**
|
|
597
|
+
* SDK Example: Create and Tokenize an Agent
|
|
598
|
+
*/
|
|
599
|
+
import { tokenize, generateDeployLink, getToken } from 'agentlaunch-sdk';
|
|
600
|
+
|
|
601
|
+
async function main() {
|
|
602
|
+
// Create token record
|
|
603
|
+
const { data } = await tokenize({
|
|
604
|
+
agentAddress: 'agent1q...', // Your Agentverse agent
|
|
605
|
+
name: 'My Agent',
|
|
606
|
+
symbol: 'MYAG',
|
|
607
|
+
description: 'Does amazing things',
|
|
608
|
+
chainId: 97, // BSC Testnet
|
|
609
|
+
});
|
|
610
|
+
|
|
611
|
+
console.log('Token ID:', data.token_id);
|
|
612
|
+
console.log('Handoff Link:', data.handoff_link);
|
|
613
|
+
|
|
614
|
+
// Share this link with a human to deploy on-chain
|
|
615
|
+
// They will pay 120 FET to deploy
|
|
616
|
+
|
|
617
|
+
// After deployment, check status
|
|
618
|
+
// const token = await getToken(data.token_address);
|
|
619
|
+
// console.log('Price:', token.price);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
main().catch(console.error);
|
|
308
623
|
`,
|
|
309
624
|
};
|
|
310
625
|
// ---------------------------------------------------------------------------
|
|
@@ -319,6 +634,7 @@ export function buildPackageJson(name) {
|
|
|
319
634
|
deploy: "agentlaunch deploy",
|
|
320
635
|
tokenize: "agentlaunch tokenize",
|
|
321
636
|
status: "agentlaunch status",
|
|
637
|
+
list: "agentlaunch list",
|
|
322
638
|
},
|
|
323
639
|
dependencies: {
|
|
324
640
|
"agentlaunch-sdk": "^0.2.0",
|
|
@@ -328,4 +644,38 @@ export function buildPackageJson(name) {
|
|
|
328
644
|
},
|
|
329
645
|
}, null, 2) + "\n";
|
|
330
646
|
}
|
|
647
|
+
// ---------------------------------------------------------------------------
|
|
648
|
+
// Cursor IDE config
|
|
649
|
+
// ---------------------------------------------------------------------------
|
|
650
|
+
export const CURSOR_MCP_CONFIG = JSON.stringify({
|
|
651
|
+
mcpServers: {
|
|
652
|
+
"agent-launch": {
|
|
653
|
+
command: "npx",
|
|
654
|
+
args: ["agent-launch-mcp"],
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
}, null, 2) + "\n";
|
|
658
|
+
export const CURSOR_RULES = `# AgentLaunch Agent Project
|
|
659
|
+
|
|
660
|
+
This is an AgentLaunch agent project. Use the MCP tools to build, deploy, and tokenize.
|
|
661
|
+
|
|
662
|
+
## Quick Commands
|
|
663
|
+
|
|
664
|
+
- \`npm run deploy\` - Deploy to Agentverse
|
|
665
|
+
- \`npm run tokenize\` - Create token + handoff link
|
|
666
|
+
- \`npm run status\` - Check status
|
|
667
|
+
|
|
668
|
+
## Key Files
|
|
669
|
+
|
|
670
|
+
- \`agent.py\` - Your agent code (edit this!)
|
|
671
|
+
- \`CLAUDE.md\` - Full context for Claude
|
|
672
|
+
- \`docs/\` - SDK, CLI, MCP documentation
|
|
673
|
+
- \`examples/\` - Working code samples
|
|
674
|
+
|
|
675
|
+
## Platform Constants
|
|
676
|
+
|
|
677
|
+
- Deploy fee: 120 FET
|
|
678
|
+
- Graduation: 30,000 FET liquidity
|
|
679
|
+
- Trading fee: 2% to protocol treasury
|
|
680
|
+
`;
|
|
331
681
|
//# sourceMappingURL=claude-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude-context.js","sourceRoot":"","sources":["../src/claude-context.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,8EAA8E;AAC9E,
|
|
1
|
+
{"version":3,"file":"claude-context.js","sourceRoot":"","sources":["../src/claude-context.ts"],"names":[],"mappings":"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"}
|
package/dist/index.d.ts
CHANGED
|
@@ -38,5 +38,5 @@ export type { AgentTemplate, TemplateVariable } from "./registry.js";
|
|
|
38
38
|
export { listTemplates, getTemplate } from "./registry.js";
|
|
39
39
|
export type { GenerateResult, GenerateOptions } from "./generator.js";
|
|
40
40
|
export { generateFromTemplate } from "./generator.js";
|
|
41
|
-
export { RULES, SKILLS, buildPackageJson } from "./claude-context.js";
|
|
41
|
+
export { RULES, SKILLS, DOCS, EXAMPLES, buildPackageJson, CURSOR_MCP_CONFIG, CURSOR_RULES } from "./claude-context.js";
|
|
42
42
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAGH,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG3D,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAGtD,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAGH,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG3D,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAGtD,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
*/
|
|
37
37
|
export { listTemplates, getTemplate } from "./registry.js";
|
|
38
38
|
export { generateFromTemplate } from "./generator.js";
|
|
39
|
-
// Re-export Claude context (rules, skills, package.json
|
|
40
|
-
export { RULES, SKILLS, buildPackageJson } from "./claude-context.js";
|
|
39
|
+
// Re-export Claude context (rules, skills, docs, examples, package.json, cursor config)
|
|
40
|
+
export { RULES, SKILLS, DOCS, EXAMPLES, buildPackageJson, CURSOR_MCP_CONFIG, CURSOR_RULES } from "./claude-context.js";
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAIH,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEtD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAIH,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEtD,wFAAwF;AACxF,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
|