ripplo 0.9.2 → 0.9.4

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 (65) hide show
  1. package/dist/{chunk-IL452KDO.js → chunk-2TBRW5WZ.js} +1 -1
  2. package/dist/chunk-3KD2FTEQ.js +229 -0
  3. package/dist/{chunk-4W6WIT7T.js → chunk-3M2E253R.js} +1 -1
  4. package/dist/{chunk-XWUIRXMS.js → chunk-3OI2UH3H.js} +1 -1
  5. package/dist/{chunk-I2M24U3N.js → chunk-3PF5QK56.js} +1 -1
  6. package/dist/chunk-52IE2PAQ.js +48 -0
  7. package/dist/{chunk-L7GWKDGD.js → chunk-6FU7HD6D.js} +1 -1
  8. package/dist/{chunk-ZUPS6XVH.js → chunk-6Z555TLR.js} +1 -1
  9. package/dist/{chunk-WZBLSDNV.js → chunk-B6OQ2JE2.js} +1 -1
  10. package/dist/{chunk-4H7EIC6W.js → chunk-CUXFU3MF.js} +1 -1
  11. package/dist/{chunk-UDQKJVLD.js → chunk-FH2BITRY.js} +1 -1
  12. package/dist/{chunk-Q6IYTHMP.js → chunk-G3UFH3WS.js} +1 -1
  13. package/dist/{chunk-I5BHCICM.js → chunk-GAOLASGV.js} +1 -1
  14. package/dist/{chunk-DBIXYJRB.js → chunk-INURHJF4.js} +1 -1
  15. package/dist/{chunk-LEFXRK53.js → chunk-KQWFJRIP.js} +1 -1
  16. package/dist/{chunk-IRTBARRY.js → chunk-MHXAGRCM.js} +1 -1
  17. package/dist/{chunk-EVVF662P.js → chunk-ML7WCYPY.js} +1 -1
  18. package/dist/{chunk-T5VLZ43M.js → chunk-N45RSC6N.js} +1 -1
  19. package/dist/{chunk-BMRZGLUF.js → chunk-O2VP65IR.js} +1 -1
  20. package/dist/{chunk-XZ2TPZLD.js → chunk-PLQGRHHV.js} +1 -1
  21. package/dist/chunk-PPMW4GUY.js +83 -0
  22. package/dist/{chunk-4F67XQYS.js → chunk-SBDRIIVW.js} +20 -20
  23. package/dist/{chunk-ZNUC2RLT.js → chunk-T46B2OPT.js} +1 -1
  24. package/dist/chunk-T4GHICK4.js +6 -0
  25. package/dist/{chunk-4KOWK5QE.js → chunk-T6NNV7ZO.js} +1 -1
  26. package/dist/{chunk-SI42TC5O.js → chunk-TBCRT6EC.js} +1 -1
  27. package/dist/{chunk-KYMYKILH.js → chunk-XDK6UCMD.js} +1 -1
  28. package/dist/{chunk-3FF33GCX.js → chunk-YR3N73PR.js} +2 -2
  29. package/dist/chunk-ZQHKESUR.js +4 -0
  30. package/dist/{cli-error-J33JDZET.js → cli-error-TM2YODR3.js} +1 -1
  31. package/dist/{compile-write-SRW6FWD2.js → compile-write-TTEHFTNY.js} +1 -1
  32. package/dist/{daemon-4W6BN73Z.js → daemon-5IFFVQEE.js} +14 -14
  33. package/dist/{daemon-42BG4EKR.js → daemon-6B4OSRBS.js} +1 -1
  34. package/dist/{daemon-lock-LTQMLU4Q.js → daemon-lock-67AFXXED.js} +1 -1
  35. package/dist/{dsl-loader-5Z2JRKY3.js → dsl-loader-Z54ZM7C6.js} +1 -1
  36. package/dist/{exit-plan-gate-BNAUL4FC.js → exit-plan-gate-WPHQII5J.js} +1 -1
  37. package/dist/hook.js +1 -1
  38. package/dist/index.js +184 -184
  39. package/dist/{plan-reminder-2GIRATWH.js → plan-reminder-H2ZU5WZF.js} +1 -1
  40. package/dist/post-edit-HOYXFYSH.js +4 -0
  41. package/dist/post-edit-analyze-5HS3ZV4G.js +4 -0
  42. package/dist/post-edit-flag-stubs-CDKPTQ2L.js +4 -0
  43. package/dist/{pre-bash-run-gate-PWLARIYK.js → pre-bash-run-gate-WOGQZARU.js} +1 -1
  44. package/dist/pre-edit-TRMRQGTZ.js +4 -0
  45. package/dist/{pre-edit-ripplo-skill-gate-JD4BDCA3.js → pre-edit-ripplo-skill-gate-FXNQWVME.js} +1 -1
  46. package/dist/{pre-edit-scope-gate-NZO4HVGT.js → pre-edit-scope-gate-ADO3NRVS.js} +1 -1
  47. package/dist/{pre-edit-watch-gate-DZHQCMEI.js → pre-edit-watch-gate-OTD6WRUN.js} +1 -1
  48. package/dist/{prompt-submit-3SSUX3S2.js → prompt-submit-T6GURGAW.js} +1 -1
  49. package/dist/scope-reminder-XTXZHPLU.js +4 -0
  50. package/dist/solve-worker.js +1 -1
  51. package/dist/status-EM4ASO7T.js +4 -0
  52. package/dist/{stop-enforce-TYUSBDHO.js → stop-enforce-32B7BSQK.js} +1 -1
  53. package/dist/{tasks-reminder-VKRJRDNC.js → tasks-reminder-PICFLMC2.js} +1 -1
  54. package/package.json +3 -3
  55. package/dist/chunk-3LYVTLBJ.js +0 -4
  56. package/dist/chunk-IGPHRN4A.js +0 -83
  57. package/dist/chunk-PE5WVWI5.js +0 -48
  58. package/dist/chunk-SWYJTSC3.js +0 -6
  59. package/dist/chunk-VE6PPIKX.js +0 -229
  60. package/dist/post-edit-T5C6I6ZI.js +0 -4
  61. package/dist/post-edit-analyze-326U7L26.js +0 -4
  62. package/dist/post-edit-flag-stubs-EBDTZMDS.js +0 -4
  63. package/dist/pre-edit-EJO3TUNQ.js +0 -4
  64. package/dist/scope-reminder-CBY4I5SG.js +0 -4
  65. package/dist/status-WZG6MDCY.js +0 -4
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __ripploCreateRequire } from "node:module";
3
3
  const require = globalThis.require ?? __ripploCreateRequire(import.meta.url);
4
- import{a as c}from"./chunk-OQ6KNYPG.js";import{c as p}from"./chunk-LEFXRK53.js";import{c as l}from"./chunk-FEHVIHVA.js";import{a}from"./chunk-MHNGR6M7.js";import{I as u,w as t}from"./chunk-IGPHRN4A.js";import{R as d}from"./chunk-4F67XQYS.js";var f=3e3;async function S(e){l(e);let n=p(e).unwrapOr(void 0);if(n==null)return null;try{return await fetch(`${n.ripploServerUrl}/health`,{signal:AbortSignal.timeout(f)}),null}catch(r){return{detail:r instanceof Error?r.message:String(r),serverUrl:n.ripploServerUrl}}}function m(e){return e.includes("localhost")||e.includes("127.0.0.1")}import g from"fuse.js";function s(e){switch(e.kind){case"conflicting-flags":return"Pass either --all or test ids, not both.";case"nothing-selected":return`No tests selected \u2014 scope empty, no dirty .ripplo/workflows files. Pass test ids, add to scope (${a("run")}), or use --all.`;case"unknown-ids":{let n=e.known,r=e.unknown.flatMap(i=>b(i,n)),o=r.length>0?[`Did you mean: ${[...new Set(r)].join(", ")}`]:[];return[`Unknown ${e.unknown.length===1?"id":"ids"}: ${e.unknown.join(", ")}`,...o,"Pass a workflow slug for all its tests, or workflow/test for one. Known workflows:",...n.map(i=>` ${i}`)].join(`
4
+ import{a as c}from"./chunk-OQ6KNYPG.js";import{c as p}from"./chunk-KQWFJRIP.js";import{c as l}from"./chunk-FEHVIHVA.js";import{a}from"./chunk-MHNGR6M7.js";import{g as t,l as u}from"./chunk-PPMW4GUY.js";import{X as d}from"./chunk-SBDRIIVW.js";var f=3e3;async function S(e){l(e);let n=p(e).unwrapOr(void 0);if(n==null)return null;try{return await fetch(`${n.ripploServerUrl}/health`,{signal:AbortSignal.timeout(f)}),null}catch(r){return{detail:r instanceof Error?r.message:String(r),serverUrl:n.ripploServerUrl}}}function m(e){return e.includes("localhost")||e.includes("127.0.0.1")}import g from"fuse.js";function s(e){switch(e.kind){case"conflicting-flags":return"Pass either --all or test ids, not both.";case"nothing-selected":return`No tests selected \u2014 scope empty, no dirty .ripplo/workflows files. Pass test ids, add to scope (${a("run")}), or use --all.`;case"unknown-ids":{let n=e.known,r=e.unknown.flatMap(i=>b(i,n)),o=r.length>0?[`Did you mean: ${[...new Set(r)].join(", ")}`]:[];return[`Unknown ${e.unknown.length===1?"id":"ids"}: ${e.unknown.join(", ")}`,...o,"Pass a workflow slug for all its tests, or workflow/test for one. Known workflows:",...n.map(i=>` ${i}`)].join(`
5
5
  `)}}}function A({failed:e,notRun:n,passed:r}){let o=n>0?`, ${String(n)} not run`:"";return`${String(r)} passed, ${String(e)} failed${o} (${String(r+e+n)} total)`}function j({debugDir:e,event:n}){let r=`${n.workflowName} \u2192 ${n.testName}`;if(n.kind==="test-started")return`${t.dim("run ")} ${r}`;switch(n.outcome.kind){case"pass":return`${t.good("pass")} ${r} ${t.dim(n.runId)}`;case"findings":return[`${t.bad("fail")} ${r} \u2014 ${c(n.outcome.findingLines.length,"finding")}`,...n.outcome.findingLines,u({debugDir:e,runId:n.runId}),`${t.dim("why")} npx ripplo explain ${n.runId}`].join(`
6
6
  `);case"error":return`${t.bad("error")} ${r} \u2014 ${w(n.outcome.detail)} ${t.dim(n.runId)}`;case"dispatch-error":return`${t.bad("error")} ${r} \u2014 ${y(n.outcome.reason)}`;case"dispatch-timeout":return`${t.bad("error")} ${r} \u2014 not run: dispatch timed out (transient): ${n.outcome.detail}`;case"infra-error":return`${t.bad("error")} ${r} \u2014 not run: Ripplo server unreachable: ${n.outcome.detail}`}}var h={MAX_AGENTS:"agent limit reached for your plan \u2014 upgrade to add more",MAX_CONCURRENT_RUNS:"concurrent run limit reached for your plan \u2014 upgrade or wait for runs to finish",MAX_PROJECTS:"project limit reached for your plan \u2014 upgrade to add more",MAX_RUNS:"run limit reached for your plan \u2014 enable overage or upgrade",OVERAGE_CAP:"overage cap reached \u2014 raise the cap or upgrade"};function N({detail:e,serverUrl:n}){return m(n)?`Ripplo server at ${n} not running (${e}). Start the dev server with \`pnpm dev\`.`:`Ripplo server at ${n} unreachable (${e}) \u2014 server-side, not your local environment.`}function M(e){switch(e.code){case"compile-failed":{let n=e.diagnostics.length===0?[]:["",...e.diagnostics];return[`Compilation failed in the daemon (${e.detail}). Run \`npx ripplo compile\` for full output.`,...n].join(`
7
7
  `)}case"selection-conflicting-flags":return s({kind:"conflicting-flags"});case"selection-nothing-selected":return s({kind:"nothing-selected"});case"selection-unknown-ids":return s({kind:"unknown-ids",known:e.known,unknown:e.unknown});case"app-unreachable":return`Your dev server not responding at ${e.url} (${e.detail}) \u2014 your local environment, not the Ripplo server.`;case"engine-unreachable":return`Ripplo engine not responding at ${e.url} (${e.detail}) \u2014 adapter unmounted, behind a build error, or RIPPLO_ENGINE_URL points at the wrong path.`;case"scope-failed":return`Could not resolve the dev-session scope: ${e.detail}
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __ripploCreateRequire } from "node:module";
3
3
  const require = globalThis.require ?? __ripploCreateRequire(import.meta.url);
4
- import{a as n}from"./chunk-MHNGR6M7.js";import{f as o,g as a,h as i}from"./chunk-EVVF662P.js";function c(e){return[`Compilation failed: ${s(e)}`,n("create","DSL authoring rules")].join(`
4
+ import{a as n}from"./chunk-MHNGR6M7.js";import{f as o,g as a,h as i}from"./chunk-ML7WCYPY.js";function c(e){return[`Compilation failed: ${s(e)}`,n("create","DSL authoring rules")].join(`
5
5
  `)}function m(){return`${i} is up to date`}function g(e){return[`${i} is ${e==="missing"?"missing":"out of date"} \u2014 run \`npx ripplo compile\` and commit it`,n("setup")].join(`
6
6
  `)}function x(){return`Wrote ${i}`}function s(e){switch(e.kind){case"typecheck-failed":return["TypeScript errors in .ripplo/:",...l(e.diagnostics)].join(`
7
7
  `);case"not-ripplo":return`${e.entryPath} must default-export createRipplo({ entities, singletons, workflows }).`;case"invalid-lockfile":return["Lockfile failed schema validation (stale or hand-edited .ripplo/ripplo.lock):",...l(e.issues),"Regenerate with `npx ripplo compile`."].join(`