social-autoposter 1.6.8 → 1.6.9
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/bin/cli.js +7 -0
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -165,6 +165,13 @@ function writeAppMakerEnvFile() {
|
|
|
165
165
|
'# 9222 is the one the user logs into via the AppMaker UI.',
|
|
166
166
|
'export TWITTER_CDP_URL="http://127.0.0.1:9222"',
|
|
167
167
|
'',
|
|
168
|
+
'# AppMaker VMs run as root and the appmaker template sets Claude defaultMode',
|
|
169
|
+
'# to bypassPermissions. Claude CLI refuses bypassPermissions under root for',
|
|
170
|
+
'# security reasons UNLESS IS_SANDBOX=1 is set. Without this, every `claude -p`',
|
|
171
|
+
'# call in the pipeline exits immediately with no output (cost=$0.00, 16s) and',
|
|
172
|
+
'# Phase 1 reports envelope parse error / phase1_no_tweets.',
|
|
173
|
+
'export IS_SANDBOX=1',
|
|
174
|
+
'',
|
|
168
175
|
].join('\n');
|
|
169
176
|
fs.writeFileSync(envPath, body);
|
|
170
177
|
console.log(` AppMaker VM detected -> wrote ${envPath} (TWITTER_CDP_URL=http://127.0.0.1:9222)`);
|
package/package.json
CHANGED