@zinn-dev/cli 0.45.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +3 -3
- package/skills/zinn/SKILL.md +2 -2
- package/src/actor.d.ts +1 -1
- package/src/actor.js +4 -1
- package/src/capabilities-schema.d.ts +4 -0
- package/src/errors.d.ts +4 -0
- package/src/errors.js +18 -5
- package/src/lib.d.ts +2 -1
- package/src/lib.js +52 -20
- package/src/presentation/activity-presentation.js +2 -0
- package/src/presentation/doctor-presentation.d.ts +7 -1
- package/src/presentation/doctor-presentation.js +6 -2
- package/src/presentation/skill-status-presentation.d.ts +9 -0
- package/src/presentation/skill-status-presentation.js +43 -0
- package/src/presentation/task-blame-presentation.d.ts +1 -0
- package/src/presentation/task-blame-presentation.js +3 -1
- package/src/presentation/task-presentation.d.ts +16 -4
- package/src/presentation/task-presentation.js +60 -33
- package/src/result-schemas.d.ts +137 -0
- package/src/result-schemas.js +51 -0
- package/src/routes/activity-router.d.ts +4 -2
- package/src/routes/activity-router.js +44 -17
- package/src/routes/backup-router.d.ts +1 -0
- package/src/routes/backup-router.js +4 -3
- package/src/routes/capabilities-router.d.ts +1 -0
- package/src/routes/capabilities-router.js +1 -1
- package/src/routes/comment-router.d.ts +5 -0
- package/src/routes/comment-router.js +5 -5
- package/src/routes/doctor-router.d.ts +1 -0
- package/src/routes/doctor-router.js +33 -53
- package/src/routes/info-router.d.ts +1 -0
- package/src/routes/info-router.js +1 -1
- package/src/routes/label-router.d.ts +5 -0
- package/src/routes/label-router.js +5 -5
- package/src/routes/migrate-router.d.ts +1 -0
- package/src/routes/migrate-router.js +5 -7
- package/src/routes/project-router.d.ts +10 -0
- package/src/routes/project-router.js +31 -24
- package/src/routes/reindex-router.d.ts +1 -0
- package/src/routes/reindex-router.js +1 -1
- package/src/routes/relation-router.d.ts +3 -0
- package/src/routes/relation-router.js +9 -6
- package/src/routes/restore-router.d.ts +1 -0
- package/src/routes/restore-router.js +3 -4
- package/src/routes/router.js +2 -2
- package/src/routes/routes.d.ts +113 -2
- package/src/routes/skill-router.d.ts +53 -2
- package/src/routes/skill-router.js +114 -31
- package/src/routes/task-router.d.ts +33 -0
- package/src/routes/task-router.js +182 -88
- package/src/routes/whoami-router.d.ts +1 -0
- package/src/routes/whoami-router.js +1 -1
- package/src/skill-copies.d.ts +34 -0
- package/src/skill-copies.js +109 -0
- package/src/telemetry.d.ts +2 -2
- package/src/telemetry.js +8 -3
- package/src/types.d.ts +4 -0
- package/src/types.js +6 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { parseArgs } from "node:util";
|
|
2
|
-
import { relation, relationTypeSchema, task } from "@zinn-dev/core";
|
|
2
|
+
import { readSnapshot, relation, relationTypeSchema, task } from "@zinn-dev/core";
|
|
3
3
|
import { jsonResult } from "../results.js";
|
|
4
4
|
import { generateCommandUsage, taskKeyPositional } from "../input.js";
|
|
5
|
-
import { output, diagnostic, confirmAction, confirmationDescription, quit, requireStringOption, validatePositionals, validateUniqueOptions, } from "../lib.js";
|
|
5
|
+
import { output, diagnostic, confirmAction, confirmationDescription, quit, requireStringOption, validatePositionals, validateTaskKey, validateUniqueOptions, } from "../lib.js";
|
|
6
6
|
import { currentActor } from "../actor.js";
|
|
7
7
|
import { formatRelationChange, formatRelationList, presentRelations, presentRelationChange, } from "../presentation/relation-presentation.js";
|
|
8
8
|
const guessedRelationTypes = new Map([
|
|
@@ -111,7 +111,7 @@ const relationInputs = {
|
|
|
111
111
|
export const relationRouter = {
|
|
112
112
|
create: {
|
|
113
113
|
summary: "Create a relation, confirming replacement of conflicting links.",
|
|
114
|
-
effects: { domain: "replace", storage: "normal-open" },
|
|
114
|
+
effects: { domain: "replace", storage: "normal-open", external: [] },
|
|
115
115
|
confirmation: {
|
|
116
116
|
kind: "prompt",
|
|
117
117
|
description: `Only asks when replacing existing relations. ${confirmationDescription}`,
|
|
@@ -168,7 +168,7 @@ Example: zinn task relation create APP-1 APP-2 --type dependency`,
|
|
|
168
168
|
},
|
|
169
169
|
list: {
|
|
170
170
|
summary: "Show incoming and outgoing relations with connected task keys, columns and titles.",
|
|
171
|
-
effects: { domain: "read", storage: "normal-open" },
|
|
171
|
+
effects: { domain: "read", storage: "normal-open", external: [] },
|
|
172
172
|
confirmation: { kind: "none" },
|
|
173
173
|
input: relationInputs.list,
|
|
174
174
|
results: [jsonResult("RelationList")],
|
|
@@ -180,7 +180,10 @@ Example: zinn task relation create APP-1 APP-2 --type dependency`,
|
|
|
180
180
|
strict: true,
|
|
181
181
|
});
|
|
182
182
|
validatePositionals(positionals, relationInputs.list.forms[0]);
|
|
183
|
-
|
|
183
|
+
const taskKey = positionals[0];
|
|
184
|
+
validateTaskKey(taskKey);
|
|
185
|
+
const relations = readSnapshot(() => presentRelations(task.getByKey(taskKey)));
|
|
186
|
+
output(relations, formatRelationList);
|
|
184
187
|
},
|
|
185
188
|
help: `${generateCommandUsage("task relation list", relationInputs.list)}
|
|
186
189
|
|
|
@@ -192,7 +195,7 @@ Example: zinn task relation list APP-1`,
|
|
|
192
195
|
},
|
|
193
196
|
delete: {
|
|
194
197
|
summary: "Remove only the specified relation. No confirmation is required.",
|
|
195
|
-
effects: { domain: "delete", storage: "normal-open" },
|
|
198
|
+
effects: { domain: "delete", storage: "normal-open", external: [] },
|
|
196
199
|
confirmation: { kind: "none" },
|
|
197
200
|
input: relationInputs.delete,
|
|
198
201
|
results: [jsonResult("RelationChange")],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseArgs } from "node:util";
|
|
2
2
|
import { resolve } from "node:path";
|
|
3
|
-
import { backup, RestoreRefusedError, getBackupStorage, isSqliteErrorFamily } from "@zinn-dev/core";
|
|
3
|
+
import { backup, DatabaseChangeAppliedError, RestoreRefusedError, getBackupStorage, isSqliteErrorFamily, } from "@zinn-dev/core";
|
|
4
4
|
import { jsonResult } from "../results.js";
|
|
5
5
|
import { reportLockWait } from "../database.js";
|
|
6
6
|
import { confirmationDescription } from "../lib.js";
|
|
@@ -19,7 +19,7 @@ const restoreInputs = {
|
|
|
19
19
|
};
|
|
20
20
|
export const restoreCommand = {
|
|
21
21
|
summary: "Replace the database with the one in a backup file, such as one saved by `zinn backup` or by an upgrade, after confirmation.",
|
|
22
|
-
effects: { domain: "replace", storage: "restore" },
|
|
22
|
+
effects: { domain: "replace", storage: "restore", external: [] },
|
|
23
23
|
confirmation: { kind: "prompt", description: confirmationDescription },
|
|
24
24
|
input: restoreInputs.command,
|
|
25
25
|
results: [jsonResult("Restore")],
|
|
@@ -61,8 +61,7 @@ export const restoreCommand = {
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
catch (error) {
|
|
64
|
-
|
|
65
|
-
if (!(error instanceof RestoreRefusedError)) {
|
|
64
|
+
if (!(error instanceof RestoreRefusedError || error instanceof DatabaseChangeAppliedError)) {
|
|
66
65
|
const isDamagedDatabase = isSqliteErrorFamily(error, "SQLITE_CORRUPT");
|
|
67
66
|
if (isDamagedDatabase) {
|
|
68
67
|
diagnostic(`The database at ${databasePath} is damaged. Nothing was changed. To restore it:\n` +
|
package/src/routes/router.js
CHANGED
|
@@ -244,8 +244,8 @@ async function route(parsedRoutes, rawArgs, beforeRun) {
|
|
|
244
244
|
? undefined
|
|
245
245
|
: { args: suggestion, route: target.match.command.split(" ") };
|
|
246
246
|
};
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
if (isParseArgsError(err)) {
|
|
248
|
+
const parserFailure = parseArgsFailure(err, rawArgs, suggestFor, match.command.split(" "), match.input.options);
|
|
249
249
|
parserFailure.help = getUsage(match.help);
|
|
250
250
|
throw parserFailure;
|
|
251
251
|
}
|
package/src/routes/routes.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const routes: {
|
|
|
5
5
|
effects: {
|
|
6
6
|
domain: "create";
|
|
7
7
|
storage: "normal-open";
|
|
8
|
+
external: never[];
|
|
8
9
|
};
|
|
9
10
|
confirmation: {
|
|
10
11
|
kind: "none";
|
|
@@ -59,6 +60,7 @@ export declare const routes: {
|
|
|
59
60
|
effects: {
|
|
60
61
|
domain: "read";
|
|
61
62
|
storage: "normal-open";
|
|
63
|
+
external: never[];
|
|
62
64
|
};
|
|
63
65
|
confirmation: {
|
|
64
66
|
kind: "none";
|
|
@@ -80,6 +82,7 @@ export declare const routes: {
|
|
|
80
82
|
effects: {
|
|
81
83
|
domain: "read";
|
|
82
84
|
storage: "normal-open";
|
|
85
|
+
external: never[];
|
|
83
86
|
};
|
|
84
87
|
confirmation: {
|
|
85
88
|
kind: "none";
|
|
@@ -109,6 +112,7 @@ export declare const routes: {
|
|
|
109
112
|
effects: {
|
|
110
113
|
domain: "update";
|
|
111
114
|
storage: "normal-open";
|
|
115
|
+
external: never[];
|
|
112
116
|
};
|
|
113
117
|
confirmation: {
|
|
114
118
|
kind: "none";
|
|
@@ -220,6 +224,7 @@ export declare const routes: {
|
|
|
220
224
|
effects: {
|
|
221
225
|
domain: "delete";
|
|
222
226
|
storage: "normal-open";
|
|
227
|
+
external: never[];
|
|
223
228
|
};
|
|
224
229
|
confirmation: {
|
|
225
230
|
kind: "project-delete";
|
|
@@ -255,6 +260,7 @@ export declare const routes: {
|
|
|
255
260
|
effects: {
|
|
256
261
|
domain: "create";
|
|
257
262
|
storage: "normal-open";
|
|
263
|
+
external: never[];
|
|
258
264
|
};
|
|
259
265
|
confirmation: {
|
|
260
266
|
kind: "none";
|
|
@@ -300,6 +306,7 @@ export declare const routes: {
|
|
|
300
306
|
effects: {
|
|
301
307
|
domain: "read";
|
|
302
308
|
storage: "normal-open";
|
|
309
|
+
external: never[];
|
|
303
310
|
};
|
|
304
311
|
confirmation: {
|
|
305
312
|
kind: "none";
|
|
@@ -329,6 +336,7 @@ export declare const routes: {
|
|
|
329
336
|
effects: {
|
|
330
337
|
domain: "update";
|
|
331
338
|
storage: "normal-open";
|
|
339
|
+
external: never[];
|
|
332
340
|
};
|
|
333
341
|
confirmation: {
|
|
334
342
|
kind: "prompt";
|
|
@@ -387,6 +395,7 @@ export declare const routes: {
|
|
|
387
395
|
effects: {
|
|
388
396
|
domain: "update";
|
|
389
397
|
storage: "normal-open";
|
|
398
|
+
external: never[];
|
|
390
399
|
};
|
|
391
400
|
confirmation: {
|
|
392
401
|
kind: "none";
|
|
@@ -462,6 +471,7 @@ export declare const routes: {
|
|
|
462
471
|
effects: {
|
|
463
472
|
domain: "delete";
|
|
464
473
|
storage: "normal-open";
|
|
474
|
+
external: never[];
|
|
465
475
|
};
|
|
466
476
|
confirmation: {
|
|
467
477
|
kind: "prompt";
|
|
@@ -505,6 +515,7 @@ export declare const routes: {
|
|
|
505
515
|
effects: {
|
|
506
516
|
domain: "create";
|
|
507
517
|
storage: "normal-open";
|
|
518
|
+
external: never[];
|
|
508
519
|
};
|
|
509
520
|
confirmation: {
|
|
510
521
|
kind: "none";
|
|
@@ -628,6 +639,7 @@ export declare const routes: {
|
|
|
628
639
|
effects: {
|
|
629
640
|
domain: "read";
|
|
630
641
|
storage: "normal-open";
|
|
642
|
+
external: never[];
|
|
631
643
|
};
|
|
632
644
|
confirmation: {
|
|
633
645
|
kind: "none";
|
|
@@ -737,6 +749,7 @@ export declare const routes: {
|
|
|
737
749
|
effects: {
|
|
738
750
|
domain: "read";
|
|
739
751
|
storage: "normal-open";
|
|
752
|
+
external: never[];
|
|
740
753
|
};
|
|
741
754
|
confirmation: {
|
|
742
755
|
kind: "none";
|
|
@@ -776,6 +789,10 @@ export declare const routes: {
|
|
|
776
789
|
readonly name: "name";
|
|
777
790
|
};
|
|
778
791
|
};
|
|
792
|
+
readonly "with-matches": {
|
|
793
|
+
readonly type: "boolean";
|
|
794
|
+
readonly description: "Include match excerpts in JSON results";
|
|
795
|
+
};
|
|
779
796
|
readonly "due-since": {
|
|
780
797
|
readonly type: "string";
|
|
781
798
|
readonly value: {
|
|
@@ -817,6 +834,10 @@ export declare const routes: {
|
|
|
817
834
|
}, {
|
|
818
835
|
readonly kind: "exclusive";
|
|
819
836
|
readonly members: readonly ["positional:project-key", "option:all-projects"];
|
|
837
|
+
}, {
|
|
838
|
+
readonly kind: "requires";
|
|
839
|
+
readonly input: "option:with-matches";
|
|
840
|
+
readonly requires: "option:json";
|
|
820
841
|
}];
|
|
821
842
|
readonly notes: readonly ["An omitted project key uses defaultProject, or all projects if unset. --all-projects overrides the default and cannot be combined with a project key.", "A query that is a task key ignores defaultProject unless a project was typed. --all-projects still excludes a typed project."];
|
|
822
843
|
};
|
|
@@ -829,6 +850,7 @@ export declare const routes: {
|
|
|
829
850
|
effects: {
|
|
830
851
|
domain: "read";
|
|
831
852
|
storage: "normal-open";
|
|
853
|
+
external: never[];
|
|
832
854
|
};
|
|
833
855
|
confirmation: {
|
|
834
856
|
kind: "none";
|
|
@@ -872,6 +894,7 @@ export declare const routes: {
|
|
|
872
894
|
effects: {
|
|
873
895
|
domain: "read";
|
|
874
896
|
storage: "normal-open";
|
|
897
|
+
external: never[];
|
|
875
898
|
};
|
|
876
899
|
confirmation: {
|
|
877
900
|
kind: "none";
|
|
@@ -904,6 +927,7 @@ export declare const routes: {
|
|
|
904
927
|
effects: {
|
|
905
928
|
domain: "read";
|
|
906
929
|
storage: "normal-open";
|
|
930
|
+
external: never[];
|
|
907
931
|
};
|
|
908
932
|
confirmation: {
|
|
909
933
|
kind: "none";
|
|
@@ -932,6 +956,7 @@ export declare const routes: {
|
|
|
932
956
|
effects: {
|
|
933
957
|
domain: "update";
|
|
934
958
|
storage: "normal-open";
|
|
959
|
+
external: never[];
|
|
935
960
|
};
|
|
936
961
|
confirmation: {
|
|
937
962
|
kind: "none";
|
|
@@ -1100,6 +1125,7 @@ export declare const routes: {
|
|
|
1100
1125
|
effects: {
|
|
1101
1126
|
domain: "update";
|
|
1102
1127
|
storage: "normal-open";
|
|
1128
|
+
external: never[];
|
|
1103
1129
|
};
|
|
1104
1130
|
confirmation: {
|
|
1105
1131
|
kind: "none";
|
|
@@ -1147,6 +1173,7 @@ export declare const routes: {
|
|
|
1147
1173
|
effects: {
|
|
1148
1174
|
domain: "update";
|
|
1149
1175
|
storage: "normal-open";
|
|
1176
|
+
external: never[];
|
|
1150
1177
|
};
|
|
1151
1178
|
confirmation: {
|
|
1152
1179
|
kind: "none";
|
|
@@ -1226,6 +1253,7 @@ export declare const routes: {
|
|
|
1226
1253
|
effects: {
|
|
1227
1254
|
domain: "update";
|
|
1228
1255
|
storage: "normal-open";
|
|
1256
|
+
external: never[];
|
|
1229
1257
|
};
|
|
1230
1258
|
confirmation: {
|
|
1231
1259
|
kind: "none";
|
|
@@ -1254,6 +1282,7 @@ export declare const routes: {
|
|
|
1254
1282
|
effects: {
|
|
1255
1283
|
domain: "update";
|
|
1256
1284
|
storage: "normal-open";
|
|
1285
|
+
external: never[];
|
|
1257
1286
|
};
|
|
1258
1287
|
confirmation: {
|
|
1259
1288
|
kind: "none";
|
|
@@ -1282,6 +1311,7 @@ export declare const routes: {
|
|
|
1282
1311
|
effects: {
|
|
1283
1312
|
domain: "update";
|
|
1284
1313
|
storage: "normal-open";
|
|
1314
|
+
external: never[];
|
|
1285
1315
|
};
|
|
1286
1316
|
confirmation: {
|
|
1287
1317
|
kind: "none";
|
|
@@ -1324,6 +1354,7 @@ export declare const routes: {
|
|
|
1324
1354
|
effects: {
|
|
1325
1355
|
domain: "update";
|
|
1326
1356
|
storage: "normal-open";
|
|
1357
|
+
external: never[];
|
|
1327
1358
|
};
|
|
1328
1359
|
confirmation: {
|
|
1329
1360
|
kind: "none";
|
|
@@ -1352,6 +1383,7 @@ export declare const routes: {
|
|
|
1352
1383
|
effects: {
|
|
1353
1384
|
domain: "update";
|
|
1354
1385
|
storage: "normal-open";
|
|
1386
|
+
external: never[];
|
|
1355
1387
|
};
|
|
1356
1388
|
confirmation: {
|
|
1357
1389
|
kind: "none";
|
|
@@ -1380,6 +1412,7 @@ export declare const routes: {
|
|
|
1380
1412
|
effects: {
|
|
1381
1413
|
domain: "delete";
|
|
1382
1414
|
storage: "normal-open";
|
|
1415
|
+
external: never[];
|
|
1383
1416
|
};
|
|
1384
1417
|
confirmation: {
|
|
1385
1418
|
kind: "prompt";
|
|
@@ -1414,6 +1447,7 @@ export declare const routes: {
|
|
|
1414
1447
|
effects: {
|
|
1415
1448
|
domain: "replace";
|
|
1416
1449
|
storage: "normal-open";
|
|
1450
|
+
external: never[];
|
|
1417
1451
|
};
|
|
1418
1452
|
confirmation: {
|
|
1419
1453
|
kind: "prompt";
|
|
@@ -1465,6 +1499,7 @@ export declare const routes: {
|
|
|
1465
1499
|
effects: {
|
|
1466
1500
|
domain: "read";
|
|
1467
1501
|
storage: "normal-open";
|
|
1502
|
+
external: never[];
|
|
1468
1503
|
};
|
|
1469
1504
|
confirmation: {
|
|
1470
1505
|
kind: "none";
|
|
@@ -1493,6 +1528,7 @@ export declare const routes: {
|
|
|
1493
1528
|
effects: {
|
|
1494
1529
|
domain: "delete";
|
|
1495
1530
|
storage: "normal-open";
|
|
1531
|
+
external: never[];
|
|
1496
1532
|
};
|
|
1497
1533
|
confirmation: {
|
|
1498
1534
|
kind: "none";
|
|
@@ -1542,6 +1578,7 @@ export declare const routes: {
|
|
|
1542
1578
|
effects: {
|
|
1543
1579
|
domain: "create";
|
|
1544
1580
|
storage: "normal-open";
|
|
1581
|
+
external: never[];
|
|
1545
1582
|
};
|
|
1546
1583
|
confirmation: {
|
|
1547
1584
|
kind: "none";
|
|
@@ -1595,6 +1632,7 @@ export declare const routes: {
|
|
|
1595
1632
|
effects: {
|
|
1596
1633
|
domain: "read";
|
|
1597
1634
|
storage: "normal-open";
|
|
1635
|
+
external: never[];
|
|
1598
1636
|
};
|
|
1599
1637
|
confirmation: {
|
|
1600
1638
|
kind: "none";
|
|
@@ -1623,6 +1661,7 @@ export declare const routes: {
|
|
|
1623
1661
|
effects: {
|
|
1624
1662
|
domain: "read";
|
|
1625
1663
|
storage: "normal-open";
|
|
1664
|
+
external: never[];
|
|
1626
1665
|
};
|
|
1627
1666
|
confirmation: {
|
|
1628
1667
|
kind: "none";
|
|
@@ -1651,6 +1690,7 @@ export declare const routes: {
|
|
|
1651
1690
|
effects: {
|
|
1652
1691
|
domain: "update";
|
|
1653
1692
|
storage: "normal-open";
|
|
1693
|
+
external: never[];
|
|
1654
1694
|
};
|
|
1655
1695
|
confirmation: {
|
|
1656
1696
|
kind: "none";
|
|
@@ -1751,6 +1791,7 @@ export declare const routes: {
|
|
|
1751
1791
|
effects: {
|
|
1752
1792
|
domain: "delete";
|
|
1753
1793
|
storage: "normal-open";
|
|
1794
|
+
external: never[];
|
|
1754
1795
|
};
|
|
1755
1796
|
confirmation: {
|
|
1756
1797
|
kind: "prompt";
|
|
@@ -1786,6 +1827,7 @@ export declare const routes: {
|
|
|
1786
1827
|
effects: {
|
|
1787
1828
|
domain: "update";
|
|
1788
1829
|
storage: "normal-open";
|
|
1830
|
+
external: never[];
|
|
1789
1831
|
};
|
|
1790
1832
|
confirmation: {
|
|
1791
1833
|
kind: "none";
|
|
@@ -1821,6 +1863,7 @@ export declare const routes: {
|
|
|
1821
1863
|
effects: {
|
|
1822
1864
|
domain: "update";
|
|
1823
1865
|
storage: "normal-open";
|
|
1866
|
+
external: never[];
|
|
1824
1867
|
};
|
|
1825
1868
|
confirmation: {
|
|
1826
1869
|
kind: "none";
|
|
@@ -1859,6 +1902,7 @@ export declare const routes: {
|
|
|
1859
1902
|
effects: {
|
|
1860
1903
|
domain: "create";
|
|
1861
1904
|
storage: "normal-open";
|
|
1905
|
+
external: never[];
|
|
1862
1906
|
};
|
|
1863
1907
|
confirmation: {
|
|
1864
1908
|
kind: "none";
|
|
@@ -1914,6 +1958,7 @@ export declare const routes: {
|
|
|
1914
1958
|
effects: {
|
|
1915
1959
|
domain: "read";
|
|
1916
1960
|
storage: "normal-open";
|
|
1961
|
+
external: never[];
|
|
1917
1962
|
};
|
|
1918
1963
|
confirmation: {
|
|
1919
1964
|
kind: "none";
|
|
@@ -1935,6 +1980,7 @@ export declare const routes: {
|
|
|
1935
1980
|
effects: {
|
|
1936
1981
|
domain: "read";
|
|
1937
1982
|
storage: "normal-open";
|
|
1983
|
+
external: never[];
|
|
1938
1984
|
};
|
|
1939
1985
|
confirmation: {
|
|
1940
1986
|
kind: "none";
|
|
@@ -1963,6 +2009,7 @@ export declare const routes: {
|
|
|
1963
2009
|
effects: {
|
|
1964
2010
|
domain: "update";
|
|
1965
2011
|
storage: "normal-open";
|
|
2012
|
+
external: never[];
|
|
1966
2013
|
};
|
|
1967
2014
|
confirmation: {
|
|
1968
2015
|
kind: "none";
|
|
@@ -2090,6 +2137,7 @@ export declare const routes: {
|
|
|
2090
2137
|
effects: {
|
|
2091
2138
|
domain: "delete";
|
|
2092
2139
|
storage: "normal-open";
|
|
2140
|
+
external: never[];
|
|
2093
2141
|
};
|
|
2094
2142
|
confirmation: {
|
|
2095
2143
|
kind: "prompt";
|
|
@@ -2125,6 +2173,7 @@ export declare const routes: {
|
|
|
2125
2173
|
effects: {
|
|
2126
2174
|
domain: "read";
|
|
2127
2175
|
storage: "normal-open";
|
|
2176
|
+
external: never[];
|
|
2128
2177
|
};
|
|
2129
2178
|
confirmation: {
|
|
2130
2179
|
kind: "none";
|
|
@@ -2217,8 +2266,8 @@ export declare const routes: {
|
|
|
2217
2266
|
readonly value: {
|
|
2218
2267
|
readonly kind: "activity-change";
|
|
2219
2268
|
readonly name: "field[=value]";
|
|
2220
|
-
readonly pattern:
|
|
2221
|
-
readonly description: `Fields: ${string}. Omit the value to match any change.
|
|
2269
|
+
readonly pattern: string;
|
|
2270
|
+
readonly description: `Fields: ${string}. Omit the value to match any change. ${string} priority=none matches an unassigned priority.`;
|
|
2222
2271
|
};
|
|
2223
2272
|
};
|
|
2224
2273
|
readonly follow: {
|
|
@@ -2270,6 +2319,7 @@ export declare const routes: {
|
|
|
2270
2319
|
effects: {
|
|
2271
2320
|
domain: "read";
|
|
2272
2321
|
storage: "normal-open";
|
|
2322
|
+
external: never[];
|
|
2273
2323
|
};
|
|
2274
2324
|
confirmation: {
|
|
2275
2325
|
kind: "none";
|
|
@@ -2299,6 +2349,7 @@ export declare const routes: {
|
|
|
2299
2349
|
effects: {
|
|
2300
2350
|
domain: "none";
|
|
2301
2351
|
storage: "backup";
|
|
2352
|
+
external: never[];
|
|
2302
2353
|
};
|
|
2303
2354
|
confirmation: {
|
|
2304
2355
|
kind: "none";
|
|
@@ -2320,6 +2371,7 @@ export declare const routes: {
|
|
|
2320
2371
|
effects: {
|
|
2321
2372
|
domain: "replace";
|
|
2322
2373
|
storage: "restore";
|
|
2374
|
+
external: never[];
|
|
2323
2375
|
};
|
|
2324
2376
|
confirmation: {
|
|
2325
2377
|
kind: "prompt";
|
|
@@ -2353,6 +2405,7 @@ export declare const routes: {
|
|
|
2353
2405
|
effects: {
|
|
2354
2406
|
domain: "none";
|
|
2355
2407
|
storage: "migrate";
|
|
2408
|
+
external: never[];
|
|
2356
2409
|
};
|
|
2357
2410
|
confirmation: {
|
|
2358
2411
|
kind: "none";
|
|
@@ -2374,6 +2427,7 @@ export declare const routes: {
|
|
|
2374
2427
|
effects: {
|
|
2375
2428
|
domain: "none";
|
|
2376
2429
|
storage: "reindex";
|
|
2430
|
+
external: never[];
|
|
2377
2431
|
};
|
|
2378
2432
|
confirmation: {
|
|
2379
2433
|
kind: "none";
|
|
@@ -2395,6 +2449,7 @@ export declare const routes: {
|
|
|
2395
2449
|
effects: {
|
|
2396
2450
|
domain: "none";
|
|
2397
2451
|
storage: "inspect";
|
|
2452
|
+
external: never[];
|
|
2398
2453
|
};
|
|
2399
2454
|
confirmation: {
|
|
2400
2455
|
kind: "none";
|
|
@@ -2416,6 +2471,7 @@ export declare const routes: {
|
|
|
2416
2471
|
effects: {
|
|
2417
2472
|
domain: "none";
|
|
2418
2473
|
storage: "inspect";
|
|
2474
|
+
external: never[];
|
|
2419
2475
|
};
|
|
2420
2476
|
confirmation: {
|
|
2421
2477
|
kind: "none";
|
|
@@ -2455,6 +2511,7 @@ export declare const routes: {
|
|
|
2455
2511
|
effects: {
|
|
2456
2512
|
domain: "none";
|
|
2457
2513
|
storage: "none";
|
|
2514
|
+
external: never[];
|
|
2458
2515
|
};
|
|
2459
2516
|
confirmation: {
|
|
2460
2517
|
kind: "none";
|
|
@@ -2477,6 +2534,33 @@ export declare const routes: {
|
|
|
2477
2534
|
effects: {
|
|
2478
2535
|
domain: "none";
|
|
2479
2536
|
storage: "none";
|
|
2537
|
+
external: ("files" | "network")[];
|
|
2538
|
+
};
|
|
2539
|
+
confirmation: {
|
|
2540
|
+
kind: "none";
|
|
2541
|
+
};
|
|
2542
|
+
input: {
|
|
2543
|
+
readonly options: {
|
|
2544
|
+
readonly project: {
|
|
2545
|
+
readonly type: "boolean";
|
|
2546
|
+
};
|
|
2547
|
+
};
|
|
2548
|
+
readonly forms: readonly [{
|
|
2549
|
+
readonly id: "default";
|
|
2550
|
+
readonly positionals: readonly [];
|
|
2551
|
+
}];
|
|
2552
|
+
readonly constraints: readonly [];
|
|
2553
|
+
};
|
|
2554
|
+
results: import("../results.js").CommandResult[];
|
|
2555
|
+
run: (args: string[]) => Promise<void>;
|
|
2556
|
+
help: string;
|
|
2557
|
+
};
|
|
2558
|
+
status: {
|
|
2559
|
+
summary: string;
|
|
2560
|
+
effects: {
|
|
2561
|
+
domain: "none";
|
|
2562
|
+
storage: "none";
|
|
2563
|
+
external: never[];
|
|
2480
2564
|
};
|
|
2481
2565
|
confirmation: {
|
|
2482
2566
|
kind: "none";
|
|
@@ -2490,6 +2574,32 @@ export declare const routes: {
|
|
|
2490
2574
|
readonly constraints: readonly [];
|
|
2491
2575
|
};
|
|
2492
2576
|
results: import("../results.js").CommandResult[];
|
|
2577
|
+
run: (args: string[]) => void;
|
|
2578
|
+
help: string;
|
|
2579
|
+
};
|
|
2580
|
+
uninstall: {
|
|
2581
|
+
summary: string;
|
|
2582
|
+
effects: {
|
|
2583
|
+
domain: "none";
|
|
2584
|
+
storage: "none";
|
|
2585
|
+
external: ("files" | "network")[];
|
|
2586
|
+
};
|
|
2587
|
+
confirmation: {
|
|
2588
|
+
kind: "none";
|
|
2589
|
+
};
|
|
2590
|
+
input: {
|
|
2591
|
+
readonly options: {
|
|
2592
|
+
readonly project: {
|
|
2593
|
+
readonly type: "boolean";
|
|
2594
|
+
};
|
|
2595
|
+
};
|
|
2596
|
+
readonly forms: readonly [{
|
|
2597
|
+
readonly id: "default";
|
|
2598
|
+
readonly positionals: readonly [];
|
|
2599
|
+
}];
|
|
2600
|
+
readonly constraints: readonly [];
|
|
2601
|
+
};
|
|
2602
|
+
results: import("../results.js").CommandResult[];
|
|
2493
2603
|
run: (args: string[]) => Promise<void>;
|
|
2494
2604
|
help: string;
|
|
2495
2605
|
};
|
|
@@ -2499,6 +2609,7 @@ export declare const routes: {
|
|
|
2499
2609
|
effects: {
|
|
2500
2610
|
domain: "none";
|
|
2501
2611
|
storage: "none";
|
|
2612
|
+
external: never[];
|
|
2502
2613
|
};
|
|
2503
2614
|
confirmation: {
|
|
2504
2615
|
kind: "none";
|
|
@@ -1,11 +1,36 @@
|
|
|
1
|
-
/** The workflow skill folder that ships with the CLI */
|
|
2
|
-
export declare const bundledSkillDirectory: string;
|
|
3
1
|
export declare const skillRouter: {
|
|
4
2
|
install: {
|
|
5
3
|
summary: string;
|
|
6
4
|
effects: {
|
|
7
5
|
domain: "none";
|
|
8
6
|
storage: "none";
|
|
7
|
+
external: ("files" | "network")[];
|
|
8
|
+
};
|
|
9
|
+
confirmation: {
|
|
10
|
+
kind: "none";
|
|
11
|
+
};
|
|
12
|
+
input: {
|
|
13
|
+
readonly options: {
|
|
14
|
+
readonly project: {
|
|
15
|
+
readonly type: "boolean";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly forms: readonly [{
|
|
19
|
+
readonly id: "default";
|
|
20
|
+
readonly positionals: readonly [];
|
|
21
|
+
}];
|
|
22
|
+
readonly constraints: readonly [];
|
|
23
|
+
};
|
|
24
|
+
results: import("../results.js").CommandResult[];
|
|
25
|
+
run: (args: string[]) => Promise<void>;
|
|
26
|
+
help: string;
|
|
27
|
+
};
|
|
28
|
+
status: {
|
|
29
|
+
summary: string;
|
|
30
|
+
effects: {
|
|
31
|
+
domain: "none";
|
|
32
|
+
storage: "none";
|
|
33
|
+
external: never[];
|
|
9
34
|
};
|
|
10
35
|
confirmation: {
|
|
11
36
|
kind: "none";
|
|
@@ -19,6 +44,32 @@ export declare const skillRouter: {
|
|
|
19
44
|
readonly constraints: readonly [];
|
|
20
45
|
};
|
|
21
46
|
results: import("../results.js").CommandResult[];
|
|
47
|
+
run: (args: string[]) => void;
|
|
48
|
+
help: string;
|
|
49
|
+
};
|
|
50
|
+
uninstall: {
|
|
51
|
+
summary: string;
|
|
52
|
+
effects: {
|
|
53
|
+
domain: "none";
|
|
54
|
+
storage: "none";
|
|
55
|
+
external: ("files" | "network")[];
|
|
56
|
+
};
|
|
57
|
+
confirmation: {
|
|
58
|
+
kind: "none";
|
|
59
|
+
};
|
|
60
|
+
input: {
|
|
61
|
+
readonly options: {
|
|
62
|
+
readonly project: {
|
|
63
|
+
readonly type: "boolean";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
readonly forms: readonly [{
|
|
67
|
+
readonly id: "default";
|
|
68
|
+
readonly positionals: readonly [];
|
|
69
|
+
}];
|
|
70
|
+
readonly constraints: readonly [];
|
|
71
|
+
};
|
|
72
|
+
results: import("../results.js").CommandResult[];
|
|
22
73
|
run: (args: string[]) => Promise<void>;
|
|
23
74
|
help: string;
|
|
24
75
|
};
|