@tempoxyz/patron 0.0.10 → 0.0.11

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/dist/bin.js CHANGED
@@ -4,10 +4,10 @@ const require = __patronCreateRequire(import.meta.url)
4
4
 
5
5
  // src/bin.ts
6
6
  if (process.argv[2] === "hook") {
7
- const { runHookProcess } = await import("./chunks/hook-process-ZBZ3WF5I.js");
7
+ const { runHookProcess } = await import("./chunks/hook-process-SIOU4SZZ.js");
8
8
  await runHookProcess().catch(() => void 0);
9
9
  process.exit(0);
10
10
  } else {
11
- const { run } = await import("./chunks/-SRYAMUCC.js");
11
+ const { run } = await import("./chunks/-E6NINF53.js");
12
12
  process.exitCode = await run(process.argv.slice(2));
13
13
  }
@@ -38,7 +38,7 @@ import {
38
38
  withPatronGroup,
39
39
  withoutPatronHandlers,
40
40
  writeJsonObject
41
- } from "./chunk-DEUBVELW.js";
41
+ } from "./chunk-G2PONYHX.js";
42
42
  import {
43
43
  AGENT_IDS,
44
44
  ensureHome,
@@ -35787,8 +35787,18 @@ function codexPaths(env, home) {
35787
35787
  function withCodexStopHook(settings, command) {
35788
35788
  return withPatronGroup(settings, EVENT, stopGroup(command));
35789
35789
  }
35790
+ var CODEX_HOOK_STATUS = "Patron: pay the sites this turn read";
35790
35791
  function stopGroup(command) {
35791
- return { hooks: [{ command, timeout: HOOK_TIMEOUT_SECONDS, type: "command" }] };
35792
+ return {
35793
+ hooks: [
35794
+ {
35795
+ command,
35796
+ statusMessage: CODEX_HOOK_STATUS,
35797
+ timeout: HOOK_TIMEOUT_SECONDS,
35798
+ type: "command"
35799
+ }
35800
+ ]
35801
+ };
35792
35802
  }
35793
35803
  function hasStopGroup(settings, command) {
35794
35804
  const groups = isObject2(settings.hooks) ? settings.hooks[EVENT] : void 0;
@@ -12,7 +12,7 @@ import {
12
12
  settingsFor,
13
13
  spend,
14
14
  startRefill
15
- } from "./chunk-DEUBVELW.js";
15
+ } from "./chunk-G2PONYHX.js";
16
16
  import {
17
17
  readConfig,
18
18
  readUsage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempoxyz/patron",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "Pay the websites your AI agents read, privately",
5
5
  "type": "module",
6
6
  "bin": {