@staff0rd/assist 0.1167.0 → 0.1168.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/dist/.build-files +79 -79
- package/dist/{addActivity-KFTWNCJC.js → addActivity-7BL2QCUP.js} +2 -2
- package/dist/{addPhase-CYLS4KF3.js → addPhase-UYBZKSW4.js} +3 -3
- package/dist/{advise-3NMJIWEG.js → advise-46JSXUDW.js} +3 -3
- package/dist/{askCheck-QZQNTYSB.js → askCheck-BCCZCYOI.js} +7 -7
- package/dist/{askDesign-XJWLHIKM.js → askDesign-C55JXS4W.js} +1 -1
- package/dist/{branch-7NZPUOFY.js → branch-7L5HGHC3.js} +3 -3
- package/dist/built-version +1 -1
- package/dist/chunk-3HNTLFII.js +50 -0
- package/dist/{chunk-PIZ5WHKY.js → chunk-3PESUAUN.js} +2 -2
- package/dist/{chunk-ZAMEG3EN.js → chunk-425LLTMS.js} +24 -21
- package/dist/{chunk-2IH2A3JK.js → chunk-43MJXI4R.js} +71 -19
- package/dist/{chunk-LRMCAFO3.js → chunk-6ULWRB6I.js} +1 -1
- package/dist/{chunk-KFTPCHSO.js → chunk-6W44RUSM.js} +1 -1
- package/dist/{chunk-SRSCOXZE.js → chunk-7MUNT7JI.js} +5 -1
- package/dist/{chunk-WC7ROMSZ.js → chunk-7QAFWJTK.js} +1 -1
- package/dist/{chunk-3OL7AV66.js → chunk-B7VURMUV.js} +2 -2
- package/dist/{chunk-FF5VHS2Q.js → chunk-DTRDXHGW.js} +1 -1
- package/dist/{chunk-4JI4SMBQ.js → chunk-E3WWV4JR.js} +475 -129
- package/dist/{chunk-4OZ6ULV6.js → chunk-EAREJAOY.js} +1 -1
- package/dist/{chunk-NCTA64LR.js → chunk-FAZEGCRS.js} +2 -2
- package/dist/{chunk-Z4EP2FTM.js → chunk-FYSUHMKS.js} +1 -1
- package/dist/{chunk-IYOKTOCX.js → chunk-H7SSIEZ2.js} +3 -3
- package/dist/{chunk-GSTZWNA7.js → chunk-HL26MMZX.js} +1 -1
- package/dist/{chunk-K3JNJGLB.js → chunk-I3TEQBTO.js} +25 -7
- package/dist/{chunk-HUUPDV55.js → chunk-I552VSJV.js} +1 -1
- package/dist/{chunk-4YTZUN24.js → chunk-IL4DISAP.js} +6 -6
- package/dist/{chunk-BTMRIDZC.js → chunk-KH72TT53.js} +1 -1
- package/dist/{chunk-J4SHN7I2.js → chunk-MVSLFBWG.js} +1 -1
- package/dist/{chunk-PVL3555C.js → chunk-NQRZKLIK.js} +1 -1
- package/dist/{chunk-5TJEQ6SM.js → chunk-QF5UR5N2.js} +1 -1
- package/dist/{chunk-AY4KVQZ2.js → chunk-QTF6XFHS.js} +1 -1
- package/dist/{chunk-W2TBOOCR.js → chunk-RW2B5RU5.js} +1 -1
- package/dist/{chunk-F4ADOEV4.js → chunk-S4FTKZLS.js} +1 -1
- package/dist/{chunk-LD3C7W3Q.js → chunk-UCTFPC6X.js} +2 -2
- package/dist/{chunk-B6TSGDM3.js → chunk-UY75YJI5.js} +1 -1
- package/dist/{chunk-VZ6K4LLZ.js → chunk-VEHHPXW6.js} +1 -1
- package/dist/{chunk-BUX5FETL.js → chunk-WWWNWP3Z.js} +1 -1
- package/dist/{chunk-DRCSMAFZ.js → chunk-X54VUNBQ.js} +1 -1
- package/dist/{chunk-HK7P5QGC.js → chunk-XERYO3NC.js} +1 -1
- package/dist/{chunk-5A63PEQ4.js → chunk-XRLD3NYP.js} +1 -1
- package/dist/{chunk-HL5PHECL.js → chunk-XWSDOQSQ.js} +4 -4
- package/dist/{chunk-XHYDG7UZ.js → chunk-YQJBSNEL.js} +1 -1
- package/dist/{chunk-LMXSHIFC.js → chunk-ZAS2ZWEK.js} +1 -1
- package/dist/{chunk-4AIX7WAZ.js → chunk-ZKPXMOR6.js} +1 -1
- package/dist/{chunk-XRXDSR4I.js → chunk-ZRJFYESX.js} +2 -2
- package/dist/{cliHook-PQ4DICPB.js → cliHook-LXPHXYTG.js} +5 -5
- package/dist/{cliHookCheck-XPQZAA7K.js → cliHookCheck-X3OTARTS.js} +2 -2
- package/dist/{codexHook-OU6CL4R6.js → codexHook-JHA7XAJI.js} +7 -7
- package/dist/commands/extension/extension/content.js +1 -1
- package/dist/commands/extension/extension/docs.js +1 -1
- package/dist/commands/sessions/web/bundle.js +470 -470
- package/dist/{commit-XSLHSHPA.js → commit-S237TZOH.js} +3 -3
- package/dist/{doctorNodes-UJSW3KXP.js → doctorNodes-ZGGPDVHQ.js} +3 -3
- package/dist/{done-RZTGTNXG.js → done-B5OPZGM4.js} +4 -4
- package/dist/{editHook-KBXSEJDB.js → editHook-TIPNG6CB.js} +5 -5
- package/dist/{fixConflict-IQPXBWTV.js → fixConflict-GLENPF7A.js} +4 -4
- package/dist/index.js +48 -48
- package/dist/{indexRules-4M2TAWOE.js → indexRules-65H3IE33.js} +1 -2
- package/dist/{launchMode-CUMEGSJ2.js → launchMode-OATTOTYW.js} +13 -13
- package/dist/{list-6KAXN2EU.js → list-TGEC6P3Q.js} +5 -5
- package/dist/{next-M6ES2GM5.js → next-P63EVBB6.js} +12 -12
- package/dist/{piHook-SMWFJWJW.js → piHook-GCKOXN5A.js} +5 -5
- package/dist/{propose-UZ32UXI7.js → propose-D3F4C3EJ.js} +4 -4
- package/dist/{refine-IMF3B622.js → refine-W7HULKNY.js} +14 -14
- package/dist/{restartNode-DRKXN7BO.js → restartNode-AYPAGM32.js} +5 -5
- package/dist/{review-LV46YDUO.js → review-LQGEHHIW.js} +4 -4
- package/dist/{reviewPrComments-2XMV6JYB.js → reviewPrComments-RXADKZLV.js} +4 -4
- package/dist/{rewindPhase-CIBJCOEB.js → rewindPhase-BPVRXMD5.js} +8 -8
- package/dist/{rulesAdd-T62MTCFM.js → rulesAdd-V4SWWQKL.js} +8 -44
- package/dist/{run-OCENG6SA.js → run-TVFL4EWV.js} +10 -10
- package/dist/{run-LIMV7FRM.js → run-UH5KYOU7.js} +10 -10
- package/dist/{runDaemon-ZWJ5RXI3.js → runDaemon-YEDFUDNN.js} +263 -28
- package/dist/{runRefine-JDE7UBYZ.js → runRefine-FPTFYFMX.js} +14 -14
- package/dist/{scan-DKZKXE2I.js → scan-BO23G2MD.js} +2 -2
- package/dist/{schemaConfirm-JYOLGGGL.js → schemaConfirm-AB6SR5SC.js} +2 -2
- package/dist/{schemaUnlock-4JRJS5RQ.js → schemaUnlock-AT5T43PB.js} +2 -2
- package/dist/{search-CD5NUNSZ.js → search-5EA654VD.js} +5 -5
- package/dist/{show-CQEX3RE3.js → show-OLER6JJU.js} +3 -3
- package/dist/{show-EBJJQQ5G.js → show-QHB5ZN54.js} +3 -3
- package/dist/{signExtension-R2SUZ2TV.js → signExtension-Y5WU4OLB.js} +1 -1
- package/dist/{updateNode-OWAXUOKT.js → updateNode-YBE4MBAO.js} +5 -5
- package/dist/{updatePlan-U6PK425R.js → updatePlan-FWJBNYWK.js} +4 -4
- package/dist/{web-HE7B2H3B.js → web-DL44YNRY.js} +18 -17
- package/dist/{web-C6UIA5QL.js → web-VAXMLL35.js} +18 -17
- package/package.json +1 -1
- package/dist/chunk-IZZJUZZY.js +0 -21
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-SB4BG7PH.js";
|
|
4
4
|
import {
|
|
5
5
|
run
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IL4DISAP.js";
|
|
7
7
|
import {
|
|
8
8
|
isLockedByOther
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X54VUNBQ.js";
|
|
10
10
|
import {
|
|
11
11
|
isBlocked,
|
|
12
12
|
typeLabel
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NQRZKLIK.js";
|
|
14
14
|
import {
|
|
15
15
|
loadBacklog
|
|
16
16
|
} from "./chunk-PYZUB3JT.js";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
findClaudeFiles
|
|
3
|
-
} from "./chunk-IZZJUZZY.js";
|
|
4
1
|
import {
|
|
5
2
|
appendRulesSection,
|
|
6
3
|
contentLines,
|
|
@@ -10,16 +7,36 @@ import {
|
|
|
10
7
|
|
|
11
8
|
// src/commands/rules/updateScopedRulesIndex.ts
|
|
12
9
|
import { existsSync, readFileSync as readFileSync2, writeFileSync } from "fs";
|
|
13
|
-
import
|
|
10
|
+
import path3 from "path";
|
|
14
11
|
|
|
15
12
|
// src/commands/rules/scopedRuleDirectories.ts
|
|
16
13
|
import { readFileSync } from "fs";
|
|
14
|
+
import path2 from "path";
|
|
15
|
+
|
|
16
|
+
// src/commands/rules/findClaudeFiles.ts
|
|
17
|
+
import { readdirSync } from "fs";
|
|
17
18
|
import path from "path";
|
|
19
|
+
var SKIP_DIRECTORIES = /* @__PURE__ */ new Set(["node_modules", "dist", "build", "coverage"]);
|
|
20
|
+
function findClaudeFiles(dir) {
|
|
21
|
+
const results = [];
|
|
22
|
+
for (const entry of readdirSync(dir, { withFileTypes: true })) {
|
|
23
|
+
if (entry.isDirectory()) {
|
|
24
|
+
if (entry.name.startsWith(".") || SKIP_DIRECTORIES.has(entry.name))
|
|
25
|
+
continue;
|
|
26
|
+
results.push(...findClaudeFiles(path.join(dir, entry.name)));
|
|
27
|
+
} else if (entry.name === "CLAUDE.md") {
|
|
28
|
+
results.push(path.join(dir, entry.name));
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return results;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// src/commands/rules/scopedRuleDirectories.ts
|
|
18
35
|
function scopedRuleDirectories(root) {
|
|
19
36
|
return findClaudeFiles(root).filter(
|
|
20
|
-
(file) =>
|
|
37
|
+
(file) => path2.dirname(file) !== root && parseRulesSection(readFileSync(file, "utf8")).length > 0
|
|
21
38
|
).map(
|
|
22
|
-
(file) => `${
|
|
39
|
+
(file) => `${path2.relative(root, path2.dirname(file)).split(path2.sep).join("/")}/`
|
|
23
40
|
).sort();
|
|
24
41
|
}
|
|
25
42
|
|
|
@@ -58,7 +75,7 @@ function upsertScopedRulesPointer(content, directories) {
|
|
|
58
75
|
// src/commands/rules/updateScopedRulesIndex.ts
|
|
59
76
|
function updateScopedRulesIndex(root) {
|
|
60
77
|
const directories = scopedRuleDirectories(root);
|
|
61
|
-
const rootFile =
|
|
78
|
+
const rootFile = path3.join(root, "CLAUDE.md");
|
|
62
79
|
const before = existsSync(rootFile) ? readFileSync2(rootFile, "utf8") : "";
|
|
63
80
|
const after = upsertScopedRulesPointer(before, directories);
|
|
64
81
|
if (after !== before) writeFileSync(rootFile, after);
|
|
@@ -66,5 +83,6 @@ function updateScopedRulesIndex(root) {
|
|
|
66
83
|
}
|
|
67
84
|
|
|
68
85
|
export {
|
|
86
|
+
findClaudeFiles,
|
|
69
87
|
updateScopedRulesIndex
|
|
70
88
|
};
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isPausePending,
|
|
10
10
|
recordPhaseSession,
|
|
11
11
|
releaseLock
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-X54VUNBQ.js";
|
|
13
13
|
import {
|
|
14
14
|
resumeNudge
|
|
15
15
|
} from "./chunk-7NZOH4LN.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
createBranch,
|
|
31
31
|
generateBranchSlug
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DTRDXHGW.js";
|
|
33
33
|
import {
|
|
34
34
|
setSessionStatus
|
|
35
35
|
} from "./chunk-WTQRIUSK.js";
|
|
@@ -42,13 +42,13 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
buildReviewPhase,
|
|
44
44
|
resolveReviewPhase
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-YQJBSNEL.js";
|
|
46
46
|
import {
|
|
47
47
|
resolvePlan
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-QF5UR5N2.js";
|
|
49
49
|
import {
|
|
50
50
|
buildPhasePrompt
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-XRLD3NYP.js";
|
|
52
52
|
import {
|
|
53
53
|
findOneItem,
|
|
54
54
|
getOrigin,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
import {
|
|
73
73
|
harnessAdapter,
|
|
74
74
|
withoutResumeSession
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-43MJXI4R.js";
|
|
76
76
|
import {
|
|
77
77
|
buildFeature
|
|
78
78
|
} from "./chunk-PXQTFJ2N.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lookupConversation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WWWNWP3Z.js";
|
|
4
4
|
import {
|
|
5
5
|
harnessAdapter,
|
|
6
6
|
readTranscriptTail
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-43MJXI4R.js";
|
|
8
8
|
|
|
9
9
|
// src/commands/sessions/shared/targetConversationEvents.ts
|
|
10
10
|
async function targetConversationEvents(cwd, target) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
next
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H7SSIEZ2.js";
|
|
4
4
|
import {
|
|
5
5
|
pullIfConfigured
|
|
6
6
|
} from "./chunk-SB4BG7PH.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
run,
|
|
11
11
|
stopWatching,
|
|
12
12
|
watchForMarker
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IL4DISAP.js";
|
|
14
14
|
import {
|
|
15
15
|
resumeNudge
|
|
16
16
|
} from "./chunk-7NZOH4LN.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-NWNODYLQ.js";
|
|
30
30
|
import {
|
|
31
31
|
isBlocked
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NQRZKLIK.js";
|
|
33
33
|
import {
|
|
34
34
|
loadItemSummaries
|
|
35
35
|
} from "./chunk-BV2V6RTH.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "./chunk-N65VOEFI.js";
|
|
48
48
|
import {
|
|
49
49
|
harnessAdapter
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-43MJXI4R.js";
|
|
51
51
|
|
|
52
52
|
// src/commands/backlog/launchMode.ts
|
|
53
53
|
import chalk3 from "chalk";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkoutPr
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HL26MMZX.js";
|
|
4
4
|
import {
|
|
5
5
|
resumeNudge
|
|
6
6
|
} from "./chunk-7NZOH4LN.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-NWNODYLQ.js";
|
|
20
20
|
import {
|
|
21
21
|
harnessAdapter
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-43MJXI4R.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/launchPrSkill.ts
|
|
25
25
|
import chalk from "chalk";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decideToolOperations,
|
|
3
3
|
logPolicyDeny
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3PESUAUN.js";
|
|
5
5
|
import "./chunk-CDU6M5IX.js";
|
|
6
6
|
import "./chunk-HKGCLAZ7.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-RW2B5RU5.js";
|
|
8
8
|
import "./chunk-VDXS55BC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-VEHHPXW6.js";
|
|
10
10
|
import "./chunk-CUOHHT2F.js";
|
|
11
11
|
import {
|
|
12
12
|
currentExecutionIdentity
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EAREJAOY.js";
|
|
14
14
|
import "./chunk-ZMH7UZNP.js";
|
|
15
15
|
import "./chunk-FPWL4VRC.js";
|
|
16
16
|
import "./chunk-C5U44UI7.js";
|
|
@@ -27,7 +27,7 @@ import "./chunk-LMUTL44M.js";
|
|
|
27
27
|
import "./chunk-6NDXAN45.js";
|
|
28
28
|
import {
|
|
29
29
|
claudeAdapter
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-43MJXI4R.js";
|
|
31
31
|
import "./chunk-MRUIXQXS.js";
|
|
32
32
|
import "./chunk-HO7RNI6V.js";
|
|
33
33
|
import "./chunk-DIAC4XYA.js";
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
findTruncatedReadDenyRaw,
|
|
6
6
|
isApprovedRead,
|
|
7
7
|
splitCompound
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RW2B5RU5.js";
|
|
9
9
|
import "./chunk-VDXS55BC.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-43MJXI4R.js";
|
|
11
11
|
import "./chunk-MRUIXQXS.js";
|
|
12
12
|
import "./chunk-HO7RNI6V.js";
|
|
13
13
|
import "./chunk-DIAC4XYA.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decideToolOperations,
|
|
3
3
|
logPolicyDeny
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3PESUAUN.js";
|
|
5
5
|
import "./chunk-CDU6M5IX.js";
|
|
6
6
|
import "./chunk-HKGCLAZ7.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-RW2B5RU5.js";
|
|
8
8
|
import "./chunk-VDXS55BC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-VEHHPXW6.js";
|
|
10
10
|
import "./chunk-CUOHHT2F.js";
|
|
11
11
|
import {
|
|
12
12
|
currentExecutionIdentity
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EAREJAOY.js";
|
|
14
14
|
import "./chunk-ZMH7UZNP.js";
|
|
15
15
|
import {
|
|
16
16
|
setSessionStatus
|
|
@@ -19,7 +19,7 @@ import "./chunk-FPWL4VRC.js";
|
|
|
19
19
|
import "./chunk-C5U44UI7.js";
|
|
20
20
|
import {
|
|
21
21
|
adviceHookPayload
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7QAFWJTK.js";
|
|
23
23
|
import "./chunk-P7FVAGFQ.js";
|
|
24
24
|
import "./chunk-TQ5KKZ6G.js";
|
|
25
25
|
import {
|
|
@@ -39,12 +39,12 @@ import "./chunk-3QKE2ONF.js";
|
|
|
39
39
|
import "./chunk-O5JIFWMQ.js";
|
|
40
40
|
import "./chunk-LMUTL44M.js";
|
|
41
41
|
import "./chunk-6NDXAN45.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-MVSLFBWG.js";
|
|
43
43
|
import "./chunk-MELBVXKL.js";
|
|
44
44
|
import "./chunk-OGJ6AZK4.js";
|
|
45
45
|
import {
|
|
46
46
|
codexAdapter
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-43MJXI4R.js";
|
|
48
48
|
import "./chunk-MRUIXQXS.js";
|
|
49
49
|
import "./chunk-HO7RNI6V.js";
|
|
50
50
|
import "./chunk-DIAC4XYA.js";
|