@ultrst-armada/floks 1.12.2 → 1.13.4
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/.krusbl-release-attestation.json +3 -3
- package/package.json +5 -5
- package/packages/canvas-ui/package.json +2 -2
- package/packages/ui/dist/{chunk-2US2HKL6.js → chunk-5QDNIDDN.js} +2 -0
- package/packages/ui/dist/{chunk-BYEKOTEG.js → chunk-RBYTWUD4.js} +1 -1
- package/packages/ui/dist/{chunk-UJK3JKRK.js → chunk-XMRSW4TL.js} +10 -3
- package/packages/ui/dist/components/ai/index.d.ts +1 -0
- package/packages/ui/dist/components/ai/index.js +1 -1
- package/packages/ui/dist/components/auth/index.js +2 -2
- package/packages/ui/dist/frnl/index.d.ts +2 -1
- package/packages/ui/dist/frnl/index.js +1 -1
- package/packages/ui/dist/index.js +3 -3
- 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.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "1.13.4",
|
|
5
|
+
"sourceCommit": "263c5e058791e5069309c71f5bd3936d23190842",
|
|
6
6
|
"releaseWorkflow": "npm Release",
|
|
7
|
-
"workflowRunId": "
|
|
7
|
+
"workflowRunId": "41290610321"
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultrst-armada/floks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
"clean": "pnpm -r run clean"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@ultrst-armada/frnlts": "^0.
|
|
77
|
+
"@ultrst-armada/frnlts": "^0.5.3",
|
|
78
78
|
"@xyflow/react": "^12.8.6",
|
|
79
79
|
"d3-force": "^3.0.0",
|
|
80
80
|
"zod": "^3.24.1",
|
|
81
81
|
"zustand": "^5.0.3",
|
|
82
|
-
"@dinilmusick/gutts": "^1.2
|
|
82
|
+
"@dinilmusick/gutts": "^1.3.2"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"@ultrst-armada/kloks": "^1.17.0",
|
|
@@ -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.
|
|
97
|
-
"@ultrst-armada/frnlts": "^0.
|
|
96
|
+
"@ultrst-armada/kloks": "^1.24.0",
|
|
97
|
+
"@ultrst-armada/frnlts": "^0.5.3",
|
|
98
98
|
"happy-dom": "^21.0.3",
|
|
99
99
|
"lucide-react": "^1.55.0",
|
|
100
100
|
"react": "^19.0.1",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@floks/ui": "workspace:*",
|
|
78
|
-
"@ultrst-armada/frnlts": "^0.
|
|
79
|
-
"@ultrst-armada/kloks": "^1.
|
|
78
|
+
"@ultrst-armada/frnlts": "^0.5.3",
|
|
79
|
+
"@ultrst-armada/kloks": "^1.24.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"@dnd-kit/core": "^6.0.0",
|
|
@@ -282,6 +282,7 @@ var frnlTextInput = ({
|
|
|
282
282
|
onClear,
|
|
283
283
|
semanticInput,
|
|
284
284
|
onSemanticValue,
|
|
285
|
+
onSemanticResult,
|
|
285
286
|
disabled = false,
|
|
286
287
|
value,
|
|
287
288
|
name,
|
|
@@ -339,6 +340,7 @@ var frnlTextInput = ({
|
|
|
339
340
|
const handleSemanticBlur = async () => {
|
|
340
341
|
if (!effectiveSemanticInput || typeof value !== "string" || !value.trim()) return;
|
|
341
342
|
const result = await resolveFrnlInput(effectiveSemanticInput, value, semanticContext);
|
|
343
|
+
onSemanticResult?.(result);
|
|
342
344
|
if (result && result.status === "resolved" && result.value !== void 0) {
|
|
343
345
|
onSemanticValue?.(result.value, result.rawInput);
|
|
344
346
|
const strVal = typeof result.value === "string" ? result.value : String(result.value);
|
|
@@ -1063,13 +1063,14 @@ var DirectChatMessageList = ({
|
|
|
1063
1063
|
|
|
1064
1064
|
// src/components/ai/chat/DirectChatInput.tsx
|
|
1065
1065
|
import { useState as useState10 } from "react";
|
|
1066
|
-
import { Send } from "lucide-react";
|
|
1066
|
+
import { Bug, Send } from "lucide-react";
|
|
1067
1067
|
import { jsx as jsx21, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1068
1068
|
var DirectChatInput = ({
|
|
1069
1069
|
onSendMessage,
|
|
1070
1070
|
disabled = false,
|
|
1071
1071
|
placeholder = "Type a prompt... (Shift+Enter for new line)",
|
|
1072
|
-
toolsSlot
|
|
1072
|
+
toolsSlot,
|
|
1073
|
+
onReportBug
|
|
1073
1074
|
}) => {
|
|
1074
1075
|
const [content, setContent] = useState10("");
|
|
1075
1076
|
const handleKeyDown = (e) => {
|
|
@@ -1084,7 +1085,13 @@ var DirectChatInput = ({
|
|
|
1084
1085
|
setContent("");
|
|
1085
1086
|
};
|
|
1086
1087
|
return /* @__PURE__ */ jsxs21("div", { className: "p-3 border-t border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 font-mono text-xs", children: [
|
|
1087
|
-
/* @__PURE__ */ jsx21("div", { className: "flex items-center justify-between pb-2", children: /* @__PURE__ */
|
|
1088
|
+
/* @__PURE__ */ jsx21("div", { className: "flex items-center justify-between pb-2", children: /* @__PURE__ */ jsxs21("div", { className: "flex items-center gap-2", children: [
|
|
1089
|
+
toolsSlot,
|
|
1090
|
+
onReportBug && /* @__PURE__ */ jsxs21(BaseButton, { size: "sm", variant: "ghost", onClick: () => content.trim() && onReportBug(content.trim()), disabled: disabled || !content.trim(), title: "Report bug", children: [
|
|
1091
|
+
/* @__PURE__ */ jsx21(Bug, { size: 13 }),
|
|
1092
|
+
" Report bug"
|
|
1093
|
+
] })
|
|
1094
|
+
] }) }),
|
|
1088
1095
|
/* @__PURE__ */ jsxs21("div", { className: "flex items-end gap-2", children: [
|
|
1089
1096
|
/* @__PURE__ */ jsx21("div", { className: "flex-1", children: /* @__PURE__ */ jsx21(
|
|
1090
1097
|
BaseTextarea,
|
|
@@ -359,6 +359,7 @@ interface DirectChatInputProps {
|
|
|
359
359
|
disabled?: boolean;
|
|
360
360
|
placeholder?: string;
|
|
361
361
|
toolsSlot?: React__default.ReactNode;
|
|
362
|
+
onReportBug?: (description: string) => void;
|
|
362
363
|
}
|
|
363
364
|
declare const DirectChatInput: React__default.FC<DirectChatInputProps>;
|
|
364
365
|
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GoogleSignInButton,
|
|
5
5
|
LoginModal,
|
|
6
6
|
authPageDefinition
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-RBYTWUD4.js";
|
|
8
|
+
import "../../chunk-5QDNIDDN.js";
|
|
9
9
|
import "../../chunk-5ZMXFCD4.js";
|
|
10
10
|
import "../../chunk-C3L53YN4.js";
|
|
11
11
|
import "../../chunk-B4XTM5TI.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { FrnlStoreProvider, FrnlStoreProviderProps, floksFrnlFrontendApi, floksFrnlStore, getFloksFrnlStore, useFloksFrnlStore } from './store.js';
|
|
2
|
-
import { FrnlInputContract, FrnlOrchestrationDefinition } from '@ultrst-armada/frnlts';
|
|
2
|
+
import { FrnlInputContract, FrnlResolvedInput, FrnlOrchestrationDefinition } from '@ultrst-armada/frnlts';
|
|
3
3
|
export { FrnlComponentControl, FrnlComponentSnapshot, FrnlFrontendApi, FrnlFrontendSnapshot, FrnlInputContract, FrnlStore } from '@ultrst-armada/frnlts';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
|
|
@@ -175,6 +175,7 @@ interface FrnlTextInputProps extends Omit<React__default.InputHTMLAttributes<HTM
|
|
|
175
175
|
/** undefined = framework auto contract; null = explicitly disable semantic resolution. */
|
|
176
176
|
semanticInput?: FrnlInputContract<any> | null;
|
|
177
177
|
onSemanticValue?: (value: any, rawInput?: string) => void;
|
|
178
|
+
onSemanticResult?: (result: FrnlResolvedInput<any>) => void;
|
|
178
179
|
}
|
|
179
180
|
declare const frnlTextInputDefinition: {
|
|
180
181
|
name: string;
|
|
@@ -189,7 +189,7 @@ import {
|
|
|
189
189
|
SingleKeyForm,
|
|
190
190
|
TimelineScrubber,
|
|
191
191
|
getProviderIcon
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-XMRSW4TL.js";
|
|
193
193
|
import {
|
|
194
194
|
BaseSelect,
|
|
195
195
|
BaseTextarea,
|
|
@@ -210,13 +210,13 @@ import {
|
|
|
210
210
|
GoogleSignInButton,
|
|
211
211
|
LoginModal,
|
|
212
212
|
authPageDefinition
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-RBYTWUD4.js";
|
|
214
214
|
import {
|
|
215
215
|
frnlButton,
|
|
216
216
|
frnlButtonDefinition,
|
|
217
217
|
frnlTextInput,
|
|
218
218
|
frnlTextInputDefinition
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-5QDNIDDN.js";
|
|
220
220
|
import "./chunk-5ZMXFCD4.js";
|
|
221
221
|
import {
|
|
222
222
|
ApiCallIndicator,
|
package/packages/ui/package.json
CHANGED
|
@@ -97,13 +97,13 @@
|
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
"scripts": {
|
|
100
|
-
"build": "tsup src/index.ts src/theme/index.ts src/palette/index.ts src/hierarchy/index.ts src/frnl/index.ts src/frnl/store.ts src/components/base/index.ts src/components/containers/index.ts src/components/composite/index.ts src/components/layout/index.ts src/components/bottom-strip/index.ts src/components/settings/index.ts src/components/auth/index.ts src/components/workspace/index.ts src/components/tiles/index.ts src/components/graph/index.ts src/components/ai/index.ts --format esm --dts --clean --external react --external react-dom --external lucide-react",
|
|
100
|
+
"build": "tsup src/index.ts src/theme/index.ts src/palette/index.ts src/hierarchy/index.ts src/frnl/index.ts src/frnl/store.ts src/components/base/index.ts src/components/containers/index.ts src/components/composite/index.ts src/components/layout/index.ts src/components/bottom-strip/index.ts src/components/settings/index.ts src/components/auth/index.ts src/components/workspace/index.ts src/components/tiles/index.ts src/components/graph/index.ts src/components/ai/index.ts --format esm --dts --clean --external react --external react-dom --external lucide-react --external @ultrst-armada/frnlts",
|
|
101
101
|
"typecheck": "tsc --noEmit",
|
|
102
102
|
"clean": "rm -rf dist"
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
105
|
"zod": "^3.24.1",
|
|
106
|
-
"@ultrst-armada/frnlts": "^0.
|
|
106
|
+
"@ultrst-armada/frnlts": "^0.5.3",
|
|
107
107
|
"zustand": "^5.0.3",
|
|
108
108
|
"@xyflow/react": "^12.8.6",
|
|
109
109
|
"d3-force": "^3.0.0"
|