@contractspec/example.agent-console 1.55.0 → 1.56.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.
- package/.turbo/turbo-build$colon$bundle.log +1 -1
- package/.turbo/turbo-build.log +283 -281
- package/CHANGELOG.md +15 -0
- package/dist/run/run.operation.d.ts +174 -174
- package/dist/run/run.presentation.d.ts +3 -3
- package/dist/run/run.schema.d.ts +99 -99
- package/dist/run/run.test-spec.d.ts +3 -3
- package/dist/tool/tool.entity.d.ts +24 -24
- package/dist/tool/tool.enum.d.ts +4 -4
- package/dist/tool/tool.event.d.ts +25 -25
- package/dist/tool/tool.operation.d.ts +6 -6
- package/dist/ui/modals/AgentActionsModal.d.ts +2 -2
- package/dist/ui/modals/CreateAgentModal.d.ts +2 -2
- package/dist/ui/views/AgentListView.d.ts +2 -2
- package/dist/ui/views/RunListView.d.ts +2 -2
- package/dist/ui/views/ToolRegistryView.d.ts +2 -2
- package/package.json +8 -8
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts35 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema699 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/tool/tool.event.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* ToolCreatedEvent - A new tool was created.
|
|
7
7
|
*/
|
|
8
|
-
declare const ToolCreatedEvent:
|
|
8
|
+
declare const ToolCreatedEvent: _contractspec_lib_contracts35.EventSpec<_contractspec_lib_schema699.SchemaModel<{
|
|
9
9
|
id: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
organizationId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
name: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
slug: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
category: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
implementationType: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
createdById: {
|
|
34
|
-
type:
|
|
34
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
35
35
|
isOptional: true;
|
|
36
36
|
};
|
|
37
37
|
createdAt: {
|
|
38
|
-
type:
|
|
38
|
+
type: _contractspec_lib_schema699.FieldType<Date, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
}>>;
|
|
42
42
|
/**
|
|
43
43
|
* ToolUpdatedEvent - A tool was updated.
|
|
44
44
|
*/
|
|
45
|
-
declare const ToolUpdatedEvent:
|
|
45
|
+
declare const ToolUpdatedEvent: _contractspec_lib_contracts35.EventSpec<_contractspec_lib_schema699.SchemaModel<{
|
|
46
46
|
id: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
organizationId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
name: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
status: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
updatedFields: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
64
64
|
isArray: true;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
updatedAt: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema699.FieldType<Date, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
}>>;
|
|
72
72
|
/**
|
|
73
73
|
* ToolStatusChangedEvent - A tool's status was changed.
|
|
74
74
|
*/
|
|
75
|
-
declare const ToolStatusChangedEvent:
|
|
75
|
+
declare const ToolStatusChangedEvent: _contractspec_lib_contracts35.EventSpec<_contractspec_lib_schema699.SchemaModel<{
|
|
76
76
|
id: {
|
|
77
|
-
type:
|
|
77
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
78
78
|
isOptional: false;
|
|
79
79
|
};
|
|
80
80
|
organizationId: {
|
|
81
|
-
type:
|
|
81
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
name: {
|
|
85
|
-
type:
|
|
85
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
previousStatus: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
newStatus: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
changedAt: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema699.FieldType<Date, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
}>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts38 from "@contractspec/lib.contracts";
|
|
2
2
|
import * as _contractspec_lib_schema722 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/tool/tool.operation.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* CreateToolCommand - Creates a new tool definition.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateToolCommand:
|
|
8
|
+
declare const CreateToolCommand: _contractspec_lib_contracts38.OperationSpec<_contractspec_lib_schema722.SchemaModel<{
|
|
9
9
|
organizationId: {
|
|
10
10
|
type: _contractspec_lib_schema722.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
@@ -117,7 +117,7 @@ declare const CreateToolCommand: _contractspec_lib_contracts36.OperationSpec<_co
|
|
|
117
117
|
/**
|
|
118
118
|
* UpdateToolCommand - Updates an existing tool.
|
|
119
119
|
*/
|
|
120
|
-
declare const UpdateToolCommand:
|
|
120
|
+
declare const UpdateToolCommand: _contractspec_lib_contracts38.OperationSpec<_contractspec_lib_schema722.SchemaModel<{
|
|
121
121
|
toolId: {
|
|
122
122
|
type: _contractspec_lib_schema722.FieldType<string, string>;
|
|
123
123
|
isOptional: false;
|
|
@@ -221,7 +221,7 @@ declare const UpdateToolCommand: _contractspec_lib_contracts36.OperationSpec<_co
|
|
|
221
221
|
/**
|
|
222
222
|
* GetToolQuery - Retrieves a tool by ID.
|
|
223
223
|
*/
|
|
224
|
-
declare const GetToolQuery:
|
|
224
|
+
declare const GetToolQuery: _contractspec_lib_contracts38.OperationSpec<_contractspec_lib_schema722.SchemaModel<{
|
|
225
225
|
toolId: {
|
|
226
226
|
type: _contractspec_lib_schema722.FieldType<string, string>;
|
|
227
227
|
isOptional: false;
|
|
@@ -301,7 +301,7 @@ declare const GetToolQuery: _contractspec_lib_contracts36.OperationSpec<_contrac
|
|
|
301
301
|
/**
|
|
302
302
|
* ListToolsQuery - Lists tools for an organization.
|
|
303
303
|
*/
|
|
304
|
-
declare const ListToolsQuery:
|
|
304
|
+
declare const ListToolsQuery: _contractspec_lib_contracts38.OperationSpec<_contractspec_lib_schema722.SchemaModel<{
|
|
305
305
|
organizationId: {
|
|
306
306
|
type: _contractspec_lib_schema722.FieldType<string, string>;
|
|
307
307
|
isOptional: false;
|
|
@@ -379,7 +379,7 @@ declare const ListToolsQuery: _contractspec_lib_contracts36.OperationSpec<_contr
|
|
|
379
379
|
/**
|
|
380
380
|
* TestToolCommand - Tests a tool with sample input.
|
|
381
381
|
*/
|
|
382
|
-
declare const TestToolCommand:
|
|
382
|
+
declare const TestToolCommand: _contractspec_lib_contracts38.OperationSpec<_contractspec_lib_schema722.SchemaModel<{
|
|
383
383
|
toolId: {
|
|
384
384
|
type: _contractspec_lib_schema722.FieldType<string, string>;
|
|
385
385
|
isOptional: false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Agent } from "../hooks/useAgentList.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/ui/modals/AgentActionsModal.d.ts
|
|
5
5
|
interface AgentActionsModalProps {
|
|
@@ -21,7 +21,7 @@ declare function AgentActionsModal({
|
|
|
21
21
|
onArchive,
|
|
22
22
|
onExecute,
|
|
23
23
|
isLoading
|
|
24
|
-
}: AgentActionsModalProps):
|
|
24
|
+
}: AgentActionsModalProps): react_jsx_runtime3.JSX.Element | null;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { AgentActionsModal };
|
|
27
27
|
//# sourceMappingURL=AgentActionsModal.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/ui/modals/CreateAgentModal.d.ts
|
|
4
4
|
interface CreateAgentInput {
|
|
@@ -19,7 +19,7 @@ declare function CreateAgentModal({
|
|
|
19
19
|
onClose,
|
|
20
20
|
onSubmit,
|
|
21
21
|
isLoading
|
|
22
|
-
}: CreateAgentModalProps):
|
|
22
|
+
}: CreateAgentModalProps): react_jsx_runtime4.JSX.Element | null;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { CreateAgentInput, CreateAgentModal };
|
|
25
25
|
//# sourceMappingURL=CreateAgentModal.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/ui/views/AgentListView.d.ts
|
|
4
|
-
declare function AgentListView():
|
|
4
|
+
declare function AgentListView(): react_jsx_runtime0.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { AgentListView };
|
|
7
7
|
//# sourceMappingURL=AgentListView.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/ui/views/RunListView.d.ts
|
|
4
4
|
interface RunListViewProps {
|
|
@@ -8,7 +8,7 @@ interface RunListViewProps {
|
|
|
8
8
|
declare function RunListView({
|
|
9
9
|
agentId,
|
|
10
10
|
onRunClick
|
|
11
|
-
}: RunListViewProps):
|
|
11
|
+
}: RunListViewProps): react_jsx_runtime1.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { RunListView };
|
|
14
14
|
//# sourceMappingURL=RunListView.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/ui/views/ToolRegistryView.d.ts
|
|
4
4
|
interface ToolRegistryViewProps {
|
|
@@ -8,7 +8,7 @@ interface ToolRegistryViewProps {
|
|
|
8
8
|
declare function ToolRegistryView({
|
|
9
9
|
onToolClick,
|
|
10
10
|
onCreateTool
|
|
11
|
-
}: ToolRegistryViewProps):
|
|
11
|
+
}: ToolRegistryViewProps): react_jsx_runtime2.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ToolRegistryView };
|
|
14
14
|
//# sourceMappingURL=ToolRegistryView.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.agent-console",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.56.0",
|
|
4
4
|
"description": "Agent Console example - AI agent orchestration with tools, runs, and logs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -87,17 +87,17 @@
|
|
|
87
87
|
"test": "bun test"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@contractspec/lib.schema": "1.
|
|
91
|
-
"@contractspec/lib.contracts": "1.
|
|
92
|
-
"@contractspec/lib.example-shared-ui": "1.
|
|
93
|
-
"@contractspec/lib.design-system": "1.
|
|
94
|
-
"@contractspec/lib.runtime-sandbox": "0.
|
|
90
|
+
"@contractspec/lib.schema": "1.56.0",
|
|
91
|
+
"@contractspec/lib.contracts": "1.56.0",
|
|
92
|
+
"@contractspec/lib.example-shared-ui": "1.10.0",
|
|
93
|
+
"@contractspec/lib.design-system": "1.56.0",
|
|
94
|
+
"@contractspec/lib.runtime-sandbox": "0.11.0",
|
|
95
95
|
"react": "19.2.4",
|
|
96
96
|
"react-dom": "19.2.4"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
|
-
"@contractspec/tool.tsdown": "1.
|
|
100
|
-
"@contractspec/tool.typescript": "1.
|
|
99
|
+
"@contractspec/tool.tsdown": "1.56.0",
|
|
100
|
+
"@contractspec/tool.typescript": "1.56.0",
|
|
101
101
|
"tsdown": "^0.19.0",
|
|
102
102
|
"typescript": "^5.9.3",
|
|
103
103
|
"@types/react": "^19.2.8",
|