fluxflow-cli 4.21.4 → 4.22.0
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/chunks/{ai-5JYANPG2.js → ai-RFTQLPYD.js} +1 -1
- package/dist/chunks/app-D7ZS4M6W.js +287 -0
- package/dist/chunks/{chunk-4XZGWK5L.js → chunk-2KD7V3OK.js} +5 -5
- package/dist/chunks/{chunk-ZTJSZ3TU.js → chunk-57DBJNK7.js} +9 -9
- package/dist/chunks/{chunk-FMXVRTDX.js → chunk-5F3QPKCX.js} +1 -1
- package/dist/chunks/{chunk-RN5BZJYO.js → chunk-74DZYKIT.js} +1 -1
- package/dist/chunks/{chunk-LI4AVCBN.js → chunk-IU4E277E.js} +14 -15
- package/dist/chunks/{chunk-UN6TUQZX.js → chunk-JWZGZEZA.js} +1 -1
- package/dist/chunks/chunk-NXJB3LHY.js +932 -0
- package/dist/chunks/chunk-PS3TUC3G.js +1 -0
- package/dist/chunks/{chunk-33KD6VKN.js → chunk-VWSAPCIS.js} +1 -1
- package/dist/chunks/{click-H7HTKF3R.js → click-E6NYFK47.js} +2 -2
- package/dist/chunks/{computer_action-UTDLLMF2.js → computer_action-GP5ARBTA.js} +1 -1
- package/dist/chunks/{drag-U6X3O5GB.js → drag-3QT4IG5X.js} +1 -1
- package/dist/chunks/{emergency_rollback-HWM4FJ6J.js → emergency_rollback-ZVBFZBFU.js} +3 -3
- package/dist/chunks/exec_command-BP3TON5E.js +1 -0
- package/dist/chunks/{generate_image-KQBOTDD4.js → generate_image-J5SWUTUI.js} +1 -1
- package/dist/chunks/{invoke-AH6RHLHH.js → invoke-NX4ZZRZI.js} +2 -2
- package/dist/chunks/{invokeSync-5ZLT4QPT.js → invokeSync-KKRTA6RL.js} +2 -2
- package/dist/chunks/{key_press-QRO3OFLC.js → key_press-4ZHQKB6I.js} +1 -1
- package/dist/chunks/{keyboard_typing-FXP3VJ6Q.js → keyboard_typing-IOO3FFFJ.js} +1 -1
- package/dist/chunks/{screen_grid-EIPLWNEM.js → screen_grid-DR34XH4Z.js} +1 -1
- package/dist/chunks/{scroll-SND6RHXA.js → scroll-HV6GUO5L.js} +1 -1
- package/dist/chunks/{settings-JGWWOFEC.js → settings-6BPZ6DG5.js} +1 -1
- package/dist/chunks/{update_file-BXYTHDAC.js → update_file-IW7GUUIG.js} +1 -1
- package/dist/chunks/{usage-XHKS6GHC.js → usage-5LVLEH5S.js} +1 -1
- package/dist/chunks/usageServer-F2KOFF6O.js +1 -0
- package/dist/chunks/view_file-4UCCUBFK.js +1 -0
- package/dist/chunks/{write_file-QMTFTJ6V.js → write_file-SP26GOE3.js} +1 -1
- package/dist/cli.js +21 -21
- package/dist/package.json +2 -2
- package/package.json +2 -2
- package/dist/chunks/app-X6JGSSDA.js +0 -285
- package/dist/chunks/chunk-I4JQEUHE.js +0 -1
- package/dist/chunks/chunk-URIWGTUH.js +0 -930
- package/dist/chunks/exec_command-4HNJZE5T.js +0 -1
- package/dist/chunks/usageServer-IDNRWIJW.js +0 -1
- package/dist/chunks/view_file-JRVPAETL.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as u}from"./chunk-QGPOMXO4.js";import{e as m,f as c}from"./chunk-SIINYZWE.js";import{b as r}from"./chunk-RI37VZYB.js";import n from"fs-extra";import g from"path";var s={mode:"Flux",display:0,thinkingLevel:"Medium",aiProvider:"Google",activeModel:u("Google","Free")||"gemma-4-31b-it",showFullThinking:!0,apiTier:"Free",quotas:{agentLimit:999999,backgroundLimit:999999,searchLimit:100,customModelId:"",customLimit:0,providerTiers:{Google:"Free",DeepSeek:"Free",NVIDIA:"Free",OpenRouter:"Free",InferX:"Free",SenseNova:"Free",Poolside:"Free",ExpLabs:"Free",TokenHarbor:"Free",APInex:"Free"}},systemSettings:{memory:!1,theme:"Dark",compression:0,autoExec:!0,allowExternalAccess:!1,advanceRollback:!1,autoDeleteHistory:"7d",useExternalData:!1,externalDataPath:"",preserveThinking:!0,loadingPhrases:!0,progressiveRendering:!0,showTPMEstimate:!0,subAgents:!1,CustomSubAgent:!1,SubAgentModel:"Default",SubAgentProvider:"",dynamicDirAwareness:!1,indentationTree:!0,ollamaEndpoint:"Cloud",compressToolResults:!1,autoTruncateResults:!0,imageHistoryCU:"Standard",contextLength:"256k",keepReasoningContext:!1,autoExcludeMetadata:!1},profileData:{name:null,nickname:null,instructions:null},imageSettings:{keyType:"Default",quality:"Low-High",apiKey:""}},p=async()=>{let t={...s};try{if(await n.exists(r)){let e=m(r);if(e.imageSettings&&e.imageSettings.apiKey)try{let a=e.imageSettings.apiKey,{saveSecret:i}=await import("./secrets-RFEEPY3S.js");await i("POLLINATIONS_API_KEY",a),e.imageSettings.apiKey="",c(r,e)}catch{}t={...s,...e,quotas:{...s.quotas,...e.quotas,providerTiers:{...s.quotas.providerTiers,...e.quotas?.providerTiers||{}}},systemSettings:{...s.systemSettings,...e.systemSettings},profileData:{...s.profileData,...e.profileData},imageSettings:{...s.imageSettings,...e.imageSettings}}}}catch(e){console.error("Failed to load settings:",e)}try{let{getSecret:e}=await import("./secrets-RFEEPY3S.js"),a=await e("POLLINATIONS_API_KEY");a&&(t.imageSettings.apiKey=a)}catch{}if(t.showFullThinking===!1){t.showFullThinking=!0;try{c(r,t)}catch{}}return t},S=async t=>{let{FLUXFLOW_DIR:e}=await import("./paths-Y7ACZJAE.js"),a=["logs","secret"];for(let i of a){let l=g.join(e,i),o=g.join(t,i);try{await n.exists(l)&&(await n.ensureDir(o),await n.copy(l,o,{overwrite:!0}))}catch(d){console.error(`Migration failed for ${i}:`,d)}}},D=async t=>{try{let e=await p();if(!e.systemSettings.useExternalData&&t.systemSettings?.useExternalData&&t.systemSettings?.externalDataPath&&await S(t.systemSettings.externalDataPath),t.imageSettings&&t.imageSettings.apiKey!==void 0){let{saveSecret:i,removeSecret:l}=await import("./secrets-RFEEPY3S.js"),o=t.imageSettings.apiKey;o?await i("POLLINATIONS_API_KEY",o):await l("POLLINATIONS_API_KEY")}let a={...e,...t};return a.imageSettings&&(a.imageSettings={...a.imageSettings,apiKey:""}),await n.ensureDir(g.dirname(r)),c(r,a),!0}catch(e){return console.error("Failed to save settings:",e),!1}};export{p as a,D as b};
|