feat: add persistent multi-model workers and orchestration budgets
This commit is contained in:
+10
@@ -45,6 +45,8 @@ static void usage(const char *argv0) {
|
||||
" ctl-heredoc | xml\n"
|
||||
" -T, --tools PROFILE default (all tools) | minimal (paper set)\n"
|
||||
" -n, --max-steps N model calls per turn (30)\n"
|
||||
" --orchestrate delegate edits and shell work to role workers\n"
|
||||
" --no-orchestrate override workspace orchestration setting\n"
|
||||
" -H, --headless -p TEXT run one prompt without the TUI\n"
|
||||
" --web serve the UI over HTTP on 127.0.0.1:8787\n"
|
||||
" --web-port N port (default 8787, 0 = pick a free one)\n"
|
||||
@@ -408,11 +410,19 @@ int main(int argc, char **argv) {
|
||||
{"web-token", required_argument, 0, 0x104},
|
||||
{"web-dev", required_argument, 0, 0x105},
|
||||
{"web-open", no_argument, 0, 0x106},
|
||||
{"orchestrate", no_argument, 0, 0x108},
|
||||
{"no-orchestrate", no_argument, 0, 0x109},
|
||||
{0, 0, 0, 0}};
|
||||
int c;
|
||||
while ((c = getopt_long(argc, argv, "w:s:b:k:m:P:r:n:T:Hp:dahVNcR:LyA:C:e:M:",
|
||||
opts, NULL)) != -1) {
|
||||
switch (c) {
|
||||
case 0x108:
|
||||
cfg.orchestrate_override = 1;
|
||||
break;
|
||||
case 0x109:
|
||||
cfg.orchestrate_override = -1;
|
||||
break;
|
||||
case 'w':
|
||||
snprintf(cfg.workspace_root, sizeof(cfg.workspace_root), "%s", optarg);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user