Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 4.78 KB
/
Copy pathpackage.json
File metadata and controls
119 lines (119 loc) · 4.78 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
{
"name": "oh-my-opencode-slim",
"version": "2.2.22",
"packageManager": "bun@1.3.14",
"description": "Lightweight agent orchestration plugin for OpenCode - a slimmed-down fork of oh-my-opencode",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./server": {
"import": "./dist/server/index.js"
},
"./tui": {
"import": "./dist/tui2.js",
"types": "./dist/v2/tui.d.ts"
}
},
"bin": {
"oh-my-opencode-slim": "./dist/cli/index.js"
},
"type": "module",
"license": "MIT",
"keywords": [
"opencode",
"opencode-plugin",
"ai",
"agents",
"orchestration",
"llm",
"claude",
"gpt",
"gemini"
],
"repository": {
"type": "git",
"url": "https://github.com/alvinunreal/oh-my-opencode-slim"
},
"bugs": {
"url": "https://github.com/alvinunreal/oh-my-opencode-slim/issues"
},
"homepage": "https://github.com/alvinunreal/oh-my-opencode-slim#readme",
"files": [
"dist",
"src/companion/companion-manifest.json",
"src/skills",
"oh-my-opencode-slim.schema.json",
"README.md",
"README.zh-CN.md",
"README.ja-JP.md",
"README.ko-KR.md",
"README.fa-IR.md",
"LICENSE"
],
"// build:plugin": "Keeps bundling src/tui.ts -> dist/tui.js: required by scripts/verify-release-artifact.ts (packagedRequiredFiles) and loaded by v1 TUI hosts. The v2 TUI entry is dist/tui2.js (see build:tui / the ./tui export).",
"scripts": {
"clean:dist": "bun -e \"import { rmSync } from 'node:fs'; rmSync('dist', { recursive: true, force: true })\"",
"build:plugin": "bun build src/index.ts src/tui.ts --outdir dist --target node --format esm --external @opencode-ai/plugin --external @opencode-ai/plugin/tui --external @opencode-ai/sdk --external @opencode-ai/sdk/v2 --external @opentui/core --external @opentui/solid --external solid-js --external jsdom --external zod",
"build:v2": "bun build src/index.ts --outfile dist/server/index.js --target node --format esm --external jsdom",
"build:tui": "bun build src/v2/tui.ts --outfile dist/tui2.js --target node --format esm --external @opencode-ai/plugin --external @opencode-ai/plugin/tui --external @opencode-ai/sdk --external @opencode-ai/sdk/v2 --external @opentui/core --external @opentui/solid --external solid-js --external jsdom",
"build:cli": "bun build src/cli/index.ts --outdir dist/cli --target node --format esm --external @opencode-ai/plugin --external @opencode-ai/plugin/tui --external @opencode-ai/sdk --external @opencode-ai/sdk/v2 --external jsdom --external zod",
"build": "bun run clean:dist && bun run build:plugin && bun run build:v2 && bun run build:tui && bun run build:cli && tsc --emitDeclarationOnly && bun run generate-schema",
"prepare": "bun run build",
"contributors:add": "all-contributors add",
"contributors:check": "all-contributors check",
"contributors:generate": "all-contributors generate",
"generate-schema": "bun run scripts/generate-schema.ts",
"verify:release": "bun run scripts/verify-release-artifact.ts",
"verify:host-smoke": "bun run scripts/verify-opencode-host-smoke.ts",
"verify:cache-stability": "bun run scripts/verify-opencode-cache-stability.ts",
"cache:smoke": "bun run scripts/cache-smoke.ts",
"typecheck": "tsc --noEmit",
"test": "bun test",
"lint": "biome lint .",
"format": "biome format . --write",
"check": "biome check --write .",
"check:ci": "biome check .",
"dev": "bun run build && opencode",
"prepublishOnly": "bun run build",
"release:patch": "npm version patch && git push --follow-tags && npm publish",
"release:minor": "npm version minor && git push --follow-tags && npm publish",
"release:major": "npm version major && git push --follow-tags && npm publish",
"release:beta": "npm version premajor --preid beta && git push --follow-tags && npm publish --tag beta",
"release:beta:next": "npm version prerelease --preid beta && git push --follow-tags && npm publish --tag beta"
},
"dependencies": {
"@ast-grep/cli": "^0.44.1",
"@mozilla/readability": "^0.6.0",
"@opencode-ai/plugin": "1.18.23",
"@opencode-ai/sdk": "1.18.23",
"jsdom": "^29.0.0",
"lru-cache": "^11.5.2",
"turndown": "^7.2.4"
},
"optionalDependencies": {
"@opentui/core": "0.5.11",
"@opentui/solid": "0.5.11",
"solid-js": "1.9.12"
},
"devDependencies": {
"@biomejs/biome": "2.5.4",
"@opencode/plugin": "2.0.7",
"@types/jsdom": "28",
"@types/node": "^26.1.1",
"@types/turndown": "^5.0.6",
"all-contributors-cli": "^6.26.1",
"bun-types": "^1.3.14",
"typescript": "7.0",
"zod": "^4.4.3"
},
"peerDependencies": {
"zod": "^4.0.0"
},
"trustedDependencies": [
"@ast-grep/cli"
]
}