@retasc/cli 1.38.0 → 1.38.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/CHANGELOG.md +15 -0
- package/dist/index.js +39 -18
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,21 @@ release commits and the issues they reference.
|
|
|
6
6
|
|
|
7
7
|
Dates are the npm publish date. Each entry names the RTSC issue behind it.
|
|
8
8
|
|
|
9
|
+
## 1.38.1 (2026-08-28)
|
|
10
|
+
|
|
11
|
+
- **RTSC-780 follow-up** — `retasc init` now sets a folder up the same way every other
|
|
12
|
+
door does. 1.38.0 taught `bind`, `join` and `bind --setup` to wire every harness on the
|
|
13
|
+
machine, but `init` kept its own copy of that work: it minted a key and wrote a
|
|
14
|
+
key-bearing entry for Claude Code and nothing else. So the one command named onboarding
|
|
15
|
+
was the one that still left Codex with no Retasc tools, which is the exact failure
|
|
16
|
+
1.38.0 exists to end.
|
|
17
|
+
Fixed by deleting the duplicate rather than teaching it the same trick. Everything after
|
|
18
|
+
the org is now `bind`'s job, which also means `init` writes the keystore binding an
|
|
19
|
+
`auto` marker resolves against, guards a folder that is already bound instead of
|
|
20
|
+
overwriting it, and prints the same receipt.
|
|
21
|
+
`--scope` and `--no-watchdog` are gone from `init`: both described the shape of an entry
|
|
22
|
+
it no longer writes. `-y/--yes` and `--no-install` are there instead, matching `bind`.
|
|
23
|
+
|
|
9
24
|
## 1.38.0 (2026-08-28)
|
|
10
25
|
|
|
11
26
|
- **RTSC-780** — `retasc setup` wires Retasc into every MCP harness on the machine, once,
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { installMcp, noteRuntimeIsALabel, normalizeScope } from "./commands/mcp.
|
|
|
7
7
|
import { runSetup } from "./commands/setup.js";
|
|
8
8
|
import { installGate, resolveGatePrefix } from "./commands/gate.js";
|
|
9
9
|
import { claimAction, releaseAction } from "./commands/claim.js";
|
|
10
|
-
import { bindAction, setupFromToken } from "./commands/bind.js";
|
|
10
|
+
import { bindAction, completeWorkspaceSetup, rebindGuard, setupFromToken } from "./commands/bind.js";
|
|
11
11
|
import { unbindAction } from "./commands/unbind.js";
|
|
12
12
|
import { joinAction } from "./commands/join.js";
|
|
13
13
|
import { chooseInviteOrg, chooseInviteProjects } from "./commands/invite.js";
|
|
@@ -146,8 +146,8 @@ program
|
|
|
146
146
|
.requiredOption("--prefix <PREFIX>", "Project prefix, e.g. XEN")
|
|
147
147
|
.option("--agent <name>", "Agent member name (default: auto, \"{you}'s {runtime}\")")
|
|
148
148
|
.option("--runtime <runtime>", "Label for this agent in the Dash (claude-code | codex | grok | …). Does NOT choose where MCP config is written — `retasc setup` wires every harness on the machine.", "claude-code")
|
|
149
|
-
.option("--
|
|
150
|
-
.option("--no-
|
|
149
|
+
.option("-y, --yes", "Don't prompt to confirm replacing an existing binding")
|
|
150
|
+
.option("--no-install", "Don't install `retasc` on this machine; wire the pinned npx launcher instead")
|
|
151
151
|
.action(async (opts) => {
|
|
152
152
|
requireLogin();
|
|
153
153
|
try {
|
|
@@ -159,22 +159,43 @@ program
|
|
|
159
159
|
orgId = org.orgId;
|
|
160
160
|
console.log(`✓ Created org (${org.slug}).`);
|
|
161
161
|
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
// RTSC-780 follow-up: everything after the org is `bind`'s job now.
|
|
163
|
+
//
|
|
164
|
+
// This command used to mint a key and call `installMcp` itself, which wrote a
|
|
165
|
+
// key-bearing entry for Claude Code and nothing else. When RTSC-780 taught the
|
|
166
|
+
// other three doors (`bind`, `join`, `bind --setup`) to wire every harness on the
|
|
167
|
+
// machine, this one was left behind — so the one command named "onboarding" was
|
|
168
|
+
// the one that still left Codex with no Retasc tools, the exact failure RTSC-780
|
|
169
|
+
// exists to end.
|
|
170
|
+
//
|
|
171
|
+
// Fixed by DELETING the duplicate rather than teaching it the same trick.
|
|
172
|
+
// `completeWorkspaceSetup` already creates the project, mints, writes the keystore
|
|
173
|
+
// binding (which is what an `auto` marker resolves against — without it a marker
|
|
174
|
+
// has nothing to find), installs the folder marker, runs setup and prints the
|
|
175
|
+
// receipt. Two implementations of "set this folder up" is how they drift apart,
|
|
176
|
+
// and this is the second time they did.
|
|
177
|
+
//
|
|
178
|
+
// `--scope` and `--no-watchdog` are gone with it: both described the shape of an
|
|
179
|
+
// entry that is no longer written here. The marker is per-folder and secret-free,
|
|
180
|
+
// and the watchdog is not optional in it.
|
|
181
|
+
const cfg = patchConfig({ defaultProjectPrefix: opts.prefix });
|
|
182
|
+
const guard = await rebindGuard({ cwd: process.cwd(), mcpUrl: cfg.mcpUrl, yes: opts.yes });
|
|
183
|
+
if (!guard.proceed)
|
|
184
|
+
return;
|
|
185
|
+
await completeWorkspaceSetup({
|
|
165
186
|
orgId: orgId,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
187
|
+
orgLabel: opts.org,
|
|
188
|
+
opts: {
|
|
189
|
+
project: opts.project,
|
|
190
|
+
prefix: opts.prefix,
|
|
191
|
+
agent: opts.agent,
|
|
192
|
+
runtime: opts.runtime,
|
|
193
|
+
install: opts.install,
|
|
194
|
+
yes: opts.yes,
|
|
195
|
+
},
|
|
196
|
+
existing: guard.existing,
|
|
197
|
+
canCreateProject: true,
|
|
198
|
+
});
|
|
178
199
|
}
|
|
179
200
|
catch (e) {
|
|
180
201
|
fail(e);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retasc/cli",
|
|
3
|
-
"version": "1.38.
|
|
3
|
+
"version": "1.38.1",
|
|
4
4
|
"description": "Retasc CLI — the issue tracker AI agents pull work from. Sign in with GitHub or Google, create projects, mint agent API keys, and wire your agent to the Retasc MCP server in one command.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|