@loicngr/kobo 1.6.13 → 1.6.14

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 (60) hide show
  1. package/README.md +1 -0
  2. package/dist/server/routes/workspaces.js +4 -2
  3. package/dist/server/services/auto-loop-service.js +16 -9
  4. package/dist/server/services/settings-service.js +39 -2
  5. package/dist/shared/auto-loop-prompts.js +19 -7
  6. package/package.json +1 -1
  7. package/src/client/dist/spa/assets/ActivityFeed-Be0QQryJ.css +1 -0
  8. package/src/client/dist/spa/assets/{ActivityFeed-BsY3-q5d.js → ActivityFeed-BtIOkIy6.js} +3 -3
  9. package/src/client/dist/spa/assets/{CreatePage-Cdhkkx-X.js → CreatePage-D6Q3nxkX.js} +2 -2
  10. package/src/client/dist/spa/assets/CreatePage-DJbZH8wp.css +1 -0
  11. package/src/client/dist/spa/assets/DiffViewer-1s165rFm.css +1 -0
  12. package/src/client/dist/spa/assets/{DiffViewer-DXcoEtVq.js → DiffViewer-D5u9p7il.js} +2 -2
  13. package/src/client/dist/spa/assets/{HealthPage-BSyGqDRu.js → HealthPage-Cr7aAUy6.js} +1 -1
  14. package/src/client/dist/spa/assets/{MainLayout-EYaLqjJx.js → MainLayout-C3TUaYvQ.js} +3 -3
  15. package/src/client/dist/spa/assets/MainLayout-CBnSwSfy.css +1 -0
  16. package/src/client/dist/spa/assets/{SearchPage-Bgx02GOH.js → SearchPage-CavRaij6.js} +1 -1
  17. package/src/client/dist/spa/assets/SearchPage-cVwt0DaQ.css +1 -0
  18. package/src/client/dist/spa/assets/SettingsPage-B8DhSZw7.css +1 -0
  19. package/src/client/dist/spa/assets/SettingsPage-C13T1l_t.js +1 -0
  20. package/src/client/dist/spa/assets/{WorkspacePage-C8dJWu-n.js → WorkspacePage-BEqEuPrb.js} +3 -3
  21. package/src/client/dist/spa/assets/WorkspacePage-k2pgeRoy.css +1 -0
  22. package/src/client/dist/spa/assets/{build-path-tree-D-2LpB2J.js → build-path-tree-BeAS10oa.js} +1 -1
  23. package/src/client/dist/spa/assets/{cssMode-DVBmJp-B.js → cssMode-wNaxOrgG.js} +1 -1
  24. package/src/client/dist/spa/assets/{documents-Ck8VwvpQ.js → documents-Cw05r3zs.js} +1 -1
  25. package/src/client/dist/spa/assets/{editor.api-DgbPJaK4.js → editor.api-CcDntllS.js} +1 -1
  26. package/src/client/dist/spa/assets/{editor.main-BqqoRfAU.js → editor.main-Chu4hc0J.js} +3 -3
  27. package/src/client/dist/spa/assets/{expand-template-bkCTc78P.js → expand-template-CcQus77v.js} +1 -1
  28. package/src/client/dist/spa/assets/expand-template-D2yUa54D.css +1 -0
  29. package/src/client/dist/spa/assets/{freemarker2-CgaW0Q0y.js → freemarker2-CO_b202E.js} +1 -1
  30. package/src/client/dist/spa/assets/{handlebars-BSs5PdXe.js → handlebars-CJnTWNLs.js} +1 -1
  31. package/src/client/dist/spa/assets/{html-C9wlJaMs.js → html-DeArYseI.js} +1 -1
  32. package/src/client/dist/spa/assets/{htmlMode-DaRssGJk.js → htmlMode-BnNgEgdx.js} +1 -1
  33. package/src/client/dist/spa/assets/i18n-CuT4b7ns.js +1 -0
  34. package/src/client/dist/spa/assets/index-CZA4BFN5.js +2 -0
  35. package/src/client/dist/spa/assets/{javascript-D0VYhsc-.js → javascript-C0pxfNu4.js} +1 -1
  36. package/src/client/dist/spa/assets/{jsonMode-B57EaUNS.js → jsonMode-ety87201.js} +1 -1
  37. package/src/client/dist/spa/assets/kobo-commands-Cpl4IFon.js +11 -0
  38. package/src/client/dist/spa/assets/{liquid-gP2gg7sw.js → liquid-kanevKvC.js} +1 -1
  39. package/src/client/dist/spa/assets/{mdx-HhXcZn_S.js → mdx-DkmtbRD7.js} +1 -1
  40. package/src/client/dist/spa/assets/{models-CJC61gWE.js → models-CPFeBEQS.js} +1 -1
  41. package/src/client/dist/spa/assets/{monaco.contribution-ChJg8bwd.js → monaco.contribution-DsZsua59.js} +2 -2
  42. package/src/client/dist/spa/assets/{python-DM6FfMV3.js → python-DrxH1xl7.js} +1 -1
  43. package/src/client/dist/spa/assets/{razor-XifsxhTG.js → razor-CU4khv8N.js} +1 -1
  44. package/src/client/dist/spa/assets/{tsMode-B8gurPqG.js → tsMode-CQ5yxoz_.js} +1 -1
  45. package/src/client/dist/spa/assets/{typescript-CZKTCOjl.js → typescript-CSwKmP7l.js} +1 -1
  46. package/src/client/dist/spa/assets/{xml-CtZPkb7Q.js → xml-9bnWANPJ.js} +1 -1
  47. package/src/client/dist/spa/assets/{yaml-D5IEE5M-.js → yaml-sUtDJGxo.js} +1 -1
  48. package/src/client/dist/spa/index.html +1 -1
  49. package/src/client/dist/spa/assets/ActivityFeed-BHDJ5lUn.css +0 -1
  50. package/src/client/dist/spa/assets/CreatePage-PRvhol1N.css +0 -1
  51. package/src/client/dist/spa/assets/DiffViewer-BC81-2me.css +0 -1
  52. package/src/client/dist/spa/assets/MainLayout-D2SfvksB.css +0 -1
  53. package/src/client/dist/spa/assets/SearchPage-DWglAeQv.css +0 -1
  54. package/src/client/dist/spa/assets/SettingsPage-BTSOovDV.js +0 -1
  55. package/src/client/dist/spa/assets/SettingsPage-CwLELxfl.css +0 -1
  56. package/src/client/dist/spa/assets/WorkspacePage-C5MZx1sZ.css +0 -1
  57. package/src/client/dist/spa/assets/expand-template-hbnn7St6.css +0 -1
  58. package/src/client/dist/spa/assets/i18n-BSNIShFg.js +0 -1
  59. package/src/client/dist/spa/assets/index-odgA9x8A.js +0 -2
  60. package/src/client/dist/spa/assets/kobo-commands-D-9dbM70.js +0 -11
@@ -1,11 +0,0 @@
1
- function e(e){let t=["1. Call `kobo__list_tasks` FIRST to inspect any pre-existing tasks (they may have been seeded from Notion, a template, or the CreatePage form).","2. If tasks already exist: DO NOT delete or recreate them from scratch. Read each one, judge whether it is atomic and implementable in one session with clear completion criteria. Improve them in place:\n - Use `kobo__update_task` to rename unclear titles, add completion criteria, or flip `is_acceptance_criterion` when needed.\n - Use `kobo__create_task` to SPLIT a task that is too large into smaller atomic pieces (keep the original only if it still makes sense, otherwise update it to one of the split pieces and create the rest).\n - Use `kobo__create_task` to ADD missing acceptance criteria or missing implementation steps the plan requires.","3. If no tasks exist:\n - If a plan file exists in `docs/superpowers/plans/` or similar, read it and derive the task list from it.\n - If no plan exists, ask the user what the workspace goal is and propose tasks accordingly.\n - Create the tasks via `kobo__create_task`. For each task, decide `is_acceptance_criterion` appropriately."];if(e.framework){let n=e.skill?`Use the \`${e.skill}\` skill for this task. `:``,r=e.prompt?`Additional guidance: ${e.prompt}`:``;t.push(`4. **E2E review**: walk the task list and identify which tasks produce user-visible behavior (UI flows, form submissions, page renders, etc.). For each one that warrants regression coverage, INSERT a follow-up sub-task with title prefixed \`[E2E] \` describing the test to write. Place it in \`sort_order\` directly after the parent task. Skip tasks that don't produce user-visible behavior (refactors, infra, internal services) and briefly justify your choices in chat. The project uses \`${e.framework}\`. ${n}${r}`.trim()),t.push("5. Call `kobo__mark_auto_loop_ready`. This will automatically start the auto-loop, which will pick up the tasks one by one in fresh sessions.")}else t.push("4. Call `kobo__mark_auto_loop_ready`. This will automatically start the auto-loop, which will pick up the tasks one by one in fresh sessions.");return t.join(`
2
- `)}var t=e({framework:``,skill:``,prompt:``}),n="Hard rules:\n- Do NOT touch any source file. No Edit, no Write, no Bash that changes the repo.\n- Do NOT run `kill`, `pkill`, `killall`, `pgrep -k`, or any process-killing command — you may tear down the Kōbō server itself or sibling dev servers.\n- Do NOT start implementation even if a plan is ready — auto-loop will drive that afterwards, one task per iteration.\n- If the user asks for changes, re-apply via MCP and re-check. Do NOT mark ready until they approve.",r=`Review your progress on the tasks and acceptance criteria. Use the kobo-tasks MCP server: call list_tasks() to check the current status, then update any tasks you have completed using mark_task_done(). Report what is done and what remains.
3
-
4
- Then suggest concrete next actions. Format them exactly like this so I can click on them:
5
-
6
- 1. **Short label** → Description of the action
7
- 2. **Short label** → Description of the action`,i=`You are preparing this workspace for Kōbō auto-loop mode. This is a GROOMING session only — DO NOT implement anything, DO NOT write or edit code, DO NOT run tests or builds, DO NOT invoke \`superpowers:executing-plans\` or any implementation skill. Your ONLY job is to curate the Kōbō task list via MCP tools.
8
-
9
- ${t}
10
-
11
- ${n}`,a={"/kobo-check-progress":{prompt:r,descriptionKey:`koboCommand.checkProgressDesc`},"/kobo-prep-autoloop":{prompt:i,descriptionKey:`koboCommand.prepAutoloopDesc`}};function o(e,t,n){t.sendChatMessage(e,r),n.markRead(e),n.addActivityItem(e,{id:`user-${Date.now()}`,type:`text`,content:r,timestamp:new Date().toISOString(),meta:{sender:`user`,pending:!0}})}async function s(e,t,n){try{await n.updatePermissionMode(e,`auto-accept`)}catch{}let r=i;try{let t=await fetch(`/api/workspaces/${e}/prep-autoloop-prompt`,{cache:`no-store`});if(t.ok){let e=await t.json();e.prompt&&(r=e.prompt)}}catch{}t.sendChatMessage(e,r,void 0,`auto-accept`),n.markRead(e),n.addActivityItem(e,{id:`user-${Date.now()}`,type:`text`,content:r,timestamp:new Date().toISOString(),meta:{sender:`user`,pending:!0}})}export{o as n,s as r,a as t};