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.
Files changed (87) hide show
  1. package/dist/agent/index.js +19 -5
  2. package/dist/agent/index.js.map +1 -1
  3. package/dist/cli.js +19 -5
  4. package/dist/cli.js.map +1 -1
  5. package/dist/index.js +19 -5
  6. package/dist/index.js.map +1 -1
  7. package/dist/server/index.js +19 -5
  8. package/dist/server/index.js.map +1 -1
  9. package/dist/skills/default/browser.md +11 -2
  10. package/package.json +1 -1
  11. package/src/skills/default/browser.md +11 -2
  12. package/web/.next/BUILD_ID +1 -1
  13. package/web/.next/standalone/web/.next/BUILD_ID +1 -1
  14. package/web/.next/standalone/web/.next/build-manifest.json +2 -2
  15. package/web/.next/standalone/web/.next/prerender-manifest.json +3 -3
  16. package/web/.next/standalone/web/.next/server/app/_global-error.html +2 -2
  17. package/web/.next/standalone/web/.next/server/app/_global-error.rsc +1 -1
  18. package/web/.next/standalone/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  19. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  20. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  21. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  22. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  23. package/web/.next/standalone/web/.next/server/app/_not-found.html +1 -1
  24. package/web/.next/standalone/web/.next/server/app/_not-found.rsc +1 -1
  25. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  26. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  27. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  28. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  29. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  30. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  31. package/web/.next/standalone/web/.next/server/app/docs/installation.html +2 -2
  32. package/web/.next/standalone/web/.next/server/app/docs/installation.rsc +1 -1
  33. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_full.segment.rsc +1 -1
  34. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_head.segment.rsc +1 -1
  35. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_index.segment.rsc +1 -1
  36. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_tree.segment.rsc +1 -1
  37. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs/installation/__PAGE__.segment.rsc +1 -1
  38. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs/installation.segment.rsc +1 -1
  39. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs.segment.rsc +1 -1
  40. package/web/.next/standalone/web/.next/server/app/docs/skills.html +2 -2
  41. package/web/.next/standalone/web/.next/server/app/docs/skills.rsc +1 -1
  42. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_full.segment.rsc +1 -1
  43. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_head.segment.rsc +1 -1
  44. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_index.segment.rsc +1 -1
  45. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_tree.segment.rsc +1 -1
  46. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs/skills/__PAGE__.segment.rsc +1 -1
  47. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs/skills.segment.rsc +1 -1
  48. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs.segment.rsc +1 -1
  49. package/web/.next/standalone/web/.next/server/app/docs/tools.html +2 -2
  50. package/web/.next/standalone/web/.next/server/app/docs/tools.rsc +1 -1
  51. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_full.segment.rsc +1 -1
  52. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_head.segment.rsc +1 -1
  53. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_index.segment.rsc +1 -1
  54. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_tree.segment.rsc +1 -1
  55. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs/tools/__PAGE__.segment.rsc +1 -1
  56. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs/tools.segment.rsc +1 -1
  57. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs.segment.rsc +1 -1
  58. package/web/.next/standalone/web/.next/server/app/docs.html +2 -2
  59. package/web/.next/standalone/web/.next/server/app/docs.rsc +1 -1
  60. package/web/.next/standalone/web/.next/server/app/docs.segments/_full.segment.rsc +1 -1
  61. package/web/.next/standalone/web/.next/server/app/docs.segments/_head.segment.rsc +1 -1
  62. package/web/.next/standalone/web/.next/server/app/docs.segments/_index.segment.rsc +1 -1
  63. package/web/.next/standalone/web/.next/server/app/docs.segments/_tree.segment.rsc +1 -1
  64. package/web/.next/standalone/web/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +1 -1
  65. package/web/.next/standalone/web/.next/server/app/docs.segments/docs.segment.rsc +1 -1
  66. package/web/.next/standalone/web/.next/server/app/index.html +1 -1
  67. package/web/.next/standalone/web/.next/server/app/index.rsc +1 -1
  68. package/web/.next/standalone/web/.next/server/app/index.segments/!KG1haW4p/__PAGE__.segment.rsc +1 -1
  69. package/web/.next/standalone/web/.next/server/app/index.segments/!KG1haW4p.segment.rsc +1 -1
  70. package/web/.next/standalone/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
  71. package/web/.next/standalone/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
  72. package/web/.next/standalone/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
  73. package/web/.next/standalone/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  74. package/web/.next/standalone/web/.next/server/pages/404.html +1 -1
  75. package/web/.next/standalone/web/.next/server/pages/500.html +2 -2
  76. package/web/.next/standalone/web/.next/server/server-reference-manifest.js +1 -1
  77. package/web/.next/standalone/web/.next/server/server-reference-manifest.json +1 -1
  78. package/web/.next/standalone/web/package-lock.json +3 -3
  79. /package/web/.next/standalone/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_buildManifest.js +0 -0
  80. /package/web/.next/standalone/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_clientMiddlewareManifest.json +0 -0
  81. /package/web/.next/standalone/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_ssgManifest.js +0 -0
  82. /package/web/.next/standalone/web/.next/static/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_buildManifest.js +0 -0
  83. /package/web/.next/standalone/web/.next/static/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_clientMiddlewareManifest.json +0 -0
  84. /package/web/.next/standalone/web/.next/static/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_ssgManifest.js +0 -0
  85. /package/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_buildManifest.js +0 -0
  86. /package/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_clientMiddlewareManifest.json +0 -0
  87. /package/web/.next/static/{439i-2Qg2oTm0bHSvJXp- → Ne3ChQc_mw5oh4Y1Rr7qj}/_ssgManifest.js +0 -0
package/dist/cli.js CHANGED
@@ -7109,11 +7109,25 @@ Before calling \`complete_task\`, you MUST verify your work completely. Do not j
7109
7109
  - If something doesn't look right, fix it \u2014 don't complete with known issues.
7110
7110
 
7111
7111
  **Screenshot your completed work:**
7112
- - After completing a task, take a screenshot of the result when it makes sense (UI changes browser pages, etc.). You can use the browser skill to do this.
7113
- - Save screenshots and generated artifacts under \`.sparkecode-artifacts/\` (git-ignored) instead of the repo root.
7114
- - Ensure \`.sparkecode-artifacts/\` is listed in \`.gitignore\`; if it is missing, add it before continuing.
7115
- - Use \`upload_file\` to upload the screenshot and include the download URL in your task result so the user can see proof of what was done.
7116
- - In task results, never return local filesystem paths for screenshots/reports; return uploaded \`downloadUrl\` links only.
7112
+ - After completing a task, take a screenshot of the result when it makes sense (UI changes, browser pages, etc.).
7113
+ - All screenshots and artifacts go under \`.sparkecode-artifacts/\` **inside the working directory**. Create subdirectories as needed:
7114
+ \`\`\`bash
7115
+ mkdir -p .sparkecode-artifacts/screenshots
7116
+ \`\`\`
7117
+ - Before your first screenshot, check that \`.sparkecode-artifacts/\` is listed in the project's \`.gitignore\`. If it is missing, add it:
7118
+ \`\`\`bash
7119
+ grep -q "sparkecode-artifacts" .gitignore 2>/dev/null || echo ".sparkecode-artifacts/" >> .gitignore
7120
+ \`\`\`
7121
+ - Take screenshots with \`agent-browser\` using the full relative path from the working directory:
7122
+ \`\`\`bash
7123
+ agent-browser screenshot ".sparkecode-artifacts/screenshots/result.png"
7124
+ \`\`\`
7125
+ - After taking a screenshot, view it with \`read_file\` and then upload it with \`upload_file\`:
7126
+ \`\`\`
7127
+ read_file({ path: ".sparkecode-artifacts/screenshots/result.png" })
7128
+ upload_file({ path: ".sparkecode-artifacts/screenshots/result.png", name: "result.png" })
7129
+ \`\`\`
7130
+ - In task results, NEVER return local filesystem paths for screenshots/reports. Return only the \`downloadUrl\` from \`upload_file\`.
7117
7131
  - This is especially valuable for UI/visual changes, successful test runs, and browser verification \u2014 show, don't just tell.
7118
7132
 
7119
7133
  ### Use All Available Tools