@canonry/canonry 7.57.2 → 7.58.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/README.md +28 -0
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +6 -0
- package/assets/assets/{AgentSetupPage-Cc_zsHR0.js → AgentSetupPage-DZBjF9HP.js} +3 -3
- package/assets/assets/{AuditHistoryPanel-vMTAZBj_.js → AuditHistoryPanel-DAY6GbzH.js} +1 -1
- package/assets/assets/{BacklinksPage-CbploUJf.js → BacklinksPage-Ci9s8osY.js} +1 -1
- package/assets/assets/{HistoryPage-m-59cu3N.js → HistoryPage-BM7PM3Ow.js} +1 -1
- package/assets/assets/MeasurementPropertyPage-DgMIc9zm.js +4 -0
- package/assets/assets/ProjectPage-OOpNW437.js +9 -0
- package/assets/assets/RunsPage-B6dUljTT.js +1 -0
- package/assets/assets/{SettingsPage-UT9KpfMj.js → SettingsPage-DjhPnQNP.js} +1 -1
- package/assets/assets/SiteHealthSection-CQipxjCq.js +2 -0
- package/assets/assets/ToneBadge-Bk7cBexZ.js +60 -0
- package/assets/assets/{TrafficPage-BPwgnTWA.js → TrafficPage-TceTtJmu.js} +2 -2
- package/assets/assets/{TrafficSourceDetailPage-D7_b16wr.js → TrafficSourceDetailPage-BVAVo-JO.js} +1 -1
- package/assets/assets/{account-context-BAJ4-K7g.js → account-context-ChEngAKj.js} +1 -1
- package/assets/assets/{card-OSE9muoF.js → card-qOcJFZhl.js} +1 -1
- package/assets/assets/{extract-error-message-CmAMG5OS.js → extract-error-message-bWEYiDDO.js} +1 -1
- package/assets/assets/{format-helpers-k8DWKWfO.js → format-helpers-CvOZG1pt.js} +1 -1
- package/assets/assets/{index-BMD46UDb.css → index-D67dZGOY.css} +1 -1
- package/assets/assets/index-cRQCvw6S.js +56 -0
- package/assets/assets/query-client-nsJhXK9R.js +1 -0
- package/assets/assets/react-query-BKjNH2ek.js +1 -0
- package/assets/assets/{react-sigma_core.esm.min-DLc_m5Ao.js → react-sigma_core.esm.min-RpFcdsyW.js} +1 -1
- package/assets/assets/{service-B51xJDz2.js → service-DwTt-v6l.js} +1 -1
- package/assets/index.html +8 -8
- package/dist/{ads-5ZKOYN72.js → ads-BMBXQB67.js} +3 -3
- package/dist/{agent-Q63YJLFN.js → agent-S6CU36RL.js} +7 -7
- package/dist/{agent-ask-5EZKRAMG.js → agent-ask-XG7WQBX6.js} +3 -3
- package/dist/{agent-conversations-B3P2DHD2.js → agent-conversations-C4QBZAPC.js} +3 -3
- package/dist/{agent-memory-4672STKY.js → agent-memory-I7UJ7MKH.js} +3 -3
- package/dist/{agent-providers-IARC3ZE6.js → agent-providers-YHRIYJDT.js} +3 -3
- package/dist/{agent-transcript-CQLUO6TR.js → agent-transcript-2WICUOEW.js} +3 -3
- package/dist/{analytics-HBWILHPQ.js → analytics-Y5AGSYWD.js} +3 -3
- package/dist/{apply-YRVGOW4D.js → apply-DLVLMU3O.js} +3 -3
- package/dist/{backfill-T2R2QTOZ.js → backfill-JAHDHVXJ.js} +9 -9
- package/dist/{backlinks-KOSJ4BAT.js → backlinks-TEZTPNZ5.js} +3 -3
- package/dist/{bing-LYCNZP6M.js → bing-IIA5HLND.js} +3 -3
- package/dist/{bootstrap-AI7CKW3E.js → bootstrap-AKGA3BJI.js} +10 -10
- package/dist/{cdp-LP3GDIXS.js → cdp-WWOFWFYU.js} +7 -7
- package/dist/{chunk-46S3COHT.js → chunk-27SGL3DF.js} +1 -1
- package/dist/{chunk-PXEU7GIW.js → chunk-2DZYA62C.js} +18 -6
- package/dist/{chunk-XJJNKNX3.js → chunk-3U7LL3JM.js} +1 -1
- package/dist/{chunk-TRXD3CXS.js → chunk-4P7NK7XM.js} +2 -2
- package/dist/{chunk-ICVMS2JE.js → chunk-4TM4NXQR.js} +2 -2
- package/dist/{chunk-MUSBD3EX.js → chunk-4UGM5YV4.js} +3 -3
- package/dist/{chunk-TCXRQZYE.js → chunk-52NCZIAC.js} +1 -1
- package/dist/{chunk-HRYRYUI2.js → chunk-6IBLGQVZ.js} +1 -1
- package/dist/{chunk-4PYN2J6Z.js → chunk-7CKJTD3Q.js} +1129 -905
- package/dist/{chunk-ADWVQ3UM.js → chunk-BP5OKJIC.js} +2 -2
- package/dist/{chunk-JZX4CR7V.js → chunk-F6W7FCS2.js} +196 -2
- package/dist/{chunk-QTFHMU6I.js → chunk-G34BVUMF.js} +1 -1
- package/dist/{chunk-ZD37CGTP.js → chunk-IFVTHGXG.js} +2 -2
- package/dist/{chunk-7RLF3PV4.js → chunk-JGRUCEL4.js} +2 -2
- package/dist/{chunk-4NDWRR4B.js → chunk-KWXARGCT.js} +27 -5
- package/dist/{chunk-2THE4GKG.js → chunk-L7TKNHEX.js} +1 -1
- package/dist/{chunk-KZZAU4SN.js → chunk-N2HCXIQ3.js} +1 -1
- package/dist/{chunk-4MJYGB56.js → chunk-NCIPNVD6.js} +8 -0
- package/dist/{chunk-UMMF5KC5.js → chunk-NMLVLFF7.js} +5 -5
- package/dist/{chunk-YWUB5ZU6.js → chunk-NS7KRCND.js} +1140 -573
- package/dist/{chunk-IVSJLTKC.js → chunk-NWQQYLZV.js} +2845 -2243
- package/dist/{chunk-WODNZ6PH.js → chunk-PEZO3YEC.js} +4 -4
- package/dist/{chunk-42V5EYJX.js → chunk-Q4J3XSWE.js} +1 -1
- package/dist/{chunk-DJ4YDAI6.js → chunk-QFO7JHX2.js} +9 -4
- package/dist/{chunk-QN3YYE4J.js → chunk-QSPLYPVA.js} +1 -1
- package/dist/{chunk-N3WRXGRW.js → chunk-RXMGU7AF.js} +8 -8
- package/dist/{chunk-EIGZFAQJ.js → chunk-SCS7R2ND.js} +2269 -2011
- package/dist/{chunk-3PMACMXD.js → chunk-TH3NNUJW.js} +17 -1
- package/dist/{chunk-FILMLHNG.js → chunk-TVANRUBO.js} +108 -83
- package/dist/{chunk-TX6JOU2D.js → chunk-U65LWABS.js} +7 -3
- package/dist/{chunk-BM4AWHD6.js → chunk-WLIGKWVB.js} +3 -3
- package/dist/{chunk-LACYPNQA.js → chunk-Y7NX6EIK.js} +1801 -1456
- package/dist/{chunk-T76XI4DS.js → chunk-YDSY5YJE.js} +4 -4
- package/dist/{chunk-TAEBXXGQ.js → chunk-YJPQBJZO.js} +250 -3
- package/dist/{chunk-BMLVLHSH.js → chunk-ZYL3LCDZ.js} +1 -1
- package/dist/{citations-XUAOQHRF.js → citations-4LVBHTDX.js} +3 -3
- package/dist/{cli-catalog-R6JZ5ELQ.js → cli-catalog-PJYR3JHX.js} +3 -3
- package/dist/{cli-commands-YFN3ZE4O.js → cli-commands-2HYNKJDJ.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-67DBTBBA.js → competitor-T7UXAW4F.js} +3 -3
- package/dist/{content-3OVMQETU.js → content-DFYYGGPI.js} +3 -3
- package/dist/{dashboard-LFJXKLFE.js → dashboard-2P3TEH6S.js} +6 -6
- package/dist/{demo-6ANGZSRC.js → demo-UBMNDBRF.js} +1 -1
- package/dist/{demo-server-HUVMI3XH.js → demo-server-F4M74FVL.js} +11 -11
- package/dist/{discover-YF3FDGSD.js → discover-QTC5OBQG.js} +3 -3
- package/dist/{discover-eval-CMHDYK5O.js → discover-eval-QQZGUPR6.js} +3 -3
- package/dist/{doctor-WKNWJSK4.js → doctor-VHFDL5MH.js} +3 -3
- package/dist/{evidence-CLNQ2CYR.js → evidence-4PRFOC2I.js} +3 -3
- package/dist/{export-cmd-OHRV4TVH.js → export-cmd-BQE7BPKZ.js} +3 -3
- package/dist/{ga-FX742WRJ.js → ga-ULY5XDBK.js} +3 -3
- package/dist/{gbp-MRQ4IZCG.js → gbp-4WHNZAFY.js} +3 -3
- package/dist/{google-C7TZMMMK.js → google-O4IVWLSG.js} +4 -4
- package/dist/{google-marketing-D2UGYDMK.js → google-marketing-DCQDTDDG.js} +1 -1
- package/dist/{health-cmd-67I3W2ZU.js → health-cmd-I2JTACS7.js} +3 -3
- package/dist/{history-ZWVARGNG.js → history-LUPHO3P3.js} +3 -3
- package/dist/index.d.ts +1212 -19
- package/dist/index.js +25 -25
- package/dist/{init-AOBSZ2LL.js → init-YKMNKERW.js} +11 -11
- package/dist/{insights-7LBGR4WZ.js → insights-GC2W45U4.js} +3 -3
- package/dist/intelligence-service-4PHEK5F4.js +15 -0
- package/dist/{keys-6QJRMT55.js → keys-DXQBSOBI.js} +3 -3
- package/dist/{keyword-OPBDMSWK.js → keyword-2DCR2QCJ.js} +3 -3
- package/dist/{logs-EGD3OBA4.js → logs-H45QFIEB.js} +3 -3
- package/dist/{mcp-KAM74JPU.js → mcp-NXXP6M3C.js} +2 -2
- package/dist/mcp.js +10 -10
- package/dist/{measurement-plan-V53W3HSX.js → measurement-plan-IG4JUKKW.js} +5 -5
- package/dist/{notify-KYZJ2RDC.js → notify-BLLWXMBB.js} +3 -3
- package/dist/{organic-evidence-N53Z2XJH.js → organic-evidence-73K7W7SB.js} +3 -3
- package/dist/{overview-BE25C6Q5.js → overview-4TAULPUG.js} +4 -4
- package/dist/{project-NO32ZURN.js → project-ANX4JTWS.js} +3 -3
- package/dist/{query-NKVTEXLS.js → query-U3MFTLGR.js} +3 -3
- package/dist/{research-YISKR3TJ.js → research-3YZ6QI67.js} +3 -3
- package/dist/{results-export-HD6Q6ZNB.js → results-export-72OVLKSC.js} +3 -3
- package/dist/{run-MAOMVPZL.js → run-SI6IL4FC.js} +4 -4
- package/dist/{schedule-NWDR5YEK.js → schedule-FYEHU2VH.js} +3 -3
- package/dist/{search-PBA5FKL7.js → search-MXDT3DQE.js} +3 -3
- package/dist/{serve-VRTPB4I3.js → serve-C4FOCQEX.js} +26 -26
- package/dist/{session-M2SYYRPJ.js → session-VTFLD3C5.js} +13 -13
- package/dist/{settings-Q2FL6ONA.js → settings-ZGS26QOP.js} +3 -3
- package/dist/{skills-7LRRFGYJ.js → skills-ZMMCKKSA.js} +2 -2
- package/dist/{snapshot-BPYTJ4C4.js → snapshot-5AGGUQKE.js} +3 -3
- package/dist/{src-5KXLTZQQ.js → src-AIM5FPLZ.js} +15 -2
- package/dist/{status-T56ADODQ.js → status-HVQI4E5X.js} +4 -4
- package/dist/{technical-aeo-W5VS6DYU.js → technical-aeo-S4OFCURE.js} +3 -3
- package/dist/{telemetry-4V3L3ZQ2.js → telemetry-SPSC5MUN.js} +4 -4
- package/dist/{tools-M4S6JACN.js → tools-LRHO7QOT.js} +11 -11
- package/dist/{traffic-ESXWT2F2.js → traffic-5AXVN37M.js} +5 -5
- package/dist/{users-YCOSFESL.js → users-WFKSUCGV.js} +3 -3
- package/dist/{visibility-stats-AA4AQPSL.js → visibility-stats-5S26GC27.js} +3 -3
- package/dist/{wordpress-GSONHGOA.js → wordpress-IUPZC7II.js} +3 -3
- package/package.json +2 -1
- package/assets/assets/MeasurementPropertyPage-C68Gtag-.js +0 -4
- package/assets/assets/ProjectPage-BLdhBCRJ.js +0 -7
- package/assets/assets/RunsPage-qnNeAXTI.js +0 -1
- package/assets/assets/SiteHealthSection-DUYFjszN.js +0 -2
- package/assets/assets/ToneBadge-Yt2Lm4cB.js +0 -60
- package/assets/assets/index-C04O5pbQ.js +0 -56
- package/assets/assets/query-client-CmCGzr9j.js +0 -1
- package/assets/assets/react-query-CWskqnJ3.js +0 -1
- package/dist/intelligence-service-B266DYRT.js +0 -15
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseJsonColumn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SCS7R2ND.js";
|
|
4
4
|
import {
|
|
5
5
|
AI_ENGINE_DOMAINS,
|
|
6
6
|
AI_ENGINE_SELF_DOMAINS,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
retryAfterDelayMs,
|
|
27
27
|
usageCount,
|
|
28
28
|
withRetry
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-Y7NX6EIK.js";
|
|
30
30
|
|
|
31
31
|
// ../provider-openai/src/normalize.ts
|
|
32
32
|
import OpenAI from "openai";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TVANRUBO.js";
|
|
4
4
|
import {
|
|
5
5
|
PACKAGE_VERSION
|
|
6
6
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
sentimentSettingsReadSchema,
|
|
37
37
|
sentimentSummaryReadSchema,
|
|
38
38
|
upgradeCommandFor
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-Y7NX6EIK.js";
|
|
40
40
|
|
|
41
41
|
// ../api-client-generated/src/generated/core/bodySerializer.gen.ts
|
|
42
42
|
var jsonBodySerializer = {
|
|
@@ -827,6 +827,102 @@ var createClient = (config = {}) => {
|
|
|
827
827
|
var client = createClient(createConfig({ baseUrl: "/" }));
|
|
828
828
|
|
|
829
829
|
// ../api-client-generated/src/generated/sdk.gen.ts
|
|
830
|
+
var getApiV1SeoOperatorTasksById = (options) => (options.client ?? client).get({
|
|
831
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
832
|
+
url: "/api/v1/seo/operator/tasks/{id}",
|
|
833
|
+
...options
|
|
834
|
+
});
|
|
835
|
+
var postApiV1SeoOperatorTasksByIdReconcile = (options) => (options.client ?? client).post({
|
|
836
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
837
|
+
url: "/api/v1/seo/operator/tasks/{id}/reconcile",
|
|
838
|
+
...options,
|
|
839
|
+
headers: {
|
|
840
|
+
"Content-Type": "application/json",
|
|
841
|
+
...options.headers
|
|
842
|
+
}
|
|
843
|
+
});
|
|
844
|
+
var getApiV1ProjectsByNameSeoContext = (options) => (options.client ?? client).get({
|
|
845
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
846
|
+
url: "/api/v1/projects/{name}/seo/context",
|
|
847
|
+
...options
|
|
848
|
+
});
|
|
849
|
+
var getApiV1ProjectsByNameSeoStatus = (options) => (options.client ?? client).get({
|
|
850
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
851
|
+
url: "/api/v1/projects/{name}/seo/status",
|
|
852
|
+
...options
|
|
853
|
+
});
|
|
854
|
+
var getApiV1ProjectsByNameSeoProfiles = (options) => (options.client ?? client).get({
|
|
855
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
856
|
+
url: "/api/v1/projects/{name}/seo/profiles",
|
|
857
|
+
...options
|
|
858
|
+
});
|
|
859
|
+
var getApiV1ProjectsByNameSeoProfilesById = (options) => (options.client ?? client).get({
|
|
860
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
861
|
+
url: "/api/v1/projects/{name}/seo/profiles/{id}",
|
|
862
|
+
...options
|
|
863
|
+
});
|
|
864
|
+
var putApiV1ProjectsByNameSeoProfilesById = (options) => (options.client ?? client).put({
|
|
865
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
866
|
+
url: "/api/v1/projects/{name}/seo/profiles/{id}",
|
|
867
|
+
...options,
|
|
868
|
+
headers: {
|
|
869
|
+
"Content-Type": "application/json",
|
|
870
|
+
...options.headers
|
|
871
|
+
}
|
|
872
|
+
});
|
|
873
|
+
var getApiV1ProjectsByNameSeoRuns = (options) => (options.client ?? client).get({
|
|
874
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
875
|
+
url: "/api/v1/projects/{name}/seo/runs",
|
|
876
|
+
...options
|
|
877
|
+
});
|
|
878
|
+
var getApiV1ProjectsByNameSeoRunsById = (options) => (options.client ?? client).get({
|
|
879
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
880
|
+
url: "/api/v1/projects/{name}/seo/runs/{id}",
|
|
881
|
+
...options
|
|
882
|
+
});
|
|
883
|
+
var getApiV1ProjectsByNameSeoOverview = (options) => (options.client ?? client).get({
|
|
884
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
885
|
+
url: "/api/v1/projects/{name}/seo/overview",
|
|
886
|
+
...options
|
|
887
|
+
});
|
|
888
|
+
var getApiV1ProjectsByNameSeoKeywordMetrics = (options) => (options.client ?? client).get({
|
|
889
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
890
|
+
url: "/api/v1/projects/{name}/seo/keyword-metrics",
|
|
891
|
+
...options
|
|
892
|
+
});
|
|
893
|
+
var getApiV1ProjectsByNameSeoDomainIntelligence = (options) => (options.client ?? client).get({
|
|
894
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
895
|
+
url: "/api/v1/projects/{name}/seo/domain-intelligence",
|
|
896
|
+
...options
|
|
897
|
+
});
|
|
898
|
+
var getApiV1ProjectsByNameSeoRankedKeywords = (options) => (options.client ?? client).get({
|
|
899
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
900
|
+
url: "/api/v1/projects/{name}/seo/ranked-keywords",
|
|
901
|
+
...options
|
|
902
|
+
});
|
|
903
|
+
var postApiV1ProjectsByNameSeoRefreshIntents = (options) => (options.client ?? client).post({
|
|
904
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
905
|
+
url: "/api/v1/projects/{name}/seo/refresh-intents",
|
|
906
|
+
...options,
|
|
907
|
+
headers: {
|
|
908
|
+
"Content-Type": "application/json",
|
|
909
|
+
...options.headers
|
|
910
|
+
}
|
|
911
|
+
});
|
|
912
|
+
var postApiV1ProjectsByNameSeoSync = (options) => (options.client ?? client).post({
|
|
913
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
914
|
+
url: "/api/v1/projects/{name}/seo/sync",
|
|
915
|
+
...options,
|
|
916
|
+
headers: {
|
|
917
|
+
"Content-Type": "application/json",
|
|
918
|
+
...options.headers
|
|
919
|
+
}
|
|
920
|
+
});
|
|
921
|
+
var postApiV1ProjectsByNameSeoRunsByIdCancel = (options) => (options.client ?? client).post({
|
|
922
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
923
|
+
url: "/api/v1/projects/{name}/seo/runs/{id}/cancel",
|
|
924
|
+
...options
|
|
925
|
+
});
|
|
830
926
|
var postApiV1ProjectsByNameGoogleGscSitemapsSubmit = (options) => (options.client ?? client).post({
|
|
831
927
|
security: [{ scheme: "bearer", type: "http" }],
|
|
832
928
|
url: "/api/v1/projects/{name}/google/gsc/sitemaps/submit",
|
|
@@ -5951,6 +6047,104 @@ var ApiClient = class {
|
|
|
5951
6047
|
})
|
|
5952
6048
|
);
|
|
5953
6049
|
}
|
|
6050
|
+
async getSeoContext(project) {
|
|
6051
|
+
return this.invoke(() => getApiV1ProjectsByNameSeoContext({
|
|
6052
|
+
client: this.heyClient,
|
|
6053
|
+
path: { name: project }
|
|
6054
|
+
}));
|
|
6055
|
+
}
|
|
6056
|
+
async getSeoOperatorTask(id) {
|
|
6057
|
+
return this.invoke(() => getApiV1SeoOperatorTasksById({ client: this.heyClient, path: { id } }));
|
|
6058
|
+
}
|
|
6059
|
+
async reconcileSeoTask(id, request) {
|
|
6060
|
+
return this.invoke(() => postApiV1SeoOperatorTasksByIdReconcile({ client: this.heyClient, path: { id }, body: request }));
|
|
6061
|
+
}
|
|
6062
|
+
async getSeoStatus(project) {
|
|
6063
|
+
return this.invoke(() => getApiV1ProjectsByNameSeoStatus({
|
|
6064
|
+
client: this.heyClient,
|
|
6065
|
+
path: { name: project }
|
|
6066
|
+
}));
|
|
6067
|
+
}
|
|
6068
|
+
async listSeoProfiles(project) {
|
|
6069
|
+
return this.invoke(() => getApiV1ProjectsByNameSeoProfiles({
|
|
6070
|
+
client: this.heyClient,
|
|
6071
|
+
path: { name: project }
|
|
6072
|
+
}));
|
|
6073
|
+
}
|
|
6074
|
+
async getSeoProfile(project, id) {
|
|
6075
|
+
return this.invoke(() => getApiV1ProjectsByNameSeoProfilesById({
|
|
6076
|
+
client: this.heyClient,
|
|
6077
|
+
path: { name: project, id }
|
|
6078
|
+
}));
|
|
6079
|
+
}
|
|
6080
|
+
async putSeoProfile(project, id, request) {
|
|
6081
|
+
return this.invoke(() => putApiV1ProjectsByNameSeoProfilesById({
|
|
6082
|
+
client: this.heyClient,
|
|
6083
|
+
path: { name: project, id },
|
|
6084
|
+
body: request
|
|
6085
|
+
}));
|
|
6086
|
+
}
|
|
6087
|
+
async createSeoRefreshIntent(project, request) {
|
|
6088
|
+
return this.invoke(() => postApiV1ProjectsByNameSeoRefreshIntents({
|
|
6089
|
+
client: this.heyClient,
|
|
6090
|
+
path: { name: project },
|
|
6091
|
+
body: request
|
|
6092
|
+
}));
|
|
6093
|
+
}
|
|
6094
|
+
async syncSeo(project, request) {
|
|
6095
|
+
return this.invoke(() => postApiV1ProjectsByNameSeoSync({
|
|
6096
|
+
client: this.heyClient,
|
|
6097
|
+
path: { name: project },
|
|
6098
|
+
body: request
|
|
6099
|
+
}));
|
|
6100
|
+
}
|
|
6101
|
+
async listSeoRuns(project, query) {
|
|
6102
|
+
return this.invoke(() => getApiV1ProjectsByNameSeoRuns({
|
|
6103
|
+
client: this.heyClient,
|
|
6104
|
+
path: { name: project },
|
|
6105
|
+
query
|
|
6106
|
+
}));
|
|
6107
|
+
}
|
|
6108
|
+
async getSeoRun(project, id) {
|
|
6109
|
+
return this.invoke(() => getApiV1ProjectsByNameSeoRunsById({
|
|
6110
|
+
client: this.heyClient,
|
|
6111
|
+
path: { name: project, id }
|
|
6112
|
+
}));
|
|
6113
|
+
}
|
|
6114
|
+
async cancelSeoRun(project, id) {
|
|
6115
|
+
return this.invoke(() => postApiV1ProjectsByNameSeoRunsByIdCancel({
|
|
6116
|
+
client: this.heyClient,
|
|
6117
|
+
path: { name: project, id }
|
|
6118
|
+
}));
|
|
6119
|
+
}
|
|
6120
|
+
async getSeoOverview(project, query) {
|
|
6121
|
+
return this.invoke(() => getApiV1ProjectsByNameSeoOverview({
|
|
6122
|
+
client: this.heyClient,
|
|
6123
|
+
path: { name: project },
|
|
6124
|
+
query
|
|
6125
|
+
}));
|
|
6126
|
+
}
|
|
6127
|
+
async getSeoKeywordMetrics(project, query) {
|
|
6128
|
+
return this.invoke(() => getApiV1ProjectsByNameSeoKeywordMetrics({
|
|
6129
|
+
client: this.heyClient,
|
|
6130
|
+
path: { name: project },
|
|
6131
|
+
query
|
|
6132
|
+
}));
|
|
6133
|
+
}
|
|
6134
|
+
async getSeoDomainIntelligence(project, query) {
|
|
6135
|
+
return this.invoke(() => getApiV1ProjectsByNameSeoDomainIntelligence({
|
|
6136
|
+
client: this.heyClient,
|
|
6137
|
+
path: { name: project },
|
|
6138
|
+
query
|
|
6139
|
+
}));
|
|
6140
|
+
}
|
|
6141
|
+
async getSeoRankedKeywords(project, query) {
|
|
6142
|
+
return this.invoke(() => getApiV1ProjectsByNameSeoRankedKeywords({
|
|
6143
|
+
client: this.heyClient,
|
|
6144
|
+
path: { name: project },
|
|
6145
|
+
query
|
|
6146
|
+
}));
|
|
6147
|
+
}
|
|
5954
6148
|
async getResearchRun(project, runId) {
|
|
5955
6149
|
return this.invoke(
|
|
5956
6150
|
() => getApiV1ProjectsByNameResearchRunsByRunId({
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadConfig,
|
|
6
6
|
loadConfigRaw,
|
|
7
7
|
saveConfigPatch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TVANRUBO.js";
|
|
9
9
|
import {
|
|
10
10
|
CANONRY_NPM_PACKAGE_URL,
|
|
11
11
|
compareSemver,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
updateCheckEnvOptOut,
|
|
19
19
|
upgradeCaveatFor,
|
|
20
20
|
upgradeCommandFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Y7NX6EIK.js";
|
|
22
22
|
|
|
23
23
|
// src/runtime-context.ts
|
|
24
24
|
function cliRuntimeContext(env = process.env, stdio = process) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6W7FCS2.js";
|
|
4
4
|
import {
|
|
5
5
|
emitJsonl
|
|
6
6
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
formatMicros,
|
|
20
20
|
formatRunErrorOneLine,
|
|
21
21
|
resolveProviderInput
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Y7NX6EIK.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/run.ts
|
|
25
25
|
function getClient() {
|
|
@@ -2,15 +2,16 @@ import {
|
|
|
2
2
|
CANONRY_MCP_TOOLKITS,
|
|
3
3
|
CANONRY_MCP_TOOLKIT_NAMES,
|
|
4
4
|
isCanonryMcpToolkitName
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NCIPNVD6.js";
|
|
6
6
|
import {
|
|
7
7
|
createApiClient,
|
|
8
8
|
runWithUsageTags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F6W7FCS2.js";
|
|
10
10
|
import {
|
|
11
11
|
canonryMcpTools,
|
|
12
|
+
mcpOutputSchema,
|
|
12
13
|
toolOperationAccess
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YJPQBJZO.js";
|
|
14
15
|
import {
|
|
15
16
|
PACKAGE_VERSION
|
|
16
17
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -23,7 +24,7 @@ import {
|
|
|
23
24
|
isReadOnlyKey,
|
|
24
25
|
restrictedWriteScopes,
|
|
25
26
|
upgradeCaveatFor
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-Y7NX6EIK.js";
|
|
27
28
|
|
|
28
29
|
// src/mcp/server.ts
|
|
29
30
|
import { randomUUID } from "crypto";
|
|
@@ -239,6 +240,27 @@ var OPERATIONS_GUIDE = {
|
|
|
239
240
|
"approvalRule": "Get explicit approval for the exact target, action, and bounded provider work before crossing a boundary. Existing approval covers only its stated scope; stop on refusal or ambiguous results.",
|
|
240
241
|
"authority": "Guidance and tool visibility are not permission grants. Server-side roles, scopes, project boundaries, quotas, and approval receipts remain authoritative. Never bypass a refusal with different credentials or endpoints.",
|
|
241
242
|
"workflows": {
|
|
243
|
+
"seo": {
|
|
244
|
+
"keywords": [
|
|
245
|
+
"seo",
|
|
246
|
+
"dataforseo",
|
|
247
|
+
"rankings",
|
|
248
|
+
"ranked",
|
|
249
|
+
"keywords"
|
|
250
|
+
],
|
|
251
|
+
"next": [
|
|
252
|
+
"canonry_projects_list",
|
|
253
|
+
"canonry_seo_context",
|
|
254
|
+
"canonry_seo_profiles",
|
|
255
|
+
"canonry_seo_overview"
|
|
256
|
+
],
|
|
257
|
+
"actions": [
|
|
258
|
+
"canonry_seo_profile_set",
|
|
259
|
+
"canonry_seo_sync",
|
|
260
|
+
"canonry_seo_run_cancel"
|
|
261
|
+
],
|
|
262
|
+
"guidance": "Read saved SEO evidence first. Preserve profile, exact domain or host, market, language, plan revision, dataset and collection date. SEO traffic and keyword metrics are third-party estimates, separate from Search Console observations and AI citation and mention coverage. Refresh requires explicit approval for the profile and work, a fresh refresh intent and an idempotency key. Hosted financial controls are internal; no credential or billing information belongs in the response."
|
|
263
|
+
},
|
|
242
264
|
"operations": {
|
|
243
265
|
"keywords": [
|
|
244
266
|
"operations",
|
|
@@ -440,7 +462,7 @@ ${updateNoticeInstructions(update)}` : SERVER_INSTRUCTIONS
|
|
|
440
462
|
title: tool.title,
|
|
441
463
|
description: tool.description,
|
|
442
464
|
inputSchema: tool.inputSchema,
|
|
443
|
-
outputSchema: tool.outputSchema,
|
|
465
|
+
outputSchema: tool.outputSchema ? mcpOutputSchema(tool.outputSchema) : void 0,
|
|
444
466
|
annotations: tool.annotations
|
|
445
467
|
},
|
|
446
468
|
async (input) => withToolErrors(async () => {
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
measurementDraftUpsertGroupRequestSchema,
|
|
24
24
|
measurementDraftUpsertMarketRequestSchema,
|
|
25
25
|
measurementDraftUpsertTargetRequestSchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Y7NX6EIK.js";
|
|
27
27
|
|
|
28
28
|
// src/measurement-draft-actions.ts
|
|
29
29
|
import { z } from "zod";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// src/mcp/toolkits.ts
|
|
2
2
|
var CANONRY_MCP_TIERS = [
|
|
3
|
+
"seo",
|
|
3
4
|
"core",
|
|
4
5
|
"monitoring",
|
|
5
6
|
"setup",
|
|
@@ -18,6 +19,7 @@ var CANONRY_MCP_TIERS = [
|
|
|
18
19
|
"discovery"
|
|
19
20
|
];
|
|
20
21
|
var CANONRY_MCP_TOOLKIT_NAMES = [
|
|
22
|
+
"seo",
|
|
21
23
|
"monitoring",
|
|
22
24
|
"setup",
|
|
23
25
|
"gsc",
|
|
@@ -33,6 +35,12 @@ var CANONRY_MCP_TOOLKIT_NAMES = [
|
|
|
33
35
|
"discovery"
|
|
34
36
|
];
|
|
35
37
|
var CANONRY_MCP_TOOLKITS = [
|
|
38
|
+
{
|
|
39
|
+
name: "seo",
|
|
40
|
+
title: "SEO data",
|
|
41
|
+
description: "Provider-neutral keyword metrics, ranked keywords, domain intelligence, saved profiles and explicit refreshes. DataForSEO is the first adapter.",
|
|
42
|
+
whenToLoad: "Load to inspect saved organic-search estimates, manage exact SEO profiles or explicitly refresh evidence. Search Console observations and AI citation and mention coverage remain separate."
|
|
43
|
+
},
|
|
36
44
|
{
|
|
37
45
|
name: "monitoring",
|
|
38
46
|
title: "Measurement, runs, insights, health",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pickProjectCitedDomain
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L7TKNHEX.js";
|
|
4
4
|
import {
|
|
5
5
|
GBP_INSIGHT_PROVIDER,
|
|
6
6
|
PERSISTENT_GAP_THRESHOLD,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
mergeGscQueryTotalsWithFallback,
|
|
15
15
|
readGscQueryDailyRows,
|
|
16
16
|
readLatestGscDataDate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NWQQYLZV.js";
|
|
18
18
|
import {
|
|
19
19
|
getRequestContext
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-27SGL3DF.js";
|
|
21
21
|
import {
|
|
22
22
|
competitors,
|
|
23
23
|
gbpDailyMetrics,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
queries,
|
|
36
36
|
querySnapshots,
|
|
37
37
|
runs
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-SCS7R2ND.js";
|
|
39
39
|
import {
|
|
40
40
|
CitationStates,
|
|
41
41
|
RunKinds,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
effectiveDomains,
|
|
46
46
|
redactLogString,
|
|
47
47
|
redactLogValue
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-Y7NX6EIK.js";
|
|
49
49
|
|
|
50
50
|
// src/intelligence-service.ts
|
|
51
51
|
import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
|