@ellipsis-dev/sdk 0.31.0 → 0.33.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.
@@ -2,6 +2,260 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "description": "The published react-surface field sets: per trigger surface, the dotted paths an agent's input.message template may reference. Referencing an object- or array-typed path renders the whole value as pretty-printed JSON.",
4
4
  "surfaces": {
5
+ "check_run": [
6
+ {
7
+ "description": "The state that fired, one of the trigger's `on` values.",
8
+ "path": "action",
9
+ "type": "string"
10
+ },
11
+ {
12
+ "description": "The repository name (without the owner).",
13
+ "path": "repository.name",
14
+ "type": "string"
15
+ },
16
+ {
17
+ "description": "The repository owner's login.",
18
+ "path": "repository.owner",
19
+ "type": "string"
20
+ },
21
+ {
22
+ "description": "The repository as \"owner/name\".",
23
+ "path": "repository.full_name",
24
+ "type": "string"
25
+ },
26
+ {
27
+ "description": "The repository's default branch name.",
28
+ "path": "repository.default_branch",
29
+ "type": "string"
30
+ },
31
+ {
32
+ "description": "The check run id (on GitHub Actions, the job id).",
33
+ "path": "check_run.id",
34
+ "type": "integer"
35
+ },
36
+ {
37
+ "description": "The check's name, as the checks tab shows it.",
38
+ "path": "check_run.name",
39
+ "type": "string"
40
+ },
41
+ {
42
+ "description": "GitHub's status for the run (queued | in_progress | completed, and the Actions states).",
43
+ "path": "check_run.status",
44
+ "type": "string"
45
+ },
46
+ {
47
+ "description": "GitHub's conclusion for the run (empty string before it completes).",
48
+ "path": "check_run.conclusion",
49
+ "type": "string"
50
+ },
51
+ {
52
+ "description": "The check's page on GitHub.",
53
+ "path": "check_run.url",
54
+ "type": "string"
55
+ },
56
+ {
57
+ "description": "The reporting app's page for the run (empty string when it has none).",
58
+ "path": "check_run.details_url",
59
+ "type": "string"
60
+ },
61
+ {
62
+ "description": "The app that reported the check (e.g. \"GitHub Actions\"; empty string when unknown).",
63
+ "path": "check_run.app",
64
+ "type": "string"
65
+ },
66
+ {
67
+ "description": "When the run started, ISO 8601 (empty string when unknown).",
68
+ "path": "check_run.started_at",
69
+ "type": "string"
70
+ },
71
+ {
72
+ "description": "When the run completed, ISO 8601 (empty string when unknown).",
73
+ "path": "check_run.completed_at",
74
+ "type": "string"
75
+ },
76
+ {
77
+ "description": "The output title the app wrote on the run (empty string when none).",
78
+ "path": "check_run.output.title",
79
+ "type": "string"
80
+ },
81
+ {
82
+ "description": "The output summary, markdown (empty string when none).",
83
+ "path": "check_run.output.summary",
84
+ "type": "string"
85
+ },
86
+ {
87
+ "description": "The output text, markdown (empty string when none).",
88
+ "path": "check_run.output.text",
89
+ "type": "string"
90
+ },
91
+ {
92
+ "description": "The GitHub Actions workflow run id (empty string for a check another app reported).",
93
+ "path": "workflow_run_id",
94
+ "type": "string"
95
+ },
96
+ {
97
+ "description": "The GitHub Actions job id (empty string for a check another app reported).",
98
+ "path": "workflow_job_id",
99
+ "type": "string"
100
+ },
101
+ {
102
+ "description": "The commit CI ran on.",
103
+ "path": "head_sha",
104
+ "type": "string"
105
+ },
106
+ {
107
+ "description": "The branch CI ran on (empty string when GitHub could not map the commit to one).",
108
+ "path": "branch",
109
+ "type": "string"
110
+ },
111
+ {
112
+ "description": "The login of the commit's author (empty string when unknown).",
113
+ "path": "author",
114
+ "type": "string"
115
+ },
116
+ {
117
+ "description": "The pull request the commit belongs to (0 when none).",
118
+ "path": "pull_request.number",
119
+ "type": "integer"
120
+ },
121
+ {
122
+ "description": "The pull request title (empty string when none).",
123
+ "path": "pull_request.title",
124
+ "type": "string"
125
+ },
126
+ {
127
+ "description": "The pull request's web URL (empty string when none).",
128
+ "path": "pull_request.url",
129
+ "type": "string"
130
+ },
131
+ {
132
+ "description": "The pull request author's login (empty string when none).",
133
+ "path": "pull_request.author",
134
+ "type": "string"
135
+ },
136
+ {
137
+ "description": "The branch the pull request targets (empty string when none).",
138
+ "path": "pull_request.base_branch",
139
+ "type": "string"
140
+ },
141
+ {
142
+ "description": "The branch the pull request is from (empty string when none).",
143
+ "path": "pull_request.head_branch",
144
+ "type": "string"
145
+ },
146
+ {
147
+ "description": "Whether the pull request is a draft (false when none).",
148
+ "path": "pull_request.draft",
149
+ "type": "boolean"
150
+ },
151
+ {
152
+ "description": "The run's file annotations (the first 50), as the reporting app attached them.",
153
+ "path": "annotations",
154
+ "type": "array[object{path,start_line,end_line,level,title,message}]"
155
+ }
156
+ ],
157
+ "check_suite": [
158
+ {
159
+ "description": "The state that fired, one of the trigger's `on` values.",
160
+ "path": "action",
161
+ "type": "string"
162
+ },
163
+ {
164
+ "description": "The repository name (without the owner).",
165
+ "path": "repository.name",
166
+ "type": "string"
167
+ },
168
+ {
169
+ "description": "The repository owner's login.",
170
+ "path": "repository.owner",
171
+ "type": "string"
172
+ },
173
+ {
174
+ "description": "The repository as \"owner/name\".",
175
+ "path": "repository.full_name",
176
+ "type": "string"
177
+ },
178
+ {
179
+ "description": "The repository's default branch name.",
180
+ "path": "repository.default_branch",
181
+ "type": "string"
182
+ },
183
+ {
184
+ "description": "The check suite id.",
185
+ "path": "check_suite.id",
186
+ "type": "integer"
187
+ },
188
+ {
189
+ "description": "The app that reported the suite (e.g. \"GitHub Actions\"; empty string when unknown).",
190
+ "path": "check_suite.app",
191
+ "type": "string"
192
+ },
193
+ {
194
+ "description": "The reporting app's slug (e.g. \"github-actions\"; empty string when unknown).",
195
+ "path": "check_suite.app_slug",
196
+ "type": "string"
197
+ },
198
+ {
199
+ "description": "GitHub's conclusion for the suite.",
200
+ "path": "check_suite.conclusion",
201
+ "type": "string"
202
+ },
203
+ {
204
+ "description": "How many check runs the suite holds.",
205
+ "path": "check_suite.check_runs_count",
206
+ "type": "integer"
207
+ },
208
+ {
209
+ "description": "The commit CI ran on.",
210
+ "path": "head_sha",
211
+ "type": "string"
212
+ },
213
+ {
214
+ "description": "The branch CI ran on (empty string when GitHub could not map the commit to one).",
215
+ "path": "branch",
216
+ "type": "string"
217
+ },
218
+ {
219
+ "description": "The login of the commit's author (empty string when unknown).",
220
+ "path": "author",
221
+ "type": "string"
222
+ },
223
+ {
224
+ "description": "The pull request the commit belongs to (0 when none).",
225
+ "path": "pull_request.number",
226
+ "type": "integer"
227
+ },
228
+ {
229
+ "description": "The pull request title (empty string when none).",
230
+ "path": "pull_request.title",
231
+ "type": "string"
232
+ },
233
+ {
234
+ "description": "The pull request's web URL (empty string when none).",
235
+ "path": "pull_request.url",
236
+ "type": "string"
237
+ },
238
+ {
239
+ "description": "The pull request author's login (empty string when none).",
240
+ "path": "pull_request.author",
241
+ "type": "string"
242
+ },
243
+ {
244
+ "description": "The branch the pull request targets (empty string when none).",
245
+ "path": "pull_request.base_branch",
246
+ "type": "string"
247
+ },
248
+ {
249
+ "description": "The branch the pull request is from (empty string when none).",
250
+ "path": "pull_request.head_branch",
251
+ "type": "string"
252
+ },
253
+ {
254
+ "description": "Whether the pull request is a draft (false when none).",
255
+ "path": "pull_request.draft",
256
+ "type": "boolean"
257
+ }
258
+ ],
5
259
  "issue": [
6
260
  {
7
261
  "description": "The issue event that fired (opened | closed | commented).",
@@ -265,6 +519,78 @@
265
519
  "type": "array[object{sha,message,author}]"
266
520
  }
267
521
  ],
522
+ "release": [
523
+ {
524
+ "description": "The release event that fired (published).",
525
+ "path": "action",
526
+ "type": "string"
527
+ },
528
+ {
529
+ "description": "The repository name (without the owner).",
530
+ "path": "repository.name",
531
+ "type": "string"
532
+ },
533
+ {
534
+ "description": "The repository owner's login.",
535
+ "path": "repository.owner",
536
+ "type": "string"
537
+ },
538
+ {
539
+ "description": "The repository as \"owner/name\".",
540
+ "path": "repository.full_name",
541
+ "type": "string"
542
+ },
543
+ {
544
+ "description": "The repository's default branch name.",
545
+ "path": "repository.default_branch",
546
+ "type": "string"
547
+ },
548
+ {
549
+ "description": "The release id.",
550
+ "path": "release.id",
551
+ "type": "integer"
552
+ },
553
+ {
554
+ "description": "The release's tag name.",
555
+ "path": "release.tag",
556
+ "type": "string"
557
+ },
558
+ {
559
+ "description": "The release's name (empty string when it has none).",
560
+ "path": "release.name",
561
+ "type": "string"
562
+ },
563
+ {
564
+ "description": "The release notes, markdown (empty string when none).",
565
+ "path": "release.body",
566
+ "type": "string"
567
+ },
568
+ {
569
+ "description": "Whether the release is marked as a prerelease.",
570
+ "path": "release.prerelease",
571
+ "type": "boolean"
572
+ },
573
+ {
574
+ "description": "The branch name or commit SHA the release was cut from.",
575
+ "path": "release.target",
576
+ "type": "string"
577
+ },
578
+ {
579
+ "description": "The release's page on GitHub.",
580
+ "path": "release.url",
581
+ "type": "string"
582
+ },
583
+ {
584
+ "description": "The login of the account that published the release.",
585
+ "path": "release.author",
586
+ "type": "string"
587
+ },
588
+ {
589
+ "description": "When the release was published, ISO 8601 (empty string when unknown).",
590
+ "path": "release.published_at",
591
+ "type": "string"
592
+ }
593
+ ],
268
594
  "sentry": [
269
595
  {
270
596
  "description": "The Sentry alert kind (issue_alert | metric_alert).",
@@ -368,6 +694,245 @@
368
694
  "path": "channel.creator",
369
695
  "type": "string"
370
696
  }
697
+ ],
698
+ "status": [
699
+ {
700
+ "description": "The state that fired, one of the trigger's `on` values.",
701
+ "path": "action",
702
+ "type": "string"
703
+ },
704
+ {
705
+ "description": "The repository name (without the owner).",
706
+ "path": "repository.name",
707
+ "type": "string"
708
+ },
709
+ {
710
+ "description": "The repository owner's login.",
711
+ "path": "repository.owner",
712
+ "type": "string"
713
+ },
714
+ {
715
+ "description": "The repository as \"owner/name\".",
716
+ "path": "repository.full_name",
717
+ "type": "string"
718
+ },
719
+ {
720
+ "description": "The repository's default branch name.",
721
+ "path": "repository.default_branch",
722
+ "type": "string"
723
+ },
724
+ {
725
+ "description": "The commit status id.",
726
+ "path": "status.id",
727
+ "type": "integer"
728
+ },
729
+ {
730
+ "description": "The status's context, its name on the pull request.",
731
+ "path": "status.context",
732
+ "type": "string"
733
+ },
734
+ {
735
+ "description": "GitHub's state for the status (pending | success | failure | error).",
736
+ "path": "status.state",
737
+ "type": "string"
738
+ },
739
+ {
740
+ "description": "The description the app wrote (empty string when none).",
741
+ "path": "status.description",
742
+ "type": "string"
743
+ },
744
+ {
745
+ "description": "The app's page for the status (empty string when none).",
746
+ "path": "status.target_url",
747
+ "type": "string"
748
+ },
749
+ {
750
+ "description": "The branches whose head is the commit, as GitHub lists them (up to 10).",
751
+ "path": "branches",
752
+ "type": "array[string]"
753
+ },
754
+ {
755
+ "description": "The commit CI ran on.",
756
+ "path": "head_sha",
757
+ "type": "string"
758
+ },
759
+ {
760
+ "description": "The branch CI ran on (empty string when GitHub could not map the commit to one).",
761
+ "path": "branch",
762
+ "type": "string"
763
+ },
764
+ {
765
+ "description": "The login of the commit's author (empty string when unknown).",
766
+ "path": "author",
767
+ "type": "string"
768
+ },
769
+ {
770
+ "description": "The pull request the commit belongs to (0 when none).",
771
+ "path": "pull_request.number",
772
+ "type": "integer"
773
+ },
774
+ {
775
+ "description": "The pull request title (empty string when none).",
776
+ "path": "pull_request.title",
777
+ "type": "string"
778
+ },
779
+ {
780
+ "description": "The pull request's web URL (empty string when none).",
781
+ "path": "pull_request.url",
782
+ "type": "string"
783
+ },
784
+ {
785
+ "description": "The pull request author's login (empty string when none).",
786
+ "path": "pull_request.author",
787
+ "type": "string"
788
+ },
789
+ {
790
+ "description": "The branch the pull request targets (empty string when none).",
791
+ "path": "pull_request.base_branch",
792
+ "type": "string"
793
+ },
794
+ {
795
+ "description": "The branch the pull request is from (empty string when none).",
796
+ "path": "pull_request.head_branch",
797
+ "type": "string"
798
+ },
799
+ {
800
+ "description": "Whether the pull request is a draft (false when none).",
801
+ "path": "pull_request.draft",
802
+ "type": "boolean"
803
+ }
804
+ ],
805
+ "workflow_run": [
806
+ {
807
+ "description": "The state that fired, one of the trigger's `on` values.",
808
+ "path": "action",
809
+ "type": "string"
810
+ },
811
+ {
812
+ "description": "The repository name (without the owner).",
813
+ "path": "repository.name",
814
+ "type": "string"
815
+ },
816
+ {
817
+ "description": "The repository owner's login.",
818
+ "path": "repository.owner",
819
+ "type": "string"
820
+ },
821
+ {
822
+ "description": "The repository as \"owner/name\".",
823
+ "path": "repository.full_name",
824
+ "type": "string"
825
+ },
826
+ {
827
+ "description": "The repository's default branch name.",
828
+ "path": "repository.default_branch",
829
+ "type": "string"
830
+ },
831
+ {
832
+ "description": "The workflow run id.",
833
+ "path": "workflow_run.id",
834
+ "type": "integer"
835
+ },
836
+ {
837
+ "description": "The workflow's name.",
838
+ "path": "workflow_run.name",
839
+ "type": "string"
840
+ },
841
+ {
842
+ "description": "The run's title on the Actions tab (empty string when none).",
843
+ "path": "workflow_run.title",
844
+ "type": "string"
845
+ },
846
+ {
847
+ "description": "The workflow file (e.g. .github/workflows/ci.yml; empty string when unknown).",
848
+ "path": "workflow_run.path",
849
+ "type": "string"
850
+ },
851
+ {
852
+ "description": "What started the run (e.g. push, pull_request, schedule).",
853
+ "path": "workflow_run.event",
854
+ "type": "string"
855
+ },
856
+ {
857
+ "description": "GitHub's status for the run (requested | queued | in_progress | waiting | pending | completed).",
858
+ "path": "workflow_run.status",
859
+ "type": "string"
860
+ },
861
+ {
862
+ "description": "GitHub's conclusion for the run (empty string before it completes).",
863
+ "path": "workflow_run.conclusion",
864
+ "type": "string"
865
+ },
866
+ {
867
+ "description": "The run's number for this workflow.",
868
+ "path": "workflow_run.run_number",
869
+ "type": "integer"
870
+ },
871
+ {
872
+ "description": "The attempt, 1 for the first run and higher for re-runs.",
873
+ "path": "workflow_run.run_attempt",
874
+ "type": "integer"
875
+ },
876
+ {
877
+ "description": "The run's page on GitHub.",
878
+ "path": "workflow_run.url",
879
+ "type": "string"
880
+ },
881
+ {
882
+ "description": "When the run started, ISO 8601 (empty string when unknown).",
883
+ "path": "workflow_run.started_at",
884
+ "type": "string"
885
+ },
886
+ {
887
+ "description": "The commit CI ran on.",
888
+ "path": "head_sha",
889
+ "type": "string"
890
+ },
891
+ {
892
+ "description": "The branch CI ran on (empty string when GitHub could not map the commit to one).",
893
+ "path": "branch",
894
+ "type": "string"
895
+ },
896
+ {
897
+ "description": "The login of the commit's author (empty string when unknown).",
898
+ "path": "author",
899
+ "type": "string"
900
+ },
901
+ {
902
+ "description": "The pull request the commit belongs to (0 when none).",
903
+ "path": "pull_request.number",
904
+ "type": "integer"
905
+ },
906
+ {
907
+ "description": "The pull request title (empty string when none).",
908
+ "path": "pull_request.title",
909
+ "type": "string"
910
+ },
911
+ {
912
+ "description": "The pull request's web URL (empty string when none).",
913
+ "path": "pull_request.url",
914
+ "type": "string"
915
+ },
916
+ {
917
+ "description": "The pull request author's login (empty string when none).",
918
+ "path": "pull_request.author",
919
+ "type": "string"
920
+ },
921
+ {
922
+ "description": "The branch the pull request targets (empty string when none).",
923
+ "path": "pull_request.base_branch",
924
+ "type": "string"
925
+ },
926
+ {
927
+ "description": "The branch the pull request is from (empty string when none).",
928
+ "path": "pull_request.head_branch",
929
+ "type": "string"
930
+ },
931
+ {
932
+ "description": "Whether the pull request is a draft (false when none).",
933
+ "path": "pull_request.draft",
934
+ "type": "boolean"
935
+ }
371
936
  ]
372
937
  },
373
938
  "title": "TriggerFields"