@yandy-r/ycc-opencode 6.3.0 → 6.3.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/README.md +23 -17
- package/package.json +2 -3
- package/shared/references/target-capability-matrix.md +13 -8
- package/skills/bundle-release/SKILL.md +2 -2
- package/skills/bundle-release/references/release-checklist.md +1 -1
- package/skills/bundle-release/references/release-notes-template.md +1 -1
- package/skills/bundle-release/references/version-policy.md +2 -2
- package/skills/bundle-release/scripts/draft-notes.sh +0 -2
package/README.md
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
# @yandy-r/ycc-opencode
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
(
|
|
5
|
-
|
|
3
|
+
OpenCode V2 plugin carrying the ycc bundle (version 6.3.1). It is how ycc installs
|
|
4
|
+
into [OpenCode](https://opencode.ai): `install.sh install --target opencode` writes the `plugins` entry
|
|
5
|
+
below into `~/.config/opencode/opencode.json` for you.
|
|
6
6
|
|
|
7
7
|
Requires OpenCode `>=2.0.30` (V2 plugin API; V1 hook plugins are not supported).
|
|
8
8
|
|
|
9
9
|
## Enable
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
`./install.sh install --target opencode` registers this checkout's package as a directory entry
|
|
12
|
+
(`"file:///abs/path/to/packages/opencode/ycc-opencode"`, not the `index.js` file);
|
|
13
|
+
`--mode repo` registers the published release instead. Either replaces any earlier
|
|
14
|
+
`@yandy-r/ycc-opencode` entry in place. By hand, add the package to the V2 `plugins` array of your own
|
|
15
|
+
`opencode.json`, pinned to an exact release:
|
|
12
16
|
|
|
13
17
|
```json
|
|
14
|
-
{ "plugins": ["@yandy-r/ycc-opencode@6.3.
|
|
18
|
+
{ "plugins": ["@yandy-r/ycc-opencode@6.3.1"] }
|
|
15
19
|
```
|
|
16
20
|
|
|
17
21
|
Pin the version instead of using the bare name. Right after a release, the registry can briefly serve
|
|
18
22
|
stale `latest` metadata, and early placeholder versions of this package (`0.0.0-*`) were never
|
|
19
|
-
loadable plugins. Bump the pin when you upgrade.
|
|
20
|
-
|
|
21
|
-
A local checkout loads with a directory entry (`"file:///abs/path/to/packages/opencode/ycc-opencode"`),
|
|
22
|
-
not the `index.js` file.
|
|
23
|
+
loadable plugins. Bump the pin when you upgrade (`install.sh install --target opencode --mode repo` does).
|
|
23
24
|
|
|
24
25
|
## What it registers
|
|
25
26
|
|
|
@@ -34,7 +35,7 @@ not the `index.js` file.
|
|
|
34
35
|
- **MCP servers**: plain data from `mcp-configs/mcp.json`; `{env:VAR}` placeholders resolve from the
|
|
35
36
|
environment at setup time.
|
|
36
37
|
- **Instructions**: `AGENTS.md` pushed through the session `context` hook.
|
|
37
|
-
- **Sensitive-file guard** (`ycc-sensitive-guard
|
|
38
|
+
- **Sensitive-file guard** (`ycc-sensitive-guard/`): for the
|
|
38
39
|
restricted specialists in its `policy.json` it checks tool calls against the sensitive-file policy,
|
|
39
40
|
filters search results, and provides their only search tools (`ycc_grep`/`ycc_glob`, shown to them as
|
|
40
41
|
`grep`/`glob`) after checking the caller's own permissions.
|
|
@@ -44,12 +45,17 @@ not the `index.js` file.
|
|
|
44
45
|
never loosens or re-prompts a decision. Shell interpreters and build tools in their allowlists still run
|
|
45
46
|
project code, which the guard does not bound.
|
|
46
47
|
|
|
47
|
-
## Coexistence with
|
|
48
|
+
## Coexistence with local config
|
|
49
|
+
|
|
50
|
+
Skills, agents, and MCP servers are registered under their source ids, in id-keyed registries. OpenCode
|
|
51
|
+
applies config (`~/.config/opencode`, the project's `.opencode/`) after user plugins, so a same-id
|
|
52
|
+
skill, agent, or command there replaces (agents: field-blends over) the package definition; the package's
|
|
53
|
+
`editor.get` skip only sees registrations loaded before it, and MCP config servers genuinely win. Package
|
|
54
|
+
commands are always `ycc:<skill>` and never collide with bare `/<skill>` commands or host built-ins such as
|
|
55
|
+
`/init`. The context hook does not push instructions already present in the request, so the global
|
|
56
|
+
`AGENTS.md` that `install.sh --target opencode --rules` links is not injected twice.
|
|
48
57
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
before it, and MCP config servers genuinely win. Package commands are always `ycc:<skill>` and never collide
|
|
53
|
-
with the bare file-copy `/<skill>` commands or host built-ins such as `/init`. The context hook does not push
|
|
54
|
-
instructions already present in the request.
|
|
58
|
+
`install.sh install --target opencode` retires the copies an older ycc installer mirrored into
|
|
59
|
+
`~/.config/opencode/{skills,agents,commands,shared,ycc-sensitive-guard}` (byte-identical ones only), so a
|
|
60
|
+
stale copy cannot shadow the package.
|
|
55
61
|
Provider and variant settings (`providers`) are user configuration and are not carried by this package.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yandy-r/ycc-opencode",
|
|
3
|
-
"version": "6.3.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "6.3.1",
|
|
4
|
+
"description": "OpenCode V2 plugin registering the ycc bundle (skills, agents, ycc:<skill> commands, MCP servers, the sensitive-file guard and session instructions) through its setup hook. install.sh --target opencode installs it.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"exports": {
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"keywords": [
|
|
21
21
|
"opencode-plugin",
|
|
22
22
|
"opencode",
|
|
23
|
-
"experimental",
|
|
24
23
|
"ycc"
|
|
25
24
|
],
|
|
26
25
|
"author": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- Artifact store
|
|
10
10
|
- How to Update This Document
|
|
11
11
|
|
|
12
|
-
As of 2026-11-
|
|
12
|
+
As of 2026-11-05
|
|
13
13
|
|
|
14
14
|
This file is the authoritative source for which ycc bundle capabilities are supported on each
|
|
15
15
|
deployment target. Downstream scripts parse the table below; read the Parser Grammar section
|
|
@@ -62,7 +62,7 @@ Follow these rules exactly or the parser will misread cells:
|
|
|
62
62
|
|
|
63
63
|
## Native vs install.sh Fallback
|
|
64
64
|
|
|
65
|
-
Packaging status as of v6.
|
|
65
|
+
Packaging status as of v6.3.0 (2026-11-05). This descriptive companion separates shipping native packages
|
|
66
66
|
from installer-managed artifacts and gated work in `ycc/settings/packages.json`.
|
|
67
67
|
`listed: false` packages are not published catalog entries; generated trees and successful spikes
|
|
68
68
|
alone do not make them shipping user install paths. This does not revise the capability verdicts above.
|
|
@@ -72,7 +72,7 @@ alone do not make them shipping user install paths. This does not revise the cap
|
|
|
72
72
|
| Claude | `ycc@ycc`, `ycc-mcp@ycc`, `ycc-hooks@ycc` (2.1.300+), `ycc-all@ycc`; `status-bar@ycc-mods` | Installs the native plugins via `claude plugin` (`mcp`/`hooks` at project scope by default, user scope with `--global`); rules, settings, statusline | `ycc-agents@ycc` in v7.0.0 |
|
|
73
73
|
| Cursor | `ycc`, `ycc-rules`, `ycc-mcp`, `ycc-hooks` via the root `.cursor-plugin/marketplace.json` (interactive `/plugins`); hooks `sessionStart` only | Registers the marketplace and prints the `/plugins` step; `cli-config.json` settings (`--global`) | None |
|
|
74
74
|
| Codex | `ycc@ycc`, `ycc-mcp@ycc` via the root `.agents/plugins/marketplace.json` | Installs both via `codex plugin add` (codex 0.160+ required); agent TOMLs, `AGENTS.md`, `config.toml` | `ycc-hooks` excluded (YAN-1149) |
|
|
75
|
-
| opencode |
|
|
75
|
+
| opencode | `@yandy-r/ycc-opencode` npm V2 plugin (opencode `>=2.0.30`), not catalog-listed | Writes its `plugins` entry (local: `file://` checkout; repo: pinned release), retires the old file copy; `opencode.json` settings, `AGENTS.md` link | None |
|
|
76
76
|
| `agents` | None | Skills and `ycc-shared` copied into `~/.agents/` | None planned |
|
|
77
77
|
| `omp` | `ycc@ycc`, `ycc-mcp@ycc`, `ycc-rules@ycc` via the root `.omp-plugin/marketplace.json` (omp `>=18.12.2`) | `install.sh --target omp`: local export (`--mode local`) or the repository catalog (`--mode repo`) installed through `omp plugin` (user or project scope); opt-in `--rules` (`AGENTS.md`) and `--settings` (`config.yml`), user scope only | `ycc-hooks` and `ycc-all` excluded (herdr: `herdr integration install omp`) |
|
|
78
78
|
| `pi` | None | None | `ycc`, `ycc-mcp`, `ycc-rules` deferred to v6.3.0 (ADR 0003, pi `>=1.2.0`); `ycc-hooks` and `ycc-all` excluded |
|
|
@@ -96,8 +96,8 @@ The recommendation in `docs/research/ystack/recommendation.md` is qualified by
|
|
|
96
96
|
generates the native packages with a tested Cursor floor of 3.24.12, listed in the root marketplace.
|
|
97
97
|
Native hooks are limited to `sessionStart`; do not infer `WorktreeCreate` or other Claude hook parity.
|
|
98
98
|
- `opencode-config-hook.md`: V2 registrations and context-hook instructions were verified on
|
|
99
|
-
v2.0.29, not the V1 config-hook approach.
|
|
100
|
-
`install.sh`
|
|
99
|
+
v2.0.29, not the V1 config-hook approach. Since YAN-1973 the `@yandy-r/ycc-opencode` npm
|
|
100
|
+
plugin is the only opencode install route; `install.sh` writes its `plugins` entry.
|
|
101
101
|
- `omp-runtime-contract.md`: tested on omp 18.12.2 (supported floor `>=18.12.2`). OMP gets a
|
|
102
102
|
dedicated generated `.omp-plugin/` tree; shell hooks, `hooks.json`, and `WorktreeCreate` never
|
|
103
103
|
run, and `ycc-all` is omitted because OMP ignores plugin dependencies. See ADR 0002. The
|
|
@@ -252,9 +252,14 @@ cache and catalog entry, `~/.codex/skills` copies, merged `[mcp_servers]`), keep
|
|
|
252
252
|
`./scripts/sync.sh --only codex` or after clearing `~/.codex/plugins/cache/`.
|
|
253
253
|
|
|
254
254
|
**INSTALL_PATH:opencode**
|
|
255
|
-
|
|
256
|
-
opencode.json)
|
|
257
|
-
(
|
|
255
|
+
The generator writes `.opencode-plugin/` (skills, agents, commands, shared, AGENTS.md,
|
|
256
|
+
opencode.json) and, from it, the npm package `packages/opencode/ycc-opencode`
|
|
257
|
+
(`@yandy-r/ycc-opencode`). `install.sh install --target opencode` merges one `plugins` entry
|
|
258
|
+
into `~/.config/opencode/opencode.json`: `file:///<checkout>/packages/opencode/ycc-opencode` in
|
|
259
|
+
local mode, `@yandy-r/ycc-opencode@<version>` in repo mode. Older ycc-opencode entries are
|
|
260
|
+
replaced in place; the base step then retires the old file copy (byte-identical units,
|
|
261
|
+
owned `mcp.servers`, the owned `./ycc-sensitive-guard` item). `opencode.json` settings and the
|
|
262
|
+
`AGENTS.md` link stay on the installer (`--settings`, `--rules`).
|
|
258
263
|
|
|
259
264
|
**SKILLS:opencode**
|
|
260
265
|
Native support at `.opencode/skills/<name>/SKILL.md` with strict YAML frontmatter
|
|
@@ -148,8 +148,8 @@ This reads `references/release-notes-template.md` and writes `docs/releases/<new
|
|
|
148
148
|
The `{{PACKAGES_TABLE}}` placeholder is rendered from `ycc/settings/packages.json`
|
|
149
149
|
with Package, Runtime, Status, Mechanism, Listed, Version or target, and Notes
|
|
150
150
|
columns. Included packages show the release version; deferred/excluded entries
|
|
151
|
-
show their target.
|
|
152
|
-
|
|
151
|
+
show their target. Experimental and opt-in markers come from the package model;
|
|
152
|
+
file-copy fallback is noted separately. Prompt the user to review the
|
|
153
153
|
Packages, Summary, and Upgrade Notes sections before committing. If the script
|
|
154
154
|
exits non-zero, surface stderr and STOP.
|
|
155
155
|
|
|
@@ -109,7 +109,7 @@ Run: `ycc/skills/bundle-release/scripts/draft-notes.sh <new-version>`
|
|
|
109
109
|
- [ ] `Summary` section edited to describe the release in 1–3 sentences.
|
|
110
110
|
- [ ] `Upgrade Notes` section reviewed and updated (delete if not applicable).
|
|
111
111
|
- [ ] `Added`, `Changed`, `Removed`, and `Fixed` bullet sections reflect the actual changes from Phase 1.
|
|
112
|
-
- [ ] `Packages` section present with the generated table (Package, Runtime, Status, Mechanism, Listed, Version or target, Notes): included packages at the release version, deferred/excluded at their target,
|
|
112
|
+
- [ ] `Packages` section present with the generated table (Package, Runtime, Status, Mechanism, Listed, Version or target, Notes): included packages at the release version, deferred/excluded at their target, experimental/opt-in markers from the package model, and the file-copy fallback noted.
|
|
113
113
|
- [ ] Commit log section at the bottom preserved as-is (auto-populated by the script).
|
|
114
114
|
|
|
115
115
|
---
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Template used by bundle-release/scripts/draft-notes.sh. Placeholders are replaced at generation time; do not remove or rename them. The PACKAGES_TABLE placeholder renders one row per package and runtime from ycc/settings/packages.json (columns Package | Runtime | Status | Mechanism | Listed | Version or target | Notes): included packages show the release version, deferred and excluded packages show their target, and
|
|
1
|
+
<!-- Template used by bundle-release/scripts/draft-notes.sh. Placeholders are replaced at generation time; do not remove or rename them. The PACKAGES_TABLE placeholder renders one row per package and runtime from ycc/settings/packages.json (columns Package | Runtime | Status | Mechanism | Listed | Version or target | Notes): included packages show the release version, deferred and excluded packages show their target, and experimental/opt-in markers come from the package model. -->
|
|
2
2
|
|
|
3
3
|
# Release {{VERSION}} — {{DATE}}
|
|
4
4
|
|
|
@@ -42,8 +42,8 @@ Discovery rules are implemented in `bundle-release/scripts/release_versions.py`
|
|
|
42
42
|
`packages/omp/<key>/.omp-plugin/plugin.json` plus `packages/omp/<key>/.opencode-plugin/plugin.json`
|
|
43
43
|
and `packages/omp/<key>/package.json`. Generated manifests are check-only.
|
|
44
44
|
- Included opencode npm packages use `packages/opencode/<unscoped-key>/package.json`
|
|
45
|
-
and are required to exist at the lockstep version (check-only).
|
|
46
|
-
|
|
45
|
+
and are required to exist at the lockstep version (check-only). `release.yml`
|
|
46
|
+
publishes the package to npm on the maintainer-pushed tag.
|
|
47
47
|
- `deferred` and `excluded` entries require no manifest and suppress their modeled
|
|
48
48
|
paths from the bounded backstop. `file-copy` entries are skipped entirely.
|
|
49
49
|
- `ycc/mods/**` is excluded entirely — `ycc-mods` keeps its own version. Marketplace
|
|
@@ -172,8 +172,6 @@ for key in sorted(packages):
|
|
|
172
172
|
notes.append("experimental")
|
|
173
173
|
if entry.get("opt_in"):
|
|
174
174
|
notes.append("opt-in")
|
|
175
|
-
if mechanism == "npm" and status == "included":
|
|
176
|
-
notes.append("not yet published")
|
|
177
175
|
if entry.get("notes"):
|
|
178
176
|
notes.append(str(entry["notes"]))
|
|
179
177
|
rows.append(
|