@crestal/nation-sdk 0.7.0 → 0.7.2
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/README.md +2 -2
- package/api.ts +11 -71
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +11 -71
- package/dist/api.js +5 -5
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgentApi.md +1 -1
- package/docs/AgentResponse.md +6 -26
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @crestal/nation-sdk@0.7.
|
|
1
|
+
## @crestal/nation-sdk@0.7.2
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @crestal/nation-sdk@0.7.
|
|
39
|
+
npm install @crestal/nation-sdk@0.7.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Nation IntentKit API
|
|
5
5
|
* API for Nation IntentKit services
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.7.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -992,7 +992,7 @@ export interface AgentListResponse {
|
|
|
992
992
|
'next_cursor'?: string | null;
|
|
993
993
|
}
|
|
994
994
|
/**
|
|
995
|
-
*
|
|
995
|
+
* Agent response model that excludes sensitive fields from JSON output and schema.
|
|
996
996
|
* @export
|
|
997
997
|
* @interface AgentResponse
|
|
998
998
|
*/
|
|
@@ -1057,54 +1057,12 @@ export interface AgentResponse {
|
|
|
1057
1057
|
* @memberof AgentResponse
|
|
1058
1058
|
*/
|
|
1059
1059
|
'picture'?: string | null;
|
|
1060
|
-
/**
|
|
1061
|
-
*
|
|
1062
|
-
* @type {string}
|
|
1063
|
-
* @memberof AgentResponse
|
|
1064
|
-
*/
|
|
1065
|
-
'purpose'?: string | null;
|
|
1066
|
-
/**
|
|
1067
|
-
*
|
|
1068
|
-
* @type {string}
|
|
1069
|
-
* @memberof AgentResponse
|
|
1070
|
-
*/
|
|
1071
|
-
'personality'?: string | null;
|
|
1072
|
-
/**
|
|
1073
|
-
*
|
|
1074
|
-
* @type {string}
|
|
1075
|
-
* @memberof AgentResponse
|
|
1076
|
-
*/
|
|
1077
|
-
'principles'?: string | null;
|
|
1078
1060
|
/**
|
|
1079
1061
|
* AI model identifier to be used by this agent for processing requests.
|
|
1080
1062
|
* @type {string}
|
|
1081
1063
|
* @memberof AgentResponse
|
|
1082
1064
|
*/
|
|
1083
1065
|
'model'?: string;
|
|
1084
|
-
/**
|
|
1085
|
-
*
|
|
1086
|
-
* @type {string}
|
|
1087
|
-
* @memberof AgentResponse
|
|
1088
|
-
*/
|
|
1089
|
-
'prompt'?: string | null;
|
|
1090
|
-
/**
|
|
1091
|
-
*
|
|
1092
|
-
* @type {string}
|
|
1093
|
-
* @memberof AgentResponse
|
|
1094
|
-
*/
|
|
1095
|
-
'prompt_append'?: string | null;
|
|
1096
|
-
/**
|
|
1097
|
-
*
|
|
1098
|
-
* @type {number}
|
|
1099
|
-
* @memberof AgentResponse
|
|
1100
|
-
*/
|
|
1101
|
-
'temperature'?: number | null;
|
|
1102
|
-
/**
|
|
1103
|
-
*
|
|
1104
|
-
* @type {number}
|
|
1105
|
-
* @memberof AgentResponse
|
|
1106
|
-
*/
|
|
1107
|
-
'frequency_penalty'?: number | null;
|
|
1108
1066
|
/**
|
|
1109
1067
|
*
|
|
1110
1068
|
* @type {number}
|
|
@@ -1153,24 +1111,6 @@ export interface AgentResponse {
|
|
|
1153
1111
|
* @memberof AgentResponse
|
|
1154
1112
|
*/
|
|
1155
1113
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
1156
|
-
/**
|
|
1157
|
-
*
|
|
1158
|
-
* @type {string}
|
|
1159
|
-
* @memberof AgentResponse
|
|
1160
|
-
*/
|
|
1161
|
-
'telegram_entrypoint_prompt'?: string | null;
|
|
1162
|
-
/**
|
|
1163
|
-
*
|
|
1164
|
-
* @type {object}
|
|
1165
|
-
* @memberof AgentResponse
|
|
1166
|
-
*/
|
|
1167
|
-
'telegram_config'?: object | null;
|
|
1168
|
-
/**
|
|
1169
|
-
*
|
|
1170
|
-
* @type {string}
|
|
1171
|
-
* @memberof AgentResponse
|
|
1172
|
-
*/
|
|
1173
|
-
'xmtp_entrypoint_prompt'?: string | null;
|
|
1174
1114
|
/**
|
|
1175
1115
|
*
|
|
1176
1116
|
* @type {string}
|
|
@@ -1262,7 +1202,7 @@ export interface AgentResponse {
|
|
|
1262
1202
|
*/
|
|
1263
1203
|
'solana_wallet_address'?: string | null;
|
|
1264
1204
|
/**
|
|
1265
|
-
* Whether the agent has
|
|
1205
|
+
* Whether the agent has Twitter linked
|
|
1266
1206
|
* @type {boolean}
|
|
1267
1207
|
* @memberof AgentResponse
|
|
1268
1208
|
*/
|
|
@@ -1280,13 +1220,13 @@ export interface AgentResponse {
|
|
|
1280
1220
|
*/
|
|
1281
1221
|
'linked_twitter_name'?: string | null;
|
|
1282
1222
|
/**
|
|
1283
|
-
* Whether the agent has self
|
|
1223
|
+
* Whether the agent has Twitter self key
|
|
1284
1224
|
* @type {boolean}
|
|
1285
1225
|
* @memberof AgentResponse
|
|
1286
1226
|
*/
|
|
1287
1227
|
'has_twitter_self_key'?: boolean;
|
|
1288
1228
|
/**
|
|
1289
|
-
* Whether the agent has self
|
|
1229
|
+
* Whether the agent has Telegram self key
|
|
1290
1230
|
* @type {boolean}
|
|
1291
1231
|
* @memberof AgentResponse
|
|
1292
1232
|
*/
|
|
@@ -1304,13 +1244,13 @@ export interface AgentResponse {
|
|
|
1304
1244
|
*/
|
|
1305
1245
|
'linked_telegram_name'?: string | null;
|
|
1306
1246
|
/**
|
|
1307
|
-
* Whether the agent accepts image
|
|
1247
|
+
* Whether the agent accepts image input
|
|
1308
1248
|
* @type {boolean}
|
|
1309
1249
|
* @memberof AgentResponse
|
|
1310
1250
|
*/
|
|
1311
1251
|
'accept_image_input'?: boolean;
|
|
1312
1252
|
/**
|
|
1313
|
-
* Whether the agent accepts image
|
|
1253
|
+
* Whether the agent accepts image input in private mode
|
|
1314
1254
|
* @type {boolean}
|
|
1315
1255
|
* @memberof AgentResponse
|
|
1316
1256
|
*/
|
|
@@ -3932,7 +3872,7 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3932
3872
|
};
|
|
3933
3873
|
},
|
|
3934
3874
|
/**
|
|
3935
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
3875
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
3936
3876
|
* @summary Override Agent
|
|
3937
3877
|
* @param {string} agentId ID of the agent to update
|
|
3938
3878
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -4224,7 +4164,7 @@ export const AgentApiFp = function(configuration?: Configuration) {
|
|
|
4224
4164
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4225
4165
|
},
|
|
4226
4166
|
/**
|
|
4227
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
4167
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
4228
4168
|
* @summary Override Agent
|
|
4229
4169
|
* @param {string} agentId ID of the agent to update
|
|
4230
4170
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -4383,7 +4323,7 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
|
|
|
4383
4323
|
return localVarFp.importAgent(agentId, file, options).then((request) => request(axios, basePath));
|
|
4384
4324
|
},
|
|
4385
4325
|
/**
|
|
4386
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
4326
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
4387
4327
|
* @summary Override Agent
|
|
4388
4328
|
* @param {string} agentId ID of the agent to update
|
|
4389
4329
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -4548,7 +4488,7 @@ export class AgentApi extends BaseAPI {
|
|
|
4548
4488
|
}
|
|
4549
4489
|
|
|
4550
4490
|
/**
|
|
4551
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
4491
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
4552
4492
|
* @summary Override Agent
|
|
4553
4493
|
* @param {string} agentId ID of the agent to update
|
|
4554
4494
|
* @param {AgentUpdate} [agentUpdate]
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Nation IntentKit API
|
|
3
3
|
* API for Nation IntentKit services
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.7.
|
|
5
|
+
* The version of the OpenAPI document: 0.7.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -969,7 +969,7 @@ export interface AgentListResponse {
|
|
|
969
969
|
'next_cursor'?: string | null;
|
|
970
970
|
}
|
|
971
971
|
/**
|
|
972
|
-
*
|
|
972
|
+
* Agent response model that excludes sensitive fields from JSON output and schema.
|
|
973
973
|
* @export
|
|
974
974
|
* @interface AgentResponse
|
|
975
975
|
*/
|
|
@@ -1034,54 +1034,12 @@ export interface AgentResponse {
|
|
|
1034
1034
|
* @memberof AgentResponse
|
|
1035
1035
|
*/
|
|
1036
1036
|
'picture'?: string | null;
|
|
1037
|
-
/**
|
|
1038
|
-
*
|
|
1039
|
-
* @type {string}
|
|
1040
|
-
* @memberof AgentResponse
|
|
1041
|
-
*/
|
|
1042
|
-
'purpose'?: string | null;
|
|
1043
|
-
/**
|
|
1044
|
-
*
|
|
1045
|
-
* @type {string}
|
|
1046
|
-
* @memberof AgentResponse
|
|
1047
|
-
*/
|
|
1048
|
-
'personality'?: string | null;
|
|
1049
|
-
/**
|
|
1050
|
-
*
|
|
1051
|
-
* @type {string}
|
|
1052
|
-
* @memberof AgentResponse
|
|
1053
|
-
*/
|
|
1054
|
-
'principles'?: string | null;
|
|
1055
1037
|
/**
|
|
1056
1038
|
* AI model identifier to be used by this agent for processing requests.
|
|
1057
1039
|
* @type {string}
|
|
1058
1040
|
* @memberof AgentResponse
|
|
1059
1041
|
*/
|
|
1060
1042
|
'model'?: string;
|
|
1061
|
-
/**
|
|
1062
|
-
*
|
|
1063
|
-
* @type {string}
|
|
1064
|
-
* @memberof AgentResponse
|
|
1065
|
-
*/
|
|
1066
|
-
'prompt'?: string | null;
|
|
1067
|
-
/**
|
|
1068
|
-
*
|
|
1069
|
-
* @type {string}
|
|
1070
|
-
* @memberof AgentResponse
|
|
1071
|
-
*/
|
|
1072
|
-
'prompt_append'?: string | null;
|
|
1073
|
-
/**
|
|
1074
|
-
*
|
|
1075
|
-
* @type {number}
|
|
1076
|
-
* @memberof AgentResponse
|
|
1077
|
-
*/
|
|
1078
|
-
'temperature'?: number | null;
|
|
1079
|
-
/**
|
|
1080
|
-
*
|
|
1081
|
-
* @type {number}
|
|
1082
|
-
* @memberof AgentResponse
|
|
1083
|
-
*/
|
|
1084
|
-
'frequency_penalty'?: number | null;
|
|
1085
1043
|
/**
|
|
1086
1044
|
*
|
|
1087
1045
|
* @type {number}
|
|
@@ -1130,24 +1088,6 @@ export interface AgentResponse {
|
|
|
1130
1088
|
* @memberof AgentResponse
|
|
1131
1089
|
*/
|
|
1132
1090
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
1133
|
-
/**
|
|
1134
|
-
*
|
|
1135
|
-
* @type {string}
|
|
1136
|
-
* @memberof AgentResponse
|
|
1137
|
-
*/
|
|
1138
|
-
'telegram_entrypoint_prompt'?: string | null;
|
|
1139
|
-
/**
|
|
1140
|
-
*
|
|
1141
|
-
* @type {object}
|
|
1142
|
-
* @memberof AgentResponse
|
|
1143
|
-
*/
|
|
1144
|
-
'telegram_config'?: object | null;
|
|
1145
|
-
/**
|
|
1146
|
-
*
|
|
1147
|
-
* @type {string}
|
|
1148
|
-
* @memberof AgentResponse
|
|
1149
|
-
*/
|
|
1150
|
-
'xmtp_entrypoint_prompt'?: string | null;
|
|
1151
1091
|
/**
|
|
1152
1092
|
*
|
|
1153
1093
|
* @type {string}
|
|
@@ -1239,7 +1179,7 @@ export interface AgentResponse {
|
|
|
1239
1179
|
*/
|
|
1240
1180
|
'solana_wallet_address'?: string | null;
|
|
1241
1181
|
/**
|
|
1242
|
-
* Whether the agent has
|
|
1182
|
+
* Whether the agent has Twitter linked
|
|
1243
1183
|
* @type {boolean}
|
|
1244
1184
|
* @memberof AgentResponse
|
|
1245
1185
|
*/
|
|
@@ -1257,13 +1197,13 @@ export interface AgentResponse {
|
|
|
1257
1197
|
*/
|
|
1258
1198
|
'linked_twitter_name'?: string | null;
|
|
1259
1199
|
/**
|
|
1260
|
-
* Whether the agent has self
|
|
1200
|
+
* Whether the agent has Twitter self key
|
|
1261
1201
|
* @type {boolean}
|
|
1262
1202
|
* @memberof AgentResponse
|
|
1263
1203
|
*/
|
|
1264
1204
|
'has_twitter_self_key'?: boolean;
|
|
1265
1205
|
/**
|
|
1266
|
-
* Whether the agent has self
|
|
1206
|
+
* Whether the agent has Telegram self key
|
|
1267
1207
|
* @type {boolean}
|
|
1268
1208
|
* @memberof AgentResponse
|
|
1269
1209
|
*/
|
|
@@ -1281,13 +1221,13 @@ export interface AgentResponse {
|
|
|
1281
1221
|
*/
|
|
1282
1222
|
'linked_telegram_name'?: string | null;
|
|
1283
1223
|
/**
|
|
1284
|
-
* Whether the agent accepts image
|
|
1224
|
+
* Whether the agent accepts image input
|
|
1285
1225
|
* @type {boolean}
|
|
1286
1226
|
* @memberof AgentResponse
|
|
1287
1227
|
*/
|
|
1288
1228
|
'accept_image_input'?: boolean;
|
|
1289
1229
|
/**
|
|
1290
|
-
* Whether the agent accepts image
|
|
1230
|
+
* Whether the agent accepts image input in private mode
|
|
1291
1231
|
* @type {boolean}
|
|
1292
1232
|
* @memberof AgentResponse
|
|
1293
1233
|
*/
|
|
@@ -3549,7 +3489,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3549
3489
|
*/
|
|
3550
3490
|
importAgent: (agentId: string, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3551
3491
|
/**
|
|
3552
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
3492
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
3553
3493
|
* @summary Override Agent
|
|
3554
3494
|
* @param {string} agentId ID of the agent to update
|
|
3555
3495
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -3666,7 +3606,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
3666
3606
|
*/
|
|
3667
3607
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
3668
3608
|
/**
|
|
3669
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
3609
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
3670
3610
|
* @summary Override Agent
|
|
3671
3611
|
* @param {string} agentId ID of the agent to update
|
|
3672
3612
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -3783,7 +3723,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3783
3723
|
*/
|
|
3784
3724
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
3785
3725
|
/**
|
|
3786
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
3726
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
3787
3727
|
* @summary Override Agent
|
|
3788
3728
|
* @param {string} agentId ID of the agent to update
|
|
3789
3729
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -3911,7 +3851,7 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3911
3851
|
*/
|
|
3912
3852
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
3913
3853
|
/**
|
|
3914
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
3854
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
3915
3855
|
* @summary Override Agent
|
|
3916
3856
|
* @param {string} agentId ID of the agent to update
|
|
3917
3857
|
* @param {AgentUpdate} [agentUpdate]
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -789,7 +789,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
|
|
|
789
789
|
});
|
|
790
790
|
},
|
|
791
791
|
/**
|
|
792
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
792
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
793
793
|
* @summary Override Agent
|
|
794
794
|
* @param {string} agentId ID of the agent to update
|
|
795
795
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -1204,7 +1204,7 @@ var AgentApiFp = function (configuration) {
|
|
|
1204
1204
|
});
|
|
1205
1205
|
},
|
|
1206
1206
|
/**
|
|
1207
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
1207
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
1208
1208
|
* @summary Override Agent
|
|
1209
1209
|
* @param {string} agentId ID of the agent to update
|
|
1210
1210
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -1403,7 +1403,7 @@ var AgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1403
1403
|
return localVarFp.importAgent(agentId, file, options).then(function (request) { return request(axios, basePath); });
|
|
1404
1404
|
},
|
|
1405
1405
|
/**
|
|
1406
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
1406
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
1407
1407
|
* @summary Override Agent
|
|
1408
1408
|
* @param {string} agentId ID of the agent to update
|
|
1409
1409
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -1572,7 +1572,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1572
1572
|
return (0, exports.AgentApiFp)(this.configuration).importAgent(agentId, file, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1573
1573
|
};
|
|
1574
1574
|
/**
|
|
1575
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
1575
|
+
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
1576
1576
|
* @summary Override Agent
|
|
1577
1577
|
* @param {string} agentId ID of the agent to update
|
|
1578
1578
|
* @param {AgentUpdate} [agentUpdate]
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/docs/AgentApi.md
CHANGED
|
@@ -511,7 +511,7 @@ const { status, data } = await apiInstance.importAgent(
|
|
|
511
511
|
# **overrideAgent**
|
|
512
512
|
> AgentResponse overrideAgent()
|
|
513
513
|
|
|
514
|
-
Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `
|
|
514
|
+
Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
515
515
|
|
|
516
516
|
### Example
|
|
517
517
|
|
package/docs/AgentResponse.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AgentResponse
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Agent response model that excludes sensitive fields from JSON output and schema.
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
@@ -16,14 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**examples** | [**Array<AgentExample>**](AgentExample.md) | | [optional] [default to undefined]
|
|
17
17
|
**name** | **string** | | [default to undefined]
|
|
18
18
|
**picture** | **string** | | [optional] [default to undefined]
|
|
19
|
-
**purpose** | **string** | | [optional] [default to undefined]
|
|
20
|
-
**personality** | **string** | | [optional] [default to undefined]
|
|
21
|
-
**principles** | **string** | | [optional] [default to undefined]
|
|
22
19
|
**model** | **string** | AI model identifier to be used by this agent for processing requests. | [optional] [default to 'gpt-5-mini']
|
|
23
|
-
**prompt** | **string** | | [optional] [default to undefined]
|
|
24
|
-
**prompt_append** | **string** | | [optional] [default to undefined]
|
|
25
|
-
**temperature** | **number** | | [optional] [default to undefined]
|
|
26
|
-
**frequency_penalty** | **number** | | [optional] [default to undefined]
|
|
27
20
|
**presence_penalty** | **number** | | [optional] [default to undefined]
|
|
28
21
|
**wallet_provider** | **string** | | [optional] [default to undefined]
|
|
29
22
|
**readonly_wallet_address** | **string** | | [optional] [default to undefined]
|
|
@@ -32,9 +25,6 @@ Name | Type | Description | Notes
|
|
|
32
25
|
**short_term_memory_strategy** | **string** | | [optional] [default to undefined]
|
|
33
26
|
**autonomous** | [**Array<AgentAutonomous>**](AgentAutonomous.md) | | [optional] [default to undefined]
|
|
34
27
|
**telegram_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
|
|
35
|
-
**telegram_entrypoint_prompt** | **string** | | [optional] [default to undefined]
|
|
36
|
-
**telegram_config** | **object** | | [optional] [default to undefined]
|
|
37
|
-
**xmtp_entrypoint_prompt** | **string** | | [optional] [default to undefined]
|
|
38
28
|
**upstream_id** | **string** | | [optional] [default to undefined]
|
|
39
29
|
**upstream_extra** | **object** | | [optional] [default to undefined]
|
|
40
30
|
**id** | **string** | Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens | [optional] [default to undefined]
|
|
@@ -50,15 +40,15 @@ Name | Type | Description | Notes
|
|
|
50
40
|
**cdp_wallet_address** | **string** | | [optional] [default to undefined]
|
|
51
41
|
**evm_wallet_address** | **string** | | [optional] [default to undefined]
|
|
52
42
|
**solana_wallet_address** | **string** | | [optional] [default to undefined]
|
|
53
|
-
**has_twitter_linked** | **boolean** | Whether the agent has
|
|
43
|
+
**has_twitter_linked** | **boolean** | Whether the agent has Twitter linked | [optional] [default to false]
|
|
54
44
|
**linked_twitter_username** | **string** | | [optional] [default to undefined]
|
|
55
45
|
**linked_twitter_name** | **string** | | [optional] [default to undefined]
|
|
56
|
-
**has_twitter_self_key** | **boolean** | Whether the agent has self
|
|
57
|
-
**has_telegram_self_key** | **boolean** | Whether the agent has self
|
|
46
|
+
**has_twitter_self_key** | **boolean** | Whether the agent has Twitter self key | [optional] [default to false]
|
|
47
|
+
**has_telegram_self_key** | **boolean** | Whether the agent has Telegram self key | [optional] [default to false]
|
|
58
48
|
**linked_telegram_username** | **string** | | [optional] [default to undefined]
|
|
59
49
|
**linked_telegram_name** | **string** | | [optional] [default to undefined]
|
|
60
|
-
**accept_image_input** | **boolean** | Whether the agent accepts image
|
|
61
|
-
**accept_image_input_private** | **boolean** | Whether the agent accepts image
|
|
50
|
+
**accept_image_input** | **boolean** | Whether the agent accepts image input | [optional] [default to false]
|
|
51
|
+
**accept_image_input_private** | **boolean** | Whether the agent accepts image input in private mode | [optional] [default to false]
|
|
62
52
|
|
|
63
53
|
## Example
|
|
64
54
|
|
|
@@ -76,14 +66,7 @@ const instance: AgentResponse = {
|
|
|
76
66
|
examples,
|
|
77
67
|
name,
|
|
78
68
|
picture,
|
|
79
|
-
purpose,
|
|
80
|
-
personality,
|
|
81
|
-
principles,
|
|
82
69
|
model,
|
|
83
|
-
prompt,
|
|
84
|
-
prompt_append,
|
|
85
|
-
temperature,
|
|
86
|
-
frequency_penalty,
|
|
87
70
|
presence_penalty,
|
|
88
71
|
wallet_provider,
|
|
89
72
|
readonly_wallet_address,
|
|
@@ -92,9 +75,6 @@ const instance: AgentResponse = {
|
|
|
92
75
|
short_term_memory_strategy,
|
|
93
76
|
autonomous,
|
|
94
77
|
telegram_entrypoint_enabled,
|
|
95
|
-
telegram_entrypoint_prompt,
|
|
96
|
-
telegram_config,
|
|
97
|
-
xmtp_entrypoint_prompt,
|
|
98
78
|
upstream_id,
|
|
99
79
|
upstream_extra,
|
|
100
80
|
id,
|
|
@@ -27,8 +27,8 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**supports_presence_penalty** | **boolean** | | [optional] [default to true]
|
|
28
28
|
**api_base** | **string** | | [optional] [default to undefined]
|
|
29
29
|
**timeout** | **number** | | [optional] [default to 180]
|
|
30
|
-
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-09-
|
|
31
|
-
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-
|
|
30
|
+
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-09-19T03:33:06.518+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-19T03:33:06.518+00:00]
|
|
32
32
|
**provider_name** | **string** | | [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
package/index.ts
CHANGED