@openspecui/core 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +53 -53
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -475,11 +475,11 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
475
475
|
total: z.ZodNumber;
|
|
476
476
|
completed: z.ZodNumber;
|
|
477
477
|
}, "strip", z.ZodTypeAny, {
|
|
478
|
-
completed: number;
|
|
479
478
|
total: number;
|
|
480
|
-
}, {
|
|
481
479
|
completed: number;
|
|
480
|
+
}, {
|
|
482
481
|
total: number;
|
|
482
|
+
completed: number;
|
|
483
483
|
}>;
|
|
484
484
|
/** Optional design.md content */
|
|
485
485
|
design: z.ZodOptional<z.ZodString>;
|
|
@@ -509,6 +509,16 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
509
509
|
}>>;
|
|
510
510
|
}, "strip", z.ZodTypeAny, {
|
|
511
511
|
id: string;
|
|
512
|
+
progress: {
|
|
513
|
+
total: number;
|
|
514
|
+
completed: number;
|
|
515
|
+
};
|
|
516
|
+
tasks: {
|
|
517
|
+
text: string;
|
|
518
|
+
id: string;
|
|
519
|
+
completed: boolean;
|
|
520
|
+
section?: string | undefined;
|
|
521
|
+
}[];
|
|
512
522
|
name: string;
|
|
513
523
|
why: string;
|
|
514
524
|
whatChanges: string;
|
|
@@ -535,16 +545,6 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
535
545
|
to: string;
|
|
536
546
|
} | undefined;
|
|
537
547
|
}[];
|
|
538
|
-
tasks: {
|
|
539
|
-
text: string;
|
|
540
|
-
id: string;
|
|
541
|
-
completed: boolean;
|
|
542
|
-
section?: string | undefined;
|
|
543
|
-
}[];
|
|
544
|
-
progress: {
|
|
545
|
-
completed: number;
|
|
546
|
-
total: number;
|
|
547
|
-
};
|
|
548
548
|
metadata?: {
|
|
549
549
|
version: string;
|
|
550
550
|
format: "openspec-change";
|
|
@@ -556,6 +556,16 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
556
556
|
}[] | undefined;
|
|
557
557
|
}, {
|
|
558
558
|
id: string;
|
|
559
|
+
progress: {
|
|
560
|
+
total: number;
|
|
561
|
+
completed: number;
|
|
562
|
+
};
|
|
563
|
+
tasks: {
|
|
564
|
+
text: string;
|
|
565
|
+
id: string;
|
|
566
|
+
completed: boolean;
|
|
567
|
+
section?: string | undefined;
|
|
568
|
+
}[];
|
|
559
569
|
name: string;
|
|
560
570
|
why: string;
|
|
561
571
|
whatChanges: string;
|
|
@@ -582,16 +592,6 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
582
592
|
to: string;
|
|
583
593
|
} | undefined;
|
|
584
594
|
}[];
|
|
585
|
-
tasks: {
|
|
586
|
-
text: string;
|
|
587
|
-
id: string;
|
|
588
|
-
completed: boolean;
|
|
589
|
-
section?: string | undefined;
|
|
590
|
-
}[];
|
|
591
|
-
progress: {
|
|
592
|
-
completed: number;
|
|
593
|
-
total: number;
|
|
594
|
-
};
|
|
595
595
|
metadata?: {
|
|
596
596
|
version?: string | undefined;
|
|
597
597
|
format?: "openspec-change" | undefined;
|
|
@@ -763,6 +763,16 @@ declare class OpenSpecAdapter {
|
|
|
763
763
|
}[];
|
|
764
764
|
changes: {
|
|
765
765
|
id: string;
|
|
766
|
+
progress: {
|
|
767
|
+
total: number;
|
|
768
|
+
completed: number;
|
|
769
|
+
};
|
|
770
|
+
tasks: {
|
|
771
|
+
text: string;
|
|
772
|
+
id: string;
|
|
773
|
+
completed: boolean;
|
|
774
|
+
section?: string | undefined;
|
|
775
|
+
}[];
|
|
766
776
|
name: string;
|
|
767
777
|
why: string;
|
|
768
778
|
whatChanges: string;
|
|
@@ -789,16 +799,6 @@ declare class OpenSpecAdapter {
|
|
|
789
799
|
to: string;
|
|
790
800
|
} | undefined;
|
|
791
801
|
}[];
|
|
792
|
-
tasks: {
|
|
793
|
-
text: string;
|
|
794
|
-
id: string;
|
|
795
|
-
completed: boolean;
|
|
796
|
-
section?: string | undefined;
|
|
797
|
-
}[];
|
|
798
|
-
progress: {
|
|
799
|
-
completed: number;
|
|
800
|
-
total: number;
|
|
801
|
-
};
|
|
802
802
|
metadata?: {
|
|
803
803
|
version: string;
|
|
804
804
|
format: "openspec-change";
|
|
@@ -2143,38 +2143,38 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
|
|
|
2143
2143
|
missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2144
2144
|
instruction: z.ZodString;
|
|
2145
2145
|
}, "strip", z.ZodTypeAny, {
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
}[];
|
|
2146
|
+
changeName: string;
|
|
2147
|
+
schemaName: string;
|
|
2148
|
+
changeDir: string;
|
|
2149
|
+
contextFiles: Record<string, string[]>;
|
|
2151
2150
|
progress: {
|
|
2152
2151
|
total: number;
|
|
2153
2152
|
complete: number;
|
|
2154
2153
|
remaining: number;
|
|
2155
2154
|
};
|
|
2156
|
-
changeName: string;
|
|
2157
|
-
schemaName: string;
|
|
2158
|
-
changeDir: string;
|
|
2159
|
-
contextFiles: Record<string, string[]>;
|
|
2160
|
-
state: "ready" | "blocked" | "all_done";
|
|
2161
|
-
instruction: string;
|
|
2162
|
-
missingArtifacts?: string[] | undefined;
|
|
2163
|
-
}, {
|
|
2164
2155
|
tasks: {
|
|
2165
2156
|
id: string;
|
|
2166
2157
|
description: string;
|
|
2167
2158
|
done: boolean;
|
|
2168
2159
|
}[];
|
|
2160
|
+
state: "ready" | "blocked" | "all_done";
|
|
2161
|
+
instruction: string;
|
|
2162
|
+
missingArtifacts?: string[] | undefined;
|
|
2163
|
+
}, {
|
|
2164
|
+
changeName: string;
|
|
2165
|
+
schemaName: string;
|
|
2166
|
+
changeDir: string;
|
|
2167
|
+
contextFiles: Record<string, string | string[]>;
|
|
2169
2168
|
progress: {
|
|
2170
2169
|
total: number;
|
|
2171
2170
|
complete: number;
|
|
2172
2171
|
remaining: number;
|
|
2173
2172
|
};
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2173
|
+
tasks: {
|
|
2174
|
+
id: string;
|
|
2175
|
+
description: string;
|
|
2176
|
+
done: boolean;
|
|
2177
|
+
}[];
|
|
2178
2178
|
state: "ready" | "blocked" | "all_done";
|
|
2179
2179
|
instruction: string;
|
|
2180
2180
|
missingArtifacts?: string[] | undefined;
|
|
@@ -2253,13 +2253,13 @@ declare const SchemaInfoSchema: z.ZodObject<{
|
|
|
2253
2253
|
source: z.ZodEnum<["project", "user", "package"]>;
|
|
2254
2254
|
}, "strip", z.ZodTypeAny, {
|
|
2255
2255
|
source: "project" | "user" | "package";
|
|
2256
|
-
name: string;
|
|
2257
2256
|
artifacts: string[];
|
|
2257
|
+
name: string;
|
|
2258
2258
|
description?: string | undefined;
|
|
2259
2259
|
}, {
|
|
2260
2260
|
source: "project" | "user" | "package";
|
|
2261
|
-
name: string;
|
|
2262
2261
|
artifacts: string[];
|
|
2262
|
+
name: string;
|
|
2263
2263
|
description?: string | undefined;
|
|
2264
2264
|
}>;
|
|
2265
2265
|
type SchemaInfo = z.infer<typeof SchemaInfoSchema>;
|
|
@@ -2370,7 +2370,6 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
2370
2370
|
applyTracks: z.ZodOptional<z.ZodString>;
|
|
2371
2371
|
applyInstruction: z.ZodOptional<z.ZodString>;
|
|
2372
2372
|
}, "strip", z.ZodTypeAny, {
|
|
2373
|
-
name: string;
|
|
2374
2373
|
applyRequires: string[];
|
|
2375
2374
|
artifacts: {
|
|
2376
2375
|
id: string;
|
|
@@ -2380,12 +2379,12 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
2380
2379
|
template?: string | undefined;
|
|
2381
2380
|
instruction?: string | undefined;
|
|
2382
2381
|
}[];
|
|
2382
|
+
name: string;
|
|
2383
2383
|
description?: string | undefined;
|
|
2384
2384
|
version?: string | number | undefined;
|
|
2385
2385
|
applyTracks?: string | undefined;
|
|
2386
2386
|
applyInstruction?: string | undefined;
|
|
2387
2387
|
}, {
|
|
2388
|
-
name: string;
|
|
2389
2388
|
applyRequires: string[];
|
|
2390
2389
|
artifacts: {
|
|
2391
2390
|
id: string;
|
|
@@ -2395,6 +2394,7 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
2395
2394
|
template?: string | undefined;
|
|
2396
2395
|
instruction?: string | undefined;
|
|
2397
2396
|
}[];
|
|
2397
|
+
name: string;
|
|
2398
2398
|
description?: string | undefined;
|
|
2399
2399
|
version?: string | number | undefined;
|
|
2400
2400
|
applyTracks?: string | undefined;
|