@contractspec/example.agent-console 0.0.0-canary-20260119225944 → 0.0.0-canary-20260202053150
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 +29 -29
- package/.turbo/turbo-build.log +24 -24
- package/CHANGELOG.md +84 -4
- package/dist/agent/agent.operation.d.ts +115 -115
- package/dist/agent/agent.operation.d.ts.map +1 -1
- package/dist/agent/agent.presentation.js +1 -1
- package/dist/agent/agent.presentation.js.map +1 -1
- package/dist/agent/agent.schema.d.ts +95 -95
- package/dist/agent.feature.js +3 -3
- package/dist/agent.feature.js.map +1 -1
- package/dist/run/run.entity.d.ts +56 -56
- package/dist/run/run.entity.d.ts.map +1 -1
- package/dist/run/run.enum.d.ts +5 -5
- package/dist/ui/AgentDashboard.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/package.json +8 -8
- package/src/agent/agent.presentation.ts +2 -2
- package/src/agent.feature.ts +3 -3
- package/tsconfig.tsbuildinfo +1 -1
package/dist/run/run.entity.d.ts
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema274 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/run/run.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Run status enum for entities.
|
|
6
6
|
*/
|
|
7
|
-
declare const RunStatusEntityEnum:
|
|
7
|
+
declare const RunStatusEntityEnum: _contractspec_lib_schema274.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Run step type enum for entities.
|
|
10
10
|
*/
|
|
11
|
-
declare const RunStepTypeEntityEnum:
|
|
11
|
+
declare const RunStepTypeEntityEnum: _contractspec_lib_schema274.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Log level enum for entities.
|
|
14
14
|
*/
|
|
15
|
-
declare const LogLevelEntityEnum:
|
|
15
|
+
declare const LogLevelEntityEnum: _contractspec_lib_schema274.EntityEnumDef;
|
|
16
16
|
/**
|
|
17
17
|
* Run entity - Represents an agent execution.
|
|
18
18
|
*/
|
|
19
|
-
declare const RunEntity:
|
|
20
|
-
id:
|
|
21
|
-
organizationId:
|
|
22
|
-
agentId:
|
|
23
|
-
userId:
|
|
24
|
-
sessionId:
|
|
25
|
-
input:
|
|
26
|
-
output:
|
|
27
|
-
status:
|
|
28
|
-
errorMessage:
|
|
29
|
-
errorCode:
|
|
30
|
-
totalTokens:
|
|
31
|
-
promptTokens:
|
|
32
|
-
completionTokens:
|
|
33
|
-
totalIterations:
|
|
34
|
-
durationMs:
|
|
35
|
-
estimatedCostUsd:
|
|
36
|
-
queuedAt:
|
|
37
|
-
startedAt:
|
|
38
|
-
completedAt:
|
|
39
|
-
metadata:
|
|
40
|
-
agent:
|
|
41
|
-
steps:
|
|
42
|
-
logs:
|
|
19
|
+
declare const RunEntity: _contractspec_lib_schema274.EntitySpec<{
|
|
20
|
+
id: _contractspec_lib_schema274.EntityScalarField;
|
|
21
|
+
organizationId: _contractspec_lib_schema274.EntityScalarField;
|
|
22
|
+
agentId: _contractspec_lib_schema274.EntityScalarField;
|
|
23
|
+
userId: _contractspec_lib_schema274.EntityScalarField;
|
|
24
|
+
sessionId: _contractspec_lib_schema274.EntityScalarField;
|
|
25
|
+
input: _contractspec_lib_schema274.EntityScalarField;
|
|
26
|
+
output: _contractspec_lib_schema274.EntityScalarField;
|
|
27
|
+
status: _contractspec_lib_schema274.EntityEnumField;
|
|
28
|
+
errorMessage: _contractspec_lib_schema274.EntityScalarField;
|
|
29
|
+
errorCode: _contractspec_lib_schema274.EntityScalarField;
|
|
30
|
+
totalTokens: _contractspec_lib_schema274.EntityScalarField;
|
|
31
|
+
promptTokens: _contractspec_lib_schema274.EntityScalarField;
|
|
32
|
+
completionTokens: _contractspec_lib_schema274.EntityScalarField;
|
|
33
|
+
totalIterations: _contractspec_lib_schema274.EntityScalarField;
|
|
34
|
+
durationMs: _contractspec_lib_schema274.EntityScalarField;
|
|
35
|
+
estimatedCostUsd: _contractspec_lib_schema274.EntityScalarField;
|
|
36
|
+
queuedAt: _contractspec_lib_schema274.EntityScalarField;
|
|
37
|
+
startedAt: _contractspec_lib_schema274.EntityScalarField;
|
|
38
|
+
completedAt: _contractspec_lib_schema274.EntityScalarField;
|
|
39
|
+
metadata: _contractspec_lib_schema274.EntityScalarField;
|
|
40
|
+
agent: _contractspec_lib_schema274.EntityRelationField;
|
|
41
|
+
steps: _contractspec_lib_schema274.EntityRelationField;
|
|
42
|
+
logs: _contractspec_lib_schema274.EntityRelationField;
|
|
43
43
|
}>;
|
|
44
44
|
/**
|
|
45
45
|
* RunStep entity - Individual step in a run.
|
|
46
46
|
*/
|
|
47
|
-
declare const RunStepEntity:
|
|
48
|
-
id:
|
|
49
|
-
runId:
|
|
50
|
-
stepNumber:
|
|
51
|
-
type:
|
|
52
|
-
toolId:
|
|
53
|
-
toolName:
|
|
54
|
-
input:
|
|
55
|
-
output:
|
|
56
|
-
status:
|
|
57
|
-
errorMessage:
|
|
58
|
-
tokensUsed:
|
|
59
|
-
durationMs:
|
|
60
|
-
startedAt:
|
|
61
|
-
completedAt:
|
|
62
|
-
run:
|
|
47
|
+
declare const RunStepEntity: _contractspec_lib_schema274.EntitySpec<{
|
|
48
|
+
id: _contractspec_lib_schema274.EntityScalarField;
|
|
49
|
+
runId: _contractspec_lib_schema274.EntityScalarField;
|
|
50
|
+
stepNumber: _contractspec_lib_schema274.EntityScalarField;
|
|
51
|
+
type: _contractspec_lib_schema274.EntityEnumField;
|
|
52
|
+
toolId: _contractspec_lib_schema274.EntityScalarField;
|
|
53
|
+
toolName: _contractspec_lib_schema274.EntityScalarField;
|
|
54
|
+
input: _contractspec_lib_schema274.EntityScalarField;
|
|
55
|
+
output: _contractspec_lib_schema274.EntityScalarField;
|
|
56
|
+
status: _contractspec_lib_schema274.EntityEnumField;
|
|
57
|
+
errorMessage: _contractspec_lib_schema274.EntityScalarField;
|
|
58
|
+
tokensUsed: _contractspec_lib_schema274.EntityScalarField;
|
|
59
|
+
durationMs: _contractspec_lib_schema274.EntityScalarField;
|
|
60
|
+
startedAt: _contractspec_lib_schema274.EntityScalarField;
|
|
61
|
+
completedAt: _contractspec_lib_schema274.EntityScalarField;
|
|
62
|
+
run: _contractspec_lib_schema274.EntityRelationField;
|
|
63
63
|
}>;
|
|
64
64
|
/**
|
|
65
65
|
* RunLog entity - Log entry for a run.
|
|
66
66
|
*/
|
|
67
|
-
declare const RunLogEntity:
|
|
68
|
-
id:
|
|
69
|
-
runId:
|
|
70
|
-
stepId:
|
|
71
|
-
level:
|
|
72
|
-
message:
|
|
73
|
-
data:
|
|
74
|
-
source:
|
|
75
|
-
traceId:
|
|
76
|
-
spanId:
|
|
77
|
-
timestamp:
|
|
78
|
-
run:
|
|
67
|
+
declare const RunLogEntity: _contractspec_lib_schema274.EntitySpec<{
|
|
68
|
+
id: _contractspec_lib_schema274.EntityScalarField;
|
|
69
|
+
runId: _contractspec_lib_schema274.EntityScalarField;
|
|
70
|
+
stepId: _contractspec_lib_schema274.EntityScalarField;
|
|
71
|
+
level: _contractspec_lib_schema274.EntityEnumField;
|
|
72
|
+
message: _contractspec_lib_schema274.EntityScalarField;
|
|
73
|
+
data: _contractspec_lib_schema274.EntityScalarField;
|
|
74
|
+
source: _contractspec_lib_schema274.EntityScalarField;
|
|
75
|
+
traceId: _contractspec_lib_schema274.EntityScalarField;
|
|
76
|
+
spanId: _contractspec_lib_schema274.EntityScalarField;
|
|
77
|
+
timestamp: _contractspec_lib_schema274.EntityScalarField;
|
|
78
|
+
run: _contractspec_lib_schema274.EntityRelationField;
|
|
79
79
|
}>;
|
|
80
80
|
//#endregion
|
|
81
81
|
export { LogLevelEntityEnum, RunEntity, RunLogEntity, RunStatusEntityEnum, RunStepEntity, RunStepTypeEntityEnum };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.entity.d.ts","names":[],"sources":["../../src/run/run.entity.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,mBAWX,EAAA,
|
|
1
|
+
{"version":3,"file":"run.entity.d.ts","names":[],"sources":["../../src/run/run.entity.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,mBAWX,EAAA,2BAAA,CAX8B,aAW9B;AAKF;AASA;AASA;AAwEE,cA1FW,qBA0FX,EAtFA,2BAAA,CAJgC,aA0FhC;;;;cAjFW,oBAIX,2BAAA,CAJ6B;;;;cASlB,uCAAS;MAwEpB,2BAAA,CAAA;;;;;;;;;;;;;;2DAxEoB;EAAA,gBAAA,+CAAA;EA6ET,QAAA,+CA0BX;EAAA,SAAA,+CAAA;;;;;;;;;;cA1BW,2CAAa;MA0BxB,2BAAA,CAAA;;;;uDA1BwB;EAAA,QAAA,+CAAA;EA+Bb,KAAA,+CAsBX;EAAA,MAAA,+CAAA;;;;;;;;;;;;AAtBuB,cAAZ,YAAY,8BAAA,UAAA,CAAA;MAsBvB,2BAAA,CAAA"}
|
package/dist/run/run.enum.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema329 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/run/run.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Run status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const RunStatusEnum:
|
|
7
|
+
declare const RunStatusEnum: _contractspec_lib_schema329.EnumType<[string, string, string, string, string, string]>;
|
|
8
8
|
/**
|
|
9
9
|
* Run step type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const RunStepTypeEnum:
|
|
11
|
+
declare const RunStepTypeEnum: _contractspec_lib_schema329.EnumType<[string, string, string, string]>;
|
|
12
12
|
/**
|
|
13
13
|
* Log level enum.
|
|
14
14
|
*/
|
|
15
|
-
declare const LogLevelEnum:
|
|
15
|
+
declare const LogLevelEnum: _contractspec_lib_schema329.EnumType<[string, string, string, string]>;
|
|
16
16
|
/**
|
|
17
17
|
* Granularity enum for metrics.
|
|
18
18
|
*/
|
|
19
|
-
declare const GranularityEnum:
|
|
19
|
+
declare const GranularityEnum: _contractspec_lib_schema329.EnumType<[string, string, string, string]>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { GranularityEnum, LogLevelEnum, RunStatusEnum, RunStepTypeEnum };
|
|
22
22
|
//# sourceMappingURL=run.enum.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/ui/AgentDashboard.d.ts
|
|
4
|
-
declare function AgentDashboard():
|
|
4
|
+
declare function AgentDashboard(): react_jsx_runtime4.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { AgentDashboard };
|
|
7
7
|
//# sourceMappingURL=AgentDashboard.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime3 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_runtime3.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_runtime0 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_runtime0.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { RunListView };
|
|
14
14
|
//# sourceMappingURL=RunListView.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.agent-console",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20260202053150",
|
|
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": "
|
|
91
|
-
"@contractspec/lib.contracts": "0.0.0-canary-
|
|
92
|
-
"@contractspec/lib.example-shared-ui": "0.0.0-canary-
|
|
93
|
-
"@contractspec/lib.design-system": "0.0.0-canary-
|
|
94
|
-
"@contractspec/lib.runtime-sandbox": "0.
|
|
90
|
+
"@contractspec/lib.schema": "0.0.0-canary-20260202053150",
|
|
91
|
+
"@contractspec/lib.contracts": "0.0.0-canary-20260202053150",
|
|
92
|
+
"@contractspec/lib.example-shared-ui": "0.0.0-canary-20260202053150",
|
|
93
|
+
"@contractspec/lib.design-system": "0.0.0-canary-20260202053150",
|
|
94
|
+
"@contractspec/lib.runtime-sandbox": "0.0.0-canary-20260202053150",
|
|
95
95
|
"react": "19.2.3",
|
|
96
96
|
"react-dom": "19.2.3"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
|
-
"@contractspec/tool.tsdown": "
|
|
100
|
-
"@contractspec/tool.typescript": "
|
|
99
|
+
"@contractspec/tool.tsdown": "0.0.0-canary-20260202053150",
|
|
100
|
+
"@contractspec/tool.typescript": "0.0.0-canary-20260202053150",
|
|
101
101
|
"tsdown": "^0.19.0",
|
|
102
102
|
"typescript": "^5.9.3",
|
|
103
103
|
"@types/react": "^19.2.8",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { definePresentation, StabilityEnum } from '@contractspec/lib.contracts';
|
|
2
2
|
import { AgentSummaryModel } from './agent.schema';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -6,7 +6,7 @@ import { AgentSummaryModel } from './agent.schema';
|
|
|
6
6
|
*/
|
|
7
7
|
export const AgentListPresentation = definePresentation({
|
|
8
8
|
meta: {
|
|
9
|
-
key: 'agent-console.agent.
|
|
9
|
+
key: 'agent-console.agent.viewList',
|
|
10
10
|
version: '1.0.0',
|
|
11
11
|
title: 'Agent List',
|
|
12
12
|
description:
|
package/src/agent.feature.ts
CHANGED
|
@@ -75,7 +75,7 @@ export const AgentConsoleFeature: FeatureModuleSpec = defineFeature({
|
|
|
75
75
|
// Presentations associated with this feature
|
|
76
76
|
presentations: [
|
|
77
77
|
{ key: 'agent-console.dashboard', version: '1.0.0' },
|
|
78
|
-
{ key: 'agent-console.agent.
|
|
78
|
+
{ key: 'agent-console.agent.viewList', version: '1.0.0' },
|
|
79
79
|
{ key: 'agent-console.agent.detail', version: '1.0.0' },
|
|
80
80
|
{ key: 'agent-console.run.list', version: '1.0.0' },
|
|
81
81
|
{ key: 'agent-console.run.detail', version: '1.0.0' },
|
|
@@ -87,7 +87,7 @@ export const AgentConsoleFeature: FeatureModuleSpec = defineFeature({
|
|
|
87
87
|
opToPresentation: [
|
|
88
88
|
{
|
|
89
89
|
op: { key: 'agent-console.agent.list', version: '1.0.0' },
|
|
90
|
-
pres: { key: 'agent-console.agent.
|
|
90
|
+
pres: { key: 'agent-console.agent.viewList', version: '1.0.0' },
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
op: { key: 'agent-console.agent.get', version: '1.0.0' },
|
|
@@ -119,7 +119,7 @@ export const AgentConsoleFeature: FeatureModuleSpec = defineFeature({
|
|
|
119
119
|
targets: ['react', 'markdown'],
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
|
-
key: 'agent-console.agent.
|
|
122
|
+
key: 'agent-console.agent.viewList',
|
|
123
123
|
version: '1.0.0',
|
|
124
124
|
targets: ['react', 'markdown', 'application/json'],
|
|
125
125
|
},
|