@posthog/agent 2.3.286 → 2.3.293

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.
@@ -5805,7 +5805,7 @@ var import_hono = require("hono");
5805
5805
  // package.json
5806
5806
  var package_default = {
5807
5807
  name: "@posthog/agent",
5808
- version: "2.3.286",
5808
+ version: "2.3.293",
5809
5809
  repository: "https://github.com/PostHog/code",
5810
5810
  description: "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
5811
5811
  exports: {
@@ -13297,12 +13297,13 @@ ${toolSummary}`);
13297
13297
  return process.env.POSTHOG_CODE_INTERACTION_ORIGIN ?? process.env.CODE_INTERACTION_ORIGIN ?? process.env.TWIG_INTERACTION_ORIGIN;
13298
13298
  }
13299
13299
  /**
13300
- * Slack-origin cloud runs auto-publish by default. Every other origin is
13300
+ * Automated-origin cloud runs auto-publish by default. Every other origin is
13301
13301
  * review-first unless the user explicitly asks, and createPr=false always
13302
13302
  * disables publishing.
13303
13303
  */
13304
13304
  shouldAutoPublishCloudChanges() {
13305
- return this.getCloudInteractionOrigin() === "slack" && this.config.createPr !== false;
13305
+ const origin = this.getCloudInteractionOrigin();
13306
+ return (origin === "slack" || origin === "signal_report") && this.config.createPr !== false;
13306
13307
  }
13307
13308
  buildDetectedPrContext(prUrl) {
13308
13309
  if (!this.shouldAutoPublishCloudChanges()) {