Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 5.81 KB
/
Copy pathpackage.json
File metadata and controls
134 lines (134 loc) · 5.81 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "@code-yeongyu/senpi",
"version": "2026.10.10-5",
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
"type": "module",
"piConfig": {
"configDir": ".senpi",
"name": "senpi"
},
"bin": {
"pi": "dist/bundle/cli.js",
"senpi": "dist/bundle/cli.js"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./bun-runtime": {
"types": "./dist/bun/runtime-modules.d.ts",
"import": "./dist/bun/runtime-modules.js"
},
"./rpc-entry": {
"import": "./dist/rpc-entry.js"
},
"./client": {
"types": "./dist/client/index.d.ts",
"import": "./dist/client/index.js"
}
},
"files": [
"dist",
"!dist/**/*.map",
"!dist/experimental",
"!dist/cli/experimental",
"docs",
"examples",
"containerization.md",
"CHANGELOG.md"
],
"scripts": {
"check:provider-defaults": "vitest run test/model-resolver.test.ts -t \"default model selection\"",
"clean": "shx rm -rf dist",
"build": "tsgo -p tsconfig.build.json && npm run copy-assets && shx chmod +x dist/cli.js dist/rpc-entry.js && shx cp dist/cli.js dist/senpi && shx chmod +x dist/senpi && npm run build:bundle",
"build:bundle": "node ../../scripts/build-coding-agent-bundle.mjs",
"build:unbundled": "tsgo -p tsconfig.build.json && shx chmod +x dist/cli.js dist/rpc-entry.js && npm run copy-assets",
"build:binary": "npm --prefix ../tui run build && npm --prefix ../telemetry run build && npm --prefix ../ai run build && npm --prefix ../agent run build && npm --prefix ../protocol run build && npm --prefix ../client run build && npm --prefix ../pty run build && npm run build && node ../../scripts/prepare-bun-compile-assets.mjs && bun build --compile --splitting --compile-autoload-package-json --no-compile-autoload-dotenv --no-compile-autoload-bunfig --minify --keep-names ./dist/bun/cli.js ./src/modes/rpc/session-worker.ts ./src/utils/image-resize-worker.ts --outfile dist/pi && npm run copy-binary-assets",
"copy-assets": "shx mkdir -p dist/modes/interactive/theme && shx cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/ && shx mkdir -p dist/modes/interactive/assets && shx cp src/modes/interactive/assets/*.png dist/modes/interactive/assets/ && shx mkdir -p dist/core/export-html/vendor && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html/ && shx cp src/core/export-html/vendor/*.js dist/core/export-html/vendor/ && shx mkdir -p dist/core/extensions/builtin/imagegen/skill && shx cp src/core/extensions/builtin/imagegen/skill/SKILL.md dist/core/extensions/builtin/imagegen/skill/",
"copy-binary-assets": "shx mkdir -p dist && shx rm -f dist/package.json && shx cp README.md dist/ && shx cp CHANGELOG.md dist/ && shx mkdir -p dist/theme && shx cp src/modes/interactive/theme/*.json dist/theme/ && shx mkdir -p dist/assets && shx cp src/modes/interactive/assets/*.png dist/assets/ && shx mkdir -p dist/export-html/vendor && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/export-html/ && shx cp -r docs dist/ && shx cp -r examples dist/ && node ../../scripts/copy-codemode-sidecar.mjs dist && shx cp package.json dist/ && shx cp ../../node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm dist/ && shx mkdir -p dist/native/darwin dist/native/win32 && shx cp -r ../../packages/tui/native/darwin/prebuilds dist/native/darwin/ && shx cp -r ../../packages/tui/native/win32/prebuilds dist/native/win32/ && shx mkdir -p dist/core/extensions/builtin/imagegen/skill && shx cp src/core/extensions/builtin/imagegen/skill/SKILL.md dist/core/extensions/builtin/imagegen/skill/ && node ../../scripts/copy-pty-native.mjs",
"test": "vitest --run",
"prepublishOnly": "npm run clean && npm run build",
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
"qa:app-server": "node scripts/qa-app-server/run-all.mjs"
},
"dependencies": {
"@earendil-works/chord": "0.99.1",
"@earendil-works/pi-agent-core": "^2026.10.10-5",
"@earendil-works/pi-ai": "^2026.10.10-5",
"@earendil-works/pi-client": "^2026.10.10-5",
"@earendil-works/pi-protocol": "^2026.10.10-5",
"@earendil-works/pi-tui": "^2026.10.10-5",
"@silvia-odwyer/photon-node": "0.3.4",
"chalk": "6.0.0",
"cross-spawn": "7.0.6",
"diff": "9.0.0",
"es-module-lexer": "3.0.2",
"grok-mermaid": "0.2.3",
"highlight.js": "11.12.0",
"hosted-git-info": "10.1.1",
"ignore": "7.0.9",
"jiti": "2.7.0",
"minimatch": "10.2.6",
"proper-lockfile": "4.1.2",
"semver": "7.8.5",
"typebox": "1.3.34",
"undici": "8.10.2",
"yaml": "2.9.1",
"@anthropic-ai/claude-agent-sdk": "0.3.289",
"@anthropic-ai/sdk": "0.127.0",
"@code-yeongyu/senpi-codemode": "^2026.10.10-5",
"@earendil-works/pi-pty": "^2026.10.10-5",
"@modelcontextprotocol/sdk": "1.30.0",
"@mozilla/readability": "0.6.0",
"linkedom": "0.18.13",
"marked": "18.0.13",
"picomatch": "4.0.7",
"signal-exit": "3.0.7",
"turndown": "7.2.4",
"ws": "8.21.3",
"zod": "4.6.5"
},
"overrides": {
"protobufjs": "7.6.5",
"rimraf": "6.1.3",
"gaxios": {
"rimraf": "6.1.3"
},
"@hono/node-server": "2.1.1"
},
"devDependencies": {
"@types/cross-spawn": "6.0.6",
"@types/hosted-git-info": "3.0.5",
"@types/node": "26.6.2",
"@types/proper-lockfile": "4.1.4",
"@types/semver": "7.8.0",
"shx": "0.4.0",
"typescript": "7.0.2",
"vitest": "5.0.1",
"@types/picomatch": "4.0.3",
"@types/turndown": "5.0.6",
"@types/ws": "8.18.1"
},
"keywords": [
"coding-agent",
"ai",
"llm",
"cli",
"tui",
"agent"
],
"author": "Mario Zechner",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/code-yeongyu/senpi.git",
"directory": "packages/coding-agent"
},
"engines": {
"node": ">=24.0.0"
},
"private": true
}