@lssm/example.agent-console 0.0.0-canary-20251220030446 → 0.0.0-canary-20251221114240

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.
Files changed (74) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +52 -49
  2. package/.turbo/turbo-build.log +60 -57
  3. package/CHANGELOG.md +6 -6
  4. package/dist/agent/agent.entity.d.ts +36 -36
  5. package/dist/agent/agent.enum.d.ts +4 -4
  6. package/dist/agent/agent.event.d.ts +31 -31
  7. package/dist/agent/agent.event.d.ts.map +1 -1
  8. package/dist/agent/agent.operation.d.ts +505 -0
  9. package/dist/agent/agent.operation.d.ts.map +1 -0
  10. package/dist/agent/{agent.contracts.js → agent.operation.js} +3 -3
  11. package/dist/agent/agent.operation.js.map +1 -0
  12. package/dist/agent/agent.schema.d.ts +95 -95
  13. package/dist/agent/index.d.ts +1 -1
  14. package/dist/agent/index.js +1 -1
  15. package/dist/index.d.ts +3 -3
  16. package/dist/index.js +3 -3
  17. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +6 -6
  18. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -1
  19. package/dist/libs/contracts/dist/index.js +3 -1
  20. package/dist/libs/contracts/dist/integrations/contracts.js +1 -1
  21. package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -1
  22. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +1 -1
  23. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
  24. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +1 -1
  25. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
  26. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +1 -1
  27. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
  28. package/dist/libs/contracts/dist/knowledge/contracts.js +1 -1
  29. package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -1
  30. package/dist/libs/contracts/dist/llm/exporters.js.map +1 -1
  31. package/dist/libs/contracts/dist/onboarding-base.js +1 -1
  32. package/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
  33. package/dist/libs/contracts/dist/{spec.js → operation.js} +2 -2
  34. package/dist/libs/contracts/dist/operation.js.map +1 -0
  35. package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +98 -0
  36. package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +1 -0
  37. package/dist/libs/contracts/dist/workspace-config/index.js +1 -0
  38. package/dist/run/index.d.ts +1 -1
  39. package/dist/run/index.js +1 -1
  40. package/dist/run/run.entity.d.ts +56 -56
  41. package/dist/run/run.enum.d.ts +5 -5
  42. package/dist/run/run.enum.d.ts.map +1 -1
  43. package/dist/run/run.event.d.ts +71 -71
  44. package/dist/run/run.event.d.ts.map +1 -1
  45. package/dist/run/run.operation.d.ts +714 -0
  46. package/dist/run/{run.contracts.d.ts.map → run.operation.d.ts.map} +1 -1
  47. package/dist/run/{run.contracts.js → run.operation.js} +3 -3
  48. package/dist/run/run.operation.js.map +1 -0
  49. package/dist/run/run.schema.d.ts +99 -99
  50. package/dist/tool/index.d.ts +1 -1
  51. package/dist/tool/index.js +1 -1
  52. package/dist/tool/tool.entity.d.ts +24 -24
  53. package/dist/tool/tool.enum.d.ts +4 -4
  54. package/dist/tool/tool.operation.d.ts +405 -0
  55. package/dist/tool/{tool.contracts.d.ts.map → tool.operation.d.ts.map} +1 -1
  56. package/dist/tool/{tool.contracts.js → tool.operation.js} +3 -3
  57. package/dist/tool/tool.operation.js.map +1 -0
  58. package/dist/tool/tool.presentation.d.ts.map +1 -1
  59. package/package.json +14 -14
  60. package/src/agent/{agent.contracts.ts → agent.operation.ts} +1 -1
  61. package/src/agent/index.ts +1 -1
  62. package/src/run/index.ts +1 -1
  63. package/src/run/{run.contracts.ts → run.operation.ts} +4 -4
  64. package/src/tool/index.ts +1 -1
  65. package/src/tool/{tool.contracts.ts → tool.operation.ts} +2 -2
  66. package/tsconfig.tsbuildinfo +1 -1
  67. package/dist/agent/agent.contracts.d.ts +0 -505
  68. package/dist/agent/agent.contracts.d.ts.map +0 -1
  69. package/dist/agent/agent.contracts.js.map +0 -1
  70. package/dist/libs/contracts/dist/spec.js.map +0 -1
  71. package/dist/run/run.contracts.d.ts +0 -714
  72. package/dist/run/run.contracts.js.map +0 -1
  73. package/dist/tool/tool.contracts.d.ts +0 -405
  74. package/dist/tool/tool.contracts.js.map +0 -1
@@ -1,125 +1,125 @@
1
- import * as _lssm_lib_contracts6 from "@lssm/lib.contracts";
2
- import * as _lssm_lib_schema267 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_contracts13 from "@lssm/lib.contracts";
2
+ import * as _lssm_lib_schema334 from "@lssm/lib.schema";
3
3
 
4
4
  //#region src/agent/agent.event.d.ts
5
5
  /**
6
6
  * AgentCreatedEvent - A new agent was created.
7
7
  */
8
- declare const AgentCreatedEvent: _lssm_lib_contracts6.EventSpec<_lssm_lib_schema267.SchemaModel<{
8
+ declare const AgentCreatedEvent: _lssm_lib_contracts13.EventSpec<_lssm_lib_schema334.SchemaModel<{
9
9
  id: {
10
- type: _lssm_lib_schema267.FieldType<string, string>;
10
+ type: _lssm_lib_schema334.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  organizationId: {
14
- type: _lssm_lib_schema267.FieldType<string, string>;
14
+ type: _lssm_lib_schema334.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  name: {
18
- type: _lssm_lib_schema267.FieldType<string, string>;
18
+ type: _lssm_lib_schema334.FieldType<string, string>;
19
19
  isOptional: false;
20
20
  };
21
21
  slug: {
22
- type: _lssm_lib_schema267.FieldType<string, string>;
22
+ type: _lssm_lib_schema334.FieldType<string, string>;
23
23
  isOptional: false;
24
24
  };
25
25
  modelProvider: {
26
- type: _lssm_lib_schema267.FieldType<string, string>;
26
+ type: _lssm_lib_schema334.FieldType<string, string>;
27
27
  isOptional: false;
28
28
  };
29
29
  modelName: {
30
- type: _lssm_lib_schema267.FieldType<string, string>;
30
+ type: _lssm_lib_schema334.FieldType<string, string>;
31
31
  isOptional: false;
32
32
  };
33
33
  toolCount: {
34
- type: _lssm_lib_schema267.FieldType<number, number>;
34
+ type: _lssm_lib_schema334.FieldType<number, number>;
35
35
  isOptional: false;
36
36
  };
37
37
  createdById: {
38
- type: _lssm_lib_schema267.FieldType<string, string>;
38
+ type: _lssm_lib_schema334.FieldType<string, string>;
39
39
  isOptional: true;
40
40
  };
41
41
  createdAt: {
42
- type: _lssm_lib_schema267.FieldType<Date, string>;
42
+ type: _lssm_lib_schema334.FieldType<Date, string>;
43
43
  isOptional: false;
44
44
  };
45
45
  }>>;
46
46
  /**
47
47
  * AgentUpdatedEvent - An agent was updated.
48
48
  */
49
- declare const AgentUpdatedEvent: _lssm_lib_contracts6.EventSpec<_lssm_lib_schema267.SchemaModel<{
49
+ declare const AgentUpdatedEvent: _lssm_lib_contracts13.EventSpec<_lssm_lib_schema334.SchemaModel<{
50
50
  id: {
51
- type: _lssm_lib_schema267.FieldType<string, string>;
51
+ type: _lssm_lib_schema334.FieldType<string, string>;
52
52
  isOptional: false;
53
53
  };
54
54
  organizationId: {
55
- type: _lssm_lib_schema267.FieldType<string, string>;
55
+ type: _lssm_lib_schema334.FieldType<string, string>;
56
56
  isOptional: false;
57
57
  };
58
58
  name: {
59
- type: _lssm_lib_schema267.FieldType<string, string>;
59
+ type: _lssm_lib_schema334.FieldType<string, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  status: {
63
- type: _lssm_lib_schema267.FieldType<string, string>;
63
+ type: _lssm_lib_schema334.FieldType<string, string>;
64
64
  isOptional: false;
65
65
  };
66
66
  updatedFields: {
67
- type: _lssm_lib_schema267.FieldType<string, string>;
67
+ type: _lssm_lib_schema334.FieldType<string, string>;
68
68
  isArray: true;
69
69
  isOptional: false;
70
70
  };
71
71
  updatedAt: {
72
- type: _lssm_lib_schema267.FieldType<Date, string>;
72
+ type: _lssm_lib_schema334.FieldType<Date, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  }>>;
76
76
  /**
77
77
  * AgentToolAssignedEvent - A tool was assigned to an agent.
78
78
  */
79
- declare const AgentToolAssignedEvent: _lssm_lib_contracts6.EventSpec<_lssm_lib_schema267.SchemaModel<{
79
+ declare const AgentToolAssignedEvent: _lssm_lib_contracts13.EventSpec<_lssm_lib_schema334.SchemaModel<{
80
80
  agentId: {
81
- type: _lssm_lib_schema267.FieldType<string, string>;
81
+ type: _lssm_lib_schema334.FieldType<string, string>;
82
82
  isOptional: false;
83
83
  };
84
84
  toolId: {
85
- type: _lssm_lib_schema267.FieldType<string, string>;
85
+ type: _lssm_lib_schema334.FieldType<string, string>;
86
86
  isOptional: false;
87
87
  };
88
88
  agentName: {
89
- type: _lssm_lib_schema267.FieldType<string, string>;
89
+ type: _lssm_lib_schema334.FieldType<string, string>;
90
90
  isOptional: false;
91
91
  };
92
92
  toolName: {
93
- type: _lssm_lib_schema267.FieldType<string, string>;
93
+ type: _lssm_lib_schema334.FieldType<string, string>;
94
94
  isOptional: false;
95
95
  };
96
96
  assignedAt: {
97
- type: _lssm_lib_schema267.FieldType<Date, string>;
97
+ type: _lssm_lib_schema334.FieldType<Date, string>;
98
98
  isOptional: false;
99
99
  };
100
100
  }>>;
101
101
  /**
102
102
  * AgentToolRemovedEvent - A tool was removed from an agent.
103
103
  */
104
- declare const AgentToolRemovedEvent: _lssm_lib_contracts6.EventSpec<_lssm_lib_schema267.SchemaModel<{
104
+ declare const AgentToolRemovedEvent: _lssm_lib_contracts13.EventSpec<_lssm_lib_schema334.SchemaModel<{
105
105
  agentId: {
106
- type: _lssm_lib_schema267.FieldType<string, string>;
106
+ type: _lssm_lib_schema334.FieldType<string, string>;
107
107
  isOptional: false;
108
108
  };
109
109
  toolId: {
110
- type: _lssm_lib_schema267.FieldType<string, string>;
110
+ type: _lssm_lib_schema334.FieldType<string, string>;
111
111
  isOptional: false;
112
112
  };
113
113
  agentName: {
114
- type: _lssm_lib_schema267.FieldType<string, string>;
114
+ type: _lssm_lib_schema334.FieldType<string, string>;
115
115
  isOptional: false;
116
116
  };
117
117
  toolName: {
118
- type: _lssm_lib_schema267.FieldType<string, string>;
118
+ type: _lssm_lib_schema334.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  removedAt: {
122
- type: _lssm_lib_schema267.FieldType<Date, string>;
122
+ type: _lssm_lib_schema334.FieldType<Date, string>;
123
123
  isOptional: false;
124
124
  };
125
125
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"agent.event.d.ts","names":[],"sources":["../../src/agent/agent.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cA+Ba,mBAAiB,oBAAA,CAAA,8BAAA;EAAjB,EAAA,EAAA;IAKX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;EAL4B,IAAA,EAAA;IAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAiCjB,UAAA,EAAA,KAKX;EAAA,CAAA;;;;;;;qBAL4B;EAAA,CAAA;EAAA,SAAA,EAAA;IAyBjB,IAAA,+BAKX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;IALiC,IAAA,+BAAA,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAyBtB,CAAA;CAKX,CAAA,CAAA;;;;cAvDW,mBAAiB,oBAAA,CAAA,8BAAA;;UAK5B,mBAAA,CAAA,SA6CgC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAzBrB,wBAAsB,oBAAA,CAAA,8BAAA;;UAKjC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAoBW,uBAAqB,oBAAA,CAAA,8BAAA;;UAKhC,mBAAA,CAAA"}
1
+ {"version":3,"file":"agent.event.d.ts","names":[],"sources":["../../src/agent/agent.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cA+Ba,mBAAiB,qBAAA,CAAA,8BAAA;EAAjB,EAAA,EAAA;IAKX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;EAL4B,IAAA,EAAA;IAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAiCjB,UAAA,EAAA,KAKX;EAAA,CAAA;;;;;;;qBAL4B;EAAA,CAAA;EAAA,SAAA,EAAA;IAyBjB,IAAA,+BAKX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;IALiC,IAAA,+BAAA,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAyBtB,CAAA;CAKX,CAAA,CAAA;;;;cAvDW,mBAAiB,qBAAA,CAAA,8BAAA;;UAK5B,mBAAA,CAAA,SA6CgC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAzBrB,wBAAsB,qBAAA,CAAA,8BAAA;;UAKjC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAoBW,uBAAqB,qBAAA,CAAA,8BAAA;;UAKhC,mBAAA,CAAA"}
@@ -0,0 +1,505 @@
1
+ import * as _lssm_lib_contracts17 from "@lssm/lib.contracts";
2
+ import * as _lssm_lib_schema461 from "@lssm/lib.schema";
3
+
4
+ //#region src/agent/agent.operation.d.ts
5
+ /**
6
+ * CreateAgentCommand - Creates a new agent configuration.
7
+ */
8
+ declare const CreateAgentCommand: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema461.SchemaModel<{
9
+ organizationId: {
10
+ type: _lssm_lib_schema461.FieldType<string, string>;
11
+ isOptional: false;
12
+ };
13
+ name: {
14
+ type: _lssm_lib_schema461.FieldType<string, string>;
15
+ isOptional: false;
16
+ };
17
+ slug: {
18
+ type: _lssm_lib_schema461.FieldType<string, string>;
19
+ isOptional: false;
20
+ };
21
+ description: {
22
+ type: _lssm_lib_schema461.FieldType<string, string>;
23
+ isOptional: true;
24
+ };
25
+ modelProvider: {
26
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string, string]>;
27
+ isOptional: false;
28
+ };
29
+ modelName: {
30
+ type: _lssm_lib_schema461.FieldType<string, string>;
31
+ isOptional: false;
32
+ };
33
+ modelConfig: {
34
+ type: _lssm_lib_schema461.FieldType<Record<string, unknown>, Record<string, unknown>>;
35
+ isOptional: true;
36
+ };
37
+ systemPrompt: {
38
+ type: _lssm_lib_schema461.FieldType<string, string>;
39
+ isOptional: false;
40
+ };
41
+ userPromptTemplate: {
42
+ type: _lssm_lib_schema461.FieldType<string, string>;
43
+ isOptional: true;
44
+ };
45
+ toolIds: {
46
+ type: _lssm_lib_schema461.FieldType<string, string>;
47
+ isArray: true;
48
+ isOptional: true;
49
+ };
50
+ toolChoice: {
51
+ type: _lssm_lib_schema461.EnumType<[string, string, string]>;
52
+ isOptional: true;
53
+ };
54
+ maxIterations: {
55
+ type: _lssm_lib_schema461.FieldType<number, number>;
56
+ isOptional: true;
57
+ };
58
+ maxTokensPerRun: {
59
+ type: _lssm_lib_schema461.FieldType<number, number>;
60
+ isOptional: true;
61
+ };
62
+ timeoutMs: {
63
+ type: _lssm_lib_schema461.FieldType<number, number>;
64
+ isOptional: true;
65
+ };
66
+ tags: {
67
+ type: _lssm_lib_schema461.FieldType<string, string>;
68
+ isArray: true;
69
+ isOptional: true;
70
+ };
71
+ }>, _lssm_lib_schema461.SchemaModel<{
72
+ id: {
73
+ type: _lssm_lib_schema461.FieldType<string, string>;
74
+ isOptional: false;
75
+ };
76
+ name: {
77
+ type: _lssm_lib_schema461.FieldType<string, string>;
78
+ isOptional: false;
79
+ };
80
+ slug: {
81
+ type: _lssm_lib_schema461.FieldType<string, string>;
82
+ isOptional: false;
83
+ };
84
+ status: {
85
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string]>;
86
+ isOptional: false;
87
+ };
88
+ }>, {
89
+ ref: _lssm_lib_contracts17.EventSpec<_lssm_lib_schema461.SchemaModel<{
90
+ id: {
91
+ type: _lssm_lib_schema461.FieldType<string, string>;
92
+ isOptional: false;
93
+ };
94
+ organizationId: {
95
+ type: _lssm_lib_schema461.FieldType<string, string>;
96
+ isOptional: false;
97
+ };
98
+ name: {
99
+ type: _lssm_lib_schema461.FieldType<string, string>;
100
+ isOptional: false;
101
+ };
102
+ slug: {
103
+ type: _lssm_lib_schema461.FieldType<string, string>;
104
+ isOptional: false;
105
+ };
106
+ modelProvider: {
107
+ type: _lssm_lib_schema461.FieldType<string, string>;
108
+ isOptional: false;
109
+ };
110
+ modelName: {
111
+ type: _lssm_lib_schema461.FieldType<string, string>;
112
+ isOptional: false;
113
+ };
114
+ toolCount: {
115
+ type: _lssm_lib_schema461.FieldType<number, number>;
116
+ isOptional: false;
117
+ };
118
+ createdById: {
119
+ type: _lssm_lib_schema461.FieldType<string, string>;
120
+ isOptional: true;
121
+ };
122
+ createdAt: {
123
+ type: _lssm_lib_schema461.FieldType<Date, string>;
124
+ isOptional: false;
125
+ };
126
+ }>>;
127
+ when: string;
128
+ }[]>;
129
+ /**
130
+ * UpdateAgentCommand - Updates an existing agent.
131
+ */
132
+ declare const UpdateAgentCommand: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema461.SchemaModel<{
133
+ agentId: {
134
+ type: _lssm_lib_schema461.FieldType<string, string>;
135
+ isOptional: false;
136
+ };
137
+ name: {
138
+ type: _lssm_lib_schema461.FieldType<string, string>;
139
+ isOptional: true;
140
+ };
141
+ description: {
142
+ type: _lssm_lib_schema461.FieldType<string, string>;
143
+ isOptional: true;
144
+ };
145
+ status: {
146
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string]>;
147
+ isOptional: true;
148
+ };
149
+ modelConfig: {
150
+ type: _lssm_lib_schema461.FieldType<Record<string, unknown>, Record<string, unknown>>;
151
+ isOptional: true;
152
+ };
153
+ systemPrompt: {
154
+ type: _lssm_lib_schema461.FieldType<string, string>;
155
+ isOptional: true;
156
+ };
157
+ userPromptTemplate: {
158
+ type: _lssm_lib_schema461.FieldType<string, string>;
159
+ isOptional: true;
160
+ };
161
+ toolIds: {
162
+ type: _lssm_lib_schema461.FieldType<string, string>;
163
+ isArray: true;
164
+ isOptional: true;
165
+ };
166
+ toolChoice: {
167
+ type: _lssm_lib_schema461.EnumType<[string, string, string]>;
168
+ isOptional: true;
169
+ };
170
+ maxIterations: {
171
+ type: _lssm_lib_schema461.FieldType<number, number>;
172
+ isOptional: true;
173
+ };
174
+ maxTokensPerRun: {
175
+ type: _lssm_lib_schema461.FieldType<number, number>;
176
+ isOptional: true;
177
+ };
178
+ timeoutMs: {
179
+ type: _lssm_lib_schema461.FieldType<number, number>;
180
+ isOptional: true;
181
+ };
182
+ tags: {
183
+ type: _lssm_lib_schema461.FieldType<string, string>;
184
+ isArray: true;
185
+ isOptional: true;
186
+ };
187
+ }>, _lssm_lib_schema461.SchemaModel<{
188
+ id: {
189
+ type: _lssm_lib_schema461.FieldType<string, string>;
190
+ isOptional: false;
191
+ };
192
+ name: {
193
+ type: _lssm_lib_schema461.FieldType<string, string>;
194
+ isOptional: false;
195
+ };
196
+ status: {
197
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string]>;
198
+ isOptional: false;
199
+ };
200
+ updatedAt: {
201
+ type: _lssm_lib_schema461.FieldType<Date, string>;
202
+ isOptional: false;
203
+ };
204
+ }>, {
205
+ name: string;
206
+ version: number;
207
+ when: string;
208
+ payload: _lssm_lib_schema461.SchemaModel<{
209
+ id: {
210
+ type: _lssm_lib_schema461.FieldType<string, string>;
211
+ isOptional: false;
212
+ };
213
+ name: {
214
+ type: _lssm_lib_schema461.FieldType<string, string>;
215
+ isOptional: false;
216
+ };
217
+ slug: {
218
+ type: _lssm_lib_schema461.FieldType<string, string>;
219
+ isOptional: false;
220
+ };
221
+ description: {
222
+ type: _lssm_lib_schema461.FieldType<string, string>;
223
+ isOptional: true;
224
+ };
225
+ status: {
226
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string]>;
227
+ isOptional: false;
228
+ };
229
+ modelProvider: {
230
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string, string]>;
231
+ isOptional: false;
232
+ };
233
+ modelName: {
234
+ type: _lssm_lib_schema461.FieldType<string, string>;
235
+ isOptional: false;
236
+ };
237
+ version: {
238
+ type: _lssm_lib_schema461.FieldType<string, string>;
239
+ isOptional: false;
240
+ };
241
+ createdAt: {
242
+ type: _lssm_lib_schema461.FieldType<Date, string>;
243
+ isOptional: false;
244
+ };
245
+ }>;
246
+ }[]>;
247
+ /**
248
+ * GetAgentQuery - Retrieves an agent by ID.
249
+ */
250
+ declare const GetAgentQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema461.SchemaModel<{
251
+ agentId: {
252
+ type: _lssm_lib_schema461.FieldType<string, string>;
253
+ isOptional: false;
254
+ };
255
+ includeTools: {
256
+ type: _lssm_lib_schema461.FieldType<boolean, boolean>;
257
+ isOptional: true;
258
+ };
259
+ }>, _lssm_lib_schema461.SchemaModel<{
260
+ id: {
261
+ type: _lssm_lib_schema461.FieldType<string, string>;
262
+ isOptional: false;
263
+ };
264
+ organizationId: {
265
+ type: _lssm_lib_schema461.FieldType<string, string>;
266
+ isOptional: false;
267
+ };
268
+ name: {
269
+ type: _lssm_lib_schema461.FieldType<string, string>;
270
+ isOptional: false;
271
+ };
272
+ slug: {
273
+ type: _lssm_lib_schema461.FieldType<string, string>;
274
+ isOptional: false;
275
+ };
276
+ description: {
277
+ type: _lssm_lib_schema461.FieldType<string, string>;
278
+ isOptional: true;
279
+ };
280
+ status: {
281
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string]>;
282
+ isOptional: false;
283
+ };
284
+ modelProvider: {
285
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string, string]>;
286
+ isOptional: false;
287
+ };
288
+ modelName: {
289
+ type: _lssm_lib_schema461.FieldType<string, string>;
290
+ isOptional: false;
291
+ };
292
+ modelConfig: {
293
+ type: _lssm_lib_schema461.FieldType<Record<string, unknown>, Record<string, unknown>>;
294
+ isOptional: true;
295
+ };
296
+ systemPrompt: {
297
+ type: _lssm_lib_schema461.FieldType<string, string>;
298
+ isOptional: false;
299
+ };
300
+ userPromptTemplate: {
301
+ type: _lssm_lib_schema461.FieldType<string, string>;
302
+ isOptional: true;
303
+ };
304
+ toolIds: {
305
+ type: _lssm_lib_schema461.FieldType<string, string>;
306
+ isArray: true;
307
+ isOptional: true;
308
+ };
309
+ toolChoice: {
310
+ type: _lssm_lib_schema461.EnumType<[string, string, string]>;
311
+ isOptional: false;
312
+ };
313
+ maxIterations: {
314
+ type: _lssm_lib_schema461.FieldType<number, number>;
315
+ isOptional: false;
316
+ };
317
+ maxTokensPerRun: {
318
+ type: _lssm_lib_schema461.FieldType<number, number>;
319
+ isOptional: true;
320
+ };
321
+ timeoutMs: {
322
+ type: _lssm_lib_schema461.FieldType<number, number>;
323
+ isOptional: false;
324
+ };
325
+ version: {
326
+ type: _lssm_lib_schema461.FieldType<string, string>;
327
+ isOptional: false;
328
+ };
329
+ tags: {
330
+ type: _lssm_lib_schema461.FieldType<string, string>;
331
+ isArray: true;
332
+ isOptional: true;
333
+ };
334
+ createdAt: {
335
+ type: _lssm_lib_schema461.FieldType<Date, string>;
336
+ isOptional: false;
337
+ };
338
+ updatedAt: {
339
+ type: _lssm_lib_schema461.FieldType<Date, string>;
340
+ isOptional: false;
341
+ };
342
+ tools: {
343
+ type: _lssm_lib_schema461.SchemaModel<{
344
+ id: {
345
+ type: _lssm_lib_schema461.FieldType<string, string>;
346
+ isOptional: false;
347
+ };
348
+ name: {
349
+ type: _lssm_lib_schema461.FieldType<string, string>;
350
+ isOptional: false;
351
+ };
352
+ slug: {
353
+ type: _lssm_lib_schema461.FieldType<string, string>;
354
+ isOptional: false;
355
+ };
356
+ description: {
357
+ type: _lssm_lib_schema461.FieldType<string, string>;
358
+ isOptional: false;
359
+ };
360
+ category: {
361
+ type: _lssm_lib_schema461.FieldType<string, string>;
362
+ isOptional: false;
363
+ };
364
+ }>;
365
+ isArray: true;
366
+ isOptional: true;
367
+ };
368
+ }>, undefined>;
369
+ /**
370
+ * ListAgentsQuery - Lists agents for an organization.
371
+ */
372
+ declare const ListAgentsQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema461.SchemaModel<{
373
+ organizationId: {
374
+ type: _lssm_lib_schema461.FieldType<string, string>;
375
+ isOptional: false;
376
+ };
377
+ status: {
378
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string]>;
379
+ isOptional: true;
380
+ };
381
+ modelProvider: {
382
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string, string]>;
383
+ isOptional: true;
384
+ };
385
+ search: {
386
+ type: _lssm_lib_schema461.FieldType<string, string>;
387
+ isOptional: true;
388
+ };
389
+ limit: {
390
+ type: _lssm_lib_schema461.FieldType<number, number>;
391
+ isOptional: true;
392
+ defaultValue: number;
393
+ };
394
+ offset: {
395
+ type: _lssm_lib_schema461.FieldType<number, number>;
396
+ isOptional: true;
397
+ defaultValue: number;
398
+ };
399
+ }>, _lssm_lib_schema461.SchemaModel<{
400
+ items: {
401
+ type: _lssm_lib_schema461.SchemaModel<{
402
+ id: {
403
+ type: _lssm_lib_schema461.FieldType<string, string>;
404
+ isOptional: false;
405
+ };
406
+ name: {
407
+ type: _lssm_lib_schema461.FieldType<string, string>;
408
+ isOptional: false;
409
+ };
410
+ slug: {
411
+ type: _lssm_lib_schema461.FieldType<string, string>;
412
+ isOptional: false;
413
+ };
414
+ description: {
415
+ type: _lssm_lib_schema461.FieldType<string, string>;
416
+ isOptional: true;
417
+ };
418
+ status: {
419
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string]>;
420
+ isOptional: false;
421
+ };
422
+ modelProvider: {
423
+ type: _lssm_lib_schema461.EnumType<[string, string, string, string, string]>;
424
+ isOptional: false;
425
+ };
426
+ modelName: {
427
+ type: _lssm_lib_schema461.FieldType<string, string>;
428
+ isOptional: false;
429
+ };
430
+ version: {
431
+ type: _lssm_lib_schema461.FieldType<string, string>;
432
+ isOptional: false;
433
+ };
434
+ createdAt: {
435
+ type: _lssm_lib_schema461.FieldType<Date, string>;
436
+ isOptional: false;
437
+ };
438
+ }>;
439
+ isArray: true;
440
+ isOptional: false;
441
+ };
442
+ total: {
443
+ type: _lssm_lib_schema461.FieldType<number, number>;
444
+ isOptional: false;
445
+ };
446
+ hasMore: {
447
+ type: _lssm_lib_schema461.FieldType<boolean, boolean>;
448
+ isOptional: false;
449
+ };
450
+ }>, undefined>;
451
+ /**
452
+ * AssignToolToAgentCommand - Assigns a tool to an agent.
453
+ */
454
+ declare const AssignToolToAgentCommand: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema461.SchemaModel<{
455
+ agentId: {
456
+ type: _lssm_lib_schema461.FieldType<string, string>;
457
+ isOptional: false;
458
+ };
459
+ toolId: {
460
+ type: _lssm_lib_schema461.FieldType<string, string>;
461
+ isOptional: false;
462
+ };
463
+ config: {
464
+ type: _lssm_lib_schema461.FieldType<Record<string, unknown>, Record<string, unknown>>;
465
+ isOptional: true;
466
+ };
467
+ order: {
468
+ type: _lssm_lib_schema461.FieldType<number, number>;
469
+ isOptional: true;
470
+ };
471
+ }>, _lssm_lib_schema461.SchemaModel<{
472
+ agentToolId: {
473
+ type: _lssm_lib_schema461.FieldType<string, string>;
474
+ isOptional: false;
475
+ };
476
+ agentId: {
477
+ type: _lssm_lib_schema461.FieldType<string, string>;
478
+ isOptional: false;
479
+ };
480
+ toolId: {
481
+ type: _lssm_lib_schema461.FieldType<string, string>;
482
+ isOptional: false;
483
+ };
484
+ }>, undefined>;
485
+ /**
486
+ * RemoveToolFromAgentCommand - Removes a tool from an agent.
487
+ */
488
+ declare const RemoveToolFromAgentCommand: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema461.SchemaModel<{
489
+ agentId: {
490
+ type: _lssm_lib_schema461.FieldType<string, string>;
491
+ isOptional: false;
492
+ };
493
+ toolId: {
494
+ type: _lssm_lib_schema461.FieldType<string, string>;
495
+ isOptional: false;
496
+ };
497
+ }>, _lssm_lib_schema461.SchemaModel<{
498
+ success: {
499
+ type: _lssm_lib_schema461.FieldType<boolean, boolean>;
500
+ isOptional: false;
501
+ };
502
+ }>, undefined>;
503
+ //#endregion
504
+ export { AssignToolToAgentCommand, CreateAgentCommand, GetAgentQuery, ListAgentsQuery, RemoveToolFromAgentCommand, UpdateAgentCommand };
505
+ //# sourceMappingURL=agent.operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.operation.d.ts","names":[],"sources":["../../src/agent/agent.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAgBa,0CAAkB,kCAAA;EAAlB,cAAA,EAAA;IA6CX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;qBA7C6B;EAAA,CAAA;;;;;;;;;;;;;;;;;;IAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAkDlB,OAAA,EAAA,IAAA;IA2CX,UAAA,EAAA,IAAA;;;;;;;;;;;;;;;uCA3C6B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;;;UAlDA,mBAAA,CAAA;;;;;;;;uCAkDA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAgDlB,CAAA;EA8BX,MAAA,EAAA;;qBA9BwB;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;MAmCb,UA4CX,EAAA,IAAA;IAAA,CAAA;;;;;;;CA5C0B,EAAA,CAAA;;;;cAnFf,0CAAkB,kCAAA;;UA2C7B,mBAAA,CAAA;;;;;;;;uCAwC0B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;EAiDf,CAAA;EA2CX,MAAA,EAAA;;;;;;oBA3CmC;EAAA,CAAA;;;;;EAAA,kBAAA,EAAA;IAgDxB,IAAA,+BA4BX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;IA5BqC,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;oBAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;UApLR,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDlB,qCAAa,kCAAA;;UA8BxB,mBAAA,CAAA;;;;;;;;;UA9BwB,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCb,uCAAe,kCAAA;;UA4C1B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA5C0B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiDf,gDAAwB,kCAAA;;UA2CnC,mBAAA,CAAA;;;;;;;;;;;;;;;;;UA3CmC,mBAAA,CAAA;;;;;;;;;;;;;;;cAgDxB,kDAA0B,kCAAA;;UA4BrC,mBAAA,CAAA;;;;;;;;;UA5BqC,mBAAA,CAAA"}
@@ -1,10 +1,10 @@
1
1
  import { E5, K5 } from "../libs/schema/dist/index.js";
2
2
  import { AgentStatusEnum, ModelProviderEnum } from "./agent.enum.js";
3
3
  import { AgentSummaryModel, AgentWithToolsModel, CreateAgentInputModel, UpdateAgentInputModel } from "./agent.schema.js";
4
- import { defineCommand, defineQuery } from "../libs/contracts/dist/spec.js";
4
+ import { defineCommand, defineQuery } from "../libs/contracts/dist/operation.js";
5
5
  import { AgentCreatedEvent } from "./agent.event.js";
6
6
 
7
- //#region src/agent/agent.contracts.ts
7
+ //#region src/agent/agent.operation.ts
8
8
  const OWNERS = ["@agent-console-team"];
9
9
  /**
10
10
  * CreateAgentCommand - Creates a new agent configuration.
@@ -332,4 +332,4 @@ const RemoveToolFromAgentCommand = defineCommand({
332
332
 
333
333
  //#endregion
334
334
  export { AssignToolToAgentCommand, CreateAgentCommand, GetAgentQuery, ListAgentsQuery, RemoveToolFromAgentCommand, UpdateAgentCommand };
335
- //# sourceMappingURL=agent.contracts.js.map
335
+ //# sourceMappingURL=agent.operation.js.map