@nebutra/collab 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.
@@ -0,0 +1,28 @@
1
+
2
+ > @nebutra/collab@0.2.0 build /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/integrations/collab
3
+ > tsup
4
+
5
+ CLI Building entry: src/index.ts, src/store/memory.ts, src/transport/loopback.ts
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v8.5.1
8
+ CLI Using tsup config: /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/integrations/collab/tsup.config.ts
9
+ CLI Target: es2022
10
+ CLI Cleaning output folder
11
+ ESM Build start
12
+ ESM dist/index.js 6.98 KB
13
+ ESM dist/store/memory.js 134.00 B
14
+ ESM dist/transport/loopback.js 128.00 B
15
+ ESM dist/chunk-6XHNO2RP.js 581.00 B
16
+ ESM dist/chunk-S2HTNEZN.js 817.00 B
17
+ ESM dist/index.js.map 16.53 KB
18
+ ESM dist/store/memory.js.map 71.00 B
19
+ ESM dist/transport/loopback.js.map 71.00 B
20
+ ESM dist/chunk-6XHNO2RP.js.map 2.04 KB
21
+ ESM dist/chunk-S2HTNEZN.js.map 2.46 KB
22
+ ESM ⚡️ Build success in 112ms
23
+ DTS Build start
24
+ DTS ⚡️ Build success in 13595ms
25
+ DTS dist/index.d.ts 2.68 KB
26
+ DTS dist/store/memory.d.ts 1.04 KB
27
+ DTS dist/transport/loopback.d.ts 1005.00 B
28
+ DTS dist/types-68zA3h9k.d.ts 2.27 KB
@@ -0,0 +1,14 @@
1
+
2
+ > @nebutra/collab@0.2.0 test /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/integrations/collab
3
+ > vitest run
4
+
5
+
6
+  RUN  v4.1.4 /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/integrations/collab
7
+
8
+ ✓ src/__tests__/collab.test.ts (14 tests) 112ms
9
+
10
+  Test Files  1 passed (1)
11
+  Tests  14 passed (14)
12
+  Start at  16:51:11
13
+  Duration  1.80s (transform 559ms, setup 0ms, import 862ms, tests 112ms, environment 0ms)
14
+
@@ -0,0 +1,4 @@
1
+
2
+ > @nebutra/collab@0.2.0 typecheck /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/integrations/collab
3
+ > tsc --noEmit
4
+
package/CHANGELOG.md ADDED
@@ -0,0 +1,56 @@
1
+ # @nebutra/collab
2
+
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`34bd161`](https://github.com/Nebutra/Nebutra-Sailor/commit/34bd16140436c966896bf7a2276e8c20777c256f) Thanks [@TsekaLuk](https://github.com/TsekaLuk)! - Capability absorption — codename `canvas` (clean-room, architecture-translation only).
8
+
9
+ - **New `@nebutra/tenant-store`** (Step-0 governance): neutral lower layer —
10
+ `withTenantLock` + `InMemoryTenantStore` + `TenantScopedStore`. `reel` and
11
+ `atelier-canvas` now both depend on it and no longer on each other;
12
+ duplicated store mechanics removed. `withCanvasLock`/`_resetCanvasLocks`
13
+ kept as deprecated back-compat aliases.
14
+ - **New `@nebutra/knowledge-rag`**: multi-tenant hybrid RAG pipeline
15
+ (recursive chunker, zero-config local + provider embedder, in-memory +
16
+ pgvector stores, vector+keyword hybrid, reranker, `doctor()`, agent tool).
17
+ WRAPs `@nebutra/search` and `@nebutra/agents`.
18
+ - **New `@nebutra/collab`**: multi-tenant Yjs CRDT sync layer
19
+ (tenant-partitioned rooms, snapshot via `withTenantLock`, pluggable
20
+ store/transport seams, `doctor()`).
21
+ - **`@nebutra/ui`**: new `NodeGraphCanvas` — interactive `@xyflow/react`
22
+ editor bound verbatim to the `@nebutra/reel` model; DS `Button` +
23
+ `@nebutra/icons` + token-themed xyflow.
24
+ - **`@nebutra/feature-flags`**: `CANVAS_DEMO` flag (off by default) for the
25
+ `apps/web` `/demo/canvas` route.
26
+
27
+ Multi-tenant isolation enforced throughout; zero external product source
28
+ copied; TDD with all suites green. See `docs/capabilities/canvas/`.
29
+
30
+ ### Patch Changes
31
+
32
+ - [`d58d691`](https://github.com/Nebutra/Nebutra-Sailor/commit/d58d691f64cda31011f488f75a5a4ae425311704) Thanks [@TsekaLuk](https://github.com/TsekaLuk)! - Cross-cutting governance extractions (audit-driven SSoT close-out).
33
+
34
+ - **New `@nebutra/provider-factory`**: the identical `explicit → env →
35
+ detect-chain → fallback` provider selection + production guard that ~10
36
+ packages hand-rolled. `@nebutra/queue` migrated as the proof consumer
37
+ (behaviour + exact error message preserved). Remaining factories migrate
38
+ incrementally on next touch.
39
+ - **New `@nebutra/capability-kit`**: shared `CapabilityError`
40
+ (code+suggestion+toJSON, subclass-safe), `DoctorReportBase`/`DoctorCheck`
41
+ contract, and the `doctor`/`debug` CLI runner that ~9 `src/cli.ts` files
42
+ copied. `@nebutra/collab` migrated as the proof consumer — `CollabError`
43
+ now extends `CapabilityError`, `DoctorReport` extends the shared base, the
44
+ CLI uses the shared runner; output + 14/14 tests unchanged.
45
+ - **`@nebutra/tenant-store`**: `InMemoryTenantStore` gained `delete`/`size`;
46
+ `@nebutra/knowledge-rag` `InMemoryVectorStore` now composes it instead of a
47
+ private tenant-partition Map (consistency-debt close-out for the canvas
48
+ governance). collab's live-`Room` registry deliberately NOT migrated
49
+ (object pool, not a record store — rationale in
50
+ docs/capabilities/canvas/ANTI_PATTERNS.md §8).
51
+
52
+ All public contracts preserved; every migrated package's suite stays green.
53
+
54
+ - Updated dependencies [[`34bd161`](https://github.com/Nebutra/Nebutra-Sailor/commit/34bd16140436c966896bf7a2276e8c20777c256f), [`d58d691`](https://github.com/Nebutra/Nebutra-Sailor/commit/d58d691f64cda31011f488f75a5a4ae425311704)]:
55
+ - @nebutra/tenant-store@0.2.0
56
+ - @nebutra/capability-kit@0.2.0