summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/.claude-plugin/plugin.json
diff options
context:
space:
mode:
authorMorgan Lunt <morganl@anthropic.com>2026-09-24 18:07:14 -0700
committerMorgan Lunt <morganl@anthropic.com>2026-09-24 18:11:07 -0700
commitc9e990089c6c87cb96e227e998edbada1df82861 (patch)
tree623eb2b217930fd1e56558946443cd2ddeb5b849 /plugins/code-modernization/.claude-plugin/plugin.json
parent70caddcb673ac8995d6a5191e02ac51de579d6c3 (diff)
code-modernization: add an optional live progress pane
Adds a hooks module, off unless the CLI's early-access function hooks are enabled, that draws a pane beside the transcript while the commands run: the system, which steps are done, a map of its code, each unit of work and where it stands, what needs attention, and the next command. It reads only the artifacts the commands write and the legacy tree, so it works for any language and for a rewrite, a same-stack uplift or a greenfield rebuild. The map comes from topology.json when there is one and from the source tree when there is not. In an uplift each module is set against the baseline; tests are read from JUnit XML, .trx reports or the runs a session sees; a button shows and hides the pane, and /modernize-panel does the same from the keyboard. The same module adds x-ray context on legacy reads, a review deck for business rules (/modernize-review), a sign-off dialog (/modernize-sign) and a fleet view that spots one failure repeating across agents. It only watches: it never blocks, rewrites or restores an edit, and it runs no program inside the trees it reads. An uplift's changed modules are found by comparing the working copy with the tree by file name and size through the file API. Its options are the plugin's userConfig. Without the flag nothing loads and the commands, agents and workflows behave as before. 91 tests in tests/ run with "claude plugin test"; plugin validate passes on the release build with the flag on and off.
Diffstat (limited to 'plugins/code-modernization/.claude-plugin/plugin.json')
-rw-r--r--plugins/code-modernization/.claude-plugin/plugin.json51
1 files changed, 50 insertions, 1 deletions
diff --git a/plugins/code-modernization/.claude-plugin/plugin.json b/plugins/code-modernization/.claude-plugin/plugin.json
index 431fe9b3..274d539d 100644
--- a/plugins/code-modernization/.claude-plugin/plugin.json
+++ b/plugins/code-modernization/.claude-plugin/plugin.json
@@ -1,8 +1,57 @@
{
"name": "code-modernization",
- "description": "Modernize legacy codebases (COBOL, legacy Java/C++/.NET, monolith web apps) with a structured preflight / assess / map / extract-rules / brief / (reimagine | transform | uplift) / harden / status workflow. Cross-stack rewrites, greenfield reimagining, and same-stack version uplifts (e.g. .NET Framework → .NET 8); an interactive topology viewer; specialist agents; and optional dynamic-workflow orchestration with adversarial verification.",
+ "description": "Modernize legacy codebases (COBOL, legacy Java/C++/.NET, monolith web apps) with a structured preflight / assess / map / extract-rules / brief / (reimagine | transform | uplift) / harden / status workflow. Cross-stack rewrites, greenfield reimagining, and same-stack version uplifts (e.g. .NET Framework → .NET 8); an interactive topology viewer; an optional live progress pane (early access); specialist agents; and optional dynamic-workflow orchestration with adversarial verification.",
"author": {
"name": "Anthropic",
"email": "support@anthropic.com"
+ },
+ "userConfig": {
+ "system": {
+ "type": "string",
+ "title": "System",
+ "description": "The system under analysis/ to follow. Empty follows the first one found.",
+ "default": ""
+ },
+ "track": {
+ "type": "string",
+ "title": "Track to follow",
+ "description": "auto follows whichever way the plugin's commands are working on the system: a rewrite, a same-stack uplift or a greenfield reimagine, by the newest artifacts. Name one to pin it.",
+ "default": "auto",
+ "options": [
+ "auto",
+ "transform",
+ "uplift",
+ "reimagine"
+ ]
+ },
+ "panel": {
+ "type": "string",
+ "title": "Progress pane",
+ "description": "auto opens the pane when a session starts in a workspace that has analysis/; command opens it only when you press its button or type /modernize-panel; off never opens it and never draws the button.",
+ "default": "auto",
+ "options": [
+ "auto",
+ "command",
+ "off"
+ ]
+ },
+ "xray": {
+ "type": "boolean",
+ "title": "X-ray reads",
+ "description": "When Claude reads a legacy file, attach what the analysis already knows about it (callers, data it touches, the rules citing it) as context only the model sees.",
+ "default": true
+ },
+ "commandPrefix": {
+ "type": "string",
+ "title": "Command prefix",
+ "description": "How the plugin's commands are written up to their verb, for the pane's Next line.",
+ "default": "/code-modernization:modernize-"
+ },
+ "legacyDir": {
+ "type": "string",
+ "title": "Legacy directory",
+ "description": "The read-only tree holding the legacy systems, relative to the workspace.",
+ "default": "legacy"
+ }
}
}