@almadar/shell-web 0.1.0 → 1.0.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.
Files changed (118) hide show
  1. package/dist/{ArbitraryClassCompiler-Mzabq-UB.d.ts → ArbitraryClassCompiler-CO_iASBn.d.ts} +99 -4
  2. package/dist/AvlGlyph-EPJKFEO3.js +6 -0
  3. package/dist/AvlStateMachine-RKZIKNGC.js +9 -0
  4. package/dist/AvlTransitionDetail-63SD6GZF.js +11 -0
  5. package/dist/AvlTransitionExplainer-ZBTLOM3T.js +12 -0
  6. package/dist/BehaviorView-YS5G4GNB.js +11 -0
  7. package/dist/{Canvas3DHost-_Y-5uLM_.d.ts → Canvas3DHost-BkZQB5l2.d.ts} +1 -1
  8. package/dist/{EventBusProvider-CVwjkV_2.d.ts → EventBusProvider-BFFHfN4O.d.ts} +12 -0
  9. package/dist/FlowCanvas-AUMTWMNG.js +26 -0
  10. package/dist/{GameAudioProvider-Cm9BnvmP.d.ts → GameAudioProvider-ceM_n0ey.d.ts} +4 -7
  11. package/dist/KernelEngineContext-CcxGYtlr.d.ts +33 -0
  12. package/dist/LayersPanel-M2LHWUFF.js +6 -0
  13. package/dist/ModuleCard-QHDGK5XK.js +7 -0
  14. package/dist/OrbInspector-QCPEPUPH.js +26 -0
  15. package/dist/{Select-mDZIwNqN.d.ts → Select-B-iDdnvE.d.ts} +16 -30
  16. package/dist/ServerBridge-Bqsj-lOU.d.ts +124 -0
  17. package/dist/UISlotRenderer-C7WWOK43.js +26 -0
  18. package/dist/auth/browser/index.js +1 -0
  19. package/dist/auth/react/index.d.ts +8 -1
  20. package/dist/auth/react/index.js +40 -2
  21. package/dist/avl/index.d.ts +89 -79
  22. package/dist/avl/index.js +38 -38
  23. package/dist/{avl-3d-context-BIRKWpaL.d.ts → avl-3d-context-BycmO6tG.d.ts} +9 -12
  24. package/dist/{chunk-GKIFONTE.js → chunk-3S54FWRC.js} +2 -2
  25. package/dist/{chunk-DYEKAA4L.js → chunk-3VZ36ZKO.js} +240 -252
  26. package/dist/{chunk-PC7K4SK7.js → chunk-4T3P43NS.js} +18 -269
  27. package/dist/{chunk-MBQAMMSE.js → chunk-4YXBKHHM.js} +269 -658
  28. package/dist/{chunk-YDNJLLG6.js → chunk-57DC34LY.js} +19 -10
  29. package/dist/{chunk-SJGJJKBY.js → chunk-AB3X7QTE.js} +6 -3
  30. package/dist/{chunk-AILY3XPS.js → chunk-AE7VCQB6.js} +5 -6
  31. package/dist/{chunk-FAJDTHWC.js → chunk-AGXD77SL.js} +2 -2
  32. package/dist/chunk-AU7O65OX.js +66 -0
  33. package/dist/{chunk-L677XGY3.js → chunk-CPLN6NBQ.js} +5 -5
  34. package/dist/{chunk-DZ42OJQC.js → chunk-DZBQA2OW.js} +1 -1
  35. package/dist/{chunk-2PY54Z44.js → chunk-E6KA4J6N.js} +5 -5
  36. package/dist/{chunk-DJ433ET5.js → chunk-GFXCPUMX.js} +11 -4
  37. package/dist/{chunk-FP3WIKTC.js → chunk-HH5KSMH5.js} +9 -1
  38. package/dist/{chunk-U6QRZASX.js → chunk-ILQXJ2AR.js} +1 -1
  39. package/dist/{chunk-B4BU77LT.js → chunk-ILZ7ORX7.js} +1 -1
  40. package/dist/{chunk-SGM3FASH.js → chunk-K4MOPSEL.js} +14 -12
  41. package/dist/{chunk-GYTPOFVC.js → chunk-LHP2TK7O.js} +7402 -6970
  42. package/dist/{chunk-VFF5OO47.js → chunk-PCR37T3U.js} +15 -38
  43. package/dist/{chunk-R5O5AUPI.js → chunk-PRXQGGCO.js} +93 -86
  44. package/dist/{chunk-42FY4RYA.js → chunk-REXYVBUO.js} +2 -2
  45. package/dist/{chunk-DLZF4PVE.js → chunk-ROICKAU7.js} +3 -3
  46. package/dist/{chunk-KVQS4GXU.js → chunk-SP5CDJ6K.js} +18 -8
  47. package/dist/{chunk-P4LNHAFI.js → chunk-TUPZWTRE.js} +2 -2
  48. package/dist/chunk-TXAUOLWZ.js +490 -0
  49. package/dist/{chunk-EQAMU2ZC.js → chunk-UTDC2NEA.js} +1 -1
  50. package/dist/{chunk-73SRAB4P.js → chunk-UU57VNS2.js} +2 -2
  51. package/dist/{chunk-DFNZUYX4.js → chunk-UXLE3IPR.js} +70 -27
  52. package/dist/{chunk-L2DEKY4J.js → chunk-VO2TTLS5.js} +3 -6
  53. package/dist/{chunk-TESBIVUA.js → chunk-X3DMMX27.js} +2 -2
  54. package/dist/components/index.d.ts +331 -125
  55. package/dist/components/index.js +28 -28
  56. package/dist/context/index.d.ts +2 -3
  57. package/dist/context/index.js +4 -3
  58. package/dist/core.d.ts +93 -17
  59. package/dist/core.js +2 -1
  60. package/dist/design-classes/index.cjs +3 -1
  61. package/dist/design-classes/index.js +3 -1
  62. package/dist/hooks/index.d.ts +40 -5
  63. package/dist/hooks/index.js +5 -4
  64. package/dist/index.d.ts +36 -114
  65. package/dist/index.js +174 -34
  66. package/dist/kernel-client-TZKGHJRY.js +516 -0
  67. package/dist/kernel-wire-wNdAPfhJ.d.ts +88 -0
  68. package/dist/lib/index.d.ts +3 -3
  69. package/dist/lib/index.js +5 -4
  70. package/dist/{paintDispatch-ChW5mVuK.d.ts → paintDispatch-CuJLsr9Y.d.ts} +5 -15
  71. package/dist/{prism-AIWGN2X5.js → prism-X5YWKXO5.js} +5 -3
  72. package/dist/providers/index.d.ts +42 -27
  73. package/dist/providers/index.js +22 -23
  74. package/dist/renderer/index.d.ts +0 -2
  75. package/dist/renderer/index.js +1 -0
  76. package/dist/runtime/index.d.ts +52 -253
  77. package/dist/runtime/index.js +21 -24
  78. package/dist/ssr/index.cjs +2643 -535
  79. package/dist/ssr/index.d.cts +0 -23
  80. package/dist/ssr/index.d.ts +0 -23
  81. package/dist/ssr/index.js +2639 -535
  82. package/dist/storage/browser/index.js +1 -0
  83. package/dist/test-support.d.ts +15 -8
  84. package/dist/test-support.js +91 -24
  85. package/dist/three/index.d.ts +6 -6
  86. package/dist/three/index.js +49 -37
  87. package/dist/{verificationRegistry-CabxhfTv.d.ts → verificationRegistry-CVrcxG1s.d.ts} +3 -3
  88. package/package.json +13 -9
  89. package/src/core/lib/band-shapes.json +7 -0
  90. package/src/core/locales/ar.json +18 -5
  91. package/src/core/locales/en.json +18 -5
  92. package/src/core/locales/sl.json +18 -5
  93. package/tailwind-preset.cjs +30 -1
  94. package/dist/AvlGlyph-JKJOAH23.js +0 -6
  95. package/dist/AvlStateMachine-PI4YGREK.js +0 -8
  96. package/dist/AvlTransitionDetail-ZH7V24UG.js +0 -12
  97. package/dist/AvlTransitionExplainer-ZSRT7L6Y.js +0 -13
  98. package/dist/BehaviorValueFrame-6RUJXT4A.js +0 -29
  99. package/dist/BehaviorValueFrame-SSEMEBTG.css +0 -1756
  100. package/dist/BehaviorView-RFEE5J6E.js +0 -10
  101. package/dist/FlowCanvas-STDC4OWK.js +0 -27
  102. package/dist/KernelEngineContext-BOCQoFwk.d.ts +0 -43
  103. package/dist/LayersPanel-BBQ54IVG.js +0 -7
  104. package/dist/ModuleCard-3TT2X7IW.js +0 -7
  105. package/dist/OrbInspector-K6T6O7GI.js +0 -27
  106. package/dist/ServerBridge-Cm1On51b.d.ts +0 -233
  107. package/dist/TraitValueFrame-2PJGLLVI.js +0 -28
  108. package/dist/TraitValueFrame-4G3KOUBR.css +0 -1756
  109. package/dist/UISlotRenderer-JKFSX24W.js +0 -27
  110. package/dist/UserContext-DqWeZkUZ.d.ts +0 -100
  111. package/dist/chunk-2QOH2HWM.js +0 -95
  112. package/dist/chunk-6P3MWXYE.js +0 -440
  113. package/dist/chunk-FIW6WN23.js +0 -508
  114. package/dist/chunk-GAR5TQ5B.js +0 -199
  115. package/dist/chunk-ZO6MXAS3.js +0 -69
  116. package/dist/kernel-client-ZH4PSMCN.js +0 -367
  117. package/dist/kernel-wire-B4S8pnP3.d.ts +0 -65
  118. package/dist/useKeyboardRouter-Dsq553Ur.d.ts +0 -42
@@ -164,10 +164,6 @@ var EFFECT_OPERATOR_CATEGORY = {
164
164
  "persist": "data",
165
165
  "fetch": "data",
166
166
  "fetch-stream": "data",
167
- "ref": "data",
168
- "deref": "data",
169
- "swap": "data",
170
- "watch": "data",
171
167
  "emit": "communication",
172
168
  "notify": "communication",
173
169
  "send-server": "communication",
@@ -180,7 +176,6 @@ var EFFECT_OPERATOR_CATEGORY = {
180
176
  "when": "control",
181
177
  "let": "control",
182
178
  "log": "control",
183
- "atomic": "control",
184
179
  "wait": "async",
185
180
  "prob/seed": "compute",
186
181
  "prob/condition": "compute",
@@ -191,6 +186,7 @@ var EFFECT_OPERATOR_CATEGORY = {
191
186
  "workspace/archive-orbital": "system",
192
187
  "behavior/catalog": "system",
193
188
  "behavior/describe": "system",
189
+ "behavior/packages": "system",
194
190
  "behavior/source": "system",
195
191
  "behavior/resolve": "system",
196
192
  "behavior/dependencies": "system",
@@ -198,27 +194,47 @@ var EFFECT_OPERATOR_CATEGORY = {
198
194
  "program/print": "system",
199
195
  "program/eval": "system",
200
196
  "program/validate": "system",
197
+ "program/prove": "system",
198
+ "program/os-grants": "system",
201
199
  "program/compose": "system",
202
200
  "program/step": "system",
201
+ "program/resolve-rows": "system",
202
+ "program/self": "system",
203
+ "program/tick": "system",
203
204
  "program/inputs": "system",
204
205
  "program/dispatch": "system",
205
206
  "program/live": "system",
207
+ "program/open": "system",
208
+ "program/close": "system",
206
209
  "persist/read-named": "system",
207
- "http": "communication",
208
- "redis": "communication",
209
- "postgres": "communication",
210
- "oauth-authorize": "communication",
211
- "oauth-connection-status": "communication",
212
- "oauth-connection-forget": "communication",
213
210
  "credential-status": "system",
214
211
  "credential-forget": "system",
215
212
  "random-bytes": "compute",
213
+ "oauth-authorize": "system",
214
+ "oauth-connection-status": "system",
215
+ "oauth-connection-forget": "system",
216
216
  "credential-list": "system",
217
217
  "credential-set": "system",
218
218
  "credential-remove": "system",
219
219
  "credential-test": "system",
220
220
  "credential-mode": "system",
221
- "credential-rotate": "system"
221
+ "credential-rotate": "system",
222
+ "credential-connect": "system",
223
+ "mem/arena-new": "system",
224
+ "mem/arena-drop": "system",
225
+ "mem/alloc": "system",
226
+ "mem/free": "system",
227
+ "mem/borrow": "system",
228
+ "mem/release": "system",
229
+ "mem/write": "system",
230
+ "mem/freeze": "system",
231
+ "mem/atomic-load": "system",
232
+ "mem/atomic-store": "system",
233
+ "mem/atomic-add": "system",
234
+ "mem/atomic-cas": "system",
235
+ "kernel/queue-front": "communication",
236
+ "kernel/queue-back": "communication",
237
+ "ffi/call": "system"
222
238
  };
223
239
  var EFFECT_FAMILY_CATEGORY = {
224
240
  agent: "system",
@@ -228,7 +244,12 @@ var EFFECT_FAMILY_CATEGORY = {
228
244
  session: "system",
229
245
  trace: "control",
230
246
  memory: "data",
231
- application: "system"
247
+ kv: "data",
248
+ application: "system",
249
+ audio: "ui",
250
+ auth: "system",
251
+ identity: "system",
252
+ theme: "ui"
232
253
  };
233
254
  var EFFECT_OPERATOR_ZONE = {
234
255
  "access-check": "system",
@@ -236,10 +257,6 @@ var EFFECT_OPERATOR_ZONE = {
236
257
  "navigate": "route",
237
258
  "navigate-back": "route",
238
259
  "set": "entity",
239
- "swap": "entity",
240
- "ref": "store",
241
- "deref": "store",
242
- "watch": "store",
243
260
  "persist": "store",
244
261
  "fetch": "store",
245
262
  "fetch-stream": "store",
@@ -255,7 +272,6 @@ var EFFECT_OPERATOR_ZONE = {
255
272
  "when": "flow",
256
273
  "let": "flow",
257
274
  "log": "flow",
258
- "atomic": "flow",
259
275
  "wait": "timer",
260
276
  "prob/seed": "model",
261
277
  "prob/condition": "model",
@@ -266,6 +282,7 @@ var EFFECT_OPERATOR_ZONE = {
266
282
  "workspace/archive-orbital": "system",
267
283
  "behavior/catalog": "system",
268
284
  "behavior/describe": "system",
285
+ "behavior/packages": "system",
269
286
  "behavior/source": "system",
270
287
  "behavior/resolve": "system",
271
288
  "behavior/dependencies": "system",
@@ -273,27 +290,47 @@ var EFFECT_OPERATOR_ZONE = {
273
290
  "program/print": "system",
274
291
  "program/eval": "system",
275
292
  "program/validate": "system",
293
+ "program/prove": "system",
294
+ "program/os-grants": "system",
276
295
  "program/compose": "system",
277
296
  "program/step": "system",
297
+ "program/resolve-rows": "system",
298
+ "program/self": "system",
299
+ "program/tick": "system",
278
300
  "program/inputs": "system",
279
301
  "program/dispatch": "system",
280
302
  "program/live": "system",
303
+ "program/open": "system",
304
+ "program/close": "system",
281
305
  "persist/read-named": "system",
282
- "http": "remote",
283
- "redis": "remote",
284
- "postgres": "remote",
285
- "oauth-authorize": "remote",
286
- "oauth-connection-status": "remote",
287
- "oauth-connection-forget": "remote",
288
306
  "credential-status": "system",
289
307
  "credential-forget": "system",
290
308
  "random-bytes": "system",
309
+ "oauth-authorize": "remote",
310
+ "oauth-connection-status": "remote",
311
+ "oauth-connection-forget": "remote",
291
312
  "credential-list": "system",
292
313
  "credential-set": "system",
293
314
  "credential-remove": "system",
294
315
  "credential-test": "system",
295
316
  "credential-mode": "system",
296
- "credential-rotate": "system"
317
+ "credential-rotate": "system",
318
+ "credential-connect": "system",
319
+ "mem/arena-new": "system",
320
+ "mem/arena-drop": "system",
321
+ "mem/alloc": "system",
322
+ "mem/free": "system",
323
+ "mem/borrow": "system",
324
+ "mem/release": "system",
325
+ "mem/write": "system",
326
+ "mem/freeze": "system",
327
+ "mem/atomic-load": "system",
328
+ "mem/atomic-store": "system",
329
+ "mem/atomic-add": "system",
330
+ "mem/atomic-cas": "system",
331
+ "kernel/queue-front": "bus",
332
+ "kernel/queue-back": "bus",
333
+ "ffi/call": "system"
297
334
  };
298
335
  var EFFECT_FAMILY_ZONE = {
299
336
  agent: "system",
@@ -303,7 +340,12 @@ var EFFECT_FAMILY_ZONE = {
303
340
  session: "system",
304
341
  trace: "flow",
305
342
  memory: "store",
306
- application: "system"
343
+ kv: "store",
344
+ application: "system",
345
+ audio: "system",
346
+ auth: "remote",
347
+ identity: "remote",
348
+ theme: "system"
307
349
  };
308
350
  function isEffectOperator(head) {
309
351
  return head in EFFECT_OPERATOR_CATEGORY;
@@ -361,7 +403,8 @@ var OPERATOR_CATEGORY_COLORS = {
361
403
  "std-llm": avlBlend("var(--color-accent)", 70, "var(--color-primary)"),
362
404
  "std-workspace": avlBlend("var(--color-muted-foreground)", 60, "var(--color-warning)"),
363
405
  "std-session": avlBlend("var(--color-muted-foreground)", 60, "var(--color-success)"),
364
- "std-memory": avlBlend("var(--color-info)", 60, "var(--color-accent)"),
406
+ "std-audio": avlBlend("var(--color-accent)", 50, "var(--color-warning)"),
407
+ "std-auth": avlBlend("var(--color-warning)", 60, "var(--color-primary)"),
365
408
  "std-trace": "var(--color-muted-foreground)",
366
409
  "std-behavior": avlBlend("var(--color-accent)", 60, "var(--color-success)")
367
410
  };
@@ -1,10 +1,9 @@
1
- import { useEventBus } from './chunk-MBQAMMSE.js';
1
+ import { useEventBus } from './chunk-4YXBKHHM.js';
2
2
  import { useState, useCallback, useMemo } from 'react';
3
3
 
4
4
  var ALMADAR_DND_MIME = "application/x-almadar-dnd";
5
5
  function useDraggable({ payload, disabled = false }) {
6
6
  const [isDragging, setIsDragging] = useState(false);
7
- const eventBus = useEventBus();
8
7
  const handleDragStart = useCallback(
9
8
  (e) => {
10
9
  if (disabled) {
@@ -14,16 +13,14 @@ function useDraggable({ payload, disabled = false }) {
14
13
  e.dataTransfer.setData(ALMADAR_DND_MIME, JSON.stringify(payload));
15
14
  e.dataTransfer.effectAllowed = "copy";
16
15
  setIsDragging(true);
17
- eventBus.emit("UI:DRAG_START", { kind: payload.kind, data: payload.data });
18
16
  },
19
- [disabled, payload, eventBus]
17
+ [disabled, payload]
20
18
  );
21
19
  const handleDragEnd = useCallback(
22
20
  (e) => {
23
21
  setIsDragging(false);
24
- eventBus.emit("UI:DRAG_END", { kind: payload.kind, data: payload.data });
25
22
  },
26
- [payload, eventBus]
23
+ []
27
24
  );
28
25
  const dragProps = useMemo(
29
26
  () => ({
@@ -1,5 +1,5 @@
1
- import { AvlTransitionDetail } from './chunk-SGM3FASH.js';
2
- import { Box, domPassthrough } from './chunk-MBQAMMSE.js';
1
+ import { AvlTransitionDetail } from './chunk-K4MOPSEL.js';
2
+ import { Box, domPassthrough } from './chunk-4YXBKHHM.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
5
5
  var AvlTransitionExplainer = ({ orbitalName, traitName, transition, annotations, className, ...rest }) => {