pushary 1.9.113 → 1.9.114

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.114
4
+
5
+ - `pushary setup` now adds a step under "Still to do", and under `manualSteps` with `--json`, when Codex is too old for hooks or setup could not read its version. The exit code and the `ok` field are unchanged.
6
+
3
7
  ## 1.9.113
4
8
 
5
9
  - In Claude Code's auto mode, a shell command or file edit that a Team approval route sends to someone else now waits for that person. Before, PreToolUse stepped aside for these calls in auto mode, so Claude Code's own check could run them without the approver seeing them. If the approver says yes the call runs, and if they say no it does not. If nobody answers in time, the call does not run by itself: it is refused or goes back to the agent's own prompt, as it does outside auto mode. Only a matching route that someone other than the person running the agent can answer counts, so a lead's own agent does not wait for the lead, and a workspace without Team routing does not change. MCP tools and web fetches do not change: auto mode decides first, and the approver is asked only if auto mode would have stopped to ask. Kill switch, standing deny and standing allow rules come first as before. A person on the In agent or Alert only approval mode gets no new prompt, and a phone-only rule set to approve when nobody answers does not hold the call. `plan`, `dontAsk` and `acceptEdits` do not change.
@@ -11,7 +11,7 @@ import {
11
11
  describeHermesProblems,
12
12
  describeHermesState,
13
13
  hermesRepairStep
14
- } from "../chunk-GQFT3QTC.js";
14
+ } from "../chunk-TRSKGWEL.js";
15
15
  import {
16
16
  describeWaitLadder
17
17
  } from "../chunk-CVWG2N3Y.js";
@@ -56,6 +56,7 @@ import {
56
56
  versionManagerOf
57
57
  } from "../chunk-44HW5T6P.js";
58
58
  import {
59
+ CODEX_NEEDS_A_NEWER_VERSION,
59
60
  CODEX_SETTINGS_STOP_A_HOOK,
60
61
  HERMES_RESTART_COMMAND,
61
62
  codexApprovalsWithHooks,
@@ -64,7 +65,7 @@ import {
64
65
  describeHermesInstallFailure,
65
66
  describeHermesState,
66
67
  needsCodexTrustStep
67
- } from "../chunk-GQFT3QTC.js";
68
+ } from "../chunk-TRSKGWEL.js";
68
69
  import {
69
70
  describeWaitLadder
70
71
  } from "../chunk-CVWG2N3Y.js";
@@ -1310,6 +1311,7 @@ var setupCodex = async (apiKey) => {
1310
1311
  }
1311
1312
  } else {
1312
1313
  console.log(` ${dim("\u2022")} Notify handler (deprecated): captures turn completions and approval requests`);
1314
+ noteManual(CODEX_NEEDS_A_NEWER_VERSION);
1313
1315
  }
1314
1316
  };
1315
1317
  var resolveBundledPlugin = () => {
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  HERMES_RESTART_COMMAND,
34
34
  describeCodexTrustConfirmation
35
- } from "../chunk-GQFT3QTC.js";
35
+ } from "../chunk-TRSKGWEL.js";
36
36
  import "../chunk-U35OB2HQ.js";
37
37
  import {
38
38
  waitForMachineReadiness
@@ -26,6 +26,7 @@ var CODEX_APPROVALS_BY_TRUST = {
26
26
  };
27
27
  var GAPS_THAT_STOP_A_HOOK = /* @__PURE__ */ new Set(["untrusted", "disabled", "asynchronous"]);
28
28
  var CODEX_SETTINGS_STOP_A_HOOK = "Codex's own settings stop a Pushary hook from running: hooks are turned off in config.toml, or a hook is turned off or not trusted in Codex's hooks list (/hooks, or Settings then Hooks in the ChatGPT app). Run pushary doctor to see which, and how to fix it.";
29
+ var CODEX_NEEDS_A_NEWER_VERSION = "Update Codex to get approvals, then run setup again.";
29
30
  var codexSettingsStopAHook = (onDisk) => onDisk.kind === "read" && (onDisk.hooksFeatureOff || onDisk.gaps.some((gap) => GAPS_THAT_STOP_A_HOOK.has(gap.kind)));
30
31
  var codexApprovalsWithHooks = (trust, onDisk) => trust === "unverified" && codexSettingsStopAHook(onDisk) ? "hooks_not_running" : CODEX_APPROVALS_BY_TRUST[trust];
31
32
  var CODEX_TRUST_REFUSED = "Codex did not accept the trust Pushary asked for, so its hooks are not trusted yet. Open Codex, run /hooks, and choose Trust for the Pushary hooks.";
@@ -121,6 +122,7 @@ var describeHermesState = (state) => {
121
122
  export {
122
123
  codexTrustOutcome,
123
124
  CODEX_SETTINGS_STOP_A_HOOK,
125
+ CODEX_NEEDS_A_NEWER_VERSION,
124
126
  codexApprovalsWithHooks,
125
127
  CODEX_HOOK_REMEDY,
126
128
  needsCodexTrustStep,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pushary",
3
- "version": "1.9.113",
3
+ "version": "1.9.114",
4
4
  "description": "Human-in-the-loop (HITL) for AI agents: ask a person for approvals or answers by push notification. One command connects Claude Code, Codex, Cursor, Gemini CLI and more.",
5
5
  "keywords": [
6
6
  "pushary",