@lssm/example.agent-console 0.0.0-canary-20251217062139 → 0.0.0-canary-20251217060834
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 +80 -237
- package/.turbo/turbo-build.log +81 -48
- package/CHANGELOG.md +6 -6
- package/dist/agent/agent.contracts.d.ts +126 -126
- package/dist/agent/agent.contracts.js +1 -1
- package/dist/agent/agent.entity.d.ts +36 -36
- package/dist/agent/agent.entity.js +1 -1
- package/dist/agent/agent.enum.d.ts +4 -4
- package/dist/agent/agent.enum.js +1 -1
- package/dist/agent/agent.event.d.ts +31 -31
- package/dist/agent/agent.event.js +1 -1
- package/dist/agent/agent.schema.d.ts +95 -95
- package/dist/agent/agent.schema.js +1 -1
- package/dist/docs/agent-console.docblock.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/run/run.contracts.d.ts +1 -1
- package/dist/run/run.contracts.js +1 -1
- package/dist/run/run.entity.d.ts +56 -56
- package/dist/run/run.entity.js +1 -1
- package/dist/run/run.enum.d.ts +5 -5
- package/dist/run/run.enum.js +1 -1
- package/dist/run/run.event.d.ts +71 -71
- package/dist/run/run.event.js +1 -1
- package/dist/run/run.schema.d.ts +99 -99
- package/dist/run/run.schema.js +1 -1
- package/dist/tool/tool.contracts.d.ts +101 -101
- package/dist/tool/tool.contracts.js +1 -1
- package/dist/tool/tool.entity.d.ts +24 -24
- package/dist/tool/tool.entity.js +1 -1
- package/dist/tool/tool.enum.d.ts +4 -4
- package/dist/tool/tool.enum.js +1 -1
- package/dist/tool/tool.event.d.ts +25 -25
- package/dist/tool/tool.event.js +1 -1
- package/dist/tool/tool.schema.d.ts +52 -52
- package/dist/tool/tool.schema.js +1 -1
- package/package.json +8 -8
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -1
- package/dist/libs/contracts/dist/client/index.js +0 -1
- package/dist/libs/contracts/dist/client/react/feature-render.js +0 -1
- package/dist/libs/contracts/dist/client/react/form-render.js +0 -1
- package/dist/libs/contracts/dist/client/react/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -1
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -76
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -350
- package/dist/libs/contracts/dist/docs/index.js +0 -1
- package/dist/libs/contracts/dist/docs/presentations.js +0 -1
- package/dist/libs/contracts/dist/docs/registry.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -383
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -68
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -140
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -86
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -58
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -38
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -213
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -289
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -262
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -57
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -63
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -36
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -65
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -41
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -122
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -68
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -1
- package/dist/libs/contracts/dist/events.js +0 -1
- package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/libs/contracts/dist/index.js +0 -1
- package/dist/libs/contracts/dist/install.js +0 -1
- package/dist/libs/contracts/dist/integrations/contracts.js +0 -1
- package/dist/libs/contracts/dist/integrations/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -1
- package/dist/libs/contracts/dist/jsonschema.js +0 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +0 -1
- package/dist/libs/contracts/dist/knowledge/index.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -1
- package/dist/libs/contracts/dist/llm/exporters.js +0 -1
- package/dist/libs/contracts/dist/llm/index.js +0 -1
- package/dist/libs/contracts/dist/llm/prompts.js +0 -1
- package/dist/libs/contracts/dist/onboarding-base.js +0 -1
- package/dist/libs/contracts/dist/openapi.js +0 -1
- package/dist/libs/contracts/dist/ownership.js +0 -1
- package/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/libs/contracts/dist/presentations.v2.js +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 -1
- package/dist/libs/contracts/dist/registry.js +0 -1
- package/dist/libs/contracts/dist/resources.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -1
- package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -1
- package/dist/libs/contracts/dist/server/index.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -1
- 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/spec.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 -1
- package/dist/libs/contracts/dist/workflow/index.js +0 -1
- package/dist/libs/contracts/dist/workflow/runner.js +0 -1
- package/dist/libs/schema/dist/EnumType.js +0 -1
- package/dist/libs/schema/dist/FieldType.js +0 -1
- package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/libs/schema/dist/SchemaModel.js +0 -1
- package/dist/libs/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/schema/dist/entity/index.js +0 -1
- package/dist/libs/schema/dist/entity/types.js +0 -1
- package/dist/libs/schema/dist/index.js +0 -1
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema683 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts22 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/tool/tool.event.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* ToolCreatedEvent - A new tool was created.
|
|
7
7
|
*/
|
|
8
|
-
declare const ToolCreatedEvent:
|
|
8
|
+
declare const ToolCreatedEvent: _lssm_lib_contracts22.EventSpec<_lssm_lib_schema683.SchemaModel<{
|
|
9
9
|
id: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
organizationId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
name: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
slug: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
category: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
implementationType: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
createdById: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
35
35
|
isOptional: true;
|
|
36
36
|
};
|
|
37
37
|
createdAt: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema683.FieldType<Date, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
}>>;
|
|
42
42
|
/**
|
|
43
43
|
* ToolUpdatedEvent - A tool was updated.
|
|
44
44
|
*/
|
|
45
|
-
declare const ToolUpdatedEvent:
|
|
45
|
+
declare const ToolUpdatedEvent: _lssm_lib_contracts22.EventSpec<_lssm_lib_schema683.SchemaModel<{
|
|
46
46
|
id: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
organizationId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
name: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
status: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
updatedFields: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
64
64
|
isArray: true;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
updatedAt: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema683.FieldType<Date, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
}>>;
|
|
72
72
|
/**
|
|
73
73
|
* ToolStatusChangedEvent - A tool's status was changed.
|
|
74
74
|
*/
|
|
75
|
-
declare const ToolStatusChangedEvent:
|
|
75
|
+
declare const ToolStatusChangedEvent: _lssm_lib_contracts22.EventSpec<_lssm_lib_schema683.SchemaModel<{
|
|
76
76
|
id: {
|
|
77
|
-
type:
|
|
77
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
78
78
|
isOptional: false;
|
|
79
79
|
};
|
|
80
80
|
organizationId: {
|
|
81
|
-
type:
|
|
81
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
name: {
|
|
85
|
-
type:
|
|
85
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
previousStatus: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
newStatus: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema683.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
changedAt: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema683.FieldType<Date, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
}>>;
|
package/dist/tool/tool.event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ScalarTypeEnum as e}from"@lssm/lib.schema";import{defineEvent as t,defineSchemaModel as n}from"@lssm/lib.contracts";const r=t({name:`agent.tool.created`,version:1,description:`A new AI tool was created.`,payload:n({name:`ToolCreatedPayload`,description:`Payload for tool created event`,fields:{id:{type:e.String_unsecure(),isOptional:!1},organizationId:{type:e.String_unsecure(),isOptional:!1},name:{type:e.String_unsecure(),isOptional:!1},slug:{type:e.String_unsecure(),isOptional:!1},category:{type:e.String_unsecure(),isOptional:!1},implementationType:{type:e.String_unsecure(),isOptional:!1},createdById:{type:e.String_unsecure(),isOptional:!0},createdAt:{type:e.DateTime(),isOptional:!1}}})}),i=t({name:`agent.tool.updated`,version:1,description:`An AI tool configuration was updated.`,payload:n({name:`ToolUpdatedPayload`,description:`Payload for tool updated event`,fields:{id:{type:e.String_unsecure(),isOptional:!1},organizationId:{type:e.String_unsecure(),isOptional:!1},name:{type:e.String_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},updatedFields:{type:e.String_unsecure(),isArray:!0,isOptional:!1},updatedAt:{type:e.DateTime(),isOptional:!1}}})}),a=t({name:`agent.tool.statusChanged`,version:1,description:`An AI tool status was changed (activated, deprecated, disabled).`,payload:n({name:`ToolStatusChangedPayload`,description:`Payload for tool status changed event`,fields:{id:{type:e.String_unsecure(),isOptional:!1},organizationId:{type:e.String_unsecure(),isOptional:!1},name:{type:e.String_unsecure(),isOptional:!1},previousStatus:{type:e.String_unsecure(),isOptional:!1},newStatus:{type:e.String_unsecure(),isOptional:!1},changedAt:{type:e.DateTime(),isOptional:!1}}})});export{r as ToolCreatedEvent,a as ToolStatusChangedEvent,i as ToolUpdatedEvent};
|
|
@@ -1,168 +1,168 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema54 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/tool/tool.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* AI tool definition.
|
|
6
6
|
*/
|
|
7
|
-
declare const ToolModel:
|
|
7
|
+
declare const ToolModel: _lssm_lib_schema54.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
organizationId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
name: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
slug: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
description: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
category: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema54.EnumType<[string, string, string, string, string, string]>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
status: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema54.EnumType<[string, string, string, string]>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
parametersSchema: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema54.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
outputSchema: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema54.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
implementationType: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema54.EnumType<[string, string, string]>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
implementationConfig: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema54.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
maxInvocationsPerMinute: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema54.FieldType<number, number>;
|
|
54
54
|
isOptional: true;
|
|
55
55
|
};
|
|
56
56
|
timeoutMs: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema54.FieldType<number, number>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
defaultValue: number;
|
|
60
60
|
};
|
|
61
61
|
version: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
tags: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
67
67
|
isArray: true;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
70
|
createdAt: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema54.FieldType<Date, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
updatedAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema54.FieldType<Date, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
}>;
|
|
79
79
|
/**
|
|
80
80
|
* Summary of a tool for list views.
|
|
81
81
|
*/
|
|
82
|
-
declare const ToolSummaryModel:
|
|
82
|
+
declare const ToolSummaryModel: _lssm_lib_schema54.SchemaModel<{
|
|
83
83
|
id: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
name: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
slug: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
description: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
category: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema54.EnumType<[string, string, string, string, string, string]>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
status: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema54.EnumType<[string, string, string, string]>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
version: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
createdAt: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema54.FieldType<Date, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
}>;
|
|
116
116
|
/**
|
|
117
117
|
* Input for creating a tool.
|
|
118
118
|
*/
|
|
119
|
-
declare const CreateToolInputModel:
|
|
119
|
+
declare const CreateToolInputModel: _lssm_lib_schema54.SchemaModel<{
|
|
120
120
|
organizationId: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
name: {
|
|
125
|
-
type:
|
|
125
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
slug: {
|
|
129
|
-
type:
|
|
129
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
description: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
category: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema54.EnumType<[string, string, string, string, string, string]>;
|
|
138
138
|
isOptional: true;
|
|
139
139
|
};
|
|
140
140
|
parametersSchema: {
|
|
141
|
-
type:
|
|
141
|
+
type: _lssm_lib_schema54.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
outputSchema: {
|
|
145
|
-
type:
|
|
145
|
+
type: _lssm_lib_schema54.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
146
146
|
isOptional: true;
|
|
147
147
|
};
|
|
148
148
|
implementationType: {
|
|
149
|
-
type:
|
|
149
|
+
type: _lssm_lib_schema54.EnumType<[string, string, string]>;
|
|
150
150
|
isOptional: false;
|
|
151
151
|
};
|
|
152
152
|
implementationConfig: {
|
|
153
|
-
type:
|
|
153
|
+
type: _lssm_lib_schema54.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
154
154
|
isOptional: false;
|
|
155
155
|
};
|
|
156
156
|
maxInvocationsPerMinute: {
|
|
157
|
-
type:
|
|
157
|
+
type: _lssm_lib_schema54.FieldType<number, number>;
|
|
158
158
|
isOptional: true;
|
|
159
159
|
};
|
|
160
160
|
timeoutMs: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema54.FieldType<number, number>;
|
|
162
162
|
isOptional: true;
|
|
163
163
|
};
|
|
164
164
|
tags: {
|
|
165
|
-
type:
|
|
165
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
166
166
|
isArray: true;
|
|
167
167
|
isOptional: true;
|
|
168
168
|
};
|
|
@@ -170,45 +170,45 @@ declare const CreateToolInputModel: _lssm_lib_schema511.SchemaModel<{
|
|
|
170
170
|
/**
|
|
171
171
|
* Input for updating a tool.
|
|
172
172
|
*/
|
|
173
|
-
declare const UpdateToolInputModel:
|
|
173
|
+
declare const UpdateToolInputModel: _lssm_lib_schema54.SchemaModel<{
|
|
174
174
|
toolId: {
|
|
175
|
-
type:
|
|
175
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
176
176
|
isOptional: false;
|
|
177
177
|
};
|
|
178
178
|
name: {
|
|
179
|
-
type:
|
|
179
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
180
180
|
isOptional: true;
|
|
181
181
|
};
|
|
182
182
|
description: {
|
|
183
|
-
type:
|
|
183
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
184
184
|
isOptional: true;
|
|
185
185
|
};
|
|
186
186
|
status: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema54.EnumType<[string, string, string, string]>;
|
|
188
188
|
isOptional: true;
|
|
189
189
|
};
|
|
190
190
|
parametersSchema: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema54.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
192
192
|
isOptional: true;
|
|
193
193
|
};
|
|
194
194
|
outputSchema: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema54.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
implementationConfig: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema54.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
};
|
|
202
202
|
maxInvocationsPerMinute: {
|
|
203
|
-
type:
|
|
203
|
+
type: _lssm_lib_schema54.FieldType<number, number>;
|
|
204
204
|
isOptional: true;
|
|
205
205
|
};
|
|
206
206
|
timeoutMs: {
|
|
207
|
-
type:
|
|
207
|
+
type: _lssm_lib_schema54.FieldType<number, number>;
|
|
208
208
|
isOptional: true;
|
|
209
209
|
};
|
|
210
210
|
tags: {
|
|
211
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema54.FieldType<string, string>;
|
|
212
212
|
isArray: true;
|
|
213
213
|
isOptional: true;
|
|
214
214
|
};
|
package/dist/tool/tool.schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ImplementationTypeEnum as e,ToolCategoryEnum as t,ToolStatusEnum as n}from"./tool.enum.js";import{ScalarTypeEnum as r,defineSchemaModel as i}from"@lssm/lib.schema";const a=i({name:`Tool`,description:`AI tool definition`,fields:{id:{type:r.String_unsecure(),isOptional:!1},organizationId:{type:r.String_unsecure(),isOptional:!1},name:{type:r.NonEmptyString(),isOptional:!1},slug:{type:r.String_unsecure(),isOptional:!1},description:{type:r.String_unsecure(),isOptional:!1},category:{type:t,isOptional:!1},status:{type:n,isOptional:!1},parametersSchema:{type:r.JSONObject(),isOptional:!1},outputSchema:{type:r.JSONObject(),isOptional:!0},implementationType:{type:e,isOptional:!1},implementationConfig:{type:r.JSONObject(),isOptional:!1},maxInvocationsPerMinute:{type:r.Int_unsecure(),isOptional:!0},timeoutMs:{type:r.Int_unsecure(),isOptional:!1,defaultValue:3e4},version:{type:r.NonEmptyString(),isOptional:!1},tags:{type:r.String_unsecure(),isArray:!0,isOptional:!0},createdAt:{type:r.DateTime(),isOptional:!1},updatedAt:{type:r.DateTime(),isOptional:!1}}}),o=i({name:`ToolSummary`,description:`Summary of a tool for list views`,fields:{id:{type:r.String_unsecure(),isOptional:!1},name:{type:r.NonEmptyString(),isOptional:!1},slug:{type:r.String_unsecure(),isOptional:!1},description:{type:r.String_unsecure(),isOptional:!1},category:{type:t,isOptional:!1},status:{type:n,isOptional:!1},version:{type:r.NonEmptyString(),isOptional:!1},createdAt:{type:r.DateTime(),isOptional:!1}}}),s=i({name:`CreateToolInput`,description:`Input for creating a tool`,fields:{organizationId:{type:r.String_unsecure(),isOptional:!1},name:{type:r.NonEmptyString(),isOptional:!1},slug:{type:r.String_unsecure(),isOptional:!1},description:{type:r.String_unsecure(),isOptional:!1},category:{type:t,isOptional:!0},parametersSchema:{type:r.JSONObject(),isOptional:!1},outputSchema:{type:r.JSONObject(),isOptional:!0},implementationType:{type:e,isOptional:!1},implementationConfig:{type:r.JSONObject(),isOptional:!1},maxInvocationsPerMinute:{type:r.Int_unsecure(),isOptional:!0},timeoutMs:{type:r.Int_unsecure(),isOptional:!0},tags:{type:r.String_unsecure(),isArray:!0,isOptional:!0}}}),c=i({name:`UpdateToolInput`,description:`Input for updating a tool`,fields:{toolId:{type:r.String_unsecure(),isOptional:!1},name:{type:r.NonEmptyString(),isOptional:!0},description:{type:r.String_unsecure(),isOptional:!0},status:{type:n,isOptional:!0},parametersSchema:{type:r.JSONObject(),isOptional:!0},outputSchema:{type:r.JSONObject(),isOptional:!0},implementationConfig:{type:r.JSONObject(),isOptional:!0},maxInvocationsPerMinute:{type:r.Int_unsecure(),isOptional:!0},timeoutMs:{type:r.Int_unsecure(),isOptional:!0},tags:{type:r.String_unsecure(),isArray:!0,isOptional:!0}}});export{s as CreateToolInputModel,a as ToolModel,o as ToolSummaryModel,c as UpdateToolInputModel};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.agent-console",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251217060834",
|
|
4
4
|
"description": "Agent Console example - AI agent orchestration with tools, runs, and logs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"test": "bun run"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
61
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
62
|
-
"@lssm/lib.identity-rbac": "0.0.0-canary-
|
|
63
|
-
"@lssm/module.audit-trail": "0.0.0-canary-
|
|
64
|
-
"@lssm/lib.jobs": "0.0.0-canary-
|
|
60
|
+
"@lssm/lib.schema": "0.0.0-canary-20251217060834",
|
|
61
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251217060834",
|
|
62
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251217060834",
|
|
63
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251217060834",
|
|
64
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251217060834",
|
|
65
65
|
"zod": "^4.1.13"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
69
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
68
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251217060834",
|
|
69
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251217060834",
|
|
70
70
|
"tsdown": "^0.17.4",
|
|
71
71
|
"typescript": "^5.9.3"
|
|
72
72
|
},
|