@wrongstack/tools 0.313.1 → 0.316.1
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/_edit-match.d.ts +3 -2
- package/dist/_output-spool.d.ts +4 -3
- package/dist/_shell-pick.d.ts +2 -1
- package/dist/_spawn-stream.d.ts +2 -1
- package/dist/_syntax-check.d.ts +2 -1
- package/dist/audit.js +5 -5
- package/dist/bash-kill-guard.d.ts +3 -6
- package/dist/bash.js +3 -3
- package/dist/browser/index.js +1 -1
- package/dist/browser/network-guard-proxy.d.ts +2 -1
- package/dist/builtin.js +36 -36
- package/dist/{chunk-MAN26PZ5.js → chunk-22B7GE5T.js} +2 -2
- package/dist/{chunk-2TFQDEPU.js → chunk-2VSZC6QM.js} +1 -1
- package/dist/{chunk-IWDFZ6XR.js → chunk-42BHI7TN.js} +2 -2
- package/dist/{chunk-TVTCSBJF.js → chunk-4UESMQDP.js} +2 -2
- package/dist/{chunk-H5OHH6F4.js → chunk-5H4GSJAI.js} +3 -3
- package/dist/{chunk-J4SRJKBW.js → chunk-7EY5DCRO.js} +13 -7
- package/dist/{chunk-HC5RM4WY.js → chunk-BSLVR56S.js} +3 -3
- package/dist/{chunk-OA6YJIWL.js → chunk-DA4KNE2H.js} +4 -4
- package/dist/{chunk-FW65TP4G.js → chunk-DR7JOQTC.js} +3 -3
- package/dist/{chunk-B2CIOKWP.js → chunk-EEOFQDT6.js} +1 -2
- package/dist/{chunk-INF5CGAO.js → chunk-EJWSCQ6D.js} +3 -3
- package/dist/{chunk-3QMQBO5Z.js → chunk-FQZOHLG3.js} +1 -1
- package/dist/{chunk-2ME7ZWDD.js → chunk-HYX2TZ7O.js} +4 -4
- package/dist/{chunk-RP2ZA47V.js → chunk-I64BS3VC.js} +2 -2
- package/dist/{chunk-FGOABE4Z.js → chunk-IVWV2UM6.js} +3 -3
- package/dist/{chunk-QHVW4AAM.js → chunk-IYK7XGDZ.js} +10 -10
- package/dist/{chunk-55KF77OK.js → chunk-JNNVRHMV.js} +339 -172
- package/dist/{chunk-H5MJUAA6.js → chunk-JOHXDF3D.js} +3 -3
- package/dist/{chunk-XMIFYKUT.js → chunk-K3WNSHUF.js} +1 -1
- package/dist/{chunk-OZC255IC.js → chunk-L25CVUVR.js} +6 -6
- package/dist/{chunk-2CTB3UK5.js → chunk-LWKUTMD5.js} +2 -2
- package/dist/{chunk-YF2RSV34.js → chunk-MQX2KXVW.js} +3 -3
- package/dist/{chunk-6HLZK37X.js → chunk-MZZN7VCD.js} +2 -2
- package/dist/{chunk-KXNDHMUB.js → chunk-NKJW5GFO.js} +3 -3
- package/dist/{chunk-ZIGAZFWE.js → chunk-NKNOBUBU.js} +2 -2
- package/dist/{chunk-DIJKHSUO.js → chunk-O4MBV4AX.js} +3 -3
- package/dist/{chunk-DPL47QGS.js → chunk-OUBDL3WH.js} +2 -2
- package/dist/{chunk-NHA6BEIH.js → chunk-PQKK5JH7.js} +2 -2
- package/dist/{chunk-QNJ7AQ4B.js → chunk-PY2IOS7C.js} +1 -1
- package/dist/{chunk-2ZCJNKFE.js → chunk-QZQSPUBF.js} +2 -2
- package/dist/{chunk-UTV7YAW7.js → chunk-SDLVH5RZ.js} +3 -3
- package/dist/{chunk-HXSBQ2SE.js → chunk-T2F4S7U4.js} +3 -3
- package/dist/{chunk-ILESNGNM.js → chunk-TEBQ4VPZ.js} +1 -1
- package/dist/{chunk-42SKEETB.js → chunk-UCYQTZ7F.js} +1 -1
- package/dist/{chunk-PUR6WU2B.js → chunk-VFKPWSOX.js} +3 -3
- package/dist/{chunk-HEQFMLZ7.js → chunk-VJNHFZ7J.js} +3 -3
- package/dist/{chunk-URFKEIHM.js → chunk-VXECAJJ7.js} +23 -23
- package/dist/{chunk-MKRQMLZA.js → chunk-ZJQ4IGXK.js} +3 -3
- package/dist/{chunk-42AKKX7O.js → chunk-ZLTFLC25.js} +2 -2
- package/dist/codebase-index/ast-invariant-engine.d.ts +5 -4
- package/dist/codebase-index/binary-frame.d.ts +0 -2
- package/dist/codebase-index/bm25.d.ts +1 -1
- package/dist/codebase-index/circuit-breaker.d.ts +2 -1
- package/dist/codebase-index/codebase-ast-replace-tool.d.ts +3 -2
- package/dist/codebase-index/codebase-impact-analysis-tool.d.ts +4 -3
- package/dist/codebase-index/codebase-invariant-check-tool.d.ts +3 -2
- package/dist/codebase-index/codebase-repo-map-tool.d.ts +3 -2
- package/dist/codebase-index/codebase-skeleton-tool.d.ts +3 -2
- package/dist/codebase-index/codebase-targeted-test-tool.d.ts +3 -2
- package/dist/codebase-index/content-hash.d.ts +0 -2
- package/dist/codebase-index/import-extractor.d.ts +0 -13
- package/dist/codebase-index/index-service.d.ts +1 -1
- package/dist/codebase-index/index.js +11 -11
- package/dist/codebase-index/languages.d.ts +2 -1
- package/dist/codebase-index/module-roots.d.ts +3 -2
- package/dist/codebase-index/parser-batch.d.ts +0 -5
- package/dist/codebase-index/parser-dispatch.d.ts +2 -1
- package/dist/codebase-index/parser-output.d.ts +4 -3
- package/dist/codebase-index/parser-worker-pool.d.ts +0 -2
- package/dist/codebase-index/parser-worker-script.d.ts +1 -16
- package/dist/codebase-index/parser-worker-script.js +4 -4
- package/dist/codebase-index/project-server-client-state.d.ts +2 -2
- package/dist/codebase-index/project-server-endpoint.d.ts +0 -15
- package/dist/codebase-index/project-server.js +6 -6
- package/dist/codebase-index/tree-sitter/visitor.d.ts +2 -1
- package/dist/codebase-index/tree-sitter-parser.d.ts +0 -2
- package/dist/codebase-index/ts-parser.d.ts +1 -1
- package/dist/codebase-index/vector-search.d.ts +2 -1
- package/dist/codebase-index/wal-maintenance.d.ts +3 -2
- package/dist/codebase-index/worker.js +5 -5
- package/dist/codebase-index/writer-admin.d.ts +0 -1
- package/dist/codebase-index/writer-search.d.ts +0 -9
- package/dist/edit.js +9 -9
- package/dist/exec.js +3 -3
- package/dist/format.js +5 -5
- package/dist/{go-parser-6CA77WZ4.js → go-parser-JXYKJHRC.js} +3 -3
- package/dist/index.js +39 -39
- package/dist/install.js +5 -5
- package/dist/{json-parser-7YMDJSBJ.js → json-parser-IBHZ4BZC.js} +2 -2
- package/dist/kanban-contract-actions.d.ts +1 -1
- package/dist/kanban-detail-actions.d.ts +2 -1
- package/dist/kanban-presence.d.ts +2 -1
- package/dist/kanban-serializer.d.ts +0 -8
- package/dist/kanban-split-task-handler.d.ts +2 -2
- package/dist/kanban-tool-types.d.ts +2 -1
- package/dist/kanban.js +2 -2
- package/dist/languages/diagnostics.d.ts +2 -1
- package/dist/languages/index.js +3 -3
- package/dist/languages/legacy-bridge.d.ts +3 -2
- package/dist/languages/types.d.ts +2 -1
- package/dist/{legacy-bridge-7UKZT46G.js → legacy-bridge-7M6QLUQN.js} +5 -5
- package/dist/lint.js +5 -5
- package/dist/outdated.js +1 -1
- package/dist/pack.js +37 -37
- package/dist/parser-dispatch-QH4XPGG6.js +14 -0
- package/dist/patch.js +8 -8
- package/dist/plan.js +4 -4
- package/dist/ps-slash.js +2 -2
- package/dist/pwsh.d.ts +0 -1
- package/dist/{py-parser-GPM5VYRG.js → py-parser-IS4HKYMF.js} +4 -4
- package/dist/read.js +8 -8
- package/dist/replace.js +8 -8
- package/dist/{rs-parser-WVQ4KYCX.js → rs-parser-XHUUO2KZ.js} +2 -2
- package/dist/session-kanban-sync.d.ts +0 -6
- package/dist/session-kanban.js +1 -1
- package/dist/spawn-background.d.ts +1 -1
- package/dist/task.js +4 -4
- package/dist/test.js +5 -5
- package/dist/todo.js +3 -3
- package/dist/tool-tier.js +38 -38
- package/dist/{tree-sitter-parser-YCILHGZD.js → tree-sitter-parser-AIERW3YI.js} +2 -4
- package/dist/{ts-parser-YH4ZMWMH.js → ts-parser-RCTYKSVI.js} +2 -2
- package/dist/typecheck.js +5 -5
- package/dist/write.js +9 -9
- package/dist/{yaml-parser-GFAOKV53.js → yaml-parser-4SAXV3PL.js} +2 -2
- package/package.json +5 -5
- package/dist/parser-dispatch-VPOFDO2U.js +0 -14
package/dist/_edit-match.d.ts
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* model and the session log both see when a fallback fired.
|
|
29
29
|
*/
|
|
30
30
|
export type MatchTier = 'exact' | 'trailing-whitespace' | 'whitespace-normalized' | 'fuzzy';
|
|
31
|
-
|
|
31
|
+
interface LadderMatch {
|
|
32
32
|
/** Char offset (inclusive) of the match start in the LF-normalized file. */
|
|
33
33
|
start: number;
|
|
34
34
|
/** Char offset (exclusive) of the match end. */
|
|
@@ -36,7 +36,7 @@ export interface LadderMatch {
|
|
|
36
36
|
/** 1-based line number of the first matched line (for error messages). */
|
|
37
37
|
startLine: number;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
interface LadderResult {
|
|
40
40
|
tier: MatchTier;
|
|
41
41
|
matches: LadderMatch[];
|
|
42
42
|
/** Similarity score of the best candidate — only set for the fuzzy tier. */
|
|
@@ -83,4 +83,5 @@ export declare function nearestMatchHint(fileLf: string, oldLf: string): {
|
|
|
83
83
|
line: number;
|
|
84
84
|
snippet: string;
|
|
85
85
|
} | undefined;
|
|
86
|
+
export {};
|
|
86
87
|
//# sourceMappingURL=_edit-match.d.ts.map
|
package/dist/_output-spool.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare function toolOutputDir(): string;
|
|
3
3
|
/** Reset module state — test hook (per-process sweep memo + nothing else). */
|
|
4
4
|
export declare function _resetOutputSpoolForTests(): void;
|
|
5
|
-
|
|
5
|
+
interface SpoolInfo {
|
|
6
6
|
/** Absolute path of the spool file. */
|
|
7
7
|
path: string;
|
|
8
8
|
/** Total bytes of output produced (including what reached the file). */
|
|
@@ -10,7 +10,7 @@ export interface SpoolInfo {
|
|
|
10
10
|
/** Bytes dropped due to disk backpressure (0 in the normal case). */
|
|
11
11
|
droppedBytes: number;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
interface OutputSpool {
|
|
14
14
|
/** Feed every raw output chunk. Never throws. */
|
|
15
15
|
write(text: string): void;
|
|
16
16
|
/**
|
|
@@ -19,7 +19,7 @@ export interface OutputSpool {
|
|
|
19
19
|
*/
|
|
20
20
|
finalize(): SpoolInfo | null;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
interface CreateOutputSpoolOptions {
|
|
23
23
|
/** Tool name used in the spool filename (sanitized). */
|
|
24
24
|
tool: string;
|
|
25
25
|
/**
|
|
@@ -35,4 +35,5 @@ export interface CreateOutputSpoolOptions {
|
|
|
35
35
|
*/
|
|
36
36
|
export declare function spoolNote(info: SpoolInfo): string;
|
|
37
37
|
export declare function createOutputSpool(opts: CreateOutputSpoolOptions): OutputSpool;
|
|
38
|
+
export {};
|
|
38
39
|
//# sourceMappingURL=_output-spool.d.ts.map
|
package/dist/_shell-pick.d.ts
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
export type BashShell = 'cmd' | 'powershell' | 'pwsh';
|
|
36
36
|
/** Sentinel returned on POSIX — bash.ts maps this to `/bin/bash -c`. */
|
|
37
37
|
export declare const POSIX_DEFAULT: BashShell;
|
|
38
|
-
|
|
38
|
+
interface PickShellEnv {
|
|
39
39
|
/** Read-only env view. Tests pass `{ get: (k) => process.env[k] }`. */
|
|
40
40
|
get(key: string): string | undefined;
|
|
41
41
|
}
|
|
@@ -149,4 +149,5 @@ export declare function shellArgs(shell: BashShell): string[];
|
|
|
149
149
|
* call — bash idioms are correct there).
|
|
150
150
|
*/
|
|
151
151
|
export declare function diagnoseBashism(command: string, shell: BashShell): string | undefined;
|
|
152
|
+
export {};
|
|
152
153
|
//# sourceMappingURL=_shell-pick.d.ts.map
|
package/dist/_spawn-stream.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export interface SpawnStreamResult {
|
|
|
10
10
|
/** Total output bytes produced (only set when spooled). */
|
|
11
11
|
spoolBytes?: number | undefined;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
interface SpawnStreamOptions {
|
|
14
14
|
cmd: string;
|
|
15
15
|
args: string[];
|
|
16
16
|
cwd: string;
|
|
@@ -31,4 +31,5 @@ export interface SpawnStreamOptions {
|
|
|
31
31
|
* is running.
|
|
32
32
|
*/
|
|
33
33
|
export declare function spawnStream(opts: SpawnStreamOptions): AsyncGenerator<ToolProgressEvent, SpawnStreamResult>;
|
|
34
|
+
export {};
|
|
34
35
|
//# sourceMappingURL=_spawn-stream.d.ts.map
|
package/dist/_syntax-check.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface SyntaxCheckResult {
|
|
2
2
|
/** Parse errors in the new content (capped at {@link MAX_ERRORS}). */
|
|
3
3
|
errors: string[];
|
|
4
4
|
/** True when the pre-edit content already failed to parse — the edit did
|
|
@@ -13,4 +13,5 @@ export interface SyntaxCheckResult {
|
|
|
13
13
|
* pre-existing ones.
|
|
14
14
|
*/
|
|
15
15
|
export declare function checkSyntax(filePath: string, content: string, previousContent?: string): Promise<SyntaxCheckResult | undefined>;
|
|
16
|
+
export {};
|
|
16
17
|
//# sourceMappingURL=_syntax-check.d.ts.map
|
package/dist/audit.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
auditTool
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VJNHFZ7J.js";
|
|
4
|
+
import "./chunk-PQKK5JH7.js";
|
|
5
|
+
import "./chunk-OUBDL3WH.js";
|
|
6
|
+
import "./chunk-22B7GE5T.js";
|
|
7
|
+
import "./chunk-2VSZC6QM.js";
|
|
8
8
|
import "./chunk-3PVYQFRQ.js";
|
|
9
9
|
import "./chunk-HFXSNKCV.js";
|
|
10
10
|
import "./chunk-V43EQ6VR.js";
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
* destructive detection as the primary controls; this guard is a best-effort
|
|
41
41
|
* fast path for the common non-obfuscated forms.
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
interface KillCommand {
|
|
44
44
|
pid?: number;
|
|
45
45
|
name?: string;
|
|
46
46
|
signal?: string;
|
|
@@ -48,7 +48,7 @@ export interface KillCommand {
|
|
|
48
48
|
isAllKill: boolean;
|
|
49
49
|
originalCommand: string;
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
interface KillCheckResult {
|
|
52
52
|
blocked: boolean;
|
|
53
53
|
reason?: string;
|
|
54
54
|
}
|
|
@@ -56,10 +56,6 @@ export interface KillCheckResult {
|
|
|
56
56
|
* Parse a kill command string to extract PID and signal.
|
|
57
57
|
*/
|
|
58
58
|
export declare function parseKillCommand(command: string): KillCommand | null;
|
|
59
|
-
/**
|
|
60
|
-
* Check if a parsed kill command targets a protected WrongStack process.
|
|
61
|
-
*/
|
|
62
|
-
export declare function isKillProtected(kill: KillCommand): Promise<boolean>;
|
|
63
59
|
/**
|
|
64
60
|
* Main entry point: Check if a bash command contains a kill operation targeting protected PIDs.
|
|
65
61
|
* Returns a result indicating whether to block and why.
|
|
@@ -69,4 +65,5 @@ export declare function checkAndBlockKillCommand(command: string): Promise<KillC
|
|
|
69
65
|
* Get a safe error message for blocked kill commands.
|
|
70
66
|
*/
|
|
71
67
|
export declare function getBlockedKillMessage(pid: number, signal?: string): string;
|
|
68
|
+
export {};
|
|
72
69
|
//# sourceMappingURL=bash-kill-guard.d.ts.map
|
package/dist/bash.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bashTool
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IVWV2UM6.js";
|
|
4
4
|
import "./chunk-BTSFTGIL.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-NKNOBUBU.js";
|
|
6
|
+
import "./chunk-2VSZC6QM.js";
|
|
7
7
|
import "./chunk-3PVYQFRQ.js";
|
|
8
8
|
import "./chunk-HFXSNKCV.js";
|
|
9
9
|
import "./chunk-V43EQ6VR.js";
|
package/dist/browser/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BrowserDnsLookup } from './security.js';
|
|
2
|
-
|
|
2
|
+
interface BrowserNetworkGuardProxyOptions {
|
|
3
3
|
allowPrivateHosts?: boolean | undefined;
|
|
4
4
|
allowedPrivateOrigins?: readonly string[] | undefined;
|
|
5
5
|
lookup?: BrowserDnsLookup | undefined;
|
|
@@ -20,4 +20,5 @@ export declare class BrowserNetworkGuardProxy {
|
|
|
20
20
|
private forwardUpgrade;
|
|
21
21
|
private resolve;
|
|
22
22
|
}
|
|
23
|
+
export {};
|
|
23
24
|
//# sourceMappingURL=network-guard-proxy.d.ts.map
|
package/dist/builtin.js
CHANGED
|
@@ -5,66 +5,66 @@ import {
|
|
|
5
5
|
TIER2_TOOLS,
|
|
6
6
|
TIER3_TOOLS,
|
|
7
7
|
builtinTools
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VXECAJJ7.js";
|
|
9
9
|
import "./chunk-JRJJX3L5.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-L25CVUVR.js";
|
|
11
|
+
import "./chunk-EEOFQDT6.js";
|
|
12
|
+
import "./chunk-NKJW5GFO.js";
|
|
13
|
+
import "./chunk-DR7JOQTC.js";
|
|
14
14
|
import "./chunk-RJZQWEMS.js";
|
|
15
15
|
import "./chunk-S5CCLZL3.js";
|
|
16
16
|
import "./chunk-U4VAATKP.js";
|
|
17
17
|
import "./chunk-QBV725YG.js";
|
|
18
18
|
import "./chunk-6RNIFLG4.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-BSLVR56S.js";
|
|
20
|
+
import "./chunk-5H4GSJAI.js";
|
|
21
|
+
import "./chunk-VJNHFZ7J.js";
|
|
22
|
+
import "./chunk-LWKUTMD5.js";
|
|
23
23
|
import "./chunk-RGISBZBD.js";
|
|
24
24
|
import "./chunk-EMRGN4KM.js";
|
|
25
25
|
import "./chunk-AHHDWNXC.js";
|
|
26
26
|
import "./chunk-RXISBFR5.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-QZQSPUBF.js";
|
|
28
28
|
import "./chunk-VB3MJGCV.js";
|
|
29
29
|
import "./chunk-UKU2ZX4C.js";
|
|
30
30
|
import "./chunk-J5SKD6LN.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-O4MBV4AX.js";
|
|
32
|
+
import "./chunk-SDLVH5RZ.js";
|
|
33
|
+
import "./chunk-EJWSCQ6D.js";
|
|
34
|
+
import "./chunk-PQKK5JH7.js";
|
|
35
|
+
import "./chunk-OUBDL3WH.js";
|
|
36
|
+
import "./chunk-22B7GE5T.js";
|
|
37
|
+
import "./chunk-MZZN7VCD.js";
|
|
38
38
|
import "./chunk-UNSKG6DC.js";
|
|
39
39
|
import "./chunk-553IQUMO.js";
|
|
40
40
|
import "./chunk-Q5JPPCZC.js";
|
|
41
41
|
import "./chunk-U4D5S3VQ.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-IVWV2UM6.js";
|
|
43
|
+
import "./chunk-T2F4S7U4.js";
|
|
44
44
|
import "./chunk-BTSFTGIL.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-NKNOBUBU.js";
|
|
46
|
+
import "./chunk-2VSZC6QM.js";
|
|
47
47
|
import "./chunk-3PVYQFRQ.js";
|
|
48
48
|
import "./chunk-HFXSNKCV.js";
|
|
49
49
|
import "./chunk-IXMNTNW5.js";
|
|
50
50
|
import "./chunk-4I4LWFOO.js";
|
|
51
51
|
import "./chunk-NBDZMMG2.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-7EY5DCRO.js";
|
|
53
|
+
import "./chunk-JNNVRHMV.js";
|
|
54
|
+
import "./chunk-PY2IOS7C.js";
|
|
55
|
+
import "./chunk-K3WNSHUF.js";
|
|
56
|
+
import "./chunk-JOHXDF3D.js";
|
|
57
|
+
import "./chunk-VFKPWSOX.js";
|
|
58
|
+
import "./chunk-ZJQ4IGXK.js";
|
|
59
|
+
import "./chunk-FQZOHLG3.js";
|
|
60
|
+
import "./chunk-HYX2TZ7O.js";
|
|
61
|
+
import "./chunk-4UESMQDP.js";
|
|
62
|
+
import "./chunk-DA4KNE2H.js";
|
|
63
|
+
import "./chunk-IYK7XGDZ.js";
|
|
64
|
+
import "./chunk-ZLTFLC25.js";
|
|
65
65
|
import "./chunk-A6BRWIXN.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-UCYQTZ7F.js";
|
|
67
|
+
import "./chunk-TEBQ4VPZ.js";
|
|
68
68
|
import "./chunk-LIJQMYYX.js";
|
|
69
69
|
import "./chunk-V43EQ6VR.js";
|
|
70
70
|
import "./chunk-D33S4RQG.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOutputSpool,
|
|
3
3
|
spoolNote
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2VSZC6QM.js";
|
|
5
5
|
import {
|
|
6
6
|
getProcessRegistry,
|
|
7
7
|
redactCommand
|
|
@@ -257,4 +257,4 @@ function utf8Prefix(text, maxBytes) {
|
|
|
257
257
|
export {
|
|
258
258
|
spawnStream
|
|
259
259
|
};
|
|
260
|
-
//# sourceMappingURL=chunk-
|
|
260
|
+
//# sourceMappingURL=chunk-22B7GE5T.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getPersistentProcessRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NKNOBUBU.js";
|
|
4
4
|
|
|
5
5
|
// src/ps-slash.ts
|
|
6
6
|
import * as os from "node:os";
|
|
@@ -334,4 +334,4 @@ export {
|
|
|
334
334
|
formatInstanceSummary,
|
|
335
335
|
createGlobalPsSlashCommand
|
|
336
336
|
};
|
|
337
|
-
//# sourceMappingURL=chunk-
|
|
337
|
+
//# sourceMappingURL=chunk-42BHI7TN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveIndexDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DA4KNE2H.js";
|
|
4
4
|
|
|
5
5
|
// src/codebase-index/binary-frame.ts
|
|
6
6
|
import { decode, encode } from "@msgpack/msgpack";
|
|
@@ -119,4 +119,4 @@ export {
|
|
|
119
119
|
PROJECT_INDEX_SERVER_MAX_FRAME_CHARS,
|
|
120
120
|
encodeProjectServerMessage
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=chunk-
|
|
122
|
+
//# sourceMappingURL=chunk-4UESMQDP.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyPackageOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PQKK5JH7.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-22B7GE5T.js";
|
|
7
7
|
import {
|
|
8
8
|
detectPackageManager,
|
|
9
9
|
normalizeCommandOutput,
|
|
@@ -220,4 +220,4 @@ function resolveManifestPath(cwd, pkgManager) {
|
|
|
220
220
|
export {
|
|
221
221
|
installTool
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-5H4GSJAI.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
kanbanTool
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JNNVRHMV.js";
|
|
4
4
|
import {
|
|
5
5
|
applyManagedKanbanBoardToTodos,
|
|
6
6
|
blockingTitles,
|
|
7
7
|
mirrorSessionTodosToKanban,
|
|
8
8
|
takeSessionMirrorFailure
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PY2IOS7C.js";
|
|
10
10
|
|
|
11
11
|
// src/todo.ts
|
|
12
12
|
import {
|
|
@@ -72,10 +72,16 @@ async function createMissingManagedCards(items, board, ctx, warnings) {
|
|
|
72
72
|
for (const item of items) {
|
|
73
73
|
if (item.kanbanBoardId === board.id && item.kanbanTaskId) continue;
|
|
74
74
|
try {
|
|
75
|
-
const result = await addTask(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
const result = await addTask(
|
|
76
|
+
ctx.projectRoot,
|
|
77
|
+
board.id,
|
|
78
|
+
{
|
|
79
|
+
title: item.content,
|
|
80
|
+
description: item.activeForm?.trim() || `Added from the session todo list: ${item.content}`
|
|
81
|
+
},
|
|
82
|
+
// The card mirrors this session's todo row, so the session owns it.
|
|
83
|
+
{ sessionId: ctx.eventSessionId(), actor: "todo" }
|
|
84
|
+
);
|
|
79
85
|
if (!result) {
|
|
80
86
|
warnings.push(`Could not open a Kanban card for "${item.content}": board not found.`);
|
|
81
87
|
continue;
|
|
@@ -425,4 +431,4 @@ var todoTool = {
|
|
|
425
431
|
export {
|
|
426
432
|
todoTool
|
|
427
433
|
};
|
|
428
|
-
//# sourceMappingURL=chunk-
|
|
434
|
+
//# sourceMappingURL=chunk-7EY5DCRO.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyCodeOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PQKK5JH7.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-22B7GE5T.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeCommandOutput,
|
|
9
9
|
safeResolveReal
|
|
@@ -196,4 +196,4 @@ function parseResult(runner, result, duration) {
|
|
|
196
196
|
export {
|
|
197
197
|
testTool
|
|
198
198
|
};
|
|
199
|
-
//# sourceMappingURL=chunk-
|
|
199
|
+
//# sourceMappingURL=chunk-BSLVR56S.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseFilesContent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IYK7XGDZ.js";
|
|
4
4
|
import {
|
|
5
5
|
INDEXABLE_EXTENSIONS,
|
|
6
6
|
LANG_FAMILY_ENTRIES,
|
|
7
7
|
detectLang,
|
|
8
8
|
languageFamily
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TEBQ4VPZ.js";
|
|
10
10
|
import {
|
|
11
11
|
loadGitignoreMatcher
|
|
12
12
|
} from "./chunk-LIJQMYYX.js";
|
|
@@ -3620,7 +3620,7 @@ var ParserWorkerPool = class {
|
|
|
3620
3620
|
*/
|
|
3621
3621
|
async reparseInline(batch, orphaned, workerId) {
|
|
3622
3622
|
try {
|
|
3623
|
-
const { parseFileContent } = await import("./parser-dispatch-
|
|
3623
|
+
const { parseFileContent } = await import("./parser-dispatch-QH4XPGG6.js");
|
|
3624
3624
|
for (const item of orphaned) {
|
|
3625
3625
|
if (batch.settled) return;
|
|
3626
3626
|
try {
|
|
@@ -4409,4 +4409,4 @@ export {
|
|
|
4409
4409
|
incomingCallsService,
|
|
4410
4410
|
outgoingCallsService
|
|
4411
4411
|
};
|
|
4412
|
-
//# sourceMappingURL=chunk-
|
|
4412
|
+
//# sourceMappingURL=chunk-DA4KNE2H.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
todoTool
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7EY5DCRO.js";
|
|
4
4
|
import {
|
|
5
5
|
mirrorSessionTasksToKanban
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PY2IOS7C.js";
|
|
7
7
|
|
|
8
8
|
// src/task.ts
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
@@ -517,4 +517,4 @@ ${formatTaskList(file.tasks)}` : file.tasks.length > 0 ? formatTaskList(file.tas
|
|
|
517
517
|
export {
|
|
518
518
|
taskTool
|
|
519
519
|
};
|
|
520
|
-
//# sourceMappingURL=chunk-
|
|
520
|
+
//# sourceMappingURL=chunk-DR7JOQTC.js.map
|
|
@@ -889,11 +889,10 @@ async function parseTreeSitterAst(opts) {
|
|
|
889
889
|
}
|
|
890
890
|
|
|
891
891
|
export {
|
|
892
|
-
isTreeSitterSupported,
|
|
893
892
|
getGrammarWasmPath,
|
|
894
893
|
parseSymbols,
|
|
895
894
|
loadTreeSitterLanguage,
|
|
896
895
|
__smokeRootType,
|
|
897
896
|
parseTreeSitterAst
|
|
898
897
|
};
|
|
899
|
-
//# sourceMappingURL=chunk-
|
|
898
|
+
//# sourceMappingURL=chunk-EEOFQDT6.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryLegacyCodeOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PQKK5JH7.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnStream
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-22B7GE5T.js";
|
|
7
7
|
import {
|
|
8
8
|
detectPackageManager,
|
|
9
9
|
normalizeCommandOutput,
|
|
@@ -134,4 +134,4 @@ async function findTsConfig(cwd) {
|
|
|
134
134
|
export {
|
|
135
135
|
typecheckTool
|
|
136
136
|
};
|
|
137
|
-
//# sourceMappingURL=chunk-
|
|
137
|
+
//# sourceMappingURL=chunk-EJWSCQ6D.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
projectIndexServerBuildId,
|
|
10
10
|
projectIndexServerEndpoint,
|
|
11
11
|
projectIndexServerMetadataPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4UESMQDP.js";
|
|
13
13
|
import {
|
|
14
14
|
CircuitOpenError,
|
|
15
15
|
IndexTimeoutError,
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
searchService,
|
|
25
25
|
statsService,
|
|
26
26
|
symbolGraphService
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DA4KNE2H.js";
|
|
28
28
|
import {
|
|
29
29
|
isIndexablePath
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TEBQ4VPZ.js";
|
|
31
31
|
|
|
32
32
|
// src/codebase-index/project-server-client-state.ts
|
|
33
33
|
import * as fs from "node:fs";
|
|
@@ -1269,4 +1269,4 @@ export {
|
|
|
1269
1269
|
checkCodebaseIndexServerHealth,
|
|
1270
1270
|
ensureCodebaseIndexServer
|
|
1271
1271
|
};
|
|
1272
|
-
//# sourceMappingURL=chunk-
|
|
1272
|
+
//# sourceMappingURL=chunk-HYX2TZ7O.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
builtinTools
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VXECAJJ7.js";
|
|
4
4
|
|
|
5
5
|
// src/pack.ts
|
|
6
6
|
var builtinToolsPack = {
|
|
@@ -12,4 +12,4 @@ var builtinToolsPack = {
|
|
|
12
12
|
export {
|
|
13
13
|
builtinToolsPack
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-I64BS3VC.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-BTSFTGIL.js";
|
|
4
4
|
import {
|
|
5
5
|
getPersistentProcessRegistry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NKNOBUBU.js";
|
|
7
7
|
import {
|
|
8
8
|
createOutputSpool,
|
|
9
9
|
spoolNote
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2VSZC6QM.js";
|
|
11
11
|
import {
|
|
12
12
|
getProcessRegistry,
|
|
13
13
|
redactCommand
|
|
@@ -952,4 +952,4 @@ export {
|
|
|
952
952
|
checkAndBlockKillCommand,
|
|
953
953
|
bashTool
|
|
954
954
|
};
|
|
955
|
-
//# sourceMappingURL=chunk-
|
|
955
|
+
//# sourceMappingURL=chunk-IVWV2UM6.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolvePythonBinary
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZLTFLC25.js";
|
|
4
4
|
import {
|
|
5
5
|
parseParserBatchOutput,
|
|
6
6
|
withSpawnGate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UCYQTZ7F.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveWin32Command
|
|
10
10
|
} from "./chunk-V43EQ6VR.js";
|
|
@@ -824,27 +824,27 @@ async function dispatch(file, content, lang) {
|
|
|
824
824
|
case "tsx":
|
|
825
825
|
case "js":
|
|
826
826
|
case "jsx": {
|
|
827
|
-
const { parseSymbols } = await import("./ts-parser-
|
|
827
|
+
const { parseSymbols } = await import("./ts-parser-RCTYKSVI.js");
|
|
828
828
|
return parseSymbols({ file, content, lang });
|
|
829
829
|
}
|
|
830
830
|
case "go": {
|
|
831
|
-
const { parseSymbols } = await import("./go-parser-
|
|
831
|
+
const { parseSymbols } = await import("./go-parser-JXYKJHRC.js");
|
|
832
832
|
return parseSymbols({ file, content, lang: "go" });
|
|
833
833
|
}
|
|
834
834
|
case "py": {
|
|
835
|
-
const { parseSymbols } = await import("./py-parser-
|
|
835
|
+
const { parseSymbols } = await import("./py-parser-IS4HKYMF.js");
|
|
836
836
|
return parseSymbols({ file, content, lang: "py" });
|
|
837
837
|
}
|
|
838
838
|
case "rs": {
|
|
839
|
-
const { parseSymbols } = await import("./rs-parser-
|
|
839
|
+
const { parseSymbols } = await import("./rs-parser-XHUUO2KZ.js");
|
|
840
840
|
return parseSymbols({ file, content, lang: "rs" });
|
|
841
841
|
}
|
|
842
842
|
case "json": {
|
|
843
|
-
const { parseSymbols } = await import("./json-parser-
|
|
843
|
+
const { parseSymbols } = await import("./json-parser-IBHZ4BZC.js");
|
|
844
844
|
return parseSymbols({ file, content, lang: "json" });
|
|
845
845
|
}
|
|
846
846
|
case "yaml": {
|
|
847
|
-
const { parseSymbols } = await import("./yaml-parser-
|
|
847
|
+
const { parseSymbols } = await import("./yaml-parser-4SAXV3PL.js");
|
|
848
848
|
return parseSymbols({ file, content, lang: "yaml" });
|
|
849
849
|
}
|
|
850
850
|
// Phase 1: ten languages now route through the Tree-Sitter WASM
|
|
@@ -863,7 +863,7 @@ async function dispatch(file, content, lang) {
|
|
|
863
863
|
case "shell":
|
|
864
864
|
case "elixir": {
|
|
865
865
|
try {
|
|
866
|
-
const { parseSymbols: parseSymbols2 } = await import("./tree-sitter-parser-
|
|
866
|
+
const { parseSymbols: parseSymbols2 } = await import("./tree-sitter-parser-AIERW3YI.js");
|
|
867
867
|
const parsed = await parseSymbols2({ file, content, lang });
|
|
868
868
|
if (parsed.symbols.length > 0) return parsed;
|
|
869
869
|
} catch {
|
|
@@ -889,4 +889,4 @@ export {
|
|
|
889
889
|
parseFileContent,
|
|
890
890
|
parseFilesContent
|
|
891
891
|
};
|
|
892
|
-
//# sourceMappingURL=chunk-
|
|
892
|
+
//# sourceMappingURL=chunk-IYK7XGDZ.js.map
|