@canonry/canonry 7.56.0 → 7.57.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/agent-workspace/skills/canonry/references/canonry-cli.md +1 -1
- package/assets/agent-workspace/skills/canonry/references/google-business-profile.md +1 -1
- package/assets/assets/{AgentSetupPage-BkKw_in_.js → AgentSetupPage-C-kQupMX.js} +1 -1
- package/assets/assets/{AuditHistoryPanel-UtRnS-sh.js → AuditHistoryPanel-DvZk-ikR.js} +1 -1
- package/assets/assets/{BacklinksPage-DCSmuAOQ.js → BacklinksPage-TLB85t4y.js} +1 -1
- package/assets/assets/{HistoryPage-DzpqCNJM.js → HistoryPage-C4nHeKDs.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-Dh0BJw_f.js → MeasurementPropertyPage-8E17rN5d.js} +1 -1
- package/assets/assets/{ProjectPage-D-9IeFap.js → ProjectPage-B4SbAE_N.js} +1 -1
- package/assets/assets/{RunsPage-DtllYN3I.js → RunsPage-Enho1Wqz.js} +1 -1
- package/assets/assets/{SettingsPage-_p15s-OC.js → SettingsPage-BjLpSN4f.js} +1 -1
- package/assets/assets/{SiteHealthSection-BEpXTW3G.js → SiteHealthSection-BUOBO4VH.js} +2 -2
- package/assets/assets/ToneBadge-BLQKJIMR.js +60 -0
- package/assets/assets/{TrafficPage-wru6cQPP.js → TrafficPage-BtjRPsdl.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-_XKbd-aS.js → TrafficSourceDetailPage-Bw-9JMOF.js} +1 -1
- package/assets/assets/{account-context-BekDho6K.js → account-context-bLel7cL8.js} +1 -1
- package/assets/assets/{card-By9JlCCv.js → card-DFlbarlV.js} +1 -1
- package/assets/assets/{extract-error-message-SMPhaAkr.js → extract-error-message-BYvs9oIt.js} +1 -1
- package/assets/assets/{format-helpers-CVjOUs0j.js → format-helpers-DPVlVrlp.js} +1 -1
- package/assets/assets/{index-el2M4tYf.js → index-DWP0Oz6d.js} +4 -4
- package/assets/assets/{query-client-8RITTP1A.js → query-client-DLuEpFRm.js} +1 -1
- package/assets/assets/{react-query-BXwc1UHc.js → react-query-BVY1CIRz.js} +1 -1
- package/assets/assets/{react-sigma_core.esm.min-CM12VcoB.js → react-sigma_core.esm.min-BaR2koVY.js} +1 -1
- package/assets/assets/{service-B0wkGxvy.js → service-DiBkOka7.js} +1 -1
- package/assets/index.html +7 -7
- package/dist/{ads-SPXNKDEW.js → ads-6PCFYPZ6.js} +3 -3
- package/dist/{agent-THPYOGXD.js → agent-UA3J23KG.js} +7 -7
- package/dist/{agent-ask-VHRA5RVU.js → agent-ask-D4RWVHZX.js} +3 -3
- package/dist/{agent-conversations-5HXXVMZV.js → agent-conversations-BSKUJF7H.js} +3 -3
- package/dist/{agent-memory-SKBUFHGV.js → agent-memory-ENPPLOV7.js} +3 -3
- package/dist/{agent-providers-TOIA75C6.js → agent-providers-5NV7YEVG.js} +3 -3
- package/dist/{agent-transcript-DFE2PDTS.js → agent-transcript-TXDTQ7Q2.js} +3 -3
- package/dist/{analytics-JJHPK2TK.js → analytics-6ITOJIGW.js} +3 -3
- package/dist/{apply-AC36NXPF.js → apply-EPQXYQRO.js} +3 -3
- package/dist/{backfill-HMP43HMJ.js → backfill-4LAL4IIT.js} +9 -9
- package/dist/{backlinks-EKSQJXMS.js → backlinks-ECIDQQ4I.js} +3 -3
- package/dist/{bing-XZQ6CQM4.js → bing-LHTVVJK7.js} +3 -3
- package/dist/{bootstrap-GJUT3AVH.js → bootstrap-KHYUCFLP.js} +10 -10
- package/dist/{cdp-QROXKBXS.js → cdp-YZWEKVRO.js} +7 -7
- package/dist/{chunk-AOBMI5UM.js → chunk-2R32P77U.js} +1 -1
- package/dist/{chunk-NZ6KZLTM.js → chunk-3HRHHFQM.js} +6 -1
- package/dist/{chunk-XUW5SU24.js → chunk-3OTH3ABK.js} +4 -4
- package/dist/{chunk-ADCVXKSD.js → chunk-522MYBLV.js} +1 -1
- package/dist/{chunk-37YB52NM.js → chunk-5AJWITKP.js} +45 -1
- package/dist/{chunk-SJLCALSV.js → chunk-5L2ZTXBH.js} +3 -3
- package/dist/{chunk-RELKG6XH.js → chunk-6MK426LA.js} +2 -2
- package/dist/{chunk-BALZYIFH.js → chunk-BJN7FNIB.js} +4 -4
- package/dist/{chunk-2Z7FALTN.js → chunk-BURMKOEF.js} +2 -2
- package/dist/{chunk-TPCXTUL5.js → chunk-E3YBETL6.js} +1 -1
- package/dist/{chunk-ZNAAZHNT.js → chunk-F7WRZW3A.js} +47 -3
- package/dist/{chunk-DOP5QNPM.js → chunk-FHYOQI26.js} +2989 -1907
- package/dist/{chunk-DDM6PVXJ.js → chunk-GT7HWKBO.js} +3 -3
- package/dist/{chunk-VZURJP3T.js → chunk-HPC3CBPI.js} +1 -1
- package/dist/{chunk-3BHGEP3O.js → chunk-J4YFSAAY.js} +8 -8
- package/dist/{chunk-RWYKUCPF.js → chunk-JQS2H65K.js} +375 -325
- package/dist/{chunk-C5LD76KR.js → chunk-JWBFDZIP.js} +3 -3
- package/dist/{chunk-WRYVESRH.js → chunk-KRIZF753.js} +1 -1
- package/dist/{chunk-NSE55FZE.js → chunk-LCC5ZJPV.js} +2 -2
- package/dist/{chunk-F5DLOQ3B.js → chunk-MVUYDJ7G.js} +2 -2
- package/dist/{chunk-3HZZ2XZD.js → chunk-NUHCDBKR.js} +5 -5
- package/dist/{chunk-T7A46CVU.js → chunk-OAA7RHMG.js} +5 -5
- package/dist/{chunk-CFGQOIXW.js → chunk-OJ5IDPYY.js} +3 -3
- package/dist/{chunk-Q5ZRUA57.js → chunk-S2UDQAT7.js} +1 -1
- package/dist/{chunk-S4H7KMIH.js → chunk-SHUTA74W.js} +618 -282
- package/dist/{chunk-V4V7WOHY.js → chunk-SOKD3TRA.js} +46 -2
- package/dist/{chunk-QAGZQ2DY.js → chunk-TIKT62IV.js} +1749 -1634
- package/dist/{chunk-SVLNIJS2.js → chunk-TIYL4KVS.js} +1 -1
- package/dist/{chunk-P2OVWQKT.js → chunk-TXBL3N46.js} +1 -1
- package/dist/{chunk-W5FAL4LJ.js → chunk-ULFDCKIC.js} +4 -4
- package/dist/{chunk-ZOVL5NAP.js → chunk-VF36TGF4.js} +1 -1
- package/dist/{chunk-4QRF7TNW.js → chunk-XXYBDAS2.js} +2 -2
- package/dist/{chunk-PUTJ6LPE.js → chunk-YFUQHJRZ.js} +1 -1
- package/dist/{chunk-RCCZ6VGK.js → chunk-ZUAXF73A.js} +1 -1
- package/dist/{citations-5ARZ6M42.js → citations-HXVWVRDO.js} +3 -3
- package/dist/{cli-catalog-XD7VY3ES.js → cli-catalog-EDAH3242.js} +3 -3
- package/dist/{cli-commands-KGTXEDAZ.js → cli-commands-NUXQWIKA.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-XWTEIVZL.js → competitor-XYPBUM4Q.js} +3 -3
- package/dist/{content-4EVGV32G.js → content-SDTRO2XT.js} +3 -3
- package/dist/{dashboard-YEYFINMF.js → dashboard-55IRUB73.js} +6 -6
- package/dist/{demo-RK5OKZIY.js → demo-KEFXTKRQ.js} +1 -1
- package/dist/{demo-server-JL4JLKMG.js → demo-server-BDQDPUWN.js} +11 -11
- package/dist/{discover-VQYJ4UOL.js → discover-I6AQJPUK.js} +3 -3
- package/dist/{discover-eval-FMEMPSM3.js → discover-eval-GLGBZC7B.js} +3 -3
- package/dist/{doctor-VYES5HCM.js → doctor-Q47J7GZI.js} +3 -3
- package/dist/{evidence-BG45EBS3.js → evidence-AMLTPRHA.js} +3 -3
- package/dist/{export-cmd-PQZCMR7C.js → export-cmd-NTCX43DE.js} +3 -3
- package/dist/{ga-ZQL2LHQA.js → ga-END6LQJW.js} +3 -3
- package/dist/{gbp-KNWDBHFM.js → gbp-CVJXSTTB.js} +33 -4
- package/dist/{google-GOKE6J5E.js → google-4OCFGWGV.js} +4 -4
- package/dist/{google-marketing-7DYEKRHS.js → google-marketing-NW27PADK.js} +1 -1
- package/dist/{health-cmd-4OZ7EYWI.js → health-cmd-2KMNASB3.js} +3 -3
- package/dist/{history-U2W77DIY.js → history-6LBFXVKF.js} +3 -3
- package/dist/index.d.ts +319 -13
- package/dist/index.js +24 -24
- package/dist/{init-WTLTEYSB.js → init-542CZBNS.js} +11 -11
- package/dist/{insights-LWMDBEYC.js → insights-YH7NP5LX.js} +3 -3
- package/dist/intelligence-service-6IVSAF2X.js +15 -0
- package/dist/{keys-RSKVNMJI.js → keys-CJ5DTL4Y.js} +3 -3
- package/dist/{keyword-IM4GUM5U.js → keyword-7FMLF3B7.js} +3 -3
- package/dist/{logs-B35V2RPE.js → logs-362Y2Z55.js} +3 -3
- package/dist/{mcp-UFMKQFGP.js → mcp-RTJ3HZLY.js} +2 -2
- package/dist/mcp.js +9 -9
- package/dist/{measurement-plan-BOHLLJD5.js → measurement-plan-ICT6U62D.js} +5 -5
- package/dist/{notify-RQIQP5ZF.js → notify-HT7QBF3B.js} +3 -3
- package/dist/{organic-evidence-C3OZR7UY.js → organic-evidence-CAGEQ5OR.js} +3 -3
- package/dist/{overview-OVIPKMAY.js → overview-Y6RVRPC7.js} +4 -4
- package/dist/{project-QBUTYR6J.js → project-7OBPDHLH.js} +3 -3
- package/dist/{query-KCGET5FS.js → query-23GN3BC6.js} +3 -3
- package/dist/{research-HTURJWRL.js → research-N7EVBN47.js} +3 -3
- package/dist/{results-export-GJNXEXV4.js → results-export-BHEYAZXQ.js} +3 -3
- package/dist/{run-ZNTT7W5M.js → run-KVPMLHGQ.js} +4 -4
- package/dist/{schedule-S2ODDXFB.js → schedule-EZ2TLM22.js} +3 -3
- package/dist/{search-UW56VG5B.js → search-UHUPUGT3.js} +3 -3
- package/dist/{serve-BIWTUO6A.js → serve-R2OR4ZF2.js} +25 -25
- package/dist/{session-T4Q6NH3K.js → session-CSYHALIE.js} +12 -12
- package/dist/{settings-TGSORPVW.js → settings-QCFPNHSC.js} +3 -3
- package/dist/{skills-SBZZLY4T.js → skills-FXPAKCVV.js} +2 -2
- package/dist/{snapshot-OMS33CN4.js → snapshot-NY5PNDWR.js} +3 -3
- package/dist/{src-LKNW35M6.js → src-V6W5XBAI.js} +4 -2
- package/dist/{status-7D7NUW7M.js → status-MYXAVPIB.js} +4 -4
- package/dist/{technical-aeo-UFDHAV7G.js → technical-aeo-4C2EQ6C5.js} +3 -3
- package/dist/{telemetry-ZPVJITHJ.js → telemetry-SMY4NDD2.js} +4 -4
- package/dist/{tools-PDV6BJ5Y.js → tools-HIRCGFM2.js} +11 -11
- package/dist/{traffic-T6YAKUY5.js → traffic-QTHEOB5M.js} +5 -5
- package/dist/{users-6N2YMWAP.js → users-FDZPHCWI.js} +3 -3
- package/dist/{visibility-stats-GODBRQVG.js → visibility-stats-6B3S3AIY.js} +3 -3
- package/dist/{wordpress-ISFI67TH.js → wordpress-5IIA4H3G.js} +3 -3
- package/package.json +1 -1
- package/assets/assets/ToneBadge-nxe12_3b.js +0 -60
- package/dist/intelligence-service-PY6QR36M.js +0 -15
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
AppError,
|
|
6
6
|
parseWindowIn,
|
|
7
7
|
resolveDateRange
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TIKT62IV.js";
|
|
9
9
|
|
|
10
10
|
// src/cli-access.ts
|
|
11
11
|
var CLI_ACCESS_BY_ID = Object.freeze({
|
|
@@ -169,6 +169,11 @@ var CLI_ACCESS_BY_ID = Object.freeze({
|
|
|
169
169
|
"gbp.metrics": "stored",
|
|
170
170
|
"gbp.place-actions": "stored",
|
|
171
171
|
"gbp.places": "stored",
|
|
172
|
+
"gbp.posts.attempt": "stored",
|
|
173
|
+
"gbp.posts.list": "live",
|
|
174
|
+
"gbp.posts.get": "live",
|
|
175
|
+
"gbp.posts.create": "write",
|
|
176
|
+
"gbp.reviews.live": "live",
|
|
172
177
|
"gbp.reviews": "stored",
|
|
173
178
|
"gbp.summary": "stored",
|
|
174
179
|
"gbp.sync": "write",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runWithUsageTags
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SOKD3TRA.js";
|
|
4
4
|
import {
|
|
5
5
|
CanonryMcpToolNames,
|
|
6
6
|
canonryMcpTools
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F7WRZW3A.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-HGMYEDAQ.js";
|
|
11
11
|
import {
|
|
12
12
|
buildOpenApiDocument
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FHYOQI26.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_COMPETITOR_AUTO_ALIAS_MODE,
|
|
16
16
|
MeasurementPortfolioLists,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
formatPercent,
|
|
21
21
|
ratioUnitSchema,
|
|
22
22
|
truncateUtf16
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TIKT62IV.js";
|
|
24
24
|
|
|
25
25
|
// src/agent/tools.ts
|
|
26
26
|
import { Type as Type2 } from "@earendil-works/pi-ai";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
measurementDraftUpsertGroupRequestSchema,
|
|
24
24
|
measurementDraftUpsertMarketRequestSchema,
|
|
25
25
|
measurementDraftUpsertTargetRequestSchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TIKT62IV.js";
|
|
27
27
|
|
|
28
28
|
// src/measurement-draft-actions.ts
|
|
29
29
|
import { z } from "zod";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
templateLinkRatio,
|
|
18
18
|
templateLinkUbiquityAvailable,
|
|
19
19
|
validationError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TIKT62IV.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
23
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -131,6 +131,7 @@ __export(schema_exports, {
|
|
|
131
131
|
recommendationExplanations: () => recommendationExplanations,
|
|
132
132
|
researchRunQueries: () => researchRunQueries,
|
|
133
133
|
researchRuns: () => researchRuns,
|
|
134
|
+
reviewWebhookDeliveries: () => reviewWebhookDeliveries,
|
|
134
135
|
runFills: () => runFills,
|
|
135
136
|
runs: () => runs,
|
|
136
137
|
runtimeLogMetadata: () => runtimeLogMetadata,
|
|
@@ -1011,6 +1012,23 @@ var notifications = sqliteTable("notifications", {
|
|
|
1011
1012
|
}, (table) => [
|
|
1012
1013
|
index("idx_notifications_project").on(table.projectId)
|
|
1013
1014
|
]);
|
|
1015
|
+
var reviewWebhookDeliveries = sqliteTable("review_webhook_deliveries", {
|
|
1016
|
+
id: text("id").primaryKey(),
|
|
1017
|
+
projectId: text("project_id").notNull().references(() => projects.id, { onDelete: "cascade" }),
|
|
1018
|
+
notificationId: text("notification_id").notNull().references(() => notifications.id, { onDelete: "cascade" }),
|
|
1019
|
+
eventId: text("event_id").notNull(),
|
|
1020
|
+
targetDigest: text("target_digest").notNull(),
|
|
1021
|
+
payload: text("payload", { mode: "json" }).$type().notNull(),
|
|
1022
|
+
state: text("state").$type().notNull().default("pending"),
|
|
1023
|
+
attempts: integer("attempts").notNull().default(0),
|
|
1024
|
+
attemptedAt: text("attempted_at"),
|
|
1025
|
+
retryAt: text("retry_at"),
|
|
1026
|
+
deliveredAt: text("delivered_at"),
|
|
1027
|
+
createdAt: text("created_at").notNull()
|
|
1028
|
+
}, (table) => [
|
|
1029
|
+
uniqueIndex("uniq_review_webhook_delivery").on(table.projectId, table.notificationId, table.eventId),
|
|
1030
|
+
index("idx_review_webhook_deliveries_due").on(table.state, table.retryAt)
|
|
1031
|
+
]);
|
|
1014
1032
|
var googleConnections = sqliteTable("google_connections", {
|
|
1015
1033
|
id: text("id").primaryKey(),
|
|
1016
1034
|
domain: text("domain").notNull(),
|
|
@@ -7931,6 +7949,31 @@ var MIGRATION_VERSIONS = [
|
|
|
7931
7949
|
`CREATE UNIQUE INDEX IF NOT EXISTS idx_ga_window_metrics_unique ON ga_window_metrics(project_id, window_key, period)`,
|
|
7932
7950
|
`CREATE INDEX IF NOT EXISTS idx_ga_window_metrics_run ON ga_window_metrics(sync_run_id)`
|
|
7933
7951
|
]
|
|
7952
|
+
},
|
|
7953
|
+
{
|
|
7954
|
+
// Durable review-webhook delivery: one row per review event and configured
|
|
7955
|
+
// destination, so a receiver that failed keeps its debt after another one
|
|
7956
|
+
// succeeded. Empty on upgrade: no historical backfill, nothing activated.
|
|
7957
|
+
version: 189,
|
|
7958
|
+
name: "durable-review-webhook-deliveries",
|
|
7959
|
+
statements: [
|
|
7960
|
+
`CREATE TABLE IF NOT EXISTS review_webhook_deliveries (
|
|
7961
|
+
id TEXT PRIMARY KEY,
|
|
7962
|
+
project_id TEXT NOT NULL REFERENCES projects(id) ON DELETE CASCADE,
|
|
7963
|
+
notification_id TEXT NOT NULL REFERENCES notifications(id) ON DELETE CASCADE,
|
|
7964
|
+
event_id TEXT NOT NULL,
|
|
7965
|
+
target_digest TEXT NOT NULL,
|
|
7966
|
+
payload TEXT NOT NULL,
|
|
7967
|
+
state TEXT NOT NULL DEFAULT 'pending',
|
|
7968
|
+
attempts INTEGER NOT NULL DEFAULT 0,
|
|
7969
|
+
attempted_at TEXT,
|
|
7970
|
+
retry_at TEXT,
|
|
7971
|
+
delivered_at TEXT,
|
|
7972
|
+
created_at TEXT NOT NULL
|
|
7973
|
+
)`,
|
|
7974
|
+
`CREATE UNIQUE INDEX IF NOT EXISTS uniq_review_webhook_delivery ON review_webhook_deliveries(project_id, notification_id, event_id)`,
|
|
7975
|
+
`CREATE INDEX IF NOT EXISTS idx_review_webhook_deliveries_due ON review_webhook_deliveries(state, retry_at)`
|
|
7976
|
+
]
|
|
7934
7977
|
}
|
|
7935
7978
|
];
|
|
7936
7979
|
var AERO_LEDGER_REBUILDS = [
|
|
@@ -9172,6 +9215,7 @@ export {
|
|
|
9172
9215
|
doctorHealthState,
|
|
9173
9216
|
siteLivenessState,
|
|
9174
9217
|
notifications,
|
|
9218
|
+
reviewWebhookDeliveries,
|
|
9175
9219
|
googleConnections,
|
|
9176
9220
|
gscSearchData,
|
|
9177
9221
|
gscDataWatermarks,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SOKD3TRA.js";
|
|
4
4
|
import {
|
|
5
5
|
emitJsonl
|
|
6
6
|
} from "./chunk-Z7IUAJOF.js";
|
|
7
7
|
import {
|
|
8
8
|
measurementDraftOperationSchema,
|
|
9
9
|
runMeasurementDraftAction
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-522MYBLV.js";
|
|
11
11
|
import {
|
|
12
12
|
isMachineFormat,
|
|
13
13
|
systemError
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
unattributedAnswersLabel,
|
|
38
38
|
uncheckedSourcesLabel,
|
|
39
39
|
visibilityReportRequestSchema
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TIKT62IV.js";
|
|
41
41
|
|
|
42
42
|
// src/commands/measurement-plan.ts
|
|
43
43
|
import crypto from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseJsonColumn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5AJWITKP.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-TIKT62IV.js";
|
|
30
30
|
|
|
31
31
|
// ../provider-openai/src/normalize.ts
|
|
32
32
|
import OpenAI from "openai";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registeredProviderNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S2UDQAT7.js";
|
|
4
4
|
import {
|
|
5
5
|
configExists,
|
|
6
6
|
loadConfigRaw
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YFUQHJRZ.js";
|
|
8
8
|
|
|
9
9
|
// src/setup-state.ts
|
|
10
10
|
import fs from "fs";
|
|
@@ -28,7 +28,7 @@ async function buildSetupState() {
|
|
|
28
28
|
}
|
|
29
29
|
if (dbPath && fs.existsSync(dbPath)) {
|
|
30
30
|
try {
|
|
31
|
-
const { createClient, projects, queries: queriesTable } = await import("./src-
|
|
31
|
+
const { createClient, projects, queries: queriesTable } = await import("./src-V6W5XBAI.js");
|
|
32
32
|
const db = createClient(dbPath);
|
|
33
33
|
project_count = db.select({ id: projects.id }).from(projects).all().length;
|
|
34
34
|
const firstQuery = db.select({ id: queriesTable.id }).from(queriesTable).limit(1).all();
|
|
@@ -47,7 +47,7 @@ function queueServeHandoff() {
|
|
|
47
47
|
async function runPendingServeHandoff(format) {
|
|
48
48
|
if (!pendingServeHandoff) return;
|
|
49
49
|
pendingServeHandoff = false;
|
|
50
|
-
const { serveCommand } = await import("./serve-
|
|
50
|
+
const { serveCommand } = await import("./serve-R2OR4ZF2.js");
|
|
51
51
|
await serveCommand(format);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackIntegrationConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ULFDCKIC.js";
|
|
4
4
|
import {
|
|
5
5
|
cliRuntimeContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XXYBDAS2.js";
|
|
7
7
|
|
|
8
8
|
// src/cli-connection-telemetry.ts
|
|
9
9
|
function trackCliConnection(properties) {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
dedupeGscSitemapUrls,
|
|
3
3
|
resolveDiscoveredGscSitemapUrls,
|
|
4
4
|
submitGscSitemapBatches
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KRIZF753.js";
|
|
6
6
|
import {
|
|
7
7
|
measurementDraftOperationSchema,
|
|
8
8
|
runMeasurementDraftAction
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-522MYBLV.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError
|
|
12
12
|
} from "./chunk-HGMYEDAQ.js";
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
trafficSeriesGranularitySchema,
|
|
150
150
|
visibilityCompareSelectionSchema,
|
|
151
151
|
visibilityReportRequestSchema
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-TIKT62IV.js";
|
|
153
153
|
|
|
154
154
|
// src/mcp/tool-registry.ts
|
|
155
155
|
import { z as z2 } from "zod";
|
|
@@ -2296,6 +2296,50 @@ var rawCanonryMcpTools = [
|
|
|
2296
2296
|
handler: (client, input) => client.gaSessionHistory(input.project, compactStringParams(input, GA_RANGE_PARAMS))
|
|
2297
2297
|
}),
|
|
2298
2298
|
// ----- Google Business Profile (Phase 1: auth + discovery) -----
|
|
2299
|
+
defineTool({
|
|
2300
|
+
name: "canonry_gbp_local_post_attempt",
|
|
2301
|
+
title: "Read a saved Google post attempt",
|
|
2302
|
+
description: "Reconcile the exact saved attempt without another provider POST. Uncertain is not permission to retry.",
|
|
2303
|
+
access: "read",
|
|
2304
|
+
tier: "gbp",
|
|
2305
|
+
inputSchema: z2.object({ project: projectNameSchema, attemptId: z2.string(), packageId: z2.string() }),
|
|
2306
|
+
annotations: readAnnotations(),
|
|
2307
|
+
openApiOperations: ["GET /api/v1/projects/{name}/gbp/local-post-attempt"],
|
|
2308
|
+
handler: (client, input) => client.getGbpLocalPostAttempt(input.project, input.attemptId, input.packageId)
|
|
2309
|
+
}),
|
|
2310
|
+
defineTool({
|
|
2311
|
+
name: "canonry_gbp_local_posts",
|
|
2312
|
+
title: "Read Google Business Profile posts",
|
|
2313
|
+
description: "Read one bounded page for an exact selected account/location. A nextPageToken means coverage is incomplete.",
|
|
2314
|
+
access: "read",
|
|
2315
|
+
tier: "gbp",
|
|
2316
|
+
inputSchema: z2.object({ project: projectNameSchema, accountName: z2.string(), locationName: z2.string(), pageToken: z2.string().optional() }),
|
|
2317
|
+
annotations: readAnnotations(),
|
|
2318
|
+
openApiOperations: ["GET /api/v1/projects/{name}/gbp/local-posts"],
|
|
2319
|
+
handler: (client, input) => client.listGbpLocalPosts(input.project, { accountName: input.accountName, locationName: input.locationName, pageToken: input.pageToken })
|
|
2320
|
+
}),
|
|
2321
|
+
defineTool({
|
|
2322
|
+
name: "canonry_gbp_local_post",
|
|
2323
|
+
title: "Read an exact Google Business Profile post",
|
|
2324
|
+
description: "Read current state, content, source image and public URL; PROCESSING is not published.",
|
|
2325
|
+
access: "read",
|
|
2326
|
+
tier: "gbp",
|
|
2327
|
+
inputSchema: z2.object({ project: projectNameSchema, postName: z2.string() }),
|
|
2328
|
+
annotations: readAnnotations(),
|
|
2329
|
+
openApiOperations: ["GET /api/v1/projects/{name}/gbp/local-post"],
|
|
2330
|
+
handler: (client, input) => client.getGbpLocalPost(input.project, input.postName)
|
|
2331
|
+
}),
|
|
2332
|
+
defineTool({
|
|
2333
|
+
name: "canonry_gbp_reviews_live",
|
|
2334
|
+
title: "Read live Google reviews",
|
|
2335
|
+
description: "Read the complete bounded review baseline for an exact selected account/location; never replies or changes reviews.",
|
|
2336
|
+
access: "read",
|
|
2337
|
+
tier: "gbp",
|
|
2338
|
+
inputSchema: z2.object({ project: projectNameSchema, accountName: z2.string(), locationName: z2.string() }),
|
|
2339
|
+
annotations: readAnnotations(),
|
|
2340
|
+
openApiOperations: ["GET /api/v1/projects/{name}/gbp/reviews/live"],
|
|
2341
|
+
handler: (client, input) => client.readGbpReviewsLive(input.project, { accountName: input.accountName, locationName: input.locationName })
|
|
2342
|
+
}),
|
|
2299
2343
|
defineTool({
|
|
2300
2344
|
name: "canonry_gbp_accounts",
|
|
2301
2345
|
title: "List Google Business Profile accounts",
|