@vibe-commit/capture 0.4.5 → 0.5.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 +44 -1
- package/dist/atomic_write.d.ts +14 -0
- package/dist/atomic_write.js +33 -0
- package/dist/atomic_write.js.map +1 -0
- package/dist/commands/auth.d.ts +2 -2
- package/dist/commands/auth.js +38 -11
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/browser_credential.d.ts +39 -12
- package/dist/commands/browser_credential.js +84 -11
- package/dist/commands/browser_credential.js.map +1 -1
- package/dist/commands/connect.d.ts +6 -2
- package/dist/commands/connect.js +65 -11
- package/dist/commands/connect.js.map +1 -1
- package/dist/commands/credential_problem.d.ts +43 -0
- package/dist/commands/credential_problem.js +81 -0
- package/dist/commands/credential_problem.js.map +1 -0
- package/dist/commands/device_credential.d.ts +47 -0
- package/dist/commands/device_credential.js +275 -0
- package/dist/commands/device_credential.js.map +1 -0
- package/dist/commands/finish_mint.d.ts +73 -0
- package/dist/commands/finish_mint.js +140 -0
- package/dist/commands/finish_mint.js.map +1 -0
- package/dist/commands/probe.d.ts +14 -0
- package/dist/commands/probe.js +29 -0
- package/dist/commands/probe.js.map +1 -0
- package/dist/commands/status.js +36 -52
- package/dist/commands/status.js.map +1 -1
- package/dist/copy/index.d.ts +1 -1
- package/dist/copy/index.js +1 -1
- package/dist/copy/index.js.map +1 -1
- package/dist/copy/strings.d.ts +175 -3
- package/dist/copy/strings.js +179 -3
- package/dist/copy/strings.js.map +1 -1
- package/dist/credential.d.ts +25 -0
- package/dist/credential.js +41 -3
- package/dist/credential.js.map +1 -1
- package/dist/credential_meta.d.ts +66 -0
- package/dist/credential_meta.js +164 -0
- package/dist/credential_meta.js.map +1 -0
- package/dist/device_mode.d.ts +18 -0
- package/dist/device_mode.js +28 -0
- package/dist/device_mode.js.map +1 -0
- package/dist/hooks/entry.d.ts +5 -0
- package/dist/hooks/entry.js +40 -5
- package/dist/hooks/entry.js.map +1 -1
- package/dist/index.js +28 -2
- package/dist/index.js.map +1 -1
- package/dist/install.d.ts +37 -0
- package/dist/install.js +29 -2
- package/dist/install.js.map +1 -1
- package/dist/oauth/device.d.ts +129 -0
- package/dist/oauth/device.js +194 -0
- package/dist/oauth/device.js.map +1 -0
- package/dist/oauth/discovery.d.ts +5 -0
- package/dist/oauth/discovery.js +6 -0
- package/dist/oauth/discovery.js.map +1 -1
- package/dist/oauth/mint.d.ts +18 -5
- package/dist/oauth/mint.js +18 -5
- package/dist/oauth/mint.js.map +1 -1
- package/dist/oauth/retire.d.ts +64 -0
- package/dist/oauth/retire.js +106 -0
- package/dist/oauth/retire.js.map +1 -0
- package/dist/oauth/signin.d.ts +12 -0
- package/dist/oauth/signin.js +5 -1
- package/dist/oauth/signin.js.map +1 -1
- package/dist/oauth/token.d.ts +1 -0
- package/dist/oauth/token.js +5 -0
- package/dist/oauth/token.js.map +1 -1
- package/dist/oauth/whoami.d.ts +55 -0
- package/dist/oauth/whoami.js +77 -0
- package/dist/oauth/whoami.js.map +1 -0
- package/dist/paths.d.ts +19 -0
- package/dist/paths.js +25 -0
- package/dist/paths.js.map +1 -1
- package/dist/post.d.ts +14 -0
- package/dist/post.js +15 -0
- package/dist/post.js.map +1 -1
- package/dist/state.d.ts +11 -0
- package/dist/state.js +33 -0
- package/dist/state.js.map +1 -1
- package/dist/system_message.d.ts +21 -2
- package/dist/system_message.js +37 -7
- package/dist/system_message.js.map +1 -1
- package/dist/term.d.ts +6 -0
- package/dist/term.js +15 -0
- package/dist/term.js.map +1 -1
- package/dist/update_nudge.d.ts +31 -0
- package/dist/update_nudge.js +127 -0
- package/dist/update_nudge.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
package/dist/commands/status.js
CHANGED
|
@@ -24,8 +24,11 @@
|
|
|
24
24
|
* invented here: `CR-112` (W8) owns the five-absence grammar as one set, and
|
|
25
25
|
* adding a variant now is what that task exists to prevent.
|
|
26
26
|
*/
|
|
27
|
-
import { COMMANDS,
|
|
27
|
+
import { COMMANDS, ERRORS, HELP, OFF, STATUS, URLS, relativeAge } from "../copy/index.js";
|
|
28
|
+
import { authCommandFor } from "../install.js";
|
|
29
|
+
import { credentialFingerprint } from "../post.js";
|
|
28
30
|
import { isProjectAllowed, revokeProject } from "../consent.js";
|
|
31
|
+
import { endDateText, endingSoon, metaFor } from "../credential_meta.js";
|
|
29
32
|
import { loadCredential, savedCredentialExists } from "../credential.js";
|
|
30
33
|
import { EXIT } from "../exit.js";
|
|
31
34
|
import { resolveRepoSlug } from "../git.js";
|
|
@@ -33,8 +36,9 @@ import { emitJson } from "../json.js";
|
|
|
33
36
|
import { readInferredSkipped } from "../inferred_tally.js";
|
|
34
37
|
import { readPruneTally } from "../pending_prune.js";
|
|
35
38
|
import { resolveProjectKeys } from "../project.js";
|
|
36
|
-
import { commitsWaitingForRepo, heldAtEndForRepo, inferredUnacknowledgedForRepo, lastReceiptForRepo, lastSendForRepo, leanHeldForRepo, leanSessionsForRepo, openTailForRepo, stuckForRepo, stuckSpoolLinesForRepo, writtenOffForRepo, } from "../state.js";
|
|
39
|
+
import { commitsWaitingForRepo, heldAtEndForRepo, inferredUnacknowledgedForRepo, lastReceiptForRepo, lastSendForRepo, leanHeldForRepo, leanSessionsForRepo, openTailForRepo, stuckForRepo, stoppedForRepo, stuckSpoolLinesForRepo, writtenOffForRepo, } from "../state.js";
|
|
37
40
|
import { LABEL_GUTTER, WRAP_COLUMNS, glyph, labelled, paint, renderErrorBlock, tildePath, truncatePath, wrap, } from "../term.js";
|
|
41
|
+
import { credentialProblem, rejectedCredentialBlock } from "./credential_problem.js";
|
|
38
42
|
import { writeLines } from "./context.js";
|
|
39
43
|
/** §10.3 indents the gutter rows four columns under the state line. */
|
|
40
44
|
const ROW_INDENT = 4;
|
|
@@ -110,7 +114,19 @@ export function status(ctx, argv = []) {
|
|
|
110
114
|
// counted, never touching `commitsWaitingForRepo` or its JSON number.
|
|
111
115
|
const stuckSpoolLines = stuckSpoolLinesForRepo(ctx.home, projectKey, nowMs);
|
|
112
116
|
const receipt = lastReceiptForRepo(ctx.home, projectKey);
|
|
117
|
+
const load = loadCredential({ env: ctx.env, home: ctx.home });
|
|
118
|
+
// `11A`: a standing 401 stop for THE CREDENTIAL IN USE. Keyed on its fingerprint like the stop
|
|
119
|
+
// itself, so a reconnect clears it with nothing to reset — which is how the user sees the fix worked.
|
|
120
|
+
const fingerprint = load.kind === "ok" ? credentialFingerprint(load.credential) : null;
|
|
121
|
+
const stopped = fingerprint === null ? null : stoppedForRepo(ctx.home, projectKey, fingerprint);
|
|
122
|
+
const authCommand = authCommandFor(ctx.env, ctx.selfPath);
|
|
123
|
+
// `CR-234d` (12A): the credential nears its absolute cap. A warning, not a stop — capture still works —
|
|
124
|
+
// from what the hook last heard (`X-Credential-Expires`), so it is as fresh as the last capture.
|
|
125
|
+
const endsAt = fingerprint === null ? null : endingSoon(metaFor(ctx.home, fingerprint), ctx.now().getTime());
|
|
126
|
+
const endsText = endsAt === null ? null : endDateText(endsAt);
|
|
113
127
|
const kind = on &&
|
|
128
|
+
stopped === null &&
|
|
129
|
+
endsText === null &&
|
|
114
130
|
writtenOff.gaps === 0 &&
|
|
115
131
|
heldAtEnd.bytes === 0 &&
|
|
116
132
|
openTail.ids.length === 0 &&
|
|
@@ -131,7 +147,6 @@ export function status(ctx, argv = []) {
|
|
|
131
147
|
lines.push(labelled(ROW_INDENT, STATUS.lastSuccessLabel, STATUS.lastSuccessValue(relativeAge(lastSend.at, ctx.now().getTime()), lastSend.seq)));
|
|
132
148
|
}
|
|
133
149
|
lines.push(labelled(ROW_INDENT, STATUS.dashboardLabel, paint(ctx.colour, "accent", URLS.dashboard)));
|
|
134
|
-
const load = loadCredential({ env: ctx.env, home: ctx.home });
|
|
135
150
|
// §13.3 — `--json` emits NOTHING BUT the JSON document on stdout, so the
|
|
136
151
|
// screen assembled above is DISCARDED rather than printed beside it.
|
|
137
152
|
//
|
|
@@ -146,7 +161,7 @@ export function status(ctx, argv = []) {
|
|
|
146
161
|
// `outcome` carries the on/off distinction the glyph carries on screen.
|
|
147
162
|
if (argv.includes("--json")) {
|
|
148
163
|
if (load.kind !== "ok" && load.kind !== "absent") {
|
|
149
|
-
writeLines(ctx.stderr, credentialProblem(load, ctx.colour));
|
|
164
|
+
writeLines(ctx.stderr, credentialProblem(load, ctx.colour, authCommand));
|
|
150
165
|
return EXIT.failure;
|
|
151
166
|
}
|
|
152
167
|
emitJson(ctx.stdout, "status", on ? "on" : "off", {
|
|
@@ -194,12 +209,15 @@ export function status(ctx, argv = []) {
|
|
|
194
209
|
live_stuck: { bytes: stuck.liveStuck.bytes, sessions: stuck.liveStuck.sessions },
|
|
195
210
|
held_idle: { bytes: stuck.heldIdle.bytes, sessions: stuck.heldIdle.sessions },
|
|
196
211
|
lean_sessions: leanSessions,
|
|
212
|
+
// `11A`. `null` when no session is held by a 401 for the credential in use, else how many and
|
|
213
|
+
// when the newest stop was. ⛔ A contract change, recorded in `json-read-verbs.test.ts` (FC12).
|
|
214
|
+
credential_stopped: stopped === null ? null : { sessions: stopped.sessions, at_ms: stopped.atMs },
|
|
197
215
|
});
|
|
198
216
|
return on ? EXIT.ok : EXIT.notConnected;
|
|
199
217
|
}
|
|
200
218
|
if (load.kind !== "ok" && load.kind !== "absent") {
|
|
201
219
|
writeLines(ctx.stdout, lines);
|
|
202
|
-
writeLines(ctx.stderr, credentialProblem(load, ctx.colour));
|
|
220
|
+
writeLines(ctx.stderr, credentialProblem(load, ctx.colour, authCommand));
|
|
203
221
|
return EXIT.failure;
|
|
204
222
|
}
|
|
205
223
|
// `TODOS[184]` (VL's D4 ruling): built once, placed in one of two spots below depending on whether
|
|
@@ -264,6 +282,19 @@ export function status(ctx, argv = []) {
|
|
|
264
282
|
if (load.kind === "ok" && load.credential.source === "env" && savedCredentialExists(ctx.home)) {
|
|
265
283
|
lines.push("", ...wrap(STATUS.credentialShadowed, 2));
|
|
266
284
|
}
|
|
285
|
+
if (endsText !== null) {
|
|
286
|
+
lines.push("", ...wrap(STATUS.credentialEnding(endsText, authCommand), 2));
|
|
287
|
+
}
|
|
288
|
+
if (stopped !== null && fingerprint !== null) {
|
|
289
|
+
lines.push("", ...rejectedCredentialBlock({
|
|
290
|
+
home: ctx.home,
|
|
291
|
+
fingerprint,
|
|
292
|
+
nowMs,
|
|
293
|
+
authCommand,
|
|
294
|
+
colour: ctx.colour,
|
|
295
|
+
standing: true,
|
|
296
|
+
}));
|
|
297
|
+
}
|
|
267
298
|
lines.push("", ...actionLines(ctx, on));
|
|
268
299
|
writeLines(ctx.stdout, lines);
|
|
269
300
|
return on ? EXIT.ok : EXIT.notConnected;
|
|
@@ -364,51 +395,4 @@ export function off(ctx, argv = []) {
|
|
|
364
395
|
]);
|
|
365
396
|
return EXIT.ok;
|
|
366
397
|
}
|
|
367
|
-
/**
|
|
368
|
-
* The three credential problems that are worth four different fixes on an
|
|
369
|
-
* interactive surface. The hook collapses them to one `systemMessage`; here the
|
|
370
|
-
* user can act, so §13.6 gets its full what / why / fix.
|
|
371
|
-
*
|
|
372
|
-
* None of these lines can carry credential bytes: the plaintext leaves
|
|
373
|
-
* `IngestCredential` only through `expose()`, and no copy path calls it.
|
|
374
|
-
*/
|
|
375
|
-
function credentialProblem(load, colour) {
|
|
376
|
-
switch (load.kind) {
|
|
377
|
-
case "wrong-class":
|
|
378
|
-
return renderErrorBlock({
|
|
379
|
-
kind: "bad",
|
|
380
|
-
what: CREDENTIAL.wrongClassWhat,
|
|
381
|
-
why: [
|
|
382
|
-
load.source === "env"
|
|
383
|
-
? CREDENTIAL.wrongClassEnvWhy
|
|
384
|
-
: CREDENTIAL.wrongClassFileWhy,
|
|
385
|
-
],
|
|
386
|
-
fixLabel: CREDENTIAL.wrongClassFix,
|
|
387
|
-
fixes: [CREDENTIAL.wrongClassCommand],
|
|
388
|
-
}, colour);
|
|
389
|
-
case "insecure-file":
|
|
390
|
-
return renderErrorBlock({
|
|
391
|
-
kind: "bad",
|
|
392
|
-
what: CREDENTIAL.insecureFileWhat,
|
|
393
|
-
why: [
|
|
394
|
-
`${CREDENTIAL.insecureFileWhyLabel} ${truncatePath(load.path, 60)}`,
|
|
395
|
-
`${CREDENTIAL.insecureFileModeLabel} ${load.mode}`,
|
|
396
|
-
CREDENTIAL.insecureFileWhy,
|
|
397
|
-
],
|
|
398
|
-
fixLabel: CREDENTIAL.insecureFileFix,
|
|
399
|
-
fixes: [COMMANDS.chmodCredentials],
|
|
400
|
-
}, colour);
|
|
401
|
-
case "unreadable":
|
|
402
|
-
return renderErrorBlock({
|
|
403
|
-
kind: "bad",
|
|
404
|
-
what: CREDENTIAL.unreadableWhat,
|
|
405
|
-
why: [
|
|
406
|
-
`${CREDENTIAL.insecureFileWhyLabel} ${truncatePath(load.path, 60)}`,
|
|
407
|
-
CREDENTIAL.unreadableWhy,
|
|
408
|
-
],
|
|
409
|
-
fixLabel: CREDENTIAL.unreadableFix,
|
|
410
|
-
fixes: [CREDENTIAL.unreadableCommand],
|
|
411
|
-
}, colour);
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
398
|
//# sourceMappingURL=status.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../src/commands/status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACtG,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,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,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CACjF,CAAC;QACF,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IACD,6EAA6E;IAC7E,8EAA8E;IAC9E,6EAA6E;IAC7E,sEAAsE;IACtE,2EAA2E;IAC3E,+DAA+D;IAC/D,MAAM,OAAO,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACtD,UAAU,CAAC,GAAG,CAAC,MAAM,EAAE;QACrB,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;QAC/C,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;KACrB,CAAC,CAAC;IACH,OAAO,IAAI,CAAC,EAAE,CAAC;AACjB,CAAC"}
|
package/dist/copy/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* it describes a commit's evidence, it belongs in `grades.ts` behind the one
|
|
7
7
|
* header renderer.
|
|
8
8
|
*/
|
|
9
|
-
export { HELP, USAGE, STATUS, FINALIZE, CONNECT, SIGNIN, OFF, WHY, REPORT, ABSENCE, type AbsenceStateName, type AbsenceState, type AbsenceField, ERRORS, INTERNAL, CREDENTIAL, AUTH, RUNTIME, SYSTEM_MESSAGE, REDACTION, COMMANDS, URLS, AGENT_HOOKS, COMMIT_HOOK, PATH_CLASH, } from "./strings.js";
|
|
9
|
+
export { HELP, USAGE, STATUS, FINALIZE, CONNECT, SIGNIN, OFF, WHY, REPORT, ABSENCE, type AbsenceStateName, type AbsenceState, type AbsenceField, ERRORS, INTERNAL, CREDENTIAL, AUTH, RUNTIME, SYSTEM_MESSAGE, REDACTION, COMMANDS, URLS, AGENT_HOOKS, COMMIT_HOOK, PATH_CLASH, REJECTED, RETIRE, REPLACE, DEVICE, UPDATE, } from "./strings.js";
|
|
10
10
|
export { relativeAge } from "./time.js";
|
|
11
11
|
export { renderCommitHeader, renderCommitIdentity, gradeFloor, gradeCopyFor, ALL_GRADES, type BlamedCommit, type EdgeGrade, } from "./grades.js";
|
|
12
12
|
export { BLOCKED_PHRASES, findClaimViolations, type Surface, type BlockedPhrase, type ClaimViolation, } from "./claims.js";
|
package/dist/copy/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* it describes a commit's evidence, it belongs in `grades.ts` behind the one
|
|
7
7
|
* header renderer.
|
|
8
8
|
*/
|
|
9
|
-
export { HELP, USAGE, STATUS, FINALIZE, CONNECT, SIGNIN, OFF, WHY, REPORT, ABSENCE, ERRORS, INTERNAL, CREDENTIAL, AUTH, RUNTIME, SYSTEM_MESSAGE, REDACTION, COMMANDS, URLS, AGENT_HOOKS, COMMIT_HOOK, PATH_CLASH, } from "./strings.js";
|
|
9
|
+
export { HELP, USAGE, STATUS, FINALIZE, CONNECT, SIGNIN, OFF, WHY, REPORT, ABSENCE, ERRORS, INTERNAL, CREDENTIAL, AUTH, RUNTIME, SYSTEM_MESSAGE, REDACTION, COMMANDS, URLS, AGENT_HOOKS, COMMIT_HOOK, PATH_CLASH, REJECTED, RETIRE, REPLACE, DEVICE, UPDATE, } from "./strings.js";
|
|
10
10
|
export { relativeAge } from "./time.js";
|
|
11
11
|
export { renderCommitHeader, renderCommitIdentity, gradeFloor, gradeCopyFor, ALL_GRADES, } from "./grades.js";
|
|
12
12
|
export { BLOCKED_PHRASES, findClaimViolations, } from "./claims.js";
|
package/dist/copy/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/copy/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EACL,IAAI,EACJ,KAAK,EACL,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAM,EACN,GAAG,EACH,GAAG,EACH,MAAM,EACN,OAAO,EAIP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,OAAO,EACP,cAAc,EACd,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,WAAW,EACX,UAAU,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/copy/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EACL,IAAI,EACJ,KAAK,EACL,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAM,EACN,GAAG,EACH,GAAG,EACH,MAAM,EACN,OAAO,EAIP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,OAAO,EACP,cAAc,EACd,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,WAAW,EACX,UAAU,EACV,QAAQ,EACR,MAAM,EACN,OAAO,EACP,MAAM,EACN,MAAM,GACP,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,UAAU,EACV,YAAY,EACZ,UAAU,GAGX,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,eAAe,EACf,mBAAmB,GAIpB,MAAM,aAAa,CAAC"}
|
package/dist/copy/strings.d.ts
CHANGED
|
@@ -91,6 +91,11 @@ export declare const STATUS: {
|
|
|
91
91
|
* states the precedence and the undo, and makes no claim about which of the
|
|
92
92
|
* two is correct — the client cannot know that.
|
|
93
93
|
*/
|
|
94
|
+
/**
|
|
95
|
+
* `CR-234d`, decision 12A: the same fact as the hook's state 5, in `status`'s own register — a sentence
|
|
96
|
+
* after the rows, with the glyph turned `warn`. The date is absolute and in UTC.
|
|
97
|
+
*/
|
|
98
|
+
readonly credentialEnding: (date: string, authCommand: string) => string;
|
|
94
99
|
readonly credentialShadowed: "VIBECOMMIT_TOKEN is set and takes precedence over the credential saved on this machine. Unset it to use the saved one.";
|
|
95
100
|
/**
|
|
96
101
|
* `CR-228`, `TODOS[142]` — bytes the client ADVANCED PAST without delivering.
|
|
@@ -1294,10 +1299,155 @@ export declare const FINALIZE: {
|
|
|
1294
1299
|
*/
|
|
1295
1300
|
readonly inferredSetAside: (n: number) => string;
|
|
1296
1301
|
};
|
|
1302
|
+
/**
|
|
1303
|
+
* The credential-rejected block — `11A`, style guide §13.6 what / why / fix, fix LAST.
|
|
1304
|
+
*
|
|
1305
|
+
* Shown by `connect` (exit 3) and `status`. The `why` is true on both of its branches, and says
|
|
1306
|
+
* so: a 401 holds the offset, so reconnecting uploads what was held. The server cannot say whether
|
|
1307
|
+
* the credential was revoked or expired (opaque 401), so the generic `why` names both; a local
|
|
1308
|
+
* `expires_at` in the past lets the client say "expired" outright (`whyExpired`).
|
|
1309
|
+
*/
|
|
1310
|
+
export declare const REJECTED: {
|
|
1311
|
+
readonly what: "This machine's credential is no longer accepted.";
|
|
1312
|
+
readonly why: "It was revoked in Settings, or it expired. Held turns upload once reconnected; nothing is lost.";
|
|
1313
|
+
readonly whyExpired: (day: string) => string;
|
|
1314
|
+
readonly fixLabel: "Reconnect this machine:";
|
|
1315
|
+
/**
|
|
1316
|
+
* `R12`. The server did not answer the probe: not a verdict on the credential, so not an error.
|
|
1317
|
+
* TWO lines (`unconfirmedWhat`, `unconfirmedFix`) so the 80-column wrap can never split the backticked
|
|
1318
|
+
* command across lines; `unconfirmed` is their join, the sentence the plan wrote.
|
|
1319
|
+
*/
|
|
1320
|
+
readonly unconfirmedWhat: "Couldn't confirm this machine's credential with the server.";
|
|
1321
|
+
readonly unconfirmedFix: "Run `vibecommit status` later.";
|
|
1322
|
+
readonly unconfirmed: "Couldn't confirm this machine's credential with the server. Run `vibecommit status` later.";
|
|
1323
|
+
};
|
|
1324
|
+
/** `TODOS[184]`-style one-sentence facts the retire step prints; every one is true whatever the server did. */
|
|
1325
|
+
export declare const RETIRE: {
|
|
1326
|
+
readonly retired: "The credential this one replaces is retired.";
|
|
1327
|
+
/** `retired: false` is the server's one uniform answer — it will not say why, so neither do we. */
|
|
1328
|
+
readonly notRetired: "The credential this one replaces was left as it was.";
|
|
1329
|
+
/** A 404: a server that predates the route. */
|
|
1330
|
+
readonly unknown: "Whether the credential this one replaces was retired is unknown: this server cannot retire it.";
|
|
1331
|
+
readonly failed: "The credential this one replaces could not be retired. It stays valid until it expires, and it is listed in Settings.";
|
|
1332
|
+
/** `VIBECOMMIT_TOKEN` shadows the file `auth` just wrote — D206 §4 — and nothing is retired. */
|
|
1333
|
+
readonly envShadows: "VIBECOMMIT_TOKEN is set and takes precedence over the credential just saved. Nothing was retired.";
|
|
1334
|
+
};
|
|
1335
|
+
/**
|
|
1336
|
+
* The replace confirmation — the `5B` block, in the one case slice 1 shows it: a re-auth that
|
|
1337
|
+
* lands in a DIFFERENT workspace than the credential it replaces. One question, default NO.
|
|
1338
|
+
*/
|
|
1339
|
+
export declare const REPLACE: {
|
|
1340
|
+
readonly accountLabel: "account";
|
|
1341
|
+
readonly workspaceLabel: "workspace";
|
|
1342
|
+
readonly replacesLabel: "replaces";
|
|
1343
|
+
/** `R8`: the handle was null — shown as an explicit gap, never a blank. */
|
|
1344
|
+
readonly accountUnavailable: "(GitHub handle unavailable)";
|
|
1345
|
+
/**
|
|
1346
|
+
* A4 §3. The probe of the new credential was not answered, so the workspace match cannot be shown.
|
|
1347
|
+
* The block says so on the `workspace` row, in the gutter's own shape, rather than hiding the row.
|
|
1348
|
+
*/
|
|
1349
|
+
readonly workspaceUnconfirmed: "(couldn't confirm with the server)";
|
|
1350
|
+
/** …and the question then names NO workspace — it has none to name. ≤80 columns with the `[y/N]`. */
|
|
1351
|
+
readonly questionUnconfirmed: "Upload this machine's transcripts to the workspace you signed in to?";
|
|
1352
|
+
readonly replacesValue: (org: string) => string;
|
|
1353
|
+
readonly question: (org: string) => string;
|
|
1354
|
+
readonly declined: "Nothing was saved. The approval is discarded.";
|
|
1355
|
+
/** Ctrl+C at the question (the prompt was aborted): the same outcome as N, said as what it was. */
|
|
1356
|
+
readonly cancelled: "Cancelled. Nothing was saved.";
|
|
1357
|
+
/**
|
|
1358
|
+
* The new credential was created and then declined, so it was never saved. The client revokes it with
|
|
1359
|
+
* the retire route's self form (brief A3); this is what it says when that worked.
|
|
1360
|
+
*/
|
|
1361
|
+
/**
|
|
1362
|
+
* A4 §3, fail closed: the device flow's confirmation has nothing to show (no probe, no ticket
|
|
1363
|
+
* workspace), and it never saves without asking. §13.6 what / why / fix, fix last.
|
|
1364
|
+
*/
|
|
1365
|
+
readonly unconfirmableWhat: "The workspace for this credential could not be confirmed.";
|
|
1366
|
+
readonly unconfirmableWhyRevoked: "Nothing was saved, and the credential just created was revoked.";
|
|
1367
|
+
readonly unconfirmableWhyOrphan: "Nothing was saved. The credential just created is unused; revoke it in Settings if you want it gone.";
|
|
1368
|
+
readonly unconfirmableFix: "Run the command again:";
|
|
1369
|
+
readonly declinedRevoked: "The credential just created was revoked.";
|
|
1370
|
+
/**
|
|
1371
|
+
* …and when it did not (a server without the self form, or any failure): the credential is live but
|
|
1372
|
+
* unused, so say where to remove it.
|
|
1373
|
+
*/
|
|
1374
|
+
readonly declinedOrphan: "The credential just created is unused. Revoke it in Settings if you want it gone.";
|
|
1375
|
+
readonly declinedFix: "Settings:";
|
|
1376
|
+
};
|
|
1377
|
+
/**
|
|
1378
|
+
* The device sign-in (`CR-234d`, D219, style guide §10.2): the waiting block, its terminal states and the
|
|
1379
|
+
* copy the 5B confirmation reuses from `REPLACE`.
|
|
1380
|
+
*
|
|
1381
|
+
* ⚠ The waiting block is STATIC: no spinner and no ticking countdown (DESIGN.md §13.8). The expiry is an
|
|
1382
|
+
* absolute local time, so the screen is still true when someone reads it ten minutes later over a
|
|
1383
|
+
* scrollback. With `NO_COLOR` or a non-TTY it is identical minus the escapes.
|
|
1384
|
+
*/
|
|
1385
|
+
export declare const DEVICE: {
|
|
1386
|
+
/** RFC 8628 §3.3.1: the bare URL and the code are ALWAYS printed, whether or not a browser was opened. */
|
|
1387
|
+
readonly heading: "Approve this machine in a browser on any device:";
|
|
1388
|
+
readonly codeLabel: "Code";
|
|
1389
|
+
readonly expires: (time: string) => string;
|
|
1390
|
+
/** The remote-phishing mitigation: whoever enters the code picks the account this machine uploads to. */
|
|
1391
|
+
readonly shareWarning: "Don't share it: whoever enters it chooses the account this machine uploads to.";
|
|
1392
|
+
readonly waiting: "Waiting for approval… (Ctrl+C to cancel)";
|
|
1393
|
+
/** Ctrl+C. §13.7: exit 1. Not a failure block — nothing went wrong. */
|
|
1394
|
+
readonly cancelled: "Cancelled. Nothing was changed on this machine.";
|
|
1395
|
+
readonly deniedWhat: "The request was denied in the browser.";
|
|
1396
|
+
readonly deniedWhy: "Nothing was changed on this machine.";
|
|
1397
|
+
readonly deniedFix: "If this was you, run it again:";
|
|
1398
|
+
/** 16C, brief A7: one block for the poll's `access_denied` (gate) and the mint's 403 `code_signin_off`. */
|
|
1399
|
+
readonly gateOffWhat: "Code sign-in is off for this account.";
|
|
1400
|
+
readonly gateOffWhy: "Nothing was approved, and nothing was changed on this machine.";
|
|
1401
|
+
readonly gateOffFix: "Turn on \"Allow approving machines with a code\" in Settings → Machines, then run it again:";
|
|
1402
|
+
readonly expiredWhat: "The code expired before it was approved.";
|
|
1403
|
+
readonly expiredWhy: "Codes last 5 minutes.";
|
|
1404
|
+
readonly expiredFix: "Run it again for a new code:";
|
|
1405
|
+
readonly rateLimitedWhat: "Too many sign-in attempts from this network.";
|
|
1406
|
+
readonly rateLimitedWhy: "Shared networks can hit this limit.";
|
|
1407
|
+
readonly rateLimitedFix: (time: string) => string;
|
|
1408
|
+
/** The server gave no `retry_after`. */
|
|
1409
|
+
readonly rateLimitedFixUnknown: "Try again in a few minutes by running:";
|
|
1410
|
+
/** No `device_authorization_endpoint` in the discovery document: a server older than this client. */
|
|
1411
|
+
readonly unsupportedWhat: "This server does not offer sign-in by code.";
|
|
1412
|
+
readonly unsupportedWhy: "The sign-in service does not list a device endpoint, so it may be older than this version.";
|
|
1413
|
+
readonly refusedWhat: "The service refused to start a sign-in by code.";
|
|
1414
|
+
readonly refusedWhy: "Nothing was changed on this machine.";
|
|
1415
|
+
readonly unreachableWhat: "Sign-in by code could not reach the service.";
|
|
1416
|
+
readonly unreachableWhy: "The service stopped answering. Nothing was changed on this machine.";
|
|
1417
|
+
readonly malformedWhat: "Sign-in by code got an answer this version cannot use.";
|
|
1418
|
+
readonly malformedWhy: "The service answered in a form this version does not understand. Nothing was changed on this machine.";
|
|
1419
|
+
/** `invalid_grant`: the code is unknown or already spent. */
|
|
1420
|
+
readonly invalidWhat: "The service no longer recognises this code.";
|
|
1421
|
+
readonly invalidWhy: "It may have been used already. Nothing was changed on this machine.";
|
|
1422
|
+
readonly retryFix: "To try again, run:";
|
|
1423
|
+
/** `--device` is TTY only: the approval is a person's, and nothing attached can answer for them. */
|
|
1424
|
+
readonly needsTerminalWhat: "Sign-in by code needs a terminal.";
|
|
1425
|
+
readonly needsTerminalWhy: "It waits for a person to approve, and the question at the end needs an answer.";
|
|
1426
|
+
readonly needsTerminalFix: "To save a credential without a terminal, run:";
|
|
1427
|
+
/** The CHANNEL's auth command (`authCommandFor`), so a plugin-only machine is not told to run a bare name. */
|
|
1428
|
+
readonly needsTerminalCommand: (authCommand: string) => string;
|
|
1429
|
+
readonly conflictWhat: "--device and --paste cannot be used together.";
|
|
1430
|
+
readonly conflictWhy: "One waits for an approval elsewhere; the other asks for a credential here.";
|
|
1431
|
+
readonly conflictFix: "Pick one:";
|
|
1432
|
+
/** The ticket could not be redeemed (expired, spent, or the service refused the mint). */
|
|
1433
|
+
readonly redeemFailedWhy: "The approval could not be exchanged for a credential. It may have expired or been used already. Nothing was written.";
|
|
1434
|
+
};
|
|
1435
|
+
/**
|
|
1436
|
+
* `13A` — the update nudge: `muted` sentence, the command on its own line in `accent`.
|
|
1437
|
+
*
|
|
1438
|
+
* Two lines, not the one the plan sketches: "capture 0.4.6 is available (you have 0.4.5): npm i -g
|
|
1439
|
+
* @vibe-commit/capture@latest" is 82 columns before the indent, and §13.4 caps every line at 80. The
|
|
1440
|
+
* command stays the LAST line either way, which is the point of 13A.
|
|
1441
|
+
*/
|
|
1442
|
+
export declare const UPDATE: {
|
|
1443
|
+
readonly npm: (latest: string, current: string) => string;
|
|
1444
|
+
readonly npmCommand: "npm i -g @vibe-commit/capture@latest";
|
|
1445
|
+
readonly plugin: (latest: string) => string;
|
|
1446
|
+
};
|
|
1297
1447
|
export declare const ERRORS: {
|
|
1298
1448
|
readonly notConnected: "This repository is not connected. Run `vibecommit connect`.";
|
|
1299
1449
|
readonly networkLater: "Could not reach VibeCommit. This session will be recorded on the next turn.";
|
|
1300
|
-
readonly authFatal: "
|
|
1450
|
+
readonly authFatal: "This machine's credential is no longer accepted.";
|
|
1301
1451
|
readonly payloadNever: "This session was too large to record and has been skipped.";
|
|
1302
1452
|
readonly notAGitRepo: "Not a git repository.";
|
|
1303
1453
|
};
|
|
@@ -1409,6 +1559,8 @@ export declare const AUTH: {
|
|
|
1409
1559
|
* that worked before this, unchanged. `auth` prints this and then prompts.
|
|
1410
1560
|
*/
|
|
1411
1561
|
readonly pasteInsteadLabel: "Paste one instead. Create it here, then paste it below:";
|
|
1562
|
+
/** `R5`/`8A`: the mint came back unusable (the probe of the NEW credential was refused). */
|
|
1563
|
+
readonly mintUnconfirmedWhy: "The service created a credential and then refused it. Nothing was written.";
|
|
1412
1564
|
};
|
|
1413
1565
|
/**
|
|
1414
1566
|
* The Node floor (D57 plan §DX11). `NODE_FLOOR_TEXT` and the running version are
|
|
@@ -1437,7 +1589,25 @@ export declare const RUNTIME: {
|
|
|
1437
1589
|
*/
|
|
1438
1590
|
export declare const SYSTEM_MESSAGE: {
|
|
1439
1591
|
readonly notConnected: "VibeCommit is installed but not connected. Run `vibecommit connect` to start capturing.";
|
|
1440
|
-
|
|
1592
|
+
/**
|
|
1593
|
+
* State 2 — `11A`. House prefix kept, ONE line, and the cause is no longer named: the server's 401
|
|
1594
|
+
* body is opaque on purpose (it cannot say "revoked" vs "expired"), so "revoked" was a guess that
|
|
1595
|
+
* read as an accusation after a normal expiry. The command is the channel's (`installChannel`):
|
|
1596
|
+
* `vibecommit auth` on npm, `node <path> auth` for the plugin bundle — `connect` is not on offer
|
|
1597
|
+
* because it never replaced a credential that loads.
|
|
1598
|
+
*/
|
|
1599
|
+
readonly credentialRejected: (authCommand: string) => string;
|
|
1600
|
+
/** State 2 when the channel's command would blow `CREDENTIAL_REJECTED_BUDGET` (a long plugin realpath). */
|
|
1601
|
+
readonly credentialRejectedFallback: "VibeCommit capture stopped: this machine's credential is no longer accepted. Reconnect: vibecommit.ai/install";
|
|
1602
|
+
/** The ≤120-character budget style guide §10.1 gives a one-line state. */
|
|
1603
|
+
readonly credentialRejectedBudget: 120;
|
|
1604
|
+
/**
|
|
1605
|
+
* State 5 — `CR-234d`, decision 12A. A WARNING, not a failure: capture is still working. House prefix,
|
|
1606
|
+
* ONE line, an ABSOLUTE date (a relative one would be wrong by the time it is read), and the channel's
|
|
1607
|
+
* own `auth` command — a re-auth retires and replaces with no gap. Same ≤120 budget and fallback as state 2.
|
|
1608
|
+
*/
|
|
1609
|
+
readonly credentialEnding: (date: string, authCommand: string) => string;
|
|
1610
|
+
readonly credentialEndingFallback: (date: string) => string;
|
|
1441
1611
|
/** Templated on both versions — style guide §10.1 state 3. */
|
|
1442
1612
|
readonly unsupportedRuntime: (floor: string, running: string) => string;
|
|
1443
1613
|
/**
|
|
@@ -1543,7 +1713,7 @@ export declare const COMMANDS: {
|
|
|
1543
1713
|
*/
|
|
1544
1714
|
export declare const URLS: {
|
|
1545
1715
|
readonly dashboard: "https://vibecommit.ai/app";
|
|
1546
|
-
readonly settings: "https://vibecommit.ai/app/settings";
|
|
1716
|
+
readonly settings: "https://vibecommit.ai/app/settings#machines";
|
|
1547
1717
|
/**
|
|
1548
1718
|
* The captures INDEX — `CR-025`. Style guide §10.2 draws
|
|
1549
1719
|
* `/app/commits/<a-sha>`, and that route DOES NOT EXIST: `CR-114` (W3) created
|
|
@@ -1584,4 +1754,6 @@ export declare const URLS: {
|
|
|
1584
1754
|
* disclosed in the PR rather than silently shipped.
|
|
1585
1755
|
*/
|
|
1586
1756
|
readonly pluginBundle: "https://github.com/Vibe-Commit/claude-plugin";
|
|
1757
|
+
/** The reconnect page `SYSTEM_MESSAGE.credentialRejectedFallback` points at. */
|
|
1758
|
+
readonly install: "https://vibecommit.ai/install";
|
|
1587
1759
|
};
|