@githolon/client 0.1.6 → 0.2.0
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 +1 -1
- package/src/index.d.ts +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@githolon/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Nomos Cloud web client — a LOCAL holon for offline-first apps: pulls the workspace ledger (git) from Nomos Cloud, replays it into the in-memory SQLite projection inside the wasm32-wasip1 GitHolon, and exposes dispatch / watch / sync. The browser runs the SAME byte-identical holon artifact the edge runs.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
package/src/index.d.ts
CHANGED
|
@@ -202,8 +202,10 @@ export interface Holon {
|
|
|
202
202
|
/**
|
|
203
203
|
* SYNC — the offline-first exchange: push local commits to the untrusted session branch
|
|
204
204
|
* (the edge holon validates and merges to main — admission, not trust), then converge
|
|
205
|
-
* onto canonical main in the same call.
|
|
206
|
-
*
|
|
205
|
+
* onto canonical main in the same call. `admit` defaults to TRUE — bare `sync()` is the
|
|
206
|
+
* whole loop (`sync()` ≡ `sync({ admit: true })`). With an explicit `admit: false` the
|
|
207
|
+
* push lands but the edge is not asked to judge now (pushes also self-admit via a
|
|
208
|
+
* debounced alarm).
|
|
207
209
|
*/
|
|
208
210
|
sync(opts?: { admit?: boolean }): Promise<SyncResult>;
|
|
209
211
|
|