-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.43 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.43 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
{
"name": "@devcxl/opencode-cabbage",
"version": "1.3.0",
"description": "OpenCode 全流程开发插件 — 需求→设计→任务→编码→测试→审查→自动合并,支持自动编排与并行 Subagent",
"repository": {
"type": "git",
"url": "git+https://github.com/devcxl/opencode-cabbage.git"
},
"homepage": "https://github.com/devcxl/opencode-cabbage",
"bugs": {
"url": "https://github.com/devcxl/opencode-cabbage/issues"
},
"keywords": [
"codex",
"codex-plugin",
"development-workflow",
"orchestration",
"tdd",
"opencode",
"opencode-plugin"
],
"type": "module",
"engines": {
"node": ">=24"
},
"main": "./dist/index.js",
"oc-plugin": [
"server"
],
"exports": {
".": {
"import": "./dist/index.js"
},
"./server": {
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"assets",
"README.md",
".codex-plugin",
"codex-skills",
"hooks"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json",
"prepublishOnly": "npm run build",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run",
"prompt-lint": "vitest run test/plugin/prompt-lint.test.ts",
"test:pack": "npm run build && pack_out=$(npm pack --dry-run 2>&1); echo \"$pack_out\" | grep -q 'dist/kernel/' || { echo 'FAIL: tarball 缺少 dist/kernel/'; exit 1; }; echo \"$pack_out\" | grep -q 'dist/flowrun/' && { echo 'FAIL: tarball 含过期 flowrun/ 残留'; exit 1; }; for f in '.codex-plugin/plugin.json' 'codex-skills/flow-setup/SKILL.md' 'codex-skills/agent-dev-lifecycle/SKILL.md' 'hooks/hooks.json' 'dist/hooks/session-start.js'; do echo \"$pack_out\" | grep -q \"$f\" || { echo \"FAIL: tarball 缺少 $f\"; exit 1; }; done; echo 'PASS: tarball 含 dist/kernel/ + Codex 插件文件(manifest/skills/hooks/dist-hooks),无 flowrun/ 残留'",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"dependencies": {
"@opencode-ai/plugin": "^1.17.0",
"@opencode-ai/sdk": "^1.17.14",
"yaml": "^2.8.3"
},
"devDependencies": {
"@types/node": "^24.6.0",
"mermaid": "^11.16.0",
"typescript": "^5.9.3",
"vitepress": "^1.6.4",
"vitepress-plugin-mermaid": "^2.0.17",
"vitest": "^3.2.4"
}
}