@contractspec/example.agent-console 3.8.2 → 3.8.6

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.
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
5
  [contractspec-bun-build] transpile target=bun root=src entries=73 noBundle=false
6
- Bundled 79 modules in 127ms
6
+ Bundled 79 modules in 172ms
7
7
 
8
8
  ./agent.capability.js 442 bytes (entry point)
9
9
  tool/tool.test-spec.js 1.38 KB (entry point)
@@ -80,7 +80,7 @@ Bundled 79 modules in 127ms
80
80
  agent/agent.enum.js 467 bytes (entry point)
81
81
 
82
82
  [contractspec-bun-build] transpile target=node root=src entries=73 noBundle=false
83
- Bundled 79 modules in 116ms
83
+ Bundled 79 modules in 107ms
84
84
 
85
85
  ./agent.capability.js 434 bytes (entry point)
86
86
  tool/tool.test-spec.js 1.38 KB (entry point)
@@ -157,7 +157,7 @@ Bundled 79 modules in 116ms
157
157
  agent/agent.enum.js 459 bytes (entry point)
158
158
 
159
159
  [contractspec-bun-build] transpile target=browser root=src entries=73 noBundle=false
160
- Bundled 79 modules in 97ms
160
+ Bundled 79 modules in 165ms
161
161
 
162
162
  ./agent.capability.js 434 bytes (entry point)
163
163
  tool/tool.test-spec.js 1.38 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
1
1
  # @contractspec/example.agent-console
2
2
 
3
+ ## 3.8.6
4
+
5
+ ### Patch Changes
6
+
7
+ - chore: stability & release
8
+ - Updated dependencies
9
+ - Updated dependencies [dd6e074]
10
+ - @contractspec/lib.presentation-runtime-core@3.9.2
11
+ - @contractspec/lib.example-shared-ui@6.0.14
12
+ - @contractspec/lib.runtime-sandbox@2.7.11
13
+ - @contractspec/lib.contracts-spec@5.0.2
14
+ - @contractspec/lib.design-system@3.8.7
15
+ - @contractspec/lib.schema@3.7.11
16
+
17
+ ## 3.8.5
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [dd6e074]
22
+ - @contractspec/lib.contracts-spec@5.0.1
23
+ - @contractspec/lib.design-system@3.8.6
24
+ - @contractspec/lib.example-shared-ui@6.0.13
25
+ - @contractspec/lib.presentation-runtime-core@3.9.1
26
+
27
+ ## 3.8.4
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [81256ea]
32
+ - Updated dependencies [2619dd8]
33
+ - Updated dependencies [6de2f1c]
34
+ - Updated dependencies [81256ea]
35
+ - Updated dependencies [a4489bb]
36
+ - Updated dependencies [9cb304e]
37
+ - @contractspec/lib.contracts-spec@5.0.0
38
+ - @contractspec/lib.presentation-runtime-core@3.9.0
39
+ - @contractspec/lib.schema@3.7.10
40
+ - @contractspec/lib.design-system@3.8.5
41
+ - @contractspec/lib.example-shared-ui@6.0.12
42
+
43
+ ## 3.8.3
44
+
45
+ ### Patch Changes
46
+
47
+ - fix: release
48
+ - Updated dependencies
49
+ - @contractspec/lib.example-shared-ui@6.0.11
50
+ - @contractspec/lib.runtime-sandbox@2.7.10
51
+ - @contractspec/lib.contracts-spec@4.1.3
52
+ - @contractspec/lib.design-system@3.8.4
53
+ - @contractspec/lib.schema@3.7.9
54
+
3
55
  ## 3.8.2
4
56
 
5
57
  ### Patch Changes
package/README.md CHANGED
@@ -7,7 +7,7 @@ Website: https://contractspec.io
7
7
  ## What This Demonstrates
8
8
 
9
9
  - Agent entity with lifecycle (create, configure, execute).
10
- - Canonical `agent`, `harness-scenario`, and `harness-suite` example exports for deterministic proof coverage.
10
+ - Canonical `agent` example exports plus business-oriented `harness-scenario` and `harness-suite` proof coverage.
11
11
  - Run tracking with status enums and event-driven state transitions.
12
12
  - Tool registry with typed schemas and operation handlers.
13
13
  - Presentation layer with React UI components, hooks, modals, overlays, and a server-mode shared `DataTable` for run history.
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Uses handlers from the agent-console example package.
5
5
  */
6
- import type { PresentationRenderer } from '@contractspec/lib.contracts-spec/presentations/transform-engine';
6
+ import type { PresentationRenderer } from '@contractspec/lib.presentation-runtime-core/transform-engine';
7
7
  /**
8
8
  * Markdown renderer for agent-console.agent.list presentation
9
9
  * Only handles AgentListView component
@@ -1,4 +1,4 @@
1
- import type { PresentationRenderer } from '@contractspec/lib.contracts-spec/presentations/transform-engine';
1
+ import type { PresentationRenderer } from '@contractspec/lib.presentation-runtime-core/transform-engine';
2
2
  /**
3
3
  * React renderer for agent-console.agent.list presentation
4
4
  */
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Provides a comprehensive overview of agents, runs, and tools.
5
5
  */
6
- import type { PresentationRenderer } from '@contractspec/lib.contracts-spec/presentations/transform-engine';
6
+ import type { PresentationRenderer } from '@contractspec/lib.presentation-runtime-core/transform-engine';
7
7
  /**
8
8
  * Markdown renderer for agent-console.dashboard presentation
9
9
  * Only handles AgentConsoleDashboard component
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Uses dynamic import for handlers to ensure correct build order.
5
5
  */
6
- import type { PresentationRenderer } from '@contractspec/lib.contracts-spec/presentations/transform-engine';
6
+ import type { PresentationRenderer } from '@contractspec/lib.presentation-runtime-core/transform-engine';
7
7
  /**
8
8
  * Markdown renderer for agent-console.run.list presentation
9
9
  * Only handles RunListView component
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Uses dynamic import for handlers to ensure correct build order.
5
5
  */
6
- import type { PresentationRenderer } from '@contractspec/lib.contracts-spec/presentations/transform-engine';
6
+ import type { PresentationRenderer } from '@contractspec/lib.presentation-runtime-core/transform-engine';
7
7
  /**
8
8
  * Markdown renderer for agent-console.tool.list presentation
9
9
  * Only handles ToolRegistryView component
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.agent-console",
3
- "version": "3.8.2",
3
+ "version": "3.8.6",
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",
@@ -535,18 +535,19 @@
535
535
  "typecheck": "tsc --noEmit"
536
536
  },
537
537
  "dependencies": {
538
- "@contractspec/lib.schema": "3.7.8",
539
- "@contractspec/lib.contracts-spec": "4.1.2",
540
- "@contractspec/lib.example-shared-ui": "6.0.10",
541
- "@contractspec/lib.design-system": "3.8.3",
542
- "@contractspec/lib.runtime-sandbox": "2.7.9",
538
+ "@contractspec/lib.schema": "3.7.11",
539
+ "@contractspec/lib.contracts-spec": "5.0.2",
540
+ "@contractspec/lib.example-shared-ui": "6.0.14",
541
+ "@contractspec/lib.design-system": "3.8.7",
542
+ "@contractspec/lib.runtime-sandbox": "2.7.11",
543
543
  "react": "19.2.0",
544
- "react-dom": "19.2.0"
544
+ "react-dom": "19.2.0",
545
+ "@contractspec/lib.presentation-runtime-core": "3.9.2"
545
546
  },
546
547
  "devDependencies": {
547
- "@contractspec/lib.harness": "0.2.3",
548
- "@contractspec/tool.bun": "3.7.8",
549
- "@contractspec/tool.typescript": "3.7.8",
548
+ "@contractspec/lib.harness": "0.2.7",
549
+ "@contractspec/tool.bun": "3.7.10",
550
+ "@contractspec/tool.typescript": "3.7.10",
550
551
  "@types/react": "^19.2.14",
551
552
  "@types/react-dom": "^19.2.2",
552
553
  "happy-dom": "^20.8.4",
@@ -10,7 +10,7 @@ import {
10
10
  createAgentConsoleDemoHandlers,
11
11
  } from '@contractspec/example.agent-console/shared';
12
12
  import type { PresentationSpec } from '@contractspec/lib.contracts-spec/presentations';
13
- import type { PresentationRenderer } from '@contractspec/lib.contracts-spec/presentations/transform-engine';
13
+ import type { PresentationRenderer } from '@contractspec/lib.presentation-runtime-core/transform-engine';
14
14
 
15
15
  interface AgentListItem {
16
16
  name: string;
@@ -2,7 +2,7 @@
2
2
  * React Renderer for Agent List Presentation
3
3
  */
4
4
  import type { PresentationSpec } from '@contractspec/lib.contracts-spec/presentations';
5
- import type { PresentationRenderer } from '@contractspec/lib.contracts-spec/presentations/transform-engine';
5
+ import type { PresentationRenderer } from '@contractspec/lib.presentation-runtime-core/transform-engine';
6
6
  import { AgentListView } from '../views/AgentListView';
7
7
 
8
8
  /**
@@ -9,7 +9,7 @@ import {
9
9
  getFallbackAgentConsoleDashboardData,
10
10
  } from '@contractspec/example.agent-console/shared';
11
11
  import type { PresentationSpec } from '@contractspec/lib.contracts-spec/presentations';
12
- import type { PresentationRenderer } from '@contractspec/lib.contracts-spec/presentations/transform-engine';
12
+ import type { PresentationRenderer } from '@contractspec/lib.presentation-runtime-core/transform-engine';
13
13
  import { createAgentVisualizationItems } from '../../visualizations';
14
14
 
15
15
  function formatDuration(ms: number): string {
@@ -9,7 +9,7 @@ import {
9
9
  createAgentConsoleDemoHandlers,
10
10
  } from '@contractspec/example.agent-console/shared';
11
11
  import type { PresentationSpec } from '@contractspec/lib.contracts-spec/presentations';
12
- import type { PresentationRenderer } from '@contractspec/lib.contracts-spec/presentations/transform-engine';
12
+ import type { PresentationRenderer } from '@contractspec/lib.presentation-runtime-core/transform-engine';
13
13
  import type { Run } from '../hooks/useRunList';
14
14
 
15
15
  interface RunListOutput {
@@ -10,7 +10,7 @@ import {
10
10
  createAgentConsoleDemoHandlers,
11
11
  } from '@contractspec/example.agent-console/shared';
12
12
  import type { PresentationSpec } from '@contractspec/lib.contracts-spec/presentations';
13
- import type { PresentationRenderer } from '@contractspec/lib.contracts-spec/presentations/transform-engine';
13
+ import type { PresentationRenderer } from '@contractspec/lib.presentation-runtime-core/transform-engine';
14
14
 
15
15
  interface ToolItem {
16
16
  id: string;