annotask 0.0.5 → 0.0.7
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 +24 -8
- package/dist/chunk-2PL37QTY.js +1043 -0
- package/dist/chunk-2PL37QTY.js.map +1 -0
- package/dist/chunk-4J7F2BC5.js +61 -0
- package/dist/chunk-4J7F2BC5.js.map +1 -0
- package/dist/chunk-DPJXWLPB.js +61 -0
- package/dist/chunk-DPJXWLPB.js.map +1 -0
- package/dist/chunk-DQBM2VFQ.js +465 -0
- package/dist/chunk-DQBM2VFQ.js.map +1 -0
- package/dist/chunk-FMNBQLJZ.js +61 -0
- package/dist/chunk-FMNBQLJZ.js.map +1 -0
- package/dist/chunk-LGNV6UH3.js +488 -0
- package/dist/chunk-LGNV6UH3.js.map +1 -0
- package/dist/chunk-TBBJTSMJ.js +496 -0
- package/dist/chunk-TBBJTSMJ.js.map +1 -0
- package/dist/cli.js +44 -1
- package/dist/index.js +2 -2
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/shell/assets/index-B-SRjSQF.js +59 -0
- package/dist/shell/assets/{index-En0AXNAK.css → index-CeF02UAx.css} +1 -1
- package/dist/shell/index.html +2 -2
- package/dist/standalone.js +2 -2
- package/dist/vendor/axe-core.min.js +12 -0
- package/dist/vendor/html2canvas.min.js +20 -0
- package/dist/webpack.js +3 -3
- package/package.json +8 -3
- package/skills/annotask-apply/SKILL.md +27 -31
- package/skills/annotask-init/SKILL.md +42 -6
- package/dist/shell/assets/index-Dko9s8T0.js +0 -59
- package/skills/annotask-watch/SKILL.md +0 -45
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# annotask-watch
|
|
2
|
-
|
|
3
|
-
Watch for Annotask design changes in real-time and describe what the user is doing.
|
|
4
|
-
|
|
5
|
-
## When to use
|
|
6
|
-
|
|
7
|
-
Use this skill when the user says things like:
|
|
8
|
-
- "watch my Annotask changes"
|
|
9
|
-
- "monitor Annotask"
|
|
10
|
-
- "what am I changing in Annotask?"
|
|
11
|
-
- `/annotask-watch`
|
|
12
|
-
|
|
13
|
-
## How it works
|
|
14
|
-
|
|
15
|
-
Connect to the Annotask WebSocket and stream changes as the user makes them visually.
|
|
16
|
-
|
|
17
|
-
## Steps
|
|
18
|
-
|
|
19
|
-
0. **Discover server URL** — read `.annotask/server.json` in the current working directory only (never parent directories):
|
|
20
|
-
```bash
|
|
21
|
-
cat .annotask/server.json
|
|
22
|
-
```
|
|
23
|
-
Use the `url` value as the server URL. If the file contains a `"mfe"` field, this is a micro-frontend setup — the server is running on a remote root shell. Save the `mfe` value for filtering. If not found, probe `curl -s http://localhost:24678/__annotask/api/status` then `curl -s http://localhost:5173/__annotask/api/status`. **Do NOT read server.json from parent or sibling directories.**
|
|
24
|
-
|
|
25
|
-
1. **Start watching** by running in the background:
|
|
26
|
-
```bash
|
|
27
|
-
npx @annotask/cli watch --port=PORT
|
|
28
|
-
```
|
|
29
|
-
Or if the CLI isn't installed, poll the HTTP API:
|
|
30
|
-
```bash
|
|
31
|
-
curl -s $BASE_URL/__annotask/api/report
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
2. **Describe what you see** — as changes come in, summarize them in plain language:
|
|
35
|
-
- "You changed the background color of table cells in PlanetTable.vue to a dark red (#2a1a1a)"
|
|
36
|
-
- "You increased the font size of the header title to 28px"
|
|
37
|
-
- "You adjusted the gap between flex items in the nav to 16px"
|
|
38
|
-
|
|
39
|
-
3. **Suggest next steps** — after the user seems done (they say "apply these" or "looks good"), use the `/annotask-apply` skill to apply the changes to source code.
|
|
40
|
-
|
|
41
|
-
## Notes
|
|
42
|
-
|
|
43
|
-
- This is a passive monitoring mode — don't modify any files until explicitly asked
|
|
44
|
-
- Focus on summarizing the intent, not the raw hex values
|
|
45
|
-
- Group related changes together ("You restyled the table rows with a darker background and larger text")
|