@cat-factory/integrations 0.143.1 → 0.145.0

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 (82) hide show
  1. package/dist/modules/environments/EnvironmentConnectionService.d.ts +16 -1
  2. package/dist/modules/environments/EnvironmentConnectionService.d.ts.map +1 -1
  3. package/dist/modules/environments/EnvironmentConnectionService.js +24 -4
  4. package/dist/modules/environments/EnvironmentConnectionService.js.map +1 -1
  5. package/dist/modules/environments/EnvironmentProvisioningService.d.ts +18 -1
  6. package/dist/modules/environments/EnvironmentProvisioningService.d.ts.map +1 -1
  7. package/dist/modules/environments/EnvironmentProvisioningService.js +36 -14
  8. package/dist/modules/environments/EnvironmentProvisioningService.js.map +1 -1
  9. package/dist/modules/environments/EnvironmentTeardownService.d.ts +21 -1
  10. package/dist/modules/environments/EnvironmentTeardownService.d.ts.map +1 -1
  11. package/dist/modules/environments/EnvironmentTeardownService.js +25 -5
  12. package/dist/modules/environments/EnvironmentTeardownService.js.map +1 -1
  13. package/dist/modules/incidentEnrichment/WorkspaceIncidentEnrichmentProvider.d.ts +14 -2
  14. package/dist/modules/incidentEnrichment/WorkspaceIncidentEnrichmentProvider.d.ts.map +1 -1
  15. package/dist/modules/incidentEnrichment/WorkspaceIncidentEnrichmentProvider.js +21 -6
  16. package/dist/modules/incidentEnrichment/WorkspaceIncidentEnrichmentProvider.js.map +1 -1
  17. package/dist/modules/notificationWebhook/NotificationWebhookService.d.ts +9 -7
  18. package/dist/modules/notificationWebhook/NotificationWebhookService.d.ts.map +1 -1
  19. package/dist/modules/notificationWebhook/NotificationWebhookService.js +57 -12
  20. package/dist/modules/notificationWebhook/NotificationWebhookService.js.map +1 -1
  21. package/dist/modules/notificationWebhook/WebhookNotificationChannel.d.ts +2 -0
  22. package/dist/modules/notificationWebhook/WebhookNotificationChannel.d.ts.map +1 -1
  23. package/dist/modules/notificationWebhook/WebhookNotificationChannel.js +29 -22
  24. package/dist/modules/notificationWebhook/WebhookNotificationChannel.js.map +1 -1
  25. package/dist/modules/notificationWebhook/WebhookPlatformAlertSink.d.ts +1 -0
  26. package/dist/modules/notificationWebhook/WebhookPlatformAlertSink.d.ts.map +1 -1
  27. package/dist/modules/notificationWebhook/WebhookPlatformAlertSink.js +10 -11
  28. package/dist/modules/notificationWebhook/WebhookPlatformAlertSink.js.map +1 -1
  29. package/dist/modules/notificationWebhook/WebhookRunLifecycleSink.d.ts +1 -0
  30. package/dist/modules/notificationWebhook/WebhookRunLifecycleSink.d.ts.map +1 -1
  31. package/dist/modules/notificationWebhook/WebhookRunLifecycleSink.js +12 -11
  32. package/dist/modules/notificationWebhook/WebhookRunLifecycleSink.js.map +1 -1
  33. package/dist/modules/notificationWebhook/signedDelivery.d.ts +56 -0
  34. package/dist/modules/notificationWebhook/signedDelivery.d.ts.map +1 -1
  35. package/dist/modules/notificationWebhook/signedDelivery.js +114 -12
  36. package/dist/modules/notificationWebhook/signedDelivery.js.map +1 -1
  37. package/dist/modules/notificationWebhook/support.d.ts +3 -0
  38. package/dist/modules/notificationWebhook/support.d.ts.map +1 -1
  39. package/dist/modules/notificationWebhook/support.js.map +1 -1
  40. package/dist/modules/observability/RegistryReleaseHealthProvider.d.ts +8 -1
  41. package/dist/modules/observability/RegistryReleaseHealthProvider.d.ts.map +1 -1
  42. package/dist/modules/observability/RegistryReleaseHealthProvider.js +7 -1
  43. package/dist/modules/observability/RegistryReleaseHealthProvider.js.map +1 -1
  44. package/dist/modules/tasks/BugHuntService.d.ts.map +1 -1
  45. package/dist/modules/tasks/BugHuntService.js +25 -17
  46. package/dist/modules/tasks/BugHuntService.js.map +1 -1
  47. package/dist/modules/tasks/GitLabIssuesProvider.d.ts +52 -1
  48. package/dist/modules/tasks/GitLabIssuesProvider.d.ts.map +1 -1
  49. package/dist/modules/tasks/GitLabIssuesProvider.js +122 -4
  50. package/dist/modules/tasks/GitLabIssuesProvider.js.map +1 -1
  51. package/dist/modules/tasks/LinearTaskProvider.d.ts +5 -0
  52. package/dist/modules/tasks/LinearTaskProvider.d.ts.map +1 -1
  53. package/dist/modules/tasks/LinearTaskProvider.js +5 -0
  54. package/dist/modules/tasks/LinearTaskProvider.js.map +1 -1
  55. package/dist/modules/tasks/TaskConnectionService.d.ts.map +1 -1
  56. package/dist/modules/tasks/TaskConnectionService.js +4 -0
  57. package/dist/modules/tasks/TaskConnectionService.js.map +1 -1
  58. package/dist/modules/tasks/github-issues.logic.d.ts +8 -12
  59. package/dist/modules/tasks/github-issues.logic.d.ts.map +1 -1
  60. package/dist/modules/tasks/github-issues.logic.js +7 -32
  61. package/dist/modules/tasks/github-issues.logic.js.map +1 -1
  62. package/dist/modules/tasks/gitlab-issues.logic.d.ts +56 -1
  63. package/dist/modules/tasks/gitlab-issues.logic.d.ts.map +1 -1
  64. package/dist/modules/tasks/gitlab-issues.logic.js +67 -0
  65. package/dist/modules/tasks/gitlab-issues.logic.js.map +1 -1
  66. package/dist/modules/tasks/intakeMatch.logic.js +7 -0
  67. package/dist/modules/tasks/intakeMatch.logic.js.map +1 -1
  68. package/dist/modules/tasks/jira.logic.d.ts.map +1 -1
  69. package/dist/modules/tasks/jira.logic.js +1 -2
  70. package/dist/modules/tasks/jira.logic.js.map +1 -1
  71. package/dist/modules/tasks/linear.logic.d.ts.map +1 -1
  72. package/dist/modules/tasks/linear.logic.js +1 -2
  73. package/dist/modules/tasks/linear.logic.js.map +1 -1
  74. package/dist/modules/tasks/repo-issues.logic.d.ts +28 -0
  75. package/dist/modules/tasks/repo-issues.logic.d.ts.map +1 -0
  76. package/dist/modules/tasks/repo-issues.logic.js +58 -0
  77. package/dist/modules/tasks/repo-issues.logic.js.map +1 -0
  78. package/dist/modules/tasks/tasks.logic.d.ts +6 -0
  79. package/dist/modules/tasks/tasks.logic.d.ts.map +1 -1
  80. package/dist/modules/tasks/tasks.logic.js +6 -0
  81. package/dist/modules/tasks/tasks.logic.js.map +1 -1
  82. package/package.json +4 -4
@@ -8,6 +8,12 @@ export { renderTaskContext } from '@cat-factory/kernel';
8
8
  /** A trivial in-memory provider registry built from the wired providers. */
9
9
  export class MapTaskSourceRegistry extends MapSourceRegistry {
10
10
  }
11
+ /**
12
+ * Cap on a bug-hunt candidate's rendered body, shared by EVERY source's candidate mapper: the
13
+ * ranking judges actionability rather than the full trace, and a per-source cap would silently
14
+ * hand the model more of one tracker's bugs than another's to reason about.
15
+ */
16
+ export const MAX_CANDIDATE_DESCRIPTION_CHARS = 1_200;
11
17
  /** A short plain-text excerpt of an issue: its summary + the start of its description. */
12
18
  export function buildTaskExcerpt(content, max = 280) {
13
19
  const description = markdownToText(content.description);
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.logic.js","sourceRoot":"","sources":["../../../src/modules/tasks/tasks.logic.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAGrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,0EAA0E;AAC1E,gFAAgF;AAChF,kFAAkF;AAClF,yEAAyE;AACzE,sEAAsE;AAEtE,4EAA4E;AAC5E,MAAM,OAAO,qBACX,SAAQ,iBAAqD;CAC7B;AAElC,0FAA0F;AAC1F,MAAM,UAAU,gBAAgB,CAAC,OAAiC,EAAE,GAAG,GAAG,GAAG;IAC3E,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;IACvD,MAAM,IAAI,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,KAAK,MAAM,WAAW,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAA;IAC9E,OAAO,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;AAChC,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,eAAe,CAC7B,MAAiD,EACjD,KAA0B,EAC1B,QAAwC;IAExC,MAAM,KAAK,GAAG,QAAQ,EAAE,SAA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AcG;AACH,MAAM,UAAU,eAAe,CAC7B,MAAiD,EACjD,KAA0B,EAC1B,QAAwC;IAExC,MAAM,KAAK,GAAG,QAAQ,EAAE,SAAS,CAAA;IACjC,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAA;IACvB,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,CAAA;AAChD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,GAAY;IACvC,IAAI,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,QAAQ,IAAI,GAAG,EAAE,CAAC;QACtD,MAAM,MAAM,GAAI,GAA2B,CAAC,MAAM,CAAA;QAClD,IAAI,OAAO,MAAM,KAAK,QAAQ;YAAE,OAAO,MAAM,CAAA;IAC/C,CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/integrations",
3
- "version": "0.143.1",
3
+ "version": "0.145.0",
4
4
  "description": "External-system integration domain logic for the Agent Architecture Board (GitHub, documents, tasks, environments, runners).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,15 +27,15 @@
27
27
  "ai": "^7.0.51",
28
28
  "p-map": "^7.0.6",
29
29
  "yaml": "^2.9.0",
30
- "@cat-factory/contracts": "0.267.0",
31
- "@cat-factory/kernel": "0.265.0"
30
+ "@cat-factory/contracts": "0.269.0",
31
+ "@cat-factory/kernel": "0.267.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "typescript": "7.0.2",
35
35
  "undici": "^8.10.0",
36
36
  "valibot": "^1.4.2",
37
37
  "vitest": "^4.1.10",
38
- "@cat-factory/caching": "0.18.6"
38
+ "@cat-factory/caching": "0.18.8"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsc -b tsconfig.build.json",