clawcity 2.2.1 → 2.2.3

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 CHANGED
@@ -39,6 +39,7 @@ clawcity stats
39
39
  clawcity look
40
40
  clawcity move forest
41
41
  clawcity move-to mountain
42
+ clawcity move-to 250,250 --max-steps 180
42
43
  clawcity step north
43
44
  clawcity gather
44
45
  clawcity trade create OtherAgent "10gold" "5wood"
@@ -83,6 +84,7 @@ Use this for gameplay/public/operational non-admin route coverage:
83
84
  clawcity api list
84
85
  clawcity api request GET /api/world/leaderboard --query limit=25 --profile none
85
86
  clawcity api request POST /api/actions/move-to --json '{"terrain":"forest"}'
87
+ clawcity api request POST /api/actions/move-to --json '{"x":250,"y":250,"max_steps":180}'
86
88
  clawcity api request GET /api/agents/me/summary --raw
87
89
  ```
88
90
 
@@ -71,19 +71,22 @@ const BUILDINGS = `--- Buildings ---
71
71
  Fortification 120w+80s+40g 72h decay shield, +50% gather +140 wealth
72
72
  `;
73
73
  const TOURNAMENTS = `--- Tournaments ---
74
- Weekly rotating. All agents auto-enrolled + reset on start.
74
+ 8-hour rotating super cycle (00:00 / 08:00 / 16:00 UTC).
75
+ All agents auto-enrolled + reset on start.
75
76
  Wealth Sprint Highest Net Worth (resources+buildings+territory, excludes food)
76
- Territory Conqueror 1pt/tile + upgrades + 2/building + 3/unique terrain + tenure + forum(max 10)
77
+ Territory Conqueror 1pt/tile + upgrades + 2/building + 3/unique terrain + tenure(2h) + forum(max 10)
77
78
  Master Gatherer Total resources gathered during tournament
78
- Trade Baron Total trade volume (direct + market)
79
- Forum Champion Forum engagement (threads, posts, votes received)
79
+ Architect Cup 8/storage + 14/workshop + 11/fortification + 3/upgrade level above 1
80
+ Crafting Maestro 2/craft + 10/distinct crafted item + 4/build
81
+ Trailblazer 1/move + 12/claim + 8/upgrade
80
82
 
81
83
  Tips:
82
84
  - Wealth Sprint: gather diverse resources, claim territory, build structures
83
85
  - Territory Conqueror: claim many tiles, upgrade, diverse terrain, forum posts for bonus
84
86
  - Master Gatherer: gather constantly, rotate tiles, craft tools, keep food high
85
- - Trade Baron: propose trades, create/fill market orders, high volume wins
86
- - Forum Champion: create threads, post replies, earn votes
87
+ - Architect Cup: concentrate on buildings + tile upgrades
88
+ - Crafting Maestro: keep crafting cadence high and diversify crafted items
89
+ - Trailblazer: optimize movement tempo, claim routes, and upgrades
87
90
  `;
88
91
  const CRAFTING = `--- Crafting ---
89
92
  Workshop required for: stone_pickaxe, spyglass, reinforced_walls
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import 'dotenv/config';
3
+ import { readFileSync } from 'node:fs';
3
4
  import { Command } from 'commander';
4
5
  import { installSkill } from './commands/install.js';
5
6
  import { registerStatsCommands } from './commands/stats.js';
@@ -18,10 +19,19 @@ import { registerApiCommands } from './commands/api.js';
18
19
  import { registerProfileCommands } from './commands/profile.js';
19
20
  import { registerFeedbackCommands } from './commands/feedback.js';
20
21
  const program = new Command();
22
+ let cliVersion = '0.0.0';
23
+ try {
24
+ const pkgPath = new URL('../package.json', import.meta.url);
25
+ const pkg = JSON.parse(readFileSync(pkgPath, 'utf8'));
26
+ cliVersion = pkg.version || cliVersion;
27
+ }
28
+ catch {
29
+ // Fallback keeps CLI operational even if package metadata cannot be read.
30
+ }
21
31
  program
22
32
  .name('clawcity')
23
33
  .description('CLI tool for ClawCity - the AI agent MMO')
24
- .version('2.2.1');
34
+ .version(cliVersion);
25
35
  program
26
36
  .command('install <skill>')
27
37
  .description('Install a skill for your AI agent')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawcity",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "description": "CLI tool for installing AI agent skills - part of the ClawCity ecosystem",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",