@zinn-dev/cli 0.40.0 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/README.md +11 -561
  2. package/index.js +24 -13
  3. package/package.json +8 -2
  4. package/skills/zinn/SKILL.md +63 -0
  5. package/src/actor.d.ts +2 -1
  6. package/src/actor.js +78 -11
  7. package/src/capabilities-schema.d.ts +162 -0
  8. package/src/capabilities-schema.js +59 -0
  9. package/src/capabilities.d.ts +29 -0
  10. package/src/capabilities.js +30 -0
  11. package/src/column-hint.d.ts +3 -0
  12. package/src/column-hint.js +225 -0
  13. package/src/database.d.ts +1 -1
  14. package/src/database.js +5 -8
  15. package/src/errors.d.ts +158 -0
  16. package/src/errors.js +226 -0
  17. package/src/input.d.ts +227 -0
  18. package/src/input.js +192 -0
  19. package/src/lib.d.ts +71 -8
  20. package/src/lib.js +275 -18
  21. package/src/presentation/activity-presentation.d.ts +9 -1
  22. package/src/presentation/activity-presentation.js +120 -23
  23. package/src/presentation/capabilities-presentation.d.ts +2 -0
  24. package/src/presentation/capabilities-presentation.js +3 -0
  25. package/src/presentation/column-presentation.d.ts +9 -5
  26. package/src/presentation/column-presentation.js +10 -0
  27. package/src/presentation/comment-presentation.d.ts +15 -0
  28. package/src/presentation/comment-presentation.js +29 -0
  29. package/src/presentation/description-presentation.d.ts +17 -0
  30. package/src/presentation/description-presentation.js +26 -4
  31. package/src/presentation/info-presentation.d.ts +4 -0
  32. package/src/presentation/info-presentation.js +96 -0
  33. package/src/presentation/label-presentation.d.ts +8 -0
  34. package/src/presentation/label-presentation.js +28 -0
  35. package/src/presentation/project-presentation.d.ts +7 -0
  36. package/src/presentation/project-presentation.js +19 -0
  37. package/src/presentation/relation-presentation.d.ts +7 -0
  38. package/src/presentation/relation-presentation.js +73 -0
  39. package/src/presentation/task-presentation.d.ts +4 -12
  40. package/src/presentation/task-presentation.js +22 -18
  41. package/src/project.d.ts +18 -3
  42. package/src/project.js +37 -12
  43. package/src/result-schemas.d.ts +1194 -0
  44. package/src/result-schemas.js +279 -0
  45. package/src/results.d.ts +40 -0
  46. package/src/results.js +36 -0
  47. package/src/routes/activity-router.d.ts +104 -0
  48. package/src/routes/activity-router.js +155 -34
  49. package/src/routes/aliases.d.ts +2 -0
  50. package/src/routes/aliases.js +11 -0
  51. package/src/routes/backup-router.d.ts +17 -0
  52. package/src/routes/backup-router.js +15 -3
  53. package/src/routes/capabilities-router.d.ts +21 -0
  54. package/src/routes/capabilities-router.js +34 -0
  55. package/src/routes/comment-router.d.ts +210 -8
  56. package/src/routes/comment-router.js +189 -65
  57. package/src/routes/info-router.d.ts +21 -0
  58. package/src/routes/info-router.js +29 -0
  59. package/src/routes/label-router.d.ts +217 -2
  60. package/src/routes/label-router.js +189 -62
  61. package/src/routes/migrate-router.d.ts +17 -0
  62. package/src/routes/migrate-router.js +17 -5
  63. package/src/routes/project-router.d.ts +373 -2
  64. package/src/routes/project-router.js +322 -132
  65. package/src/routes/reindex-router.d.ts +17 -0
  66. package/src/routes/reindex-router.js +15 -3
  67. package/src/routes/relation-router.d.ts +110 -14
  68. package/src/routes/relation-router.js +122 -79
  69. package/src/routes/restore-router.d.ts +29 -0
  70. package/src/routes/restore-router.js +31 -14
  71. package/src/routes/router.d.ts +1 -1
  72. package/src/routes/router.js +80 -32
  73. package/src/routes/routes.d.ts +1781 -8
  74. package/src/routes/routes.js +9 -1
  75. package/src/routes/task-router.d.ts +946 -4
  76. package/src/routes/task-router.js +524 -260
  77. package/src/routes/whoami-router.d.ts +21 -0
  78. package/src/routes/whoami-router.js +31 -0
  79. package/src/text-edit.d.ts +28 -6
  80. package/src/text-edit.js +40 -23
  81. package/src/text-input.d.ts +47 -0
  82. package/src/text-input.js +187 -0
  83. package/src/types.d.ts +37 -0
  84. package/src/types.js +9 -1
@@ -0,0 +1,279 @@
1
+ import { z } from "zod";
2
+ import { activityActionSchema, activityEntityTypeSchema, actorKindSchema, infoDatabaseStateSchema, labelColorSchema, relationTypeSchema, settingsFileSourceSchema, settingsFileStateSchema, settingsSchema, storageSourceSchema, taskPrioritySchema, } from "@zinn-dev/core";
3
+ import { errorDocumentSchema } from "./errors.js";
4
+ import { capabilitiesSchema, jsonValueSchema } from "./capabilities-schema.js";
5
+ const nullableText = z.string().nullable();
6
+ const count = z.number().int().nonnegative();
7
+ const timestamp = z.number().int().describe("Milliseconds since the Unix epoch.");
8
+ const taskStatus = z.enum(["Active", "Archived"]);
9
+ export const taskSchema = z.strictObject({
10
+ id: z.string().describe("Stored task ID."),
11
+ key: z.string().describe("Readable project key and task number."),
12
+ project_id: z.string().describe("Owning project ID."),
13
+ status: taskStatus,
14
+ column: z.string().describe("Current column name."),
15
+ column_id: z.string().describe("Current column ID."),
16
+ title: z.string(),
17
+ description: nullableText,
18
+ priority: z
19
+ .string()
20
+ .nullable()
21
+ .describe(`Known priorities: ${taskPrioritySchema.options.join(", ")}. Other stored values may occur.`),
22
+ labels: z.array(z.string()).describe("Attached label names."),
23
+ label_ids: z.array(z.string()).describe("Attached label IDs, in the same order as labels."),
24
+ });
25
+ export const relationSchema = z.strictObject({
26
+ id: z.string().describe("Stored relation ID."),
27
+ type: z
28
+ .string()
29
+ .describe(`Known relation types: ${relationTypeSchema.options.join(", ")}. Other stored values may occur.`),
30
+ direction: z
31
+ .enum(["outgoing", "incoming"])
32
+ .nullable()
33
+ .describe("Direction relative to the viewed task; null for a symmetric relation."),
34
+ task: taskSchema.pick({
35
+ id: true,
36
+ key: true,
37
+ project_id: true,
38
+ column: true,
39
+ column_id: true,
40
+ title: true,
41
+ status: true,
42
+ }),
43
+ });
44
+ export const relationChangeSchema = z.strictObject({
45
+ id: z.string().describe("Stored ID of the created or deleted relation."),
46
+ type: relationSchema.shape.type,
47
+ source: z.string().describe("Source task key, in the supplied direction."),
48
+ source_task_id: z.string().describe("Task ID matching source, in the supplied direction."),
49
+ target: z.string().describe("Target task key, in the supplied direction."),
50
+ target_task_id: z.string().describe("Task ID matching target, in the supplied direction."),
51
+ });
52
+ export const commentSchema = z.strictObject({
53
+ id: z.string().describe("Stored comment ID."),
54
+ key: z.string().describe("Readable task key and comment number."),
55
+ task_id: z.string().describe("Owning task ID."),
56
+ text: z.string(),
57
+ created_at: timestamp,
58
+ updated_at: timestamp,
59
+ });
60
+ export const activitySchema = z.strictObject({
61
+ id: z.string().describe("Full activity event ID."),
62
+ created_at: timestamp,
63
+ actor_name: nullableText,
64
+ actor_email: nullableText,
65
+ actor_kind: z
66
+ .string()
67
+ .describe(`Known actor kinds: ${actorKindSchema.options.join(", ")}. Other stored values may occur.`),
68
+ actor_source: nullableText,
69
+ actor_session_id: nullableText,
70
+ actor_thread_id: nullableText,
71
+ actor_agent: nullableText,
72
+ actor_model: nullableText,
73
+ actor_effort: nullableText,
74
+ entity_type: z
75
+ .string()
76
+ .describe(`Known entity types: ${activityEntityTypeSchema.options.join(", ")}. Other stored values may occur.`),
77
+ entity_id: z.string().describe("Stored ID of the affected entity."),
78
+ action: z
79
+ .string()
80
+ .describe(`Known actions: ${activityActionSchema.options.join(", ")}. Other stored values may occur.`),
81
+ changes: z
82
+ .looseObject({})
83
+ .nullable()
84
+ .describe("Raw recorded JSON object, including unknown fields; null when no payload was recorded."),
85
+ });
86
+ export const actorSchema = activitySchema.pick({
87
+ actor_name: true,
88
+ actor_email: true,
89
+ actor_kind: true,
90
+ actor_source: true,
91
+ actor_session_id: true,
92
+ actor_thread_id: true,
93
+ actor_agent: true,
94
+ actor_model: true,
95
+ actor_effort: true,
96
+ });
97
+ export const taskDetailSchema = taskSchema.extend({
98
+ created_at: timestamp,
99
+ updated_at: timestamp,
100
+ relations: z.array(relationSchema),
101
+ comments: z.array(commentSchema),
102
+ });
103
+ export const taskDetailHistorySchema = taskDetailSchema.extend({
104
+ activity: z
105
+ .array(activitySchema)
106
+ .describe("Recorded activity, newest first; present even when empty."),
107
+ });
108
+ export const taskChangeSchema = taskSchema.extend({
109
+ changed: z.boolean().describe("Whether this key occurrence changed the task's state."),
110
+ });
111
+ export const projectSchema = z.strictObject({
112
+ id: z.string().describe("Stored project ID."),
113
+ key: z.string(),
114
+ name: z.string(),
115
+ description: nullableText,
116
+ });
117
+ export const projectChangeSchema = projectSchema.extend({
118
+ changed: z.boolean().describe("Whether the project's fields changed."),
119
+ });
120
+ export const columnSchema = z.strictObject({
121
+ id: z.string().describe("Stored column ID."),
122
+ project: z.string(),
123
+ project_id: z.string().describe("Owning project ID."),
124
+ name: z.string(),
125
+ });
126
+ export const columnChangeSchema = columnSchema.extend({
127
+ changed: z.boolean().describe("Whether the column's name or position changed."),
128
+ });
129
+ export const columnTaskCountSchema = z.strictObject({
130
+ id: columnSchema.shape.id,
131
+ name: z.string(),
132
+ taskCount: count,
133
+ });
134
+ export const projectViewSchema = projectSchema.extend({
135
+ columns: z.array(columnTaskCountSchema),
136
+ archivedTaskCount: count,
137
+ });
138
+ export const labelSchema = z.strictObject({
139
+ id: z.string().describe("Stored label ID."),
140
+ name: z.string(),
141
+ color: z
142
+ .string()
143
+ .describe(`Known label colors: ${labelColorSchema.options.join(", ")}. Other stored values may occur.`),
144
+ description: nullableText,
145
+ });
146
+ export const labelChangeSchema = labelSchema.extend({
147
+ changed: z.boolean().describe("Whether the label's fields changed."),
148
+ });
149
+ export const commentChangeSchema = commentSchema.extend({
150
+ changed: z.boolean().describe("Whether the comment's text changed."),
151
+ });
152
+ const settingsFileBase = z.strictObject({
153
+ path: z.string(),
154
+ source: settingsFileSourceSchema,
155
+ });
156
+ export const settingsFileSchema = z.discriminatedUnion("state", [
157
+ settingsFileBase.extend({
158
+ state: settingsFileStateSchema.extract(["found"]),
159
+ settings: settingsSchema,
160
+ }),
161
+ settingsFileBase.extend({ state: settingsFileStateSchema.extract(["missing"]) }),
162
+ settingsFileBase.extend({ state: settingsFileStateSchema.extract(["error"]), error: z.string() }),
163
+ settingsFileBase.extend({
164
+ state: settingsFileStateSchema.extract(["not-read"]),
165
+ reason: z.literal("ZINN_DIR"),
166
+ }),
167
+ ]);
168
+ export const infoSchema = z.strictObject({
169
+ settingsFiles: z.array(settingsFileSchema),
170
+ storage: z.strictObject({
171
+ directory: nullableText,
172
+ source: storageSourceSchema.nullable(),
173
+ settingsPath: nullableText,
174
+ exists: z.boolean().nullable(),
175
+ error: nullableText,
176
+ }),
177
+ defaultProject: z.strictObject({
178
+ key: nullableText,
179
+ settingsPath: nullableText,
180
+ error: nullableText,
181
+ }),
182
+ database: z.strictObject({
183
+ path: nullableText,
184
+ state: infoDatabaseStateSchema,
185
+ version: count.nullable(),
186
+ latestVersion: count,
187
+ error: nullableText,
188
+ }),
189
+ versions: z.strictObject({
190
+ cli: z.string(),
191
+ core: z.string(),
192
+ runtime: z.strictObject({ name: z.enum(["Node", "Bun"]), version: z.string() }),
193
+ }),
194
+ });
195
+ export const backupSchema = z.strictObject({ path: z.string() });
196
+ export const restoreSchema = z.strictObject({
197
+ databasePath: z.string(),
198
+ previousVersion: count.describe("Destination schema version before restore; zero when the destination had no schema version. backupPath says whether it was replaced."),
199
+ restoredVersion: count,
200
+ backupPath: nullableText.describe("Snapshot of the replaced database, or null when none was needed."),
201
+ });
202
+ export const migrateSchema = z.strictObject({
203
+ databasePath: z.string(),
204
+ previousVersion: count,
205
+ finalVersion: count,
206
+ changed: z.boolean(),
207
+ backupPath: nullableText.describe("Snapshot taken before migration; null on a no-op."),
208
+ });
209
+ export const reindexSchema = z.strictObject({ databasePath: z.string(), taskCount: count });
210
+ export const resultSchemas = {
211
+ Task: taskSchema,
212
+ TaskList: z.array(taskSchema),
213
+ TaskDetail: taskDetailSchema,
214
+ TaskDetailHistory: taskDetailHistorySchema,
215
+ TaskChange: taskChangeSchema,
216
+ TaskChanges: z.array(taskChangeSchema).min(2),
217
+ Relation: relationSchema,
218
+ RelationList: z.array(relationSchema),
219
+ RelationChange: relationChangeSchema,
220
+ Comment: commentSchema,
221
+ CommentChange: commentChangeSchema,
222
+ CommentList: z.array(commentSchema),
223
+ Project: projectSchema,
224
+ ProjectChange: projectChangeSchema,
225
+ ProjectList: z.array(projectSchema),
226
+ ProjectView: projectViewSchema,
227
+ Column: columnSchema,
228
+ ColumnChange: columnChangeSchema,
229
+ ColumnTaskCount: columnTaskCountSchema,
230
+ ColumnList: z.array(columnTaskCountSchema),
231
+ Label: labelSchema,
232
+ LabelChange: labelChangeSchema,
233
+ LabelList: z.array(labelSchema),
234
+ Activity: activitySchema,
235
+ ActivityList: z.array(activitySchema),
236
+ Actor: actorSchema,
237
+ Info: infoSchema,
238
+ Backup: backupSchema,
239
+ Restore: restoreSchema,
240
+ Migrate: migrateSchema,
241
+ Reindex: reindexSchema,
242
+ ErrorEnvelope: errorDocumentSchema,
243
+ Capabilities: capabilitiesSchema,
244
+ JsonValue: jsonValueSchema,
245
+ };
246
+ /** Generates local references against the extracted schemas document in draft-07 spec */
247
+ export function generateResultSchemas(schemas = resultSchemas) {
248
+ const schemaVersion = "draft-07";
249
+ const registry = z.registry();
250
+ for (const [id, schema] of Object.entries(schemas)) {
251
+ registry.add(schema, { id });
252
+ }
253
+ const generated = z.toJSONSchema(registry, {
254
+ target: schemaVersion,
255
+ unrepresentable: "throw",
256
+ uri: (id) => `#/definitions/${id.replaceAll("~", "~0").replaceAll("/", "~1")}`,
257
+ });
258
+ function rebaseReferences(value) {
259
+ if (value === null || typeof value !== "object") {
260
+ return;
261
+ }
262
+ for (const [key, child] of Object.entries(value)) {
263
+ if (key === "$ref" && typeof child === "string") {
264
+ // Zod's shared document fragment becomes a path inside the embedded definition.
265
+ value[key] = child.replace(/^(#\/definitions\/[^#]+)#\//, "$1/");
266
+ }
267
+ else {
268
+ rebaseReferences(child);
269
+ }
270
+ }
271
+ }
272
+ rebaseReferences(generated.schemas);
273
+ const definitions = Object.fromEntries(Object.entries(generated.schemas).map(([name, schema]) => {
274
+ // Embedded definitions share their document's base URI.
275
+ const { $id, $schema, ...definition } = schema;
276
+ return [name, definition];
277
+ }));
278
+ return { $schema: `http://json-schema.org/${schemaVersion}/schema#`, definitions };
279
+ }
@@ -0,0 +1,40 @@
1
+ import type { ResultSchemaName } from "./result-schemas.js";
2
+ import { z } from "zod";
3
+ export declare const resultSelectorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ kind: z.ZodLiteral<"always">;
5
+ }, z.core.$strict>, z.ZodObject<{
6
+ kind: z.ZodLiteral<"booleanOption">;
7
+ name: z.ZodString;
8
+ value: z.ZodBoolean;
9
+ }, z.core.$strict>, z.ZodObject<{
10
+ kind: z.ZodLiteral<"positionalCount">;
11
+ name: z.ZodString;
12
+ min: z.ZodNumber;
13
+ max: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$strict>], "kind">;
15
+ export declare const resultReferenceSchema: z.ZodString;
16
+ export declare const commandResultSchema: z.ZodObject<{
17
+ selector: z.ZodDiscriminatedUnion<[z.ZodObject<{
18
+ kind: z.ZodLiteral<"always">;
19
+ }, z.core.$strict>, z.ZodObject<{
20
+ kind: z.ZodLiteral<"booleanOption">;
21
+ name: z.ZodString;
22
+ value: z.ZodBoolean;
23
+ }, z.core.$strict>, z.ZodObject<{
24
+ kind: z.ZodLiteral<"positionalCount">;
25
+ name: z.ZodString;
26
+ min: z.ZodNumber;
27
+ max: z.ZodNullable<z.ZodNumber>;
28
+ }, z.core.$strict>], "kind">;
29
+ schemaRef: z.ZodString;
30
+ mode: z.ZodLiteral<"json">;
31
+ stream: z.ZodLiteral<"stdout">;
32
+ exitCode: z.ZodLiteral<0>;
33
+ }, z.core.$strict>;
34
+ export type ResultSelector = z.infer<typeof resultSelectorSchema>;
35
+ export type CommandResult = z.infer<typeof commandResultSchema> & {
36
+ schemaRef: `#/schemas/definitions/${ResultSchemaName}`;
37
+ };
38
+ export declare function jsonResult(schema: ResultSchemaName, selector?: ResultSelector): CommandResult;
39
+ export declare const taskDetailResults: CommandResult[];
40
+ export declare const taskChangeResults: CommandResult[];
package/src/results.js ADDED
@@ -0,0 +1,36 @@
1
+ import { z } from "zod";
2
+ export const resultSelectorSchema = z.discriminatedUnion("kind", [
3
+ z.strictObject({ kind: z.literal("always") }),
4
+ z.strictObject({ kind: z.literal("booleanOption"), name: z.string(), value: z.boolean() }),
5
+ z.strictObject({
6
+ kind: z.literal("positionalCount"),
7
+ name: z.string(),
8
+ min: z.number().int().nonnegative(),
9
+ max: z.number().int().nonnegative().nullable(),
10
+ }),
11
+ ]);
12
+ export const resultReferenceSchema = z.string().regex(/^#\/schemas\/definitions\/[^/]+$/);
13
+ export const commandResultSchema = z.strictObject({
14
+ selector: resultSelectorSchema,
15
+ schemaRef: resultReferenceSchema,
16
+ mode: z.literal("json"),
17
+ stream: z.literal("stdout"),
18
+ exitCode: z.literal(0),
19
+ });
20
+ export function jsonResult(schema, selector = { kind: "always" }) {
21
+ return {
22
+ selector,
23
+ schemaRef: `#/schemas/definitions/${schema}`,
24
+ mode: "json",
25
+ stream: "stdout",
26
+ exitCode: 0,
27
+ };
28
+ }
29
+ export const taskDetailResults = [
30
+ jsonResult("TaskDetail", { kind: "booleanOption", name: "history", value: false }),
31
+ jsonResult("TaskDetailHistory", { kind: "booleanOption", name: "history", value: true }),
32
+ ];
33
+ export const taskChangeResults = [
34
+ jsonResult("TaskChange", { kind: "positionalCount", name: "task-key", min: 1, max: 1 }),
35
+ jsonResult("TaskChanges", { kind: "positionalCount", name: "task-key", min: 2, max: null }),
36
+ ];
@@ -1,9 +1,113 @@
1
1
  export declare const activityRouter: {
2
2
  list: {
3
+ summary: string;
4
+ effects: {
5
+ domain: "read";
6
+ storage: "normal-open";
7
+ };
8
+ confirmation: {
9
+ kind: "none";
10
+ };
11
+ input: {
12
+ readonly options: {
13
+ readonly project: {
14
+ readonly type: "string";
15
+ readonly value: {
16
+ readonly kind: "project-key";
17
+ readonly name: "project-key";
18
+ };
19
+ };
20
+ readonly "project-id": {
21
+ readonly type: "string";
22
+ readonly value: {
23
+ readonly kind: "project-id";
24
+ readonly name: "project-id";
25
+ readonly description: "Full project UUID; canonical or compact, case-insensitive";
26
+ };
27
+ };
28
+ readonly task: {
29
+ readonly type: "string";
30
+ readonly value: {
31
+ readonly kind: "task-key";
32
+ readonly name: "task-key";
33
+ };
34
+ };
35
+ readonly "task-id": {
36
+ readonly type: "string";
37
+ readonly value: {
38
+ readonly kind: "task-id";
39
+ readonly name: "task-id";
40
+ readonly description: "Full task UUID; canonical or compact, case-insensitive";
41
+ };
42
+ };
43
+ readonly "show-deleted": {
44
+ readonly type: "boolean";
45
+ };
46
+ readonly session: {
47
+ readonly type: "string";
48
+ readonly value: {
49
+ readonly kind: "text";
50
+ readonly name: "id";
51
+ };
52
+ };
53
+ readonly thread: {
54
+ readonly type: "string";
55
+ readonly value: {
56
+ readonly kind: "text";
57
+ readonly name: "id";
58
+ };
59
+ };
60
+ readonly limit: {
61
+ readonly type: "string";
62
+ readonly value: {
63
+ readonly kind: "positive-integer";
64
+ readonly name: "n";
65
+ readonly pattern: "^[1-9]\\d{0,14}\\d?$";
66
+ };
67
+ };
68
+ };
69
+ readonly forms: readonly [{
70
+ readonly id: "default";
71
+ readonly positionals: readonly [];
72
+ }];
73
+ readonly constraints: readonly [{
74
+ readonly kind: "exclusive";
75
+ readonly members: readonly ["option:project", "option:project-id", "option:task", "option:task-id"];
76
+ }, {
77
+ readonly kind: "requiresAny";
78
+ readonly input: "option:show-deleted";
79
+ readonly members: readonly ["option:project", "option:task"];
80
+ }];
81
+ };
82
+ results: import("../results.js").CommandResult[];
3
83
  run: (args: string[]) => void;
4
84
  help: string;
5
85
  };
6
86
  view: {
87
+ summary: string;
88
+ effects: {
89
+ domain: "read";
90
+ storage: "normal-open";
91
+ };
92
+ confirmation: {
93
+ kind: "none";
94
+ };
95
+ input: {
96
+ readonly options: {};
97
+ readonly forms: readonly [{
98
+ readonly id: "default";
99
+ readonly positionals: readonly [{
100
+ readonly name: "activity-id";
101
+ readonly min: 1;
102
+ readonly max: 1;
103
+ readonly value: {
104
+ readonly kind: "activity-id";
105
+ };
106
+ }];
107
+ }];
108
+ readonly constraints: readonly [];
109
+ };
110
+ results: import("../results.js").CommandResult[];
7
111
  run: (args: string[]) => void;
8
112
  help: string;
9
113
  };