@pushary/agent-hooks 0.80.1 → 0.81.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/CHANGELOG.md +14 -0
- package/dist/bin/pushary-claude.js +2 -2
- package/dist/bin/pushary-codex-hook.js +2 -2
- package/dist/bin/pushary-codex.js +1 -1
- package/dist/bin/pushary-gemini-hook.js +2 -2
- package/dist/bin/pushary-hook.js +3 -3
- package/dist/bin/pushary-notification-hook.js +1 -1
- package/dist/bin/pushary-permission-denied-hook.js +3 -3
- package/dist/bin/pushary-permission-hook.js +3 -3
- package/dist/bin/pushary-post-hook.js +1 -1
- package/dist/bin/pushary-prompt-hook.js +1 -1
- package/dist/bin/pushary-session-end-hook.js +1 -1
- package/dist/bin/pushary-session-start-hook.js +1 -1
- package/dist/bin/pushary-setup.js +1 -1
- package/dist/bin/pushary-stop-hook.js +1 -1
- package/dist/bin/pushary-stopfailure-hook.js +1 -1
- package/dist/{chunk-DUYM5SHH.js → chunk-FVVJ3FOW.js} +4 -1
- package/dist/{chunk-ULITFWLG.js → chunk-JU72KNUB.js} +2 -2
- package/dist/{chunk-A5DAEWBZ.js → chunk-PVSCRRPA.js} +1 -1
- package/dist/src/index.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.81.0
|
|
4
|
+
|
|
5
|
+
### The idle ping now honours a Terminal mode set in the dashboard
|
|
6
|
+
|
|
7
|
+
"Your agent is waiting" pushes checked your delivery mode by reading the
|
|
8
|
+
temporary override only. Choosing Terminal in the dashboard or the app
|
|
9
|
+
does not write an override, it writes a standing rule, so the check never
|
|
10
|
+
fired and the ping buzzed a phone whose owner had asked not to be reached.
|
|
11
|
+
|
|
12
|
+
The ping now declares itself a task update, which puts it behind the same
|
|
13
|
+
server-side gate as everything else the agent sends unprompted. That gate
|
|
14
|
+
sees the standing rule, the kill switch and a mute. It also means your
|
|
15
|
+
updates dial governs idle pings: set updates to Off and they stop.
|
|
16
|
+
|
|
3
17
|
## 0.80.1
|
|
4
18
|
|
|
5
19
|
### The bell's heartbeat directory is private to you now
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
KILL_REASON,
|
|
4
4
|
isDeferAnswer,
|
|
5
5
|
resolveGate
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-PVSCRRPA.js";
|
|
7
7
|
import {
|
|
8
8
|
askUser,
|
|
9
9
|
cancelQuestion,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
reportEvent,
|
|
16
16
|
scopePathFor,
|
|
17
17
|
waitForAnswer
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-FVVJ3FOW.js";
|
|
19
19
|
import "../chunk-BSZYIAZL.js";
|
|
20
20
|
import "../chunk-SAF6HGAA.js";
|
|
21
21
|
import "../chunk-PPD3HHNJ.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
denyReasonFrom,
|
|
9
9
|
isDeferAnswer,
|
|
10
10
|
resolveGate
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-PVSCRRPA.js";
|
|
12
12
|
import {
|
|
13
13
|
CODEX_AGENT,
|
|
14
14
|
DEFAULT_SESSION,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
toPolicyLookup,
|
|
40
40
|
toPolicyLookups,
|
|
41
41
|
waitForAnswer
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-FVVJ3FOW.js";
|
|
43
43
|
import "../chunk-BSZYIAZL.js";
|
|
44
44
|
import "../chunk-SAF6HGAA.js";
|
|
45
45
|
import "../chunk-PPD3HHNJ.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
denyReasonFrom,
|
|
9
9
|
isDeferAnswer,
|
|
10
10
|
resolveGate
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-PVSCRRPA.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_SESSION,
|
|
14
14
|
askUser,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
scopePathFor,
|
|
31
31
|
sendNotification,
|
|
32
32
|
waitForAnswer
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-FVVJ3FOW.js";
|
|
34
34
|
import "../chunk-BSZYIAZL.js";
|
|
35
35
|
import "../chunk-SAF6HGAA.js";
|
|
36
36
|
import "../chunk-PPD3HHNJ.js";
|
package/dist/bin/pushary-hook.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
handlePreToolUse
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JU72KNUB.js";
|
|
5
5
|
import "../chunk-R6AYBATA.js";
|
|
6
6
|
import "../chunk-MHA2WB7S.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-PVSCRRPA.js";
|
|
8
|
+
import "../chunk-FVVJ3FOW.js";
|
|
9
9
|
import "../chunk-BSZYIAZL.js";
|
|
10
10
|
import "../chunk-SAF6HGAA.js";
|
|
11
11
|
import "../chunk-PPD3HHNJ.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
handlePermissionDenied
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JU72KNUB.js";
|
|
5
5
|
import "../chunk-R6AYBATA.js";
|
|
6
6
|
import "../chunk-MHA2WB7S.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-PVSCRRPA.js";
|
|
8
|
+
import "../chunk-FVVJ3FOW.js";
|
|
9
9
|
import "../chunk-BSZYIAZL.js";
|
|
10
10
|
import "../chunk-SAF6HGAA.js";
|
|
11
11
|
import "../chunk-PPD3HHNJ.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
handlePermissionRequest
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JU72KNUB.js";
|
|
5
5
|
import "../chunk-R6AYBATA.js";
|
|
6
6
|
import "../chunk-MHA2WB7S.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-PVSCRRPA.js";
|
|
8
|
+
import "../chunk-FVVJ3FOW.js";
|
|
9
9
|
import "../chunk-BSZYIAZL.js";
|
|
10
10
|
import "../chunk-SAF6HGAA.js";
|
|
11
11
|
import "../chunk-PPD3HHNJ.js";
|
|
@@ -1264,7 +1264,10 @@ var handleNotification = async (input, agent = CLAUDE_CODE_AGENT) => {
|
|
|
1264
1264
|
title: `${agent.label} is waiting`,
|
|
1265
1265
|
body: (input.message ?? "Your agent is waiting for you.").slice(0, 200),
|
|
1266
1266
|
agentName: `${agent.label} - ${projectName}`,
|
|
1267
|
-
sessionId: input.session_id
|
|
1267
|
+
sessionId: input.session_id,
|
|
1268
|
+
// Makes this an `update` server-side, so resolveSiteMode gates it on
|
|
1269
|
+
// the wildcard policy too. `info` because nothing finished.
|
|
1270
|
+
context: { type: "info" }
|
|
1268
1271
|
}, 4e3).catch(() => {
|
|
1269
1272
|
});
|
|
1270
1273
|
return;
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
denyReasonFrom,
|
|
10
10
|
isDeferAnswer,
|
|
11
11
|
resolveGate
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PVSCRRPA.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_SESSION,
|
|
15
15
|
askUser,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
sendNotification,
|
|
30
30
|
throttlePass,
|
|
31
31
|
waitForAnswer
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FVVJ3FOW.js";
|
|
33
33
|
import {
|
|
34
34
|
buildDecisionEpisodeFeatures,
|
|
35
35
|
effectiveWaitSeconds,
|
package/dist/src/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handlePreToolUse
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-JU72KNUB.js";
|
|
4
4
|
import "../chunk-R6AYBATA.js";
|
|
5
5
|
import "../chunk-MHA2WB7S.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-PVSCRRPA.js";
|
|
7
7
|
import {
|
|
8
8
|
askUser,
|
|
9
9
|
cancelQuestion,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
reportEvent,
|
|
17
17
|
resolvePolicy,
|
|
18
18
|
waitForAnswer
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-FVVJ3FOW.js";
|
|
20
20
|
import "../chunk-BSZYIAZL.js";
|
|
21
21
|
import "../chunk-SAF6HGAA.js";
|
|
22
22
|
import "../chunk-PPD3HHNJ.js";
|