@ambasada/sdk 0.8.9 → 0.8.10
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/errors.d.ts +2 -0
- package/dist/platform.js +2 -0
- package/package.json +2 -2
package/dist/errors.d.ts
CHANGED
|
@@ -40,9 +40,11 @@ export declare const ERROR_STATUS: {
|
|
|
40
40
|
readonly APPROVALS_PENDING: 429;
|
|
41
41
|
readonly PROVIDER_BUDGET: 503;
|
|
42
42
|
readonly PROVIDER_DENIED: 502;
|
|
43
|
+
readonly TOOL_UNAVAILABLE: 503;
|
|
43
44
|
readonly FROZEN: 403;
|
|
44
45
|
readonly CAP_INBOX_RATE: 429;
|
|
45
46
|
readonly CAP_CHAT_RATE: 429;
|
|
47
|
+
readonly CAP_TOOLS_RATE: 429;
|
|
46
48
|
readonly NETWORK: 0;
|
|
47
49
|
readonly CONFIG: 0;
|
|
48
50
|
readonly RECEIPT_INVALID: 402;
|
package/dist/platform.js
CHANGED
|
@@ -169,12 +169,14 @@ var ERROR_STATUS = {
|
|
|
169
169
|
// LLMOK mapping (utilities stream, docs/LLMOK.md)
|
|
170
170
|
PROVIDER_BUDGET: 503,
|
|
171
171
|
PROVIDER_DENIED: 502,
|
|
172
|
+
TOOL_UNAVAILABLE: 503,
|
|
172
173
|
// Clock windows (agent stream): deploys / steering refused while frozen
|
|
173
174
|
FROZEN: 403,
|
|
174
175
|
// Exchange stream: an agent sent too many inbox messages
|
|
175
176
|
CAP_INBOX_RATE: 429,
|
|
176
177
|
// The CEO chat: too many turns for one company
|
|
177
178
|
CAP_CHAT_RATE: 429,
|
|
179
|
+
CAP_TOOLS_RATE: 429,
|
|
178
180
|
// SDK-side
|
|
179
181
|
NETWORK: 0,
|
|
180
182
|
CONFIG: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ambasada/sdk",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.10",
|
|
4
4
|
"description": "The Ambasada platform SDK: Sign in with Ambasada, mini-app notifications, the project store, files.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"node": ">=22"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ambasada/village": "^0.8.
|
|
30
|
+
"@ambasada/village": "^0.8.10"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^22.20.5",
|