@videlic/connect 0.1.2 → 0.1.7
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 +4 -0
- package/evidence.d.mts +172 -0
- package/evidence.mjs +3005 -0
- package/hook.mjs +1468 -42
- package/install.mjs +6 -0
- package/package.json +10 -2
package/install.mjs
CHANGED
|
@@ -71,6 +71,12 @@ ok("Key valid");
|
|
|
71
71
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
72
72
|
const hookDest = join(claudeDir, "videlic-hook.mjs");
|
|
73
73
|
copyFileSync(join(here, "hook.mjs"), hookDest);
|
|
74
|
+
// The hook imports this one at the moment it collects evidence, by a RELATIVE
|
|
75
|
+
// path, so the two must land in the same directory or the import throws — in a
|
|
76
|
+
// detached process, where the only sign would be a line in the log. Copied
|
|
77
|
+
// second and unconditionally: a machine left with a new hook beside an old
|
|
78
|
+
// collector is the one shape neither file can detect.
|
|
79
|
+
copyFileSync(join(here, "evidence.mjs"), join(claudeDir, "evidence.mjs"));
|
|
74
80
|
|
|
75
81
|
const configPath = join(claudeDir, "videlic.json");
|
|
76
82
|
writeFileSync(
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@videlic/connect",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Connect your coding agent to Videlic
|
|
3
|
+
"version": "0.1.7",
|
|
4
|
+
"description": "Connect your coding agent to Videlic — installs a Stop hook that sends each finished session for review. Works on macOS, Windows, and Linux.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"connect": "install.mjs"
|
|
@@ -9,8 +9,13 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"install.mjs",
|
|
11
11
|
"hook.mjs",
|
|
12
|
+
"evidence.mjs",
|
|
13
|
+
"evidence.d.mts",
|
|
12
14
|
"README.md"
|
|
13
15
|
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"test": "vitest"
|
|
18
|
+
},
|
|
14
19
|
"engines": {
|
|
15
20
|
"node": ">=18"
|
|
16
21
|
},
|
|
@@ -18,5 +23,8 @@
|
|
|
18
23
|
"homepage": "https://videlic.dev",
|
|
19
24
|
"publishConfig": {
|
|
20
25
|
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"vitest": "^3.2.4"
|
|
21
29
|
}
|
|
22
30
|
}
|