@codeenginestudio/harness-creator 1.0.1 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeenginestudio/harness-creator",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "CES Harness Creator — install wizard",
@@ -36,11 +36,11 @@ async function ensureSuperpowers() {
36
36
  } catch (err) { s.stop('superpowers install failed'); throw err; }
37
37
  }
38
38
 
39
- async function installPlugin() {
39
+ async function installPlugin(scope) {
40
40
  const s = p.spinner();
41
41
  s.start('Installing ces-harness-creator...');
42
42
  try {
43
- runClaudeCommand(`plugin marketplace add ${PLUGIN_PATH}`);
43
+ runClaudeCommand(`plugin marketplace add --scope ${scope} ${PLUGIN_PATH}`);
44
44
  s.stop('ces-harness-creator installed');
45
45
  } catch (err) { s.stop('ces-harness-creator install failed'); throw err; }
46
46
  }
@@ -48,9 +48,9 @@ async function installPlugin() {
48
48
  async function main() {
49
49
  p.intro('CES Harness Creator — Install Wizard');
50
50
  if (!checkClaude()) { p.cancel('Claude Code not found. Install from: https://claude.ai/code'); process.exit(1); }
51
- await promptScope();
51
+ const scope = await promptScope();
52
52
  await ensureSuperpowers();
53
- await installPlugin();
53
+ await installPlugin(scope);
54
54
  p.outro('Done. Open Claude Code and run /ces-harness-creator');
55
55
  }
56
56