@cohesivity/init 0.7.0 → 0.7.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 +27 -4
- package/bin/cli.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -166,6 +166,18 @@ server-issued, and not derived from hardware or user data. Delete
|
|
|
166
166
|
| `--base <url>` | API base for tenant bootstrap (default `https://cohesivity.ai`) |
|
|
167
167
|
| `-h`, `--help` | show command help and the exact package version |
|
|
168
168
|
|
|
169
|
+
## 0.7.1 four-tool skill guidance
|
|
170
|
+
|
|
171
|
+
Version 0.7.1 delivers plugin 3.0.6 and its matching standalone skill. The skill
|
|
172
|
+
lists the four supported MCP tools and requires a human handoff for unsupported
|
|
173
|
+
control-plane mutations, including deployment, billing, and destruction. It
|
|
174
|
+
does not permit an HTTP, CLI, or script bypass. Its no-MCP fallback pins this
|
|
175
|
+
initializer version so bootstrap does not reinstall the previous guidance.
|
|
176
|
+
|
|
177
|
+
The plugin's MCP behavior, explicit confirmation checks, client adapters, and
|
|
178
|
+
initializer bootstrap behavior are unchanged. The shared release observation
|
|
179
|
+
is regenerated from the immutable candidate artifacts, not edited by hand.
|
|
180
|
+
|
|
169
181
|
## 0.7.0 four-tool bootstrap interface
|
|
170
182
|
|
|
171
183
|
Version 0.7.0 pins the published Cohesivity plugin 3.0.5. This is a breaking
|
|
@@ -311,24 +323,35 @@ version and delivered skill bytes agree.
|
|
|
311
323
|
|
|
312
324
|
`node --test` includes offline comparison regressions and a recorded delivery
|
|
313
325
|
snapshot. When changing release pins, refresh that snapshot only after the
|
|
314
|
-
candidate passes the live check, then review its immutable URLs and hashes
|
|
326
|
+
candidate passes the live check, then review its immutable URLs and hashes.
|
|
327
|
+
For this coordinated release, render the quickstart and generated skill from
|
|
328
|
+
the matching core candidate in cohesivity-org/cohesivity#514 and supply all
|
|
329
|
+
three candidate inputs:
|
|
315
330
|
|
|
316
331
|
```bash
|
|
317
332
|
node scripts/verify-release.mjs --source bin/cli.js \
|
|
333
|
+
--quickstart-source /path/to/rendered-quickstart.sh \
|
|
334
|
+
--skill-source /path/to/generated-skill.md \
|
|
318
335
|
--snapshot tests/fixtures/release-observation.json
|
|
319
336
|
node --test
|
|
320
337
|
```
|
|
321
338
|
|
|
339
|
+
Omit the two document overrides only when intentionally checking the deployed
|
|
340
|
+
quickstart and skill. The observation records those flags; changing the inputs
|
|
341
|
+
changes that metadata. A new observation also receives a fresh timestamp.
|
|
342
|
+
|
|
322
343
|
The snapshot catches source pin changes that have not been checked against the
|
|
323
344
|
other delivery path. Offline unit tests cannot detect a later independent npm,
|
|
324
345
|
quickstart, or canonical-skill publication; the live checks above are required
|
|
325
346
|
release verification. They are not automatically added to CI by this change.
|
|
326
347
|
A mismatch exits nonzero and does not rewrite any release pin. Publication of
|
|
327
|
-
0.7.
|
|
348
|
+
0.7.1 remains a separate release step; an unmerged PR does not update npm.
|
|
328
349
|
|
|
329
350
|
This comparison covers the skill bytes delivered by each installer. It does not
|
|
330
|
-
rewrite package versions mentioned inside the
|
|
331
|
-
|
|
351
|
+
rewrite or verify the availability of package versions mentioned inside the
|
|
352
|
+
canonical skill, test native client behavior, or change mutation consent.
|
|
353
|
+
Verify that the pinned fallback is published before merging the matching
|
|
354
|
+
canonical skill, skill mirror, or plugin release.
|
|
332
355
|
|
|
333
356
|
Node.js 18+ is required for built-in `fetch`. The package has zero dependencies
|
|
334
357
|
and no `postinstall` hook.
|
package/bin/cli.js
CHANGED
|
@@ -44,7 +44,7 @@ import { gunzipSync } from 'node:zlib';
|
|
|
44
44
|
const argv = process.argv.slice(2);
|
|
45
45
|
const has = (f) => argv.includes(f);
|
|
46
46
|
const flag = (f) => { const i = argv.indexOf(f); return i >= 0 ? argv[i + 1] : undefined; };
|
|
47
|
-
const PKG_VERSION = '0.7.
|
|
47
|
+
const PKG_VERSION = '0.7.1';
|
|
48
48
|
|
|
49
49
|
function validateArgs() {
|
|
50
50
|
const switches = new Set(['--dry-run', '--no-plugin', '--no-branding', '--help', '-h']);
|
|
@@ -78,16 +78,16 @@ const MACHINE_ID_FILE = join(MACHINE_ID_DIR, 'machine-id');
|
|
|
78
78
|
|
|
79
79
|
// The skill is pinned to an immutable commit in the public, auditable repo.
|
|
80
80
|
// Bumping the pin is a deliberate release step. See COH-172.
|
|
81
|
-
const SKILL_PIN = '
|
|
81
|
+
const SKILL_PIN = '1c65e6d1bf4690d7ee3b046bcd8251387b4f701b';
|
|
82
82
|
const SKILL_URL = `https://raw.githubusercontent.com/cohesivity-org/cohesivity-skill/${SKILL_PIN}/cohesivity.skill.md`;
|
|
83
83
|
|
|
84
84
|
// Plugin release pins live in this one block. Bump all three values together
|
|
85
85
|
// after publishing a new two-commit artifact manifest from cohesivity-plugin.
|
|
86
86
|
// Tests inject a complete pin with COHESIVITY_PLUGIN_MANIFEST_PIN.
|
|
87
87
|
const PLUGIN_RELEASE = Object.freeze({
|
|
88
|
-
manifestUrl: 'https://raw.githubusercontent.com/cohesivity-org/cohesivity-plugin/
|
|
88
|
+
manifestUrl: 'https://raw.githubusercontent.com/cohesivity-org/cohesivity-plugin/e157d473a8e60531572fd29ccfd2314bd6e2983a/artifacts/v3.0.6/install-manifest.v1.json',
|
|
89
89
|
manifestBytes: 9400,
|
|
90
|
-
manifestSha256: '
|
|
90
|
+
manifestSha256: 'a295d7b318077a935ae9b0469916f8213a8cdf27b8c9bf7ee604d3007ca06495',
|
|
91
91
|
});
|
|
92
92
|
|
|
93
93
|
const ARTIFACT_KEYS = Object.freeze({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cohesivity/init",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Set up Cohesivity in a project: install the agent skill, create a managed backend tenant, write the project config. Run with `npx @cohesivity/init`.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|