@cmodjs/core 5.13.2 → 5.13.3

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/docs/commands.md CHANGED
@@ -34,7 +34,7 @@ It loads the checkout through a marketplace cmod keeps in the checkout's parent
34
34
  3. It adds the marketplace to Claude Code with `claude plugin marketplace add <parent> --scope local`, which declares it in `<parent>/.claude/settings.local.json`, so the `settings.json` you share between computers holds no path of this one, the way `npm link` keeps a link out of the shared `package.json`. Then it installs `<mod>@<parent folder>-linked` from it, which loads the checkout's own files in every session, in any project, at the next reload.
35
35
  4. It turns off the installed copy of the mod from any other marketplace, and records it in `links.json` in the cmod store, so `cmod unlink` turns that copy back on.
36
36
 
37
- It refuses a parent folder whose `.claude-plugin/marketplace.json` cmod did not write. Once a change builds, `cmod watch` reloads each session working inside the checkout, and every other session offers Reload.
37
+ It refuses a parent folder whose `.claude-plugin/marketplace.json` cmod did not write. Once a change builds, `cmod watch` tells every session, and each one offers Reload. To test your edits without pressing Reload, start the session with `claude --plugin-dir <checkout>`: Claude Code then reloads the checkout by itself between turns, in that session only.
38
38
 
39
39
  - `--option key=value` sets one of the mod's options through `claude plugin configure`, once per option, under the linked id, such as `my-mod@Developer-linked`. It refuses a key the mod does not declare, and names the keys it does ([options.md](options.md)).
40
40
 
@@ -247,7 +247,7 @@ Opens the browser app at `http://127.0.0.1:<port>/` and prints that address. The
247
247
  cmod watch
248
248
  ```
249
249
 
250
- Reloads the sessions working inside a checkout `cmod link` linked once it builds after a change, and tells every other running session. It watches each linked folder, outside `node_modules` and `.git`, and skips a change to a file git ignores, such as the `.claude-plugin/types/` Claude Code writes each time it loads the mod, a change inside the program's `output` folder, and a change to a file that is gone again and git does not track, such as a build's temporary file. Once a folder has had no change for 2 seconds, it bundles the mod's hooks module as `cmod publish` does. When a changed file is one the program's build reads, a file in `cli/` or one the JavaScript or TypeScript file `cli/package.json` `bin` names imports, such as the mod's own `src/`, it also builds the program `cli/` declares and links it as `cmod link` does, so the program in cmod's programs folder is never older than the mod. A change no program build reads builds no program. A program whose build failed builds again at the next change, whatever it changed. A build that changes the program stops its running copy, so a `singleInstance` or `isService` program restarts on the new build ([cmod program](#cmod-program)), and a build that writes the same program leaves the file and the copy as they are. A mod that builds marks `plugins-changed` with the checkout's folder, so each session whose project is that folder or inside it reloads by itself once the change has been quiet for 2 seconds, after its turn ends, and every other session shows the `Plugins changed` toast. A bundle or program build that still fails 10 seconds after the last change shows `<mod> does not build` with the error as one toast in every session, the last program that built keeps running, and the toast goes once the mod builds. So an agent's half-written file reloads nothing and shows nothing. At its start it bundles again each mod whose failure it finds in `build-failures.json`, so a failure an older cmod wrote goes once the mod builds. The cmod plugin starts one only in a session that an app shows, once a mod is linked, at the session's start or later, so a machine with no linked mod runs none. The first holds `watch.lock` in the cmod store, watches, and touches its file there every 5 seconds. Another one exits at once while it runs, and the cmod plugin of each such session starts one again once that file is gone or 15 seconds old, so a machine runs one watcher however many sessions it has open. Before each touch it reads the newest cmod in the cmod store, the newest version folder of `bin/cmod` that the launcher runs. A `cmod watch` older than that exits and lets go of `watch.lock`, so after a cmod update the new cmod's watcher judges the linked mods by its own rules within 15 seconds. It also exits once the process that started it ends, so a session that crashed leaves no watcher behind.
250
+ Tells every running session once a checkout `cmod link` linked builds after a change, so each one offers Reload. It watches each linked folder, outside `node_modules` and `.git`, and skips a change to a file git ignores, such as the `.claude-plugin/types/` Claude Code writes each time it loads the mod, a change inside the program's `output` folder, and a change to a file that is gone again and git does not track, such as a build's temporary file. Once a folder has had no change for 2 seconds, it bundles the mod's hooks module as `cmod publish` does. When a changed file is one the program's build reads, a file in `cli/` or one the JavaScript or TypeScript file `cli/package.json` `bin` names imports, such as the mod's own `src/`, it also builds the program `cli/` declares and links it as `cmod link` does, so the program in cmod's programs folder is never older than the mod. A change no program build reads builds no program. A program whose build failed builds again at the next change, whatever it changed. A build that changes the program stops its running copy, so a `singleInstance` or `isService` program restarts on the new build ([cmod program](#cmod-program)), and a build that writes the same program leaves the file and the copy as they are. A mod that builds marks `plugins-changed`, so every session shows the `Plugins changed` toast, and no session reloads by itself. A bundle or program build that still fails 10 seconds after the last change shows `<mod> does not build` with the error as one toast in each session working inside the checkout, the last program that built keeps running, and the toast goes once the mod builds. So an agent's half-written file offers nothing and shows nothing. At its start it bundles again each mod whose failure it finds in `build-failures.json`, so a failure an older cmod wrote goes once the mod builds. The cmod plugin starts one only in a session that an app shows, once a mod is linked, at the session's start or later, so a machine with no linked mod runs none. The first holds `watch.lock` in the cmod store, watches, and touches its file there every 5 seconds. Another one exits at once while it runs, and the cmod plugin of each such session starts one again once that file is gone or 15 seconds old, so a machine runs one watcher however many sessions it has open. Before each touch it reads the newest cmod in the cmod store, the newest version folder of `bin/cmod` that the launcher runs. A `cmod watch` older than that exits and lets go of `watch.lock`, so after a cmod update the new cmod's watcher judges the linked mods by its own rules within 15 seconds. It also exits once the process that started it ends, so a session that crashed leaves no watcher behind.
251
251
 
252
252
  A cmod before 4.1.0 linked a checkout by writing it into `CLAUDE_CODE_PLUGIN_DIRS` in the `env` block of Claude Code's `settings.json`. `cmod watch` at its start, and `cmod setup`, link each folder still in that list as `cmod link` does now and take it out of the list. A folder that fails to link stays in the list, and its error prints on stderr.
253
253
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmodjs/core",
3
- "version": "5.13.2",
3
+ "version": "5.13.3",
4
4
  "description": "Build Claude Code mods: hooks, panes, checks, and an install that just works.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/records.d.ts CHANGED
@@ -77,8 +77,7 @@ export declare function marketplaceOf(root: string, name: string): string | unde
77
77
  export declare function updatesToTurnOn(marketplace: string | undefined, settings: unknown, known: unknown): string | undefined;
78
78
  export declare function consentPath(store: string): string;
79
79
  export declare function pluginsChangedPath(store: string): string;
80
- export declare function pluginsChangedMark(at: number, pid: number, checkout?: string): string;
81
- export declare function markedCheckout(mark: string): string | undefined;
80
+ export declare function pluginsChangedMark(at: number, pid: number): string;
82
81
  export declare function storeChangedPath(store: string): string;
83
82
  export declare function buildFailuresPath(store: string): string;
84
83
  export declare function linksPath(store: string): string;
@@ -148,7 +147,7 @@ export declare function newestLog(entries: readonly LogEntry[]): LogEntry[];
148
147
  export declare function versionsLine({ mod, core, cmod, program, claudeCode }: LogVersions): string;
149
148
  export declare function logReport(entry: LogEntry): string;
150
149
  export declare function parseConsent(value: unknown, path: string): Record<string, string[]>;
151
- export declare const coreVersion = "5.13.2";
150
+ export declare const coreVersion = "5.13.3";
152
151
  export declare const oldestCmodVersion = "5.10.0";
153
152
  export declare function hotkeyCommand(mod: string, hotkey: string): string;
154
153
  export declare function hotkeyBindings(mod: string, hotkeys: Hotkeys | undefined): Record<string, string>;
package/records.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"records.d.ts","sourceRoot":"","sources":["src/records.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,OAAO,EAAE,MAAM,cAAc,CAAA;AAG1E,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACtC,WAAW,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAA;IACrC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OA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,MAAM,GAAG,MAAM,EAAE,CAMrD;AAMD,wBAAsB,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA6BzI;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAiBtD;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAiBpD;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAQnE;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEzE"}
package/records.js CHANGED
@@ -205,11 +205,8 @@ export function consentPath(store) {
205
205
  export function pluginsChangedPath(store) {
206
206
  return `${store}/plugins-changed`;
207
207
  }
208
- export function pluginsChangedMark(at, pid, checkout) {
209
- return `${at} ${pid}\n${checkout === undefined ? '' : `${checkout}\n`}`;
210
- }
211
- export function markedCheckout(mark) {
212
- return mark.split('\n')[1] || undefined;
208
+ export function pluginsChangedMark(at, pid) {
209
+ return `${at} ${pid}\n`;
213
210
  }
214
211
  export function storeChangedPath(store) {
215
212
  return `${store}/store-changed`;
@@ -342,7 +339,7 @@ function readHotkeys(hotkeys) {
342
339
  throw new Error(`package.json "cmod.hotkeys" is not a map of hotkeys to their title and optional default combo. ${fix}`);
343
340
  return { hotkeys: checkHotkeys('package.json "cmod"', hotkeys) };
344
341
  }
345
- export const coreVersion = '5.13.2';
342
+ export const coreVersion = '5.13.3';
346
343
  export const oldestCmodVersion = '5.10.0';
347
344
  export function hotkeyCommand(mod, hotkey) {
348
345
  return `${mod}--${hotkey}`;
@@ -1 +1 @@
1
- {"version":3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ANGED
@@ -158,6 +158,8 @@ export function installBefore({ claude, router, hooks }) {
158
158
  return refusal === undefined ? undefined : { text: null };
159
159
  }),
160
160
  router.add('session.append', async (e, next) => {
161
+ if (e.door === 'queue')
162
+ return next(e);
161
163
  const wanted = new Set((await Promise.all(appended.map(async (event) => ((await wants(event)) ? [event] : [])))).flat());
162
164
  if (wanted.size === 0)
163
165
  return next(e);
@@ -483,7 +483,7 @@ export function serveConversations({ claude, router, store, project, report, cle
483
483
  });
484
484
  const recordAppend = async (e, next) => {
485
485
  const kept = await next(e);
486
- if (kept.deny !== undefined || session === '')
486
+ if (kept.deny !== undefined || session === '' || e.door === 'queue')
487
487
  return kept;
488
488
  const cwd = e.message.type === 'assistant' ? await claude.session.cwd() : '';
489
489
  void take(rowOfAppend({ uuid: kept.uuid, door: e.door, origin: e.origin, message: kept.message }, new Date().toISOString(), cwd), e.agentId).catch((error) => report('append', 'Missed a message', error));
package/src/records.ts CHANGED
@@ -236,12 +236,8 @@ export function pluginsChangedPath(store: string): string {
236
236
  return `${store}/plugins-changed`
237
237
  }
238
238
 
239
- export function pluginsChangedMark(at: number, pid: number, checkout?: string): string {
240
- return `${at} ${pid}\n${checkout === undefined ? '' : `${checkout}\n`}`
241
- }
242
-
243
- export function markedCheckout(mark: string): string | undefined {
244
- return mark.split('\n')[1] || undefined
239
+ export function pluginsChangedMark(at: number, pid: number): string {
240
+ return `${at} ${pid}\n`
245
241
  }
246
242
 
247
243
  export function storeChangedPath(store: string): string {
@@ -417,7 +413,7 @@ function readHotkeys(hotkeys: unknown): Steps {
417
413
  return { hotkeys: checkHotkeys('package.json "cmod"', hotkeys as Record<string, HotkeyInit>) }
418
414
  }
419
415
 
420
- export const coreVersion = '5.13.2'
416
+ export const coreVersion = '5.13.3'
421
417
 
422
418
  export const oldestCmodVersion = '5.10.0'
423
419
 
@@ -184,6 +184,7 @@ export function installBefore({ claude, router, hooks }: { readonly claude: Clau
184
184
  return refusal === undefined ? undefined : { text: null }
185
185
  }),
186
186
  router.add('session.append', async (e, next) => {
187
+ if (e.door === 'queue') return next(e)
187
188
  const wanted = new Set((await Promise.all(appended.map(async (event) => ((await wants(event)) ? [event] : [])))).flat())
188
189
  if (wanted.size === 0) return next(e)
189
190
  const row = rowOfAppend({ uuid: e.uuid, door: e.door, origin: e.origin, message: e.message }, now(), '')
@@ -540,7 +540,7 @@ export function serveConversations({
540
540
 
541
541
  const recordAppend: RoutedHook<'session.append'> = async (e, next) => {
542
542
  const kept = await next(e)
543
- if (kept.deny !== undefined || session === '') return kept
543
+ if (kept.deny !== undefined || session === '' || e.door === 'queue') return kept
544
544
  const cwd = e.message.type === 'assistant' ? await claude.session.cwd() : ''
545
545
  void take(rowOfAppend({ uuid: kept.uuid, door: e.door, origin: e.origin, message: kept.message }, new Date().toISOString(), cwd), e.agentId).catch((error: unknown) => report('append', 'Missed a message', error))
546
546
  return kept