@alexrockshouts/miri-sdk 1.0.0 → 1.0.1
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.
Potentially problematic release.
This version of @alexrockshouts/miri-sdk might be problematic. Click here for more details.
- package/dist/generated/api.d.ts +0 -104
- package/dist/generated/api.js +0 -179
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -2
package/dist/generated/api.d.ts
CHANGED
|
@@ -63,9 +63,6 @@ export interface ApiV1PromptPostRequest {
|
|
|
63
63
|
'temperature'?: number;
|
|
64
64
|
'max_tokens'?: number;
|
|
65
65
|
}
|
|
66
|
-
export interface ApiV1SetupConfigurePost200Response {
|
|
67
|
-
'status'?: string;
|
|
68
|
-
}
|
|
69
66
|
export interface ApiV1SubagentsIdTranscriptGet200ResponseInner {
|
|
70
67
|
'role'?: string;
|
|
71
68
|
'content'?: string;
|
|
@@ -251,19 +248,6 @@ export interface Session {
|
|
|
251
248
|
'output_tokens'?: number;
|
|
252
249
|
'total_cost'?: number;
|
|
253
250
|
}
|
|
254
|
-
export interface SetupRequest {
|
|
255
|
-
'admin_user': string;
|
|
256
|
-
'admin_pass': string;
|
|
257
|
-
'server_key': string;
|
|
258
|
-
'provider_name': string;
|
|
259
|
-
'base_url'?: string;
|
|
260
|
-
'api_key': string;
|
|
261
|
-
'model_id': string;
|
|
262
|
-
'model_name'?: string;
|
|
263
|
-
}
|
|
264
|
-
export interface SetupStatus {
|
|
265
|
-
'setup_mode'?: boolean;
|
|
266
|
-
}
|
|
267
251
|
export interface Skill {
|
|
268
252
|
'name'?: string;
|
|
269
253
|
'description'?: string;
|
|
@@ -463,13 +447,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
463
447
|
* @throws {RequiredError}
|
|
464
448
|
*/
|
|
465
449
|
apiAdminV1ConfigPost: (config: Config, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
466
|
-
/**
|
|
467
|
-
*
|
|
468
|
-
* @summary Reset configuration (removes config.yaml)
|
|
469
|
-
* @param {*} [options] Override http request option.
|
|
470
|
-
* @throws {RequiredError}
|
|
471
|
-
*/
|
|
472
|
-
apiAdminV1ConfigResetPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
473
450
|
/**
|
|
474
451
|
*
|
|
475
452
|
* @summary Check health of the admin API
|
|
@@ -675,21 +652,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
675
652
|
* @throws {RequiredError}
|
|
676
653
|
*/
|
|
677
654
|
apiV1PromptStreamGet: (prompt: string, model?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
678
|
-
/**
|
|
679
|
-
*
|
|
680
|
-
* @summary Initial configuration
|
|
681
|
-
* @param {SetupRequest} setupRequest
|
|
682
|
-
* @param {*} [options] Override http request option.
|
|
683
|
-
* @throws {RequiredError}
|
|
684
|
-
*/
|
|
685
|
-
apiV1SetupConfigurePost: (setupRequest: SetupRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
686
|
-
/**
|
|
687
|
-
*
|
|
688
|
-
* @summary Get setup mode status
|
|
689
|
-
* @param {*} [options] Override http request option.
|
|
690
|
-
* @throws {RequiredError}
|
|
691
|
-
*/
|
|
692
|
-
apiV1SetupStatusGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
693
655
|
/**
|
|
694
656
|
*
|
|
695
657
|
* @summary Get sub-agent run status and result
|
|
@@ -784,13 +746,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
784
746
|
* @throws {RequiredError}
|
|
785
747
|
*/
|
|
786
748
|
apiAdminV1ConfigPost(config: Config, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
787
|
-
/**
|
|
788
|
-
*
|
|
789
|
-
* @summary Reset configuration (removes config.yaml)
|
|
790
|
-
* @param {*} [options] Override http request option.
|
|
791
|
-
* @throws {RequiredError}
|
|
792
|
-
*/
|
|
793
|
-
apiAdminV1ConfigResetPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiV1SetupConfigurePost200Response>>;
|
|
794
749
|
/**
|
|
795
750
|
*
|
|
796
751
|
* @summary Check health of the admin API
|
|
@@ -996,21 +951,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
996
951
|
* @throws {RequiredError}
|
|
997
952
|
*/
|
|
998
953
|
apiV1PromptStreamGet(prompt: string, model?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
999
|
-
/**
|
|
1000
|
-
*
|
|
1001
|
-
* @summary Initial configuration
|
|
1002
|
-
* @param {SetupRequest} setupRequest
|
|
1003
|
-
* @param {*} [options] Override http request option.
|
|
1004
|
-
* @throws {RequiredError}
|
|
1005
|
-
*/
|
|
1006
|
-
apiV1SetupConfigurePost(setupRequest: SetupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiV1SetupConfigurePost200Response>>;
|
|
1007
|
-
/**
|
|
1008
|
-
*
|
|
1009
|
-
* @summary Get setup mode status
|
|
1010
|
-
* @param {*} [options] Override http request option.
|
|
1011
|
-
* @throws {RequiredError}
|
|
1012
|
-
*/
|
|
1013
|
-
apiV1SetupStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupStatus>>;
|
|
1014
954
|
/**
|
|
1015
955
|
*
|
|
1016
956
|
* @summary Get sub-agent run status and result
|
|
@@ -1105,13 +1045,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1105
1045
|
* @throws {RequiredError}
|
|
1106
1046
|
*/
|
|
1107
1047
|
apiAdminV1ConfigPost(config: Config, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1108
|
-
/**
|
|
1109
|
-
*
|
|
1110
|
-
* @summary Reset configuration (removes config.yaml)
|
|
1111
|
-
* @param {*} [options] Override http request option.
|
|
1112
|
-
* @throws {RequiredError}
|
|
1113
|
-
*/
|
|
1114
|
-
apiAdminV1ConfigResetPost(options?: RawAxiosRequestConfig): AxiosPromise<ApiV1SetupConfigurePost200Response>;
|
|
1115
1048
|
/**
|
|
1116
1049
|
*
|
|
1117
1050
|
* @summary Check health of the admin API
|
|
@@ -1317,21 +1250,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1317
1250
|
* @throws {RequiredError}
|
|
1318
1251
|
*/
|
|
1319
1252
|
apiV1PromptStreamGet(prompt: string, model?: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
1320
|
-
/**
|
|
1321
|
-
*
|
|
1322
|
-
* @summary Initial configuration
|
|
1323
|
-
* @param {SetupRequest} setupRequest
|
|
1324
|
-
* @param {*} [options] Override http request option.
|
|
1325
|
-
* @throws {RequiredError}
|
|
1326
|
-
*/
|
|
1327
|
-
apiV1SetupConfigurePost(setupRequest: SetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApiV1SetupConfigurePost200Response>;
|
|
1328
|
-
/**
|
|
1329
|
-
*
|
|
1330
|
-
* @summary Get setup mode status
|
|
1331
|
-
* @param {*} [options] Override http request option.
|
|
1332
|
-
* @throws {RequiredError}
|
|
1333
|
-
*/
|
|
1334
|
-
apiV1SetupStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<SetupStatus>;
|
|
1335
1253
|
/**
|
|
1336
1254
|
*
|
|
1337
1255
|
* @summary Get sub-agent run status and result
|
|
@@ -1426,13 +1344,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1426
1344
|
* @throws {RequiredError}
|
|
1427
1345
|
*/
|
|
1428
1346
|
apiAdminV1ConfigPost(config: Config, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1429
|
-
/**
|
|
1430
|
-
*
|
|
1431
|
-
* @summary Reset configuration (removes config.yaml)
|
|
1432
|
-
* @param {*} [options] Override http request option.
|
|
1433
|
-
* @throws {RequiredError}
|
|
1434
|
-
*/
|
|
1435
|
-
apiAdminV1ConfigResetPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiV1SetupConfigurePost200Response, any, {}>>;
|
|
1436
1347
|
/**
|
|
1437
1348
|
*
|
|
1438
1349
|
* @summary Check health of the admin API
|
|
@@ -1638,21 +1549,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1638
1549
|
* @throws {RequiredError}
|
|
1639
1550
|
*/
|
|
1640
1551
|
apiV1PromptStreamGet(prompt: string, model?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
1641
|
-
/**
|
|
1642
|
-
*
|
|
1643
|
-
* @summary Initial configuration
|
|
1644
|
-
* @param {SetupRequest} setupRequest
|
|
1645
|
-
* @param {*} [options] Override http request option.
|
|
1646
|
-
* @throws {RequiredError}
|
|
1647
|
-
*/
|
|
1648
|
-
apiV1SetupConfigurePost(setupRequest: SetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiV1SetupConfigurePost200Response, any, {}>>;
|
|
1649
|
-
/**
|
|
1650
|
-
*
|
|
1651
|
-
* @summary Get setup mode status
|
|
1652
|
-
* @param {*} [options] Override http request option.
|
|
1653
|
-
* @throws {RequiredError}
|
|
1654
|
-
*/
|
|
1655
|
-
apiV1SetupStatusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetupStatus, any, {}>>;
|
|
1656
1552
|
/**
|
|
1657
1553
|
*
|
|
1658
1554
|
* @summary Get sub-agent run status and result
|
package/dist/generated/api.js
CHANGED
|
@@ -258,35 +258,6 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
258
258
|
options: localVarRequestOptions,
|
|
259
259
|
};
|
|
260
260
|
},
|
|
261
|
-
/**
|
|
262
|
-
*
|
|
263
|
-
* @summary Reset configuration (removes config.yaml)
|
|
264
|
-
* @param {*} [options] Override http request option.
|
|
265
|
-
* @throws {RequiredError}
|
|
266
|
-
*/
|
|
267
|
-
apiAdminV1ConfigResetPost: async (options = {}) => {
|
|
268
|
-
const localVarPath = `/api/admin/v1/config/reset`;
|
|
269
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
270
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
271
|
-
let baseOptions;
|
|
272
|
-
if (configuration) {
|
|
273
|
-
baseOptions = configuration.baseOptions;
|
|
274
|
-
}
|
|
275
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
276
|
-
const localVarHeaderParameter = {};
|
|
277
|
-
const localVarQueryParameter = {};
|
|
278
|
-
// authentication BasicAuth required
|
|
279
|
-
// http basic authentication required
|
|
280
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
281
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
282
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
283
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
284
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
285
|
-
return {
|
|
286
|
-
url: toPathString(localVarUrlObj),
|
|
287
|
-
options: localVarRequestOptions,
|
|
288
|
-
};
|
|
289
|
-
},
|
|
290
261
|
/**
|
|
291
262
|
*
|
|
292
263
|
* @summary Check health of the admin API
|
|
@@ -1130,63 +1101,6 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1130
1101
|
options: localVarRequestOptions,
|
|
1131
1102
|
};
|
|
1132
1103
|
},
|
|
1133
|
-
/**
|
|
1134
|
-
*
|
|
1135
|
-
* @summary Initial configuration
|
|
1136
|
-
* @param {SetupRequest} setupRequest
|
|
1137
|
-
* @param {*} [options] Override http request option.
|
|
1138
|
-
* @throws {RequiredError}
|
|
1139
|
-
*/
|
|
1140
|
-
apiV1SetupConfigurePost: async (setupRequest, options = {}) => {
|
|
1141
|
-
// verify required parameter 'setupRequest' is not null or undefined
|
|
1142
|
-
assertParamExists('apiV1SetupConfigurePost', 'setupRequest', setupRequest);
|
|
1143
|
-
const localVarPath = `/api/v1/setup/configure`;
|
|
1144
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1145
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1146
|
-
let baseOptions;
|
|
1147
|
-
if (configuration) {
|
|
1148
|
-
baseOptions = configuration.baseOptions;
|
|
1149
|
-
}
|
|
1150
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1151
|
-
const localVarHeaderParameter = {};
|
|
1152
|
-
const localVarQueryParameter = {};
|
|
1153
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1154
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1155
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1156
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1157
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1158
|
-
localVarRequestOptions.data = serializeDataIfNeeded(setupRequest, localVarRequestOptions, configuration);
|
|
1159
|
-
return {
|
|
1160
|
-
url: toPathString(localVarUrlObj),
|
|
1161
|
-
options: localVarRequestOptions,
|
|
1162
|
-
};
|
|
1163
|
-
},
|
|
1164
|
-
/**
|
|
1165
|
-
*
|
|
1166
|
-
* @summary Get setup mode status
|
|
1167
|
-
* @param {*} [options] Override http request option.
|
|
1168
|
-
* @throws {RequiredError}
|
|
1169
|
-
*/
|
|
1170
|
-
apiV1SetupStatusGet: async (options = {}) => {
|
|
1171
|
-
const localVarPath = `/api/v1/setup/status`;
|
|
1172
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1173
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1174
|
-
let baseOptions;
|
|
1175
|
-
if (configuration) {
|
|
1176
|
-
baseOptions = configuration.baseOptions;
|
|
1177
|
-
}
|
|
1178
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1179
|
-
const localVarHeaderParameter = {};
|
|
1180
|
-
const localVarQueryParameter = {};
|
|
1181
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1182
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1183
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1184
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1185
|
-
return {
|
|
1186
|
-
url: toPathString(localVarUrlObj),
|
|
1187
|
-
options: localVarRequestOptions,
|
|
1188
|
-
};
|
|
1189
|
-
},
|
|
1190
1104
|
/**
|
|
1191
1105
|
*
|
|
1192
1106
|
* @summary Get sub-agent run status and result
|
|
@@ -1432,18 +1346,6 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1432
1346
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1ConfigPost']?.[localVarOperationServerIndex]?.url;
|
|
1433
1347
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1434
1348
|
},
|
|
1435
|
-
/**
|
|
1436
|
-
*
|
|
1437
|
-
* @summary Reset configuration (removes config.yaml)
|
|
1438
|
-
* @param {*} [options] Override http request option.
|
|
1439
|
-
* @throws {RequiredError}
|
|
1440
|
-
*/
|
|
1441
|
-
async apiAdminV1ConfigResetPost(options) {
|
|
1442
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1ConfigResetPost(options);
|
|
1443
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1444
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1ConfigResetPost']?.[localVarOperationServerIndex]?.url;
|
|
1445
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1446
|
-
},
|
|
1447
1349
|
/**
|
|
1448
1350
|
*
|
|
1449
1351
|
* @summary Check health of the admin API
|
|
@@ -1774,31 +1676,6 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1774
1676
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1PromptStreamGet']?.[localVarOperationServerIndex]?.url;
|
|
1775
1677
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1776
1678
|
},
|
|
1777
|
-
/**
|
|
1778
|
-
*
|
|
1779
|
-
* @summary Initial configuration
|
|
1780
|
-
* @param {SetupRequest} setupRequest
|
|
1781
|
-
* @param {*} [options] Override http request option.
|
|
1782
|
-
* @throws {RequiredError}
|
|
1783
|
-
*/
|
|
1784
|
-
async apiV1SetupConfigurePost(setupRequest, options) {
|
|
1785
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SetupConfigurePost(setupRequest, options);
|
|
1786
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1787
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1SetupConfigurePost']?.[localVarOperationServerIndex]?.url;
|
|
1788
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1789
|
-
},
|
|
1790
|
-
/**
|
|
1791
|
-
*
|
|
1792
|
-
* @summary Get setup mode status
|
|
1793
|
-
* @param {*} [options] Override http request option.
|
|
1794
|
-
* @throws {RequiredError}
|
|
1795
|
-
*/
|
|
1796
|
-
async apiV1SetupStatusGet(options) {
|
|
1797
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SetupStatusGet(options);
|
|
1798
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1799
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1SetupStatusGet']?.[localVarOperationServerIndex]?.url;
|
|
1800
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1801
|
-
},
|
|
1802
1679
|
/**
|
|
1803
1680
|
*
|
|
1804
1681
|
* @summary Get sub-agent run status and result
|
|
@@ -1933,15 +1810,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1933
1810
|
apiAdminV1ConfigPost(config, options) {
|
|
1934
1811
|
return localVarFp.apiAdminV1ConfigPost(config, options).then((request) => request(axios, basePath));
|
|
1935
1812
|
},
|
|
1936
|
-
/**
|
|
1937
|
-
*
|
|
1938
|
-
* @summary Reset configuration (removes config.yaml)
|
|
1939
|
-
* @param {*} [options] Override http request option.
|
|
1940
|
-
* @throws {RequiredError}
|
|
1941
|
-
*/
|
|
1942
|
-
apiAdminV1ConfigResetPost(options) {
|
|
1943
|
-
return localVarFp.apiAdminV1ConfigResetPost(options).then((request) => request(axios, basePath));
|
|
1944
|
-
},
|
|
1945
1813
|
/**
|
|
1946
1814
|
*
|
|
1947
1815
|
* @summary Check health of the admin API
|
|
@@ -2197,25 +2065,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2197
2065
|
apiV1PromptStreamGet(prompt, model, options) {
|
|
2198
2066
|
return localVarFp.apiV1PromptStreamGet(prompt, model, options).then((request) => request(axios, basePath));
|
|
2199
2067
|
},
|
|
2200
|
-
/**
|
|
2201
|
-
*
|
|
2202
|
-
* @summary Initial configuration
|
|
2203
|
-
* @param {SetupRequest} setupRequest
|
|
2204
|
-
* @param {*} [options] Override http request option.
|
|
2205
|
-
* @throws {RequiredError}
|
|
2206
|
-
*/
|
|
2207
|
-
apiV1SetupConfigurePost(setupRequest, options) {
|
|
2208
|
-
return localVarFp.apiV1SetupConfigurePost(setupRequest, options).then((request) => request(axios, basePath));
|
|
2209
|
-
},
|
|
2210
|
-
/**
|
|
2211
|
-
*
|
|
2212
|
-
* @summary Get setup mode status
|
|
2213
|
-
* @param {*} [options] Override http request option.
|
|
2214
|
-
* @throws {RequiredError}
|
|
2215
|
-
*/
|
|
2216
|
-
apiV1SetupStatusGet(options) {
|
|
2217
|
-
return localVarFp.apiV1SetupStatusGet(options).then((request) => request(axios, basePath));
|
|
2218
|
-
},
|
|
2219
2068
|
/**
|
|
2220
2069
|
*
|
|
2221
2070
|
* @summary Get sub-agent run status and result
|
|
@@ -2333,15 +2182,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
2333
2182
|
apiAdminV1ConfigPost(config, options) {
|
|
2334
2183
|
return DefaultApiFp(this.configuration).apiAdminV1ConfigPost(config, options).then((request) => request(this.axios, this.basePath));
|
|
2335
2184
|
}
|
|
2336
|
-
/**
|
|
2337
|
-
*
|
|
2338
|
-
* @summary Reset configuration (removes config.yaml)
|
|
2339
|
-
* @param {*} [options] Override http request option.
|
|
2340
|
-
* @throws {RequiredError}
|
|
2341
|
-
*/
|
|
2342
|
-
apiAdminV1ConfigResetPost(options) {
|
|
2343
|
-
return DefaultApiFp(this.configuration).apiAdminV1ConfigResetPost(options).then((request) => request(this.axios, this.basePath));
|
|
2344
|
-
}
|
|
2345
2185
|
/**
|
|
2346
2186
|
*
|
|
2347
2187
|
* @summary Check health of the admin API
|
|
@@ -2597,25 +2437,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
2597
2437
|
apiV1PromptStreamGet(prompt, model, options) {
|
|
2598
2438
|
return DefaultApiFp(this.configuration).apiV1PromptStreamGet(prompt, model, options).then((request) => request(this.axios, this.basePath));
|
|
2599
2439
|
}
|
|
2600
|
-
/**
|
|
2601
|
-
*
|
|
2602
|
-
* @summary Initial configuration
|
|
2603
|
-
* @param {SetupRequest} setupRequest
|
|
2604
|
-
* @param {*} [options] Override http request option.
|
|
2605
|
-
* @throws {RequiredError}
|
|
2606
|
-
*/
|
|
2607
|
-
apiV1SetupConfigurePost(setupRequest, options) {
|
|
2608
|
-
return DefaultApiFp(this.configuration).apiV1SetupConfigurePost(setupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2609
|
-
}
|
|
2610
|
-
/**
|
|
2611
|
-
*
|
|
2612
|
-
* @summary Get setup mode status
|
|
2613
|
-
* @param {*} [options] Override http request option.
|
|
2614
|
-
* @throws {RequiredError}
|
|
2615
|
-
*/
|
|
2616
|
-
apiV1SetupStatusGet(options) {
|
|
2617
|
-
return DefaultApiFp(this.configuration).apiV1SetupStatusGet(options).then((request) => request(this.axios, this.basePath));
|
|
2618
|
-
}
|
|
2619
2440
|
/**
|
|
2620
2441
|
*
|
|
2621
2442
|
* @summary Get sub-agent run status and result
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./miri-sdk";
|
|
1
|
+
export * from "./miri-sdk.js";
|
|
2
2
|
export * from "./generated";
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./miri-sdk";
|
|
1
|
+
export * from "./miri-sdk.js";
|
|
2
2
|
export * from "./generated";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexrockshouts/miri-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "TypeScript SDK for Miri Autonomous Agent",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -27,5 +27,6 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"typescript": "^5.0.0"
|
|
30
|
-
}
|
|
30
|
+
},
|
|
31
|
+
"type": "module"
|
|
31
32
|
}
|