@almadar/std 3.12.1 → 3.13.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 (149) hide show
  1. package/behaviors/exports/atoms/std-agent-classifier.orb +402 -0
  2. package/behaviors/exports/atoms/std-agent-completion.orb +469 -0
  3. package/behaviors/exports/atoms/std-agent-context-window.orb +790 -0
  4. package/behaviors/exports/atoms/std-agent-conversation.orb +737 -0
  5. package/behaviors/exports/atoms/std-agent-memory.orb +627 -0
  6. package/behaviors/exports/atoms/std-agent-provider.orb +402 -0
  7. package/behaviors/exports/atoms/std-agent-search.orb +418 -0
  8. package/behaviors/exports/atoms/std-agent-session.orb +825 -0
  9. package/behaviors/exports/atoms/std-agent-tool-call.orb +380 -0
  10. package/behaviors/exports/atoms/std-wizard.orb +63 -70
  11. package/behaviors/exports/molecules/std-agent-fix-loop.orb +1213 -0
  12. package/behaviors/exports/molecules/std-agent-learner.orb +1143 -0
  13. package/behaviors/exports/molecules/std-agent-planner.orb +898 -0
  14. package/behaviors/exports/molecules/std-agent-rag.orb +736 -0
  15. package/behaviors/exports/molecules/std-agent-tool-loop.orb +1237 -0
  16. package/behaviors/exports/molecules/std-detail.orb +4 -0
  17. package/behaviors/exports/molecules/std-geospatial.orb +4 -0
  18. package/behaviors/exports/molecules/std-inventory.orb +8 -0
  19. package/behaviors/exports/molecules/std-list.orb +18 -1
  20. package/behaviors/exports/molecules/std-messaging.orb +4 -0
  21. package/behaviors/exports/organisms/std-agent-assistant.orb +2288 -0
  22. package/behaviors/exports/organisms/std-agent-builder.orb +2664 -0
  23. package/behaviors/exports/organisms/std-agent-pipeline.orb +2307 -0
  24. package/behaviors/exports/organisms/std-agent-reviewer.orb +1743 -0
  25. package/behaviors/exports/organisms/std-agent-tutor.orb +2303 -0
  26. package/behaviors/exports/organisms/std-api-gateway.orb +18 -1
  27. package/behaviors/exports/organisms/std-booking-system.orb +131 -104
  28. package/behaviors/exports/organisms/std-cicd-pipeline.orb +18 -1
  29. package/behaviors/exports/organisms/std-cms.orb +40 -2
  30. package/behaviors/exports/organisms/std-crm.orb +40 -2
  31. package/behaviors/exports/organisms/std-devops-dashboard.orb +18 -1
  32. package/behaviors/exports/organisms/std-finance-tracker.orb +22 -1
  33. package/behaviors/exports/organisms/std-healthcare.orb +167 -136
  34. package/behaviors/exports/organisms/std-helpdesk.orb +22 -1
  35. package/behaviors/exports/organisms/std-hr-portal.orb +115 -88
  36. package/behaviors/exports/organisms/std-iot-dashboard.orb +18 -1
  37. package/behaviors/exports/organisms/std-lms.orb +97 -87
  38. package/behaviors/exports/organisms/std-platformer-app.orb +8 -0
  39. package/behaviors/exports/organisms/std-project-manager.orb +36 -2
  40. package/behaviors/exports/organisms/std-realtime-chat.orb +22 -1
  41. package/behaviors/exports/organisms/std-rpg-game.orb +8 -0
  42. package/behaviors/exports/organisms/std-service-marketplace.orb +36 -2
  43. package/behaviors/exports/organisms/std-social-feed.orb +8 -0
  44. package/behaviors/exports/organisms/std-trading-dashboard.orb +18 -1
  45. package/behaviors/exports/validation-report.json +1425 -0
  46. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +402 -0
  47. package/dist/behaviors/exports/atoms/std-agent-completion.orb +469 -0
  48. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +790 -0
  49. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +737 -0
  50. package/dist/behaviors/exports/atoms/std-agent-memory.orb +627 -0
  51. package/dist/behaviors/exports/atoms/std-agent-provider.orb +402 -0
  52. package/dist/behaviors/exports/atoms/std-agent-search.orb +418 -0
  53. package/dist/behaviors/exports/atoms/std-agent-session.orb +825 -0
  54. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +380 -0
  55. package/dist/behaviors/exports/atoms/std-wizard.orb +63 -70
  56. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +1213 -0
  57. package/dist/behaviors/exports/molecules/std-agent-learner.orb +1143 -0
  58. package/dist/behaviors/exports/molecules/std-agent-planner.orb +898 -0
  59. package/dist/behaviors/exports/molecules/std-agent-rag.orb +736 -0
  60. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +1237 -0
  61. package/dist/behaviors/exports/molecules/std-detail.orb +4 -0
  62. package/dist/behaviors/exports/molecules/std-geospatial.orb +4 -0
  63. package/dist/behaviors/exports/molecules/std-inventory.orb +8 -0
  64. package/dist/behaviors/exports/molecules/std-list.orb +18 -1
  65. package/dist/behaviors/exports/molecules/std-messaging.orb +4 -0
  66. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +2288 -0
  67. package/dist/behaviors/exports/organisms/std-agent-builder.orb +2664 -0
  68. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +2307 -0
  69. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +1743 -0
  70. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +2303 -0
  71. package/dist/behaviors/exports/organisms/std-api-gateway.orb +18 -1
  72. package/dist/behaviors/exports/organisms/std-booking-system.orb +131 -104
  73. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +18 -1
  74. package/dist/behaviors/exports/organisms/std-cms.orb +40 -2
  75. package/dist/behaviors/exports/organisms/std-crm.orb +40 -2
  76. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +18 -1
  77. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +22 -1
  78. package/dist/behaviors/exports/organisms/std-healthcare.orb +167 -136
  79. package/dist/behaviors/exports/organisms/std-helpdesk.orb +22 -1
  80. package/dist/behaviors/exports/organisms/std-hr-portal.orb +115 -88
  81. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +18 -1
  82. package/dist/behaviors/exports/organisms/std-lms.orb +97 -87
  83. package/dist/behaviors/exports/organisms/std-platformer-app.orb +8 -0
  84. package/dist/behaviors/exports/organisms/std-project-manager.orb +36 -2
  85. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +22 -1
  86. package/dist/behaviors/exports/organisms/std-rpg-game.orb +8 -0
  87. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +36 -2
  88. package/dist/behaviors/exports/organisms/std-social-feed.orb +8 -0
  89. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +18 -1
  90. package/dist/behaviors/exports/validation-report.json +1425 -0
  91. package/dist/behaviors/exports-reader.js +6345 -175
  92. package/dist/behaviors/exports-reader.js.map +1 -1
  93. package/dist/behaviors/functions/index.d.ts +620 -1
  94. package/dist/behaviors/functions/index.js +6285 -176
  95. package/dist/behaviors/functions/index.js.map +1 -1
  96. package/dist/behaviors/index.d.ts +1 -1
  97. package/dist/behaviors/index.js +6348 -178
  98. package/dist/behaviors/index.js.map +1 -1
  99. package/dist/behaviors/query.js +6347 -177
  100. package/dist/behaviors/query.js.map +1 -1
  101. package/dist/exports/atoms/std-agent-classifier.orb +402 -0
  102. package/dist/exports/atoms/std-agent-completion.orb +469 -0
  103. package/dist/exports/atoms/std-agent-context-window.orb +790 -0
  104. package/dist/exports/atoms/std-agent-conversation.orb +737 -0
  105. package/dist/exports/atoms/std-agent-memory.orb +627 -0
  106. package/dist/exports/atoms/std-agent-provider.orb +402 -0
  107. package/dist/exports/atoms/std-agent-search.orb +418 -0
  108. package/dist/exports/atoms/std-agent-session.orb +825 -0
  109. package/dist/exports/atoms/std-agent-tool-call.orb +380 -0
  110. package/dist/exports/atoms/std-wizard.orb +63 -70
  111. package/dist/exports/molecules/std-agent-fix-loop.orb +1213 -0
  112. package/dist/exports/molecules/std-agent-learner.orb +1143 -0
  113. package/dist/exports/molecules/std-agent-planner.orb +898 -0
  114. package/dist/exports/molecules/std-agent-rag.orb +736 -0
  115. package/dist/exports/molecules/std-agent-tool-loop.orb +1237 -0
  116. package/dist/exports/molecules/std-detail.orb +4 -0
  117. package/dist/exports/molecules/std-geospatial.orb +4 -0
  118. package/dist/exports/molecules/std-inventory.orb +8 -0
  119. package/dist/exports/molecules/std-list.orb +18 -1
  120. package/dist/exports/molecules/std-messaging.orb +4 -0
  121. package/dist/exports/organisms/std-agent-assistant.orb +2288 -0
  122. package/dist/exports/organisms/std-agent-builder.orb +2664 -0
  123. package/dist/exports/organisms/std-agent-pipeline.orb +2307 -0
  124. package/dist/exports/organisms/std-agent-reviewer.orb +1743 -0
  125. package/dist/exports/organisms/std-agent-tutor.orb +2303 -0
  126. package/dist/exports/organisms/std-api-gateway.orb +18 -1
  127. package/dist/exports/organisms/std-booking-system.orb +131 -104
  128. package/dist/exports/organisms/std-cicd-pipeline.orb +18 -1
  129. package/dist/exports/organisms/std-cms.orb +40 -2
  130. package/dist/exports/organisms/std-crm.orb +40 -2
  131. package/dist/exports/organisms/std-devops-dashboard.orb +18 -1
  132. package/dist/exports/organisms/std-finance-tracker.orb +22 -1
  133. package/dist/exports/organisms/std-healthcare.orb +167 -136
  134. package/dist/exports/organisms/std-helpdesk.orb +22 -1
  135. package/dist/exports/organisms/std-hr-portal.orb +115 -88
  136. package/dist/exports/organisms/std-iot-dashboard.orb +18 -1
  137. package/dist/exports/organisms/std-lms.orb +97 -87
  138. package/dist/exports/organisms/std-platformer-app.orb +8 -0
  139. package/dist/exports/organisms/std-project-manager.orb +36 -2
  140. package/dist/exports/organisms/std-realtime-chat.orb +22 -1
  141. package/dist/exports/organisms/std-rpg-game.orb +8 -0
  142. package/dist/exports/organisms/std-service-marketplace.orb +36 -2
  143. package/dist/exports/organisms/std-social-feed.orb +8 -0
  144. package/dist/exports/organisms/std-trading-dashboard.orb +18 -1
  145. package/dist/exports/validation-report.json +1425 -0
  146. package/dist/index.d.ts +1 -1
  147. package/dist/index.js +6348 -178
  148. package/dist/index.js.map +1 -1
  149. package/package.json +1 -1
@@ -0,0 +1,469 @@
1
+ {
2
+ "name": "AgentCompletionOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "AgentCompletionOrbital",
6
+ "entity": {
7
+ "name": "AgentCompletion",
8
+ "persistence": "persistent",
9
+ "collection": "agentcompletions",
10
+ "fields": [
11
+ {
12
+ "name": "id",
13
+ "type": "string"
14
+ },
15
+ {
16
+ "name": "name",
17
+ "type": "string"
18
+ },
19
+ {
20
+ "name": "description",
21
+ "type": "string"
22
+ },
23
+ {
24
+ "name": "status",
25
+ "type": "string",
26
+ "default": "active",
27
+ "values": [
28
+ "active",
29
+ "inactive",
30
+ "pending"
31
+ ]
32
+ },
33
+ {
34
+ "name": "createdAt",
35
+ "type": "string"
36
+ },
37
+ {
38
+ "name": "prompt",
39
+ "type": "string",
40
+ "default": ""
41
+ },
42
+ {
43
+ "name": "response",
44
+ "type": "string",
45
+ "default": ""
46
+ },
47
+ {
48
+ "name": "provider",
49
+ "type": "string",
50
+ "default": "anthropic"
51
+ },
52
+ {
53
+ "name": "model",
54
+ "type": "string",
55
+ "default": "claude-sonnet-4-20250514"
56
+ },
57
+ {
58
+ "name": "error",
59
+ "type": "string",
60
+ "default": ""
61
+ }
62
+ ]
63
+ },
64
+ "traits": [
65
+ {
66
+ "name": "AgentCompletionFlow",
67
+ "linkedEntity": "AgentCompletion",
68
+ "category": "interaction",
69
+ "stateMachine": {
70
+ "states": [
71
+ {
72
+ "name": "idle",
73
+ "isInitial": true
74
+ },
75
+ {
76
+ "name": "generating"
77
+ },
78
+ {
79
+ "name": "completed"
80
+ },
81
+ {
82
+ "name": "error"
83
+ }
84
+ ],
85
+ "events": [
86
+ {
87
+ "key": "INIT",
88
+ "name": "Initialize"
89
+ },
90
+ {
91
+ "key": "GENERATE",
92
+ "name": "Generate",
93
+ "payload": [
94
+ {
95
+ "name": "prompt",
96
+ "type": "string",
97
+ "required": false
98
+ }
99
+ ]
100
+ },
101
+ {
102
+ "key": "RETRY",
103
+ "name": "Retry"
104
+ },
105
+ {
106
+ "key": "RESET",
107
+ "name": "Reset"
108
+ }
109
+ ],
110
+ "transitions": [
111
+ {
112
+ "from": "idle",
113
+ "to": "idle",
114
+ "event": "INIT",
115
+ "effects": [
116
+ [
117
+ "fetch",
118
+ "AgentCompletion"
119
+ ],
120
+ [
121
+ "render-ui",
122
+ "main",
123
+ {
124
+ "type": "stack",
125
+ "direction": "vertical",
126
+ "gap": "lg",
127
+ "children": [
128
+ {
129
+ "type": "stack",
130
+ "direction": "horizontal",
131
+ "gap": "sm",
132
+ "align": "center",
133
+ "children": [
134
+ {
135
+ "type": "icon",
136
+ "name": "sparkles",
137
+ "size": "lg"
138
+ },
139
+ {
140
+ "type": "typography",
141
+ "content": "AgentCompletion",
142
+ "variant": "h2"
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "type": "divider"
148
+ },
149
+ {
150
+ "type": "textarea",
151
+ "label": "Prompt",
152
+ "bind": "@entity.prompt",
153
+ "placeholder": "Enter your prompt..."
154
+ },
155
+ {
156
+ "type": "stack",
157
+ "direction": "horizontal",
158
+ "gap": "sm",
159
+ "children": [
160
+ {
161
+ "type": "badge",
162
+ "label": "@entity.provider"
163
+ },
164
+ {
165
+ "type": "badge",
166
+ "label": "@entity.model"
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "type": "button",
172
+ "label": "Generate",
173
+ "event": "GENERATE",
174
+ "variant": "primary",
175
+ "icon": "sparkles"
176
+ }
177
+ ]
178
+ }
179
+ ]
180
+ ]
181
+ },
182
+ {
183
+ "from": "idle",
184
+ "to": "generating",
185
+ "event": "GENERATE",
186
+ "effects": [
187
+ [
188
+ "set",
189
+ "@entity.status",
190
+ "generating"
191
+ ],
192
+ [
193
+ "render-ui",
194
+ "main",
195
+ {
196
+ "type": "loading-state",
197
+ "title": "Generating...",
198
+ "message": "Waiting for AI response..."
199
+ }
200
+ ],
201
+ [
202
+ "agent/generate",
203
+ "@entity.prompt"
204
+ ]
205
+ ]
206
+ },
207
+ {
208
+ "from": "generating",
209
+ "to": "completed",
210
+ "event": "GENERATE",
211
+ "effects": [
212
+ [
213
+ "set",
214
+ "@entity.response",
215
+ "@payload.prompt"
216
+ ],
217
+ [
218
+ "set",
219
+ "@entity.status",
220
+ "completed"
221
+ ],
222
+ [
223
+ "render-ui",
224
+ "main",
225
+ {
226
+ "type": "stack",
227
+ "direction": "vertical",
228
+ "gap": "lg",
229
+ "children": [
230
+ {
231
+ "type": "icon",
232
+ "name": "check-circle",
233
+ "size": "lg"
234
+ },
235
+ {
236
+ "type": "alert",
237
+ "variant": "success",
238
+ "message": "Generation complete"
239
+ },
240
+ {
241
+ "type": "typography",
242
+ "variant": "body",
243
+ "content": "@entity.response"
244
+ },
245
+ {
246
+ "type": "button",
247
+ "label": "Reset",
248
+ "event": "RESET",
249
+ "variant": "ghost",
250
+ "icon": "rotate-ccw"
251
+ }
252
+ ]
253
+ }
254
+ ]
255
+ ]
256
+ },
257
+ {
258
+ "from": "error",
259
+ "to": "generating",
260
+ "event": "RETRY",
261
+ "guard": [
262
+ "=",
263
+ "@entity.status",
264
+ "error"
265
+ ],
266
+ "effects": [
267
+ [
268
+ "set",
269
+ "@entity.status",
270
+ "generating"
271
+ ],
272
+ [
273
+ "set",
274
+ "@entity.error",
275
+ ""
276
+ ],
277
+ [
278
+ "render-ui",
279
+ "main",
280
+ {
281
+ "type": "loading-state",
282
+ "title": "Generating...",
283
+ "message": "Waiting for AI response..."
284
+ }
285
+ ],
286
+ [
287
+ "agent/generate",
288
+ "@entity.prompt"
289
+ ]
290
+ ]
291
+ },
292
+ {
293
+ "from": "completed",
294
+ "to": "idle",
295
+ "event": "RESET",
296
+ "effects": [
297
+ [
298
+ "set",
299
+ "@entity.status",
300
+ "idle"
301
+ ],
302
+ [
303
+ "set",
304
+ "@entity.response",
305
+ ""
306
+ ],
307
+ [
308
+ "set",
309
+ "@entity.prompt",
310
+ ""
311
+ ],
312
+ [
313
+ "render-ui",
314
+ "main",
315
+ {
316
+ "type": "stack",
317
+ "direction": "vertical",
318
+ "gap": "lg",
319
+ "children": [
320
+ {
321
+ "type": "stack",
322
+ "direction": "horizontal",
323
+ "gap": "sm",
324
+ "align": "center",
325
+ "children": [
326
+ {
327
+ "type": "icon",
328
+ "name": "sparkles",
329
+ "size": "lg"
330
+ },
331
+ {
332
+ "type": "typography",
333
+ "content": "AgentCompletion",
334
+ "variant": "h2"
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "type": "divider"
340
+ },
341
+ {
342
+ "type": "textarea",
343
+ "label": "Prompt",
344
+ "bind": "@entity.prompt",
345
+ "placeholder": "Enter your prompt..."
346
+ },
347
+ {
348
+ "type": "stack",
349
+ "direction": "horizontal",
350
+ "gap": "sm",
351
+ "children": [
352
+ {
353
+ "type": "badge",
354
+ "label": "@entity.provider"
355
+ },
356
+ {
357
+ "type": "badge",
358
+ "label": "@entity.model"
359
+ }
360
+ ]
361
+ },
362
+ {
363
+ "type": "button",
364
+ "label": "Generate",
365
+ "event": "GENERATE",
366
+ "variant": "primary",
367
+ "icon": "sparkles"
368
+ }
369
+ ]
370
+ }
371
+ ]
372
+ ]
373
+ },
374
+ {
375
+ "from": "error",
376
+ "to": "idle",
377
+ "event": "RESET",
378
+ "effects": [
379
+ [
380
+ "set",
381
+ "@entity.status",
382
+ "idle"
383
+ ],
384
+ [
385
+ "set",
386
+ "@entity.error",
387
+ ""
388
+ ],
389
+ [
390
+ "render-ui",
391
+ "main",
392
+ {
393
+ "type": "stack",
394
+ "direction": "vertical",
395
+ "gap": "lg",
396
+ "children": [
397
+ {
398
+ "type": "stack",
399
+ "direction": "horizontal",
400
+ "gap": "sm",
401
+ "align": "center",
402
+ "children": [
403
+ {
404
+ "type": "icon",
405
+ "name": "sparkles",
406
+ "size": "lg"
407
+ },
408
+ {
409
+ "type": "typography",
410
+ "content": "AgentCompletion",
411
+ "variant": "h2"
412
+ }
413
+ ]
414
+ },
415
+ {
416
+ "type": "divider"
417
+ },
418
+ {
419
+ "type": "textarea",
420
+ "label": "Prompt",
421
+ "bind": "@entity.prompt",
422
+ "placeholder": "Enter your prompt..."
423
+ },
424
+ {
425
+ "type": "stack",
426
+ "direction": "horizontal",
427
+ "gap": "sm",
428
+ "children": [
429
+ {
430
+ "type": "badge",
431
+ "label": "@entity.provider"
432
+ },
433
+ {
434
+ "type": "badge",
435
+ "label": "@entity.model"
436
+ }
437
+ ]
438
+ },
439
+ {
440
+ "type": "button",
441
+ "label": "Generate",
442
+ "event": "GENERATE",
443
+ "variant": "primary",
444
+ "icon": "sparkles"
445
+ }
446
+ ]
447
+ }
448
+ ]
449
+ ]
450
+ }
451
+ ]
452
+ }
453
+ }
454
+ ],
455
+ "pages": [
456
+ {
457
+ "name": "AgentCompletionPage",
458
+ "path": "/agentcompletions",
459
+ "traits": [
460
+ {
461
+ "ref": "AgentCompletionFlow"
462
+ }
463
+ ]
464
+ }
465
+ ]
466
+ }
467
+ ],
468
+ "description": "Completion flow atom for agent text generation. Wraps agent/generate with idle -> generating -> completed -> error lifecycle."
469
+ }