@openkaiden/api 0.3.1 → 0.3.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openkaiden/api",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "API for Kaiden extensions",
5
5
  "repository": "https://github.com/openkaiden/kaiden",
6
6
  "publishConfig": {
@@ -13,7 +13,7 @@
13
13
  "src"
14
14
  ],
15
15
  "dependencies": {
16
- "@ai-sdk/provider": "^4.0.2",
16
+ "@ai-sdk/provider": "^4.0.3",
17
17
  "@openkaiden/workspace-configuration": "^0.14.0"
18
18
  },
19
19
  "scripts": {
@@ -792,9 +792,13 @@ declare module '@openkaiden/api' {
792
792
  config: string;
793
793
  }
794
794
 
795
+ export interface SemanticRouter {
796
+ connectionId: string;
797
+ }
798
+
795
799
  export interface SemanticRouterFactory extends ProviderConnectionFactory {
796
800
  readonly type: string;
797
- create(params: SemanticRouterCreateParams, logger?: Logger, token?: CancellationToken): Promise<void>;
801
+ create(params: SemanticRouterCreateParams, logger?: Logger, token?: CancellationToken): Promise<SemanticRouter>;
798
802
  }
799
803
 
800
804
  // create a kubernetes provider
@@ -5563,8 +5567,6 @@ declare module '@openkaiden/api' {
5563
5567
  constructor(url: string);
5564
5568
  }
5565
5569
 
5566
- export type Runtime = 'openshell' | 'podman';
5567
-
5568
5570
  export interface ModelType {
5569
5571
  readonly name: string;
5570
5572
  }
@@ -5609,7 +5611,6 @@ declare module '@openkaiden/api' {
5609
5611
  */
5610
5612
  readonly destinationSkillsFolder: string;
5611
5613
  isSupportedModelType?(type: ModelType): boolean | Promise<boolean>;
5612
- isSupportedRuntime?(runtime: Runtime): boolean | Promise<boolean>;
5613
5614
  preWorkspaceStart(context: AgentWorkspaceContext): Promise<void>;
5614
5615
  }
5615
5616