@canonry/canonry 7.75.0 → 7.76.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/dist/{ads-IVD2KC7R.js → ads-WMVE7R43.js} +2 -2
- package/dist/{agent-FTNZ4DVP.js → agent-VQDHMK4Z.js} +5 -5
- package/dist/{agent-ask-N3LMHW2E.js → agent-ask-BRMDRWBU.js} +2 -2
- package/dist/{agent-conversations-Y2GSGKRO.js → agent-conversations-SIRYGIJM.js} +2 -2
- package/dist/{agent-memory-K36FD3LU.js → agent-memory-2DDQQNJZ.js} +2 -2
- package/dist/{agent-providers-ZIAJAJD6.js → agent-providers-ZNIQ7XUC.js} +2 -2
- package/dist/{agent-transcript-Q4AGCHLB.js → agent-transcript-U2VKTBMV.js} +2 -2
- package/dist/{analytics-URO2WOTD.js → analytics-OJY5QWTM.js} +2 -2
- package/dist/{apply-M4RFPVRN.js → apply-6IVQMJSS.js} +2 -2
- package/dist/{backfill-EYFE2OGC.js → backfill-NG6PZM7X.js} +2 -2
- package/dist/{backlinks-GR7XW4DH.js → backlinks-AZRCWJVJ.js} +2 -2
- package/dist/{bing-A4Q5V3DT.js → bing-6K63LZIB.js} +2 -2
- package/dist/{bootstrap-OGYIIZXE.js → bootstrap-NIFFJKIT.js} +5 -5
- package/dist/{cdp-5WSH26OU.js → cdp-X73HVPAS.js} +5 -5
- package/dist/{chunk-TRAD6XS4.js → chunk-2EXFCI5F.js} +1 -1
- package/dist/{chunk-GD3L63V5.js → chunk-4ZXHTHUH.js} +8 -8
- package/dist/{chunk-RZVZONVL.js → chunk-5W37PWV4.js} +2 -2
- package/dist/{chunk-3TCCNK2T.js → chunk-6NUXSEW6.js} +1 -1
- package/dist/{chunk-E6NE3FJC.js → chunk-7KYGOR7N.js} +1 -1
- package/dist/{chunk-7J7E2F3M.js → chunk-7LLDLEWJ.js} +2 -2
- package/dist/{chunk-CYXUQNIQ.js → chunk-AIC4FUOD.js} +307 -307
- package/dist/{chunk-KF76GJ7L.js → chunk-BC56FPTQ.js} +2 -2
- package/dist/{chunk-LBFWNA4V.js → chunk-DAOGINSR.js} +2 -2
- package/dist/{chunk-WWZ6RZJ5.js → chunk-IZP4KKIJ.js} +1 -1
- package/dist/{chunk-MJGY7NBK.js → chunk-KXSNV6C3.js} +1 -1
- package/dist/{chunk-NKNA2DSS.js → chunk-MXRCOQT2.js} +1 -1
- package/dist/{chunk-W5GZENMO.js → chunk-OT6SUK6X.js} +1 -1
- package/dist/{chunk-U5UXQV57.js → chunk-UWPCUAZM.js} +1 -1
- package/dist/{chunk-4LR2SXYB.js → chunk-X2CE5IME.js} +1 -1
- package/dist/{chunk-5SVPFDUM.js → chunk-ZWD4W3KU.js} +12 -2
- package/dist/{citations-K44GWHAZ.js → citations-XJUGQ736.js} +2 -2
- package/dist/{cli-commands-RQTNKS2T.js → cli-commands-OZFEIIV6.js} +4 -4
- package/dist/cli.js +7 -7
- package/dist/{competitor-MHYOHVOJ.js → competitor-5OEWFXMU.js} +2 -2
- package/dist/{content-AWDA3GYL.js → content-TUWBGELB.js} +2 -2
- package/dist/{dashboard-P2ODMTQG.js → dashboard-P3DLDUTA.js} +1 -1
- package/dist/{discover-I2SVIHRG.js → discover-WZUOPCBV.js} +2 -2
- package/dist/{discover-eval-VV2AKXCV.js → discover-eval-SICOH7ML.js} +2 -2
- package/dist/{doctor-25I3JSKE.js → doctor-UMSTE4EO.js} +2 -2
- package/dist/{evidence-PNYKUX2F.js → evidence-NLIQFQAK.js} +2 -2
- package/dist/{export-cmd-F4XZGLGF.js → export-cmd-U2BFP7VV.js} +2 -2
- package/dist/{ga-S4DIQ5SZ.js → ga-OCN3UUG2.js} +2 -2
- package/dist/{gbp-IYCVTLP7.js → gbp-B2YUDH7S.js} +2 -2
- package/dist/{google-FAJ5RL57.js → google-EOV6EXSF.js} +2 -2
- package/dist/{health-cmd-HLAFQSU7.js → health-cmd-UVJAXG5V.js} +2 -2
- package/dist/{history-U67NTFZP.js → history-4NOM3SFC.js} +2 -2
- package/dist/index.d.ts +65 -65
- package/dist/index.js +8 -8
- package/dist/{init-UHI3D6Y2.js → init-V2W3KRGA.js} +7 -7
- package/dist/{insights-FKVB3XXM.js → insights-W2A4O4CO.js} +2 -2
- package/dist/{journeys-P7OXKDSX.js → journeys-IPOEIDVQ.js} +2 -2
- package/dist/{keys-RJEM4M4Z.js → keys-QK5N2Y46.js} +2 -2
- package/dist/{keyword-PLNTBFW4.js → keyword-JMDOXJ54.js} +2 -2
- package/dist/{logs-BUTBHKGP.js → logs-YVSSVMC7.js} +2 -2
- package/dist/{mcp-C4PZHJIB.js → mcp-YEGPIJ6N.js} +3 -3
- package/dist/mcp.js +4 -4
- package/dist/{measurement-plan-DFYESGWR.js → measurement-plan-WS44DI53.js} +3 -3
- package/dist/{notify-WYSGY4BA.js → notify-HQRSMWG2.js} +2 -2
- package/dist/{organic-evidence-L5FPG5J3.js → organic-evidence-OKXXS7FH.js} +2 -2
- package/dist/{overview-RD2PEETY.js → overview-6OZ5NFAO.js} +3 -3
- package/dist/{project-IK24PHY3.js → project-XCZJDR4E.js} +2 -2
- package/dist/{query-PX6PMHEN.js → query-MCSEFKKF.js} +2 -2
- package/dist/{research-QLETOCJD.js → research-TM3HHQDB.js} +2 -2
- package/dist/{results-export-NAS2DEGI.js → results-export-C4GFWJ7Y.js} +2 -2
- package/dist/{run-SAPT3KF7.js → run-JJE45UIV.js} +3 -3
- package/dist/{schedule-2HXFEEUK.js → schedule-BPFQPTRI.js} +2 -2
- package/dist/{search-UBMFZYR4.js → search-YDU2L2R4.js} +2 -2
- package/dist/{serve-IZ2FZ7F3.js → serve-ZH36XF5Y.js} +9 -9
- package/dist/{session-VMR37NOP.js → session-QIN3JK6L.js} +4 -4
- package/dist/{settings-LQT7O7AG.js → settings-3YQ7EBL4.js} +2 -2
- package/dist/{snapshot-ZKHJJ4YE.js → snapshot-LMM4QTUF.js} +2 -2
- package/dist/{status-OU26EWSD.js → status-6M7TVQ5U.js} +3 -3
- package/dist/{technical-aeo-BYFRX5TT.js → technical-aeo-UI774MQF.js} +2 -2
- package/dist/{telemetry-FSQTXHIR.js → telemetry-XJGPXSUI.js} +3 -3
- package/dist/{tools-ZPU5O6DM.js → tools-POBUM7P7.js} +3 -3
- package/dist/{traffic-YEECHDQM.js → traffic-5ETOEJNG.js} +2 -2
- package/dist/{users-5HHP54GP.js → users-LOPUV244.js} +2 -2
- package/dist/{visibility-stats-NYXIEPVB.js → visibility-stats-ECOEPNTG.js} +2 -2
- package/dist/{wordpress-RPQ44OM5.js → wordpress-DCS3VB6D.js} +2 -2
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
isStoredPageReadTool,
|
|
6
6
|
isStoredReadTool,
|
|
7
7
|
truncateToolResult
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IZP4KKIJ.js";
|
|
9
9
|
import {
|
|
10
10
|
CANONRY_MCP_TOOLKITS
|
|
11
11
|
} from "./chunk-NDTU7FGL.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveApiKeyFor,
|
|
23
23
|
resolveModelForProvider,
|
|
24
24
|
validateAgentProviderRegistry
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZWD4W3KU.js";
|
|
26
26
|
import {
|
|
27
27
|
CanonryMcpToolNames,
|
|
28
28
|
canonryMcpTools
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
configExists,
|
|
6
6
|
loadConfigRaw
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZWD4W3KU.js";
|
|
8
8
|
|
|
9
9
|
// src/setup-state.ts
|
|
10
10
|
import fs from "fs";
|
|
@@ -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-ZH36XF5Y.js");
|
|
51
51
|
await serveCommand(format);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -105,9 +105,16 @@ var gatewayTenantSchema = z4.object({
|
|
|
105
105
|
catalogVersion: z4.literal("canonry-readonly-v1"),
|
|
106
106
|
upstreamClientId: nonempty.optional()
|
|
107
107
|
}).strict();
|
|
108
|
+
var LOOPBACK_HOSTS = ["localhost", "127.0.0.1", "[::1]"];
|
|
108
109
|
var clientSchema = z4.object({
|
|
109
110
|
client_id: identifier,
|
|
110
111
|
client_name: nonempty.max(200),
|
|
112
|
+
/**
|
|
113
|
+
* `native` is a CLI or desktop app that receives the code on a loopback port it
|
|
114
|
+
* picks per sign-in (RFC 8252 section 7.3). oidc-provider matches its loopback
|
|
115
|
+
* redirects on any port, so they are registered without one.
|
|
116
|
+
*/
|
|
117
|
+
application_type: z4.enum(["web", "native"]).default("web"),
|
|
111
118
|
redirect_uris: z4.array(z4.url()).min(1),
|
|
112
119
|
token_endpoint_auth_method: z4.literal("none").default("none"),
|
|
113
120
|
grant_types: z4.array(z4.enum(["authorization_code", "refresh_token"])).default(["authorization_code", "refresh_token"]),
|
|
@@ -129,7 +136,7 @@ var gatewayConfigSchema = z4.object({
|
|
|
129
136
|
}).strict().superRefine((config, ctx) => {
|
|
130
137
|
const checkTransport = (value, path2) => {
|
|
131
138
|
const parsed = new URL(value);
|
|
132
|
-
const loopback =
|
|
139
|
+
const loopback = LOOPBACK_HOSTS.includes(parsed.hostname);
|
|
133
140
|
if (parsed.protocol !== "https:" && !(config.development && loopback && parsed.protocol === "http:")) {
|
|
134
141
|
ctx.addIssue({ code: "custom", path: path2, message: "HTTPS is required except explicit development on loopback" });
|
|
135
142
|
}
|
|
@@ -167,8 +174,11 @@ var gatewayConfigSchema = z4.object({
|
|
|
167
174
|
if (clientIds.has(client.client_id)) ctx.addIssue({ code: "custom", path: ["clients", index, "client_id"], message: "Client IDs must be unique" });
|
|
168
175
|
clientIds.add(client.client_id);
|
|
169
176
|
client.redirect_uris.forEach((redirect, redirectIndex) => {
|
|
170
|
-
checkTransport(redirect, ["clients", index, "redirect_uris", redirectIndex]);
|
|
171
177
|
const parsed = new URL(redirect);
|
|
178
|
+
if (client.application_type === "web") checkTransport(redirect, ["clients", index, "redirect_uris", redirectIndex]);
|
|
179
|
+
else if (parsed.protocol !== "http:" || !LOOPBACK_HOSTS.includes(parsed.hostname) || parsed.port) {
|
|
180
|
+
ctx.addIssue({ code: "custom", path: ["clients", index, "redirect_uris", redirectIndex], message: "Native clients register loopback HTTP redirects without a port" });
|
|
181
|
+
}
|
|
172
182
|
if (parsed.username || parsed.password || parsed.hash) {
|
|
173
183
|
ctx.addIssue({ code: "custom", path: ["clients", index, "redirect_uris", redirectIndex], message: "Redirects cannot contain credentials or fragments" });
|
|
174
184
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTERED_CLI_COMMANDS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AIC4FUOD.js";
|
|
4
4
|
import "./chunk-6GO5VVAC.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-7KYGOR7N.js";
|
|
6
6
|
import "./chunk-VJWDBFSL.js";
|
|
7
7
|
import "./chunk-TSENU4GG.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-KXSNV6C3.js";
|
|
9
|
+
import "./chunk-ZWD4W3KU.js";
|
|
10
10
|
import "./chunk-RPJJOBKN.js";
|
|
11
11
|
import "./chunk-Z7IUAJOF.js";
|
|
12
12
|
import "./chunk-5QR7D4RQ.js";
|
package/dist/cli.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node --import tsx
|
|
2
2
|
import {
|
|
3
3
|
REGISTERED_CLI_COMMANDS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AIC4FUOD.js";
|
|
5
5
|
import {
|
|
6
6
|
buildSetupState,
|
|
7
7
|
runPendingServeHandoff
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DAOGINSR.js";
|
|
9
9
|
import "./chunk-6GO5VVAC.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-7KYGOR7N.js";
|
|
11
11
|
import "./chunk-VJWDBFSL.js";
|
|
12
12
|
import "./chunk-TSENU4GG.js";
|
|
13
13
|
import "./chunk-2WBT6TEJ.js";
|
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
showFirstRunNotice,
|
|
25
25
|
trackCliCommandFinished,
|
|
26
26
|
trackEvent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OT6SUK6X.js";
|
|
28
28
|
import {
|
|
29
29
|
autoSyncSkills,
|
|
30
30
|
formatAutoSyncNotice
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-6NUXSEW6.js";
|
|
32
|
+
import "./chunk-KXSNV6C3.js";
|
|
33
|
+
import "./chunk-ZWD4W3KU.js";
|
|
34
34
|
import {
|
|
35
35
|
accessFilterFromArgs,
|
|
36
36
|
dispatchRegisteredCommand,
|