GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(desktop): Ask Question Tool Support by dbpolito · Pull Request #8232 · anomalyco/opencode

Conversation

@dbpolito

@dbpolito dbpolito commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds support on desktop, following a similar experience than TUI, but also matching the Permission behavior on desktop

How did you verify your code works?

result

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jeffersoncostas, marcushohlbein, and ahumandev reacted with heart emoji
All reactions
  • ❤️ 3 reactions
dbpolito added 3 commits January 13, 2026 11:52
@dbpolito
feat(desktop): Ask Question Tool Support
c574b2e
@dbpolito
Tweaks
a65061b
@dbpolito
Tweak
ebc62ee
@dbpolito
dbpolito requested a review from adamdotdevin as a code owner January 13, 2026 15:14
@github-actions github-actions Bot added the needs:issue label Jan 13, 2026
@github-actions

github-actions Bot commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found related PRs that are in the same feature area but are not exact duplicates of PR #8232:

Potentially Related PRs:

  1. feat(web): add question tool support to web UI (feat(web): add question tool support to web UI #7732)

    • Related because it adds Question Tool support to a different platform (web), similar feature scope to the desktop implementation
  2. feat(app): add question tool UI for web (feat(app): add question tool UI for web #7751)

    • Also adds question tool UI to web platform, potentially overlapping with feat(web): add question tool support to web UI #7732
  3. feat(questions): enhance questions TUI + add full descendants support (feat(questions): enhance questions TUI + add full descendants support #7653)

    • Related as it enhances the Questions feature on TUI (which PR feat(desktop): Ask Question Tool Support #8232 references following a similar experience)

PR #8232 appears to be specifically for desktop support while these other PRs target web and TUI. They're related features but address different platforms, so they're not exact duplicates.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jeffersoncostas

jeffersoncostas commented Jan 13, 2026

Copy link
Copy Markdown

Wow, I really miss this coming from Claude Code

trollfalgar reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dbpolito
Adam's Feedback
d413985
@adamdotdevin
adamdotdevin merged commit 3600bd2 into anomalyco:dev Jan 13, 2026
fwang pushed a commit that referenced this pull request Jan 14, 2026
@dbpolito @fwang
feat(desktop): Ask Question Tool Support (#8232)
dfa59dd
This was referenced Jan 14, 2026
feat(app): add question tool UI for web #7751
Closed
feat(web): add question tool support to web UI #7732
Closed
shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Jan 14, 2026
@shuv1337
sync: merge upstream v1.1.19 into integration
7a9bf58
Upstream changes:
- feat: add plan mode with enter/exit tools (anomalyco#8281)
- feat: Add GitLab Duo Agentic Chat Provider Support (anomalyco#7333)
- feat(desktop): Ask Question Tool Support (anomalyco#8232)
- feat: add Undertale and Deltarune built-in themes (anomalyco#8240)
- fix: Add Plugin Mocks to Provider Tests (anomalyco#8276)
- fix: update User-Agent string to latest Chrome version in webfetch (anomalyco#8284)
- fix(prompt-input): handle Shift+Enter before IME check
- fix(state): delete key from recordsByKey on instance disposal
- fix(mcp): close existing client before reassignment to prevent leaks

Resolved conflicts:
- bun.lock: regenerated with fork dependencies
- global-sync.tsx: adopted upstream variable naming (question instead of request)
- session/index.tsx: merged upstream workdir display with fork's ANSI terminal emulation
- amazon-bedrock.test.ts: added all mock modules (fork + upstream)
- vscode/package.json: kept fork branding, updated version

Fork commits included:
- refactor(tui): use SDK client for tool list dialog
- chore: update lockfile with fork dependencies
@offlinehacker offlinehacker mentioned this pull request Jan 14, 2026
Question tool content missing in Web UI (opencode serve) #7599
Closed
@shuv1337 shuv1337 mentioned this pull request Jan 14, 2026
sync: merge upstream v1.1.19 + fork improvements shuv1337/shuvcode#296
Merged
@offlinehacker

offlinehacker commented Jan 14, 2026

Copy link
Copy Markdown

@dbpolito I have added some extra tweaks like keyboard navigation that allows more smooth answering, can you take a look I you can reuse some of the code? It seems that multiple people were working on that same feature and contributing merge requests #7751

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dbpolito

dbpolito commented Jan 14, 2026

Copy link
Copy Markdown
Contributor Author

@offlinehacker yeah i did some quick search before work on it but didn't find for some reason, only saw later on when the dupe PR commented... anyway, yours looked pretty good too... Feel free to open a PR following up what you think it's missing...

But i would try to ask the team first on the discord... Tag adam, because making navigation would mean removing focus from prompt, feels a new thing, which sounds good anyway...

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Jan 15, 2026
@shuv1337 @fwang
@actions-user @LeonMueller-OneAndOnly @Eduard-Voiculescu @mthezi @danielmbrasil @sauerdaniel @felixzsh opencode @thdxr @iso2kx @dbpolito @Brendonovich @cmdr-chara @zeke @vglafirov @rekram1-node @dmmulroy @josephbharrison @AlanThiec @zerone0x @claude @AksharP5 @goniz @neriousy @ajzbc @shanebishop1
Sync upstream v1.1.20 (#301)
5b136fe
* sync

* sync

* Update Nix flake.lock and x86_64-linux hash

* Update aarch64-darwin hash

* fix(TUI): make tui work when OPENCODE_SERVER_PASSWORD is set (anomalyco#8179)

* chore: generate

* wip: black

* docs: Update plan mode restrictions (anomalyco#8290)

* docs: add 302ai provider (anomalyco#8142)

* fix: add missing metadata() and ask() defintions to ToolContext type (anomalyco#8269)

* fix(tui): track all timeouts in Footer to prevent memory leak (anomalyco#8255)

* fix: deduplicate file refs in sent prompts (anomalyco#8303)

* chore: generate

* wip: black

* wip: black

* release: v1.1.17

* add fullscreen view to permission prompt

* chore: generate

* fix(desktop): correct health check endpoint URL to /global/health (anomalyco#8231)

* feat(desktop): Adding Provider Icons (anomalyco#8215)

* chore: generate

* console: reduce desktop download cache ttl to 5 minutes

* fix(github): add persist-credentials: false to workflow templates (anomalyco#8202)

* release: v1.1.18

* fix(desktop): Revert provider icon on select model dialog (anomalyco#8245)

* feat: add Undertale and Deltarune built-in themes (anomalyco#8240)

* chore: generate

* feat(desktop): Ask Question Tool Support (anomalyco#8232)

* fix(mcp): close existing client before reassignment to prevent leaks (anomalyco#8253)

* fix(state): delete key from recordsByKey on instance disposal (anomalyco#8252)

* docs: document ~/.claude/CLAUDE.md compatibility behavior (anomalyco#8268)

* feat: Add GitLab Duo Agentic Chat Provider Support (anomalyco#7333)

Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>

* fix(cli): mcp auth duplicate radio button icon (anomalyco#8273)

* Update Nix flake.lock and x86_64-linux hash

* Update aarch64-darwin hash

* tweak: ensure external dir and bash tool invocations render workdir details

* tweak: external dir permission rendering in tui

* add family to gpt 5.2 codex in codex plugin

* fix(prompt-input): handle Shift+Enter before IME check to prevent stuck state (anomalyco#8275)

* feat: add plan mode with enter/exit tools (anomalyco#8281)

* chore: generate

* test: fix plan agent test path from .opencode/plan/* to .opencode/plans/*

* remove plan

* fix: update User-Agent string to latest Chrome version in webfetch (anomalyco#8284)

* fix: Add Plugin Mocks to Provider Tests (anomalyco#8276)

* chore: generate

* tweak: prompt for explore agent better

* do not allow agent to ask custom-less questions

* release: v1.1.19

* fix(TUI): make tui work when OPENCODE_SERVER_PASSWORD is set (anomalyco#8179)

* chore: generate

* docs: Update plan mode restrictions (anomalyco#8290)

* docs: add 302ai provider (anomalyco#8142)

* fix: add missing metadata() and ask() defintions to ToolContext type (anomalyco#8269)

* fix(tui): track all timeouts in Footer to prevent memory leak (anomalyco#8255)

* fix: deduplicate file refs in sent prompts (anomalyco#8303)

* chore: generate

* chore: generate

* Update Nix flake.lock and x86_64-linux hash

* Update aarch64-darwin hash

* fix(session): skip duplicate system prompt for Codex OAuth sessions (anomalyco#8357)

Co-authored-by: Claude <[email protected]>

* feat: show connected providers in /connect dialog (anomalyco#8351)

* fix(opencode): fix docker image after sst rename in tips (anomalyco#8376)

* chore: generate

* ignore: update download stats 2026-01-14

* docs(prd): mark codex token refresh PR task as complete

- PR created at #298
- Fix includes: write token refresh to openai provider ID, fallback to legacy codex entry
- Tests pass (744 pass, 1 skip, 0 fail)

* test(auth): verify backwards compatibility for OAuth metadata fields

- Add test confirming minimal OAuth results (without optional email, name,
  plan, orgName fields) persist correctly in auth storage
- All new metadata fields are optional in plugin types and auth schema
- Provider auth handler uses conditional checks before setting optional fields
- Verify 745 pass, 1 skip, 0 fail

* chore(prd): mark extractUserInfo tasks as complete

The extractUserInfo function is already implemented in codex.ts:92-105.
It parses id_token, extracts email, name, and accountId from claims,
and returns a UserInfo object. All tests pass.

* chore(prd): mark OAuth callback integration tasks as complete

OAuth callback already calls extractUserInfo(tokens) after token exchange and includes email, name, accountId in the success payload.

* fix(app): file listing  (anomalyco#8309)

* chore(prd): mark normalizePlanType tasks as complete

normalizePlanType function maps plan values to standardized tiers (free, plus, pro, team, enterprise, unknown) and handles case variations.

* feat(server): add GET /auth/info/:providerID endpoint for account metadata

- Added endpoint in server.ts that returns auth metadata (authenticated, type, email, plan, accountId)
- Returns 404 with authenticated: false if provider not found
- Generated openapi.json with new endpoint definition
- Regenerated SDK with auth.info method and types (AuthInfoData, AuthInfoResponses)
- Updated prd.json to mark SDK generation tasks as complete
- Tests pass: 745 pass, 1 skip, 0 fail

* chore(prd): mark PR merge and SDK tasks as complete

- Marked "Merge PR before starting Phase 1" as complete (PR #298 already merged)
- Updated verification steps for auth.info endpoint implementation

* chore(prd): mark legacy codex cleanup task as complete

- Verified migration copies codex to openai, Auth.remove('codex') available for manual cleanup
- Removal is intentionally manual to prevent data loss if migration fails

* chore: mark session complete

* chore(prd): mark background task implementation as complete

- Verified fetchChatGPTUserInfo background task at codex.ts:606-632
- Task spawns via 'void updatePlan().catch(() => {})' - non-blocking
- Updates auth metadata via auth.set when plan/orgName retrieved
- OAuth success returns immediately regardless of background task result

* chore(prd): mark manifest.ts creation as complete

- Verified manifest.ts exists with InstalledSkill and SkillManifest interfaces
- Implements loadManifest, saveManifest, getInstalled, addInstalled, removeInstalled
- Used by skill installer to track installed skills and their metadata

* chore(prd): mark skill index and installer files as complete

- Verified skill/index.ts exists with SkillIndex interface and caching logic
- Implements loadIndex (cache with TTL), buildIndex (fetch and write), search (fuzzysort)
- Verified skill/installer.ts exists with installSkill and uninstallSkill functions
- Copies skill files to SKILLS_DIR and updates manifest with installed metadata

* fix plan mode when not in git worktree

* chore(prd): mark github fetcher as complete

- Verified skill/fetcher/github.ts exists with 200 lines implementing git and tarball fetching
- fetchRegistry() entry point with hasGit() check and tarball fallback
- scanSkills() walks directories matching SKILL.md globs with minimatch
- parseSkillFile() extracts YAML frontmatter for skill metadata

* chore(prd): mark clawdhub and url fetchers as complete

- Verified skill/fetcher/clawdhub.ts exists with stub fetchRegistry returning []
- Verified skill/fetcher/url.ts exists with stub fetchRegistry returning []
- Both are TODO stubs awaiting API contract confirmation and implementation

* fix(ui): layout-bottom icons (anomalyco#8330)

* fix(desktop): "load more" button behavior in desktop sidebar (anomalyco#8430)

* chore: generate

* release: v1.1.20

* sync: record last synced tag v1.1.20

* fix: suppress TS2589 type recursion error in server route chain

---------

Co-authored-by: Frank <[email protected]>
Co-authored-by: Github Action <[email protected]>
Co-authored-by: Leonidas <[email protected]>
Co-authored-by: Eduard Voiculescu <[email protected]>
Co-authored-by: ⌞L⌝ <[email protected]>
Co-authored-by: Daniel M Brasil <[email protected]>
Co-authored-by: Daniel Sauer <[email protected]>
Co-authored-by: Felix Sanchez <[email protected]>
Co-authored-by: opencode <[email protected]>
Co-authored-by: Dax Raad <[email protected]>
Co-authored-by: usvimal <[email protected]>
Co-authored-by: Daniel Polito <[email protected]>
Co-authored-by: Brendan Allan <[email protected]>
Co-authored-by: cmdr-chara <[email protected]>
Co-authored-by: Zeke Sikelianos <[email protected]>
Co-authored-by: Vladimir Glafirov <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: Dillon Mulroy <[email protected]>
Co-authored-by: Joe Harrison <[email protected]>
Co-authored-by: Dax <[email protected]>
Co-authored-by: Alan <[email protected]>
Co-authored-by: zerone0x <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: Akshar Patel <[email protected]>
Co-authored-by: Goni Zahavy <[email protected]>
Co-authored-by: Filip <[email protected]>
Co-authored-by: Andrew Jazbec <[email protected]>
Co-authored-by: Shane Bishop <[email protected]>
@athal7 athal7 mentioned this pull request Jan 18, 2026
feat: add PWA support and mobile UI improvements #7258
Closed
triklozoid pushed a commit to triklozoid/opencode that referenced this pull request Feb 2, 2026
@dbpolito @triklozoid
feat(desktop): Ask Question Tool Support (anomalyco#8232)
df9dda9
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
@dbpolito
feat(desktop): Ask Question Tool Support (anomalyco#8232)
48df811
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
@dbpolito @fwang
feat(desktop): Ask Question Tool Support (anomalyco#8232)
19cbfbc
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
@dbpolito
feat(desktop): Ask Question Tool Support (anomalyco#8232)
22885eb
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
@dbpolito @fwang
feat(desktop): Ask Question Tool Support (anomalyco#8232)
eaeb1d4
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
@dbpolito
feat(desktop): Ask Question Tool Support (anomalyco#8232)
eb239d5
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
@dbpolito @fwang
feat(desktop): Ask Question Tool Support (anomalyco#8232)
fd40184
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
@dbpolito
feat(desktop): Ask Question Tool Support (#8232)
f7f4ef5
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
@dbpolito @fwang
feat(desktop): Ask Question Tool Support (#8232)
f236667
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
@dbpolito
feat(desktop): Ask Question Tool Support (anomalyco#8232)
0722508
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
@dbpolito @fwang
feat(desktop): Ask Question Tool Support (anomalyco#8232)
7b9097d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adamdotdevin adamdotdevin Awaiting requested review from adamdotdevin

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

needs:issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@dbpolito @jeffersoncostas @offlinehacker @adamdotdevin
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.