@cliangdev/flux-plugin 0.0.0-dev.1db9c6c → 0.0.0-dev.448c161

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
@@ -23,8 +23,9 @@ npx @cliangdev/flux-plugin --local # Install to ./.claude (current project)
23
23
  ### What Gets Configured
24
24
 
25
25
  The installer automatically:
26
- 1. Creates plugin at `.claude/plugins/marketplaces/npm/flux-plugin/`
27
- 2. Adds MCP server config to `.claude.json`
26
+ 1. Copies commands to `.claude/commands/`
27
+ 2. Copies skills to `.claude/skills/`
28
+ 3. Adds MCP server config to `.claude.json`
28
29
 
29
30
  ## Commands
30
31
 
@@ -137,14 +138,18 @@ Check your current version:
137
138
  ### Global Installation
138
139
 
139
140
  ```bash
140
- rm -rf ~/.claude/plugins/marketplaces/npm/flux-plugin
141
+ rm -rf ~/.claude/commands/flux ~/.claude/commands/prd ~/.claude/commands/breakdown ~/.claude/commands/implement
142
+ rm -rf ~/.claude/skills/agent-creator ~/.claude/skills/epic-template ~/.claude/skills/flux-orchestrator ~/.claude/skills/prd-template
143
+ rm -f ~/.claude/flux-version
141
144
  # Edit ~/.claude.json and remove the "flux" entry from "mcpServers"
142
145
  ```
143
146
 
144
147
  ### Local Installation
145
148
 
146
149
  ```bash
147
- rm -rf .claude/plugins/marketplaces/npm/flux-plugin
150
+ rm -rf .claude/commands/flux .claude/commands/prd .claude/commands/breakdown .claude/commands/implement
151
+ rm -rf .claude/skills/agent-creator .claude/skills/epic-template .claude/skills/flux-orchestrator .claude/skills/prd-template
152
+ rm -f .claude/flux-version
148
153
  # Edit .claude.json and remove the "flux" entry from "mcpServers"
149
154
  ```
150
155
 
package/bin/install.cjs CHANGED
@@ -99,39 +99,27 @@ ${cyan} ███████╗██╗ ██╗ ██╗██╗
99
99
  const claudeDir = isGlobal
100
100
  ? path.join(os.homedir(), ".claude")
101
101
  : path.join(process.cwd(), ".claude");
102
- const pluginDir = path.join(claudeDir, "plugins", "marketplaces", "npm", "flux-plugin");
103
102
  const locationLabel = isGlobal ? "~/.claude" : "./.claude";
104
103
 
105
- console.log(` Installing to ${cyan}${locationLabel}/plugins/marketplaces/npm/flux-plugin${reset}\n`);
104
+ console.log(` Installing to ${cyan}${locationLabel}${reset}\n`);
106
105
 
107
- fs.mkdirSync(pluginDir, { recursive: true });
108
-
109
- const pluginConfigDir = path.join(pluginDir, ".claude-plugin");
110
- fs.mkdirSync(pluginConfigDir, { recursive: true });
111
- writeJson(path.join(pluginConfigDir, "plugin.json"), {
112
- name: "flux-plugin",
113
- description: "AI-first workflow orchestration for spec-driven development",
114
- version: pkg.version,
115
- author: {
116
- name: "cliangdev",
117
- url: "https://github.com/cliangdev/flux-plugin"
118
- }
119
- });
120
- console.log(` ${green}✓${reset} Created plugin config`);
106
+ fs.mkdirSync(claudeDir, { recursive: true });
121
107
 
122
108
  const commandsSrc = path.join(src, "commands");
123
109
  if (fs.existsSync(commandsSrc)) {
124
- const commandsDest = path.join(pluginDir, "commands");
110
+ const commandsDest = path.join(claudeDir, "commands");
125
111
  fs.mkdirSync(commandsDest, { recursive: true });
126
112
 
127
113
  const commandFiles = fs.readdirSync(commandsSrc);
128
114
  for (const file of commandFiles) {
129
115
  if (file.endsWith(".md")) {
116
+ const name = file.replace(".md", "");
117
+ const destDir = path.join(commandsDest, name);
118
+ fs.mkdirSync(destDir, { recursive: true });
130
119
  fs.copyFileSync(
131
120
  path.join(commandsSrc, file),
132
- path.join(commandsDest, file)
121
+ path.join(destDir, "COMMAND.md")
133
122
  );
134
- const name = file.replace(".md", "");
135
123
  console.log(` ${green}✓${reset} Installed command: /${name}`);
136
124
  }
137
125
  }
@@ -139,7 +127,7 @@ ${cyan} ███████╗██╗ ██╗ ██╗██╗
139
127
 
140
128
  const skillsSrc = path.join(src, "skills");
141
129
  if (fs.existsSync(skillsSrc)) {
142
- const skillsDest = path.join(pluginDir, "skills");
130
+ const skillsDest = path.join(claudeDir, "skills");
143
131
  fs.mkdirSync(skillsDest, { recursive: true });
144
132
 
145
133
  const skillDirs = fs.readdirSync(skillsSrc, { withFileTypes: true });
@@ -174,7 +162,7 @@ ${cyan} ███████╗██╗ ██╗ ██╗██╗
174
162
  ` ${green}✓${reset} Configured MCP server in ${isGlobal ? "~/.claude.json" : "./.claude.json"}`
175
163
  );
176
164
 
177
- const versionFile = path.join(pluginDir, "version");
165
+ const versionFile = path.join(claudeDir, "flux-version");
178
166
  fs.writeFileSync(versionFile, pkg.version);
179
167
 
180
168
  console.log(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cliangdev/flux-plugin",
3
- "version": "0.0.0-dev.1db9c6c",
3
+ "version": "0.0.0-dev.448c161",
4
4
  "description": "Claude Code plugin for AI-first workflow orchestration with MCP server",
5
5
  "type": "module",
6
6
  "main": "./dist/server/index.js",