tack-cli 0.1.0 → 0.1.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/README.md +56 -21
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# tack
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/tack-cli) [](LICENSE)
|
|
4
|
+
|
|
3
5
|
Architecture drift guard. Declare your spec. Tack enforces it.
|
|
4
6
|
|
|
5
7
|
## Why Tack
|
|
@@ -40,14 +42,47 @@ Agents and tools consume this state via:
|
|
|
40
42
|
- `tack handoff` packages context + machine state + git deltas for the next session.
|
|
41
43
|
- `tack log` and `tack note` store decisions and notes that future agents can reuse.
|
|
42
44
|
|
|
43
|
-
## Install
|
|
45
|
+
## Install from npm
|
|
46
|
+
|
|
47
|
+
Use Tack in any project without cloning:
|
|
48
|
+
|
|
49
|
+
**Run without installing (npx):**
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
npx tack-cli init
|
|
53
|
+
npx tack-cli status
|
|
54
|
+
npx tack-cli handoff
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**Or install in your project (local):**
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
npm install tack-cli
|
|
61
|
+
npx tack-cli init
|
|
62
|
+
# or: ./node_modules/.bin/tack init
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Or install globally:**
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npm install -g tack-cli
|
|
69
|
+
tack init
|
|
70
|
+
tack status
|
|
71
|
+
tack handoff
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
> **Note:** If global install on Windows fails with `EEXIST` or cleanup errors, remove any existing `tack` or `tack-cli` in `npm root -g`, or use `npx tack-cli` instead.
|
|
75
|
+
|
|
76
|
+
## Build from source
|
|
77
|
+
|
|
78
|
+
To develop or contribute:
|
|
44
79
|
|
|
45
80
|
```bash
|
|
46
81
|
npm install
|
|
47
82
|
npm run build
|
|
48
83
|
```
|
|
49
84
|
|
|
50
|
-
Optional global
|
|
85
|
+
Optional global link for local development:
|
|
51
86
|
|
|
52
87
|
```bash
|
|
53
88
|
npm link
|
|
@@ -204,25 +239,25 @@ In selection prompts (`init`, drift options):
|
|
|
204
239
|
- `↑` / `↓` to move
|
|
205
240
|
- `Enter` to confirm
|
|
206
241
|
|
|
207
|
-
## Development
|
|
208
|
-
|
|
209
|
-
```bash
|
|
210
|
-
npm run typecheck
|
|
211
|
-
bun test
|
|
212
|
-
npm run dev
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
Optional Bun fast path for build contributors:
|
|
216
|
-
|
|
217
|
-
```bash
|
|
218
|
-
npm run build:bun
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
Optional Bun source-run for contributors who have Bun:
|
|
222
|
-
|
|
223
|
-
```bash
|
|
224
|
-
npm run dev:bun
|
|
225
|
-
```
|
|
242
|
+
## Development
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
npm run typecheck
|
|
246
|
+
bun test
|
|
247
|
+
npm run dev
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
Optional Bun fast path for build contributors:
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
npm run build:bun
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Optional Bun source-run for contributors who have Bun:
|
|
257
|
+
|
|
258
|
+
```bash
|
|
259
|
+
npm run dev:bun
|
|
260
|
+
```
|
|
226
261
|
|
|
227
262
|
## Notes
|
|
228
263
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tack-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Architecture drift guard. Declare your spec. Tack enforces it.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
24
24
|
"chokidar": "^3.6.0",
|
|
25
|
-
"glob": "^10.3.10",
|
|
26
25
|
"ink": "^4.4.1",
|
|
27
26
|
"ink-select-input": "^5.0.0",
|
|
28
27
|
"ink-spinner": "^5.0.0",
|
|
@@ -46,5 +45,8 @@
|
|
|
46
45
|
"react-devtools-core": "^4.28.5",
|
|
47
46
|
"typescript": "^5.3.3"
|
|
48
47
|
},
|
|
49
|
-
"license": "MIT"
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"overrides": {
|
|
50
|
+
"lodash.isequal": "npm:fast-deep-equal@^3.1.3"
|
|
51
|
+
}
|
|
50
52
|
}
|