@dscord/daemon 0.1.40 → 0.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat-bridge.js +1997 -1983
- package/dist/index.js +10025 -9967
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,47 +1,22 @@
|
|
|
1
|
-
const
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const _0x186803 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
9
|
-
let _0x6a3a2 = '', _0x415160 = '';
|
|
10
|
-
for (let _0x3a8677 = 0x0, _0x477624, _0x402af4, _0xf5bb55 = 0x0; _0x402af4 = _0x1ceafb['charAt'](_0xf5bb55++); ~_0x402af4 && (_0x477624 = _0x3a8677 % 0x4 ? _0x477624 * 0x40 + _0x402af4 : _0x402af4, _0x3a8677++ % 0x4) ? _0x6a3a2 += String['fromCharCode'](0xff & _0x477624 >> (-0x2 * _0x3a8677 & 0x6)) : 0x0) {
|
|
11
|
-
_0x402af4 = _0x186803['indexOf'](_0x402af4);
|
|
12
|
-
}
|
|
13
|
-
for (let _0x21cce9 = 0x0, _0x7bed47 = _0x6a3a2['length']; _0x21cce9 < _0x7bed47; _0x21cce9++) {
|
|
14
|
-
_0x415160 += '%' + ('00' + _0x6a3a2['charCodeAt'](_0x21cce9)['toString'](0x10))['slice'](-0x2);
|
|
15
|
-
}
|
|
16
|
-
return decodeURIComponent(_0x415160);
|
|
17
|
-
};
|
|
18
|
-
_0x549d['VBUUbz'] = _0x1f3c1d, _0x549d['CbpQxY'] = {}, _0x549d['uFnONq'] = !![];
|
|
19
|
-
}
|
|
20
|
-
const _0xa42e70 = _0x3714e7[0x0], _0xc3249a = _0x3d5b8a + _0xa42e70, _0x584a27 = _0x549d['CbpQxY'][_0xc3249a];
|
|
21
|
-
return !_0x584a27 ? (_0x549dd3 = _0x549d['VBUUbz'](_0x549dd3), _0x549d['CbpQxY'][_0xc3249a] = _0x549dd3) : _0x549dd3 = _0x584a27, _0x549dd3;
|
|
22
|
-
}
|
|
23
|
-
(function (_0x31fbef, _0x283784) {
|
|
24
|
-
const _0x49ccf0 = {
|
|
25
|
-
_0x13e12b: 0x149,
|
|
26
|
-
_0x23e515: 0x245,
|
|
27
|
-
_0x1b37c2: 0x254,
|
|
28
|
-
_0x42865f: 0x27a,
|
|
29
|
-
_0xbf5676: 0x175,
|
|
30
|
-
_0x114fb6: 0x286,
|
|
31
|
-
_0x533636: 0x26a
|
|
32
|
-
}, _0x470ee0 = _0x549d, _0x3f90a2 = _0x31fbef();
|
|
1
|
+
const _0x2d2fb4 = _0x101e;
|
|
2
|
+
(function (_0x3417c5, _0x43fe23) {
|
|
3
|
+
const _0x239099 = {
|
|
4
|
+
_0xe16f0e: 0x359,
|
|
5
|
+
_0x29677a: 0x2a8,
|
|
6
|
+
_0x10178f: 0x368
|
|
7
|
+
}, _0x3fdf61 = _0x101e, _0x5ad5c0 = _0x3417c5();
|
|
33
8
|
while (!![]) {
|
|
34
9
|
try {
|
|
35
|
-
const
|
|
36
|
-
if (
|
|
10
|
+
const _0x1365d7 = parseInt(_0x3fdf61(0x220)) / 0x1 + parseInt(_0x3fdf61(0x32a)) / 0x2 * (-parseInt(_0x3fdf61(0x247)) / 0x3) + -parseInt(_0x3fdf61(0x2fc)) / 0x4 + parseInt(_0x3fdf61(_0x239099._0xe16f0e)) / 0x5 + -parseInt(_0x3fdf61(0x203)) / 0x6 * (parseInt(_0x3fdf61(_0x239099._0x29677a)) / 0x7) + parseInt(_0x3fdf61(0x24e)) / 0x8 + parseInt(_0x3fdf61(_0x239099._0x10178f)) / 0x9 * (parseInt(_0x3fdf61(0x346)) / 0xa);
|
|
11
|
+
if (_0x1365d7 === _0x43fe23)
|
|
37
12
|
break;
|
|
38
13
|
else
|
|
39
|
-
|
|
40
|
-
} catch (
|
|
41
|
-
|
|
14
|
+
_0x5ad5c0['push'](_0x5ad5c0['shift']());
|
|
15
|
+
} catch (_0x1adba8) {
|
|
16
|
+
_0x5ad5c0['push'](_0x5ad5c0['shift']());
|
|
42
17
|
}
|
|
43
18
|
}
|
|
44
|
-
}(
|
|
19
|
+
}(_0x11ab, 0x3f8b2));
|
|
45
20
|
import { pathToFileURL } from 'node:url';
|
|
46
21
|
import {
|
|
47
22
|
mkdir,
|
|
@@ -51,82 +26,106 @@ import {
|
|
|
51
26
|
writeFile
|
|
52
27
|
} from 'node:fs/promises';
|
|
53
28
|
import { homedir } from 'node:os';
|
|
54
|
-
|
|
29
|
+
function _0x101e(_0x196b2f, _0x15e17e) {
|
|
30
|
+
_0x196b2f = _0x196b2f - 0x1e9;
|
|
31
|
+
const _0x11ab12 = _0x11ab();
|
|
32
|
+
let _0x101e2f = _0x11ab12[_0x196b2f];
|
|
33
|
+
if (_0x101e['QFYJrw'] === undefined) {
|
|
34
|
+
var _0x34fbb5 = function (_0x4d7719) {
|
|
35
|
+
const _0x2e6339 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
36
|
+
let _0x76e9e3 = '', _0x343a1e = '';
|
|
37
|
+
for (let _0x37bb10 = 0x0, _0x453270, _0x3a6c5a, _0x2c1d26 = 0x0; _0x3a6c5a = _0x4d7719['charAt'](_0x2c1d26++); ~_0x3a6c5a && (_0x453270 = _0x37bb10 % 0x4 ? _0x453270 * 0x40 + _0x3a6c5a : _0x3a6c5a, _0x37bb10++ % 0x4) ? _0x76e9e3 += String['fromCharCode'](0xff & _0x453270 >> (-0x2 * _0x37bb10 & 0x6)) : 0x0) {
|
|
38
|
+
_0x3a6c5a = _0x2e6339['indexOf'](_0x3a6c5a);
|
|
39
|
+
}
|
|
40
|
+
for (let _0x100a9f = 0x0, _0xc45db = _0x76e9e3['length']; _0x100a9f < _0xc45db; _0x100a9f++) {
|
|
41
|
+
_0x343a1e += '%' + ('00' + _0x76e9e3['charCodeAt'](_0x100a9f)['toString'](0x10))['slice'](-0x2);
|
|
42
|
+
}
|
|
43
|
+
return decodeURIComponent(_0x343a1e);
|
|
44
|
+
};
|
|
45
|
+
_0x101e['qMMymZ'] = _0x34fbb5, _0x101e['ucbQvO'] = {}, _0x101e['QFYJrw'] = !![];
|
|
46
|
+
}
|
|
47
|
+
const _0x4748a1 = _0x11ab12[0x0], _0x188612 = _0x196b2f + _0x4748a1, _0x4da77a = _0x101e['ucbQvO'][_0x188612];
|
|
48
|
+
return !_0x4da77a ? (_0x101e2f = _0x101e['qMMymZ'](_0x101e2f), _0x101e['ucbQvO'][_0x188612] = _0x101e2f) : _0x101e2f = _0x4da77a, _0x101e2f;
|
|
49
|
+
}
|
|
50
|
+
import _0x76e9e3 from 'node:path';
|
|
55
51
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
56
|
-
'.csv':
|
|
57
|
-
'.gif':
|
|
58
|
-
'.jpeg':
|
|
59
|
-
'.jpg':
|
|
60
|
-
'.json':
|
|
61
|
-
'.md':
|
|
62
|
-
'.pdf':
|
|
63
|
-
'.png':
|
|
64
|
-
'.svg':
|
|
65
|
-
'.txt':
|
|
66
|
-
'.webp':
|
|
67
|
-
'.xml':
|
|
68
|
-
'.zip':
|
|
52
|
+
'.csv': _0x2d2fb4(0x216),
|
|
53
|
+
'.gif': 'image/gif',
|
|
54
|
+
'.jpeg': _0x2d2fb4(0x35e),
|
|
55
|
+
'.jpg': _0x2d2fb4(0x35e),
|
|
56
|
+
'.json': 'application/json',
|
|
57
|
+
'.md': _0x2d2fb4(0x30e),
|
|
58
|
+
'.pdf': 'application/pdf',
|
|
59
|
+
'.png': 'image/png',
|
|
60
|
+
'.svg': _0x2d2fb4(0x364),
|
|
61
|
+
'.txt': _0x2d2fb4(0x254),
|
|
62
|
+
'.webp': 'image/webp',
|
|
63
|
+
'.xml': _0x2d2fb4(0x357),
|
|
64
|
+
'.zip': _0x2d2fb4(0x317)
|
|
69
65
|
};
|
|
70
|
-
function guessContentType(
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
_0x25fa66: 0x226
|
|
74
|
-
}, _0x316013 = _0x229703;
|
|
75
|
-
return MIME_BY_EXTENSION[_0x6a3a2[_0x316013(_0x310e2c._0x3de41e)](_0x415160)['toLowerCase']()] ?? _0x316013(_0x310e2c._0x25fa66);
|
|
66
|
+
function guessContentType(_0x343a1e) {
|
|
67
|
+
const _0x177a36 = _0x2d2fb4;
|
|
68
|
+
return MIME_BY_EXTENSION[_0x76e9e3[_0x177a36(0x345)](_0x343a1e)[_0x177a36(0x337)]()] ?? _0x177a36(0x20e);
|
|
76
69
|
}
|
|
77
|
-
function safeFilename(
|
|
78
|
-
|
|
79
|
-
return _0x3a8677[_0xde0663(0x1bb)](/[\\/]/g, '-');
|
|
70
|
+
function safeFilename(_0x37bb10) {
|
|
71
|
+
return _0x37bb10['replace'](/[\\/]/g, '-');
|
|
80
72
|
}
|
|
81
|
-
function extensionFor(
|
|
82
|
-
const
|
|
83
|
-
|
|
73
|
+
function extensionFor(_0x453270) {
|
|
74
|
+
const _0x4ecdd7 = {
|
|
75
|
+
_0x5a8768: 0x292,
|
|
76
|
+
_0x5dceb8: 0x201
|
|
77
|
+
}, _0x54279d = _0x2d2fb4, _0x3a6c5a = Object[_0x54279d(_0x4ecdd7._0x5a8768)](MIME_BY_EXTENSION)[_0x54279d(_0x4ecdd7._0x5dceb8)](([, _0x2c1d26]) => _0x2c1d26 === _0x453270);
|
|
78
|
+
return _0x3a6c5a?.[0x0] ?? '.bin';
|
|
84
79
|
}
|
|
85
|
-
async function prepareUploadFile(
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
80
|
+
async function prepareUploadFile(_0x100a9f, _0xc45db = {}) {
|
|
81
|
+
const _0x560aec = {
|
|
82
|
+
_0x4f0d06: 0x1f0,
|
|
83
|
+
_0x48a614: 0x342,
|
|
84
|
+
_0x162f4f: 0x290,
|
|
85
|
+
_0x19c44f: 0x241,
|
|
86
|
+
_0x204b4a: 0x333
|
|
87
|
+
}, _0x3de585 = _0x2d2fb4;
|
|
88
|
+
if (!_0x76e9e3['isAbsolute'](_0x100a9f))
|
|
89
|
+
throw new Error(_0x3de585(_0x560aec._0x4f0d06));
|
|
90
|
+
const _0x3e4e1d = await stat(_0x100a9f)[_0x3de585(0x352)](() => null);
|
|
91
|
+
if (!_0x3e4e1d || !_0x3e4e1d[_0x3de585(_0x560aec._0x48a614)]())
|
|
92
|
+
throw new Error(_0x3de585(0x2f5) + _0x100a9f);
|
|
93
|
+
const _0x58267e = _0xc45db[_0x3de585(_0x560aec._0x162f4f)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
94
|
+
if (_0x3e4e1d[_0x3de585(0x333)] > _0x58267e)
|
|
95
|
+
throw new Error(_0x3de585(_0x560aec._0x19c44f) + _0x3e4e1d[_0x3de585(0x333)]);
|
|
96
|
+
const _0x3d6ce8 = await readFile(_0x100a9f), _0x51248b = _0x76e9e3[_0x3de585(0x34e)](_0x100a9f);
|
|
101
97
|
return {
|
|
102
|
-
'contentBase64':
|
|
103
|
-
'contentType': guessContentType(
|
|
104
|
-
'filename':
|
|
105
|
-
'sizeBytes':
|
|
98
|
+
'contentBase64': _0x3d6ce8['toString'](_0x3de585(0x218)),
|
|
99
|
+
'contentType': guessContentType(_0x51248b),
|
|
100
|
+
'filename': _0x51248b,
|
|
101
|
+
'sizeBytes': _0x3e4e1d[_0x3de585(_0x560aec._0x204b4a)]
|
|
106
102
|
};
|
|
107
103
|
}
|
|
108
|
-
function createAttachmentCache(
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
},
|
|
104
|
+
function createAttachmentCache(_0xc67010 = {}) {
|
|
105
|
+
const _0x5874e4 = {
|
|
106
|
+
_0x12a987: 0x29d,
|
|
107
|
+
_0x203481: 0x26b
|
|
108
|
+
}, _0x49f523 = {
|
|
109
|
+
_0x27aa5c: 0x302,
|
|
110
|
+
_0x332829: 0x268,
|
|
111
|
+
_0x441cc1: 0x245
|
|
112
|
+
}, _0x2c9b12 = {
|
|
113
|
+
_0x1ec386: 0x201,
|
|
114
|
+
_0x5cbd23: 0x274
|
|
115
|
+
}, _0x424ce0 = _0x2d2fb4, _0x55b2dc = _0xc67010[_0x424ce0(_0x5874e4._0x12a987)] ?? _0x76e9e3[_0x424ce0(0x274)](homedir(), _0x424ce0(_0x5874e4._0x203481), _0x424ce0(0x304));
|
|
117
116
|
return {
|
|
118
|
-
'cacheDir':
|
|
119
|
-
async 'findCachedPath'(
|
|
120
|
-
const
|
|
121
|
-
await mkdir(
|
|
122
|
-
const
|
|
123
|
-
return
|
|
117
|
+
'cacheDir': _0x55b2dc,
|
|
118
|
+
async 'findCachedPath'(_0x4bef8b) {
|
|
119
|
+
const _0x2d5b83 = _0x424ce0;
|
|
120
|
+
await mkdir(_0x55b2dc, { 'recursive': !![] });
|
|
121
|
+
const _0x4ccc44 = await readdir(_0x55b2dc), _0x1dccee = _0x4ccc44[_0x2d5b83(_0x2c9b12._0x1ec386)](_0x3a79f2 => _0x3a79f2[_0x2d5b83(0x266)](_0x4bef8b + '-') || _0x3a79f2[_0x2d5b83(0x266)](_0x4bef8b));
|
|
122
|
+
return _0x1dccee ? _0x76e9e3[_0x2d5b83(_0x2c9b12._0x5cbd23)](_0x55b2dc, _0x1dccee) : null;
|
|
124
123
|
},
|
|
125
|
-
async 'save'(
|
|
126
|
-
const
|
|
127
|
-
await mkdir(
|
|
128
|
-
const
|
|
129
|
-
return await writeFile(
|
|
124
|
+
async 'save'(_0x2509a3) {
|
|
125
|
+
const _0x4c3c4e = _0x424ce0;
|
|
126
|
+
await mkdir(_0x55b2dc, { 'recursive': !![] });
|
|
127
|
+
const _0x55b88c = _0x2509a3[_0x4c3c4e(0x268)]?.[_0x4c3c4e(_0x49f523._0x27aa5c)]() ? safeFilename(_0x2509a3[_0x4c3c4e(_0x49f523._0x332829)]) : '' + _0x2509a3[_0x4c3c4e(0x245)] + extensionFor(_0x2509a3['contentType']), _0x974c36 = _0x76e9e3[_0x4c3c4e(0x274)](_0x55b2dc, _0x2509a3[_0x4c3c4e(_0x49f523._0x441cc1)] + '-' + _0x55b88c);
|
|
128
|
+
return await writeFile(_0x974c36, _0x2509a3['data']), _0x974c36;
|
|
130
129
|
}
|
|
131
130
|
};
|
|
132
131
|
}
|
|
@@ -134,2218 +133,2233 @@ import {
|
|
|
134
133
|
createHash,
|
|
135
134
|
randomUUID
|
|
136
135
|
} from 'node:crypto';
|
|
137
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
138
|
-
function ensureSegment(
|
|
139
|
-
const
|
|
140
|
-
if (!
|
|
136
|
+
var UNSUPPORTED_TARGET_MESSAGE = 'Unsupported\x20target\x20format.\x20Supported\x20values\x20are\x20#channel,\x20dm:dm-<name>,\x20and\x20their\x20thread\x20targets.';
|
|
137
|
+
function ensureSegment(_0x11653b) {
|
|
138
|
+
const _0x1b80c7 = { _0x526ec2: 0x302 }, _0x12a2f2 = _0x2d2fb4, _0x1cb02e = _0x11653b[_0x12a2f2(_0x1b80c7._0x526ec2)]();
|
|
139
|
+
if (!_0x1cb02e || _0x1cb02e[_0x12a2f2(0x2ad)](':'))
|
|
141
140
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
142
|
-
return
|
|
141
|
+
return _0x1cb02e;
|
|
143
142
|
}
|
|
144
|
-
function parseThreadParts(
|
|
145
|
-
const
|
|
146
|
-
|
|
147
|
-
_0xbafcac: 0x240
|
|
148
|
-
}, _0x5aaf9e = _0x229703, _0x17acd1 = _0x276fda['split'](':');
|
|
149
|
-
if (_0x17acd1[_0x5aaf9e(_0x596950._0x38f292)] < 0x1 || _0x17acd1[_0x5aaf9e(_0x596950._0xbafcac)] > 0x2)
|
|
143
|
+
function parseThreadParts(_0x38f7b7) {
|
|
144
|
+
const _0x438e2d = _0x2d2fb4, _0x423a26 = _0x38f7b7['split'](':');
|
|
145
|
+
if (_0x423a26[_0x438e2d(0x34b)] < 0x1 || _0x423a26['length'] > 0x2)
|
|
150
146
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
151
147
|
return {
|
|
152
|
-
'channelName': ensureSegment(
|
|
153
|
-
'threadShortId':
|
|
148
|
+
'channelName': ensureSegment(_0x423a26[0x0] ?? ''),
|
|
149
|
+
'threadShortId': _0x423a26[0x1] ? ensureSegment(_0x423a26[0x1]) : null
|
|
154
150
|
};
|
|
155
151
|
}
|
|
156
|
-
function parseTarget(
|
|
157
|
-
const
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
152
|
+
function parseTarget(_0x2bec92) {
|
|
153
|
+
const _0x455f04 = {
|
|
154
|
+
_0x3f7483: 0x302,
|
|
155
|
+
_0x27b7e7: 0x33f,
|
|
156
|
+
_0x3adffd: 0x2b6,
|
|
157
|
+
_0x541650: 0x365,
|
|
158
|
+
_0x2858ca: 0x2b6,
|
|
159
|
+
_0x12f7fd: 0x36f,
|
|
160
|
+
_0x2d8bb7: 0x260,
|
|
161
|
+
_0x3b9d9b: 0x266,
|
|
162
|
+
_0x45e6a5: 0x242,
|
|
163
|
+
_0x53afe5: 0x2b1,
|
|
164
|
+
_0x2090e2: 0x2b6,
|
|
165
|
+
_0x50e69c: 0x260
|
|
166
|
+
}, _0x3f92a3 = _0x2d2fb4, _0x1379a5 = _0x2bec92[_0x3f92a3(_0x455f04._0x3f7483)]();
|
|
167
|
+
if (!_0x1379a5)
|
|
171
168
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
172
|
-
if (
|
|
173
|
-
const
|
|
174
|
-
if (!
|
|
169
|
+
if (_0x1379a5[_0x3f92a3(0x266)]('#')) {
|
|
170
|
+
const _0x2f80c2 = parseThreadParts(_0x1379a5[_0x3f92a3(_0x455f04._0x27b7e7)](0x1)), _0x396006 = '#' + _0x2f80c2[_0x3f92a3(_0x455f04._0x3adffd)];
|
|
171
|
+
if (!_0x2f80c2[_0x3f92a3(0x260)])
|
|
175
172
|
return {
|
|
176
|
-
'channelName':
|
|
177
|
-
'channelTarget':
|
|
178
|
-
'kind':
|
|
179
|
-
'target':
|
|
173
|
+
'channelName': _0x2f80c2[_0x3f92a3(_0x455f04._0x3adffd)],
|
|
174
|
+
'channelTarget': _0x396006,
|
|
175
|
+
'kind': _0x3f92a3(_0x455f04._0x541650),
|
|
176
|
+
'target': _0x396006
|
|
180
177
|
};
|
|
181
178
|
return {
|
|
182
|
-
'channelName':
|
|
183
|
-
'channelTarget':
|
|
184
|
-
'kind':
|
|
185
|
-
'target':
|
|
186
|
-
'threadShortId':
|
|
179
|
+
'channelName': _0x2f80c2[_0x3f92a3(_0x455f04._0x2858ca)],
|
|
180
|
+
'channelTarget': _0x396006,
|
|
181
|
+
'kind': _0x3f92a3(_0x455f04._0x12f7fd),
|
|
182
|
+
'target': _0x396006 + ':' + _0x2f80c2[_0x3f92a3(_0x455f04._0x2d8bb7)],
|
|
183
|
+
'threadShortId': _0x2f80c2[_0x3f92a3(_0x455f04._0x2d8bb7)]
|
|
187
184
|
};
|
|
188
185
|
}
|
|
189
|
-
if (
|
|
190
|
-
const
|
|
191
|
-
if (!
|
|
186
|
+
if (_0x1379a5[_0x3f92a3(_0x455f04._0x3b9d9b)](_0x3f92a3(_0x455f04._0x45e6a5))) {
|
|
187
|
+
const _0x1c2766 = parseThreadParts(_0x1379a5[_0x3f92a3(_0x455f04._0x27b7e7)](0x3));
|
|
188
|
+
if (!_0x1c2766['channelName'][_0x3f92a3(_0x455f04._0x3b9d9b)](_0x3f92a3(_0x455f04._0x53afe5)))
|
|
192
189
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
193
|
-
const
|
|
194
|
-
if (!
|
|
190
|
+
const _0x8faa65 = _0x3f92a3(_0x455f04._0x45e6a5) + _0x1c2766[_0x3f92a3(_0x455f04._0x2858ca)];
|
|
191
|
+
if (!_0x1c2766[_0x3f92a3(0x260)])
|
|
195
192
|
return {
|
|
196
|
-
'channelName':
|
|
197
|
-
'channelTarget':
|
|
198
|
-
'kind':
|
|
199
|
-
'target':
|
|
193
|
+
'channelName': _0x1c2766[_0x3f92a3(_0x455f04._0x2090e2)],
|
|
194
|
+
'channelTarget': _0x8faa65,
|
|
195
|
+
'kind': _0x3f92a3(0x365),
|
|
196
|
+
'target': _0x8faa65
|
|
200
197
|
};
|
|
201
198
|
return {
|
|
202
|
-
'channelName':
|
|
203
|
-
'channelTarget':
|
|
204
|
-
'kind':
|
|
205
|
-
'target':
|
|
206
|
-
'threadShortId':
|
|
199
|
+
'channelName': _0x1c2766[_0x3f92a3(0x2b6)],
|
|
200
|
+
'channelTarget': _0x8faa65,
|
|
201
|
+
'kind': 'thread',
|
|
202
|
+
'target': _0x8faa65 + ':' + _0x1c2766[_0x3f92a3(_0x455f04._0x50e69c)],
|
|
203
|
+
'threadShortId': _0x1c2766[_0x3f92a3(0x260)]
|
|
207
204
|
};
|
|
208
205
|
}
|
|
209
206
|
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
210
207
|
}
|
|
211
|
-
function asErrorMessage(
|
|
212
|
-
const
|
|
213
|
-
if (typeof
|
|
214
|
-
return
|
|
215
|
-
return
|
|
208
|
+
function asErrorMessage(_0x5691f9, _0x214c96) {
|
|
209
|
+
const _0x1403fe = _0x2d2fb4;
|
|
210
|
+
if (typeof _0x5691f9 === 'string' && _0x5691f9[_0x1403fe(0x302)]())
|
|
211
|
+
return _0x5691f9;
|
|
212
|
+
return _0x214c96;
|
|
216
213
|
}
|
|
217
|
-
function asRecord(
|
|
218
|
-
const
|
|
219
|
-
return typeof
|
|
214
|
+
function asRecord(_0x397a20) {
|
|
215
|
+
const _0x5d4e00 = { _0x13922e: 0x35d }, _0x442b7b = _0x2d2fb4;
|
|
216
|
+
return typeof _0x397a20 === _0x442b7b(_0x5d4e00._0x13922e) && _0x397a20 !== null ? _0x397a20 : {};
|
|
220
217
|
}
|
|
221
|
-
function stableStringify(
|
|
222
|
-
const
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
218
|
+
function stableStringify(_0x3d40fc) {
|
|
219
|
+
const _0x3e9b2e = {
|
|
220
|
+
_0x5e2a2d: 0x35d,
|
|
221
|
+
_0x4e8ade: 0x286,
|
|
222
|
+
_0x24f626: 0x274,
|
|
223
|
+
_0x359bc6: 0x274
|
|
224
|
+
}, _0xd777f5 = _0x2d2fb4;
|
|
225
|
+
if (_0x3d40fc === null || typeof _0x3d40fc !== _0xd777f5(_0x3e9b2e._0x5e2a2d))
|
|
226
|
+
return JSON[_0xd777f5(_0x3e9b2e._0x4e8ade)](_0x3d40fc);
|
|
227
|
+
if (Array['isArray'](_0x3d40fc))
|
|
228
|
+
return '[' + _0x3d40fc['map'](_0xb64a7d => stableStringify(_0xb64a7d))[_0xd777f5(_0x3e9b2e._0x24f626)](',') + ']';
|
|
229
|
+
const _0x21e4e9 = Object['entries'](_0x3d40fc)[_0xd777f5(0x1ef)](([, _0x488acb]) => _0x488acb !== void 0x0)['sort'](([_0x7c79ad], [_0x58ddc7]) => _0x7c79ad['localeCompare'](_0x58ddc7))[_0xd777f5(0x27e)](([_0x2f67df, _0x4647d3]) => JSON[_0xd777f5(0x286)](_0x2f67df) + ':' + stableStringify(_0x4647d3));
|
|
230
|
+
return '{' + _0x21e4e9[_0xd777f5(_0x3e9b2e._0x359bc6)](',') + '}';
|
|
233
231
|
}
|
|
234
|
-
function createHeaders(
|
|
232
|
+
function createHeaders(_0x5776f1) {
|
|
233
|
+
const _0x37c344 = _0x2d2fb4;
|
|
235
234
|
return {
|
|
236
|
-
'Content-Type':
|
|
237
|
-
'x-daemon-api-key':
|
|
235
|
+
'Content-Type': _0x37c344(0x2a6),
|
|
236
|
+
'x-daemon-api-key': _0x5776f1
|
|
238
237
|
};
|
|
239
238
|
}
|
|
240
|
-
function toHttpBaseUrl(
|
|
241
|
-
const
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
239
|
+
function toHttpBaseUrl(_0x4fb4ba) {
|
|
240
|
+
const _0x5d87ba = {
|
|
241
|
+
_0xe5e17e: 0x232,
|
|
242
|
+
_0x2219f4: 0x232,
|
|
243
|
+
_0x33f533: 0x2bf,
|
|
244
|
+
_0x1dd154: 0x232,
|
|
245
|
+
_0x187520: 0x258
|
|
246
|
+
}, _0x53d967 = _0x2d2fb4, _0x13bd58 = new URL(_0x4fb4ba);
|
|
247
|
+
if (_0x13bd58[_0x53d967(_0x5d87ba._0xe5e17e)] === 'ws:')
|
|
248
|
+
_0x13bd58[_0x53d967(_0x5d87ba._0x2219f4)] = _0x53d967(_0x5d87ba._0x33f533);
|
|
249
249
|
else
|
|
250
|
-
|
|
251
|
-
return
|
|
250
|
+
_0x13bd58[_0x53d967(0x232)] === _0x53d967(0x289) && (_0x13bd58[_0x53d967(_0x5d87ba._0x1dd154)] = 'https:');
|
|
251
|
+
return _0x13bd58[_0x53d967(0x2a9)]()[_0x53d967(_0x5d87ba._0x187520)](/\/$/, '');
|
|
252
252
|
}
|
|
253
|
-
function isMentionBoundary(
|
|
254
|
-
return !
|
|
253
|
+
function isMentionBoundary(_0x5959c5) {
|
|
254
|
+
return !_0x5959c5 || /\s|[([{'",。!?、:;]/['test'](_0x5959c5);
|
|
255
255
|
}
|
|
256
|
-
function isMentionTerminal(
|
|
257
|
-
const
|
|
258
|
-
return !
|
|
256
|
+
function isMentionTerminal(_0x1171a7) {
|
|
257
|
+
const _0x246fb0 = _0x2d2fb4;
|
|
258
|
+
return !_0x1171a7 || /\s|[)\]}'",。!?、:;,.!?]/[_0x246fb0(0x29a)](_0x1171a7);
|
|
259
259
|
}
|
|
260
|
-
function buildMatchableEntries(
|
|
261
|
-
const
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
260
|
+
function buildMatchableEntries(_0x3e06a5) {
|
|
261
|
+
const _0x4acc56 = {
|
|
262
|
+
_0x228667: 0x1e9,
|
|
263
|
+
_0x4055d4: 0x2df,
|
|
264
|
+
_0x832769: 0x2e7,
|
|
265
|
+
_0x156fe8: 0x2f0
|
|
266
|
+
}, _0x1ca0c2 = _0x2d2fb4, _0x30178b = [];
|
|
267
|
+
for (const _0x4e23ba of [
|
|
268
|
+
..._0x3e06a5[_0x1ca0c2(_0x4acc56._0x228667)],
|
|
269
|
+
..._0x3e06a5['humans']
|
|
265
270
|
]) {
|
|
266
|
-
|
|
267
|
-
'matchName':
|
|
268
|
-
'matchNameLower':
|
|
269
|
-
'participantId':
|
|
270
|
-
}),
|
|
271
|
-
'matchName':
|
|
272
|
-
'matchNameLower':
|
|
273
|
-
'participantId':
|
|
271
|
+
_0x30178b[_0x1ca0c2(_0x4acc56._0x4055d4)]({
|
|
272
|
+
'matchName': _0x4e23ba[_0x1ca0c2(_0x4acc56._0x832769)],
|
|
273
|
+
'matchNameLower': _0x4e23ba[_0x1ca0c2(0x2e7)][_0x1ca0c2(0x2f0)](),
|
|
274
|
+
'participantId': _0x4e23ba['id']
|
|
275
|
+
}), _0x4e23ba['id'] !== _0x4e23ba['name'] && _0x30178b['push']({
|
|
276
|
+
'matchName': _0x4e23ba['id'],
|
|
277
|
+
'matchNameLower': _0x4e23ba['id'][_0x1ca0c2(_0x4acc56._0x156fe8)](),
|
|
278
|
+
'participantId': _0x4e23ba['id']
|
|
274
279
|
});
|
|
275
280
|
}
|
|
276
|
-
return
|
|
281
|
+
return _0x30178b;
|
|
277
282
|
}
|
|
278
|
-
function extractMentionedParticipantIds(
|
|
279
|
-
const
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
},
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}, _0x21aaa8 = _0x229703, _0x2109ae = buildMatchableEntries(_0xba5a43)[_0x21aaa8(_0x5ae3a5._0x45f0f1)]((_0x1086f8, _0x1f9882) => _0x1f9882[_0x21aaa8(0x142)][_0x21aaa8(0x240)] - _0x1086f8[_0x21aaa8(0x142)]['length']), _0x2c41f8 = [], _0x2da6ff = new Set();
|
|
292
|
-
for (let _0x3ddc54 = 0x0; _0x3ddc54 < _0x452d8d[_0x21aaa8(_0x5ae3a5._0x58b411)]; _0x3ddc54 += 0x1) {
|
|
293
|
-
if (_0x452d8d[_0x3ddc54] !== '@' || !isMentionBoundary(_0x452d8d[_0x3ddc54 - 0x1]))
|
|
283
|
+
function extractMentionedParticipantIds(_0x2613f3, _0x248c51) {
|
|
284
|
+
const _0x10a8e2 = {
|
|
285
|
+
_0x156294: 0x25e,
|
|
286
|
+
_0x3fda93: 0x33f,
|
|
287
|
+
_0x56a6e3: 0x2ea,
|
|
288
|
+
_0x42f994: 0x2a1,
|
|
289
|
+
_0x579c4d: 0x27b
|
|
290
|
+
}, _0x2d76cc = {
|
|
291
|
+
_0x34b555: 0x266,
|
|
292
|
+
_0x32a469: 0x219
|
|
293
|
+
}, _0x8be4f2 = _0x2d2fb4, _0x474973 = buildMatchableEntries(_0x248c51)[_0x8be4f2(_0x10a8e2._0x156294)]((_0x48998d, _0x10ec6b) => _0x10ec6b[_0x8be4f2(0x211)][_0x8be4f2(0x34b)] - _0x48998d[_0x8be4f2(0x211)][_0x8be4f2(0x34b)]), _0x560650 = [], _0x4692e4 = new Set();
|
|
294
|
+
for (let _0x297f86 = 0x0; _0x297f86 < _0x2613f3['length']; _0x297f86 += 0x1) {
|
|
295
|
+
if (_0x2613f3[_0x297f86] !== '@' || !isMentionBoundary(_0x2613f3[_0x297f86 - 0x1]))
|
|
294
296
|
continue;
|
|
295
|
-
const
|
|
296
|
-
const
|
|
297
|
-
if (!
|
|
297
|
+
const _0x310b85 = _0x2613f3[_0x8be4f2(_0x10a8e2._0x3fda93)](_0x297f86 + 0x1), _0x35de8a = _0x310b85[_0x8be4f2(0x2f0)](), _0x2264c2 = _0x474973['find'](_0x3fa82d => {
|
|
298
|
+
const _0xf9bbbc = _0x8be4f2;
|
|
299
|
+
if (!_0x35de8a[_0xf9bbbc(_0x2d76cc._0x34b555)](_0x3fa82d[_0xf9bbbc(_0x2d76cc._0x32a469)]))
|
|
298
300
|
return ![];
|
|
299
|
-
return isMentionTerminal(
|
|
301
|
+
return isMentionTerminal(_0x310b85[_0x3fa82d[_0xf9bbbc(0x211)]['length']]);
|
|
300
302
|
});
|
|
301
|
-
if (!
|
|
303
|
+
if (!_0x2264c2 || _0x4692e4[_0x8be4f2(_0x10a8e2._0x56a6e3)](_0x2264c2['participantId']))
|
|
302
304
|
continue;
|
|
303
|
-
|
|
305
|
+
_0x4692e4[_0x8be4f2(_0x10a8e2._0x42f994)](_0x2264c2[_0x8be4f2(_0x10a8e2._0x579c4d)]), _0x560650['push'](_0x2264c2[_0x8be4f2(_0x10a8e2._0x579c4d)]), _0x297f86 += _0x2264c2[_0x8be4f2(0x211)]['length'];
|
|
304
306
|
}
|
|
305
|
-
return
|
|
307
|
+
return _0x560650;
|
|
306
308
|
}
|
|
307
309
|
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
308
|
-
function anySignal(...
|
|
309
|
-
const
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
_0x475c54[_0x1c9de5(0x282)](_0x1c9de5(_0x5506d8._0x1345e3), () => _0x808e9e[_0x1c9de5(0x1c7)](_0x475c54[_0x1c9de5(0x247)]), {
|
|
310
|
+
function anySignal(..._0x5e6196) {
|
|
311
|
+
const _0xc610b3 = {
|
|
312
|
+
_0x543372: 0x291,
|
|
313
|
+
_0x12a439: 0x33a
|
|
314
|
+
}, _0x465623 = _0x2d2fb4, _0x5a5ba9 = new AbortController();
|
|
315
|
+
for (const _0xfeea10 of _0x5e6196) {
|
|
316
|
+
if (_0xfeea10['aborted'])
|
|
317
|
+
return _0x5a5ba9[_0x465623(_0xc610b3._0x543372)](_0xfeea10[_0x465623(0x2cf)]), _0x5a5ba9[_0x465623(_0xc610b3._0x12a439)];
|
|
318
|
+
_0xfeea10['addEventListener'](_0x465623(0x291), () => _0x5a5ba9[_0x465623(0x291)](_0xfeea10[_0x465623(0x2cf)]), {
|
|
318
319
|
'once': !![],
|
|
319
|
-
'signal':
|
|
320
|
+
'signal': _0x5a5ba9[_0x465623(_0xc610b3._0x12a439)]
|
|
320
321
|
});
|
|
321
322
|
}
|
|
322
|
-
return
|
|
323
|
+
return _0x5a5ba9[_0x465623(0x33a)];
|
|
323
324
|
}
|
|
324
|
-
function createInternalAgentClient(
|
|
325
|
-
const
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
},
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
},
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
},
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
},
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
325
|
+
function createInternalAgentClient(_0x2805d5) {
|
|
326
|
+
const _0x2b39be = {
|
|
327
|
+
_0x3e6ac4: 0x340,
|
|
328
|
+
_0xb3b98: 0x222,
|
|
329
|
+
_0x43fab6: 0x2fa
|
|
330
|
+
}, _0x4a34c6 = {
|
|
331
|
+
_0x2afd91: 0x249,
|
|
332
|
+
_0x9fa3c: 0x2a9,
|
|
333
|
+
_0x382185: 0x1fc,
|
|
334
|
+
_0x517cdc: 0x250,
|
|
335
|
+
_0xf5ba45: 0x277,
|
|
336
|
+
_0x583ed6: 0x369,
|
|
337
|
+
_0x1a47cf: 0x265,
|
|
338
|
+
_0x4cc23e: 0x224,
|
|
339
|
+
_0x2cc2d2: 0x34b,
|
|
340
|
+
_0x4b36a8: 0x214,
|
|
341
|
+
_0x5d76f9: 0x1ef,
|
|
342
|
+
_0x1899cf: 0x2c6,
|
|
343
|
+
_0x141de3: 0x30b,
|
|
344
|
+
_0x54d603: 0x293,
|
|
345
|
+
_0x36f940: 0x2a5,
|
|
346
|
+
_0x47728e: 0x28e,
|
|
347
|
+
_0x53ef4f: 0x2a5,
|
|
348
|
+
_0x1de2e1: 0x28e,
|
|
349
|
+
_0x5869e9: 0x26d,
|
|
350
|
+
_0x15f8fc: 0x28b,
|
|
351
|
+
_0x572fab: 0x248,
|
|
352
|
+
_0x31e2e9: 0x28e,
|
|
353
|
+
_0x3afce4: 0x248,
|
|
354
|
+
_0x43f076: 0x34a,
|
|
355
|
+
_0x45bfb1: 0x214,
|
|
356
|
+
_0x5956e4: 0x249,
|
|
357
|
+
_0x500d29: 0x2b7,
|
|
358
|
+
_0x3f1048: 0x295,
|
|
359
|
+
_0x175605: 0x224,
|
|
360
|
+
_0x7aba5b: 0x27e,
|
|
361
|
+
_0x2cf8f6: 0x26f,
|
|
362
|
+
_0x3bfb4b: 0x295,
|
|
363
|
+
_0x267c0d: 0x29c,
|
|
364
|
+
_0x5cc2ce: 0x2c0,
|
|
365
|
+
_0xddbe66: 0x2e2,
|
|
366
|
+
_0x3efa26: 0x25c
|
|
367
|
+
}, _0x17d241 = {
|
|
368
|
+
_0x37c35a: 0x365,
|
|
369
|
+
_0x487301: 0x341,
|
|
370
|
+
_0x50cea9: 0x293
|
|
371
|
+
}, _0x332201 = {
|
|
372
|
+
_0x298fcb: 0x277,
|
|
373
|
+
_0x4ce009: 0x1fe,
|
|
374
|
+
_0x2bac49: 0x339,
|
|
375
|
+
_0x5d0a21: 0x295,
|
|
376
|
+
_0x5c7330: 0x326,
|
|
377
|
+
_0x2ac55d: 0x268
|
|
378
|
+
}, _0x1dbdd3 = {
|
|
379
|
+
_0x5216bb: 0x365,
|
|
380
|
+
_0x241345: 0x1fc,
|
|
381
|
+
_0x9499c3: 0x286,
|
|
382
|
+
_0x181de7: 0x1fd,
|
|
383
|
+
_0xc30bde: 0x2f3,
|
|
384
|
+
_0x4378bd: 0x328,
|
|
385
|
+
_0x23c4ac: 0x369,
|
|
386
|
+
_0x48f350: 0x369,
|
|
387
|
+
_0x168fd9: 0x2c1
|
|
388
|
+
}, _0x5018c5 = { _0x2798ad: 0x250 }, _0x5391cd = {
|
|
389
|
+
_0x436d7f: 0x1fc,
|
|
390
|
+
_0x4a150d: 0x250
|
|
391
|
+
}, _0x4ac3f2 = {
|
|
392
|
+
_0x573fda: 0x229,
|
|
393
|
+
_0x16415f: 0x1ed
|
|
394
|
+
}, _0x4a9a9e = {
|
|
395
|
+
_0x17112e: 0x1fc,
|
|
396
|
+
_0x1e202e: 0x250,
|
|
397
|
+
_0x52cc81: 0x308
|
|
398
|
+
}, _0x292e33 = {
|
|
399
|
+
_0x1a570c: 0x365,
|
|
400
|
+
_0x2a24c3: 0x1fc,
|
|
401
|
+
_0x220c58: 0x259,
|
|
402
|
+
_0x4d5d17: 0x277
|
|
403
|
+
}, _0x8601f5 = {
|
|
404
|
+
_0x4b3e1f: 0x253,
|
|
405
|
+
_0x399197: 0x2b4,
|
|
406
|
+
_0x5d428c: 0x32c
|
|
407
|
+
}, _0x558ce1 = {
|
|
408
|
+
_0x3783f2: 0x253,
|
|
409
|
+
_0x261ecd: 0x2a2,
|
|
410
|
+
_0x265338: 0x286,
|
|
411
|
+
_0x4793f9: 0x369,
|
|
412
|
+
_0x51d372: 0x253
|
|
413
|
+
}, _0x538e0d = { _0x5e13a6: 0x2cb }, _0x51511d = { _0x32e89b: 0x28a }, _0x480263 = {
|
|
414
|
+
_0x855ff0: 0x1fd,
|
|
415
|
+
_0x351d98: 0x239,
|
|
416
|
+
_0x577a02: 0x1fc,
|
|
417
|
+
_0x183feb: 0x250,
|
|
418
|
+
_0x59bd41: 0x2e5,
|
|
419
|
+
_0xb4a82b: 0x361,
|
|
420
|
+
_0x1a1044: 0x30b,
|
|
421
|
+
_0x418ae7: 0x34b
|
|
422
|
+
}, _0x416b8d = {
|
|
423
|
+
_0x55fd97: 0x26e,
|
|
424
|
+
_0x591b4e: 0x249,
|
|
425
|
+
_0x117c11: 0x293,
|
|
426
|
+
_0x1a9cb4: 0x293,
|
|
427
|
+
_0x54c902: 0x30b,
|
|
428
|
+
_0x492f8f: 0x249,
|
|
429
|
+
_0x2ddf4d: 0x315,
|
|
430
|
+
_0x5e388a: 0x315,
|
|
431
|
+
_0x31ff99: 0x1fc,
|
|
432
|
+
_0x34ff04: 0x1ec,
|
|
433
|
+
_0x568daa: 0x369,
|
|
434
|
+
_0x387d8f: 0x281,
|
|
435
|
+
_0x2c91e5: 0x332
|
|
436
|
+
}, _0x558bce = { _0xf13cc3: 0x27b }, _0x4cd787 = {
|
|
437
|
+
_0x384100: 0x281,
|
|
438
|
+
_0x28ded2: 0x28e,
|
|
439
|
+
_0x3efcdc: 0x260,
|
|
440
|
+
_0x595acb: 0x293,
|
|
441
|
+
_0x4064e2: 0x260
|
|
442
|
+
}, _0x2f78fe = {
|
|
443
|
+
_0x1e2e8e: 0x26d,
|
|
444
|
+
_0x594d07: 0x281,
|
|
445
|
+
_0x29fc93: 0x28e,
|
|
446
|
+
_0x4574c7: 0x293,
|
|
447
|
+
_0x3d1563: 0x281,
|
|
448
|
+
_0x365cd2: 0x33f,
|
|
449
|
+
_0x3a3184: 0x281
|
|
450
|
+
}, _0x186488 = {
|
|
451
|
+
_0x29e830: 0x23e,
|
|
452
|
+
_0x5816a0: 0x352
|
|
453
|
+
}, _0xb6ae38 = {
|
|
454
|
+
_0x38b2ce: 0x369,
|
|
455
|
+
_0x10b15a: 0x21f,
|
|
456
|
+
_0x2c720b: 0x27e,
|
|
457
|
+
_0x47d38f: 0x1ef,
|
|
458
|
+
_0x5e1c77: 0x369,
|
|
459
|
+
_0xb73ad6: 0x34d,
|
|
460
|
+
_0x27bb4c: 0x2f4
|
|
461
|
+
}, _0x4174cd = {
|
|
462
|
+
_0x543fb3: 0x2d6,
|
|
463
|
+
_0x3595a8: 0x363,
|
|
464
|
+
_0x5e5117: 0x369,
|
|
465
|
+
_0x50c9a8: 0x369,
|
|
466
|
+
_0x364e76: 0x26d
|
|
467
|
+
}, _0xcaf13f = {
|
|
468
|
+
_0x498d86: 0x286,
|
|
469
|
+
_0x871932: 0x208,
|
|
470
|
+
_0x48153a: 0x1fe
|
|
471
|
+
}, _0x58844e = {
|
|
472
|
+
_0x44dd62: 0x26a,
|
|
473
|
+
_0xaafffb: 0x20a
|
|
474
|
+
}, _0x5f2073 = {
|
|
475
|
+
_0x2b3b31: 0x2d5,
|
|
476
|
+
_0x54f817: 0x208,
|
|
477
|
+
_0x2d7cbb: 0x1fe
|
|
478
|
+
}, _0x21f38d = {
|
|
479
|
+
_0x1c5e52: 0x33a,
|
|
480
|
+
_0x19bedc: 0x33a,
|
|
481
|
+
_0x495bb7: 0x33a,
|
|
482
|
+
_0x356df6: 0x21b,
|
|
483
|
+
_0x3ccb8c: 0x2d5,
|
|
484
|
+
_0x3c2b9b: 0x208
|
|
485
|
+
}, _0x30b41e = {
|
|
486
|
+
_0x4c3077: 0x2e1,
|
|
487
|
+
_0x4d8d17: 0x280,
|
|
488
|
+
_0x47dbf1: 0x2b9,
|
|
489
|
+
_0x37772d: 0x278,
|
|
490
|
+
_0x5e1127: 0x249
|
|
491
|
+
}, _0x214928 = {
|
|
492
|
+
_0xda973d: 0x2ab,
|
|
493
|
+
_0x2ea7c0: 0x349
|
|
494
|
+
}, _0x10451a = {
|
|
495
|
+
_0x51e9fd: 0x339,
|
|
496
|
+
_0x3dc59a: 0x25d,
|
|
497
|
+
_0x227dfc: 0x322,
|
|
498
|
+
_0x2b8ece: 0x362,
|
|
499
|
+
_0x234777: 0x302,
|
|
500
|
+
_0xc09020: 0x33f,
|
|
501
|
+
_0x3fdb3e: 0x1eb,
|
|
502
|
+
_0x25ebd1: 0x2e0
|
|
503
|
+
}, _0x521ea7 = _0x2d2fb4, _0x30d87c = _0x2805d5[_0x521ea7(0x23d)] ?? fetch, _0x50df63 = _0x2805d5[_0x521ea7(0x228)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x579b40 = typeof _0x2805d5[_0x521ea7(_0x2b39be._0x3e6ac4)] === _0x521ea7(0x28b) && _0x2805d5[_0x521ea7(0x340)] > 0x0 ? _0x2805d5[_0x521ea7(0x340)] : 0x0, _0x4ce33a = _0x2805d5[_0x521ea7(0x231)]?.[_0x521ea7(0x302)]() || void 0x0, _0x343f7c = _0x2805d5[_0x521ea7(_0x2b39be._0xb3b98)]?.[_0x521ea7(0x302)]() || void 0x0, _0x3211ee = _0x2805d5[_0x521ea7(0x267)] === !![], _0x3b4ad0 = _0x2805d5[_0x521ea7(0x2f8)]?.['trim']() || void 0x0, _0x56a32d = _0x2805d5['workerThreadTarget']?.[_0x521ea7(0x302)]() || void 0x0, _0x1c43d2 = createHeaders(_0x2805d5['daemonApiKey']), _0x425b5f = toHttpBaseUrl(_0x2805d5[_0x521ea7(_0x2b39be._0x43fab6)]);
|
|
504
|
+
let _0x48840d = null;
|
|
505
|
+
const _0x471597 = new Map();
|
|
506
|
+
let _0x1ddb77 = _0x579b40, _0x533bdb = _0x579b40;
|
|
507
|
+
function _0x4d1901(_0x4777fe) {
|
|
508
|
+
const _0x2bd0fa = _0x521ea7, _0x59b025 = _0x4777fe['response'][_0x2bd0fa(_0x10451a._0x51e9fd)][_0x2bd0fa(0x295)](_0x2bd0fa(_0x10451a._0x3dc59a)) ?? _0x2bd0fa(_0x10451a._0x227dfc), _0x49c52b = _0x4777fe[_0x2bd0fa(_0x10451a._0x2b8ece)][_0x2bd0fa(_0x10451a._0x234777)]()['replace'](/\s+/g, '\x20')[_0x2bd0fa(_0x10451a._0xc09020)](0x0, 0x78) || '<empty>';
|
|
509
|
+
return _0x2bd0fa(0x23c) + _0x4777fe[_0x2bd0fa(_0x10451a._0x3fdb3e)] + _0x2bd0fa(0x1f7) + _0x4777fe[_0x2bd0fa(_0x10451a._0x25ebd1)]['status'] + ',\x20content-type=' + _0x59b025 + _0x2bd0fa(0x212) + _0x49c52b + _0x2bd0fa(0x2a7);
|
|
490
510
|
}
|
|
491
|
-
async function
|
|
492
|
-
const
|
|
493
|
-
if (!
|
|
511
|
+
async function _0x454aa0(_0xae3183, _0x98866b) {
|
|
512
|
+
const _0x476380 = _0x521ea7, _0x50b63d = Buffer[_0x476380(0x326)](await _0x98866b[_0x476380(0x347)]())['toString'](_0x476380(_0x214928._0xda973d));
|
|
513
|
+
if (!_0x50b63d['trim']())
|
|
494
514
|
return {};
|
|
495
515
|
try {
|
|
496
|
-
return JSON[
|
|
516
|
+
return JSON[_0x476380(_0x214928._0x2ea7c0)](_0x50b63d);
|
|
497
517
|
} catch {
|
|
498
|
-
throw new Error(
|
|
499
|
-
'bodyText':
|
|
500
|
-
'requestUrl':
|
|
501
|
-
'response':
|
|
518
|
+
throw new Error(_0x4d1901({
|
|
519
|
+
'bodyText': _0x50b63d,
|
|
520
|
+
'requestUrl': _0xae3183,
|
|
521
|
+
'response': _0x98866b
|
|
502
522
|
}));
|
|
503
523
|
}
|
|
504
524
|
}
|
|
505
|
-
function
|
|
506
|
-
const
|
|
507
|
-
if (
|
|
508
|
-
return
|
|
509
|
-
const
|
|
510
|
-
for (const [
|
|
511
|
-
|
|
525
|
+
function _0x4fb46f(_0x4996cc, _0xd619c2) {
|
|
526
|
+
const _0x2eaafd = _0x521ea7, _0x293bf9 = typeof _0xd619c2['idempotency_key'] === _0x2eaafd(0x2a5) ? _0xd619c2['idempotency_key'][_0x2eaafd(0x302)]() : '';
|
|
527
|
+
if (_0x293bf9)
|
|
528
|
+
return _0x293bf9;
|
|
529
|
+
const _0x5cca09 = Date['now']();
|
|
530
|
+
for (const [_0x520428, _0x559e17] of _0x471597) {
|
|
531
|
+
_0x559e17[_0x2eaafd(0x1ea)] <= _0x5cca09 && _0x471597['delete'](_0x520428);
|
|
512
532
|
}
|
|
513
|
-
const
|
|
514
|
-
...
|
|
533
|
+
const _0x389eb6 = {
|
|
534
|
+
..._0xd619c2,
|
|
515
535
|
'idempotency_key': void 0x0
|
|
516
|
-
},
|
|
517
|
-
if (
|
|
518
|
-
return
|
|
519
|
-
const
|
|
520
|
-
return
|
|
521
|
-
'expiresAt':
|
|
522
|
-
'value':
|
|
523
|
-
}),
|
|
536
|
+
}, _0x5c7298 = createHash(_0x2eaafd(_0x30b41e._0x4c3077))[_0x2eaafd(_0x30b41e._0x4d8d17)](_0x4996cc + ':' + stableStringify(_0x389eb6))['digest'](_0x2eaafd(0x300)), _0x32a56e = _0x4996cc + ':' + _0x5c7298, _0xc31772 = _0x471597['get'](_0x32a56e);
|
|
537
|
+
if (_0xc31772)
|
|
538
|
+
return _0xc31772[_0x2eaafd(_0x30b41e._0x47dbf1)];
|
|
539
|
+
const _0x4b4c34 = _0x2eaafd(_0x30b41e._0x37772d) + _0x4996cc + ':' + randomUUID();
|
|
540
|
+
return _0x471597[_0x2eaafd(_0x30b41e._0x5e1127)](_0x32a56e, {
|
|
541
|
+
'expiresAt': _0x5cca09 + 0x5 * 0x3c * 0x3e8,
|
|
542
|
+
'value': _0x4b4c34
|
|
543
|
+
}), _0x4b4c34;
|
|
524
544
|
}
|
|
525
|
-
async function
|
|
526
|
-
const
|
|
545
|
+
async function _0x401cce(_0x571743, _0x30adf7) {
|
|
546
|
+
const _0x338d7c = _0x521ea7, _0x9c065b = new AbortController(), _0x2ffbc3 = setTimeout(() => _0x9c065b[_0x338d7c(0x291)](), _0x50df63), _0x1630ce = _0x30adf7?.[_0x338d7c(_0x21f38d._0x1c5e52)] ? anySignal(_0x30adf7[_0x338d7c(0x33a)], _0x9c065b[_0x338d7c(_0x21f38d._0x19bedc)]) : _0x9c065b[_0x338d7c(_0x21f38d._0x495bb7)], _0xc85d0d = '' + _0x425b5f + _0x571743;
|
|
527
547
|
try {
|
|
528
|
-
const
|
|
529
|
-
...
|
|
530
|
-
'signal':
|
|
531
|
-
}),
|
|
532
|
-
if (!
|
|
533
|
-
throw new Error(asErrorMessage(
|
|
534
|
-
return
|
|
548
|
+
const _0x40c4ea = await _0x30d87c(_0xc85d0d, {
|
|
549
|
+
..._0x30adf7,
|
|
550
|
+
'signal': _0x1630ce
|
|
551
|
+
}), _0xdcf03a = await _0x454aa0(_0xc85d0d, _0x40c4ea);
|
|
552
|
+
if (!_0x40c4ea['ok'] || _0xdcf03a[_0x338d7c(_0x21f38d._0x356df6)] === ![])
|
|
553
|
+
throw new Error(asErrorMessage(_0xdcf03a[_0x338d7c(_0x21f38d._0x3ccb8c)], _0x338d7c(_0x21f38d._0x3c2b9b) + _0x40c4ea[_0x338d7c(0x1fe)]));
|
|
554
|
+
return _0xdcf03a;
|
|
535
555
|
} finally {
|
|
536
|
-
clearTimeout(
|
|
556
|
+
clearTimeout(_0x2ffbc3);
|
|
537
557
|
}
|
|
538
558
|
}
|
|
539
|
-
async function
|
|
540
|
-
const
|
|
559
|
+
async function _0x166648(_0x1b1fdc, _0x1cbcb5) {
|
|
560
|
+
const _0x53bd0e = _0x521ea7, _0x15d522 = new AbortController(), _0x20a9c8 = setTimeout(() => _0x15d522['abort'](), _0x50df63), _0x2f07c1 = _0x1cbcb5?.['signal'] ? anySignal(_0x1cbcb5[_0x53bd0e(0x33a)], _0x15d522['signal']) : _0x15d522['signal'], _0x31e5fb = '' + _0x425b5f + _0x1b1fdc;
|
|
541
561
|
try {
|
|
542
|
-
const
|
|
543
|
-
...
|
|
544
|
-
'signal':
|
|
545
|
-
}),
|
|
546
|
-
if (!
|
|
547
|
-
throw new Error(asErrorMessage(
|
|
548
|
-
return
|
|
562
|
+
const _0x56d002 = await _0x30d87c(_0x31e5fb, {
|
|
563
|
+
..._0x1cbcb5,
|
|
564
|
+
'signal': _0x2f07c1
|
|
565
|
+
}), _0x48ee6e = await _0x454aa0(_0x31e5fb, _0x56d002);
|
|
566
|
+
if (!_0x56d002['ok'])
|
|
567
|
+
throw new Error(asErrorMessage(_0x48ee6e[_0x53bd0e(_0x5f2073._0x2b3b31)], _0x53bd0e(_0x5f2073._0x54f817) + _0x56d002[_0x53bd0e(_0x5f2073._0x2d7cbb)]));
|
|
568
|
+
return _0x48ee6e;
|
|
549
569
|
} finally {
|
|
550
|
-
clearTimeout(
|
|
570
|
+
clearTimeout(_0x20a9c8);
|
|
551
571
|
}
|
|
552
572
|
}
|
|
553
|
-
async function
|
|
554
|
-
const
|
|
555
|
-
if (!
|
|
573
|
+
async function _0x26688c(_0x1d112f) {
|
|
574
|
+
const _0x453d17 = _0x521ea7;
|
|
575
|
+
if (!_0x343f7c || _0x1d112f <= _0x533bdb)
|
|
556
576
|
return;
|
|
557
|
-
await
|
|
558
|
-
'body': JSON[
|
|
559
|
-
'headers':
|
|
560
|
-
'method':
|
|
561
|
-
}),
|
|
577
|
+
await _0x401cce(_0x453d17(_0x58844e._0x44dd62) + encodeURIComponent(_0x343f7c) + _0x453d17(_0x58844e._0xaafffb), {
|
|
578
|
+
'body': JSON['stringify']({ 'lastSeenSeq': _0x1d112f }),
|
|
579
|
+
'headers': _0x1c43d2,
|
|
580
|
+
'method': _0x453d17(0x2ce)
|
|
581
|
+
}), _0x533bdb = _0x1d112f;
|
|
562
582
|
}
|
|
563
|
-
async function
|
|
564
|
-
const
|
|
565
|
-
if (!
|
|
583
|
+
async function _0x563125(_0x3cd930) {
|
|
584
|
+
const _0x16cb24 = _0x521ea7;
|
|
585
|
+
if (!_0x4ce33a || !_0x3b4ad0 || _0x3cd930 <= _0x533bdb)
|
|
566
586
|
return;
|
|
567
|
-
const
|
|
568
|
-
'body': JSON[
|
|
569
|
-
'last_seen_seq':
|
|
570
|
-
'worker_session_id':
|
|
587
|
+
const _0x4032f3 = await _0x30d87c(_0x4ce33a + _0x16cb24(0x28f), {
|
|
588
|
+
'body': JSON[_0x16cb24(_0xcaf13f._0x498d86)]({
|
|
589
|
+
'last_seen_seq': _0x3cd930,
|
|
590
|
+
'worker_session_id': _0x3b4ad0
|
|
571
591
|
}),
|
|
572
|
-
'headers': { 'Content-Type':
|
|
573
|
-
'method':
|
|
592
|
+
'headers': { 'Content-Type': _0x16cb24(0x2a6) },
|
|
593
|
+
'method': _0x16cb24(0x1ed)
|
|
574
594
|
});
|
|
575
|
-
if (!
|
|
576
|
-
throw new Error(
|
|
577
|
-
|
|
595
|
+
if (!_0x4032f3['ok'])
|
|
596
|
+
throw new Error(_0x16cb24(_0xcaf13f._0x871932) + _0x4032f3[_0x16cb24(_0xcaf13f._0x48153a)]);
|
|
597
|
+
_0x533bdb = _0x3cd930;
|
|
578
598
|
}
|
|
579
|
-
async function
|
|
580
|
-
const
|
|
581
|
-
'body': JSON[
|
|
582
|
-
'headers':
|
|
583
|
-
'method':
|
|
599
|
+
async function _0x4fee2c(_0x4399af) {
|
|
600
|
+
const _0x56feee = _0x521ea7, _0x20e2cd = parseTarget(_0x4399af), _0x4d4090 = await _0x401cce(_0x56feee(0x1fc) + _0x2805d5[_0x56feee(0x250)] + _0x56feee(_0x4174cd._0x543fb3), {
|
|
601
|
+
'body': JSON[_0x56feee(0x286)]({ 'target': _0x20e2cd['target'] }),
|
|
602
|
+
'headers': _0x1c43d2,
|
|
603
|
+
'method': _0x56feee(0x1ed)
|
|
584
604
|
});
|
|
585
605
|
return {
|
|
586
|
-
'channelId':
|
|
587
|
-
'target':
|
|
588
|
-
'task':
|
|
589
|
-
'threadId':
|
|
590
|
-
'threadNumber':
|
|
606
|
+
'channelId': _0x4d4090[_0x56feee(0x369)]?.[_0x56feee(0x30b)] ?? '',
|
|
607
|
+
'target': _0x20e2cd[_0x56feee(0x281)],
|
|
608
|
+
'task': _0x4d4090[_0x56feee(0x369)]?.[_0x56feee(_0x4174cd._0x3595a8)],
|
|
609
|
+
'threadId': _0x4d4090[_0x56feee(_0x4174cd._0x5e5117)]?.[_0x56feee(0x293)],
|
|
610
|
+
'threadNumber': _0x4d4090[_0x56feee(_0x4174cd._0x50c9a8)]?.[_0x56feee(_0x4174cd._0x364e76)]
|
|
591
611
|
};
|
|
592
612
|
}
|
|
593
|
-
async function
|
|
594
|
-
const
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
const _0xdb9ea8 = _0x3b5f01, _0x15b54a = await _0x4c9943(_0xdb9ea8(0x1d8) + _0x1a18d1[_0xdb9ea8(_0x297ed4._0x1681ad)] + _0xdb9ea8(0x188), {
|
|
609
|
-
'headers': _0x44d056,
|
|
610
|
-
'method': _0xdb9ea8(0x174)
|
|
611
|
-
}), _0x301d2c = _0x15b54a[_0xdb9ea8(_0x297ed4._0xd9ca0b)]?.[_0xdb9ea8(_0x297ed4._0x3e67b9)] ?? [], _0x3aeff3 = _0x301d2c['filter'](_0x340272 => _0x340272[_0xdb9ea8(0x2ac)]?.[_0xdb9ea8(0x1a9)] === _0xdb9ea8(0x28c))[_0xdb9ea8(_0x297ed4._0x58344d)](_0x52e4e9 => ({
|
|
612
|
-
'id': _0x39332e(_0x52e4e9),
|
|
613
|
-
'name': _0x255905(_0x52e4e9)
|
|
614
|
-
}))[_0xdb9ea8(_0x297ed4._0x1a76b5)](_0x2fe48c => _0x2fe48c['id']), _0x5c9471 = _0x301d2c[_0xdb9ea8(_0x297ed4._0x52c09c)](_0x2abef9 => _0x2abef9[_0xdb9ea8(0x2ac)]?.[_0xdb9ea8(0x1a9)] !== 'agent')[_0xdb9ea8(_0x297ed4._0xf1780e)](_0x31b0af => ({
|
|
615
|
-
'id': _0x39332e(_0x31b0af),
|
|
616
|
-
'name': _0x255905(_0x31b0af)
|
|
617
|
-
}))['filter'](_0x4baf07 => _0x4baf07['id']), _0x323709 = _0x15b54a[_0xdb9ea8(_0x297ed4._0xd9ca0b)]?.[_0xdb9ea8(_0x297ed4._0x2e7bd7)]['id'] ?? '';
|
|
613
|
+
async function _0x552e56(_0x49445b = {}) {
|
|
614
|
+
const _0x28604e = _0x521ea7;
|
|
615
|
+
if (!_0x49445b[_0x28604e(_0x186488._0x29e830)] && _0x48840d)
|
|
616
|
+
return _0x48840d;
|
|
617
|
+
return _0x48840d = (async () => {
|
|
618
|
+
const _0x23ff44 = _0x28604e, _0x5c303c = await _0x401cce('/internal/agent/' + _0x2805d5[_0x23ff44(0x250)] + _0x23ff44(0x1f5), {
|
|
619
|
+
'headers': _0x1c43d2,
|
|
620
|
+
'method': _0x23ff44(0x277)
|
|
621
|
+
}), _0x226d16 = _0x5c303c[_0x23ff44(_0xb6ae38._0x38b2ce)]?.[_0x23ff44(_0xb6ae38._0x10b15a)] ?? [], _0x507b19 = _0x226d16['filter'](_0x4568bb => _0x4568bb['participant']?.[_0x23ff44(0x1fa)] === _0x23ff44(0x207))[_0x23ff44(_0xb6ae38._0x2c720b)](_0x5ef60f => ({
|
|
622
|
+
'id': _0x52dc7b(_0x5ef60f),
|
|
623
|
+
'name': _0x9dfb00(_0x5ef60f)
|
|
624
|
+
}))[_0x23ff44(0x1ef)](_0x48b4a8 => _0x48b4a8['id']), _0x20ca8e = _0x226d16[_0x23ff44(_0xb6ae38._0x47d38f)](_0x4e507 => _0x4e507[_0x23ff44(0x26c)]?.[_0x23ff44(0x1fa)] !== _0x23ff44(0x207))[_0x23ff44(0x27e)](_0x68aec9 => ({
|
|
625
|
+
'id': _0x52dc7b(_0x68aec9),
|
|
626
|
+
'name': _0x9dfb00(_0x68aec9)
|
|
627
|
+
}))['filter'](_0x56e663 => _0x56e663['id']), _0x5437fe = _0x5c303c[_0x23ff44(0x369)]?.[_0x23ff44(0x2f4)]['id'] ?? '';
|
|
618
628
|
return {
|
|
619
|
-
'agents':
|
|
620
|
-
'channels':
|
|
621
|
-
'humans':
|
|
622
|
-
'serverId':
|
|
623
|
-
'serverName':
|
|
629
|
+
'agents': _0x507b19,
|
|
630
|
+
'channels': _0x5c303c[_0x23ff44(_0xb6ae38._0x5e1c77)]?.[_0x23ff44(_0xb6ae38._0xb73ad6)] ?? [],
|
|
631
|
+
'humans': _0x20ca8e,
|
|
632
|
+
'serverId': _0x5437fe,
|
|
633
|
+
'serverName': _0x5c303c[_0x23ff44(_0xb6ae38._0x5e1c77)]?.[_0x23ff44(_0xb6ae38._0x27bb4c)][_0x23ff44(0x2e7)] ?? _0x5437fe
|
|
624
634
|
};
|
|
625
|
-
})()[
|
|
626
|
-
|
|
627
|
-
throw
|
|
628
|
-
}),
|
|
635
|
+
})()[_0x28604e(_0x186488._0x5816a0)](_0x3768ad => {
|
|
636
|
+
_0x48840d = null;
|
|
637
|
+
throw _0x3768ad;
|
|
638
|
+
}), _0x48840d;
|
|
629
639
|
}
|
|
630
|
-
function
|
|
631
|
-
const
|
|
632
|
-
return
|
|
640
|
+
function _0x36bf2f(_0x5b14fc, _0x370895) {
|
|
641
|
+
const _0x471c25 = _0x521ea7;
|
|
642
|
+
return _0x370895['agents']['some'](_0x5116e1 => _0x5116e1['id'] === _0x5b14fc || _0x5116e1[_0x471c25(0x2e7)] === _0x5b14fc) ? _0x471c25(0x207) : 'human';
|
|
633
643
|
}
|
|
634
|
-
function
|
|
635
|
-
const
|
|
636
|
-
if (
|
|
637
|
-
return
|
|
638
|
-
if (
|
|
639
|
-
return
|
|
640
|
-
if (
|
|
641
|
-
return
|
|
642
|
-
return
|
|
644
|
+
function _0xf96b98(_0x15ea66) {
|
|
645
|
+
const _0x501a41 = _0x521ea7;
|
|
646
|
+
if (_0x15ea66[_0x501a41(_0x2f78fe._0x1e2e8e)] != null)
|
|
647
|
+
return _0x15ea66[_0x501a41(_0x2f78fe._0x594d07)] + ':t' + _0x15ea66[_0x501a41(_0x2f78fe._0x1e2e8e)];
|
|
648
|
+
if (_0x15ea66[_0x501a41(_0x2f78fe._0x29fc93)])
|
|
649
|
+
return _0x15ea66[_0x501a41(0x281)] + ':' + _0x15ea66['rootMessageId'];
|
|
650
|
+
if (_0x15ea66[_0x501a41(_0x2f78fe._0x4574c7)])
|
|
651
|
+
return _0x15ea66[_0x501a41(_0x2f78fe._0x3d1563)] + ':' + _0x15ea66[_0x501a41(0x293)][_0x501a41(_0x2f78fe._0x365cd2)](0x0, 0x8);
|
|
652
|
+
return _0x15ea66[_0x501a41(_0x2f78fe._0x3a3184)];
|
|
643
653
|
}
|
|
644
|
-
function
|
|
645
|
-
const
|
|
654
|
+
function _0x5fc82a(_0x46533d, _0x1e1b8a) {
|
|
655
|
+
const _0x29d03e = _0x521ea7;
|
|
646
656
|
try {
|
|
647
|
-
const
|
|
648
|
-
if (
|
|
657
|
+
const _0x19697a = parseTarget(_0x46533d);
|
|
658
|
+
if (_0x19697a['kind'] !== 'thread' || _0x19697a[_0x29d03e(_0x4cd787._0x384100)] !== _0x1e1b8a['channelTarget'])
|
|
649
659
|
return ![];
|
|
650
|
-
if (
|
|
660
|
+
if (_0x1e1b8a[_0x29d03e(0x26d)] != null && _0x19697a[_0x29d03e(0x260)] === 't' + _0x1e1b8a[_0x29d03e(0x26d)])
|
|
651
661
|
return !![];
|
|
652
|
-
if (
|
|
653
|
-
return
|
|
654
|
-
if (
|
|
655
|
-
return
|
|
662
|
+
if (_0x1e1b8a[_0x29d03e(_0x4cd787._0x28ded2)])
|
|
663
|
+
return _0x19697a['threadShortId'] === _0x1e1b8a[_0x29d03e(0x28e)] || _0x1e1b8a[_0x29d03e(0x28e)]['startsWith'](_0x19697a[_0x29d03e(_0x4cd787._0x3efcdc)]);
|
|
664
|
+
if (_0x1e1b8a[_0x29d03e(_0x4cd787._0x595acb)])
|
|
665
|
+
return _0x19697a[_0x29d03e(_0x4cd787._0x4064e2)] === _0x1e1b8a['threadId'] || _0x1e1b8a['threadId']['startsWith'](_0x19697a['threadShortId']);
|
|
656
666
|
return ![];
|
|
657
667
|
} catch {
|
|
658
668
|
return ![];
|
|
659
669
|
}
|
|
660
670
|
}
|
|
661
|
-
function
|
|
662
|
-
const
|
|
663
|
-
return
|
|
671
|
+
function _0x52dc7b(_0x48852d) {
|
|
672
|
+
const _0x124760 = _0x521ea7;
|
|
673
|
+
return _0x48852d[_0x124760(0x2c8)]?.['participantId'] ?? _0x48852d[_0x124760(0x26c)]?.['id'] ?? _0x48852d[_0x124760(_0x558bce._0xf13cc3)] ?? '';
|
|
664
674
|
}
|
|
665
|
-
function
|
|
666
|
-
const
|
|
667
|
-
return
|
|
675
|
+
function _0x9dfb00(_0xec3dec) {
|
|
676
|
+
const _0x616736 = _0x521ea7;
|
|
677
|
+
return _0xec3dec[_0x616736(0x26c)]?.['name'] ?? _0x52dc7b(_0xec3dec);
|
|
668
678
|
}
|
|
669
|
-
async function
|
|
670
|
-
const
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
const
|
|
676
|
-
'headers':
|
|
679
|
+
async function _0x28c072(_0x558451) {
|
|
680
|
+
const _0x3781f1 = _0x521ea7, _0x31a99b = Math[_0x3781f1(_0x416b8d._0x55fd97)](_0x558451[_0x3781f1(0x341)] ?? 0x32, 0x64), _0x12c5e8 = await _0x552e56(), _0x412f25 = new URLSearchParams();
|
|
681
|
+
_0x412f25[_0x3781f1(_0x416b8d._0x591b4e)](_0x3781f1(0x341), String(_0x31a99b));
|
|
682
|
+
_0x558451['threadId'] ? (_0x412f25[_0x3781f1(0x249)](_0x3781f1(_0x416b8d._0x117c11), _0x558451[_0x3781f1(_0x416b8d._0x1a9cb4)]), _0x412f25[_0x3781f1(0x249)](_0x3781f1(0x30b), _0x558451[_0x3781f1(_0x416b8d._0x54c902)])) : _0x412f25[_0x3781f1(_0x416b8d._0x492f8f)]('channelId', _0x558451[_0x3781f1(0x30b)]);
|
|
683
|
+
_0x558451[_0x3781f1(_0x416b8d._0x2ddf4d)] && _0x412f25[_0x3781f1(_0x416b8d._0x591b4e)]('cursor', String(_0x558451[_0x3781f1(_0x416b8d._0x5e388a)]));
|
|
684
|
+
_0x558451[_0x3781f1(0x371)] !== void 0x0 && _0x412f25[_0x3781f1(0x249)](_0x3781f1(0x371), String(_0x558451['after']));
|
|
685
|
+
const _0x2a71b = await _0x401cce(_0x3781f1(_0x416b8d._0x31ff99) + _0x2805d5[_0x3781f1(0x250)] + _0x3781f1(_0x416b8d._0x34ff04) + _0x412f25['toString'](), {
|
|
686
|
+
'headers': _0x1c43d2,
|
|
677
687
|
'method': 'GET'
|
|
678
|
-
}),
|
|
679
|
-
'attachments': (
|
|
680
|
-
'filename':
|
|
681
|
-
'id':
|
|
688
|
+
}), _0x386009 = (_0x2a71b[_0x3781f1(_0x416b8d._0x568daa)] ?? [])['map'](_0x140c15 => ({
|
|
689
|
+
'attachments': (_0x140c15[_0x3781f1(0x304)] ?? [])[_0x3781f1(0x27e)](_0x1390c3 => ({
|
|
690
|
+
'filename': _0x1390c3[_0x3781f1(0x269)] ?? _0x1390c3['id'],
|
|
691
|
+
'id': _0x1390c3['id']
|
|
682
692
|
})),
|
|
683
|
-
'content':
|
|
684
|
-
'createdAt':
|
|
685
|
-
'
|
|
686
|
-
'
|
|
687
|
-
'
|
|
688
|
-
'
|
|
693
|
+
'content': _0x140c15[_0x3781f1(0x2e2)] ?? '',
|
|
694
|
+
'createdAt': _0x140c15[_0x3781f1(0x29c)],
|
|
695
|
+
..._0x140c15[_0x3781f1(0x2b2)] && _0x140c15[_0x3781f1(0x2b2)] !== 'chat' ? { 'kind': _0x140c15[_0x3781f1(0x2b2)] } : {},
|
|
696
|
+
'messageId': _0x140c15['id'],
|
|
697
|
+
'senderName': _0x140c15[_0x3781f1(0x27a)],
|
|
698
|
+
'senderType': _0x36bf2f(_0x140c15[_0x3781f1(0x27a)], _0x12c5e8),
|
|
699
|
+
'seq': _0x140c15[_0x3781f1(0x358)] ?? 0x0
|
|
689
700
|
}));
|
|
690
701
|
return {
|
|
691
|
-
'channel':
|
|
692
|
-
'hasMore':
|
|
693
|
-
'messages':
|
|
694
|
-
'nextCursor':
|
|
702
|
+
'channel': _0x558451[_0x3781f1(_0x416b8d._0x387d8f)],
|
|
703
|
+
'hasMore': _0x2a71b[_0x3781f1(0x332)]?.[_0x3781f1(0x204)] ?? ![],
|
|
704
|
+
'messages': _0x386009,
|
|
705
|
+
'nextCursor': _0x2a71b[_0x3781f1(_0x416b8d._0x2c91e5)]?.[_0x3781f1(0x265)]
|
|
695
706
|
};
|
|
696
707
|
}
|
|
697
708
|
return {
|
|
698
|
-
async 'sendMessage'(
|
|
699
|
-
const
|
|
700
|
-
'body': JSON[
|
|
701
|
-
'attachment_ids':
|
|
702
|
-
'bodyMarkdown':
|
|
703
|
-
'channelId':
|
|
704
|
-
...
|
|
705
|
-
'threadId':
|
|
706
|
-
...
|
|
709
|
+
async 'sendMessage'(_0x53ca15) {
|
|
710
|
+
const _0x3dbe12 = _0x521ea7, _0x32e925 = await _0x4fee2c(_0x53ca15[_0x3dbe12(_0x480263._0x855ff0)]), _0x146ffa = _0x53ca15['content'][_0x3dbe12(0x2ad)]('@') ? extractMentionedParticipantIds(_0x53ca15[_0x3dbe12(_0x480263._0x351d98)], await _0x552e56()) : [], _0xcdda96 = await _0x401cce(_0x3dbe12(_0x480263._0x577a02) + _0x2805d5[_0x3dbe12(_0x480263._0x183feb)] + _0x3dbe12(_0x480263._0x59bd41), {
|
|
711
|
+
'body': JSON[_0x3dbe12(0x286)]({
|
|
712
|
+
'attachment_ids': _0x53ca15[_0x3dbe12(_0x480263._0xb4a82b)],
|
|
713
|
+
'bodyMarkdown': _0x53ca15[_0x3dbe12(_0x480263._0x351d98)],
|
|
714
|
+
'channelId': _0x32e925[_0x3dbe12(_0x480263._0x1a1044)],
|
|
715
|
+
..._0x146ffa[_0x3dbe12(_0x480263._0x418ae7)] > 0x0 ? { 'mentionedParticipantIds': _0x146ffa } : {},
|
|
716
|
+
'threadId': _0x32e925['threadId'],
|
|
717
|
+
..._0x53ca15[_0x3dbe12(0x22a)] ? { 'visibility': _0x53ca15['visibility'] } : {}
|
|
707
718
|
}),
|
|
708
|
-
'headers':
|
|
709
|
-
'method':
|
|
719
|
+
'headers': _0x1c43d2,
|
|
720
|
+
'method': _0x3dbe12(0x1ed)
|
|
710
721
|
});
|
|
711
|
-
return { 'messageId':
|
|
722
|
+
return { 'messageId': _0xcdda96['data']?.['id'] ?? '' };
|
|
712
723
|
},
|
|
713
724
|
async 'listSchedules'() {
|
|
714
|
-
const
|
|
715
|
-
'headers':
|
|
716
|
-
'method':
|
|
725
|
+
const _0x5afc4b = _0x521ea7, _0x4ee35c = await _0x401cce(_0x5afc4b(_0x51511d._0x32e89b), {
|
|
726
|
+
'headers': _0x1c43d2,
|
|
727
|
+
'method': _0x5afc4b(0x277)
|
|
717
728
|
});
|
|
718
|
-
return
|
|
729
|
+
return _0x4ee35c[_0x5afc4b(0x369)] ?? [];
|
|
719
730
|
},
|
|
720
|
-
async 'claimScheduleRun'(
|
|
721
|
-
const
|
|
722
|
-
'body': JSON['stringify'](
|
|
723
|
-
'headers':
|
|
724
|
-
'method':
|
|
731
|
+
async 'claimScheduleRun'(_0x4601b6) {
|
|
732
|
+
const _0x8a51e9 = _0x521ea7, _0x54ffd6 = await _0x401cce(_0x8a51e9(_0x538e0d._0x5e13a6), {
|
|
733
|
+
'body': JSON['stringify'](_0x4601b6),
|
|
734
|
+
'headers': _0x1c43d2,
|
|
735
|
+
'method': _0x8a51e9(0x1ed)
|
|
725
736
|
});
|
|
726
|
-
return
|
|
737
|
+
return _0x54ffd6[_0x8a51e9(0x369)] ?? {
|
|
727
738
|
'granted': ![],
|
|
728
739
|
'runId': null,
|
|
729
740
|
'schedule': null,
|
|
730
|
-
'scheduledFor':
|
|
741
|
+
'scheduledFor': _0x4601b6[_0x8a51e9(0x283)]
|
|
731
742
|
};
|
|
732
743
|
},
|
|
733
|
-
async 'startScheduleRun'(
|
|
734
|
-
const
|
|
735
|
-
'body': JSON[
|
|
736
|
-
'headers':
|
|
737
|
-
'method':
|
|
744
|
+
async 'startScheduleRun'(_0x2c8d2a) {
|
|
745
|
+
const _0x5449ec = _0x521ea7, _0x562acf = await _0x401cce(_0x5449ec(0x299) + encodeURIComponent(_0x2c8d2a[_0x5449ec(_0x558ce1._0x3783f2)]) + _0x5449ec(_0x558ce1._0x261ecd), {
|
|
746
|
+
'body': JSON[_0x5449ec(_0x558ce1._0x265338)]({}),
|
|
747
|
+
'headers': _0x1c43d2,
|
|
748
|
+
'method': _0x5449ec(0x1ed)
|
|
738
749
|
});
|
|
739
|
-
return
|
|
750
|
+
return _0x562acf[_0x5449ec(_0x558ce1._0x4793f9)] ?? {
|
|
740
751
|
'claimedByDaemonId': '',
|
|
741
|
-
'id':
|
|
752
|
+
'id': _0x2c8d2a[_0x5449ec(_0x558ce1._0x51d372)],
|
|
742
753
|
'scheduleId': '',
|
|
743
|
-
'status':
|
|
754
|
+
'status': 'running'
|
|
744
755
|
};
|
|
745
756
|
},
|
|
746
|
-
async 'finishScheduleRun'(
|
|
747
|
-
const
|
|
748
|
-
'body': JSON[
|
|
749
|
-
'error':
|
|
750
|
-
'resultJson':
|
|
751
|
-
'status':
|
|
757
|
+
async 'finishScheduleRun'(_0x278f44) {
|
|
758
|
+
const _0x41aec8 = _0x521ea7, _0x36b87b = await _0x401cce('/api/internal/schedules/' + encodeURIComponent(_0x278f44[_0x41aec8(_0x8601f5._0x4b3e1f)]) + _0x41aec8(_0x8601f5._0x399197), {
|
|
759
|
+
'body': JSON['stringify']({
|
|
760
|
+
'error': _0x278f44[_0x41aec8(0x2d5)],
|
|
761
|
+
'resultJson': _0x278f44[_0x41aec8(_0x8601f5._0x5d428c)],
|
|
762
|
+
'status': _0x278f44['status']
|
|
752
763
|
}),
|
|
753
|
-
'headers':
|
|
754
|
-
'method':
|
|
764
|
+
'headers': _0x1c43d2,
|
|
765
|
+
'method': 'POST'
|
|
755
766
|
});
|
|
756
|
-
return
|
|
767
|
+
return _0x36b87b[_0x41aec8(0x369)] ?? {
|
|
757
768
|
'nextRunAt': null,
|
|
758
769
|
'run': {
|
|
759
770
|
'claimedByDaemonId': '',
|
|
760
|
-
'id':
|
|
771
|
+
'id': _0x278f44['runId'],
|
|
761
772
|
'scheduleId': '',
|
|
762
|
-
'status':
|
|
773
|
+
'status': _0x278f44['status']
|
|
763
774
|
}
|
|
764
775
|
};
|
|
765
776
|
},
|
|
766
|
-
async 'listTasks'(
|
|
767
|
-
const
|
|
768
|
-
return
|
|
769
|
-
'headers':
|
|
770
|
-
'method':
|
|
777
|
+
async 'listTasks'(_0xe4a6c3) {
|
|
778
|
+
const _0x3dccb3 = _0x521ea7, _0x1809f6 = new URLSearchParams();
|
|
779
|
+
return _0x1809f6['set'](_0x3dccb3(0x365), _0xe4a6c3[_0x3dccb3(_0x292e33._0x1a570c)]), _0xe4a6c3['status'] && _0x1809f6['set']('status', _0xe4a6c3[_0x3dccb3(0x1fe)]), _0x166648(_0x3dccb3(_0x292e33._0x2a24c3) + _0x2805d5[_0x3dccb3(0x250)] + _0x3dccb3(_0x292e33._0x220c58) + _0x1809f6[_0x3dccb3(0x2a9)](), {
|
|
780
|
+
'headers': _0x1c43d2,
|
|
781
|
+
'method': _0x3dccb3(_0x292e33._0x4d5d17)
|
|
771
782
|
});
|
|
772
783
|
},
|
|
773
|
-
async 'createTasks'(
|
|
774
|
-
const
|
|
775
|
-
return
|
|
776
|
-
'body': JSON[
|
|
777
|
-
...
|
|
778
|
-
'idempotency_key':
|
|
784
|
+
async 'createTasks'(_0xaef246) {
|
|
785
|
+
const _0x429d8b = _0x521ea7;
|
|
786
|
+
return _0x166648(_0x429d8b(_0x4a9a9e._0x17112e) + _0x2805d5[_0x429d8b(_0x4a9a9e._0x1e202e)] + '/tasks', {
|
|
787
|
+
'body': JSON['stringify']({
|
|
788
|
+
..._0xaef246,
|
|
789
|
+
'idempotency_key': _0x4fb46f(_0x429d8b(_0x4a9a9e._0x52cc81), _0xaef246)
|
|
779
790
|
}),
|
|
780
|
-
'headers':
|
|
781
|
-
'method':
|
|
791
|
+
'headers': _0x1c43d2,
|
|
792
|
+
'method': _0x429d8b(0x1ed)
|
|
782
793
|
});
|
|
783
794
|
},
|
|
784
|
-
async 'claimTasks'(
|
|
785
|
-
const
|
|
786
|
-
return
|
|
787
|
-
'body': JSON[
|
|
788
|
-
...
|
|
789
|
-
'idempotency_key':
|
|
795
|
+
async 'claimTasks'(_0xa3e653) {
|
|
796
|
+
const _0x16dd48 = _0x521ea7;
|
|
797
|
+
return _0x166648('/internal/agent/' + _0x2805d5['agentId'] + _0x16dd48(_0x4ac3f2._0x573fda), {
|
|
798
|
+
'body': JSON[_0x16dd48(0x286)]({
|
|
799
|
+
..._0xa3e653,
|
|
800
|
+
'idempotency_key': _0x4fb46f(_0x16dd48(0x2d4), _0xa3e653)
|
|
790
801
|
}),
|
|
791
|
-
'headers':
|
|
792
|
-
'method':
|
|
802
|
+
'headers': _0x1c43d2,
|
|
803
|
+
'method': _0x16dd48(_0x4ac3f2._0x16415f)
|
|
793
804
|
});
|
|
794
805
|
},
|
|
795
|
-
async 'unclaimTask'(
|
|
796
|
-
const
|
|
797
|
-
return
|
|
798
|
-
'body': JSON[
|
|
799
|
-
...
|
|
800
|
-
'idempotency_key':
|
|
806
|
+
async 'unclaimTask'(_0x341d9c) {
|
|
807
|
+
const _0xd5a96a = _0x521ea7;
|
|
808
|
+
return _0x166648(_0xd5a96a(_0x5391cd._0x436d7f) + _0x2805d5[_0xd5a96a(_0x5391cd._0x4a150d)] + _0xd5a96a(0x32b), {
|
|
809
|
+
'body': JSON[_0xd5a96a(0x286)]({
|
|
810
|
+
..._0x341d9c,
|
|
811
|
+
'idempotency_key': _0x4fb46f(_0xd5a96a(0x30a), _0x341d9c)
|
|
801
812
|
}),
|
|
802
|
-
'headers':
|
|
803
|
-
'method':
|
|
813
|
+
'headers': _0x1c43d2,
|
|
814
|
+
'method': _0xd5a96a(0x1ed)
|
|
804
815
|
});
|
|
805
816
|
},
|
|
806
|
-
async 'updateTaskStatus'(
|
|
807
|
-
const
|
|
808
|
-
return
|
|
809
|
-
'body': JSON[
|
|
810
|
-
...
|
|
811
|
-
'idempotency_key':
|
|
817
|
+
async 'updateTaskStatus'(_0x129730) {
|
|
818
|
+
const _0x49ee54 = _0x521ea7;
|
|
819
|
+
return _0x166648(_0x49ee54(0x1fc) + _0x2805d5[_0x49ee54(_0x5018c5._0x2798ad)] + _0x49ee54(0x35f), {
|
|
820
|
+
'body': JSON['stringify']({
|
|
821
|
+
..._0x129730,
|
|
822
|
+
'idempotency_key': _0x4fb46f(_0x49ee54(0x2dd), _0x129730)
|
|
812
823
|
}),
|
|
813
|
-
'headers':
|
|
814
|
-
'method':
|
|
824
|
+
'headers': _0x1c43d2,
|
|
825
|
+
'method': _0x49ee54(0x1ed)
|
|
815
826
|
});
|
|
816
827
|
},
|
|
817
|
-
async 'uploadFile'(
|
|
818
|
-
const
|
|
819
|
-
if (
|
|
820
|
-
throw new Error(
|
|
821
|
-
const
|
|
822
|
-
'body': JSON[
|
|
823
|
-
'channel':
|
|
824
|
-
'contentBase64':
|
|
825
|
-
'contentType':
|
|
826
|
-
'originalFilename':
|
|
828
|
+
async 'uploadFile'(_0x2e8c91) {
|
|
829
|
+
const _0x5b0564 = _0x521ea7, _0x5137ce = await _0x4fee2c(_0x2e8c91[_0x5b0564(_0x1dbdd3._0x5216bb)]);
|
|
830
|
+
if (_0x5137ce[_0x5b0564(0x293)])
|
|
831
|
+
throw new Error(_0x5b0564(0x2f2));
|
|
832
|
+
const _0x244829 = await _0x401cce(_0x5b0564(_0x1dbdd3._0x241345) + _0x2805d5[_0x5b0564(0x250)] + _0x5b0564(0x262), {
|
|
833
|
+
'body': JSON[_0x5b0564(_0x1dbdd3._0x9499c3)]({
|
|
834
|
+
'channel': _0x5137ce[_0x5b0564(_0x1dbdd3._0x181de7)],
|
|
835
|
+
'contentBase64': _0x2e8c91[_0x5b0564(_0x1dbdd3._0xc30bde)],
|
|
836
|
+
'contentType': _0x2e8c91[_0x5b0564(_0x1dbdd3._0x4378bd)],
|
|
837
|
+
'originalFilename': _0x2e8c91[_0x5b0564(0x269)]
|
|
827
838
|
}),
|
|
828
|
-
'headers':
|
|
829
|
-
'method':
|
|
839
|
+
'headers': _0x1c43d2,
|
|
840
|
+
'method': 'POST'
|
|
830
841
|
});
|
|
831
842
|
return {
|
|
832
|
-
'attachmentId':
|
|
833
|
-
'filename':
|
|
834
|
-
'sizeBytes':
|
|
843
|
+
'attachmentId': _0x244829[_0x5b0564(_0x1dbdd3._0x23c4ac)]?.['id'] ?? '',
|
|
844
|
+
'filename': _0x244829['data']?.[_0x5b0564(0x268)] ?? _0x2e8c91['filename'],
|
|
845
|
+
'sizeBytes': _0x244829[_0x5b0564(_0x1dbdd3._0x48f350)]?.[_0x5b0564(_0x1dbdd3._0x168fd9)] ?? 0x0
|
|
835
846
|
};
|
|
836
847
|
},
|
|
837
|
-
async 'downloadAttachment'(
|
|
838
|
-
const
|
|
839
|
-
'headers':
|
|
848
|
+
async 'downloadAttachment'(_0x1e73e0) {
|
|
849
|
+
const _0xf8a82a = _0x521ea7, _0x5508ca = await _0x401cce('/api/attachments/' + _0x1e73e0, {
|
|
850
|
+
'headers': _0x1c43d2,
|
|
840
851
|
'method': 'GET'
|
|
841
|
-
}),
|
|
852
|
+
}), _0x45da3d = new AbortController(), _0x375473 = setTimeout(() => _0x45da3d[_0xf8a82a(0x291)](), _0x50df63);
|
|
842
853
|
try {
|
|
843
|
-
const
|
|
844
|
-
'headers':
|
|
845
|
-
'method':
|
|
846
|
-
'signal':
|
|
854
|
+
const _0x1b50f6 = await _0x30d87c(_0x425b5f + '/api/attachments/' + _0x1e73e0 + _0xf8a82a(0x20c), {
|
|
855
|
+
'headers': _0x1c43d2,
|
|
856
|
+
'method': _0xf8a82a(_0x332201._0x298fcb),
|
|
857
|
+
'signal': _0x45da3d[_0xf8a82a(0x33a)]
|
|
847
858
|
});
|
|
848
|
-
if (!
|
|
849
|
-
throw new Error(
|
|
859
|
+
if (!_0x1b50f6['ok'])
|
|
860
|
+
throw new Error('HTTP\x20' + _0x1b50f6[_0xf8a82a(_0x332201._0x4ce009)]);
|
|
850
861
|
return {
|
|
851
|
-
'contentType':
|
|
852
|
-
'data': Buffer[
|
|
853
|
-
'originalFilename':
|
|
862
|
+
'contentType': _0x5508ca[_0xf8a82a(0x369)]?.[_0xf8a82a(0x328)] ?? _0x1b50f6[_0xf8a82a(_0x332201._0x2bac49)][_0xf8a82a(_0x332201._0x5d0a21)]('content-type') ?? 'application/octet-stream',
|
|
863
|
+
'data': Buffer[_0xf8a82a(_0x332201._0x5c7330)](await _0x1b50f6['arrayBuffer']()),
|
|
864
|
+
'originalFilename': _0x5508ca[_0xf8a82a(0x369)]?.[_0xf8a82a(_0x332201._0x2ac55d)]
|
|
854
865
|
};
|
|
855
866
|
} finally {
|
|
856
|
-
clearTimeout(
|
|
867
|
+
clearTimeout(_0x375473);
|
|
857
868
|
}
|
|
858
869
|
},
|
|
859
870
|
async 'listServer'() {
|
|
860
|
-
return
|
|
871
|
+
return _0x552e56({ 'forceRefresh': !![] });
|
|
861
872
|
},
|
|
862
|
-
async 'readHistory'(
|
|
863
|
-
const
|
|
864
|
-
return
|
|
865
|
-
'after':
|
|
866
|
-
'before':
|
|
867
|
-
'channelId':
|
|
868
|
-
'channelTarget':
|
|
869
|
-
'limit':
|
|
870
|
-
'threadId':
|
|
873
|
+
async 'readHistory'(_0x1a8b18) {
|
|
874
|
+
const _0x193991 = _0x521ea7, _0x530235 = await _0x4fee2c(_0x1a8b18[_0x193991(_0x17d241._0x37c35a)]);
|
|
875
|
+
return _0x28c072({
|
|
876
|
+
'after': _0x1a8b18['after'],
|
|
877
|
+
'before': _0x1a8b18[_0x193991(0x315)],
|
|
878
|
+
'channelId': _0x530235['channelId'],
|
|
879
|
+
'channelTarget': _0x530235['target'],
|
|
880
|
+
'limit': _0x1a8b18[_0x193991(_0x17d241._0x487301)],
|
|
881
|
+
'threadId': _0x530235[_0x193991(_0x17d241._0x50cea9)]
|
|
871
882
|
});
|
|
872
883
|
},
|
|
873
|
-
'resolveTarget':
|
|
884
|
+
'resolveTarget': _0x4fee2c,
|
|
874
885
|
async 'checkMessages'() {
|
|
875
|
-
const
|
|
876
|
-
|
|
877
|
-
const
|
|
878
|
-
'headers':
|
|
879
|
-
'method':
|
|
880
|
-
}),
|
|
881
|
-
let
|
|
882
|
-
|
|
883
|
-
|
|
886
|
+
const _0x25748d = { _0x4b88c7: 0x34a }, _0x13bfa3 = _0x521ea7, _0x55eabd = new URLSearchParams();
|
|
887
|
+
_0x55eabd[_0x13bfa3(_0x4a34c6._0x2afd91)](_0x13bfa3(0x263), String(_0x1ddb77));
|
|
888
|
+
const _0x5ea965 = _0x55eabd[_0x13bfa3(_0x4a34c6._0x9fa3c)](), _0x1e18dd = await _0x401cce(_0x13bfa3(_0x4a34c6._0x382185) + _0x2805d5[_0x13bfa3(_0x4a34c6._0x517cdc)] + _0x13bfa3(0x270) + (_0x5ea965 ? '?' + _0x5ea965 : ''), {
|
|
889
|
+
'headers': _0x1c43d2,
|
|
890
|
+
'method': _0x13bfa3(_0x4a34c6._0xf5ba45)
|
|
891
|
+
}), _0x531a6f = _0x1e18dd[_0x13bfa3(_0x4a34c6._0x583ed6)] ?? [], _0x2d770f = _0x1e18dd[_0x13bfa3(0x332)]?.[_0x13bfa3(_0x4a34c6._0x1a47cf)], _0x2c9d8a = _0x2d770f !== void 0x0 ? Math['max'](_0x1ddb77, _0x2d770f) : _0x531a6f['length'] > 0x0 ? Math[_0x13bfa3(_0x4a34c6._0x4cc23e)](_0x1ddb77, _0x531a6f[_0x531a6f[_0x13bfa3(_0x4a34c6._0x2cc2d2)] - 0x1][_0x13bfa3(_0x4a34c6._0x4b36a8)]) : _0x1ddb77, _0x4190e6 = _0x531a6f[_0x13bfa3(_0x4a34c6._0x5d76f9)](_0x141851 => _0x141851['aggregateType'] === _0x13bfa3(0x27c)), _0x122a87 = _0x56a32d === void 0x0 && _0x3211ee;
|
|
892
|
+
let _0x372ce7 = await _0x552e56(), _0x15813b = new Map(_0x372ce7['channels']['map'](_0x23eebc => [
|
|
893
|
+
_0x23eebc['id'],
|
|
894
|
+
_0x23eebc
|
|
884
895
|
]));
|
|
885
|
-
const
|
|
886
|
-
const
|
|
887
|
-
return Boolean(
|
|
896
|
+
const _0x7601dd = _0x4190e6[_0x13bfa3(_0x4a34c6._0x1899cf)](_0x1d7a03 => {
|
|
897
|
+
const _0x34e69a = _0x13bfa3, _0x3d938a = asRecord(_0x1d7a03[_0x34e69a(_0x25748d._0x4b88c7)]), _0x1d18e7 = typeof _0x3d938a?.[_0x34e69a(0x30b)] === _0x34e69a(0x2a5) ? _0x3d938a['channelId'] : '';
|
|
898
|
+
return Boolean(_0x1d18e7) && !_0x15813b[_0x34e69a(0x2ea)](_0x1d18e7);
|
|
888
899
|
});
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
900
|
+
_0x7601dd && (_0x372ce7 = await _0x552e56({ 'forceRefresh': !![] }), _0x15813b = new Map(_0x372ce7[_0x13bfa3(0x34d)]['map'](_0x4c0642 => [
|
|
901
|
+
_0x4c0642['id'],
|
|
902
|
+
_0x4c0642
|
|
892
903
|
])));
|
|
893
|
-
const
|
|
894
|
-
for (const
|
|
895
|
-
const
|
|
896
|
-
if (!
|
|
904
|
+
const _0x1146c7 = new Map();
|
|
905
|
+
for (const _0xc9fcf0 of _0x4190e6) {
|
|
906
|
+
const _0x13f821 = asRecord(_0xc9fcf0[_0x13bfa3(0x34a)]), _0x42d783 = typeof _0x13f821['channelId'] === _0x13bfa3(0x2a5) ? _0x13f821[_0x13bfa3(_0x4a34c6._0x141de3)] : '';
|
|
907
|
+
if (!_0x42d783)
|
|
897
908
|
continue;
|
|
898
|
-
const
|
|
909
|
+
const _0x29c8e1 = typeof _0x13f821[_0x13bfa3(_0x4a34c6._0x54d603)] === _0x13bfa3(_0x4a34c6._0x36f940) ? _0x13f821[_0x13bfa3(0x293)] : void 0x0, _0x49858c = typeof _0x13f821[_0x13bfa3(_0x4a34c6._0x47728e)] === _0x13bfa3(_0x4a34c6._0x53ef4f) ? _0x13f821[_0x13bfa3(_0x4a34c6._0x1de2e1)] : void 0x0, _0x269091 = typeof _0x13f821[_0x13bfa3(_0x4a34c6._0x5869e9)] === _0x13bfa3(_0x4a34c6._0x15f8fc) && Number['isInteger'](_0x13f821[_0x13bfa3(_0x4a34c6._0x5869e9)]) ? _0x13f821[_0x13bfa3(_0x4a34c6._0x5869e9)] : void 0x0, _0x44c953 = Boolean(_0x29c8e1 && (!_0x49858c || _0xc9fcf0[_0x13bfa3(_0x4a34c6._0x572fab)] !== _0x49858c)), _0x36fedc = _0x44c953 ? _0x42d783 + ':' + _0x29c8e1 : _0x42d783, _0x4573f0 = _0x1146c7[_0x13bfa3(0x295)](_0x36fedc) ?? {
|
|
899
910
|
'aggregateIds': [],
|
|
900
|
-
'channelId':
|
|
911
|
+
'channelId': _0x42d783,
|
|
901
912
|
'entries': new Map(),
|
|
902
|
-
'isThreadReply':
|
|
903
|
-
'rootMessageId':
|
|
904
|
-
'threadNumber':
|
|
905
|
-
'threadId':
|
|
913
|
+
'isThreadReply': _0x44c953,
|
|
914
|
+
'rootMessageId': _0x49858c,
|
|
915
|
+
'threadNumber': _0x269091,
|
|
916
|
+
'threadId': _0x44c953 ? _0x29c8e1 : void 0x0
|
|
906
917
|
};
|
|
907
|
-
|
|
908
|
-
'payloadJson':
|
|
909
|
-
'seq':
|
|
910
|
-
}),
|
|
918
|
+
_0x4573f0['threadNumber'] == null && _0x269091 != null && (_0x4573f0['threadNumber'] = _0x269091), !_0x4573f0['rootMessageId'] && _0x49858c && (_0x4573f0[_0x13bfa3(_0x4a34c6._0x31e2e9)] = _0x49858c), _0x4573f0[_0x13bfa3(0x2a3)]['push'](_0xc9fcf0[_0x13bfa3(0x248)]), _0x4573f0['entries'][_0x13bfa3(0x249)](_0xc9fcf0[_0x13bfa3(_0x4a34c6._0x3afce4)], {
|
|
919
|
+
'payloadJson': _0xc9fcf0[_0x13bfa3(_0x4a34c6._0x43f076)],
|
|
920
|
+
'seq': _0xc9fcf0[_0x13bfa3(_0x4a34c6._0x45bfb1)]
|
|
921
|
+
}), _0x1146c7[_0x13bfa3(_0x4a34c6._0x5956e4)](_0x36fedc, _0x4573f0);
|
|
911
922
|
}
|
|
912
|
-
const
|
|
913
|
-
for (const
|
|
923
|
+
const _0x4b5ff3 = [];
|
|
924
|
+
for (const _0x1df363 of _0x1146c7[_0x13bfa3(_0x4a34c6._0x500d29)]()) {
|
|
914
925
|
const {
|
|
915
|
-
channelId:
|
|
916
|
-
threadId:
|
|
917
|
-
rootMessageId:
|
|
918
|
-
threadNumber:
|
|
919
|
-
aggregateIds:
|
|
920
|
-
isThreadReply:
|
|
921
|
-
entries:
|
|
922
|
-
} =
|
|
923
|
-
'channelTarget':
|
|
924
|
-
'rootMessageId':
|
|
925
|
-
'threadId':
|
|
926
|
-
'threadNumber':
|
|
927
|
-
},
|
|
928
|
-
'channelId':
|
|
929
|
-
'channelTarget':
|
|
930
|
-
'limit': Math[
|
|
931
|
-
'threadId':
|
|
932
|
-
}),
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
])),
|
|
936
|
-
for (const
|
|
937
|
-
if (!
|
|
926
|
+
channelId: _0x1e4bc4,
|
|
927
|
+
threadId: _0x363cdd,
|
|
928
|
+
rootMessageId: _0x388a31,
|
|
929
|
+
threadNumber: _0x212dd5,
|
|
930
|
+
aggregateIds: _0x4e277e,
|
|
931
|
+
isThreadReply: _0x312a44,
|
|
932
|
+
entries: _0x22b557
|
|
933
|
+
} = _0x1df363, _0x2445f0 = _0x15813b[_0x13bfa3(_0x4a34c6._0x3f1048)](_0x1e4bc4), _0x386ab1 = _0x2445f0?.[_0x13bfa3(0x2e7)] ?? _0x1e4bc4, _0x529f63 = _0x2445f0?.['kind'] === 'dm' ? _0x13bfa3(0x242) + _0x386ab1 : '#' + _0x386ab1, _0x209903 = {
|
|
934
|
+
'channelTarget': _0x529f63,
|
|
935
|
+
'rootMessageId': _0x388a31,
|
|
936
|
+
'threadId': _0x363cdd,
|
|
937
|
+
'threadNumber': _0x212dd5
|
|
938
|
+
}, _0x337d9b = await _0x28c072({
|
|
939
|
+
'channelId': _0x1e4bc4,
|
|
940
|
+
'channelTarget': _0x529f63,
|
|
941
|
+
'limit': Math[_0x13bfa3(_0x4a34c6._0x175605)](_0x4e277e[_0x13bfa3(0x34b)], 0x32),
|
|
942
|
+
'threadId': _0x363cdd
|
|
943
|
+
}), _0x2a923d = new Map(_0x337d9b[_0x13bfa3(0x2ca)][_0x13bfa3(_0x4a34c6._0x7aba5b)](_0x5c0af4 => [
|
|
944
|
+
_0x5c0af4[_0x13bfa3(0x35c)],
|
|
945
|
+
_0x5c0af4
|
|
946
|
+
])), _0x38ca74 = _0x363cdd ? _0xf96b98(_0x209903) : _0x529f63, _0x298954 = _0x56a32d ? _0x312a44 && _0x5fc82a(_0x56a32d, _0x209903) : !![], _0x5856fc = _0x312a44 ? _0x298954 && _0x56a32d ? _0x56a32d : _0x38ca74 : _0x529f63;
|
|
947
|
+
for (const _0x4b8d22 of _0x4e277e) {
|
|
948
|
+
if (!_0x298954)
|
|
938
949
|
continue;
|
|
939
|
-
const
|
|
940
|
-
if (
|
|
950
|
+
const _0x29f2c3 = _0x22b557[_0x13bfa3(0x295)](_0x4b8d22), _0x4e77f7 = _0x29f2c3 ? asRecord(_0x29f2c3[_0x13bfa3(0x34a)]) : void 0x0, _0x270b0e = _0x4e77f7?.[_0x13bfa3(_0x4a34c6._0x2cf8f6)] === 'targeted';
|
|
951
|
+
if (_0x122a87 && _0x270b0e)
|
|
941
952
|
continue;
|
|
942
|
-
const
|
|
943
|
-
if (
|
|
944
|
-
|
|
945
|
-
'attachments':
|
|
946
|
-
'content':
|
|
947
|
-
'createdAt':
|
|
948
|
-
'
|
|
949
|
-
'
|
|
950
|
-
'
|
|
951
|
-
'
|
|
952
|
-
|
|
953
|
+
const _0x552eb7 = _0x2a923d[_0x13bfa3(_0x4a34c6._0x3bfb4b)](_0x4b8d22);
|
|
954
|
+
if (_0x552eb7) {
|
|
955
|
+
_0x4b5ff3[_0x13bfa3(0x2df)]({
|
|
956
|
+
'attachments': _0x552eb7[_0x13bfa3(0x304)],
|
|
957
|
+
'content': _0x552eb7['content'],
|
|
958
|
+
'createdAt': _0x552eb7[_0x13bfa3(_0x4a34c6._0x267c0d)],
|
|
959
|
+
..._0x552eb7['kind'] ? { 'kind': _0x552eb7['kind'] } : {},
|
|
960
|
+
'messageId': _0x552eb7[_0x13bfa3(0x35c)],
|
|
961
|
+
'senderName': _0x552eb7[_0x13bfa3(_0x4a34c6._0x5cc2ce)],
|
|
962
|
+
'senderType': _0x552eb7['senderType'],
|
|
963
|
+
'target': _0x5856fc,
|
|
964
|
+
..._0x270b0e ? { 'targetedTask': !![] } : {}
|
|
953
965
|
});
|
|
954
966
|
continue;
|
|
955
967
|
}
|
|
956
|
-
if (
|
|
957
|
-
const
|
|
958
|
-
|
|
968
|
+
if (_0x29f2c3) {
|
|
969
|
+
const _0x36207e = typeof _0x4e77f7?.[_0x13bfa3(0x27a)] === _0x13bfa3(0x2a5) ? _0x4e77f7['senderParticipantId'] : '', _0x523e12 = typeof _0x4e77f7?.[_0x13bfa3(_0x4a34c6._0xddbe66)] === _0x13bfa3(0x2a5) ? _0x4e77f7['bodyMarkdown'] : '', _0x2ff627 = typeof _0x4e77f7?.[_0x13bfa3(0x2b2)] === _0x13bfa3(0x2a5) && _0x4e77f7[_0x13bfa3(0x2b2)] !== _0x13bfa3(_0x4a34c6._0x3efa26) ? _0x4e77f7[_0x13bfa3(0x2b2)] : void 0x0;
|
|
970
|
+
_0x36207e && _0x523e12 && _0x4b5ff3[_0x13bfa3(0x2df)]({
|
|
959
971
|
'attachments': [],
|
|
960
|
-
'content':
|
|
961
|
-
'createdAt': new Date()[
|
|
962
|
-
'
|
|
963
|
-
'
|
|
964
|
-
'
|
|
965
|
-
'
|
|
966
|
-
|
|
972
|
+
'content': _0x523e12,
|
|
973
|
+
'createdAt': new Date()['toISOString'](),
|
|
974
|
+
..._0x2ff627 ? { 'kind': _0x2ff627 } : {},
|
|
975
|
+
'messageId': _0x4b8d22,
|
|
976
|
+
'senderName': _0x36207e,
|
|
977
|
+
'senderType': _0x36bf2f(_0x36207e, _0x372ce7),
|
|
978
|
+
'target': _0x5856fc,
|
|
979
|
+
..._0x270b0e ? { 'targetedTask': !![] } : {}
|
|
967
980
|
});
|
|
968
981
|
}
|
|
969
982
|
}
|
|
970
983
|
}
|
|
971
|
-
if (
|
|
972
|
-
if (
|
|
973
|
-
await
|
|
984
|
+
if (_0x2c9d8a > 0x0) {
|
|
985
|
+
if (_0x343f7c)
|
|
986
|
+
await _0x26688c(_0x2c9d8a);
|
|
974
987
|
else
|
|
975
|
-
|
|
988
|
+
_0x3b4ad0 && await _0x563125(_0x2c9d8a);
|
|
976
989
|
}
|
|
977
|
-
return
|
|
990
|
+
return _0x2c9d8a > _0x1ddb77 && (_0x1ddb77 = _0x2c9d8a), { 'messages': _0x56a32d ? _0x4b5ff3 : _0x122a87 ? _0x4b5ff3[_0x13bfa3(_0x4a34c6._0x5d76f9)](_0x23647e => _0x23647e['targetedTask'] !== !![]) : _0x4b5ff3 };
|
|
978
991
|
}
|
|
979
992
|
};
|
|
980
993
|
}
|
|
981
|
-
function toLocalTime(
|
|
982
|
-
const
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
},
|
|
986
|
-
if (Number[
|
|
987
|
-
return
|
|
988
|
-
const
|
|
989
|
-
return
|
|
994
|
+
function toLocalTime(_0x136fe5) {
|
|
995
|
+
const _0x523c29 = {
|
|
996
|
+
_0x3ebc66: 0x1fb,
|
|
997
|
+
_0x2b1c50: 0x2ba
|
|
998
|
+
}, _0x13fa5f = _0x2d2fb4, _0x1d2abb = new Date(_0x136fe5);
|
|
999
|
+
if (Number[_0x13fa5f(0x25a)](_0x1d2abb[_0x13fa5f(0x2f7)]()))
|
|
1000
|
+
return _0x136fe5;
|
|
1001
|
+
const _0xec8866 = _0xd9293a => String(_0xd9293a)[_0x13fa5f(0x23a)](0x2, '0');
|
|
1002
|
+
return _0x1d2abb['getFullYear']() + '-' + _0xec8866(_0x1d2abb[_0x13fa5f(_0x523c29._0x3ebc66)]() + 0x1) + '-' + _0xec8866(_0x1d2abb[_0x13fa5f(0x225)]()) + '\x20' + _0xec8866(_0x1d2abb[_0x13fa5f(_0x523c29._0x2b1c50)]()) + ':' + _0xec8866(_0x1d2abb[_0x13fa5f(0x29b)]()) + ':' + _0xec8866(_0x1d2abb['getSeconds']());
|
|
990
1003
|
}
|
|
991
|
-
function formatAttachmentSuffix(
|
|
992
|
-
const
|
|
993
|
-
|
|
1004
|
+
function formatAttachmentSuffix(_0x42492e) {
|
|
1005
|
+
const _0x32f0e7 = {
|
|
1006
|
+
_0x373a9c: 0x34b,
|
|
1007
|
+
_0x1e1f60: 0x230,
|
|
1008
|
+
_0x238b81: 0x27e,
|
|
1009
|
+
_0x682edb: 0x274
|
|
1010
|
+
}, _0x345969 = _0x2d2fb4;
|
|
1011
|
+
if (!_0x42492e || _0x42492e[_0x345969(_0x32f0e7._0x373a9c)] === 0x0)
|
|
994
1012
|
return '';
|
|
995
|
-
return '\x20[' +
|
|
1013
|
+
return '\x20[' + _0x42492e[_0x345969(0x34b)] + _0x345969(_0x32f0e7._0x1e1f60) + (_0x42492e[_0x345969(0x34b)] > 0x1 ? 's' : '') + ':\x20' + _0x42492e[_0x345969(_0x32f0e7._0x238b81)](_0x5537ee => _0x5537ee[_0x345969(0x269)] + _0x345969(0x29e) + _0x5537ee['id'] + ')')[_0x345969(_0x32f0e7._0x682edb)](',\x20') + _0x345969(0x350);
|
|
996
1014
|
}
|
|
997
|
-
function formatCheckMessages(
|
|
998
|
-
const
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1015
|
+
function formatCheckMessages(_0x4e4944) {
|
|
1016
|
+
const _0x3b9f4d = {
|
|
1017
|
+
_0x337458: 0x273,
|
|
1018
|
+
_0x3f4109: 0x2f6,
|
|
1019
|
+
_0x2524bc: 0x2b2,
|
|
1020
|
+
_0x48e4f7: 0x25c,
|
|
1021
|
+
_0x3fe08c: 0x2b2,
|
|
1022
|
+
_0x7038a5: 0x29c
|
|
1023
|
+
}, _0x2ef557 = _0x2d2fb4;
|
|
1024
|
+
if (_0x4e4944[_0x2ef557(0x34b)] === 0x0)
|
|
1025
|
+
return _0x2ef557(0x213);
|
|
1026
|
+
return _0x4e4944['map'](_0x21c165 => {
|
|
1027
|
+
const _0x5e7d6e = _0x2ef557, _0x49c770 = _0x21c165[_0x5e7d6e(_0x3b9f4d._0x337458)] === _0x5e7d6e(0x207) ? _0x5e7d6e(_0x3b9f4d._0x3f4109) : '', _0x5abe71 = _0x21c165[_0x5e7d6e(0x2b2)] && _0x21c165[_0x5e7d6e(_0x3b9f4d._0x2524bc)] !== _0x5e7d6e(_0x3b9f4d._0x48e4f7) ? _0x5e7d6e(0x370) + _0x21c165[_0x5e7d6e(_0x3b9f4d._0x3fe08c)] : '';
|
|
1028
|
+
return '[target=' + _0x21c165[_0x5e7d6e(0x1fd)] + '\x20msg=' + _0x21c165[_0x5e7d6e(0x35c)][_0x5e7d6e(0x33f)](0x0, 0x8) + _0x5e7d6e(0x30f) + toLocalTime(_0x21c165[_0x5e7d6e(_0x3b9f4d._0x7038a5)]) + _0x49c770 + _0x5abe71 + _0x5e7d6e(0x210) + _0x21c165[_0x5e7d6e(0x2c0)] + ':\x20' + _0x21c165[_0x5e7d6e(0x239)] + formatAttachmentSuffix(_0x21c165['attachments']);
|
|
1029
|
+
})[_0x2ef557(0x274)]('\x0a');
|
|
1010
1030
|
}
|
|
1011
|
-
function formatHistory(
|
|
1012
|
-
const
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
},
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1031
|
+
function formatHistory(_0x1b3482) {
|
|
1032
|
+
const _0x1d5e9d = {
|
|
1033
|
+
_0x43cc06: 0x365,
|
|
1034
|
+
_0x18a130: 0x2ca,
|
|
1035
|
+
_0x45eb40: 0x27e,
|
|
1036
|
+
_0x54cadf: 0x274,
|
|
1037
|
+
_0x13f9f7: 0x204,
|
|
1038
|
+
_0x249d82: 0x2ae,
|
|
1039
|
+
_0x3cce1a: 0x2ca,
|
|
1040
|
+
_0x1a42c0: 0x34b,
|
|
1041
|
+
_0xf42d25: 0x2aa,
|
|
1042
|
+
_0x51964e: 0x298
|
|
1043
|
+
}, _0x3f5519 = {
|
|
1044
|
+
_0x2aff44: 0x207,
|
|
1045
|
+
_0x196906: 0x2b2,
|
|
1046
|
+
_0x515640: 0x25c,
|
|
1047
|
+
_0x3271a7: 0x30f,
|
|
1048
|
+
_0x4ef128: 0x210,
|
|
1049
|
+
_0x23ab0b: 0x2c0,
|
|
1050
|
+
_0x5848b4: 0x239,
|
|
1051
|
+
_0x3a2ce9: 0x304
|
|
1052
|
+
}, _0xf48b90 = _0x2d2fb4;
|
|
1053
|
+
if (_0x1b3482['messages'][_0xf48b90(0x34b)] === 0x0)
|
|
1054
|
+
return '##\x20Message\x20History\x20for\x20' + _0x1b3482[_0xf48b90(_0x1d5e9d._0x43cc06)] + _0xf48b90(0x235);
|
|
1055
|
+
const _0x1f185e = _0x1b3482[_0xf48b90(_0x1d5e9d._0x18a130)][_0xf48b90(_0x1d5e9d._0x45eb40)](_0x4984d8 => {
|
|
1056
|
+
const _0x42ccda = _0xf48b90, _0x51b4d2 = _0x4984d8[_0x42ccda(0x273)] === _0x42ccda(_0x3f5519._0x2aff44) ? '\x20type=agent' : '', _0x88d45b = _0x4984d8[_0x42ccda(0x2b2)] && _0x4984d8[_0x42ccda(_0x3f5519._0x196906)] !== _0x42ccda(_0x3f5519._0x515640) ? _0x42ccda(0x370) + _0x4984d8[_0x42ccda(_0x3f5519._0x196906)] : '';
|
|
1057
|
+
return '[seq=' + _0x4984d8['seq'] + _0x42ccda(0x2d1) + _0x4984d8[_0x42ccda(0x35c)] + _0x42ccda(_0x3f5519._0x3271a7) + toLocalTime(_0x4984d8[_0x42ccda(0x29c)]) + _0x51b4d2 + _0x88d45b + _0x42ccda(_0x3f5519._0x4ef128) + _0x4984d8[_0x42ccda(_0x3f5519._0x23ab0b)] + ':\x20' + _0x4984d8[_0x42ccda(_0x3f5519._0x5848b4)] + formatAttachmentSuffix(_0x4984d8[_0x42ccda(_0x3f5519._0x3a2ce9)]);
|
|
1058
|
+
})[_0xf48b90(_0x1d5e9d._0x54cadf)]('\x0a'), _0x797888 = _0x1b3482[_0xf48b90(_0x1d5e9d._0x13f9f7)] && _0x1b3482[_0xf48b90(_0x1d5e9d._0x249d82)] ? _0xf48b90(0x2f1) + _0x1b3482[_0xf48b90(_0x1d5e9d._0x3cce1a)][_0xf48b90(_0x1d5e9d._0x1a42c0)] + '\x20messages\x20shown.\x20Use\x20before=' + _0x1b3482[_0xf48b90(0x2ae)] + _0xf48b90(_0x1d5e9d._0xf42d25) : '';
|
|
1059
|
+
return '##\x20Message\x20History\x20for\x20' + _0x1b3482[_0xf48b90(0x365)] + '\x20(' + _0x1b3482['messages'][_0xf48b90(0x34b)] + _0xf48b90(_0x1d5e9d._0x51964e) + _0x1f185e + _0x797888;
|
|
1034
1060
|
}
|
|
1035
|
-
function formatServerDirectory(
|
|
1036
|
-
const
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
_0x5d20aa: 0x1e1
|
|
1046
|
-
}, _0x43e6bd = _0x229703, _0x286fff = _0x278324[_0x43e6bd(_0xfdc8e1._0x52126f)][_0x43e6bd(0x240)] > 0x0 ? _0x278324[_0x43e6bd(0x24a)][_0x43e6bd(_0xfdc8e1._0x56ead8)](_0x1bd436 => _0x1bd436[_0x43e6bd(0x1ca)] ? _0x43e6bd(0x13d) + _0x1bd436['name'] + _0x43e6bd(0x192) + _0x1bd436[_0x43e6bd(0x1ca)] : '-\x20#' + _0x1bd436[_0x43e6bd(0x1e8)])[_0x43e6bd(0x297)]('\x0a') : _0x43e6bd(_0xfdc8e1._0x1264ad), _0x27e9d0 = _0x278324[_0x43e6bd(_0xfdc8e1._0x53d5a1)][_0x43e6bd(_0xfdc8e1._0x44cbb6)] > 0x0 ? _0x278324[_0x43e6bd(0x1c3)][_0x43e6bd(_0xfdc8e1._0x56ead8)](_0xa14586 => _0x43e6bd(0x181) + _0xa14586[_0x43e6bd(0x1e8)])[_0x43e6bd(_0xfdc8e1._0x19cbba)]('\x0a') : _0x43e6bd(_0xfdc8e1._0x292b7e), _0x16b021 = _0x278324[_0x43e6bd(0x258)][_0x43e6bd(0x240)] > 0x0 ? _0x278324[_0x43e6bd(0x258)][_0x43e6bd(_0xfdc8e1._0x46ccd2)](_0x2bb4cb => _0x43e6bd(0x181) + _0x2bb4cb[_0x43e6bd(0x1e8)])[_0x43e6bd(0x297)]('\x0a') : _0x43e6bd(0x1fb);
|
|
1061
|
+
function formatServerDirectory(_0x471280) {
|
|
1062
|
+
const _0x1d9611 = {
|
|
1063
|
+
_0x4a8adc: 0x34d,
|
|
1064
|
+
_0x21f184: 0x2de,
|
|
1065
|
+
_0x1123f6: 0x1e9,
|
|
1066
|
+
_0x56435d: 0x34b,
|
|
1067
|
+
_0xe6855d: 0x27e,
|
|
1068
|
+
_0xb5bd78: 0x309,
|
|
1069
|
+
_0x395cd1: 0x316
|
|
1070
|
+
}, _0x30b2a2 = _0x2d2fb4, _0x175f7b = _0x471280[_0x30b2a2(_0x1d9611._0x4a8adc)]['length'] > 0x0 ? _0x471280['channels']['map'](_0x2d24e9 => _0x2d24e9[_0x30b2a2(0x2d2)] ? _0x30b2a2(0x25b) + _0x2d24e9[_0x30b2a2(0x2e7)] + '\x20—\x20' + _0x2d24e9[_0x30b2a2(0x2d2)] : _0x30b2a2(0x25b) + _0x2d24e9[_0x30b2a2(0x2e7)])[_0x30b2a2(0x274)]('\x0a') : _0x30b2a2(_0x1d9611._0x21f184), _0x3dbf60 = _0x471280[_0x30b2a2(_0x1d9611._0x1123f6)][_0x30b2a2(0x34b)] > 0x0 ? _0x471280['agents']['map'](_0x4f55eb => _0x30b2a2(0x1f2) + _0x4f55eb[_0x30b2a2(0x2e7)])['join']('\x0a') : '(none)', _0x30bd1b = _0x471280[_0x30b2a2(0x2e3)][_0x30b2a2(_0x1d9611._0x56435d)] > 0x0 ? _0x471280[_0x30b2a2(0x2e3)][_0x30b2a2(_0x1d9611._0xe6855d)](_0x378ce2 => _0x30b2a2(0x1f2) + _0x378ce2['name'])[_0x30b2a2(0x274)]('\x0a') : _0x30b2a2(0x2de);
|
|
1047
1071
|
return [
|
|
1048
|
-
|
|
1072
|
+
_0x30b2a2(_0x1d9611._0xb5bd78) + _0x471280[_0x30b2a2(0x314)],
|
|
1049
1073
|
'',
|
|
1050
|
-
|
|
1051
|
-
|
|
1074
|
+
_0x30b2a2(_0x1d9611._0x395cd1),
|
|
1075
|
+
_0x175f7b,
|
|
1052
1076
|
'',
|
|
1053
|
-
|
|
1054
|
-
|
|
1077
|
+
'###\x20Agents',
|
|
1078
|
+
_0x3dbf60,
|
|
1055
1079
|
'',
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
][
|
|
1080
|
+
'###\x20Humans',
|
|
1081
|
+
_0x30bd1b
|
|
1082
|
+
][_0x30b2a2(0x274)]('\x0a');
|
|
1059
1083
|
}
|
|
1060
|
-
function formatUploadResult(
|
|
1061
|
-
const
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
return 'File\x20uploaded:\x20' + _0x311174[_0x24ec80(_0x59def6._0x5319aa)] + '\x20(' + (_0x311174[_0x24ec80(0x23f)] / 0x400)[_0x24ec80(0x19b)](0x1) + _0x24ec80(_0x59def6._0x1ea629) + _0x311174[_0x24ec80(0x28d)] + _0x24ec80(_0x59def6._0x3392c7);
|
|
1084
|
+
function formatUploadResult(_0x3bdc20) {
|
|
1085
|
+
const _0x154278 = {
|
|
1086
|
+
_0x561346: 0x269,
|
|
1087
|
+
_0x5d4b67: 0x348
|
|
1088
|
+
}, _0x50bac3 = _0x2d2fb4;
|
|
1089
|
+
return _0x50bac3(0x2e9) + _0x3bdc20[_0x50bac3(_0x154278._0x561346)] + '\x20(' + (_0x3bdc20[_0x50bac3(0x2c1)] / 0x400)[_0x50bac3(_0x154278._0x5d4b67)](0x1) + _0x50bac3(0x24a) + _0x3bdc20['attachmentId'] + '\x0a\x0aUse\x20this\x20ID\x20in\x20send_message\x27s\x20attachment_ids\x20parameter\x20to\x20include\x20it\x20in\x20a\x20message.';
|
|
1067
1090
|
}
|
|
1068
|
-
function formatViewFileResult(
|
|
1069
|
-
const
|
|
1070
|
-
return
|
|
1091
|
+
function formatViewFileResult(_0xfc866e, _0x2075f7) {
|
|
1092
|
+
const _0xc40e87 = _0x2d2fb4;
|
|
1093
|
+
return _0x2075f7 ? _0xc40e87(0x21e) + _0xfc866e : _0xc40e87(0x233) + _0xfc866e;
|
|
1071
1094
|
}
|
|
1072
|
-
function formatTaskList(
|
|
1073
|
-
const
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1095
|
+
function formatTaskList(_0x16df4d, _0x5a2657) {
|
|
1096
|
+
const _0x52a633 = { _0xe21dde: 0x27e }, _0x397ebf = {
|
|
1097
|
+
_0x20ab87: 0x366,
|
|
1098
|
+
_0x548f89: 0x35c,
|
|
1099
|
+
_0x8352f8: 0x2ea
|
|
1100
|
+
}, _0x5f501f = _0x2d2fb4;
|
|
1101
|
+
if (_0x16df4d['length'] === 0x0)
|
|
1078
1102
|
return 'No\x20tasks\x20found.';
|
|
1079
|
-
return
|
|
1080
|
-
const
|
|
1081
|
-
return
|
|
1082
|
-
})[
|
|
1103
|
+
return _0x16df4d[_0x5f501f(_0x52a633._0xe21dde)](_0x10d0a6 => {
|
|
1104
|
+
const _0x1b4454 = _0x5f501f, _0xf2fe8e = _0x10d0a6['taskNumber'] == null ? '(legacy)' : '#' + _0x10d0a6[_0x1b4454(0x2cd)], _0x14665f = _0x10d0a6['messageId'] ? _0x1b4454(_0x397ebf._0x20ab87) + _0x10d0a6[_0x1b4454(_0x397ebf._0x548f89)] : '', _0x4a7913 = _0x5a2657 && _0x10d0a6['taskNumber'] != null && _0x5a2657[_0x1b4454(_0x397ebf._0x8352f8)](_0x10d0a6['taskNumber']) ? _0x1b4454(0x33c) : '';
|
|
1105
|
+
return _0xf2fe8e + '\x20[' + _0x10d0a6[_0x1b4454(0x1fe)] + ']\x20' + _0x10d0a6[_0x1b4454(0x2fd)] + _0x14665f + _0x4a7913;
|
|
1106
|
+
})[_0x5f501f(0x274)]('\x0a');
|
|
1083
1107
|
}
|
|
1084
|
-
function formatCreatedTasks(
|
|
1085
|
-
const
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
},
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
return
|
|
1095
|
-
|
|
1108
|
+
function formatCreatedTasks(_0x322690) {
|
|
1109
|
+
const _0x3721e3 = {
|
|
1110
|
+
_0x362dd6: 0x34b,
|
|
1111
|
+
_0x35be9d: 0x1f4,
|
|
1112
|
+
_0x4ad9a5: 0x27e
|
|
1113
|
+
}, _0x256373 = {
|
|
1114
|
+
_0x56f211: 0x2cd,
|
|
1115
|
+
_0x28f365: 0x2fd
|
|
1116
|
+
}, _0x285a8a = _0x2d2fb4;
|
|
1117
|
+
if (_0x322690[_0x285a8a(_0x3721e3._0x362dd6)] === 0x0)
|
|
1118
|
+
return _0x285a8a(_0x3721e3._0x35be9d);
|
|
1119
|
+
return _0x322690[_0x285a8a(_0x3721e3._0x4ad9a5)](_0x14b18c => {
|
|
1120
|
+
const _0x6427e6 = _0x285a8a, _0x332054 = _0x14b18c[_0x6427e6(_0x256373._0x56f211)] == null ? _0x6427e6(0x2a0) : '#' + _0x14b18c[_0x6427e6(_0x256373._0x56f211)];
|
|
1121
|
+
return _0x332054 + '\x20' + _0x14b18c[_0x6427e6(_0x256373._0x28f365)] + _0x6427e6(0x366) + _0x14b18c[_0x6427e6(0x35c)];
|
|
1122
|
+
})[_0x285a8a(0x274)]('\x0a');
|
|
1096
1123
|
}
|
|
1097
|
-
function formatClaimTaskResults(
|
|
1098
|
-
const
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
_0x484dd1[_0x41cd2e(_0xcf755c._0x584cf5)] ? 'stopMain=true' : null,
|
|
1125
|
-
_0x484dd1[_0x41cd2e(_0xcf755c._0x189e29)] ? _0x41cd2e(0x218) + _0x484dd1[_0x41cd2e(0x234)] : null,
|
|
1126
|
-
_0x484dd1[_0x41cd2e(_0xcf755c._0x5474df)] ? _0x41cd2e(0x21f) + _0x484dd1[_0x41cd2e(_0xcf755c._0x18eb24)] : null,
|
|
1127
|
-
_0x484dd1['workerDisposition'] ? _0x41cd2e(0x152) + _0x484dd1[_0x41cd2e(0x193)] : null
|
|
1128
|
-
][_0x41cd2e(_0xcf755c._0x2e7fbb)](Boolean)[_0x41cd2e(0x297)]('\x20');
|
|
1129
|
-
return _0x3c6edd + _0x41cd2e(0x25b) + _0x3887a4 + '\x20' + _0x2478de + _0x41cd2e(_0xcf755c._0x80b6d6);
|
|
1124
|
+
function formatClaimTaskResults(_0x2b8981) {
|
|
1125
|
+
const _0x3645b0 = { _0x46e85c: 0x274 }, _0x2094cb = {
|
|
1126
|
+
_0x43a829: 0x21b,
|
|
1127
|
+
_0x5d4a9d: 0x35c,
|
|
1128
|
+
_0x33028f: 0x2eb,
|
|
1129
|
+
_0xb5499: 0x252,
|
|
1130
|
+
_0x8513d4: 0x24d,
|
|
1131
|
+
_0x4e2c5f: 0x35a,
|
|
1132
|
+
_0x1ee531: 0x303,
|
|
1133
|
+
_0x328d7b: 0x2d8,
|
|
1134
|
+
_0x40f8df: 0x275
|
|
1135
|
+
}, _0x2ce2fb = _0x2d2fb4;
|
|
1136
|
+
if (_0x2b8981[_0x2ce2fb(0x34b)] === 0x0)
|
|
1137
|
+
return _0x2ce2fb(0x30d);
|
|
1138
|
+
return _0x2b8981['map'](_0x327c23 => {
|
|
1139
|
+
const _0x24b8f2 = _0x2ce2fb;
|
|
1140
|
+
if (_0x327c23[_0x24b8f2(_0x2094cb._0x43a829)]) {
|
|
1141
|
+
const _0x265481 = _0x327c23['taskNumber'] == null ? _0x24b8f2(0x2a0) : '#' + _0x327c23[_0x24b8f2(0x2cd)], _0x42c45f = _0x327c23[_0x24b8f2(_0x2094cb._0x5d4a9d)] ? _0x24b8f2(0x366) + _0x327c23[_0x24b8f2(0x35c)] : '';
|
|
1142
|
+
if (_0x327c23[_0x24b8f2(_0x2094cb._0x33028f)]) {
|
|
1143
|
+
const _0x29f7cd = [
|
|
1144
|
+
_0x24b8f2(0x209),
|
|
1145
|
+
_0x327c23[_0x24b8f2(_0x2094cb._0xb5499)] ? _0x24b8f2(_0x2094cb._0x8513d4) : null,
|
|
1146
|
+
_0x327c23[_0x24b8f2(0x2bb)] ? 'executionMode=' + _0x327c23[_0x24b8f2(0x2bb)] : null,
|
|
1147
|
+
_0x327c23[_0x24b8f2(0x20b)] ? _0x24b8f2(_0x2094cb._0x4e2c5f) + _0x327c23[_0x24b8f2(0x20b)] : null,
|
|
1148
|
+
_0x327c23[_0x24b8f2(0x31d)] ? _0x24b8f2(_0x2094cb._0x1ee531) + _0x327c23[_0x24b8f2(0x31d)] : null
|
|
1149
|
+
][_0x24b8f2(0x1ef)](Boolean)[_0x24b8f2(0x274)]('\x20');
|
|
1150
|
+
return _0x265481 + _0x24b8f2(_0x2094cb._0x328d7b) + _0x42c45f + '\x20' + _0x29f7cd + _0x24b8f2(0x24b);
|
|
1130
1151
|
}
|
|
1131
|
-
const
|
|
1132
|
-
return
|
|
1152
|
+
const _0x16ea37 = _0x327c23[_0x24b8f2(0x325)] ? _0x24b8f2(0x330) + _0x327c23['workerHandoffError'] : '';
|
|
1153
|
+
return _0x265481 + '\x20claimed' + _0x42c45f + _0x16ea37;
|
|
1133
1154
|
}
|
|
1134
|
-
const
|
|
1135
|
-
return
|
|
1136
|
-
})[
|
|
1155
|
+
const _0x3558a2 = _0x327c23[_0x24b8f2(0x2cd)] == null ? _0x327c23['messageId'] ?? _0x24b8f2(0x301) : '#' + _0x327c23['taskNumber'];
|
|
1156
|
+
return _0x3558a2 + '\x20failed:\x20' + (_0x327c23[_0x24b8f2(0x2cf)] ?? _0x24b8f2(_0x2094cb._0x40f8df));
|
|
1157
|
+
})[_0x2ce2fb(_0x3645b0._0x46e85c)]('\x0a');
|
|
1137
1158
|
}
|
|
1138
|
-
function formatUnclaimTaskResult(
|
|
1139
|
-
const
|
|
1140
|
-
|
|
1159
|
+
function formatUnclaimTaskResult(_0x28950c) {
|
|
1160
|
+
const _0x159951 = {
|
|
1161
|
+
_0x257b2f: 0x2a0,
|
|
1162
|
+
_0x19ab0f: 0x2cd
|
|
1163
|
+
}, _0x5d479e = _0x2d2fb4, _0x51d3ca = _0x28950c['taskNumber'] == null ? _0x5d479e(_0x159951._0x257b2f) : '#' + _0x28950c[_0x5d479e(_0x159951._0x19ab0f)];
|
|
1164
|
+
return _0x51d3ca + _0x5d479e(0x2e8) + _0x28950c['status'];
|
|
1141
1165
|
}
|
|
1142
|
-
function formatUpdateTaskStatusResult(
|
|
1143
|
-
const
|
|
1144
|
-
|
|
1166
|
+
function formatUpdateTaskStatusResult(_0x18c5cb) {
|
|
1167
|
+
const _0x42ec0c = {
|
|
1168
|
+
_0x51b6bf: 0x2cd,
|
|
1169
|
+
_0x44c051: 0x2a0,
|
|
1170
|
+
_0x2e5d5b: 0x2e8
|
|
1171
|
+
}, _0x968ff0 = _0x2d2fb4, _0x16e5bd = _0x18c5cb[_0x968ff0(_0x42ec0c._0x51b6bf)] == null ? _0x968ff0(_0x42ec0c._0x44c051) : '#' + _0x18c5cb['taskNumber'];
|
|
1172
|
+
return _0x16e5bd + _0x968ff0(_0x42ec0c._0x2e5d5b) + _0x18c5cb['status'];
|
|
1145
1173
|
}
|
|
1146
1174
|
function getChatBridgeToolDefinitions() {
|
|
1147
|
-
const
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1175
|
+
const _0x58bd1d = {
|
|
1176
|
+
_0x109161: 0x1f1,
|
|
1177
|
+
_0x4a452d: 0x22f,
|
|
1178
|
+
_0x47b26d: 0x29f,
|
|
1179
|
+
_0x2fc548: 0x30a,
|
|
1180
|
+
_0x56f813: 0x2dd,
|
|
1181
|
+
_0x2ebcae: 0x2bd,
|
|
1182
|
+
_0x3e3b90: 0x33d
|
|
1183
|
+
}, _0x220258 = _0x2d2fb4;
|
|
1153
1184
|
return [
|
|
1154
|
-
{ 'name':
|
|
1155
|
-
{ 'name':
|
|
1156
|
-
{ 'name':
|
|
1157
|
-
{ 'name':
|
|
1158
|
-
{ 'name':
|
|
1159
|
-
{ 'name':
|
|
1160
|
-
{ 'name':
|
|
1161
|
-
{ 'name':
|
|
1162
|
-
{ 'name':
|
|
1163
|
-
{ 'name':
|
|
1164
|
-
{ 'name':
|
|
1165
|
-
{ 'name':
|
|
1166
|
-
{ 'name':
|
|
1167
|
-
{ 'name':
|
|
1168
|
-
{ 'name':
|
|
1169
|
-
{ 'name':
|
|
1185
|
+
{ 'name': _0x220258(0x31a) },
|
|
1186
|
+
{ 'name': _0x220258(0x335) },
|
|
1187
|
+
{ 'name': 'read_history' },
|
|
1188
|
+
{ 'name': _0x220258(_0x58bd1d._0x109161) },
|
|
1189
|
+
{ 'name': _0x220258(0x313) },
|
|
1190
|
+
{ 'name': _0x220258(_0x58bd1d._0x4a452d) },
|
|
1191
|
+
{ 'name': _0x220258(_0x58bd1d._0x47b26d) },
|
|
1192
|
+
{ 'name': 'create_tasks' },
|
|
1193
|
+
{ 'name': 'claim_tasks' },
|
|
1194
|
+
{ 'name': _0x220258(_0x58bd1d._0x2fc548) },
|
|
1195
|
+
{ 'name': _0x220258(_0x58bd1d._0x56f813) },
|
|
1196
|
+
{ 'name': 'get_worker_status' },
|
|
1197
|
+
{ 'name': _0x220258(_0x58bd1d._0x2ebcae) },
|
|
1198
|
+
{ 'name': _0x220258(_0x58bd1d._0x3e3b90) },
|
|
1199
|
+
{ 'name': _0x220258(0x236) },
|
|
1200
|
+
{ 'name': _0x220258(0x32d) }
|
|
1170
1201
|
];
|
|
1171
1202
|
}
|
|
1172
|
-
function createChatBridgeHandlers(
|
|
1173
|
-
const
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
},
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1203
|
+
function createChatBridgeHandlers(_0x33c1d0) {
|
|
1204
|
+
const _0x578acf = { _0x5617be: 0x27f }, _0x45c950 = {
|
|
1205
|
+
_0x45f7d2: 0x231,
|
|
1206
|
+
_0x46d923: 0x288,
|
|
1207
|
+
_0x1aad04: 0x231,
|
|
1208
|
+
_0x171373: 0x243,
|
|
1209
|
+
_0x53bbd0: 0x286,
|
|
1210
|
+
_0x23d508: 0x2c2,
|
|
1211
|
+
_0x129475: 0x2cf
|
|
1212
|
+
}, _0x9c661d = {
|
|
1213
|
+
_0x31c225: 0x2a6,
|
|
1214
|
+
_0x259ad5: 0x286,
|
|
1215
|
+
_0x433232: 0x250
|
|
1216
|
+
}, _0xefc654 = {
|
|
1217
|
+
_0x12e3e7: 0x2a6,
|
|
1218
|
+
_0x334aeb: 0x286,
|
|
1219
|
+
_0x1fb9c0: 0x2d5,
|
|
1220
|
+
_0x377f43: 0x227
|
|
1221
|
+
}, _0x1c9892 = {
|
|
1222
|
+
_0x822c07: 0x231,
|
|
1223
|
+
_0x25316d: 0x2c4,
|
|
1224
|
+
_0x4da727: 0x21a,
|
|
1225
|
+
_0x5683dd: 0x356
|
|
1226
|
+
}, _0x546112 = {
|
|
1227
|
+
_0x23eb5a: 0x2b5,
|
|
1228
|
+
_0x3be6a8: 0x206,
|
|
1229
|
+
_0x6aca72: 0x356
|
|
1230
|
+
}, _0x52f58e = {
|
|
1231
|
+
_0x210288: 0x2c3,
|
|
1232
|
+
_0x4e7203: 0x32e,
|
|
1233
|
+
_0x1001d9: 0x21c,
|
|
1234
|
+
_0x2d65fe: 0x369,
|
|
1235
|
+
_0xfb7a0c: 0x268
|
|
1236
|
+
}, _0x362da6 = { _0x4cf253: 0x1ee }, _0x5b2d54 = { _0x7722d5: 0x261 }, _0x100a39 = { _0x5583e9: 0x32e }, _0x3f4542 = {
|
|
1237
|
+
_0x5176ae: 0x23f,
|
|
1238
|
+
_0x3431c5: 0x24c,
|
|
1239
|
+
_0x5c3ad2: 0x27d,
|
|
1240
|
+
_0x4fb72b: 0x27e
|
|
1241
|
+
}, _0x2a9436 = {
|
|
1242
|
+
_0x59f95a: 0x32e,
|
|
1243
|
+
_0x554116: 0x311
|
|
1244
|
+
}, _0x24ce88 = {
|
|
1245
|
+
_0x833bd3: 0x365,
|
|
1246
|
+
_0x568503: 0x1f8,
|
|
1247
|
+
_0x530c3f: 0x266,
|
|
1248
|
+
_0x2db893: 0x28d,
|
|
1249
|
+
_0x27b1e6: 0x34b,
|
|
1250
|
+
_0x466d1a: 0x201,
|
|
1251
|
+
_0x1c5eb7: 0x2cd,
|
|
1252
|
+
_0xf2efc9: 0x2a1,
|
|
1253
|
+
_0x4ca213: 0x2cd,
|
|
1254
|
+
_0x2e9ed8: 0x2cd
|
|
1255
|
+
}, _0x3c1785 = { _0xf2004f: 0x32e }, _0x140d9a = {
|
|
1256
|
+
_0x52135f: 0x32e,
|
|
1257
|
+
_0x50262f: 0x31c,
|
|
1258
|
+
_0x3b8b83: 0x2ca
|
|
1259
|
+
}, _0x15ee46 = {
|
|
1260
|
+
_0x68970d: 0x267,
|
|
1261
|
+
_0x157b3a: 0x250,
|
|
1262
|
+
_0x4787b7: 0x32e,
|
|
1263
|
+
_0x6c83f5: 0x363,
|
|
1264
|
+
_0x10c5a5: 0x363,
|
|
1265
|
+
_0x5223be: 0x26d,
|
|
1266
|
+
_0xb42b0f: 0x1fd,
|
|
1267
|
+
_0x238046: 0x1ff,
|
|
1268
|
+
_0x44cb63: 0x239,
|
|
1269
|
+
_0x3a39ef: 0x264,
|
|
1270
|
+
_0x2c5734: 0x274,
|
|
1271
|
+
_0x4dfe69: 0x2fe,
|
|
1272
|
+
_0x2c11b3: 0x286,
|
|
1273
|
+
_0x3816a1: 0x2c7,
|
|
1274
|
+
_0x1b3472: 0x2b5,
|
|
1275
|
+
_0x10787c: 0x36d,
|
|
1276
|
+
_0x1c52e1: 0x22b,
|
|
1277
|
+
_0x59b5d2: 0x28c,
|
|
1278
|
+
_0x3de60c: 0x33b,
|
|
1279
|
+
_0x4df0fb: 0x2dc,
|
|
1280
|
+
_0x293e08: 0x244,
|
|
1281
|
+
_0x518e2a: 0x336
|
|
1282
|
+
}, _0x157ba2 = {
|
|
1283
|
+
_0x1fa2d2: 0x231,
|
|
1284
|
+
_0x2fd303: 0x367,
|
|
1285
|
+
_0x1e41e6: 0x2b5,
|
|
1286
|
+
_0x8d4f: 0x2ea,
|
|
1287
|
+
_0x426c5f: 0x1fe,
|
|
1288
|
+
_0x4ee535: 0x2a1
|
|
1289
|
+
}, _0x50640b = {
|
|
1290
|
+
_0x28fb66: 0x231,
|
|
1291
|
+
_0x2de335: 0x1fe,
|
|
1292
|
+
_0x3a26ae: 0x2a1,
|
|
1293
|
+
_0x3f0762: 0x28d
|
|
1294
|
+
}, _0x4055ee = {
|
|
1295
|
+
_0x51cd49: 0x365,
|
|
1296
|
+
_0x27d037: 0x26d,
|
|
1297
|
+
_0x312e1b: 0x281,
|
|
1298
|
+
_0x2a5a41: 0x32e,
|
|
1299
|
+
_0x38b2ca: 0x234,
|
|
1300
|
+
_0x56f6ae: 0x1f3,
|
|
1301
|
+
_0x2a9707: 0x320,
|
|
1302
|
+
_0x1caf5d: 0x274,
|
|
1303
|
+
_0x36e3ce: 0x231,
|
|
1304
|
+
_0x4171c0: 0x2fe,
|
|
1305
|
+
_0x45351e: 0x1ed,
|
|
1306
|
+
_0x5b0e02: 0x250,
|
|
1307
|
+
_0x3d8ea7: 0x334,
|
|
1308
|
+
_0x1ebd6f: 0x334,
|
|
1309
|
+
_0x4de011: 0x2e4,
|
|
1310
|
+
_0x5b70f5: 0x33b,
|
|
1311
|
+
_0x382568: 0x354
|
|
1312
|
+
}, _0x2969dd = _0x2d2fb4;
|
|
1313
|
+
async function _0x102280(_0x3cd68e) {
|
|
1314
|
+
const _0x36f0b0 = _0x101e;
|
|
1315
|
+
if (!_0x33c1d0[_0x36f0b0(0x231)] || !_0x33c1d0[_0x36f0b0(0x250)] || _0x33c1d0['workerMode'] || _0x33c1d0[_0x36f0b0(0x267)] !== !![])
|
|
1283
1316
|
return null;
|
|
1284
|
-
const
|
|
1285
|
-
if (
|
|
1317
|
+
const _0x4c3373 = parseTarget(_0x3cd68e['channel']);
|
|
1318
|
+
if (_0x4c3373['kind'] !== _0x36f0b0(_0x4055ee._0x51cd49))
|
|
1286
1319
|
return null;
|
|
1287
|
-
const
|
|
1288
|
-
let
|
|
1320
|
+
const _0x45d98a = _0x3cd68e[_0x36f0b0(_0x4055ee._0x27d037)] != null ? _0x4c3373[_0x36f0b0(_0x4055ee._0x312e1b)] + ':t' + _0x3cd68e['threadNumber'] : _0x4c3373[_0x36f0b0(_0x4055ee._0x312e1b)] + ':' + _0x3cd68e['messageId'];
|
|
1321
|
+
let _0x5542e7;
|
|
1289
1322
|
try {
|
|
1290
|
-
const
|
|
1291
|
-
'channel':
|
|
1323
|
+
const _0x11f350 = await _0x33c1d0[_0x36f0b0(_0x4055ee._0x2a5a41)][_0x36f0b0(_0x4055ee._0x38b2ca)]({
|
|
1324
|
+
'channel': _0x45d98a,
|
|
1292
1325
|
'limit': 0x14
|
|
1293
1326
|
});
|
|
1294
|
-
|
|
1327
|
+
_0x5542e7 = _0x11f350[_0x36f0b0(0x2ca)][_0x36f0b0(0x201)](_0x31fd01 => _0x31fd01[_0x36f0b0(0x35c)] === _0x3cd68e[_0x36f0b0(0x35c)]);
|
|
1295
1328
|
} catch {
|
|
1296
|
-
|
|
1329
|
+
_0x5542e7 = void 0x0;
|
|
1297
1330
|
}
|
|
1298
|
-
const
|
|
1299
|
-
|
|
1331
|
+
const _0x196ae6 = _0x3cd68e[_0x36f0b0(0x2cd)] == null ? _0x36f0b0(0x2a0) : '#' + _0x3cd68e['taskNumber'], _0x57fce9 = [
|
|
1332
|
+
_0x36f0b0(0x24f) + _0x45d98a + _0x36f0b0(0x2d1) + _0x3cd68e[_0x36f0b0(0x35c)]['slice'](0x0, 0x8) + _0x36f0b0(0x30f) + new Date()[_0x36f0b0(_0x4055ee._0x56f6ae)]() + _0x36f0b0(0x319) + _0x196ae6 + _0x36f0b0(_0x4055ee._0x2a9707),
|
|
1300
1333
|
'',
|
|
1301
|
-
|
|
1334
|
+
_0x5542e7 ? _0x36f0b0(0x321) + _0x5542e7['content'] : _0x36f0b0(0x2da) + _0x3cd68e[_0x36f0b0(0x35c)],
|
|
1302
1335
|
'',
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
][
|
|
1306
|
-
'method':
|
|
1307
|
-
'headers': { 'Content-Type':
|
|
1308
|
-
'body': JSON[
|
|
1309
|
-
'agent_id':
|
|
1310
|
-
'thread_target':
|
|
1336
|
+
_0x36f0b0(0x22c) + _0x45d98a,
|
|
1337
|
+
_0x36f0b0(0x2bc)
|
|
1338
|
+
][_0x36f0b0(_0x4055ee._0x1caf5d)]('\x0a'), _0x50c522 = await fetch(_0x33c1d0[_0x36f0b0(_0x4055ee._0x36e3ce)] + _0x36f0b0(_0x4055ee._0x4171c0), {
|
|
1339
|
+
'method': _0x36f0b0(_0x4055ee._0x45351e),
|
|
1340
|
+
'headers': { 'Content-Type': _0x36f0b0(0x2a6) },
|
|
1341
|
+
'body': JSON[_0x36f0b0(0x286)]({
|
|
1342
|
+
'agent_id': _0x33c1d0[_0x36f0b0(_0x4055ee._0x5b0e02)],
|
|
1343
|
+
'thread_target': _0x45d98a,
|
|
1311
1344
|
'spawn_packet': {
|
|
1312
|
-
'replyTarget':
|
|
1313
|
-
...
|
|
1345
|
+
'replyTarget': _0x45d98a,
|
|
1346
|
+
..._0x3cd68e[_0x36f0b0(_0x4055ee._0x3d8ea7)] ? { 'taskId': _0x3cd68e[_0x36f0b0(_0x4055ee._0x1ebd6f)] } : _0x3cd68e[_0x36f0b0(0x2cd)] != null ? { 'taskId': _0x36f0b0(_0x4055ee._0x4de011) + _0x3cd68e[_0x36f0b0(0x2cd)] } : {}
|
|
1314
1347
|
},
|
|
1315
1348
|
'payload': {
|
|
1316
|
-
'mode':
|
|
1317
|
-
'text':
|
|
1349
|
+
'mode': _0x36f0b0(0x2c7),
|
|
1350
|
+
'text': _0x57fce9
|
|
1318
1351
|
}
|
|
1319
1352
|
})
|
|
1320
|
-
}),
|
|
1321
|
-
if (!
|
|
1322
|
-
throw new Error(
|
|
1353
|
+
}), _0x59deea = await _0x50c522[_0x36f0b0(0x2b5)]();
|
|
1354
|
+
if (!_0x59deea['ok'])
|
|
1355
|
+
throw new Error(_0x59deea[_0x36f0b0(0x2d5)] ?? _0x36f0b0(0x310));
|
|
1323
1356
|
return {
|
|
1324
1357
|
'stopMain': !![],
|
|
1325
|
-
'threadTarget':
|
|
1326
|
-
'workerDisposition':
|
|
1358
|
+
'threadTarget': _0x45d98a,
|
|
1359
|
+
'workerDisposition': _0x59deea[_0x36f0b0(_0x4055ee._0x5b70f5)] === 'queued' ? _0x36f0b0(0x2dc) : _0x36f0b0(_0x4055ee._0x382568),
|
|
1327
1360
|
'workerHandoff': !![],
|
|
1328
|
-
'workerSessionId':
|
|
1329
|
-
'executionMode':
|
|
1361
|
+
'workerSessionId': _0x59deea[_0x36f0b0(0x285)] ?? '',
|
|
1362
|
+
'executionMode': 'worker'
|
|
1330
1363
|
};
|
|
1331
1364
|
}
|
|
1332
|
-
async function
|
|
1333
|
-
const
|
|
1334
|
-
if (!
|
|
1365
|
+
async function _0x5589cb() {
|
|
1366
|
+
const _0x273757 = _0x101e;
|
|
1367
|
+
if (!_0x33c1d0[_0x273757(0x231)] || !_0x33c1d0['agentId'] || _0x33c1d0[_0x273757(0x31e)])
|
|
1335
1368
|
return null;
|
|
1336
1369
|
try {
|
|
1337
|
-
const
|
|
1338
|
-
if (!
|
|
1370
|
+
const _0xe8df6 = await fetch(_0x33c1d0[_0x273757(_0x50640b._0x28fb66)] + '/workers/list?agent_id=' + encodeURIComponent(_0x33c1d0['agentId'])), _0x289e8d = await _0xe8df6['json']();
|
|
1371
|
+
if (!_0x289e8d['ok'])
|
|
1339
1372
|
return null;
|
|
1340
|
-
const
|
|
1341
|
-
for (const
|
|
1342
|
-
|
|
1373
|
+
const _0x1d38f5 = new Set();
|
|
1374
|
+
for (const _0x206c6e of _0x289e8d['workers']) {
|
|
1375
|
+
_0x206c6e[_0x273757(_0x50640b._0x2de335)] !== 'destroyed' && _0x206c6e['thread_target'] && _0x1d38f5[_0x273757(_0x50640b._0x3a26ae)](_0x206c6e[_0x273757(_0x50640b._0x3f0762)]);
|
|
1343
1376
|
}
|
|
1344
|
-
return
|
|
1377
|
+
return _0x1d38f5[_0x273757(0x333)] > 0x0 ? _0x1d38f5 : null;
|
|
1345
1378
|
} catch {
|
|
1346
1379
|
return null;
|
|
1347
1380
|
}
|
|
1348
1381
|
}
|
|
1349
|
-
const
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1382
|
+
const _0x2b9299 = new Set([
|
|
1383
|
+
'running',
|
|
1384
|
+
_0x2969dd(0x1f9),
|
|
1385
|
+
_0x2969dd(_0x578acf._0x5617be)
|
|
1353
1386
|
]);
|
|
1354
|
-
async function
|
|
1355
|
-
const
|
|
1356
|
-
if (!
|
|
1387
|
+
async function _0x5206e1() {
|
|
1388
|
+
const _0x1c263f = _0x2969dd;
|
|
1389
|
+
if (!_0x33c1d0[_0x1c263f(_0x157ba2._0x1fa2d2)] || !_0x33c1d0[_0x1c263f(0x250)] || _0x33c1d0[_0x1c263f(0x31e)])
|
|
1357
1390
|
return null;
|
|
1358
1391
|
try {
|
|
1359
|
-
const
|
|
1360
|
-
if (!
|
|
1392
|
+
const _0x259ca8 = await fetch(_0x33c1d0['daemonLocalUrl'] + _0x1c263f(_0x157ba2._0x2fd303) + encodeURIComponent(_0x33c1d0[_0x1c263f(0x250)])), _0x168d27 = await _0x259ca8[_0x1c263f(_0x157ba2._0x1e41e6)]();
|
|
1393
|
+
if (!_0x168d27['ok'])
|
|
1361
1394
|
return null;
|
|
1362
|
-
const
|
|
1363
|
-
for (const
|
|
1364
|
-
|
|
1395
|
+
const _0x7f6ea = new Set();
|
|
1396
|
+
for (const _0x14cc22 of _0x168d27['workers']) {
|
|
1397
|
+
_0x2b9299[_0x1c263f(_0x157ba2._0x8d4f)](_0x14cc22[_0x1c263f(_0x157ba2._0x426c5f)]) && _0x14cc22[_0x1c263f(0x28d)] && _0x7f6ea[_0x1c263f(_0x157ba2._0x4ee535)](_0x14cc22[_0x1c263f(0x28d)]);
|
|
1365
1398
|
}
|
|
1366
|
-
return
|
|
1399
|
+
return _0x7f6ea[_0x1c263f(0x333)] > 0x0 ? _0x7f6ea : null;
|
|
1367
1400
|
} catch {
|
|
1368
1401
|
return null;
|
|
1369
1402
|
}
|
|
1370
1403
|
}
|
|
1371
1404
|
return {
|
|
1372
|
-
async 'send_message'(
|
|
1373
|
-
const
|
|
1374
|
-
if (!
|
|
1375
|
-
const
|
|
1376
|
-
if (
|
|
1377
|
-
const
|
|
1378
|
-
if (
|
|
1405
|
+
async 'send_message'(_0x5e943e) {
|
|
1406
|
+
const _0x5c5682 = _0x2969dd;
|
|
1407
|
+
if (!_0x33c1d0['workerMode'] && _0x33c1d0[_0x5c5682(_0x15ee46._0x68970d)] && _0x33c1d0['daemonLocalUrl'] && _0x33c1d0[_0x5c5682(_0x15ee46._0x157b3a)]) {
|
|
1408
|
+
const _0x4c9201 = await _0x33c1d0[_0x5c5682(_0x15ee46._0x4787b7)]['resolveTarget'](_0x5e943e[_0x5c5682(0x1fd)]);
|
|
1409
|
+
if (_0x4c9201[_0x5c5682(_0x15ee46._0x6c83f5)] && _0x4c9201[_0x5c5682(0x293)]) {
|
|
1410
|
+
const _0x3b824e = _0x4c9201['task']['taskNumber'] != null ? '#' + _0x4c9201[_0x5c5682(_0x15ee46._0x10c5a5)][_0x5c5682(0x2cd)] : _0x5c5682(0x2a0), _0x3876d9 = _0x4c9201[_0x5c5682(_0x15ee46._0x5223be)] != null ? _0x4c9201[_0x5c5682(_0x15ee46._0xb42b0f)] + ':t' + _0x4c9201['threadNumber'] : _0x4c9201[_0x5c5682(_0x15ee46._0xb42b0f)] + ':' + _0x4c9201['threadId']['slice'](0x0, 0x8), _0x46be08 = await _0x5206e1();
|
|
1411
|
+
if (_0x46be08?.[_0x5c5682(0x2ea)](_0x3876d9))
|
|
1379
1412
|
return [
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
][
|
|
1383
|
-
const
|
|
1384
|
-
|
|
1413
|
+
_0x5c5682(0x31f) + _0x3b824e + _0x5c5682(0x22b) + _0x3876d9 + _0x5c5682(_0x15ee46._0x238046),
|
|
1414
|
+
'Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread\x20—\x20the\x20worker\x20is\x20handling\x20it.'
|
|
1415
|
+
][_0x5c5682(0x274)]('\x0a');
|
|
1416
|
+
const _0x3bfe88 = [
|
|
1417
|
+
_0x5c5682(0x24f) + _0x3876d9 + _0x5c5682(0x284) + new Date()[_0x5c5682(0x1f3)]() + _0x5c5682(0x2af),
|
|
1385
1418
|
'',
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
][
|
|
1391
|
-
'method':
|
|
1392
|
-
'headers': { 'Content-Type':
|
|
1393
|
-
'body': JSON[
|
|
1394
|
-
'agent_id':
|
|
1395
|
-
'thread_target':
|
|
1419
|
+
_0x5c5682(0x2c5) + _0x5e943e[_0x5c5682(_0x15ee46._0x44cb63)],
|
|
1420
|
+
_0x5c5682(_0x15ee46._0x3a39ef) + _0x3b824e + '\x20(' + _0x4c9201['task']['taskId'] + ')',
|
|
1421
|
+
'Thread\x20target:\x20' + _0x3876d9,
|
|
1422
|
+
_0x5c5682(0x36a)
|
|
1423
|
+
][_0x5c5682(_0x15ee46._0x2c5734)]('\x0a'), _0x40d3e9 = await fetch(_0x33c1d0['daemonLocalUrl'] + _0x5c5682(_0x15ee46._0x4dfe69), {
|
|
1424
|
+
'method': 'POST',
|
|
1425
|
+
'headers': { 'Content-Type': _0x5c5682(0x2a6) },
|
|
1426
|
+
'body': JSON[_0x5c5682(_0x15ee46._0x2c11b3)]({
|
|
1427
|
+
'agent_id': _0x33c1d0[_0x5c5682(_0x15ee46._0x157b3a)],
|
|
1428
|
+
'thread_target': _0x3876d9,
|
|
1396
1429
|
'spawn_packet': {
|
|
1397
|
-
'replyTarget':
|
|
1398
|
-
'taskId':
|
|
1430
|
+
'replyTarget': _0x3876d9,
|
|
1431
|
+
'taskId': _0x4c9201['task'][_0x5c5682(0x334)]
|
|
1399
1432
|
},
|
|
1400
1433
|
'payload': {
|
|
1401
|
-
'mode':
|
|
1402
|
-
'text':
|
|
1434
|
+
'mode': _0x5c5682(_0x15ee46._0x3816a1),
|
|
1435
|
+
'text': _0x3bfe88
|
|
1403
1436
|
}
|
|
1404
1437
|
})
|
|
1405
|
-
}),
|
|
1406
|
-
if (!
|
|
1407
|
-
throw new Error(
|
|
1438
|
+
}), _0x232028 = await _0x40d3e9[_0x5c5682(_0x15ee46._0x1b3472)]();
|
|
1439
|
+
if (!_0x232028['ok'])
|
|
1440
|
+
throw new Error(_0x232028[_0x5c5682(0x2d5)] ?? _0x5c5682(_0x15ee46._0x10787c));
|
|
1408
1441
|
return [
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1442
|
+
_0x5c5682(0x2c9) + _0x3b824e + _0x5c5682(_0x15ee46._0x1c52e1) + _0x3876d9 + _0x5c5682(_0x15ee46._0x59b5d2),
|
|
1443
|
+
_0x5c5682(0x2e6) + (_0x232028[_0x5c5682(_0x15ee46._0x3de60c)] === _0x5c5682(_0x15ee46._0x4df0fb) ? _0x5c5682(0x2dc) : _0x5c5682(0x354)) + '.',
|
|
1444
|
+
_0x5c5682(0x312)
|
|
1412
1445
|
]['join']('\x0a');
|
|
1413
1446
|
}
|
|
1414
1447
|
}
|
|
1415
|
-
const
|
|
1416
|
-
'attachmentIds':
|
|
1417
|
-
'content':
|
|
1418
|
-
'target':
|
|
1419
|
-
'visibility':
|
|
1448
|
+
const _0x2958d1 = await _0x33c1d0[_0x5c5682(_0x15ee46._0x4787b7)][_0x5c5682(_0x15ee46._0x293e08)]({
|
|
1449
|
+
'attachmentIds': _0x5e943e[_0x5c5682(_0x15ee46._0x518e2a)],
|
|
1450
|
+
'content': _0x5e943e['content'],
|
|
1451
|
+
'target': _0x5e943e[_0x5c5682(_0x15ee46._0xb42b0f)],
|
|
1452
|
+
'visibility': _0x5e943e['visibility']
|
|
1420
1453
|
});
|
|
1421
|
-
return
|
|
1454
|
+
return _0x5c5682(0x20d) + _0x5e943e[_0x5c5682(0x1fd)] + _0x5c5682(0x2b3) + _0x2958d1[_0x5c5682(0x35c)];
|
|
1422
1455
|
},
|
|
1423
1456
|
async 'check_messages'() {
|
|
1424
|
-
const
|
|
1425
|
-
if (!
|
|
1426
|
-
const
|
|
1427
|
-
if (
|
|
1428
|
-
return formatCheckMessages(
|
|
1457
|
+
const _0x204716 = _0x2969dd, _0x49e5c5 = await _0x33c1d0[_0x204716(_0x140d9a._0x52135f)][_0x204716(_0x140d9a._0x50262f)]();
|
|
1458
|
+
if (!_0x33c1d0['workerMode']) {
|
|
1459
|
+
const _0x1699b9 = await _0x5589cb();
|
|
1460
|
+
if (_0x1699b9)
|
|
1461
|
+
return formatCheckMessages(_0x49e5c5[_0x204716(_0x140d9a._0x3b8b83)][_0x204716(0x1ef)](_0xb09f9b => !_0x1699b9[_0x204716(0x2ea)](_0xb09f9b[_0x204716(0x1fd)])));
|
|
1429
1462
|
}
|
|
1430
|
-
return formatCheckMessages(
|
|
1463
|
+
return formatCheckMessages(_0x49e5c5[_0x204716(0x2ca)]);
|
|
1431
1464
|
},
|
|
1432
|
-
async 'read_history'(
|
|
1433
|
-
const
|
|
1434
|
-
return formatHistory(
|
|
1465
|
+
async 'read_history'(_0x2ad0f5) {
|
|
1466
|
+
const _0x2bd75c = _0x2969dd, _0x4081dd = await _0x33c1d0[_0x2bd75c(0x32e)]['readHistory'](_0x2ad0f5);
|
|
1467
|
+
return formatHistory(_0x4081dd);
|
|
1435
1468
|
},
|
|
1436
1469
|
async 'list_server'() {
|
|
1437
|
-
const
|
|
1438
|
-
return formatServerDirectory(
|
|
1470
|
+
const _0xe6f55c = _0x2969dd, _0x5efaaf = await _0x33c1d0[_0xe6f55c(_0x3c1785._0xf2004f)][_0xe6f55c(0x2d3)]();
|
|
1471
|
+
return formatServerDirectory(_0x5efaaf);
|
|
1439
1472
|
},
|
|
1440
|
-
async 'list_tasks'(
|
|
1441
|
-
const
|
|
1442
|
-
let
|
|
1443
|
-
if (
|
|
1473
|
+
async 'list_tasks'(_0x821610) {
|
|
1474
|
+
const _0x4c9e5d = _0x2969dd, _0x5b4d54 = await _0x33c1d0['client'][_0x4c9e5d(0x307)](_0x821610);
|
|
1475
|
+
let _0x477968;
|
|
1476
|
+
if (_0x33c1d0['daemonLocalUrl'] && _0x33c1d0[_0x4c9e5d(0x250)])
|
|
1444
1477
|
try {
|
|
1445
|
-
const
|
|
1446
|
-
if (
|
|
1447
|
-
const
|
|
1448
|
-
|
|
1449
|
-
for (const
|
|
1450
|
-
if (
|
|
1478
|
+
const _0x45893f = await fetch(_0x33c1d0['daemonLocalUrl'] + '/workers/list?agent_id=' + encodeURIComponent(_0x33c1d0['agentId'])), _0x5d646f = await _0x45893f['json']();
|
|
1479
|
+
if (_0x5d646f['ok']) {
|
|
1480
|
+
const _0x2ba0c7 = _0x821610[_0x4c9e5d(_0x24ce88._0x833bd3)] + ':';
|
|
1481
|
+
_0x477968 = new Set();
|
|
1482
|
+
for (const _0x38541d of _0x5d646f[_0x4c9e5d(0x217)]) {
|
|
1483
|
+
if (_0x38541d[_0x4c9e5d(0x1fe)] === _0x4c9e5d(_0x24ce88._0x568503))
|
|
1451
1484
|
continue;
|
|
1452
|
-
if (
|
|
1453
|
-
const
|
|
1454
|
-
if (
|
|
1455
|
-
|
|
1485
|
+
if (_0x38541d['thread_target']?.[_0x4c9e5d(_0x24ce88._0x530c3f)](_0x2ba0c7)) {
|
|
1486
|
+
const _0x2ba25a = _0x38541d[_0x4c9e5d(_0x24ce88._0x2db893)][_0x4c9e5d(0x33f)](_0x2ba0c7[_0x4c9e5d(_0x24ce88._0x27b1e6)]), _0x4f9646 = _0x5b4d54['tasks'][_0x4c9e5d(_0x24ce88._0x466d1a)](_0x17afda => _0x17afda['messageId']?.[_0x4c9e5d(0x266)](_0x2ba25a) === !![]);
|
|
1487
|
+
if (_0x4f9646?.[_0x4c9e5d(_0x24ce88._0x1c5eb7)] != null) {
|
|
1488
|
+
_0x477968[_0x4c9e5d(_0x24ce88._0xf2efc9)](_0x4f9646[_0x4c9e5d(_0x24ce88._0x4ca213)]);
|
|
1456
1489
|
continue;
|
|
1457
1490
|
}
|
|
1458
1491
|
}
|
|
1459
|
-
if (
|
|
1460
|
-
const
|
|
1461
|
-
|
|
1492
|
+
if (_0x38541d[_0x4c9e5d(0x287)]) {
|
|
1493
|
+
const _0x2f3c99 = _0x5b4d54['tasks']['find'](_0x45d13f => _0x45d13f['taskId'] === _0x38541d['task_id']);
|
|
1494
|
+
_0x2f3c99?.['taskNumber'] != null && _0x477968['add'](_0x2f3c99[_0x4c9e5d(_0x24ce88._0x2e9ed8)]);
|
|
1462
1495
|
}
|
|
1463
1496
|
}
|
|
1464
1497
|
}
|
|
1465
1498
|
} catch {
|
|
1466
1499
|
}
|
|
1467
|
-
return formatTaskList(
|
|
1500
|
+
return formatTaskList(_0x5b4d54['tasks'], _0x477968);
|
|
1468
1501
|
},
|
|
1469
|
-
async 'create_tasks'(
|
|
1470
|
-
const
|
|
1471
|
-
return formatCreatedTasks(
|
|
1502
|
+
async 'create_tasks'(_0x289218) {
|
|
1503
|
+
const _0x3d3487 = _0x2969dd, _0x46345a = await _0x33c1d0[_0x3d3487(_0x2a9436._0x59f95a)][_0x3d3487(0x276)](_0x289218);
|
|
1504
|
+
return formatCreatedTasks(_0x46345a[_0x3d3487(_0x2a9436._0x554116)]);
|
|
1472
1505
|
},
|
|
1473
|
-
async 'claim_tasks'(
|
|
1474
|
-
const
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1506
|
+
async 'claim_tasks'(_0x12226e) {
|
|
1507
|
+
const _0x3f9d69 = {
|
|
1508
|
+
_0x74f905: 0x21b,
|
|
1509
|
+
_0x4a0917: 0x365,
|
|
1510
|
+
_0x2bed6e: 0x2cd,
|
|
1511
|
+
_0x45fae4: 0x26d,
|
|
1512
|
+
_0x47d3d8: 0x310
|
|
1513
|
+
}, _0x7e1cd = _0x2969dd, _0x6c739d = await _0x33c1d0[_0x7e1cd(0x32e)][_0x7e1cd(_0x3f4542._0x5176ae)](_0x12226e), _0x344305 = await Promise[_0x7e1cd(_0x3f4542._0x3431c5)](_0x6c739d[_0x7e1cd(_0x3f4542._0x5c3ad2)][_0x7e1cd(_0x3f4542._0x4fb72b)](async _0x4caac9 => {
|
|
1514
|
+
const _0x1ccb89 = _0x7e1cd;
|
|
1515
|
+
if (!_0x4caac9[_0x1ccb89(_0x3f9d69._0x74f905)] || !_0x4caac9[_0x1ccb89(0x35c)])
|
|
1516
|
+
return _0x4caac9;
|
|
1478
1517
|
try {
|
|
1479
|
-
const
|
|
1480
|
-
'channel':
|
|
1481
|
-
'messageId':
|
|
1482
|
-
'taskId':
|
|
1483
|
-
'taskNumber':
|
|
1484
|
-
'threadNumber':
|
|
1518
|
+
const _0x55ca4d = await _0x102280({
|
|
1519
|
+
'channel': _0x12226e[_0x1ccb89(_0x3f9d69._0x4a0917)],
|
|
1520
|
+
'messageId': _0x4caac9[_0x1ccb89(0x35c)],
|
|
1521
|
+
'taskId': _0x4caac9[_0x1ccb89(0x334)],
|
|
1522
|
+
'taskNumber': _0x4caac9[_0x1ccb89(_0x3f9d69._0x2bed6e)],
|
|
1523
|
+
'threadNumber': _0x4caac9[_0x1ccb89(_0x3f9d69._0x45fae4)]
|
|
1485
1524
|
});
|
|
1486
|
-
return
|
|
1487
|
-
...
|
|
1488
|
-
...
|
|
1489
|
-
} :
|
|
1490
|
-
} catch (
|
|
1525
|
+
return _0x55ca4d ? {
|
|
1526
|
+
..._0x4caac9,
|
|
1527
|
+
..._0x55ca4d
|
|
1528
|
+
} : _0x4caac9;
|
|
1529
|
+
} catch (_0x3d1392) {
|
|
1491
1530
|
return {
|
|
1492
|
-
...
|
|
1493
|
-
'workerHandoffError':
|
|
1531
|
+
..._0x4caac9,
|
|
1532
|
+
'workerHandoffError': _0x3d1392 instanceof Error ? _0x3d1392[_0x1ccb89(0x27c)] : _0x1ccb89(_0x3f9d69._0x47d3d8)
|
|
1494
1533
|
};
|
|
1495
1534
|
}
|
|
1496
1535
|
}));
|
|
1497
|
-
return formatClaimTaskResults(
|
|
1536
|
+
return formatClaimTaskResults(_0x344305);
|
|
1498
1537
|
},
|
|
1499
|
-
async 'unclaim_task'(
|
|
1500
|
-
const
|
|
1501
|
-
return formatUnclaimTaskResult(
|
|
1538
|
+
async 'unclaim_task'(_0x3203d7) {
|
|
1539
|
+
const _0xdcedc8 = _0x2969dd, _0x12894e = await _0x33c1d0[_0xdcedc8(_0x100a39._0x5583e9)]['unclaimTask'](_0x3203d7);
|
|
1540
|
+
return formatUnclaimTaskResult(_0x12894e);
|
|
1502
1541
|
},
|
|
1503
|
-
async 'update_task_status'(
|
|
1504
|
-
const
|
|
1505
|
-
return formatUpdateTaskStatusResult(
|
|
1542
|
+
async 'update_task_status'(_0x5a467a) {
|
|
1543
|
+
const _0x614511 = _0x2969dd, _0x260a91 = await _0x33c1d0['client'][_0x614511(_0x5b2d54._0x7722d5)](_0x5a467a);
|
|
1544
|
+
return formatUpdateTaskStatusResult(_0x260a91);
|
|
1506
1545
|
},
|
|
1507
|
-
async 'upload_file'(
|
|
1508
|
-
const
|
|
1509
|
-
sizeBytes:
|
|
1510
|
-
...
|
|
1511
|
-
} =
|
|
1512
|
-
'channel':
|
|
1513
|
-
...
|
|
1546
|
+
async 'upload_file'(_0x254606) {
|
|
1547
|
+
const _0xd68a2a = _0x2969dd, _0x3a1482 = await _0x33c1d0[_0xd68a2a(_0x362da6._0x4cf253)](_0x254606[_0xd68a2a(0x36b)]), {
|
|
1548
|
+
sizeBytes: _0x122552,
|
|
1549
|
+
..._0x28ff6e
|
|
1550
|
+
} = _0x3a1482, _0xb0ea92 = await _0x33c1d0['client']['uploadFile']({
|
|
1551
|
+
'channel': _0x254606[_0xd68a2a(0x365)],
|
|
1552
|
+
..._0x28ff6e
|
|
1514
1553
|
});
|
|
1515
|
-
return formatUploadResult(
|
|
1554
|
+
return formatUploadResult(_0xb0ea92);
|
|
1516
1555
|
},
|
|
1517
|
-
async 'view_file'(
|
|
1518
|
-
const
|
|
1519
|
-
if (
|
|
1520
|
-
return formatViewFileResult(
|
|
1521
|
-
const
|
|
1522
|
-
'attachmentId':
|
|
1523
|
-
'contentType':
|
|
1524
|
-
'data':
|
|
1525
|
-
'originalFilename':
|
|
1556
|
+
async 'view_file'(_0x5511b1) {
|
|
1557
|
+
const _0x3e0a55 = _0x2969dd, _0x1d00ab = await _0x33c1d0[_0x3e0a55(_0x52f58e._0x210288)][_0x3e0a55(0x34c)](_0x5511b1[_0x3e0a55(0x2ed)]);
|
|
1558
|
+
if (_0x1d00ab)
|
|
1559
|
+
return formatViewFileResult(_0x1d00ab, !![]);
|
|
1560
|
+
const _0x59c8eb = await _0x33c1d0[_0x3e0a55(_0x52f58e._0x4e7203)][_0x3e0a55(_0x52f58e._0x1001d9)](_0x5511b1[_0x3e0a55(0x2ed)]), _0x9fe9cc = await _0x33c1d0['attachmentCache']['save']({
|
|
1561
|
+
'attachmentId': _0x5511b1['attachment_id'],
|
|
1562
|
+
'contentType': _0x59c8eb[_0x3e0a55(0x328)],
|
|
1563
|
+
'data': _0x59c8eb[_0x3e0a55(_0x52f58e._0x2d65fe)],
|
|
1564
|
+
'originalFilename': _0x59c8eb[_0x3e0a55(_0x52f58e._0xfb7a0c)]
|
|
1526
1565
|
});
|
|
1527
|
-
return formatViewFileResult(
|
|
1566
|
+
return formatViewFileResult(_0x9fe9cc, ![]);
|
|
1528
1567
|
},
|
|
1529
|
-
async 'get_worker_status'(
|
|
1530
|
-
const
|
|
1531
|
-
if (!
|
|
1532
|
-
return
|
|
1533
|
-
const
|
|
1534
|
-
if (!
|
|
1535
|
-
return
|
|
1536
|
-
return
|
|
1568
|
+
async 'get_worker_status'(_0x1b3ab7) {
|
|
1569
|
+
const _0x2bdc4f = _0x2969dd;
|
|
1570
|
+
if (!_0x33c1d0['daemonLocalUrl'])
|
|
1571
|
+
return _0x2bdc4f(0x288);
|
|
1572
|
+
const _0x23cba9 = await fetch(_0x33c1d0[_0x2bdc4f(0x231)] + _0x2bdc4f(0x205) + encodeURIComponent(_0x1b3ab7['work_key'])), _0x57f6c5 = await _0x23cba9[_0x2bdc4f(_0x546112._0x23eb5a)]();
|
|
1573
|
+
if (!_0x57f6c5['ok'])
|
|
1574
|
+
return _0x2bdc4f(0x206) + _0x1b3ab7['work_key'] + _0x2bdc4f(0x2d0);
|
|
1575
|
+
return _0x2bdc4f(_0x546112._0x3be6a8) + _0x1b3ab7[_0x2bdc4f(_0x546112._0x6aca72)] + _0x2bdc4f(0x36c) + _0x57f6c5[_0x2bdc4f(0x1fe)];
|
|
1537
1576
|
},
|
|
1538
|
-
async 'get_worker_result'(
|
|
1539
|
-
const
|
|
1540
|
-
if (!
|
|
1541
|
-
return
|
|
1542
|
-
const
|
|
1543
|
-
if (!
|
|
1544
|
-
return
|
|
1545
|
-
return JSON[
|
|
1577
|
+
async 'get_worker_result'(_0x2bc8d2) {
|
|
1578
|
+
const _0x23cc67 = _0x2969dd;
|
|
1579
|
+
if (!_0x33c1d0[_0x23cc67(_0x1c9892._0x822c07)])
|
|
1580
|
+
return 'Worker\x20features\x20not\x20available';
|
|
1581
|
+
const _0x2af2cb = await fetch(_0x33c1d0[_0x23cc67(0x231)] + _0x23cc67(0x327) + encodeURIComponent(_0x2bc8d2['work_key'])), _0x3aa215 = await _0x2af2cb['json']();
|
|
1582
|
+
if (!_0x3aa215[_0x23cc67(_0x1c9892._0x25316d)])
|
|
1583
|
+
return _0x23cc67(_0x1c9892._0x4da727) + _0x2bc8d2[_0x23cc67(_0x1c9892._0x5683dd)] + '\x22';
|
|
1584
|
+
return JSON[_0x23cc67(0x286)](_0x3aa215['resume_packet'], null, 0x2);
|
|
1546
1585
|
},
|
|
1547
|
-
async 'finish_worker'(
|
|
1548
|
-
const
|
|
1549
|
-
if (!
|
|
1550
|
-
return
|
|
1551
|
-
const
|
|
1552
|
-
'method':
|
|
1553
|
-
'headers': { 'Content-Type':
|
|
1554
|
-
'body': JSON[
|
|
1555
|
-
'work_key':
|
|
1586
|
+
async 'finish_worker'(_0x3dcc14) {
|
|
1587
|
+
const _0x4d2358 = _0x2969dd;
|
|
1588
|
+
if (!_0x33c1d0['daemonLocalUrl'])
|
|
1589
|
+
return _0x4d2358(0x288);
|
|
1590
|
+
const _0x131a18 = await fetch(_0x33c1d0['daemonLocalUrl'] + _0x4d2358(0x221), {
|
|
1591
|
+
'method': _0x4d2358(0x1ed),
|
|
1592
|
+
'headers': { 'Content-Type': _0x4d2358(_0xefc654._0x12e3e7) },
|
|
1593
|
+
'body': JSON[_0x4d2358(_0xefc654._0x334aeb)]({
|
|
1594
|
+
'work_key': _0x3dcc14['work_key'],
|
|
1556
1595
|
'resume_packet': {
|
|
1557
1596
|
'objective': '',
|
|
1558
|
-
'result':
|
|
1559
|
-
'summary':
|
|
1560
|
-
'decisions':
|
|
1561
|
-
'filesChanged':
|
|
1562
|
-
'openIssues':
|
|
1563
|
-
'nextSteps':
|
|
1597
|
+
'result': _0x3dcc14['result'],
|
|
1598
|
+
'summary': _0x3dcc14['summary'],
|
|
1599
|
+
'decisions': _0x3dcc14['decisions'] ?? [],
|
|
1600
|
+
'filesChanged': _0x3dcc14[_0x4d2358(0x297)] ?? [],
|
|
1601
|
+
'openIssues': _0x3dcc14['open_issues'] ?? [],
|
|
1602
|
+
'nextSteps': _0x3dcc14[_0x4d2358(0x2f9)] ?? []
|
|
1564
1603
|
}
|
|
1565
1604
|
})
|
|
1566
|
-
}),
|
|
1567
|
-
if (!
|
|
1568
|
-
throw new Error(
|
|
1569
|
-
return
|
|
1605
|
+
}), _0x481d6d = await _0x131a18[_0x4d2358(0x2b5)]();
|
|
1606
|
+
if (!_0x481d6d['ok'])
|
|
1607
|
+
throw new Error(_0x481d6d[_0x4d2358(_0xefc654._0x1fb9c0)] ?? 'finish_worker\x20failed');
|
|
1608
|
+
return 'Worker\x20\x22' + _0x3dcc14['work_key'] + _0x4d2358(_0xefc654._0x377f43) + _0x3dcc14['result'];
|
|
1570
1609
|
},
|
|
1571
|
-
async 'mark_waiting_input'(
|
|
1572
|
-
const
|
|
1573
|
-
if (!
|
|
1574
|
-
return
|
|
1575
|
-
const
|
|
1610
|
+
async 'mark_waiting_input'(_0x2f1302) {
|
|
1611
|
+
const _0x14e2ba = _0x2969dd;
|
|
1612
|
+
if (!_0x33c1d0[_0x14e2ba(0x231)] || !_0x33c1d0['agentId'])
|
|
1613
|
+
return _0x14e2ba(0x20f);
|
|
1614
|
+
const _0xe85e18 = await fetch(_0x33c1d0['daemonLocalUrl'] + _0x14e2ba(0x323), {
|
|
1576
1615
|
'method': 'POST',
|
|
1577
|
-
'headers': { 'Content-Type':
|
|
1578
|
-
'body': JSON[
|
|
1579
|
-
'work_key':
|
|
1580
|
-
'agent_id':
|
|
1616
|
+
'headers': { 'Content-Type': _0x14e2ba(_0x9c661d._0x31c225) },
|
|
1617
|
+
'body': JSON[_0x14e2ba(_0x9c661d._0x259ad5)]({
|
|
1618
|
+
'work_key': _0x2f1302['work_key'],
|
|
1619
|
+
'agent_id': _0x33c1d0[_0x14e2ba(_0x9c661d._0x433232)]
|
|
1581
1620
|
})
|
|
1582
|
-
}),
|
|
1583
|
-
if (!
|
|
1584
|
-
throw new Error(
|
|
1585
|
-
return
|
|
1621
|
+
}), _0x456ba7 = await _0xe85e18[_0x14e2ba(0x2b5)]();
|
|
1622
|
+
if (!_0x456ba7['ok'])
|
|
1623
|
+
throw new Error(_0x456ba7[_0x14e2ba(0x2d5)] ?? _0x14e2ba(0x2be));
|
|
1624
|
+
return 'Worker\x20\x22' + _0x2f1302[_0x14e2ba(0x356)] + '\x22\x20marked\x20as\x20waiting_input.\x20TTL\x20timer\x20paused\x20until\x20next\x20message\x20arrives.';
|
|
1586
1625
|
},
|
|
1587
|
-
async 'escalate_to_main'(
|
|
1588
|
-
const
|
|
1589
|
-
if (!
|
|
1590
|
-
return
|
|
1591
|
-
const
|
|
1592
|
-
'method':
|
|
1593
|
-
'headers': { 'Content-Type':
|
|
1594
|
-
'body': JSON[
|
|
1595
|
-
'work_key':
|
|
1596
|
-
'reason':
|
|
1626
|
+
async 'escalate_to_main'(_0x226016) {
|
|
1627
|
+
const _0x5d5581 = _0x2969dd;
|
|
1628
|
+
if (!_0x33c1d0[_0x5d5581(_0x45c950._0x45f7d2)])
|
|
1629
|
+
return _0x5d5581(_0x45c950._0x46d923);
|
|
1630
|
+
const _0x3d55f8 = await fetch(_0x33c1d0[_0x5d5581(_0x45c950._0x1aad04)] + _0x5d5581(_0x45c950._0x171373), {
|
|
1631
|
+
'method': _0x5d5581(0x1ed),
|
|
1632
|
+
'headers': { 'Content-Type': _0x5d5581(0x2a6) },
|
|
1633
|
+
'body': JSON[_0x5d5581(_0x45c950._0x53bbd0)]({
|
|
1634
|
+
'work_key': _0x226016[_0x5d5581(0x356)],
|
|
1635
|
+
'reason': _0x226016[_0x5d5581(0x2cf)]
|
|
1597
1636
|
})
|
|
1598
|
-
}),
|
|
1599
|
-
if (!
|
|
1600
|
-
throw new Error(
|
|
1601
|
-
return
|
|
1637
|
+
}), _0x493262 = await _0x3d55f8[_0x5d5581(0x2b5)]();
|
|
1638
|
+
if (!_0x493262['ok'])
|
|
1639
|
+
throw new Error(_0x493262['error'] ?? 'escalate_to_main\x20failed');
|
|
1640
|
+
return _0x5d5581(_0x45c950._0x23d508) + _0x226016[_0x5d5581(_0x45c950._0x129475)];
|
|
1602
1641
|
}
|
|
1603
1642
|
};
|
|
1604
1643
|
}
|
|
1605
|
-
function textResult(
|
|
1644
|
+
function textResult(_0x3b903f, _0x2350cf = ![]) {
|
|
1606
1645
|
return {
|
|
1607
1646
|
'content': [{
|
|
1608
1647
|
'type': 'text',
|
|
1609
|
-
'text':
|
|
1648
|
+
'text': _0x3b903f
|
|
1610
1649
|
}],
|
|
1611
|
-
...
|
|
1650
|
+
..._0x2350cf ? { 'isError': !![] } : {}
|
|
1612
1651
|
};
|
|
1613
1652
|
}
|
|
1614
|
-
function
|
|
1615
|
-
const
|
|
1616
|
-
|
|
1653
|
+
async function registerChatBridgeTools(_0x56548a, _0xd84252, _0x50b88d) {
|
|
1654
|
+
const _0x5ed8e8 = {
|
|
1655
|
+
_0x16deac: 0x202,
|
|
1656
|
+
_0x5f38be: 0x344,
|
|
1657
|
+
_0xe236a7: 0x255,
|
|
1658
|
+
_0x10ffe7: 0x353,
|
|
1659
|
+
_0x9a5619: 0x2a5,
|
|
1660
|
+
_0x659e57: 0x31b,
|
|
1661
|
+
_0x27dbd1: 0x32f,
|
|
1662
|
+
_0x2b7848: 0x2cc,
|
|
1663
|
+
_0x2e2257: 0x28b,
|
|
1664
|
+
_0x3ee669: 0x344,
|
|
1665
|
+
_0x49f360: 0x294,
|
|
1666
|
+
_0x3c4ee3: 0x1f6,
|
|
1667
|
+
_0x5a0855: 0x22e,
|
|
1668
|
+
_0x152891: 0x31b,
|
|
1669
|
+
_0x35f74a: 0x353,
|
|
1670
|
+
_0x2db59b: 0x2a5,
|
|
1671
|
+
_0x2aacd1: 0x272,
|
|
1672
|
+
_0xa127c8: 0x31b,
|
|
1673
|
+
_0x31a411: 0x344,
|
|
1674
|
+
_0x6bb968: 0x2ee,
|
|
1675
|
+
_0x3454d4: 0x31b,
|
|
1676
|
+
_0x5422c6: 0x2dd,
|
|
1677
|
+
_0x4d7189: 0x279,
|
|
1678
|
+
_0x2d1c14: 0x33e,
|
|
1679
|
+
_0x3e34d7: 0x329,
|
|
1680
|
+
_0x7b0228: 0x313,
|
|
1681
|
+
_0x238e57: 0x23b,
|
|
1682
|
+
_0x11dc57: 0x22f,
|
|
1683
|
+
_0x25d01a: 0x296,
|
|
1684
|
+
_0x2a6cd8: 0x344,
|
|
1685
|
+
_0x85fa43: 0x2ec,
|
|
1686
|
+
_0x298cfa: 0x360,
|
|
1687
|
+
_0x3a4ece: 0x200,
|
|
1688
|
+
_0xb8fb04: 0x31b,
|
|
1689
|
+
_0x369c76: 0x353,
|
|
1690
|
+
_0x672f6d: 0x271,
|
|
1691
|
+
_0x1c9c21: 0x31e
|
|
1692
|
+
}, _0x32fdf7 = { _0xfc0bcf: 0x2be }, _0x38f44d = { _0x427ffb: 0x33d }, _0x46136b = {
|
|
1693
|
+
_0x1f41d5: 0x2bd,
|
|
1694
|
+
_0x2e20b3: 0x27c,
|
|
1695
|
+
_0x21daa3: 0x2ff
|
|
1696
|
+
}, _0x54a8d4 = {
|
|
1697
|
+
_0x1c3bc4: 0x296,
|
|
1698
|
+
_0x431854: 0x25f
|
|
1699
|
+
}, _0x588eb0 = { _0x42dc5c: 0x27c }, _0x2cce43 = { _0x47de83: 0x313 }, _0x247de4 = {
|
|
1700
|
+
_0x393762: 0x27c,
|
|
1701
|
+
_0x673b2f: 0x355
|
|
1702
|
+
}, _0x4866c5 = {
|
|
1703
|
+
_0x522d32: 0x27c,
|
|
1704
|
+
_0x674126: 0x2d9
|
|
1705
|
+
}, _0x353db1 = {
|
|
1706
|
+
_0x3b23df: 0x2d4,
|
|
1707
|
+
_0x3c17bd: 0x27c
|
|
1708
|
+
}, _0x3441d0 = { _0x3b7fcd: 0x27c }, _0x13d453 = { _0x247a54: 0x27c }, _0x32e08c = { _0x543cde: 0x34f }, _0x9c6e14 = { _0x170143: 0x27c }, _0x5f4255 = {
|
|
1709
|
+
_0x561000: 0x335,
|
|
1710
|
+
_0x4e2f23: 0x27c
|
|
1711
|
+
}, _0x193c2f = { _0x7046b5: 0x27c }, _0x6e3103 = _0x2d2fb4, {z: _0x599697} = await import(_0x6e3103(_0x5ed8e8._0x16deac));
|
|
1712
|
+
_0x56548a[_0x6e3103(_0x5ed8e8._0x5f38be)]('send_message', _0x6e3103(_0x5ed8e8._0xe236a7), {
|
|
1713
|
+
'target': _0x599697[_0x6e3103(0x2a5)](),
|
|
1714
|
+
'content': _0x599697['string'](),
|
|
1715
|
+
'attachment_ids': _0x599697[_0x6e3103(_0x5ed8e8._0x10ffe7)](_0x599697[_0x6e3103(_0x5ed8e8._0x9a5619)]())[_0x6e3103(_0x5ed8e8._0x659e57)](),
|
|
1716
|
+
'visibility': _0x599697[_0x6e3103(0x294)]([
|
|
1717
|
+
_0x6e3103(_0x5ed8e8._0x27dbd1),
|
|
1718
|
+
_0x6e3103(0x30c)
|
|
1719
|
+
])['optional']()[_0x6e3103(0x351)](_0x6e3103(_0x5ed8e8._0x2b7848))
|
|
1720
|
+
}, async _0x2e8275 => {
|
|
1721
|
+
const _0x3e8177 = _0x6e3103;
|
|
1722
|
+
try {
|
|
1723
|
+
return textResult(await _0xd84252['send_message'](_0x2e8275));
|
|
1724
|
+
} catch (_0xd4b6bb) {
|
|
1725
|
+
return textResult(_0xd4b6bb instanceof Error ? _0xd4b6bb[_0x3e8177(_0x193c2f._0x7046b5)] : 'send_message\x20failed', !![]);
|
|
1726
|
+
}
|
|
1727
|
+
}), _0x56548a[_0x6e3103(0x344)](_0x6e3103(0x335), 'Check\x20for\x20new\x20messages\x20without\x20waiting.', {}, async () => {
|
|
1728
|
+
const _0x210b18 = _0x6e3103;
|
|
1729
|
+
try {
|
|
1730
|
+
return textResult(await _0xd84252[_0x210b18(_0x5f4255._0x561000)]());
|
|
1731
|
+
} catch (_0x35faf7) {
|
|
1732
|
+
return textResult(_0x35faf7 instanceof Error ? _0x35faf7[_0x210b18(_0x5f4255._0x4e2f23)] : 'check_messages\x20failed', !![]);
|
|
1733
|
+
}
|
|
1734
|
+
}), _0x56548a['tool'](_0x6e3103(0x338), _0x6e3103(0x246), {
|
|
1735
|
+
'channel': _0x599697[_0x6e3103(0x2a5)](),
|
|
1736
|
+
'limit': _0x599697['number']()['optional'](),
|
|
1737
|
+
'before': _0x599697[_0x6e3103(_0x5ed8e8._0x2e2257)]()[_0x6e3103(0x31b)](),
|
|
1738
|
+
'after': _0x599697[_0x6e3103(_0x5ed8e8._0x2e2257)]()[_0x6e3103(_0x5ed8e8._0x659e57)]()
|
|
1739
|
+
}, async _0x1433f7 => {
|
|
1740
|
+
const _0x5b7098 = _0x6e3103;
|
|
1741
|
+
try {
|
|
1742
|
+
return textResult(await _0xd84252['read_history'](_0x1433f7));
|
|
1743
|
+
} catch (_0x1f002e) {
|
|
1744
|
+
return textResult(_0x1f002e instanceof Error ? _0x1f002e[_0x5b7098(_0x9c6e14._0x170143)] : _0x5b7098(0x324), !![]);
|
|
1745
|
+
}
|
|
1746
|
+
}), _0x56548a[_0x6e3103(0x344)](_0x6e3103(0x1f1), 'List\x20channels,\x20agents,\x20and\x20humans\x20in\x20the\x20current\x20server.', {}, async () => {
|
|
1747
|
+
const _0x45a077 = _0x6e3103;
|
|
1748
|
+
try {
|
|
1749
|
+
return textResult(await _0xd84252[_0x45a077(0x1f1)]());
|
|
1750
|
+
} catch (_0x5c2768) {
|
|
1751
|
+
return textResult(_0x5c2768 instanceof Error ? _0x5c2768[_0x45a077(0x27c)] : _0x45a077(_0x32e08c._0x543cde), !![]);
|
|
1752
|
+
}
|
|
1753
|
+
}), _0x56548a[_0x6e3103(_0x5ed8e8._0x3ee669)](_0x6e3103(0x29f), 'List\x20tasks\x20in\x20a\x20channel.', {
|
|
1754
|
+
'channel': _0x599697[_0x6e3103(0x2a5)](),
|
|
1755
|
+
'status': _0x599697[_0x6e3103(_0x5ed8e8._0x49f360)]([
|
|
1756
|
+
_0x6e3103(0x33e),
|
|
1757
|
+
_0x6e3103(0x329),
|
|
1758
|
+
_0x6e3103(_0x5ed8e8._0x3c4ee3),
|
|
1759
|
+
_0x6e3103(0x226)
|
|
1760
|
+
])['optional']()
|
|
1761
|
+
}, async _0x15c90b => {
|
|
1762
|
+
const _0x2b9013 = _0x6e3103;
|
|
1763
|
+
try {
|
|
1764
|
+
return textResult(await _0xd84252['list_tasks'](_0x15c90b));
|
|
1765
|
+
} catch (_0x6ba203) {
|
|
1766
|
+
return textResult(_0x6ba203 instanceof Error ? _0x6ba203[_0x2b9013(_0x13d453._0x247a54)] : 'list_tasks\x20failed', !![]);
|
|
1767
|
+
}
|
|
1768
|
+
}), _0x56548a[_0x6e3103(0x344)]('create_tasks', _0x6e3103(_0x5ed8e8._0x5a0855), {
|
|
1769
|
+
'channel': _0x599697[_0x6e3103(0x2a5)](),
|
|
1770
|
+
'idempotency_key': _0x599697['string']()[_0x6e3103(_0x5ed8e8._0x152891)](),
|
|
1771
|
+
'tasks': _0x599697[_0x6e3103(_0x5ed8e8._0x35f74a)](_0x599697[_0x6e3103(0x35d)]({
|
|
1772
|
+
'title': _0x599697[_0x6e3103(_0x5ed8e8._0x2db59b)](),
|
|
1773
|
+
'description': _0x599697[_0x6e3103(_0x5ed8e8._0x2db59b)]()['optional'](),
|
|
1774
|
+
'priority': _0x599697[_0x6e3103(0x294)]([
|
|
1775
|
+
_0x6e3103(0x223),
|
|
1776
|
+
'medium',
|
|
1777
|
+
_0x6e3103(_0x5ed8e8._0x2aacd1),
|
|
1778
|
+
'urgent'
|
|
1779
|
+
])[_0x6e3103(_0x5ed8e8._0xa127c8)]()
|
|
1780
|
+
}))
|
|
1781
|
+
}, async _0x3454f2 => {
|
|
1782
|
+
const _0x270be2 = _0x6e3103;
|
|
1783
|
+
try {
|
|
1784
|
+
return textResult(await _0xd84252['create_tasks'](_0x3454f2));
|
|
1785
|
+
} catch (_0x2c63a5) {
|
|
1786
|
+
return textResult(_0x2c63a5 instanceof Error ? _0x2c63a5[_0x270be2(_0x3441d0._0x3b7fcd)] : _0x270be2(0x251), !![]);
|
|
1787
|
+
}
|
|
1788
|
+
}), _0x56548a[_0x6e3103(_0x5ed8e8._0x31a411)](_0x6e3103(0x2d4), _0x6e3103(0x343), {
|
|
1789
|
+
'channel': _0x599697[_0x6e3103(0x2a5)](),
|
|
1790
|
+
'task_numbers': _0x599697[_0x6e3103(_0x5ed8e8._0x10ffe7)](_0x599697[_0x6e3103(0x28b)]())[_0x6e3103(0x31b)](),
|
|
1791
|
+
'message_ids': _0x599697[_0x6e3103(_0x5ed8e8._0x35f74a)](_0x599697[_0x6e3103(0x2a5)]())[_0x6e3103(0x31b)](),
|
|
1792
|
+
'evidence': _0x599697[_0x6e3103(0x257)](_0x599697[_0x6e3103(0x2a5)](), _0x599697[_0x6e3103(0x35d)]({
|
|
1793
|
+
'create_thread': _0x599697[_0x6e3103(0x322)]()[_0x6e3103(0x31b)](),
|
|
1794
|
+
'create_task': _0x599697[_0x6e3103(0x322)]()[_0x6e3103(0x31b)]()
|
|
1795
|
+
}))[_0x6e3103(0x31b)](),
|
|
1796
|
+
'idempotency_key': _0x599697['string']()[_0x6e3103(0x31b)]()
|
|
1797
|
+
}, async _0x15d98f => {
|
|
1798
|
+
const _0x4f850e = _0x6e3103;
|
|
1799
|
+
try {
|
|
1800
|
+
return textResult(await _0xd84252[_0x4f850e(_0x353db1._0x3b23df)](_0x15d98f));
|
|
1801
|
+
} catch (_0x391578) {
|
|
1802
|
+
return textResult(_0x391578 instanceof Error ? _0x391578[_0x4f850e(_0x353db1._0x3c17bd)] : 'claim_tasks\x20failed', !![]);
|
|
1803
|
+
}
|
|
1804
|
+
}), _0x56548a[_0x6e3103(0x344)]('unclaim_task', _0x6e3103(_0x5ed8e8._0x6bb968), {
|
|
1805
|
+
'channel': _0x599697['string'](),
|
|
1806
|
+
'task_number': _0x599697['number'](),
|
|
1807
|
+
'idempotency_key': _0x599697['string']()[_0x6e3103(_0x5ed8e8._0x3454d4)]()
|
|
1808
|
+
}, async _0x406eed => {
|
|
1809
|
+
const _0x597dd8 = _0x6e3103;
|
|
1810
|
+
try {
|
|
1811
|
+
return textResult(await _0xd84252['unclaim_task'](_0x406eed));
|
|
1812
|
+
} catch (_0x1583d2) {
|
|
1813
|
+
return textResult(_0x1583d2 instanceof Error ? _0x1583d2[_0x597dd8(_0x4866c5._0x522d32)] : _0x597dd8(_0x4866c5._0x674126), !![]);
|
|
1814
|
+
}
|
|
1815
|
+
}), _0x56548a[_0x6e3103(0x344)](_0x6e3103(_0x5ed8e8._0x5422c6), _0x6e3103(_0x5ed8e8._0x4d7189), {
|
|
1816
|
+
'channel': _0x599697[_0x6e3103(_0x5ed8e8._0x2db59b)](),
|
|
1817
|
+
'task_number': _0x599697['number'](),
|
|
1818
|
+
'status': _0x599697[_0x6e3103(0x294)]([
|
|
1819
|
+
_0x6e3103(_0x5ed8e8._0x2d1c14),
|
|
1820
|
+
_0x6e3103(_0x5ed8e8._0x3e34d7),
|
|
1821
|
+
_0x6e3103(0x1f6),
|
|
1822
|
+
_0x6e3103(0x226)
|
|
1823
|
+
]),
|
|
1824
|
+
'idempotency_key': _0x599697[_0x6e3103(0x2a5)]()[_0x6e3103(0x31b)]()
|
|
1825
|
+
}, async _0x48c154 => {
|
|
1826
|
+
const _0x5cf111 = _0x6e3103;
|
|
1827
|
+
try {
|
|
1828
|
+
return textResult(await _0xd84252[_0x5cf111(0x2dd)](_0x48c154));
|
|
1829
|
+
} catch (_0x396558) {
|
|
1830
|
+
return textResult(_0x396558 instanceof Error ? _0x396558[_0x5cf111(_0x247de4._0x393762)] : _0x5cf111(_0x247de4._0x673b2f), !![]);
|
|
1831
|
+
}
|
|
1832
|
+
}), _0x56548a[_0x6e3103(0x344)](_0x6e3103(_0x5ed8e8._0x7b0228), _0x6e3103(_0x5ed8e8._0x238e57), {
|
|
1833
|
+
'channel': _0x599697[_0x6e3103(0x2a5)](),
|
|
1834
|
+
'file_path': _0x599697[_0x6e3103(0x2a5)]()
|
|
1835
|
+
}, async _0x899c2c => {
|
|
1836
|
+
const _0x83294 = _0x6e3103;
|
|
1837
|
+
try {
|
|
1838
|
+
return textResult(await _0xd84252[_0x83294(_0x2cce43._0x47de83)](_0x899c2c));
|
|
1839
|
+
} catch (_0x17587e) {
|
|
1840
|
+
return textResult(_0x17587e instanceof Error ? _0x17587e['message'] : 'upload_file\x20failed', !![]);
|
|
1841
|
+
}
|
|
1842
|
+
}), _0x56548a[_0x6e3103(0x344)](_0x6e3103(_0x5ed8e8._0x11dc57), _0x6e3103(0x240), { 'attachment_id': _0x599697['string']() }, async _0x6179b6 => {
|
|
1843
|
+
const _0x4e65a8 = _0x6e3103;
|
|
1844
|
+
try {
|
|
1845
|
+
return textResult(await _0xd84252[_0x4e65a8(0x22f)](_0x6179b6));
|
|
1846
|
+
} catch (_0x34cd5e) {
|
|
1847
|
+
return textResult(_0x34cd5e instanceof Error ? _0x34cd5e[_0x4e65a8(_0x588eb0._0x42dc5c)] : 'view_file\x20failed', !![]);
|
|
1848
|
+
}
|
|
1849
|
+
}), _0x56548a[_0x6e3103(_0x5ed8e8._0x5f38be)](_0x6e3103(_0x5ed8e8._0x25d01a), 'Check\x20the\x20current\x20status\x20of\x20a\x20spawned\x20worker\x20by\x20its\x20work\x20key.', { 'work_key': _0x599697['string']() }, async _0x4cea15 => {
|
|
1850
|
+
const _0x2a6c7f = _0x6e3103;
|
|
1851
|
+
try {
|
|
1852
|
+
return textResult(await _0xd84252[_0x2a6c7f(_0x54a8d4._0x1c3bc4)](_0x4cea15));
|
|
1853
|
+
} catch (_0x993e88) {
|
|
1854
|
+
return textResult(_0x993e88 instanceof Error ? _0x993e88[_0x2a6c7f(0x27c)] : _0x2a6c7f(_0x54a8d4._0x431854), !![]);
|
|
1855
|
+
}
|
|
1856
|
+
}), _0x56548a[_0x6e3103(_0x5ed8e8._0x2a6cd8)]('get_worker_result', 'Retrieve\x20the\x20result\x20(resume\x20packet)\x20of\x20a\x20completed\x20worker.', { 'work_key': _0x599697[_0x6e3103(0x2a5)]() }, async _0xff4976 => {
|
|
1857
|
+
const _0xe61b28 = _0x6e3103;
|
|
1858
|
+
try {
|
|
1859
|
+
return textResult(await _0xd84252[_0xe61b28(_0x46136b._0x1f41d5)](_0xff4976));
|
|
1860
|
+
} catch (_0x275266) {
|
|
1861
|
+
return textResult(_0x275266 instanceof Error ? _0x275266[_0xe61b28(_0x46136b._0x2e20b3)] : _0xe61b28(_0x46136b._0x21daa3), !![]);
|
|
1862
|
+
}
|
|
1863
|
+
}), _0x56548a[_0x6e3103(0x344)]('finish_worker', _0x6e3103(_0x5ed8e8._0x85fa43), {
|
|
1864
|
+
'work_key': _0x599697['string'](),
|
|
1865
|
+
'result': _0x599697['enum']([
|
|
1866
|
+
_0x6e3103(0x318),
|
|
1867
|
+
_0x6e3103(_0x5ed8e8._0x298cfa),
|
|
1868
|
+
_0x6e3103(_0x5ed8e8._0x3a4ece)
|
|
1869
|
+
]),
|
|
1870
|
+
'summary': _0x599697[_0x6e3103(_0x5ed8e8._0x2db59b)](),
|
|
1871
|
+
'decisions': _0x599697['array'](_0x599697[_0x6e3103(_0x5ed8e8._0x2db59b)]())[_0x6e3103(_0x5ed8e8._0xb8fb04)](),
|
|
1872
|
+
'files_changed': _0x599697[_0x6e3103(0x353)](_0x599697['string']())[_0x6e3103(0x31b)](),
|
|
1873
|
+
'open_issues': _0x599697['array'](_0x599697['string']())['optional'](),
|
|
1874
|
+
'next_steps': _0x599697[_0x6e3103(_0x5ed8e8._0x369c76)](_0x599697[_0x6e3103(0x2a5)]())[_0x6e3103(0x31b)]()
|
|
1875
|
+
}, async _0x3c47a2 => {
|
|
1876
|
+
const _0x31710c = _0x6e3103;
|
|
1877
|
+
try {
|
|
1878
|
+
return textResult(await _0xd84252[_0x31710c(_0x38f44d._0x427ffb)](_0x3c47a2));
|
|
1879
|
+
} catch (_0x550ee9) {
|
|
1880
|
+
return textResult(_0x550ee9 instanceof Error ? _0x550ee9[_0x31710c(0x27c)] : _0x31710c(0x2a4), !![]);
|
|
1881
|
+
}
|
|
1882
|
+
}), _0x56548a[_0x6e3103(_0x5ed8e8._0x2a6cd8)]('escalate_to_main', _0x6e3103(_0x5ed8e8._0x672f6d), {
|
|
1883
|
+
'work_key': _0x599697['string'](),
|
|
1884
|
+
'reason': _0x599697[_0x6e3103(_0x5ed8e8._0x9a5619)]()
|
|
1885
|
+
}, async _0x53186d => {
|
|
1886
|
+
try {
|
|
1887
|
+
return textResult(await _0xd84252['escalate_to_main'](_0x53186d));
|
|
1888
|
+
} catch (_0x59d70c) {
|
|
1889
|
+
return textResult(_0x59d70c instanceof Error ? _0x59d70c['message'] : 'escalate_to_main\x20failed', !![]);
|
|
1890
|
+
}
|
|
1891
|
+
}), _0x50b88d?.[_0x6e3103(_0x5ed8e8._0x1c9c21)] && _0x56548a[_0x6e3103(0x344)]('mark_waiting_input', 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x599697[_0x6e3103(0x2a5)]() }, async _0x4fb6a4 => {
|
|
1892
|
+
const _0x222a08 = _0x6e3103;
|
|
1893
|
+
try {
|
|
1894
|
+
return textResult(await _0xd84252['mark_waiting_input'](_0x4fb6a4));
|
|
1895
|
+
} catch (_0x16b660) {
|
|
1896
|
+
return textResult(_0x16b660 instanceof Error ? _0x16b660[_0x222a08(0x27c)] : _0x222a08(_0x32fdf7._0xfc0bcf), !![]);
|
|
1897
|
+
}
|
|
1898
|
+
});
|
|
1899
|
+
}
|
|
1900
|
+
async function createChatBridgeServer(_0x2db3cb) {
|
|
1901
|
+
const _0x48dbdf = {
|
|
1902
|
+
_0x54859e: 0x25c,
|
|
1903
|
+
_0x3cd62f: 0x36e,
|
|
1904
|
+
_0x454526: 0x31e
|
|
1905
|
+
}, _0x1ad481 = _0x2d2fb4, {McpServer: _0x29365c} = await import('@modelcontextprotocol/sdk/server/mcp.js'), _0xa5e12a = new _0x29365c({
|
|
1906
|
+
'name': _0x1ad481(_0x48dbdf._0x54859e),
|
|
1907
|
+
'version': _0x1ad481(_0x48dbdf._0x3cd62f)
|
|
1908
|
+
}), _0x566955 = createChatBridgeHandlers(_0x2db3cb);
|
|
1909
|
+
return await registerChatBridgeTools(_0xa5e12a, _0x566955, { 'workerMode': _0x2db3cb[_0x1ad481(_0x48dbdf._0x454526)] }), {
|
|
1910
|
+
'handlers': _0x566955,
|
|
1911
|
+
'server': _0xa5e12a
|
|
1912
|
+
};
|
|
1913
|
+
}
|
|
1914
|
+
function readFlag(_0x2c405a, _0x88ed04) {
|
|
1915
|
+
const _0xde2b03 = _0x2d2fb4, _0x1e8515 = _0x2c405a[_0xde2b03(0x35b)](_0x88ed04);
|
|
1916
|
+
if (_0x1e8515 === -0x1)
|
|
1917
|
+
return void 0x0;
|
|
1918
|
+
return _0x2c405a[_0x1e8515 + 0x1];
|
|
1919
|
+
}
|
|
1920
|
+
function parseChatBridgeArgs(_0x33eaf7) {
|
|
1921
|
+
const _0x2a8891 = {
|
|
1922
|
+
_0x3653ae: 0x331,
|
|
1923
|
+
_0x2d9be8: 0x2b8,
|
|
1924
|
+
_0xf8c326: 0x21d,
|
|
1925
|
+
_0x49c3ac: 0x306,
|
|
1926
|
+
_0x48f8a3: 0x256,
|
|
1927
|
+
_0x3461c5: 0x215
|
|
1928
|
+
}, _0x5460df = _0x2d2fb4, _0x4127c2 = readFlag(_0x33eaf7, '--agent-id'), _0x1b624a = readFlag(_0x33eaf7, '--daemon-api-key'), _0x44aa15 = readFlag(_0x33eaf7, _0x5460df(0x305)), _0x32d3d2 = readFlag(_0x33eaf7, _0x5460df(_0x2a8891._0x3653ae)) ?? _0x5460df(_0x2a8891._0x2d9be8), _0x2f5079 = readFlag(_0x33eaf7, _0x5460df(0x2b0)), _0x23035e = readFlag(_0x33eaf7, _0x5460df(0x282)), _0x532b8a = readFlag(_0x33eaf7, _0x5460df(_0x2a8891._0xf8c326)), _0x3b48e6 = readFlag(_0x33eaf7, _0x5460df(_0x2a8891._0x49c3ac)), _0x446729 = readFlag(_0x33eaf7, _0x5460df(0x2ac)), _0x36d637 = _0x33eaf7[_0x5460df(0x2ad)](_0x5460df(_0x2a8891._0x48f8a3)), _0x15dfff = _0x44aa15 === void 0x0 ? void 0x0 : Number[_0x5460df(_0x2a8891._0x3461c5)](_0x44aa15, 0xa);
|
|
1929
|
+
if (!_0x4127c2)
|
|
1930
|
+
throw new Error(_0x5460df(0x238));
|
|
1931
|
+
if (!_0x1b624a)
|
|
1932
|
+
throw new Error(_0x5460df(0x2d7));
|
|
1933
|
+
if (_0x44aa15 !== void 0x0 && (_0x15dfff === void 0x0 || !Number[_0x5460df(0x2fb)](_0x15dfff) || _0x15dfff < 0x0))
|
|
1934
|
+
throw new Error('Invalid\x20--initial-last-seen-seq');
|
|
1935
|
+
return {
|
|
1936
|
+
'agentId': _0x4127c2,
|
|
1937
|
+
'daemonApiKey': _0x1b624a,
|
|
1938
|
+
'daemonLocalUrl': _0x2f5079,
|
|
1939
|
+
'initialLastSeenSeq': _0x15dfff,
|
|
1940
|
+
'sessionId': _0x23035e,
|
|
1941
|
+
'serverUrl': _0x32d3d2,
|
|
1942
|
+
'workerModeEnabled': _0x532b8a === void 0x0 ? void 0x0 : _0x532b8a !== 'false',
|
|
1943
|
+
'workerSessionId': _0x3b48e6,
|
|
1944
|
+
'workerThreadTarget': _0x446729,
|
|
1945
|
+
'workerMode': _0x36d637
|
|
1946
|
+
};
|
|
1947
|
+
}
|
|
1948
|
+
async function runChatBridgeCli(_0x10b45b) {
|
|
1949
|
+
const _0x389283 = { _0x510f71: 0x231 }, _0x3de10b = _0x2d2fb4, _0x1bad23 = parseChatBridgeArgs(_0x10b45b), {StdioServerTransport: _0x2518dd} = await import(_0x3de10b(0x2db)), _0x2aa1c3 = createInternalAgentClient(_0x1bad23), _0x3a4255 = createAttachmentCache(), _0x4ca07f = await createChatBridgeServer({
|
|
1950
|
+
'agentId': _0x1bad23[_0x3de10b(0x250)],
|
|
1951
|
+
'attachmentCache': _0x3a4255,
|
|
1952
|
+
'client': _0x2aa1c3,
|
|
1953
|
+
'daemonLocalUrl': _0x1bad23[_0x3de10b(_0x389283._0x510f71)],
|
|
1954
|
+
'uploadPreparer': prepareUploadFile,
|
|
1955
|
+
'workerModeEnabled': _0x1bad23[_0x3de10b(0x267)],
|
|
1956
|
+
'workerMode': _0x1bad23['workerMode']
|
|
1957
|
+
});
|
|
1958
|
+
await _0x4ca07f[_0x3de10b(0x2f4)][_0x3de10b(0x2ef)](new _0x2518dd());
|
|
1959
|
+
}
|
|
1960
|
+
var executedAsEntry = process[_0x2d2fb4(0x237)][0x1] ? import.meta.url === pathToFileURL(process[_0x2d2fb4(0x237)][0x1])[_0x2d2fb4(0x22d)] : ![];
|
|
1961
|
+
executedAsEntry && await runChatBridgeCli(process[_0x2d2fb4(0x237)][_0x2d2fb4(0x33f)](0x2));
|
|
1962
|
+
function _0x11ab() {
|
|
1963
|
+
const _0x12e639 = [
|
|
1964
|
+
'DgfZAY0',
|
|
1965
|
+
'l3nLBMq',
|
|
1966
|
+
'v29YA2vYia',
|
|
1967
|
+
'BMfTzq',
|
|
1968
|
+
'ihn0yxr1CZ0',
|
|
1969
|
+
'rMLSzsb1CgXVywrLzdOG',
|
|
1970
|
+
'AgfZ',
|
|
1971
|
+
'D29YA2vYsgfUzg9MzG',
|
|
1972
|
+
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
1973
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
1974
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
1975
|
+
'y29UBMvJDa',
|
|
1976
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1977
|
+
'cGOTls0G',
|
|
1978
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1979
|
+
'y29UDgvUDejHC2u2na',
|
|
1980
|
+
'C2vYDMvY',
|
|
1981
|
+
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1982
|
+
'ihr5Cgu9ywDLBNq',
|
|
1983
|
+
'z2v0vgLTzq',
|
|
1984
|
+
'D29YA2vYu2vZC2LVBKLK',
|
|
1985
|
+
'BMv4Df9ZDgvWCW',
|
|
1986
|
+
'C2vYDMvYvxjS',
|
|
1987
|
+
'AxngAw5PDgu',
|
|
1988
|
+
'ndyXotKYzMDYC2PK',
|
|
1989
|
+
'DgL0Bgu',
|
|
1990
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1991
|
+
'z2v0x3DVCMTLCL9Yzxn1BhqGzMfPBgvK',
|
|
1992
|
+
'Agv4',
|
|
1993
|
+
'khvUA25VD24P',
|
|
1994
|
+
'DhjPBq',
|
|
1995
|
+
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1996
|
+
'yxr0ywnOBwvUDhm',
|
|
1997
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1998
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1999
|
+
'BgLZDfrHC2TZ',
|
|
2000
|
+
'y3jLyxrLx3rHC2TZ',
|
|
2001
|
+
'iYmGu2vYDMvYoIa',
|
|
2002
|
+
'Dw5JBgfPBv90yxnR',
|
|
2003
|
+
'y2HHBM5LBeLK',
|
|
1617
2004
|
'yxnPzgu',
|
|
1618
|
-
'
|
|
2005
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
2006
|
+
'Dgv4Dc9TyxjRzg93BG',
|
|
2007
|
+
'ihrPBwu9',
|
|
2008
|
+
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
2009
|
+
'DgfZA3m',
|
|
2010
|
+
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
2011
|
+
'DxbSB2fKx2zPBgu',
|
|
2012
|
+
'C2vYDMvYtMfTzq',
|
|
2013
|
+
'yMvMB3jL',
|
|
2014
|
+
'iYmJienOyw5UzwXZ',
|
|
2015
|
+
'yxbWBgLJyxrPB24VEMLW',
|
|
1619
2016
|
'y29TCgXLDgvK',
|
|
1620
|
-
'
|
|
1621
|
-
'
|
|
1622
|
-
'
|
|
1623
|
-
'
|
|
1624
|
-
'ig1ZzZ0',
|
|
1625
|
-
'y2HHBM5LBeLK',
|
|
1626
|
-
'CMvZDwX0sNnVBG',
|
|
1627
|
-
'DxrMoa',
|
|
1628
|
-
'zMLUzenHy2HLzfbHDgG',
|
|
1629
|
-
'AhjLzG',
|
|
1630
|
-
'iokaLca',
|
|
2017
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
2018
|
+
'C2vUzf9TzxnZywDL',
|
|
2019
|
+
'B3b0Aw9UywW',
|
|
2020
|
+
'y2HLy2TnzxnZywDLCW',
|
|
1631
2021
|
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
1632
|
-
'
|
|
1633
|
-
'
|
|
1634
|
-
'
|
|
1635
|
-
'
|
|
1636
|
-
'
|
|
1637
|
-
'
|
|
1638
|
-
'
|
|
1639
|
-
'
|
|
1640
|
-
'
|
|
1641
|
-
'
|
|
1642
|
-
'
|
|
1643
|
-
'
|
|
1644
|
-
'
|
|
1645
|
-
'
|
|
1646
|
-
'
|
|
1647
|
-
'
|
|
1648
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
1649
|
-
'zMLUza',
|
|
1650
|
-
'zMfPBgvK',
|
|
1651
|
-
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
1652
|
-
'C2nOzwr1BgvKrM9Y',
|
|
1653
|
-
'DhLWzq',
|
|
1654
|
-
'CMvJB3jK',
|
|
1655
|
-
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
1656
|
-
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
1657
|
-
'l3rHC2TZpW',
|
|
1658
|
-
'mJm5nJb6u1HIt2u',
|
|
1659
|
-
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
1660
|
-
'yM9KEu1HCMTKB3DU',
|
|
1661
|
-
'kgXLz2fJEsK',
|
|
1662
|
-
'zg93BMXVywrbDhrHy2HTzw50',
|
|
2022
|
+
'D29YA2vYtw9Kzq',
|
|
2023
|
+
'vgfZAYa',
|
|
2024
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
2025
|
+
'uM9VDcb0yxnRig1LC3nHz2u6cG',
|
|
2026
|
+
'Dw5RBM93BG',
|
|
2027
|
+
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
2028
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
2029
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
2030
|
+
'zNjVBq',
|
|
2031
|
+
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
2032
|
+
'y29UDgvUDfr5Cgu',
|
|
2033
|
+
'Aw5FChjVz3jLC3m',
|
|
2034
|
+
'mML0qxrbsG',
|
|
2035
|
+
'l3rHC2TZl3vUy2XHAw0',
|
|
2036
|
+
'CMvZDwX0sNnVBG',
|
|
2037
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1663
2038
|
'y2XPzw50',
|
|
1664
|
-
'
|
|
1665
|
-
'
|
|
1666
|
-
'
|
|
1667
|
-
'
|
|
1668
|
-
'
|
|
1669
|
-
'
|
|
1670
|
-
'
|
|
1671
|
-
'
|
|
1672
|
-
'
|
|
1673
|
-
'
|
|
1674
|
-
'
|
|
1675
|
-
'
|
|
1676
|
-
'
|
|
1677
|
-
'
|
|
2039
|
+
'ChvIBgLJ',
|
|
2040
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
2041
|
+
'ls1Zzxj2zxiTDxjS',
|
|
2042
|
+
'Bwv0yq',
|
|
2043
|
+
'C2L6zq',
|
|
2044
|
+
'DgfZA0LK',
|
|
2045
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
2046
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
2047
|
+
'Dg9mB3DLCKnHC2u',
|
|
2048
|
+
'CMvHzf9OAxn0B3j5',
|
|
2049
|
+
'AgvHzgvYCW',
|
|
2050
|
+
'C2LNBMfS',
|
|
2051
|
+
'zgLZCg9ZAxrPB24',
|
|
2052
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
2053
|
+
'zMLUAxnOx3DVCMTLCG',
|
|
2054
|
+
'Dg9KBW',
|
|
2055
|
+
'C2XPy2u',
|
|
2056
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
2057
|
+
'BgLTAxq',
|
|
2058
|
+
'AxngAwXL',
|
|
2059
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
2060
|
+
'Dg9VBa',
|
|
2061
|
+
'zxH0BMfTzq',
|
|
2062
|
+
'mtK3nJmWEuHAsg1y',
|
|
2063
|
+
'yxjYyxLcDwzMzxi',
|
|
2064
|
+
'Dg9gAxHLza',
|
|
2065
|
+
'CgfYC2u',
|
|
2066
|
+
'Cgf5Bg9HzePZB24',
|
|
2067
|
+
'BgvUz3rO',
|
|
2068
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
2069
|
+
'y2HHBM5LBhm',
|
|
2070
|
+
'yMfZzw5HBwu',
|
|
2071
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
2072
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
2073
|
+
'zgvZy3jPyMu',
|
|
1678
2074
|
'y2f0y2G',
|
|
2075
|
+
'yxjYyxK',
|
|
2076
|
+
'C3rHCNrLza',
|
|
2077
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
2078
|
+
'D29YA19RzxK',
|
|
2079
|
+
'yxbWBgLJyxrPB24VEg1S',
|
|
2080
|
+
'zxzLBNrtzxe',
|
|
2081
|
+
'mJmYnJmWmefJtuTtvq',
|
|
2082
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
2083
|
+
'Aw5KzxHpzG',
|
|
2084
|
+
'BwvZC2fNzuLK',
|
|
2085
|
+
'B2jQzwn0',
|
|
2086
|
+
'Aw1Hz2uVANbLzW',
|
|
2087
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
2088
|
+
'yMXVy2TLza',
|
|
2089
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
2090
|
+
'yM9KEvrLEhq',
|
|
2091
|
+
'DgfZAW',
|
|
2092
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
2093
|
+
'y2HHBM5LBa',
|
|
2094
|
+
'ig1LC3nHz2u9',
|
|
2095
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
2096
|
+
'ouLTC2X0EG',
|
|
2097
|
+
'zgf0yq',
|
|
2098
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
2099
|
+
'zMLSzv9WyxrO',
|
|
2100
|
+
'iJOGC3rHDhvZpq',
|
|
2101
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
2102
|
+
'mc4WlJa',
|
|
2103
|
+
'DgHYzwfK',
|
|
2104
|
+
'igTPBMq9',
|
|
2105
|
+
'ywz0zxi',
|
|
1679
2106
|
'ywDLBNrZ',
|
|
1680
|
-
'
|
|
1681
|
-
'
|
|
1682
|
-
'
|
|
1683
|
-
'
|
|
1684
|
-
'
|
|
2107
|
+
'zxHWAxjLC0f0',
|
|
2108
|
+
'CMvXDwvZDfvYBa',
|
|
2109
|
+
'l2HPC3rVCNK/',
|
|
2110
|
+
'ue9tva',
|
|
2111
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
2112
|
+
'zMLSDgvY',
|
|
2113
|
+
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1685
2114
|
'BgLZDf9Zzxj2zxi',
|
|
1686
|
-
'
|
|
1687
|
-
'
|
|
1688
|
-
'
|
|
1689
|
-
'
|
|
1690
|
-
'
|
|
1691
|
-
'
|
|
1692
|
-
'
|
|
1693
|
-
'
|
|
1694
|
-
'
|
|
1695
|
-
'
|
|
1696
|
-
'CMvZCg9UC2u',
|
|
1697
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
1698
|
-
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1699
|
-
'BwfW',
|
|
2115
|
+
'lsba',
|
|
2116
|
+
'Dg9ju09tDhjPBMC',
|
|
2117
|
+
'tM8GDgfZA3mGy3jLyxrLzc4',
|
|
2118
|
+
'l3nLCNzLCG',
|
|
2119
|
+
'Aw5FCMv2Awv3',
|
|
2120
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
2121
|
+
'zgvZDhjVEwvK',
|
|
2122
|
+
'AwrSzq',
|
|
2123
|
+
'DhLWzq',
|
|
2124
|
+
'z2v0tw9UDgG',
|
|
1700
2125
|
'l2LUDgvYBMfSl2fNzw50lW',
|
|
1701
|
-
'C3rYAw5NAwz5',
|
|
1702
2126
|
'DgfYz2v0',
|
|
1703
|
-
'
|
|
1704
|
-
'
|
|
1705
|
-
'
|
|
1706
|
-
'
|
|
1707
|
-
'
|
|
1708
|
-
'
|
|
1709
|
-
'
|
|
2127
|
+
'C3rHDhvZ',
|
|
2128
|
+
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
2129
|
+
'zMfPBgvK',
|
|
2130
|
+
'zMLUza',
|
|
2131
|
+
'EM9K',
|
|
2132
|
+
'mJu0mdaYoe52vfrLDq',
|
|
2133
|
+
'AgfZtw9Yzq',
|
|
2134
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
2135
|
+
'v29YA2vYici',
|
|
2136
|
+
'ywDLBNq',
|
|
2137
|
+
'sfruuca',
|
|
2138
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
1710
2139
|
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1711
|
-
'
|
|
1712
|
-
'
|
|
1713
|
-
'
|
|
1714
|
-
'
|
|
1715
|
-
'DgHYzwfKx3rHCMDLDa',
|
|
1716
|
-
'BMfTzq',
|
|
1717
|
-
'C3rVCe1HAw4',
|
|
1718
|
-
'igzHAwXLzdOG',
|
|
1719
|
-
'DxbKyxrL',
|
|
1720
|
-
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
1721
|
-
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1722
|
-
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1723
|
-
'ls1ZzxnZAw9UlwLK',
|
|
1724
|
-
'AgvHzgvYCW',
|
|
1725
|
-
'lMjPBG',
|
|
1726
|
-
'CxvLDwvK',
|
|
1727
|
-
'C29YDa',
|
|
1728
|
-
'mJm4ntLLshjOBhe',
|
|
1729
|
-
'DgHYzwfKswq',
|
|
1730
|
-
'C3vJy2vZCW',
|
|
1731
|
-
'DgfYz2v0zwruyxnR',
|
|
1732
|
-
'B2jQzwn0',
|
|
1733
|
-
'CMvXDwvZDfvYBa',
|
|
1734
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1735
|
-
'kg5VBMuP',
|
|
1736
|
-
'Dgv4Dc9JC3y',
|
|
1737
|
-
'ywXS',
|
|
1738
|
-
'C2vYDMvYtMfTzq',
|
|
1739
|
-
'zgvSzxrL',
|
|
2140
|
+
'DgHYzwfKvgfYz2v0',
|
|
2141
|
+
'l2nVBNrLBNq',
|
|
2142
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
2143
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1740
2144
|
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
1741
|
-
'lIbnzxnZywDLieLeoIa',
|
|
1742
|
-
'icHPzdO',
|
|
1743
|
-
'6k+35Rgcia',
|
|
1744
|
-
'CMvHzeHPC3rVCNK',
|
|
1745
|
-
'C29Tzq',
|
|
1746
|
-
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
1747
|
-
'Bwf0y2Hoyw1Ltg93zxi',
|
|
1748
|
-
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
1749
|
-
'AgfZ',
|
|
1750
|
-
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
1751
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1752
|
-
'BwLU',
|
|
1753
|
-
'yMvMB3jL',
|
|
1754
|
-
'iYmJiefNzw50CW',
|
|
1755
|
-
'Dg9VBa',
|
|
1756
|
-
'DgfYz2v0zwq',
|
|
1757
|
-
'CgfYC2u',
|
|
1758
|
-
'C3rHCNrLza',
|
|
1759
|
-
'Aw5KzxHpzG',
|
|
1760
2145
|
'xsba',
|
|
1761
|
-
'
|
|
1762
|
-
'
|
|
1763
|
-
'
|
|
1764
|
-
'
|
|
1765
|
-
'
|
|
1766
|
-
'
|
|
1767
|
-
'
|
|
1768
|
-
'
|
|
1769
|
-
'
|
|
1770
|
-
'
|
|
1771
|
-
'
|
|
1772
|
-
'
|
|
1773
|
-
'
|
|
1774
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1775
|
-
'zw51Bq',
|
|
1776
|
-
'zMfSC2u',
|
|
1777
|
-
'z2v0vgLTzq',
|
|
1778
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1779
|
-
'Ahr0Chm6',
|
|
1780
|
-
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
1781
|
-
'DgHYzwfKtNvTyMvY',
|
|
1782
|
-
'DxbSB2fKx2zPBgu',
|
|
1783
|
-
'ls13B3jRzxiTBw9Kzq',
|
|
1784
|
-
'Bg93',
|
|
1785
|
-
'zg06',
|
|
1786
|
-
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
2146
|
+
'Bwf0y2Hoyw1L',
|
|
2147
|
+
'lcbWCMv2Awv3pq',
|
|
2148
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
2149
|
+
'C2vX',
|
|
2150
|
+
'CgfYC2vjBNq',
|
|
2151
|
+
'Dgv4Dc9JC3y',
|
|
2152
|
+
'D29YA2vYCW',
|
|
2153
|
+
'yMfZzty0',
|
|
2154
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
2155
|
+
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
2156
|
+
'C3vJy2vZCW',
|
|
2157
|
+
'zg93BMXVywrbDhrHy2HTzw50',
|
|
2158
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
1787
2159
|
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1788
|
-
'
|
|
1789
|
-
'
|
|
1790
|
-
'
|
|
1791
|
-
'
|
|
1792
|
-
'
|
|
1793
|
-
'
|
|
1794
|
-
'
|
|
1795
|
-
'
|
|
1796
|
-
'
|
|
1797
|
-
'
|
|
1798
|
-
'
|
|
1799
|
-
'
|
|
2160
|
+
'BwvTyMvYCW',
|
|
2161
|
+
'mZqZntq5s2npCvLA',
|
|
2162
|
+
'l3DVCMTLCNmVzMLUAxnO',
|
|
2163
|
+
'C2vZC2LVBKLK',
|
|
2164
|
+
'Bg93',
|
|
2165
|
+
'Bwf4',
|
|
2166
|
+
'z2v0rgf0zq',
|
|
2167
|
+
'zg9Uzq',
|
|
2168
|
+
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
2169
|
+
'zMv0y2HuAw1LB3v0txm',
|
|
2170
|
+
'l3rHC2TZl2nSywLT',
|
|
2171
|
+
'DMLZAwjPBgL0Eq',
|
|
2172
|
+
'igLUia',
|
|
2173
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
2174
|
+
'AhjLzG',
|
|
2175
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
2176
|
+
'DMLLD19MAwXL',
|
|
2177
|
+
'igf0DgfJAg1LBNq',
|
|
2178
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
2179
|
+
'ChjVDg9JB2W',
|
|
2180
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
2181
|
+
'CMvHzeHPC3rVCNK',
|
|
2182
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
1800
2183
|
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1801
|
-
'zxzLBNrtzxe',
|
|
1802
|
-
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlG',
|
|
1803
|
-
'C2L6zuj5DgvZ',
|
|
1804
|
-
'BgvUz3rO',
|
|
1805
|
-
'ihrPBwu9',
|
|
1806
|
-
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
1807
|
-
'AgfZtw9Yzq',
|
|
1808
|
-
'yxr0ywnOBwvUDeLKCW',
|
|
1809
|
-
'ntuXntK2EvjIyMrO',
|
|
1810
|
-
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
1811
|
-
'CMvHC29U',
|
|
1812
2184
|
'yxjNDG',
|
|
1813
|
-
'
|
|
1814
|
-
'
|
|
2185
|
+
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
2186
|
+
'y29UDgvUDa',
|
|
1815
2187
|
'CgfKu3rHCNq',
|
|
1816
|
-
'
|
|
1817
|
-
'
|
|
1818
|
-
'
|
|
1819
|
-
'
|
|
1820
|
-
'
|
|
1821
|
-
'
|
|
2188
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
2189
|
+
'6k+35Rgcia',
|
|
2190
|
+
'zMv0y2HjBxbS',
|
|
2191
|
+
'zM9Yy2vszwzYzxnO',
|
|
2192
|
+
'y2XHAw1uyxnRCW',
|
|
2193
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
2194
|
+
'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
|
|
2195
|
+
'zg06',
|
|
2196
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
2197
|
+
'C2vUze1LC3nHz2u',
|
|
2198
|
+
'yxr0ywnOBwvUDeLK',
|
|
2199
|
+
'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
|
|
2200
|
+
'otyWnJu3BNPTBLPx',
|
|
1822
2201
|
'ywDNCMvNyxrLswq',
|
|
1823
|
-
'
|
|
1824
|
-
'
|
|
1825
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1826
|
-
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
1827
|
-
'ChvIBgLJ',
|
|
1828
|
-
'AhvTyw5Z',
|
|
1829
|
-
'yxr0ywnOBwvUDf9Pza',
|
|
1830
|
-
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
1831
|
-
'ignSywLTzwq',
|
|
1832
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
1833
|
-
'Ahr0CdO',
|
|
1834
|
-
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
1835
|
-
'D29YA2vYu2vZC2LVBKLK',
|
|
1836
|
-
'DgHYzwfK',
|
|
1837
|
-
'BwvTyMvYCW',
|
|
1838
|
-
'zgvJAxnPB25Z',
|
|
1839
|
-
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
1840
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
1841
|
-
'lcbWCMv2Awv3pq',
|
|
1842
|
-
'zgf0yq',
|
|
2202
|
+
'C2v0',
|
|
2203
|
+
's0iPcKf0DgfJAg1LBNqGsuq6ia',
|
|
1843
2204
|
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
1844
|
-
'
|
|
1845
|
-
'
|
|
1846
|
-
'
|
|
1847
|
-
'
|
|
1848
|
-
'
|
|
1849
|
-
'
|
|
1850
|
-
'
|
|
1851
|
-
'
|
|
1852
|
-
'
|
|
1853
|
-
'
|
|
1854
|
-
'
|
|
1855
|
-
'
|
|
1856
|
-
'
|
|
1857
|
-
'
|
|
1858
|
-
'y2XHAw1FDgfZA3m',
|
|
1859
|
-
'DMLLD19MAwXL',
|
|
1860
|
-
'Bg9JywXLq29TCgfYzq',
|
|
1861
|
-
'BgLZDfnLCNzLCG',
|
|
1862
|
-
'ndy4nJuYsNnqA2PY',
|
|
1863
|
-
'CMvHzf9OAxn0B3j5',
|
|
1864
|
-
'yxbWBgLJyxrPB24VCgrM',
|
|
1865
|
-
'DgfZA19Pza',
|
|
1866
|
-
'Aw5FChjVz3jLC3m',
|
|
1867
|
-
'BwvZC2fNzxm',
|
|
1868
|
-
'l3jLy2vPDMu',
|
|
1869
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1870
|
-
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
1871
|
-
'C2vUzgvYtMfTzq',
|
|
1872
|
-
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1873
|
-
'ue9tva',
|
|
1874
|
-
'mtiYngLprvL2yW',
|
|
1875
|
-
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
1876
|
-
'Aw5FCMv2Awv3',
|
|
1877
|
-
'yM9KEvrLEhq',
|
|
1878
|
-
'DMLZAwjPBgL0Eq',
|
|
1879
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
1880
|
-
'ywDLBNq',
|
|
1881
|
-
'yxr0ywnOBwvUDeLK',
|
|
1882
|
-
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
1883
|
-
'C2vYDMvYvxjS',
|
|
1884
|
-
'zgvZDhjVEwvK',
|
|
2205
|
+
'ywXS',
|
|
2206
|
+
'C3rVCe1HAw49Dhj1zq',
|
|
2207
|
+
'mJmYnJa1nNPquMrMrW',
|
|
2208
|
+
'w3rHCMDLDd0',
|
|
2209
|
+
'ywDLBNrjza',
|
|
2210
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
2211
|
+
'C3rVCe1HAw4',
|
|
2212
|
+
'CNvUswq',
|
|
2213
|
+
'Dgv4Dc9WBgfPBG',
|
|
2214
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
2215
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
2216
|
+
'CMvJB3jK',
|
|
2217
|
+
'CMvWBgfJzq',
|
|
2218
|
+
'l3rHC2TZpW',
|
|
1885
2219
|
'Axnoyu4',
|
|
1886
|
-
'
|
|
1887
|
-
'
|
|
1888
|
-
'
|
|
1889
|
-
'
|
|
1890
|
-
'
|
|
1891
|
-
'AM9PBG',
|
|
1892
|
-
'C2vUze1LC3nHz2u',
|
|
1893
|
-
'l3rHC2TZl3vUy2XHAw0',
|
|
1894
|
-
'Aw1Hz2uVCg5N',
|
|
1895
|
-
'yMfZzw5HBwu',
|
|
1896
|
-
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1897
|
-
'v29YA2vYia',
|
|
1898
|
-
'BNvTyMvY',
|
|
1899
|
-
'BMv4Df9ZDgvWCW',
|
|
1900
|
-
'C2XPy2u',
|
|
1901
|
-
'CNvUBMLUzW',
|
|
1902
|
-
'BwvZC2fNzq',
|
|
1903
|
-
'iYmGu2vYDMvYoIa',
|
|
2220
|
+
'lsaJ',
|
|
2221
|
+
'y2HHDa',
|
|
2222
|
+
'y29UDgvUDc10ExbL',
|
|
2223
|
+
'C29YDa',
|
|
2224
|
+
'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
|
|
1904
2225
|
'DgHYzwfKu2HVCNrjza',
|
|
1905
|
-
'
|
|
1906
|
-
'
|
|
1907
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1908
|
-
'C2vYDMvY',
|
|
1909
|
-
'zgfLBw9UqxbPs2v5',
|
|
1910
|
-
'ANnVBG',
|
|
1911
|
-
'Dg9KBW',
|
|
1912
|
-
'CgfYDgLJAxbHBNq',
|
|
1913
|
-
'Bwf4',
|
|
1914
|
-
'Bwv0yq',
|
|
1915
|
-
'DhjPBq',
|
|
1916
|
-
'v29YA2vYici',
|
|
2226
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
2227
|
+
'l3vWBg9Hza',
|
|
1917
2228
|
'ywz0zxjtzxe',
|
|
1918
|
-
'
|
|
1919
|
-
'
|
|
1920
|
-
'
|
|
1921
|
-
'DgvZDa',
|
|
1922
|
-
'zxH0BMfTzq',
|
|
1923
|
-
'iIbUB3qGzM91BMq',
|
|
1924
|
-
'AhvTyw4',
|
|
1925
|
-
'zM9Yy2vszwzYzxnO',
|
|
1926
|
-
'iJOGC3rHDhvZpq',
|
|
1927
|
-
'D29YA2vYtw9Kzq',
|
|
1928
|
-
'lNnSB2nR',
|
|
1929
|
-
'D29YA2vYx3nLC3nPB25FAwq',
|
|
1930
|
-
'AwrSzq',
|
|
1931
|
-
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
1932
|
-
'l3jLC29SDMuTy2HHBM5LBa',
|
|
1933
|
-
'ywDNCMvNyxrLswrZ',
|
|
1934
|
-
'y2HHBM5LBfrHCMDLDa',
|
|
1935
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
1936
|
-
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1937
|
-
'z2v0tw9UDgG',
|
|
1938
|
-
'BwvKAxvT',
|
|
1939
|
-
'zMLSDgvY',
|
|
1940
|
-
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
1941
|
-
'Aw1Hz2uVD2vICa',
|
|
2229
|
+
'vgfZAZOG',
|
|
2230
|
+
'y3vYC29Y',
|
|
2231
|
+
'C3rHCNrZv2L0Aa',
|
|
1942
2232
|
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1943
|
-
'
|
|
1944
|
-
'DxnLCG',
|
|
1945
|
-
'D29YA19RzxK',
|
|
1946
|
-
'lsaJ',
|
|
1947
|
-
'B3bLBL9PC3n1zxm',
|
|
2233
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
1948
2234
|
'zMLSzw5HBwu',
|
|
1949
|
-
'
|
|
1950
|
-
'
|
|
1951
|
-
'
|
|
1952
|
-
'
|
|
1953
|
-
'
|
|
1954
|
-
'
|
|
1955
|
-
'
|
|
1956
|
-
'
|
|
1957
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1958
|
-
'ndiXnJu5q1rLuNjw',
|
|
1959
|
-
'DgfZAW',
|
|
1960
|
-
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
1961
|
-
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
1962
|
-
'C2vX',
|
|
1963
|
-
'zgfLBw9Utg9JywXvCMW',
|
|
1964
|
-
'C2vUzf9TzxnZywDL',
|
|
1965
|
-
'zMLUAxnOx3DVCMTLCG',
|
|
1966
|
-
'y3jLyxrLx3rHC2TZ',
|
|
1967
|
-
'D29YA2vYrgLZCg9ZAxrPB249',
|
|
1968
|
-
'ywDNCMvNyxrLvhLWzq',
|
|
1969
|
-
'Dw5JBgfPBv90yxnR',
|
|
1970
|
-
'Dgv4Dc9WBgfPBG',
|
|
1971
|
-
'C3rYAw5N',
|
|
1972
|
-
'ChvZAa',
|
|
2235
|
+
'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
|
|
2236
|
+
'lNnSB2nR',
|
|
2237
|
+
'CgfYDgLJAxbHBNq',
|
|
2238
|
+
'DgHYzwfKtNvTyMvY',
|
|
2239
|
+
'BwLU',
|
|
2240
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
2241
|
+
'l3jLy2vPDMu',
|
|
2242
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1973
2243
|
'AgLNAa',
|
|
1974
|
-
'
|
|
1975
|
-
'
|
|
1976
|
-
'
|
|
1977
|
-
'
|
|
1978
|
-
'
|
|
1979
|
-
'
|
|
1980
|
-
'
|
|
1981
|
-
'
|
|
2244
|
+
'C2vUzgvYvhLWzq',
|
|
2245
|
+
'AM9PBG',
|
|
2246
|
+
'y2XHAw0GzMfPBgvK',
|
|
2247
|
+
'y3jLyxrLvgfZA3m',
|
|
2248
|
+
'r0vu',
|
|
2249
|
+
'yxv0BZO',
|
|
2250
|
+
'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlG',
|
|
2251
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
2252
|
+
'CgfYDgLJAxbHBNrjza',
|
|
2253
|
+
'BwvZC2fNzq',
|
|
2254
|
+
'CMvZDwX0CW',
|
|
2255
|
+
'BwfW',
|
|
2256
|
+
'D2fPDgLUz19PBNb1Da',
|
|
2257
|
+
'DxbKyxrL',
|
|
2258
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
2259
|
+
'ls1ZzxnZAw9UlwLK',
|
|
2260
|
+
'C2nOzwr1BgvKrM9Y',
|
|
2261
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
2262
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
2263
|
+
'C3rYAw5NAwz5',
|
|
2264
|
+
'DgfZA19Pza',
|
|
2265
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
2266
|
+
'D3nZoG',
|
|
2267
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
2268
|
+
'BNvTyMvY',
|
|
2269
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
2270
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
2271
|
+
'CM9VDe1LC3nHz2vjza',
|
|
2272
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
2273
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
2274
|
+
'ywjVCNq',
|
|
2275
|
+
'zw50CMLLCW',
|
|
2276
|
+
'DgHYzwfKswq',
|
|
2277
|
+
'zw51Bq',
|
|
2278
|
+
'z2v0',
|
|
2279
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1982
2280
|
'zMLSzxnFy2HHBMDLza',
|
|
1983
|
-
'zxHWAxjLC0f0',
|
|
1984
|
-
'Aw1Hz2uVANbLzW',
|
|
1985
|
-
'AxnbyNnVBhv0zq',
|
|
1986
|
-
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1987
|
-
'y3jLyxrLzef0',
|
|
1988
2281
|
'ig1LC3nHz2vZkqOk',
|
|
1989
|
-
'
|
|
1990
|
-
'
|
|
1991
|
-
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
1992
|
-
'ChjVDg9JB2W',
|
|
1993
|
-
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
1994
|
-
'ihn0yxr1CZ0',
|
|
1995
|
-
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1996
|
-
'D2fPDgLUz19PBNb1Da',
|
|
1997
|
-
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
1998
|
-
'vgfZAZOG',
|
|
1999
|
-
'z2v0rgf0zq',
|
|
2000
|
-
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
2001
|
-
'r0vu',
|
|
2002
|
-
'mJe5mgj5r1HMqG',
|
|
2003
|
-
'zNjVBq',
|
|
2004
|
-
'zgLZCg9ZAxrPB24',
|
|
2282
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
2283
|
+
'DgvZDa',
|
|
2005
2284
|
'z2v0twLUDxrLCW',
|
|
2006
|
-
'
|
|
2007
|
-
'
|
|
2285
|
+
'y3jLyxrLzef0',
|
|
2286
|
+
'y2fJAgveAxi',
|
|
2287
|
+
'icHPzdO',
|
|
2288
|
+
'BgLZDf90yxnRCW',
|
|
2289
|
+
'kgXLz2fJEsK',
|
|
2290
|
+
'ywrK',
|
|
2291
|
+
'l3n0yxj0',
|
|
2292
|
+
'ywDNCMvNyxrLswrZ',
|
|
2293
|
+
'zMLUAxnOx3DVCMTLCIbMywLSzwq',
|
|
2294
|
+
'C3rYAw5N',
|
|
2295
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
2296
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
2297
|
+
'n3rAqNfXva',
|
|
2298
|
+
'Dg9tDhjPBMC',
|
|
2299
|
+
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
2300
|
+
'DxrMoa',
|
|
2301
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
2302
|
+
'Aw5JBhvKzxm',
|
|
2303
|
+
'BMv4Den1CNnVCG',
|
|
2304
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
2305
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
2306
|
+
'zg0T',
|
|
2307
|
+
'A2LUza',
|
|
2308
|
+
'lIbnzxnZywDLieLeoIa',
|
|
2309
|
+
'l2zPBMLZAa',
|
|
2310
|
+
'ANnVBG',
|
|
2311
|
+
'y2HHBM5LBe5HBwu',
|
|
2312
|
+
'DMfSDwvZ',
|
|
2313
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
2314
|
+
'DMfSDwu',
|
|
2315
|
+
'z2v0sg91CNm',
|
|
2316
|
+
'zxHLy3v0Aw9Utw9Kzq',
|
|
2317
|
+
'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
|
|
2318
|
+
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
2319
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
2320
|
+
'Ahr0CdO',
|
|
2321
|
+
'C2vUzgvYtMfTzq',
|
|
2322
|
+
'C2L6zuj5DgvZ',
|
|
2323
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
2324
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
2325
|
+
'CMvZDw1Lx3bHy2TLDa',
|
|
2326
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
2327
|
+
'C29Tzq',
|
|
2328
|
+
'DxnLCG',
|
|
2329
|
+
'BwvTyMvY',
|
|
2330
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
2331
|
+
'BwvZC2fNzxm',
|
|
2332
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
|
|
2333
|
+
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
2334
|
+
'DgfZA051BwjLCG',
|
|
2335
|
+
'uefuq0G',
|
|
2336
|
+
'CMvHC29U',
|
|
2337
|
+
'iIbUB3qGzM91BMq',
|
|
2338
|
+
'ig1ZzZ0',
|
|
2339
|
+
'zgvZy3jPChrPB24',
|
|
2340
|
+
'BgLZDfnLCNzLCG',
|
|
2341
|
+
'y2XHAw1FDgfZA3m',
|
|
2342
|
+
'zxjYB3i',
|
|
2343
|
+
'l3jLC29SDMuTy2HHBM5LBa',
|
|
2008
2344
|
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
2009
|
-
'
|
|
2010
|
-
'
|
|
2011
|
-
'
|
|
2012
|
-
'
|
|
2013
|
-
'
|
|
2014
|
-
'
|
|
2015
|
-
'
|
|
2016
|
-
'
|
|
2345
|
+
'ignSywLTzwq',
|
|
2346
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
2347
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
2348
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
2349
|
+
'CxvLDwvK',
|
|
2350
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
2351
|
+
'kg5VBMuP',
|
|
2352
|
+
'ChvZAa',
|
|
2353
|
+
'CMvZCg9UC2u',
|
|
2354
|
+
'C2HHmJu2',
|
|
2355
|
+
'yM9KEu1HCMTKB3DU',
|
|
2356
|
+
'AhvTyw5Z'
|
|
2017
2357
|
];
|
|
2018
|
-
|
|
2019
|
-
return
|
|
2020
|
-
};
|
|
2021
|
-
return _0x3714();
|
|
2022
|
-
}
|
|
2023
|
-
async function registerChatBridgeTools(_0x562250, _0x22eb8e, _0x2437f9) {
|
|
2024
|
-
const _0xf27065 = {
|
|
2025
|
-
_0x394908: 0x20f,
|
|
2026
|
-
_0x5c1ed0: 0x14f,
|
|
2027
|
-
_0x505129: 0x1de,
|
|
2028
|
-
_0xc9dc79: 0x156,
|
|
2029
|
-
_0x4d105c: 0x156,
|
|
2030
|
-
_0x408f58: 0x223,
|
|
2031
|
-
_0x5e0c36: 0x20f,
|
|
2032
|
-
_0x53a0b2: 0x168,
|
|
2033
|
-
_0x114a2d: 0x20f,
|
|
2034
|
-
_0x5f4a03: 0x1ab,
|
|
2035
|
-
_0x134646: 0x19f,
|
|
2036
|
-
_0x23e332: 0x2ab,
|
|
2037
|
-
_0x321d9b: 0x27e,
|
|
2038
|
-
_0x31f0a7: 0x288,
|
|
2039
|
-
_0x5efbf8: 0x140,
|
|
2040
|
-
_0x3cfb3f: 0x2a6,
|
|
2041
|
-
_0x578fbe: 0x135,
|
|
2042
|
-
_0xb0b51e: 0x168,
|
|
2043
|
-
_0x53f40f: 0x276,
|
|
2044
|
-
_0x38f0a8: 0x296,
|
|
2045
|
-
_0x46f880: 0x29e,
|
|
2046
|
-
_0xdc30e8: 0x2a6,
|
|
2047
|
-
_0x1a50f6: 0x294,
|
|
2048
|
-
_0x4729a9: 0x168,
|
|
2049
|
-
_0x2f070b: 0x156,
|
|
2050
|
-
_0x48b868: 0x23e,
|
|
2051
|
-
_0x242f77: 0x156,
|
|
2052
|
-
_0x26bae8: 0x22a,
|
|
2053
|
-
_0x547f93: 0x1ee,
|
|
2054
|
-
_0x1495e4: 0x156,
|
|
2055
|
-
_0x17e573: 0x156,
|
|
2056
|
-
_0x4eb4c0: 0x277,
|
|
2057
|
-
_0x4111c3: 0x246,
|
|
2058
|
-
_0x137c9c: 0x156,
|
|
2059
|
-
_0x1f3dc3: 0x156,
|
|
2060
|
-
_0x4b6270: 0x28e,
|
|
2061
|
-
_0x37289a: 0x156,
|
|
2062
|
-
_0x56d5ab: 0x187,
|
|
2063
|
-
_0x48fb9b: 0x2a5,
|
|
2064
|
-
_0x10fb7a: 0x1a6,
|
|
2065
|
-
_0x556c93: 0x156,
|
|
2066
|
-
_0x170ee3: 0x168,
|
|
2067
|
-
_0xd9bacb: 0x156,
|
|
2068
|
-
_0x279172: 0x20f,
|
|
2069
|
-
_0x38a365: 0x23c,
|
|
2070
|
-
_0x29372f: 0x2a7,
|
|
2071
|
-
_0xb0b475: 0x2bb,
|
|
2072
|
-
_0x1282ff: 0x156
|
|
2073
|
-
}, _0x59eec4 = { _0x5cf31b: 0x23c }, _0x1275fb = {
|
|
2074
|
-
_0x10fe00: 0x2a2,
|
|
2075
|
-
_0x1bdfbd: 0x15e
|
|
2076
|
-
}, _0x2857f7 = { _0x117048: 0x2a2 }, _0x49e851 = {
|
|
2077
|
-
_0x47b880: 0x2a2,
|
|
2078
|
-
_0x477b01: 0x1d5
|
|
2079
|
-
}, _0x15793d = {
|
|
2080
|
-
_0x4090b8: 0x255,
|
|
2081
|
-
_0x4133be: 0x2a2
|
|
2082
|
-
}, _0x1e7f99 = {
|
|
2083
|
-
_0x35029f: 0x154,
|
|
2084
|
-
_0xe78729: 0x2a2,
|
|
2085
|
-
_0x5d18dc: 0x23a
|
|
2086
|
-
}, _0x2e81c7 = {
|
|
2087
|
-
_0x3471dc: 0x2a2,
|
|
2088
|
-
_0x4d63bf: 0x206
|
|
2089
|
-
}, _0x2e0312 = {
|
|
2090
|
-
_0x479ca3: 0x151,
|
|
2091
|
-
_0x44da30: 0x2a2,
|
|
2092
|
-
_0x4a4ed7: 0x1a7
|
|
2093
|
-
}, _0x526e78 = { _0x576755: 0x1c9 }, _0x3c8885 = { _0x15014d: 0x2a2 }, _0x245f35 = { _0x55275d: 0x1ec }, _0x3e97b8 = _0x229703, {z: _0x128a5e} = await import(_0x3e97b8(0x237));
|
|
2094
|
-
_0x562250[_0x3e97b8(_0xf27065._0x394908)](_0x3e97b8(_0xf27065._0x5c1ed0), _0x3e97b8(_0xf27065._0x505129), {
|
|
2095
|
-
'target': _0x128a5e['string'](),
|
|
2096
|
-
'content': _0x128a5e[_0x3e97b8(_0xf27065._0xc9dc79)](),
|
|
2097
|
-
'attachment_ids': _0x128a5e[_0x3e97b8(0x2a6)](_0x128a5e[_0x3e97b8(_0xf27065._0x4d105c)]())[_0x3e97b8(0x168)](),
|
|
2098
|
-
'visibility': _0x128a5e[_0x3e97b8(_0xf27065._0x408f58)]([
|
|
2099
|
-
_0x3e97b8(0x257),
|
|
2100
|
-
_0x3e97b8(0x185)
|
|
2101
|
-
])['optional']()[_0x3e97b8(0x159)](_0x3e97b8(0x270))
|
|
2102
|
-
}, async _0x3916a3 => {
|
|
2103
|
-
const _0x5dc7e = _0x3e97b8;
|
|
2104
|
-
try {
|
|
2105
|
-
return textResult(await _0x22eb8e[_0x5dc7e(0x14f)](_0x3916a3));
|
|
2106
|
-
} catch (_0x533aa4) {
|
|
2107
|
-
return textResult(_0x533aa4 instanceof Error ? _0x533aa4[_0x5dc7e(0x2a2)] : 'send_message\x20failed', !![]);
|
|
2108
|
-
}
|
|
2109
|
-
}), _0x562250[_0x3e97b8(_0xf27065._0x5e0c36)]('check_messages', 'Check\x20for\x20new\x20messages\x20without\x20waiting.', {}, async () => {
|
|
2110
|
-
const _0x5a4301 = _0x3e97b8;
|
|
2111
|
-
try {
|
|
2112
|
-
return textResult(await _0x22eb8e[_0x5a4301(0x28b)]());
|
|
2113
|
-
} catch (_0x41bde3) {
|
|
2114
|
-
return textResult(_0x41bde3 instanceof Error ? _0x41bde3[_0x5a4301(0x2a2)] : _0x5a4301(_0x245f35._0x55275d), !![]);
|
|
2115
|
-
}
|
|
2116
|
-
}), _0x562250[_0x3e97b8(0x20f)]('read_history', _0x3e97b8(0x208), {
|
|
2117
|
-
'channel': _0x128a5e[_0x3e97b8(0x156)](),
|
|
2118
|
-
'limit': _0x128a5e['number']()[_0x3e97b8(_0xf27065._0x53a0b2)](),
|
|
2119
|
-
'before': _0x128a5e[_0x3e97b8(0x29e)]()[_0x3e97b8(0x168)](),
|
|
2120
|
-
'after': _0x128a5e['number']()[_0x3e97b8(_0xf27065._0x53a0b2)]()
|
|
2121
|
-
}, async _0x30c541 => {
|
|
2122
|
-
const _0x152c1b = _0x3e97b8;
|
|
2123
|
-
try {
|
|
2124
|
-
return textResult(await _0x22eb8e[_0x152c1b(0x27b)](_0x30c541));
|
|
2125
|
-
} catch (_0x335171) {
|
|
2126
|
-
return textResult(_0x335171 instanceof Error ? _0x335171[_0x152c1b(_0x3c8885._0x15014d)] : _0x152c1b(0x263), !![]);
|
|
2127
|
-
}
|
|
2128
|
-
}), _0x562250[_0x3e97b8(_0xf27065._0x114a2d)]('list_server', _0x3e97b8(_0xf27065._0x5f4a03), {}, async () => {
|
|
2129
|
-
const _0x4dcbe4 = _0x3e97b8;
|
|
2130
|
-
try {
|
|
2131
|
-
return textResult(await _0x22eb8e[_0x4dcbe4(_0x526e78._0x576755)]());
|
|
2132
|
-
} catch (_0x5b8020) {
|
|
2133
|
-
return textResult(_0x5b8020 instanceof Error ? _0x5b8020[_0x4dcbe4(0x2a2)] : _0x4dcbe4(0x281), !![]);
|
|
2134
|
-
}
|
|
2135
|
-
}), _0x562250[_0x3e97b8(0x20f)](_0x3e97b8(0x19e), _0x3e97b8(_0xf27065._0x134646), {
|
|
2136
|
-
'channel': _0x128a5e['string'](),
|
|
2137
|
-
'status': _0x128a5e[_0x3e97b8(0x223)]([
|
|
2138
|
-
_0x3e97b8(_0xf27065._0x23e332),
|
|
2139
|
-
_0x3e97b8(_0xf27065._0x321d9b),
|
|
2140
|
-
_0x3e97b8(_0xf27065._0x31f0a7),
|
|
2141
|
-
_0x3e97b8(_0xf27065._0x5efbf8)
|
|
2142
|
-
])['optional']()
|
|
2143
|
-
}, async _0x41ece3 => {
|
|
2144
|
-
try {
|
|
2145
|
-
return textResult(await _0x22eb8e['list_tasks'](_0x41ece3));
|
|
2146
|
-
} catch (_0x2b9a4d) {
|
|
2147
|
-
return textResult(_0x2b9a4d instanceof Error ? _0x2b9a4d['message'] : 'list_tasks\x20failed', !![]);
|
|
2148
|
-
}
|
|
2149
|
-
}), _0x562250[_0x3e97b8(0x20f)](_0x3e97b8(0x151), _0x3e97b8(0x12e), {
|
|
2150
|
-
'channel': _0x128a5e['string'](),
|
|
2151
|
-
'idempotency_key': _0x128a5e[_0x3e97b8(0x156)]()[_0x3e97b8(0x168)](),
|
|
2152
|
-
'tasks': _0x128a5e[_0x3e97b8(_0xf27065._0x3cfb3f)](_0x128a5e[_0x3e97b8(0x1f8)]({
|
|
2153
|
-
'title': _0x128a5e['string'](),
|
|
2154
|
-
'description': _0x128a5e[_0x3e97b8(0x156)]()[_0x3e97b8(0x168)](),
|
|
2155
|
-
'priority': _0x128a5e[_0x3e97b8(0x223)]([
|
|
2156
|
-
_0x3e97b8(0x22c),
|
|
2157
|
-
_0x3e97b8(_0xf27065._0x578fbe),
|
|
2158
|
-
_0x3e97b8(0x158),
|
|
2159
|
-
'urgent'
|
|
2160
|
-
])[_0x3e97b8(_0xf27065._0xb0b51e)]()
|
|
2161
|
-
}))
|
|
2162
|
-
}, async _0x53920c => {
|
|
2163
|
-
const _0x161d6f = _0x3e97b8;
|
|
2164
|
-
try {
|
|
2165
|
-
return textResult(await _0x22eb8e[_0x161d6f(_0x2e0312._0x479ca3)](_0x53920c));
|
|
2166
|
-
} catch (_0xbf9c3e) {
|
|
2167
|
-
return textResult(_0xbf9c3e instanceof Error ? _0xbf9c3e[_0x161d6f(_0x2e0312._0x44da30)] : _0x161d6f(_0x2e0312._0x4a4ed7), !![]);
|
|
2168
|
-
}
|
|
2169
|
-
}), _0x562250[_0x3e97b8(_0xf27065._0x5e0c36)](_0x3e97b8(_0xf27065._0x53f40f), _0x3e97b8(_0xf27065._0x38f0a8), {
|
|
2170
|
-
'channel': _0x128a5e[_0x3e97b8(0x156)](),
|
|
2171
|
-
'task_numbers': _0x128a5e['array'](_0x128a5e[_0x3e97b8(_0xf27065._0x46f880)]())[_0x3e97b8(_0xf27065._0x53a0b2)](),
|
|
2172
|
-
'message_ids': _0x128a5e[_0x3e97b8(_0xf27065._0xdc30e8)](_0x128a5e['string']())['optional'](),
|
|
2173
|
-
'evidence': _0x128a5e[_0x3e97b8(0x1aa)](_0x128a5e[_0x3e97b8(_0xf27065._0x4d105c)](), _0x128a5e[_0x3e97b8(0x1f8)]({
|
|
2174
|
-
'create_thread': _0x128a5e[_0x3e97b8(0x294)]()[_0x3e97b8(0x168)](),
|
|
2175
|
-
'create_task': _0x128a5e[_0x3e97b8(_0xf27065._0x1a50f6)]()[_0x3e97b8(0x168)]()
|
|
2176
|
-
}))[_0x3e97b8(0x168)](),
|
|
2177
|
-
'idempotency_key': _0x128a5e['string']()[_0x3e97b8(_0xf27065._0x4729a9)]()
|
|
2178
|
-
}, async _0x251d43 => {
|
|
2179
|
-
const _0x4feace = _0x3e97b8;
|
|
2180
|
-
try {
|
|
2181
|
-
return textResult(await _0x22eb8e[_0x4feace(0x276)](_0x251d43));
|
|
2182
|
-
} catch (_0xdd235) {
|
|
2183
|
-
return textResult(_0xdd235 instanceof Error ? _0xdd235[_0x4feace(_0x2e81c7._0x3471dc)] : _0x4feace(_0x2e81c7._0x4d63bf), !![]);
|
|
2184
|
-
}
|
|
2185
|
-
}), _0x562250[_0x3e97b8(_0xf27065._0x394908)](_0x3e97b8(0x154), 'Release\x20a\x20claimed\x20task\x20by\x20channel\x20and\x20task\x20number.', {
|
|
2186
|
-
'channel': _0x128a5e[_0x3e97b8(_0xf27065._0x2f070b)](),
|
|
2187
|
-
'task_number': _0x128a5e[_0x3e97b8(0x29e)](),
|
|
2188
|
-
'idempotency_key': _0x128a5e[_0x3e97b8(_0xf27065._0xc9dc79)]()[_0x3e97b8(0x168)]()
|
|
2189
|
-
}, async _0x3aa07e => {
|
|
2190
|
-
const _0x47921c = _0x3e97b8;
|
|
2191
|
-
try {
|
|
2192
|
-
return textResult(await _0x22eb8e[_0x47921c(_0x1e7f99._0x35029f)](_0x3aa07e));
|
|
2193
|
-
} catch (_0x1d6f6f) {
|
|
2194
|
-
return textResult(_0x1d6f6f instanceof Error ? _0x1d6f6f[_0x47921c(_0x1e7f99._0xe78729)] : _0x47921c(_0x1e7f99._0x5d18dc), !![]);
|
|
2195
|
-
}
|
|
2196
|
-
}), _0x562250[_0x3e97b8(0x20f)]('update_task_status', _0x3e97b8(_0xf27065._0x48b868), {
|
|
2197
|
-
'channel': _0x128a5e['string'](),
|
|
2198
|
-
'task_number': _0x128a5e[_0x3e97b8(0x29e)](),
|
|
2199
|
-
'status': _0x128a5e[_0x3e97b8(0x223)]([
|
|
2200
|
-
'todo',
|
|
2201
|
-
'in_progress',
|
|
2202
|
-
_0x3e97b8(0x288),
|
|
2203
|
-
'done'
|
|
2204
|
-
]),
|
|
2205
|
-
'idempotency_key': _0x128a5e[_0x3e97b8(_0xf27065._0x242f77)]()[_0x3e97b8(0x168)]()
|
|
2206
|
-
}, async _0x147c7c => {
|
|
2207
|
-
const _0x10449a = _0x3e97b8;
|
|
2208
|
-
try {
|
|
2209
|
-
return textResult(await _0x22eb8e[_0x10449a(_0x15793d._0x4090b8)](_0x147c7c));
|
|
2210
|
-
} catch (_0x81058a) {
|
|
2211
|
-
return textResult(_0x81058a instanceof Error ? _0x81058a[_0x10449a(_0x15793d._0x4133be)] : 'update_task_status\x20failed', !![]);
|
|
2212
|
-
}
|
|
2213
|
-
}), _0x562250[_0x3e97b8(0x20f)](_0x3e97b8(_0xf27065._0x26bae8), _0x3e97b8(_0xf27065._0x547f93), {
|
|
2214
|
-
'channel': _0x128a5e[_0x3e97b8(_0xf27065._0x1495e4)](),
|
|
2215
|
-
'file_path': _0x128a5e[_0x3e97b8(_0xf27065._0x17e573)]()
|
|
2216
|
-
}, async _0x280dc4 => {
|
|
2217
|
-
const _0x5996fe = _0x3e97b8;
|
|
2218
|
-
try {
|
|
2219
|
-
return textResult(await _0x22eb8e[_0x5996fe(0x22a)](_0x280dc4));
|
|
2220
|
-
} catch (_0x5add96) {
|
|
2221
|
-
return textResult(_0x5add96 instanceof Error ? _0x5add96[_0x5996fe(_0x49e851._0x47b880)] : _0x5996fe(_0x49e851._0x477b01), !![]);
|
|
2222
|
-
}
|
|
2223
|
-
}), _0x562250[_0x3e97b8(0x20f)](_0x3e97b8(_0xf27065._0x4eb4c0), 'Download\x20an\x20attachment\x20to\x20the\x20local\x20cache\x20and\x20return\x20the\x20local\x20path.', { 'attachment_id': _0x128a5e[_0x3e97b8(0x156)]() }, async _0x3ff7a1 => {
|
|
2224
|
-
const _0x32aaeb = _0x3e97b8;
|
|
2225
|
-
try {
|
|
2226
|
-
return textResult(await _0x22eb8e['view_file'](_0x3ff7a1));
|
|
2227
|
-
} catch (_0x30e159) {
|
|
2228
|
-
return textResult(_0x30e159 instanceof Error ? _0x30e159['message'] : _0x32aaeb(0x271), !![]);
|
|
2229
|
-
}
|
|
2230
|
-
}), _0x562250[_0x3e97b8(0x20f)](_0x3e97b8(0x221), _0x3e97b8(_0xf27065._0x4111c3), { 'work_key': _0x128a5e[_0x3e97b8(_0xf27065._0x137c9c)]() }, async _0x5f1c42 => {
|
|
2231
|
-
const _0x42cd96 = _0x3e97b8;
|
|
2232
|
-
try {
|
|
2233
|
-
return textResult(await _0x22eb8e['get_worker_status'](_0x5f1c42));
|
|
2234
|
-
} catch (_0x12753d) {
|
|
2235
|
-
return textResult(_0x12753d instanceof Error ? _0x12753d[_0x42cd96(_0x2857f7._0x117048)] : 'get_worker_status\x20failed', !![]);
|
|
2236
|
-
}
|
|
2237
|
-
}), _0x562250[_0x3e97b8(0x20f)](_0x3e97b8(0x26b), _0x3e97b8(0x1b4), { 'work_key': _0x128a5e[_0x3e97b8(_0xf27065._0x1f3dc3)]() }, async _0x4254d8 => {
|
|
2238
|
-
try {
|
|
2239
|
-
return textResult(await _0x22eb8e['get_worker_result'](_0x4254d8));
|
|
2240
|
-
} catch (_0x6563c4) {
|
|
2241
|
-
return textResult(_0x6563c4 instanceof Error ? _0x6563c4['message'] : 'get_worker_result\x20failed', !![]);
|
|
2242
|
-
}
|
|
2243
|
-
}), _0x562250['tool'](_0x3e97b8(0x150), _0x3e97b8(_0xf27065._0x4b6270), {
|
|
2244
|
-
'work_key': _0x128a5e[_0x3e97b8(_0xf27065._0x37289a)](),
|
|
2245
|
-
'result': _0x128a5e['enum']([
|
|
2246
|
-
_0x3e97b8(_0xf27065._0x56d5ab),
|
|
2247
|
-
_0x3e97b8(_0xf27065._0x48fb9b),
|
|
2248
|
-
_0x3e97b8(_0xf27065._0x10fb7a)
|
|
2249
|
-
]),
|
|
2250
|
-
'summary': _0x128a5e[_0x3e97b8(0x156)](),
|
|
2251
|
-
'decisions': _0x128a5e[_0x3e97b8(0x2a6)](_0x128a5e[_0x3e97b8(0x156)]())['optional'](),
|
|
2252
|
-
'files_changed': _0x128a5e[_0x3e97b8(0x2a6)](_0x128a5e[_0x3e97b8(_0xf27065._0x556c93)]())[_0x3e97b8(_0xf27065._0x170ee3)](),
|
|
2253
|
-
'open_issues': _0x128a5e[_0x3e97b8(0x2a6)](_0x128a5e[_0x3e97b8(0x156)]())['optional'](),
|
|
2254
|
-
'next_steps': _0x128a5e[_0x3e97b8(0x2a6)](_0x128a5e[_0x3e97b8(_0xf27065._0xd9bacb)]())[_0x3e97b8(0x168)]()
|
|
2255
|
-
}, async _0x29bf44 => {
|
|
2256
|
-
const _0x29a652 = _0x3e97b8;
|
|
2257
|
-
try {
|
|
2258
|
-
return textResult(await _0x22eb8e[_0x29a652(0x150)](_0x29bf44));
|
|
2259
|
-
} catch (_0x400917) {
|
|
2260
|
-
return textResult(_0x400917 instanceof Error ? _0x400917[_0x29a652(_0x1275fb._0x10fe00)] : _0x29a652(_0x1275fb._0x1bdfbd), !![]);
|
|
2261
|
-
}
|
|
2262
|
-
}), _0x562250[_0x3e97b8(_0xf27065._0x279172)](_0x3e97b8(_0xf27065._0x38a365), _0x3e97b8(_0xf27065._0x29372f), {
|
|
2263
|
-
'work_key': _0x128a5e[_0x3e97b8(_0xf27065._0x1f3dc3)](),
|
|
2264
|
-
'reason': _0x128a5e['string']()
|
|
2265
|
-
}, async _0x12dd06 => {
|
|
2266
|
-
const _0x44af94 = _0x3e97b8;
|
|
2267
|
-
try {
|
|
2268
|
-
return textResult(await _0x22eb8e[_0x44af94(_0x59eec4._0x5cf31b)](_0x12dd06));
|
|
2269
|
-
} catch (_0x3babc0) {
|
|
2270
|
-
return textResult(_0x3babc0 instanceof Error ? _0x3babc0[_0x44af94(0x2a2)] : _0x44af94(0x14c), !![]);
|
|
2271
|
-
}
|
|
2272
|
-
}), _0x2437f9?.[_0x3e97b8(_0xf27065._0xb0b475)] && _0x562250[_0x3e97b8(_0xf27065._0x114a2d)](_0x3e97b8(0x25a), _0x3e97b8(0x196), { 'work_key': _0x128a5e[_0x3e97b8(_0xf27065._0x1282ff)]() }, async _0x9b2886 => {
|
|
2273
|
-
const _0x4370bf = _0x3e97b8;
|
|
2274
|
-
try {
|
|
2275
|
-
return textResult(await _0x22eb8e[_0x4370bf(0x25a)](_0x9b2886));
|
|
2276
|
-
} catch (_0x34a0ef) {
|
|
2277
|
-
return textResult(_0x34a0ef instanceof Error ? _0x34a0ef[_0x4370bf(0x2a2)] : _0x4370bf(0x292), !![]);
|
|
2278
|
-
}
|
|
2279
|
-
});
|
|
2280
|
-
}
|
|
2281
|
-
async function createChatBridgeServer(_0xcf54a4) {
|
|
2282
|
-
const _0x351e91 = {
|
|
2283
|
-
_0x35db39: 0x132,
|
|
2284
|
-
_0x398bab: 0x2bb
|
|
2285
|
-
}, _0x40a50b = _0x229703, {McpServer: _0x280c28} = await import(_0x40a50b(_0x351e91._0x35db39)), _0xece01d = new _0x280c28({
|
|
2286
|
-
'name': 'chat',
|
|
2287
|
-
'version': _0x40a50b(0x1a1)
|
|
2288
|
-
}), _0x203499 = createChatBridgeHandlers(_0xcf54a4);
|
|
2289
|
-
return await registerChatBridgeTools(_0xece01d, _0x203499, { 'workerMode': _0xcf54a4[_0x40a50b(_0x351e91._0x398bab)] }), {
|
|
2290
|
-
'handlers': _0x203499,
|
|
2291
|
-
'server': _0xece01d
|
|
2292
|
-
};
|
|
2293
|
-
}
|
|
2294
|
-
function readFlag(_0x259526, _0x484307) {
|
|
2295
|
-
const _0x4f9205 = _0x229703, _0x5e9fd0 = _0x259526[_0x4f9205(0x213)](_0x484307);
|
|
2296
|
-
if (_0x5e9fd0 === -0x1)
|
|
2297
|
-
return void 0x0;
|
|
2298
|
-
return _0x259526[_0x5e9fd0 + 0x1];
|
|
2299
|
-
}
|
|
2300
|
-
function parseChatBridgeArgs(_0x567af8) {
|
|
2301
|
-
const _0x3e65c7 = {
|
|
2302
|
-
_0x5ed796: 0x1cf,
|
|
2303
|
-
_0x26860c: 0x15a,
|
|
2304
|
-
_0x235abc: 0x16a,
|
|
2305
|
-
_0x293534: 0x19d,
|
|
2306
|
-
_0x316d8f: 0x1ef,
|
|
2307
|
-
_0x258380: 0x1d6,
|
|
2308
|
-
_0x20de4b: 0x22b,
|
|
2309
|
-
_0x4e8cb5: 0x1af,
|
|
2310
|
-
_0x131279: 0x17b
|
|
2311
|
-
}, _0x56923b = _0x229703, _0xc3ba35 = readFlag(_0x567af8, _0x56923b(_0x3e65c7._0x5ed796)), _0x1ee95b = readFlag(_0x567af8, _0x56923b(_0x3e65c7._0x26860c)), _0x14d79c = readFlag(_0x567af8, _0x56923b(_0x3e65c7._0x235abc)), _0x1fa5da = readFlag(_0x567af8, '--server-url') ?? _0x56923b(_0x3e65c7._0x293534), _0x2e7cea = readFlag(_0x567af8, _0x56923b(0x235)), _0x45b0c2 = readFlag(_0x567af8, _0x56923b(_0x3e65c7._0x316d8f)), _0x1c06d9 = readFlag(_0x567af8, '--worker-mode-enabled'), _0x4159b7 = readFlag(_0x567af8, _0x56923b(0x137)), _0x216383 = readFlag(_0x567af8, _0x56923b(_0x3e65c7._0x258380)), _0x1bfd41 = _0x567af8['includes'](_0x56923b(_0x3e65c7._0x20de4b)), _0x51a21a = _0x14d79c === void 0x0 ? void 0x0 : Number[_0x56923b(0x147)](_0x14d79c, 0xa);
|
|
2312
|
-
if (!_0xc3ba35)
|
|
2313
|
-
throw new Error(_0x56923b(_0x3e65c7._0x4e8cb5));
|
|
2314
|
-
if (!_0x1ee95b)
|
|
2315
|
-
throw new Error(_0x56923b(_0x3e65c7._0x131279));
|
|
2316
|
-
if (_0x14d79c !== void 0x0 && (_0x51a21a === void 0x0 || !Number[_0x56923b(0x216)](_0x51a21a) || _0x51a21a < 0x0))
|
|
2317
|
-
throw new Error('Invalid\x20--initial-last-seen-seq');
|
|
2318
|
-
return {
|
|
2319
|
-
'agentId': _0xc3ba35,
|
|
2320
|
-
'daemonApiKey': _0x1ee95b,
|
|
2321
|
-
'daemonLocalUrl': _0x2e7cea,
|
|
2322
|
-
'initialLastSeenSeq': _0x51a21a,
|
|
2323
|
-
'sessionId': _0x45b0c2,
|
|
2324
|
-
'serverUrl': _0x1fa5da,
|
|
2325
|
-
'workerModeEnabled': _0x1c06d9 === void 0x0 ? void 0x0 : _0x1c06d9 !== _0x56923b(0x224),
|
|
2326
|
-
'workerSessionId': _0x4159b7,
|
|
2327
|
-
'workerThreadTarget': _0x216383,
|
|
2328
|
-
'workerMode': _0x1bfd41
|
|
2358
|
+
_0x11ab = function () {
|
|
2359
|
+
return _0x12e639;
|
|
2329
2360
|
};
|
|
2361
|
+
return _0x11ab();
|
|
2330
2362
|
}
|
|
2331
|
-
async function runChatBridgeCli(_0x4d9419) {
|
|
2332
|
-
const _0x2d7ab3 = {
|
|
2333
|
-
_0x1cea88: 0x222,
|
|
2334
|
-
_0xe7c37f: 0x14e,
|
|
2335
|
-
_0x56c5b2: 0x2bb
|
|
2336
|
-
}, _0xdb5010 = _0x229703, _0x429fde = parseChatBridgeArgs(_0x4d9419), {StdioServerTransport: _0x3954d6} = await import(_0xdb5010(_0x2d7ab3._0x1cea88)), _0x56297c = createInternalAgentClient(_0x429fde), _0x100597 = createAttachmentCache(), _0x2a9cfa = await createChatBridgeServer({
|
|
2337
|
-
'agentId': _0x429fde['agentId'],
|
|
2338
|
-
'attachmentCache': _0x100597,
|
|
2339
|
-
'client': _0x56297c,
|
|
2340
|
-
'daemonLocalUrl': _0x429fde[_0xdb5010(_0x2d7ab3._0xe7c37f)],
|
|
2341
|
-
'uploadPreparer': prepareUploadFile,
|
|
2342
|
-
'workerModeEnabled': _0x429fde[_0xdb5010(0x139)],
|
|
2343
|
-
'workerMode': _0x429fde[_0xdb5010(_0x2d7ab3._0x56c5b2)]
|
|
2344
|
-
});
|
|
2345
|
-
await _0x2a9cfa[_0xdb5010(0x2a8)]['connect'](new _0x3954d6());
|
|
2346
|
-
}
|
|
2347
|
-
var executedAsEntry = process['argv'][0x1] ? import.meta.url === pathToFileURL(process[_0x229703(0x248)][0x1])[_0x229703(0x191)] : ![];
|
|
2348
|
-
executedAsEntry && await runChatBridgeCli(process[_0x229703(0x248)][_0x229703(0x2a0)](0x2));
|
|
2349
2363
|
export {
|
|
2350
2364
|
createChatBridgeHandlers,
|
|
2351
2365
|
createChatBridgeServer,
|