@mageyuki/opencode-subagent-statusline 0.0.0-stage → 0.7.1
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/LICENSE +21 -0
- package/README.md +265 -2
- package/assets/opencode_full.webp +0 -0
- package/assets/opencode_sidebar.webp +0 -0
- package/assets/subagents_monitor_banner.webp +0 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1505 -0
- package/dist/metafile-esm.json +1 -0
- package/dist/tui-v1.d.ts +130 -0
- package/dist/tui-v1.js +4380 -0
- package/dist/tui-v2.d.ts +5 -0
- package/dist/tui-v2.js +2922 -0
- package/dist/tui.d.ts +7 -0
- package/dist/tui.js +15 -0
- package/package.json +105 -3
package/dist/tui.d.ts
ADDED
package/dist/tui.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const plugin = {
|
|
2
|
+
id: "subagent-statusline.tui",
|
|
3
|
+
async tui(...args) {
|
|
4
|
+
const { default: v1 } = await import("./tui-v1.js");
|
|
5
|
+
return v1.tui(...args);
|
|
6
|
+
},
|
|
7
|
+
async setup(context) {
|
|
8
|
+
const { default: v2 } = await import("./tui-v2.js");
|
|
9
|
+
return v2.setup(context);
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
var tui_default = plugin;
|
|
13
|
+
export {
|
|
14
|
+
tui_default as default
|
|
15
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,108 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mageyuki/opencode-subagent-statusline",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.7.1",
|
|
4
|
+
"description": "Unofficial fork of opencode-subagent-statusline: OpenCode plugin that exposes subagent session statusline state, with a V2 bridge",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/mageyuki/sub-agent-statusline.git"
|
|
9
|
+
},
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/mageyuki/sub-agent-statusline/issues"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/mageyuki/sub-agent-statusline#readme",
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=22.13"
|
|
16
|
+
},
|
|
17
|
+
"main": "./dist/tui.js",
|
|
18
|
+
"types": "./dist/tui.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/tui.d.ts",
|
|
22
|
+
"import": "./dist/tui.js"
|
|
23
|
+
},
|
|
24
|
+
"./tui": {
|
|
25
|
+
"types": "./dist/tui.d.ts",
|
|
26
|
+
"import": "./dist/tui.js"
|
|
27
|
+
},
|
|
28
|
+
"./runtime": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"import": "./dist/index.js"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"assets",
|
|
36
|
+
"README.md"
|
|
37
|
+
],
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public",
|
|
40
|
+
"provenance": true
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"opencode",
|
|
44
|
+
"plugin",
|
|
45
|
+
"statusline",
|
|
46
|
+
"subagent"
|
|
47
|
+
],
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@opencode-ai/plugin": ">=1.14.50 <2",
|
|
51
|
+
"@opencode/plugin": "2.0.11",
|
|
52
|
+
"@opencode/theme": "2.0.11",
|
|
53
|
+
"@opentui/core": ">=0.4.0 <0.6",
|
|
54
|
+
"@opentui/keymap": ">=0.4.0 <0.6",
|
|
55
|
+
"@opentui/solid": ">=0.4.0 <0.6",
|
|
56
|
+
"solid-js": ">=1.9.12 <2"
|
|
57
|
+
},
|
|
58
|
+
"peerDependenciesMeta": {
|
|
59
|
+
"@opencode-ai/plugin": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"@opencode/plugin": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"@opencode/theme": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"@opentui/core": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"@opentui/keymap": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"@opentui/solid": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"solid-js": {
|
|
78
|
+
"optional": true
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@opencode-ai/plugin": "^1.15.11",
|
|
83
|
+
"@opencode/client": "2.0.11",
|
|
84
|
+
"@opencode/plugin": "2.0.11",
|
|
85
|
+
"@opencode/theme": "2.0.11",
|
|
86
|
+
"@opentui/core": "0.5.10",
|
|
87
|
+
"@opentui/keymap": "0.5.10",
|
|
88
|
+
"@opentui/solid": "0.5.10",
|
|
89
|
+
"@types/node": "^22.19.19",
|
|
90
|
+
"@vitest/coverage-v8": "^4.1.7",
|
|
91
|
+
"esbuild-plugin-solid": "^0.6.0",
|
|
92
|
+
"solid-js": "1.9.12",
|
|
93
|
+
"tsup": "^8.5.1",
|
|
94
|
+
"typescript": "^5.9.3",
|
|
95
|
+
"vitest": "^4.1.7"
|
|
96
|
+
},
|
|
97
|
+
"scripts": {
|
|
98
|
+
"build": "node --input-type=module -e \"import { rm } from 'node:fs/promises'; await rm('dist', { recursive: true, force: true });\" && tsup",
|
|
99
|
+
"audit:prod": "pnpm audit --prod --audit-level moderate",
|
|
100
|
+
"pack:dry-run": "pnpm pack --dry-run",
|
|
101
|
+
"test": "vitest run",
|
|
102
|
+
"test:package": "pnpm build && vitest run --config vitest.package.config.ts",
|
|
103
|
+
"test:watch": "vitest",
|
|
104
|
+
"test:coverage": "vitest run --coverage",
|
|
105
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
106
|
+
"dev": "tsup --watch"
|
|
107
|
+
}
|
|
6
108
|
}
|