@ainyc/canonry 4.68.1 → 4.69.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 +20 -1
- package/assets/assets/{BacklinksPage-B9Q2r9zM.js → BacklinksPage-DLsgGSXv.js} +1 -1
- package/assets/assets/{ChartPrimitives-D-YWOWK-.js → ChartPrimitives-CERLI8Z-.js} +1 -1
- package/assets/assets/{ProjectPage-BXgxWKyT.js → ProjectPage-CaRqQ1vH.js} +1 -1
- package/assets/assets/{RunRow-CJpjUaht.js → RunRow-C3x47chX.js} +1 -1
- package/assets/assets/{RunsPage-DVl_pgqe.js → RunsPage-DRIlEete.js} +1 -1
- package/assets/assets/{SettingsPage-CAiVL2mo.js → SettingsPage-CHaqBpnQ.js} +1 -1
- package/assets/assets/{TrafficPage-B8dnHFqk.js → TrafficPage-UbL0daLy.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-37s8p8eZ.js → TrafficSourceDetailPage-CjLDbjf_.js} +1 -1
- package/assets/assets/{extract-error-message-DwqbPRoa.js → extract-error-message-BndXGmUh.js} +1 -1
- package/assets/assets/{index-DFo2OL9c.js → index-BCwC5OlW.js} +39 -39
- package/assets/assets/{index-BquJzH0t.css → index-BUNCrWTe.css} +1 -1
- package/assets/assets/{server-traffic-CMFP8-x2.js → server-traffic-DOnVZFEw.js} +1 -1
- package/assets/assets/{trash-2-C4sYVIa6.js → trash-2-HEZdy4sJ.js} +1 -1
- package/assets/index.html +2 -2
- package/dist/{chunk-D75O5A27.js → chunk-5FM7QRYD.js} +1558 -1526
- package/dist/{chunk-GZYLAE6M.js → chunk-SBYA3LEJ.js} +4 -4
- package/dist/{chunk-Y24OE7R3.js → chunk-WFM2O72W.js} +494 -309
- package/dist/{chunk-YYFBMDLC.js → chunk-ZNWMVYYU.js} +53 -1
- package/dist/cli.js +197 -80
- package/dist/index.js +4 -4
- package/dist/{intelligence-service-5V2JWQ6K.js → intelligence-service-DVVSE3G7.js} +2 -2
- package/dist/mcp.js +2 -2
- package/package.json +7 -7
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
trafficConnectVercelRequestSchema,
|
|
23
23
|
trafficConnectWordpressRequestSchema,
|
|
24
24
|
trafficEventKindSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5FM7QRYD.js";
|
|
26
26
|
|
|
27
27
|
// src/config.ts
|
|
28
28
|
import fs from "fs";
|
|
@@ -1577,6 +1577,46 @@ var putApiV1SettingsProvidersByName = (options) => {
|
|
|
1577
1577
|
}
|
|
1578
1578
|
});
|
|
1579
1579
|
};
|
|
1580
|
+
var getApiV1Keys = (options) => {
|
|
1581
|
+
return (options?.client ?? client).get({
|
|
1582
|
+
security: [
|
|
1583
|
+
{
|
|
1584
|
+
scheme: "bearer",
|
|
1585
|
+
type: "http"
|
|
1586
|
+
}
|
|
1587
|
+
],
|
|
1588
|
+
url: "/api/v1/keys",
|
|
1589
|
+
...options
|
|
1590
|
+
});
|
|
1591
|
+
};
|
|
1592
|
+
var postApiV1Keys = (options) => {
|
|
1593
|
+
return (options.client ?? client).post({
|
|
1594
|
+
security: [
|
|
1595
|
+
{
|
|
1596
|
+
scheme: "bearer",
|
|
1597
|
+
type: "http"
|
|
1598
|
+
}
|
|
1599
|
+
],
|
|
1600
|
+
url: "/api/v1/keys",
|
|
1601
|
+
...options,
|
|
1602
|
+
headers: {
|
|
1603
|
+
"Content-Type": "application/json",
|
|
1604
|
+
...options.headers
|
|
1605
|
+
}
|
|
1606
|
+
});
|
|
1607
|
+
};
|
|
1608
|
+
var postApiV1KeysByIdRevoke = (options) => {
|
|
1609
|
+
return (options.client ?? client).post({
|
|
1610
|
+
security: [
|
|
1611
|
+
{
|
|
1612
|
+
scheme: "bearer",
|
|
1613
|
+
type: "http"
|
|
1614
|
+
}
|
|
1615
|
+
],
|
|
1616
|
+
url: "/api/v1/keys/{id}/revoke",
|
|
1617
|
+
...options
|
|
1618
|
+
});
|
|
1619
|
+
};
|
|
1580
1620
|
var postApiV1Snapshot = (options) => {
|
|
1581
1621
|
return (options.client ?? client).post({
|
|
1582
1622
|
security: [
|
|
@@ -3793,6 +3833,18 @@ var ApiClient = class {
|
|
|
3793
3833
|
async getSettings() {
|
|
3794
3834
|
return this.invoke(() => getApiV1Settings({ client: this.heyClient }));
|
|
3795
3835
|
}
|
|
3836
|
+
// ── API key management ──────────────────────────────────────────────────
|
|
3837
|
+
async listApiKeys() {
|
|
3838
|
+
return this.invoke(() => getApiV1Keys({ client: this.heyClient }));
|
|
3839
|
+
}
|
|
3840
|
+
async createApiKey(body) {
|
|
3841
|
+
return this.invoke(() => postApiV1Keys({ client: this.heyClient, body }));
|
|
3842
|
+
}
|
|
3843
|
+
async revokeApiKey(id) {
|
|
3844
|
+
return this.invoke(
|
|
3845
|
+
() => postApiV1KeysByIdRevoke({ client: this.heyClient, path: { id } })
|
|
3846
|
+
);
|
|
3847
|
+
}
|
|
3796
3848
|
async updateProvider(name, body) {
|
|
3797
3849
|
return this.invoke(
|
|
3798
3850
|
() => putApiV1SettingsProvidersByName({ client: this.heyClient, path: { name }, body })
|