pi-do-always 0.4.1 → 0.4.3

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 CHANGED
@@ -76,7 +76,7 @@ Alternatively, you can install from the git repo or symlink a local checkout for
76
76
  ln -s "$PWD" ~/.pi/agent/extensions/do-always # uninstall with: rm that symlink
77
77
  ```
78
78
 
79
- For development you can also load it explicitly: `npm run dev` (runs `pi --extension ./index.ts`).
79
+ For development you can also load it explicitly: `npm run dev` (runs `pi --extension ./extensions/pi-do-always/index.ts`).
80
80
 
81
81
  ## Tasks configuration
82
82
 
@@ -88,7 +88,7 @@ Tasks are read from JSON files (an array of tasks, or the object form `{"tasks":
88
88
  |`<project>/.pi/do-always.json`|Project-local; overrides global tasks with the same `name`|
89
89
 
90
90
  If neither file exists, the built-in defaults (Review, Cleanup, Security, Performance, Propose features, Build, Tests, Readme, Release, Commit) are used.
91
- This repo ships a sample in [`do-always.json`](./do-always.json) — copy it to one of the
91
+ This repo ships a sample in [`do-always.json`](./extensions/pi-do-always/do-always.json) — copy it to one of the
92
92
  locations above to make it your own:
93
93
 
94
94
  ```json
@@ -147,5 +147,5 @@ npm test # run the unit tests (node:test + tsx, in test/)
147
147
  ```
148
148
 
149
149
  The pure task logic (`parseConfig`, `mergeTasks`, `renderPrompt`, `resolveTask`, `formatList`) lives in
150
- [`tasks.ts`](./tasks.ts) with no Pi dependencies, so it is unit-tested independently of the
151
- Pi runtime. The extension (`index.ts`) imports that logic and adds only the Pi UI.
150
+ [`tasks.ts`](./extensions/pi-do-always/tasks.ts) with no Pi dependencies, so it is unit-tested independently of the
151
+ Pi runtime. The extension (`extensions/pi-do-always/index.ts`) imports that logic and adds only the Pi UI.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-do-always",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "type": "module",
5
5
  "description": "Pi extension: /do-always — pick a common task by number, it fills your prompt",
6
6
  "author": {
@@ -9,10 +9,7 @@
9
9
  },
10
10
  "keywords": [
11
11
  "pi-package",
12
- "pi",
13
- "pi-coding-agent",
14
12
  "pi-extension",
15
- "pi-extensions",
16
13
  "do-always"
17
14
  ],
18
15
  "license": "MIT",
@@ -21,29 +18,30 @@
21
18
  },
22
19
  "repository": {
23
20
  "type": "git",
24
- "url": "https://github.com/aginies/pi-do-always"
21
+ "url": "https://github.com/aginies/pi-do-always",
22
+ "directory": "extensions/pi-do-always"
25
23
  },
26
24
  "homepage": "https://github.com/aginies/pi-do-always",
27
25
  "bugs": {
28
26
  "url": "https://github.com/aginies/pi-do-always/issues"
29
27
  },
30
28
  "files": [
31
- "index.ts",
32
- "tasks.ts",
33
- "do-always.json",
29
+ "extensions/pi-do-always/index.ts",
30
+ "extensions/pi-do-always/tasks.ts",
31
+ "extensions/pi-do-always/do-always.json",
34
32
  "README.md",
35
33
  "pi.image.png"
36
34
  ],
37
35
  "pi": {
38
36
  "extensions": [
39
- "./index.ts"
37
+ "./extensions/pi-do-always/index.ts"
40
38
  ],
41
39
  "image": "pi.image.png"
42
40
  },
43
41
  "scripts": {
44
- "dev": "pi --extension ./index.ts",
42
+ "dev": "pi --extension ./extensions/pi-do-always/index.ts",
45
43
  "typecheck": "tsc --noEmit",
46
- "test": "node --import tsx --test test/*.test.ts",
44
+ "test": "node --import tsx --test extensions/pi-do-always/test/*.test.ts",
47
45
  "prepublishOnly": "npm run typecheck && npm test"
48
46
  },
49
47
  "publishConfig": {
@@ -54,8 +52,6 @@
54
52
  "@earendil-works/pi-tui": "*"
55
53
  },
56
54
  "devDependencies": {
57
- "@earendil-works/pi-coding-agent": "^0.87.1",
58
- "@earendil-works/pi-tui": "^0.87.1",
59
55
  "@types/node": "^22.0.0",
60
56
  "tsx": "^4.19.0",
61
57
  "typescript": "^5.5.0"
File without changes
File without changes