thepopebot 1.2.76-beta.12 → 1.2.76-beta.13

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.
@@ -124,11 +124,20 @@ export async function* claudeCodeStream({ prompt, workspaceDir, systemPrompt, se
124
124
  }
125
125
  }
126
126
 
127
+ // Work around SDK musl/glibc detection bug — force glibc binary on Linux
128
+ let executablePath;
129
+ if (process.platform === 'linux') {
130
+ try {
131
+ executablePath = require.resolve(`@anthropic-ai/claude-agent-sdk-linux-${process.arch}/claude`);
132
+ } catch {}
133
+ }
134
+
127
135
  const options = {
128
136
  cwd: workspaceDir,
129
137
  env,
130
138
  includePartialMessages: true,
131
139
  model: getConfig('CODING_AGENT_CLAUDE_CODE_MODEL') || undefined,
140
+ ...(executablePath ? { pathToClaudeCodeExecutable: executablePath } : {}),
132
141
  };
133
142
 
134
143
  // Permission mode: plan = read-only, anything else = full write access
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thepopebot",
3
- "version": "1.2.76-beta.12",
3
+ "version": "1.2.76-beta.13",
4
4
  "type": "module",
5
5
  "description": "Create autonomous AI agents with a two-layer architecture: Next.js Event Handler + Docker Agent.",
6
6
  "bin": {