@ainyc/canonry 4.26.0 → 4.26.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/index.html CHANGED
@@ -12,7 +12,7 @@
12
12
  <link rel="icon" type="image/png" sizes="32x32" href="./favicon-32.png" />
13
13
  <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
14
14
  <title>Canonry</title>
15
- <script type="module" crossorigin src="./assets/index-X1r0qycv.js"></script>
15
+ <script type="module" crossorigin src="./assets/index-BrlkSJ58.js"></script>
16
16
  <link rel="stylesheet" crossorigin href="./assets/index-rPok6yk8.css">
17
17
  </head>
18
18
  <body>
@@ -1289,7 +1289,7 @@ async function runRoutes(app, opts) {
1289
1289
  const project = resolveProject(app.db, request.params.name);
1290
1290
  const countRow = app.db.select({ count: sql2`count(*)` }).from(runs).where(eq7(runs.projectId, project.id)).get();
1291
1291
  const totalRuns = countRow?.count ?? 0;
1292
- const latestRun = app.db.select().from(runs).where(eq7(runs.projectId, project.id)).orderBy(desc(runs.createdAt)).limit(1).get();
1292
+ const latestRun = app.db.select().from(runs).where(eq7(runs.projectId, project.id)).orderBy(desc(runs.createdAt), desc(runs.id)).limit(1).get();
1293
1293
  if (!latestRun) {
1294
1294
  return reply.send({ totalRuns: 0, run: null });
1295
1295
  }
@@ -2154,7 +2154,8 @@ async function historyRoutes(app) {
2154
2154
  transition,
2155
2155
  answerMentioned: snap.answerMentioned,
2156
2156
  visibilityState: snap.answerMentioned ? "visible" : "not-visible",
2157
- visibilityTransition
2157
+ visibilityTransition,
2158
+ location: snap.location
2158
2159
  };
2159
2160
  });
2160
2161
  }
package/dist/cli.js CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  setTelemetrySource,
21
21
  showFirstRunNotice,
22
22
  trackEvent
23
- } from "./chunk-H4RE4WLW.js";
23
+ } from "./chunk-M3HZAUWZ.js";
24
24
  import {
25
25
  CliError,
26
26
  EXIT_SYSTEM_ERROR,
@@ -6834,9 +6834,10 @@ async function removeSchedule(project, format, kind) {
6834
6834
  console.log(`Schedule removed for "${project}" (kind: ${resolvedKind})`);
6835
6835
  }
6836
6836
  function printSchedule(s) {
6837
- const label = s.preset ?? s.cronExpr;
6838
6837
  console.log(` Kind: ${s.kind}`);
6839
- console.log(` Schedule: ${label}`);
6838
+ if (s.preset) {
6839
+ console.log(` Preset: ${s.preset}`);
6840
+ }
6840
6841
  console.log(` Cron: ${s.cronExpr}`);
6841
6842
  console.log(` Timezone: ${s.timezone}`);
6842
6843
  console.log(` Enabled: ${s.enabled ? "yes" : "no"}`);
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-H4RE4WLW.js";
3
+ } from "./chunk-M3HZAUWZ.js";
4
4
  import {
5
5
  loadConfig
6
6
  } from "./chunk-2FAEQ56I.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainyc/canonry",
3
- "version": "4.26.0",
3
+ "version": "4.26.1",
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",
@@ -60,22 +60,22 @@
60
60
  "tsup": "^8.5.1",
61
61
  "tsx": "^4.19.0",
62
62
  "@ainyc/canonry-api-routes": "0.0.0",
63
+ "@ainyc/canonry-contracts": "0.0.0",
63
64
  "@ainyc/canonry-intelligence": "0.0.0",
64
65
  "@ainyc/canonry-db": "0.0.0",
66
+ "@ainyc/canonry-config": "0.0.0",
65
67
  "@ainyc/canonry-integration-bing": "0.0.0",
66
68
  "@ainyc/canonry-integration-commoncrawl": "0.0.0",
67
- "@ainyc/canonry-contracts": "0.0.0",
68
- "@ainyc/canonry-integration-google": "0.0.0",
69
69
  "@ainyc/canonry-integration-cloud-run": "0.0.0",
70
- "@ainyc/canonry-config": "0.0.0",
71
70
  "@ainyc/canonry-integration-traffic": "0.0.0",
71
+ "@ainyc/canonry-integration-google": "0.0.0",
72
72
  "@ainyc/canonry-provider-cdp": "0.0.0",
73
73
  "@ainyc/canonry-integration-wordpress": "0.0.0",
74
74
  "@ainyc/canonry-provider-claude": "0.0.0",
75
75
  "@ainyc/canonry-provider-local": "0.0.0",
76
- "@ainyc/canonry-provider-gemini": "0.0.0",
77
76
  "@ainyc/canonry-provider-openai": "0.0.0",
78
- "@ainyc/canonry-provider-perplexity": "0.0.0"
77
+ "@ainyc/canonry-provider-perplexity": "0.0.0",
78
+ "@ainyc/canonry-provider-gemini": "0.0.0"
79
79
  },
80
80
  "scripts": {
81
81
  "build": "tsx scripts/copy-agent-assets.ts && tsup && tsx build-web.ts",