@pushary/agent-hooks 1.9.155 → 1.9.157

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.
Files changed (64) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/data/openclaw-plugin/README.md +1 -1
  3. package/data/openclaw-plugin/dist/approval-question.js +5 -5
  4. package/data/openclaw-plugin/dist/file-change-preview.js +67 -23
  5. package/data/openclaw-plugin/package.json +1 -1
  6. package/dist/bin/pushary-bell-hook.js +6 -6
  7. package/dist/bin/pushary-claude.js +5 -5
  8. package/dist/bin/pushary-clean.js +10 -10
  9. package/dist/bin/pushary-codex-hook.js +11 -11
  10. package/dist/bin/pushary-codex-session.js +2 -2
  11. package/dist/bin/pushary-codex.js +2 -2
  12. package/dist/bin/pushary-connect.js +6 -6
  13. package/dist/bin/pushary-daemon.js +8 -8
  14. package/dist/bin/pushary-disconnect.js +5 -5
  15. package/dist/bin/pushary-display-hook.js +1 -1
  16. package/dist/bin/pushary-doctor.js +6 -6
  17. package/dist/bin/pushary-elicitation-hook.js +7 -7
  18. package/dist/bin/pushary-gemini-hook.js +9 -9
  19. package/dist/bin/pushary-hook.js +11 -11
  20. package/dist/bin/pushary-login.js +2 -2
  21. package/dist/bin/pushary-logout.js +6 -6
  22. package/dist/bin/pushary-notification-hook.js +6 -6
  23. package/dist/bin/pushary-opencode-hook.js +9 -9
  24. package/dist/bin/pushary-permission-denied-hook.js +11 -11
  25. package/dist/bin/pushary-permission-hook.js +11 -11
  26. package/dist/bin/pushary-post-hook.js +7 -7
  27. package/dist/bin/pushary-prompt-hook.js +6 -6
  28. package/dist/bin/pushary-session-end-hook.js +6 -6
  29. package/dist/bin/pushary-session-start-hook.js +8 -8
  30. package/dist/bin/pushary-setup.js +13 -13
  31. package/dist/bin/pushary-status.js +5 -5
  32. package/dist/bin/pushary-stop-hook.js +6 -6
  33. package/dist/bin/pushary-stopfailure-hook.js +6 -6
  34. package/dist/bin/pushary-transcript-register.js +3 -3
  35. package/dist/bin/pushary-transcripts.js +3 -3
  36. package/dist/bin/pushary-upgrade.js +6 -6
  37. package/dist/{chunk-B2SZN2C7.js → chunk-2NSPZZBJ.js} +1 -1
  38. package/dist/{chunk-JIH55UHZ.js → chunk-2SHPCEH6.js} +7 -4
  39. package/dist/{chunk-EPYNFHCW.js → chunk-3XTH6EKH.js} +2 -2
  40. package/dist/{chunk-OGB4QCB3.js → chunk-4I4HAPT5.js} +2 -2
  41. package/dist/{chunk-DMWKPUAI.js → chunk-5HMVXNFU.js} +1 -1
  42. package/dist/{chunk-KWHADNCV.js → chunk-5MWNWCCI.js} +1 -1
  43. package/dist/{chunk-HNESCLUJ.js → chunk-6W6MZ53D.js} +1 -1
  44. package/dist/{chunk-FLY6YDPE.js → chunk-7JAEIKBV.js} +2 -2
  45. package/dist/{chunk-5Y5ZB5GG.js → chunk-BO4HRAY7.js} +9 -1
  46. package/dist/{chunk-XZ7AZOUT.js → chunk-C74JHUD3.js} +4 -4
  47. package/dist/{chunk-5C7TFCQH.js → chunk-GA5T3WEB.js} +2 -2
  48. package/dist/{chunk-M2WLCRMX.js → chunk-IQWMRFKD.js} +1 -1
  49. package/dist/{chunk-Y6OGY2G4.js → chunk-KRI7BOND.js} +2 -2
  50. package/dist/{chunk-YPSP7NZI.js → chunk-KURQ4KMV.js} +1 -1
  51. package/dist/{chunk-RALCZD2Z.js → chunk-O2DJWDVK.js} +2 -2
  52. package/dist/{chunk-ALRANF2G.js → chunk-QBDCKECQ.js} +1 -1
  53. package/dist/{chunk-PBKYOLKX.js → chunk-REUFDG7O.js} +1 -1
  54. package/dist/{chunk-XOZ2IFFU.js → chunk-UH5NAPWL.js} +2 -2
  55. package/dist/{chunk-QEKKOZS3.js → chunk-VRLYEBDN.js} +8 -8
  56. package/dist/{chunk-P2OC7VZZ.js → chunk-W2GOSAFI.js} +1 -1
  57. package/dist/{chunk-Q242EVCI.js → chunk-WDU4LEEW.js} +1 -1
  58. package/dist/{chunk-G66WIAST.js → chunk-WHB622LP.js} +1 -1
  59. package/dist/{codex-app-cards-switch-B7GY2ONI.js → codex-app-cards-switch-MQIEZLSU.js} +2 -2
  60. package/dist/{codex-card-routing-6RN4N266.js → codex-card-routing-UTWTJ6YQ.js} +1 -1
  61. package/dist/{codex-desktop-launch-K4GU2NFZ.js → codex-desktop-launch-A6GX6F54.js} +1 -1
  62. package/dist/{reapply-L7QUIQXK.js → reapply-5ZNMLEKV.js} +5 -5
  63. package/dist/src/index.js +11 -11
  64. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.157
4
+
5
+ - This CLI carries the OpenClaw plugin 0.1.4. An approval for a `.env` file no longer sends its values. A complete write sends the variable names only when every line is a plain `NAME=value` assignment, a comment or blank. Any other line, such as a quoted value spread over several lines or an unclosed quote, means the approval sends neither names nor values. Before, a quoted value that spanned several lines had its later lines sent as written.
6
+ - An edit or a patch to a `.env` file sends the paths and leaves out the changed lines, because a fragment can start inside a value. A patch that also changes other files still shows those files in full, including when its file headers are indented. A patch that arrives in `command`, as OpenClaw's Codex harness sends it, is shown as a patch with the same rules. Before, it was shown as a command with the whole patch, `.env` lines included.
7
+ - A `write` or `edit` to a `.env` file whose parameters the plugin cannot read, such as an `edits` entry without its `newText`, sends only the path instead of every parameter. An `edit` that also carries a `command` parameter is shown as the file change, not as a command.
8
+ - The plugin recognises Windows paths, `file://` URLs (including a network share such as `file://server/share/.env`) and Windows stream names such as `.env::$DATA` as `.env` files.
9
+
10
+ ## 1.9.156
11
+
12
+ - OpenCode: questions reach your phone. OpenCode asked its own questions, such as "ask me a multiple choice question", with its built-in `question` tool, which shows only in the terminal. Pushary forwards OpenCode's permission prompts, but no plugin API can answer that tool, so nothing reached the phone or the Mac notch. The instructions setup writes to OpenCode's `AGENTS.md` now tell it to ask every question through Pushary's `ask_user`, one at a time, even while you are at the terminal, as fx already does. They name both forms OpenCode offers: `tools.pushary.ask_user(...)` inside `execute` when OpenCode 2 lists Pushary under Code Mode, and the direct `pushary_ask_user` otherwise. So a question now reaches your phone and the Mac notch while you are at your desk too, and you can answer it there. In Terminal mode Pushary hands it straight back to OpenCode's prompt. A handoff that asks in the terminal, or an `ask_user` that fails, still falls back to OpenCode's own prompt. Setup and `pushary upgrade` write the new block; an existing CLI connection gets it on the next upgrade, and a Mac app connection after the Mac app update and a reconnect.
13
+
3
14
  ## 1.9.155
4
15
 
5
16
  - Antigravity CLI: `run_workflow` now goes to your Pushary policy before it runs. agy 1.5.9 added the tool for everyone. The agent writes a Python script, agy runs it in its own Python, and the script can run commands and write files with no further hook call. Setup sets `toolPermission` to `always-proceed` so that Pushary is agy's only gate, yet the hook matcher left `run_workflow` out and the hook had no rule for it, so a workflow script ran with nobody asked. The script is now judged as `python3 -c '<script>'` under your `Bash` rules, and your phone shows it in that form. It gets the answer the same code would get from `run_command`: under the default rules your phone is asked. A `Bash` rule whose pattern covers `python3 -c`, such as `Bash`, `Bash(python3:*)`, `Bash(python:*)` or `Bash(python3 -c:*)`, or a preset that lets shell commands run, lets it run unasked. The shell read-only check and rules for other commands, such as `Bash(git:*)`, never clear it. A call with a missing or blank script is blocked. A finished workflow is not recorded in Activity: `PostToolUse` does not match `run_workflow`, as for `manage_task`. Setup, `pushary upgrade` and the Mac app's spec write the new matcher. An existing CLI connection gets it on the next upgrade, and a Mac app connection after the Mac app update and a reconnect.
@@ -104,7 +104,7 @@ Before anything is sent, the plugin removes what it can recognise as a secret:
104
104
 
105
105
  - Key and token formats it knows: Pushary keys, `sk-` keys (OpenAI, Anthropic), Stripe, GitHub, GitLab, Slack, Google, AWS access key ids, npm, xAI and JWTs, plus private key blocks and long base64-like strings of 40 or more characters.
106
106
  - Passwords in URLs, `Bearer` and `Authorization` values, and the value of anything named like a password, token, secret, API key, access key, client secret or private key. In JSON this holds at any depth, whatever the value.
107
- - Every value in a `.env` file (`.env`, `.env.*` or a name ending in `.env`, such as `gateway.env`). Only the variable names are sent.
107
+ - For a complete write to a `.env` file (`.env`, `.env.*` or a name ending in `.env`, such as `gateway.env`), Pushary receives the variable names when every line is a plain `NAME=value` assignment, a comment or blank. A file with any other line, such as a value spread over several lines, sends neither names nor values. For an edit or patch, Pushary receives the paths and omits the dotenv change contents because a fragment can start inside a value.
108
108
 
109
109
  Redaction works from these patterns. A secret in a command that matches none of them, such as a password with spaces passed to a flag of its own, is sent as written. The plugin leaves the rest of a command as it is so you can see what will run.
110
110
 
@@ -1,5 +1,5 @@
1
1
  import { commandPreviewOf } from './command-preview.js';
2
- import { fileChangePreviewOf } from './file-change-preview.js';
2
+ import { fileChangePreviewOf, PATCH_OPERATION } from './file-change-preview.js';
3
3
  import { serializedWithCredentialsRedacted } from './parameter-redaction.js';
4
4
  import { redactSecrets, redactSecretsDeep } from './redaction.js';
5
5
  import { SESSIONS_SPAWN_TOOL, SPAWN_FOLDER_PARAMETER, startsAnAcpSession } from './protected-writes.js';
@@ -27,12 +27,12 @@ const stringParameter = (params, name) => {
27
27
  return typeof value === 'string' && value.trim().length > 0 ? value : undefined;
28
28
  };
29
29
  const describedCall = (event) => {
30
- const preview = commandPreviewOf(event.params, PARAMETERS_THE_CONTEXT_SHOWS);
31
- if (preview !== null)
32
- return { kind: 'command', preview };
33
30
  const change = fileChangePreviewOf(hostToolId(event.toolName), event.params);
34
31
  if (change !== null)
35
32
  return { kind: 'file_change', change };
33
+ const preview = commandPreviewOf(event.params, PARAMETERS_THE_CONTEXT_SHOWS);
34
+ if (preview !== null)
35
+ return { kind: 'command', preview };
36
36
  const visible = withHiddenCharactersShown(serializedWithCredentialsRedacted(event.params));
37
37
  return { kind: 'parameters', line: redactSecrets(visible), body: redactSecretsDeep(visible) };
38
38
  };
@@ -55,7 +55,7 @@ const commandQuestion = (preview) => {
55
55
  const quotedList = (paths) => truncated(paths.map(path => `\`${collapsed(path)}\``).join(', '), QUESTION_SUMMARY_MAX);
56
56
  const fileChangeQuestion = (change) => {
57
57
  const targets = quotedList(change.paths);
58
- const asked = change.operation === 'patch' ? `apply a patch to ${targets}` : `${change.operation} ${targets}`;
58
+ const asked = change.operation === PATCH_OPERATION ? `apply a patch to ${targets}` : `${change.operation} ${targets}`;
59
59
  return `Allow ${AGENT_LABEL} to ${asked}? Read the change before you answer.`;
60
60
  };
61
61
  const quotedForQuestion = (text) => `\`${truncated(collapsed(redactSecrets(withHiddenCharactersShown(text))), QUESTION_SUMMARY_MAX)}\``;
@@ -1,19 +1,28 @@
1
- import { basename } from 'node:path';
1
+ import { win32 } from 'node:path';
2
+ import { fileURLToPath } from 'node:url';
3
+ import { isRecord } from './parameter-redaction.js';
2
4
  import { APPLY_PATCH_TOOL, EDIT_TOOL, patchTargetsOf, WRITE_TOOL } from './protected-writes.js';
3
5
  import { redactSecrets, redactSecretsDeep } from './redaction.js';
4
6
  import { withHiddenCharactersShown } from './visible-text.js';
7
+ export const WRITE_OPERATION = 'write';
8
+ export const EDIT_OPERATION = 'edit';
9
+ export const PATCH_OPERATION = 'patch';
5
10
  const PATH_PARAMETER = 'path';
6
11
  const CONTENT_PARAMETER = 'content';
7
12
  const EDITS_PARAMETER = 'edits';
8
- const PATCH_PARAMETER = 'input';
13
+ const PATCH_PARAMETERS = ['input', 'command'];
9
14
  const OLD_TEXT_PARAMETER = 'oldText';
10
15
  const NEW_TEXT_PARAMETER = 'newText';
11
16
  const ENV_FILE_NAME = '.env';
12
- const ENV_ASSIGNMENT = /^([+\- ]?[ \t]*(?:export[ \t]+)?[A-Za-z_][A-Za-z0-9_.-]*[ \t]*=[ \t]*)\S.*$/gm;
13
- const HIDDEN_VALUE = '[value not sent]';
17
+ const ENV_BLANK_OR_COMMENT_LINE = /^[ \t]*(?:#.*)?$/;
18
+ const ENV_ASSIGNMENT_LINE = /^[ \t]*(?:export[ \t]+)?([A-Za-z_][A-Za-z0-9_.-]*)[ \t]*=[ \t]*(?:(?:"[^"]*"|'[^']*'|`[^`]*`)[ \t]*(?:#.*)?|[^"'`\s].*)?$/;
19
+ const WINDOWS_STREAM_SEPARATOR = ':';
20
+ const ENV_VALUE_HIDDEN = '[value not sent]';
21
+ const ENV_EDIT_HIDDEN = '[dotenv change contents not sent]';
22
+ const PATCH_FILE_START = /(?=^[ \t]*\*\*\* (?:Add|Delete|Update) File: )/m;
23
+ const PATCH_END = '*** End Patch';
14
24
  const REMOVED_LINE_PREFIX = '- ';
15
25
  const ADDED_LINE_PREFIX = '+ ';
16
- const isRecord = (value) => typeof value === 'object' && value !== null && !Array.isArray(value);
17
26
  const textParameter = (params, name) => {
18
27
  const value = params[name];
19
28
  return typeof value === 'string' ? value : undefined;
@@ -22,15 +31,41 @@ const pathParameter = (params) => {
22
31
  const path = textParameter(params, PATH_PARAMETER)?.trim();
23
32
  return path ? path : undefined;
24
33
  };
34
+ const fileUrlPathOf = (url) => {
35
+ try {
36
+ return fileURLToPath(url);
37
+ }
38
+ catch {
39
+ return url;
40
+ }
41
+ };
42
+ const isEnvFileName = (name) => name.endsWith(ENV_FILE_NAME) || name.startsWith(`${ENV_FILE_NAME}.`);
25
43
  export const isEnvFile = (path) => {
26
- const name = basename(path.trim()).toLowerCase();
27
- return name.endsWith(ENV_FILE_NAME) || name.startsWith(`${ENV_FILE_NAME}.`);
44
+ const referenced = path.trim().replace(/^@/, '');
45
+ const resolved = referenced.startsWith('file://') ? fileUrlPathOf(referenced) : referenced;
46
+ const name = win32.basename(resolved).toLowerCase();
47
+ const [nameBeforeStream = name] = name.split(WINDOWS_STREAM_SEPARATOR);
48
+ return isEnvFileName(name) || isEnvFileName(nameBeforeStream);
28
49
  };
29
- const withEnvValuesHidden = (text) => text.replace(ENV_ASSIGNMENT, `$1${HIDDEN_VALUE}`);
30
- const sendableText = (text, hidesEnvValues) => {
31
- const visible = withHiddenCharactersShown(text);
32
- return redactSecretsDeep(hidesEnvValues ? withEnvValuesHidden(visible) : visible);
50
+ const sendableText = (text) => redactSecretsDeep(withHiddenCharactersShown(text));
51
+ const isEnvBlankOrComment = (line) => ENV_BLANK_OR_COMMENT_LINE.test(line);
52
+ const assignedEnvNameOf = (line) => ENV_ASSIGNMENT_LINE.exec(line)?.[1] ?? null;
53
+ const isEnvName = (name) => name !== null;
54
+ const envNamesOnly = (content) => {
55
+ const lines = content.split(/\r?\n/).filter(line => !isEnvBlankOrComment(line));
56
+ const names = lines.map(assignedEnvNameOf).filter(isEnvName);
57
+ if (names.length === 0 || names.length !== lines.length)
58
+ return ENV_EDIT_HIDDEN;
59
+ return [...new Set(names)].sort().map(name => `${name}=${ENV_VALUE_HIDDEN}`).join('\n');
33
60
  };
61
+ const isPatchPathHeader = (line) => patchTargetsOf(line).length > 0;
62
+ const withoutEnvPatchContents = (patch) => patch.split(PATCH_FILE_START).map(section => {
63
+ if (!patchTargetsOf(section).some(isEnvFile))
64
+ return section;
65
+ const headers = section.split(/\r?\n/).filter(isPatchPathHeader);
66
+ const end = section.trimEnd().endsWith(PATCH_END) ? [PATCH_END] : [];
67
+ return [...headers, ENV_EDIT_HIDDEN, ...end, ''].join('\n');
68
+ }).join('');
34
69
  const sendablePath = (path) => redactSecrets(withHiddenCharactersShown(path));
35
70
  const lineCountOf = (text) => {
36
71
  if (text.length === 0)
@@ -66,39 +101,38 @@ const writePreviewOf = (params) => {
66
101
  return null;
67
102
  const shownPath = sendablePath(path);
68
103
  return {
69
- operation: 'write',
104
+ operation: WRITE_OPERATION,
70
105
  paths: [shownPath],
71
- body: `Write ${shownPath}, ${plural(lineCountOf(content), 'line')}:\n\n${sendableText(content, isEnvFile(path))}`,
106
+ body: `Write ${shownPath}, ${plural(lineCountOf(content), 'line')}:\n\n${sendableText(isEnvFile(path) ? envNamesOnly(content) : content)}`,
72
107
  };
73
108
  };
74
- const shownEdit = (edit, hidesEnvValues) => [prefixedLines(sendableText(edit.oldText, hidesEnvValues), REMOVED_LINE_PREFIX), prefixedLines(sendableText(edit.newText, hidesEnvValues), ADDED_LINE_PREFIX)].join('\n');
109
+ const shownEdit = (edit) => [prefixedLines(sendableText(edit.oldText), REMOVED_LINE_PREFIX), prefixedLines(sendableText(edit.newText), ADDED_LINE_PREFIX)].join('\n');
75
110
  const editPreviewOf = (params) => {
76
111
  const path = pathParameter(params);
77
112
  const edits = textEditsOf(params);
78
113
  if (path === undefined || edits === null)
79
114
  return null;
80
115
  const shownPath = sendablePath(path);
81
- const hidesEnvValues = isEnvFile(path);
116
+ const changes = isEnvFile(path) ? ENV_EDIT_HIDDEN : edits.map(shownEdit).join('\n\n');
82
117
  return {
83
- operation: 'edit',
118
+ operation: EDIT_OPERATION,
84
119
  paths: [shownPath],
85
- body: `Edit ${shownPath}, ${plural(edits.length, 'change')}:\n\n${edits.map(edit => shownEdit(edit, hidesEnvValues)).join('\n\n')}`,
120
+ body: `Edit ${shownPath}, ${plural(edits.length, 'change')}:\n\n${changes}`,
86
121
  };
87
122
  };
123
+ const hasPatchTargets = (text) => text !== undefined && patchTargetsOf(text).length > 0;
88
124
  const patchPreviewOf = (params) => {
89
- const patch = textParameter(params, PATCH_PARAMETER);
125
+ const patch = PATCH_PARAMETERS.map(name => textParameter(params, name)).find(hasPatchTargets);
90
126
  if (patch === undefined)
91
127
  return null;
92
128
  const targets = patchTargetsOf(patch);
93
- if (targets.length === 0)
94
- return null;
95
129
  return {
96
- operation: 'patch',
130
+ operation: PATCH_OPERATION,
97
131
  paths: targets.map(sendablePath),
98
- body: sendableText(patch, targets.some(isEnvFile)),
132
+ body: sendableText(targets.some(isEnvFile) ? withoutEnvPatchContents(patch) : patch),
99
133
  };
100
134
  };
101
- export const fileChangePreviewOf = (toolId, params) => {
135
+ const readablePreviewOf = (toolId, params) => {
102
136
  if (toolId === WRITE_TOOL)
103
137
  return writePreviewOf(params);
104
138
  if (toolId === EDIT_TOOL)
@@ -107,3 +141,13 @@ export const fileChangePreviewOf = (toolId, params) => {
107
141
  return patchPreviewOf(params);
108
142
  return null;
109
143
  };
144
+ const PATH_CHANGE_OPERATIONS = new Map([
145
+ [WRITE_TOOL, WRITE_OPERATION],
146
+ [EDIT_TOOL, EDIT_OPERATION],
147
+ ]);
148
+ const withheldEnvChangeOf = (toolId, params) => {
149
+ const operation = PATH_CHANGE_OPERATIONS.get(toolId);
150
+ const path = pathParameter(params);
151
+ return operation === undefined || path === undefined || !isEnvFile(path) ? null : { operation, paths: [sendablePath(path)], body: ENV_EDIT_HIDDEN };
152
+ };
153
+ export const fileChangePreviewOf = (toolId, params) => readablePreviewOf(toolId, params) ?? withheldEnvChangeOf(toolId, params);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushary/openclaw",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Phone approvals for OpenClaw. Pushary asks you before your AI agent runs a gated tool call, and blocks the call unless you approve it.",
5
5
  "author": "Pushary <business@pushary.com>",
6
6
  "homepage": "https://pushary.com/human-in-the-loop-openclaw",
@@ -4,15 +4,15 @@ import {
4
4
  } from "../chunk-WCVANKUD.js";
5
5
  import {
6
6
  readHookInput
7
- } from "../chunk-FLY6YDPE.js";
7
+ } from "../chunk-7JAEIKBV.js";
8
8
  import "../chunk-3EF7G5EV.js";
9
- import "../chunk-XOZ2IFFU.js";
10
- import "../chunk-G66WIAST.js";
11
- import "../chunk-OGB4QCB3.js";
9
+ import "../chunk-UH5NAPWL.js";
10
+ import "../chunk-WHB622LP.js";
11
+ import "../chunk-4I4HAPT5.js";
12
12
  import "../chunk-5TCLBCUO.js";
13
13
  import "../chunk-BMR66K6T.js";
14
- import "../chunk-ALRANF2G.js";
15
- import "../chunk-JIH55UHZ.js";
14
+ import "../chunk-QBDCKECQ.js";
15
+ import "../chunk-2SHPCEH6.js";
16
16
  import "../chunk-6UGVZTRA.js";
17
17
  import "../chunk-6NRFAP45.js";
18
18
  import "../chunk-YPY4YCIZ.js";
@@ -17,15 +17,15 @@ import "../chunk-CYTPQDQY.js";
17
17
  import {
18
18
  announceSubscriptionRequired,
19
19
  isDeferAnswer
20
- } from "../chunk-M2WLCRMX.js";
20
+ } from "../chunk-IQWMRFKD.js";
21
21
  import {
22
22
  claudeTranscriptPath,
23
23
  redactDraft,
24
24
  registerTranscript,
25
25
  registeredTranscriptEnabled,
26
26
  startDraftPublisher
27
- } from "../chunk-XOZ2IFFU.js";
28
- import "../chunk-G66WIAST.js";
27
+ } from "../chunk-UH5NAPWL.js";
28
+ import "../chunk-WHB622LP.js";
29
29
  import {
30
30
  ensureDaemonRunning
31
31
  } from "../chunk-5TCLBCUO.js";
@@ -44,14 +44,14 @@ import {
44
44
  removePendingCommand,
45
45
  reportEvent,
46
46
  savePendingCommand
47
- } from "../chunk-ALRANF2G.js";
47
+ } from "../chunk-QBDCKECQ.js";
48
48
  import {
49
49
  UNNAMED_ACTION,
50
50
  deriveToolTarget,
51
51
  describeStopFailure,
52
52
  describeToolCall,
53
53
  scopePathFor
54
- } from "../chunk-JIH55UHZ.js";
54
+ } from "../chunk-2SHPCEH6.js";
55
55
  import "../chunk-6UGVZTRA.js";
56
56
  import "../chunk-6NRFAP45.js";
57
57
  import "../chunk-YPY4YCIZ.js";
@@ -15,30 +15,30 @@ import {
15
15
  storedMacAppState,
16
16
  storedPusharyKeychainServices,
17
17
  waitForMacAppExit
18
- } from "../chunk-Q242EVCI.js";
18
+ } from "../chunk-WDU4LEEW.js";
19
19
  import {
20
20
  PUSHARY_SKILL_NAME,
21
21
  PUSHARY_SKILL_SOURCE,
22
22
  createGuards
23
23
  } from "../chunk-XR27HPYC.js";
24
- import "../chunk-Y6OGY2G4.js";
24
+ import "../chunk-KRI7BOND.js";
25
25
  import "../chunk-XCEN33UP.js";
26
26
  import {
27
27
  describeCliKeyRevocation,
28
28
  planCliKeyRevocations,
29
29
  readCliHeldKeys,
30
30
  revokeCliKeys
31
- } from "../chunk-PBKYOLKX.js";
31
+ } from "../chunk-REUFDG7O.js";
32
32
  import {
33
33
  isCursorPluginLeftover,
34
34
  releaseSoleGate,
35
35
  withoutPusharyCursorHooks
36
- } from "../chunk-YPSP7NZI.js";
36
+ } from "../chunk-KURQ4KMV.js";
37
37
  import {
38
38
  shortenHome,
39
39
  unregisterPluginLocation,
40
40
  vscodeSettingsTargets
41
- } from "../chunk-5C7TFCQH.js";
41
+ } from "../chunk-GA5T3WEB.js";
42
42
  import "../chunk-OYIN77HO.js";
43
43
  import {
44
44
  configFileHoldsMacAppKey,
@@ -47,7 +47,7 @@ import {
47
47
  pusharyKey,
48
48
  readMacAppAgentKey,
49
49
  setupReceiptKey
50
- } from "../chunk-HNESCLUJ.js";
50
+ } from "../chunk-6W6MZ53D.js";
51
51
  import "../chunk-EQF6SSQL.js";
52
52
  import {
53
53
  HERMES_CONFIG_FILE,
@@ -82,7 +82,7 @@ import {
82
82
  openCodePluginDir,
83
83
  openCodePluginFile,
84
84
  removeOpenCodeMcpServer
85
- } from "../chunk-5Y5ZB5GG.js";
85
+ } from "../chunk-BO4HRAY7.js";
86
86
  import {
87
87
  ansiPainter,
88
88
  useColor
@@ -102,7 +102,7 @@ import {
102
102
  removeCompatibleHooks,
103
103
  removeCompatibleMcpServer,
104
104
  serializeConfigDocument
105
- } from "../chunk-OGB4QCB3.js";
105
+ } from "../chunk-4I4HAPT5.js";
106
106
  import {
107
107
  disableDaemonService
108
108
  } from "../chunk-5TCLBCUO.js";
@@ -113,8 +113,8 @@ import {
113
113
  restoreHookTakeover,
114
114
  restoreMcpServer
115
115
  } from "../chunk-BMR66K6T.js";
116
- import "../chunk-ALRANF2G.js";
117
- import "../chunk-JIH55UHZ.js";
116
+ import "../chunk-QBDCKECQ.js";
117
+ import "../chunk-2SHPCEH6.js";
118
118
  import "../chunk-6UGVZTRA.js";
119
119
  import "../chunk-6NRFAP45.js";
120
120
  import {
@@ -5,15 +5,15 @@ import {
5
5
  import {
6
6
  askAgentQuestions,
7
7
  defersToNativeMode
8
- } from "../chunk-B2SZN2C7.js";
8
+ } from "../chunk-2NSPZZBJ.js";
9
9
  import {
10
10
  parseCodexHookInput,
11
11
  pushQuestionAndWait,
12
12
  scopeQuestionOf
13
- } from "../chunk-KWHADNCV.js";
13
+ } from "../chunk-5MWNWCCI.js";
14
14
  import {
15
15
  reportMachineDenial
16
- } from "../chunk-EPYNFHCW.js";
16
+ } from "../chunk-3XTH6EKH.js";
17
17
  import {
18
18
  isGatingMoment,
19
19
  recordKeylessMoment
@@ -23,15 +23,15 @@ import {
23
23
  } from "../chunk-RF7HGOBC.js";
24
24
  import {
25
25
  readHookInput
26
- } from "../chunk-FLY6YDPE.js";
26
+ } from "../chunk-7JAEIKBV.js";
27
27
  import "../chunk-3EF7G5EV.js";
28
28
  import {
29
29
  announceSubscriptionRequired,
30
30
  isDeferAnswer
31
- } from "../chunk-M2WLCRMX.js";
32
- import "../chunk-XOZ2IFFU.js";
33
- import "../chunk-G66WIAST.js";
34
- import "../chunk-OGB4QCB3.js";
31
+ } from "../chunk-IQWMRFKD.js";
32
+ import "../chunk-UH5NAPWL.js";
33
+ import "../chunk-WHB622LP.js";
34
+ import "../chunk-4I4HAPT5.js";
35
35
  import "../chunk-5TCLBCUO.js";
36
36
  import "../chunk-BMR66K6T.js";
37
37
  import {
@@ -64,7 +64,7 @@ import {
64
64
  toPolicyLookup,
65
65
  toPolicyLookups,
66
66
  userScope
67
- } from "../chunk-ALRANF2G.js";
67
+ } from "../chunk-QBDCKECQ.js";
68
68
  import {
69
69
  codexReviewerDenialsSince,
70
70
  deriveActionBody,
@@ -77,7 +77,7 @@ import {
77
77
  scanCodexGuardianReviews,
78
78
  scopePathFor,
79
79
  sessionIdentityOf
80
- } from "../chunk-JIH55UHZ.js";
80
+ } from "../chunk-2SHPCEH6.js";
81
81
  import "../chunk-6UGVZTRA.js";
82
82
  import "../chunk-6NRFAP45.js";
83
83
  import "../chunk-YPY4YCIZ.js";
@@ -822,7 +822,7 @@ var decidePreToolUse = async (input) => {
822
822
  };
823
823
  var repairCodexHoldsQuietly = async () => {
824
824
  try {
825
- const { repairCodexHolds } = await import("../reapply-L7QUIQXK.js");
825
+ const { repairCodexHolds } = await import("../reapply-5ZNMLEKV.js");
826
826
  repairCodexHolds();
827
827
  } catch {
828
828
  return;
@@ -19,7 +19,7 @@ var desktopAccount = async () => {
19
19
  return null;
20
20
  }
21
21
  };
22
- var desktopLaunch = await import("../codex-desktop-launch-K4GU2NFZ.js").catch(() => null);
22
+ var desktopLaunch = await import("../codex-desktop-launch-A6GX6F54.js").catch(() => null);
23
23
  if (desktopLaunch === null && appBehindTheProxy !== void 0) {
24
24
  process.exitCode = await letCodexRunWithoutPushary(appBehindTheProxy, args.slice(3));
25
25
  } else {
@@ -27,7 +27,7 @@ if (desktopLaunch === null && appBehindTheProxy !== void 0) {
27
27
  const stop = () => abort.abort();
28
28
  if (!args[0]?.startsWith("--desktop")) for (const signal of ["SIGINT", "SIGTERM", "SIGHUP"]) process.on(signal, stop);
29
29
  try {
30
- const { codexDesktopCommand } = desktopLaunch ?? await import("../codex-desktop-launch-K4GU2NFZ.js");
30
+ const { codexDesktopCommand } = desktopLaunch ?? await import("../codex-desktop-launch-A6GX6F54.js");
31
31
  const desktop = await codexDesktopCommand(args, [process.execPath, ...process.execArgv, process.argv[1], "codex"], desktopAccount);
32
32
  if (desktop !== null) process.exitCode = desktop;
33
33
  else {
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  reportEvent
4
- } from "../chunk-ALRANF2G.js";
5
- import "../chunk-JIH55UHZ.js";
4
+ } from "../chunk-QBDCKECQ.js";
5
+ import "../chunk-2SHPCEH6.js";
6
6
  import "../chunk-UJJ2OXFA.js";
7
7
  import {
8
8
  askUser,
@@ -21,17 +21,17 @@ import "../chunk-CAZ5FMWP.js";
21
21
  import "../chunk-RF35YTIF.js";
22
22
  import {
23
23
  detectedAgentChoices
24
- } from "../chunk-5C7TFCQH.js";
24
+ } from "../chunk-GA5T3WEB.js";
25
25
  import "../chunk-OYIN77HO.js";
26
26
  import {
27
27
  CONNECTED_THROUGH_MAC_APP,
28
28
  PAIR_FROM_MAC_APP,
29
29
  readMacAppConnection
30
- } from "../chunk-HNESCLUJ.js";
30
+ } from "../chunk-6W6MZ53D.js";
31
31
  import "../chunk-EQF6SSQL.js";
32
32
  import "../chunk-QCGNGEGE.js";
33
33
  import "../chunk-HXX4EFK3.js";
34
- import "../chunk-5Y5ZB5GG.js";
34
+ import "../chunk-BO4HRAY7.js";
35
35
  import {
36
36
  ciMarker,
37
37
  createIo,
@@ -41,10 +41,10 @@ import {
41
41
  exitOnHelpFlag
42
42
  } from "../chunk-MGT2V2AB.js";
43
43
  import "../chunk-CYTPQDQY.js";
44
- import "../chunk-OGB4QCB3.js";
44
+ import "../chunk-4I4HAPT5.js";
45
45
  import "../chunk-BMR66K6T.js";
46
- import "../chunk-ALRANF2G.js";
47
- import "../chunk-JIH55UHZ.js";
46
+ import "../chunk-QBDCKECQ.js";
47
+ import "../chunk-2SHPCEH6.js";
48
48
  import "../chunk-6UGVZTRA.js";
49
49
  import "../chunk-6NRFAP45.js";
50
50
  import {
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  inspectConfiguredManagedProviders
4
- } from "../chunk-XZ7AZOUT.js";
4
+ } from "../chunk-C74JHUD3.js";
5
5
  import {
6
6
  readHookWiring,
7
7
  readHookWiringSafely
8
- } from "../chunk-RALCZD2Z.js";
8
+ } from "../chunk-O2DJWDVK.js";
9
9
  import "../chunk-WSPDIT2B.js";
10
10
  import "../chunk-WDCS3RGI.js";
11
11
  import {
@@ -32,7 +32,7 @@ import "../chunk-HXX4EFK3.js";
32
32
  import "../chunk-S6DJAYQW.js";
33
33
  import "../chunk-2N23JFER.js";
34
34
  import "../chunk-DDSMTD4W.js";
35
- import "../chunk-5Y5ZB5GG.js";
35
+ import "../chunk-BO4HRAY7.js";
36
36
  import {
37
37
  exitOnHelpFlag
38
38
  } from "../chunk-MGT2V2AB.js";
@@ -61,9 +61,9 @@ import {
61
61
  import "../chunk-3EF7G5EV.js";
62
62
  import {
63
63
  startRegisteredTranscripts
64
- } from "../chunk-XOZ2IFFU.js";
65
- import "../chunk-G66WIAST.js";
66
- import "../chunk-OGB4QCB3.js";
64
+ } from "../chunk-UH5NAPWL.js";
65
+ import "../chunk-WHB622LP.js";
66
+ import "../chunk-4I4HAPT5.js";
67
67
  import {
68
68
  DAEMON_LEASE_RENEW_INTERVAL_MS,
69
69
  DAEMON_YIELD_CHECK_INTERVAL_MS,
@@ -89,8 +89,8 @@ import {
89
89
  markPendingCommandRefused,
90
90
  pendingCommandReceipts,
91
91
  removePendingCommand
92
- } from "../chunk-ALRANF2G.js";
93
- import "../chunk-JIH55UHZ.js";
92
+ } from "../chunk-QBDCKECQ.js";
93
+ import "../chunk-2SHPCEH6.js";
94
94
  import "../chunk-6UGVZTRA.js";
95
95
  import "../chunk-6NRFAP45.js";
96
96
  import "../chunk-YPY4YCIZ.js";
@@ -7,7 +7,7 @@ import {
7
7
  isCursorPluginLeftover,
8
8
  isPusharyCursorPluginManifest,
9
9
  releaseSoleGate
10
- } from "../chunk-YPSP7NZI.js";
10
+ } from "../chunk-KURQ4KMV.js";
11
11
  import {
12
12
  planFxRemoval,
13
13
  removeClineServer
@@ -25,7 +25,7 @@ import {
25
25
  openCodePluginDir,
26
26
  openCodePluginFile,
27
27
  removeOpenCodeMcpServer
28
- } from "../chunk-5Y5ZB5GG.js";
28
+ } from "../chunk-BO4HRAY7.js";
29
29
  import {
30
30
  exitOnHelpFlag
31
31
  } from "../chunk-MGT2V2AB.js";
@@ -38,12 +38,12 @@ import {
38
38
  isEmptiedPusharyOwnedDocument,
39
39
  removeCompatibleHooks,
40
40
  removeCompatibleMcpServer
41
- } from "../chunk-OGB4QCB3.js";
41
+ } from "../chunk-4I4HAPT5.js";
42
42
  import {
43
43
  removeGeminiSettings
44
44
  } from "../chunk-BMR66K6T.js";
45
- import "../chunk-ALRANF2G.js";
46
- import "../chunk-JIH55UHZ.js";
45
+ import "../chunk-QBDCKECQ.js";
46
+ import "../chunk-2SHPCEH6.js";
47
47
  import "../chunk-6UGVZTRA.js";
48
48
  import "../chunk-6NRFAP45.js";
49
49
  import {
@@ -7520,7 +7520,7 @@ var PLAN_CONFIGS = {
7520
7520
  subscribers: 5,
7521
7521
  notifications: Infinity,
7522
7522
  sites: 1,
7523
- members: 5,
7523
+ members: 1,
7524
7524
  campaigns: 0,
7525
7525
  dataRetentionDays: 90,
7526
7526
  sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.pro
@@ -61,13 +61,13 @@ import {
61
61
  isPluginRegistered,
62
62
  shortenHome,
63
63
  vscodeSettingsTargets
64
- } from "../chunk-5C7TFCQH.js";
64
+ } from "../chunk-GA5T3WEB.js";
65
65
  import "../chunk-OYIN77HO.js";
66
66
  import {
67
67
  CONNECTED_THROUGH_MAC_APP,
68
68
  keyWrittenByMacApp,
69
69
  readMacAppConnectionWhenKeyless
70
- } from "../chunk-HNESCLUJ.js";
70
+ } from "../chunk-6W6MZ53D.js";
71
71
  import {
72
72
  keyScopeOf,
73
73
  pushWindowChangeStep
@@ -115,7 +115,7 @@ import {
115
115
  openCodePluginDir,
116
116
  openCodePluginFile,
117
117
  openCodeWired
118
- } from "../chunk-5Y5ZB5GG.js";
118
+ } from "../chunk-BO4HRAY7.js";
119
119
  import {
120
120
  createIo
121
121
  } from "../chunk-UOVTXOSS.js";
@@ -149,7 +149,7 @@ import {
149
149
  hasCompatibleHooks,
150
150
  hasCompatibleMcpServer,
151
151
  missingCompatibleHookEvents
152
- } from "../chunk-OGB4QCB3.js";
152
+ } from "../chunk-4I4HAPT5.js";
153
153
  import {
154
154
  daemonHasRemoteProof,
155
155
  daemonServiceManagerAvailable,
@@ -183,8 +183,8 @@ import {
183
183
  missingGeminiHookEvents,
184
184
  pusharyHookExecutable
185
185
  } from "../chunk-BMR66K6T.js";
186
- import "../chunk-ALRANF2G.js";
187
- import "../chunk-JIH55UHZ.js";
186
+ import "../chunk-QBDCKECQ.js";
187
+ import "../chunk-2SHPCEH6.js";
188
188
  import "../chunk-6UGVZTRA.js";
189
189
  import "../chunk-6NRFAP45.js";
190
190
  import {
@@ -1,19 +1,19 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readHookInput
4
- } from "../chunk-FLY6YDPE.js";
4
+ } from "../chunk-7JAEIKBV.js";
5
5
  import "../chunk-3EF7G5EV.js";
6
6
  import {
7
7
  announceSubscriptionRequired,
8
8
  isDeferAnswer
9
- } from "../chunk-M2WLCRMX.js";
10
- import "../chunk-XOZ2IFFU.js";
11
- import "../chunk-G66WIAST.js";
12
- import "../chunk-OGB4QCB3.js";
9
+ } from "../chunk-IQWMRFKD.js";
10
+ import "../chunk-UH5NAPWL.js";
11
+ import "../chunk-WHB622LP.js";
12
+ import "../chunk-4I4HAPT5.js";
13
13
  import "../chunk-5TCLBCUO.js";
14
14
  import "../chunk-BMR66K6T.js";
15
- import "../chunk-ALRANF2G.js";
16
- import "../chunk-JIH55UHZ.js";
15
+ import "../chunk-QBDCKECQ.js";
16
+ import "../chunk-2SHPCEH6.js";
17
17
  import "../chunk-6UGVZTRA.js";
18
18
  import "../chunk-6NRFAP45.js";
19
19
  import "../chunk-YPY4YCIZ.js";