@lssm/example.agent-console 0.0.0-canary-20251221164004 → 0.0.0-canary-20251221185840
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 +43 -38
- package/.turbo/turbo-build.log +39 -34
- package/CHANGELOG.md +6 -6
- package/dist/libs/contracts/dist/data-views/data-views.js +7 -1
- package/dist/libs/contracts/dist/data-views/data-views.js.map +1 -0
- package/dist/libs/contracts/dist/features.js +7 -1
- package/dist/libs/contracts/dist/features.js.map +1 -0
- package/dist/libs/contracts/dist/operations/registry.js +7 -1
- package/dist/libs/contracts/dist/operations/registry.js.map +1 -0
- package/dist/libs/contracts/dist/presentations/presentations.js +7 -1
- package/dist/libs/contracts/dist/presentations/presentations.js.map +1 -0
- package/dist/libs/contracts/dist/workflow/spec.js +7 -1
- package/dist/libs/contracts/dist/workflow/spec.js.map +1 -0
- package/dist/run/run.event.d.ts +71 -71
- package/dist/run/run.operation.d.ts +175 -175
- package/dist/tool/tool.entity.d.ts +24 -24
- package/dist/tool/tool.enum.d.ts +4 -4
- package/dist/tool/tool.handler.d.ts.map +1 -1
- package/package.json +8 -8
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -5,7 +5,7 @@ $ tsdown
|
|
|
5
5
|
[34mℹ[39m target: [34mesnext[39m
|
|
6
6
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
7
7
|
[34mℹ[39m Build start
|
|
8
|
-
[34mℹ[39m Cleaning
|
|
8
|
+
[34mℹ[39m Cleaning 352 files
|
|
9
9
|
[34mℹ[39m [2mdist/[22m[1mrun/run.operation.js[22m [2m 9.72 kB[22m [2m│ gzip: 1.93 kB[22m
|
|
10
10
|
[34mℹ[39m [2mdist/[22m[1mrun/run.event.js[22m [2m 7.69 kB[22m [2m│ gzip: 1.08 kB[22m
|
|
11
11
|
[34mℹ[39m [2mdist/[22m[1magent/agent.operation.js[22m [2m 7.52 kB[22m [2m│ gzip: 1.66 kB[22m
|
|
@@ -65,6 +65,7 @@ $ tsdown
|
|
|
65
65
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js [2m 10.02 kB[22m [2m│ gzip: 3.85 kB[22m
|
|
66
66
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/openbanking/contracts/accounts.js.map [2m 9.63 kB[22m [2m│ gzip: 2.17 kB[22m
|
|
67
67
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/llm/llm-integration.docblock.js [2m 9.61 kB[22m [2m│ gzip: 3.53 kB[22m
|
|
68
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/operations/registry.js.map [2m 8.86 kB[22m [2m│ gzip: 2.77 kB[22m
|
|
68
69
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/openbanking/contracts/transactions.js.map [2m 8.77 kB[22m [2m│ gzip: 2.01 kB[22m
|
|
69
70
|
[34mℹ[39m [2mdist/[22mrun/run.entity.js.map [2m 8.76 kB[22m [2m│ gzip: 2.13 kB[22m
|
|
70
71
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/operations.js [2m 8.38 kB[22m [2m│ gzip: 1.39 kB[22m
|
|
@@ -94,6 +95,7 @@ $ tsdown
|
|
|
94
95
|
[34mℹ[39m [2mdist/[22mtool/tool.event.js.map [2m 4.83 kB[22m [2m│ gzip: 0.93 kB[22m
|
|
95
96
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/registry-utils.js.map [2m 4.72 kB[22m [2m│ gzip: 1.50 kB[22m
|
|
96
97
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/vscode-extension.docblock.js.map [2m 4.64 kB[22m [2m│ gzip: 1.68 kB[22m
|
|
98
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/features.js.map [2m 4.62 kB[22m [2m│ gzip: 1.37 kB[22m
|
|
97
99
|
[34mℹ[39m [2mdist/[22mdocs/agent-console.docblock.js.map [2m 4.53 kB[22m [2m│ gzip: 1.64 kB[22m
|
|
98
100
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/capabilities/openbanking.js.map [2m 4.45 kB[22m [2m│ gzip: 1.14 kB[22m
|
|
99
101
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/openbanking/models.js [2m 4.43 kB[22m [2m│ gzip: 0.77 kB[22m
|
|
@@ -130,6 +132,7 @@ $ tsdown
|
|
|
130
132
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/mistral.js.map [2m 2.93 kB[22m [2m│ gzip: 1.17 kB[22m
|
|
131
133
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/project-routing.docblock.js [2m 2.80 kB[22m [2m│ gzip: 1.24 kB[22m
|
|
132
134
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/twilio-sms.js.map [2m 2.79 kB[22m [2m│ gzip: 1.14 kB[22m
|
|
135
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/presentations/presentations.js.map [2m 2.74 kB[22m [2m│ gzip: 1.06 kB[22m
|
|
133
136
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/capabilities/openbanking.js [2m 2.70 kB[22m [2m│ gzip: 0.79 kB[22m
|
|
134
137
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map [2m 2.68 kB[22m [2m│ gzip: 1.21 kB[22m
|
|
135
138
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/elevenlabs.js.map [2m 2.60 kB[22m [2m│ gzip: 1.10 kB[22m
|
|
@@ -154,6 +157,7 @@ $ tsdown
|
|
|
154
157
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js [2m 1.91 kB[22m [2m│ gzip: 0.90 kB[22m
|
|
155
158
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/qdrant.js [2m 1.86 kB[22m [2m│ gzip: 0.87 kB[22m
|
|
156
159
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/contract-registry/schemas.js [2m 1.84 kB[22m [2m│ gzip: 0.60 kB[22m
|
|
160
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/data-views/data-views.js.map [2m 1.83 kB[22m [2m│ gzip: 0.76 kB[22m
|
|
157
161
|
[34mℹ[39m [2mdist/[22mrun/run.operation.d.ts.map [2m 1.80 kB[22m [2m│ gzip: 0.52 kB[22m
|
|
158
162
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/google-calendar.js [2m 1.79 kB[22m [2m│ gzip: 0.80 kB[22m
|
|
159
163
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js [2m 1.78 kB[22m [2m│ gzip: 0.84 kB[22m
|
|
@@ -161,6 +165,7 @@ $ tsdown
|
|
|
161
165
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/spaces/financial-docs.js.map [2m 1.75 kB[22m [2m│ gzip: 0.83 kB[22m
|
|
162
166
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/spaces/support-faq.js.map [2m 1.75 kB[22m [2m│ gzip: 0.83 kB[22m
|
|
163
167
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/spaces/uploaded-docs.js.map [2m 1.74 kB[22m [2m│ gzip: 0.84 kB[22m
|
|
168
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/workflow/spec.js.map [2m 1.74 kB[22m [2m│ gzip: 0.74 kB[22m
|
|
164
169
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/spaces/product-canon.js.map [2m 1.74 kB[22m [2m│ gzip: 0.82 kB[22m
|
|
165
170
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/postmark.js [2m 1.74 kB[22m [2m│ gzip: 0.79 kB[22m
|
|
166
171
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/mistral.js [2m 1.66 kB[22m [2m│ gzip: 0.77 kB[22m
|
|
@@ -216,11 +221,16 @@ $ tsdown
|
|
|
216
221
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/index.js [2m 0.25 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
217
222
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/registry.js [2m 0.24 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
218
223
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/index.js [2m 0.24 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
224
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/presentations/presentations.js [2m 0.23 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
219
225
|
[34mℹ[39m [2mdist/[22magent/agent.presentation.d.ts.map [2m 0.22 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
226
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/operations/registry.js [2m 0.22 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
220
227
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/_virtual/rolldown_runtime.js [2m 0.21 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
221
228
|
[34mℹ[39m [2mdist/[22mtool/tool.presentation.d.ts.map [2m 0.20 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
229
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/data-views/data-views.js [2m 0.20 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
222
230
|
[34mℹ[39m [2mdist/[22mrun/run.presentation.d.ts.map [2m 0.20 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
223
231
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/graphql-pothos.js [2m 0.20 kB[22m [2m│ gzip: 0.11 kB[22m
|
|
232
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/workflow/spec.js [2m 0.18 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
233
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/features.js [2m 0.18 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
224
234
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/regenerator/service.js [2m 0.18 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
225
235
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/spaces/index.js [2m 0.18 kB[22m [2m│ gzip: 0.11 kB[22m
|
|
226
236
|
[34mℹ[39m [2mdist/[22magent.feature.d.ts.map [2m 0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
@@ -240,23 +250,17 @@ $ tsdown
|
|
|
240
250
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/client/react/index.js [2m 0.07 kB[22m [2m│ gzip: 0.07 kB[22m
|
|
241
251
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/mcp/registerResources.js [2m 0.07 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
242
252
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/presentations/index.js [2m 0.06 kB[22m [2m│ gzip: 0.07 kB[22m
|
|
243
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/operations/registry.js [2m 0.05 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
244
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/presentations/presentations.js [2m 0.05 kB[22m [2m│ gzip: 0.07 kB[22m
|
|
245
253
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/install.js [2m 0.05 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
246
254
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/llm/index.js [2m 0.05 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
247
255
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/tests/runner.js [2m 0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
248
256
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/workflow/index.js [2m 0.04 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
249
257
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/provider-mcp.js [2m 0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
250
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/data-views/data-views.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
251
258
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/forms/forms.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
252
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/workflow/spec.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
253
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/features.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
254
259
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/mcp/registerTools.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
255
260
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/rest-elysia.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
256
261
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/rest-express.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
257
262
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/rest-next-app.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
258
263
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/rest-next-pages.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
259
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:assert' in ../../libs/contracts/dist/tests/runner.js
|
|
260
264
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/capabilities/index.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
261
265
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/rest-generic.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
262
266
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/openapi.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
@@ -268,41 +272,27 @@ $ tsdown
|
|
|
268
272
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/workflow/runner.js [2m 0.02 kB[22m [2m│ gzip: 0.04 kB[22m
|
|
269
273
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/jsonschema.js [2m 0.02 kB[22m [2m│ gzip: 0.04 kB[22m
|
|
270
274
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/mcp/registerPrompts.js [2m 0.02 kB[22m [2m│ gzip: 0.04 kB[22m
|
|
271
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/tests/runner.js:2:33 [38;5;246m][0m
|
|
272
275
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/telemetry/tracker.js [2m 0.02 kB[22m [2m│ gzip: 0.04 kB[22m
|
|
273
276
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/prompt.js [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
274
|
-
[38;5;246m│[0m
|
|
275
277
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/promptRegistry.js [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
276
278
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/resources.js [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
277
|
-
[38;5;246m2 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249md[0m[38;5;249me[0m[38;5;249me[0m[38;5;249mp[0m[38;5;249mS[0m[38;5;249mt[0m[38;5;249mr[0m[38;5;249mi[0m[38;5;249mc[0m[38;5;249mt[0m[38;5;249mE[0m[38;5;249mq[0m[38;5;249mu[0m[38;5;249ma[0m[38;5;249ml[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"node:assert"[38;5;249m;[0m
|
|
278
279
|
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.operation.d.ts[22m[39m [2m 19.78 kB[22m [2m│ gzip: 1.51 kB[22m
|
|
279
|
-
[38;5;240m │[0m ──────┬──────
|
|
280
280
|
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.operation.d.ts[22m[39m [2m 13.70 kB[22m [2m│ gzip: 1.19 kB[22m
|
|
281
|
-
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
282
|
-
[38;5;240m │[0m
|
|
283
281
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.operation.d.ts[22m[39m [2m 11.32 kB[22m [2m│ gzip: 1.03 kB[22m
|
|
284
282
|
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.schema.d.ts[22m[39m [2m 11.07 kB[22m [2m│ gzip: 1.05 kB[22m
|
|
285
283
|
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.schema.d.ts[22m[39m [2m 10.37 kB[22m [2m│ gzip: 0.82 kB[22m
|
|
286
284
|
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.event.d.ts[22m[39m [2m 7.80 kB[22m [2m│ gzip: 0.78 kB[22m
|
|
287
|
-
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
288
|
-
[38;5;246m───╯[0m
|
|
289
285
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.handler.d.ts[22m[39m [2m 6.76 kB[22m [2m│ gzip: 1.09 kB[22m
|
|
290
286
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.schema.d.ts[22m[39m [2m 5.85 kB[22m [2m│ gzip: 0.63 kB[22m
|
|
291
287
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m 5.19 kB[22m [2m│ gzip: 1.09 kB[22m
|
|
292
288
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/mock-tools.d.ts[22m[39m [2m 4.89 kB[22m [2m│ gzip: 0.70 kB[22m
|
|
293
|
-
|
|
294
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:crypto' in ../../libs/contracts/dist/experiments/evaluator.js
|
|
295
289
|
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.handler.d.ts[22m[39m [2m 4.51 kB[22m [2m│ gzip: 0.89 kB[22m
|
|
296
290
|
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.event.d.ts[22m[39m [2m 3.43 kB[22m [2m│ gzip: 0.50 kB[22m
|
|
297
291
|
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.entity.d.ts[22m[39m [2m 3.43 kB[22m [2m│ gzip: 0.60 kB[22m
|
|
298
292
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.event.d.ts[22m[39m [2m 2.77 kB[22m [2m│ gzip: 0.46 kB[22m
|
|
299
293
|
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.handler.d.ts[22m[39m [2m 2.67 kB[22m [2m│ gzip: 0.76 kB[22m
|
|
300
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/experiments/evaluator.js:1:28 [38;5;246m][0m
|
|
301
|
-
[38;5;246m│[0m
|
|
302
|
-
[38;5;246m1 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mc[0m[38;5;249mr[0m[38;5;249me[0m[38;5;249ma[0m[38;5;249mt[0m[38;5;249me[0m[38;5;249mH[0m[38;5;249ma[0m[38;5;249ms[0m[38;5;249mh[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"node:crypto"[38;5;249m;[0m
|
|
303
294
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/mock-runs.d.ts[22m[39m [2m 2.41 kB[22m [2m│ gzip: 0.50 kB[22m
|
|
304
295
|
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.entity.d.ts[22m[39m [2m 2.29 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
305
|
-
[38;5;240m │[0m ──────┬──────
|
|
306
296
|
[34mℹ[39m [2mdist/[22m[32m[1magent/index.d.ts[22m[39m [2m 1.75 kB[22m [2m│ gzip: 0.44 kB[22m
|
|
307
297
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/mock-agents.d.ts[22m[39m [2m 1.73 kB[22m [2m│ gzip: 0.41 kB[22m
|
|
308
298
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.entity.d.ts[22m[39m [2m 1.73 kB[22m [2m│ gzip: 0.45 kB[22m
|
|
@@ -312,10 +302,7 @@ $ tsdown
|
|
|
312
302
|
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.enum.d.ts[22m[39m [2m 0.73 kB[22m [2m│ gzip: 0.27 kB[22m
|
|
313
303
|
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.presentation.d.ts[22m[39m [2m 0.67 kB[22m [2m│ gzip: 0.28 kB[22m
|
|
314
304
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/index.d.ts[22m[39m [2m 0.63 kB[22m [2m│ gzip: 0.20 kB[22m
|
|
315
|
-
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
316
305
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.enum.d.ts[22m[39m [2m 0.61 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
317
|
-
[38;5;240m │[0m
|
|
318
|
-
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
319
306
|
[34mℹ[39m [2mdist/[22m[32m[1mpresentations/index.d.ts[22m[39m [2m 0.60 kB[22m [2m│ gzip: 0.18 kB[22m
|
|
320
307
|
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.enum.d.ts[22m[39m [2m 0.59 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
321
308
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.presentation.d.ts[22m[39m [2m 0.45 kB[22m [2m│ gzip: 0.23 kB[22m
|
|
@@ -324,9 +311,7 @@ $ tsdown
|
|
|
324
311
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/index.d.ts[22m[39m [2m 0.18 kB[22m [2m│ gzip: 0.10 kB[22m
|
|
325
312
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/agent-console.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
326
313
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
327
|
-
[34mℹ[39m
|
|
328
|
-
[38;5;246m───╯[0m
|
|
329
|
-
|
|
314
|
+
[34mℹ[39m 305 files, total: 1678.90 kB
|
|
330
315
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:timers/promises' in ../../libs/contracts/dist/regenerator/service.js
|
|
331
316
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/regenerator/service.js:2:28 [38;5;246m][0m
|
|
332
317
|
[38;5;246m│[0m
|
|
@@ -337,16 +322,6 @@ $ tsdown
|
|
|
337
322
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
338
323
|
[38;5;246m───╯[0m
|
|
339
324
|
|
|
340
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:crypto' in ../../libs/contracts/dist/workflow/runner.js
|
|
341
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/workflow/runner.js:2:28 [38;5;246m][0m
|
|
342
|
-
[38;5;246m│[0m
|
|
343
|
-
[38;5;246m2 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mr[0m[38;5;249ma[0m[38;5;249mn[0m[38;5;249md[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249mU[0m[38;5;249mU[0m[38;5;249mI[0m[38;5;249mD[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"node:crypto"[38;5;249m;[0m
|
|
344
|
-
[38;5;240m │[0m ──────┬──────
|
|
345
|
-
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
346
|
-
[38;5;240m │[0m
|
|
347
|
-
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
348
|
-
[38;5;246m───╯[0m
|
|
349
|
-
|
|
350
325
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'turndown' in ../../libs/contracts/dist/presentations/transform-engine.js
|
|
351
326
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/presentations/transform-engine.js:3:29 [38;5;246m][0m
|
|
352
327
|
[38;5;246m│[0m
|
|
@@ -367,6 +342,36 @@ $ tsdown
|
|
|
367
342
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
368
343
|
[38;5;246m───╯[0m
|
|
369
344
|
|
|
345
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:crypto' in ../../libs/contracts/dist/experiments/evaluator.js
|
|
346
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/experiments/evaluator.js:1:28 [38;5;246m][0m
|
|
347
|
+
[38;5;246m│[0m
|
|
348
|
+
[38;5;246m1 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mc[0m[38;5;249mr[0m[38;5;249me[0m[38;5;249ma[0m[38;5;249mt[0m[38;5;249me[0m[38;5;249mH[0m[38;5;249ma[0m[38;5;249ms[0m[38;5;249mh[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"node:crypto"[38;5;249m;[0m
|
|
349
|
+
[38;5;240m │[0m ──────┬──────
|
|
350
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
351
|
+
[38;5;240m │[0m
|
|
352
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
353
|
+
[38;5;246m───╯[0m
|
|
354
|
+
|
|
355
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:assert' in ../../libs/contracts/dist/tests/runner.js
|
|
356
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/tests/runner.js:2:33 [38;5;246m][0m
|
|
357
|
+
[38;5;246m│[0m
|
|
358
|
+
[38;5;246m2 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249md[0m[38;5;249me[0m[38;5;249me[0m[38;5;249mp[0m[38;5;249mS[0m[38;5;249mt[0m[38;5;249mr[0m[38;5;249mi[0m[38;5;249mc[0m[38;5;249mt[0m[38;5;249mE[0m[38;5;249mq[0m[38;5;249mu[0m[38;5;249ma[0m[38;5;249ml[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"node:assert"[38;5;249m;[0m
|
|
359
|
+
[38;5;240m │[0m ──────┬──────
|
|
360
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
361
|
+
[38;5;240m │[0m
|
|
362
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
363
|
+
[38;5;246m───╯[0m
|
|
364
|
+
|
|
365
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:crypto' in ../../libs/contracts/dist/workflow/runner.js
|
|
366
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/workflow/runner.js:2:28 [38;5;246m][0m
|
|
367
|
+
[38;5;246m│[0m
|
|
368
|
+
[38;5;246m2 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mr[0m[38;5;249ma[0m[38;5;249mn[0m[38;5;249md[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249mU[0m[38;5;249mU[0m[38;5;249mI[0m[38;5;249mD[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"node:crypto"[38;5;249m;[0m
|
|
369
|
+
[38;5;240m │[0m ──────┬──────
|
|
370
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
371
|
+
[38;5;240m │[0m
|
|
372
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
373
|
+
[38;5;246m───╯[0m
|
|
374
|
+
|
|
370
375
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:buffer' in ../../libs/contracts/dist/server/mcp/registerResources.js
|
|
371
376
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/server/mcp/registerResources.js:2:24 [38;5;246m][0m
|
|
372
377
|
[38;5;246m│[0m
|
|
@@ -377,4 +382,4 @@ $ tsdown
|
|
|
377
382
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
378
383
|
[38;5;246m───╯[0m
|
|
379
384
|
|
|
380
|
-
[32m✔[39m Build complete in [
|
|
385
|
+
[32m✔[39m Build complete in [32m27263ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -65,6 +65,7 @@ $ tsdown
|
|
|
65
65
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js [2m 10.02 kB[22m [2m│ gzip: 3.85 kB[22m
|
|
66
66
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/openbanking/contracts/accounts.js.map [2m 9.63 kB[22m [2m│ gzip: 2.17 kB[22m
|
|
67
67
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/llm/llm-integration.docblock.js [2m 9.61 kB[22m [2m│ gzip: 3.53 kB[22m
|
|
68
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/operations/registry.js.map [2m 8.86 kB[22m [2m│ gzip: 2.77 kB[22m
|
|
68
69
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/openbanking/contracts/transactions.js.map [2m 8.77 kB[22m [2m│ gzip: 2.01 kB[22m
|
|
69
70
|
[34mℹ[39m [2mdist/[22mrun/run.entity.js.map [2m 8.76 kB[22m [2m│ gzip: 2.13 kB[22m
|
|
70
71
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/operations.js [2m 8.38 kB[22m [2m│ gzip: 1.39 kB[22m
|
|
@@ -94,6 +95,7 @@ $ tsdown
|
|
|
94
95
|
[34mℹ[39m [2mdist/[22mtool/tool.event.js.map [2m 4.83 kB[22m [2m│ gzip: 0.93 kB[22m
|
|
95
96
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/registry-utils.js.map [2m 4.72 kB[22m [2m│ gzip: 1.50 kB[22m
|
|
96
97
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/vscode-extension.docblock.js.map [2m 4.64 kB[22m [2m│ gzip: 1.68 kB[22m
|
|
98
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/features.js.map [2m 4.62 kB[22m [2m│ gzip: 1.37 kB[22m
|
|
97
99
|
[34mℹ[39m [2mdist/[22mdocs/agent-console.docblock.js.map [2m 4.53 kB[22m [2m│ gzip: 1.64 kB[22m
|
|
98
100
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/capabilities/openbanking.js.map [2m 4.45 kB[22m [2m│ gzip: 1.14 kB[22m
|
|
99
101
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/openbanking/models.js [2m 4.43 kB[22m [2m│ gzip: 0.77 kB[22m
|
|
@@ -130,6 +132,7 @@ $ tsdown
|
|
|
130
132
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/mistral.js.map [2m 2.93 kB[22m [2m│ gzip: 1.17 kB[22m
|
|
131
133
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/project-routing.docblock.js [2m 2.80 kB[22m [2m│ gzip: 1.24 kB[22m
|
|
132
134
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/twilio-sms.js.map [2m 2.79 kB[22m [2m│ gzip: 1.14 kB[22m
|
|
135
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/presentations/presentations.js.map [2m 2.74 kB[22m [2m│ gzip: 1.06 kB[22m
|
|
133
136
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/capabilities/openbanking.js [2m 2.70 kB[22m [2m│ gzip: 0.79 kB[22m
|
|
134
137
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map [2m 2.68 kB[22m [2m│ gzip: 1.21 kB[22m
|
|
135
138
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/elevenlabs.js.map [2m 2.60 kB[22m [2m│ gzip: 1.10 kB[22m
|
|
@@ -154,6 +157,7 @@ $ tsdown
|
|
|
154
157
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js [2m 1.91 kB[22m [2m│ gzip: 0.90 kB[22m
|
|
155
158
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/qdrant.js [2m 1.86 kB[22m [2m│ gzip: 0.87 kB[22m
|
|
156
159
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/contract-registry/schemas.js [2m 1.84 kB[22m [2m│ gzip: 0.60 kB[22m
|
|
160
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/data-views/data-views.js.map [2m 1.83 kB[22m [2m│ gzip: 0.76 kB[22m
|
|
157
161
|
[34mℹ[39m [2mdist/[22mrun/run.operation.d.ts.map [2m 1.80 kB[22m [2m│ gzip: 0.52 kB[22m
|
|
158
162
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/google-calendar.js [2m 1.79 kB[22m [2m│ gzip: 0.80 kB[22m
|
|
159
163
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js [2m 1.78 kB[22m [2m│ gzip: 0.84 kB[22m
|
|
@@ -161,6 +165,7 @@ $ tsdown
|
|
|
161
165
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/spaces/financial-docs.js.map [2m 1.75 kB[22m [2m│ gzip: 0.83 kB[22m
|
|
162
166
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/spaces/support-faq.js.map [2m 1.75 kB[22m [2m│ gzip: 0.83 kB[22m
|
|
163
167
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/spaces/uploaded-docs.js.map [2m 1.74 kB[22m [2m│ gzip: 0.84 kB[22m
|
|
168
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/workflow/spec.js.map [2m 1.74 kB[22m [2m│ gzip: 0.74 kB[22m
|
|
164
169
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/spaces/product-canon.js.map [2m 1.74 kB[22m [2m│ gzip: 0.82 kB[22m
|
|
165
170
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/postmark.js [2m 1.74 kB[22m [2m│ gzip: 0.79 kB[22m
|
|
166
171
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/mistral.js [2m 1.66 kB[22m [2m│ gzip: 0.77 kB[22m
|
|
@@ -194,7 +199,7 @@ $ tsdown
|
|
|
194
199
|
[34mℹ[39m [2mdist/[22mtool/tool.handler.d.ts.map [2m 0.89 kB[22m [2m│ gzip: 0.35 kB[22m
|
|
195
200
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/registry-utils.js [2m 0.86 kB[22m [2m│ gzip: 0.44 kB[22m
|
|
196
201
|
[34mℹ[39m [2mdist/[22magent/agent.enum.js.map [2m 0.84 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
197
|
-
[34mℹ[39m [2mdist/[22magent/agent.event.d.ts.map [2m 0.
|
|
202
|
+
[34mℹ[39m [2mdist/[22magent/agent.event.d.ts.map [2m 0.78 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
198
203
|
[34mℹ[39m [2mdist/[22mrun/run.handler.d.ts.map [2m 0.78 kB[22m [2m│ gzip: 0.34 kB[22m
|
|
199
204
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/index.js [2m 0.78 kB[22m [2m│ gzip: 0.27 kB[22m
|
|
200
205
|
[34mℹ[39m [2mdist/[22mtool/tool.schema.d.ts.map [2m 0.76 kB[22m [2m│ gzip: 0.30 kB[22m
|
|
@@ -216,11 +221,16 @@ $ tsdown
|
|
|
216
221
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/index.js [2m 0.25 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
217
222
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/integrations/providers/registry.js [2m 0.24 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
218
223
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/index.js [2m 0.24 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
224
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/presentations/presentations.js [2m 0.23 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
219
225
|
[34mℹ[39m [2mdist/[22magent/agent.presentation.d.ts.map [2m 0.22 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
226
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/operations/registry.js [2m 0.22 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
220
227
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/_virtual/rolldown_runtime.js [2m 0.21 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
221
228
|
[34mℹ[39m [2mdist/[22mtool/tool.presentation.d.ts.map [2m 0.20 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
229
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/data-views/data-views.js [2m 0.20 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
222
230
|
[34mℹ[39m [2mdist/[22mrun/run.presentation.d.ts.map [2m 0.20 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
223
231
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/graphql-pothos.js [2m 0.20 kB[22m [2m│ gzip: 0.11 kB[22m
|
|
232
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/workflow/spec.js [2m 0.18 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
233
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/features.js [2m 0.18 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
224
234
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/regenerator/service.js [2m 0.18 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
225
235
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/knowledge/spaces/index.js [2m 0.18 kB[22m [2m│ gzip: 0.11 kB[22m
|
|
226
236
|
[34mℹ[39m [2mdist/[22magent.feature.d.ts.map [2m 0.14 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
@@ -240,17 +250,12 @@ $ tsdown
|
|
|
240
250
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/client/react/index.js [2m 0.07 kB[22m [2m│ gzip: 0.07 kB[22m
|
|
241
251
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/mcp/registerResources.js [2m 0.07 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
242
252
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/presentations/index.js [2m 0.06 kB[22m [2m│ gzip: 0.07 kB[22m
|
|
243
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/operations/registry.js [2m 0.05 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
244
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/presentations/presentations.js [2m 0.05 kB[22m [2m│ gzip: 0.07 kB[22m
|
|
245
253
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/install.js [2m 0.05 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
246
254
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/llm/index.js [2m 0.05 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
247
255
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/tests/runner.js [2m 0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
248
256
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/workflow/index.js [2m 0.04 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
249
257
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/provider-mcp.js [2m 0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
250
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/data-views/data-views.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
251
258
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/forms/forms.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
252
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/workflow/spec.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
253
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/features.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
254
259
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/mcp/registerTools.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
255
260
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/rest-elysia.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
256
261
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/server/rest-express.js [2m 0.03 kB[22m [2m│ gzip: 0.05 kB[22m
|
|
@@ -271,23 +276,23 @@ $ tsdown
|
|
|
271
276
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/prompt.js [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
272
277
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/promptRegistry.js [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
273
278
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/resources.js [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
274
|
-
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.operation.d.ts[22m[39m [2m 19.
|
|
275
|
-
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.operation.d.ts[22m[39m [2m 13.
|
|
279
|
+
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.operation.d.ts[22m[39m [2m 19.60 kB[22m [2m│ gzip: 1.50 kB[22m
|
|
280
|
+
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.operation.d.ts[22m[39m [2m 13.71 kB[22m [2m│ gzip: 1.19 kB[22m
|
|
276
281
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.operation.d.ts[22m[39m [2m 11.32 kB[22m [2m│ gzip: 1.03 kB[22m
|
|
277
282
|
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.schema.d.ts[22m[39m [2m 11.07 kB[22m [2m│ gzip: 1.05 kB[22m
|
|
278
283
|
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.schema.d.ts[22m[39m [2m 10.37 kB[22m [2m│ gzip: 0.82 kB[22m
|
|
279
|
-
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.event.d.ts[22m[39m [2m 7.
|
|
284
|
+
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.event.d.ts[22m[39m [2m 7.79 kB[22m [2m│ gzip: 0.78 kB[22m
|
|
280
285
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.handler.d.ts[22m[39m [2m 6.76 kB[22m [2m│ gzip: 1.09 kB[22m
|
|
281
286
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.schema.d.ts[22m[39m [2m 5.85 kB[22m [2m│ gzip: 0.63 kB[22m
|
|
282
287
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m 5.19 kB[22m [2m│ gzip: 1.09 kB[22m
|
|
283
288
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/mock-tools.d.ts[22m[39m [2m 4.89 kB[22m [2m│ gzip: 0.70 kB[22m
|
|
284
289
|
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.handler.d.ts[22m[39m [2m 4.51 kB[22m [2m│ gzip: 0.89 kB[22m
|
|
285
|
-
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.event.d.ts[22m[39m [2m 3.
|
|
286
|
-
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.entity.d.ts[22m[39m [2m 3.43 kB[22m [2m│ gzip: 0.
|
|
290
|
+
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.event.d.ts[22m[39m [2m 3.47 kB[22m [2m│ gzip: 0.51 kB[22m
|
|
291
|
+
[34mℹ[39m [2mdist/[22m[32m[1mrun/run.entity.d.ts[22m[39m [2m 3.43 kB[22m [2m│ gzip: 0.59 kB[22m
|
|
287
292
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.event.d.ts[22m[39m [2m 2.77 kB[22m [2m│ gzip: 0.46 kB[22m
|
|
288
293
|
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.handler.d.ts[22m[39m [2m 2.67 kB[22m [2m│ gzip: 0.76 kB[22m
|
|
289
294
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/mock-runs.d.ts[22m[39m [2m 2.41 kB[22m [2m│ gzip: 0.50 kB[22m
|
|
290
|
-
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.entity.d.ts[22m[39m [2m 2.
|
|
295
|
+
[34mℹ[39m [2mdist/[22m[32m[1magent/agent.entity.d.ts[22m[39m [2m 2.33 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
291
296
|
[34mℹ[39m [2mdist/[22m[32m[1magent/index.d.ts[22m[39m [2m 1.75 kB[22m [2m│ gzip: 0.44 kB[22m
|
|
292
297
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/mock-agents.d.ts[22m[39m [2m 1.73 kB[22m [2m│ gzip: 0.41 kB[22m
|
|
293
298
|
[34mℹ[39m [2mdist/[22m[32m[1mtool/tool.entity.d.ts[22m[39m [2m 1.73 kB[22m [2m│ gzip: 0.45 kB[22m
|
|
@@ -306,7 +311,7 @@ $ tsdown
|
|
|
306
311
|
[34mℹ[39m [2mdist/[22m[32m[1mshared/index.d.ts[22m[39m [2m 0.18 kB[22m [2m│ gzip: 0.10 kB[22m
|
|
307
312
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/agent-console.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
308
313
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
309
|
-
[34mℹ[39m
|
|
314
|
+
[34mℹ[39m 305 files, total: 1678.79 kB
|
|
310
315
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'turndown' in ../../libs/contracts/dist/presentations/transform-engine.js
|
|
311
316
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/presentations/transform-engine.js:3:29 [38;5;246m][0m
|
|
312
317
|
[38;5;246m│[0m
|
|
@@ -317,26 +322,6 @@ $ tsdown
|
|
|
317
322
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
318
323
|
[38;5;246m───╯[0m
|
|
319
324
|
|
|
320
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'crypto' in ../../libs/contracts/dist/telemetry/tracker.js
|
|
321
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/telemetry/tracker.js:1:28 [38;5;246m][0m
|
|
322
|
-
[38;5;246m│[0m
|
|
323
|
-
[38;5;246m1 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mr[0m[38;5;249ma[0m[38;5;249mn[0m[38;5;249md[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249mU[0m[38;5;249mU[0m[38;5;249mI[0m[38;5;249mD[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"crypto"[38;5;249m;[0m
|
|
324
|
-
[38;5;240m │[0m ────┬───
|
|
325
|
-
[38;5;240m │[0m ╰───── Module not found, treating it as an external dependency
|
|
326
|
-
[38;5;240m │[0m
|
|
327
|
-
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
328
|
-
[38;5;246m───╯[0m
|
|
329
|
-
|
|
330
|
-
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:assert' in ../../libs/contracts/dist/tests/runner.js
|
|
331
|
-
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/tests/runner.js:2:33 [38;5;246m][0m
|
|
332
|
-
[38;5;246m│[0m
|
|
333
|
-
[38;5;246m2 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249md[0m[38;5;249me[0m[38;5;249me[0m[38;5;249mp[0m[38;5;249mS[0m[38;5;249mt[0m[38;5;249mr[0m[38;5;249mi[0m[38;5;249mc[0m[38;5;249mt[0m[38;5;249mE[0m[38;5;249mq[0m[38;5;249mu[0m[38;5;249ma[0m[38;5;249ml[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"node:assert"[38;5;249m;[0m
|
|
334
|
-
[38;5;240m │[0m ──────┬──────
|
|
335
|
-
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
336
|
-
[38;5;240m │[0m
|
|
337
|
-
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
338
|
-
[38;5;246m───╯[0m
|
|
339
|
-
|
|
340
325
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:timers/promises' in ../../libs/contracts/dist/regenerator/service.js
|
|
341
326
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/regenerator/service.js:2:28 [38;5;246m][0m
|
|
342
327
|
[38;5;246m│[0m
|
|
@@ -347,6 +332,16 @@ $ tsdown
|
|
|
347
332
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
348
333
|
[38;5;246m───╯[0m
|
|
349
334
|
|
|
335
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'crypto' in ../../libs/contracts/dist/telemetry/tracker.js
|
|
336
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/telemetry/tracker.js:1:28 [38;5;246m][0m
|
|
337
|
+
[38;5;246m│[0m
|
|
338
|
+
[38;5;246m1 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249mr[0m[38;5;249ma[0m[38;5;249mn[0m[38;5;249md[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249mU[0m[38;5;249mU[0m[38;5;249mI[0m[38;5;249mD[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"crypto"[38;5;249m;[0m
|
|
339
|
+
[38;5;240m │[0m ────┬───
|
|
340
|
+
[38;5;240m │[0m ╰───── Module not found, treating it as an external dependency
|
|
341
|
+
[38;5;240m │[0m
|
|
342
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
343
|
+
[38;5;246m───╯[0m
|
|
344
|
+
|
|
350
345
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:crypto' in ../../libs/contracts/dist/experiments/evaluator.js
|
|
351
346
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/experiments/evaluator.js:1:28 [38;5;246m][0m
|
|
352
347
|
[38;5;246m│[0m
|
|
@@ -357,6 +352,16 @@ $ tsdown
|
|
|
357
352
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
358
353
|
[38;5;246m───╯[0m
|
|
359
354
|
|
|
355
|
+
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:assert' in ../../libs/contracts/dist/tests/runner.js
|
|
356
|
+
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/tests/runner.js:2:33 [38;5;246m][0m
|
|
357
|
+
[38;5;246m│[0m
|
|
358
|
+
[38;5;246m2 │[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0m[38;5;249md[0m[38;5;249me[0m[38;5;249me[0m[38;5;249mp[0m[38;5;249mS[0m[38;5;249mt[0m[38;5;249mr[0m[38;5;249mi[0m[38;5;249mc[0m[38;5;249mt[0m[38;5;249mE[0m[38;5;249mq[0m[38;5;249mu[0m[38;5;249ma[0m[38;5;249ml[0m[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m"node:assert"[38;5;249m;[0m
|
|
359
|
+
[38;5;240m │[0m ──────┬──────
|
|
360
|
+
[38;5;240m │[0m ╰──────── Module not found, treating it as an external dependency
|
|
361
|
+
[38;5;240m │[0m
|
|
362
|
+
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
363
|
+
[38;5;246m───╯[0m
|
|
364
|
+
|
|
360
365
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:crypto' in ../../libs/contracts/dist/workflow/runner.js
|
|
361
366
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/contracts/dist/workflow/runner.js:2:28 [38;5;246m][0m
|
|
362
367
|
[38;5;246m│[0m
|
|
@@ -377,5 +382,5 @@ $ tsdown
|
|
|
377
382
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
378
383
|
[38;5;246m───╯[0m
|
|
379
384
|
|
|
380
|
-
[32m✔[39m Build complete in [
|
|
385
|
+
[32m✔[39m Build complete in [32m29471ms[39m
|
|
381
386
|
$ tsc --noEmit
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lssm/example.agent-console
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251221185840
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
11
|
- Updated dependencies [66a5dfd]
|
|
12
|
-
- @lssm/lib.contracts@0.0.0-canary-
|
|
13
|
-
- @lssm/lib.identity-rbac@0.0.0-canary-
|
|
14
|
-
- @lssm/lib.jobs@0.0.0-canary-
|
|
15
|
-
- @lssm/lib.schema@0.0.0-canary-
|
|
16
|
-
- @lssm/module.audit-trail@0.0.0-canary-
|
|
12
|
+
- @lssm/lib.contracts@0.0.0-canary-20251221185840
|
|
13
|
+
- @lssm/lib.identity-rbac@0.0.0-canary-20251221185840
|
|
14
|
+
- @lssm/lib.jobs@0.0.0-canary-20251221185840
|
|
15
|
+
- @lssm/lib.schema@0.0.0-canary-20251221185840
|
|
16
|
+
- @lssm/module.audit-trail@0.0.0-canary-20251221185840
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-views.js","names":[],"sources":["../../../../../../../libs/contracts/dist/data-views/data-views.js"],"sourcesContent":["import { filterBy, getUniqueTags, groupBy, init_registry_utils } from \"../registry-utils.js\";\n\n//#region src/data-views/data-views.ts\ninit_registry_utils();\nfunction keyOf(spec) {\n\treturn `${spec.meta.name}.v${spec.meta.version}`;\n}\nvar DataViewRegistry = class {\n\titems = /* @__PURE__ */ new Map();\n\tregister(spec) {\n\t\tconst key = keyOf(spec);\n\t\tif (this.items.has(key)) throw new Error(`Duplicate data view ${key}`);\n\t\tthis.items.set(key, spec);\n\t\treturn this;\n\t}\n\tlist() {\n\t\treturn [...this.items.values()];\n\t}\n\tget(name, version) {\n\t\tif (version != null) return this.items.get(`${name}.v${version}`);\n\t\tlet candidate;\n\t\tlet max = -Infinity;\n\t\tfor (const spec of this.items.values()) {\n\t\t\tif (spec.meta.name !== name) continue;\n\t\t\tif (spec.meta.version > max) {\n\t\t\t\tmax = spec.meta.version;\n\t\t\t\tcandidate = spec;\n\t\t\t}\n\t\t}\n\t\treturn candidate;\n\t}\n\t/** Filter data views by criteria. */\n\tfilter(criteria) {\n\t\treturn filterBy(this.list(), criteria);\n\t}\n\t/** List data views with specific tag. */\n\tlistByTag(tag) {\n\t\treturn this.list().filter((d) => d.meta.tags?.includes(tag));\n\t}\n\t/** List data views by owner. */\n\tlistByOwner(owner) {\n\t\treturn this.list().filter((d) => d.meta.owners?.includes(owner));\n\t}\n\t/** Group data views by key function. */\n\tgroupBy(keyFn) {\n\t\treturn groupBy(this.list(), keyFn);\n\t}\n\t/** Get unique tags from all data views. */\n\tgetUniqueTags() {\n\t\treturn getUniqueTags(this.list());\n\t}\n};\nfunction dataViewKey(spec) {\n\treturn keyOf(spec);\n}\n\n//#endregion\nexport { DataViewRegistry, dataViewKey };"],"mappings":";;;AAGA,qBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"features.js","names":[],"sources":["../../../../../../libs/contracts/dist/features.js"],"sourcesContent":["import { filterBy, getUniqueTags, groupBy, init_registry_utils } from \"./registry-utils.js\";\n\n//#region src/features.ts\ninit_registry_utils();\nfunction keyOf(f) {\n\treturn f.meta.key;\n}\n/** In-memory registry for FeatureModuleSpec. */\nvar FeatureRegistry = class {\n\titems = /* @__PURE__ */ new Map();\n\t/** Register a feature module. Throws when the key already exists. */\n\tregister(f) {\n\t\tconst key = keyOf(f);\n\t\tif (this.items.has(key)) throw new Error(`Duplicate feature ${key}`);\n\t\tthis.items.set(key, f);\n\t\treturn this;\n\t}\n\t/** List all registered feature modules. */\n\tlist() {\n\t\treturn [...this.items.values()];\n\t}\n\t/** Get a feature by its key (slug). */\n\tget(key) {\n\t\treturn this.items.get(key);\n\t}\n\t/** Filter features by criteria. */\n\tfilter(criteria) {\n\t\treturn filterBy(this.list(), criteria);\n\t}\n\t/** List features with specific tag. */\n\tlistByTag(tag) {\n\t\treturn this.list().filter((f) => f.meta.tags?.includes(tag));\n\t}\n\t/** List features by owner. */\n\tlistByOwner(owner) {\n\t\treturn this.list().filter((f) => f.meta.owners?.includes(owner));\n\t}\n\t/** Group features by key function. */\n\tgroupBy(keyFn) {\n\t\treturn groupBy(this.list(), keyFn);\n\t}\n\t/** Get unique tags from all features. */\n\tgetUniqueTags() {\n\t\treturn getUniqueTags(this.list());\n\t}\n};\n/** Validate and register a feature against optional registries/descriptors. */\nfunction installFeature(feature, deps) {\n\tif (deps.ops && feature.operations) {\n\t\tfor (const o of feature.operations) if (!deps.ops.getSpec(o.name, o.version)) throw new Error(`installFeature: operation not found ${o.name}.v${o.version}`);\n\t}\n\tif (deps.presentations && feature.presentations) {\n\t\tfor (const p of feature.presentations) if (!deps.presentations.get(p.name, p.version)) throw new Error(`installFeature: presentation not found ${p.name}.v${p.version}`);\n\t}\n\tif (feature.presentationsTargets && deps.descriptorsV2) for (const req of feature.presentationsTargets) {\n\t\tconst d = deps.descriptorsV2.find((x) => x.meta.name === req.name && x.meta.version === req.version);\n\t\tif (!d) throw new Error(`installFeature: V2 descriptor not found ${req.name}.v${req.version}`);\n\t\tfor (const t of req.targets) if (!d.targets.includes(t)) throw new Error(`installFeature: descriptor ${req.name}.v${req.version} missing target ${t}`);\n\t}\n\tif (feature.opToPresentation && feature.opToPresentation.length > 0) for (const link of feature.opToPresentation) {\n\t\tif (deps.ops) {\n\t\t\tif (!deps.ops.getSpec(link.op.name, link.op.version)) throw new Error(`installFeature: linked op not found ${link.op.name}.v${link.op.version}`);\n\t\t}\n\t\tif (deps.presentations) {\n\t\t\tif (!deps.presentations.get(link.pres.name, link.pres.version)) throw new Error(`installFeature: linked presentation not found ${link.pres.name}.v${link.pres.version}`);\n\t\t}\n\t}\n\tif (deps.capabilities && feature.capabilities?.provides) {\n\t\tfor (const cap of feature.capabilities.provides) if (!deps.capabilities.get(cap.key, cap.version)) throw new Error(`installFeature: capability not registered ${cap.key}.v${cap.version}`);\n\t}\n\tif (feature.capabilities?.requires?.length) {\n\t\tif (!deps.capabilities) throw new Error(`installFeature: capability registry required to validate capability requirements for ${feature.meta.key}`);\n\t\tconst provided = feature.capabilities.provides ?? [];\n\t\tfor (const req of feature.capabilities.requires) if (!deps.capabilities.satisfies(req, provided)) throw new Error(`installFeature: capability requirement not satisfied ${req.key}${req.version ? `.v${req.version}` : \"\"}`);\n\t}\n\tdeps.features.register(feature);\n\treturn deps.features;\n}\n/** Ensure declared target requirements exist on the provided descriptors. */\nfunction validateFeatureTargetsV2(feature, descriptors) {\n\tif (!feature.presentationsTargets || feature.presentationsTargets.length === 0) return true;\n\tfor (const req of feature.presentationsTargets) {\n\t\tconst d = descriptors.find((x) => x.meta.name === req.name && x.meta.version === req.version);\n\t\tif (!d) throw new Error(`V2 descriptor not found ${req.name}.v${req.version}`);\n\t\tfor (const t of req.targets) if (!d.targets.includes(t)) throw new Error(`Descriptor ${req.name}.v${req.version} missing target ${t}`);\n\t}\n\treturn true;\n}\n\n//#endregion\nexport { FeatureRegistry, installFeature, validateFeatureTargetsV2 };"],"mappings":";;;AAGA,qBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.js","names":[],"sources":["../../../../../../../libs/contracts/dist/operations/registry.js"],"sourcesContent":["import { eventKey } from \"../events.js\";\nimport { GroupingStrategies, filterBy, getUniqueOwners, getUniqueTags, groupBy, init_registry_utils } from \"../registry-utils.js\";\nimport { isEmitDeclRef } from \"./operation.js\";\n\n//#region src/operations/registry.ts\ninit_registry_utils();\nfunction opKey(name, version) {\n\treturn `${name}.v${version}`;\n}\n/**\n* In-memory registry for ContractSpecs and their bound handlers.\n* Provides validation, policy enforcement, and guarded event emission at execute time.\n*/\nvar OperationSpecRegistry = class {\n\tspecs = /* @__PURE__ */ new Map();\n\thandlers = /* @__PURE__ */ new Map();\n\t/**\n\t* Registers a OperationSpec definition.\n\t*\n\t* @param spec - The contract specification to register.\n\t* @returns The registry instance for chaining.\n\t* @throws If a spec with the same name and version is already registered.\n\t*/\n\tregister(spec) {\n\t\tconst key = opKey(spec.meta.name, spec.meta.version);\n\t\tif (this.specs.has(key)) throw new Error(`Duplicate spec ${key}`);\n\t\tthis.specs.set(key, spec);\n\t\treturn this;\n\t}\n\t/**\n\t* Binds a runtime handler implementation to a previously registered spec.\n\t*\n\t* @param spec - The spec to bind to.\n\t* @param handler - The async function implementing the business logic.\n\t* @returns The registry instance for chaining.\n\t* @throws If the spec is not found or a handler is already bound.\n\t*/\n\tbind(spec, handler) {\n\t\tconst key = opKey(spec.meta.name, spec.meta.version);\n\t\tif (!this.specs.has(key)) throw new Error(`Cannot bind; spec not found: ${key}`);\n\t\tif (this.handlers.has(key)) throw new Error(`Handler already bound for ${key}`);\n\t\tthis.handlers.set(key, handler);\n\t\treturn this;\n\t}\n\t/**\n\t* Retrieves a registered spec by name and version.\n\t* If version is omitted, returns the highest version found.\n\t*\n\t* @param name - Operation name.\n\t* @param version - (Optional) Specific version.\n\t*/\n\tgetSpec(name, version) {\n\t\tif (version != null) return this.specs.get(opKey(name, version));\n\t\tlet found;\n\t\tlet maxV = -Infinity;\n\t\tfor (const [k, s] of this.specs.entries()) {\n\t\t\tif (!k.startsWith(`${name}.v`)) continue;\n\t\t\tif (s.meta.version > maxV) {\n\t\t\t\tmaxV = s.meta.version;\n\t\t\t\tfound = s;\n\t\t\t}\n\t\t}\n\t\treturn found;\n\t}\n\t/**\n\t* Retrieves the bound handler for a spec.\n\t*/\n\tgetHandler(name, version) {\n\t\tconst spec = this.getSpec(name, version);\n\t\tif (!spec) return void 0;\n\t\treturn this.handlers.get(opKey(spec.meta.name, spec.meta.version));\n\t}\n\t/** Iterate all registered specs. */\n\tlistSpecs() {\n\t\treturn [...this.specs.values()];\n\t}\n\t/** Iterate all bound operations (spec+handler). */\n\tlistBound() {\n\t\tconst out = [];\n\t\tfor (const [k, spec] of this.specs.entries()) {\n\t\t\tconst h = this.handlers.get(k);\n\t\t\tif (h) out.push({\n\t\t\t\tspec,\n\t\t\t\thandler: h\n\t\t\t});\n\t\t}\n\t\treturn out;\n\t}\n\t/**\n\t* Filter specs by criteria.\n\t*/\n\tfilter(criteria) {\n\t\treturn filterBy(this.listSpecs(), criteria);\n\t}\n\t/**\n\t* List specs with specific tag.\n\t*/\n\tlistByTag(tag) {\n\t\treturn this.listSpecs().filter((s) => s.meta.tags?.includes(tag));\n\t}\n\t/**\n\t* List specs by owner.\n\t*/\n\tlistByOwner(owner) {\n\t\treturn this.listSpecs().filter((s) => s.meta.owners?.includes(owner));\n\t}\n\t/**\n\t* Group specs by key function.\n\t*/\n\tgroupBy(keyFn) {\n\t\treturn groupBy(this.listSpecs(), keyFn);\n\t}\n\t/**\n\t* Group by domain (first segment of name).\n\t*/\n\tgroupByDomain() {\n\t\treturn this.groupBy(GroupingStrategies.byDomain);\n\t}\n\t/**\n\t* Group by tag.\n\t*/\n\tgroupByTag() {\n\t\treturn this.groupBy(GroupingStrategies.byTag);\n\t}\n\t/**\n\t* Get unique tags from all specs.\n\t*/\n\tgetUniqueTags() {\n\t\treturn getUniqueTags(this.listSpecs());\n\t}\n\t/**\n\t* Get unique owners from all specs.\n\t*/\n\tgetUniqueOwners() {\n\t\treturn getUniqueOwners(this.listSpecs());\n\t}\n\t/**\n\t* Execute an operation by name/version with full runtime protections:\n\t* 1. Validates input against Zod schema.\n\t* 2. Enforces policy (Auth, RBAC, Rate Limits) via PDP.\n\t* 3. Guards event emission to ensure only declared events are sent.\n\t* 4. Validates output against Zod schema (if applicable).\n\t* 5. Tracks telemetry (success/failure).\n\t*\n\t* @param name - Operation name.\n\t* @param version - Operation version (optional, defaults to latest).\n\t* @param rawInput - The raw input payload (e.g. from JSON body).\n\t* @param ctx - The runtime context (actor, tenant, etc.).\n\t*/\n\tasync execute(name, version, rawInput, ctx) {\n\t\tconst baseSpec = this.getSpec(name, version);\n\t\tif (!baseSpec) throw new Error(`Spec not found for ${name}${version ? `.v${version}` : \"\"}`);\n\t\tconst spec = await ctx.specVariantResolver?.resolve({\n\t\t\tname: baseSpec.meta.name,\n\t\t\tversion: baseSpec.meta.version,\n\t\t\tkind: baseSpec.meta.kind\n\t\t}, ctx) ?? baseSpec;\n\t\tlet key = opKey(spec.meta.name, spec.meta.version);\n\t\tlet handler = this.handlers.get(key);\n\t\tif (!handler) {\n\t\t\tconst fallbackKey = opKey(baseSpec.meta.name, baseSpec.meta.version);\n\t\t\thandler = this.handlers.get(fallbackKey);\n\t\t\tkey = fallbackKey;\n\t\t}\n\t\tif (!handler) throw new Error(`No handler bound for ${key}`);\n\t\tconst parsedInput = spec.io.input?.getZod().parse(rawInput);\n\t\tif (ctx.decide) {\n\t\t\tconst [service, command] = spec.meta.name.split(\".\");\n\t\t\tif (!service || !command) throw new Error(`Invalid spec name: ${spec.meta.name}`);\n\t\t\tconst decision = await ctx.decide({\n\t\t\t\tservice,\n\t\t\t\tcommand,\n\t\t\t\tversion: spec.meta.version,\n\t\t\t\tactor: ctx.actor ?? \"anonymous\",\n\t\t\t\tchannel: ctx.channel,\n\t\t\t\troles: ctx.roles,\n\t\t\t\torganizationId: ctx.organizationId,\n\t\t\t\tuserId: ctx.userId,\n\t\t\t\tflags: []\n\t\t\t});\n\t\t\tif (decision.effect === \"deny\") throw new Error(`PolicyDenied: ${spec.meta.name}.v${spec.meta.version}`);\n\t\t\tif (decision.rateLimit && ctx.rateLimit) {\n\t\t\t\tconst key$1 = decision.rateLimit.key ?? \"default\";\n\t\t\t\tconst rpm = decision.rateLimit.rpm ?? 60;\n\t\t\t\tawait ctx.rateLimit(key$1, 1, rpm);\n\t\t\t}\n\t\t}\n\t\tconst allowedEvents = /* @__PURE__ */ new Map();\n\t\tif (spec.sideEffects?.emits) for (const e of spec.sideEffects.emits) if (isEmitDeclRef(e)) allowedEvents.set(`${e.ref.name}.v${e.ref.version}`, e.ref.payload);\n\t\telse allowedEvents.set(`${e.name}.v${e.version}`, e.payload);\n\t\tconst emitGuard = async (eventName, eventVersion, payload) => {\n\t\t\tconst key2 = eventKey(eventName, eventVersion);\n\t\t\tconst schema = allowedEvents.get(key2);\n\t\t\tif (!schema) throw new Error(`UndeclaredEvent: ${key2} not allowed by ${opKey(spec.meta.name, spec.meta.version)}`);\n\t\t\tconst parsed = schema.getZod().parse(payload);\n\t\t\tawait ctx.eventPublisher?.({\n\t\t\t\tname: eventName,\n\t\t\t\tversion: eventVersion,\n\t\t\t\tpayload: parsed,\n\t\t\t\ttraceId: ctx.traceId\n\t\t\t});\n\t\t};\n\t\tif (ctx.appConfig) {\n\t\t\tif (!ctx.branding) ctx.branding = ctx.appConfig.branding;\n\t\t\tif (!ctx.translation) ctx.translation = { config: ctx.appConfig.translation };\n\t\t\telse if (!ctx.translation.config) ctx.translation = {\n\t\t\t\t...ctx.translation,\n\t\t\t\tconfig: ctx.appConfig.translation\n\t\t\t};\n\t\t}\n\t\tconst telemetryContext = ctx.telemetry;\n\t\tconst trackTelemetry = async (trigger, details) => {\n\t\t\tif (!telemetryContext || !trigger?.event) return;\n\t\t\ttry {\n\t\t\t\tconst props = trigger.properties?.(details) ?? {};\n\t\t\t\tawait telemetryContext.track(trigger.event.name, trigger.event.version ?? 1, props, {\n\t\t\t\t\ttenantId: ctx.organizationId ?? void 0,\n\t\t\t\t\torganizationId: ctx.organizationId,\n\t\t\t\t\tuserId: ctx.userId,\n\t\t\t\t\tactor: ctx.actor,\n\t\t\t\t\tchannel: ctx.channel,\n\t\t\t\t\tmetadata: ctx.traceId ? { traceId: ctx.traceId } : void 0\n\t\t\t\t});\n\t\t\t} catch (_error) {}\n\t\t};\n\t\tlet result;\n\t\ttry {\n\t\t\tresult = await handler(parsedInput, {\n\t\t\t\t...ctx,\n\t\t\t\t__emitGuard__: emitGuard\n\t\t\t});\n\t\t} catch (error) {\n\t\t\tif (spec.telemetry?.failure) await trackTelemetry(spec.telemetry.failure, {\n\t\t\t\tinput: parsedInput ?? rawInput,\n\t\t\t\terror\n\t\t\t});\n\t\t\tthrow error;\n\t\t}\n\t\tif (spec.telemetry?.success) await trackTelemetry(spec.telemetry.success, {\n\t\t\tinput: parsedInput ?? rawInput,\n\t\t\toutput: result\n\t\t});\n\t\tconst outputModel = spec.io.output;\n\t\tif (outputModel?.getZod) return outputModel.getZod().parse(result);\n\t\treturn result;\n\t}\n};\n\n//#endregion\nexport { OperationSpecRegistry, opKey };"],"mappings":";;;;AAKA,qBAAqB"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import "../registry-utils.js";
|
|
1
|
+
import { init_registry_utils } from "../registry-utils.js";
|
|
2
2
|
import z from "zod";
|
|
3
|
+
|
|
4
|
+
//#region ../../libs/contracts/dist/presentations/presentations.js
|
|
5
|
+
init_registry_utils();
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
//# sourceMappingURL=presentations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.js","names":[],"sources":["../../../../../../../libs/contracts/dist/presentations/presentations.js"],"sourcesContent":["import { filterBy, getUniqueTags, groupBy, init_registry_utils } from \"../registry-utils.js\";\nimport z from \"zod\";\n\n//#region src/presentations/presentations.ts\ninit_registry_utils();\nfunction keyOf(p) {\n\treturn `${p.meta.name}.v${p.meta.version}`;\n}\n/** In-memory registry for V1 PresentationSpec. */\nvar PresentationRegistry = class {\n\titems = /* @__PURE__ */ new Map();\n\tconstructor(items) {\n\t\tif (items) items.forEach((p) => this.register(p));\n\t}\n\tregister(p) {\n\t\tconst key = keyOf(p);\n\t\tif (this.items.has(key)) throw new Error(`Duplicate presentation ${key}`);\n\t\tthis.items.set(key, p);\n\t\treturn this;\n\t}\n\tlist() {\n\t\treturn [...this.items.values()];\n\t}\n\tget(name, version) {\n\t\tif (version != null) return this.items.get(`${name}.v${version}`);\n\t\tlet candidate;\n\t\tlet max = -Infinity;\n\t\tfor (const [k, p] of this.items.entries()) {\n\t\t\tif (!k.startsWith(`${name}.v`)) continue;\n\t\t\tif (p.meta.version > max) {\n\t\t\t\tmax = p.meta.version;\n\t\t\t\tcandidate = p;\n\t\t\t}\n\t\t}\n\t\treturn candidate;\n\t}\n\t/** Filter presentations by criteria. */\n\tfilter(criteria) {\n\t\treturn filterBy(this.list(), criteria);\n\t}\n\t/** List presentations with specific tag. */\n\tlistByTag(tag) {\n\t\treturn this.list().filter((p) => p.meta.tags?.includes(tag));\n\t}\n\t/** List presentations by owner. */\n\tlistByOwner(owner) {\n\t\treturn this.list().filter((p) => p.meta.owners?.includes(owner));\n\t}\n\t/** Group presentations by key function. */\n\tgroupBy(keyFn) {\n\t\treturn groupBy(this.list(), keyFn);\n\t}\n\t/** Get unique tags from all presentations. */\n\tgetUniqueTags() {\n\t\treturn getUniqueTags(this.list());\n\t}\n};\nfunction jsonSchemaForPresentation(p) {\n\tconst base = {\n\t\tmeta: {\n\t\t\tname: p.meta.name,\n\t\t\tversion: p.meta.version,\n\t\t\tstability: p.meta.stability ?? \"stable\",\n\t\t\ttags: p.meta.tags ?? [],\n\t\t\tdescription: p.meta.description ?? \"\"\n\t\t},\n\t\tkind: p.content.kind\n\t};\n\tif (p.content.kind === \"web_component\") return {\n\t\t...base,\n\t\tframework: p.content.framework,\n\t\tcomponentKey: p.content.componentKey,\n\t\tprops: z.toJSONSchema(p.content.props.getZod())\n\t};\n\tif (p.content.kind === \"markdown\") return {\n\t\t...base,\n\t\tcontent: p.content.content,\n\t\tresourceUri: p.content.resourceUri\n\t};\n\treturn {\n\t\t...base,\n\t\tmimeType: p.content.mimeType,\n\t\tmodel: z.toJSONSchema(p.content.model.getZod())\n\t};\n}\n\n//#endregion\nexport { PresentationRegistry, jsonSchemaForPresentation };"],"mappings":";;;;AAIA,qBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec.js","names":[],"sources":["../../../../../../../libs/contracts/dist/workflow/spec.js"],"sourcesContent":["import { filterBy, getUniqueTags, groupBy, init_registry_utils } from \"../registry-utils.js\";\n\n//#region src/workflow/spec.ts\ninit_registry_utils();\nfunction workflowKey(meta) {\n\treturn `${meta.name}.v${meta.version}`;\n}\nvar WorkflowRegistry = class {\n\titems = /* @__PURE__ */ new Map();\n\tregister(spec) {\n\t\tconst key = workflowKey(spec.meta);\n\t\tif (this.items.has(key)) throw new Error(`Duplicate workflow ${key}`);\n\t\tthis.items.set(key, spec);\n\t\treturn this;\n\t}\n\tlist() {\n\t\treturn [...this.items.values()];\n\t}\n\tget(name, version) {\n\t\tif (version != null) return this.items.get(`${name}.v${version}`);\n\t\tlet candidate;\n\t\tlet max = -Infinity;\n\t\tfor (const spec of this.items.values()) {\n\t\t\tif (spec.meta.name !== name) continue;\n\t\t\tif (spec.meta.version > max) {\n\t\t\t\tmax = spec.meta.version;\n\t\t\t\tcandidate = spec;\n\t\t\t}\n\t\t}\n\t\treturn candidate;\n\t}\n\t/** Filter workflows by criteria. */\n\tfilter(criteria) {\n\t\treturn filterBy(this.list(), criteria);\n\t}\n\t/** List workflows with specific tag. */\n\tlistByTag(tag) {\n\t\treturn this.list().filter((w) => w.meta.tags?.includes(tag));\n\t}\n\t/** List workflows by owner. */\n\tlistByOwner(owner) {\n\t\treturn this.list().filter((w) => w.meta.owners?.includes(owner));\n\t}\n\t/** Group workflows by key function. */\n\tgroupBy(keyFn) {\n\t\treturn groupBy(this.list(), keyFn);\n\t}\n\t/** Get unique tags from all workflows. */\n\tgetUniqueTags() {\n\t\treturn getUniqueTags(this.list());\n\t}\n};\n\n//#endregion\nexport { WorkflowRegistry };"],"mappings":";;;AAGA,qBAAqB"}
|