sync: merge upstream v0.4.78 into downstream #40

Merged
clawdie merged 14 commits from sync/upstream-v0.4.78 into main 2026-11-15 12:06:45 +01:00
Owner

Summary

  • Merge upstream tag v0.4.78 (bb298e5) into main (24c8fcc).
  • Preserve SessionFile propagation in wireBeforeAgentStart alongside upstream BeforeRequest request transforms.
  • Preserve jailed / multi_tenant_hardened child env scrubbing in executeShell alongside upstream shell_timeout_seconds.
  • Preserve project .zot/extensions & .zot/mcp.json auto-exec gate, COMMAND-INVENTORY.json lockstep pins (55d374f), and signed FreeBSD Poudriere packaging.
  • Add subtest verifying Config{Provider: "openrouter", Model: "~deepseek/deepseek-flash-latest"} is preserved across ValidateAndRepairConfig() and Resolve().

Local Gates (debby)

  • gofmt -l . (clean)
  • go vet ./... (ok)
  • sh scripts/test-presence.sh (38/38 ok)
  • sh scripts/check-origin-leak.sh --test (12/12 ok)
  • go test -race ./... (all packages ok)
  • examples/extensions/herdr-agent-state: gofmt, go vet, go test -race, go build (ok)
  • sh packaging/freebsd/tests/run-tests.sh (15/15 ok)
## Summary - Merge upstream tag `v0.4.78` (`bb298e5`) into `main` (`24c8fcc`). - Preserve `SessionFile` propagation in `wireBeforeAgentStart` alongside upstream `BeforeRequest` request transforms. - Preserve jailed / `multi_tenant_hardened` child env scrubbing in `executeShell` alongside upstream `shell_timeout_seconds`. - Preserve project `.zot/extensions` & `.zot/mcp.json` auto-exec gate, `COMMAND-INVENTORY.json` lockstep pins (`55d374f`), and signed FreeBSD Poudriere packaging. - Add subtest verifying `Config{Provider: "openrouter", Model: "~deepseek/deepseek-flash-latest"}` is preserved across `ValidateAndRepairConfig()` and `Resolve()`. ## Local Gates (`debby`) - `gofmt -l .` (clean) - `go vet ./...` (ok) - `sh scripts/test-presence.sh` (38/38 ok) - `sh scripts/check-origin-leak.sh --test` (12/12 ok) - `go test -race ./...` (all packages ok) - `examples/extensions/herdr-agent-state`: `gofmt`, `go vet`, `go test -race`, `go build` (ok) - `sh packaging/freebsd/tests/run-tests.sh` (15/15 ok)
A new shell setting in config.json lets the bash tool, ! shell escapes, .zot agent pre-hooks, and continuous workers run commands through an argv prefix such as ["container", "exec", "-i", "-w", "<path>", "mydev", "bash", "-c"]. zot appends the command as the final argument. Leaving it unset keeps shell auto-detection.

The host Bash startup file loads only for a direct bash -c invocation and is never injected into wrappers. Cancellation stops the local client process, but a command inside a container may keep running. This is documented.

Refs #281
feat(provider): add UberLLM provider
Transform logical chat and compaction requests through negotiated extension
segments without mutating transcripts or signed and opaque content. Add
bounded transport, failure policies, stable hashes, SDK support and tests.

Refs #285
Wrap authorization URLs and add OSC 8 links without truncating their targets.
Allow sign-in content to scroll on short terminals and reveal the redirect
field when editing. Add rendering regression tests and document fallbacks.

Fixes #286
Add Grok 4.6 and 4.7 to the direct xAI catalog with verified pricing.
Discover credential-scoped chat models and aliases through /v1/models,
preserving explicit selections before refresh completes and routing
unlisted models through Responses. Leave unpublished output limits unset.

Cover discovery, cache refresh, credential handling, model resolution,
routing, and pricing boundaries with regression tests. Document fallbacks
and asynchronous discovery behavior.

Fixes #287
Give each backend and child a one-minute budget so slow race-instrumented
SQLite startup does not exhaust a shared 15-second deadline on Windows CI.
Include context errors in child failure diagnostics while retaining all
crash checkpoint and recovery assertions.
Configure generous test-only transform and process deadlines for the
multi-megabyte escaped-frame fixture. Keep the original payload and all
chat, compaction, transcript, and fail-closed assertions unchanged.
Include the underlying error, context state, and extension diagnostics on
failure so CI timeouts can be distinguished from protocol failures.

Production transform deadlines and failure policies remain unchanged.
Enforce an optional shell_timeout_seconds maximum for bash and PowerShell
across tool calls, shell escapes, startup hooks, and continuous workers.
Keep execution unlimited by default and preserve captured output on expiry.

Refs #289
Merge upstream v0.4.78 into downstream
All checks were successful
ci / test (pull_request) Successful in 4m4s
ci / extension (herdr-agent-state) (pull_request) Successful in 4s
ci / packaging (GNU/POSIX compatibility) (pull_request) Successful in 1s
leak-guard / guard (pull_request) Successful in 1s
ci / FreeBSD (native build and packaging) (pull_request) Successful in 5m17s
d11714484e
- Preserve SessionFile propagation in wireBeforeAgentStart alongside BeforeRequest transforms
- Preserve jailed/multi_tenant_hardened child env scrubbing in executeShell alongside configurable shell timeouts
- Preserve project auto-exec gate, COMMAND-INVENTORY.json lockstep pins, and signed FreeBSD Poudriere packaging
- Add subtest verifying OpenRouter ~deepseek/deepseek-flash-latest route preservation across ValidateAndRepairConfig and Resolve
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clawdie/zot!40
No description provided.