@contractspec/example.agent-console 1.46.1 → 1.48.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 (202) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +275 -128
  2. package/.turbo/turbo-build.log +274 -127
  3. package/CHANGELOG.md +52 -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.event.js +5 -5
  11. package/dist/agent/agent.event.js.map +1 -1
  12. package/dist/agent/agent.handler.js.map +1 -1
  13. package/dist/agent/agent.operation.d.ts +117 -117
  14. package/dist/agent/agent.operation.d.ts.map +1 -1
  15. package/dist/agent/agent.presentation.d.ts +4 -5
  16. package/dist/agent/agent.presentation.d.ts.map +1 -1
  17. package/dist/agent/agent.presentation.js +7 -7
  18. package/dist/agent/agent.presentation.js.map +1 -1
  19. package/dist/agent/agent.schema.d.ts +95 -95
  20. package/dist/agent/agent.schema.d.ts.map +1 -1
  21. package/dist/agent/agent.test-spec.d.ts +8 -0
  22. package/dist/agent/agent.test-spec.d.ts.map +1 -0
  23. package/dist/agent/agent.test-spec.js +65 -0
  24. package/dist/agent/agent.test-spec.js.map +1 -0
  25. package/dist/agent.capability.d.ts +7 -0
  26. package/dist/agent.capability.d.ts.map +1 -0
  27. package/dist/agent.capability.js +20 -0
  28. package/dist/agent.capability.js.map +1 -0
  29. package/dist/agent.feature.d.ts.map +1 -1
  30. package/dist/agent.feature.js +4 -2
  31. package/dist/agent.feature.js.map +1 -1
  32. package/dist/example.d.ts +2 -2
  33. package/dist/example.d.ts.map +1 -1
  34. package/dist/example.js +4 -2
  35. package/dist/example.js.map +1 -1
  36. package/dist/handlers/agent.handlers.d.ts +135 -0
  37. package/dist/handlers/agent.handlers.d.ts.map +1 -0
  38. package/dist/handlers/agent.handlers.js +263 -0
  39. package/dist/handlers/agent.handlers.js.map +1 -0
  40. package/dist/handlers/index.d.ts +2 -1
  41. package/dist/handlers/index.js +2 -1
  42. package/dist/index.d.ts +19 -1
  43. package/dist/index.js +19 -1
  44. package/dist/run/run.entity.d.ts +56 -56
  45. package/dist/run/run.enum.d.ts +5 -5
  46. package/dist/run/run.event.d.ts +71 -71
  47. package/dist/run/run.event.js +8 -8
  48. package/dist/run/run.event.js.map +1 -1
  49. package/dist/run/run.operation.d.ts +175 -175
  50. package/dist/run/run.presentation.d.ts +3 -4
  51. package/dist/run/run.presentation.d.ts.map +1 -1
  52. package/dist/run/run.presentation.js +5 -5
  53. package/dist/run/run.presentation.js.map +1 -1
  54. package/dist/run/run.schema.d.ts +99 -99
  55. package/dist/run/run.test-spec.d.ts +8 -0
  56. package/dist/run/run.test-spec.d.ts.map +1 -0
  57. package/dist/run/run.test-spec.js +65 -0
  58. package/dist/run/run.test-spec.js.map +1 -0
  59. package/dist/seeders/index.d.ts +10 -0
  60. package/dist/seeders/index.d.ts.map +1 -0
  61. package/dist/seeders/index.js +20 -0
  62. package/dist/seeders/index.js.map +1 -0
  63. package/dist/shared/overlay-types.d.ts +34 -0
  64. package/dist/shared/overlay-types.d.ts.map +1 -0
  65. package/dist/shared/overlay-types.js +0 -0
  66. package/dist/tool/tool.entity.d.ts +24 -24
  67. package/dist/tool/tool.enum.d.ts +4 -4
  68. package/dist/tool/tool.event.d.ts +25 -25
  69. package/dist/tool/tool.event.js +4 -4
  70. package/dist/tool/tool.event.js.map +1 -1
  71. package/dist/tool/tool.handler.d.ts.map +1 -1
  72. package/dist/tool/tool.operation.d.ts +101 -101
  73. package/dist/tool/tool.presentation.d.ts +3 -4
  74. package/dist/tool/tool.presentation.d.ts.map +1 -1
  75. package/dist/tool/tool.presentation.js +5 -5
  76. package/dist/tool/tool.presentation.js.map +1 -1
  77. package/dist/tool/tool.schema.d.ts +52 -52
  78. package/dist/tool/tool.schema.d.ts.map +1 -1
  79. package/dist/tool/tool.test-spec.d.ts +8 -0
  80. package/dist/tool/tool.test-spec.d.ts.map +1 -0
  81. package/dist/tool/tool.test-spec.js +65 -0
  82. package/dist/tool/tool.test-spec.js.map +1 -0
  83. package/dist/ui/AgentDashboard.d.ts +7 -0
  84. package/dist/ui/AgentDashboard.d.ts.map +1 -0
  85. package/dist/ui/AgentDashboard.js +420 -0
  86. package/dist/ui/AgentDashboard.js.map +1 -0
  87. package/dist/ui/AgentRunList.d.ts +2 -0
  88. package/dist/ui/AgentRunList.js +5 -0
  89. package/dist/ui/AgentToolRegistry.d.ts +2 -0
  90. package/dist/ui/AgentToolRegistry.js +5 -0
  91. package/dist/ui/hooks/index.d.ts +6 -0
  92. package/dist/ui/hooks/index.js +8 -0
  93. package/dist/ui/hooks/useAgentList.d.ts +28 -0
  94. package/dist/ui/hooks/useAgentList.d.ts.map +1 -0
  95. package/dist/ui/hooks/useAgentList.js +66 -0
  96. package/dist/ui/hooks/useAgentList.js.map +1 -0
  97. package/dist/ui/hooks/useAgentMutations.d.ts +29 -0
  98. package/dist/ui/hooks/useAgentMutations.d.ts.map +1 -0
  99. package/dist/ui/hooks/useAgentMutations.js +124 -0
  100. package/dist/ui/hooks/useAgentMutations.js.map +1 -0
  101. package/dist/ui/hooks/useRunList.d.ts +24 -0
  102. package/dist/ui/hooks/useRunList.d.ts.map +1 -0
  103. package/dist/ui/hooks/useRunList.js +66 -0
  104. package/dist/ui/hooks/useRunList.js.map +1 -0
  105. package/dist/ui/hooks/useToolList.d.ts +40 -0
  106. package/dist/ui/hooks/useToolList.d.ts.map +1 -0
  107. package/dist/ui/hooks/useToolList.js +96 -0
  108. package/dist/ui/hooks/useToolList.js.map +1 -0
  109. package/dist/ui/index.d.ts +24 -0
  110. package/dist/ui/index.js +24 -0
  111. package/dist/ui/modals/AgentActionsModal.d.ts +27 -0
  112. package/dist/ui/modals/AgentActionsModal.d.ts.map +1 -0
  113. package/dist/ui/modals/AgentActionsModal.js +262 -0
  114. package/dist/ui/modals/AgentActionsModal.js.map +1 -0
  115. package/dist/ui/modals/CreateAgentModal.d.ts +25 -0
  116. package/dist/ui/modals/CreateAgentModal.d.ts.map +1 -0
  117. package/dist/ui/modals/CreateAgentModal.js +214 -0
  118. package/dist/ui/modals/CreateAgentModal.js.map +1 -0
  119. package/dist/ui/modals/index.d.ts +3 -0
  120. package/dist/ui/modals/index.js +4 -0
  121. package/dist/ui/overlays/demo-overlays.d.ts +19 -0
  122. package/dist/ui/overlays/demo-overlays.d.ts.map +1 -0
  123. package/dist/ui/overlays/demo-overlays.js +73 -0
  124. package/dist/ui/overlays/demo-overlays.js.map +1 -0
  125. package/dist/ui/overlays/index.d.ts +2 -0
  126. package/dist/ui/overlays/index.js +3 -0
  127. package/dist/ui/renderers/agent-list.markdown.d.ts +15 -0
  128. package/dist/ui/renderers/agent-list.markdown.d.ts.map +1 -0
  129. package/dist/ui/renderers/agent-list.markdown.js +51 -0
  130. package/dist/ui/renderers/agent-list.markdown.js.map +1 -0
  131. package/dist/ui/renderers/agent-list.renderer.d.ts +11 -0
  132. package/dist/ui/renderers/agent-list.renderer.d.ts.map +1 -0
  133. package/dist/ui/renderers/agent-list.renderer.js +19 -0
  134. package/dist/ui/renderers/agent-list.renderer.js.map +1 -0
  135. package/dist/ui/renderers/dashboard.markdown.d.ts +15 -0
  136. package/dist/ui/renderers/dashboard.markdown.d.ts.map +1 -0
  137. package/dist/ui/renderers/dashboard.markdown.js +100 -0
  138. package/dist/ui/renderers/dashboard.markdown.js.map +1 -0
  139. package/dist/ui/renderers/index.d.ts +6 -0
  140. package/dist/ui/renderers/index.js +7 -0
  141. package/dist/ui/renderers/run-list.markdown.d.ts +15 -0
  142. package/dist/ui/renderers/run-list.markdown.d.ts.map +1 -0
  143. package/dist/ui/renderers/run-list.markdown.js +44 -0
  144. package/dist/ui/renderers/run-list.markdown.js.map +1 -0
  145. package/dist/ui/renderers/tool-registry.markdown.d.ts +15 -0
  146. package/dist/ui/renderers/tool-registry.markdown.d.ts.map +1 -0
  147. package/dist/ui/renderers/tool-registry.markdown.js +55 -0
  148. package/dist/ui/renderers/tool-registry.markdown.js.map +1 -0
  149. package/dist/ui/views/AgentListView.d.ts +7 -0
  150. package/dist/ui/views/AgentListView.d.ts.map +1 -0
  151. package/dist/ui/views/AgentListView.js +93 -0
  152. package/dist/ui/views/AgentListView.js.map +1 -0
  153. package/dist/ui/views/RunListView.d.ts +14 -0
  154. package/dist/ui/views/RunListView.d.ts.map +1 -0
  155. package/dist/ui/views/RunListView.js +165 -0
  156. package/dist/ui/views/RunListView.js.map +1 -0
  157. package/dist/ui/views/ToolRegistryView.d.ts +14 -0
  158. package/dist/ui/views/ToolRegistryView.d.ts.map +1 -0
  159. package/dist/ui/views/ToolRegistryView.js +97 -0
  160. package/dist/ui/views/ToolRegistryView.js.map +1 -0
  161. package/dist/ui/views/index.d.ts +4 -0
  162. package/dist/ui/views/index.js +5 -0
  163. package/package.json +46 -10
  164. package/src/agent/agent.presentation.ts +7 -8
  165. package/src/agent/agent.test-spec.ts +55 -0
  166. package/src/agent.capability.ts +13 -0
  167. package/src/agent.feature.ts +3 -2
  168. package/src/example.ts +3 -3
  169. package/src/handlers/agent.handlers.ts +572 -0
  170. package/src/handlers/index.ts +3 -0
  171. package/src/index.ts +5 -0
  172. package/src/run/run.presentation.ts +5 -6
  173. package/src/run/run.test-spec.ts +55 -0
  174. package/src/seeders/index.ts +29 -0
  175. package/src/shared/overlay-types.ts +39 -0
  176. package/src/tool/tool.presentation.ts +5 -6
  177. package/src/tool/tool.test-spec.ts +55 -0
  178. package/src/ui/AgentDashboard.tsx +416 -0
  179. package/src/ui/AgentRunList.tsx +8 -0
  180. package/src/ui/AgentToolRegistry.tsx +8 -0
  181. package/src/ui/hooks/index.ts +14 -0
  182. package/src/ui/hooks/useAgentList.ts +80 -0
  183. package/src/ui/hooks/useAgentMutations.ts +156 -0
  184. package/src/ui/hooks/useRunList.ts +81 -0
  185. package/src/ui/hooks/useToolList.ts +122 -0
  186. package/src/ui/index.ts +21 -0
  187. package/src/ui/modals/AgentActionsModal.tsx +306 -0
  188. package/src/ui/modals/CreateAgentModal.tsx +257 -0
  189. package/src/ui/modals/index.ts +2 -0
  190. package/src/ui/overlays/demo-overlays.ts +77 -0
  191. package/src/ui/overlays/index.ts +1 -0
  192. package/src/ui/renderers/agent-list.markdown.ts +84 -0
  193. package/src/ui/renderers/agent-list.renderer.tsx +27 -0
  194. package/src/ui/renderers/dashboard.markdown.ts +169 -0
  195. package/src/ui/renderers/index.ts +12 -0
  196. package/src/ui/renderers/run-list.markdown.ts +75 -0
  197. package/src/ui/renderers/tool-registry.markdown.ts +91 -0
  198. package/src/ui/views/AgentListView.tsx +113 -0
  199. package/src/ui/views/RunListView.tsx +173 -0
  200. package/src/ui/views/ToolRegistryView.tsx +140 -0
  201. package/src/ui/views/index.ts +6 -0
  202. package/tsconfig.tsbuildinfo +1 -1
@@ -1,168 +1,168 @@
1
- import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema821 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/tool/tool.schema.d.ts
4
4
  /**
5
5
  * AI tool definition.
6
6
  */
7
- declare const ToolModel: _contractspec_lib_schema0.SchemaModel<{
7
+ declare const ToolModel: _contractspec_lib_schema821.SchemaModel<{
8
8
  id: {
9
- type: _contractspec_lib_schema0.FieldType<string, string>;
9
+ type: _contractspec_lib_schema821.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  organizationId: {
13
- type: _contractspec_lib_schema0.FieldType<string, string>;
13
+ type: _contractspec_lib_schema821.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  name: {
17
- type: _contractspec_lib_schema0.FieldType<string, string>;
17
+ type: _contractspec_lib_schema821.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  slug: {
21
- type: _contractspec_lib_schema0.FieldType<string, string>;
21
+ type: _contractspec_lib_schema821.FieldType<string, string>;
22
22
  isOptional: false;
23
23
  };
24
24
  description: {
25
- type: _contractspec_lib_schema0.FieldType<string, string>;
25
+ type: _contractspec_lib_schema821.FieldType<string, string>;
26
26
  isOptional: false;
27
27
  };
28
28
  category: {
29
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
29
+ type: _contractspec_lib_schema821.EnumType<[string, string, string, string, string, string]>;
30
30
  isOptional: false;
31
31
  };
32
32
  status: {
33
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
33
+ type: _contractspec_lib_schema821.EnumType<[string, string, string, string]>;
34
34
  isOptional: false;
35
35
  };
36
36
  parametersSchema: {
37
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
37
+ type: _contractspec_lib_schema821.FieldType<Record<string, unknown>, Record<string, unknown>>;
38
38
  isOptional: false;
39
39
  };
40
40
  outputSchema: {
41
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
41
+ type: _contractspec_lib_schema821.FieldType<Record<string, unknown>, Record<string, unknown>>;
42
42
  isOptional: true;
43
43
  };
44
44
  implementationType: {
45
- type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
45
+ type: _contractspec_lib_schema821.EnumType<[string, string, string]>;
46
46
  isOptional: false;
47
47
  };
48
48
  implementationConfig: {
49
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
49
+ type: _contractspec_lib_schema821.FieldType<Record<string, unknown>, Record<string, unknown>>;
50
50
  isOptional: false;
51
51
  };
52
52
  maxInvocationsPerMinute: {
53
- type: _contractspec_lib_schema0.FieldType<number, number>;
53
+ type: _contractspec_lib_schema821.FieldType<number, number>;
54
54
  isOptional: true;
55
55
  };
56
56
  timeoutMs: {
57
- type: _contractspec_lib_schema0.FieldType<number, number>;
57
+ type: _contractspec_lib_schema821.FieldType<number, number>;
58
58
  isOptional: false;
59
59
  defaultValue: number;
60
60
  };
61
61
  version: {
62
- type: _contractspec_lib_schema0.FieldType<string, string>;
62
+ type: _contractspec_lib_schema821.FieldType<string, string>;
63
63
  isOptional: false;
64
64
  };
65
65
  tags: {
66
- type: _contractspec_lib_schema0.FieldType<string, string>;
66
+ type: _contractspec_lib_schema821.FieldType<string, string>;
67
67
  isArray: true;
68
68
  isOptional: true;
69
69
  };
70
70
  createdAt: {
71
- type: _contractspec_lib_schema0.FieldType<Date, string>;
71
+ type: _contractspec_lib_schema821.FieldType<Date, string>;
72
72
  isOptional: false;
73
73
  };
74
74
  updatedAt: {
75
- type: _contractspec_lib_schema0.FieldType<Date, string>;
75
+ type: _contractspec_lib_schema821.FieldType<Date, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  }>;
79
79
  /**
80
80
  * Summary of a tool for list views.
81
81
  */
82
- declare const ToolSummaryModel: _contractspec_lib_schema0.SchemaModel<{
82
+ declare const ToolSummaryModel: _contractspec_lib_schema821.SchemaModel<{
83
83
  id: {
84
- type: _contractspec_lib_schema0.FieldType<string, string>;
84
+ type: _contractspec_lib_schema821.FieldType<string, string>;
85
85
  isOptional: false;
86
86
  };
87
87
  name: {
88
- type: _contractspec_lib_schema0.FieldType<string, string>;
88
+ type: _contractspec_lib_schema821.FieldType<string, string>;
89
89
  isOptional: false;
90
90
  };
91
91
  slug: {
92
- type: _contractspec_lib_schema0.FieldType<string, string>;
92
+ type: _contractspec_lib_schema821.FieldType<string, string>;
93
93
  isOptional: false;
94
94
  };
95
95
  description: {
96
- type: _contractspec_lib_schema0.FieldType<string, string>;
96
+ type: _contractspec_lib_schema821.FieldType<string, string>;
97
97
  isOptional: false;
98
98
  };
99
99
  category: {
100
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
100
+ type: _contractspec_lib_schema821.EnumType<[string, string, string, string, string, string]>;
101
101
  isOptional: false;
102
102
  };
103
103
  status: {
104
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
104
+ type: _contractspec_lib_schema821.EnumType<[string, string, string, string]>;
105
105
  isOptional: false;
106
106
  };
107
107
  version: {
108
- type: _contractspec_lib_schema0.FieldType<string, string>;
108
+ type: _contractspec_lib_schema821.FieldType<string, string>;
109
109
  isOptional: false;
110
110
  };
111
111
  createdAt: {
112
- type: _contractspec_lib_schema0.FieldType<Date, string>;
112
+ type: _contractspec_lib_schema821.FieldType<Date, string>;
113
113
  isOptional: false;
114
114
  };
115
115
  }>;
116
116
  /**
117
117
  * Input for creating a tool.
118
118
  */
119
- declare const CreateToolInputModel: _contractspec_lib_schema0.SchemaModel<{
119
+ declare const CreateToolInputModel: _contractspec_lib_schema821.SchemaModel<{
120
120
  organizationId: {
121
- type: _contractspec_lib_schema0.FieldType<string, string>;
121
+ type: _contractspec_lib_schema821.FieldType<string, string>;
122
122
  isOptional: false;
123
123
  };
124
124
  name: {
125
- type: _contractspec_lib_schema0.FieldType<string, string>;
125
+ type: _contractspec_lib_schema821.FieldType<string, string>;
126
126
  isOptional: false;
127
127
  };
128
128
  slug: {
129
- type: _contractspec_lib_schema0.FieldType<string, string>;
129
+ type: _contractspec_lib_schema821.FieldType<string, string>;
130
130
  isOptional: false;
131
131
  };
132
132
  description: {
133
- type: _contractspec_lib_schema0.FieldType<string, string>;
133
+ type: _contractspec_lib_schema821.FieldType<string, string>;
134
134
  isOptional: false;
135
135
  };
136
136
  category: {
137
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
137
+ type: _contractspec_lib_schema821.EnumType<[string, string, string, string, string, string]>;
138
138
  isOptional: true;
139
139
  };
140
140
  parametersSchema: {
141
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
141
+ type: _contractspec_lib_schema821.FieldType<Record<string, unknown>, Record<string, unknown>>;
142
142
  isOptional: false;
143
143
  };
144
144
  outputSchema: {
145
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
145
+ type: _contractspec_lib_schema821.FieldType<Record<string, unknown>, Record<string, unknown>>;
146
146
  isOptional: true;
147
147
  };
148
148
  implementationType: {
149
- type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
149
+ type: _contractspec_lib_schema821.EnumType<[string, string, string]>;
150
150
  isOptional: false;
151
151
  };
152
152
  implementationConfig: {
153
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
153
+ type: _contractspec_lib_schema821.FieldType<Record<string, unknown>, Record<string, unknown>>;
154
154
  isOptional: false;
155
155
  };
156
156
  maxInvocationsPerMinute: {
157
- type: _contractspec_lib_schema0.FieldType<number, number>;
157
+ type: _contractspec_lib_schema821.FieldType<number, number>;
158
158
  isOptional: true;
159
159
  };
160
160
  timeoutMs: {
161
- type: _contractspec_lib_schema0.FieldType<number, number>;
161
+ type: _contractspec_lib_schema821.FieldType<number, number>;
162
162
  isOptional: true;
163
163
  };
164
164
  tags: {
165
- type: _contractspec_lib_schema0.FieldType<string, string>;
165
+ type: _contractspec_lib_schema821.FieldType<string, string>;
166
166
  isArray: true;
167
167
  isOptional: true;
168
168
  };
@@ -170,45 +170,45 @@ declare const CreateToolInputModel: _contractspec_lib_schema0.SchemaModel<{
170
170
  /**
171
171
  * Input for updating a tool.
172
172
  */
173
- declare const UpdateToolInputModel: _contractspec_lib_schema0.SchemaModel<{
173
+ declare const UpdateToolInputModel: _contractspec_lib_schema821.SchemaModel<{
174
174
  toolId: {
175
- type: _contractspec_lib_schema0.FieldType<string, string>;
175
+ type: _contractspec_lib_schema821.FieldType<string, string>;
176
176
  isOptional: false;
177
177
  };
178
178
  name: {
179
- type: _contractspec_lib_schema0.FieldType<string, string>;
179
+ type: _contractspec_lib_schema821.FieldType<string, string>;
180
180
  isOptional: true;
181
181
  };
182
182
  description: {
183
- type: _contractspec_lib_schema0.FieldType<string, string>;
183
+ type: _contractspec_lib_schema821.FieldType<string, string>;
184
184
  isOptional: true;
185
185
  };
186
186
  status: {
187
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
187
+ type: _contractspec_lib_schema821.EnumType<[string, string, string, string]>;
188
188
  isOptional: true;
189
189
  };
190
190
  parametersSchema: {
191
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
191
+ type: _contractspec_lib_schema821.FieldType<Record<string, unknown>, Record<string, unknown>>;
192
192
  isOptional: true;
193
193
  };
194
194
  outputSchema: {
195
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
195
+ type: _contractspec_lib_schema821.FieldType<Record<string, unknown>, Record<string, unknown>>;
196
196
  isOptional: true;
197
197
  };
198
198
  implementationConfig: {
199
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
199
+ type: _contractspec_lib_schema821.FieldType<Record<string, unknown>, Record<string, unknown>>;
200
200
  isOptional: true;
201
201
  };
202
202
  maxInvocationsPerMinute: {
203
- type: _contractspec_lib_schema0.FieldType<number, number>;
203
+ type: _contractspec_lib_schema821.FieldType<number, number>;
204
204
  isOptional: true;
205
205
  };
206
206
  timeoutMs: {
207
- type: _contractspec_lib_schema0.FieldType<number, number>;
207
+ type: _contractspec_lib_schema821.FieldType<number, number>;
208
208
  isOptional: true;
209
209
  };
210
210
  tags: {
211
- type: _contractspec_lib_schema0.FieldType<string, string>;
211
+ type: _contractspec_lib_schema821.FieldType<string, string>;
212
212
  isArray: true;
213
213
  isOptional: true;
214
214
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tool.schema.d.ts","names":[],"sources":["../../src/tool/tool.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,SAuCX,4BAvCoB,WAuCpB,CAAA;EAAA,EAAA,EAAA;UAAA,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;4CAvCoB,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EA4CT,CAAA;EAaX,gBAAA,EAAA;;;;;;;;;4CAb2B,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAkBhB,CAAA;EA8BX,oBAAA,EAAA;;;;;;;;;;;;;;;;;;6CA9B+B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,OAAA,EAAA,IAAA;IAmCpB,UAAA,EAAA,IAAA;EAyBX,CAAA;;;;;;;;;;;;;cA9EW,4CAAgB;;UAa3B,yBAAA,CAAA;;EAwC+B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAnCpB,gDAAoB;;UA8B/B,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,gDAAoB;;UAyB/B,yBAAA,CAAA"}
1
+ {"version":3,"file":"tool.schema.d.ts","names":[],"sources":["../../src/tool/tool.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,SAuCX,8BAvCoB,WAuCpB,CAAA;EAAA,EAAA,EAAA;UAAA,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;8CAvCoB,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EA4CT,CAAA;EAaX,gBAAA,EAAA;;;;;;;;;8CAb2B,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAkBhB,CAAA;EA8BX,oBAAA,EAAA;;;;;;;;;;;;;;;;;;+CA9B+B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,OAAA,EAAA,IAAA;IAmCpB,UAAA,EAAA,IAAA;EAyBX,CAAA;;;;;;;;;;;;;cA9EW,8CAAgB;;UAa3B,2BAAA,CAAA;;EAwC+B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAnCpB,kDAAoB;;UA8B/B,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,kDAAoB;;UAyB/B,2BAAA,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as _contractspec_lib_contracts45 from "@contractspec/lib.contracts";
2
+
3
+ //#region src/tool/tool.test-spec.d.ts
4
+ declare const toolListTest: _contractspec_lib_contracts45.TestSpec;
5
+ declare const toolGetTest: _contractspec_lib_contracts45.TestSpec;
6
+ //#endregion
7
+ export { toolGetTest, toolListTest };
8
+ //# sourceMappingURL=tool.test-spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.test-spec.d.ts","names":[],"sources":["../../src/tool/tool.test-spec.ts"],"sourcesContent":[],"mappings":";;;cAEa,cAyBX,6BAAA,CAzBuB;cA2BZ,aAyBX,6BAAA,CAzBsB"}
@@ -0,0 +1,65 @@
1
+ import { defineTestSpec } from "@contractspec/lib.contracts";
2
+
3
+ //#region src/tool/tool.test-spec.ts
4
+ const toolListTest = defineTestSpec({
5
+ meta: {
6
+ key: "test.agent.tool.list",
7
+ version: "1.0.0",
8
+ owners: ["@agent-console-team"],
9
+ description: "Test for listing tools",
10
+ stability: "stable",
11
+ tags: ["test"]
12
+ },
13
+ target: {
14
+ type: "operation",
15
+ operation: {
16
+ key: "agent.tool.list",
17
+ version: "1.0.0"
18
+ }
19
+ },
20
+ scenarios: [{
21
+ key: "success",
22
+ when: { operation: { key: "agent.tool.list" } },
23
+ then: [{
24
+ type: "expectOutput",
25
+ match: {}
26
+ }]
27
+ }, {
28
+ key: "error",
29
+ when: { operation: { key: "agent.tool.list" } },
30
+ then: [{ type: "expectError" }]
31
+ }]
32
+ });
33
+ const toolGetTest = defineTestSpec({
34
+ meta: {
35
+ key: "test.agent.tool.get",
36
+ version: "1.0.0",
37
+ owners: ["@agent-console-team"],
38
+ description: "Test for getting tool",
39
+ stability: "stable",
40
+ tags: ["test"]
41
+ },
42
+ target: {
43
+ type: "operation",
44
+ operation: {
45
+ key: "agent.tool.get",
46
+ version: "1.0.0"
47
+ }
48
+ },
49
+ scenarios: [{
50
+ key: "success",
51
+ when: { operation: { key: "agent.tool.get" } },
52
+ then: [{
53
+ type: "expectOutput",
54
+ match: {}
55
+ }]
56
+ }, {
57
+ key: "error",
58
+ when: { operation: { key: "agent.tool.get" } },
59
+ then: [{ type: "expectError" }]
60
+ }]
61
+ });
62
+
63
+ //#endregion
64
+ export { toolGetTest, toolListTest };
65
+ //# sourceMappingURL=tool.test-spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.test-spec.js","names":[],"sources":["../../src/tool/tool.test-spec.ts"],"sourcesContent":["import { defineTestSpec } from '@contractspec/lib.contracts';\n\nexport const toolListTest = defineTestSpec({\n meta: {\n key: 'test.agent.tool.list',\n version: '1.0.0',\n owners: ['@agent-console-team'],\n description: 'Test for listing tools',\n stability: 'stable',\n tags: ['test'],\n },\n target: {\n type: 'operation',\n operation: { key: 'agent.tool.list', version: '1.0.0' },\n },\n scenarios: [\n {\n key: 'success',\n when: { operation: { key: 'agent.tool.list' } },\n then: [{ type: 'expectOutput', match: {} }],\n },\n {\n key: 'error',\n when: { operation: { key: 'agent.tool.list' } },\n then: [{ type: 'expectError' }],\n },\n ],\n});\n\nexport const toolGetTest = defineTestSpec({\n meta: {\n key: 'test.agent.tool.get',\n version: '1.0.0',\n owners: ['@agent-console-team'],\n description: 'Test for getting tool',\n stability: 'stable',\n tags: ['test'],\n },\n target: {\n type: 'operation',\n operation: { key: 'agent.tool.get', version: '1.0.0' },\n },\n scenarios: [\n {\n key: 'success',\n when: { operation: { key: 'agent.tool.get' } },\n then: [{ type: 'expectOutput', match: {} }],\n },\n {\n key: 'error',\n when: { operation: { key: 'agent.tool.get' } },\n then: [{ type: 'expectError' }],\n },\n ],\n});\n"],"mappings":";;;AAEA,MAAa,eAAe,eAAe;CACzC,MAAM;EACJ,KAAK;EACL,SAAS;EACT,QAAQ,CAAC,sBAAsB;EAC/B,aAAa;EACb,WAAW;EACX,MAAM,CAAC,OAAO;EACf;CACD,QAAQ;EACN,MAAM;EACN,WAAW;GAAE,KAAK;GAAmB,SAAS;GAAS;EACxD;CACD,WAAW,CACT;EACE,KAAK;EACL,MAAM,EAAE,WAAW,EAAE,KAAK,mBAAmB,EAAE;EAC/C,MAAM,CAAC;GAAE,MAAM;GAAgB,OAAO,EAAE;GAAE,CAAC;EAC5C,EACD;EACE,KAAK;EACL,MAAM,EAAE,WAAW,EAAE,KAAK,mBAAmB,EAAE;EAC/C,MAAM,CAAC,EAAE,MAAM,eAAe,CAAC;EAChC,CACF;CACF,CAAC;AAEF,MAAa,cAAc,eAAe;CACxC,MAAM;EACJ,KAAK;EACL,SAAS;EACT,QAAQ,CAAC,sBAAsB;EAC/B,aAAa;EACb,WAAW;EACX,MAAM,CAAC,OAAO;EACf;CACD,QAAQ;EACN,MAAM;EACN,WAAW;GAAE,KAAK;GAAkB,SAAS;GAAS;EACvD;CACD,WAAW,CACT;EACE,KAAK;EACL,MAAM,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE;EAC9C,MAAM,CAAC;GAAE,MAAM;GAAgB,OAAO,EAAE;GAAE,CAAC;EAC5C,EACD;EACE,KAAK;EACL,MAAM,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE;EAC9C,MAAM,CAAC,EAAE,MAAM,eAAe,CAAC;EAChC,CACF;CACF,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
2
+
3
+ //#region src/ui/AgentDashboard.d.ts
4
+ declare function AgentDashboard(): react_jsx_runtime4.JSX.Element;
5
+ //#endregion
6
+ export { AgentDashboard };
7
+ //# sourceMappingURL=AgentDashboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentDashboard.d.ts","names":[],"sources":["../../src/ui/AgentDashboard.tsx"],"sourcesContent":[],"mappings":";;;iBA8BgB,cAAA,CAAA,GAAc,kBAAA,CAAA,GAAA,CAAA"}