@vibe-commit/capture 0.2.3 → 0.4.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 +33 -2
- package/dist/agent_hooks.d.ts +53 -8
- package/dist/agent_hooks.js +180 -19
- package/dist/agent_hooks.js.map +1 -1
- package/dist/agent_install.d.ts +0 -17
- package/dist/agent_install.js +1 -24
- package/dist/agent_install.js.map +1 -1
- package/dist/agents/cursor.js +54 -18
- package/dist/agents/cursor.js.map +1 -1
- package/dist/commands/auth.d.ts +24 -9
- package/dist/commands/auth.js +38 -10
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/browser_credential.d.ts +89 -0
- package/dist/commands/browser_credential.js +181 -0
- package/dist/commands/browser_credential.js.map +1 -0
- package/dist/commands/connect.d.ts +26 -9
- package/dist/commands/connect.js +52 -90
- package/dist/commands/connect.js.map +1 -1
- package/dist/commands/finalize.d.ts +35 -0
- package/dist/commands/finalize.js +283 -0
- package/dist/commands/finalize.js.map +1 -0
- package/dist/commands/status.js +56 -2
- 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 +81 -2
- package/dist/copy/strings.js +94 -1
- package/dist/copy/strings.js.map +1 -1
- package/dist/exit.d.ts +7 -0
- package/dist/exit.js +7 -0
- package/dist/exit.js.map +1 -1
- package/dist/hooks/entry.d.ts +83 -0
- package/dist/hooks/entry.js +117 -28
- package/dist/hooks/entry.js.map +1 -1
- package/dist/hooks/post_rewrite.js +20 -3
- package/dist/hooks/post_rewrite.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/oauth/mint.d.ts +97 -0
- package/dist/oauth/mint.js +120 -0
- package/dist/oauth/mint.js.map +1 -0
- package/dist/oauth/signin.d.ts +25 -0
- package/dist/oauth/signin.js +30 -0
- package/dist/oauth/signin.js.map +1 -1
- package/dist/post.d.ts +53 -0
- package/dist/post.js +73 -5
- package/dist/post.js.map +1 -1
- package/dist/spool.d.ts +37 -0
- package/dist/spool.js +244 -36
- package/dist/spool.js.map +1 -1
- package/dist/state.d.ts +152 -0
- package/dist/state.js +255 -2
- package/dist/state.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/commands/status.js
CHANGED
|
@@ -31,7 +31,7 @@ import { EXIT } from "../exit.js";
|
|
|
31
31
|
import { resolveRepoSlug } from "../git.js";
|
|
32
32
|
import { emitJson } from "../json.js";
|
|
33
33
|
import { resolveProjectKeys } from "../project.js";
|
|
34
|
-
import { lastSendForRepo } from "../state.js";
|
|
34
|
+
import { commitsWaitingForRepo, heldAtEndForRepo, lastReceiptForRepo, lastSendForRepo, openTailForRepo, writtenOffForRepo, } from "../state.js";
|
|
35
35
|
import { LABEL_GUTTER, WRAP_COLUMNS, glyph, labelled, paint, renderErrorBlock, tildePath, truncatePath, wrap, } from "../term.js";
|
|
36
36
|
import { writeLines } from "./context.js";
|
|
37
37
|
/** §10.3 indents the gutter rows four columns under the state line. */
|
|
@@ -53,7 +53,28 @@ export function status(ctx, argv = []) {
|
|
|
53
53
|
// `status` still keyed on the toplevel would tell that user they are
|
|
54
54
|
// disconnected while their session was being captured.
|
|
55
55
|
const on = isProjectAllowed(ctx.home, keys.consent);
|
|
56
|
-
|
|
56
|
+
// ⛔ `ok` IS A HEALTH CLAIM, NOT ONLY A CONSENT ONE (`CR-228`, `TODOS[142]`).
|
|
57
|
+
// The line beside the glyph is consent state and stays so; the glyph is what a
|
|
58
|
+
// user reads as "fine". It printed `ok` over a session that had written off
|
|
59
|
+
// 323,147 bytes, beside "No session has been recorded yet." — a sentence a
|
|
60
|
+
// freshly connected repo prints too, so it told the user nothing. And a repo
|
|
61
|
+
// that delivered SOMETHING first prints a `last sent` age instead: no hint at
|
|
62
|
+
// all (VD). So the loss is reported as a byte count, which day one cannot
|
|
63
|
+
// produce. Repo identity, like the send scan below, so the worktree toplevel.
|
|
64
|
+
const writtenOff = writtenOffForRepo(ctx.home, projectKey);
|
|
65
|
+
// ⛔ AND A HOLD AT `SessionEnd` IS NOT `ok` EITHER (`CR-228` part 1). Without
|
|
66
|
+
// this line the fix would only move the failure: Gate A's session now ends
|
|
67
|
+
// with `gapCount: 0` and its bytes HELD, and a glyph that read only the gap
|
|
68
|
+
// counter would print `ok` over it again — the same defect with a longer fuse.
|
|
69
|
+
const heldAtEnd = heldAtEndForRepo(ctx.home, projectKey);
|
|
70
|
+
// ⭐ `TODOS[145]`/`[146]` — AND A SESSION THAT ENDED WITH ITS LAST TURN OPEN, when that costs something.
|
|
71
|
+
// The delivery "succeeded" (nothing is held, nothing is written off), the server accepted every byte, and
|
|
72
|
+
// nothing can ever bind: the glyph used to read `ok` over exactly that. Only the two losses are raised (a
|
|
73
|
+
// one-shot session that sealed nothing, or commits still waiting) — see `openTailForRepo`.
|
|
74
|
+
const openTail = openTailForRepo(ctx.home, projectKey);
|
|
75
|
+
const waiting = commitsWaitingForRepo(ctx.home, projectKey);
|
|
76
|
+
const receipt = lastReceiptForRepo(ctx.home, projectKey);
|
|
77
|
+
const kind = on && writtenOff.gaps === 0 && heldAtEnd.bytes === 0 && openTail.ids.length === 0 ? "ok" : "warn";
|
|
57
78
|
const lines = [
|
|
58
79
|
` ${paint(ctx.colour, kind, glyph(ctx.colour, kind))} ${paint(ctx.colour, "strong", on ? STATUS.onForRepo : STATUS.offForRepo)}`,
|
|
59
80
|
labelled(ROW_INDENT, STATUS.repoLabel, repoValue(ctx, projectKey)),
|
|
@@ -95,6 +116,21 @@ export function status(ctx, argv = []) {
|
|
|
95
116
|
// one. D98 detection 3 holds the key set; this key is a contract change and
|
|
96
117
|
// `json-read-verbs.test.ts` records it as one.
|
|
97
118
|
credential: load.kind === "ok" ? load.credential.source : null,
|
|
119
|
+
// `CR-228`. Always an object, zeros included: unlike `last_send`, "nothing
|
|
120
|
+
// written off" is a measured answer and not an absence. ⛔ A contract
|
|
121
|
+
// change, recorded in `json-read-verbs.test.ts` beside `credential`'s.
|
|
122
|
+
written_off: {
|
|
123
|
+
bytes: writtenOff.bytes,
|
|
124
|
+
gaps: writtenOff.gaps,
|
|
125
|
+
sessions: writtenOff.sessions,
|
|
126
|
+
},
|
|
127
|
+
held_at_end: { bytes: heldAtEnd.bytes, sessions: heldAtEnd.sessions },
|
|
128
|
+
// `TODOS[145]`/`[146]`. `last_receipt.sealed` is `true` (the newest delivery sealed a capture), `false`
|
|
129
|
+
// (it sealed nothing) or `null` (an older server sent no receipt); the whole key is `null` when nothing
|
|
130
|
+
// has been delivered. ⛔ A contract change, recorded in `json-read-verbs.test.ts`.
|
|
131
|
+
last_receipt: receipt === null ? null : { at_ms: receipt.at, sealed: receipt.sealed },
|
|
132
|
+
commits_waiting: waiting,
|
|
133
|
+
open_tail: { sessions: openTail.ids.length, ids: openTail.ids },
|
|
98
134
|
});
|
|
99
135
|
return on ? EXIT.ok : EXIT.notConnected;
|
|
100
136
|
}
|
|
@@ -108,6 +144,24 @@ export function status(ctx, argv = []) {
|
|
|
108
144
|
// credential has still recorded a session, and saying otherwise would be false.
|
|
109
145
|
if (on && lastSend === null)
|
|
110
146
|
lines.push("", ...wrap(STATUS.neverSent, 2));
|
|
147
|
+
// `CR-228`. After `neverSent`, deliberately: in the measured failure both are
|
|
148
|
+
// true at once, and "nothing recorded" followed by why is the order that reads
|
|
149
|
+
// as one account. Shown OFF as well — consent withdrawn later does not undo a
|
|
150
|
+
// loss that happened while it was on.
|
|
151
|
+
if (writtenOff.gaps > 0) {
|
|
152
|
+
lines.push("", ...wrap(STATUS.writtenOff(writtenOff.bytes, writtenOff.sessions), 2));
|
|
153
|
+
}
|
|
154
|
+
if (heldAtEnd.bytes > 0) {
|
|
155
|
+
lines.push("", ...wrap(STATUS.heldAtEnd(heldAtEnd.bytes, heldAtEnd.sessions), 2));
|
|
156
|
+
}
|
|
157
|
+
// `TODOS[145]`/`[146]`: the consequence first (a session is over and its last turn never closed), then the
|
|
158
|
+
// neutral fact (commits are waiting for a turn). Both omitted when zero — absence here is the healthy case.
|
|
159
|
+
if (openTail.ids.length > 0) {
|
|
160
|
+
lines.push("", ...wrap(STATUS.openTail(openTail.ids.length), 2));
|
|
161
|
+
}
|
|
162
|
+
else if (waiting > 0) {
|
|
163
|
+
lines.push("", ...wrap(STATUS.commitsWaiting(waiting), 2));
|
|
164
|
+
}
|
|
111
165
|
// `CR-216/U3`. Same precedent as `neverSent` above: a SENTENCE, not a fifth
|
|
112
166
|
// gutter row — §10.3 draws four questions in a fixed order and the order is the
|
|
113
167
|
// feature. Only when the env var is actually overriding something: CI sets the
|
|
@@ -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,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAChG,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,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,
|
|
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,GAAG,EAAE,MAAM,EAAE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aAAa;iBACzB;gBACD,QAAQ,EAAE,UAAU,CAAC,aAAa;gBAClC,KAAK,EAAE,CAAC,UAAU,CAAC,iBAAiB,CAAC;aACtC,EACD,MAAM,CACP,CAAC;IACN,CAAC;AACH,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, 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, } 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, 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, } 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,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,GACX,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"}
|
|
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,GACX,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
|
@@ -27,6 +27,7 @@ export declare const HELP: {
|
|
|
27
27
|
readonly off: "Stop capturing for this repo.";
|
|
28
28
|
readonly why: "Show the conversation turns recorded against the commit that last changed this line.";
|
|
29
29
|
readonly report: "Summarise capture coverage over a time window.";
|
|
30
|
+
readonly finalize: "Close a finished session's last turn so commits made in it can be recorded.";
|
|
30
31
|
};
|
|
31
32
|
readonly docsUrl: "https://vibecommit.ai/docs/what-we-upload";
|
|
32
33
|
};
|
|
@@ -64,7 +65,6 @@ export declare const USAGE: {
|
|
|
64
65
|
/** The unknown-verb line. Help follows it, so this says only what went wrong. */
|
|
65
66
|
readonly unknownCommand: (verb: string) => string;
|
|
66
67
|
};
|
|
67
|
-
/** `vibecommit status` (CR-021). */
|
|
68
68
|
export declare const STATUS: {
|
|
69
69
|
readonly onForRepo: "Capture is on for this repository.";
|
|
70
70
|
readonly offForRepo: "Capture is off for this repository.";
|
|
@@ -92,6 +92,33 @@ export declare const STATUS: {
|
|
|
92
92
|
* two is correct — the client cannot know that.
|
|
93
93
|
*/
|
|
94
94
|
readonly credentialShadowed: "VIBECOMMIT_TOKEN is set and takes precedence over the credential saved on this machine. Unset it to use the saved one.";
|
|
95
|
+
/**
|
|
96
|
+
* `CR-228`, `TODOS[142]` — bytes the client ADVANCED PAST without delivering.
|
|
97
|
+
*
|
|
98
|
+
* ⛔ Not an absence state, so not `ABSENCE`'s sixth: this reports something
|
|
99
|
+
* that happened, with a number, rather than something that has not happened
|
|
100
|
+
* yet. Written off means never re-offered — the sentence says so rather than
|
|
101
|
+
* implying a retry. It names no cause because the counter records none.
|
|
102
|
+
*/
|
|
103
|
+
readonly writtenOff: (bytes: number, sessions: number) => string;
|
|
104
|
+
/**
|
|
105
|
+
* `CR-228` — bytes a session ENDED still owing, which `SessionEnd` now keeps
|
|
106
|
+
* instead of skipping. ⚠ Claims no recovery: whether this session's hooks
|
|
107
|
+
* will fire again is not something the client can know, so the sentence says
|
|
108
|
+
* what is true now and promises nothing about later.
|
|
109
|
+
*/
|
|
110
|
+
readonly heldAtEnd: (bytes: number, sessions: number) => string;
|
|
111
|
+
/**
|
|
112
|
+
* `TODOS[145]`/`[146]` — a session that ENDED while its last turn was still open. The server seals a
|
|
113
|
+
* turn only when a following prompt arrives, so nothing will ever seal this one and the commits made in
|
|
114
|
+
* it cannot be recorded. States the consequence and the command; promises nothing about the commits.
|
|
115
|
+
*/
|
|
116
|
+
readonly openTail: (sessions: number) => string;
|
|
117
|
+
/**
|
|
118
|
+
* `TODOS[145]` — commits the client has seen and is holding because no turn has closed yet. Normal
|
|
119
|
+
* mid-session; shown as a fact, not as a fault.
|
|
120
|
+
*/
|
|
121
|
+
readonly commitsWaiting: (commits: number) => string;
|
|
95
122
|
readonly fixCommandLabel: "To reconnect, run";
|
|
96
123
|
/** §10.3's two trailing actions, rendered as an aligned pair. */
|
|
97
124
|
readonly turnOffLabel: "Turn capture off for this repo";
|
|
@@ -1160,6 +1187,31 @@ export declare const ABSENCE: {
|
|
|
1160
1187
|
};
|
|
1161
1188
|
};
|
|
1162
1189
|
/** Failure-class copy (CR-018). Three classes: later / never / fatal. */
|
|
1190
|
+
/**
|
|
1191
|
+
* `vibecommit finalize` (`TODOS[146]`, VD decision 5).
|
|
1192
|
+
*
|
|
1193
|
+
* ⛔ The turn extractor seals a turn only when a following prompt opens the next one, so a session
|
|
1194
|
+
* that is never followed by another prompt (a one-shot `claude -p`, the last turn of any session that
|
|
1195
|
+
* is not resumed) seals nothing and binds no commit. This verb is the CALLER saying the session is
|
|
1196
|
+
* over. The copy states what happened and what did not, and claims nothing about commits it cannot
|
|
1197
|
+
* know were bound: `closed` says the last turn is recorded, not that any commit matched it.
|
|
1198
|
+
*/
|
|
1199
|
+
export declare const FINALIZE: {
|
|
1200
|
+
readonly needTarget: "Say which session to close: --session <id>, or --latest.";
|
|
1201
|
+
readonly badSessionId: "That is not a session id (letters, digits, dot, dash and underscore only).";
|
|
1202
|
+
readonly noRecentSession: "No session in this repository has delivered anything in the last 24 hours. Use --session <id>.";
|
|
1203
|
+
readonly severalRecent: "More than one session in this repository is recent. Name one with --session <id>:";
|
|
1204
|
+
readonly recentRow: (id: string, minutesAgo: number) => string;
|
|
1205
|
+
readonly unknownSession: (id: string) => string;
|
|
1206
|
+
readonly transcriptMissing: (id: string) => string;
|
|
1207
|
+
readonly stillWriting: "That session's transcript changed a moment ago. Wait for the session to finish, or pass --force if it is over.";
|
|
1208
|
+
readonly closed: (id: string) => string;
|
|
1209
|
+
readonly alreadyClosed: (id: string) => string;
|
|
1210
|
+
readonly notAcknowledged: "The server accepted the data but did not confirm that it closed the session; it may predate this command. The last turn may still be open.";
|
|
1211
|
+
readonly refused: "The server declined to close the session on this attempt. Run the command again.";
|
|
1212
|
+
readonly notDelivered: "Could not deliver the session. Nothing was closed. Run the command again.";
|
|
1213
|
+
readonly credentialStopped: "VibeCommit stopped sending for this credential. Run `vibecommit auth` to replace it.";
|
|
1214
|
+
};
|
|
1163
1215
|
export declare const ERRORS: {
|
|
1164
1216
|
readonly notConnected: "This repository is not connected. Run `vibecommit connect`.";
|
|
1165
1217
|
readonly networkLater: "Could not reach VibeCommit. This session will be recorded on the next turn.";
|
|
@@ -1255,6 +1307,26 @@ export declare const AUTH: {
|
|
|
1255
1307
|
readonly argvFix: "Read it from the terminal, or from a pipe:";
|
|
1256
1308
|
readonly argvFixPrompt: "vibecommit auth";
|
|
1257
1309
|
readonly argvFixStdin: "printf %s \"$TOKEN\" | vibecommit auth --stdin";
|
|
1310
|
+
/**
|
|
1311
|
+
* Printed before the request, naming the label the credential will carry in
|
|
1312
|
+
* `/app/settings` — the list a user revokes from, so the name they will look
|
|
1313
|
+
* for there is the name they see here.
|
|
1314
|
+
*/
|
|
1315
|
+
readonly minting: (label: string) => string;
|
|
1316
|
+
/** Every mint failure shares the `what`; the `why` names which step refused. */
|
|
1317
|
+
readonly mintFailedWhat: "No credential was created through the browser.";
|
|
1318
|
+
/** `not-authorized`, or a 401 that survived one refresh. */
|
|
1319
|
+
readonly mintSessionWhy: "The sign-in on this machine could not be used to create one. It may have ended or been revoked. Nothing was written.";
|
|
1320
|
+
readonly mintNotMemberWhy: "The account that signed in is not a member of the workspace its sign-in names. Nothing was written.";
|
|
1321
|
+
readonly mintRateLimitedWhy: "Too many credentials were created for this account in the last hour. Nothing was written.";
|
|
1322
|
+
readonly mintRefusedWhy: "The service refused the request. Nothing was written.";
|
|
1323
|
+
readonly mintUnreachableWhy: "The service did not answer. Nothing was written.";
|
|
1324
|
+
readonly mintMalformedWhy: "The service answered in a form this version cannot use. Nothing was written.";
|
|
1325
|
+
/**
|
|
1326
|
+
* The documented fallback (FOUNDER_OAUTH_PROPOSAL decision 2): the paste path
|
|
1327
|
+
* that worked before this, unchanged. `auth` prints this and then prompts.
|
|
1328
|
+
*/
|
|
1329
|
+
readonly pasteInsteadLabel: "Paste one instead. Create it here, then paste it below:";
|
|
1258
1330
|
};
|
|
1259
1331
|
/**
|
|
1260
1332
|
* The Node floor (D57 plan §DX11). `NODE_FLOOR_TEXT` and the running version are
|
|
@@ -1334,11 +1406,18 @@ export declare const REDACTION: {
|
|
|
1334
1406
|
/** Commands the copy points at. One definition, so a rename cannot half-land. */
|
|
1335
1407
|
export declare const COMMANDS: {
|
|
1336
1408
|
readonly connect: "vibecommit connect";
|
|
1337
|
-
/**
|
|
1409
|
+
/**
|
|
1410
|
+
* `CR-216/U2`. The only verb a credential FAULT's fix line may name — it can
|
|
1411
|
+
* replace the credential from any state. `CR-226` lets `connect` mint one
|
|
1412
|
+
* too, but only on a machine with NO credential and a human at the terminal,
|
|
1413
|
+
* so `connect` is never the fix for a fault (`credential-fix-copy.test.ts`).
|
|
1414
|
+
*/
|
|
1338
1415
|
readonly auth: "vibecommit auth";
|
|
1339
1416
|
/** `CR-084d`. A FLAG, not a verb — `--help`'s verb list and its golden file do not move. */
|
|
1340
1417
|
readonly signIn: "vibecommit connect --sign-in";
|
|
1341
1418
|
readonly status: "vibecommit status";
|
|
1419
|
+
/** `TODOS[146]`. */
|
|
1420
|
+
readonly finalize: "vibecommit finalize --latest";
|
|
1342
1421
|
/**
|
|
1343
1422
|
* `CR-108`. The ARGUMENT SHAPE, shown once so the usage error and the retry
|
|
1344
1423
|
* fix line cannot drift apart — the same convention `why` uses.
|
package/dist/copy/strings.js
CHANGED
|
@@ -35,6 +35,8 @@ export const HELP = {
|
|
|
35
35
|
// VERBATIM-APPROVED (D61 §PS6). Any reword needs a new claims-register row.
|
|
36
36
|
why: "Show the conversation turns recorded against the commit that last changed this line.",
|
|
37
37
|
report: "Summarise capture coverage over a time window.",
|
|
38
|
+
// `TODOS[146]`. Typed by a person or a script AFTER a one-shot run, so it is in the list.
|
|
39
|
+
finalize: "Close a finished session's last turn so commits made in it can be recorded.",
|
|
38
40
|
},
|
|
39
41
|
docsUrl: "https://vibecommit.ai/docs/what-we-upload",
|
|
40
42
|
};
|
|
@@ -73,6 +75,11 @@ export const USAGE = {
|
|
|
73
75
|
unknownCommand: (verb) => `Unknown command: ${verb}`,
|
|
74
76
|
};
|
|
75
77
|
/** `vibecommit status` (CR-021). */
|
|
78
|
+
/**
|
|
79
|
+
* `323,147`. The locale is PINNED: the host's would make the same state render
|
|
80
|
+
* two ways on two machines, and a byte count is a number a user may paste.
|
|
81
|
+
*/
|
|
82
|
+
const BYTE_COUNT = new Intl.NumberFormat("en-US");
|
|
76
83
|
export const STATUS = {
|
|
77
84
|
onForRepo: "Capture is on for this repository.",
|
|
78
85
|
offForRepo: "Capture is off for this repository.",
|
|
@@ -100,6 +107,39 @@ export const STATUS = {
|
|
|
100
107
|
* two is correct — the client cannot know that.
|
|
101
108
|
*/
|
|
102
109
|
credentialShadowed: "VIBECOMMIT_TOKEN is set and takes precedence over the credential saved on this machine. Unset it to use the saved one.",
|
|
110
|
+
/**
|
|
111
|
+
* `CR-228`, `TODOS[142]` — bytes the client ADVANCED PAST without delivering.
|
|
112
|
+
*
|
|
113
|
+
* ⛔ Not an absence state, so not `ABSENCE`'s sixth: this reports something
|
|
114
|
+
* that happened, with a number, rather than something that has not happened
|
|
115
|
+
* yet. Written off means never re-offered — the sentence says so rather than
|
|
116
|
+
* implying a retry. It names no cause because the counter records none.
|
|
117
|
+
*/
|
|
118
|
+
writtenOff: (bytes, sessions) => `${BYTE_COUNT.format(bytes)} ${bytes === 1 ? "byte" : "bytes"} of transcript from ` +
|
|
119
|
+
`${sessions === 1 ? "1 session" : `${sessions} sessions`} could not be sent and ` +
|
|
120
|
+
"were skipped. They will not be sent later.",
|
|
121
|
+
/**
|
|
122
|
+
* `CR-228` — bytes a session ENDED still owing, which `SessionEnd` now keeps
|
|
123
|
+
* instead of skipping. ⚠ Claims no recovery: whether this session's hooks
|
|
124
|
+
* will fire again is not something the client can know, so the sentence says
|
|
125
|
+
* what is true now and promises nothing about later.
|
|
126
|
+
*/
|
|
127
|
+
heldAtEnd: (bytes, sessions) => `${BYTE_COUNT.format(bytes)} ${bytes === 1 ? "byte" : "bytes"} of transcript from ` +
|
|
128
|
+
`${sessions === 1 ? "1 session that has" : `${sessions} sessions that have`} ended ` +
|
|
129
|
+
"could not be sent and have not been sent since.",
|
|
130
|
+
/**
|
|
131
|
+
* `TODOS[145]`/`[146]` — a session that ENDED while its last turn was still open. The server seals a
|
|
132
|
+
* turn only when a following prompt arrives, so nothing will ever seal this one and the commits made in
|
|
133
|
+
* it cannot be recorded. States the consequence and the command; promises nothing about the commits.
|
|
134
|
+
*/
|
|
135
|
+
openTail: (sessions) => `${sessions === 1 ? "1 session has" : `${sessions} sessions have`} ended with the last turn still ` +
|
|
136
|
+
"open, so commits made in that turn are not recorded. Run `vibecommit finalize --latest` to close it.",
|
|
137
|
+
/**
|
|
138
|
+
* `TODOS[145]` — commits the client has seen and is holding because no turn has closed yet. Normal
|
|
139
|
+
* mid-session; shown as a fact, not as a fault.
|
|
140
|
+
*/
|
|
141
|
+
commitsWaiting: (commits) => `${commits} ${commits === 1 ? "commit is" : "commits are"} waiting for a turn to close before ` +
|
|
142
|
+
`${commits === 1 ? "it can" : "they can"} be recorded.`,
|
|
103
143
|
fixCommandLabel: "To reconnect, run",
|
|
104
144
|
/** §10.3's two trailing actions, rendered as an aligned pair. */
|
|
105
145
|
turnOffLabel: "Turn capture off for this repo",
|
|
@@ -1086,6 +1126,31 @@ export const ABSENCE = {
|
|
|
1086
1126
|
// the brief for this task names. `test/copy-grades.test.ts` keeps its expected
|
|
1087
1127
|
// table in the test for the same reason.
|
|
1088
1128
|
/** Failure-class copy (CR-018). Three classes: later / never / fatal. */
|
|
1129
|
+
/**
|
|
1130
|
+
* `vibecommit finalize` (`TODOS[146]`, VD decision 5).
|
|
1131
|
+
*
|
|
1132
|
+
* ⛔ The turn extractor seals a turn only when a following prompt opens the next one, so a session
|
|
1133
|
+
* that is never followed by another prompt (a one-shot `claude -p`, the last turn of any session that
|
|
1134
|
+
* is not resumed) seals nothing and binds no commit. This verb is the CALLER saying the session is
|
|
1135
|
+
* over. The copy states what happened and what did not, and claims nothing about commits it cannot
|
|
1136
|
+
* know were bound: `closed` says the last turn is recorded, not that any commit matched it.
|
|
1137
|
+
*/
|
|
1138
|
+
export const FINALIZE = {
|
|
1139
|
+
needTarget: "Say which session to close: --session <id>, or --latest.",
|
|
1140
|
+
badSessionId: "That is not a session id (letters, digits, dot, dash and underscore only).",
|
|
1141
|
+
noRecentSession: "No session in this repository has delivered anything in the last 24 hours. Use --session <id>.",
|
|
1142
|
+
severalRecent: "More than one session in this repository is recent. Name one with --session <id>:",
|
|
1143
|
+
recentRow: (id, minutesAgo) => `${id} (${minutesAgo} min ago)`,
|
|
1144
|
+
unknownSession: (id) => `This repository has no captured session ${id}.`,
|
|
1145
|
+
transcriptMissing: (id) => `Could not find the transcript for session ${id}.`,
|
|
1146
|
+
stillWriting: "That session's transcript changed a moment ago. Wait for the session to finish, or pass --force if it is over.",
|
|
1147
|
+
closed: (id) => `Closed session ${id}: its last turn is recorded, so commits made in it can now be recorded.`,
|
|
1148
|
+
alreadyClosed: (id) => `Session ${id} had nothing left open. Nothing changed.`,
|
|
1149
|
+
notAcknowledged: "The server accepted the data but did not confirm that it closed the session; it may predate this command. The last turn may still be open.",
|
|
1150
|
+
refused: "The server declined to close the session on this attempt. Run the command again.",
|
|
1151
|
+
notDelivered: "Could not deliver the session. Nothing was closed. Run the command again.",
|
|
1152
|
+
credentialStopped: "VibeCommit stopped sending for this credential. Run `vibecommit auth` to replace it.",
|
|
1153
|
+
};
|
|
1089
1154
|
export const ERRORS = {
|
|
1090
1155
|
notConnected: "This repository is not connected. Run `vibecommit connect`.",
|
|
1091
1156
|
networkLater: "Could not reach VibeCommit. This session will be recorded on the next turn.",
|
|
@@ -1181,6 +1246,27 @@ export const AUTH = {
|
|
|
1181
1246
|
argvFix: "Read it from the terminal, or from a pipe:",
|
|
1182
1247
|
argvFixPrompt: "vibecommit auth",
|
|
1183
1248
|
argvFixStdin: 'printf %s "$TOKEN" | vibecommit auth --stdin',
|
|
1249
|
+
// --- `CR-226`: the browser mint, and the paste it falls back to. ---
|
|
1250
|
+
/**
|
|
1251
|
+
* Printed before the request, naming the label the credential will carry in
|
|
1252
|
+
* `/app/settings` — the list a user revokes from, so the name they will look
|
|
1253
|
+
* for there is the name they see here.
|
|
1254
|
+
*/
|
|
1255
|
+
minting: (label) => `Creating this machine's credential, labelled "${label}"…`,
|
|
1256
|
+
/** Every mint failure shares the `what`; the `why` names which step refused. */
|
|
1257
|
+
mintFailedWhat: "No credential was created through the browser.",
|
|
1258
|
+
/** `not-authorized`, or a 401 that survived one refresh. */
|
|
1259
|
+
mintSessionWhy: "The sign-in on this machine could not be used to create one. It may have ended or been revoked. Nothing was written.",
|
|
1260
|
+
mintNotMemberWhy: "The account that signed in is not a member of the workspace its sign-in names. Nothing was written.",
|
|
1261
|
+
mintRateLimitedWhy: "Too many credentials were created for this account in the last hour. Nothing was written.",
|
|
1262
|
+
mintRefusedWhy: "The service refused the request. Nothing was written.",
|
|
1263
|
+
mintUnreachableWhy: "The service did not answer. Nothing was written.",
|
|
1264
|
+
mintMalformedWhy: "The service answered in a form this version cannot use. Nothing was written.",
|
|
1265
|
+
/**
|
|
1266
|
+
* The documented fallback (FOUNDER_OAUTH_PROPOSAL decision 2): the paste path
|
|
1267
|
+
* that worked before this, unchanged. `auth` prints this and then prompts.
|
|
1268
|
+
*/
|
|
1269
|
+
pasteInsteadLabel: "Paste one instead. Create it here, then paste it below:",
|
|
1184
1270
|
};
|
|
1185
1271
|
/**
|
|
1186
1272
|
* The Node floor (D57 plan §DX11). `NODE_FLOOR_TEXT` and the running version are
|
|
@@ -1260,11 +1346,18 @@ export const REDACTION = {
|
|
|
1260
1346
|
/** Commands the copy points at. One definition, so a rename cannot half-land. */
|
|
1261
1347
|
export const COMMANDS = {
|
|
1262
1348
|
connect: "vibecommit connect",
|
|
1263
|
-
/**
|
|
1349
|
+
/**
|
|
1350
|
+
* `CR-216/U2`. The only verb a credential FAULT's fix line may name — it can
|
|
1351
|
+
* replace the credential from any state. `CR-226` lets `connect` mint one
|
|
1352
|
+
* too, but only on a machine with NO credential and a human at the terminal,
|
|
1353
|
+
* so `connect` is never the fix for a fault (`credential-fix-copy.test.ts`).
|
|
1354
|
+
*/
|
|
1264
1355
|
auth: "vibecommit auth",
|
|
1265
1356
|
/** `CR-084d`. A FLAG, not a verb — `--help`'s verb list and its golden file do not move. */
|
|
1266
1357
|
signIn: "vibecommit connect --sign-in",
|
|
1267
1358
|
status: "vibecommit status",
|
|
1359
|
+
/** `TODOS[146]`. */
|
|
1360
|
+
finalize: "vibecommit finalize --latest",
|
|
1268
1361
|
/**
|
|
1269
1362
|
* `CR-108`. The ARGUMENT SHAPE, shown once so the usage error and the retry
|
|
1270
1363
|
* fix line cannot drift apart — the same convention `why` uses.
|
package/dist/copy/strings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strings.js","sourceRoot":"","sources":["../../src/copy/strings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,kFAAkF;AAClF,iFAAiF;AACjF,mFAAmF;AACnF,4CAA4C;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,qFAAqF;AACrF,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,KAAK,EAAE,gCAAgC;IACvC,OAAO,EAAE,gEAAgE;IACzE,QAAQ,EAAE;QACN,2EAA2E;QAC7E,wEAAwE;QACxE,IAAI,EAAE,wCAAwC;QAC9C,OAAO,EAAE,oDAAoD;QAC7D,MAAM,EAAE,sEAAsE;QAC9E,GAAG,EAAE,+BAA+B;QACpC,4EAA4E;QAC5E,GAAG,EAAE,sFAAsF;QAC3F,MAAM,EAAE,gDAAgD;KACzD;IACD,OAAO,EAAE,2CAA2C;CAC5C,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,UAAU,EAAE,QAAQ;IACpB,aAAa,EAAE,WAAW;IAC1B,SAAS,EAAE,OAAO;IAClB,iFAAiF;IACjF,cAAc,EAAE,CAAC,IAAY,EAAU,EAAE,CAAC,oBAAoB,IAAI,EAAE;CAC5D,CAAC;AAEX,oCAAoC;AACpC,MAAM,CAAC,MAAM,MAAM,GAA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
|
@@ -37,6 +37,13 @@ export declare const EXIT: {
|
|
|
37
37
|
* involved.
|
|
38
38
|
*/
|
|
39
39
|
readonly empty: 4;
|
|
40
|
+
/**
|
|
41
|
+
* Interactive-only. `vibecommit finalize` DELIVERED but the server did not CONFIRM that it closed
|
|
42
|
+
* the session — an older server ignores the assertion and says nothing (`TODOS[146]`). Distinct
|
|
43
|
+
* from `failure` (nothing was delivered) and from `ok` (it was closed): a script that must know
|
|
44
|
+
* its last turn was recorded branches on this without parsing copy.
|
|
45
|
+
*/
|
|
46
|
+
readonly unacknowledged: 5;
|
|
40
47
|
};
|
|
41
48
|
export type ExitCode = (typeof EXIT)[keyof typeof EXIT];
|
|
42
49
|
export type InvocationMode = "hook" | "interactive";
|
package/dist/exit.js
CHANGED
|
@@ -37,6 +37,13 @@ export const EXIT = {
|
|
|
37
37
|
* involved.
|
|
38
38
|
*/
|
|
39
39
|
empty: 4,
|
|
40
|
+
/**
|
|
41
|
+
* Interactive-only. `vibecommit finalize` DELIVERED but the server did not CONFIRM that it closed
|
|
42
|
+
* the session — an older server ignores the assertion and says nothing (`TODOS[146]`). Distinct
|
|
43
|
+
* from `failure` (nothing was delivered) and from `ok` (it was closed): a script that must know
|
|
44
|
+
* its last turn was recorded branches on this without parsing copy.
|
|
45
|
+
*/
|
|
46
|
+
unacknowledged: 5,
|
|
40
47
|
};
|
|
41
48
|
/**
|
|
42
49
|
* Resolve the exit code for a completed invocation.
|
package/dist/exit.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exit.js","sourceRoot":"","sources":["../src/exit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,EAAE,EAAE,CAAC;IACL,uDAAuD;IACvD,OAAO,EAAE,CAAC;IACV;;;;OAIG;IACH,KAAK,EAAE,CAAC;IACR;;;OAGG;IACH,YAAY,EAAE,CAAC;IACf;;;;;;;OAOG;IACH,KAAK,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"exit.js","sourceRoot":"","sources":["../src/exit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,EAAE,EAAE,CAAC;IACL,uDAAuD;IACvD,OAAO,EAAE,CAAC;IACV;;;;OAIG;IACH,KAAK,EAAE,CAAC;IACR;;;OAGG;IACH,YAAY,EAAE,CAAC;IACf;;;;;;;OAOG;IACH,KAAK,EAAE,CAAC;IACR;;;;;OAKG;IACH,cAAc,EAAE,CAAC;CACT,CAAC;AAMX;;;GAGG;AACH,MAAM,UAAU,eAAe,CAAC,IAAoB,EAAE,OAAe;IACnE,OAAO,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;AAC7C,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,IAAI,CAAC,EAAE;IACb,WAAW,EAAE,CAAC;CACN,CAAC"}
|
package/dist/hooks/entry.d.ts
CHANGED
|
@@ -33,6 +33,8 @@
|
|
|
33
33
|
* own red-proof in `test/credential.test.ts`. Do not read one as evidence for
|
|
34
34
|
* the other.
|
|
35
35
|
*/
|
|
36
|
+
import { type IngestCredential } from "../credential.js";
|
|
37
|
+
import { type FileKey } from "../post.js";
|
|
36
38
|
import type { HookEventName } from "../agents/types.js";
|
|
37
39
|
import { type ProjectKeys } from "../project.js";
|
|
38
40
|
/**
|
|
@@ -192,6 +194,86 @@ export declare function runHook(ctx: HookEnvironment): Promise<never>;
|
|
|
192
194
|
* `VIBECOMMIT_HOOK_TIMEOUT_MS` still wins outright, as it always has.
|
|
193
195
|
*/
|
|
194
196
|
export declare function hookBudgetMs(env: NodeJS.ProcessEnv, agentId: string): number;
|
|
197
|
+
/** One sub-agent transcript that passed confinement and the key bound. */
|
|
198
|
+
interface SubagentFile {
|
|
199
|
+
readonly path: string;
|
|
200
|
+
readonly fileKey: FileKey;
|
|
201
|
+
readonly size: number;
|
|
202
|
+
readonly mtimeMs: number;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Send whatever delegated transcripts fit in what is left of the budget.
|
|
206
|
+
*
|
|
207
|
+
* ## Why this is bounded and not a loop over the directory
|
|
208
|
+
*
|
|
209
|
+
* `entry.ts` gets ONE wall clock (DESIGN.md §13.7) and the watchdog cuts the
|
|
210
|
+
* process off at `budgetMs` regardless. A real session on this machine has 27
|
|
211
|
+
* sub-agent files; twenty-seven sends cannot each have a share of five seconds.
|
|
212
|
+
* D95 settles the shape: one MEASURED deadline, the running elapsed handed to
|
|
213
|
+
* `sendTimeoutMs` so file N gets the real remainder, and a floor below which no
|
|
214
|
+
* new file is started.
|
|
215
|
+
*
|
|
216
|
+
* Nothing is lost by stopping early. An unattempted file's offset does not
|
|
217
|
+
* advance, so the next hook picks it up — the same property `CR-018`'s failure
|
|
218
|
+
* classes already rely on.
|
|
219
|
+
*
|
|
220
|
+
* **Except on `SessionEnd`, where there is no next hook.** There, an undelivered
|
|
221
|
+
* file STAMPS A GAP (D95): the offset advances and the hole is recorded, because
|
|
222
|
+
* a record that says what it could not send is honest and one that is quietly
|
|
223
|
+
* short is not. That is D56 §D8's own shape, applied to the one event where
|
|
224
|
+
* advance-regardless would otherwise lose the bytes silently. The stamp itself
|
|
225
|
+
* is the CALLER's, not this function's (`CR-182`) — it covers the main
|
|
226
|
+
* transcript too, and must therefore happen whether or not this ran.
|
|
227
|
+
*
|
|
228
|
+
* ⛔ **Only when nothing explains the shortfall (`CR-228`).** If any send this
|
|
229
|
+
* loop made ended held, the files it never reached are behind because of that
|
|
230
|
+
* failure, not because of the budget — and `held` is how the caller learns it.
|
|
231
|
+
*
|
|
232
|
+
* Serial, never `Promise.all`: each `deliver()` does load-modify-save on one
|
|
233
|
+
* JSON file and claims `session.seq + 1`, so concurrent calls would lose seq
|
|
234
|
+
* updates to each other and the server would read a replay.
|
|
235
|
+
*
|
|
236
|
+
* Returns every delegated file it DISCOVERED, attempted or not — the caller
|
|
237
|
+
* stamps against that set, and an unattempted file is precisely the one most in
|
|
238
|
+
* need of a hole.
|
|
239
|
+
*/
|
|
240
|
+
export declare function deliverSubagents(opts: {
|
|
241
|
+
ctx: HookEnvironment;
|
|
242
|
+
input: HookInput;
|
|
243
|
+
url: string;
|
|
244
|
+
credential: IngestCredential;
|
|
245
|
+
/** ⛔ The SESSION BUCKET and slug input — the worktree toplevel (`D184 §1`). */
|
|
246
|
+
projectKey: string;
|
|
247
|
+
/**
|
|
248
|
+
* ⛔ The REDACTION BOUNDARY, which is a different value from `projectKey` and
|
|
249
|
+
* a different value again from the consent key. Passed in rather than derived
|
|
250
|
+
* here: a second derivation is a second chance to disagree, and disagreeing
|
|
251
|
+
* downward means a delegated stream of markers (`D184 §3`).
|
|
252
|
+
*/
|
|
253
|
+
redactionRoots: readonly string[];
|
|
254
|
+
/** ⛔ PASSED IN, never re-derived — see `hookBody` (`TODOS[87]`). */
|
|
255
|
+
repoSlug: string;
|
|
256
|
+
startedAt: number;
|
|
257
|
+
/** The budget MINUS the `SessionEnd` stamp reserve — `CR-182`. */
|
|
258
|
+
sendBudget: number;
|
|
259
|
+
/** ⛔ REQUIRED. A hook's deliveries stamp `liveAt`; `vibecommit finalize`'s must not (see `DeliveryContext.byHook`). */
|
|
260
|
+
byHook: boolean;
|
|
261
|
+
}): Promise<DelegatedDeliveries>;
|
|
262
|
+
/**
|
|
263
|
+
* What `deliverSubagents` found, and whether any of its sends was HELD.
|
|
264
|
+
*
|
|
265
|
+
* `files` is every delegated stream DISCOVERED, attempted or not, as before.
|
|
266
|
+
* `held` is the one fact `stampGaps` cannot recover from state afterwards
|
|
267
|
+
* (`CR-228`): a stream that was never ATTEMPTED has no backlog to show why it
|
|
268
|
+
* is behind, so whether the budget ran out against a working server or against
|
|
269
|
+
* a failing one has to be carried out of the loop that saw it.
|
|
270
|
+
*/
|
|
271
|
+
export interface DelegatedDeliveries {
|
|
272
|
+
readonly files: readonly SubagentFile[];
|
|
273
|
+
readonly held: boolean;
|
|
274
|
+
}
|
|
275
|
+
/** Size in bytes, or null if it cannot be read. */
|
|
276
|
+
export declare function fileSize(path: string): number | null;
|
|
195
277
|
/**
|
|
196
278
|
* ⛔ **The redaction confinement ROOT SET — `D184 §3`.**
|
|
197
279
|
*
|
|
@@ -286,3 +368,4 @@ export declare function confinementRoots(keys: ProjectKeys): readonly string[];
|
|
|
286
368
|
* exactly what the chokepoint note above warns about.
|
|
287
369
|
*/
|
|
288
370
|
export declare function readSpan(path: string, from: number, to: number, projectRoots: readonly string[], home: string, env: NodeJS.ProcessEnv): Uint8Array | null;
|
|
371
|
+
export {};
|