buddydex 0.1.2 → 0.1.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/buddydex.js +25 -0
- package/package.json +1 -1
package/buddydex.js
CHANGED
|
@@ -446,6 +446,27 @@ function cmdName(argv) {
|
|
|
446
446
|
Restart Claude Code to see the changes.
|
|
447
447
|
`);
|
|
448
448
|
}
|
|
449
|
+
// packages/cli/package.json
|
|
450
|
+
var package_default = {
|
|
451
|
+
name: "buddydex",
|
|
452
|
+
version: "0.1.3",
|
|
453
|
+
description: "Hunt, browse, and inject Claude Code buddies",
|
|
454
|
+
type: "module",
|
|
455
|
+
bin: {
|
|
456
|
+
buddydex: "dist/buddydex.js"
|
|
457
|
+
},
|
|
458
|
+
files: ["dist"],
|
|
459
|
+
keywords: ["claude", "claude-code", "buddy", "companion", "wyhash"],
|
|
460
|
+
author: "iammatthias",
|
|
461
|
+
license: "MIT",
|
|
462
|
+
repository: {
|
|
463
|
+
type: "git",
|
|
464
|
+
url: "git+https://github.com/iammatthias/buddydex.git"
|
|
465
|
+
},
|
|
466
|
+
dependencies: {
|
|
467
|
+
"@buddy/engine": "workspace:*"
|
|
468
|
+
}
|
|
469
|
+
};
|
|
449
470
|
|
|
450
471
|
// packages/cli/bin.ts
|
|
451
472
|
var USAGE = `
|
|
@@ -485,6 +506,10 @@ var USAGE = `
|
|
|
485
506
|
buddydex name --name "Ember" --personality "Chaotic but loyal"
|
|
486
507
|
`;
|
|
487
508
|
var [command, ...rest] = process.argv.slice(2);
|
|
509
|
+
if (command === "--version" || command === "-v") {
|
|
510
|
+
console.log(package_default.version);
|
|
511
|
+
process.exit(0);
|
|
512
|
+
}
|
|
488
513
|
var commands = {
|
|
489
514
|
hunt: cmdHunt,
|
|
490
515
|
inject: cmdInject,
|