@polka-codes/core 0.7.9 → 0.7.10
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 +1 -1
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ export { AiServiceProvider } from './_tsup-dts-rollup.js';
|
|
|
2
2
|
export { defaultModels } from './_tsup-dts-rollup.js';
|
|
3
3
|
export { createService } from './_tsup-dts-rollup.js';
|
|
4
4
|
export { UsageMeter } from './_tsup-dts-rollup.js';
|
|
5
|
+
export { AiServiceBase } from './_tsup-dts-rollup.js';
|
|
5
6
|
export { MessageParam } from './_tsup-dts-rollup.js';
|
|
6
7
|
export { AiServiceOptions } from './_tsup-dts-rollup.js';
|
|
7
|
-
export { AiServiceBase } from './_tsup-dts-rollup.js';
|
|
8
8
|
export { ModelInfo } from './_tsup-dts-rollup.js';
|
|
9
9
|
export { ApiUsage } from './_tsup-dts-rollup.js';
|
|
10
10
|
export { ApiStream } from './_tsup-dts-rollup.js';
|
package/dist/index.js
CHANGED
|
@@ -4,9 +4,6 @@ var __export = (target, all) => {
|
|
|
4
4
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
5
5
|
};
|
|
6
6
|
|
|
7
|
-
// src/AiService/AnthropicService.ts
|
|
8
|
-
import { Anthropic } from "@anthropic-ai/sdk";
|
|
9
|
-
|
|
10
7
|
// src/AiService/AiServiceBase.ts
|
|
11
8
|
var AiServiceBase = class {
|
|
12
9
|
usageMeter;
|
|
@@ -62,6 +59,9 @@ var AiServiceBase = class {
|
|
|
62
59
|
}
|
|
63
60
|
};
|
|
64
61
|
|
|
62
|
+
// src/AiService/AnthropicService.ts
|
|
63
|
+
import { Anthropic } from "@anthropic-ai/sdk";
|
|
64
|
+
|
|
65
65
|
// src/AiService/ModelInfo.ts
|
|
66
66
|
var anthropicDefaultModelId = "claude-3-7-sonnet-20250219";
|
|
67
67
|
var anthropicModels = {
|
|
@@ -3374,6 +3374,7 @@ var generateProjectConfig = makeAgentTool(generateProjectConfig_default);
|
|
|
3374
3374
|
var createNewProject = makeAgentTool(createNewProject_default);
|
|
3375
3375
|
export {
|
|
3376
3376
|
AgentBase,
|
|
3377
|
+
AiServiceBase,
|
|
3377
3378
|
AiServiceProvider,
|
|
3378
3379
|
AnalyzerAgent,
|
|
3379
3380
|
ArchitectAgent,
|