@ultrst-armada/floks 1.9.0 → 1.11.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 (28) hide show
  1. package/.krusbl-release-attestation.json +3 -3
  2. package/package.json +4 -4
  3. package/packages/canvas-ui/dist/aiko/index.d.ts +13 -1
  4. package/packages/canvas-ui/dist/aiko/index.js +1 -1
  5. package/packages/canvas-ui/dist/{chunk-K7L2ZD3D.js → chunk-OHAFLB3O.js} +56 -6
  6. package/packages/canvas-ui/dist/index.d.ts +1 -1
  7. package/packages/canvas-ui/dist/index.js +6 -6
  8. package/packages/canvas-ui/package.json +2 -2
  9. package/packages/ui/dist/{chunk-TKGKVCB7.js → chunk-4GMTEWLE.js} +2 -2
  10. package/packages/ui/dist/{chunk-X4B3EBMY.js → chunk-B4XTM5TI.js} +4 -1
  11. package/packages/ui/dist/{chunk-PH4NEHWR.js → chunk-DZTJJOLR.js} +1 -1
  12. package/packages/ui/dist/{chunk-DGZBP3ND.js → chunk-G5CYPT3P.js} +1 -1
  13. package/packages/ui/dist/{chunk-CUQ7R3H2.js → chunk-LL745D7M.js} +2 -2
  14. package/packages/ui/dist/{chunk-SXRIBCJX.js → chunk-Q324BMDJ.js} +1 -1
  15. package/packages/ui/dist/{chunk-QRSVZE4C.js → chunk-QTAFR2V6.js} +2 -2
  16. package/packages/ui/dist/{chunk-YVWJ4SW7.js → chunk-Z5YEBR6R.js} +1 -1
  17. package/packages/ui/dist/components/auth/index.js +3 -3
  18. package/packages/ui/dist/components/graph/index.js +3 -3
  19. package/packages/ui/dist/components/tiles/index.js +2 -2
  20. package/packages/ui/dist/components/workspace/index.js +3 -3
  21. package/packages/ui/dist/frnl/index.d.ts +3 -3
  22. package/packages/ui/dist/frnl/index.js +5 -3
  23. package/packages/ui/dist/frnl/store.d.ts +5 -2
  24. package/packages/ui/dist/frnl/store.js +3 -1
  25. package/packages/ui/dist/hierarchy/index.js +2 -2
  26. package/packages/ui/dist/index.d.ts +2 -2
  27. package/packages/ui/dist/index.js +21 -19
  28. package/packages/ui/package.json +2 -2
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schema": 1,
3
3
  "packageName": "@ultrst-armada/floks",
4
- "version": "1.9.0",
5
- "sourceCommit": "8c1e43243f0d3ce72d863ead580343e00c7df06d",
4
+ "version": "1.11.1",
5
+ "sourceCommit": "128bffd61555d9ce872eb6f85ca328674deaa44c",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "41026070837"
7
+ "workflowRunId": "41059467350"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "1.9.0",
3
+ "version": "1.11.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -74,7 +74,7 @@
74
74
  "clean": "pnpm -r run clean"
75
75
  },
76
76
  "dependencies": {
77
- "@ultrst-armada/frnlts": "^0.2.7",
77
+ "@ultrst-armada/frnlts": "^0.3.0",
78
78
  "@xyflow/react": "^12.8.6",
79
79
  "d3-force": "^3.0.0",
80
80
  "zod": "^3.24.1",
@@ -93,8 +93,8 @@
93
93
  "@types/node": "^22.0.0",
94
94
  "@types/react": "^19.0.0",
95
95
  "@types/react-dom": "^19.0.0",
96
- "@ultrst-armada/kloks": "^1.19.0",
97
- "@ultrst-armada/frnlts": "^0.2.7",
96
+ "@ultrst-armada/kloks": "^1.21.1",
97
+ "@ultrst-armada/frnlts": "^0.3.0",
98
98
  "happy-dom": "^21.0.3",
99
99
  "lucide-react": "^1.55.0",
100
100
  "react": "^19.0.1",
@@ -4,6 +4,7 @@ interface AikoIntelligenceSpec {
4
4
  [key: string]: unknown;
5
5
  }
6
6
  interface AikoAgentDefinition {
7
+ schemaVersion?: '1.0.0' | string;
7
8
  id: string;
8
9
  name: string;
9
10
  description?: string;
@@ -13,6 +14,15 @@ interface AikoAgentDefinition {
13
14
  intelligenceSpecId?: string;
14
15
  sourceKind?: 'endpoint' | 'fod-flow' | 'gutts-api' | 'custom';
15
16
  sourceId?: string;
17
+ allowedToolIds?: string[];
18
+ custom?: boolean;
19
+ }
20
+ interface AikoCapability {
21
+ id: string;
22
+ name: string;
23
+ description?: string;
24
+ sourceKind?: 'endpoint' | 'fod-flow' | 'gutts-api' | 'custom';
25
+ sourceId?: string;
16
26
  }
17
27
  interface AikoKey {
18
28
  id: string;
@@ -39,6 +49,8 @@ interface AikoRuntimeLike {
39
49
  synced: number;
40
50
  message?: string;
41
51
  }>;
52
+ listCapabilities?(): Promise<AikoCapability[]>;
53
+ createCustomAgent?(name: string, capabilityIds: string[], specId?: string): Promise<AikoAgentDefinition>;
42
54
  }
43
55
  interface AikoModuleProps {
44
56
  runtime: AikoRuntimeLike;
@@ -50,4 +62,4 @@ declare namespace AikoModule {
50
62
  var displayName: string;
51
63
  }
52
64
 
53
- export { type AikoAgentDefinition, type AikoIntelligenceSpec, type AikoKey, AikoModule, type AikoModuleProps, type AikoRuntimeLike };
65
+ export { type AikoAgentDefinition, type AikoCapability, type AikoIntelligenceSpec, type AikoKey, AikoModule, type AikoModuleProps, type AikoRuntimeLike };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AikoModule
3
- } from "../chunk-K7L2ZD3D.js";
3
+ } from "../chunk-OHAFLB3O.js";
4
4
  export {
5
5
  AikoModule
6
6
  };
@@ -3,6 +3,7 @@ import { useEffect, useMemo, useState } from "react";
3
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
4
  function AikoModule({ runtime, workspaceId, className }) {
5
5
  const [agents, setAgents] = useState([]);
6
+ const [capabilities, setCapabilities] = useState([]);
6
7
  const [keys, setKeys] = useState([]);
7
8
  const [activeAgent, setActiveAgent] = useState("");
8
9
  const [input, setInput] = useState("");
@@ -13,10 +14,18 @@ function AikoModule({ runtime, workspaceId, className }) {
13
14
  const [label, setLabel] = useState("");
14
15
  const [secret, setSecret] = useState("");
15
16
  const [group, setGroup] = useState("");
17
+ const [customName, setCustomName] = useState("");
18
+ const [customCapIds, setCustomCapIds] = useState([]);
19
+ const [customSpecId, setCustomSpecId] = useState("");
16
20
  const refresh = async () => {
17
- const [nextAgents, nextKeys] = await Promise.all([runtime.listAgents(), runtime.listKeys()]);
21
+ const [nextAgents, nextKeys, nextCaps] = await Promise.all([
22
+ runtime.listAgents(),
23
+ runtime.listKeys(),
24
+ runtime.listCapabilities ? runtime.listCapabilities() : Promise.resolve([])
25
+ ]);
18
26
  setAgents(nextAgents);
19
27
  setKeys(nextKeys);
28
+ setCapabilities(nextCaps);
20
29
  if (!activeAgent && nextAgents[0]) setActiveAgent(nextAgents[0].id);
21
30
  };
22
31
  useEffect(() => {
@@ -61,7 +70,24 @@ function AikoModule({ runtime, workspaceId, className }) {
61
70
  setBusy(false);
62
71
  }
63
72
  };
64
- return /* @__PURE__ */ jsxs("div", { className, "data-aiko-module": "true", style: { display: "grid", gridTemplateColumns: "260px 1fr", gridTemplateRows: "48px 1fr", height: "100%", minHeight: 500 }, children: [
73
+ const createCustomAgent = async () => {
74
+ if (!runtime.createCustomAgent || !customName.trim() || customCapIds.length === 0) return;
75
+ setBusy(true);
76
+ try {
77
+ const created = await runtime.createCustomAgent(customName.trim(), customCapIds, customSpecId.trim() || void 0);
78
+ setCustomName("");
79
+ setCustomCapIds([]);
80
+ setCustomSpecId("");
81
+ await refresh();
82
+ setActiveAgent(created.id);
83
+ setMessage(`Created custom agent ${created.name}`);
84
+ } catch (error) {
85
+ setMessage(error instanceof Error ? error.message : String(error));
86
+ } finally {
87
+ setBusy(false);
88
+ }
89
+ };
90
+ return /* @__PURE__ */ jsxs("div", { className, "data-aiko-module": "true", style: { display: "grid", gridTemplateColumns: "280px 1fr", gridTemplateRows: "48px 1fr", height: "100%", minHeight: 500 }, children: [
65
91
  /* @__PURE__ */ jsxs("header", { style: { gridColumn: "1 / -1", display: "flex", alignItems: "center", gap: 8, padding: 8, borderBottom: "1px solid var(--skipo-border,#333)" }, children: [
66
92
  /* @__PURE__ */ jsx("strong", { children: "AIKO" }),
67
93
  /* @__PURE__ */ jsx("button", { type: "button", onClick: () => void sync(), disabled: busy, children: "Fetch from Aiko Engine" }),
@@ -69,10 +95,34 @@ function AikoModule({ runtime, workspaceId, className }) {
69
95
  ] }),
70
96
  /* @__PURE__ */ jsxs("aside", { style: { overflow: "auto", padding: 10, borderRight: "1px solid var(--skipo-border,#333)" }, children: [
71
97
  /* @__PURE__ */ jsx("h4", { children: "Agents" }),
72
- groups.map(([group2, list]) => /* @__PURE__ */ jsxs("section", { children: [
73
- /* @__PURE__ */ jsx("strong", { children: group2 }),
74
- list.map((agent) => /* @__PURE__ */ jsx("button", { type: "button", onClick: () => setActiveAgent(agent.id), style: { display: "block", width: "100%", textAlign: "left", margin: "4px 0" }, children: agent.name }, agent.id))
75
- ] }, group2)),
98
+ groups.map(([groupName, list]) => /* @__PURE__ */ jsxs("section", { children: [
99
+ /* @__PURE__ */ jsx("strong", { children: groupName }),
100
+ list.map((agent) => /* @__PURE__ */ jsxs("button", { type: "button", onClick: () => setActiveAgent(agent.id), style: { display: "block", width: "100%", textAlign: "left", margin: "4px 0" }, children: [
101
+ agent.name,
102
+ " ",
103
+ agent.custom ? "(custom)" : ""
104
+ ] }, agent.id))
105
+ ] }, groupName)),
106
+ runtime.createCustomAgent && /* @__PURE__ */ jsxs("section", { style: { margin: "12px 0", padding: 8, border: "1px solid var(--skipo-border,#333)", borderRadius: 4 }, children: [
107
+ /* @__PURE__ */ jsx("h5", { children: "Create Custom Agent" }),
108
+ /* @__PURE__ */ jsx("input", { value: customName, onChange: (e) => setCustomName(e.target.value), placeholder: "Agent name", style: { width: "100%", marginBottom: 4 } }),
109
+ /* @__PURE__ */ jsx("input", { value: customSpecId, onChange: (e) => setCustomSpecId(e.target.value), placeholder: "Optional Spec ID", style: { width: "100%", marginBottom: 4 } }),
110
+ /* @__PURE__ */ jsx("div", { style: { maxHeight: 90, overflow: "auto", fontSize: 12, margin: "4px 0" }, children: capabilities.map((cap) => /* @__PURE__ */ jsxs("label", { style: { display: "block" }, children: [
111
+ /* @__PURE__ */ jsx(
112
+ "input",
113
+ {
114
+ type: "checkbox",
115
+ checked: customCapIds.includes(cap.id),
116
+ onChange: (e) => {
117
+ setCustomCapIds((prev) => e.target.checked ? [...prev, cap.id] : prev.filter((id) => id !== cap.id));
118
+ }
119
+ }
120
+ ),
121
+ " ",
122
+ cap.name
123
+ ] }, cap.id)) }),
124
+ /* @__PURE__ */ jsx("button", { type: "button", onClick: () => void createCustomAgent(), disabled: busy || !customName.trim() || customCapIds.length === 0, children: "Create Custom Agent" })
125
+ ] }),
76
126
  /* @__PURE__ */ jsx("h4", { children: "API Keys" }),
77
127
  /* @__PURE__ */ jsxs("div", { children: [
78
128
  /* @__PURE__ */ jsx("input", { value: provider, onChange: (event) => setProvider(event.target.value), placeholder: "Provider" }),
@@ -12,7 +12,7 @@ export { CanvasBackground2D, CanvasErrorBoundary, ContainerNode2D, EffectNode2D,
12
12
  export { PredictiveGhostNodeCard, PredictiveGhostNodeCardProps, PredictiveHudToolbar, PredictiveLayer2D, PredictiveLayer2DProps, UsePredictiveGraph2DProps, UseViewer2DPredictiveProps, usePredictiveGraph2D } from './predictive/index.js';
13
13
  export { AuthoringAssetRef, UIAuthoringContext, UIAuthoringNode, UIAuthoringNodeKind, UIAuthoringSession, UiAuthoringBindingEditor, UiAuthoringComponentRenderer, UiAuthoringInspector, UiAuthoringPreview, UiAuthoringTree, UiAuthoringValidationPanel, UiAuthoringWorkspace, getAuthoringChildren, getAuthoringDepth, getAuthoringSubtreeIds } from './authoring/index.js';
14
14
  export { FodModule, FodModuleProps, FodRuntimeLike } from './fod/index.js';
15
- export { AikoAgentDefinition, AikoIntelligenceSpec, AikoKey, AikoModule, AikoModuleProps, AikoRuntimeLike } from './aiko/index.js';
15
+ export { AikoAgentDefinition, AikoCapability, AikoIntelligenceSpec, AikoKey, AikoModule, AikoModuleProps, AikoRuntimeLike } from './aiko/index.js';
16
16
  import '@ultrst-armada/kloks/contracts';
17
17
 
18
18
  interface MidpointWidgetsProps {
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-SA3JADUG.js";
38
38
  import {
39
39
  AikoModule
40
- } from "./chunk-K7L2ZD3D.js";
40
+ } from "./chunk-OHAFLB3O.js";
41
41
  import {
42
42
  UiAuthoringBindingEditor,
43
43
  UiAuthoringInspector,
@@ -55,16 +55,16 @@ import {
55
55
  MiniMap,
56
56
  useCanvas
57
57
  } from "./chunk-34YRDZPJ.js";
58
- import {
59
- DockBar,
60
- DockItem,
61
- useDock
62
- } from "./chunk-6VB74RCH.js";
63
58
  import {
64
59
  MonacoEditor,
65
60
  skipoDarkTheme,
66
61
  useMonaco
67
62
  } from "./chunk-ZJXRL74D.js";
63
+ import {
64
+ DockBar,
65
+ DockItem,
66
+ useDock
67
+ } from "./chunk-6VB74RCH.js";
68
68
  import {
69
69
  FodModule
70
70
  } from "./chunk-7CYX3B6O.js";
@@ -75,8 +75,8 @@
75
75
  },
76
76
  "dependencies": {
77
77
  "@floks/ui": "workspace:*",
78
- "@ultrst-armada/frnlts": "^0.2.7",
79
- "@ultrst-armada/kloks": "^1.19.0"
78
+ "@ultrst-armada/frnlts": "^0.3.0",
79
+ "@ultrst-armada/kloks": "^1.21.1"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@dnd-kit/core": "^6.0.0",
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  TilesMenu
3
- } from "./chunk-PH4NEHWR.js";
3
+ } from "./chunk-DZTJJOLR.js";
4
4
  import {
5
5
  useFloksFrnlStore
6
- } from "./chunk-X4B3EBMY.js";
6
+ } from "./chunk-B4XTM5TI.js";
7
7
 
8
8
  // src/components/graph/GraphsMenu.tsx
9
9
  import { GitBranch, Network } from "lucide-react";
@@ -1,7 +1,9 @@
1
1
  // src/frnl/store.ts
2
2
  import React, { createContext, useContext } from "react";
3
- import { createFrnlStore } from "@ultrst-armada/frnlts";
3
+ import { createFrnlFrontendApi, installFrnlFrontendApi, createFrnlStore } from "@ultrst-armada/frnlts";
4
4
  var floksFrnlStore = createFrnlStore();
5
+ var floksFrnlFrontendApi = createFrnlFrontendApi(floksFrnlStore);
6
+ installFrnlFrontendApi(floksFrnlFrontendApi);
5
7
  function getFloksFrnlStore() {
6
8
  return floksFrnlStore;
7
9
  }
@@ -16,6 +18,7 @@ function useFloksFrnlStore() {
16
18
 
17
19
  export {
18
20
  floksFrnlStore,
21
+ floksFrnlFrontendApi,
19
22
  getFloksFrnlStore,
20
23
  FrnlStoreProvider,
21
24
  useFloksFrnlStore
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFloksFrnlStore
3
- } from "./chunk-X4B3EBMY.js";
3
+ } from "./chunk-B4XTM5TI.js";
4
4
 
5
5
  // src/components/tiles/TilesMenu.tsx
6
6
  import React, { useId, useMemo } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFloksFrnlStore
3
- } from "./chunk-X4B3EBMY.js";
3
+ } from "./chunk-B4XTM5TI.js";
4
4
  import {
5
5
  BottomStripProvider,
6
6
  useBottomStrip
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  frnlButton,
3
3
  frnlTextInput
4
- } from "./chunk-YVWJ4SW7.js";
4
+ } from "./chunk-Z5YEBR6R.js";
5
5
  import {
6
6
  useFloksFrnlStore
7
- } from "./chunk-X4B3EBMY.js";
7
+ } from "./chunk-B4XTM5TI.js";
8
8
  import {
9
9
  BaseInput
10
10
  } from "./chunk-W42SJGOJ.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZQK5I5ZL.js";
4
4
  import {
5
5
  useFloksFrnlStore
6
- } from "./chunk-X4B3EBMY.js";
6
+ } from "./chunk-B4XTM5TI.js";
7
7
  import {
8
8
  useBottomStrip
9
9
  } from "./chunk-62ITRDJX.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  TilesMenu
3
- } from "./chunk-PH4NEHWR.js";
3
+ } from "./chunk-DZTJJOLR.js";
4
4
  import {
5
5
  useFloksFrnlStore
6
- } from "./chunk-X4B3EBMY.js";
6
+ } from "./chunk-B4XTM5TI.js";
7
7
 
8
8
  // src/components/workspace/StoragePresetTile.tsx
9
9
  import { HardDrive, CheckCircle2 } from "lucide-react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFloksFrnlStore
3
- } from "./chunk-X4B3EBMY.js";
3
+ } from "./chunk-B4XTM5TI.js";
4
4
  import {
5
5
  useBottomStrip
6
6
  } from "./chunk-62ITRDJX.js";
@@ -4,11 +4,11 @@ import {
4
4
  GoogleSignInButton,
5
5
  LoginModal,
6
6
  authPageDefinition
7
- } from "../../chunk-CUQ7R3H2.js";
8
- import "../../chunk-YVWJ4SW7.js";
7
+ } from "../../chunk-LL745D7M.js";
8
+ import "../../chunk-Z5YEBR6R.js";
9
9
  import "../../chunk-5ZMXFCD4.js";
10
10
  import "../../chunk-C3L53YN4.js";
11
- import "../../chunk-X4B3EBMY.js";
11
+ import "../../chunk-B4XTM5TI.js";
12
12
  import "../../chunk-W42SJGOJ.js";
13
13
  import "../../chunk-62ITRDJX.js";
14
14
  import "../../chunk-A2CDQISJ.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  GRAPHS_MENU_REQUIRED_SERVICES,
3
3
  GraphsMenu
4
- } from "../../chunk-TKGKVCB7.js";
5
- import "../../chunk-PH4NEHWR.js";
6
- import "../../chunk-X4B3EBMY.js";
4
+ } from "../../chunk-4GMTEWLE.js";
5
+ import "../../chunk-DZTJJOLR.js";
6
+ import "../../chunk-B4XTM5TI.js";
7
7
  export {
8
8
  GRAPHS_MENU_REQUIRED_SERVICES,
9
9
  GraphsMenu
@@ -2,8 +2,8 @@ import "../../chunk-2SD6BIUX.js";
2
2
  import {
3
3
  TilesMenu,
4
4
  tilesMenuDefinition
5
- } from "../../chunk-PH4NEHWR.js";
6
- import "../../chunk-X4B3EBMY.js";
5
+ } from "../../chunk-DZTJJOLR.js";
6
+ import "../../chunk-B4XTM5TI.js";
7
7
  export {
8
8
  TilesMenu,
9
9
  tilesMenuDefinition
@@ -12,9 +12,9 @@ import {
12
12
  createKloksWorkspaceStorageService,
13
13
  defaultWorkspaceStorageService,
14
14
  workspaceTilesMenuDefinition
15
- } from "../../chunk-QRSVZE4C.js";
16
- import "../../chunk-PH4NEHWR.js";
17
- import "../../chunk-X4B3EBMY.js";
15
+ } from "../../chunk-QTAFR2V6.js";
16
+ import "../../chunk-DZTJJOLR.js";
17
+ import "../../chunk-B4XTM5TI.js";
18
18
  export {
19
19
  SrklBackblazeTile,
20
20
  StorageOptionTiles,
@@ -1,7 +1,7 @@
1
- export { FrnlStoreProvider, FrnlStoreProviderProps, floksFrnlStore, getFloksFrnlStore, useFloksFrnlStore } from './store.js';
2
- import React__default from 'react';
1
+ export { FrnlStoreProvider, FrnlStoreProviderProps, floksFrnlFrontendApi, floksFrnlStore, getFloksFrnlStore, useFloksFrnlStore } from './store.js';
3
2
  import { FrnlOrchestrationDefinition } from '@ultrst-armada/frnlts';
4
- export { FrnlStore } from '@ultrst-armada/frnlts';
3
+ export { FrnlComponentControl, FrnlComponentSnapshot, FrnlFrontendApi, FrnlFrontendSnapshot, FrnlStore } from '@ultrst-armada/frnlts';
4
+ import React__default from 'react';
5
5
 
6
6
  type FrnlButtonVariant = 'primary' | 'secondary' | 'accent' | 'dock' | 'danger' | 'success' | 'ghost' | 'outline';
7
7
  type FrnlButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -9,25 +9,27 @@ import {
9
9
  frnlToggle,
10
10
  frnlToggleDefinition,
11
11
  frnlTopBar
12
- } from "../chunk-DGZBP3ND.js";
12
+ } from "../chunk-G5CYPT3P.js";
13
13
  import {
14
14
  frnlButton,
15
15
  frnlButtonDefinition,
16
16
  frnlTextInput,
17
17
  frnlTextInputDefinition
18
- } from "../chunk-YVWJ4SW7.js";
18
+ } from "../chunk-Z5YEBR6R.js";
19
19
  import "../chunk-5ZMXFCD4.js";
20
20
  import "../chunk-C3L53YN4.js";
21
21
  import {
22
22
  FrnlStoreProvider,
23
+ floksFrnlFrontendApi,
23
24
  floksFrnlStore,
24
25
  getFloksFrnlStore,
25
26
  useFloksFrnlStore
26
- } from "../chunk-X4B3EBMY.js";
27
+ } from "../chunk-B4XTM5TI.js";
27
28
  import "../chunk-62ITRDJX.js";
28
29
  import "../chunk-A2CDQISJ.js";
29
30
  export {
30
31
  FrnlStoreProvider,
32
+ floksFrnlFrontendApi,
31
33
  floksFrnlStore,
32
34
  frnlBadge,
33
35
  frnlBottomBar,
@@ -1,12 +1,15 @@
1
- import React__default, { ReactNode } from 'react';
1
+ import * as _ultrst_armada_frnlts from '@ultrst-armada/frnlts';
2
2
  import { FrnlStore } from '@ultrst-armada/frnlts';
3
3
  export { FrnlStore } from '@ultrst-armada/frnlts';
4
+ import React__default, { ReactNode } from 'react';
4
5
 
5
6
  /**
6
7
  * Default canonical shared FrnlTS semantic store for Floks UI assets.
7
8
  * For application-level custom store isolation, prefer using `FrnlStoreProvider`.
8
9
  */
9
10
  declare const floksFrnlStore: FrnlStore;
11
+ /** Canonical programmatic API for every Frnl component registered in Floks. */
12
+ declare const floksFrnlFrontendApi: _ultrst_armada_frnlts.FrnlFrontendApi;
10
13
  /**
11
14
  * Returns the currently active global Frnl store (defaults to `floksFrnlStore`).
12
15
  */
@@ -26,4 +29,4 @@ declare const FrnlStoreProvider: React__default.FC<FrnlStoreProviderProps>;
26
29
  */
27
30
  declare function useFloksFrnlStore(): FrnlStore;
28
31
 
29
- export { FrnlStoreProvider, type FrnlStoreProviderProps, floksFrnlStore, getFloksFrnlStore, useFloksFrnlStore };
32
+ export { FrnlStoreProvider, type FrnlStoreProviderProps, floksFrnlFrontendApi, floksFrnlStore, getFloksFrnlStore, useFloksFrnlStore };
@@ -1,11 +1,13 @@
1
1
  import {
2
2
  FrnlStoreProvider,
3
+ floksFrnlFrontendApi,
3
4
  floksFrnlStore,
4
5
  getFloksFrnlStore,
5
6
  useFloksFrnlStore
6
- } from "../chunk-X4B3EBMY.js";
7
+ } from "../chunk-B4XTM5TI.js";
7
8
  export {
8
9
  FrnlStoreProvider,
10
+ floksFrnlFrontendApi,
9
11
  floksFrnlStore,
10
12
  getFloksFrnlStore,
11
13
  useFloksFrnlStore
@@ -24,12 +24,12 @@ import {
24
24
  ToggleInput,
25
25
  ToolbarPanel,
26
26
  UIParent
27
- } from "../chunk-SXRIBCJX.js";
27
+ } from "../chunk-Q324BMDJ.js";
28
28
  import "../chunk-ZQK5I5ZL.js";
29
29
  import "../chunk-XXIH2HWI.js";
30
30
  import "../chunk-5ZMXFCD4.js";
31
31
  import "../chunk-C3L53YN4.js";
32
- import "../chunk-X4B3EBMY.js";
32
+ import "../chunk-B4XTM5TI.js";
33
33
  import "../chunk-62ITRDJX.js";
34
34
  import "../chunk-A2CDQISJ.js";
35
35
  export {
@@ -14,9 +14,9 @@ export { BackblazeAccount, BackblazeBucket, KloksServiceInvoker, SrklBackblazeAc
14
14
  export { AIKeyEntry, AIKeyUsageStats, AIModelMeta, AIModelPicker, AIModelPickerProps, AIProviderMeta, AIProviderSelector, AIProviderSelectorProps, AgentExecutionCard, AgentExecutionCardProps, ChatMessage, DirectChatHeader, DirectChatHeaderProps, DirectChatInput, DirectChatInputProps, DirectChatMessageList, DirectChatMessageListProps, EmailProfileCard, EmailProfileCardProps, EmailProfileRegistrationForm, EmailProfileRegistrationFormProps, EmailProviderRow, EmailProviderRowProps, ExistingKeyControl, ExistingKeyControlProps, KeyBackupExportTab, KeyBackupExportTabProps, KeyBackupImportTab, KeyBackupImportTabProps, KeyBackupModal, KeyBackupModalProps, KeyListContainer, KeyListContainerProps, KeyModelVerificationSuite, KeyModelVerificationSuiteProps, KeyProviderFilterBar, KeyProviderFilterBarProps, ModelCard, ModelCardFooter, ModelCardFooterProps, ModelCardHeader, ModelCardHeaderProps, ModelCardProps, SingleKeyCard, SingleKeyCardProps, SingleKeyForm, SingleKeyFormProps, TimelineLogItem, TimelineScrubber, TimelineScrubberProps, getProviderIcon } from './components/ai/index.js';
15
15
  export { DEFAULT_PALETTE_ID, THEME_STORAGE_KEY, ThemeContextValue, ThemeProvider, ThemeProviderProps, applyPaletteToDocument, getActivePalette, paletteToSkipoThemePack, subscribeToPalette, usePalette, useTheme } from './palette/index.js';
16
16
  export { ActionButton, Badge, BadgeProps, BadgeTone, ButtonParent, ButtonParentProps, ButtonProps, ButtonSize, ButtonVariant, CardPanel, CategoryCardTile, ChannelStripTile, ClipCardTile, DangerButton, GhostButton, IconButton, InspectorPanel, ModalPanel, PanelParent, PanelParentProps, PanelProps, PanelVariant, SelectInput, SelectInputProps, SliderInput, SliderInputProps, SpawnOptionTile, SplitButton, SplitButtonProps, StatusDot, StatusDotProps, TelemetryPill, TelemetryPillProps, TextInput, TextInputProps, TileParent, TileParentProps, TileVariant, ToggleButton, ToggleInput, ToggleInputProps, ToolbarPanel, TooltipDirection, UIBaseProps, UIInteractionState, UIParent, UIParentProps, UIProps, UIRole, UISize, UIStyleTokens, UIVariant } from './hierarchy/index.js';
17
- export { FrnlStoreProvider, FrnlStoreProviderProps, floksFrnlStore, getFloksFrnlStore, useFloksFrnlStore } from './frnl/store.js';
17
+ export { FrnlStoreProvider, FrnlStoreProviderProps, floksFrnlFrontendApi, floksFrnlStore, getFloksFrnlStore, useFloksFrnlStore } from './frnl/store.js';
18
+ export { FrnlComponentControl, FrnlComponentSnapshot, FrnlFrontendApi, FrnlFrontendSnapshot, FrnlStore } from '@ultrst-armada/frnlts';
18
19
  export { FrnlApiRequestLog, FrnlBadgeProps, FrnlBottomBarProps, FrnlBreadcrumbItem, FrnlButtonProps, FrnlButtonSize, FrnlButtonVariant, FrnlPageProps, FrnlPageTab, FrnlSelectOption, FrnlSelectProps, FrnlSliderProps, FrnlTabItem, FrnlTabWindowProps, FrnlTextInputProps, FrnlToggleProps, FrnlTopBarProps, FrnlTopBarTab, FrnlUserProfile, frnlBadge, frnlBottomBar, frnlButton, frnlButtonDefinition, frnlPage, frnlSelect, frnlSelectDefinition, frnlSlider, frnlTabWindow, frnlTextInput, frnlTextInputDefinition, frnlToggle, frnlToggleDefinition, frnlTopBar } from './frnl/index.js';
19
- export { FrnlStore } from '@ultrst-armada/frnlts';
20
20
  import 'zod';
21
21
  import 'react';
22
22
  import '@xyflow/react';
@@ -12,7 +12,7 @@ import {
12
12
  createKloksWorkspaceStorageService,
13
13
  defaultWorkspaceStorageService,
14
14
  workspaceTilesMenuDefinition
15
- } from "./chunk-QRSVZE4C.js";
15
+ } from "./chunk-QTAFR2V6.js";
16
16
  import {
17
17
  ConfirmDialog,
18
18
  CopyableErrorAlert,
@@ -44,7 +44,7 @@ import {
44
44
  import {
45
45
  GRAPHS_MENU_REQUIRED_SERVICES,
46
46
  GraphsMenu
47
- } from "./chunk-TKGKVCB7.js";
47
+ } from "./chunk-4GMTEWLE.js";
48
48
  import {
49
49
  AppShell,
50
50
  BreadcrumbNav,
@@ -63,7 +63,19 @@ import "./chunk-2SD6BIUX.js";
63
63
  import {
64
64
  TilesMenu,
65
65
  tilesMenuDefinition
66
- } from "./chunk-PH4NEHWR.js";
66
+ } from "./chunk-DZTJJOLR.js";
67
+ import {
68
+ frnlBadge,
69
+ frnlBottomBar,
70
+ frnlPage,
71
+ frnlSelect,
72
+ frnlSelectDefinition,
73
+ frnlSlider,
74
+ frnlTabWindow,
75
+ frnlToggle,
76
+ frnlToggleDefinition,
77
+ frnlTopBar
78
+ } from "./chunk-G5CYPT3P.js";
67
79
  import {
68
80
  ActionButton,
69
81
  Badge,
@@ -90,19 +102,7 @@ import {
90
102
  ToggleInput,
91
103
  ToolbarPanel,
92
104
  UIParent
93
- } from "./chunk-SXRIBCJX.js";
94
- import {
95
- frnlBadge,
96
- frnlBottomBar,
97
- frnlPage,
98
- frnlSelect,
99
- frnlSelectDefinition,
100
- frnlSlider,
101
- frnlTabWindow,
102
- frnlToggle,
103
- frnlToggleDefinition,
104
- frnlTopBar
105
- } from "./chunk-DGZBP3ND.js";
105
+ } from "./chunk-Q324BMDJ.js";
106
106
  import "./chunk-SLJBDDSN.js";
107
107
  import {
108
108
  DEFAULT_PALETTE_ID,
@@ -210,13 +210,13 @@ import {
210
210
  GoogleSignInButton,
211
211
  LoginModal,
212
212
  authPageDefinition
213
- } from "./chunk-CUQ7R3H2.js";
213
+ } from "./chunk-LL745D7M.js";
214
214
  import {
215
215
  frnlButton,
216
216
  frnlButtonDefinition,
217
217
  frnlTextInput,
218
218
  frnlTextInputDefinition
219
- } from "./chunk-YVWJ4SW7.js";
219
+ } from "./chunk-Z5YEBR6R.js";
220
220
  import "./chunk-5ZMXFCD4.js";
221
221
  import {
222
222
  ApiCallIndicator,
@@ -227,10 +227,11 @@ import {
227
227
  } from "./chunk-C3L53YN4.js";
228
228
  import {
229
229
  FrnlStoreProvider,
230
+ floksFrnlFrontendApi,
230
231
  floksFrnlStore,
231
232
  getFloksFrnlStore,
232
233
  useFloksFrnlStore
233
- } from "./chunk-X4B3EBMY.js";
234
+ } from "./chunk-B4XTM5TI.js";
234
235
  import {
235
236
  BaseInput
236
237
  } from "./chunk-W42SJGOJ.js";
@@ -390,6 +391,7 @@ export {
390
391
  createKloksWorkspaceStorageService,
391
392
  defaultWorkspaceStorageService,
392
393
  depmThemeSocket,
394
+ floksFrnlFrontendApi,
393
395
  floksFrnlStore,
394
396
  frnlBadge,
395
397
  frnlBottomBar,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floks/ui",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Floks UI — Reusable React Component Library with Theme Engine, Base Primitives, Containers, Composite & Layout",
5
5
  "type": "module",
6
6
  "private": false,
@@ -103,7 +103,7 @@
103
103
  },
104
104
  "dependencies": {
105
105
  "zod": "^3.24.1",
106
- "@ultrst-armada/frnlts": "^0.2.7",
106
+ "@ultrst-armada/frnlts": "^0.3.0",
107
107
  "zustand": "^5.0.3",
108
108
  "@xyflow/react": "^12.8.6",
109
109
  "d3-force": "^3.0.0"