@canonry/canonry 7.114.0 → 7.116.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/{AccessControls-CZ9e8JQj.js → AccessControls-BTEv8WEG.js} +1 -1
- package/assets/assets/{AgentSetupPage-GAYSye6c.js → AgentSetupPage-CgZuonLM.js} +1 -1
- package/assets/assets/{AuditHistoryPanel-B8Nvxw1T.js → AuditHistoryPanel-BzSIEL75.js} +1 -1
- package/assets/assets/{BacklinksPage-DYDrtPvl.js → BacklinksPage-ChKIJpMB.js} +1 -1
- package/assets/assets/{ChartPrimitives-D5jY1n81.js → ChartPrimitives-IodrWRFV.js} +1 -1
- package/assets/assets/{HistoryPage-oWlfgq2q.js → HistoryPage-C3iaKueQ.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-8_IMBhbd.js → MeasurementPropertyPage-Dd7B-Ixb.js} +1 -1
- package/assets/assets/{ProjectPage-mopnzPrl.js → ProjectPage-Ce4gBiK_.js} +3 -3
- package/assets/assets/{RunsPage-BQVy2FfY.js → RunsPage-DRGUFx7X.js} +1 -1
- package/assets/assets/{ServerTrafficSection-rxO0hr0U.js → ServerTrafficSection-CrPHSAa5.js} +1 -1
- package/assets/assets/{SettingsPage-DNd1rljp.js → SettingsPage-D6iGHRSV.js} +1 -1
- package/assets/assets/ToneBadge-D3F2fbxC.js +60 -0
- package/assets/assets/{TrafficPage-DS7e2HJF.js → TrafficPage-DtUjNJ9U.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-GM_NYof2.js → TrafficSourceDetailPage-o-I_uVwZ.js} +1 -1
- package/assets/assets/{account-context-DPSUr6ab.js → account-context-CBRGXimz.js} +1 -1
- package/assets/assets/{agent-trust-copy-CzC0CyvN.js → agent-trust-copy-Bfe0oX0J.js} +1 -1
- package/assets/assets/{card-BuGARNWu.js → card-Biwv3_aH.js} +1 -1
- package/assets/assets/{index-7gTTbr2Y.js → index-CWI3NboX.js} +5 -5
- package/assets/assets/{query-client-20-WKWRF.js → query-client-CsLay1me.js} +1 -1
- package/assets/assets/{react-query-BcbS-PEL.js → react-query-DNgX0alO.js} +1 -1
- package/assets/assets/{react-sigma_core.esm.min-BPHKUIql.js → react-sigma_core.esm.min-BN4etdK8.js} +1 -1
- package/assets/assets/{server-traffic-k9hvgv11.js → server-traffic-CvK4BAVZ.js} +1 -1
- package/assets/assets/{service-CNCw9nYd.js → service-DxCuciCi.js} +1 -1
- package/assets/index.html +8 -8
- package/dist/{ads-MBUYUCIO.js → ads-JE6P76GB.js} +3 -3
- package/dist/{agent-H4TXDFUY.js → agent-BFX6GSRF.js} +7 -7
- package/dist/{agent-ask-VYCPGN7W.js → agent-ask-SKR5ZR3S.js} +3 -3
- package/dist/{agent-conversations-HOAJSJ2V.js → agent-conversations-AI6UIDDB.js} +3 -3
- package/dist/{agent-journeys-GCN2DMNW.js → agent-journeys-PBVXSG4K.js} +3 -3
- package/dist/{agent-memory-5ZY5GMXL.js → agent-memory-MUPLQMXZ.js} +3 -3
- package/dist/{agent-providers-3BFMXJZZ.js → agent-providers-56SGYO6F.js} +3 -3
- package/dist/{agent-transcript-BMGQADZ2.js → agent-transcript-W2TCKZHU.js} +3 -3
- package/dist/{analytics-4OBHR4V2.js → analytics-E5DJUXYW.js} +3 -3
- package/dist/{apply-JQHWDI43.js → apply-4BBHEPRB.js} +3 -3
- package/dist/{backfill-XU4QLLNT.js → backfill-WNCUA5QU.js} +10 -10
- package/dist/{backlinks-LFDFDL4X.js → backlinks-F7KVYHNP.js} +3 -3
- package/dist/{bing-HSZ2HYX4.js → bing-BKM3V5KY.js} +3 -3
- package/dist/{bootstrap-5M3WJOHV.js → bootstrap-CJ4T6WIR.js} +10 -10
- package/dist/{cdp-3L2UFZ6G.js → cdp-4DP7RUMV.js} +7 -7
- package/dist/{chunk-RFJM6G7L.js → chunk-3BMWBXHZ.js} +1 -1
- package/dist/{chunk-WW7XJXSQ.js → chunk-3MUJYDIH.js} +4 -4
- package/dist/{chunk-K3H67IQZ.js → chunk-3NUSGD54.js} +1 -1
- package/dist/{chunk-PPM2ZLVN.js → chunk-64EMWVEP.js} +3 -3
- package/dist/{chunk-BRAUKTBG.js → chunk-A2SB6EMM.js} +1 -1
- package/dist/{chunk-UK2WX3PM.js → chunk-BBMZ6534.js} +103 -1
- package/dist/{chunk-M5C7R7OF.js → chunk-BBVTNECC.js} +5 -5
- package/dist/{chunk-4UZR7UUC.js → chunk-BGIH54A3.js} +1 -1
- package/dist/{chunk-WMMIMZHL.js → chunk-D7XW5LNC.js} +4 -4
- package/dist/{chunk-ODFPL6P5.js → chunk-F44DLEKZ.js} +1 -1
- package/dist/{chunk-ZWWEWFCM.js → chunk-G5O4D7I6.js} +1 -1
- package/dist/{chunk-AP7ZGBXF.js → chunk-GNXQMAHP.js} +2 -2
- package/dist/{chunk-WBGBCRVH.js → chunk-GXMQORTQ.js} +2 -2
- package/dist/{chunk-EUQ6F4FY.js → chunk-IIIBDDAR.js} +4 -4
- package/dist/{chunk-MHNMMFON.js → chunk-IOMPGPSF.js} +1 -1
- package/dist/{chunk-HDCBIMFZ.js → chunk-JU3KGXW6.js} +5 -5
- package/dist/{chunk-X5ITRJ5N.js → chunk-KWAAPYTA.js} +21 -21
- package/dist/{chunk-CD5JEVPS.js → chunk-L6TNLBXW.js} +2 -2
- package/dist/{chunk-HK72OBW5.js → chunk-LA42RIFU.js} +2 -2
- package/dist/{chunk-B4CKWKSX.js → chunk-LABWX26D.js} +240 -168
- package/dist/{chunk-HNHJ7HQK.js → chunk-LK6KW5JN.js} +1 -1
- package/dist/{chunk-SGQGEKBN.js → chunk-LLKXFSCH.js} +7 -7
- package/dist/{chunk-VTT4VYJC.js → chunk-LSYMN3XT.js} +2 -2
- package/dist/{chunk-CHDPNIRF.js → chunk-OSATM2GX.js} +3 -3
- package/dist/{chunk-MSBSKTO2.js → chunk-P5EFITKV.js} +3 -3
- package/dist/{chunk-QDBKBXC7.js → chunk-PSP56PWY.js} +1 -1
- package/dist/{chunk-FXMIX2BP.js → chunk-QFIUKE5K.js} +3 -3
- package/dist/{chunk-Y2ZQFWH2.js → chunk-QMNM2YWF.js} +367 -367
- package/dist/{chunk-KOMFBAUK.js → chunk-QNWN7VRZ.js} +1 -1
- package/dist/{chunk-3T6YDOJX.js → chunk-RRBIKOMI.js} +1 -1
- package/dist/{chunk-TJGGK6IQ.js → chunk-T2AF4QN7.js} +4 -4
- package/dist/{chunk-GLAOBAJP.js → chunk-TKD5RVLL.js} +2 -2
- package/dist/{chunk-TCCGE2WF.js → chunk-WAFH2X45.js} +6 -6
- package/dist/{chunk-D7KVKYYT.js → chunk-X3ZK4A2L.js} +1 -1
- package/dist/{chunk-4IB3LHZV.js → chunk-YNWBNADZ.js} +3 -3
- package/dist/{chunk-RSTJWK3S.js → chunk-ZPHDPDLL.js} +3 -3
- package/dist/{citations-KLOXXIX5.js → citations-4FVSVZT2.js} +4 -4
- package/dist/{cli-catalog-SPUYWLST.js → cli-catalog-SAUMPDAU.js} +3 -3
- package/dist/{cli-commands-4WVVOSGO.js → cli-commands-3P4EFKQC.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-TVOPWBTO.js → competitor-MJZ2BYYY.js} +3 -3
- package/dist/{content-FOHOEMPN.js → content-GRWRFY7N.js} +3 -3
- package/dist/{dashboard-Y2MWS75I.js → dashboard-SWAO3TZZ.js} +6 -6
- package/dist/{demo-KKYQOGOL.js → demo-QIIAAUSK.js} +1 -1
- package/dist/{demo-server-7W7G3WBF.js → demo-server-UUENUNWU.js} +12 -12
- package/dist/{discover-NEFL3GNJ.js → discover-KFWFOOT5.js} +4 -4
- package/dist/{discover-eval-5UTXVZN2.js → discover-eval-DOUPPY2M.js} +3 -3
- package/dist/{doctor-IPEY4PEU.js → doctor-ZGZ2VEAR.js} +3 -3
- package/dist/{evidence-2I55I5RU.js → evidence-27V4BDDW.js} +3 -3
- package/dist/{export-cmd-CMCUOJY4.js → export-cmd-HCS5ILVI.js} +3 -3
- package/dist/{ga-HBFR7YAV.js → ga-MP2CGERV.js} +3 -3
- package/dist/{gbp-6KGE44C3.js → gbp-OLZAMOYH.js} +3 -3
- package/dist/{google-PFQMLRET.js → google-QB5MVADA.js} +4 -4
- package/dist/{google-marketing-DKZPDKSJ.js → google-marketing-LWQPSXDT.js} +1 -1
- package/dist/{health-cmd-YQ2CYZJF.js → health-cmd-YITDAMGQ.js} +4 -4
- package/dist/{history-GC6KSYLZ.js → history-UUSJUU64.js} +3 -3
- package/dist/index.d.ts +638 -12
- package/dist/index.js +25 -25
- package/dist/{init-YOI6WNXX.js → init-2K3C2O27.js} +12 -12
- package/dist/{insights-M5H3P2VD.js → insights-Y2CVUEG7.js} +3 -3
- package/dist/intelligence-service-R7ZGIFFP.js +16 -0
- package/dist/{journeys-EXIVMEY7.js → journeys-DJ7VEJHO.js} +3 -3
- package/dist/{keys-VFAC5KWZ.js → keys-DLI7ZAYO.js} +3 -3
- package/dist/{keyword-I5TY67XC.js → keyword-VXU2JWZW.js} +3 -3
- package/dist/{logs-3LEGAI5D.js → logs-WINF42ZW.js} +3 -3
- package/dist/{mcp-6TETRXJ2.js → mcp-OBWG4O3Z.js} +4 -4
- package/dist/mcp.js +9 -9
- package/dist/{measurement-plan-76O3EEXW.js → measurement-plan-MFZD2EVF.js} +5 -5
- package/dist/{notify-KIUJJX7L.js → notify-UXPTKXDA.js} +3 -3
- package/dist/{organic-evidence-R7TA4MZM.js → organic-evidence-7L6ZTSAH.js} +3 -3
- package/dist/{overview-PMD3GYMJ.js → overview-M3OFICCH.js} +5 -5
- package/dist/{project-R7AAYKYH.js → project-54O4VABG.js} +3 -3
- package/dist/{project-setup-VDEHXJ6V.js → project-setup-KQBXILOX.js} +3 -3
- package/dist/{query-QPPVYE6C.js → query-QAX5GMLH.js} +3 -3
- package/dist/{research-UZCT66YL.js → research-5FO3VMLG.js} +3 -3
- package/dist/{results-export-YITLJ6QN.js → results-export-75SDUK5R.js} +3 -3
- package/dist/{run-6WWMQSYW.js → run-ZYFBIQJ4.js} +5 -5
- package/dist/{schedule-ZZ4N4NWR.js → schedule-5MXMD6MZ.js} +3 -3
- package/dist/{search-PFNLSSB2.js → search-AVVB33MS.js} +3 -3
- package/dist/{serve-7OKBRXOG.js → serve-233RXB4F.js} +26 -26
- package/dist/{session-UOJNPN2F.js → session-QLNH3YT4.js} +13 -13
- package/dist/{settings-J5DVHHRL.js → settings-LJ4W7KYC.js} +3 -3
- package/dist/{sitemaps-E4EEEB2G.js → sitemaps-E26UGDHB.js} +3 -3
- package/dist/{skills-XOEQIEV6.js → skills-KDKO76BH.js} +2 -2
- package/dist/{snapshot-MHNO5GFX.js → snapshot-H6ESNKUI.js} +3 -3
- package/dist/{src-TWXSURXK.js → src-SS2AAYBS.js} +6 -2
- package/dist/{status-CASSB3RI.js → status-RTXJFACN.js} +5 -5
- package/dist/{technical-aeo-WNNXAOVE.js → technical-aeo-KMN7F4ZM.js} +3 -3
- package/dist/{telemetry-5PJFKHDT.js → telemetry-GKKKHJSB.js} +4 -4
- package/dist/{tools-OACYTLJ5.js → tools-HDZAXBXJ.js} +11 -11
- package/dist/{traffic-Q5QRTBKR.js → traffic-H57O776E.js} +5 -5
- package/dist/{trends-4X5EDJAA.js → trends-JD5DR6AW.js} +3 -3
- package/dist/{users-5FZLNPXR.js → users-TEDPJX74.js} +3 -3
- package/dist/{visibility-stats-AKIM3332.js → visibility-stats-UQLDR4QJ.js} +4 -4
- package/dist/{wordpress-CO6XLP53.js → wordpress-NQGK7CYA.js} +3 -3
- package/package.json +1 -1
- package/assets/assets/ToneBadge-ClBoU45-.js +0 -60
- package/dist/intelligence-service-ODVPS6D6.js +0 -16
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackCliConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L6TNLBXW.js";
|
|
4
4
|
import {
|
|
5
5
|
answerServiceDescriptors
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X3ZK4A2L.js";
|
|
7
7
|
import {
|
|
8
8
|
outcomeFailure
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-T2AF4QN7.js";
|
|
10
10
|
import {
|
|
11
11
|
isLoopbackBindHost
|
|
12
12
|
} from "./chunk-TSENU4GG.js";
|
|
13
13
|
import {
|
|
14
14
|
registeredProviderNames
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G5O4D7I6.js";
|
|
16
16
|
import {
|
|
17
17
|
isTelemetryEnabled,
|
|
18
18
|
recordInstallRef
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-LA42RIFU.js";
|
|
20
20
|
import {
|
|
21
21
|
createApiClient
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GXMQORTQ.js";
|
|
23
23
|
import {
|
|
24
24
|
configExists,
|
|
25
25
|
getAnswerServiceEnv,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
loadConfigRaw,
|
|
31
31
|
saveConfig,
|
|
32
32
|
withBootstrapProviderDefaults
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3BMWBXHZ.js";
|
|
34
34
|
import "./chunk-AOJU5LKX.js";
|
|
35
35
|
import {
|
|
36
36
|
CliError,
|
|
@@ -38,17 +38,17 @@ import {
|
|
|
38
38
|
isMachineFormat,
|
|
39
39
|
systemError
|
|
40
40
|
} from "./chunk-HGMYEDAQ.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-BGIH54A3.js";
|
|
42
42
|
import {
|
|
43
43
|
apiKeys,
|
|
44
44
|
createClient,
|
|
45
45
|
dashboardSessions,
|
|
46
46
|
migrate
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-BBMZ6534.js";
|
|
48
48
|
import {
|
|
49
49
|
ProviderNames,
|
|
50
50
|
ProviderReloadErrorReasons
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-LABWX26D.js";
|
|
52
52
|
import "./chunk-MLKGABMK.js";
|
|
53
53
|
|
|
54
54
|
// src/commands/bootstrap.ts
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackCliConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L6TNLBXW.js";
|
|
4
4
|
import {
|
|
5
5
|
outcomeFailure
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-T2AF4QN7.js";
|
|
7
|
+
import "./chunk-LA42RIFU.js";
|
|
8
8
|
import {
|
|
9
9
|
createApiClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GXMQORTQ.js";
|
|
11
11
|
import {
|
|
12
12
|
loadConfig,
|
|
13
13
|
saveConfigPatch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3BMWBXHZ.js";
|
|
15
15
|
import "./chunk-AOJU5LKX.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError,
|
|
18
18
|
isMachineFormat
|
|
19
19
|
} from "./chunk-HGMYEDAQ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-BGIH54A3.js";
|
|
21
21
|
import {
|
|
22
22
|
describeError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LABWX26D.js";
|
|
24
24
|
import "./chunk-MLKGABMK.js";
|
|
25
25
|
|
|
26
26
|
// src/commands/cdp.ts
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
normalizeTrafficPathPattern,
|
|
20
20
|
sessionizeJourneyRequests,
|
|
21
21
|
verifyRequestSignature
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3NUSGD54.js";
|
|
23
23
|
import {
|
|
24
24
|
currentOutcomeAttribution,
|
|
25
25
|
getRequestContext,
|
|
26
26
|
registerRequestContext,
|
|
27
27
|
requestAuditIdentity,
|
|
28
28
|
sanitizeRequestContext
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BGIH54A3.js";
|
|
30
30
|
import {
|
|
31
31
|
RawEventSampleEventTypes,
|
|
32
32
|
SentimentIdempotencyConflict,
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
userSessions,
|
|
191
191
|
users,
|
|
192
192
|
writeNegativeReviewMaxStars
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-BBMZ6534.js";
|
|
194
194
|
import {
|
|
195
195
|
ADS_ACTIVATE_SCOPE,
|
|
196
196
|
ADS_ACTIVATION_ABSOLUTE_MAX_ENTITIES,
|
|
@@ -1383,7 +1383,7 @@ import {
|
|
|
1383
1383
|
wordpressSchemaDeployResultDtoSchema,
|
|
1384
1384
|
wordpressSchemaStatusResultDtoSchema,
|
|
1385
1385
|
wordpressStatusDtoSchema
|
|
1386
|
-
} from "./chunk-
|
|
1386
|
+
} from "./chunk-LABWX26D.js";
|
|
1387
1387
|
|
|
1388
1388
|
// ../api-routes/src/user-session.ts
|
|
1389
1389
|
import crypto2 from "crypto";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
resolveCliAccess,
|
|
4
4
|
resolveCliAccessForInvocation,
|
|
5
5
|
windowOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QNWN7VRZ.js";
|
|
7
7
|
import {
|
|
8
8
|
emitJsonl
|
|
9
9
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-HGMYEDAQ.js";
|
|
15
15
|
import {
|
|
16
16
|
OperationAccesses
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LABWX26D.js";
|
|
18
18
|
|
|
19
19
|
// src/cli-catalog.ts
|
|
20
20
|
import { createRequire } from "module";
|
|
@@ -122,7 +122,7 @@ async function dispatchRegisteredCommand(args, fallbackFormat, specs) {
|
|
|
122
122
|
const accessValue = accessFilterFromArgs(argsWithoutHelp);
|
|
123
123
|
validateAccessFilter(accessValue);
|
|
124
124
|
if (fallbackFormat !== "text") {
|
|
125
|
-
const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-
|
|
125
|
+
const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-SAUMPDAU.js");
|
|
126
126
|
const group2 = argsWithoutHelp.find((arg) => !arg.startsWith("--"));
|
|
127
127
|
printCliCatalog2(specs, fallbackFormat, group2, accessValue);
|
|
128
128
|
return true;
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
templateLinkRatio,
|
|
21
21
|
templateLinkUbiquityAvailable,
|
|
22
22
|
validationError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LABWX26D.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
26
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -194,6 +194,8 @@ __export(schema_exports, {
|
|
|
194
194
|
siteHealthNotifyState: () => siteHealthNotifyState,
|
|
195
195
|
siteLivenessState: () => siteLivenessState,
|
|
196
196
|
sitemapListSyncs: () => sitemapListSyncs,
|
|
197
|
+
socialConnections: () => socialConnections,
|
|
198
|
+
socialMentions: () => socialMentions,
|
|
197
199
|
trafficEventReceipts: () => trafficEventReceipts,
|
|
198
200
|
trafficReclassificationState: () => trafficReclassificationState,
|
|
199
201
|
trafficSources: () => trafficSources,
|
|
@@ -330,6 +332,8 @@ var projects = sqliteTable2("projects", {
|
|
|
330
332
|
configSource: text2("config_source").$type().notNull().default("cli"),
|
|
331
333
|
configRevision: integer2("config_revision").notNull().default(1),
|
|
332
334
|
icpDescription: text2("icp_description"),
|
|
335
|
+
/** The social platforms this project monitors (`SocialMonitorPlatform` values, each at most once); default `[]`, none. */
|
|
336
|
+
socialPlatforms: text2("social_platforms", { mode: "json" }).$type().notNull().default([]),
|
|
333
337
|
createdAt: text2("created_at").notNull(),
|
|
334
338
|
updatedAt: text2("updated_at").notNull()
|
|
335
339
|
});
|
|
@@ -3962,6 +3966,53 @@ var sentimentAttempts = sqliteTable2("sentiment_attempts", {
|
|
|
3962
3966
|
index2("idx_sentiment_attempt_dispatch").on(table.dispatchedAt),
|
|
3963
3967
|
foreignKey({ columns: [table.projectId, table.workItemId], foreignColumns: [sentimentWorkItems.projectId, sentimentWorkItems.id] }).onDelete("cascade")
|
|
3964
3968
|
]);
|
|
3969
|
+
var socialMentions = sqliteTable2("social_mentions", {
|
|
3970
|
+
id: text2("id").primaryKey(),
|
|
3971
|
+
projectId: text2("project_id").notNull().references(() => projects.id, { onDelete: "cascade" }),
|
|
3972
|
+
runId: text2("run_id").notNull(),
|
|
3973
|
+
platform: text2("platform").$type().notNull(),
|
|
3974
|
+
/** The platform's own post id. */
|
|
3975
|
+
externalId: text2("external_id").notNull(),
|
|
3976
|
+
externalUrl: text2("external_url").notNull(),
|
|
3977
|
+
/** The search term that found the post; null for a post found by a domain-only search, never an invented query. */
|
|
3978
|
+
matchedQuery: text2("matched_query"),
|
|
3979
|
+
authorHandle: text2("author_handle"),
|
|
3980
|
+
authorName: text2("author_name"),
|
|
3981
|
+
authorFollowers: integer2("author_followers"),
|
|
3982
|
+
/** The post title where the platform has one (a Reddit submission). */
|
|
3983
|
+
contentTitle: text2("content_title"),
|
|
3984
|
+
/** The post body; empty for a post with only a title. */
|
|
3985
|
+
contentText: text2("content_text").notNull(),
|
|
3986
|
+
/** The project URLs the post links to, as full URLs; `[]` when it links to none. */
|
|
3987
|
+
linkedUrls: text2("linked_urls", { mode: "json" }).$type().notNull().default([]),
|
|
3988
|
+
sentiment: text2("sentiment"),
|
|
3989
|
+
likes: integer2("likes"),
|
|
3990
|
+
shares: integer2("shares"),
|
|
3991
|
+
comments: integer2("comments"),
|
|
3992
|
+
/** The community the post was made in (a subreddit on Reddit). */
|
|
3993
|
+
community: text2("community"),
|
|
3994
|
+
hashtags: text2("hashtags", { mode: "json" }).$type().notNull().default([]),
|
|
3995
|
+
/** Platform-specific fields that have no column of their own (a platform's own score). */
|
|
3996
|
+
metadata: text2("metadata", { mode: "json" }).$type().notNull().default({}),
|
|
3997
|
+
postedAt: text2("posted_at").notNull(),
|
|
3998
|
+
createdAt: text2("created_at").notNull()
|
|
3999
|
+
}, (table) => [
|
|
4000
|
+
index2("idx_social_mentions_run").on(table.runId),
|
|
4001
|
+
uniqueIndex2("idx_social_mentions_project_platform_external").on(table.projectId, table.platform, table.externalId),
|
|
4002
|
+
foreignKey({ columns: [table.projectId, table.runId], foreignColumns: [runs.projectId, runs.id] }).onDelete("cascade")
|
|
4003
|
+
]);
|
|
4004
|
+
var socialConnections = sqliteTable2("social_connections", {
|
|
4005
|
+
id: text2("id").primaryKey(),
|
|
4006
|
+
platform: text2("platform").$type().notNull(),
|
|
4007
|
+
projectId: text2("project_id").notNull().references(() => projects.id, { onDelete: "cascade" }),
|
|
4008
|
+
tokenExpiresAt: text2("token_expires_at"),
|
|
4009
|
+
scopes: text2("scopes", { mode: "json" }).$type().notNull().default([]),
|
|
4010
|
+
metadata: text2("metadata", { mode: "json" }).$type().notNull().default({}),
|
|
4011
|
+
createdAt: text2("created_at").notNull(),
|
|
4012
|
+
updatedAt: text2("updated_at").notNull()
|
|
4013
|
+
}, (table) => [
|
|
4014
|
+
uniqueIndex2("idx_social_connections_platform_project").on(table.platform, table.projectId)
|
|
4015
|
+
]);
|
|
3965
4016
|
|
|
3966
4017
|
// ../db/src/client.ts
|
|
3967
4018
|
function createClient(databasePath) {
|
|
@@ -9461,6 +9512,55 @@ var MIGRATION_VERSIONS = [
|
|
|
9461
9512
|
)`,
|
|
9462
9513
|
`CREATE INDEX IF NOT EXISTS idx_sentiment_alert_runs_run ON sentiment_alert_runs(run_id)`
|
|
9463
9514
|
]
|
|
9515
|
+
},
|
|
9516
|
+
{
|
|
9517
|
+
version: 225,
|
|
9518
|
+
name: "social-monitoring-tables",
|
|
9519
|
+
// Social monitoring: the posts a run found, which platforms each project
|
|
9520
|
+
// has connected (metadata only; secrets live in config.yaml), and the
|
|
9521
|
+
// platforms a project monitors. Every existing project reads `[]`, so none
|
|
9522
|
+
// starts monitoring on upgrade.
|
|
9523
|
+
statements: [
|
|
9524
|
+
`CREATE TABLE IF NOT EXISTS social_mentions (
|
|
9525
|
+
id TEXT PRIMARY KEY,
|
|
9526
|
+
project_id TEXT NOT NULL REFERENCES projects(id) ON DELETE CASCADE,
|
|
9527
|
+
run_id TEXT NOT NULL,
|
|
9528
|
+
platform TEXT NOT NULL,
|
|
9529
|
+
external_id TEXT NOT NULL,
|
|
9530
|
+
external_url TEXT NOT NULL,
|
|
9531
|
+
matched_query TEXT,
|
|
9532
|
+
author_handle TEXT,
|
|
9533
|
+
author_name TEXT,
|
|
9534
|
+
author_followers INTEGER,
|
|
9535
|
+
content_title TEXT,
|
|
9536
|
+
content_text TEXT NOT NULL,
|
|
9537
|
+
linked_urls TEXT NOT NULL DEFAULT '[]',
|
|
9538
|
+
sentiment TEXT,
|
|
9539
|
+
likes INTEGER,
|
|
9540
|
+
shares INTEGER,
|
|
9541
|
+
comments INTEGER,
|
|
9542
|
+
community TEXT,
|
|
9543
|
+
hashtags TEXT NOT NULL DEFAULT '[]',
|
|
9544
|
+
metadata TEXT NOT NULL DEFAULT '{}',
|
|
9545
|
+
posted_at TEXT NOT NULL,
|
|
9546
|
+
created_at TEXT NOT NULL,
|
|
9547
|
+
FOREIGN KEY (project_id, run_id) REFERENCES runs(project_id, id) ON DELETE CASCADE
|
|
9548
|
+
)`,
|
|
9549
|
+
`CREATE INDEX IF NOT EXISTS idx_social_mentions_run ON social_mentions(run_id)`,
|
|
9550
|
+
`CREATE UNIQUE INDEX IF NOT EXISTS idx_social_mentions_project_platform_external ON social_mentions(project_id, platform, external_id)`,
|
|
9551
|
+
`CREATE TABLE IF NOT EXISTS social_connections (
|
|
9552
|
+
id TEXT PRIMARY KEY,
|
|
9553
|
+
platform TEXT NOT NULL,
|
|
9554
|
+
project_id TEXT NOT NULL REFERENCES projects(id) ON DELETE CASCADE,
|
|
9555
|
+
token_expires_at TEXT,
|
|
9556
|
+
scopes TEXT NOT NULL DEFAULT '[]',
|
|
9557
|
+
metadata TEXT NOT NULL DEFAULT '{}',
|
|
9558
|
+
created_at TEXT NOT NULL,
|
|
9559
|
+
updated_at TEXT NOT NULL
|
|
9560
|
+
)`,
|
|
9561
|
+
`CREATE UNIQUE INDEX IF NOT EXISTS idx_social_connections_platform_project ON social_connections(platform, project_id)`,
|
|
9562
|
+
`ALTER TABLE projects ADD COLUMN social_platforms TEXT NOT NULL DEFAULT '[]'`
|
|
9563
|
+
]
|
|
9464
9564
|
}
|
|
9465
9565
|
];
|
|
9466
9566
|
var V222_BROWSER_AGENT_HOURLY_TABLES = ["ai_user_fetch_events_hourly", "ai_user_fetch_likely_fake_hourly"];
|
|
@@ -11108,6 +11208,8 @@ export {
|
|
|
11108
11208
|
sentimentJobItems,
|
|
11109
11209
|
sentimentResults,
|
|
11110
11210
|
sentimentAttempts,
|
|
11211
|
+
socialMentions,
|
|
11212
|
+
socialConnections,
|
|
11111
11213
|
createClient,
|
|
11112
11214
|
readNegativeReviewMaxStars,
|
|
11113
11215
|
readAllNegativeReviewMaxStars,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GNXQMAHP.js";
|
|
4
4
|
import {
|
|
5
5
|
addLikelyFakeAgentHits,
|
|
6
6
|
correctBackgroundCallJourneys,
|
|
7
7
|
mergeSplitJourneyVisitors,
|
|
8
8
|
repairAiReferralArrivalsOnStartup,
|
|
9
9
|
writeUnrecognizedAgentBuckets
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3MUJYDIH.js";
|
|
11
11
|
import {
|
|
12
12
|
AGENT_TRUST_RULES_VERSION,
|
|
13
13
|
BROWSER_AGENT_BOT_IDS,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
normalizeTrafficPathPattern,
|
|
32
32
|
rulesShareVerificationList,
|
|
33
33
|
unrecognizedAgentName
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-3NUSGD54.js";
|
|
35
35
|
import {
|
|
36
36
|
RawEventSampleEventTypes,
|
|
37
37
|
agentJourneyCaptureDays,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
trafficReclassificationState,
|
|
49
49
|
trafficSources,
|
|
50
50
|
unrecognizedAgentEventsHourly
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-BBMZ6534.js";
|
|
52
52
|
import {
|
|
53
53
|
AI_ENGINE_DOMAINS,
|
|
54
54
|
AI_ENGINE_SELF_DOMAINS,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
sortedUnique,
|
|
85
85
|
usageCount,
|
|
86
86
|
withRetry
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-LABWX26D.js";
|
|
88
88
|
|
|
89
89
|
// ../provider-openai/src/normalize.ts
|
|
90
90
|
import OpenAI from "openai";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runWithUsageTags
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GXMQORTQ.js";
|
|
4
4
|
import {
|
|
5
5
|
CanonryMcpToolNames,
|
|
6
6
|
DEPRECATED_MCP_TOOL_ALIAS_NAMES,
|
|
7
7
|
canonryMcpTools
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QFIUKE5K.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
11
|
} from "./chunk-HGMYEDAQ.js";
|
|
12
12
|
import {
|
|
13
13
|
buildOpenApiDocument
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3MUJYDIH.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_COMPETITOR_AUTO_ALIAS_MODE,
|
|
17
17
|
MeasurementPortfolioLists,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
seoDatasetWithoutVendor,
|
|
25
25
|
seoProviderSchema,
|
|
26
26
|
truncateUtf16
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LABWX26D.js";
|
|
28
28
|
|
|
29
29
|
// src/agent/tools.ts
|
|
30
30
|
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-LABWX26D.js";
|
|
27
27
|
|
|
28
28
|
// src/measurement-draft-actions.ts
|
|
29
29
|
import { z } from "zod";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRequestContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BGIH54A3.js";
|
|
4
4
|
import {
|
|
5
5
|
diagnosticIdentity,
|
|
6
6
|
redactLogString,
|
|
7
7
|
redactLogValue
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LABWX26D.js";
|
|
9
9
|
|
|
10
10
|
// ../api-routes/src/runtime-logger.ts
|
|
11
11
|
import { format } from "util";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3BMWBXHZ.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-LABWX26D.js";
|
|
40
40
|
|
|
41
41
|
// ../api-client-generated/src/generated/core/bodySerializer.gen.ts
|
|
42
42
|
var jsonBodySerializer = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registeredProviderNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G5O4D7I6.js";
|
|
4
4
|
import {
|
|
5
5
|
configExists,
|
|
6
6
|
loadConfigRaw
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3BMWBXHZ.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-SS2AAYBS.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-233RXB4F.js");
|
|
51
51
|
await serveCommand(format);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pickProjectCitedDomain
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PSP56PWY.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GNXQMAHP.js";
|
|
7
7
|
import {
|
|
8
8
|
GBP_INSIGHT_PROVIDER,
|
|
9
9
|
PERSISTENT_GAP_THRESHOLD,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
mergeGscQueryTotalsWithFallback,
|
|
18
18
|
readGscQueryDailyRows,
|
|
19
19
|
readLatestGscDataDate
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3MUJYDIH.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-BBMZ6534.js";
|
|
39
39
|
import {
|
|
40
40
|
CitationStates,
|
|
41
41
|
RunKinds,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
effectiveDomains,
|
|
45
45
|
isCitationStateMeasured,
|
|
46
46
|
readCitationState
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-LABWX26D.js";
|
|
48
48
|
|
|
49
49
|
// src/intelligence-service.ts
|
|
50
50
|
import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
|