@ddse/acm-llm 0.5.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 DDSE Foundation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,231 @@
1
+ # @ddse/acm-llm
2
+
3
+ OpenAI-compatible LLM client with streaming support for Ollama and vLLM.
4
+
5
+ ## Overview
6
+
7
+ The LLM package provides a unified client interface for local LLM providers using the OpenAI-compatible API format. It supports both standard request/response and streaming modes.
8
+
9
+ ## Installation
10
+
11
+ ```bash
12
+ pnpm add @ddse/acm-llm @ddse/acm-sdk
13
+ ```
14
+
15
+ ## Features
16
+
17
+ - ✅ OpenAI-compatible API interface
18
+ - ✅ Streaming support
19
+ - ✅ Works with Ollama and vLLM out of the box
20
+ - ✅ Configurable base URLs
21
+ - ✅ Optional API key support
22
+ - ✅ Zero external dependencies
23
+
24
+ ## Usage
25
+
26
+ ### Basic Usage with Ollama
27
+
28
+ ```typescript
29
+ import { createOllamaClient } from '@ddse/acm-llm';
30
+
31
+ const client = createOllamaClient('llama3.1');
32
+
33
+ const response = await client.generate([
34
+ { role: 'user', content: 'What is 2+2?' }
35
+ ], {
36
+ temperature: 0.7,
37
+ maxTokens: 100,
38
+ });
39
+
40
+ console.log(response.text);
41
+ ```
42
+
43
+ ### Streaming
44
+
45
+ ```typescript
46
+ import { createOllamaClient } from '@ddse/acm-llm';
47
+
48
+ const client = createOllamaClient('llama3.1');
49
+
50
+ for await (const chunk of client.generateStream([
51
+ { role: 'user', content: 'Count to 10' }
52
+ ])) {
53
+ if (!chunk.done) {
54
+ process.stdout.write(chunk.delta);
55
+ }
56
+ }
57
+ ```
58
+
59
+ ### Using vLLM
60
+
61
+ ```typescript
62
+ import { createVLLMClient } from '@ddse/acm-llm';
63
+
64
+ const client = createVLLMClient('qwen2.5:7b');
65
+
66
+ const response = await client.generate([
67
+ { role: 'system', content: 'You are a helpful assistant.' },
68
+ { role: 'user', content: 'Hello!' }
69
+ ]);
70
+ ```
71
+
72
+ ### Custom Configuration
73
+
74
+ ```typescript
75
+ import { OpenAICompatClient } from '@ddse/acm-llm';
76
+
77
+ const client = new OpenAICompatClient({
78
+ baseUrl: 'http://localhost:8000/v1',
79
+ apiKey: 'optional-key',
80
+ model: 'my-model',
81
+ name: 'my-provider',
82
+ });
83
+ ```
84
+
85
+ ### With ACM Planner
86
+
87
+ ```typescript
88
+ import { createOllamaClient } from '@ddse/acm-llm';
89
+ import { StructuredLLMPlanner } from '@ddse/acm-planner';
90
+
91
+ const llm = createOllamaClient('llama3.1');
92
+ const planner = new StructuredLLMPlanner();
93
+
94
+ const { plans } = await planner.plan({
95
+ goal: { id: 'g1', intent: 'Process order' },
96
+ context: { id: 'ctx1', facts: { orderId: 'O123' } },
97
+ capabilities: [{ name: 'search' }, { name: 'process' }],
98
+ llm,
99
+ });
100
+ ```
101
+
102
+ ## API Reference
103
+
104
+ ### OpenAICompatClient
105
+
106
+ **Constructor:**
107
+ ```typescript
108
+ new OpenAICompatClient({
109
+ baseUrl: string;
110
+ apiKey?: string;
111
+ model: string;
112
+ name: string;
113
+ })
114
+ ```
115
+
116
+ **Methods:**
117
+
118
+ #### name(): string
119
+ Returns the provider name.
120
+
121
+ #### generate(messages, opts?): Promise<LLMResponse>
122
+ Generate a completion.
123
+
124
+ **Parameters:**
125
+ - `messages: ChatMessage[]` - Array of chat messages
126
+ - `opts?: { temperature?, seed?, maxTokens? }` - Optional generation options
127
+
128
+ **Returns:** `Promise<LLMResponse>`
129
+ ```typescript
130
+ {
131
+ text: string;
132
+ tokens?: number;
133
+ raw?: any;
134
+ }
135
+ ```
136
+
137
+ #### generateStream(messages, opts?): AsyncIterableIterator<LLMStreamChunk>
138
+ Generate a streaming completion.
139
+
140
+ **Parameters:**
141
+ - Same as `generate()`
142
+
143
+ **Yields:** `LLMStreamChunk`
144
+ ```typescript
145
+ {
146
+ delta: string;
147
+ done: boolean;
148
+ }
149
+ ```
150
+
151
+ ### Helper Functions
152
+
153
+ #### createOllamaClient(model, baseUrl?)
154
+ Create a client for Ollama.
155
+
156
+ **Defaults:**
157
+ - baseUrl: `http://localhost:11434/v1`
158
+
159
+ #### createVLLMClient(model, baseUrl?)
160
+ Create a client for vLLM.
161
+
162
+ **Defaults:**
163
+ - baseUrl: `http://localhost:8000/v1`
164
+
165
+ ## Types
166
+
167
+ ### ChatMessage
168
+ ```typescript
169
+ type ChatMessage = {
170
+ role: 'system' | 'user' | 'assistant';
171
+ content: string;
172
+ };
173
+ ```
174
+
175
+ ### LLMResponse
176
+ ```typescript
177
+ type LLMResponse = {
178
+ text: string;
179
+ tokens?: number;
180
+ raw?: any;
181
+ };
182
+ ```
183
+
184
+ ### LLMStreamChunk
185
+ ```typescript
186
+ type LLMStreamChunk = {
187
+ delta: string;
188
+ done: boolean;
189
+ };
190
+ ```
191
+
192
+ ## Provider Setup
193
+
194
+ ### Ollama
195
+
196
+ 1. Install Ollama from https://ollama.ai
197
+ 2. Pull a model: `ollama pull llama3.1`
198
+ 3. Start server: `ollama serve`
199
+ 4. Default endpoint: http://localhost:11434/v1
200
+
201
+ ### vLLM
202
+
203
+ 1. Install vLLM: `pip install vllm`
204
+ 2. Start server: `vllm serve <model-name> --port 8000`
205
+ 3. Default endpoint: http://localhost:8000/v1
206
+
207
+ ## Error Handling
208
+
209
+ The client throws errors for:
210
+ - Network failures
211
+ - Invalid responses
212
+ - Non-2xx status codes
213
+
214
+ ```typescript
215
+ try {
216
+ const response = await client.generate([...]);
217
+ } catch (error) {
218
+ console.error('LLM error:', error.message);
219
+ }
220
+ ```
221
+
222
+ ## Performance Tips
223
+
224
+ - Use streaming for long responses to improve UX
225
+ - Set appropriate `maxTokens` limits
226
+ - Use `temperature: 0` for deterministic outputs
227
+ - Set `seed` for reproducible generation
228
+
229
+ ## License
230
+
231
+ Apache-2.0
@@ -0,0 +1,30 @@
1
+ import type { LLM, ChatMessage, LLMResponse, LLMStreamChunk, ToolDefinition, LLMToolResponse } from './types.js';
2
+ export type OpenAICompatConfig = {
3
+ baseUrl: string;
4
+ apiKey?: string;
5
+ model: string;
6
+ name: string;
7
+ };
8
+ export declare class OpenAICompatClient implements LLM {
9
+ private config;
10
+ constructor(config: OpenAICompatConfig);
11
+ name(): string;
12
+ generate(messages: ChatMessage[], opts?: {
13
+ temperature?: number;
14
+ seed?: number;
15
+ maxTokens?: number;
16
+ }): Promise<LLMResponse>;
17
+ generateStream(messages: ChatMessage[], opts?: {
18
+ temperature?: number;
19
+ seed?: number;
20
+ maxTokens?: number;
21
+ }): AsyncIterableIterator<LLMStreamChunk>;
22
+ generateWithTools(messages: ChatMessage[], tools: ToolDefinition[], opts?: {
23
+ temperature?: number;
24
+ seed?: number;
25
+ maxTokens?: number;
26
+ }): Promise<LLMToolResponse>;
27
+ }
28
+ export declare function createOllamaClient(model: string, baseUrl?: string): OpenAICompatClient;
29
+ export declare function createVLLMClient(model: string, baseUrl?: string): OpenAICompatClient;
30
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAY,MAAM,YAAY,CAAC;AAE3H,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,qBAAa,kBAAmB,YAAW,GAAG;IAChC,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,kBAAkB;IAE9C,IAAI,IAAI,MAAM;IAIR,QAAQ,CACZ,QAAQ,EAAE,WAAW,EAAE,EACvB,IAAI,CAAC,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,GACA,OAAO,CAAC,WAAW,CAAC;IAmChB,cAAc,CACnB,QAAQ,EAAE,WAAW,EAAE,EACvB,IAAI,CAAC,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,GACA,qBAAqB,CAAC,cAAc,CAAC;IA+ElC,iBAAiB,CACrB,QAAQ,EAAE,WAAW,EAAE,EACvB,KAAK,EAAE,cAAc,EAAE,EACvB,IAAI,CAAC,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,GACA,OAAO,CAAC,eAAe,CAAC;CAgE5B;AAGD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAMtF;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAMpF"}
package/dist/client.js ADDED
@@ -0,0 +1,179 @@
1
+ export class OpenAICompatClient {
2
+ config;
3
+ constructor(config) {
4
+ this.config = config;
5
+ }
6
+ name() {
7
+ return this.config.name;
8
+ }
9
+ async generate(messages, opts) {
10
+ const headers = {
11
+ 'Content-Type': 'application/json',
12
+ };
13
+ if (this.config.apiKey) {
14
+ headers['Authorization'] = `Bearer ${this.config.apiKey}`;
15
+ }
16
+ const response = await fetch(`${this.config.baseUrl}/chat/completions`, {
17
+ method: 'POST',
18
+ headers,
19
+ body: JSON.stringify({
20
+ model: this.config.model,
21
+ messages,
22
+ temperature: opts?.temperature ?? 0.7,
23
+ seed: opts?.seed,
24
+ max_tokens: opts?.maxTokens,
25
+ stream: false,
26
+ }),
27
+ });
28
+ if (!response.ok) {
29
+ throw new Error(`LLM API error: ${response.status} ${response.statusText}`);
30
+ }
31
+ const data = await response.json();
32
+ return {
33
+ text: data.choices?.[0]?.message?.content || '',
34
+ tokens: data.usage?.total_tokens,
35
+ raw: data,
36
+ };
37
+ }
38
+ async *generateStream(messages, opts) {
39
+ const headers = {
40
+ 'Content-Type': 'application/json',
41
+ };
42
+ if (this.config.apiKey) {
43
+ headers['Authorization'] = `Bearer ${this.config.apiKey}`;
44
+ }
45
+ const response = await fetch(`${this.config.baseUrl}/chat/completions`, {
46
+ method: 'POST',
47
+ headers,
48
+ body: JSON.stringify({
49
+ model: this.config.model,
50
+ messages,
51
+ temperature: opts?.temperature ?? 0.7,
52
+ seed: opts?.seed,
53
+ max_tokens: opts?.maxTokens,
54
+ stream: true,
55
+ }),
56
+ });
57
+ if (!response.ok) {
58
+ throw new Error(`LLM API error: ${response.status} ${response.statusText}`);
59
+ }
60
+ const reader = response.body?.getReader();
61
+ if (!reader) {
62
+ throw new Error('No response body');
63
+ }
64
+ const decoder = new TextDecoder();
65
+ let buffer = '';
66
+ try {
67
+ while (true) {
68
+ const { done, value } = await reader.read();
69
+ if (done) {
70
+ break;
71
+ }
72
+ buffer += decoder.decode(value, { stream: true });
73
+ const lines = buffer.split('\n');
74
+ buffer = lines.pop() || '';
75
+ for (const line of lines) {
76
+ const trimmed = line.trim();
77
+ if (!trimmed || trimmed === 'data: [DONE]') {
78
+ continue;
79
+ }
80
+ if (trimmed.startsWith('data: ')) {
81
+ try {
82
+ const data = JSON.parse(trimmed.substring(6));
83
+ const delta = data.choices?.[0]?.delta?.content || '';
84
+ if (delta) {
85
+ yield {
86
+ delta,
87
+ done: false,
88
+ };
89
+ }
90
+ }
91
+ catch (err) {
92
+ // Skip malformed JSON
93
+ }
94
+ }
95
+ }
96
+ }
97
+ yield {
98
+ delta: '',
99
+ done: true,
100
+ };
101
+ }
102
+ finally {
103
+ reader.releaseLock();
104
+ }
105
+ }
106
+ async generateWithTools(messages, tools, opts) {
107
+ const headers = {
108
+ 'Content-Type': 'application/json',
109
+ };
110
+ if (this.config.apiKey) {
111
+ headers['Authorization'] = `Bearer ${this.config.apiKey}`;
112
+ }
113
+ // Convert tools to OpenAI format
114
+ const openaiTools = tools.map(tool => ({
115
+ type: 'function',
116
+ function: {
117
+ name: tool.name,
118
+ description: tool.description,
119
+ parameters: tool.inputSchema,
120
+ },
121
+ }));
122
+ const response = await fetch(`${this.config.baseUrl}/chat/completions`, {
123
+ method: 'POST',
124
+ headers,
125
+ body: JSON.stringify({
126
+ model: this.config.model,
127
+ messages,
128
+ tools: openaiTools,
129
+ tool_choice: openaiTools.length > 0 ? 'required' : 'auto',
130
+ temperature: opts?.temperature ?? 0.7,
131
+ seed: opts?.seed,
132
+ max_tokens: opts?.maxTokens,
133
+ stream: false,
134
+ }),
135
+ });
136
+ if (!response.ok) {
137
+ throw new Error(`LLM API error: ${response.status} ${response.statusText}`);
138
+ }
139
+ const data = await response.json();
140
+ const choice = data.choices?.[0];
141
+ // Extract tool calls if present
142
+ const toolCalls = [];
143
+ if (choice?.message?.tool_calls) {
144
+ for (const tc of choice.message.tool_calls) {
145
+ toolCalls.push({
146
+ id: tc.id,
147
+ name: tc.function?.name || '',
148
+ arguments: tc.function?.arguments
149
+ ? (typeof tc.function.arguments === 'string'
150
+ ? JSON.parse(tc.function.arguments)
151
+ : tc.function.arguments)
152
+ : {},
153
+ });
154
+ }
155
+ }
156
+ return {
157
+ text: choice?.message?.content || '',
158
+ toolCalls: toolCalls.length > 0 ? toolCalls : undefined,
159
+ tokens: data.usage?.total_tokens,
160
+ raw: data,
161
+ };
162
+ }
163
+ }
164
+ // Presets for common providers
165
+ export function createOllamaClient(model, baseUrl) {
166
+ return new OpenAICompatClient({
167
+ baseUrl: baseUrl || 'http://localhost:11434/v1',
168
+ model,
169
+ name: 'ollama',
170
+ });
171
+ }
172
+ export function createVLLMClient(model, baseUrl) {
173
+ return new OpenAICompatClient({
174
+ baseUrl: baseUrl || 'http://localhost:8001/v1',
175
+ model,
176
+ name: 'vllm',
177
+ });
178
+ }
179
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAUA,MAAM,OAAO,kBAAkB;IACT;IAApB,YAAoB,MAA0B;QAA1B,WAAM,GAAN,MAAM,CAAoB;IAAG,CAAC;IAElD,IAAI;QACF,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;IAC1B,CAAC;IAED,KAAK,CAAC,QAAQ,CACZ,QAAuB,EACvB,IAIC;QAED,MAAM,OAAO,GAA2B;YACtC,cAAc,EAAE,kBAAkB;SACnC,CAAC;QAEF,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;YACvB,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU,IAAI,CAAC,M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oBAC7B,SAAS,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS;wBAC/B,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,SAAS,KAAK,QAAQ;4BACxC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC;4BACnC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC;wBAC5B,CAAC,CAAC,EAAE;iBACP,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,IAAI,EAAE;YACpC,SAAS,EAAE,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;YACvD,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,YAAY;YAChC,GAAG,EAAE,IAAI;SACV,CAAC;IACJ,CAAC;CACF;AAED,+BAA+B;AAC/B,MAAM,UAAU,kBAAkB,CAAC,KAAa,EAAE,OAAgB;IAChE,OAAO,IAAI,kBAAkB,CAAC;QAC5B,OAAO,EAAE,OAAO,IAAI,2BAA2B;QAC/C,KAAK;QACL,IAAI,EAAE,QAAQ;KACf,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,KAAa,EAAE,OAAgB;IAC9D,OAAO,IAAI,kBAAkB,CAAC;QAC5B,OAAO,EAAE,OAAO,IAAI,0BAA0B;QAC9C,KAAK;QACL,IAAI,EAAE,MAAM;KACb,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './types.js';
2
+ export * from './client.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ // LLM exports
2
+ export * from './types.js';
3
+ export * from './client.js';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC"}
@@ -0,0 +1,52 @@
1
+ export type ChatMessage = {
2
+ role: 'system' | 'user' | 'assistant';
3
+ content: string;
4
+ };
5
+ export type LLMResponse = {
6
+ text: string;
7
+ tokens?: number;
8
+ raw?: any;
9
+ };
10
+ export type LLMStreamChunk = {
11
+ delta: string;
12
+ done: boolean;
13
+ };
14
+ export type ToolDefinition = {
15
+ name: string;
16
+ description: string;
17
+ inputSchema: {
18
+ type: 'object';
19
+ properties: Record<string, any>;
20
+ required?: string[];
21
+ };
22
+ };
23
+ export type ToolCall = {
24
+ id: string;
25
+ name: string;
26
+ arguments: Record<string, any>;
27
+ };
28
+ export type LLMToolResponse = {
29
+ text?: string;
30
+ toolCalls?: ToolCall[];
31
+ tokens?: number;
32
+ raw?: any;
33
+ };
34
+ export interface LLM {
35
+ name(): string;
36
+ generate(messages: ChatMessage[], opts?: {
37
+ temperature?: number;
38
+ seed?: number;
39
+ maxTokens?: number;
40
+ }): Promise<LLMResponse>;
41
+ generateStream?(messages: ChatMessage[], opts?: {
42
+ temperature?: number;
43
+ seed?: number;
44
+ maxTokens?: number;
45
+ }): AsyncIterableIterator<LLMStreamChunk>;
46
+ generateWithTools?(messages: ChatMessage[], tools: ToolDefinition[], opts?: {
47
+ temperature?: number;
48
+ seed?: number;
49
+ maxTokens?: number;
50
+ }): Promise<LLMToolResponse>;
51
+ }
52
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,QAAQ,GAAG,MAAM,GAA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EACvB,IAAI,CAAC,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,GACA,qBAAqB,CAAC,cAAc,CAAC,CAAC;IAGzC,iBAAiB,CAAC,CAChB,QAAQ,EAAE,WAAW,EAAE,EACvB,KAAK,EAAE,cAAc,EAAE,EACvB,IAAI,CAAC,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,GACA,OAAO,CAAC,eAAe,CAAC,CAAC;CAC7B"}
package/dist/types.js ADDED
@@ -0,0 +1,3 @@
1
+ // LLM types and interfaces
2
+ export {};
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,2BAA2B"}
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@ddse/acm-llm",
3
+ "version": "0.5.0",
4
+ "description": "ACM v0.5 LLM - Provider-agnostic LLM client",
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
+ "dependencies": {
15
+ "@ddse/acm-sdk": "0.5.0"
16
+ },
17
+ "keywords": [
18
+ "acm",
19
+ "llm",
20
+ "openai"
21
+ ],
22
+ "license": "MIT",
23
+ "scripts": {
24
+ "build": "tsc",
25
+ "clean": "rm -rf dist",
26
+ "dev": "tsc --watch"
27
+ }
28
+ }
package/src/client.ts ADDED
@@ -0,0 +1,235 @@
1
+ // OpenAI-compatible client for Ollama and vLLM
2
+ import type { LLM, ChatMessage, LLMResponse, LLMStreamChunk, ToolDefinition, LLMToolResponse, ToolCall } from './types.js';
3
+
4
+ export type OpenAICompatConfig = {
5
+ baseUrl: string;
6
+ apiKey?: string;
7
+ model: string;
8
+ name: string;
9
+ };
10
+
11
+ export class OpenAICompatClient implements LLM {
12
+ constructor(private config: OpenAICompatConfig) {}
13
+
14
+ name(): string {
15
+ return this.config.name;
16
+ }
17
+
18
+ async generate(
19
+ messages: ChatMessage[],
20
+ opts?: {
21
+ temperature?: number;
22
+ seed?: number;
23
+ maxTokens?: number;
24
+ }
25
+ ): Promise<LLMResponse> {
26
+ const headers: Record<string, string> = {
27
+ 'Content-Type': 'application/json',
28
+ };
29
+
30
+ if (this.config.apiKey) {
31
+ headers['Authorization'] = `Bearer ${this.config.apiKey}`;
32
+ }
33
+
34
+ const response = await fetch(`${this.config.baseUrl}/chat/completions`, {
35
+ method: 'POST',
36
+ headers,
37
+ body: JSON.stringify({
38
+ model: this.config.model,
39
+ messages,
40
+ temperature: opts?.temperature ?? 0.7,
41
+ seed: opts?.seed,
42
+ max_tokens: opts?.maxTokens,
43
+ stream: false,
44
+ }),
45
+ });
46
+
47
+ if (!response.ok) {
48
+ throw new Error(`LLM API error: ${response.status} ${response.statusText}`);
49
+ }
50
+
51
+ const data = await response.json() as any;
52
+
53
+ return {
54
+ text: data.choices?.[0]?.message?.content || '',
55
+ tokens: data.usage?.total_tokens,
56
+ raw: data,
57
+ };
58
+ }
59
+
60
+ async *generateStream(
61
+ messages: ChatMessage[],
62
+ opts?: {
63
+ temperature?: number;
64
+ seed?: number;
65
+ maxTokens?: number;
66
+ }
67
+ ): AsyncIterableIterator<LLMStreamChunk> {
68
+ const headers: Record<string, string> = {
69
+ 'Content-Type': 'application/json',
70
+ };
71
+
72
+ if (this.config.apiKey) {
73
+ headers['Authorization'] = `Bearer ${this.config.apiKey}`;
74
+ }
75
+
76
+ const response = await fetch(`${this.config.baseUrl}/chat/completions`, {
77
+ method: 'POST',
78
+ headers,
79
+ body: JSON.stringify({
80
+ model: this.config.model,
81
+ messages,
82
+ temperature: opts?.temperature ?? 0.7,
83
+ seed: opts?.seed,
84
+ max_tokens: opts?.maxTokens,
85
+ stream: true,
86
+ }),
87
+ });
88
+
89
+ if (!response.ok) {
90
+ throw new Error(`LLM API error: ${response.status} ${response.statusText}`);
91
+ }
92
+
93
+ const reader = response.body?.getReader();
94
+ if (!reader) {
95
+ throw new Error('No response body');
96
+ }
97
+
98
+ const decoder = new TextDecoder();
99
+ let buffer = '';
100
+
101
+ try {
102
+ while (true) {
103
+ const { done, value } = await reader.read();
104
+
105
+ if (done) {
106
+ break;
107
+ }
108
+
109
+ buffer += decoder.decode(value, { stream: true });
110
+ const lines = buffer.split('\n');
111
+ buffer = lines.pop() || '';
112
+
113
+ for (const line of lines) {
114
+ const trimmed = line.trim();
115
+ if (!trimmed || trimmed === 'data: [DONE]') {
116
+ continue;
117
+ }
118
+
119
+ if (trimmed.startsWith('data: ')) {
120
+ try {
121
+ const data = JSON.parse(trimmed.substring(6)) as any;
122
+ const delta = data.choices?.[0]?.delta?.content || '';
123
+
124
+ if (delta) {
125
+ yield {
126
+ delta,
127
+ done: false,
128
+ };
129
+ }
130
+ } catch (err) {
131
+ // Skip malformed JSON
132
+ }
133
+ }
134
+ }
135
+ }
136
+
137
+ yield {
138
+ delta: '',
139
+ done: true,
140
+ };
141
+ } finally {
142
+ reader.releaseLock();
143
+ }
144
+ }
145
+
146
+ async generateWithTools(
147
+ messages: ChatMessage[],
148
+ tools: ToolDefinition[],
149
+ opts?: {
150
+ temperature?: number;
151
+ seed?: number;
152
+ maxTokens?: number;
153
+ }
154
+ ): Promise<LLMToolResponse> {
155
+ const headers: Record<string, string> = {
156
+ 'Content-Type': 'application/json',
157
+ };
158
+
159
+ if (this.config.apiKey) {
160
+ headers['Authorization'] = `Bearer ${this.config.apiKey}`;
161
+ }
162
+
163
+ // Convert tools to OpenAI format
164
+ const openaiTools = tools.map(tool => ({
165
+ type: 'function',
166
+ function: {
167
+ name: tool.name,
168
+ description: tool.description,
169
+ parameters: tool.inputSchema,
170
+ },
171
+ }));
172
+
173
+ const response = await fetch(`${this.config.baseUrl}/chat/completions`, {
174
+ method: 'POST',
175
+ headers,
176
+ body: JSON.stringify({
177
+ model: this.config.model,
178
+ messages,
179
+ tools: openaiTools,
180
+ tool_choice: openaiTools.length > 0 ? 'required' : 'auto',
181
+ temperature: opts?.temperature ?? 0.7,
182
+ seed: opts?.seed,
183
+ max_tokens: opts?.maxTokens,
184
+ stream: false,
185
+ }),
186
+ });
187
+
188
+ if (!response.ok) {
189
+ throw new Error(`LLM API error: ${response.status} ${response.statusText}`);
190
+ }
191
+
192
+ const data = await response.json() as any;
193
+ const choice = data.choices?.[0];
194
+
195
+ // Extract tool calls if present
196
+ const toolCalls: ToolCall[] = [];
197
+ if (choice?.message?.tool_calls) {
198
+ for (const tc of choice.message.tool_calls) {
199
+ toolCalls.push({
200
+ id: tc.id,
201
+ name: tc.function?.name || '',
202
+ arguments: tc.function?.arguments
203
+ ? (typeof tc.function.arguments === 'string'
204
+ ? JSON.parse(tc.function.arguments)
205
+ : tc.function.arguments)
206
+ : {},
207
+ });
208
+ }
209
+ }
210
+
211
+ return {
212
+ text: choice?.message?.content || '',
213
+ toolCalls: toolCalls.length > 0 ? toolCalls : undefined,
214
+ tokens: data.usage?.total_tokens,
215
+ raw: data,
216
+ };
217
+ }
218
+ }
219
+
220
+ // Presets for common providers
221
+ export function createOllamaClient(model: string, baseUrl?: string): OpenAICompatClient {
222
+ return new OpenAICompatClient({
223
+ baseUrl: baseUrl || 'http://localhost:11434/v1',
224
+ model,
225
+ name: 'ollama',
226
+ });
227
+ }
228
+
229
+ export function createVLLMClient(model: string, baseUrl?: string): OpenAICompatClient {
230
+ return new OpenAICompatClient({
231
+ baseUrl: baseUrl || 'http://localhost:8001/v1',
232
+ model,
233
+ name: 'vllm',
234
+ });
235
+ }
package/src/index.ts ADDED
@@ -0,0 +1,3 @@
1
+ // LLM exports
2
+ export * from './types.js';
3
+ export * from './client.js';
package/src/types.ts ADDED
@@ -0,0 +1,73 @@
1
+ // LLM types and interfaces
2
+
3
+ export type ChatMessage = {
4
+ role: 'system' | 'user' | 'assistant';
5
+ content: string;
6
+ };
7
+
8
+ export type LLMResponse = {
9
+ text: string;
10
+ tokens?: number;
11
+ raw?: any;
12
+ };
13
+
14
+ export type LLMStreamChunk = {
15
+ delta: string;
16
+ done: boolean;
17
+ };
18
+
19
+ // Tool call support for structured outputs
20
+ export type ToolDefinition = {
21
+ name: string;
22
+ description: string;
23
+ inputSchema: {
24
+ type: 'object';
25
+ properties: Record<string, any>;
26
+ required?: string[];
27
+ };
28
+ };
29
+
30
+ export type ToolCall = {
31
+ id: string;
32
+ name: string;
33
+ arguments: Record<string, any>;
34
+ };
35
+
36
+ export type LLMToolResponse = {
37
+ text?: string;
38
+ toolCalls?: ToolCall[];
39
+ tokens?: number;
40
+ raw?: any;
41
+ };
42
+
43
+ export interface LLM {
44
+ name(): string;
45
+ generate(
46
+ messages: ChatMessage[],
47
+ opts?: {
48
+ temperature?: number;
49
+ seed?: number;
50
+ maxTokens?: number;
51
+ }
52
+ ): Promise<LLMResponse>;
53
+
54
+ generateStream?(
55
+ messages: ChatMessage[],
56
+ opts?: {
57
+ temperature?: number;
58
+ seed?: number;
59
+ maxTokens?: number;
60
+ }
61
+ ): AsyncIterableIterator<LLMStreamChunk>;
62
+
63
+ // Tool-call generation mode
64
+ generateWithTools?(
65
+ messages: ChatMessage[],
66
+ tools: ToolDefinition[],
67
+ opts?: {
68
+ temperature?: number;
69
+ seed?: number;
70
+ maxTokens?: number;
71
+ }
72
+ ): Promise<LLMToolResponse>;
73
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "rootDir": "./src",
5
+ "outDir": "./dist"
6
+ },
7
+ "include": ["src/**/*"],
8
+ "references": [
9
+ { "path": "../acm-sdk" }
10
+ ]
11
+ }
@@ -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.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.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/types.ts","./src/client.ts","./src/index.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/compatibility/index.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/globals.typedarray.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/buffer.buffer.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/web-globals/domexception.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/web-globals/events.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/web-globals/fetch.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/inspector.generated.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@20.19.19/node_modules/@types/node/index.d.ts"],"fileIdsList":[[66,109,112],[66,111,112],[112],[66,112,117,145],[66,112,113,118,123,131,142,153],[66,112,113,114,123,131],[66,112],[61,62,63,66,112],[66,112,115,154],[66,112,116,117,124,132],[66,112,117,142,150],[66,112,118,120,123,131],[66,111,112,119],[66,112,120,121],[66,112,122,123],[66,111,112,123],[66,112,123,124,125,142,153],[66,112,123,124,125,138,142,145],[66,112,120,123,126,131,142,153],[66,112,123,124,126,127,131,142,150,153],[66,112,126,128,142,150,153],[64,65,66,67,68,69,70,108,109,110,111,112,113,114,115,116,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],[66,112,123,129],[66,112,130,153,158],[66,112,120,123,131,142],[66,112,132],[66,112,133],[66,111,112,134],[66,109,110,111,112,113,114,115,116,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],[66,112,136],[66,112,137],[66,112,123,138,139],[66,112,138,140,154,156],[66,112,123,142,143,145],[66,112,144,145],[66,112,142,143],[66,112,145],[66,112,146],[66,109,112,142,147],[66,112,123,148,149],[66,112,148,149],[66,112,117,131,142,150],[66,112,151],[66,112,131,152],[66,112,126,137,153],[66,112,117,154],[66,112,142,155],[66,112,130,156],[66,112,157],[66,107,112],[66,107,112,123,125,134,142,145,153,156,158],[66,112,142,159],[66,79,83,112,153],[66,79,112,142,153],[66,74,112],[66,76,79,112,150,153],[66,112,131,150],[66,112,160],[66,74,112,160],[66,76,79,112,131,153],[66,71,72,75,78,112,123,142,153],[66,79,86,112],[66,71,77,112],[66,79,100,101,112],[66,75,79,112,145,153,160],[66,100,112,160],[66,73,74,112,160],[66,79,112],[66,73,74,75,76,77,78,79,80,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,101,102,103,104,105,106,112],[66,79,94,112],[66,79,86,87,112],[66,77,79,87,88,112],[66,78,112],[66,71,74,79,112],[66,79,83,87,88,112],[66,83,112],[66,77,79,82,112,153],[66,71,76,79,86,112],[66,112,142],[66,74,79,100,112,158,160],[58,66,112],[58,59,66,112]],"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":"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":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"99a83935a9613c80337f55ff24aa58e65f44f6d4048be84447ec972fc09635b3","signature":"d7e46b5611815b448c8cfa87501e65d899fb162066975095f1c511c4bb585e58"},{"version":"559cea63ca108c940b67a1a2f4335e3d38b02948b13f3155ae76e8b72450f2e3","signature":"315ac28ad474d43bba200a825ef8fe729b3c28ff3a39158863b8417ba872973c"},{"version":"403a591a225660fd948878b127f3cfb6f3e550be59e51ac7cfd0b726cbc2b681","signature":"9959248254ecb76fa4820ba4308f1049136c8d034fa49f68d8087f6f2545131e"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"49a5a44f2e68241a1d2bd9ec894535797998841c09729e506a7cbfcaa40f2180","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e2e0a2dfc6bfabffacba3cc3395aa8197f30893942a2625bd9923ea34a27a3c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"2cbe0621042e2a68c7cbce5dfed3906a1862a16a7d496010636cdbdb91341c0f","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f","impliedFormat":1},{"version":"567b7f607f400873151d7bc63a049514b53c3c00f5f56e9e95695d93b66a138e","affectsGlobalScope":true,"impliedFormat":1},{"version":"823f9c08700a30e2920a063891df4e357c64333fdba6889522acc5b7ae13fc08","impliedFormat":1},{"version":"84c1930e33d1bb12ad01bcbe11d656f9646bd21b2fb2afd96e8e10615a021aef","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4b87f767c7bc841511113c876a6b8bf1fd0cb0b718c888ad84478b372ec486b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d04e3640dd9eb67f7f1e5bd3d0bf96c784666f7aefc8ac1537af6f2d38d4c29","impliedFormat":1},{"version":"9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","impliedFormat":1},{"version":"2bf469abae4cc9c0f340d4e05d9d26e37f936f9c8ca8f007a6534f109dcc77e4","impliedFormat":1},{"version":"4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"1d140fe7e071ea06038b6c5e01fea83f72d9d6d68e0d606a3d824323f5133388","affectsGlobalScope":true,"impliedFormat":1},{"version":"4c21aaa8257d7950a5b75a251d9075b6a371208fc948c9c8402f6690ef3b5b55","impliedFormat":1},{"version":"685657a3ec619ef12aa7f754eee3b28598d3bf9749da89839a72a343fffef5ff","impliedFormat":1},{"version":"0c52340a45f6a46b67d766210f921aed61a5f1defe9e708fa5d3389bdf743d98","impliedFormat":1},{"version":"de735eca2c51dd8b860254e9fdb6d9ec19fe402dfe597c23090841ce3937cfc5","impliedFormat":1},{"version":"fed70ffbe859d54d8c7e1ef8cc2bc38af99b00a273ebb69ac293d2cb656210bd","impliedFormat":1},{"version":"5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86","impliedFormat":1},{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true,"impliedFormat":1},{"version":"5155da3047ef977944d791a2188ff6e6c225f6975cc1910ab7bb6838ab84cede","impliedFormat":1},{"version":"93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","impliedFormat":1},{"version":"afbe24ab0d74694372baa632ecb28bb375be53f3be53f9b07ecd7fc994907de5","impliedFormat":1},{"version":"e16d218a30f6a6810b57f7e968124eaa08c7bb366133ea34bbf01e7cd6b8c0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb8692dea24c27821f77e397272d9ed2eda0b95e4a75beb0fdda31081d15a8ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"5b6844ad931dcc1d3aca53268f4bd671428421464b1286746027aede398094f2","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"0225ecb9ed86bdb7a2c7fd01f1556906902929377b44483dc4b83e03b3ef227d","affectsGlobalScope":true,"impliedFormat":1},{"version":"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","impliedFormat":1},{"version":"5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5","impliedFormat":1},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","impliedFormat":1},{"version":"e31e51c55800014d926e3f74208af49cb7352803619855c89296074d1ecbb524","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"dfb96ba5177b68003deec9e773c47257da5c4c8a74053d8956389d832df72002","affectsGlobalScope":true,"impliedFormat":1},{"version":"92d3070580cf72b4bb80959b7f16ede9a3f39e6f4ef2ac87cfa4561844fdc69f","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3dffd70e6375b872f0b4e152de4ae682d762c61a24881ecc5eb9f04c5caf76f","impliedFormat":1},{"version":"613deebaec53731ff6b74fe1a89f094b708033db6396b601df3e6d5ab0ec0a47","impliedFormat":1},{"version":"d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c","impliedFormat":1},{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","impliedFormat":1},{"version":"b1810689b76fd473bd12cc9ee219f8e62f54a7d08019a235d07424afbf074d25","impliedFormat":1}],"root":[[58,60]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":7,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[109,1],[110,1],[111,2],[66,3],[112,4],[113,5],[114,6],[61,7],[64,8],[62,7],[63,7],[115,9],[116,10],[117,11],[118,12],[119,13],[120,14],[121,14],[122,15],[123,16],[124,17],[125,18],[67,7],[65,7],[126,19],[127,20],[128,21],[160,22],[129,23],[130,24],[131,25],[132,26],[133,27],[134,28],[135,29],[136,30],[137,31],[138,32],[139,32],[140,33],[141,7],[142,34],[144,35],[143,36],[145,37],[146,38],[147,39],[148,40],[149,41],[150,42],[151,43],[152,44],[153,45],[154,46],[155,47],[156,48],[157,49],[68,7],[69,7],[70,7],[108,50],[158,51],[159,52],[56,7],[57,7],[11,7],[10,7],[2,7],[12,7],[13,7],[14,7],[15,7],[16,7],[17,7],[18,7],[19,7],[3,7],[20,7],[21,7],[4,7],[22,7],[26,7],[23,7],[24,7],[25,7],[27,7],[28,7],[29,7],[5,7],[30,7],[31,7],[32,7],[33,7],[6,7],[37,7],[34,7],[35,7],[36,7],[38,7],[7,7],[39,7],[44,7],[45,7],[40,7],[41,7],[42,7],[43,7],[8,7],[49,7],[46,7],[47,7],[48,7],[50,7],[9,7],[51,7],[52,7],[53,7],[55,7],[54,7],[1,7],[86,53],[96,54],[85,53],[106,55],[77,56],[76,57],[105,58],[99,59],[104,60],[79,61],[93,62],[78,63],[102,64],[74,65],[73,58],[103,66],[75,67],[80,68],[81,7],[84,68],[71,7],[107,69],[97,70],[88,71],[89,72],[91,73],[87,74],[90,75],[100,58],[82,76],[83,77],[92,78],[72,79],[95,70],[94,68],[98,7],[101,80],[59,81],[60,82],[58,7]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}