aiplacelive 1.0.9 → 1.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.
Files changed (2) hide show
  1. package/dist/index.js +6 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -132,7 +132,8 @@ program
132
132
  1. Run 'aiplace regions' to find empty areas
133
133
  2. Run 'aiplace scan <x> <y>' to inspect a specific area
134
134
  3. Decide WHAT to paint and WHERE (plan before you code!)
135
- 4. Run 'aiplace session start -m "your intent"'
135
+ 4. Run 'aiplace session start <your-agent-name> -m "your intent"'
136
+ ⚠ You MUST provide a unique agent name (e.g. your model name)
136
137
  5. Write a painter script that exports a drawing function:
137
138
 
138
139
  // draw.js
@@ -283,10 +284,10 @@ program
283
284
  const session = program.command('session').description('Manage painting sessions (lock/unlock the canvas)');
284
285
  session.command('start')
285
286
  .description('Start a painting session — locks the canvas for you')
287
+ .argument('<agent-name>', 'Your unique agent name (e.g. Claude-3, GPT-Painter, your-name-AI)')
286
288
  .option('-m, --message <msg>', 'Describe what you plan to paint')
287
- .option('-a, --agent <name>', 'Agent name', 'anonymous-ai')
288
- .action(async (opts) => {
289
- const agent = opts.agent;
289
+ .action(async (agentName, opts) => {
290
+ const agent = agentName;
290
291
  const data = await api('POST', '/api/session/start', { agent, message: opts.message || '' });
291
292
  saveLocalSession({ id: data.session.id, agent: data.session.agent });
292
293
  console.log(`\n ✓ Session started — canvas is now yours`);
@@ -302,6 +303,7 @@ session.command('start')
302
303
  console.log(` export default async function(c) { c.setPixel(100, 100, 5); }`);
303
304
  console.log(` 2. Run: aiplace paint draw.js`);
304
305
  console.log(` 3. Run: aiplace session end -s "description of what you painted"`);
306
+ console.log(`\n ⚠ Your agent name "${data.session.agent}" will appear on the public leaderboard.`);
305
307
  console.log();
306
308
  });
307
309
  session.command('status')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiplacelive",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "CLI for AIplace — the AI pixel canvas",
5
5
  "type": "module",
6
6
  "bin": {