eser 4.1.40 → 4.1.41
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/chunks/{add-V7YYHLFH.js → add-IM5JC6QA.js} +1 -1
- package/chunks/approve-RQVNTLFH.js +2 -0
- package/chunks/{ask-PMB64QWG.js → ask-UTEI7KGQ.js} +1 -1
- package/chunks/block-3NE7YTL7.js +2 -0
- package/chunks/{build-HUKFUVPB.js → build-IRLEBMJE.js} +2 -2
- package/chunks/cancel-W5FDMXFI.js +2 -0
- package/chunks/{changelog-gen-JV3EHOMV.js → changelog-gen-USXHO6PE.js} +1 -1
- package/chunks/{chunk-VIQLCQOI.js → chunk-2BEIAJ5J.js} +1 -1
- package/chunks/{chunk-XYUJCTPP.js → chunk-2N62LL55.js} +1 -1
- package/chunks/{chunk-OPPOHKNZ.js → chunk-2OKCK56H.js} +1 -1
- package/chunks/{chunk-HTJLIAH4.js → chunk-2UHHAPKY.js} +1 -1
- package/chunks/{chunk-NZRU3N6C.js → chunk-3LDGQFQZ.js} +1 -1
- package/chunks/chunk-3PBNSBPA.js +12 -0
- package/chunks/{chunk-NJUIBCQR.js → chunk-3U5M6YO6.js} +1 -1
- package/chunks/{chunk-F5HQDZLN.js → chunk-4COCZPO5.js} +1 -1
- package/chunks/{chunk-BWDCKK63.js → chunk-4EJVA4QA.js} +1 -1
- package/chunks/{chunk-ECY4MUD3.js → chunk-5MVJUALI.js} +1 -1
- package/chunks/{chunk-AMMTAUXC.js → chunk-5Y5VGPYR.js} +1 -1
- package/chunks/chunk-6SSSHLEY.js +2 -0
- package/chunks/{chunk-HP5W5XT6.js → chunk-6V6C6MWY.js} +1 -1
- package/chunks/{chunk-WJKE6XHF.js → chunk-6VHZQNHX.js} +1 -1
- package/chunks/{chunk-UMKCOU3N.js → chunk-7RL5ZFGE.js} +1 -1
- package/chunks/{chunk-F35K7YVH.js → chunk-BNMKKNLB.js} +1 -1
- package/chunks/{chunk-OAFB4A6D.js → chunk-BSV66I74.js} +1 -1
- package/chunks/{chunk-DWLFTRZS.js → chunk-CXTPYPO4.js} +1 -1
- package/chunks/{chunk-5RX5V5BA.js → chunk-DRCKMHUI.js} +1 -1
- package/chunks/{chunk-4EHAL3NK.js → chunk-E423U2PP.js} +1 -1
- package/chunks/chunk-ENNZWOEX.js +4 -0
- package/chunks/{chunk-MBCPGD5L.js → chunk-EXP2TZZC.js} +1 -1
- package/chunks/{chunk-TEOMM3RD.js → chunk-GKOMIH2B.js} +1 -1
- package/chunks/{chunk-BBOEAL63.js → chunk-H5GHXMIT.js} +1 -1
- package/chunks/{chunk-MOY4CXAZ.js → chunk-H6HLRKRK.js} +2 -2
- package/chunks/chunk-H7FWYKMD.js +82 -0
- package/chunks/{chunk-YEWODYET.js → chunk-H7U2VQCK.js} +1 -1
- package/chunks/{chunk-L7UCWRDZ.js → chunk-IBB6UZR2.js} +1 -1
- package/chunks/{chunk-AHKNU2JM.js → chunk-IBBGWXAI.js} +1 -1
- package/chunks/{chunk-ZWMJQZQF.js → chunk-IQQEVKBP.js} +1 -1
- package/chunks/{chunk-WILZ4OR2.js → chunk-IWXI3UYI.js} +1 -1
- package/chunks/{chunk-H2O5G3XB.js → chunk-JZ7DUWYC.js} +1 -1
- package/chunks/{chunk-EGMYM4TM.js → chunk-KZAPWWOT.js} +1 -1
- package/chunks/{chunk-4FGLERUG.js → chunk-L7RS6MQ5.js} +1 -1
- package/chunks/{chunk-3IZX4OZ7.js → chunk-LSET5TD3.js} +1 -1
- package/chunks/{chunk-WAEXOK7L.js → chunk-LYKN5EIM.js} +1 -1
- package/chunks/{chunk-ZC4F4MYU.js → chunk-MBG7SPPO.js} +1 -1
- package/chunks/{chunk-OAT2D23A.js → chunk-MPGRKZIA.js} +1 -1
- package/chunks/{chunk-MQ4EMT35.js → chunk-OEUVCV5C.js} +1 -1
- package/chunks/chunk-OM5GSS2H.js +7 -0
- package/chunks/{chunk-L2E2H7YT.js → chunk-OWQXQ33F.js} +1 -1
- package/chunks/{chunk-RVJZFWN7.js → chunk-QD46ROBD.js} +1 -1
- package/chunks/{chunk-HVTJ5LVU.js → chunk-QMRKAC6C.js} +1 -1
- package/chunks/{chunk-ILROPD5P.js → chunk-QYMHLTVT.js} +1 -1
- package/chunks/{chunk-KEOTIPA6.js → chunk-RFHWH6ZX.js} +1 -1
- package/chunks/{chunk-TLVGNOK3.js → chunk-RIOYVPPP.js} +1 -1
- package/chunks/{chunk-OWV223WQ.js → chunk-SF6FT44C.js} +1 -1
- package/chunks/{chunk-QFFGKP3M.js → chunk-SH4H7OLV.js} +1 -1
- package/chunks/{chunk-T4WKRBQZ.js → chunk-SK6QUPJR.js} +1 -1
- package/chunks/{chunk-O2TA7OHJ.js → chunk-SMKZDN2Q.js} +1 -1
- package/chunks/{chunk-DKFL6XPX.js → chunk-TELZ2ZFI.js} +1 -1
- package/chunks/{chunk-4QDEJUAF.js → chunk-TYLYMZQC.js} +1 -1
- package/chunks/{chunk-ULNEO3RY.js → chunk-UQRZJPYH.js} +1 -1
- package/chunks/{chunk-3AA3RXKD.js → chunk-V3NJTF2Y.js} +1 -1
- package/chunks/{chunk-K2MKYDPY.js → chunk-V6YI7YJ4.js} +1 -1
- package/chunks/{chunk-LBMJGMDD.js → chunk-VE6XM5OZ.js} +1 -1
- package/chunks/{chunk-A6K5L4SG.js → chunk-VNJJQED3.js} +1 -1
- package/chunks/{chunk-3QF3I2RD.js → chunk-VVWAUS3D.js} +1 -1
- package/chunks/{chunk-CMSPX2RN.js → chunk-WPOZMPUR.js} +1 -1
- package/chunks/{chunk-2KKLYXSA.js → chunk-WWI6727S.js} +1 -1
- package/chunks/{chunk-PXCM4FHO.js → chunk-XOSAN6PX.js} +1 -1
- package/chunks/{chunk-MEZCXQAX.js → chunk-YJ3ICGHV.js} +1 -1
- package/chunks/{chunk-P72TUTYK.js → chunk-YURNTYEP.js} +1 -1
- package/chunks/{chunk-U5Q5MC74.js → chunk-Z2LXZLZV.js} +1 -1
- package/chunks/{chunk-QXATB6Z5.js → chunk-ZEFYMWGZ.js} +1 -1
- package/chunks/{chunk-5224ZYEW.js → chunk-ZRUM5PE7.js} +1 -1
- package/chunks/claude-code-VX2T4YII.js +2 -0
- package/chunks/{clone-YEBQK7CG.js → clone-DSVKII72.js} +1 -1
- package/chunks/{cmd-2DAVTVOF.js → cmd-YU4MVRRR.js} +1 -1
- package/chunks/{commitmsg-FQ3IZ3TH.js → commitmsg-FS52L6J5.js} +2 -2
- package/chunks/{concern-TIGYH5DX.js → concern-BWZV4KBS.js} +1 -1
- package/chunks/{deno-XQHOVHKR.js → deno-I5YAWOB6.js} +1 -1
- package/chunks/{dev-BNGJJR2O.js → dev-QZF2X7YC.js} +2 -2
- package/chunks/done-44REMKQ4.js +2 -0
- package/chunks/{file-tools-shared-KBTCO2FV.js → file-tools-shared-LMF72D6S.js} +1 -1
- package/chunks/{gh-Q7VEABJS.js → gh-FKZHTNFN.js} +2 -2
- package/chunks/{gh-contributors-4KGARSNL.js → gh-contributors-3MFKDSG3.js} +1 -1
- package/chunks/{init-45ODFAV3.js → init-RIVFJ2HP.js} +1 -1
- package/chunks/{init-RV7K5JC4.js → init-ZOMBOUG3.js} +3 -3
- package/chunks/{install-6XIQS5E7.js → install-WD65EAID.js} +1 -1
- package/chunks/{invoke-hook-Q3NMJXDO.js → invoke-hook-CPYBTKLO.js} +3 -3
- package/chunks/kiro-JGEZGFF3.js +2 -0
- package/chunks/{list-NYLFIF2U.js → list-NS7ECFDY.js} +1 -1
- package/chunks/{list-UQMPOF5Y.js → list-PSLAM3H6.js} +1 -1
- package/chunks/{list-BOLPKAEY.js → list-XFPTCIMR.js} +1 -1
- package/chunks/{load-config-G4DHKB5K.js → load-config-OGSPRY4L.js} +1 -1
- package/chunks/{main-236QYA7G.js → main-BUEG2IMJ.js} +2 -2
- package/chunks/{manifest-3VJ4O6HR.js → manifest-4EA74HMS.js} +1 -1
- package/chunks/{mod-QWYXFGRG.js → mod-2PIV6QCE.js} +1 -1
- package/chunks/{mod-IHYN4TEM.js → mod-ERJSLSPA.js} +2 -2
- package/chunks/{mod-DXA25A4J.js → mod-G7PJEGW6.js} +1 -1
- package/chunks/{mod-YH5Z6G4Q.js → mod-II7CSZUT.js} +1 -1
- package/chunks/mod-JWUOEEMP.js +2 -0
- package/chunks/{mod-BQJDMCYC.js → mod-KTGLCC3R.js} +1 -1
- package/chunks/{mod-GSWVSC2C.js → mod-Q6SI6S6S.js} +1 -1
- package/chunks/{mod-EWLBSEHA.js → mod-RO7WP3SA.js} +1 -1
- package/chunks/{mod-PZSJGUM7.js → mod-U2MNO6EC.js} +1 -1
- package/chunks/{mod-IXVUQHXS.js → mod-WOZXOD2F.js} +1 -1
- package/chunks/{mod-SXL6PDQM.js → mod-XEK7FROU.js} +1 -1
- package/chunks/{new-U5U4E6HR.js → new-3ZN4U7FJ.js} +1 -1
- package/chunks/next-QNLI4Z6Y.js +9 -0
- package/chunks/ollama-LD6OENM2.js +2 -0
- package/chunks/opencode-ECTBCC3O.js +2 -0
- package/chunks/{purge-RM6OD5PV.js → purge-565VM3XK.js} +1 -1
- package/chunks/{recipe-applier-TTZEZGSC.js → recipe-applier-6SGY2W3A.js} +1 -1
- package/chunks/{registry-fetcher-SPENFEOH.js → registry-fetcher-H63ZWZHU.js} +1 -1
- package/chunks/{release-UEX6YK4K.js → release-6I5TL34I.js} +2 -2
- package/chunks/{release-notes-GA7CTA54.js → release-notes-GJ4EBMTD.js} +1 -1
- package/chunks/{release-tag-VJWBXG5G.js → release-tag-IOH5HGAA.js} +1 -1
- package/chunks/reopen-T5ZROS7Y.js +2 -0
- package/chunks/reset-EDANY7W4.js +2 -0
- package/chunks/{rule-ZQOGLQQI.js → rule-SMPE3A72.js} +1 -1
- package/chunks/{run-L35K3KRF.js → run-FGMEIO57.js} +1 -1
- package/chunks/run-VPRSGIHR.js +4 -0
- package/chunks/{scripts-VI2TKQOH.js → scripts-L2FZBUHU.js} +1 -1
- package/chunks/{serve-AVVEYGQB.js → serve-R7XGF4EL.js} +2 -2
- package/chunks/{server-R347ON4B.js → server-KJW4HWK7.js} +1 -1
- package/chunks/spec-WGXL4BOE.js +2 -0
- package/chunks/status-65FD7MJB.js +2 -0
- package/chunks/{sync-PB4KWB3R.js → sync-EIMJAEA7.js} +1 -1
- package/chunks/{system-KMRRIKMQ.js → system-5OWRHFDI.js} +1 -1
- package/chunks/{system-BXJ2LV5O.js → system-X4X6JD4X.js} +1 -1
- package/chunks/{update-522VXIKX.js → update-CV7JPZGM.js} +1 -1
- package/chunks/validate-bom-5IPW3R4O.js +2 -0
- package/chunks/validate-case-conflict-5XOPS6HD.js +2 -0
- package/chunks/validate-circular-deps-WME7VUO4.js +2 -0
- package/chunks/validate-commit-msg-MEQH6ADP.js +2 -0
- package/chunks/validate-docs-LBWVCSN2.js +2 -0
- package/chunks/validate-eof-56S7THGQ.js +2 -0
- package/chunks/validate-export-names-YJGQHPGF.js +2 -0
- package/chunks/validate-filenames-DJF7GO3C.js +2 -0
- package/chunks/validate-json-2OMEH67D.js +2 -0
- package/chunks/validate-large-files-OE4P7FD7.js +2 -0
- package/chunks/validate-licenses-BNEQDBKC.js +2 -0
- package/chunks/validate-line-endings-PHV2ZK7V.js +2 -0
- package/chunks/validate-merge-conflict-XN3376IV.js +2 -0
- package/chunks/validate-mod-exports-D2Q5GV76.js +2 -0
- package/chunks/{validate-package-configs-3Y55ZLUY.js → validate-package-configs-ZO5YJE2D.js} +1 -1
- package/chunks/validate-secrets-ZMBKEXOK.js +2 -0
- package/chunks/validate-shebangs-3OR2L3RH.js +2 -0
- package/chunks/validate-submodules-HIYYVQDP.js +2 -0
- package/chunks/validate-symlinks-QMLLO5R3.js +2 -0
- package/chunks/validate-toml-U77NIEDN.js +2 -0
- package/chunks/validate-trailing-whitespace-UE7AOZEZ.js +2 -0
- package/chunks/validate-yaml-UX2VQJJT.js +2 -0
- package/chunks/versions-OKK45EDV.js +2 -0
- package/chunks/watch-Y3ARCBAW.js +9 -0
- package/chunks/wontfix-FSTUJ7T6.js +2 -0
- package/eser.js +1 -1
- package/package.json +1 -1
- package/chunks/approve-HVIH2A3C.js +0 -2
- package/chunks/block-JSK5CJPO.js +0 -2
- package/chunks/chunk-7UASU4NU.js +0 -10
- package/chunks/chunk-A3JJKZ4C.js +0 -4
- package/chunks/chunk-JI536JLJ.js +0 -2
- package/chunks/chunk-NEHZOG23.js +0 -7
- package/chunks/chunk-RGUPFAEE.js +0 -68
- package/chunks/claude-code-ELUDT5TV.js +0 -2
- package/chunks/done-GGPPHJW2.js +0 -2
- package/chunks/kiro-NZ7LM6HA.js +0 -2
- package/chunks/mod-L26IBE5V.js +0 -2
- package/chunks/next-AQ4TIEL7.js +0 -9
- package/chunks/ollama-LHWMXMLY.js +0 -2
- package/chunks/opencode-24O2MW3L.js +0 -2
- package/chunks/reset-WHYTPTFB.js +0 -2
- package/chunks/run-IX74MQTI.js +0 -4
- package/chunks/spec-KMKZDLV2.js +0 -2
- package/chunks/status-MLX4O37A.js +0 -2
- package/chunks/validate-bom-JCMRVAUT.js +0 -2
- package/chunks/validate-case-conflict-WZQCMKSZ.js +0 -2
- package/chunks/validate-circular-deps-7R4F2YDV.js +0 -2
- package/chunks/validate-commit-msg-PH7Y3JEI.js +0 -2
- package/chunks/validate-docs-WCIOHNYP.js +0 -2
- package/chunks/validate-eof-KRYQLTFQ.js +0 -2
- package/chunks/validate-export-names-OCQ2XSY6.js +0 -2
- package/chunks/validate-filenames-46O7FCXF.js +0 -2
- package/chunks/validate-json-3EZ2L64H.js +0 -2
- package/chunks/validate-large-files-7YX6MSOB.js +0 -2
- package/chunks/validate-licenses-OC7JRVAH.js +0 -2
- package/chunks/validate-line-endings-2DM5UGCJ.js +0 -2
- package/chunks/validate-merge-conflict-UDMWYMJ5.js +0 -2
- package/chunks/validate-mod-exports-W24IV367.js +0 -2
- package/chunks/validate-secrets-66VXCCUF.js +0 -2
- package/chunks/validate-shebangs-AMEAHVLB.js +0 -2
- package/chunks/validate-submodules-DYCE27WK.js +0 -2
- package/chunks/validate-symlinks-QN744GUH.js +0 -2
- package/chunks/validate-toml-5K2XNHAE.js +0 -2
- package/chunks/validate-trailing-whitespace-QYWHHIAK.js +0 -2
- package/chunks/validate-yaml-VGKLHEAQ.js +0 -2
- package/chunks/versions-FYALONNL.js +0 -2
- package/chunks/watch-P56QT3Q2.js +0 -9
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{c,d as f}from"./chunk-
|
|
2
|
+
import{c,d as f}from"./chunk-2UHHAPKY.js";import{a as R}from"./chunk-IBB6UZR2.js";import"./chunk-VNJJQED3.js";import"./chunk-GTHXGAMQ.js";import"./chunk-3XJLLDR5.js";import"./chunk-P7WCO724.js";import"./chunk-2XNFZXHY.js";import{a as m}from"./chunk-LFNUSULJ.js";import{a as d,c as p}from"./chunk-L7RS6MQ5.js";import{l as n}from"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import{f as u}from"./chunk-P2MUEKFT.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import{a as g}from"./chunk-MG65QJY6.js";import{g as a}from"./chunk-FFWPJP7A.js";import"./chunk-2BOCLC67.js";import"./chunk-7ATUODBM.js";import"./chunk-N7DXBY3O.js";import"./chunk-AP72BKVG.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var{ctx:i,output:N}=d(),P=async(e={})=>{let{root:r=".",remote:s="origin",tagPrefix:h="v",messageTemplate:y="Release {tag}",dryRun:l=!1}=e,t=await R({root:r});if(t===void 0||!/^\d+\.\d+\.\d+$/.test(t))throw new Error(`Invalid or missing version in VERSION file: "${t}"`);let o=`${h}${t}`,v=y.replace("{tag}",o).replace("{version}",t);return l||(await c(o,v),await f(s,o)),{version:t,tag:o,remote:s,dryRun:l}},T=e=>u.fromPromise(()=>P(e)),C=e=>a.ok({dryRun:e.flags["dry-run"]===!0}),x=e=>{if(a.isFail(e)){let s=e.error instanceof Error?e.error.message:String(e.error);return n.error(i,s),a.fail({exitCode:1})}let{value:r}=e;return r.dryRun?n.warn(i,`[DRY RUN] Would create and push tag ${r.tag}`):(n.success(i,`Created tag ${r.tag}`),n.info(i,`Pushed tag ${r.tag} to ${r.remote}`)),a.ok(void 0)},A=m.createTrigger({handler:T,adaptInput:C,adaptOutput:x}),S=async e=>{let r=g(e??[],{boolean:["dry-run"],alias:{n:"dry-run"}}),s=p("release-tag",r);return await A(s)};export{A as handleCli,S as main,P as pushReleaseTag,T as pushReleaseTagHandler};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{l as f}from"./chunk-6SSSHLEY.js";import{e as d,f as u,g as w}from"./chunk-OM5GSS2H.js";import"./chunk-2XNFZXHY.js";import{f as c,h as l,k as m}from"./chunk-MBG7SPPO.js";import{d as o,f as i,g as p}from"./chunk-YVN2NZL4.js";import{a as t,b as n}from"./chunk-FFWPJP7A.js";import{i as a}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var D=async h=>{let e=c({renderer:m.ansi(),sink:l.stdout()}),r=a.process.cwd(),g=u(h),s=await d(r,g);if(s.phase!=="COMPLETED")return e.writeln(i(`Cannot reopen in phase: ${s.phase}`)),e.writeln(o("Only COMPLETED specs can be reopened.")),await e.close(),n({exitCode:1});let S=f(s);return await w(r,S),e.writeln(p("\u2714")," Spec reopened. Discovery answers preserved \u2014 run `noskills next` to revise."),await e.close(),t(void 0)};export{D as main};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{m as h}from"./chunk-6SSSHLEY.js";import{c as d,e as u,f,g as w}from"./chunk-OM5GSS2H.js";import"./chunk-2XNFZXHY.js";import{f as c,h as l,k as m}from"./chunk-MBG7SPPO.js";import{d as t,f as o,g as p}from"./chunk-YVN2NZL4.js";import{a}from"./chunk-FFWPJP7A.js";import{i}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var L=async g=>{let e=c({renderer:m.ansi(),sink:l.stdout()}),r=i.process.cwd(),y=f(g),s=await u(r,y);if(s.phase==="IDLE"||s.phase==="UNINITIALIZED")return e.writeln(t("Already idle. Nothing to reset.")),await e.close(),a(void 0);if(s.spec!==null){let D=`${r}/${d.specDir(s.spec)}`;try{await i.fs.stat(D)}catch{e.writeln(o(`Active spec '${s.spec}' directory not found.`)),e.writeln(t("Resetting to IDLE anyway."))}}let n=s.spec,I=h(s);return await w(r,I),e.writeln(p("\u2714")," Reset to IDLE."),n!==null&&e.writeln(t(`Spec "${n}" state cleared. Files in .eser/specs/${n}/ preserved.`)),await e.close(),a(void 0)};export{L as main};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{a as k,b as x}from"./chunk-
|
|
2
|
+
import{a as k,b as x}from"./chunk-H7FWYKMD.js";import{c as f,l as h}from"./chunk-OM5GSS2H.js";import{b as y,c as w}from"./chunk-MPGRKZIA.js";import"./chunk-2XNFZXHY.js";import{f as o,h as l,k as a}from"./chunk-MBG7SPPO.js";import{c as m,d as i,f as p,g}from"./chunk-YVN2NZL4.js";import{a as u,b as c}from"./chunk-FFWPJP7A.js";import{i as n}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var U=async s=>{let e=s?.[0];if(e==="add")return await $(s?.slice(1));if(e==="list")return await v();if(e==="promote")return await C(s?.slice(1));let t=y(),r=o({renderer:a.ansi(),sink:l.stdout()});return r.writeln(`Usage: ${t} rule <add "rule text" | list | promote "decision">`),await r.close(),u(void 0)},$=async s=>{let e=o({renderer:a.ansi(),sink:l.stdout()}),t=n.process.cwd(),r=s?.join(" "),d=await h(t);if(r===void 0||r.length===0)return e.writeln(p("Please provide a rule: "),m(`${w('rule add "Use Deno Tests for all tests"')}`)),await e.close(),c({exitCode:1});let P=r.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,50),A=`${t}/${f.rulesDir}/${P}.md`;return await n.fs.mkdir(`${t}/${f.rulesDir}`,{recursive:!0}),await n.fs.writeTextFile(A,r+`
|
|
3
3
|
`),e.writeln(g("\u2714")," Rule added: ",i(r)),d!==null&&d.tools.length>0&&(await x(t,d.tools,d),e.writeln(i(" Tool files synced."))),await e.close(),u(void 0)},v=async()=>{let s=o({renderer:a.ansi(),sink:l.stdout()}),e=n.process.cwd(),t=await k(e);if(s.writeln(m("Rules")),s.writeln(""),t.length===0)s.writeln(i(` No rules yet. Add one with: ${w('rule add "..."')}`));else for(let r of t)s.writeln(" ",i("\u2022"),` ${r}`);return await s.close(),u(void 0)},C=async s=>{let e=o({renderer:a.ansi(),sink:l.stdout()}),t=s?.join(" ");return t===void 0||t.length===0?(e.writeln(p("Please provide the decision text to promote.")),await e.close(),c({exitCode:1})):(await e.close(),await $(s))};export{U as main};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{a as V,b as q,c as z}from"./chunk-
|
|
2
|
+
import{a as V,b as q,c as z}from"./chunk-H7U2VQCK.js";import"./chunk-OWQXQ33F.js";import"./chunk-2XNFZXHY.js";import{a as A,c as J,d as k,e as L}from"./chunk-P2MUEKFT.js";import{f as N,h as U,k as B}from"./chunk-MBG7SPPO.js";import{f as x,g as C,h as F}from"./chunk-YVN2NZL4.js";import{d as H}from"./chunk-5MVJUALI.js";import{a as I}from"./chunk-MG65QJY6.js";import{a as W,b as c,c as P,d as S}from"./chunk-FFWPJP7A.js";import{i as _}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var O=s=>({_tag:"WorkflowError",message:s}),Z=s=>{if(typeof s=="string")return{name:s,options:{},continueOnError:!1};let o=Object.entries(s);if(o.length!==1)throw new Error(`Invalid step config: expected exactly one key, got ${o.length}`);let[e,n]=o[0],r={},i=!1,l;for(let[a,t]of Object.entries(n))a==="continueOnError"?i=t===!0:a==="timeout"?l=t*1e3:r[a]=t;return{name:e,options:r,continueOnError:i,timeout:l}},ee=(s,o,e)=>L(J(s,n=>O(n instanceof Error?n.message:String(n))),o,O(`Step '${e}' timed out after ${(o/1e3).toFixed(0)}s`)),G=(s,o,e={})=>A(async()=>{let n=performance.now(),r=[],i=e.defaultTimeout??6e4;for(let a of s.steps){let t=Z(a);if(e.only!==void 0&&t.name!==e.only)continue;let T=o.get(t.name);if(T===void 0)return c(O(`Unknown tool '${t.name}' in workflow '${s.id}'. Registered tools: ${o.names().join(", ")||"(none)"}`));let v={...t.options,root:e.root??".",fix:e.fix??!1,_args:e.args??[]};e.changedFiles!==void 0&&(v._changedFiles=e.changedFiles),e.onStepStart?.(t.name);let g=performance.now(),j=t.timeout??i,h=ee(()=>T.run(v),j,t.name),p=await k(h),d;if(P(p))d=p.value;else if(t.continueOnError)d={name:t.name,passed:!1,issues:[{message:p.error.message}],mutations:[],stats:{}};else return p;let b=performance.now()-g,y={...d,durationMs:b};r.push(y),d.mutations.length>0&&e.onMutations!==void 0&&await e.onMutations(d.mutations),e.onStepEnd?.(y)}let l=performance.now()-n;return W({workflowId:s.id,passed:r.every(a=>a.passed),steps:r,totalDurationMs:l})}),D=(s,o,e=new Set)=>{if(s.includes===void 0||s.includes.length===0)return s;let n=new Set(e);n.add(s.id);let r=[];for(let i of s.includes){if(n.has(i))throw new Error(`Circular include detected: workflow '${s.id}' includes '${i}' which is already in the include chain: ${[...n].join(" \u2192 ")}`);let l=o.find(t=>t.id===i);if(l===void 0)throw new Error(`Workflow '${s.id}' includes '${i}' but no workflow with that id exists. Available: ${o.map(t=>t.id).join(", ")||"(none)"}`);let a=D(l,o,n);r.push(...a.steps)}return{...s,steps:[...r,...s.steps],includes:void 0}},K=(s,o,e,n={})=>A(async()=>{let r=o.workflows.find(l=>l.id===s);if(r===void 0)return c(O(`Workflow '${s}' not found. Available: ${o.workflows.map(l=>l.id).join(", ")||"(none)"}`));let i=D(r,o.workflows);return await k(G(i,e,n))}),Q=(s,o,e,n={})=>A(async()=>{let r=o.filter(l=>l.on.includes(s));if(r.length===0)return c(O(`No workflows found for event '${s}'. Available: ${o.map(l=>`${l.id} (${l.on.join(", ")})`).join("; ")||"(none)"}`));let i=[];for(let l of r){let a=D(l,o),t=await k(G(a,e,n));if(S(t))return t;i.push(t.value)}return W(i)});var oe=50,$=B.ansi(),se=(s,o,e)=>{let n=".".repeat(Math.max(1,oe-s.length)),r=`${(o.durationMs/1e3).toFixed(1)}s`,i;if(o.passed&&o.mutations.length>0)i=$.render([F(`Fixed (${o.mutations.length} file${o.mutations.length===1?"":"s"}, ${r})`)]);else if(o.passed)if(e&&Object.keys(o.stats).length>0){let l=Object.entries(o.stats).map(([a,t])=>`${t} ${a}`).join(", ");i=$.render([C(`Passed (${l}, ${r})`)])}else i=$.render([C(`Passed (${r})`)]);else i=$.render([x(`Failed (${r})`)]);return`${s}${n}${i}`},pe=async(s,o)=>{let e=I(s??[],{string:["event","workflow","only","config"],boolean:["fix","dry-run","help","verbose","json","changed"],alias:{e:"event",w:"workflow",h:"help",v:"verbose"}});if(e.help)return console.log(`eser workflows run \u2014 Run workflow pipelines
|
|
3
3
|
`),console.log("Usage:"),console.log(" eser workflows run -e <event> Run by event"),console.log(" eser workflows run -w <workflow-id> Run by workflow id"),console.log(),console.log("Options:"),console.log(" -e, --event <name> Event to trigger (precommit, commitmsg, prepush)"),console.log(" -w, --workflow <id> Workflow id to run"),console.log(" --fix Auto-fix issues where supported"),console.log(" --dry-run Preview mutations without writing"),console.log(" --only <step> Run only a specific step"),console.log(" --config <path> Config directory (default: .)"),console.log(" -v, --verbose Show stats and issues for all steps"),console.log(" --json Output results as JSON"),console.log(" --changed Only check files changed in git"),console.log(" -h, --help Show this help"),W(void 0);let n=N({renderer:$,sink:U.stdout()}),r=e.event,i=e.workflow,l=e.fix??!1,a=e["dry-run"]??!1,t=e.only,T=e._,v=e.verbose??!1,g=e.json??!1,j=e.changed??!1;if(r===void 0&&i===void 0)return console.error("Error: specify -e <event> or -w <workflow-id>. Use --help for usage."),await n.close(),c({exitCode:1});let h=V();h.register(z),o?.tools!==void 0&&h.registerAll(o.tools);let p=e.config??".",d=await q(p);if(d===null)return console.error("Error: no .eser/manifest.yml found in current directory."),await n.close(),c({exitCode:1});let b;if(j)try{b=await H`git diff --name-only HEAD`.cwd(p).noThrow().lines()}catch{n.writeln(F("Warning: could not run git, running without file filtering."))}let y=[],M={root:p,fix:l,dryRun:a,only:t,args:T,changedFiles:b,onStepStart:void 0,onStepEnd:g?void 0:f=>{if(console.log(se(f.name,f,v)),!f.passed||v)for(let u of f.issues){let R=u.path!==void 0?u.line!==void 0?`${u.path}:${u.line}`:u.path:"";console.log(` ${$.render([x("\u2717")])} ${R}${R.length>0?": ":""}${u.message}`)}},onMutations:async f=>{if(!a)for(let u of f)u.oldContent!==u.newContent&&await _.fs.writeTextFile(u.path,u.newContent)}};try{let f=!0,u=0,R=0;if(r!==void 0){let w=await k(Q(r,d.workflows,h,M));if(S(w))throw new Error(w.error.message);for(let m of w.value){y.push(m),m.passed||(f=!1);for(let E of m.steps)E.passed||(R++,u+=E.issues.length)}}else{let w=await k(K(i,d,h,M));if(S(w))throw new Error(w.error.message);let m=w.value;y.push(m),f=m.passed;for(let E of m.steps)E.passed||(R++,u+=E.issues.length)}return g&&console.log(JSON.stringify(y,null,2)),f?(g||n.writeln(C(`
|
|
4
4
|
All checks passed!`)),await n.close(),W(void 0)):(g||n.writeln(x(`
|
|
5
5
|
${R} check(s) failed with ${u} issue(s)`)),await n.close(),c({exitCode:1}))}catch(f){return n.writeln(x(`Error: ${f instanceof Error?f.message:String(f)}`)),await n.close(),c({exitCode:1})}};export{pe as main};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{d as B}from"./chunk-3PBNSBPA.js";import"./chunk-OCPEFZBJ.js";import{a as W}from"./chunk-H7FWYKMD.js";import{a as X,h as _}from"./chunk-6SSSHLEY.js";import{d as g,e as N,f as U,g as $,l as G,p as L,s as M}from"./chunk-OM5GSS2H.js";import{b as E,c as V}from"./chunk-MPGRKZIA.js";import"./chunk-2XNFZXHY.js";import{a as D,b as A,d as F}from"./chunk-JZ7DUWYC.js";import{f as R,h as O,k as T}from"./chunk-MBG7SPPO.js";import{c as P,d as o,f as l,g as v,h,k as I}from"./chunk-YVN2NZL4.js";import{a as S,b as w}from"./chunk-FFWPJP7A.js";import{i as y}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var le=async t=>{let e=R({renderer:T.ansi(),sink:O.stdout()}),i=y.process.cwd(),n=t?.includes("--unattended")??!1,r=j(t,"--max-turns")??10,p=j(t,"--max-iterations")??50;if(!await M(i))return e.writeln(l(`noskills not initialized. Run: ${V("init")}`)),await e.close(),w({exitCode:1});let x=U(t),c=await N(i,x);if(c.phase!=="EXECUTING"&&c.phase!=="SPEC_APPROVED")return e.writeln(l(`Cannot run from phase: ${c.phase}`)),e.writeln(o("Must be in SPEC_APPROVED or EXECUTING to start.")),await e.close(),w({exitCode:1});if(c.phase==="SPEC_APPROVED"){e.writeln(o("Starting execution from approved spec..."));let s=_(c);await $(i,s)}let d=await G(i);if(d===null)return e.writeln(l("Config not found.")),await e.close(),w({exitCode:1});e.writeln(P(`${E()} run`)),e.writeln(o(`Mode: ${n?"unattended":"interactive"}, max-turns: ${r}, max-iterations: ${p}`)),e.writeln("");let m=0,u=0;for(;m<p;){m++;let s=await g(i);if(s.phase==="COMPLETED"){e.writeln(""),e.writeln(v("\u2714")," Spec completed!"),e.writeln(` Iterations: ${s.execution.iteration}`),e.writeln(` Decisions: ${s.decisions.length}`);break}if(s.phase==="BLOCKED"){let a=s.execution.lastProgress??"Unknown";if(e.writeln(""),e.writeln(h("\u26A0")," Execution blocked: ",o(a)),n){await Q(i,a,m),e.writeln(o("Logged to .eser/.state/blocked.log. Resolve and re-run.")),u=1;break}let C=A(),f=await F(C,{message:"Enter resolution (or leave empty to stop):"});if(D(f)||f===""){e.writeln(o("Stopped by user."));break}let k=X(s,"EXECUTING");await $(i,{...k,execution:{...k.execution,lastProgress:`Resolved: ${f}`}});continue}if(s.phase!=="EXECUTING"){e.writeln(l(`Unexpected phase: ${s.phase}. Stopping.`)),u=1;break}let z=(await L(i)).filter(a=>d.concerns.includes(a.id)),q=await W(i),H=B(s,z,q,d),K=J(H);e.writeln(I(`\u2500\u2500 Iteration ${m}`),o(` (execution: ${s.execution.iteration}, debt: ${s.execution.debt?.items.length??0})`)),s.execution.lastProgress!==null&&e.writeln(o(` Last: ${s.execution.lastProgress}`)),s.execution.lastVerification?.passed===!1&&e.writeln(l(" Verification failed \u2014 agent will fix")),s.execution.debt!==null&&e.writeln(h(` Debt: ${s.execution.debt.items.length} items`)),e.writeln(o(" Spawning agent..."));try{await(await import("./mod-KTGLCC3R.js")).exec`claude -p ${K} --max-turns ${String(r)} --output-format json`.noThrow().text()}catch{e.writeln(l(" Failed to spawn claude CLI. Is it installed?")),u=1;break}e.writeln(o(" Agent exited. Stop hook captured state."));let b=await g(i);if(d.autoCommit===!0&&d.allowGit!==!1)try{let a=await import("./mod-KTGLCC3R.js");if((await a.exec`git diff --name-only`.noThrow().text()).trim().length>0){await a.exec`git add -A`.noThrow().text();let f=`noskills: iteration ${b.execution.iteration} \u2014 ${b.execution.lastProgress??"progress"}`;await a.exec`git commit -m ${f}`.noThrow().text(),e.writeln(o(" Auto-committed."))}}catch{e.writeln(o(" Auto-commit failed (non-fatal)."))}}return m>=p&&(e.writeln(""),e.writeln(h("\u26A0"),` Max iterations (${p}) reached. Stopping.`),u=2),await e.close(),u!==0?w({exitCode:u}):S(void 0)},J=t=>{let e=[];if(e.push(t.meta.resumeHint),e.push(""),t.meta.spec!==null&&(e.push(`Working on spec: ${t.meta.spec}`),e.push("")),"instruction"in t&&(e.push(t.instruction),e.push("")),"previousIterationDebt"in t){let n=t.previousIterationDebt;if(n!==void 0){e.push(`DEBT from iteration ${n.fromIteration} (address first):`);for(let r of n.items)e.push(`- ${r}`);e.push("")}}if("statusReportRequired"in t){let n=t.statusReport;if(n!==void 0){e.push("Report against these acceptance criteria:");for(let r of n.criteria)e.push(`- ${r}`);e.push("")}}if("verificationFailed"in t&&t.verificationFailed===!0&&(e.push("Test output:"),e.push(("verificationOutput"in t?t.verificationOutput:"")??""),e.push("")),t.behavioral.rules.length>0){e.push("Rules:");for(let n of t.behavioral.rules)e.push(`- ${n}`);e.push("")}if("context"in t){let n=t.context;if(n.concernReminders.length>0){e.push("Reminders:");for(let r of n.concernReminders)e.push(`- ${r}`);e.push("")}}let i=E();return e.push(`When done, report progress: ${i} next --answer="your progress"`),e.push(`If blocked, run: ${i} block "reason"`),e.push(`When all tasks are complete: ${i} done`),e.join(`
|
|
3
|
+
`)},j=(t,e)=>{if(t===void 0)return null;let i=`${e}=`;for(let n of t)if(n.startsWith(i)){let r=parseInt(n.slice(i.length),10);if(!isNaN(r)&&r>0)return r}return null},Q=async(t,e,i)=>{let n=`${t}/.eser/.state/blocked.log`,r=`[${new Date().toISOString()}] iteration=${i} reason=${e}
|
|
4
|
+
`;try{let{appendFileSync:p,mkdirSync:x}=await import("node:fs"),{dirname:c}=await import("node:path");x(c(n),{recursive:!0}),p(n,r)}catch{}};export{le as main};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{f as w,h as g,k as y}from"./chunk-
|
|
2
|
+
import{f as w,h as g,k as y}from"./chunk-MBG7SPPO.js";import{b as m,d as p,f as C}from"./chunk-YVN2NZL4.js";import{b as x}from"./chunk-5MVJUALI.js";import{a as h,b as f}from"./chunk-FFWPJP7A.js";import{i as S}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var l=(e,r)=>typeof r=="string"?{command:r,description:e,workingDirectory:void 0,depends:[]}:{command:r.command,description:r.description??e,workingDirectory:r.workingDirectory,depends:r.depends??[]},k=(e,r,t=new Set,s=new Set)=>{if(s.has(e))return[];if(t.has(e))throw new Error(`Circular dependency detected: ${e} depends on itself (cycle in dependency chain)`);let n=r[e];if(n===void 0)throw new Error(`Unknown script dependency: "${e}"`);t.add(e);let c=l(e,n),o=[];for(let a of c.depends){let i=k(a,r,t,s);for(let d of i)s.has(d)||(o.push(d),s.add(d))}return s.add(e),o},P=()=>{let e=new URL("./main.ts",import.meta.url),r=e.protocol==="file:"?e.pathname:e.href;return`${S.process.execPath()} run --allow-all ${r}`},R=e=>{if(e==="eser"||e.startsWith("eser ")){let r=e.slice(4);return`${P()}${r}`}return e},$=async(e,r,t)=>{let s=R(e),n=t!==void 0&&t.length>0?`${s} ${t.join(" ")}`:s,c=r??".";return(await new x("sh",["-c",n]).cwd(c).stdout("inherit").stderr("inherit").noThrow().spawn()).code},O=async(e,r,t,s)=>{let n=w({renderer:y.ansi(),sink:g.stdout()}),c=k(e,t);for(let i of c){let d=l(i,t[i]);n.writeln(p(`$ ${i}`));let u=await $(d.command,d.workingDirectory);if(u!==0)return n.writeln(C(`Script dependency "${i}" failed with exit code ${u}`)),await n.close(),f({exitCode:u})}let o=l(e,t[e]);n.writeln(p(`$ ${e}`));let a=await $(o.command,o.workingDirectory,s);return a!==0?(await n.close(),f({exitCode:a})):(await n.close(),h(void 0))},B=e=>{let r=w({renderer:y.ansi(),sink:g.stdout()});r.writeln(m("Scripts:"));for(let[t,s]of Object.entries(e)){let n=l(t,s);r.writeln(m(` ${t.padEnd(20)} `),p(n.description))}r.writeln()};export{$ as executeCommand,l as parseScript,k as resolveDependencies,O as runScript,B as showScripts};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{f as l,h as a,k as i}from"./chunk-
|
|
2
|
+
import{f as l,h as a,k as i}from"./chunk-MBG7SPPO.js";import{k as n}from"./chunk-YVN2NZL4.js";import"./chunk-PWLF3WXM.js";import{a as o}from"./chunk-ZEFYMWGZ.js";import"./chunk-MG65QJY6.js";import{a as t}from"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var v=["trace","debug","info","warn","error","fatal"],P=async m=>{let{flags:e}=o(m??[],[{name:"port",short:"p",type:"number",default:8e3,description:"Server port"},{name:"log-level",type:"string",default:"info",description:"Log level"}]),r=l({renderer:i.ansi(),sink:a.stdout()});r.writeln(n(`
|
|
3
3
|
\u{1F680} Serving production build...
|
|
4
|
-
`));let p=e.port,s=e["log-level"]??"info",u=v.includes(s.toLowerCase())?s.toLowerCase():"info",[{startServer:g},{reactRenderer:c,reactHtmlShellBuilder:d},{reactPlugin:L},{createTailwindPlugin:f}]=await Promise.all([import("./main-
|
|
4
|
+
`));let p=e.port,s=e["log-level"]??"info",u=v.includes(s.toLowerCase())?s.toLowerCase():"info",[{startServer:g},{reactRenderer:c,reactHtmlShellBuilder:d},{reactPlugin:L},{createTailwindPlugin:f}]=await Promise.all([import("./main-BUEG2IMJ.js"),import("./mod-2PIV6QCE.js"),import("./mod-XEK7FROU.js"),import("./mod-RO7WP3SA.js")]);return await r.close(),await g({mode:"serve",port:p,logLevel:u,hmr:!1,renderer:c,htmlShell:d,frameworkPlugin:L,cssPlugin:f({globalCssPath:"src/app/styles/global.css"})}),t(void 0)};export{P as main};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{a as L,b as Y,h as G,i as O,m as K,o as A,p as D}from"./chunk-
|
|
2
|
+
import{a as L,b as Y,h as G,i as O,m as K,o as A,p as D}from"./chunk-QMRKAC6C.js";import{e as F}from"./chunk-5DWJ7WEE.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import{i as f}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import{b as I}from"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";function q(e,s){let a={...e,...s},i=[];a.description&&i.push(`<meta name="description" content="${j(a.description)}">`),a.keywords&&a.keywords.length>0&&i.push(`<meta name="keywords" content="${j(a.keywords.join(", "))}">`),a.author&&i.push(`<meta name="author" content="${j(a.author)}">`),a.themeColor&&i.push(`<meta name="theme-color" content="${a.themeColor}">`);let n=[];return a.noIndex&&n.push("noindex"),a.noFollow&&n.push("nofollow"),n.length>0&&i.push(`<meta name="robots" content="${n.join(", ")}">`),a.canonicalUrl&&i.push(`<link rel="canonical" href="${j(a.canonicalUrl)}">`),i.push(`<meta property="og:type" content="${a.ogType||"website"}">`),i.push(`<meta property="og:title" content="${j(a.title)}">`),a.description&&i.push(`<meta property="og:description" content="${j(a.description)}">`),a.siteUrl&&i.push(`<meta property="og:url" content="${j(a.siteUrl)}">`),a.siteName&&i.push(`<meta property="og:site_name" content="${j(a.siteName)}">`),a.locale&&i.push(`<meta property="og:locale" content="${a.locale}">`),a.ogImage&&(i.push(`<meta property="og:image" content="${j(a.ogImage)}">`),i.push(`<meta property="og:image:alt" content="${j(a.title)}">`)),i.push('<meta name="twitter:card" content="summary_large_image">'),i.push(`<meta name="twitter:title" content="${j(a.title)}">`),a.description&&i.push(`<meta name="twitter:description" content="${j(a.description)}">`),a.twitterHandle&&(i.push(`<meta name="twitter:site" content="${j(a.twitterHandle)}">`),i.push(`<meta name="twitter:creator" content="${j(a.twitterHandle)}">`)),a.ogImage&&i.push(`<meta name="twitter:image" content="${j(a.ogImage)}">`),a.favicon&&i.push(`<link rel="icon" href="${j(a.favicon)}">`),i.join(`
|
|
3
3
|
`)}function M(e,s){let a={...e,...s},i={"@context":"https://schema.org","@type":"WebSite",name:a.siteName,url:a.siteUrl,description:a.description},n={"@context":"https://schema.org","@type":"Organization",name:a.siteName,url:a.siteUrl,logo:a.ogImage},t=[i,n];return a.jsonLd&&t.push({"@context":"https://schema.org",...a.jsonLd}),t.map(p=>`<script type="application/ld+json">${JSON.stringify(p)}</script>`).join(`
|
|
4
4
|
`)}function j(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}var V={title:"laroux.js 3.0",description:"Zero-configuration React Server Components on Deno 2.x. Modern, simple, and built with cutting-edge technology.",siteName:"laroux.js",siteUrl:"https://laroux.now",locale:"en_US",themeColor:"#7c3aed",favicon:"/favicon.svg",twitterHandle:"@eser",ogImage:"https://laroux.now/og-image.png",ogType:"website",keywords:["laroux","open source","community","development","react","server components","server actions","island architecture"],author:"Eser Ozvataf"};function Q(e){let s=e.entrypoint??"/client.js",a=e.chunkManifest?.buildId?`?v=${e.chunkManifest.buildId}`:`?v=${Date.now()}`,i=e.chunkManifest?.hmrEnabled?"":a,n=e.fontPreloads?.join(`
|
|
5
5
|
`)??"",t=e.fontCSS?`<style>${e.fontCSS}</style>`:"",p=e.criticalChunks?.map(v=>`<link rel="modulepreload" href="${v}${a}">`).join(`
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a as T,d as O}from"./chunk-V3NJTF2Y.js";import{b as z,m as U}from"./chunk-6SSSHLEY.js";import{c as g,d as x,g as P,h as I,i as L,j as N,k as A,s as R}from"./chunk-OM5GSS2H.js";import{b as v,c as E}from"./chunk-MPGRKZIA.js";import"./chunk-2XNFZXHY.js";import{f as $,h as y,k as D}from"./chunk-MBG7SPPO.js";import{c as l,d as c,f as m,g as S,h as b,k}from"./chunk-YVN2NZL4.js";import{a as f,b as h}from"./chunk-FFWPJP7A.js";import{i as u}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var _=async n=>{let e=n?.[0];if(e==="new")return await G(n?.slice(1));if(e==="list")return await X(n?.slice(1));if(e==="switch")return await B(n?.slice(1));let t=v(),r=$({renderer:D.ansi(),sink:y.stdout()});return r.writeln(`Usage: ${t} spec <new "description" | list | switch <name>>`),await r.close(),f(void 0)},G=async n=>{let e=$({renderer:D.ansi(),sink:y.stdout()}),t=u.process.cwd();if(!await R(t))return e.writeln(m("noskills is not initialized.")," Run: ",l(E("init"))),await e.close(),h({exitCode:1});let r=null,i=[];if(n!==void 0)for(let w of n)w.startsWith("--name=")?r=w.slice(7):w.startsWith("-")||i.push(w);let p=i.join(" ");if(p.length===0)return e.writeln(m("Please provide a description: "),l(`${v()} spec new "photo auto-listing"`)),await e.close(),h({exitCode:1});let o=r??M(p),a=await W(t,o),d=`spec/${a}`,s=await x(t);if(s.phase!=="IDLE"&&s.phase!=="COMPLETED")return e.writeln(m(`Cannot start new spec in phase: ${s.phase}`),c(" \u2014 finish or reset the current spec first.")),await e.close(),h({exitCode:1});let C=z(s.phase==="COMPLETED"?U(s):s,a,d);return await u.fs.mkdir(`${t}/${g.specDir(a)}`,{recursive:!0}),await P(t,C),await N(t,a,C),e.writeln(S("\u2714")," Spec started: ",l(a)),e.writeln(" Directory: ",c(g.specDir(a))),e.writeln(" Branch: ",c(d)),e.writeln(" Phase: ",b("DISCOVERY")),e.writeln(""),e.writeln("Run ",l(E("next"))," to begin discovery questions."),await e.close(),f(void 0)},M=n=>n.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,50).replace(/-$/,""),W=async(n,e)=>{let t=`${n}/${g.specsDir}`,r=async i=>{try{return await u.fs.stat(`${t}/${i}`),!0}catch{return!1}};if(!await r(e))return e;for(let i=2;i<=99;i++){let p=`${e}-${i}`;if(!await r(p))return p}return`${e}-${Date.now()}`},X=async n=>{let e=u.process.cwd(),t=T(n),r=await I(e),i=await A(e),p=`${e}/${g.specsDir}`,o=new Set(i.map(s=>s.name)),a=[];for(let s of i)a.push({name:s.name,phase:s.state.phase,iteration:s.state.execution.iteration,active:s.name===r});try{for await(let s of u.fs.readDir(p))s.isDirectory&&!o.has(s.name)&&a.push({name:s.name,phase:"IDLE",iteration:0,active:s.name===r})}catch{}if(t==="json")return await O(a,"json"),f(void 0);let d=$({renderer:D.ansi(),sink:y.stdout()});if(d.writeln(l("Specs")),d.writeln(""),a.length===0)d.writeln(c(" No specs yet."));else for(let s of a){let C=s.active?S("\u25CF"):c("\u25CB"),w=s.active?l(s.name):c(s.name),j=s.phase==="COMPLETED"?S(s.phase):s.phase==="EXECUTING"?k(s.phase):s.phase==="BLOCKED"?m(s.phase):b(s.phase),F=s.phase==="EXECUTING"?c(` iteration ${s.iteration}`):"";d.writeln(" ",C," ",w," ",j,F)}return await d.close(),f(void 0)},B=async n=>{let e=$({renderer:D.ansi(),sink:y.stdout()}),t=u.process.cwd(),r=n?.[0];if(r===void 0||r.length===0)return e.writeln(m("Please provide a spec name: "),l(`${v()} spec switch my-feature`)),await e.close(),h({exitCode:1});let i=await I(t),p=await x(t);i!==null&&p.spec!==null&&await N(t,i,p);let o=await L(t,r),a=await u.fs.stat(`${t}/${g.specDir(r)}`).then(()=>!0).catch(()=>!1);return o.phase==="IDLE"&&!a?(e.writeln(m(`Spec "${r}" not found.`)),e.writeln(c(`Run \`${E("spec list")}\` to see available specs.`)),await e.close(),h({exitCode:1})):(await P(t,o),e.writeln(S("\u2714")," Switched to: ",l(r)," (",k(o.phase),")"),o.phase==="EXECUTING"&&(e.writeln(c(` Iteration: ${o.execution.iteration}`)),o.execution.lastProgress!==null&&e.writeln(c(` Progress: ${o.execution.lastProgress}`))),await e.close(),f(void 0))};export{_ as main};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a as f,d as R}from"./chunk-3PBNSBPA.js";import"./chunk-OCPEFZBJ.js";import{a as S}from"./chunk-H7FWYKMD.js";import{a as k,d as w}from"./chunk-V3NJTF2Y.js";import{e as y,f as I,l as D,p as O,s as P}from"./chunk-OM5GSS2H.js";import{c as h}from"./chunk-MPGRKZIA.js";import"./chunk-2XNFZXHY.js";import{f as d,h as m,k as u}from"./chunk-MBG7SPPO.js";import{c as i,d as r,f as c,g as b,h as p,k as x}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 K=async g=>{let n=C.process.cwd(),o=k(g);if(!await P(n)){if(o==="json")await w({error:"noskills is not initialized"},o);else{let s=d({renderer:u.ansi(),sink:m.stdout()});s.writeln(c("noskills is not initialized.")," Run: ",i(h("init"))),await s.close()}return E({exitCode:1})}let v=I(g),e=await y(n,v),t=await D(n),V={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:t?.concerns??[],tools:t?.tools??[],decisions:e.decisions.length};if(o==="json"){let a=(await O(n)).filter(j=>t!==null&&t.concerns.includes(j.id)),T=await S(n),$=R(e,a,T,t);return await w({...V,...$},"json"),l(void 0)}{let s=d({renderer:u.ansi(),sink:m.stdout()});s.writeln(i(`${h("status")}`)),s.writeln("");let a=e.phase==="COMPLETED"?b(e.phase):e.phase==="BLOCKED"?c(e.phase):e.phase==="EXECUTING"?x(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`))),t!==null&&(s.writeln(""),t.concerns.length>0&&s.writeln(" Concerns: ",r(t.concerns.join(", "))),t.tools.length>0&&s.writeln(" Tools: ",r(t.tools.join(", ")))),e.decisions.length>0&&(s.writeln(""),s.writeln(` Decisions: ${e.decisions.length}`)),await s.close()}return l(void 0)};export{K as main};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{b as w}from"./chunk-
|
|
2
|
+
import{b as w}from"./chunk-H7FWYKMD.js";import{l as u}from"./chunk-OM5GSS2H.js";import{c as g}from"./chunk-MPGRKZIA.js";import"./chunk-2XNFZXHY.js";import{f as p,h as d,k as f}from"./chunk-MBG7SPPO.js";import{c as m,d as r,f as c,g as n}from"./chunk-YVN2NZL4.js";import{a as o,b as a}from"./chunk-FFWPJP7A.js";import{i as l}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var v=async h=>{let s=p({renderer:f.ansi(),sink:d.stdout()}),t=l.process.cwd(),e=await u(t);if(e===null)return s.writeln(c("noskills is not initialized.")," Run: ",m(g("init"))),await s.close(),a({exitCode:1});s.writeln(r("Syncing tool files..."));let i=await w(t,e.tools,e);for(let y of i)s.writeln(" ",n("\u2714"),` ${y}`);return i.length===0&&s.writeln(r(" No tools configured.")),s.writeln(""),s.writeln(n("Done.")),await s.close(),o(void 0)};export{v as main};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{a as e,b as s,c as o,d as l,e as r,f as a,g as t}from"./chunk-
|
|
2
|
+
import{a as e,b as s,c as o,d as l,e as r,f as a,g as t}from"./chunk-5Y5VGPYR.js";import"./chunk-EXP2TZZC.js";import"./chunk-J2Z7NG2X.js";import"./chunk-MBG7SPPO.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-DRCKMHUI.js";import"./chunk-PWLF3WXM.js";import{b as n}from"./chunk-ZEFYMWGZ.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var d=new n("system").description("Commands related with this CLI").command(new n("install").description("Install eser CLI globally").run(e)).command(new n("uninstall").description("Uninstall eser CLI globally").run(s)).command(new n("update").description("Update eser CLI to the latest version").run(o)).command(new n("completions").description("Generate shell completion scripts").flag({name:"shell",type:"string",description:"Shell type: bash, zsh, or fish"}).run(l)).command(new n("version").description("Show version and check for updates").flag({name:"bare",type:"boolean",description:"Print version number only"}).run(r)).command(new n("doctor").description("Run diagnostic checks").run(a)).command(new n("info").description("Show runtime and execution context diagnostics").run(t));export{d as systemCommand};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{c as a,d as b,e as c,f as d}from"./chunk-
|
|
2
|
+
import{c as a,d as b,e as c,f as d}from"./chunk-H6HLRKRK.js";import"./chunk-V6YI7YJ4.js";import"./chunk-VVWAUS3D.js";import"./chunk-LSET5TD3.js";import"./chunk-VNJJQED3.js";import"./chunk-GTHXGAMQ.js";import"./chunk-3XJLLDR5.js";import"./chunk-P7WCO724.js";import"./chunk-2XNFZXHY.js";import"./chunk-NBA6EFWU.js";import"./chunk-5DWJ7WEE.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-7ATUODBM.js";import"./chunk-AP72BKVG.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{b as build,a as createBuildContext,c as ensureBuildIsReady,d as watch};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{e as U}from"./chunk-
|
|
2
|
+
import{e as U}from"./chunk-BNMKKNLB.js";import{a as R,d as w}from"./chunk-P2MUEKFT.js";import{k}from"./chunk-GKOMIH2B.js";import{f as y,h as g,k as f}from"./chunk-MBG7SPPO.js";import{g as m,k as l}from"./chunk-YVN2NZL4.js";import{a as u}from"./chunk-MG65QJY6.js";import{a as o,b as n,c}from"./chunk-FFWPJP7A.js";import{i as d}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var b=r=>R(async s=>{try{let t=await k(r.registrySource,{verbose:r.verbose,local:r.local}),e=t.recipes.find(p=>p.name===r.recipeName);if(e===void 0)return n({_tag:"RecipeNotFound",message:`Recipe '${r.recipeName}' not found. Run \`eser kit list\` to see available recipes.`});let a=await U(e,{cwd:r.cwd,registryUrl:t.registryUrl,force:!0,dryRun:r.dryRun,verbose:r.verbose}),i=r.dryRun?"Would update":"Updated";s.out.writeln(m(`\u2713 ${i} ${a.written.length} file(s) from ${e.name}`));for(let p of a.written)s.out.writeln(` \u2192 ${p}`);return o({recipe:e,result:a})}catch(t){let e=t instanceof Error?t.message:String(t);return n({_tag:"ApplyError",message:e})}});var S=async r=>{let s=u(r??[],{string:["registry"],boolean:["dry-run","verbose","local"]}),t=s._[0],e=y({renderer:f.ansi(),sink:g.stdout()});if(t===void 0)return e.writeln("Usage: eser kit update <recipe> [--registry <url>] [--dry-run]"),e.writeln(),e.writeln("Re-fetches and re-applies a recipe, overwriting existing files."),await e.close(),o(void 0);let a=s["dry-run"]===!0;a?e.writeln(l(`
|
|
3
3
|
Dry run: updating ${t}
|
|
4
4
|
`)):e.writeln(l(`
|
|
5
5
|
Updating ${t}...
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-IWXI3UYI.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-RIOYVPPP.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-4COCZPO5.js";import"./chunk-IQQEVKBP.js";import"./chunk-VNJJQED3.js";import"./chunk-GTHXGAMQ.js";import"./chunk-3XJLLDR5.js";import"./chunk-P7WCO724.js";import"./chunk-2XNFZXHY.js";import"./chunk-LFNUSULJ.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-P2MUEKFT.js";import"./chunk-MBG7SPPO.js";import"./chunk-YVN2NZL4.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{a as checkCircularDeps,b as checkCircularDepsHandler,c as handleCli,d as main};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b}from"./chunk-4EJVA4QA.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{b as main,a as validateCommitMsg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-3U5M6YO6.js";import"./chunk-IQQEVKBP.js";import"./chunk-VNJJQED3.js";import"./chunk-GTHXGAMQ.js";import"./chunk-3XJLLDR5.js";import"./chunk-P7WCO724.js";import"./chunk-2XNFZXHY.js";import"./chunk-LFNUSULJ.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-P2MUEKFT.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{a as checkDocs,b as checkDocsHandler,c as handleCli,d as main};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-H5GHXMIT.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-KZAPWWOT.js";import"./chunk-IQQEVKBP.js";import"./chunk-VNJJQED3.js";import"./chunk-GTHXGAMQ.js";import"./chunk-3XJLLDR5.js";import"./chunk-P7WCO724.js";import"./chunk-2XNFZXHY.js";import"./chunk-LFNUSULJ.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-P2MUEKFT.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{a as checkExportNames,b as checkExportNamesHandler,c as handleCli,d as main};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-2OKCK56H.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-2BEIAJ5J.js";import"./chunk-3XJLLDR5.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-3LDGQFQZ.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-TELZ2ZFI.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-LYKN5EIM.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-WPOZMPUR.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-RFHWH6ZX.js";import"./chunk-IQQEVKBP.js";import"./chunk-VNJJQED3.js";import"./chunk-GTHXGAMQ.js";import"./chunk-3XJLLDR5.js";import"./chunk-P7WCO724.js";import"./chunk-2XNFZXHY.js";import"./chunk-LFNUSULJ.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-P2MUEKFT.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{a as checkModExports,b as checkModExportsHandler,c as handleCli,d as main};
|
package/chunks/{validate-package-configs-3Y55ZLUY.js → validate-package-configs-ZO5YJE2D.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{a,b,c,d}from"./chunk-
|
|
2
|
+
import{a,b,c,d}from"./chunk-WWI6727S.js";import"./chunk-VNJJQED3.js";import"./chunk-GTHXGAMQ.js";import"./chunk-3XJLLDR5.js";import"./chunk-P7WCO724.js";import"./chunk-2XNFZXHY.js";import"./chunk-LFNUSULJ.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-S7S2I2K5.js";import"./chunk-P2MUEKFT.js";import"./chunk-MBG7SPPO.js";import"./chunk-YVN2NZL4.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{a as checkPackageConfigs,b as checkPackageConfigsHandler,c as handleCli,d as main};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-SK6QUPJR.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-BSV66I74.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-YJ3ICGHV.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-SMKZDN2Q.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-Z2LXZLZV.js";import"./chunk-P7WCO724.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-QYMHLTVT.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-E423U2PP.js";import"./chunk-UQRZJPYH.js";import"./chunk-CXTPYPO4.js";import"./chunk-2XNFZXHY.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-5MVJUALI.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{d as main,b as run,a as tool,c as validator};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d,e,f}from"./chunk-IBB6UZR2.js";import"./chunk-VNJJQED3.js";import"./chunk-GTHXGAMQ.js";import"./chunk-3XJLLDR5.js";import"./chunk-P7WCO724.js";import"./chunk-2XNFZXHY.js";import"./chunk-LFNUSULJ.js";import"./chunk-L7RS6MQ5.js";import"./chunk-JZ7DUWYC.js";import"./chunk-WF6JNPZS.js";import"./chunk-VAIRJES2.js";import"./chunk-J2Z7NG2X.js";import"./chunk-S7S2I2K5.js";import"./chunk-NBA6EFWU.js";import"./chunk-P2MUEKFT.js";import"./chunk-MBG7SPPO.js";import"./chunk-7DPLGQHN.js";import"./chunk-YVN2NZL4.js";import"./chunk-MG65QJY6.js";import"./chunk-FFWPJP7A.js";import"./chunk-2BOCLC67.js";import"./chunk-7ATUODBM.js";import"./chunk-N7DXBY3O.js";import"./chunk-AP72BKVG.js";import"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";export{e as handleCli,f as main,a as readVersionFile,b as showVersions,c as versions,d as versionsHandler};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a as C,c as E}from"./chunk-V3NJTF2Y.js";import{a as M,c as S}from"./chunk-TYLYMZQC.js";import{d as T,l as y,s as b}from"./chunk-OM5GSS2H.js";import"./chunk-2XNFZXHY.js";import{a as x,b as k}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 D=async e=>{let s=await T(e),l=await y(e),d=await L(e),o=null,h=null,a=0,c=0;if(s.spec!==null){let i=await M(e,s.spec);if(i!==null){a=i.tasks.length,c=s.execution.completedTasks.length;let n=S(i.tasks,s.execution.completedTasks);n!==null&&(o=n.id,h=n.title)}}let $=null;return s.lastCalledAt!==null&&($=Math.floor((Date.now()-new Date(s.lastCalledAt).getTime())/1e3)),{spec:s.spec,phase:s.phase,iteration:s.execution.iteration,activeTaskId:o,activeTaskTitle:h,totalTasks:a,completedTaskCount:c,lastProgress:s.execution.lastProgress,lastCalledAt:s.lastCalledAt,modifiedFiles:s.execution.modifiedFiles,debt:s.execution.debt,concerns:l?.concerns??[],maxIterations:l?.maxIterationsBeforeRestart??15,awaitingStatusReport:s.execution.awaitingStatusReport,verificationPassed:s.execution.lastVerification?.passed??null,decisionsCount:s.decisions.length,discoveryAnswered:s.discovery.answers.length,discoveryTotal:6,trackedFiles:d,timeSinceUpdate:$}},L=async e=>{let s=`${e}/.eser/.state/files-changed.jsonl`;try{let d=(await m.fs.readTextFile(s)).trim().split(`
|
|
3
|
+
`).filter(Boolean),o=[];for(let h of d)try{let a=JSON.parse(h);o.includes(a.file)||o.push(a.file)}catch{}return o}catch{return[]}},I="\x1B[2J\x1B[H",F="\x1B[1m",r="\x1B[2m",t="\x1B[0m",p="\x1B[32m",f="\x1B[33m",w="\x1B[31m",v="\x1B[36m",O=e=>{switch(e){case"COMPLETED":return p;case"BLOCKED":return w;case"EXECUTING":return v;default:return f}},R=(e,s,l)=>{if(s===0)return"\u2591".repeat(l);let d=Math.min(e/s,1),o=Math.round(d*l);return"\u2588".repeat(o)+"\u2591".repeat(l-o)},P=e=>e===null?"never":e<60?`${e}s ago`:e<3600?`${Math.floor(e/60)}m ago`:`${Math.floor(e/3600)}h ago`,A=e=>{let s=[],d="\u2500".repeat(52);s.push(`${r}\u256D${d}\u256E${t}`),s.push(`${r}\u2502${t} ${F}noskills watch${t} \u2014 ${e.spec??"no active spec"}${r}${" ".repeat(Math.max(0,34-(e.spec?.length??15)))}\u2502${t}`);let o=O(e.phase);if(s.push(`${r}\u2502${t} Phase: ${o}${e.phase}${t}${" ".repeat(Math.max(0,42-e.phase.length))}${r}\u2502${t}`),e.phase==="DISCOVERY"||e.phase==="DISCOVERY_REVIEW")s.push(`${r}\u2502${t} Discovery: ${e.discoveryAnswered}/${e.discoveryTotal} questions answered${" ".repeat(Math.max(0,14))}${r}\u2502${t}`);else if(e.phase==="SPEC_DRAFT")s.push(`${r}\u2502${t} ${f}Awaiting approval${t}${" ".repeat(Math.max(0,33))}${r}\u2502${t}`);else if(e.phase==="EXECUTING"||e.phase==="BLOCKED"){let a=R(e.completedTaskCount,e.totalTasks,12),c=e.totalTasks>0?Math.round(e.completedTaskCount/e.totalTasks*100):0,$=`${a} ${e.completedTaskCount}/${e.totalTasks} tasks (${c}%)`;if(s.push(`${r}\u2502${t} Progress: ${p}${$}${t}${" ".repeat(Math.max(0,40-$.length))}${r}\u2502${t}`),s.push(`${r}\u2502${t} Iteration: ${e.iteration}${" ".repeat(Math.max(0,38-String(e.iteration).length))}${r}\u2502${t}`),e.activeTaskId!==null){let n=`${e.activeTaskId}${e.activeTaskTitle!==null?` (${e.activeTaskTitle})`:""}`.slice(0,36);s.push(`${r}\u2502${t} Active task: ${v}${n}${t}${" ".repeat(Math.max(0,36-n.length))}${r}\u2502${t}`)}if(e.phase==="BLOCKED"){let i=(e.lastProgress??"unknown").replace(/^BLOCKED:\s*/,"");s.push(`${r}\u2502${t} ${w}BLOCKED: ${i.slice(0,40)}${t}${" ".repeat(Math.max(0,40-i.slice(0,40).length))}${r}\u2502${t}`),s.push(`${r}\u2502${t} ${f}Human input needed${t}${" ".repeat(Math.max(0,32))}${r}\u2502${t}`)}}else e.phase==="COMPLETED"&&s.push(`${r}\u2502${t} ${p}Complete!${t} ${e.iteration} iterations, ${e.decisionsCount} decisions${" ".repeat(Math.max(0,17-String(e.iteration).length-String(e.decisionsCount).length))}${r}\u2502${t}`);if(s.push(`${r}\u2502${"".padEnd(52)}\u2502${t}`),s.push(`${r}\u2502${t} Last update: ${P(e.timeSinceUpdate)}${" ".repeat(Math.max(0,36-P(e.timeSinceUpdate).length))}${r}\u2502${t}`),e.lastProgress!==null){let a=e.lastProgress.slice(0,48);s.push(`${r}\u2502${t} ${r}${a}${t}${" ".repeat(Math.max(0,50-a.length))}${r}\u2502${t}`)}if(e.awaitingStatusReport&&s.push(`${r}\u2502${t} ${f}Status report pending${t}${" ".repeat(Math.max(0,29))}${r}\u2502${t}`),e.verificationPassed===!1&&s.push(`${r}\u2502${t} ${w}Verification failed${t}${" ".repeat(Math.max(0,31))}${r}\u2502${t}`),s.push(`${r}\u2502${"".padEnd(52)}\u2502${t}`),e.debt!==null&&e.debt.items.length>0){s.push(`${r}\u2502${t} Debt: ${e.debt.items.length} item(s)${" ".repeat(Math.max(0,34))}${r}\u2502${t}`);for(let a of e.debt.items.slice(0,3)){let c=a.text.slice(0,44);s.push(`${r}\u2502${t} \u2514\u2500 ${c}${" ".repeat(Math.max(0,46-c.length))}${r}\u2502${t}`)}e.debt.items.length>3&&s.push(`${r}\u2502${t} \u2514\u2500 ... and ${e.debt.items.length-3} more${" ".repeat(Math.max(0,32))}${r}\u2502${t}`)}if(e.trackedFiles.length>0||e.modifiedFiles.length>0){let a=e.trackedFiles.length>0?e.trackedFiles:e.modifiedFiles;s.push(`${r}\u2502${t} Files changed: ${a.length}${" ".repeat(Math.max(0,34-String(a.length).length))}${r}\u2502${t}`);for(let c of a.slice(0,5)){let $=c.length>44?"..."+c.slice(-41):c;s.push(`${r}\u2502${t} \u2514\u2500 ${$}${" ".repeat(Math.max(0,46-$.length))}${r}\u2502${t}`)}a.length>5&&s.push(`${r}\u2502${t} \u2514\u2500 ... and ${a.length-5} more${" ".repeat(Math.max(0,32))}${r}\u2502${t}`)}if(s.push(`${r}\u2502${"".padEnd(52)}\u2502${t}`),e.concerns.length>0){let a=e.concerns.join(", ").slice(0,38);s.push(`${r}\u2502${t} Concerns: ${a}${" ".repeat(Math.max(0,40-a.length))}${r}\u2502${t}`)}let h=e.iteration>=e.maxIterations?`${w}RESTART RECOMMENDED${t}`:`${p}ok${t} (${e.iteration}/${e.maxIterations})`;return s.push(`${r}\u2502${t} Context: ${h}${" ".repeat(Math.max(0,41-h.replace(/\x1b\[[0-9;]*m/g,"").length))}${r}\u2502${t}`),s.push(`${r}\u2570${d}\u256F${t}`),s.push(` ${r}watching .eser/.state/ for changes... (ctrl+c to stop)${t}`),s.join(`
|
|
4
|
+
`)},W=e=>JSON.stringify({ts:new Date().toISOString(),phase:e.phase,spec:e.spec,iteration:e.iteration,activeTask:e.activeTaskId,tasks:{completed:e.completedTaskCount,total:e.totalTasks},progress:e.lastProgress,debt:e.debt?.items.length??0,filesChanged:e.trackedFiles.length>0?e.trackedFiles:e.modifiedFiles,timeSinceUpdate:e.timeSinceUpdate,verificationPassed:e.verificationPassed}),V=async e=>{let s=m.process.cwd(),l=C(e);if(!await b(s)){let i=new TextEncoder,n=m.process.stdout.getWriter();return await n.write(i.encode(`noskills not initialized.
|
|
5
|
+
`)),n.releaseLock(),k({exitCode:1})}let d=`${s}/.eser/.state`,o="",h=async()=>{let i=await D(s),n=l==="json"?W(i):l==="markdown"?E(i,"markdown"):A(i);if(l==="json"){let g=new TextEncoder,u=m.process.stdout.getWriter();await u.write(g.encode(n+`
|
|
6
|
+
`)),u.releaseLock()}else if(l==="markdown"){let g=new TextEncoder,u=m.process.stdout.getWriter();await u.write(g.encode(n+`
|
|
7
|
+
---
|
|
8
|
+
`)),u.releaseLock()}else if(n!==o){let g=new TextEncoder,u=m.process.stdout.getWriter();await u.write(g.encode(I+n+`
|
|
9
|
+
`)),u.releaseLock(),o=n}return i.phase==="COMPLETED"};if(await h())return x(void 0);let c=1e3,$=0;for(;;){await new Promise(i=>setTimeout(i,c));try{let n=(await m.fs.stat(`${d}/state.json`)).mtime?.getTime()??0;if(n>$&&($=n,await new Promise(u=>setTimeout(u,100)),await h()))break}catch{}}return x(void 0)};export{D as buildSnapshot,V as main,W as renderJsonLine,A as renderTerminal};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
+
import{a as A,d as C}from"./chunk-OEUVCV5C.js";import{k}from"./chunk-6SSSHLEY.js";import{c as h,e as x,f as g,g as S}from"./chunk-OM5GSS2H.js";import"./chunk-2XNFZXHY.js";import{f as d,h as u,k as w}from"./chunk-MBG7SPPO.js";import{d as m,f as i,g as f}from"./chunk-YVN2NZL4.js";import{a as l,b as a}from"./chunk-FFWPJP7A.js";import{i as p}from"./chunk-6VHZQNHX.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var F=async c=>{let e=d({renderer:w.ansi(),sink:u.stdout()}),t=p.process.cwd(),D=g(c),n=(c??[]).filter(o=>!o.startsWith("--spec=")).join(" ");if(n.length===0)return e.writeln(i('A reason is required: noskills wontfix "reason text"')),await e.close(),a({exitCode:1});let s=await x(t,D);if(s.phase==="IDLE"||s.phase==="UNINITIALIZED"||s.phase==="COMPLETED")return e.writeln(i(`Cannot mark as won't fix in phase: ${s.phase}`)),await e.close(),a({exitCode:1});if(s.spec!==null){let o=`${t}/${h.specDir(s.spec)}`;try{await p.fs.stat(o)}catch{return e.writeln(i(`Active spec '${s.spec}' directory not found.`)),e.writeln(m("Run `noskills reset` to return to IDLE.")),await e.close(),a({exitCode:1})}}let r=k(s,"wontfix",n);return await S(t,r),r.spec!==null&&(await A(t,r.spec,"wontfix"),await C(t,r.spec,"wontfix")),e.writeln(f("\u2714"),` Spec marked as won't fix: ${n}`),await e.close(),l(void 0)};export{F as main};
|
package/eser.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
3
|
-
import{a as u}from"./chunks/chunk-5RX5V5BA.js";import{a as m}from"./chunks/chunk-5224ZYEW.js";import"./chunks/chunk-PWLF3WXM.js";import{a as o}from"./chunks/chunk-QFFGKP3M.js";import{b as a}from"./chunks/chunk-QXATB6Z5.js";import"./chunks/chunk-MG65QJY6.js";import{b as d,e as c}from"./chunks/chunk-FFWPJP7A.js";import{i as p}from"./chunks/chunk-WJKE6XHF.js";import"./chunks/chunk-6E6JUBFH.js";import"./chunks/chunk-BQT5RJZB.js";import"./chunks/chunk-5WJ6AUNY.js";var g=new o({description:"Kit \u2014 recipes, templates, project creation",modules:{add:{description:"Add a recipe to your project",category:"Distribution",load:()=>import("./chunks/add-V7YYHLFH.js")},list:{description:"Browse available recipes and templates",category:"Distribution",load:()=>import("./chunks/list-BOLPKAEY.js")},new:{description:"Create a new project from a template",category:"Distribution",load:()=>import("./chunks/new-U5U4E6HR.js")},clone:{description:"Clone a recipe from any GitHub repo",category:"Distribution",load:()=>import("./chunks/clone-YEBQK7CG.js")},update:{description:"Re-fetch and update an applied recipe",category:"Distribution",load:()=>import("./chunks/update-522VXIKX.js")}},aliases:{create:"new"}});var f=new o({description:"Codebase management tools",modules:{scaffolding:{description:"Initialize project from template",category:"Setup",load:()=>import("./chunks/mod-GSWVSC2C.js")},install:{description:"Install git hooks from .eser/manifest.yml",category:"Setup",load:()=>import("./chunks/install-6XIQS5E7.js")},uninstall:{description:"Remove managed git hooks",category:"Setup",load:async()=>({main:(await import("./chunks/install-6XIQS5E7.js")).uninstallMain})},status:{description:"Show git hook installation status",category:"Setup",load:async()=>({main:(await import("./chunks/install-6XIQS5E7.js")).statusMain})},commitmsg:{description:"Generate commit message from git diff",category:"AI",load:()=>import("./chunks/commitmsg-FQ3IZ3TH.js")},gh:{description:"GitHub operations (contributors, releases, tags)",category:"GitHub",load:()=>import("./chunks/gh-Q7VEABJS.js")},versions:{description:"Manage workspace package versions",category:"Release",load:()=>import("./chunks/versions-FYALONNL.js")},"changelog-gen":{description:"Generate CHANGELOG from commits",category:"Release",load:()=>import("./chunks/changelog-gen-JV3EHOMV.js")},release:{description:"Create a release (bump, changelog, commit, push)",category:"Release",load:()=>import("./chunks/release-UEX6YK4K.js")},rerelease:{description:"Delete and recreate the current version tag",category:"Release",load:async()=>({main:(await import("./chunks/release-UEX6YK4K.js")).rereleaseMain})},unrelease:{description:"Delete the current version tag",category:"Release",load:async()=>({main:(await import("./chunks/release-UEX6YK4K.js")).unreleaseMain})},"validate-eof":{description:"Ensure files end with newline",category:"Validation",load:()=>import("./chunks/validate-eof-KRYQLTFQ.js")},"validate-trailing-whitespace":{description:"Remove trailing whitespace",category:"Validation",load:()=>import("./chunks/validate-trailing-whitespace-QYWHHIAK.js")},"validate-bom":{description:"Remove UTF-8 byte order markers",category:"Validation",load:()=>import("./chunks/validate-bom-JCMRVAUT.js")},"validate-line-endings":{description:"Normalize line endings to LF",category:"Validation",load:()=>import("./chunks/validate-line-endings-2DM5UGCJ.js")},"validate-large-files":{description:"Detect files exceeding size limit",category:"Validation",load:()=>import("./chunks/validate-large-files-7YX6MSOB.js")},"validate-case-conflict":{description:"Detect case-conflicting filenames",category:"Validation",load:()=>import("./chunks/validate-case-conflict-WZQCMKSZ.js")},"validate-merge-conflict":{description:"Detect merge conflict markers",category:"Validation",load:()=>import("./chunks/validate-merge-conflict-UDMWYMJ5.js")},"validate-json":{description:"Validate JSON syntax",category:"Validation",load:()=>import("./chunks/validate-json-3EZ2L64H.js")},"validate-toml":{description:"Validate TOML syntax",category:"Validation",load:()=>import("./chunks/validate-toml-5K2XNHAE.js")},"validate-yaml":{description:"Validate YAML syntax",category:"Validation",load:()=>import("./chunks/validate-yaml-VGKLHEAQ.js")},"validate-symlinks":{description:"Detect broken symlinks",category:"Validation",load:()=>import("./chunks/validate-symlinks-QN744GUH.js")},"validate-shebangs":{description:"Validate shebang consistency",category:"Validation",load:()=>import("./chunks/validate-shebangs-AMEAHVLB.js")},"validate-secrets":{description:"Detect credentials and private keys",category:"Validation",load:()=>import("./chunks/validate-secrets-66VXCCUF.js")},"validate-filenames":{description:"Enforce filename conventions",category:"Validation",load:()=>import("./chunks/validate-filenames-46O7FCXF.js")},"validate-submodules":{description:"Detect git submodules",category:"Validation",load:()=>import("./chunks/validate-submodules-DYCE27WK.js")},"validate-commit-msg":{description:"Validate conventional commit format",category:"Validation",load:()=>import("./chunks/validate-commit-msg-PH7Y3JEI.js")},"validate-docs":{description:"Validate JSDoc documentation",category:"Validation",load:()=>import("./chunks/validate-docs-WCIOHNYP.js")},"validate-circular-deps":{description:"Detect circular dependencies",category:"Validation",load:()=>import("./chunks/validate-circular-deps-7R4F2YDV.js")},"validate-export-names":{description:"Validate export naming conventions",category:"Validation",load:()=>import("./chunks/validate-export-names-OCQ2XSY6.js")},"validate-licenses":{description:"Validate license headers",category:"Validation",load:()=>import("./chunks/validate-licenses-OC7JRVAH.js")},"validate-mod-exports":{description:"Validate mod.ts export coverage",category:"Validation",load:()=>import("./chunks/validate-mod-exports-W24IV367.js")},"validate-package-configs":{description:"Validate package configurations",category:"Validation",load:()=>import("./chunks/validate-package-configs-3Y55ZLUY.js")}},aliases:{init:"scaffolding"}});var l=e=>new o({description:"Workflow engine \u2014 run tool pipelines",modules:{run:{description:"Run workflows by event or id",load:async()=>{let t=await import("./chunks/run-L35K3KRF.js");return{main:r=>t.main(r,{tools:e??[]})}}},list:{description:"List available workflows and tools",load:async()=>{let t=await import("./chunks/list-NYLFIF2U.js");return{main:r=>t.main(r,{tools:e??[]})}}}}}),R=l();var y=new o({description:"noskills \u2014 state-machine orchestrator for AI agents",modules:{init:{description:"Initialize noskills in project",load:()=>import("./chunks/init-45ODFAV3.js")},status:{description:"Show current state",load:()=>import("./chunks/status-MLX4O37A.js")},spec:{description:"Manage specs (new, list)",load:()=>import("./chunks/spec-KMKZDLV2.js")},next:{description:"Get next instruction for agent",load:()=>import("./chunks/next-AQ4TIEL7.js")},approve:{description:"Approve phase transition",load:()=>import("./chunks/approve-HVIH2A3C.js")},block:{description:"Mark spec as blocked",load:()=>import("./chunks/block-JSK5CJPO.js")},reset:{description:"Reset current spec state",load:()=>import("./chunks/reset-WHYTPTFB.js")},done:{description:"Mark spec execution as complete",load:()=>import("./chunks/done-GGPPHJW2.js")},concern:{description:"Manage concerns (add, remove, list)",load:()=>import("./chunks/concern-TIGYH5DX.js")},run:{description:"Autonomous execution loop (Ralph loop)",load:()=>import("./chunks/run-IX74MQTI.js")},watch:{description:"Live dashboard for monitoring agent progress",load:()=>import("./chunks/watch-P56QT3Q2.js")},sync:{description:"Regenerate tool-specific files",load:()=>import("./chunks/sync-PB4KWB3R.js")},purge:{description:"Remove all noskills content (specs, rules, concerns, hooks)",load:()=>import("./chunks/purge-RM6OD5PV.js")},"invoke-hook":{description:"Internal hook handlers (called by agents)",load:()=>import("./chunks/invoke-hook-Q3NMJXDO.js")},rule:{description:"Manage rules (add, list, promote)",load:()=>import("./chunks/rule-ZQOGLQQI.js")}}});var w=new o({description:"laroux.js framework commands",modules:{init:{description:"Create a new laroux.js project",load:()=>import("./chunks/init-RV7K5JC4.js"),flags:[{name:"template",short:"t",type:"string",description:"Project template (minimal, blog, dashboard, docs)",default:"minimal"},{name:"force",short:"f",type:"boolean",description:"Overwrite existing files"},{name:"no-git",type:"boolean",description:"Skip git initialization"},{name:"no-install",type:"boolean",description:"Skip dependency installation"}]},dev:{description:"Start development server with hot reload",load:()=>import("./chunks/dev-BNGJJR2O.js"),flags:[{name:"port",short:"p",type:"number",description:"Server port",default:8e3},{name:"no-hmr",type:"boolean",description:"Disable hot module replacement"},{name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"},{name:"open",short:"o",type:"boolean",description:"Open browser automatically"}]},build:{description:"Build for production",load:()=>import("./chunks/build-HUKFUVPB.js"),flags:[{name:"out-dir",type:"string",description:"Output directory",default:"dist"},{name:"clean",type:"boolean",description:"Clean output directory first"},{name:"no-minify",type:"boolean",description:"Disable minification"},{name:"analyze",type:"boolean",description:"Analyze bundle size"},{name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"}]},serve:{description:"Serve production build locally",load:()=>import("./chunks/serve-AVVEYGQB.js"),flags:[{name:"port",short:"p",type:"number",description:"Server port",default:8e3},{name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"}]}}});var i=new o({description:"Terminal client for Eser's work"});i.addSubmodule({name:"ai"},m);i.addSubmodule({name:"kit"},g);i.addSubmodule({name:"codebase",aliases:["cb","."]},f);await i.addSubmoduleAsync({name:"workflows",aliases:["wf"]},(async()=>{let{getWorkflowTools:e}=await import("./chunks/mod-IHYN4TEM.js");return l(e())})());i.addSubmodule({name:"noskills",aliases:["nos"]},y);i.addSubmodule({name:"laroux"},w);var k=i.toCommand("eser",u.version).lazyCommand("system",{description:"Commands related with this CLI",load:async()=>(await import("./chunks/system-KMRRIKMQ.js")).systemCommand}).lazyCommand("install",{description:"Install eser CLI globally (alias for system install)",load:async()=>{let e=await import("./chunks/mod-L26IBE5V.js");return new a("install").run(e.installHandler)}}).lazyCommand("update",{description:"Update eser CLI to latest version (alias for system update)",load:async()=>{let e=await import("./chunks/mod-L26IBE5V.js");return new a("update").run(e.updateHandler)}}).lazyCommand("version",{description:"Show version number",load:async()=>{let e=await import("./chunks/mod-L26IBE5V.js");return new a("version").flag({name:"bare",type:"boolean",description:"Print raw version only"}).run(e.versionHandler)}}).lazyCommand("doctor",{description:"Run diagnostic checks",load:async()=>{let e=await import("./chunks/mod-L26IBE5V.js");return new a("doctor").run(e.doctorHandler)}}).fallback(async(e,t)=>{let n=(await(await import("./chunks/manifest-3VJ4O6HR.js")).loadManifest("."))?.scripts;if(n!=null&&typeof n=="object"){let s=n;if(e in s){let v=s[e],{runScript:b}=await import("./chunks/scripts-VI2TKQOH.js");return await b(e,v,s,t)}}return console.error(`Unknown subcommand "${e}"`),d({exitCode:1})}),h=async()=>await k.parse();if(import.meta.main){let e=await h();c(e,{ok:()=>{},fail:t=>{t.message!==void 0&&console.error(t.message),p.process.setExitCode(t.exitCode)}})}export{h as main};
|
|
3
|
+
import{a as u}from"./chunks/chunk-DRCKMHUI.js";import{a as m}from"./chunks/chunk-ZRUM5PE7.js";import"./chunks/chunk-PWLF3WXM.js";import{a as o}from"./chunks/chunk-SH4H7OLV.js";import{b as a}from"./chunks/chunk-ZEFYMWGZ.js";import"./chunks/chunk-MG65QJY6.js";import{b as d,e as c}from"./chunks/chunk-FFWPJP7A.js";import{i as p}from"./chunks/chunk-6VHZQNHX.js";import"./chunks/chunk-6E6JUBFH.js";import"./chunks/chunk-BQT5RJZB.js";import"./chunks/chunk-5WJ6AUNY.js";var g=new o({description:"Kit \u2014 recipes, templates, project creation",modules:{add:{description:"Add a recipe to your project",category:"Distribution",load:()=>import("./chunks/add-IM5JC6QA.js")},list:{description:"Browse available recipes and templates",category:"Distribution",load:()=>import("./chunks/list-XFPTCIMR.js")},new:{description:"Create a new project from a template",category:"Distribution",load:()=>import("./chunks/new-3ZN4U7FJ.js")},clone:{description:"Clone a recipe from any GitHub repo",category:"Distribution",load:()=>import("./chunks/clone-DSVKII72.js")},update:{description:"Re-fetch and update an applied recipe",category:"Distribution",load:()=>import("./chunks/update-CV7JPZGM.js")}},aliases:{create:"new"}});var f=new o({description:"Codebase management tools",modules:{scaffolding:{description:"Initialize project from template",category:"Setup",load:()=>import("./chunks/mod-Q6SI6S6S.js")},install:{description:"Install git hooks from .eser/manifest.yml",category:"Setup",load:()=>import("./chunks/install-WD65EAID.js")},uninstall:{description:"Remove managed git hooks",category:"Setup",load:async()=>({main:(await import("./chunks/install-WD65EAID.js")).uninstallMain})},status:{description:"Show git hook installation status",category:"Setup",load:async()=>({main:(await import("./chunks/install-WD65EAID.js")).statusMain})},commitmsg:{description:"Generate commit message from git diff",category:"AI",load:()=>import("./chunks/commitmsg-FS52L6J5.js")},gh:{description:"GitHub operations (contributors, releases, tags)",category:"GitHub",load:()=>import("./chunks/gh-FKZHTNFN.js")},versions:{description:"Manage workspace package versions",category:"Release",load:()=>import("./chunks/versions-OKK45EDV.js")},"changelog-gen":{description:"Generate CHANGELOG from commits",category:"Release",load:()=>import("./chunks/changelog-gen-USXHO6PE.js")},release:{description:"Create a release (bump, changelog, commit, push)",category:"Release",load:()=>import("./chunks/release-6I5TL34I.js")},rerelease:{description:"Delete and recreate the current version tag",category:"Release",load:async()=>({main:(await import("./chunks/release-6I5TL34I.js")).rereleaseMain})},unrelease:{description:"Delete the current version tag",category:"Release",load:async()=>({main:(await import("./chunks/release-6I5TL34I.js")).unreleaseMain})},"validate-eof":{description:"Ensure files end with newline",category:"Validation",load:()=>import("./chunks/validate-eof-56S7THGQ.js")},"validate-trailing-whitespace":{description:"Remove trailing whitespace",category:"Validation",load:()=>import("./chunks/validate-trailing-whitespace-UE7AOZEZ.js")},"validate-bom":{description:"Remove UTF-8 byte order markers",category:"Validation",load:()=>import("./chunks/validate-bom-5IPW3R4O.js")},"validate-line-endings":{description:"Normalize line endings to LF",category:"Validation",load:()=>import("./chunks/validate-line-endings-PHV2ZK7V.js")},"validate-large-files":{description:"Detect files exceeding size limit",category:"Validation",load:()=>import("./chunks/validate-large-files-OE4P7FD7.js")},"validate-case-conflict":{description:"Detect case-conflicting filenames",category:"Validation",load:()=>import("./chunks/validate-case-conflict-5XOPS6HD.js")},"validate-merge-conflict":{description:"Detect merge conflict markers",category:"Validation",load:()=>import("./chunks/validate-merge-conflict-XN3376IV.js")},"validate-json":{description:"Validate JSON syntax",category:"Validation",load:()=>import("./chunks/validate-json-2OMEH67D.js")},"validate-toml":{description:"Validate TOML syntax",category:"Validation",load:()=>import("./chunks/validate-toml-U77NIEDN.js")},"validate-yaml":{description:"Validate YAML syntax",category:"Validation",load:()=>import("./chunks/validate-yaml-UX2VQJJT.js")},"validate-symlinks":{description:"Detect broken symlinks",category:"Validation",load:()=>import("./chunks/validate-symlinks-QMLLO5R3.js")},"validate-shebangs":{description:"Validate shebang consistency",category:"Validation",load:()=>import("./chunks/validate-shebangs-3OR2L3RH.js")},"validate-secrets":{description:"Detect credentials and private keys",category:"Validation",load:()=>import("./chunks/validate-secrets-ZMBKEXOK.js")},"validate-filenames":{description:"Enforce filename conventions",category:"Validation",load:()=>import("./chunks/validate-filenames-DJF7GO3C.js")},"validate-submodules":{description:"Detect git submodules",category:"Validation",load:()=>import("./chunks/validate-submodules-HIYYVQDP.js")},"validate-commit-msg":{description:"Validate conventional commit format",category:"Validation",load:()=>import("./chunks/validate-commit-msg-MEQH6ADP.js")},"validate-docs":{description:"Validate JSDoc documentation",category:"Validation",load:()=>import("./chunks/validate-docs-LBWVCSN2.js")},"validate-circular-deps":{description:"Detect circular dependencies",category:"Validation",load:()=>import("./chunks/validate-circular-deps-WME7VUO4.js")},"validate-export-names":{description:"Validate export naming conventions",category:"Validation",load:()=>import("./chunks/validate-export-names-YJGQHPGF.js")},"validate-licenses":{description:"Validate license headers",category:"Validation",load:()=>import("./chunks/validate-licenses-BNEQDBKC.js")},"validate-mod-exports":{description:"Validate mod.ts export coverage",category:"Validation",load:()=>import("./chunks/validate-mod-exports-D2Q5GV76.js")},"validate-package-configs":{description:"Validate package configurations",category:"Validation",load:()=>import("./chunks/validate-package-configs-ZO5YJE2D.js")}},aliases:{init:"scaffolding"}});var l=e=>new o({description:"Workflow engine \u2014 run tool pipelines",modules:{run:{description:"Run workflows by event or id",load:async()=>{let t=await import("./chunks/run-FGMEIO57.js");return{main:r=>t.main(r,{tools:e??[]})}}},list:{description:"List available workflows and tools",load:async()=>{let t=await import("./chunks/list-NS7ECFDY.js");return{main:r=>t.main(r,{tools:e??[]})}}}}}),R=l();var y=new o({description:"noskills \u2014 state-machine orchestrator for AI agents",modules:{init:{description:"Initialize noskills in project",load:()=>import("./chunks/init-RIVFJ2HP.js")},status:{description:"Show current state",load:()=>import("./chunks/status-65FD7MJB.js")},spec:{description:"Manage specs (new, list)",load:()=>import("./chunks/spec-WGXL4BOE.js")},next:{description:"Get next instruction for agent",load:()=>import("./chunks/next-QNLI4Z6Y.js")},approve:{description:"Approve phase transition",load:()=>import("./chunks/approve-RQVNTLFH.js")},block:{description:"Mark spec as blocked",load:()=>import("./chunks/block-3NE7YTL7.js")},reset:{description:"Reset current spec state",load:()=>import("./chunks/reset-EDANY7W4.js")},done:{description:"Mark spec execution as complete",load:()=>import("./chunks/done-44REMKQ4.js")},cancel:{description:"Cancel current spec",load:()=>import("./chunks/cancel-W5FDMXFI.js")},wontfix:{description:"Mark spec as won't fix (requires reason)",load:()=>import("./chunks/wontfix-FSTUJ7T6.js")},reopen:{description:"Reopen a completed spec for revision",load:()=>import("./chunks/reopen-T5ZROS7Y.js")},concern:{description:"Manage concerns (add, remove, list)",load:()=>import("./chunks/concern-BWZV4KBS.js")},run:{description:"Autonomous execution loop (Ralph loop)",load:()=>import("./chunks/run-VPRSGIHR.js")},watch:{description:"Live dashboard for monitoring agent progress",load:()=>import("./chunks/watch-Y3ARCBAW.js")},sync:{description:"Regenerate tool-specific files",load:()=>import("./chunks/sync-EIMJAEA7.js")},purge:{description:"Remove all noskills content (specs, rules, concerns, hooks)",load:()=>import("./chunks/purge-565VM3XK.js")},"invoke-hook":{description:"Internal hook handlers (called by agents)",load:()=>import("./chunks/invoke-hook-CPYBTKLO.js")},rule:{description:"Manage rules (add, list, promote)",load:()=>import("./chunks/rule-SMPE3A72.js")}}});var w=new o({description:"laroux.js framework commands",modules:{init:{description:"Create a new laroux.js project",load:()=>import("./chunks/init-ZOMBOUG3.js"),flags:[{name:"template",short:"t",type:"string",description:"Project template (minimal, blog, dashboard, docs)",default:"minimal"},{name:"force",short:"f",type:"boolean",description:"Overwrite existing files"},{name:"no-git",type:"boolean",description:"Skip git initialization"},{name:"no-install",type:"boolean",description:"Skip dependency installation"}]},dev:{description:"Start development server with hot reload",load:()=>import("./chunks/dev-QZF2X7YC.js"),flags:[{name:"port",short:"p",type:"number",description:"Server port",default:8e3},{name:"no-hmr",type:"boolean",description:"Disable hot module replacement"},{name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"},{name:"open",short:"o",type:"boolean",description:"Open browser automatically"}]},build:{description:"Build for production",load:()=>import("./chunks/build-IRLEBMJE.js"),flags:[{name:"out-dir",type:"string",description:"Output directory",default:"dist"},{name:"clean",type:"boolean",description:"Clean output directory first"},{name:"no-minify",type:"boolean",description:"Disable minification"},{name:"analyze",type:"boolean",description:"Analyze bundle size"},{name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"}]},serve:{description:"Serve production build locally",load:()=>import("./chunks/serve-R7XGF4EL.js"),flags:[{name:"port",short:"p",type:"number",description:"Server port",default:8e3},{name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"}]}}});var i=new o({description:"Terminal client for Eser's work"});i.addSubmodule({name:"ai"},m);i.addSubmodule({name:"kit"},g);i.addSubmodule({name:"codebase",aliases:["cb","."]},f);await i.addSubmoduleAsync({name:"workflows",aliases:["wf"]},(async()=>{let{getWorkflowTools:e}=await import("./chunks/mod-ERJSLSPA.js");return l(e())})());i.addSubmodule({name:"noskills",aliases:["nos"]},y);i.addSubmodule({name:"laroux"},w);var k=i.toCommand("eser",u.version).lazyCommand("system",{description:"Commands related with this CLI",load:async()=>(await import("./chunks/system-5OWRHFDI.js")).systemCommand}).lazyCommand("install",{description:"Install eser CLI globally (alias for system install)",load:async()=>{let e=await import("./chunks/mod-JWUOEEMP.js");return new a("install").run(e.installHandler)}}).lazyCommand("update",{description:"Update eser CLI to latest version (alias for system update)",load:async()=>{let e=await import("./chunks/mod-JWUOEEMP.js");return new a("update").run(e.updateHandler)}}).lazyCommand("version",{description:"Show version number",load:async()=>{let e=await import("./chunks/mod-JWUOEEMP.js");return new a("version").flag({name:"bare",type:"boolean",description:"Print raw version only"}).run(e.versionHandler)}}).lazyCommand("doctor",{description:"Run diagnostic checks",load:async()=>{let e=await import("./chunks/mod-JWUOEEMP.js");return new a("doctor").run(e.doctorHandler)}}).fallback(async(e,t)=>{let n=(await(await import("./chunks/manifest-4EA74HMS.js")).loadManifest("."))?.scripts;if(n!=null&&typeof n=="object"){let s=n;if(e in s){let v=s[e],{runScript:b}=await import("./chunks/scripts-L2FZBUHU.js");return await b(e,v,s,t)}}return console.error(`Unknown subcommand "${e}"`),d({exitCode:1})}),h=async()=>await k.parse();if(import.meta.main){let e=await h();c(e,{ok:()=>{},fail:t=>{t.message!==void 0&&console.error(t.message),p.process.setExitCode(t.exitCode)}})}export{h as main};
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{a as R}from"./chunk-A3JJKZ4C.js";import"./chunk-4QDEJUAF.js";import{a as P,d as D}from"./chunk-MQ4EMT35.js";import{e as y,g as C}from"./chunk-JI536JLJ.js";import{e as v,f as h,g as o,l as S,p as g}from"./chunk-NEHZOG23.js";import{c as n}from"./chunk-OAT2D23A.js";import"./chunk-2XNFZXHY.js";import{f as w,h as f,k as u}from"./chunk-ZC4F4MYU.js";import{c as t,d,f as m,g as p,k as i}from"./chunk-YVN2NZL4.js";import{a as c}from"./chunk-FFWPJP7A.js";import{i as l}from"./chunk-WJKE6XHF.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var $=async E=>{let s=w({renderer:u.ansi(),sink:f.stdout()}),a=l.process.cwd(),A=h(E),e=await v(a,A),F=await S(a);if(e.phase==="SPEC_DRAFT"){if(e.classification===null&&e.spec!==null){let _=(await g(a)).filter(b=>F?.concerns.includes(b.id)??!1);try{await R(a,e,_)}catch{}}let r=C(e);await o(a,r),r.spec!==null&&(await P(a,r.spec,"approved"),await D(a,r.spec,"approved")),s.writeln(p("\u2714")," Spec approved. Phase: ",i("SPEC_APPROVED")),s.writeln("When ready, run ",t(`${n('next --answer="start"')}`)," to begin execution.")}else if(e.phase==="DISCOVERY_REVIEW"){let r=y(e);await o(a,r),s.writeln(p("\u2714")," Discovery answers approved. Phase: ",i("SPEC_DRAFT")),s.writeln("Review the spec and run ",t(n("approve"))," again to approve.")}else e.phase==="DISCOVERY"&&e.discovery.completed?(s.writeln(d("Discovery complete. Spec draft already generated.")),s.writeln("Review the spec and run ",t(n("approve"))," again when in SPEC_DRAFT phase.")):s.writeln(m(`Cannot approve in phase: ${e.phase}`));return await s.close(),c(void 0)};export{$ as main};
|
package/chunks/block-JSK5CJPO.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { createRequire } from "node:module"; const require = createRequire(import.meta.url);
|
|
2
|
-
import{i as S}from"./chunk-JI536JLJ.js";import{e as w,f as h,g}from"./chunk-NEHZOG23.js";import{c as k}from"./chunk-OAT2D23A.js";import"./chunk-2XNFZXHY.js";import{f as d,h as f,k as u}from"./chunk-ZC4F4MYU.js";import{c as l,d as p,f as c,h as m}from"./chunk-YVN2NZL4.js";import{a as n,b as i}from"./chunk-FFWPJP7A.js";import{i as a}from"./chunk-WJKE6XHF.js";import"./chunk-6E6JUBFH.js";import"./chunk-BQT5RJZB.js";import"./chunk-5WJ6AUNY.js";var j=async t=>{let e=d({renderer:u.ansi(),sink:f.stdout()}),r=a.process.cwd(),b=h(t),o=(t??[]).filter(x=>!x.startsWith("--spec=")).join(" ")||"No reason given",s=await w(r,b);if(s.phase!=="EXECUTING")return e.writeln(c(`Cannot block in phase: ${s.phase}`)),await e.close(),i({exitCode:1});let v=S(s,o);return await g(r,v),e.writeln(m("\u26A0")," Spec blocked: ",p(o)),e.writeln("Resolve with: ",l(`${k('next --answer="resolution"')}`)),await e.close(),n(void 0)};export{j as main};
|