@dxos/plugin-thread 0.8.4-main.937b3ca → 0.8.4-main.9735255

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.
Files changed (63) hide show
  1. package/dist/lib/browser/{app-graph-builder-SPAZN5XL.mjs → app-graph-builder-7C2QW32W.mjs} +2 -2
  2. package/dist/lib/browser/{call-manager-YBRTG6T3.mjs → call-manager-4P536YNX.mjs} +2 -2
  3. package/dist/lib/browser/{chunk-TAWDJPMD.mjs → chunk-2FIHSX35.mjs} +2 -2
  4. package/dist/lib/browser/chunk-2FIHSX35.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-VZICDGBW.mjs → chunk-YSHXWAL3.mjs} +19 -17
  6. package/dist/lib/browser/{chunk-VZICDGBW.mjs.map → chunk-YSHXWAL3.mjs.map} +3 -3
  7. package/dist/lib/browser/index.mjs +10 -10
  8. package/dist/lib/browser/{markdown-TSXOA3GV.mjs → markdown-QMJLRR6R.mjs} +2 -2
  9. package/dist/lib/browser/meta.json +1 -1
  10. package/dist/lib/browser/{operation-resolver-MDMEBYH2.mjs → operation-resolver-T63EP5TY.mjs} +2 -2
  11. package/dist/lib/browser/{react-root-Q7U5D3DA.mjs → react-root-56MJI77R.mjs} +3 -3
  12. package/dist/lib/browser/{react-surface-WDZQSDWH.mjs → react-surface-DMBHQOXJ.mjs} +3 -3
  13. package/dist/lib/browser/{repair-TDKAFAGH.mjs → repair-6OZ75AUU.mjs} +2 -2
  14. package/dist/lib/browser/{settings-OOKKVXV7.mjs → settings-WZMJMML3.mjs} +2 -2
  15. package/dist/lib/browser/{state-3LKZHDRI.mjs → state-SJR2GL5G.mjs} +2 -2
  16. package/dist/lib/browser/types/index.mjs +1 -1
  17. package/dist/lib/node-esm/{app-graph-builder-3LJAPDUW.mjs → app-graph-builder-JCSVFRVY.mjs} +2 -2
  18. package/dist/lib/node-esm/{call-manager-MMCTNFOH.mjs → call-manager-FMLRR5S5.mjs} +2 -2
  19. package/dist/lib/node-esm/{chunk-3RD3IVVD.mjs → chunk-7XQLXMX7.mjs} +19 -17
  20. package/dist/lib/node-esm/{chunk-3RD3IVVD.mjs.map → chunk-7XQLXMX7.mjs.map} +3 -3
  21. package/dist/lib/node-esm/{chunk-ARTUUKTM.mjs → chunk-WMWUXWAS.mjs} +2 -2
  22. package/dist/lib/node-esm/chunk-WMWUXWAS.mjs.map +7 -0
  23. package/dist/lib/node-esm/index.mjs +10 -10
  24. package/dist/lib/node-esm/{markdown-N2UJ3D6L.mjs → markdown-L6LLQLIN.mjs} +2 -2
  25. package/dist/lib/node-esm/meta.json +1 -1
  26. package/dist/lib/node-esm/{operation-resolver-7PHDJZA2.mjs → operation-resolver-G6GZPBRP.mjs} +2 -2
  27. package/dist/lib/node-esm/{react-root-SZIGQRDZ.mjs → react-root-V4W4X5GL.mjs} +3 -3
  28. package/dist/lib/node-esm/{react-surface-24PNWUDX.mjs → react-surface-ELDSTUA3.mjs} +3 -3
  29. package/dist/lib/node-esm/{repair-LHLLGXKF.mjs → repair-6777EPOM.mjs} +2 -2
  30. package/dist/lib/node-esm/{settings-LXZQXSPL.mjs → settings-37CO3SNR.mjs} +2 -2
  31. package/dist/lib/node-esm/{state-YYAK5ENM.mjs → state-5R3TZJQE.mjs} +2 -2
  32. package/dist/lib/node-esm/types/index.mjs +1 -1
  33. package/dist/types/src/blueprints/thread-blueprint.d.ts +6 -6
  34. package/dist/types/src/blueprints/thread-blueprint.d.ts.map +1 -1
  35. package/dist/types/src/components/ChatContainer.d.ts.map +1 -1
  36. package/dist/types/src/types/Channel.d.ts +422 -422
  37. package/dist/types/src/types/Channel.d.ts.map +1 -1
  38. package/dist/types/src/types/types.d.ts +1674 -1674
  39. package/dist/types/src/types/types.d.ts.map +1 -1
  40. package/dist/types/tsconfig.tsbuildinfo +1 -1
  41. package/package.json +51 -51
  42. package/src/components/ChatContainer.tsx +12 -10
  43. package/src/types/Channel.ts +1 -1
  44. package/dist/lib/browser/chunk-TAWDJPMD.mjs.map +0 -7
  45. package/dist/lib/node-esm/chunk-ARTUUKTM.mjs.map +0 -7
  46. /package/dist/lib/browser/{app-graph-builder-SPAZN5XL.mjs.map → app-graph-builder-7C2QW32W.mjs.map} +0 -0
  47. /package/dist/lib/browser/{call-manager-YBRTG6T3.mjs.map → call-manager-4P536YNX.mjs.map} +0 -0
  48. /package/dist/lib/browser/{markdown-TSXOA3GV.mjs.map → markdown-QMJLRR6R.mjs.map} +0 -0
  49. /package/dist/lib/browser/{operation-resolver-MDMEBYH2.mjs.map → operation-resolver-T63EP5TY.mjs.map} +0 -0
  50. /package/dist/lib/browser/{react-root-Q7U5D3DA.mjs.map → react-root-56MJI77R.mjs.map} +0 -0
  51. /package/dist/lib/browser/{react-surface-WDZQSDWH.mjs.map → react-surface-DMBHQOXJ.mjs.map} +0 -0
  52. /package/dist/lib/browser/{repair-TDKAFAGH.mjs.map → repair-6OZ75AUU.mjs.map} +0 -0
  53. /package/dist/lib/browser/{settings-OOKKVXV7.mjs.map → settings-WZMJMML3.mjs.map} +0 -0
  54. /package/dist/lib/browser/{state-3LKZHDRI.mjs.map → state-SJR2GL5G.mjs.map} +0 -0
  55. /package/dist/lib/node-esm/{app-graph-builder-3LJAPDUW.mjs.map → app-graph-builder-JCSVFRVY.mjs.map} +0 -0
  56. /package/dist/lib/node-esm/{call-manager-MMCTNFOH.mjs.map → call-manager-FMLRR5S5.mjs.map} +0 -0
  57. /package/dist/lib/node-esm/{markdown-N2UJ3D6L.mjs.map → markdown-L6LLQLIN.mjs.map} +0 -0
  58. /package/dist/lib/node-esm/{operation-resolver-7PHDJZA2.mjs.map → operation-resolver-G6GZPBRP.mjs.map} +0 -0
  59. /package/dist/lib/node-esm/{react-root-SZIGQRDZ.mjs.map → react-root-V4W4X5GL.mjs.map} +0 -0
  60. /package/dist/lib/node-esm/{react-surface-24PNWUDX.mjs.map → react-surface-ELDSTUA3.mjs.map} +0 -0
  61. /package/dist/lib/node-esm/{repair-LHLLGXKF.mjs.map → repair-6777EPOM.mjs.map} +0 -0
  62. /package/dist/lib/node-esm/{settings-LXZQXSPL.mjs.map → settings-37CO3SNR.mjs.map} +0 -0
  63. /package/dist/lib/node-esm/{state-YYAK5ENM.mjs.map → state-5R3TZJQE.mjs.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  ThreadCapabilities,
4
4
  ThreadOperation,
5
5
  meta
6
- } from "./chunk-TAWDJPMD.mjs";
6
+ } from "./chunk-2FIHSX35.mjs";
7
7
  import "./chunk-J5LGTIGS.mjs";
8
8
 
9
9
  // src/capabilities/operation-resolver/operation-resolver.ts
@@ -438,4 +438,4 @@ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(functio
438
438
  export {
439
439
  operation_resolver_default as default
440
440
  };
441
- //# sourceMappingURL=operation-resolver-MDMEBYH2.mjs.map
441
+ //# sourceMappingURL=operation-resolver-T63EP5TY.mjs.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Call
3
- } from "./chunk-VZICDGBW.mjs";
3
+ } from "./chunk-YSHXWAL3.mjs";
4
4
  import "./chunk-DLO2G3DM.mjs";
5
5
  import "./chunk-CP7E2HRE.mjs";
6
6
  import "./chunk-ISCHODBV.mjs";
7
7
  import {
8
8
  meta
9
- } from "./chunk-TAWDJPMD.mjs";
9
+ } from "./chunk-2FIHSX35.mjs";
10
10
  import "./chunk-J5LGTIGS.mjs";
11
11
 
12
12
  // src/capabilities/react-root/react-root.tsx
@@ -22,4 +22,4 @@ var react_root_default = Capability.makeModule(() => Effect.sync(() => {
22
22
  export {
23
23
  react_root_default as default
24
24
  };
25
- //# sourceMappingURL=react-root-Q7U5D3DA.mjs.map
25
+ //# sourceMappingURL=react-root-56MJI77R.mjs.map
@@ -5,7 +5,7 @@ import {
5
5
  ChatContainer,
6
6
  ThreadCompanion,
7
7
  ThreadSettings
8
- } from "./chunk-VZICDGBW.mjs";
8
+ } from "./chunk-YSHXWAL3.mjs";
9
9
  import "./chunk-DLO2G3DM.mjs";
10
10
  import "./chunk-CP7E2HRE.mjs";
11
11
  import "./chunk-ISCHODBV.mjs";
@@ -13,7 +13,7 @@ import {
13
13
  Channel_exports,
14
14
  ThreadCapabilities,
15
15
  meta
16
- } from "./chunk-TAWDJPMD.mjs";
16
+ } from "./chunk-2FIHSX35.mjs";
17
17
  import "./chunk-J5LGTIGS.mjs";
18
18
 
19
19
  // src/capabilities/react-surface/react-surface.tsx
@@ -107,4 +107,4 @@ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capabilit
107
107
  export {
108
108
  react_surface_default as default
109
109
  };
110
- //# sourceMappingURL=react-surface-WDZQSDWH.mjs.map
110
+ //# sourceMappingURL=react-surface-DMBHQOXJ.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Channel_exports
3
- } from "./chunk-TAWDJPMD.mjs";
3
+ } from "./chunk-2FIHSX35.mjs";
4
4
  import "./chunk-J5LGTIGS.mjs";
5
5
 
6
6
  // src/capabilities/repair/repair.ts
@@ -35,4 +35,4 @@ var ensureSystemCollection = async (space) => {
35
35
  export {
36
36
  repair_default as default
37
37
  };
38
- //# sourceMappingURL=repair-TDKAFAGH.mjs.map
38
+ //# sourceMappingURL=repair-6OZ75AUU.mjs.map
@@ -2,7 +2,7 @@ import {
2
2
  ThreadCapabilities,
3
3
  ThreadSettingsSchema,
4
4
  meta
5
- } from "./chunk-TAWDJPMD.mjs";
5
+ } from "./chunk-2FIHSX35.mjs";
6
6
  import "./chunk-J5LGTIGS.mjs";
7
7
 
8
8
  // src/capabilities/settings/settings.ts
@@ -29,4 +29,4 @@ var settings_default = Capability.makeModule(() => Effect.sync(() => {
29
29
  export {
30
30
  settings_default as default
31
31
  };
32
- //# sourceMappingURL=settings-OOKKVXV7.mjs.map
32
+ //# sourceMappingURL=settings-WZMJMML3.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ThreadCapabilities
3
- } from "./chunk-TAWDJPMD.mjs";
3
+ } from "./chunk-2FIHSX35.mjs";
4
4
  import "./chunk-J5LGTIGS.mjs";
5
5
 
6
6
  // src/capabilities/state/state.ts
@@ -21,4 +21,4 @@ var state_default = Capability.makeModule(Effect.fnUntraced(function* () {
21
21
  export {
22
22
  state_default as default
23
23
  };
24
- //# sourceMappingURL=state-3LKZHDRI.mjs.map
24
+ //# sourceMappingURL=state-SJR2GL5G.mjs.map
@@ -3,7 +3,7 @@ import {
3
3
  ThreadCapabilities,
4
4
  ThreadOperation,
5
5
  ThreadSettingsSchema
6
- } from "../chunk-TAWDJPMD.mjs";
6
+ } from "../chunk-2FIHSX35.mjs";
7
7
  import "../chunk-J5LGTIGS.mjs";
8
8
  export {
9
9
  Channel_exports as Channel,
@@ -7,7 +7,7 @@ import {
7
7
  ThreadCapabilities,
8
8
  ThreadOperation,
9
9
  meta
10
- } from "./chunk-ARTUUKTM.mjs";
10
+ } from "./chunk-WMWUXWAS.mjs";
11
11
  import "./chunk-HSLMI22Q.mjs";
12
12
 
13
13
  // src/capabilities/app-graph-builder/app-graph-builder.ts
@@ -186,4 +186,4 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
186
186
  export {
187
187
  app_graph_builder_default as default
188
188
  };
189
- //# sourceMappingURL=app-graph-builder-3LJAPDUW.mjs.map
189
+ //# sourceMappingURL=app-graph-builder-JCSVFRVY.mjs.map
@@ -5,7 +5,7 @@ import {
5
5
  import "./chunk-VBI32FGI.mjs";
6
6
  import {
7
7
  ThreadCapabilities
8
- } from "./chunk-ARTUUKTM.mjs";
8
+ } from "./chunk-WMWUXWAS.mjs";
9
9
  import "./chunk-HSLMI22Q.mjs";
10
10
 
11
11
  // src/capabilities/call-manager/call-manager.ts
@@ -24,4 +24,4 @@ var call_manager_default = Capability.makeModule(Effect.fnUntraced(function* ()
24
24
  export {
25
25
  call_manager_default as default
26
26
  };
27
- //# sourceMappingURL=call-manager-MMCTNFOH.mjs.map
27
+ //# sourceMappingURL=call-manager-FMLRR5S5.mjs.map
@@ -11,7 +11,7 @@ import {
11
11
  ThreadCapabilities,
12
12
  ThreadOperation,
13
13
  meta
14
- } from "./chunk-ARTUUKTM.mjs";
14
+ } from "./chunk-WMWUXWAS.mjs";
15
15
 
16
16
  // src/components/Call/Call.tsx
17
17
  import { useAtomValue as useAtomValue3 } from "@effect-atom/atom-react";
@@ -1154,21 +1154,23 @@ var ChatContainer = ({ classNames, space, thread, context, current, autoFocusTex
1154
1154
  if (!messageRef.current?.length) {
1155
1155
  return false;
1156
1156
  }
1157
- thread.messages.push(Ref2.make(Obj2.make(Message.Message, {
1158
- created: (/* @__PURE__ */ new Date()).toISOString(),
1159
- sender: {
1160
- identityDid: identity.did
1161
- },
1162
- blocks: [
1163
- {
1164
- _tag: "text",
1165
- text: messageRef.current
1166
- }
1167
- ],
1168
- properties: context ? {
1169
- context: Ref2.make(context)
1170
- } : void 0
1171
- })));
1157
+ Obj2.change(thread, (t2) => {
1158
+ t2.messages.push(Ref2.make(Obj2.make(Message.Message, {
1159
+ created: (/* @__PURE__ */ new Date()).toISOString(),
1160
+ sender: {
1161
+ identityDid: identity.did
1162
+ },
1163
+ blocks: [
1164
+ {
1165
+ _tag: "text",
1166
+ text: messageRef.current
1167
+ }
1168
+ ],
1169
+ properties: context ? {
1170
+ context: Ref2.make(context)
1171
+ } : void 0
1172
+ })));
1173
+ });
1172
1174
  messageRef.current = "";
1173
1175
  setAutoFocus(true);
1174
1176
  scrollToEnd("smooth");
@@ -1811,4 +1813,4 @@ export {
1811
1813
  ThreadCompanion,
1812
1814
  ThreadSettings
1813
1815
  };
1814
- //# sourceMappingURL=chunk-3RD3IVVD.mjs.map
1816
+ //# sourceMappingURL=chunk-7XQLXMX7.mjs.map