@polderlabs/bizar 6.2.2 → 6.2.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.
@@ -125,7 +125,7 @@ if (!existsSync(PLUGIN_PATH)) {
125
125
  }
126
126
  record('plugin entry resolves', true, PLUGIN_PATH);
127
127
 
128
- // ── 1. Verify enableAgentTeams in source (the v6.2.0 fix) ──────
128
+ // ── 1. Verify enableAgentTeams + enableSpawnAgent in source (v6.2.0 / v6.2.3) ───────
129
129
  try {
130
130
  const { readFileSync } = await import('node:fs');
131
131
  const srcPath = join(REPO_ROOT, 'plugins', 'bizar', 'src', 'clineruntime.ts');
@@ -133,10 +133,17 @@ try {
133
133
  record('clineruntime.ts source present', false, `${srcPath} missing`);
134
134
  } else {
135
135
  const text = readFileSync(srcPath, 'utf8');
136
- if (/enableAgentTeams:\s*true/.test(text)) {
137
- record('enableAgentTeams: true in clineruntime.ts', true, 'team-spawn tool will work');
136
+ const teamsOk = /enableAgentTeams:\s*true/.test(text);
137
+ const spawnOk = /enableSpawnAgent:\s*true/.test(text);
138
+ if (teamsOk && spawnOk) {
139
+ record('enableAgentTeams + enableSpawnAgent: true in clineruntime.ts', true,
140
+ '/team and /subagent (use_subagents + task tool) both work');
138
141
  } else {
139
- record('enableAgentTeams: true in clineruntime.ts', false, 'REGRESSION: /team will not function');
142
+ const missing = [];
143
+ if (!teamsOk) missing.push('enableAgentTeams');
144
+ if (!spawnOk) missing.push('enableSpawnAgent');
145
+ record('enableAgentTeams + enableSpawnAgent: true in clineruntime.ts', false,
146
+ `REGRESSION: missing ${missing.join(', ')} — /team and subagents will not function`);
140
147
  }
141
148
  }
142
149
  } catch (err) {
@@ -378,6 +385,52 @@ try {
378
385
  record('bizar validate command present', false, err.message);
379
386
  }
380
387
 
388
+ // ── 12.6. Verify Cline CLI integration (v6.2.3) ─────────────────
389
+ // v6.2.3 — pass-through wrappers for Cline CLI commands + sample.
390
+ try {
391
+ const { existsSync } = await import('node:fs');
392
+ const clineCmd = join(REPO_ROOT, 'cli', 'commands', 'cline-cmd.mjs');
393
+ const rcaCmd = join(REPO_ROOT, 'cli', 'commands', 'rca.mjs');
394
+ const rcaTest = join(REPO_ROOT, 'cli', 'commands', 'rca.test.mjs');
395
+ const setupProviderCmd = join(REPO_ROOT, 'cli', 'commands', 'setup-provider.mjs');
396
+ const setupProviderTest = join(REPO_ROOT, 'cli', 'commands', 'setup-provider.test.mjs');
397
+ if (existsSync(clineCmd)) {
398
+ const text = (await import('node:fs')).readFileSync(clineCmd, 'utf8');
399
+ const hasConfig = /runClineConfig\b/.test(text);
400
+ const hasHistory = /runClineHistory\b/.test(text);
401
+ const hasHub = /runClineHub\b/.test(text);
402
+ const hasHook = /runClineHook\b/.test(text);
403
+ const hasTeam = /runClineTeam\b/.test(text);
404
+ const hasSubagent = /runClineSubagent\b/.test(text);
405
+ if (hasConfig && hasHistory && hasHub && hasHook && hasTeam && hasSubagent) {
406
+ record('bizar cline-cmd wrappers present', true, 'config, history, hub, hook, team, subagent');
407
+ } else {
408
+ const missing = [];
409
+ if (!hasConfig) missing.push('config');
410
+ if (!hasHistory) missing.push('history');
411
+ if (!hasHub) missing.push('hub');
412
+ if (!hasHook) missing.push('hook');
413
+ if (!hasTeam) missing.push('team');
414
+ if (!hasSubagent) missing.push('subagent');
415
+ record('bizar cline-cmd wrappers present', false, `missing: ${missing.join(', ')}`);
416
+ }
417
+ } else {
418
+ record('bizar cline-cmd wrappers present', false, 'cli/commands/cline-cmd.mjs missing');
419
+ }
420
+ if (existsSync(rcaCmd) && existsSync(rcaTest)) {
421
+ record('bizar rca (GitHub Issue RCA sample) present', true, 'cli/commands/rca.{mjs,test.mjs}');
422
+ } else {
423
+ record('bizar rca (GitHub Issue RCA sample) present', false, 'cli/commands/rca.* missing');
424
+ }
425
+ if (existsSync(setupProviderCmd) && existsSync(setupProviderTest)) {
426
+ record('bizar setup-provider + auto-migrate present', true, 'cli/commands/setup-provider.{mjs,test.mjs}');
427
+ } else {
428
+ record('bizar setup-provider + auto-migrate present', false, 'cli/commands/setup-provider.* missing');
429
+ }
430
+ } catch (err) {
431
+ record('bizar cline-cmd integration present', false, err.message);
432
+ }
433
+
381
434
  // ── 13. Verify package.json version is consistent ──────────────
382
435
  try {
383
436
  const { readFileSync } = await import('node:fs');