Skip to content

Persist SME chat Anthropic auth and simplify thread controls#381

Merged
BunsDev merged 1 commit intomainfrom
okcode/thread-mode-button
Apr 9, 2026
Merged

Persist SME chat Anthropic auth and simplify thread controls#381
BunsDev merged 1 commit intomainfrom
okcode/thread-mode-button

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 9, 2026

Summary

  • Resolve SME chat Anthropic credentials from persisted environment variables first, so project-scoped auth works even when the process environment is incomplete.
  • Fail fast before writing speculative chat messages when no Anthropic credential is available.
  • Simplify thread mode controls in the web composer and align the SME chat shell/workspace behavior with the new code/plan flow.
  • Add service-level coverage for persisted env resolution, successful streaming, and the no-credential failure path.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Added/updated Vitest coverage in apps/server/src/sme/Layers/SmeChatServiceLive.test.ts for auth resolution and message persistence behavior.
  • Not run: bun run test

- Replace the single chat/code/plan toggle with explicit code and plan buttons
- Normalize legacy chat/default modes to code in composer logic and tests
- Update the default interaction mode and remove the /chat slash command
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 9, 2026

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 9, 2026 8:19pm
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 9, 2026 8:19pm

@github-actions github-actions Bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 9, 2026
@BunsDev BunsDev merged commit e66d255 into main Apr 9, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant