@contractspec/example.agent-console 1.62.0 → 2.1.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.log +51 -51
- package/CHANGELOG.md +89 -45
- package/dist/agent/agent.entity.d.ts +0 -1
- package/dist/agent/agent.enum.d.ts +0 -1
- package/dist/agent/agent.event.d.ts +4 -5
- package/dist/agent/agent.event.js +2 -2
- package/dist/agent/agent.handler.d.ts +0 -1
- package/dist/agent/agent.operation.d.ts +7 -8
- package/dist/agent/agent.operation.js +3 -3
- package/dist/agent/agent.presentation.d.ts +3 -4
- package/dist/agent/agent.presentation.js +4 -1
- package/dist/agent/agent.schema.d.ts +0 -1
- package/dist/agent/agent.test-spec.d.ts +2 -3
- package/dist/agent/agent.test-spec.js +1 -1
- package/dist/agent/index.d.ts +0 -1
- package/dist/agent/index.js +7 -4
- package/dist/agent.capability.d.ts +1 -2
- package/dist/agent.capability.js +4 -1
- package/dist/agent.feature.d.ts +1 -2
- package/dist/agent.feature.js +1 -1
- package/dist/browser/agent/agent.event.js +2 -2
- package/dist/browser/agent/agent.operation.js +3 -3
- package/dist/browser/agent/agent.presentation.js +4 -1
- package/dist/browser/agent/agent.test-spec.js +1 -1
- package/dist/browser/agent/index.js +7 -4
- package/dist/browser/agent.capability.js +4 -1
- package/dist/browser/agent.feature.js +1 -1
- package/dist/browser/docs/agent-console.docblock.js +1 -1
- package/dist/browser/docs/index.js +1 -1
- package/dist/browser/example.js +1 -1
- package/dist/browser/index.js +28 -15
- package/dist/browser/presentations/index.js +12 -3
- package/dist/browser/run/index.js +11 -4
- package/dist/browser/run/run.event.js +6 -2
- package/dist/browser/run/run.operation.js +1 -1
- package/dist/browser/run/run.presentation.js +4 -1
- package/dist/browser/run/run.test-spec.js +1 -1
- package/dist/browser/tool/index.js +7 -4
- package/dist/browser/tool/tool.event.js +2 -2
- package/dist/browser/tool/tool.operation.js +1 -1
- package/dist/browser/tool/tool.presentation.js +4 -1
- package/dist/browser/tool/tool.test-spec.js +1 -1
- package/dist/docs/agent-console.docblock.d.ts +0 -1
- package/dist/docs/agent-console.docblock.js +1 -1
- package/dist/docs/index.d.ts +0 -1
- package/dist/docs/index.js +1 -1
- package/dist/example.d.ts +1 -2
- package/dist/example.js +1 -1
- package/dist/handlers/agent.handlers.d.ts +0 -1
- package/dist/handlers/index.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +28 -15
- package/dist/node/agent/agent.event.js +2 -2
- package/dist/node/agent/agent.operation.js +3 -3
- package/dist/node/agent/agent.presentation.js +4 -1
- package/dist/node/agent/agent.test-spec.js +1 -1
- package/dist/node/agent/index.js +7 -4
- package/dist/node/agent.capability.js +4 -1
- package/dist/node/agent.feature.js +1 -1
- package/dist/node/docs/agent-console.docblock.js +1 -1
- package/dist/node/docs/index.js +1 -1
- package/dist/node/example.js +1 -1
- package/dist/node/index.js +28 -15
- package/dist/node/presentations/index.js +12 -3
- package/dist/node/run/index.js +11 -4
- package/dist/node/run/run.event.js +6 -2
- package/dist/node/run/run.operation.js +1 -1
- package/dist/node/run/run.presentation.js +4 -1
- package/dist/node/run/run.test-spec.js +1 -1
- package/dist/node/tool/index.js +7 -4
- package/dist/node/tool/tool.event.js +2 -2
- package/dist/node/tool/tool.operation.js +1 -1
- package/dist/node/tool/tool.presentation.js +4 -1
- package/dist/node/tool/tool.test-spec.js +1 -1
- package/dist/presentations/index.d.ts +0 -1
- package/dist/presentations/index.js +12 -3
- package/dist/run/index.d.ts +0 -1
- package/dist/run/index.js +11 -4
- package/dist/run/run.entity.d.ts +0 -1
- package/dist/run/run.enum.d.ts +0 -1
- package/dist/run/run.event.d.ts +7 -8
- package/dist/run/run.event.js +6 -2
- package/dist/run/run.handler.d.ts +0 -1
- package/dist/run/run.operation.d.ts +7 -8
- package/dist/run/run.operation.js +1 -1
- package/dist/run/run.presentation.d.ts +2 -3
- package/dist/run/run.presentation.js +4 -1
- package/dist/run/run.schema.d.ts +0 -1
- package/dist/run/run.test-spec.d.ts +2 -3
- package/dist/run/run.test-spec.js +1 -1
- package/dist/seeders/index.d.ts +0 -1
- package/dist/shared/index.d.ts +0 -1
- package/dist/shared/mock-agents.d.ts +0 -1
- package/dist/shared/mock-runs.d.ts +0 -1
- package/dist/shared/mock-tools.d.ts +0 -1
- package/dist/shared/overlay-types.d.ts +0 -1
- package/dist/tool/index.d.ts +0 -1
- package/dist/tool/index.js +7 -4
- package/dist/tool/tool.entity.d.ts +0 -1
- package/dist/tool/tool.enum.d.ts +0 -1
- package/dist/tool/tool.event.d.ts +3 -4
- package/dist/tool/tool.event.js +2 -2
- package/dist/tool/tool.handler.d.ts +0 -1
- package/dist/tool/tool.operation.d.ts +5 -6
- package/dist/tool/tool.operation.js +1 -1
- package/dist/tool/tool.presentation.d.ts +2 -3
- package/dist/tool/tool.presentation.js +4 -1
- package/dist/tool/tool.schema.d.ts +0 -1
- package/dist/tool/tool.test-spec.d.ts +2 -3
- package/dist/tool/tool.test-spec.js +1 -1
- package/dist/ui/AgentDashboard.d.ts +0 -1
- package/dist/ui/AgentRunList.d.ts +0 -1
- package/dist/ui/AgentToolRegistry.d.ts +0 -1
- package/dist/ui/hooks/index.d.ts +0 -1
- package/dist/ui/hooks/useAgentList.d.ts +0 -1
- package/dist/ui/hooks/useAgentMutations.d.ts +0 -1
- package/dist/ui/hooks/useRunList.d.ts +0 -1
- package/dist/ui/hooks/useToolList.d.ts +0 -1
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/modals/AgentActionsModal.d.ts +0 -1
- package/dist/ui/modals/CreateAgentModal.d.ts +0 -1
- package/dist/ui/modals/index.d.ts +0 -1
- package/dist/ui/overlays/demo-overlays.d.ts +0 -1
- package/dist/ui/overlays/index.d.ts +0 -1
- package/dist/ui/renderers/agent-list.markdown.d.ts +1 -7
- package/dist/ui/renderers/agent-list.renderer.d.ts +1 -5
- package/dist/ui/renderers/dashboard.markdown.d.ts +1 -7
- package/dist/ui/renderers/index.d.ts +0 -1
- package/dist/ui/renderers/run-list.markdown.d.ts +1 -7
- package/dist/ui/renderers/tool-registry.markdown.d.ts +1 -7
- package/dist/ui/views/AgentListView.d.ts +0 -1
- package/dist/ui/views/RunListView.d.ts +0 -1
- package/dist/ui/views/ToolRegistryView.d.ts +0 -1
- package/dist/ui/views/index.d.ts +0 -1
- package/package.json +9 -9
- package/src/agent/agent.event.ts +2 -2
- package/src/agent/agent.operation.ts +1 -1
- package/src/agent/agent.presentation.ts +4 -1
- package/src/agent/agent.test-spec.ts +1 -1
- package/src/agent.capability.ts +4 -1
- package/src/agent.feature.ts +2 -2
- package/src/docs/agent-console.docblock.ts +2 -2
- package/src/example.ts +1 -1
- package/src/run/run.event.ts +6 -2
- package/src/run/run.operation.ts +1 -1
- package/src/run/run.presentation.ts +4 -1
- package/src/run/run.test-spec.ts +1 -1
- package/src/tool/tool.event.ts +2 -2
- package/src/tool/tool.operation.ts +1 -1
- package/src/tool/tool.presentation.ts +4 -1
- package/src/tool/tool.test-spec.ts +1 -1
- package/src/ui/renderers/agent-list.markdown.ts +2 -4
- package/src/ui/renderers/agent-list.renderer.tsx +2 -4
- package/src/ui/renderers/dashboard.markdown.ts +2 -4
- package/src/ui/renderers/run-list.markdown.ts +2 -4
- package/src/ui/renderers/tool-registry.markdown.ts +2 -4
- package/dist/agent/agent.entity.d.ts.map +0 -1
- package/dist/agent/agent.enum.d.ts.map +0 -1
- package/dist/agent/agent.event.d.ts.map +0 -1
- package/dist/agent/agent.handler.d.ts.map +0 -1
- package/dist/agent/agent.operation.d.ts.map +0 -1
- package/dist/agent/agent.presentation.d.ts.map +0 -1
- package/dist/agent/agent.schema.d.ts.map +0 -1
- package/dist/agent/agent.test-spec.d.ts.map +0 -1
- package/dist/agent/index.d.ts.map +0 -1
- package/dist/agent.capability.d.ts.map +0 -1
- package/dist/agent.feature.d.ts.map +0 -1
- package/dist/docs/agent-console.docblock.d.ts.map +0 -1
- package/dist/docs/index.d.ts.map +0 -1
- package/dist/example.d.ts.map +0 -1
- package/dist/handlers/agent.handlers.d.ts.map +0 -1
- package/dist/handlers/index.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/presentations/index.d.ts.map +0 -1
- package/dist/run/index.d.ts.map +0 -1
- package/dist/run/run.entity.d.ts.map +0 -1
- package/dist/run/run.enum.d.ts.map +0 -1
- package/dist/run/run.event.d.ts.map +0 -1
- package/dist/run/run.handler.d.ts.map +0 -1
- package/dist/run/run.operation.d.ts.map +0 -1
- package/dist/run/run.presentation.d.ts.map +0 -1
- package/dist/run/run.schema.d.ts.map +0 -1
- package/dist/run/run.test-spec.d.ts.map +0 -1
- package/dist/seeders/index.d.ts.map +0 -1
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/mock-agents.d.ts.map +0 -1
- package/dist/shared/mock-runs.d.ts.map +0 -1
- package/dist/shared/mock-tools.d.ts.map +0 -1
- package/dist/shared/overlay-types.d.ts.map +0 -1
- package/dist/tool/index.d.ts.map +0 -1
- package/dist/tool/tool.entity.d.ts.map +0 -1
- package/dist/tool/tool.enum.d.ts.map +0 -1
- package/dist/tool/tool.event.d.ts.map +0 -1
- package/dist/tool/tool.handler.d.ts.map +0 -1
- package/dist/tool/tool.operation.d.ts.map +0 -1
- package/dist/tool/tool.presentation.d.ts.map +0 -1
- package/dist/tool/tool.schema.d.ts.map +0 -1
- package/dist/tool/tool.test-spec.d.ts.map +0 -1
- package/dist/ui/AgentDashboard.d.ts.map +0 -1
- package/dist/ui/AgentRunList.d.ts.map +0 -1
- package/dist/ui/AgentToolRegistry.d.ts.map +0 -1
- package/dist/ui/hooks/index.d.ts.map +0 -1
- package/dist/ui/hooks/useAgentList.d.ts.map +0 -1
- package/dist/ui/hooks/useAgentMutations.d.ts.map +0 -1
- package/dist/ui/hooks/useRunList.d.ts.map +0 -1
- package/dist/ui/hooks/useToolList.d.ts.map +0 -1
- package/dist/ui/index.d.ts.map +0 -1
- package/dist/ui/modals/AgentActionsModal.d.ts.map +0 -1
- package/dist/ui/modals/CreateAgentModal.d.ts.map +0 -1
- package/dist/ui/modals/index.d.ts.map +0 -1
- package/dist/ui/overlays/demo-overlays.d.ts.map +0 -1
- package/dist/ui/overlays/index.d.ts.map +0 -1
- package/dist/ui/renderers/agent-list.markdown.d.ts.map +0 -1
- package/dist/ui/renderers/agent-list.renderer.d.ts.map +0 -1
- package/dist/ui/renderers/dashboard.markdown.d.ts.map +0 -1
- package/dist/ui/renderers/index.d.ts.map +0 -1
- package/dist/ui/renderers/run-list.markdown.d.ts.map +0 -1
- package/dist/ui/renderers/tool-registry.markdown.d.ts.map +0 -1
- package/dist/ui/views/AgentListView.d.ts.map +0 -1
- package/dist/ui/views/RunListView.d.ts.map +0 -1
- package/dist/ui/views/ToolRegistryView.d.ts.map +0 -1
- package/dist/ui/views/index.d.ts.map +0 -1
package/dist/node/tool/index.js
CHANGED
|
@@ -355,7 +355,7 @@ var UpdateToolInputModel = defineSchemaModel({
|
|
|
355
355
|
import {
|
|
356
356
|
defineCommand,
|
|
357
357
|
defineQuery
|
|
358
|
-
} from "@contractspec/lib.contracts/operations";
|
|
358
|
+
} from "@contractspec/lib.contracts-spec/operations";
|
|
359
359
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
360
360
|
var OWNERS = ["@agent-console-team"];
|
|
361
361
|
var CreateToolCommand = defineCommand({
|
|
@@ -692,8 +692,8 @@ var TestToolCommand = defineCommand({
|
|
|
692
692
|
});
|
|
693
693
|
|
|
694
694
|
// src/tool/tool.event.ts
|
|
695
|
-
import { defineEvent
|
|
696
|
-
import { ScalarTypeEnum as ScalarTypeEnum3 } from "@contractspec/lib.schema";
|
|
695
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
696
|
+
import { ScalarTypeEnum as ScalarTypeEnum3, defineSchemaModel as defineSchemaModel3 } from "@contractspec/lib.schema";
|
|
697
697
|
var OWNERS2 = ["@agent-console-team"];
|
|
698
698
|
var ToolCreatedPayload = defineSchemaModel3({
|
|
699
699
|
name: "ToolCreatedPayload",
|
|
@@ -872,7 +872,10 @@ var ToolEntity = defineEntity({
|
|
|
872
872
|
});
|
|
873
873
|
|
|
874
874
|
// src/tool/tool.presentation.ts
|
|
875
|
-
import {
|
|
875
|
+
import {
|
|
876
|
+
StabilityEnum,
|
|
877
|
+
definePresentation
|
|
878
|
+
} from "@contractspec/lib.contracts-spec";
|
|
876
879
|
var ToolListPresentation = definePresentation({
|
|
877
880
|
meta: {
|
|
878
881
|
key: "agent-console.tool.list",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/tool/tool.event.ts
|
|
2
|
-
import { defineEvent
|
|
3
|
-
import { ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
2
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
4
4
|
var OWNERS = ["@agent-console-team"];
|
|
5
5
|
var ToolCreatedPayload = defineSchemaModel({
|
|
6
6
|
name: "ToolCreatedPayload",
|
|
@@ -138,7 +138,7 @@ var UpdateToolInputModel = defineSchemaModel({
|
|
|
138
138
|
import {
|
|
139
139
|
defineCommand,
|
|
140
140
|
defineQuery
|
|
141
|
-
} from "@contractspec/lib.contracts/operations";
|
|
141
|
+
} from "@contractspec/lib.contracts-spec/operations";
|
|
142
142
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
143
143
|
var OWNERS = ["@agent-console-team"];
|
|
144
144
|
var CreateToolCommand = defineCommand({
|
|
@@ -135,7 +135,10 @@ var UpdateToolInputModel = defineSchemaModel({
|
|
|
135
135
|
});
|
|
136
136
|
|
|
137
137
|
// src/tool/tool.presentation.ts
|
|
138
|
-
import {
|
|
138
|
+
import {
|
|
139
|
+
StabilityEnum,
|
|
140
|
+
definePresentation
|
|
141
|
+
} from "@contractspec/lib.contracts-spec";
|
|
139
142
|
var ToolListPresentation = definePresentation({
|
|
140
143
|
meta: {
|
|
141
144
|
key: "agent-console.tool.list",
|
|
@@ -6,4 +6,3 @@ export { RunListPresentation, RunDetailPresentation, } from '../run/run.presenta
|
|
|
6
6
|
export { RunDetailPresentation as RunMetricsPresentation } from '../run/run.presentation';
|
|
7
7
|
export { ToolListPresentation, ToolDetailPresentation, } from '../tool/tool.presentation';
|
|
8
8
|
export { ToolListPresentation as ToolRegistryPresentation } from '../tool/tool.presentation';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -208,7 +208,10 @@ var UpdateAgentInputModel = defineSchemaModel({
|
|
|
208
208
|
});
|
|
209
209
|
|
|
210
210
|
// src/agent/agent.presentation.ts
|
|
211
|
-
import {
|
|
211
|
+
import {
|
|
212
|
+
definePresentation,
|
|
213
|
+
StabilityEnum
|
|
214
|
+
} from "@contractspec/lib.contracts-spec";
|
|
212
215
|
var AgentListPresentation = definePresentation({
|
|
213
216
|
meta: {
|
|
214
217
|
key: "agent-console.agent.viewList",
|
|
@@ -446,7 +449,10 @@ var TimelineDataPointModel = defineSchemaModel2({
|
|
|
446
449
|
});
|
|
447
450
|
|
|
448
451
|
// src/run/run.presentation.ts
|
|
449
|
-
import {
|
|
452
|
+
import {
|
|
453
|
+
StabilityEnum as StabilityEnum2,
|
|
454
|
+
definePresentation as definePresentation2
|
|
455
|
+
} from "@contractspec/lib.contracts-spec";
|
|
450
456
|
var RunListPresentation = definePresentation2({
|
|
451
457
|
meta: {
|
|
452
458
|
key: "agent-console.run.list",
|
|
@@ -628,7 +634,10 @@ var UpdateToolInputModel = defineSchemaModel3({
|
|
|
628
634
|
});
|
|
629
635
|
|
|
630
636
|
// src/tool/tool.presentation.ts
|
|
631
|
-
import {
|
|
637
|
+
import {
|
|
638
|
+
StabilityEnum as StabilityEnum3,
|
|
639
|
+
definePresentation as definePresentation3
|
|
640
|
+
} from "@contractspec/lib.contracts-spec";
|
|
632
641
|
var ToolListPresentation = definePresentation3({
|
|
633
642
|
meta: {
|
|
634
643
|
key: "agent-console.tool.list",
|
package/dist/run/index.d.ts
CHANGED
|
@@ -8,4 +8,3 @@ export { RunStartedEvent, RunCompletedEvent, RunFailedEvent, RunCancelledEvent,
|
|
|
8
8
|
export { RunStatusEntityEnum, RunStepTypeEntityEnum, LogLevelEntityEnum, RunEntity, RunStepEntity, RunLogEntity, } from './run.entity';
|
|
9
9
|
export { RunListPresentation, RunDetailPresentation } from './run.presentation';
|
|
10
10
|
export { mockListRunsHandler, mockGetRunHandler, mockExecuteAgentHandler, mockCancelRunHandler, type ListRunsInput, type RunSummary, type ListRunsOutput, } from './run.handler';
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/run/index.js
CHANGED
|
@@ -423,7 +423,7 @@ var TimelineDataPointModel = defineSchemaModel({
|
|
|
423
423
|
import {
|
|
424
424
|
defineCommand,
|
|
425
425
|
defineQuery
|
|
426
|
-
} from "@contractspec/lib.contracts/operations";
|
|
426
|
+
} from "@contractspec/lib.contracts-spec/operations";
|
|
427
427
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
428
428
|
var OWNERS = ["@agent-console-team"];
|
|
429
429
|
var ExecuteAgentCommand = defineCommand({
|
|
@@ -908,8 +908,12 @@ var GetRunMetricsQuery = defineQuery({
|
|
|
908
908
|
});
|
|
909
909
|
|
|
910
910
|
// src/run/run.event.ts
|
|
911
|
-
import { defineEvent
|
|
912
|
-
import {
|
|
911
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
912
|
+
import {
|
|
913
|
+
ScalarTypeEnum as ScalarTypeEnum3,
|
|
914
|
+
defineEnum as defineEnum2,
|
|
915
|
+
defineSchemaModel as defineSchemaModel3
|
|
916
|
+
} from "@contractspec/lib.schema";
|
|
913
917
|
var OWNERS2 = ["@agent-console-team"];
|
|
914
918
|
var RunStartedPayload = defineSchemaModel3({
|
|
915
919
|
name: "RunStartedPayload",
|
|
@@ -1266,7 +1270,10 @@ var RunLogEntity = defineEntity({
|
|
|
1266
1270
|
});
|
|
1267
1271
|
|
|
1268
1272
|
// src/run/run.presentation.ts
|
|
1269
|
-
import {
|
|
1273
|
+
import {
|
|
1274
|
+
StabilityEnum,
|
|
1275
|
+
definePresentation
|
|
1276
|
+
} from "@contractspec/lib.contracts-spec";
|
|
1270
1277
|
var RunListPresentation = definePresentation({
|
|
1271
1278
|
meta: {
|
|
1272
1279
|
key: "agent-console.run.list",
|
package/dist/run/run.entity.d.ts
CHANGED
package/dist/run/run.enum.d.ts
CHANGED
|
@@ -14,4 +14,3 @@ export declare const LogLevelEnum: import("@contractspec/lib.schema").EnumType<[
|
|
|
14
14
|
* Granularity enum for metrics.
|
|
15
15
|
*/
|
|
16
16
|
export declare const GranularityEnum: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
|
|
17
|
-
//# sourceMappingURL=run.enum.d.ts.map
|
package/dist/run/run.event.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* RunStartedEvent - An agent run was started.
|
|
3
3
|
*/
|
|
4
|
-
export declare const RunStartedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
4
|
+
export declare const RunStartedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
5
5
|
runId: {
|
|
6
6
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
7
|
isOptional: false;
|
|
@@ -38,7 +38,7 @@ export declare const RunStartedEvent: import("@contractspec/lib.contracts").Even
|
|
|
38
38
|
/**
|
|
39
39
|
* RunCompletedEvent - An agent run completed successfully.
|
|
40
40
|
*/
|
|
41
|
-
export declare const RunCompletedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
41
|
+
export declare const RunCompletedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
42
42
|
runId: {
|
|
43
43
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
@@ -95,7 +95,7 @@ export declare const RunCompletedEvent: import("@contractspec/lib.contracts").Ev
|
|
|
95
95
|
/**
|
|
96
96
|
* RunFailedEvent - An agent run failed.
|
|
97
97
|
*/
|
|
98
|
-
export declare const RunFailedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
98
|
+
export declare const RunFailedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
99
99
|
runId: {
|
|
100
100
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
101
101
|
isOptional: false;
|
|
@@ -144,7 +144,7 @@ export declare const RunFailedEvent: import("@contractspec/lib.contracts").Event
|
|
|
144
144
|
/**
|
|
145
145
|
* RunCancelledEvent - An agent run was cancelled.
|
|
146
146
|
*/
|
|
147
|
-
export declare const RunCancelledEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
147
|
+
export declare const RunCancelledEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
148
148
|
runId: {
|
|
149
149
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
150
150
|
isOptional: false;
|
|
@@ -185,7 +185,7 @@ export declare const RunCancelledEvent: import("@contractspec/lib.contracts").Ev
|
|
|
185
185
|
/**
|
|
186
186
|
* ToolInvokedEvent - A tool was invoked during a run.
|
|
187
187
|
*/
|
|
188
|
-
export declare const ToolInvokedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
188
|
+
export declare const ToolInvokedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
189
189
|
runId: {
|
|
190
190
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
191
191
|
isOptional: false;
|
|
@@ -214,7 +214,7 @@ export declare const ToolInvokedEvent: import("@contractspec/lib.contracts").Eve
|
|
|
214
214
|
/**
|
|
215
215
|
* ToolCompletedEvent - A tool invocation completed.
|
|
216
216
|
*/
|
|
217
|
-
export declare const ToolCompletedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
217
|
+
export declare const ToolCompletedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
218
218
|
runId: {
|
|
219
219
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
220
220
|
isOptional: false;
|
|
@@ -255,7 +255,7 @@ export declare const ToolCompletedEvent: import("@contractspec/lib.contracts").E
|
|
|
255
255
|
/**
|
|
256
256
|
* MessageGeneratedEvent - Agent generated a message.
|
|
257
257
|
*/
|
|
258
|
-
export declare const MessageGeneratedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
258
|
+
export declare const MessageGeneratedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
259
259
|
runId: {
|
|
260
260
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
261
261
|
isOptional: false;
|
|
@@ -281,4 +281,3 @@ export declare const MessageGeneratedEvent: import("@contractspec/lib.contracts"
|
|
|
281
281
|
isOptional: false;
|
|
282
282
|
};
|
|
283
283
|
}>>;
|
|
284
|
-
//# sourceMappingURL=run.event.d.ts.map
|
package/dist/run/run.event.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/run/run.event.ts
|
|
3
|
-
import { defineEvent
|
|
4
|
-
import {
|
|
3
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
4
|
+
import {
|
|
5
|
+
ScalarTypeEnum,
|
|
6
|
+
defineEnum,
|
|
7
|
+
defineSchemaModel
|
|
8
|
+
} from "@contractspec/lib.schema";
|
|
5
9
|
var OWNERS = ["@agent-console-team"];
|
|
6
10
|
var RunStartedPayload = defineSchemaModel({
|
|
7
11
|
name: "RunStartedPayload",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ExecuteAgentCommand - Starts a new agent run.
|
|
3
3
|
*/
|
|
4
|
-
export declare const ExecuteAgentCommand: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
4
|
+
export declare const ExecuteAgentCommand: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
5
5
|
agentId: {
|
|
6
6
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
7
|
isOptional: false;
|
|
@@ -101,7 +101,7 @@ export declare const ExecuteAgentCommand: import("@contractspec/lib.contracts").
|
|
|
101
101
|
/**
|
|
102
102
|
* CancelRunCommand - Cancels an in-progress run.
|
|
103
103
|
*/
|
|
104
|
-
export declare const CancelRunCommand: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
104
|
+
export declare const CancelRunCommand: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
105
105
|
runId: {
|
|
106
106
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
107
107
|
isOptional: false;
|
|
@@ -168,7 +168,7 @@ export declare const CancelRunCommand: import("@contractspec/lib.contracts").Ope
|
|
|
168
168
|
/**
|
|
169
169
|
* GetRunQuery - Retrieves a run by ID.
|
|
170
170
|
*/
|
|
171
|
-
export declare const GetRunQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
171
|
+
export declare const GetRunQuery: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
172
172
|
runId: {
|
|
173
173
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
174
174
|
isOptional: false;
|
|
@@ -392,7 +392,7 @@ export declare const GetRunQuery: import("@contractspec/lib.contracts").Operatio
|
|
|
392
392
|
/**
|
|
393
393
|
* ListRunsQuery - Lists runs for an organization or agent.
|
|
394
394
|
*/
|
|
395
|
-
export declare const ListRunsQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
395
|
+
export declare const ListRunsQuery: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
396
396
|
organizationId: {
|
|
397
397
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
398
398
|
isOptional: true;
|
|
@@ -486,7 +486,7 @@ export declare const ListRunsQuery: import("@contractspec/lib.contracts").Operat
|
|
|
486
486
|
/**
|
|
487
487
|
* GetRunStepsQuery - Retrieves steps for a run.
|
|
488
488
|
*/
|
|
489
|
-
export declare const GetRunStepsQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
489
|
+
export declare const GetRunStepsQuery: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
490
490
|
runId: {
|
|
491
491
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
492
492
|
isOptional: false;
|
|
@@ -555,7 +555,7 @@ export declare const GetRunStepsQuery: import("@contractspec/lib.contracts").Ope
|
|
|
555
555
|
/**
|
|
556
556
|
* GetRunLogsQuery - Retrieves logs for a run.
|
|
557
557
|
*/
|
|
558
|
-
export declare const GetRunLogsQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
558
|
+
export declare const GetRunLogsQuery: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
559
559
|
runId: {
|
|
560
560
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
561
561
|
isOptional: false;
|
|
@@ -633,7 +633,7 @@ export declare const GetRunLogsQuery: import("@contractspec/lib.contracts").Oper
|
|
|
633
633
|
/**
|
|
634
634
|
* GetRunMetricsQuery - Retrieves aggregated metrics for runs.
|
|
635
635
|
*/
|
|
636
|
-
export declare const GetRunMetricsQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
636
|
+
export declare const GetRunMetricsQuery: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
637
637
|
organizationId: {
|
|
638
638
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
639
639
|
isOptional: false;
|
|
@@ -711,4 +711,3 @@ export declare const GetRunMetricsQuery: import("@contractspec/lib.contracts").O
|
|
|
711
711
|
isOptional: false;
|
|
712
712
|
};
|
|
713
713
|
}>, undefined>;
|
|
714
|
-
//# sourceMappingURL=run.operation.d.ts.map
|
|
@@ -174,7 +174,7 @@ var TimelineDataPointModel = defineSchemaModel({
|
|
|
174
174
|
import {
|
|
175
175
|
defineCommand,
|
|
176
176
|
defineQuery
|
|
177
|
-
} from "@contractspec/lib.contracts/operations";
|
|
177
|
+
} from "@contractspec/lib.contracts-spec/operations";
|
|
178
178
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
179
179
|
var OWNERS = ["@agent-console-team"];
|
|
180
180
|
var ExecuteAgentCommand = defineCommand({
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Presentation for displaying a list of agent runs.
|
|
3
3
|
*/
|
|
4
|
-
export declare const RunListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
4
|
+
export declare const RunListPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
5
5
|
/**
|
|
6
6
|
* Presentation for run detail view.
|
|
7
7
|
*/
|
|
8
|
-
export declare const RunDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
9
|
-
//# sourceMappingURL=run.presentation.d.ts.map
|
|
8
|
+
export declare const RunDetailPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
@@ -171,7 +171,10 @@ var TimelineDataPointModel = defineSchemaModel({
|
|
|
171
171
|
});
|
|
172
172
|
|
|
173
173
|
// src/run/run.presentation.ts
|
|
174
|
-
import {
|
|
174
|
+
import {
|
|
175
|
+
StabilityEnum,
|
|
176
|
+
definePresentation
|
|
177
|
+
} from "@contractspec/lib.contracts-spec";
|
|
175
178
|
var RunListPresentation = definePresentation({
|
|
176
179
|
meta: {
|
|
177
180
|
key: "agent-console.run.list",
|
package/dist/run/run.schema.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export declare const runListTest: import("@contractspec/lib.contracts").TestSpec;
|
|
2
|
-
export declare const runGetTest: import("@contractspec/lib.contracts").TestSpec;
|
|
3
|
-
//# sourceMappingURL=run.test-spec.d.ts.map
|
|
1
|
+
export declare const runListTest: import("@contractspec/lib.contracts-spec/tests").TestSpec;
|
|
2
|
+
export declare const runGetTest: import("@contractspec/lib.contracts-spec/tests").TestSpec;
|
package/dist/seeders/index.d.ts
CHANGED
package/dist/shared/index.d.ts
CHANGED
package/dist/tool/index.d.ts
CHANGED
|
@@ -8,4 +8,3 @@ export { ToolCreatedEvent, ToolUpdatedEvent, ToolStatusChangedEvent, } from './t
|
|
|
8
8
|
export { ToolCategoryEntityEnum, ToolStatusEntityEnum, ImplementationTypeEntityEnum, ToolEntity, } from './tool.entity';
|
|
9
9
|
export { ToolListPresentation, ToolDetailPresentation, } from './tool.presentation';
|
|
10
10
|
export { mockListToolsHandler, mockGetToolHandler, mockCreateToolHandler, mockUpdateToolHandler, mockTestToolHandler, type ListToolsInput, type ToolSummary, type ListToolsOutput, } from './tool.handler';
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/tool/index.js
CHANGED
|
@@ -356,7 +356,7 @@ var UpdateToolInputModel = defineSchemaModel({
|
|
|
356
356
|
import {
|
|
357
357
|
defineCommand,
|
|
358
358
|
defineQuery
|
|
359
|
-
} from "@contractspec/lib.contracts/operations";
|
|
359
|
+
} from "@contractspec/lib.contracts-spec/operations";
|
|
360
360
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
361
361
|
var OWNERS = ["@agent-console-team"];
|
|
362
362
|
var CreateToolCommand = defineCommand({
|
|
@@ -693,8 +693,8 @@ var TestToolCommand = defineCommand({
|
|
|
693
693
|
});
|
|
694
694
|
|
|
695
695
|
// src/tool/tool.event.ts
|
|
696
|
-
import { defineEvent
|
|
697
|
-
import { ScalarTypeEnum as ScalarTypeEnum3 } from "@contractspec/lib.schema";
|
|
696
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
697
|
+
import { ScalarTypeEnum as ScalarTypeEnum3, defineSchemaModel as defineSchemaModel3 } from "@contractspec/lib.schema";
|
|
698
698
|
var OWNERS2 = ["@agent-console-team"];
|
|
699
699
|
var ToolCreatedPayload = defineSchemaModel3({
|
|
700
700
|
name: "ToolCreatedPayload",
|
|
@@ -873,7 +873,10 @@ var ToolEntity = defineEntity({
|
|
|
873
873
|
});
|
|
874
874
|
|
|
875
875
|
// src/tool/tool.presentation.ts
|
|
876
|
-
import {
|
|
876
|
+
import {
|
|
877
|
+
StabilityEnum,
|
|
878
|
+
definePresentation
|
|
879
|
+
} from "@contractspec/lib.contracts-spec";
|
|
877
880
|
var ToolListPresentation = definePresentation({
|
|
878
881
|
meta: {
|
|
879
882
|
key: "agent-console.tool.list",
|
package/dist/tool/tool.enum.d.ts
CHANGED
|
@@ -10,4 +10,3 @@ export declare const ToolStatusEnum: import("@contractspec/lib.schema").EnumType
|
|
|
10
10
|
* Implementation type enum.
|
|
11
11
|
*/
|
|
12
12
|
export declare const ImplementationTypeEnum: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
13
|
-
//# sourceMappingURL=tool.enum.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ToolCreatedEvent - A new tool was created.
|
|
3
3
|
*/
|
|
4
|
-
export declare const ToolCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
4
|
+
export declare const ToolCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
5
5
|
id: {
|
|
6
6
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
7
|
isOptional: false;
|
|
@@ -38,7 +38,7 @@ export declare const ToolCreatedEvent: import("@contractspec/lib.contracts").Eve
|
|
|
38
38
|
/**
|
|
39
39
|
* ToolUpdatedEvent - A tool was updated.
|
|
40
40
|
*/
|
|
41
|
-
export declare const ToolUpdatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
41
|
+
export declare const ToolUpdatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
42
42
|
id: {
|
|
43
43
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
@@ -68,7 +68,7 @@ export declare const ToolUpdatedEvent: import("@contractspec/lib.contracts").Eve
|
|
|
68
68
|
/**
|
|
69
69
|
* ToolStatusChangedEvent - A tool's status was changed.
|
|
70
70
|
*/
|
|
71
|
-
export declare const ToolStatusChangedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
71
|
+
export declare const ToolStatusChangedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
72
72
|
id: {
|
|
73
73
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
74
74
|
isOptional: false;
|
|
@@ -94,4 +94,3 @@ export declare const ToolStatusChangedEvent: import("@contractspec/lib.contracts
|
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
}>>;
|
|
97
|
-
//# sourceMappingURL=tool.event.d.ts.map
|
package/dist/tool/tool.event.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/tool/tool.event.ts
|
|
3
|
-
import { defineEvent
|
|
4
|
-
import { ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
4
|
+
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
5
5
|
var OWNERS = ["@agent-console-team"];
|
|
6
6
|
var ToolCreatedPayload = defineSchemaModel({
|
|
7
7
|
name: "ToolCreatedPayload",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CreateToolCommand - Creates a new tool definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare const CreateToolCommand: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
4
|
+
export declare const CreateToolCommand: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
5
5
|
organizationId: {
|
|
6
6
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
7
|
isOptional: false;
|
|
@@ -113,7 +113,7 @@ export declare const CreateToolCommand: import("@contractspec/lib.contracts").Op
|
|
|
113
113
|
/**
|
|
114
114
|
* UpdateToolCommand - Updates an existing tool.
|
|
115
115
|
*/
|
|
116
|
-
export declare const UpdateToolCommand: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
116
|
+
export declare const UpdateToolCommand: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
117
117
|
toolId: {
|
|
118
118
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
@@ -217,7 +217,7 @@ export declare const UpdateToolCommand: import("@contractspec/lib.contracts").Op
|
|
|
217
217
|
/**
|
|
218
218
|
* GetToolQuery - Retrieves a tool by ID.
|
|
219
219
|
*/
|
|
220
|
-
export declare const GetToolQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
220
|
+
export declare const GetToolQuery: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
221
221
|
toolId: {
|
|
222
222
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
223
223
|
isOptional: false;
|
|
@@ -297,7 +297,7 @@ export declare const GetToolQuery: import("@contractspec/lib.contracts").Operati
|
|
|
297
297
|
/**
|
|
298
298
|
* ListToolsQuery - Lists tools for an organization.
|
|
299
299
|
*/
|
|
300
|
-
export declare const ListToolsQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
300
|
+
export declare const ListToolsQuery: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
301
301
|
organizationId: {
|
|
302
302
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
303
303
|
isOptional: false;
|
|
@@ -375,7 +375,7 @@ export declare const ListToolsQuery: import("@contractspec/lib.contracts").Opera
|
|
|
375
375
|
/**
|
|
376
376
|
* TestToolCommand - Tests a tool with sample input.
|
|
377
377
|
*/
|
|
378
|
-
export declare const TestToolCommand: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
378
|
+
export declare const TestToolCommand: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
379
379
|
toolId: {
|
|
380
380
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
381
381
|
isOptional: false;
|
|
@@ -402,4 +402,3 @@ export declare const TestToolCommand: import("@contractspec/lib.contracts").Oper
|
|
|
402
402
|
isOptional: false;
|
|
403
403
|
};
|
|
404
404
|
}>, undefined>;
|
|
405
|
-
//# sourceMappingURL=tool.operation.d.ts.map
|
|
@@ -139,7 +139,7 @@ var UpdateToolInputModel = defineSchemaModel({
|
|
|
139
139
|
import {
|
|
140
140
|
defineCommand,
|
|
141
141
|
defineQuery
|
|
142
|
-
} from "@contractspec/lib.contracts/operations";
|
|
142
|
+
} from "@contractspec/lib.contracts-spec/operations";
|
|
143
143
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
144
144
|
var OWNERS = ["@agent-console-team"];
|
|
145
145
|
var CreateToolCommand = defineCommand({
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Presentation for displaying a list of tools.
|
|
3
3
|
*/
|
|
4
|
-
export declare const ToolListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
4
|
+
export declare const ToolListPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
5
5
|
/**
|
|
6
6
|
* Presentation for tool detail view.
|
|
7
7
|
*/
|
|
8
|
-
export declare const ToolDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
9
|
-
//# sourceMappingURL=tool.presentation.d.ts.map
|
|
8
|
+
export declare const ToolDetailPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
@@ -136,7 +136,10 @@ var UpdateToolInputModel = defineSchemaModel({
|
|
|
136
136
|
});
|
|
137
137
|
|
|
138
138
|
// src/tool/tool.presentation.ts
|
|
139
|
-
import {
|
|
139
|
+
import {
|
|
140
|
+
StabilityEnum,
|
|
141
|
+
definePresentation
|
|
142
|
+
} from "@contractspec/lib.contracts-spec";
|
|
140
143
|
var ToolListPresentation = definePresentation({
|
|
141
144
|
meta: {
|
|
142
145
|
key: "agent-console.tool.list",
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export declare const toolListTest: import("@contractspec/lib.contracts").TestSpec;
|
|
2
|
-
export declare const toolGetTest: import("@contractspec/lib.contracts").TestSpec;
|
|
3
|
-
//# sourceMappingURL=tool.test-spec.d.ts.map
|
|
1
|
+
export declare const toolListTest: import("@contractspec/lib.contracts-spec/tests").TestSpec;
|
|
2
|
+
export declare const toolGetTest: import("@contractspec/lib.contracts-spec/tests").TestSpec;
|