Skip to content

ops v2: checklist cards, timelines, live links, comments — v0.2.0 - #3

Merged
astherath merged 3 commits into
mainfrom
feat/ops-v2
Oct 20, 2026
Merged

astherath merged 3 commits into
mainfrom
feat/ops-v2

Conversation

@astherath

Copy link
Copy Markdown
Contributor

Server-side ops parity with Canvas App 65803aa; release 0.2.0 (includes delegated sign-in from #2).

New vocabulary (GET /v1/info → features gains ops_v2; app_sessions kept):

  • type:"checklist" now creates the card: a sticky with view:"checklist" whose Y.Text is the markdown task list, plus columns, who:/noteBy:/assignees: side keys — picks, notes (row comments) and assignees (≤12, canvas members resolved by id/email/name/prefix). update {view:"checklist"|null} converts. Older type:"checklist" shapes still read/update in place (now also notes/assignees).
  • type:"timeline" (sticky with view:"timeline"): add/update with start/end/step/items, addItems, editItems (ref = date · label, label, date or index; null removes).
  • Live links: link + live:true or type:"web" (960×640, http(s) only); update {live:false} reverts.
  • Comment ops: comment (ids[i] = thread id), reply (reopens), resolve.
  • Read: view, card rows/tally, timeline fields, live, top-level comments; types matches checklist/timeline/web by kind.
  • MCP tool descriptions/schemas, /llms.txt, OpenAPI, canvas-protocol.md, agents.md updated.

Encoding parity: crates/engine/tests/fixtures/ops_v2/*.json were generated by running Canvas App's own applyOps/readCanvas under bun (gen.ts, fixed clock, TZ=UTC); tests/ops_v2_fixtures.rs replays the same steps through the Rust engine and diffs step results, a typed Y.Doc dump (Map/Text/Array, int vs f32/f64) and the read output — all five match.

Breaking (minor bump): add checklist returns a sticky card instead of a checklist shape (CHANGELOG).
Not included: the page's chat notice on assignment (server never writes chat); free-spot placement stays the server's own.

@astherath
astherath merged commit a13ed9f into main Oct 20, 2026
4 checks passed
@astherath
astherath deleted the feat/ops-v2 branch October 20, 2026 19:11
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