glimmervoid 0.49.1-next.571 → 0.49.1-next.573
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/dist/bin/glimmervoid.js +9 -9
- package/dist/chunks/{adapters-fEt5pGEB.js → adapters-BUhd91_1.js} +2 -2
- package/dist/chunks/{adapters-DWQfT5kH.js → adapters-YBpH57T_.js} +1 -1
- package/dist/chunks/{agent-api-cli-BevCe7UX.js → agent-api-cli-BnNYpX3Z.js} +1 -1
- package/dist/chunks/{agent-api-cli-BWRawLby.js → agent-api-cli-Y5FLNkFv.js} +1 -1
- package/dist/chunks/{agent-api-core-B_ynz94i.js → agent-api-core-DeXBc7ut.js} +1 -1
- package/dist/chunks/{commit-sessions-CYR3vNx9.js → commit-sessions-CAY5_j70.js} +259 -19
- package/dist/chunks/{config-ijg-oQmK.js → config-CV4ltiNs.js} +2259 -2181
- package/dist/chunks/{config-store-1tIhtxC2.js → config-store-BRZsqhjX.js} +20 -1
- package/dist/chunks/config-store-DoxLv-P6.js +1 -0
- package/dist/chunks/{main-BU7HufxN.js → main-DAEo87IS.js} +81 -101
- package/dist/chunks/{pair-cli-DtA5VvL1.js → pair-cli-e2WN5YPB.js} +2 -2
- package/dist/chunks/{pairings-store-CChFbNsj.js → pairings-store-wkXXWHKR.js} +1 -1
- package/dist/chunks/{settings-cli-Dk8r-e8b.js → settings-cli-CN0eVYLX.js} +4 -4
- package/dist/chunks/{settings-readout-core-4iqZak3r.js → settings-readout-core-cmBWtdwI.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-BOR3xpXE.js → ssh-sign-cli-CKXL1KhF.js} +1 -1
- package/dist/chunks/{why-cli-BZO7OEac.js → why-cli-DpZHq_EC.js} +40 -17
- package/dist/client/assets/{action-status-CoHe5503.js → action-status-PheYzO5u.js} +1 -1
- package/dist/client/assets/action-status-PheYzO5u.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-zBOf4bdR.js → benchmark-panel-Bdf9yXbT.js} +1 -1
- package/dist/client/assets/benchmark-panel-Bdf9yXbT.js.br +0 -0
- package/dist/client/assets/{boards-view-BdZDEdrH.js → boards-view-DE1SLyEx.js} +1 -1
- package/dist/client/assets/boards-view-DE1SLyEx.js.br +0 -0
- package/dist/client/assets/{card-registry-DIx2nmO7.js → card-registry-CwY9aFkB.js} +1 -1
- package/dist/client/assets/card-registry-CwY9aFkB.js.br +0 -0
- package/dist/client/assets/{community-panel-B8fOcU5-.js → community-panel-DxBGhBqL.js} +1 -1
- package/dist/client/assets/community-panel-DxBGhBqL.js.br +0 -0
- package/dist/client/assets/control-ws-Ddke697P.js +4 -0
- package/dist/client/assets/control-ws-Ddke697P.js.br +0 -0
- package/dist/client/assets/{dialogs-CzwwugJj.js → dialogs-Do_pfHjV.js} +1 -1
- package/dist/client/assets/dialogs-Do_pfHjV.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-BHvdiLqC.js → doc-editor-ui-CWO6wccc.js} +1 -1
- package/dist/client/assets/doc-editor-ui-CWO6wccc.js.br +0 -0
- package/dist/client/assets/feature-hint-GJH6nvwj.js +1 -0
- package/dist/client/assets/feature-hint-GJH6nvwj.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-Dboncbbj.js → first-run-checklist-CKSA5AOM.js} +1 -1
- package/dist/client/assets/first-run-checklist-CKSA5AOM.js.br +0 -0
- package/dist/client/assets/{hooks-panel-D5eHXadB.js → hooks-panel-g_kvyO4L.js} +1 -1
- package/dist/client/assets/hooks-panel-g_kvyO4L.js.br +0 -0
- package/dist/client/assets/{index-DSL4oB8f.js → index-5dXyze6-.js} +7 -7
- package/dist/client/assets/index-5dXyze6-.js.br +0 -0
- package/dist/client/assets/{issues-panel-CgmR_-6A.js → issues-panel-BAkwec4N.js} +1 -1
- package/dist/client/assets/issues-panel-BAkwec4N.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-Dcp4jwrF.js → my-prs-panel-f4rTWfnr.js} +1 -1
- package/dist/client/assets/my-prs-panel-f4rTWfnr.js.br +0 -0
- package/dist/client/assets/{nyan-cat-Dzw_bes6.js → nyan-cat-DAzkrGWM.js} +1 -1
- package/dist/client/assets/nyan-cat-DAzkrGWM.js.br +0 -0
- package/dist/client/assets/{phone-shell-CVW9oS4u.js → phone-shell-CPqHFUj_.js} +1 -1
- package/dist/client/assets/phone-shell-CPqHFUj_.js.br +0 -0
- package/dist/client/assets/{plan-face-DKBQHgJv.js → plan-face-c4087c7v.js} +1 -1
- package/dist/client/assets/plan-face-c4087c7v.js.br +0 -0
- package/dist/client/assets/{plan-render-C6hEn1wv.js → plan-render-2i3WFrBM.js} +1 -1
- package/dist/client/assets/plan-render-2i3WFrBM.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-C56E0zIF.js → pr-queue-columns-D-l8uKcu.js} +1 -1
- package/dist/client/assets/pr-queue-columns-D-l8uKcu.js.br +0 -0
- package/dist/client/assets/{radar-panel-Bv7xUqvZ.js → radar-panel-Davt07YP.js} +1 -1
- package/dist/client/assets/radar-panel-Davt07YP.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-C5TlaHJf.js → repo-roots-adder-D8BPkjZ-.js} +1 -1
- package/dist/client/assets/repo-roots-adder-D8BPkjZ-.js.br +0 -0
- package/dist/client/assets/{resume-dialog-HWFzRMds.js → resume-dialog-BQQb2jdN.js} +1 -1
- package/dist/client/assets/resume-dialog-BQQb2jdN.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-a9gb3CJZ.js → review-queue-panel-KjbMlRwt.js} +1 -1
- package/dist/client/assets/review-queue-panel-KjbMlRwt.js.br +0 -0
- package/dist/client/assets/{session-tick-CipAwwOK.js → session-tick-qKD5Xj32.js} +1 -1
- package/dist/client/assets/session-tick-qKD5Xj32.js.br +0 -0
- package/dist/client/assets/settings-panel-8-D3ztTF.js +4 -0
- package/dist/client/assets/settings-panel-8-D3ztTF.js.br +0 -0
- package/dist/client/assets/{shown-face-VY1yJ5f8.js → shown-face-C-4LvI-V.js} +1 -1
- package/dist/client/assets/shown-face-C-4LvI-V.js.br +0 -0
- package/dist/client/assets/{team-review-queue-row-CKokWOV9.js → team-review-queue-row-BQS4z9Ui.js} +5 -5
- package/dist/client/assets/team-review-queue-row-BQS4z9Ui.js.br +0 -0
- package/dist/client/assets/{trace-panel-DyxLfmup.js → trace-panel-E4rFXgyE.js} +1 -1
- package/dist/client/assets/trace-panel-E4rFXgyE.js.br +0 -0
- package/dist/client/assets/updates-view-core-uQfhcqNl.js +1 -0
- package/dist/client/assets/updates-view-core-uQfhcqNl.js.br +0 -0
- package/dist/client/assets/{usage-panel-DQvWKLtx.js → usage-panel-TVw0Culp.js} +1 -1
- package/dist/client/assets/usage-panel-TVw0Culp.js.br +0 -0
- package/dist/client/assets/{your-day-tip-AhBwj7v3.js → your-day-tip-BJ0mWkyV.js} +1 -1
- package/dist/client/assets/your-day-tip-BJ0mWkyV.js.br +0 -0
- package/dist/client/index.html +6 -6
- package/dist/client/index.html.br +0 -0
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/config-store-CRNWDIt6.js +0 -1
- package/dist/client/assets/action-status-CoHe5503.js.br +0 -0
- package/dist/client/assets/benchmark-panel-zBOf4bdR.js.br +0 -0
- package/dist/client/assets/boards-view-BdZDEdrH.js.br +0 -0
- package/dist/client/assets/card-registry-DIx2nmO7.js.br +0 -0
- package/dist/client/assets/community-panel-B8fOcU5-.js.br +0 -0
- package/dist/client/assets/control-ws-DSiNnwSU.js +0 -4
- package/dist/client/assets/control-ws-DSiNnwSU.js.br +0 -0
- package/dist/client/assets/dialogs-CzwwugJj.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-BHvdiLqC.js.br +0 -0
- package/dist/client/assets/feature-hint-CI7VLtwo.js +0 -1
- package/dist/client/assets/feature-hint-CI7VLtwo.js.br +0 -0
- package/dist/client/assets/first-run-checklist-Dboncbbj.js.br +0 -0
- package/dist/client/assets/hooks-panel-D5eHXadB.js.br +0 -0
- package/dist/client/assets/index-DSL4oB8f.js.br +0 -0
- package/dist/client/assets/issues-panel-CgmR_-6A.js.br +0 -0
- package/dist/client/assets/my-prs-panel-Dcp4jwrF.js.br +0 -0
- package/dist/client/assets/nyan-cat-Dzw_bes6.js.br +0 -0
- package/dist/client/assets/phone-shell-CVW9oS4u.js.br +0 -0
- package/dist/client/assets/plan-face-DKBQHgJv.js.br +0 -0
- package/dist/client/assets/plan-render-C6hEn1wv.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-C56E0zIF.js.br +0 -0
- package/dist/client/assets/radar-panel-Bv7xUqvZ.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-C5TlaHJf.js.br +0 -0
- package/dist/client/assets/resume-dialog-HWFzRMds.js.br +0 -0
- package/dist/client/assets/review-queue-panel-a9gb3CJZ.js.br +0 -0
- package/dist/client/assets/session-tick-CipAwwOK.js.br +0 -0
- package/dist/client/assets/settings-panel-CFECa2n8.js +0 -4
- package/dist/client/assets/settings-panel-CFECa2n8.js.br +0 -0
- package/dist/client/assets/shown-face-VY1yJ5f8.js.br +0 -0
- package/dist/client/assets/team-review-queue-row-CKokWOV9.js.br +0 -0
- package/dist/client/assets/trace-panel-DyxLfmup.js.br +0 -0
- package/dist/client/assets/updates-view-core-D1LsN2bf.js +0 -1
- package/dist/client/assets/updates-view-core-D1LsN2bf.js.br +0 -0
- package/dist/client/assets/usage-panel-DQvWKLtx.js.br +0 -0
- package/dist/client/assets/your-day-tip-AhBwj7v3.js.br +0 -3
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -6,7 +6,7 @@ import { a as packageRoot } from "../chunks/runtime-paths-CYwF658V.js";
|
|
|
6
6
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-DUWk0Lui.js";
|
|
7
7
|
import { t as AGENT_API_VERBS } from "../chunks/session-9tw89-ku.js";
|
|
8
8
|
import { a as execSync } from "../chunks/child-process-safe-BCOoKfxG.js";
|
|
9
|
-
import { nt as isOwnedCommandName, r as agentCommandHelpLines, rt as parseCommand, tt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-
|
|
9
|
+
import { nt as isOwnedCommandName, r as agentCommandHelpLines, rt as parseCommand, tt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-DeXBc7ut.js";
|
|
10
10
|
import { t as renderTable } from "../chunks/ascii-figure-core-pDAwtlKO.js";
|
|
11
11
|
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-xS1GFU8P.js";
|
|
12
12
|
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-C23VAqeu.js";
|
|
@@ -63,7 +63,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
63
63
|
return await runDoctor() ? 0 : 1;
|
|
64
64
|
},
|
|
65
65
|
pair: async ({ values }) => {
|
|
66
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
66
|
+
const { runPairCli } = await import("../chunks/pair-cli-e2WN5YPB.js");
|
|
67
67
|
return runPairCli({
|
|
68
68
|
isListing: values.list === true,
|
|
69
69
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -75,15 +75,15 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
75
75
|
return runAgentSetupCli();
|
|
76
76
|
},
|
|
77
77
|
settings: async (parsed) => {
|
|
78
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
78
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-CN0eVYLX.js");
|
|
79
79
|
return runParsedSettingsCli(parsed);
|
|
80
80
|
},
|
|
81
81
|
why: async ({ positionals }) => {
|
|
82
|
-
const { runWhyCli } = await import("../chunks/why-cli-
|
|
82
|
+
const { runWhyCli } = await import("../chunks/why-cli-DpZHq_EC.js");
|
|
83
83
|
return runWhyCli({ targetArgument: positionals[0] ?? "" });
|
|
84
84
|
},
|
|
85
85
|
"ssh-sign": async ({ rawArgs }) => {
|
|
86
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
86
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-CKXL1KhF.js");
|
|
87
87
|
return runSshSignCli(rawArgs);
|
|
88
88
|
}
|
|
89
89
|
};
|
|
@@ -105,7 +105,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
105
105
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
106
106
|
}
|
|
107
107
|
var SUBCOMMAND_RUNNERS = new Map([...Object.keys(OWNED_COMMAND_SPECS).filter(isOwnedCommandName).map((name) => [name, (subcommandArgs) => runOwnedCommand(name, subcommandArgs)]), ...AGENT_API_VERBS.filter((verb) => !isOwnedCommandName(verb)).map((verb) => [verb, async (subcommandArgs, subcommandName) => {
|
|
108
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
108
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-BnNYpX3Z.js");
|
|
109
109
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
110
110
|
}])]);
|
|
111
111
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -119,7 +119,7 @@ function missingAgentText(agentId) {
|
|
|
119
119
|
}
|
|
120
120
|
async function printSessionLimits() {
|
|
121
121
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
122
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
122
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-BnNYpX3Z.js");
|
|
123
123
|
const limitsLines = await sessionLimitsHelpLines();
|
|
124
124
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
125
125
|
}
|
|
@@ -176,7 +176,7 @@ async function readDeclaredCustomAgents() {
|
|
|
176
176
|
declared: [],
|
|
177
177
|
error: null
|
|
178
178
|
};
|
|
179
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
179
|
+
const { loadConfigFile } = await import("../chunks/config-store-DoxLv-P6.js");
|
|
180
180
|
try {
|
|
181
181
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
182
182
|
if (!loaded.config) return {
|
|
@@ -252,7 +252,7 @@ async function runDoctor() {
|
|
|
252
252
|
}
|
|
253
253
|
switchSection("Agents");
|
|
254
254
|
try {
|
|
255
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
255
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-YBpH57T_.js");
|
|
256
256
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
257
257
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
258
258
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -2,7 +2,7 @@ import { a as isMissingFileError, r as errorMessage } from "./text-DoirglWV.js";
|
|
|
2
2
|
import { d as isPathInside, f as safePathSegment, o as relayPath } from "./runtime-paths-CYwF658V.js";
|
|
3
3
|
import { an as shortSha$1, b as CONVERSATION_TOOL_RESULT_HOOK_EVENT, i as ASK_USER_QUESTION_TOOL_NAME, rn as FULL_SHA_RE, y as CONVERSATION_PERMISSION_HOOK_EVENT } from "./session-9tw89-ku.js";
|
|
4
4
|
import { c as spawn, i as execFileSync, r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Kt as UpdateChannel, Qt as PLAN_TOOL_NAME, Yt as PLAN_HOOK_EVENT, Zt as PLAN_RESULT_HOOK_EVENT, c as SHELL_AGENT_ID, wt as HTTP_URL_RE, zt as InstallFlavor } from "./config-CV4ltiNs.js";
|
|
6
6
|
import { a as rawTextOr, n as isRecord, o as textOr, r as numberOr } from "./coerce-oz_Z_6E7.js";
|
|
7
7
|
import { n as parseJsonRecord } from "./json-core-If8h-Qgy.js";
|
|
8
8
|
import { i as saneYoloEnv, r as SANE_YOLO_PATH_ENV, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-BjUkqIoH.js";
|
|
@@ -10,7 +10,7 @@ import { n as shellQuote, t as buildHookCommand } from "./hook-command-core-5G0D
|
|
|
10
10
|
import { t as buildAgentEnv } from "./spawn-env-DRk5p4Bg.js";
|
|
11
11
|
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-4t530v8H.js";
|
|
12
12
|
import { O as nextBackoffMs, c as loadedJsonValue, d as writeJsonAtomicSync, s as loadJsonStateFileSync, t as appendJsonLine } from "./json-file-AKRVPqG1.js";
|
|
13
|
-
import { S as isExperimentalBuild, o as glimmervoidHomeDir, x as compareReleaseVersions } from "./config-store-
|
|
13
|
+
import { S as isExperimentalBuild, o as glimmervoidHomeDir, x as compareReleaseVersions } from "./config-store-BRZsqhjX.js";
|
|
14
14
|
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-CaetD6w-.js";
|
|
15
15
|
import { c as CODEX_HOME_PROFILE, f as renderCodexHookTables, n as AGENT_HOME_CONFIG_NAME, p as renderCodexHooksBlock } from "./agent-home-core-8U0YNRUx.js";
|
|
16
16
|
import { c as releaseAgentHome, i as holdPreparedAgentHome, n as generatedAgentHomePath, s as realAgentHome } from "./agent-home-DGjtaaCS.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-
|
|
1
|
+
export { a as describeAgentResolvability, l as listAgentIds, f as setCustomAgents } from "./adapters-BUhd91_1.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as askAgentApi, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-
|
|
1
|
+
export { t as askAgentApi, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-Y5FLNkFv.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Z as UNIT_STATUSES, et as WhiteboardAgentReply, l as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-9tw89-ku.js";
|
|
2
|
-
import { J as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, rt as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
2
|
+
import { J as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, rt as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-DeXBc7ut.js";
|
|
3
3
|
import { i as resolveHookTarget } from "./hook-relay-core-DA_bz2KA.js";
|
|
4
4
|
import { t as parseJsonOrNull } from "./json-core-If8h-Qgy.js";
|
|
5
5
|
import { h as layoutBoard, i as describeOverCap, p as boardSvgDocument, v as planSteps } from "./shown-files-core-Bf62aEaF.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as RefinedTaskTitle, R as TASK_TITLE_CONTROL_CHARACTERS, a as AgentAnswerRequest, c as AgentEditRequest, d as AgentReadRequest, f as AgentReviewsRequest, g as AgentSpawnRequest, h as AgentSettingsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, p as AgentSendRequest, s as AgentCloseRequest, t as AGENT_API_VERBS, tt as WhiteboardAgentRequest, u as AgentPullRequestRequest, w as SESSION_COMMANDS } from "./session-9tw89-ku.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Wt as pullRequestKeyFromReference, l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-CV4ltiNs.js";
|
|
3
3
|
import { n as isRecord } from "./coerce-oz_Z_6E7.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { parseArgs } from "node:util";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
2
|
import { r as execFileAsync } from "./child-process-safe-BCOoKfxG.js";
|
|
3
|
-
import {
|
|
4
|
-
import { m as createKeyedSerialQueue, n as appendJsonLines } from "./json-file-AKRVPqG1.js";
|
|
3
|
+
import { kt as TraceRecord, n as BUILTIN_AGENT_IDS } from "./config-CV4ltiNs.js";
|
|
4
|
+
import { m as createKeyedSerialQueue, n as appendJsonLines, r as createJsonStateStore } from "./json-file-AKRVPqG1.js";
|
|
5
|
+
import { Z as adapterBucket } from "./config-store-BRZsqhjX.js";
|
|
5
6
|
import fs from "node:fs";
|
|
6
7
|
import path from "node:path";
|
|
7
8
|
import { z } from "zod";
|
|
8
|
-
import crypto from "node:crypto";
|
|
9
|
+
import crypto, { randomUUID } from "node:crypto";
|
|
9
10
|
//#region server/git/git-exec.ts
|
|
10
11
|
var DEFAULT_COMMAND_TIMEOUT_MS = 2e4;
|
|
11
12
|
function outputText(value) {
|
|
@@ -76,6 +77,89 @@ function runGh(args, options = {}) {
|
|
|
76
77
|
return runCommand("gh", args, options);
|
|
77
78
|
}
|
|
78
79
|
//#endregion
|
|
80
|
+
//#region server/core/branch-sync-core.ts
|
|
81
|
+
var GIT_FETCH_TIMEOUT_MS = 8e3;
|
|
82
|
+
function parseLeftRightCount(output) {
|
|
83
|
+
const parts = String(output || "").trim().split(/\s+/);
|
|
84
|
+
if (parts.length !== 2) return null;
|
|
85
|
+
const behind = Number(parts[0]);
|
|
86
|
+
const ahead = Number(parts[1]);
|
|
87
|
+
if (!Number.isInteger(behind) || !Number.isInteger(ahead) || behind < 0 || ahead < 0) return null;
|
|
88
|
+
return {
|
|
89
|
+
behind,
|
|
90
|
+
ahead
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function decideBranchSyncState({ hasUpstream, ahead, behind }) {
|
|
94
|
+
if (!hasUpstream) return "no-upstream";
|
|
95
|
+
if (!Number.isInteger(ahead) || !Number.isInteger(behind)) return "unknown";
|
|
96
|
+
if (ahead === void 0 || behind === void 0) return "unknown";
|
|
97
|
+
if (ahead > 0 && behind > 0) return "diverged";
|
|
98
|
+
if (ahead > 0) return "ahead";
|
|
99
|
+
if (behind > 0) return "behind";
|
|
100
|
+
return "in-sync";
|
|
101
|
+
}
|
|
102
|
+
function parseRemoteFromUpstream(upstream) {
|
|
103
|
+
const idx = String(upstream || "").indexOf("/");
|
|
104
|
+
if (idx === -1) return "origin";
|
|
105
|
+
return String(upstream).slice(0, idx);
|
|
106
|
+
}
|
|
107
|
+
var BRANCH_UPSTREAM_FORMAT = "%(refname)%09%(upstream:short)%09%(upstream:track,nobracket)";
|
|
108
|
+
function parseBranchUpstream(forEachRefOutput, branch) {
|
|
109
|
+
const fieldsOfBranch = forEachRefOutput.split("\n").map((line) => line.split(" ")).find(([refName]) => refName === `refs/heads/${branch}`);
|
|
110
|
+
if (!fieldsOfBranch) return null;
|
|
111
|
+
const [, upstream, tracking] = fieldsOfBranch;
|
|
112
|
+
if (!upstream || tracking === "gone") return null;
|
|
113
|
+
return upstream;
|
|
114
|
+
}
|
|
115
|
+
function decideResyncAction(state, isCheckedOut) {
|
|
116
|
+
if (state === "behind") return isCheckedOut ? "ff-merge" : "ff-fetch";
|
|
117
|
+
if (state === "ahead") return "push";
|
|
118
|
+
return "none";
|
|
119
|
+
}
|
|
120
|
+
function buildResyncCommand(decision, { upstream, branch, remote }) {
|
|
121
|
+
if (decision === "ff-merge") return {
|
|
122
|
+
args: [
|
|
123
|
+
"merge",
|
|
124
|
+
"--ff-only",
|
|
125
|
+
upstream
|
|
126
|
+
],
|
|
127
|
+
timeoutMs: void 0,
|
|
128
|
+
successAction: "fast-forwarded"
|
|
129
|
+
};
|
|
130
|
+
if (decision === "ff-fetch") return {
|
|
131
|
+
args: [
|
|
132
|
+
"fetch",
|
|
133
|
+
"--quiet",
|
|
134
|
+
remote,
|
|
135
|
+
`${branch}:${branch}`
|
|
136
|
+
],
|
|
137
|
+
timeoutMs: GIT_FETCH_TIMEOUT_MS,
|
|
138
|
+
successAction: "fast-forwarded"
|
|
139
|
+
};
|
|
140
|
+
if (decision === "push") return {
|
|
141
|
+
args: [
|
|
142
|
+
"push",
|
|
143
|
+
remote,
|
|
144
|
+
branch
|
|
145
|
+
],
|
|
146
|
+
timeoutMs: 15e3,
|
|
147
|
+
successAction: "pushed"
|
|
148
|
+
};
|
|
149
|
+
return null;
|
|
150
|
+
}
|
|
151
|
+
function firstGitErrorLine(err) {
|
|
152
|
+
const maxGitErrorLineLength = 200;
|
|
153
|
+
const lines = errorMessageOrText(err).replace(/\x1b\][\s\S]*?(?:\x07|\x1b\\)/g, "").replace(/\x1b\[[0-?]*[ -/]*[@-~]/g, "").replace(/[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]/g, "").replace(/^Command failed:[^\n]*\n?/, "").split("\n").map((line) => line.trim()).filter(Boolean);
|
|
154
|
+
const line = lines.find((line) => line.startsWith("fatal:") || line.startsWith("error:") || line.startsWith("! [")) || lines[0];
|
|
155
|
+
return line ? line.slice(0, maxGitErrorLineLength) : "git command failed";
|
|
156
|
+
}
|
|
157
|
+
function errorMessageOrText(err) {
|
|
158
|
+
if (err !== null && typeof err === "object" && "message" in err && typeof err.message === "string") return err.message;
|
|
159
|
+
if (!err) return "";
|
|
160
|
+
return String(err);
|
|
161
|
+
}
|
|
162
|
+
//#endregion
|
|
79
163
|
//#region shared/contracts/commit-session.ts
|
|
80
164
|
var CommitSha = z.string().regex(/^[0-9a-f]{40}$/);
|
|
81
165
|
var CommitSessionRecord = z.object({
|
|
@@ -95,6 +179,21 @@ var REPO_KEY_HASH_LENGTH = 12;
|
|
|
95
179
|
var SHORT_SHA_LENGTH = 7;
|
|
96
180
|
var MAX_PROMPT_CHARS = 200;
|
|
97
181
|
var PROMPT_MARKER = "\"kind\":\"prompt\"";
|
|
182
|
+
var NOTES_REF_PREFIX = "refs/notes/glimmervoid/";
|
|
183
|
+
var FETCHED_NOTES_REF_PREFIX = "refs/notes/origin/glimmervoid/";
|
|
184
|
+
var NOTES_FETCH_REFSPEC = `+${NOTES_REF_PREFIX}*:${FETCHED_NOTES_REF_PREFIX}*`;
|
|
185
|
+
var NOTES_COMMIT_IDENTITY = Object.freeze({
|
|
186
|
+
GIT_AUTHOR_NAME: "Glimmervoid",
|
|
187
|
+
GIT_AUTHOR_EMAIL: "provenance@glimmervoid.invalid",
|
|
188
|
+
GIT_COMMITTER_NAME: "Glimmervoid",
|
|
189
|
+
GIT_COMMITTER_EMAIL: "provenance@glimmervoid.invalid"
|
|
190
|
+
});
|
|
191
|
+
var WRITER_ID_SHAPE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
|
|
192
|
+
var SharedProvenanceNote = z.object({
|
|
193
|
+
v: z.literal(1),
|
|
194
|
+
sessionId: z.string().regex(/^[0-9a-f]{16}$/),
|
|
195
|
+
agent: z.enum([...BUILTIN_AGENT_IDS, "custom"])
|
|
196
|
+
}).strict();
|
|
98
197
|
function repoKeyOf(gitCommonDirectory) {
|
|
99
198
|
return `${path.basename(path.dirname(gitCommonDirectory)).replace(/[^A-Za-z0-9._-]/g, "_") || "repo"}-${crypto.createHash("sha1").update(gitCommonDirectory).digest("hex").slice(0, REPO_KEY_HASH_LENGTH)}`;
|
|
100
199
|
}
|
|
@@ -116,6 +215,40 @@ function parsePatchIds(patchIdOutput) {
|
|
|
116
215
|
}
|
|
117
216
|
return patchIdBySha;
|
|
118
217
|
}
|
|
218
|
+
function writerNotesRef(writerId) {
|
|
219
|
+
return WRITER_ID_SHAPE.test(writerId) ? `${NOTES_REF_PREFIX}${writerId}` : null;
|
|
220
|
+
}
|
|
221
|
+
function repoNotesRefOf(machineWriterId, gitCommonDirectory) {
|
|
222
|
+
if (!writerNotesRef(machineWriterId)) return null;
|
|
223
|
+
const digest = crypto.createHmac("sha256", machineWriterId).update(gitCommonDirectory).digest("hex");
|
|
224
|
+
return writerNotesRef(`${digest.slice(0, 8)}-${digest.slice(8, 12)}-${digest.slice(12, 16)}-${digest.slice(16, 20)}-${digest.slice(20, 32)}`);
|
|
225
|
+
}
|
|
226
|
+
function opaqueSessionIdOf(sessionId) {
|
|
227
|
+
return crypto.createHash("sha256").update(sessionId).digest("hex").slice(0, 16);
|
|
228
|
+
}
|
|
229
|
+
function encodeNote(record) {
|
|
230
|
+
const note = {
|
|
231
|
+
v: 1,
|
|
232
|
+
sessionId: opaqueSessionIdOf(record.sessionId),
|
|
233
|
+
agent: adapterBucket(record.agent)
|
|
234
|
+
};
|
|
235
|
+
return JSON.stringify(note);
|
|
236
|
+
}
|
|
237
|
+
function parseNote(noteText) {
|
|
238
|
+
try {
|
|
239
|
+
const parsed = SharedProvenanceNote.safeParse(JSON.parse(noteText));
|
|
240
|
+
return parsed.success ? parsed.data : null;
|
|
241
|
+
} catch {
|
|
242
|
+
return null;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
function blobObjectIdOf(content) {
|
|
246
|
+
const body = Buffer.from(content, "utf8");
|
|
247
|
+
return crypto.createHash("sha1").update(`blob ${body.length}\0`).update(body).digest("hex");
|
|
248
|
+
}
|
|
249
|
+
function noteKeysOf(commit) {
|
|
250
|
+
return commit.patchId ? [commit.sha, blobObjectIdOf(commit.patchId)] : [commit.sha];
|
|
251
|
+
}
|
|
119
252
|
function parsedLineAround(text, offset, schema) {
|
|
120
253
|
const lineStart = text.lastIndexOf("\n", offset) + 1;
|
|
121
254
|
const lineEnd = text.indexOf("\n", offset);
|
|
@@ -170,9 +303,10 @@ function localTime(ms) {
|
|
|
170
303
|
}
|
|
171
304
|
function formatWhy(answer) {
|
|
172
305
|
const heading = `${answer.location} ${answer.sha.slice(0, SHORT_SHA_LENGTH)} ${localDay(answer.committedAt)} ${localTime(answer.committedAt)}`;
|
|
173
|
-
const { record } = answer;
|
|
306
|
+
const { record, sharedNote } = answer;
|
|
307
|
+
if (!record && sharedNote) return `${heading}\nsession ${sharedNote.agent} ${sharedNote.sessionId.slice(0, 8)} (shared record; task and prompt stay on the machine that made it)`;
|
|
174
308
|
if (!record) return `${heading}\nno Glimmervoid session made this commit`;
|
|
175
|
-
const lines = [heading, `session ${record.sessionName} (${record.agent}) ${record.sessionId.slice(0, 8)}`];
|
|
309
|
+
const lines = [heading, `session ${record.sessionName} (${record.agent}) ${opaqueSessionIdOf(record.sessionId).slice(0, 8)}`];
|
|
176
310
|
if (record.taskTitle) lines.push(`task ${record.taskTitle}`);
|
|
177
311
|
if (answer.prompt) lines.push(`asked ${JSON.stringify(answer.prompt.text)} (${localTime(answer.prompt.ts)})`);
|
|
178
312
|
return lines.join("\n");
|
|
@@ -189,6 +323,7 @@ function recordedShasOf(storeText, sessionId) {
|
|
|
189
323
|
//#endregion
|
|
190
324
|
//#region server/commit-sessions.ts
|
|
191
325
|
var COMMIT_SESSIONS_FOLDER_NAME = "commit-sessions";
|
|
326
|
+
var PROVENANCE_WRITER_FILE_NAME = "provenance-writer.json";
|
|
192
327
|
var GIT_TIMEOUT_MS = 2e4;
|
|
193
328
|
var GIT_MAX_BUFFER = 67108864;
|
|
194
329
|
function storePathFor(storeRoot, gitCommonDirectory) {
|
|
@@ -206,6 +341,10 @@ async function gitCommonDirectoryOf(directory, runGitFn = runGit) {
|
|
|
206
341
|
if (!result.ok || !result.out) return null;
|
|
207
342
|
return fs.promises.realpath(result.out).catch(() => result.out);
|
|
208
343
|
}
|
|
344
|
+
async function repoNotesRefFor(directory, machineWriterId, runGitFn = runGit) {
|
|
345
|
+
const gitCommonDirectory = await gitCommonDirectoryOf(directory, runGitFn);
|
|
346
|
+
return gitCommonDirectory ? repoNotesRefOf(machineWriterId, gitCommonDirectory) : null;
|
|
347
|
+
}
|
|
209
348
|
async function patchIdsOfBatch(shas, gitOptions, runGitFn = runGit) {
|
|
210
349
|
const patches = await runGitFn([
|
|
211
350
|
"show",
|
|
@@ -227,19 +366,83 @@ async function patchIdsOfBatch(shas, gitOptions, runGitFn = runGit) {
|
|
|
227
366
|
async function readStoreText(storePath) {
|
|
228
367
|
return fs.promises.readFile(storePath, "utf8").catch(() => "");
|
|
229
368
|
}
|
|
230
|
-
function
|
|
369
|
+
async function notesRefsUnder(prefix, gitOptions, runGitFn) {
|
|
370
|
+
const listed = await runGitFn([
|
|
371
|
+
"for-each-ref",
|
|
372
|
+
"--format=%(refname)",
|
|
373
|
+
prefix
|
|
374
|
+
], gitOptions);
|
|
375
|
+
return listed.ok ? listed.out.split("\n").filter(Boolean) : [];
|
|
376
|
+
}
|
|
377
|
+
async function findNoteUnder(prefix, commit, gitOptions, runGitFn) {
|
|
378
|
+
const noteRefs = await notesRefsUnder(prefix, gitOptions, runGitFn);
|
|
379
|
+
for (const noteKey of noteKeysOf(commit)) for (const noteRef of noteRefs) {
|
|
380
|
+
const shown = await runGitFn([
|
|
381
|
+
"notes",
|
|
382
|
+
"--ref",
|
|
383
|
+
noteRef,
|
|
384
|
+
"show",
|
|
385
|
+
noteKey
|
|
386
|
+
], gitOptions);
|
|
387
|
+
const note = shown.ok ? parseNote(shown.out) : null;
|
|
388
|
+
if (note) return note;
|
|
389
|
+
}
|
|
390
|
+
return null;
|
|
391
|
+
}
|
|
392
|
+
async function findSharedNote(cwd, commit, runGitFn = runGit) {
|
|
393
|
+
const gitOptions = {
|
|
394
|
+
cwd,
|
|
395
|
+
timeoutMs: GIT_TIMEOUT_MS
|
|
396
|
+
};
|
|
397
|
+
const localNote = await findNoteUnder(NOTES_REF_PREFIX, commit, gitOptions, runGitFn);
|
|
398
|
+
if (localNote) return localNote;
|
|
399
|
+
await runGitFn([
|
|
400
|
+
"fetch",
|
|
401
|
+
"--quiet",
|
|
402
|
+
"--no-tags",
|
|
403
|
+
"origin",
|
|
404
|
+
NOTES_FETCH_REFSPEC
|
|
405
|
+
], {
|
|
406
|
+
cwd,
|
|
407
|
+
timeoutMs: GIT_FETCH_TIMEOUT_MS
|
|
408
|
+
});
|
|
409
|
+
return findNoteUnder(FETCHED_NOTES_REF_PREFIX, commit, gitOptions, runGitFn);
|
|
410
|
+
}
|
|
411
|
+
var ProvenanceWriterState = z.object({ writerId: z.string().refine((writerId) => writerNotesRef(writerId) !== null) }).strict();
|
|
412
|
+
function createProvenanceWriterId(filePath, logger) {
|
|
413
|
+
let writerId = null;
|
|
414
|
+
const stateStore = createJsonStateStore({
|
|
415
|
+
name: "provenance writer id",
|
|
416
|
+
filePath,
|
|
417
|
+
parse: (raw) => {
|
|
418
|
+
const parsed = ProvenanceWriterState.safeParse(raw);
|
|
419
|
+
return parsed.success ? parsed.data : null;
|
|
420
|
+
},
|
|
421
|
+
adopt: (loaded) => {
|
|
422
|
+
writerId = writerId ?? loaded?.writerId ?? null;
|
|
423
|
+
},
|
|
424
|
+
warn: (message, fields) => logger.warn(`[commit-sessions] ${message} ${JSON.stringify(fields)}`)
|
|
425
|
+
});
|
|
426
|
+
return async () => {
|
|
427
|
+
await stateStore.load();
|
|
428
|
+
if (writerId) return writerId;
|
|
429
|
+
const freshState = { writerId: randomUUID() };
|
|
430
|
+
writerId = freshState.writerId;
|
|
431
|
+
await stateStore.write(freshState, () => JSON.stringify(freshState, null, 2));
|
|
432
|
+
return writerId;
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
function createCommitSessions({ storeRoot, runGitFn = runGit, logger, nowFn = Date.now, writerIdFn = () => Promise.resolve(null) }) {
|
|
231
436
|
const lastCapturedHeadBySessionId = /* @__PURE__ */ new Map();
|
|
232
437
|
const recordedShasBySessionId = /* @__PURE__ */ new Map();
|
|
233
|
-
const
|
|
438
|
+
const gitCommonDirectoryByWorktreeDir = /* @__PURE__ */ new Map();
|
|
234
439
|
const captureQueue = createKeyedSerialQueue();
|
|
235
|
-
async function
|
|
236
|
-
const known =
|
|
440
|
+
async function cachedGitCommonDirectoryOf(worktreeDir) {
|
|
441
|
+
const known = gitCommonDirectoryByWorktreeDir.get(worktreeDir);
|
|
237
442
|
if (known) return known;
|
|
238
443
|
const gitCommonDirectory = await gitCommonDirectoryOf(worktreeDir, runGitFn);
|
|
239
|
-
if (
|
|
240
|
-
|
|
241
|
-
storePathByWorktreeDir.set(worktreeDir, storePath);
|
|
242
|
-
return storePath;
|
|
444
|
+
if (gitCommonDirectory) gitCommonDirectoryByWorktreeDir.set(worktreeDir, gitCommonDirectory);
|
|
445
|
+
return gitCommonDirectory;
|
|
243
446
|
}
|
|
244
447
|
async function recordedShasFor(sessionId, storePath) {
|
|
245
448
|
const known = recordedShasBySessionId.get(sessionId);
|
|
@@ -261,8 +464,9 @@ function createCommitSessions({ storeRoot, runGitFn = runGit, logger, nowFn = Da
|
|
|
261
464
|
}
|
|
262
465
|
async function capture(change) {
|
|
263
466
|
if (lastCapturedHeadBySessionId.get(change.sessionId) === change.headSha) return;
|
|
264
|
-
const
|
|
265
|
-
if (!
|
|
467
|
+
const gitCommonDirectory = await cachedGitCommonDirectoryOf(change.worktreeDir);
|
|
468
|
+
if (!gitCommonDirectory) return;
|
|
469
|
+
const storePath = storePathFor(storeRoot, gitCommonDirectory);
|
|
266
470
|
const gitOptions = {
|
|
267
471
|
cwd: change.worktreeDir,
|
|
268
472
|
timeoutMs: GIT_TIMEOUT_MS,
|
|
@@ -295,6 +499,7 @@ function createCommitSessions({ storeRoot, runGitFn = runGit, logger, nowFn = Da
|
|
|
295
499
|
committedAt: commit.committedAt,
|
|
296
500
|
recordedAt
|
|
297
501
|
}));
|
|
502
|
+
await writeNotes(records, gitCommonDirectory, gitOptions);
|
|
298
503
|
await appendJsonLines(storePath, records, {
|
|
299
504
|
mkdir: true,
|
|
300
505
|
mode: 384
|
|
@@ -302,10 +507,45 @@ function createCommitSessions({ storeRoot, runGitFn = runGit, logger, nowFn = Da
|
|
|
302
507
|
lastCapturedHeadBySessionId.set(change.sessionId, change.headSha);
|
|
303
508
|
for (const record of records) recordedShas.add(record.sha);
|
|
304
509
|
}
|
|
305
|
-
function
|
|
510
|
+
async function addNoteKeepingFirst(noteRef, note, noteKey, gitOptions) {
|
|
511
|
+
if ((await runGitFn([
|
|
512
|
+
"notes",
|
|
513
|
+
"--ref",
|
|
514
|
+
noteRef,
|
|
515
|
+
"add",
|
|
516
|
+
"-m",
|
|
517
|
+
note,
|
|
518
|
+
noteKey
|
|
519
|
+
], {
|
|
520
|
+
...gitOptions,
|
|
521
|
+
env: NOTES_COMMIT_IDENTITY
|
|
522
|
+
})).ok) return true;
|
|
523
|
+
return (await runGitFn([
|
|
524
|
+
"notes",
|
|
525
|
+
"--ref",
|
|
526
|
+
noteRef,
|
|
527
|
+
"show",
|
|
528
|
+
noteKey
|
|
529
|
+
], gitOptions)).ok;
|
|
530
|
+
}
|
|
531
|
+
async function writeNotes(records, gitCommonDirectory, gitOptions) {
|
|
532
|
+
const noteRef = repoNotesRefOf(await writerIdFn() ?? "", gitCommonDirectory);
|
|
533
|
+
if (!noteRef) return;
|
|
534
|
+
const failedShas = [];
|
|
535
|
+
for (const record of records) {
|
|
536
|
+
const note = encodeNote(record);
|
|
537
|
+
const [shaKey, patchIdKey] = noteKeysOf(record);
|
|
538
|
+
const isShaNoteWritten = await addNoteKeepingFirst(noteRef, note, shaKey ?? record.sha, gitOptions);
|
|
539
|
+
const isPatchIdNoteWritten = !patchIdKey || await addNoteKeepingFirst(noteRef, note, patchIdKey, gitOptions);
|
|
540
|
+
if (!isShaNoteWritten || !isPatchIdNoteWritten) failedShas.push(record.sha.slice(0, 12));
|
|
541
|
+
}
|
|
542
|
+
if (failedShas.length > 0) logger.warn(`[commit-sessions] could not write the shared note for ${failedShas.join(", ")}`);
|
|
543
|
+
}
|
|
544
|
+
async function noteHeadChange(change) {
|
|
306
545
|
const { baseRef } = change;
|
|
307
|
-
if (!baseRef) return
|
|
308
|
-
|
|
546
|
+
if (!baseRef) return;
|
|
547
|
+
const repoKey = await cachedGitCommonDirectoryOf(change.worktreeDir).catch(() => null) ?? change.worktreeDir;
|
|
548
|
+
return captureQueue.run(repoKey, () => capture({
|
|
309
549
|
...change,
|
|
310
550
|
baseRef
|
|
311
551
|
})).catch((error) => logger.warn(`[commit-sessions] capture failed for ${change.sessionId}: ${errorMessage(error)}`));
|
|
@@ -313,4 +553,4 @@ function createCommitSessions({ storeRoot, runGitFn = runGit, logger, nowFn = Da
|
|
|
313
553
|
return { noteHeadChange };
|
|
314
554
|
}
|
|
315
555
|
//#endregion
|
|
316
|
-
export {
|
|
556
|
+
export { runCommand as A, decideBranchSyncState as C, parseLeftRightCount as D, parseBranchUpstream as E, runGit as M, parseRemoteFromUpstream as O, buildResyncCommand as S, firstGitErrorLine as T, lastPromptBefore as _, createCommitSessions as a, BRANCH_UPSTREAM_FORMAT as b, gitCommonDirectoryOf as c, storePathFor as d, FETCHED_NOTES_REF_PREFIX as f, formatWhy as g, findRecord as h, PROVENANCE_WRITER_FILE_NAME as i, runGh as j, gitCommandFailure as k, patchIdsOfBatch as l, NOTES_REF_PREFIX as m, GIT_MAX_BUFFER as n, createProvenanceWriterId as o, NOTES_COMMIT_IDENTITY as p, GIT_TIMEOUT_MS as r, findSharedNote as s, COMMIT_SESSIONS_FOLDER_NAME as t, repoNotesRefFor as u, parseCommitLog as v, decideResyncAction as w, GIT_FETCH_TIMEOUT_MS as x, parseWhyTarget as y };
|