@teamvibe/poller 0.5.0 → 0.5.1
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/dist/claude-spawner.js +10 -2
- package/package.json +1 -1
package/dist/claude-spawner.js
CHANGED
|
@@ -405,14 +405,22 @@ async function runClaudeCode(msg, sessionLog, cwd, sessionId, isFirstMessage = t
|
|
|
405
405
|
// Placed FIRST so subsequent spreads can overwrite. Belt-and-
|
|
406
406
|
// suspenders: even if the API's reserved-prefix validator fails
|
|
407
407
|
// (`AWS_`, `TEAMVIBE_`, `SLACK_`, `CLAUDE_CODE_`, `ANTHROPIC_`)
|
|
408
|
-
// a name collision is silently won by the platform variable
|
|
408
|
+
// a name collision is silently won by the platform variable
|
|
409
|
+
// explicit field below.
|
|
410
|
+
//
|
|
411
|
+
// Phase 2 of teamvibe.ai#215 (poller v0.5.1): the explicit
|
|
412
|
+
// `SLACK_BOT_TOKEN: msg.teamvibe.botToken` injection that used
|
|
413
|
+
// to live here was removed. `SLACK_BOT_TOKEN` now sources from
|
|
414
|
+
// the `/secrets/spawn` platform overlay (the spread above) —
|
|
415
|
+
// backend v0.2.2+ resolves it via the `Channel → SlackBot`
|
|
416
|
+
// relation. Requires backend on Phase 1; pollers on 0.5.0 still
|
|
417
|
+
// read the explicit field, so split rollout is safe.
|
|
409
418
|
...spawnSecrets.env.unwrap(),
|
|
410
419
|
...process.env,
|
|
411
420
|
CLAUDECODE: undefined,
|
|
412
421
|
PATH: envPath,
|
|
413
422
|
CI: 'true',
|
|
414
423
|
CLAUDE_CONFIG_DIR: getBaseBrainPath(),
|
|
415
|
-
SLACK_BOT_TOKEN: msg.teamvibe.botToken,
|
|
416
424
|
...(config.PERSISTENT_STORAGE_PATH && {
|
|
417
425
|
PERSISTENT_STORAGE_PATH: config.PERSISTENT_STORAGE_PATH,
|
|
418
426
|
}),
|