opencrater 0.1.5 → 0.1.6

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 (2) hide show
  1. package/cli.js +5 -1
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -201,7 +201,11 @@ function showAgain() {
201
201
  // our own terminal's device (we are running interactively)
202
202
  const tty = spawnSync("tty", { stdio: ["inherit", "pipe", "ignore"], encoding: "utf8" })
203
203
  .stdout?.trim();
204
- const env = { ...process.env, OPENCRATER_PAINT: JSON.stringify(saved.payload) };
204
+ // Replay: live (local), but never re-poll or re-record the original
205
+ // impression — it was already dismissed once.
206
+ const payload = { ...saved.payload, replay: true };
207
+ delete payload.impressionId;
208
+ const env = { ...process.env, OPENCRATER_PAINT: JSON.stringify(payload) };
205
209
  if (tty && tty.startsWith("/dev/")) env.OPENCRATER_TTY = tty;
206
210
  const child = spawn(process.execPath, [painter], { detached: true, stdio: "ignore", env });
207
211
  child.unref();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencrater",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "OpenCrater — sponsor cards in Claude Code and Codex. Free, one command, opt out anytime.",
5
5
  "keywords": [
6
6
  "opencrater",