@esimplicitylabs/katalyst-xspec 0.7.0 → 0.7.1

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/cli/init.cjs CHANGED
@@ -576,8 +576,33 @@ To enable terminal user interface testing:
576
576
  };
577
577
  }
578
578
 
579
+ const HELP = `
580
+ Usage: npx @esimplicitylabs/katalyst-xspec init [dir] [options]
581
+
582
+ Scaffold a new katalyst-xspec test project in [dir] (default: ./katalyst-xspec).
583
+ Use "." for the current folder. The package name is taken from the folder name.
584
+
585
+ Options:
586
+ --dir <dir> Target directory (same as the positional [dir])
587
+ --force Overwrite existing files (.env is never touched; .env.example is merged)
588
+ --with-skills Install Agent Skills without prompting
589
+ --no-skills Skip Agent Skills without prompting
590
+ --skills-agents <list> Comma-separated: opencode, claude-code, cursor, generic
591
+ -h, --help Show this help message
592
+
593
+ Examples:
594
+ npx @esimplicitylabs/katalyst-xspec init my-tests
595
+ npx @esimplicitylabs/katalyst-xspec init . --no-skills
596
+ npx @esimplicitylabs/katalyst-xspec init my-tests --with-skills --skills-agents opencode,claude-code
597
+ `;
598
+
579
599
  async function main() {
580
- const args = parseArgs(process.argv.slice(2));
600
+ const argv = process.argv.slice(2);
601
+ if (argv.includes('--help') || argv.includes('-h')) {
602
+ console.log(HELP);
603
+ return;
604
+ }
605
+ const args = parseArgs(argv);
581
606
  const targetDir = path.resolve(process.cwd(), args.dir);
582
607
  const detectedPm = await detectPackageManager(process.cwd());
583
608
  const pm = commandsFor(detectedPm);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esimplicitylabs/katalyst-xspec",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -58,7 +58,7 @@
58
58
  "peerDependencies": {
59
59
  "@playwright/test": "^1.49.0",
60
60
  "playwright-bdd": "^9.1.0",
61
- "tui-tester": "^1.0.0",
61
+ "tui-tester": "^0.3.0",
62
62
  "typescript": "^5.6.0"
63
63
  },
64
64
  "peerDependenciesMeta": {
@@ -166,7 +166,7 @@ const test = createBddTest({
166
166
  ```bash
167
167
  # Admin credentials
168
168
  DEFAULT_ADMIN_USERNAME=admin@example.com
169
- DEFAULT_ADMIN_PASSWORD=admin123
169
+ DEFAULT_ADMIN_PASSWORD=changeme
170
170
 
171
171
  # User credentials
172
172
  DEFAULT_USER_USERNAME=user@example.com