opencode
opencode copied to clipboard
The open source coding agent.
## Description Hi! I'm still experiencing the `TypeError: undefined is not an object (evaluating 'prompt.set')` error on v1.1.14. I noticed the release notes mention a fix for prompt ref initialization,...
### What does this PR do? Fixes #7713 by the following: - Adds a variant field to the commands configuration. - Variant needs to be specified with the model (throws...
### What does this PR do? This adds a support for agent, model and variant pre-selection through URL parameters in /session endpoint. This allows better integration with external tools. For...
## Summary The current `type: "remote"` MCP configuration only supports **SSE (Server-Sent Events)** transport. However, the MCP protocol now includes **HTTP Streamable** transport (also called `http` or `streamable-http`), which is...
### Description ## Summary The OpenCode skill discovery logic only searches in `~/.config/opencode/skills/` (plural) directories but ignores `~/.config/opencode/skill/` (singular), despite the documentation claiming both paths are valid discovery locations. ##...
### What does this PR do? Fixes #8047 This fixes issue #8047 by wrapping `ConfigMarkdown.parse()` calls in `try...catch` and displaying appropriate error messages in form of toast
### Description ``` TypeError: undefined is not an object (evaluating 'local.agent.current().name') at (src/cli/cmd/tui/component/prompt/index.tsx:840:75) at (../../node_modules/.bun/@[email protected]+897ebc1644d3edd0/node_modules/@opentui/solid/index.js:148:62) at runComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:742:22) at updateComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:724:3) at runTop (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:833:7) at runUserEffects (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:928:18) at runUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:849:17)...
Fixes #7616 Cause: agents sometimes violate the 12-character header limit because JSON Schema constraints like "maxLength": 12 are buried in nested parameter definitions and have lower attention weight compared to...
*EDIT TO ADD:* As mentioned in the comments, I resolved this by explicitly setting the `SSL_CERT_BUNDLE` and `REQUESTS_CA_BUNDLE` environment variables to the location of my company-provided cert bundle. I would...
### Description ``` TypeError: undefined is not an object (evaluating 'local.agent.current().name') at (src/cli/cmd/tui/component/prompt/index.tsx:840:75) at (../../node_modules/.bun/@[email protected]+897ebc1644d3edd0/node_modules/@opentui/solid/index.js:148:62) at runComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:742:22) at updateComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:724:3) at runTop (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:833:7) at runUserEffects (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:928:18) at runUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:849:17)...