@arbidocs/blocks 0.4.2 → 0.4.3
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/README.md +42 -0
- package/dist/agents/index.cjs +147 -146
- package/dist/agents/index.js +3 -2
- package/dist/chat/AssistantDock.d.ts +39 -0
- package/dist/chat/ChatDocuments.d.ts +17 -0
- package/dist/chat/ChatPage.d.ts +16 -0
- package/dist/chat/ChatThreads.d.ts +28 -0
- package/dist/chat/chat-page-types.d.ts +121 -0
- package/dist/chat/chat-surface.d.ts +9 -0
- package/dist/chat/index.cjs +247 -205
- package/dist/chat/index.d.ts +6 -0
- package/dist/chat/index.js +4 -2
- package/dist/{chunk-OBLSURHV.js → chunk-2NNTQLBY.js} +3 -3
- package/dist/{chunk-OBLSURHV.js.map → chunk-2NNTQLBY.js.map} +1 -1
- package/dist/chunk-2VBJ763Y.js +296 -0
- package/dist/chunk-2VBJ763Y.js.map +1 -0
- package/dist/{chunk-2ORA62OF.js → chunk-67MKU5U7.js} +3 -3
- package/dist/{chunk-2ORA62OF.js.map → chunk-67MKU5U7.js.map} +1 -1
- package/dist/{chunk-AE5FHFZ5.cjs → chunk-6CHMNKXC.cjs} +6 -6
- package/dist/{chunk-AE5FHFZ5.cjs.map → chunk-6CHMNKXC.cjs.map} +1 -1
- package/dist/{chunk-ITGHMJOM.js → chunk-AAY5ASZD.js} +5 -4
- package/dist/chunk-AAY5ASZD.js.map +1 -0
- package/dist/chunk-ATXPAD6S.cjs +1952 -0
- package/dist/chunk-ATXPAD6S.cjs.map +1 -0
- package/dist/{chunk-YBXCZEWS.js → chunk-B673CCW5.js} +29 -6
- package/dist/chunk-B673CCW5.js.map +1 -0
- package/dist/{chunk-2K33YGM6.cjs → chunk-DN3NFNIA.cjs} +63 -294
- package/dist/chunk-DN3NFNIA.cjs.map +1 -0
- package/dist/{chunk-XQ7PKKDY.cjs → chunk-G4YOH5DU.cjs} +3 -3
- package/dist/{chunk-XQ7PKKDY.cjs.map → chunk-G4YOH5DU.cjs.map} +1 -1
- package/dist/{chunk-AXIZ2MDV.js → chunk-HER7MTRR.js} +3 -3
- package/dist/{chunk-AXIZ2MDV.js.map → chunk-HER7MTRR.js.map} +1 -1
- package/dist/chunk-JPO3F4J7.js +1899 -0
- package/dist/chunk-JPO3F4J7.js.map +1 -0
- package/dist/{chunk-WJMEXTVD.cjs → chunk-KDG6FER6.cjs} +28 -2
- package/dist/chunk-KDG6FER6.cjs.map +1 -0
- package/dist/chunk-KHX2BX3S.cjs +307 -0
- package/dist/chunk-KHX2BX3S.cjs.map +1 -0
- package/dist/{chunk-WTNMWEBC.js → chunk-NJL4LIXX.js} +4 -3
- package/dist/chunk-NJL4LIXX.js.map +1 -0
- package/dist/{chunk-J2BGSWXM.cjs → chunk-O637DUKS.cjs} +27 -27
- package/dist/{chunk-J2BGSWXM.cjs.map → chunk-O637DUKS.cjs.map} +1 -1
- package/dist/{chunk-WW6EOVZA.js → chunk-OXF2IFXG.js} +26 -3
- package/dist/chunk-OXF2IFXG.js.map +1 -0
- package/dist/{chunk-6HIPFEID.cjs → chunk-PBS5MFIY.cjs} +4 -4
- package/dist/{chunk-6HIPFEID.cjs.map → chunk-PBS5MFIY.cjs.map} +1 -1
- package/dist/{chunk-AZQDNYH4.js → chunk-RCP6THBS.js} +9 -1249
- package/dist/chunk-RCP6THBS.js.map +1 -0
- package/dist/{chunk-GDFWJ73C.cjs → chunk-RIL7G7AS.cjs} +4 -1286
- package/dist/chunk-RIL7G7AS.cjs.map +1 -0
- package/dist/{chunk-DREI7EQ2.cjs → chunk-SS23F63U.cjs} +9 -9
- package/dist/{chunk-DREI7EQ2.cjs.map → chunk-SS23F63U.cjs.map} +1 -1
- package/dist/{chunk-7PEELPMA.js → chunk-TI4UTYRL.js} +62 -285
- package/dist/chunk-TI4UTYRL.js.map +1 -0
- package/dist/{chunk-XNBAXRY7.cjs → chunk-VXOGANFJ.cjs} +13 -12
- package/dist/chunk-VXOGANFJ.cjs.map +1 -0
- package/dist/{chunk-6P6AEQJB.js → chunk-WJZBJUPX.js} +4 -4
- package/dist/{chunk-6P6AEQJB.js.map → chunk-WJZBJUPX.js.map} +1 -1
- package/dist/{chunk-UFHMLHIR.cjs → chunk-XAJIKT6Y.cjs} +32 -11
- package/dist/chunk-XAJIKT6Y.cjs.map +1 -0
- package/dist/{chunk-G3G7LZPM.cjs → chunk-XKKGGUU2.cjs} +29 -3
- package/dist/chunk-XKKGGUU2.cjs.map +1 -0
- package/dist/{chunk-UWGIB3VQ.js → chunk-XNOASBGW.js} +33 -12
- package/dist/chunk-XNOASBGW.js.map +1 -0
- package/dist/{chunk-CTZ5745I.js → chunk-XQKGYGCJ.js} +3 -3
- package/dist/{chunk-CTZ5745I.js.map → chunk-XQKGYGCJ.js.map} +1 -1
- package/dist/{chunk-54Q3RNJU.cjs → chunk-ZVPTFTGV.cjs} +4 -3
- package/dist/chunk-ZVPTFTGV.cjs.map +1 -0
- package/dist/citations/index.cjs +11 -11
- package/dist/citations/index.js +2 -2
- package/dist/components/MemberAvatarStack.d.ts +7 -2
- package/dist/connect/index.cjs +41 -12
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +3 -2
- package/dist/connect/index.js +20 -4
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectionProvider.d.ts +2 -0
- package/dist/connection/ai.d.ts +13 -1
- package/dist/connection/useConnectedShellWorkspaces.d.ts +15 -0
- package/dist/facts/index.cjs +3 -3
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.js +2 -2
- package/dist/facts/index.js.map +1 -1
- package/dist/files/index.cjs +4 -3
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +4 -3
- package/dist/files/index.js.map +1 -1
- package/dist/home/index.cjs +18 -17
- package/dist/home/index.cjs.map +1 -1
- package/dist/home/index.js +3 -2
- package/dist/home/index.js.map +1 -1
- package/dist/index.cjs +637 -580
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -12
- package/dist/index.js.map +1 -1
- package/dist/lib/format.d.ts +31 -0
- package/dist/retrieval/index.cjs +36 -36
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/index.cjs +12 -10
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +12 -10
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/SplitLayout.d.ts +32 -0
- package/dist/shell/index.cjs +72 -68
- package/dist/shell/index.d.ts +1 -0
- package/dist/shell/index.js +2 -2
- package/dist/site/index.cjs +71 -71
- package/dist/site/index.js +3 -3
- package/dist/studio/index.cjs +79 -76
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.js +9 -6
- package/dist/studio/index.js.map +1 -1
- package/dist/workspaces/WorkspaceGallery.d.ts +42 -0
- package/dist/workspaces/index.cjs +74 -7
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.d.ts +2 -0
- package/dist/workspaces/index.js +73 -7
- package/dist/workspaces/index.js.map +1 -1
- package/package.json +3 -3
- package/src/blocks.css +10 -13
- package/dist/chunk-2K33YGM6.cjs.map +0 -1
- package/dist/chunk-54Q3RNJU.cjs.map +0 -1
- package/dist/chunk-7PEELPMA.js.map +0 -1
- package/dist/chunk-AZQDNYH4.js.map +0 -1
- package/dist/chunk-G3G7LZPM.cjs.map +0 -1
- package/dist/chunk-GDFWJ73C.cjs.map +0 -1
- package/dist/chunk-ITGHMJOM.js.map +0 -1
- package/dist/chunk-SCFYPAG6.cjs +0 -18
- package/dist/chunk-SCFYPAG6.cjs.map +0 -1
- package/dist/chunk-UFHMLHIR.cjs.map +0 -1
- package/dist/chunk-UWGIB3VQ.js.map +0 -1
- package/dist/chunk-WJMEXTVD.cjs.map +0 -1
- package/dist/chunk-WTNMWEBC.js.map +0 -1
- package/dist/chunk-WW6EOVZA.js.map +0 -1
- package/dist/chunk-XNBAXRY7.cjs.map +0 -1
- package/dist/chunk-YBXCZEWS.js.map +0 -1
- package/dist/chunk-YDHO4AVL.js +0 -16
- package/dist/chunk-YDHO4AVL.js.map +0 -1
package/dist/retrieval/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkG4YOH5DU_cjs = require('../chunk-G4YOH5DU.cjs');
|
|
5
5
|
var chunkOUW6G4O2_cjs = require('../chunk-OUW6G4O2.cjs');
|
|
6
6
|
require('../chunk-C54XEN5T.cjs');
|
|
7
7
|
require('../chunk-MHVNT4J3.cjs');
|
|
@@ -10,143 +10,143 @@ require('../chunk-MHVNT4J3.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "ApplyLabelButton", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkG4YOH5DU_cjs.ApplyLabelButton; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ApplyLabelDialog", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkG4YOH5DU_cjs.ApplyLabelDialog; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "DEFAULT_APPLY_LABEL_DIALOG_LABELS", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkG4YOH5DU_cjs.DEFAULT_APPLY_LABEL_DIALOG_LABELS; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "DEFAULT_RELEVANCE_STEPS", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkG4YOH5DU_cjs.DEFAULT_RELEVANCE_STEPS; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DEFAULT_SEARCH_BAR_LABELS", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkG4YOH5DU_cjs.DEFAULT_SEARCH_BAR_LABELS; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "DEFAULT_SEARCH_EMPTY_STATE_LABELS", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkG4YOH5DU_cjs.DEFAULT_SEARCH_EMPTY_STATE_LABELS; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "DEFAULT_SEARCH_GROUP_HEADER_LABELS", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkG4YOH5DU_cjs.DEFAULT_SEARCH_GROUP_HEADER_LABELS; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "DEFAULT_SEARCH_NO_RESULTS_LABELS", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkG4YOH5DU_cjs.DEFAULT_SEARCH_NO_RESULTS_LABELS; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "DEFAULT_SEARCH_PAGINATION_LABELS", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkG4YOH5DU_cjs.DEFAULT_SEARCH_PAGINATION_LABELS; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "DEFAULT_SEARCH_TOTALS_LABELS", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkG4YOH5DU_cjs.DEFAULT_SEARCH_TOTALS_LABELS; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "DOCUMENT_SEARCH_NOUNS", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkG4YOH5DU_cjs.DOCUMENT_SEARCH_NOUNS; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "Highlight", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkG4YOH5DU_cjs.Highlight; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "RelevanceThreshold", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkG4YOH5DU_cjs.RelevanceThreshold; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "SearchBar", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchBar; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "SearchControlsBar", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchControlsBar; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "SearchEmptyState", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchEmptyState; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "SearchErrorBanner", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchErrorBanner; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "SearchGroupCard", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchGroupCard; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "SearchGroupHeader", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchGroupHeader; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "SearchNoResults", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchNoResults; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "SearchPageBody", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchPageBody; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "SearchPageFrame", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchPageFrame; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "SearchPageHeader", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchPageHeader; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "SearchPagination", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchPagination; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "SearchPillToggle", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchPillToggle; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "SearchResultList", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchResultList; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "SearchResultsInner", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchResultsInner; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "SearchResultsMain", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchResultsMain; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "SearchToolbarRow", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchToolbarRow; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "SearchTotalsHeadline", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkG4YOH5DU_cjs.SearchTotalsHeadline; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "getPageNumbers", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkG4YOH5DU_cjs.getPageNumbers; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "highlightTerms", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkG4YOH5DU_cjs.highlightTerms; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "searchNouns", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkG4YOH5DU_cjs.searchNouns; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "splitByTerms", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkG4YOH5DU_cjs.splitByTerms; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "stripMarkdownLinks", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkG4YOH5DU_cjs.stripMarkdownLinks; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "DEFAULT_SEARCH_HIT_LABELS", {
|
|
152
152
|
enumerable: true,
|
package/dist/retrieval/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ApplyLabelButton, ApplyLabelDialog, DEFAULT_APPLY_LABEL_DIALOG_LABELS, DEFAULT_RELEVANCE_STEPS, DEFAULT_SEARCH_BAR_LABELS, DEFAULT_SEARCH_EMPTY_STATE_LABELS, DEFAULT_SEARCH_GROUP_HEADER_LABELS, DEFAULT_SEARCH_NO_RESULTS_LABELS, DEFAULT_SEARCH_PAGINATION_LABELS, DEFAULT_SEARCH_TOTALS_LABELS, DOCUMENT_SEARCH_NOUNS, Highlight, RelevanceThreshold, SearchBar, SearchControlsBar, SearchEmptyState, SearchErrorBanner, SearchGroupCard, SearchGroupHeader, SearchNoResults, SearchPageBody, SearchPageFrame, SearchPageHeader, SearchPagination, SearchPillToggle, SearchResultList, SearchResultsInner, SearchResultsMain, SearchToolbarRow, SearchTotalsHeadline, getPageNumbers, highlightTerms, searchNouns, splitByTerms, stripMarkdownLinks } from '../chunk-
|
|
2
|
+
export { ApplyLabelButton, ApplyLabelDialog, DEFAULT_APPLY_LABEL_DIALOG_LABELS, DEFAULT_RELEVANCE_STEPS, DEFAULT_SEARCH_BAR_LABELS, DEFAULT_SEARCH_EMPTY_STATE_LABELS, DEFAULT_SEARCH_GROUP_HEADER_LABELS, DEFAULT_SEARCH_NO_RESULTS_LABELS, DEFAULT_SEARCH_PAGINATION_LABELS, DEFAULT_SEARCH_TOTALS_LABELS, DOCUMENT_SEARCH_NOUNS, Highlight, RelevanceThreshold, SearchBar, SearchControlsBar, SearchEmptyState, SearchErrorBanner, SearchGroupCard, SearchGroupHeader, SearchNoResults, SearchPageBody, SearchPageFrame, SearchPageHeader, SearchPagination, SearchPillToggle, SearchResultList, SearchResultsInner, SearchResultsMain, SearchToolbarRow, SearchTotalsHeadline, getPageNumbers, highlightTerms, searchNouns, splitByTerms, stripMarkdownLinks } from '../chunk-HER7MTRR.js';
|
|
3
3
|
export { DEFAULT_SEARCH_HIT_LABELS, SearchHit } from '../chunk-A2YAC22G.js';
|
|
4
4
|
import '../chunk-76JDDMSP.js';
|
|
5
5
|
import '../chunk-7F6CBP3Z.js';
|
package/dist/settings/index.cjs
CHANGED
|
@@ -9,6 +9,7 @@ var chunkADOKTJHV_cjs = require('../chunk-ADOKTJHV.cjs');
|
|
|
9
9
|
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
10
10
|
var chunk5B4PXAKI_cjs = require('../chunk-5B4PXAKI.cjs');
|
|
11
11
|
require('../chunk-PPCATBOY.cjs');
|
|
12
|
+
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
12
13
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
13
14
|
var react = require('react');
|
|
14
15
|
var lucideReact = require('lucide-react');
|
|
@@ -113,7 +114,7 @@ var DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS = {
|
|
|
113
114
|
newPassword: "New Password",
|
|
114
115
|
confirmPassword: "Confirm Password",
|
|
115
116
|
confirmNewPassword: "Confirm New Password",
|
|
116
|
-
workspacesRekeyed: (count) => `${count
|
|
117
|
+
workspacesRekeyed: (count) => `${chunkKDG6FER6_cjs.formatCount(count, { one: "workspace", other: "workspaces" })} will be re-keyed with your new password.`,
|
|
117
118
|
cancel: "Cancel",
|
|
118
119
|
settingPassword: "Setting Password...",
|
|
119
120
|
changingPassword: "Changing Password...",
|
|
@@ -284,8 +285,8 @@ var DEFAULT_LOGOUT_DIALOG_LABELS = {
|
|
|
284
285
|
offlineTooltip: "Ending all sessions needs a connection \u2014 you can still log out of this device.",
|
|
285
286
|
thisSession: "This session",
|
|
286
287
|
offlineNote: "You\u2019re offline \u2014 ending all sessions needs a connection. You can still log out of this device.",
|
|
287
|
-
activeSessions: (count) =>
|
|
288
|
-
workspaces: (count) =>
|
|
288
|
+
activeSessions: (count) => chunkKDG6FER6_cjs.formatCount(count, { one: "active session", other: "active sessions" }),
|
|
289
|
+
workspaces: (count) => chunkKDG6FER6_cjs.formatCount(count, { one: "workspace", other: "workspaces" }),
|
|
289
290
|
ttl: (ttlLabel) => `TTL ${ttlLabel}`
|
|
290
291
|
};
|
|
291
292
|
function SessionRow({
|
|
@@ -467,7 +468,7 @@ function SettingsRow({
|
|
|
467
468
|
"data-slot": "settings-row",
|
|
468
469
|
"data-testid": testId,
|
|
469
470
|
className: ui.cn(
|
|
470
|
-
"flex flex-col gap-2 py-2
|
|
471
|
+
"flex flex-col gap-2 py-2 @xl:flex-row @xl:items-center @xl:justify-between @xl:gap-6",
|
|
471
472
|
className
|
|
472
473
|
),
|
|
473
474
|
...props,
|
|
@@ -1214,6 +1215,7 @@ function ThreadPreviewDialog({
|
|
|
1214
1215
|
}
|
|
1215
1216
|
) });
|
|
1216
1217
|
}
|
|
1218
|
+
var ITEMS = { one: "item", other: "items" };
|
|
1217
1219
|
function isInlineObject(data) {
|
|
1218
1220
|
if (data === null || data === void 0) return true;
|
|
1219
1221
|
if (typeof data !== "object") return true;
|
|
@@ -1236,12 +1238,12 @@ function inlineSummary(data) {
|
|
|
1236
1238
|
function arrayPreview(data) {
|
|
1237
1239
|
if (data.length === 0) return "[]";
|
|
1238
1240
|
const first = data[0];
|
|
1239
|
-
if (typeof first !== "object" || first === null) return `[${data.length}
|
|
1241
|
+
if (typeof first !== "object" || first === null) return `[${chunkKDG6FER6_cjs.formatCount(data.length, ITEMS)}]`;
|
|
1240
1242
|
const obj = first;
|
|
1241
1243
|
const previewKeys = ["action", "step", "phase", "tool", "name", "type", "id"];
|
|
1242
1244
|
const parts = previewKeys.filter((k) => obj[k] !== void 0).slice(0, 3).map((k) => `${k}: ${JSON.stringify(obj[k])}`);
|
|
1243
|
-
if (parts.length === 0) return `[${data.length}
|
|
1244
|
-
return `[${data.length}
|
|
1245
|
+
if (parts.length === 0) return `[${chunkKDG6FER6_cjs.formatCount(data.length, ITEMS)}]`;
|
|
1246
|
+
return `[${chunkKDG6FER6_cjs.formatCount(data.length, ITEMS)} \u2014 { ${parts.join(", ")} }, \u2026]`;
|
|
1245
1247
|
}
|
|
1246
1248
|
var NAME_CLASS = "font-medium text-blue-600 dark:text-blue-400";
|
|
1247
1249
|
var COPY_CLASS = "rounded p-0.5 opacity-50 transition-opacity hover:bg-muted hover:opacity-100 focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring pointer-coarse:flex pointer-coarse:size-11 pointer-coarse:items-center pointer-coarse:justify-center pointer-coarse:opacity-100";
|
|
@@ -2529,7 +2531,7 @@ function PlanCardGrid({
|
|
|
2529
2531
|
{
|
|
2530
2532
|
className: ui.cn(
|
|
2531
2533
|
"grid gap-2",
|
|
2532
|
-
plans.length === 4 ? "grid-cols-1
|
|
2534
|
+
plans.length === 4 ? "grid-cols-1 @xl:grid-cols-2 @4xl:grid-cols-4" : "grid-cols-1 @xl:grid-cols-3"
|
|
2533
2535
|
),
|
|
2534
2536
|
children: plans.map((plan) => /* @__PURE__ */ jsxRuntime.jsx(PlanCard, { plan, onSelect, labels }, plan.id))
|
|
2535
2537
|
}
|
|
@@ -4138,7 +4140,7 @@ function ProfileCard({
|
|
|
4138
4140
|
avatar,
|
|
4139
4141
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1 space-y-3", children: [
|
|
4140
4142
|
name.isEditing ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
4141
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2
|
|
4143
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 @xl:flex-row", children: [
|
|
4142
4144
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4143
4145
|
ui.Input,
|
|
4144
4146
|
{
|
|
@@ -4523,7 +4525,7 @@ function PlanPickerCard({ children }) {
|
|
|
4523
4525
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "plan-picker-card", className: "space-y-4 rounded-lg bg-muted p-4", children });
|
|
4524
4526
|
}
|
|
4525
4527
|
function PlanActionRow({ children }) {
|
|
4526
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "plan-action-row", className: "flex flex-col-reverse gap-2
|
|
4528
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "plan-action-row", className: "flex flex-col-reverse gap-2 @xl:flex-row", children });
|
|
4527
4529
|
}
|
|
4528
4530
|
function PlanActionButton({
|
|
4529
4531
|
tone = "primary",
|