@polka-codes/core 0.7.3 → 0.7.4
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/index.d.ts
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export { AiServiceProvider } from './_tsup-dts-rollup.js';
|
|
2
|
+
export { defaultModels } from './_tsup-dts-rollup.js';
|
|
3
|
+
export { createService } from './_tsup-dts-rollup.js';
|
|
4
|
+
export { UsageMeter } from './_tsup-dts-rollup.js';
|
|
5
|
+
export { MessageParam } from './_tsup-dts-rollup.js';
|
|
6
|
+
export { AiServiceOptions } from './_tsup-dts-rollup.js';
|
|
7
|
+
export { AiServiceBase } from './_tsup-dts-rollup.js';
|
|
8
|
+
export { ModelInfo } from './_tsup-dts-rollup.js';
|
|
9
|
+
export { ApiUsage } from './_tsup-dts-rollup.js';
|
|
10
|
+
export { allAgents } from './_tsup-dts-rollup.js';
|
|
11
|
+
export { AgentNameType } from './_tsup-dts-rollup.js';
|
|
12
|
+
export { TaskEventKind } from './_tsup-dts-rollup.js';
|
|
13
|
+
export { TaskEventBase } from './_tsup-dts-rollup.js';
|
|
14
|
+
export { TaskEventStartTask } from './_tsup-dts-rollup.js';
|
|
15
|
+
export { TaskEventStartRequest } from './_tsup-dts-rollup.js';
|
|
16
|
+
export { TaskEventEndRequest } from './_tsup-dts-rollup.js';
|
|
17
|
+
export { TaskEventUsage } from './_tsup-dts-rollup.js';
|
|
18
|
+
export { TaskEventText } from './_tsup-dts-rollup.js';
|
|
19
|
+
export { TaskEventTool } from './_tsup-dts-rollup.js';
|
|
20
|
+
export { TaskEventToolHandOverDelegate } from './_tsup-dts-rollup.js';
|
|
21
|
+
export { TaskEventUsageExceeded } from './_tsup-dts-rollup.js';
|
|
22
|
+
export { TaskEventEndTask } from './_tsup-dts-rollup.js';
|
|
23
|
+
export { TaskEvent } from './_tsup-dts-rollup.js';
|
|
24
|
+
export { TaskEventCallback } from './_tsup-dts-rollup.js';
|
|
25
|
+
export { SharedAgentOptions } from './_tsup-dts-rollup.js';
|
|
26
|
+
export { AgentBaseConfig } from './_tsup-dts-rollup.js';
|
|
27
|
+
export { AgentInfo } from './_tsup-dts-rollup.js';
|
|
28
|
+
export { ExitReason } from './_tsup-dts-rollup.js';
|
|
29
|
+
export { AgentBase } from './_tsup-dts-rollup.js';
|
|
30
|
+
export { CoderAgentOptions } from './_tsup-dts-rollup.js';
|
|
31
|
+
export { CoderAgent } from './_tsup-dts-rollup.js';
|
|
32
|
+
export { coderAgentInfo } from './_tsup-dts-rollup.js';
|
|
33
|
+
export { ArchitectAgentOptions } from './_tsup-dts-rollup.js';
|
|
34
|
+
export { ArchitectAgent } from './_tsup-dts-rollup.js';
|
|
35
|
+
export { architectAgentInfo } from './_tsup-dts-rollup.js';
|
|
36
|
+
export { AnalyzerAgentOptions } from './_tsup-dts-rollup.js';
|
|
37
|
+
export { AnalyzerAgent } from './_tsup-dts-rollup.js';
|
|
38
|
+
export { analyzerAgentInfo } from './_tsup-dts-rollup.js';
|
|
39
|
+
export { CodeFixerAgentOptions } from './_tsup-dts-rollup.js';
|
|
40
|
+
export { CodeFixerAgent } from './_tsup-dts-rollup.js';
|
|
41
|
+
export { codeFixerAgentInfo } from './_tsup-dts-rollup.js';
|
|
42
|
+
export { MultiAgentConfig } from './_tsup-dts-rollup.js';
|
|
43
|
+
export { MultiAgent } from './_tsup-dts-rollup.js';
|
|
44
|
+
export { allTools } from './_tsup-dts-rollup.js';
|
|
45
|
+
export { FilesystemProvider } from './_tsup-dts-rollup.js';
|
|
46
|
+
export { CommandProvider } from './_tsup-dts-rollup.js';
|
|
47
|
+
export { InteractionProvider } from './_tsup-dts-rollup.js';
|
|
48
|
+
export { ToolProvider } from './_tsup-dts-rollup.js';
|
|
49
|
+
export { MockProvider } from './_tsup-dts-rollup.js';
|
|
50
|
+
export { askFollowupQuestion } from './_tsup-dts-rollup.js';
|
|
51
|
+
export { attemptCompletion } from './_tsup-dts-rollup.js';
|
|
52
|
+
export { delegate } from './_tsup-dts-rollup.js';
|
|
53
|
+
export { executeCommand } from './_tsup-dts-rollup.js';
|
|
54
|
+
export { listCodeDefinitionNames } from './_tsup-dts-rollup.js';
|
|
55
|
+
export { listFiles } from './_tsup-dts-rollup.js';
|
|
56
|
+
export { readFile } from './_tsup-dts-rollup.js';
|
|
57
|
+
export { replaceInFile } from './_tsup-dts-rollup.js';
|
|
58
|
+
export { searchFiles } from './_tsup-dts-rollup.js';
|
|
59
|
+
export { writeToFile } from './_tsup-dts-rollup.js';
|
|
60
|
+
export { handOver } from './_tsup-dts-rollup.js';
|
|
61
|
+
export { removeFile } from './_tsup-dts-rollup.js';
|
|
62
|
+
export { renameFile } from './_tsup-dts-rollup.js';
|
|
63
|
+
export { AnthropicModelId } from './_tsup-dts-rollup.js';
|
|
64
|
+
export { anthropicDefaultModelId } from './_tsup-dts-rollup.js';
|
|
65
|
+
export { anthropicModels } from './_tsup-dts-rollup.js';
|
|
66
|
+
export { openAiModelInfoSaneDefaults } from './_tsup-dts-rollup.js';
|
|
67
|
+
export { DeepSeekModelId } from './_tsup-dts-rollup.js';
|
|
68
|
+
export { deepSeekDefaultModelId } from './_tsup-dts-rollup.js';
|
|
69
|
+
export { deepSeekModels } from './_tsup-dts-rollup.js';
|
|
70
|
+
export { modelInfos } from './_tsup-dts-rollup.js';
|
|
71
|
+
export { executeTool } from './_tsup-dts-rollup.js';
|
|
72
|
+
export { executeAgentTool } from './_tsup-dts-rollup.js';
|
|
73
|
+
export { makeTool } from './_tsup-dts-rollup.js';
|
|
74
|
+
export { makeAgentTool } from './_tsup-dts-rollup.js';
|
|
75
|
+
export { generateGitCommitMessage } from './_tsup-dts-rollup.js';
|
|
76
|
+
export { generateGithubPullRequestDetails } from './_tsup-dts-rollup.js';
|
|
77
|
+
export { generateProjectConfig } from './_tsup-dts-rollup.js';
|
|
78
|
+
export { createNewProject } from './_tsup-dts-rollup.js';
|
|
79
|
+
export { AiToolDefinition } from './_tsup-dts-rollup.js';
|
|
80
|
+
export { GetInput } from './_tsup-dts-rollup.js';
|
|
81
|
+
export { GetOutput } from './_tsup-dts-rollup.js';
|
|
82
|
+
export { ToolParameter } from './_tsup-dts-rollup.js';
|
|
83
|
+
export { ToolExample } from './_tsup-dts-rollup.js';
|
|
84
|
+
export { PermissionLevel } from './_tsup-dts-rollup.js';
|
|
85
|
+
export { ToolInfo } from './_tsup-dts-rollup.js';
|
|
86
|
+
export { FullToolInfo } from './_tsup-dts-rollup.js';
|
|
87
|
+
export { ToolResponseType } from './_tsup-dts-rollup.js';
|
|
88
|
+
export { ToolResponseReply } from './_tsup-dts-rollup.js';
|
|
89
|
+
export { ToolResponseExit } from './_tsup-dts-rollup.js';
|
|
90
|
+
export { ToolResponseInvalid } from './_tsup-dts-rollup.js';
|
|
91
|
+
export { ToolResponseError } from './_tsup-dts-rollup.js';
|
|
92
|
+
export { ToolResponseInterrupted } from './_tsup-dts-rollup.js';
|
|
93
|
+
export { ToolResponseHandOver } from './_tsup-dts-rollup.js';
|
|
94
|
+
export { ToolResponseDelegate } from './_tsup-dts-rollup.js';
|
|
95
|
+
export { ToolResponse } from './_tsup-dts-rollup.js';
|
|
96
|
+
export { ToolHandler } from './_tsup-dts-rollup.js';
|
|
97
|
+
export { getAvailableTools_alias_1 as getAvailableTools } from './_tsup-dts-rollup.js';
|
|
@@ -1,88 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
1
|
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
2
|
var __export = (target, all) => {
|
|
9
3
|
for (var name in all)
|
|
10
4
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
5
|
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/index.ts
|
|
31
|
-
var index_exports = {};
|
|
32
|
-
__export(index_exports, {
|
|
33
|
-
AgentBase: () => AgentBase,
|
|
34
|
-
AiServiceProvider: () => AiServiceProvider,
|
|
35
|
-
AnalyzerAgent: () => AnalyzerAgent,
|
|
36
|
-
ArchitectAgent: () => ArchitectAgent,
|
|
37
|
-
CodeFixerAgent: () => CodeFixerAgent,
|
|
38
|
-
CoderAgent: () => CoderAgent,
|
|
39
|
-
MockProvider: () => MockProvider,
|
|
40
|
-
MultiAgent: () => MultiAgent,
|
|
41
|
-
PermissionLevel: () => PermissionLevel,
|
|
42
|
-
TaskEventKind: () => TaskEventKind,
|
|
43
|
-
ToolResponseType: () => ToolResponseType,
|
|
44
|
-
UsageMeter: () => UsageMeter,
|
|
45
|
-
allAgents: () => allAgents,
|
|
46
|
-
allTools: () => allTools_exports,
|
|
47
|
-
analyzerAgentInfo: () => analyzerAgentInfo,
|
|
48
|
-
anthropicDefaultModelId: () => anthropicDefaultModelId,
|
|
49
|
-
anthropicModels: () => anthropicModels,
|
|
50
|
-
architectAgentInfo: () => architectAgentInfo,
|
|
51
|
-
askFollowupQuestion: () => askFollowupQuestion_default,
|
|
52
|
-
attemptCompletion: () => attemptCompletion_default,
|
|
53
|
-
codeFixerAgentInfo: () => codeFixerAgentInfo,
|
|
54
|
-
coderAgentInfo: () => coderAgentInfo,
|
|
55
|
-
createNewProject: () => createNewProject,
|
|
56
|
-
createService: () => createService,
|
|
57
|
-
deepSeekDefaultModelId: () => deepSeekDefaultModelId,
|
|
58
|
-
deepSeekModels: () => deepSeekModels,
|
|
59
|
-
defaultModels: () => defaultModels,
|
|
60
|
-
delegate: () => delegate_default,
|
|
61
|
-
executeAgentTool: () => executeAgentTool,
|
|
62
|
-
executeCommand: () => executeCommand_default,
|
|
63
|
-
executeTool: () => executeTool,
|
|
64
|
-
generateGitCommitMessage: () => generateGitCommitMessage,
|
|
65
|
-
generateGithubPullRequestDetails: () => generateGithubPullRequestDetails,
|
|
66
|
-
generateProjectConfig: () => generateProjectConfig,
|
|
67
|
-
getAvailableTools: () => getAvailableTools,
|
|
68
|
-
handOver: () => handOver_default,
|
|
69
|
-
listCodeDefinitionNames: () => listCodeDefinitionNames_default,
|
|
70
|
-
listFiles: () => listFiles_default,
|
|
71
|
-
makeAgentTool: () => makeAgentTool,
|
|
72
|
-
makeTool: () => makeTool,
|
|
73
|
-
modelInfos: () => modelInfos,
|
|
74
|
-
openAiModelInfoSaneDefaults: () => openAiModelInfoSaneDefaults,
|
|
75
|
-
readFile: () => readFile_default,
|
|
76
|
-
removeFile: () => removeFile_default,
|
|
77
|
-
renameFile: () => renameFile_default,
|
|
78
|
-
replaceInFile: () => replaceInFile_default,
|
|
79
|
-
searchFiles: () => searchFiles_default,
|
|
80
|
-
writeToFile: () => writeToFile_default
|
|
81
|
-
});
|
|
82
|
-
module.exports = __toCommonJS(index_exports);
|
|
83
6
|
|
|
84
7
|
// src/AiService/AnthropicService.ts
|
|
85
|
-
|
|
8
|
+
import { Anthropic } from "@anthropic-ai/sdk";
|
|
86
9
|
|
|
87
10
|
// src/AiService/AiServiceBase.ts
|
|
88
11
|
var AiServiceBase = class {
|
|
@@ -245,7 +168,7 @@ var AnthropicService = class extends AiServiceBase {
|
|
|
245
168
|
constructor(options) {
|
|
246
169
|
super(options.usageMeter);
|
|
247
170
|
this.#options = options;
|
|
248
|
-
this.#client = new
|
|
171
|
+
this.#client = new Anthropic({
|
|
249
172
|
apiKey: options.apiKey,
|
|
250
173
|
baseURL: options.baseUrl || void 0
|
|
251
174
|
});
|
|
@@ -382,7 +305,7 @@ var AnthropicService = class extends AiServiceBase {
|
|
|
382
305
|
};
|
|
383
306
|
|
|
384
307
|
// src/AiService/DeepSeekService.ts
|
|
385
|
-
|
|
308
|
+
import OpenAI from "openai";
|
|
386
309
|
|
|
387
310
|
// src/AiService/utils.ts
|
|
388
311
|
function convertToOpenAiMessages(anthropicMessages) {
|
|
@@ -490,7 +413,7 @@ var DeepSeekService = class extends AiServiceBase {
|
|
|
490
413
|
model;
|
|
491
414
|
constructor(options) {
|
|
492
415
|
super(options.usageMeter);
|
|
493
|
-
this.#client = new
|
|
416
|
+
this.#client = new OpenAI({
|
|
494
417
|
baseURL: "https://api.deepseek.com/v1",
|
|
495
418
|
apiKey: options.apiKey
|
|
496
419
|
});
|
|
@@ -547,13 +470,13 @@ var DeepSeekService = class extends AiServiceBase {
|
|
|
547
470
|
};
|
|
548
471
|
|
|
549
472
|
// src/AiService/OllamaService.ts
|
|
550
|
-
|
|
473
|
+
import OpenAI2 from "openai";
|
|
551
474
|
var OllamaService = class extends AiServiceBase {
|
|
552
475
|
#client;
|
|
553
476
|
model;
|
|
554
477
|
constructor(options) {
|
|
555
478
|
super(options.usageMeter);
|
|
556
|
-
this.#client = new
|
|
479
|
+
this.#client = new OpenAI2({
|
|
557
480
|
baseURL: `${options.baseUrl || "http://localhost:11434"}/v1`,
|
|
558
481
|
apiKey: "ollama"
|
|
559
482
|
});
|
|
@@ -587,7 +510,7 @@ var OllamaService = class extends AiServiceBase {
|
|
|
587
510
|
};
|
|
588
511
|
|
|
589
512
|
// src/AiService/OpenRouterService.ts
|
|
590
|
-
|
|
513
|
+
import OpenAI3 from "openai";
|
|
591
514
|
var OpenRouterService = class extends AiServiceBase {
|
|
592
515
|
#client;
|
|
593
516
|
#apiKey;
|
|
@@ -603,7 +526,7 @@ var OpenRouterService = class extends AiServiceBase {
|
|
|
603
526
|
throw new Error("OpenRouter requires an API key");
|
|
604
527
|
}
|
|
605
528
|
this.#apiKey = options.apiKey;
|
|
606
|
-
this.#client = new
|
|
529
|
+
this.#client = new OpenAI3({
|
|
607
530
|
baseURL: "https://openrouter.ai/api/v1",
|
|
608
531
|
apiKey: options.apiKey,
|
|
609
532
|
defaultHeaders: {
|
|
@@ -771,7 +694,7 @@ var OpenRouterService = class extends AiServiceBase {
|
|
|
771
694
|
};
|
|
772
695
|
|
|
773
696
|
// src/AiService/UsageMeter.ts
|
|
774
|
-
|
|
697
|
+
import { merge } from "lodash";
|
|
775
698
|
var UsageMeter = class {
|
|
776
699
|
#usage = {
|
|
777
700
|
inputTokens: 0,
|
|
@@ -787,7 +710,7 @@ var UsageMeter = class {
|
|
|
787
710
|
constructor(options = {}) {
|
|
788
711
|
this.maxCost = options.maxCost || 1e3;
|
|
789
712
|
this.maxMessageCount = options.maxMessageCount || 1e3;
|
|
790
|
-
this.#prices =
|
|
713
|
+
this.#prices = merge({}, modelInfos, options.prices ?? {});
|
|
791
714
|
}
|
|
792
715
|
/**
|
|
793
716
|
* Add usage metrics to the current totals
|
|
@@ -3404,8 +3327,7 @@ var generateGitCommitMessage = makeTool(generateGitCommitMessage_default);
|
|
|
3404
3327
|
var generateGithubPullRequestDetails = makeTool(generateGithubPullRequestDetails_default);
|
|
3405
3328
|
var generateProjectConfig = makeAgentTool(generateProjectConfig_default);
|
|
3406
3329
|
var createNewProject = makeAgentTool(createNewProject_default);
|
|
3407
|
-
|
|
3408
|
-
0 && (module.exports = {
|
|
3330
|
+
export {
|
|
3409
3331
|
AgentBase,
|
|
3410
3332
|
AiServiceProvider,
|
|
3411
3333
|
AnalyzerAgent,
|
|
@@ -3419,13 +3341,13 @@ var createNewProject = makeAgentTool(createNewProject_default);
|
|
|
3419
3341
|
ToolResponseType,
|
|
3420
3342
|
UsageMeter,
|
|
3421
3343
|
allAgents,
|
|
3422
|
-
allTools,
|
|
3344
|
+
allTools_exports as allTools,
|
|
3423
3345
|
analyzerAgentInfo,
|
|
3424
3346
|
anthropicDefaultModelId,
|
|
3425
3347
|
anthropicModels,
|
|
3426
3348
|
architectAgentInfo,
|
|
3427
|
-
askFollowupQuestion,
|
|
3428
|
-
attemptCompletion,
|
|
3349
|
+
askFollowupQuestion_default as askFollowupQuestion,
|
|
3350
|
+
attemptCompletion_default as attemptCompletion,
|
|
3429
3351
|
codeFixerAgentInfo,
|
|
3430
3352
|
coderAgentInfo,
|
|
3431
3353
|
createNewProject,
|
|
@@ -3433,25 +3355,25 @@ var createNewProject = makeAgentTool(createNewProject_default);
|
|
|
3433
3355
|
deepSeekDefaultModelId,
|
|
3434
3356
|
deepSeekModels,
|
|
3435
3357
|
defaultModels,
|
|
3436
|
-
delegate,
|
|
3358
|
+
delegate_default as delegate,
|
|
3437
3359
|
executeAgentTool,
|
|
3438
|
-
executeCommand,
|
|
3360
|
+
executeCommand_default as executeCommand,
|
|
3439
3361
|
executeTool,
|
|
3440
3362
|
generateGitCommitMessage,
|
|
3441
3363
|
generateGithubPullRequestDetails,
|
|
3442
3364
|
generateProjectConfig,
|
|
3443
3365
|
getAvailableTools,
|
|
3444
|
-
handOver,
|
|
3445
|
-
listCodeDefinitionNames,
|
|
3446
|
-
listFiles,
|
|
3366
|
+
handOver_default as handOver,
|
|
3367
|
+
listCodeDefinitionNames_default as listCodeDefinitionNames,
|
|
3368
|
+
listFiles_default as listFiles,
|
|
3447
3369
|
makeAgentTool,
|
|
3448
3370
|
makeTool,
|
|
3449
3371
|
modelInfos,
|
|
3450
3372
|
openAiModelInfoSaneDefaults,
|
|
3451
|
-
readFile,
|
|
3452
|
-
removeFile,
|
|
3453
|
-
renameFile,
|
|
3454
|
-
replaceInFile,
|
|
3455
|
-
searchFiles,
|
|
3456
|
-
writeToFile
|
|
3457
|
-
}
|
|
3373
|
+
readFile_default as readFile,
|
|
3374
|
+
removeFile_default as removeFile,
|
|
3375
|
+
renameFile_default as renameFile,
|
|
3376
|
+
replaceInFile_default as replaceInFile,
|
|
3377
|
+
searchFiles_default as searchFiles,
|
|
3378
|
+
writeToFile_default as writeToFile
|
|
3379
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polka-codes/core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"author": "github@polka.codes",
|
|
6
6
|
"type": "module",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"files": ["dist"],
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "tsup src/index.ts --experimental-dts"
|
|
15
|
+
"build": "tsup src/index.ts --experimental-dts --format esm --clean"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@anthropic-ai/sdk": "^0.36.2",
|
package/dist/index.d.cts
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
export { AiServiceProvider } from './_tsup-dts-rollup.cjs';
|
|
2
|
-
export { defaultModels } from './_tsup-dts-rollup.cjs';
|
|
3
|
-
export { createService } from './_tsup-dts-rollup.cjs';
|
|
4
|
-
export { UsageMeter } from './_tsup-dts-rollup.cjs';
|
|
5
|
-
export { MessageParam } from './_tsup-dts-rollup.cjs';
|
|
6
|
-
export { AiServiceOptions } from './_tsup-dts-rollup.cjs';
|
|
7
|
-
export { AiServiceBase } from './_tsup-dts-rollup.cjs';
|
|
8
|
-
export { ModelInfo } from './_tsup-dts-rollup.cjs';
|
|
9
|
-
export { ApiUsage } from './_tsup-dts-rollup.cjs';
|
|
10
|
-
export { allAgents } from './_tsup-dts-rollup.cjs';
|
|
11
|
-
export { AgentNameType } from './_tsup-dts-rollup.cjs';
|
|
12
|
-
export { TaskEventKind } from './_tsup-dts-rollup.cjs';
|
|
13
|
-
export { TaskEventBase } from './_tsup-dts-rollup.cjs';
|
|
14
|
-
export { TaskEventStartTask } from './_tsup-dts-rollup.cjs';
|
|
15
|
-
export { TaskEventStartRequest } from './_tsup-dts-rollup.cjs';
|
|
16
|
-
export { TaskEventEndRequest } from './_tsup-dts-rollup.cjs';
|
|
17
|
-
export { TaskEventUsage } from './_tsup-dts-rollup.cjs';
|
|
18
|
-
export { TaskEventText } from './_tsup-dts-rollup.cjs';
|
|
19
|
-
export { TaskEventTool } from './_tsup-dts-rollup.cjs';
|
|
20
|
-
export { TaskEventToolHandOverDelegate } from './_tsup-dts-rollup.cjs';
|
|
21
|
-
export { TaskEventUsageExceeded } from './_tsup-dts-rollup.cjs';
|
|
22
|
-
export { TaskEventEndTask } from './_tsup-dts-rollup.cjs';
|
|
23
|
-
export { TaskEvent } from './_tsup-dts-rollup.cjs';
|
|
24
|
-
export { TaskEventCallback } from './_tsup-dts-rollup.cjs';
|
|
25
|
-
export { SharedAgentOptions } from './_tsup-dts-rollup.cjs';
|
|
26
|
-
export { AgentBaseConfig } from './_tsup-dts-rollup.cjs';
|
|
27
|
-
export { AgentInfo } from './_tsup-dts-rollup.cjs';
|
|
28
|
-
export { ExitReason } from './_tsup-dts-rollup.cjs';
|
|
29
|
-
export { AgentBase } from './_tsup-dts-rollup.cjs';
|
|
30
|
-
export { CoderAgentOptions } from './_tsup-dts-rollup.cjs';
|
|
31
|
-
export { CoderAgent } from './_tsup-dts-rollup.cjs';
|
|
32
|
-
export { coderAgentInfo } from './_tsup-dts-rollup.cjs';
|
|
33
|
-
export { ArchitectAgentOptions } from './_tsup-dts-rollup.cjs';
|
|
34
|
-
export { ArchitectAgent } from './_tsup-dts-rollup.cjs';
|
|
35
|
-
export { architectAgentInfo } from './_tsup-dts-rollup.cjs';
|
|
36
|
-
export { AnalyzerAgentOptions } from './_tsup-dts-rollup.cjs';
|
|
37
|
-
export { AnalyzerAgent } from './_tsup-dts-rollup.cjs';
|
|
38
|
-
export { analyzerAgentInfo } from './_tsup-dts-rollup.cjs';
|
|
39
|
-
export { CodeFixerAgentOptions } from './_tsup-dts-rollup.cjs';
|
|
40
|
-
export { CodeFixerAgent } from './_tsup-dts-rollup.cjs';
|
|
41
|
-
export { codeFixerAgentInfo } from './_tsup-dts-rollup.cjs';
|
|
42
|
-
export { MultiAgentConfig } from './_tsup-dts-rollup.cjs';
|
|
43
|
-
export { MultiAgent } from './_tsup-dts-rollup.cjs';
|
|
44
|
-
export { allTools } from './_tsup-dts-rollup.cjs';
|
|
45
|
-
export { FilesystemProvider } from './_tsup-dts-rollup.cjs';
|
|
46
|
-
export { CommandProvider } from './_tsup-dts-rollup.cjs';
|
|
47
|
-
export { InteractionProvider } from './_tsup-dts-rollup.cjs';
|
|
48
|
-
export { ToolProvider } from './_tsup-dts-rollup.cjs';
|
|
49
|
-
export { MockProvider } from './_tsup-dts-rollup.cjs';
|
|
50
|
-
export { askFollowupQuestion } from './_tsup-dts-rollup.cjs';
|
|
51
|
-
export { attemptCompletion } from './_tsup-dts-rollup.cjs';
|
|
52
|
-
export { delegate } from './_tsup-dts-rollup.cjs';
|
|
53
|
-
export { executeCommand } from './_tsup-dts-rollup.cjs';
|
|
54
|
-
export { listCodeDefinitionNames } from './_tsup-dts-rollup.cjs';
|
|
55
|
-
export { listFiles } from './_tsup-dts-rollup.cjs';
|
|
56
|
-
export { readFile } from './_tsup-dts-rollup.cjs';
|
|
57
|
-
export { replaceInFile } from './_tsup-dts-rollup.cjs';
|
|
58
|
-
export { searchFiles } from './_tsup-dts-rollup.cjs';
|
|
59
|
-
export { writeToFile } from './_tsup-dts-rollup.cjs';
|
|
60
|
-
export { handOver } from './_tsup-dts-rollup.cjs';
|
|
61
|
-
export { removeFile } from './_tsup-dts-rollup.cjs';
|
|
62
|
-
export { renameFile } from './_tsup-dts-rollup.cjs';
|
|
63
|
-
export { AnthropicModelId } from './_tsup-dts-rollup.cjs';
|
|
64
|
-
export { anthropicDefaultModelId } from './_tsup-dts-rollup.cjs';
|
|
65
|
-
export { anthropicModels } from './_tsup-dts-rollup.cjs';
|
|
66
|
-
export { openAiModelInfoSaneDefaults } from './_tsup-dts-rollup.cjs';
|
|
67
|
-
export { DeepSeekModelId } from './_tsup-dts-rollup.cjs';
|
|
68
|
-
export { deepSeekDefaultModelId } from './_tsup-dts-rollup.cjs';
|
|
69
|
-
export { deepSeekModels } from './_tsup-dts-rollup.cjs';
|
|
70
|
-
export { modelInfos } from './_tsup-dts-rollup.cjs';
|
|
71
|
-
export { executeTool } from './_tsup-dts-rollup.cjs';
|
|
72
|
-
export { executeAgentTool } from './_tsup-dts-rollup.cjs';
|
|
73
|
-
export { makeTool } from './_tsup-dts-rollup.cjs';
|
|
74
|
-
export { makeAgentTool } from './_tsup-dts-rollup.cjs';
|
|
75
|
-
export { generateGitCommitMessage } from './_tsup-dts-rollup.cjs';
|
|
76
|
-
export { generateGithubPullRequestDetails } from './_tsup-dts-rollup.cjs';
|
|
77
|
-
export { generateProjectConfig } from './_tsup-dts-rollup.cjs';
|
|
78
|
-
export { createNewProject } from './_tsup-dts-rollup.cjs';
|
|
79
|
-
export { AiToolDefinition } from './_tsup-dts-rollup.cjs';
|
|
80
|
-
export { GetInput } from './_tsup-dts-rollup.cjs';
|
|
81
|
-
export { GetOutput } from './_tsup-dts-rollup.cjs';
|
|
82
|
-
export { ToolParameter } from './_tsup-dts-rollup.cjs';
|
|
83
|
-
export { ToolExample } from './_tsup-dts-rollup.cjs';
|
|
84
|
-
export { PermissionLevel } from './_tsup-dts-rollup.cjs';
|
|
85
|
-
export { ToolInfo } from './_tsup-dts-rollup.cjs';
|
|
86
|
-
export { FullToolInfo } from './_tsup-dts-rollup.cjs';
|
|
87
|
-
export { ToolResponseType } from './_tsup-dts-rollup.cjs';
|
|
88
|
-
export { ToolResponseReply } from './_tsup-dts-rollup.cjs';
|
|
89
|
-
export { ToolResponseExit } from './_tsup-dts-rollup.cjs';
|
|
90
|
-
export { ToolResponseInvalid } from './_tsup-dts-rollup.cjs';
|
|
91
|
-
export { ToolResponseError } from './_tsup-dts-rollup.cjs';
|
|
92
|
-
export { ToolResponseInterrupted } from './_tsup-dts-rollup.cjs';
|
|
93
|
-
export { ToolResponseHandOver } from './_tsup-dts-rollup.cjs';
|
|
94
|
-
export { ToolResponseDelegate } from './_tsup-dts-rollup.cjs';
|
|
95
|
-
export { ToolResponse } from './_tsup-dts-rollup.cjs';
|
|
96
|
-
export { ToolHandler } from './_tsup-dts-rollup.cjs';
|
|
97
|
-
export { getAvailableTools_alias_1 as getAvailableTools } from './_tsup-dts-rollup.cjs';
|
|
File without changes
|