@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,402 @@
1
+ {
2
+ "name": "AgentClassifierOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "AgentClassifierOrbital",
6
+ "entity": {
7
+ "name": "AgentClassifier",
8
+ "persistence": "persistent",
9
+ "collection": "agentclassifiers",
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": "input",
39
+ "type": "string",
40
+ "default": ""
41
+ },
42
+ {
43
+ "name": "category",
44
+ "type": "string",
45
+ "default": ""
46
+ },
47
+ {
48
+ "name": "confidence",
49
+ "type": "number",
50
+ "default": 0
51
+ },
52
+ {
53
+ "name": "model",
54
+ "type": "string",
55
+ "default": "claude-sonnet-4-20250514"
56
+ }
57
+ ]
58
+ },
59
+ "traits": [
60
+ {
61
+ "name": "AgentClassifierFlow",
62
+ "linkedEntity": "AgentClassifier",
63
+ "category": "interaction",
64
+ "stateMachine": {
65
+ "states": [
66
+ {
67
+ "name": "idle",
68
+ "isInitial": true
69
+ },
70
+ {
71
+ "name": "classifying"
72
+ },
73
+ {
74
+ "name": "classified"
75
+ }
76
+ ],
77
+ "events": [
78
+ {
79
+ "key": "INIT",
80
+ "name": "Initialize"
81
+ },
82
+ {
83
+ "key": "CLASSIFY",
84
+ "name": "Classify",
85
+ "payload": [
86
+ {
87
+ "name": "input",
88
+ "type": "string",
89
+ "required": false
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "key": "RESET",
95
+ "name": "Reset"
96
+ }
97
+ ],
98
+ "transitions": [
99
+ {
100
+ "from": "idle",
101
+ "to": "idle",
102
+ "event": "INIT",
103
+ "effects": [
104
+ [
105
+ "fetch",
106
+ "AgentClassifier"
107
+ ],
108
+ [
109
+ "render-ui",
110
+ "main",
111
+ {
112
+ "type": "stack",
113
+ "direction": "vertical",
114
+ "gap": "lg",
115
+ "children": [
116
+ {
117
+ "type": "stack",
118
+ "direction": "horizontal",
119
+ "gap": "sm",
120
+ "align": "center",
121
+ "children": [
122
+ {
123
+ "type": "icon",
124
+ "name": "tag",
125
+ "size": "lg"
126
+ },
127
+ {
128
+ "type": "typography",
129
+ "content": "AgentClassifier",
130
+ "variant": "h2"
131
+ }
132
+ ]
133
+ },
134
+ {
135
+ "type": "divider"
136
+ },
137
+ {
138
+ "type": "textarea",
139
+ "label": "Input Text",
140
+ "bind": "@entity.input",
141
+ "placeholder": "Enter text to classify..."
142
+ },
143
+ {
144
+ "type": "stack",
145
+ "direction": "horizontal",
146
+ "gap": "sm",
147
+ "children": [
148
+ {
149
+ "type": "typography",
150
+ "variant": "caption",
151
+ "content": "Categories:"
152
+ },
153
+ {
154
+ "type": "badge",
155
+ "label": "positive",
156
+ "variant": "secondary"
157
+ },
158
+ {
159
+ "type": "badge",
160
+ "label": "negative",
161
+ "variant": "secondary"
162
+ },
163
+ {
164
+ "type": "badge",
165
+ "label": "neutral",
166
+ "variant": "secondary"
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "type": "button",
172
+ "label": "Classify",
173
+ "event": "CLASSIFY",
174
+ "variant": "primary",
175
+ "icon": "tag"
176
+ }
177
+ ]
178
+ }
179
+ ]
180
+ ]
181
+ },
182
+ {
183
+ "from": "idle",
184
+ "to": "classifying",
185
+ "event": "CLASSIFY",
186
+ "effects": [
187
+ [
188
+ "render-ui",
189
+ "main",
190
+ {
191
+ "type": "loading-state",
192
+ "title": "Classifying...",
193
+ "message": "Analyzing input text..."
194
+ }
195
+ ],
196
+ [
197
+ "agent/generate",
198
+ [
199
+ "string/concat",
200
+ "Classify the following text into one of these categories: ",
201
+ "positive, negative, neutral",
202
+ ". Text: ",
203
+ "@entity.input",
204
+ ". Respond with JSON: {\"category\": \"...\", \"confidence\": 0.0-1.0}"
205
+ ]
206
+ ]
207
+ ]
208
+ },
209
+ {
210
+ "from": "classifying",
211
+ "to": "classified",
212
+ "event": "CLASSIFY",
213
+ "effects": [
214
+ [
215
+ "set",
216
+ "@entity.category",
217
+ "@payload.input"
218
+ ],
219
+ [
220
+ "render-ui",
221
+ "main",
222
+ {
223
+ "type": "stack",
224
+ "direction": "vertical",
225
+ "gap": "lg",
226
+ "children": [
227
+ {
228
+ "type": "stack",
229
+ "direction": "horizontal",
230
+ "gap": "sm",
231
+ "align": "center",
232
+ "children": [
233
+ {
234
+ "type": "icon",
235
+ "name": "check-circle",
236
+ "size": "lg"
237
+ },
238
+ {
239
+ "type": "typography",
240
+ "content": "AgentClassifier Result",
241
+ "variant": "h2"
242
+ }
243
+ ]
244
+ },
245
+ {
246
+ "type": "divider"
247
+ },
248
+ {
249
+ "type": "typography",
250
+ "variant": "body",
251
+ "content": "@entity.input"
252
+ },
253
+ {
254
+ "type": "stack",
255
+ "direction": "horizontal",
256
+ "gap": "md",
257
+ "children": [
258
+ {
259
+ "type": "typography",
260
+ "variant": "caption",
261
+ "content": "Category:"
262
+ },
263
+ {
264
+ "type": "badge",
265
+ "label": "@entity.category"
266
+ },
267
+ {
268
+ "type": "typography",
269
+ "variant": "caption",
270
+ "content": "Confidence:"
271
+ },
272
+ {
273
+ "type": "badge",
274
+ "label": "@entity.confidence"
275
+ }
276
+ ]
277
+ },
278
+ {
279
+ "type": "button",
280
+ "label": "Classify Another",
281
+ "event": "RESET",
282
+ "variant": "ghost",
283
+ "icon": "rotate-ccw"
284
+ }
285
+ ]
286
+ }
287
+ ]
288
+ ]
289
+ },
290
+ {
291
+ "from": "classified",
292
+ "to": "idle",
293
+ "event": "RESET",
294
+ "effects": [
295
+ [
296
+ "set",
297
+ "@entity.input",
298
+ ""
299
+ ],
300
+ [
301
+ "set",
302
+ "@entity.category",
303
+ ""
304
+ ],
305
+ [
306
+ "set",
307
+ "@entity.confidence",
308
+ 0
309
+ ],
310
+ [
311
+ "render-ui",
312
+ "main",
313
+ {
314
+ "type": "stack",
315
+ "direction": "vertical",
316
+ "gap": "lg",
317
+ "children": [
318
+ {
319
+ "type": "stack",
320
+ "direction": "horizontal",
321
+ "gap": "sm",
322
+ "align": "center",
323
+ "children": [
324
+ {
325
+ "type": "icon",
326
+ "name": "tag",
327
+ "size": "lg"
328
+ },
329
+ {
330
+ "type": "typography",
331
+ "content": "AgentClassifier",
332
+ "variant": "h2"
333
+ }
334
+ ]
335
+ },
336
+ {
337
+ "type": "divider"
338
+ },
339
+ {
340
+ "type": "textarea",
341
+ "label": "Input Text",
342
+ "bind": "@entity.input",
343
+ "placeholder": "Enter text to classify..."
344
+ },
345
+ {
346
+ "type": "stack",
347
+ "direction": "horizontal",
348
+ "gap": "sm",
349
+ "children": [
350
+ {
351
+ "type": "typography",
352
+ "variant": "caption",
353
+ "content": "Categories:"
354
+ },
355
+ {
356
+ "type": "badge",
357
+ "label": "positive",
358
+ "variant": "secondary"
359
+ },
360
+ {
361
+ "type": "badge",
362
+ "label": "negative",
363
+ "variant": "secondary"
364
+ },
365
+ {
366
+ "type": "badge",
367
+ "label": "neutral",
368
+ "variant": "secondary"
369
+ }
370
+ ]
371
+ },
372
+ {
373
+ "type": "button",
374
+ "label": "Classify",
375
+ "event": "CLASSIFY",
376
+ "variant": "primary",
377
+ "icon": "tag"
378
+ }
379
+ ]
380
+ }
381
+ ]
382
+ ]
383
+ }
384
+ ]
385
+ }
386
+ }
387
+ ],
388
+ "pages": [
389
+ {
390
+ "name": "AgentClassifierPage",
391
+ "path": "/agentclassifiers",
392
+ "traits": [
393
+ {
394
+ "ref": "AgentClassifierFlow"
395
+ }
396
+ ]
397
+ }
398
+ ]
399
+ }
400
+ ],
401
+ "description": "Classification flow atom for agent-powered text classification. Uses agent/generate with a classification prompt to categorize input text. States: idle -> classifying -> classified."
402
+ }