fluxflow-cli 4.48.0 → 4.49.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.
Files changed (39) hide show
  1. package/README.md +2 -0
  2. package/dist/chunks/{ai-BIUKENP6.js → ai-QEMKCYGG.js} +1 -1
  3. package/dist/chunks/app-6TAUOS56.js +333 -0
  4. package/dist/chunks/{auto_completion-JQ37MRZ7.js → auto_completion-33R46AFF.js} +1 -1
  5. package/dist/chunks/chunk-2XQIWDKW.js +1 -0
  6. package/dist/chunks/{chunk-OSSZ4LIE.js → chunk-2YDU2B2F.js} +1 -1
  7. package/dist/chunks/chunk-36FKJWXK.js +949 -0
  8. package/dist/chunks/{chunk-XDY4KWTM.js → chunk-AIWOSKP3.js} +1 -1
  9. package/dist/chunks/{chunk-MS33ZWST.js → chunk-IMX3PWYO.js} +1 -1
  10. package/dist/chunks/{chunk-ER3SNTS7.js → chunk-TNA3R7TS.js} +1 -1
  11. package/dist/chunks/{chunk-U2GX6WT2.js → chunk-ZCM4J7JT.js} +1 -1
  12. package/dist/chunks/{click-R35XTYKT.js → click-HMFVJIQN.js} +2 -2
  13. package/dist/chunks/{computer_action-WNXZNAIZ.js → computer_action-6AYM3W7D.js} +1 -1
  14. package/dist/chunks/{custom_openai-YS5EV6DG.js → custom_openai-HY6EEQI2.js} +1 -1
  15. package/dist/chunks/{drag-IB5WSI6F.js → drag-H53TOSDP.js} +1 -1
  16. package/dist/chunks/{generate_image-VW5VG6VI.js → generate_image-JS7J4FLD.js} +1 -1
  17. package/dist/chunks/{invoke-IUEAUE3X.js → invoke-WGWAIYZH.js} +3 -3
  18. package/dist/chunks/{invokeSync-4JX2JCZC.js → invokeSync-DCL3EMVV.js} +2 -2
  19. package/dist/chunks/{key_press-XDYBP7DW.js → key_press-NF322TXF.js} +1 -1
  20. package/dist/chunks/{keyboard_typing-YHYH7O66.js → keyboard_typing-OADL5LPA.js} +1 -1
  21. package/dist/chunks/{ollama-QB7WX7VD.js → ollama-NWY2XLYF.js} +1 -1
  22. package/dist/chunks/{recapture_screen-F6ZPZU56.js → recapture_screen-IXVMQR5C.js} +1 -1
  23. package/dist/chunks/{screen_grid-IWNA3DA2.js → screen_grid-DGIDOOQD.js} +1 -1
  24. package/dist/chunks/{scroll-GIP2J2QN.js → scroll-B3HCFDTS.js} +1 -1
  25. package/dist/chunks/{search_keyword-O52M65TB.js → search_keyword-UXNKLCGC.js} +1 -1
  26. package/dist/chunks/{secrets-YIWFP4S2.js → secrets-NGDMM5RJ.js} +1 -1
  27. package/dist/chunks/{secrets_v2-TEUFHDI7.js → secrets_v2-R5GMXRT3.js} +1 -1
  28. package/dist/chunks/{settings-HSQ2K6DN.js → settings-JME7GCEU.js} +1 -1
  29. package/dist/chunks/{update_file-QKDDZKOX.js → update_file-YXW37NRJ.js} +1 -1
  30. package/dist/chunks/{usage-6V4XZT3Q.js → usage-URT2EC23.js} +1 -1
  31. package/dist/chunks/{usageServer-4XHUFY7X.js → usageServer-RJDE5QDZ.js} +1 -1
  32. package/dist/chunks/write_file-WMLWKQKI.js +32 -0
  33. package/dist/cli.js +3 -3
  34. package/dist/package.json +2 -2
  35. package/package.json +2 -2
  36. package/dist/chunks/app-OC5IRTIV.js +0 -333
  37. package/dist/chunks/chunk-45DLFA4C.js +0 -1
  38. package/dist/chunks/chunk-GRNJ7SA3.js +0 -937
  39. package/dist/chunks/write_file-D7QA2LB2.js +0 -29
@@ -1 +0,0 @@
1
- import{e as m,f as c}from"./chunk-P5HBJA23.js";import{b as s}from"./chunk-26BQ45XP.js";import r from"fs-extra";import p from"path";var o={mode:"Flux",display:0,thinkingLevel:"Medium",aiProvider:"",activeModel:"",activeKeyIndex:{},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",Infron:"Free",APInex:"Free",xKiro:"Free",c_openai:"Free"}},systemSettings:{customOpenAIBaseUrl:"",memory:!1,theme:"Dark",compression:0,autoExec:!0,allowExternalAccess:!1,advanceRollback:!1,autoDeleteHistory:"7d",useExternalData:!1,externalDataPath:"",preserveThinking:!0,loadingPhrases:!1,progressiveRendering:!0,showTPMEstimate:!0,subAgents:!1,CustomSubAgent:!1,SubAgentModel:"Default",SubAgentProvider:"",dynamicDirAwareness:!1,indentationTree:!0,ollamaEndpoint:"Cloud",compressToolResults:!1,autoTruncateResults:!0,agentFinishSound:!1,imageHistoryCU:"Standard",contextLength:"256k",keepReasoningContext:!1,autoExcludeMetadata:!1,disableTodo:!1,preferBash:!1,clipboardContext:!1,cacheCalculateMode:"Session",alwaysAskFiles:".env, .env.*, *.env"},profileData:{preset:"Default",name:null,nickname:null,instructions:null},imageSettings:{keyType:"Default",quality:"Low-High",apiKey:""},autoCompletion:{enabled:!1,model:"Default",provider:"",baseUrl:""}},I={Mistral:"https://api.mistral.ai/v1/chat/completions",DeepSeek:"https://api.deepseek.com/chat/completions",OpenRouter:"https://openrouter.ai/api/v1/chat/completions",NVIDIA:"https://integrate.api.nvidia.com/v1",Ollama:"https://ollama.com/v1",InferX:"https://model.inferx.net/endpoints/v1/chat/completions",SenseNova:"https://token.sensenova.ai/v1/chat/completions",Poolside:"https://inference.poolside.ai/v1/chat/completions",ExpLabs:"https://api.experientiallabs.ai/v1/chat/completions",TokenHarbor:"https://tokenharbor.ai/v1/chat/completions",Infron:"https://llm.onerouter.pro/v1/chat/completions",APInex:"https://api.apinex.bond/v1/chat/completions",xKiro:"https://api.xkiro.com/v1/chat/completions",AIHubMix:"https://aihubmix.com/v1/chat/completions",Google:"https://generativelanguage.googleapis.com/v1beta/openai/chat/completions"},g=async()=>{let t={...o};try{if(await r.exists(s)){let e=m(s);if(e.imageSettings&&e.imageSettings.apiKey)try{let a=e.imageSettings.apiKey,{saveSecret:i}=await import("./secrets-YIWFP4S2.js");await i("POLLINATIONS_API_KEY",a),e.imageSettings.apiKey="",c(s,e)}catch{}t={...o,...e,quotas:{...o.quotas,...e.quotas,providerTiers:{...o.quotas.providerTiers,...e.quotas?.providerTiers||{}}},systemSettings:{...o.systemSettings,...e.systemSettings},profileData:{...o.profileData,...e.profileData},imageSettings:{...o.imageSettings,...e.imageSettings},autoCompletion:{...o.autoCompletion,...e.autoCompletion}}}}catch(e){console.error("Failed to load settings:",e)}try{let{getSecret:e}=await import("./secrets-YIWFP4S2.js"),a=await e("POLLINATIONS_API_KEY");a&&(t.imageSettings.apiKey=a)}catch{}if(t.showFullThinking===!1){t.showFullThinking=!0;try{c(s,t)}catch{}}return t},d=async t=>{let{FLUXFLOW_DIR:e}=await import("./paths-RQRI2XRY.js"),a=["logs","secret"];for(let i of a){let l=p.join(e,i),n=p.join(t,i);try{await r.exists(l)&&(await r.ensureDir(n),await r.copy(l,n,{overwrite:!0}))}catch(u){console.error(`Migration failed for ${i}:`,u)}}},D=async t=>{try{let e=await g();if(!e.systemSettings.useExternalData&&t.systemSettings?.useExternalData&&t.systemSettings?.externalDataPath&&await d(t.systemSettings.externalDataPath),t.imageSettings&&t.imageSettings.apiKey!==void 0){let{saveSecret:i,removeSecret:l}=await import("./secrets-YIWFP4S2.js"),n=t.imageSettings.apiKey;n?await i("POLLINATIONS_API_KEY",n):await l("POLLINATIONS_API_KEY")}let a={...e,...t};a.systemSettings&&(a.systemSettings.dynamicDirAwareness=!1),a.imageSettings&&(a.imageSettings={...a.imageSettings,apiKey:""}),await r.ensureDir(p.dirname(s)),c(s,a);try{let{invalidateCachedBaseUrl:i}=await import("./usage-6V4XZT3Q.js");i()}catch{}return!0}catch(e){return console.error("Failed to save settings:",e),!1}};export{I as a,g as b,D as c};