@aidenhq/sdk 0.5.1 → 0.5.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/dist/src/responses.js +3 -6
- package/package.json +1 -1
package/dist/src/responses.js
CHANGED
|
@@ -8,13 +8,10 @@ export function errorKind(code) {
|
|
|
8
8
|
return code;
|
|
9
9
|
return VENDOR_CODES[code];
|
|
10
10
|
}
|
|
11
|
+
// The ChatGPT Codex backend's (modules/models-chatgpt): the plan's Codex limit, and a plan without Codex.
|
|
11
12
|
const VENDOR_CODES = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
subscription_sharing_unsupported_capability: "unsupported",
|
|
15
|
-
subscription_sharing_usage_unavailable: "unavailable",
|
|
16
|
-
subscription_sharing_user_unavailable: "unavailable",
|
|
17
|
-
subscription_sharing_invalid_user: "auth",
|
|
13
|
+
usage_limit_reached: "quota",
|
|
14
|
+
usage_not_included: "ineligible",
|
|
18
15
|
};
|
|
19
16
|
export class ModelError extends Error {
|
|
20
17
|
kind;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aidenhq/sdk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "The shared code of AidenHQ modules: contract types, engine IO, the caller check and fence, write executors, the reviewer side, the judges' models and call, the source writer and the vendor MCP pass-through.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|