@cohesivity/init 0.7.1 → 0.8.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/README.md +36 -1
- package/bin/cli.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -166,6 +166,41 @@ 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.8.0 optional MCP account access
|
|
170
|
+
|
|
171
|
+
Version 0.8.0 installs plugin 4.0.1 and the matching skill. The local MCP's
|
|
172
|
+
`create_tenant` runs the full quickstart, including client integrations and
|
|
173
|
+
project guidance. Its explicit CLI login enables account-owned creation;
|
|
174
|
+
without login it creates a guest tenant. Hosted MCP Connect separately offers
|
|
175
|
+
guest or account access, with an authorized credential-file tool response. Account
|
|
176
|
+
creation starts claimed and has no ephemeral expiry. Both MCPs retain four
|
|
177
|
+
tools and require approval for mutations.
|
|
178
|
+
|
|
179
|
+
Hosted `create_tenant` returns existing metadata plus
|
|
180
|
+
`credentials_file: { filename: ".cohesivity", content: "<exact .cohesivity file contents>" }`
|
|
181
|
+
in `structuredContent` and the compatible text result. The existing OAuth
|
|
182
|
+
`mcp:tenants:create` scope, confirmation, and fresh ownership or guest-creation
|
|
183
|
+
checks authorize this deliberate secret-bearing response, which may enter
|
|
184
|
+
model or client retained tool history. The calling agent writes content
|
|
185
|
+
verbatim to the current project's `.cohesivity` with mode `0600` and gitignores
|
|
186
|
+
it. Never overwrite a different existing tenant, print credentials in chat,
|
|
187
|
+
logs, or source, or commit them. If the agent cannot write safely, it must
|
|
188
|
+
report that explicitly; the server cannot force a client filesystem write.
|
|
189
|
+
Other hosted tool outputs retain secret scrubbing; local MCP output remains
|
|
190
|
+
metadata-only.
|
|
191
|
+
|
|
192
|
+
The non-secret `credentials_download_url` and protected browser endpoint remain
|
|
193
|
+
an optional fallback for clients with no writable workspace, not a prerequisite
|
|
194
|
+
for coding clients. Download requires the consent browser's guest cookie for
|
|
195
|
+
its own still-ephemeral creation or an owning account session; the URL and MCP
|
|
196
|
+
bearer alone do not authorize it. Existing plugin 4.0.0 artifacts remain immutable.
|
|
197
|
+
|
|
198
|
+
The initializer itself retains its existing guest bootstrap behavior and does
|
|
199
|
+
not use or modify local MCP account state. Its installed plugin supplies the
|
|
200
|
+
optional account flow for subsequent MCP-managed projects. Release completion
|
|
201
|
+
requires the coordinated Worker changes; a passing candidate comparison does
|
|
202
|
+
not mean initializer 0.8.0 is published or that those endpoints are deployed.
|
|
203
|
+
|
|
169
204
|
## 0.7.1 four-tool skill guidance
|
|
170
205
|
|
|
171
206
|
Version 0.7.1 delivers plugin 3.0.6 and its matching standalone skill. The skill
|
|
@@ -345,7 +380,7 @@ other delivery path. Offline unit tests cannot detect a later independent npm,
|
|
|
345
380
|
quickstart, or canonical-skill publication; the live checks above are required
|
|
346
381
|
release verification. They are not automatically added to CI by this change.
|
|
347
382
|
A mismatch exits nonzero and does not rewrite any release pin. Publication of
|
|
348
|
-
0.
|
|
383
|
+
0.8.0 remains a separate release step; an unmerged PR does not update npm.
|
|
349
384
|
|
|
350
385
|
This comparison covers the skill bytes delivered by each installer. It does not
|
|
351
386
|
rewrite or verify the availability of package versions mentioned inside the
|
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.
|
|
47
|
+
const PKG_VERSION = '0.8.0';
|
|
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 = '27e41382fdaa31e4d32d5019ab76083c20736688';
|
|
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/3552aff26940e4b48174a5a2cbbc009573b3e0e9/artifacts/v4.0.1/install-manifest.v1.json',
|
|
89
89
|
manifestBytes: 9400,
|
|
90
|
-
manifestSha256: '
|
|
90
|
+
manifestSha256: 'fc42074cf01a9b0104f7cc3f9118a2d9718245c38177d9ffef45ce24f9817c12',
|
|
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.
|
|
3
|
+
"version": "0.8.0",
|
|
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": {
|