@ultrst-armada/floks 2.0.19 → 2.0.20

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schema": 1,
3
3
  "packageName": "@ultrst-armada/floks",
4
- "version": "2.0.19",
5
- "sourceCommit": "d302d78e33021dad3bddcc94c688705d3f3ae8c2",
4
+ "version": "2.0.20",
5
+ "sourceCommit": "763e337e1b365be85059c2c273f2d7614a3bd8dc",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "45332991171"
7
+ "workflowRunId": "46015722155"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "2.0.19",
3
+ "version": "2.0.20",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,3 +1,21 @@
1
+ import {
2
+ FodModule,
3
+ authorizedRemoteCategories,
4
+ filterRemoteDefinitions,
5
+ filteredCapabilityPicker,
6
+ invokeKloksPublishedWorkflow,
7
+ isLiveFrontendDefinition,
8
+ isRemoteGraphNode,
9
+ readRemoteHandle,
10
+ readRemotePortSnapshot,
11
+ remoteCapabilityCategory,
12
+ remoteExecutionFeedback,
13
+ remotePortFingerprint,
14
+ snapshotRemotePorts,
15
+ toKloksPublishedWorkflowCall,
16
+ validateRemoteConnections,
17
+ validateRemoteGraph
18
+ } from "./chunk-ZX2OTCIC.js";
1
19
  import {
2
20
  PredictiveGhostNodeCard,
3
21
  PredictiveHudToolbar,
@@ -19,6 +37,11 @@ import {
19
37
  MiniMap,
20
38
  useCanvas
21
39
  } from "./chunk-34YRDZPJ.js";
40
+ import {
41
+ DockBar,
42
+ DockItem,
43
+ useDock
44
+ } from "./chunk-6VB74RCH.js";
22
45
  import {
23
46
  UiAuthoringBindingEditor,
24
47
  UiAuthoringInspector,
@@ -37,34 +60,11 @@ import {
37
60
  setAuthoringOperations,
38
61
  updateAuthoringNode
39
62
  } from "./chunk-CI4C6DJR.js";
40
- import {
41
- DockBar,
42
- DockItem,
43
- useDock
44
- } from "./chunk-6VB74RCH.js";
45
63
  import {
46
64
  MonacoEditor,
47
65
  skipoDarkTheme,
48
66
  useMonaco
49
67
  } from "./chunk-KAKAFGVH.js";
50
- import {
51
- FodModule,
52
- authorizedRemoteCategories,
53
- filterRemoteDefinitions,
54
- filteredCapabilityPicker,
55
- invokeKloksPublishedWorkflow,
56
- isLiveFrontendDefinition,
57
- isRemoteGraphNode,
58
- readRemoteHandle,
59
- readRemotePortSnapshot,
60
- remoteCapabilityCategory,
61
- remoteExecutionFeedback,
62
- remotePortFingerprint,
63
- snapshotRemotePorts,
64
- toKloksPublishedWorkflowCall,
65
- validateRemoteConnections,
66
- validateRemoteGraph
67
- } from "./chunk-ZX2OTCIC.js";
68
68
  import {
69
69
  CanvasContextMenu,
70
70
  CompatibleNodePicker,
@@ -243,6 +243,7 @@ function GoogleDriveWorkspacePicker({
243
243
  userId,
244
244
  connection,
245
245
  connectGoogleDrive,
246
+ availabilityReason,
246
247
  listGoogleDriveFolders,
247
248
  onConnected,
248
249
  onSelectFolder,
@@ -352,9 +353,11 @@ function GoogleDriveWorkspacePicker({
352
353
  onClick: handleConnect,
353
354
  disabled: connecting || !connectGoogleDrive,
354
355
  className: "border px-3 py-2 text-xs font-bold disabled:opacity-50",
356
+ ...!connectGoogleDrive && availabilityReason ? { title: availabilityReason } : {},
355
357
  children: connecting ? "Opening Google account chooser\u2026" : connectGoogleDrive ? "Add Google account" : "Google Drive authorization unavailable"
356
358
  }
357
- )
359
+ ),
360
+ !connectGoogleDrive && availabilityReason && /* @__PURE__ */ jsx3("p", { role: "note", className: "text-[10px] opacity-70", children: availabilityReason })
358
361
  ] });
359
362
  }
360
363
  return /* @__PURE__ */ jsxs3("section", { "aria-label": "Google Drive folder picker", className: "space-y-2 border p-3", children: [
@@ -1156,6 +1159,7 @@ function WorkspaceCreateDialog({
1156
1159
  userId: effectiveUserId,
1157
1160
  connection: googleDriveConnection,
1158
1161
  connectGoogleDrive: canAuthorizeGoogleDrive ? storageService.connectGoogleDrive : void 0,
1162
+ ...!canAuthorizeGoogleDrive && googleDriveCapability?.availabilityReason ? { availabilityReason: googleDriveCapability.availabilityReason } : {},
1159
1163
  listGoogleDriveFolders: storageService.listGoogleDriveFolders ? browseGoogleDriveFolders : void 0,
1160
1164
  selectedFolder: googleDriveFolder,
1161
1165
  onConnected: (connection) => {
@@ -22,7 +22,6 @@ import {
22
22
  TimelineScrubber,
23
23
  getProviderIcon
24
24
  } from "../../chunk-6J5J56YO.js";
25
- import "../../chunk-CIH4FVXM.js";
26
25
  import {
27
26
  AgentChatDock,
28
27
  AgentChatPanel,
@@ -31,6 +30,7 @@ import {
31
30
  matchAgentMentions,
32
31
  selectedAgentIsValid
33
32
  } from "../../chunk-5Y2HGI37.js";
33
+ import "../../chunk-CIH4FVXM.js";
34
34
  import "../../chunk-F5XUUMSI.js";
35
35
  import "../../chunk-GKP6KHTI.js";
36
36
  import "../../chunk-UOR4P6PO.js";
@@ -3,11 +3,11 @@ import {
3
3
  BreadcrumbNav,
4
4
  HeaderBar,
5
5
  TopToolbar
6
- } from "../../chunk-KMVDLACR.js";
6
+ } from "../../chunk-QO5LFGWY.js";
7
+ import "../../chunk-C3L53YN4.js";
7
8
  import "../../chunk-5Y2HGI37.js";
8
9
  import "../../chunk-F5XUUMSI.js";
9
10
  import "../../chunk-GKP6KHTI.js";
10
- import "../../chunk-C3L53YN4.js";
11
11
  import "../../chunk-62ITRDJX.js";
12
12
  import "../../chunk-A2CDQISJ.js";
13
13
  export {
@@ -15,6 +15,8 @@ export interface GoogleDriveWorkspacePickerProps {
15
15
  userId: string;
16
16
  connection?: GoogleDriveConnection;
17
17
  connectGoogleDrive?: (userId: string) => Promise<GoogleDriveConnection | void>;
18
+ /** Why the backend disabled Drive authorization, when connectGoogleDrive is absent. */
19
+ availabilityReason?: string;
18
20
  listGoogleDriveFolders?: (connectionId: string, parentFolderId?: string, userId?: string) => Promise<GoogleDriveFolder[]>;
19
21
  onConnected: (connection: GoogleDriveConnection) => void;
20
22
  onSelectFolder: (folder: GoogleDriveFolder) => void;
@@ -28,4 +30,4 @@ export declare function describeGoogleDriveError(error: unknown): string;
28
30
  * behind the injected storage service. This component never collects Google
29
31
  * credentials or handles OAuth client IDs, client secrets, or access tokens.
30
32
  */
31
- export declare function GoogleDriveWorkspacePicker({ userId, connection, connectGoogleDrive, listGoogleDriveFolders, onConnected, onSelectFolder, selectedFolder, }: GoogleDriveWorkspacePickerProps): React.JSX.Element;
33
+ export declare function GoogleDriveWorkspacePicker({ userId, connection, connectGoogleDrive, availabilityReason, listGoogleDriveFolders, onConnected, onSelectFolder, selectedFolder, }: GoogleDriveWorkspacePickerProps): React.JSX.Element;
@@ -12,7 +12,7 @@ import {
12
12
  describeGoogleDriveError,
13
13
  formatWorkspaceFolderPreview,
14
14
  workspaceTilesMenuDefinition
15
- } from "../../chunk-54NS4UKS.js";
15
+ } from "../../chunk-LCSPMWW2.js";
16
16
  import "../../chunk-DEKSKDSF.js";
17
17
  import "../../chunk-2YP2RPJY.js";
18
18
  export {
@@ -19,17 +19,28 @@ import {
19
19
  describeGoogleDriveError,
20
20
  formatWorkspaceFolderPreview,
21
21
  workspaceTilesMenuDefinition
22
- } from "./chunk-54NS4UKS.js";
22
+ } from "./chunk-LCSPMWW2.js";
23
23
  import {
24
- ConfirmDialog,
25
- CopyableErrorAlert,
26
- EmptyState,
27
- LoadingOverlay,
28
- SearchInput,
29
- SearchableList,
30
- StatusIndicator,
31
- useSearchKeyboardNavigation
32
- } from "./chunk-VEWPTZGO.js";
24
+ AUTH_PAGE_REQUIRED_SERVICES,
25
+ AuthLoadingScreen,
26
+ AuthPage,
27
+ DEFAULT_LUTH_URL,
28
+ GoogleIcon,
29
+ GoogleSignInButton,
30
+ LoginModal,
31
+ LuthAuthClient,
32
+ LuthAuthError,
33
+ LuthAuthPage,
34
+ LuthOidcGate,
35
+ LuthProtectedRoute,
36
+ authPageDefinition,
37
+ createLuthAuthClient,
38
+ createLuthAuthClientForApplication,
39
+ resolveLuthEnvironment,
40
+ resolveLuthOrigin,
41
+ useApplicationOidcAuth,
42
+ useLuthAuth
43
+ } from "./chunk-UADCSN5P.js";
33
44
  import {
34
45
  DEFAULT_PANEL_GEOMETRY,
35
46
  DrawerContainer,
@@ -44,6 +55,16 @@ import {
44
55
  usePanelGeometry,
45
56
  usePanelInteraction
46
57
  } from "./chunk-TXKLROFC.js";
58
+ import {
59
+ ConfirmDialog,
60
+ CopyableErrorAlert,
61
+ EmptyState,
62
+ LoadingOverlay,
63
+ SearchInput,
64
+ SearchableList,
65
+ StatusIndicator,
66
+ useSearchKeyboardNavigation
67
+ } from "./chunk-VEWPTZGO.js";
47
68
  import {
48
69
  IconOnlyButton,
49
70
  ModalContainer
@@ -57,7 +78,7 @@ import {
57
78
  BreadcrumbNav,
58
79
  HeaderBar,
59
80
  TopToolbar
60
- } from "./chunk-KMVDLACR.js";
81
+ } from "./chunk-QO5LFGWY.js";
61
82
  import {
62
83
  AccountsSettingsSection,
63
84
  SettingsTab,
@@ -84,6 +105,28 @@ import {
84
105
  frnlToggleDefinition,
85
106
  frnlTopBar
86
107
  } from "./chunk-IYBFDSTU.js";
108
+ import {
109
+ frnlButton,
110
+ frnlButtonDefinition,
111
+ frnlTextInput,
112
+ frnlTextInputDefinition
113
+ } from "./chunk-RLM72WKL.js";
114
+ import "./chunk-5ZMXFCD4.js";
115
+ import {
116
+ ApiCallIndicator,
117
+ AutoSaveToggle,
118
+ BottomStrip,
119
+ StatusLight,
120
+ SystemMessageDisplay
121
+ } from "./chunk-C3L53YN4.js";
122
+ import {
123
+ FrnlStoreProvider,
124
+ floksFrnlFrontendApi,
125
+ floksFrnlStore,
126
+ getFloksFrnlFrontendApi,
127
+ getFloksFrnlStore,
128
+ useFloksFrnlStore
129
+ } from "./chunk-2YP2RPJY.js";
87
130
  import {
88
131
  DEFAULT_PALETTE_ID,
89
132
  THEME_STORAGE_KEY,
@@ -169,12 +212,6 @@ import {
169
212
  TimelineScrubber,
170
213
  getProviderIcon
171
214
  } from "./chunk-6J5J56YO.js";
172
- import {
173
- BaseSelect,
174
- BaseToggle,
175
- CredentialField,
176
- KNOWN_CREDENTIAL_URLS
177
- } from "./chunk-CIH4FVXM.js";
178
215
  import {
179
216
  AgentChatDock,
180
217
  AgentChatPanel,
@@ -183,6 +220,12 @@ import {
183
220
  matchAgentMentions,
184
221
  selectedAgentIsValid
185
222
  } from "./chunk-5Y2HGI37.js";
223
+ import {
224
+ BaseSelect,
225
+ BaseToggle,
226
+ CredentialField,
227
+ KNOWN_CREDENTIAL_URLS
228
+ } from "./chunk-CIH4FVXM.js";
186
229
  import {
187
230
  BaseTextarea
188
231
  } from "./chunk-F5XUUMSI.js";
@@ -193,49 +236,6 @@ import {
193
236
  BaseBadge,
194
237
  BaseCard
195
238
  } from "./chunk-UOR4P6PO.js";
196
- import {
197
- AUTH_PAGE_REQUIRED_SERVICES,
198
- AuthLoadingScreen,
199
- AuthPage,
200
- DEFAULT_LUTH_URL,
201
- GoogleIcon,
202
- GoogleSignInButton,
203
- LoginModal,
204
- LuthAuthClient,
205
- LuthAuthError,
206
- LuthAuthPage,
207
- LuthOidcGate,
208
- LuthProtectedRoute,
209
- authPageDefinition,
210
- createLuthAuthClient,
211
- createLuthAuthClientForApplication,
212
- resolveLuthEnvironment,
213
- resolveLuthOrigin,
214
- useApplicationOidcAuth,
215
- useLuthAuth
216
- } from "./chunk-UADCSN5P.js";
217
- import {
218
- frnlButton,
219
- frnlButtonDefinition,
220
- frnlTextInput,
221
- frnlTextInputDefinition
222
- } from "./chunk-RLM72WKL.js";
223
- import "./chunk-5ZMXFCD4.js";
224
- import {
225
- ApiCallIndicator,
226
- AutoSaveToggle,
227
- BottomStrip,
228
- StatusLight,
229
- SystemMessageDisplay
230
- } from "./chunk-C3L53YN4.js";
231
- import {
232
- FrnlStoreProvider,
233
- floksFrnlFrontendApi,
234
- floksFrnlStore,
235
- getFloksFrnlFrontendApi,
236
- getFloksFrnlStore,
237
- useFloksFrnlStore
238
- } from "./chunk-2YP2RPJY.js";
239
239
  import {
240
240
  BaseInput
241
241
  } from "./chunk-W42SJGOJ.js";
@@ -1,12 +1,12 @@
1
+ import {
2
+ BottomStrip
3
+ } from "./chunk-C3L53YN4.js";
1
4
  import {
2
5
  AgentChatDock
3
6
  } from "./chunk-5Y2HGI37.js";
4
7
  import {
5
8
  BaseTooltip
6
9
  } from "./chunk-GKP6KHTI.js";
7
- import {
8
- BottomStrip
9
- } from "./chunk-C3L53YN4.js";
10
10
  import {
11
11
  BottomStripProvider
12
12
  } from "./chunk-62ITRDJX.js";