caveat-cli 0.19.0 → 0.19.2
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-ULK7SZG6.js → chunk-NZD3FHU6.js} +27 -25
- package/dist/chunk-NZD3FHU6.js.map +1 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/{server-H6MVY5OK.js → server-VOEJV4WH.js} +2 -2
- package/package.json +3 -3
- package/dist/chunk-ULK7SZG6.js.map +0 -1
- /package/dist/{server-H6MVY5OK.js.map → server-VOEJV4WH.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
userPromptSubmitReminderText,
|
|
76
76
|
writeDigestMarker,
|
|
77
77
|
writeUserConfigPatch
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-NZD3FHU6.js";
|
|
79
79
|
|
|
80
80
|
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
81
81
|
var require_code = __commonJS({
|
|
@@ -8548,7 +8548,7 @@ function runStats(ctx) {
|
|
|
8548
8548
|
|
|
8549
8549
|
// src/commands/serve.ts
|
|
8550
8550
|
async function runServe(opts) {
|
|
8551
|
-
const { startServer } = await import("./server-
|
|
8551
|
+
const { startServer } = await import("./server-VOEJV4WH.js");
|
|
8552
8552
|
const { port, host } = startServer({ port: opts.port });
|
|
8553
8553
|
process.stdout.write(`[caveat] web portal: http://${host}:${port}/
|
|
8554
8554
|
`);
|
|
@@ -34580,7 +34580,7 @@ function codexFeature(codexHome) {
|
|
|
34580
34580
|
const config2 = parseToml2(readFileSync10(path, "utf8"));
|
|
34581
34581
|
if (!isRecord2(config2.features)) return status(false, "feature_disabled");
|
|
34582
34582
|
const features = config2.features;
|
|
34583
|
-
return status(features.hooks === true && features.codex_hooks === void 0, "feature_disabled");
|
|
34583
|
+
return status(features.hooks === true && (features.codex_hooks === void 0 || features.codex_hooks === true), "feature_disabled");
|
|
34584
34584
|
} catch {
|
|
34585
34585
|
return unverified("config_unreadable");
|
|
34586
34586
|
}
|