feat: Custom Software/Agents docs + native options schema (zod) + sidecar logfmt observability#1518
Merged
Merged
Conversation
- Native AgentOs options schema (NativeAgentOsOptions) across core/agentos + crates - Re-export defineSoftware from @rivet-dev/agentos - Docs: Reference > Custom Software (Definition, Building Binaries) + Custom Agents guide; onAgentStderr (agent logs) in Sessions
This was referenced Jun 24, 2026
|
🚅 Deployed to the agentos-pr-1518 environment in agentos
🚅 Deployed to the agentos-pr-1518 environment in rivet-frontend
|
f188e6d to
a41c293
Compare
a41c293 to
e833bb7
Compare
e833bb7 to
eaa42bc
Compare
eaa42bc to
686eba4
Compare
686eba4 to
36b1dcd
Compare
36b1dcd to
615b3c7
Compare
Replace the hardcoded ERROR-level tracing subscriber in agentos-sidecar with a rivet-style init_tracing: EnvFilter-gated level (AGENTOS_LOG_LEVEL > LOG_LEVEL > RUST_LOG > info), logfmt format (RUST_LOG_FORMAT=text to opt out), and an optional file sink (AGENTOS_LOG_FILE). Output stays on stderr/file, never stdout (the frame channel). Add an ext.request span + entry/exit timing in acp_extension, plus a stall watchdog that warns every 10s while a request is in flight, so a hung tool turn surfaces as a breadcrumb long before the host's 120s frame timeout instead of silently. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ecar logfmt observability Combines: - docs: Custom Software section + Custom Agents guide - feat: native AgentOs options schema (zod/v4) + defineSoftware re-export - feat(sidecar): configurable logfmt logging + ext stall-watchdog tracing
615b3c7 to
a97d5b1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Combined PR (supersedes #1516 and #1517). Three independent, disjoint pieces:
Docs — Custom Software & Custom Agents
defineSoftwarereference) + Building Binaries (Rust & C from the secure-exec registry).onAgentStderr(agent logs) in Sessions; Pi → Custom Agents link.Native options schema (zod)
packages/core/src/options-schema.ts(+ test);packages/agentos/src/config.tszod/v4 schema (NativeAgentOsOptions).defineSoftwarere-export from@rivet-dev/agentos.crates/agentos-actor-plugin+crates/clientconfig.Zod v3 host-tools + sidecar observability
packages/core/src/host-tools-zod.ts(+ test): Zod v3 support viazod3alias +zod-to-json-schema.feat(sidecar): configurable logfmt logging + ext stall-watchdog tracing (crates/agentos-sidecar).Dependency resolution: took the sidecar branch's
package.json/lockfile (superset —zod ^4.3.6+zod-to-json-schema+zod3).🤖 Generated with Claude Code