@mulmoclaude/core 3.6.0 → 3.10.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/collection/core/itemId.d.ts +28 -0
- package/dist/collection/firestore.cjs +9 -1
- package/dist/collection/firestore.cjs.map +1 -1
- package/dist/collection/firestore.js +10 -2
- package/dist/collection/firestore.js.map +1 -1
- package/dist/collection/index.cjs +55 -66
- package/dist/collection/index.cjs.map +1 -1
- package/dist/collection/index.d.ts +1 -1
- package/dist/collection/index.js +3 -15
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/registry/server/index.cjs +2 -2
- package/dist/collection/registry/server/index.js +2 -2
- package/dist/collection/server/firestoreDocs.d.ts +18 -0
- package/dist/collection/server/host.d.ts +40 -0
- package/dist/collection/server/index.cjs +25 -4
- package/dist/collection/server/index.d.ts +4 -1
- package/dist/collection/server/index.js +4 -4
- package/dist/collection/server/io.d.ts +5 -3
- package/dist/collection/server/publishChecks.d.ts +29 -0
- package/dist/collection/server/publishManifest.d.ts +181 -0
- package/dist/collection/server/publishProject.d.ts +255 -0
- package/dist/collection/server/validate.d.ts +12 -0
- package/dist/collection-watchers/index.cjs +70 -26
- package/dist/collection-watchers/index.cjs.map +1 -1
- package/dist/collection-watchers/index.js +67 -23
- package/dist/collection-watchers/index.js.map +1 -1
- package/dist/{discovery-CdkaURVY.js → discovery-B9zdNkgW.js} +189 -18
- package/dist/discovery-B9zdNkgW.js.map +1 -0
- package/dist/{discovery-Cw5xWzZD.cjs → discovery-BsXiDZBR.cjs} +226 -43
- package/dist/discovery-BsXiDZBR.cjs.map +1 -0
- package/dist/feeds/index.cjs +4 -4
- package/dist/feeds/index.js +2 -2
- package/dist/feeds/server/index.cjs +6 -6
- package/dist/feeds/server/index.js +4 -4
- package/dist/firestore/listen.d.ts +4 -0
- package/dist/google/index.cjs +5 -5
- package/dist/google/index.cjs.map +1 -1
- package/dist/google/index.js +2 -2
- package/dist/{ingestTypes-CEi-Ot7F.js → ingestTypes-B312BwXg.js} +2 -2
- package/dist/{ingestTypes-CEi-Ot7F.js.map → ingestTypes-B312BwXg.js.map} +1 -1
- package/dist/{ingestTypes-iaiq33Ph.cjs → ingestTypes-B4XfrUoq.cjs} +3 -3
- package/dist/{ingestTypes-iaiq33Ph.cjs.map → ingestTypes-B4XfrUoq.cjs.map} +1 -1
- package/dist/{calendarGrid-CQ8MVSRb.js → itemId-DfTm08jm.js} +34 -2
- package/dist/itemId-DfTm08jm.js.map +1 -0
- package/dist/{calendarGrid-DGILaVxI.cjs → itemId-Dzrr3vs5.cjs} +45 -1
- package/dist/itemId-Dzrr3vs5.cjs.map +1 -0
- package/dist/listen-D5av7GzB.js +22 -0
- package/dist/listen-D5av7GzB.js.map +1 -0
- package/dist/listen-UZA68Upt.cjs +45 -0
- package/dist/listen-UZA68Upt.cjs.map +1 -0
- package/dist/{promptSafety-CpiME8pj.js → promptSafety-CSdyp7RF.js} +2 -2
- package/dist/{promptSafety-CpiME8pj.js.map → promptSafety-CSdyp7RF.js.map} +1 -1
- package/dist/{promptSafety-NNGViiCr.cjs → promptSafety-CWqYq-NS.cjs} +8 -8
- package/dist/{promptSafety-NNGViiCr.cjs.map → promptSafety-CWqYq-NS.cjs.map} +1 -1
- package/dist/remote-host/server/hostRunner.d.ts +2 -4
- package/dist/remote-host/server/index.cjs +4 -19
- package/dist/remote-host/server/index.cjs.map +1 -1
- package/dist/remote-host/server/index.js +1 -16
- package/dist/remote-host/server/index.js.map +1 -1
- package/dist/{server-DdHaX_Uu.js → server-BNe8XMtu.js} +677 -6
- package/dist/server-BNe8XMtu.js.map +1 -0
- package/dist/{server-9mFaGLdq.cjs → server-CgkkWWBd.cjs} +807 -22
- package/dist/server-CgkkWWBd.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/calendarGrid-CQ8MVSRb.js.map +0 -1
- package/dist/calendarGrid-DGILaVxI.cjs.map +0 -1
- package/dist/collection/core/shortHexId.d.ts +0 -8
- package/dist/discovery-CdkaURVY.js.map +0 -1
- package/dist/discovery-Cw5xWzZD.cjs.map +0 -1
- package/dist/server-9mFaGLdq.cjs.map +0 -1
- package/dist/server-DdHaX_Uu.js.map +0 -1
package/dist/feeds/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
const require_ingestTypes = require("../ingestTypes-
|
|
2
|
+
const require_itemId = require("../itemId-Dzrr3vs5.cjs");
|
|
3
|
+
const require_ingestTypes = require("../ingestTypes-B4XfrUoq.cjs");
|
|
4
4
|
exports.AGENT_INGEST_KIND = require_ingestTypes.AGENT_INGEST_KIND;
|
|
5
5
|
exports.DEFAULT_FEED_MAX_ITEMS = require_ingestTypes.DEFAULT_FEED_MAX_ITEMS;
|
|
6
|
-
exports.FEED_SCHEDULES =
|
|
7
|
-
exports.INGEST_KINDS =
|
|
6
|
+
exports.FEED_SCHEDULES = require_itemId.FEED_SCHEDULES;
|
|
7
|
+
exports.INGEST_KINDS = require_itemId.INGEST_KINDS;
|
|
8
8
|
exports.isFeedSchedule = require_ingestTypes.isFeedSchedule;
|
package/dist/feeds/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as DEFAULT_FEED_MAX_ITEMS, r as isFeedSchedule, t as AGENT_INGEST_KIND } from "../ingestTypes-
|
|
1
|
+
import { F as INGEST_KINDS, P as FEED_SCHEDULES } from "../itemId-DfTm08jm.js";
|
|
2
|
+
import { n as DEFAULT_FEED_MAX_ITEMS, r as isFeedSchedule, t as AGENT_INGEST_KIND } from "../ingestTypes-B312BwXg.js";
|
|
3
3
|
export { AGENT_INGEST_KIND, DEFAULT_FEED_MAX_ITEMS, FEED_SCHEDULES, INGEST_KINDS, isFeedSchedule };
|
|
@@ -2,12 +2,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_rolldown_runtime = require("../../rolldown-runtime-VH7oDXx4.cjs");
|
|
3
3
|
const require_dist = require("../../dist-CsgSfWwR.cjs");
|
|
4
4
|
const require_root = require("../../root-rPH6FGDT.cjs");
|
|
5
|
-
const
|
|
5
|
+
const require_itemId = require("../../itemId-Dzrr3vs5.cjs");
|
|
6
6
|
const require_project = require("../../project-C1ep9pvo.cjs");
|
|
7
|
-
const require_discovery = require("../../discovery-
|
|
8
|
-
const require_server = require("../../server-
|
|
7
|
+
const require_discovery = require("../../discovery-BsXiDZBR.cjs");
|
|
8
|
+
const require_server = require("../../server-CgkkWWBd.cjs");
|
|
9
9
|
const require_feeds_paths = require("../paths.cjs");
|
|
10
|
-
const require_ingestTypes = require("../../ingestTypes-
|
|
10
|
+
const require_ingestTypes = require("../../ingestTypes-B4XfrUoq.cjs");
|
|
11
11
|
const require_notifier = require("../../notifier-DZJj0sOh.cjs");
|
|
12
12
|
let node_path = require("node:path");
|
|
13
13
|
node_path = require_rolldown_runtime.__toESM(node_path, 1);
|
|
@@ -1001,8 +1001,8 @@ exports.DEFAULT_FEED_MAX_ITEMS = require_ingestTypes.DEFAULT_FEED_MAX_ITEMS;
|
|
|
1001
1001
|
exports.DEFAULT_FEED_REFRESH_INTERVAL_MS = DEFAULT_FEED_REFRESH_INTERVAL_MS;
|
|
1002
1002
|
exports.FEEDS_DIR = require_feeds_paths.FEEDS_DIR;
|
|
1003
1003
|
exports.FEED_REFRESH_TASK_ID = FEED_REFRESH_TASK_ID;
|
|
1004
|
-
exports.FEED_SCHEDULES =
|
|
1005
|
-
exports.INGEST_KINDS =
|
|
1004
|
+
exports.FEED_SCHEDULES = require_itemId.FEED_SCHEDULES;
|
|
1005
|
+
exports.INGEST_KINDS = require_itemId.INGEST_KINDS;
|
|
1006
1006
|
exports.configureFeedsHost = configureFeedsHost;
|
|
1007
1007
|
exports.feedDir = require_feeds_paths.feedDir;
|
|
1008
1008
|
exports.feedRefreshTaskDef = feedRefreshTaskDef;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as isErrorWithCode, l as isUnknownArray, s as isRecord$1 } from "../../dist-D8zokgGo.js";
|
|
2
2
|
import { t as canonicalRoot } from "../../root-BMroU_mB.js";
|
|
3
|
-
import {
|
|
3
|
+
import { F as INGEST_KINDS, P as FEED_SCHEDULES } from "../../itemId-DfTm08jm.js";
|
|
4
4
|
import { t as mergeIntoExisting } from "../../project-B0j_Vf_Q.js";
|
|
5
|
-
import { K as safeSlugName, U as resolveDataDir,
|
|
6
|
-
import {
|
|
5
|
+
import { K as safeSlugName, U as resolveDataDir, _t as createHostSlot, d as storeFor, gt as createForwardingLogger, k as listItems, n as discoverCollections } from "../../discovery-B9zdNkgW.js";
|
|
6
|
+
import { I as readSkillTemplate, M as buildCollectionActionSeedPrompt, N as promptPathsFor } from "../../server-BNe8XMtu.js";
|
|
7
7
|
import { FEEDS_DIR, feedDir, feedStatePath, feedsRoot, ingestStateDir, ingestStatePath } from "../paths.js";
|
|
8
|
-
import { n as DEFAULT_FEED_MAX_ITEMS, r as isFeedSchedule, t as AGENT_INGEST_KIND } from "../../ingestTypes-
|
|
8
|
+
import { n as DEFAULT_FEED_MAX_ITEMS, r as isFeedSchedule, t as AGENT_INGEST_KIND } from "../../ingestTypes-B312BwXg.js";
|
|
9
9
|
import { d as publish, n as clear } from "../../notifier-DhnwR82U.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { createHash } from "node:crypto";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const classifyListenerError: (error: unknown) => "transient" | "fatal";
|
|
2
|
+
export declare const LISTEN_RETRY_WINDOW_MS: number;
|
|
3
|
+
export declare const shouldGiveUpListening: (downSinceMs: number, now: number, windowMs?: number) => boolean;
|
|
4
|
+
export declare const backoffDelayMs: (attempt: number) => number;
|
package/dist/google/index.cjs
CHANGED
|
@@ -4,9 +4,9 @@ const require_dist = require("../dist-CsgSfWwR.cjs");
|
|
|
4
4
|
const require_text = require("../text-CaAh9ZSO.cjs");
|
|
5
5
|
const require_root = require("../root-rPH6FGDT.cjs");
|
|
6
6
|
const require_utils_fetch = require("../utils/fetch.cjs");
|
|
7
|
-
const
|
|
7
|
+
const require_itemId = require("../itemId-Dzrr3vs5.cjs");
|
|
8
8
|
const require_project = require("../project-C1ep9pvo.cjs");
|
|
9
|
-
const require_discovery = require("../discovery-
|
|
9
|
+
const require_discovery = require("../discovery-BsXiDZBR.cjs");
|
|
10
10
|
const require_paths = require("../paths-ClV946_f.cjs");
|
|
11
11
|
let node_fs = require("node:fs");
|
|
12
12
|
let node_path = require("node:path");
|
|
@@ -1312,7 +1312,7 @@ var MAX_SECONDS = 59;
|
|
|
1312
1312
|
* already share, so the push agrees with the rest of the app on what a valid
|
|
1313
1313
|
* stored date IS — and rejects an impossible one here instead of turning it
|
|
1314
1314
|
* into an opaque Google 400. */
|
|
1315
|
-
var isCalendarDate = (value) =>
|
|
1315
|
+
var isCalendarDate = (value) => require_itemId.parseIsoDate(value) !== null;
|
|
1316
1316
|
/** A value Google already accepts verbatim, as the event time to send, or null.
|
|
1317
1317
|
*
|
|
1318
1318
|
* Reached when the schema maps `start` onto a `string` field: `projectValue`
|
|
@@ -1324,7 +1324,7 @@ function rawGoogleTime(value) {
|
|
|
1324
1324
|
const zone = value.match(ZONE_SUFFIX_RE$1)?.[0];
|
|
1325
1325
|
if (zone === void 0) return null;
|
|
1326
1326
|
const civil = value.slice(0, value.length - zone.length).replace(FRACTIONAL_SECONDS_RE$1, "");
|
|
1327
|
-
return
|
|
1327
|
+
return require_itemId.parseIsoDateTime(civil) === null ? null : { dateTime: value };
|
|
1328
1328
|
}
|
|
1329
1329
|
/** Google's own all-day `end` is EXCLUSIVE — a single day on the 12th ends on
|
|
1330
1330
|
* the 13th. The pull stores that as `2026-05-13T00:00` and this takes the date
|
|
@@ -1354,7 +1354,7 @@ function clockSegments(clockPart) {
|
|
|
1354
1354
|
* Validity comes from the shared strict parser, so an out-of-range clock or an
|
|
1355
1355
|
* impossible day is refused here rather than sent to Google. */
|
|
1356
1356
|
function parseStoredDateTime(value) {
|
|
1357
|
-
if (
|
|
1357
|
+
if (require_itemId.parseIsoDateTime(value) === null) return null;
|
|
1358
1358
|
const [datePart, clockPart, ...extra] = value.split(DATE_TIME_SEPARATOR);
|
|
1359
1359
|
if (datePart === void 0 || clockPart === void 0 || extra.length > 0) return null;
|
|
1360
1360
|
const clock = clockSegments(clockPart);
|