@openkaiden/api 0.4.0-next.202609240844-e73283a → 0.4.0-next.202609241257-5b14d29

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.4.0-next.202609240844-e73283a",
3
+ "version": "0.4.0-next.202609241257-5b14d29",
4
4
  "description": "API for Kaiden extensions",
5
5
  "repository": "https://github.com/openkaiden/kaiden",
6
6
  "publishConfig": {
@@ -14,6 +14,7 @@
14
14
  ],
15
15
  "dependencies": {
16
16
  "@ai-sdk/provider": "^4.0.3",
17
+ "@nvidia/openshell-sdk": "npm:@openkaiden/opnshll-sdk@0.0.116",
17
18
  "@openkaiden/workspace-configuration": "^0.15.0"
18
19
  },
19
20
  "scripts": {
@@ -41,8 +41,13 @@
41
41
 
42
42
  declare module '@openkaiden/api' {
43
43
  import type { ProviderV3, ProviderV4 } from '@ai-sdk/provider' with { 'resolution-mode': 'import' };
44
+ import type { ProviderProfile as OpenshellProviderProfile } from '@nvidia/openshell-sdk/raw' with {
45
+ 'resolution-mode': 'import',
46
+ };
44
47
 
45
48
  type AISDKInferenceProvider = ProviderV3 | ProviderV4;
49
+
50
+ export type ProviderProfile = OpenshellProviderProfile;
46
51
  import type { components } from '@openkaiden/mcp-registry-types';
47
52
  import type { components as workspaceConfigComponents } from '@openkaiden/workspace-configuration';
48
53
 
@@ -5594,5 +5599,10 @@ declare module '@openkaiden/api' {
5594
5599
  export function registerCLI(cli: OpenShellCLI): Disposable;
5595
5600
  export const onDidRegisterCLI: Event<OpenShellCLI>;
5596
5601
  export const onDidUnregisterCLI: Event<OpenShellCLI>;
5602
+ export function registerProfile(profile: ProviderProfile): Disposable;
5603
+ export function getProfiles(): ReadonlyArray<ProviderProfile>;
5604
+ export const onDidRegisterProfile: Event<ProviderProfile>;
5605
+ export const onDidUnregisterProfile: Event<ProviderProfile>;
5606
+ export const onDidUpdateProfile: Event<ProviderProfile>;
5597
5607
  }
5598
5608
  }