cc-hub-cli 1.0.7 → 1.0.8
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/dist/index.js +7 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// src/index.ts
|
|
4
4
|
import { Command as Command6 } from "commander";
|
|
5
|
+
import { createRequire } from "module";
|
|
5
6
|
|
|
6
7
|
// src/profiles.ts
|
|
7
8
|
import { Command as Command2 } from "commander";
|
|
@@ -699,7 +700,9 @@ function execClaude(profileName, p, extraArgs) {
|
|
|
699
700
|
const env = {
|
|
700
701
|
...process.env,
|
|
701
702
|
ANTHROPIC_AUTH_TOKEN: p.token || void 0,
|
|
702
|
-
ANTHROPIC_BASE_URL: p.url || void 0
|
|
703
|
+
ANTHROPIC_BASE_URL: p.url || void 0,
|
|
704
|
+
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS: "1",
|
|
705
|
+
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS: "1"
|
|
703
706
|
};
|
|
704
707
|
const nonAnthropicModels = models.filter((m) => !isAnthropicModel(m));
|
|
705
708
|
if (nonAnthropicModels.length > 0) {
|
|
@@ -1602,8 +1605,10 @@ function completeCommand() {
|
|
|
1602
1605
|
}
|
|
1603
1606
|
|
|
1604
1607
|
// src/index.ts
|
|
1608
|
+
var _require = createRequire(import.meta.url);
|
|
1609
|
+
var { version } = _require("../package.json");
|
|
1605
1610
|
var program = new Command6();
|
|
1606
|
-
program.name("cc-hub").description("Manage Claude CLI profiles, hooks, and sessions").version(
|
|
1611
|
+
program.name("cc-hub").description("Manage Claude CLI profiles, hooks, and sessions").version(version);
|
|
1607
1612
|
program.addCommand(profileCommand());
|
|
1608
1613
|
program.addCommand(useCommand());
|
|
1609
1614
|
program.addCommand(runCommand());
|