Commit Graph
125 Commits
Author SHA1 Message Date
Ryder Sun ec6674d96a feat: ship concurrent collaboration harness
Implement frozen concurrent responses, Agent-negotiated V4 discussion work, strict durable receipts and recovery, validated runtime phase UI, and the animated return-to-bottom control. Prepare the 0.1.2 prerelease metadata and documentation.\n\nChecks before commit: frontend 299/299; desktop 1270/1270; deterministic eval 6 cases/18 results; web and desktop renderer builds; desktop pack; staged and unstaged diff checks.
2026-08-17 11:35:32 +08:00
Ryder Sun ccf0372954 feat(runtime): unify native agent streaming and tool events
Add connector-owned event profiles, chunk-safe redaction, terminal answer reconciliation, and renderer lifecycle handling so supported local Agents can stream text and expose sanitized tool progress consistently.

Keep Hermes sessions on persistent ACP runtimes and route OpenClaw through an authenticated isolated Gateway with bounded legacy fallback. Preserve idempotent Harness and renderer updates when authoritative final output replaces provisional deltas.

Verified with frontend tests and both frontend builds, desktop tests (1064/1064), desktop packaging, and git diff --check.
2026-08-15 14:42:37 +08:00
Ryder Sun 80ca830801 merge: sync OpenCodeReview and UI fixes 2026-08-13 17:14:07 +08:00
Ryder Sun 8e5bc77e17 fix(ui): reveal system trace actions on hover
Keep retained system trace controls consistent with the message action hover behavior introduced for user and Agent messages.

Verification: covered by prior full frontend, desktop, build, and pack checks in this working tree.
2026-08-13 17:12:22 +08:00
Ryder Sun 9fb52fb710 fix(agents): enable OpenCodeReview direct chats
Allow ready OpenCodeReview installations to appear in the sidebar and be opened as direct conversations for user review instructions.

Route explicit OpenCodeReview sends through the read-only code-review runtime so writable direct conversation defaults do not create a capability mismatch, while continuing to avoid native session persistence.

Verification: npm --prefix frontend test; npm --prefix desktop test; npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop run pack.
2026-08-13 16:32:20 +08:00
Ryder Sun c475b50c93 fix(ui): improve attachments and message actions
Raise local attachment handling to the shared safe limit, render document/media attachments with clearer icon treatment, and keep message action controls grouped on hover with footer actions aligned to the right.

Verification: npm --prefix frontend test; npm --prefix desktop test; npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop run pack.
2026-08-13 16:31:20 +08:00
Ryder Sun ccbd880fab release: prepare Meldwork V1.0.1
Bump the desktop and frontend version to 0.1.1, refresh the macOS download links, and document the reliability and review improvements users will receive in this release.

Verified: frontend tests (263 passing); frontend production and desktop builds passing; desktop tests 991 passing with 2 pre-existing macOS CLI cancellation helper failures.
Meldwork-V1.0.1
2026-08-12 20:12:15 +08:00
Ryder Sun a9e386d3dd fix(harness): gate timeouts on stall progress
Switch the watchdog from wall-clock expiry to inactivity-based stall detection so long-running agents with observable progress do not fail spuriously.

Verified with: npm --prefix desktop test
2026-08-12 19:20:54 +08:00
Ryder Sun 8140616a2f fix(ui): hide all visible scrollbars
Remove visible scrollbar styling across the app shell and conversation surfaces while preserving scroll behavior.

Verification: npm --prefix frontend test -- --run; npm --prefix frontend run build.
2026-08-12 16:03:41 +08:00
Ryder Sun c98a78a26c Merge branch 'feature/harness-runtime-trace' 2026-08-12 15:19:44 +08:00
Ryder Sun 7e7aff647b fix(ui): refine conversation controls and trace panels
Improve conversation switching, message controls, attachment density, keyboard shortcut affordances, and run trace panel layout.

Verification: npm --prefix frontend test -- --run; npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop test; git diff --check.
2026-08-12 15:17:39 +08:00
Ryder Sun 12d49f164b feat: enforce strict review in unlimited discussions
Inject an evidence-first adversarial review contract into every unlimited group Agent, including task-graph reviewers and arbiters. Require one complete cross-review pass before ordinary unlimited discussions can converge, and explain the stricter behavior in the bilingual confirmation, round selector, and composer placeholder.

Checks: npm --prefix frontend test (262 passed); npm --prefix desktop test (992 passed); npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop run pack; git diff --cached --check.
2026-08-12 14:54:30 +08:00
Ryder Sun 39d35d944c merge: sync release conversation and readiness fixes 2026-08-11 17:32:20 +08:00
Ryder Sun 845dcca581 merge: bring release branch up to main readiness fixes
# Conflicts:
#	README.md
#	README.zh-CN.md
#	desktop/src/main.cjs
#	desktop/test/agents/local-agent-readiness.test.cjs
#	frontend/src/App.vue
#	frontend/src/composables/useConversationExecution.js
Release-V1.0.0
2026-08-11 17:28:14 +08:00
Ryder Sun de050366f3 fix: isolate conversations and improve local agent readiness
Scope direct and group run state by conversation so one active chat no longer blocks another, keep completion indicators and notifications tied to the finished conversation, and stack multimodal attachments to avoid row layout breakage.

Improve local Agent readiness detection for native credentials, OpenClaw model status, shared Provider handling, and unsupported-version recovery while preserving credential secrecy.

Reorganize desktop main-process modules by domain and update README installation guidance for unsigned macOS preview builds.

Verification:

- npm --prefix frontend test

- npm --prefix desktop test

- git diff --check
2026-08-11 17:22:46 +08:00
Ryder Sun da2311c317 merge: sync local Agent readiness fixes 2026-08-11 13:23:48 +08:00
Ryder Sun d349e7e2e2 fix: improve native agent readiness and conversation isolation
Detect local Agent provider settings from the user's login shell and known config locations, prefer capability probes over stale version ranges, and reuse the same safe environment for execution. Isolate send state per conversation, add outcome-specific notifications, and document the macOS Open Anyway flow.

Checks: frontend 257 tests; desktop 454 tests; web and desktop builds; desktop pack; isolated packaged-app detection and Codex conversation smoke.
2026-08-11 13:21:29 +08:00
Ryder Sun baf01e5f5c Merge branch 'main' into feature/harness-runtime-trace 2026-08-11 11:47:00 +08:00
Ryder Sun bbd140f0a4 chore: update private preview release links 2026-08-11 11:44:05 +08:00
Ryder Sun 5c26cb2eea fix: mark connector agents invocable for routing 2026-08-11 11:43:21 +08:00
Ryder Sun cabfa4a8b0 Merge branch 'main' into feature/ui-ux-refinement 2026-08-11 11:30:07 +08:00
Ryder Sun 266a39a818 Merge branch 'main' into feature/harness-runtime-trace 2026-08-11 11:29:52 +08:00
Ryder Sun a152d6a46e chore: finalize Meldwork release assets and docs 2026-08-11 11:29:03 +08:00
Ryder Sun 5bec6ada52 fix: correct sidebar running indicators 2026-08-11 11:26:25 +08:00
Ryder Sun 2078f86b7f fix: harden group media generation routing 2026-08-11 11:17:05 +08:00
Ryder Sun 957703ebac fix(media): keep group agents running on provider media fallback 2026-08-11 10:26:25 +08:00
Ryder Sun e3680852ce Merge branch 'codex/ux-smart-team-control' 2026-08-10 19:18:14 +08:00
Ryder Sun 69c38f35f2 fix(composer): refine smart team control feedback
Replace the Smart Team off-state glyph with a manual routing control mark and make the tooltip explain the off/on behavior more concretely.

Checks run: npm --prefix frontend test; npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop run pack; git diff --check.
2026-08-10 19:16:09 +08:00
Ryder Sun 48e82684e3 fix(composer): clarify Agent team selection
Replace the icon-only automatic routing toggle with an explicit bilingual segmented control for selected Agents and smart team formation. Keep the existing routing behavior, Agent avatar selection, and automatic discussion controls independent.

Add focused routing-state assertions and verify responsive desktop rendering in English and Chinese.

Checks: npm --prefix frontend test (253/253); npm --prefix desktop test (962/962); npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop run pack; packaged Electron 39.8.10 runtime at 1440x920 and 760x820 with no target-row overflow.
2026-08-10 18:34:58 +08:00
Ryder Sun fb833b3bed feat(skills): enforce trusted runtime contracts
Add a versioned meldwork.skill.json contract covering identity, Agent compatibility, inputs, tool classes, credentials, permission mode, HTTPS destinations, and side-effect class.

Require native first-use approval for unsigned local Skills, bind trust to Agent coordinates plus manifest and snapshot hashes, persist a private hash-chained audit, and enforce compatibility and privilege checks before execution.

Checks: npm --prefix frontend test; npm --prefix desktop test; npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop run pack; packaged Electron 39.8.10 runtime readyState=complete at 1440x920 with localSkillTrust list/revoke preload API available.
2026-08-10 18:23:47 +08:00
Ryder Sun f7a2316d4f feat(connectors): add installable audited SDK packages
Replace core-only Connector manifest approval with a local content-addressed package lifecycle backed by a private hash-chained audit log. Add native approval, strict IPC/preload operations, bounded local echo and HTTPS JSON SDK providers, and fail-closed startup behavior without exposing paths, credentials, or shell execution to the renderer.

Add an installable non-delegate sample, SDK documentation, and a connector:conformance suite covering parsing, trust transitions, upgrades, capabilities, events, cancellation, resume, credentials, outbound enforcement, tamper handling, and failure semantics.

Checks: npm --prefix desktop run connector:conformance (25/25); npm --prefix desktop test (962/962); npm --prefix frontend test (253/253); npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop run pack; packaged Electron 39.8.10 runtime readyState=complete at 1440x920 with preload API available.
2026-08-10 17:53:22 +08:00
Ryder Sun 699aabf7d7 feat(harness): add durable task graph orchestration
Add strict content-addressed task graph definitions and a v3 restart-safe cursor for opt-in automatic workflows. Execute independent read-only branches in parallel, isolate Reviewer and Arbiter sessions, evaluate completion from durable Artifact and Evidence refs, and route conflicts through typed review, arbitration, or Human decision nodes while preserving bounded round-robin compatibility.

Checks: npm --prefix desktop test; npm --prefix frontend test; npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop run pack; npm --prefix desktop run eval:deterministic; packaged Electron CDP runtime smoke.
2026-08-10 17:15:43 +08:00
Ryder Sun 6e225b75c6 feat(eval): add local Agent fit harness
Add strict content-addressed Eval Case, Result, and Fit Matrix records with deterministic scoring, identified reviews, local storage, and provider-opt-in execution.

Gate automatic routing on frozen evidence with at least three samples and 0.6 confidence so the synthetic CI corpus cannot change production selection.

Checks: desktop 947/947; frontend 253/253; deterministic eval 6 cases/18 results; web and desktop builds; desktop pack; packaged Electron 39.8.10 runtime.
2026-08-10 16:48:45 +08:00
Ryder Sun 218d4deb57 feat(harness): add typed Agent handoffs
Persist content-addressed Handoff and selective Blackboard records in automatic Run orchestration v2 while retaining exact v1 recovery compatibility. Deliver only role-authorized collaboration entries to Primary, Reviewer, and Arbiter Agents and preserve conflicting claims as append-only records.

Checks: npm --prefix desktop test; npm --prefix frontend test; npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop run pack; packaged Electron 39.8.10 CDP smoke at 1440x920.
2026-08-10 16:15:42 +08:00
Ryder Sun 70dce78c4c feat(routing): add capability-aware Agent team formation
Define bounded Agent capabilities and persist strict routing decisions. Keep explicit selections authoritative, add opt-in automatic team formation, and reject malformed or unavailable targets before persistence.

Checks: npm --prefix frontend test; npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop test; npm --prefix desktop run pack; packaged Electron CDP smoke.
2026-08-10 15:28:41 +08:00
Ryder Sun 6a6a6da096 fix(agents): align readiness with invocation prerequisites
Identify CLI versions by product, expose layered readiness, and require guarded OpenClaw runtime prerequisites before routing. Verified with npm --prefix desktop test (921/921), npm --prefix desktop run pack, and isolated packaged Electron CDP acceptance.
2026-08-10 14:48:24 +08:00
Ryder Sun 5b39cdc658 fix(connectors): enforce manifest runtime contracts
Isolate per-instance credentials from global Provider profiles, reject undeclared capability use at the Connector boundary, enforce outbound destination origins, and retain exact private execution provenance without exposing CredentialRefs to the renderer.

Checks: focused Connector/security tests 75/75; desktop tests 916/916; desktop pack; isolated packaged Meldwork.app CDP smoke; git diff --check.
2026-08-10 14:20:07 +08:00
Ryder Sun 2b358ed155 fix(harness): preserve exact context provenance
Track bootstrap and continuation inputs separately, record outbound source/prompt/wire fingerprints, fail closed on required-context overflow, and preserve monotonic durable trace identity across restart.

Checks: desktop tests 915/915; frontend tests 251/251; frontend build; desktop frontend build; desktop pack; isolated packaged Meldwork.app CDP smoke.
2026-08-10 14:02:46 +08:00
Ryder Sun fdb81f1c5b fix(harness): resume durable connector gates
Persist Connector input and permission waits as restart-safe Human Gates, release scheduler capacity while suspended, and reacquire it before continuing the exact Agent attempt. Validate Run, Agent, Connector, operation, request, session, and Session provenance bindings before resume; quarantine malformed gate records and keep private text responses out of renderer-visible decisions.

Checks: desktop 912/912; focused desktop 128/128; frontend 251/251; web and desktop builds; desktop pack; packaged Electron CDP smoke; git diff --check.
2026-08-10 13:36:14 +08:00
Ryder Sun 58ee0c2457 fix(harness): enforce hard run safety stops
Add a non-disableable 128-attempt circuit breaker, make hard budget exhaustion terminal and durable, and expose distinct restart-stable UI states. Preserve the triggering action's attempted usage and stop every later Agent call, including transient retry paths.\n\nChecks: npm --prefix desktop test (902/902); npm --prefix frontend test (249/249); frontend builds; desktop pack; packaged Electron CDP smoke.
2026-08-10 12:57:50 +08:00
Ryder Sun d8cd5fdd10 fix(harness): make retries idempotency-aware
Classify ambiguous invocation outcomes, require a durable retry Human Gate for write-capable work, and propagate stable operation IDs through Connector retries. Preserve bounded automatic retries for read-only or durably idempotent work.

Checks: desktop focused retry/Connector/Ledger tests; Human Gate recovery tests; desktop 899/899; frontend 249/249; web and desktop builds; desktop pack; isolated packaged-app CDP smoke.
2026-08-10 12:23:20 +08:00
Ryder Sun f83c75b4bd fix(harness): make run completion durable
Gate run-finished acknowledgement on a durable terminal ledger commit, retain retryable typed persistence state, and preserve every nonterminal Run under retention pressure.

Checks: desktop 894/894; frontend 249/249; web and desktop builds; desktop pack; packaged Electron CDP smoke.
2026-08-10 11:56:39 +08:00
Ryder Sun c187771a75 fix(harness): resume durable multi-agent orchestration
Persist versioned manual and automatic orchestration cursors so approved Human Gates resume the exact Agent slot and continue remaining work without rerunning completed slots. Hydrate prior Harness traces and durable event cursors to keep post-restart events monotonic.\n\nChecks: npm test (desktop, 890 tests); focused Human Gate, auto-runner, Harness, Run Ledger, journal, and coordinator suites (208 tests).
2026-08-10 11:34:12 +08:00
Ryder Sun 31e3ae6f60 fix(harness): quarantine untrusted workspace state
Distinguish missing workspace files from corrupt, unreadable, and unsupported state. Untrusted state now enters read-only recovery and skips every startup reconciliation path that can mutate Run Ledger or Human Gate data.\n\nChecks: node --test test/local-workspace-state.test.cjs test/local-workspace-harness.test.cjs test/local-workspace.test.cjs test/main-security.test.cjs
2026-08-10 11:06:01 +08:00
Ryder Sun 4692ea56e8 fix(security): fail closed for read-only custom agents
Preserve the main-process sandbox decision when dispatching legacy Custom Agents and reject every invocation that is not explicitly workspace-write before process spawn.\n\nAdds direct, group, main-process, and store-level regression coverage.\n\nChecks: node --test test/custom-agent-store.test.cjs test/main-security.test.cjs test/local-workspace.test.cjs
2026-08-10 11:03:51 +08:00
Ryder Sun 62302510cd Merge branch 'main' into feature/ui-ux-refinement 2026-08-08 16:54:27 +08:00
Ryder Sun d91b35b5a0 Merge branch 'main' into feature/harness-runtime-trace 2026-08-08 16:53:58 +08:00
Ryder Sun 9d457372aa feat: present Meldwork workflows and harden macOS quit
Refresh the bilingual README around current local Agent discovery, direct multimodal output, and targeted group collaboration, with three isolated product screenshots arranged as a horizontal capability gallery.

Bound quit cleanup before terminating Electron and block activation or notifications from recreating a window during shutdown, so Cmd+Q exits cleanly and the app can reopen normally.

Checks: npm --prefix frontend test; npm --prefix frontend run build; npm --prefix frontend run build:desktop; npm --prefix desktop test; npm --prefix desktop run dist; hdiutil verify; unzip -t; git diff --check.
2026-08-08 16:53:21 +08:00
Ryder Sun fbe83fe9f7 Merge branch 'main' into feature/ui-ux-refinement
# Conflicts:
#	README.md
#	README.zh-CN.md
2026-08-08 15:22:58 +08:00
Ryder Sun 9257c43ab1 Merge branch 'main' into feature/harness-runtime-trace
# Conflicts:
#	README.md
#	README.zh-CN.md
2026-08-08 15:22:02 +08:00