@ainyc/canonry 4.184.0 → 4.186.0
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/assets/assets/{AuditHistoryPanel-BoQzQLdL.js → AuditHistoryPanel-B2OTEbWF.js} +1 -1
- package/assets/assets/{BacklinksPage-BMtZIpQj.js → BacklinksPage-B0Bz26IR.js} +1 -1
- package/assets/assets/{HistoryPage-CC4O1rGM.js → HistoryPage-DMIiplrT.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-C08ujTv1.js → MeasurementPropertyPage-Z1m50P06.js} +1 -1
- package/assets/assets/ProjectPage-wcTL1Dim.js +9 -0
- package/assets/assets/{RunRow-CKp9zNzz.js → RunRow-2oIMBy4X.js} +1 -1
- package/assets/assets/{RunsPage-w-jscgI3.js → RunsPage-D82txDn4.js} +1 -1
- package/assets/assets/{SettingsPage-CtfgpUHc.js → SettingsPage-B3SWwskL.js} +1 -1
- package/assets/assets/{SiteHealthSection-C3M1bR9o.js → SiteHealthSection-BwAsiVkw.js} +3 -3
- package/assets/assets/{TrafficPage-Bl0vIyDA.js → TrafficPage-s7agZioX.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-B7jgTW9v.js → TrafficSourceDetailPage-CAQu3xtO.js} +1 -1
- package/assets/assets/{extract-error-message-BViVqAMF.js → extract-error-message-PO1V0nPB.js} +1 -1
- package/assets/assets/index-DBzUEmVj.js +86 -0
- package/assets/assets/index-SMQQ_3Nk.css +1 -0
- package/assets/assets/{react-sigma_core.esm.min-COiFFO4S.js → react-sigma_core.esm.min-DawtX7pg.js} +1 -1
- package/assets/assets/vendor-lucide-BovNTc41.js +1 -0
- package/assets/index.html +3 -3
- package/dist/{chunk-AKWR2NKJ.js → chunk-4EMNAQR6.js} +4 -4
- package/dist/{chunk-3BF373KE.js → chunk-OVJJDBZY.js} +2 -2
- package/dist/{chunk-ROSGBFKI.js → chunk-SCNSP2GV.js} +135 -2
- package/dist/{chunk-DU5Q5ZOX.js → chunk-U7XFRKLH.js} +5009 -4411
- package/dist/{chunk-7ATZMDG2.js → chunk-UXZCO5WK.js} +5377 -2339
- package/dist/cli.js +7754 -7710
- package/dist/index.js +4 -4
- package/dist/{intelligence-service-BQIIWWQJ.js → intelligence-service-WTRLQG5V.js} +2 -2
- package/dist/mcp.js +3 -3
- package/package.json +10 -10
- package/assets/assets/ProjectPage-BUddJlIf.js +0 -9
- package/assets/assets/index-D5UC9w71.css +0 -1
- package/assets/assets/index-aLn_-ngN.js +0 -86
- package/assets/assets/vendor-lucide-XjCNFK0x.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as h}from"./vendor-tanstack-CYBjbqVr.js";const _=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),M=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,o,c)=>c?c.toUpperCase():o.toLowerCase()),y=a=>{const t=M(a);return t.charAt(0).toUpperCase()+t.slice(1)},r=(...a)=>a.filter((t,o,c)=>!!t&&t.trim()!==""&&c.indexOf(t)===o).join(" ").trim(),m=a=>{for(const t in a)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var v={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const u=h.forwardRef(({color:a="currentColor",size:t=24,strokeWidth:o=2,absoluteStrokeWidth:c,className:s="",children:n,iconNode:i,...d},k)=>h.createElement("svg",{ref:k,...v,width:t,height:t,stroke:a,strokeWidth:c?Number(o)*24/Number(t):o,className:r("lucide",s),...!n&&!m(d)&&{"aria-hidden":"true"},...d},[...i.map(([p,l])=>h.createElement(p,l)),...Array.isArray(n)?n:[n]]));const e=(a,t)=>{const o=h.forwardRef(({className:c,...s},n)=>h.createElement(u,{ref:n,iconNode:t,className:r(`lucide-${_(y(a))}`,`lucide-${a}`,c),...s}));return o.displayName=y(a),o};const x=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],p1=e("arrow-left",x);const g=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],l1=e("arrow-right",g);const w=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],_1=e("arrow-up",w);const $=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],M1=e("book-open",$);const N=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],m1=e("check",N);const f=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],v1=e("chevron-down",f);const z=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],u1=e("chevron-left",z);const q=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],x1=e("chevron-right",q);const C=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],g1=e("circle-check",C);const j=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],w1=e("circle-question-mark",j);const b=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],$1=e("cloud",b);const A=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],N1=e("copy",A);const L=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],f1=e("download",L);const H=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],z1=e("external-link",H);const R=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],q1=e("file-text",R);const V=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],C1=e("github",V);const P=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],j1=e("globe",P);const E=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],b1=e("history",E);const Z=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],A1=e("layout-dashboard",Z);const S=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],L1=e("link-2",S);const U=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],H1=e("loader-circle",U);const B=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],R1=e("maximize-2",B);const D=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],V1=e("menu",D);const T=[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]],P1=e("minimize-2",T);const G=[["path",{d:"M5 12h14",key:"1ays0h"}]],E1=e("minus",G);const I=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],Z1=e("panel-left-close",I);const W=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],S1=e("panel-left-open",W);const F=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],U1=e("pencil",F);const O=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],B1=e("play",O);const J=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],D1=e("plus",J);const K=[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]],T1=e("radar",K);const Q=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],G1=e("radio",Q);const X=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],I1=e("refresh-cw",X);const Y=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],W1=e("rocket",Y);const e1=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],F1=e("rotate-ccw",e1);const t1=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],O1=e("scan-search",t1);const a1=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],J1=e("search",a1);const o1=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],K1=e("settings-2",o1);const c1=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Q1=e("settings",c1);const n1=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],X1=e("trash-2",n1);const h1=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Y1=e("triangle-alert",h1);const s1=[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]],e2=e("triangle",s1);const d1=[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]],t2=e("unplug",d1);const y1=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],a2=e("upload",y1);const r1=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],o2=e("wrench",r1);const i1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],c2=e("x",i1);export{l1 as A,M1 as B,v1 as C,f1 as D,z1 as E,q1 as F,j1 as G,b1 as H,u1 as I,O1 as J,K1 as K,H1 as L,P1 as M,B1 as P,G1 as R,J1 as S,Y1 as T,t2 as U,o2 as W,c2 as X,F1 as a,R1 as b,_1 as c,m1 as d,x1 as e,N1 as f,A1 as g,T1 as h,L1 as i,Q1 as j,W1 as k,C1 as l,S1 as m,Z1 as n,V1 as o,D1 as p,I1 as q,a2 as r,g1 as s,w1 as t,E1 as u,U1 as v,X1 as w,$1 as x,e2 as y,p1 as z};
|
package/assets/index.html
CHANGED
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32.png" />
|
|
13
13
|
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
|
|
14
14
|
<title>Canonry</title>
|
|
15
|
-
<script type="module" crossorigin src="./assets/index-
|
|
15
|
+
<script type="module" crossorigin src="./assets/index-DBzUEmVj.js"></script>
|
|
16
16
|
<link rel="modulepreload" crossorigin href="./assets/vendor-tanstack-CYBjbqVr.js">
|
|
17
17
|
<link rel="modulepreload" crossorigin href="./assets/vendor-radix-BpmvLvpp.js">
|
|
18
18
|
<link rel="modulepreload" crossorigin href="./assets/vendor-recharts-FA0uySU7.js">
|
|
19
|
-
<link rel="modulepreload" crossorigin href="./assets/vendor-lucide-
|
|
19
|
+
<link rel="modulepreload" crossorigin href="./assets/vendor-lucide-BovNTc41.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="./assets/vendor-markdown-9tTeP8v7.js">
|
|
21
21
|
<link rel="modulepreload" crossorigin href="./assets/vendor-yaml-GWJz5H2G.js">
|
|
22
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
22
|
+
<link rel="stylesheet" crossorigin href="./assets/index-SMQQ_3Nk.css">
|
|
23
23
|
</head>
|
|
24
24
|
<body>
|
|
25
25
|
<div id="root"></div>
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
loadConfig,
|
|
12
12
|
loadConfigRaw,
|
|
13
13
|
saveConfigPatch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SCNSP2GV.js";
|
|
15
15
|
import {
|
|
16
16
|
CC_CACHE_DIR,
|
|
17
17
|
DUCKDB_SPEC,
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
siteCrawlSnapshots,
|
|
159
159
|
toAlertView,
|
|
160
160
|
usageCounters
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-UXZCO5WK.js";
|
|
162
162
|
import {
|
|
163
163
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
164
164
|
AGENT_PROVIDER_IDS,
|
|
@@ -299,7 +299,7 @@ import {
|
|
|
299
299
|
validationError,
|
|
300
300
|
winnabilityClassLabel,
|
|
301
301
|
withRetry
|
|
302
|
-
} from "./chunk-
|
|
302
|
+
} from "./chunk-U7XFRKLH.js";
|
|
303
303
|
|
|
304
304
|
// src/telemetry.ts
|
|
305
305
|
import crypto from "crypto";
|
|
@@ -11903,7 +11903,7 @@ function readStoredGroundingSources(rawResponse) {
|
|
|
11903
11903
|
return result;
|
|
11904
11904
|
}
|
|
11905
11905
|
async function backfillInsightsCommand(project, opts) {
|
|
11906
|
-
const { IntelligenceService: IntelligenceService2 } = await import("./intelligence-service-
|
|
11906
|
+
const { IntelligenceService: IntelligenceService2 } = await import("./intelligence-service-WTRLQG5V.js");
|
|
11907
11907
|
const config = loadConfig();
|
|
11908
11908
|
const db = createClient(config.database);
|
|
11909
11909
|
migrate(db);
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
installSkills,
|
|
6
6
|
loadConfigRaw,
|
|
7
7
|
saveConfigPatch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SCNSP2GV.js";
|
|
9
9
|
import {
|
|
10
10
|
SKILL_MANIFEST_FILENAME,
|
|
11
11
|
SkillsClients
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-U7XFRKLH.js";
|
|
13
13
|
|
|
14
14
|
// src/skills-autosync.ts
|
|
15
15
|
import fs from "fs";
|
|
@@ -83,6 +83,8 @@ import {
|
|
|
83
83
|
providerQuotaPolicySchema,
|
|
84
84
|
queryBatchRequestSchema,
|
|
85
85
|
queryGenerateRequestSchema,
|
|
86
|
+
queryTrackingCommitRequestSchema,
|
|
87
|
+
queryTrackingPreviewRequestSchema,
|
|
86
88
|
reportPeriodSchema,
|
|
87
89
|
researchRunCreateSchema,
|
|
88
90
|
runTriggerRequestSchema,
|
|
@@ -93,8 +95,9 @@ import {
|
|
|
93
95
|
trafficConnectVercelRequestSchema,
|
|
94
96
|
trafficConnectWordpressRequestSchema,
|
|
95
97
|
trafficEventKindSchema,
|
|
96
|
-
trafficSeriesGranularitySchema
|
|
97
|
-
|
|
98
|
+
trafficSeriesGranularitySchema,
|
|
99
|
+
visibilityReportRequestSchema
|
|
100
|
+
} from "./chunk-U7XFRKLH.js";
|
|
98
101
|
|
|
99
102
|
// src/cli-error.ts
|
|
100
103
|
function isMachineFormat(format) {
|
|
@@ -2027,6 +2030,18 @@ var getApiV1ProjectsByNameMeasurementOverview = (options) => {
|
|
|
2027
2030
|
...options
|
|
2028
2031
|
});
|
|
2029
2032
|
};
|
|
2033
|
+
var getApiV1ProjectsByNameVisibilityReport = (options) => {
|
|
2034
|
+
return (options.client ?? client).get({
|
|
2035
|
+
security: [
|
|
2036
|
+
{
|
|
2037
|
+
scheme: "bearer",
|
|
2038
|
+
type: "http"
|
|
2039
|
+
}
|
|
2040
|
+
],
|
|
2041
|
+
url: "/api/v1/projects/{name}/visibility-report",
|
|
2042
|
+
...options
|
|
2043
|
+
});
|
|
2044
|
+
};
|
|
2030
2045
|
var getApiV1ProjectsByNameMeasurementPropertyEvidence = (options) => {
|
|
2031
2046
|
return (options.client ?? client).get({
|
|
2032
2047
|
security: [
|
|
@@ -2259,6 +2274,50 @@ var postApiV1ProjectsByNameResearchRuns = (options) => {
|
|
|
2259
2274
|
}
|
|
2260
2275
|
});
|
|
2261
2276
|
};
|
|
2277
|
+
var getApiV1ProjectsByNameQueryTracking = (options) => {
|
|
2278
|
+
return (options.client ?? client).get({
|
|
2279
|
+
security: [
|
|
2280
|
+
{
|
|
2281
|
+
scheme: "bearer",
|
|
2282
|
+
type: "http"
|
|
2283
|
+
}
|
|
2284
|
+
],
|
|
2285
|
+
url: "/api/v1/projects/{name}/query-tracking",
|
|
2286
|
+
...options
|
|
2287
|
+
});
|
|
2288
|
+
};
|
|
2289
|
+
var postApiV1ProjectsByNameQueryTrackingPreview = (options) => {
|
|
2290
|
+
return (options.client ?? client).post({
|
|
2291
|
+
security: [
|
|
2292
|
+
{
|
|
2293
|
+
scheme: "bearer",
|
|
2294
|
+
type: "http"
|
|
2295
|
+
}
|
|
2296
|
+
],
|
|
2297
|
+
url: "/api/v1/projects/{name}/query-tracking/preview",
|
|
2298
|
+
...options,
|
|
2299
|
+
headers: {
|
|
2300
|
+
"Content-Type": "application/json",
|
|
2301
|
+
...options.headers
|
|
2302
|
+
}
|
|
2303
|
+
});
|
|
2304
|
+
};
|
|
2305
|
+
var postApiV1ProjectsByNameQueryTrackingCommit = (options) => {
|
|
2306
|
+
return (options.client ?? client).post({
|
|
2307
|
+
security: [
|
|
2308
|
+
{
|
|
2309
|
+
scheme: "bearer",
|
|
2310
|
+
type: "http"
|
|
2311
|
+
}
|
|
2312
|
+
],
|
|
2313
|
+
url: "/api/v1/projects/{name}/query-tracking/commit",
|
|
2314
|
+
...options,
|
|
2315
|
+
headers: {
|
|
2316
|
+
"Content-Type": "application/json",
|
|
2317
|
+
...options.headers
|
|
2318
|
+
}
|
|
2319
|
+
});
|
|
2320
|
+
};
|
|
2262
2321
|
var getApiV1ProjectsByNameResearchRunsByRunId = (options) => {
|
|
2263
2322
|
return (options.client ?? client).get({
|
|
2264
2323
|
security: [
|
|
@@ -7975,6 +8034,33 @@ var ApiClient = class {
|
|
|
7975
8034
|
})
|
|
7976
8035
|
);
|
|
7977
8036
|
}
|
|
8037
|
+
async getVisibilityReport(project, request) {
|
|
8038
|
+
return this.invoke(() => getApiV1ProjectsByNameVisibilityReport({
|
|
8039
|
+
client: this.heyClient,
|
|
8040
|
+
path: { name: project },
|
|
8041
|
+
query: request
|
|
8042
|
+
}));
|
|
8043
|
+
}
|
|
8044
|
+
async getQueryTrackingWorkspace(project) {
|
|
8045
|
+
return this.invoke(() => getApiV1ProjectsByNameQueryTracking({
|
|
8046
|
+
client: this.heyClient,
|
|
8047
|
+
path: { name: project }
|
|
8048
|
+
}));
|
|
8049
|
+
}
|
|
8050
|
+
async previewQueryTracking(project, request) {
|
|
8051
|
+
return this.invoke(() => postApiV1ProjectsByNameQueryTrackingPreview({
|
|
8052
|
+
client: this.heyClient,
|
|
8053
|
+
path: { name: project },
|
|
8054
|
+
body: request
|
|
8055
|
+
}));
|
|
8056
|
+
}
|
|
8057
|
+
async commitQueryTracking(project, request) {
|
|
8058
|
+
return this.invoke(() => postApiV1ProjectsByNameQueryTrackingCommit({
|
|
8059
|
+
client: this.heyClient,
|
|
8060
|
+
path: { name: project },
|
|
8061
|
+
body: request
|
|
8062
|
+
}));
|
|
8063
|
+
}
|
|
7978
8064
|
async getDiscoveryHarvest(project, sessionId, opts) {
|
|
7979
8065
|
return this.invoke(
|
|
7980
8066
|
() => getApiV1ProjectsByNameDiscoverSessionsByIdHarvest({
|
|
@@ -9550,6 +9636,53 @@ var AGENT_WEBHOOK_EVENTS = [
|
|
|
9550
9636
|
notificationEventSchema.enum["citation.gained"]
|
|
9551
9637
|
];
|
|
9552
9638
|
var canonryMcpTools = [
|
|
9639
|
+
defineTool({
|
|
9640
|
+
name: "canonry_visibility_report",
|
|
9641
|
+
title: "Read scoped AI visibility",
|
|
9642
|
+
description: "Read stored visibility for a site, group, market or property. Branded, non-brand and unclassified answers remain separate populations. The response owns rates, trends, query performance, answers and competitors under one frozen measured definition. Material plan changes retain the prior measured revision; pending assignments are explicit. Search filters the query list only. Reuse cursors with identical selection. Never starts a sweep.",
|
|
9643
|
+
access: "read",
|
|
9644
|
+
tier: "monitoring",
|
|
9645
|
+
inputSchema: visibilityReportRequestSchema.safeExtend({ project: projectNameSchema }),
|
|
9646
|
+
annotations: readAnnotations(),
|
|
9647
|
+
openApiOperations: ["GET /api/v1/projects/{name}/visibility-report"],
|
|
9648
|
+
handler: (client2, input) => {
|
|
9649
|
+
const { project, ...selection } = input;
|
|
9650
|
+
return client2.getVisibilityReport(project, selection);
|
|
9651
|
+
}
|
|
9652
|
+
}),
|
|
9653
|
+
defineTool({
|
|
9654
|
+
name: "canonry_query_tracking_workspace",
|
|
9655
|
+
title: "Read query assignments",
|
|
9656
|
+
description: "Read tracked queries, exact assignments, saved research sources and the current workspace version for a simple site or advanced portfolio.",
|
|
9657
|
+
access: "read",
|
|
9658
|
+
tier: "setup",
|
|
9659
|
+
inputSchema: projectInputSchema,
|
|
9660
|
+
annotations: readAnnotations(),
|
|
9661
|
+
openApiOperations: ["GET /api/v1/projects/{name}/query-tracking"],
|
|
9662
|
+
handler: (client2, input) => client2.getQueryTrackingWorkspace(input.project)
|
|
9663
|
+
}),
|
|
9664
|
+
defineTool({
|
|
9665
|
+
name: "canonry_query_tracking_preview",
|
|
9666
|
+
title: "Preview query assignments",
|
|
9667
|
+
description: "Preview manual, template or saved research additions and assignment removals against the exact workspace version. Returns a review token, deduplicated change and next-sweep workload. Does not publish or start provider work. This POST requires write access.",
|
|
9668
|
+
access: "write",
|
|
9669
|
+
tier: "setup",
|
|
9670
|
+
inputSchema: z4.object({ project: projectNameSchema, request: queryTrackingPreviewRequestSchema }).strict(),
|
|
9671
|
+
annotations: readAnnotations(),
|
|
9672
|
+
openApiOperations: ["POST /api/v1/projects/{name}/query-tracking/preview"],
|
|
9673
|
+
handler: (client2, input) => client2.previewQueryTracking(input.project, input.request)
|
|
9674
|
+
}),
|
|
9675
|
+
defineTool({
|
|
9676
|
+
name: "canonry_query_tracking_commit",
|
|
9677
|
+
title: "Publish reviewed query assignments",
|
|
9678
|
+
description: "Commit the exact reviewed mutation using its workspace version and preview token. No-op changes do not publish a revision. A successful publication starts zero provider calls; new assignments await the next project-wide sweep. Use the returned revision rather than predicting one.",
|
|
9679
|
+
access: "write",
|
|
9680
|
+
tier: "setup",
|
|
9681
|
+
inputSchema: z4.object({ project: projectNameSchema, request: queryTrackingCommitRequestSchema }).strict(),
|
|
9682
|
+
annotations: writeAnnotations({ idempotentHint: true, destructiveHint: true }),
|
|
9683
|
+
openApiOperations: ["POST /api/v1/projects/{name}/query-tracking/commit"],
|
|
9684
|
+
handler: (client2, input) => client2.commitQueryTracking(input.project, input.request)
|
|
9685
|
+
}),
|
|
9553
9686
|
defineTool({
|
|
9554
9687
|
name: "canonry_projects_list",
|
|
9555
9688
|
title: "List Canonry projects",
|