@crestal/nation-sdk 0.8.94 → 0.8.98

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/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.8.94
8
+ * The version of the OpenAPI document: 0.8.98
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -84,17 +84,23 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
84
84
  return to.concat(ar || Array.prototype.slice.call(from));
85
85
  };
86
86
  Object.defineProperty(exports, "__esModule", { value: true });
87
- exports.ManagerApiFp = exports.ManagerApiAxiosParamCreator = exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = exports.DraftApi = exports.DraftApiFactory = exports.DraftApiFp = exports.DraftApiAxiosParamCreator = exports.CreditApi = exports.CreditApiFactory = exports.CreditApiFp = exports.CreditApiAxiosParamCreator = exports.ChatApi = exports.ChatApiFactory = exports.ChatApiFp = exports.ChatApiAxiosParamCreator = exports.AgentApi = exports.AgentApiFactory = exports.AgentApiFp = exports.AgentApiAxiosParamCreator = exports.UpstreamType = exports.TransactionType = exports.SystemMessageType = exports.OwnerType = exports.LLMProvider = exports.EventType = exports.Direction = exports.CreditType = exports.CreditDebit = exports.ChatMessageAttachmentType = exports.AuthorType = exports.AgentUserInputShortTermMemoryStrategyEnum = exports.AgentUserInputNetworkIdEnum = exports.AgentUserInputWalletProviderEnum = exports.AgentUpdateShortTermMemoryStrategyEnum = exports.AgentUpdateNetworkIdEnum = exports.AgentUpdateWalletProviderEnum = exports.AgentState = exports.AgentSortOption = exports.AgentResponseShortTermMemoryStrategyEnum = exports.AgentResponseNetworkIdEnum = exports.AgentResponseWalletProviderEnum = exports.AgentDraftShortTermMemoryStrategyEnum = exports.AgentDraftNetworkIdEnum = exports.AgentDraftWalletProviderEnum = exports.AgentShortTermMemoryStrategyEnum = exports.AgentNetworkIdEnum = exports.AgentWalletProviderEnum = void 0;
88
- exports.X402Api = exports.X402ApiFactory = exports.X402ApiFp = exports.X402ApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.OAuthApi = exports.OAuthApiFactory = exports.OAuthApiFp = exports.OAuthApiAxiosParamCreator = exports.MetadataApi = exports.MetadataApiFactory = exports.MetadataApiFp = exports.MetadataApiAxiosParamCreator = exports.ManagerApi = exports.ManagerApiFactory = void 0;
87
+ exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = exports.DraftApi = exports.DraftApiFactory = exports.DraftApiFp = exports.DraftApiAxiosParamCreator = exports.CreditApi = exports.CreditApiFactory = exports.CreditApiFp = exports.CreditApiAxiosParamCreator = exports.ChatApi = exports.ChatApiFactory = exports.ChatApiFp = exports.ChatApiAxiosParamCreator = exports.AgentApi = exports.AgentApiFactory = exports.AgentApiFp = exports.AgentApiAxiosParamCreator = exports.UpstreamType = exports.TransactionType = exports.SystemMessageType = exports.OwnerType = exports.LLMProvider = exports.EventType = exports.Direction = exports.CreditType = exports.CreditDebit = exports.ChatMessageAttachmentType = exports.AuthorType = exports.AgentVisibility = exports.AgentUserInputNetworkIdEnum = exports.AgentUserInputWalletProviderEnum = exports.AgentUserInputShortTermMemoryStrategyEnum = exports.AgentUpdateNetworkIdEnum = exports.AgentUpdateWalletProviderEnum = exports.AgentUpdateShortTermMemoryStrategyEnum = exports.AgentState = exports.AgentSortOption = exports.AgentResponseNetworkIdEnum = exports.AgentResponseWalletProviderEnum = exports.AgentResponseShortTermMemoryStrategyEnum = exports.AgentDraftNetworkIdEnum = exports.AgentDraftWalletProviderEnum = exports.AgentDraftShortTermMemoryStrategyEnum = exports.AgentAutonomousStatus = exports.AgentNetworkIdEnum = exports.AgentWalletProviderEnum = exports.AgentShortTermMemoryStrategyEnum = void 0;
88
+ exports.X402Api = exports.X402ApiFactory = exports.X402ApiFp = exports.X402ApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.OAuthApi = exports.OAuthApiFactory = exports.OAuthApiFp = exports.OAuthApiAxiosParamCreator = exports.MetadataApi = exports.MetadataApiFactory = exports.MetadataApiFp = exports.MetadataApiAxiosParamCreator = exports.ManagerApi = exports.ManagerApiFactory = exports.ManagerApiFp = exports.ManagerApiAxiosParamCreator = void 0;
89
89
  var axios_1 = require("axios");
90
90
  // Some imports not used depending on template conditions
91
91
  // @ts-ignore
92
92
  var common_1 = require("./common");
93
93
  // @ts-ignore
94
94
  var base_1 = require("./base");
95
+ exports.AgentShortTermMemoryStrategyEnum = {
96
+ Trim: 'trim',
97
+ Summarize: 'summarize'
98
+ };
95
99
  exports.AgentWalletProviderEnum = {
96
100
  Cdp: 'cdp',
97
101
  Readonly: 'readonly',
102
+ Safe: 'safe',
103
+ Privy: 'privy',
98
104
  None: 'none'
99
105
  };
100
106
  exports.AgentNetworkIdEnum = {
@@ -103,15 +109,27 @@ exports.AgentNetworkIdEnum = {
103
109
  PolygonMainnet: 'polygon-mainnet',
104
110
  ArbitrumMainnet: 'arbitrum-mainnet',
105
111
  OptimismMainnet: 'optimism-mainnet',
106
- Solana: 'solana'
112
+ BnbMainnet: 'bnb-mainnet',
113
+ Solana: 'solana',
114
+ BaseSepolia: 'base-sepolia'
107
115
  };
108
- exports.AgentShortTermMemoryStrategyEnum = {
116
+ /**
117
+ * Autonomous task execution status.
118
+ */
119
+ exports.AgentAutonomousStatus = {
120
+ Waiting: 'waiting',
121
+ Running: 'running',
122
+ Error: 'error'
123
+ };
124
+ exports.AgentDraftShortTermMemoryStrategyEnum = {
109
125
  Trim: 'trim',
110
126
  Summarize: 'summarize'
111
127
  };
112
128
  exports.AgentDraftWalletProviderEnum = {
113
129
  Cdp: 'cdp',
114
130
  Readonly: 'readonly',
131
+ Safe: 'safe',
132
+ Privy: 'privy',
115
133
  None: 'none'
116
134
  };
117
135
  exports.AgentDraftNetworkIdEnum = {
@@ -120,15 +138,19 @@ exports.AgentDraftNetworkIdEnum = {
120
138
  PolygonMainnet: 'polygon-mainnet',
121
139
  ArbitrumMainnet: 'arbitrum-mainnet',
122
140
  OptimismMainnet: 'optimism-mainnet',
123
- Solana: 'solana'
141
+ BnbMainnet: 'bnb-mainnet',
142
+ Solana: 'solana',
143
+ BaseSepolia: 'base-sepolia'
124
144
  };
125
- exports.AgentDraftShortTermMemoryStrategyEnum = {
145
+ exports.AgentResponseShortTermMemoryStrategyEnum = {
126
146
  Trim: 'trim',
127
147
  Summarize: 'summarize'
128
148
  };
129
149
  exports.AgentResponseWalletProviderEnum = {
130
150
  Cdp: 'cdp',
131
151
  Readonly: 'readonly',
152
+ Safe: 'safe',
153
+ Privy: 'privy',
132
154
  None: 'none'
133
155
  };
134
156
  exports.AgentResponseNetworkIdEnum = {
@@ -137,11 +159,9 @@ exports.AgentResponseNetworkIdEnum = {
137
159
  PolygonMainnet: 'polygon-mainnet',
138
160
  ArbitrumMainnet: 'arbitrum-mainnet',
139
161
  OptimismMainnet: 'optimism-mainnet',
140
- Solana: 'solana'
141
- };
142
- exports.AgentResponseShortTermMemoryStrategyEnum = {
143
- Trim: 'trim',
144
- Summarize: 'summarize'
162
+ BnbMainnet: 'bnb-mainnet',
163
+ Solana: 'solana',
164
+ BaseSepolia: 'base-sepolia'
145
165
  };
146
166
  /**
147
167
  * Sort options for agents list.
@@ -163,9 +183,15 @@ exports.AgentState = {
163
183
  Public: 'public',
164
184
  Citizen: 'citizen'
165
185
  };
186
+ exports.AgentUpdateShortTermMemoryStrategyEnum = {
187
+ Trim: 'trim',
188
+ Summarize: 'summarize'
189
+ };
166
190
  exports.AgentUpdateWalletProviderEnum = {
167
191
  Cdp: 'cdp',
168
192
  Readonly: 'readonly',
193
+ Safe: 'safe',
194
+ Privy: 'privy',
169
195
  None: 'none'
170
196
  };
171
197
  exports.AgentUpdateNetworkIdEnum = {
@@ -174,15 +200,19 @@ exports.AgentUpdateNetworkIdEnum = {
174
200
  PolygonMainnet: 'polygon-mainnet',
175
201
  ArbitrumMainnet: 'arbitrum-mainnet',
176
202
  OptimismMainnet: 'optimism-mainnet',
177
- Solana: 'solana'
203
+ BnbMainnet: 'bnb-mainnet',
204
+ Solana: 'solana',
205
+ BaseSepolia: 'base-sepolia'
178
206
  };
179
- exports.AgentUpdateShortTermMemoryStrategyEnum = {
207
+ exports.AgentUserInputShortTermMemoryStrategyEnum = {
180
208
  Trim: 'trim',
181
209
  Summarize: 'summarize'
182
210
  };
183
211
  exports.AgentUserInputWalletProviderEnum = {
184
212
  Cdp: 'cdp',
185
213
  Readonly: 'readonly',
214
+ Safe: 'safe',
215
+ Privy: 'privy',
186
216
  None: 'none'
187
217
  };
188
218
  exports.AgentUserInputNetworkIdEnum = {
@@ -191,27 +221,34 @@ exports.AgentUserInputNetworkIdEnum = {
191
221
  PolygonMainnet: 'polygon-mainnet',
192
222
  ArbitrumMainnet: 'arbitrum-mainnet',
193
223
  OptimismMainnet: 'optimism-mainnet',
194
- Solana: 'solana'
224
+ BnbMainnet: 'bnb-mainnet',
225
+ Solana: 'solana',
226
+ BaseSepolia: 'base-sepolia'
195
227
  };
196
- exports.AgentUserInputShortTermMemoryStrategyEnum = {
197
- Trim: 'trim',
198
- Summarize: 'summarize'
228
+ /**
229
+ * Agent visibility levels with hierarchical ordering. Higher values indicate broader visibility: - PRIVATE (0): Only visible to owner - TEAM (10): Visible to team members - PUBLIC (20): Visible to everyone
230
+ */
231
+ exports.AgentVisibility = {
232
+ NUMBER_0: 0,
233
+ NUMBER_10: 10,
234
+ NUMBER_20: 20
199
235
  };
200
236
  /**
201
237
  * Type of message author.
202
238
  */
203
239
  exports.AuthorType = {
204
240
  Agent: 'agent',
205
- Trigger: 'trigger',
206
241
  Skill: 'skill',
242
+ System: 'system',
243
+ Trigger: 'trigger',
207
244
  Telegram: 'telegram',
208
245
  Twitter: 'twitter',
209
246
  Discord: 'discord',
210
247
  Web: 'web',
211
- System: 'system',
212
248
  Api: 'api',
213
249
  Xmtp: 'xmtp',
214
- X402: 'x402'
250
+ X402: 'x402',
251
+ Internal: 'internal'
215
252
  };
216
253
  /**
217
254
  * Type of chat message attachment.
package/dist/base.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.8.94
5
+ * The version of the OpenAPI document: 0.8.98
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.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.8.94
8
+ * The version of the OpenAPI document: 0.8.98
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.8.94
5
+ * The version of the OpenAPI document: 0.8.98
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,6 +23,12 @@ export declare const setBasicAuthToObject: (object: any, configuration?: Configu
23
23
  export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
24
24
  export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
25
25
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
26
+ /**
27
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
28
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
+ */
31
+ export declare const replaceWithSerializableTypeIfNeeded: (key: any, value: any) => any;
26
32
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
27
33
  export declare const toPathString: (url: URL) => string;
28
34
  export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/dist/common.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.8.94
8
+ * The version of the OpenAPI document: 0.8.98
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -60,7 +60,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
60
60
  }
61
61
  };
62
62
  Object.defineProperty(exports, "__esModule", { value: true });
63
- exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
63
+ exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
64
64
  var base_1 = require("./base");
65
65
  exports.DUMMY_BASE_URL = 'https://example.com';
66
66
  /**
@@ -162,7 +162,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key) {
162
162
  if (parameter == null)
163
163
  return;
164
164
  if (typeof parameter === "object") {
165
- if (Array.isArray(parameter)) {
165
+ if (Array.isArray(parameter) || parameter instanceof Set) {
166
166
  parameter.forEach(function (item) { return setFlattenedQueryParams(urlSearchParams, item, key); });
167
167
  }
168
168
  else {
@@ -190,13 +190,27 @@ var setSearchParams = function (url) {
190
190
  url.search = searchParams.toString();
191
191
  };
192
192
  exports.setSearchParams = setSearchParams;
193
+ /**
194
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
195
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
196
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
197
+ */
198
+ var replaceWithSerializableTypeIfNeeded = function (key, value) {
199
+ if (value instanceof Set) {
200
+ return Array.from(value);
201
+ }
202
+ else {
203
+ return value;
204
+ }
205
+ };
206
+ exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
193
207
  var serializeDataIfNeeded = function (value, requestOptions, configuration) {
194
208
  var nonString = typeof value !== 'string';
195
209
  var needsSerialization = nonString && configuration && configuration.isJsonMime
196
210
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
197
211
  : nonString;
198
212
  return needsSerialization
199
- ? JSON.stringify(value !== undefined ? value : {})
213
+ ? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
200
214
  : (value || "");
201
215
  };
202
216
  exports.serializeDataIfNeeded = serializeDataIfNeeded;
@@ -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.8.94
5
+ * The version of the OpenAPI document: 0.8.98
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.8.94
7
+ * The version of the OpenAPI document: 0.8.98
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.8.94
5
+ * The version of the OpenAPI document: 0.8.98
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.8.94
8
+ * The version of the OpenAPI document: 0.8.98
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/Agent.md CHANGED
@@ -27,12 +27,13 @@ Name | Type | Description | Notes
27
27
  **temperature** | **number** | | [optional] [default to undefined]
28
28
  **frequency_penalty** | **number** | | [optional] [default to undefined]
29
29
  **presence_penalty** | **number** | | [optional] [default to undefined]
30
+ **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
30
31
  **wallet_provider** | **string** | | [optional] [default to undefined]
31
- **readonly_wallet_address** | **string** | | [optional] [default to undefined]
32
32
  **network_id** | **string** | | [optional] [default to undefined]
33
33
  **skills** | **{ [key: string]: any; }** | | [optional] [default to undefined]
34
- **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
35
- **autonomous** | [**Array&lt;AgentAutonomous&gt;**](AgentAutonomous.md) | | [optional] [default to undefined]
34
+ **readonly_wallet_address** | **string** | | [optional] [default to undefined]
35
+ **weekly_spending_limit** | **number** | | [optional] [default to undefined]
36
+ **autonomous** | [**Array&lt;AgentAutonomousOutput&gt;**](AgentAutonomousOutput.md) | | [optional] [default to undefined]
36
37
  **telegram_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
37
38
  **telegram_entrypoint_prompt** | **string** | | [optional] [default to undefined]
38
39
  **telegram_config** | **{ [key: string]: any; }** | | [optional] [default to undefined]
@@ -41,9 +42,13 @@ Name | Type | Description | Notes
41
42
  **xmtp_entrypoint_prompt** | **string** | | [optional] [default to undefined]
42
43
  **upstream_id** | **string** | | [optional] [default to undefined]
43
44
  **upstream_extra** | **{ [key: string]: any; }** | | [optional] [default to undefined]
45
+ **extra_prompt** | **string** | | [optional] [default to undefined]
46
+ **visibility** | [**AgentVisibility**](AgentVisibility.md) | | [optional] [default to undefined]
47
+ **archived_at** | **string** | | [optional] [default to undefined]
44
48
  **id** | **string** | Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens | [optional] [default to undefined]
45
49
  **owner** | **string** | | [optional] [default to undefined]
46
50
  **team_id** | **string** | | [optional] [default to undefined]
51
+ **template_id** | **string** | | [optional] [default to undefined]
47
52
  **slug** | **string** | | [optional] [default to undefined]
48
53
  **version** | **string** | | [optional] [default to undefined]
49
54
  **statistics** | **{ [key: string]: any; }** | | [optional] [default to undefined]
@@ -82,11 +87,12 @@ const instance: Agent = {
82
87
  temperature,
83
88
  frequency_penalty,
84
89
  presence_penalty,
90
+ short_term_memory_strategy,
85
91
  wallet_provider,
86
- readonly_wallet_address,
87
92
  network_id,
88
93
  skills,
89
- short_term_memory_strategy,
94
+ readonly_wallet_address,
95
+ weekly_spending_limit,
90
96
  autonomous,
91
97
  telegram_entrypoint_enabled,
92
98
  telegram_entrypoint_prompt,
@@ -96,9 +102,13 @@ const instance: Agent = {
96
102
  xmtp_entrypoint_prompt,
97
103
  upstream_id,
98
104
  upstream_extra,
105
+ extra_prompt,
106
+ visibility,
107
+ archived_at,
99
108
  id,
100
109
  owner,
101
110
  team_id,
111
+ template_id,
102
112
  slug,
103
113
  version,
104
114
  statistics,
package/docs/AgentApi.md CHANGED
@@ -461,7 +461,7 @@ No authorization required
461
461
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
462
462
 
463
463
  # **getSkillHistory**
464
- > AppManagerRouterChatMessagesResponse getSkillHistory()
464
+ > ChatMessagesResponse getSkillHistory()
465
465
 
466
466
  Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
467
467
 
@@ -498,7 +498,7 @@ const { status, data } = await apiInstance.getSkillHistory(
498
498
 
499
499
  ### Return type
500
500
 
501
- **AppManagerRouterChatMessagesResponse**
501
+ **ChatMessagesResponse**
502
502
 
503
503
  ### Authorization
504
504
 
@@ -1,4 +1,4 @@
1
- # AgentAutonomous
1
+ # AgentAutonomousInput
2
2
 
3
3
  Autonomous agent configuration.
4
4
 
@@ -13,13 +13,16 @@ Name | Type | Description | Notes
13
13
  **cron** | **string** | | [optional] [default to undefined]
14
14
  **prompt** | **string** | Special prompt used during autonomous operation | [default to undefined]
15
15
  **enabled** | **boolean** | | [optional] [default to undefined]
16
+ **has_memory** | **boolean** | | [optional] [default to undefined]
17
+ **status** | [**AgentAutonomousStatus**](AgentAutonomousStatus.md) | | [optional] [default to undefined]
18
+ **next_run_time** | **string** | | [optional] [default to undefined]
16
19
 
17
20
  ## Example
18
21
 
19
22
  ```typescript
20
- import { AgentAutonomous } from '@crestal/nation-sdk';
23
+ import { AgentAutonomousInput } from '@crestal/nation-sdk';
21
24
 
22
- const instance: AgentAutonomous = {
25
+ const instance: AgentAutonomousInput = {
23
26
  id,
24
27
  name,
25
28
  description,
@@ -27,6 +30,9 @@ const instance: AgentAutonomous = {
27
30
  cron,
28
31
  prompt,
29
32
  enabled,
33
+ has_memory,
34
+ status,
35
+ next_run_time,
30
36
  };
31
37
  ```
32
38
 
@@ -0,0 +1,39 @@
1
+ # AgentAutonomousOutput
2
+
3
+ Autonomous agent configuration.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Unique identifier for the autonomous configuration | [optional] [default to undefined]
10
+ **name** | **string** | | [optional] [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **minutes** | **number** | | [optional] [default to undefined]
13
+ **cron** | **string** | | [optional] [default to undefined]
14
+ **prompt** | **string** | Special prompt used during autonomous operation | [default to undefined]
15
+ **enabled** | **boolean** | | [optional] [default to undefined]
16
+ **has_memory** | **boolean** | | [optional] [default to undefined]
17
+ **status** | [**AgentAutonomousStatus**](AgentAutonomousStatus.md) | | [optional] [default to undefined]
18
+ **next_run_time** | **string** | | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { AgentAutonomousOutput } from '@crestal/nation-sdk';
24
+
25
+ const instance: AgentAutonomousOutput = {
26
+ id,
27
+ name,
28
+ description,
29
+ minutes,
30
+ cron,
31
+ prompt,
32
+ enabled,
33
+ has_memory,
34
+ status,
35
+ next_run_time,
36
+ };
37
+ ```
38
+
39
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,13 @@
1
+ # AgentAutonomousStatus
2
+
3
+ Autonomous task execution status.
4
+
5
+ ## Enum
6
+
7
+ * `Waiting` (value: `'waiting'`)
8
+
9
+ * `Running` (value: `'running'`)
10
+
11
+ * `Error` (value: `'error'`)
12
+
13
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -17,12 +17,13 @@ Name | Type | Description | Notes
17
17
  **temperature** | **number** | | [optional] [default to undefined]
18
18
  **frequency_penalty** | **number** | | [optional] [default to undefined]
19
19
  **presence_penalty** | **number** | | [optional] [default to undefined]
20
+ **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
20
21
  **wallet_provider** | **string** | | [optional] [default to undefined]
21
- **readonly_wallet_address** | **string** | | [optional] [default to undefined]
22
22
  **network_id** | **string** | | [optional] [default to undefined]
23
23
  **skills** | **{ [key: string]: any; }** | | [optional] [default to undefined]
24
- **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
25
- **autonomous** | [**Array&lt;AgentAutonomous&gt;**](AgentAutonomous.md) | | [optional] [default to undefined]
24
+ **readonly_wallet_address** | **string** | | [optional] [default to undefined]
25
+ **weekly_spending_limit** | **number** | | [optional] [default to undefined]
26
+ **autonomous** | [**Array&lt;AgentAutonomousOutput&gt;**](AgentAutonomousOutput.md) | | [optional] [default to undefined]
26
27
  **telegram_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
27
28
  **telegram_entrypoint_prompt** | **string** | | [optional] [default to undefined]
28
29
  **telegram_config** | **{ [key: string]: any; }** | | [optional] [default to undefined]
@@ -57,11 +58,12 @@ const instance: AgentDraft = {
57
58
  temperature,
58
59
  frequency_penalty,
59
60
  presence_penalty,
61
+ short_term_memory_strategy,
60
62
  wallet_provider,
61
- readonly_wallet_address,
62
63
  network_id,
63
64
  skills,
64
- short_term_memory_strategy,
65
+ readonly_wallet_address,
66
+ weekly_spending_limit,
65
67
  autonomous,
66
68
  telegram_entrypoint_enabled,
67
69
  telegram_entrypoint_prompt,
@@ -20,19 +20,24 @@ Name | Type | Description | Notes
20
20
  **picture** | **string** | | [optional] [default to undefined]
21
21
  **model** | **string** | LLM of the agent | [optional] [default to 'gpt-5-mini']
22
22
  **presence_penalty** | **number** | | [optional] [default to undefined]
23
+ **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
23
24
  **wallet_provider** | **string** | | [optional] [default to undefined]
24
- **readonly_wallet_address** | **string** | | [optional] [default to undefined]
25
25
  **network_id** | **string** | | [optional] [default to undefined]
26
26
  **skills** | **{ [key: string]: any; }** | | [optional] [default to undefined]
27
- **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
28
- **autonomous** | [**Array&lt;AgentAutonomous&gt;**](AgentAutonomous.md) | | [optional] [default to undefined]
27
+ **readonly_wallet_address** | **string** | | [optional] [default to undefined]
28
+ **weekly_spending_limit** | **number** | | [optional] [default to undefined]
29
+ **autonomous** | [**Array&lt;AgentAutonomousOutput&gt;**](AgentAutonomousOutput.md) | | [optional] [default to undefined]
29
30
  **telegram_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
30
31
  **discord_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
31
32
  **upstream_id** | **string** | | [optional] [default to undefined]
32
33
  **upstream_extra** | **{ [key: string]: any; }** | | [optional] [default to undefined]
34
+ **extra_prompt** | **string** | | [optional] [default to undefined]
35
+ **visibility** | [**AgentVisibility**](AgentVisibility.md) | | [optional] [default to undefined]
36
+ **archived_at** | **string** | | [optional] [default to undefined]
33
37
  **id** | **string** | Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens | [optional] [default to undefined]
34
38
  **owner** | **string** | | [optional] [default to undefined]
35
39
  **team_id** | **string** | | [optional] [default to undefined]
40
+ **template_id** | **string** | | [optional] [default to undefined]
36
41
  **slug** | **string** | | [optional] [default to undefined]
37
42
  **version** | **string** | | [optional] [default to undefined]
38
43
  **statistics** | **{ [key: string]: any; }** | | [optional] [default to undefined]
@@ -76,19 +81,24 @@ const instance: AgentResponse = {
76
81
  picture,
77
82
  model,
78
83
  presence_penalty,
84
+ short_term_memory_strategy,
79
85
  wallet_provider,
80
- readonly_wallet_address,
81
86
  network_id,
82
87
  skills,
83
- short_term_memory_strategy,
88
+ readonly_wallet_address,
89
+ weekly_spending_limit,
84
90
  autonomous,
85
91
  telegram_entrypoint_enabled,
86
92
  discord_entrypoint_enabled,
87
93
  upstream_id,
88
94
  upstream_extra,
95
+ extra_prompt,
96
+ visibility,
97
+ archived_at,
89
98
  id,
90
99
  owner,
91
100
  team_id,
101
+ template_id,
92
102
  slug,
93
103
  version,
94
104
  statistics,
@@ -17,12 +17,13 @@ Name | Type | Description | Notes
17
17
  **temperature** | **number** | | [optional] [default to undefined]
18
18
  **frequency_penalty** | **number** | | [optional] [default to undefined]
19
19
  **presence_penalty** | **number** | | [optional] [default to undefined]
20
+ **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
20
21
  **wallet_provider** | **string** | | [optional] [default to undefined]
21
- **readonly_wallet_address** | **string** | | [optional] [default to undefined]
22
22
  **network_id** | **string** | | [optional] [default to undefined]
23
23
  **skills** | **{ [key: string]: any; }** | | [optional] [default to undefined]
24
- **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
25
- **autonomous** | [**Array&lt;AgentAutonomous&gt;**](AgentAutonomous.md) | | [optional] [default to undefined]
24
+ **readonly_wallet_address** | **string** | | [optional] [default to undefined]
25
+ **weekly_spending_limit** | **number** | | [optional] [default to undefined]
26
+ **autonomous** | [**Array&lt;AgentAutonomousInput&gt;**](AgentAutonomousInput.md) | | [optional] [default to undefined]
26
27
  **telegram_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
27
28
  **telegram_entrypoint_prompt** | **string** | | [optional] [default to undefined]
28
29
  **telegram_config** | **{ [key: string]: any; }** | | [optional] [default to undefined]
@@ -31,6 +32,9 @@ Name | Type | Description | Notes
31
32
  **xmtp_entrypoint_prompt** | **string** | | [optional] [default to undefined]
32
33
  **upstream_id** | **string** | | [optional] [default to undefined]
33
34
  **upstream_extra** | **{ [key: string]: any; }** | | [optional] [default to undefined]
35
+ **extra_prompt** | **string** | | [optional] [default to undefined]
36
+ **visibility** | [**AgentVisibility**](AgentVisibility.md) | | [optional] [default to undefined]
37
+ **archived_at** | **string** | | [optional] [default to undefined]
34
38
 
35
39
  ## Example
36
40
 
@@ -49,11 +53,12 @@ const instance: AgentUpdate = {
49
53
  temperature,
50
54
  frequency_penalty,
51
55
  presence_penalty,
56
+ short_term_memory_strategy,
52
57
  wallet_provider,
53
- readonly_wallet_address,
54
58
  network_id,
55
59
  skills,
56
- short_term_memory_strategy,
60
+ readonly_wallet_address,
61
+ weekly_spending_limit,
57
62
  autonomous,
58
63
  telegram_entrypoint_enabled,
59
64
  telegram_entrypoint_prompt,
@@ -63,6 +68,9 @@ const instance: AgentUpdate = {
63
68
  xmtp_entrypoint_prompt,
64
69
  upstream_id,
65
70
  upstream_extra,
71
+ extra_prompt,
72
+ visibility,
73
+ archived_at,
66
74
  };
67
75
  ```
68
76
 
@@ -17,12 +17,13 @@ Name | Type | Description | Notes
17
17
  **temperature** | **number** | | [optional] [default to undefined]
18
18
  **frequency_penalty** | **number** | | [optional] [default to undefined]
19
19
  **presence_penalty** | **number** | | [optional] [default to undefined]
20
+ **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
20
21
  **wallet_provider** | **string** | | [optional] [default to undefined]
21
- **readonly_wallet_address** | **string** | | [optional] [default to undefined]
22
22
  **network_id** | **string** | | [optional] [default to undefined]
23
23
  **skills** | **{ [key: string]: any; }** | | [optional] [default to undefined]
24
- **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
25
- **autonomous** | [**Array&lt;AgentAutonomous&gt;**](AgentAutonomous.md) | | [optional] [default to undefined]
24
+ **readonly_wallet_address** | **string** | | [optional] [default to undefined]
25
+ **weekly_spending_limit** | **number** | | [optional] [default to undefined]
26
+ **autonomous** | [**Array&lt;AgentAutonomousInput&gt;**](AgentAutonomousInput.md) | | [optional] [default to undefined]
26
27
  **telegram_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
27
28
  **telegram_entrypoint_prompt** | **string** | | [optional] [default to undefined]
28
29
  **telegram_config** | **{ [key: string]: any; }** | | [optional] [default to undefined]
@@ -47,11 +48,12 @@ const instance: AgentUserInput = {
47
48
  temperature,
48
49
  frequency_penalty,
49
50
  presence_penalty,
51
+ short_term_memory_strategy,
50
52
  wallet_provider,
51
- readonly_wallet_address,
52
53
  network_id,
53
54
  skills,
54
- short_term_memory_strategy,
55
+ readonly_wallet_address,
56
+ weekly_spending_limit,
55
57
  autonomous,
56
58
  telegram_entrypoint_enabled,
57
59
  telegram_entrypoint_prompt,