-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 2.13 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
{
"name": "shannon-statusline",
"version": "0.4.0",
"description": "StatusLine plugin for Shannon — rich agent monitoring bridge for Claude Code",
"type": "module",
"main": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"bin": {
"shannon-statusline": "./dist/index.js"
},
"scripts": {
"build": "tsc && node -e \"const fs=require('fs');const f='dist/index.js';const c=fs.readFileSync(f,'utf8');if(!c.startsWith('#!/'))fs.writeFileSync(f,'#!/usr/bin/env node\\n'+c);fs.chmodSync(f,0o755)\"",
"dev": "tsc --watch",
"prepublishOnly": "bun run build",
"sync:shannon": "bun run build && cp -R dist/ \"${SHANNON_DIR:-$HOME/Desktop/Shannon}/src-tauri/resources/statusline-plugin/dist/\" && echo \"✅ dist synced to ${SHANNON_DIR:-$HOME/Desktop/Shannon}/src-tauri/resources/statusline-plugin/dist/\"",
"sync:app": "cp -R dist/ /Applications/Shannon.app/Contents/Resources/statusline-plugin/dist/",
"test:stdin": "echo '{\"model\":{\"display_name\":\"Opus\",\"id\":\"claude-opus-4-6\"},\"context_window\":{\"used_percentage\":18,\"context_window_size\":200000,\"current_usage\":{\"input_tokens\":36000,\"output_tokens\":300,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":500}},\"session_id\":\"test-123\",\"transcript_path\":\"/tmp/test.jsonl\",\"cwd\":\"tmp\",\"workspace\":{\"current_dir\":\"/tmp\",\"project_dir\":\"/tmp\"}}' | node dist/index.js",
"test": "bun test"
},
"repository": {
"type": "git",
"url": "https://github.com/RealAlexandreAI/shannon-statusline.git"
},
"homepage": "https://github.com/RealAlexandreAI/shannon-statusline#readme",
"bugs": {
"url": "https://github.com/RealAlexandreAI/shannon-statusline/issues"
},
"packageManager": "bun@1.3.11",
"keywords": [
"claude-code",
"statusline",
"shannon",
"claude",
"ai",
"terminal",
"hud"
],
"license": "MIT",
"engines": {
"node": ">=22",
"bun": ">=1.3.11"
},
"devDependencies": {
"@types/node": "^25.5.0",
"typescript": "^6.0.2"
}
}