@canonry/canonry 7.96.0 → 7.97.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +1 -1
- package/assets/agent-workspace/skills/canonry/references/google-business-profile.md +9 -1
- package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +28 -23
- package/assets/assets/{AgentSetupPage-DBiPrrdJ.js → AgentSetupPage-DiX4GptZ.js} +6 -6
- package/assets/assets/{AuditHistoryPanel-DSnIs064.js → AuditHistoryPanel-de0zJkNC.js} +1 -1
- package/assets/assets/{BacklinksPage-tPiG0nEP.js → BacklinksPage-BFfksR1M.js} +1 -1
- package/assets/assets/{ChartPrimitives-Cs2iavxU.js → ChartPrimitives-CvK6CQrj.js} +1 -1
- package/assets/assets/{Hint-uoVNfr0U.js → Hint-c4a4W87X.js} +1 -1
- package/assets/assets/{HistoryPage-sxYHrfNk.js → HistoryPage-DQnGncRE.js} +1 -1
- package/assets/assets/{InfoTooltip-CNLlIWeP.js → InfoTooltip-Drnst4ML.js} +1 -1
- package/assets/assets/MeasurementPropertyPage-DYCBQSnh.js +4 -0
- package/assets/assets/ProjectPage-BwwkYgfJ.js +11 -0
- package/assets/assets/{RunsPage-RE6nLBTv.js → RunsPage-VeWCiQeM.js} +1 -1
- package/assets/assets/{SettingsPage-Dn93SUD1.js → SettingsPage-BXPhnRMo.js} +1 -1
- package/assets/assets/SiteHealthSection-Ch9tNd8P.js +2 -0
- package/assets/assets/ToneBadge-JbnFjl09.js +60 -0
- package/assets/assets/{TrafficPage-cNokjIJa.js → TrafficPage-CIzz7gmK.js} +5 -5
- package/assets/assets/TrafficSourceDetailPage-6IbzMhJ6.js +1 -0
- package/assets/assets/{account-context-RM43ek4w.js → account-context-DIWdmpj6.js} +1 -1
- package/assets/assets/{agent-trust-copy-CRZ_oe24.js → agent-trust-copy-2Os0XoaQ.js} +1 -1
- package/assets/assets/{card-GFeSoV1m.js → card-CoYH9h6o.js} +1 -1
- package/assets/assets/{format-helpers-4dA9HFgE.js → format-helpers-cRaGEIxc.js} +1 -1
- package/assets/assets/{index-DsdpvA7m.css → index-BAxHW-1G.css} +1 -1
- package/assets/assets/index-vfNb458q.js +60 -0
- package/assets/assets/{query-client-B3Z7Vqgv.js → query-client-Bf1oywTZ.js} +1 -1
- package/assets/assets/react-query-DYI08wkz.js +1 -0
- package/assets/assets/{react-sigma_core.esm.min-IsYtRW95.js → react-sigma_core.esm.min-BEhi6Q9o.js} +1 -1
- package/assets/assets/server-traffic-tgMckYtk.js +1 -0
- package/assets/assets/{service-Bu4M0T0x.js → service-CN0y5nRe.js} +1 -1
- package/assets/assets/vendor-lucide-DuOM7wVi.js +1 -0
- package/assets/assets/{vendor-markdown-BiRP51B0.js → vendor-markdown-BDQ1GKGP.js} +1 -1
- package/assets/assets/{vendor-radix-PQeN8gOe.js → vendor-radix-BGYlvS2l.js} +1 -1
- package/assets/assets/{vendor-recharts-CY6tH-r6.js → vendor-recharts-DhEHcK3G.js} +1 -1
- package/assets/assets/{vendor-tanstack-tBjrfzKu.js → vendor-tanstack-BNuZ37rE.js} +1 -1
- package/assets/index.html +15 -15
- package/dist/{ads-NS4KNR2U.js → ads-PLE6G5L4.js} +3 -3
- package/dist/{agent-773TJYGJ.js → agent-SMRSCEUD.js} +7 -7
- package/dist/{agent-ask-MQXNRMAN.js → agent-ask-ATVWKFBN.js} +3 -3
- package/dist/{agent-conversations-5EEEEWEQ.js → agent-conversations-PM7W2OUW.js} +3 -3
- package/dist/{agent-journeys-U5ITMUIM.js → agent-journeys-376UFUPW.js} +3 -3
- package/dist/{agent-memory-6PEE54ST.js → agent-memory-VEYWWP2U.js} +3 -3
- package/dist/{agent-providers-6D76GSYA.js → agent-providers-Y2IU7CB6.js} +3 -3
- package/dist/{agent-transcript-6M5RYZIR.js → agent-transcript-FOWVPPFL.js} +3 -3
- package/dist/{analytics-WBFQJTHV.js → analytics-NEQAW76X.js} +3 -3
- package/dist/{apply-AGNDBHNV.js → apply-CZ4ZFAS3.js} +3 -3
- package/dist/{backfill-ZDPS7VON.js → backfill-ZSLOPGNJ.js} +10 -10
- package/dist/{backlinks-TNPNJXPS.js → backlinks-Q6MNI7M4.js} +3 -3
- package/dist/{bing-5WB7JCBP.js → bing-ES2CATPT.js} +3 -3
- package/dist/{bootstrap-XF77XL7U.js → bootstrap-Q65IKM2V.js} +10 -10
- package/dist/{cdp-NBTJLUPM.js → cdp-MELKYC3M.js} +7 -7
- package/dist/{chunk-CPJX2RWA.js → chunk-666P5EOU.js} +2 -2
- package/dist/{chunk-G6JSK2RY.js → chunk-6CKI43AL.js} +1 -1
- package/dist/{chunk-UPALIEP2.js → chunk-6JKRJCUP.js} +2 -2
- package/dist/{chunk-OCXDY2DG.js → chunk-6TIJFZX5.js} +1 -1
- package/dist/{chunk-PC7ZUW2H.js → chunk-74ZUO267.js} +2 -2
- package/dist/{chunk-PSCXQGJE.js → chunk-7VPF373L.js} +6 -5
- package/dist/{chunk-LXKWFM74.js → chunk-AGTWJHQH.js} +2 -2
- package/dist/{chunk-HN2YNYPO.js → chunk-BUTOZPE7.js} +3 -3
- package/dist/{chunk-SDCH5EBA.js → chunk-D4ABSOQG.js} +1 -1
- package/dist/{chunk-377PJ4AT.js → chunk-DUXDIMY5.js} +3 -3
- package/dist/{chunk-4GECW7XZ.js → chunk-DVIZZYL5.js} +3 -3
- package/dist/{chunk-24CUAPPY.js → chunk-F2O75EG3.js} +4 -4
- package/dist/{chunk-MAOKDX3W.js → chunk-FFPD6DWR.js} +5 -5
- package/dist/{chunk-35AEUG77.js → chunk-GSQR574F.js} +1 -1
- package/dist/{chunk-5VLCPNTR.js → chunk-HL64C53O.js} +6 -6
- package/dist/{chunk-F2O42DSO.js → chunk-IUMZCSU4.js} +29 -26
- package/dist/{chunk-HKUH75YH.js → chunk-JBTW6WMM.js} +2 -2
- package/dist/{chunk-YL77WFHQ.js → chunk-JJH55CAR.js} +7 -7
- package/dist/{chunk-SPWGDODX.js → chunk-JN4ANYGG.js} +357 -357
- package/dist/{chunk-SXHD2NFT.js → chunk-KNGGDWL5.js} +4 -4
- package/dist/{chunk-XOCSSHYD.js → chunk-M6OBSGWD.js} +1 -1
- package/dist/{chunk-JLC3CCFM.js → chunk-NKJLQ6ED.js} +4 -4
- package/dist/{chunk-ZZVRDHSK.js → chunk-PNVI2UYZ.js} +1 -1
- package/dist/{chunk-W4ZRFNOX.js → chunk-Q4ET34BW.js} +10 -0
- package/dist/{chunk-3FHPUOMW.js → chunk-QP6RYMZR.js} +1 -1
- package/dist/{chunk-IO4BZLM7.js → chunk-RIQXJDGZ.js} +2 -2
- package/dist/{chunk-I663X7WB.js → chunk-RXWISYNN.js} +2 -2
- package/dist/{chunk-KCKUCJOG.js → chunk-SKXOS5YA.js} +1 -1
- package/dist/{chunk-MJIL4BWR.js → chunk-TYMCZPUS.js} +3 -3
- package/dist/{chunk-JGLX5WU6.js → chunk-VDWTOMU4.js} +1 -1
- package/dist/{chunk-N4SEITGT.js → chunk-VRDN5TH7.js} +5 -5
- package/dist/{chunk-S3HNS2YJ.js → chunk-VUEVL7AR.js} +3 -3
- package/dist/{chunk-6X24IDPZ.js → chunk-YL3ZBKBV.js} +1 -1
- package/dist/{chunk-FUMYCZ62.js → chunk-Z57QUHG6.js} +1 -1
- package/dist/{chunk-QBIIQF3J.js → chunk-ZQDHBJ6N.js} +1 -1
- package/dist/{citations-MZ6XQDI3.js → citations-WH4AFXDK.js} +3 -3
- package/dist/{cli-catalog-QPB2ADGD.js → cli-catalog-MWRBP7AQ.js} +3 -3
- package/dist/{cli-commands-RRHOMF6X.js → cli-commands-5MCS3ASU.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-VF77UMUR.js → competitor-YPAKKJ7N.js} +3 -3
- package/dist/{content-BINAMQFF.js → content-MPKNHIX6.js} +3 -3
- package/dist/{dashboard-OE4BGMKP.js → dashboard-BC4XZVJW.js} +6 -6
- package/dist/{demo-3HVJUP3G.js → demo-JMOSQAAH.js} +1 -1
- package/dist/{demo-server-BEFPBA7P.js → demo-server-YPDXH7HV.js} +12 -12
- package/dist/{discover-3XUPBCXL.js → discover-4JY2M3EM.js} +3 -3
- package/dist/{discover-eval-3DWJPIU2.js → discover-eval-D2L2BVSD.js} +3 -3
- package/dist/{doctor-KYWVYS74.js → doctor-MAJ37N2G.js} +3 -3
- package/dist/{evidence-DCTXENHR.js → evidence-RTA22XER.js} +3 -3
- package/dist/{export-cmd-E5OUTSMR.js → export-cmd-YJTESHX7.js} +3 -3
- package/dist/{ga-KY7MHW2G.js → ga-TYUWJRWZ.js} +3 -3
- package/dist/{gbp-2TJ6JACW.js → gbp-LP5KMTMQ.js} +3 -3
- package/dist/{google-BZKYIIA6.js → google-FFOKM2NL.js} +4 -4
- package/dist/{google-marketing-6ACZP4JB.js → google-marketing-C2F4ZO7H.js} +1 -1
- package/dist/{health-cmd-LCVJY5MG.js → health-cmd-5WFYDOEA.js} +3 -3
- package/dist/{history-MAZOPZZ5.js → history-O4NN3O5X.js} +3 -3
- package/dist/index.d.ts +20 -20
- package/dist/index.js +25 -25
- package/dist/{init-Z35R7A6X.js → init-ZHDC3ATQ.js} +12 -12
- package/dist/{insights-PAZHZP74.js → insights-RKCSF3PQ.js} +3 -3
- package/dist/intelligence-service-T5DWIMJS.js +16 -0
- package/dist/{journeys-H6OPK5XY.js → journeys-INDLSVDL.js} +3 -3
- package/dist/{keys-DF6LV4T5.js → keys-N6W7BTTO.js} +3 -3
- package/dist/{keyword-ILICCRQK.js → keyword-5LETJTII.js} +3 -3
- package/dist/{logs-PKKCPDIN.js → logs-QVLMCHQN.js} +3 -3
- package/dist/{mcp-7GVOYYX4.js → mcp-JZVHPMAA.js} +4 -4
- package/dist/mcp.js +9 -9
- package/dist/{measurement-plan-V7E7UHE2.js → measurement-plan-NUZ73DM3.js} +5 -5
- package/dist/{notify-ISU7XBAW.js → notify-IEAGKAGA.js} +3 -3
- package/dist/{organic-evidence-FIL7YJ4Z.js → organic-evidence-2JPPS7UD.js} +3 -3
- package/dist/{overview-NVBLGY53.js → overview-IYB5SGBS.js} +4 -4
- package/dist/{project-NSNMLL3Z.js → project-UCFNHZJS.js} +3 -3
- package/dist/{query-TPZUUJ4X.js → query-JPJ5M254.js} +3 -3
- package/dist/{research-WILAIDCK.js → research-Q3SWURN5.js} +3 -3
- package/dist/{results-export-XP7XUKI2.js → results-export-N35U35LS.js} +3 -3
- package/dist/{run-L646IKUB.js → run-PD3BHMPN.js} +4 -4
- package/dist/{schedule-I2LW344O.js → schedule-5S5I5M5B.js} +3 -3
- package/dist/{search-7EBWXQ6X.js → search-6QK4QUZO.js} +3 -3
- package/dist/{serve-LNBKTV5N.js → serve-42YNCY2A.js} +26 -26
- package/dist/{session-U2OPQSJE.js → session-P6STOUZI.js} +13 -13
- package/dist/{settings-IGJ6ZA7C.js → settings-YCHQKBIA.js} +3 -3
- package/dist/{sitemaps-B4G4PXIE.js → sitemaps-6BZ5OCUI.js} +3 -3
- package/dist/{skills-WQXXY2HN.js → skills-U3YAP7IA.js} +2 -2
- package/dist/{snapshot-2TD4WIEO.js → snapshot-JFPQGZAP.js} +3 -3
- package/dist/{src-DI4RNYAG.js → src-D6RJ4KFK.js} +2 -2
- package/dist/{status-SKGGPZFE.js → status-VE66J42E.js} +4 -4
- package/dist/{technical-aeo-AFAXF5M5.js → technical-aeo-NGBR5XDS.js} +3 -3
- package/dist/{telemetry-ZRRX7I75.js → telemetry-HBJ3325H.js} +4 -4
- package/dist/{tools-RY7ZXQJ5.js → tools-AJWV72XT.js} +11 -11
- package/dist/{traffic-LA3FZKID.js → traffic-6VWPMCFW.js} +5 -5
- package/dist/{trends-GUUBTBCO.js → trends-2LMEQBW7.js} +3 -3
- package/dist/{users-W44TRUSL.js → users-VIXXMBC4.js} +3 -3
- package/dist/{visibility-stats-KMKV4TF5.js → visibility-stats-GD5BLPQ4.js} +3 -3
- package/dist/{wordpress-FNLXVJDO.js → wordpress-RAWU4AUN.js} +3 -3
- package/package.json +1 -1
- package/assets/assets/MeasurementPropertyPage-B8EbifR2.js +0 -4
- package/assets/assets/ProjectPage-C1_A7iGy.js +0 -11
- package/assets/assets/SiteHealthSection-BEBYoCNu.js +0 -2
- package/assets/assets/ToneBadge-DFlmWh2A.js +0 -60
- package/assets/assets/TrafficSourceDetailPage-DFGbx0zs.js +0 -1
- package/assets/assets/index-CohgAQ9L.js +0 -60
- package/assets/assets/react-query-HC0PcMhZ.js +0 -1
- package/assets/assets/server-traffic-BtWOYZXf.js +0 -1
- package/assets/assets/vendor-lucide-Bo69m9KC.js +0 -1
- package/dist/intelligence-service-YA7PBFQV.js +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
answerServiceAdapters,
|
|
3
3
|
answerServiceDescriptors
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M6OBSGWD.js";
|
|
5
5
|
import {
|
|
6
6
|
AeroLlmUsageFeatures,
|
|
7
7
|
aeroTurnStatus,
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
resolveConfiguredAgentProvider,
|
|
28
28
|
resolveSessionProviderAndModel,
|
|
29
29
|
setAeroSystemPrompt
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HL64C53O.js";
|
|
31
31
|
import {
|
|
32
32
|
AeroToolProfiles,
|
|
33
33
|
AeroToolScopes,
|
|
34
34
|
buildAeroStateTools,
|
|
35
35
|
isAeroToolProfile,
|
|
36
36
|
truncateToolResult
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NKJLQ6ED.js";
|
|
38
38
|
import {
|
|
39
39
|
getGoogleAuthConfig,
|
|
40
40
|
getGoogleConnection,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
removeCloudflareTrafficConnection,
|
|
54
54
|
removeCloudflareTrafficConnectionBySourceId,
|
|
55
55
|
upsertCloudflareTrafficConnection
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-YL3ZBKBV.js";
|
|
57
57
|
import {
|
|
58
58
|
claudeAdapter,
|
|
59
59
|
embedQueries,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
openrouterAdapter,
|
|
66
66
|
perplexityAdapter,
|
|
67
67
|
startTrafficReclassification
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-FFPD6DWR.js";
|
|
69
69
|
import {
|
|
70
70
|
classifyUsageSurface,
|
|
71
71
|
createApiUsageTelemetry,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
startOutcomeTimer,
|
|
78
78
|
trackFeatureCompleted,
|
|
79
79
|
trackInstallState
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-F2O75EG3.js";
|
|
81
81
|
import {
|
|
82
82
|
isLoopbackBindHost
|
|
83
83
|
} from "./chunk-TSENU4GG.js";
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
isApiProviderRegistrable,
|
|
86
86
|
isCdpProviderRegistrable,
|
|
87
87
|
registeredProviderNames
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-Z57QUHG6.js";
|
|
89
89
|
import {
|
|
90
90
|
checkLatestVersionForServer,
|
|
91
91
|
getOrCreateAnonymousId,
|
|
@@ -97,17 +97,17 @@ import {
|
|
|
97
97
|
recordDashboardEvent,
|
|
98
98
|
setTelemetryPreference,
|
|
99
99
|
trackEvent
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-AGTWJHQH.js";
|
|
101
101
|
import {
|
|
102
102
|
createCanonryMcpServer
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-TYMCZPUS.js";
|
|
104
104
|
import {
|
|
105
105
|
CANONRY_MCP_TIERS,
|
|
106
106
|
CANONRY_MCP_TOOLKIT_NAMES
|
|
107
107
|
} from "./chunk-MTW37GXF.js";
|
|
108
108
|
import {
|
|
109
109
|
ApiClient
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-RXWISYNN.js";
|
|
111
111
|
import {
|
|
112
112
|
AGENT_PROVIDERS,
|
|
113
113
|
adapterSupportsBatch,
|
|
@@ -139,21 +139,21 @@ import {
|
|
|
139
139
|
saveConfigPatch,
|
|
140
140
|
sentimentInstallReadiness,
|
|
141
141
|
updateSharedProviderExecutionGate
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-PNVI2UYZ.js";
|
|
143
143
|
import {
|
|
144
144
|
getBundledSkillSnapshots
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-ZQDHBJ6N.js";
|
|
146
146
|
import {
|
|
147
147
|
computeFactorAverages,
|
|
148
148
|
deleteSiteCrawlGraphLayout,
|
|
149
149
|
persistSiteCrawlGraphLayout,
|
|
150
150
|
prepareSiteCrawlGraphLayout,
|
|
151
151
|
recordedSharePct
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-74ZUO267.js";
|
|
153
153
|
import {
|
|
154
154
|
CanonryMcpToolNames,
|
|
155
155
|
canonryMcpTools
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-BUTOZPE7.js";
|
|
157
157
|
import {
|
|
158
158
|
PACKAGE_VERSION
|
|
159
159
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -162,16 +162,16 @@ import {
|
|
|
162
162
|
} from "./chunk-HGMYEDAQ.js";
|
|
163
163
|
import {
|
|
164
164
|
IntelligenceService
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-VRDN5TH7.js";
|
|
166
166
|
import {
|
|
167
167
|
computeCitedCompetitorDomains,
|
|
168
168
|
determineCitationState
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-QP6RYMZR.js";
|
|
170
170
|
import {
|
|
171
171
|
addLogListener,
|
|
172
172
|
createFastifyLogger,
|
|
173
173
|
createLogger
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-RIQXJDGZ.js";
|
|
175
175
|
import {
|
|
176
176
|
BingApiError,
|
|
177
177
|
CC_CACHE_DIR,
|
|
@@ -316,7 +316,7 @@ import {
|
|
|
316
316
|
webhookResponseReason,
|
|
317
317
|
webhookTargetRefusalReason,
|
|
318
318
|
writeAuditLog
|
|
319
|
-
} from "./chunk-
|
|
319
|
+
} from "./chunk-7VPF373L.js";
|
|
320
320
|
import {
|
|
321
321
|
OperationalLogStore,
|
|
322
322
|
SentimentIdempotencyConflict,
|
|
@@ -413,7 +413,7 @@ import {
|
|
|
413
413
|
unrecognizedAgentEventsHourly,
|
|
414
414
|
unrecognizedAgentNotifyState,
|
|
415
415
|
usageCounters
|
|
416
|
-
} from "./chunk-
|
|
416
|
+
} from "./chunk-VDWTOMU4.js";
|
|
417
417
|
import {
|
|
418
418
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
419
419
|
AI_ENGINE_DOMAINS,
|
|
@@ -567,6 +567,7 @@ import {
|
|
|
567
567
|
extractProviderHttpStatus,
|
|
568
568
|
extractRecommendedCompetitors,
|
|
569
569
|
factorStatusFromScore,
|
|
570
|
+
feedbackAcceptedDtoSchema,
|
|
570
571
|
filterCapturedCitedUrls,
|
|
571
572
|
forbidden,
|
|
572
573
|
formatIsoDateInTimeZone,
|
|
@@ -672,7 +673,7 @@ import {
|
|
|
672
673
|
winnabilityClassLabel,
|
|
673
674
|
withRetry,
|
|
674
675
|
withSkippedProviders
|
|
675
|
-
} from "./chunk-
|
|
676
|
+
} from "./chunk-Q4ET34BW.js";
|
|
676
677
|
|
|
677
678
|
// src/google-marketing-runtime.ts
|
|
678
679
|
import crypto2 from "crypto";
|
|
@@ -5906,8 +5907,11 @@ async function sendFeedback(submission, context, deps = {}) {
|
|
|
5906
5907
|
throw deliveryFailed("Could not reach canonry.ai to send feedback. Check the network and try again.");
|
|
5907
5908
|
}
|
|
5908
5909
|
if (response.status === 202 || response.ok) {
|
|
5909
|
-
const
|
|
5910
|
-
|
|
5910
|
+
const receipt = feedbackAcceptedDtoSchema.safeParse(await response.json().catch(() => void 0));
|
|
5911
|
+
if (!receipt.success || !receipt.data.accepted || !receipt.data.id.trim()) {
|
|
5912
|
+
throw deliveryFailed("canonry.ai did not confirm feedback delivery. Your feedback may not have been stored.");
|
|
5913
|
+
}
|
|
5914
|
+
return receipt.data;
|
|
5911
5915
|
}
|
|
5912
5916
|
if (response.status === 429) throw quotaExceeded("feedback submissions", { retryLater: true });
|
|
5913
5917
|
if (response.status === 400 || response.status === 413) {
|
|
@@ -5963,7 +5967,7 @@ function createUiTelemetryGate(options = {}) {
|
|
|
5963
5967
|
const elapsed = Math.max(0, at - refilledAt);
|
|
5964
5968
|
refilledAt = at;
|
|
5965
5969
|
for (const bucket of buckets) bucket.tokens = Math.min(bucket.capacity, bucket.tokens + elapsed * bucket.perMs);
|
|
5966
|
-
if (buckets.some((bucket) => bucket.tokens < 1))
|
|
5970
|
+
if (buckets.some((bucket) => bucket.tokens < 1)) throw quotaExceeded("UI telemetry events", { retryLater: true });
|
|
5967
5971
|
for (const bucket of buckets) bucket.tokens -= 1;
|
|
5968
5972
|
record(event);
|
|
5969
5973
|
return true;
|
|
@@ -5976,7 +5980,7 @@ function nonBlank(value) {
|
|
|
5976
5980
|
return trimmed ? trimmed : void 0;
|
|
5977
5981
|
}
|
|
5978
5982
|
function resolveBuildCommit(env = process.env) {
|
|
5979
|
-
const embedded = true ? "
|
|
5983
|
+
const embedded = true ? "3bd7d9bc47a109ddbcbfa8f2f3d95aa3c80c926e" : void 0;
|
|
5980
5984
|
return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
|
|
5981
5985
|
}
|
|
5982
5986
|
function resolveInstanceIdentity(env = process.env) {
|
|
@@ -22295,8 +22299,7 @@ async function createServer(opts) {
|
|
|
22295
22299
|
opts.config.telemetry = enabled;
|
|
22296
22300
|
} : void 0,
|
|
22297
22301
|
recordOnboardingEvent: (event) => recordDashboardEvent(event),
|
|
22298
|
-
//
|
|
22299
|
-
// the dashboard stops sending for the session.
|
|
22302
|
+
// False stops collection when opted out; 429 allows recovery after a rate limit.
|
|
22300
22303
|
recordUiEvent: createUiTelemetryGate(),
|
|
22301
22304
|
submitFeedback: (submission, context) => sendFeedback(submission, context),
|
|
22302
22305
|
onCdpConfigure: async (host, port2) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RXWISYNN.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-Q4ET34BW.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/run.ts
|
|
25
25
|
function getClient() {
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
reparseStoredResult4,
|
|
9
9
|
reparseStoredResult5,
|
|
10
10
|
resolveStoredApiResponse
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FFPD6DWR.js";
|
|
12
12
|
import {
|
|
13
13
|
loadConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PNVI2UYZ.js";
|
|
15
15
|
import {
|
|
16
16
|
isMachineFormat
|
|
17
17
|
} from "./chunk-HGMYEDAQ.js";
|
|
18
18
|
import {
|
|
19
19
|
determineCitationState
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QP6RYMZR.js";
|
|
21
21
|
import {
|
|
22
22
|
backfillProjectAnswerMentions,
|
|
23
23
|
competitorIdentityColumns,
|
|
24
24
|
createRunCompetitorResolver,
|
|
25
25
|
readMarketCompetitorNames,
|
|
26
26
|
refreshSnapshotMentionIdentity
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7VPF373L.js";
|
|
28
28
|
import {
|
|
29
29
|
RawEventSampleEventTypes,
|
|
30
30
|
auditLog,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
querySnapshots,
|
|
39
39
|
rawEventSamples,
|
|
40
40
|
runs
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VDWTOMU4.js";
|
|
42
42
|
import {
|
|
43
43
|
ProviderNames,
|
|
44
44
|
RetrievalContracts,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
extractRecommendedCompetitors,
|
|
52
52
|
normalizeUrlPath,
|
|
53
53
|
openRouterRouteModel
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-Q4ET34BW.js";
|
|
55
55
|
|
|
56
56
|
// src/commands/backfill.ts
|
|
57
57
|
import { setImmediate as yieldToEventLoop } from "timers/promises";
|
|
@@ -429,7 +429,7 @@ No DB writes performed. Re-run without --dry-run to apply.`);
|
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
async function backfillInsightsCommand(project, opts) {
|
|
432
|
-
const { IntelligenceService } = await import("./intelligence-service-
|
|
432
|
+
const { IntelligenceService } = await import("./intelligence-service-T5DWIMJS.js");
|
|
433
433
|
const config = loadConfig();
|
|
434
434
|
const db = createClient(config.database);
|
|
435
435
|
migrate(db);
|