Repository navigation
ops v2: checklist cards, timelines, live links, comments — v0.2.0 - #3
Merged
Merged
Conversation
# Conflicts: # crates/mcp/openapi.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Server-side ops parity with Canvas App 65803aa; release 0.2.0 (includes delegated sign-in from #2).
New vocabulary (
GET /v1/info→featuresgainsops_v2;app_sessionskept):type:"checklist"now creates the card: a sticky withview:"checklist"whose Y.Text is the markdown task list, pluscolumns,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. Oldertype:"checklist"shapes still read/update in place (now alsonotes/assignees).type:"timeline"(sticky withview:"timeline"): add/update withstart/end/step/items,addItems,editItems(ref =date · label, label, date or index; null removes).link+live:trueortype:"web"(960×640, http(s) only);update {live:false}reverts.comment(ids[i] = thread id),reply(reopens),resolve.view, card rows/tally, timeline fields,live, top-levelcomments;typesmatches checklist/timeline/web by kind./llms.txt, OpenAPI,canvas-protocol.md,agents.mdupdated.Encoding parity:
crates/engine/tests/fixtures/ops_v2/*.jsonwere generated by running Canvas App's ownapplyOps/readCanvasunder bun (gen.ts, fixed clock, TZ=UTC);tests/ops_v2_fixtures.rsreplays 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
checklistshape (CHANGELOG).Not included: the page's chat notice on assignment (server never writes chat); free-spot placement stays the server's own.