@primitive.ai/prim 0.1.0-alpha.96 → 0.1.0-alpha.97
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/{chunk-QCBB5HFX.js → chunk-2MBV7ZMV.js} +1 -1
- package/dist/{chunk-FVDBULGZ.js → chunk-3I4GEWXQ.js} +1 -1
- package/dist/{chunk-CU7RW7XU.js → chunk-AJYZB5PF.js} +2 -2
- package/dist/{chunk-ROLYLXJS.js → chunk-FBPZ4YUD.js} +1 -1
- package/dist/{chunk-YYE2NLWX.js → chunk-OW4GJBLW.js} +1 -1
- package/dist/{chunk-URLLSALP.js → chunk-QNPTWTBG.js} +1 -1
- package/dist/{chunk-Z6NPNLOT.js → chunk-ZYK3TBEW.js} +1704 -1572
- package/dist/daemon/server.js +1704 -1572
- package/dist/hook-runtime/daemon/server.js +1704 -1572
- package/dist/hook-runtime/hooks/post-commit.js +1704 -1572
- package/dist/hook-runtime/hooks/post-rewrite.js +1704 -1572
- package/dist/hook-runtime/hooks/post-tool-use.js +1704 -1572
- package/dist/hook-runtime/hooks/pre-tool-use.js +1704 -1572
- package/dist/hook-runtime/hooks/prim-hook.js +1704 -1572
- package/dist/hook-runtime/hooks/session-start.js +1704 -1572
- package/dist/hook-runtime/index.js +1704 -1572
- package/dist/hooks/post-commit.js +3 -3
- package/dist/hooks/post-rewrite.js +3 -3
- package/dist/hooks/post-tool-use.js +7 -7
- package/dist/hooks/pre-tool-use.js +4 -4
- package/dist/hooks/prim-hook.js +6 -6
- package/dist/hooks/session-start.js +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
commitAttributionFromEnvironment,
|
|
10
10
|
toCommitMove
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-OW4GJBLW.js";
|
|
12
12
|
import {
|
|
13
13
|
getOrCreateWorkspaceId
|
|
14
14
|
} from "../chunk-EZXEWFDG.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
appendMove,
|
|
17
17
|
resolveOrg
|
|
18
18
|
} from "../chunk-4GHANPWQ.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-QNPTWTBG.js";
|
|
20
20
|
import {
|
|
21
21
|
cachedCollectScopeAdmits
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-ZYK3TBEW.js";
|
|
23
23
|
import "../chunk-LY6NJ7KL.js";
|
|
24
24
|
import {
|
|
25
25
|
githubRepositoryFullName,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
canonicalRewritePairs,
|
|
7
7
|
toRewriteMove
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-OW4GJBLW.js";
|
|
9
9
|
import {
|
|
10
10
|
getOrCreateWorkspaceId
|
|
11
11
|
} from "../chunk-EZXEWFDG.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
appendMove,
|
|
14
14
|
resolveOrg
|
|
15
15
|
} from "../chunk-4GHANPWQ.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-QNPTWTBG.js";
|
|
17
17
|
import {
|
|
18
18
|
cachedCollectScopeAdmits
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-ZYK3TBEW.js";
|
|
20
20
|
import "../chunk-LY6NJ7KL.js";
|
|
21
21
|
import {
|
|
22
22
|
githubRepositoryFullName,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireDurableIngestAcknowledgement
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2MBV7ZMV.js";
|
|
5
5
|
import {
|
|
6
6
|
enrichHookPayloadWithFileRefs,
|
|
7
7
|
preserveHookFileMetadata
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-AJYZB5PF.js";
|
|
9
9
|
import {
|
|
10
10
|
postToolInvocationId,
|
|
11
11
|
toMove,
|
|
12
12
|
toolOutcomeFor
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-OW4GJBLW.js";
|
|
14
14
|
import {
|
|
15
15
|
getOrCreateWorkspaceId
|
|
16
16
|
} from "../chunk-EZXEWFDG.js";
|
|
@@ -22,16 +22,16 @@ import "../chunk-MXVCP33E.js";
|
|
|
22
22
|
import {
|
|
23
23
|
appendCodexContext,
|
|
24
24
|
prepareCodexContext
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-3I4GEWXQ.js";
|
|
26
|
+
import "../chunk-FBPZ4YUD.js";
|
|
27
27
|
import {
|
|
28
28
|
scrubFromCwd
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-QNPTWTBG.js";
|
|
30
30
|
import {
|
|
31
31
|
bold,
|
|
32
32
|
cachedCollectScopeAdmits,
|
|
33
33
|
color
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-ZYK3TBEW.js";
|
|
35
35
|
import {
|
|
36
36
|
getClient,
|
|
37
37
|
terminalSafeLine
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
appendCodexContext,
|
|
18
18
|
hasVisibleCodexMessage,
|
|
19
19
|
prepareCodexContext
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-3I4GEWXQ.js";
|
|
21
|
+
import "../chunk-FBPZ4YUD.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_RULES,
|
|
24
24
|
scrub
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-QNPTWTBG.js";
|
|
26
26
|
import {
|
|
27
27
|
boundedHealthError,
|
|
28
28
|
cachedCollectScopeAdmits
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-ZYK3TBEW.js";
|
|
30
30
|
import {
|
|
31
31
|
HttpError,
|
|
32
32
|
getClient
|
package/dist/hooks/prim-hook.js
CHANGED
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
enrichHookPayloadWithFileRefs,
|
|
20
20
|
preserveHookFileMetadata
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-AJYZB5PF.js";
|
|
22
22
|
import {
|
|
23
23
|
postToolInvocationId,
|
|
24
24
|
shouldFlushAfter,
|
|
25
25
|
toMove
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-OW4GJBLW.js";
|
|
27
27
|
import {
|
|
28
28
|
getOrCreateWorkspaceId
|
|
29
29
|
} from "../chunk-EZXEWFDG.js";
|
|
@@ -34,15 +34,15 @@ import {
|
|
|
34
34
|
import "../chunk-MXVCP33E.js";
|
|
35
35
|
import {
|
|
36
36
|
prepareCodexContext
|
|
37
|
-
} from "../chunk-
|
|
38
|
-
import "../chunk-
|
|
37
|
+
} from "../chunk-3I4GEWXQ.js";
|
|
38
|
+
import "../chunk-FBPZ4YUD.js";
|
|
39
39
|
import {
|
|
40
40
|
scrubFromCwd,
|
|
41
41
|
writeHookDebug
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-QNPTWTBG.js";
|
|
43
43
|
import {
|
|
44
44
|
cachedCollectScopeAdmits
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-ZYK3TBEW.js";
|
|
46
46
|
import "../chunk-LY6NJ7KL.js";
|
|
47
47
|
import {
|
|
48
48
|
normalizeEnvelope,
|
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
} from "../chunk-EZXEWFDG.js";
|
|
29
29
|
import {
|
|
30
30
|
prepareCodexContext
|
|
31
|
-
} from "../chunk-
|
|
32
|
-
import "../chunk-
|
|
31
|
+
} from "../chunk-3I4GEWXQ.js";
|
|
32
|
+
import "../chunk-FBPZ4YUD.js";
|
|
33
33
|
import {
|
|
34
34
|
fetchAndCacheCollectScope
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-ZYK3TBEW.js";
|
|
36
36
|
import {
|
|
37
37
|
getSiteUrl,
|
|
38
38
|
isSessionEnded
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-7KABYYWG.js";
|
|
23
23
|
import {
|
|
24
24
|
requireDurableIngestAcknowledgement
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2MBV7ZMV.js";
|
|
26
26
|
import {
|
|
27
27
|
checkAffectedDecisions,
|
|
28
28
|
daemonOrDirectGet,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
formatStatusline,
|
|
66
66
|
formatTeammates,
|
|
67
67
|
repositoryBindingDiagnosticLabel
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-FBPZ4YUD.js";
|
|
69
69
|
import {
|
|
70
70
|
bold,
|
|
71
71
|
boundedHealthError,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
isGitHubInstallIntentStatusResponse,
|
|
85
85
|
isMoveIngestRequest,
|
|
86
86
|
stripAnsi
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-ZYK3TBEW.js";
|
|
88
88
|
import {
|
|
89
89
|
CliManagementResponseError,
|
|
90
90
|
HttpError,
|
package/package.json
CHANGED