cyrus-core 0.2.2 → 0.2.4

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 (46) hide show
  1. package/dist/CyrusAgentSession.d.ts +11 -8
  2. package/dist/CyrusAgentSession.d.ts.map +1 -1
  3. package/dist/CyrusAgentSession.js +1 -1
  4. package/dist/StreamingPrompt.d.ts +21 -0
  5. package/dist/StreamingPrompt.d.ts.map +1 -0
  6. package/dist/StreamingPrompt.js +76 -0
  7. package/dist/StreamingPrompt.js.map +1 -0
  8. package/dist/agent-runner-types.d.ts +324 -0
  9. package/dist/agent-runner-types.d.ts.map +1 -0
  10. package/dist/agent-runner-types.js +2 -0
  11. package/dist/agent-runner-types.js.map +1 -0
  12. package/dist/config-types.d.ts +4 -1
  13. package/dist/config-types.d.ts.map +1 -1
  14. package/dist/index.d.ts +5 -2
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +5 -1
  17. package/dist/index.js.map +1 -1
  18. package/dist/issue-tracker/AgentEvent.d.ts +134 -0
  19. package/dist/issue-tracker/AgentEvent.d.ts.map +1 -0
  20. package/dist/issue-tracker/AgentEvent.js +109 -0
  21. package/dist/issue-tracker/AgentEvent.js.map +1 -0
  22. package/dist/issue-tracker/IAgentEventTransport.d.ts +146 -0
  23. package/dist/issue-tracker/IAgentEventTransport.d.ts.map +1 -0
  24. package/dist/issue-tracker/IAgentEventTransport.js +12 -0
  25. package/dist/issue-tracker/IAgentEventTransport.js.map +1 -0
  26. package/dist/issue-tracker/IIssueTrackerService.d.ts +692 -0
  27. package/dist/issue-tracker/IIssueTrackerService.d.ts.map +1 -0
  28. package/dist/issue-tracker/IIssueTrackerService.js +11 -0
  29. package/dist/issue-tracker/IIssueTrackerService.js.map +1 -0
  30. package/dist/issue-tracker/index.d.ts +59 -0
  31. package/dist/issue-tracker/index.d.ts.map +1 -0
  32. package/dist/issue-tracker/index.js +61 -0
  33. package/dist/issue-tracker/index.js.map +1 -0
  34. package/dist/issue-tracker/types.d.ts +499 -0
  35. package/dist/issue-tracker/types.d.ts.map +1 -0
  36. package/dist/issue-tracker/types.js +123 -0
  37. package/dist/issue-tracker/types.js.map +1 -0
  38. package/dist/simple-agent-runner-types.d.ts +206 -0
  39. package/dist/simple-agent-runner-types.d.ts.map +1 -0
  40. package/dist/simple-agent-runner-types.js +2 -0
  41. package/dist/simple-agent-runner-types.js.map +1 -0
  42. package/package.json +4 -3
  43. package/dist/webhook-types.d.ts +0 -259
  44. package/dist/webhook-types.d.ts.map +0 -1
  45. package/dist/webhook-types.js +0 -26
  46. package/dist/webhook-types.js.map +0 -1
@@ -0,0 +1,134 @@
1
+ /**
2
+ * AgentEvent type alias for webhook event payloads.
3
+ *
4
+ * This module provides a platform-agnostic type alias for webhook events.
5
+ * The implementation uses Linear's webhook payload types, but this is hidden
6
+ * from consuming code through the type alias.
7
+ *
8
+ * @module issue-tracker/AgentEvent
9
+ */
10
+ import type { LinearWebhookPayload } from "@linear/sdk/webhooks";
11
+ /**
12
+ * Platform-agnostic webhook event type.
13
+ *
14
+ * This type represents webhook events from the issue tracking platform.
15
+ * Currently backed by Linear's webhook payload type, but abstracted for
16
+ * future multi-platform support.
17
+ *
18
+ * @example
19
+ * ```typescript
20
+ * import { AgentEvent } from '@cyrus/core/issue-tracker';
21
+ *
22
+ * function handleWebhook(event: AgentEvent) {
23
+ * // Process the webhook event
24
+ * console.log('Received event:', event.action);
25
+ * }
26
+ * ```
27
+ *
28
+ * @remarks
29
+ * This type alias hides the Linear-specific implementation detail while
30
+ * maintaining full type safety. When adding support for other platforms,
31
+ * this can be converted to a union type or more sophisticated abstraction.
32
+ *
33
+ * @see {@link LinearWebhookPayload} for the underlying Linear type structure
34
+ */
35
+ export type AgentEvent = LinearWebhookPayload;
36
+ /**
37
+ * Type guard to check if an event is an issue assignment event.
38
+ *
39
+ * @param event - The webhook event to check
40
+ * @returns True if the event is an issue assignment
41
+ *
42
+ * @example
43
+ * ```typescript
44
+ * if (isIssueAssignedEvent(event)) {
45
+ * console.log('Issue assigned:', event.notification.issue.identifier);
46
+ * }
47
+ * ```
48
+ */
49
+ export declare function isIssueAssignedEvent(event: AgentEvent): event is Extract<AgentEvent, {
50
+ action: "issueAssignedToYou";
51
+ }>;
52
+ /**
53
+ * Type guard to check if an event is an issue unassignment event.
54
+ *
55
+ * @param event - The webhook event to check
56
+ * @returns True if the event is an issue unassignment
57
+ *
58
+ * @example
59
+ * ```typescript
60
+ * if (isIssueUnassignedEvent(event)) {
61
+ * console.log('Issue unassigned:', event.notification.issue.identifier);
62
+ * }
63
+ * ```
64
+ */
65
+ export declare function isIssueUnassignedEvent(event: AgentEvent): event is Extract<AgentEvent, {
66
+ action: "issueUnassignedFromYou";
67
+ }>;
68
+ /**
69
+ * Type guard to check if an event is a comment mention event.
70
+ *
71
+ * @param event - The webhook event to check
72
+ * @returns True if the event is a comment mention
73
+ *
74
+ * @example
75
+ * ```typescript
76
+ * if (isCommentMentionEvent(event)) {
77
+ * console.log('Mentioned in comment:', event.notification.comment.body);
78
+ * }
79
+ * ```
80
+ */
81
+ export declare function isCommentMentionEvent(event: AgentEvent): event is Extract<AgentEvent, {
82
+ action: "issueCommentMention";
83
+ }>;
84
+ /**
85
+ * Type guard to check if an event is a new comment event.
86
+ *
87
+ * @param event - The webhook event to check
88
+ * @returns True if the event is a new comment
89
+ *
90
+ * @example
91
+ * ```typescript
92
+ * if (isNewCommentEvent(event)) {
93
+ * console.log('New comment:', event.notification.comment.body);
94
+ * }
95
+ * ```
96
+ */
97
+ export declare function isNewCommentEvent(event: AgentEvent): event is Extract<AgentEvent, {
98
+ action: "issueNewComment";
99
+ }>;
100
+ /**
101
+ * Type guard to check if an event is an agent session created event.
102
+ *
103
+ * @param event - The webhook event to check
104
+ * @returns True if the event is an agent session creation
105
+ *
106
+ * @example
107
+ * ```typescript
108
+ * if (isAgentSessionCreatedEvent(event)) {
109
+ * console.log('Agent session created:', event.agentSession.id);
110
+ * }
111
+ * ```
112
+ */
113
+ export declare function isAgentSessionCreatedEvent(event: AgentEvent): event is Extract<AgentEvent, {
114
+ type: "AgentSessionEvent";
115
+ action: "created";
116
+ }>;
117
+ /**
118
+ * Type guard to check if an event is an agent session prompted event.
119
+ *
120
+ * @param event - The webhook event to check
121
+ * @returns True if the event is an agent session prompt
122
+ *
123
+ * @example
124
+ * ```typescript
125
+ * if (isAgentSessionPromptedEvent(event)) {
126
+ * console.log('Agent session prompted:', event.agentActivity.content.body);
127
+ * }
128
+ * ```
129
+ */
130
+ export declare function isAgentSessionPromptedEvent(event: AgentEvent): event is Extract<AgentEvent, {
131
+ type: "AgentSessionEvent";
132
+ action: "prompted";
133
+ }>;
134
+ //# sourceMappingURL=AgentEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentEvent.d.ts","sourceRoot":"","sources":["../../src/issue-tracker/AgentEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC;AAE9C;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CACnC,KAAK,EAAE,UAAU,GACf,KAAK,IAAI,OAAO,CAAC,UAAU,EAAE;IAAE,MAAM,EAAE,oBAAoB,CAAA;CAAE,CAAC,CAKhE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CACrC,KAAK,EAAE,UAAU,GACf,KAAK,IAAI,OAAO,CAAC,UAAU,EAAE;IAAE,MAAM,EAAE,wBAAwB,CAAA;CAAE,CAAC,CAKpE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,qBAAqB,CACpC,KAAK,EAAE,UAAU,GACf,KAAK,IAAI,OAAO,CAAC,UAAU,EAAE;IAAE,MAAM,EAAE,qBAAqB,CAAA;CAAE,CAAC,CAKjE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAChC,KAAK,EAAE,UAAU,GACf,KAAK,IAAI,OAAO,CAAC,UAAU,EAAE;IAAE,MAAM,EAAE,iBAAiB,CAAA;CAAE,CAAC,CAI7D;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,0BAA0B,CACzC,KAAK,EAAE,UAAU,GACf,KAAK,IAAI,OAAO,CAClB,UAAU,EACV;IAAE,IAAI,EAAE,mBAAmB,CAAC;IAAC,MAAM,EAAE,SAAS,CAAA;CAAE,CAChD,CAEA;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,2BAA2B,CAC1C,KAAK,EAAE,UAAU,GACf,KAAK,IAAI,OAAO,CAClB,UAAU,EACV;IAAE,IAAI,EAAE,mBAAmB,CAAC;IAAC,MAAM,EAAE,UAAU,CAAA;CAAE,CACjD,CAEA"}
@@ -0,0 +1,109 @@
1
+ /**
2
+ * AgentEvent type alias for webhook event payloads.
3
+ *
4
+ * This module provides a platform-agnostic type alias for webhook events.
5
+ * The implementation uses Linear's webhook payload types, but this is hidden
6
+ * from consuming code through the type alias.
7
+ *
8
+ * @module issue-tracker/AgentEvent
9
+ */
10
+ /**
11
+ * Type guard to check if an event is an issue assignment event.
12
+ *
13
+ * @param event - The webhook event to check
14
+ * @returns True if the event is an issue assignment
15
+ *
16
+ * @example
17
+ * ```typescript
18
+ * if (isIssueAssignedEvent(event)) {
19
+ * console.log('Issue assigned:', event.notification.issue.identifier);
20
+ * }
21
+ * ```
22
+ */
23
+ export function isIssueAssignedEvent(event) {
24
+ return (event.type === "AppUserNotification" &&
25
+ event.action === "issueAssignedToYou");
26
+ }
27
+ /**
28
+ * Type guard to check if an event is an issue unassignment event.
29
+ *
30
+ * @param event - The webhook event to check
31
+ * @returns True if the event is an issue unassignment
32
+ *
33
+ * @example
34
+ * ```typescript
35
+ * if (isIssueUnassignedEvent(event)) {
36
+ * console.log('Issue unassigned:', event.notification.issue.identifier);
37
+ * }
38
+ * ```
39
+ */
40
+ export function isIssueUnassignedEvent(event) {
41
+ return (event.type === "AppUserNotification" &&
42
+ event.action === "issueUnassignedFromYou");
43
+ }
44
+ /**
45
+ * Type guard to check if an event is a comment mention event.
46
+ *
47
+ * @param event - The webhook event to check
48
+ * @returns True if the event is a comment mention
49
+ *
50
+ * @example
51
+ * ```typescript
52
+ * if (isCommentMentionEvent(event)) {
53
+ * console.log('Mentioned in comment:', event.notification.comment.body);
54
+ * }
55
+ * ```
56
+ */
57
+ export function isCommentMentionEvent(event) {
58
+ return (event.type === "AppUserNotification" &&
59
+ event.action === "issueCommentMention");
60
+ }
61
+ /**
62
+ * Type guard to check if an event is a new comment event.
63
+ *
64
+ * @param event - The webhook event to check
65
+ * @returns True if the event is a new comment
66
+ *
67
+ * @example
68
+ * ```typescript
69
+ * if (isNewCommentEvent(event)) {
70
+ * console.log('New comment:', event.notification.comment.body);
71
+ * }
72
+ * ```
73
+ */
74
+ export function isNewCommentEvent(event) {
75
+ return (event.type === "AppUserNotification" && event.action === "issueNewComment");
76
+ }
77
+ /**
78
+ * Type guard to check if an event is an agent session created event.
79
+ *
80
+ * @param event - The webhook event to check
81
+ * @returns True if the event is an agent session creation
82
+ *
83
+ * @example
84
+ * ```typescript
85
+ * if (isAgentSessionCreatedEvent(event)) {
86
+ * console.log('Agent session created:', event.agentSession.id);
87
+ * }
88
+ * ```
89
+ */
90
+ export function isAgentSessionCreatedEvent(event) {
91
+ return event.type === "AgentSessionEvent" && event.action === "created";
92
+ }
93
+ /**
94
+ * Type guard to check if an event is an agent session prompted event.
95
+ *
96
+ * @param event - The webhook event to check
97
+ * @returns True if the event is an agent session prompt
98
+ *
99
+ * @example
100
+ * ```typescript
101
+ * if (isAgentSessionPromptedEvent(event)) {
102
+ * console.log('Agent session prompted:', event.agentActivity.content.body);
103
+ * }
104
+ * ```
105
+ */
106
+ export function isAgentSessionPromptedEvent(event) {
107
+ return event.type === "AgentSessionEvent" && event.action === "prompted";
108
+ }
109
+ //# sourceMappingURL=AgentEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentEvent.js","sourceRoot":"","sources":["../../src/issue-tracker/AgentEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA8BH;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,oBAAoB,CACnC,KAAiB;IAEjB,OAAO,CACN,KAAK,CAAC,IAAI,KAAK,qBAAqB;QACpC,KAAK,CAAC,MAAM,KAAK,oBAAoB,CACrC,CAAC;AACH,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,sBAAsB,CACrC,KAAiB;IAEjB,OAAO,CACN,KAAK,CAAC,IAAI,KAAK,qBAAqB;QACpC,KAAK,CAAC,MAAM,KAAK,wBAAwB,CACzC,CAAC;AACH,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,qBAAqB,CACpC,KAAiB;IAEjB,OAAO,CACN,KAAK,CAAC,IAAI,KAAK,qBAAqB;QACpC,KAAK,CAAC,MAAM,KAAK,qBAAqB,CACtC,CAAC;AACH,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,iBAAiB,CAChC,KAAiB;IAEjB,OAAO,CACN,KAAK,CAAC,IAAI,KAAK,qBAAqB,IAAI,KAAK,CAAC,MAAM,KAAK,iBAAiB,CAC1E,CAAC;AACH,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,0BAA0B,CACzC,KAAiB;IAKjB,OAAO,KAAK,CAAC,IAAI,KAAK,mBAAmB,IAAI,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;AACzE,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,2BAA2B,CAC1C,KAAiB;IAKjB,OAAO,KAAK,CAAC,IAAI,KAAK,mBAAmB,IAAI,KAAK,CAAC,MAAM,KAAK,UAAU,CAAC;AAC1E,CAAC"}
@@ -0,0 +1,146 @@
1
+ /**
2
+ * Platform-agnostic interface for agent event transport.
3
+ *
4
+ * This interface defines how webhook events from issue tracking platforms
5
+ * are received, verified, and delivered to the application. It abstracts
6
+ * away platform-specific details like HTTP endpoints, signature verification,
7
+ * and payload structures.
8
+ *
9
+ * @module issue-tracker/IAgentEventTransport
10
+ */
11
+ import type { FastifyInstance } from "fastify";
12
+ import type { AgentEvent } from "./AgentEvent.js";
13
+ /**
14
+ * Base configuration shared by all event transports.
15
+ */
16
+ interface AgentEventTransportConfigBase {
17
+ /**
18
+ * Fastify server instance to register webhook endpoints with.
19
+ */
20
+ fastifyServer: FastifyInstance;
21
+ }
22
+ /**
23
+ * Configuration for Linear event transport in direct mode.
24
+ * Uses Linear's webhook signature verification.
25
+ */
26
+ export interface LinearDirectEventTransportConfig extends AgentEventTransportConfigBase {
27
+ platform: "linear";
28
+ verificationMode: "direct";
29
+ /**
30
+ * Linear webhook secret (LINEAR_WEBHOOK_SECRET) for signature verification.
31
+ */
32
+ secret: string;
33
+ }
34
+ /**
35
+ * Configuration for Linear event transport in proxy mode.
36
+ * Uses Bearer token authentication.
37
+ */
38
+ export interface LinearProxyEventTransportConfig extends AgentEventTransportConfigBase {
39
+ platform: "linear";
40
+ verificationMode: "proxy";
41
+ /**
42
+ * API key (CYRUS_API_KEY) for Bearer token authentication.
43
+ */
44
+ secret: string;
45
+ }
46
+ /**
47
+ * Configuration for CLI event transport (in-memory mode).
48
+ */
49
+ export interface CLIEventTransportConfig extends AgentEventTransportConfigBase {
50
+ platform: "cli";
51
+ }
52
+ /**
53
+ * Discriminated union of all event transport configurations.
54
+ * Platform-specific config values are only required when using that platform.
55
+ */
56
+ export type AgentEventTransportConfig = LinearDirectEventTransportConfig | LinearProxyEventTransportConfig | CLIEventTransportConfig;
57
+ /**
58
+ * Event handlers for agent event transport.
59
+ */
60
+ export interface AgentEventTransportEvents {
61
+ /**
62
+ * Emitted when a valid agent event is received.
63
+ * @param event - The verified agent event
64
+ */
65
+ event: (event: AgentEvent) => void;
66
+ /**
67
+ * Emitted when an error occurs during event processing.
68
+ * @param error - The error that occurred
69
+ */
70
+ error: (error: Error) => void;
71
+ }
72
+ /**
73
+ * Platform-agnostic transport for receiving and delivering agent events.
74
+ *
75
+ * This interface defines the contract for event transport implementations.
76
+ * Each platform (Linear, GitHub, Jira) provides its own implementation that
77
+ * handles platform-specific details like HTTP endpoints, authentication, and
78
+ * payload structures.
79
+ *
80
+ * @example
81
+ * ```typescript
82
+ * // Create transport from issue tracker service
83
+ * const transport = issueTracker.createEventTransport({
84
+ * fastifyServer: server.getFastifyInstance(),
85
+ * verificationMode: 'proxy',
86
+ * secret: process.env.CYRUS_API_KEY
87
+ * });
88
+ *
89
+ * // Register HTTP endpoints
90
+ * transport.register();
91
+ *
92
+ * // Listen for events
93
+ * transport.on('event', (event: AgentEvent) => {
94
+ * console.log('Received event:', event.action);
95
+ * });
96
+ *
97
+ * // Handle errors
98
+ * transport.on('error', (error: Error) => {
99
+ * console.error('Transport error:', error);
100
+ * });
101
+ * ```
102
+ */
103
+ export interface IAgentEventTransport {
104
+ /**
105
+ * Register HTTP endpoints with the Fastify server.
106
+ *
107
+ * This method mounts the necessary routes to receive webhook events
108
+ * from the issue tracking platform.
109
+ *
110
+ * @example
111
+ * ```typescript
112
+ * transport.register();
113
+ * console.log('Webhook endpoints registered');
114
+ * ```
115
+ */
116
+ register(): void;
117
+ /**
118
+ * Register an event listener.
119
+ *
120
+ * @param event - Event name to listen for
121
+ * @param listener - Callback function to handle the event
122
+ *
123
+ * @example
124
+ * ```typescript
125
+ * transport.on('event', (event: AgentEvent) => {
126
+ * if (isAgentSessionCreatedEvent(event)) {
127
+ * console.log('Session created:', event.agentSession.id);
128
+ * }
129
+ * });
130
+ * ```
131
+ */
132
+ on<K extends keyof AgentEventTransportEvents>(event: K, listener: AgentEventTransportEvents[K]): void;
133
+ /**
134
+ * Remove all event listeners.
135
+ *
136
+ * This is typically called during cleanup when shutting down the transport.
137
+ *
138
+ * @example
139
+ * ```typescript
140
+ * transport.removeAllListeners();
141
+ * ```
142
+ */
143
+ removeAllListeners(): void;
144
+ }
145
+ export {};
146
+ //# sourceMappingURL=IAgentEventTransport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAgentEventTransport.d.ts","sourceRoot":"","sources":["../../src/issue-tracker/IAgentEventTransport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD;;GAEG;AACH,UAAU,6BAA6B;IACtC;;OAEG;IACH,aAAa,EAAE,eAAe,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,gCAChB,SAAQ,6BAA6B;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,QAAQ,CAAC;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,+BAChB,SAAQ,6BAA6B;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,6BAA6B;IAC7E,QAAQ,EAAE,KAAK,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAClC,gCAAgC,GAChC,+BAA+B,GAC/B,uBAAuB,CAAC;AAE3B;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACzC;;;OAGG;IACH,KAAK,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IAEnC;;;OAGG;IACH,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAC9B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,oBAAoB;IACpC;;;;;;;;;;;OAWG;IACH,QAAQ,IAAI,IAAI,CAAC;IAEjB;;;;;;;;;;;;;;OAcG;IACH,EAAE,CAAC,CAAC,SAAS,MAAM,yBAAyB,EAC3C,KAAK,EAAE,CAAC,EACR,QAAQ,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,IAAI,CAAC;IAER;;;;;;;;;OASG;IACH,kBAAkB,IAAI,IAAI,CAAC;CAC3B"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Platform-agnostic interface for agent event transport.
3
+ *
4
+ * This interface defines how webhook events from issue tracking platforms
5
+ * are received, verified, and delivered to the application. It abstracts
6
+ * away platform-specific details like HTTP endpoints, signature verification,
7
+ * and payload structures.
8
+ *
9
+ * @module issue-tracker/IAgentEventTransport
10
+ */
11
+ export {};
12
+ //# sourceMappingURL=IAgentEventTransport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAgentEventTransport.js","sourceRoot":"","sources":["../../src/issue-tracker/IAgentEventTransport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG"}