claude-remote-cli 1.1.1 → 1.1.2

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.
@@ -14,7 +14,7 @@ const __filename = fileURLToPath(import.meta.url);
14
14
  const __dirname = path.dirname(__filename);
15
15
  // When run via CLI bin, config lives in ~/.config/claude-remote-cli/
16
16
  // When run directly (development), fall back to local config.json
17
- const CONFIG_PATH = process.env.CLAUDE_REMOTE_CONFIG || path.join(__dirname, '..', 'config.json');
17
+ const CONFIG_PATH = process.env.CLAUDE_REMOTE_CONFIG || path.join(__dirname, '..', '..', 'config.json');
18
18
  function parseTTL(ttl) {
19
19
  if (typeof ttl !== 'string')
20
20
  return 24 * 60 * 60 * 1000;
@@ -89,7 +89,7 @@ async function main() {
89
89
  const app = express();
90
90
  app.use(express.json());
91
91
  app.use(cookieParser());
92
- app.use(express.static(path.join(__dirname, '..', 'public')));
92
+ app.use(express.static(path.join(__dirname, '..', '..', 'public')));
93
93
  const requireAuth = (req, res, next) => {
94
94
  const token = req.cookies && req.cookies.token;
95
95
  if (!token || !authenticatedTokens.has(token)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-remote-cli",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Remote web interface for Claude Code CLI sessions",
5
5
  "type": "module",
6
6
  "main": "dist/server/index.js",