fluxflow-cli 4.39.0 → 4.40.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-Z2RCLVQR.js → ai-ZKC574A7.js} +1 -1
- package/dist/chunks/app-S2QWIJAK.js +324 -0
- package/dist/chunks/{auto_completion-AIWB2XM2.js → auto_completion-NWIEI4SU.js} +2 -2
- package/dist/chunks/{chunk-IXXTQAO2.js → chunk-4DAFC4RK.js} +1 -1
- package/dist/chunks/{chunk-HIP66OBL.js → chunk-4LL36ESE.js} +175 -173
- package/dist/chunks/{chunk-M2LU3TCU.js → chunk-M3NOFDLJ.js} +1 -1
- package/dist/chunks/chunk-RHZU5POT.js +1 -0
- package/dist/chunks/{chunk-MX5Q32YU.js → chunk-VJT4U6KR.js} +1 -1
- package/dist/chunks/{click-O33RKVOZ.js → click-T2BXRY7O.js} +2 -2
- package/dist/chunks/{computer_action-BUZAZ3LJ.js → computer_action-VQBY6TW2.js} +1 -1
- package/dist/chunks/{drag-BZRZLDLG.js → drag-B5ED6RY7.js} +1 -1
- package/dist/chunks/{generate_image-N2SIC5BA.js → generate_image-UHMQ32EH.js} +1 -1
- package/dist/chunks/{invoke-O2YAE4FY.js → invoke-CYDFNNQ4.js} +2 -2
- package/dist/chunks/{invokeSync-URGZXNDC.js → invokeSync-YEOM3MAZ.js} +2 -2
- package/dist/chunks/{key_press-Y7F3VAKL.js → key_press-MMN6Y3WZ.js} +1 -1
- package/dist/chunks/{keyboard_typing-IEVRWQJJ.js → keyboard_typing-2OCGKXE2.js} +1 -1
- package/dist/chunks/{screen_grid-7APUBF2H.js → screen_grid-26MRFY7E.js} +1 -1
- package/dist/chunks/{scroll-FIN5Z7W4.js → scroll-CVJDBGZL.js} +1 -1
- package/dist/chunks/{search_keyword-YLKWY2XH.js → search_keyword-WIVNNMLY.js} +1 -1
- package/dist/chunks/{settings-IGHDSHFT.js → settings-OPQ3GJ62.js} +1 -1
- package/dist/chunks/{update_file-CYGKZXSH.js → update_file-NT666LF5.js} +1 -1
- package/dist/chunks/{usage-IR23BYQX.js → usage-DFN6SYQ3.js} +1 -1
- package/dist/chunks/{usageServer-ZYJCDO27.js → usageServer-JWNNKDR3.js} +1 -1
- package/dist/chunks/{write_file-TZ2Q6CEB.js → write_file-YYKJ3BGD.js} +1 -1
- package/dist/cli.js +5 -6
- package/dist/package.json +2 -2
- package/package.json +2 -2
- package/dist/chunks/app-IKYO4AHO.js +0 -331
- package/dist/chunks/chunk-EUNKA2MP.js +0 -1
|
@@ -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:"",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",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,imageHistoryCU:"Standard",contextLength:"256k",keepReasoningContext:!1,autoExcludeMetadata:!1,disableTodo:!1,clipboardContext:!1,alwaysAskFiles:".env, .env.*, *.env"},profileData:{name:null,nickname:null,instructions:null},imageSettings:{keyType:"Default",quality:"Low-High",apiKey:""},autoCompletion:{enabled:!1,model:"Default",provider:"",baseUrl:""}},x={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",AIHubMix:"https://aihubmix.com/v1/chat/completions",Google:"https://generativelanguage.googleapis.com/v1beta/openai/chat/completions"},u=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-5TCTEPEV.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-5TCTEPEV.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(g){console.error(`Migration failed for ${i}:`,g)}}},T=async t=>{try{let e=await u();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-5TCTEPEV.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-IR23BYQX.js");i()}catch{}return!0}catch(e){return console.error("Failed to save settings:",e),!1}};export{x as a,u as b,T as c};
|