@mulmoclaude/core 3.0.0 → 3.1.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 +72 -8
- package/assets/helps/custom-view.md +9 -1
- package/assets/helps/error-recovery.md +36 -0
- package/assets/helps/feeds.md +6 -4
- package/dist/calendarGrid-Csy2rpjp.js.map +1 -1
- package/dist/calendarGrid-p8K-7cuB.cjs.map +1 -1
- package/dist/collection/core/presentCollection.d.ts +49 -0
- package/dist/collection/core/schema.d.ts +16 -1
- package/dist/collection/index.cjs +56 -7
- package/dist/collection/index.cjs.map +1 -1
- package/dist/collection/index.js +53 -8
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/registry/server/importWriter.d.ts +2 -1
- package/dist/collection/registry/server/index.cjs +31 -10
- package/dist/collection/registry/server/index.cjs.map +1 -1
- package/dist/collection/registry/server/index.js +30 -9
- package/dist/collection/registry/server/index.js.map +1 -1
- package/dist/collection/server/host.d.ts +34 -4
- package/dist/collection/server/index.cjs +4 -2
- package/dist/collection/server/index.d.ts +1 -1
- package/dist/collection/server/index.js +4 -3
- package/dist/collection/server/manageTool.d.ts +19 -0
- package/dist/collection/server/schemaDocs.d.ts +5 -1
- package/dist/collection-watchers/config.d.ts +15 -2
- package/dist/collection-watchers/index.cjs +310 -198
- package/dist/collection-watchers/index.cjs.map +1 -1
- package/dist/collection-watchers/index.js +310 -198
- package/dist/collection-watchers/index.js.map +1 -1
- package/dist/collection-watchers/reconciler.d.ts +1 -5
- package/dist/collection-watchers/watcher.d.ts +31 -26
- package/dist/{discovery-4Z-ZWFam.js → discovery-CC7kuwHf.js} +21 -7
- package/dist/discovery-CC7kuwHf.js.map +1 -0
- package/dist/{discovery-CtiZMlsX.cjs → discovery-CDOjfctD.cjs} +33 -7
- package/dist/discovery-CDOjfctD.cjs.map +1 -0
- package/dist/feeds/server/index.cjs +26 -6
- package/dist/feeds/server/index.cjs.map +1 -1
- package/dist/feeds/server/index.d.ts +1 -1
- package/dist/feeds/server/index.js +26 -7
- package/dist/feeds/server/index.js.map +1 -1
- package/dist/feeds/server/scheduledRefresh.d.ts +16 -1
- package/dist/files/index.cjs +6 -5
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.d.ts +1 -0
- package/dist/files/index.js +2 -2
- package/dist/files/root.d.ts +15 -0
- package/dist/google/index.cjs +3 -3
- package/dist/google/index.cjs.map +1 -1
- package/dist/google/index.js +2 -2
- package/dist/remote-host/index.cjs +3 -1
- package/dist/remote-host/index.d.ts +30 -0
- package/dist/remote-host/index.js +2 -2
- package/dist/remote-host/server/index.cjs +38 -14
- package/dist/remote-host/server/index.cjs.map +1 -1
- package/dist/remote-host/server/index.js +38 -14
- package/dist/remote-host/server/index.js.map +1 -1
- package/dist/remote-host/server/monotonicClock.d.ts +3 -0
- package/dist/remote-host/server/presenceBeat.d.ts +3 -2
- package/dist/remote-host/server/resilientRunner.d.ts +6 -0
- package/dist/{remote-host-Dba4lF3Z.js → remote-host-CFnl1I-L.js} +35 -2
- package/dist/{remote-host-Dba4lF3Z.js.map → remote-host-CFnl1I-L.js.map} +1 -1
- package/dist/{remote-host-CtQjagPt.cjs → remote-host-EQPlccB9.cjs} +46 -1
- package/dist/{remote-host-CtQjagPt.cjs.map → remote-host-EQPlccB9.cjs.map} +1 -1
- package/dist/{atomic-DPpdrJzO.js → root-BMroU_mB.js} +21 -2
- package/dist/root-BMroU_mB.js.map +1 -0
- package/dist/{atomic-DhUk8uiM.cjs → root-rPH6FGDT.cjs} +26 -1
- package/dist/root-rPH6FGDT.cjs.map +1 -0
- package/dist/{server-CedIocRS.js → server-AA2kfDfk.js} +137 -42
- package/dist/server-AA2kfDfk.js.map +1 -0
- package/dist/{server-DOZFzx5l.cjs → server-WU35UYlF.cjs} +138 -43
- package/dist/server-WU35UYlF.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/atomic-DPpdrJzO.js.map +0 -1
- package/dist/atomic-DhUk8uiM.cjs.map +0 -1
- package/dist/discovery-4Z-ZWFam.js.map +0 -1
- package/dist/discovery-CtiZMlsX.cjs.map +0 -1
- package/dist/server-CedIocRS.js.map +0 -1
- package/dist/server-DOZFzx5l.cjs.map +0 -1
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export type AuthoringVariant = "staged" | "direct";
|
|
2
|
+
/** Strip the fences and drop whichever variant's body doesn't apply. Runs
|
|
3
|
+
* BEFORE section parsing, so a variant may contain headings or code fences. */
|
|
4
|
+
export declare function applyAuthoringVariant(doc: string, variant: AuthoringVariant): string;
|
|
1
5
|
/** A doc at/below this size is returned whole — sectioning something the
|
|
2
6
|
* agent can read in one gulp only costs round-trips. This is also what
|
|
3
7
|
* keeps short user-authored workspace copies (config/helps) verbatim. */
|
|
@@ -18,4 +22,4 @@ export declare const SCHEMA_DOCS_RESULT_BUDGET = 36000;
|
|
|
18
22
|
* up outside any single piece's budget, and the ceiling must hold no
|
|
19
23
|
* matter what shape of document arrives. Only the explicit \`"all"\`
|
|
20
24
|
* opt-in and the small-doc verbatim path may exceed it. */
|
|
21
|
-
export declare function renderSchemaDocs(
|
|
25
|
+
export declare function renderSchemaDocs(rawDoc: string, topic?: string, variant?: AuthoringVariant): string;
|
|
@@ -14,8 +14,17 @@ export interface CollectionNotificationAdapter {
|
|
|
14
14
|
pluginPkg: string;
|
|
15
15
|
/** Map a record's completion priority onto the host's bell severity. */
|
|
16
16
|
priorityToSeverity: (priority: CompletionPriority) => NotifierSeverity;
|
|
17
|
-
/** Build the in-app deep-link the bell row routes to on click.
|
|
18
|
-
|
|
17
|
+
/** Build the in-app deep-link the bell row routes to on click.
|
|
18
|
+
*
|
|
19
|
+
* `root` is the absolute project/workspace root the record lives under, and
|
|
20
|
+
* is present ONLY when the engine call carried an explicit `workspaceRoot`
|
|
21
|
+
* — so a single-workspace host never sees it and its targets are unchanged.
|
|
22
|
+
* A multi-root host uses it to deep-link into the RIGHT project: two roots
|
|
23
|
+
* can own the same slug, and a slug-only target would open whichever project
|
|
24
|
+
* happens to be selected. The URL shape is entirely the host's — the engine
|
|
25
|
+
* only guarantees to pass the root through. Resolve it to an OPAQUE project
|
|
26
|
+
* id in the target rather than embedding the absolute path. */
|
|
27
|
+
buildNavigateTarget: (slug: string, itemId: string, root?: string) => string;
|
|
19
28
|
/** Wrap the reconciler's internal key + priority into the host's
|
|
20
29
|
* `pluginData` shape. Stored verbatim on the entry; recovered via
|
|
21
30
|
* `readEntry`. */
|
|
@@ -25,6 +34,10 @@ export interface CollectionNotificationAdapter {
|
|
|
25
34
|
itemId: string;
|
|
26
35
|
priority: CompletionPriority;
|
|
27
36
|
navigateTarget: string;
|
|
37
|
+
/** The record's root, present only under an explicit-root call (see
|
|
38
|
+
* `buildNavigateTarget`). `legacyId` already encodes it; this is the
|
|
39
|
+
* parsed form so a host doesn't have to decode the key. */
|
|
40
|
+
root?: string | undefined;
|
|
28
41
|
}) => unknown;
|
|
29
42
|
/** Recognise a bell entry produced by this reconciler and recover its
|
|
30
43
|
* internal key + stored priority. Returns null for entries that didn't
|