@primitive.ai/prim 0.1.0-alpha.124 → 0.1.0-alpha.126
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 +27 -0
- package/dist/{chunk-5KPDY5GF.js → chunk-5D2C6RCH.js} +4 -4
- package/dist/{chunk-3OKVMKK2.js → chunk-6KXQQ7CQ.js} +3 -3
- package/dist/{chunk-EER7VG3P.js → chunk-74DQDWLW.js} +2 -2
- package/dist/{chunk-KMWXI7KO.js → chunk-BFYJLI7V.js} +1 -1
- package/dist/{chunk-TS2NX6YT.js → chunk-C5VBPHOS.js} +9 -8
- package/dist/{chunk-ZMH6GJUG.js → chunk-DT7E3SD5.js} +4 -4
- package/dist/{chunk-6W72SEXC.js → chunk-EZXIKEMA.js} +3 -3
- package/dist/{chunk-6WKJWW6D.js → chunk-FYYHBOOM.js} +2 -2
- package/dist/{chunk-DGZX3MID.js → chunk-JFWJN2ME.js} +3 -3
- package/dist/{chunk-A6YTFBQ4.js → chunk-KKUDAQQZ.js} +7 -8
- package/dist/{chunk-WLVEXOHC.js → chunk-L32WYFJT.js} +1 -1
- package/dist/{chunk-6VJ7C2B5.js → chunk-NBNQI3YJ.js} +2 -2
- package/dist/{chunk-KTXJJE5K.js → chunk-ND6TYHNI.js} +2 -2
- package/dist/{chunk-Q2PVD5W2.js → chunk-NJBN3WXF.js} +37 -5
- package/dist/{chunk-5MH2C5QG.js → chunk-O73J3KQQ.js} +7121 -5513
- package/dist/{chunk-EWV7VIZ3.js → chunk-PPZ56EVJ.js} +1 -1
- package/dist/{chunk-WQFJ5TEG.js → chunk-R6NDP7OF.js} +2 -2
- package/dist/{chunk-5BZWFN62.js → chunk-TI37ME2D.js} +12 -8
- package/dist/{chunk-6PSCGY2A.js → chunk-YP4OXKNX.js} +4 -2
- package/dist/{chunk-QZWLZH6D.js → chunk-ZKXNJB6U.js} +3 -3
- package/dist/daemon/server.js +7128 -5507
- package/dist/hook-runtime/daemon/server.js +7128 -5507
- package/dist/hook-runtime/hooks/post-commit.js +7106 -5496
- package/dist/hook-runtime/hooks/post-rewrite.js +7106 -5496
- package/dist/hook-runtime/hooks/post-tool-use.js +3595 -1977
- package/dist/hook-runtime/hooks/pre-commit.js +17 -7
- package/dist/hook-runtime/hooks/pre-tool-use-worker.js +3796 -2184
- package/dist/hook-runtime/hooks/prim-hook.js +7117 -5502
- package/dist/hook-runtime/hooks/session-end.js +11 -4
- package/dist/hook-runtime/hooks/session-start.js +3584 -1970
- package/dist/hook-runtime/index.js +6376 -4464
- package/dist/hook-runtime/statusline-main.js +11 -4
- package/dist/hooks/post-commit.js +7 -7
- package/dist/hooks/post-rewrite.js +6 -6
- package/dist/hooks/post-tool-use.js +15 -15
- package/dist/hooks/pre-commit.js +4 -4
- package/dist/hooks/pre-tool-use-worker.js +9 -9
- package/dist/hooks/prim-hook.js +16 -16
- package/dist/hooks/session-end.js +4 -4
- package/dist/hooks/session-start.js +11 -11
- package/dist/index.js +9117 -8836
- package/dist/statusline-main.js +11 -4
- package/package.json +1 -1
|
@@ -215,12 +215,16 @@ function parseMachineConfiguration(value) {
|
|
|
215
215
|
"The WorkOS issuer must be an HTTPS origin."
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
|
-
return {
|
|
218
|
+
return {
|
|
219
|
+
issuer: record.issuer,
|
|
220
|
+
audience: record.audience,
|
|
221
|
+
...record.developer_enrollment === true ? { developerEnrollment: true } : {}
|
|
222
|
+
};
|
|
219
223
|
}
|
|
220
224
|
function parseMachineIdentity(value, clientId) {
|
|
221
225
|
const data = machineRecord(value);
|
|
222
226
|
const principal = machineRecord(data.principal);
|
|
223
|
-
if (data.authenticated !== true || data.captureAuthorityKind !== "workos_m2m" || data.organizationBindingVersion !==
|
|
227
|
+
if (data.authenticated !== true || data.captureAuthorityKind !== "workos_m2m" || ![2, 3].includes(data.organizationBindingVersion) || (data.organizationBindingVersion === 3 ? !machineString(principal.authorizedUserId, 256) : principal.authorizedUserId !== void 0) || principal.kind !== "machine" || principal.clientId !== clientId || !machineString(principal.machineId, 256) || !machineString(principal.displayName, 256) || !machineString(data.organizationId, 256) || !machineString(data.workosOrganizationId, 256) || !Array.isArray(principal.scopes) || !principal.scopes.every((scope) => machineString(scope, 128))) {
|
|
224
228
|
throw new MachineAuthError(
|
|
225
229
|
"machine_identity_rejected",
|
|
226
230
|
"The API did not verify a machine identity.",
|
|
@@ -229,6 +233,7 @@ function parseMachineIdentity(value, clientId) {
|
|
|
229
233
|
}
|
|
230
234
|
return {
|
|
231
235
|
machineId: principal.machineId,
|
|
236
|
+
...data.organizationBindingVersion === 3 ? { authorizedUserId: principal.authorizedUserId } : {},
|
|
232
237
|
clientId,
|
|
233
238
|
displayName: principal.displayName,
|
|
234
239
|
organizationId: data.organizationId,
|
|
@@ -340,7 +345,7 @@ function parseStoredIdentity(data) {
|
|
|
340
345
|
return parseMachineIdentity(
|
|
341
346
|
{
|
|
342
347
|
authenticated: true,
|
|
343
|
-
organizationBindingVersion: 2,
|
|
348
|
+
organizationBindingVersion: data.authorizedUserId ? 3 : 2,
|
|
344
349
|
captureAuthorityKind: "workos_m2m",
|
|
345
350
|
organizationId: data.organizationId,
|
|
346
351
|
workosOrganizationId: data.workosOrganizationId,
|
|
@@ -634,7 +639,9 @@ function resolveDaemonPrincipal(token = resolveAuthCredential()?.token) {
|
|
|
634
639
|
if (hasMachineConfiguration()) {
|
|
635
640
|
const machine = machineContext();
|
|
636
641
|
return machine ? {
|
|
637
|
-
principalId: sha256(
|
|
642
|
+
principalId: sha256(
|
|
643
|
+
`${machine.issuer}\0${machine.clientId}${machine.authorizedUserId ? `\0${machine.authorizedUserId}` : ""}`
|
|
644
|
+
),
|
|
638
645
|
organizationId: machine.workosOrganizationId,
|
|
639
646
|
credentialFingerprint: sha256(machine.generation)
|
|
640
647
|
} : void 0;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
recordPostCommitFired
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-BFYJLI7V.js";
|
|
5
5
|
import {
|
|
6
6
|
unattendedEnv
|
|
7
7
|
} from "../chunk-OYHYCK4K.js";
|
|
8
8
|
import {
|
|
9
9
|
commitAttributionFromEnvironment,
|
|
10
10
|
toCommitMove
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-FYYHBOOM.js";
|
|
12
12
|
import {
|
|
13
13
|
getOrCreateWorkspaceId
|
|
14
14
|
} from "../chunk-EZXEWFDG.js";
|
|
15
15
|
import {
|
|
16
16
|
appendMove,
|
|
17
17
|
resolveOrg
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-NBNQI3YJ.js";
|
|
19
|
+
import "../chunk-74DQDWLW.js";
|
|
20
20
|
import {
|
|
21
21
|
cachedCollectScopeAdmits
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
} from "../chunk-O73J3KQQ.js";
|
|
23
|
+
import "../chunk-ZKXNJB6U.js";
|
|
24
24
|
import {
|
|
25
25
|
githubRepositoryFullName,
|
|
26
26
|
isRepoActiveForCapture,
|
|
27
27
|
repoSyncId,
|
|
28
28
|
resolveRepositoryContext
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-NJBN3WXF.js";
|
|
30
30
|
import "../chunk-JSBRDJBE.js";
|
|
31
31
|
|
|
32
32
|
// src/hooks/post-commit.ts
|
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
canonicalRewritePairs,
|
|
7
7
|
toRewriteMove
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-FYYHBOOM.js";
|
|
9
9
|
import {
|
|
10
10
|
getOrCreateWorkspaceId
|
|
11
11
|
} from "../chunk-EZXEWFDG.js";
|
|
12
12
|
import {
|
|
13
13
|
appendMove,
|
|
14
14
|
resolveOrg
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-NBNQI3YJ.js";
|
|
16
|
+
import "../chunk-74DQDWLW.js";
|
|
17
17
|
import {
|
|
18
18
|
cachedCollectScopeAdmits
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-O73J3KQQ.js";
|
|
20
|
+
import "../chunk-ZKXNJB6U.js";
|
|
21
21
|
import {
|
|
22
22
|
githubRepositoryFullName,
|
|
23
23
|
isRepoActiveForCapture,
|
|
24
24
|
repoSyncId,
|
|
25
25
|
resolveRepositoryContext
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-NJBN3WXF.js";
|
|
27
27
|
import "../chunk-JSBRDJBE.js";
|
|
28
28
|
|
|
29
29
|
// src/hooks/post-rewrite.ts
|
|
@@ -4,58 +4,58 @@ import {
|
|
|
4
4
|
buildOrganizationBoundMoveRequest,
|
|
5
5
|
parseOrganizationBinding,
|
|
6
6
|
requireDurableIngestAcknowledgement
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-TI37ME2D.js";
|
|
8
8
|
import {
|
|
9
9
|
enrichHookPayloadWithFileRefs,
|
|
10
10
|
preserveHookFileMetadata
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-5D2C6RCH.js";
|
|
12
12
|
import {
|
|
13
13
|
appendCodexContext,
|
|
14
14
|
prepareCodexContext
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-DT7E3SD5.js";
|
|
16
|
+
import "../chunk-6KXQQ7CQ.js";
|
|
17
17
|
import {
|
|
18
18
|
postToolInvocationId,
|
|
19
19
|
toMove,
|
|
20
20
|
toolOutcomeFor
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-FYYHBOOM.js";
|
|
22
22
|
import {
|
|
23
23
|
getOrCreateWorkspaceId
|
|
24
24
|
} from "../chunk-EZXEWFDG.js";
|
|
25
25
|
import {
|
|
26
26
|
appendMove,
|
|
27
27
|
resolveOrg
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-NBNQI3YJ.js";
|
|
29
|
+
import "../chunk-YP4OXKNX.js";
|
|
30
30
|
import {
|
|
31
31
|
observeDemoInvocation
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-R6NDP7OF.js";
|
|
33
33
|
import {
|
|
34
34
|
normalizeEnvelope,
|
|
35
35
|
readHookStdin,
|
|
36
36
|
shouldSuppressImportedCursorHandler
|
|
37
|
-
} from "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
37
|
+
} from "../chunk-ND6TYHNI.js";
|
|
38
|
+
import "../chunk-KKUDAQQZ.js";
|
|
39
|
+
import "../chunk-L32WYFJT.js";
|
|
40
40
|
import {
|
|
41
41
|
scrubFromCwd
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-74DQDWLW.js";
|
|
43
43
|
import {
|
|
44
44
|
bold,
|
|
45
45
|
cachedCollectScopeAdmits,
|
|
46
46
|
color
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-O73J3KQQ.js";
|
|
48
48
|
import {
|
|
49
49
|
getClient,
|
|
50
50
|
getPinnedClient,
|
|
51
51
|
terminalSafeLine
|
|
52
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-ZKXNJB6U.js";
|
|
53
53
|
import {
|
|
54
54
|
currentBranch,
|
|
55
55
|
isRepoActiveForCapture,
|
|
56
56
|
repoSyncId,
|
|
57
57
|
resolveRepositoryContext
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-NJBN3WXF.js";
|
|
59
59
|
import {
|
|
60
60
|
parseAgent
|
|
61
61
|
} from "../chunk-KZB4ABIB.js";
|
package/dist/hooks/pre-commit.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
checkAffectedDecisions,
|
|
4
4
|
formatDecisionsWarning
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-EZXIKEMA.js";
|
|
6
|
+
import "../chunk-YP4OXKNX.js";
|
|
7
|
+
import "../chunk-ZKXNJB6U.js";
|
|
8
|
+
import "../chunk-NJBN3WXF.js";
|
|
9
9
|
import "../chunk-JSBRDJBE.js";
|
|
10
10
|
|
|
11
11
|
// src/hooks/pre-commit.ts
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
toolInputDigest,
|
|
15
15
|
unverifiedResult,
|
|
16
16
|
waitForPreflight
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-C5VBPHOS.js";
|
|
18
18
|
import {
|
|
19
19
|
observeDemoInvocation
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-R6NDP7OF.js";
|
|
21
21
|
import {
|
|
22
22
|
normalizeEnvelope,
|
|
23
23
|
readHookStdin,
|
|
24
24
|
shouldSuppressImportedCursorHandler
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-ND6TYHNI.js";
|
|
26
26
|
import {
|
|
27
27
|
buildCodexOutput,
|
|
28
28
|
buildCursorOutput,
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
failOpenHermes,
|
|
35
35
|
failOpenOutput,
|
|
36
36
|
readHookMode
|
|
37
|
-
} from "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
37
|
+
} from "../chunk-KKUDAQQZ.js";
|
|
38
|
+
import "../chunk-L32WYFJT.js";
|
|
39
|
+
import "../chunk-74DQDWLW.js";
|
|
40
40
|
import {
|
|
41
41
|
cachedCollectScopeAdmits
|
|
42
|
-
} from "../chunk-
|
|
43
|
-
import "../chunk-
|
|
42
|
+
} from "../chunk-O73J3KQQ.js";
|
|
43
|
+
import "../chunk-ZKXNJB6U.js";
|
|
44
44
|
import {
|
|
45
45
|
canonicalGitRoot,
|
|
46
46
|
currentBranch,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
packageVersion,
|
|
49
49
|
repoActiveFlag,
|
|
50
50
|
repoSyncId
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-NJBN3WXF.js";
|
|
52
52
|
import {
|
|
53
53
|
parseAgent
|
|
54
54
|
} from "../chunk-KZB4ABIB.js";
|
package/dist/hooks/prim-hook.js
CHANGED
|
@@ -8,58 +8,58 @@ import {
|
|
|
8
8
|
acknowledgeDecisionFeedback,
|
|
9
9
|
leaseDecisionFeedback,
|
|
10
10
|
renderFeedback
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-PPZ56EVJ.js";
|
|
12
12
|
import {
|
|
13
13
|
recordConversationCaptured
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-BFYJLI7V.js";
|
|
15
15
|
import {
|
|
16
16
|
unattendedEnv
|
|
17
17
|
} from "../chunk-OYHYCK4K.js";
|
|
18
18
|
import {
|
|
19
19
|
enrichHookPayloadWithFileRefs,
|
|
20
20
|
preserveHookFileMetadata
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-5D2C6RCH.js";
|
|
22
22
|
import {
|
|
23
23
|
prepareCodexContext
|
|
24
|
-
} from "../chunk-
|
|
25
|
-
import "../chunk-
|
|
24
|
+
} from "../chunk-DT7E3SD5.js";
|
|
25
|
+
import "../chunk-6KXQQ7CQ.js";
|
|
26
26
|
import {
|
|
27
27
|
postToolInvocationId,
|
|
28
28
|
shouldFlushAfter,
|
|
29
29
|
toMove
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-FYYHBOOM.js";
|
|
31
31
|
import {
|
|
32
32
|
getOrCreateWorkspaceId
|
|
33
33
|
} from "../chunk-EZXEWFDG.js";
|
|
34
34
|
import {
|
|
35
35
|
appendMove,
|
|
36
36
|
resolveOrg
|
|
37
|
-
} from "../chunk-
|
|
38
|
-
import "../chunk-
|
|
37
|
+
} from "../chunk-NBNQI3YJ.js";
|
|
38
|
+
import "../chunk-YP4OXKNX.js";
|
|
39
39
|
import {
|
|
40
40
|
observeDemoInvocation
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-R6NDP7OF.js";
|
|
42
42
|
import {
|
|
43
43
|
normalizeEnvelope,
|
|
44
44
|
readHookStdin,
|
|
45
45
|
shouldSuppressImportedCursorHandler
|
|
46
|
-
} from "../chunk-
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
46
|
+
} from "../chunk-ND6TYHNI.js";
|
|
47
|
+
import "../chunk-KKUDAQQZ.js";
|
|
48
|
+
import "../chunk-L32WYFJT.js";
|
|
49
49
|
import {
|
|
50
50
|
scrubFromCwd,
|
|
51
51
|
writeHookDebug
|
|
52
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-74DQDWLW.js";
|
|
53
53
|
import {
|
|
54
54
|
cachedCollectScopeAdmits
|
|
55
|
-
} from "../chunk-
|
|
56
|
-
import "../chunk-
|
|
55
|
+
} from "../chunk-O73J3KQQ.js";
|
|
56
|
+
import "../chunk-ZKXNJB6U.js";
|
|
57
57
|
import {
|
|
58
58
|
currentBranch,
|
|
59
59
|
isRepoActiveForCapture,
|
|
60
60
|
repoSyncId,
|
|
61
61
|
resolveRepositoryContext
|
|
62
|
-
} from "../chunk-
|
|
62
|
+
} from "../chunk-NJBN3WXF.js";
|
|
63
63
|
import {
|
|
64
64
|
parseAgent
|
|
65
65
|
} from "../chunk-KZB4ABIB.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
daemonRequest
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YP4OXKNX.js";
|
|
5
5
|
import {
|
|
6
6
|
normalizeEnvelope,
|
|
7
7
|
readHookStdin,
|
|
8
8
|
shouldSuppressImportedCursorHandler
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-ND6TYHNI.js";
|
|
10
|
+
import "../chunk-L32WYFJT.js";
|
|
11
11
|
import {
|
|
12
12
|
isRepoActiveForCapture
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-NJBN3WXF.js";
|
|
14
14
|
import {
|
|
15
15
|
parseAgent
|
|
16
16
|
} from "../chunk-KZB4ABIB.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
kickDaemonEnsure,
|
|
8
8
|
refreshClaudePlugins,
|
|
9
9
|
warmBinCache
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-JFWJN2ME.js";
|
|
11
11
|
import {
|
|
12
12
|
buildHookOutput,
|
|
13
13
|
handoffHookOutput
|
|
@@ -17,44 +17,44 @@ import {
|
|
|
17
17
|
acknowledgeDecisionFeedback,
|
|
18
18
|
leaseDecisionFeedback,
|
|
19
19
|
renderFeedback
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-PPZ56EVJ.js";
|
|
21
21
|
import {
|
|
22
22
|
clearHooksWired,
|
|
23
23
|
recordHooksWired
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-BFYJLI7V.js";
|
|
25
25
|
import "../chunk-OYHYCK4K.js";
|
|
26
26
|
import {
|
|
27
27
|
prepareCodexContext
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-DT7E3SD5.js";
|
|
29
|
+
import "../chunk-6KXQQ7CQ.js";
|
|
30
30
|
import {
|
|
31
31
|
getOrCreateWorkspaceId
|
|
32
32
|
} from "../chunk-EZXEWFDG.js";
|
|
33
33
|
import {
|
|
34
34
|
daemonRequest
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-YP4OXKNX.js";
|
|
36
36
|
import {
|
|
37
37
|
normalizeEnvelope,
|
|
38
38
|
readHookStdin,
|
|
39
39
|
shouldSuppressImportedCursorHandler
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-ND6TYHNI.js";
|
|
41
41
|
import {
|
|
42
42
|
MANAGED_GIT_HOOK_NAMES
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-L32WYFJT.js";
|
|
44
44
|
import {
|
|
45
45
|
fetchAndCacheCollectScope
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-O73J3KQQ.js";
|
|
47
47
|
import {
|
|
48
48
|
getSiteUrl,
|
|
49
49
|
isSessionEnded
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-ZKXNJB6U.js";
|
|
51
51
|
import {
|
|
52
52
|
gitToplevel,
|
|
53
53
|
hasMachineConfiguration,
|
|
54
54
|
isRepoActiveForCapture,
|
|
55
55
|
repoActiveFlag,
|
|
56
56
|
setRepoActive
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-NJBN3WXF.js";
|
|
58
58
|
import {
|
|
59
59
|
parseAgent
|
|
60
60
|
} from "../chunk-KZB4ABIB.js";
|