@context-use/open-sync 0.3.0 → 0.3.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@context-use/open-sync",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/open-sync.ts",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@cfworker/json-schema": "4.1.1",
27
- "@oomol-lab/open-connector": "1.6.5",
27
+ "@oomol-lab/open-connector": "1.7.0",
28
28
  "elysia": "^1.4.30",
29
29
  "minisearch": "^7.2.0"
30
30
  },
@@ -50,7 +50,13 @@ export interface SyncDefinition {
50
50
  */
51
51
  export interface SyncStep {
52
52
  records: readonly SyncRecord[];
53
+ /** Source-owned resume state, committed atomically with this page's records and outbox.
54
+ * Include any cross-iteration update boundary as well as the current page position.
55
+ */
53
56
  checkpoint: JsonValue;
57
+ /** False continues this iteration immediately; true schedules the next poll.
58
+ * Completion retains the returned checkpoint; the source clears any exhausted page cursor.
59
+ */
54
60
  complete: boolean;
55
61
  }
56
62
  export interface SyncContext {