delegates and cli_env: hardcoded environment per cli program; swarm, provider, planner, scheduler, tmux

env=NAME=VALUE on a delegate line (repeatable) is set in the child right
before exec and beats what the parent exported, so two delegates can run
the same cli with two accounts. Remotely it goes in front as
`env 'NAME=VALUE'`, quoted like the rest. cli_env = NAME=VALUE does the
same for the main cli transport. A bad name is an error with the line.

Also in this commit, the work in progress from the tree: swarm and
provider state, the provider/scheduler/planner/tmux plugins, the ui test,
whose tmux session name is now per run so parallel runs do not collide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
lotherkandClaude Opus 5.5 committed 2026-11-09 19:15:48 +00:00
1 parent 25a616a87f
commit 75d8beeaa4
44 files changed
+5721 -1674

No files matched your search

+2 -2
View File
@@ -29,8 +29,8 @@
#include "splinter.h"
#include "cmdscript.h"
#define CMD_TIMEOUT_MS 60000
#define CMD_MAX_BYTES 262144
#define CMD_TIMEOUT_MS 300000
#define CMD_MAX_BYTES (4u << 20)
/*
* Where the programs live: $SPLINTER_COMMANDS_DIR, else ~/.splinter/commands.