@mulmoclaude/core 7.7.0 → 7.7.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/README.md +1 -1
- package/assets/helps/bug-report-faq.md +7 -7
- package/assets/helps/error-recovery.md +2 -2
- package/assets/helps/sandbox.md +4 -2
- package/dist/collection/index.cjs +3 -3
- package/dist/collection/index.js +3 -3
- package/dist/collection/registry/server/index.cjs +3 -3
- package/dist/collection/registry/server/index.js +3 -3
- package/dist/collection/server/index.cjs +2 -2
- package/dist/collection/server/index.js +2 -2
- package/dist/collection-watchers/index.cjs +4 -4
- package/dist/collection-watchers/index.js +4 -4
- package/dist/{discovery-DEhLlDVW.js → discovery-CImpaG95.js} +4 -4
- package/dist/discovery-CImpaG95.js.map +1 -0
- package/dist/{discovery-BSvWBOGB.cjs → discovery-CY4pvgo9.cjs} +4 -4
- package/dist/discovery-CY4pvgo9.cjs.map +1 -0
- package/dist/{dist-CdSEjlVx.cjs → dist-734JaRYi.cjs} +2 -2
- package/dist/dist-734JaRYi.cjs.map +1 -0
- package/dist/{dist--searOB5.js → dist-BmO4oSQy.js} +2 -2
- package/dist/dist-BmO4oSQy.js.map +1 -0
- package/dist/errorMessage-D0kR547_.cjs +1 -0
- package/dist/errorMessage-TpKxrmeo.js +1 -0
- package/dist/{errors-BbH5CeKm.js → errors-0QwjDxsv.js} +2 -2
- package/dist/{errors-BbH5CeKm.js.map → errors-0QwjDxsv.js.map} +1 -1
- package/dist/{errors-B7ShVbIB.cjs → errors-B9mCEVG9.cjs} +2 -2
- package/dist/{errors-B7ShVbIB.cjs.map → errors-B9mCEVG9.cjs.map} +1 -1
- package/dist/feeds/server/index.cjs +5 -5
- package/dist/feeds/server/index.cjs.map +1 -1
- package/dist/feeds/server/index.js +5 -5
- package/dist/feeds/server/index.js.map +1 -1
- package/dist/google/index.cjs +3 -3
- package/dist/google/index.js +3 -3
- package/dist/{listen-OGOFPIdk.cjs → listen-OmfLDX1l.cjs} +2 -2
- package/dist/{listen-OGOFPIdk.cjs.map → listen-OmfLDX1l.cjs.map} +1 -1
- package/dist/{listen-Bm8N0g9o.js → listen-uiEnXcW9.js} +2 -2
- package/dist/{listen-Bm8N0g9o.js.map → listen-uiEnXcW9.js.map} +1 -1
- package/dist/notifier/index.cjs +1 -1
- package/dist/notifier/index.js +1 -1
- package/dist/{notifier-8R05SHLj.cjs → notifier-CRTk34EC.cjs} +2 -2
- package/dist/{notifier-8R05SHLj.cjs.map → notifier-CRTk34EC.cjs.map} +1 -1
- package/dist/{notifier-D7TmVus0.js → notifier-htdf4ekH.js} +2 -2
- package/dist/{notifier-D7TmVus0.js.map → notifier-htdf4ekH.js.map} +1 -1
- package/dist/plugin-vue/index.cjs +1 -1
- package/dist/plugin-vue/index.cjs.map +1 -1
- package/dist/plugin-vue/index.js +1 -1
- package/dist/plugin-vue/index.js.map +1 -1
- package/dist/prompt-files/index.cjs +1 -1
- package/dist/prompt-files/index.js +1 -1
- package/dist/{promptSafety-CYU_kLUL.js → promptSafety-B8LECAkY.js} +2 -2
- package/dist/{promptSafety-CYU_kLUL.js.map → promptSafety-B8LECAkY.js.map} +1 -1
- package/dist/{promptSafety-CF6OCtor.cjs → promptSafety-CjxafW2b.cjs} +2 -2
- package/dist/{promptSafety-CF6OCtor.cjs.map → promptSafety-CjxafW2b.cjs.map} +1 -1
- package/dist/remote-host/index.cjs +1 -1
- package/dist/remote-host/index.js +1 -1
- package/dist/remote-host/server/index.cjs +4 -4
- package/dist/remote-host/server/index.js +4 -4
- package/dist/{remote-host-neXWDACl.cjs → remote-host-11euEZKP.cjs} +2 -2
- package/dist/{remote-host-neXWDACl.cjs.map → remote-host-11euEZKP.cjs.map} +1 -1
- package/dist/{remote-host-BiCg_ioB.js → remote-host-TiMhcW1o.js} +2 -2
- package/dist/{remote-host-BiCg_ioB.js.map → remote-host-TiMhcW1o.js.map} +1 -1
- package/dist/remote-view/index.cjs +1 -1
- package/dist/remote-view/index.js +1 -1
- package/dist/runtime-plugins/index.cjs +1 -1
- package/dist/runtime-plugins/index.js +1 -1
- package/dist/scheduler/index.cjs +2 -2
- package/dist/scheduler/index.js +2 -2
- package/dist/{server-C3HNV-PG.js → server-B5TZjZN9.js} +5 -5
- package/dist/{server-C3HNV-PG.js.map → server-B5TZjZN9.js.map} +1 -1
- package/dist/{server-BxwOUg_l.cjs → server-BXtSbL-b.cjs} +5 -5
- package/dist/{server-BxwOUg_l.cjs.map → server-BXtSbL-b.cjs.map} +1 -1
- package/dist/utils/index.cjs +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/whisper/index.cjs +2 -2
- package/dist/whisper/index.js +2 -2
- package/dist/wiki/index.cjs +1 -1
- package/dist/wiki/index.js +1 -1
- package/dist/workspace-setup/index.js +1 -1
- package/dist/workspace-setup/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/discovery-BSvWBOGB.cjs.map +0 -1
- package/dist/discovery-DEhLlDVW.js.map +0 -1
- package/dist/dist--searOB5.js.map +0 -1
- package/dist/dist-CdSEjlVx.cjs.map +0 -1
- package/dist/errorMessage-B-iVKe5R.cjs +0 -1
- package/dist/errorMessage-D-HWCI2W.js +0 -1
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ rather than imported, which is what lets the same code run under either.
|
|
|
30
30
|
`./collection/firestore` and `./remote-host/server`. Every
|
|
31
31
|
other entry must LOAD with the package absent — a host that uses no Firestore
|
|
32
32
|
installs nothing — under `import` and `require` alike.
|
|
33
|
-
`test/workspace/collections/test_optionalFirebasePeer.ts` in the MulmoClaude
|
|
33
|
+
`packages/mulmoclaude/test/workspace/collections/test_optionalFirebasePeer.ts` in the MulmoClaude
|
|
34
34
|
repository holds that line: it loads every entry in the exports map, under both
|
|
35
35
|
conditions, with `firebase` made unresolvable. It is a sweep, not a static
|
|
36
36
|
guarantee — an import added to a module an entry reaches is caught by running
|
|
@@ -48,7 +48,7 @@ greyed out" is a different question from "never turned on".
|
|
|
48
48
|
## I don't get a notification when a task finishes
|
|
49
49
|
|
|
50
50
|
configKey: pushEnabled
|
|
51
|
-
source: server/agent/webPush.ts
|
|
51
|
+
source: packages/mulmoclaude/server/agent/webPush.ts
|
|
52
52
|
help: remote-host.md
|
|
53
53
|
|
|
54
54
|
Two conditions must hold at once, so read both before calling it a bug. `pushEnabled` in the live
|
|
@@ -59,7 +59,7 @@ who never connected a phone has nothing to receive the push regardless of the se
|
|
|
59
59
|
## MulmoClaude is answering with a different model than I expected
|
|
60
60
|
|
|
61
61
|
configKey: chatModel
|
|
62
|
-
source: server/agent/config.ts
|
|
62
|
+
source: packages/mulmoclaude/server/agent/config.ts
|
|
63
63
|
|
|
64
64
|
Read `chatModel` from the live settings. Absent means MulmoClaude passes no `--model` at all and the
|
|
65
65
|
CLI resolves the model from `~/.claude/settings.json` — the same file the VS Code and Cursor Claude
|
|
@@ -71,7 +71,7 @@ independently of that shared file. A session already running keeps its model unt
|
|
|
71
71
|
## My chats never get titles or summaries
|
|
72
72
|
|
|
73
73
|
configKey: chatIndex
|
|
74
|
-
source: server/workspace/chat-index/indexer.ts
|
|
74
|
+
source: packages/mulmoclaude/server/workspace/chat-index/indexer.ts
|
|
75
75
|
|
|
76
76
|
Read `chatIndex` — it names the model the background summarizer spawns, and the summarizer does
|
|
77
77
|
nothing until it does. One exception worth knowing before calling it a bug: sessions that didn't
|
|
@@ -81,7 +81,7 @@ scheduled task's chat having no title is expected.
|
|
|
81
81
|
## The journal / daily summary is empty
|
|
82
82
|
|
|
83
83
|
configKey: journal
|
|
84
|
-
source: server/workspace/journal/index.ts
|
|
84
|
+
source: packages/mulmoclaude/server/workspace/journal/index.ts
|
|
85
85
|
|
|
86
86
|
Read `journal` first — it gates the archivist that summarizes chat sessions into `journal/*.md`,
|
|
87
87
|
and when it is not enabling a run the archivist short-circuits before the interval gate is even
|
|
@@ -91,7 +91,7 @@ an empty journal is not evidence of a scheduler fault.
|
|
|
91
91
|
## Gmail / Google Calendar / Notion tools don't show up for the agent
|
|
92
92
|
|
|
93
93
|
configKey: extraAllowedTools
|
|
94
|
-
source: server/agent/config.ts
|
|
94
|
+
source: packages/mulmoclaude/server/agent/config.ts
|
|
95
95
|
|
|
96
96
|
Connector tools reach the agent only when their MCP prefix is listed in `extraAllowedTools` — the
|
|
97
97
|
list is appended to the base allowed-tools set on every spawn. Check the live value for the
|
|
@@ -100,8 +100,8 @@ that is linked but unlisted is configuration, not a bug.
|
|
|
100
100
|
|
|
101
101
|
## A skill I saved isn't callable
|
|
102
102
|
|
|
103
|
-
source: server/workspace/hooks/handlers/skillBridge.ts
|
|
104
|
-
source: server/workspace/skills/discovery.ts
|
|
103
|
+
source: packages/mulmoclaude/server/workspace/hooks/handlers/skillBridge.ts
|
|
104
|
+
source: packages/mulmoclaude/server/workspace/skills/discovery.ts
|
|
105
105
|
help: collection-skills.md
|
|
106
106
|
|
|
107
107
|
Skills are authored at `data/skills/<slug>/SKILL.md` and mirrored into `.claude/skills/<slug>/` by a
|
|
@@ -972,7 +972,7 @@ layouts cause that:
|
|
|
972
972
|
|
|
973
973
|
1. **Windows source checkout.** `yarn` links workspace packages into `node_modules/` as **NTFS
|
|
974
974
|
junctions**; their absolute Windows target (`C:\Users\…`) does not exist in the Linux container,
|
|
975
|
-
so every junction dangles. `server/agent/config.ts` bind-mounts a junction-free copy of each
|
|
975
|
+
so every junction dangles. `packages/mulmoclaude/server/agent/config.ts` bind-mounts a junction-free copy of each
|
|
976
976
|
workspace package at `/app/pkg_modules/<name>`; a package missing from that list is invisible.
|
|
977
977
|
2. **npx install with nested `node_modules`.** npm sometimes places a dep in the nested
|
|
978
978
|
`<packageRoot>/node_modules` (a version conflict, or a half-deduped npx cache from repeated
|
|
@@ -1061,7 +1061,7 @@ shipped builders produce, and asserts `handlePermission` comes back over the MCP
|
|
|
1061
1061
|
### Cause
|
|
1062
1062
|
|
|
1063
1063
|
The image freezes whichever CLI was current when it was built, and
|
|
1064
|
-
`ensureSandboxImage()` (`server/system/docker.ts`) rebuilds only when the **Dockerfile's SHA**
|
|
1064
|
+
`ensureSandboxImage()` (`packages/mulmoclaude/server/system/docker.ts`) rebuilds only when the **Dockerfile's SHA**
|
|
1065
1065
|
changes. A new CLI release upstream doesn't change that SHA, so nothing retriggers the build.
|
|
1066
1066
|
|
|
1067
1067
|
### Fix
|
package/assets/helps/sandbox.md
CHANGED
|
@@ -14,11 +14,13 @@ MulmoClaude runs the Claude Code agent inside a **Docker sandbox** when Docker i
|
|
|
14
14
|
|---|---|---|
|
|
15
15
|
| Workspace | `/home/node/mulmoclaude` | read-write |
|
|
16
16
|
| `node_modules/` | `/app/node_modules` | read-only |
|
|
17
|
-
| `server/` | `/app/server` | read-only |
|
|
18
|
-
| `src/` | `/app/src` | read-only |
|
|
17
|
+
| App `server/` | `/app/server` | read-only |
|
|
18
|
+
| App `src/` | `/app/src` | read-only |
|
|
19
19
|
| `~/.claude/` | `/home/node/.claude` | read-write |
|
|
20
20
|
| `~/.claude.json` | `/home/node/.claude.json` | read-write |
|
|
21
21
|
|
|
22
|
+
The app's `server/` and `src/` are `packages/mulmoclaude/server/` and `packages/mulmoclaude/src/` in a source checkout, and `dist/server/` and `dist/src/` inside the installed `mulmoclaude` package.
|
|
23
|
+
|
|
22
24
|
The container runs with `--cap-drop ALL` and as the host user's UID/GID, so it has no elevated privileges.
|
|
23
25
|
|
|
24
26
|
## Disabling the Sandbox
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_itemId = require("../itemId-D2XAQ8RU.cjs");
|
|
3
|
-
const require_promptSafety = require("../promptSafety-
|
|
3
|
+
const require_promptSafety = require("../promptSafety-CjxafW2b.cjs");
|
|
4
4
|
const require_project = require("../project-DDTIVEMU.cjs");
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-734JaRYi.cjs");
|
|
6
6
|
const require_iconGlyph = require("../iconGlyph-CFOiFsmq.cjs");
|
|
7
|
-
require("../errorMessage-
|
|
7
|
+
require("../errorMessage-D0kR547_.cjs");
|
|
8
8
|
// src/collection/core/presentCollection.ts
|
|
9
9
|
var TOOL_NAME = "presentCollection";
|
|
10
10
|
/** Stamp a host's opaque project scope onto a card payload. The ONLY way a
|
package/dist/collection/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { $ as fieldText, A as collectionKeyId, B as SAFE_SLUG_PATTERN, C as decodeRecordTimes, D as isCanonicalServerTime, E as encodeServerTime, F as localCollectionKeyOf, G as AGENT_INGEST_KIND, H as isSafeRecordId, I as parseCollectionKeyId, J as INGEST_KINDS, K as COMPUTED_TYPES, L as sameCollectionKey, M as isLocalCollectionKey, N as isSharedCollectionKey, O as serverTimeMillis, P as isValidCollectionName, Q as storageKindFor, R as sharedCollectionKey, S as isAccentColor, T as encodeRecordTimes, U as isSafeSlug, V as generateUniqueId, W as nextUniqueItemId, X as isFieldDrivenEvery, Y as embedTargetId, Z as isReadOnlySchema, _ as spanOptionsFor, a as bucketRecords, b as ACCENT_COLORS, c as dateOf, d as monthAnchorDate, et as fieldTextOrNull, f as parseIsoDate, g as spanCoversDay, h as recordSpan, i as assignLanes, j as collectionKeyName, k as serverTimeOf, l as daySlice, m as parseTimeRange, n as shortHexId, o as buildMonthGrid, p as parseIsoDateTime, q as FEED_SCHEDULES, r as MINUTES_PER_DAY, s as compareYmd, t as newItemId, u as endsAtDayBoundary, v as withExclusiveEnd, w as decodeServerTime, x as accentChipClasses, y as ymdKey, z as SAFE_RECORD_ID_PATTERN } from "../itemId-D_pSpa3U.js";
|
|
2
|
-
import { A as schemaDefaults, C as viaMatches, D as whenMatches, E as fieldVisible, O as fieldDefaultValue, S as rollupValue, T as agentActionRunKey, _ as uniqueEmbedTargets, a as evaluateDerived, b as coerceNumeric, c as selectDynamicRecord, d as flagFieldValue, f as itemIsDone, g as uniqueBacklinkSources, h as linkedSlugsForFields, k as firstUnknownDefault, l as chipMatches, m as matchesWhere, n as deriveAll, o as firstDateField, p as toggleChecked, r as resolveRowRefs, s as resolveIcon, t as defangForPrompt, u as completionCoveredByFieldChip, v as uniqueRefTargets, w as actionVisible, x as projectBacklinkRow, y as backlinkRows } from "../promptSafety-
|
|
2
|
+
import { A as schemaDefaults, C as viaMatches, D as whenMatches, E as fieldVisible, O as fieldDefaultValue, S as rollupValue, T as agentActionRunKey, _ as uniqueEmbedTargets, a as evaluateDerived, b as coerceNumeric, c as selectDynamicRecord, d as flagFieldValue, f as itemIsDone, g as uniqueBacklinkSources, h as linkedSlugsForFields, k as firstUnknownDefault, l as chipMatches, m as matchesWhere, n as deriveAll, o as firstDateField, p as toggleChecked, r as resolveRowRefs, s as resolveIcon, t as defangForPrompt, u as completionCoveredByFieldChip, v as uniqueRefTargets, w as actionVisible, x as projectBacklinkRow, y as backlinkRows } from "../promptSafety-B8LECAkY.js";
|
|
3
3
|
import { n as projectRecordFields, t as mergeIntoExisting } from "../project-mU6-xLfy.js";
|
|
4
|
-
import { c as isRecord, t as errorMessage, u as isUnknownArray } from "../dist
|
|
4
|
+
import { c as isRecord, t as errorMessage, u as isUnknownArray } from "../dist-BmO4oSQy.js";
|
|
5
5
|
import { n as resolveIconGlyph, t as DEFAULT_ICON } from "../iconGlyph-D9h__VaM.js";
|
|
6
|
-
import "../errorMessage-
|
|
6
|
+
import "../errorMessage-TpKxrmeo.js";
|
|
7
7
|
// src/collection/core/presentCollection.ts
|
|
8
8
|
var TOOL_NAME = "presentCollection";
|
|
9
9
|
/** Stamp a host's opaque project scope onto a card payload. The ONLY way a
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../../../rolldown-runtime-CmQyd0Gu.cjs");
|
|
3
3
|
const require_utils_fetch = require("../../../utils/fetch.cjs");
|
|
4
|
-
const require_server = require("../../../server-
|
|
5
|
-
const require_discovery = require("../../../discovery-
|
|
4
|
+
const require_server = require("../../../server-BXtSbL-b.cjs");
|
|
5
|
+
const require_discovery = require("../../../discovery-CY4pvgo9.cjs");
|
|
6
6
|
const require_types = require("../../../types-DPycxnDf.cjs");
|
|
7
7
|
const require_skill_bridge_index = require("../../../skill-bridge/index.cjs");
|
|
8
8
|
const require_atomic = require("../../../atomic-cqafMWEI.cjs");
|
|
9
9
|
const require_templatePath = require("../../../templatePath-BIh7wqgS.cjs");
|
|
10
10
|
const require_containment = require("../../../containment-Dc3gO4wD.cjs");
|
|
11
|
-
const require_dist = require("../../../dist-
|
|
11
|
+
const require_dist = require("../../../dist-734JaRYi.cjs");
|
|
12
12
|
const require_relPath = require("../../../relPath-CZiP2S_a.cjs");
|
|
13
13
|
let node_fs = require("node:fs");
|
|
14
14
|
let node_path = require("node:path");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { fetchWithTimeout } from "../../../utils/fetch.js";
|
|
2
|
-
import { y as ONE_SECOND_MS } from "../../../server-
|
|
3
|
-
import { K as safeRecordId, et as collectionsRegistriesConfigPath, ht as skillsStagingDir, lt as projectSkillsDir, r as loadCollection, rt as getWorkspaceRoot, s as CollectionSchemaZ, st as log, t as acceptParsedSchema } from "../../../discovery-
|
|
2
|
+
import { y as ONE_SECOND_MS } from "../../../server-B5TZjZN9.js";
|
|
3
|
+
import { K as safeRecordId, et as collectionsRegistriesConfigPath, ht as skillsStagingDir, lt as projectSkillsDir, r as loadCollection, rt as getWorkspaceRoot, s as CollectionSchemaZ, st as log, t as acceptParsedSchema } from "../../../discovery-CImpaG95.js";
|
|
4
4
|
import { n as parseRegistryIndex, r as isRecord, t as OFFICIAL_REGISTRY_NAME } from "../../../types-BLCZTGW2.js";
|
|
5
5
|
import { claudeSkillDir, dataSkillDir, mirrorSkillWrite } from "../../../skill-bridge/index.js";
|
|
6
6
|
import { n as writeFileAtomic } from "../../../atomic-C3NMg6-j.js";
|
|
7
7
|
import { t as isSafeActionTemplatePath } from "../../../templatePath-CB3wtVpe.js";
|
|
8
8
|
import { n as isWithinRoot } from "../../../containment-D_vAa6eT.js";
|
|
9
|
-
import { t as errorMessage, u as isUnknownArray } from "../../../dist
|
|
9
|
+
import { t as errorMessage, u as isUnknownArray } from "../../../dist-BmO4oSQy.js";
|
|
10
10
|
import { n as toPosixRelPath } from "../../../relPath-BkKmqiiF.js";
|
|
11
11
|
import { readFileSync } from "node:fs";
|
|
12
12
|
import path from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_discovery = require("../../discovery-
|
|
2
|
+
const require_discovery = require("../../discovery-CY4pvgo9.cjs");
|
|
3
3
|
const require_root = require("../../root-Ccgd3H5S.cjs");
|
|
4
4
|
const require_itemId = require("../../itemId-D2XAQ8RU.cjs");
|
|
5
5
|
const require_templatePath = require("../../templatePath-BIh7wqgS.cjs");
|
|
6
|
-
const require_server = require("../../server-
|
|
6
|
+
const require_server = require("../../server-BXtSbL-b.cjs");
|
|
7
7
|
exports.APP_MANIFEST_FILE = require_discovery.APP_MANIFEST_FILE;
|
|
8
8
|
exports.BackendUnavailableError = require_discovery.BackendUnavailableError;
|
|
9
9
|
exports.COLLECTION_ROOT_REQUIRED = require_discovery.COLLECTION_ROOT_REQUIRED;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as collectionChangePayload, A as readItem, B as SCHEMA_FILE, C as CollectionQueryZ, D as generateItemId, E as deleteItem, F as loadAppManifest, G as resolveTemplatePath, H as isUnderRealRoot, I as parseAppManifest, J as BackendUnavailableError, K as safeRecordId, L as sharedItemsPath, M as writeItem, N as APP_MANIFEST_FILE, O as isRegularFile, P as appManifestReason, Q as collectionChangeKey, R as pageFromFullRead, S as compileJsonlQuery, T as MAX_QUERY_ROWS, U as itemFilePath, V as isContainedInRoot, W as resolveDataDir, X as COLLECTION_ROOT_REQUIRED, Y as isBackendUnavailable, _ as dedupeByRecordId, a as toDetail, ct as peekWorkspaceRoot, d as storeFor, dt as setCollectionChangePublisher, ft as setFirestoreAccessor, g as decodeCsvRecordId, h as csvRowToItem, i as resolvePrimaryField, it as hostSupportsSharedCollections, j as resolveCreateItemId, k as listItems, l as collectionWritable, mt as sharedCollectionChangePayload, n as discoverCollections, nt as firestoreHandle, o as toSummary, ot as localCollectionKey, p as MAX_CSV_ROWS, pt as setSharedCollectionsSupport, q as safeSlugName, r as loadCollection, rt as getWorkspaceRoot, s as CollectionSchemaZ, st as log, t as acceptParsedSchema, tt as configureCollectionHost, u as readOnlyRefusal, ut as publishCollectionChange, v as encodeCsvRecordId, w as DEFAULT_QUERY_ROWS, x as compileCsvQuery, y as normalizeCsvValue, z as projectItemFields } from "../../discovery-
|
|
1
|
+
import { $ as collectionChangePayload, A as readItem, B as SCHEMA_FILE, C as CollectionQueryZ, D as generateItemId, E as deleteItem, F as loadAppManifest, G as resolveTemplatePath, H as isUnderRealRoot, I as parseAppManifest, J as BackendUnavailableError, K as safeRecordId, L as sharedItemsPath, M as writeItem, N as APP_MANIFEST_FILE, O as isRegularFile, P as appManifestReason, Q as collectionChangeKey, R as pageFromFullRead, S as compileJsonlQuery, T as MAX_QUERY_ROWS, U as itemFilePath, V as isContainedInRoot, W as resolveDataDir, X as COLLECTION_ROOT_REQUIRED, Y as isBackendUnavailable, _ as dedupeByRecordId, a as toDetail, ct as peekWorkspaceRoot, d as storeFor, dt as setCollectionChangePublisher, ft as setFirestoreAccessor, g as decodeCsvRecordId, h as csvRowToItem, i as resolvePrimaryField, it as hostSupportsSharedCollections, j as resolveCreateItemId, k as listItems, l as collectionWritable, mt as sharedCollectionChangePayload, n as discoverCollections, nt as firestoreHandle, o as toSummary, ot as localCollectionKey, p as MAX_CSV_ROWS, pt as setSharedCollectionsSupport, q as safeSlugName, r as loadCollection, rt as getWorkspaceRoot, s as CollectionSchemaZ, st as log, t as acceptParsedSchema, tt as configureCollectionHost, u as readOnlyRefusal, ut as publishCollectionChange, v as encodeCsvRecordId, w as DEFAULT_QUERY_ROWS, x as compileCsvQuery, y as normalizeCsvValue, z as projectItemFields } from "../../discovery-CImpaG95.js";
|
|
2
2
|
import { t as canonicalRoot } from "../../root-s0MUUMQU.js";
|
|
3
3
|
import { K as COMPUTED_TYPES } from "../../itemId-D_pSpa3U.js";
|
|
4
4
|
import { i as isSafeTemplatePath, n as isSafeCustomViewI18nPath, r as isSafeCustomViewPath, t as isSafeActionTemplatePath } from "../../templatePath-CB3wtVpe.js";
|
|
5
|
-
import { A as recordFieldProblem, B as stagedSkillDir, C as applyMutateAction, D as validateCollectionRecords, E as STORE_UNREADABLE, F as buildCollectionActionSeedPrompt, I as promptPathsFor, L as readCustomViewHtml, M as enrichItems, N as runQueryOverRows, O as validateRecordObject, P as buildActionSeedPrompt, R as readCustomViewI18n, S as schemaRelations, T as MAX_RECORD_ISSUES, _ as resolveEvery, a as MAX_UNSELECTIVE_ITEMS, b as computeCollectionIcon, c as deleteCollection, d as computeSuccessor, f as daysInMonth, g as parseCivil, h as maybeSpawnSuccessor, i as MAX_SCHEMA_ISSUES, j as runCollectionQuery, k as compileRecordZ, l as deleteCollectionRefusalMessage, m as isTriggerDue, n as MAX_PUT_ITEMS, o as makeManageCollectionTool, p as formatCivil, r as MAX_PUT_LINT, s as deleteCustomView, t as MAX_ITEMS_FILE_BYTES, u as advanceTriggerDate, v as successorId, w as firstMutateParamProblem, x as buildWorkspaceOntology, z as readSkillTemplate } from "../../server-
|
|
5
|
+
import { A as recordFieldProblem, B as stagedSkillDir, C as applyMutateAction, D as validateCollectionRecords, E as STORE_UNREADABLE, F as buildCollectionActionSeedPrompt, I as promptPathsFor, L as readCustomViewHtml, M as enrichItems, N as runQueryOverRows, O as validateRecordObject, P as buildActionSeedPrompt, R as readCustomViewI18n, S as schemaRelations, T as MAX_RECORD_ISSUES, _ as resolveEvery, a as MAX_UNSELECTIVE_ITEMS, b as computeCollectionIcon, c as deleteCollection, d as computeSuccessor, f as daysInMonth, g as parseCivil, h as maybeSpawnSuccessor, i as MAX_SCHEMA_ISSUES, j as runCollectionQuery, k as compileRecordZ, l as deleteCollectionRefusalMessage, m as isTriggerDue, n as MAX_PUT_ITEMS, o as makeManageCollectionTool, p as formatCivil, r as MAX_PUT_LINT, s as deleteCustomView, t as MAX_ITEMS_FILE_BYTES, u as advanceTriggerDate, v as successorId, w as firstMutateParamProblem, x as buildWorkspaceOntology, z as readSkillTemplate } from "../../server-B5TZjZN9.js";
|
|
6
6
|
export { APP_MANIFEST_FILE, BackendUnavailableError, COLLECTION_ROOT_REQUIRED, COMPUTED_TYPES, CollectionQueryZ, CollectionSchemaZ, DEFAULT_QUERY_ROWS, MAX_CSV_ROWS, MAX_ITEMS_FILE_BYTES, MAX_PUT_ITEMS, MAX_PUT_LINT, MAX_QUERY_ROWS, MAX_RECORD_ISSUES, MAX_SCHEMA_ISSUES, MAX_UNSELECTIVE_ITEMS, SCHEMA_FILE, STORE_UNREADABLE, acceptParsedSchema, advanceTriggerDate, appManifestReason, applyMutateAction, buildActionSeedPrompt, buildCollectionActionSeedPrompt, buildWorkspaceOntology, canonicalRoot, collectionChangeKey, collectionChangePayload, collectionWritable, compileCsvQuery, compileJsonlQuery, compileRecordZ, computeCollectionIcon, computeSuccessor, configureCollectionHost, csvRowToItem, daysInMonth, decodeCsvRecordId, dedupeByRecordId, deleteCollection, deleteCollectionRefusalMessage, deleteCustomView, deleteItem, discoverCollections, encodeCsvRecordId, enrichItems, firestoreHandle, firstMutateParamProblem, formatCivil, generateItemId, getWorkspaceRoot, hostSupportsSharedCollections, isBackendUnavailable, isContainedInRoot, isRegularFile, isSafeActionTemplatePath, isSafeCustomViewI18nPath, isSafeCustomViewPath, isSafeTemplatePath, isTriggerDue, isUnderRealRoot, itemFilePath, listItems, loadAppManifest, loadCollection, localCollectionKey, log, makeManageCollectionTool, maybeSpawnSuccessor, normalizeCsvValue, pageFromFullRead, parseAppManifest, parseCivil, peekWorkspaceRoot, projectItemFields, promptPathsFor, publishCollectionChange, readCustomViewHtml, readCustomViewI18n, readItem, readOnlyRefusal, readSkillTemplate, recordFieldProblem, resolveCreateItemId, resolveDataDir, resolveEvery, resolvePrimaryField, resolveTemplatePath, runCollectionQuery, runQueryOverRows, safeRecordId, safeSlugName, schemaRelations, setCollectionChangePublisher, setFirestoreAccessor, setSharedCollectionsSupport, sharedCollectionChangePayload, sharedItemsPath, stagedSkillDir, storeFor, successorId, toDetail, toSummary, validateCollectionRecords, validateRecordObject, writeItem };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_discovery = require("../discovery-
|
|
2
|
+
const require_discovery = require("../discovery-CY4pvgo9.cjs");
|
|
3
3
|
const require_root = require("../root-Ccgd3H5S.cjs");
|
|
4
4
|
const require_itemId = require("../itemId-D2XAQ8RU.cjs");
|
|
5
|
-
const require_promptSafety = require("../promptSafety-
|
|
6
|
-
const require_notifier = require("../notifier-
|
|
5
|
+
const require_promptSafety = require("../promptSafety-CjxafW2b.cjs");
|
|
6
|
+
const require_notifier = require("../notifier-CRTk34EC.cjs");
|
|
7
7
|
require("../collection/index.cjs");
|
|
8
|
-
const require_server = require("../server-
|
|
8
|
+
const require_server = require("../server-BXtSbL-b.cjs");
|
|
9
9
|
let node_fs_promises = require("node:fs/promises");
|
|
10
10
|
// src/collection-watchers/config.ts
|
|
11
11
|
var NOOP_LOG = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as collectionChangePayload, U as itemFilePath, ct as peekWorkspaceRoot, d as storeFor, mt as sharedCollectionChangePayload, n as discoverCollections, nt as firestoreHandle, r as loadCollection, ut as publishCollectionChange } from "../discovery-
|
|
1
|
+
import { $ as collectionChangePayload, U as itemFilePath, ct as peekWorkspaceRoot, d as storeFor, mt as sharedCollectionChangePayload, n as discoverCollections, nt as firestoreHandle, r as loadCollection, ut as publishCollectionChange } from "../discovery-CImpaG95.js";
|
|
2
2
|
import { t as canonicalRoot } from "../root-s0MUUMQU.js";
|
|
3
3
|
import { $ as fieldText, P as isValidCollectionName } from "../itemId-D_pSpa3U.js";
|
|
4
|
-
import { D as whenMatches, f as itemIsDone } from "../promptSafety-
|
|
5
|
-
import { d as publish, m as updateForPlugin, n as clear, s as listAll } from "../notifier-
|
|
4
|
+
import { D as whenMatches, f as itemIsDone } from "../promptSafety-B8LECAkY.js";
|
|
5
|
+
import { d as publish, m as updateForPlugin, n as clear, s as listAll } from "../notifier-htdf4ekH.js";
|
|
6
6
|
import "../collection/index.js";
|
|
7
|
-
import { h as maybeSpawnSuccessor, m as isTriggerDue } from "../server-
|
|
7
|
+
import { h as maybeSpawnSuccessor, m as isTriggerDue } from "../server-B5TZjZN9.js";
|
|
8
8
|
import { access } from "node:fs/promises";
|
|
9
9
|
// src/collection-watchers/config.ts
|
|
10
10
|
var NOOP_LOG = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as isErrorWithCode, c as isRecord, r as hasNumberProp, u as isUnknownArray } from "./dist
|
|
1
|
+
import { a as isErrorWithCode, c as isRecord, r as hasNumberProp, u as isUnknownArray } from "./dist-BmO4oSQy.js";
|
|
2
2
|
import { n as writeFileAtomic } from "./atomic-C3NMg6-j.js";
|
|
3
3
|
import { n as isWithinRoot, t as isInsideRoot } from "./containment-D_vAa6eT.js";
|
|
4
4
|
import { t as canonicalRoot } from "./root-s0MUUMQU.js";
|
|
5
5
|
import { $ as fieldText, B as SAFE_SLUG_PATTERN, C as decodeRecordTimes, F as localCollectionKeyOf, G as AGENT_INGEST_KIND, H as isSafeRecordId, J as INGEST_KINDS, K as COMPUTED_TYPES, P as isValidCollectionName, Q as storageKindFor, R as sharedCollectionKey, T as encodeRecordTimes, U as isSafeSlug, Z as isReadOnlySchema, b as ACCENT_COLORS, et as fieldTextOrNull, q as FEED_SCHEDULES, t as newItemId, z as SAFE_RECORD_ID_PATTERN } from "./itemId-D_pSpa3U.js";
|
|
6
6
|
import { n as projectRecordFields } from "./project-mU6-xLfy.js";
|
|
7
|
-
import { n as backoffDelayMs, r as classifyListenerError } from "./listen-
|
|
7
|
+
import { n as backoffDelayMs, r as classifyListenerError } from "./listen-uiEnXcW9.js";
|
|
8
8
|
import { n as isSafeCustomViewI18nPath, r as isSafeCustomViewPath, t as isSafeActionTemplatePath } from "./templatePath-CB3wtVpe.js";
|
|
9
9
|
import { readFileSync, realpathSync, watch } from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
@@ -13,7 +13,7 @@ import { lstat, mkdir, open, readFile, readdir, rename, stat, unlink, writeFile
|
|
|
13
13
|
import { tmpdir } from "node:os";
|
|
14
14
|
import iconv from "iconv-lite";
|
|
15
15
|
import { z } from "zod";
|
|
16
|
-
//
|
|
16
|
+
// ../common/dist/concurrency.js
|
|
17
17
|
/** Run `worker` over `items` with at most `limit` in flight, preserving
|
|
18
18
|
* input order in the results. The call rejects with the first `worker`
|
|
19
19
|
* rejection, but the other runners keep draining the queue — make
|
|
@@ -3364,4 +3364,4 @@ function toDetail(collection) {
|
|
|
3364
3364
|
}
|
|
3365
3365
|
export { collectionChangePayload as $, readItem as A, SCHEMA_FILE as B, CollectionQueryZ as C, generateItemId as D, deleteItem as E, loadAppManifest as F, resolveTemplatePath as G, isUnderRealRoot as H, parseAppManifest as I, BackendUnavailableError as J, safeRecordId as K, sharedItemsPath as L, writeItem as M, APP_MANIFEST_FILE as N, isRegularFile as O, appManifestReason as P, collectionChangeKey as Q, pageFromFullRead as R, compileJsonlQuery as S, MAX_QUERY_ROWS as T, itemFilePath as U, isContainedInRoot as V, resolveDataDir as W, COLLECTION_ROOT_REQUIRED as X, isBackendUnavailable as Y, archiveDir as Z, dedupeByRecordId as _, createForwardingLogger as _t, toDetail as a, isPresetSlug as at, queryCsv as b, resolveMutateSet as c, peekWorkspaceRoot as ct, storeFor as d, setCollectionChangePublisher as dt, collectionsRegistriesConfigPath as et, checkpointSqliteDatabase as f, setFirestoreAccessor as ft, decodeCsvRecordId as g, stagingSkillDir as gt, csvRowToItem as h, skillsStagingDir as ht, resolvePrimaryField as i, hostSupportsSharedCollections as it, resolveCreateItemId as j, listItems as k, collectionWritable as l, projectSkillsDir as lt, cacheDir as m, sharedCollectionChangePayload as mt, discoverCollections as n, firestoreHandle as nt, toSummary as o, localCollectionKey as ot, MAX_CSV_ROWS as p, setSharedCollectionsSupport as pt, safeSlugName as q, loadCollection as r, getWorkspaceRoot as rt, CollectionSchemaZ as s, log as st, acceptParsedSchema as t, configureCollectionHost as tt, readOnlyRefusal as u, publishCollectionChange as ut, encodeCsvRecordId as v, createHostSlot as vt, DEFAULT_QUERY_ROWS as w, compileCsvQuery as x, normalizeCsvValue as y, projectItemFields as z };
|
|
3366
3366
|
|
|
3367
|
-
//# sourceMappingURL=discovery-
|
|
3367
|
+
//# sourceMappingURL=discovery-CImpaG95.js.map
|