Commit Graph

112 Commits

Author SHA1 Message Date
m4 dc6fd39341 feat(webui): forward generation overrides into run snapshots
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-29 07:36:28 +08:00
m4 5557690e0e feat(webui): accept temperature/top_p in thread model selection 2026-07-28 17:56:18 +08:00
m4 4cd3d2e9a4 feat: add image models config dialog 2026-07-24 09:54:08 +08:00
m4 222cb0b84e feat: drop auxiliary model from thread selection and registry defaults
ThreadModelSelection is now "inherit" or { primary, reasoning_effort };
the BFF validator tolerates and drops legacy auxiliary keys, the runs
route no longer snapshots an auxiliary ref, and the Registry Editor's
default-auxiliary field is removed, matching the backend's single-role
snapshot resolution.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-23 10:19:03 +08:00
m4 7a61ac11cb feat: keep the model registry dialog open on overlay click and Escape
Editing a large registry draft is easy to lose to a stray click; the
dialog now only closes via the X or Close button.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-22 11:03:24 +08:00
m4 18107d99e9 feat: collapsible model parameter sections in the Registry Editor
Saved models start collapsed to a compact status row (key, availability,
enabled, Test); new unsaved models start expanded for editing. Test
outcomes stay visible regardless of collapse state.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-22 11:01:18 +08:00
m4 340136ebc1 feat: save changed models as disabled instead of auto-testing
Saving no longer runs live provider tests: changed enabled models are
saved as disabled (defaults repointed when needed) and the user
re-verifies manually with the per-model Test button, then re-enables and
saves again. A successful test now refreshes the local availability so
re-enabling is a plain save.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-22 10:11:04 +08:00
m4 1ff30b677a feat: wrap enabled-model edits in a save & re-verify flow
Editing an enabled model invalidated its verification record, so the
backend rejected the save with MODEL_NOT_AVAILABLE. The editor now
detects changed enabled models (mirroring configuration_hash inputs plus
credential rotation) and runs the documented disable & save -> test ->
enable & save sequence as one click, temporarily repointing defaults
when the edited model is the default primary.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-22 08:35:46 +08:00
m4 cec1fa04d7 feat: left-right layout for the Registry Editor
With multiple providers configured, the vertical stack required long
scrolling. The left pane now lists providers with enabled markers and
per-model availability dots plus the template picker; the right pane
shows the selected provider's editor, auto-selecting newly added
providers and clamping selection on remove.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-21 22:59:11 +08:00
m4 2bf1127af2 feat: new-provider templates in Registry Editor (design doc 7.1)
Add the six phase-1 templates (智谱 GLM, OpenAI, Anthropic,
OpenAI-compatible, Anthropic-compatible, Ollama) that prefill adapter,
Base URL, auth mode, and suggested models; saved providers remain
ordinary profiles. Verified in browser against the live dev server.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-21 21:14:51 +08:00
m4 9f702e230d feat: adapter-spec-driven Registry Editor replaces legacy provider editors
- New RegistryEditor renders providers, models, runtime parameters and
  capabilities from the backend's AdapterParameterSpec contract, with
  ModelAvailability badges, write-once credential staging, provider tests
  showing effective_request_options, revision CAS on save, and 422 detail
  paths surfaced verbatim (design doc sections 9, 11.8)
- ConfigDialog now hosts the Registry Editor (admin-only; non-admins see a
  notice from the 403 path)
- AccountDialog shows the session role and embeds an admin user-management
  section (list/create/promote/demote/password reset/delete, last-admin
  guard enforced server-side)
- Deleted legacy ProviderProfiles/BuiltinProviders/RegistryBuiltinProviders
  editors, providerProfiles/legacyLlmConfig libs, the admin-token proxy and
  the /api/provider-profiles, /api/provider-actions, /api/default-model and
  /api/config BFF routes (design doc section 10 legacy removals)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-21 19:02:17 +08:00
m4 862cd4922e feat: unified model configuration — BFF auth, delegation JWT, thread model selection
- Multi-user auth (better-sqlite3 + scrypt) with admin/user roles and
  ES256 delegation JWT signing for EvoScientist Config API calls
- BFF config client sends Authorization: Bearer <service token> +
  X-Evo-Actor delegation JWT (design doc 7.3)
- Model registry admin API routes (GET/PUT registry, credential replace,
  provider test) proxying the backend with revision CAS
- ThreadModelSelection replaces model_override: PATCH CAS with
  expected_selection_revision, per-thread serialization, 409
  THREAD_MODEL_SELECTION_CONFLICT
- Run creation freezes a runtime snapshot per turn; command resumes reuse
  the turn's frozen snapshot from run metadata (design doc 7.2/8.2)
- Chat UI: ModelRef picker fed by GET /api/models selectable list; removed
  /model <name> command, localStorage preference, and set-default star
- Deleted lib/modelCommand.ts, lib/modelPreference.ts, lib/defaultModel.ts

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-21 18:50:17 +08:00
m4 940ec29398 chore: baseline WIP before unified model configuration implementation
Pre-existing uncommitted work (auth dialog, provider profiles editor, runs route) preserved as baseline.
2026-07-20 20:15:38 +08:00
m4 fe982f7f95 feat: add workspace isolation and administration UI
CI / macos-latest / Node 20 (push) Has been cancelled
CI / ubuntu-latest / Node 20 (push) Has been cancelled
CI / windows-latest / Node 20 (push) Has been cancelled
2026-07-19 12:17:18 +08:00
m4 b9ed81745e docs: explain chat stream update depth fix 2026-07-12 07:49:07 +08:00
m4 b78d213022 chore: release version 0.1.8
CI / Format, lint & build (push) Has been cancelled
2026-07-10 17:29:30 +08:00
m4 d199f175aa feat: add authenticated password changes
CI / Format, lint & build (push) Has been cancelled
2026-07-10 17:22:13 +08:00
m4 8fc2f6a91b feat: add single-user webui authentication
CI / Format, lint & build (push) Has been cancelled
2026-07-10 17:03:59 +08:00
m4 93426a8af3 docs: document chat stream stability fix
CI / Format, lint & build (push) Has been cancelled
2026-07-10 16:31:41 +08:00
m4 14b246f4e7 fix: stabilize chat stream updates
CI / Format, lint & build (push) Has been cancelled
2026-07-10 16:26:46 +08:00
X-iZhang 363f15d850 feat: implement needsAttention logic for interrupt handling in ThreadList 2026-06-30 06:13:14 +01:00
jfilipiuk a954b6a314 fix: skip 'Requiring Attention' bucket for auto-approved threads (still pin on ask_user) (#24)
Co-authored-by: Xi Zhang <106144707+X-iZhang@users.noreply.github.com>
2026-06-30 05:05:42 +00:00
jfilipiuk fd60984048 feat: surface backend run errors as a toast instead of swallowing them (#23) 2026-06-30 06:04:17 +01:00
Xi Zhang b9d696be54 chore: update version to 0.1.7 2026-06-28 12:59:06 +01:00
Xi Zhang 2255a10898 feat: simplify UI elements in MemoryPanel and update text in ScheduledTasksPanel for clarity 2026-06-28 12:55:42 +01:00
Xi Zhang 16348da34c feat: optimize edge filtering in NodeDetailPanel and GraphCanvas for unique relations 2026-06-28 03:13:52 +01:00
X-iZhang 40bd964051 feat: update documentation and improve comments for clarity across multiple files 2026-06-27 22:05:42 +01:00
X-iZhang 4533b67f18 chore: update version to 0.1.6 in package.json and package-lock.json 2026-06-27 20:56:08 +01:00
Xi Zhang df64ba5605 feat: add workspace directory handling and integrate into chat interface 2026-06-27 20:44:40 +01:00
Xi Zhang f762831d02 feat: enhance memory navigation and add research dashboard component 2026-06-27 20:26:00 +01:00
Xi Zhang a12c664a3d feat: add observation graph component with force simulation and detail panel
- Implemented the ObservationGraph component to visualize relationships between observations.
- Added force simulation for node positioning using physics-based calculations.
- Created a detail panel to display information about selected nodes, including related observations.
- Introduced utility functions for managing observation graph data, including node and edge definitions.
- Enhanced memory reading functions to extract and structure observation data for the graph.
2026-06-27 19:07:55 +01:00
Xi Zhang cfa3ed468a feat: add task editing functionality and update scheduled task logic 2026-06-27 02:04:37 +01:00
Xi Zhang 3b0b49b612 fix: adjust layout of scheduled tasks panel for better responsiveness 2026-06-27 01:23:38 +01:00
Xi Zhang afbea9fd77 feat: add scheduled tasks functionality and UI integration
- Introduced a new ScheduledTasksPanel component to manage and display scheduled tasks.
- Implemented useScheduledTasks hook for fetching, creating, and deleting scheduled tasks.
- Added cronUtils for handling cron expressions and scheduling logic.
- Updated ThreadList component to include a button for accessing the scheduled tasks view.
- Enhanced the useAvailableModels hook for better code readability.
2026-06-27 01:21:51 +01:00
Xi Zhang 964430441a feat: implement caching for model registry fetch and improve error handling 2026-06-27 00:22:29 +01:00
jfilipiuk 0be37b54e7 feat: per-thread model picker - /model command, clickable pill (closes #4) (#22)
* feat: per-thread model picker - /model command, clickable pill, pre-thread staging

* feat: surface curated-fallback warning in the model picker
2026-06-26 22:49:33 +01:00
Xi Zhang 834046c1ff chore: bump version to 0.1.5 and improve accessibility in components 2026-06-24 00:11:21 +01:00
jfilipiuk 80ff57e866 fix: keep chat mounted across view switches and same-thread reclicks (#19) 2026-06-23 23:51:40 +01:00
jfilipiuk 8c1e76e645 feat: click-to-open file paths in agent messages (closes #12) (#18)
* feat: click-to-open file paths in agent messages (closes #12)

* fix: strip ./ prefix from workspace file-link paths
2026-06-23 23:50:57 +01:00
Xi Zhang 75670bc7b4 chore: bump version to 0.1.4 2026-06-23 10:30:11 +01:00
jfilipiuk 3acfa35dea feat: download thread to a JSON with a button (#15) 2026-06-23 10:07:10 +01:00
jfilipiuk 6bd215a582 feat: inline arg-value preview on tool-call rows (#16) 2026-06-23 10:06:50 +01:00
jfilipiuk aba9e9ca3f fix: dedupe thread list by id to stop active-thread bouncing (#17) 2026-06-23 10:06:35 +01:00
Xi Zhang 091d6d389d fix: update .gitignore to exclude codex-qa directory; bump version to 0.1.3 in package.json and package-lock.json; modify ConfigDialog label for clarity 2026-06-22 23:12:47 +01:00
jfilipiuk 0e00f21f3b fix: keep agent action groups collapsed by default (closes #13) (#14) 2026-06-22 22:52:30 +01:00
Xi Zhang d9935a9198 feat: implement message queue for user inputs in ChatInterface 2026-06-18 23:00:56 +01:00
X-iZhang 8f178ddd61 fix: adjust zoom level in MermaidPreview component for better usability 2026-06-17 23:03:16 +01:00
X-iZhang 858fd05de2 fix: update use-stick-to-bottom dependency to version 1.1.6 2026-06-17 22:53:19 +01:00
Xi Zhang 58bc956bd3 feat: update version to 0.1.2 and add KaTeX support for math rendering 2026-06-16 23:08:51 +01:00
Xi Zhang fdf00c3705 feat: update ActionGroup styles for improved UI consistency 2026-06-16 12:03:05 +01:00