@g3nomaly/mods 0.1.4 → 0.1.5
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/README.md
CHANGED
|
@@ -30,16 +30,16 @@ To install into one project instead, leave out `--user` and run the commands fro
|
|
|
30
30
|
|---|---|---|
|
|
31
31
|
| `context-bar` | One bar of context-window use split by source, with the total and where compaction starts | `/context-bar` |
|
|
32
32
|
| `tool-timeline` | Each tool call with its duration. A denied call is struck through, next to the call that replaced it | `/tool-timeline` |
|
|
33
|
-
| `delete-guard` |
|
|
33
|
+
| `delete-guard` | Off by default; switched on, it holds `rm -rf` and other permanent deletes on a card until you press Delete or Cancel | `/delete-guard on \| off` |
|
|
34
34
|
| `agents-panel` | The agents in `.claude/agents` with their model and a run button | `/agents-panel` |
|
|
35
|
-
| `focus-mode` | A timed focus block
|
|
35
|
+
| `focus-mode` | A timed focus block in which Claude asks you nothing: no questions, no permission prompts | `/focus-mode [minutes] \| end` |
|
|
36
36
|
| `hide-personal-data` | Masks names, emails and other personal data in replies. Hover to show them | `/hide-personal-data on \| off` |
|
|
37
37
|
| `mini-game` | Minesweeper, to play while Claude works | `/mini-game` |
|
|
38
|
-
| `custom-crab-agents` |
|
|
38
|
+
| `custom-crab-agents` | Adds each subagent to the agents panel as a crab with a hat; installs `agents-panel` with it | `/agents-panel` |
|
|
39
39
|
| `handoff` | Writes a handoff, clears the session, and gives the handoff to your next prompt | `/handoff-new [what the next session is for]` |
|
|
40
40
|
| `you-should-know` | A card under long replies with their key point. It makes one small Haiku call per long reply | none |
|
|
41
41
|
|
|
42
|
-
Each pane opens with its command. For `context-bar`, `tool-timeline
|
|
42
|
+
Each pane opens with its command. For `context-bar`, `tool-timeline` and `agents-panel`, running the command again closes the pane.
|
|
43
43
|
|
|
44
44
|
## The viewer
|
|
45
45
|
|
|
@@ -8,7 +8,8 @@ export declare function isModDir(dir: string): boolean;
|
|
|
8
8
|
* @brief Reads one mod folder into its registry entry. The key is the folder name,
|
|
9
9
|
* which must equal the `name` in its `plugin.json`, the name Claude Code
|
|
10
10
|
* loads it under; every installable file becomes a `files[]` entry at
|
|
11
|
-
* `<key>/<file>`.
|
|
11
|
+
* `<key>/<file>`. The mods its `plugin.json` lists under `dependencies`
|
|
12
|
+
* become `registryDependencies`, so installing it installs them too.
|
|
12
13
|
*
|
|
13
14
|
* @param modDir - Absolute mod folder inside a source checkout
|
|
14
15
|
* @param context - Origin to record, the source as group, and the version to fall back on
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readModDir.d.ts","sourceRoot":"","sources":["../../src/registry/readModDir.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAwB,OAAO,EAAE,MAAM,SAAS,CAAC;AAE7D,eAAO,MAAM,eAAe,QAA6C,CAAC;AAC1E,eAAO,MAAM,cAAc,QAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"readModDir.d.ts","sourceRoot":"","sources":["../../src/registry/readModDir.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAwB,OAAO,EAAE,MAAM,SAAS,CAAC;AAE7D,eAAO,MAAM,eAAe,QAA6C,CAAC;AAC1E,eAAO,MAAM,cAAc,QAAoC,CAAC;AAuBhE,0GAA0G;AAC1G,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAE7C;AAgBD;;;;;;;;;;;;GAYG;AACH,wBAAsB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CA+BjG"}
|
|
@@ -13,6 +13,7 @@ const PluginManifestSchema = z.object({
|
|
|
13
13
|
name: z.string().regex(/^[a-z0-9][a-z0-9-]*$/, "use lowercase letters, digits and `-`"),
|
|
14
14
|
version: z.string().min(1).optional(),
|
|
15
15
|
description: z.string().optional(),
|
|
16
|
+
dependencies: z.array(z.string().min(1)).optional(),
|
|
16
17
|
});
|
|
17
18
|
/** JavaScript in any form; a mod holding one is refused. */
|
|
18
19
|
const JAVASCRIPT_FILE = /\.(?:js|mjs|cjs|jsx)$/i;
|
|
@@ -45,7 +46,8 @@ function fileType(relativeToMod) {
|
|
|
45
46
|
* @brief Reads one mod folder into its registry entry. The key is the folder name,
|
|
46
47
|
* which must equal the `name` in its `plugin.json`, the name Claude Code
|
|
47
48
|
* loads it under; every installable file becomes a `files[]` entry at
|
|
48
|
-
* `<key>/<file>`.
|
|
49
|
+
* `<key>/<file>`. The mods its `plugin.json` lists under `dependencies`
|
|
50
|
+
* become `registryDependencies`, so installing it installs them too.
|
|
49
51
|
*
|
|
50
52
|
* @param modDir - Absolute mod folder inside a source checkout
|
|
51
53
|
* @param context - Origin to record, the source as group, and the version to fall back on
|
|
@@ -79,6 +81,7 @@ export async function readModDir(modDir, context) {
|
|
|
79
81
|
group: context.group,
|
|
80
82
|
origin: context.origin,
|
|
81
83
|
files,
|
|
84
|
+
...(manifest.dependencies === undefined ? {} : { registryDependencies: manifest.dependencies }),
|
|
82
85
|
}];
|
|
83
86
|
}
|
|
84
87
|
//# sourceMappingURL=readModDir.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readModDir.js","sourceRoot":"","sources":["../../src/registry/readModDir.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAIrD,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,gBAA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