agentix-cli 0.136.0 → 0.136.1
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/dist/{agent-VCGAUBER.js → agent-TMTYLAOV.js} +2 -2
- package/dist/{board-dashboard-JZM3FQNV.js → board-dashboard-OSI4X5ZJ.js} +2 -2
- package/dist/{chunk-C43E3YFT.js → chunk-4AFA6LQZ.js} +2 -2
- package/dist/{chunk-M5B4QG6J.js → chunk-63LV77EG.js} +2 -2
- package/dist/{chunk-HH7OFAEM.js → chunk-EGDY762K.js} +2 -2
- package/dist/{chunk-ZPJVDX2U.js → chunk-FRTELYZ4.js} +2 -2
- package/dist/chunk-G26UHWS4.js +105 -0
- package/dist/chunk-G26UHWS4.js.map +1 -0
- package/dist/{chunk-QCUJTAAZ.js → chunk-NVZ66ITP.js} +3 -3
- package/dist/{chunk-H2N7DOPT.js → chunk-QHZFMO6M.js} +2 -2
- package/dist/{chunk-K75LFQE3.js → chunk-QW3L5IIC.js} +2 -2
- package/dist/{chunk-QTDKNJXD.js → chunk-XXIZGNLT.js} +213 -213
- package/dist/{chunk-QTDKNJXD.js.map → chunk-XXIZGNLT.js.map} +1 -1
- package/dist/cli.js +1 -1
- package/dist/{hub-IIW2GBO5.js → hub-7AMS6ADP.js} +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/{program-WROQ55F5.js → program-IUUHETTV.js} +154 -154
- package/dist/program-IUUHETTV.js.map +1 -0
- package/dist/{promote-HDLU44MX.js → promote-VCNVE5JD.js} +2 -2
- package/dist/{registry-3RE5SG22.js → registry-MMNG5VZ6.js} +2 -2
- package/dist/rules-UVUJTVOE.js +24 -0
- package/dist/rules-UVUJTVOE.js.map +1 -0
- package/dist/{wiki-ZS6OHOWQ.js → wiki-ZQMDUXTE.js} +2 -2
- package/dist/wiki-enrich-NPNOSTRM.js +2 -0
- package/package.json +1 -1
- package/dist/chunk-OISCRNMW.js +0 -105
- package/dist/chunk-OISCRNMW.js.map +0 -1
- package/dist/program-WROQ55F5.js.map +0 -1
- package/dist/rules-HUUFXQD6.js +0 -24
- package/dist/rules-HUUFXQD6.js.map +0 -1
- package/dist/wiki-enrich-NGPFWTVA.js +0 -2
- /package/dist/{agent-VCGAUBER.js.map → agent-TMTYLAOV.js.map} +0 -0
- /package/dist/{board-dashboard-JZM3FQNV.js.map → board-dashboard-OSI4X5ZJ.js.map} +0 -0
- /package/dist/{chunk-C43E3YFT.js.map → chunk-4AFA6LQZ.js.map} +0 -0
- /package/dist/{chunk-M5B4QG6J.js.map → chunk-63LV77EG.js.map} +0 -0
- /package/dist/{chunk-HH7OFAEM.js.map → chunk-EGDY762K.js.map} +0 -0
- /package/dist/{chunk-ZPJVDX2U.js.map → chunk-FRTELYZ4.js.map} +0 -0
- /package/dist/{chunk-QCUJTAAZ.js.map → chunk-NVZ66ITP.js.map} +0 -0
- /package/dist/{chunk-H2N7DOPT.js.map → chunk-QHZFMO6M.js.map} +0 -0
- /package/dist/{chunk-K75LFQE3.js.map → chunk-QW3L5IIC.js.map} +0 -0
- /package/dist/{hub-IIW2GBO5.js.map → hub-7AMS6ADP.js.map} +0 -0
- /package/dist/{promote-HDLU44MX.js.map → promote-VCNVE5JD.js.map} +0 -0
- /package/dist/{registry-3RE5SG22.js.map → registry-MMNG5VZ6.js.map} +0 -0
- /package/dist/{wiki-ZS6OHOWQ.js.map → wiki-ZQMDUXTE.js.map} +0 -0
- /package/dist/{wiki-enrich-NGPFWTVA.js.map → wiki-enrich-NPNOSTRM.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{b as o}from"./chunk-JXF54PT7.js";import"./chunk-QIJLFPWE.js";var s=o(process.versions.node);s&&(console.error(s),process.exit(1));var{buildProgram:r}=await import("./program-
|
|
2
|
+
import{b as o}from"./chunk-JXF54PT7.js";import"./chunk-QIJLFPWE.js";var s=o(process.versions.node);s&&(console.error(s),process.exit(1));var{buildProgram:r}=await import("./program-IUUHETTV.js"),{installCliSignalExit:i}=await import("./signal-exit-WL7G3EEZ.js");i();var e=await r();process.argv.slice(2).length===0?e.outputHelp():e.parse();
|
|
3
3
|
//# sourceMappingURL=cli.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=hub-
|
|
1
|
+
import{a}from"./chunk-4AFA6LQZ.js";import"./chunk-G26UHWS4.js";import"./chunk-OWNQ2FD4.js";import"./chunk-KEXBEUSU.js";import"./chunk-ROLSSYXE.js";import"./chunk-OW5EXDVY.js";import"./chunk-WPNRDEHW.js";import"./chunk-66DPMVUC.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-QOYAX2FT.js";import"./chunk-2PJKGZWP.js";import"./chunk-7I7IEX4S.js";import"./chunk-54OORW5I.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";export{a as WikiHub};
|
|
2
|
+
//# sourceMappingURL=hub-7AMS6ADP.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -12356,9 +12356,11 @@ declare class WikiStore {
|
|
|
12356
12356
|
path: string;
|
|
12357
12357
|
}>;
|
|
12358
12358
|
/**
|
|
12359
|
-
* Restore a specific version of an article.
|
|
12359
|
+
* Restore a specific version of an article, holding the page's lock.
|
|
12360
|
+
* Throws LockBusyError when another process holds the page.
|
|
12360
12361
|
*/
|
|
12361
12362
|
restoreVersion(articlePath: string, versionTimestamp: string): boolean;
|
|
12363
|
+
private restoreLocked;
|
|
12362
12364
|
/**
|
|
12363
12365
|
* Read an article. Returns null if not found.
|
|
12364
12366
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as St,b as kt,c as vt,d as xt,e as $t,f as Ct,g as Pt,h as bt,la as Tt,ma as Mt}from"./chunk-
|
|
1
|
+
import{a as St,b as kt,c as vt,d as xt,e as $t,f as Ct,g as Pt,h as bt,la as Tt,ma as Mt}from"./chunk-XXIZGNLT.js";import"./chunk-QHZFMO6M.js";import"./chunk-HEJTE7OC.js";import"./chunk-GTJIKXDB.js";import"./chunk-7LN4VKDU.js";import"./chunk-IMLAPB7G.js";import"./chunk-ZVP6GB4G.js";import"./chunk-S2GAEH2F.js";import"./chunk-PPUN7YHA.js";import"./chunk-VZLIBDLH.js";import"./chunk-EKJG63EJ.js";import"./chunk-XGOBZCYC.js";import"./chunk-WCXXXAHV.js";import"./chunk-JWDJMFU6.js";import"./chunk-GRMCAO3Q.js";import"./chunk-KZKDVIOE.js";import"./chunk-LQE73AZR.js";import"./chunk-2D3RYIDU.js";import"./chunk-MRIVENBY.js";import"./chunk-UNIXYV3U.js";import"./chunk-AKWBDCMU.js";import"./chunk-63LV77EG.js";import"./chunk-2AXFYDWF.js";import"./chunk-AQASR6KR.js";import"./chunk-EMGB23H5.js";import{ca as yt,m as lt,n as ct,o as dt,p as mt,q as pt}from"./chunk-NVZ66ITP.js";import"./chunk-HZZW35FY.js";import"./chunk-QSKG754X.js";import"./chunk-MEFPXHQJ.js";import{a as L}from"./chunk-UG2OF2EI.js";import{A as D,B as z,C as V,a as ye,b as we,c as Se,d as Ae,e as Ie,f as Oe,g as Ne,h as He,i as je,j as Ue,k as _e,l as I,m as q,n as Be,o as qe,p as Ye,q as O,r as ze,s as Ve,t as Xe,u as x,v as Y,w as Qe,x as Ze,y as et,z as wt}from"./chunk-FRTELYZ4.js";import{a as B,b as M,c as F}from"./chunk-SFQUP3BP.js";import"./chunk-Y4CYQV7G.js";import"./chunk-LLNPKE7H.js";import"./chunk-SHEUCITK.js";import"./chunk-GL3H7XMI.js";import"./chunk-SZDACK6O.js";import"./chunk-HF5EF335.js";import"./chunk-W4YR2RO2.js";import"./chunk-AFRHKA7B.js";import{s as ut}from"./chunk-AK3XOA5N.js";import"./chunk-WRJFKA43.js";import"./chunk-3UOTLMXD.js";import"./chunk-36AXN6ZB.js";import"./chunk-PE5V2LI7.js";import"./chunk-GQ76J72O.js";import"./chunk-ILEC3IAV.js";import"./chunk-J3SOEFRE.js";import"./chunk-SIU6STB2.js";import"./chunk-X5C5W3E4.js";import"./chunk-GV7S5BAX.js";import"./chunk-GSX4NK2N.js";import"./chunk-VWTBHLMX.js";import"./chunk-4AFA6LQZ.js";import{a as ht}from"./chunk-G26UHWS4.js";import"./chunk-OWNQ2FD4.js";import"./chunk-KEXBEUSU.js";import"./chunk-ROLSSYXE.js";import"./chunk-PV623BLN.js";import"./chunk-SKSYII3K.js";import{f as gt,g as ft}from"./chunk-OW5EXDVY.js";import"./chunk-WPNRDEHW.js";import"./chunk-MWNCS57L.js";import"./chunk-4LWFJ4MZ.js";import"./chunk-BIJHMWXK.js";import"./chunk-FQLSV2C4.js";import{j as it,k as rt,l as at}from"./chunk-66DPMVUC.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-MYVHVJWZ.js";import"./chunk-6TURWSMN.js";import"./chunk-AV7T3SYT.js";import"./chunk-Y5MFVVTM.js";import"./chunk-QD6IICK7.js";import"./chunk-QOYAX2FT.js";import{a as ke,b as ve,c as xe,d as $e,e as Ce,f as Pe,g as be,h as Te,i as Me,j as Re,l as Ee,m as Ge,o as T,p as W}from"./chunk-2PJKGZWP.js";import{a as m,b as G}from"./chunk-7I7IEX4S.js";import{b as Fe,c as Le,d as A,e as De}from"./chunk-JHCI6XCJ.js";import{a as Ke,b as Je,e as We}from"./chunk-DSYKYZMT.js";import{na as tt,pa as st,qa as ot,xa as nt}from"./chunk-54OORW5I.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";W();G();import{execa as Rt}from"execa";import{existsSync as se,promises as X}from"fs";import S from"path";import ie from"node-fetch";async function Et(o,e){let t=o.split("/");if(t.length<2)throw new Error(`Invalid skill package ID: ${o}. Expected format: owner/repo`);let s=t[0],i=t[1],n=t[2];try{let a=n?`${s}/${i}/${n}`:`${s}/${i}`;await Rt("npx",["-y","skills","add",a],{cwd:e,stdio:"pipe"}),m.success(`Installed skill package: ${o}`);let r=S.resolve(e,".skills",`${s}_${i}`);if(se(r))return await ne(r,o);let d=S.resolve(e,".skills");return se(d)?await ne(d,o):[]}catch{return m.info(`Fetching skills directly from GitHub: ${s}/${i}`),await Gt(s,i,n,e)}}async function Gt(o,e,t,s){let i=[];try{let n=`https://api.github.com/repos/${o}/${e}/git/trees/main?recursive=1`,a=await ie(n);if(!a.ok)throw new Error(`GitHub API error: ${a.status}`);let d=(await a.json()).tree.filter(p=>p.type==="blob"&&p.path.endsWith("SKILL.md"));if(t){let p=d.find(f=>f.path.includes(`/${t}/`)||f.path===`${t}/SKILL.md`);if(p){let f=await oe(o,e,p.path,s);f&&i.push(f)}}else for(let p of d){let f=await oe(o,e,p.path,s);f&&i.push(f)}}catch(n){m.error(`Failed to fetch skills from GitHub: ${n.message}`)}return i}async function oe(o,e,t,s){try{let i=`https://raw.githubusercontent.com/${o}/${e}/main/${t}`,n=await ie(i);if(!n.ok)return null;let a=await n.text(),r=A(a);if(r){r.source="remote",r.packageId=`${o}/${e}`;let d=S.dirname(t),p=S.resolve(s,".skills",`${o}_${e}`,d);await X.mkdir(p,{recursive:!0}),await X.writeFile(S.resolve(p,"SKILL.md"),a),r.path=S.resolve(p,"SKILL.md")}return r}catch{return null}}async function ne(o,e){let t=[],{default:s}=await import("fast-glob"),i=await s.glob("**/SKILL.md",{cwd:o,deep:5});for(let n of i)try{let a=S.resolve(o,n),r=await X.readFile(a,"utf8"),d=A(r);d&&(d.source="remote",d.path=a,d.packageId=e,t.push(d))}catch{}return t}async function At(o,e,t,s,i){let n=["---",`name: ${o}`,`description: ${e}`];if(s?.length){n.push("tags:");for(let a of s)n.push(` - ${a}`)}if(i?.length){n.push("globs:");for(let a of i)n.push(` - ${a}`)}return n.push("---"),`${n.join(`
|
|
2
2
|
`)}
|
|
3
3
|
|
|
4
4
|
${t}`}async function It(o){let{loadLocalSkills:e}=await import("./loader-YFVSSYSL.js");return e(o)}async function Ot(o,e,t,s,i){let a=[{role:"system",content:`You are a skill author for the Agent Skills ecosystem (skills.sh).
|