@easynet/agent-tool-buildin 0.0.11 → 0.0.12
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/core-tools-manifest.json +83 -550
- package/dist/src/exec/defaults.d.ts +2 -2
- package/dist/src/exec/defaults.js +2 -2
- package/dist/src/exec/runCommand.d.ts +1 -1
- package/dist/src/exec/runCommand.d.ts.map +1 -1
- package/dist/src/exec/runCommand.js +20 -12
- package/dist/src/exec/runCommand.js.map +1 -1
- package/dist/src/fs/defaults.d.ts +16 -0
- package/dist/src/fs/defaults.d.ts.map +1 -0
- package/dist/src/fs/defaults.js +16 -0
- package/dist/src/fs/defaults.js.map +1 -0
- package/dist/src/fs/deletePath.d.ts +1 -1
- package/dist/src/fs/deletePath.d.ts.map +1 -1
- package/dist/src/fs/deletePath.js +10 -3
- package/dist/src/fs/deletePath.js.map +1 -1
- package/dist/src/fs/listDir.d.ts +1 -1
- package/dist/src/fs/listDir.d.ts.map +1 -1
- package/dist/src/fs/listDir.js +16 -4
- package/dist/src/fs/listDir.js.map +1 -1
- package/dist/src/fs/readText.d.ts +1 -1
- package/dist/src/fs/readText.d.ts.map +1 -1
- package/dist/src/fs/readText.js +12 -6
- package/dist/src/fs/readText.js.map +1 -1
- package/dist/src/fs/searchText.d.ts +1 -1
- package/dist/src/fs/searchText.d.ts.map +1 -1
- package/dist/src/fs/searchText.js +17 -8
- package/dist/src/fs/searchText.js.map +1 -1
- package/dist/src/fs/sha256.d.ts +1 -1
- package/dist/src/fs/sha256.d.ts.map +1 -1
- package/dist/src/fs/sha256.js +11 -4
- package/dist/src/fs/sha256.js.map +1 -1
- package/dist/src/fs/writeText.d.ts +1 -1
- package/dist/src/fs/writeText.d.ts.map +1 -1
- package/dist/src/fs/writeText.js +10 -4
- package/dist/src/fs/writeText.js.map +1 -1
- package/dist/src/http/defaults.d.ts +1 -1
- package/dist/src/http/defaults.js +1 -1
- package/dist/src/http/downloadFile.d.ts +1 -1
- package/dist/src/http/downloadFile.d.ts.map +1 -1
- package/dist/src/http/downloadFile.js +27 -11
- package/dist/src/http/downloadFile.js.map +1 -1
- package/dist/src/http/duckduckgoSearch.d.ts +2 -1
- package/dist/src/http/duckduckgoSearch.d.ts.map +1 -1
- package/dist/src/http/duckduckgoSearch.js +24 -10
- package/dist/src/http/duckduckgoSearch.js.map +1 -1
- package/dist/src/http/fetchJson.d.ts +1 -1
- package/dist/src/http/fetchJson.d.ts.map +1 -1
- package/dist/src/http/fetchJson.js +24 -10
- package/dist/src/http/fetchJson.js.map +1 -1
- package/dist/src/http/fetchPageMainContent.d.ts +1 -1
- package/dist/src/http/fetchPageMainContent.d.ts.map +1 -1
- package/dist/src/http/fetchPageMainContent.js +24 -10
- package/dist/src/http/fetchPageMainContent.js.map +1 -1
- package/dist/src/http/fetchText.d.ts +1 -1
- package/dist/src/http/fetchText.d.ts.map +1 -1
- package/dist/src/http/fetchText.js +24 -10
- package/dist/src/http/fetchText.js.map +1 -1
- package/dist/src/http/head.d.ts +1 -1
- package/dist/src/http/head.d.ts.map +1 -1
- package/dist/src/http/head.js +22 -9
- package/dist/src/http/head.js.map +1 -1
- package/dist/src/http/yahooFinance.d.ts +2 -1
- package/dist/src/http/yahooFinance.d.ts.map +1 -1
- package/dist/src/http/yahooFinance.js +23 -10
- package/dist/src/http/yahooFinance.js.map +1 -1
- package/dist/src/util/hashText.d.ts +1 -1
- package/dist/src/util/hashText.d.ts.map +1 -1
- package/dist/src/util/hashText.js +3 -1
- package/dist/src/util/hashText.js.map +1 -1
- package/dist/src/util/jsonSelect.d.ts +1 -1
- package/dist/src/util/jsonSelect.d.ts.map +1 -1
- package/dist/src/util/jsonSelect.js +4 -1
- package/dist/src/util/jsonSelect.js.map +1 -1
- package/dist/src/util/now.d.ts +1 -1
- package/dist/src/util/now.d.ts.map +1 -1
- package/dist/src/util/now.js +10 -2
- package/dist/src/util/now.js.map +1 -1
- package/dist/src/util/overrideWithConfig.d.ts +6 -0
- package/dist/src/util/overrideWithConfig.d.ts.map +1 -0
- package/dist/src/util/overrideWithConfig.js +17 -0
- package/dist/src/util/overrideWithConfig.js.map +1 -0
- package/dist/src/util/templateRender.d.ts +1 -1
- package/dist/src/util/templateRender.d.ts.map +1 -1
- package/dist/src/util/templateRender.js +4 -1
- package/dist/src/util/templateRender.js.map +1 -1
- package/dist/src/util/truncate.d.ts +1 -1
- package/dist/src/util/truncate.d.ts.map +1 -1
- package/dist/src/util/truncate.js +9 -2
- package/dist/src/util/truncate.js.map +1 -1
- package/dist/vitest.config.d.ts +3 -0
- package/dist/vitest.config.d.ts.map +1 -0
- package/dist/vitest.config.js +8 -0
- package/dist/vitest.config.js.map +1 -0
- package/package.json +3 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"kind": "core",
|
|
3
3
|
"tools": [
|
|
4
4
|
{
|
|
5
|
-
"name": "
|
|
5
|
+
"name": "runCommand",
|
|
6
6
|
"description": "Run a Linux command in the sandbox with an allowlist and timeout.",
|
|
7
7
|
"inputSchema": {
|
|
8
8
|
"type": "object",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
]
|
|
52
52
|
},
|
|
53
53
|
"sourcePath": "src/exec/runCommand",
|
|
54
|
-
"exportName": "
|
|
54
|
+
"exportName": "runCommand",
|
|
55
55
|
"sideEffect": "local_write"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
"name": "
|
|
58
|
+
"name": "deletePath",
|
|
59
59
|
"description": "Delete a file or directory in the sandbox (dangerous, requires explicit confirmation).",
|
|
60
60
|
"inputSchema": {
|
|
61
61
|
"type": "object",
|
|
@@ -134,11 +134,11 @@
|
|
|
134
134
|
]
|
|
135
135
|
},
|
|
136
136
|
"sourcePath": "src/fs/deletePath",
|
|
137
|
-
"exportName": "
|
|
137
|
+
"exportName": "deletePath",
|
|
138
138
|
"sideEffect": "destructive"
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
|
-
"name": "
|
|
141
|
+
"name": "listDir",
|
|
142
142
|
"description": "List directory contents in the sandbox.",
|
|
143
143
|
"inputSchema": {
|
|
144
144
|
"type": "object",
|
|
@@ -192,259 +192,12 @@
|
|
|
192
192
|
"type": "string"
|
|
193
193
|
},
|
|
194
194
|
"kind": {
|
|
195
|
-
"type": "
|
|
196
|
-
"
|
|
197
|
-
"
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
"charAt": {
|
|
202
|
-
"type": "object",
|
|
203
|
-
"properties": {}
|
|
204
|
-
},
|
|
205
|
-
"charCodeAt": {
|
|
206
|
-
"type": "object",
|
|
207
|
-
"properties": {}
|
|
208
|
-
},
|
|
209
|
-
"concat": {
|
|
210
|
-
"type": "object",
|
|
211
|
-
"properties": {}
|
|
212
|
-
},
|
|
213
|
-
"indexOf": {
|
|
214
|
-
"type": "object",
|
|
215
|
-
"properties": {}
|
|
216
|
-
},
|
|
217
|
-
"lastIndexOf": {
|
|
218
|
-
"type": "object",
|
|
219
|
-
"properties": {}
|
|
220
|
-
},
|
|
221
|
-
"localeCompare": {
|
|
222
|
-
"type": "object",
|
|
223
|
-
"properties": {}
|
|
224
|
-
},
|
|
225
|
-
"match": {
|
|
226
|
-
"type": "object",
|
|
227
|
-
"properties": {}
|
|
228
|
-
},
|
|
229
|
-
"replace": {
|
|
230
|
-
"type": "object",
|
|
231
|
-
"properties": {}
|
|
232
|
-
},
|
|
233
|
-
"search": {
|
|
234
|
-
"type": "object",
|
|
235
|
-
"properties": {}
|
|
236
|
-
},
|
|
237
|
-
"slice": {
|
|
238
|
-
"type": "object",
|
|
239
|
-
"properties": {}
|
|
240
|
-
},
|
|
241
|
-
"split": {
|
|
242
|
-
"type": "object",
|
|
243
|
-
"properties": {}
|
|
244
|
-
},
|
|
245
|
-
"substring": {
|
|
246
|
-
"type": "object",
|
|
247
|
-
"properties": {}
|
|
248
|
-
},
|
|
249
|
-
"toLowerCase": {
|
|
250
|
-
"type": "object",
|
|
251
|
-
"properties": {}
|
|
252
|
-
},
|
|
253
|
-
"toLocaleLowerCase": {
|
|
254
|
-
"type": "object",
|
|
255
|
-
"properties": {}
|
|
256
|
-
},
|
|
257
|
-
"toUpperCase": {
|
|
258
|
-
"type": "object",
|
|
259
|
-
"properties": {}
|
|
260
|
-
},
|
|
261
|
-
"toLocaleUpperCase": {
|
|
262
|
-
"type": "object",
|
|
263
|
-
"properties": {}
|
|
264
|
-
},
|
|
265
|
-
"trim": {
|
|
266
|
-
"type": "object",
|
|
267
|
-
"properties": {}
|
|
268
|
-
},
|
|
269
|
-
"length": {
|
|
270
|
-
"type": "number"
|
|
271
|
-
},
|
|
272
|
-
"substr": {
|
|
273
|
-
"type": "object",
|
|
274
|
-
"properties": {}
|
|
275
|
-
},
|
|
276
|
-
"valueOf": {
|
|
277
|
-
"type": "object",
|
|
278
|
-
"properties": {}
|
|
279
|
-
},
|
|
280
|
-
"codePointAt": {
|
|
281
|
-
"type": "object",
|
|
282
|
-
"properties": {}
|
|
283
|
-
},
|
|
284
|
-
"includes": {
|
|
285
|
-
"type": "object",
|
|
286
|
-
"properties": {}
|
|
287
|
-
},
|
|
288
|
-
"endsWith": {
|
|
289
|
-
"type": "object",
|
|
290
|
-
"properties": {}
|
|
291
|
-
},
|
|
292
|
-
"normalize": {
|
|
293
|
-
"type": "object",
|
|
294
|
-
"properties": {}
|
|
295
|
-
},
|
|
296
|
-
"repeat": {
|
|
297
|
-
"type": "object",
|
|
298
|
-
"properties": {}
|
|
299
|
-
},
|
|
300
|
-
"startsWith": {
|
|
301
|
-
"type": "object",
|
|
302
|
-
"properties": {}
|
|
303
|
-
},
|
|
304
|
-
"anchor": {
|
|
305
|
-
"type": "object",
|
|
306
|
-
"properties": {}
|
|
307
|
-
},
|
|
308
|
-
"big": {
|
|
309
|
-
"type": "object",
|
|
310
|
-
"properties": {}
|
|
311
|
-
},
|
|
312
|
-
"blink": {
|
|
313
|
-
"type": "object",
|
|
314
|
-
"properties": {}
|
|
315
|
-
},
|
|
316
|
-
"bold": {
|
|
317
|
-
"type": "object",
|
|
318
|
-
"properties": {}
|
|
319
|
-
},
|
|
320
|
-
"fixed": {
|
|
321
|
-
"type": "object",
|
|
322
|
-
"properties": {}
|
|
323
|
-
},
|
|
324
|
-
"fontcolor": {
|
|
325
|
-
"type": "object",
|
|
326
|
-
"properties": {}
|
|
327
|
-
},
|
|
328
|
-
"fontsize": {
|
|
329
|
-
"type": "object",
|
|
330
|
-
"properties": {}
|
|
331
|
-
},
|
|
332
|
-
"italics": {
|
|
333
|
-
"type": "object",
|
|
334
|
-
"properties": {}
|
|
335
|
-
},
|
|
336
|
-
"link": {
|
|
337
|
-
"type": "object",
|
|
338
|
-
"properties": {}
|
|
339
|
-
},
|
|
340
|
-
"small": {
|
|
341
|
-
"type": "object",
|
|
342
|
-
"properties": {}
|
|
343
|
-
},
|
|
344
|
-
"strike": {
|
|
345
|
-
"type": "object",
|
|
346
|
-
"properties": {}
|
|
347
|
-
},
|
|
348
|
-
"sub": {
|
|
349
|
-
"type": "object",
|
|
350
|
-
"properties": {}
|
|
351
|
-
},
|
|
352
|
-
"sup": {
|
|
353
|
-
"type": "object",
|
|
354
|
-
"properties": {}
|
|
355
|
-
},
|
|
356
|
-
"padStart": {
|
|
357
|
-
"type": "object",
|
|
358
|
-
"properties": {}
|
|
359
|
-
},
|
|
360
|
-
"padEnd": {
|
|
361
|
-
"type": "object",
|
|
362
|
-
"properties": {}
|
|
363
|
-
},
|
|
364
|
-
"trimEnd": {
|
|
365
|
-
"type": "object",
|
|
366
|
-
"properties": {}
|
|
367
|
-
},
|
|
368
|
-
"trimStart": {
|
|
369
|
-
"type": "object",
|
|
370
|
-
"properties": {}
|
|
371
|
-
},
|
|
372
|
-
"trimLeft": {
|
|
373
|
-
"type": "object",
|
|
374
|
-
"properties": {}
|
|
375
|
-
},
|
|
376
|
-
"trimRight": {
|
|
377
|
-
"type": "object",
|
|
378
|
-
"properties": {}
|
|
379
|
-
},
|
|
380
|
-
"matchAll": {
|
|
381
|
-
"type": "object",
|
|
382
|
-
"properties": {}
|
|
383
|
-
},
|
|
384
|
-
"replaceAll": {
|
|
385
|
-
"type": "object",
|
|
386
|
-
"properties": {}
|
|
387
|
-
},
|
|
388
|
-
"at": {
|
|
389
|
-
"type": "object",
|
|
390
|
-
"properties": {}
|
|
391
|
-
},
|
|
392
|
-
"__@iterator@157": {
|
|
393
|
-
"type": "object",
|
|
394
|
-
"properties": {}
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
"required": [
|
|
398
|
-
"toString",
|
|
399
|
-
"charAt",
|
|
400
|
-
"charCodeAt",
|
|
401
|
-
"concat",
|
|
402
|
-
"indexOf",
|
|
403
|
-
"lastIndexOf",
|
|
404
|
-
"localeCompare",
|
|
405
|
-
"match",
|
|
406
|
-
"replace",
|
|
407
|
-
"search",
|
|
408
|
-
"slice",
|
|
409
|
-
"split",
|
|
410
|
-
"substring",
|
|
411
|
-
"toLowerCase",
|
|
412
|
-
"toLocaleLowerCase",
|
|
413
|
-
"toUpperCase",
|
|
414
|
-
"toLocaleUpperCase",
|
|
415
|
-
"trim",
|
|
416
|
-
"length",
|
|
417
|
-
"substr",
|
|
418
|
-
"valueOf",
|
|
419
|
-
"codePointAt",
|
|
420
|
-
"includes",
|
|
421
|
-
"endsWith",
|
|
422
|
-
"normalize",
|
|
423
|
-
"repeat",
|
|
424
|
-
"startsWith",
|
|
425
|
-
"anchor",
|
|
426
|
-
"big",
|
|
427
|
-
"blink",
|
|
428
|
-
"bold",
|
|
429
|
-
"fixed",
|
|
430
|
-
"fontcolor",
|
|
431
|
-
"fontsize",
|
|
432
|
-
"italics",
|
|
433
|
-
"link",
|
|
434
|
-
"small",
|
|
435
|
-
"strike",
|
|
436
|
-
"sub",
|
|
437
|
-
"sup",
|
|
438
|
-
"padStart",
|
|
439
|
-
"padEnd",
|
|
440
|
-
"trimEnd",
|
|
441
|
-
"trimStart",
|
|
442
|
-
"trimLeft",
|
|
443
|
-
"trimRight",
|
|
444
|
-
"matchAll",
|
|
445
|
-
"replaceAll",
|
|
446
|
-
"at",
|
|
447
|
-
"__@iterator@157"
|
|
195
|
+
"type": "string",
|
|
196
|
+
"enum": [
|
|
197
|
+
"directory",
|
|
198
|
+
"file",
|
|
199
|
+
"symlink",
|
|
200
|
+
"other"
|
|
448
201
|
]
|
|
449
202
|
},
|
|
450
203
|
"size": {
|
|
@@ -509,11 +262,11 @@
|
|
|
509
262
|
]
|
|
510
263
|
},
|
|
511
264
|
"sourcePath": "src/fs/listDir",
|
|
512
|
-
"exportName": "
|
|
265
|
+
"exportName": "listDir",
|
|
513
266
|
"sideEffect": "none"
|
|
514
267
|
},
|
|
515
268
|
{
|
|
516
|
-
"name": "
|
|
269
|
+
"name": "readText",
|
|
517
270
|
"description": "Read a UTF-8 text file from the sandbox.",
|
|
518
271
|
"inputSchema": {
|
|
519
272
|
"type": "object",
|
|
@@ -587,11 +340,11 @@
|
|
|
587
340
|
]
|
|
588
341
|
},
|
|
589
342
|
"sourcePath": "src/fs/readText",
|
|
590
|
-
"exportName": "
|
|
343
|
+
"exportName": "readText",
|
|
591
344
|
"sideEffect": "none"
|
|
592
345
|
},
|
|
593
346
|
{
|
|
594
|
-
"name": "
|
|
347
|
+
"name": "searchText",
|
|
595
348
|
"description": "Search for text patterns in files within the sandbox.",
|
|
596
349
|
"inputSchema": {
|
|
597
350
|
"type": "object",
|
|
@@ -715,11 +468,11 @@
|
|
|
715
468
|
]
|
|
716
469
|
},
|
|
717
470
|
"sourcePath": "src/fs/searchText",
|
|
718
|
-
"exportName": "
|
|
471
|
+
"exportName": "searchText",
|
|
719
472
|
"sideEffect": "none"
|
|
720
473
|
},
|
|
721
474
|
{
|
|
722
|
-
"name": "
|
|
475
|
+
"name": "sha256",
|
|
723
476
|
"description": "Compute SHA-256 hash of a file in the sandbox.",
|
|
724
477
|
"inputSchema": {
|
|
725
478
|
"type": "object",
|
|
@@ -790,11 +543,11 @@
|
|
|
790
543
|
]
|
|
791
544
|
},
|
|
792
545
|
"sourcePath": "src/fs/sha256",
|
|
793
|
-
"exportName": "
|
|
546
|
+
"exportName": "sha256",
|
|
794
547
|
"sideEffect": "none"
|
|
795
548
|
},
|
|
796
549
|
{
|
|
797
|
-
"name": "
|
|
550
|
+
"name": "writeText",
|
|
798
551
|
"description": "Write UTF-8 text to a file in the sandbox.",
|
|
799
552
|
"inputSchema": {
|
|
800
553
|
"type": "object",
|
|
@@ -880,11 +633,11 @@
|
|
|
880
633
|
]
|
|
881
634
|
},
|
|
882
635
|
"sourcePath": "src/fs/writeText",
|
|
883
|
-
"exportName": "
|
|
636
|
+
"exportName": "writeText",
|
|
884
637
|
"sideEffect": "local_write"
|
|
885
638
|
},
|
|
886
639
|
{
|
|
887
|
-
"name": "
|
|
640
|
+
"name": "downloadFile",
|
|
888
641
|
"description": "Download a file from a URL to the sandbox.",
|
|
889
642
|
"inputSchema": {
|
|
890
643
|
"type": "object",
|
|
@@ -987,11 +740,11 @@
|
|
|
987
740
|
]
|
|
988
741
|
},
|
|
989
742
|
"sourcePath": "src/http/downloadFile",
|
|
990
|
-
"exportName": "
|
|
743
|
+
"exportName": "downloadFile",
|
|
991
744
|
"sideEffect": "local_write"
|
|
992
745
|
},
|
|
993
746
|
{
|
|
994
|
-
"name": "
|
|
747
|
+
"name": "duckduckgoSearch",
|
|
995
748
|
"description": "Search DuckDuckGo via the Instant Answer API (no API key).",
|
|
996
749
|
"inputSchema": {
|
|
997
750
|
"type": "object",
|
|
@@ -1007,6 +760,9 @@
|
|
|
1007
760
|
},
|
|
1008
761
|
"timeoutMs": {
|
|
1009
762
|
"type": "number"
|
|
763
|
+
},
|
|
764
|
+
"maxBytes": {
|
|
765
|
+
"type": "number"
|
|
1010
766
|
}
|
|
1011
767
|
},
|
|
1012
768
|
"required": [
|
|
@@ -1116,11 +872,11 @@
|
|
|
1116
872
|
]
|
|
1117
873
|
},
|
|
1118
874
|
"sourcePath": "src/http/duckduckgoSearch",
|
|
1119
|
-
"exportName": "
|
|
875
|
+
"exportName": "duckduckgoSearch",
|
|
1120
876
|
"sideEffect": "none"
|
|
1121
877
|
},
|
|
1122
878
|
{
|
|
1123
|
-
"name": "
|
|
879
|
+
"name": "fetchJson",
|
|
1124
880
|
"description": "Fetch a URL and return the response as parsed JSON.",
|
|
1125
881
|
"inputSchema": {
|
|
1126
882
|
"type": "object",
|
|
@@ -1132,8 +888,11 @@
|
|
|
1132
888
|
"type": "string"
|
|
1133
889
|
},
|
|
1134
890
|
"method": {
|
|
1135
|
-
"type": "
|
|
1136
|
-
"
|
|
891
|
+
"type": "string",
|
|
892
|
+
"enum": [
|
|
893
|
+
"GET",
|
|
894
|
+
"POST"
|
|
895
|
+
]
|
|
1137
896
|
},
|
|
1138
897
|
"headers": {
|
|
1139
898
|
"type": "object",
|
|
@@ -1211,11 +970,11 @@
|
|
|
1211
970
|
]
|
|
1212
971
|
},
|
|
1213
972
|
"sourcePath": "src/http/fetchJson",
|
|
1214
|
-
"exportName": "
|
|
973
|
+
"exportName": "fetchJson",
|
|
1215
974
|
"sideEffect": "none"
|
|
1216
975
|
},
|
|
1217
976
|
{
|
|
1218
|
-
"name": "
|
|
977
|
+
"name": "fetchPageMainContent",
|
|
1219
978
|
"description": "Fetch a URL and return only the main content (main/article/body text), not full HTML.",
|
|
1220
979
|
"inputSchema": {
|
|
1221
980
|
"type": "object",
|
|
@@ -1304,11 +1063,11 @@
|
|
|
1304
1063
|
]
|
|
1305
1064
|
},
|
|
1306
1065
|
"sourcePath": "src/http/fetchPageMainContent",
|
|
1307
|
-
"exportName": "
|
|
1066
|
+
"exportName": "fetchPageMainContent",
|
|
1308
1067
|
"sideEffect": "none"
|
|
1309
1068
|
},
|
|
1310
1069
|
{
|
|
1311
|
-
"name": "
|
|
1070
|
+
"name": "fetchText",
|
|
1312
1071
|
"description": "Fetch a URL and return the response as text.",
|
|
1313
1072
|
"inputSchema": {
|
|
1314
1073
|
"type": "object",
|
|
@@ -1320,8 +1079,11 @@
|
|
|
1320
1079
|
"type": "string"
|
|
1321
1080
|
},
|
|
1322
1081
|
"method": {
|
|
1323
|
-
"type": "
|
|
1324
|
-
"
|
|
1082
|
+
"type": "string",
|
|
1083
|
+
"enum": [
|
|
1084
|
+
"GET",
|
|
1085
|
+
"POST"
|
|
1086
|
+
]
|
|
1325
1087
|
},
|
|
1326
1088
|
"headers": {
|
|
1327
1089
|
"type": "object",
|
|
@@ -1406,11 +1168,11 @@
|
|
|
1406
1168
|
]
|
|
1407
1169
|
},
|
|
1408
1170
|
"sourcePath": "src/http/fetchText",
|
|
1409
|
-
"exportName": "
|
|
1171
|
+
"exportName": "fetchText",
|
|
1410
1172
|
"sideEffect": "none"
|
|
1411
1173
|
},
|
|
1412
1174
|
{
|
|
1413
|
-
"name": "
|
|
1175
|
+
"name": "head",
|
|
1414
1176
|
"description": "Send a HEAD request to get response headers without body.",
|
|
1415
1177
|
"inputSchema": {
|
|
1416
1178
|
"type": "object",
|
|
@@ -1489,11 +1251,11 @@
|
|
|
1489
1251
|
]
|
|
1490
1252
|
},
|
|
1491
1253
|
"sourcePath": "src/http/head",
|
|
1492
|
-
"exportName": "
|
|
1254
|
+
"exportName": "head",
|
|
1493
1255
|
"sideEffect": "none"
|
|
1494
1256
|
},
|
|
1495
1257
|
{
|
|
1496
|
-
"name": "
|
|
1258
|
+
"name": "yahooFinanceQuote",
|
|
1497
1259
|
"description": "Fetch stock quote(s) from Yahoo Finance chart API (no API key).",
|
|
1498
1260
|
"inputSchema": {
|
|
1499
1261
|
"type": "object",
|
|
@@ -1511,11 +1273,24 @@
|
|
|
1511
1273
|
"properties": {}
|
|
1512
1274
|
},
|
|
1513
1275
|
"range": {
|
|
1514
|
-
"type": "
|
|
1515
|
-
"
|
|
1276
|
+
"type": "string",
|
|
1277
|
+
"enum": [
|
|
1278
|
+
"1d",
|
|
1279
|
+
"5d",
|
|
1280
|
+
"1mo",
|
|
1281
|
+
"3mo",
|
|
1282
|
+
"6mo",
|
|
1283
|
+
"1y",
|
|
1284
|
+
"2y",
|
|
1285
|
+
"5y",
|
|
1286
|
+
"max"
|
|
1287
|
+
]
|
|
1516
1288
|
},
|
|
1517
1289
|
"timeoutMs": {
|
|
1518
1290
|
"type": "number"
|
|
1291
|
+
},
|
|
1292
|
+
"maxBytes": {
|
|
1293
|
+
"type": "number"
|
|
1519
1294
|
}
|
|
1520
1295
|
},
|
|
1521
1296
|
"required": [
|
|
@@ -1579,259 +1354,17 @@
|
|
|
1579
1354
|
}
|
|
1580
1355
|
},
|
|
1581
1356
|
"range": {
|
|
1582
|
-
"type": "
|
|
1583
|
-
"
|
|
1584
|
-
"
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
"
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
"
|
|
1593
|
-
"type": "object",
|
|
1594
|
-
"properties": {}
|
|
1595
|
-
},
|
|
1596
|
-
"concat": {
|
|
1597
|
-
"type": "object",
|
|
1598
|
-
"properties": {}
|
|
1599
|
-
},
|
|
1600
|
-
"indexOf": {
|
|
1601
|
-
"type": "object",
|
|
1602
|
-
"properties": {}
|
|
1603
|
-
},
|
|
1604
|
-
"lastIndexOf": {
|
|
1605
|
-
"type": "object",
|
|
1606
|
-
"properties": {}
|
|
1607
|
-
},
|
|
1608
|
-
"localeCompare": {
|
|
1609
|
-
"type": "object",
|
|
1610
|
-
"properties": {}
|
|
1611
|
-
},
|
|
1612
|
-
"match": {
|
|
1613
|
-
"type": "object",
|
|
1614
|
-
"properties": {}
|
|
1615
|
-
},
|
|
1616
|
-
"replace": {
|
|
1617
|
-
"type": "object",
|
|
1618
|
-
"properties": {}
|
|
1619
|
-
},
|
|
1620
|
-
"search": {
|
|
1621
|
-
"type": "object",
|
|
1622
|
-
"properties": {}
|
|
1623
|
-
},
|
|
1624
|
-
"slice": {
|
|
1625
|
-
"type": "object",
|
|
1626
|
-
"properties": {}
|
|
1627
|
-
},
|
|
1628
|
-
"split": {
|
|
1629
|
-
"type": "object",
|
|
1630
|
-
"properties": {}
|
|
1631
|
-
},
|
|
1632
|
-
"substring": {
|
|
1633
|
-
"type": "object",
|
|
1634
|
-
"properties": {}
|
|
1635
|
-
},
|
|
1636
|
-
"toLowerCase": {
|
|
1637
|
-
"type": "object",
|
|
1638
|
-
"properties": {}
|
|
1639
|
-
},
|
|
1640
|
-
"toLocaleLowerCase": {
|
|
1641
|
-
"type": "object",
|
|
1642
|
-
"properties": {}
|
|
1643
|
-
},
|
|
1644
|
-
"toUpperCase": {
|
|
1645
|
-
"type": "object",
|
|
1646
|
-
"properties": {}
|
|
1647
|
-
},
|
|
1648
|
-
"toLocaleUpperCase": {
|
|
1649
|
-
"type": "object",
|
|
1650
|
-
"properties": {}
|
|
1651
|
-
},
|
|
1652
|
-
"trim": {
|
|
1653
|
-
"type": "object",
|
|
1654
|
-
"properties": {}
|
|
1655
|
-
},
|
|
1656
|
-
"length": {
|
|
1657
|
-
"type": "number"
|
|
1658
|
-
},
|
|
1659
|
-
"substr": {
|
|
1660
|
-
"type": "object",
|
|
1661
|
-
"properties": {}
|
|
1662
|
-
},
|
|
1663
|
-
"valueOf": {
|
|
1664
|
-
"type": "object",
|
|
1665
|
-
"properties": {}
|
|
1666
|
-
},
|
|
1667
|
-
"codePointAt": {
|
|
1668
|
-
"type": "object",
|
|
1669
|
-
"properties": {}
|
|
1670
|
-
},
|
|
1671
|
-
"includes": {
|
|
1672
|
-
"type": "object",
|
|
1673
|
-
"properties": {}
|
|
1674
|
-
},
|
|
1675
|
-
"endsWith": {
|
|
1676
|
-
"type": "object",
|
|
1677
|
-
"properties": {}
|
|
1678
|
-
},
|
|
1679
|
-
"normalize": {
|
|
1680
|
-
"type": "object",
|
|
1681
|
-
"properties": {}
|
|
1682
|
-
},
|
|
1683
|
-
"repeat": {
|
|
1684
|
-
"type": "object",
|
|
1685
|
-
"properties": {}
|
|
1686
|
-
},
|
|
1687
|
-
"startsWith": {
|
|
1688
|
-
"type": "object",
|
|
1689
|
-
"properties": {}
|
|
1690
|
-
},
|
|
1691
|
-
"anchor": {
|
|
1692
|
-
"type": "object",
|
|
1693
|
-
"properties": {}
|
|
1694
|
-
},
|
|
1695
|
-
"big": {
|
|
1696
|
-
"type": "object",
|
|
1697
|
-
"properties": {}
|
|
1698
|
-
},
|
|
1699
|
-
"blink": {
|
|
1700
|
-
"type": "object",
|
|
1701
|
-
"properties": {}
|
|
1702
|
-
},
|
|
1703
|
-
"bold": {
|
|
1704
|
-
"type": "object",
|
|
1705
|
-
"properties": {}
|
|
1706
|
-
},
|
|
1707
|
-
"fixed": {
|
|
1708
|
-
"type": "object",
|
|
1709
|
-
"properties": {}
|
|
1710
|
-
},
|
|
1711
|
-
"fontcolor": {
|
|
1712
|
-
"type": "object",
|
|
1713
|
-
"properties": {}
|
|
1714
|
-
},
|
|
1715
|
-
"fontsize": {
|
|
1716
|
-
"type": "object",
|
|
1717
|
-
"properties": {}
|
|
1718
|
-
},
|
|
1719
|
-
"italics": {
|
|
1720
|
-
"type": "object",
|
|
1721
|
-
"properties": {}
|
|
1722
|
-
},
|
|
1723
|
-
"link": {
|
|
1724
|
-
"type": "object",
|
|
1725
|
-
"properties": {}
|
|
1726
|
-
},
|
|
1727
|
-
"small": {
|
|
1728
|
-
"type": "object",
|
|
1729
|
-
"properties": {}
|
|
1730
|
-
},
|
|
1731
|
-
"strike": {
|
|
1732
|
-
"type": "object",
|
|
1733
|
-
"properties": {}
|
|
1734
|
-
},
|
|
1735
|
-
"sub": {
|
|
1736
|
-
"type": "object",
|
|
1737
|
-
"properties": {}
|
|
1738
|
-
},
|
|
1739
|
-
"sup": {
|
|
1740
|
-
"type": "object",
|
|
1741
|
-
"properties": {}
|
|
1742
|
-
},
|
|
1743
|
-
"padStart": {
|
|
1744
|
-
"type": "object",
|
|
1745
|
-
"properties": {}
|
|
1746
|
-
},
|
|
1747
|
-
"padEnd": {
|
|
1748
|
-
"type": "object",
|
|
1749
|
-
"properties": {}
|
|
1750
|
-
},
|
|
1751
|
-
"trimEnd": {
|
|
1752
|
-
"type": "object",
|
|
1753
|
-
"properties": {}
|
|
1754
|
-
},
|
|
1755
|
-
"trimStart": {
|
|
1756
|
-
"type": "object",
|
|
1757
|
-
"properties": {}
|
|
1758
|
-
},
|
|
1759
|
-
"trimLeft": {
|
|
1760
|
-
"type": "object",
|
|
1761
|
-
"properties": {}
|
|
1762
|
-
},
|
|
1763
|
-
"trimRight": {
|
|
1764
|
-
"type": "object",
|
|
1765
|
-
"properties": {}
|
|
1766
|
-
},
|
|
1767
|
-
"matchAll": {
|
|
1768
|
-
"type": "object",
|
|
1769
|
-
"properties": {}
|
|
1770
|
-
},
|
|
1771
|
-
"replaceAll": {
|
|
1772
|
-
"type": "object",
|
|
1773
|
-
"properties": {}
|
|
1774
|
-
},
|
|
1775
|
-
"at": {
|
|
1776
|
-
"type": "object",
|
|
1777
|
-
"properties": {}
|
|
1778
|
-
},
|
|
1779
|
-
"__@iterator@157": {
|
|
1780
|
-
"type": "object",
|
|
1781
|
-
"properties": {}
|
|
1782
|
-
}
|
|
1783
|
-
},
|
|
1784
|
-
"required": [
|
|
1785
|
-
"toString",
|
|
1786
|
-
"charAt",
|
|
1787
|
-
"charCodeAt",
|
|
1788
|
-
"concat",
|
|
1789
|
-
"indexOf",
|
|
1790
|
-
"lastIndexOf",
|
|
1791
|
-
"localeCompare",
|
|
1792
|
-
"match",
|
|
1793
|
-
"replace",
|
|
1794
|
-
"search",
|
|
1795
|
-
"slice",
|
|
1796
|
-
"split",
|
|
1797
|
-
"substring",
|
|
1798
|
-
"toLowerCase",
|
|
1799
|
-
"toLocaleLowerCase",
|
|
1800
|
-
"toUpperCase",
|
|
1801
|
-
"toLocaleUpperCase",
|
|
1802
|
-
"trim",
|
|
1803
|
-
"length",
|
|
1804
|
-
"substr",
|
|
1805
|
-
"valueOf",
|
|
1806
|
-
"codePointAt",
|
|
1807
|
-
"includes",
|
|
1808
|
-
"endsWith",
|
|
1809
|
-
"normalize",
|
|
1810
|
-
"repeat",
|
|
1811
|
-
"startsWith",
|
|
1812
|
-
"anchor",
|
|
1813
|
-
"big",
|
|
1814
|
-
"blink",
|
|
1815
|
-
"bold",
|
|
1816
|
-
"fixed",
|
|
1817
|
-
"fontcolor",
|
|
1818
|
-
"fontsize",
|
|
1819
|
-
"italics",
|
|
1820
|
-
"link",
|
|
1821
|
-
"small",
|
|
1822
|
-
"strike",
|
|
1823
|
-
"sub",
|
|
1824
|
-
"sup",
|
|
1825
|
-
"padStart",
|
|
1826
|
-
"padEnd",
|
|
1827
|
-
"trimEnd",
|
|
1828
|
-
"trimStart",
|
|
1829
|
-
"trimLeft",
|
|
1830
|
-
"trimRight",
|
|
1831
|
-
"matchAll",
|
|
1832
|
-
"replaceAll",
|
|
1833
|
-
"at",
|
|
1834
|
-
"__@iterator@157"
|
|
1357
|
+
"type": "string",
|
|
1358
|
+
"enum": [
|
|
1359
|
+
"1d",
|
|
1360
|
+
"5d",
|
|
1361
|
+
"1mo",
|
|
1362
|
+
"3mo",
|
|
1363
|
+
"6mo",
|
|
1364
|
+
"1y",
|
|
1365
|
+
"2y",
|
|
1366
|
+
"5y",
|
|
1367
|
+
"max"
|
|
1835
1368
|
]
|
|
1836
1369
|
}
|
|
1837
1370
|
},
|
|
@@ -1874,11 +1407,11 @@
|
|
|
1874
1407
|
]
|
|
1875
1408
|
},
|
|
1876
1409
|
"sourcePath": "src/http/yahooFinance",
|
|
1877
|
-
"exportName": "
|
|
1410
|
+
"exportName": "yahooFinanceQuote",
|
|
1878
1411
|
"sideEffect": "none"
|
|
1879
1412
|
},
|
|
1880
1413
|
{
|
|
1881
|
-
"name": "
|
|
1414
|
+
"name": "hashText",
|
|
1882
1415
|
"description": "Compute SHA-256 hash of a text string.",
|
|
1883
1416
|
"inputSchema": {
|
|
1884
1417
|
"type": "object",
|
|
@@ -1938,11 +1471,11 @@
|
|
|
1938
1471
|
]
|
|
1939
1472
|
},
|
|
1940
1473
|
"sourcePath": "src/util/hashText",
|
|
1941
|
-
"exportName": "
|
|
1474
|
+
"exportName": "hashText",
|
|
1942
1475
|
"sideEffect": "none"
|
|
1943
1476
|
},
|
|
1944
1477
|
{
|
|
1945
|
-
"name": "
|
|
1478
|
+
"name": "jsonSelect",
|
|
1946
1479
|
"description": "Select fields from JSON data using JMESPath expressions.",
|
|
1947
1480
|
"inputSchema": {
|
|
1948
1481
|
"type": "object",
|
|
@@ -2005,11 +1538,11 @@
|
|
|
2005
1538
|
]
|
|
2006
1539
|
},
|
|
2007
1540
|
"sourcePath": "src/util/jsonSelect",
|
|
2008
|
-
"exportName": "
|
|
1541
|
+
"exportName": "jsonSelect",
|
|
2009
1542
|
"sideEffect": "none"
|
|
2010
1543
|
},
|
|
2011
1544
|
{
|
|
2012
|
-
"name": "
|
|
1545
|
+
"name": "now",
|
|
2013
1546
|
"description": "Get the current time in various formats.",
|
|
2014
1547
|
"inputSchema": {
|
|
2015
1548
|
"type": "object",
|
|
@@ -2078,11 +1611,11 @@
|
|
|
2078
1611
|
]
|
|
2079
1612
|
},
|
|
2080
1613
|
"sourcePath": "src/util/now",
|
|
2081
|
-
"exportName": "
|
|
1614
|
+
"exportName": "now",
|
|
2082
1615
|
"sideEffect": "none"
|
|
2083
1616
|
},
|
|
2084
1617
|
{
|
|
2085
|
-
"name": "
|
|
1618
|
+
"name": "templateRender",
|
|
2086
1619
|
"description": "Render a Mustache template with data.",
|
|
2087
1620
|
"inputSchema": {
|
|
2088
1621
|
"type": "object",
|
|
@@ -2147,11 +1680,11 @@
|
|
|
2147
1680
|
]
|
|
2148
1681
|
},
|
|
2149
1682
|
"sourcePath": "src/util/templateRender",
|
|
2150
|
-
"exportName": "
|
|
1683
|
+
"exportName": "templateRender",
|
|
2151
1684
|
"sideEffect": "none"
|
|
2152
1685
|
},
|
|
2153
1686
|
{
|
|
2154
|
-
"name": "
|
|
1687
|
+
"name": "truncate",
|
|
2155
1688
|
"description": "Truncate text to a maximum character length with a suffix marker.",
|
|
2156
1689
|
"inputSchema": {
|
|
2157
1690
|
"type": "object",
|
|
@@ -2226,7 +1759,7 @@
|
|
|
2226
1759
|
]
|
|
2227
1760
|
},
|
|
2228
1761
|
"sourcePath": "src/util/truncate",
|
|
2229
|
-
"exportName": "
|
|
1762
|
+
"exportName": "truncate",
|
|
2230
1763
|
"sideEffect": "none"
|
|
2231
1764
|
}
|
|
2232
1765
|
]
|