@posthog/agent 2.3.703 → 2.3.727

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.
@@ -9471,7 +9471,7 @@ var import_zod4 = require("zod");
9471
9471
  // package.json
9472
9472
  var package_default = {
9473
9473
  name: "@posthog/agent",
9474
- version: "2.3.703",
9474
+ version: "2.3.727",
9475
9475
  repository: "https://github.com/PostHog/code",
9476
9476
  description: "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
9477
9477
  exports: {
@@ -21763,6 +21763,9 @@ function resolveGatewayProduct({
21763
21763
  isInternal,
21764
21764
  originProduct
21765
21765
  } = {}) {
21766
+ if (originProduct === "slack") {
21767
+ return "slack_app";
21768
+ }
21766
21769
  if (isInternal) {
21767
21770
  return originProduct === "signal_report" ? "signals" : "background_agents";
21768
21771
  }
@@ -24153,6 +24156,7 @@ var AgentServer = class {
24153
24156
  this.configureEnvironment({
24154
24157
  isInternal: preTask?.internal === true,
24155
24158
  originProduct: preTask?.origin_product,
24159
+ signalReportId: preTask?.signal_report,
24156
24160
  taskId: payload.task_id,
24157
24161
  taskRunId: payload.run_id,
24158
24162
  taskUserId: payload.user_id
@@ -24915,6 +24919,7 @@ ${signedCommitInstructions}
24915
24919
  configureEnvironment({
24916
24920
  isInternal = false,
24917
24921
  originProduct,
24922
+ signalReportId,
24918
24923
  taskId,
24919
24924
  taskRunId,
24920
24925
  taskUserId
@@ -24926,6 +24931,7 @@ ${signedCommitInstructions}
24926
24931
  const customHeaders = buildGatewayPropertyHeaders({
24927
24932
  task_origin_product: originProduct,
24928
24933
  task_internal: isInternal,
24934
+ signal_report_id: signalReportId,
24929
24935
  task_id: taskId,
24930
24936
  task_run_id: taskRunId,
24931
24937
  task_user_id: taskUserId