@mulmoclaude/core 1.14.0 → 1.14.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/atomic-C_7YpMiM.cjs.map +1 -1
- package/dist/atomic-DPpdrJzO.js.map +1 -1
- package/dist/{calendarGrid-DivcNKkX.js → calendarGrid-Csy2rpjp.js} +58 -28
- package/dist/{calendarGrid-DivcNKkX.js.map → calendarGrid-Csy2rpjp.js.map} +1 -1
- package/dist/{calendarGrid-BQYqOCnF.cjs → calendarGrid-p8K-7cuB.cjs} +58 -28
- package/dist/{calendarGrid-BQYqOCnF.cjs.map → calendarGrid-p8K-7cuB.cjs.map} +1 -1
- package/dist/collection/core/actionVisible.d.ts +3 -3
- package/dist/collection/core/completion.d.ts +5 -5
- package/dist/collection/index.cjs +5 -8
- package/dist/collection/index.cjs.map +1 -1
- package/dist/collection/index.js +5 -8
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/registry/registryIndex.d.ts +1 -1
- package/dist/collection/registry/server/index.cjs +14 -12
- package/dist/collection/registry/server/index.cjs.map +1 -1
- package/dist/collection/registry/server/index.js +14 -12
- package/dist/collection/registry/server/index.js.map +1 -1
- package/dist/collection/server/discovery.d.ts +2 -2
- package/dist/collection/server/index.cjs +3 -3
- package/dist/collection/server/index.js +3 -3
- package/dist/collection/server/io.d.ts +3 -3
- package/dist/collection/server/manageTool.d.ts +3 -3
- package/dist/collection/server/store.d.ts +3 -3
- package/dist/collection/server/validate.d.ts +1 -1
- package/dist/collection-watchers/index.cjs +5 -5
- package/dist/collection-watchers/index.js +5 -5
- package/dist/{discovery-D6p4ITNR.js → discovery-BSedPW8A.js} +14 -6
- package/dist/discovery-BSedPW8A.js.map +1 -0
- package/dist/{discovery-CRDx6TS4.cjs → discovery-DSLgRQhN.cjs} +14 -6
- package/dist/discovery-DSLgRQhN.cjs.map +1 -0
- package/dist/feeds/index.cjs +2 -2
- package/dist/feeds/index.js +2 -2
- package/dist/feeds/server/host.d.ts +2 -2
- package/dist/feeds/server/index.cjs +11 -11
- package/dist/feeds/server/index.cjs.map +1 -1
- package/dist/feeds/server/index.js +11 -11
- package/dist/feeds/server/index.js.map +1 -1
- package/dist/feeds/server/refreshResult.d.ts +2 -2
- package/dist/files/index.cjs +3 -2
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +3 -2
- package/dist/files/index.js.map +1 -1
- package/dist/google/calendar.d.ts +24 -24
- package/dist/google/collectionSync.d.ts +2 -2
- package/dist/google/index.cjs +3 -3
- package/dist/google/index.cjs.map +1 -1
- package/dist/google/index.js +3 -3
- package/dist/google/index.js.map +1 -1
- package/dist/{graph-DjE1Az1C.cjs → graph-BZJxiv1E.cjs} +10 -12
- package/dist/graph-BZJxiv1E.cjs.map +1 -0
- package/dist/{graph-BcwqiSpR.js → graph-Ce7xsDTt.js} +10 -12
- package/dist/graph-Ce7xsDTt.js.map +1 -0
- package/dist/{ingestTypes-C7IJSqv4.cjs → ingestTypes-CPR-h-OZ.cjs} +2 -2
- package/dist/{ingestTypes-C7IJSqv4.cjs.map → ingestTypes-CPR-h-OZ.cjs.map} +1 -1
- package/dist/{ingestTypes-DmtDLRmt.js → ingestTypes-F2IJhOLJ.js} +2 -2
- package/dist/{ingestTypes-DmtDLRmt.js.map → ingestTypes-F2IJhOLJ.js.map} +1 -1
- package/dist/notifier/index.cjs +1 -1
- package/dist/notifier/index.js +1 -1
- package/dist/notifier/types.d.ts +4 -4
- package/dist/{notifier-Wc4M24Bi.cjs → notifier-CKFVVwDP.cjs} +35 -24
- package/dist/notifier-CKFVVwDP.cjs.map +1 -0
- package/dist/{notifier-Dxh8mEFh.js → notifier-CQD8NljP.js} +35 -24
- package/dist/notifier-CQD8NljP.js.map +1 -0
- package/dist/{promptSafety-B52GvaJc.cjs → promptSafety-DUZ5BiW5.cjs} +11 -7
- package/dist/promptSafety-DUZ5BiW5.cjs.map +1 -0
- package/dist/{promptSafety-DJgaDjM4.js → promptSafety-DgHMF4Pz.js} +11 -7
- package/dist/promptSafety-DgHMF4Pz.js.map +1 -0
- package/dist/remote-host/server/hostRunner.d.ts +7 -2
- package/dist/remote-host/server/index.cjs +12 -9
- package/dist/remote-host/server/index.cjs.map +1 -1
- package/dist/remote-host/server/index.js +13 -10
- package/dist/remote-host/server/index.js.map +1 -1
- package/dist/remote-view/index.cjs.map +1 -1
- package/dist/remote-view/index.d.ts +1 -1
- package/dist/remote-view/index.js.map +1 -1
- package/dist/scheduler/adapter.d.ts +4 -4
- package/dist/scheduler/index.cjs +34 -2
- package/dist/scheduler/index.cjs.map +1 -1
- package/dist/scheduler/index.js +34 -2
- package/dist/scheduler/index.js.map +1 -1
- package/dist/scheduler/task-manager.d.ts +2 -2
- package/dist/{server-D7_oRbTJ.cjs → server-1c6gB372.cjs} +12 -8
- package/dist/server-1c6gB372.cjs.map +1 -0
- package/dist/{server-D6EUf3BF.js → server-Dv_L7l0y.js} +12 -8
- package/dist/server-Dv_L7l0y.js.map +1 -0
- package/dist/skill-bridge/index.cjs +3 -4
- package/dist/skill-bridge/index.cjs.map +1 -1
- package/dist/skill-bridge/index.js +3 -4
- package/dist/skill-bridge/index.js.map +1 -1
- package/dist/types-BKVZrtyc.js.map +1 -1
- package/dist/types-CNqkLT4M.cjs.map +1 -1
- package/dist/utils/fetch.cjs.map +1 -1
- package/dist/utils/fetch.d.ts +1 -1
- package/dist/utils/fetch.js.map +1 -1
- package/dist/whisper/client.cjs.map +1 -1
- package/dist/whisper/client.d.ts +3 -3
- package/dist/whisper/client.js.map +1 -1
- package/dist/wiki/index.cjs +2 -2
- package/dist/wiki/index.cjs.map +1 -1
- package/dist/wiki/index.js +2 -2
- package/dist/wiki/index.js.map +1 -1
- package/dist/wiki/server/index.cjs +15 -12
- package/dist/wiki/server/index.cjs.map +1 -1
- package/dist/wiki/server/index.js +15 -12
- package/dist/wiki/server/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/discovery-CRDx6TS4.cjs.map +0 -1
- package/dist/discovery-D6p4ITNR.js.map +0 -1
- package/dist/graph-BcwqiSpR.js.map +0 -1
- package/dist/graph-DjE1Az1C.cjs.map +0 -1
- package/dist/notifier-Dxh8mEFh.js.map +0 -1
- package/dist/notifier-Wc4M24Bi.cjs.map +0 -1
- package/dist/promptSafety-B52GvaJc.cjs.map +0 -1
- package/dist/promptSafety-DJgaDjM4.js.map +0 -1
- package/dist/server-D6EUf3BF.js.map +0 -1
- package/dist/server-D7_oRbTJ.cjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-D6vf50IK.cjs");
|
|
2
2
|
const require_dist = require("./dist-CsgSfWwR.cjs");
|
|
3
3
|
const require_atomic = require("./atomic-C_7YpMiM.cjs");
|
|
4
|
-
const require_calendarGrid = require("./calendarGrid-
|
|
4
|
+
const require_calendarGrid = require("./calendarGrid-p8K-7cuB.cjs");
|
|
5
5
|
const require_project = require("./project-C1ep9pvo.cjs");
|
|
6
6
|
const require_templatePath = require("./templatePath-27vUZowm.cjs");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
@@ -590,7 +590,7 @@ function whereFragment(cond) {
|
|
|
590
590
|
const column = quoteIdent(cond.field);
|
|
591
591
|
const asText = `CAST(${column} AS VARCHAR)`;
|
|
592
592
|
if (cond.op === "in") {
|
|
593
|
-
const values = cond
|
|
593
|
+
const values = arrayValue(cond);
|
|
594
594
|
return {
|
|
595
595
|
sql: `${values.every((value) => typeof value === "string") ? asText : column} IN (${values.map(() => "?").join(", ")})`,
|
|
596
596
|
params: values
|
|
@@ -613,6 +613,14 @@ function whereFragment(cond) {
|
|
|
613
613
|
params: [scalarValue(cond)]
|
|
614
614
|
};
|
|
615
615
|
}
|
|
616
|
+
/** Mirror of `scalarValue` for the one op that takes a set: a scalar under
|
|
617
|
+
* `in` also means the query skipped `CollectionQueryZ`. Left unchecked it
|
|
618
|
+
* failed as `values.every is not a function`, naming neither the field nor
|
|
619
|
+
* the op. */
|
|
620
|
+
function arrayValue(cond) {
|
|
621
|
+
if (!Array.isArray(cond.value)) throw new Error(`where condition on '${cond.field}' uses op 'in', which requires an array value, not a scalar`);
|
|
622
|
+
return cond.value;
|
|
623
|
+
}
|
|
616
624
|
/** `CollectionQueryZ` refines "`in` ⇔ array value", so an array reaching a
|
|
617
625
|
* scalar op means the query was compiled without being validated first —
|
|
618
626
|
* binding it would send an array to a single `?`. */
|
|
@@ -677,9 +685,9 @@ function encodeCsvRecordId(rawKey) {
|
|
|
677
685
|
* `encodeCsvRecordId` for encoded ids; anything else is already the raw
|
|
678
686
|
* value. Pure + exported for unit tests. */
|
|
679
687
|
function decodeCsvRecordId(itemId) {
|
|
680
|
-
const
|
|
681
|
-
if (
|
|
682
|
-
return Buffer.from(
|
|
688
|
+
const hex = ENCODED_ID_PATTERN.exec(itemId)?.[1];
|
|
689
|
+
if (hex === void 0) return itemId;
|
|
690
|
+
return Buffer.from(hex, "hex").toString("utf-8");
|
|
683
691
|
}
|
|
684
692
|
/** Normalize one DuckDB JS value into a JSON-safe record value: BigInt →
|
|
685
693
|
* number (string beyond the safe range), DATE/TIMESTAMP → ISO string
|
|
@@ -3047,4 +3055,4 @@ Object.defineProperty(exports, "writeItem", {
|
|
|
3047
3055
|
}
|
|
3048
3056
|
});
|
|
3049
3057
|
|
|
3050
|
-
//# sourceMappingURL=discovery-
|
|
3058
|
+
//# sourceMappingURL=discovery-DSLgRQhN.cjs.map
|