@mulmoclaude/core 1.14.0 → 2.0.0
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 +7 -7
- package/dist/collection/core/presentCollection.d.ts +1 -1
- 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/driveFile.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/google/tasks.d.ts +11 -11
- 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-DJgaDjM4.js → promptSafety-ACXw_2Yu.js} +48 -19
- package/dist/promptSafety-ACXw_2Yu.js.map +1 -0
- package/dist/{promptSafety-B52GvaJc.cjs → promptSafety-CNEW3_qS.cjs} +48 -19
- package/dist/promptSafety-CNEW3_qS.cjs.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-host/server/lifecycle.d.ts +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-D6EUf3BF.js → server-B78f_bnY.js} +12 -8
- package/dist/server-B78f_bnY.js.map +1 -0
- package/dist/{server-D7_oRbTJ.cjs → server-By4oSql2.cjs} +12 -8
- package/dist/server-By4oSql2.cjs.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 +8 -8
- 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,6 +1,6 @@
|
|
|
1
1
|
import { a as isErrorWithCode, l as isUnknownArray, r as hasNumberProp, s as isRecord } from "./dist-D8zokgGo.js";
|
|
2
2
|
import { t as writeFileAtomic } from "./atomic-DPpdrJzO.js";
|
|
3
|
-
import { A as fieldTextOrNull, C as FEED_SCHEDULES, D as isReadOnlySchema, O as storageKindFor, S as COMPUTED_TYPES, g as SAFE_SLUG_PATTERN, h as SAFE_RECORD_ID_PATTERN, k as fieldText, v as isSafeRecordId, w as INGEST_KINDS, x as AGENT_INGEST_KIND, y as isSafeSlug } from "./calendarGrid-
|
|
3
|
+
import { A as fieldTextOrNull, C as FEED_SCHEDULES, D as isReadOnlySchema, O as storageKindFor, S as COMPUTED_TYPES, g as SAFE_SLUG_PATTERN, h as SAFE_RECORD_ID_PATTERN, k as fieldText, v as isSafeRecordId, w as INGEST_KINDS, x as AGENT_INGEST_KIND, y as isSafeSlug } from "./calendarGrid-Csy2rpjp.js";
|
|
4
4
|
import { n as projectRecordFields } from "./project-B0j_Vf_Q.js";
|
|
5
5
|
import { n as isSafeCustomViewI18nPath, r as isSafeCustomViewPath, t as isSafeActionTemplatePath } from "./templatePath-k_WNbL_Q.js";
|
|
6
6
|
import { realpathSync, watch } from "node:fs";
|
|
@@ -587,7 +587,7 @@ function whereFragment(cond) {
|
|
|
587
587
|
const column = quoteIdent(cond.field);
|
|
588
588
|
const asText = `CAST(${column} AS VARCHAR)`;
|
|
589
589
|
if (cond.op === "in") {
|
|
590
|
-
const values = cond
|
|
590
|
+
const values = arrayValue(cond);
|
|
591
591
|
return {
|
|
592
592
|
sql: `${values.every((value) => typeof value === "string") ? asText : column} IN (${values.map(() => "?").join(", ")})`,
|
|
593
593
|
params: values
|
|
@@ -610,6 +610,14 @@ function whereFragment(cond) {
|
|
|
610
610
|
params: [scalarValue(cond)]
|
|
611
611
|
};
|
|
612
612
|
}
|
|
613
|
+
/** Mirror of `scalarValue` for the one op that takes a set: a scalar under
|
|
614
|
+
* `in` also means the query skipped `CollectionQueryZ`. Left unchecked it
|
|
615
|
+
* failed as `values.every is not a function`, naming neither the field nor
|
|
616
|
+
* the op. */
|
|
617
|
+
function arrayValue(cond) {
|
|
618
|
+
if (!Array.isArray(cond.value)) throw new Error(`where condition on '${cond.field}' uses op 'in', which requires an array value, not a scalar`);
|
|
619
|
+
return cond.value;
|
|
620
|
+
}
|
|
613
621
|
/** `CollectionQueryZ` refines "`in` ⇔ array value", so an array reaching a
|
|
614
622
|
* scalar op means the query was compiled without being validated first —
|
|
615
623
|
* binding it would send an array to a single `?`. */
|
|
@@ -674,9 +682,9 @@ function encodeCsvRecordId(rawKey) {
|
|
|
674
682
|
* `encodeCsvRecordId` for encoded ids; anything else is already the raw
|
|
675
683
|
* value. Pure + exported for unit tests. */
|
|
676
684
|
function decodeCsvRecordId(itemId) {
|
|
677
|
-
const
|
|
678
|
-
if (
|
|
679
|
-
return Buffer.from(
|
|
685
|
+
const hex = ENCODED_ID_PATTERN.exec(itemId)?.[1];
|
|
686
|
+
if (hex === void 0) return itemId;
|
|
687
|
+
return Buffer.from(hex, "hex").toString("utf-8");
|
|
680
688
|
}
|
|
681
689
|
/** Normalize one DuckDB JS value into a JSON-safe record value: BigInt →
|
|
682
690
|
* number (string beyond the safe range), DATE/TIMESTAMP → ISO string
|
|
@@ -2715,4 +2723,4 @@ function toDetail(collection) {
|
|
|
2715
2723
|
//#endregion
|
|
2716
2724
|
export { skillsStagingDir as $, deleteItem as A, itemFilePath as B, compileCsvQuery as C, MAX_QUERY_ROWS as D, DEFAULT_QUERY_ROWS as E, resolveCreateItemId as F, archiveDir as G, resolveTemplatePath as H, writeItem as I, getWorkspaceRoot as J, collectionsRegistriesConfigPath as K, SCHEMA_FILE as L, isRegularFile as M, listItems as N, BackendUnavailableError as O, readItem as P, setCollectionChangePublisher as Q, isContainedInRoot as R, queryCsv as S, CollectionQueryZ as T, safeRecordId as U, resolveDataDir as V, safeSlugName as W, log as X, isPresetSlug as Y, publishCollectionChange as Z, csvRowToItem as _, toDetail as a, encodeCsvRecordId as b, resolveMutateSet as c, storeFor as d, createForwardingLogger as et, checkpointSqliteDatabase as f, cacheDir as g, MAX_CSV_ROWS as h, resolvePrimaryField as i, generateItemId as j, isBackendUnavailable as k, collectionWritable as l, projectItemFields as m, discoverCollections as n, toSummary as o, pageFromFullRead as p, configureCollectionHost as q, loadCollection as r, CollectionSchemaZ as s, acceptParsedSchema as t, createHostSlot as tt, readOnlyRefusal as u, decodeCsvRecordId as v, compileJsonlQuery as w, normalizeCsvValue as x, dedupeByRecordId as y, isContainedInWorkspace as z };
|
|
2717
2725
|
|
|
2718
|
-
//# sourceMappingURL=discovery-
|
|
2726
|
+
//# sourceMappingURL=discovery-BSedPW8A.js.map
|