fluxflow-cli 4.18.0 → 4.19.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-W4I665ZR.js → addMemScore-HPTGXICT.js} +1 -1
- package/dist/chunks/{ai-6LGLTTCE.js → ai-UMXT6VB5.js} +1 -1
- package/dist/chunks/{app-UMXRKFDU.js → app-GKXK24DF.js} +85 -85
- package/dist/chunks/{chat-C4CKZM5D.js → chat-6R23AKX6.js} +1 -1
- package/dist/chunks/{chunk-E3E5H3M4.js → chunk-33KD6VKN.js} +1 -1
- package/dist/chunks/{chunk-MAZITQH6.js → chunk-4XZGWK5L.js} +1 -1
- package/dist/chunks/chunk-EPGLNGLE.js +3 -0
- package/dist/chunks/{chunk-YNU56P2H.js → chunk-G3223ZQY.js} +1 -1
- package/dist/chunks/{chunk-XFL3A2CT.js → chunk-I4JQEUHE.js} +1 -1
- package/dist/chunks/{chunk-VCF6JVQV.js → chunk-ORXN6WUW.js} +1 -1
- package/dist/chunks/{chunk-7QASAAHS.js → chunk-Q2D63UDR.js} +1 -1
- package/dist/chunks/{chunk-UGLNJ52L.js → chunk-QGPOMXO4.js} +1 -1
- package/dist/chunks/{chunk-FDNLMLIM.js → chunk-RI37VZYB.js} +1 -1
- package/dist/chunks/{chunk-UAHJEAVX.js → chunk-RLT6EHPQ.js} +1 -1
- package/dist/chunks/{chunk-ZSVBC2ZI.js → chunk-UDJ2C3N3.js} +1 -1
- package/dist/chunks/{chunk-TCYHPPPS.js → chunk-UN6TUQZX.js} +1 -1
- package/dist/chunks/{chunk-4CQOGQFQ.js → chunk-VD2I7Z6Q.js} +258 -125
- package/dist/chunks/chunk-W6AVB2PY.js +6 -0
- package/dist/chunks/{chunk-HYGK7YDY.js → chunk-WFHGURXW.js} +1 -1
- package/dist/chunks/{chunk-72RYQ5W7.js → chunk-Y6DZDEJ5.js} +1 -1
- package/dist/chunks/{chunk-BCS6MMDL.js → chunk-YK27Y77U.js} +173 -173
- package/dist/chunks/{chunk-KFM2OZWJ.js → chunk-YUJMCXJA.js} +1 -1
- package/dist/chunks/{click-KI2HDWSU.js → click-H7HTKF3R.js} +2 -2
- package/dist/chunks/{computer_action-DTZFD3WC.js → computer_action-UTDLLMF2.js} +1 -1
- package/dist/chunks/{drag-I5U53ZJG.js → drag-U6X3O5GB.js} +1 -1
- package/dist/chunks/{emergency_rollback-JTQSRHQZ.js → emergency_rollback-HWM4FJ6J.js} +1 -1
- package/dist/chunks/{exec_command-DDBOSWMU.js → exec_command-BH3PUWVO.js} +1 -1
- package/dist/chunks/export-ZTNXWWJF.js +1 -0
- package/dist/chunks/{file_map-LMYY76M4.js → file_map-XK7BFZFI.js} +1 -1
- package/dist/chunks/{generate_image-OZQE4ON3.js → generate_image-H7B5XMXI.js} +1 -1
- package/dist/chunks/{invoke-WRVCOTXT.js → invoke-CZ67HJ6V.js} +2 -2
- package/dist/chunks/{invokeSync-KD765JM2.js → invokeSync-OU2V4FTC.js} +2 -2
- package/dist/chunks/{key_press-26ZNSFNA.js → key_press-QRO3OFLC.js} +1 -1
- package/dist/chunks/{keyboard_typing-KFGOX3QX.js → keyboard_typing-FXP3VJ6Q.js} +1 -1
- package/dist/chunks/{memory-OYIUYX3A.js → memory-TVFFXCSD.js} +1 -1
- package/dist/chunks/{model_config-KOPB5T4R.js → model_config-UZLNHYP5.js} +1 -1
- package/dist/chunks/paths-Y7ACZJAE.js +1 -0
- package/dist/chunks/{saveSummary-ATBIFYDP.js → saveSummary-HFAPNJJH.js} +1 -1
- package/dist/chunks/{screen_grid-MAW64GKY.js → screen_grid-EIPLWNEM.js} +1 -1
- package/dist/chunks/{scroll-YN67VAJ7.js → scroll-SND6RHXA.js} +1 -1
- package/dist/chunks/search_keyword-EAMQWPPI.js +8 -0
- package/dist/chunks/{secrets-XNJW2U6Y.js → secrets-RFEEPY3S.js} +1 -1
- package/dist/chunks/settings-JGWWOFEC.js +1 -0
- package/dist/chunks/{todo-6ZB5YFX6.js → todo-7Q2JBEVP.js} +1 -1
- package/dist/chunks/{update_file-ACEMMAAQ.js → update_file-BXYTHDAC.js} +1 -1
- package/dist/chunks/usage-H4SG5DWF.js +1 -0
- package/dist/chunks/usageServer-LRDIG27Z.js +1 -0
- package/dist/chunks/view_file-JRVPAETL.js +1 -0
- package/dist/chunks/{web_scrape-IKJE45Z6.js → web_scrape-LAQI7CVA.js} +1 -1
- package/dist/chunks/{web_search-7GI77X3E.js → web_search-D2GOWARI.js} +1 -1
- package/dist/chunks/{write_docx-ZTLEYYGI.js → write_docx-IUKMO7XL.js} +1 -1
- package/dist/chunks/{write_file-QDLI2RK5.js → write_file-QMTFTJ6V.js} +1 -1
- package/dist/chunks/{write_pdf-ZM6DG4DO.js → write_pdf-UM6Z2J4K.js} +1 -1
- package/dist/cli.js +5 -5
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/chunks/chunk-6NCN7IZN.js +0 -1
- package/dist/chunks/chunk-KRRJNFBF.js +0 -6
- package/dist/chunks/export-OHZ652N5.js +0 -1
- package/dist/chunks/paths-PM7MFWJK.js +0 -1
- package/dist/chunks/search_keyword-4NOEU57F.js +0 -8
- package/dist/chunks/settings-FZNBYJ3N.js +0 -1
- package/dist/chunks/usage-2UML4SGM.js +0 -1
- package/dist/chunks/usageServer-TWVV3FOE.js +0 -1
- package/dist/chunks/view_file-MGLL22AR.js +0 -1
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{a as q}from"./chunk-Y5JU726N.js";import{a as Z}from"./chunk-FDNLMLIM.js";import M from"fs/promises";import R from"path";import G from"fast-glob";import{Minimatch as H}from"minimatch";import J from"fs";async function S(a,r,e=a,f=1){if(f>12)return[];let i=[],s;try{s=await M.readdir(a,{withFileTypes:!0})}catch{return[]}for(let t of s){let n=R.join(a,t.name),o=R.relative(e,n),u=o.split(R.sep).map(g=>g.toLowerCase()),z=t.name.toLowerCase();if(!r.some(g=>{let L=g.toLowerCase();return L.startsWith(".")&&z.endsWith(L)?!0:u.some(F=>F===L||F.startsWith(".pnpm"))}))if(t.isDirectory()){let g=await S(n,r,e,f+1);i=i.concat(g)}else t.isFile()&&i.push({fullPath:n,relativePath:o})}return i}function Q(a,r,e=1/0){if(a===r)return 0;if(a.length===0)return r.length;if(r.length===0)return a.length;if(Math.abs(a.length-r.length)>e)return e+1;let f=Array.from({length:r.length+1},(i,s)=>s);for(let i=1;i<=a.length;i++){let s=[i],t=i;for(let n=1;n<=r.length;n++){let o=a[i-1]===r[n-1]?0:1,u=Math.min(s[n-1]+1,f[n]+1,f[n-1]+o);s.push(u),u<t&&(t=u)}if(f=s,t>e)return e+1}return f[r.length]}function tt(a,r){if(!a||!r)return!1;let e=a.toLowerCase(),f=r.toLowerCase();if(e.includes(f))return!0;let i=e.split(/[^a-z0-9]+/).filter(t=>t.length>0),s=f.split(/[^a-z0-9]+/).filter(t=>t.length>1||f.length===1&&t.length>0);return s.length===0?!1:s.every(t=>{let n=t.length<=2?0:t.length<=5?1:2;for(let o of i)if(o.includes(t)||t.length>=3&&o.length>=3&&Math.abs(o.length-t.length)<=n&&Q(t,o,n)<=n)return!0;return!1})}async function et(a){let r=R.join(Z,"skills","fluxflow"),e=R.join(r,"references");if(!J.existsSync(e))return"No documentation found in #docs.";let f=async o=>{let u=[];try{let z=await M.readdir(o,{withFileTypes:!0});for(let P of z){let g=R.join(o,P.name);P.isDirectory()?u=u.concat(await f(g)):P.isFile()&&u.push(g)}}catch{}return u},i=await f(e);if(i.length===0)return"No documentation found in #docs.";let s=null;try{s=new RegExp(a,"i")}catch{}let t=a.toLowerCase(),n=[];for(let o of i)try{let u=await M.readFile(o,"utf8");if(s&&s.test(u)||u.toLowerCase().includes(t)){let P=R.relative(r,o).replace(/\\/g,"/");n.push(P)}}catch{}return n.length===0?`No matches found for "${a}" in #docs.`:`DOCs Search "${a}":
|
|
2
|
-
${n.map(o=>`- ${o}`).join(`
|
|
3
|
-
`)}`}var ct=async a=>{let{keyword:r,path:e,fuzzy:f,subString:i,regex:s}=q(a);if(r==null)return'ERROR: Missing "keyword" argument.';let t=String(r);if(e&&(e.trim().toLowerCase()==="#docs"||e.trim().toLowerCase()==="#doc"||e.trim().toLowerCase()==="#documentation"||e.trim().toLowerCase().includes("#skill/global/fluxflow")))return et(t);let n=l=>l===!0||l==="true"||l===1||l==="1"||l==="yes",o=s===!1||s==="false"||s===0||s==="0"||s==="no",u=s===!0||s==="true"||s===1||s==="1"||s==="yes",z=n(f)||n(i),P=null,g=null;if(o)z||(g=new RegExp(`(?<![\\w])${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?![\\w])`,"i"));else{try{P=new RegExp(t,"i")}catch(l){if(u)return`ERROR: Invalid regex pattern "${t}": ${l.message}`}g=new RegExp(`(?<![\\w])${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?![\\w])`,"i")}let L=[".git","node_modules",".gemini","dist","build",".next","out",".cache","bin","obj","vendor","venv",".idea",".gradle",".terraform","target","coverage",".vscode",".svn",".hg",".fslckout",".github",".gitlab",".circleci",".gitea",".gitee",".lerna",".changeset",".nx",".npm",".yarn",".pnpm-store",".pnpm",".expo",".nuxt",".svelte-kit",".docusaurus",".turbo",".vercel","bower_components",".netlify",".vuepress",".quasar",".output",".angular","jspm_packages",".parcel-cache",".rollup.cache",".rspack",".vitepress","__pycache__",".pytest_cache",".mypy_cache",".tox",".poetry","env","vhdl",".ipynb_checkpoints",".jupyter",".conda",".pdm-build",".bundle",".yardoc",".metadata","App_Data","ClientBin",".cargo",".rustc_info",".go","Godeps","_vendor",".rake_tasks","CMakefiles",".wakatime",".dart_tool",".fvm",".cocoapods","Pods",".pub-cache",".symlinks","DerivedData",".xcworkspace",".serverless",".aws",".gcloud",".azure",".kube",".vagrant",".docker","postgres-data","redis-data","mongo-data",".Spotlight-V100",".Trashes","$RECYCLE.BIN","System Volume Information",".DocumentRevisions-V100",".fseventsd","AppData","Application Data","Local","LocalLow","Roaming","$WinREAgent","$WINDOWS.~BT","$WINDOWS.~WS","scw","System32","SysWOW64",".AppleDouble",".AppleDB",".AppleDesktop","_CodeSignature",".cmio",".LSOverride",".localized",".TemporaryItems",".Trash",".Trash-0",".Trash-1000",".gvfs",".local",".config",".dbus",".fontconfig",".snap",".var",".lost+found","lost+found",".thumb",".thumbnails","EFI","boot","grub","logs","log",".nyc_output",".sonar",".ruff_cache",".VSCodeCounter",".exe",".dll",".so",".dylib",".png",".jpg",".jpeg",".gif",".ico",".svg",".webp",".mp3",".mp4",".avi",".zip",".tgz",".tar",".gz",".7z",".rar",".pdf",".docx",".xlsx",".pptx",".woff",".woff2",".ttf",".eot",".skills","skills"],F=150;try{let l=[],x=process.cwd(),m=null;if(e){let c=e.split(";").map(h=>h.trim()).filter(Boolean),y=c.some(h=>h.startsWith("!"));if(c.some(h=>G.isDynamicPattern(h)||/[*?{}[\]()|+]/.test(h))){m="glob";let h=e.replace(/\\/g,"/"),b=c.map($=>$.replace(/\\/g,"/")),p=L.map($=>$.startsWith(".")?`**/*${$}`:`**/${$}/**`);if(y&&!c.some($=>!$.startsWith("!"))){let $=await S(x,L,x),C=d=>d.endsWith("/")?d+"**":d,D=b.filter(d=>d.startsWith("!")).map(d=>C(d.slice(1))),I=b.filter(d=>!d.startsWith("!")).map(C);l=$.filter(d=>{let w=d.relativePath.replace(/\\/g,"/"),B=I.length===0||I.some(_=>{try{return new H(_).match(w)}catch{return!1}}),T=D.some(_=>{try{return new H(_).match(w)}catch{return!1}});return B&&!T})}else{let $=b.some(D=>/[\(\)\|]|\.\*/.test(D)),C=[];if(!$)try{C=await G(b,{cwd:x,ignore:p,dot:!0,onlyFiles:!0,absolute:!1})}catch{C=[]}if(C.length===0&&($||G.isDynamicPattern(h))){let D=h.match(/^([^\*\?\(\)\|\[\]\s]+)\//),I=D&&!/[\*\?\(\)\|\[\]]/.test(D[1])?R.resolve(x,D[1]):x,d=await S(I,L,x);try{let w=h.replace(/^\.\//,"");w=w.replace(/\.\*\/(\\.|[^\/])/g,".*$1"),!w.startsWith("^")&&!w.startsWith(".*")&&(w=`.*${w}`);let B=new RegExp(w.endsWith("$")?w:`${w}$`,"i");l=d.filter(T=>{let _=T.relativePath.replace(/\\/g,"/");return B.test(_)})}catch{l=[]}}else l=C.map(D=>({fullPath:R.resolve(x,D),relativePath:D}))}}else{let h=e.replace(/[\/\\]+$/,""),b=R.resolve(x,h);try{let p=await M.stat(b);if(p.isDirectory())m="dir",l=await S(b,L,x);else if(p.isFile())m="file",l.push({fullPath:b,relativePath:R.relative(x,b)});else return`ERROR: Path is neither a file nor a directory: ${e}`}catch{return`ERROR: Path not found: ${e}`}}}else l=await S(x,L);let U=l.map(async c=>{try{let y=await M.readFile(c.fullPath,"utf-8");if(y.includes("\0"))return[];let v=y.split(/\r?\n/),h=[];for(let p=0;p<v.length;p++)(z?v[p].toLowerCase().includes(t.toLowerCase())||tt(v[p],t):o?g&&g.test(v[p]):P&&P.test(v[p])||g&&g.test(v[p]))&&h.push({line:p+1,content:v[p].trim()});return h.length===0?null:{path:c.relativePath.replace(/\\/g,"/"),matches:h}}catch{return[]}}),X=await Promise.all(U),W=[],E=0;for(let c of X){if(!c||!c.matches)continue;if(E>=F)break;let y=F-E,v=c.matches.slice(0,y);W.push({path:c.path,matches:v}),E+=v.length}typeof global.gc=="function"&&global.gc();let k=z?"(fuzzy mode)":u?"(regex mode)":o?"(keyword mode)":"(standard mode)";if(W.length===0){let c=m==="file"?` in '${e}'`:m==="dir"||m==="glob"?` in '${e}'`:". Try to specify files",y=m==="dir"?"[DIR]":m==="glob"?"[GLOB]":"";return`${y}${y?" ":""}Found 0 matches of '${t}'${c}${k?` ${k}`:""}`}let j=k?` ${k}`:"",V=`${W.length} file${W.length===1?"":"s"}`,N=`${E} match${E===1?"":"es"}`,A;m==="file"?A=`Found ${N} of '${t}' in '${e}'${j}:`:m==="dir"||m==="glob"?A=`Found ${N} of '${t}' in '${e}' across ${V}${j}:`:A=`Found ${N} of '${t}' across ${V}${j}:`;let K=m==="dir"?"[DIR]":m==="glob"?"[GLOB]":"",O=`${K}${K?" ":""}${A}
|
|
4
|
-
|
|
5
|
-
`;for(let c of W){O+=`${c.path}
|
|
6
|
-
`;for(let y of c.matches)O+=` ${y.line}: ${y.content}
|
|
7
|
-
`;O+=`
|
|
8
|
-
`}return O.trimEnd()}catch(l){return`ERROR: ${l.message}`}};export{ct as search_keyword};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b}from"./chunk-XFL3A2CT.js";import"./chunk-UGLNJ52L.js";import"./chunk-SIINYZWE.js";import"./chunk-FDNLMLIM.js";export{a as loadSettings,b as saveSettings};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p}from"./chunk-6NCN7IZN.js";import"./chunk-XFL3A2CT.js";import"./chunk-UGLNJ52L.js";import"./chunk-SIINYZWE.js";import"./chunk-FDNLMLIM.js";export{g as addToUsage,m as checkImageQuota,j as checkQuota,i as checkQuotaDetailed,b as forceFlushUsage,p as getAllUsageData,h as getCustomPeriodUsage,c as getDailyUsage,k as getImageQuotaBuckets,l as getImageQuotaLimit,n as getImageQuotaStats,d as getMonthlyUsage,e as incrementUsage,a as initUsage,o as recordImageGeneration,f as runtimeSession};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b}from"./chunk-4CQOGQFQ.js";import"./chunk-6NCN7IZN.js";import"./chunk-XFL3A2CT.js";import"./chunk-UGLNJ52L.js";import"./chunk-SIINYZWE.js";import"./chunk-FDNLMLIM.js";export{b as openUsageDashboard,a as startUsageServer};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-MAZITQH6.js";import"./chunk-Y5JU726N.js";import"./chunk-FDNLMLIM.js";export{a as view_file};
|