@agentguard-run/spend 0.2.0 → 0.2.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/CHANGELOG.md +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/telemetry.js +1 -1
- package/package.json +9 -8
package/CHANGELOG.md
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { InMemorySpendStore } from './store-memory';
|
|
|
13
13
|
export { telemetryStatus, enableTelemetry, disableTelemetry, resetTelemetryInstallId, recordTelemetryEvent, type TelemetryStatus, } from './telemetry';
|
|
14
14
|
export { SpendGuard, withSpendGuard, AgentGuardBlockedError, type SpendGuardConfig, type OpenAIBindingOptions, } from './spend-guard';
|
|
15
15
|
export { DEFAULT_LOCALE, SUPPORTED_LOCALES, TRANSLATIONS, type SupportedLocale, resolveLocale, t, formatBlockedTrace, type BlockedTraceArgs, } from './i18n';
|
|
16
|
-
export declare const AGENTGUARD_SPEND_VERSION = "0.2.
|
|
16
|
+
export declare const AGENTGUARD_SPEND_VERSION = "0.2.1";
|
|
17
17
|
/** Patent marking. 35 U.S.C. § 287 constructive notice. */
|
|
18
18
|
export declare const PATENT_NOTICE: string;
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -54,7 +54,7 @@ Object.defineProperty(exports, "TRANSLATIONS", { enumerable: true, get: function
|
|
|
54
54
|
Object.defineProperty(exports, "resolveLocale", { enumerable: true, get: function () { return i18n_1.resolveLocale; } });
|
|
55
55
|
Object.defineProperty(exports, "t", { enumerable: true, get: function () { return i18n_1.t; } });
|
|
56
56
|
Object.defineProperty(exports, "formatBlockedTrace", { enumerable: true, get: function () { return i18n_1.formatBlockedTrace; } });
|
|
57
|
-
exports.AGENTGUARD_SPEND_VERSION = '0.2.
|
|
57
|
+
exports.AGENTGUARD_SPEND_VERSION = '0.2.1';
|
|
58
58
|
/** Patent marking. 35 U.S.C. § 287 constructive notice. */
|
|
59
59
|
exports.PATENT_NOTICE = 'Protected by U.S. patent-pending technology ' +
|
|
60
60
|
'(App. Nos. 63/983,615; 63/983,621; 63/983,843; 63/984,626; ' +
|
package/dist/telemetry.js
CHANGED
|
@@ -43,7 +43,7 @@ const https = __importStar(require("https"));
|
|
|
43
43
|
const os = __importStar(require("os"));
|
|
44
44
|
const path = __importStar(require("path"));
|
|
45
45
|
const crypto_1 = require("crypto");
|
|
46
|
-
const AGENTGUARD_SPEND_VERSION = '0.2.
|
|
46
|
+
const AGENTGUARD_SPEND_VERSION = '0.2.1';
|
|
47
47
|
const STATE_DIR = path.join(os.homedir(), '.agentguard');
|
|
48
48
|
const STATE_PATH = path.join(STATE_DIR, 'telemetry.json');
|
|
49
49
|
const BEACON_URL = 'https://agentguard.run/api/beacon';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentguard-run/spend",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Local-runtime spend caps and capability-gated model routing for AI agents. Prompts, API keys, and signing keys stay inside the customer runtime. Zero data plane involvement.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,14 +22,15 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"bin": {
|
|
25
|
-
"agentguard": "
|
|
25
|
+
"agentguard": "bin/agentguard.js"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
28
|
"dist",
|
|
29
29
|
"bin",
|
|
30
30
|
"README.md",
|
|
31
31
|
"LICENSE",
|
|
32
|
-
"PATENTS.md"
|
|
32
|
+
"PATENTS.md",
|
|
33
|
+
"CHANGELOG.md"
|
|
33
34
|
],
|
|
34
35
|
"scripts": {
|
|
35
36
|
"build": "tsc",
|
|
@@ -61,7 +62,7 @@
|
|
|
61
62
|
"homepage": "https://agentguard.run",
|
|
62
63
|
"repository": {
|
|
63
64
|
"type": "git",
|
|
64
|
-
"url": "https://github.com/MerchantGuardOps/agentguard-site"
|
|
65
|
+
"url": "git+https://github.com/MerchantGuardOps/agentguard-site.git"
|
|
65
66
|
},
|
|
66
67
|
"bugs": {
|
|
67
68
|
"url": "https://agentguard.run/contact"
|
|
@@ -70,13 +71,13 @@
|
|
|
70
71
|
"@noble/ed25519": ">=2.3.0 <4.0.0"
|
|
71
72
|
},
|
|
72
73
|
"peerDependencies": {
|
|
73
|
-
"openai": ">=5.0.0",
|
|
74
74
|
"@anthropic-ai/sdk": ">=0.30.0",
|
|
75
75
|
"@aws-sdk/client-bedrock-runtime": ">=3.600.0",
|
|
76
|
-
"ioredis": ">=5.0.0",
|
|
77
|
-
"pg": ">=8.10.0",
|
|
78
76
|
"@aws-sdk/client-kms": ">=3.600.0",
|
|
79
|
-
"@langchain/core": ">=0.3.0"
|
|
77
|
+
"@langchain/core": ">=0.3.0",
|
|
78
|
+
"ioredis": ">=5.0.0",
|
|
79
|
+
"openai": ">=5.0.0",
|
|
80
|
+
"pg": ">=8.10.0"
|
|
80
81
|
},
|
|
81
82
|
"peerDependenciesMeta": {
|
|
82
83
|
"openai": {
|