@lssm/example.agent-console 0.0.0-canary-20251221193616 → 0.0.0-canary-20251223010757
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 +127 -379
- package/.turbo/turbo-build.log +128 -380
- package/CHANGELOG.md +6 -6
- package/dist/agent/agent.entity.d.ts +36 -36
- package/dist/agent/agent.entity.d.ts.map +1 -1
- package/dist/agent/agent.entity.js +40 -40
- package/dist/agent/agent.entity.js.map +1 -1
- package/dist/agent/agent.enum.d.ts +4 -4
- package/dist/agent/agent.enum.d.ts.map +1 -1
- package/dist/agent/agent.enum.js +4 -4
- package/dist/agent/agent.enum.js.map +1 -1
- package/dist/agent/agent.event.d.ts +30 -30
- package/dist/agent/agent.event.d.ts.map +1 -1
- package/dist/agent/agent.event.js +31 -33
- package/dist/agent/agent.event.js.map +1 -1
- package/dist/agent/agent.operation.d.ts +125 -125
- package/dist/agent/agent.operation.js +35 -36
- package/dist/agent/agent.operation.js.map +1 -1
- package/dist/agent/agent.schema.d.ts +95 -95
- package/dist/agent/agent.schema.d.ts.map +1 -1
- package/dist/agent/agent.schema.js +77 -77
- package/dist/agent/agent.schema.js.map +1 -1
- package/dist/docs/agent-console.docblock.js +1 -2
- package/dist/docs/agent-console.docblock.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/run/run.entity.d.ts +56 -56
- package/dist/run/run.entity.js +62 -62
- package/dist/run/run.entity.js.map +1 -1
- package/dist/run/run.enum.js +5 -5
- package/dist/run/run.enum.js.map +1 -1
- package/dist/run/run.event.d.ts +70 -70
- package/dist/run/run.event.js +71 -73
- package/dist/run/run.event.js.map +1 -1
- package/dist/run/run.operation.d.ts +1 -1
- package/dist/run/run.operation.js +57 -58
- package/dist/run/run.operation.js.map +1 -1
- package/dist/run/run.schema.js +65 -65
- package/dist/run/run.schema.js.map +1 -1
- package/dist/tool/tool.entity.js +27 -27
- package/dist/tool/tool.entity.js.map +1 -1
- package/dist/tool/tool.enum.js +4 -4
- package/dist/tool/tool.enum.js.map +1 -1
- package/dist/tool/tool.event.d.ts +1 -1
- package/dist/tool/tool.event.js +25 -27
- package/dist/tool/tool.event.js.map +1 -1
- package/dist/tool/tool.handler.d.ts.map +1 -1
- package/dist/tool/tool.operation.d.ts +1 -1
- package/dist/tool/tool.operation.js +28 -29
- package/dist/tool/tool.operation.js.map +1 -1
- package/dist/tool/tool.schema.js +44 -44
- package/dist/tool/tool.schema.js.map +1 -1
- package/package.json +9 -9
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/libs/contracts/dist/_virtual/rolldown_runtime.js +0 -6
- package/dist/libs/contracts/dist/_virtual/rolldown_runtime.js.map +0 -1
- package/dist/libs/contracts/dist/capabilities/index.js +0 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -89
- package/dist/libs/contracts/dist/capabilities/openbanking.js.map +0 -1
- package/dist/libs/contracts/dist/client/index.js +0 -5
- package/dist/libs/contracts/dist/client/react/feature-render.js +0 -3
- package/dist/libs/contracts/dist/client/react/form-render.js +0 -5
- package/dist/libs/contracts/dist/client/react/index.js +0 -4
- package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -61
- package/dist/libs/contracts/dist/contract-registry/schemas.js.map +0 -1
- package/dist/libs/contracts/dist/data-views/data-views.js +0 -7
- package/dist/libs/contracts/dist/data-views/data-views.js.map +0 -1
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -17
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/index.js +0 -25
- package/dist/libs/contracts/dist/docs/meta.docs.js +0 -30
- package/dist/libs/contracts/dist/docs/meta.docs.js.map +0 -1
- package/dist/libs/contracts/dist/docs/presentations.js +0 -72
- package/dist/libs/contracts/dist/docs/presentations.js.map +0 -1
- package/dist/libs/contracts/dist/docs/registry.js +0 -45
- package/dist/libs/contracts/dist/docs/registry.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -81
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -58
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -17
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -358
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -38
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -17
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -21
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -49
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -80
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -85
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -46
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -68
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -41
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -70
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -48
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -63
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -156
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -21
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -102
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -21
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech-contracts.docs.js +0 -97
- package/dist/libs/contracts/dist/docs/tech-contracts.docs.js.map +0 -1
- package/dist/libs/contracts/dist/events.js +0 -11
- package/dist/libs/contracts/dist/events.js.map +0 -1
- package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/libs/contracts/dist/features.js +0 -7
- package/dist/libs/contracts/dist/features.js.map +0 -1
- package/dist/libs/contracts/dist/forms/forms.js +0 -1
- package/dist/libs/contracts/dist/index.js +0 -88
- package/dist/libs/contracts/dist/index.js.map +0 -1
- package/dist/libs/contracts/dist/install.js +0 -2
- package/dist/libs/contracts/dist/integrations/index.js +0 -18
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -241
- package/dist/libs/contracts/dist/integrations/openbanking/models.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -14
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/operations.js +0 -377
- package/dist/libs/contracts/dist/integrations/operations.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -53
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -76
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -88
- package/dist/libs/contracts/dist/integrations/providers/gmail.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -67
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -69
- package/dist/libs/contracts/dist/integrations/providers/mistral.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -69
- package/dist/libs/contracts/dist/integrations/providers/postmark.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -117
- package/dist/libs/contracts/dist/integrations/providers/powens.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -74
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -84
- package/dist/libs/contracts/dist/integrations/providers/stripe.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -62
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js.map +0 -1
- package/dist/libs/contracts/dist/jsonschema.js +0 -1
- package/dist/libs/contracts/dist/knowledge/index.js +0 -7
- package/dist/libs/contracts/dist/knowledge/operations.js +0 -306
- package/dist/libs/contracts/dist/knowledge/operations.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -35
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -35
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -39
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -35
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -38
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -35
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js.map +0 -1
- package/dist/libs/contracts/dist/llm/exporters.js +0 -21
- package/dist/libs/contracts/dist/llm/exporters.js.map +0 -1
- package/dist/libs/contracts/dist/llm/index.js +0 -2
- package/dist/libs/contracts/dist/llm/prompts.js +0 -1
- package/dist/libs/contracts/dist/onboarding-base.js +0 -196
- package/dist/libs/contracts/dist/onboarding-base.js.map +0 -1
- package/dist/libs/contracts/dist/openapi.js +0 -1
- package/dist/libs/contracts/dist/operations/index.js +0 -2
- package/dist/libs/contracts/dist/operations/operation.js +0 -35
- package/dist/libs/contracts/dist/operations/operation.js.map +0 -1
- package/dist/libs/contracts/dist/operations/registry.js +0 -8
- package/dist/libs/contracts/dist/operations/registry.js.map +0 -1
- package/dist/libs/contracts/dist/ownership.js +0 -24
- package/dist/libs/contracts/dist/ownership.js.map +0 -1
- package/dist/libs/contracts/dist/presentations/index.js +0 -2
- package/dist/libs/contracts/dist/presentations/presentations.js +0 -8
- package/dist/libs/contracts/dist/presentations/presentations.js.map +0 -1
- package/dist/libs/contracts/dist/presentations/transform-engine.js +0 -12
- package/dist/libs/contracts/dist/presentations/transform-engine.js.map +0 -1
- package/dist/libs/contracts/dist/prompt.js +0 -1
- package/dist/libs/contracts/dist/promptRegistry.js +0 -1
- package/dist/libs/contracts/dist/regenerator/index.js +0 -1
- package/dist/libs/contracts/dist/regenerator/service.js +0 -7
- package/dist/libs/contracts/dist/regenerator/service.js.map +0 -1
- package/dist/libs/contracts/dist/registry-utils.js +0 -24
- package/dist/libs/contracts/dist/registry-utils.js.map +0 -1
- package/dist/libs/contracts/dist/resources.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -3874
- package/dist/libs/contracts/dist/schema/dist/index.js.map +0 -1
- package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
- package/dist/libs/contracts/dist/server/index.js +0 -8
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -3
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
- package/dist/libs/contracts/dist/server/rest-express.js +0 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
- package/dist/libs/contracts/dist/telemetry/index.js +0 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
- package/dist/libs/contracts/dist/tests/index.js +0 -1
- package/dist/libs/contracts/dist/tests/runner.js +0 -2
- package/dist/libs/contracts/dist/workflow/index.js +0 -2
- package/dist/libs/contracts/dist/workflow/runner.js +0 -1
- package/dist/libs/contracts/dist/workflow/spec.js +0 -7
- package/dist/libs/contracts/dist/workflow/spec.js.map +0 -1
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +0 -122
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +0 -1
- package/dist/libs/contracts/dist/workspace-config/index.js +0 -1
- package/dist/libs/schema/dist/index.js +0 -4922
- package/dist/libs/schema/dist/index.js.map +0 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { E5, K5 } from "../libs/schema/dist/index.js";
|
|
2
|
-
import { defineCommand, defineQuery } from "../libs/contracts/dist/operations/operation.js";
|
|
3
|
-
import "../libs/contracts/dist/operations/index.js";
|
|
4
1
|
import { GranularityEnum, LogLevelEnum, RunStatusEnum } from "./run.enum.js";
|
|
5
2
|
import { RunInputModel, RunLogModel, RunModel, RunStepModel, RunSummaryModel, TimelineDataPointModel } from "./run.schema.js";
|
|
3
|
+
import { ScalarTypeEnum, defineSchemaModel } from "@lssm/lib.schema";
|
|
4
|
+
import { defineCommand, defineQuery } from "@lssm/lib.contracts/operations";
|
|
6
5
|
|
|
7
6
|
//#region src/run/run.operation.ts
|
|
8
7
|
const OWNERS = ["agent-console-team"];
|
|
@@ -21,11 +20,11 @@ const ExecuteAgentCommand = defineCommand({
|
|
|
21
20
|
context: "Called from chat interface or API."
|
|
22
21
|
},
|
|
23
22
|
io: {
|
|
24
|
-
input:
|
|
23
|
+
input: defineSchemaModel({
|
|
25
24
|
name: "ExecuteAgentInput",
|
|
26
25
|
fields: {
|
|
27
26
|
agentId: {
|
|
28
|
-
type:
|
|
27
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
29
28
|
isOptional: false
|
|
30
29
|
},
|
|
31
30
|
input: {
|
|
@@ -33,32 +32,32 @@ const ExecuteAgentCommand = defineCommand({
|
|
|
33
32
|
isOptional: false
|
|
34
33
|
},
|
|
35
34
|
sessionId: {
|
|
36
|
-
type:
|
|
35
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
37
36
|
isOptional: true
|
|
38
37
|
},
|
|
39
38
|
metadata: {
|
|
40
|
-
type:
|
|
39
|
+
type: ScalarTypeEnum.JSONObject(),
|
|
41
40
|
isOptional: true
|
|
42
41
|
},
|
|
43
42
|
stream: {
|
|
44
|
-
type:
|
|
43
|
+
type: ScalarTypeEnum.Boolean(),
|
|
45
44
|
isOptional: true
|
|
46
45
|
},
|
|
47
46
|
maxIterations: {
|
|
48
|
-
type:
|
|
47
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
49
48
|
isOptional: true
|
|
50
49
|
},
|
|
51
50
|
timeoutMs: {
|
|
52
|
-
type:
|
|
51
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
53
52
|
isOptional: true
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
55
|
}),
|
|
57
|
-
output:
|
|
56
|
+
output: defineSchemaModel({
|
|
58
57
|
name: "ExecuteAgentOutput",
|
|
59
58
|
fields: {
|
|
60
59
|
runId: {
|
|
61
|
-
type:
|
|
60
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
62
61
|
isOptional: false
|
|
63
62
|
},
|
|
64
63
|
status: {
|
|
@@ -66,7 +65,7 @@ const ExecuteAgentCommand = defineCommand({
|
|
|
66
65
|
isOptional: false
|
|
67
66
|
},
|
|
68
67
|
estimatedWaitMs: {
|
|
69
|
-
type:
|
|
68
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
70
69
|
isOptional: true
|
|
71
70
|
}
|
|
72
71
|
}
|
|
@@ -112,24 +111,24 @@ const CancelRunCommand = defineCommand({
|
|
|
112
111
|
context: "Called when user wants to abort a long-running task."
|
|
113
112
|
},
|
|
114
113
|
io: {
|
|
115
|
-
input:
|
|
114
|
+
input: defineSchemaModel({
|
|
116
115
|
name: "CancelRunInput",
|
|
117
116
|
fields: {
|
|
118
117
|
runId: {
|
|
119
|
-
type:
|
|
118
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
120
119
|
isOptional: false
|
|
121
120
|
},
|
|
122
121
|
reason: {
|
|
123
|
-
type:
|
|
122
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
124
123
|
isOptional: true
|
|
125
124
|
}
|
|
126
125
|
}
|
|
127
126
|
}),
|
|
128
|
-
output:
|
|
127
|
+
output: defineSchemaModel({
|
|
129
128
|
name: "CancelRunOutput",
|
|
130
129
|
fields: {
|
|
131
130
|
success: {
|
|
132
|
-
type:
|
|
131
|
+
type: ScalarTypeEnum.Boolean(),
|
|
133
132
|
isOptional: false
|
|
134
133
|
},
|
|
135
134
|
status: {
|
|
@@ -179,19 +178,19 @@ const GetRunQuery = defineQuery({
|
|
|
179
178
|
context: "Run details page or monitoring."
|
|
180
179
|
},
|
|
181
180
|
io: {
|
|
182
|
-
input:
|
|
181
|
+
input: defineSchemaModel({
|
|
183
182
|
name: "GetRunInput",
|
|
184
183
|
fields: {
|
|
185
184
|
runId: {
|
|
186
|
-
type:
|
|
185
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
187
186
|
isOptional: false
|
|
188
187
|
},
|
|
189
188
|
includeSteps: {
|
|
190
|
-
type:
|
|
189
|
+
type: ScalarTypeEnum.Boolean(),
|
|
191
190
|
isOptional: true
|
|
192
191
|
},
|
|
193
192
|
includeLogs: {
|
|
194
|
-
type:
|
|
193
|
+
type: ScalarTypeEnum.Boolean(),
|
|
195
194
|
isOptional: true
|
|
196
195
|
}
|
|
197
196
|
}
|
|
@@ -221,23 +220,23 @@ const ListRunsQuery = defineQuery({
|
|
|
221
220
|
context: "Run history/dashboard view."
|
|
222
221
|
},
|
|
223
222
|
io: {
|
|
224
|
-
input:
|
|
223
|
+
input: defineSchemaModel({
|
|
225
224
|
name: "ListRunsInput",
|
|
226
225
|
fields: {
|
|
227
226
|
organizationId: {
|
|
228
|
-
type:
|
|
227
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
229
228
|
isOptional: true
|
|
230
229
|
},
|
|
231
230
|
agentId: {
|
|
232
|
-
type:
|
|
231
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
233
232
|
isOptional: true
|
|
234
233
|
},
|
|
235
234
|
userId: {
|
|
236
|
-
type:
|
|
235
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
237
236
|
isOptional: true
|
|
238
237
|
},
|
|
239
238
|
sessionId: {
|
|
240
|
-
type:
|
|
239
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
241
240
|
isOptional: true
|
|
242
241
|
},
|
|
243
242
|
status: {
|
|
@@ -245,26 +244,26 @@ const ListRunsQuery = defineQuery({
|
|
|
245
244
|
isOptional: true
|
|
246
245
|
},
|
|
247
246
|
startDate: {
|
|
248
|
-
type:
|
|
247
|
+
type: ScalarTypeEnum.DateTime(),
|
|
249
248
|
isOptional: true
|
|
250
249
|
},
|
|
251
250
|
endDate: {
|
|
252
|
-
type:
|
|
251
|
+
type: ScalarTypeEnum.DateTime(),
|
|
253
252
|
isOptional: true
|
|
254
253
|
},
|
|
255
254
|
limit: {
|
|
256
|
-
type:
|
|
255
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
257
256
|
isOptional: true,
|
|
258
257
|
defaultValue: 20
|
|
259
258
|
},
|
|
260
259
|
offset: {
|
|
261
|
-
type:
|
|
260
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
262
261
|
isOptional: true,
|
|
263
262
|
defaultValue: 0
|
|
264
263
|
}
|
|
265
264
|
}
|
|
266
265
|
}),
|
|
267
|
-
output:
|
|
266
|
+
output: defineSchemaModel({
|
|
268
267
|
name: "ListRunsOutput",
|
|
269
268
|
fields: {
|
|
270
269
|
items: {
|
|
@@ -273,11 +272,11 @@ const ListRunsQuery = defineQuery({
|
|
|
273
272
|
isOptional: false
|
|
274
273
|
},
|
|
275
274
|
total: {
|
|
276
|
-
type:
|
|
275
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
277
276
|
isOptional: false
|
|
278
277
|
},
|
|
279
278
|
hasMore: {
|
|
280
|
-
type:
|
|
279
|
+
type: ScalarTypeEnum.Boolean(),
|
|
281
280
|
isOptional: false
|
|
282
281
|
}
|
|
283
282
|
}
|
|
@@ -300,14 +299,14 @@ const GetRunStepsQuery = defineQuery({
|
|
|
300
299
|
context: "Run details page - steps tab."
|
|
301
300
|
},
|
|
302
301
|
io: {
|
|
303
|
-
input:
|
|
302
|
+
input: defineSchemaModel({
|
|
304
303
|
name: "GetRunStepsInput",
|
|
305
304
|
fields: { runId: {
|
|
306
|
-
type:
|
|
305
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
307
306
|
isOptional: false
|
|
308
307
|
} }
|
|
309
308
|
}),
|
|
310
|
-
output:
|
|
309
|
+
output: defineSchemaModel({
|
|
311
310
|
name: "GetRunStepsOutput",
|
|
312
311
|
fields: { steps: {
|
|
313
312
|
type: RunStepModel,
|
|
@@ -333,11 +332,11 @@ const GetRunLogsQuery = defineQuery({
|
|
|
333
332
|
context: "Run details page - logs tab."
|
|
334
333
|
},
|
|
335
334
|
io: {
|
|
336
|
-
input:
|
|
335
|
+
input: defineSchemaModel({
|
|
337
336
|
name: "GetRunLogsInput",
|
|
338
337
|
fields: {
|
|
339
338
|
runId: {
|
|
340
|
-
type:
|
|
339
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
341
340
|
isOptional: false
|
|
342
341
|
},
|
|
343
342
|
level: {
|
|
@@ -345,22 +344,22 @@ const GetRunLogsQuery = defineQuery({
|
|
|
345
344
|
isOptional: true
|
|
346
345
|
},
|
|
347
346
|
stepId: {
|
|
348
|
-
type:
|
|
347
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
349
348
|
isOptional: true
|
|
350
349
|
},
|
|
351
350
|
limit: {
|
|
352
|
-
type:
|
|
351
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
353
352
|
isOptional: true,
|
|
354
353
|
defaultValue: 100
|
|
355
354
|
},
|
|
356
355
|
offset: {
|
|
357
|
-
type:
|
|
356
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
358
357
|
isOptional: true,
|
|
359
358
|
defaultValue: 0
|
|
360
359
|
}
|
|
361
360
|
}
|
|
362
361
|
}),
|
|
363
|
-
output:
|
|
362
|
+
output: defineSchemaModel({
|
|
364
363
|
name: "GetRunLogsOutput",
|
|
365
364
|
fields: {
|
|
366
365
|
items: {
|
|
@@ -369,11 +368,11 @@ const GetRunLogsQuery = defineQuery({
|
|
|
369
368
|
isOptional: false
|
|
370
369
|
},
|
|
371
370
|
total: {
|
|
372
|
-
type:
|
|
371
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
373
372
|
isOptional: false
|
|
374
373
|
},
|
|
375
374
|
hasMore: {
|
|
376
|
-
type:
|
|
375
|
+
type: ScalarTypeEnum.Boolean(),
|
|
377
376
|
isOptional: false
|
|
378
377
|
}
|
|
379
378
|
}
|
|
@@ -396,23 +395,23 @@ const GetRunMetricsQuery = defineQuery({
|
|
|
396
395
|
context: "Analytics dashboard."
|
|
397
396
|
},
|
|
398
397
|
io: {
|
|
399
|
-
input:
|
|
398
|
+
input: defineSchemaModel({
|
|
400
399
|
name: "GetRunMetricsInput",
|
|
401
400
|
fields: {
|
|
402
401
|
organizationId: {
|
|
403
|
-
type:
|
|
402
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
404
403
|
isOptional: false
|
|
405
404
|
},
|
|
406
405
|
agentId: {
|
|
407
|
-
type:
|
|
406
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
408
407
|
isOptional: true
|
|
409
408
|
},
|
|
410
409
|
startDate: {
|
|
411
|
-
type:
|
|
410
|
+
type: ScalarTypeEnum.DateTime(),
|
|
412
411
|
isOptional: false
|
|
413
412
|
},
|
|
414
413
|
endDate: {
|
|
415
|
-
type:
|
|
414
|
+
type: ScalarTypeEnum.DateTime(),
|
|
416
415
|
isOptional: false
|
|
417
416
|
},
|
|
418
417
|
granularity: {
|
|
@@ -422,35 +421,35 @@ const GetRunMetricsQuery = defineQuery({
|
|
|
422
421
|
}
|
|
423
422
|
}
|
|
424
423
|
}),
|
|
425
|
-
output:
|
|
424
|
+
output: defineSchemaModel({
|
|
426
425
|
name: "GetRunMetricsOutput",
|
|
427
426
|
fields: {
|
|
428
427
|
totalRuns: {
|
|
429
|
-
type:
|
|
428
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
430
429
|
isOptional: false
|
|
431
430
|
},
|
|
432
431
|
completedRuns: {
|
|
433
|
-
type:
|
|
432
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
434
433
|
isOptional: false
|
|
435
434
|
},
|
|
436
435
|
failedRuns: {
|
|
437
|
-
type:
|
|
436
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
438
437
|
isOptional: false
|
|
439
438
|
},
|
|
440
439
|
totalTokens: {
|
|
441
|
-
type:
|
|
440
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
442
441
|
isOptional: false
|
|
443
442
|
},
|
|
444
443
|
totalCostUsd: {
|
|
445
|
-
type:
|
|
444
|
+
type: ScalarTypeEnum.Float_unsecure(),
|
|
446
445
|
isOptional: false
|
|
447
446
|
},
|
|
448
447
|
averageDurationMs: {
|
|
449
|
-
type:
|
|
448
|
+
type: ScalarTypeEnum.Float_unsecure(),
|
|
450
449
|
isOptional: false
|
|
451
450
|
},
|
|
452
451
|
successRate: {
|
|
453
|
-
type:
|
|
452
|
+
type: ScalarTypeEnum.Float_unsecure(),
|
|
454
453
|
isOptional: false
|
|
455
454
|
},
|
|
456
455
|
timeline: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.operation.js","names":["defineSchemaModel","ScalarTypeEnum"],"sources":["../../src/run/run.operation.ts"],"sourcesContent":["import { defineCommand, defineQuery } from '@lssm/lib.contracts/operations';\nimport { defineSchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\nimport { GranularityEnum, LogLevelEnum, RunStatusEnum } from './run.enum';\nimport {\n RunInputModel,\n RunLogModel,\n RunModel,\n RunStepModel,\n RunSummaryModel,\n TimelineDataPointModel,\n} from './run.schema';\n\nconst OWNERS = ['agent-console-team'] as const;\n\n/**\n * ExecuteAgentCommand - Starts a new agent run.\n */\nexport const ExecuteAgentCommand = defineCommand({\n meta: {\n name: 'agent.run.execute',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'execute'],\n description: 'Starts a new agent run with the given input.',\n goal: 'Execute an AI agent with user input.',\n context: 'Called from chat interface or API.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ExecuteAgentInput',\n fields: {\n agentId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n input: { type: RunInputModel, isOptional: false },\n sessionId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n metadata: { type: ScalarTypeEnum.JSONObject(), isOptional: true },\n stream: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n maxIterations: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n },\n timeoutMs: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n },\n }),\n output: defineSchemaModel({\n name: 'ExecuteAgentOutput',\n fields: {\n runId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n status: { type: RunStatusEnum, isOptional: false },\n estimatedWaitMs: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n },\n },\n }),\n errors: {\n AGENT_NOT_FOUND: {\n description: 'The specified agent does not exist',\n http: 404,\n gqlCode: 'AGENT_NOT_FOUND',\n when: 'Agent ID is invalid',\n },\n AGENT_NOT_ACTIVE: {\n description: 'The specified agent is not active',\n http: 400,\n gqlCode: 'AGENT_NOT_ACTIVE',\n when: 'Agent is in draft/paused/archived state',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n name: 'run.started',\n version: 1,\n when: 'Run is queued',\n payload: RunSummaryModel,\n },\n ],\n audit: ['run.started'],\n },\n});\n\n/**\n * CancelRunCommand - Cancels an in-progress run.\n */\nexport const CancelRunCommand = defineCommand({\n meta: {\n name: 'agent.run.cancel',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'cancel'],\n description: 'Cancels an in-progress agent run.',\n goal: 'Stop a running agent execution.',\n context: 'Called when user wants to abort a long-running task.',\n },\n io: {\n input: defineSchemaModel({\n name: 'CancelRunInput',\n fields: {\n runId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n }),\n output: defineSchemaModel({\n name: 'CancelRunOutput',\n fields: {\n success: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n status: { type: RunStatusEnum, isOptional: false },\n },\n }),\n errors: {\n RUN_NOT_FOUND: {\n description: 'The specified run does not exist',\n http: 404,\n gqlCode: 'RUN_NOT_FOUND',\n when: 'Run ID is invalid',\n },\n RUN_NOT_CANCELLABLE: {\n description: 'The run cannot be cancelled',\n http: 400,\n gqlCode: 'RUN_NOT_CANCELLABLE',\n when: 'Run is already completed/failed/cancelled',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n name: 'run.cancelled',\n version: 1,\n when: 'Run is cancelled',\n payload: RunSummaryModel,\n },\n ],\n audit: ['run.cancelled'],\n },\n});\n\n/**\n * GetRunQuery - Retrieves a run by ID.\n */\nexport const GetRunQuery = defineQuery({\n meta: {\n name: 'agent.run.get',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'get'],\n description: 'Retrieves a run by its ID with optional details.',\n goal: 'View detailed run information.',\n context: 'Run details page or monitoring.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetRunInput',\n fields: {\n runId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n includeSteps: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n includeLogs: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n },\n }),\n output: RunModel,\n errors: {\n RUN_NOT_FOUND: {\n description: 'The specified run does not exist',\n http: 404,\n gqlCode: 'RUN_NOT_FOUND',\n when: 'Run ID is invalid',\n },\n },\n },\n policy: { auth: 'user' },\n});\n\n/**\n * ListRunsQuery - Lists runs for an organization or agent.\n */\nexport const ListRunsQuery = defineQuery({\n meta: {\n name: 'agent.run.list',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'list'],\n description: 'Lists runs with optional filtering.',\n goal: 'Browse and search run history.',\n context: 'Run history/dashboard view.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ListRunsInput',\n fields: {\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n agentId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n userId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n sessionId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n status: { type: RunStatusEnum, isOptional: true },\n startDate: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n endDate: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n limit: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 20,\n },\n offset: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 0,\n },\n },\n }),\n output: defineSchemaModel({\n name: 'ListRunsOutput',\n fields: {\n items: { type: RunSummaryModel, isArray: true, isOptional: false },\n total: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n hasMore: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n },\n }),\n },\n policy: { auth: 'user' },\n});\n\n/**\n * GetRunStepsQuery - Retrieves steps for a run.\n */\nexport const GetRunStepsQuery = defineQuery({\n meta: {\n name: 'agent.run.getSteps',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'steps'],\n description: 'Retrieves all steps for a specific run.',\n goal: 'View step-by-step execution details.',\n context: 'Run details page - steps tab.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetRunStepsInput',\n fields: {\n runId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n }),\n output: defineSchemaModel({\n name: 'GetRunStepsOutput',\n fields: {\n steps: { type: RunStepModel, isArray: true, isOptional: false },\n },\n }),\n },\n policy: { auth: 'user' },\n});\n\n/**\n * GetRunLogsQuery - Retrieves logs for a run.\n */\nexport const GetRunLogsQuery = defineQuery({\n meta: {\n name: 'agent.run.getLogs',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'logs'],\n description: 'Retrieves all logs for a specific run.',\n goal: 'Debug and audit run execution.',\n context: 'Run details page - logs tab.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetRunLogsInput',\n fields: {\n runId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n level: { type: LogLevelEnum, isOptional: true },\n stepId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n limit: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 100,\n },\n offset: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 0,\n },\n },\n }),\n output: defineSchemaModel({\n name: 'GetRunLogsOutput',\n fields: {\n items: { type: RunLogModel, isArray: true, isOptional: false },\n total: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n hasMore: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n },\n }),\n },\n policy: { auth: 'user' },\n});\n\n/**\n * GetRunMetricsQuery - Retrieves aggregated metrics for runs.\n */\nexport const GetRunMetricsQuery = defineQuery({\n meta: {\n name: 'agent.run.getMetrics',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'metrics'],\n description: 'Retrieves aggregated metrics for runs within a time period.',\n goal: 'Monitor and analyze agent usage.',\n context: 'Analytics dashboard.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetRunMetricsInput',\n fields: {\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n agentId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n startDate: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n endDate: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n granularity: {\n type: GranularityEnum,\n isOptional: true,\n defaultValue: 'day',\n },\n },\n }),\n output: defineSchemaModel({\n name: 'GetRunMetricsOutput',\n fields: {\n totalRuns: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n completedRuns: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: false,\n },\n failedRuns: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n totalTokens: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n totalCostUsd: {\n type: ScalarTypeEnum.Float_unsecure(),\n isOptional: false,\n },\n averageDurationMs: {\n type: ScalarTypeEnum.Float_unsecure(),\n isOptional: false,\n },\n successRate: {\n type: ScalarTypeEnum.Float_unsecure(),\n isOptional: false,\n },\n timeline: {\n type: TimelineDataPointModel,\n isArray: true,\n isOptional: false,\n },\n },\n }),\n },\n policy: { auth: 'user' },\n});\n"],"mappings":";;;;;;;AAYA,MAAM,SAAS,CAAC,qBAAqB;;;;AAKrC,MAAa,sBAAsB,cAAc;CAC/C,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM,CAAC,OAAO,UAAU;EACxB,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAA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MA,GAAe,iBAAiB;KAAE,YAAY;KAAM;IACrE,WAAW;KAAE,MAAMA,GAAe,UAAU;KAAE,YAAY;KAAO;IACjE,SAAS;KAAE,MAAMA,GAAe,UAAU;KAAE,YAAY;KAAO;IAC/D,aAAa;KACX,MAAM;KACN,YAAY;KACZ,cAAc;KACf;IACF;GACF,CAAC;EACF,QAAQD,GAAkB;GACxB,MAAM;GACN,QAAQ;IACN,WAAW;KAAE,MAAMC,GAAe,cAAc;KAAE,YAAY;KAAO;IACrE,eAAe;KACb,MAAMA,GAAe,cAAc;KACnC,YAAY;KACb;IACD,YAAY;KAAE,MAAMA,GAAe,cAAc;KAAE,YAAY;KAAO;IACtE,aAAa;KAAE,MAAMA,GAAe,cAAc;KAAE,YAAY;KAAO;IACvE,cAAc;KACZ,MAAMA,GAAe,gBAAgB;KACrC,YAAY;KACb;IACD,mBAAmB;KACjB,MAAMA,GAAe,gBAAgB;KACrC,YAAY;KACb;IACD,aAAa;KACX,MAAMA,GAAe,gBAAgB;KACrC,YAAY;KACb;IACD,UAAU;KACR,MAAM;KACN,SAAS;KACT,YAAY;KACb;IACF;GACF,CAAC;EACH;CACD,QAAQ,EAAE,MAAM,QAAQ;CACzB,CAAC"}
|
|
1
|
+
{"version":3,"file":"run.operation.js","names":[],"sources":["../../src/run/run.operation.ts"],"sourcesContent":["import { defineCommand, defineQuery } from '@lssm/lib.contracts/operations';\nimport { defineSchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\nimport { GranularityEnum, LogLevelEnum, RunStatusEnum } from './run.enum';\nimport {\n RunInputModel,\n RunLogModel,\n RunModel,\n RunStepModel,\n RunSummaryModel,\n TimelineDataPointModel,\n} from './run.schema';\n\nconst OWNERS = ['agent-console-team'] as const;\n\n/**\n * ExecuteAgentCommand - Starts a new agent run.\n */\nexport const ExecuteAgentCommand = defineCommand({\n meta: {\n name: 'agent.run.execute',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'execute'],\n description: 'Starts a new agent run with the given input.',\n goal: 'Execute an AI agent with user input.',\n context: 'Called from chat interface or API.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ExecuteAgentInput',\n fields: {\n agentId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n input: { type: RunInputModel, isOptional: false },\n sessionId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n metadata: { type: ScalarTypeEnum.JSONObject(), isOptional: true },\n stream: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n maxIterations: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n },\n timeoutMs: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n },\n }),\n output: defineSchemaModel({\n name: 'ExecuteAgentOutput',\n fields: {\n runId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n status: { type: RunStatusEnum, isOptional: false },\n estimatedWaitMs: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n },\n },\n }),\n errors: {\n AGENT_NOT_FOUND: {\n description: 'The specified agent does not exist',\n http: 404,\n gqlCode: 'AGENT_NOT_FOUND',\n when: 'Agent ID is invalid',\n },\n AGENT_NOT_ACTIVE: {\n description: 'The specified agent is not active',\n http: 400,\n gqlCode: 'AGENT_NOT_ACTIVE',\n when: 'Agent is in draft/paused/archived state',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n name: 'run.started',\n version: 1,\n when: 'Run is queued',\n payload: RunSummaryModel,\n },\n ],\n audit: ['run.started'],\n },\n});\n\n/**\n * CancelRunCommand - Cancels an in-progress run.\n */\nexport const CancelRunCommand = defineCommand({\n meta: {\n name: 'agent.run.cancel',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'cancel'],\n description: 'Cancels an in-progress agent run.',\n goal: 'Stop a running agent execution.',\n context: 'Called when user wants to abort a long-running task.',\n },\n io: {\n input: defineSchemaModel({\n name: 'CancelRunInput',\n fields: {\n runId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n }),\n output: defineSchemaModel({\n name: 'CancelRunOutput',\n fields: {\n success: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n status: { type: RunStatusEnum, isOptional: false },\n },\n }),\n errors: {\n RUN_NOT_FOUND: {\n description: 'The specified run does not exist',\n http: 404,\n gqlCode: 'RUN_NOT_FOUND',\n when: 'Run ID is invalid',\n },\n RUN_NOT_CANCELLABLE: {\n description: 'The run cannot be cancelled',\n http: 400,\n gqlCode: 'RUN_NOT_CANCELLABLE',\n when: 'Run is already completed/failed/cancelled',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n name: 'run.cancelled',\n version: 1,\n when: 'Run is cancelled',\n payload: RunSummaryModel,\n },\n ],\n audit: ['run.cancelled'],\n },\n});\n\n/**\n * GetRunQuery - Retrieves a run by ID.\n */\nexport const GetRunQuery = defineQuery({\n meta: {\n name: 'agent.run.get',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'get'],\n description: 'Retrieves a run by its ID with optional details.',\n goal: 'View detailed run information.',\n context: 'Run details page or monitoring.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetRunInput',\n fields: {\n runId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n includeSteps: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n includeLogs: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n },\n }),\n output: RunModel,\n errors: {\n RUN_NOT_FOUND: {\n description: 'The specified run does not exist',\n http: 404,\n gqlCode: 'RUN_NOT_FOUND',\n when: 'Run ID is invalid',\n },\n },\n },\n policy: { auth: 'user' },\n});\n\n/**\n * ListRunsQuery - Lists runs for an organization or agent.\n */\nexport const ListRunsQuery = defineQuery({\n meta: {\n name: 'agent.run.list',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'list'],\n description: 'Lists runs with optional filtering.',\n goal: 'Browse and search run history.',\n context: 'Run history/dashboard view.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ListRunsInput',\n fields: {\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n agentId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n userId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n sessionId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n status: { type: RunStatusEnum, isOptional: true },\n startDate: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n endDate: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n limit: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 20,\n },\n offset: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 0,\n },\n },\n }),\n output: defineSchemaModel({\n name: 'ListRunsOutput',\n fields: {\n items: { type: RunSummaryModel, isArray: true, isOptional: false },\n total: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n hasMore: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n },\n }),\n },\n policy: { auth: 'user' },\n});\n\n/**\n * GetRunStepsQuery - Retrieves steps for a run.\n */\nexport const GetRunStepsQuery = defineQuery({\n meta: {\n name: 'agent.run.getSteps',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'steps'],\n description: 'Retrieves all steps for a specific run.',\n goal: 'View step-by-step execution details.',\n context: 'Run details page - steps tab.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetRunStepsInput',\n fields: {\n runId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n }),\n output: defineSchemaModel({\n name: 'GetRunStepsOutput',\n fields: {\n steps: { type: RunStepModel, isArray: true, isOptional: false },\n },\n }),\n },\n policy: { auth: 'user' },\n});\n\n/**\n * GetRunLogsQuery - Retrieves logs for a run.\n */\nexport const GetRunLogsQuery = defineQuery({\n meta: {\n name: 'agent.run.getLogs',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'logs'],\n description: 'Retrieves all logs for a specific run.',\n goal: 'Debug and audit run execution.',\n context: 'Run details page - logs tab.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetRunLogsInput',\n fields: {\n runId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n level: { type: LogLevelEnum, isOptional: true },\n stepId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n limit: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 100,\n },\n offset: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 0,\n },\n },\n }),\n output: defineSchemaModel({\n name: 'GetRunLogsOutput',\n fields: {\n items: { type: RunLogModel, isArray: true, isOptional: false },\n total: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n hasMore: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n },\n }),\n },\n policy: { auth: 'user' },\n});\n\n/**\n * GetRunMetricsQuery - Retrieves aggregated metrics for runs.\n */\nexport const GetRunMetricsQuery = defineQuery({\n meta: {\n name: 'agent.run.getMetrics',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['run', 'metrics'],\n description: 'Retrieves aggregated metrics for runs within a time period.',\n goal: 'Monitor and analyze agent usage.',\n context: 'Analytics dashboard.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetRunMetricsInput',\n fields: {\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n agentId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n startDate: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n endDate: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n granularity: {\n type: GranularityEnum,\n isOptional: true,\n defaultValue: 'day',\n },\n },\n }),\n output: defineSchemaModel({\n name: 'GetRunMetricsOutput',\n fields: {\n totalRuns: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n completedRuns: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: false,\n },\n failedRuns: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n totalTokens: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n totalCostUsd: {\n type: ScalarTypeEnum.Float_unsecure(),\n isOptional: false,\n },\n averageDurationMs: {\n type: ScalarTypeEnum.Float_unsecure(),\n isOptional: false,\n },\n successRate: {\n type: ScalarTypeEnum.Float_unsecure(),\n isOptional: false,\n },\n timeline: {\n type: TimelineDataPointModel,\n isArray: true,\n isOptional: false,\n },\n },\n }),\n },\n policy: { auth: 'user' },\n});\n"],"mappings":";;;;;;AAYA,MAAM,SAAS,CAAC,qBAAqB;;;;AAKrC,MAAa,sBAAsB,cAAc;CAC/C,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM,CAAC,OAAO,UAAU;EACxB,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO,kBAAkB;GACvB,MAAM;GACN,QAAQ;IACN,SAAS;KAAE,MAAM,eAAe,iBAAiB;KAAE,YAAY;KAAO;IACtE,OAAO;KAAE,MAAM;KAAe,YAAY;KAAO;IACjD,WAAW;KAAE,MAAM,eAAe,iBAAiB;KAAE,YAAY;KAAM;IACvE,UAAU;KAAE,MAAM,eAAe,YAAY;KAAE,YAAY;KAAM;IACjE,QAAQ;KAAE,MAAM,eAAe,SAAS;KAAE,YAAY;KAAM;IAC5D,eAAe;KACb,MAAM,eAAe,cAAc;KACnC,YAAY;KACb;IACD,WAAW;KAAE,MAAM,eAAe,cAAc;KAAE,YAAY;KAAM;IACrE;GACF,CAAC;EACF,QAAQ,kBAAkB;GACxB,MAAM;GACN,QAAQ;IACN,OAAO;KAAE,MAAM,eAAe,iBAAiB;KAAE,YAAY;KAAO;IACpE,QAAQ;KAAE,MAAM;KAAe,YAAY;KAAO;IAClD,iBAAiB;KACf,MAAM,eAAe,cAAc;KACnC,YAAY;KACb;IACF;GACF,CAA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