anomalyco avatar

opencode

0 subscribers
TypeScriptMDXCSS

The open source coding agent.

Created Apr 2025

MIT license

Live activities

adamdotdevin pushed a fix to the app’s session page to keep the view pinned to the bottom when auto-scrolling through todos, questions, and permissions. This improves the chat/timeline scrolling behavior so new items don’t knock you out of the “follow latest” position.

adamdotdevin pushed a UI fix to the message part renderer so the apply_patch (patch) tool displays with the same styling/structure as the edit tool. This updates the tool header metadata (icon/title/subtitle) and should make patch interactions look consistent in the UI.

Adjusts the SDK TypeScript build so outputs land in dist/ (instead of dist/src) by tweaking tsconfig settings for better monorepo compatibility, and updates .gitignore to ignore the generated tsconfig.tsbuildinfo cache file. This should fix the referenced build/layout issue and make published artifacts align with expected paths, but it changes output structure and adds a new ignored build cache—so downstream tooling or scripts that assume the old dist/src layout should be verified, and ignoring the tsbuildinfo file shouldn’t mask unexpected build state problems in CI.

Updates the CI publish pipeline so beta branch builds create and upload desktop releases to a dedicated GitHub repo, adds a beta-specific Tauri config/updater endpoint, and adjusts download routing to include a channel segment. This cleanly separates stable vs beta distribution and ensures release/edit/upload steps target the correct repository via a GH_REPO env and committer token. Concerns: the workflow hardcodes a beta repo name and relies on elevated credentials/tokens (and force-push/cherry-pick logic), so misconfiguration could publish to the wrong repo or introduce security/permissions issues.

Brendonovich updated the desktop Tauri CLI launcher to bring back the -i (interactive) flag when spawning the sidecar on Unix, ensuring shell configs like .zshrc are loaded. This should make the CLI run with the expected user environment again.

opencode-agent[bot] pushed updated generated artifacts for the v2 JavaScript SDK, refreshing sdk.gen.ts and types.gen.ts alongside the OpenAPI spec (openapi.json). This looks like a routine regen sync to keep the SDK/types aligned with the latest API definition.

Adds an experimental endpoint and backend query to list sessions across all projects/directories, with filters (directory/roots/search/start), archived inclusion toggle, and cursor-based pagination via an x-next-cursor header, plus tests to verify behavior. This enables clients to build a unified “recent activity” view without recursively scanning directories and includes project metadata alongside each session. Concerns: it’s an experimental route but could still be performance-sensitive (global DB scan, LIKE search, large limits) and the cursor uses time_updated which may be non-unique/edge-prone without careful tie-breaking across pages.

adamdotdevin pushed a fix to the app’s prompt input to prevent the main thread from locking up when pasting very large text. The update adds a safe fallback for large multiline inserts (avoiding an explosion of <br> nodes) and improves paste handling, with new/updated editor DOM tests covering the behavior.

Fixes terminal reliability by rendering only the active terminal tab, deferring focus to avoid race conditions, and closing the terminal WebSocket with a normal close code. It also hardens PTY subscriber tokening so output doesn’t leak across connections (including when socket metadata mutates in-place), with updated e2e and unit tests to match. Concerns: the new token() heuristics and unconditional subscriber pruning could inadvertently disconnect valid clients if their ws.data shape changes unexpectedly, and the shift to single-terminal rendering may have side effects for background tab state/persistence.

adamdotdevin pushed an update to the translator subagent configuration, refining the localization instructions and expanding the Do-Not-Translate glossary used for OpenCode docs (in .opencode/agent/translator.md). This helps ensure translations preserve technical terms, commands, and identifiers consistently across locales.

- End of feed -