@swishfoundry/qew 1.0.22 → 1.0.24-beta.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/README.md +83 -38
- package/dist/commands/queue.js +1 -1
- package/dist/commands/start.js +1 -1
- package/dist/commands/usage.js +1 -1
- package/dist/core/claudeRunner.js +1 -1
- package/dist/core/claudeSessionManager.js +1 -1
- package/dist/core/gitService.js +1 -1
- package/dist/core/outputParser.js +1 -1
- package/dist/core/queueManager.js +1 -1
- package/dist/core/runnerPool.js +1 -1
- package/dist/core/sessionManager.js +1 -1
- package/dist/core/shortcutManager.js +1 -0
- package/dist/crypto/encryption.js +1 -1
- package/dist/crypto/keypair.js +1 -1
- package/dist/index.js +1 -1
- package/dist/network/ipDetect.js +1 -1
- package/dist/network/messageHandler.js +1 -1
- package/dist/network/relayClient.js +1 -1
- package/dist/network/server.js +1 -1
- package/dist/network/tlsCert.js +1 -0
- package/dist/network/tunnel.js +1 -0
- package/dist/providers/claude.js +1 -1
- package/dist/providers/codex.js +1 -1
- package/dist/providers/gemini.js +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/types.js +1 -1
- package/dist/services/versionConfig.js +1 -1
- package/dist/ui/App.js +1 -1
- package/dist/ui/components/Header.js +1 -1
- package/dist/ui/components/Layout.js +1 -1
- package/dist/ui/components/common/StatusDot.js +1 -1
- package/dist/ui/components/left/ConnectionPanel.js +1 -1
- package/dist/ui/components/left/QRCodeDisplay.js +1 -1
- package/dist/ui/components/prompts/AskUserQuestionPrompt.js +1 -1
- package/dist/ui/components/prompts/ExitPlanPrompt.js +1 -1
- package/dist/ui/components/prompts/PermissionPrompt.js +1 -1
- package/dist/ui/components/right/AnswerBox.js +1 -1
- package/dist/ui/components/right/ChatMessage.js +1 -1
- package/dist/ui/components/right/ChatPanel.js +1 -1
- package/dist/ui/components/right/StreamingText.js +1 -1
- package/dist/ui/components/right/ToolGroup.js +1 -1
- package/dist/ui/hooks/useEventBridge.js +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/ui/store/index.js +1 -1
- package/dist/ui/theme/colors.js +1 -1
- package/dist/utils/claudePath.js +1 -1
- package/package.json +5 -2
package/dist/ui/theme/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x29a7(_0x2592ce,_0xfc6d25){_0x2592ce=_0x2592ce-(-0x1*0x1426+-0xeb8+0x1*0x246b);const _0x134fc9=_0x3ab6();let _0xbe28b7=_0x134fc9[_0x2592ce];if(_0x29a7['lrrfmP']===undefined){var _0x39d4af=function(_0x55fabd){const _0x331b7d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc9fc='',_0x6761de='';for(let _0x3b1833=-0x5c*-0x1b+0xc6*-0xf+0x6*0x51,_0x59ca60,_0x2323e5,_0x5ea617=-0x906+0x1f9+0x70d;_0x2323e5=_0x55fabd['charAt'](_0x5ea617++);~_0x2323e5&&(_0x59ca60=_0x3b1833%(-0x1*-0xaad+0x357+-0xe00)?_0x59ca60*(-0xd30+-0x59*-0x56+-0x7*0x25a)+_0x2323e5:_0x2323e5,_0x3b1833++%(-0x999*-0x3+-0x10c1+0xa2*-0x13))?_0xc9fc+=String['fromCharCode'](-0x36b+0x1cfc+0xb9*-0x22&_0x59ca60>>(-(-0x270e+-0x1*-0x8db+0xb*0x2bf)*_0x3b1833&-0x4f9+0xb*-0x346+0x2901)):0x21dc+0x1*-0x2570+0x394){_0x2323e5=_0x331b7d['indexOf'](_0x2323e5);}for(let _0x55ec7f=-0x8ed*0x1+0xf7*0x19+0x1*-0xf32,_0x184789=_0xc9fc['length'];_0x55ec7f<_0x184789;_0x55ec7f++){_0x6761de+='%'+('00'+_0xc9fc['charCodeAt'](_0x55ec7f)['toString'](-0xe56+0x1462*0x1+-0x5fc))['slice'](-(-0x2*-0x25e+-0x2c5+-0x1f5));}return decodeURIComponent(_0x6761de);};_0x29a7['Hgnmew']=_0x39d4af,_0x29a7['WrxXAM']={},_0x29a7['lrrfmP']=!![];}const _0x5a8401=_0x134fc9[-0x1fff+0x844*0x2+0x6b*0x25],_0x5811a0=_0x2592ce+_0x5a8401,_0x5a3fa6=_0x29a7['WrxXAM'][_0x5811a0];return!_0x5a3fa6?(_0xbe28b7=_0x29a7['Hgnmew'](_0xbe28b7),_0x29a7['WrxXAM'][_0x5811a0]=_0xbe28b7):_0xbe28b7=_0x5a3fa6,_0xbe28b7;}(function(_0x387aa7,_0x5029b8){const _0x20cfef={_0x41dd3e:0x1e3,_0x1634ad:0x1d6,_0x5b81fc:0x1e2,_0x46c4d6:0x1d3,_0x5d1179:0x1f1,_0x2ca74a:0x1e9,_0x49d9ed:0x1ec,_0x45e08a:0x1f8,_0x388043:0x1f0,_0x550d38:0x1f6,_0x1f319c:0x1f2,_0x2296c3:0x1c8,_0xf74873:0x1f2,_0x904530:0x1fb,_0x12483b:0x206,_0x47031a:0x80,_0xf3127b:0x58};function _0x4032a6(_0x843d2f,_0x2bddfe,_0x38764a,_0xa4a2ae){return _0x29a7(_0x38764a- -0x398,_0xa4a2ae);}const _0x4b820c=_0x387aa7();function _0x447e7a(_0x18065e,_0x24cbc3,_0x21ea6f,_0x4559de){return _0x29a7(_0x18065e- -0x141,_0x24cbc3);}while(!![]){try{const _0x51f04e=parseInt(_0x4032a6(-_0x20cfef._0x41dd3e,-_0x20cfef._0x1634ad,-_0x20cfef._0x5b81fc,-0x1d2))/(0x16a8+-0x84a+-0xe5d)*(-parseInt(_0x4032a6(-0x1d6,-_0x20cfef._0x46c4d6,-0x1df,-_0x20cfef._0x5d1179))/(0x84f*0x1+0x1*0x2317+-0x2b64))+parseInt(_0x4032a6(-0x1db,-_0x20cfef._0x2ca74a,-0x1e4,-_0x20cfef._0x49d9ed))/(-0x21c7+0x958+0x413*0x6)+-parseInt(_0x4032a6(-_0x20cfef._0x45e08a,-0x1ef,-_0x20cfef._0x388043,-0x1fc))/(0xa*-0x1eb+-0x79*-0x25+0x1b5)+-parseInt(_0x4032a6(-0x1fd,-_0x20cfef._0x550d38,-_0x20cfef._0x1f319c,-0x207))/(0x21a*-0x5+-0x82e*-0x1+0x259*0x1)+-parseInt(_0x4032a6(-_0x20cfef._0x2296c3,-0x1d8,-0x1db,-_0x20cfef._0xf74873))/(-0x4*-0x486+-0x131e+0x4*0x43)+-parseInt(_0x4032a6(-0x21f,-_0x20cfef._0x904530,-_0x20cfef._0x12483b,-0x21a))/(0x1b0a+0x19c*-0x17+0xa01)*(-parseInt(_0x447e7a(0x7e,0x7a,0x7a,_0x20cfef._0x47031a))/(-0x85e+0xc*0x2e+0x63e))+-parseInt(_0x447e7a(0x6a,_0x20cfef._0x47031a,_0x20cfef._0xf3127b,0x60))/(-0x25fd+0xa31*-0x1+0x1*0x3037)*(-parseInt(_0x447e7a(0x68,0x64,0x82,0x73))/(0x1420+-0x103*0x25+0x1159));if(_0x51f04e===_0x5029b8)break;else _0x4b820c['push'](_0x4b820c['shift']());}catch(_0x16c192){_0x4b820c['push'](_0x4b820c['shift']());}}}(_0x3ab6,0xb6ad8+-0x1*0x3e44b+-0x1*-0x2d665));const _0x12fade={};_0x12fade[_0x4f4f52(-0xd4,-0xbd,-0xd6,-0xc6)]='#e07553',_0x12fade[_0x4f4f52(-0xb6,-0xa6,-0x8e,-0x95)]='#f5a385',_0x12fade[_0x4f4f52(-0xbf,-0xaf,-0xb6,-0xa6)]=_0x4f4f52(-0x9b,-0xb4,-0xbf,-0xb2),_0x12fade[_0x1a794b(-0x51,-0x54,-0x6a,-0x5e)+'k']=_0x1a794b(-0x6c,-0x62,-0x55,-0x6e),_0x12fade[_0x1a794b(-0x63,-0x63,-0x67,-0x70)]='#eab308',_0x12fade[_0x4f4f52(-0xba,-0xb2,-0xbb,-0xc9)]=_0x4f4f52(-0xe4,-0xce,-0xbd,-0xcc),_0x12fade[_0x4f4f52(-0xc7,-0xcc,-0xd8,-0xdd)]=_0x4f4f52(-0xa4,-0xb1,-0xaf,-0xbb),_0x12fade['violetLigh'+'t']=_0x1a794b(-0x5f,-0x5e,-0x76,-0x6a),_0x12fade[_0x4f4f52(-0xba,-0xc8,-0xd4,-0xcc)]='#ef4444',_0x12fade[_0x4f4f52(-0x9e,-0xad,-0xb5,-0xb0)]=_0x1a794b(-0x7f,-0x65,-0x6b,-0x78),_0x12fade[_0x1a794b(-0x71,-0x68,-0x56,-0x63)]=_0x4f4f52(-0xe0,-0xd6,-0xc7,-0xd7),_0x12fade[_0x1a794b(-0x57,-0x57,-0x6b,-0x61)]=_0x4f4f52(-0xb4,-0xac,-0xbb,-0xb1),_0x12fade[_0x4f4f52(-0xdc,-0xc7,-0xdd,-0xc1)]=_0x1a794b(-0x84,-0x69,-0x6c,-0x7e),_0x12fade['zinc500']=_0x1a794b(-0x92,-0x8a,-0x94,-0x82),_0x12fade[_0x4f4f52(-0xcd,-0xb5,-0xa0,-0xc3)]=_0x4f4f52(-0xb8,-0xcf,-0xbb,-0xbd),_0x12fade['zinc300']=_0x1a794b(-0x66,-0x56,-0x4f,-0x55);function _0x4f4f52(_0x479944,_0x19c3fd,_0x4db4f3,_0xd580cc){return _0x29a7(_0x19c3fd- -0x264,_0xd580cc);}_0x12fade[_0x1a794b(-0x7f,-0x72,-0x72,-0x6d)]=_0x1a794b(-0x8b,-0x7a,-0x88,-0x76),_0x12fade[_0x4f4f52(-0xcc,-0xc4,-0xcb,-0xb1)]='#f4f4f5',_0x12fade['bgPrimary']=_0x4f4f52(-0xd5,-0xd5,-0xcf,-0xcf),_0x12fade[_0x1a794b(-0x5d,-0x65,-0x62,-0x74)+'y']=_0x4f4f52(-0xd3,-0xcd,-0xd5,-0xd0),_0x12fade['bgPanel']='#27272a',_0x12fade[_0x1a794b(-0x72,-0x8f,-0x82,-0x7b)]='#3f3f46',_0x12fade['textPrimar'+'y']=_0x4f4f52(-0xa7,-0xb7,-0xb7,-0xc3),_0x12fade[_0x4f4f52(-0xbe,-0xd4,-0xe4,-0xc9)+'ary']=_0x1a794b(-0x92,-0x6c,-0x74,-0x7a),_0x12fade['textMuted']='#71717a',_0x12fade[_0x1a794b(-0x66,-0x69,-0x6e,-0x71)+'ed']=_0x1a794b(-0x6d,-0x7d,-0x86,-0x7e);export const colors=_0x12fade;const _0x58472c={};_0x58472c[_0x1a794b(-0x87,-0x7b,-0x71,-0x75)+'ed']=colors[_0x1a794b(-0x77,-0x5e,-0x82,-0x73)],_0x58472c[_0x1a794b(-0x56,-0x3a,-0x4a,-0x54)]=colors[_0x1a794b(-0x6e,-0x6c,-0x88,-0x70)],_0x58472c[_0x1a794b(-0x51,-0x61,-0x5b,-0x53)]=colors[_0x1a794b(-0x64,-0x5e,-0x43,-0x5a)],_0x58472c[_0x1a794b(-0x83,-0x89,-0x65,-0x7c)]=colors[_0x4f4f52(-0xda,-0xc8,-0xce,-0xdc)];export const statusColors=_0x58472c;const _0x52a26e={};_0x52a26e[_0x1a794b(-0x72,-0x66,-0x67,-0x6c)]=colors[_0x4f4f52(-0xc4,-0xb2,-0xad,-0xc5)],_0x52a26e['action']=colors[_0x4f4f52(-0xc6,-0xaf,-0xb5,-0xa6)],_0x52a26e[_0x1a794b(-0x75,-0x61,-0x4e,-0x65)]=colors[_0x4f4f52(-0xb4,-0xcc,-0xd4,-0xc6)];function _0x3ab6(){const _0x204a0a=['zw1LCMfSzerHCG','yw1Izxi','iZHInwnMnG','mJa1odK2B0PsyuzR','zw1LCMfSza','mZeZnZKYuxruB1LI','EMLUyZKWma','iZnMm2y0nG','mNvvu3Huyq','i2q0zdrKoa','y29UBMvJDgLUzW','CgfPCMvK','mtiWnZe0mhHkqxn1uq','y29YywXmAwDODa','mJK2otC2ohfoze1yCG','iZCXnZe3yq','iZi3mJCYyq','iZa5mdKWyG','Dgv4DfnLy29Uza','iZuYnti1yG','n1HJvvftqG','zxjYB3i','yMDfBgv2yxrLza','i2eXytfHyq','i2y1owuWyG','iZe4mtGXyG','DMLVBgv0','i2u0ztrLnW','zgLZy29UBMvJDa','yMDtzwnVBMrHCG','CMvK','EMLUyZyWma','Dgv4DerPC2fIBa','EwvSBg93','EMLUyZeWma','iZa1oty2oq','EMLUyZiWma','CgXHBG','DxnLCG','i2e3ogjMyq','ndqZode4mgjyswzxyG','y29YywW','mZa0nZCYnfnUtKv3yW','mtmXmdbLtg9AvKC','CMvXDwvZDa','mty1mtveEur2EMq','EMLUyZGWma','i2y0zJrMnq','EMLUyZCWma','EMLUyZqWma','iZeWyJK4mq'];_0x3ab6=function(){return _0x204a0a;};return _0x3ab6();}export const modeColors=_0x52a26e;const _0x55e5f7={};_0x55e5f7[_0x1a794b(-0x66,-0x5a,-0x84,-0x6b)]=colors[_0x4f4f52(-0xd5,-0xbd,-0xc3,-0xa6)],_0x55e5f7['assistant']=colors['zinc700'];function _0x1a794b(_0x28e710,_0x27581a,_0x34bcac,_0xa37c29){const _0xa9daaf={_0x4800c1:0x20f};return _0x29a7(_0xa37c29- -_0xa9daaf._0x4800c1,_0x27581a);}_0x55e5f7['tool']=colors[_0x1a794b(-0x7c,-0x5f,-0x70,-0x72)],_0x55e5f7['answer']=colors[_0x4f4f52(-0x9a,-0xb3,-0x9f,-0xaa)+'k'];export const messageColors=_0x55e5f7;
|
package/dist/utils/claudePath.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1a3537,_0x362e86){const _0xa4a9c2={_0x2d18a0:0x41c,_0xbf57f3:0x408,_0x236d67:0x21f,_0x52d7b1:0x219,_0x5a2eb2:0x21b,_0x1ef32a:0x425,_0x2c77ef:0x417,_0x55eaa3:0x442,_0x336c5f:0x443,_0x299676:0x44a,_0x1d968e:0x22a,_0x407ddd:0x229,_0x3e0ab2:0x216,_0x14b5e2:0x213,_0x2228f4:0x219,_0x28f332:0x430,_0x371456:0x428,_0x1c7dc7:0x20d,_0x3d732c:0x20c,_0x48e1e5:0x228,_0x2bb5ea:0x234,_0x448f47:0x225},_0xb43947={_0x450ffd:0x2f7},_0x276ec4=_0x1a3537();function _0x51510f(_0x3727bc,_0x152e77,_0x3ac44e,_0x339f81){return _0x16c4(_0x3ac44e-_0xb43947._0x450ffd,_0x339f81);}function _0x5e191b(_0xfec6cb,_0x3a7e0e,_0x4e11df,_0x3aff52){return _0x16c4(_0x3aff52-0xe7,_0x4e11df);}while(!![]){try{const _0x304594=parseInt(_0x51510f(_0xa4a9c2._0x2d18a0,_0xa4a9c2._0xbf57f3,0x422,0x43f))/(-0x39*0x45+-0x82f+0x178d*0x1)+parseInt(_0x5e191b(_0xa4a9c2._0x236d67,_0xa4a9c2._0x52d7b1,0x230,_0xa4a9c2._0x5a2eb2))/(-0x269f+0x1e61+0x210*0x4)+parseInt(_0x51510f(0x40c,0x413,_0xa4a9c2._0x1ef32a,_0xa4a9c2._0x2c77ef))/(-0xe23+-0x1ae6+0x290c)+parseInt(_0x51510f(0x447,_0xa4a9c2._0x55eaa3,_0xa4a9c2._0x336c5f,_0xa4a9c2._0x299676))/(0x6d5+0x11a8+0x1*-0x1879)*(-parseInt(_0x5e191b(_0xa4a9c2._0x1d968e,0x201,_0xa4a9c2._0x407ddd,_0xa4a9c2._0x3e0ab2))/(-0x196a+0x51*-0x5e+0x372d))+parseInt(_0x5e191b(0x212,0x226,_0xa4a9c2._0x14b5e2,_0xa4a9c2._0x2228f4))/(0x213+0x17*-0x55+-0x2cb*-0x2)*(parseInt(_0x51510f(0x414,_0xa4a9c2._0x28f332,_0xa4a9c2._0x371456,0x416))/(0xf*0x166+0x2*0x76e+-0x23cf))+parseInt(_0x5e191b(_0xa4a9c2._0x1c7dc7,0x1f8,0x203,_0xa4a9c2._0x3d732c))/(-0x3f5*-0x3+-0x1*-0xfc5+-0x1b9c)*(-parseInt(_0x5e191b(0x23d,0x21f,0x240,_0xa4a9c2._0x48e1e5))/(-0x23f9*-0x1+-0x23a1+-0x1*0x4f))+-parseInt(_0x5e191b(_0xa4a9c2._0x2bb5ea,0x231,_0xa4a9c2._0x48e1e5,_0xa4a9c2._0x448f47))/(-0x1*0xed7+-0x894+0x1775);if(_0x304594===_0x362e86)break;else _0x276ec4['push'](_0x276ec4['shift']());}catch(_0x5936b1){_0x276ec4['push'](_0x276ec4['shift']());}}}(_0x439f,0x56fed+0x255d+-0x6*0x6b0f));import*as _0x397928 from'fs';import*as _0x3f7d41 from'path';import{execSync}from'child_process';function _0x439f(){const _0x3eda38=['nwDTwfbxra','C01pCwS','mJm0mZmYsKDQwe9I','nZjPBvz3vg8','zw52','nZC4mZG2zgnItKvq','AM9PBG','AeHmt1i','zNHUwM0','rw1nzhq','qvDsDvC','A3bHzK0','y2XHDwrL','lMXVy2fS','uefusa','ndi3ntaZmhfkrNnqCq','Bg9JywW','se9nrq','mta3mvviA0TkBG','l3vZCI9IAw4VyW','l2jPBI9JBgf1za','u1zctMS','yxvKzq','l3nUyxaVyMLUlW','qNn1DKC','l2HVBwuVBgLUDq','A2Hot2W','l3nUyxaVyMLU','D2zPsKm','mti3nJq5nKflDgLcuW','DvvsBNK','DxHICMv3l2jPBG','lY5SB2nHBc9IAq','CKjLquq','CgLWzq','t2HZsNm','DhjPBq','l2jPBG','C2DXtuO','EgjYzxCVlMXPBG','l3vZCI9SB2nHBa','thHxz3G','D2HPy2GGy2XHDq','l29WDc9OB21LyG','DLLdrKK','B0PYyxm','Bgf1zgu','AKviqMK','DxrMltG','mteXndrPsu1tsKq','lMnSyxvKzq','zxHPC3rZu3LUyW','l2nSyxvKzq','vMj2reu','yKDnBgG','mJK4odLjDwTuEvu','z25jvve','CgPrB0G','odC5mty4rLDLshfx'];_0x439f=function(){return _0x3eda38;};return _0x439f();}function _0x16c4(_0x780619,_0x2075b8){_0x780619=_0x780619-(-0x71*0x3c+0x1*-0xd25+0x7*0x5d3);const _0x504b94=_0x439f();let _0x202106=_0x504b94[_0x780619];if(_0x16c4['rxAQkT']===undefined){var _0x1ac8c0=function(_0x22c5c1){const _0xd76172='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3e4763='',_0x4514e5='';for(let _0x49a558=0x559*-0x1+0x1d2a+-0x17d1,_0x50093f,_0x18ce5c,_0x22cf22=0x172+0x4a*-0x42+0x11a2;_0x18ce5c=_0x22c5c1['charAt'](_0x22cf22++);~_0x18ce5c&&(_0x50093f=_0x49a558%(-0x287*-0xd+0x1b*-0xce+-0xb1d)?_0x50093f*(0x1*0xf95+0x701+-0x1656)+_0x18ce5c:_0x18ce5c,_0x49a558++%(-0xd*0x21+0x643+-0x492))?_0x3e4763+=String['fromCharCode'](-0xf57+0x1d28+-0xcd2&_0x50093f>>(-(-0x1*-0x76f+0x204b*-0x1+0x6*0x425)*_0x49a558&0x10b3+0x454+-0x1501)):0x3*-0x3d0+-0x115*-0x13+-0x91f){_0x18ce5c=_0xd76172['indexOf'](_0x18ce5c);}for(let _0x18c1ec=-0x2*0x77b+-0x1711+0x2607,_0xba6506=_0x3e4763['length'];_0x18c1ec<_0xba6506;_0x18c1ec++){_0x4514e5+='%'+('00'+_0x3e4763['charCodeAt'](_0x18c1ec)['toString'](-0x69c+-0xe03+0x14af))['slice'](-(-0x5*-0x42c+0x57*-0x43+0x1eb));}return decodeURIComponent(_0x4514e5);};_0x16c4['YrXkgC']=_0x1ac8c0,_0x16c4['DYhdmc']={},_0x16c4['rxAQkT']=!![];}const _0x4102fc=_0x504b94[0x1f+0x214*-0xf+0x1f0d],_0x1ff4fc=_0x780619+_0x4102fc,_0xf4a2d=_0x16c4['DYhdmc'][_0x1ff4fc];return!_0xf4a2d?(_0x202106=_0x16c4['YrXkgC'](_0x202106),_0x16c4['DYhdmc'][_0x1ff4fc]=_0x202106):_0x202106=_0xf4a2d,_0x202106;}let cachedClaudePath=null;export function findClaudePath(){const _0x44edec={_0x170652:0x172,_0x88a7fe:0x187,_0x4f93b6:0x160,_0x1b6b0d:0x177,_0x15b36a:0xbd,_0x4987e5:0x91,_0x256103:0x179,_0x4f8417:0x18e,_0x384394:0x186,_0x197940:0x95,_0x411290:0xb7,_0x4ca8bd:0x178,_0x3e5680:0x164,_0x53f14f:0xb4,_0x1de3cf:0x9f,_0x2edbab:0xd0,_0x4cddd2:0x17e,_0x288035:0x99,_0x3c8bff:0xa0,_0x19dd4c:0x169,_0x20ede7:0x17d,_0x33cceb:0x16f,_0x23e988:0x180,_0x48e8c5:0xa2,_0x137289:0xa3,_0x36a727:0x91,_0x5669f5:0xb3,_0x2d9a23:0xab,_0x1ede0f:0x90,_0x4ce580:0xc0,_0x11b121:0x74,_0x449ff7:0xa3,_0x480df7:0x17c,_0x2353b3:0x188,_0x2cf2c2:0x98,_0x171d2b:0xa7,_0x2344af:0xaa,_0x5d5709:0x93,_0x2f8e0c:0x1b2,_0x591b8d:0x19a,_0x2be21d:0x1b7,_0xde9f32:0x90,_0x411440:0x172,_0x284ba:0x94,_0x36f28c:0x9c,_0x4b31cc:0xa4,_0x577dc3:0x97,_0x1f5ffc:0xa9,_0x1b5ade:0x179,_0x42791b:0x1a1,_0x53c231:0x89,_0x5459d6:0x7e,_0x3b09b9:0xb2,_0x30067f:0x9b,_0xe908b5:0x16a,_0x4bbc49:0x176,_0x5e7a81:0x165,_0x1c9023:0xb9,_0x16426e:0xcd,_0x18727d:0x1ae,_0x57bcd0:0x19c,_0x12537f:0x96,_0x39428b:0xb1,_0x29a85e:0xad,_0x4ca7ff:0xaa,_0x5cfe28:0xae,_0x294279:0xb2,_0x39eed2:0x1b0,_0x3c93a7:0x19f,_0x1a8282:0x193,_0x1a3ad6:0x176,_0x2f4064:0x18c,_0x5c21b5:0x9b,_0x598422:0x9f,_0x50d92b:0x9a,_0x41886a:0x197,_0x103cc7:0x163,_0x116e6a:0x167,_0x4ed260:0x196,_0x22f317:0x1a6,_0x4cb908:0x92,_0x6d4ce7:0x8a,_0x12e49a:0x6a,_0x54cb54:0x98,_0x16989c:0xb5,_0x3d938a:0x89,_0x6bcda6:0x84,_0x5b3343:0x189,_0x26ca6d:0x7d,_0x4aad57:0x1a3,_0x1e37c6:0x184,_0x5131d4:0x148,_0x5eb636:0x14b,_0x545d69:0x163,_0x1aaa52:0x15c,_0xae86c0:0xb4,_0x216566:0xba,_0xd420f9:0x87,_0x1692e7:0x6a,_0x48a7d5:0x8b,_0xcf3084:0x76,_0x11a398:0x17b,_0x34c8f7:0x16e,_0x676cb2:0x84,_0x14bbae:0x7b,_0x1bbbdd:0x84,_0x1df9e4:0x98,_0x55ee2d:0x17a,_0x3ff5fa:0x186,_0x1e533b:0x188,_0x4dafdd:0x16b,_0xf699b5:0x175,_0x370d70:0x180,_0x4e789b:0x18d},_0x41f2b7={'gnIUQ':'/usr/bin','EmMdt':_0x2731a1(-_0x44edec._0x170652,-0x14e,-0x16a,-0x160)+_0x2731a1(-0x154,-0x162,-0x16d,-_0x44edec._0x88a7fe),'kpafM':_0x2731a1(-0x192,-_0x44edec._0x4f93b6,-_0x44edec._0x1b6b0d,-0x15a),'IGvrd':function(_0x503312,_0x1b58dd,_0x54ea4c){return _0x503312(_0x1b58dd,_0x54ea4c);},'jEHBi':_0x1d94f6(0xb6,_0x44edec._0x15b36a,0xb2,0xb2)+'de','khNOl':_0x1d94f6(0x81,_0x44edec._0x4987e5,0x6d,0x95),'bGMlh':_0x2731a1(-_0x44edec._0x256103,-_0x44edec._0x4f8417,-0x170,-_0x44edec._0x384394),'vYCFI':_0x1d94f6(0x9f,_0x44edec._0x197940,0xb2,_0x44edec._0x411290)+_0x2731a1(-_0x44edec._0x4ca8bd,-0x169,-_0x44edec._0x3e5680,-0x17a),'fxnZm':_0x1d94f6(_0x44edec._0x53f14f,0xd0,_0x44edec._0x1de3cf,_0x44edec._0x2edbab)+_0x2731a1(-0x185,-0x187,-_0x44edec._0x4cddd2,-0x191)+'e','BsuvG':_0x1d94f6(_0x44edec._0x288035,_0x44edec._0x3c8bff,0x9c,0x7c),'AWRuW':'bin','sMOqk':_0x2731a1(-_0x44edec._0x19dd4c,-_0x44edec._0x256103,-0x186,-_0x44edec._0x20ede7),'sgqMJ':_0x2731a1(-_0x44edec._0x33cceb,-0x182,-0x182,-0x17d),'wfiJC':_0x2731a1(-_0x44edec._0x23e988,-0x165,-0x167,-0x173)+'rew/bin/cl'+_0x1d94f6(0xa2,0xa2,_0x44edec._0x48e8c5,0x8d),'UCnPB':_0x1d94f6(0xa5,0x9b,_0x44edec._0x137289,_0x44edec._0x36a727)+_0x1d94f6(_0x44edec._0x5669f5,0xb3,0xb7,0xbc)+_0x1d94f6(_0x44edec._0x2d9a23,_0x44edec._0x1ede0f,_0x44edec._0x4ce580,0x91)+_0x1d94f6(0x85,0x79,_0x44edec._0x11b121,_0x44edec._0x449ff7),'REKPY':_0x2731a1(-_0x44edec._0x480df7,-0x163,-0x17b,-_0x44edec._0x2353b3)+_0x1d94f6(_0x44edec._0x2cf2c2,_0x44edec._0x171d2b,0xb1,_0x44edec._0x2344af),'VbvDE':_0x1d94f6(_0x44edec._0x5d5709,0x76,0x8e,0x83),'qVTRF':function(_0x100a3e,_0x246312){return _0x100a3e===_0x246312;},'OhsJs':_0x2731a1(-0x161,-0x175,-0x174,-0x189),'SVBNk':function(_0x19149c,_0x292503,_0x2a06a8){return _0x19149c(_0x292503,_0x2a06a8);},'LxWgx':'TIjiU'};if(cachedClaudePath&&_0x397928[_0x2731a1(-_0x44edec._0x2f8e0c,-0x18d,-_0x44edec._0x591b8d,-_0x44edec._0x2be21d)](cachedClaudePath))return cachedClaudePath;cachedClaudePath=null;const _0x5ff333=process[_0x1d94f6(_0x44edec._0xde9f32,0xa3,0xa3,_0x44edec._0x48e8c5)][_0x2731a1(-0x18a,-_0x44edec._0x411440,-0x181,-0x171)]||'';function _0x2731a1(_0x3e223d,_0x4588f2,_0x1c2b41,_0x8c3d3d){return _0x16c4(_0x1c2b41- -0x2c1,_0x4588f2);}const _0x2d4d01=[_0x41f2b7[_0x1d94f6(0xb8,0xc8,0xbe,0x9e)],_0x41f2b7[_0x1d94f6(_0x44edec._0x284ba,0x9d,0xad,_0x44edec._0x36f28c)],_0x3f7d41['join'](_0x5ff333,_0x41f2b7[_0x1d94f6(_0x44edec._0x4b31cc,_0x44edec._0x577dc3,0xb0,_0x44edec._0x1f5ffc)],_0x41f2b7[_0x2731a1(-0x18b,-_0x44edec._0x1b5ade,-_0x44edec._0x2353b3,-_0x44edec._0x42791b)],_0x41f2b7[_0x1d94f6(0x8d,0x78,0x78,_0x44edec._0x53c231)]),_0x3f7d41[_0x2731a1(-0x18a,-0x176,-0x18c,-0x170)](_0x5ff333,_0x1d94f6(0x83,_0x44edec._0x5459d6,0xa0,0x94),_0x41f2b7[_0x1d94f6(_0x44edec._0x3b09b9,0xa5,_0x44edec._0x30067f,0xb0)],_0x41f2b7['sMOqk']),_0x41f2b7[_0x2731a1(-_0x44edec._0x256103,-_0x44edec._0xe908b5,-_0x44edec._0x4bbc49,-_0x44edec._0x5e7a81)],_0x41f2b7['UCnPB'],_0x41f2b7['REKPY']];function _0x1d94f6(_0x5a5afe,_0x28f85c,_0x3148c9,_0xdd10c9){return _0x16c4(_0x5a5afe- -0xa3,_0x28f85c);}for(const _0x3584d4 of _0x2d4d01){if(_0x1d94f6(_0x44edec._0x1c9023,0xbf,_0x44edec._0x16426e,0xd0)===_0x41f2b7[_0x2731a1(-_0x44edec._0x18727d,-0x195,-0x198,-_0x44edec._0x57bcd0)])return _0x5357a7=_0x292eed,_0x3f6ac9;else try{if(_0x397928['existsSync'](_0x3584d4))return cachedClaudePath=_0x3584d4,_0x3584d4;}catch{}}try{if(_0x41f2b7['qVTRF'](_0x41f2b7[_0x1d94f6(0xaf,_0x44edec._0x12537f,_0x44edec._0x39428b,_0x44edec._0x29a85e)],_0x1d94f6(_0x44edec._0x4ca7ff,_0x44edec._0x5cfe28,_0x44edec._0x294279,0xb5))){const _0x3af7c1=[process['env'][_0x1d94f6(0x9a,0x98,_0x44edec._0xde9f32,0x98)]||'',_0x41f2b7[_0x2731a1(-_0x44edec._0x39eed2,-_0x44edec._0x3c93a7,-0x195,-_0x44edec._0x1a8282)],_0x41f2b7['EmMdt'],_0x41f2b7[_0x2731a1(-0x182,-_0x44edec._0x1a3ad6,-_0x44edec._0x88a7fe,-0x195)],_0x5ff333+(_0x2731a1(-0x173,-0x18f,-_0x44edec._0x170652,-_0x44edec._0x23e988)+'n')][_0x2731a1(-0x195,-0x191,-_0x44edec._0x2f4064,-0x18a)](':'),_0x24c1d9={...process[_0x1d94f6(0x90,0x78,_0x44edec._0x5c21b5,_0x44edec._0x598422)]};_0x24c1d9[_0x1d94f6(_0x44edec._0x50d92b,0xac,_0x44edec._0x30067f,0x8a)]=_0x3af7c1;const _0xa6cf8d=_0x41f2b7[_0x2731a1(-0x18f,-_0x44edec._0x41886a,-_0x44edec._0x20ede7,-0x15f)](execSync,_0x41f2b7[_0x2731a1(-0x173,-0x170,-_0x44edec._0x103cc7,-0x17c)],{'encoding':_0x41f2b7[_0x2731a1(-_0x44edec._0x4f93b6,-_0x44edec._0x33cceb,-0x178,-_0x44edec._0x116e6a)],'stdio':[_0x41f2b7[_0x2731a1(-0x19f,-_0x44edec._0x4ed260,-_0x44edec._0x41886a,-_0x44edec._0x22f317)],_0x41f2b7[_0x1d94f6(0x87,_0x44edec._0x4cb908,0x6e,_0x44edec._0x6d4ce7)],'pipe'],'env':_0x24c1d9})['trim']();if(_0xa6cf8d&&_0x397928[_0x1d94f6(0x84,0x84,0xa0,_0x44edec._0x12e49a)](_0xa6cf8d)){if(_0x1d94f6(0x8a,0x76,0x86,_0x44edec._0x54cb54)!==_0x41f2b7[_0x1d94f6(_0x44edec._0x16989c,0x9f,0xcd,0x99)])return cachedClaudePath=_0xa6cf8d,_0xa6cf8d;else{const _0xd4afec=[_0xcdda02['env']['PATH']||'',_0x41f2b7[_0x1d94f6(_0x44edec._0x3d938a,0xa6,0x6d,_0x44edec._0x6bcda6)],_0x41f2b7[_0x2731a1(-0x177,-0x1a0,-_0x44edec._0x5b3343,-0x16b)],_0x41f2b7['kpafM'],_0x1868d6+('/.local/bi'+'n')][_0x1d94f6(0x92,0x7f,0x86,_0x44edec._0x26ca6d)](':'),_0x28e6fb={..._0x48c749[_0x2731a1(-0x19b,-_0x44edec._0x4aad57,-_0x44edec._0x4f8417,-_0x44edec._0x1e37c6)]};_0x28e6fb[_0x1d94f6(0x9a,0xa2,0xb4,0x81)]=_0xd4afec;const _0x3561e0=_0x41f2b7['IGvrd'](_0x21ba70,_0x41f2b7[_0x2731a1(-_0x44edec._0x5131d4,-_0x44edec._0x5eb636,-_0x44edec._0x545d69,-_0x44edec._0x1aaa52)],{'encoding':_0x41f2b7[_0x1d94f6(0xa6,_0x44edec._0xae86c0,_0x44edec._0x216566,0xc0)],'stdio':[_0x41f2b7['bGMlh'],_0x41f2b7[_0x1d94f6(_0x44edec._0xd420f9,0x92,0x70,_0x44edec._0x1692e7)],_0x41f2b7[_0x1d94f6(0x87,_0x44edec._0x48a7d5,_0x44edec._0xcf3084,0x9d)]],'env':_0x28e6fb})[_0x2731a1(-_0x44edec._0x11a398,-0x181,-_0x44edec._0x34c8f7,-0x15c)]();if(_0x3561e0&&_0x35c21b[_0x1d94f6(_0x44edec._0x676cb2,_0x44edec._0x14bbae,0x67,0x79)](_0x3561e0))return _0x561e65=_0x3561e0,_0x3561e0;}}}else try{if(_0x523e54[_0x1d94f6(_0x44edec._0x1bbbdd,0x7a,0x81,_0x44edec._0x1df9e4)](_0xe8d459))return _0x42b553=_0x383cc4,_0x37afa0;}catch{}}catch{}return cachedClaudePath=_0x3f7d41['join'](_0x5ff333,_0x41f2b7[_0x2731a1(-_0x44edec._0x11a398,-0x164,-_0x44edec._0x55ee2d,-0x17b)],_0x41f2b7[_0x2731a1(-_0x44edec._0x3ff5fa,-0x16e,-_0x44edec._0x1e533b,-_0x44edec._0x4dafdd)],_0x41f2b7[_0x2731a1(-_0x44edec._0xf699b5,-_0x44edec._0x370d70,-0x191,-_0x44edec._0x4e789b)]),cachedClaudePath;}export function isClaudeAvailable(){const _0x1964ec={_0x45bb3f:0x238,_0x449ab0:0x24b,_0x39bac7:0x261},_0x23720b={_0x1edda4:0x9d};function _0x4175dc(_0x5ea1dc,_0x4163b5,_0x926b16,_0x284ee6){return _0x16c4(_0x284ee6- -0x388,_0x926b16);}function _0x2869b0(_0x1a1b1d,_0x474054,_0x405e82,_0x5b355a){return _0x16c4(_0x5b355a-_0x23720b._0x1edda4,_0x405e82);}const _0x44e8bc={'rBeAD':function(_0x525bbf){return _0x525bbf();}};try{const _0x519e49=_0x44e8bc[_0x4175dc(-0x21b,-0x24e,-0x222,-_0x1964ec._0x45bb3f)](findClaudePath);return _0x397928[_0x4175dc(-0x271,-_0x1964ec._0x449ab0,-0x24f,-_0x1964ec._0x39bac7)](_0x519e49);}catch{return![];}}export function clearClaudePathCache(){cachedClaudePath=null;}
|
|
1
|
+
(function(_0x3ed8a1,_0x57d22d){const _0x5a5a35={_0x2b6f7f:0x494,_0x3b49fe:0x4a5,_0x779e25:0x498,_0x2e51e2:0x2f4,_0x33ba93:0x300,_0x4a39b0:0x451,_0x1660b1:0x46a,_0x30d31a:0x313,_0x40c912:0x2e8,_0x2347d7:0x477,_0x5412bc:0x48a,_0x56aa66:0x4b7,_0x5c57fc:0x2ce,_0x14edb4:0x2e7,_0x156e7d:0x2e3,_0x42a87c:0x4ab,_0x1a27a0:0x484,_0xf04443:0x470,_0x347885:0x49f,_0x39336c:0x494,_0x1c9834:0x49c,_0x1d1ca9:0x2ef,_0x3e8af1:0x45f},_0x3a3b6e={_0x44b309:0x396},_0x41f753=_0x3ed8a1();function _0x5129b0(_0x3b1881,_0x2e0a,_0xfbb52f,_0x4e44cc){return _0x2b10(_0x4e44cc- -0x3e1,_0xfbb52f);}function _0x52f702(_0x2af767,_0x435821,_0x982337,_0x4112ef){return _0x2b10(_0x4112ef-_0x3a3b6e._0x44b309,_0x2af767);}while(!![]){try{const _0x4d76dd=-parseInt(_0x52f702(_0x5a5a35._0x2b6f7f,_0x5a5a35._0x3b49fe,0x4ad,_0x5a5a35._0x779e25))/(-0x29*-0xed+0x18d2+0x1*-0x3ec6)*(parseInt(_0x5129b0(-0x311,-0x317,-_0x5a5a35._0x2e51e2,-_0x5a5a35._0x33ba93))/(-0x1315+0x2133*-0x1+0x123*0x2e))+parseInt(_0x52f702(0x45c,_0x5a5a35._0x4a39b0,0x473,_0x5a5a35._0x1660b1))/(-0x1*0x21e6+-0x201a+-0x1*-0x4203)*(parseInt(_0x5129b0(-_0x5a5a35._0x30d31a,-_0x5a5a35._0x40c912,-_0x5a5a35._0x30d31a,-0x2f9))/(-0x1*0x655+0x1*-0x527+0xb80))+parseInt(_0x52f702(_0x5a5a35._0x2347d7,0x48a,0x484,0x47f))/(-0xfa1+-0x8*-0x1af+0x22e)*(parseInt(_0x52f702(0x4a1,_0x5a5a35._0x5412bc,0x48f,_0x5a5a35._0x5412bc))/(0x10*-0x6d+0x28f*0x1+-0x49*-0xf))+parseInt(_0x52f702(_0x5a5a35._0x56aa66,0x483,0x48f,0x49b))/(0x29*-0x2f+0x1870+-0x871*0x2)*(parseInt(_0x5129b0(-_0x5a5a35._0x5c57fc,-0x2ca,-_0x5a5a35._0x14edb4,-_0x5a5a35._0x156e7d))/(0x260c+-0x3*-0x589+0x3b*-0xed))+parseInt(_0x52f702(0x47d,0x496,_0x5a5a35._0x42a87c,0x499))/(0x2*-0xba8+0x7a*-0x3+0x1*0x18c7)*(-parseInt(_0x52f702(0x488,_0x5a5a35._0x1a27a0,0x47b,_0x5a5a35._0xf04443))/(-0x1f7*-0xe+0x1611+0x9*-0x581))+parseInt(_0x52f702(0x484,_0x5a5a35._0x347885,_0x5a5a35._0x39336c,_0x5a5a35._0x1c9834))/(-0x362*-0x9+0x42*-0x6+-0x1cdb)+parseInt(_0x5129b0(-0x2e2,-_0x5a5a35._0x14edb4,-0x2d4,-_0x5a5a35._0x1d1ca9))/(-0x918+-0x2640+0x3*0xfcc)*(parseInt(_0x52f702(_0x5a5a35._0x3e8af1,0x45b,0x44b,0x467))/(0x810+0x61*-0x40+0x103d));if(_0x4d76dd===_0x57d22d)break;else _0x41f753['push'](_0x41f753['shift']());}catch(_0x306707){_0x41f753['push'](_0x41f753['shift']());}}}(_0x54d3,-0x6c5d7+-0x34873*0x1+0x2*0x7c45c));import*as _0x19b1b8 from'fs';import*as _0xd9b897 from'path';import{execSync}from'child_process';let cachedClaudePath=null;function _0x2b10(_0x562ee5,_0x5655db){_0x562ee5=_0x562ee5-(-0x4*0x4d3+0x15da+0x1bf*-0x1);const _0xe818ab=_0x54d3();let _0x1720bd=_0xe818ab[_0x562ee5];if(_0x2b10['mcebfA']===undefined){var _0x5962a8=function(_0x25cf59){const _0x228fab='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5dcc85='',_0x1eac57='';for(let _0xd52afb=-0x1459+0x7c3*0x4+-0xab3,_0x2ec7f2,_0x4a28c3,_0x35dd8a=-0x1508+-0x59e+0x1aa6;_0x4a28c3=_0x25cf59['charAt'](_0x35dd8a++);~_0x4a28c3&&(_0x2ec7f2=_0xd52afb%(0x2a8+-0x2687+-0x1*-0x23e3)?_0x2ec7f2*(0xdad+-0xfe1+-0x9d*-0x4)+_0x4a28c3:_0x4a28c3,_0xd52afb++%(-0x61e+-0x1*0x21d9+0x59*0x73))?_0x5dcc85+=String['fromCharCode'](-0x1af*0x14+0x2*0x468+0x19db*0x1&_0x2ec7f2>>(-(-0x15ff+-0x74b+-0x19*-0x12c)*_0xd52afb&0x1ff4+-0x270e+0x720)):0x2ff+-0x1941*-0x1+-0x1c40){_0x4a28c3=_0x228fab['indexOf'](_0x4a28c3);}for(let _0x1ab532=0x2*-0x9bb+0x19b7+-0x641,_0x2ef244=_0x5dcc85['length'];_0x1ab532<_0x2ef244;_0x1ab532++){_0x1eac57+='%'+('00'+_0x5dcc85['charCodeAt'](_0x1ab532)['toString'](-0x57e*-0x2+-0x247+-0x8a5))['slice'](-(-0x57*-0x10+-0xef7+0x989));}return decodeURIComponent(_0x1eac57);};_0x2b10['RXxgAe']=_0x5962a8,_0x2b10['FuMpBV']={},_0x2b10['mcebfA']=!![];}const _0x50edf9=_0xe818ab[0xb93+0x1039+0x3*-0x944],_0x506d39=_0x562ee5+_0x50edf9,_0x17de7e=_0x2b10['FuMpBV'][_0x506d39];return!_0x17de7e?(_0x1720bd=_0x2b10['RXxgAe'](_0x1720bd),_0x2b10['FuMpBV'][_0x506d39]=_0x1720bd):_0x1720bd=_0x17de7e,_0x1720bd;}export function findClaudePath(){const _0x2e2da3={_0x59324d:0x90,_0x26b601:0xb4,_0xae9e72:0xdd,_0x16d920:0xcb,_0x220eda:0xbc,_0x524675:0xca,_0x112ae6:0xee,_0x5b1411:0xc2,_0x2bb1b8:0xa7,_0x2fab31:0x8a,_0x581fb4:0x73,_0x141376:0x8e,_0x13b7d1:0xa6,_0x24b1b4:0x95,_0x2497fd:0x85,_0xe1054c:0xab,_0x53acc2:0x94,_0x1058a3:0xb9,_0x377ada:0x8b,_0x4777d1:0xa3,_0x188122:0xb0,_0x19a022:0x97,_0x453c5c:0xcd,_0x164529:0x87,_0x1b2bd0:0x9f,_0x3d9f7d:0xd5,_0x1c3ab6:0xf0,_0x3d49b7:0xee,_0x82e1d1:0xb0,_0x42f81b:0xb2,_0x1bbfed:0xb1,_0x9818a4:0xa0,_0x3097d9:0xe0,_0x25e0b8:0x7a,_0x5a8de0:0x7d,_0x416901:0x99,_0x4c770e:0x8b,_0x2cafbb:0x98,_0x5ec602:0xe2,_0x14ceba:0xc4,_0x46059f:0x9d,_0x59b42f:0xdf,_0x9b4910:0xe4,_0x4b6864:0xc4,_0x294cd3:0xb3,_0x2d6e71:0x9e,_0x158eb1:0xd9,_0x5df9f4:0xc9,_0x2c7094:0xc7,_0x2d7d64:0xba,_0x3940af:0xaf,_0x424c53:0xb5,_0x91a4b7:0xa3,_0x3b90b4:0x9a,_0x799143:0x86,_0xfefc8a:0x6c,_0x8116df:0xae,_0x123b0f:0xc1,_0x41d8ea:0x95,_0x153db6:0xac,_0x54fc63:0xbe,_0x5da1cb:0xbf,_0x14d2b3:0xc9,_0xa32d7c:0xee,_0x4c9645:0xda,_0x4be2b8:0xad,_0x200eef:0x82,_0x520740:0x91,_0xf3d06f:0xa2,_0x125263:0xb9,_0x4a6705:0xb7,_0x3085ec:0x9d,_0x3cc3b4:0x9a,_0x5e8f6c:0xa9,_0x2ff684:0xea,_0x155a8e:0xd4,_0x1c7216:0xd6,_0x263af0:0xc8,_0x1f55d0:0xe5,_0x5bae6d:0xde,_0x51a3f0:0xcf,_0x128033:0x8d,_0x49cdf9:0xd1,_0x50bfd6:0xec,_0x5d11e1:0xc0,_0x47e412:0xb1,_0x267776:0xe3,_0x4ddea9:0xbf,_0x51b8ee:0xc6,_0x31e918:0xdf,_0x3848ee:0xc9},_0x242347={_0xe4054e:0x1d},_0x4caad5={_0x57da57:0x184},_0x115178={'jSnCj':_0x3c6cdd(-_0x2e2da3._0x59324d,-_0x2e2da3._0x26b601,-0x8e,-0x99)+_0x26c877(0xf5,_0x2e2da3._0xae9e72,_0x2e2da3._0x16d920,0xe5),'KlXwU':_0x3c6cdd(-0x93,-_0x2e2da3._0x220eda,-_0x2e2da3._0x220eda,-0xa8),'XRVKF':_0x26c877(0xe5,0xdc,_0x2e2da3._0x524675,_0x2e2da3._0x112ae6),'FJNML':'claude','ahKRE':_0x26c877(0xc4,_0x2e2da3._0x5b1411,_0x2e2da3._0x2bb1b8,0xbf)+'rew/bin/cl'+_0x3c6cdd(-_0x2e2da3._0x2fab31,-0x6c,-_0x2e2da3._0x581fb4,-0x80),'HdIfB':_0x3c6cdd(-0x8f,-_0x2e2da3._0x26b601,-_0x2e2da3._0x141376,-_0x2e2da3._0x13b7d1)+_0x3c6cdd(-0x81,-_0x2e2da3._0x24b1b4,-0x92,-_0x2e2da3._0x2497fd),'pQNZn':_0x3c6cdd(-0x7b,-_0x2e2da3._0xe1054c,-0x98,-_0x2e2da3._0x53acc2),'djvcm':function(_0x219e4b,_0x10bf8f){return _0x219e4b===_0x10bf8f;},'oIOWt':_0x26c877(0xa7,_0x2e2da3._0x1058a3,0xcd,0xc6),'YoKkf':_0x3c6cdd(-_0x2e2da3._0x377ada,-_0x2e2da3._0x4777d1,-_0x2e2da3._0x188122,-_0x2e2da3._0x19a022)+_0x26c877(0xd0,0xbc,0xbd,_0x2e2da3._0x453c5c),'VuNbq':_0x3c6cdd(-0x8d,-_0x2e2da3._0x164529,-_0x2e2da3._0x13b7d1,-_0x2e2da3._0x1b2bd0),'DTSLc':function(_0x3142b5,_0x3c896c,_0x28444a){return _0x3142b5(_0x3c896c,_0x28444a);},'atOWo':'which\x20clau'+'de','pIkte':_0x26c877(_0x2e2da3._0x3d9f7d,0xd8,_0x2e2da3._0x1c3ab6,_0x2e2da3._0x3d49b7),'cvGMe':_0x26c877(_0x2e2da3._0x82e1d1,_0x2e2da3._0x42f81b,0xa8,0xb5),'yDPZt':function(_0x1fc1a5,_0x44b955){return _0x1fc1a5!==_0x44b955;},'RFKrM':_0x26c877(0xcc,0xc5,_0x2e2da3._0x1bbfed,_0x2e2da3._0x5b1411),'FJEQE':'bin'};function _0x3c6cdd(_0x301344,_0x410eef,_0x24d934,_0x49bab8){return _0x2b10(_0x49bab8- -_0x4caad5._0x57da57,_0x410eef);}if(cachedClaudePath&&_0x19b1b8['existsSync'](cachedClaudePath))return cachedClaudePath;function _0x26c877(_0x3eb2c4,_0xb65bdf,_0x114932,_0xcec028){return _0x2b10(_0xb65bdf- -_0x242347._0xe4054e,_0x3eb2c4);}cachedClaudePath=null;const _0x524bec=process[_0x3c6cdd(-0xa0,-0xc8,-0xa8,-0xb1)]['HOME']||'',_0x45975e=[_0x115178['jSnCj'],_0x3c6cdd(-0x8a,-0xb0,-_0x2e2da3._0x9818a4,-0x97)+_0x26c877(_0x2e2da3._0x3097d9,0xe0,0xc6,0xc8)+'e',_0xd9b897[_0x3c6cdd(-0x85,-_0x2e2da3._0x25e0b8,-0x7d,-_0x2e2da3._0x5a8de0)](_0x524bec,_0x115178[_0x3c6cdd(-0x74,-_0x2e2da3._0x377ada,-_0x2e2da3._0x416901,-0x8e)],_0x3c6cdd(-0x9d,-0x88,-_0x2e2da3._0x4c770e,-_0x2e2da3._0x2cafbb),_0x26c877(0xc5,_0x2e2da3._0x5ec602,0xc9,0xf4)),_0xd9b897['join'](_0x524bec,_0x115178[_0x3c6cdd(-0xa2,-0xa2,-_0x2e2da3._0x14ceba,-0xb2)],_0x3c6cdd(-0x8d,-_0x2e2da3._0x19a022,-_0x2e2da3._0x46059f,-0xa1),_0x115178[_0x26c877(0xf0,_0x2e2da3._0x59b42f,_0x2e2da3._0x9b4910,_0x2e2da3._0x4b6864)]),_0x115178['ahKRE'],_0x3c6cdd(-_0x2e2da3._0x294cd3,-0xb5,-0xb5,-_0x2e2da3._0x2d6e71)+_0x26c877(0xc4,0xdb,_0x2e2da3._0x158eb1,0xf4)+_0x26c877(_0x2e2da3._0x5df9f4,_0x2e2da3._0x2c7094,_0x2e2da3._0x2d7d64,_0x2e2da3._0x220eda)+_0x3c6cdd(-_0x2e2da3._0x3940af,-_0x2e2da3._0x424c53,-_0x2e2da3._0x91a4b7,-_0x2e2da3._0x3b90b4),_0x115178[_0x3c6cdd(-0x7c,-_0x2e2da3._0x799143,-_0x2e2da3._0xfefc8a,-0x83)]];for(const _0x1ed048 of _0x45975e){if(_0x115178[_0x26c877(_0x2e2da3._0x8116df,_0x2e2da3._0x2d7d64,0xb8,0xb9)]===_0x115178['pQNZn'])try{if(_0x19b1b8[_0x3c6cdd(-0xa0,-_0x2e2da3._0x123b0f,-0x91,-0xa7)](_0x1ed048))return cachedClaudePath=_0x1ed048,_0x1ed048;}catch{}else{if(_0x4d8018[_0x3c6cdd(-_0x2e2da3._0x41d8ea,-_0x2e2da3._0x153db6,-_0x2e2da3._0x54fc63,-_0x2e2da3._0x2bb1b8)](_0x459d5c))return _0x168239=_0x45d568,_0x330966;}}try{if(_0x115178[_0x26c877(_0x2e2da3._0x26b601,0xbb,_0x2e2da3._0x5da1cb,_0x2e2da3._0x14d2b3)](_0x115178[_0x26c877(0xe7,0xda,_0x2e2da3._0xa32d7c,_0x2e2da3._0x123b0f)],_0x115178[_0x26c877(_0x2e2da3._0x4b6864,_0x2e2da3._0x4c9645,0xf7,0xcb)])){const _0x494f81=[process[_0x26c877(_0x2e2da3._0x4be2b8,0xb6,0x9f,_0x2e2da3._0x294cd3)][_0x3c6cdd(-0x84,-0x7f,-_0x2e2da3._0x200eef,-_0x2e2da3._0x520740)]||'',_0x3c6cdd(-_0x2e2da3._0xf3d06f,-0x88,-0x8a,-0x89),_0x115178[_0x3c6cdd(-0x86,-_0x2e2da3._0x125263,-_0x2e2da3._0x4a6705,-_0x2e2da3._0x3085ec)],_0x115178[_0x3c6cdd(-_0x2e2da3._0x3cc3b4,-0xa0,-0xc5,-_0x2e2da3._0x5e8f6c)],_0x524bec+('/.local/bi'+'n')][_0x26c877(0xf0,_0x2e2da3._0x2ff684,_0x2e2da3._0x155a8e,0xcf)](':'),_0x5e9420={...process['env']};_0x5e9420[_0x26c877(0xd4,_0x2e2da3._0x1c7216,_0x2e2da3._0x263af0,_0x2e2da3._0x1f55d0)]=_0x494f81;const _0x56369b=_0x115178[_0x26c877(0xd0,0xe3,0xcb,_0x2e2da3._0x5bae6d)](execSync,_0x115178['atOWo'],{'encoding':_0x115178['pIkte'],'stdio':[_0x26c877(_0x2e2da3._0x2d7d64,_0x2e2da3._0x42f81b,0xc8,0xa5),_0x115178[_0x3c6cdd(-0xb4,-_0x2e2da3._0x1058a3,-_0x2e2da3._0x416901,-0xaf)],_0x3c6cdd(-_0x2e2da3._0x51a3f0,-0xcf,-0xbb,-_0x2e2da3._0x424c53)],'env':_0x5e9420})['trim']();if(_0x56369b&&_0x19b1b8[_0x3c6cdd(-0x99,-_0x2e2da3._0x128033,-0x8c,-_0x2e2da3._0x2bb1b8)](_0x56369b)){if(_0x115178[_0x26c877(0xb8,0xd4,0xc8,0xf0)](_0x115178[_0x26c877(_0x2e2da3._0x49cdf9,0xd2,_0x2e2da3._0x50bfd6,0xd6)],_0x115178['RFKrM']))try{if(_0x378db5[_0x26c877(0xaf,_0x2e2da3._0x5d11e1,_0x2e2da3._0x47e412,_0x2e2da3._0x125263)](_0x19afaa))return _0x1d4e06=_0x4199cc,_0x12bfc4;}catch{}else return cachedClaudePath=_0x56369b,_0x56369b;}}else return _0x26c995=_0x250c87,_0x2cdae6;}catch{}return cachedClaudePath=_0xd9b897[_0x26c877(0xf5,_0x2e2da3._0x2ff684,0xde,_0x2e2da3._0x267776)](_0x524bec,_0x26c877(0xca,_0x2e2da3._0x4ddea9,0xc1,_0x2e2da3._0x51b8ee),_0x115178['FJEQE'],_0x115178[_0x26c877(0xf6,_0x2e2da3._0x31e918,_0x2e2da3._0x51b8ee,_0x2e2da3._0x3848ee)]),cachedClaudePath;}export function isClaudeAvailable(){const _0x2eaf6f={_0x4fbd2e:0xa6,_0x22c2ba:0x9c,_0x1e2d59:0x88,_0xeb30b4:0x99,_0xd582d6:0x367,_0x160869:0xaa,_0x1ab052:0x98,_0x11114b:0x8f},_0x36fb54={_0x45a85c:0x28a};function _0x262ef7(_0xd1fe0c,_0x55d64d,_0x2269e2,_0x402e24){return _0x2b10(_0x402e24-_0x36fb54._0x45a85c,_0x2269e2);}function _0x4eff3c(_0x176b1e,_0x55bbad,_0x1bb181,_0x40abb0){return _0x2b10(_0x176b1e- -0x48,_0x1bb181);}const _0x30667c={'OknIG':function(_0x3e486a){return _0x3e486a();},'KWpRV':_0x4eff3c(_0x2eaf6f._0x4fbd2e,0xc3,0x90,_0x2eaf6f._0x22c2ba)};try{const _0x1d8943=_0x30667c[_0x4eff3c(_0x2eaf6f._0x1e2d59,0x9b,_0x2eaf6f._0xeb30b4,0xa4)](findClaudePath);return _0x19b1b8[_0x262ef7(0x35f,0x34e,0x35a,_0x2eaf6f._0xd582d6)](_0x1d8943);}catch{return _0x30667c[_0x4eff3c(0x98,0xac,_0x2eaf6f._0x160869,0x96)]===_0x30667c[_0x4eff3c(_0x2eaf6f._0x1ab052,0x80,_0x2eaf6f._0x11114b,0xaf)]?![]:(_0x164e9d=_0x3d1895,_0x2ce8e3);}}function _0x54d3(){const _0x35ed0a=['lMXVy2fS','zxHPC3rZu3LUyW','l3nUyxaVyMLUlW','l29WDc9OB21LyG','s1DWuLy','mtq4nZKWsfrVEwfT','rg96DgS','Bg9JywW','DxHICMv3l2jPBG','l3nUyxaVyMLU','l2HVBwuVBgLUDq','ww9lA2y','mZjHz2TOy1q','nvrJvgPtAq','l2nSyxvKzq','l3vZCI9IAw4VyW','yMLU','l3vZCI9SB2nHBa','EuLvCfu','uKzlCK0','uM51C1O','EurqwNq','otK2mta4sKHSue9m','uefusa','mtm2mZm5oe1rtNvkvG','DxrMltG','s2XyD1u','B0Lpv3q','EgjYzxCVlMXPBG','lMnSyxvKzq','Bgf1zgu','l3vZCI9IAw4','rKPotuW','l2jPBI9JBgf1za','nJm5ndrWzwn4yvy','y2XHDwrL','rfrttgm','sgrjzKi','ouv3EevQuq','ow1ArNLoCq','yxvKzq','mJu5uffmzhfr','ndC1otuXm3z3rhnyCa','AM9PBG','CgLWzq','t2TUsuC','mtn3D1rHswi','wfjws0y','zw52','mJeXnZq5Egv2txrb','y3zhtwu','DMTctKC','CffowM4','zgP2y20','l2jPBG','ntC0nZuZmhHmyMDVuq','vNvoyNe'];_0x54d3=function(){return _0x35ed0a;};return _0x54d3();}export function clearClaudePathCache(){cachedClaudePath=null;}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swishfoundry/qew",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24-beta.0",
|
|
4
4
|
"description": "Queue. Code. Anytime.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
"obfuscate": "node scripts/obfuscate.js",
|
|
18
18
|
"build:npm": "npm run clean && npm run compile && npm run obfuscate",
|
|
19
19
|
"link:npm": "npm run build && cp -R temp/* dist/ && chmod +x dist/index.js",
|
|
20
|
-
"prepublishOnly": "npm run build:npm"
|
|
20
|
+
"prepublishOnly": "npm run build:npm",
|
|
21
|
+
"release:beta": "npm publish --tag beta --access public",
|
|
22
|
+
"release": "npm publish --access public"
|
|
21
23
|
},
|
|
22
24
|
"keywords": [
|
|
23
25
|
"claude",
|
|
@@ -50,6 +52,7 @@
|
|
|
50
52
|
"qrcode": "^1.5.4",
|
|
51
53
|
"qrcode-terminal": "^0.12.0",
|
|
52
54
|
"react": "^18.2.0",
|
|
55
|
+
"selfsigned": "^5.5.0",
|
|
53
56
|
"tweetnacl": "^1.0.3",
|
|
54
57
|
"tweetnacl-util": "^0.15.1",
|
|
55
58
|
"ws": "^8.16.0",
|