@wibeco/bridge 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/README.md
CHANGED
|
@@ -18,13 +18,13 @@ Dependency-light TypeScript foundations for normalizing agent hooks and sending
|
|
|
18
18
|
Install and authorize Wibe from any GitHub repository:
|
|
19
19
|
|
|
20
20
|
```sh
|
|
21
|
-
npx --yes @wibeco/bridge@latest setup \
|
|
21
|
+
npx --yes --package @wibeco/bridge@latest wibe setup \
|
|
22
22
|
--adapter cursor \
|
|
23
23
|
--project <uuid> \
|
|
24
24
|
--url https://trywibe.com \
|
|
25
25
|
--repository <owner/repository>
|
|
26
26
|
|
|
27
|
-
npx --yes @wibeco/bridge@latest doctor --repository <owner/repository>
|
|
27
|
+
npx --yes --package @wibeco/bridge@latest wibe doctor --repository <owner/repository>
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
Use `--adapter claude-code` or `--adapter codex` for another supported agent.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wibeco/bridge",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Privacy-first live activity bridge for Cursor, Claude Code, and Codex.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"bin": {
|
|
16
|
+
"bridge": "dist/cli.js",
|
|
16
17
|
"wibe": "dist/cli.js",
|
|
17
18
|
"wibe-bridge": "dist/cli.js",
|
|
18
19
|
"wibe-codex-hook": "dist/codex-hook.js"
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"hooks": [
|
|
6
6
|
{
|
|
7
7
|
"type": "command",
|
|
8
|
-
"command": "npx
|
|
8
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter claude-code --event session-start"
|
|
9
9
|
}
|
|
10
10
|
]
|
|
11
11
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"hooks": [
|
|
16
16
|
{
|
|
17
17
|
"type": "command",
|
|
18
|
-
"command": "npx
|
|
18
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter claude-code --event session-end"
|
|
19
19
|
}
|
|
20
20
|
]
|
|
21
21
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"hooks": [
|
|
26
26
|
{
|
|
27
27
|
"type": "command",
|
|
28
|
-
"command": "npx
|
|
28
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter claude-code --event user-prompt-submit"
|
|
29
29
|
}
|
|
30
30
|
]
|
|
31
31
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"hooks": [
|
|
37
37
|
{
|
|
38
38
|
"type": "command",
|
|
39
|
-
"command": "npx
|
|
39
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter claude-code --event pre-tool-use"
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"hooks": [
|
|
48
48
|
{
|
|
49
49
|
"type": "command",
|
|
50
|
-
"command": "npx
|
|
50
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter claude-code --event post-tool-use"
|
|
51
51
|
}
|
|
52
52
|
]
|
|
53
53
|
}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"hooks": [
|
|
59
59
|
{
|
|
60
60
|
"type": "command",
|
|
61
|
-
"command": "npx
|
|
61
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter claude-code --event post-tool-use-failure"
|
|
62
62
|
}
|
|
63
63
|
]
|
|
64
64
|
}
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"hooks": [
|
|
69
69
|
{
|
|
70
70
|
"type": "command",
|
|
71
|
-
"command": "npx
|
|
71
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter claude-code --event stop"
|
|
72
72
|
}
|
|
73
73
|
]
|
|
74
74
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"hooks": [
|
|
6
6
|
{
|
|
7
7
|
"type": "command",
|
|
8
|
-
"command": "npx
|
|
8
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter codex --event session-start"
|
|
9
9
|
}
|
|
10
10
|
]
|
|
11
11
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"hooks": [
|
|
16
16
|
{
|
|
17
17
|
"type": "command",
|
|
18
|
-
"command": "npx
|
|
18
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter codex --event session-end"
|
|
19
19
|
}
|
|
20
20
|
]
|
|
21
21
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"hooks": [
|
|
26
26
|
{
|
|
27
27
|
"type": "command",
|
|
28
|
-
"command": "npx
|
|
28
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter codex --event user-prompt-submit"
|
|
29
29
|
}
|
|
30
30
|
]
|
|
31
31
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"hooks": [
|
|
37
37
|
{
|
|
38
38
|
"type": "command",
|
|
39
|
-
"command": "npx
|
|
39
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter codex --event pre-tool-use"
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"hooks": [
|
|
48
48
|
{
|
|
49
49
|
"type": "command",
|
|
50
|
-
"command": "npx
|
|
50
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter codex --event post-tool-use"
|
|
51
51
|
}
|
|
52
52
|
]
|
|
53
53
|
}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"hooks": [
|
|
58
58
|
{
|
|
59
59
|
"type": "command",
|
|
60
|
-
"command": "npx
|
|
60
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter codex --event subagent-start"
|
|
61
61
|
}
|
|
62
62
|
]
|
|
63
63
|
}
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"hooks": [
|
|
68
68
|
{
|
|
69
69
|
"type": "command",
|
|
70
|
-
"command": "npx
|
|
70
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter codex --event subagent-stop"
|
|
71
71
|
}
|
|
72
72
|
]
|
|
73
73
|
}
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"hooks": [
|
|
78
78
|
{
|
|
79
79
|
"type": "command",
|
|
80
|
-
"command": "npx
|
|
80
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter codex --event stop"
|
|
81
81
|
}
|
|
82
82
|
]
|
|
83
83
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
These files are reviewable setup templates. Wibe installs them only when the destination does not
|
|
4
4
|
already exist; otherwise merge `hooks.json.example` into `.cursor/hooks.json` yourself. Hook commands
|
|
5
|
-
run `npx
|
|
5
|
+
run `npx --yes --package @wibeco/bridge@latest wibe emit`, which normalizes, redacts, queues, and delivers activity.
|
|
6
6
|
The emit command always returns a valid empty JSON object to Cursor and fails open, so telemetry
|
|
7
7
|
delivery can never block an agent tool call.
|
|
8
8
|
Session hooks own a metadata-only heartbeat every 45 seconds and stop it at session end. Routine
|
|
@@ -3,67 +3,67 @@
|
|
|
3
3
|
"hooks": {
|
|
4
4
|
"sessionStart": [
|
|
5
5
|
{
|
|
6
|
-
"command": "npx
|
|
6
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event session-start",
|
|
7
7
|
"failClosed": false
|
|
8
8
|
}
|
|
9
9
|
],
|
|
10
10
|
"sessionEnd": [
|
|
11
11
|
{
|
|
12
|
-
"command": "npx
|
|
12
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event session-end",
|
|
13
13
|
"failClosed": false
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
16
|
"beforeSubmitPrompt": [
|
|
17
17
|
{
|
|
18
|
-
"command": "npx
|
|
18
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event before-submit-prompt",
|
|
19
19
|
"failClosed": false
|
|
20
20
|
}
|
|
21
21
|
],
|
|
22
22
|
"afterAgentResponse": [
|
|
23
23
|
{
|
|
24
|
-
"command": "npx
|
|
24
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event after-agent-response",
|
|
25
25
|
"failClosed": false
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"preToolUse": [
|
|
29
29
|
{
|
|
30
|
-
"command": "npx
|
|
30
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event before-tool",
|
|
31
31
|
"failClosed": false
|
|
32
32
|
}
|
|
33
33
|
],
|
|
34
34
|
"postToolUse": [
|
|
35
35
|
{
|
|
36
|
-
"command": "npx
|
|
36
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event after-tool",
|
|
37
37
|
"failClosed": false
|
|
38
38
|
}
|
|
39
39
|
],
|
|
40
40
|
"afterFileEdit": [
|
|
41
41
|
{
|
|
42
|
-
"command": "npx
|
|
42
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event after-file-edit",
|
|
43
43
|
"failClosed": false
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
46
|
"beforeShellExecution": [
|
|
47
47
|
{
|
|
48
|
-
"command": "npx
|
|
48
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event before-shell-execution",
|
|
49
49
|
"failClosed": false
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"afterShellExecution": [
|
|
53
53
|
{
|
|
54
|
-
"command": "npx
|
|
54
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event after-shell-execution",
|
|
55
55
|
"failClosed": false
|
|
56
56
|
}
|
|
57
57
|
],
|
|
58
58
|
"beforeMCPExecution": [
|
|
59
59
|
{
|
|
60
|
-
"command": "npx
|
|
60
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event before-mcp-execution",
|
|
61
61
|
"failClosed": false
|
|
62
62
|
}
|
|
63
63
|
],
|
|
64
64
|
"afterMCPExecution": [
|
|
65
65
|
{
|
|
66
|
-
"command": "npx
|
|
66
|
+
"command": "npx --yes --package @wibeco/bridge@latest wibe emit --adapter cursor --event after-mcp-execution",
|
|
67
67
|
"failClosed": false
|
|
68
68
|
}
|
|
69
69
|
]
|