Skip to content

feat(copilot): add opt-in local workspace agent loop#5591

Draft
ksanderer wants to merge 1 commit into
simstudioai:mainfrom
ksanderer:codex/drop-mothership
Draft

feat(copilot): add opt-in local workspace agent loop#5591
ksanderer wants to merge 1 commit into
simstudioai:mainfrom
ksanderer:codex/drop-mothership

Conversation

@ksanderer

Copy link
Copy Markdown

Summary

  • add an opt-in local workspace agent lifecycle selected by MOTHERSHIP_MODEL
  • reuse the existing LiteLLM provider loop with an injected Sim copilot tool executor
  • preserve existing chat persistence, SSE events, transcript replay, title generation, cancellation, usage, and cost reporting
  • leave the managed Mothership path unchanged when the environment flag is absent

Scope

The first iteration supports litellm/* models and public Sim-routed workspace tools. Managed deferred integration schemas are intentionally excluded until the local loop has an on-demand loader.

Verification

  • 49 focused Vitest tests pass
  • bun run check:api-validation passes
  • Biome checks pass for all changed files
  • apps/sim typecheck reaches one pre-existing unrelated error at providers/meta/index.ts:122

This is an experimental draft for self-host evaluation.

@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Jul 11, 2026 3:55pm

Request Review

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