opencode-ship 0.8.0 → 0.9.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.
- package/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/THIRD_PARTY_NOTICES.md +5 -4
- package/dist/cli.js +3 -3
- package/dist/core.js +1 -1
- package/dist/plugin.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `opencode-ship` are recorded here.
|
|
4
4
|
|
|
5
|
+
## 0.9.0 — Complete engineering profile publish
|
|
6
|
+
|
|
7
|
+
`opencode-ship@0.9.0` ships the transition matrix smoke required by issue #24 (Task 10 in approved plan). The smoke covers the core↔engineering transition shape — core omits engineering-only files, engineering installs them, and the lock's `manager.profile` field tracks the active profile across upgrades. The full E2E install (`pnpm dlx opencode-ship@latest`) continues to be exercised by the existing installer-cli tests; the new module focuses on the local-dev file set so the smoke runs in the default `npm run verify` pipeline.
|
|
8
|
+
|
|
9
|
+
### Verification
|
|
10
|
+
|
|
11
|
+
- `npm run verify` exits `0` with 320 tests across 34 suites on the v0.9 HEAD.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **Transition matrix smoke.** `tests/package/transition-matrix.test.mjs` covers the core omits engineering, engineering adds engineering, and the lock `manager.profile` tracks the active profile across upgrades. The module is gated by `OPENCODE_SHIP_SMOKE_FULL=1` for the full E2E run; the lite version always runs and asserts the local-dev file set.
|
|
16
|
+
|
|
5
17
|
## 0.8.0 — Ready gate (parallel GPT Standards/Spec + verifier + CI on one HEAD)
|
|
6
18
|
|
|
7
19
|
`opencode-ship@0.8.0` ships the Ready gate contract required by issue #23 (Task 9 in approved plan). The final review is the merge-base-to-HEAD review package; the GPT Standards and Spec reviewers inspect it in parallel; the verifier executes the canonical consumer verification command independently; and the gate refuses any record that is not on the current HEAD. Build cannot self-record both the final review and the verifier — the boundary is enforced by the same-runId check on the runId separate from Build's.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> npm-distributed OpenCode installer and delivery plugin: a single command materialises the lifecycle plugin, reviewer/verifier agents, and skills into any consumer repository, with a recoverable lock and never silently overwrites managed files.
|
|
4
4
|
>
|
|
5
|
-
> **Status:** v0.
|
|
5
|
+
> **Status:** v0.9.0 complete engineering profile publish. The installer is a `pnpm dlx opencode-ship@latest <cmd>` workflow. Five idempotent CLI commands manage a managed-file lock, a transactional promoter, and a compiled ESM plugin that registers the canonical nine `delivery_*` tools. Every command now accepts `--profile <name>` (`core` default, `engineering` opt-in) and resolves the active profile through one documented precedence chain (CLI > ship.config > lock > default). The `core` profile ships only opencode-ship-authored content; the `engineering` profile vendors material from `mattpocock/skills` under the MIT license (canonical text preserved in `vendor/mattpocock/LICENSE`) AND installs the GPT-to-MiniMax Plan Mode permission block under `agent.plan.permission` so consumers can spin up a Plan Mode sub-agent without hand-editing the opencode.json. The M3 task loop contract (run store + task brief + Spec/Quality verdicts + 3-round breaker + commit binding + compaction context) is implemented end-to-end. The Ready gate contract (parallel GPT Standards/Spec + verifier + CI on one HEAD; Build cannot self-record) is implemented end-to-end. v0.9 ships the transition matrix smoke (core omits engineering, engineering adds engineering, lock tracks the active profile) required by issue #24 and approved plan `f85bae931d9eed7763e2f6f4dc68e5fad71bdd38c8a667fc9ffe78b5290200be` (`Viktorxyz/opencode-ship#16`).
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -111,7 +111,7 @@ Existing consumers of `opencode-delivery@0.1.x` (commit-pinned shim) can run `pn
|
|
|
111
111
|
|
|
112
112
|
## Development
|
|
113
113
|
|
|
114
|
-
`npm run verify` runs `format:check`, `lint`, `typecheck`, `build`, and the auto-discovered test suite. The tests cover the installer CLI, the lock and root-config planners, the catalog validator, the schema validator, agents, the packed-artifact smoke check, the transaction-recovery contract, the profile-resolution precedence chain, the catalog profile filter, the order-preserving root-config merge, the engineering↔core transition, the durable plan artifact, the Plan Mode permission integration, the M3 task loop contract (run store + task brief + Spec/Quality verdicts + 3-round breaker + commit binding + compaction context),
|
|
114
|
+
`npm run verify` runs `format:check`, `lint`, `typecheck`, `build`, and the auto-discovered test suite. The tests cover the installer CLI, the lock and root-config planners, the catalog validator, the schema validator, agents, the packed-artifact smoke check, the transaction-recovery contract, the profile-resolution precedence chain, the catalog profile filter, the order-preserving root-config merge, the engineering↔core transition, the durable plan artifact, the Plan Mode permission integration, the M3 task loop contract (run store + task brief + Spec/Quality verdicts + 3-round breaker + commit binding + compaction context), the Ready gate (parallel GPT Standards/Spec + verifier + CI on one HEAD; Build cannot self-record), and the transition matrix smoke (core omits engineering, engineering adds engineering, lock tracks the active profile). v0.9 ships with 320 tests across 34 suites on the approved plan hash `f85bae931d9eed7763e2f6f4dc68e5fad71bdd38c8a667fc9ffe78b5290200be`.
|
|
115
115
|
|
|
116
116
|
```
|
|
117
117
|
npm ci
|
|
@@ -124,7 +124,7 @@ The shipped artifact is built by esbuild (`scripts/build.mjs`); self-contained `
|
|
|
124
124
|
## Status and licensing
|
|
125
125
|
|
|
126
126
|
- **License:** MIT. See `LICENSE`.
|
|
127
|
-
- **Versioning:** SemVer. v0.2.0 is the first npm-distributed release. v0.3.0 is the installer foundation with core-only defaults. v0.4.0 adds the profile-aware installer foundation (`--profile` flag, lock schema v2, profile precedence) that issue #18 requires. v0.5.0 ships the engineering profile content (triage + grill-with-docs SKILL.md placeholders) required by issue #20. v0.6.0 ships the durable plan artifact + Plan Mode permission integration required by issue #21. v0.7.0 ships the M3 task loop contract (run store, task brief, Spec/Quality verdicts, 3-round breaker, commit binding, compaction context) required by issue #22. v0.8.0 ships the Ready gate contract (parallel GPT Standards/Spec + verifier + CI on one HEAD; Build cannot self-record) required by issue #23.
|
|
127
|
+
- **Versioning:** SemVer. v0.2.0 is the first npm-distributed release. v0.3.0 is the installer foundation with core-only defaults. v0.4.0 adds the profile-aware installer foundation (`--profile` flag, lock schema v2, profile precedence) that issue #18 requires. v0.5.0 ships the engineering profile content (triage + grill-with-docs SKILL.md placeholders) required by issue #20. v0.6.0 ships the durable plan artifact + Plan Mode permission integration required by issue #21. v0.7.0 ships the M3 task loop contract (run store, task brief, Spec/Quality verdicts, 3-round breaker, commit binding, compaction context) required by issue #22. v0.8.0 ships the Ready gate contract (parallel GPT Standards/Spec + verifier + CI on one HEAD; Build cannot self-record) required by issue #23. v0.9.0 ships the transition matrix smoke (core omits engineering, engineering adds engineering, lock tracks the active profile) required by issue #24.
|
|
128
128
|
- **Compatibility:** the bundled plugin targets `@opencode-ai/plugin >= 1.15.5 < 2` and OpenCode `>= 1.15.5`.
|
|
129
129
|
|
|
130
130
|
## FAQ
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# Third-Party Notices
|
|
2
2
|
|
|
3
|
-
`opencode-ship@0.
|
|
3
|
+
`opencode-ship@0.9.0` ships the profile-aware installer foundation
|
|
4
4
|
(`core` and `engineering` profiles), the durable plan artifact
|
|
5
5
|
with Plan Mode permission integration, the M3 task loop
|
|
6
|
-
contract,
|
|
7
|
-
opencode-ship-authored content (two
|
|
8
|
-
workflow skills). The `engineering` profile
|
|
6
|
+
contract, the Ready gate, and the transition matrix smoke. The
|
|
7
|
+
`core` profile ships only opencode-ship-authored content (two
|
|
8
|
+
delivery agents, two workflow skills). The `engineering` profile
|
|
9
|
+
vendors material from
|
|
9
10
|
[mattpocock/skills](https://github.com/mattpocock/skills) under
|
|
10
11
|
the MIT license; the canonical license text is preserved in
|
|
11
12
|
`vendor/mattpocock/LICENSE`. The current package version ships
|
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// opencode-ship CLI v0.
|
|
2
|
+
// opencode-ship CLI v0.9.0
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __esm = (fn, res) => function __init() {
|
|
@@ -687,7 +687,7 @@ function resolvePackageRoot(startUrl) {
|
|
|
687
687
|
import { readFileSync as readFileSync2, existsSync as existsSync2 } from "node:fs";
|
|
688
688
|
import { dirname as dirname2, resolve as resolve2 } from "node:path";
|
|
689
689
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
690
|
-
var PACKAGE_VERSION = "0.
|
|
690
|
+
var PACKAGE_VERSION = "0.9.0";
|
|
691
691
|
var TEMPLATE_SET = `v${PACKAGE_VERSION}`;
|
|
692
692
|
|
|
693
693
|
// src/installer/catalog.js
|
|
@@ -2286,7 +2286,7 @@ async function assembleLock({ repoRoot, plan, lock, configPlan, rootPlan, profil
|
|
|
2286
2286
|
manager: {
|
|
2287
2287
|
schemaVersion: CURRENT_LOCK_SCHEMA,
|
|
2288
2288
|
name: "opencode-ship",
|
|
2289
|
-
version: "0.
|
|
2289
|
+
version: "0.9.0",
|
|
2290
2290
|
templateSet: TEMPLATE_SET_ID,
|
|
2291
2291
|
// Newly written locks always carry the resolved profile so
|
|
2292
2292
|
// future CLI invocations without --profile still resolve to
|
package/dist/core.js
CHANGED
package/dist/plugin.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// opencode-ship v0.
|
|
1
|
+
// opencode-ship v0.9.0
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __esm = (fn, res) => function __init() {
|
|
@@ -14897,7 +14897,7 @@ function flattenShipConfig(ship) {
|
|
|
14897
14897
|
import { readFileSync as readFileSync2, existsSync as existsSync6 } from "node:fs";
|
|
14898
14898
|
import { dirname as dirname5, resolve as resolve11 } from "node:path";
|
|
14899
14899
|
import { fileURLToPath } from "node:url";
|
|
14900
|
-
var PACKAGE_VERSION = "0.
|
|
14900
|
+
var PACKAGE_VERSION = "0.9.0";
|
|
14901
14901
|
var TEMPLATE_SET = `v${PACKAGE_VERSION}`;
|
|
14902
14902
|
|
|
14903
14903
|
// src/plugin.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-ship",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "npm-distributed OpenCode installer that materializes the delivery plugin, reviewer/verifier agents, skills, ship config and lock into any consumer repository.",
|
|
6
6
|
"license": "MIT",
|