@agent-native/core 0.49.9 → 0.49.10
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/dist/cli/pr-visual-recap-workflow.d.ts +1 -1
- package/dist/cli/pr-visual-recap-workflow.d.ts.map +1 -1
- package/dist/cli/pr-visual-recap-workflow.js +1 -1
- package/dist/cli/pr-visual-recap-workflow.js.map +1 -1
- package/dist/cli/recap.d.ts +4 -1
- package/dist/cli/recap.d.ts.map +1 -1
- package/dist/cli/recap.js +97 -23
- package/dist/cli/recap.js.map +1 -1
- package/dist/cli/skills.d.ts +2 -2
- package/dist/cli/skills.d.ts.map +1 -1
- package/dist/cli/skills.js +26 -11
- package/dist/cli/skills.js.map +1 -1
- package/dist/client/blocks/library/annotation-rail.d.ts.map +1 -1
- package/dist/client/blocks/library/annotation-rail.js +16 -6
- package/dist/client/blocks/library/annotation-rail.js.map +1 -1
- package/dist/server/auth.d.ts.map +1 -1
- package/dist/server/auth.js +57 -35
- package/dist/server/auth.js.map +1 -1
- package/docs/content/pr-visual-recap.md +4 -4
- package/package.json +2 -1
|
@@ -19,9 +19,9 @@ On each PR push, the workflow:
|
|
|
19
19
|
2. Creates an informational `Visual Recap` GitHub check with `Visual recap in progress`.
|
|
20
20
|
3. Runs the configured coding agent against that diff. The agent reads the bundled `visual-recap` skill guidance (or your repo-pinned copy) and authors a recap, publishing it with `create-visual-recap`.
|
|
21
21
|
4. Reads the published plan URL the agent wrote to `recap-url.txt`.
|
|
22
|
-
5. Opens that URL in headless Chrome and screenshots the rendered plan.
|
|
23
|
-
6. Uploads the
|
|
24
|
-
7. Upserts a single sticky PR comment that embeds the
|
|
22
|
+
5. Opens that URL in headless Chrome and screenshots the rendered plan in light and dark modes.
|
|
23
|
+
6. Uploads the PNGs to a signed public image route on the Plans app.
|
|
24
|
+
7. Upserts a single sticky PR comment that embeds the screenshots **inline** with a `<picture>` element (served through GitHub's camo image proxy) next to the link to the interactive recap.
|
|
25
25
|
8. Completes the `Visual Recap` check as success, skipped, or neutral.
|
|
26
26
|
|
|
27
27
|
A re-push updates the same plan and the same sticky comment in place — no orphaned plans, no comment spam.
|
|
@@ -134,7 +134,7 @@ The workflow auto-detects how to invoke its helper CLI (local source inside this
|
|
|
134
134
|
|
|
135
135
|
## Inline screenshot in the comment
|
|
136
136
|
|
|
137
|
-
After the agent publishes the recap, the workflow screenshots the rendered plan in headless Chrome and uploads the
|
|
137
|
+
After the agent publishes the recap, the workflow screenshots the rendered plan in headless Chrome in both light and dark modes and uploads the PNGs to a signed public image route on the Plans app. The sticky PR comment then embeds those screenshots **inline** with a `<picture>` element — GitHub re-serves them through its camo proxy, so reviewers see a preview that matches their GitHub theme directly in the comment without opening anything. The link to the full interactive plan sits right next to it for when they want to explore, comment, or annotate.
|
|
138
138
|
|
|
139
139
|
## Fork PRs
|
|
140
140
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.49.
|
|
3
|
+
"version": "0.49.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
@@ -159,6 +159,7 @@
|
|
|
159
159
|
"@clack/prompts": "^1.4.0",
|
|
160
160
|
"@codemirror/lang-sql": "^6.10.0",
|
|
161
161
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
162
|
+
"@floating-ui/dom": "^1.7.6",
|
|
162
163
|
"@libsql/client": "^0.15.0",
|
|
163
164
|
"@modelcontextprotocol/ext-apps": "1.7.2",
|
|
164
165
|
"@modelcontextprotocol/sdk": "^1.29.0",
|