agentool 1.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +132 -21
- package/dist/ask-user/index.cjs +5 -2
- package/dist/ask-user/index.d.cts +10 -1
- package/dist/ask-user/index.d.ts +10 -1
- package/dist/ask-user/index.js +5 -2
- package/dist/bash/index.cjs +5 -2
- package/dist/bash/index.d.cts +14 -1
- package/dist/bash/index.d.ts +14 -1
- package/dist/bash/index.js +5 -2
- package/dist/chunk-2JBLVFB7.cjs +74 -0
- package/dist/{chunk-K77GC2QI.js → chunk-2JF3ZF2J.js} +32 -2
- package/dist/{chunk-XKG2A3EW.js → chunk-2WSZCOJP.js} +54 -18
- package/dist/chunk-3FT4ZPB2.cjs +65 -0
- package/dist/{chunk-VLNDEVKS.js → chunk-3LGXZLBH.js} +46 -8
- package/dist/{chunk-G3ITTPGX.js → chunk-4MXDQEPA.js} +12 -1
- package/dist/{chunk-CGTPF6IS.js → chunk-4UUSERSH.js} +31 -7
- package/dist/{chunk-I6KFFQPV.cjs → chunk-5T3SQYI4.cjs} +34 -4
- package/dist/chunk-6ULQG2W2.cjs +99 -0
- package/dist/chunk-ABXTBB2N.cjs +67 -0
- package/dist/{chunk-CAEVLIQB.cjs → chunk-BIAODQ2P.cjs} +17 -1
- package/dist/chunk-CJA76MKM.js +59 -0
- package/dist/chunk-CM3VRCNX.cjs +59 -0
- package/dist/{chunk-SUSAPI5W.cjs → chunk-CXBWF5ON.cjs} +51 -4
- package/dist/{chunk-U2YMJM25.cjs → chunk-G6ZVJA4V.cjs} +31 -8
- package/dist/chunk-GPHCXS2S.js +99 -0
- package/dist/chunk-HG5T47NA.cjs +77 -0
- package/dist/chunk-HO4NIRU5.js +65 -0
- package/dist/{chunk-HZAQRHBT.js → chunk-IBC4QCGR.js} +27 -2
- package/dist/chunk-JYTOARJV.cjs +69 -0
- package/dist/chunk-KONXT2SF.cjs +8 -0
- package/dist/chunk-KUFZFNPT.cjs +61 -0
- package/dist/chunk-L7R4UZSK.js +61 -0
- package/dist/{chunk-FV2R5FFQ.cjs → chunk-LNAR3NJQ.cjs} +47 -9
- package/dist/chunk-M74OQYNK.js +69 -0
- package/dist/{chunk-IMZQ7ELK.cjs → chunk-NQIV6LBH.cjs} +51 -14
- package/dist/chunk-NTGDU5X3.js +67 -0
- package/dist/{chunk-ONBH74ZV.cjs → chunk-OYLTQJXT.cjs} +32 -8
- package/dist/{chunk-6PQLFDGT.js → chunk-PWBVB6MN.js} +17 -1
- package/dist/{chunk-QEJV2KZ4.cjs → chunk-RIGL3JTS.cjs} +55 -19
- package/dist/chunk-SFDZRLSX.cjs +91 -0
- package/dist/chunk-T6STO7PS.cjs +126 -0
- package/dist/{chunk-LPV5CN2K.js → chunk-TI4ZZ3IJ.js} +32 -2
- package/dist/chunk-TM5L4HA5.js +126 -0
- package/dist/{chunk-4YI2H55A.js → chunk-TXZ3BMMR.js} +49 -2
- package/dist/chunk-UCA6LURO.js +74 -0
- package/dist/{chunk-EA3YV7ZG.js → chunk-VE4U27HI.js} +35 -15
- package/dist/chunk-VHLY7LQE.js +53 -0
- package/dist/{chunk-FW3UJ622.cjs → chunk-VPRUYL4T.cjs} +34 -4
- package/dist/{chunk-3VO6NETR.cjs → chunk-VPV6WG5V.cjs} +41 -21
- package/dist/chunk-VQSWMGG7.cjs +53 -0
- package/dist/{chunk-Y7KOKDFP.js → chunk-VZRXTFS4.js} +29 -6
- package/dist/chunk-WCR62UZ3.js +67 -0
- package/dist/chunk-X6ZY2KFU.js +8 -0
- package/dist/chunk-XGDE7S2D.cjs +67 -0
- package/dist/chunk-XPTW45XY.js +77 -0
- package/dist/{chunk-YPPPGGLA.cjs → chunk-YCWJVQYO.cjs} +28 -3
- package/dist/chunk-YGXLT6SS.js +91 -0
- package/dist/{chunk-5NW4OGRI.cjs → chunk-YTPZHJDC.cjs} +12 -1
- package/dist/{chunk-6MDPYALY.js → chunk-ZHVRP3EH.js} +49 -12
- package/dist/context-compaction/index.cjs +5 -2
- package/dist/context-compaction/index.d.cts +11 -1
- package/dist/context-compaction/index.d.ts +11 -1
- package/dist/context-compaction/index.js +5 -2
- package/dist/diff/index.cjs +6 -2
- package/dist/diff/index.d.cts +12 -2
- package/dist/diff/index.d.ts +12 -2
- package/dist/diff/index.js +7 -3
- package/dist/edit/index.cjs +7 -3
- package/dist/edit/index.d.cts +15 -5
- package/dist/edit/index.d.ts +15 -5
- package/dist/edit/index.js +8 -4
- package/dist/glob/index.cjs +5 -2
- package/dist/glob/index.d.cts +13 -3
- package/dist/glob/index.d.ts +13 -3
- package/dist/glob/index.js +5 -2
- package/dist/grep/index.cjs +6 -2
- package/dist/grep/index.d.cts +13 -3
- package/dist/grep/index.d.ts +13 -3
- package/dist/grep/index.js +6 -2
- package/dist/http-request/index.cjs +5 -2
- package/dist/http-request/index.d.cts +11 -1
- package/dist/http-request/index.d.ts +11 -1
- package/dist/http-request/index.js +5 -2
- package/dist/index.cjs +93 -19
- package/dist/index.d.cts +21 -16
- package/dist/index.d.ts +21 -16
- package/dist/index.js +113 -39
- package/dist/lsp/index.cjs +6 -2
- package/dist/lsp/index.d.cts +16 -10
- package/dist/lsp/index.d.ts +16 -10
- package/dist/lsp/index.js +6 -2
- package/dist/memory/index.cjs +6 -2
- package/dist/memory/index.d.cts +10 -1
- package/dist/memory/index.d.ts +10 -1
- package/dist/memory/index.js +6 -2
- package/dist/multi-edit/index.cjs +7 -4
- package/dist/multi-edit/index.d.cts +12 -2
- package/dist/multi-edit/index.d.ts +12 -2
- package/dist/multi-edit/index.js +7 -4
- package/dist/read/index.cjs +6 -3
- package/dist/read/index.d.cts +11 -1
- package/dist/read/index.d.ts +11 -1
- package/dist/read/index.js +6 -3
- package/dist/sleep/index.cjs +5 -2
- package/dist/sleep/index.d.cts +11 -1
- package/dist/sleep/index.d.ts +11 -1
- package/dist/sleep/index.js +5 -2
- package/dist/task-create/index.cjs +13 -0
- package/dist/task-create/index.d.cts +28 -0
- package/dist/task-create/index.d.ts +28 -0
- package/dist/task-create/index.js +13 -0
- package/dist/task-get/index.cjs +13 -0
- package/dist/task-get/index.d.cts +24 -0
- package/dist/task-get/index.d.ts +24 -0
- package/dist/task-get/index.js +13 -0
- package/dist/task-list/index.cjs +13 -0
- package/dist/task-list/index.d.cts +20 -0
- package/dist/task-list/index.d.ts +20 -0
- package/dist/task-list/index.js +13 -0
- package/dist/task-update/index.cjs +13 -0
- package/dist/task-update/index.d.cts +40 -0
- package/dist/task-update/index.d.ts +40 -0
- package/dist/task-update/index.js +13 -0
- package/dist/tool-search/index.cjs +11 -0
- package/dist/tool-search/index.d.cts +27 -0
- package/dist/tool-search/index.d.ts +27 -0
- package/dist/tool-search/index.js +11 -0
- package/dist/web-fetch/index.cjs +5 -2
- package/dist/web-fetch/index.d.cts +11 -3
- package/dist/web-fetch/index.d.ts +11 -3
- package/dist/web-fetch/index.js +5 -2
- package/dist/web-search/index.cjs +11 -0
- package/dist/web-search/index.d.cts +30 -0
- package/dist/web-search/index.d.ts +30 -0
- package/dist/web-search/index.js +11 -0
- package/dist/write/index.cjs +6 -3
- package/dist/write/index.d.cts +13 -3
- package/dist/write/index.d.ts +13 -3
- package/dist/write/index.js +6 -3
- package/package.json +31 -6
- package/dist/chunk-3EPGFWZV.cjs +0 -30
- package/dist/chunk-7QL4BQCH.js +0 -40
- package/dist/chunk-FAEGCFTO.js +0 -136
- package/dist/chunk-HDKXSKMO.js +0 -30
- package/dist/chunk-JCTBB7H2.cjs +0 -40
- package/dist/chunk-MF7CJVIZ.js +0 -40
- package/dist/chunk-MXFW3XY6.cjs +0 -73
- package/dist/chunk-OXLQ7QVL.cjs +0 -40
- package/dist/chunk-S6QEY7UY.js +0 -73
- package/dist/chunk-TBVHHF3H.cjs +0 -47
- package/dist/chunk-XLD2Y3SS.cjs +0 -136
- package/dist/chunk-ZHCMEQJJ.js +0 -47
- package/dist/task/index.cjs +0 -8
- package/dist/task/index.d.cts +0 -67
- package/dist/task/index.d.ts +0 -67
- package/dist/task/index.js +0 -8
package/dist/grep/index.cjs
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
var _chunkRIGL3JTScjs = require('../chunk-RIGL3JTS.cjs');
|
|
5
6
|
require('../chunk-MIYA7TNR.cjs');
|
|
7
|
+
require('../chunk-BIAODQ2P.cjs');
|
|
6
8
|
require('../chunk-QZ5GS6HW.cjs');
|
|
9
|
+
require('../chunk-KONXT2SF.cjs');
|
|
10
|
+
|
|
7
11
|
|
|
8
12
|
|
|
9
13
|
|
|
10
|
-
exports.createGrep =
|
|
14
|
+
exports.createGrep = _chunkRIGL3JTScjs.createGrep; exports.grep = _chunkRIGL3JTScjs.grep; exports.grepPrompt = _chunkRIGL3JTScjs.getPrompt;
|
package/dist/grep/index.d.cts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
2
|
import { B as BaseToolConfig } from '../types-3QPDuCXN.cjs';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Generate the description prompt for the grep tool.
|
|
6
|
+
*
|
|
7
|
+
* @returns The full description string for the grep tool.
|
|
8
|
+
*/
|
|
9
|
+
declare function getPrompt(): string;
|
|
10
|
+
|
|
4
11
|
/**
|
|
5
12
|
* Creates a grep tool that searches file contents using ripgrep.
|
|
6
13
|
*
|
|
@@ -10,7 +17,7 @@ import { B as BaseToolConfig } from '../types-3QPDuCXN.cjs';
|
|
|
10
17
|
* @param config - Optional configuration with a custom working directory.
|
|
11
18
|
* @returns A Vercel AI SDK tool with `description`, `parameters`, and `execute`.
|
|
12
19
|
*/
|
|
13
|
-
declare function createGrep(config?:
|
|
20
|
+
declare function createGrep(config?: GrepConfig): ai.Tool<{
|
|
14
21
|
pattern: string;
|
|
15
22
|
path?: string | undefined;
|
|
16
23
|
type?: string | undefined;
|
|
@@ -29,7 +36,10 @@ declare function createGrep(config?: BaseToolConfig): ai.Tool<{
|
|
|
29
36
|
/**
|
|
30
37
|
* Default grep tool instance using the current working directory.
|
|
31
38
|
*/
|
|
32
|
-
type GrepConfig = BaseToolConfig
|
|
39
|
+
type GrepConfig = BaseToolConfig & {
|
|
40
|
+
/** Override the default tool description. */
|
|
41
|
+
description?: string;
|
|
42
|
+
};
|
|
33
43
|
declare const grep: ai.Tool<{
|
|
34
44
|
pattern: string;
|
|
35
45
|
path?: string | undefined;
|
|
@@ -47,4 +57,4 @@ declare const grep: ai.Tool<{
|
|
|
47
57
|
multiline?: boolean | undefined;
|
|
48
58
|
}, string>;
|
|
49
59
|
|
|
50
|
-
export { type GrepConfig, createGrep, grep };
|
|
60
|
+
export { type GrepConfig, createGrep, grep, getPrompt as grepPrompt };
|
package/dist/grep/index.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
2
|
import { B as BaseToolConfig } from '../types-3QPDuCXN.js';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Generate the description prompt for the grep tool.
|
|
6
|
+
*
|
|
7
|
+
* @returns The full description string for the grep tool.
|
|
8
|
+
*/
|
|
9
|
+
declare function getPrompt(): string;
|
|
10
|
+
|
|
4
11
|
/**
|
|
5
12
|
* Creates a grep tool that searches file contents using ripgrep.
|
|
6
13
|
*
|
|
@@ -10,7 +17,7 @@ import { B as BaseToolConfig } from '../types-3QPDuCXN.js';
|
|
|
10
17
|
* @param config - Optional configuration with a custom working directory.
|
|
11
18
|
* @returns A Vercel AI SDK tool with `description`, `parameters`, and `execute`.
|
|
12
19
|
*/
|
|
13
|
-
declare function createGrep(config?:
|
|
20
|
+
declare function createGrep(config?: GrepConfig): ai.Tool<{
|
|
14
21
|
pattern: string;
|
|
15
22
|
path?: string | undefined;
|
|
16
23
|
type?: string | undefined;
|
|
@@ -29,7 +36,10 @@ declare function createGrep(config?: BaseToolConfig): ai.Tool<{
|
|
|
29
36
|
/**
|
|
30
37
|
* Default grep tool instance using the current working directory.
|
|
31
38
|
*/
|
|
32
|
-
type GrepConfig = BaseToolConfig
|
|
39
|
+
type GrepConfig = BaseToolConfig & {
|
|
40
|
+
/** Override the default tool description. */
|
|
41
|
+
description?: string;
|
|
42
|
+
};
|
|
33
43
|
declare const grep: ai.Tool<{
|
|
34
44
|
pattern: string;
|
|
35
45
|
path?: string | undefined;
|
|
@@ -47,4 +57,4 @@ declare const grep: ai.Tool<{
|
|
|
47
57
|
multiline?: boolean | undefined;
|
|
48
58
|
}, string>;
|
|
49
59
|
|
|
50
|
-
export { type GrepConfig, createGrep, grep };
|
|
60
|
+
export { type GrepConfig, createGrep, grep, getPrompt as grepPrompt };
|
package/dist/grep/index.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGrep,
|
|
3
|
+
getPrompt,
|
|
3
4
|
grep
|
|
4
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-2WSZCOJP.js";
|
|
5
6
|
import "../chunk-MJCAXASI.js";
|
|
7
|
+
import "../chunk-PWBVB6MN.js";
|
|
6
8
|
import "../chunk-I3ONDY7P.js";
|
|
9
|
+
import "../chunk-X6ZY2KFU.js";
|
|
7
10
|
export {
|
|
8
11
|
createGrep,
|
|
9
|
-
grep
|
|
12
|
+
grep,
|
|
13
|
+
getPrompt as grepPrompt
|
|
10
14
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var _chunkI6KFFQPVcjs = require('../chunk-I6KFFQPV.cjs');
|
|
5
4
|
|
|
5
|
+
var _chunk5T3SQYI4cjs = require('../chunk-5T3SQYI4.cjs');
|
|
6
|
+
require('../chunk-KONXT2SF.cjs');
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
exports.createHttpRequest = _chunk5T3SQYI4cjs.createHttpRequest; exports.httpRequest = _chunk5T3SQYI4cjs.httpRequest; exports.httpRequestPrompt = _chunk5T3SQYI4cjs.getPrompt;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
2
|
import { T as TimeoutConfig } from '../types-3QPDuCXN.cjs';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Generate the description prompt for the http-request tool.
|
|
6
|
+
*
|
|
7
|
+
* @param config - The same config passed to {@link createHttpRequest}.
|
|
8
|
+
* @returns The full description string for the http-request tool.
|
|
9
|
+
*/
|
|
10
|
+
declare function getPrompt(config?: Pick<HttpRequestConfig, 'timeout'>): string;
|
|
11
|
+
|
|
4
12
|
/**
|
|
5
13
|
* Configuration for the HTTP request tool.
|
|
6
14
|
* Extends {@link TimeoutConfig} with optional default headers
|
|
@@ -17,6 +25,8 @@ import { T as TimeoutConfig } from '../types-3QPDuCXN.cjs';
|
|
|
17
25
|
interface HttpRequestConfig extends TimeoutConfig {
|
|
18
26
|
/** Headers merged into every request (per-request headers take precedence). */
|
|
19
27
|
defaultHeaders?: Record<string, string>;
|
|
28
|
+
/** Override the default tool description. */
|
|
29
|
+
description?: string;
|
|
20
30
|
}
|
|
21
31
|
/**
|
|
22
32
|
* Factory that creates an HTTP request tool with the given configuration.
|
|
@@ -57,4 +67,4 @@ declare const httpRequest: ai.Tool<{
|
|
|
57
67
|
body?: string | undefined;
|
|
58
68
|
}, string>;
|
|
59
69
|
|
|
60
|
-
export { type HttpRequestConfig, createHttpRequest, httpRequest };
|
|
70
|
+
export { type HttpRequestConfig, createHttpRequest, httpRequest, getPrompt as httpRequestPrompt };
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
2
|
import { T as TimeoutConfig } from '../types-3QPDuCXN.js';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Generate the description prompt for the http-request tool.
|
|
6
|
+
*
|
|
7
|
+
* @param config - The same config passed to {@link createHttpRequest}.
|
|
8
|
+
* @returns The full description string for the http-request tool.
|
|
9
|
+
*/
|
|
10
|
+
declare function getPrompt(config?: Pick<HttpRequestConfig, 'timeout'>): string;
|
|
11
|
+
|
|
4
12
|
/**
|
|
5
13
|
* Configuration for the HTTP request tool.
|
|
6
14
|
* Extends {@link TimeoutConfig} with optional default headers
|
|
@@ -17,6 +25,8 @@ import { T as TimeoutConfig } from '../types-3QPDuCXN.js';
|
|
|
17
25
|
interface HttpRequestConfig extends TimeoutConfig {
|
|
18
26
|
/** Headers merged into every request (per-request headers take precedence). */
|
|
19
27
|
defaultHeaders?: Record<string, string>;
|
|
28
|
+
/** Override the default tool description. */
|
|
29
|
+
description?: string;
|
|
20
30
|
}
|
|
21
31
|
/**
|
|
22
32
|
* Factory that creates an HTTP request tool with the given configuration.
|
|
@@ -57,4 +67,4 @@ declare const httpRequest: ai.Tool<{
|
|
|
57
67
|
body?: string | undefined;
|
|
58
68
|
}, string>;
|
|
59
69
|
|
|
60
|
-
export { type HttpRequestConfig, createHttpRequest, httpRequest };
|
|
70
|
+
export { type HttpRequestConfig, createHttpRequest, httpRequest, getPrompt as httpRequestPrompt };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHttpRequest,
|
|
3
|
+
getPrompt,
|
|
3
4
|
httpRequest
|
|
4
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-TI4ZZ3IJ.js";
|
|
6
|
+
import "../chunk-X6ZY2KFU.js";
|
|
5
7
|
export {
|
|
6
8
|
createHttpRequest,
|
|
7
|
-
httpRequest
|
|
9
|
+
httpRequest,
|
|
10
|
+
getPrompt as httpRequestPrompt
|
|
8
11
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1,71 +1,145 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var _chunkOXLQ7QVLcjs = require('./chunk-OXLQ7QVL.cjs');
|
|
5
4
|
|
|
5
|
+
var _chunk2JBLVFB7cjs = require('./chunk-2JBLVFB7.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _chunkFV2R5FFQcjs = require('./chunk-FV2R5FFQ.cjs');
|
|
9
8
|
|
|
10
9
|
|
|
10
|
+
var _chunkNQIV6LBHcjs = require('./chunk-NQIV6LBH.cjs');
|
|
11
11
|
|
|
12
|
-
var _chunk3VO6NETRcjs = require('./chunk-3VO6NETR.cjs');
|
|
13
12
|
|
|
14
13
|
|
|
15
14
|
|
|
16
|
-
var
|
|
15
|
+
var _chunk5T3SQYI4cjs = require('./chunk-5T3SQYI4.cjs');
|
|
17
16
|
|
|
18
17
|
|
|
19
18
|
|
|
20
|
-
var _chunkXLD2Y3SScjs = require('./chunk-XLD2Y3SS.cjs');
|
|
21
19
|
|
|
20
|
+
var _chunkVPRUYL4Tcjs = require('./chunk-VPRUYL4T.cjs');
|
|
22
21
|
|
|
23
22
|
|
|
24
|
-
var _chunkIMZQ7ELKcjs = require('./chunk-IMZQ7ELK.cjs');
|
|
25
23
|
|
|
26
24
|
|
|
25
|
+
var _chunkKUFZFNPTcjs = require('./chunk-KUFZFNPT.cjs');
|
|
27
26
|
|
|
28
|
-
var _chunkI6KFFQPVcjs = require('./chunk-I6KFFQPV.cjs');
|
|
29
27
|
|
|
30
28
|
|
|
31
29
|
|
|
32
|
-
var
|
|
30
|
+
var _chunkJYTOARJVcjs = require('./chunk-JYTOARJV.cjs');
|
|
33
31
|
|
|
34
32
|
|
|
35
33
|
|
|
36
|
-
var _chunk3EPGFWZVcjs = require('./chunk-3EPGFWZV.cjs');
|
|
37
34
|
|
|
35
|
+
var _chunkLNAR3NJQcjs = require('./chunk-LNAR3NJQ.cjs');
|
|
38
36
|
|
|
39
37
|
|
|
40
|
-
var _chunkSUSAPI5Wcjs = require('./chunk-SUSAPI5W.cjs');
|
|
41
38
|
|
|
42
39
|
|
|
40
|
+
var _chunkVPV6WG5Vcjs = require('./chunk-VPV6WG5V.cjs');
|
|
43
41
|
|
|
44
|
-
var _chunkQEJV2KZ4cjs = require('./chunk-QEJV2KZ4.cjs');
|
|
45
42
|
|
|
46
43
|
|
|
47
44
|
|
|
48
|
-
var
|
|
45
|
+
var _chunkOYLTQJXTcjs = require('./chunk-OYLTQJXT.cjs');
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
var _chunkSFDZRLSXcjs = require('./chunk-SFDZRLSX.cjs');
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
var _chunkXGDE7S2Dcjs = require('./chunk-XGDE7S2D.cjs');
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
var _chunkT6STO7PScjs = require('./chunk-T6STO7PS.cjs');
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
var _chunk3FT4ZPB2cjs = require('./chunk-3FT4ZPB2.cjs');
|
|
66
|
+
require('./chunk-VQSWMGG7.cjs');
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
var _chunkCM3VRCNXcjs = require('./chunk-CM3VRCNX.cjs');
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
var _chunkCXBWF5ONcjs = require('./chunk-CXBWF5ON.cjs');
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
var _chunkRIGL3JTScjs = require('./chunk-RIGL3JTS.cjs');
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
var _chunkYCWJVQYOcjs = require('./chunk-YCWJVQYO.cjs');
|
|
49
87
|
require('./chunk-MIYA7TNR.cjs');
|
|
50
88
|
|
|
51
89
|
|
|
52
90
|
|
|
53
|
-
|
|
91
|
+
|
|
92
|
+
var _chunkHG5T47NAcjs = require('./chunk-HG5T47NA.cjs');
|
|
93
|
+
|
|
54
94
|
|
|
55
95
|
|
|
56
96
|
|
|
57
|
-
var
|
|
58
|
-
require('./chunk-
|
|
97
|
+
var _chunk6ULQG2W2cjs = require('./chunk-6ULQG2W2.cjs');
|
|
98
|
+
require('./chunk-YTPZHJDC.cjs');
|
|
59
99
|
|
|
60
100
|
|
|
61
101
|
|
|
62
|
-
|
|
63
|
-
require('./chunk-
|
|
102
|
+
|
|
103
|
+
var _chunkABXTBB2Ncjs = require('./chunk-ABXTBB2N.cjs');
|
|
104
|
+
require('./chunk-BIAODQ2P.cjs');
|
|
64
105
|
require('./chunk-QZ5GS6HW.cjs');
|
|
65
106
|
|
|
66
107
|
|
|
67
108
|
|
|
68
|
-
|
|
109
|
+
|
|
110
|
+
var _chunkG6ZVJA4Vcjs = require('./chunk-G6ZVJA4V.cjs');
|
|
111
|
+
require('./chunk-KONXT2SF.cjs');
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
69
143
|
|
|
70
144
|
|
|
71
145
|
|
|
@@ -99,4 +173,4 @@ var _chunkU2YMJM25cjs = require('./chunk-U2YMJM25.cjs');
|
|
|
99
173
|
|
|
100
174
|
|
|
101
175
|
|
|
102
|
-
exports.askUser =
|
|
176
|
+
exports.askUser = _chunkKUFZFNPTcjs.askUser; exports.askUserPrompt = _chunkKUFZFNPTcjs.getPrompt; exports.bash = _chunkCXBWF5ONcjs.bash; exports.bashPrompt = _chunkCXBWF5ONcjs.getPrompt; exports.contextCompaction = _chunkVPRUYL4Tcjs.contextCompaction; exports.contextCompactionPrompt = _chunkVPRUYL4Tcjs.getPrompt; exports.createAskUser = _chunkKUFZFNPTcjs.createAskUser; exports.createBash = _chunkCXBWF5ONcjs.createBash; exports.createContextCompaction = _chunkVPRUYL4Tcjs.createContextCompaction; exports.createDiff = _chunkOYLTQJXTcjs.createDiff; exports.createEdit = _chunk6ULQG2W2cjs.createEdit; exports.createGlob = _chunkYCWJVQYOcjs.createGlob; exports.createGrep = _chunkRIGL3JTScjs.createGrep; exports.createHttpRequest = _chunk5T3SQYI4cjs.createHttpRequest; exports.createLsp = _chunkNQIV6LBHcjs.createLsp; exports.createMemory = _chunkLNAR3NJQcjs.createMemory; exports.createMultiEdit = _chunkVPV6WG5Vcjs.createMultiEdit; exports.createRead = _chunkHG5T47NAcjs.createRead; exports.createSleep = _chunkJYTOARJVcjs.createSleep; exports.createTaskCreate = _chunkSFDZRLSXcjs.createTaskCreate; exports.createTaskGet = _chunkXGDE7S2Dcjs.createTaskGet; exports.createTaskList = _chunk3FT4ZPB2cjs.createTaskList; exports.createTaskUpdate = _chunkT6STO7PScjs.createTaskUpdate; exports.createToolSearch = _chunk2JBLVFB7cjs.createToolSearch; exports.createWebFetch = _chunkG6ZVJA4Vcjs.createWebFetch; exports.createWebSearch = _chunkCM3VRCNXcjs.createWebSearch; exports.createWrite = _chunkABXTBB2Ncjs.createWrite; exports.diff = _chunkOYLTQJXTcjs.diff; exports.diffPrompt = _chunkOYLTQJXTcjs.getPrompt; exports.edit = _chunk6ULQG2W2cjs.edit; exports.editPrompt = _chunk6ULQG2W2cjs.getPrompt; exports.glob = _chunkYCWJVQYOcjs.glob; exports.globPrompt = _chunkYCWJVQYOcjs.getPrompt; exports.grep = _chunkRIGL3JTScjs.grep; exports.grepPrompt = _chunkRIGL3JTScjs.getPrompt; exports.httpRequest = _chunk5T3SQYI4cjs.httpRequest; exports.httpRequestPrompt = _chunk5T3SQYI4cjs.getPrompt; exports.lsp = _chunkNQIV6LBHcjs.lsp; exports.lspPrompt = _chunkNQIV6LBHcjs.getPrompt; exports.memory = _chunkLNAR3NJQcjs.memory; exports.memoryPrompt = _chunkLNAR3NJQcjs.getPrompt; exports.multiEdit = _chunkVPV6WG5Vcjs.multiEdit; exports.multiEditPrompt = _chunkVPV6WG5Vcjs.getPrompt; exports.read = _chunkHG5T47NAcjs.read; exports.readPrompt = _chunkHG5T47NAcjs.getPrompt; exports.sleep = _chunkJYTOARJVcjs.sleep; exports.sleepPrompt = _chunkJYTOARJVcjs.getPrompt; exports.taskCreate = _chunkSFDZRLSXcjs.taskCreate; exports.taskCreatePrompt = _chunkSFDZRLSXcjs.getPrompt; exports.taskGet = _chunkXGDE7S2Dcjs.taskGet; exports.taskGetPrompt = _chunkXGDE7S2Dcjs.getPrompt; exports.taskList = _chunk3FT4ZPB2cjs.taskList; exports.taskListPrompt = _chunk3FT4ZPB2cjs.getPrompt; exports.taskUpdate = _chunkT6STO7PScjs.taskUpdate; exports.taskUpdatePrompt = _chunkT6STO7PScjs.getPrompt; exports.toolSearch = _chunk2JBLVFB7cjs.toolSearch; exports.toolSearchPrompt = _chunk2JBLVFB7cjs.getPrompt; exports.webFetch = _chunkG6ZVJA4Vcjs.webFetch; exports.webFetchPrompt = _chunkG6ZVJA4Vcjs.getPrompt; exports.webSearch = _chunkCM3VRCNXcjs.webSearch; exports.webSearchPrompt = _chunkCM3VRCNXcjs.getPrompt; exports.write = _chunkABXTBB2Ncjs.write; exports.writePrompt = _chunkABXTBB2Ncjs.getPrompt;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
export { BashConfig, bash, createBash } from './bash/index.cjs';
|
|
2
|
-
export { GrepConfig, createGrep, grep } from './grep/index.cjs';
|
|
3
|
-
export { GlobConfig, createGlob, glob } from './glob/index.cjs';
|
|
4
|
-
export { ReadConfig, createRead, read } from './read/index.cjs';
|
|
5
|
-
export { EditConfig, createEdit, edit } from './edit/index.cjs';
|
|
6
|
-
export { WriteConfig, createWrite, write } from './write/index.cjs';
|
|
7
|
-
export { WebFetchConfig, createWebFetch, webFetch } from './web-fetch/index.cjs';
|
|
8
|
-
export { MemoryConfig, createMemory, memory } from './memory/index.cjs';
|
|
9
|
-
export { MultiEditConfig, createMultiEdit, multiEdit } from './multi-edit/index.cjs';
|
|
10
|
-
export { DiffConfig, createDiff, diff } from './diff/index.cjs';
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
1
|
+
export { BashConfig, bash, bashPrompt, createBash } from './bash/index.cjs';
|
|
2
|
+
export { GrepConfig, createGrep, grep, grepPrompt } from './grep/index.cjs';
|
|
3
|
+
export { GlobConfig, createGlob, glob, globPrompt } from './glob/index.cjs';
|
|
4
|
+
export { ReadConfig, createRead, read, readPrompt } from './read/index.cjs';
|
|
5
|
+
export { EditConfig, createEdit, edit, editPrompt } from './edit/index.cjs';
|
|
6
|
+
export { WriteConfig, createWrite, write, writePrompt } from './write/index.cjs';
|
|
7
|
+
export { WebFetchConfig, createWebFetch, webFetch, webFetchPrompt } from './web-fetch/index.cjs';
|
|
8
|
+
export { MemoryConfig, createMemory, memory, memoryPrompt } from './memory/index.cjs';
|
|
9
|
+
export { MultiEditConfig, createMultiEdit, multiEdit, multiEditPrompt } from './multi-edit/index.cjs';
|
|
10
|
+
export { DiffConfig, createDiff, diff, diffPrompt } from './diff/index.cjs';
|
|
11
|
+
export { TaskCreateConfig, createTaskCreate, taskCreate, taskCreatePrompt } from './task-create/index.cjs';
|
|
12
|
+
export { TaskGetConfig, createTaskGet, taskGet, taskGetPrompt } from './task-get/index.cjs';
|
|
13
|
+
export { TaskUpdateConfig, createTaskUpdate, taskUpdate, taskUpdatePrompt } from './task-update/index.cjs';
|
|
14
|
+
export { TaskListConfig, createTaskList, taskList, taskListPrompt } from './task-list/index.cjs';
|
|
15
|
+
export { WebSearchConfig, createWebSearch, webSearch, webSearchPrompt } from './web-search/index.cjs';
|
|
16
|
+
export { ToolSearchConfig, createToolSearch, toolSearch, toolSearchPrompt } from './tool-search/index.cjs';
|
|
17
|
+
export { LspConfig, createLsp, lsp, lspPrompt } from './lsp/index.cjs';
|
|
18
|
+
export { HttpRequestConfig, createHttpRequest, httpRequest, httpRequestPrompt } from './http-request/index.cjs';
|
|
19
|
+
export { ContextCompactionConfig, contextCompaction, contextCompactionPrompt, createContextCompaction } from './context-compaction/index.cjs';
|
|
20
|
+
export { AskUserConfig, askUser, askUserPrompt, createAskUser } from './ask-user/index.cjs';
|
|
21
|
+
export { SleepConfig, createSleep, sleep, sleepPrompt } from './sleep/index.cjs';
|
|
17
22
|
export { B as BaseToolConfig, T as TimeoutConfig, a as ToolResult } from './types-3QPDuCXN.cjs';
|
|
18
23
|
import 'ai';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
export { BashConfig, bash, createBash } from './bash/index.js';
|
|
2
|
-
export { GrepConfig, createGrep, grep } from './grep/index.js';
|
|
3
|
-
export { GlobConfig, createGlob, glob } from './glob/index.js';
|
|
4
|
-
export { ReadConfig, createRead, read } from './read/index.js';
|
|
5
|
-
export { EditConfig, createEdit, edit } from './edit/index.js';
|
|
6
|
-
export { WriteConfig, createWrite, write } from './write/index.js';
|
|
7
|
-
export { WebFetchConfig, createWebFetch, webFetch } from './web-fetch/index.js';
|
|
8
|
-
export { MemoryConfig, createMemory, memory } from './memory/index.js';
|
|
9
|
-
export { MultiEditConfig, createMultiEdit, multiEdit } from './multi-edit/index.js';
|
|
10
|
-
export { DiffConfig, createDiff, diff } from './diff/index.js';
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
1
|
+
export { BashConfig, bash, bashPrompt, createBash } from './bash/index.js';
|
|
2
|
+
export { GrepConfig, createGrep, grep, grepPrompt } from './grep/index.js';
|
|
3
|
+
export { GlobConfig, createGlob, glob, globPrompt } from './glob/index.js';
|
|
4
|
+
export { ReadConfig, createRead, read, readPrompt } from './read/index.js';
|
|
5
|
+
export { EditConfig, createEdit, edit, editPrompt } from './edit/index.js';
|
|
6
|
+
export { WriteConfig, createWrite, write, writePrompt } from './write/index.js';
|
|
7
|
+
export { WebFetchConfig, createWebFetch, webFetch, webFetchPrompt } from './web-fetch/index.js';
|
|
8
|
+
export { MemoryConfig, createMemory, memory, memoryPrompt } from './memory/index.js';
|
|
9
|
+
export { MultiEditConfig, createMultiEdit, multiEdit, multiEditPrompt } from './multi-edit/index.js';
|
|
10
|
+
export { DiffConfig, createDiff, diff, diffPrompt } from './diff/index.js';
|
|
11
|
+
export { TaskCreateConfig, createTaskCreate, taskCreate, taskCreatePrompt } from './task-create/index.js';
|
|
12
|
+
export { TaskGetConfig, createTaskGet, taskGet, taskGetPrompt } from './task-get/index.js';
|
|
13
|
+
export { TaskUpdateConfig, createTaskUpdate, taskUpdate, taskUpdatePrompt } from './task-update/index.js';
|
|
14
|
+
export { TaskListConfig, createTaskList, taskList, taskListPrompt } from './task-list/index.js';
|
|
15
|
+
export { WebSearchConfig, createWebSearch, webSearch, webSearchPrompt } from './web-search/index.js';
|
|
16
|
+
export { ToolSearchConfig, createToolSearch, toolSearch, toolSearchPrompt } from './tool-search/index.js';
|
|
17
|
+
export { LspConfig, createLsp, lsp, lspPrompt } from './lsp/index.js';
|
|
18
|
+
export { HttpRequestConfig, createHttpRequest, httpRequest, httpRequestPrompt } from './http-request/index.js';
|
|
19
|
+
export { ContextCompactionConfig, contextCompaction, contextCompactionPrompt, createContextCompaction } from './context-compaction/index.js';
|
|
20
|
+
export { AskUserConfig, askUser, askUserPrompt, createAskUser } from './ask-user/index.js';
|
|
21
|
+
export { SleepConfig, createSleep, sleep, sleepPrompt } from './sleep/index.js';
|
|
17
22
|
export { B as BaseToolConfig, T as TimeoutConfig, a as ToolResult } from './types-3QPDuCXN.js';
|
|
18
23
|
import 'ai';
|