Skip to content

Launch-ready docs, root-by-default Freestyle setup, freestyle 0.2.10 - #44

Merged
Ben2W merged 4 commits into
mainfrom
fix/freestyle-default-user
Sep 3, 2026
Merged

Ben2W merged 4 commits into
mainfrom
fix/freestyle-default-user

Conversation

@Ben2W

@Ben2W Ben2W commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Docs diagrams fixed. The Concepts page used Mermaid fences the site never rendered. They are now static SVG components in the existing house style; the markdown bundle emits the Mermaid source for text readers.
  • Docs corrected against source. cmux provider API (ssh / newSurface / send, capability cmux.call), named-only exports from rigkit/index.ts, what rig init really writes, real exec result shapes, cacheTTL as expiry rather than cache key, the full reserved operation id list, missing env vars, .operation(...), execLongCommand, provider checks(...). Removed the unused VM lifecycle diagram and a stray noindex.
  • Freestyle setup runs as root explicitly. The guest agent defaults to the uid 1000 user (ubuntu), so the starter config and website example name root on every exec, terminal, cmux, and VS Code session.
  • freestyle bumped to 0.2.10. Brings the corrected linuxUser typings; the provider's API fallback now follows the SDK default of api.freestyle.sh.
  • TypeScript pinned to ^6.0.3 everywhere it was latest, so lockfile refreshes stop silently moving the workspace to TypeScript 7. Fixed the ExecutionContext cast newer workers-types rejects.

Verification

  • pnpm install --frozen-lockfile, pnpm typecheck, pnpm test all green (20/20 tasks).
  • apps/docs and apps/website build locally.
  • Diagrams checked in headless Chrome.

🤖 Generated with Claude Code

https://claude.ai/code/session_01W1mdVy3oWRm34Wd8vE17yA

Ben2W and others added 4 commits September 3, 2026 00:25
Freestyle VMs run exec, PTY, and SSH sessions as the image's uid 1000 user
(ubuntu on the base image) unless a user is named. The starter config and
the website example install packages and keep GitHub auth under /root, so
they now name root on every exec, terminal, cmux, and VS Code session.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W1mdVy3oWRm34Wd8vE17yA
The Concepts page used Mermaid fences the site never rendered. Replace
them with static SVG components and emit the Mermaid source in the
markdown bundle for text readers.

Correct the docs against the current source: the cmux provider's real
ssh/newSurface/send API, named-only exports from rigkit/index.ts, what
rig init actually writes, real exec result shapes, cacheTTL as an expiry
check rather than a cache-key input, the full reserved operation id list,
and the missing environment variables. Drop the unused VM lifecycle
diagram and the stray noindex on the cache page.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W1mdVy3oWRm34Wd8vE17yA
freestyle 0.2.10 carries the corrected linuxUser typings and defaults to
api.freestyle.sh, so the provider's own API fallback follows it. Pin
typescript to ^6.0.3 everywhere it was "latest" so lockfile refreshes do
not silently move the workspace onto TypeScript 7, and fix the
ExecutionContext cast the newer workers-types rejects.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W1mdVy3oWRm34Wd8vE17yA
@Ben2W
Ben2W merged commit 08ff222 into main Sep 3, 2026
1 of 2 checks passed
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