You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+46-4Lines changed: 46 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Annotask
2
2
3
-
Visual UI design tool for web apps (Vue, React, Svelte, SolidJS, Astro, plain HTML/htmx). Developers make visual changes in the browser and Annotask generates structured reports that AI agents can apply to source code. Works with Vite and Webpack.
3
+
Visual UI design and review tool for web apps (Vue, React, Svelte, SolidJS, Astro, plain HTML/htmx). Developers can annotate the UI, inspect and edit styles live, audit runtime issues, and let AI agents apply the resulting structured tasks to source code. Works with Vite and Webpack.
4
4
5
5
## MCP Server
6
6
@@ -14,8 +14,18 @@ Annotask includes an MCP server that starts automatically with the dev server at
14
14
|`annotask_create_task`| Create a new pending task |
15
15
|`annotask_delete_task`| Delete a task and its screenshot |
16
16
|`annotask_get_design_spec`| Design spec summary, or full tokens for a `category` (colors, typography, etc.) |
17
-
|`annotask_get_components`| Search component libraries by name. Returns up to 20 results per library |
17
+
|`annotask_get_components`| Search component libraries by name, library, category, or usage state |
18
+
|`annotask_get_component`| Get full detail for one component by name |
19
+
|`annotask_get_component_examples`| Get real in-repo usage examples for a component |
18
20
|`annotask_get_screenshot`| Task screenshot as base64 PNG |
21
+
|`annotask_get_code_context`| Ground a task to current source context (excerpt, symbol, imports, hash) |
22
+
|`annotask_get_data_context`| Resolve task data context |
23
+
|`annotask_get_data_sources`| List detected data libraries and project data sources |
24
+
|`annotask_get_data_source_examples`| Get real in-repo usage examples for a data source |
25
+
|`annotask_get_data_source_details`| Get definition-level detail for a data source |
26
+
|`annotask_get_api_schemas`| List discovered OpenAPI, GraphQL, tRPC, and JSON Schema sources |
27
+
|`annotask_get_api_operation`| Fetch one API operation by path |
28
+
|`annotask_resolve_endpoint`| Match a concrete URL to a known API operation |
Canonical list — `TASK_TYPES` in `src/schema.ts` is the single source of truth. HTTP, MCP, and CLI creation boundaries enforce this allow-list via `z.enum(TASK_TYPES)`.
268
+
231
269
| Type | Source | Description |
232
270
|------|--------|-------------|
233
271
|`annotation`| Pins, arrows, notes, text highlights | User intent described in `description`, optional `action` and `context`|
272
+
|`section_request`| Drawn sections | New content area with `description` and `placement`|
234
273
|`style_update`| Inspector style/class edits | CSS changes in `context.changes` array with `property`, `before`, `after`|
Copy file name to clipboardExpand all lines: CLAUDE.md
+56-4Lines changed: 56 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Annotask
2
2
3
-
Visual UI design tool for web apps (Vue, React, Svelte, SolidJS, Astro, plain HTML/htmx). Developers make visual changes in the browser and Annotask generates structured reports that AI agents can apply to source code. Works with Vite and Webpack.
3
+
Visual UI design and review tool for web apps (Vue, React, Svelte, SolidJS, Astro, plain HTML/htmx). Developers can annotate the UI, inspect and edit styles live, audit runtime issues, and let AI agents apply the resulting structured tasks to source code. Works with Vite and Webpack.
4
4
5
5
## MCP Server
6
6
@@ -14,8 +14,18 @@ Annotask includes an MCP server that starts automatically with the dev server at
14
14
|`annotask_create_task`| Create a new pending task |
15
15
|`annotask_delete_task`| Delete a task and its screenshot |
16
16
|`annotask_get_design_spec`| Design spec summary, or full tokens for a `category` (colors, typography, etc.) |
17
-
|`annotask_get_components`| Search component libraries by name. Returns up to 20 results per library |
17
+
|`annotask_get_components`| Search component libraries by name, library, category, or usage state |
18
+
|`annotask_get_component`| Get full detail for one component by name |
19
+
|`annotask_get_component_examples`| Get real in-repo usage examples for a component |
18
20
|`annotask_get_screenshot`| Task screenshot as base64 PNG |
21
+
|`annotask_get_code_context`| Ground a task to current source context (excerpt, symbol, imports, hash) |
22
+
|`annotask_get_data_context`| Resolve task data context |
23
+
|`annotask_get_data_sources`| List detected data libraries and project data sources |
24
+
|`annotask_get_data_source_examples`| Get real in-repo usage examples for a data source |
25
+
|`annotask_get_data_source_details`| Get definition-level detail for a data source |
26
+
|`annotask_get_api_schemas`| List discovered OpenAPI, GraphQL, tRPC, and JSON Schema sources |
27
+
|`annotask_get_api_operation`| Fetch one API operation by path |
28
+
|`annotask_resolve_endpoint`| Match a concrete URL to a known API operation |
The "Audit" tab uses internal id `develop` (the label was renamed but the id was kept to avoid a breaking localStorage migration). Tab state lives in `useShellNavigation` (`shellView`, `designSection`, `developSection`, `activePanel`), persisted to localStorage and migrated from legacy ids (`theme`, `components`, `data`, `perf`, `a11y`) on first run.
152
+
108
153
`App.vue` is the shell orchestrator — it wires composables together and handles bridge events. **Do not add business logic directly to App.vue.** Extract new concerns into composables under `src/shell/composables/`.
Canonical list — `TASK_TYPES` in `src/schema.ts` is the single source of truth. HTTP, MCP, and CLI creation boundaries enforce this allow-list via `z.enum(TASK_TYPES)`.
278
+
231
279
| Type | Source | Description |
232
280
|------|--------|-------------|
233
281
|`annotation`| Pins, arrows, notes, text highlights | User intent described in `description`, optional `action` and `context`|
282
+
|`section_request`| Drawn sections | New content area with `description` and `placement`|
234
283
|`style_update`| Inspector style/class edits | CSS changes in `context.changes` array with `property`, `before`, `after`|
0 commit comments