Every handily mod in one install, and /handily to show which mods are installed and loaded.

handily is the bundle. One install of it installs and enables every handily mod. It also adds the /handily command, which shows the version, the state, the mode and the purpose of each mod. docs/install.md gives the install, update and uninstall steps.
The dependencies list in .claude-plugin/plugin.json names the mods. Claude Code installs each mod in the list with the bundle:
handily-workitemshandily-quiet-itemshandily-boardhandily-item-toastshandily-simple-viewhandily-reply-view/handily reads the same list, so it always checks the mods that the bundle installs.
/handily takes no argument. It prints one line for each mod in the list, in five columns:
| Column | What it shows |
|---|---|
| name | The mod name |
| version | The version in the plugin.json of the mod that loaded, or - |
| state | loaded, disabled, not installed or not loaded |
| mode | The mode that the mod stores for this session, and its setting when they differ |
| description | The first sentence of the description in its plugin.json, cut to fit a line |
The mode column has these values:
| Mode | Meaning |
|---|---|
on, off | The mode of handily-quiet-items, handily-item-toasts, handily-simple-view and handily-reply-view |
off (default on), on (default off) | The mode of this session differs from the mode setting of the mod. A new session starts from the setting |
polling | handily-workitems reads the tracker |
paused | handily-workitems is paused with /workitems pause |
- | The mod has no mode, such as handily-board, or it stored none yet |
? | /handily cannot read the mode. The debug log has the reason |
Each line fits in 80 columns. This is the output when every mod loaded:
handily-workitems 0.8.0 loaded polling Provider of one typed work item…
handily-quiet-items 0.5.0 loaded on One short row in place of each…
handily-board 0.4.0 loaded - A board with two tabs
handily-item-toasts 0.6.0 loaded on A toast when a work item changes…
handily-simple-view 0.7.0 loaded on One short row for each tool call…
handily-reply-view 0.6.0 loaded on Long replies fold to their first…
handily: 6 of 6 mods loaded, 0 off or paused
A mod that did not load gets a second line with the command that fixes it. This is the output when handily-board is not installed and /item-toasts off turned the toasts off:
handily-workitems 0.8.0 loaded polling Provider of one typed work…
handily-quiet-items 0.5.0 loaded on One short row in place of…
handily-board - not installed -
Run /plugin install handily-board@niksavis
handily-item-toasts 0.6.0 loaded off A toast when a work item…
handily-simple-view 0.7.0 loaded on One short row for each…
handily-reply-view 0.6.0 loaded on Long replies fold to their…
handily: 5 of 6 mods loaded, 1 off or paused
/handily reads the mode setting of each mod from the rows of the /config menu. When the mode of this session differs from the setting, the mode column shows both. This is the output when /item-toasts, /simple and /replies turned their mode off and each mode setting is on:
handily-workitems 0.8.0 loaded polling Provider of one typed…
handily-quiet-items 0.5.0 loaded on One short row in place…
handily-board 0.4.0 loaded - A board with two tabs
handily-item-toasts 0.6.0 loaded off (default on) A toast when a work item…
handily-simple-view 0.7.0 loaded off (default on) One short row for each…
handily-reply-view 0.6.0 loaded off (default on) Long replies fold to…
handily: 6 of 6 mods loaded, 3 off or paused
| State | Second line | Theme colour |
|---|---|---|
| loaded | none | success |
| disabled | Run /plugin enable <id> | error |
| not installed | Run /plugin install <id> | error |
| not loaded | Run claude --debug to see why | warning |
/handily tells a disabled mod from a missing one by the enabledPlugins setting. A mod set to false there is disabled. A mod that is not there is not installed.
The last line counts the mods that loaded and the mods that are off or paused. The line has the success colour when every mod loaded and no old plugin id is found. Otherwise it has the warning colour.
/handily reads the enabledPlugins setting in the user, project and local settings. It looks for each plugin id from the old marketplace handily. These are the bundle, each mod, and each mod name that a handily release replaced:
| Old plugin id | Replaced by |
|---|---|
handily@handily and each handily-<mod>@handily | the same name @niksavis |
workitems@handily | handily-workitems |
quiet-items@handily | handily-quiet-items |
item-toasts@handily | handily-item-toasts |
simple-view@handily | handily-simple-view |
reply-view@handily | handily-reply-view |
task-pane@handily, session-board@handily, agent-board@handily | handily-board |
handily-task-pane@handily, handily-session-board@handily, handily-agent-board@handily | handily-board |
For each old id that it finds, /handily prints the id and its scope, and under it the command that uninstalls it. Then it prints the command that removes the old marketplace. This is the end of the output when the user settings still hold handily@handily and handily-workitems@handily:
handily@handily old id of handily, user settings
Run claude plugin uninstall handily@handily --scope user
handily-workitems@handily old id of handily-workitems, user settings
Run claude plugin uninstall handily-workitems@handily --scope user
handily marketplace old marketplace of these ids
Run claude plugin marketplace remove handily
handily: 6 of 6 mods loaded, 0 off or paused
Run each command above, then type /reload-plugins
claude --plugin-dir mods
claude plugin test mods/handily
The bundle depends on every other mod, so load the mods folder.
hooks/register.ts 193 lines1import type { ConfigRow, EngineInterface, Register } from 'claude-code'
2import type { HandilyDefaultMode, HandilyModMode, HandilyOldIdScope } from '../types'
3import { drawReport } from './draw'
4import {
5 bundledMods,
6 manifestDescription,
7 manifestVersion,
8 OLD_ID_SCOPES,
9 oldIdsOf,
10 replyText,
11 statusesOf,
12 type LoadedMod,
13} from './status'
14
15const COMMAND = 'handily'
16const MODE_FIELD_SUFFIX = '.mode'
17const NO_ARGUMENT_TEXT =
18 '/handily takes no argument; it lists each handily mod with its version, state and mode.'
19
20type Ready = { root: string } | undefined
21
22async function readyOf($: EngineInterface, name: string): Promise<Ready> {
23 switch (name) {
24 case 'handily-workitems':
25 return (await $.state.get({ plugin: 'handily-workitems', key: 'ready' })).value
26 case 'handily-quiet-items':
27 return (await $.state.get({ plugin: 'handily-quiet-items', key: 'ready' })).value
28 case 'handily-board':
29 return (await $.state.get({ plugin: 'handily-board', key: 'ready' })).value
30 case 'handily-item-toasts':
31 return (await $.state.get({ plugin: 'handily-item-toasts', key: 'ready' })).value
32 case 'handily-simple-view':
33 return (await $.state.get({ plugin: 'handily-simple-view', key: 'ready' })).value
34 case 'handily-reply-view':
35 return (await $.state.get({ plugin: 'handily-reply-view', key: 'ready' })).value
36 default:
37 throw new Error(
38 `handily: plugin.json lists "${name}", but /handily has no ready value to read for it`,
39 )
40 }
41}
42
43function onOrOff(stored: unknown): HandilyModMode {
44 if (stored === undefined) return '-'
45 if (stored === 'on' || stored === 'off') return stored
46 throw new Error(`the stored mode ${JSON.stringify(stored)} is neither on nor off`)
47}
48
49async function storedMode($: EngineInterface, name: string): Promise<HandilyModMode> {
50 switch (name) {
51 case 'handily-workitems': {
52 const { value } = await $.state.get({ plugin: 'handily-workitems', key: 'snapshot' })
53 if (value === undefined) return '-'
54 return value.state === 'paused' ? 'paused' : 'polling'
55 }
56 case 'handily-quiet-items':
57 return onOrOff((await $.state.get({ plugin: 'handily-quiet-items', key: 'mode' })).value)
58 case 'handily-item-toasts':
59 return onOrOff((await $.state.get({ plugin: 'handily-item-toasts', key: 'mode' })).value)
60 case 'handily-simple-view':
61 return onOrOff((await $.state.get({ plugin: 'handily-simple-view', key: 'mode' })).value)
62 case 'handily-reply-view':
63 return onOrOff((await $.state.get({ plugin: 'handily-reply-view', key: 'mode' })).value)
64 case 'handily-board':
65 return '-'
66 default:
67 throw new Error(
68 `handily: plugin.json lists "${name}", but /handily has no mode to read for it`,
69 )
70 }
71}
72
73async function modeOf($: EngineInterface, name: string): Promise<HandilyModMode> {
74 try {
75 return await storedMode($, name)
76 } catch (error) {
77 const reason = error instanceof Error ? error.message : String(error)
78 $.ui.log(`handily: cannot read the mode of ${name}: ${reason}`, { to: 'debug' })
79 return '?'
80 }
81}
82
83function withoutMarketplace(pluginId: string): string {
84 return pluginId.replace(/@.*$/, '')
85}
86
87function configuredMode(rows: readonly ConfigRow[], name: string): HandilyDefaultMode | null {
88 const row = rows.find(
89 (candidate) =>
90 withoutMarketplace(candidate.provider.plugin) === name &&
91 candidate.key.endsWith(MODE_FIELD_SUFFIX),
92 )
93 if (row === undefined) return null
94 if (row.value === 'on' || row.value === 'off') return row.value
95 throw new Error(`the mode setting ${JSON.stringify(row.value)} is neither on nor off`)
96}
97
98function defaultModeOf(
99 $: EngineInterface,
100 rows: readonly ConfigRow[],
101 name: string,
102 mode: HandilyModMode,
103): HandilyDefaultMode | null {
104 if (mode !== 'on' && mode !== 'off') return null
105 try {
106 return configuredMode(rows, name)
107 } catch (error) {
108 const reason = error instanceof Error ? error.message : String(error)
109 $.ui.log(`handily: cannot read the default mode of ${name}: ${reason}`, { to: 'debug' })
110 return null
111 }
112}
113
114function manifestPath(root: string): string {
115 return `${root}/.claude-plugin/plugin.json`
116}
117
118function shownUnderPluginName(pluginName: string, text: string): string {
119 return `${pluginName}: ${text}`
120}
121
122async function loadedMods(
123 $: EngineInterface,
124 mods: readonly string[],
125): Promise<Map<string, LoadedMod>> {
126 const loaded = new Map<string, LoadedMod>()
127 const configRows = await $.config.list()
128 for (const name of mods) {
129 const ready = await readyOf($, name)
130 if (ready === undefined) continue
131 const manifest = await $.fs.read(manifestPath(ready.root))
132 const mode = await modeOf($, name)
133 loaded.set(name, {
134 version: manifestVersion(manifest, name),
135 description: manifestDescription(manifest, name),
136 mode,
137 defaultMode: defaultModeOf($, configRows, name, mode),
138 })
139 }
140 return loaded
141}
142
143async function enabledByScope($: EngineInterface): Promise<Map<HandilyOldIdScope, unknown>> {
144 const found = new Map<HandilyOldIdScope, unknown>()
145 for (const scope of OLD_ID_SCOPES) {
146 const { enabledPlugins } = await $.settings.read({ source: scope })
147 found.set(scope, enabledPlugins)
148 }
149 return found
150}
151
152export const register: Register = (on) => {
153 on('session.start', async ($, e, next) => {
154 await $.command.register({
155 name: COMMAND,
156 description: 'handily · Show the version, state, mode and purpose of each handily mod',
157 })
158 return next(e)
159 })
160
161 on('command.run', { command: COMMAND }, async ($, e) => {
162 if (e.args.trim() !== '') return { text: NO_ARGUMENT_TEXT }
163 const mods = bundledMods(await $.fs.read(manifestPath($.plugin.root)))
164 const loaded = await loadedMods($, mods)
165 const { enabledPlugins } = await $.settings.read()
166 const report = {
167 mods: statusesOf(mods, loaded, enabledPlugins),
168 oldIds: oldIdsOf([$.plugin.name, ...mods], await enabledByScope($)),
169 }
170 const text = replyText(report)
171 await $.state.set(
172 { plugin: 'handily', key: 'reports', id: shownUnderPluginName($.plugin.name, text) },
173 report,
174 )
175 return { text }
176 })
177
178 on(
179 'ui.render',
180 { component: 'CommandOutput', props: { command: COMMAND } },
181 async ($, e, next) => {
182 if (e.props.isErrored) return next(e)
183 const { value: report } = await $.state.get({
184 plugin: 'handily',
185 key: 'reports',
186 id: e.props.text,
187 })
188 if (report === undefined) return next(e)
189 return drawReport($.ui.resolve(e), report)
190 },
191 )
192}
193hooks/draw.ts 54 lines1import type { Elements, RenderElement, RenderSurface, ThemeKey } from 'claude-code'
2import type { HandilyModState, HandilyReport } from '../types'
3import { actionLine, isAllWell, modRowsOf, oldRowsOf, summaryOf } from './status'
4
5type ReportElements = Pick<Elements[RenderSurface], 'Box' | 'Text'>
6
7const STATE_COLOR: Record<HandilyModState, ThemeKey> = {
8 loaded: 'success',
9 disabled: 'error',
10 'not installed': 'error',
11 'not loaded': 'warning',
12}
13
14const OLD_ID_COLOR: ThemeKey = 'warning'
15
16const COLUMN_GAP = 2
17
18export function drawReport({ Box, Text }: ReportElements, report: HandilyReport): RenderElement {
19 const cell = (
20 children: string,
21 props: { bold?: boolean; dimColor?: boolean; color?: ThemeKey },
22 ) => Box({ flexShrink: 0, children: Text({ ...props, children }) })
23 const line = (key: string, children: RenderElement[]) =>
24 Box({ key, flexDirection: 'row', gap: COLUMN_GAP, children })
25 const action = (key: string, text: string, color: ThemeKey) =>
26 Box({ key, children: Text({ color, children: actionLine(text) }) })
27 const modLines = modRowsOf(report).flatMap((row) => {
28 const color = STATE_COLOR[row.state]
29 const main = line(row.key, [
30 cell(row.name, { bold: true }),
31 cell(row.version, { dimColor: true }),
32 cell(row.stateText, { color }),
33 cell(row.mode, {}),
34 Box({ flexShrink: 1, children: Text({ dimColor: true, children: row.about }) }),
35 ])
36 return row.action === null ? [main] : [main, action(`${row.key} action`, row.action, color)]
37 })
38 const oldLines = oldRowsOf(report).flatMap((row) => [
39 line(row.key, [
40 cell(row.name, { bold: true }),
41 Box({ flexShrink: 1, children: Text({ color: OLD_ID_COLOR, children: row.detail }) }),
42 ]),
43 action(`${row.key} action`, row.action, OLD_ID_COLOR),
44 ])
45 const summaryColor: ThemeKey = isAllWell(report) ? 'success' : 'warning'
46 const summary = summaryOf(report).map((text, index) =>
47 Box({
48 key: `summary ${String(index)}`,
49 children: Text({ color: summaryColor, children: text }),
50 }),
51 )
52 return Box({ flexDirection: 'column', children: [...modLines, ...oldLines, ...summary] })
53}
54hooks/status.ts 262 lines1import type {
2 HandilyDefaultMode,
3 HandilyModMode,
4 HandilyModState,
5 HandilyModStatus,
6 HandilyOldId,
7 HandilyOldIdScope,
8 HandilyReport,
9} from '../types'
10
11const MARKETPLACE = 'niksavis'
12
13const OLD_MARKETPLACE = 'handily'
14
15const REPLY_COLUMNS = 80
16
17const COLUMN_GAP = ' '
18
19const ACTION_INDENT = ' '
20
21const SHORTEST_ABOUT = 12
22
23const REPLACED_MODS: ReadonlyMap<string, string> = new Map([
24 ['workitems', 'handily-workitems'],
25 ['quiet-items', 'handily-quiet-items'],
26 ['task-pane', 'handily-board'],
27 ['session-board', 'handily-board'],
28 ['item-toasts', 'handily-item-toasts'],
29 ['agent-board', 'handily-board'],
30 ['simple-view', 'handily-simple-view'],
31 ['reply-view', 'handily-reply-view'],
32 ['handily-task-pane', 'handily-board'],
33 ['handily-session-board', 'handily-board'],
34 ['handily-agent-board', 'handily-board'],
35])
36
37export const OLD_ID_SCOPES: readonly HandilyOldIdScope[] = ['user', 'project', 'local']
38
39export type LoadedMod = {
40 version: string
41 description: string
42 mode: HandilyModMode
43 defaultMode: HandilyDefaultMode | null
44}
45
46export type ModRow = {
47 key: string
48 state: HandilyModState
49 name: string
50 version: string
51 stateText: string
52 mode: string
53 about: string
54 action: string | null
55}
56
57export type OldRow = { key: string; name: string; detail: string; action: string }
58
59type Manifest = { version: unknown; description: unknown; dependencies: unknown }
60
61function manifestOf(manifestText: string): Manifest {
62 const manifest: unknown = JSON.parse(manifestText)
63 if (typeof manifest !== 'object' || manifest === null)
64 return { version: undefined, description: undefined, dependencies: undefined }
65 return {
66 version: 'version' in manifest ? manifest.version : undefined,
67 description: 'description' in manifest ? manifest.description : undefined,
68 dependencies: 'dependencies' in manifest ? manifest.dependencies : undefined,
69 }
70}
71
72export function bundledMods(manifestText: string): string[] {
73 const { dependencies } = manifestOf(manifestText)
74 if (
75 !Array.isArray(dependencies) ||
76 dependencies.length === 0 ||
77 !dependencies.every((name) => typeof name === 'string')
78 ) {
79 throw new Error('handily: plugin.json "dependencies" must list the handily mods by name')
80 }
81 return dependencies
82}
83
84export function manifestVersion(manifestText: string, name: string): string {
85 const { version } = manifestOf(manifestText)
86 if (typeof version !== 'string' || version === '') {
87 throw new Error(`handily: the plugin.json of ${name} has no "version"`)
88 }
89 return version
90}
91
92export function manifestDescription(manifestText: string, name: string): string {
93 const { description } = manifestOf(manifestText)
94 if (typeof description !== 'string' || description === '') {
95 throw new Error(`handily: the plugin.json of ${name} has no "description"`)
96 }
97 return description
98}
99
100function pluginId(name: string, marketplace = MARKETPLACE): string {
101 return `${name}@${marketplace}`
102}
103
104function enabledEntry(enabledPlugins: unknown, id: string): unknown {
105 if (typeof enabledPlugins !== 'object' || enabledPlugins === null) return undefined
106 return (enabledPlugins as Record<string, unknown>)[id]
107}
108
109function missingStatus(name: string, enabled: unknown): HandilyModStatus {
110 const missing = { name, version: null, mode: '-' as const, defaultMode: null, about: null }
111 if (enabled === false) {
112 return { ...missing, state: 'disabled', action: `Run /plugin enable ${pluginId(name)}` }
113 }
114 if (enabled === undefined) {
115 return { ...missing, state: 'not installed', action: `Run /plugin install ${pluginId(name)}` }
116 }
117 return { ...missing, state: 'not loaded', action: 'Run claude --debug to see why' }
118}
119
120export function statusesOf(
121 mods: readonly string[],
122 loaded: ReadonlyMap<string, LoadedMod>,
123 enabledPlugins: unknown,
124): HandilyModStatus[] {
125 return mods.map((name) => {
126 const mod = loaded.get(name)
127 if (mod === undefined) return missingStatus(name, enabledEntry(enabledPlugins, pluginId(name)))
128 return {
129 name,
130 version: mod.version,
131 state: 'loaded',
132 mode: mod.mode,
133 defaultMode: mod.defaultMode,
134 about: mod.description,
135 action: null,
136 }
137 })
138}
139
140export function oldIdsOf(
141 current: readonly string[],
142 enabledByScope: ReadonlyMap<HandilyOldIdScope, unknown>,
143): HandilyOldId[] {
144 const found: HandilyOldId[] = []
145 const names = [...REPLACED_MODS, ...current.map((name) => [name, name] as const)]
146 for (const [oldName, replacedBy] of names) {
147 const id = pluginId(oldName, OLD_MARKETPLACE)
148 for (const scope of OLD_ID_SCOPES) {
149 if (enabledEntry(enabledByScope.get(scope), id) === undefined) continue
150 found.push({
151 id,
152 scope,
153 detail: `old id of ${replacedBy}, ${scope} settings`,
154 action: `Run claude plugin uninstall ${id} --scope ${scope}`,
155 })
156 }
157 }
158 return found
159}
160
161function widest(texts: readonly string[]): number {
162 return Math.max(0, ...texts.map((text) => text.length))
163}
164
165export function shortened(text: string, width: number): string {
166 const sentence = (text.split(/[.:] /, 1)[0] ?? text).replace(/\.$/, '')
167 if (sentence.length <= width) return sentence
168 const room = sentence.slice(0, width - 1)
169 const lastSpace = room.lastIndexOf(' ')
170 const cut = lastSpace > 0 ? room.slice(0, lastSpace) : room
171 return `${cut.replace(/[\s,.;:]+$/, '')}…`
172}
173
174function modeText({ mode, defaultMode }: HandilyModStatus): string {
175 if (defaultMode === null || defaultMode === mode) return mode
176 return `${mode} (default ${defaultMode})`
177}
178
179export function modRowsOf(report: HandilyReport): ModRow[] {
180 const cells = report.mods.map((status) => ({
181 status,
182 name: status.name,
183 version: status.version ?? '-',
184 stateText: status.state,
185 mode: modeText(status),
186 }))
187 const nameWidth = widest(cells.map((cell) => cell.name))
188 const versionWidth = widest(cells.map((cell) => cell.version))
189 const stateWidth = widest(cells.map((cell) => cell.stateText))
190 const modeWidth = widest(cells.map((cell) => cell.mode))
191 const aboutWidth = Math.max(
192 SHORTEST_ABOUT,
193 REPLY_COLUMNS - nameWidth - versionWidth - stateWidth - modeWidth - 4 * COLUMN_GAP.length,
194 )
195 return cells.map((cell) => ({
196 key: cell.name,
197 state: cell.status.state,
198 name: cell.name.padEnd(nameWidth),
199 version: cell.version.padEnd(versionWidth),
200 stateText: cell.stateText.padEnd(stateWidth),
201 mode: cell.mode.padEnd(modeWidth),
202 about: shortened(cell.status.about ?? '', aboutWidth),
203 action: cell.status.action,
204 }))
205}
206
207export function oldRowsOf(report: HandilyReport): OldRow[] {
208 if (report.oldIds.length === 0) return []
209 const rows = [
210 ...report.oldIds.map((oldId) => ({
211 key: `${oldId.id} ${oldId.scope}`,
212 name: oldId.id,
213 detail: oldId.detail,
214 action: oldId.action,
215 })),
216 {
217 key: `${OLD_MARKETPLACE} marketplace`,
218 name: `${OLD_MARKETPLACE} marketplace`,
219 detail: 'old marketplace of these ids',
220 action: `Run claude plugin marketplace remove ${OLD_MARKETPLACE}`,
221 },
222 ]
223 const nameWidth = widest(rows.map((row) => row.name))
224 return rows.map((row) => ({ ...row, name: row.name.padEnd(nameWidth) }))
225}
226
227export function isAllWell(report: HandilyReport): boolean {
228 return report.oldIds.length === 0 && report.mods.every((status) => status.state === 'loaded')
229}
230
231function isOffOrPaused(status: HandilyModStatus): boolean {
232 return status.mode === 'off' || status.mode === 'paused'
233}
234
235export function summaryOf(report: HandilyReport): string[] {
236 const loaded = report.mods.filter((status) => status.state === 'loaded').length
237 const off = report.mods.filter(isOffOrPaused).length
238 const counted = `handily: ${String(loaded)} of ${String(report.mods.length)} mods loaded, ${String(off)} off or paused`
239 if (report.oldIds.length === 0) return [counted]
240 return [counted, 'Run each command above, then type /reload-plugins']
241}
242
243export function modLine(row: ModRow): string {
244 return [row.name, row.version, row.stateText, row.mode, row.about].join(COLUMN_GAP).trimEnd()
245}
246
247export function oldLine(row: OldRow): string {
248 return [row.name, row.detail].join(COLUMN_GAP)
249}
250
251export function actionLine(action: string): string {
252 return `${ACTION_INDENT}${action}`
253}
254
255export function replyText(report: HandilyReport): string {
256 const modLines = modRowsOf(report).flatMap((row) =>
257 row.action === null ? [modLine(row)] : [modLine(row), actionLine(row.action)],
258 )
259 const oldLines = oldRowsOf(report).flatMap((row) => [oldLine(row), actionLine(row.action)])
260 return [...modLines, ...oldLines, '', ...summaryOf(report)].join('\n')
261}
262types/index.d.ts 36 lines1export type HandilyModState = 'loaded' | 'disabled' | 'not installed' | 'not loaded'
2
3export type HandilyModMode = 'on' | 'off' | 'polling' | 'paused' | '-' | '?'
4
5export type HandilyDefaultMode = 'on' | 'off'
6
7export type HandilyModStatus = {
8 name: string
9 version: string | null
10 state: HandilyModState
11 mode: HandilyModMode
12 defaultMode: HandilyDefaultMode | null
13 about: string | null
14 action: string | null
15}
16
17export type HandilyOldIdScope = 'user' | 'project' | 'local'
18
19export type HandilyOldId = {
20 id: string
21 scope: HandilyOldIdScope
22 detail: string
23 action: string
24}
25
26export type HandilyReport = {
27 mods: readonly HandilyModStatus[]
28 oldIds: readonly HandilyOldId[]
29}
30
31declare module 'claude-code' {
32 interface PluginState {
33 handily: { reports: StateFamily<HandilyReport> }
34 }
35}
36