Commit Graph
676 Commits
Author SHA1 Message Date
Chris Scott d153bc0d21 Remove the unreachable agent and command rename plumbing 2026-11-13 19:47:14 +00:00
Chris Scott 80e013ec81 Scope goal reads to the session directory and stabilize the background activity tests 2026-11-13 19:47:13 +00:00
Chris Scott fc00273645 Fix remote session delete, unknown commit responses, restart errors and lost autosave clears 2026-11-13 19:47:12 +00:00
lil-worker-cstech[bot] 26fd21250a fix: apply 1 pr-agent suggestions
- frontend/src/components/model/ModelQuickSelect.test.tsx:220 Unwrap the async helper's return type

Applied-by: pr-agent-autoapply
2026-11-13 06:50:08 +00:00
Chris Scott 19ee1d9173 refactor: satisfy no-array-filter-map and no-accumulating-spread 2026-11-13 01:45:13 -05:00
Chris Scott b625acfc0c chore(lint): replace ESLint with Oxlint and clear anti-slop findings 2026-11-13 01:13:34 -05:00
Chris Scott c6c13335e5 Merge pull request #480 from chriswritescode-dev/fix/shortcut-missing-key
fix(frontend): ignore keyless key events and stop composer autocorrect
2026-11-06 10:20:11 -05:00
Chris Scott bb196cb118 fix(frontend): turn off autocorrect, capitalization and spellcheck in the composer
Prompts often mention file names, commands and identifiers, which browser text assistance rewrites. Disable autocorrect, auto-capitalization and spellcheck in every composer mode, not only bash mode.
2026-11-06 10:19:30 -05:00
Chris Scott 9205a6451d Merge pull request #481 from chriswritescode-dev/chore/opencode-2.2.5-catalog
chore(opencode): move the OpenCode pin to 2.2.5 from a workspace catalog
2026-11-06 09:48:57 -05:00
Chris Scott bf7c6cdbac fix(opencode): address review feedback on the 2.2.5 pin
Document ocm 0.6.x as requiring OpenCode 2.2.5, matching its
@opencode/theme peer, and make the package compatibility test check
bounded peer ranges instead of treating them as one version.

Linked servers on another 2.x release keep the neutral version notice,
while a different major version is shown as unsupported again through
a shared version badge.

The Docker build now fails when the bundled OpenCode is below the
supported minimum, and the entrypoint falls back to the bundled version
as the floor when OPENCODE_MIN_VERSION is unset instead of discarding
every persisted binary.
2026-11-06 09:43:35 -05:00
Chris Scott 807c7cb896 chore(opencode): move the OpenCode pin to 2.2.5 from a workspace catalog
Manager builds against and requires OpenCode 2.2.5. Every @opencode
package, plus effect and the OpenTUI/solid dependencies they share,
resolves from one pnpm workspace catalog instead of separate pins.

The built-against version and the supported floor are now separate
settings, so a future OpenCode release can move the pin before raising
the floor. Docker and the dev setup script read the floor from its own
argument.

ocm-cli moves to 0.6.0 on the same 2.2.5 and OpenTUI 0.8 baseline. A
linked server on a different version is still connectable and now shows
a neutral version notice instead of an unsupported badge.
2026-11-06 09:26:56 -05:00
Chris Scott a1c2546219 fix(frontend): disable browser autocomplete and autocorrect in the composer 2026-11-06 08:41:43 -05:00
Chris Scott 8cebb9449e fix(frontend): leave MCP server integrations out of provider settings 2026-11-06 00:13:18 -05:00
Chris Scott 99713e15b4 fix(frontend): load provider integrations through the typed OpenCode client
Fetch integrations with callOpenCode instead of a dedicated backend route,
drop the unused provider credentials list query, label an existing key as
"Edit API key", and keep the loaded provider list when a background
refetch fails.
2026-11-06 00:10:20 -05:00
Chris Scott b179267376 Merge branch 'main' into Fix-0-Providers
# Conflicts:
#	frontend/src/contexts/EventContext.test.tsx
2026-11-06 00:10:18 -05:00
Chris Scott 462b981019 fix: delete an emptied permissions or request block instead of saving it empty (OM-179)
Returning every agent permission to Default now removes the permissions key, and clearing the last sampling value removes the request key, instead of leaving an empty array or an empty body in the config. Found while testing the Settings dialog in a browser.
2026-11-05 18:04:35 -05:00
Chris Scott 6297403a41 docs: document the OpenCode client migration surfaces (OM-179)
Adds JSDoc comments to the functions this branch adds or changes, so the touched-code docstring coverage clears the review threshold. Comments only; no code, formatting or import changes.
2026-11-05 16:32:43 -05:00
Chris Scott 64e87ba1ea fix: guard the Assistant config conversion and place agent permission fallbacks after catch-all rules (OM-179)
The Assistant v1-to-v2 conversion now skips the write when OpenCode returns no converted assistant agent for a customized v1 one, or when the converted config fails validation, and it shares a file lock with ensureAssistantMode so the two never overwrite each other.

A new agent wildcard permission rule is inserted after the last catch-all * * rule instead of before it, so the catch-all cannot override it. The event subscription also counts each received event as stream activity.
2026-11-05 16:16:49 -05:00
Chris Scott 84aa8dbeac fix: refresh the managed config after a raw config save (OM-179)
A raw editor save now refetches the managed view like a structured save does, so the Settings lists never hand a stale agent, command or provider to the next entity patch when the event stream does not deliver config.updated.
2026-11-05 16:08:22 -05:00
Chris Scott 58a9fcdc8e fix: leave agent temperature and top_p unset unless the user sets them (OM-179)
The agent dialog no longer writes temperature 0.7 and top_p 1 on every save. The fields start empty with a Default placeholder when the agent stores no value; an empty field is omitted, or removed with a merge-patch null when the agent stored it, so the provider default applies.
2026-11-05 16:05:29 -05:00
Chris Scott 670c66f85b fix: add a Default agent permission choice and stop forwarding cookies to OpenCode (OM-179)
Each agent permission select now offers Default, shown when the agent has no wildcard rule for the action. Choosing Allow, Ask or Deny writes an agent rule even when it matches the inherited effect; choosing Default removes the agent's wildcard rules so the global permission applies.

The local OpenCode proxy drops the browser's Cookie header, as the linked-server proxy already does.
2026-11-05 15:58:53 -05:00
Chris Scott 38d618be9b fix: limit the restart-pending 409 to entity patches and keep inherited agent permissions (OM-179)
PATCH /opencode-config refuses only patches that name an agent, command, provider or MCP server while a restart is pending; other keys still apply. The assistant API reference documents the new 409.

The agent dialog adds a wildcard permission rule only for an action whose effect the user changed, so saving an agent no longer overrides an inherited global ask or deny.
2026-11-05 12:43:42 -05:00
Chris Scott 8d92f86142 fix: apply CodeRabbit auto-fixes 2026-11-03 08:29:59 -05:00
Chris Scott 9fca96ecea fix: refuse entity saves while a restart is pending and share replay payloads (OM-179) 2026-11-02 23:47:42 -05:00
Chris Scott 49bb4ebd36 loop: om-179-finish-adopting-op completed after 19 iterations 2026-11-02 13:13:31 -05:00
Chris Scott fbc3e02208 section 14: Phase 14: Model view models use ModelInfo field names 2026-11-02 12:13:36 -05:00
Chris Scott 2d4abe79e1 section 13: Phase 13: Session status from the client type, compaction-dr 2026-11-02 12:01:18 -05:00
Chris Scott 717536c5a6 section 12: Phase 12: One shared flattened stream event type; delete the 2026-11-02 11:34:45 -05:00
Chris Scott 1802cdc7de section 10: Phase 10: Model/provider editor and MCP manager on v2 provid 2026-11-02 10:57:51 -05:00
Chris Scott 81725fb345 section 9: Phase 9: Settings agents and commands read managed v2 config 2026-11-02 10:47:37 -05:00
Chris Scott 48ca38c4e3 section 6: Phase 6: Config.Info validation owner and v2 config types in 2026-11-02 10:23:14 -05:00
Chris Scott 65066ab0dc feat(schedules): per-schedule switch to keep runs out of the inbox and notifications 2026-10-30 13:11:35 -04:00
Wesley Tanner cb7d073af0 Merge branch 'main' into Fix-0-Providers 2026-10-30 06:40:37 -05:00
Wesley Tanner 74de8ac9d7 test connected integration-only provider visibility 2026-10-29 16:51:53 -05:00
Wesley Tanner 08d336c829 show connected integration-only providers 2026-10-29 16:51:43 -05:00
Wesley Tanner 8cc524bc32 test visibility of connected non-key providers 2026-10-29 16:07:19 -05:00
Wesley Tanner 02f1bc2a3d keep connected providers visible without key methods 2026-10-29 16:07:08 -05:00
Wesley Tanner a6a8121390 test filtering non-key integrations from API key list 2026-10-29 15:47:43 -05:00
Wesley Tanner 742a5076fe filter API key providers by key method 2026-10-29 15:47:30 -05:00
Wesley Tanner 8156c76d96 test API key action label 2026-10-29 15:33:29 -05:00
Wesley Tanner e983e85e9f fix API key action label 2026-10-29 15:33:22 -05:00
Chris Scott cbe92c92ad refactor(goals): replace the Manager session-goal API with OpenCode built-in /goal 2026-10-29 12:38:39 -04:00
Wesley Tanner dc1c40d46b test provider grouping and mixed auth methods 2026-10-29 11:09:40 -05:00
Wesley Tanner e4435738fb fix settings grouping and mixed-method API keys 2026-10-29 11:09:21 -05:00
Wesley Tanner ed7ec938f1 test(frontend): cover differing provider integration IDs 2026-10-29 10:28:09 -05:00
Wesley Tanner f1868ad3e3 fix(frontend): match settings by integration ID 2026-10-29 10:28:06 -05:00
Wesley Tanner d07c468a4d test(frontend): cover provider integration failures 2026-10-29 09:55:07 -05:00
Wesley Tanner ee1a39b5f0 fix(frontend): handle provider integration errors 2026-10-29 09:55:04 -05:00
Wesley Tanner 024b3d969f fix(frontend): list provider integrations in settings 2026-10-29 13:04:20 +00:00
Chris Scott da5a9ebabf fix(frontend): collapse the linked-server project header when a tool panel is docked 2026-10-25 19:27:05 -04:00