@almadar/std 3.2.3 → 3.3.5

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 (163) hide show
  1. package/LICENSE +72 -21
  2. package/README.md +1 -1
  3. package/behaviors/exports/atoms/std-combat-log.orb +12 -12
  4. package/behaviors/exports/atoms/std-dialogue-box.orb +11 -11
  5. package/behaviors/exports/atoms/std-game-audio.orb +9 -9
  6. package/behaviors/exports/atoms/std-game-canvas3d.orb +24 -24
  7. package/behaviors/exports/atoms/std-game-hud.orb +10 -10
  8. package/behaviors/exports/atoms/std-game-menu.orb +12 -12
  9. package/behaviors/exports/atoms/std-game-over-screen.orb +9 -9
  10. package/behaviors/exports/atoms/std-inventory-panel.orb +13 -13
  11. package/behaviors/exports/atoms/std-isometric-canvas.orb +9 -9
  12. package/behaviors/exports/atoms/std-platformer-canvas.orb +9 -9
  13. package/behaviors/exports/atoms/std-score-board.orb +9 -9
  14. package/behaviors/exports/atoms/std-selection.orb +32 -18
  15. package/behaviors/exports/atoms/std-service-custom-bearer.orb +557 -0
  16. package/behaviors/exports/atoms/std-service-custom-header.orb +559 -0
  17. package/behaviors/exports/atoms/std-service-custom-noauth.orb +553 -0
  18. package/behaviors/exports/atoms/std-service-custom-query.orb +559 -0
  19. package/behaviors/exports/atoms/std-service-email.orb +540 -0
  20. package/behaviors/exports/atoms/std-service-github.orb +586 -0
  21. package/behaviors/exports/atoms/std-service-llm.orb +671 -0
  22. package/behaviors/exports/atoms/std-service-oauth.orb +764 -0
  23. package/behaviors/exports/atoms/std-service-redis.orb +580 -0
  24. package/behaviors/exports/atoms/std-service-storage.orb +664 -0
  25. package/behaviors/exports/atoms/std-service-stripe.orb +639 -0
  26. package/behaviors/exports/atoms/std-service-twilio.orb +611 -0
  27. package/behaviors/exports/atoms/std-service-youtube.orb +696 -0
  28. package/behaviors/exports/atoms/std-simulation-canvas.orb +9 -9
  29. package/behaviors/exports/atoms/std-sprite.orb +17 -17
  30. package/behaviors/exports/atoms/std-validate-on-save.orb +623 -0
  31. package/behaviors/exports/molecules/std-quiz.orb +48 -24
  32. package/behaviors/exports/molecules/std-service-content-pipeline.orb +915 -0
  33. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +860 -0
  34. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  35. package/behaviors/exports/molecules/std-service-notification-hub.orb +696 -0
  36. package/behaviors/exports/molecules/std-service-payment-flow.orb +873 -0
  37. package/behaviors/exports/organisms/std-service-marketplace.orb +5191 -0
  38. package/behaviors/exports/organisms/std-service-research-assistant.orb +3568 -0
  39. package/behaviors/exports/test-schemas/os-trigger-simulation.orb +202 -0
  40. package/behaviors/exports/validation-report.json +2 -2
  41. package/dist/behaviors/exports/atoms/std-combat-log.orb +12 -12
  42. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +11 -11
  43. package/dist/behaviors/exports/atoms/std-game-audio.orb +9 -9
  44. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +24 -24
  45. package/dist/behaviors/exports/atoms/std-game-hud.orb +10 -10
  46. package/dist/behaviors/exports/atoms/std-game-menu.orb +12 -12
  47. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +9 -9
  48. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +13 -13
  49. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +9 -9
  50. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +9 -9
  51. package/dist/behaviors/exports/atoms/std-score-board.orb +9 -9
  52. package/dist/behaviors/exports/atoms/std-selection.orb +32 -18
  53. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +557 -0
  54. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +559 -0
  55. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +553 -0
  56. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +559 -0
  57. package/dist/behaviors/exports/atoms/std-service-email.orb +540 -0
  58. package/dist/behaviors/exports/atoms/std-service-github.orb +586 -0
  59. package/dist/behaviors/exports/atoms/std-service-llm.orb +671 -0
  60. package/dist/behaviors/exports/atoms/std-service-oauth.orb +764 -0
  61. package/dist/behaviors/exports/atoms/std-service-redis.orb +580 -0
  62. package/dist/behaviors/exports/atoms/std-service-storage.orb +664 -0
  63. package/dist/behaviors/exports/atoms/std-service-stripe.orb +639 -0
  64. package/dist/behaviors/exports/atoms/std-service-twilio.orb +611 -0
  65. package/dist/behaviors/exports/atoms/std-service-youtube.orb +696 -0
  66. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +9 -9
  67. package/dist/behaviors/exports/atoms/std-sprite.orb +17 -17
  68. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +623 -0
  69. package/dist/behaviors/exports/molecules/std-quiz.orb +48 -24
  70. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +915 -0
  71. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +860 -0
  72. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  73. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +696 -0
  74. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +873 -0
  75. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +5191 -0
  76. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +3568 -0
  77. package/dist/behaviors/exports/test-schemas/os-trigger-simulation.orb +202 -0
  78. package/dist/behaviors/exports/validation-report.json +2 -2
  79. package/dist/behaviors/functions/index.d.ts +662 -1
  80. package/dist/behaviors/functions/index.js +7638 -2117
  81. package/dist/behaviors/functions/index.js.map +1 -1
  82. package/dist/behaviors/index.d.ts +1 -1
  83. package/dist/behaviors/index.js +7638 -2117
  84. package/dist/behaviors/index.js.map +1 -1
  85. package/dist/exports/atoms/std-combat-log.orb +12 -12
  86. package/dist/exports/atoms/std-dialogue-box.orb +11 -11
  87. package/dist/exports/atoms/std-game-audio.orb +9 -9
  88. package/dist/exports/atoms/std-game-canvas3d.orb +24 -24
  89. package/dist/exports/atoms/std-game-hud.orb +10 -10
  90. package/dist/exports/atoms/std-game-menu.orb +12 -12
  91. package/dist/exports/atoms/std-game-over-screen.orb +9 -9
  92. package/dist/exports/atoms/std-inventory-panel.orb +13 -13
  93. package/dist/exports/atoms/std-isometric-canvas.orb +9 -9
  94. package/dist/exports/atoms/std-platformer-canvas.orb +9 -9
  95. package/dist/exports/atoms/std-score-board.orb +9 -9
  96. package/dist/exports/atoms/std-selection.orb +32 -18
  97. package/dist/exports/atoms/std-service-custom-bearer.orb +557 -0
  98. package/dist/exports/atoms/std-service-custom-header.orb +559 -0
  99. package/dist/exports/atoms/std-service-custom-noauth.orb +553 -0
  100. package/dist/exports/atoms/std-service-custom-query.orb +559 -0
  101. package/dist/exports/atoms/std-service-email.orb +540 -0
  102. package/dist/exports/atoms/std-service-github.orb +586 -0
  103. package/dist/exports/atoms/std-service-llm.orb +671 -0
  104. package/dist/exports/atoms/std-service-oauth.orb +764 -0
  105. package/dist/exports/atoms/std-service-redis.orb +580 -0
  106. package/dist/exports/atoms/std-service-storage.orb +664 -0
  107. package/dist/exports/atoms/std-service-stripe.orb +639 -0
  108. package/dist/exports/atoms/std-service-twilio.orb +611 -0
  109. package/dist/exports/atoms/std-service-youtube.orb +696 -0
  110. package/dist/exports/atoms/std-simulation-canvas.orb +9 -9
  111. package/dist/exports/atoms/std-sprite.orb +17 -17
  112. package/dist/exports/atoms/std-validate-on-save.orb +623 -0
  113. package/dist/exports/molecules/std-quiz.orb +48 -24
  114. package/dist/exports/molecules/std-service-content-pipeline.orb +915 -0
  115. package/dist/exports/molecules/std-service-custom-api-tester.orb +860 -0
  116. package/dist/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  117. package/dist/exports/molecules/std-service-notification-hub.orb +696 -0
  118. package/dist/exports/molecules/std-service-payment-flow.orb +873 -0
  119. package/dist/exports/organisms/std-service-marketplace.orb +5191 -0
  120. package/dist/exports/organisms/std-service-research-assistant.orb +3568 -0
  121. package/dist/exports/test-schemas/os-trigger-simulation.orb +202 -0
  122. package/dist/exports/validation-report.json +2 -2
  123. package/dist/index.d.ts +3 -3
  124. package/dist/index.js +7887 -2216
  125. package/dist/index.js.map +1 -1
  126. package/dist/modules/array.d.ts +1 -1
  127. package/dist/modules/async.d.ts +1 -1
  128. package/dist/modules/contract.d.ts +22 -0
  129. package/dist/modules/contract.js +100 -0
  130. package/dist/modules/contract.js.map +1 -0
  131. package/dist/modules/data.d.ts +22 -0
  132. package/dist/modules/data.js +117 -0
  133. package/dist/modules/data.js.map +1 -0
  134. package/dist/modules/format.d.ts +1 -1
  135. package/dist/modules/graph.d.ts +23 -0
  136. package/dist/modules/graph.js +209 -0
  137. package/dist/modules/graph.js.map +1 -0
  138. package/dist/modules/index.d.ts +5 -1
  139. package/dist/modules/index.js +593 -63
  140. package/dist/modules/index.js.map +1 -1
  141. package/dist/modules/math.d.ts +1 -1
  142. package/dist/modules/nn.d.ts +1 -1
  143. package/dist/modules/nn.js +14 -14
  144. package/dist/modules/nn.js.map +1 -1
  145. package/dist/modules/object.d.ts +1 -1
  146. package/dist/modules/os.d.ts +19 -0
  147. package/dist/modules/os.js +116 -0
  148. package/dist/modules/os.js.map +1 -0
  149. package/dist/modules/prob.d.ts +1 -1
  150. package/dist/modules/str.d.ts +1 -1
  151. package/dist/modules/tensor.d.ts +1 -1
  152. package/dist/modules/tensor.js +29 -29
  153. package/dist/modules/tensor.js.map +1 -1
  154. package/dist/modules/time.d.ts +1 -1
  155. package/dist/modules/train.d.ts +1 -1
  156. package/dist/modules/train.js +19 -19
  157. package/dist/modules/train.js.map +1 -1
  158. package/dist/modules/validate.d.ts +1 -1
  159. package/dist/registry.d.ts +2 -2
  160. package/dist/registry.js +184 -65
  161. package/dist/registry.js.map +1 -1
  162. package/dist/{types-CmNM_IbV.d.ts → types-DOeGXRCm.d.ts} +3 -3
  163. package/package.json +4 -4
@@ -0,0 +1,586 @@
1
+ {
2
+ "name": "ServiceGithubOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "ServiceGithubOrbital",
6
+ "entity": {
7
+ "name": "ServiceGithub",
8
+ "persistence": "runtime",
9
+ "fields": [
10
+ {
11
+ "name": "id",
12
+ "type": "string",
13
+ "required": true
14
+ },
15
+ {
16
+ "name": "title",
17
+ "type": "string",
18
+ "default": ""
19
+ },
20
+ {
21
+ "name": "body",
22
+ "type": "string",
23
+ "default": ""
24
+ },
25
+ {
26
+ "name": "head",
27
+ "type": "string",
28
+ "default": ""
29
+ },
30
+ {
31
+ "name": "base",
32
+ "type": "string",
33
+ "default": "main"
34
+ },
35
+ {
36
+ "name": "prUrl",
37
+ "type": "string",
38
+ "default": ""
39
+ },
40
+ {
41
+ "name": "prNumber",
42
+ "type": "number",
43
+ "default": 0
44
+ },
45
+ {
46
+ "name": "ghStatus",
47
+ "type": "string",
48
+ "default": "idle"
49
+ },
50
+ {
51
+ "name": "error",
52
+ "type": "string",
53
+ "default": ""
54
+ },
55
+ {
56
+ "name": "name",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "name": "description",
61
+ "type": "string"
62
+ },
63
+ {
64
+ "name": "status",
65
+ "type": "string",
66
+ "default": "active",
67
+ "values": [
68
+ "active",
69
+ "inactive",
70
+ "pending"
71
+ ]
72
+ },
73
+ {
74
+ "name": "createdAt",
75
+ "type": "string"
76
+ }
77
+ ]
78
+ },
79
+ "traits": [
80
+ {
81
+ "name": "ServiceGithubGithub",
82
+ "linkedEntity": "ServiceGithub",
83
+ "category": "interaction",
84
+ "stateMachine": {
85
+ "states": [
86
+ {
87
+ "name": "idle",
88
+ "isInitial": true
89
+ },
90
+ {
91
+ "name": "creatingPR"
92
+ },
93
+ {
94
+ "name": "prCreated"
95
+ },
96
+ {
97
+ "name": "error"
98
+ }
99
+ ],
100
+ "events": [
101
+ {
102
+ "key": "INIT",
103
+ "name": "Initialize"
104
+ },
105
+ {
106
+ "key": "CREATE_PR",
107
+ "name": "Create Pull Request"
108
+ },
109
+ {
110
+ "key": "PR_CREATED",
111
+ "name": "PR Created",
112
+ "payload": [
113
+ {
114
+ "name": "url",
115
+ "type": "string",
116
+ "required": true
117
+ },
118
+ {
119
+ "name": "number",
120
+ "type": "number",
121
+ "required": true
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "key": "FAILED",
127
+ "name": "Failed",
128
+ "payload": [
129
+ {
130
+ "name": "error",
131
+ "type": "string",
132
+ "required": true
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "key": "RETRY",
138
+ "name": "Retry"
139
+ },
140
+ {
141
+ "key": "RESET",
142
+ "name": "Reset"
143
+ }
144
+ ],
145
+ "transitions": [
146
+ {
147
+ "from": "idle",
148
+ "to": "idle",
149
+ "event": "INIT",
150
+ "effects": [
151
+ [
152
+ "fetch",
153
+ "ServiceGithub"
154
+ ],
155
+ [
156
+ "render-ui",
157
+ "main",
158
+ {
159
+ "type": "stack",
160
+ "direction": "vertical",
161
+ "gap": "lg",
162
+ "align": "center",
163
+ "children": [
164
+ {
165
+ "type": "stack",
166
+ "direction": "horizontal",
167
+ "gap": "md",
168
+ "align": "center",
169
+ "children": [
170
+ {
171
+ "type": "icon",
172
+ "name": "git-pull-request",
173
+ "size": "lg"
174
+ },
175
+ {
176
+ "type": "typography",
177
+ "content": "Create Pull Request",
178
+ "variant": "h2"
179
+ }
180
+ ]
181
+ },
182
+ {
183
+ "type": "divider"
184
+ },
185
+ {
186
+ "type": "stack",
187
+ "direction": "vertical",
188
+ "gap": "md",
189
+ "children": [
190
+ {
191
+ "type": "input",
192
+ "label": "Title",
193
+ "field": "title",
194
+ "placeholder": "PR title"
195
+ },
196
+ {
197
+ "type": "textarea",
198
+ "label": "Body",
199
+ "field": "body",
200
+ "placeholder": "Describe your changes..."
201
+ },
202
+ {
203
+ "type": "input",
204
+ "label": "Head Branch",
205
+ "field": "head",
206
+ "placeholder": "feature-branch"
207
+ },
208
+ {
209
+ "type": "input",
210
+ "label": "Base Branch",
211
+ "field": "base",
212
+ "placeholder": "main"
213
+ }
214
+ ]
215
+ },
216
+ {
217
+ "type": "button",
218
+ "label": "Create PR",
219
+ "event": "CREATE_PR",
220
+ "variant": "primary",
221
+ "icon": "git-pull-request"
222
+ }
223
+ ]
224
+ }
225
+ ]
226
+ ]
227
+ },
228
+ {
229
+ "from": "idle",
230
+ "to": "creatingPR",
231
+ "event": "CREATE_PR",
232
+ "effects": [
233
+ [
234
+ "render-ui",
235
+ "main",
236
+ {
237
+ "type": "loading-state",
238
+ "title": "Creating pull request...",
239
+ "message": "Submitting your PR to GitHub."
240
+ }
241
+ ],
242
+ [
243
+ "call-service",
244
+ "github",
245
+ "createPR",
246
+ {
247
+ "title": "@entity.title",
248
+ "body": "@entity.body",
249
+ "head": "@entity.head",
250
+ "base": "@entity.base"
251
+ }
252
+ ]
253
+ ]
254
+ },
255
+ {
256
+ "from": "creatingPR",
257
+ "to": "prCreated",
258
+ "event": "PR_CREATED",
259
+ "effects": [
260
+ [
261
+ "set",
262
+ "@entity.prUrl",
263
+ "@payload.url"
264
+ ],
265
+ [
266
+ "set",
267
+ "@entity.prNumber",
268
+ "@payload.number"
269
+ ],
270
+ [
271
+ "set",
272
+ "@entity.ghStatus",
273
+ "created"
274
+ ],
275
+ [
276
+ "render-ui",
277
+ "main",
278
+ {
279
+ "type": "stack",
280
+ "direction": "vertical",
281
+ "gap": "lg",
282
+ "align": "center",
283
+ "children": [
284
+ {
285
+ "type": "icon",
286
+ "name": "check-circle",
287
+ "size": "lg"
288
+ },
289
+ {
290
+ "type": "alert",
291
+ "variant": "success",
292
+ "message": "Pull request created!"
293
+ },
294
+ {
295
+ "type": "typography",
296
+ "variant": "body",
297
+ "color": "muted",
298
+ "content": "@entity.prUrl"
299
+ },
300
+ {
301
+ "type": "button",
302
+ "label": "Create Another",
303
+ "event": "RESET",
304
+ "variant": "ghost",
305
+ "icon": "rotate-ccw"
306
+ }
307
+ ]
308
+ }
309
+ ]
310
+ ]
311
+ },
312
+ {
313
+ "from": "creatingPR",
314
+ "to": "error",
315
+ "event": "FAILED",
316
+ "effects": [
317
+ [
318
+ "set",
319
+ "@entity.error",
320
+ "@payload.error"
321
+ ],
322
+ [
323
+ "render-ui",
324
+ "main",
325
+ {
326
+ "type": "error-state",
327
+ "title": "PR Creation Failed",
328
+ "message": "@entity.error",
329
+ "onRetry": "RETRY"
330
+ }
331
+ ]
332
+ ]
333
+ },
334
+ {
335
+ "from": "error",
336
+ "to": "idle",
337
+ "event": "RETRY",
338
+ "effects": [
339
+ [
340
+ "render-ui",
341
+ "main",
342
+ {
343
+ "type": "stack",
344
+ "direction": "vertical",
345
+ "gap": "lg",
346
+ "align": "center",
347
+ "children": [
348
+ {
349
+ "type": "stack",
350
+ "direction": "horizontal",
351
+ "gap": "md",
352
+ "align": "center",
353
+ "children": [
354
+ {
355
+ "type": "icon",
356
+ "name": "git-pull-request",
357
+ "size": "lg"
358
+ },
359
+ {
360
+ "type": "typography",
361
+ "content": "Create Pull Request",
362
+ "variant": "h2"
363
+ }
364
+ ]
365
+ },
366
+ {
367
+ "type": "divider"
368
+ },
369
+ {
370
+ "type": "stack",
371
+ "direction": "vertical",
372
+ "gap": "md",
373
+ "children": [
374
+ {
375
+ "type": "input",
376
+ "label": "Title",
377
+ "field": "title",
378
+ "placeholder": "PR title"
379
+ },
380
+ {
381
+ "type": "textarea",
382
+ "label": "Body",
383
+ "field": "body",
384
+ "placeholder": "Describe your changes..."
385
+ },
386
+ {
387
+ "type": "input",
388
+ "label": "Head Branch",
389
+ "field": "head",
390
+ "placeholder": "feature-branch"
391
+ },
392
+ {
393
+ "type": "input",
394
+ "label": "Base Branch",
395
+ "field": "base",
396
+ "placeholder": "main"
397
+ }
398
+ ]
399
+ },
400
+ {
401
+ "type": "button",
402
+ "label": "Create PR",
403
+ "event": "CREATE_PR",
404
+ "variant": "primary",
405
+ "icon": "git-pull-request"
406
+ }
407
+ ]
408
+ }
409
+ ]
410
+ ]
411
+ },
412
+ {
413
+ "from": "prCreated",
414
+ "to": "idle",
415
+ "event": "RESET",
416
+ "effects": [
417
+ [
418
+ "render-ui",
419
+ "main",
420
+ {
421
+ "type": "stack",
422
+ "direction": "vertical",
423
+ "gap": "lg",
424
+ "align": "center",
425
+ "children": [
426
+ {
427
+ "type": "stack",
428
+ "direction": "horizontal",
429
+ "gap": "md",
430
+ "align": "center",
431
+ "children": [
432
+ {
433
+ "type": "icon",
434
+ "name": "git-pull-request",
435
+ "size": "lg"
436
+ },
437
+ {
438
+ "type": "typography",
439
+ "content": "Create Pull Request",
440
+ "variant": "h2"
441
+ }
442
+ ]
443
+ },
444
+ {
445
+ "type": "divider"
446
+ },
447
+ {
448
+ "type": "stack",
449
+ "direction": "vertical",
450
+ "gap": "md",
451
+ "children": [
452
+ {
453
+ "type": "input",
454
+ "label": "Title",
455
+ "field": "title",
456
+ "placeholder": "PR title"
457
+ },
458
+ {
459
+ "type": "textarea",
460
+ "label": "Body",
461
+ "field": "body",
462
+ "placeholder": "Describe your changes..."
463
+ },
464
+ {
465
+ "type": "input",
466
+ "label": "Head Branch",
467
+ "field": "head",
468
+ "placeholder": "feature-branch"
469
+ },
470
+ {
471
+ "type": "input",
472
+ "label": "Base Branch",
473
+ "field": "base",
474
+ "placeholder": "main"
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "type": "button",
480
+ "label": "Create PR",
481
+ "event": "CREATE_PR",
482
+ "variant": "primary",
483
+ "icon": "git-pull-request"
484
+ }
485
+ ]
486
+ }
487
+ ]
488
+ ]
489
+ },
490
+ {
491
+ "from": "error",
492
+ "to": "idle",
493
+ "event": "RESET",
494
+ "effects": [
495
+ [
496
+ "render-ui",
497
+ "main",
498
+ {
499
+ "type": "stack",
500
+ "direction": "vertical",
501
+ "gap": "lg",
502
+ "align": "center",
503
+ "children": [
504
+ {
505
+ "type": "stack",
506
+ "direction": "horizontal",
507
+ "gap": "md",
508
+ "align": "center",
509
+ "children": [
510
+ {
511
+ "type": "icon",
512
+ "name": "git-pull-request",
513
+ "size": "lg"
514
+ },
515
+ {
516
+ "type": "typography",
517
+ "content": "Create Pull Request",
518
+ "variant": "h2"
519
+ }
520
+ ]
521
+ },
522
+ {
523
+ "type": "divider"
524
+ },
525
+ {
526
+ "type": "stack",
527
+ "direction": "vertical",
528
+ "gap": "md",
529
+ "children": [
530
+ {
531
+ "type": "input",
532
+ "label": "Title",
533
+ "field": "title",
534
+ "placeholder": "PR title"
535
+ },
536
+ {
537
+ "type": "textarea",
538
+ "label": "Body",
539
+ "field": "body",
540
+ "placeholder": "Describe your changes..."
541
+ },
542
+ {
543
+ "type": "input",
544
+ "label": "Head Branch",
545
+ "field": "head",
546
+ "placeholder": "feature-branch"
547
+ },
548
+ {
549
+ "type": "input",
550
+ "label": "Base Branch",
551
+ "field": "base",
552
+ "placeholder": "main"
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "type": "button",
558
+ "label": "Create PR",
559
+ "event": "CREATE_PR",
560
+ "variant": "primary",
561
+ "icon": "git-pull-request"
562
+ }
563
+ ]
564
+ }
565
+ ]
566
+ ]
567
+ }
568
+ ]
569
+ }
570
+ }
571
+ ],
572
+ "pages": [
573
+ {
574
+ "name": "ServiceGithubPage",
575
+ "path": "/servicegithubs",
576
+ "traits": [
577
+ {
578
+ "ref": "ServiceGithubGithub"
579
+ }
580
+ ]
581
+ }
582
+ ]
583
+ }
584
+ ],
585
+ "description": "GitHub service integration behavior: idle, creatingPR, prCreated, error. Wraps the `github` integration (listIssues, createPR) with a PR creation flow. Pure function: params in, OrbitalDefinition out."
586
+ }