@mulmoclaude/core 2.0.2 → 3.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/collection/registry/server/client.d.ts +4 -4
- package/dist/collection/registry/server/collectionFiles.d.ts +3 -2
- package/dist/collection/registry/server/importCollection.d.ts +3 -2
- package/dist/collection/registry/server/index.cjs +27 -26
- package/dist/collection/registry/server/index.cjs.map +1 -1
- package/dist/collection/registry/server/index.d.ts +3 -2
- package/dist/collection/registry/server/index.js +27 -26
- package/dist/collection/registry/server/index.js.map +1 -1
- package/dist/collection/registry/server/registriesConfig.d.ts +11 -4
- package/dist/collection/server/host.d.ts +42 -5
- package/dist/collection/server/index.cjs +5 -3
- package/dist/collection/server/index.d.ts +1 -1
- package/dist/collection/server/index.js +3 -3
- package/dist/collection/server/paths.d.ts +0 -3
- package/dist/collection-watchers/index.cjs +79 -12
- package/dist/collection-watchers/index.cjs.map +1 -1
- package/dist/collection-watchers/index.d.ts +1 -1
- package/dist/collection-watchers/index.js +79 -13
- package/dist/collection-watchers/index.js.map +1 -1
- package/dist/collection-watchers/watcher.d.ts +23 -4
- package/dist/{discovery-BvnXyUel.js → discovery-4Z-ZWFam.js} +50 -21
- package/dist/discovery-4Z-ZWFam.js.map +1 -0
- package/dist/{discovery-B_sHig7n.cjs → discovery-CtiZMlsX.cjs} +67 -26
- package/dist/discovery-CtiZMlsX.cjs.map +1 -0
- package/dist/feeds/server/index.cjs +2 -2
- package/dist/feeds/server/index.js +2 -2
- package/dist/global-config/index.cjs +69 -0
- package/dist/global-config/index.cjs.map +1 -0
- package/dist/global-config/index.d.ts +13 -0
- package/dist/global-config/index.js +63 -0
- package/dist/global-config/index.js.map +1 -0
- package/dist/global-config/paths.d.ts +2 -0
- package/dist/global-config/schema.d.ts +17 -0
- package/dist/google/index.cjs +5 -2
- package/dist/google/index.cjs.map +1 -1
- package/dist/google/index.js +5 -2
- package/dist/google/index.js.map +1 -1
- package/dist/google/paths.d.ts +2 -0
- package/dist/paths-CkJxNZ7T.js +13 -0
- package/dist/paths-CkJxNZ7T.js.map +1 -0
- package/dist/paths-ClV946_f.cjs +25 -0
- package/dist/paths-ClV946_f.cjs.map +1 -0
- package/dist/{server-DJt6USBQ.js → server-CedIocRS.js} +2 -2
- package/dist/{server-DJt6USBQ.js.map → server-CedIocRS.js.map} +1 -1
- package/dist/{server-DoyGZMPS.cjs → server-DOZFzx5l.cjs} +2 -2
- package/dist/{server-DoyGZMPS.cjs.map → server-DOZFzx5l.cjs.map} +1 -1
- package/package.json +7 -1
- package/dist/discovery-B_sHig7n.cjs.map +0 -1
- package/dist/discovery-BvnXyUel.js.map +0 -1
package/dist/google/paths.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** Same directory as every other cross-app per-user file — see
|
|
2
|
+
* `../global-config/paths.ts`, which owns the spelling. */
|
|
1
3
|
export declare function googleConfigDir(home?: string): string;
|
|
2
4
|
/** Pre-0.20.1 token dir (mulmoclaude-branded); reads migrate away from it. */
|
|
3
5
|
export declare function legacyGoogleTokenPath(home?: string): string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { join } from "node:path";
|
|
2
|
+
import { homedir } from "node:os";
|
|
3
|
+
//#region src/global-config/paths.ts
|
|
4
|
+
function mulmoConfigDir(home) {
|
|
5
|
+
return join(home ?? homedir(), ".config", "mulmo");
|
|
6
|
+
}
|
|
7
|
+
function mulmoGlobalConfigPath(home) {
|
|
8
|
+
return join(mulmoConfigDir(home), "config.json");
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { mulmoGlobalConfigPath as n, mulmoConfigDir as t };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=paths-CkJxNZ7T.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paths-CkJxNZ7T.js","names":[],"sources":["../src/global-config/paths.ts"],"sourcesContent":["// The host-NEUTRAL per-user config file shared by MulmoClaude and\n// MulmoTerminal. It lives OUTSIDE any workspace, in the same `~/.config/mulmo`\n// directory the Google grant already uses (`../google/paths.ts`), for the same\n// reason: one machine, one set of cross-app preferences, surviving workspace\n// resets and never synced.\n//\n// Deliberately NOT `~/mulmoclaude/config/settings.json` (that is per-workspace\n// and MulmoClaude-owned) and NOT `~/.mulmoterminal/config.json` (that is the\n// terminal's own file). Neither app owns this one.\n//\n// The `home` parameter exists so tests can thread a fake home.\nimport { homedir } from \"node:os\";\nimport { join } from \"node:path\";\n\nexport function mulmoConfigDir(home?: string): string {\n return join(home ?? homedir(), \".config\", \"mulmo\");\n}\n\nexport function mulmoGlobalConfigPath(home?: string): string {\n return join(mulmoConfigDir(home), \"config.json\");\n}\n"],"mappings":";;;AAcA,SAAgB,eAAe,MAAuB;CACpD,OAAO,KAAK,QAAQ,QAAQ,GAAG,WAAW,OAAO;AACnD;AAEA,SAAgB,sBAAsB,MAAuB;CAC3D,OAAO,KAAK,eAAe,IAAI,GAAG,aAAa;AACjD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
require("./rolldown-runtime-VH7oDXx4.cjs");
|
|
2
|
+
let node_path = require("node:path");
|
|
3
|
+
let node_os = require("node:os");
|
|
4
|
+
//#region src/global-config/paths.ts
|
|
5
|
+
function mulmoConfigDir(home) {
|
|
6
|
+
return (0, node_path.join)(home ?? (0, node_os.homedir)(), ".config", "mulmo");
|
|
7
|
+
}
|
|
8
|
+
function mulmoGlobalConfigPath(home) {
|
|
9
|
+
return (0, node_path.join)(mulmoConfigDir(home), "config.json");
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
Object.defineProperty(exports, "mulmoConfigDir", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function() {
|
|
15
|
+
return mulmoConfigDir;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "mulmoGlobalConfigPath", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function() {
|
|
21
|
+
return mulmoGlobalConfigPath;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=paths-ClV946_f.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paths-ClV946_f.cjs","names":[],"sources":["../src/global-config/paths.ts"],"sourcesContent":["// The host-NEUTRAL per-user config file shared by MulmoClaude and\n// MulmoTerminal. It lives OUTSIDE any workspace, in the same `~/.config/mulmo`\n// directory the Google grant already uses (`../google/paths.ts`), for the same\n// reason: one machine, one set of cross-app preferences, surviving workspace\n// resets and never synced.\n//\n// Deliberately NOT `~/mulmoclaude/config/settings.json` (that is per-workspace\n// and MulmoClaude-owned) and NOT `~/.mulmoterminal/config.json` (that is the\n// terminal's own file). Neither app owns this one.\n//\n// The `home` parameter exists so tests can thread a fake home.\nimport { homedir } from \"node:os\";\nimport { join } from \"node:path\";\n\nexport function mulmoConfigDir(home?: string): string {\n return join(home ?? homedir(), \".config\", \"mulmo\");\n}\n\nexport function mulmoGlobalConfigPath(home?: string): string {\n return join(mulmoConfigDir(home), \"config.json\");\n}\n"],"mappings":";;;;AAcA,SAAgB,eAAe,MAAuB;CACpD,QAAA,GAAO,UAAA,KAAA,CAAK,SAAA,GAAQ,QAAA,QAAA,CAAQ,GAAG,WAAW,OAAO;AACnD;AAEA,SAAgB,sBAAsB,MAAuB;CAC3D,QAAA,GAAO,UAAA,KAAA,CAAK,eAAe,IAAI,GAAG,aAAa;AACjD"}
|
|
@@ -3,7 +3,7 @@ import { t as writeFileAtomic } from "./atomic-DPpdrJzO.js";
|
|
|
3
3
|
import { n as toPosixRelPath } from "./relPath-DW8MC8VO.js";
|
|
4
4
|
import { A as fieldTextOrNull, E as isFieldDrivenEvery, O as storageKindFor, S as COMPUTED_TYPES, T as embedTargetId, k as fieldText, l as parseIsoDate, u as parseIsoDateTime } from "./calendarGrid-Csy2rpjp.js";
|
|
5
5
|
import { C as actionVisible, _ as uniqueRefTargets, b as projectBacklinkRow, c as selectDynamicRecord, f as itemIsDone, g as uniqueEmbedTargets, h as uniqueBacklinkSources, i as ownProp, n as deriveAll, o as firstDateField, s as resolveIcon, t as defangForPrompt, v as backlinkRows, x as rollupValue, y as coerceNumeric } from "./promptSafety-ACXw_2Yu.js";
|
|
6
|
-
import {
|
|
6
|
+
import { B as resolveDataDir, F as resolveCreateItemId, G as archiveDir, L as SCHEMA_FILE$1, M as isRegularFile, R as isContainedInRoot, S as queryCsv, T as CollectionQueryZ, U as safeSlugName, V as resolveTemplatePath, X as isPresetSlug$1, Y as getWorkspaceRoot, Z as log, c as resolveMutateSet, d as storeFor, f as checkpointSqliteDatabase, g as cacheDir, i as resolvePrimaryField, k as isBackendUnavailable, n as discoverCollections, r as loadCollection, s as CollectionSchemaZ, tt as skillsStagingDir, u as readOnlyRefusal, w as compileJsonlQuery, x as normalizeCsvValue } from "./discovery-4Z-ZWFam.js";
|
|
7
7
|
import { ingestStatePath } from "./feeds/paths.js";
|
|
8
8
|
import { dataSkillDir, mirrorSkillWrite } from "./skill-bridge/index.js";
|
|
9
9
|
import path from "node:path";
|
|
@@ -1955,4 +1955,4 @@ function makeManageCollectionTool(deps = {}) {
|
|
|
1955
1955
|
//#endregion
|
|
1956
1956
|
export { buildCollectionActionSeedPrompt as A, validateRecordObject as C, enrichItems as D, runCollectionQuery as E, readCustomViewHtml as M, readCustomViewI18n as N, runQueryOverRows as O, readSkillTemplate as P, validateCollectionRecords as S, recordFieldProblem as T, computeCollectionIcon as _, deleteCollection as a, applyMutateAction as b, computeSuccessor as c, isTriggerDue as d, maybeSpawnSuccessor as f, ONE_SECOND_MS as g, successorId as h, deleteCustomView as i, promptPathsFor as j, buildActionSeedPrompt as k, daysInMonth as l, resolveEvery as m, MAX_UNSELECTIVE_ITEMS as n, deleteCollectionRefusalMessage as o, parseCivil as p, makeManageCollectionTool as r, advanceTriggerDate as s, MAX_SCHEMA_ISSUES as t, formatCivil as u, buildWorkspaceOntology as v, compileRecordZ as w, firstMutateParamProblem as x, schemaRelations as y };
|
|
1957
1957
|
|
|
1958
|
-
//# sourceMappingURL=server-
|
|
1958
|
+
//# sourceMappingURL=server-CedIocRS.js.map
|