@atbash/atbash-langgraph 0.0.1 → 0.0.3-dev.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/index.js +7 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -112,9 +112,15 @@ function createAuditNode(opts) {
|
|
|
112
112
|
// src/builder.ts
|
|
113
113
|
import {
|
|
114
114
|
createAtbashClient,
|
|
115
|
-
loadAgent
|
|
115
|
+
loadAgent,
|
|
116
|
+
setupTelemetry,
|
|
117
|
+
shutdownTelemetry
|
|
116
118
|
} from "@atbash/sdk";
|
|
117
119
|
function addAtbashSafety(builder, opts) {
|
|
120
|
+
setupTelemetry({ enabled: true, source: "plugin:langgraph" });
|
|
121
|
+
process.once("beforeExit", () => shutdownTelemetry());
|
|
122
|
+
process.once("SIGINT", () => shutdownTelemetry().finally(() => process.exit(0)));
|
|
123
|
+
process.once("SIGTERM", () => shutdownTelemetry().finally(() => process.exit(0)));
|
|
118
124
|
const privkey = opts.privkey ?? process.env.ATBASH_AGENT_PRIVKEY;
|
|
119
125
|
const agent = opts.agent ?? loadAgent(privkey ?? "");
|
|
120
126
|
const clientOpts = opts.endpoint ? { endpoint: opts.endpoint } : void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atbash/atbash-langgraph",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3-dev.0",
|
|
4
4
|
"description": "Atbash safety guard and audit nodes for LangGraph workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"prepublishOnly": "npm run build"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@atbash/sdk": "
|
|
40
|
+
"@atbash/sdk": "dev",
|
|
41
41
|
"zod": "^3.25.76"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|