@vibe-commit/capture 0.6.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 +191 -9
- package/dist/account_not_here.d.ts +15 -0
- package/dist/account_not_here.js +25 -0
- package/dist/account_not_here.js.map +1 -0
- package/dist/agent_hooks.d.ts +8 -0
- package/dist/agent_hooks.js +31 -1
- package/dist/agent_hooks.js.map +1 -1
- package/dist/agents/claude_code.d.ts +34 -0
- package/dist/agents/claude_code.js +141 -8
- package/dist/agents/claude_code.js.map +1 -1
- package/dist/agents/codex_cli.d.ts +13 -0
- package/dist/agents/codex_cli.js +241 -2
- package/dist/agents/codex_cli.js.map +1 -1
- package/dist/agents/cursor.d.ts +34 -0
- package/dist/agents/cursor.js +115 -1
- package/dist/agents/cursor.js.map +1 -1
- package/dist/agents/session_listing.d.ts +29 -0
- package/dist/agents/session_listing.js +49 -0
- package/dist/agents/session_listing.js.map +1 -0
- package/dist/agents/types.d.ts +118 -8
- package/dist/agents/types.js +17 -3
- package/dist/agents/types.js.map +1 -1
- package/dist/commands/approval_pending.d.ts +9 -0
- package/dist/commands/approval_pending.js +23 -0
- package/dist/commands/approval_pending.js.map +1 -0
- package/dist/commands/auth.d.ts +7 -0
- package/dist/commands/auth.js +52 -11
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/backfill.d.ts +160 -0
- package/dist/commands/backfill.js +748 -0
- package/dist/commands/backfill.js.map +1 -0
- package/dist/commands/browser_credential.d.ts +6 -2
- package/dist/commands/browser_credential.js +34 -14
- package/dist/commands/browser_credential.js.map +1 -1
- package/dist/commands/connect.d.ts +146 -0
- package/dist/commands/connect.js +216 -117
- package/dist/commands/connect.js.map +1 -1
- package/dist/commands/connect_account.d.ts +135 -0
- package/dist/commands/connect_account.js +321 -0
- package/dist/commands/connect_account.js.map +1 -0
- package/dist/commands/connect_picker.d.ts +27 -0
- package/dist/commands/connect_picker.js +549 -0
- package/dist/commands/connect_picker.js.map +1 -0
- package/dist/commands/context.d.ts +16 -0
- package/dist/commands/context.js +27 -0
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/credential_problem.d.ts +15 -4
- package/dist/commands/credential_problem.js +29 -22
- package/dist/commands/credential_problem.js.map +1 -1
- package/dist/commands/device_credential.d.ts +5 -1
- package/dist/commands/device_credential.js +17 -14
- package/dist/commands/device_credential.js.map +1 -1
- package/dist/commands/finalize.d.ts +95 -0
- package/dist/commands/finalize.js +249 -74
- package/dist/commands/finalize.js.map +1 -1
- package/dist/commands/finish_mint.d.ts +30 -6
- package/dist/commands/finish_mint.js +26 -6
- package/dist/commands/finish_mint.js.map +1 -1
- package/dist/commands/report.js +38 -30
- package/dist/commands/report.js.map +1 -1
- package/dist/commands/scan.d.ts +162 -0
- package/dist/commands/scan.js +507 -0
- package/dist/commands/scan.js.map +1 -0
- package/dist/commands/status.d.ts +19 -1
- package/dist/commands/status.js +232 -26
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/status_hooks.d.ts +14 -0
- package/dist/commands/status_hooks.js +81 -0
- package/dist/commands/status_hooks.js.map +1 -0
- package/dist/commands/status_machine.d.ts +27 -0
- package/dist/commands/status_machine.js +210 -0
- package/dist/commands/status_machine.js.map +1 -0
- package/dist/commands/sync_reason.d.ts +17 -0
- package/dist/commands/sync_reason.js +25 -0
- package/dist/commands/sync_reason.js.map +1 -0
- package/dist/commands/why.js +44 -31
- package/dist/commands/why.js.map +1 -1
- package/dist/consent.d.ts +217 -0
- package/dist/consent.js +400 -1
- package/dist/consent.js.map +1 -1
- package/dist/copy/error_codes.d.ts +222 -0
- package/dist/copy/error_codes.js +105 -0
- package/dist/copy/error_codes.js.map +1 -0
- package/dist/copy/index.d.ts +2 -2
- package/dist/copy/index.js +2 -2
- package/dist/copy/index.js.map +1 -1
- package/dist/copy/strings.d.ts +617 -30
- package/dist/copy/strings.js +741 -36
- package/dist/copy/strings.js.map +1 -1
- package/dist/copy/time.d.ts +11 -0
- package/dist/copy/time.js +18 -0
- package/dist/copy/time.js.map +1 -1
- package/dist/credential.d.ts +5 -1
- package/dist/credential.js +2 -2
- package/dist/credential.js.map +1 -1
- package/dist/git.d.ts +43 -0
- package/dist/git.js +95 -0
- package/dist/git.js.map +1 -1
- package/dist/grants_sync.d.ts +165 -0
- package/dist/grants_sync.js +289 -0
- package/dist/grants_sync.js.map +1 -0
- package/dist/grants_verb.d.ts +70 -0
- package/dist/grants_verb.js +121 -0
- package/dist/grants_verb.js.map +1 -0
- package/dist/hooks/entry.d.ts +18 -1
- package/dist/hooks/entry.js +117 -14
- package/dist/hooks/entry.js.map +1 -1
- package/dist/hooks/post_commit.js +3 -3
- package/dist/hooks/post_commit.js.map +1 -1
- package/dist/hooks/post_rewrite.js +6 -4
- package/dist/hooks/post_rewrite.js.map +1 -1
- package/dist/hooks/session_grants.d.ts +59 -0
- package/dist/hooks/session_grants.js +91 -0
- package/dist/hooks/session_grants.js.map +1 -0
- package/dist/hooks/session_start.d.ts +114 -0
- package/dist/hooks/session_start.js +243 -0
- package/dist/hooks/session_start.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +76 -11
- package/dist/index.js.map +1 -1
- package/dist/install.d.ts +57 -0
- package/dist/install.js +54 -20
- package/dist/install.js.map +1 -1
- package/dist/json.d.ts +32 -9
- package/dist/json.js +35 -8
- package/dist/json.js.map +1 -1
- package/dist/machine_state.d.ts +52 -0
- package/dist/machine_state.js +63 -0
- package/dist/machine_state.js.map +1 -0
- package/dist/oauth/retire.d.ts +10 -0
- package/dist/oauth/retire.js +13 -0
- package/dist/oauth/retire.js.map +1 -1
- package/dist/oauth/session.d.ts +1 -0
- package/dist/org_pending.d.ts +52 -0
- package/dist/org_pending.js +109 -0
- package/dist/org_pending.js.map +1 -0
- package/dist/paths.d.ts +70 -0
- package/dist/paths.js +90 -0
- package/dist/paths.js.map +1 -1
- package/dist/pending_revoke.d.ts +117 -0
- package/dist/pending_revoke.js +233 -0
- package/dist/pending_revoke.js.map +1 -0
- package/dist/pending_revoke_file.d.ts +55 -0
- package/dist/pending_revoke_file.js +74 -0
- package/dist/pending_revoke_file.js.map +1 -0
- package/dist/picker.d.ts +208 -0
- package/dist/picker.js +526 -0
- package/dist/picker.js.map +1 -0
- package/dist/picker_checklist.d.ts +141 -0
- package/dist/picker_checklist.js +411 -0
- package/dist/picker_checklist.js.map +1 -0
- package/dist/policy.d.ts +70 -1
- package/dist/policy.js +68 -2
- package/dist/policy.js.map +1 -1
- package/dist/post.d.ts +91 -18
- package/dist/post.js +259 -27
- package/dist/post.js.map +1 -1
- package/dist/state.d.ts +6 -0
- package/dist/state.js +38 -1
- package/dist/state.js.map +1 -1
- package/dist/system_message.d.ts +32 -2
- package/dist/system_message.js +47 -5
- package/dist/system_message.js.map +1 -1
- package/dist/term.d.ts +28 -2
- package/dist/term.js +23 -2
- package/dist/term.js.map +1 -1
- package/dist/verb_help.d.ts +13 -0
- package/dist/verb_help.js +40 -0
- package/dist/verb_help.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -9
package/dist/commands/connect.js
CHANGED
|
@@ -26,20 +26,23 @@
|
|
|
26
26
|
*
|
|
27
27
|
* @provenance vibecommit-mcp src/transport/server.ts — POST /oauth/ingest-credential now mints one, verified
|
|
28
28
|
*/
|
|
29
|
-
import { AUTH, CONNECT, COMMANDS, AGENT_HOOKS, COMMIT_HOOK,
|
|
29
|
+
import { AUTH, CONNECT, PICKER, COMMANDS, AGENT_HOOKS, COMMIT_HOOK, HELP, PATH_CLASH, REJECTED, DEVICE, RUNTIME, URLS, } from "../copy/index.js";
|
|
30
30
|
import { dialectFor } from "../agents/registry.js";
|
|
31
|
-
import { grantProject, isAffirmative,
|
|
31
|
+
import { clearExclusion, grantProject, grantsUnreadable, isAffirmative, isCaptureAllowed, isLocalSlug, } from "../consent.js";
|
|
32
32
|
import { loadCredential } from "../credential.js";
|
|
33
33
|
import { EXIT } from "../exit.js";
|
|
34
|
-
import { resolveRepoSlug } from "../git.js";
|
|
35
|
-
import { confinementRoots, readSpan, DEFAULT_HOOK_BUDGET_MS } from "../hooks/entry.js";
|
|
34
|
+
import { onceRepoSlug, resolveRepoSlug } from "../git.js";
|
|
35
|
+
import { confinementRoots, hookBudgetMs, readSpan, recordCutter, DEFAULT_HOOK_BUDGET_MS } from "../hooks/entry.js";
|
|
36
36
|
import { installAgentHooks } from "../agent_install.js";
|
|
37
|
-
import { authCommandFor, classifyInstall, installPostCommitHook } from "../install.js";
|
|
37
|
+
import { authCommandFor, channelCommand, classifyInstall, connectCommandFor, installPostCommitHook } from "../install.js";
|
|
38
|
+
import { realpathSync } from "node:fs";
|
|
38
39
|
import { CAPTURE_NOT_APPROVED, deliver, credentialFingerprint, ingestUrl, } from "../post.js";
|
|
39
40
|
import { resolveProjectKeys } from "../project.js";
|
|
40
41
|
import { meetsNodeFloor, NODE_FLOOR_TEXT } from "../runtime.js";
|
|
41
42
|
import { credentialsPath } from "../paths.js";
|
|
42
43
|
import { paint, renderErrorBlock, tildePath, truncatePath, wrap } from "../term.js";
|
|
44
|
+
import { renderVerbHelp } from "../verb_help.js";
|
|
45
|
+
import { approvalPendingBlock } from "./approval_pending.js";
|
|
43
46
|
import { credentialProblem, rejectedCredentialBlock } from "./credential_problem.js";
|
|
44
47
|
import { probeCredential } from "./probe.js";
|
|
45
48
|
import { writeLines } from "./context.js";
|
|
@@ -49,13 +52,15 @@ export async function connect(ctx, options = {}, deps = {}) {
|
|
|
49
52
|
// `connect` carries the "already exposed" urgency `auth`'s own positional refusal does, so first is
|
|
50
53
|
// safe here, unlike there. Reads and writes nothing.
|
|
51
54
|
if (options.help === true) {
|
|
52
|
-
|
|
55
|
+
const helpVerb = "connect"; // an identifier, not a literal, at the writer: `copy-inline-literals` follows argument positions
|
|
56
|
+
writeLines(ctx.stdout, renderVerbHelp(helpVerb));
|
|
53
57
|
return EXIT.ok;
|
|
54
58
|
}
|
|
55
59
|
// `CR-234d`: sign-in by code waits on a person and ends in a question — a terminal or nothing.
|
|
56
60
|
if (options.device === true && !ctx.stdinIsTty) {
|
|
57
61
|
writeLines(ctx.stderr, renderErrorBlock({
|
|
58
62
|
kind: "bad",
|
|
63
|
+
code: "SIGNIN_CODE_NEEDS_TTY",
|
|
59
64
|
what: DEVICE.needsTerminalWhat,
|
|
60
65
|
why: [DEVICE.needsTerminalWhy],
|
|
61
66
|
fixLabel: DEVICE.needsTerminalFix,
|
|
@@ -68,60 +73,134 @@ export async function connect(ctx, options = {}, deps = {}) {
|
|
|
68
73
|
if (!meetsNodeFloor(ctx.nodeVersion)) {
|
|
69
74
|
writeLines(ctx.stderr, renderErrorBlock({
|
|
70
75
|
kind: "bad",
|
|
76
|
+
code: "NODE_TOO_OLD",
|
|
71
77
|
what: RUNTIME.floorWhat,
|
|
72
78
|
why: [
|
|
73
79
|
`${RUNTIME.floorWhyPrefix} ${NODE_FLOOR_TEXT} ${RUNTIME.floorWhyMiddle} ${ctx.nodeVersion}.`,
|
|
74
80
|
],
|
|
75
81
|
fixLabel: RUNTIME.floorFix,
|
|
76
|
-
fixes: [
|
|
82
|
+
fixes: [connectCommandFor(ctx.env, ctx.selfPath)],
|
|
77
83
|
}, ctx.colour));
|
|
78
84
|
return EXIT.failure;
|
|
79
85
|
}
|
|
80
|
-
// (2)
|
|
81
|
-
//
|
|
82
|
-
//
|
|
86
|
+
// (2) WHERE ARE WE? (0.7.0, D34.) `connect` no longer needs a work tree: outside one, and from `$HOME` even inside one, it
|
|
87
|
+
// shows the picker. Inside a work tree with a remote it shows the picker with this repo pre-ticked. A repo that is
|
|
88
|
+
// ALREADY covered skips it, and a repo with no remote (`local:`) keeps the 0.6.0 flow: there is no slug to grant.
|
|
83
89
|
//
|
|
84
|
-
// ⛔ THE GRANT
|
|
85
|
-
//
|
|
86
|
-
//
|
|
87
|
-
// itself. Granting the toplevel here while `entry.ts` and `post_commit.ts`
|
|
88
|
-
// check the common dir is a TOTAL, SILENT capture outage in every repository
|
|
89
|
-
// (`D184 §9`), and no cell that grants and checks through one helper can see
|
|
90
|
-
// it.
|
|
90
|
+
// ⛔ THE PER-CLONE GRANT IS STILL THE ONLY WRITER OF `projects.json`, and it writes `keys.consent` — the git common
|
|
91
|
+
// dir (`D184 §1`, `§9`): granting the toplevel while the gates check the common dir is a TOTAL, SILENT capture outage
|
|
92
|
+
// in every repository, and no cell that grants and checks through one helper can see it.
|
|
91
93
|
const keys = resolveProjectKeys(ctx.cwd);
|
|
92
|
-
if (keys === null) {
|
|
93
|
-
|
|
94
|
+
if (keys === null || atHome(ctx)) {
|
|
95
|
+
// Outside a work tree: nothing to pre-tick. At `$HOME` a dotfiles repo is FLAGGED in the list, never pre-ticked.
|
|
96
|
+
let here = null;
|
|
97
|
+
if (keys !== null) {
|
|
98
|
+
const slug = resolveRepoSlug(keys.worktree);
|
|
99
|
+
if (!isLocalSlug(slug))
|
|
100
|
+
here = { slug, toplevel: keys.worktree, kind: "folder" };
|
|
101
|
+
}
|
|
102
|
+
return await (await import("./connect_picker.js")).connectPicker(ctx, options, deps, here);
|
|
103
|
+
}
|
|
104
|
+
// 0.7.0: the same decision the hooks make. A repo that is excluded (`vibecommit off`) is NOT already connected here
|
|
105
|
+
// even when its common-dir consent survives, so it falls through to the disclosure, and only a yes below clears it.
|
|
106
|
+
const slugOf = onceRepoSlug(keys.worktree);
|
|
107
|
+
if (grantsUnreadable(ctx.home) && !isLocalSlug(slugOf())) {
|
|
108
|
+
writeLines(ctx.stderr, grantsUnreadableBlock(ctx));
|
|
94
109
|
return EXIT.failure;
|
|
95
110
|
}
|
|
96
|
-
if (
|
|
111
|
+
if (isCaptureAllowed(ctx.home, keys, slugOf)) {
|
|
97
112
|
writeLines(ctx.stdout, wrap(CONNECT.alreadyConnected, 2));
|
|
113
|
+
// Slice 2: a verb that runs on a machine with a credential is where queued changes get delivered. This repo is already on, so
|
|
114
|
+
// there is no picker and nothing new to say; the sync is bounded (3 s) and silent on failure, and a machine with no
|
|
115
|
+
// credential makes no request.
|
|
116
|
+
if (deps.account !== undefined)
|
|
117
|
+
await (await import("../grants_verb.js")).syncForVerb(ctx, false, deps.account);
|
|
98
118
|
return await afterConsent(ctx, keys, options, deps);
|
|
99
119
|
}
|
|
100
|
-
|
|
101
|
-
|
|
120
|
+
if (!isLocalSlug(slugOf())) {
|
|
121
|
+
return await (await import("./connect_picker.js")).connectPicker(ctx, options, deps, { slug: slugOf(), toplevel: keys.worktree, kind: "repo" }, keys);
|
|
122
|
+
}
|
|
123
|
+
// (3) The disclosure, then the gate. A repo with no remote: the 0.6.0 screen, under its own heading (D35).
|
|
124
|
+
writeLines(ctx.stdout, disclosure(ctx, false));
|
|
102
125
|
// (4) Non-TTY REFUSES. A consent prompt that proceeds when nobody can answer
|
|
103
126
|
// it is not a consent prompt (D65 §DR7). Exit 2 — DESIGN.md §13.7 names this
|
|
104
127
|
// case explicitly, so it is a usage error and not a failure.
|
|
105
128
|
if (!ctx.stdinIsTty) {
|
|
106
129
|
writeLines(ctx.stderr, renderErrorBlock({
|
|
107
130
|
kind: "bad",
|
|
131
|
+
code: "CONSENT_NEEDS_TTY",
|
|
108
132
|
what: CONNECT.nonInteractiveWhat,
|
|
109
133
|
why: [CONNECT.nonInteractiveWhy],
|
|
110
|
-
|
|
111
|
-
|
|
134
|
+
// PR 6 item 6: names the folder the user is to run it in, cut from the LEFT to fit the line (§13.4).
|
|
135
|
+
fixLabel: CONNECT.nonInteractiveFix(truncatePath(tildePath(keys.worktree, ctx.home), 46)),
|
|
136
|
+
fixes: [connectCommandFor(ctx.env, ctx.selfPath)],
|
|
112
137
|
}, ctx.colour));
|
|
113
138
|
return EXIT.usage;
|
|
114
139
|
}
|
|
115
|
-
// (5) The default is N. Anything that is not an explicit yes is a no.
|
|
116
|
-
|
|
140
|
+
// (5) The default is N. Anything that is not an explicit yes is a no. ⛔ A REJECTED QUESTION IS A CANCEL: Ctrl+C at a
|
|
141
|
+
// `readline/promises` question does not raise SIGINT, the promise REJECTS (TODOS[191]), and left to escape it printed
|
|
142
|
+
// the "unexpected error" block for what is ordinary CLI behaviour.
|
|
143
|
+
const answer = await askOrCancel(ctx, ` ${CONNECT.consentPrompt} ${paint(ctx.colour, "muted", CONNECT.consentAnswers)} `);
|
|
144
|
+
if (answer === null)
|
|
145
|
+
return cancelled(ctx);
|
|
117
146
|
if (!isAffirmative(answer)) {
|
|
118
147
|
writeLines(ctx.stdout, ["", ...wrap(CONNECT.declined, 2)]);
|
|
119
148
|
// Declining is a successful consent flow, not a failure. Exit 0 (§13.7).
|
|
120
149
|
return EXIT.ok;
|
|
121
150
|
}
|
|
151
|
+
// A yes is the ONLY thing that lifts an exclusion: `off` recorded the slug, and the disclosure above was shown again.
|
|
152
|
+
// ⛔ `grants.json` FIRST, THE COMMON-DIR CONSENT SECOND (VR #28, on merged #73). `clearExclusion` refuses to touch a file it
|
|
153
|
+
// cannot read BEFORE it writes anything, so a race with an edit of `grants.json` since the check above stops here with
|
|
154
|
+
// nothing written — which keeps "Nothing was changed." true. The other order had already written `projects.json`.
|
|
155
|
+
// A repo with no remote has no slug to exclude and is exempt from an unreadable file (`isCaptureAllowed`), so it skips this.
|
|
156
|
+
if (!isLocalSlug(slugOf()) && clearExclusion(ctx.home, slugOf()) === "unreadable") {
|
|
157
|
+
writeLines(ctx.stderr, grantsUnreadableBlock(ctx));
|
|
158
|
+
return EXIT.failure;
|
|
159
|
+
}
|
|
122
160
|
grantProject(ctx.home, keys.consent, ctx.now());
|
|
123
161
|
return await afterConsent(ctx, keys, options, deps);
|
|
124
162
|
}
|
|
163
|
+
/** Is the working folder the home directory? Realpaths, so a symlinked home still matches; any failure is "no". */
|
|
164
|
+
function atHome(ctx) {
|
|
165
|
+
if (ctx.home === "")
|
|
166
|
+
return false;
|
|
167
|
+
try {
|
|
168
|
+
return realpathSync(ctx.cwd) === realpathSync(ctx.home);
|
|
169
|
+
}
|
|
170
|
+
catch {
|
|
171
|
+
return false;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Ask a question; `null` when the prompt was aborted. Ctrl+C at a `readline/promises` question closes the interface and
|
|
176
|
+
* REJECTS with an `AbortError` instead of raising SIGINT (TODOS[191]), so every ask site that wants Ctrl+C to be a No
|
|
177
|
+
* goes through here. A rejection means nobody said yes.
|
|
178
|
+
*/
|
|
179
|
+
export async function askOrCancel(ctx, question) {
|
|
180
|
+
try {
|
|
181
|
+
return await ctx.ask(question);
|
|
182
|
+
}
|
|
183
|
+
catch {
|
|
184
|
+
return null;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
/** §10.11: Ctrl+C at the picker or the grant y/N is a No. Exit 1, and nothing was changed. */
|
|
188
|
+
export function cancelled(ctx) {
|
|
189
|
+
// The terminal left the cursor at the end of the prompt line, so one empty line ends it and a second leaves the blank
|
|
190
|
+
// line the drawn screen has.
|
|
191
|
+
writeLines(ctx.stdout, ["", "", ...wrap(PICKER.cancelled, 2)]);
|
|
192
|
+
return EXIT.failure;
|
|
193
|
+
}
|
|
194
|
+
export function grantsUnreadableBlock(ctx) {
|
|
195
|
+
return renderErrorBlock({
|
|
196
|
+
kind: "bad",
|
|
197
|
+
code: "GRANTS_UNREADABLE",
|
|
198
|
+
what: CONNECT.grantsUnreadableWhat,
|
|
199
|
+
why: [CONNECT.grantsUnreadableWhy],
|
|
200
|
+
fixLabel: CONNECT.grantsUnreadableFixLabel,
|
|
201
|
+
fixes: [connectCommandFor(ctx.env, ctx.selfPath)],
|
|
202
|
+
}, ctx.colour);
|
|
203
|
+
}
|
|
125
204
|
/**
|
|
126
205
|
* Consent is settled. Sign in if asked, then do the credential beat.
|
|
127
206
|
*
|
|
@@ -158,13 +237,16 @@ async function afterConsent(ctx, keys, options, deps) {
|
|
|
158
237
|
* because the approved copy itself says "private-repo paths", so a substring
|
|
159
238
|
* gate would fire on approved copy on day one. That one is a HUMAN review item.
|
|
160
239
|
*/
|
|
161
|
-
function disclosure(ctx) {
|
|
240
|
+
export function disclosure(ctx, picker) {
|
|
162
241
|
// §10.2 aligns the two link URLs in one column. The width is DERIVED from the
|
|
163
242
|
// labels rather than hardcoded, so editing a label cannot silently break the
|
|
164
243
|
// alignment — and the four trailing spaces are the gutter the guide draws.
|
|
165
244
|
const gutter = Math.max(CONNECT.consentDocsLabel.length, CONNECT.consentBundleLabel.length) + 4;
|
|
166
245
|
return [
|
|
167
|
-
|
|
246
|
+
// D23 · D35: the picker path and the no-remote path each have their own heading (a new constant, passing the same
|
|
247
|
+
// content gates). The four paragraphs under either are byte-identical, and the picker path adds ONE sentence.
|
|
248
|
+
...wrap(picker ? CONNECT.consentHeadingPicker : CONNECT.consentHeading, 2),
|
|
249
|
+
...(picker ? wrap(CONNECT.consentScope, 2) : []),
|
|
168
250
|
"",
|
|
169
251
|
...wrap(CONNECT.consentDetail, 2),
|
|
170
252
|
"",
|
|
@@ -200,6 +282,16 @@ function disclosure(ctx) {
|
|
|
200
282
|
* exactly the population that installs commit tooling.
|
|
201
283
|
*/
|
|
202
284
|
async function credentialBeat(ctx, keys, deps, options = {}) {
|
|
285
|
+
const got = await obtainCredential(ctx, deps, options);
|
|
286
|
+
if (got.kind === "exit")
|
|
287
|
+
return got.code;
|
|
288
|
+
return await captureBeat(ctx, keys, got.credential, got.unconfirmed);
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Get a credential this machine can send with — the beat both endings share (the 0.6.0 one and the picker's).
|
|
292
|
+
* `scope: "repos"` is the picker path: the workspace question names the repos chosen, not the machine (D7 · 3A).
|
|
293
|
+
*/
|
|
294
|
+
export async function obtainCredential(ctx, deps, options = {}, scope) {
|
|
203
295
|
const load = loadCredential({ env: ctx.env, home: ctx.home });
|
|
204
296
|
if (load.kind === "ok") {
|
|
205
297
|
// ⛔ ASK THE SERVER BEFORE SENDING — `R12` (D13 = A), G1. `connect` used to send whatever loaded
|
|
@@ -216,12 +308,12 @@ async function credentialBeat(ctx, keys, deps, options = {}) {
|
|
|
216
308
|
colour: ctx.colour,
|
|
217
309
|
standing: false,
|
|
218
310
|
}));
|
|
219
|
-
return EXIT.notConnected;
|
|
311
|
+
return { kind: "exit", code: EXIT.notConnected };
|
|
220
312
|
}
|
|
221
313
|
// Only a 401 proves the credential dead. A 5xx, a 404 from a server that predates the route, a
|
|
222
314
|
// timeout or a network error says nothing about it — and "a blip is not a failed install" is the
|
|
223
315
|
// rule `captureBeat` already keeps for the send. So: today's ending, plus one muted line.
|
|
224
|
-
return
|
|
316
|
+
return { kind: "credential", credential: load.credential, unconfirmed: probe.kind === "unavailable" };
|
|
225
317
|
}
|
|
226
318
|
// ⛔ ONLY FOR `absent`, AND ONLY WITH A HUMAN AT THE TERMINAL (`CR-226`).
|
|
227
319
|
// - `absent`: a credential that is present but wrong-class, unreadable or
|
|
@@ -231,38 +323,103 @@ async function credentialBeat(ctx, keys, deps, options = {}) {
|
|
|
231
323
|
// opened there waits five minutes for nobody. The old warning is the
|
|
232
324
|
// right answer for them, and it is what they still get.
|
|
233
325
|
if (load.kind === "absent" && ctx.stdinIsTty && deps.browser !== undefined) {
|
|
234
|
-
const minted = await deps.browser(ctx, "connect", {
|
|
326
|
+
const minted = await deps.browser(ctx, "connect", {
|
|
327
|
+
device: options.device === true,
|
|
328
|
+
...(scope === undefined ? {} : { scope }),
|
|
329
|
+
});
|
|
235
330
|
if (minted.kind === "saved") {
|
|
236
|
-
|
|
237
|
-
"",
|
|
238
|
-
...renderErrorBlock({
|
|
239
|
-
kind: "ok",
|
|
240
|
-
what: AUTH.savedWhat,
|
|
241
|
-
why: [AUTH.savedWhy(tildePath(credentialsPath(ctx.home), ctx.home)), ...(minted.notes ?? [])],
|
|
242
|
-
}, ctx.colour),
|
|
243
|
-
]);
|
|
331
|
+
savedBlock(ctx, minted.notes ?? []);
|
|
244
332
|
// Already probed by the mint (`finishMint`), so no second probe here.
|
|
245
|
-
return
|
|
333
|
+
return { kind: "credential", credential: minted.credential, unconfirmed: false };
|
|
246
334
|
}
|
|
247
335
|
// Declined at the replace confirmation: the reason is already on screen, and the user said NO.
|
|
248
336
|
if (minted.kind === "declined")
|
|
249
|
-
return EXIT.failure;
|
|
337
|
+
return { kind: "exit", code: EXIT.failure };
|
|
250
338
|
// Failed: the reason is already on stderr. Fall through to the paste path.
|
|
251
339
|
}
|
|
252
340
|
// ⛔ R15: a FAULTY file is named as the fault it is, not as "no credential". The fix for a fault is
|
|
253
341
|
// `auth` (or a `chmod`), and `connect` still never mints over one (D206 §5).
|
|
254
342
|
if (load.kind !== "absent") {
|
|
255
343
|
writeLines(ctx.stderr, credentialProblem(load, ctx.colour, authCommandFor(ctx.env, ctx.selfPath)));
|
|
256
|
-
return EXIT.notConnected;
|
|
344
|
+
return { kind: "exit", code: EXIT.notConnected };
|
|
257
345
|
}
|
|
258
346
|
writeLines(ctx.stderr, renderErrorBlock({
|
|
259
347
|
kind: "warn",
|
|
260
348
|
what: CONNECT.credentialNeededWhat,
|
|
261
349
|
why: [CONNECT.credentialNeededWhy],
|
|
262
350
|
fixLabel: CONNECT.credentialNeededFix,
|
|
263
|
-
fixes: [CONNECT.credentialNeededCommand, COMMANDS.connect],
|
|
351
|
+
fixes: [CONNECT.credentialNeededCommand, COMMANDS.connect].map((fix) => channelCommand(ctx.env, ctx.selfPath, fix)),
|
|
264
352
|
}, ctx.colour));
|
|
265
|
-
return EXIT.notConnected;
|
|
353
|
+
return { kind: "exit", code: EXIT.notConnected };
|
|
354
|
+
}
|
|
355
|
+
/** "Saved to <credentials.json>" — what the credential beat says once a credential is on disk (and `g`, once its yes has put it there). */
|
|
356
|
+
export function savedBlock(ctx, notes) {
|
|
357
|
+
writeLines(ctx.stdout, [
|
|
358
|
+
"",
|
|
359
|
+
...renderErrorBlock({ kind: "ok", what: AUTH.savedWhat, why: [AUTH.savedWhy(tildePath(credentialsPath(ctx.home), ctx.home)), ...notes] }, ctx.colour),
|
|
360
|
+
]);
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* The test capture: send the current session's transcript through `deliver()` so the ending can name evidence (D57 §DX5's
|
|
364
|
+
* Sentry-wizard pattern). Shared by the 0.6.0 ending (`captureBeat`) and the in-repo picker path (0.7.0, VQ item 7), so the
|
|
365
|
+
* two cannot drift: one budget (`hookBudgetMs`, PR 4a), one redaction root set, one place that reads a 2xx body.
|
|
366
|
+
*
|
|
367
|
+
* `found` is the located transcript, or `null` when there is none (no locator, or the agent has not run here). Returns the
|
|
368
|
+
* delivery, or `null` when nothing was sent.
|
|
369
|
+
*/
|
|
370
|
+
export async function sendTestCapture(ctx, keys, credential, found) {
|
|
371
|
+
const projectKey = keys.worktree;
|
|
372
|
+
const url = ingestUrl(ctx.env);
|
|
373
|
+
let delivery = null;
|
|
374
|
+
if (found !== null && url !== null) {
|
|
375
|
+
// Through `deliver()`, so the offset ledger, the failure policy and
|
|
376
|
+
// `CR-024d`'s redaction all apply exactly as they do for a hook. A second
|
|
377
|
+
// upload path here would bypass all three.
|
|
378
|
+
delivery = await deliver({
|
|
379
|
+
home: ctx.home,
|
|
380
|
+
env: ctx.env,
|
|
381
|
+
url,
|
|
382
|
+
credential,
|
|
383
|
+
repoKey: projectKey,
|
|
384
|
+
repoSlug: resolveRepoSlug(projectKey),
|
|
385
|
+
sessionId: found.sessionId,
|
|
386
|
+
fileKey: "main",
|
|
387
|
+
// ⛔ The LOCATED path (`CR-204`), so this test capture names its producer
|
|
388
|
+
// on the wire exactly as a hook's would — and names it the same way,
|
|
389
|
+
// from the root that contains the file rather than from `ctx.agentId`.
|
|
390
|
+
// ⚠ The LOCATOR above is still the flag's: `connect` is looking FOR a
|
|
391
|
+
// transcript, so there is no path yet to ask a root about.
|
|
392
|
+
transcriptPath: found.path,
|
|
393
|
+
timeoutMs: DEFAULT_HOOK_BUDGET_MS,
|
|
394
|
+
// PR 4a — ONE HOOK BUDGET (Alexander's ruling, design doc Next Steps 4a). A large session is sent in deltas, and this
|
|
395
|
+
// test capture sends what fits in a single hook's budget, then prints its ending: `connect` must not sit through a
|
|
396
|
+
// multi-minute upload that the session's own hooks, `finalize` and the backfill offer will do anyway. What is left
|
|
397
|
+
// is NOT written off: the offset stays where the last acknowledged delta put it. The ending below is unchanged for a
|
|
398
|
+
// partial delivery, and so is the conversation-id link (the id comes from the first delta that carries it).
|
|
399
|
+
deadlineAtMs: Date.now() + hookBudgetMs(ctx.env, ctx.agentId ?? ""),
|
|
400
|
+
nowMs: ctx.now().getTime(),
|
|
401
|
+
// ⛔ NOT A HOOK. `connect` backfills the located transcript, which is not evidence that the session is alive: it
|
|
402
|
+
// would otherwise rewrite an old session's state file and (under the mtime clock) make it "live" — the D2 shape.
|
|
403
|
+
byHook: false,
|
|
404
|
+
// ⛔ THE ONLY CALLER THAT READS A 2xx BODY (`eng-2 D2 = A`): for the session link. Hooks and
|
|
405
|
+
// `finalize` leave this unset, so the hook's hot path never reads, awaits or parses one.
|
|
406
|
+
readConversationId: true,
|
|
407
|
+
}, found.size,
|
|
408
|
+
// ⛔ THE ROOT SET, and it is `confinementRoots` — THE SAME FUNCTION THE
|
|
409
|
+
// HOOK PATH CALLS (`entry.ts`), not a set built here. `D184 §3`: the
|
|
410
|
+
// confinement root is `[worktree, mainToplevel]` and the consent key is
|
|
411
|
+
// NEVER a member, so this does not follow the flip above.
|
|
412
|
+
//
|
|
413
|
+
// ⚠ WHY IT CANNOT STAY THE SINGLETON IT WAS: `connect` runs in whatever
|
|
414
|
+
// cwd a human typed it in, which is reachable from inside a worktree. With
|
|
415
|
+
// one root, this preview would redact main-clone content that the hook
|
|
416
|
+
// path transmits — the two would disagree SILENTLY, and the preview is the
|
|
417
|
+
// artefact the user reads to decide whether redaction works. `isInside`
|
|
418
|
+
// fail-closes an unresolvable path to REDACT, so the disagreement shows up
|
|
419
|
+
// as a plausible, well-formed, emptier payload rather than an error.
|
|
420
|
+
(from, to) => readSpan(found.path, from, to, confinementRoots(keys), ctx.home, ctx.env), recordCutter(found.path));
|
|
421
|
+
}
|
|
422
|
+
return { delivery };
|
|
266
423
|
}
|
|
267
424
|
/**
|
|
268
425
|
* The ending — D57 §DX5's Sentry-wizard test-event pattern.
|
|
@@ -343,55 +500,12 @@ unconfirmed) {
|
|
|
343
500
|
what: CONNECT.noTranscriptWhat,
|
|
344
501
|
why: [CONNECT.noTranscriptWhy],
|
|
345
502
|
fixLabel: CONNECT.noTranscriptFix,
|
|
346
|
-
fixes: [COMMANDS.status],
|
|
503
|
+
fixes: [channelCommand(ctx.env, ctx.selfPath, COMMANDS.status)],
|
|
347
504
|
}, ctx.colour),
|
|
348
505
|
]);
|
|
349
506
|
return tail(ctx, unconfirmed);
|
|
350
507
|
}
|
|
351
|
-
const
|
|
352
|
-
let delivery = null;
|
|
353
|
-
if (found !== null && url !== null) {
|
|
354
|
-
// Through `deliver()`, so the offset ledger, the failure policy and
|
|
355
|
-
// `CR-024d`'s redaction all apply exactly as they do for a hook. A second
|
|
356
|
-
// upload path here would bypass all three.
|
|
357
|
-
delivery = await deliver({
|
|
358
|
-
home: ctx.home,
|
|
359
|
-
env: ctx.env,
|
|
360
|
-
url,
|
|
361
|
-
credential,
|
|
362
|
-
repoKey: projectKey,
|
|
363
|
-
repoSlug: resolveRepoSlug(projectKey),
|
|
364
|
-
sessionId: found.sessionId,
|
|
365
|
-
fileKey: "main",
|
|
366
|
-
// ⛔ The LOCATED path (`CR-204`), so this test capture names its producer
|
|
367
|
-
// on the wire exactly as a hook's would — and names it the same way,
|
|
368
|
-
// from the root that contains the file rather than from `ctx.agentId`.
|
|
369
|
-
// ⚠ The LOCATOR above is still the flag's: `connect` is looking FOR a
|
|
370
|
-
// transcript, so there is no path yet to ask a root about.
|
|
371
|
-
transcriptPath: found.path,
|
|
372
|
-
timeoutMs: DEFAULT_HOOK_BUDGET_MS,
|
|
373
|
-
nowMs: ctx.now().getTime(),
|
|
374
|
-
// ⛔ NOT A HOOK. `connect` backfills the located transcript, which is not evidence that the session is alive: it
|
|
375
|
-
// would otherwise rewrite an old session's state file and (under the mtime clock) make it "live" — the D2 shape.
|
|
376
|
-
byHook: false,
|
|
377
|
-
// ⛔ THE ONLY CALLER THAT READS A 2xx BODY (`eng-2 D2 = A`): for the session link. Hooks and
|
|
378
|
-
// `finalize` leave this unset, so the hook's hot path never reads, awaits or parses one.
|
|
379
|
-
readConversationId: true,
|
|
380
|
-
}, found.size,
|
|
381
|
-
// ⛔ THE ROOT SET, and it is `confinementRoots` — THE SAME FUNCTION THE
|
|
382
|
-
// HOOK PATH CALLS (`entry.ts`), not a set built here. `D184 §3`: the
|
|
383
|
-
// confinement root is `[worktree, mainToplevel]` and the consent key is
|
|
384
|
-
// NEVER a member, so this does not follow the flip above.
|
|
385
|
-
//
|
|
386
|
-
// ⚠ WHY IT CANNOT STAY THE SINGLETON IT WAS: `connect` runs in whatever
|
|
387
|
-
// cwd a human typed it in, which is reachable from inside a worktree. With
|
|
388
|
-
// one root, this preview would redact main-clone content that the hook
|
|
389
|
-
// path transmits — the two would disagree SILENTLY, and the preview is the
|
|
390
|
-
// artefact the user reads to decide whether redaction works. `isInside`
|
|
391
|
-
// fail-closes an unresolvable path to REDACT, so the disagreement shows up
|
|
392
|
-
// as a plausible, well-formed, emptier payload rather than an error.
|
|
393
|
-
(from, to) => readSpan(found.path, from, to, confinementRoots(keys), ctx.home, ctx.env));
|
|
394
|
-
}
|
|
508
|
+
const { delivery } = await sendTestCapture(ctx, keys, credential, found);
|
|
395
509
|
// THE FIFTH BEAT — `CR-110`, D65 §DR6, D81.
|
|
396
510
|
//
|
|
397
511
|
// ⚠ ONE outcome is branched on, identified by its ERROR CODE. The general rule
|
|
@@ -417,7 +531,7 @@ unconfirmed) {
|
|
|
417
531
|
` ${paint(ctx.colour, "accent", conversationId === undefined ? URLS.commits : URLS.conversation(conversationId))}`,
|
|
418
532
|
"",
|
|
419
533
|
...wrap(CONNECT.doneForRepo(truncatePath(projectKey, 52)), 2),
|
|
420
|
-
...wrap(`${CONNECT.stopLabel}: ${COMMANDS.off}`, 2),
|
|
534
|
+
...wrap(`${CONNECT.stopLabel}: ${channelCommand(ctx.env, ctx.selfPath, COMMANDS.off)}`, 2),
|
|
421
535
|
]);
|
|
422
536
|
return tail(ctx, unconfirmed);
|
|
423
537
|
}
|
|
@@ -426,13 +540,13 @@ unconfirmed) {
|
|
|
426
540
|
* the PATH-clash check. The one place `pathClash` is called — a branch that called it too would print
|
|
427
541
|
* the clash block twice.
|
|
428
542
|
*/
|
|
429
|
-
function tail(ctx, unconfirmed) {
|
|
543
|
+
export function tail(ctx, unconfirmed) {
|
|
430
544
|
if (unconfirmed) {
|
|
431
545
|
writeLines(ctx.stdout, [
|
|
432
546
|
"",
|
|
433
547
|
// Two short lines, never one wrapped: the backticked command must not be split (see `REJECTED`).
|
|
434
548
|
` ${paint(ctx.colour, "muted", REJECTED.unconfirmedWhat)}`,
|
|
435
|
-
` ${paint(ctx.colour, "muted", REJECTED.unconfirmedFix)}`,
|
|
549
|
+
` ${paint(ctx.colour, "muted", REJECTED.unconfirmedFix(channelCommand(ctx.env, ctx.selfPath, COMMANDS.status)))}`,
|
|
436
550
|
]);
|
|
437
551
|
}
|
|
438
552
|
return pathClash(ctx);
|
|
@@ -449,7 +563,7 @@ function tail(ctx, unconfirmed) {
|
|
|
449
563
|
* into a file shared by every project — the one new responsibility `CR-195`
|
|
450
564
|
* names — so "we configured your editor" is the shape this must not take.
|
|
451
565
|
*/
|
|
452
|
-
function agentHookBeat(ctx) {
|
|
566
|
+
export function agentHookBeat(ctx) {
|
|
453
567
|
const outcomes = installAgentHooks(ctx.home, ctx.env, ctx.selfPath);
|
|
454
568
|
for (const outcome of outcomes) {
|
|
455
569
|
// Absent agents say nothing at all. A line per tool the user does not have
|
|
@@ -482,7 +596,7 @@ function agentHookBeat(ctx) {
|
|
|
482
596
|
...(refused
|
|
483
597
|
? {
|
|
484
598
|
fixLabel: AGENT_HOOKS.refusedFixLabel,
|
|
485
|
-
fixes: [AGENT_HOOKS.refusedFix(path)],
|
|
599
|
+
fixes: [AGENT_HOOKS.refusedFix(path, connectCommandFor(ctx.env, ctx.selfPath))],
|
|
486
600
|
}
|
|
487
601
|
: {}),
|
|
488
602
|
}, ctx.colour),
|
|
@@ -534,7 +648,7 @@ function commitHookBeat(ctx, projectKey) {
|
|
|
534
648
|
: COMMIT_HOOK.failedWhy(outcome.why),
|
|
535
649
|
],
|
|
536
650
|
fixLabel: COMMIT_HOOK.hooksPathFixLabel,
|
|
537
|
-
fixes: [COMMIT_HOOK.hooksPathFixUnset, COMMIT_HOOK.hooksPathFixManual],
|
|
651
|
+
fixes: [COMMIT_HOOK.hooksPathFixUnset, COMMIT_HOOK.hooksPathFixManual(channelCommand(ctx.env, ctx.selfPath, COMMANDS.postCommit))],
|
|
538
652
|
}, ctx.colour),
|
|
539
653
|
]);
|
|
540
654
|
return;
|
|
@@ -544,7 +658,7 @@ function commitHookBeat(ctx, projectKey) {
|
|
|
544
658
|
: outcome.kind === "chained"
|
|
545
659
|
? COMMIT_HOOK.chained(repo)
|
|
546
660
|
: COMMIT_HOOK.already;
|
|
547
|
-
writeLines(ctx.stdout, ["", ...wrap(line, 2), ...wrap(COMMIT_HOOK.perClone, 2)]);
|
|
661
|
+
writeLines(ctx.stdout, ["", ...wrap(line, 2), ...wrap(COMMIT_HOOK.perClone(connectCommandFor(ctx.env, ctx.selfPath)), 2)]);
|
|
548
662
|
}
|
|
549
663
|
/**
|
|
550
664
|
* Is this delivery the org-approval-pending outcome, and nothing else?
|
|
@@ -561,7 +675,7 @@ function commitHookBeat(ctx, projectKey) {
|
|
|
561
675
|
* is normalised to `null`, because both mean *not determinable* to the copy and
|
|
562
676
|
* neither may assert delivery.
|
|
563
677
|
*/
|
|
564
|
-
function approvalPending(delivery) {
|
|
678
|
+
export function approvalPending(delivery) {
|
|
565
679
|
if (delivery === null || delivery.kind !== "attempted")
|
|
566
680
|
return null;
|
|
567
681
|
if (delivery.detail?.code !== CAPTURE_NOT_APPROVED)
|
|
@@ -578,19 +692,9 @@ function approvalPending(delivery) {
|
|
|
578
692
|
* offset holds and the backlog uploads in order once an owner approves. A red
|
|
579
693
|
* exit here tells a correctly-installed user they broke something.
|
|
580
694
|
*/
|
|
581
|
-
function approvalPendingBeat(ctx, projectKey, ownersNotified) {
|
|
582
|
-
//
|
|
583
|
-
// replace
|
|
584
|
-
// the branches cannot drift apart: there is exactly one place the
|
|
585
|
-
// recorded-request sentence exists.
|
|
586
|
-
//
|
|
587
|
-
// ⚠ AND `null` NEVER REACHES THE NOTIFICATION CLAUSE. `null` = not
|
|
588
|
-
// determinable, `0` = determinable and nobody was told; both render the
|
|
589
|
-
// recorded-go-ask branch alone. The owner genuinely is not emailed until
|
|
590
|
-
// `CR-036`, which is provisioning-blocked — disclosed, not concealed.
|
|
591
|
-
const why = ownersNotified !== null && ownersNotified > 0
|
|
592
|
-
? `${CONNECT.pendingRecorded} ${CONNECT.pendingNotified(ownersNotified)}`
|
|
593
|
-
: CONNECT.pendingRecorded;
|
|
695
|
+
export function approvalPendingBeat(ctx, projectKey, ownersNotified) {
|
|
696
|
+
// The block itself is `approval_pending.ts`'s, shared with `status`: the shared clause first, the notification second
|
|
697
|
+
// (it ADDS, it does not replace, D81), and `null` never reaches the notification clause.
|
|
594
698
|
// ⚠ STDOUT, not stderr, and the rule is consistent in this file: stderr
|
|
595
699
|
// accompanies a NON-ZERO exit here (`credentialBeat` → 3, `noTranscript` → 1,
|
|
596
700
|
// `pathClash` → 1, the sign-in failures → 1). This beat exits 0, so it is the
|
|
@@ -599,13 +703,7 @@ function approvalPendingBeat(ctx, projectKey, ownersNotified) {
|
|
|
599
703
|
// armed" with the reason stripped off it.
|
|
600
704
|
writeLines(ctx.stdout, [
|
|
601
705
|
"",
|
|
602
|
-
...
|
|
603
|
-
kind: "warn",
|
|
604
|
-
what: CONNECT.pendingWhat,
|
|
605
|
-
why: [CONNECT.pendingWhy(resolveRepoSlug(projectKey)), why, CONNECT.pendingBuffered],
|
|
606
|
-
fixLabel: CONNECT.pendingTrackLabel,
|
|
607
|
-
fixes: [URLS.captureAccess],
|
|
608
|
-
}, ctx.colour),
|
|
706
|
+
...approvalPendingBlock(ctx.colour, resolveRepoSlug(projectKey), ownersNotified),
|
|
609
707
|
"",
|
|
610
708
|
...wrap(CONNECT.pendingArmed(truncatePath(projectKey, 52)), 2),
|
|
611
709
|
]);
|
|
@@ -630,6 +728,7 @@ function pathClash(ctx) {
|
|
|
630
728
|
return EXIT.ok;
|
|
631
729
|
writeLines(ctx.stderr, renderErrorBlock({
|
|
632
730
|
kind: "bad",
|
|
731
|
+
code: verdict.kind === "foreign" ? "PATH_COMMAND_FOREIGN" : "PATH_COMMAND_ABSENT",
|
|
633
732
|
what: verdict.kind === "foreign" ? PATH_CLASH.foreignWhat : PATH_CLASH.absentWhat,
|
|
634
733
|
why: [
|
|
635
734
|
verdict.kind === "foreign"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/commands/connect.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EACL,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,WAAW,EACX,WAAW,EACX,MAAM,EACN,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,MAAM,EACN,OAAO,EACP,IAAI,GACL,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,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