@vshulcz/deja-vu 0.1.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/README.md +3 -0
- package/bin/deja +25 -0
- package/package.json +41 -0
package/README.md
ADDED
package/bin/deja
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { spawnSync } = require('node:child_process');
|
|
4
|
+
const path = require('node:path');
|
|
5
|
+
|
|
6
|
+
const arch = process.arch === 'x64' ? 'amd64' : process.arch;
|
|
7
|
+
const platform = process.platform === 'win32' ? 'windows' : process.platform;
|
|
8
|
+
const pkg = `@vshulcz/deja-vu-${platform}-${arch}`;
|
|
9
|
+
const exe = platform === 'windows' ? 'deja.exe' : 'deja';
|
|
10
|
+
|
|
11
|
+
let bin;
|
|
12
|
+
try {
|
|
13
|
+
bin = require.resolve(path.join(pkg, 'bin', exe));
|
|
14
|
+
} catch (err) {
|
|
15
|
+
console.error(`deja: missing optional binary package ${pkg}`);
|
|
16
|
+
console.error('deja: install via: go install github.com/vshulcz/deja-vu/cmd/deja@latest');
|
|
17
|
+
process.exit(1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const result = spawnSync(bin, process.argv.slice(2), { stdio: 'inherit' });
|
|
21
|
+
if (result.error) {
|
|
22
|
+
console.error(result.error.message);
|
|
23
|
+
process.exit(1);
|
|
24
|
+
}
|
|
25
|
+
process.exit(result.status ?? 0);
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vshulcz/deja-vu",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Persistent memory for your coding agents",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/vshulcz/deja-vu.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/vshulcz/deja-vu",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/vshulcz/deja-vu/issues"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"mcp",
|
|
16
|
+
"claude-code",
|
|
17
|
+
"codex",
|
|
18
|
+
"opencode",
|
|
19
|
+
"memory",
|
|
20
|
+
"agent",
|
|
21
|
+
"cli"
|
|
22
|
+
],
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=18"
|
|
25
|
+
},
|
|
26
|
+
"bin": {
|
|
27
|
+
"deja": "bin/deja"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"bin/deja",
|
|
31
|
+
"package.json"
|
|
32
|
+
],
|
|
33
|
+
"optionalDependencies": {
|
|
34
|
+
"@vshulcz/deja-vu-darwin-arm64": "0.1.0",
|
|
35
|
+
"@vshulcz/deja-vu-darwin-amd64": "0.1.0",
|
|
36
|
+
"@vshulcz/deja-vu-linux-arm64": "0.1.0",
|
|
37
|
+
"@vshulcz/deja-vu-linux-amd64": "0.1.0",
|
|
38
|
+
"@vshulcz/deja-vu-windows-arm64": "0.1.0",
|
|
39
|
+
"@vshulcz/deja-vu-windows-amd64": "0.1.0"
|
|
40
|
+
}
|
|
41
|
+
}
|