annotask 0.0.6 → 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 +13 -7
- 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 +1 -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/dist/shell/assets/index-Dko9s8T0.js +0 -59
- package/skills/annotask-watch/SKILL.md +0 -47
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ This copies skill files to `.claude/skills/` and `.agents/skills/` so your agent
|
|
|
48
48
|
|
|
49
49
|
| Agent | Skill directory | Notes |
|
|
50
50
|
|-------|----------------|-------|
|
|
51
|
-
| Claude Code | `.claude/skills/` | Invoke with `/annotask-apply`, `/annotask-init
|
|
51
|
+
| Claude Code | `.claude/skills/` | Invoke with `/annotask-apply`, `/annotask-init` |
|
|
52
52
|
| GitHub Copilot | `.agents/skills/` | Auto-discovered by Copilot agents |
|
|
53
53
|
| OpenAI Codex | `.agents/skills/` | Uses the same `.agents/` convention |
|
|
54
54
|
| Other agents | `.agents/skills/` | Any agent that reads `.agents/skills/` |
|
|
@@ -59,7 +59,6 @@ This copies skill files to `.claude/skills/` and `.agents/skills/` so your agent
|
|
|
59
59
|
|-------|-------------|
|
|
60
60
|
| `/annotask-init` | Scans your project and generates `.annotask/design-spec.json` with detected tokens, fonts, colors, and component library. Run once per project. |
|
|
61
61
|
| `/annotask-apply` | Fetches pending tasks from the Annotask API, applies changes to source files, and marks them for review. |
|
|
62
|
-
| `/annotask-watch` | Streams live changes from the Annotask WebSocket so your agent can narrate what you're doing in real time. |
|
|
63
62
|
|
|
64
63
|
## Quick Start
|
|
65
64
|
|
|
@@ -151,7 +150,6 @@ Start your dev server, then open:
|
|
|
151
150
|
- **Arrows** — Draw arrows to reference other elements or parts of the page
|
|
152
151
|
- **Drawn sections** — Draw a rectangle where new content should go, with a prompt
|
|
153
152
|
- **Text highlights** — Select text to mark it for editing
|
|
154
|
-
- **Notes** — Attach free-text design notes to any element
|
|
155
153
|
|
|
156
154
|
### Visual editing (experimental)
|
|
157
155
|
- **Element inspection** — Click any element to see its source file, line, component, and computed styles
|
|
@@ -177,14 +175,22 @@ Start your dev server, then open:
|
|
|
177
175
|
- **Auto-cleanup** — Screenshot files are deleted when the task is accepted
|
|
178
176
|
|
|
179
177
|
### AI agent context
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
178
|
+
|
|
179
|
+
These optional features give the AI agent richer context beyond just "change this element" — helping it make better decisions about how and where to apply changes.
|
|
180
|
+
|
|
181
|
+
- **Interaction history** — Optionally track user navigation and button/link clicks in the app. Toggle per-task, off by default.
|
|
182
|
+
> Without this, the agent only sees the task description and a file path. With it, the agent knows the user navigated from `/settings` → `/profile` → clicked "Edit" → scrolled down before creating the task. This helps reproduce bugs and understand which user flow is affected.
|
|
183
|
+
|
|
184
|
+
- **Element context** — Optionally capture the ancestor layout chain (3 levels of parent display, flex-direction, gap, grid-template) and DOM subtree (3 levels of children with tag, classes, text). Toggle per-task, off by default.
|
|
185
|
+
> The agent can usually determine this by reading the source file — and in most cases it will. This feature provides the same information upfront as a shortcut, saving the agent a round-trip of reading and parsing the file. It includes the computed layout state from the live browser (display, flex-direction, gap, grid-template, child count) which may differ from what's in the source when styles are inherited, overridden, or applied dynamically.
|
|
186
|
+
|
|
187
|
+
- **Breakpoint detection** — `annotask init` detects responsive breakpoints from Tailwind, Bootstrap, CSS variables, or media query patterns and includes them in the design spec.
|
|
188
|
+
> The agent can find breakpoints by reading config files and stylesheets — and usually will. This pre-detects them so the agent has the project's breakpoint system immediately alongside the viewport dimensions on each task. When a task is created at 375px, the agent can instantly map that to the right Tailwind prefix, Bootstrap tier, or custom media query without searching the codebase first.
|
|
183
189
|
|
|
184
190
|
### Infrastructure
|
|
185
191
|
- **Change reports** — Structured JSON of all changes, ready for agents to consume
|
|
186
192
|
- **Task pipeline** — Create, review, accept, or deny design change tasks
|
|
187
|
-
- **CLI** — `annotask
|
|
193
|
+
- **CLI** — `annotask tasks`, `annotask report`, `annotask watch` for terminal access
|
|
188
194
|
- **API** — HTTP and WebSocket endpoints for programmatic access
|
|
189
195
|
|
|
190
196
|
## CLI
|