@cabane/companion 0.6.23 → 0.6.24

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/cli.js CHANGED
@@ -8235,7 +8235,8 @@ var SseSubscriber = class {
8235
8235
  }
8236
8236
  async connect() {
8237
8237
  const base = this.opts.baseUrl.endsWith("/") ? this.opts.baseUrl.slice(0, -1) : this.opts.baseUrl;
8238
- const url = `${base}/api/workspaces/${this.opts.workspaceId}/events`;
8238
+ const query = this.lastEventId ? "" : "?replayPending=1";
8239
+ const url = `${base}/api/workspaces/${this.opts.workspaceId}/events${query}`;
8239
8240
  this.controller = new AbortController();
8240
8241
  const headers = {
8241
8242
  Authorization: `Bearer ${this.opts.token}`,
package/dist/runtime.js CHANGED
@@ -7854,7 +7854,8 @@ var SseSubscriber = class {
7854
7854
  }
7855
7855
  async connect() {
7856
7856
  const base = this.opts.baseUrl.endsWith("/") ? this.opts.baseUrl.slice(0, -1) : this.opts.baseUrl;
7857
- const url = `${base}/api/workspaces/${this.opts.workspaceId}/events`;
7857
+ const query = this.lastEventId ? "" : "?replayPending=1";
7858
+ const url = `${base}/api/workspaces/${this.opts.workspaceId}/events${query}`;
7858
7859
  this.controller = new AbortController();
7859
7860
  const headers = {
7860
7861
  Authorization: `Bearer ${this.opts.token}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabane/companion",
3
- "version": "0.6.23",
3
+ "version": "0.6.24",
4
4
  "type": "module",
5
5
  "description": "The Cabane Companion (headless): connect a coding agent on your machine to your Cabane workspace as a responder — drive work against your own codebase, files, and MCP servers without putting any of it in Cabane.",
6
6
  "license": "UNLICENSED",