@shivaedev/work-board 0.4.0 → 0.5.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/CHANGELOG.md +45 -0
- package/README.md +27 -16
- package/assets/native.js +36 -0
- package/dist/board.d.ts +1 -1
- package/dist/board.d.ts.map +1 -1
- package/dist/board.js +38 -8
- package/dist/board.js.map +1 -1
- package/dist/browser/client.d.ts +88 -0
- package/dist/browser/client.d.ts.map +1 -0
- package/dist/browser/client.js +53 -0
- package/dist/browser/client.js.map +1 -0
- package/dist/browser/session.d.ts +89 -0
- package/dist/browser/session.d.ts.map +1 -0
- package/dist/browser/session.js +20 -0
- package/dist/browser/session.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/files/changes.d.ts +4 -1
- package/dist/files/changes.d.ts.map +1 -1
- package/dist/files/changes.js +7 -3
- package/dist/files/changes.js.map +1 -1
- package/dist/files/list.d.ts +1 -1
- package/dist/files/list.d.ts.map +1 -1
- package/dist/files/list.js +5 -3
- package/dist/files/list.js.map +1 -1
- package/dist/history/schema.js +1 -1
- package/dist/history/schema.js.map +1 -1
- package/dist/history/script.d.ts.map +1 -1
- package/dist/history/script.js +28 -13
- package/dist/history/script.js.map +1 -1
- package/dist/http/assets.d.ts +2 -0
- package/dist/http/assets.d.ts.map +1 -1
- package/dist/http/assets.js +10 -0
- package/dist/http/assets.js.map +1 -1
- package/dist/http/history.d.ts.map +1 -1
- package/dist/http/history.js +1 -13
- package/dist/http/history.js.map +1 -1
- package/dist/http/sameOrigin.d.ts +3 -0
- package/dist/http/sameOrigin.d.ts.map +1 -0
- package/dist/http/sameOrigin.js +14 -0
- package/dist/http/sameOrigin.js.map +1 -0
- package/dist/page/ageScript.d.ts +2 -0
- package/dist/page/ageScript.d.ts.map +1 -0
- package/dist/page/ageScript.js +23 -0
- package/dist/page/ageScript.js.map +1 -0
- package/dist/page/client.d.ts +1 -1
- package/dist/page/client.d.ts.map +1 -1
- package/dist/page/client.js +73 -74
- package/dist/page/client.js.map +1 -1
- package/dist/page/navigationScript.d.ts.map +1 -1
- package/dist/page/navigationScript.js +7 -5
- package/dist/page/navigationScript.js.map +1 -1
- package/dist/page/searchScript.d.ts.map +1 -1
- package/dist/page/searchScript.js +6 -4
- package/dist/page/searchScript.js.map +1 -1
- package/dist/page/shell.js +1 -1
- package/dist/page/shell.js.map +1 -1
- package/dist/page/stateScript.js +1 -1
- package/dist/page/style.d.ts.map +1 -1
- package/dist/page/style.js +1 -0
- package/dist/page/style.js.map +1 -1
- package/dist/page/swap.d.ts +1 -1
- package/dist/page/swap.d.ts.map +1 -1
- package/dist/page/swap.js +16 -5
- package/dist/page/swap.js.map +1 -1
- package/dist/path/isMarkdown.d.ts +2 -0
- package/dist/path/isMarkdown.d.ts.map +1 -0
- package/dist/path/isMarkdown.js +7 -0
- package/dist/path/isMarkdown.js.map +1 -0
- package/dist/rpc/affected.d.ts +4 -0
- package/dist/rpc/affected.d.ts.map +1 -0
- package/dist/rpc/affected.js +75 -0
- package/dist/rpc/affected.js.map +1 -0
- package/dist/rpc/contract.d.ts +134 -0
- package/dist/rpc/contract.d.ts.map +1 -0
- package/dist/rpc/contract.js +59 -0
- package/dist/rpc/contract.js.map +1 -0
- package/dist/rpc/hints.d.ts +17 -0
- package/dist/rpc/hints.d.ts.map +1 -0
- package/dist/rpc/hints.js +28 -0
- package/dist/rpc/hints.js.map +1 -0
- package/dist/rpc/keys.d.ts +7 -0
- package/dist/rpc/keys.d.ts.map +1 -0
- package/dist/rpc/keys.js +9 -0
- package/dist/rpc/keys.js.map +1 -0
- package/dist/rpc/pageKeys.d.ts +3 -0
- package/dist/rpc/pageKeys.d.ts.map +1 -0
- package/dist/rpc/pageKeys.js +14 -0
- package/dist/rpc/pageKeys.js.map +1 -0
- package/dist/rpc/server.d.ts +12 -0
- package/dist/rpc/server.d.ts.map +1 -0
- package/dist/rpc/server.js +32 -0
- package/dist/rpc/server.js.map +1 -0
- package/package.json +9 -4
- package/src/board.ts +44 -9
- package/src/browser/client.ts +59 -0
- package/src/browser/session.ts +26 -0
- package/src/cli.ts +1 -1
- package/src/files/changes.ts +14 -4
- package/src/files/list.ts +5 -4
- package/src/history/schema.ts +1 -1
- package/src/history/script.ts +28 -13
- package/src/http/assets.ts +11 -0
- package/src/http/history.ts +1 -12
- package/src/http/sameOrigin.ts +14 -0
- package/src/page/ageScript.ts +22 -0
- package/src/page/client.ts +73 -74
- package/src/page/navigationScript.ts +7 -5
- package/src/page/searchScript.ts +6 -4
- package/src/page/shell.ts +1 -1
- package/src/page/stateScript.ts +1 -1
- package/src/page/style.ts +1 -0
- package/src/page/swap.ts +16 -5
- package/src/path/isMarkdown.ts +6 -0
- package/src/rpc/affected.ts +77 -0
- package/src/rpc/contract.ts +62 -0
- package/src/rpc/hints.ts +34 -0
- package/src/rpc/keys.ts +9 -0
- package/src/rpc/pageKeys.ts +14 -0
- package/src/rpc/server.ts +55 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Record the approved Platform-first live client direction and its actual shared HTTP/browser fixture evidence; Work Board adopts that foundation in 0.5.0 below.
|
|
8
|
+
|
|
9
|
+
## 0.5.0 - 2026-10-06
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Add Pause/Resume updates with a bounded pending-hint count and transient,
|
|
14
|
+
motion-free outlines on changed reading blocks. Resume, reconnect and watcher
|
|
15
|
+
uncertainty reconcile the workspace without reporting retained reads as fresh.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Use native Effect RPC, AtomRegistry and effect-contract live/resume support
|
|
20
|
+
for browser reads and update ownership, bundled locally with esbuild. Preserve
|
|
21
|
+
server-rendered HTML and ordinary GET links; the compatibility `/events`,
|
|
22
|
+
search and history endpoints remain available.
|
|
23
|
+
- Invalidate affected source documents, stable identities and derived views
|
|
24
|
+
through both former and current backlinks, board membership, criterion evidence
|
|
25
|
+
and attention targets. Leave unrelated documents mounted; reconcile fully when
|
|
26
|
+
paths, delivery or the rebuilt index are uncertain. Sequence numbers detect
|
|
27
|
+
server-local PubSub loss; they are not a durable replay protocol.
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- Prepare the local native browser bundle before standalone and sharded workspace
|
|
32
|
+
tests, sharing the production build command so fresh CI checkouts can run the
|
|
33
|
+
browser regressions without a prior package build.
|
|
34
|
+
- Refresh missing favorites after navigation-only changes, recreate native client
|
|
35
|
+
ownership after a persisted pageshow, and retain explicit Mark seen cancellation,
|
|
36
|
+
clearing and expiry disclosure while automatic updates are paused. Keep one
|
|
37
|
+
local baseline per workspace, 30-day/2 MiB limits and source files read only.
|
|
38
|
+
|
|
39
|
+
## 0.4.1 - 2026-10-05
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- Let an explicit Mark seen observation finish through background/live refresh
|
|
44
|
+
and then reconcile current source. Keep newer clearing or another tab's
|
|
45
|
+
storage changes authoritative so a cancelled observation cannot restore
|
|
46
|
+
discarded history. Preserve the existing browser-local retention limits.
|
|
47
|
+
|
|
3
48
|
## 0.4.0 - 2026-10-05
|
|
4
49
|
|
|
5
50
|
### Added
|
package/README.md
CHANGED
|
@@ -294,22 +294,33 @@ event: change
|
|
|
294
294
|
data: {"paths":["plan.md"]}
|
|
295
295
|
```
|
|
296
296
|
|
|
297
|
-
Open pages
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
297
|
+
Open pages use locally bundled native Effect RPC and AtomRegistry queries over
|
|
298
|
+
`POST /_board/rpc`. The existing GET endpoints and `/events` stream remain
|
|
299
|
+
available for compatibility. No browser assets or source data need a cloud service.
|
|
300
|
+
|
|
301
|
+
Changed hints invalidate affected documents and derived views through former and
|
|
302
|
+
current references, board membership, criterion evidence and attention targets.
|
|
303
|
+
Unrelated documents keep their mounted query and DOM blocks. Relevant updates
|
|
304
|
+
preserve unchanged controls, expanded details and diagrams; changed reading blocks
|
|
305
|
+
receive a brief outline without animation. Native GET links and server-rendered
|
|
306
|
+
HTML remain usable with JavaScript disabled.
|
|
307
|
+
|
|
308
|
+
Use **Pause updates** to stop automatic invalidation while reading. The count
|
|
309
|
+
reports observed hints, bounded at **256+**, rather than a count of edits or work
|
|
310
|
+
completed. Resume and reconnect reconcile the full workspace. A missed server-local
|
|
311
|
+
PubSub sequence, unknown path or incomplete index also requires reconciliation;
|
|
312
|
+
there is no durable event journal or replay guarantee.
|
|
313
|
+
|
|
314
|
+
Connection, source-watcher availability, pending reads and read failures remain
|
|
315
|
+
separate. The status reports **live** only when the connection and last observed
|
|
316
|
+
watcher are available and active page/navigation reads have settled. A failed read
|
|
317
|
+
keeps the visible source and reports **refresh failed**. A transport outage or
|
|
318
|
+
unavailable watcher reports **reconnecting**. Mark seen remains an explicit action;
|
|
319
|
+
pausing never disables clearing or the 30-day baseline expiry.
|
|
320
|
+
|
|
321
|
+
Each page owns a native streaming HTTP subscription and disposes its registry on
|
|
322
|
+
pagehide. Returning from the browser's page cache creates a fresh client. Browser
|
|
323
|
+
HTTP connection limits still apply; simultaneous tab capacity is not established.
|
|
313
324
|
|
|
314
325
|
## Embedding
|
|
315
326
|
|