Skip to content

docs(core): use @rivet-dev/agentos-core in Core Package docs and examples#1671

Merged
NathanFlurry merged 1 commit into
mainfrom
core-docs
Jul 9, 2026
Merged

docs(core): use @rivet-dev/agentos-core in Core Package docs and examples#1671
NathanFlurry merged 1 commit into
mainfrom
core-docs

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member
  • The /docs/core "Core Package" page claimed to demonstrate @rivet-dev/agentos-core, but every example except advanced.ts actually imported the actor package @rivet-dev/agentos (agentOS(), setup(), createClient(), a handle).
  • Rewrote the examples to drive AgentOs directly: AgentOs.create(), exec/spawn+onProcessExit, filesystem ops, createSession/prompt/onSessionEvent/onPermissionRequest, fetch(port, Request), and scheduleCron/onCronEvent.
  • New examples/core/vm.ts replaces the server.ts/client.ts actor split (both removed); hooks.ts, mounts.ts, config-reference.ts, and README.md updated to core.
  • Updated core.mdx prose and all CodeSnippet references to match (callback-based events, no client/server split, core-vs-actor framing kept in the comparison table, timeouts reframed as an actor-only feature).
  • pnpm --dir examples/core check-types passes. The docs site build can't run in this environment (pre-existing @rivet-dev/docs-theme local-symlink blocker); all 10 CodeSnippet file/region references were verified to resolve statically.

…ples

The Core Package page and its examples demonstrated the actor package
(@rivet-dev/agentos) instead of the core package. Rewrite the examples to
drive AgentOs directly (create/exec/spawn/createSession/prompt/fetch/
scheduleCron) and update the doc prose and CodeSnippet references to match.
@railway-app railway-app Bot temporarily deployed to agentos / agentos-pr-1671 July 8, 2026 11:23 Destroyed
@railway-app

railway-app Bot commented Jul 8, 2026

Copy link
Copy Markdown

🚅 Deployed to the agentos-pr-1671 environment in agentos

Service Status Web Updated (UTC)
agentos 😴 Sleeping (View Logs) Web Jul 8, 2026 at 11:35 am

🚅 Environment agentos-pr-1671 in rivet-frontend has no services deployed.

@NathanFlurry NathanFlurry merged commit fabeeb6 into main Jul 9, 2026
6 checks passed
@NathanFlurry NathanFlurry deleted the core-docs branch July 9, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant