my-opencode 1.2.0 → 1.3.0

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.
Files changed (39) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +259 -180
  3. package/agents/architect.md +30 -30
  4. package/agents/code-reviewer.md +29 -29
  5. package/agents/executor.md +30 -30
  6. package/agents/fullstack-dev.md +57 -57
  7. package/agents/spec-writer.md +37 -37
  8. package/agents/team-lead.md +60 -60
  9. package/agents/tech-writer.md +30 -30
  10. package/agents/test-engineer.md +30 -30
  11. package/agents/verifier.md +33 -33
  12. package/bin/cli.js +341 -311
  13. package/bin/moc +199 -0
  14. package/opencode.json +170 -167
  15. package/package.json +50 -48
  16. package/plugins/README.md +64 -0
  17. package/plugins/provider-profile.mjs +139 -0
  18. package/scripts/postinstall.js +202 -182
  19. package/skills/adr/SKILL.md +91 -91
  20. package/skills/adr/references/templates.md +100 -100
  21. package/skills/adr/scripts/README.md +5 -5
  22. package/skills/dev-flow/SKILL.md +188 -188
  23. package/skills/dev-flow/references/code-phase.md +72 -72
  24. package/skills/dev-flow/references/contract-phase.md +81 -81
  25. package/skills/dev-flow/references/verify-phase.md +129 -129
  26. package/skills/dev-flow/scripts/README.md +3 -3
  27. package/skills/docs-gen/SKILL.md +162 -162
  28. package/skills/docs-gen/references/doc-styles.md +216 -216
  29. package/skills/docs-gen/scripts/README.md +5 -5
  30. package/skills/orchestrate/SKILL.md +112 -112
  31. package/skills/orchestrate/references/orchestration-patterns.md +56 -56
  32. package/skills/pr-review/SKILL.md +110 -110
  33. package/skills/pr-review/references/review-dimensions.md +117 -117
  34. package/skills/pr-review/references/security-checklist.md +122 -122
  35. package/skills/pr-review/scripts/README.md +5 -5
  36. package/skills/test-gen/SKILL.md +143 -143
  37. package/skills/test-gen/references/framework-detection.md +105 -105
  38. package/skills/test-gen/references/test-patterns.md +260 -260
  39. package/skills/test-gen/scripts/README.md +5 -5
package/bin/moc ADDED
@@ -0,0 +1,199 @@
1
+ #!/bin/sh
2
+
3
+ profile=
4
+ known_profiles="opencode openai google copilot"
5
+
6
+ print_help() {
7
+ cat <<'EOF'
8
+ Usage:
9
+ moc [profile] [opencode-args...]
10
+ moc --help
11
+ moc doctor [profile]
12
+ moc print-config [profile]
13
+
14
+ Profiles:
15
+ opencode | openai | google | copilot
16
+
17
+ Examples:
18
+ moc
19
+ moc google
20
+ moc openai --list-agents
21
+ moc doctor google
22
+ moc print-config google
23
+
24
+ Notes:
25
+ - `moc` without extra args launches interactive opencode.
26
+ - Use `moc doctor` or `moc print-config` for non-interactive debugging.
27
+ EOF
28
+ }
29
+
30
+ print_doctor() {
31
+ active_profile=$1
32
+ printf 'profile=%s\n' "$active_profile"
33
+ printf 'plugin_path=%s\n' "$plugin_path"
34
+ printf 'config_path=%s\n' "$config_path"
35
+ printf 'cache_content_path=%s\n' "$cache_content_path"
36
+ printf 'cache_meta_path=%s\n' "$cache_meta_path"
37
+ printf 'plugin_exists=%s\n' "$( [ -f "$plugin_path" ] && printf yes || printf no )"
38
+ printf 'config_exists=%s\n' "$( [ -f "$config_path" ] && printf yes || printf no )"
39
+ printf 'cache_content_exists=%s\n' "$( [ -f "$cache_content_path" ] && printf yes || printf no )"
40
+ printf 'cache_meta_exists=%s\n' "$( [ -f "$cache_meta_path" ] && printf yes || printf no )"
41
+ }
42
+
43
+ case "${1-}" in
44
+ --help|-h|help)
45
+ print_help
46
+ exit 0
47
+ ;;
48
+ "")
49
+ profile=opencode
50
+ ;;
51
+ doctor)
52
+ profile=${2-opencode}
53
+ ;;
54
+ print-config)
55
+ profile=${2-opencode}
56
+ ;;
57
+ opencode|openai|google|copilot)
58
+ profile=$1
59
+ shift
60
+ ;;
61
+ esac
62
+
63
+ if [ -z "$profile" ]; then
64
+ exec opencode "$@"
65
+ fi
66
+
67
+ case "$profile" in
68
+ opencode|openai|google|copilot)
69
+ ;;
70
+ *)
71
+ printf '%s\n' "moc: unknown profile '$profile'. Must be one of: $known_profiles" >&2
72
+ exit 1
73
+ ;;
74
+ esac
75
+
76
+ exec_opencode_with_profile() {
77
+ exec env \
78
+ OPENCODE_PROVIDER_PROFILE="$profile" \
79
+ OPENCODE_CONFIG_CONTENT="$config_content" \
80
+ opencode "$@"
81
+ }
82
+
83
+ plugin_path=.opencode/plugins/provider-profile.mjs
84
+ config_path=.opencode/opencode.json
85
+ cache_dir=.opencode/cache/provider-profile
86
+ cache_content_path=$cache_dir/$profile.json
87
+ cache_meta_path=$cache_dir/$profile.meta
88
+
89
+ get_mtime() {
90
+ if stat -f %m "$1" >/dev/null 2>&1; then
91
+ stat -f %m "$1"
92
+ else
93
+ stat -c %Y "$1"
94
+ fi
95
+ }
96
+
97
+ read_meta() {
98
+ meta_profile=
99
+ meta_plugin_mtime=
100
+ meta_config_mtime=
101
+
102
+ [ -f "$1" ] || return 1
103
+
104
+ while IFS='=' read -r key value; do
105
+ case "$key" in
106
+ profile) meta_profile=$value ;;
107
+ plugin_mtime) meta_plugin_mtime=$value ;;
108
+ config_mtime) meta_config_mtime=$value ;;
109
+ esac
110
+ done < "$1"
111
+
112
+ [ -n "$meta_profile" ] && [ -n "$meta_plugin_mtime" ] && [ -n "$meta_config_mtime" ]
113
+ }
114
+
115
+ write_cache() {
116
+ tmp_content=$cache_content_path.tmp.$$
117
+ tmp_meta=$cache_meta_path.tmp.$$
118
+
119
+ if ! mkdir -p "$cache_dir" 2>/dev/null; then
120
+ return 1
121
+ fi
122
+
123
+ if ! printf '%s\n' "$1" > "$tmp_content"; then
124
+ rm -f "$tmp_content" "$tmp_meta"
125
+ return 1
126
+ fi
127
+
128
+ if ! {
129
+ printf 'profile=%s\n' "$profile"
130
+ printf 'plugin_mtime=%s\n' "$plugin_mtime"
131
+ printf 'config_mtime=%s\n' "$config_mtime"
132
+ } > "$tmp_meta"; then
133
+ rm -f "$tmp_content" "$tmp_meta"
134
+ return 1
135
+ fi
136
+
137
+ if ! mv "$tmp_content" "$cache_content_path" || ! mv "$tmp_meta" "$cache_meta_path"; then
138
+ rm -f "$tmp_content" "$tmp_meta"
139
+ return 1
140
+ fi
141
+
142
+ return 0
143
+ }
144
+
145
+ if [ ! -f "$plugin_path" ]; then
146
+ printf '%s\n' "moc: plugin not found at $plugin_path; falling back to plain opencode" >&2
147
+ exec opencode "$@"
148
+ fi
149
+
150
+ if [ ! -f "$config_path" ]; then
151
+ printf '%s\n' "moc: config not found at $config_path; cannot compute provider profile override" >&2
152
+ exit 1
153
+ fi
154
+
155
+ case "${1-}" in
156
+ doctor)
157
+ print_doctor "$profile"
158
+ exit 0
159
+ ;;
160
+ esac
161
+
162
+ plugin_mtime=$(get_mtime "$plugin_path") || {
163
+ printf '%s\n' "moc: failed to read plugin mtime from $plugin_path" >&2
164
+ exit 1
165
+ }
166
+
167
+ config_mtime=$(get_mtime "$config_path") || {
168
+ printf '%s\n' "moc: failed to read config mtime from $config_path" >&2
169
+ exit 1
170
+ }
171
+
172
+ config_content=
173
+
174
+ if read_meta "$cache_meta_path" && [ -f "$cache_content_path" ]; then
175
+ if [ "$meta_profile" = "$profile" ] \
176
+ && [ "$meta_plugin_mtime" = "$plugin_mtime" ] \
177
+ && [ "$meta_config_mtime" = "$config_mtime" ]; then
178
+ config_content=$(tr -d '\n' < "$cache_content_path") || config_content=
179
+ fi
180
+ fi
181
+
182
+ if [ -z "$config_content" ]; then
183
+ if ! config_content=$(OPENCODE_PROVIDER_PROFILE=$profile node "$plugin_path"); then
184
+ printf '%s\n' "moc: failed to compute OPENCODE_CONFIG_CONTENT from $plugin_path" >&2
185
+ exit 1
186
+ fi
187
+
188
+ write_cache "$config_content" || \
189
+ printf '%s\n' "moc: warning: failed to update cache at $cache_dir; continuing with fresh config" >&2
190
+ fi
191
+
192
+ case "${1-}" in
193
+ print-config)
194
+ printf '%s\n' "$config_content"
195
+ exit 0
196
+ ;;
197
+ esac
198
+
199
+ exec_opencode_with_profile "$@"
package/opencode.json CHANGED
@@ -1,167 +1,170 @@
1
- {
2
- "$schema": "https://opencode.ai/config.json",
3
- "model": "opencode/deepseek-v4-flash-free",
4
- "small_model": "opencode/nemotron-3-super-free",
5
- "default_agent": "fullstack-dev",
6
- "instructions": [
7
- "skills/adr/SKILL.md",
8
- "skills/dev-flow/SKILL.md",
9
- "skills/pr-review/SKILL.md",
10
- "skills/test-gen/SKILL.md",
11
- "skills/docs-gen/SKILL.md",
12
- "skills/orchestrate/SKILL.md"
13
- ],
14
- "agent": {
15
- "fullstack-dev": {
16
- "description": "Primary development agent. Orchestrates contract-first ADR → contract → code → verify flow.",
17
- "mode": "primary",
18
- "prompt": "{file:agents/fullstack-dev.md}",
19
- "permission": {
20
- "task": "ask"
21
- },
22
- "tools": {
23
- "read": true,
24
- "write": true,
25
- "edit": true,
26
- "bash": true
27
- }
28
- },
29
- "spec-writer": {
30
- "description": "Analyze requirements and produce contract specifications in docs/specs/. Writes persistent contracts for parallel development.",
31
- "mode": "subagent",
32
- "model": "opencode/big-pickle",
33
- "prompt": "{file:agents/spec-writer.md}",
34
- "tools": {
35
- "read": true,
36
- "bash": true,
37
- "write": true,
38
- "edit": true
39
- }
40
- },
41
- "executor": {
42
- "description": "Implement code changes following an approved contract. Full read/write access for coding.",
43
- "mode": "subagent",
44
- "prompt": "{file:agents/executor.md}",
45
- "tools": {
46
- "read": true,
47
- "write": true,
48
- "edit": true,
49
- "bash": true
50
- }
51
- },
52
- "verifier": {
53
- "description": "Run lint, typecheck, tests, and build to verify code changes. Read-only + bash.",
54
- "mode": "subagent",
55
- "model": "opencode/nemotron-3-super-free",
56
- "prompt": "{file:agents/verifier.md}",
57
- "tools": {
58
- "read": true,
59
- "bash": true,
60
- "write": false,
61
- "edit": false
62
- }
63
- },
64
- "code-reviewer": {
65
- "description": "Systematic code review across correctness, security, quality, testing, and style dimensions.",
66
- "mode": "subagent",
67
- "model": "opencode/big-pickle",
68
- "prompt": "{file:agents/code-reviewer.md}",
69
- "tools": {
70
- "read": true,
71
- "bash": true,
72
- "write": false,
73
- "edit": false
74
- }
75
- },
76
- "test-engineer": {
77
- "description": "Generate meaningful tests for source code — unit, integration, and E2E. Framework-aware.",
78
- "mode": "subagent",
79
- "prompt": "{file:agents/test-engineer.md}",
80
- "tools": {
81
- "read": true,
82
- "write": true,
83
- "edit": true,
84
- "bash": true
85
- }
86
- },
87
- "tech-writer": {
88
- "description": "Generate and update project documentation — code comments, API docs, README, and CHANGELOG.",
89
- "mode": "subagent",
90
- "prompt": "{file:agents/tech-writer.md}",
91
- "tools": {
92
- "read": true,
93
- "write": true,
94
- "edit": true,
95
- "bash": true
96
- }
97
- },
98
- "team-lead": {
99
- "description": "Multi-agent orchestrator for complex tasks. Delegates to architect, spec-writer, executor, code-reviewer, test-engineer, verifier.",
100
- "mode": "subagent",
101
- "model": "opencode/big-pickle",
102
- "prompt": "{file:agents/team-lead.md}",
103
- "tools": {
104
- "read": true,
105
- "write": true,
106
- "edit": true,
107
- "bash": true
108
- }
109
- },
110
- "architect": {
111
- "description": "Capture architecture decisions as ADR documents. Analyzes tradeoffs and records context.",
112
- "mode": "subagent",
113
- "model": "opencode/big-pickle",
114
- "prompt": "{file:agents/architect.md}",
115
- "tools": {
116
- "read": true,
117
- "write": true,
118
- "edit": true,
119
- "bash": true
120
- }
121
- }
122
- },
123
- "command": {
124
- "spec": {
125
- "description": "Create a contract specification in docs/specs/ — source of truth for implementation",
126
- "agent": "spec-writer",
127
- "subtask": true,
128
- "template": "Analyze the request and produce a contract specification document.\n\n$ARGUMENTS"
129
- },
130
- "review": {
131
- "description": "Review code changes across 5 dimensions (correctness, security, quality, testing, style)",
132
- "agent": "code-reviewer",
133
- "subtask": true,
134
- "template": "Review the current changes.\n\n$ARGUMENTS"
135
- },
136
- "test": {
137
- "description": "Generate tests for source code — auto-detects framework and conventions",
138
- "agent": "test-engineer",
139
- "subtask": true,
140
- "template": "Generate tests for the current code.\n\n$ARGUMENTS"
141
- },
142
- "docs": {
143
- "description": "Generate or update documentation — code comments, README, API docs, ADRs",
144
- "agent": "tech-writer",
145
- "subtask": true,
146
- "template": "Generate or update documentation.\n\n$ARGUMENTS"
147
- },
148
- "orchestrate": {
149
- "description": "Coordinate multiple agents for complex, multi-domain tasks",
150
- "agent": "team-lead",
151
- "subtask": true,
152
- "template": "Orchestrate the following complex task.\n\n$ARGUMENTS"
153
- },
154
- "adr": {
155
- "description": "Create or update an Architecture Decision Record",
156
- "agent": "architect",
157
- "subtask": true,
158
- "template": "Create an Architecture Decision Record.\n\n$ARGUMENTS"
159
- },
160
- "verify": {
161
- "description": "Run lint, typecheck, tests, and build to verify changes",
162
- "template": "Use the verifier agent to run the full verification suite on the current changes.\n\n$ARGUMENTS",
163
- "agent": "verifier",
164
- "subtask": true
165
- }
166
- }
167
- }
1
+ {
2
+ "$schema": "https://opencode.ai/config.json",
3
+ "model": "opencode/big-pickle",
4
+ "small_model": "opencode/deepseek-v4-flash-free",
5
+ "default_agent": "fullstack-dev",
6
+ "instructions": [
7
+ "skills/adr/SKILL.md",
8
+ "skills/dev-flow/SKILL.md",
9
+ "skills/pr-review/SKILL.md",
10
+ "skills/test-gen/SKILL.md",
11
+ "skills/docs-gen/SKILL.md",
12
+ "skills/orchestrate/SKILL.md"
13
+ ],
14
+ "plugin": [
15
+ "plugins/provider-profile.mjs"
16
+ ],
17
+ "agent": {
18
+ "fullstack-dev": {
19
+ "description": "Primary development agent. Orchestrates contract-first ADR → contract → code → verify flow.",
20
+ "mode": "primary",
21
+ "prompt": "{file:agents/fullstack-dev.md}",
22
+ "permission": {
23
+ "task": "ask"
24
+ },
25
+ "tools": {
26
+ "read": true,
27
+ "write": true,
28
+ "edit": true,
29
+ "bash": true
30
+ }
31
+ },
32
+ "spec-writer": {
33
+ "description": "Analyze requirements and produce contract specifications in docs/specs/. Writes persistent contracts for parallel development.",
34
+ "mode": "subagent",
35
+ "model": "opencode/big-pickle",
36
+ "prompt": "{file:agents/spec-writer.md}",
37
+ "tools": {
38
+ "read": true,
39
+ "bash": true,
40
+ "write": true,
41
+ "edit": true
42
+ }
43
+ },
44
+ "executor": {
45
+ "description": "Implement code changes following an approved contract. Full read/write access for coding.",
46
+ "mode": "subagent",
47
+ "prompt": "{file:agents/executor.md}",
48
+ "tools": {
49
+ "read": true,
50
+ "write": true,
51
+ "edit": true,
52
+ "bash": true
53
+ }
54
+ },
55
+ "verifier": {
56
+ "description": "Run lint, typecheck, tests, and build to verify code changes. Read-only + bash.",
57
+ "mode": "subagent",
58
+ "model": "opencode/deepseek-v4-flash-free",
59
+ "prompt": "{file:agents/verifier.md}",
60
+ "tools": {
61
+ "read": true,
62
+ "bash": true,
63
+ "write": false,
64
+ "edit": false
65
+ }
66
+ },
67
+ "code-reviewer": {
68
+ "description": "Systematic code review across correctness, security, quality, testing, and style dimensions.",
69
+ "mode": "subagent",
70
+ "model": "opencode/big-pickle",
71
+ "prompt": "{file:agents/code-reviewer.md}",
72
+ "tools": {
73
+ "read": true,
74
+ "bash": true,
75
+ "write": false,
76
+ "edit": false
77
+ }
78
+ },
79
+ "test-engineer": {
80
+ "description": "Generate meaningful tests for source code — unit, integration, and E2E. Framework-aware.",
81
+ "mode": "subagent",
82
+ "prompt": "{file:agents/test-engineer.md}",
83
+ "tools": {
84
+ "read": true,
85
+ "write": true,
86
+ "edit": true,
87
+ "bash": true
88
+ }
89
+ },
90
+ "tech-writer": {
91
+ "description": "Generate and update project documentation — code comments, API docs, README, and CHANGELOG.",
92
+ "mode": "subagent",
93
+ "prompt": "{file:agents/tech-writer.md}",
94
+ "tools": {
95
+ "read": true,
96
+ "write": true,
97
+ "edit": true,
98
+ "bash": true
99
+ }
100
+ },
101
+ "team-lead": {
102
+ "description": "Multi-agent orchestrator for complex tasks. Delegates to architect, spec-writer, executor, code-reviewer, test-engineer, verifier.",
103
+ "mode": "subagent",
104
+ "model": "opencode/big-pickle",
105
+ "prompt": "{file:agents/team-lead.md}",
106
+ "tools": {
107
+ "read": true,
108
+ "write": true,
109
+ "edit": true,
110
+ "bash": true
111
+ }
112
+ },
113
+ "architect": {
114
+ "description": "Capture architecture decisions as ADR documents. Analyzes tradeoffs and records context.",
115
+ "mode": "subagent",
116
+ "model": "opencode/big-pickle",
117
+ "prompt": "{file:agents/architect.md}",
118
+ "tools": {
119
+ "read": true,
120
+ "write": true,
121
+ "edit": true,
122
+ "bash": true
123
+ }
124
+ }
125
+ },
126
+ "command": {
127
+ "spec": {
128
+ "description": "Create a contract specification in docs/specs/ — source of truth for implementation",
129
+ "agent": "spec-writer",
130
+ "subtask": true,
131
+ "template": "Analyze the request and produce a contract specification document.\n\n$ARGUMENTS"
132
+ },
133
+ "review": {
134
+ "description": "Review code changes across 5 dimensions (correctness, security, quality, testing, style)",
135
+ "agent": "code-reviewer",
136
+ "subtask": true,
137
+ "template": "Review the current changes.\n\n$ARGUMENTS"
138
+ },
139
+ "test": {
140
+ "description": "Generate tests for source code — auto-detects framework and conventions",
141
+ "agent": "test-engineer",
142
+ "subtask": true,
143
+ "template": "Generate tests for the current code.\n\n$ARGUMENTS"
144
+ },
145
+ "docs": {
146
+ "description": "Generate or update documentation — code comments, README, API docs, ADRs",
147
+ "agent": "tech-writer",
148
+ "subtask": true,
149
+ "template": "Generate or update documentation.\n\n$ARGUMENTS"
150
+ },
151
+ "orchestrate": {
152
+ "description": "Coordinate multiple agents for complex, multi-domain tasks",
153
+ "agent": "team-lead",
154
+ "subtask": true,
155
+ "template": "Orchestrate the following complex task.\n\n$ARGUMENTS"
156
+ },
157
+ "adr": {
158
+ "description": "Create or update an Architecture Decision Record",
159
+ "agent": "architect",
160
+ "subtask": true,
161
+ "template": "Create an Architecture Decision Record.\n\n$ARGUMENTS"
162
+ },
163
+ "verify": {
164
+ "description": "Run lint, typecheck, tests, and build to verify changes",
165
+ "template": "Use the verifier agent to run the full verification suite on the current changes.\n\n$ARGUMENTS",
166
+ "agent": "verifier",
167
+ "subtask": true
168
+ }
169
+ }
170
+ }
package/package.json CHANGED
@@ -1,48 +1,50 @@
1
- {
2
- "name": "my-opencode",
3
- "version": "1.2.0",
4
- "description": "高品質 opencode 開發流程 skill 與 agents 集合 — Contract-First 開發流程、ADR、PR Review、測試生成、文件生成",
5
- "keywords": [
6
- "opencode",
7
- "claude-code",
8
- "ai-coding",
9
- "development-workflow",
10
- "contract-first",
11
- "adr",
12
- "code-review",
13
- "test-generation",
14
- "documentation",
15
- "agents",
16
- "skills"
17
- ],
18
- "homepage": "https://github.com/cfh00902455/my-opencode#readme",
19
- "bugs": {
20
- "url": "https://github.com/cfh00902455/my-opencode/issues"
21
- },
22
- "license": "MIT",
23
- "author": "cfh00902455",
24
- "repository": {
25
- "type": "git",
26
- "url": "git+https://github.com/cfh00902455/my-opencode.git"
27
- },
28
- "scripts": {
29
- "postinstall": "node scripts/postinstall.js"
30
- },
31
- "bin": {
32
- "my-opencode": "bin/cli.js"
33
- },
34
- "files": [
35
- "bin/",
36
- "scripts/",
37
- "skills/",
38
- "agents/",
39
- "opencode.json"
40
- ],
41
- "engines": {
42
- "node": ">=18.0.0"
43
- },
44
- "type": "module",
45
- "publishConfig": {
46
- "access": "public"
47
- }
48
- }
1
+ {
2
+ "name": "my-opencode",
3
+ "version": "1.3.0",
4
+ "description": "高品質 opencode 開發流程 skill 與 agents 集合 — Contract-First 開發流程、ADR、PR Review、測試生成、文件生成",
5
+ "keywords": [
6
+ "opencode",
7
+ "claude-code",
8
+ "ai-coding",
9
+ "development-workflow",
10
+ "contract-first",
11
+ "adr",
12
+ "code-review",
13
+ "test-generation",
14
+ "documentation",
15
+ "agents",
16
+ "skills"
17
+ ],
18
+ "homepage": "https://github.com/jjyung/my-opencode#readme",
19
+ "bugs": {
20
+ "url": "https://github.com/jjyung/my-opencode/issues"
21
+ },
22
+ "license": "MIT",
23
+ "author": "cfh00902455",
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://github.com/jjyung/my-opencode.git"
27
+ },
28
+ "scripts": {
29
+ "postinstall": "node scripts/postinstall.js"
30
+ },
31
+ "bin": {
32
+ "my-opencode": "bin/cli.js",
33
+ "moc": "bin/moc"
34
+ },
35
+ "files": [
36
+ "bin/",
37
+ "scripts/",
38
+ "skills/",
39
+ "agents/",
40
+ "plugins/",
41
+ "opencode.json"
42
+ ],
43
+ "engines": {
44
+ "node": ">=18.0.0"
45
+ },
46
+ "type": "module",
47
+ "publishConfig": {
48
+ "access": "public"
49
+ }
50
+ }