@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.
@@ -1,81 +1,81 @@
1
- import * as _contractspec_lib_schema66 from "@contractspec/lib.schema";
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: _contractspec_lib_schema66.EntityEnumDef;
7
+ declare const RunStatusEntityEnum: _contractspec_lib_schema274.EntityEnumDef;
8
8
  /**
9
9
  * Run step type enum for entities.
10
10
  */
11
- declare const RunStepTypeEntityEnum: _contractspec_lib_schema66.EntityEnumDef;
11
+ declare const RunStepTypeEntityEnum: _contractspec_lib_schema274.EntityEnumDef;
12
12
  /**
13
13
  * Log level enum for entities.
14
14
  */
15
- declare const LogLevelEntityEnum: _contractspec_lib_schema66.EntityEnumDef;
15
+ declare const LogLevelEntityEnum: _contractspec_lib_schema274.EntityEnumDef;
16
16
  /**
17
17
  * Run entity - Represents an agent execution.
18
18
  */
19
- declare const RunEntity: _contractspec_lib_schema66.EntitySpec<{
20
- id: _contractspec_lib_schema66.EntityScalarField;
21
- organizationId: _contractspec_lib_schema66.EntityScalarField;
22
- agentId: _contractspec_lib_schema66.EntityScalarField;
23
- userId: _contractspec_lib_schema66.EntityScalarField;
24
- sessionId: _contractspec_lib_schema66.EntityScalarField;
25
- input: _contractspec_lib_schema66.EntityScalarField;
26
- output: _contractspec_lib_schema66.EntityScalarField;
27
- status: _contractspec_lib_schema66.EntityEnumField;
28
- errorMessage: _contractspec_lib_schema66.EntityScalarField;
29
- errorCode: _contractspec_lib_schema66.EntityScalarField;
30
- totalTokens: _contractspec_lib_schema66.EntityScalarField;
31
- promptTokens: _contractspec_lib_schema66.EntityScalarField;
32
- completionTokens: _contractspec_lib_schema66.EntityScalarField;
33
- totalIterations: _contractspec_lib_schema66.EntityScalarField;
34
- durationMs: _contractspec_lib_schema66.EntityScalarField;
35
- estimatedCostUsd: _contractspec_lib_schema66.EntityScalarField;
36
- queuedAt: _contractspec_lib_schema66.EntityScalarField;
37
- startedAt: _contractspec_lib_schema66.EntityScalarField;
38
- completedAt: _contractspec_lib_schema66.EntityScalarField;
39
- metadata: _contractspec_lib_schema66.EntityScalarField;
40
- agent: _contractspec_lib_schema66.EntityRelationField;
41
- steps: _contractspec_lib_schema66.EntityRelationField;
42
- logs: _contractspec_lib_schema66.EntityRelationField;
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: _contractspec_lib_schema66.EntitySpec<{
48
- id: _contractspec_lib_schema66.EntityScalarField;
49
- runId: _contractspec_lib_schema66.EntityScalarField;
50
- stepNumber: _contractspec_lib_schema66.EntityScalarField;
51
- type: _contractspec_lib_schema66.EntityEnumField;
52
- toolId: _contractspec_lib_schema66.EntityScalarField;
53
- toolName: _contractspec_lib_schema66.EntityScalarField;
54
- input: _contractspec_lib_schema66.EntityScalarField;
55
- output: _contractspec_lib_schema66.EntityScalarField;
56
- status: _contractspec_lib_schema66.EntityEnumField;
57
- errorMessage: _contractspec_lib_schema66.EntityScalarField;
58
- tokensUsed: _contractspec_lib_schema66.EntityScalarField;
59
- durationMs: _contractspec_lib_schema66.EntityScalarField;
60
- startedAt: _contractspec_lib_schema66.EntityScalarField;
61
- completedAt: _contractspec_lib_schema66.EntityScalarField;
62
- run: _contractspec_lib_schema66.EntityRelationField;
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: _contractspec_lib_schema66.EntitySpec<{
68
- id: _contractspec_lib_schema66.EntityScalarField;
69
- runId: _contractspec_lib_schema66.EntityScalarField;
70
- stepId: _contractspec_lib_schema66.EntityScalarField;
71
- level: _contractspec_lib_schema66.EntityEnumField;
72
- message: _contractspec_lib_schema66.EntityScalarField;
73
- data: _contractspec_lib_schema66.EntityScalarField;
74
- source: _contractspec_lib_schema66.EntityScalarField;
75
- traceId: _contractspec_lib_schema66.EntityScalarField;
76
- spanId: _contractspec_lib_schema66.EntityScalarField;
77
- timestamp: _contractspec_lib_schema66.EntityScalarField;
78
- run: _contractspec_lib_schema66.EntityRelationField;
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,0BAAA,CAX8B,aAW9B;AAKF;AASA;AASA;AAwEE,cA1FW,qBA0FX,EAtFA,0BAAA,CAJgC,aA0FhC;;;;cAjFW,oBAIX,0BAAA,CAJ6B;;;;cASlB,sCAAS;MAwEpB,0BAAA,CAAA;;;;;;;;;;;;;;0DAxEoB;EAAA,gBAAA,8CAAA;EA6ET,QAAA,8CA0BX;EAAA,SAAA,8CAAA;;;;;;;;;;cA1BW,0CAAa;MA0BxB,0BAAA,CAAA;;;;sDA1BwB;EAAA,QAAA,8CAAA;EA+Bb,KAAA,8CAsBX;EAAA,MAAA,8CAAA;;;;;;;;;;;;AAtBuB,cAAZ,YAAY,6BAAA,UAAA,CAAA;MAsBvB,0BAAA,CAAA"}
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"}
@@ -1,22 +1,22 @@
1
- import * as _contractspec_lib_schema235 from "@contractspec/lib.schema";
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: _contractspec_lib_schema235.EnumType<[string, string, string, string, string, string]>;
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: _contractspec_lib_schema235.EnumType<[string, string, string, string]>;
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: _contractspec_lib_schema235.EnumType<[string, string, string, string]>;
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: _contractspec_lib_schema235.EnumType<[string, string, string, string]>;
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 react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/ui/AgentDashboard.d.ts
4
- declare function AgentDashboard(): react_jsx_runtime0.JSX.Element;
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 react_jsx_runtime0 from "react/jsx-runtime";
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): react_jsx_runtime0.JSX.Element | null;
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 react_jsx_runtime3 from "react/jsx-runtime";
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(): react_jsx_runtime3.JSX.Element;
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 react_jsx_runtime4 from "react/jsx-runtime";
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): react_jsx_runtime4.JSX.Element;
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-20260119225944",
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": "1.48.0",
91
- "@contractspec/lib.contracts": "0.0.0-canary-20260119225944",
92
- "@contractspec/lib.example-shared-ui": "0.0.0-canary-20260119225944",
93
- "@contractspec/lib.design-system": "0.0.0-canary-20260119225944",
94
- "@contractspec/lib.runtime-sandbox": "0.3.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": "1.48.0",
100
- "@contractspec/tool.typescript": "1.48.0",
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 { StabilityEnum, definePresentation } from '@contractspec/lib.contracts';
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.list',
9
+ key: 'agent-console.agent.viewList',
10
10
  version: '1.0.0',
11
11
  title: 'Agent List',
12
12
  description:
@@ -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.list', version: '1.0.0' },
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.list', version: '1.0.0' },
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.list',
122
+ key: 'agent-console.agent.viewList',
123
123
  version: '1.0.0',
124
124
  targets: ['react', 'markdown', 'application/json'],
125
125
  },