@dashup/connector 0.1.12 → 0.1.13
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/claude/hooks/hooks.json +1 -1
- package/claude/hooks/register.ts +2 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/claude/hooks/hooks.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "modules": ["./register.ts"] }
|
|
1
|
+
{ "hooks": {}, "modules": ["./register.ts"] }
|
package/claude/hooks/register.ts
CHANGED
|
@@ -7,7 +7,8 @@ import type { EngineInterface, Register } from 'claude-code';
|
|
|
7
7
|
// Claude Code reads what other processes post to a session's inbox as another session's request,
|
|
8
8
|
// never the person's. Dashup's connector instead streams what the person sends this session from
|
|
9
9
|
// their phone, one delivery per line, and the session takes each message as their own. `now`
|
|
10
|
-
// first ends the running turn, so a delivery without text only stops it.
|
|
10
|
+
// first ends the running turn, so a delivery without text only stops it. The empty `hooks` in
|
|
11
|
+
// hooks.json lets Claude Code from before function hooks load the plugin, which then does nothing.
|
|
11
12
|
type Delivery = { text?: string; now?: true };
|
|
12
13
|
|
|
13
14
|
const RETRY_MS = 10_000;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashup/connector",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"dashup": "dist/index.js"
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"tsx": "^4.22.4",
|
|
32
32
|
"typescript": "^5.9.3",
|
|
33
33
|
"@dashup/models": "0.1.0",
|
|
34
|
-
"@
|
|
35
|
-
"@parcae/sdk": "0.8.1",
|
|
34
|
+
"@dashup/protocol": "0.1.0",
|
|
36
35
|
"@dashup/typescript-config": "0.0.0",
|
|
37
|
-
"@
|
|
36
|
+
"@parcae/lynx": "0.1.0",
|
|
37
|
+
"@parcae/sdk": "0.8.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"dashup": "tsx src/index.ts",
|