@wrongstack/cli 1.0.27 → 1.0.28
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-N57IU5FG.js → chunk-3ZTLPNEQ.js} +2 -2
- package/dist/{chunk-HDMFKTT3.js → chunk-7IQWQCBH.js} +5 -2
- package/dist/{chunk-HFZH2XJN.js → chunk-L5TD7UIG.js} +2 -2
- package/dist/{cli-context-C7RBSWHF.js → cli-context-O2SHBDFH.js} +3 -3
- package/dist/{cli-main-TQTH73ZK.js → cli-main-BKG4ZVLN.js} +780 -276
- package/dist/{execution-3STBD2U7.js → execution-THXWTHYT.js} +2 -2
- package/dist/fleet/host-memory-companion.d.ts +43 -0
- package/dist/fleet/host-subagent-factory.d.ts +1 -1
- package/dist/fleet/host.d.ts +1 -0
- package/dist/fleet/memory-companion-evidence.d.ts +12 -0
- package/dist/fleet/memory-companion-policy.d.ts +9 -0
- package/dist/goal-commands.d.ts +10 -0
- package/dist/index.js +3 -3
- package/dist/services/run-git.d.ts +3 -1
- package/dist/{short-circuit-flags-5TNTJPQR.js → short-circuit-flags-BSIPTAPD.js} +2 -2
- package/dist/{subcommands-BHQYLDSD.js → subcommands-SRRB3RAS.js} +2 -2
- package/dist/{typesafe-U7YB2RRV.js → typesafe-WA5O3KVS.js} +10 -2
- package/package.json +29 -29
|
@@ -16,7 +16,7 @@ var loaders = {
|
|
|
16
16
|
tools: async () => (await import("./tools-skills-GH24UCBY.js")).toolsCmd,
|
|
17
17
|
skills: async () => (await import("./tools-skills-GH24UCBY.js")).skillsCmd,
|
|
18
18
|
"skill-suggest": async () => (await import("./skill-suggest-L2EVWB6R.js")).skillSuggestCmd,
|
|
19
|
-
typesafe: async () => (await import("./typesafe-
|
|
19
|
+
typesafe: async () => (await import("./typesafe-WA5O3KVS.js")).typesafeCmd,
|
|
20
20
|
providers: async () => (await import("./providers-models-5Z2PJTEW.js")).providersCmd,
|
|
21
21
|
models: async () => (await import("./providers-models-5Z2PJTEW.js")).modelsCmd,
|
|
22
22
|
mcp: async () => (await import("./mcp-LBS45HWZ.js")).mcpCmd,
|
|
@@ -55,4 +55,4 @@ export {
|
|
|
55
55
|
subcommands,
|
|
56
56
|
subcommandNames
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=chunk-
|
|
58
|
+
//# sourceMappingURL=chunk-3ZTLPNEQ.js.map
|
|
@@ -112,17 +112,20 @@ function normalizeTuiThinkingWord(value) {
|
|
|
112
112
|
// src/services/run-git.ts
|
|
113
113
|
import { spawn } from "node:child_process";
|
|
114
114
|
import { toErrorMessage } from "@wrongstack/core/utils";
|
|
115
|
-
async function runGit(args, cwd) {
|
|
115
|
+
async function runGit(args, cwd, env) {
|
|
116
116
|
try {
|
|
117
117
|
return await new Promise((resolve, reject) => {
|
|
118
118
|
const child = spawn("git", args, {
|
|
119
119
|
cwd,
|
|
120
|
+
...env ? { env: { ...process.env, ...env } } : {},
|
|
120
121
|
stdio: ["ignore", "pipe", "pipe"],
|
|
121
122
|
signal: AbortSignal.timeout(3e4),
|
|
122
123
|
windowsHide: true
|
|
123
124
|
});
|
|
124
125
|
let stdout = "";
|
|
125
126
|
let stderr = "";
|
|
127
|
+
child.stdout?.setEncoding("utf8");
|
|
128
|
+
child.stderr?.setEncoding("utf8");
|
|
126
129
|
child.stdout?.on("data", (d) => {
|
|
127
130
|
stdout += d;
|
|
128
131
|
});
|
|
@@ -154,4 +157,4 @@ export {
|
|
|
154
157
|
normalizeTuiThinkingWord,
|
|
155
158
|
runGit
|
|
156
159
|
};
|
|
157
|
-
//# sourceMappingURL=chunk-
|
|
160
|
+
//# sourceMappingURL=chunk-7IQWQCBH.js.map
|
|
@@ -22,7 +22,7 @@ async function handleHelpVersionShortCircuit(argv) {
|
|
|
22
22
|
}
|
|
23
23
|
if (earlyFlags["help"] === true) {
|
|
24
24
|
if (positional.length > 0) {
|
|
25
|
-
const { subcommandNames } = await import("./subcommands-
|
|
25
|
+
const { subcommandNames } = await import("./subcommands-SRRB3RAS.js");
|
|
26
26
|
if (subcommandNames.includes(positional[0])) {
|
|
27
27
|
const first = positional[0];
|
|
28
28
|
const deep = positional[1];
|
|
@@ -43,4 +43,4 @@ async function handleHelpVersionShortCircuit(argv) {
|
|
|
43
43
|
export {
|
|
44
44
|
handleHelpVersionShortCircuit
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-L5TD7UIG.js.map
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
} from "./chunk-EWKESL4L.js";
|
|
28
28
|
import {
|
|
29
29
|
subcommands
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3ZTLPNEQ.js";
|
|
31
31
|
import {
|
|
32
32
|
renderDeepHelp,
|
|
33
33
|
renderFocusedHelp
|
|
34
34
|
} from "./chunk-EPR42SWM.js";
|
|
35
35
|
import {
|
|
36
36
|
handleHelpVersionShortCircuit
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-L5TD7UIG.js";
|
|
38
38
|
import {
|
|
39
39
|
DEFAULT_PORT
|
|
40
40
|
} from "./chunk-ENRYW73H.js";
|
|
@@ -3442,4 +3442,4 @@ async function initializeCli(argv) {
|
|
|
3442
3442
|
export {
|
|
3443
3443
|
initializeCli
|
|
3444
3444
|
};
|
|
3445
|
-
//# sourceMappingURL=cli-context-
|
|
3445
|
+
//# sourceMappingURL=cli-context-O2SHBDFH.js.map
|