@auxiora/errors 1.0.0
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/LICENSE +191 -0
- package/dist/index.d.ts +154 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +367 -0
- package/dist/index.js.map +1 -0
- package/package.json +22 -0
- package/src/index.ts +440 -0
- package/tsconfig.json +8 -0
- package/tsconfig.tsbuildinfo +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding any notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
Copyright 2026 Auxiora Contributors
|
|
180
|
+
|
|
181
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
+
you may not use this file except in compliance with the License.
|
|
183
|
+
You may obtain a copy of the License at
|
|
184
|
+
|
|
185
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
+
|
|
187
|
+
Unless required by applicable law or agreed to in writing, software
|
|
188
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
+
See the License for the specific language governing permissions and
|
|
191
|
+
limitations under the License.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Centralized error handling for Auxiora
|
|
3
|
+
*
|
|
4
|
+
* Provides:
|
|
5
|
+
* - Standardized error codes
|
|
6
|
+
* - User-friendly error messages
|
|
7
|
+
* - Retry logic helpers
|
|
8
|
+
* - Error serialization
|
|
9
|
+
*/
|
|
10
|
+
export declare enum ErrorCode {
|
|
11
|
+
VAULT_LOCKED = "E1001",
|
|
12
|
+
VAULT_INVALID_PASSWORD = "E1002",
|
|
13
|
+
VAULT_NOT_INITIALIZED = "E1003",
|
|
14
|
+
VAULT_CREDENTIAL_NOT_FOUND = "E1004",
|
|
15
|
+
VAULT_ENCRYPTION_FAILED = "E1005",
|
|
16
|
+
VAULT_DECRYPTION_FAILED = "E1006",
|
|
17
|
+
GATEWAY_BIND_FAILED = "E2001",
|
|
18
|
+
GATEWAY_RATE_LIMIT_EXCEEDED = "E2002",
|
|
19
|
+
GATEWAY_UNAUTHORIZED = "E2003",
|
|
20
|
+
GATEWAY_INVALID_TOKEN = "E2004",
|
|
21
|
+
GATEWAY_CONNECTION_FAILED = "E2005",
|
|
22
|
+
PROVIDER_API_KEY_MISSING = "E3001",
|
|
23
|
+
PROVIDER_API_ERROR = "E3002",
|
|
24
|
+
PROVIDER_RATE_LIMITED = "E3003",
|
|
25
|
+
PROVIDER_TIMEOUT = "E3004",
|
|
26
|
+
PROVIDER_INVALID_RESPONSE = "E3005",
|
|
27
|
+
PROVIDER_QUOTA_EXCEEDED = "E3006",
|
|
28
|
+
CHANNEL_CONNECTION_FAILED = "E4001",
|
|
29
|
+
CHANNEL_AUTHENTICATION_FAILED = "E4002",
|
|
30
|
+
CHANNEL_MESSAGE_SEND_FAILED = "E4003",
|
|
31
|
+
CHANNEL_INVALID_TOKEN = "E4004",
|
|
32
|
+
CHANNEL_RATE_LIMITED = "E4005",
|
|
33
|
+
SESSION_NOT_FOUND = "E5001",
|
|
34
|
+
SESSION_EXPIRED = "E5002",
|
|
35
|
+
SESSION_STORAGE_FAILED = "E5003",
|
|
36
|
+
SESSION_INVALID_STATE = "E5004",
|
|
37
|
+
CONFIG_INVALID = "E6001",
|
|
38
|
+
CONFIG_MISSING_REQUIRED = "E6002",
|
|
39
|
+
CONFIG_TYPE_MISMATCH = "E6003",
|
|
40
|
+
CONFIG_VALIDATION_FAILED = "E6004",
|
|
41
|
+
AUDIT_WRITE_FAILED = "E7001",
|
|
42
|
+
AUDIT_CHAIN_BROKEN = "E7002",
|
|
43
|
+
AUDIT_INVALID_FORMAT = "E7003",
|
|
44
|
+
DAEMON_INSTALL_FAILED = "E8001",
|
|
45
|
+
DAEMON_START_FAILED = "E8002",
|
|
46
|
+
DAEMON_STOP_FAILED = "E8003",
|
|
47
|
+
DAEMON_NOT_INSTALLED = "E8004",
|
|
48
|
+
DAEMON_PERMISSION_DENIED = "E8005",
|
|
49
|
+
UNKNOWN_ERROR = "E9000",
|
|
50
|
+
INTERNAL_ERROR = "E9001",
|
|
51
|
+
INVALID_INPUT = "E9002",
|
|
52
|
+
NOT_IMPLEMENTED = "E9003",
|
|
53
|
+
PERMISSION_DENIED = "E9004"
|
|
54
|
+
}
|
|
55
|
+
export interface ErrorDetails {
|
|
56
|
+
code: ErrorCode;
|
|
57
|
+
message: string;
|
|
58
|
+
userMessage?: string;
|
|
59
|
+
retryable: boolean;
|
|
60
|
+
context?: Record<string, any>;
|
|
61
|
+
cause?: Error;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Base error class for all Auxiora errors
|
|
65
|
+
*/
|
|
66
|
+
export declare class AuxioraError extends Error {
|
|
67
|
+
readonly code: ErrorCode;
|
|
68
|
+
readonly userMessage: string;
|
|
69
|
+
readonly retryable: boolean;
|
|
70
|
+
readonly context: Record<string, any>;
|
|
71
|
+
readonly timestamp: Date;
|
|
72
|
+
constructor(details: ErrorDetails);
|
|
73
|
+
toJSON(): {
|
|
74
|
+
name: string;
|
|
75
|
+
code: ErrorCode;
|
|
76
|
+
message: string;
|
|
77
|
+
userMessage: string;
|
|
78
|
+
retryable: boolean;
|
|
79
|
+
context: Record<string, any>;
|
|
80
|
+
timestamp: string;
|
|
81
|
+
stack: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
toUserResponse(): {
|
|
84
|
+
error: {
|
|
85
|
+
code: ErrorCode;
|
|
86
|
+
message: string;
|
|
87
|
+
retryable: boolean;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Vault-related errors
|
|
93
|
+
*/
|
|
94
|
+
export declare class VaultError extends AuxioraError {
|
|
95
|
+
constructor(code: ErrorCode, message: string, context?: Record<string, any>, cause?: Error);
|
|
96
|
+
private static getUserMessage;
|
|
97
|
+
private static isRetryable;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Gateway-related errors
|
|
101
|
+
*/
|
|
102
|
+
export declare class GatewayError extends AuxioraError {
|
|
103
|
+
constructor(code: ErrorCode, message: string, context?: Record<string, any>, cause?: Error);
|
|
104
|
+
private static getUserMessage;
|
|
105
|
+
private static isRetryable;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Provider-related errors
|
|
109
|
+
*/
|
|
110
|
+
export declare class ProviderError extends AuxioraError {
|
|
111
|
+
constructor(code: ErrorCode, message: string, context?: Record<string, any>, cause?: Error);
|
|
112
|
+
private static getUserMessage;
|
|
113
|
+
private static isRetryable;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Channel-related errors
|
|
117
|
+
*/
|
|
118
|
+
export declare class ChannelError extends AuxioraError {
|
|
119
|
+
constructor(code: ErrorCode, message: string, context?: Record<string, any>, cause?: Error);
|
|
120
|
+
private static getUserMessage;
|
|
121
|
+
private static isRetryable;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Configuration-related errors
|
|
125
|
+
*/
|
|
126
|
+
export declare class ConfigError extends AuxioraError {
|
|
127
|
+
constructor(code: ErrorCode, message: string, context?: Record<string, any>, cause?: Error);
|
|
128
|
+
private static getUserMessage;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Retry logic helper
|
|
132
|
+
*/
|
|
133
|
+
export interface RetryOptions {
|
|
134
|
+
maxAttempts: number;
|
|
135
|
+
delayMs: number;
|
|
136
|
+
backoffMultiplier?: number;
|
|
137
|
+
maxDelayMs?: number;
|
|
138
|
+
onRetry?: (attempt: number, error: Error) => void;
|
|
139
|
+
}
|
|
140
|
+
export declare function retryWithBackoff<T>(fn: () => Promise<T>, options: RetryOptions): Promise<T>;
|
|
141
|
+
/**
|
|
142
|
+
* Error type guards
|
|
143
|
+
*/
|
|
144
|
+
export declare function isAuxioraError(error: unknown): error is AuxioraError;
|
|
145
|
+
export declare function isVaultError(error: unknown): error is VaultError;
|
|
146
|
+
export declare function isGatewayError(error: unknown): error is GatewayError;
|
|
147
|
+
export declare function isProviderError(error: unknown): error is ProviderError;
|
|
148
|
+
export declare function isChannelError(error: unknown): error is ChannelError;
|
|
149
|
+
export declare function isConfigError(error: unknown): error is ConfigError;
|
|
150
|
+
/**
|
|
151
|
+
* Error wrapping helper
|
|
152
|
+
*/
|
|
153
|
+
export declare function wrapError(error: unknown, fallbackMessage: string): AuxioraError;
|
|
154
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,oBAAY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S,CAAC,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,GAAG,YAAY,CAqB/E"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Centralized error handling for Auxiora
|
|
3
|
+
*
|
|
4
|
+
* Provides:
|
|
5
|
+
* - Standardized error codes
|
|
6
|
+
* - User-friendly error messages
|
|
7
|
+
* - Retry logic helpers
|
|
8
|
+
* - Error serialization
|
|
9
|
+
*/
|
|
10
|
+
export var ErrorCode;
|
|
11
|
+
(function (ErrorCode) {
|
|
12
|
+
// Vault errors (1xxx)
|
|
13
|
+
ErrorCode["VAULT_LOCKED"] = "E1001";
|
|
14
|
+
ErrorCode["VAULT_INVALID_PASSWORD"] = "E1002";
|
|
15
|
+
ErrorCode["VAULT_NOT_INITIALIZED"] = "E1003";
|
|
16
|
+
ErrorCode["VAULT_CREDENTIAL_NOT_FOUND"] = "E1004";
|
|
17
|
+
ErrorCode["VAULT_ENCRYPTION_FAILED"] = "E1005";
|
|
18
|
+
ErrorCode["VAULT_DECRYPTION_FAILED"] = "E1006";
|
|
19
|
+
// Gateway errors (2xxx)
|
|
20
|
+
ErrorCode["GATEWAY_BIND_FAILED"] = "E2001";
|
|
21
|
+
ErrorCode["GATEWAY_RATE_LIMIT_EXCEEDED"] = "E2002";
|
|
22
|
+
ErrorCode["GATEWAY_UNAUTHORIZED"] = "E2003";
|
|
23
|
+
ErrorCode["GATEWAY_INVALID_TOKEN"] = "E2004";
|
|
24
|
+
ErrorCode["GATEWAY_CONNECTION_FAILED"] = "E2005";
|
|
25
|
+
// Provider errors (3xxx)
|
|
26
|
+
ErrorCode["PROVIDER_API_KEY_MISSING"] = "E3001";
|
|
27
|
+
ErrorCode["PROVIDER_API_ERROR"] = "E3002";
|
|
28
|
+
ErrorCode["PROVIDER_RATE_LIMITED"] = "E3003";
|
|
29
|
+
ErrorCode["PROVIDER_TIMEOUT"] = "E3004";
|
|
30
|
+
ErrorCode["PROVIDER_INVALID_RESPONSE"] = "E3005";
|
|
31
|
+
ErrorCode["PROVIDER_QUOTA_EXCEEDED"] = "E3006";
|
|
32
|
+
// Channel errors (4xxx)
|
|
33
|
+
ErrorCode["CHANNEL_CONNECTION_FAILED"] = "E4001";
|
|
34
|
+
ErrorCode["CHANNEL_AUTHENTICATION_FAILED"] = "E4002";
|
|
35
|
+
ErrorCode["CHANNEL_MESSAGE_SEND_FAILED"] = "E4003";
|
|
36
|
+
ErrorCode["CHANNEL_INVALID_TOKEN"] = "E4004";
|
|
37
|
+
ErrorCode["CHANNEL_RATE_LIMITED"] = "E4005";
|
|
38
|
+
// Session errors (5xxx)
|
|
39
|
+
ErrorCode["SESSION_NOT_FOUND"] = "E5001";
|
|
40
|
+
ErrorCode["SESSION_EXPIRED"] = "E5002";
|
|
41
|
+
ErrorCode["SESSION_STORAGE_FAILED"] = "E5003";
|
|
42
|
+
ErrorCode["SESSION_INVALID_STATE"] = "E5004";
|
|
43
|
+
// Configuration errors (6xxx)
|
|
44
|
+
ErrorCode["CONFIG_INVALID"] = "E6001";
|
|
45
|
+
ErrorCode["CONFIG_MISSING_REQUIRED"] = "E6002";
|
|
46
|
+
ErrorCode["CONFIG_TYPE_MISMATCH"] = "E6003";
|
|
47
|
+
ErrorCode["CONFIG_VALIDATION_FAILED"] = "E6004";
|
|
48
|
+
// Audit errors (7xxx)
|
|
49
|
+
ErrorCode["AUDIT_WRITE_FAILED"] = "E7001";
|
|
50
|
+
ErrorCode["AUDIT_CHAIN_BROKEN"] = "E7002";
|
|
51
|
+
ErrorCode["AUDIT_INVALID_FORMAT"] = "E7003";
|
|
52
|
+
// Daemon errors (8xxx)
|
|
53
|
+
ErrorCode["DAEMON_INSTALL_FAILED"] = "E8001";
|
|
54
|
+
ErrorCode["DAEMON_START_FAILED"] = "E8002";
|
|
55
|
+
ErrorCode["DAEMON_STOP_FAILED"] = "E8003";
|
|
56
|
+
ErrorCode["DAEMON_NOT_INSTALLED"] = "E8004";
|
|
57
|
+
ErrorCode["DAEMON_PERMISSION_DENIED"] = "E8005";
|
|
58
|
+
// Generic errors (9xxx)
|
|
59
|
+
ErrorCode["UNKNOWN_ERROR"] = "E9000";
|
|
60
|
+
ErrorCode["INTERNAL_ERROR"] = "E9001";
|
|
61
|
+
ErrorCode["INVALID_INPUT"] = "E9002";
|
|
62
|
+
ErrorCode["NOT_IMPLEMENTED"] = "E9003";
|
|
63
|
+
ErrorCode["PERMISSION_DENIED"] = "E9004";
|
|
64
|
+
})(ErrorCode || (ErrorCode = {}));
|
|
65
|
+
/**
|
|
66
|
+
* Base error class for all Auxiora errors
|
|
67
|
+
*/
|
|
68
|
+
export class AuxioraError extends Error {
|
|
69
|
+
code;
|
|
70
|
+
userMessage;
|
|
71
|
+
retryable;
|
|
72
|
+
context;
|
|
73
|
+
timestamp;
|
|
74
|
+
constructor(details) {
|
|
75
|
+
super(details.message);
|
|
76
|
+
this.name = this.constructor.name;
|
|
77
|
+
this.code = details.code;
|
|
78
|
+
this.userMessage = details.userMessage || details.message;
|
|
79
|
+
this.retryable = details.retryable;
|
|
80
|
+
this.context = details.context || {};
|
|
81
|
+
this.timestamp = new Date();
|
|
82
|
+
if (details.cause) {
|
|
83
|
+
this.cause = details.cause;
|
|
84
|
+
}
|
|
85
|
+
// Maintains proper stack trace for where error was thrown
|
|
86
|
+
Error.captureStackTrace(this, this.constructor);
|
|
87
|
+
}
|
|
88
|
+
toJSON() {
|
|
89
|
+
return {
|
|
90
|
+
name: this.name,
|
|
91
|
+
code: this.code,
|
|
92
|
+
message: this.message,
|
|
93
|
+
userMessage: this.userMessage,
|
|
94
|
+
retryable: this.retryable,
|
|
95
|
+
context: this.context,
|
|
96
|
+
timestamp: this.timestamp.toISOString(),
|
|
97
|
+
stack: this.stack,
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
toUserResponse() {
|
|
101
|
+
return {
|
|
102
|
+
error: {
|
|
103
|
+
code: this.code,
|
|
104
|
+
message: this.userMessage,
|
|
105
|
+
retryable: this.retryable,
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Vault-related errors
|
|
112
|
+
*/
|
|
113
|
+
export class VaultError extends AuxioraError {
|
|
114
|
+
constructor(code, message, context, cause) {
|
|
115
|
+
super({
|
|
116
|
+
code,
|
|
117
|
+
message,
|
|
118
|
+
userMessage: VaultError.getUserMessage(code),
|
|
119
|
+
retryable: VaultError.isRetryable(code),
|
|
120
|
+
context,
|
|
121
|
+
cause,
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
static getUserMessage(code) {
|
|
125
|
+
switch (code) {
|
|
126
|
+
case ErrorCode.VAULT_LOCKED:
|
|
127
|
+
return 'Vault is locked. Please unlock with your password.';
|
|
128
|
+
case ErrorCode.VAULT_INVALID_PASSWORD:
|
|
129
|
+
return 'Invalid vault password. Please try again.';
|
|
130
|
+
case ErrorCode.VAULT_NOT_INITIALIZED:
|
|
131
|
+
return 'Vault not initialized. Run: auxiora vault init';
|
|
132
|
+
case ErrorCode.VAULT_CREDENTIAL_NOT_FOUND:
|
|
133
|
+
return 'Credential not found in vault.';
|
|
134
|
+
case ErrorCode.VAULT_ENCRYPTION_FAILED:
|
|
135
|
+
return 'Failed to encrypt credential. Please check system resources.';
|
|
136
|
+
case ErrorCode.VAULT_DECRYPTION_FAILED:
|
|
137
|
+
return 'Failed to decrypt credential. Vault may be corrupted.';
|
|
138
|
+
default:
|
|
139
|
+
return 'Vault operation failed.';
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
static isRetryable(code) {
|
|
143
|
+
return [
|
|
144
|
+
ErrorCode.VAULT_ENCRYPTION_FAILED,
|
|
145
|
+
ErrorCode.VAULT_DECRYPTION_FAILED,
|
|
146
|
+
].includes(code);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Gateway-related errors
|
|
151
|
+
*/
|
|
152
|
+
export class GatewayError extends AuxioraError {
|
|
153
|
+
constructor(code, message, context, cause) {
|
|
154
|
+
super({
|
|
155
|
+
code,
|
|
156
|
+
message,
|
|
157
|
+
userMessage: GatewayError.getUserMessage(code),
|
|
158
|
+
retryable: GatewayError.isRetryable(code),
|
|
159
|
+
context,
|
|
160
|
+
cause,
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
static getUserMessage(code) {
|
|
164
|
+
switch (code) {
|
|
165
|
+
case ErrorCode.GATEWAY_BIND_FAILED:
|
|
166
|
+
return 'Failed to start gateway. Port may already be in use.';
|
|
167
|
+
case ErrorCode.GATEWAY_RATE_LIMIT_EXCEEDED:
|
|
168
|
+
return 'Rate limit exceeded. Please slow down and try again later.';
|
|
169
|
+
case ErrorCode.GATEWAY_UNAUTHORIZED:
|
|
170
|
+
return 'Unauthorized. Please authenticate first.';
|
|
171
|
+
case ErrorCode.GATEWAY_INVALID_TOKEN:
|
|
172
|
+
return 'Invalid or expired authentication token.';
|
|
173
|
+
case ErrorCode.GATEWAY_CONNECTION_FAILED:
|
|
174
|
+
return 'Connection failed. Please check network connectivity.';
|
|
175
|
+
default:
|
|
176
|
+
return 'Gateway error occurred.';
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
static isRetryable(code) {
|
|
180
|
+
return [
|
|
181
|
+
ErrorCode.GATEWAY_CONNECTION_FAILED,
|
|
182
|
+
ErrorCode.GATEWAY_RATE_LIMIT_EXCEEDED,
|
|
183
|
+
].includes(code);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Provider-related errors
|
|
188
|
+
*/
|
|
189
|
+
export class ProviderError extends AuxioraError {
|
|
190
|
+
constructor(code, message, context, cause) {
|
|
191
|
+
super({
|
|
192
|
+
code,
|
|
193
|
+
message,
|
|
194
|
+
userMessage: ProviderError.getUserMessage(code),
|
|
195
|
+
retryable: ProviderError.isRetryable(code),
|
|
196
|
+
context,
|
|
197
|
+
cause,
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
static getUserMessage(code) {
|
|
201
|
+
switch (code) {
|
|
202
|
+
case ErrorCode.PROVIDER_API_KEY_MISSING:
|
|
203
|
+
return 'AI provider API key not configured. Add with: auxiora vault add ANTHROPIC_API_KEY';
|
|
204
|
+
case ErrorCode.PROVIDER_API_ERROR:
|
|
205
|
+
return 'AI provider API error. Please try again.';
|
|
206
|
+
case ErrorCode.PROVIDER_RATE_LIMITED:
|
|
207
|
+
return 'AI provider rate limit reached. Please wait a moment.';
|
|
208
|
+
case ErrorCode.PROVIDER_TIMEOUT:
|
|
209
|
+
return 'AI provider request timed out. Please try again.';
|
|
210
|
+
case ErrorCode.PROVIDER_INVALID_RESPONSE:
|
|
211
|
+
return 'Received invalid response from AI provider.';
|
|
212
|
+
case ErrorCode.PROVIDER_QUOTA_EXCEEDED:
|
|
213
|
+
return 'AI provider quota exceeded. Check your account limits.';
|
|
214
|
+
default:
|
|
215
|
+
return 'AI provider error occurred.';
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
static isRetryable(code) {
|
|
219
|
+
return [
|
|
220
|
+
ErrorCode.PROVIDER_API_ERROR,
|
|
221
|
+
ErrorCode.PROVIDER_RATE_LIMITED,
|
|
222
|
+
ErrorCode.PROVIDER_TIMEOUT,
|
|
223
|
+
].includes(code);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Channel-related errors
|
|
228
|
+
*/
|
|
229
|
+
export class ChannelError extends AuxioraError {
|
|
230
|
+
constructor(code, message, context, cause) {
|
|
231
|
+
super({
|
|
232
|
+
code,
|
|
233
|
+
message,
|
|
234
|
+
userMessage: ChannelError.getUserMessage(code),
|
|
235
|
+
retryable: ChannelError.isRetryable(code),
|
|
236
|
+
context,
|
|
237
|
+
cause,
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
static getUserMessage(code) {
|
|
241
|
+
switch (code) {
|
|
242
|
+
case ErrorCode.CHANNEL_CONNECTION_FAILED:
|
|
243
|
+
return 'Failed to connect to messaging platform. Check credentials.';
|
|
244
|
+
case ErrorCode.CHANNEL_AUTHENTICATION_FAILED:
|
|
245
|
+
return 'Channel authentication failed. Verify bot token.';
|
|
246
|
+
case ErrorCode.CHANNEL_MESSAGE_SEND_FAILED:
|
|
247
|
+
return 'Failed to send message. Please try again.';
|
|
248
|
+
case ErrorCode.CHANNEL_INVALID_TOKEN:
|
|
249
|
+
return 'Invalid channel token. Update credentials.';
|
|
250
|
+
case ErrorCode.CHANNEL_RATE_LIMITED:
|
|
251
|
+
return 'Channel rate limit reached. Slowing down...';
|
|
252
|
+
default:
|
|
253
|
+
return 'Channel error occurred.';
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
static isRetryable(code) {
|
|
257
|
+
return [
|
|
258
|
+
ErrorCode.CHANNEL_CONNECTION_FAILED,
|
|
259
|
+
ErrorCode.CHANNEL_MESSAGE_SEND_FAILED,
|
|
260
|
+
ErrorCode.CHANNEL_RATE_LIMITED,
|
|
261
|
+
].includes(code);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Configuration-related errors
|
|
266
|
+
*/
|
|
267
|
+
export class ConfigError extends AuxioraError {
|
|
268
|
+
constructor(code, message, context, cause) {
|
|
269
|
+
super({
|
|
270
|
+
code,
|
|
271
|
+
message,
|
|
272
|
+
userMessage: ConfigError.getUserMessage(code),
|
|
273
|
+
retryable: false,
|
|
274
|
+
context,
|
|
275
|
+
cause,
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
static getUserMessage(code) {
|
|
279
|
+
switch (code) {
|
|
280
|
+
case ErrorCode.CONFIG_INVALID:
|
|
281
|
+
return 'Invalid configuration. Please check your config file.';
|
|
282
|
+
case ErrorCode.CONFIG_MISSING_REQUIRED:
|
|
283
|
+
return 'Required configuration missing.';
|
|
284
|
+
case ErrorCode.CONFIG_TYPE_MISMATCH:
|
|
285
|
+
return 'Configuration type mismatch. Check expected types.';
|
|
286
|
+
case ErrorCode.CONFIG_VALIDATION_FAILED:
|
|
287
|
+
return 'Configuration validation failed.';
|
|
288
|
+
default:
|
|
289
|
+
return 'Configuration error occurred.';
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
export async function retryWithBackoff(fn, options) {
|
|
294
|
+
const { maxAttempts, delayMs, backoffMultiplier = 2, maxDelayMs = 30000, onRetry, } = options;
|
|
295
|
+
let lastError;
|
|
296
|
+
let currentDelay = delayMs;
|
|
297
|
+
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
|
|
298
|
+
try {
|
|
299
|
+
return await fn();
|
|
300
|
+
}
|
|
301
|
+
catch (error) {
|
|
302
|
+
lastError = error;
|
|
303
|
+
// Check if error is retryable
|
|
304
|
+
if (error instanceof AuxioraError && !error.retryable) {
|
|
305
|
+
throw error;
|
|
306
|
+
}
|
|
307
|
+
// Last attempt - don't retry
|
|
308
|
+
if (attempt === maxAttempts) {
|
|
309
|
+
throw error;
|
|
310
|
+
}
|
|
311
|
+
// Call onRetry callback
|
|
312
|
+
if (onRetry) {
|
|
313
|
+
onRetry(attempt, lastError);
|
|
314
|
+
}
|
|
315
|
+
// Wait before retry
|
|
316
|
+
await new Promise((resolve) => setTimeout(resolve, currentDelay));
|
|
317
|
+
// Increase delay for next attempt (exponential backoff)
|
|
318
|
+
currentDelay = Math.min(currentDelay * backoffMultiplier, maxDelayMs);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
throw lastError;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Error type guards
|
|
325
|
+
*/
|
|
326
|
+
export function isAuxioraError(error) {
|
|
327
|
+
return error instanceof AuxioraError;
|
|
328
|
+
}
|
|
329
|
+
export function isVaultError(error) {
|
|
330
|
+
return error instanceof VaultError;
|
|
331
|
+
}
|
|
332
|
+
export function isGatewayError(error) {
|
|
333
|
+
return error instanceof GatewayError;
|
|
334
|
+
}
|
|
335
|
+
export function isProviderError(error) {
|
|
336
|
+
return error instanceof ProviderError;
|
|
337
|
+
}
|
|
338
|
+
export function isChannelError(error) {
|
|
339
|
+
return error instanceof ChannelError;
|
|
340
|
+
}
|
|
341
|
+
export function isConfigError(error) {
|
|
342
|
+
return error instanceof ConfigError;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Error wrapping helper
|
|
346
|
+
*/
|
|
347
|
+
export function wrapError(error, fallbackMessage) {
|
|
348
|
+
if (error instanceof AuxioraError) {
|
|
349
|
+
return error;
|
|
350
|
+
}
|
|
351
|
+
if (error instanceof Error) {
|
|
352
|
+
return new AuxioraError({
|
|
353
|
+
code: ErrorCode.INTERNAL_ERROR,
|
|
354
|
+
message: error.message,
|
|
355
|
+
userMessage: fallbackMessage,
|
|
356
|
+
retryable: false,
|
|
357
|
+
cause: error,
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
return new AuxioraError({
|
|
361
|
+
code: ErrorCode.UNKNOWN_ERROR,
|
|
362
|
+
message: String(error),
|
|
363
|
+
userMessage: fallbackMessage,
|
|
364
|
+
retryable: false,
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,CAAN,IAAY,SA6DX;AA7DD,WAAY,SAAS;IACnB,sBAAsB;IACtB,mCAAsB,CAAA;IACtB,6CAAgC,CAAA;IAChC,4CAA+B,CAAA;IAC/B,iDAAoC,CAAA;IACpC,8CAAiC,CAAA;IACjC,8CAAiC,CAAA;IAEjC,wBAAwB;IACxB,0CAA6B,CAAA;IAC7B,kDAAqC,CAAA;IACrC,2CAA8B,CAAA;IAC9B,4CAA+B,CAAA;IAC/B,gDAAmC,CAAA;IAEnC,yBAAyB;IACzB,+CAAkC,CAAA;IAClC,yCAA4B,CAAA;IAC5B,4CAA+B,CAA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AC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@auxiora/errors",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Centralized error handling for Auxiora",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=22.0.0"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsc",
|
|
19
|
+
"clean": "rm -rf dist",
|
|
20
|
+
"typecheck": "tsc --noEmit"
|
|
21
|
+
}
|
|
22
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,440 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Centralized error handling for Auxiora
|
|
3
|
+
*
|
|
4
|
+
* Provides:
|
|
5
|
+
* - Standardized error codes
|
|
6
|
+
* - User-friendly error messages
|
|
7
|
+
* - Retry logic helpers
|
|
8
|
+
* - Error serialization
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
export enum ErrorCode {
|
|
12
|
+
// Vault errors (1xxx)
|
|
13
|
+
VAULT_LOCKED = 'E1001',
|
|
14
|
+
VAULT_INVALID_PASSWORD = 'E1002',
|
|
15
|
+
VAULT_NOT_INITIALIZED = 'E1003',
|
|
16
|
+
VAULT_CREDENTIAL_NOT_FOUND = 'E1004',
|
|
17
|
+
VAULT_ENCRYPTION_FAILED = 'E1005',
|
|
18
|
+
VAULT_DECRYPTION_FAILED = 'E1006',
|
|
19
|
+
|
|
20
|
+
// Gateway errors (2xxx)
|
|
21
|
+
GATEWAY_BIND_FAILED = 'E2001',
|
|
22
|
+
GATEWAY_RATE_LIMIT_EXCEEDED = 'E2002',
|
|
23
|
+
GATEWAY_UNAUTHORIZED = 'E2003',
|
|
24
|
+
GATEWAY_INVALID_TOKEN = 'E2004',
|
|
25
|
+
GATEWAY_CONNECTION_FAILED = 'E2005',
|
|
26
|
+
|
|
27
|
+
// Provider errors (3xxx)
|
|
28
|
+
PROVIDER_API_KEY_MISSING = 'E3001',
|
|
29
|
+
PROVIDER_API_ERROR = 'E3002',
|
|
30
|
+
PROVIDER_RATE_LIMITED = 'E3003',
|
|
31
|
+
PROVIDER_TIMEOUT = 'E3004',
|
|
32
|
+
PROVIDER_INVALID_RESPONSE = 'E3005',
|
|
33
|
+
PROVIDER_QUOTA_EXCEEDED = 'E3006',
|
|
34
|
+
|
|
35
|
+
// Channel errors (4xxx)
|
|
36
|
+
CHANNEL_CONNECTION_FAILED = 'E4001',
|
|
37
|
+
CHANNEL_AUTHENTICATION_FAILED = 'E4002',
|
|
38
|
+
CHANNEL_MESSAGE_SEND_FAILED = 'E4003',
|
|
39
|
+
CHANNEL_INVALID_TOKEN = 'E4004',
|
|
40
|
+
CHANNEL_RATE_LIMITED = 'E4005',
|
|
41
|
+
|
|
42
|
+
// Session errors (5xxx)
|
|
43
|
+
SESSION_NOT_FOUND = 'E5001',
|
|
44
|
+
SESSION_EXPIRED = 'E5002',
|
|
45
|
+
SESSION_STORAGE_FAILED = 'E5003',
|
|
46
|
+
SESSION_INVALID_STATE = 'E5004',
|
|
47
|
+
|
|
48
|
+
// Configuration errors (6xxx)
|
|
49
|
+
CONFIG_INVALID = 'E6001',
|
|
50
|
+
CONFIG_MISSING_REQUIRED = 'E6002',
|
|
51
|
+
CONFIG_TYPE_MISMATCH = 'E6003',
|
|
52
|
+
CONFIG_VALIDATION_FAILED = 'E6004',
|
|
53
|
+
|
|
54
|
+
// Audit errors (7xxx)
|
|
55
|
+
AUDIT_WRITE_FAILED = 'E7001',
|
|
56
|
+
AUDIT_CHAIN_BROKEN = 'E7002',
|
|
57
|
+
AUDIT_INVALID_FORMAT = 'E7003',
|
|
58
|
+
|
|
59
|
+
// Daemon errors (8xxx)
|
|
60
|
+
DAEMON_INSTALL_FAILED = 'E8001',
|
|
61
|
+
DAEMON_START_FAILED = 'E8002',
|
|
62
|
+
DAEMON_STOP_FAILED = 'E8003',
|
|
63
|
+
DAEMON_NOT_INSTALLED = 'E8004',
|
|
64
|
+
DAEMON_PERMISSION_DENIED = 'E8005',
|
|
65
|
+
|
|
66
|
+
// Generic errors (9xxx)
|
|
67
|
+
UNKNOWN_ERROR = 'E9000',
|
|
68
|
+
INTERNAL_ERROR = 'E9001',
|
|
69
|
+
INVALID_INPUT = 'E9002',
|
|
70
|
+
NOT_IMPLEMENTED = 'E9003',
|
|
71
|
+
PERMISSION_DENIED = 'E9004',
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface ErrorDetails {
|
|
75
|
+
code: ErrorCode;
|
|
76
|
+
message: string;
|
|
77
|
+
userMessage?: string;
|
|
78
|
+
retryable: boolean;
|
|
79
|
+
context?: Record<string, any>;
|
|
80
|
+
cause?: Error;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Base error class for all Auxiora errors
|
|
85
|
+
*/
|
|
86
|
+
export class AuxioraError extends Error {
|
|
87
|
+
public readonly code: ErrorCode;
|
|
88
|
+
public readonly userMessage: string;
|
|
89
|
+
public readonly retryable: boolean;
|
|
90
|
+
public readonly context: Record<string, any>;
|
|
91
|
+
public readonly timestamp: Date;
|
|
92
|
+
|
|
93
|
+
constructor(details: ErrorDetails) {
|
|
94
|
+
super(details.message);
|
|
95
|
+
this.name = this.constructor.name;
|
|
96
|
+
this.code = details.code;
|
|
97
|
+
this.userMessage = details.userMessage || details.message;
|
|
98
|
+
this.retryable = details.retryable;
|
|
99
|
+
this.context = details.context || {};
|
|
100
|
+
this.timestamp = new Date();
|
|
101
|
+
|
|
102
|
+
if (details.cause) {
|
|
103
|
+
this.cause = details.cause;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// Maintains proper stack trace for where error was thrown
|
|
107
|
+
Error.captureStackTrace(this, this.constructor);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
toJSON() {
|
|
111
|
+
return {
|
|
112
|
+
name: this.name,
|
|
113
|
+
code: this.code,
|
|
114
|
+
message: this.message,
|
|
115
|
+
userMessage: this.userMessage,
|
|
116
|
+
retryable: this.retryable,
|
|
117
|
+
context: this.context,
|
|
118
|
+
timestamp: this.timestamp.toISOString(),
|
|
119
|
+
stack: this.stack,
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
toUserResponse() {
|
|
124
|
+
return {
|
|
125
|
+
error: {
|
|
126
|
+
code: this.code,
|
|
127
|
+
message: this.userMessage,
|
|
128
|
+
retryable: this.retryable,
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Vault-related errors
|
|
136
|
+
*/
|
|
137
|
+
export class VaultError extends AuxioraError {
|
|
138
|
+
constructor(code: ErrorCode, message: string, context?: Record<string, any>, cause?: Error) {
|
|
139
|
+
super({
|
|
140
|
+
code,
|
|
141
|
+
message,
|
|
142
|
+
userMessage: VaultError.getUserMessage(code),
|
|
143
|
+
retryable: VaultError.isRetryable(code),
|
|
144
|
+
context,
|
|
145
|
+
cause,
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
private static getUserMessage(code: ErrorCode): string {
|
|
150
|
+
switch (code) {
|
|
151
|
+
case ErrorCode.VAULT_LOCKED:
|
|
152
|
+
return 'Vault is locked. Please unlock with your password.';
|
|
153
|
+
case ErrorCode.VAULT_INVALID_PASSWORD:
|
|
154
|
+
return 'Invalid vault password. Please try again.';
|
|
155
|
+
case ErrorCode.VAULT_NOT_INITIALIZED:
|
|
156
|
+
return 'Vault not initialized. Run: auxiora vault init';
|
|
157
|
+
case ErrorCode.VAULT_CREDENTIAL_NOT_FOUND:
|
|
158
|
+
return 'Credential not found in vault.';
|
|
159
|
+
case ErrorCode.VAULT_ENCRYPTION_FAILED:
|
|
160
|
+
return 'Failed to encrypt credential. Please check system resources.';
|
|
161
|
+
case ErrorCode.VAULT_DECRYPTION_FAILED:
|
|
162
|
+
return 'Failed to decrypt credential. Vault may be corrupted.';
|
|
163
|
+
default:
|
|
164
|
+
return 'Vault operation failed.';
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
private static isRetryable(code: ErrorCode): boolean {
|
|
169
|
+
return [
|
|
170
|
+
ErrorCode.VAULT_ENCRYPTION_FAILED,
|
|
171
|
+
ErrorCode.VAULT_DECRYPTION_FAILED,
|
|
172
|
+
].includes(code);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Gateway-related errors
|
|
178
|
+
*/
|
|
179
|
+
export class GatewayError extends AuxioraError {
|
|
180
|
+
constructor(code: ErrorCode, message: string, context?: Record<string, any>, cause?: Error) {
|
|
181
|
+
super({
|
|
182
|
+
code,
|
|
183
|
+
message,
|
|
184
|
+
userMessage: GatewayError.getUserMessage(code),
|
|
185
|
+
retryable: GatewayError.isRetryable(code),
|
|
186
|
+
context,
|
|
187
|
+
cause,
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
private static getUserMessage(code: ErrorCode): string {
|
|
192
|
+
switch (code) {
|
|
193
|
+
case ErrorCode.GATEWAY_BIND_FAILED:
|
|
194
|
+
return 'Failed to start gateway. Port may already be in use.';
|
|
195
|
+
case ErrorCode.GATEWAY_RATE_LIMIT_EXCEEDED:
|
|
196
|
+
return 'Rate limit exceeded. Please slow down and try again later.';
|
|
197
|
+
case ErrorCode.GATEWAY_UNAUTHORIZED:
|
|
198
|
+
return 'Unauthorized. Please authenticate first.';
|
|
199
|
+
case ErrorCode.GATEWAY_INVALID_TOKEN:
|
|
200
|
+
return 'Invalid or expired authentication token.';
|
|
201
|
+
case ErrorCode.GATEWAY_CONNECTION_FAILED:
|
|
202
|
+
return 'Connection failed. Please check network connectivity.';
|
|
203
|
+
default:
|
|
204
|
+
return 'Gateway error occurred.';
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
private static isRetryable(code: ErrorCode): boolean {
|
|
209
|
+
return [
|
|
210
|
+
ErrorCode.GATEWAY_CONNECTION_FAILED,
|
|
211
|
+
ErrorCode.GATEWAY_RATE_LIMIT_EXCEEDED,
|
|
212
|
+
].includes(code);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Provider-related errors
|
|
218
|
+
*/
|
|
219
|
+
export class ProviderError extends AuxioraError {
|
|
220
|
+
constructor(code: ErrorCode, message: string, context?: Record<string, any>, cause?: Error) {
|
|
221
|
+
super({
|
|
222
|
+
code,
|
|
223
|
+
message,
|
|
224
|
+
userMessage: ProviderError.getUserMessage(code),
|
|
225
|
+
retryable: ProviderError.isRetryable(code),
|
|
226
|
+
context,
|
|
227
|
+
cause,
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
private static getUserMessage(code: ErrorCode): string {
|
|
232
|
+
switch (code) {
|
|
233
|
+
case ErrorCode.PROVIDER_API_KEY_MISSING:
|
|
234
|
+
return 'AI provider API key not configured. Add with: auxiora vault add ANTHROPIC_API_KEY';
|
|
235
|
+
case ErrorCode.PROVIDER_API_ERROR:
|
|
236
|
+
return 'AI provider API error. Please try again.';
|
|
237
|
+
case ErrorCode.PROVIDER_RATE_LIMITED:
|
|
238
|
+
return 'AI provider rate limit reached. Please wait a moment.';
|
|
239
|
+
case ErrorCode.PROVIDER_TIMEOUT:
|
|
240
|
+
return 'AI provider request timed out. Please try again.';
|
|
241
|
+
case ErrorCode.PROVIDER_INVALID_RESPONSE:
|
|
242
|
+
return 'Received invalid response from AI provider.';
|
|
243
|
+
case ErrorCode.PROVIDER_QUOTA_EXCEEDED:
|
|
244
|
+
return 'AI provider quota exceeded. Check your account limits.';
|
|
245
|
+
default:
|
|
246
|
+
return 'AI provider error occurred.';
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
private static isRetryable(code: ErrorCode): boolean {
|
|
251
|
+
return [
|
|
252
|
+
ErrorCode.PROVIDER_API_ERROR,
|
|
253
|
+
ErrorCode.PROVIDER_RATE_LIMITED,
|
|
254
|
+
ErrorCode.PROVIDER_TIMEOUT,
|
|
255
|
+
].includes(code);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Channel-related errors
|
|
261
|
+
*/
|
|
262
|
+
export class ChannelError extends AuxioraError {
|
|
263
|
+
constructor(code: ErrorCode, message: string, context?: Record<string, any>, cause?: Error) {
|
|
264
|
+
super({
|
|
265
|
+
code,
|
|
266
|
+
message,
|
|
267
|
+
userMessage: ChannelError.getUserMessage(code),
|
|
268
|
+
retryable: ChannelError.isRetryable(code),
|
|
269
|
+
context,
|
|
270
|
+
cause,
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
private static getUserMessage(code: ErrorCode): string {
|
|
275
|
+
switch (code) {
|
|
276
|
+
case ErrorCode.CHANNEL_CONNECTION_FAILED:
|
|
277
|
+
return 'Failed to connect to messaging platform. Check credentials.';
|
|
278
|
+
case ErrorCode.CHANNEL_AUTHENTICATION_FAILED:
|
|
279
|
+
return 'Channel authentication failed. Verify bot token.';
|
|
280
|
+
case ErrorCode.CHANNEL_MESSAGE_SEND_FAILED:
|
|
281
|
+
return 'Failed to send message. Please try again.';
|
|
282
|
+
case ErrorCode.CHANNEL_INVALID_TOKEN:
|
|
283
|
+
return 'Invalid channel token. Update credentials.';
|
|
284
|
+
case ErrorCode.CHANNEL_RATE_LIMITED:
|
|
285
|
+
return 'Channel rate limit reached. Slowing down...';
|
|
286
|
+
default:
|
|
287
|
+
return 'Channel error occurred.';
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
private static isRetryable(code: ErrorCode): boolean {
|
|
292
|
+
return [
|
|
293
|
+
ErrorCode.CHANNEL_CONNECTION_FAILED,
|
|
294
|
+
ErrorCode.CHANNEL_MESSAGE_SEND_FAILED,
|
|
295
|
+
ErrorCode.CHANNEL_RATE_LIMITED,
|
|
296
|
+
].includes(code);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Configuration-related errors
|
|
302
|
+
*/
|
|
303
|
+
export class ConfigError extends AuxioraError {
|
|
304
|
+
constructor(code: ErrorCode, message: string, context?: Record<string, any>, cause?: Error) {
|
|
305
|
+
super({
|
|
306
|
+
code,
|
|
307
|
+
message,
|
|
308
|
+
userMessage: ConfigError.getUserMessage(code),
|
|
309
|
+
retryable: false,
|
|
310
|
+
context,
|
|
311
|
+
cause,
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
private static getUserMessage(code: ErrorCode): string {
|
|
316
|
+
switch (code) {
|
|
317
|
+
case ErrorCode.CONFIG_INVALID:
|
|
318
|
+
return 'Invalid configuration. Please check your config file.';
|
|
319
|
+
case ErrorCode.CONFIG_MISSING_REQUIRED:
|
|
320
|
+
return 'Required configuration missing.';
|
|
321
|
+
case ErrorCode.CONFIG_TYPE_MISMATCH:
|
|
322
|
+
return 'Configuration type mismatch. Check expected types.';
|
|
323
|
+
case ErrorCode.CONFIG_VALIDATION_FAILED:
|
|
324
|
+
return 'Configuration validation failed.';
|
|
325
|
+
default:
|
|
326
|
+
return 'Configuration error occurred.';
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Retry logic helper
|
|
333
|
+
*/
|
|
334
|
+
export interface RetryOptions {
|
|
335
|
+
maxAttempts: number;
|
|
336
|
+
delayMs: number;
|
|
337
|
+
backoffMultiplier?: number;
|
|
338
|
+
maxDelayMs?: number;
|
|
339
|
+
onRetry?: (attempt: number, error: Error) => void;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export async function retryWithBackoff<T>(
|
|
343
|
+
fn: () => Promise<T>,
|
|
344
|
+
options: RetryOptions
|
|
345
|
+
): Promise<T> {
|
|
346
|
+
const {
|
|
347
|
+
maxAttempts,
|
|
348
|
+
delayMs,
|
|
349
|
+
backoffMultiplier = 2,
|
|
350
|
+
maxDelayMs = 30000,
|
|
351
|
+
onRetry,
|
|
352
|
+
} = options;
|
|
353
|
+
|
|
354
|
+
let lastError: Error;
|
|
355
|
+
let currentDelay = delayMs;
|
|
356
|
+
|
|
357
|
+
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
|
|
358
|
+
try {
|
|
359
|
+
return await fn();
|
|
360
|
+
} catch (error) {
|
|
361
|
+
lastError = error as Error;
|
|
362
|
+
|
|
363
|
+
// Check if error is retryable
|
|
364
|
+
if (error instanceof AuxioraError && !error.retryable) {
|
|
365
|
+
throw error;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// Last attempt - don't retry
|
|
369
|
+
if (attempt === maxAttempts) {
|
|
370
|
+
throw error;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
// Call onRetry callback
|
|
374
|
+
if (onRetry) {
|
|
375
|
+
onRetry(attempt, lastError);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
// Wait before retry
|
|
379
|
+
await new Promise((resolve) => setTimeout(resolve, currentDelay));
|
|
380
|
+
|
|
381
|
+
// Increase delay for next attempt (exponential backoff)
|
|
382
|
+
currentDelay = Math.min(currentDelay * backoffMultiplier, maxDelayMs);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
throw lastError!;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Error type guards
|
|
391
|
+
*/
|
|
392
|
+
export function isAuxioraError(error: unknown): error is AuxioraError {
|
|
393
|
+
return error instanceof AuxioraError;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export function isVaultError(error: unknown): error is VaultError {
|
|
397
|
+
return error instanceof VaultError;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export function isGatewayError(error: unknown): error is GatewayError {
|
|
401
|
+
return error instanceof GatewayError;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export function isProviderError(error: unknown): error is ProviderError {
|
|
405
|
+
return error instanceof ProviderError;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export function isChannelError(error: unknown): error is ChannelError {
|
|
409
|
+
return error instanceof ChannelError;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export function isConfigError(error: unknown): error is ConfigError {
|
|
413
|
+
return error instanceof ConfigError;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Error wrapping helper
|
|
418
|
+
*/
|
|
419
|
+
export function wrapError(error: unknown, fallbackMessage: string): AuxioraError {
|
|
420
|
+
if (error instanceof AuxioraError) {
|
|
421
|
+
return error;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
if (error instanceof Error) {
|
|
425
|
+
return new AuxioraError({
|
|
426
|
+
code: ErrorCode.INTERNAL_ERROR,
|
|
427
|
+
message: error.message,
|
|
428
|
+
userMessage: fallbackMessage,
|
|
429
|
+
retryable: false,
|
|
430
|
+
cause: error,
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
return new AuxioraError({
|
|
435
|
+
code: ErrorCode.UNKNOWN_ERROR,
|
|
436
|
+
message: String(error),
|
|
437
|
+
userMessage: fallbackMessage,
|
|
438
|
+
retryable: false,
|
|
439
|
+
});
|
|
440
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/index.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/globals.typedarray.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/buffer.buffer.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/blob.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/console.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/crypto.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/domexception.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/encoding.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/events.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/utility.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/client-stats.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/h2c-client.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-call-history.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/snapshot-agent.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/retry-handler.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/retry-agent.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cache-interceptor.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/util.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/eventsource.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/fetch.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/importmeta.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/messaging.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/navigator.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/performance.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/storage.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/streams.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/timers.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/web-globals/url.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/inspector.generated.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/inspector/promises.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/path/posix.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/path/win32.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/quic.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/sqlite.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/test/reporters.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/util/types.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@25.1.0/node_modules/@types/node/index.d.ts"],"fileIdsList":[[67,126,127,129,137,141,144,146,147,148,160],[67,128,129,137,141,144,146,147,148,160],[129,137,141,144,146,147,148,160],[67,129,137,141,144,146,147,148,160,168],[67,129,130,135,137,140,141,144,146,147,148,150,160,165,177],[67,129,130,131,137,140,141,144,146,147,148,160],[67,129,137,141,144,146,147,148,160],[67,129,132,137,141,144,146,147,148,160,178],[67,129,133,134,137,141,144,146,147,148,151,160],[67,129,134,137,141,144,146,147,148,160,165,174],[67,129,135,137,140,141,144,146,147,148,150,160],[67,128,129,136,137,141,144,146,147,148,160],[67,129,137,138,141,144,146,147,148,160],[67,129,137,139,140,141,144,146,147,148,160],[67,128,129,137,140,141,144,146,147,148,160],[67,129,137,140,141,142,144,146,147,148,160,165,177],[67,129,137,140,141,142,144,146,147,148,160,165,168],[67,116,129,137,140,141,143,144,146,147,148,150,160,165,177],[67,129,137,140,141,143,144,146,147,148,150,160,165,174,177],[67,129,137,141,143,144,145,146,147,148,160,165,174,177],[65,66,67,68,69,70,71,72,73,74,75,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],[67,129,137,140,141,144,146,147,148,160],[67,129,137,141,144,146,148,160],[67,129,137,141,144,146,147,148,149,160,177],[67,129,137,140,141,144,146,147,148,150,160,165],[67,129,137,141,144,146,147,148,151,160],[67,129,137,141,144,146,147,148,152,160],[67,129,137,140,141,144,146,147,148,155,160],[67,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],[67,129,137,141,144,146,147,148,157,160],[67,129,137,141,144,146,147,148,158,160],[67,129,134,137,141,144,146,147,148,150,160,168],[67,129,137,140,141,144,146,147,148,160,161],[67,129,137,141,144,146,147,148,160,162,178,181],[67,129,137,140,141,144,146,147,148,160,165,167,168],[67,129,137,141,144,146,147,148,160,166,168],[67,129,137,141,144,146,147,148,160,168,178],[67,129,137,141,144,146,147,148,160,169],[67,126,129,137,141,144,146,147,148,160,165,171],[67,129,137,141,144,146,147,148,160,165,170],[67,129,137,140,141,144,146,147,148,160,172,173],[67,129,137,141,144,146,147,148,160,172,173],[67,129,134,137,141,144,146,147,148,150,160,165,174],[67,129,137,141,144,146,147,148,160,175],[67,129,137,141,144,146,147,148,150,160,176],[67,129,137,141,143,144,146,147,148,158,160,177],[67,129,137,141,144,146,147,148,160,178,179],[67,129,134,137,141,144,146,147,148,160,179],[67,129,137,141,144,146,147,148,160,165,180],[67,129,137,141,144,146,147,148,149,160,181],[67,129,137,141,144,146,147,148,160,182],[67,129,132,137,141,144,146,147,148,160],[67,129,134,137,141,144,146,147,148,160],[67,129,137,141,144,146,147,148,160,178],[67,116,129,137,141,144,146,147,148,160],[67,129,137,141,144,146,147,148,160,177],[67,129,137,141,144,146,147,148,160,183],[67,129,137,141,144,146,147,148,155,160],[67,129,137,141,144,146,147,148,160,173],[67,116,129,137,140,141,142,144,146,147,148,155,160,165,168,177,180,181,183],[67,129,137,141,144,146,147,148,160,165,184],[67,82,85,88,89,129,137,141,144,146,147,148,160,177],[67,85,129,137,141,144,146,147,148,160,165,177],[67,85,89,129,137,141,144,146,147,148,160,177],[67,129,137,141,144,146,147,148,160,165],[67,79,129,137,141,144,146,147,148,160],[67,83,129,137,141,144,146,147,148,160],[67,81,82,85,129,137,141,144,146,147,148,160,177],[67,129,137,141,144,146,147,148,150,160,174],[67,129,137,141,144,146,147,148,160,185],[67,79,129,137,141,144,146,147,148,160,185],[67,81,85,129,137,141,144,146,147,148,150,160,177],[67,76,77,78,80,84,129,137,140,141,144,146,147,148,160,165,177],[67,85,93,101,129,137,141,144,146,147,148,160],[67,77,83,129,137,141,144,146,147,148,160],[67,85,110,111,129,137,141,144,146,147,148,160],[67,77,80,85,129,137,141,144,146,147,148,160,168,177,185],[67,85,129,137,141,144,146,147,148,160],[67,81,85,129,137,141,144,146,147,148,160,177],[67,76,129,137,141,144,146,147,148,160],[67,79,80,81,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,111,112,113,114,115,129,137,141,144,146,147,148,160],[67,85,103,106,129,137,141,144,146,147,148,160],[67,85,93,94,95,129,137,141,144,146,147,148,160],[67,83,85,94,96,129,137,141,144,146,147,148,160],[67,84,129,137,141,144,146,147,148,160],[67,77,79,85,129,137,141,144,146,147,148,160],[67,85,89,94,96,129,137,141,144,146,147,148,160],[67,89,129,137,141,144,146,147,148,160],[67,83,85,88,129,137,141,144,146,147,148,160,177],[67,77,81,85,93,129,137,141,144,146,147,148,160],[67,85,103,129,137,141,144,146,147,148,160],[67,96,129,137,141,144,146,147,148,160],[67,79,85,110,129,137,141,144,146,147,148,160,168,183,185]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7c16947a9bd3f49feb8dfa13c3b29ad829fc93a426aaa36ec43b601d81e78e1","signature":"5cf75f92a7dea1caa727e883c572ad9e2272ee4092b4f001e0a0c29f37cd7a07","impliedFormat":99},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"438b41419b1df9f1fbe33b5e1b18f5853432be205991d1b19f5b7f351675541e","affectsGlobalScope":true,"impliedFormat":1},{"version":"096116f8fedc1765d5bd6ef360c257b4a9048e5415054b3bf3c41b07f8951b0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"dd0109710de4cd93e245121ab86d8c66d20f3ead80074b68e9c3e349c4f53342","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"435b3711465425770ed2ee2f1cf00ce071835265e0851a7dc4600ab4b007550e","impliedFormat":1},{"version":"7e49f52a159435fc8df4de9dc377ef5860732ca2dc9efec1640531d3cf5da7a3","impliedFormat":1},{"version":"dd4bde4bdc2e5394aed6855e98cf135dfdf5dd6468cad842e03116d31bbcc9bc","impliedFormat":1},{"version":"4d4e879009a84a47c05350b8dca823036ba3a29a3038efed1be76c9f81e45edf","affectsGlobalScope":true,"impliedFormat":1},{"version":"cf83d90d5faf27b994c2e79af02e32b555dbfe42cd9bd1571445f2168d1f4e2d","impliedFormat":1},{"version":"9ba13b47cb450a438e3076c4a3f6afb9dc85e17eae50f26d4b2d72c0688c9251","impliedFormat":1},{"version":"b64cd4401633ea4ecadfd700ddc8323a13b63b106ac7127c1d2726f32424622c","impliedFormat":1},{"version":"37c6e5fe5715814412b43cc9b50b24c67a63c4e04e753e0d1305970d65417a60","impliedFormat":1},{"version":"0e28335ac43f4d94dd2fe6d9e6fa6813570640839addd10d309d7985f33a6308","impliedFormat":1},{"version":"ee0e4946247f842c6dd483cbb60a5e6b484fee07996e3a7bc7343dfb68a04c5d","impliedFormat":1},{"version":"ef051f42b7e0ef5ca04552f54c4552eac84099d64b6c5ad0ef4033574b6035b8","impliedFormat":1},{"version":"853a43154f1d01b0173d9cbd74063507ece57170bad7a3b68f3fa1229ad0a92f","impliedFormat":1},{"version":"56231e3c39a031bfb0afb797690b20ed4537670c93c0318b72d5180833d98b72","impliedFormat":1},{"version":"5cc7c39031bfd8b00ad58f32143d59eb6ffc24f5d41a20931269011dccd36c5e","impliedFormat":1},{"version":"b0b69c61b0f0ec8ca15db4c8c41f6e77f4cacb784d42bca948f42dea33e8757e","affectsGlobalScope":true,"impliedFormat":1},{"version":"f96a48183254c00d24575401f1a761b4ce4927d927407e7862a83e06ce5d6964","impliedFormat":1},{"version":"cc25940cfb27aa538e60d465f98bb5068d4d7d33131861ace43f04fe6947d68f","impliedFormat":1},{"version":"e6f370b5c1d52edabb93ef055d0c0c396a98be77db8aa022fcc3670787b8b5f5","impliedFormat":1},{"version":"01ff95aa1443e3f7248974e5a771f513cb2ac158c8898f470a1792f817bee497","impliedFormat":1},{"version":"9d96a7ce809392ff2cb99691acf7c62e632fe56897356ba013b689277aca3619","impliedFormat":1},{"version":"42a05d8f239f74587d4926aba8cc54792eed8e8a442c7adc9b38b516642aadfe","impliedFormat":1},{"version":"5d21b58d60383cc6ab9ad3d3e265d7d25af24a2c9b506247e0e50b0a884920be","impliedFormat":1},{"version":"101f482fd48cb4c7c0468dcc6d62c843d842977aea6235644b1edd05e81fbf22","impliedFormat":1},{"version":"ae6757460f37078884b1571a3de3ebaf724d827d7e1d53626c02b3c2a408ac63","affectsGlobalScope":true,"impliedFormat":1},{"version":"27c0a08e343c6a0ae17bd13ba6d44a9758236dc904cd5e4b43456996cd51f520","impliedFormat":1},{"version":"3ef397f12387eff17f550bc484ea7c27d21d43816bbe609d495107f44b97e933","impliedFormat":1},{"version":"1023282e2ba810bc07905d3668349fbd37a26411f0c8f94a70ef3c05fe523fcf","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"6f80e51ba310608cd71bcdc09a171d7bbfb3b316048601c9ec215ce16a8dcfbc","impliedFormat":1},{"version":"10947bb49601aeec9ea1dddf61ef6e4f8442f949bd40a8008e12b129deb037be","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f2c62938251b45715fd2a9887060ec4fbc8724727029d1cbce373747252bdd7","impliedFormat":1},{"version":"e3ace08b6bbd84655d41e244677b474fd995923ffef7149ddb68af8848b60b05","impliedFormat":1},{"version":"132580b0e86c48fab152bab850fc57a4b74fe915c8958d2ccb052b809a44b61c","impliedFormat":1},{"version":"af4ab0aa8908fc9a655bb833d3bc28e117c4f0e1038c5a891546158beb25accb","impliedFormat":1},{"version":"69c9a5a9392e8564bd81116e1ed93b13205201fb44cb35a7fde8c9f9e21c4b23","impliedFormat":1},{"version":"5f8fc37f8434691ffac1bfd8fc2634647da2c0e84253ab5d2dd19a7718915b35","impliedFormat":1},{"version":"5981c2340fd8b076cae8efbae818d42c11ffc615994cb060b1cd390795f1be2b","impliedFormat":1},{"version":"1641d32611fc7aa82cdd9fa38ff18349aac4eda9e032ced76b21943673887f9a","impliedFormat":1},{"version":"ed4f674fc8c0c993cc7e145069ac44129e03519b910c62be206a0cc777bdc60b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0250da3eb85c99624f974e77ef355cdf86f43980251bc371475c2b397ba55bcd","impliedFormat":1},{"version":"f1c93e046fb3d9b7f8249629f4b63dc068dd839b824dd0aa39a5e68476dc9420","impliedFormat":1},{"version":"3d3a5f27ffbc06c885dd4d5f9ee20de61faf877fe2c3a7051c4825903d9a7fdc","impliedFormat":1},{"version":"12806f9f085598ef930edaf2467a5fa1789a878fba077cd27e85dc5851e11834","impliedFormat":1},{"version":"17d06eb5709839c7ce719f0c38ada6f308fb433f2cd6d8c87b35856e07400950","impliedFormat":1},{"version":"a43fe41c33d0a192a0ecaf9b92e87bef3709c9972e6d53c42c49251ccb962d69","impliedFormat":1},{"version":"a177959203c017fad3ecc4f3d96c8757a840957a4959a3ae00dab9d35961ca6c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc727ccf9b36e257ff982ea0badeffbfc2c151802f741bddff00c6af3b784cf","impliedFormat":1},{"version":"2a00d005e3af99cd1cfa75220e60c61b04bfb6be7ca7453bfe2ef6cca37cc03c","impliedFormat":1},{"version":"4844a4c9b4b1e812b257676ed8a80b3f3be0e29bf05e742cc2ea9c3c6865e6c6","impliedFormat":1},{"version":"064878a60367e0407c42fb7ba02a2ea4d83257357dc20088e549bd4d89433e9c","impliedFormat":1},{"version":"14d4bd22d1b05824971b98f7e91b2484c90f1a684805c330476641417c3d9735","impliedFormat":1},{"version":"586eaf66bace2e731cee0ddfbfac326ad74a83c1acfeac4afb2db85ad23226c7","impliedFormat":1},{"version":"b484ec11ba00e3a2235562a41898d55372ccabe607986c6fa4f4aba72093749f","impliedFormat":1},{"version":"d1a14d87cedcf4f0b8173720d6eb29cc02878bf2b6dabf9c9d9cee742f275368","impliedFormat":1},{"version":"41ef7992c555671a8fe54db302788adefa191ded810a50329b79d20a6772d14c","impliedFormat":1},{"version":"041a7781b9127ab568d2cdcce62c58fdea7c7407f40b8c50045d7866a2727130","impliedFormat":1},{"version":"b37f83e7deea729aa9ce5593f78905afb45b7532fdff63041d374f60059e7852","impliedFormat":1},{"version":"e1cb68f3ef3a8dd7b2a9dfb3de482ed6c0f1586ba0db4e7d73c1d2147b6ffc51","impliedFormat":1},{"version":"55cdbeebe76a1fa18bbd7e7bf73350a2173926bd3085bb050cf5a5397025ee4e","impliedFormat":1}],"root":[64],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":10},"referencedMap":[[126,1],[127,1],[128,2],[67,3],[129,4],[130,5],[131,6],[65,7],[132,8],[133,9],[134,10],[135,11],[136,12],[137,13],[138,13],[139,14],[140,15],[141,16],[142,17],[68,7],[66,7],[143,18],[144,19],[145,20],[185,21],[146,22],[147,23],[148,22],[149,24],[150,25],[151,26],[152,27],[153,27],[154,27],[155,28],[156,29],[157,30],[158,31],[159,32],[160,33],[161,33],[162,34],[163,7],[164,7],[165,35],[166,36],[167,35],[168,37],[169,38],[170,39],[171,40],[172,41],[173,42],[174,43],[175,44],[176,45],[177,46],[178,47],[179,48],[180,49],[181,50],[182,51],[69,22],[70,7],[71,52],[72,53],[73,7],[74,54],[75,7],[117,55],[118,56],[119,57],[120,57],[121,58],[122,7],[123,4],[124,59],[125,56],[183,60],[184,61],[62,7],[63,7],[12,7],[11,7],[2,7],[13,7],[14,7],[15,7],[16,7],[17,7],[18,7],[19,7],[20,7],[3,7],[21,7],[22,7],[4,7],[23,7],[27,7],[24,7],[25,7],[26,7],[28,7],[29,7],[30,7],[5,7],[31,7],[32,7],[33,7],[34,7],[6,7],[38,7],[35,7],[36,7],[37,7],[39,7],[7,7],[40,7],[45,7],[46,7],[41,7],[42,7],[43,7],[44,7],[8,7],[50,7],[47,7],[48,7],[49,7],[51,7],[9,7],[52,7],[53,7],[54,7],[56,7],[55,7],[57,7],[58,7],[10,7],[59,7],[1,7],[60,7],[61,7],[93,62],[105,63],[91,64],[106,65],[115,66],[82,67],[83,68],[81,69],[114,70],[109,71],[113,72],[85,73],[102,74],[84,75],[112,76],[79,77],[80,71],[86,78],[87,7],[92,79],[90,78],[77,80],[116,81],[107,82],[96,83],[95,78],[97,84],[100,85],[94,86],[98,87],[110,70],[88,88],[89,89],[101,90],[78,65],[104,91],[103,78],[99,92],[108,7],[76,7],[111,93],[64,7]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
|