eser 4.1.42 → 4.1.44

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 (77) hide show
  1. package/chunks/{approve-ZVP5ZFYD.js → approve-4CQFJU5A.js} +1 -1
  2. package/chunks/{block-XMEV54BW.js → block-MQTVULY3.js} +1 -1
  3. package/chunks/cancel-56EDMMFO.js +2 -0
  4. package/chunks/changelog-gen-USXHO6PE.js +1 -1
  5. package/chunks/chunk-2HSGE3TL.js +2 -0
  6. package/chunks/chunk-3F23SLJA.js +110 -0
  7. package/chunks/chunk-5N2QHREH.js +17 -0
  8. package/chunks/{chunk-VW5QFRLO.js → chunk-FODF5MI2.js} +1 -1
  9. package/chunks/chunk-NY4W44PI.js +2 -0
  10. package/chunks/chunk-OYNFK77H.js +2 -0
  11. package/chunks/{chunk-EWECBFQO.js → chunk-PIV56NIC.js} +3 -3
  12. package/chunks/{chunk-B2ANQEQO.js → chunk-QBQAOXEV.js} +1 -1
  13. package/chunks/{chunk-B25CIV35.js → chunk-TNWF37YQ.js} +1 -1
  14. package/chunks/{chunk-M7KYQS2M.js → chunk-ZJMX5J6E.js} +1 -1
  15. package/chunks/{concern-MIS5NE4U.js → concern-4HFEHA2X.js} +1 -1
  16. package/chunks/done-OSUBA7YO.js +2 -0
  17. package/chunks/free-WTJTBNOK.js +2 -0
  18. package/chunks/{gh-FKZHTNFN.js → gh-PJ2JDGXG.js} +2 -2
  19. package/chunks/{gh-contributors-3MFKDSG3.js → gh-contributors-EIM2PLGS.js} +1 -1
  20. package/chunks/init-2AZSHAPG.js +2 -0
  21. package/chunks/{install-WD65EAID.js → install-J4D2DGTQ.js} +1 -1
  22. package/chunks/invoke-hook-D5XQP7A7.js +11 -0
  23. package/chunks/{mod-QZTTX5HQ.js → mod-LAFYLM7O.js} +1 -1
  24. package/chunks/{mod-ERJSLSPA.js → mod-VRTH35WZ.js} +1 -1
  25. package/chunks/next-NBSEIKEK.js +9 -0
  26. package/chunks/{purge-VATLMK3Y.js → purge-GV7LXDF3.js} +1 -1
  27. package/chunks/release-6I5TL34I.js +1 -1
  28. package/chunks/{release-notes-GJ4EBMTD.js → release-notes-FSDHH2Y2.js} +1 -1
  29. package/chunks/release-tag-IOH5HGAA.js +1 -1
  30. package/chunks/{reopen-DD4BEUJ3.js → reopen-7EX6OJ6E.js} +1 -1
  31. package/chunks/{reset-H2L4XUQ6.js → reset-IZ76OH4F.js} +1 -1
  32. package/chunks/{rule-PC5PQJCD.js → rule-CNBMT5LD.js} +1 -1
  33. package/chunks/run-PBQGRZV3.js +4 -0
  34. package/chunks/spec-AINLSNW6.js +2 -0
  35. package/chunks/status-EHBO4FYW.js +2 -0
  36. package/chunks/{sync-55L47P6M.js → sync-M6DR7ZI4.js} +1 -1
  37. package/chunks/{system-QR52LT5S.js → system-2FUKECOJ.js} +1 -1
  38. package/chunks/{validate-bom-5IPW3R4O.js → validate-bom-MYISC3IT.js} +1 -1
  39. package/chunks/{validate-case-conflict-5XOPS6HD.js → validate-case-conflict-B737FXF2.js} +1 -1
  40. package/chunks/{validate-commit-msg-MEQH6ADP.js → validate-commit-msg-HJ5MXYNE.js} +1 -1
  41. package/chunks/{validate-docs-LBWVCSN2.js → validate-docs-CCYMKDXS.js} +1 -1
  42. package/chunks/{validate-eof-56S7THGQ.js → validate-eof-6WAM6VAY.js} +1 -1
  43. package/chunks/{validate-export-names-YJGQHPGF.js → validate-export-names-Q5FSXTV5.js} +1 -1
  44. package/chunks/{validate-filenames-DJF7GO3C.js → validate-filenames-JVBT2GXA.js} +1 -1
  45. package/chunks/{validate-json-2OMEH67D.js → validate-json-UPGBABYE.js} +1 -1
  46. package/chunks/{validate-large-files-OE4P7FD7.js → validate-large-files-RJLMJSWM.js} +1 -1
  47. package/chunks/{validate-licenses-BNEQDBKC.js → validate-licenses-YW5CK3QF.js} +1 -1
  48. package/chunks/{validate-line-endings-PHV2ZK7V.js → validate-line-endings-3VNZ7KT6.js} +1 -1
  49. package/chunks/{validate-merge-conflict-XN3376IV.js → validate-merge-conflict-SKWYYHFS.js} +1 -1
  50. package/chunks/{validate-mod-exports-D2Q5GV76.js → validate-mod-exports-OMUDATXK.js} +1 -1
  51. package/chunks/{validate-secrets-ZMBKEXOK.js → validate-secrets-FV6672MD.js} +1 -1
  52. package/chunks/{validate-shebangs-3OR2L3RH.js → validate-shebangs-N55SME72.js} +1 -1
  53. package/chunks/{validate-submodules-HIYYVQDP.js → validate-submodules-ADHLOUGA.js} +1 -1
  54. package/chunks/{validate-symlinks-QMLLO5R3.js → validate-symlinks-4IIIP6AQ.js} +1 -1
  55. package/chunks/{validate-toml-U77NIEDN.js → validate-toml-OVIYGLPR.js} +1 -1
  56. package/chunks/{validate-trailing-whitespace-UE7AOZEZ.js → validate-trailing-whitespace-LWP5QEXS.js} +1 -1
  57. package/chunks/{validate-yaml-UX2VQJJT.js → validate-yaml-L7JCSGXY.js} +1 -1
  58. package/chunks/versions-OKK45EDV.js +1 -1
  59. package/chunks/{watch-F6CO73RC.js → watch-LW6FU2EL.js} +6 -6
  60. package/chunks/wontfix-YJN2MZCL.js +2 -0
  61. package/eser.js +1 -1
  62. package/package.json +1 -1
  63. package/chunks/cancel-NOMB4RWW.js +0 -2
  64. package/chunks/chunk-CDVYNW34.js +0 -2
  65. package/chunks/chunk-HCCAYXSB.js +0 -82
  66. package/chunks/chunk-OCPEFZBJ.js +0 -2
  67. package/chunks/chunk-XV76AD7Z.js +0 -17
  68. package/chunks/done-JBMAE4OV.js +0 -2
  69. package/chunks/init-5LKHWDV5.js +0 -2
  70. package/chunks/invoke-hook-PYVXULCH.js +0 -11
  71. package/chunks/next-L3D5GIYW.js +0 -9
  72. package/chunks/run-MSWGAMLB.js +0 -4
  73. package/chunks/spec-5F7ZXCOG.js +0 -2
  74. package/chunks/status-XECKZKHG.js +0 -2
  75. package/chunks/wontfix-GSHTDPN7.js +0 -2
  76. /package/chunks/{dev-QZF2X7YC.js → dev-JQS5G6PA.js} +0 -0
  77. /package/chunks/{serve-R7XGF4EL.js → serve-VXA7O546.js} +0 -0
@@ -1,2 +0,0 @@
1
- import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
2
- import{a as N,d as P}from"./chunk-V3NJTF2Y.js";import{b as A}from"./chunk-CDVYNW34.js";import{a as z,c as u,i as R,j as v,r as I}from"./chunk-EWECBFQO.js";import{b as f,c as C}from"./chunk-MPGRKZIA.js";import"./chunk-2XNFZXHY.js";import{f as g,h as y,k as $}from"./chunk-MBG7SPPO.js";import{c as o,d as r,f as l,g as b,h as k,k as D}from"./chunk-YVN2NZL4.js";import{a as d,b as c}from"./chunk-FFWPJP7A.js";import{i as m}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var F=async n=>{let s=n?.[0];if(s==="new")return await L(n?.slice(1));if(s==="list")return await M(n?.slice(1));let a=f(),e=g({renderer:$.ansi(),sink:y.stdout()});return e.writeln(`Usage: ${a} spec <new --name=<slug> "description" | list>`),await e.close(),d(void 0)},L=async n=>{let s=g({renderer:$.ansi(),sink:y.stdout()}),a=m.process.cwd();if(!await I(a))return s.writeln(l("noskills is not initialized.")," Run: ",o(C("init"))),await s.close(),c({exitCode:1});let e=null,h=[];if(n!==void 0)for(let w of n)w.startsWith("--name=")?e=w.slice(7):w.startsWith("-")||h.push(w);let S=h.join(" ");if(e===null||e.length===0)return s.writeln(l("Error: --name is required.")),s.writeln(r("Example: "),o(`${f()} spec new --name=photo-upload "photo upload feature"`)),await s.close(),c({exitCode:1});let p=/^[a-z0-9][a-z0-9-]*[a-z0-9]$/;if(e.length>50||e.length>1&&!p.test(e)||e.length===1&&!/^[a-z0-9]$/.test(e))return s.writeln(l("Invalid spec name: "),o(e)),s.writeln(r("Must be lowercase, hyphens, numbers only. Max 50 chars. Regex: /^[a-z0-9][a-z0-9-]*[a-z0-9]$/")),await s.close(),c({exitCode:1});if(S.length===0)return s.writeln(l("Please provide a description: "),o(`${f()} spec new --name=${e} "photo upload feature"`)),await s.close(),c({exitCode:1});let i=`spec/${e}`,t=`${a}/${u.specDir(e)}`;try{return await m.fs.stat(t),s.writeln(l(`Spec "${e}" already exists.`),r(` Use a different --name or run \`${f()} reset --spec=${e}\` first.`)),await s.close(),c({exitCode:1})}catch{}let x=z(),E=A(x,e,i);return await m.fs.mkdir(`${a}/${u.specDir(e)}`,{recursive:!0}),await R(a,e,E),s.writeln(b("\u2714")," Spec started: ",o(e)),s.writeln(" Directory: ",r(u.specDir(e))),s.writeln(" Branch: ",r(i)),s.writeln(" Phase: ",k("DISCOVERY")),s.writeln(""),s.writeln("Run ",o(C(`next --spec=${e}`))," to begin discovery questions."),await s.close(),d(void 0)},M=async n=>{let s=m.process.cwd(),a=N(n),e=await v(s),h=`${s}/${u.specsDir}`,S=new Set(e.map(t=>t.name)),p=[];for(let t of e)p.push({name:t.name,phase:t.state.phase,iteration:t.state.execution.iteration});try{for await(let t of m.fs.readDir(h))t.isDirectory&&!S.has(t.name)&&p.push({name:t.name,phase:"IDLE",iteration:0})}catch{}if(a==="json")return await P(p,"json"),d(void 0);let i=g({renderer:$.ansi(),sink:y.stdout()});if(i.writeln(o("Specs")),i.writeln(""),p.length===0)i.writeln(r(" No specs yet."));else for(let t of p){let x=t.phase==="COMPLETED"?b(t.phase):t.phase==="EXECUTING"?D(t.phase):t.phase==="BLOCKED"?l(t.phase):k(t.phase),E=t.phase==="EXECUTING"?r(` iteration ${t.iteration}`):"";i.writeln(" ",r("\u25CB")," ",t.name," ",x,E)}return await i.close(),d(void 0)};export{F as main};
@@ -1,2 +0,0 @@
1
- import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
2
- import{a as f,d as P}from"./chunk-XV76AD7Z.js";import"./chunk-OCPEFZBJ.js";import{a as R,b as S}from"./chunk-HCCAYXSB.js";import{a as k,d as w}from"./chunk-V3NJTF2Y.js";import{e as b,f as x,k as D,o as v,r as O}from"./chunk-EWECBFQO.js";import{c as h}from"./chunk-MPGRKZIA.js";import"./chunk-2XNFZXHY.js";import{f as d,h as u,k as m}from"./chunk-MBG7SPPO.js";import{c as i,d as r,f as c,g as y,h as p,k as I}from"./chunk-YVN2NZL4.js";import{a as l,b as E}from"./chunk-FFWPJP7A.js";import{i as C}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var W=async g=>{let t=C.process.cwd(),o=k(g);if(!await O(t)){if(o==="json")await w({error:"noskills is not initialized"},o);else{let s=d({renderer:m.ansi(),sink:u.stdout()});s.writeln(c("noskills is not initialized.")," Run: ",i(h("init"))),await s.close()}return E({exitCode:1})}let V=x(g),e=await b(t,V),n=await D(t),T={phase:e.phase,spec:e.spec,branch:e.branch,discovery:e.phase==="DISCOVERY"||e.phase==="DISCOVERY_REVIEW"?{answered:e.discovery.answers.length,total:f.length}:void 0,execution:e.phase==="EXECUTING"||e.phase==="BLOCKED"?{iteration:e.execution.iteration,lastProgress:e.execution.lastProgress,debt:e.execution.debt?.items.length??0,verificationPassed:e.execution.lastVerification?.passed??null}:void 0,concerns:n?.concerns??[],tools:n?.tools??[],decisions:e.decisions.length};if(o==="json"){let a=(await v(t)).filter(N=>n!==null&&n.concerns.includes(N.id)),$=await R(t),j=S(n?.tools??[]),F=P(e,a,$,n,void 0,void 0,void 0,j);return await w({...T,...F},"json"),l(void 0)}{let s=d({renderer:m.ansi(),sink:u.stdout()});s.writeln(i(`${h("status")}`)),s.writeln("");let a=e.phase==="COMPLETED"?y(e.phase):e.phase==="BLOCKED"?c(e.phase):e.phase==="EXECUTING"?I(e.phase):p(e.phase);s.writeln(" Phase: ",a),e.spec!==null&&s.writeln(" Spec: ",i(e.spec)),e.branch!==null&&s.writeln(" Branch: ",e.branch),(e.phase==="DISCOVERY"||e.phase==="DISCOVERY_REVIEW")&&s.writeln(` Discovery: ${e.discovery.answers.length}/${f.length} questions answered`),e.phase==="EXECUTING"&&(s.writeln(` Iteration: ${e.execution.iteration}`),e.execution.lastProgress!==null&&s.writeln(" Progress: ",r(e.execution.lastProgress)),e.execution.debt!==null&&s.writeln(p(` Debt: ${e.execution.debt.items.length} items`))),n!==null&&(s.writeln(""),n.concerns.length>0&&s.writeln(" Concerns: ",r(n.concerns.join(", "))),n.tools.length>0&&s.writeln(" Tools: ",r(n.tools.join(", ")))),e.decisions.length>0&&(s.writeln(""),s.writeln(` Decisions: ${e.decisions.length}`)),await s.close()}return l(void 0)};export{W as main};
@@ -1,2 +0,0 @@
1
- import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
2
- import{a as A,d as D}from"./chunk-VW5QFRLO.js";import{k as y}from"./chunk-CDVYNW34.js";import{c as x,e as S,g,h as k,i as C}from"./chunk-EWECBFQO.js";import"./chunk-2XNFZXHY.js";import{f as d,h as w,k as h}from"./chunk-MBG7SPPO.js";import{d as u,f as n,g as f}from"./chunk-YVN2NZL4.js";import{a as m,b as i}from"./chunk-FFWPJP7A.js";import{i as c}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var F=async l=>{let e=d({renderer:h.ansi(),sink:w.stdout()}),a=c.process.cwd(),o=g(l);if(!o.ok)return e.writeln(n(o.error)),await e.close(),i({exitCode:1});let p=(l??[]).filter(r=>!r.startsWith("--spec=")).join(" ");if(p.length===0)return e.writeln(n('A reason is required: noskills wontfix "reason text"')),await e.close(),i({exitCode:1});let s;try{s=await S(a,o.spec)}catch(r){let E=r instanceof Error?r.message:String(r);return e.writeln(n(E)),await e.close(),i({exitCode:1})}if(s.phase==="IDLE"||s.phase==="UNINITIALIZED"||s.phase==="COMPLETED")return e.writeln(n(`Cannot mark as won't fix in phase: ${s.phase}`)),await e.close(),i({exitCode:1});if(s.spec!==null){let r=`${a}/${x.specDir(s.spec)}`;try{await c.fs.stat(r)}catch{return e.writeln(n(`Active spec '${s.spec}' directory not found.`)),e.writeln(u("Run `noskills reset` to return to IDLE.")),await e.close(),i({exitCode:1})}}let t=y(s,"wontfix",p);return await k(a,t),t.spec!==null&&await C(a,t.spec,t),t.spec!==null&&(await A(a,t.spec,"wontfix"),await D(a,t.spec,"wontfix")),e.writeln(f("\u2714"),` Spec marked as won't fix: ${p}`),await e.close(),m(void 0)};export{F as main};
File without changes
File without changes