@lssm/example.agent-console 0.0.0-canary-20251217063201 → 0.0.0-canary-20251217073102
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 +201 -166
- package/CHANGELOG.md +6 -6
- package/dist/agent/agent.contracts.d.ts +126 -126
- package/dist/agent/agent.contracts.js +336 -1
- package/dist/agent/agent.entity.d.ts +36 -36
- package/dist/agent/agent.entity.js +136 -1
- package/dist/agent/agent.enum.d.ts +4 -4
- package/dist/agent/agent.enum.js +34 -1
- package/dist/agent/agent.event.d.ts +31 -31
- package/dist/agent/agent.event.js +183 -1
- package/dist/agent/agent.handler.d.ts +1 -1
- package/dist/agent/agent.handler.js +83 -1
- package/dist/agent/agent.presentation.js +75 -1
- package/dist/agent/agent.schema.d.ts +95 -95
- package/dist/agent/agent.schema.js +407 -1
- package/dist/agent/index.js +9 -1
- package/dist/agent.feature.js +295 -1
- package/dist/docs/agent-console.docblock.js +69 -5
- package/dist/docs/index.js +1 -1
- package/dist/example.js +50 -1
- package/dist/handlers/index.js +5 -1
- package/dist/index.js +32 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +88 -1
- package/dist/libs/contracts/dist/client/index.js +5 -1
- package/dist/libs/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/libs/contracts/dist/client/react/form-render.js +4 -1
- package/dist/libs/contracts/dist/client/react/index.js +4 -1
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +60 -1
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +16 -76
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +16 -350
- package/dist/libs/contracts/dist/docs/index.js +29 -1
- package/dist/libs/contracts/dist/docs/presentations.js +71 -1
- package/dist/libs/contracts/dist/docs/registry.js +44 -1
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +16 -383
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +16 -68
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +16 -140
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +16 -86
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +16 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +24 -2
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +21 -2
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +16 -213
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +73 -5
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +37 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +16 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +20 -262
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +48 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +24 -2
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +23 -2
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +25 -16
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +67 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +22 -2
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +40 -36
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +47 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +23 -2
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +36 -3
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +20 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +36 -3
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +20 -1
- package/dist/libs/contracts/dist/events.js +10 -1
- package/dist/libs/contracts/dist/experiments/evaluator.js +1 -1
- package/dist/libs/contracts/dist/index.js +71 -1
- package/dist/libs/contracts/dist/install.js +2 -1
- package/dist/libs/contracts/dist/integrations/contracts.js +377 -1
- package/dist/libs/contracts/dist/integrations/index.js +18 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +228 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +159 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +3 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +210 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +242 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +13 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +52 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +75 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +87 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +66 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +11 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +68 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +68 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +116 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +73 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +10 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +83 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +61 -1
- package/dist/libs/contracts/dist/jsonschema.js +1 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +306 -1
- package/dist/libs/contracts/dist/knowledge/index.js +7 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +38 -1
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +6 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +37 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +34 -1
- package/dist/libs/contracts/dist/llm/exporters.js +19 -1
- package/dist/libs/contracts/dist/llm/index.js +2 -1
- package/dist/libs/contracts/dist/llm/prompts.js +1 -1
- package/dist/libs/contracts/dist/onboarding-base.js +196 -1
- package/dist/libs/contracts/dist/openapi.js +1 -1
- package/dist/libs/contracts/dist/ownership.js +21 -1
- package/dist/libs/contracts/dist/presentations.js +1 -1
- package/dist/libs/contracts/dist/presentations.v2.js +11 -1
- package/dist/libs/contracts/dist/prompt.js +1 -1
- package/dist/libs/contracts/dist/promptRegistry.js +1 -1
- package/dist/libs/contracts/dist/regenerator/index.js +1 -1
- package/dist/libs/contracts/dist/regenerator/service.js +6 -1
- package/dist/libs/contracts/dist/registry.js +2 -1
- package/dist/libs/contracts/dist/resources.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +2 -1
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +49 -1
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +236 -1
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +39 -1
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +2 -1
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +6 -1
- package/dist/libs/contracts/dist/server/graphql-pothos.js +6 -1
- package/dist/libs/contracts/dist/server/index.js +8 -1
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +4 -1
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +2 -1
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +2 -1
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +1 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +1 -1
- package/dist/libs/contracts/dist/server/rest-express.js +1 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +1 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +1 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -1
- package/dist/libs/contracts/dist/spec.js +34 -1
- package/dist/libs/contracts/dist/telemetry/index.js +1 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +1 -1
- package/dist/libs/contracts/dist/tests/index.js +1 -1
- package/dist/libs/contracts/dist/tests/runner.js +2 -1
- package/dist/libs/contracts/dist/workflow/index.js +1 -1
- package/dist/libs/contracts/dist/workflow/runner.js +1 -1
- package/dist/libs/schema/dist/EnumType.js +56 -1
- package/dist/libs/schema/dist/FieldType.js +49 -1
- package/dist/libs/schema/dist/ScalarTypeEnum.js +236 -1
- package/dist/libs/schema/dist/SchemaModel.js +39 -1
- package/dist/libs/schema/dist/entity/defineEntity.js +236 -1
- package/dist/libs/schema/dist/entity/index.js +2 -1
- package/dist/libs/schema/dist/entity/types.js +1 -1
- package/dist/libs/schema/dist/index.js +6 -1
- package/dist/presentations/index.js +5 -1
- package/dist/run/index.js +9 -1
- package/dist/run/run.contracts.d.ts +175 -175
- package/dist/run/run.contracts.js +469 -1
- package/dist/run/run.entity.d.ts +56 -56
- package/dist/run/run.entity.js +205 -1
- package/dist/run/run.enum.d.ts +5 -5
- package/dist/run/run.enum.js +45 -1
- package/dist/run/run.event.d.ts +71 -71
- package/dist/run/run.event.js +389 -1
- package/dist/run/run.handler.js +82 -1
- package/dist/run/run.presentation.js +55 -1
- package/dist/run/run.schema.d.ts +99 -99
- package/dist/run/run.schema.js +339 -1
- package/dist/shared/index.js +5 -1
- package/dist/shared/mock-agents.js +93 -1
- package/dist/shared/mock-runs.js +117 -1
- package/dist/shared/mock-tools.js +180 -1
- package/dist/tool/index.js +9 -1
- package/dist/tool/tool.contracts.d.ts +101 -101
- package/dist/tool/tool.contracts.js +288 -1
- package/dist/tool/tool.entity.d.ts +24 -24
- package/dist/tool/tool.entity.js +105 -1
- package/dist/tool/tool.enum.d.ts +4 -4
- package/dist/tool/tool.enum.js +35 -1
- package/dist/tool/tool.event.d.ts +25 -25
- package/dist/tool/tool.event.js +145 -1
- package/dist/tool/tool.handler.d.ts +1 -1
- package/dist/tool/tool.handler.js +86 -1
- package/dist/tool/tool.presentation.js +55 -1
- package/dist/tool/tool.schema.d.ts +52 -52
- package/dist/tool/tool.schema.js +237 -1
- package/package.json +8 -8
|
@@ -1 +1,180 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/shared/mock-tools.ts
|
|
2
|
+
/**
|
|
3
|
+
* Mock tool data for testing and demos.
|
|
4
|
+
*/
|
|
5
|
+
const MOCK_TOOLS = [
|
|
6
|
+
{
|
|
7
|
+
id: "tool-1",
|
|
8
|
+
organizationId: "demo-org",
|
|
9
|
+
name: "Web Search",
|
|
10
|
+
slug: "web-search",
|
|
11
|
+
description: "Search the web for real-time information using Brave API.",
|
|
12
|
+
category: "RETRIEVAL",
|
|
13
|
+
status: "ACTIVE",
|
|
14
|
+
parametersSchema: {
|
|
15
|
+
type: "object",
|
|
16
|
+
properties: {
|
|
17
|
+
query: {
|
|
18
|
+
type: "string",
|
|
19
|
+
description: "Search query"
|
|
20
|
+
},
|
|
21
|
+
numResults: {
|
|
22
|
+
type: "number",
|
|
23
|
+
default: 10
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
required: ["query"]
|
|
27
|
+
},
|
|
28
|
+
outputSchema: {
|
|
29
|
+
type: "array",
|
|
30
|
+
items: { type: "object" }
|
|
31
|
+
},
|
|
32
|
+
implementationType: "http",
|
|
33
|
+
implementationConfig: {
|
|
34
|
+
url: "https://api.brave.com/search",
|
|
35
|
+
method: "GET"
|
|
36
|
+
},
|
|
37
|
+
maxInvocationsPerMinute: 60,
|
|
38
|
+
timeoutMs: 3e4,
|
|
39
|
+
version: "1.0.0",
|
|
40
|
+
tags: ["search", "web"],
|
|
41
|
+
createdAt: /* @__PURE__ */ new Date("2024-01-01T00:00:00Z"),
|
|
42
|
+
updatedAt: /* @__PURE__ */ new Date("2024-02-15T10:00:00Z")
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: "tool-2",
|
|
46
|
+
organizationId: "demo-org",
|
|
47
|
+
name: "SQL Query",
|
|
48
|
+
slug: "sql-query",
|
|
49
|
+
description: "Execute read-only SQL queries against the data warehouse.",
|
|
50
|
+
category: "RETRIEVAL",
|
|
51
|
+
status: "ACTIVE",
|
|
52
|
+
parametersSchema: {
|
|
53
|
+
type: "object",
|
|
54
|
+
properties: {
|
|
55
|
+
query: {
|
|
56
|
+
type: "string",
|
|
57
|
+
description: "SQL query"
|
|
58
|
+
},
|
|
59
|
+
maxRows: {
|
|
60
|
+
type: "number",
|
|
61
|
+
default: 100
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
required: ["query"]
|
|
65
|
+
},
|
|
66
|
+
outputSchema: { type: "object" },
|
|
67
|
+
implementationType: "function",
|
|
68
|
+
implementationConfig: { handler: "executeSqlQuery" },
|
|
69
|
+
maxInvocationsPerMinute: 30,
|
|
70
|
+
timeoutMs: 6e4,
|
|
71
|
+
version: "1.1.0",
|
|
72
|
+
tags: ["sql", "database"],
|
|
73
|
+
createdAt: /* @__PURE__ */ new Date("2024-01-05T00:00:00Z"),
|
|
74
|
+
updatedAt: /* @__PURE__ */ new Date("2024-03-10T14:00:00Z")
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
id: "tool-3",
|
|
78
|
+
organizationId: "demo-org",
|
|
79
|
+
name: "Email Sender",
|
|
80
|
+
slug: "email-sender",
|
|
81
|
+
description: "Send emails via SMTP or API.",
|
|
82
|
+
category: "COMMUNICATION",
|
|
83
|
+
status: "ACTIVE",
|
|
84
|
+
parametersSchema: {
|
|
85
|
+
type: "object",
|
|
86
|
+
properties: {
|
|
87
|
+
to: { type: "string" },
|
|
88
|
+
subject: { type: "string" },
|
|
89
|
+
body: { type: "string" }
|
|
90
|
+
},
|
|
91
|
+
required: [
|
|
92
|
+
"to",
|
|
93
|
+
"subject",
|
|
94
|
+
"body"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
implementationType: "http",
|
|
98
|
+
implementationConfig: {
|
|
99
|
+
url: "/api/send-email",
|
|
100
|
+
method: "POST"
|
|
101
|
+
},
|
|
102
|
+
maxInvocationsPerMinute: 10,
|
|
103
|
+
timeoutMs: 3e4,
|
|
104
|
+
version: "1.0.0",
|
|
105
|
+
tags: ["email", "communication"],
|
|
106
|
+
createdAt: /* @__PURE__ */ new Date("2024-02-01T00:00:00Z"),
|
|
107
|
+
updatedAt: /* @__PURE__ */ new Date("2024-02-01T00:00:00Z")
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
id: "tool-4",
|
|
111
|
+
organizationId: "demo-org",
|
|
112
|
+
name: "GitHub Integration",
|
|
113
|
+
slug: "github-integration",
|
|
114
|
+
description: "Interact with GitHub repositories, PRs, and issues.",
|
|
115
|
+
category: "INTEGRATION",
|
|
116
|
+
status: "ACTIVE",
|
|
117
|
+
parametersSchema: {
|
|
118
|
+
type: "object",
|
|
119
|
+
properties: {
|
|
120
|
+
action: {
|
|
121
|
+
type: "string",
|
|
122
|
+
enum: [
|
|
123
|
+
"list_prs",
|
|
124
|
+
"get_pr",
|
|
125
|
+
"create_comment"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
repo: { type: "string" },
|
|
129
|
+
params: { type: "object" }
|
|
130
|
+
},
|
|
131
|
+
required: ["action", "repo"]
|
|
132
|
+
},
|
|
133
|
+
implementationType: "http",
|
|
134
|
+
implementationConfig: {
|
|
135
|
+
url: "https://api.github.com",
|
|
136
|
+
auth: "token"
|
|
137
|
+
},
|
|
138
|
+
maxInvocationsPerMinute: 100,
|
|
139
|
+
timeoutMs: 15e3,
|
|
140
|
+
version: "2.0.0",
|
|
141
|
+
tags: [
|
|
142
|
+
"github",
|
|
143
|
+
"integration",
|
|
144
|
+
"code"
|
|
145
|
+
],
|
|
146
|
+
createdAt: /* @__PURE__ */ new Date("2024-02-20T00:00:00Z"),
|
|
147
|
+
updatedAt: /* @__PURE__ */ new Date("2024-04-01T09:00:00Z")
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
id: "tool-5",
|
|
151
|
+
organizationId: "demo-org",
|
|
152
|
+
name: "Calculator",
|
|
153
|
+
slug: "calculator",
|
|
154
|
+
description: "Perform mathematical calculations.",
|
|
155
|
+
category: "COMPUTATION",
|
|
156
|
+
status: "ACTIVE",
|
|
157
|
+
parametersSchema: {
|
|
158
|
+
type: "object",
|
|
159
|
+
properties: { expression: {
|
|
160
|
+
type: "string",
|
|
161
|
+
description: "Math expression to evaluate"
|
|
162
|
+
} },
|
|
163
|
+
required: ["expression"]
|
|
164
|
+
},
|
|
165
|
+
outputSchema: {
|
|
166
|
+
type: "object",
|
|
167
|
+
properties: { result: { type: "number" } }
|
|
168
|
+
},
|
|
169
|
+
implementationType: "function",
|
|
170
|
+
implementationConfig: { handler: "evaluateMath" },
|
|
171
|
+
timeoutMs: 5e3,
|
|
172
|
+
version: "1.0.0",
|
|
173
|
+
tags: ["math", "utility"],
|
|
174
|
+
createdAt: /* @__PURE__ */ new Date("2024-01-10T00:00:00Z"),
|
|
175
|
+
updatedAt: /* @__PURE__ */ new Date("2024-01-10T00:00:00Z")
|
|
176
|
+
}
|
|
177
|
+
];
|
|
178
|
+
|
|
179
|
+
//#endregion
|
|
180
|
+
export { MOCK_TOOLS };
|
package/dist/tool/index.js
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ImplementationTypeEnum, ToolCategoryEnum, ToolStatusEnum } from "./tool.enum.js";
|
|
2
|
+
import { CreateToolInputModel, ToolModel, ToolSummaryModel, UpdateToolInputModel } from "./tool.schema.js";
|
|
3
|
+
import { CreateToolCommand, GetToolQuery, ListToolsQuery, TestToolCommand, UpdateToolCommand } from "./tool.contracts.js";
|
|
4
|
+
import { ToolCreatedEvent, ToolStatusChangedEvent, ToolUpdatedEvent } from "./tool.event.js";
|
|
5
|
+
import { ImplementationTypeEntityEnum, ToolCategoryEntityEnum, ToolEntity, ToolStatusEntityEnum } from "./tool.entity.js";
|
|
6
|
+
import { ToolDetailPresentation, ToolListPresentation } from "./tool.presentation.js";
|
|
7
|
+
import { mockCreateToolHandler, mockGetToolHandler, mockListToolsHandler, mockTestToolHandler, mockUpdateToolHandler } from "./tool.handler.js";
|
|
8
|
+
|
|
9
|
+
export { CreateToolCommand, CreateToolInputModel, GetToolQuery, ImplementationTypeEntityEnum, ImplementationTypeEnum, ListToolsQuery, TestToolCommand, ToolCategoryEntityEnum, ToolCategoryEnum, ToolCreatedEvent, ToolDetailPresentation, ToolEntity, ToolListPresentation, ToolModel, ToolStatusChangedEvent, ToolStatusEntityEnum, ToolStatusEnum, ToolSummaryModel, ToolUpdatedEvent, UpdateToolCommand, UpdateToolInputModel, mockCreateToolHandler, mockGetToolHandler, mockListToolsHandler, mockTestToolHandler, mockUpdateToolHandler };
|