@wirecat/cli-memo 0.131.20 → 0.131.22
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 +5 -6
- package/dist/actions/command.d.ts +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +12 -1
- package/dist/actions/command.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bin/memo.js.map +1 -1
- package/dist/bundle/{all-profiles-MVF2XGZK.js → all-profiles-EZLU6CY7.js} +9 -7
- package/dist/bundle/{anthropic-OPFHMF2S.js → anthropic-XC34PJH5.js} +6 -4
- package/dist/bundle/{app-server-VHVC55S3.js → app-server-PRQVGA5X.js} +53 -48
- package/dist/bundle/auto-S3AYMAGB.js +86 -0
- package/dist/bundle/{bun-P6TMDZGU.js → bun-CKGKUKW5.js} +2 -2
- package/dist/bundle/{bun-sqlite-3G3NLK4O.js → bun-sqlite-S6KUSMTC.js} +5 -3
- package/dist/bundle/{chunk-XZWUBDBG.js → chunk-2NJUPIAO.js} +1 -1
- package/dist/bundle/{chunk-RFB5LOYR.js → chunk-2TBIVKBH.js} +8 -6
- package/dist/bundle/{chunk-LQJ4KHXK.js → chunk-3B645KUY.js} +15 -15
- package/dist/bundle/{chunk-3DVKC2XM.js → chunk-3V4WIGWC.js} +8 -19
- package/dist/bundle/{chunk-3BMUVKC7.js → chunk-4SGCOUQ6.js} +13 -9
- package/dist/bundle/{chunk-BMHSGZNE.js → chunk-5RBLNI6C.js} +4 -4
- package/dist/bundle/{chunk-D6G23NFJ.js → chunk-5UOOH7VG.js} +2 -2
- package/dist/bundle/{chunk-WOIRWVDJ.js → chunk-6JOT5KWM.js} +563 -351
- package/dist/bundle/{chunk-LKYHSVQL.js → chunk-7F6FGMCC.js} +8 -8
- package/dist/bundle/{chunk-FMSA2X3E.js → chunk-7MLWSUEK.js} +1 -1
- package/dist/bundle/{chunk-JHKTN6NL.js → chunk-7W3RCCRR.js} +13 -11
- package/dist/bundle/{chunk-SO6VNTF6.js → chunk-AIIQ7YU4.js} +1 -1
- package/dist/bundle/{chunk-IW3U6XXI.js → chunk-BB2MGFOZ.js} +6 -6
- package/dist/bundle/{chunk-TQNQS6TR.js → chunk-CBYZW5CC.js} +64 -60
- package/dist/bundle/chunk-CCHHEMPM.js +71 -0
- package/dist/bundle/{chunk-6DG7VK3H.js → chunk-CCOYC6HL.js} +5 -5
- package/dist/bundle/{chunk-MXP4J6BJ.js → chunk-CDZZ2DZO.js} +70 -2517
- package/dist/bundle/{chunk-VUWUSGSN.js → chunk-CP5N3KH3.js} +4 -4
- package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
- package/dist/bundle/{chunk-BINR6MJ5.js → chunk-DNGHE2Q4.js} +1 -1
- package/dist/bundle/{chunk-KVVDRD7M.js → chunk-DZSWKA3K.js} +2 -2
- package/dist/bundle/{chunk-63XICXGM.js → chunk-E5FQ7U7L.js} +5 -3
- package/dist/bundle/chunk-EG2OMKWH.js +2423 -0
- package/dist/bundle/chunk-EW3XTUPB.js +166 -0
- package/dist/bundle/{chunk-3ORDQ62F.js → chunk-GV2FSWFS.js} +10 -8
- package/dist/bundle/{chunk-2R25UBIH.js → chunk-HXRIV2TV.js} +26 -24
- package/dist/bundle/{chunk-BPYQYZXA.js → chunk-IFWBFYXN.js} +14 -12
- package/dist/bundle/{chunk-4G46QFK5.js → chunk-ILC7NFS2.js} +7 -5
- package/dist/bundle/chunk-ILHTNOIV.js +23 -0
- package/dist/bundle/{chunk-OVFMY6ZP.js → chunk-IRDGD3QQ.js} +1 -1
- package/dist/bundle/{chunk-G7TF4E7B.js → chunk-J35OGOCI.js} +8 -2
- package/dist/bundle/{chunk-5KUPVC5M.js → chunk-KUNA6MQZ.js} +2 -2
- package/dist/bundle/{chunk-VQGVPDMH.js → chunk-KXERKAID.js} +20 -16
- package/dist/bundle/{chunk-LDVU22MF.js → chunk-LGNS4JVK.js} +8 -8
- package/dist/bundle/{chunk-57Q6NXQT.js → chunk-LR5EY5JY.js} +4 -4
- package/dist/bundle/{chunk-ZYM4M62Q.js → chunk-MCPDL5YU.js} +4 -4
- package/dist/bundle/{chunk-V7DZG62U.js → chunk-MHDLZCEO.js} +11 -9
- package/dist/bundle/{chunk-SHDZVM3B.js → chunk-NELE7AIX.js} +2 -2
- package/dist/bundle/{chunk-KIEBEYKH.js → chunk-OFYKXQMS.js} +10 -8
- package/dist/bundle/{chunk-UC4IL2P7.js → chunk-OJRLTJRS.js} +1 -1
- package/dist/bundle/{chunk-OTHEM74Z.js → chunk-OUF6RCRZ.js} +6 -6
- package/dist/bundle/{chunk-JDJDNMCP.js → chunk-PF3ALSAV.js} +1 -1
- package/dist/bundle/chunk-PQLBPYJR.js +46 -0
- package/dist/bundle/{chunk-66YZUX2C.js → chunk-QMMUPDRK.js} +10 -10
- package/dist/bundle/{chunk-F5CQ2NVA.js → chunk-RC7TIYUZ.js} +11 -9
- package/dist/bundle/{chunk-P22V2OLJ.js → chunk-RG6ITTLQ.js} +22 -16
- package/dist/bundle/{chunk-T557KUST.js → chunk-RHJC4PHV.js} +3 -3
- package/dist/bundle/{chunk-Z54GPSVH.js → chunk-RNXYDBQO.js} +186 -162
- package/dist/bundle/{chunk-YVECM7XA.js → chunk-SMDWUPXE.js} +4 -4
- package/dist/bundle/{chunk-WRPRPVZF.js → chunk-SO2YVKBK.js} +44 -42
- package/dist/bundle/{chunk-KO455254.js → chunk-SXGAIQ5X.js} +13 -13
- package/dist/bundle/{chunk-EMKFG5BP.js → chunk-THGFFQCK.js} +3 -3
- package/dist/bundle/{chunk-FRB4UXJG.js → chunk-UCINAEIA.js} +6 -6
- package/dist/bundle/{chunk-GJKM32WA.js → chunk-UG2V7BQY.js} +24 -22
- package/dist/bundle/{chunk-2MNEM2CH.js → chunk-VDBFSLHP.js} +9 -7
- package/dist/bundle/{chunk-EFKEG2BA.js → chunk-VECICKTE.js} +5 -5
- package/dist/bundle/{chunk-4MIPN37I.js → chunk-VQM3H422.js} +266 -176
- package/dist/bundle/chunk-VXHN3SWW.js +35 -0
- package/dist/bundle/{chunk-EL4ZKQUN.js → chunk-WEOFWTWZ.js} +6 -4
- package/dist/bundle/{chunk-LEUNYKL6.js → chunk-WUCQ56RP.js} +3 -3
- package/dist/bundle/{chunk-SJLVBJ2L.js → chunk-XA6YO24S.js} +2 -2
- package/dist/bundle/{chunk-36ULPM2W.js → chunk-XPRYBLTS.js} +6 -6
- package/dist/bundle/{chunk-NKTAEBCU.js → chunk-XW4KGSAA.js} +13 -9
- package/dist/bundle/{chunk-2KOVYXWK.js → chunk-YAUDFROV.js} +1243 -743
- package/dist/bundle/{chunk-5XDYV2YT.js → chunk-ZD3STMY7.js} +1 -1
- package/dist/bundle/{chunk-XWS4PTES.js → chunk-ZKWE5MCA.js} +968 -287
- package/dist/bundle/command-contract-TMVGYSQQ.js +32 -0
- package/dist/bundle/{decode-BUTF6VGO.js → decode-6XSZIZAA.js} +5 -3
- package/dist/bundle/dispatch-VUMQPYMA.js +411 -0
- package/dist/bundle/{echarts-KH3YOWMK.js → echarts-NGS4QG4E.js} +2 -2
- package/dist/bundle/{embed-WBVM7KQ2.js → embed-YNH5M6UL.js} +6 -4
- package/dist/bundle/{embedder-27HQIFHM.js → embedder-LLNK4JF4.js} +11 -9
- package/dist/bundle/{entry-K2WWMF2B.js → entry-L42C5CHF.js} +7 -5
- package/dist/bundle/failure-TQJGSWRU.js +66 -0
- package/dist/bundle/failure-Z2FXWIBY.js +24 -0
- package/dist/bundle/first-run-TT6KMHKA.js +27 -0
- package/dist/bundle/first-screen-56KZKY77.js +30 -0
- package/dist/bundle/{instructions-POJKHKRZ.js → instructions-4EJ4BBWD.js} +1 -1
- package/dist/bundle/{mcp-FUSDPAOL.js → mcp-MNI62HHE.js} +4 -2
- package/dist/bundle/mcp-PNC3TI7O.js +90 -0
- package/dist/bundle/memo.js +182 -39
- package/dist/bundle/{node-W245R2OP.js → node-QQXKQWNC.js} +2 -2
- package/dist/bundle/{node-sqlite-FUYOXFW5.js → node-sqlite-GJI2GMLW.js} +6 -4
- package/dist/bundle/{oauth-ATB3NWQA.js → oauth-Q5VGUPUR.js} +7 -5
- package/dist/bundle/{open-HEBEWCYB.js → open-NSXIYF3N.js} +5 -3
- package/dist/bundle/{openai-DN7NA2IU.js → openai-LHH7MSGQ.js} +10 -8
- package/dist/bundle/{process-QTIDOJMF.js → process-PI6XUJWP.js} +1 -1
- package/dist/bundle/{program-62ISSWCE.js → program-ZIRYOO2T.js} +8414 -8372
- package/dist/bundle/{prompt-RQXVPJ4A.js → prompt-VFXA7IKL.js} +5 -3
- package/dist/bundle/{recognize-G7NIZ3IT.js → recognize-UWAARXOH.js} +4 -2
- package/dist/bundle/{remote-H452UBSK.js → remote-KGEVCB2Q.js} +7 -5
- package/dist/bundle/{rerank-77UYD2UD.js → rerank-SCBTCBPO.js} +7 -5
- package/dist/bundle/{serve-L6R4ODZV.js → serve-WPVKVR24.js} +9 -7
- package/dist/bundle/server-F2PSE6LG.js +48 -0
- package/dist/bundle/server-K5JYA3ZT.js +61 -0
- package/dist/bundle/{server-NB3U4PPW.js → server-VO5SXU5A.js} +69 -63
- package/dist/bundle/{setup-ZGH5OZ7A.js → setup-X6OJ3K4F.js} +47 -43
- package/dist/bundle/{state-KHMYDV4I.js → state-KGHS4C6J.js} +6 -4
- package/dist/bundle/{store-M7KGTLUG.js → store-VCVOIQES.js} +12 -10
- package/dist/bundle/store-maintenance-command-R4CP6AZN.js +48 -0
- package/dist/bundle/update-M6AIJ2SZ.js +69 -0
- package/dist/config.d.ts +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -2
- package/dist/config.js.map +1 -1
- package/dist/contract-overrides/skill.d.ts.map +1 -1
- package/dist/contract-overrides/skill.js +14 -0
- package/dist/contract-overrides/skill.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +31 -1
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +8 -52
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/project-actions-command.js +1 -1
- package/dist/knowledge/project-actions-command.js.map +1 -1
- package/dist/knowledge/project-gather-command.d.ts.map +1 -1
- package/dist/knowledge/project-gather-command.js +32 -19
- package/dist/knowledge/project-gather-command.js.map +1 -1
- package/dist/knowledge/relationships-scan.d.ts +8 -0
- package/dist/knowledge/relationships-scan.d.ts.map +1 -0
- package/dist/knowledge/relationships-scan.js +95 -0
- package/dist/knowledge/relationships-scan.js.map +1 -0
- package/dist/mail/command.d.ts.map +1 -1
- package/dist/mail/command.js +11 -1
- package/dist/mail/command.js.map +1 -1
- package/dist/mail/findings-command.d.ts +8 -0
- package/dist/mail/findings-command.d.ts.map +1 -0
- package/dist/mail/findings-command.js +80 -0
- package/dist/mail/findings-command.js.map +1 -0
- package/dist/mail/messages-command.d.ts.map +1 -1
- package/dist/mail/messages-command.js +27 -3
- package/dist/mail/messages-command.js.map +1 -1
- package/dist/mail/review-command.d.ts +12 -0
- package/dist/mail/review-command.d.ts.map +1 -0
- package/dist/mail/review-command.js +46 -0
- package/dist/mail/review-command.js.map +1 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +1 -1
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/kinds.d.ts +0 -6
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +14 -45
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/status.d.ts +1 -0
- package/dist/review/status.d.ts.map +1 -1
- package/dist/schedule/command.d.ts +3 -1
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +6 -1
- package/dist/schedule/command.js.map +1 -1
- package/dist/store/source-list.d.ts +2 -0
- package/dist/store/source-list.d.ts.map +1 -1
- package/dist/store/source-list.js +6 -0
- package/dist/store/source-list.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -3
- package/skills/cli-memo/SKILL.md +13 -5
- package/skills/mail-triage/SKILL.md +120 -0
- package/dist/bundle/auto-GDLRYDYK.js +0 -82
- package/dist/bundle/chunk-7J5HTZCM.js +0 -18
- package/dist/bundle/command-contract-NMJKYTS4.js +0 -30
- package/dist/bundle/failure-OJI6C5JA.js +0 -62
- package/dist/bundle/first-run-7P5N72VR.js +0 -23
- package/dist/bundle/first-screen-3GM5HC4Y.js +0 -28
- package/dist/bundle/mcp-YGWNSJUH.js +0 -86
- package/dist/bundle/server-SWUSQSRW.js +0 -44
- package/dist/bundle/server-W4IKTTUY.js +0 -57
- package/dist/bundle/store-maintenance-command-ZPN2ZUL4.js +0 -44
- package/dist/bundle/update-2IYA7RJU.js +0 -65
- /package/dist/bundle/{chunk-7YF2MSEC.js → chunk-YYQN5ES2.js} +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
resolvePaths
|
|
5
|
+
} from "./chunk-CDZZ2DZO.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
9
|
+
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
|
+
import { userInfo } from "node:os";
|
|
12
|
+
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
13
|
+
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
14
|
+
var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
|
|
15
|
+
var accountHome = /* @__PURE__ */ __name(() => {
|
|
16
|
+
try {
|
|
17
|
+
return userInfo().homedir;
|
|
18
|
+
} catch {
|
|
19
|
+
return void 0;
|
|
20
|
+
}
|
|
21
|
+
}, "accountHome");
|
|
22
|
+
var refuseOwnerStoreInTests = /* @__PURE__ */ __name((file, env = process.env, home = accountHome()) => {
|
|
23
|
+
if (!env.VITEST || !home || file === ":memory:")
|
|
24
|
+
return;
|
|
25
|
+
const inside = relative(wirecatDirectory({ HOME: home, USERPROFILE: home }), resolve(file));
|
|
26
|
+
if (inside.startsWith("..") || isAbsolute(inside))
|
|
27
|
+
return;
|
|
28
|
+
throw new Error(`a test tried to open ${file}, in the owner's real WireCat folder; give it a MESSAGING_STORE or HOME of its own`);
|
|
29
|
+
}, "refuseOwnerStoreInTests");
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
wirecatDirectory,
|
|
33
|
+
storePath,
|
|
34
|
+
refuseOwnerStoreInTests
|
|
35
|
+
};
|
|
@@ -7,16 +7,18 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VQM3H422.js";
|
|
11
11
|
import {
|
|
12
|
-
CliError,
|
|
13
12
|
jsonSchemaOf
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EG2OMKWH.js";
|
|
14
|
+
import {
|
|
15
|
+
CliError
|
|
16
|
+
} from "./chunk-CCHHEMPM.js";
|
|
15
17
|
import {
|
|
16
18
|
__name
|
|
17
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
20
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
20
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
21
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
22
24
|
const entity = answerEntitySchema(command);
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LGNS4JVK.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CCHHEMPM.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CCHHEMPM.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/http/public-url.js
|
|
11
11
|
var EXAMPLE = "--public-url https://<name>.ts.net";
|
|
12
12
|
var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
|
|
13
13
|
if (!given)
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
ACCESS_SECONDS,
|
|
5
|
-
REFRESH_SECONDS,
|
|
6
|
-
readStored
|
|
7
|
-
} from "./chunk-VUWUSGSN.js";
|
|
8
3
|
import {
|
|
9
4
|
OAuthError,
|
|
10
5
|
OAuthErrorCode
|
|
11
6
|
} from "./chunk-H3ZN4YLB.js";
|
|
7
|
+
import {
|
|
8
|
+
ACCESS_SECONDS,
|
|
9
|
+
REFRESH_SECONDS,
|
|
10
|
+
readStored
|
|
11
|
+
} from "./chunk-CP5N3KH3.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-QP3KNC5D.js";
|
|
6
6
|
import {
|
|
7
7
|
knownPermissionKeys
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UG2V7BQY.js";
|
|
9
9
|
import {
|
|
10
10
|
checkConfigText,
|
|
11
11
|
issueMessage,
|
|
@@ -13,15 +13,18 @@ import {
|
|
|
13
13
|
readConfigText,
|
|
14
14
|
settingPathOf,
|
|
15
15
|
withoutSetting
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VQM3H422.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_DECISION_POLICY
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YAUDFROV.js";
|
|
20
|
+
import {
|
|
21
|
+
configFilePath,
|
|
22
|
+
resolvePaths,
|
|
23
|
+
saveConfigFile
|
|
24
|
+
} from "./chunk-CDZZ2DZO.js";
|
|
20
25
|
import {
|
|
21
|
-
CliError,
|
|
22
26
|
array,
|
|
23
27
|
boolean,
|
|
24
|
-
configFilePath,
|
|
25
28
|
integer,
|
|
26
29
|
literal,
|
|
27
30
|
minLength,
|
|
@@ -31,12 +34,13 @@ import {
|
|
|
31
34
|
picklist,
|
|
32
35
|
pipe,
|
|
33
36
|
record,
|
|
34
|
-
resolvePaths,
|
|
35
|
-
saveConfigFile,
|
|
36
37
|
strictObject,
|
|
37
38
|
string,
|
|
38
39
|
union
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EG2OMKWH.js";
|
|
41
|
+
import {
|
|
42
|
+
CliError
|
|
43
|
+
} from "./chunk-CCHHEMPM.js";
|
|
40
44
|
import {
|
|
41
45
|
__name,
|
|
42
46
|
__toESM
|
|
@@ -352,7 +356,7 @@ var loadConfig = /* @__PURE__ */ __name((env = process.env) => {
|
|
|
352
356
|
var decisionPolicy = /* @__PURE__ */ __name((env) => {
|
|
353
357
|
let agentDecisions = false;
|
|
354
358
|
try {
|
|
355
|
-
agentDecisions = loadConfig(env).agent_decisions
|
|
359
|
+
agentDecisions = loadConfig(env).agent_decisions === true;
|
|
356
360
|
} catch {
|
|
357
361
|
}
|
|
358
362
|
return { ...DEFAULT_DECISION_POLICY, agentDecisions };
|