@aexol/spectral 0.9.72 → 0.9.73
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/sdk/coding-agent/core/extensions/native-extensions.d.ts.map +1 -1
- package/dist/sdk/coding-agent/core/extensions/native-extensions.js +0 -9
- package/package.json +1 -1
- package/dist/extensions/openrouter-attribution.d.ts +0 -12
- package/dist/extensions/openrouter-attribution.d.ts.map +0 -1
- package/dist/extensions/openrouter-attribution.js +0 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native-extensions.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/coding-agent/core/extensions/native-extensions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,WAAW,uBAAuB;IACtC,qEAAqE;IACrE,EAAE,EAAE,MAAM,CAAC;IACX,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,mDAAmD;IACnD,QAAQ,EAAE,MAAM,GAAG,YAAY,GAAG,aAAa,CAAC;IAChD;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,cAAc,EAAE,OAAO,CAAC;IACxB,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"native-extensions.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/coding-agent/core/extensions/native-extensions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,WAAW,uBAAuB;IACtC,qEAAqE;IACrE,EAAE,EAAE,MAAM,CAAC;IACX,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,mDAAmD;IACnD,QAAQ,EAAE,MAAM,GAAG,YAAY,GAAG,aAAa,CAAC;IAChD;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,cAAc,EAAE,OAAO,CAAC;IACxB,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,uBAAuB,EAmGtD,CAAC;AAEF;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,uBAAuB,GAAG,SAAS,CAElF;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,CAI1G;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;IAClG,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC,CAUD"}
|
|
@@ -68,15 +68,6 @@ export const NATIVE_EXTENSIONS = [
|
|
|
68
68
|
defaultEnabled: false,
|
|
69
69
|
tags: ["wizard", "skills", "artifacts", "integration"],
|
|
70
70
|
},
|
|
71
|
-
{
|
|
72
|
-
id: "openrouter-attribution",
|
|
73
|
-
label: "OpenRouter Attribution",
|
|
74
|
-
description: "Adds attribution headers for OpenRouter API usage tracking and compliance.",
|
|
75
|
-
category: "integration",
|
|
76
|
-
entryPath: "src/extensions/openrouter-attribution.ts",
|
|
77
|
-
defaultEnabled: true,
|
|
78
|
-
tags: ["api", "attribution"],
|
|
79
|
-
},
|
|
80
71
|
{
|
|
81
72
|
id: "spectral-vision-fallback",
|
|
82
73
|
label: "Spectral Vision Fallback",
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenRouter App Attribution extension.
|
|
3
|
-
*
|
|
4
|
-
* Adds HTTP headers required by OpenRouter's app attribution system so that
|
|
5
|
-
* Aexol / Spectral appears in OpenRouter rankings, analytics, and model
|
|
6
|
-
* "Apps" tabs. Without these headers our usage is anonymous to OpenRouter.
|
|
7
|
-
*
|
|
8
|
-
* @see https://openrouter.ai/docs/app-attribution
|
|
9
|
-
*/
|
|
10
|
-
import type { ExtensionAPI } from "../sdk/coding-agent/index.js";
|
|
11
|
-
export default function openrouterAttributionExtension(ext: ExtensionAPI): void;
|
|
12
|
-
//# sourceMappingURL=openrouter-attribution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"openrouter-attribution.d.ts","sourceRoot":"","sources":["../../src/extensions/openrouter-attribution.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAEjE,MAAM,CAAC,OAAO,UAAU,8BAA8B,CAAC,GAAG,EAAE,YAAY,GAAG,IAAI,CAU9E"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenRouter App Attribution extension.
|
|
3
|
-
*
|
|
4
|
-
* Adds HTTP headers required by OpenRouter's app attribution system so that
|
|
5
|
-
* Aexol / Spectral appears in OpenRouter rankings, analytics, and model
|
|
6
|
-
* "Apps" tabs. Without these headers our usage is anonymous to OpenRouter.
|
|
7
|
-
*
|
|
8
|
-
* @see https://openrouter.ai/docs/app-attribution
|
|
9
|
-
*/
|
|
10
|
-
export default function openrouterAttributionExtension(ext) {
|
|
11
|
-
ext.registerProvider("openrouter", {
|
|
12
|
-
headers: {
|
|
13
|
-
"HTTP-Referer": "https://aexol.ai",
|
|
14
|
-
"X-OpenRouter-Title": "Aexol",
|
|
15
|
-
"X-OpenRouter-Categories": "cli-agent,cloud-agent",
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
process.stderr.write("[openrouter-attribution] Registered OpenRouter app attribution headers.\n");
|
|
19
|
-
}
|