call-ai 0.0.0-dev-prompts
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.md +232 -0
- package/README.md +264 -0
- package/api-core.d.ts +13 -0
- package/api-core.js +238 -0
- package/api-core.js.map +1 -0
- package/api.d.ts +4 -0
- package/api.js +365 -0
- package/api.js.map +1 -0
- package/api.ts.off +595 -0
- package/env.d.ts +22 -0
- package/env.js +65 -0
- package/env.js.map +1 -0
- package/error-handling.d.ts +14 -0
- package/error-handling.js +144 -0
- package/error-handling.js.map +1 -0
- package/image.d.ts +2 -0
- package/image.js +72 -0
- package/image.js.map +1 -0
- package/index.d.ts +7 -0
- package/index.js +8 -0
- package/index.js.map +1 -0
- package/index.ts.bak +16 -0
- package/key-management.d.ts +29 -0
- package/key-management.js +190 -0
- package/key-management.js.map +1 -0
- package/non-streaming.d.ts +7 -0
- package/non-streaming.js +206 -0
- package/non-streaming.js.map +1 -0
- package/package.json +43 -0
- package/response-metadata.d.ts +6 -0
- package/response-metadata.js +22 -0
- package/response-metadata.js.map +1 -0
- package/strategies/index.d.ts +2 -0
- package/strategies/index.js +3 -0
- package/strategies/index.js.map +1 -0
- package/strategies/model-strategies.d.ts +6 -0
- package/strategies/model-strategies.js +138 -0
- package/strategies/model-strategies.js.map +1 -0
- package/strategies/strategy-selector.d.ts +2 -0
- package/strategies/strategy-selector.js +66 -0
- package/strategies/strategy-selector.js.map +1 -0
- package/streaming.d.ts +4 -0
- package/streaming.js +365 -0
- package/streaming.js.map +1 -0
- package/streaming.ts.off +571 -0
- package/tsconfig.json +18 -0
- package/types.d.ts +228 -0
- package/types.js +33 -0
- package/types.js.map +1 -0
- package/utils.d.ts +8 -0
- package/utils.js +42 -0
- package/utils.js.map +1 -0
- package/version.d.ts +1 -0
- package/version.js +2 -0
- package/version.js.map +1 -0
package/types.d.ts
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { callAi } from "./api.js";
|
|
2
|
+
export type Falsy = false | null | undefined | 0 | "";
|
|
3
|
+
export interface OriginalError {
|
|
4
|
+
readonly originalError: Error;
|
|
5
|
+
readonly refreshError: Error;
|
|
6
|
+
readonly status: number;
|
|
7
|
+
}
|
|
8
|
+
export interface ContentItem {
|
|
9
|
+
readonly type: "text" | "image_url";
|
|
10
|
+
readonly text?: string;
|
|
11
|
+
readonly image_url?: {
|
|
12
|
+
readonly url: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export interface Message {
|
|
16
|
+
readonly role: "user" | "system" | "assistant";
|
|
17
|
+
readonly content: string | ContentItem[];
|
|
18
|
+
}
|
|
19
|
+
export interface ResponseMeta {
|
|
20
|
+
model: string;
|
|
21
|
+
endpoint?: string;
|
|
22
|
+
timing: {
|
|
23
|
+
readonly startTime: number;
|
|
24
|
+
endTime?: number;
|
|
25
|
+
duration?: number;
|
|
26
|
+
};
|
|
27
|
+
rawResponse?: ModelId | string;
|
|
28
|
+
}
|
|
29
|
+
export interface ModelId {
|
|
30
|
+
readonly model: string;
|
|
31
|
+
readonly id: string;
|
|
32
|
+
}
|
|
33
|
+
export interface Schema {
|
|
34
|
+
readonly name?: string;
|
|
35
|
+
readonly properties: Record<string, unknown>;
|
|
36
|
+
readonly required?: string[];
|
|
37
|
+
readonly additionalProperties?: boolean;
|
|
38
|
+
readonly [key: string]: unknown;
|
|
39
|
+
}
|
|
40
|
+
export interface ToolUseType {
|
|
41
|
+
readonly type: "tool_use";
|
|
42
|
+
readonly input: string;
|
|
43
|
+
readonly tool_calls: OpenAIFunctionCall[];
|
|
44
|
+
}
|
|
45
|
+
export declare function isToolUseType(obj: unknown): obj is ToolUseType;
|
|
46
|
+
export interface ToolUseResponse {
|
|
47
|
+
readonly tool_use: {
|
|
48
|
+
readonly input: string;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export declare function isToolUseResponse(obj: unknown): obj is ToolUseResponse;
|
|
52
|
+
export interface AIResult {
|
|
53
|
+
choices: {
|
|
54
|
+
message: {
|
|
55
|
+
content?: string;
|
|
56
|
+
function_call: string | ToolUseType | ToolUseResponse;
|
|
57
|
+
tool_calls?: string;
|
|
58
|
+
};
|
|
59
|
+
text?: string;
|
|
60
|
+
}[];
|
|
61
|
+
}
|
|
62
|
+
export interface OpenAIFunctionCall {
|
|
63
|
+
readonly type: "function";
|
|
64
|
+
readonly function: {
|
|
65
|
+
readonly arguments?: string;
|
|
66
|
+
readonly name?: string;
|
|
67
|
+
readonly description?: string;
|
|
68
|
+
readonly parameters?: RequestSchema | ProcessedSchema;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export declare function isOpenAIArray(obj: unknown): obj is OpenAIFunctionCall[];
|
|
72
|
+
export interface RequestSchema {
|
|
73
|
+
model?: string;
|
|
74
|
+
name?: string;
|
|
75
|
+
type: "object";
|
|
76
|
+
description?: string;
|
|
77
|
+
properties?: unknown;
|
|
78
|
+
required?: unknown[];
|
|
79
|
+
parameters?: RequestSchema;
|
|
80
|
+
additionalProperties?: unknown;
|
|
81
|
+
}
|
|
82
|
+
export interface SchemaAIMessageRequest {
|
|
83
|
+
model: string;
|
|
84
|
+
messages: Message[];
|
|
85
|
+
max_tokens: number;
|
|
86
|
+
temperature: number;
|
|
87
|
+
top_p: number;
|
|
88
|
+
stream: boolean;
|
|
89
|
+
response_format?: SchemaAIJsonSchemaRequest["response_format"] | SchemaAIJsonObjectRequest["response_format"];
|
|
90
|
+
[key: string]: unknown;
|
|
91
|
+
}
|
|
92
|
+
export interface ProcessedSchema {
|
|
93
|
+
properties: Record<string, unknown>;
|
|
94
|
+
items?: ProcessedSchema;
|
|
95
|
+
[key: string]: unknown;
|
|
96
|
+
}
|
|
97
|
+
export interface SchemaType {
|
|
98
|
+
readonly type: string;
|
|
99
|
+
}
|
|
100
|
+
export interface SchemaDescription {
|
|
101
|
+
readonly description: string;
|
|
102
|
+
}
|
|
103
|
+
export interface SchemaAIJsonObjectRequest {
|
|
104
|
+
response_format: {
|
|
105
|
+
type: "json_object";
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
export interface SchemaAIJsonSchemaRequest {
|
|
109
|
+
response_format: {
|
|
110
|
+
type: "json_schema";
|
|
111
|
+
json_schema: {
|
|
112
|
+
name: string;
|
|
113
|
+
strict?: boolean;
|
|
114
|
+
schema: ProcessedSchema;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
interface SchemaAIToolRequest {
|
|
119
|
+
tools: OpenAIFunctionCall[];
|
|
120
|
+
tool_choice: OpenAIFunctionCall;
|
|
121
|
+
}
|
|
122
|
+
interface SchemaAISimpleMsg {
|
|
123
|
+
readonly messages: Message[];
|
|
124
|
+
}
|
|
125
|
+
export interface ModelStrategy {
|
|
126
|
+
readonly name: string;
|
|
127
|
+
readonly prepareRequest: (schema: Schema | Falsy, messages: Message[]) => SchemaAISimpleMsg | SchemaAIMessageRequest | SchemaAIToolRequest | SchemaAIJsonSchemaRequest | SchemaAIJsonObjectRequest;
|
|
128
|
+
readonly processResponse: (content: string | ToolUseType | ToolUseResponse | OpenAIFunctionCall[]) => string;
|
|
129
|
+
readonly shouldForceStream?: boolean;
|
|
130
|
+
}
|
|
131
|
+
export interface CallAIErrorParams {
|
|
132
|
+
readonly message: string;
|
|
133
|
+
readonly status: number;
|
|
134
|
+
readonly statusText?: string;
|
|
135
|
+
readonly details?: unknown;
|
|
136
|
+
readonly contentType?: string;
|
|
137
|
+
readonly statusCode?: number;
|
|
138
|
+
readonly response?: {
|
|
139
|
+
readonly status: number;
|
|
140
|
+
};
|
|
141
|
+
readonly partialContent?: string;
|
|
142
|
+
readonly name?: string;
|
|
143
|
+
readonly cause?: unknown;
|
|
144
|
+
readonly originalError?: CallAIErrorParams | Error;
|
|
145
|
+
readonly refreshError?: unknown;
|
|
146
|
+
readonly errorType?: string;
|
|
147
|
+
}
|
|
148
|
+
export declare class CallAIError extends Error {
|
|
149
|
+
readonly message: string;
|
|
150
|
+
readonly status: number;
|
|
151
|
+
readonly statusText?: string;
|
|
152
|
+
readonly details?: unknown;
|
|
153
|
+
readonly contentType?: string;
|
|
154
|
+
readonly originalError?: CallAIErrorParams | Error;
|
|
155
|
+
readonly refreshError?: unknown;
|
|
156
|
+
readonly errorType?: string;
|
|
157
|
+
readonly partialContent?: string;
|
|
158
|
+
constructor(params: CallAIErrorParams);
|
|
159
|
+
}
|
|
160
|
+
export type SchemaStrategyType = "json_schema" | "tool_mode" | "system_message" | "none";
|
|
161
|
+
export interface SchemaStrategy {
|
|
162
|
+
readonly strategy: SchemaStrategyType;
|
|
163
|
+
readonly model: string;
|
|
164
|
+
readonly prepareRequest: ModelStrategy["prepareRequest"];
|
|
165
|
+
readonly processResponse: ModelStrategy["processResponse"];
|
|
166
|
+
readonly shouldForceStream: boolean;
|
|
167
|
+
}
|
|
168
|
+
export type StreamResponse = AsyncGenerator<string, string, unknown>;
|
|
169
|
+
export type ThenableStreamResponse = AsyncGenerator<string, string, unknown> & Promise<StreamResponse>;
|
|
170
|
+
export interface CallAIOptions {
|
|
171
|
+
readonly apiKey?: string;
|
|
172
|
+
readonly model?: string;
|
|
173
|
+
readonly endpoint?: string;
|
|
174
|
+
readonly chatUrl?: string;
|
|
175
|
+
stream?: boolean;
|
|
176
|
+
refreshToken?: string;
|
|
177
|
+
readonly updateRefreshToken?: (currentToken: string) => Promise<string>;
|
|
178
|
+
readonly schema?: Schema | null;
|
|
179
|
+
readonly modalities?: string[];
|
|
180
|
+
readonly skipRetry?: boolean;
|
|
181
|
+
readonly skipRefresh?: boolean;
|
|
182
|
+
readonly debug?: boolean;
|
|
183
|
+
readonly referer?: string;
|
|
184
|
+
readonly title?: string;
|
|
185
|
+
readonly schemaStrategy?: SchemaStrategy;
|
|
186
|
+
readonly maxTokens?: number;
|
|
187
|
+
temperature?: number;
|
|
188
|
+
readonly topP?: number;
|
|
189
|
+
response_format?: {
|
|
190
|
+
type: "json_object";
|
|
191
|
+
};
|
|
192
|
+
readonly mock?: Mocks;
|
|
193
|
+
[key: string]: unknown;
|
|
194
|
+
}
|
|
195
|
+
export interface Mocks {
|
|
196
|
+
readonly fetch?: typeof fetch;
|
|
197
|
+
readonly callAI?: typeof callAi;
|
|
198
|
+
}
|
|
199
|
+
export interface AIResponse {
|
|
200
|
+
readonly text: string;
|
|
201
|
+
readonly usage?: {
|
|
202
|
+
readonly promptTokens: number;
|
|
203
|
+
readonly completionTokens: number;
|
|
204
|
+
readonly totalTokens: number;
|
|
205
|
+
};
|
|
206
|
+
readonly model: string;
|
|
207
|
+
}
|
|
208
|
+
export interface ImageResponse {
|
|
209
|
+
readonly created: number;
|
|
210
|
+
readonly data: {
|
|
211
|
+
readonly b64_json: string;
|
|
212
|
+
readonly url?: string;
|
|
213
|
+
readonly revised_prompt?: string;
|
|
214
|
+
}[];
|
|
215
|
+
}
|
|
216
|
+
export interface ImageGenOptions {
|
|
217
|
+
readonly apiKey?: string;
|
|
218
|
+
readonly model?: string;
|
|
219
|
+
readonly size?: string;
|
|
220
|
+
readonly quality?: string;
|
|
221
|
+
readonly style?: string;
|
|
222
|
+
readonly images?: File[];
|
|
223
|
+
readonly imgUrl?: string;
|
|
224
|
+
readonly debug?: boolean;
|
|
225
|
+
readonly mock?: Mocks;
|
|
226
|
+
}
|
|
227
|
+
export type ImageEditOptions = ImageGenOptions;
|
|
228
|
+
export {};
|
package/types.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export function isToolUseType(obj) {
|
|
2
|
+
return !!obj && obj.type === "tool_use";
|
|
3
|
+
}
|
|
4
|
+
export function isToolUseResponse(obj) {
|
|
5
|
+
return !!obj && obj.tool_use !== undefined;
|
|
6
|
+
}
|
|
7
|
+
export function isOpenAIArray(obj) {
|
|
8
|
+
return Array.isArray(obj) && obj.length > 0 && obj[0].function !== undefined;
|
|
9
|
+
}
|
|
10
|
+
export class CallAIError extends Error {
|
|
11
|
+
message;
|
|
12
|
+
status;
|
|
13
|
+
statusText;
|
|
14
|
+
details;
|
|
15
|
+
contentType;
|
|
16
|
+
originalError;
|
|
17
|
+
refreshError;
|
|
18
|
+
errorType;
|
|
19
|
+
partialContent;
|
|
20
|
+
constructor(params) {
|
|
21
|
+
super(params.message);
|
|
22
|
+
this.message = params.message;
|
|
23
|
+
this.status = params.status;
|
|
24
|
+
this.statusText = params.statusText;
|
|
25
|
+
this.details = params.details;
|
|
26
|
+
this.contentType = params.contentType;
|
|
27
|
+
this.originalError = params.originalError;
|
|
28
|
+
this.partialContent = params.partialContent;
|
|
29
|
+
this.refreshError = params.refreshError;
|
|
30
|
+
this.errorType = params.errorType;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=types.js.map
|
package/types.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../jsr/types.ts"],"names":[],"mappings":"AAkGA,MAAM,UAAU,aAAa,CAAC,GAAY,EAAsB;IAC9D,OAAO,CAAC,CAAC,GAAG,IAAK,GAAmB,CAAC,IAAI,KAAK,UAAU,CAAC;AAAA,CAC1D;AAOD,MAAM,UAAU,iBAAiB,CAAC,GAAY,EAA0B;IACtE,OAAO,CAAC,CAAC,GAAG,IAAK,GAAuB,CAAC,QAAQ,KAAK,SAAS,CAAC;AAAA,CACjE;AAuBD,MAAM,UAAU,aAAa,CAAC,GAAY,EAA+B;IACvE,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC;AAAA,CAC9E;AA+FD,MAAM,OAAO,WAAY,SAAQ,KAAK;IAC3B,OAAO,CAAS;IAChB,MAAM,CAAS;IACf,UAAU,CAAU;IACpB,OAAO,CAAW;IAClB,WAAW,CAAU;IACrB,aAAa,CAA6B;IAC1C,YAAY,CAAW;IACvB,SAAS,CAAU;IACnB,cAAc,CAAU;IAEjC,YAAY,MAAyB,EAAE;QACrC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC;QAC1C,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;QACxC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IAAA,CACnC;CACF"}
|
package/utils.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ProcessedSchema } from "./types.js";
|
|
2
|
+
export declare function recursivelyAddAdditionalProperties(schema: ProcessedSchema): ProcessedSchema;
|
|
3
|
+
export declare function entriesHeaders(headers: Headers): [string, string][];
|
|
4
|
+
export declare function callAiFetch(options: {
|
|
5
|
+
mock?: {
|
|
6
|
+
fetch?: typeof fetch;
|
|
7
|
+
};
|
|
8
|
+
}): typeof fetch;
|
package/utils.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export function recursivelyAddAdditionalProperties(schema) {
|
|
2
|
+
const result = { ...schema };
|
|
3
|
+
if (result.type === "object") {
|
|
4
|
+
if (result.additionalProperties === undefined) {
|
|
5
|
+
result.additionalProperties = false;
|
|
6
|
+
}
|
|
7
|
+
if (result.properties) {
|
|
8
|
+
result.properties = { ...result.properties };
|
|
9
|
+
if (result.required === undefined) {
|
|
10
|
+
result.required = Object.keys(result.properties);
|
|
11
|
+
}
|
|
12
|
+
Object.keys(result.properties).forEach((key) => {
|
|
13
|
+
const prop = result.properties[key];
|
|
14
|
+
if (prop && typeof prop === "object") {
|
|
15
|
+
const oprop = prop;
|
|
16
|
+
result.properties[key] = recursivelyAddAdditionalProperties(oprop);
|
|
17
|
+
if (oprop.type === "object" && oprop.properties) {
|
|
18
|
+
oprop.required = Object.keys(oprop.properties);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
if (result.type === "array" && result.items && typeof result.items === "object") {
|
|
25
|
+
result.items = recursivelyAddAdditionalProperties(result.items);
|
|
26
|
+
if (result.items.type === "object" && result.items.properties) {
|
|
27
|
+
result.items.required = Object.keys(result.items.properties);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return result;
|
|
31
|
+
}
|
|
32
|
+
export function entriesHeaders(headers) {
|
|
33
|
+
const entries = [];
|
|
34
|
+
headers.forEach((value, key) => {
|
|
35
|
+
entries.push([key, value]);
|
|
36
|
+
});
|
|
37
|
+
return entries;
|
|
38
|
+
}
|
|
39
|
+
export function callAiFetch(options) {
|
|
40
|
+
return options.mock?.fetch || globalThis.fetch;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=utils.js.map
|
package/utils.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../jsr/utils.ts"],"names":[],"mappings":"AAWA,MAAM,UAAU,kCAAkC,CAAC,MAAuB,EAAmB;IAE3F,MAAM,MAAM,GAAG,EAAE,GAAG,MAAM,EAAE,CAAC;IAG7B,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAE7B,IAAI,MAAM,CAAC,oBAAoB,KAAK,SAAS,EAAE,CAAC;YAC9C,MAAM,CAAC,oBAAoB,GAAG,KAAK,CAAC;QACtC,CAAC;QAGD,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;YACtB,MAAM,CAAC,UAAU,GAAG,EAAE,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;YAG7C,IAAI,MAAM,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;gBAClC,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;YACnD,CAAC;YAGD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC;gBAC9C,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;gBAGpC,IAAI,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;oBACrC,MAAM,KAAK,GAAG,IAAuB,CAAC;oBACtC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,kCAAkC,CAAC,KAAK,CAAC,CAAC;oBAGnE,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;wBAChD,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;oBACjD,CAAC;gBACH,CAAC;YAAA,CACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAGD,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO,IAAI,MAAM,CAAC,KAAK,IAAI,OAAO,MAAM,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;QAChF,MAAM,CAAC,KAAK,GAAG,kCAAkC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAGhE,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;YAC9D,MAAM,CAAC,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAAA,CACf;AAED,MAAM,UAAU,cAAc,CAAC,OAAgB,EAAE;IAC/C,MAAM,OAAO,GAAuB,EAAE,CAAC;IACvC,OAAO,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC;QAC9B,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;IAAA,CAC5B,CAAC,CAAC;IACH,OAAO,OAAO,CAAC;AAAA,CAChB;AAED,MAAM,UAAU,WAAW,CAAC,OAA4C,EAAgB;IACtF,OAAO,OAAO,CAAC,IAAI,EAAE,KAAK,IAAI,UAAU,CAAC,KAAK,CAAC;AAAA,CAChD"}
|
package/version.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PACKAGE_VERSION = "0.0.1";
|
package/version.js
ADDED
package/version.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../jsr/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC"}
|