@taskset/cli 0.1.2 → 2.0.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/CHANGELOG.md +72 -0
- package/README.md +31 -11
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +632 -108
- package/package.json +17 -3
- package/src/cli.ts +760 -133
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
1
|
# @taskset/cli
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- bc302ef: Remove task metadata schema versions and use one strict versionless task file
|
|
8
|
+
format. Task frontmatter containing `schemaVersion` is now invalid and must be
|
|
9
|
+
converted by removing that field while preserving the remaining metadata and
|
|
10
|
+
Markdown body. The old `taskset migrate --to 2` command and `migrateTasks`
|
|
11
|
+
core API were removed because there is no longer a versioned migration target.
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- 075d265: Add repository-configured task statuses and enforce enabled status vocabularies across task operations.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [075d265]
|
|
20
|
+
- Updated dependencies [075d265]
|
|
21
|
+
- Updated dependencies [bc302ef]
|
|
22
|
+
- @taskset/contracts@2.0.0
|
|
23
|
+
- @taskset/core@2.0.0
|
|
24
|
+
|
|
25
|
+
## 1.1.0
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- Add duplicate, planning-range, and timestamp-range task filters with documented path composition and grouped impact results.
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
- @taskset/core@1.2.0
|
|
35
|
+
|
|
36
|
+
## 1.0.1
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Updated dependencies
|
|
41
|
+
- @taskset/core@1.1.0
|
|
42
|
+
|
|
43
|
+
## 1.0.0
|
|
44
|
+
|
|
45
|
+
### Major Changes
|
|
46
|
+
|
|
47
|
+
- d262acd: Expand canonical task metadata to schema v2, replace `tasks-for-file` with
|
|
48
|
+
unified path and impact queries, add derived relationship projections,
|
|
49
|
+
generated metadata views, snapshots, and explicit migration commands.
|
|
50
|
+
|
|
51
|
+
Public CLI and core inputs now use Zod validation. Strict UTC date handling
|
|
52
|
+
moves to the generic `parseDate` and `formatDate` utilities; the old
|
|
53
|
+
task-specific timestamp exports are removed.
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- Updated dependencies [d262acd]
|
|
58
|
+
- @taskset/core@1.0.0
|
|
59
|
+
- @taskset/contracts@1.0.0
|
|
60
|
+
|
|
61
|
+
## 0.2.0
|
|
62
|
+
|
|
63
|
+
### Minor Changes
|
|
64
|
+
|
|
65
|
+
- Add validated task lifecycle and deletion commands, deterministic graph and
|
|
66
|
+
query APIs, repository diagnostics, file-impact analysis, disposable indexing,
|
|
67
|
+
and conflict-aware synchronization contracts and orchestration.
|
|
68
|
+
|
|
69
|
+
### Patch Changes
|
|
70
|
+
|
|
71
|
+
- Updated dependencies
|
|
72
|
+
- @taskset/contracts@0.2.0
|
|
73
|
+
- @taskset/core@0.2.0
|
|
74
|
+
|
|
3
75
|
## 0.1.2
|
|
4
76
|
|
|
5
77
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,20 +1,40 @@
|
|
|
1
1
|
# @taskset/cli
|
|
2
2
|
|
|
3
|
-
The public
|
|
3
|
+
The public command-line adapter for Taskset. Full documentation is available at
|
|
4
|
+
[taskset.false.foundation](https://taskset.false.foundation/), including the
|
|
5
|
+
[complete CLI reference](../../docs/cli-reference.md).
|
|
4
6
|
|
|
5
7
|
```bash
|
|
6
8
|
pnpm add --save-dev @taskset/cli
|
|
9
|
+
pnpm exec taskset init
|
|
10
|
+
pnpm exec taskset task create --title "Document the release"
|
|
7
11
|
```
|
|
8
12
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
`taskset.config.ts`. Repository discovery, validation, storage, and task
|
|
12
|
-
behavior are delegated to `@taskset/core`.
|
|
13
|
+
The package owns argument tokenization, Zod-backed command validation, output,
|
|
14
|
+
and exit-code mapping. Repository behavior is delegated to `@taskset/core`.
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
Supported command groups:
|
|
15
17
|
|
|
16
|
-
- `taskset init`
|
|
17
|
-
- `taskset
|
|
18
|
-
- `taskset
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
- `taskset init`, `config`, `doctor`, and `generate`
|
|
19
|
+
- `taskset task create|list|show|update|status|delete`
|
|
20
|
+
- `taskset snapshot create|list|restore`
|
|
21
|
+
|
|
22
|
+
Use `task list --file <path> --impact` for direct and transitive code-impact
|
|
23
|
+
queries. Repeated path values use OR, distinct filter categories use AND,
|
|
24
|
+
repeated labels require every label, and planning or timestamp ranges are
|
|
25
|
+
inclusive. Filters include
|
|
26
|
+
`--estimate-min`/`--estimate-max`, `--effort-min`/`--effort-max`,
|
|
27
|
+
`--duplicate`, and due/created/updated before/after bounds. `tasks-for-file`
|
|
28
|
+
was removed.
|
|
29
|
+
|
|
30
|
+
Exit code `0` means success, `1` means a repository or domain failure, and `2`
|
|
31
|
+
means invalid CLI usage. Commands reserve stdout for requested output and send
|
|
32
|
+
diagnostics or generation warnings to stderr.
|
|
33
|
+
|
|
34
|
+
`defineConfig` is re-exported for `taskset.config.ts`:
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
import { defineConfig } from '@taskset/cli'
|
|
38
|
+
|
|
39
|
+
export default defineConfig({ schemaVersion: 1 })
|
|
40
|
+
```
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAiEA,MAAM,WAAW,UAAU;IAC1B,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACzC;AAoYD,wBAAsB,MAAM,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,OAAO,GAAE,UAAe,GAAG,OAAO,CAAC,MAAM,CAAC,CAmc/F"}
|