agenr 0.4.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/cli.d.ts ADDED
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node
package/dist/cli.js ADDED
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/cli.ts
4
+ import { pathToFileURL } from "url";
5
+ var originalEmit = process.emit;
6
+ process.emit = function(event, ...args) {
7
+ if (event === "warning" && typeof args[0] === "object" && args[0] !== null && args[0].name === "DeprecationWarning" && String(args[0].message).includes("punycode")) {
8
+ return false;
9
+ }
10
+ return originalEmit.call(this, event, ...args);
11
+ };
12
+ function stderrLine(message) {
13
+ process.stderr.write(`${message}
14
+ `);
15
+ }
16
+ var isDirectRun = process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href;
17
+ if (isDirectRun) {
18
+ const { createProgram } = await import("./cli-main.js");
19
+ createProgram().parseAsync(process.argv).catch((error) => {
20
+ stderrLine(error instanceof Error ? error.message : String(error));
21
+ process.exitCode = 1;
22
+ });
23
+ }
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "agenr",
3
+ "version": "0.4.0",
4
+ "description": "AGENt memoRy -- Memory infrastructure for AI agents",
5
+ "type": "module",
6
+ "bin": {
7
+ "agenr": "dist/cli.js"
8
+ },
9
+ "scripts": {
10
+ "build": "tsup src/cli.ts src/cli-main.ts --format esm --dts",
11
+ "dev": "tsup src/cli.ts src/cli-main.ts --format esm --watch",
12
+ "test": "vitest",
13
+ "typecheck": "tsc --noEmit"
14
+ },
15
+ "dependencies": {
16
+ "@clack/prompts": "^1.0.1",
17
+ "@libsql/client": "^0.17.0",
18
+ "@mariozechner/pi-ai": "^0.52.0",
19
+ "@sinclair/typebox": "^0.34.48",
20
+ "chalk": "^5.6.2",
21
+ "commander": "^14.0.0"
22
+ },
23
+ "devDependencies": {
24
+ "@types/node": "^25.2.3",
25
+ "tsup": "^8.0.0",
26
+ "typescript": "^5.0.0",
27
+ "vitest": "^3.0.0"
28
+ },
29
+ "engines": {
30
+ "node": ">=20"
31
+ },
32
+ "license": "AGPL-3.0",
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/agenr-ai/agenr.git"
36
+ },
37
+ "homepage": "https://agenr.ai",
38
+ "keywords": [
39
+ "ai",
40
+ "memory",
41
+ "agent",
42
+ "mcp",
43
+ "knowledge",
44
+ "recall",
45
+ "extract",
46
+ "consolidation",
47
+ "local-first",
48
+ "sqlite"
49
+ ],
50
+ "files": [
51
+ "dist",
52
+ "CHANGELOG.md",
53
+ "LICENSE",
54
+ "README.md"
55
+ ],
56
+ "author": "agenr-ai"
57
+ }