@musistudio/claude-code-router 1.0.34 → 1.0.35

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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -77687,7 +77687,6 @@ async function run(options = {}) {
77687
77687
  });
77688
77688
  console.log(HOST);
77689
77689
  const servicePort = process.env.SERVICE_PORT ? parseInt(process.env.SERVICE_PORT) : port;
77690
- const startTime = (/* @__PURE__ */ new Date()).toISOString();
77691
77690
  const server = createServer({
77692
77691
  jsonPath: CONFIG_FILE,
77693
77692
  initialConfig: {
@@ -77705,7 +77704,7 @@ async function run(options = {}) {
77705
77704
  level: "debug",
77706
77705
  stream: mjs_default({
77707
77706
  path: HOME_DIR,
77708
- filename: `./logs/ccr-${startTime}.log`,
77707
+ filename: config.LOGNAME || `./logs/ccr-${+/* @__PURE__ */ new Date()}.log`,
77709
77708
  maxFiles: 3,
77710
77709
  interval: "1d"
77711
77710
  })
@@ -77831,7 +77830,7 @@ async function executeCodeCommand(args = []) {
77831
77830
  }
77832
77831
 
77833
77832
  // package.json
77834
- var version = "1.0.34";
77833
+ var version = "1.0.35";
77835
77834
 
77836
77835
  // src/cli.ts
77837
77836
  var import_child_process4 = require("child_process");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@musistudio/claude-code-router",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "Use Claude Code without an Anthropics account and route it to another LLM provider",
5
5
  "bin": {
6
6
  "ccr": "./dist/cli.js"