@inkeep/agents-cli 0.12.1 → 0.14.0

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/config.d.ts CHANGED
@@ -1,10 +1,28 @@
1
- interface InkeepConfig {
1
+ interface ApiConfig {
2
+ url: string;
3
+ apiKey?: string;
4
+ }
5
+ interface FlatInkeepConfig {
2
6
  tenantId: string;
7
+ /**
8
+ * @deprecated Use the nested `agentsManageApi.url` format instead
9
+ */
3
10
  agentsManageApiUrl: string;
11
+ /**
12
+ * @deprecated Use the nested `agentsRunApi.url` format instead
13
+ */
4
14
  agentsRunApiUrl: string;
5
15
  manageUiUrl?: string;
6
16
  outputDirectory?: string;
7
17
  }
18
+ interface NestedInkeepConfig {
19
+ tenantId: string;
20
+ agentsManageApi: ApiConfig;
21
+ agentsRunApi: ApiConfig;
22
+ manageUiUrl?: string;
23
+ outputDirectory?: string;
24
+ }
25
+ type InkeepConfig = FlatInkeepConfig | NestedInkeepConfig;
8
26
  declare function defineConfig(config: InkeepConfig): InkeepConfig;
9
27
 
10
- export { type InkeepConfig, defineConfig };
28
+ export { type ApiConfig, type FlatInkeepConfig, type InkeepConfig, type NestedInkeepConfig, defineConfig };