@nuvin/nuvin-code 0.0.0-rc.2 → 0.0.0-rc.21
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 +26 -7
- package/dist/README.md +26 -7
- package/dist/VERSION +2 -2
- package/dist/chunk-JCYYSGKS.js +1 -0
- package/dist/chunk-NX5ERSFL.js +1 -0
- package/dist/chunk-QX4BITAK.js +1 -0
- package/dist/clipboard-CPWTSEL3.js +1 -0
- package/dist/index.js +1 -1
- package/dist/root-MBWQVWCG.js +1 -0
- package/dist/server-6M7BE6ZM.js +1 -0
- package/dist/web/assets/index-BGww2T_z.css +1 -0
- package/dist/web/assets/index-CAtfC5jW.js +57 -0
- package/dist/web/index.html +13 -0
- package/package.json +12 -10
package/README.md
CHANGED
|
@@ -179,7 +179,7 @@ Tool calls fall into two categories:
|
|
|
179
179
|
|
|
180
180
|
| Category | Tools | Behavior |
|
|
181
181
|
|----------|-------|----------|
|
|
182
|
-
| **Auto-approved** | `FileRead`, `Ls`, `Glob`, `Grep` | Execute immediately without prompting |
|
|
182
|
+
| **Auto-approved** | `FileRead`, `ViewFile`, `Ls`, `Glob`, `Grep`, `LoadSkill`, `Lsp`, `WebFetch`, `WebSearch`, `TodoWrite` | Execute immediately without prompting |
|
|
183
183
|
| **Requires approval** | `Bash`, `FileEdit`, `FileNew`, `AssignTask` | Pauses for user decision |
|
|
184
184
|
|
|
185
185
|
When a tool requires approval, the **Approval Modal** appears with:
|
|
@@ -196,14 +196,33 @@ Navigate with `Tab`, confirm with `Enter`, dismiss with `Escape`.
|
|
|
196
196
|
|
|
197
197
|
## Theming
|
|
198
198
|
|
|
199
|
-
The theme system automatically adapts to your terminal
|
|
199
|
+
The theme system automatically adapts to your terminal environment, providing a polished visual experience across a wide range of terminal emulators and color capabilities.
|
|
200
200
|
|
|
201
|
-
|
|
202
|
-
2. **Color Level** — Reads `FORCE_COLOR` / `NO_COLOR` or probes `stdout.getColorDepth()`
|
|
203
|
-
3. **Backgrounds** — Enables colored surface fills only when truecolor/256-color is available (off by default in light mode)
|
|
204
|
-
4. **Dim Variant** — When a modal opens, all background colors blend toward a neutral target so the overlay stands out
|
|
201
|
+
### Detection Pipeline
|
|
205
202
|
|
|
206
|
-
|
|
203
|
+
On startup, the theme engine runs a detection pipeline in this order:
|
|
204
|
+
|
|
205
|
+
1. **Mode** — Detects light vs. dark background via `COLORFGBG` environment variable or `NUVIN_THEME_MODE` override
|
|
206
|
+
2. **Color Level** — Reads `FORCE_COLOR` / `NO_COLOR` or probes `stdout.getColorDepth()` to determine the terminal's color capabilities
|
|
207
|
+
3. **Backgrounds** — Enables colored surface fills only when truecolor/256-color is available (disabled by default in light mode)
|
|
208
|
+
4. **Dim Variant** — When a modal opens, all background colors blend toward a neutral target so the overlay stands out visually
|
|
209
|
+
|
|
210
|
+
### Accessing the Theme
|
|
211
|
+
|
|
212
|
+
The resolved theme is available throughout the application:
|
|
213
|
+
|
|
214
|
+
- **React components** — use the `useTheme()` hook for reactive updates
|
|
215
|
+
- **Vanilla JS code** — call `getTheme()` for a synchronous snapshot (no re-renders)
|
|
216
|
+
|
|
217
|
+
### Customization Points
|
|
218
|
+
|
|
219
|
+
| Setting | Env Variable | Config Key | Values |
|
|
220
|
+
|---------|-------------|------------|--------|
|
|
221
|
+
| Mode | `NUVIN_THEME_MODE` | `theme.mode` | `"dark"`, `"light"`, `"auto"` |
|
|
222
|
+
| Background fills | `NUVIN_THEME_BACKGROUNDS` | `theme.backgrounds` | `"on"`, `"off"`, `"auto"` |
|
|
223
|
+
| Message style | `NUVIN_MESSAGE_STYLE` | `theme.messageStyle` | `"plain"`, `"tinted"` |
|
|
224
|
+
| Color depth override | `FORCE_COLOR` | — | `0`–`3` |
|
|
225
|
+
| Disable colors | `NO_COLOR` | — | any value |
|
|
207
226
|
|
|
208
227
|
---
|
|
209
228
|
|
package/dist/README.md
CHANGED
|
@@ -179,7 +179,7 @@ Tool calls fall into two categories:
|
|
|
179
179
|
|
|
180
180
|
| Category | Tools | Behavior |
|
|
181
181
|
|----------|-------|----------|
|
|
182
|
-
| **Auto-approved** | `FileRead`, `Ls`, `Glob`, `Grep` | Execute immediately without prompting |
|
|
182
|
+
| **Auto-approved** | `FileRead`, `ViewFile`, `Ls`, `Glob`, `Grep`, `LoadSkill`, `Lsp`, `WebFetch`, `WebSearch`, `TodoWrite` | Execute immediately without prompting |
|
|
183
183
|
| **Requires approval** | `Bash`, `FileEdit`, `FileNew`, `AssignTask` | Pauses for user decision |
|
|
184
184
|
|
|
185
185
|
When a tool requires approval, the **Approval Modal** appears with:
|
|
@@ -196,14 +196,33 @@ Navigate with `Tab`, confirm with `Enter`, dismiss with `Escape`.
|
|
|
196
196
|
|
|
197
197
|
## Theming
|
|
198
198
|
|
|
199
|
-
The theme system automatically adapts to your terminal
|
|
199
|
+
The theme system automatically adapts to your terminal environment, providing a polished visual experience across a wide range of terminal emulators and color capabilities.
|
|
200
200
|
|
|
201
|
-
|
|
202
|
-
2. **Color Level** — Reads `FORCE_COLOR` / `NO_COLOR` or probes `stdout.getColorDepth()`
|
|
203
|
-
3. **Backgrounds** — Enables colored surface fills only when truecolor/256-color is available (off by default in light mode)
|
|
204
|
-
4. **Dim Variant** — When a modal opens, all background colors blend toward a neutral target so the overlay stands out
|
|
201
|
+
### Detection Pipeline
|
|
205
202
|
|
|
206
|
-
|
|
203
|
+
On startup, the theme engine runs a detection pipeline in this order:
|
|
204
|
+
|
|
205
|
+
1. **Mode** — Detects light vs. dark background via `COLORFGBG` environment variable or `NUVIN_THEME_MODE` override
|
|
206
|
+
2. **Color Level** — Reads `FORCE_COLOR` / `NO_COLOR` or probes `stdout.getColorDepth()` to determine the terminal's color capabilities
|
|
207
|
+
3. **Backgrounds** — Enables colored surface fills only when truecolor/256-color is available (disabled by default in light mode)
|
|
208
|
+
4. **Dim Variant** — When a modal opens, all background colors blend toward a neutral target so the overlay stands out visually
|
|
209
|
+
|
|
210
|
+
### Accessing the Theme
|
|
211
|
+
|
|
212
|
+
The resolved theme is available throughout the application:
|
|
213
|
+
|
|
214
|
+
- **React components** — use the `useTheme()` hook for reactive updates
|
|
215
|
+
- **Vanilla JS code** — call `getTheme()` for a synchronous snapshot (no re-renders)
|
|
216
|
+
|
|
217
|
+
### Customization Points
|
|
218
|
+
|
|
219
|
+
| Setting | Env Variable | Config Key | Values |
|
|
220
|
+
|---------|-------------|------------|--------|
|
|
221
|
+
| Mode | `NUVIN_THEME_MODE` | `theme.mode` | `"dark"`, `"light"`, `"auto"` |
|
|
222
|
+
| Background fills | `NUVIN_THEME_BACKGROUNDS` | `theme.backgrounds` | `"on"`, `"off"`, `"auto"` |
|
|
223
|
+
| Message style | `NUVIN_MESSAGE_STYLE` | `theme.messageStyle` | `"plain"`, `"tinted"` |
|
|
224
|
+
| Color depth override | `FORCE_COLOR` | — | `0`–`3` |
|
|
225
|
+
| Disable colors | `NO_COLOR` | — | any value |
|
|
207
226
|
|
|
208
227
|
---
|
|
209
228
|
|
package/dist/VERSION
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x4f0b82,_0x3e6ce8){var _0x295a2c={_0x3e4d61:0x489,_0x113600:0x121,_0x49e07d:0x483,_0x1a370e:0x484,_0x1b25e6:0x111,_0x9b44fb:0x123,_0x23c5d4:0x117,_0x3e16d3:0x47e,_0x211149:0x469,_0x5c188f:0x11c,_0x5be2c9:0x46f,_0x39a6dd:0x12a,_0x58a79c:0x48b},_0x2f3205={_0x22f2ad:0x32d},_0x20a1b9={_0x342054:0x26b},_0x603d8e=_0x4f0b82();function _0x1f4f8e(_0x57635f,_0xcd2215,_0x415ef3,_0x5d8af3){return _0x1778(_0x415ef3- -_0x20a1b9._0x342054,_0x57635f);}function _0x5c37c9(_0x2ee0ed,_0x42196e,_0xfef7b5,_0x45f074){return _0x1778(_0x45f074-_0x2f3205._0x22f2ad,_0xfef7b5);}while(!![]){try{var _0x2db7cb=-parseInt(_0x5c37c9(_0x295a2c._0x3e4d61,0x480,0x486,0x483))/0x1+-parseInt(_0x1f4f8e(-0x12b,-0x12c,-0x121,-_0x295a2c._0x113600))/0x2*(parseInt(_0x5c37c9(0x47f,_0x295a2c._0x49e07d,0x488,_0x295a2c._0x1a370e))/0x3)+-parseInt(_0x1f4f8e(-0x11a,-_0x295a2c._0x1b25e6,-0x117,-_0x295a2c._0x9b44fb))/0x4*(parseInt(_0x1f4f8e(-_0x295a2c._0x23c5d4,-0x117,-0x119,-0x11a))/0x5)+parseInt(_0x5c37c9(0x469,_0x295a2c._0x3e16d3,_0x295a2c._0x211149,0x473))/0x6*(-parseInt(_0x1f4f8e(-_0x295a2c._0x5c188f,-0x120,-0x124,-0x12f))/0x7)+parseInt(_0x5c37c9(0x47f,_0x295a2c._0x5be2c9,0x485,0x479))/0x8+parseInt(_0x1f4f8e(-0x126,-_0x295a2c._0x39a6dd,-_0x295a2c._0x9b44fb,-0x11f))/0x9+parseInt(_0x5c37c9(_0x295a2c._0x58a79c,0x48a,0x48e,0x487))/0xa;if(_0x2db7cb===_0x3e6ce8)break;else _0x603d8e['push'](_0x603d8e['shift']());}catch(_0x5689d9){_0x603d8e['push'](_0x603d8e['shift']());}}}(_0x2d59,0x61a97));function _0xf1da6(_0x3eb2f0,_0x4a3b26,_0x33fbcb,_0x4dbbc4){return _0x1778(_0x4dbbc4- -0x1d0,_0x3eb2f0);}import{createRequire as _0x5d4eec}from'module';const require=_0x5d4eec(import.meta.url);var n=Object[_0x4cc353(0x344,0x354,0x349,0x351)];function _0x2d59(){var _0x557096=['nZe5mtKYAfz2Ag9Z','y2fSBa','B2jQzwn0','zxHWB3j0CW','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','yxbWBhK','nJu1nteWqwT6DvDe','z2v0t3DUuhjVCgvYDhLoyw1LCW','mJrzqNryu04','zgvMyxvSDa','nZK2odqXCwrxDu1M','mtq0mtG2qKrMtvDq','ChjVDg90ExbL','zNvUy3rPB24','mJe1mZKWmJb4rhPJsKC','y3jLyxrL','iIbPCYbUB3qGC3vWCg9YDgvK','ntrby2jRv0G','mJG3mZCXz3P0Eezd','nJyWntyYmKzTs0TPCa','zw51BwvYywjSzq','mJz4vejfs1C','z2v0uhjVDg90ExbLt2y'];_0x2d59=function(){return _0x557096;};return _0x2d59();}function _0x4cc353(_0xba97ae,_0x2049a5,_0x5a0e4f,_0x28057c){return _0x1778(_0x5a0e4f-0x1ee,_0x28057c);}var r=Object['defineProperty'],a=Object[_0x4cc353(0x33d,0x335,0x33e,0x347)],p=Object[_0xf1da6(-0x82,-0x76,-0x76,-0x7d)],c=Object[_0x4cc353(0x342,0x337,0x339,0x33e)],f=Object[_0xf1da6(-0x7d,-0x6e,-0x78,-0x78)]['hasOwnProperty'],d=(_0x20f6be=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x20f6be,{'get':(_0x2b668c,_0x5b786e)=>(typeof require<'u'?require:_0x2b668c)[_0x5b786e]}):_0x20f6be)(function(_0x2a59aa){var _0x4fe6e2={_0x5c5724:0xa,_0x293d41:0x4,_0x2e9360:0xa,_0x2db9bc:0xf,_0x3dcef4:0xd},_0x2b281f={_0x9c04c5:0x2};function _0x39bd2a(_0x9fdbaa,_0x20cc36,_0x81a57b,_0xaa28da){return _0x4cc353(_0x9fdbaa-_0x2b281f._0x9c04c5,_0x20cc36-0x149,_0xaa28da- -0x340,_0x9fdbaa);}function _0x49f200(_0x5dfb1e,_0xad7de0,_0x4c2abe,_0x1e6768){return _0x4cc353(_0x5dfb1e-0x9b,_0xad7de0-0x1b2,_0x1e6768- -0x41c,_0xad7de0);}if(typeof require<'u')return require[_0x39bd2a(_0x4fe6e2._0x5c5724,_0x4fe6e2._0x293d41,_0x4fe6e2._0x2e9360,-0x1)](this,arguments);throw Error('Dynamic\x20require\x20of\x20\x22'+_0x2a59aa+_0x39bd2a(-0x19,-0x2,-_0x4fe6e2._0x2db9bc,-_0x4fe6e2._0x3dcef4));}),l=(_0x17a6f0,_0x3869ae)=>()=>(_0x17a6f0&&(_0x3869ae=_0x17a6f0(_0x17a6f0=0x0)),_0x3869ae),g=(_0x617ad0,_0x172513)=>()=>(_0x172513||_0x617ad0((_0x172513={'exports':{}})[_0xf1da6(-0x78,-0x84,-0x7f,-0x81)],_0x172513),_0x172513['exports']),h=(_0x25a42e,_0x1869de)=>{for(var _0x2f4880 in _0x1869de)r(_0x25a42e,_0x2f4880,{'get':_0x1869de[_0x2f4880],'enumerable':!0x0});},s=(_0x3ec873,_0x1e5bf1,_0xb93c50,_0x2da50b)=>{var _0x52a5ff={_0x15caab:0x10,_0x49b2db:0x10,_0x5bd940:0x4,_0x2d0815:0x5,_0x23d206:0x343,_0x1ae802:0x34e,_0x11adc6:0x1,_0x39afe3:0x6},_0x4d9c88={_0x4e35c9:0x341},_0x30a156={_0x50e730:0x3c5};function _0x4f12d4(_0x15bed0,_0x2375a5,_0x25abe5,_0x1aa72e){return _0xf1da6(_0x15bed0,_0x2375a5-0x189,_0x25abe5-0x10d,_0x25abe5-_0x30a156._0x50e730);}function _0x1cd0dd(_0x54d60e,_0x55a3f0,_0x17de21,_0xd0b48a){return _0x4cc353(_0x54d60e-0x59,_0x55a3f0-0x115,_0xd0b48a- -_0x4d9c88._0x4e35c9,_0x54d60e);}if(_0x1e5bf1&&typeof _0x1e5bf1==_0x1cd0dd(-_0x52a5ff._0x15caab,-_0x52a5ff._0x49b2db,_0x52a5ff._0x5bd940,-_0x52a5ff._0x2d0815)||typeof _0x1e5bf1==_0x4f12d4(_0x52a5ff._0x23d206,0x352,_0x52a5ff._0x1ae802,0x344)){for(let _0x3fe681 of p(_0x1e5bf1))!f[_0x1cd0dd(-_0x52a5ff._0x11adc6,-0xc,-0x6,-_0x52a5ff._0x39afe3)](_0x3ec873,_0x3fe681)&&_0x3fe681!==_0xb93c50&&r(_0x3ec873,_0x3fe681,{'get':()=>_0x1e5bf1[_0x3fe681],'enumerable':!(_0x2da50b=a(_0x1e5bf1,_0x3fe681))||_0x2da50b[_0x4f12d4(0x337,0x33c,0x33e,0x33b)]});}return _0x3ec873;},x=(_0x3c0582,_0x4757f9,_0xbe4361)=>(_0xbe4361=_0x3c0582!=null?n(c(_0x3c0582)):{},s(_0x4757f9||!_0x3c0582||!_0x3c0582['__esModule']?r(_0xbe4361,_0xf1da6(-0x7e,-0x80,-0x7d,-0x7b),{'value':_0x3c0582,'enumerable':!0x0}):_0xbe4361,_0x3c0582));function _0x1778(_0x217d96,_0x3dbadc){_0x217d96=_0x217d96-0x145;var _0x2d59a6=_0x2d59();var _0x177870=_0x2d59a6[_0x217d96];if(_0x1778['ObTGFy']===undefined){var _0x245d0a=function(_0x23c881){var _0xcfe5de='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5d4eec='',_0x2931cf='';for(var _0x258889=0x0,_0x20f6be,_0x2b668c,_0x5b786e=0x0;_0x2b668c=_0x23c881['charAt'](_0x5b786e++);~_0x2b668c&&(_0x20f6be=_0x258889%0x4?_0x20f6be*0x40+_0x2b668c:_0x2b668c,_0x258889++%0x4)?_0x5d4eec+=String['fromCharCode'](0xff&_0x20f6be>>(-0x2*_0x258889&0x6)):0x0){_0x2b668c=_0xcfe5de['indexOf'](_0x2b668c);}for(var _0x2a59aa=0x0,_0x17a6f0=_0x5d4eec['length'];_0x2a59aa<_0x17a6f0;_0x2a59aa++){_0x2931cf+='%'+('00'+_0x5d4eec['charCodeAt'](_0x2a59aa)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2931cf);};_0x1778['GMomHq']=_0x245d0a,_0x1778['yTmDiW']={},_0x1778['ObTGFy']=!![];}var _0x59413a=_0x2d59a6[0x0],_0x525195=_0x217d96+_0x59413a,_0x48ce67=_0x1778['yTmDiW'][_0x525195];return!_0x48ce67?(_0x177870=_0x1778['GMomHq'](_0x177870),_0x1778['yTmDiW'][_0x525195]=_0x177870):_0x177870=_0x48ce67,_0x177870;}import _0x2931cf from'path';import{fileURLToPath as _0x258889}from'url';var _=l(()=>{'use strict';});export{d as a,g as b,h as c,x as d,_ as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x3ad5ed,_0x1e2b55){const _0x52fc6b={_0x295799:0x4c8,_0x55d7f8:0x4bf,_0x1004fd:0x49c,_0x3249f0:0x422,_0xd896a7:0x448,_0x2e2f84:0x449,_0x29cc73:0x44d,_0x11d6e5:0x465,_0x4c92bb:0x477,_0x3cc1d7:0x49b,_0x34f4a7:0x479,_0x3f82e9:0x48c,_0x5c1513:0x43a,_0x42f973:0x457,_0x34a75c:0x459,_0xe3a5cc:0x448,_0x4808ff:0x477,_0x53d633:0x47b,_0x1a8134:0x4a8,_0x554ba8:0x21,_0x3cb45a:0x497,_0xe41a7f:0x47b,_0xb2208b:0x47e,_0x15aaf8:0x2d,_0x16ef5f:0xb,_0x4ef4fc:0xf},_0x415d09={_0x2a9ce7:0x2c3},_0x537151={_0x3ae8b2:0x1d3};function _0x5af131(_0x4cc6e6,_0x23c903,_0x56d8b9,_0x56e299){return _0x2baf(_0x23c903- -_0x537151._0x3ae8b2,_0x4cc6e6);}function _0x33023e(_0x47d1f9,_0x57e3c0,_0x3a4c84,_0x19e93d){return _0x2baf(_0x19e93d-_0x415d09._0x2a9ce7,_0x47d1f9);}const _0x1956b2=_0x3ad5ed();while(!![]){try{const _0x38f433=-parseInt(_0x33023e(_0x52fc6b._0x295799,0x49a,_0x52fc6b._0x55d7f8,_0x52fc6b._0x1004fd))/0x1+-parseInt(_0x33023e(_0x52fc6b._0x3249f0,_0x52fc6b._0xd896a7,_0x52fc6b._0x2e2f84,_0x52fc6b._0x29cc73))/0x2+-parseInt(_0x33023e(0x463,_0x52fc6b._0x11d6e5,_0x52fc6b._0x4c92bb,0x46a))/0x3*(parseInt(_0x33023e(_0x52fc6b._0x3cc1d7,_0x52fc6b._0x34f4a7,_0x52fc6b._0x3f82e9,0x4a4))/0x4)+-parseInt(_0x33023e(_0x52fc6b._0x5c1513,0x461,0x47e,_0x52fc6b._0x42f973))/0x5*(parseInt(_0x33023e(0x455,_0x52fc6b._0x34a75c,_0x52fc6b._0xe3a5cc,_0x52fc6b._0x4808ff))/0x6)+parseInt(_0x33023e(0x4a1,0x458,0x4ab,0x483))/0x7*(-parseInt(_0x33023e(0x4be,0x48b,_0x52fc6b._0x53d633,_0x52fc6b._0x1a8134))/0x8)+parseInt(_0x5af131(-0x39,-_0x52fc6b._0x554ba8,-0x4c,-0x3e))/0x9*(parseInt(_0x33023e(0x48f,_0x52fc6b._0x3cb45a,_0x52fc6b._0xe41a7f,_0x52fc6b._0xb2208b))/0xa)+parseInt(_0x5af131(-_0x52fc6b._0x15aaf8,-_0x52fc6b._0x16ef5f,0x7,-_0x52fc6b._0x4ef4fc))/0xb;if(_0x38f433===_0x1e2b55)break;else _0x1956b2['push'](_0x1956b2['shift']());}catch(_0x548deb){_0x1956b2['push'](_0x1956b2['shift']());}}}(_0xcc81,0x43096));import{createRequire as _0x1d624f}from'module';function _0x5c1e71(_0x29aa7c,_0x4b0797,_0x4cad6a,_0x44d9bd){const _0x227d9e={_0xab7913:0x265};return _0x2baf(_0x4cad6a-_0x227d9e._0xab7913,_0x4b0797);}const require=_0x1d624f(import.meta.url);import{e as _0x1075b4}from'./chunk-JCYYSGKS.js';_0x1075b4();function _0x2baf(_0x5ccccd,_0x331015){_0x5ccccd=_0x5ccccd-0x187;const _0xcc8117=_0xcc81();let _0x2baf81=_0xcc8117[_0x5ccccd];if(_0x2baf['gbpFoG']===undefined){var _0x570bd3=function(_0x325bcb){const _0x5d95fc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d624f='',_0x1075b4='';for(let _0x4574e2=0x0,_0x343677,_0x1c401a,_0x3b47c9=0x0;_0x1c401a=_0x325bcb['charAt'](_0x3b47c9++);~_0x1c401a&&(_0x343677=_0x4574e2%0x4?_0x343677*0x40+_0x1c401a:_0x1c401a,_0x4574e2++%0x4)?_0x1d624f+=String['fromCharCode'](0xff&_0x343677>>(-0x2*_0x4574e2&0x6)):0x0){_0x1c401a=_0x5d95fc['indexOf'](_0x1c401a);}for(let _0x261aad=0x0,_0x3a69ad=_0x1d624f['length'];_0x261aad<_0x3a69ad;_0x261aad++){_0x1075b4+='%'+('00'+_0x1d624f['charCodeAt'](_0x261aad)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1075b4);};_0x2baf['gjWvZQ']=_0x570bd3,_0x2baf['YsshKc']={},_0x2baf['gbpFoG']=!![];}const _0x340ef0=_0xcc8117[0x0],_0x1eb973=_0x5ccccd+_0x340ef0,_0x419b5c=_0x2baf['YsshKc'][_0x1eb973];return!_0x419b5c?(_0x2baf81=_0x2baf['gjWvZQ'](_0x2baf81),_0x2baf['YsshKc'][_0x1eb973]=_0x2baf81):_0x2baf81=_0x419b5c,_0x2baf81;}function L(_0x3a69ad){const _0x444b98={_0x55323e:0x81,_0x31994f:0x51},_0x25183b={_0xfa7107:0x22b};function _0x323fb2(_0x269452,_0x1aa516,_0xed8853,_0x14a203){return _0x2baf(_0x1aa516- -_0x25183b._0xfa7107,_0x269452);}return _0x3a69ad instanceof Error?_0x3a69ad[_0x323fb2(-0x66,-_0x444b98._0x55323e,-0x93,-_0x444b98._0x31994f)]:String(_0x3a69ad);}function N(_0x56909a){const _0x361e03={_0x559265:0x151,_0x4b5a80:0x165,_0x47304f:0x15f,_0x103345:0x17f,_0x4d07d8:0x199,_0xee8066:0x17a,_0x3a406d:0x186,_0x5b0a3a:0xbd},_0x4c4d05={_0x561586:0x269},_0x7482c2={_0x47bbe5:0x34d};function _0x418035(_0x42f60f,_0x2ed49f,_0x4d8041,_0x1b5629){return _0x2baf(_0x42f60f- -_0x7482c2._0x47bbe5,_0x2ed49f);}function _0x26db4f(_0x2801b,_0x50c797,_0x145e92,_0x153028){return _0x2baf(_0x153028- -_0x4c4d05._0x561586,_0x2801b);}return _0x56909a instanceof Error?''+(_0x56909a[_0x418035(-0x178,-_0x361e03._0x559265,-_0x361e03._0x4b5a80,-_0x361e03._0x47304f)][_0x418035(-0x1a1,-0x180,-_0x361e03._0x103345,-_0x361e03._0x4d07d8)]!==_0x418035(-_0x361e03._0xee8066,-_0x361e03._0x3a406d,-0x14b,-0x183)?_0x56909a['constructor'][_0x26db4f(-0xc6,-0xd8,-0xc8,-_0x361e03._0x5b0a3a)]+':\x20':'')+_0x56909a[_0x418035(-0x1a3,-0x1a7,-0x1c2,-0x1ad)]:String(_0x56909a);}_0x1075b4(),_0x1075b4();var A=new Set([_0x549eb3(0x7d,0xa1,0x98,0x68),_0x549eb3(0x8a,0xb0,0x84,0x74),'Ls','Grep',_0x5c1e71(0x3d3,0x3ef,0x3f8,0x422),'LoadSkill',_0x5c1e71(0x40d,0x432,0x413,0x412),_0x5c1e71(0x43c,0x45b,0x434,0x43b),_0x549eb3(0x48,0x72,0x3c,0x24)]),R=new Set([_0x5c1e71(0x423,0x3cd,0x3fc,0x3cd),'TodoWrite']),O=new Set([...A,...R]);function W(_0x510ead){const _0x2d9b5b={_0x4d1e1f:0x139},_0x5b4125={_0x4125b6:0x1c3,_0x5cb6da:0x195};function _0x4ab1a9(_0x462bf0,_0x35968c,_0x285e46,_0x2432d0){return _0x5c1e71(_0x462bf0-_0x5b4125._0x4125b6,_0x462bf0,_0x285e46- -0x2c4,_0x2432d0-_0x5b4125._0x5cb6da);}return O[_0x4ab1a9(_0x2d9b5b._0x4d1e1f,0x10a,0x12d,0x11b)](_0x510ead);}function q(){return{'active':null,'pending':[]};}function Y(_0x234471,_0x36d6eb){const _0x189c52={_0x4af37e:0x1ca,_0x181233:0x1de,_0x377351:0x1e9,_0x16e62e:0x4b1,_0x35e96c:0x4be,_0x8ac5:0x4db,_0x2c12e2:0x4da},_0x1c3991={_0x4504b7:0x1da},_0x2de808={_0x552d4c:0x174};function _0x22b0ac(_0x906d7c,_0x383fce,_0x151053,_0x1c56fd){return _0x5c1e71(_0x906d7c-0x69,_0x1c56fd,_0x151053-0xb7,_0x1c56fd-_0x2de808._0x552d4c);}function _0x456f8a(_0x244df,_0x12120e,_0xd68fdb,_0x25a0bb){return _0x5c1e71(_0x244df-_0x1c3991._0x4504b7,_0xd68fdb,_0x12120e- -0x276,_0x25a0bb-0x21);}return _0x234471[_0x456f8a(0x1ae,_0x189c52._0x4af37e,_0x189c52._0x181233,_0x189c52._0x377351)]?{..._0x234471,'pending':[..._0x234471[_0x22b0ac(_0x189c52._0x16e62e,_0x189c52._0x35e96c,_0x189c52._0x8ac5,_0x189c52._0x2c12e2)],_0x36d6eb]}:{..._0x234471,'active':_0x36d6eb};}function z(_0x3fbf74){const _0x5e4f96={_0x24e44c:0x136},_0x491b71={_0x501595:0x55a,_0xdcf1d1:0x1f4};function _0x28b30f(_0x364afe,_0x5b3987,_0x5e0ceb,_0x384210){return _0x5c1e71(_0x364afe-0x5b,_0x5e0ceb,_0x384210- -_0x491b71._0x501595,_0x384210-_0x491b71._0xdcf1d1);}let [_0x983fa,..._0x40811f]=_0x3fbf74[_0x28b30f(-0x10e,-0x15d,-0x161,-_0x5e4f96._0x24e44c)];return{'active':_0x983fa??null,'pending':_0x40811f};}_0x1075b4();import{getReasoningTextFromMessage as _0x4574e2,getTextFromMessage as _0x343677}from'@nuvin/agent-core/formats';_0x1075b4();function S(_0x52a162){const _0x52e65a={_0x4f9292:0x179,_0x2b7f3a:0x1a7,_0x226fee:0x1bc,_0x4e8fa6:0x1d5,_0x503613:0x1c8,_0x5c9855:0x1e0,_0x4f4ef4:0x1ed},_0x5c2afe={_0x3ffd3e:0xf7},_0x27fa7c={_0x118faa:0x8e};function _0x3df0bf(_0x51527a,_0x14cd63,_0x46f6b0,_0xd9043f){return _0x5c1e71(_0x51527a-_0x27fa7c._0x118faa,_0x51527a,_0xd9043f- -0x19,_0xd9043f-0x13b);}function _0x1d6659(_0x147ad9,_0x30eb57,_0x13d6dc,_0x5d75fe){return _0x549eb3(_0x13d6dc- -0x22f,_0x30eb57-0xd1,_0x147ad9,_0x5d75fe-_0x5c2afe._0x3ffd3e);}return typeof _0x52a162==_0x1d6659(-0x18e,-_0x52e65a._0x4f9292,-_0x52e65a._0x2b7f3a,-_0x52e65a._0x226fee)&&_0x52a162!==null&&!Array[_0x1d6659(-_0x52e65a._0x4e8fa6,-_0x52e65a._0x503613,-_0x52e65a._0x5c9855,-_0x52e65a._0x4f4ef4)](_0x52a162)?_0x52a162:void 0x0;}function _0x549eb3(_0x2799f0,_0x1d018a,_0x5ace1e,_0x23e05f){return _0x2baf(_0x2799f0- -0x141,_0x5ace1e);}function l(_0x369bfd){const _0x5ef026={_0xae545e:0x28d,_0xcda9df:0x27c},_0x45873c={_0x5567bf:0x1ae,_0x37500d:0x165};function _0x317cd3(_0x4462f5,_0x313238,_0x3e3a7e,_0x1bd13d){return _0x5c1e71(_0x4462f5-_0x45873c._0x5567bf,_0x1bd13d,_0x4462f5- -_0x45873c._0x37500d,_0x1bd13d-0x28);}return _0x317cd3(_0x5ef026._0xae545e,0x2b6,0x2a0,_0x5ef026._0xcda9df)+_0x369bfd['nextId'];}function p(_0x83c611,_0x4df806,_0x93c256){const _0xd0e1ae={_0x323593:0x162,_0x2d09ec:0x376,_0xabf0b4:0x4c};function _0x3b71df(_0x3ab69a,_0x5c6eeb,_0x3e5a9b,_0x15fe72){return _0x5c1e71(_0x3ab69a-_0xd0e1ae._0x323593,_0x3ab69a,_0x5c6eeb- -_0xd0e1ae._0x2d09ec,_0x15fe72-_0xd0e1ae._0xabf0b4);}return{..._0x83c611,'messages':_0x83c611['messages'][_0x3b71df(0xcc,0x9c,0xc7,0xb8)](_0x4f7b43=>_0x4f7b43['id']===_0x4df806?_0x93c256(_0x4f7b43):_0x4f7b43)};}function d(_0x22adf7,_0x210b15){return{..._0x22adf7,'messages':[..._0x22adf7['messages'],_0x210b15],'nextId':_0x22adf7['nextId']+0x1};}function w(_0x6b506f,_0xf3cb5b){return _0x6b506f?_0x6b506f+'::'+_0xf3cb5b:_0xf3cb5b;}function m(_0x2f9870,_0x36d672,_0x54deb1,_0x5e57a3,_0x2e4b50,_0x22bf38,_0x135e95,_0x32c6a9){const _0x46894c={_0x1a5111:0x22,_0x155ccc:0x512,_0xd40dbc:0xb},_0x1da0be={_0x3b76aa:0x39};function _0x37d689(_0xf425e7,_0x35a302,_0x31d650,_0xc5ba69){return _0x5c1e71(_0xf425e7-0x13c,_0xc5ba69,_0x35a302- -_0x1da0be._0x3b76aa,_0xc5ba69-0xd5);}let _0x1bde8c=w(_0x32c6a9,_0x54deb1),_0x1c0c29=_0x2f9870[_0x36d672][_0x1bde8c];function _0x590f73(_0xa3dbe,_0x39c7ad,_0x317f3f,_0x24a07f){return _0x5c1e71(_0xa3dbe-_0x46894c._0x1a5111,_0x39c7ad,_0x317f3f- -_0x46894c._0x155ccc,_0x24a07f-_0x46894c._0xd40dbc);}if(_0x1c0c29)return p(_0x2f9870,_0x1c0c29,_0x4393cc=>_0x4393cc[_0x590f73(-0x141,-0x122,-0x114,-0x12b)]!==_0x5e57a3?_0x4393cc:{..._0x4393cc,'live':_0x135e95,'text':_0x22bf38===_0x37d689(0x3e0,0x408,0x3ea,0x421)?''+_0x4393cc[_0x590f73(-0x13a,-0x110,-0x117,-0xea)]+_0x2e4b50:_0x2e4b50});let _0x16621a=l(_0x2f9870),_0x2079ea=d(_0x2f9870,{'id':_0x16621a,'role':_0x5e57a3,'text':_0x2e4b50,'live':_0x135e95,..._0x32c6a9?{'parentToolCallId':_0x32c6a9}:{}});return{..._0x2079ea,[_0x36d672]:{..._0x2079ea[_0x36d672],[_0x1bde8c]:_0x16621a}};}function E(_0x2f989e){const _0x56818b={_0xd4915c:0xb5,_0x5a2dea:0x8c,_0x502a10:0x7d,_0x3848e7:0x55,_0x3cf2c4:0x77,_0x279d7f:0x504,_0x5d0df7:0x50d,_0x147929:0x75,_0x569fed:0x8c,_0x55b796:0x7c},_0x2196c0={_0x5f79e:0x4b2},_0xc77f7a={_0x469c0d:0x4bd};function _0x47d7df(_0x451c35,_0x9e6480,_0x2afdd9,_0x4aefe9){return _0x549eb3(_0x4aefe9-_0xc77f7a._0x469c0d,_0x9e6480-0x45,_0x2afdd9,_0x4aefe9-0x89);}let _0x5c27d7=S(_0x2f989e);if(!_0x5c27d7)return JSON[_0xc8def(-_0x56818b._0xd4915c,-_0x56818b._0x5a2dea,-0x94,-0x9e)](_0x2f989e);let _0x53a82d=_0x5c27d7['command'];function _0xc8def(_0x377f47,_0x4e07db,_0x57b5fc,_0x1b3188){return _0x5c1e71(_0x377f47-0x16e,_0x57b5fc,_0x4e07db- -_0x2196c0._0x5f79e,_0x1b3188-0x1c6);}if(typeof _0x53a82d=='string')return _0x53a82d;let _0x962477=Object['entries'](_0x5c27d7);return _0x962477[_0xc8def(-0xa1,-_0x56818b._0x502a10,-_0x56818b._0x3848e7,-_0x56818b._0x3cf2c4)]===0x1&&typeof _0x962477[0x0]?.[0x1]==_0x47d7df(0x51c,0x4fe,_0x56818b._0x279d7f,_0x56818b._0x5d0df7)?String(_0x962477[0x0][0x1]):JSON[_0xc8def(-_0x56818b._0x147929,-_0x56818b._0x569fed,-_0x56818b._0x55b796,-0x7b)](_0x5c27d7);}var j=0x5;function D(_0x43bbb2){const _0x52c8cc={_0x16e3ab:0x5b8,_0x9ec5e:0x5b4,_0x4c4987:0x15a,_0x2beafd:0x188,_0x4424ad:0x5f5,_0x165ec3:0x5c8,_0x2c4ae6:0x5b8,_0x4aad92:0x184},_0x38a491={_0x53b684:0xa9},_0x36c261={_0x5c3b53:0x1f0};let _0x22bcb9=_0x43bbb2[_0x57ae7a(0x596,_0x52c8cc._0x16e3ab,_0x52c8cc._0x9ec5e,0x5ac)](/\s+$/,'');function _0x57ae7a(_0x2c286d,_0x1254ab,_0x1847ee,_0x4dc02d){return _0x5c1e71(_0x2c286d-_0x36c261._0x5c3b53,_0x2c286d,_0x1847ee-0x183,_0x4dc02d-0xa6);}if(_0x22bcb9[_0x3f0cc3(-_0x52c8cc._0x4c4987,-0x16e,-0x15e,-_0x52c8cc._0x2beafd)]===0x0)return;let _0x1409cb=_0x22bcb9['split']('\x0a');function _0x3f0cc3(_0x57f250,_0x257b94,_0x34e6d8,_0xd446e1){return _0x5c1e71(_0x57f250-_0x38a491._0x53b684,_0x34e6d8,_0xd446e1- -0x5bd,_0xd446e1-0x8e);}return{'text':_0x1409cb[_0x57ae7a(0x5cc,_0x52c8cc._0x4424ad,_0x52c8cc._0x165ec3,_0x52c8cc._0x2c4ae6)](-j)['join']('\x0a'),'totalLines':_0x1409cb[_0x3f0cc3(-0x181,-0x1b4,-_0x52c8cc._0x4aad92,-0x188)]};}function $(_0x496c82,_0x3ac6b5){const _0x4bedde={_0x14c637:0x11c,_0x5c3976:0x11d,_0x1b6520:0x12c,_0x10f50f:0x14c,_0xc37ef7:0x18a,_0x2f61d0:0x16f,_0x5a041b:0x12b,_0x382c6f:0x133,_0x6827cc:0x117,_0x4ab43d:0x116,_0x20df1c:0x11e,_0x3645f1:0x191,_0x2dd93e:0x175},_0x211c4f={_0x48966c:0x2c6},_0x394052={_0x1b3c26:0x1ac};function _0x61736c(_0x125294,_0x48aba1,_0x251b9a,_0x2b4200){return _0x549eb3(_0x251b9a- -_0x394052._0x1b3c26,_0x48aba1-0x17e,_0x2b4200,_0x2b4200-0x12f);}function _0x54f90e(_0x1fc59b,_0xa66805,_0x37aa02,_0x4314fd){return _0x5c1e71(_0x1fc59b-0xb1,_0x1fc59b,_0x37aa02- -_0x211c4f._0x48966c,_0x4314fd-0x6d);}return _0x496c82[_0x61736c(-0x129,-_0x4bedde._0x14c637,-_0x4bedde._0x5c3976,-0x102)]===0x0?_0x3ac6b5[_0x61736c(-0xef,-_0x4bedde._0x1b6520,-0x117,-0x10c)]:_0x3ac6b5['output'][_0x54f90e(_0x4bedde._0x10f50f,_0x4bedde._0xc37ef7,_0x4bedde._0x2f61d0,0x184)]===0x0||_0x496c82===_0x3ac6b5[_0x61736c(-_0x4bedde._0x5a041b,-_0x4bedde._0x382c6f,-_0x4bedde._0x6827cc,-0x130)]?_0x496c82:_0x3ac6b5[_0x61736c(-0xf5,-0x127,-0x117,-_0x4bedde._0x4ab43d)][_0x61736c(-0x139,-0x141,-0x136,-_0x4bedde._0x20df1c)](_0x496c82)?_0x3ac6b5[_0x54f90e(_0x4bedde._0x3645f1,0x197,_0x4bedde._0x2dd93e,0x19f)]:_0x496c82;}function x(_0x28641b,_0x3a4abb,_0x4939be){const _0x1fa08f={_0x1115b2:0x2ca,_0x5b2b8f:0x278,_0x9caf28:0x1ed,_0x5bf740:0x2e1,_0xfb82a1:0x2c8,_0x3746a7:0x293,_0x20d800:0x1c1,_0x2b43d1:0x1da,_0x4f3f0c:0x1fa},_0x552725={_0x4322a8:0x88};let _0x4706f3=_0x28641b['toolMessageIds'][_0x3a4abb['id']];function _0x55f22b(_0x1878f3,_0x3c15a7,_0x2f5b41,_0x37e5b3){return _0x549eb3(_0x2f5b41-0x238,_0x3c15a7-0x3e,_0x3c15a7,_0x37e5b3-0xfc);}function _0x4ed91c(_0x43f24a,_0x53b6aa,_0x28cb85,_0x3e3c50){return _0x549eb3(_0x3e3c50- -0x266,_0x53b6aa-0x2c,_0x43f24a,_0x3e3c50-_0x552725._0x4322a8);}if(_0x4706f3)return p(_0x28641b,_0x4706f3,_0x2e3cfe=>_0x2e3cfe[_0x4ed91c(-0x20b,-0x219,-0x225,-0x20e)]!=='tool'||_0x2e3cfe[_0x55f22b(0x2d5,0x2be,0x2c4,0x2c1)]!==void 0x0?_0x2e3cfe:{..._0x2e3cfe,'input':S(_0x3a4abb[_0x4ed91c(-0x1b8,-0x1ce,-0x1cb,-0x1da)])});let _0x21b120=l(_0x28641b),_0xb1f56d=d(_0x28641b,{'id':_0x21b120,'role':'tool','toolName':_0x3a4abb[_0x55f22b(_0x1fa08f._0x1115b2,0x2c6,0x2a3,_0x1fa08f._0x5b2b8f)],'toolCallId':_0x3a4abb['id'],'summary':E(_0x3a4abb[_0x4ed91c(-0x1ce,-0x1d6,-_0x1fa08f._0x9caf28,-0x1da)]),'text':'','status':_0x55f22b(_0x1fa08f._0x5bf740,_0x1fa08f._0xfb82a1,0x2b6,_0x1fa08f._0x3746a7),'input':S(_0x3a4abb[_0x4ed91c(-0x1db,-_0x1fa08f._0x20d800,-0x1dc,-_0x1fa08f._0x2b43d1)]),..._0x4939be?{'parentToolCallId':_0x4939be}:{}});return{..._0xb1f56d,'toolMessageIds':{..._0xb1f56d[_0x4ed91c(-0x202,-_0x1fa08f._0x4f3f0c,-0x207,-0x20a)],[_0x3a4abb['id']]:_0x21b120}};}function ot(_0x402e3d,_0x28c158,_0x107164){const _0x24a1a5={_0x47217b:0x3d8,_0x3aa4fc:0x3f1},_0x476ab4={_0x529cd8:0x122},_0x17bc4d={_0x10f39b:0x39};function _0x2bb368(_0xd134be,_0x3c427e,_0x86240,_0x165c38){return _0x5c1e71(_0xd134be-0xb9,_0x86240,_0x165c38- -0x36,_0x165c38-_0x17bc4d._0x10f39b);}let _0x24e7c5=_0x402e3d[_0x2bb368(_0x24a1a5._0x47217b,_0x24a1a5._0x3aa4fc,0x3ba,0x3cc)][_0x28c158];function _0x464f92(_0x49ebf7,_0x452f90,_0x5362bc,_0x279ab0){return _0x549eb3(_0x279ab0- -0x126,_0x452f90-0x125,_0x452f90,_0x279ab0-_0x476ab4._0x529cd8);}return _0x24e7c5?p(_0x402e3d,_0x24e7c5,_0x3cbc20=>_0x3cbc20[_0x464f92(-0xc9,-0xa5,-0xba,-0xce)]!=='tool'?_0x3cbc20:{..._0x3cbc20,'status':_0x107164}):_0x402e3d;}function T(_0x44584f,_0x489c22,_0x1dae6e){const _0x1c6c06={_0x4fdd9a:0x4b1,_0x509199:0x4ca,_0x4ec287:0x4ca,_0x463ee5:0x4a4,_0x318b61:0x4be,_0x2e4459:0x144,_0x82882b:0x167},_0x5ec132={_0x4ac327:0x72,_0x30fe9e:0xc1},_0x2f4701={_0x4629a6:0x1fc,_0x1cbc3c:0x115};let _0x381a83=_0x44584f['toolMessageIds'][_0x489c22['callId']];function _0x51a6f7(_0x1da49e,_0x3a02b8,_0x5f5bae,_0x56e667){return _0x549eb3(_0x5f5bae- -_0x2f4701._0x4629a6,_0x3a02b8-0x16,_0x56e667,_0x56e667-_0x2f4701._0x1cbc3c);}function _0x2c99cf(_0xaec74f,_0x587337,_0x107910,_0x230f80){return _0x5c1e71(_0xaec74f-_0x5ec132._0x4ac327,_0x107910,_0xaec74f-_0x5ec132._0x30fe9e,_0x230f80-0x94);}return _0x381a83?p(_0x44584f,_0x381a83,_0xb1396=>_0xb1396[_0x2c99cf(0x4bf,0x4d3,0x4a5,0x4bb)]!==_0x51a6f7(-0x1c4,-0x1ba,-0x1b2,-0x187)?_0xb1396:{..._0xb1396,'completedAt':_0xb1396[_0x51a6f7(-0x190,-0x18a,-0x1b5,-0x1c5)]??_0x1dae6e,'status':_0x489c22[_0x2c99cf(0x4de,0x502,0x4b3,0x4ca)],'text':$(_0xb1396['text'],_0x489c22),'structured':_0x489c22[_0x2c99cf(0x4c4,0x4b5,0x4a0,0x4dc)],'hidden':!0x1,'streamingPreview':void 0x0}):d(_0x44584f,{'id':l(_0x44584f),'completedAt':_0x1dae6e,'role':_0x2c99cf(_0x1c6c06._0x4fdd9a,0x4a8,_0x1c6c06._0x509199,0x4a1),'toolName':_0x489c22[_0x2c99cf(0x4b5,0x4a9,_0x1c6c06._0x4ec287,_0x1c6c06._0x463ee5)],'toolCallId':_0x489c22[_0x2c99cf(0x4b4,_0x1c6c06._0x318b61,0x4b5,0x484)],'status':_0x489c22['status'],'summary':'','text':_0x489c22[_0x51a6f7(-0x14b,-_0x1c6c06._0x2e4459,-_0x1c6c06._0x82882b,-0x137)],'structured':_0x489c22['structured']});}function st(){return{'assistantMessageIds':{},'messages':[],'nextId':0x1,'reasoningMessageIds':{},'toolMessageIds':{}};}function rt(_0x335ed1){const _0x8740f6={_0x4e24f5:0x4b3,_0x3f8bf6:0x475,_0x311250:0x4cc,_0x1c24c8:0x4a4,_0x32b00c:0x49a,_0x13f1d3:0x46d},_0x1fecce={_0x566d53:0x171},_0x504720={_0x14200b:0xed},_0x43deea={_0x424138:0x3c5};let _0x5b7f2f=_0x335ed1['reduce']((_0x13550b,_0x5a3ca2)=>{const _0x180492={_0xa89270:0x201};function _0x1e1346(_0x472bdc,_0x33fe24,_0x25fd56,_0x13bbd5){return _0x2baf(_0x13bbd5-_0x180492._0xa89270,_0x472bdc);}let _0x98e753=/^message-(\d+)$/['exec'](_0x5a3ca2['id']);return _0x98e753?Math[_0x1e1346(0x3a9,_0x43deea._0x424138,0x3e0,0x3b1)](_0x13550b,Number(_0x98e753[0x1])+0x1):_0x13550b;},0x1)+_0x335ed1[_0x17b94c(_0x8740f6._0x4e24f5,_0x8740f6._0x3f8bf6,_0x8740f6._0x311250,_0x8740f6._0x1c24c8)],_0x2c1073={};for(let _0x14c5a7 of _0x335ed1)_0x14c5a7[_0x17b94c(0x471,_0x8740f6._0x32b00c,0x46d,_0x8740f6._0x13f1d3)]==='tool'&&(_0x2c1073[_0x14c5a7['toolCallId']]=_0x14c5a7['id']);function _0x17b94c(_0x567acf,_0x55728a,_0x3cc54e,_0x12d752){return _0x549eb3(_0x12d752-0x415,_0x55728a-_0x504720._0x14200b,_0x567acf,_0x12d752-0x175);}function _0x1dd1cd(_0x4277f3,_0x21d429,_0x110acd,_0x68be0){return _0x5c1e71(_0x4277f3-0xbd,_0x4277f3,_0x68be0- -0xb4,_0x68be0-_0x1fecce._0x566d53);}return{'assistantMessageIds':{},'messages':_0x335ed1,'nextId':_0x5b7f2f,'reasoningMessageIds':{},'toolMessageIds':_0x2c1073};}function it(_0x344725,_0x17a628,_0x275c26){const _0x34c2f1={_0xbba43b:0x5,_0x33bca8:0x6},_0x20d850={_0x415df7:0x96,_0x4bf66f:0x458,_0x5a4007:0x176},_0x4ec7e5={_0x22e885:0x262,_0x43e883:0x1d9,_0x54ad9f:0x81};function _0x36dbd8(_0x277d21,_0x4328e1,_0x212476,_0x2c121b){return _0x549eb3(_0x212476-_0x4ec7e5._0x22e885,_0x4328e1-_0x4ec7e5._0x43e883,_0x4328e1,_0x2c121b-_0x4ec7e5._0x54ad9f);}function _0x804b69(_0x1851ea,_0x37fec2,_0x40f8c0,_0x136229){return _0x5c1e71(_0x1851ea-_0x20d850._0x415df7,_0x136229,_0x1851ea- -_0x20d850._0x4bf66f,_0x136229-_0x20d850._0x5a4007);}return d(_0x344725,{'id':l(_0x344725),'role':_0x36dbd8(0x2f9,0x2ff,0x2de,0x2bf),'text':_0x17a628,..._0x275c26&&_0x275c26[_0x804b69(-0x23,-_0x34c2f1._0xbba43b,0x8,-_0x34c2f1._0x33bca8)]>0x0?{'attachmentLabels':_0x275c26}:{}});}function at(_0x5c000a,_0x16a60b){const _0x16c5b9={_0x2b0ebe:0x4ce},_0x3936b8={_0xdbe348:0x25};function _0x116a60(_0x1dfb53,_0x1dfa44,_0x343316,_0x45829a){return _0x5c1e71(_0x1dfb53-_0x3936b8._0xdbe348,_0x343316,_0x1dfa44-0xc6,_0x45829a-0xa3);}return d(_0x5c000a,{'id':l(_0x5c000a),'role':_0x116a60(0x4c9,_0x16c5b9._0x2b0ebe,0x4f8,0x4dd),'text':_0x16a60b});}function ut(_0x1ac8ac,_0x3ea1a3){const _0x230ff8={_0x35fc40:0xdf,_0x218f95:0xef,_0x423709:0xea,_0x150418:0xba},_0x12f889={_0x363702:0x6,_0x465f55:0x12e};function _0x578681(_0x2ac23f,_0x32175b,_0x5f3289,_0x5bf44f){return _0x549eb3(_0x2ac23f-0x6d,_0x32175b-_0x12f889._0x363702,_0x5f3289,_0x5bf44f-_0x12f889._0x465f55);}return d(_0x1ac8ac,{'id':l(_0x1ac8ac),'role':_0x578681(_0x230ff8._0x35fc40,_0x230ff8._0x218f95,_0x230ff8._0x423709,_0x230ff8._0x150418),'text':_0x3ea1a3});}function H(_0x485cf6,_0x6355a4){const _0x2dc5af={_0x29d5c7:0x223},_0xd713fe={_0x2ffe86:0xd1,_0x58f88c:0x1d5};function _0x2e24c1(_0x28b71e,_0x477f55,_0x2abca3,_0x2391ec){return _0x5c1e71(_0x28b71e-_0xd713fe._0x2ffe86,_0x2391ec,_0x477f55- -_0xd713fe._0x58f88c,_0x2391ec-0x166);}return d(_0x485cf6,{'id':l(_0x485cf6),'role':_0x2e24c1(0x20a,0x236,_0x2dc5af._0x29d5c7,0x224),'text':_0x6355a4});}function gt(_0x1733b1,_0xa4f91,_0x3120a8,_0x17bf1e=Date[_0x549eb3(0x64,0x79,0x62,0x53)]()){const _0x24ea25={_0x329209:0x2a4,_0x32b398:0x2ce,_0x5105b3:0x2e3,_0x15653d:0x529,_0x564004:0x50f,_0x439afe:0x508,_0x3f5eea:0x4fa,_0x2009ba:0x2c2,_0x5f35e2:0x2cb,_0x5d75d7:0x2c4,_0x544da6:0x283,_0x2330a8:0x2a5,_0x2cc796:0x4f8,_0x496d81:0x4f8,_0x1e25da:0x518,_0x4c2ff8:0x533,_0x347c54:0x517,_0x3f40f7:0x50c,_0x27e994:0x50c,_0x2c4243:0x503,_0x44c42a:0x50d,_0x4883bd:0x54e,_0x1a4e93:0x29d,_0x5babb2:0x512,_0xab5ed7:0x28b,_0x46c154:0x2a3,_0x444055:0x25f,_0xfd83d8:0x28a,_0x4671a8:0x2b8,_0x47d5b0:0x2aa,_0x35f8ca:0x2be,_0x16d969:0x526,_0x21122c:0x530,_0x31fea2:0x2ac,_0x3318fc:0x289,_0x4fe6f8:0x292,_0x159945:0x532,_0x245823:0x538,_0x3a1de7:0x52d,_0x7a393:0x2b9,_0x51436a:0x4fd,_0x5424bf:0x4df,_0x55d270:0x4f4,_0x53075c:0x501,_0x5115d4:0x4f0,_0x1afdab:0x2cf,_0x260511:0x516,_0x5bfdd3:0x51e,_0x362143:0x544,_0x3dcd1d:0x508,_0x57b780:0x2b0,_0x91b5f6:0x2d1,_0x80b56a:0x516,_0x4d63d1:0x2c0,_0x540ba9:0x2a5,_0x2ed9f1:0x2fc,_0x2b4e21:0x2cf,_0x4ea311:0x2ae,_0x34f58b:0x2f3,_0x4767ad:0x2ce,_0x2340ce:0x4ff,_0x32a863:0x4d4,_0x199c8e:0x53f,_0x68f2c3:0x52d,_0x371208:0x510,_0x4173f0:0x2be,_0x2745fc:0x2b5,_0x2a1456:0x2cc,_0x340a54:0x29b,_0x54e62c:0x2e9,_0x2210d0:0x55d,_0x384e5a:0x53e,_0x12e3c3:0x289,_0x335c7d:0x267,_0x1e696b:0x2ab,_0x447e90:0x522,_0x18882f:0x547,_0x20194d:0x54f,_0x5d4389:0x524,_0x41a22f:0x515,_0x324f66:0x2a4,_0x177c78:0x2ab,_0x150a17:0x29f,_0x302ea1:0x28b,_0x6b2de2:0x2e4,_0x15fcf6:0x2e7},_0x2704f6={_0x2369fb:0x1fc,_0x7c6059:0x1e0,_0x54a134:0x1df,_0x29e4a5:0x24d,_0x14357e:0x252,_0xc58c95:0x1e8,_0x4a0035:0x1bf,_0x2b9811:0x1eb,_0x347749:0x1e9},_0xc778c0={_0x5a13fc:0x5c,_0x165303:0x1c6},_0x27d84d={_0x210cc3:0x171,_0x364227:0x189};function _0x52f8a6(_0x14cba7,_0x41acbd,_0x471bd5,_0x4eb7a2){return _0x5c1e71(_0x14cba7-0x112,_0x41acbd,_0x14cba7-0xfd,_0x4eb7a2-0xaa);}function _0x1668f8(_0x21034f,_0x2919a7,_0xc22904,_0x4523e7){return _0x5c1e71(_0x21034f-0x166,_0x2919a7,_0xc22904- -_0x27d84d._0x210cc3,_0x4523e7-_0x27d84d._0x364227);}switch(_0xa4f91[_0x1668f8(_0x24ea25._0x329209,0x2e8,_0x24ea25._0x32b398,_0x24ea25._0x5105b3)]){case _0x52f8a6(_0x24ea25._0x15653d,0x51d,0x525,0x52a):return _0xa4f91['chunk'][_0x52f8a6(0x4f8,_0x24ea25._0x564004,0x4ed,0x51c)]?m(_0x1733b1,_0x52f8a6(0x528,0x551,_0x24ea25._0x439afe,_0x24ea25._0x3f5eea),_0xa4f91[_0x1668f8(0x2f8,_0x24ea25._0x2009ba,_0x24ea25._0x5f35e2,0x2d8)],_0x1668f8(_0x24ea25._0x5d75d7,_0x24ea25._0x544da6,_0x24ea25._0x2330a8,0x289),_0xa4f91['chunk'][_0x52f8a6(_0x24ea25._0x2cc796,_0x24ea25._0x496d81,0x4f2,_0x24ea25._0x1e25da)],_0x52f8a6(0x53e,_0x24ea25._0x4c2ff8,0x546,0x540),!0x0,_0x3120a8):_0x1733b1;case _0x52f8a6(0x4f7,0x4ce,_0x24ea25._0x347c54,_0x24ea25._0x3f40f7):{let _0x203bbd=_0x343677(_0xa4f91[_0x52f8a6(_0x24ea25._0x27e994,0x53c,0x509,_0x24ea25._0x2c4243)])[_0x52f8a6(_0x24ea25._0x44c42a,0x523,0x527,0x519)]();return _0x203bbd['length']===0x0?_0x1733b1:m(_0x1733b1,_0x52f8a6(0x528,_0x24ea25._0x4883bd,0x516,_0x24ea25._0x27e994),_0xa4f91[_0x1668f8(0x2cb,_0x24ea25._0x1a4e93,0x29e,0x2bc)]['id'],'assistant',_0x203bbd,_0x52f8a6(0x52e,_0x24ea25._0x5babb2,0x54c,0x508),!0x1,_0x3120a8);}case _0x1668f8(0x2cb,_0x24ea25._0xab5ed7,0x2b7,_0x24ea25._0x2330a8):return _0xa4f91[_0x1668f8(_0x24ea25._0x46c154,_0x24ea25._0x444055,_0x24ea25._0xfd83d8,0x25d)]?m(_0x1733b1,'reasoningMessageIds',_0xa4f91['messageId'],_0x1668f8(_0x24ea25._0x4671a8,_0x24ea25._0x47d5b0,0x2b9,_0x24ea25._0x35f8ca),_0xa4f91[_0x52f8a6(0x4f8,_0x24ea25._0x16d969,0x50d,0x4da)],_0x52f8a6(0x53e,_0x24ea25._0x21122c,0x515,0x544),!0x0,_0x3120a8):_0x1733b1;case'reasoning_message':{let _0x507ae0=_0x4574e2(_0xa4f91[_0x1668f8(_0x24ea25._0x31fea2,_0x24ea25._0x3318fc,0x29e,_0x24ea25._0x4fe6f8)])[_0x52f8a6(0x50d,0x51d,0x507,0x4f0)]();return _0x507ae0[_0x52f8a6(_0x24ea25._0x159945,0x52a,0x513,0x504)]===0x0?_0x1733b1:m(_0x1733b1,_0x52f8a6(0x50b,_0x24ea25._0x245823,0x51a,_0x24ea25._0x3a1de7),_0xa4f91['message']['id'],_0x1668f8(0x29f,0x2e6,_0x24ea25._0x7a393,0x2cb),_0x507ae0,'replace',!0x1,_0x3120a8);}case _0x52f8a6(_0x24ea25._0x51436a,0x4f3,0x4f4,_0x24ea25._0x5424bf):{let _0x355281=_0x343677(_0xa4f91[_0x52f8a6(0x50c,_0x24ea25._0x55d270,0x505,0x504)])[_0x52f8a6(0x50d,_0x24ea25._0x53075c,0x50b,_0x24ea25._0x5115d4)]();return _0x355281[_0x1668f8(0x29e,_0x24ea25._0x1afdab,0x2c4,0x2c9)]===0x0?_0x1733b1:m(_0x1733b1,_0x52f8a6(0x528,_0x24ea25._0x260511,0x52f,_0x24ea25._0x5bfdd3),_0xa4f91['message']['id'],_0x1668f8(0x2b4,0x286,_0x24ea25._0x2330a8,0x2a8),_0x355281,'replace',!0x1,_0x3120a8);}case _0x52f8a6(0x526,0x539,_0x24ea25._0x362143,_0x24ea25._0x3dcd1d):return x(_0x1733b1,_0xa4f91[_0x1668f8(0x2df,_0x24ea25._0x57b780,_0x24ea25._0x91b5f6,0x2d9)],_0x3120a8);case _0x52f8a6(0x50a,0x52c,_0x24ea25._0x80b56a,0x4eb):{let _0x39793a=x(_0x1733b1,_0xa4f91['toolCall'],_0x3120a8),_0x28438d=_0x39793a[_0x1668f8(0x295,_0x24ea25._0x4d63d1,0x291,_0x24ea25._0x540ba9)][_0xa4f91[_0x1668f8(0x2ec,_0x24ea25._0x2ed9f1,0x2d1,0x2ec)]['id']];return p(_0x39793a,_0x28438d,_0x15d1d4=>_0x15d1d4[_0x1668f8(0x264,0x263,0x28d,0x26e)]!==_0x1668f8(0x2a5,0x261,0x27f,0x258)?_0x15d1d4:{..._0x15d1d4,'startedAt':_0x15d1d4['startedAt']??_0x17bf1e,'status':_0x1668f8(0x2f9,0x2ba,0x2d3,0x2af)});}case _0x1668f8(0x2dd,_0x24ea25._0x2b4e21,_0x24ea25._0x4ea311,_0x24ea25._0x7a393):{let _0x1fd1b6=x(_0x1733b1,_0xa4f91[_0x1668f8(_0x24ea25._0x34f58b,0x2f5,0x2d1,_0x24ea25._0x4767ad)],_0x3120a8),_0x3af9c0=_0x1fd1b6[_0x52f8a6(_0x24ea25._0x2340ce,_0x24ea25._0x32a863,0x508,0x52e)][_0xa4f91[_0x52f8a6(_0x24ea25._0x199c8e,_0x24ea25._0x68f2c3,_0x24ea25._0x371208,0x52f)]['id']];return p(_0x1fd1b6,_0x3af9c0,_0x5bb32f=>{const _0x2655b8={_0x4431d1:0x1e6,_0x509307:0x489};function _0x4039ae(_0x42a015,_0x5e7417,_0x163c3d,_0x40f551){return _0x1668f8(_0x42a015-_0x2655b8._0x4431d1,_0x5e7417,_0x40f551- -_0x2655b8._0x509307,_0x40f551-0x16a);}if(_0x5bb32f[_0x4039ae(-0x1f2,-0x1e0,-0x20c,-_0x2704f6._0x2369fb)]!==_0x4039ae(-_0x2704f6._0x7c6059,-_0x2704f6._0x54a134,-0x1f1,-0x20a))return _0x5bb32f;let _0x9f41ed=''+_0x5bb32f['text']+_0xa4f91[_0x37bd3f(0x22b,_0x2704f6._0x29e4a5,0x261,_0x2704f6._0x14357e)][_0x4039ae(-0x1ad,-_0x2704f6._0xc58c95,-0x1a2,-_0x2704f6._0x4a0035)];function _0x37bd3f(_0xe0a8cd,_0x258af3,_0x1a5707,_0x2ec619){return _0x1668f8(_0xe0a8cd-0x1af,_0x2ec619,_0x258af3- -_0xc778c0._0x5a13fc,_0x2ec619-_0xc778c0._0x165303);}return{..._0x5bb32f,'text':_0x9f41ed,'streamingPreview':_0x5bb32f['toolName']===_0x4039ae(-_0x2704f6._0x2b9811,-_0x2704f6._0x347749,-0x1d3,-0x1f6)?D(_0x9f41ed):_0x5bb32f['streamingPreview']};});}case'tool_completed':{let _0x149d1a=x(_0x1733b1,_0xa4f91['toolCall'],_0x3120a8);return T(_0x149d1a,_0xa4f91[_0x1668f8(0x2ed,0x297,_0x24ea25._0x4173f0,0x2a7)],_0x17bf1e);}case _0x1668f8(0x2a2,_0x24ea25._0x2745fc,_0x24ea25._0x2a1456,0x29c):return T(_0x1733b1,_0xa4f91[_0x1668f8(_0x24ea25._0x340a54,_0x24ea25._0x54e62c,0x2be,0x2cb)],_0x17bf1e);case'tool_rejected':{let _0x348449=x(_0x1733b1,_0xa4f91[_0x52f8a6(0x53f,0x524,_0x24ea25._0x2210d0,_0x24ea25._0x384e5a)],_0x3120a8),_0x9e7603=_0x348449[_0x1668f8(_0x24ea25._0x12e3c3,_0x24ea25._0x335c7d,0x291,_0x24ea25._0x1e696b)][_0xa4f91[_0x52f8a6(0x53f,_0x24ea25._0x447e90,_0x24ea25._0x18882f,_0x24ea25._0x20194d)]['id']];return p(_0x348449,_0x9e7603,_0x5ca555=>_0x5ca555[_0x1668f8(0x297,0x267,0x28d,0x269)]!==_0x1668f8(0x28c,0x27a,0x27f,0x288)?_0x5ca555:{..._0x5ca555,'completedAt':_0x5ca555['completedAt']??_0x17bf1e,'status':'rejected','text':_0xa4f91[_0x52f8a6(0x52c,0x51e,0x51c,0x504)][_0x1668f8(0x2ba,0x2c7,0x2ca,0x2f4)],'structured':_0xa4f91[_0x52f8a6(0x52c,0x540,0x506,0x525)][_0x52f8a6(0x500,0x51a,0x4e4,0x530)]});}case _0x52f8a6(_0x24ea25._0x5d4389,_0x24ea25._0x41a22f,0x505,0x4f9):{let _0x1f7f4e=Math[_0x1668f8(0x27b,0x275,_0x24ea25._0x324f66,_0x24ea25._0x177c78)](0x1,Math['ceil'](_0xa4f91[_0x1668f8(_0x24ea25._0x150a17,0x2c8,0x2ad,_0x24ea25._0x302ea1)]/0x3e8)),_0x2c178f=_0xa4f91['delayMs']>0x0?_0x1668f8(0x2a9,_0x24ea25._0x6b2de2,0x2c8,_0x24ea25._0x15fcf6)+_0x1f7f4e+'s':'now';return H(_0x1733b1,'Provider\x20request\x20failed,\x20retrying\x20'+_0x2c178f+'\x20('+_0xa4f91['attempt']+'/'+_0xa4f91['maxAttempts']+')…');}default:return _0x1733b1;}}function _0xcc81(){const _0x429a04=['C2XPy2u','ngzZDKHkDa','ywrKAxrPB25HBenVBNrLEhq','Ag9VA1nWzwnPzMLJt3v0Chv0','CgvYBwLZC2LVBKrLy2LZAw9UuMvHC29U','oen6rgnctG','z2v0sg9VA3m','y29TCgXLDgvKqxq','v2vIu2vHCMnO','mJCZnZrkBNvJq0u','Dg9VBa','AgfZ','BwvZC2fNzs0','y2fSBeLK','Dg9VBe5HBwu','AxnbCNjHEq','C3rYAw5N','yMXVy2S','r2XVyG','mZC2mtvQvg94Duy','yxnZAxn0yw50x21LC3nHz2u','Dgv4Da','qxnRvxnLCLrVB2W','CMvHC29U','CM9Szq','ywXSB3C','zMLUywXFBwvZC2fNzq','y29UDgvUDa','Dg9VBe1LC3nHz2vjzhm','C3rYDwn0DxjLza','qMfZAa','AM9PBG','zMLSDgvY','Ag9VA1jLz2LZDhj5','zxjYB3i','C2vZC2LVBKLK','BM93','D2fYBMLUzW','nJG2mJuZAujurvzA','Dg9VBf9ZDgfYDgvK','CMvHC29UAw5NtwvZC2fNzuLKCW','BwvZC2fNzq','DhjPBq','BMfTzq','BwfW','thnW','zxHLy3v0B3i','Bwf4','yxnZAxn0yw50','mtK2mKzusfn2sG','Aw5MBW','mJGYvvnTzxLp','y2H1BMS','ChjVAMvJDerPCG','C3rHCNrZv2L0Aa','C3rHDhvZ','zgvSyxLnCW','Dg9VBf9VDxrWDxrFy2H1BMS','mJa2odbMBuDzBfK','ugvYBwLZC2LVBIbKzw5PzwqGzM9YihbYB21WDa','DxnLCG','rMLSzvjLywq','CgvUzgLUzW','mtmYmti3mwz2uw9rEG','C3rYAw5NAwz5','ChjVDMLKzxjFCMv0CNK','CMvHC29UAw5Nx2nODw5R','Dg9VBf9JywXS','CMvHC29UAw5N','yxnZAxn0yw50twvZC2fNzuLKCW','yxnZAxn0yw50x2nODw5R','mteXotmXmJDYsxvwANe','B2jQzwn0','CMvZDwX0','vMLLD0zPBgu','CMvWBgfJzq','Aw5WDxq','DgLTzw91Da','v2vIrMv0y2G','BgvUz3rO','zgvUEq','y29TBwfUza','rxjYB3i','Aw4G','y29UC3rYDwn0B3i','B3v0Chv0','BwvZC2fNzuLK','Dg9VBf9Yzxn1Bhq','nda5mdi3CMjHAKH0','DhLWzq','ywn0AxzL','yxbWzw5K','Dg9VBenHBgW','CgvYBwLZC2LVBKrLy2LZAw9U','CNvUBMLUzW'];_0xcc81=function(){return _0x429a04;};return _0xcc81();}_0x1075b4(),_0x1075b4();import{executeCommandHook as _0x1c401a}from'@nuvin/agent-core/hooks';async function b(_0x5d7900,_0x3b9fba,_0x4d6f77){const _0x5f32f6={_0x25a6d8:0x1da,_0x362f9d:0x1e7,_0x164150:0x74,_0x194c19:0x7a,_0x2ccafa:0x1b7,_0x14000e:0x195,_0x15ff5b:0x1e5,_0x4bf50d:0x1f9,_0x6db49:0x1b8,_0x50d31d:0x1d3,_0x1d5b9d:0xc0,_0xa186b0:0xc4,_0x39752f:0x10f,_0x433a24:0xc9,_0x37fe07:0x1d3,_0x21adb5:0x18e,_0x52744e:0xc8,_0xd89116:0x11d,_0x9aec39:0xf1,_0x28e0ec:0x105,_0x35d4b1:0xdc,_0x3ba122:0xb9,_0x3a1549:0xa0,_0x3ec6c1:0x195,_0x3ab5f6:0x220,_0x36fa46:0xbf,_0x18acea:0x1d1,_0x310575:0x1b4,_0x184196:0x1d7,_0xb00fbf:0x1c8,_0x3341bc:0xcd,_0x4865fa:0xf0,_0x3ad0fa:0x107,_0x21fbb7:0x85,_0x2205b9:0xae},_0x1293f1={_0x1e430e:0x10d,_0x4c4c05:0x357},_0x5e279={_0x3bd45c:0x8};let _0x48094a=_0x4d6f77[_0x388382(-_0x5f32f6._0x25a6d8,-0x1bd,-0x1ea,-_0x5f32f6._0x362f9d)]??_0x1c401a,_0x383ec5=_0x3b9fba[_0x374639(_0x5f32f6._0x164150,_0x5f32f6._0x194c19,0x95,0x93)]('UserPromptSubmit'),_0x21d305=[];function _0x388382(_0x48cf41,_0x2a7476,_0x40b5c8,_0x2d698a){return _0x549eb3(_0x48cf41- -0x248,_0x2a7476-_0x5e279._0x3bd45c,_0x2d698a,_0x2d698a-0x0);}function _0x374639(_0x42bf16,_0x494c96,_0x1ffe19,_0x4e4709){return _0x5c1e71(_0x42bf16-_0x1293f1._0x1e430e,_0x4e4709,_0x1ffe19- -_0x1293f1._0x4c4c05,_0x4e4709-0x89);}for(let _0x324362 of _0x383ec5){let _0x494dbd=await _0x48094a(_0x324362[_0x388382(-_0x5f32f6._0x2ccafa,-_0x5f32f6._0x14000e,-0x1d6,-0x1be)],{'prompt':_0x5d7900,'session_id':_0x4d6f77[_0x388382(-_0x5f32f6._0x15ff5b,-0x20c,-_0x5f32f6._0x4bf50d,-0x212)]},_0x324362[_0x388382(-0x1bb,-_0x5f32f6._0x6db49,-_0x5f32f6._0x50d31d,-0x1a0)],_0x4d6f77[_0x374639(0xb6,_0x5f32f6._0x1d5b9d,_0x5f32f6._0xa186b0,0xb5)]);if(_0x494dbd['output']?.['hookSpecificOutput']?.[_0x374639(0xdf,_0x5f32f6._0x39752f,0xec,_0x5f32f6._0x433a24)]===_0x388382(-_0x5f32f6._0x6db49,-_0x5f32f6._0x37fe07,-_0x5f32f6._0x21adb5,-0x199))return{'allow':!0x1,'reason':_0x494dbd[_0x374639(0x109,_0x5f32f6._0x52744e,0xe4,0xc9)]?.[_0x374639(_0x5f32f6._0xd89116,0x10f,_0x5f32f6._0x9aec39,_0x5f32f6._0x28e0ec)]?.[_0x388382(-0x1a5,-0x19b,-0x178,-0x1bc)]??_0x374639(0xe6,_0x5f32f6._0x35d4b1,0xca,_0x5f32f6._0x3ba122)};if(_0x494dbd['status']===_0x374639(0x8c,0xce,_0x5f32f6._0x3a1549,0x85)||_0x494dbd[_0x388382(-0x1b3,-_0x5f32f6._0x3ec6c1,-0x1d3,-0x193)]?.['decision']===_0x388382(-0x1f7,-0x225,-0x1d7,-_0x5f32f6._0x3ab5f6))return{'allow':!0x1,'reason':_0x494dbd[_0x374639(_0x5f32f6._0x36fa46,0xc9,0xe4,0xf0)]?.['reason']??'Prompt\x20blocked\x20by\x20UserPromptSubmit\x20hook'};if(_0x494dbd[_0x388382(-_0x5f32f6._0x18acea,-_0x5f32f6._0x310575,-0x1ea,-_0x5f32f6._0x184196)]==='pass'){let _0x5a11da=_0x494dbd[_0x388382(-0x1b3,-0x1ac,-0x1e1,-_0x5f32f6._0xb00fbf)]?.['hookSpecificOutput']?.[_0x374639(0xeb,_0x5f32f6._0x3341bc,_0x5f32f6._0x4865fa,_0x5f32f6._0x3ad0fa)];_0x5a11da&&_0x21d305['push'](_0x5a11da);}}return{'allow':!0x0,..._0x21d305['length']>0x0?{'additionalContext':_0x21d305[_0x374639(_0x5f32f6._0x21fbb7,0xd9,_0x5f32f6._0x2205b9,0xaa)]('\x0a\x0a')}:{}};}function P(_0x4667be){const _0x154f2e={_0xd75aca:0x433,_0x26b4ea:0x127,_0x5d3f72:0x462,_0x555040:0xee,_0x59ce7e:0x122,_0x4599fc:0xfe,_0x3c9d3d:0x474,_0x23f0b8:0x44f},_0x48a871={_0x89c829:0xe7},_0x48c13b={_0x4f13a4:0x27};if(typeof _0x4667be==_0x4390e3(0x42c,0x463,_0x154f2e._0xd75aca,0x452))return _0x4667be;function _0x4390e3(_0x2413aa,_0x422f16,_0x2ffa8b,_0x246698){return _0x549eb3(_0x2ffa8b-0x3e3,_0x422f16-_0x48c13b._0x4f13a4,_0x246698,_0x246698-0x1a);}let _0x15e9e6=_0x4667be['content'];function _0x4ae391(_0x3c8cf1,_0x3d3bb1,_0x172f56,_0x23e494){return _0x5c1e71(_0x3c8cf1-0x1e9,_0x172f56,_0x23e494- -0x504,_0x23e494-_0x48a871._0x89c829);}return typeof _0x15e9e6==_0x4ae391(-0x130,-0x104,-_0x154f2e._0x26b4ea,-0x10e)?_0x15e9e6:Array[_0x4390e3(0x45c,_0x154f2e._0x5d3f72,0x432,0x408)](_0x15e9e6)?_0x15e9e6[_0x4ae391(-_0x154f2e._0x555040,-_0x154f2e._0x59ce7e,-0xe0,-_0x154f2e._0x4599fc)](_0x331967=>_0x331967['type']==='text')[_0x4390e3(0x461,_0x154f2e._0x3c9d3d,_0x154f2e._0x23f0b8,0x42b)](_0x4d90d4=>_0x4d90d4[_0x4390e3(0x465,0x416,0x438,0x424)])['join']('\x0a'):'';}function B(_0x2c0dac,_0x529afe){const _0x252ef6={_0x156f2d:0x4f6,_0x3f54ce:0x4f0,_0x45b546:0x4d2,_0x400337:0x4ee},_0x11126d={_0x512dbd:0x19f,_0x36fd96:0x5ab,_0xaee2d2:0x19e},_0xde61f9={_0x5f34a5:0xea};function _0x404026(_0x4796a8,_0x33109a,_0x573158,_0x3f5059){return _0x5c1e71(_0x4796a8-0x1a6,_0x4796a8,_0x573158-_0xde61f9._0x5f34a5,_0x3f5059-0xf0);}let _0xe08b99=P(_0x2c0dac),_0x25b796=_0x529afe+'\x0a\x0a'+_0xe08b99;if(typeof _0x2c0dac=='string')return _0x25b796;let _0x42c96f=_0x2c0dac[_0x404026(0x513,_0x252ef6._0x156f2d,0x4eb,0x4ca)],_0x546578=Array['isArray'](_0x42c96f)?_0x42c96f[_0x404026(0x509,0x4d3,_0x252ef6._0x3f54ce,0x4f0)](_0x56112f=>_0x56112f['type']!=='text'):[];function _0x5af1e6(_0x5c78b7,_0x1523bf,_0x21626d,_0x45f19b){return _0x5c1e71(_0x5c78b7-_0x11126d._0x512dbd,_0x45f19b,_0x1523bf- -_0x11126d._0x36fd96,_0x45f19b-_0x11126d._0xaee2d2);}return{..._0x2c0dac,'content':[{'type':_0x404026(0x4b7,_0x252ef6._0x45b546,0x4e5,_0x252ef6._0x400337),'text':_0x25b796},..._0x546578]};}async function xt(_0x2d65d0,_0x241658){const _0x2870f9={_0x21570f:0x2db,_0x268b21:0x44a,_0x295b3c:0x430,_0x257cfd:0x431,_0x1a1d95:0x409,_0x48f4bd:0x432,_0x2cfa9a:0x430,_0x1ad362:0x43d,_0x304f03:0x46a,_0x54e5b7:0x401,_0x371059:0x419,_0x4a1767:0x497,_0x2c4c87:0x462,_0xd3d519:0x426},_0x362d6c={_0x2ed46a:0x115,_0x4f24c6:0x9},_0x2b8126={_0x2f6e21:0x29,_0x4c476b:0x1a1};let _0x22d4c6=P(_0x2d65d0);if(!_0x22d4c6?.[_0x49ae3a(0x30f,0x30a,_0x2870f9._0x21570f,0x2fb)]())return{'prompt':_0x2d65d0};function _0x5cf3f5(_0x5679ca,_0x5d025d,_0x4ed941,_0x110d0d){return _0x5c1e71(_0x5679ca-0xeb,_0x5679ca,_0x4ed941-_0x2b8126._0x2f6e21,_0x110d0d-_0x2b8126._0x4c476b);}let _0x236847=await b(_0x22d4c6,_0x241658[_0x5cf3f5(0x414,_0x2870f9._0x268b21,_0x2870f9._0x295b3c,0x442)],{'sessionId':_0x241658[_0x5cf3f5(_0x2870f9._0x257cfd,_0x2870f9._0x1a1d95,_0x2870f9._0x48f4bd,0x440)],'projectDir':_0x241658['projectDir'],'executor':_0x241658[_0x5cf3f5(0x410,_0x2870f9._0x2cfa9a,_0x2870f9._0x1ad362,_0x2870f9._0x304f03)]});function _0x49ae3a(_0x563267,_0x2bbbde,_0x2da118,_0x500d00){return _0x5c1e71(_0x563267-0xef,_0x563267,_0x500d00- -_0x362d6c._0x2ed46a,_0x500d00-_0x362d6c._0x4f24c6);}return _0x236847[_0x5cf3f5(0x456,_0x2870f9._0x54e5b7,0x428,_0x2870f9._0x371059)]?_0x236847['additionalContext']?{'prompt':B(_0x2d65d0,_0x236847[_0x5cf3f5(_0x2870f9._0x4a1767,0x444,0x470,_0x2870f9._0x2c4c87)])}:{'prompt':_0x2d65d0}:{'blocked':{'reason':_0x236847[_0x5cf3f5(0x416,0x429,_0x2870f9._0xd3d519,0x43b)]}};}_0x1075b4();import{contentFromPastedText as _0x3b47c9,hasPastedImages as _0x261aad}from'@nuvin/agent-core/formats';function yt(_0x148990){const _0x40d5fe={_0x363fe1:0x32a,_0x12704c:0x337,_0x32ace3:0x322},_0x4c81d0={_0x4641ee:0xf8,_0x52a688:0x3e};function _0x9620d2(_0x65f80e,_0x2883b7,_0x8211d8,_0x36a125){return _0x5c1e71(_0x65f80e-0x195,_0x8211d8,_0x2883b7- -_0x4c81d0._0x4641ee,_0x36a125-_0x4c81d0._0x52a688);}return _0x261aad(_0x148990)?{'role':_0x9620d2(0x349,_0x40d5fe._0x363fe1,_0x40d5fe._0x12704c,_0x40d5fe._0x32ace3),'content':_0x3b47c9(_0x148990)}:_0x148990;}export{L as a,N as b,A as c,W as d,q as e,Y as f,z as g,S as h,ot as i,st as j,rt as k,it as l,at as m,ut as n,gt as o,xt as p,yt as q};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x23ca01,_0x55cfe6){const _0x1081a0={_0x2b09de:0x24,_0x3c53fb:0xe,_0x4c27fc:0xc,_0x17188e:0x11,_0x3922f1:0x2d4,_0x48a3cb:0x2d5,_0x3b4293:0x2c3,_0x422f81:0x2a7,_0x20b3bb:0x2bd,_0x5dbe61:0x292,_0x1090d4:0x2ad,_0x5d9bfe:0x29a,_0x4564a7:0x2b6,_0x4a01a0:0x2bc,_0x62fe45:0x2af,_0xd9b72e:0x2bf,_0x120b72:0x49,_0x22291a:0x1b,_0x409462:0x14,_0x17fed9:0x30,_0xe38a82:0x2ec,_0x2da0e4:0x2d3,_0x3931ff:0x2cb,_0x1b6728:0x46,_0xdccb9e:0x1f,_0xb5d1b2:0x21,_0x210587:0x2b,_0x28a368:0x25,_0x3eab77:0x40},_0x3e9ba3={_0x5afef4:0x128};function _0x4eb5fa(_0x32e622,_0x2b97e4,_0x563876,_0x1ceb87){return _0x55cf(_0x563876-0x1ba,_0x2b97e4);}const _0x37507c=_0x23ca01();function _0x5b1524(_0x21d192,_0x14f383,_0x4fcd0c,_0x57916e){return _0x55cf(_0x57916e- -_0x3e9ba3._0x5afef4,_0x14f383);}while(!![]){try{const _0x248934=parseInt(_0x5b1524(-0x9,-0x28,-0x33,-_0x1081a0._0x2b09de))/0x1*(-parseInt(_0x5b1524(-0x27,-_0x1081a0._0x3c53fb,-_0x1081a0._0x4c27fc,-_0x1081a0._0x17188e))/0x2)+parseInt(_0x4eb5fa(_0x1081a0._0x3922f1,0x2eb,_0x1081a0._0x48a3cb,0x2e6))/0x3+parseInt(_0x4eb5fa(0x2ba,_0x1081a0._0x3b4293,_0x1081a0._0x422f81,_0x1081a0._0x20b3bb))/0x4+-parseInt(_0x4eb5fa(_0x1081a0._0x5dbe61,0x294,_0x1081a0._0x1090d4,_0x1081a0._0x5d9bfe))/0x5+-parseInt(_0x4eb5fa(_0x1081a0._0x4564a7,_0x1081a0._0x4a01a0,_0x1081a0._0x62fe45,_0x1081a0._0xd9b72e))/0x6*(parseInt(_0x5b1524(-_0x1081a0._0x120b72,-_0x1081a0._0x22291a,-_0x1081a0._0x409462,-_0x1081a0._0x17fed9))/0x7)+parseInt(_0x4eb5fa(_0x1081a0._0xe38a82,_0x1081a0._0x4a01a0,_0x1081a0._0x2da0e4,_0x1081a0._0x3931ff))/0x8+parseInt(_0x5b1524(-_0x1081a0._0x1b6728,-_0x1081a0._0xdccb9e,-_0x1081a0._0xb5d1b2,-_0x1081a0._0x210587))/0x9*(parseInt(_0x5b1524(-0x43,-0x2d,-_0x1081a0._0x28a368,-_0x1081a0._0x3eab77))/0xa);if(_0x248934===_0x55cfe6)break;else _0x37507c['push'](_0x37507c['shift']());}catch(_0x21bc36){_0x37507c['push'](_0x37507c['shift']());}}}(_0x3f27,0xbeeb6));import{createRequire as _0x11cbd3}from'module';function _0x3f27(){const _0x5de701=['DhjPBq','C3rKAw4','y2XPCgjVyxjK','Cg5NCgfZDguGiG','mJG3nJGXwe5ztw9W','D2vICa','B25Jzq','y2XPCgjVyxjKlwLTywDLlG','y2XPCgjVyxjKlq','WQTJBgfZCYbqtKDMWRS','D2LUmZi','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqGvefsr0vuuYaTBYaYpI9KzxyVBNvSBcb8FcbLy2HViciI','zNjVBq','WQTJBgfZCYbxrujqWRS','Aw1Hz2uVANbLzW','Cg93zxjZAgvSBcaTy29TBwfUzcaIAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSGj3rYDwuNih0GzwXZzsb7icDMywXZzsCGFsiGmJ4KBNvSBa','CgLWzq','zxjYB3i','ANbN','Dw5RBM93BG','Aw1Hz2uVz2LM','CMvWBgfJzq','Aw5JBhvKzxm','nMrnBK5SyG','Cg93zxjZAgvSBcaTy29TBwfUzcaIcIaGicaGiefKzc1uExbLic1bC3nLBwjSEu5HBwuGu3LZDgvTlLDPBMrVD3mUrM9YBxmkicaGicaGqwrKlvr5CguGlufZC2vTyMX5tMfTzsbtExn0zw0UrhjHD2LUzWOGicaGicbPzIaOw1n5C3rLBs5xAw5KB3DZlKzVCM1ZlKnSAxbIB2fYzf06oKnVBNrHAw5Zsw1Hz2uOksKGEWOGicaGicaGicrPBwCGpsbBu3LZDgvTlLDPBMrVD3mUrM9YBxmUq2XPCgjVyxjKxtO6r2v0sw1Hz2uOkqOGicaGicaGigLMicGKAw1Nic1UzsaKBNvSBcKGEWOGicaGicaGicaGjgLTzY5tyxzLkcC','mtK0mtu2oe1TC2D0BW','zgfYD2LU','mti5nZaZoejxvgnisq','lNbUzW','cIaGicaGicaGC2v0igzPBgvszwyGDg8GB3bLBIbMB3iGywnJzxnZifbpu0LyigzPBguGxci','y2XVC2u','y2XPCc5LEgu','y29TBwfUza','y2XPCgjVyxjKlwLTywDLlNbUzW','oty1odbeC2fjzMG','C3bHD24','Cg5N','BM93','CgjJB3b5','nde4otG0mhf6rwvxsW','WQTJBgfZCYbhsuzMWRS','Dhj1zq','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqG','BgLUDxG','Aw1Hz2uVD2vICa','ndm5mZG5nxrRsvjVCG','xciGD2L0Acb3CML0zsbWzxjTAxnZAw9UcIaGicaGicaGD3jPDguGAw1Hz2veyxrHihrVigzPBgvszwykicaGicaGicbJBg9ZzsbHy2nLC3mGzMLSzvjLzGOGicaGicaI','nM9QCNLlsG','ic1VihWGyMfZzty0','Aw1Hz2uVCg5N','mZqWmdq2sM10A0DJ','B3nHC2nYAxb0ic1LicjJBgLWyM9HCMqGAw5MBYi','zw5K','CgXHDgzVCM0','WQTJBgfZCYbkuevhWRS','nZKYtfD5r2zJ','z2LM','yMfZzty0'];_0x3f27=function(){return _0x5de701;};return _0x3f27();}const require=_0x11cbd3(import.meta.url);import{e as _0x482af1}from'./chunk-JCYYSGKS.js';_0x482af1();import{exec as _0x103f05,spawn as _0x1271ce}from'child_process';import{readFileSync as _0x522805,unlinkSync as _0x350c1b}from'fs';import{platform as _0xf0fe4b,tmpdir as _0x3314a2}from'os';import{join as _0x2c7f7c}from'path';import{promisify as _0x440069}from'util';var a=_0x440069(_0x103f05);function x(_0x56694d){const _0x136c8c={_0xa20597:0xb6,_0x1c7a13:0xbe,_0x547c6c:0xb4,_0x27e95e:0x36a,_0x562c86:0x350},_0x5f49b4={_0x1e54e5:0x248},_0x34454e={_0x4760e4:0x46};if(_0x56694d==='darwin')return{'command':_0x2ee083(_0x136c8c._0xa20597,0xa6,0xa8,_0x136c8c._0x1c7a13),'args':[]};function _0x2ee083(_0x39a3ae,_0x282610,_0x233aaf,_0x587cb7){return _0x55cf(_0x282610- -_0x34454e._0x4760e4,_0x587cb7);}function _0x836f93(_0x407747,_0xb58251,_0x53d667,_0x145864){return _0x55cf(_0x407747-_0x5f49b4._0x1e54e5,_0x145864);}if(_0x56694d==='linux')return{'command':'xclip','args':['-selection',_0x2ee083(0xd3,0xbc,_0x136c8c._0x547c6c,0xa7)]};if(_0x56694d===_0x836f93(0x352,0x358,_0x136c8c._0x27e95e,_0x136c8c._0x562c86))return{'command':_0x836f93(0x367,0x368,0x37a,0x36c),'args':[]};}async function D(_0x58a087,_0x403d16={}){const _0x3b3c4c={_0x4907f0:0x2dc,_0x54d0d5:0x2dc,_0x42bda2:0x2c7,_0x44853e:0x11d,_0x401afd:0xf3},_0x3cddab={_0x2c7c23:0x1e8,_0x33c092:0x1ee,_0x1d92a2:0x1f2,_0x20007b:0x1d0,_0x2b13d7:0x1ed,_0x23f660:0x1f9,_0x9ff8c1:0x1c7,_0x30d976:0x1e0,_0x2bc5fa:0x27,_0x24d025:0xf,_0xf3a98c:0x2},_0x1a2653={_0x5a6f8e:0x3c},_0x13b367={_0x1b6440:0x1a};let _0x1be8cf=_0x403d16[_0x19c700(_0x3b3c4c._0x4907f0,_0x3b3c4c._0x54d0d5,_0x3b3c4c._0x42bda2,0x2eb)]??_0xf0fe4b(),_0x99e6eb=x(_0x1be8cf);function _0x1df358(_0x3c6f17,_0x35ec46,_0x4f12fc,_0x3542d3){return _0x55cf(_0x35ec46-_0x13b367._0x1b6440,_0x4f12fc);}if(!_0x99e6eb)throw new Error('Clipboard\x20copy\x20is\x20unsupported\x20on\x20'+_0x1be8cf);let _0x1c3544=_0x403d16[_0x1df358(0xff,0x103,_0x3b3c4c._0x44853e,_0x3b3c4c._0x401afd)]??_0x1271ce;function _0x19c700(_0x2d136c,_0x4b4e9d,_0x1b303b,_0xa5cc25){return _0x55cf(_0x4b4e9d-0x1e1,_0x1b303b);}await new Promise((_0x1bb03c,_0x28b4fa)=>{const _0x544d14={_0x5cfcb3:0x1d,_0x10a09:0x22},_0x579774={_0x13aef9:0x6,_0x7f9274:0xd8};function _0x1138e1(_0x2a3879,_0x24f85f,_0x224715,_0x3f6659){return _0x1df358(_0x2a3879-0xf9,_0x3f6659- -0x318,_0x2a3879,_0x3f6659-0x1f1);}function _0x1d67d9(_0x3c4c8e,_0x5f2763,_0x1cc614,_0x381ff7){return _0x19c700(_0x3c4c8e-_0x1a2653._0x5a6f8e,_0x3c4c8e- -0x2cc,_0x5f2763,_0x381ff7-0x1b2);}let _0x44be21=_0x1c3544(_0x99e6eb[_0x1138e1(-0x1d0,-0x1eb,-0x1e0,-0x1de)],_0x99e6eb['args'],{'stdio':_0x1138e1(-0x200,-0x1fc,-_0x3cddab._0x2c7c23,-_0x3cddab._0x33c092)});_0x44be21['once'](_0x1138e1(-0x1d2,-_0x3cddab._0x1d92a2,-_0x3cddab._0x20007b,-_0x3cddab._0x2b13d7),_0x28b4fa),_0x44be21[_0x1138e1(-0x1dd,-_0x3cddab._0x23f660,-0x1fd,-0x1f8)](_0x1138e1(-0x1d6,-_0x3cddab._0x9ff8c1,-0x1ca,-_0x3cddab._0x30d976),_0x5cdf1c=>{function _0x3925f7(_0x59958b,_0x12601d,_0x150860,_0xf1bb2){return _0x1d67d9(_0x12601d-_0x579774._0x13aef9,_0xf1bb2,_0x150860-_0x579774._0x7f9274,_0xf1bb2-0x112);}_0x5cdf1c===0x0?_0x1bb03c():_0x28b4fa(new Error('Clipboard\x20command\x20failed\x20with\x20exit\x20code\x20'+(_0x5cdf1c??_0x3925f7(0x1e,0x2e,_0x544d14._0x5cfcb3,_0x544d14._0x10a09))));}),_0x44be21['stdin']['write'](_0x58a087),_0x44be21[_0x1d67d9(0x16,_0x3cddab._0x2bc5fa,0x8,0x2)][_0x1d67d9(_0x3cddab._0x24d025,-0x1,-_0x3cddab._0xf3a98c,0xb)]();});}async function G(){const _0x5b023a={_0x13f57c:0x1cd,_0xd87735:0x1d4,_0xda40d5:0x1ea,_0x5402f9:0x1e7,_0x40c08d:0x36f,_0x2784ba:0x371,_0x13fbf6:0x369,_0x30477a:0x381,_0x159c2f:0x38e,_0x53110e:0x376,_0x3d9f53:0x36a,_0x382773:0x35c,_0x3f78ca:0x331,_0x3f487f:0x340,_0x42be8b:0x352,_0x191171:0x34e,_0x192631:0x1d9,_0x1a9e89:0x202,_0x2d6e8a:0x1ff,_0xa65f59:0x1ef,_0x176b92:0x1c5,_0x1c8e1e:0x1b7,_0x7d7a00:0x1bd,_0x2e58f0:0x34f,_0x154044:0x35b,_0x192d2a:0x36b,_0x268000:0x35e,_0x129d00:0x387,_0x179c5b:0x34a,_0x7050d0:0x363,_0x2516de:0x357,_0x261a47:0x1ea,_0x1847c1:0x36c,_0x35a862:0x359,_0x78677d:0x389,_0x24ed31:0x35e,_0x3a7255:0x35b,_0x518e4c:0x378,_0x2137c0:0x35e,_0x2f882b:0x384,_0x1047bd:0x360};function _0x1b66b3(_0x2b054b,_0x122e02,_0x3ef9ff,_0x6b2461){return _0x55cf(_0x6b2461-0x260,_0x3ef9ff);}function _0x48fcff(_0x2c2b93,_0x1f2555,_0x2d4cb3,_0x364f4b){return _0x55cf(_0x2c2b93-0xd4,_0x1f2555);}try{let _0x4d52fb=_0xf0fe4b();if(_0x4d52fb===_0x48fcff(0x1ee,0x1d6,0x1fc,0x1fe)){let {stdout:_0x5752d7}=await a(_0x48fcff(0x1cd,_0x5b023a._0x13f57c,0x1e5,_0x5b023a._0xd87735));return _0x5752d7[_0x48fcff(_0x5b023a._0xda40d5,_0x5b023a._0x5402f9,0x202,0x1ef)](_0x1b66b3(0x358,_0x5b023a._0x40c08d,_0x5b023a._0x2784ba,_0x5b023a._0x13fbf6))||_0x5752d7[_0x1b66b3(0x388,_0x5b023a._0x30477a,_0x5b023a._0x159c2f,_0x5b023a._0x53110e)](_0x1b66b3(_0x5b023a._0x3d9f53,0x350,0x349,_0x5b023a._0x382773))||_0x5752d7['includes'](_0x1b66b3(_0x5b023a._0x3f78ca,_0x5b023a._0x3f487f,_0x5b023a._0x42be8b,_0x5b023a._0x191171))||_0x5752d7[_0x48fcff(_0x5b023a._0xda40d5,_0x5b023a._0x192631,_0x5b023a._0x1a9e89,_0x5b023a._0x2d6e8a)](_0x48fcff(0x1e1,0x1d7,_0x5b023a._0xa65f59,0x1f1));}if(_0x4d52fb===_0x48fcff(_0x5b023a._0x176b92,0x1d8,_0x5b023a._0x1c8e1e,_0x5b023a._0x7d7a00)){let {stdout:_0x305994}=await a(_0x1b66b3(_0x5b023a._0x2e58f0,_0x5b023a._0x154044,0x37d,_0x5b023a._0x192d2a));return _0x305994[_0x1b66b3(_0x5b023a._0x268000,_0x5b023a._0x129d00,0x362,0x376)](_0x1b66b3(0x34e,_0x5b023a._0x179c5b,_0x5b023a._0x7050d0,_0x5b023a._0x2516de))||_0x305994[_0x48fcff(_0x5b023a._0x261a47,0x1ee,0x1ef,0x1f4)](_0x1b66b3(_0x5b023a._0x1847c1,_0x5b023a._0x1847c1,_0x5b023a._0x35a862,0x36e))||_0x305994[_0x1b66b3(_0x5b023a._0x2784ba,0x38d,_0x5b023a._0x78677d,0x376)](_0x1b66b3(0x386,_0x5b023a._0x24ed31,0x37f,0x374))||_0x305994[_0x1b66b3(_0x5b023a._0x3a7255,0x35a,_0x5b023a._0x518e4c,0x376)]('image/webp');}if(_0x4d52fb===_0x1b66b3(0x385,0x381,_0x5b023a._0x2137c0,_0x5b023a._0x3d9f53))try{let {stdout:_0x410210}=await a(_0x1b66b3(0x384,_0x5b023a._0x2f882b,0x387,0x36f));return _0x410210[_0x1b66b3(_0x5b023a._0x3a7255,0x351,0x347,_0x5b023a._0x1047bd)]()===_0x1b66b3(_0x5b023a._0x3d9f53,0x34c,0x358,0x34f);}catch{return!0x1;}return!0x1;}catch{return!0x1;}}async function N(){const _0x13c5b3={_0x5684ab:0xa3,_0x2f07db:0x87,_0x2afc16:0x1ec,_0x28d305:0x1e6,_0x2ed772:0x1e4};function _0x14128c(_0x286314,_0x5c0fa2,_0x321cd8,_0x2bad46){return _0x55cf(_0x5c0fa2- -0x1bd,_0x2bad46);}let _0xea833f=_0xf0fe4b();function _0x4eac5e(_0x8621f1,_0xaa065a,_0x31862f,_0x117d3a){return _0x55cf(_0xaa065a- -0x2d7,_0x8621f1);}return _0xea833f===_0x14128c(-0x8c,-_0x13c5b3._0x5684ab,-0xb2,-_0x13c5b3._0x2f07db)?B():_0xea833f===_0x4eac5e(-_0x13c5b3._0x2afc16,-_0x13c5b3._0x28d305,-0x1ec,-_0x13c5b3._0x2ed772)?T():_0xea833f==='win32'?h():[];}async function B(){const _0x8b5304={_0x5dfb02:0x13b,_0x36a41e:0x12c,_0x91f82a:0x154,_0x5ed4ba:0x15a,_0xcd734b:0x168,_0x1a9843:0x166,_0x5f3fb2:0xc6,_0x1d7792:0xd1,_0x401280:0xe1,_0x3454f9:0xd6,_0x1aa9ef:0x142,_0x55f8bc:0x13d,_0x4464e9:0x142,_0xbc91c9:0x13f,_0x58f8c4:0x143,_0x581e67:0xce,_0x5afd28:0xc5,_0x452cb3:0x104,_0x5cebda:0xfb,_0x48c5be:0xf7,_0x219bc6:0x15f,_0x1dd526:0x150,_0x390594:0x138,_0xc27c02:0xf0,_0x5b6551:0x15e},_0x42f93e={_0x5e95ff:0x26};let _0x4e3183=[{'format':_0x598471(-0x132,-_0x8b5304._0x5dfb02,-_0x8b5304._0x36a41e,-0x13d),'extension':_0x598471(-_0x8b5304._0x91f82a,-_0x8b5304._0x5ed4ba,-_0x8b5304._0xcd734b,-_0x8b5304._0x1a9843),'mimeType':_0x3817e6(_0x8b5304._0x5f3fb2,0xd1,_0x8b5304._0x1d7792,_0x8b5304._0x401280)},{'format':_0x3817e6(0xbf,0xef,_0x8b5304._0x3454f9,0xdb),'extension':_0x598471(-0x127,-0x132,-0x137,-_0x8b5304._0x1aa9ef),'mimeType':_0x598471(-0x13c,-0x136,-0x152,-0x148)},{'format':'«class\x20GIFf»','extension':'gif','mimeType':'image/gif'},{'format':_0x598471(-_0x8b5304._0x55f8bc,-0x137,-0x12a,-0x145),'extension':_0x598471(-_0x8b5304._0x4464e9,-_0x8b5304._0xbc91c9,-0x127,-0x137),'mimeType':'image/webp'}];function _0x3817e6(_0x391023,_0x5c1f69,_0x3e4854,_0x5e5f83){return _0x55cf(_0x3e4854- -_0x42f93e._0x5e95ff,_0x5c1f69);}for(let {format:_0x37d946,extension:_0x20f9ed,mimeType:_0x13328a}of _0x4e3183)try{let _0x52ac38=_0x2c7f7c(_0x3314a2(),_0x598471(-0x11f,-0x13c,-0x129,-_0x8b5304._0x58f8c4)+Date[_0x3817e6(_0x8b5304._0x581e67,_0x8b5304._0x3454f9,_0x8b5304._0x5afd28,0xbf)]()+'.'+_0x20f9ed);await a('osascript\x20-e\x20\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set\x20imageData\x20to\x20the\x20clipboard\x20as\x20'+_0x37d946+_0x3817e6(_0x8b5304._0x452cb3,_0x8b5304._0x5cebda,_0x8b5304._0x48c5be,0xec)+_0x52ac38+_0x598471(-_0x8b5304._0x219bc6,-_0x8b5304._0x1dd526,-0x141,-_0x8b5304._0x390594));let _0x1dc88e=_0x522805(_0x52ac38);return _0x350c1b(_0x52ac38),[{'data':_0x1dc88e,'mediaType':_0x13328a,'name':_0x3817e6(0xc9,0xe9,_0x8b5304._0x401280,_0x8b5304._0xc27c02)+_0x20f9ed}];}catch{}function _0x598471(_0x5f0a65,_0xbe12cd,_0x8d7462,_0x3ea436){return _0x55cf(_0xbe12cd- -0x244,_0x5f0a65);}try{let _0x242e42=_0x2c7f7c(_0x3314a2(),'clipboard-'+Date['now']()+'.png');await a(_0x598471(-0x140,-0x141,-0x148,-0x13d)+_0x242e42+'\x22');let _0x1028fa=_0x522805(_0x242e42);return _0x350c1b(_0x242e42),[{'data':_0x1028fa,'mediaType':_0x598471(-_0x8b5304._0x5b6551,-0x14d,-0x15d,-0x16a),'name':'clipboard-image.png'}];}catch{}return[];}function _0x55cf(_0x17d7e9,_0x153d32){_0x17d7e9=_0x17d7e9-0xe7;const _0x3f270f=_0x3f27();let _0x55cf72=_0x3f270f[_0x17d7e9];if(_0x55cf['xPuRdA']===undefined){var _0xfd28aa=function(_0x38121b){const _0x1c0373='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x11cbd3='',_0x482af1='';for(let _0x103f05=0x0,_0x1271ce,_0x522805,_0x350c1b=0x0;_0x522805=_0x38121b['charAt'](_0x350c1b++);~_0x522805&&(_0x1271ce=_0x103f05%0x4?_0x1271ce*0x40+_0x522805:_0x522805,_0x103f05++%0x4)?_0x11cbd3+=String['fromCharCode'](0xff&_0x1271ce>>(-0x2*_0x103f05&0x6)):0x0){_0x522805=_0x1c0373['indexOf'](_0x522805);}for(let _0xf0fe4b=0x0,_0x3314a2=_0x11cbd3['length'];_0xf0fe4b<_0x3314a2;_0xf0fe4b++){_0x482af1+='%'+('00'+_0x11cbd3['charCodeAt'](_0xf0fe4b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x482af1);};_0x55cf['puSwjs']=_0xfd28aa,_0x55cf['uOaGaQ']={},_0x55cf['xPuRdA']=!![];}const _0x13ccb2=_0x3f270f[0x0],_0x46fba1=_0x17d7e9+_0x13ccb2,_0x1a0300=_0x55cf['uOaGaQ'][_0x46fba1];return!_0x1a0300?(_0x55cf72=_0x55cf['puSwjs'](_0x55cf72),_0x55cf['uOaGaQ'][_0x46fba1]=_0x55cf72):_0x55cf72=_0x1a0300,_0x55cf72;}async function T(){const _0x44d25e={_0x352cbb:0x421,_0x2aef77:0x40f,_0x509602:0x40b,_0x4541a1:0x89,_0x4f68c9:0x9f,_0x516876:0x439,_0x49b4f0:0x40f,_0x5d635b:0x84,_0x4ba454:0x73,_0x5081c7:0x433,_0x981813:0x401,_0x460f04:0x408,_0x1c373f:0x3ef,_0x43f774:0x3f9,_0x5cb882:0x3fc,_0x4d2631:0x42c,_0x1cdfc4:0x445,_0x490663:0x444,_0x41a150:0x77,_0x78e536:0xa1,_0x153edd:0x43a,_0x5205a9:0x43b,_0x10874b:0x42a,_0x552a2e:0x420,_0x4293b6:0x419,_0x1e5a19:0x406,_0x3531fb:0x411},_0x37c1e4={_0x79dce6:0x316},_0x125914={_0x1aee9a:0x185};function _0x1391fc(_0x30281c,_0x3cc74e,_0x3fd0f3,_0x42326e){return _0x55cf(_0x42326e- -_0x125914._0x1aee9a,_0x30281c);}function _0x3cfa4e(_0x305482,_0x3fed67,_0x55b081,_0x47a674){return _0x55cf(_0x305482-_0x37c1e4._0x79dce6,_0x55b081);}let {stdout:_0x417947}=await a(_0x3cfa4e(_0x44d25e._0x352cbb,0x431,_0x44d25e._0x2aef77,_0x44d25e._0x509602)),_0x14c8d7=[{'target':'image/png','extension':_0x1391fc(-_0x44d25e._0x4541a1,-0x9e,-_0x44d25e._0x4f68c9,-0x9b)},{'target':_0x3cfa4e(0x424,0x423,_0x44d25e._0x516876,_0x44d25e._0x49b4f0),'extension':_0x1391fc(-0x5a,-_0x44d25e._0x5d635b,-0x87,-_0x44d25e._0x4ba454)},{'target':_0x3cfa4e(0x42a,_0x44d25e._0x5081c7,0x42d,0x412),'extension':_0x3cfa4e(0x414,0x409,_0x44d25e._0x981813,0x424)},{'target':_0x3cfa4e(_0x44d25e._0x460f04,_0x44d25e._0x1c373f,_0x44d25e._0x43f774,_0x44d25e._0x5cb882),'extension':'webp'}];for(let {target:_0x412840,extension:_0x42a061}of _0x14c8d7)if(_0x417947[_0x3cfa4e(_0x44d25e._0x4d2631,_0x44d25e._0x1cdfc4,0x445,_0x44d25e._0x490663)](_0x412840))try{let {stdout:_0x39f840}=await a(_0x3cfa4e(0x406,0x413,0x412,0x421)+_0x412840+_0x1391fc(-0x77,-_0x44d25e._0x41a150,-_0x44d25e._0x78e536,-0x8f));return[{'data':Buffer[_0x3cfa4e(0x422,0x405,_0x44d25e._0x153edd,_0x44d25e._0x5205a9)](_0x39f840[_0x3cfa4e(0x416,_0x44d25e._0x10874b,_0x44d25e._0x552a2e,_0x44d25e._0x4293b6)](),_0x3cfa4e(0x415,_0x44d25e._0x1e5a19,0x41f,_0x44d25e._0x3531fb)),'mediaType':_0x412840,'name':'clipboard-image.'+_0x42a061}];}catch{}return[];}async function h(){const _0x17c8a2={_0x1da67e:0x2a6,_0x1b9a0e:0x274,_0x135252:0x2b5,_0x5b105f:0x2b3,_0xa8637d:0x2b5,_0x2043e4:0x2a8,_0x5bb382:0x295,_0x4df3a2:0x2c2,_0x4cff12:0x97,_0x3dff67:0xb2,_0x222fc6:0xca};function _0x45671c(_0x4a4989,_0x3350a9,_0x3e9129,_0x1950a9){return _0x55cf(_0x3350a9- -0x1c7,_0x3e9129);}function _0x3809d1(_0x13e554,_0x55ac86,_0x1b3bbb,_0x16e970){return _0x55cf(_0x55ac86-0x197,_0x1b3bbb);}let _0x17126c=_0x2c7f7c(_0x3314a2(),_0x3809d1(0x2bb,0x29f,0x28b,_0x17c8a2._0x1da67e)+Date[_0x3809d1(0x297,0x282,0x281,_0x17c8a2._0x1b9a0e)]()+_0x3809d1(_0x17c8a2._0x135252,_0x17c8a2._0x5b105f,_0x17c8a2._0xa8637d,_0x17c8a2._0x2043e4));try{await a(_0x3809d1(0x2b9,0x2af,_0x17c8a2._0x5bb382,_0x17c8a2._0x4df3a2)+_0x17126c[_0x45671c(-_0x17c8a2._0x4cff12,-_0x17c8a2._0x3dff67,-0xad,-0xc5)](/\\/g,'\x5c\x5c')+'\x27,\x20[System.Drawing.Imaging.ImageFormat]::Png)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20$img.Dispose()\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x22');let _0x5ab4c2=_0x522805(_0x17126c);return _0x350c1b(_0x17126c),[{'data':_0x5ab4c2,'mediaType':'image/png','name':_0x45671c(-0xe3,-0xe0,-_0x17c8a2._0x222fc6,-0xe9)}];}catch{try{_0x350c1b(_0x17126c);}catch{}return[];}}export{D as a,G as b,N as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x4c714c,_0x180db6){const _0x3fd7f8={_0x53d265:0x20f,_0x36dc24:0x21f,_0x372076:0x219,_0x52c53a:0x216,_0x4427d6:0x209,_0x566e4f:0x20e,_0x1d082a:0x213,_0x31b6bc:0x37d,_0x57c0b5:0x215,_0x1e8a0d:0x212,_0x5e6c98:0x379,_0x389767:0x37b,_0x90025e:0x375,_0x3c2d46:0x216,_0x2765a6:0x218,_0x582da6:0x376,_0x3ca798:0x37c,_0x56568c:0x373,_0x4f80cd:0x37f,_0x1099fb:0x374,_0x435ba1:0x37e},_0x16b4ab={_0x4dbdf1:0xe2},_0x565df5={_0x1cb165:0x247};function _0x20d928(_0x4a3a70,_0x3b6ff6,_0x4e6ad3,_0x347a68){return _0x575f(_0x4a3a70-_0x565df5._0x1cb165,_0x347a68);}const _0x230e2f=_0x4c714c();function _0x43bf85(_0x4733dc,_0x4e3a08,_0x389190,_0x1f7059){return _0x575f(_0x389190-_0x16b4ab._0x4dbdf1,_0x4e3a08);}while(!![]){try{const _0x268299=-parseInt(_0x43bf85(0x212,0x211,_0x3fd7f8._0x53d265,0x212))/0x1*(parseInt(_0x43bf85(0x219,_0x3fd7f8._0x36dc24,_0x3fd7f8._0x372076,_0x3fd7f8._0x52c53a))/0x2)+parseInt(_0x43bf85(0x20d,_0x3fd7f8._0x4427d6,_0x3fd7f8._0x566e4f,_0x3fd7f8._0x1d082a))/0x3+-parseInt(_0x20d928(_0x3fd7f8._0x31b6bc,0x377,0x382,0x382))/0x4*(parseInt(_0x43bf85(0x20c,_0x3fd7f8._0x57c0b5,_0x3fd7f8._0x1e8a0d,0x217))/0x5)+parseInt(_0x20d928(0x378,_0x3fd7f8._0x5e6c98,0x378,_0x3fd7f8._0x389767))/0x6+parseInt(_0x20d928(0x376,_0x3fd7f8._0x90025e,0x37c,_0x3fd7f8._0x5e6c98))/0x7*(-parseInt(_0x43bf85(0x213,0x219,0x217,_0x3fd7f8._0x1e8a0d))/0x8)+parseInt(_0x43bf85(0x214,_0x3fd7f8._0x3c2d46,0x216,_0x3fd7f8._0x2765a6))/0x9*(-parseInt(_0x20d928(0x379,_0x3fd7f8._0x582da6,_0x3fd7f8._0x3ca798,_0x3fd7f8._0x56568c))/0xa)+parseInt(_0x43bf85(0x213,_0x3fd7f8._0x57c0b5,0x210,0x215))/0xb*(parseInt(_0x20d928(0x37a,_0x3fd7f8._0x4f80cd,_0x3fd7f8._0x1099fb,_0x3fd7f8._0x435ba1))/0xc);if(_0x268299===_0x180db6)break;else _0x230e2f['push'](_0x230e2f['shift']());}catch(_0x18f168){_0x230e2f['push'](_0x230e2f['shift']());}}}(_0x2926,0x24b50));import{createRequire as _0x662900}from'module';const require=_0x662900(import.meta.url);function _0x2926(){const _0x6f50c5=['mZyXmdi1q1Psvfnd','mtm1nwfytNfgwG','mtu2otyXmMvtCK1kzq','ntbZvLDZuK0','mtq0mZeYCgfkzw9o','mtyXmdf0t3DfqM4','mJr3yK9cBfu','mJKWnff6vvjVDG','nhfJtKzYDq','odq2mdyWzML1B01o','mtqYnZaWBuz4vej6','mJmXCKrHEM1g'];_0x2926=function(){return _0x6f50c5;};return _0x2926();}import{a,b,c}from'./chunk-QX4BITAK.js';function _0x575f(_0x164b8c,_0x5bfc7d){_0x164b8c=_0x164b8c-0x12c;const _0x292679=_0x2926();let _0x575fc2=_0x292679[_0x164b8c];if(_0x575f['qpUQvG']===undefined){var _0x34c367=function(_0xd0cfc3){const _0x1831d5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x662900='',_0x558344='';for(let _0x26fa96=0x0,_0x5c67a2,_0x107e32,_0x592ad8=0x0;_0x107e32=_0xd0cfc3['charAt'](_0x592ad8++);~_0x107e32&&(_0x5c67a2=_0x26fa96%0x4?_0x5c67a2*0x40+_0x107e32:_0x107e32,_0x26fa96++%0x4)?_0x662900+=String['fromCharCode'](0xff&_0x5c67a2>>(-0x2*_0x26fa96&0x6)):0x0){_0x107e32=_0x1831d5['indexOf'](_0x107e32);}for(let _0x1727d5=0x0,_0x2e452f=_0x662900['length'];_0x1727d5<_0x2e452f;_0x1727d5++){_0x558344+='%'+('00'+_0x662900['charCodeAt'](_0x1727d5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x558344);};_0x575f['wkETGL']=_0x34c367,_0x575f['MQdnGt']={},_0x575f['qpUQvG']=!![];}const _0x5107b3=_0x292679[0x0],_0x551ae0=_0x164b8c+_0x5107b3,_0x2750a7=_0x575f['MQdnGt'][_0x551ae0];return!_0x2750a7?(_0x575fc2=_0x575f['wkETGL'](_0x575fc2),_0x575f['MQdnGt'][_0x551ae0]=_0x575fc2):_0x575fc2=_0x2750a7,_0x575fc2;}import'./chunk-JCYYSGKS.js';export{a as copyTextToClipboard,c as getClipboardFiles,b as hasClipboardFiles};
|