@ainyc/canonry 4.47.0 → 4.50.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/cli.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  setTelemetrySource,
22
22
  showFirstRunNotice,
23
23
  trackEvent
24
- } from "./chunk-WYBKCDUH.js";
24
+ } from "./chunk-YVP5CTSV.js";
25
25
  import {
26
26
  CliError,
27
27
  EXIT_SYSTEM_ERROR,
@@ -37,14 +37,14 @@ import {
37
37
  saveConfig,
38
38
  saveConfigPatch,
39
39
  usageError
40
- } from "./chunk-ON545FBK.js";
40
+ } from "./chunk-MYDJ25GO.js";
41
41
  import {
42
42
  apiKeys,
43
43
  createClient,
44
44
  migrate,
45
45
  projects,
46
46
  queries
47
- } from "./chunk-M7MSNUNQ.js";
47
+ } from "./chunk-M4USKXJ4.js";
48
48
  import {
49
49
  CcReleaseSyncStatuses,
50
50
  CheckScopes,
@@ -63,7 +63,7 @@ import {
63
63
  providerQuotaPolicySchema,
64
64
  resolveProviderInput,
65
65
  skillsClientSchema
66
- } from "./chunk-4WXY57ET.js";
66
+ } from "./chunk-QIG3TKL4.js";
67
67
 
68
68
  // src/cli.ts
69
69
  import { pathToFileURL } from "url";
@@ -6558,6 +6558,9 @@ async function triggerRun(project, opts) {
6558
6558
  if (opts?.noLocation) {
6559
6559
  body.noLocation = true;
6560
6560
  }
6561
+ if (opts?.probe) {
6562
+ body.trigger = "probe";
6563
+ }
6561
6564
  const response = await client.triggerRun(project, body);
6562
6565
  if (Array.isArray(response)) {
6563
6566
  const locationRuns = response;
@@ -6824,7 +6827,7 @@ var RUN_CLI_COMMANDS = [
6824
6827
  },
6825
6828
  {
6826
6829
  path: ["run"],
6827
- usage: "canonry run <project|--all> [--provider <name>] [--query <q>...] [--location <label>] [--all-locations] [--no-location] [--wait] [--format json]",
6830
+ usage: "canonry run <project|--all> [--provider <name>] [--query <q>...] [--location <label>] [--all-locations] [--no-location] [--probe] [--wait] [--format json]",
6828
6831
  options: {
6829
6832
  provider: stringOption(),
6830
6833
  query: multiStringOption(),
@@ -6832,7 +6835,12 @@ var RUN_CLI_COMMANDS = [
6832
6835
  all: { type: "boolean", default: false },
6833
6836
  location: stringOption(),
6834
6837
  "all-locations": { type: "boolean", default: false },
6835
- "no-location": { type: "boolean", default: false }
6838
+ "no-location": { type: "boolean", default: false },
6839
+ // Probe runs are operator/agent test runs — they write a snapshot
6840
+ // for inspection but are excluded from dashboard / analytics /
6841
+ // intelligence / notifications. Use when you want to verify a
6842
+ // provider works without polluting the project's metrics.
6843
+ probe: { type: "boolean", default: false }
6836
6844
  },
6837
6845
  run: async (input) => {
6838
6846
  if (getBoolean(input.values, "all")) {
@@ -6876,6 +6884,7 @@ var RUN_CLI_COMMANDS = [
6876
6884
  location: getString(input.values, "location"),
6877
6885
  allLocations: getBoolean(input.values, "all-locations"),
6878
6886
  noLocation: getBoolean(input.values, "no-location"),
6887
+ probe: getBoolean(input.values, "probe"),
6879
6888
  format: input.format
6880
6889
  });
6881
6890
  }
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-WYBKCDUH.js";
3
+ } from "./chunk-YVP5CTSV.js";
4
4
  import {
5
5
  loadConfig
6
- } from "./chunk-ON545FBK.js";
7
- import "./chunk-M7MSNUNQ.js";
8
- import "./chunk-4WXY57ET.js";
6
+ } from "./chunk-MYDJ25GO.js";
7
+ import "./chunk-M4USKXJ4.js";
8
+ import "./chunk-QIG3TKL4.js";
9
9
  export {
10
10
  createServer,
11
11
  loadConfig
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  IntelligenceService
3
- } from "./chunk-M7MSNUNQ.js";
4
- import "./chunk-4WXY57ET.js";
3
+ } from "./chunk-M4USKXJ4.js";
4
+ import "./chunk-QIG3TKL4.js";
5
5
  export {
6
6
  IntelligenceService
7
7
  };
package/dist/mcp.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  CliError,
3
3
  canonryMcpTools,
4
4
  createApiClient
5
- } from "./chunk-ON545FBK.js";
6
- import "./chunk-4WXY57ET.js";
5
+ } from "./chunk-MYDJ25GO.js";
6
+ import "./chunk-QIG3TKL4.js";
7
7
 
8
8
  // src/mcp/cli.ts
9
9
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainyc/canonry",
3
- "version": "4.47.0",
3
+ "version": "4.50.0",
4
4
  "type": "module",
5
5
  "description": "Agent-first open-source AEO operating platform - track how answer engines cite your domain",
6
6
  "license": "FSL-1.1-ALv2",
@@ -53,7 +53,8 @@
53
53
  "pdf-lib": "^1.17.1",
54
54
  "pino-pretty": "^13.1.3",
55
55
  "yaml": "^2.7.1",
56
- "zod": "^4.1.12"
56
+ "zod": "^4.1.12",
57
+ "@ainyc/canonry-api-client": "0.0.0"
57
58
  },
58
59
  "devDependencies": {
59
60
  "@types/better-sqlite3": "^7.6.13",
@@ -61,20 +62,20 @@
61
62
  "tsup": "^8.5.1",
62
63
  "tsx": "^4.19.0",
63
64
  "@ainyc/canonry-api-routes": "0.0.0",
64
- "@ainyc/canonry-config": "0.0.0",
65
65
  "@ainyc/canonry-contracts": "0.0.0",
66
+ "@ainyc/canonry-config": "0.0.0",
66
67
  "@ainyc/canonry-db": "0.0.0",
68
+ "@ainyc/canonry-intelligence": "0.0.0",
67
69
  "@ainyc/canonry-integration-bing": "0.0.0",
68
70
  "@ainyc/canonry-integration-commoncrawl": "0.0.0",
69
- "@ainyc/canonry-integration-cloud-run": "0.0.0",
70
- "@ainyc/canonry-intelligence": "0.0.0",
71
- "@ainyc/canonry-integration-wordpress": "0.0.0",
72
71
  "@ainyc/canonry-integration-google": "0.0.0",
72
+ "@ainyc/canonry-integration-cloud-run": "0.0.0",
73
73
  "@ainyc/canonry-integration-traffic": "0.0.0",
74
+ "@ainyc/canonry-integration-wordpress": "0.0.0",
74
75
  "@ainyc/canonry-provider-claude": "0.0.0",
75
- "@ainyc/canonry-provider-cdp": "0.0.0",
76
76
  "@ainyc/canonry-provider-local": "0.0.0",
77
77
  "@ainyc/canonry-provider-gemini": "0.0.0",
78
+ "@ainyc/canonry-provider-cdp": "0.0.0",
78
79
  "@ainyc/canonry-provider-openai": "0.0.0",
79
80
  "@ainyc/canonry-provider-perplexity": "0.0.0"
80
81
  },