@mulmoclaude/core 0.4.0 → 0.5.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.
@@ -1,3 +1,11 @@
1
+ /** Canonical on-disk layout of a wiki, derived from the workspace
2
+ * root. Owning this here (not per host) is what keeps MulmoClaude and
3
+ * MulmoTerminal agreeing on where `data/wiki/` lives. */
4
+ export declare function wikiDirs(workspace: string): {
5
+ pagesDir: string;
6
+ indexFile: string;
7
+ logFile: string;
8
+ };
1
9
  /** Given an absolute path and the absolute `pagesDir`, return the
2
10
  * slug if `absPath` is a direct `.md` child of `pagesDir`, else
3
11
  * null. Pure path-string math — no fs IO, no symlink resolution.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mulmoclaude/core",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Shared server-side core for MulmoClaude and MulmoTerminal — the always-shipped-together subsystems consolidated behind subpath exports so the two hosts can't drift. Server-only except the browser-safe ./whisper/client, ./workspace-setup/slug and ./translation/client entries. All host specifics are injected.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -46,6 +46,12 @@
46
46
  "require": "./dist/wiki/server/index.cjs",
47
47
  "default": "./dist/wiki/server/index.js"
48
48
  },
49
+ "./wiki/paths": {
50
+ "types": "./dist/wiki/server/paths.d.ts",
51
+ "import": "./dist/wiki/paths.js",
52
+ "require": "./dist/wiki/paths.cjs",
53
+ "default": "./dist/wiki/paths.js"
54
+ },
49
55
  "./feeds": {
50
56
  "types": "./dist/feeds/index.d.ts",
51
57
  "import": "./dist/feeds/index.js",
@@ -137,6 +143,7 @@
137
143
  },
138
144
  "dependencies": {
139
145
  "fast-xml-parser": "^5.9.3",
146
+ "js-yaml": "^5.2.0",
140
147
  "zod": "^4.4.3"
141
148
  },
142
149
  "peerDependencies": {