Skip to content

Commit 322d73e

Browse files
committed
fix(installer): tolerate missing agent docs
1 parent 97bf7c3 commit 322d73e

11 files changed

Lines changed: 49 additions & 8 deletions

File tree

.opencode/commands/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.2.0",
2+
"version": "1.2.1",
33
"generated_by": "scripts/generate_commands_index.py",
44
"count": 11,
55
"commands": [

.opencode/plugins/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.2.0",
2+
"version": "1.2.1",
33
"generated_by": "scripts/generate_plugins_index.py",
44
"count": 10,
55
"plugins": [

.opencode/skills/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.2.0",
2+
"version": "1.2.1",
33
"generated_by": "scripts/generate_skills_index.py",
44
"count": 38,
55
"skills": [

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010

11+
## [1.2.1] - 2026-06-12
12+
13+
### Fixed
14+
15+
- Tighten system install convergence and Gemini native settings validation. Preserve documented `opencode-ai` `1.17.3`, `@opencode-ai/plugin` `1.17.3`, and `@opencode-ai/sdk` `1.17.3` baseline evidence.
16+
1117
## [1.2.0] - 2026-06-12
1218

1319
### Added

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ historical patch in the line.
88

99
| Version | Supported |
1010
|---|---|
11-
| Current exact tag `1.2.0` | yes |
11+
| Current exact tag `1.2.1` | yes |
1212
| Older `1.1.*` tags | no; upgrade to current exact tag |
1313
| Older minor / major lines | no |
1414

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.0
1+
1.2.1

references/mcp-profiles.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
33
"$comment": "Machine-readable MCP server profiles. Each server in opencode.json.mcp belongs to exactly one profile. Profiles are used by scripts/validate_mcp_profiles.py to enforce skill.requires_mcp coverage and by scripts/smoke_mcp_capabilities.py --mode to bound CI smoke probes. The descriptive trust matrix lives in docs/security/mcp-trust-boundaries.md and stays in sync via the validator.",
4-
"version": "1.2.0",
4+
"version": "1.2.1",
55
"updated": "2026-06-12",
66
"profiles": {
77
"base": {

references/opencode-baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
33
"$comment": "Single source of truth for every pinned dependency the marketplace targets. Validators read this file and compare against opencode.json, .opencode/package.json, .opencode/bun.lock, workflow installations, and README/CHANGELOG text. Any drift fails CI. Bump these values in one place and let `scripts/check_baseline_consistency.py` find every reference that needs updating.",
4-
"version": "1.2.0",
4+
"version": "1.2.1",
55
"updated": "2026-06-11",
66
"source_of_truth": {
77
"runtime_latest_channel": "npm:opencode-ai",

references/rldyour-contract.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
33
"$comment": "Machine-readable rldyour workflow contract for the OpenCode adapter. Sister tool repos should map the same canonical IDs to their own native surfaces.",
4-
"version": "1.2.0",
4+
"version": "1.2.1",
55
"updated": "2026-06-07",
66
"adapter": "opencode",
77
"security": {

scripts/install_system_opencode.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ global_paths = [
104104
(Path("references"), Path("references")),
105105
]
106106
source_paths = project_paths + (global_paths if global_config else [])
107+
optional_source_paths = {Path("AGENTS.md")}
107108
excluded_parts = {"node_modules", "__pycache__", ".pytest_cache", ".mypy_cache", ".ruff_cache", "cache"}
108109
excluded_suffixes = {".pyc"}
109110
# macOS-only orchestrator skills: cmux (manaflow-ai/cmux) is a macOS
@@ -171,6 +172,9 @@ for src_rel, dst_rel in source_paths:
171172
src = source_root / src_rel
172173
dst = target / dst_rel
173174
if not src.exists():
175+
if src_rel in optional_source_paths:
176+
actions.append(f"skip optional missing {src_rel}; restore fullrepo to install this agent-only file")
177+
continue
174178
raise SystemExit(f"missing source path: {src}")
175179
if dst.resolve() == src.resolve():
176180
actions.append(f"unchanged self path {dst_rel}")

0 commit comments

Comments
 (0)