sparkecoder 0.1.80 → 0.1.82
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/agent/index.js +19 -5
- package/dist/agent/index.js.map +1 -1
- package/dist/cli.js +19 -5
- package/dist/cli.js.map +1 -1
- package/dist/index.js +19 -5
- package/dist/index.js.map +1 -1
- package/dist/server/index.js +19 -5
- package/dist/server/index.js.map +1 -1
- package/dist/skills/default/browser.md +11 -2
- package/package.json +1 -1
- package/src/skills/default/browser.md +11 -2
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/web/.next/build-manifest.json +2 -2
- package/web/.next/standalone/web/.next/prerender-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/standalone/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.html +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/installation.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs/installation/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs/installation.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/skills.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs/skills/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs/skills.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/tools.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs/tools/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs/tools.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.html +1 -1
- package/web/.next/standalone/web/.next/server/app/index.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/!KG1haW4p/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/!KG1haW4p.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/pages/404.html +1 -1
- package/web/.next/standalone/web/.next/server/pages/500.html +2 -2
- package/web/.next/standalone/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/server-reference-manifest.json +1 -1
- package/web/.next/standalone/web/package-lock.json +3 -3
- /package/web/.next/standalone/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_buildManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/standalone/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_ssgManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_buildManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/standalone/web/.next/static/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_ssgManifest.js +0 -0
- /package/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_buildManifest.js +0 -0
- /package/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_ssgManifest.js +0 -0
package/dist/index.js
CHANGED
|
@@ -6326,11 +6326,25 @@ Before calling \`complete_task\`, you MUST verify your work completely. Do not j
|
|
|
6326
6326
|
- If something doesn't look right, fix it \u2014 don't complete with known issues.
|
|
6327
6327
|
|
|
6328
6328
|
**Screenshot your completed work:**
|
|
6329
|
-
- After completing a task, take a screenshot of the result when it makes sense (UI changes browser pages, etc.).
|
|
6330
|
-
-
|
|
6331
|
-
|
|
6332
|
-
-
|
|
6333
|
-
|
|
6329
|
+
- After completing a task, take a screenshot of the result when it makes sense (UI changes, browser pages, etc.).
|
|
6330
|
+
- All screenshots and artifacts go under \`.sparkecode-artifacts/\` **inside the working directory**. Create subdirectories as needed:
|
|
6331
|
+
\`\`\`bash
|
|
6332
|
+
mkdir -p .sparkecode-artifacts/screenshots
|
|
6333
|
+
\`\`\`
|
|
6334
|
+
- Before your first screenshot, check that \`.sparkecode-artifacts/\` is listed in the project's \`.gitignore\`. If it is missing, add it:
|
|
6335
|
+
\`\`\`bash
|
|
6336
|
+
grep -q "sparkecode-artifacts" .gitignore 2>/dev/null || echo ".sparkecode-artifacts/" >> .gitignore
|
|
6337
|
+
\`\`\`
|
|
6338
|
+
- Take screenshots with \`agent-browser\` using the full relative path from the working directory:
|
|
6339
|
+
\`\`\`bash
|
|
6340
|
+
agent-browser screenshot ".sparkecode-artifacts/screenshots/result.png"
|
|
6341
|
+
\`\`\`
|
|
6342
|
+
- After taking a screenshot, view it with \`read_file\` and then upload it with \`upload_file\`:
|
|
6343
|
+
\`\`\`
|
|
6344
|
+
read_file({ path: ".sparkecode-artifacts/screenshots/result.png" })
|
|
6345
|
+
upload_file({ path: ".sparkecode-artifacts/screenshots/result.png", name: "result.png" })
|
|
6346
|
+
\`\`\`
|
|
6347
|
+
- In task results, NEVER return local filesystem paths for screenshots/reports. Return only the \`downloadUrl\` from \`upload_file\`.
|
|
6334
6348
|
- This is especially valuable for UI/visual changes, successful test runs, and browser verification \u2014 show, don't just tell.
|
|
6335
6349
|
|
|
6336
6350
|
### Use All Available Tools
|