@nopeek/agent-bridge 0.8.1 → 0.8.2

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/dist/brain.js +5 -0
  2. package/package.json +1 -1
package/dist/brain.js CHANGED
@@ -40,6 +40,11 @@ function cmdBrain(cmd, timeoutMs) {
40
40
  NOPEEK_BOT_USER_ID: ctx.botUserId,
41
41
  NOPEEK_CHANNEL_ID: ctx.channelId,
42
42
  NOPEEK_SENDER_USER_ID: ctx.senderUserId,
43
+ // Full transcript of this chat on disk. A cmd brain gets the recent
44
+ // window inline in the prompt like every other brain, but without
45
+ // this it has no way to look FURTHER back — which is the whole point
46
+ // of writing the file.
47
+ ...(ctx.transcriptFile ? { NOPEEK_TRANSCRIPT: ctx.transcriptFile } : {}),
43
48
  ...(ctx.files?.length ? { NOPEEK_FILES: JSON.stringify(ctx.files) } : {}),
44
49
  },
45
50
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nopeek/agent-bridge",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Run your own agents as E2EE NoPeek bots. Pairs with one-time codes (multiple accounts per computer), runs every bot each account owns, and pipes messages to any command or webhook.",
5
5
  "type": "module",
6
6
  "license": "MIT",