Skip to content

feat: per-workspace core + KohakuTerrarium creature picker#2

Merged
Yidhar merged 2 commits into
mainfrom
feat/workspace-core-and-kt-config
Jun 27, 2026
Merged

feat: per-workspace core + KohakuTerrarium creature picker#2
Yidhar merged 2 commits into
mainfrom
feat/workspace-core-and-kt-config

Conversation

@Yidhar

@Yidhar Yidhar commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to #1.

#4 — record the core provider per workspace

Workspaces remember which core provider was last used and restore it as the new-session default on reopen/switch.

  • switchyard-session: Workspace.core_provider.
  • gui: set_workspace_core command (persists without bumping updated_at); restore on load/switch; persist on sidebar provider select.

#3 (v1) — KohakuTerrarium creature picker + one-click kt-biome

Surface kt's ecosystem agents so kohaku's creature (the kt agent run each turn) is picked from a dropdown instead of hand-typed.

  • gui: list_kohaku_creatures (parses kt list@<pkg>/creatures/<name>), kohaku_install_biome (kt install @kt-biome).
  • Settings (kohaku): Creature combobox bound to args[0] + "Install kt-biome" button.

Deferred kt-config surfaces (not selected this round): auth/keys/login, MCP, sandbox/plugins.

Verification

cargo fmt --all -- --check, cargo clippy --workspace --all-targets -- -D warnings, cargo test --workspace --all-targets all pass locally.

🤖 Generated with Claude Code

Yidhar and others added 2 commits June 27, 2026 13:55
Workspaces now remember which core provider (session backend) was last
used, so reopening a workspace restores it as the default for new
sessions instead of always falling back to the global default.

- switchyard-session: `Workspace.core_provider: Option<String>`.
- gui: `set_workspace_core` command (persists to workspaces.json without
  bumping updated_at); restore on workspace load/switch; persist when the
  user picks a core in the sidebar.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Surface kt's ecosystem agents in Settings so kohaku's creature (the kt
agent run each turn) is picked from a dropdown instead of hand-typed —
the core of integrating kt's config into Switchyard.

- gui: `list_kohaku_creatures` parses `kt list` into `@<pkg>/creatures/<name>`
  refs (kt-biome / kohaku-creatures); `kohaku_install_biome` runs
  `kt install @kt-biome`.
- Settings (kohaku backend): Creature combobox (datalist of installed
  creatures/terrariums) bound to args[0], plus an "Install kt-biome" button.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Yidhar
Yidhar merged commit 7c60763 into main Jun 27, 2026
1 of 2 checks passed
@Yidhar
Yidhar deleted the feat/workspace-core-and-kt-config branch June 27, 2026 06:40
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