annotask 0.0.6 → 0.0.8

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
@@ -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`, `/annotask-watch` |
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
- - **Interaction history** — Optionally track user navigation and button/link clicks in the app so the AI agent understands how the user reached the current state
181
- - **Element context** Optionally capture ancestor layout chain (3 levels of parent display, flex-direction, gap, grid-template) and DOM subtree (3 levels of children with tag, classes, text) for each task
182
- - **Breakpoint detection** — `/annotask-init` detects responsive breakpoints from Tailwind, Bootstrap, CSS variables, or media query patterns and includes them in the design spec
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 watch` for live streaming, `annotask report` for current state
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