init
This commit is contained in:
commit
ec53fcbe95
1905 changed files with 513762 additions and 0 deletions
18
commands/reload-plugins/index.ts
Normal file
18
commands/reload-plugins/index.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* /reload-plugins — Layer-3 refresh. Applies pending plugin changes to the
|
||||
* running session. Implementation lazy-loaded.
|
||||
*/
|
||||
import type { Command } from '../../commands.js'
|
||||
|
||||
const reloadPlugins = {
|
||||
type: 'local',
|
||||
name: 'reload-plugins',
|
||||
description: 'Activate pending plugin changes in the current session',
|
||||
// SDK callers use query.reloadPlugins() (control request) instead of
|
||||
// sending this as a text prompt — that returns structured data
|
||||
// (commands, agents, plugins, mcpServers) for UI updates.
|
||||
supportsNonInteractive: false,
|
||||
load: () => import('./reload-plugins.js'),
|
||||
} satisfies Command
|
||||
|
||||
export default reloadPlugins
|
||||
Loading…
Add table
Add a link
Reference in a new issue