Skip to content

fix(open-knowledge): launch OpenCode via --prompt, not positional#300

Merged
inkeep-oss-sync[bot] merged 3 commits into
mainfrom
copybara/sync
Jun 26, 2026
Merged

fix(open-knowledge): launch OpenCode via --prompt, not positional#300
inkeep-oss-sync[bot] merged 3 commits into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

No description provided.

amikofalvy and others added 3 commits June 26, 2026 01:23
…158)

OpenCode's positional CLI arg is the project directory, so 'opencode <prompt>' made it try to cd into a directory named after the whole prompt (Error: Failed to change directory). The interactive TUI takes a starting prompt via --prompt, so the docked-terminal launch is now 'opencode --prompt <prompt>' (cwd is already the project). Added a promptFlag field to TerminalCliInfo for CLIs whose positional isn't the prompt; claude/codex/cursor unchanged. Updated buildCliLaunchCommand tests.

GitOrigin-RevId: 1dd06d3304306689f5e6304ff2850eca69ef2e01
…(#2157)

* feat(open-knowledge): faster, acceleration-respecting terminal scroll

Tune the wheel scroll to match native terminals (Ghostty). The fix isn't
a bigger flat multiplier — macOS bakes velocity acceleration into wheel
deltas, and our per-event cap was clipping the accelerated fast-flick
range. Keep a modest base multiplier and raise the cap so acceleration
carries through:

- mouse-mode accumulator: sensitivity 1 -> 1.5, maxRowsPerEvent 4 -> 20
  (fast flicks travel far via OS acceleration; slow drags stay gentle)
- normal scrollback: scrollSensitivity 3 (xterm default 1 felt sluggish)

The DOM wiring test now pins the SGR payload shape rather than an exact
tick count, so future feel-tuning doesn't break it.

* chore(open-knowledge): changeset for terminal scroll tuning

---------

GitOrigin-RevId: 3f65e266a4362f9008af1e9eee9c47283e90d972
Was clock-matched to the site's 7.8s cycle; as a focal README loop it reads too fast. Slow playback ~2x via frame delay 33ms->66ms (same frames, same 3.2MB).

GitOrigin-RevId: 48ec87a2ad4da236c0291684e412a3a212df554f

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/28211027612). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync
inkeep-oss-sync Bot merged commit f626fbf into main Jun 26, 2026
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch June 26, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants