@openkaiden/api 0.2.0-next.202606171404-e2b921e → 0.2.0-next.202606171620-dfd6087
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/package.json +4 -3
- package/src/extension-api.d.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openkaiden/api",
|
|
3
|
-
"version": "0.2.0-next.
|
|
3
|
+
"version": "0.2.0-next.202606171620-dfd6087",
|
|
4
4
|
"description": "API for Kaiden extensions",
|
|
5
5
|
"repository": "https://github.com/openkaiden/kaiden",
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,8 +12,9 @@
|
|
|
12
12
|
"files": [
|
|
13
13
|
"src"
|
|
14
14
|
],
|
|
15
|
-
"
|
|
16
|
-
"@ai-sdk/provider": "^3.0.10"
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@ai-sdk/provider": "^3.0.10",
|
|
17
|
+
"@openkaiden/workspace-configuration": "^0.14.0"
|
|
17
18
|
},
|
|
18
19
|
"scripts": {
|
|
19
20
|
"clean": "rimraf lib *.tsbuildinfo",
|
package/src/extension-api.d.ts
CHANGED
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
declare module '@openkaiden/api' {
|
|
43
43
|
import type { ProviderV3 as AISDKInferenceProvider } from '@ai-sdk/provider';
|
|
44
44
|
import type { components } from '@openkaiden/mcp-registry-types';
|
|
45
|
+
import type { components as workspaceConfigComponents } from '@openkaiden/workspace-configuration';
|
|
45
46
|
|
|
46
47
|
/**
|
|
47
48
|
* The version of Kaiden.
|
|
@@ -5560,6 +5561,8 @@ declare module '@openkaiden/api' {
|
|
|
5560
5561
|
update(content: string): Promise<void>;
|
|
5561
5562
|
}
|
|
5562
5563
|
|
|
5564
|
+
export type AgentWorkspaceConfiguration = workspaceConfigComponents['schemas']['WorkspaceConfiguration'];
|
|
5565
|
+
|
|
5563
5566
|
export interface AgentWorkspaceContext {
|
|
5564
5567
|
readonly model: {
|
|
5565
5568
|
readonly llmMetadata?: LLMMetadata;
|
|
@@ -5567,6 +5570,7 @@ declare module '@openkaiden/api' {
|
|
|
5567
5570
|
readonly endpoint?: string;
|
|
5568
5571
|
};
|
|
5569
5572
|
readonly configurationFiles: ReadonlyArray<AgentConfigurationFile>;
|
|
5573
|
+
readonly workspace: AgentWorkspaceConfiguration;
|
|
5570
5574
|
}
|
|
5571
5575
|
|
|
5572
5576
|
export interface Agent {
|