@contractspec/example.agent-console 3.7.7 → 3.8.2
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.log +126 -105
- package/AGENTS.md +3 -1
- package/CHANGELOG.md +29 -0
- package/README.md +46 -9
- package/dist/agent/agent.handler.d.ts +3 -0
- package/dist/agent/agent.handler.js +730 -1
- package/dist/agent/index.js +73 -72
- package/dist/agent.feature.js +179 -0
- package/dist/browser/agent/agent.handler.js +730 -1
- package/dist/browser/agent/index.js +73 -72
- package/dist/browser/agent.feature.js +179 -0
- package/dist/browser/docs/agent-console.docblock.js +11 -8
- package/dist/browser/docs/index.js +11 -8
- package/dist/browser/example.js +2 -3
- package/dist/browser/handlers/agent.handlers.js +1883 -2
- package/dist/browser/handlers/index.js +2142 -8
- package/dist/browser/index.js +3347 -2433
- package/dist/browser/presentations/index.js +49 -49
- package/dist/browser/run/index.js +818 -812
- package/dist/browser/run/run.handler.js +666 -1
- package/dist/browser/shared/index.js +293 -1
- package/dist/browser/shared/mock-runs.js +5 -0
- package/dist/browser/tool/index.js +331 -331
- package/dist/browser/tool/tool.handler.js +479 -3
- package/dist/browser/ui/AgentDashboard.js +1204 -319
- package/dist/browser/ui/AgentDashboard.visualizations.js +217 -0
- package/dist/browser/ui/AgentRunList.js +359 -127
- package/dist/browser/ui/hooks/index.js +468 -18
- package/dist/browser/ui/hooks/useAgentMutations.js +443 -8
- package/dist/browser/ui/hooks/useRunList.js +25 -10
- package/dist/browser/ui/index.js +1293 -390
- package/dist/browser/ui/renderers/agent-list.markdown.js +14 -5
- package/dist/browser/ui/renderers/dashboard.markdown.js +207 -36
- package/dist/browser/ui/renderers/index.js +245 -49
- package/dist/browser/ui/renderers/run-list.markdown.js +9 -4
- package/dist/browser/ui/renderers/tool-registry.markdown.js +15 -4
- package/dist/browser/ui/views/RunDataTable.js +326 -0
- package/dist/browser/ui/views/RunListView.js +359 -127
- package/dist/browser/ui/views/index.js +406 -174
- package/dist/browser/ui/views/run-data-table.columns.js +271 -0
- package/dist/browser/ui/views/run-list.shared.js +177 -0
- package/dist/browser/visualizations/catalog.js +134 -0
- package/dist/browser/visualizations/index.js +187 -0
- package/dist/browser/visualizations/selectors.js +181 -0
- package/dist/docs/agent-console.docblock.js +11 -8
- package/dist/docs/index.js +11 -8
- package/dist/example.js +2 -3
- package/dist/example.test.d.ts +1 -0
- package/dist/handlers/agent.handlers.d.ts +2 -0
- package/dist/handlers/agent.handlers.js +1883 -2
- package/dist/handlers/index.d.ts +1 -3
- package/dist/handlers/index.js +2142 -8
- package/dist/handlers/mock-handlers.test.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3347 -2433
- package/dist/node/agent/agent.handler.js +730 -1
- package/dist/node/agent/index.js +73 -72
- package/dist/node/agent.feature.js +179 -0
- package/dist/node/docs/agent-console.docblock.js +11 -8
- package/dist/node/docs/index.js +11 -8
- package/dist/node/example.js +2 -3
- package/dist/node/handlers/agent.handlers.js +1883 -2
- package/dist/node/handlers/index.js +2142 -8
- package/dist/node/index.js +3347 -2433
- package/dist/node/presentations/index.js +49 -49
- package/dist/node/run/index.js +818 -812
- package/dist/node/run/run.handler.js +666 -1
- package/dist/node/shared/index.js +293 -1
- package/dist/node/shared/mock-runs.js +5 -0
- package/dist/node/tool/index.js +331 -331
- package/dist/node/tool/tool.handler.js +479 -3
- package/dist/node/ui/AgentDashboard.js +1204 -319
- package/dist/node/ui/AgentDashboard.visualizations.js +217 -0
- package/dist/node/ui/AgentRunList.js +359 -127
- package/dist/node/ui/hooks/index.js +468 -18
- package/dist/node/ui/hooks/useAgentMutations.js +443 -8
- package/dist/node/ui/hooks/useRunList.js +25 -10
- package/dist/node/ui/index.js +1293 -390
- package/dist/node/ui/renderers/agent-list.markdown.js +14 -5
- package/dist/node/ui/renderers/dashboard.markdown.js +207 -36
- package/dist/node/ui/renderers/index.js +245 -49
- package/dist/node/ui/renderers/run-list.markdown.js +9 -4
- package/dist/node/ui/renderers/tool-registry.markdown.js +15 -4
- package/dist/node/ui/views/RunDataTable.js +326 -0
- package/dist/node/ui/views/RunListView.js +359 -127
- package/dist/node/ui/views/index.js +406 -174
- package/dist/node/ui/views/run-data-table.columns.js +271 -0
- package/dist/node/ui/views/run-list.shared.js +177 -0
- package/dist/node/visualizations/catalog.js +134 -0
- package/dist/node/visualizations/index.js +187 -0
- package/dist/node/visualizations/selectors.js +181 -0
- package/dist/presentations/index.js +49 -49
- package/dist/proof/index.d.ts +2 -0
- package/dist/proof/meetup-proof.d.ts +10 -0
- package/dist/proof/meetup-proof.runtime.d.ts +22 -0
- package/dist/proof/meetup-proof.scenario.d.ts +2 -0
- package/dist/proof/meetup-proof.suite.d.ts +1 -0
- package/dist/proof/meetup-proof.test.d.ts +1 -0
- package/dist/run/index.js +818 -812
- package/dist/run/run.handler.d.ts +4 -0
- package/dist/run/run.handler.js +666 -1
- package/dist/shared/demo-dashboard-data.d.ts +16 -0
- package/dist/shared/demo-runtime-seed.d.ts +17 -0
- package/dist/shared/demo-runtime.d.ts +8 -0
- package/dist/shared/demo-runtime.test.d.ts +1 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/index.js +293 -1
- package/dist/shared/mock-runs.d.ts +4 -0
- package/dist/shared/mock-runs.js +5 -0
- package/dist/tool/index.js +331 -331
- package/dist/tool/tool.handler.d.ts +4 -1
- package/dist/tool/tool.handler.js +479 -3
- package/dist/ui/AgentDashboard.js +1204 -319
- package/dist/ui/AgentDashboard.sandbox.test.d.ts +1 -0
- package/dist/ui/AgentDashboard.visualizations.d.ts +4 -0
- package/dist/ui/AgentDashboard.visualizations.js +218 -0
- package/dist/ui/AgentRunList.js +359 -127
- package/dist/ui/hooks/index.js +468 -18
- package/dist/ui/hooks/useAgentMutations.js +443 -8
- package/dist/ui/hooks/useRunList.d.ts +8 -2
- package/dist/ui/hooks/useRunList.js +25 -10
- package/dist/ui/index.js +1293 -390
- package/dist/ui/renderers/agent-list.markdown.js +14 -5
- package/dist/ui/renderers/dashboard.markdown.js +207 -36
- package/dist/ui/renderers/index.js +245 -49
- package/dist/ui/renderers/run-list.markdown.js +9 -4
- package/dist/ui/renderers/tool-registry.markdown.d.ts +1 -1
- package/dist/ui/renderers/tool-registry.markdown.js +15 -4
- package/dist/ui/views/RunDataTable.d.ts +18 -0
- package/dist/ui/views/RunDataTable.js +327 -0
- package/dist/ui/views/RunListView.js +359 -127
- package/dist/ui/views/index.js +406 -174
- package/dist/ui/views/run-data-table.columns.d.ts +3 -0
- package/dist/ui/views/run-data-table.columns.js +272 -0
- package/dist/ui/views/run-list.shared.d.ts +14 -0
- package/dist/ui/views/run-list.shared.js +178 -0
- package/dist/visualizations/catalog.d.ts +10 -0
- package/dist/visualizations/catalog.js +135 -0
- package/dist/visualizations/index.d.ts +2 -0
- package/dist/visualizations/index.js +188 -0
- package/dist/visualizations/selectors.d.ts +3 -0
- package/dist/visualizations/selectors.js +182 -0
- package/dist/visualizations/selectors.test.d.ts +1 -0
- package/package.json +112 -10
- package/proofs/agent-console-meetup.replay.json +220 -0
- package/src/agent/agent.handler.ts +18 -1
- package/src/agent.feature.ts +3 -0
- package/src/docs/agent-console.docblock.ts +11 -8
- package/src/example.test.ts +75 -0
- package/src/example.ts +2 -3
- package/src/handlers/agent.handlers.ts +55 -2
- package/src/handlers/index.ts +18 -2
- package/src/handlers/mock-handlers.test.ts +77 -0
- package/src/index.ts +2 -0
- package/src/proof/index.ts +2 -0
- package/src/proof/meetup-proof.runtime.ts +196 -0
- package/src/proof/meetup-proof.scenario.ts +99 -0
- package/src/proof/meetup-proof.suite.ts +29 -0
- package/src/proof/meetup-proof.test.ts +28 -0
- package/src/proof/meetup-proof.ts +130 -0
- package/src/run/run.handler.ts +17 -1
- package/src/shared/demo-dashboard-data.ts +58 -0
- package/src/shared/demo-runtime-seed.ts +139 -0
- package/src/shared/demo-runtime.test.ts +169 -0
- package/src/shared/demo-runtime.ts +260 -0
- package/src/shared/index.ts +11 -0
- package/src/shared/mock-runs.ts +5 -0
- package/src/tool/tool.handler.ts +21 -4
- package/src/ui/AgentDashboard.sandbox.test.tsx +312 -0
- package/src/ui/AgentDashboard.tsx +4 -1
- package/src/ui/AgentDashboard.visualizations.tsx +35 -0
- package/src/ui/hooks/useAgentMutations.ts +19 -11
- package/src/ui/hooks/useRunList.ts +41 -9
- package/src/ui/renderers/agent-list.markdown.ts +31 -12
- package/src/ui/renderers/dashboard.markdown.ts +37 -42
- package/src/ui/renderers/run-list.markdown.ts +16 -8
- package/src/ui/renderers/tool-registry.markdown.ts +21 -9
- package/src/ui/views/RunDataTable.tsx +74 -0
- package/src/ui/views/RunListView.tsx +37 -111
- package/src/ui/views/run-data-table.columns.tsx +102 -0
- package/src/ui/views/run-list.shared.tsx +139 -0
- package/src/visualizations/catalog.ts +132 -0
- package/src/visualizations/index.ts +2 -0
- package/src/visualizations/selectors.test.ts +12 -0
- package/src/visualizations/selectors.ts +70 -0
- package/tsdown.config.js +17 -0
|
@@ -447,55 +447,6 @@ var TimelineDataPointModel = defineSchemaModel2({
|
|
|
447
447
|
}
|
|
448
448
|
});
|
|
449
449
|
|
|
450
|
-
// src/run/run.presentation.ts
|
|
451
|
-
import {
|
|
452
|
-
definePresentation as definePresentation2,
|
|
453
|
-
StabilityEnum as StabilityEnum2
|
|
454
|
-
} from "@contractspec/lib.contracts-spec";
|
|
455
|
-
var RunListPresentation = definePresentation2({
|
|
456
|
-
meta: {
|
|
457
|
-
key: "agent-console.run.list",
|
|
458
|
-
version: "1.0.0",
|
|
459
|
-
title: "Run List",
|
|
460
|
-
description: "List view of agent runs with status, tokens, and duration info",
|
|
461
|
-
goal: "Provide an overview of agent execution history and performance.",
|
|
462
|
-
context: "Run history dashboard.",
|
|
463
|
-
domain: "agent-console",
|
|
464
|
-
owners: ["@agent-console-team"],
|
|
465
|
-
tags: ["run", "list", "dashboard"],
|
|
466
|
-
stability: StabilityEnum2.Experimental
|
|
467
|
-
},
|
|
468
|
-
source: {
|
|
469
|
-
type: "component",
|
|
470
|
-
framework: "react",
|
|
471
|
-
componentKey: "RunListView",
|
|
472
|
-
props: RunSummaryModel
|
|
473
|
-
},
|
|
474
|
-
targets: ["react", "markdown", "application/json"],
|
|
475
|
-
policy: { flags: ["agent-console.enabled"] }
|
|
476
|
-
});
|
|
477
|
-
var RunDetailPresentation = definePresentation2({
|
|
478
|
-
meta: {
|
|
479
|
-
key: "agent-console.run.detail",
|
|
480
|
-
version: "1.0.0",
|
|
481
|
-
title: "Run Details",
|
|
482
|
-
description: "Detailed view of an agent run with steps, logs, and metrics",
|
|
483
|
-
goal: "Allow users to inspect and debug a specific agent run.",
|
|
484
|
-
context: "Detailed view of an agent run.",
|
|
485
|
-
domain: "agent-console",
|
|
486
|
-
owners: ["@agent-console-team"],
|
|
487
|
-
tags: ["run", "detail"],
|
|
488
|
-
stability: StabilityEnum2.Experimental
|
|
489
|
-
},
|
|
490
|
-
source: {
|
|
491
|
-
type: "component",
|
|
492
|
-
framework: "react",
|
|
493
|
-
componentKey: "RunDetailView"
|
|
494
|
-
},
|
|
495
|
-
targets: ["react", "markdown"],
|
|
496
|
-
policy: { flags: ["agent-console.enabled"] }
|
|
497
|
-
});
|
|
498
|
-
|
|
499
450
|
// src/tool/tool.enum.ts
|
|
500
451
|
import { defineEnum as defineEnum3 } from "@contractspec/lib.schema";
|
|
501
452
|
var ToolCategoryEnum = defineEnum3("ToolCategory", [
|
|
@@ -632,6 +583,55 @@ var UpdateToolInputModel = defineSchemaModel3({
|
|
|
632
583
|
}
|
|
633
584
|
});
|
|
634
585
|
|
|
586
|
+
// src/run/run.presentation.ts
|
|
587
|
+
import {
|
|
588
|
+
definePresentation as definePresentation2,
|
|
589
|
+
StabilityEnum as StabilityEnum2
|
|
590
|
+
} from "@contractspec/lib.contracts-spec";
|
|
591
|
+
var RunListPresentation = definePresentation2({
|
|
592
|
+
meta: {
|
|
593
|
+
key: "agent-console.run.list",
|
|
594
|
+
version: "1.0.0",
|
|
595
|
+
title: "Run List",
|
|
596
|
+
description: "List view of agent runs with status, tokens, and duration info",
|
|
597
|
+
goal: "Provide an overview of agent execution history and performance.",
|
|
598
|
+
context: "Run history dashboard.",
|
|
599
|
+
domain: "agent-console",
|
|
600
|
+
owners: ["@agent-console-team"],
|
|
601
|
+
tags: ["run", "list", "dashboard"],
|
|
602
|
+
stability: StabilityEnum2.Experimental
|
|
603
|
+
},
|
|
604
|
+
source: {
|
|
605
|
+
type: "component",
|
|
606
|
+
framework: "react",
|
|
607
|
+
componentKey: "RunListView",
|
|
608
|
+
props: RunSummaryModel
|
|
609
|
+
},
|
|
610
|
+
targets: ["react", "markdown", "application/json"],
|
|
611
|
+
policy: { flags: ["agent-console.enabled"] }
|
|
612
|
+
});
|
|
613
|
+
var RunDetailPresentation = definePresentation2({
|
|
614
|
+
meta: {
|
|
615
|
+
key: "agent-console.run.detail",
|
|
616
|
+
version: "1.0.0",
|
|
617
|
+
title: "Run Details",
|
|
618
|
+
description: "Detailed view of an agent run with steps, logs, and metrics",
|
|
619
|
+
goal: "Allow users to inspect and debug a specific agent run.",
|
|
620
|
+
context: "Detailed view of an agent run.",
|
|
621
|
+
domain: "agent-console",
|
|
622
|
+
owners: ["@agent-console-team"],
|
|
623
|
+
tags: ["run", "detail"],
|
|
624
|
+
stability: StabilityEnum2.Experimental
|
|
625
|
+
},
|
|
626
|
+
source: {
|
|
627
|
+
type: "component",
|
|
628
|
+
framework: "react",
|
|
629
|
+
componentKey: "RunDetailView"
|
|
630
|
+
},
|
|
631
|
+
targets: ["react", "markdown"],
|
|
632
|
+
policy: { flags: ["agent-console.enabled"] }
|
|
633
|
+
});
|
|
634
|
+
|
|
635
635
|
// src/tool/tool.presentation.ts
|
|
636
636
|
import {
|
|
637
637
|
definePresentation as definePresentation3,
|