@cmodjs/core 0.2.2 → 0.2.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 +9 -0
- package/docs/mod.md +1 -1
- package/package.json +1 -1
package/docs/commands.md
CHANGED
|
@@ -153,6 +153,15 @@ cmod remove <name>
|
|
|
153
153
|
|
|
154
154
|
Uninstalls the plugin through Claude Code. When cmod set the plugin up as a mod, it then runs the uninstall step cmod saved and removes what cmod set up.
|
|
155
155
|
|
|
156
|
+
### cmod enable and cmod disable
|
|
157
|
+
|
|
158
|
+
```text
|
|
159
|
+
cmod enable <name>
|
|
160
|
+
cmod disable <name>
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Turns the plugin on or off through Claude Code, as `/plugin` does. A running session follows after `/reload-plugins`. A mod keeps its setup, its data, and its program while it is off, and runs no install or uninstall step either way. They refuse a plugin linked with `cmod link`, which `cmod unlink` stops loading. The `Turn off` and `Turn on` buttons in `/mods` run them.
|
|
164
|
+
|
|
156
165
|
### cmod list
|
|
157
166
|
|
|
158
167
|
```text
|
package/docs/mod.md
CHANGED
|
@@ -294,7 +294,7 @@ mod.settings.page(page: Pane<State>): void
|
|
|
294
294
|
mod.settings.open(pageId?: string): Promise<void>
|
|
295
295
|
```
|
|
296
296
|
|
|
297
|
-
`/mods` shows each mod's options, permissions, and keys. `page` adds a page of the mod's own to its entry there, drawn as any pane is ([ui.md](ui.md)). `open` opens that page, or with no id opens the mod's entry in `/mods`. `open` rejects for an id `page` did not add.
|
|
297
|
+
`/mods` shows each mod's description, options, permissions, and keys, and turns a mod off or removes it. `page` adds a page of the mod's own to its entry there, drawn as any pane is ([ui.md](ui.md)). `open` opens that page, or with no id opens the mod's entry in `/mods`. `open` rejects for an id `page` did not add.
|
|
298
298
|
|
|
299
299
|
```tsx
|
|
300
300
|
mod.settings.page(definePane({ id: 'runs', title: 'Runs', render: (current) => <Text>{current.state.session.lastRun}</Text> }))
|