managed-deepagents 0.10.0-dev.12 → 0.10.0-dev.14
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/README.md +122 -33
- package/dist/channels/github/index.d.ts.map +1 -1
- package/dist/channels/github/index.js +7 -6
- package/dist/channels/github/index.js.map +1 -1
- package/dist/channels/github/mentions.d.ts +7 -0
- package/dist/channels/github/mentions.d.ts.map +1 -0
- package/dist/channels/github/mentions.js +112 -0
- package/dist/channels/github/mentions.js.map +1 -0
- package/dist/channels/github/schema.d.ts +168 -0
- package/dist/channels/github/schema.d.ts.map +1 -1
- package/dist/channels/github/schema.js +8 -0
- package/dist/channels/github/schema.js.map +1 -1
- package/dist/channels/github/types.d.ts +26 -10
- package/dist/channels/github/types.d.ts.map +1 -1
- package/dist/channels/http/endpoint.d.ts +25 -11
- package/dist/channels/http/endpoint.d.ts.map +1 -1
- package/dist/channels/http/endpoint.js +107 -35
- package/dist/channels/http/endpoint.js.map +1 -1
- package/dist/channels/http/http.d.ts.map +1 -1
- package/dist/channels/http/http.js +45 -53
- package/dist/channels/http/http.js.map +1 -1
- package/dist/channels/http/index.d.ts +1 -1
- package/dist/channels/http/index.d.ts.map +1 -1
- package/dist/channels/http/ingress.d.ts +10 -21
- package/dist/channels/http/ingress.d.ts.map +1 -1
- package/dist/channels/http/ingress.js +29 -24
- package/dist/channels/http/ingress.js.map +1 -1
- package/dist/channels/http/provider.d.ts +17 -6
- package/dist/channels/http/provider.d.ts.map +1 -1
- package/dist/channels/http/provider.js +25 -5
- package/dist/channels/http/provider.js.map +1 -1
- package/dist/channels/http/studio.d.ts +7 -1
- package/dist/channels/http/studio.d.ts.map +1 -1
- package/dist/channels/http/studio.js +10 -0
- package/dist/channels/http/studio.js.map +1 -1
- package/dist/channels/http/types.d.ts +27 -45
- package/dist/channels/http/types.d.ts.map +1 -1
- package/dist/channels/linear/index.d.ts.map +1 -1
- package/dist/channels/linear/index.js +15 -11
- package/dist/channels/linear/index.js.map +1 -1
- package/dist/channels/linear/types.d.ts +11 -10
- package/dist/channels/linear/types.d.ts.map +1 -1
- package/dist/channels/run-input.js +17 -6
- package/dist/channels/run-input.js.map +1 -1
- package/dist/channels/slack/index.d.ts +33 -1
- package/dist/channels/slack/index.d.ts.map +1 -1
- package/dist/channels/slack/index.js +54 -4
- package/dist/channels/slack/index.js.map +1 -1
- package/dist/define-deep-agent.d.ts.map +1 -1
- package/dist/define-deep-agent.js +6 -0
- package/dist/define-deep-agent.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/ingress/runs.d.ts +3 -1
- package/dist/ingress/runs.d.ts.map +1 -1
- package/dist/ingress/runs.js +7 -4
- package/dist/ingress/runs.js.map +1 -1
- package/package.json +7 -7
|
@@ -1770,6 +1770,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1770
1770
|
login: string;
|
|
1771
1771
|
type: "Bot" | "Organization" | "User";
|
|
1772
1772
|
};
|
|
1773
|
+
/**
|
|
1774
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
1775
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
1776
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
1777
|
+
* body; code doesn't count. Empty for other events.
|
|
1778
|
+
*/
|
|
1779
|
+
mentions: string[];
|
|
1773
1780
|
} | {
|
|
1774
1781
|
key: "issues.edited";
|
|
1775
1782
|
deliveryId: string;
|
|
@@ -1820,6 +1827,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1820
1827
|
login: string;
|
|
1821
1828
|
type: "Bot" | "Organization" | "User";
|
|
1822
1829
|
};
|
|
1830
|
+
/**
|
|
1831
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
1832
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
1833
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
1834
|
+
* body; code doesn't count. Empty for other events.
|
|
1835
|
+
*/
|
|
1836
|
+
mentions: string[];
|
|
1823
1837
|
} | {
|
|
1824
1838
|
key: "issues.reopened";
|
|
1825
1839
|
deliveryId: string;
|
|
@@ -1870,6 +1884,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1870
1884
|
login: string;
|
|
1871
1885
|
type: "Bot" | "Organization" | "User";
|
|
1872
1886
|
};
|
|
1887
|
+
/**
|
|
1888
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
1889
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
1890
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
1891
|
+
* body; code doesn't count. Empty for other events.
|
|
1892
|
+
*/
|
|
1893
|
+
mentions: string[];
|
|
1873
1894
|
} | {
|
|
1874
1895
|
key: "issues.labeled";
|
|
1875
1896
|
deliveryId: string;
|
|
@@ -1924,6 +1945,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1924
1945
|
login: string;
|
|
1925
1946
|
type: "Bot" | "Organization" | "User";
|
|
1926
1947
|
};
|
|
1948
|
+
/**
|
|
1949
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
1950
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
1951
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
1952
|
+
* body; code doesn't count. Empty for other events.
|
|
1953
|
+
*/
|
|
1954
|
+
mentions: string[];
|
|
1927
1955
|
} | {
|
|
1928
1956
|
key: "issue_comment.created";
|
|
1929
1957
|
deliveryId: string;
|
|
@@ -1979,6 +2007,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1979
2007
|
login: string;
|
|
1980
2008
|
type: "Bot" | "Organization" | "User";
|
|
1981
2009
|
};
|
|
2010
|
+
/**
|
|
2011
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2012
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2013
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2014
|
+
* body; code doesn't count. Empty for other events.
|
|
2015
|
+
*/
|
|
2016
|
+
mentions: string[];
|
|
1982
2017
|
} | {
|
|
1983
2018
|
key: "issue_comment.edited";
|
|
1984
2019
|
deliveryId: string;
|
|
@@ -2034,6 +2069,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2034
2069
|
login: string;
|
|
2035
2070
|
type: "Bot" | "Organization" | "User";
|
|
2036
2071
|
};
|
|
2072
|
+
/**
|
|
2073
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2074
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2075
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2076
|
+
* body; code doesn't count. Empty for other events.
|
|
2077
|
+
*/
|
|
2078
|
+
mentions: string[];
|
|
2037
2079
|
} | {
|
|
2038
2080
|
key: "pull_request.opened";
|
|
2039
2081
|
deliveryId: string;
|
|
@@ -2086,6 +2128,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2086
2128
|
login: string;
|
|
2087
2129
|
type: "Bot" | "Organization" | "User";
|
|
2088
2130
|
};
|
|
2131
|
+
/**
|
|
2132
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2133
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2134
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2135
|
+
* body; code doesn't count. Empty for other events.
|
|
2136
|
+
*/
|
|
2137
|
+
mentions: string[];
|
|
2089
2138
|
} | {
|
|
2090
2139
|
key: "pull_request.edited";
|
|
2091
2140
|
deliveryId: string;
|
|
@@ -2138,6 +2187,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2138
2187
|
login: string;
|
|
2139
2188
|
type: "Bot" | "Organization" | "User";
|
|
2140
2189
|
};
|
|
2190
|
+
/**
|
|
2191
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2192
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2193
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2194
|
+
* body; code doesn't count. Empty for other events.
|
|
2195
|
+
*/
|
|
2196
|
+
mentions: string[];
|
|
2141
2197
|
} | {
|
|
2142
2198
|
key: "pull_request.reopened";
|
|
2143
2199
|
deliveryId: string;
|
|
@@ -2190,6 +2246,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2190
2246
|
login: string;
|
|
2191
2247
|
type: "Bot" | "Organization" | "User";
|
|
2192
2248
|
};
|
|
2249
|
+
/**
|
|
2250
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2251
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2252
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2253
|
+
* body; code doesn't count. Empty for other events.
|
|
2254
|
+
*/
|
|
2255
|
+
mentions: string[];
|
|
2193
2256
|
} | {
|
|
2194
2257
|
key: "pull_request.ready_for_review";
|
|
2195
2258
|
deliveryId: string;
|
|
@@ -2242,6 +2305,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2242
2305
|
login: string;
|
|
2243
2306
|
type: "Bot" | "Organization" | "User";
|
|
2244
2307
|
};
|
|
2308
|
+
/**
|
|
2309
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2310
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2311
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2312
|
+
* body; code doesn't count. Empty for other events.
|
|
2313
|
+
*/
|
|
2314
|
+
mentions: string[];
|
|
2245
2315
|
} | {
|
|
2246
2316
|
key: "pull_request.converted_to_draft";
|
|
2247
2317
|
deliveryId: string;
|
|
@@ -2294,6 +2364,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2294
2364
|
login: string;
|
|
2295
2365
|
type: "Bot" | "Organization" | "User";
|
|
2296
2366
|
};
|
|
2367
|
+
/**
|
|
2368
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2369
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2370
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2371
|
+
* body; code doesn't count. Empty for other events.
|
|
2372
|
+
*/
|
|
2373
|
+
mentions: string[];
|
|
2297
2374
|
} | {
|
|
2298
2375
|
key: "pull_request.synchronize";
|
|
2299
2376
|
deliveryId: string;
|
|
@@ -2346,6 +2423,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2346
2423
|
login: string;
|
|
2347
2424
|
type: "Bot" | "Organization" | "User";
|
|
2348
2425
|
};
|
|
2426
|
+
/**
|
|
2427
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2428
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2429
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2430
|
+
* body; code doesn't count. Empty for other events.
|
|
2431
|
+
*/
|
|
2432
|
+
mentions: string[];
|
|
2349
2433
|
} | {
|
|
2350
2434
|
key: "pull_request.labeled";
|
|
2351
2435
|
deliveryId: string;
|
|
@@ -2402,6 +2486,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2402
2486
|
login: string;
|
|
2403
2487
|
type: "Bot" | "Organization" | "User";
|
|
2404
2488
|
};
|
|
2489
|
+
/**
|
|
2490
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2491
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2492
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2493
|
+
* body; code doesn't count. Empty for other events.
|
|
2494
|
+
*/
|
|
2495
|
+
mentions: string[];
|
|
2405
2496
|
} | {
|
|
2406
2497
|
key: "pull_request.closed";
|
|
2407
2498
|
deliveryId: string;
|
|
@@ -2454,6 +2545,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2454
2545
|
login: string;
|
|
2455
2546
|
type: "Bot" | "Organization" | "User";
|
|
2456
2547
|
};
|
|
2548
|
+
/**
|
|
2549
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2550
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2551
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2552
|
+
* body; code doesn't count. Empty for other events.
|
|
2553
|
+
*/
|
|
2554
|
+
mentions: string[];
|
|
2457
2555
|
} | {
|
|
2458
2556
|
key: "pull_request_review.submitted";
|
|
2459
2557
|
deliveryId: string;
|
|
@@ -2512,6 +2610,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2512
2610
|
login: string;
|
|
2513
2611
|
type: "Bot" | "Organization" | "User";
|
|
2514
2612
|
};
|
|
2613
|
+
/**
|
|
2614
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2615
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2616
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2617
|
+
* body; code doesn't count. Empty for other events.
|
|
2618
|
+
*/
|
|
2619
|
+
mentions: string[];
|
|
2515
2620
|
} | {
|
|
2516
2621
|
key: "pull_request_review.edited";
|
|
2517
2622
|
deliveryId: string;
|
|
@@ -2570,6 +2675,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2570
2675
|
login: string;
|
|
2571
2676
|
type: "Bot" | "Organization" | "User";
|
|
2572
2677
|
};
|
|
2678
|
+
/**
|
|
2679
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2680
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2681
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2682
|
+
* body; code doesn't count. Empty for other events.
|
|
2683
|
+
*/
|
|
2684
|
+
mentions: string[];
|
|
2573
2685
|
} | {
|
|
2574
2686
|
key: "pull_request_review.dismissed";
|
|
2575
2687
|
deliveryId: string;
|
|
@@ -2628,6 +2740,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2628
2740
|
login: string;
|
|
2629
2741
|
type: "Bot" | "Organization" | "User";
|
|
2630
2742
|
};
|
|
2743
|
+
/**
|
|
2744
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2745
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2746
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2747
|
+
* body; code doesn't count. Empty for other events.
|
|
2748
|
+
*/
|
|
2749
|
+
mentions: string[];
|
|
2631
2750
|
} | {
|
|
2632
2751
|
key: "pull_request_review_comment.created";
|
|
2633
2752
|
deliveryId: string;
|
|
@@ -2685,6 +2804,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2685
2804
|
login: string;
|
|
2686
2805
|
type: "Bot" | "Organization" | "User";
|
|
2687
2806
|
};
|
|
2807
|
+
/**
|
|
2808
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2809
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2810
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2811
|
+
* body; code doesn't count. Empty for other events.
|
|
2812
|
+
*/
|
|
2813
|
+
mentions: string[];
|
|
2688
2814
|
} | {
|
|
2689
2815
|
key: "pull_request_review_comment.edited";
|
|
2690
2816
|
deliveryId: string;
|
|
@@ -2742,6 +2868,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2742
2868
|
login: string;
|
|
2743
2869
|
type: "Bot" | "Organization" | "User";
|
|
2744
2870
|
};
|
|
2871
|
+
/**
|
|
2872
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2873
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2874
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2875
|
+
* body; code doesn't count. Empty for other events.
|
|
2876
|
+
*/
|
|
2877
|
+
mentions: string[];
|
|
2745
2878
|
} | {
|
|
2746
2879
|
key: "push";
|
|
2747
2880
|
deliveryId: string;
|
|
@@ -2788,6 +2921,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2788
2921
|
login: string;
|
|
2789
2922
|
type: "Bot" | "Organization" | "User";
|
|
2790
2923
|
};
|
|
2924
|
+
/**
|
|
2925
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2926
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2927
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2928
|
+
* body; code doesn't count. Empty for other events.
|
|
2929
|
+
*/
|
|
2930
|
+
mentions: string[];
|
|
2791
2931
|
} | {
|
|
2792
2932
|
key: "status";
|
|
2793
2933
|
deliveryId: string;
|
|
@@ -2835,6 +2975,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2835
2975
|
login: string;
|
|
2836
2976
|
type: "Bot" | "Organization" | "User";
|
|
2837
2977
|
};
|
|
2978
|
+
/**
|
|
2979
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
2980
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
2981
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
2982
|
+
* body; code doesn't count. Empty for other events.
|
|
2983
|
+
*/
|
|
2984
|
+
mentions: string[];
|
|
2838
2985
|
} | {
|
|
2839
2986
|
key: "check_run.completed";
|
|
2840
2987
|
deliveryId: string;
|
|
@@ -2886,6 +3033,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2886
3033
|
login: string;
|
|
2887
3034
|
type: "Bot" | "Organization" | "User";
|
|
2888
3035
|
};
|
|
3036
|
+
/**
|
|
3037
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
3038
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
3039
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
3040
|
+
* body; code doesn't count. Empty for other events.
|
|
3041
|
+
*/
|
|
3042
|
+
mentions: string[];
|
|
2889
3043
|
} | {
|
|
2890
3044
|
key: "check_suite.completed";
|
|
2891
3045
|
deliveryId: string;
|
|
@@ -2936,6 +3090,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2936
3090
|
login: string;
|
|
2937
3091
|
type: "Bot" | "Organization" | "User";
|
|
2938
3092
|
};
|
|
3093
|
+
/**
|
|
3094
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
3095
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
3096
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
3097
|
+
* body; code doesn't count. Empty for other events.
|
|
3098
|
+
*/
|
|
3099
|
+
mentions: string[];
|
|
2939
3100
|
} | {
|
|
2940
3101
|
key: "workflow_run.completed";
|
|
2941
3102
|
deliveryId: string;
|
|
@@ -2985,6 +3146,13 @@ export declare const githubEventSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2985
3146
|
login: string;
|
|
2986
3147
|
type: "Bot" | "Organization" | "User";
|
|
2987
3148
|
};
|
|
3149
|
+
/**
|
|
3150
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
3151
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
3152
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
3153
|
+
* body; code doesn't count. Empty for other events.
|
|
3154
|
+
*/
|
|
3155
|
+
mentions: string[];
|
|
2988
3156
|
}, {
|
|
2989
3157
|
key: "issues.opened";
|
|
2990
3158
|
deliveryId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/channels/github/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/channels/github/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,sBAAsB,aAA8B,CAAC;AAElE,gFAAgF;AAChF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;iBAW9B,CAAC;AAsFH,8EAA8E;AAC9E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKF,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { eventMentions } from "./mentions.js";
|
|
2
3
|
import { nonblankStringSchema } from "../message-schema.js";
|
|
3
4
|
// Shared scalar constraints. Dispatch IDs are positive safe integers.
|
|
4
5
|
const nullableTextSchema = z.string().nullable();
|
|
@@ -184,5 +185,12 @@ export const githubEventSchema = githubDispatchSchema.transform((event) => ({
|
|
|
184
185
|
login: event.payload.sender.login,
|
|
185
186
|
type: event.payload.sender.type,
|
|
186
187
|
},
|
|
188
|
+
/**
|
|
189
|
+
* The handles the event's own text mentions, such as `@octocat` or a text
|
|
190
|
+
* tag like `@openswe`: lowercased, each once, in order. The text is the
|
|
191
|
+
* comment's or review's body, or an issue's or pull request's title and
|
|
192
|
+
* body; code doesn't count. Empty for other events.
|
|
193
|
+
*/
|
|
194
|
+
mentions: eventMentions(event.key.split(".")[0], event.payload),
|
|
187
195
|
}));
|
|
188
196
|
//# sourceMappingURL=schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/channels/github/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"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AO,CAAC,UAAU,CAAC,SAAS;QAC5C,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO;KAC1C;IACD,MAAM,EAAE;QACN,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;QAC3B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;QACjC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI;KAChC;IACD;;;;;OAKG;IACH,QAAQ,EAAE,aAAa,CACrB,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAE,EACxB,KAAK,CAAC,OAAkC,CACzC;CACF,CAAC,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { z } from "zod";
|
|
|
2
2
|
import type { MultitaskStrategy } from "../../ingress/runs.js";
|
|
3
3
|
import type { githubEventSchema } from "./schema.js";
|
|
4
4
|
import type { ChannelRunResult } from "../run-input.js";
|
|
5
|
-
import type {
|
|
5
|
+
import type { EventFinished, EventReceived } from "../http/provider.js";
|
|
6
6
|
import type { EndpointRequest, EventEndpoint } from "../http/endpoint.js";
|
|
7
7
|
/** Handwritten schema subsets; unmodeled provider fields remain unknown. */
|
|
8
8
|
type EventUnion = z.output<typeof githubEventSchema>;
|
|
@@ -118,21 +118,37 @@ export interface GitHubChannelOptions {
|
|
|
118
118
|
[K in SupportedEventKey]?: GitHubEventCallback<K> | EventEndpoint;
|
|
119
119
|
};
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
* nothing
|
|
125
|
-
* decision is pending, in the background; failures
|
|
126
|
-
* `channels.http`'s `
|
|
121
|
+
* A delivery of a handled event is done, once: with the run it started and
|
|
122
|
+
* how that run ended, as LangGraph names it, and the decisions the thread
|
|
123
|
+
* waits on. A delivery that started no run, such as one whose handler
|
|
124
|
+
* returned nothing, has no `run`. Called after the App's own notices, such
|
|
125
|
+
* as the comment that a decision is pending, in the background; failures
|
|
126
|
+
* are logged. See `channels.http`'s `onFinish` for its limits.
|
|
127
127
|
*
|
|
128
128
|
* @example
|
|
129
129
|
* ```ts
|
|
130
|
-
*
|
|
131
|
-
* if ("
|
|
130
|
+
* onFinish: async (event, thread, { run }) => {
|
|
131
|
+
* if (run?.status === "success") await reportRun(thread.id, run.id);
|
|
132
132
|
* }
|
|
133
133
|
* ```
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
onFinish?: EventFinished<GitHubEvent, GitHubChannelThread>;
|
|
136
|
+
/**
|
|
137
|
+
* A delivery of a handled event reached its thread, once, with the event
|
|
138
|
+
* and its thread, before MDA reads the thread or asks the handler: the
|
|
139
|
+
* moment to acknowledge it, such as with a 👀 reaction. It fires even when
|
|
140
|
+
* the thread then waits on an interrupt, or the handler declines, so apply
|
|
141
|
+
* your own filters, such as a mention check. In the background, before
|
|
142
|
+
* `onFinish`; failures are logged and don't stop the run.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* ```ts
|
|
146
|
+
* onReceived: async (event) => {
|
|
147
|
+
* if (event.name === "issue_comment") await reactEyes(event);
|
|
148
|
+
* }
|
|
149
|
+
* ```
|
|
150
|
+
*/
|
|
151
|
+
onReceived?: EventReceived<GitHubEvent, GitHubChannelThread>;
|
|
136
152
|
}
|
|
137
153
|
/** What a GitHub channel POSTs an endpoint, for one event key or any. */
|
|
138
154
|
export type GitHubEndpointRequest<K extends SupportedEventKey = SupportedEventKey> = EndpointRequest<GitHubEvent<K>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/channels/github/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAA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ment's env var holding the secret it shares with your services:
|
|
5
|
+
* every event endpoint request is signed with it, as Standard Webhooks does.
|
|
6
|
+
* Several, separated by whitespace or commas, each sign the request, for
|
|
7
|
+
* rotation.
|
|
5
8
|
*/
|
|
6
|
-
|
|
7
|
-
import type { JsonValue } from "../types.js";
|
|
9
|
+
export declare const SERVICE_SECRET_ENV = "MDA_SERVICE_SECRET";
|
|
8
10
|
/**
|
|
9
11
|
* Where an `onEvent` key's events go when a service of yours decides what
|
|
10
12
|
* they start: its URL, or a `Request` that also carries headers, such as a
|
|
11
13
|
* credential the service checks. See {@link endpointHandler}.
|
|
12
14
|
*/
|
|
13
15
|
export type EventEndpoint = string | URL | Request;
|
|
16
|
+
/** The key a Standard Webhooks secret stands for; a malformed one throws. */
|
|
17
|
+
export declare function signingKey(secret: string): Buffer;
|
|
18
|
+
/**
|
|
19
|
+
* The Standard Webhooks headers that sign one request with `keys`: none
|
|
20
|
+
* without a key. Each key signs `<id>.<timestamp>.<body>`.
|
|
21
|
+
*/
|
|
22
|
+
export declare function signatureHeaders(keys: readonly Buffer[], id: string, timestamp: number, body: string): Record<string, string>;
|
|
14
23
|
/** A channel's event, by the fields an endpoint is sent. */
|
|
15
24
|
type ChannelEvent = {
|
|
16
25
|
key: string;
|
|
@@ -38,22 +47,27 @@ export interface EndpointRequest<E extends ChannelEvent = ChannelEvent> {
|
|
|
38
47
|
event: EndpointEvent<E>;
|
|
39
48
|
thread: EndpointThread;
|
|
40
49
|
}
|
|
50
|
+
declare const answerSchema: z.ZodObject<{
|
|
51
|
+
input: z.ZodCustom<import("../types.js").JsonValue, import("../types.js").JsonValue>;
|
|
52
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<import("../types.js").JsonValue, import("../types.js").JsonValue>>>;
|
|
53
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<import("../types.js").JsonValue, import("../types.js").JsonValue>>>;
|
|
54
|
+
webhook: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.core.$strict>;
|
|
41
56
|
/**
|
|
42
57
|
* What an endpoint answers: the run's input, as a handler returns it (text,
|
|
43
58
|
* or state such as `{ messages }`), with the run options a handler may set,
|
|
44
|
-
*
|
|
59
|
+
* all JSON. An endpoint answers `null` (or HTTP 204) instead to start nothing.
|
|
60
|
+
* The channel checks an answer against the same schema.
|
|
45
61
|
*/
|
|
46
|
-
export type EndpointAnswer =
|
|
47
|
-
input: JsonValue;
|
|
48
|
-
} & ChannelRunOptions) | null;
|
|
62
|
+
export type EndpointAnswer = z.infer<typeof answerSchema>;
|
|
49
63
|
/** Whether an `onEvent` value is an endpoint rather than a handler function. */
|
|
50
64
|
export declare function isEventEndpoint(value: unknown): value is EventEndpoint;
|
|
51
65
|
/**
|
|
52
66
|
* The handler an endpoint stands for. When the event's thread takes a turn,
|
|
53
67
|
* MDA POSTs `{ event: { key, deliveryId, payload }, thread: { id, channel,
|
|
54
68
|
* interrupted? } }` as JSON to the endpoint's URL, with a `Request`'s headers,
|
|
55
|
-
*
|
|
56
|
-
* webhook? }`.
|
|
69
|
+
* signed when the deployment has `MDA_SERVICE_SECRET`, and starts the
|
|
70
|
+
* run the service answers with: `{ input, context?, metadata?, webhook? }`.
|
|
57
71
|
* `null` or HTTP 204 starts nothing. Any other answer, a
|
|
58
72
|
* redirect, or no answer within 60 seconds fails the handler, as a handler
|
|
59
73
|
* that throws does. The URL is http(s), without credentials in it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../src/channels/http/endpoint.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../src/channels/http/endpoint.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAQxD;;;;;GAKG;AACH,eAAO,MAAM,kB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