fluxflow-cli 4.10.1 → 4.11.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/addMemScore-EIIMCED3.js +1 -0
- package/dist/chunks/ai-WB4PWDHV.js +1 -0
- package/dist/chunks/answerSubagent-JUVFNLE5.js +1 -0
- package/dist/chunks/app-DLM4TCBT.js +225 -0
- package/dist/chunks/ask_user-K2DLZF6H.js +1 -0
- package/dist/chunks/awaitSubagent-JTUSJDKD.js +7 -0
- package/dist/chunks/cancel-7IMADALP.js +1 -0
- package/dist/chunks/chat-5CITJOXW.js +1 -0
- package/dist/chunks/chunk-2CJOOYOT.js +1 -0
- package/dist/chunks/chunk-2TASXARO.js +1 -0
- package/dist/chunks/chunk-5GEXRVU6.js +15 -0
- package/dist/chunks/chunk-5K4X2VUW.js +33 -0
- package/dist/chunks/chunk-6GTIZENY.js +48 -0
- package/dist/chunks/chunk-A73NNVCZ.js +1 -0
- package/dist/chunks/chunk-DHQHSTTS.js +1 -0
- package/dist/chunks/chunk-FJGY5C4M.js +52 -0
- package/dist/chunks/chunk-GFDJETGV.js +868 -0
- package/dist/chunks/chunk-TGINXVDR.js +1 -0
- package/dist/chunks/chunk-TJII6UKN.js +6 -0
- package/dist/chunks/chunk-Y5JU726N.js +4 -0
- package/dist/chunks/click-WCT2TJ2G.js +2 -0
- package/dist/chunks/computer_action-EKG5CRRA.js +1 -0
- package/dist/chunks/drag-HYJQ5RE7.js +1 -0
- package/dist/chunks/emergency_rollback-A67M4DU6.js +18 -0
- package/dist/chunks/exec_command-43ZNHLVJ.js +1 -0
- package/dist/chunks/file_map-YYKJC7LP.js +9 -0
- package/dist/chunks/generate_image-Q6RIYYMI.js +1 -0
- package/dist/chunks/getProgress-KLWGCCPA.js +26 -0
- package/dist/chunks/invoke-RTBTXXOI.js +6 -0
- package/dist/chunks/invokeSync-RNOOUMPZ.js +3 -0
- package/dist/chunks/key_press-RKJOUTTG.js +1 -0
- package/dist/chunks/keyboard_typing-GJBWCAZ2.js +1 -0
- package/dist/chunks/memory-22U3WGHY.js +1 -0
- package/dist/chunks/read_folder-OOKZITME.js +15 -0
- package/dist/chunks/recapture_screen-5FKLOHJL.js +1 -0
- package/dist/chunks/saveSummary-2LC63SYI.js +1 -0
- package/dist/chunks/scroll-DVM5ACY2.js +1 -0
- package/dist/chunks/search_keyword-Y2B3YELW.js +8 -0
- package/dist/chunks/steerSubagent-L2JVT4QN.js +1 -0
- package/dist/chunks/todo-VFONYOUK.js +10 -0
- package/dist/chunks/update_file-CF2DSC6F.js +13 -0
- package/dist/chunks/view_file-SRYT37FH.js +1 -0
- package/dist/chunks/web_scrape-EWLJFTMV.js +16 -0
- package/dist/chunks/web_search-KNT73E64.js +36 -0
- package/dist/chunks/write_docx-T4UJCJ3L.js +13 -0
- package/dist/chunks/write_file-N2EG2T6U.js +29 -0
- package/dist/chunks/write_pdf-NGUPNIEZ.js +31 -0
- package/dist/cli.js +9 -9
- package/dist/package.json +1 -1
- package/flux-flow.cjs +17 -16
- package/package.json +1 -1
- package/dist/chunks/ai-OSTYQGN7.js +0 -1
- package/dist/chunks/app-4I32JG4X.js +0 -225
- package/dist/chunks/chunk-PWHHGJND.js +0 -1246
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as i,d as m}from"./chunk-SIINYZWE.js";import{j as n}from"./chunk-4TZKD2XR.js";var y=async(a,u={})=>{let s=(r=>{let t=new RegExp(`${r}\\s*[:=]\\s*(["'])(.*?)\\1(?=\\s*[,)]|\\s+\\w+\\s*[:=]|$)`,"s"),o=a.match(t);return o?o[2].trim():null})("id");if(!s)return"ERROR: Missing 'id' parameter for addMemScore tool.";try{let r=i(n,[]),t=!1,o=[];for(let e of r)e.score===void 0&&(e.score=.5),e.id===s?(e.score=Math.min(2,e.score+.2),t=!0):(e.score*=.98,e.score<.05&&(e.score=0)),e.score=Math.round(e.score*1e5)/1e5,e.score>0&&o.push(e);if(m(n,o),!t)return`WARNING: Memory ID [${s}] not found. Other memories decayed by -0.01.`;let c=o.find(e=>e.id===s),f=c?c.score.toFixed(2):"deleted (score <= 0)",d=r.length-o.length;return`SUCCESS: Adjusted memory scores. Target [${s}] is now ${f}.${d>0?` Purged ${d} decayed memories.`:""}`}catch(r){let t=r instanceof Error?r.message:String(r);return`ERROR: Failed to adjust memory score for [${s}]: ${t}`}};export{y as addMemScore};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as b,k as c,l as d,m as e,n as f,o as g,p as h,q as i,r as j,s as k,t as l,u as m,v as n,w as o,x as p,y as q,z as r}from"./chunk-GFDJETGV.js";import"./chunk-2TASXARO.js";import"./chunk-56EJGQU3.js";import"./chunk-TJII6UKN.js";import"./chunk-5GEXRVU6.js";import"./chunk-6GTIZENY.js";import"./chunk-TGINXVDR.js";import"./chunk-JSVFQZL2.js";import"./chunk-Q7SNDU5P.js";import{c as a}from"./chunk-K26OGD74.js";import"./chunk-SIINYZWE.js";import"./chunk-FJGY5C4M.js";import"./chunk-4TZKD2XR.js";import"./chunk-Y5JU726N.js";export{c as RE_LEADING_THINK,o as compressHistory,b as convertChannelThinkTags,p as deleteChatSummary,e as findGenuineThinkClose,q as getAIStream,i as getCleanGroupedLength,l as getGoogleClient,f as getLeadingThinkBlock,n as initAI,d as isInsideBacktick,a as isModelMultimodal,k as isTerminationSignaled,m as runJanitorTask,r as runSubagent,j as signalTermination,g as stripLeadingThinking,h as stripNakedXmlTags};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u}from"./chunk-56EJGQU3.js";import{a as i}from"./chunk-Y5JU726N.js";var w=async(g,a={})=>{let t=i(g),e=t.id,r=t.answer||t.response;if(!e)return'ERROR: Missing "id" argument for Answer.';if(!r)return'ERROR: Missing "answer" argument for Answer.';let s=u.find(n=>n.id===e);if(!s)return`ERROR: Subagent task with ID [${e}] not found.`;if(!s.questions||s.questions.length===0)return`INFO: Subagent task [${e}] has no pending questions.`;let o=s.questions.filter(n=>!n.answered);return o.length===0?`INFO: Subagent task [${e}] has no unanswered questions.`:(o.forEach(n=>{n.answered=!0,n.answer=r,n.answeredAt=Date.now(),n._resolve&&n._resolve(r)}),s.status="running",a.onSubagentUpdate&&a.onSubagentUpdate(),`SUCCESS: Answer provided to subagent task [${e}]. Subagent execution resumed.`)};export{w as answerSubagent};
|