Skip to content

sync: refresh Community Edition with marketplace and recovery updates - #112

Merged
Luhaozhu merged 8 commits into
mainfrom
sync/upstream-2026-08
Aug 26, 2026
Merged

sync: refresh Community Edition with marketplace and recovery updates#112
Luhaozhu merged 8 commits into
mainfrom
sync/upstream-2026-08

Conversation

@Luhaozhu

@Luhaozhu Luhaozhu commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

This refreshes the deterministic Community Edition tree from the current full upstream and reconciles it with the latest public main.

Highlights

  • Adds durable chat execution recovery, sequencing, tool-effect ledgers, plan/update safeguards, and local SQLite schema upgrades.
  • Preserves skill marketplace introductions through submission, storage, listing, and fallback rendering.
  • Isolates async Redis clients per event loop so subagent worker loops cannot reuse futures created by the main backend loop.
  • Refreshes the desktop bridge, clipboard/file handling, local-server recovery, overlay support, and related documentation.
  • Makes the home and conversation composers grow with multiline content, with regression coverage for desktop and mobile breakpoints.
  • Synchronizes desktop release metadata at 0.5.23 without publishing release artifacts in this refresh.
  • Replaces the previous bundled office-editing implementations with the current OfficeCLI and Morph PPT skill set and sandbox dependency contract.
  • Synchronizes catalog, capability, MCP, model-provider, and canvas behavior across backend and frontend.

Complete comparison against latest public main

Base: 55af8fc4a328d40f930d0cf1bab24cfda7ff5a5f
Head: 404333aac6d972cf98d58b966f4022eda6350c1f

  • 709 files changed: 274 added, 200 modified, and 235 deleted.
  • 79,079 insertions and 57,208 deletions.
  • 636 changed files under src, 30 under desktop-uos, 23 under document, and 14 under desktop.
  • The public main tree and the latest previously merged CE branch were byte-identical before this refresh.
  • The committed CE tree is byte-identical to the latest deterministic CE output (git archive plus recursive content comparison).
  • The Redis event-loop isolation implementation and regression coverage are present; the full regeneration also caught and synchronized configuration/version metadata differences.
  • No Langfuse source, configuration, overlay, tests, or dependency is present in the CE tree.
  • Private product names, deployment addresses, EE-only paths, internal documents, CE derivation tooling, secrets, and real .env files are excluded by the CE gates.

Verification

  • Deterministic CE derivation gates passed: required runtime files, forbidden artifacts, binary allowlist, brand/path scan, and LICENSE.
  • CE import/OpenAPI/ORM contract and CE release regression suite passed.
  • CE frontend production build passed on Node 22: i18n, dark-mode, TypeScript, Vite, and precompression.
  • Redis loop-isolation and in-memory Redis regression checks passed.
  • The new diff passes whitespace validation; the committed tree matches the generated CE tree byte-for-byte.

The PR remains draft while CI runs.

…rompts

Sync the community edition with upstream. Highlights:

Background job runtime
- Add the `run_job` subsystem: `jobs` / `internal_jobs` routes, `job_service`,
  `job_runtime`, `job_wakeup`, the `job_tool` agent tool and the `jobs` /
  `job_items` / `job_calls` tables (migration `ce_0006_job_runtime`).
- Jobs now run in the background by default; the callback address is probed
  instead of hardcoded, orphaned jobs are reaped, and timestamps keep their
  timezone.
- Surface progress in chat through `JobProgressStrip`.

Agent manager and plugin manager plugins
- Add two marketplace plugins backed by new MCP servers so sub-agents and
  plugins can be searched, installed, created, edited and submitted from the
  conversation itself, each bundling an authoring skill.

Prompt and tool-description slimming
- Compress the default system and code-execution prompts and 14 MCP tool
  descriptions to cut per-request prefill, keeping every rule intact.
- Correct the stale sandbox limits and the openpyxl contradiction, and
  document `$PY_BIN` as the interpreter that carries the dependencies.

Chat and UI
- Support drag-and-drop ordering of the sidebar chat list, persisted per account.
- Adapt to mobile viewports (safe areas, iOS zoom, touch targets) and add a
  build-time dark-mode gate.
- Fix tool-state refresh and stream segment handling.
Luhaozhu pushed a commit that referenced this pull request Aug 17, 2026
sync: background job runtime, agent/plugin manager plugins, slimmer prompts (#113)

Brings the community edition up to date with upstream:

- Background job runtime, wired up on the CE side (routers, model export and the
  ce_0006 migration), with workflow mode carried through the job wake-up round.
- ce_0006 creates its tables conditionally — ce_0001 already builds them via
  ce_create_all, so an unconditional create_table failed every fresh install.
- New agent-manager and plugin-manager marketplace plugins.
- Prompt and tool-schema slimming (~3k tokens of static prefill saved per request).
- Search rate-limit revert, cross-event-loop sandbox session lock fix, sidebar
  drag-to-reorder and a mobile pass.

Supersedes #111 and #112.
Refresh the deterministic CE tree against the latest public main, including durable execution journals, unified persistent context compaction, memory outbox reliability, interactive user questions, and the UOS desktop client.
@Luhaozhu Luhaozhu changed the title sync: background job runtime, agent/plugin manager plugins, slimmer prompts sync: refresh Community Edition with durable execution and unified compaction Aug 24, 2026
@Luhaozhu
Luhaozhu marked this pull request as draft August 24, 2026 15:07
@Luhaozhu Luhaozhu changed the title sync: refresh Community Edition with durable execution and unified compaction sync: refresh Community Edition with marketplace, desktop, and recovery updates Aug 25, 2026
@Luhaozhu Luhaozhu changed the title sync: refresh Community Edition with marketplace, desktop, and recovery updates sync: refresh Community Edition with recovery and observability updates Aug 25, 2026
@Luhaozhu Luhaozhu changed the title sync: refresh Community Edition with recovery and observability updates sync: refresh Community Edition with marketplace and recovery updates Aug 25, 2026
@Luhaozhu
Luhaozhu marked this pull request as ready for review August 26, 2026 03:35
@Luhaozhu
Luhaozhu merged commit 704f8a3 into main Aug 26, 2026
5 checks passed
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.

1 participant