@tangle-network/sandbox-ui 0.14.0 → 0.15.1

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 (104) hide show
  1. package/dist/auth.d.ts +1 -74
  2. package/dist/auth.js +1 -4
  3. package/dist/chat.d.ts +1 -136
  4. package/dist/chat.js +2 -15
  5. package/dist/chunk-2BUPSB7O.js +0 -0
  6. package/dist/chunk-3J6FG3FJ.js +18 -0
  7. package/dist/chunk-76IQLPW2.js +206 -0
  8. package/dist/chunk-7ZA5SEK3.js +239 -0
  9. package/dist/chunk-AHBZCBDO.js +2960 -0
  10. package/dist/chunk-AZ3AWMTM.js +8 -0
  11. package/dist/chunk-CMY7W45U.js +380 -0
  12. package/dist/{chunk-QMU2PWOU.js → chunk-DNZ4DTNA.js} +71 -17
  13. package/dist/chunk-EI44GEQ5.js +6 -0
  14. package/dist/{chunk-5OQ27N57.js → chunk-GPT7VKK6.js} +34 -38
  15. package/dist/chunk-JBGKGLD7.js +16 -0
  16. package/dist/chunk-NJNME4J4.js +14 -0
  17. package/dist/chunk-QPAJR74X.js +20 -0
  18. package/dist/chunk-TK46XFLM.js +28 -0
  19. package/dist/chunk-WID73FPH.js +89 -0
  20. package/dist/chunk-YVXK4XRO.js +30 -0
  21. package/dist/dashboard.d.ts +538 -4
  22. package/dist/dashboard.js +15 -886
  23. package/dist/editor.d.ts +1 -120
  24. package/dist/editor.js +1 -5
  25. package/dist/files.d.ts +1 -129
  26. package/dist/files.js +2 -7
  27. package/dist/globals.css +2 -1265
  28. package/dist/hooks.d.ts +114 -11
  29. package/dist/hooks.js +17 -88
  30. package/dist/index.d.ts +24 -99
  31. package/dist/index.js +247 -252
  32. package/dist/markdown.d.ts +1 -29
  33. package/dist/markdown.js +2 -2
  34. package/dist/openui.d.ts +8 -115
  35. package/dist/openui.js +1 -6
  36. package/dist/pages.d.ts +1 -2
  37. package/dist/pages.js +68 -66
  38. package/dist/primitives.d.ts +14 -49
  39. package/dist/primitives.js +69 -77
  40. package/dist/run.d.ts +1 -14
  41. package/dist/run.js +2 -22
  42. package/dist/sdk-hooks.d.ts +3 -283
  43. package/dist/sdk-hooks.js +10 -14
  44. package/dist/stores.d.ts +2 -14
  45. package/dist/stores.js +11 -39
  46. package/dist/styles.css +2 -1265
  47. package/dist/{usage-chart-CPTcNlGs.d.ts → template-card-UhV3pmRC.d.ts} +16 -1
  48. package/dist/types.d.ts +11 -8
  49. package/dist/types.js +1 -0
  50. package/dist/utils.d.ts +1 -44
  51. package/dist/utils.js +6 -12
  52. package/dist/workspace.d.ts +5 -10
  53. package/dist/workspace.js +3 -19
  54. package/package.json +19 -54
  55. package/dist/active-sessions-store-CeOmXgv5.d.ts +0 -85
  56. package/dist/artifact-pane-Bh45Ssco.d.ts +0 -24
  57. package/dist/branding-DCi5VEik.d.ts +0 -13
  58. package/dist/button-CMQuQEW_.d.ts +0 -17
  59. package/dist/chat-container-f4yEs6KN.d.ts +0 -106
  60. package/dist/chunk-34A66VBG.js +0 -214
  61. package/dist/chunk-34I7UFSX.js +0 -92
  62. package/dist/chunk-36QY2W5G.js +0 -802
  63. package/dist/chunk-4CLN43XT.js +0 -45
  64. package/dist/chunk-54SQQMMM.js +0 -156
  65. package/dist/chunk-66EZOYZR.js +0 -102
  66. package/dist/chunk-BX6AQMUS.js +0 -183
  67. package/dist/chunk-DI3NZ5ZX.js +0 -192
  68. package/dist/chunk-DPGIXDAI.js +0 -220
  69. package/dist/chunk-DXMIEK4K.js +0 -1426
  70. package/dist/chunk-GSZA3TSY.js +0 -79
  71. package/dist/chunk-HB5Y37YU.js +0 -54
  72. package/dist/chunk-LQNEZDRM.js +0 -109
  73. package/dist/chunk-MA7YKRUP.js +0 -131
  74. package/dist/chunk-MKTSMWVD.js +0 -109
  75. package/dist/chunk-MQXABZTB.js +0 -1348
  76. package/dist/chunk-MT5FJ3ZT.js +0 -186
  77. package/dist/chunk-NKUPJC34.js +0 -2070
  78. package/dist/chunk-OEX7NZE3.js +0 -321
  79. package/dist/chunk-OKLQVY3Y.js +0 -139
  80. package/dist/chunk-Q56BYXQF.js +0 -61
  81. package/dist/chunk-QD4QE5P5.js +0 -40
  82. package/dist/chunk-QDH5GEGY.js +0 -630
  83. package/dist/chunk-QID2OOMG.js +0 -133
  84. package/dist/chunk-RQHJBTEU.js +0 -10
  85. package/dist/chunk-T7HMZEVO.js +0 -216
  86. package/dist/chunk-U6QTHMY6.js +0 -1290
  87. package/dist/chunk-US6JKJKH.js +0 -124
  88. package/dist/chunk-VX3XOUEB.js +0 -63
  89. package/dist/chunk-XLG757B6.js +0 -933
  90. package/dist/chunk-ZMNSRDMH.js +0 -127
  91. package/dist/chunk-ZNCEM5CD.js +0 -316
  92. package/dist/document-editor-pane-A70-EhdQ.d.ts +0 -124
  93. package/dist/document-editor-pane-TLPVRBBU.js +0 -11
  94. package/dist/expanded-tool-detail-Dh99mcbY.d.ts +0 -63
  95. package/dist/file-tabs-BLfxfmAH.d.ts +0 -51
  96. package/dist/parts-CyGkM6Fp.d.ts +0 -50
  97. package/dist/run-CtFZ6s-D.d.ts +0 -41
  98. package/dist/sidebar-drop-zone-tDBsuOH5.d.ts +0 -301
  99. package/dist/sidecar-CFU2W9j1.d.ts +0 -8
  100. package/dist/template-card-BAtvcAkU.d.ts +0 -18
  101. package/dist/tool-call-feed-Bs3MyQMT.d.ts +0 -68
  102. package/dist/tool-display-Ct9nFAzJ.d.ts +0 -32
  103. package/dist/use-sandbox-metrics-DWc0k9Xm.d.ts +0 -153
  104. package/dist/variant-list-BrHYcBCk.d.ts +0 -540
@@ -0,0 +1,16 @@
1
+ // src/run/index.ts
2
+ import {
3
+ ExpandedToolDetail,
4
+ InlineThinkingItem,
5
+ InlineToolItem,
6
+ LiveDuration,
7
+ RunGroup
8
+ } from "@tangle-network/ui/run";
9
+
10
+ export {
11
+ ExpandedToolDetail,
12
+ InlineThinkingItem,
13
+ InlineToolItem,
14
+ LiveDuration,
15
+ RunGroup
16
+ };
@@ -0,0 +1,14 @@
1
+ // src/auth/index.ts
2
+ import {
3
+ AuthHeader,
4
+ GitHubLoginButton,
5
+ LoginLayout,
6
+ UserMenu
7
+ } from "@tangle-network/ui/auth";
8
+
9
+ export {
10
+ AuthHeader,
11
+ GitHubLoginButton,
12
+ LoginLayout,
13
+ UserMenu
14
+ };
@@ -0,0 +1,20 @@
1
+ // src/chat/index.ts
2
+ import {
3
+ AgentTimeline,
4
+ ChatContainer,
5
+ ChatInput,
6
+ ChatMessage,
7
+ MessageList,
8
+ ThinkingIndicator,
9
+ UserMessage
10
+ } from "@tangle-network/ui/chat";
11
+
12
+ export {
13
+ AgentTimeline,
14
+ ChatContainer,
15
+ ChatInput,
16
+ ChatMessage,
17
+ MessageList,
18
+ ThinkingIndicator,
19
+ UserMessage
20
+ };
@@ -0,0 +1,28 @@
1
+ // src/utils/index.ts
2
+ import {
3
+ TOOL_CATEGORY_ICONS,
4
+ cn,
5
+ copyText,
6
+ formatBytes,
7
+ formatDuration,
8
+ formatUptime,
9
+ getToolCategory,
10
+ getToolDisplayMetadata,
11
+ getToolErrorText,
12
+ timeAgo,
13
+ truncateText
14
+ } from "@tangle-network/ui/utils";
15
+
16
+ export {
17
+ TOOL_CATEGORY_ICONS,
18
+ cn,
19
+ copyText,
20
+ formatBytes,
21
+ formatDuration,
22
+ formatUptime,
23
+ getToolCategory,
24
+ getToolDisplayMetadata,
25
+ getToolErrorText,
26
+ timeAgo,
27
+ truncateText
28
+ };
@@ -0,0 +1,89 @@
1
+ // src/stores/index.ts
2
+ import {
3
+ activeSessionsAtom,
4
+ bumpActiveSessionActivity,
5
+ getActiveSession,
6
+ getAllActiveSessions,
7
+ getAllProjectActivity,
8
+ getSessionsByActivity,
9
+ getSessionsForNavbar,
10
+ getSessionsForProject,
11
+ getTotalRunningSessionCount,
12
+ hasBackgroundRunningSessions,
13
+ registerActiveSession,
14
+ resetActiveSessions,
15
+ setActiveSessionAttention,
16
+ setActiveSessionConnection,
17
+ setActiveSessionError,
18
+ setActiveSessionRunning,
19
+ setForegroundActiveSession,
20
+ unregisterActiveSession,
21
+ updateActiveSessionMeta,
22
+ useActiveSession,
23
+ useActiveSessions,
24
+ useActiveSessionsState,
25
+ useHasBackgroundRunningSessions,
26
+ useNavbarSessions,
27
+ useProjectActivity,
28
+ useProjectSessions,
29
+ useSessionsByActivity,
30
+ useTotalRunningSessions,
31
+ addMessage,
32
+ addParts,
33
+ clearChat,
34
+ isStreamingAtom,
35
+ messagesAtom,
36
+ partMapAtom,
37
+ updatePart
38
+ } from "@tangle-network/ui/stores";
39
+
40
+ // src/stores/session-store.ts
41
+ import { atom } from "nanostores";
42
+ var sessionAtom = atom(null);
43
+ function connectSession(session) {
44
+ sessionAtom.set(session);
45
+ }
46
+ function disconnectSession() {
47
+ sessionAtom.set(null);
48
+ }
49
+
50
+ export {
51
+ sessionAtom,
52
+ connectSession,
53
+ disconnectSession,
54
+ activeSessionsAtom,
55
+ bumpActiveSessionActivity,
56
+ getActiveSession,
57
+ getAllActiveSessions,
58
+ getAllProjectActivity,
59
+ getSessionsByActivity,
60
+ getSessionsForNavbar,
61
+ getSessionsForProject,
62
+ getTotalRunningSessionCount,
63
+ hasBackgroundRunningSessions,
64
+ registerActiveSession,
65
+ resetActiveSessions,
66
+ setActiveSessionAttention,
67
+ setActiveSessionConnection,
68
+ setActiveSessionError,
69
+ setActiveSessionRunning,
70
+ setForegroundActiveSession,
71
+ unregisterActiveSession,
72
+ updateActiveSessionMeta,
73
+ useActiveSession,
74
+ useActiveSessions,
75
+ useActiveSessionsState,
76
+ useHasBackgroundRunningSessions,
77
+ useNavbarSessions,
78
+ useProjectActivity,
79
+ useProjectSessions,
80
+ useSessionsByActivity,
81
+ useTotalRunningSessions,
82
+ addMessage,
83
+ addParts,
84
+ clearChat,
85
+ isStreamingAtom,
86
+ messagesAtom,
87
+ partMapAtom,
88
+ updatePart
89
+ };
@@ -0,0 +1,30 @@
1
+ // src/editor/index.ts
2
+ import {
3
+ CollaboratorsList,
4
+ EditorToolbar,
5
+ TiptapEditor,
6
+ useAwareness,
7
+ useCollaboratorPresence,
8
+ useCollaborators,
9
+ useDocumentChanges,
10
+ useEditorConnection,
11
+ useYjsState,
12
+ DocumentEditorPane,
13
+ EditorProvider,
14
+ useEditorContext
15
+ } from "@tangle-network/ui/editor";
16
+
17
+ export {
18
+ CollaboratorsList,
19
+ EditorToolbar,
20
+ TiptapEditor,
21
+ useAwareness,
22
+ useCollaboratorPresence,
23
+ useCollaborators,
24
+ useDocumentChanges,
25
+ useEditorConnection,
26
+ useYjsState,
27
+ DocumentEditorPane,
28
+ EditorProvider,
29
+ useEditorContext
30
+ };