fluxflow-cli 1.8.5 → 1.8.7
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/dist/fluxflow.js +41 -3
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -2423,7 +2423,7 @@ var init_terminal = __esm({
|
|
|
2423
2423
|
});
|
|
2424
2424
|
|
|
2425
2425
|
// src/utils/ai.js
|
|
2426
|
-
import { GoogleGenAI, ThinkingLevel } from "@google/genai";
|
|
2426
|
+
import { GoogleGenAI, ThinkingLevel, HarmBlockThreshold, HarmCategory } from "@google/genai";
|
|
2427
2427
|
import path16 from "path";
|
|
2428
2428
|
import fs16 from "fs";
|
|
2429
2429
|
var client, TERMINATION_SIGNAL, signalTermination, detectToolCalls, initAI, getAIStream;
|
|
@@ -2583,6 +2583,26 @@ var init_ai = __esm({
|
|
|
2583
2583
|
config: {
|
|
2584
2584
|
systemInstruction: currentSystemInstruction,
|
|
2585
2585
|
temperature: mode === "Flux" ? 1 : 1.3,
|
|
2586
|
+
maxOutputTokens: 32768,
|
|
2587
|
+
mediaResolution: "MEDIA_RESOLUTION_MEDIUM",
|
|
2588
|
+
safetySettings: [
|
|
2589
|
+
{
|
|
2590
|
+
category: HarmCategory.HARM_CATEGORY_HARASSMENT,
|
|
2591
|
+
threshold: HarmBlockThreshold.BLOCK_NONE
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
category: HarmCategory.HARM_CATEGORY_HATE_SPEECH,
|
|
2595
|
+
threshold: HarmBlockThreshold.BLOCK_NONE
|
|
2596
|
+
},
|
|
2597
|
+
{
|
|
2598
|
+
category: HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT,
|
|
2599
|
+
threshold: HarmBlockThreshold.BLOCK_NONE
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
category: HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT,
|
|
2603
|
+
threshold: HarmBlockThreshold.BLOCK_NONE
|
|
2604
|
+
}
|
|
2605
|
+
],
|
|
2586
2606
|
thinkingConfig: {
|
|
2587
2607
|
includeThoughts: false,
|
|
2588
2608
|
thinkingLevel: ThinkingLevel.MINIMAL
|
|
@@ -2848,8 +2868,26 @@ ${boxBottom}
|
|
|
2848
2868
|
model: janitorModel || "gemma-4-26b-a4b-it",
|
|
2849
2869
|
contents: janitorContents,
|
|
2850
2870
|
config: {
|
|
2851
|
-
maxOutputTokens:
|
|
2871
|
+
maxOutputTokens: 384,
|
|
2852
2872
|
temperature: 0.69,
|
|
2873
|
+
safetySettings: [
|
|
2874
|
+
{
|
|
2875
|
+
category: HarmCategory.HARM_CATEGORY_HARASSMENT,
|
|
2876
|
+
threshold: HarmBlockThreshold.BLOCK_NONE
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
category: HarmCategory.HARM_CATEGORY_HATE_SPEECH,
|
|
2880
|
+
threshold: HarmBlockThreshold.BLOCK_NONE
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
category: HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT,
|
|
2884
|
+
threshold: HarmBlockThreshold.BLOCK_NONE
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
category: HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT,
|
|
2888
|
+
threshold: HarmBlockThreshold.BLOCK_NONE
|
|
2889
|
+
}
|
|
2890
|
+
],
|
|
2853
2891
|
thinkingConfig: {
|
|
2854
2892
|
includeThoughts: false,
|
|
2855
2893
|
thinkingLevel: ThinkingLevel.MINIMAL
|
|
@@ -4825,7 +4863,7 @@ var init_app = __esm({
|
|
|
4825
4863
|
init_text();
|
|
4826
4864
|
SESSION_START_TIME = Date.now();
|
|
4827
4865
|
CHANGELOG_URL = "https://fluxflow-cli.onrender.com/changelog.html";
|
|
4828
|
-
versionFluxflow = "1.8.
|
|
4866
|
+
versionFluxflow = "1.8.7";
|
|
4829
4867
|
updatedOn = "2026-05-08";
|
|
4830
4868
|
ResolutionModal = ({ data, onResolve, onEdit }) => /* @__PURE__ */ React10.createElement(Box10, { flexDirection: "column", borderStyle: "round", borderColor: "magenta", paddingX: 2, paddingY: 1, width: "100%" }, /* @__PURE__ */ React10.createElement(Text10, { color: "magenta", bold: true, underline: true }, "\u{1F7E3} STEERING HINT RESOLUTION"), /* @__PURE__ */ React10.createElement(Text10, { marginTop: 1 }, "The agent already finished the task before your hint was consumed."), /* @__PURE__ */ React10.createElement(Box10, { marginTop: 1, backgroundColor: "#222", paddingX: 1, width: "100%" }, /* @__PURE__ */ React10.createElement(Text10, { italic: true, color: "gray" }, '"', data, '"')), /* @__PURE__ */ React10.createElement(Box10, { marginTop: 1 }, /* @__PURE__ */ React10.createElement(Text10, { color: "cyan" }, "How would you like to proceed?")), /* @__PURE__ */ React10.createElement(Box10, { marginTop: 1 }, /* @__PURE__ */ React10.createElement(
|
|
4831
4869
|
CommandMenu,
|