Skip to content

feat(computers): share configuration between linked computers - #33

Merged
nixuuu merged 5 commits into
feat/linked-computers-3from
feat/linked-computers-4
Nov 4, 2026
Merged

nixuuu merged 5 commits into
feat/linked-computers-3from
feat/linked-computers-4

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 3, 2026

Copy link
Copy Markdown
Member

Stage 4 of docs/linked-computers.md (stacked on #27; the whole stack merges into dev together when the plan is complete).

Opt-in "Share with linked computers" for provider instances (API keys and secret variables re-encrypted with each computer's own key; only for shared items), model lists, settings sections (appearance, thread defaults, time zone, text generation) and projects (one id on every computer, workspaces per machine). Version vectors per item: concurrent offline edits become durable questions with both versions ("Keep this computer's / Keep Laptop B's"), never last-writer-wins; non-conflicting changes merge. Unshare or delete leaves a local copy everywhere with a note. Local-only: CLI paths, logins, workspaces, connector accounts, desktop settings.

  • New capability shared_config over the stage-2 transport; additive proto, link protocol stays 1; migration 0050 (renumber at merge if dev moved).
  • UI: "All linked computers" / "This computer" badges, share switches, question dialog, notes for connectors and desktop.
  • Tests: tests/integration/shared-config.test.ts (8; two gateways, separate databases and secrets keys: key re-encryption and no leak, sync and local-only, conflicts both ways, merge, restart durability, unshare/archive, capability fallback, unlink) + schema test; check:tmp 711 pass / 0 fail.
  • Docs: "Konkretny protokół etapu 4", ui-api, data-model.

@nixuuu
nixuuu added this pull request to stack #22 November 3, 2026 18:22
Opt-in shared provider instances (with API keys re-encrypted on the
receiver), model lists, user settings sections and projects. Version
vectors per item; concurrent offline edits become durable questions
instead of last-writer-wins. Capability shared_config, migration 0050.
Share switches with All linked computers / This computer badges on
appearance, time zone, thread defaults, text generation, provider
instances, model lists and projects; questions after offline edits
with both versions; per-computer notes for connectors and desktop.
@nixuuu
nixuuu force-pushed the feat/linked-computers-4 branch from 0641255 to 07b3e2f Compare November 3, 2026 22:29
@nixuuu
nixuuu marked this pull request as ready for review November 4, 2026 05:58
@nixuuu
nixuuu merged commit fd9a465 into dev Nov 4, 2026
4 of 5 checks passed
@nixuuu
nixuuu deleted the feat/linked-computers-4 branch November 4, 2026 05:58
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