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 — Fix/219 thinking keybind attach auth by adolago · Pull Request #12588 · anomalyco/opencode

Conversation

@adolago

@adolago adolago commented Feb 7, 2026

Copy link
Copy Markdown

What does this PR do?

Please provide a description of the issue (if there is one), the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the pr.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Sorry, something went wrong.

Uh oh!

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

All reactions
adolago and others added 30 commits January 28, 2026 16:32
@adolago
Fix typecheck deps and ACP test imports
cff994b
@adolago
Add Telegram sticker actions and network handling
cf615fb
@adolago
Adjust test preload and spinner expectations
d44fcf4
@adolago
Adjust test preload and spinner expectations
e9fddb2
@adolago
Harden path handling and ACP tests
d3a1be6
@adolago
Add root dev deps for typecheck resolution
446d47b
@adolago
Restore focus after leader commands
661c010
@adolago
Add Telegram quote replies, edit action, and paragraph chunking
5c35bb5
@adolago
Merge branch 'fix/ci-typecheck-baseline' into dev
1628f36
@adolago
Add Telegram sticker actions and network handling
9dff10c
@adolago
Improve Telegram reliability and proxy handling
c6dcb38
@adolago
Merge pull request #168 from adolago/issue/115-telegram-ux-formatting
61fca4a
Telegram UX: quote replies, silent sends, edit action
@adolago
Merge pull request #157 from adolago/issue/111-line-signature-timing-…
18e9473
…safe

Upstream security: LINE webhook signature timing-attack fix
@adolago
Merge pull request #154 from adolago/issue/92-provider-preserve-sourc…
3dad062
…e-v2

Provider: preserve source when custom loaders merge options
@adolago
Merge pull request #155 from adolago/issue/108-zee-gateway-file-servi…
372b7f0
…ng-v2

Zee security: harden gateway file serving and sanitize error responses
@google-labs-jules @adolago
Optimize getAverageTaskDuration performance
6acbea9
Optimized `TaskHistoryProjection.getAverageTaskDuration` by replacing O(N) iteration with O(1) incremental calculation.
- Added `_totalCompletedDuration` and `_completedTaskCountWithDuration` to track running stats.
- Updated `handleTaskCompleted` to update these stats incrementally.
- Updated `reset` to clear these stats.

Benchmark results (100k tasks):
- Before: ~10.5ms per call
- After: ~0.0007ms per call
- Speedup: ~15,000x

Co-authored-by: adolago <[email protected]>
@google-labs-jules @adolago
feat: Trigger inventory restoration on order cancellation
debd3f1
Implemented logic in `orderSchema.methods.cancel` to iterate through order items and restore their quantity to the product inventory. Added integration test `tests/integration/order_cancellation.test.js` to verify the fix.

Co-authored-by: adolago <[email protected]>
@adolago @claude
Add unified provider registry and improve TUI status bar
9f9a4c3
- Create src/config/providers.ts with centralized provider registry
  (google, openai, voyage, elevenlabs, minimax, vllm, edge)
- Add memory stats tracking (src/memory/stats.ts) for embedding/reranking
- Update embedding.ts and reranker.ts to use provider registry
- Improve auth CLI: fix warning for multimedia providers, add auth providers cmd
- Remove cost estimation from stats command
- Redesign TUI status bar:
  - Left: phase, sent/received tokens, emb/rerank stats, elapsed time
  - Right: context usage (X% of Yk), model variant in accent color
- All token counters now use 't' suffix (e.g., 1.2kt)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@adolago @claude
Fix security and reliability issues across 8 files
9943066
- rotating-file.ts: Add path traversal validation in cleanupOldFiles
- persona.ts: Use matchAll instead of exec loop for regex safety
- daemon.ts: Handle async errors in signal handlers with .then/.catch
- rpc.ts: Check handlers existence before delete in unsubscribe
- registry.ts: Preserve process status on re-register to prevent races
- ripgrep.ts: Fix stream edge cases and flush decoder properly
- persistence.ts: Add type-safe SQLite row mapping
- permission.ts: Support mid-string and multiple wildcards in patterns

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@adolago @claude
Merge issue/114-telegram-reliability into dev
8e378b9
- Add unified provider registry for auth management
- Add memory stats tracking for embedding/reranking operations
- Improve TUI status bar with context usage display
- Remove cost estimation functionality
- Improve Telegram reliability and proxy handling
- Add Telegram sticker actions and network handling

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@adolago
Merge remote-tracking branch 'origin/issue/110-zee-net-harden-v2' int…
ac83726
…o dev

# Conflicts:
#	packages/personas/zee/src/media/store.ts
@adolago
Merge remote-tracking branch 'origin/issue/112-browser-url-fallback-e…
315c2d9
…valuate-gate' into dev
@adolago
Merge remote-tracking branch 'origin/issue/124-control-ui-auth-status…
750b703
…' into dev
@adolago
Merge remote-tracking branch 'origin/palette-fix-aria-labels-30712219…
a3f6ae3
…43242390186' into dev
@adolago
Merge remote-tracking branch 'origin/palette-fix-chat-controls-a11y-5…
3061161
…610236449846006535' into dev

# Conflicts:
#	packages/personas/zee/ui/src/ui/app-render.helpers.ts
@adolago
Merge remote-tracking branch 'origin/sentinel/fix-proxy-ssrf-10136406…
b31b2ce
…183425661877' into dev
@adolago
Merge remote-tracking branch 'origin/bolt/optimize-filesystem-travers…
ee4cd95
…al-3351342097133094802' into dev
@adolago
Merge remote-tracking branch 'origin/fix/hold-mode-tool-guards' into dev
a8b2e36
@adolago @claude
Enhance awareness module for assertive tool use
bcbd7d8
- Add tiered tool catalog (primary/secondary/available)
- Add usage examples for primary and core tools
- Add MCP server tool awareness
- Implement token budget management to avoid context bloat
- Add compact awareness mode for constrained contexts
- Add awareness health diagnostics

Primary tools now show full details + examples, while secondary
tools use compact format. Available tools are listed by category.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@adolago
Merge remote-tracking branch 'origin/perf-optimize-get-average-task-d…
a115a68
…uration-4662346220940194749' into dev
adolago and others added 23 commits February 5, 2026 22:33
@adolago @claude
Fix flaky timing-safe test by relaxing ratio threshold to 5x
6afde58
The 3x bound was too tight for noisy environments (CPU turbo boost,
scheduling jitter), causing intermittent failures with ratios like 3.39x.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Add model rosetta as single source of truth for persona defaults
ccde383
Persona default models were duplicated across 4 locations and already
drifting (Stanley had 3 different models). Create src/agent/model-rosetta.ts
following the existing rosetta pattern, wire it into both consumers, and
remove redundant model fields from config/frontmatter files.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Replace hardcoded persona theme JSON files with rosetta generators
c5b4cfb
All 6 persona theme JSON files (3 TUI, 3 web UI) and the hardcoded hex
values in persona.tsx were duplicating colors from rosetta.ts. Now
generateTuiPersonaTheme() and generateDesktopPersonaTheme() in rosetta
produce the full theme objects from the canonical palette, eliminating
color drift when rosetta values change.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Fix path traversal and SSRF vulnerabilities in gateway HTTP handlers
3cb0c78
Sanitize session keys from HTTP headers/body to reject path traversal
sequences, null bytes, and path separators before they reach file I/O.
Add boundary URL validation in OpenResponses handler to block non-HTTP
schemes and internal hostnames before the SSRF-guarded fetch pipeline.
Add path traversal checks on file-path tool arguments in tools-invoke
endpoint.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Fix SSRF, XSS, and ReDoS vulnerabilities across gateway and infra
bb7dcde
SSRF: Add URL-arg validation in tools-invoke to block internal/private
hostnames and non-HTTP schemes before tool execution.

XSS: Add X-Content-Type-Options: nosniff to SSE headers, a2ui static
file responses, and OAuth callback. Sanitize reflected error parameter
in Gemini CLI OAuth callback handler.

ReDoS: Add regex safety checks in redact.ts, mentions.ts, and
exec-approval-forwarder.ts to reject patterns with nested quantifiers
that could cause catastrophic backtracking.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Fix gateway token mismatch, auto-enable daemon bridge, remove Telegram
3388c24
Gateway token sync:
- Resolve gateway auth token after embedded start and sync to
  process.env.ZEE_GATEWAY_TOKEN so WS client uses the same token
  the gateway server validates against (fixes self-test timeout)
- Auto-enable daemon bridge when AGENT_CORE_URL is set (embedded mode)
  so inbound WhatsApp/Matrix messages route through agent-core sessions
- Harden ac-dev jq extraction to strip JSON5 comments before parsing

Telegram removal:
- Delete entire src/telegram/ directory and all Telegram-specific code
- Remove Telegram extensions, plugins, actions, normalize, onboarding
- Remove Telegram config types, custom commands, and zod schemas
- Clean up channel registry, capabilities, and plugin references

Other changes:
- Remove claude-flow references from skills and personas
- Security hardening across gateway and infra (SSRF, XSS, ReDoS)
- TUI dialog, theme, and keybind improvements
- Update SDK generated types and provider transforms
- Remove legacy files (v3-phase1-spawn, favicon v3 assets, logs)
- Config schema and type cleanups

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Remove telegram surface type from persona configs
d8095e2
Fix type errors after Telegram removal: replace "telegram" with valid
SurfaceType values in Stanley, Zee, and Johny persona configs. Update
Zee system prompt to reference Matrix instead of Telegram.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago
Remove Telegram channel and stabilize app e2e
6d39aef
@adolago
Fix Zee surface defaults
2049967
@adolago @claude
Fix ac-dev silent exit when zee.json contains URLs
1775385
The sed command stripping JSON5 comments also destroyed '//' in URLs
(e.g. ws://127.0.0.1:45113), causing jq to fail with exit 5. Under
set -e, this killed the script before reaching the TUI launch.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago
chore(@Zee): remove 14 ClawHub-originating skills from repo
14fa243
These skills are managed by ClawHub and should not be committed to git.
They will be reinstalled via 'clawhub install --persona zee'.

Removed: auto-updater, blogwatcher, brave-search, caldav-calendar,
clawddocs, food-order, home-assistant, mcporter, minimax-tts,
spotify-player, stock-market-pro, wacli, weather, whoopskill

Remaining custom skills: banner, browser, earnings-intelligence,
financial-research, market-analysis, news-digest, pim-classic
@adolago
chore(personas): remove model-usage reference (CodexBar deleted)
1942d6f
@adolago @claude
Fix ac-dev self-test: gateway token extraction and optional Matrix
0b800fc
The sed comment stripper (s|//.*||) was mangling URLs containing //
in zee.json (e.g. ws://127.0.0.1:45113), breaking JSON parsing and
preventing ZEE_GATEWAY_TOKEN from being set. Now tries direct jq
first, falls back to a safer sed that only strips full-line comments.

Matrix test changed from mandatory-fail to optional-warn when no
matrix.roomId is configured, since ac-test.json was never updated
after the Telegram-to-Matrix switch.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Port upstream P4/P5/P7: TUI improvements, config flags, formatters
3130b91
Upstream sync from sst/opencode covering:

P4 TUI:
- Fix autocomplete flicker while typing (stabilize search signal)
- Add exit banner showing session title and resume command
- Simplify directory tree output using Map-based BFS

P5 Config:
- Add AGENT_CORE_DISABLE_PROJECT_CONFIG flag to skip project config
- Add AGENT_CORE_DISABLE_FILETIME_CHECK flag to skip file time checks

P7 Formatters/LSP:
- Add ormolu formatter for Haskell (.hs)
- Add .slnx to CSharp and FSharp LSP root detection

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago
Merge upstream-sync/p0-security-stability into dev
71830e0
@adolago @claude
Fix auth code copy regex to support 4-5 char suffixes
6b32a3d
Some OAuth providers use authorization codes with 4-5 character
suffixes (e.g., XXXX-XXXXX). Update the regex in the provider
dialog to match these codes correctly.

Port of upstream b8e7265.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Relax Bun version check to accept compatible versions (#222)
762b4a1
Use semver range (^1.3.5) instead of exact match so newer compatible
Bun versions work without failing the build script.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Add @types/semver for typecheck compatibility
b8d1ffc
Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Relax Bun version check to accept compatible versions (#222)
006af02
Use semver range (^1.3.5) instead of exact match so newer compatible
Bun versions work without failing the build script.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Add @types/semver for typecheck compatibility
1ba955b
Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago
Merge pull request #237 from adolago/fix/relax-bun-version
6574a0b
Relax Bun version requirements
@adolago @claude
Port upstream TUI polish: theme, search, layout fixes (#216)
f91e78c
- Allow theme color names (primary, secondary, etc.) in agent color config
- Use transparent background in system theme for terminal transparency
- Weight fuzzy search title matches 2x over category in dialog-select
- Add responsive layout for narrow terminals in header and permission prompt
- Add animations toggle command to System category in command palette

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago @claude
Port thinking keybind toggle and attach password auth (#219)
bbb8048
Add messages_toggle_thinking keybind (default <leader>i) so users can
bind a key to toggle thinking block visibility, matching the pattern
used by messages_toggle_conceal.

Add --password flag to attach command with interactive prompt fallback
when the remote server returns 401.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adolago
adolago requested a review from adamdotdevin as a code owner February 7, 2026 07:45
@github-actions github-actions Bot added the needs:title label Feb 7, 2026
@github-actions

github-actions Bot commented Feb 7, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title Fix/219 thinking keybind attach auth doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

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 Feb 7, 2026

Copy link
Copy Markdown
Contributor

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

Based on my search results, the following PRs are potentially related to PR #12588 (Fix/219 thinking keybind attach auth):

Related PRs:

  1. feat(opencode): add keybind for /thinking toggle - feat(opencode): add keybind for /thinking toggle #8168

    • Directly related to thinking keybind functionality
  2. feat: add keyboard shortcut to toggle thinking visibility - feat: add keyboard shortcut to toggle thinking visibility #8734

    • Related to thinking visibility toggle keybinding
  3. feat(ui): Add thinking/reasoning block visibility toggle - feat(ui): Add thinking/reasoning block visibility toggle #9139

    • Related to thinking/reasoning toggle features
  4. feat(tui): add MCP OAuth authentication in dialog-mcp - feat(tui): add MCP OAuth authentication in dialog-mcp #11925

    • Related to auth functionality mentioned in the PR title

These PRs address similar functionality around thinking keybinds and authentication. You may want to review them to ensure there's no overlap in the changes being made.

All reactions

Sorry, something went wrong.

Uh oh!

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

@adolago
adolago marked this pull request as draft February 7, 2026 07:46
@adolago adolago closed this Feb 7, 2026
@adolago
adolago deleted the fix/219-thinking-keybind-attach-auth branch March 6, 2026 12:55
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
@thdxr thdxr Awaiting requested review from thdxr thdxr will be requested when the pull request is marked ready for review thdxr is a code owner

Uh oh!

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

Assignees

No one assigned

Labels

needs:title

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.

1 participant

@adolago
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.