create-claude-workspace 1.1.57 → 1.1.59

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.
@@ -314,7 +314,8 @@ async function main() {
314
314
  const credentialsJson = join(home, '.claude', '.credentials.json');
315
315
  if (existsSync(credentialsJson)) {
316
316
  info('Mounting host Claude auth credentials into container.');
317
- const vol = ` - ${toDockerPath(credentialsJson)}:/home/claude/.claude/.credentials.json:ro`;
317
+ // NOT :ro Claude CLI needs to write refreshed OAuth tokens back to this file
318
+ const vol = ` - ${toDockerPath(credentialsJson)}:/home/claude/.claude/.credentials.json`;
318
319
  writeFileSync(AUTH_COMPOSE, `services:\n claude:\n volumes:\n${vol}\n`);
319
320
  }
320
321
  else {
@@ -165,7 +165,7 @@ export function killProcessTree(pid, isWin) {
165
165
  }
166
166
  // ─── Error signal patterns ───
167
167
  const RATE_LIMIT_RE = /rate.?limit|429|overloaded|529|at capacity|capacity reached|503 service unavailable|502 bad gateway/;
168
- const AUTH_ERROR_RE = /authentication_error|failed to authenticate|api error: 401|invalid authentication|403 forbidden|account.{0,10}(?:suspended|disabled|deactivated)/;
168
+ const AUTH_ERROR_RE = /authentication_error|failed to authenticate|api error: 401|invalid authentication|403 forbidden|account.{0,10}(?:suspended|disabled|deactivated)|does not have access to claude|please login again/;
169
169
  const AUTH_TYPE_RE = /authentication/;
170
170
  const AUTH_MSG_RE = /authentication|401|403/;
171
171
  const AUTH_SERVER_RE = /\b5\d\d\b/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-claude-workspace",
3
- "version": "1.1.57",
3
+ "version": "1.1.59",
4
4
  "description": "Scaffold a project with Claude Code agents for autonomous AI-driven development",
5
5
  "type": "module",
6
6
  "bin": {