@contractspec/example.agent-console 1.49.0 → 1.51.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 (46) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +23 -23
  2. package/.turbo/turbo-build.log +13 -13
  3. package/CHANGELOG.md +32 -0
  4. package/dist/agent/agent.entity.d.ts +36 -36
  5. package/dist/agent/agent.entity.d.ts.map +1 -1
  6. package/dist/agent/agent.enum.d.ts +4 -4
  7. package/dist/agent/agent.enum.d.ts.map +1 -1
  8. package/dist/agent/agent.event.d.ts +31 -31
  9. package/dist/agent/agent.event.d.ts.map +1 -1
  10. package/dist/agent/agent.handler.d.ts +1 -1
  11. package/dist/agent/agent.handler.d.ts.map +1 -1
  12. package/dist/agent/agent.operation.d.ts +117 -117
  13. package/dist/agent/agent.operation.d.ts.map +1 -1
  14. package/dist/agent/agent.presentation.d.ts +4 -4
  15. package/dist/agent/agent.schema.d.ts +95 -95
  16. package/dist/agent/agent.test-spec.d.ts +3 -3
  17. package/dist/agent.capability.d.ts +2 -2
  18. package/dist/agent.capability.d.ts.map +1 -1
  19. package/dist/example.d.ts +2 -2
  20. package/dist/example.d.ts.map +1 -1
  21. package/dist/run/run.entity.d.ts +56 -56
  22. package/dist/run/run.enum.d.ts +5 -5
  23. package/dist/run/run.event.d.ts +71 -71
  24. package/dist/run/run.event.d.ts.map +1 -1
  25. package/dist/run/run.operation.d.ts +175 -175
  26. package/dist/run/run.operation.d.ts.map +1 -1
  27. package/dist/run/run.presentation.d.ts +3 -3
  28. package/dist/run/run.schema.d.ts +99 -99
  29. package/dist/run/run.schema.d.ts.map +1 -1
  30. package/dist/run/run.test-spec.d.ts +3 -3
  31. package/dist/tool/tool.entity.d.ts +24 -24
  32. package/dist/tool/tool.enum.d.ts +4 -4
  33. package/dist/tool/tool.event.d.ts +25 -25
  34. package/dist/tool/tool.handler.d.ts +1 -1
  35. package/dist/tool/tool.handler.d.ts.map +1 -1
  36. package/dist/tool/tool.operation.d.ts +101 -101
  37. package/dist/tool/tool.presentation.d.ts +3 -3
  38. package/dist/tool/tool.schema.d.ts +52 -52
  39. package/dist/tool/tool.test-spec.d.ts +3 -3
  40. package/dist/ui/modals/AgentActionsModal.d.ts +2 -2
  41. package/dist/ui/modals/CreateAgentModal.d.ts +2 -2
  42. package/dist/ui/views/AgentListView.d.ts +2 -2
  43. package/dist/ui/views/RunListView.d.ts +2 -2
  44. package/dist/ui/views/ToolRegistryView.d.ts +2 -2
  45. package/package.json +8 -8
  46. package/tsconfig.tsbuildinfo +1 -1
@@ -125,13 +125,13 @@ $ tsdown
125
125
  ℹ dist/seeders/index.js.map  1.11 kB │ gzip: 0.66 kB
126
126
  ℹ dist/agent/agent.schema.d.ts.map  1.10 kB │ gzip: 0.36 kB
127
127
  ℹ dist/run/run.enum.js.map  1.08 kB │ gzip: 0.47 kB
128
- ℹ dist/agent/agent.handler.d.ts.map  0.95 kB │ gzip: 0.43 kB
128
+ ℹ dist/agent/agent.handler.d.ts.map  0.95 kB │ gzip: 0.42 kB
129
129
  ℹ dist/ui/hooks/useAgentMutations.d.ts.map  0.91 kB │ gzip: 0.38 kB
130
130
  ℹ dist/tool/tool.enum.js.map  0.89 kB │ gzip: 0.44 kB
131
131
  ℹ dist/tool/tool.handler.d.ts.map  0.89 kB │ gzip: 0.35 kB
132
132
  ℹ dist/agent/agent.enum.js.map  0.84 kB │ gzip: 0.42 kB
133
133
  ℹ dist/run/run.handler.d.ts.map  0.78 kB │ gzip: 0.34 kB
134
- ℹ dist/agent/agent.event.d.ts.map  0.78 kB │ gzip: 0.29 kB
134
+ ℹ dist/agent/agent.event.d.ts.map  0.78 kB │ gzip: 0.30 kB
135
135
  ℹ dist/tool/tool.schema.d.ts.map  0.75 kB │ gzip: 0.30 kB
136
136
  ℹ dist/agent.capability.js.map  0.69 kB │ gzip: 0.41 kB
137
137
  ℹ dist/ui/modals/AgentActionsModal.d.ts.map  0.68 kB │ gzip: 0.29 kB
@@ -170,23 +170,23 @@ $ tsdown
170
170
  ℹ dist/shared/mock-tools.d.ts.map  0.14 kB │ gzip: 0.13 kB
171
171
  ℹ dist/shared/mock-runs.d.ts.map  0.14 kB │ gzip: 0.13 kB
172
172
  ℹ dist/example.d.ts.map  0.14 kB │ gzip: 0.13 kB
173
- ℹ dist/run/run.operation.d.ts 21.39 kB │ gzip: 1.56 kB
173
+ ℹ dist/run/run.operation.d.ts 21.40 kB │ gzip: 1.55 kB
174
174
  ℹ dist/agent/agent.operation.d.ts 13.78 kB │ gzip: 1.20 kB
175
175
  ℹ dist/tool/tool.operation.d.ts 12.33 kB │ gzip: 1.08 kB
176
- ℹ dist/run/run.schema.d.ts 11.67 kB │ gzip: 1.05 kB
176
+ ℹ dist/run/run.schema.d.ts 11.87 kB │ gzip: 1.06 kB
177
177
  ℹ dist/agent/agent.schema.d.ts 11.14 kB │ gzip: 0.83 kB
178
- ℹ dist/run/run.event.d.ts  8.43 kB │ gzip: 0.78 kB
178
+ ℹ dist/run/run.event.d.ts  8.44 kB │ gzip: 0.78 kB
179
179
  ℹ dist/index.d.ts  7.26 kB │ gzip: 1.47 kB
180
180
  ℹ dist/tool/tool.handler.d.ts  6.76 kB │ gzip: 1.09 kB
181
181
  ℹ dist/tool/tool.schema.d.ts  6.38 kB │ gzip: 0.64 kB
182
182
  ℹ dist/shared/mock-tools.d.ts  4.89 kB │ gzip: 0.70 kB
183
183
  ℹ dist/run/run.handler.d.ts  4.51 kB │ gzip: 0.89 kB
184
184
  ℹ dist/run/run.entity.d.ts  3.83 kB │ gzip: 0.60 kB
185
- ℹ dist/agent/agent.event.d.ts  3.76 kB │ gzip: 0.51 kB
185
+ ℹ dist/agent/agent.event.d.ts  3.73 kB │ gzip: 0.51 kB
186
186
  ℹ dist/handlers/agent.handlers.d.ts  3.47 kB │ gzip: 1.01 kB
187
187
  ℹ dist/tool/tool.event.d.ts  3.00 kB │ gzip: 0.46 kB
188
188
  ℹ dist/agent/agent.handler.d.ts  2.67 kB │ gzip: 0.76 kB
189
- ℹ dist/agent/agent.entity.d.ts  2.63 kB │ gzip: 0.54 kB
189
+ ℹ dist/agent/agent.entity.d.ts  2.55 kB │ gzip: 0.54 kB
190
190
  ℹ dist/shared/mock-runs.d.ts  2.41 kB │ gzip: 0.50 kB
191
191
  ℹ dist/ui/index.d.ts  2.03 kB │ gzip: 0.46 kB
192
192
  ℹ dist/tool/tool.entity.d.ts  1.93 kB │ gzip: 0.46 kB
@@ -205,54 +205,54 @@ $ tsdown
205
205
  ℹ dist/agent/agent.presentation.d.ts  0.74 kB │ gzip: 0.29 kB
206
206
  ℹ dist/ui/modals/CreateAgentModal.d.ts  0.66 kB │ gzip: 0.34 kB
207
207
  ℹ dist/tool/tool.enum.d.ts  0.65 kB │ gzip: 0.26 kB
208
- ℹ dist/agent/agent.enum.d.ts  0.63 kB │ gzip: 0.27 kB
208
+ ℹ dist/agent/agent.enum.d.ts  0.63 kB │ gzip: 0.26 kB
209
209
  ℹ dist/ui/overlays/demo-overlays.d.ts  0.61 kB │ gzip: 0.29 kB
210
210
  ℹ dist/ui/hooks/index.d.ts  0.60 kB │ gzip: 0.20 kB
211
211
  ℹ dist/presentations/index.d.ts  0.60 kB │ gzip: 0.18 kB
212
+ src/ui/renderers/run-list.markdown.ts (11:36) [UNRESOLVED_IMPORT] Warning: Could not resolve '@contractspec/example.agent-console/handlers' in src/ui/renderers/run-list.markdown.ts
212
213
  ℹ dist/tool/tool.presentation.d.ts  0.51 kB │ gzip: 0.24 kB
214
+ ╭─[ src/ui/renderers/run-list.markdown.ts:11:37 ]
213
215
  ℹ dist/run/run.presentation.d.ts  0.51 kB │ gzip: 0.24 kB
214
216
  ℹ dist/ui/renderers/index.d.ts  0.50 kB │ gzip: 0.16 kB
217
+ │
215
218
  ℹ dist/ui/renderers/tool-registry.markdown.d.ts  0.46 kB │ gzip: 0.26 kB
216
219
  ℹ dist/ui/renderers/dashboard.markdown.d.ts  0.45 kB │ gzip: 0.26 kB
217
220
  ℹ dist/ui/renderers/agent-list.markdown.d.ts  0.44 kB │ gzip: 0.26 kB
218
221
  ℹ dist/ui/renderers/run-list.markdown.d.ts  0.42 kB │ gzip: 0.26 kB
219
222
  ℹ dist/ui/views/ToolRegistryView.d.ts  0.42 kB │ gzip: 0.25 kB
223
+ 11 │ import { mockListRunsHandler } from '@contractspec/example.agent-console/handlers';
220
224
  ℹ dist/agent.feature.d.ts  0.39 kB │ gzip: 0.24 kB
221
225
  ℹ dist/ui/views/RunListView.d.ts  0.38 kB │ gzip: 0.25 kB
222
226
  ℹ dist/ui/renderers/agent-list.renderer.d.ts  0.37 kB │ gzip: 0.22 kB
223
227
  ℹ dist/agent/agent.test-spec.d.ts  0.35 kB │ gzip: 0.19 kB
224
228
  ℹ dist/tool/tool.test-spec.d.ts  0.35 kB │ gzip: 0.19 kB
229
+  │ ───────────────────────┬──────────────────────
225
230
  ℹ dist/run/run.test-spec.d.ts  0.34 kB │ gzip: 0.19 kB
226
231
  ℹ dist/seeders/index.d.ts  0.28 kB │ gzip: 0.22 kB
232
+  │ ╰──────────────────────── Module not found, treating it as an external dependency
233
+  │
227
234
  ℹ dist/agent.capability.d.ts  0.28 kB │ gzip: 0.17 kB
228
235
  ℹ dist/example.d.ts  0.25 kB │ gzip: 0.17 kB
236
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
237
+ ────╯
229
238
  ℹ dist/ui/views/AgentListView.d.ts  0.25 kB │ gzip: 0.18 kB
230
239
  ℹ dist/ui/AgentDashboard.d.ts  0.25 kB │ gzip: 0.18 kB
231
240
  ℹ dist/ui/views/index.d.ts  0.21 kB │ gzip: 0.10 kB
232
241
  ℹ dist/ui/overlays/index.d.ts  0.20 kB │ gzip: 0.10 kB
233
242
  ℹ dist/shared/index.d.ts  0.18 kB │ gzip: 0.10 kB
234
243
  ℹ dist/ui/modals/index.d.ts  0.17 kB │ gzip: 0.09 kB
244
+
235
245
  ℹ dist/ui/AgentToolRegistry.d.ts  0.11 kB │ gzip: 0.09 kB
236
- ℹ dist/ui/AgentRunList.d.ts  0.09 kB │ gzip: 0.08 kB
237
- ℹ dist/docs/agent-console.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
238
- ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
239
- ℹ 230 files, total: 711.55 kB
240
246
  src/ui/renderers/tool-registry.markdown.ts (10:37) [UNRESOLVED_IMPORT] Warning: Could not resolve '@contractspec/example.agent-console/handlers' in src/ui/renderers/tool-registry.markdown.ts
241
247
  ╭─[ src/ui/renderers/tool-registry.markdown.ts:10:38 ]
242
248
  │
243
249
  10 │ import { mockListToolsHandler } from '@contractspec/example.agent-console/handlers';
244
250
   │ ───────────────────────┬──────────────────────
251
+ ℹ dist/ui/AgentRunList.d.ts  0.09 kB │ gzip: 0.08 kB
252
+ ℹ dist/docs/agent-console.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
253
+ ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
245
254
   │ ╰──────────────────────── Module not found, treating it as an external dependency
246
-  │
247
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
248
- ────╯
249
-
250
- src/ui/renderers/run-list.markdown.ts (11:36) [UNRESOLVED_IMPORT] Warning: Could not resolve '@contractspec/example.agent-console/handlers' in src/ui/renderers/run-list.markdown.ts
251
- ╭─[ src/ui/renderers/run-list.markdown.ts:11:37 ]
252
- │
253
- 11 │ import { mockListRunsHandler } from '@contractspec/example.agent-console/handlers';
254
-  │ ───────────────────────┬──────────────────────
255
-  │ ╰──────────────────────── Module not found, treating it as an external dependency
255
+ ℹ 230 files, total: 711.65 kB
256
256
   │
257
257
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
258
258
  ────╯
@@ -277,4 +277,4 @@ src/ui/renderers/dashboard.markdown.ts (14:7) [UNRESOLVED_IMPORT] Warning:
277
277
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
278
278
  ────╯
279
279
 
280
- ✔ Build complete in 37389ms
280
+ ✔ Build complete in 37365ms
@@ -172,11 +172,11 @@ $ tsdown
172
172
  ℹ dist/shared/mock-runs.d.ts.map  0.14 kB │ gzip: 0.13 kB
173
173
  ℹ dist/example.d.ts.map  0.14 kB │ gzip: 0.13 kB
174
174
  ℹ dist/run/run.operation.d.ts 21.40 kB │ gzip: 1.56 kB
175
- ℹ dist/agent/agent.operation.d.ts 13.66 kB │ gzip: 1.20 kB
176
- ℹ dist/tool/tool.operation.d.ts 12.33 kB │ gzip: 1.08 kB
175
+ ℹ dist/agent/agent.operation.d.ts 13.78 kB │ gzip: 1.20 kB
176
+ ℹ dist/tool/tool.operation.d.ts 12.22 kB │ gzip: 1.08 kB
177
177
  ℹ dist/run/run.schema.d.ts 11.87 kB │ gzip: 1.06 kB
178
178
  ℹ dist/agent/agent.schema.d.ts 11.14 kB │ gzip: 0.83 kB
179
- ℹ dist/run/run.event.d.ts  8.44 kB │ gzip: 0.79 kB
179
+ ℹ dist/run/run.event.d.ts  8.44 kB │ gzip: 0.78 kB
180
180
  ℹ dist/index.d.ts  7.26 kB │ gzip: 1.47 kB
181
181
  ℹ dist/tool/tool.handler.d.ts  6.76 kB │ gzip: 1.09 kB
182
182
  ℹ dist/tool/tool.schema.d.ts  6.38 kB │ gzip: 0.64 kB
@@ -210,8 +210,8 @@ $ tsdown
210
210
  ℹ dist/ui/overlays/demo-overlays.d.ts  0.61 kB │ gzip: 0.29 kB
211
211
  ℹ dist/ui/hooks/index.d.ts  0.60 kB │ gzip: 0.20 kB
212
212
  ℹ dist/presentations/index.d.ts  0.60 kB │ gzip: 0.18 kB
213
- ℹ dist/tool/tool.presentation.d.ts  0.51 kB │ gzip: 0.24 kB
214
213
  ℹ dist/run/run.presentation.d.ts  0.51 kB │ gzip: 0.24 kB
214
+ ℹ dist/tool/tool.presentation.d.ts  0.51 kB │ gzip: 0.23 kB
215
215
  ℹ dist/ui/renderers/index.d.ts  0.50 kB │ gzip: 0.16 kB
216
216
  ℹ dist/ui/renderers/tool-registry.markdown.d.ts  0.46 kB │ gzip: 0.26 kB
217
217
  ℹ dist/ui/renderers/dashboard.markdown.d.ts  0.45 kB │ gzip: 0.26 kB
@@ -226,28 +226,28 @@ $ tsdown
226
226
  ℹ dist/run/run.test-spec.d.ts  0.34 kB │ gzip: 0.19 kB
227
227
  ℹ dist/seeders/index.d.ts  0.28 kB │ gzip: 0.22 kB
228
228
  ℹ dist/agent.capability.d.ts  0.28 kB │ gzip: 0.17 kB
229
- src/ui/renderers/agent-list.markdown.ts (13:7) [UNRESOLVED_IMPORT] Warning: Could not resolve '@contractspec/example.agent-console/handlers' in src/ui/renderers/agent-list.markdown.ts
230
229
  ℹ dist/example.d.ts  0.25 kB │ gzip: 0.17 kB
231
230
  ℹ dist/ui/views/AgentListView.d.ts  0.25 kB │ gzip: 0.18 kB
232
- ╭─[ src/ui/renderers/agent-list.markdown.ts:13:8 ]
233
- │
234
231
  ℹ dist/ui/AgentDashboard.d.ts  0.25 kB │ gzip: 0.18 kB
235
232
  ℹ dist/ui/views/index.d.ts  0.21 kB │ gzip: 0.10 kB
236
233
  ℹ dist/ui/overlays/index.d.ts  0.20 kB │ gzip: 0.10 kB
237
- 13 │ } from '@contractspec/example.agent-console/handlers';
238
234
  ℹ dist/shared/index.d.ts  0.18 kB │ gzip: 0.10 kB
239
-  │ ───────────────────────┬──────────────────────
240
-  │ ╰──────────────────────── Module not found, treating it as an external dependency
241
235
  ℹ dist/ui/modals/index.d.ts  0.17 kB │ gzip: 0.09 kB
242
-  │
243
236
  ℹ dist/ui/AgentToolRegistry.d.ts  0.11 kB │ gzip: 0.09 kB
244
237
  ℹ dist/ui/AgentRunList.d.ts  0.09 kB │ gzip: 0.08 kB
245
238
  ℹ dist/docs/agent-console.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
246
239
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
240
+ ℹ 230 files, total: 711.60 kB
241
+ src/ui/renderers/agent-list.markdown.ts (13:7) [UNRESOLVED_IMPORT] Warning: Could not resolve '@contractspec/example.agent-console/handlers' in src/ui/renderers/agent-list.markdown.ts
242
+ ╭─[ src/ui/renderers/agent-list.markdown.ts:13:8 ]
243
+ │
244
+ 13 │ } from '@contractspec/example.agent-console/handlers';
245
+  │ ───────────────────────┬──────────────────────
246
+  │ ╰──────────────────────── Module not found, treating it as an external dependency
247
+  │
247
248
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
248
249
  ────╯
249
250
 
250
- ℹ 230 files, total: 711.59 kB
251
251
  src/ui/renderers/tool-registry.markdown.ts (10:37) [UNRESOLVED_IMPORT] Warning: Could not resolve '@contractspec/example.agent-console/handlers' in src/ui/renderers/tool-registry.markdown.ts
252
252
  ╭─[ src/ui/renderers/tool-registry.markdown.ts:10:38 ]
253
253
  │
@@ -278,4 +278,4 @@ src/ui/renderers/dashboard.markdown.ts (14:7) [UNRESOLVED_IMPORT] Warning:
278
278
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
279
279
  ────╯
280
280
 
281
- ✔ Build complete in 38658ms
281
+ ✔ Build complete in 31339ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @contractspec/example.agent-console
2
2
 
3
+ ## 1.51.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e6faefb: feat: add guide to import existing codebase
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [23e46e9]
12
+ - Updated dependencies [ad1f852]
13
+ - Updated dependencies [e6faefb]
14
+ - @contractspec/lib.contracts@1.51.0
15
+ - @contractspec/lib.example-shared-ui@1.5.0
16
+ - @contractspec/lib.runtime-sandbox@0.6.0
17
+ - @contractspec/lib.design-system@1.51.0
18
+ - @contractspec/lib.schema@1.51.0
19
+
20
+ ## 1.50.0
21
+
22
+ ### Minor Changes
23
+
24
+ - 5325d6b: feat: improve seo
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [5325d6b]
29
+ - @contractspec/lib.contracts@1.50.0
30
+ - @contractspec/lib.design-system@1.50.0
31
+ - @contractspec/lib.example-shared-ui@1.4.0
32
+ - @contractspec/lib.runtime-sandbox@0.5.0
33
+ - @contractspec/lib.schema@1.50.0
34
+
3
35
  ## 1.49.0
4
36
 
5
37
  ### Minor Changes
@@ -1,54 +1,54 @@
1
- import * as _contractspec_lib_schema711 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/agent/agent.entity.d.ts
4
4
  /**
5
5
  * Agent status for lifecycle management.
6
6
  */
7
- declare const AgentStatusEntityEnum: _contractspec_lib_schema711.EntityEnumDef;
7
+ declare const AgentStatusEntityEnum: _contractspec_lib_schema0.EntityEnumDef;
8
8
  /**
9
9
  * Agent model provider.
10
10
  */
11
- declare const ModelProviderEntityEnum: _contractspec_lib_schema711.EntityEnumDef;
11
+ declare const ModelProviderEntityEnum: _contractspec_lib_schema0.EntityEnumDef;
12
12
  /**
13
13
  * Agent entity - Represents an AI agent configuration.
14
14
  */
15
- declare const AgentEntity: _contractspec_lib_schema711.EntitySpec<{
16
- id: _contractspec_lib_schema711.EntityScalarField;
17
- organizationId: _contractspec_lib_schema711.EntityScalarField;
18
- name: _contractspec_lib_schema711.EntityScalarField;
19
- slug: _contractspec_lib_schema711.EntityScalarField;
20
- description: _contractspec_lib_schema711.EntityScalarField;
21
- status: _contractspec_lib_schema711.EntityEnumField;
22
- modelProvider: _contractspec_lib_schema711.EntityEnumField;
23
- modelName: _contractspec_lib_schema711.EntityScalarField;
24
- modelConfig: _contractspec_lib_schema711.EntityScalarField;
25
- systemPrompt: _contractspec_lib_schema711.EntityScalarField;
26
- userPromptTemplate: _contractspec_lib_schema711.EntityScalarField;
27
- toolIds: _contractspec_lib_schema711.EntityScalarField;
28
- toolChoice: _contractspec_lib_schema711.EntityScalarField;
29
- maxIterations: _contractspec_lib_schema711.EntityScalarField;
30
- maxTokensPerRun: _contractspec_lib_schema711.EntityScalarField;
31
- timeoutMs: _contractspec_lib_schema711.EntityScalarField;
32
- version: _contractspec_lib_schema711.EntityScalarField;
33
- tags: _contractspec_lib_schema711.EntityScalarField;
34
- createdAt: _contractspec_lib_schema711.EntityScalarField;
35
- updatedAt: _contractspec_lib_schema711.EntityScalarField;
36
- createdById: _contractspec_lib_schema711.EntityScalarField;
37
- tools: _contractspec_lib_schema711.EntityRelationField;
15
+ declare const AgentEntity: _contractspec_lib_schema0.EntitySpec<{
16
+ id: _contractspec_lib_schema0.EntityScalarField;
17
+ organizationId: _contractspec_lib_schema0.EntityScalarField;
18
+ name: _contractspec_lib_schema0.EntityScalarField;
19
+ slug: _contractspec_lib_schema0.EntityScalarField;
20
+ description: _contractspec_lib_schema0.EntityScalarField;
21
+ status: _contractspec_lib_schema0.EntityEnumField;
22
+ modelProvider: _contractspec_lib_schema0.EntityEnumField;
23
+ modelName: _contractspec_lib_schema0.EntityScalarField;
24
+ modelConfig: _contractspec_lib_schema0.EntityScalarField;
25
+ systemPrompt: _contractspec_lib_schema0.EntityScalarField;
26
+ userPromptTemplate: _contractspec_lib_schema0.EntityScalarField;
27
+ toolIds: _contractspec_lib_schema0.EntityScalarField;
28
+ toolChoice: _contractspec_lib_schema0.EntityScalarField;
29
+ maxIterations: _contractspec_lib_schema0.EntityScalarField;
30
+ maxTokensPerRun: _contractspec_lib_schema0.EntityScalarField;
31
+ timeoutMs: _contractspec_lib_schema0.EntityScalarField;
32
+ version: _contractspec_lib_schema0.EntityScalarField;
33
+ tags: _contractspec_lib_schema0.EntityScalarField;
34
+ createdAt: _contractspec_lib_schema0.EntityScalarField;
35
+ updatedAt: _contractspec_lib_schema0.EntityScalarField;
36
+ createdById: _contractspec_lib_schema0.EntityScalarField;
37
+ tools: _contractspec_lib_schema0.EntityRelationField;
38
38
  }>;
39
39
  /**
40
40
  * AgentTool join entity - Links agents to their assigned tools.
41
41
  */
42
- declare const AgentToolEntity: _contractspec_lib_schema711.EntitySpec<{
43
- id: _contractspec_lib_schema711.EntityScalarField;
44
- agentId: _contractspec_lib_schema711.EntityScalarField;
45
- toolId: _contractspec_lib_schema711.EntityScalarField;
46
- config: _contractspec_lib_schema711.EntityScalarField;
47
- order: _contractspec_lib_schema711.EntityScalarField;
48
- isEnabled: _contractspec_lib_schema711.EntityScalarField;
49
- createdAt: _contractspec_lib_schema711.EntityScalarField;
50
- agent: _contractspec_lib_schema711.EntityRelationField;
51
- tool: _contractspec_lib_schema711.EntityRelationField;
42
+ declare const AgentToolEntity: _contractspec_lib_schema0.EntitySpec<{
43
+ id: _contractspec_lib_schema0.EntityScalarField;
44
+ agentId: _contractspec_lib_schema0.EntityScalarField;
45
+ toolId: _contractspec_lib_schema0.EntityScalarField;
46
+ config: _contractspec_lib_schema0.EntityScalarField;
47
+ order: _contractspec_lib_schema0.EntityScalarField;
48
+ isEnabled: _contractspec_lib_schema0.EntityScalarField;
49
+ createdAt: _contractspec_lib_schema0.EntityScalarField;
50
+ agent: _contractspec_lib_schema0.EntityRelationField;
51
+ tool: _contractspec_lib_schema0.EntityRelationField;
52
52
  }>;
53
53
  //#endregion
54
54
  export { AgentEntity, AgentStatusEntityEnum, AgentToolEntity, ModelProviderEntityEnum };
@@ -1 +1 @@
1
- {"version":3,"file":"agent.entity.d.ts","names":[],"sources":["../../src/agent/agent.entity.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,qBAIX,EAAA,2BAAA,CAJgC,aAIhC;AAKF;AASA;;cATa,yBAIX,2BAAA,CAJkC;;;;cASvB,yCAAW;MA2EtB,2BAAA,CAAA;;;;;;;;;;;;;;;;wDA3EsB;EAAA,IAAA,+CAAA;EAgFX,SAAA,+CA4BX;EAAA,SAAA,+CAAA;;;;;;;cA5BW,6CAAe;MA4B1B,2BAAA,CAAA;wDA5B0B;EAAA,MAAA,+CAAA"}
1
+ {"version":3,"file":"agent.entity.d.ts","names":[],"sources":["../../src/agent/agent.entity.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,qBAIX,EAAA,yBAAA,CAJgC,aAIhC;AAKF;AASA;;cATa,yBAIX,yBAAA,CAJkC;;;;cASvB,uCAAW;MA2EtB,yBAAA,CAAA;;;;;;;;;;;;;;;;sDA3EsB;EAAA,IAAA,6CAAA;EAgFX,SAAA,6CA4BX;EAAA,SAAA,6CAAA;;;;;;;cA5BW,2CAAe;MA4B1B,yBAAA,CAAA;sDA5B0B;EAAA,MAAA,6CAAA"}
@@ -1,18 +1,18 @@
1
- import * as _contractspec_lib_schema746 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema34 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/agent/agent.enum.d.ts
4
4
  /**
5
5
  * Agent status enum.
6
6
  */
7
- declare const AgentStatusEnum: _contractspec_lib_schema746.EnumType<[string, string, string, string]>;
7
+ declare const AgentStatusEnum: _contractspec_lib_schema34.EnumType<[string, string, string, string]>;
8
8
  /**
9
9
  * Model provider enum.
10
10
  */
11
- declare const ModelProviderEnum: _contractspec_lib_schema746.EnumType<[string, string, string, string, string]>;
11
+ declare const ModelProviderEnum: _contractspec_lib_schema34.EnumType<[string, string, string, string, string]>;
12
12
  /**
13
13
  * Tool choice mode enum.
14
14
  */
15
- declare const ToolChoiceEnum: _contractspec_lib_schema746.EnumType<[string, string, string]>;
15
+ declare const ToolChoiceEnum: _contractspec_lib_schema34.EnumType<[string, string, string]>;
16
16
  //#endregion
17
17
  export { AgentStatusEnum, ModelProviderEnum, ToolChoiceEnum };
18
18
  //# sourceMappingURL=agent.enum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent.enum.d.ts","names":[],"sources":["../../src/agent/agent.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,eAKX,EAAA,2BAAA,CAL0B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;AAU5B;AAWA;;cAXa,mBAMX,2BAAA,CAN4B;;;;cAWjB,gBAIX,2BAAA,CAJyB"}
1
+ {"version":3,"file":"agent.enum.d.ts","names":[],"sources":["../../src/agent/agent.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,eAKX,EAAA,0BAAA,CAL0B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;AAU5B;AAWA;;cAXa,mBAMX,0BAAA,CAN4B;;;;cAWjB,gBAIX,0BAAA,CAJyB"}
@@ -1,125 +1,125 @@
1
- import * as _contractspec_lib_contracts37 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema749 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_contracts1 from "@contractspec/lib.contracts";
2
+ import * as _contractspec_lib_schema37 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/agent/agent.event.d.ts
5
5
  /**
6
6
  * AgentCreatedEvent - A new agent was created.
7
7
  */
8
- declare const AgentCreatedEvent: _contractspec_lib_contracts37.EventSpec<_contractspec_lib_schema749.SchemaModel<{
8
+ declare const AgentCreatedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema37.SchemaModel<{
9
9
  id: {
10
- type: _contractspec_lib_schema749.FieldType<string, string>;
10
+ type: _contractspec_lib_schema37.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  organizationId: {
14
- type: _contractspec_lib_schema749.FieldType<string, string>;
14
+ type: _contractspec_lib_schema37.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  name: {
18
- type: _contractspec_lib_schema749.FieldType<string, string>;
18
+ type: _contractspec_lib_schema37.FieldType<string, string>;
19
19
  isOptional: false;
20
20
  };
21
21
  slug: {
22
- type: _contractspec_lib_schema749.FieldType<string, string>;
22
+ type: _contractspec_lib_schema37.FieldType<string, string>;
23
23
  isOptional: false;
24
24
  };
25
25
  modelProvider: {
26
- type: _contractspec_lib_schema749.FieldType<string, string>;
26
+ type: _contractspec_lib_schema37.FieldType<string, string>;
27
27
  isOptional: false;
28
28
  };
29
29
  modelName: {
30
- type: _contractspec_lib_schema749.FieldType<string, string>;
30
+ type: _contractspec_lib_schema37.FieldType<string, string>;
31
31
  isOptional: false;
32
32
  };
33
33
  toolCount: {
34
- type: _contractspec_lib_schema749.FieldType<number, number>;
34
+ type: _contractspec_lib_schema37.FieldType<number, number>;
35
35
  isOptional: false;
36
36
  };
37
37
  createdById: {
38
- type: _contractspec_lib_schema749.FieldType<string, string>;
38
+ type: _contractspec_lib_schema37.FieldType<string, string>;
39
39
  isOptional: true;
40
40
  };
41
41
  createdAt: {
42
- type: _contractspec_lib_schema749.FieldType<Date, string>;
42
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
43
43
  isOptional: false;
44
44
  };
45
45
  }>>;
46
46
  /**
47
47
  * AgentUpdatedEvent - An agent was updated.
48
48
  */
49
- declare const AgentUpdatedEvent: _contractspec_lib_contracts37.EventSpec<_contractspec_lib_schema749.SchemaModel<{
49
+ declare const AgentUpdatedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema37.SchemaModel<{
50
50
  id: {
51
- type: _contractspec_lib_schema749.FieldType<string, string>;
51
+ type: _contractspec_lib_schema37.FieldType<string, string>;
52
52
  isOptional: false;
53
53
  };
54
54
  organizationId: {
55
- type: _contractspec_lib_schema749.FieldType<string, string>;
55
+ type: _contractspec_lib_schema37.FieldType<string, string>;
56
56
  isOptional: false;
57
57
  };
58
58
  name: {
59
- type: _contractspec_lib_schema749.FieldType<string, string>;
59
+ type: _contractspec_lib_schema37.FieldType<string, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  status: {
63
- type: _contractspec_lib_schema749.FieldType<string, string>;
63
+ type: _contractspec_lib_schema37.FieldType<string, string>;
64
64
  isOptional: false;
65
65
  };
66
66
  updatedFields: {
67
- type: _contractspec_lib_schema749.FieldType<string, string>;
67
+ type: _contractspec_lib_schema37.FieldType<string, string>;
68
68
  isArray: true;
69
69
  isOptional: false;
70
70
  };
71
71
  updatedAt: {
72
- type: _contractspec_lib_schema749.FieldType<Date, string>;
72
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  }>>;
76
76
  /**
77
77
  * AgentToolAssignedEvent - A tool was assigned to an agent.
78
78
  */
79
- declare const AgentToolAssignedEvent: _contractspec_lib_contracts37.EventSpec<_contractspec_lib_schema749.SchemaModel<{
79
+ declare const AgentToolAssignedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema37.SchemaModel<{
80
80
  agentId: {
81
- type: _contractspec_lib_schema749.FieldType<string, string>;
81
+ type: _contractspec_lib_schema37.FieldType<string, string>;
82
82
  isOptional: false;
83
83
  };
84
84
  toolId: {
85
- type: _contractspec_lib_schema749.FieldType<string, string>;
85
+ type: _contractspec_lib_schema37.FieldType<string, string>;
86
86
  isOptional: false;
87
87
  };
88
88
  agentName: {
89
- type: _contractspec_lib_schema749.FieldType<string, string>;
89
+ type: _contractspec_lib_schema37.FieldType<string, string>;
90
90
  isOptional: false;
91
91
  };
92
92
  toolName: {
93
- type: _contractspec_lib_schema749.FieldType<string, string>;
93
+ type: _contractspec_lib_schema37.FieldType<string, string>;
94
94
  isOptional: false;
95
95
  };
96
96
  assignedAt: {
97
- type: _contractspec_lib_schema749.FieldType<Date, string>;
97
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
98
98
  isOptional: false;
99
99
  };
100
100
  }>>;
101
101
  /**
102
102
  * AgentToolRemovedEvent - A tool was removed from an agent.
103
103
  */
104
- declare const AgentToolRemovedEvent: _contractspec_lib_contracts37.EventSpec<_contractspec_lib_schema749.SchemaModel<{
104
+ declare const AgentToolRemovedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema37.SchemaModel<{
105
105
  agentId: {
106
- type: _contractspec_lib_schema749.FieldType<string, string>;
106
+ type: _contractspec_lib_schema37.FieldType<string, string>;
107
107
  isOptional: false;
108
108
  };
109
109
  toolId: {
110
- type: _contractspec_lib_schema749.FieldType<string, string>;
110
+ type: _contractspec_lib_schema37.FieldType<string, string>;
111
111
  isOptional: false;
112
112
  };
113
113
  agentName: {
114
- type: _contractspec_lib_schema749.FieldType<string, string>;
114
+ type: _contractspec_lib_schema37.FieldType<string, string>;
115
115
  isOptional: false;
116
116
  };
117
117
  toolName: {
118
- type: _contractspec_lib_schema749.FieldType<string, string>;
118
+ type: _contractspec_lib_schema37.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  removedAt: {
122
- type: _contractspec_lib_schema749.FieldType<Date, string>;
122
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
123
123
  isOptional: false;
124
124
  };
125
125
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"agent.event.d.ts","names":[],"sources":["../../src/agent/agent.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiCa,mBAAiB,6BAAA,CAAA,sCAAA;EAAjB,EAAA,EAAA;IAUX,IAAA,EAAA,2BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;EAV4B,IAAA,EAAA;IAAA,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAsCjB,UAAA,EAAA,KAUX;EAAA,CAAA;;;;;;;;EAV4B,CAAA;EAAA,SAAA,EAAA;IA8BjB,IAAA,uCAUX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;IAViC,IAAA,uCAAA,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EA8BtB,CAAA;CAUX,CAAA,CAAA;;;;cAtEW,mBAAiB,6BAAA,CAAA,sCAAA;;UAU5B,2BAAA,CAAA,SAkDgC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA9BrB,wBAAsB,6BAAA,CAAA,sCAAA;;UAUjC,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAoBW,uBAAqB,6BAAA,CAAA,sCAAA;;UAUhC,2BAAA,CAAA"}
1
+ {"version":3,"file":"agent.event.d.ts","names":[],"sources":["../../src/agent/agent.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiCa,mBAAiB,4BAAA,CAAA,qCAAA;EAAjB,EAAA,EAAA;IAUX,IAAA,EAAA,0BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;EAV4B,IAAA,EAAA;IAAA,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAsCjB,UAAA,EAAA,KAUX;EAAA,CAAA;;;;;;;;EAV4B,CAAA;EAAA,SAAA,EAAA;IA8BjB,IAAA,sCAUX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;IAViC,IAAA,sCAAA,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EA8BtB,CAAA;CAUX,CAAA,CAAA;;;;cAtEW,mBAAiB,4BAAA,CAAA,qCAAA;;UAU5B,0BAAA,CAAA,SAkDgC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA9BrB,wBAAsB,4BAAA,CAAA,qCAAA;;UAUjC,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAoBW,uBAAqB,4BAAA,CAAA,qCAAA;;UAUhC,0BAAA,CAAA"}
@@ -92,7 +92,7 @@ declare function mockUpdateAgentHandler(input: {
92
92
  }): Promise<{
93
93
  id: string;
94
94
  name: string;
95
- status: "ACTIVE" | "DRAFT" | "PAUSED" | "ARCHIVED";
95
+ status: "DRAFT" | "ACTIVE" | "PAUSED" | "ARCHIVED";
96
96
  updatedAt: Date;
97
97
  }>;
98
98
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"agent.handler.d.ts","names":[],"sources":["../../src/agent/agent.handler.ts"],"sourcesContent":[],"mappings":";UAMiB,eAAA;EAAA,cAAA,EAAA,MAAe;EASf,MAAA,CAAA,EAAA,OAAY,GAAA,QAAA,GAShB,QAAI,GAAA,UAAA;EAGA,aAAA,CAAA,EAAA,QAAgB,GAAA,WACxB,GAAA,QAAY,GAAA,SAAA,GAAA,QAAA;EAKJ,MAAA,CAAA,EAAA,MAAA;EAKA,KAAA,CAAA,EAAA,MAAA;EAQA,MAAA,CAAA,EAAA,MAAA;;AAmBJ,UAlDI,YAAA,CAkDJ;EACA,EAAA,EAAA,MAAA;EACH,IAAA,EAAA,MAAA;EAAY,IAAA,EAAA,MAAA;EAMA,WAAA,CAAA,EAAA,MAAA;EACb,MAAA,EAAA,OAAA,GAAA,QAAA,GAAA,QAAA,GAAA,UAAA;EACE,aAAA,EAAA,QAAA,GAAA,WAAA,GAAA,QAAA,GAAA,SAAA,GAAA,QAAA;EAAR,SAAA,EAAA,MAAA;EAAO,OAAA,EAAA,MAAA;EA2CY,SAAA,EA9FT,IA8FS;;AAEX,UA7FM,gBAAA,CA6FN;EAAR,KAAA,EA5FM,YA4FN,EAAA;EAAO,KAAA,EAAA,MAAA;EAoBY,OAAA,EAAA,OAAA;AAwBtB;UAnIiB,aAAA;;;;UAKA,YAAA;;;;;;;UAQA,cAAA;;;;;;;;;gBASD;;;;;;;;;;aAUH;aACA;UACH;;;;;iBAMY,qBAAA,QACb,kBACN,QAAQ;;;;iBA2CW,mBAAA,QACb,gBACN,QAAQ;;;;iBAoBW,sBAAA;;;;;;;;IAQrB;;;;;;;;;iBAgBqB,sBAAA;;;;IAIrB;;;;aAJ2C"}
1
+ {"version":3,"file":"agent.handler.d.ts","names":[],"sources":["../../src/agent/agent.handler.ts"],"sourcesContent":[],"mappings":";UAMiB,eAAA;EAAA,cAAA,EAAA,MAAe;EASf,MAAA,CAAA,EAAA,OAAY,GAAA,QAShB,GAAA,QAAI,GAAA,UAAA;EAGA,aAAA,CAAA,EAAA,QAAgB,GAAA,WACxB,GAAA,QAAY,GAAA,SAAA,GAAA,QAAA;EAKJ,MAAA,CAAA,EAAA,MAAA;EAKA,KAAA,CAAA,EAAA,MAAA;EAQA,MAAA,CAAA,EAAA,MAAA;;AAmBJ,UAlDI,YAAA,CAkDJ;EACA,EAAA,EAAA,MAAA;EACH,IAAA,EAAA,MAAA;EAAY,IAAA,EAAA,MAAA;EAMA,WAAA,CAAA,EAAA,MAAA;EACb,MAAA,EAAA,OAAA,GAAA,QAAA,GAAA,QAAA,GAAA,UAAA;EACE,aAAA,EAAA,QAAA,GAAA,WAAA,GAAA,QAAA,GAAA,SAAA,GAAA,QAAA;EAAR,SAAA,EAAA,MAAA;EAAO,OAAA,EAAA,MAAA;EA2CY,SAAA,EA9FT,IA8FS;;AAEX,UA7FM,gBAAA,CA6FN;EAAR,KAAA,EA5FM,YA4FN,EAAA;EAAO,KAAA,EAAA,MAAA;EAoBY,OAAA,EAAA,OAAA;AAwBtB;UAnIiB,aAAA;;;;UAKA,YAAA;;;;;;;UAQA,cAAA;;;;;;;;;gBASD;;;;;;;;;;aAUH;aACA;UACH;;;;;iBAMY,qBAAA,QACb,kBACN,QAAQ;;;;iBA2CW,mBAAA,QACb,gBACN,QAAQ;;;;iBAoBW,sBAAA;;;;;;;;IAQrB;;;;;;;;;iBAgBqB,sBAAA;;;;IAIrB;;;;aAJ2C"}