@almadar/std 3.12.2 → 3.13.1

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 (86) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +559 -0
  2. package/behaviors/exports/atoms/std-agent-chat-thread.orb +774 -0
  3. package/behaviors/exports/atoms/std-agent-classifier.orb +871 -0
  4. package/behaviors/exports/atoms/std-agent-completion.orb +933 -0
  5. package/behaviors/exports/atoms/std-agent-context-window.orb +2294 -0
  6. package/behaviors/exports/atoms/std-agent-conversation.orb +1020 -0
  7. package/behaviors/exports/atoms/std-agent-memory.orb +879 -0
  8. package/behaviors/exports/atoms/std-agent-provider.orb +898 -0
  9. package/behaviors/exports/atoms/std-agent-search.orb +448 -0
  10. package/behaviors/exports/atoms/std-agent-session.orb +835 -0
  11. package/behaviors/exports/atoms/std-agent-step-progress.orb +850 -0
  12. package/behaviors/exports/atoms/std-agent-token-gauge.orb +1616 -0
  13. package/behaviors/exports/atoms/std-agent-tool-call.orb +1237 -0
  14. package/behaviors/exports/molecules/std-agent-fix-loop.orb +3177 -0
  15. package/behaviors/exports/molecules/std-agent-learner.orb +2950 -0
  16. package/behaviors/exports/molecules/std-agent-planner.orb +2655 -0
  17. package/behaviors/exports/molecules/std-agent-rag.orb +1871 -0
  18. package/behaviors/exports/molecules/std-agent-tool-loop.orb +4857 -0
  19. package/behaviors/exports/organisms/std-agent-assistant.orb +6440 -0
  20. package/behaviors/exports/organisms/std-agent-builder.orb +14863 -0
  21. package/behaviors/exports/organisms/std-agent-pipeline.orb +11950 -0
  22. package/behaviors/exports/organisms/std-agent-reviewer.orb +5405 -0
  23. package/behaviors/exports/organisms/std-agent-tutor.orb +5107 -0
  24. package/behaviors/exports/validation-report.json +2 -1099
  25. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +559 -0
  26. package/dist/behaviors/exports/atoms/std-agent-chat-thread.orb +774 -0
  27. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +871 -0
  28. package/dist/behaviors/exports/atoms/std-agent-completion.orb +933 -0
  29. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +2294 -0
  30. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +1020 -0
  31. package/dist/behaviors/exports/atoms/std-agent-memory.orb +879 -0
  32. package/dist/behaviors/exports/atoms/std-agent-provider.orb +898 -0
  33. package/dist/behaviors/exports/atoms/std-agent-search.orb +448 -0
  34. package/dist/behaviors/exports/atoms/std-agent-session.orb +835 -0
  35. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +850 -0
  36. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +1616 -0
  37. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +1237 -0
  38. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +3177 -0
  39. package/dist/behaviors/exports/molecules/std-agent-learner.orb +2950 -0
  40. package/dist/behaviors/exports/molecules/std-agent-planner.orb +2655 -0
  41. package/dist/behaviors/exports/molecules/std-agent-rag.orb +1871 -0
  42. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +4857 -0
  43. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +6440 -0
  44. package/dist/behaviors/exports/organisms/std-agent-builder.orb +14863 -0
  45. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +11950 -0
  46. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +5405 -0
  47. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +5107 -0
  48. package/dist/behaviors/exports/validation-report.json +2 -1099
  49. package/dist/behaviors/exports-reader.js +7156 -302
  50. package/dist/behaviors/exports-reader.js.map +1 -1
  51. package/dist/behaviors/functions/index.d.ts +781 -1
  52. package/dist/behaviors/functions/index.js +7080 -303
  53. package/dist/behaviors/functions/index.js.map +1 -1
  54. package/dist/behaviors/index.d.ts +1 -1
  55. package/dist/behaviors/index.js +7159 -305
  56. package/dist/behaviors/index.js.map +1 -1
  57. package/dist/behaviors/query.js +7158 -304
  58. package/dist/behaviors/query.js.map +1 -1
  59. package/dist/exports/atoms/std-agent-activity-log.orb +559 -0
  60. package/dist/exports/atoms/std-agent-chat-thread.orb +774 -0
  61. package/dist/exports/atoms/std-agent-classifier.orb +871 -0
  62. package/dist/exports/atoms/std-agent-completion.orb +933 -0
  63. package/dist/exports/atoms/std-agent-context-window.orb +2294 -0
  64. package/dist/exports/atoms/std-agent-conversation.orb +1020 -0
  65. package/dist/exports/atoms/std-agent-memory.orb +879 -0
  66. package/dist/exports/atoms/std-agent-provider.orb +898 -0
  67. package/dist/exports/atoms/std-agent-search.orb +448 -0
  68. package/dist/exports/atoms/std-agent-session.orb +835 -0
  69. package/dist/exports/atoms/std-agent-step-progress.orb +850 -0
  70. package/dist/exports/atoms/std-agent-token-gauge.orb +1616 -0
  71. package/dist/exports/atoms/std-agent-tool-call.orb +1237 -0
  72. package/dist/exports/molecules/std-agent-fix-loop.orb +3177 -0
  73. package/dist/exports/molecules/std-agent-learner.orb +2950 -0
  74. package/dist/exports/molecules/std-agent-planner.orb +2655 -0
  75. package/dist/exports/molecules/std-agent-rag.orb +1871 -0
  76. package/dist/exports/molecules/std-agent-tool-loop.orb +4857 -0
  77. package/dist/exports/organisms/std-agent-assistant.orb +6440 -0
  78. package/dist/exports/organisms/std-agent-builder.orb +14863 -0
  79. package/dist/exports/organisms/std-agent-pipeline.orb +11950 -0
  80. package/dist/exports/organisms/std-agent-reviewer.orb +5405 -0
  81. package/dist/exports/organisms/std-agent-tutor.orb +5107 -0
  82. package/dist/exports/validation-report.json +2 -1099
  83. package/dist/index.d.ts +1 -1
  84. package/dist/index.js +7159 -305
  85. package/dist/index.js.map +1 -1
  86. package/package.json +1 -1
@@ -0,0 +1,448 @@
1
+ {
2
+ "name": "AgentSearchOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "AgentSearchOrbital",
6
+ "entity": {
7
+ "name": "AgentSearch",
8
+ "persistence": "persistent",
9
+ "collection": "agentsearchs",
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": "query",
39
+ "type": "string",
40
+ "default": ""
41
+ },
42
+ {
43
+ "name": "results",
44
+ "type": "array",
45
+ "default": []
46
+ },
47
+ {
48
+ "name": "language",
49
+ "type": "string",
50
+ "default": ""
51
+ },
52
+ {
53
+ "name": "resultCount",
54
+ "type": "number",
55
+ "default": 0
56
+ }
57
+ ]
58
+ },
59
+ "traits": [
60
+ {
61
+ "name": "AgentSearchBrowse",
62
+ "linkedEntity": "AgentSearch",
63
+ "category": "interaction",
64
+ "listens": [
65
+ {
66
+ "event": "SEARCHED",
67
+ "triggers": "SEARCHED"
68
+ }
69
+ ],
70
+ "stateMachine": {
71
+ "states": [
72
+ {
73
+ "name": "browsing",
74
+ "isInitial": true
75
+ }
76
+ ],
77
+ "events": [
78
+ {
79
+ "key": "INIT",
80
+ "name": "Initialize"
81
+ },
82
+ {
83
+ "key": "SEARCH",
84
+ "name": "SEARCH"
85
+ },
86
+ {
87
+ "key": "CLEAR",
88
+ "name": "CLEAR"
89
+ },
90
+ {
91
+ "key": "VIEW",
92
+ "name": "VIEW",
93
+ "payload": [
94
+ {
95
+ "name": "id",
96
+ "type": "string",
97
+ "required": true
98
+ },
99
+ {
100
+ "name": "row",
101
+ "type": "object"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "key": "SEARCHED",
107
+ "name": "SEARCHED",
108
+ "payload": [
109
+ {
110
+ "name": "data",
111
+ "type": "object",
112
+ "required": true
113
+ }
114
+ ]
115
+ }
116
+ ],
117
+ "transitions": [
118
+ {
119
+ "from": "browsing",
120
+ "to": "browsing",
121
+ "event": "INIT",
122
+ "effects": [
123
+ [
124
+ "ref",
125
+ "AgentSearch"
126
+ ],
127
+ [
128
+ "render-ui",
129
+ "main",
130
+ {
131
+ "type": "stack",
132
+ "direction": "vertical",
133
+ "gap": "lg",
134
+ "className": "max-w-5xl mx-auto w-full",
135
+ "children": [
136
+ {
137
+ "type": "stack",
138
+ "direction": "horizontal",
139
+ "gap": "md",
140
+ "justify": "space-between",
141
+ "align": "center",
142
+ "children": [
143
+ {
144
+ "type": "stack",
145
+ "direction": "horizontal",
146
+ "gap": "sm",
147
+ "align": "center",
148
+ "children": [
149
+ {
150
+ "type": "icon",
151
+ "name": "search",
152
+ "size": "lg"
153
+ },
154
+ {
155
+ "type": "typography",
156
+ "content": "AgentSearch",
157
+ "variant": "h2"
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ "type": "stack",
163
+ "direction": "horizontal",
164
+ "gap": "sm",
165
+ "children": [
166
+ {
167
+ "type": "button",
168
+ "label": "Search",
169
+ "event": "SEARCH",
170
+ "variant": "primary",
171
+ "icon": "search"
172
+ },
173
+ {
174
+ "type": "button",
175
+ "label": "Clear",
176
+ "event": "CLEAR",
177
+ "variant": "ghost",
178
+ "icon": "x"
179
+ }
180
+ ]
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "type": "divider"
186
+ },
187
+ {
188
+ "type": "data-grid",
189
+ "entity": "AgentSearch",
190
+ "emptyIcon": "inbox",
191
+ "emptyTitle": "No search results",
192
+ "emptyDescription": "Enter a query to search the codebase.",
193
+ "itemActions": [
194
+ {
195
+ "label": "View",
196
+ "event": "VIEW",
197
+ "variant": "ghost",
198
+ "size": "sm"
199
+ }
200
+ ],
201
+ "columns": [
202
+ {
203
+ "name": "query",
204
+ "label": "Query",
205
+ "variant": "h4",
206
+ "icon": "search"
207
+ },
208
+ {
209
+ "name": "language",
210
+ "label": "Language",
211
+ "variant": "badge",
212
+ "colorMap": {
213
+ "active": "success",
214
+ "completed": "success",
215
+ "done": "success",
216
+ "pending": "warning",
217
+ "draft": "warning",
218
+ "scheduled": "warning",
219
+ "inactive": "neutral",
220
+ "archived": "neutral",
221
+ "disabled": "neutral",
222
+ "error": "destructive",
223
+ "cancelled": "destructive",
224
+ "failed": "destructive"
225
+ }
226
+ },
227
+ {
228
+ "name": "resultCount",
229
+ "label": "Result Count",
230
+ "variant": "caption"
231
+ }
232
+ ]
233
+ }
234
+ ]
235
+ }
236
+ ]
237
+ ]
238
+ },
239
+ {
240
+ "from": "browsing",
241
+ "to": "browsing",
242
+ "event": "SEARCHED",
243
+ "effects": [
244
+ [
245
+ "ref",
246
+ "AgentSearch"
247
+ ]
248
+ ]
249
+ }
250
+ ]
251
+ }
252
+ },
253
+ {
254
+ "name": "AgentSearchAgent",
255
+ "linkedEntity": "AgentSearch",
256
+ "category": "interaction",
257
+ "emits": [
258
+ {
259
+ "event": "SEARCHED",
260
+ "scope": "external",
261
+ "payload": [
262
+ {
263
+ "name": "query",
264
+ "type": "string"
265
+ },
266
+ {
267
+ "name": "resultCount",
268
+ "type": "number"
269
+ }
270
+ ]
271
+ }
272
+ ],
273
+ "listens": [
274
+ {
275
+ "event": "SEARCHED",
276
+ "triggers": "INIT",
277
+ "scope": "external"
278
+ }
279
+ ],
280
+ "stateMachine": {
281
+ "states": [
282
+ {
283
+ "name": "idle",
284
+ "isInitial": true
285
+ },
286
+ {
287
+ "name": "searching"
288
+ },
289
+ {
290
+ "name": "results"
291
+ }
292
+ ],
293
+ "events": [
294
+ {
295
+ "key": "INIT",
296
+ "name": "Initialize"
297
+ },
298
+ {
299
+ "key": "SEARCH",
300
+ "name": "Search",
301
+ "payload": [
302
+ {
303
+ "name": "query",
304
+ "type": "string",
305
+ "required": true
306
+ },
307
+ {
308
+ "name": "language",
309
+ "type": "string",
310
+ "required": false
311
+ }
312
+ ]
313
+ },
314
+ {
315
+ "key": "CLEAR",
316
+ "name": "Clear Results"
317
+ }
318
+ ],
319
+ "transitions": [
320
+ {
321
+ "from": "idle",
322
+ "to": "idle",
323
+ "event": "INIT",
324
+ "effects": [
325
+ [
326
+ "fetch",
327
+ "AgentSearch"
328
+ ],
329
+ [
330
+ "render-ui",
331
+ "main",
332
+ {
333
+ "type": "empty-state",
334
+ "icon": "search",
335
+ "title": "Code Search",
336
+ "description": "Code Search is ready"
337
+ }
338
+ ]
339
+ ]
340
+ },
341
+ {
342
+ "from": "idle",
343
+ "to": "searching",
344
+ "event": "SEARCH",
345
+ "effects": [
346
+ [
347
+ "set",
348
+ "@entity.query",
349
+ "@payload.query"
350
+ ],
351
+ [
352
+ "set",
353
+ "@entity.language",
354
+ "@payload.language"
355
+ ],
356
+ [
357
+ "agent/search-code",
358
+ "@payload.query",
359
+ "@payload.language"
360
+ ]
361
+ ]
362
+ },
363
+ {
364
+ "from": "searching",
365
+ "to": "results",
366
+ "event": "SEARCH",
367
+ "effects": [
368
+ [
369
+ "fetch",
370
+ "AgentSearch"
371
+ ],
372
+ [
373
+ "emit",
374
+ "SEARCHED"
375
+ ]
376
+ ]
377
+ },
378
+ {
379
+ "from": "results",
380
+ "to": "searching",
381
+ "event": "SEARCH",
382
+ "effects": [
383
+ [
384
+ "set",
385
+ "@entity.query",
386
+ "@payload.query"
387
+ ],
388
+ [
389
+ "set",
390
+ "@entity.language",
391
+ "@payload.language"
392
+ ],
393
+ [
394
+ "agent/search-code",
395
+ "@payload.query",
396
+ "@payload.language"
397
+ ]
398
+ ]
399
+ },
400
+ {
401
+ "from": "results",
402
+ "to": "idle",
403
+ "event": "CLEAR",
404
+ "effects": [
405
+ [
406
+ "set",
407
+ "@entity.query",
408
+ ""
409
+ ],
410
+ [
411
+ "set",
412
+ "@entity.results",
413
+ []
414
+ ],
415
+ [
416
+ "set",
417
+ "@entity.language",
418
+ ""
419
+ ],
420
+ [
421
+ "set",
422
+ "@entity.resultCount",
423
+ 0
424
+ ]
425
+ ]
426
+ }
427
+ ]
428
+ }
429
+ }
430
+ ],
431
+ "pages": [
432
+ {
433
+ "name": "AgentSearchPage",
434
+ "path": "/agentsearchs",
435
+ "traits": [
436
+ {
437
+ "ref": "AgentSearchBrowse"
438
+ },
439
+ {
440
+ "ref": "AgentSearchAgent"
441
+ }
442
+ ]
443
+ }
444
+ ]
445
+ }
446
+ ],
447
+ "description": "Code search flow atom for agent-powered codebase searching. Composes stdBrowse (results table) with an agent trait that handles agent/search-code."
448
+ }