worktrust 0.6.0 → 0.6.1

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/README.md CHANGED
@@ -4,7 +4,7 @@ Couple a computer to [WorkTrust](https://worktrust.io) in one command. WorkTrust
4
4
  record of the work you do with AI without anyone reading that work: it receives metadata only.
5
5
 
6
6
  ```
7
- npx worktrust
7
+ npx worktrust@latest
8
8
  ```
9
9
 
10
10
  **The only official package** is `worktrust`, published by the npm account **worktrustio** with
package/log-session.mjs CHANGED
@@ -753,7 +753,7 @@ if (flag("install")) {
753
753
  // Codex has no settings.json to wire; its notify hook is one line in config.toml, added by hand so
754
754
  // this script never rewrites a TOML file it did not create. Without it, Codex rollouts are still
755
755
  // swept whenever the Claude Code hook runs.
756
- if (existsSync(join(homedir(), ".codex"))) console.log(`codex: to have Codex wake this hook too, add to ~/.codex/config.toml:\n notify = ${via ? `["${process.execPath}", "${via}", "hook", "--codex-notify"]` : `["node", "${home}", "--codex-notify"]`}\n (its rollouts are swept on every run either way)`);
756
+ if (existsSync(join(homedir(), ".codex"))) console.log(`codex: to have Codex wake this hook too, add to ~/.codex/config.toml:\n notify = ${via ? `["${process.env.WORKTRUST_NODE || process.execPath}", "${via}", "hook", "--codex-notify"]` : `["node", "${home}", "--codex-notify"]`}\n (its rollouts are swept on every run either way)`);
757
757
  process.exit(0);
758
758
  }
759
759
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worktrust",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Couple this computer to WorkTrust: approve a code in your browser, and every AI app here reports what you built. Metadata only, no dependencies.",
5
5
  "type": "module",
6
6
  "bin": {