-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 3.41 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 3.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "agent-world",
"version": "0.2.0",
"private": true,
"type": "commonjs",
"description": "Spatial RPG-style visualizer for live Claude Code CLI sessions — every claude process becomes a sprite in a village.",
"keywords": ["claude", "claude-code", "visualizer", "cli", "rpg", "anthropic"],
"homepage": "https://github.com/codemoo/agent-world",
"repository": {
"type": "git",
"url": "https://github.com/codemoo/agent-world.git"
},
"license": "MIT",
"bin": {
"agent-world": "bin/agent-world.js"
},
"files": [
"bin/",
"server/",
"adapter/",
"frontend/",
"scripts/install-agent-world-hooks.js",
"scripts/fix-pty-perms.js",
"data/world-layout.default.json",
"LICENSE",
"README.md"
],
"engines": {
"node": ">=18"
},
"scripts": {
"start": "node server/index.js",
"test": "npm run test:all",
"test:unit": "node --test test/eventsPipeline.test.js test/frontendConnectionConfig.test.js test/avatarRuntime.test.js test/avatarNormalizer.test.js test/interactionKind.test.js test/agentDialogues.test.js test/poseResolver.test.js test/stationFacing.test.js test/activityLoop.test.js test/reactions.test.js test/groupScenes.test.js test/ensurePlaywrightChromium.test.js test/wsTicketStore.test.js test/worldLayout.test.js test/sessionStatus.test.js test/repoRoot.test.js test/transcriptPreview.test.js test/claudeSnapshotter.test.js test/buildingAssignments.test.js test/claudeAdapter.test.js test/claudeAdapter.leisure.test.js test/stateDiffBroadcast.test.js test/hookPluginInstaller.test.js test/terminalFocus.test.js test/ptyServer.test.js test/costTracker.test.js test/permissionStore.test.js",
"postinstall": "node scripts/fix-pty-perms.js",
"install-hooks": "node scripts/install-agent-world-hooks.js",
"build-assets": "node scripts/build-asset-manifest.js",
"test:legacy": "node --test legacy/paperclip/test/paperclipAdapter.test.js legacy/paperclip/test/paperclipSync.test.js",
"test:request": "node --test test/eventsApi.request.test.js",
"test:integration": "node --test test/eventsApi.integration.test.js test/frontendRuntime.integration.test.js test/claudeFakeWorld.integration.test.js",
"test:e2e:browser:bootstrap": "node test/helpers/ensurePlaywrightChromium.cjs",
"test:e2e:browser": "node test/helpers/runPlaywrightBrowserTest.cjs",
"test:e2e": "node --test test/eventsApi.e2e.test.js test/frontendSmoke.e2e.test.js && npm run test:e2e:browser",
"test:smoke": "npm run test:unit && npm run test:request && npm run test:integration && npm run test:e2e",
"test:all": "npm run test:smoke",
"daemon:install": "mkdir -p logs && cp scripts/agent-world.plist ~/Library/LaunchAgents/dev.agentworld.server.plist && launchctl load ~/Library/LaunchAgents/dev.agentworld.server.plist",
"daemon:uninstall": "launchctl unload ~/Library/LaunchAgents/dev.agentworld.server.plist 2>/dev/null; rm -f ~/Library/LaunchAgents/dev.agentworld.server.plist",
"daemon:restart": "launchctl kickstart -k gui/$(id -u)/dev.agentworld.server",
"daemon:status": "launchctl list dev.agentworld.server 2>/dev/null || echo 'Not loaded'",
"daemon:logs": "tail -f logs/agent-world.stdout.log logs/agent-world.stderr.log"
},
"dependencies": {
"@xterm/addon-fit": "^0.11.0",
"@xterm/xterm": "^6.0.0",
"express": "^4.19.2",
"node-pty": "^1.1.0",
"ws": "^8.18.0"
},
"devDependencies": {
"@playwright/test": "^1.58.0"
}
}