@mulmoclaude/core 4.10.0 → 5.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/assets/helps/collection-skills.md +5 -2
- package/assets/helps/google-calendar-collection.md +23 -4
- package/dist/collection/core/schemaZ.d.ts +37 -11
- package/dist/collection/registry/server/index.cjs +2 -2
- package/dist/collection/registry/server/index.js +2 -2
- package/dist/collection/server/index.cjs +2 -2
- package/dist/collection/server/index.js +2 -2
- package/dist/collection-watchers/index.cjs +2 -2
- package/dist/collection-watchers/index.js +2 -2
- package/dist/{discovery-BR8gifOX.js → discovery-CBjI1lx9.js} +10 -4
- package/dist/{discovery-BR8gifOX.js.map → discovery-CBjI1lx9.js.map} +1 -1
- package/dist/{discovery-DhS4JWzq.cjs → discovery-DCMW05Bp.cjs} +10 -4
- package/dist/{discovery-DhS4JWzq.cjs.map → discovery-DCMW05Bp.cjs.map} +1 -1
- package/dist/feeds/server/index.cjs +2 -2
- package/dist/feeds/server/index.js +2 -2
- package/dist/google/calendar.d.ts +21 -0
- package/dist/google/index.cjs +35 -10
- package/dist/google/index.cjs.map +1 -1
- package/dist/google/index.js +35 -10
- package/dist/google/index.js.map +1 -1
- package/dist/google/pushPlan.d.ts +8 -4
- package/dist/{server-BgPlo-HZ.js → server-BMZ_BcPH.js} +2 -2
- package/dist/{server-BgPlo-HZ.js.map → server-BMZ_BcPH.js.map} +1 -1
- package/dist/{server-B__-VpRz.cjs → server-rA9FSkl2.cjs} +2 -2
- package/dist/{server-B__-VpRz.cjs.map → server-rA9FSkl2.cjs.map} +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { CollectionFieldSpec, CollectionItem } from '../collection/core/schema.js';
|
|
2
2
|
import { ShadowEvent } from './calendarPushState.js';
|
|
3
|
-
/** The event fields Google lets a caller write
|
|
4
|
-
* read
|
|
5
|
-
*
|
|
6
|
-
* invalidating it.
|
|
3
|
+
/** The event fields Google lets a caller write — a SUBSET of what the pull can
|
|
4
|
+
* read (`GOOGLE_CALENDAR_SOURCE_FIELDS`). A column mapped to one of the
|
|
5
|
+
* pull-only fields is ignored here rather than rejected: the mapping was
|
|
6
|
+
* authored for the pull, and a push has no business invalidating it.
|
|
7
|
+
*
|
|
8
|
+
* `satisfies` is what keeps the two lists honest. A field pushable but not
|
|
9
|
+
* pullable could never have its baseline rebuilt from a pull, so "unchanged"
|
|
10
|
+
* would stop meaning anything — this fails the build instead of shipping. */
|
|
7
11
|
export declare const PUSHABLE_SOURCE_FIELDS: readonly ["summary", "start", "end", "colorId", "description", "location"];
|
|
8
12
|
export type PushableSourceField = (typeof PUSHABLE_SOURCE_FIELDS)[number];
|
|
9
13
|
/** The subset of a schema's `map` a push can act on: collection field → event field. */
|
|
@@ -4,7 +4,7 @@ import { n as writeFileAtomic } from "./root-BcS4-Kge.js";
|
|
|
4
4
|
import { n as toPosixRelPath } from "./relPath-DW8MC8VO.js";
|
|
5
5
|
import { K as embedTargetId, U as COMPUTED_TYPES, X as fieldText, Y as storageKindFor, Z as fieldTextOrNull, d as parseIsoDate, f as parseIsoDateTime, q as isFieldDrivenEvery, w as isCanonicalServerTime } from "./itemId-4P9S_ehz.js";
|
|
6
6
|
import { C as actionVisible, O as firstUnknownDefault, _ as uniqueRefTargets, b as projectBacklinkRow, c as selectDynamicRecord, f as itemIsDone, g as uniqueEmbedTargets, h as uniqueBacklinkSources, i as ownProp, k as schemaDefaults, n as deriveAll, o as firstDateField, s as resolveIcon, t as defangForPrompt, v as backlinkRows, x as rollupValue, y as coerceNumeric } from "./promptSafety-BpBTh5xO.js";
|
|
7
|
-
import { B as SCHEMA_FILE$1, C as CollectionQueryZ, G as resolveTemplatePath, H as isUnderRealRoot, O as isRegularFile, S as compileJsonlQuery, V as isContainedInRoot, W as resolveDataDir, Y as isBackendUnavailable, Z as archiveDir, at as isPresetSlug$1, b as queryCsv, c as resolveMutateSet, d as storeFor, f as checkpointSqliteDatabase, gt as stagingSkillDir, i as resolvePrimaryField, j as resolveCreateItemId, m as cacheDir, n as discoverCollections, q as safeSlugName, r as loadCollection, rt as getWorkspaceRoot, s as CollectionSchemaZ, st as log, u as readOnlyRefusal, y as normalizeCsvValue } from "./discovery-
|
|
7
|
+
import { B as SCHEMA_FILE$1, C as CollectionQueryZ, G as resolveTemplatePath, H as isUnderRealRoot, O as isRegularFile, S as compileJsonlQuery, V as isContainedInRoot, W as resolveDataDir, Y as isBackendUnavailable, Z as archiveDir, at as isPresetSlug$1, b as queryCsv, c as resolveMutateSet, d as storeFor, f as checkpointSqliteDatabase, gt as stagingSkillDir, i as resolvePrimaryField, j as resolveCreateItemId, m as cacheDir, n as discoverCollections, q as safeSlugName, r as loadCollection, rt as getWorkspaceRoot, s as CollectionSchemaZ, st as log, u as readOnlyRefusal, y as normalizeCsvValue } from "./discovery-CBjI1lx9.js";
|
|
8
8
|
import { ingestStatePath } from "./feeds/paths.js";
|
|
9
9
|
import { mirrorSkillWrite } from "./skill-bridge/index.js";
|
|
10
10
|
import { constants } from "node:fs";
|
|
@@ -2432,4 +2432,4 @@ function makeManageCollectionTool(deps = {}) {
|
|
|
2432
2432
|
//#endregion
|
|
2433
2433
|
export { recordFieldProblem as A, stagedSkillDir as B, applyMutateAction as C, validateCollectionRecords as D, STORE_UNREADABLE as E, buildCollectionActionSeedPrompt as F, promptPathsFor as I, readCustomViewHtml as L, enrichItems as M, runQueryOverRows as N, validateRecordObject as O, buildActionSeedPrompt as P, readCustomViewI18n as R, schemaRelations as S, MAX_RECORD_ISSUES as T, resolveEvery as _, MAX_UNSELECTIVE_ITEMS as a, computeCollectionIcon as b, deleteCollection as c, computeSuccessor as d, daysInMonth as f, parseCivil as g, maybeSpawnSuccessor as h, MAX_SCHEMA_ISSUES as i, runCollectionQuery as j, compileRecordZ as k, deleteCollectionRefusalMessage as l, isTriggerDue as m, MAX_PUT_ITEMS as n, makeManageCollectionTool as o, formatCivil as p, MAX_PUT_LINT as r, deleteCustomView as s, MAX_ITEMS_FILE_BYTES as t, advanceTriggerDate as u, successorId as v, firstMutateParamProblem as w, buildWorkspaceOntology as x, ONE_SECOND_MS as y, readSkillTemplate as z };
|
|
2434
2434
|
|
|
2435
|
-
//# sourceMappingURL=server-
|
|
2435
|
+
//# sourceMappingURL=server-BMZ_BcPH.js.map
|