fluxflow-cli 4.1.2 → 4.1.4
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/README.md +1 -0
- package/dist/chunks/{ai-5HGOLEFE.js → ai-M2MAGATC.js} +1 -1
- package/dist/chunks/{app-CK5GTF3V.js → app-NQODWWNA.js} +1 -1
- package/dist/chunks/{chunk-4ANZCMTB.js → chunk-CQ2U3S2O.js} +255 -255
- package/dist/cli.js +1 -1
- package/dist/model_config.json +6 -1
- package/dist/package.json +2 -2
- package/model_config.json +6 -1
- package/package.json +2 -2
- package/dist/chunks/ai-7LT7T34E.js +0 -1
- package/dist/chunks/ai-ACFJ2D4K.js +0 -1
- package/dist/chunks/ai-CQ6R662V.js +0 -1
- package/dist/chunks/ai-GO5NYAPZ.js +0 -1
- package/dist/chunks/ai-GUVZR6ZJ.js +0 -1
- package/dist/chunks/ai-IGHYVKEI.js +0 -1
- package/dist/chunks/ai-IOVX3WCN.js +0 -1
- package/dist/chunks/ai-LFC7GPK6.js +0 -1
- package/dist/chunks/ai-LUAK6ZNI.js +0 -1
- package/dist/chunks/ai-NDNZ4XGW.js +0 -1
- package/dist/chunks/ai-O2AHKT2Q.js +0 -1
- package/dist/chunks/ai-OLHI3UWZ.js +0 -1
- package/dist/chunks/ai-OP2H56UR.js +0 -1
- package/dist/chunks/ai-OX4W3MY2.js +0 -1
- package/dist/chunks/ai-SUNZIUAF.js +0 -1
- package/dist/chunks/ai-T2SZGY7Y.js +0 -1
- package/dist/chunks/ai-VMV4EAEQ.js +0 -1
- package/dist/chunks/app-2BDYKT26.js +0 -226
- package/dist/chunks/app-2MCTW3BU.js +0 -226
- package/dist/chunks/app-4M34YBXM.js +0 -223
- package/dist/chunks/app-4VRQVBXL.js +0 -226
- package/dist/chunks/app-5YW3SESE.js +0 -223
- package/dist/chunks/app-62A6ZFYX.js +0 -226
- package/dist/chunks/app-A6HECULK.js +0 -223
- package/dist/chunks/app-A6JFAZBR.js +0 -220
- package/dist/chunks/app-AASWJUCP.js +0 -226
- package/dist/chunks/app-AHIXABRK.js +0 -220
- package/dist/chunks/app-CTJKY73V.js +0 -223
- package/dist/chunks/app-DJWNDFPK.js +0 -223
- package/dist/chunks/app-DLGENJXK.js +0 -226
- package/dist/chunks/app-DU2VBIDN.js +0 -223
- package/dist/chunks/app-EKHVG5CH.js +0 -220
- package/dist/chunks/app-FJJPTQG7.js +0 -223
- package/dist/chunks/app-FVACY6W2.js +0 -230
- package/dist/chunks/app-GY2S4P3O.js +0 -220
- package/dist/chunks/app-HE22VKVY.js +0 -223
- package/dist/chunks/app-HW6KINDL.js +0 -226
- package/dist/chunks/app-II7PE7RS.js +0 -230
- package/dist/chunks/app-MPYGQO5K.js +0 -223
- package/dist/chunks/app-MWWVPJVZ.js +0 -223
- package/dist/chunks/app-OIIPCXZF.js +0 -226
- package/dist/chunks/app-QCQTUW4S.js +0 -223
- package/dist/chunks/app-QPPCSI4B.js +0 -223
- package/dist/chunks/app-RDSYUUGS.js +0 -228
- package/dist/chunks/app-SWVHXTUU.js +0 -223
- package/dist/chunks/app-TSUKVNLY.js +0 -223
- package/dist/chunks/app-WWNOUK7Q.js +0 -220
- package/dist/chunks/app-XTDZID37.js +0 -228
- package/dist/chunks/app-YCFZG7ZN.js +0 -223
- package/dist/chunks/app-ZUY2BADH.js +0 -226
- package/dist/chunks/chunk-2FKXQDRX.js +0 -3
- package/dist/chunks/chunk-3VSDH7DF.js +0 -3
- package/dist/chunks/chunk-5ORPFMKW.js +0 -3
- package/dist/chunks/chunk-6DHFEWGX.js +0 -1
- package/dist/chunks/chunk-73S5MDH5.js +0 -816
- package/dist/chunks/chunk-77P7CACS.js +0 -3
- package/dist/chunks/chunk-7WH5DREO.js +0 -1
- package/dist/chunks/chunk-APOUCRQO.js +0 -803
- package/dist/chunks/chunk-BVYPWENJ.js +0 -803
- package/dist/chunks/chunk-BW2MR2YB.js +0 -3
- package/dist/chunks/chunk-D67A52ZR.js +0 -802
- package/dist/chunks/chunk-DB4BJM2R.js +0 -807
- package/dist/chunks/chunk-GYYGT2GJ.js +0 -1229
- package/dist/chunks/chunk-HU74ZBCV.js +0 -803
- package/dist/chunks/chunk-IW2KLAXM.js +0 -803
- package/dist/chunks/chunk-M3G4NWZ2.js +0 -3
- package/dist/chunks/chunk-O4A5T73D.js +0 -801
- package/dist/chunks/chunk-PHKIAKHS.js +0 -1
- package/dist/chunks/chunk-PK33OTVD.js +0 -802
- package/dist/chunks/chunk-RTGBM2SA.js +0 -27
- package/dist/chunks/chunk-SGZ2OI72.js +0 -1
- package/dist/chunks/chunk-UCFPBFHY.js +0 -811
- package/dist/chunks/chunk-UKBUOJ3P.js +0 -803
- package/dist/chunks/chunk-VBKX2PU3.js +0 -803
- package/dist/chunks/chunk-VFG7GIPV.js +0 -812
- package/dist/chunks/chunk-WJ33GNVP.js +0 -3
- package/dist/chunks/chunk-Y2EZRWRZ.js +0 -803
- package/dist/chunks/chunk-Y6SLVHK3.js +0 -1
- package/dist/chunks/chunk-ZGHOKGSQ.js +0 -1231
- package/dist/chunks/chunk-ZQZIEF5I.js +0 -803
- package/dist/chunks/chunk-ZRS2O6Y6.js +0 -1
- package/dist/chunks/export-JZFBZGGZ.js +0 -1
- package/dist/chunks/export-MX2VT3I7.js +0 -1
- package/dist/chunks/export-OFKMKWAS.js +0 -1
- package/dist/chunks/export-ZB2GNV3S.js +0 -1
- package/dist/chunks/paths-HYQFU6D2.js +0 -1
- package/dist/chunks/paths-KMO5IYNK.js +0 -1
- package/dist/chunks/paths-NXN6XAEU.js +0 -1
- package/dist/chunks/paths-YDCMNN4Q.js +0 -1
- package/dist/chunks/secrets-2VU4KV7B.js +0 -1
- package/dist/chunks/secrets-GN7OAYL7.js +0 -1
- package/dist/chunks/secrets-NCPPS7DR.js +0 -1
- package/dist/chunks/secrets-RZD3DYTB.js +0 -1
- package/dist/chunks/settings-57QAZRCP.js +0 -1
- package/dist/chunks/settings-DCF6DTL6.js +0 -1
- package/dist/chunks/settings-DTH5C6BO.js +0 -1
- package/dist/chunks/settings-GPKUUYFM.js +0 -1
- package/dist/chunks/settings-HOSPANO7.js +0 -1
- package/dist/chunks/settings-IY24HSRP.js +0 -1
- package/dist/chunks/settings-SSPDWUKI.js +0 -1
- package/dist/chunks/src-O2JUKI77.js +0 -1
- package/dist/chunks/subagent_state-3D5ZJCLX.js +0 -1
- package/dist/chunks/subagent_state-5IJKFMRU.js +0 -1
- package/dist/chunks/subagent_state-N77JX7MX.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"./chunk-RTGBM2SA.js";import"./chunk-SGZ2OI72.js";import"./chunk-6DHFEWGX.js";export{b as exportCurrentChat,d as exportErrorLogs,e as handleExport,a as parseAgentText,c as parseLogEntries};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"./chunk-3JTGIHTN.js";import"./chunk-I27MASHH.js";import"./chunk-PHKIAKHS.js";export{b as exportCurrentChat,d as exportErrorLogs,e as handleExport,a as parseAgentText,c as parseLogEntries};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"./chunk-RTGBM2SA.js";import"./chunk-SGZ2OI72.js";import"./chunk-Y6SLVHK3.js";export{b as exportCurrentChat,d as exportErrorLogs,e as handleExport,a as parseAgentText,c as parseLogEntries};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"./chunk-RTGBM2SA.js";import"./chunk-SGZ2OI72.js";import"./chunk-PHKIAKHS.js";export{b as exportCurrentChat,d as exportErrorLogs,e as handleExport,a as parseAgentText,c as parseLogEntries};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s}from"./chunk-SGZ2OI72.js";import"./chunk-6DHFEWGX.js";export{p as ACTIVE_TX_FILE,m as BACKUPS_DIR,r as CONTEXT_FILE,c as DATA_DIR,a as FLUXFLOW_DIR,g as HISTORY_DIR,f as HISTORY_FILE,o as LEDGER_ADVANCE_FILE,n as LEDGER_FILE,d as LOGS_DIR,j as MEMORIES_FILE,s as PARSER_DIR,q as PATHS_FILE,e as SECRET_DIR,b as SETTINGS_FILE,l as TEMP_MEM_CHAT_FILE,k as TEMP_MEM_FILE,i as USAGE_FILE,h as USAGE_FILE_OLD};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t}from"./chunk-I27MASHH.js";import"./chunk-PHKIAKHS.js";export{p as ACTIVE_TX_FILE,m as BACKUPS_DIR,r as CONTEXT_FILE,t as CU_CACHE_DIR,c as DATA_DIR,a as FLUXFLOW_DIR,g as HISTORY_DIR,f as HISTORY_FILE,o as LEDGER_ADVANCE_FILE,n as LEDGER_FILE,d as LOGS_DIR,j as MEMORIES_FILE,s as PARSER_DIR,q as PATHS_FILE,e as SECRET_DIR,b as SETTINGS_FILE,l as TEMP_MEM_CHAT_FILE,k as TEMP_MEM_FILE,i as USAGE_FILE,h as USAGE_FILE_OLD};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s}from"./chunk-SGZ2OI72.js";import"./chunk-Y6SLVHK3.js";export{p as ACTIVE_TX_FILE,m as BACKUPS_DIR,r as CONTEXT_FILE,c as DATA_DIR,a as FLUXFLOW_DIR,g as HISTORY_DIR,f as HISTORY_FILE,o as LEDGER_ADVANCE_FILE,n as LEDGER_FILE,d as LOGS_DIR,j as MEMORIES_FILE,s as PARSER_DIR,q as PATHS_FILE,e as SECRET_DIR,b as SETTINGS_FILE,l as TEMP_MEM_CHAT_FILE,k as TEMP_MEM_FILE,i as USAGE_FILE,h as USAGE_FILE_OLD};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s}from"./chunk-SGZ2OI72.js";import"./chunk-PHKIAKHS.js";export{p as ACTIVE_TX_FILE,m as BACKUPS_DIR,r as CONTEXT_FILE,c as DATA_DIR,a as FLUXFLOW_DIR,g as HISTORY_DIR,f as HISTORY_FILE,o as LEDGER_ADVANCE_FILE,n as LEDGER_FILE,d as LOGS_DIR,j as MEMORIES_FILE,s as PARSER_DIR,q as PATHS_FILE,e as SECRET_DIR,b as SETTINGS_FILE,l as TEMP_MEM_CHAT_FILE,k as TEMP_MEM_FILE,i as USAGE_FILE,h as USAGE_FILE_OLD};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k}from"./chunk-7WH5DREO.js";import"./chunk-SIINYZWE.js";import"./chunk-SGZ2OI72.js";import"./chunk-PHKIAKHS.js";export{a as getAPIKey,b as getProviderAPIKey,f as getSearchSecrets,d as getSecret,k as removeAPIKey,j as removeSecret,g as saveAPIKey,c as saveProviderAPIKey,i as saveSearchId,h as saveSearchKey,e as saveSecret};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k}from"./chunk-7WH5DREO.js";import"./chunk-SIINYZWE.js";import"./chunk-SGZ2OI72.js";import"./chunk-Y6SLVHK3.js";export{a as getAPIKey,b as getProviderAPIKey,f as getSearchSecrets,d as getSecret,k as removeAPIKey,j as removeSecret,g as saveAPIKey,c as saveProviderAPIKey,i as saveSearchId,h as saveSearchKey,e as saveSecret};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k}from"./chunk-7WH5DREO.js";import"./chunk-SIINYZWE.js";import"./chunk-SGZ2OI72.js";import"./chunk-6DHFEWGX.js";export{a as getAPIKey,b as getProviderAPIKey,f as getSearchSecrets,d as getSecret,k as removeAPIKey,j as removeSecret,g as saveAPIKey,c as saveProviderAPIKey,i as saveSearchId,h as saveSearchKey,e as saveSecret};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k}from"./chunk-ZESOEAQT.js";import"./chunk-SIINYZWE.js";import"./chunk-I27MASHH.js";import"./chunk-PHKIAKHS.js";export{a as getAPIKey,b as getProviderAPIKey,f as getSearchSecrets,d as getSecret,k as removeAPIKey,j as removeSecret,g as saveAPIKey,c as saveProviderAPIKey,i as saveSearchId,h as saveSearchKey,e as saveSecret};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as a,h as b}from"./chunk-77P7CACS.js";import"./chunk-SIINYZWE.js";import"./chunk-SGZ2OI72.js";import"./chunk-6DHFEWGX.js";export{a as loadSettings,b as saveSettings};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as a,h as b}from"./chunk-5ORPFMKW.js";import"./chunk-SIINYZWE.js";import"./chunk-SGZ2OI72.js";import"./chunk-Y6SLVHK3.js";export{a as loadSettings,b as saveSettings};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as a,i as b}from"./chunk-3VSDH7DF.js";import"./chunk-SIINYZWE.js";import"./chunk-SGZ2OI72.js";import"./chunk-6DHFEWGX.js";export{a as loadSettings,b as saveSettings};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as a,i as b}from"./chunk-WJ33GNVP.js";import"./chunk-SIINYZWE.js";import"./chunk-SGZ2OI72.js";import"./chunk-PHKIAKHS.js";export{a as loadSettings,b as saveSettings};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as a,i as b}from"./chunk-BW2MR2YB.js";import"./chunk-SIINYZWE.js";import"./chunk-I27MASHH.js";import"./chunk-PHKIAKHS.js";export{a as loadSettings,b as saveSettings};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as a,h as b}from"./chunk-M3G4NWZ2.js";import"./chunk-SIINYZWE.js";import"./chunk-SGZ2OI72.js";import"./chunk-6DHFEWGX.js";export{a as loadSettings,b as saveSettings};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as a,i as b}from"./chunk-2FKXQDRX.js";import"./chunk-SIINYZWE.js";import"./chunk-I27MASHH.js";export{a as loadSettings,b as saveSettings};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as Ze}from"./chunk-ZRS2O6Y6.js";import{a as U,b as f}from"./chunk-PHKIAKHS.js";var ae=f((Ct,te)=>{var ee=(function(o){"use strict";var a=Object.prototype,c=a.hasOwnProperty,u=Object.defineProperty||function(t,e,r){t[e]=r.value},p,b=typeof Symbol=="function"?Symbol:{},O=b.iterator||"@@iterator",m=b.asyncIterator||"@@asyncIterator",A=b.toStringTag||"@@toStringTag";function w(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{w({},"")}catch{w=function(e,r,i){return e[r]=i}}function N(t,e,r,i){var n=e&&e.prototype instanceof E?e:E,s=Object.create(n.prototype),v=new B(i||[]);return u(s,"_invoke",{value:j(t,r,v)}),s}o.wrap=N;function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(i){return{type:"throw",arg:i}}}var g="suspendedStart",I="suspendedYield",P="executing",_="completed",d={};function E(){}function y(){}function T(){}var D={};w(D,O,function(){return this});var $=Object.getPrototypeOf,C=$&&$($(F([])));C&&C!==a&&c.call(C,O)&&(D=C);var R=T.prototype=E.prototype=Object.create(D);y.prototype=T,u(R,"constructor",{value:T,configurable:!0}),u(T,"constructor",{value:y,configurable:!0}),y.displayName=w(T,A,"GeneratorFunction");function K(t){["next","throw","return"].forEach(function(e){w(t,e,function(r){return this._invoke(e,r)})})}o.isGeneratorFunction=function(t){var e=typeof t=="function"&&t.constructor;return e?e===y||(e.displayName||e.name)==="GeneratorFunction":!1},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,T):(t.__proto__=T,w(t,A,"GeneratorFunction")),t.prototype=Object.create(R),t},o.awrap=function(t){return{__await:t}};function q(t,e){function r(s,v,h,L){var S=l(t[s],t,v);if(S.type==="throw")L(S.arg);else{var X=S.arg,Y=X.value;return Y&&typeof Y=="object"&&c.call(Y,"__await")?e.resolve(Y.__await).then(function(M){r("next",M,h,L)},function(M){r("throw",M,h,L)}):e.resolve(Y).then(function(M){X.value=M,h(X)},function(M){return r("throw",M,h,L)})}}var i;function n(s,v){function h(){return new e(function(L,S){r(s,v,L,S)})}return i=i?i.then(h,h):h()}u(this,"_invoke",{value:n})}K(q.prototype),w(q.prototype,m,function(){return this}),o.AsyncIterator=q,o.async=function(t,e,r,i,n){n===void 0&&(n=Promise);var s=new q(N(t,e,r,i),n);return o.isGeneratorFunction(e)?s:s.next().then(function(v){return v.done?v.value:s.next()})};function j(t,e,r){var i=g;return function(s,v){if(i===P)throw new Error("Generator is already running");if(i===_){if(s==="throw")throw v;return J()}for(r.method=s,r.arg=v;;){var h=r.delegate;if(h){var L=H(h,r);if(L){if(L===d)continue;return L}}if(r.method==="next")r.sent=r._sent=r.arg;else if(r.method==="throw"){if(i===g)throw i=_,r.arg;r.dispatchException(r.arg)}else r.method==="return"&&r.abrupt("return",r.arg);i=P;var S=l(t,e,r);if(S.type==="normal"){if(i=r.done?_:I,S.arg===d)continue;return{value:S.arg,done:r.done}}else S.type==="throw"&&(i=_,r.method="throw",r.arg=S.arg)}}}function H(t,e){var r=e.method,i=t.iterator[r];if(i===p)return e.delegate=null,r==="throw"&&t.iterator.return&&(e.method="return",e.arg=p,H(t,e),e.method==="throw")||r!=="return"&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var n=l(i,t.iterator,e.arg);if(n.type==="throw")return e.method="throw",e.arg=n.arg,e.delegate=null,d;var s=n.arg;if(!s)return e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d;if(s.done)e[t.resultName]=s.value,e.next=t.nextLoc,e.method!=="return"&&(e.method="next",e.arg=p);else return s;return e.delegate=null,d}K(R),w(R,A,"Generator"),w(R,O,function(){return this}),w(R,"toString",function(){return"[object Generator]"});function Q(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function W(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function B(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(Q,this),this.reset(!0)}o.keys=function(t){var e=Object(t),r=[];for(var i in e)r.push(i);return r.reverse(),function n(){for(;r.length;){var s=r.pop();if(s in e)return n.value=s,n.done=!1,n}return n.done=!0,n}};function F(t){if(t){var e=t[O];if(e)return e.call(t);if(typeof t.next=="function")return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(c.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=p,n.done=!0,n};return i.next=i}}return{next:J}}o.values=F;function J(){return{value:p,done:!0}}return B.prototype={constructor:B,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=p,this.done=!1,this.delegate=null,this.method="next",this.arg=p,this.tryEntries.forEach(W),!t)for(var e in this)e.charAt(0)==="t"&&c.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=p)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if(e.type==="throw")throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(L,S){return s.type="throw",s.arg=t,e.next=L,S&&(e.method="next",e.arg=p),!!S}for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i],s=n.completion;if(n.tryLoc==="root")return r("end");if(n.tryLoc<=this.prev){var v=c.call(n,"catchLoc"),h=c.call(n,"finallyLoc");if(v&&h){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(v){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else if(h){if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&c.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&(t==="break"||t==="continue")&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var s=n?n.completion:{};return s.type=t,s.arg=e,n?(this.method="next",this.next=n.finallyLoc,d):this.complete(s)},complete:function(t,e){if(t.type==="throw")throw t.arg;return t.type==="break"||t.type==="continue"?this.next=t.arg:t.type==="return"?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):t.type==="normal"&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),W(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var i=r.completion;if(i.type==="throw"){var n=i.arg;W(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:F(t),resultName:e,nextLoc:r},this.method==="next"&&(this.arg=p),d}},o})(typeof te=="object"?te.exports:{});try{regeneratorRuntime=ee}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=ee:Function("r","regeneratorRuntime = r")(ee)}});var Z=f((Ut,se)=>{"use strict";se.exports=(o,a)=>`${o}-${a}-${Math.random().toString(16).slice(3,8)}`});var re=f((Dt,ue)=>{"use strict";var xe=Z(),ce=0;ue.exports=({id:o,action:a,payload:c={}})=>{let u=o;return typeof u>"u"&&(u=xe("Job",ce),ce+=1),{id:u,action:a,payload:c}}});var x=f(z=>{"use strict";var oe=!1;z.logging=oe;z.setLogging=o=>{oe=o};z.log=(...o)=>oe?console.log.apply(z,o):null});var de=f((fe,he)=>{"use strict";var Ve=re(),{log:V}=x(),Qe=Z(),le=0;he.exports=()=>{let o=Qe("Scheduler",le),a={},c={},u=[];le+=1;let p=()=>u.length,b=()=>Object.keys(a).length,O=()=>{if(u.length!==0){let l=Object.keys(a);for(let g=0;g<l.length;g+=1)if(typeof c[l[g]]>"u"){u[0](a[l[g]]);break}}},m=(l,g)=>new Promise((I,P)=>{let _=Ve({action:l,payload:g});u.push(async d=>{u.shift(),c[d.id]=_;try{I(await d[l].apply(fe,[...g,_.id]))}catch(E){P(E)}finally{delete c[d.id],O()}}),V(`[${o}]: Add ${_.id} to JobQueue`),V(`[${o}]: JobQueue length=${u.length}`),O()});return{addWorker:l=>(a[l.id]=l,V(`[${o}]: Add ${l.id}`),V(`[${o}]: Number of workers=${b()}`),O(),l.id),addJob:async(l,...g)=>{if(b()===0)throw Error(`[${o}]: You need to have at least one worker before adding jobs`);return m(l,g)},terminate:async()=>{Object.keys(a).forEach(async l=>{await a[l].terminate()}),u=[]},getQueueLen:p,getNumWorkers:b}}});var ge=f((jt,pe)=>{"use strict";pe.exports=o=>{let a={};return typeof WorkerGlobalScope<"u"?a.type="webworker":typeof document=="object"?a.type="browser":typeof process=="object"&&typeof U=="function"&&(a.type="node"),typeof o>"u"?a:a[o]}});var ve=f((Bt,ye)=>{"use strict";var Xe=ge()("type")==="browser",et=Xe?o=>new URL(o,window.location.href).href:o=>o;ye.exports=o=>{let a={...o};return["corePath","workerPath","langPath"].forEach(c=>{o[c]&&(a[c]=et(a[c]))}),a}});var ne=f((Ft,me)=>{"use strict";me.exports={TESSERACT_ONLY:0,LSTM_ONLY:1,TESSERACT_LSTM_COMBINED:2,DEFAULT:3}});var Le=f((Yt,we)=>{"use strict";we.exports={workerBlobURL:!0,logger:()=>{}}});var Ee=f((zt,Se)=>{"use strict";var tt=U("path"),rt=Le();Se.exports={...rt,workerPath:tt.join(__dirname,"..","..","worker-script","node","index.js")}});var Ae=f((Kt,Oe)=>{"use strict";var{Worker:ot}=U("worker_threads");Oe.exports=({workerPath:o})=>new ot(o)});var ke=f((Ht,_e)=>{"use strict";_e.exports=o=>{o.terminate()}});var Te=f((Jt,be)=>{"use strict";be.exports=(o,a)=>{o.on("message",a)}});var Ne=f((Zt,Re)=>{"use strict";Re.exports=async(o,a)=>{o.postMessage(a)}});var Pe=f((xt,Ie)=>{Ie.exports=st;var nt=/^(?:\w+:)?\/\/(\S+)$/,it=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,at=/^[^\s\.]+\.\S{2,}$/;function st(o){if(typeof o!="string")return!1;var a=o.match(nt);if(!a)return!1;var c=a[1];return c?!!(it.test(c)||at.test(c)):!1}});var Me=f((Vt,qe)=>{"use strict";var ct=U("util"),ut=U("fs"),lt=global.fetch||Ze(),ft=Pe(),ht=ct.promisify(ut.readFile);qe.exports=async o=>{let a=o;return typeof o>"u"?o:(typeof o=="string"?ft(o)||o.startsWith("moz-extension://")||o.startsWith("chrome-extension://")||o.startsWith("file://")?a=await(await lt(o)).arrayBuffer():/data:image\/([a-zA-Z]*);base64,([^"]*)/.test(o)?a=Buffer.from(o.split(",")[1],"base64"):a=await ht(o):Buffer.isBuffer(o)&&(a=o),new Uint8Array(a))}});var Ce=f((Qt,Ge)=>{"use strict";var dt=Ee(),pt=Ae(),gt=ke(),yt=Te(),vt=Ne(),mt=Me();Ge.exports={defaultOptions:dt,spawnWorker:pt,terminateWorker:gt,onMessage:yt,send:vt,loadImage:mt}});var ie=f((Xt,je)=>{"use strict";var wt=ve(),k=re(),{log:Ue}=x(),Lt=Z(),G=ne(),{defaultOptions:St,spawnWorker:Et,terminateWorker:Ot,onMessage:At,loadImage:De,send:_t}=Ce(),$e=0;je.exports=async(o="eng",a=G.LSTM_ONLY,c={},u={})=>{let p=Lt("Worker",$e),{logger:b,errorHandler:O,...m}=wt({...St,...c}),A={},w=typeof o=="string"?o.split("+"):o,N=a,l=u,g=[G.DEFAULT,G.LSTM_ONLY].includes(a)&&!m.legacyCore,I,P,_=new Promise((t,e)=>{P=t,I=e}),d=t=>{I(t.message)},E=Et(m);E.onerror=d,$e+=1;let y=({id:t,action:e,payload:r})=>new Promise((i,n)=>{Ue(`[${p}]: Start ${t}, action=${e}`);let s=`${e}-${t}`;A[s]={resolve:i,reject:n},_t(E,{workerId:p,jobId:t,action:e,payload:r})}),T=()=>console.warn("`load` is depreciated and should be removed from code (workers now come pre-loaded)"),D=t=>y(k({id:t,action:"load",payload:{options:{lstmOnly:g,corePath:m.corePath,logging:m.logging}}})),$=(t,e,r)=>y(k({id:r,action:"FS",payload:{method:"writeFile",args:[t,e]}})),C=(t,e)=>y(k({id:e,action:"FS",payload:{method:"readFile",args:[t,{encoding:"utf8"}]}})),R=(t,e)=>y(k({id:e,action:"FS",payload:{method:"unlink",args:[t]}})),K=(t,e,r)=>y(k({id:r,action:"FS",payload:{method:t,args:e}})),q=(t,e)=>y(k({id:e,action:"loadLanguage",payload:{langs:t,options:{langPath:m.langPath,dataPath:m.dataPath,cachePath:m.cachePath,cacheMethod:m.cacheMethod,gzip:m.gzip,lstmOnly:[G.DEFAULT,G.LSTM_ONLY].includes(N)&&!m.legacyLang}}})),j=(t,e,r,i)=>y(k({id:i,action:"initialize",payload:{langs:t,oem:e,config:r}})),H=(t="eng",e,r,i)=>{if(g&&[G.TESSERACT_ONLY,G.TESSERACT_LSTM_COMBINED].includes(e))throw Error("Legacy model requested but code missing.");let n=e||N;N=n;let s=r||l;l=s;let h=(typeof t=="string"?t.split("+"):t).filter(L=>!w.includes(L));return w.push(...h),h.length>0?q(h,i).then(()=>j(t,n,s,i)):j(t,n,s,i)},Q=(t={},e)=>y(k({id:e,action:"setParameters",payload:{params:t}})),W=async(t,e={},r={text:!0},i)=>y(k({id:i,action:"recognize",payload:{image:await De(t),options:e,output:r}})),B=async(t,e)=>{if(g)throw Error("`worker.detect` requires Legacy model, which was not loaded.");return y(k({id:e,action:"detect",payload:{image:await De(t)}}))},F=async()=>(E!==null&&(Ot(E),E=null),Promise.resolve());At(E,({workerId:t,jobId:e,status:r,action:i,data:n})=>{let s=`${i}-${e}`;if(r==="resolve")Ue(`[${t}]: Complete ${e}`),A[s].resolve({jobId:e,data:n}),delete A[s];else if(r==="reject")if(A[s].reject(n),delete A[s],i==="load"&&I(n),O)O(n);else throw Error(n);else r==="progress"&&b({...n,userJobId:e})});let J={id:p,worker:E,load:T,writeText:$,readText:C,removeFile:R,FS:K,reinitialize:H,setParameters:Q,recognize:W,detect:B,terminate:F};return D().then(()=>q(o)).then(()=>j(o,a,u)).then(()=>P(J)).catch(()=>{}),_}});var Fe=f((er,Be)=>{"use strict";var We=ie(),kt=async(o,a,c)=>{let u=await We(a,1,c);return u.recognize(o).finally(async()=>{await u.terminate()})},bt=async(o,a)=>{let c=await We("osd",0,a);return c.detect(o).finally(async()=>{await c.terminate()})};Be.exports={recognize:kt,detect:bt}});var ze=f((tr,Ye)=>{"use strict";Ye.exports={AFR:"afr",AMH:"amh",ARA:"ara",ASM:"asm",AZE:"aze",AZE_CYRL:"aze_cyrl",BEL:"bel",BEN:"ben",BOD:"bod",BOS:"bos",BUL:"bul",CAT:"cat",CEB:"ceb",CES:"ces",CHI_SIM:"chi_sim",CHI_TRA:"chi_tra",CHR:"chr",CYM:"cym",DAN:"dan",DEU:"deu",DZO:"dzo",ELL:"ell",ENG:"eng",ENM:"enm",EPO:"epo",EST:"est",EUS:"eus",FAS:"fas",FIN:"fin",FRA:"fra",FRK:"frk",FRM:"frm",GLE:"gle",GLG:"glg",GRC:"grc",GUJ:"guj",HAT:"hat",HEB:"heb",HIN:"hin",HRV:"hrv",HUN:"hun",IKU:"iku",IND:"ind",ISL:"isl",ITA:"ita",ITA_OLD:"ita_old",JAV:"jav",JPN:"jpn",KAN:"kan",KAT:"kat",KAT_OLD:"kat_old",KAZ:"kaz",KHM:"khm",KIR:"kir",KOR:"kor",KUR:"kur",LAO:"lao",LAT:"lat",LAV:"lav",LIT:"lit",MAL:"mal",MAR:"mar",MKD:"mkd",MLT:"mlt",MSA:"msa",MYA:"mya",NEP:"nep",NLD:"nld",NOR:"nor",ORI:"ori",PAN:"pan",POL:"pol",POR:"por",PUS:"pus",RON:"ron",RUS:"rus",SAN:"san",SIN:"sin",SLK:"slk",SLV:"slv",SPA:"spa",SPA_OLD:"spa_old",SQI:"sqi",SRP:"srp",SRP_LATN:"srp_latn",SWA:"swa",SWE:"swe",SYR:"syr",TAM:"tam",TEL:"tel",TGK:"tgk",TGL:"tgl",THA:"tha",TIR:"tir",TUR:"tur",UIG:"uig",UKR:"ukr",URD:"urd",UZB:"uzb",UZB_CYRL:"uzb_cyrl",VIE:"vie",YID:"yid"}});var He=f((rr,Ke)=>{"use strict";Ke.exports={OSD_ONLY:"0",AUTO_OSD:"1",AUTO_ONLY:"2",AUTO:"3",SINGLE_COLUMN:"4",SINGLE_BLOCK_VERT_TEXT:"5",SINGLE_BLOCK:"6",SINGLE_LINE:"7",SINGLE_WORD:"8",CIRCLE_WORD:"9",SINGLE_CHAR:"10",SPARSE_TEXT:"11",SPARSE_TEXT_OSD:"12",RAW_LINE:"13"}});var Gt=f((or,Je)=>{ae();var Tt=de(),Rt=ie(),Nt=Fe(),It=ze(),Pt=ne(),qt=He(),{setLogging:Mt}=x();Je.exports={languages:It,OEM:Pt,PSM:qt,createScheduler:Tt,createWorker:Rt,setLogging:Mt,...Nt}});export default Gt();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"./chunk-56EJGQU3.js";import"./chunk-6DHFEWGX.js";export{c as addPendingNudge,e as clearPendingNudges,d as consumePendingNudges,b as pendingSubagentNudges,a as subagentProgress};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"./chunk-56EJGQU3.js";import"./chunk-PHKIAKHS.js";export{c as addPendingNudge,e as clearPendingNudges,d as consumePendingNudges,b as pendingSubagentNudges,a as subagentProgress};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"./chunk-56EJGQU3.js";import"./chunk-Y6SLVHK3.js";export{c as addPendingNudge,e as clearPendingNudges,d as consumePendingNudges,b as pendingSubagentNudges,a as subagentProgress};
|