@rulemetric/cli 0.7.4 → 0.7.5
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/README.md +10 -8
- package/dist/base-command.js +1 -1
- package/dist/{chunk-O7ZMHCMG.js → chunk-2JRDG4LJ.js} +14 -14
- package/dist/chunk-2WLVDSAP.js +2 -0
- package/dist/{chunk-F2VP4B4J.js → chunk-32EEBARV.js} +1 -1
- package/dist/chunk-43YBXX7R.js +1 -0
- package/dist/{chunk-HOHD5HY2.js → chunk-AYUJY37O.js} +1 -1
- package/dist/{chunk-VAFAH6QL.js → chunk-DCLWFGEA.js} +1 -1
- package/dist/{chunk-IY5NXR3N.js → chunk-DPFNJZUO.js} +1 -1
- package/dist/chunk-G63KMH6U.js +1 -0
- package/dist/{chunk-T3W5N3BP.js → chunk-G6XGDHGC.js} +1 -1
- package/dist/{chunk-TIQ7DQ3M.js → chunk-H2ORWIEY.js} +1 -1
- package/dist/chunk-H4SV7FN4.js +1 -0
- package/dist/chunk-HS7X43XE.js +24 -0
- package/dist/{chunk-Y65CSJFF.js → chunk-JAPCCEKF.js} +1 -1
- package/dist/chunk-JQTGQXUX.js +1 -0
- package/dist/{chunk-V5QFOF4F.js → chunk-KAF3CYRW.js} +1 -1
- package/dist/{chunk-EUHNCVJQ.js → chunk-KV325CXF.js} +3 -3
- package/dist/{chunk-FHVBTDBM.js → chunk-N7TGRFVZ.js} +13 -12
- package/dist/{chunk-I4YJ7NTX.js → chunk-NEACEHQD.js} +1 -1
- package/dist/chunk-O2SDD2WW.js +1 -0
- package/dist/chunk-O6C2UGBY.js +7 -0
- package/dist/chunk-PPKPCXJD.js +4 -0
- package/dist/{chunk-VWEXKDWG.js → chunk-QFVGUZDO.js} +1 -1
- package/dist/{chunk-VMWY7KHH.js → chunk-RDET7CKR.js} +1 -1
- package/dist/chunk-RQ424GI6.js +5 -0
- package/dist/{chunk-PZS2KOU7.js → chunk-TIOKY2IA.js} +1 -1
- package/dist/chunk-TQMG647B.js +15 -0
- package/dist/{chunk-WJUQBMTF.js → chunk-U6ABMRT3.js} +1 -1
- package/dist/chunk-U6XEU573.js +1 -0
- package/dist/{chunk-CRAKDQ4H.js → chunk-V44SRRYR.js} +1 -1
- package/dist/{chunk-7XQ4VPLC.js → chunk-VAXRCSSH.js} +1 -1
- package/dist/{chunk-WPJ2BND4.js → chunk-VLOX6KOM.js} +1 -1
- package/dist/chunk-W2MOTOQE.js +1 -0
- package/dist/chunk-XICLXXRH.js +1 -0
- package/dist/{chunk-2UC3ULIG.js → chunk-XXDZJ6YI.js} +1 -1
- package/dist/{chunk-SBILN45P.js → chunk-ZR3MUNLS.js} +1 -1
- package/dist/commands/antigravity/backfill.js +1 -1
- package/dist/commands/auth/create-key.js +1 -1
- package/dist/commands/auth/login.js +1 -1
- package/dist/commands/auth/logout.js +1 -1
- package/dist/commands/auth/revoke-key.js +4 -1
- package/dist/commands/auth/signup.js +1 -1
- package/dist/commands/auth/status.js +1 -1
- package/dist/commands/catalog/index.js +1 -1
- package/dist/commands/catalog/recommend.js +1 -1
- package/dist/commands/convert.js +1 -1
- package/dist/commands/converters.js +1 -1
- package/dist/commands/crons/list.js +1 -1
- package/dist/commands/crons/run.js +1 -1
- package/dist/commands/dashboard.js +1 -1
- package/dist/commands/diagnostics.js +1 -1
- package/dist/commands/eval-targets/create.js +1 -1
- package/dist/commands/eval-targets/list.js +1 -1
- package/dist/commands/evals/agent.js +1 -1
- package/dist/commands/evals/benchmark.js +1 -1
- package/dist/commands/evals/compare.js +1 -1
- package/dist/commands/evals/create.js +1 -1
- package/dist/commands/evals/optimize-description.js +15 -15
- package/dist/commands/evals/optimize.js +5 -5
- package/dist/commands/evals/run.js +1 -1
- package/dist/commands/gateway/ensure.js +1 -1
- package/dist/commands/hooks/install.js +1 -1
- package/dist/commands/hooks/run.js +1 -1
- package/dist/commands/hooks/uninstall.js +1 -1
- package/dist/commands/import.js +1 -1
- package/dist/commands/instructions/create.js +1 -1
- package/dist/commands/instructions/delete.js +1 -1
- package/dist/commands/instructions/fork.js +1 -1
- package/dist/commands/instructions/get.js +1 -1
- package/dist/commands/instructions/list.js +1 -1
- package/dist/commands/instructions/promote.js +1 -1
- package/dist/commands/instructions/pull.js +1 -1
- package/dist/commands/instructions/upstream.js +1 -1
- package/dist/commands/instructions/versions.js +1 -1
- package/dist/commands/launcher.js +1 -1
- package/dist/commands/org/current.js +1 -1
- package/dist/commands/org/list.js +1 -1
- package/dist/commands/org/switch.js +1 -1
- package/dist/commands/packs/add-instruction.js +1 -1
- package/dist/commands/packs/apply.js +1 -1
- package/dist/commands/packs/create.js +1 -1
- package/dist/commands/packs/fork.js +1 -1
- package/dist/commands/packs/get.js +1 -1
- package/dist/commands/packs/list.js +1 -1
- package/dist/commands/packs/remove-instruction.js +1 -1
- package/dist/commands/proxy/env.js +1 -1
- package/dist/commands/proxy/logs.js +1 -1
- package/dist/commands/proxy/restart.js +1 -1
- package/dist/commands/proxy/setup.js +13 -11
- package/dist/commands/proxy/start.js +1 -1
- package/dist/commands/proxy/status.js +1 -1
- package/dist/commands/proxy/stop.js +1 -1
- package/dist/commands/research/backfill.js +1 -1
- package/dist/commands/research/tail-transcript.js +1 -1
- package/dist/commands/service/install.js +5 -5
- package/dist/commands/service/status.js +1 -1
- package/dist/commands/service/uninstall.js +1 -1
- package/dist/commands/sessions/analyze.js +1 -3
- package/dist/commands/sessions/end.js +2 -2
- package/dist/commands/sessions/import.js +1 -1
- package/dist/commands/sessions/list.js +1 -1
- package/dist/commands/sessions/start.js +1 -1
- package/dist/commands/setup.js +1 -1
- package/dist/commands/skills/export-approved.js +1 -1
- package/dist/commands/skills/install.js +1 -1
- package/dist/commands/skills/list.js +1 -1
- package/dist/commands/skills/publish.js +1 -1
- package/dist/commands/skills/search.js +1 -1
- package/dist/commands/skills/update.js +1 -1
- package/dist/commands/suggestions/accept.js +3 -3
- package/dist/commands/suggestions/dismiss.js +1 -1
- package/dist/commands/suggestions/list.js +2 -1
- package/dist/commands/suggestions/refresh.js +1 -1
- package/dist/dashboard/Dashboard.js +1 -1
- package/dist/dashboard/data.js +1 -1
- package/dist/dashboard/launcher/LauncherOverlay.js +1 -1
- package/dist/dashboard/launcher/api.js +1 -1
- package/dist/dashboard/launcher/useLaunchJobs.js +1 -1
- package/dist/dashboard/panels/insights.js +1 -1
- package/dist/lib/active-org-refresh.js +1 -1
- package/dist/lib/agent-loop.js +1 -1
- package/dist/lib/antigravity-transcript.js +1 -1
- package/dist/lib/api-client.js +1 -1
- package/dist/lib/auth.js +1 -1
- package/dist/lib/editor-proxy-pins.js +1 -1
- package/dist/lib/ensure-api-key.js +1 -1
- package/dist/lib/ensure-fresh-token.js +1 -0
- package/dist/lib/eval-benchmark.js +1 -1
- package/dist/lib/eval-conversation-handler.js +1 -1
- package/dist/lib/eval-trigger-tester.js +1 -1
- package/dist/lib/handlers/cron-refresh-pricing.js +1 -1
- package/dist/lib/handlers/cron-suggest-instructions.js +1 -1
- package/dist/lib/handlers/process-announcement.js +1 -1
- package/dist/lib/handlers/process-changelog.js +1 -1
- package/dist/lib/handlers/process-conversation.js +1 -1
- package/dist/lib/handlers/process-eval.js +1 -1
- package/dist/lib/handlers/process-insights.js +1 -1
- package/dist/lib/handlers/process-launch.js +1 -1
- package/dist/lib/handlers/process-run-cleanup.js +1 -1
- package/dist/lib/handlers/process-session-goal.js +1 -1
- package/dist/lib/hooks-config.js +1 -1
- package/dist/lib/insights-prompts.js +1 -1
- package/dist/lib/manual-tasks.js +1 -1
- package/dist/lib/research-client.js +1 -1
- package/dist/lib/setup-steps.js +1 -1
- package/dist/lib/telemetry.js +1 -1
- package/dist/lib/terminal-target-heartbeat.js +1 -1
- package/oclif.manifest.json +145 -167
- package/package.json +7 -7
- package/dist/chunk-72XLQE3X.js +0 -2
- package/dist/chunk-AHRHCERJ.js +0 -1
- package/dist/chunk-DT4GKEP5.js +0 -5
- package/dist/chunk-E4SFUPYR.js +0 -15
- package/dist/chunk-FEHM5OKW.js +0 -1
- package/dist/chunk-HP2BUPGS.js +0 -24
- package/dist/chunk-LQRYQE6Q.js +0 -4
- package/dist/chunk-M6AJDVCL.js +0 -5
- package/dist/chunk-ML36XQW7.js +0 -1
- package/dist/chunk-NVOTOQBA.js +0 -1
- package/dist/chunk-RTEATXTP.js +0 -1
- package/dist/chunk-RVO4HV3M.js +0 -1
- package/dist/chunk-WJ3H73G6.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as i}from"../../chunk-PPKPCXJD.js";import"../../chunk-IZTIYR5Q.js";import"../../chunk-V44SRRYR.js";import"../../chunk-U6XEU573.js";import"../../chunk-VLOX6KOM.js";import"../../chunk-3AV3GTMP.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import{a as r}from"../../chunk-ZLLER3HP.js";var e=class extends i{static{r(this,"SuggestionsRefresh")}static description="Information about refreshing instruction suggestions";static examples=["<%= config.bin %> suggestions refresh"];async run(){this.log("Suggestions are recomputed automatically: a server-side cron enqueues a job daily at 04:30 UTC, and your background worker picks it up \u2014 there is no manual trigger."),this.log("Just make sure a worker is running: `rulemetric evals agent` (foreground), or install it persistently with `rulemetric service install --worker-only`.")}};export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as F}from"../chunk-DVN7GFJG.js";import{a as M}from"../chunk-
|
|
1
|
+
import{a as F}from"../chunk-DVN7GFJG.js";import{a as M}from"../chunk-O2SDD2WW.js";import{a as E}from"../chunk-GBMF3TP6.js";import{a as O}from"../chunk-WSCK4WNK.js";import{a as D}from"../chunk-4Z5ECCJE.js";import"../chunk-ARNZQBMX.js";import{a as B,b as S,c as R}from"../chunk-G6XGDHGC.js";import{a as $}from"../chunk-DCLWFGEA.js";import"../chunk-NBTC5FNV.js";import"../chunk-TU2AR6XO.js";import{a as u,b as T,d as a,e as v}from"../chunk-NJ5UED3H.js";import"../chunk-ZXF5NE54.js";import"../chunk-RDET7CKR.js";import"../chunk-ZR3MUNLS.js";import"../chunk-7DFNBRLY.js";import{a as X}from"../chunk-3AV3GTMP.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import{a as m}from"../chunk-ZLLER3HP.js";import{useState as w,useEffect as nt,useCallback as G,useRef as st}from"react";import{render as U,Box as c,Text as o,useInput as at,useApp as lt}from"ink";import{Fragment as ht,jsx as t,jsxs as h}from"react/jsx-runtime";var dt=90;function J(){let s=process.stdout.columns||80,n=Math.min(160,s),i=n>=dt,d=i?Math.floor(n/2):n,b=Math.max(6,Math.min(10,d-34));return{dashWidth:n,wide:i,halfWidth:d,barWidth:b}}m(J,"getLayout");function z({active:s,providerName:n}){return h(c,{justifyContent:"space-between",paddingX:1,children:[t(c,{gap:1,children:u.map(i=>t(o,{bold:s===i,color:s===i?a:v,children:s===i?`[ ${T[i]} ]`:` ${T[i]} `},i))}),n&&t(o,{color:a,bold:!0,children:n})]})}m(z,"PeriodTabs");function H({width:s,insightsFocused:n=!1}){return t(c,{borderStyle:"round",borderColor:v,width:s,justifyContent:"center",paddingX:1,children:h(o,{children:[t(o,{color:a,bold:!0,children:"<"}),t(o,{color:a,children:">"}),t(o,{dimColor:!0,children:" switch "}),t(o,{color:a,bold:!0,children:"q"}),t(o,{dimColor:!0,children:" quit "}),t(o,{color:a,bold:!0,children:"s"}),h(o,{dimColor:!0,children:[" ",n?"back":"suggestions"," "]}),t(o,{color:a,bold:!0,children:"1"}),t(o,{dimColor:!0,children:"-"}),t(o,{color:a,bold:!0,children:"5"}),t(o,{dimColor:!0,children:" period "}),t(o,{color:a,bold:!0,children:"r"}),t(o,{dimColor:!0,children:" refresh "}),t(o,{color:a,bold:!0,children:"n"}),t(o,{dimColor:!0,children:" new session "}),t(o,{color:a,bold:!0,children:"l"}),t(o,{dimColor:!0,children:" launcher"})]})})}m(H,"StatusBar");function ct({wide:s,width:n,children:i}){return s?t(c,{width:n,children:i}):t(ht,{children:i})}m(ct,"Row");function ut({initialLocal:s,initialApi:n,initialInstructions:i,initialPeriod:d,initialLauncherFocused:b=!1}){let{exit:j}=lt(),[e,L]=w(d),[K,Q]=w(s),[W,V]=w(n),[Z,tt]=w(i),[ot,k]=w(!1),[p,I]=w(!1),[Y,_]=w(b),et=X()?.orgSlug??null,y=st(null),it=J(),g=G(async()=>{k(!0);let[r,x,P]=await Promise.all([B(),S(),R()]);Q(r),V(x),tt(P),k(!1)},[]);nt(()=>{let r=setInterval(g,3e4);return()=>clearInterval(r)},[g]);let f=G(r=>{r!==e&&(L(r),y.current&&clearTimeout(y.current),y.current=setTimeout(g,300))},[e,g]);at((r,x)=>{if(Y)return;if(r==="q"){if(p){I(!1);return}j();return}if(r==="s"){I(A=>!A);return}if(x.escape&&p){I(!1);return}if(r==="l"&&!p){_(!0);return}if(p)return;if(r==="r"){g();return}if(r==="n"){import("../dist-FAVALJ5C.js").then(({getLauncher:A})=>{A("claude_code").launch({projectPath:process.cwd(),mode:"interactive"})});return}let P=u.indexOf(e);x.leftArrow?f(u[(P-1+u.length)%u.length]):x.rightArrow||x.tab?f(u[(P+1)%u.length]):r==="1"?f("today"):r==="2"?f("week"):r==="3"?f("30days"):r==="4"?f("month"):r==="5"&&f("all")});let{dashWidth:l,wide:q,halfWidth:rt,barWidth:C}=it,N=q?rt:l;return ot?h(c,{flexDirection:"column",width:l,children:[t(z,{active:e}),t(c,{borderStyle:"round",borderColor:a,paddingX:1,width:l,children:h(o,{dimColor:!0,children:["Loading ",T[e],"..."]})}),t(H,{width:l})]}):Y?t(c,{flexDirection:"column",width:l,children:t($,{onClose:()=>_(!1),activeOrg:et,defaultProjectPath:process.cwd(),width:l})}):h(c,{flexDirection:"column",width:l,children:[t(z,{active:e}),t(D,{local:K,api:W,label:T[e],width:l}),h(ct,{wide:q,width:l,children:[t(O,{api:W,width:N,barWidth:C}),t(F,{api:W,width:N,barWidth:C})]}),t(E,{instructions:Z,width:l,barWidth:C}),t(M,{api:W,width:l,focused:p}),t(H,{width:l,insightsFocused:p})]})}m(ut,"InteractiveDashboard");async function yt(s="week",n={}){let[i,d,b]=await Promise.all([B(),S(),R()]);if(process.stdin.isTTY&&process.stdout.isTTY){let{waitUntilExit:e}=U(t(ut,{initialLocal:i,initialApi:d,initialInstructions:b,initialPeriod:s,initialLauncherFocused:n.openLauncher??!1}));await e()}else{let e=J(),{unmount:L}=U(h(c,{flexDirection:"column",width:e.dashWidth,children:[t(D,{local:i,api:d,label:T[s],width:e.dashWidth}),t(O,{api:d,width:e.dashWidth,barWidth:e.barWidth}),t(F,{api:d,width:e.dashWidth,barWidth:e.barWidth}),t(E,{instructions:b,width:e.dashWidth,barWidth:e.barWidth}),t(M,{api:d,width:e.dashWidth})]}),{patchConsole:!1});L()}}m(yt,"renderDashboard");export{yt as renderDashboard};
|
package/dist/dashboard/data.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-G6XGDHGC.js";import"../chunk-7DFNBRLY.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{b as loadApiInsights,c as loadLinkedInstructions,a as loadLocalStats};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-DCLWFGEA.js";import"../../chunk-NBTC5FNV.js";import"../../chunk-TU2AR6XO.js";import"../../chunk-NJ5UED3H.js";import"../../chunk-ZXF5NE54.js";import"../../chunk-RDET7CKR.js";import"../../chunk-ZR3MUNLS.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{a as LauncherOverlay};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../chunk-
|
|
1
|
+
import{a,b,c,d}from"../../chunk-ZR3MUNLS.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{c as cancelLaunchJob,b as createLaunchJob,a as fetchLaunchJobs,d as listLaunchers};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-RDET7CKR.js";import"../../chunk-ZR3MUNLS.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{a as useLaunchJobs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-O2SDD2WW.js";import"../../chunk-ARNZQBMX.js";import"../../chunk-NJ5UED3H.js";import"../../chunk-ZLLER3HP.js";export{a as InsightsPanel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-VLOX6KOM.js";import"../chunk-3AV3GTMP.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{c as _resetRefreshAttempt,b as bootstrapActiveOrg,a as maybeRefreshActiveOrg};
|
package/dist/lib/agent-loop.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e}from"../chunk-43YBXX7R.js";import"../chunk-TIOKY2IA.js";import"../chunk-TQMG647B.js";import"../chunk-W2MOTOQE.js";import"../chunk-VAXRCSSH.js";import"../chunk-6QKI756T.js";import"../chunk-RSKQRVPJ.js";import"../chunk-AYUJY37O.js";import"../chunk-QFVGUZDO.js";import"../chunk-KAF3CYRW.js";import"../chunk-UF6US7VU.js";import"../chunk-DPFNJZUO.js";import"../chunk-RTWRHIKY.js";import"../chunk-2WLVDSAP.js";import"../chunk-ZL4MZMUK.js";import"../chunk-N7TGRFVZ.js";import"../chunk-H4SV7FN4.js";import"../chunk-NEACEHQD.js";import"../chunk-32EEBARV.js";import"../chunk-5RBLIVBF.js";import"../chunk-2TC6WCUT.js";import"../chunk-6V4WM73L.js";import"../chunk-HS7X43XE.js";import"../chunk-TDD7IOV2.js";import"../chunk-MODXEGCU.js";import"../chunk-7DFNBRLY.js";import"../chunk-N7ODX6PO.js";import"../chunk-67QCYUJU.js";import"../chunk-DSO2U4Y6.js";import"../chunk-CADKBP3D.js";import"../chunk-MGHFDHHM.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{b as CAPABILITIES,a as HANDLERS,c as availableCapabilities,d as pollForWork,e as runAgentLoop};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../chunk-RQ424GI6.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{d as classifyRecord,e as emitRecordsAsEvents,c as extractUserPrompt,b as findMaxStepIndex,a as readNewRecords,g as stateApi,f as tailAntigravityTranscript};
|
package/dist/lib/api-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i}from"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{b as ApiError,a as DEFAULT_API_URL,d as api,i as apiDelete,e as apiGet,h as apiPatch,f as apiPost,g as apiPut,c as getBaseUrl};
|
package/dist/lib/auth.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m}from"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{m as CONFIG_DIR,b as __resetEnvFileAuthCache,j as clearEnvFile,f as clearToken,c as createAuthStore,l as getDefaultConfigDir,g as isAuthenticated,a as loadEnvFileAuth,e as loadToken,k as removeApiKeyFromEnv,i as saveApiKey,h as saveEnvFile,d as saveToken};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-JAPCCEKF.js";import"../chunk-2JRDG4LJ.js";import"../chunk-I2DZGJRR.js";import"../chunk-ZLLER3HP.js";export{a as defaultEditorPinPaths,c as repinEditorProxies,b as unpinEditorProxies};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-XICLXXRH.js";import"../chunk-V44SRRYR.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{a as ensureDeviceApiKey};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-U6XEU573.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{a as ensureFreshToken};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-G63KMH6U.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{a as aggregateBenchmark,b as postBenchmark};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-HS7X43XE.js";import"../chunk-DSO2U4Y6.js";import"../chunk-CADKBP3D.js";import"../chunk-MGHFDHHM.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{a as processConversationJob};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-KV325CXF.js";import"../chunk-MGHFDHHM.js";import"../chunk-ZLLER3HP.js";export{a as TRIGGER_TEST_VALIDITY_WARNING,c as computeTriggerScore,b as testTrigger};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-KAF3CYRW.js";import"../../chunk-RTWRHIKY.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-67QCYUJU.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{a as cronRefreshPricing};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-DPFNJZUO.js";import"../../chunk-RTWRHIKY.js";import"../../chunk-ZL4MZMUK.js";import"../../chunk-TDD7IOV2.js";import"../../chunk-MODXEGCU.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-67QCYUJU.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{a as cronSuggestInstructions};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-2WLVDSAP.js";import"../../chunk-N7TGRFVZ.js";import"../../chunk-H4SV7FN4.js";import"../../chunk-5RBLIVBF.js";import"../../chunk-ZLLER3HP.js";export{a as processAnnouncement};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-JQTGQXUX.js";import"../../chunk-ZL4MZMUK.js";import"../../chunk-N7TGRFVZ.js";import"../../chunk-H4SV7FN4.js";import"../../chunk-ZLLER3HP.js";export{a as processChangelog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-NEACEHQD.js";import"../../chunk-HS7X43XE.js";import"../../chunk-DSO2U4Y6.js";import"../../chunk-CADKBP3D.js";import"../../chunk-MGHFDHHM.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{a as processConversation};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-32EEBARV.js";import"../../chunk-5RBLIVBF.js";import"../../chunk-2TC6WCUT.js";import"../../chunk-6V4WM73L.js";import"../../chunk-CADKBP3D.js";import"../../chunk-MGHFDHHM.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{a as processEval};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-TQMG647B.js";import"../../chunk-QFVGUZDO.js";import"../../chunk-RTWRHIKY.js";import"../../chunk-ZL4MZMUK.js";import"../../chunk-5RBLIVBF.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-67QCYUJU.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{a as processInsights};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-W2MOTOQE.js";import"../../chunk-6QKI756T.js";import"../../chunk-5RBLIVBF.js";import"../../chunk-7DFNBRLY.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{b as processLaunch,a as resolveWorktreeForLaunch};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-VAXRCSSH.js";import"../../chunk-6QKI756T.js";import"../../chunk-H4SV7FN4.js";import"../../chunk-5RBLIVBF.js";import"../../chunk-7DFNBRLY.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-ZLLER3HP.js";export{a as processRunCleanup};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-AYUJY37O.js";import"../../chunk-RTWRHIKY.js";import"../../chunk-H4SV7FN4.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-67QCYUJU.js";import"../../chunk-ZLLER3HP.js";export{a as processSessionGoal};
|
package/dist/lib/hooks-config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A,B,C,D,E,F,G,H,I,J,K,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-
|
|
1
|
+
import{A,B,C,D,E,F,G,H,I,J,K,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-2JRDG4LJ.js";import"../chunk-I2DZGJRR.js";import"../chunk-ZLLER3HP.js";export{j as RULEMETRIC_NO_PROXY,k as claudeSettingsInstallPath,o as cleanClaudeSettingsFiles,a as detectInstalledTools,G as generateAntigravityHooksConfig,d as generateClaudeCodeHooksConfig,c as generateCopilotHooksConfig,b as generateCursorHooksConfig,D as getCursorUserSettingsPath,A as getVSCodeUserSettingsPath,h as hasRulemetricClaudeHooks,y as installMacOSProxyEnv,g as mergeClaudeCodeHooks,n as migrateSharedClaudeSettings,e as readClaudeSettings,J as removeAntigravityHooks,K as removeAntigravityUserHooks,i as removeClaudeCodeHooks,x as removeCopilotHooks,s as removeCursorHooks,t as removeCursorUserHooks,F as removeCursorUserProxyConfig,m as removeRulemetricMachineState,l as removeRulemetricProxyEnv,w as removeVSCodeProxyConfig,C as removeVSCodeUserProxyConfig,z as uninstallMacOSProxyEnv,H as writeAntigravityHooks,I as writeAntigravityUserHooks,f as writeClaudeSettingsWithBackup,r as writeCopilotHooks,p as writeCursorHooks,u as writeCursorProxyConfig,q as writeCursorUserHooks,E as writeCursorUserProxyConfig,v as writeVSCodeProxyConfig,B as writeVSCodeUserProxyConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-QFVGUZDO.js";import"../chunk-ZLLER3HP.js";export{b as AT_A_GLANCE_PROMPT,c as FACET_GENERATION_PROMPT,a as RECOMMENDATION_PROMPTS};
|
package/dist/lib/manual-tasks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"../chunk-
|
|
1
|
+
import{a as l}from"../chunk-JQTGQXUX.js";import{a as u}from"../chunk-UF6US7VU.js";import{a as g}from"../chunk-DPFNJZUO.js";import"../chunk-RTWRHIKY.js";import"../chunk-ZL4MZMUK.js";import"../chunk-N7TGRFVZ.js";import"../chunk-H4SV7FN4.js";import"../chunk-TDD7IOV2.js";import"../chunk-MODXEGCU.js";import"../chunk-N7ODX6PO.js";import"../chunk-67QCYUJU.js";import{a as i}from"../chunk-GY5IJ4RS.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import{a as o}from"../chunk-ZLLER3HP.js";var c={cron_check_changelog:o(async(r,e)=>{let s=await l({logger:{info:o(t=>e.logger.info(t),"info"),warn:o(t=>e.logger.warn(t),"warn")}});e.logger.info(`[cron_check_changelog] result: created=${s.createdCount} skipped=${s.skippedCount}`)},"cron_check_changelog"),cron_suggest_instructions:o((r,e)=>g(r,e),"cron_suggest_instructions"),cron_refresh_skills:o((r,e)=>u(r,e),"cron_refresh_skills")},p=i.map(r=>{let e=c[r.name];if(!e)throw new Error(`manual-tasks: no handler registered for "${r.name}"`);return{...r,handler:e}});async function m(r){let e=p.find(n=>n.name===r);if(!e)return{name:r,durationMs:0,ok:!1,error:`Unknown task: ${r}`,logs:[]};let s=[],t={logger:{info:o(n=>s.push({level:"info",message:n}),"info"),warn:o(n=>s.push({level:"warn",message:n}),"warn"),error:o(n=>s.push({level:"error",message:n}),"error")},job:{attempts:0}},a=Date.now();try{return await e.handler({},t),{name:r,durationMs:Date.now()-a,ok:!0,logs:s}}catch(n){return{name:r,durationMs:Date.now()-a,ok:!1,error:n instanceof Error?n.message:String(n),logs:s}}}o(m,"runManualTask");export{p as MANUAL_TASKS,m as runManualTask};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-XXDZJ6YI.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{a as postObservation,b as postObservations};
|
package/dist/lib/setup-steps.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j}from"../chunk-U6ABMRT3.js";import"../chunk-2JRDG4LJ.js";import"../chunk-I2DZGJRR.js";import"../chunk-MVM6OGAF.js";import"../chunk-KKDHD4XA.js";import"../chunk-SZ62CP55.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{c as ALL_STEP_IDS,a as CORE_STEP_IDS,b as OPTIONAL_STEP_IDS,g as STEPS,j as computeStatus,d as defaultContext,h as getStep,i as isStepId,e as maskToken,f as renderDiff};
|
package/dist/lib/telemetry.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d}from"../chunk-
|
|
1
|
+
import{a,b,c,d}from"../chunk-V44SRRYR.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{d as emitErrorBeacon,c as emitSetupEvent,b as getDeviceId,a as telemetryDisabled};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-TIOKY2IA.js";import"../chunk-N7ODX6PO.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{a as probeAndReport,b as runOneHeartbeatCycle,c as startTerminalTargetHeartbeat};
|
package/oclif.manifest.json
CHANGED
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
"description": "Create a long-lived API key for CLI and proxy authentication",
|
|
494
494
|
"examples": [
|
|
495
495
|
"<%= config.bin %> auth create-key --name \"laptop\"",
|
|
496
|
-
"<%= config.bin %> auth create-key --name \"
|
|
496
|
+
"<%= config.bin %> auth create-key --name \"ci token\" --no-save"
|
|
497
497
|
],
|
|
498
498
|
"flags": {
|
|
499
499
|
"api-url": {
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
"char": "s",
|
|
519
519
|
"description": "Save key to ~/.config/rulemetric/env for hooks/proxy",
|
|
520
520
|
"name": "save",
|
|
521
|
-
"allowNo":
|
|
521
|
+
"allowNo": true,
|
|
522
522
|
"type": "boolean"
|
|
523
523
|
}
|
|
524
524
|
},
|
|
@@ -627,14 +627,15 @@
|
|
|
627
627
|
"aliases": [],
|
|
628
628
|
"args": {
|
|
629
629
|
"id": {
|
|
630
|
-
"description": "API key ID
|
|
631
|
-
"name": "id"
|
|
632
|
-
"required": true
|
|
630
|
+
"description": "API key ID, prefix (rm_xxxxxxxx), or name",
|
|
631
|
+
"name": "id"
|
|
633
632
|
}
|
|
634
633
|
},
|
|
635
|
-
"description": "Revoke an API key",
|
|
634
|
+
"description": "Revoke an API key (run with no argument to list active keys)",
|
|
636
635
|
"examples": [
|
|
637
|
-
"<%= config.bin %> auth revoke-key
|
|
636
|
+
"<%= config.bin %> auth revoke-key",
|
|
637
|
+
"<%= config.bin %> auth revoke-key rm_abc12345",
|
|
638
|
+
"<%= config.bin %> auth revoke-key \"my-laptop (auto)\""
|
|
638
639
|
],
|
|
639
640
|
"flags": {
|
|
640
641
|
"api-url": {
|
|
@@ -1243,13 +1244,6 @@
|
|
|
1243
1244
|
"multiple": false,
|
|
1244
1245
|
"type": "option"
|
|
1245
1246
|
},
|
|
1246
|
-
"expected-output": {
|
|
1247
|
-
"description": "Expected output description",
|
|
1248
|
-
"name": "expected-output",
|
|
1249
|
-
"hasDynamicHelp": false,
|
|
1250
|
-
"multiple": false,
|
|
1251
|
-
"type": "option"
|
|
1252
|
-
},
|
|
1253
1247
|
"expectations": {
|
|
1254
1248
|
"char": "e",
|
|
1255
1249
|
"description": "Assertion (repeatable)",
|
|
@@ -1430,22 +1424,6 @@
|
|
|
1430
1424
|
"multiple": false,
|
|
1431
1425
|
"type": "option"
|
|
1432
1426
|
},
|
|
1433
|
-
"runs-per-eval": {
|
|
1434
|
-
"description": "Runs per eval per iteration",
|
|
1435
|
-
"name": "runs-per-eval",
|
|
1436
|
-
"default": 1,
|
|
1437
|
-
"hasDynamicHelp": false,
|
|
1438
|
-
"multiple": false,
|
|
1439
|
-
"type": "option"
|
|
1440
|
-
},
|
|
1441
|
-
"parallel": {
|
|
1442
|
-
"description": "Number of parallel eval executions",
|
|
1443
|
-
"name": "parallel",
|
|
1444
|
-
"default": 1,
|
|
1445
|
-
"hasDynamicHelp": false,
|
|
1446
|
-
"multiple": false,
|
|
1447
|
-
"type": "option"
|
|
1448
|
-
},
|
|
1449
1427
|
"timeout": {
|
|
1450
1428
|
"description": "Timeout per eval in ms",
|
|
1451
1429
|
"name": "timeout",
|
|
@@ -1784,8 +1762,8 @@
|
|
|
1784
1762
|
},
|
|
1785
1763
|
"description": "Create a new instruction",
|
|
1786
1764
|
"examples": [
|
|
1787
|
-
"<%= config.bin %> instructions create ./my-instruction.md --name \"My Rules\"",
|
|
1788
|
-
"<%= config.bin %> instructions create ./rules.md -n \"Rules\" -s project"
|
|
1765
|
+
"<%= config.bin %> instructions create ./my-instruction.md --name \"My Rules\" --description \"Team coding rules\"",
|
|
1766
|
+
"<%= config.bin %> instructions create ./rules.md -n \"Rules\" -d \"Project rules\" -s project"
|
|
1789
1767
|
],
|
|
1790
1768
|
"flags": {
|
|
1791
1769
|
"api-url": {
|
|
@@ -3184,6 +3162,140 @@
|
|
|
3184
3162
|
"tail-transcript.js"
|
|
3185
3163
|
]
|
|
3186
3164
|
},
|
|
3165
|
+
"service:install": {
|
|
3166
|
+
"aliases": [],
|
|
3167
|
+
"args": {},
|
|
3168
|
+
"description": "Install RuleMetric services. Default (in a repo checkout): API + worker + gateway + capture proxy as launchd agents. With --worker-only: just the job worker, targeting the globally-installed CLI — no repo, no build (works from `npm i -g @rulemetric/cli`, macOS launchd or Linux systemd).",
|
|
3169
|
+
"examples": [
|
|
3170
|
+
"<%= config.bin %> service install",
|
|
3171
|
+
"<%= config.bin %> service install --port 3000",
|
|
3172
|
+
"<%= config.bin %> service install --skip-build",
|
|
3173
|
+
"<%= config.bin %> service install --no-proxy",
|
|
3174
|
+
"<%= config.bin %> service install --worker-only"
|
|
3175
|
+
],
|
|
3176
|
+
"flags": {
|
|
3177
|
+
"api-url": {
|
|
3178
|
+
"description": "Override API base URL",
|
|
3179
|
+
"env": "RULEMETRIC_API_URL",
|
|
3180
|
+
"hidden": true,
|
|
3181
|
+
"name": "api-url",
|
|
3182
|
+
"hasDynamicHelp": false,
|
|
3183
|
+
"multiple": false,
|
|
3184
|
+
"type": "option"
|
|
3185
|
+
},
|
|
3186
|
+
"port": {
|
|
3187
|
+
"char": "p",
|
|
3188
|
+
"description": "API server port",
|
|
3189
|
+
"name": "port",
|
|
3190
|
+
"default": 3000,
|
|
3191
|
+
"hasDynamicHelp": false,
|
|
3192
|
+
"multiple": false,
|
|
3193
|
+
"type": "option"
|
|
3194
|
+
},
|
|
3195
|
+
"force": {
|
|
3196
|
+
"char": "f",
|
|
3197
|
+
"description": "Overwrite existing service configuration and reclaim conflicting ports",
|
|
3198
|
+
"name": "force",
|
|
3199
|
+
"allowNo": false,
|
|
3200
|
+
"type": "boolean"
|
|
3201
|
+
},
|
|
3202
|
+
"skip-build": {
|
|
3203
|
+
"description": "Skip the pre-install workspace build (API/web/cli dist must already exist)",
|
|
3204
|
+
"name": "skip-build",
|
|
3205
|
+
"allowNo": false,
|
|
3206
|
+
"type": "boolean"
|
|
3207
|
+
},
|
|
3208
|
+
"no-proxy": {
|
|
3209
|
+
"description": "Skip gateway + mitmproxy plists (just install API + worker)",
|
|
3210
|
+
"name": "no-proxy",
|
|
3211
|
+
"allowNo": false,
|
|
3212
|
+
"type": "boolean"
|
|
3213
|
+
},
|
|
3214
|
+
"worker-only": {
|
|
3215
|
+
"description": "Install ONLY the job worker as a persistent service, targeting the globally-installed CLI (no repo checkout, no build, no API/gateway/proxy). Sources auth from ~/.config/rulemetric/env. macOS (launchd) + Linux (systemd --user).",
|
|
3216
|
+
"name": "worker-only",
|
|
3217
|
+
"allowNo": false,
|
|
3218
|
+
"type": "boolean"
|
|
3219
|
+
}
|
|
3220
|
+
},
|
|
3221
|
+
"hasDynamicHelp": false,
|
|
3222
|
+
"hiddenAliases": [],
|
|
3223
|
+
"id": "service:install",
|
|
3224
|
+
"pluginAlias": "@rulemetric/cli",
|
|
3225
|
+
"pluginName": "@rulemetric/cli",
|
|
3226
|
+
"pluginType": "core",
|
|
3227
|
+
"strict": true,
|
|
3228
|
+
"enableJsonFlag": false,
|
|
3229
|
+
"isESM": true,
|
|
3230
|
+
"relativePath": [
|
|
3231
|
+
"dist",
|
|
3232
|
+
"commands",
|
|
3233
|
+
"service",
|
|
3234
|
+
"install.js"
|
|
3235
|
+
]
|
|
3236
|
+
},
|
|
3237
|
+
"service:status": {
|
|
3238
|
+
"aliases": [],
|
|
3239
|
+
"args": {},
|
|
3240
|
+
"description": "Check the status of installed RuleMetric services (launchd on macOS; systemd --user worker on Linux)",
|
|
3241
|
+
"flags": {
|
|
3242
|
+
"api-url": {
|
|
3243
|
+
"description": "Override API base URL",
|
|
3244
|
+
"env": "RULEMETRIC_API_URL",
|
|
3245
|
+
"hidden": true,
|
|
3246
|
+
"name": "api-url",
|
|
3247
|
+
"hasDynamicHelp": false,
|
|
3248
|
+
"multiple": false,
|
|
3249
|
+
"type": "option"
|
|
3250
|
+
}
|
|
3251
|
+
},
|
|
3252
|
+
"hasDynamicHelp": false,
|
|
3253
|
+
"hiddenAliases": [],
|
|
3254
|
+
"id": "service:status",
|
|
3255
|
+
"pluginAlias": "@rulemetric/cli",
|
|
3256
|
+
"pluginName": "@rulemetric/cli",
|
|
3257
|
+
"pluginType": "core",
|
|
3258
|
+
"strict": true,
|
|
3259
|
+
"enableJsonFlag": false,
|
|
3260
|
+
"isESM": true,
|
|
3261
|
+
"relativePath": [
|
|
3262
|
+
"dist",
|
|
3263
|
+
"commands",
|
|
3264
|
+
"service",
|
|
3265
|
+
"status.js"
|
|
3266
|
+
]
|
|
3267
|
+
},
|
|
3268
|
+
"service:uninstall": {
|
|
3269
|
+
"aliases": [],
|
|
3270
|
+
"args": {},
|
|
3271
|
+
"description": "Remove RuleMetric services (macOS launchd: API/worker/gateway/proxy; Linux: the --worker-only systemd unit)",
|
|
3272
|
+
"flags": {
|
|
3273
|
+
"api-url": {
|
|
3274
|
+
"description": "Override API base URL",
|
|
3275
|
+
"env": "RULEMETRIC_API_URL",
|
|
3276
|
+
"hidden": true,
|
|
3277
|
+
"name": "api-url",
|
|
3278
|
+
"hasDynamicHelp": false,
|
|
3279
|
+
"multiple": false,
|
|
3280
|
+
"type": "option"
|
|
3281
|
+
}
|
|
3282
|
+
},
|
|
3283
|
+
"hasDynamicHelp": false,
|
|
3284
|
+
"hiddenAliases": [],
|
|
3285
|
+
"id": "service:uninstall",
|
|
3286
|
+
"pluginAlias": "@rulemetric/cli",
|
|
3287
|
+
"pluginName": "@rulemetric/cli",
|
|
3288
|
+
"pluginType": "core",
|
|
3289
|
+
"strict": true,
|
|
3290
|
+
"enableJsonFlag": false,
|
|
3291
|
+
"isESM": true,
|
|
3292
|
+
"relativePath": [
|
|
3293
|
+
"dist",
|
|
3294
|
+
"commands",
|
|
3295
|
+
"service",
|
|
3296
|
+
"uninstall.js"
|
|
3297
|
+
]
|
|
3298
|
+
},
|
|
3187
3299
|
"sessions:analyze": {
|
|
3188
3300
|
"aliases": [],
|
|
3189
3301
|
"args": {
|
|
@@ -3963,141 +4075,7 @@
|
|
|
3963
4075
|
"suggestions",
|
|
3964
4076
|
"refresh.js"
|
|
3965
4077
|
]
|
|
3966
|
-
},
|
|
3967
|
-
"service:install": {
|
|
3968
|
-
"aliases": [],
|
|
3969
|
-
"args": {},
|
|
3970
|
-
"description": "Install RuleMetric services. Default (in a repo checkout): API + worker + gateway + capture proxy as launchd agents. With --worker-only: just the job worker, targeting the globally-installed CLI — no repo, no build (works from `npm i -g @rulemetric/cli`, macOS launchd or Linux systemd).",
|
|
3971
|
-
"examples": [
|
|
3972
|
-
"<%= config.bin %> service install",
|
|
3973
|
-
"<%= config.bin %> service install --port 3000",
|
|
3974
|
-
"<%= config.bin %> service install --skip-build",
|
|
3975
|
-
"<%= config.bin %> service install --no-proxy",
|
|
3976
|
-
"<%= config.bin %> service install --worker-only"
|
|
3977
|
-
],
|
|
3978
|
-
"flags": {
|
|
3979
|
-
"api-url": {
|
|
3980
|
-
"description": "Override API base URL",
|
|
3981
|
-
"env": "RULEMETRIC_API_URL",
|
|
3982
|
-
"hidden": true,
|
|
3983
|
-
"name": "api-url",
|
|
3984
|
-
"hasDynamicHelp": false,
|
|
3985
|
-
"multiple": false,
|
|
3986
|
-
"type": "option"
|
|
3987
|
-
},
|
|
3988
|
-
"port": {
|
|
3989
|
-
"char": "p",
|
|
3990
|
-
"description": "API server port",
|
|
3991
|
-
"name": "port",
|
|
3992
|
-
"default": 3000,
|
|
3993
|
-
"hasDynamicHelp": false,
|
|
3994
|
-
"multiple": false,
|
|
3995
|
-
"type": "option"
|
|
3996
|
-
},
|
|
3997
|
-
"force": {
|
|
3998
|
-
"char": "f",
|
|
3999
|
-
"description": "Overwrite existing service configuration and reclaim conflicting ports",
|
|
4000
|
-
"name": "force",
|
|
4001
|
-
"allowNo": false,
|
|
4002
|
-
"type": "boolean"
|
|
4003
|
-
},
|
|
4004
|
-
"skip-build": {
|
|
4005
|
-
"description": "Skip the pre-install workspace build (API/web/cli dist must already exist)",
|
|
4006
|
-
"name": "skip-build",
|
|
4007
|
-
"allowNo": false,
|
|
4008
|
-
"type": "boolean"
|
|
4009
|
-
},
|
|
4010
|
-
"no-proxy": {
|
|
4011
|
-
"description": "Skip gateway + mitmproxy plists (just install API + worker)",
|
|
4012
|
-
"name": "no-proxy",
|
|
4013
|
-
"allowNo": false,
|
|
4014
|
-
"type": "boolean"
|
|
4015
|
-
},
|
|
4016
|
-
"worker-only": {
|
|
4017
|
-
"description": "Install ONLY the job worker as a persistent service, targeting the globally-installed CLI (no repo checkout, no build, no API/gateway/proxy). Sources auth from ~/.config/rulemetric/env. macOS (launchd) + Linux (systemd --user).",
|
|
4018
|
-
"name": "worker-only",
|
|
4019
|
-
"allowNo": false,
|
|
4020
|
-
"type": "boolean"
|
|
4021
|
-
}
|
|
4022
|
-
},
|
|
4023
|
-
"hasDynamicHelp": false,
|
|
4024
|
-
"hiddenAliases": [],
|
|
4025
|
-
"id": "service:install",
|
|
4026
|
-
"pluginAlias": "@rulemetric/cli",
|
|
4027
|
-
"pluginName": "@rulemetric/cli",
|
|
4028
|
-
"pluginType": "core",
|
|
4029
|
-
"strict": true,
|
|
4030
|
-
"enableJsonFlag": false,
|
|
4031
|
-
"isESM": true,
|
|
4032
|
-
"relativePath": [
|
|
4033
|
-
"dist",
|
|
4034
|
-
"commands",
|
|
4035
|
-
"service",
|
|
4036
|
-
"install.js"
|
|
4037
|
-
]
|
|
4038
|
-
},
|
|
4039
|
-
"service:status": {
|
|
4040
|
-
"aliases": [],
|
|
4041
|
-
"args": {},
|
|
4042
|
-
"description": "Check the status of all RuleMetric launchd services",
|
|
4043
|
-
"flags": {
|
|
4044
|
-
"api-url": {
|
|
4045
|
-
"description": "Override API base URL",
|
|
4046
|
-
"env": "RULEMETRIC_API_URL",
|
|
4047
|
-
"hidden": true,
|
|
4048
|
-
"name": "api-url",
|
|
4049
|
-
"hasDynamicHelp": false,
|
|
4050
|
-
"multiple": false,
|
|
4051
|
-
"type": "option"
|
|
4052
|
-
}
|
|
4053
|
-
},
|
|
4054
|
-
"hasDynamicHelp": false,
|
|
4055
|
-
"hiddenAliases": [],
|
|
4056
|
-
"id": "service:status",
|
|
4057
|
-
"pluginAlias": "@rulemetric/cli",
|
|
4058
|
-
"pluginName": "@rulemetric/cli",
|
|
4059
|
-
"pluginType": "core",
|
|
4060
|
-
"strict": true,
|
|
4061
|
-
"enableJsonFlag": false,
|
|
4062
|
-
"isESM": true,
|
|
4063
|
-
"relativePath": [
|
|
4064
|
-
"dist",
|
|
4065
|
-
"commands",
|
|
4066
|
-
"service",
|
|
4067
|
-
"status.js"
|
|
4068
|
-
]
|
|
4069
|
-
},
|
|
4070
|
-
"service:uninstall": {
|
|
4071
|
-
"aliases": [],
|
|
4072
|
-
"args": {},
|
|
4073
|
-
"description": "Remove RuleMetric services (macOS launchd: API/worker/gateway/proxy; Linux: the --worker-only systemd unit)",
|
|
4074
|
-
"flags": {
|
|
4075
|
-
"api-url": {
|
|
4076
|
-
"description": "Override API base URL",
|
|
4077
|
-
"env": "RULEMETRIC_API_URL",
|
|
4078
|
-
"hidden": true,
|
|
4079
|
-
"name": "api-url",
|
|
4080
|
-
"hasDynamicHelp": false,
|
|
4081
|
-
"multiple": false,
|
|
4082
|
-
"type": "option"
|
|
4083
|
-
}
|
|
4084
|
-
},
|
|
4085
|
-
"hasDynamicHelp": false,
|
|
4086
|
-
"hiddenAliases": [],
|
|
4087
|
-
"id": "service:uninstall",
|
|
4088
|
-
"pluginAlias": "@rulemetric/cli",
|
|
4089
|
-
"pluginName": "@rulemetric/cli",
|
|
4090
|
-
"pluginType": "core",
|
|
4091
|
-
"strict": true,
|
|
4092
|
-
"enableJsonFlag": false,
|
|
4093
|
-
"isESM": true,
|
|
4094
|
-
"relativePath": [
|
|
4095
|
-
"dist",
|
|
4096
|
-
"commands",
|
|
4097
|
-
"service",
|
|
4098
|
-
"uninstall.js"
|
|
4099
|
-
]
|
|
4100
4078
|
}
|
|
4101
4079
|
},
|
|
4102
|
-
"version": "0.7.
|
|
4080
|
+
"version": "0.7.5"
|
|
4103
4081
|
}
|