[PR #269] [CLOSED] feat: add dynamic status verbs #9564

Closed
opened 2026-02-16 18:13:46 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/269
Author: @aryasaatvik
Created: 6/20/2025
Status: Closed

Base: devHead: feat/dynamic-status-verbs


📝 Commits (7)

  • b10f94c feat: add status verb generation API
  • 9a0a546 feat: add verb history and cycling to app state
  • 4f159e7 feat: implement dynamic verb generation in editor
  • a317ffc generate openapi spec and client
  • 06f7673 refactor: update app state management for prompt verbs
  • 6d2310a refactor: extract verb prompt into separate file and update system prompt
  • 6712838 refactor: streamline verb management in editor component

📊 Changes

9 files changed (+511 additions, -40 deletions)

View changed files

📝 packages/opencode/src/server/server.ts (+30 -0)
📝 packages/opencode/src/session/index.ts (+60 -3)
packages/opencode/src/session/prompt/verb.txt (+7 -0)
📝 packages/opencode/src/session/system.ts (+5 -0)
📝 packages/tui/internal/app/app.go (+78 -20)
📝 packages/tui/internal/components/chat/editor.go (+122 -13)
📝 packages/tui/internal/tui/tui.go (+1 -0)
📝 packages/tui/pkg/client/gen/openapi.json (+56 -4)
📝 packages/tui/pkg/client/generated-client.go (+152 -0)

📄 Description

Summary

  • Added dynamic verb generation API for status messages
  • Implemented verb history and cycling in app state
  • Integrated dynamic verb generation in the editor
  • Generated OpenAPI spec and client

Test plan

  • Test verb generation API endpoint
  • Verify verb cycling functionality works correctly
  • Ensure editor properly displays dynamic verbs
  • Check OpenAPI spec is correctly generated

https://github.com/user-attachments/assets/9e0c271d-1f2d-467a-bdfa-f2cb9332fe25


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/269 **Author:** [@aryasaatvik](https://github.com/aryasaatvik) **Created:** 6/20/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/dynamic-status-verbs` --- ### 📝 Commits (7) - [`b10f94c`](https://github.com/anomalyco/opencode/commit/b10f94c8476b0c0a6240bc93eeb8ef352ef80693) feat: add status verb generation API - [`9a0a546`](https://github.com/anomalyco/opencode/commit/9a0a546441c39682f489b8f423d970b29df9ab51) feat: add verb history and cycling to app state - [`4f159e7`](https://github.com/anomalyco/opencode/commit/4f159e7fa3786d954e246549c34723b1676d945b) feat: implement dynamic verb generation in editor - [`a317ffc`](https://github.com/anomalyco/opencode/commit/a317ffc25716178a53117d76ff0f4f8939da8178) generate openapi spec and client - [`06f7673`](https://github.com/anomalyco/opencode/commit/06f7673593ed443434a24f047fec88d311c9cb87) refactor: update app state management for prompt verbs - [`6d2310a`](https://github.com/anomalyco/opencode/commit/6d2310a90abbb1fd6855201e3614493b27e80709) refactor: extract verb prompt into separate file and update system prompt - [`6712838`](https://github.com/anomalyco/opencode/commit/671283872ebe7860e42851f762307f4c4c46fbf8) refactor: streamline verb management in editor component ### 📊 Changes **9 files changed** (+511 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/server/server.ts` (+30 -0) 📝 `packages/opencode/src/session/index.ts` (+60 -3) ➕ `packages/opencode/src/session/prompt/verb.txt` (+7 -0) 📝 `packages/opencode/src/session/system.ts` (+5 -0) 📝 `packages/tui/internal/app/app.go` (+78 -20) 📝 `packages/tui/internal/components/chat/editor.go` (+122 -13) 📝 `packages/tui/internal/tui/tui.go` (+1 -0) 📝 `packages/tui/pkg/client/gen/openapi.json` (+56 -4) 📝 `packages/tui/pkg/client/generated-client.go` (+152 -0) </details> ### 📄 Description ## Summary - Added dynamic verb generation API for status messages - Implemented verb history and cycling in app state - Integrated dynamic verb generation in the editor - Generated OpenAPI spec and client ## Test plan - [x] Test verb generation API endpoint - [x] Verify verb cycling functionality works correctly - [x] Ensure editor properly displays dynamic verbs - [x] Check OpenAPI spec is correctly generated https://github.com/user-attachments/assets/9e0c271d-1f2d-467a-bdfa-f2cb9332fe25 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:13:46 -05:00
yindo closed this issue 2026-02-16 18:13:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9564