@a3s-lab/office 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -395,8 +395,9 @@ projection, a host-injected live CLI transport session, authenticated browser
395
395
  suggestion-update authorization, and typed Markdown, Document
396
396
  content/comment/suggestion, Spreadsheet cell, Presentation scene-element, PDF
397
397
  annotation/form-value, and PDF redaction/page-operation review mutation surfaces
398
- are implemented; the remaining format mutations and native presence projection
399
- are pending.
398
+ are implemented. The live CLI session also projects ephemeral native Presence
399
+ and format-specific locations through standard Yjs Awareness; remaining typed
400
+ format mutations are pending.
400
401
 
401
402
  - Yrs `0.27.3` now uses 53-bit Yjs-compatible client IDs and exchanges standard
402
403
  Yjs v1 updates, state vectors, and y-sync `SyncStep1`/`Update` messages with
@@ -426,6 +427,14 @@ are pending.
426
427
  stdin/stdout for a coding-agent or product host. The host still owns the
427
428
  WebSocket or IPC channel, room selection, authentication, authorization,
428
429
  buffering, and delivery identities; the CLI never opens a provider itself.
430
+ - Supplying `--actor-name` gives the live session a separate in-memory Yrs
431
+ Awareness peer. Typed active/idle/away state and Document, Markdown,
432
+ Spreadsheet, Presentation, or PDF locations are emitted as bounded
433
+ `outbound-awareness` records, while validated remote updates and peer-left
434
+ events become sorted participant snapshots. Reconnect clears stale remote
435
+ state and republishes the local participant; orderly close emits an
436
+ Awareness tombstone. No Presence state or clock enters the replica,
437
+ checkpoint, durable update log, or operation receipts.
429
438
  - Each replica binds one stable actor ID, actor kind, permission mode, artifact
430
439
  identity/kind, namespace, and client ID. Apply/checkpoint/leave require the
431
440
  same identity plus a stable operation ID and accept an optional state-vector
@@ -518,8 +527,6 @@ Remaining:
518
527
  structural/rich-text operations plus PDF signatures; deepen Document
519
528
  mutations to additional nested structures and complete table/list/section
520
529
  revision workflows.
521
- - Project editor-visible presence and selection state while keeping Awareness
522
- ephemeral and outside native replica persistence.
523
530
 
524
531
  Exit criterion: a browser, `office` CLI, MCP client, and `a3s code` agent edit
525
532
  the same artifact concurrently, converge at the shared-model level, reconnect
package/README.md CHANGED
@@ -1042,7 +1042,7 @@ cargo run -p a3s-office-cli -- collab diff .a3s/report.replica \
1042
1042
 
1043
1043
  # Bridge that replica to a host-owned room over machine-readable JSONL.
1044
1044
  cargo run -p a3s-office-cli -- collab session .a3s/report.replica \
1045
- --poll-ms 100 --json
1045
+ --poll-ms 100 --actor-name "A3S Agent" --json
1046
1046
 
1047
1047
  # Make a typed local change in an initialized Markdown replica. A running
1048
1048
  # session publishes the resulting incremental Yjs update automatically.
@@ -1180,7 +1180,11 @@ controller as a shared participant roster, remote canvas projection, and
1180
1180
  participant-to-location navigation; neither component creates an account or
1181
1181
  backend. The native CLI's JSONL session bridges the same host-channel envelope,
1182
1182
  including reconnect handshakes, durable agent updates, and remote-echo
1183
- suppression, without opening its own network provider. Native Rust `project`,
1183
+ suppression, without opening its own network provider. With `--actor-name`, it
1184
+ also emits standard, bounded `outbound-awareness` records for ephemeral agent
1185
+ activity and format-specific locations, accepts remote Awareness and peer-left
1186
+ records, and publishes participant snapshots without changing the durable
1187
+ replica. Native Rust `project`,
1184
1188
  `collab read`, and `office_collaboration_read` return the exact canonical
1185
1189
  Markdown source or an Office-owned bounded Document projection with stable
1186
1190
  paragraph/text identities, structural ancestry, option fields, subordinate
@@ -1323,6 +1327,7 @@ without hard-coded return URLs.
1323
1327
 
1324
1328
  - [Live Playground](https://a3s-lab.github.io/Office/)
1325
1329
  - [Documentation center](https://a3s-lab.github.io/Office/docs/)
1330
+ - [A3S Office 0.9.2 documentation](https://a3s-lab.github.io/Office/docs/0.9.2/)
1326
1331
  - [A3S Office 0.9.1 documentation](https://a3s-lab.github.io/Office/docs/0.9.1/)
1327
1332
  - [A3S Office 0.9.0 documentation](https://a3s-lab.github.io/Office/docs/0.9.0/)
1328
1333
  - [A3S Office 0.8.1 documentation](https://a3s-lab.github.io/Office/docs/0.8.1/)
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a3s-lab/office",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Open-source collaborative browser editors for documents, Markdown, spreadsheets, presentations, and PDFs.",
5
5
  "keywords": [
6
6
  "office",