devchain-cli 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -14
- package/dist/cli.js +11 -1
- package/dist/node_modules/@devchain/shared/index.d.ts +3 -0
- package/dist/node_modules/@devchain/shared/index.d.ts.map +1 -0
- package/dist/node_modules/@devchain/shared/index.js +3 -0
- package/dist/node_modules/@devchain/shared/index.js.map +1 -0
- package/dist/node_modules/@devchain/shared/package.json +6 -0
- package/dist/node_modules/@devchain/shared/schemas/export-schema.d.ts +599 -0
- package/dist/node_modules/@devchain/shared/schemas/export-schema.d.ts.map +1 -0
- package/dist/node_modules/@devchain/shared/schemas/export-schema.js +143 -0
- package/dist/node_modules/@devchain/shared/schemas/export-schema.js.map +1 -0
- package/dist/node_modules/@devchain/shared/schemas/index.d.ts +2 -0
- package/dist/node_modules/@devchain/shared/schemas/index.d.ts.map +1 -0
- package/dist/node_modules/@devchain/shared/schemas/index.js +2 -0
- package/dist/node_modules/@devchain/shared/schemas/index.js.map +1 -0
- package/dist/node_modules/@devchain/shared/tsconfig.tsbuildinfo +1 -0
- package/dist/node_modules/@devchain/shared/utils/index.d.ts +2 -0
- package/dist/node_modules/@devchain/shared/utils/index.d.ts.map +1 -0
- package/dist/node_modules/@devchain/shared/utils/index.js +2 -0
- package/dist/node_modules/@devchain/shared/utils/index.js.map +1 -0
- package/dist/node_modules/@devchain/shared/utils/semver.d.ts +17 -0
- package/dist/node_modules/@devchain/shared/utils/semver.d.ts.map +1 -0
- package/dist/node_modules/@devchain/shared/utils/semver.js +103 -0
- package/dist/node_modules/@devchain/shared/utils/semver.js.map +1 -0
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -71,20 +71,6 @@ devchain stop
|
|
|
71
71
|
devchain --help
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
## Monorepo Structure
|
|
75
|
-
|
|
76
|
-
This is a pnpm monorepo with multiple packages:
|
|
77
|
-
|
|
78
|
-
| Package | Published | Description |
|
|
79
|
-
|---------|-----------|-------------|
|
|
80
|
-
| `devchain-cli` (root) | npm | CLI tool distributed via npm |
|
|
81
|
-
| `apps/local-app` | No | Main application (bundled into CLI) |
|
|
82
|
-
| `apps/remote-api` | No | Remote API service |
|
|
83
|
-
| `apps/template-registry` | No | Template registry service (self-hosted) |
|
|
84
|
-
| `packages/shared` | No | Shared types and utilities |
|
|
85
|
-
|
|
86
|
-
Only the root `devchain-cli` package is published to npm. Other packages are either bundled into the CLI or deployed separately.
|
|
87
|
-
|
|
88
74
|
## License
|
|
89
75
|
|
|
90
76
|
[Elastic License 2.0](LICENSE) — Free to use. You may not provide this software as a managed service or competing commercial offering.
|
package/dist/cli.js
CHANGED
|
@@ -541,10 +541,11 @@ function getTmuxErrorMessage(osType) {
|
|
|
541
541
|
|
|
542
542
|
async function main(argv) {
|
|
543
543
|
const program = new Command();
|
|
544
|
+
const pkg = require('../package.json');
|
|
544
545
|
program
|
|
545
546
|
.name('devchain')
|
|
546
547
|
.description('Devchain — Local-first AI agent orchestration')
|
|
547
|
-
.version(
|
|
548
|
+
.version(pkg.version);
|
|
548
549
|
|
|
549
550
|
const startCommand = program
|
|
550
551
|
.command('start [args...]')
|
|
@@ -911,6 +912,15 @@ async function main(argv) {
|
|
|
911
912
|
process.exit(1);
|
|
912
913
|
}
|
|
913
914
|
|
|
915
|
+
// Add bundled node_modules to NODE_PATH for @devchain/shared resolution
|
|
916
|
+
const bundledNodeModules = join(__dirname, '..', 'dist', 'node_modules');
|
|
917
|
+
if (existsSync(bundledNodeModules)) {
|
|
918
|
+
process.env.NODE_PATH = process.env.NODE_PATH
|
|
919
|
+
? `${bundledNodeModules}:${process.env.NODE_PATH}`
|
|
920
|
+
: bundledNodeModules;
|
|
921
|
+
require('module').Module._initPaths();
|
|
922
|
+
}
|
|
923
|
+
|
|
914
924
|
// Start server (main.js bootstraps immediately)
|
|
915
925
|
const spinner = opts.foreground ? null : cli.spinner('Starting server');
|
|
916
926
|
if (spinner) spinner.start();
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { ExportSchema, type ExportData, type ExportDataInput, ManifestSchema, type ManifestData, } from './schemas/index.js';
|
|
2
|
+
export { parseSemVer, isValidSemVer, compareSemVer, isGreaterThan, isLessThan, isEqual, sortVersions, getLatestVersion, formatSemVer, type SemVer, } from './utils/index.js';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,YAAY,EACZ,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,cAAc,EACd,KAAK,YAAY,GAClB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,WAAW,EACX,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,KAAK,MAAM,GACZ,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,YAAY,EAGZ,cAAc,GAEf,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,WAAW,EACX,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,YAAY,GAEb,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,599 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ManifestSchema: z.ZodObject<{
|
|
3
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
category: z.ZodOptional<z.ZodEnum<["development", "planning", "custom"]>>;
|
|
7
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8
|
+
authorName: z.ZodOptional<z.ZodString>;
|
|
9
|
+
minDevchainVersion: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
10
|
+
isOfficial: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
version: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
12
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
13
|
+
changelog: z.ZodOptional<z.ZodString>;
|
|
14
|
+
gitCommit: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, "strict", z.ZodTypeAny, {
|
|
16
|
+
name: string;
|
|
17
|
+
slug?: string | undefined;
|
|
18
|
+
description?: string | null | undefined;
|
|
19
|
+
category?: "development" | "planning" | "custom" | undefined;
|
|
20
|
+
tags?: string[] | undefined;
|
|
21
|
+
authorName?: string | undefined;
|
|
22
|
+
minDevchainVersion?: string | undefined;
|
|
23
|
+
isOfficial?: boolean | undefined;
|
|
24
|
+
version?: string | undefined;
|
|
25
|
+
publishedAt?: string | undefined;
|
|
26
|
+
changelog?: string | undefined;
|
|
27
|
+
gitCommit?: string | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
name: string;
|
|
30
|
+
slug?: string | undefined;
|
|
31
|
+
description?: string | null | undefined;
|
|
32
|
+
category?: "development" | "planning" | "custom" | undefined;
|
|
33
|
+
tags?: string[] | undefined;
|
|
34
|
+
authorName?: string | undefined;
|
|
35
|
+
minDevchainVersion?: string | undefined;
|
|
36
|
+
isOfficial?: boolean | undefined;
|
|
37
|
+
version?: string | undefined;
|
|
38
|
+
publishedAt?: string | undefined;
|
|
39
|
+
changelog?: string | undefined;
|
|
40
|
+
gitCommit?: string | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
export type ManifestData = z.infer<typeof ManifestSchema>;
|
|
43
|
+
export declare const ExportSchema: z.ZodObject<{
|
|
44
|
+
version: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
45
|
+
exportedAt: z.ZodOptional<z.ZodString>;
|
|
46
|
+
prompts: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
|
+
id: z.ZodOptional<z.ZodString>;
|
|
48
|
+
title: z.ZodString;
|
|
49
|
+
content: z.ZodDefault<z.ZodString>;
|
|
50
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
tags: string[];
|
|
54
|
+
title: string;
|
|
55
|
+
content: string;
|
|
56
|
+
version?: number | undefined;
|
|
57
|
+
id?: string | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
title: string;
|
|
60
|
+
tags?: string[] | undefined;
|
|
61
|
+
version?: number | undefined;
|
|
62
|
+
id?: string | undefined;
|
|
63
|
+
content?: string | undefined;
|
|
64
|
+
}>, "many">>>;
|
|
65
|
+
profiles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
66
|
+
id: z.ZodOptional<z.ZodString>;
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
provider: z.ZodObject<{
|
|
69
|
+
id: z.ZodOptional<z.ZodString>;
|
|
70
|
+
name: z.ZodString;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
name: string;
|
|
73
|
+
id?: string | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
name: string;
|
|
76
|
+
id?: string | undefined;
|
|
77
|
+
}>;
|
|
78
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
79
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
81
|
+
maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
name: string;
|
|
84
|
+
provider: {
|
|
85
|
+
name: string;
|
|
86
|
+
id?: string | undefined;
|
|
87
|
+
};
|
|
88
|
+
options?: unknown;
|
|
89
|
+
id?: string | undefined;
|
|
90
|
+
instructions?: string | null | undefined;
|
|
91
|
+
temperature?: number | null | undefined;
|
|
92
|
+
maxTokens?: number | null | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
name: string;
|
|
95
|
+
provider: {
|
|
96
|
+
name: string;
|
|
97
|
+
id?: string | undefined;
|
|
98
|
+
};
|
|
99
|
+
options?: unknown;
|
|
100
|
+
id?: string | undefined;
|
|
101
|
+
instructions?: string | null | undefined;
|
|
102
|
+
temperature?: number | null | undefined;
|
|
103
|
+
maxTokens?: number | null | undefined;
|
|
104
|
+
}>, "many">>>;
|
|
105
|
+
agents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
106
|
+
id: z.ZodOptional<z.ZodString>;
|
|
107
|
+
name: z.ZodString;
|
|
108
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
109
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110
|
+
}, "strip", z.ZodTypeAny, {
|
|
111
|
+
name: string;
|
|
112
|
+
description?: string | null | undefined;
|
|
113
|
+
id?: string | undefined;
|
|
114
|
+
profileId?: string | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
name: string;
|
|
117
|
+
description?: string | null | undefined;
|
|
118
|
+
id?: string | undefined;
|
|
119
|
+
profileId?: string | undefined;
|
|
120
|
+
}>, "many">>>;
|
|
121
|
+
statuses: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
122
|
+
id: z.ZodOptional<z.ZodString>;
|
|
123
|
+
label: z.ZodString;
|
|
124
|
+
color: z.ZodString;
|
|
125
|
+
position: z.ZodNumber;
|
|
126
|
+
mcpHidden: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
label: string;
|
|
129
|
+
color: string;
|
|
130
|
+
position: number;
|
|
131
|
+
mcpHidden: boolean;
|
|
132
|
+
id?: string | undefined;
|
|
133
|
+
}, {
|
|
134
|
+
label: string;
|
|
135
|
+
color: string;
|
|
136
|
+
position: number;
|
|
137
|
+
id?: string | undefined;
|
|
138
|
+
mcpHidden?: boolean | undefined;
|
|
139
|
+
}>, "many">>>;
|
|
140
|
+
initialPrompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
141
|
+
promptId: z.ZodOptional<z.ZodString>;
|
|
142
|
+
title: z.ZodOptional<z.ZodString>;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
title?: string | undefined;
|
|
145
|
+
promptId?: string | undefined;
|
|
146
|
+
}, {
|
|
147
|
+
title?: string | undefined;
|
|
148
|
+
promptId?: string | undefined;
|
|
149
|
+
}>>>;
|
|
150
|
+
projectSettings: z.ZodOptional<z.ZodObject<{
|
|
151
|
+
initialPromptTitle: z.ZodOptional<z.ZodString>;
|
|
152
|
+
autoCleanStatusLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
153
|
+
epicAssignedTemplate: z.ZodOptional<z.ZodString>;
|
|
154
|
+
messagePoolSettings: z.ZodOptional<z.ZodObject<{
|
|
155
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
156
|
+
delayMs: z.ZodOptional<z.ZodNumber>;
|
|
157
|
+
maxWaitMs: z.ZodOptional<z.ZodNumber>;
|
|
158
|
+
maxMessages: z.ZodOptional<z.ZodNumber>;
|
|
159
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
enabled?: boolean | undefined;
|
|
162
|
+
delayMs?: number | undefined;
|
|
163
|
+
maxWaitMs?: number | undefined;
|
|
164
|
+
maxMessages?: number | undefined;
|
|
165
|
+
separator?: string | undefined;
|
|
166
|
+
}, {
|
|
167
|
+
enabled?: boolean | undefined;
|
|
168
|
+
delayMs?: number | undefined;
|
|
169
|
+
maxWaitMs?: number | undefined;
|
|
170
|
+
maxMessages?: number | undefined;
|
|
171
|
+
separator?: string | undefined;
|
|
172
|
+
}>>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
initialPromptTitle?: string | undefined;
|
|
175
|
+
autoCleanStatusLabels?: string[] | undefined;
|
|
176
|
+
epicAssignedTemplate?: string | undefined;
|
|
177
|
+
messagePoolSettings?: {
|
|
178
|
+
enabled?: boolean | undefined;
|
|
179
|
+
delayMs?: number | undefined;
|
|
180
|
+
maxWaitMs?: number | undefined;
|
|
181
|
+
maxMessages?: number | undefined;
|
|
182
|
+
separator?: string | undefined;
|
|
183
|
+
} | undefined;
|
|
184
|
+
}, {
|
|
185
|
+
initialPromptTitle?: string | undefined;
|
|
186
|
+
autoCleanStatusLabels?: string[] | undefined;
|
|
187
|
+
epicAssignedTemplate?: string | undefined;
|
|
188
|
+
messagePoolSettings?: {
|
|
189
|
+
enabled?: boolean | undefined;
|
|
190
|
+
delayMs?: number | undefined;
|
|
191
|
+
maxWaitMs?: number | undefined;
|
|
192
|
+
maxMessages?: number | undefined;
|
|
193
|
+
separator?: string | undefined;
|
|
194
|
+
} | undefined;
|
|
195
|
+
}>>;
|
|
196
|
+
watchers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
197
|
+
id: z.ZodOptional<z.ZodString>;
|
|
198
|
+
name: z.ZodString;
|
|
199
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
+
enabled: z.ZodBoolean;
|
|
201
|
+
scope: z.ZodEnum<["all", "agent", "profile", "provider"]>;
|
|
202
|
+
scopeFilterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
|
+
pollIntervalMs: z.ZodNumber;
|
|
204
|
+
viewportLines: z.ZodNumber;
|
|
205
|
+
condition: z.ZodObject<{
|
|
206
|
+
type: z.ZodEnum<["contains", "regex", "not_contains"]>;
|
|
207
|
+
pattern: z.ZodString;
|
|
208
|
+
flags: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
type: "contains" | "regex" | "not_contains";
|
|
211
|
+
pattern: string;
|
|
212
|
+
flags?: string | undefined;
|
|
213
|
+
}, {
|
|
214
|
+
type: "contains" | "regex" | "not_contains";
|
|
215
|
+
pattern: string;
|
|
216
|
+
flags?: string | undefined;
|
|
217
|
+
}>;
|
|
218
|
+
cooldownMs: z.ZodNumber;
|
|
219
|
+
cooldownMode: z.ZodEnum<["time", "until_clear"]>;
|
|
220
|
+
eventName: z.ZodString;
|
|
221
|
+
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
name: string;
|
|
223
|
+
enabled: boolean;
|
|
224
|
+
scope: "provider" | "all" | "agent" | "profile";
|
|
225
|
+
pollIntervalMs: number;
|
|
226
|
+
viewportLines: number;
|
|
227
|
+
condition: {
|
|
228
|
+
type: "contains" | "regex" | "not_contains";
|
|
229
|
+
pattern: string;
|
|
230
|
+
flags?: string | undefined;
|
|
231
|
+
};
|
|
232
|
+
cooldownMs: number;
|
|
233
|
+
cooldownMode: "time" | "until_clear";
|
|
234
|
+
eventName: string;
|
|
235
|
+
description?: string | null | undefined;
|
|
236
|
+
id?: string | undefined;
|
|
237
|
+
scopeFilterName?: string | null | undefined;
|
|
238
|
+
}, {
|
|
239
|
+
name: string;
|
|
240
|
+
enabled: boolean;
|
|
241
|
+
scope: "provider" | "all" | "agent" | "profile";
|
|
242
|
+
pollIntervalMs: number;
|
|
243
|
+
viewportLines: number;
|
|
244
|
+
condition: {
|
|
245
|
+
type: "contains" | "regex" | "not_contains";
|
|
246
|
+
pattern: string;
|
|
247
|
+
flags?: string | undefined;
|
|
248
|
+
};
|
|
249
|
+
cooldownMs: number;
|
|
250
|
+
cooldownMode: "time" | "until_clear";
|
|
251
|
+
eventName: string;
|
|
252
|
+
description?: string | null | undefined;
|
|
253
|
+
id?: string | undefined;
|
|
254
|
+
scopeFilterName?: string | null | undefined;
|
|
255
|
+
}>, "many">>>;
|
|
256
|
+
subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
|
+
id: z.ZodOptional<z.ZodString>;
|
|
258
|
+
name: z.ZodString;
|
|
259
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
260
|
+
enabled: z.ZodBoolean;
|
|
261
|
+
eventName: z.ZodString;
|
|
262
|
+
eventFilter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
263
|
+
field: z.ZodString;
|
|
264
|
+
operator: z.ZodEnum<["equals", "contains", "regex"]>;
|
|
265
|
+
value: z.ZodString;
|
|
266
|
+
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
value: string;
|
|
268
|
+
field: string;
|
|
269
|
+
operator: "contains" | "regex" | "equals";
|
|
270
|
+
}, {
|
|
271
|
+
value: string;
|
|
272
|
+
field: string;
|
|
273
|
+
operator: "contains" | "regex" | "equals";
|
|
274
|
+
}>>>;
|
|
275
|
+
actionType: z.ZodString;
|
|
276
|
+
actionInputs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
277
|
+
source: z.ZodEnum<["event_field", "custom"]>;
|
|
278
|
+
eventField: z.ZodOptional<z.ZodString>;
|
|
279
|
+
customValue: z.ZodOptional<z.ZodString>;
|
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
|
281
|
+
source: "custom" | "event_field";
|
|
282
|
+
eventField?: string | undefined;
|
|
283
|
+
customValue?: string | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
source: "custom" | "event_field";
|
|
286
|
+
eventField?: string | undefined;
|
|
287
|
+
customValue?: string | undefined;
|
|
288
|
+
}>>;
|
|
289
|
+
delayMs: z.ZodNumber;
|
|
290
|
+
cooldownMs: z.ZodNumber;
|
|
291
|
+
retryOnError: z.ZodBoolean;
|
|
292
|
+
groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
293
|
+
position: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
294
|
+
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
295
|
+
}, "strip", z.ZodTypeAny, {
|
|
296
|
+
name: string;
|
|
297
|
+
position: number;
|
|
298
|
+
enabled: boolean;
|
|
299
|
+
delayMs: number;
|
|
300
|
+
cooldownMs: number;
|
|
301
|
+
eventName: string;
|
|
302
|
+
actionType: string;
|
|
303
|
+
actionInputs: Record<string, {
|
|
304
|
+
source: "custom" | "event_field";
|
|
305
|
+
eventField?: string | undefined;
|
|
306
|
+
customValue?: string | undefined;
|
|
307
|
+
}>;
|
|
308
|
+
retryOnError: boolean;
|
|
309
|
+
priority: number;
|
|
310
|
+
description?: string | null | undefined;
|
|
311
|
+
id?: string | undefined;
|
|
312
|
+
eventFilter?: {
|
|
313
|
+
value: string;
|
|
314
|
+
field: string;
|
|
315
|
+
operator: "contains" | "regex" | "equals";
|
|
316
|
+
} | null | undefined;
|
|
317
|
+
groupName?: string | null | undefined;
|
|
318
|
+
}, {
|
|
319
|
+
name: string;
|
|
320
|
+
enabled: boolean;
|
|
321
|
+
delayMs: number;
|
|
322
|
+
cooldownMs: number;
|
|
323
|
+
eventName: string;
|
|
324
|
+
actionType: string;
|
|
325
|
+
actionInputs: Record<string, {
|
|
326
|
+
source: "custom" | "event_field";
|
|
327
|
+
eventField?: string | undefined;
|
|
328
|
+
customValue?: string | undefined;
|
|
329
|
+
}>;
|
|
330
|
+
retryOnError: boolean;
|
|
331
|
+
description?: string | null | undefined;
|
|
332
|
+
id?: string | undefined;
|
|
333
|
+
position?: number | undefined;
|
|
334
|
+
eventFilter?: {
|
|
335
|
+
value: string;
|
|
336
|
+
field: string;
|
|
337
|
+
operator: "contains" | "regex" | "equals";
|
|
338
|
+
} | null | undefined;
|
|
339
|
+
groupName?: string | null | undefined;
|
|
340
|
+
priority?: number | undefined;
|
|
341
|
+
}>, "many">>>;
|
|
342
|
+
_manifest: z.ZodOptional<z.ZodObject<{
|
|
343
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
344
|
+
name: z.ZodString;
|
|
345
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
346
|
+
category: z.ZodOptional<z.ZodEnum<["development", "planning", "custom"]>>;
|
|
347
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
348
|
+
authorName: z.ZodOptional<z.ZodString>;
|
|
349
|
+
minDevchainVersion: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
350
|
+
isOfficial: z.ZodOptional<z.ZodBoolean>;
|
|
351
|
+
version: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
352
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
353
|
+
changelog: z.ZodOptional<z.ZodString>;
|
|
354
|
+
gitCommit: z.ZodOptional<z.ZodString>;
|
|
355
|
+
}, "strict", z.ZodTypeAny, {
|
|
356
|
+
name: string;
|
|
357
|
+
slug?: string | undefined;
|
|
358
|
+
description?: string | null | undefined;
|
|
359
|
+
category?: "development" | "planning" | "custom" | undefined;
|
|
360
|
+
tags?: string[] | undefined;
|
|
361
|
+
authorName?: string | undefined;
|
|
362
|
+
minDevchainVersion?: string | undefined;
|
|
363
|
+
isOfficial?: boolean | undefined;
|
|
364
|
+
version?: string | undefined;
|
|
365
|
+
publishedAt?: string | undefined;
|
|
366
|
+
changelog?: string | undefined;
|
|
367
|
+
gitCommit?: string | undefined;
|
|
368
|
+
}, {
|
|
369
|
+
name: string;
|
|
370
|
+
slug?: string | undefined;
|
|
371
|
+
description?: string | null | undefined;
|
|
372
|
+
category?: "development" | "planning" | "custom" | undefined;
|
|
373
|
+
tags?: string[] | undefined;
|
|
374
|
+
authorName?: string | undefined;
|
|
375
|
+
minDevchainVersion?: string | undefined;
|
|
376
|
+
isOfficial?: boolean | undefined;
|
|
377
|
+
version?: string | undefined;
|
|
378
|
+
publishedAt?: string | undefined;
|
|
379
|
+
changelog?: string | undefined;
|
|
380
|
+
gitCommit?: string | undefined;
|
|
381
|
+
}>>;
|
|
382
|
+
}, "strict", z.ZodTypeAny, {
|
|
383
|
+
version: number;
|
|
384
|
+
prompts: {
|
|
385
|
+
tags: string[];
|
|
386
|
+
title: string;
|
|
387
|
+
content: string;
|
|
388
|
+
version?: number | undefined;
|
|
389
|
+
id?: string | undefined;
|
|
390
|
+
}[];
|
|
391
|
+
profiles: {
|
|
392
|
+
name: string;
|
|
393
|
+
provider: {
|
|
394
|
+
name: string;
|
|
395
|
+
id?: string | undefined;
|
|
396
|
+
};
|
|
397
|
+
options?: unknown;
|
|
398
|
+
id?: string | undefined;
|
|
399
|
+
instructions?: string | null | undefined;
|
|
400
|
+
temperature?: number | null | undefined;
|
|
401
|
+
maxTokens?: number | null | undefined;
|
|
402
|
+
}[];
|
|
403
|
+
agents: {
|
|
404
|
+
name: string;
|
|
405
|
+
description?: string | null | undefined;
|
|
406
|
+
id?: string | undefined;
|
|
407
|
+
profileId?: string | undefined;
|
|
408
|
+
}[];
|
|
409
|
+
statuses: {
|
|
410
|
+
label: string;
|
|
411
|
+
color: string;
|
|
412
|
+
position: number;
|
|
413
|
+
mcpHidden: boolean;
|
|
414
|
+
id?: string | undefined;
|
|
415
|
+
}[];
|
|
416
|
+
watchers: {
|
|
417
|
+
name: string;
|
|
418
|
+
enabled: boolean;
|
|
419
|
+
scope: "provider" | "all" | "agent" | "profile";
|
|
420
|
+
pollIntervalMs: number;
|
|
421
|
+
viewportLines: number;
|
|
422
|
+
condition: {
|
|
423
|
+
type: "contains" | "regex" | "not_contains";
|
|
424
|
+
pattern: string;
|
|
425
|
+
flags?: string | undefined;
|
|
426
|
+
};
|
|
427
|
+
cooldownMs: number;
|
|
428
|
+
cooldownMode: "time" | "until_clear";
|
|
429
|
+
eventName: string;
|
|
430
|
+
description?: string | null | undefined;
|
|
431
|
+
id?: string | undefined;
|
|
432
|
+
scopeFilterName?: string | null | undefined;
|
|
433
|
+
}[];
|
|
434
|
+
subscribers: {
|
|
435
|
+
name: string;
|
|
436
|
+
position: number;
|
|
437
|
+
enabled: boolean;
|
|
438
|
+
delayMs: number;
|
|
439
|
+
cooldownMs: number;
|
|
440
|
+
eventName: string;
|
|
441
|
+
actionType: string;
|
|
442
|
+
actionInputs: Record<string, {
|
|
443
|
+
source: "custom" | "event_field";
|
|
444
|
+
eventField?: string | undefined;
|
|
445
|
+
customValue?: string | undefined;
|
|
446
|
+
}>;
|
|
447
|
+
retryOnError: boolean;
|
|
448
|
+
priority: number;
|
|
449
|
+
description?: string | null | undefined;
|
|
450
|
+
id?: string | undefined;
|
|
451
|
+
eventFilter?: {
|
|
452
|
+
value: string;
|
|
453
|
+
field: string;
|
|
454
|
+
operator: "contains" | "regex" | "equals";
|
|
455
|
+
} | null | undefined;
|
|
456
|
+
groupName?: string | null | undefined;
|
|
457
|
+
}[];
|
|
458
|
+
exportedAt?: string | undefined;
|
|
459
|
+
initialPrompt?: {
|
|
460
|
+
title?: string | undefined;
|
|
461
|
+
promptId?: string | undefined;
|
|
462
|
+
} | null | undefined;
|
|
463
|
+
projectSettings?: {
|
|
464
|
+
initialPromptTitle?: string | undefined;
|
|
465
|
+
autoCleanStatusLabels?: string[] | undefined;
|
|
466
|
+
epicAssignedTemplate?: string | undefined;
|
|
467
|
+
messagePoolSettings?: {
|
|
468
|
+
enabled?: boolean | undefined;
|
|
469
|
+
delayMs?: number | undefined;
|
|
470
|
+
maxWaitMs?: number | undefined;
|
|
471
|
+
maxMessages?: number | undefined;
|
|
472
|
+
separator?: string | undefined;
|
|
473
|
+
} | undefined;
|
|
474
|
+
} | undefined;
|
|
475
|
+
_manifest?: {
|
|
476
|
+
name: string;
|
|
477
|
+
slug?: string | undefined;
|
|
478
|
+
description?: string | null | undefined;
|
|
479
|
+
category?: "development" | "planning" | "custom" | undefined;
|
|
480
|
+
tags?: string[] | undefined;
|
|
481
|
+
authorName?: string | undefined;
|
|
482
|
+
minDevchainVersion?: string | undefined;
|
|
483
|
+
isOfficial?: boolean | undefined;
|
|
484
|
+
version?: string | undefined;
|
|
485
|
+
publishedAt?: string | undefined;
|
|
486
|
+
changelog?: string | undefined;
|
|
487
|
+
gitCommit?: string | undefined;
|
|
488
|
+
} | undefined;
|
|
489
|
+
}, {
|
|
490
|
+
version?: number | undefined;
|
|
491
|
+
exportedAt?: string | undefined;
|
|
492
|
+
prompts?: {
|
|
493
|
+
title: string;
|
|
494
|
+
tags?: string[] | undefined;
|
|
495
|
+
version?: number | undefined;
|
|
496
|
+
id?: string | undefined;
|
|
497
|
+
content?: string | undefined;
|
|
498
|
+
}[] | undefined;
|
|
499
|
+
profiles?: {
|
|
500
|
+
name: string;
|
|
501
|
+
provider: {
|
|
502
|
+
name: string;
|
|
503
|
+
id?: string | undefined;
|
|
504
|
+
};
|
|
505
|
+
options?: unknown;
|
|
506
|
+
id?: string | undefined;
|
|
507
|
+
instructions?: string | null | undefined;
|
|
508
|
+
temperature?: number | null | undefined;
|
|
509
|
+
maxTokens?: number | null | undefined;
|
|
510
|
+
}[] | undefined;
|
|
511
|
+
agents?: {
|
|
512
|
+
name: string;
|
|
513
|
+
description?: string | null | undefined;
|
|
514
|
+
id?: string | undefined;
|
|
515
|
+
profileId?: string | undefined;
|
|
516
|
+
}[] | undefined;
|
|
517
|
+
statuses?: {
|
|
518
|
+
label: string;
|
|
519
|
+
color: string;
|
|
520
|
+
position: number;
|
|
521
|
+
id?: string | undefined;
|
|
522
|
+
mcpHidden?: boolean | undefined;
|
|
523
|
+
}[] | undefined;
|
|
524
|
+
initialPrompt?: {
|
|
525
|
+
title?: string | undefined;
|
|
526
|
+
promptId?: string | undefined;
|
|
527
|
+
} | null | undefined;
|
|
528
|
+
projectSettings?: {
|
|
529
|
+
initialPromptTitle?: string | undefined;
|
|
530
|
+
autoCleanStatusLabels?: string[] | undefined;
|
|
531
|
+
epicAssignedTemplate?: string | undefined;
|
|
532
|
+
messagePoolSettings?: {
|
|
533
|
+
enabled?: boolean | undefined;
|
|
534
|
+
delayMs?: number | undefined;
|
|
535
|
+
maxWaitMs?: number | undefined;
|
|
536
|
+
maxMessages?: number | undefined;
|
|
537
|
+
separator?: string | undefined;
|
|
538
|
+
} | undefined;
|
|
539
|
+
} | undefined;
|
|
540
|
+
watchers?: {
|
|
541
|
+
name: string;
|
|
542
|
+
enabled: boolean;
|
|
543
|
+
scope: "provider" | "all" | "agent" | "profile";
|
|
544
|
+
pollIntervalMs: number;
|
|
545
|
+
viewportLines: number;
|
|
546
|
+
condition: {
|
|
547
|
+
type: "contains" | "regex" | "not_contains";
|
|
548
|
+
pattern: string;
|
|
549
|
+
flags?: string | undefined;
|
|
550
|
+
};
|
|
551
|
+
cooldownMs: number;
|
|
552
|
+
cooldownMode: "time" | "until_clear";
|
|
553
|
+
eventName: string;
|
|
554
|
+
description?: string | null | undefined;
|
|
555
|
+
id?: string | undefined;
|
|
556
|
+
scopeFilterName?: string | null | undefined;
|
|
557
|
+
}[] | undefined;
|
|
558
|
+
subscribers?: {
|
|
559
|
+
name: string;
|
|
560
|
+
enabled: boolean;
|
|
561
|
+
delayMs: number;
|
|
562
|
+
cooldownMs: number;
|
|
563
|
+
eventName: string;
|
|
564
|
+
actionType: string;
|
|
565
|
+
actionInputs: Record<string, {
|
|
566
|
+
source: "custom" | "event_field";
|
|
567
|
+
eventField?: string | undefined;
|
|
568
|
+
customValue?: string | undefined;
|
|
569
|
+
}>;
|
|
570
|
+
retryOnError: boolean;
|
|
571
|
+
description?: string | null | undefined;
|
|
572
|
+
id?: string | undefined;
|
|
573
|
+
position?: number | undefined;
|
|
574
|
+
eventFilter?: {
|
|
575
|
+
value: string;
|
|
576
|
+
field: string;
|
|
577
|
+
operator: "contains" | "regex" | "equals";
|
|
578
|
+
} | null | undefined;
|
|
579
|
+
groupName?: string | null | undefined;
|
|
580
|
+
priority?: number | undefined;
|
|
581
|
+
}[] | undefined;
|
|
582
|
+
_manifest?: {
|
|
583
|
+
name: string;
|
|
584
|
+
slug?: string | undefined;
|
|
585
|
+
description?: string | null | undefined;
|
|
586
|
+
category?: "development" | "planning" | "custom" | undefined;
|
|
587
|
+
tags?: string[] | undefined;
|
|
588
|
+
authorName?: string | undefined;
|
|
589
|
+
minDevchainVersion?: string | undefined;
|
|
590
|
+
isOfficial?: boolean | undefined;
|
|
591
|
+
version?: string | undefined;
|
|
592
|
+
publishedAt?: string | undefined;
|
|
593
|
+
changelog?: string | undefined;
|
|
594
|
+
gitCommit?: string | undefined;
|
|
595
|
+
} | undefined;
|
|
596
|
+
}>;
|
|
597
|
+
export type ExportData = z.infer<typeof ExportSchema>;
|
|
598
|
+
export type ExportDataInput = z.input<typeof ExportSchema>;
|
|
599
|
+
//# sourceMappingURL=export-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-schema.d.ts","sourceRoot":"","sources":["../../src/schemas/export-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8BxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAehB,CAAC;AAGZ,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAM1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2Id,CAAC;AAGZ,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAGtD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { isValidSemVer } from '../utils/semver.js';
|
|
3
|
+
const semverString = z
|
|
4
|
+
.string()
|
|
5
|
+
.refine((v) => isValidSemVer(v), {
|
|
6
|
+
message: 'Must be a valid semantic version (e.g., "1.0.0", "0.4.0-beta.1")',
|
|
7
|
+
});
|
|
8
|
+
export const ManifestSchema = z
|
|
9
|
+
.object({
|
|
10
|
+
slug: z.string().min(1).optional(),
|
|
11
|
+
name: z.string().min(1),
|
|
12
|
+
description: z.string().nullable().optional(),
|
|
13
|
+
category: z.enum(['development', 'planning', 'custom']).optional(),
|
|
14
|
+
tags: z.array(z.string()).max(10).optional(),
|
|
15
|
+
authorName: z.string().optional(),
|
|
16
|
+
minDevchainVersion: semverString.optional(),
|
|
17
|
+
isOfficial: z.boolean().optional(),
|
|
18
|
+
version: semverString.optional(),
|
|
19
|
+
publishedAt: z.string().optional(),
|
|
20
|
+
changelog: z.string().optional(),
|
|
21
|
+
gitCommit: z.string().optional(),
|
|
22
|
+
})
|
|
23
|
+
.strict();
|
|
24
|
+
export const ExportSchema = z
|
|
25
|
+
.object({
|
|
26
|
+
version: z.number().optional().default(1),
|
|
27
|
+
exportedAt: z.string().optional(),
|
|
28
|
+
prompts: z
|
|
29
|
+
.array(z.object({
|
|
30
|
+
id: z.string().uuid().optional(),
|
|
31
|
+
title: z.string().min(1),
|
|
32
|
+
content: z.string().default(''),
|
|
33
|
+
version: z.number().optional(),
|
|
34
|
+
tags: z.array(z.string()).optional().default([]),
|
|
35
|
+
}))
|
|
36
|
+
.optional()
|
|
37
|
+
.default([]),
|
|
38
|
+
profiles: z
|
|
39
|
+
.array(z.object({
|
|
40
|
+
id: z.string().uuid().optional(),
|
|
41
|
+
name: z.string().min(1),
|
|
42
|
+
provider: z.object({ id: z.string().optional(), name: z.string().min(1) }),
|
|
43
|
+
options: z.unknown().nullable().optional(),
|
|
44
|
+
instructions: z.string().nullable().optional(),
|
|
45
|
+
temperature: z.number().nullable().optional(),
|
|
46
|
+
maxTokens: z.number().int().nullable().optional(),
|
|
47
|
+
}))
|
|
48
|
+
.optional()
|
|
49
|
+
.default([]),
|
|
50
|
+
agents: z
|
|
51
|
+
.array(z.object({
|
|
52
|
+
id: z.string().uuid().optional(),
|
|
53
|
+
name: z.string().min(1),
|
|
54
|
+
profileId: z.string().uuid().optional(),
|
|
55
|
+
description: z.string().nullable().optional(),
|
|
56
|
+
}))
|
|
57
|
+
.optional()
|
|
58
|
+
.default([]),
|
|
59
|
+
statuses: z
|
|
60
|
+
.array(z.object({
|
|
61
|
+
id: z.string().uuid().optional(),
|
|
62
|
+
label: z.string().min(1),
|
|
63
|
+
color: z.string().min(1),
|
|
64
|
+
position: z.number().int(),
|
|
65
|
+
mcpHidden: z.boolean().optional().default(false),
|
|
66
|
+
}))
|
|
67
|
+
.optional()
|
|
68
|
+
.default([]),
|
|
69
|
+
initialPrompt: z
|
|
70
|
+
.object({ promptId: z.string().uuid().optional(), title: z.string().optional() })
|
|
71
|
+
.nullable()
|
|
72
|
+
.optional(),
|
|
73
|
+
projectSettings: z
|
|
74
|
+
.object({
|
|
75
|
+
initialPromptTitle: z.string().optional(),
|
|
76
|
+
autoCleanStatusLabels: z.array(z.string()).optional(),
|
|
77
|
+
epicAssignedTemplate: z.string().optional(),
|
|
78
|
+
messagePoolSettings: z
|
|
79
|
+
.object({
|
|
80
|
+
enabled: z.boolean().optional(),
|
|
81
|
+
delayMs: z.number().optional(),
|
|
82
|
+
maxWaitMs: z.number().optional(),
|
|
83
|
+
maxMessages: z.number().optional(),
|
|
84
|
+
separator: z.string().optional(),
|
|
85
|
+
})
|
|
86
|
+
.optional(),
|
|
87
|
+
})
|
|
88
|
+
.optional(),
|
|
89
|
+
watchers: z
|
|
90
|
+
.array(z.object({
|
|
91
|
+
id: z.string().uuid().optional(),
|
|
92
|
+
name: z.string().min(1),
|
|
93
|
+
description: z.string().nullable().optional(),
|
|
94
|
+
enabled: z.boolean(),
|
|
95
|
+
scope: z.enum(['all', 'agent', 'profile', 'provider']),
|
|
96
|
+
scopeFilterName: z.string().nullable().optional(),
|
|
97
|
+
pollIntervalMs: z.number().int(),
|
|
98
|
+
viewportLines: z.number().int(),
|
|
99
|
+
condition: z.object({
|
|
100
|
+
type: z.enum(['contains', 'regex', 'not_contains']),
|
|
101
|
+
pattern: z.string(),
|
|
102
|
+
flags: z.string().optional(),
|
|
103
|
+
}),
|
|
104
|
+
cooldownMs: z.number().int(),
|
|
105
|
+
cooldownMode: z.enum(['time', 'until_clear']),
|
|
106
|
+
eventName: z.string(),
|
|
107
|
+
}))
|
|
108
|
+
.optional()
|
|
109
|
+
.default([]),
|
|
110
|
+
subscribers: z
|
|
111
|
+
.array(z.object({
|
|
112
|
+
id: z.string().uuid().optional(),
|
|
113
|
+
name: z.string().min(1),
|
|
114
|
+
description: z.string().nullable().optional(),
|
|
115
|
+
enabled: z.boolean(),
|
|
116
|
+
eventName: z.string(),
|
|
117
|
+
eventFilter: z
|
|
118
|
+
.object({
|
|
119
|
+
field: z.string(),
|
|
120
|
+
operator: z.enum(['equals', 'contains', 'regex']),
|
|
121
|
+
value: z.string(),
|
|
122
|
+
})
|
|
123
|
+
.nullable()
|
|
124
|
+
.optional(),
|
|
125
|
+
actionType: z.string(),
|
|
126
|
+
actionInputs: z.record(z.string(), z.object({
|
|
127
|
+
source: z.enum(['event_field', 'custom']),
|
|
128
|
+
eventField: z.string().optional(),
|
|
129
|
+
customValue: z.string().optional(),
|
|
130
|
+
})),
|
|
131
|
+
delayMs: z.number().int(),
|
|
132
|
+
cooldownMs: z.number().int(),
|
|
133
|
+
retryOnError: z.boolean(),
|
|
134
|
+
groupName: z.string().nullable().optional(),
|
|
135
|
+
position: z.number().int().optional().default(0),
|
|
136
|
+
priority: z.number().int().optional().default(0),
|
|
137
|
+
}))
|
|
138
|
+
.optional()
|
|
139
|
+
.default([]),
|
|
140
|
+
_manifest: ManifestSchema.optional(),
|
|
141
|
+
})
|
|
142
|
+
.strict();
|
|
143
|
+
//# sourceMappingURL=export-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-schema.js","sourceRoot":"","sources":["../../src/schemas/export-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAKnD,MAAM,YAAY,GAAG,CAAC;KACnB,MAAM,EAAE;KACR,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE;IAC/B,OAAO,EAAE,kEAAkE;CAC5E,CAAC,CAAC;AAoBL,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7C,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC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GAAG,EAAE;QAC5B,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;QAEzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;QAC3C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;QAChD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;KACjD,CAAC,CACH;SACA,QAAQ,EAAE;SACV,OAAO,CAAC,EAAE,CAAC;IAEd,SAAS,EAAE,cAAc,CAAC,QAAQ,EAAE;CACrC,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,cAAc,EACd,KAAK,YAAY,GAClB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGZ,cAAc,GAEf,MAAM,oBAAoB,CAAC"}
|
|
@@ -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.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.scripthost.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.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.full.d.ts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/index.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/enumUtil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/partialUtil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/standard-schema.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/index.d.cts","../src/utils/semver.ts","../src/schemas/export-schema.ts","../src/schemas/index.ts","../src/utils/index.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/buffer@5.6.0/node_modules/buffer/index.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.20/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.19.20/node_modules/@types/node/index.d.ts","../../../node_modules/@types/cors/index.d.ts","../../../node_modules/@types/validator/lib/isBoolean.d.ts","../../../node_modules/@types/validator/lib/isEmail.d.ts","../../../node_modules/@types/validator/lib/isFQDN.d.ts","../../../node_modules/@types/validator/lib/isIBAN.d.ts","../../../node_modules/@types/validator/lib/isISO31661Alpha2.d.ts","../../../node_modules/@types/validator/lib/isISO4217.d.ts","../../../node_modules/@types/validator/lib/isISO6391.d.ts","../../../node_modules/@types/validator/lib/isTaxID.d.ts","../../../node_modules/@types/validator/lib/isURL.d.ts","../../../node_modules/@types/validator/index.d.ts"],"fileIdsList":[[81,125,128],[81,127,128],[128],[81,128,133,161],[81,128,129,134,139,147,158,169],[81,128,129,130,139,147],[81,128],[76,77,78,81,128],[81,128,131,170],[81,128,132,133,140,148],[81,128,133,158,166],[81,128,134,136,139,147],[81,127,128,135],[81,128,136,137],[81,128,138,139],[81,127,128,139],[81,128,139,140,141,158,169],[81,128,139,140,141,154,158,161],[81,128,136,139,142,147,158,169],[81,128,139,140,142,143,147,158,166,169],[81,128,142,144,158,166,169],[79,80,81,82,83,84,85,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],[81,128,139,145],[81,128,146,169,174],[81,128,136,139,147,158],[81,128,148],[81,128,149],[81,127,128,150],[81,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],[81,128,152],[81,128,153],[81,128,139,154,155],[81,128,154,156,170,172],[81,128,139,158,159,161],[81,128,160,161],[81,128,158,159],[81,128,161],[81,128,162],[81,125,128,158,163],[81,128,139,164,165],[81,128,164,165],[81,128,133,147,158,166],[81,128,167],[81,128,147,168],[81,128,142,153,169],[81,128,133,170],[81,128,158,171],[81,128,146,172],[81,128,173],[81,123,128],[81,123,128,139,141,150,158,161,169,172,174],[81,128,158,175],[81,95,99,128,169],[81,95,128,158,169],[81,90,128],[81,92,95,128,166,169],[81,128,147,166],[81,128,176],[81,90,128,176],[81,92,95,128,147,169],[81,87,88,91,94,128,139,158,169],[81,95,102,128],[81,87,93,128],[81,95,116,117,128],[81,91,95,128,161,169,176],[81,116,128,176],[81,89,90,128,176],[81,95,128],[81,89,90,91,92,93,94,95,96,97,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122,128],[81,95,110,128],[81,95,102,103,128],[81,93,95,103,104,128],[81,94,128],[81,87,90,95,128],[81,95,99,103,104,128],[81,99,128],[81,93,95,98,128,169],[81,87,92,95,102,128],[81,128,158],[81,90,95,116,128,174,176],[69,81,128],[57,58,59,81,128],[60,61,81,128],[57,58,60,62,63,68,81,128],[58,60,81,128],[68,81,128],[60,81,128],[57,58,60,63,64,65,66,67,81,128],[81,128,142,176],[81,128,178,179,180,181,182,183,184,185,186],[73,74,81,128],[70,71,81,128],[72,81,128],[71,81,128]],"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":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"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":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"4a66df3ab5de5cfcda11538cffddd67ff6a174e003788e270914c1e0248483cf","impliedFormat":1},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"293eadad9dead44c6fd1db6de552663c33f215c55a1bfa2802a1bceed88ff0ec","impliedFormat":1},{"version":"833e92c058d033cde3f29a6c7603f517001d1ddd8020bc94d2067a3bc69b2a8e","impliedFormat":1},{"version":"08b2fae7b0f553ad9f79faec864b179fc58bc172e295a70943e8585dd85f600c","impliedFormat":1},{"version":"f12edf1672a94c578eca32216839604f1e1c16b40a1896198deabf99c882b340","impliedFormat":1},{"version":"e3498cf5e428e6c6b9e97bd88736f26d6cf147dedbfa5a8ad3ed8e05e059af8a","impliedFormat":1},{"version":"dba3f34531fd9b1b6e072928b6f885aa4d28dd6789cbd0e93563d43f4b62da53","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"e4b03ddcf8563b1c0aee782a185286ed85a255ce8a30df8453aade2188bbc904","impliedFormat":1},{"version":"2329d90062487e1eaca87b5e06abcbbeeecf80a82f65f949fd332cfcf824b87b","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"4fdb529707247a1a917a4626bfb6a293d52cd8ee57ccf03830ec91d39d606d6d","impliedFormat":1},{"version":"a9ebb67d6bbead6044b43714b50dcb77b8f7541ffe803046fdec1714c1eba206","impliedFormat":1},{"version":"5780b706cece027f0d4444fbb4e1af62dc51e19da7c3d3719f67b22b033859b9","impliedFormat":1},{"version":"4d850cb9e42dc8457344935ec2371fc6278259b2738299b7cdcef55a337a401e","signature":"17d02ba18517f6015d1201fae7cfdb6ace04b86a06796d8af6e70600ac8d465c"},{"version":"c6d9d9ef196c6e47c7af95a8f9cc7975e014b2551e5d883fedb2cfd767f74e18","signature":"cce70f28ad65128c47ef2c9ab4b44fd8da399aa7ff6e6471634773cd05788ea0"},{"version":"8164e4b0a19c265cccb3c0910d94ea81341fb14189cc16f6737ea8dfb083c300","signature":"aaf093f57236987b5baf3592e08f23cf424c4740ad10658f67f8ae5d28bcf234"},{"version":"f08088c8d026fee8cd42d018c0d323c701bb75b365b4f391a3d4c7750282a226","signature":"6dacc51bae14647bbf2f8f167df857775c86f96de8de296e39d7fbae0d46de6c"},{"version":"e1dc9e20cf91adc44fd9c34ee36df7446399c907776ecf98fbe0afc380a1fc7c","signature":"dd53e69e78ef2cb68c5ed4539d81581e3b93e19c2dbddc841f9c160efd224623"},{"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":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"ef18cbf1d8374576e3db03ff33c2c7499845972eb0c4adf87392949709c5e160","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":"0b3edeae6a959093315434dd4e870e12182077bc76a178540281a3a12cfd9524","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},{"version":"25be1eb939c9c63242c7a45446edb20c40541da967f43f1aa6a00ed53c0552db","impliedFormat":1},{"version":"c6cdcd12d577032b84eed1de4d2de2ae343463701a25961b202cff93989439fb","impliedFormat":1},{"version":"3dc633586d48fcd04a4f8acdbf7631b8e4a334632f252d5707e04b299069721e","impliedFormat":1},{"version":"3322858f01c0349ee7968a5ce93a1ca0c154c4692aa8f1721dc5192a9191a168","impliedFormat":1},{"version":"6dde0a77adad4173a49e6de4edd6ef70f5598cbebb5c80d76c111943854636ca","impliedFormat":1},{"version":"09acacae732e3cc67a6415026cfae979ebe900905500147a629837b790a366b3","impliedFormat":1},{"version":"f7b622759e094a3c2e19640e0cb233b21810d2762b3e894ef7f415334125eb22","impliedFormat":1},{"version":"99236ea5c4c583082975823fd19bcce6a44963c5c894e20384bc72e7eccf9b03","impliedFormat":1},{"version":"f6688a02946a3f7490aa9e26d76d1c97a388e42e77388cbab010b69982c86e9e","impliedFormat":1},{"version":"9f642953aba68babd23de41de85d4e97f0c39ef074cb8ab8aa7d55237f62aff6","impliedFormat":1},{"version":"159d95163a0ed369175ae7838fa21a9e9e703de5fdb0f978721293dd403d9f4a","impliedFormat":1}],"root":[[71,75]],"options":{"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictBindCallApply":true,"strictNullChecks":true,"target":8},"referencedMap":[[125,1],[126,1],[127,2],[81,3],[128,4],[129,5],[130,6],[76,7],[79,8],[77,7],[78,7],[131,9],[132,10],[133,11],[134,12],[135,13],[136,14],[137,14],[138,15],[139,16],[140,17],[141,18],[82,7],[80,7],[142,19],[143,20],[144,21],[176,22],[145,23],[146,24],[147,25],[148,26],[149,27],[150,28],[151,29],[152,30],[153,31],[154,32],[155,32],[156,33],[157,7],[158,34],[160,35],[159,36],[161,37],[162,38],[163,39],[164,40],[165,41],[166,42],[167,43],[168,44],[169,45],[170,46],[171,47],[172,48],[173,49],[83,7],[84,7],[85,7],[124,50],[174,51],[175,52],[86,7],[54,7],[55,7],[11,7],[9,7],[10,7],[15,7],[14,7],[2,7],[16,7],[17,7],[18,7],[19,7],[20,7],[21,7],[22,7],[23,7],[3,7],[24,7],[25,7],[4,7],[26,7],[30,7],[27,7],[28,7],[29,7],[31,7],[32,7],[33,7],[5,7],[34,7],[35,7],[36,7],[37,7],[6,7],[41,7],[38,7],[39,7],[40,7],[42,7],[7,7],[43,7],[48,7],[49,7],[44,7],[45,7],[46,7],[47,7],[8,7],[56,7],[53,7],[50,7],[51,7],[52,7],[1,7],[13,7],[12,7],[102,53],[112,54],[101,53],[122,55],[93,56],[92,57],[121,58],[115,59],[120,60],[95,61],[109,62],[94,63],[118,64],[90,65],[89,58],[119,66],[91,67],[96,68],[97,7],[100,68],[87,7],[123,69],[113,70],[104,71],[105,72],[107,73],[103,74],[106,75],[116,58],[98,76],[99,77],[108,78],[88,79],[111,70],[110,68],[114,7],[117,80],[70,81],[60,82],[62,83],[69,84],[64,7],[65,7],[63,85],[66,86],[57,7],[58,7],[59,81],[61,87],[67,7],[68,88],[177,89],[187,90],[178,7],[179,7],[180,7],[181,7],[182,7],[183,7],[184,7],[185,7],[186,7],[75,91],[72,92],[73,93],[74,94],[71,7]],"version":"5.9.3"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,KAAK,MAAM,GACZ,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,YAAY,GAEb,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface SemVer {
|
|
2
|
+
major: number;
|
|
3
|
+
minor: number;
|
|
4
|
+
patch: number;
|
|
5
|
+
prerelease?: string;
|
|
6
|
+
build?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function parseSemVer(version: string): SemVer | null;
|
|
9
|
+
export declare function isValidSemVer(version: string): boolean;
|
|
10
|
+
export declare function compareSemVer(a: string, b: string): -1 | 0 | 1;
|
|
11
|
+
export declare function isGreaterThan(a: string, b: string): boolean;
|
|
12
|
+
export declare function isLessThan(a: string, b: string): boolean;
|
|
13
|
+
export declare function isEqual(a: string, b: string): boolean;
|
|
14
|
+
export declare function sortVersions(versions: string[]): string[];
|
|
15
|
+
export declare function getLatestVersion(versions: string[]): string | null;
|
|
16
|
+
export declare function formatSemVer(version: SemVer): string;
|
|
17
|
+
//# sourceMappingURL=semver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"semver.d.ts","sourceRoot":"","sources":["../../src/utils/semver.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAWD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAW1D;AAMD,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEtD;AASD,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAqD9D;AAKD,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAE3D;AAKD,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAExD;AAKD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAErD;AAMD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAWzD;AAOD,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAKlE;AAKD,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAKpD"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;
|
|
2
|
+
export function parseSemVer(version) {
|
|
3
|
+
const match = version.match(SEMVER_REGEX);
|
|
4
|
+
if (!match)
|
|
5
|
+
return null;
|
|
6
|
+
return {
|
|
7
|
+
major: parseInt(match[1], 10),
|
|
8
|
+
minor: parseInt(match[2], 10),
|
|
9
|
+
patch: parseInt(match[3], 10),
|
|
10
|
+
prerelease: match[4] || undefined,
|
|
11
|
+
build: match[5] || undefined,
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export function isValidSemVer(version) {
|
|
15
|
+
return SEMVER_REGEX.test(version);
|
|
16
|
+
}
|
|
17
|
+
export function compareSemVer(a, b) {
|
|
18
|
+
const parsedA = parseSemVer(a);
|
|
19
|
+
const parsedB = parseSemVer(b);
|
|
20
|
+
if (!parsedA)
|
|
21
|
+
throw new Error(`Invalid semver: ${a}`);
|
|
22
|
+
if (!parsedB)
|
|
23
|
+
throw new Error(`Invalid semver: ${b}`);
|
|
24
|
+
if (parsedA.major !== parsedB.major) {
|
|
25
|
+
return parsedA.major > parsedB.major ? 1 : -1;
|
|
26
|
+
}
|
|
27
|
+
if (parsedA.minor !== parsedB.minor) {
|
|
28
|
+
return parsedA.minor > parsedB.minor ? 1 : -1;
|
|
29
|
+
}
|
|
30
|
+
if (parsedA.patch !== parsedB.patch) {
|
|
31
|
+
return parsedA.patch > parsedB.patch ? 1 : -1;
|
|
32
|
+
}
|
|
33
|
+
if (parsedA.prerelease && !parsedB.prerelease)
|
|
34
|
+
return -1;
|
|
35
|
+
if (!parsedA.prerelease && parsedB.prerelease)
|
|
36
|
+
return 1;
|
|
37
|
+
if (parsedA.prerelease && parsedB.prerelease) {
|
|
38
|
+
const partsA = parsedA.prerelease.split('.');
|
|
39
|
+
const partsB = parsedB.prerelease.split('.');
|
|
40
|
+
for (let i = 0; i < Math.max(partsA.length, partsB.length); i++) {
|
|
41
|
+
const partA = partsA[i];
|
|
42
|
+
const partB = partsB[i];
|
|
43
|
+
if (partA === undefined)
|
|
44
|
+
return -1;
|
|
45
|
+
if (partB === undefined)
|
|
46
|
+
return 1;
|
|
47
|
+
const numA = parseInt(partA, 10);
|
|
48
|
+
const numB = parseInt(partB, 10);
|
|
49
|
+
if (!isNaN(numA) && !isNaN(numB)) {
|
|
50
|
+
if (numA !== numB)
|
|
51
|
+
return numA > numB ? 1 : -1;
|
|
52
|
+
}
|
|
53
|
+
else if (!isNaN(numA))
|
|
54
|
+
return -1;
|
|
55
|
+
else if (!isNaN(numB))
|
|
56
|
+
return 1;
|
|
57
|
+
else {
|
|
58
|
+
if (partA !== partB)
|
|
59
|
+
return partA > partB ? 1 : -1;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return 0;
|
|
64
|
+
}
|
|
65
|
+
export function isGreaterThan(a, b) {
|
|
66
|
+
return compareSemVer(a, b) === 1;
|
|
67
|
+
}
|
|
68
|
+
export function isLessThan(a, b) {
|
|
69
|
+
return compareSemVer(a, b) === -1;
|
|
70
|
+
}
|
|
71
|
+
export function isEqual(a, b) {
|
|
72
|
+
return compareSemVer(a, b) === 0;
|
|
73
|
+
}
|
|
74
|
+
export function sortVersions(versions) {
|
|
75
|
+
return [...versions].sort((a, b) => {
|
|
76
|
+
try {
|
|
77
|
+
return compareSemVer(a, b);
|
|
78
|
+
}
|
|
79
|
+
catch {
|
|
80
|
+
if (!isValidSemVer(a))
|
|
81
|
+
return 1;
|
|
82
|
+
if (!isValidSemVer(b))
|
|
83
|
+
return -1;
|
|
84
|
+
return 0;
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
export function getLatestVersion(versions) {
|
|
89
|
+
const valid = versions.filter(isValidSemVer);
|
|
90
|
+
if (valid.length === 0)
|
|
91
|
+
return null;
|
|
92
|
+
const sorted = sortVersions(valid);
|
|
93
|
+
return sorted[sorted.length - 1];
|
|
94
|
+
}
|
|
95
|
+
export function formatSemVer(version) {
|
|
96
|
+
let str = `${version.major}.${version.minor}.${version.patch}`;
|
|
97
|
+
if (version.prerelease)
|
|
98
|
+
str += `-${version.prerelease}`;
|
|
99
|
+
if (version.build)
|
|
100
|
+
str += `+${version.build}`;
|
|
101
|
+
return str;
|
|
102
|
+
}
|
|
103
|
+
//# sourceMappingURL=semver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"semver.js","sourceRoot":"","sources":["../../src/utils/semver.ts"],"names":[],"mappings":"AAeA,MAAM,YAAY,GAChB,qLAAqL,CAAC;AAOxL,MAAM,UAAU,WAAW,CAAC,OAAe;IACzC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAC1C,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IAExB,OAAO;QACL,KAAK,EAAE,QAAQ,CAAC,KA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ACjD,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAC7C,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IACpC,MAAM,MAAM,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACnC,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACnC,CAAC;AAKD,MAAM,UAAU,YAAY,CAAC,OAAe;IAC1C,IAAI,GAAG,GAAG,GAAG,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAC/D,IAAI,OAAO,CAAC,UAAU;QAAE,GAAG,IAAI,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;IACxD,IAAI,OAAO,CAAC,KAAK;QAAE,GAAG,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9C,OAAO,GAAG,CAAC;AACb,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devchain-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "AI driven development platform",
|
|
5
5
|
"homepage": "https://devchain.twitechlab.com/",
|
|
6
6
|
"repository": {
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"url": "https://github.com/twitech-lab/devchain.git"
|
|
9
9
|
},
|
|
10
10
|
"changelog": {
|
|
11
|
+
"0.4.2": [
|
|
12
|
+
"Fix @devchain/shared module not found when installed globally",
|
|
13
|
+
"Fix CLI version command showing incorrect version"
|
|
14
|
+
],
|
|
11
15
|
"0.4.1": [
|
|
12
16
|
"Bug fixes and improvements"
|
|
13
17
|
],
|
|
@@ -110,6 +114,7 @@
|
|
|
110
114
|
"class-variance-authority": "0.7.1",
|
|
111
115
|
"clsx": "2.1.1",
|
|
112
116
|
"commander": "^12.1.0",
|
|
117
|
+
"devchain-cli": "0.4.1",
|
|
113
118
|
"dotenv": "^16.4.5",
|
|
114
119
|
"drizzle-orm": "0.44.6",
|
|
115
120
|
"fastify": "^4.26.2",
|