@taskset/cli 0.1.2 → 3.0.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/CHANGELOG.md +112 -0
- package/README.md +31 -11
- package/dist/bin.js +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +643 -108
- package/dist/index.js +1 -1
- package/package.json +20 -6
- package/src/cli.ts +771 -133
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,117 @@
|
|
|
1
1
|
# @taskset/cli
|
|
2
2
|
|
|
3
|
+
## 3.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Generated metadata views no longer create redundant ID indexes, group timestamp
|
|
8
|
+
metadata by calendar date, and use readable filenames instead of URL-encoded
|
|
9
|
+
spaces or path separators.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
- @taskset/core@3.0.1
|
|
12
|
+
|
|
13
|
+
## 3.0.0
|
|
14
|
+
|
|
15
|
+
### Major Changes
|
|
16
|
+
|
|
17
|
+
- Remove repository config version fields and stop writing version fields to generated, cached, and snapshot metadata JSON. Config files now export a strict versionless object.
|
|
18
|
+
|
|
19
|
+
Generated metadata views now cover every supported task metadata field using field-name directories such as `assignees/`, `projects/`, `files/`, and `dueDate/`; stale generated output remains disposable and rebuildable with `taskset generate`.
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
- @taskset/contracts@3.0.0
|
|
25
|
+
- @taskset/core@3.0.0
|
|
26
|
+
|
|
27
|
+
## 2.1.0
|
|
28
|
+
|
|
29
|
+
### Minor Changes
|
|
30
|
+
|
|
31
|
+
- 042a622: Add optional task `order` metadata for user-controlled sequencing. The CLI can
|
|
32
|
+
set, clear, and sort by order; core queries and generated views sort ordered
|
|
33
|
+
tasks first, place unordered tasks after them, and use task IDs as the
|
|
34
|
+
deterministic tie breaker.
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [042a622]
|
|
39
|
+
- @taskset/contracts@2.1.0
|
|
40
|
+
- @taskset/core@2.1.0
|
|
41
|
+
|
|
42
|
+
## 2.0.0
|
|
43
|
+
|
|
44
|
+
### Major Changes
|
|
45
|
+
|
|
46
|
+
- bc302ef: Remove task metadata schema versions and use one strict versionless task file
|
|
47
|
+
format. Task frontmatter containing the legacy version field is now invalid
|
|
48
|
+
and must be converted by removing that field while preserving the remaining
|
|
49
|
+
metadata and Markdown body. The old `taskset migrate --to 2` command and
|
|
50
|
+
`migrateTasks` core API were removed because there is no longer a versioned
|
|
51
|
+
migration target.
|
|
52
|
+
|
|
53
|
+
### Minor Changes
|
|
54
|
+
|
|
55
|
+
- 075d265: Add repository-configured task statuses and enforce enabled status vocabularies across task operations.
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- Updated dependencies [075d265]
|
|
60
|
+
- Updated dependencies [075d265]
|
|
61
|
+
- Updated dependencies [bc302ef]
|
|
62
|
+
- @taskset/contracts@2.0.0
|
|
63
|
+
- @taskset/core@2.0.0
|
|
64
|
+
|
|
65
|
+
## 1.1.0
|
|
66
|
+
|
|
67
|
+
### Minor Changes
|
|
68
|
+
|
|
69
|
+
- Add duplicate, planning-range, and timestamp-range task filters with documented path composition and grouped impact results.
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- Updated dependencies
|
|
74
|
+
- @taskset/core@1.2.0
|
|
75
|
+
|
|
76
|
+
## 1.0.1
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- Updated dependencies
|
|
81
|
+
- @taskset/core@1.1.0
|
|
82
|
+
|
|
83
|
+
## 1.0.0
|
|
84
|
+
|
|
85
|
+
### Major Changes
|
|
86
|
+
|
|
87
|
+
- d262acd: Expand canonical task metadata to schema v2, replace `tasks-for-file` with
|
|
88
|
+
unified path and impact queries, add derived relationship projections,
|
|
89
|
+
generated metadata views, snapshots, and explicit migration commands.
|
|
90
|
+
|
|
91
|
+
Public CLI and core inputs now use Zod validation. Strict UTC date handling
|
|
92
|
+
moves to the generic `parseDate` and `formatDate` utilities; the old
|
|
93
|
+
task-specific timestamp exports are removed.
|
|
94
|
+
|
|
95
|
+
### Patch Changes
|
|
96
|
+
|
|
97
|
+
- Updated dependencies [d262acd]
|
|
98
|
+
- @taskset/core@1.0.0
|
|
99
|
+
- @taskset/contracts@1.0.0
|
|
100
|
+
|
|
101
|
+
## 0.2.0
|
|
102
|
+
|
|
103
|
+
### Minor Changes
|
|
104
|
+
|
|
105
|
+
- Add validated task lifecycle and deletion commands, deterministic graph and
|
|
106
|
+
query APIs, repository diagnostics, file-impact analysis, disposable indexing,
|
|
107
|
+
and conflict-aware synchronization contracts and orchestration.
|
|
108
|
+
|
|
109
|
+
### Patch Changes
|
|
110
|
+
|
|
111
|
+
- Updated dependencies
|
|
112
|
+
- @taskset/contracts@0.2.0
|
|
113
|
+
- @taskset/core@0.2.0
|
|
114
|
+
|
|
3
115
|
## 0.1.2
|
|
4
116
|
|
|
5
117
|
### 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`, `--sort order`, and due/created/updated before/after bounds.
|
|
28
|
+
`tasks-for-file` 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({})
|
|
40
|
+
```
|
package/dist/bin.js
CHANGED
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;AA8YD,wBAAsB,MAAM,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,OAAO,GAAE,UAAe,GAAG,OAAO,CAAC,MAAM,CAAC,CAoc/F"}
|