@howaboua/opencode-roadmap-plugin 0.1.5 → 0.1.7

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/types.d.ts DELETED
@@ -1,151 +0,0 @@
1
- import { z } from "zod";
2
- export declare const ActionStatus: z.ZodEnum<["pending", "in_progress", "completed"]>;
3
- export type ActionStatus = z.infer<typeof ActionStatus>;
4
- export declare const Action: z.ZodObject<{
5
- number: z.ZodString;
6
- description: z.ZodString;
7
- status: z.ZodEnum<["pending", "in_progress", "completed"]>;
8
- }, "strip", z.ZodTypeAny, {
9
- number: string;
10
- status: "pending" | "in_progress" | "completed";
11
- description: string;
12
- }, {
13
- number: string;
14
- status: "pending" | "in_progress" | "completed";
15
- description: string;
16
- }>;
17
- export type Action = z.infer<typeof Action>;
18
- export declare const Feature: z.ZodObject<{
19
- number: z.ZodString;
20
- title: z.ZodString;
21
- description: z.ZodString;
22
- actions: z.ZodArray<z.ZodObject<{
23
- number: z.ZodString;
24
- description: z.ZodString;
25
- status: z.ZodEnum<["pending", "in_progress", "completed"]>;
26
- }, "strip", z.ZodTypeAny, {
27
- number: string;
28
- status: "pending" | "in_progress" | "completed";
29
- description: string;
30
- }, {
31
- number: string;
32
- status: "pending" | "in_progress" | "completed";
33
- description: string;
34
- }>, "many">;
35
- }, "strip", z.ZodTypeAny, {
36
- number: string;
37
- description: string;
38
- title: string;
39
- actions: {
40
- number: string;
41
- status: "pending" | "in_progress" | "completed";
42
- description: string;
43
- }[];
44
- }, {
45
- number: string;
46
- description: string;
47
- title: string;
48
- actions: {
49
- number: string;
50
- status: "pending" | "in_progress" | "completed";
51
- description: string;
52
- }[];
53
- }>;
54
- export type Feature = z.infer<typeof Feature>;
55
- export declare const Roadmap: z.ZodObject<{
56
- features: z.ZodArray<z.ZodObject<{
57
- number: z.ZodString;
58
- title: z.ZodString;
59
- description: z.ZodString;
60
- actions: z.ZodArray<z.ZodObject<{
61
- number: z.ZodString;
62
- description: z.ZodString;
63
- status: z.ZodEnum<["pending", "in_progress", "completed"]>;
64
- }, "strip", z.ZodTypeAny, {
65
- number: string;
66
- status: "pending" | "in_progress" | "completed";
67
- description: string;
68
- }, {
69
- number: string;
70
- status: "pending" | "in_progress" | "completed";
71
- description: string;
72
- }>, "many">;
73
- }, "strip", z.ZodTypeAny, {
74
- number: string;
75
- description: string;
76
- title: string;
77
- actions: {
78
- number: string;
79
- status: "pending" | "in_progress" | "completed";
80
- description: string;
81
- }[];
82
- }, {
83
- number: string;
84
- description: string;
85
- title: string;
86
- actions: {
87
- number: string;
88
- status: "pending" | "in_progress" | "completed";
89
- description: string;
90
- }[];
91
- }>, "many">;
92
- }, "strip", z.ZodTypeAny, {
93
- features: {
94
- number: string;
95
- description: string;
96
- title: string;
97
- actions: {
98
- number: string;
99
- status: "pending" | "in_progress" | "completed";
100
- description: string;
101
- }[];
102
- }[];
103
- }, {
104
- features: {
105
- number: string;
106
- description: string;
107
- title: string;
108
- actions: {
109
- number: string;
110
- status: "pending" | "in_progress" | "completed";
111
- description: string;
112
- }[];
113
- }[];
114
- }>;
115
- export type Roadmap = z.infer<typeof Roadmap>;
116
- export interface RoadmapStorage {
117
- read(): Promise<Roadmap | null>;
118
- write(roadmap: Roadmap): Promise<void>;
119
- exists(): Promise<boolean>;
120
- archive(): Promise<string>;
121
- }
122
- export interface ValidationError {
123
- code: string;
124
- message: string;
125
- tutorial?: string;
126
- }
127
- export interface ValidationResult {
128
- isValid: boolean;
129
- errors: ValidationError[];
130
- }
131
- export interface CreateRoadmapInput {
132
- features: Array<{
133
- number: string;
134
- title: string;
135
- description: string;
136
- actions: Array<{
137
- number: string;
138
- description: string;
139
- status: "pending";
140
- }>;
141
- }>;
142
- }
143
- export interface UpdateRoadmapInput {
144
- actionNumber: string;
145
- description?: string;
146
- status: ActionStatus;
147
- }
148
- export interface ReadRoadmapInput {
149
- actionNumber?: string;
150
- featureNumber?: string;
151
- }
package/dist/types.js DELETED
@@ -1,18 +0,0 @@
1
- import { z } from "zod";
2
- export const ActionStatus = z.enum(["pending", "in_progress", "completed"]);
3
- export const Action = z.object({
4
- number: z
5
- .string()
6
- .describe('Action number as string with two decimals ("1.01", "1.02", etc.) - canonical ID, never changes'),
7
- description: z.string().describe("Action description - MUTABLE (overwrite only)"),
8
- status: ActionStatus.describe("Current status of this action - MUTABLE"),
9
- });
10
- export const Feature = z.object({
11
- number: z.string().describe('Feature number as string ("1", "2", "3...") - canonical ID, never changes'),
12
- title: z.string().describe("Feature title"),
13
- description: z.string().describe("Brief description of what this feature accomplishes"),
14
- actions: z.array(Action).describe("Array of actions for this feature"),
15
- });
16
- export const Roadmap = z.object({
17
- features: z.array(Feature).describe("Array of features in the roadmap"),
18
- });