@lssm/example.agent-console 0.0.0-canary-20251212230121 → 0.0.0-canary-20251215220103
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.log +6 -5
- package/CHANGELOG.md +6 -6
- package/dist/example.js +1 -0
- package/dist/index.js +1 -1
- package/example.ts +1 -0
- package/package.json +4 -2
- package/src/example.ts +34 -0
- package/src/index.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
$ bun build:bundle && bun build:types
|
|
2
2
|
$ tsdown
|
|
3
|
-
[34mℹ[39m tsdown [2mv0.17.
|
|
3
|
+
[34mℹ[39m tsdown [2mv0.17.4[22m powered by rolldown [2mv1.0.0-beta.53[22m
|
|
4
4
|
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/agent-console/tsdown.config.js[24m
|
|
5
|
-
[34mℹ[39m entry: [34msrc/events.ts, src/feature.ts, src/index.ts, src/contracts/agent.ts, src/contracts/index.ts, src/contracts/run.ts, src/contracts/tool.ts, src/docs/agent-console.docblock.ts, src/docs/index.ts, src/entities/agent.ts, src/entities/index.ts, src/entities/log.ts, src/entities/run.ts, src/entities/tool.ts, src/handlers/agent.handlers.ts, src/handlers/index.ts, src/handlers/mock-data.ts, src/handlers/run.handlers.ts, src/handlers/tool.handlers.ts, src/presentations/agent-list.ts, src/presentations/dashboard.ts, src/presentations/index.ts, src/presentations/run-list.ts, src/presentations/tool-registry.ts[39m
|
|
5
|
+
[34mℹ[39m entry: [34msrc/events.ts, src/example.ts, src/feature.ts, src/index.ts, src/contracts/agent.ts, src/contracts/index.ts, src/contracts/run.ts, src/contracts/tool.ts, src/docs/agent-console.docblock.ts, src/docs/index.ts, src/entities/agent.ts, src/entities/index.ts, src/entities/log.ts, src/entities/run.ts, src/entities/tool.ts, src/handlers/agent.handlers.ts, src/handlers/index.ts, src/handlers/mock-data.ts, src/handlers/run.handlers.ts, src/handlers/tool.handlers.ts, src/presentations/agent-list.ts, src/presentations/dashboard.ts, src/presentations/index.ts, src/presentations/run-list.ts, src/presentations/tool-registry.ts[39m
|
|
6
6
|
[34mℹ[39m target: [34mesnext[39m
|
|
7
7
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
8
8
|
[34mℹ[39m Build start
|
|
@@ -11,7 +11,7 @@ $ tsdown
|
|
|
11
11
|
[34mℹ[39m [2mdist/[22m[1mevents.js[22m [2m 8.95 kB[22m [2m│ gzip: 1.37 kB[22m
|
|
12
12
|
[34mℹ[39m [2mdist/[22m[1mhandlers/mock-data.js[22m [2m 8.88 kB[22m [2m│ gzip: 2.49 kB[22m
|
|
13
13
|
[34mℹ[39m [2mdist/[22m[1mcontracts/tool.js[22m [2m 7.03 kB[22m [2m│ gzip: 1.66 kB[22m
|
|
14
|
-
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m 4.
|
|
14
|
+
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m 4.99 kB[22m [2m│ gzip: 1.30 kB[22m
|
|
15
15
|
[34mℹ[39m [2mdist/[22m[1mentities/run.js[22m [2m 4.34 kB[22m [2m│ gzip: 1.35 kB[22m
|
|
16
16
|
[34mℹ[39m [2mdist/[22m[1mdocs/agent-console.docblock.js[22m [2m 3.37 kB[22m [2m│ gzip: 1.36 kB[22m
|
|
17
17
|
[34mℹ[39m [2mdist/[22m[1mentities/agent.js[22m [2m 2.85 kB[22m [2m│ gzip: 1.12 kB[22m
|
|
@@ -26,10 +26,11 @@ $ tsdown
|
|
|
26
26
|
[34mℹ[39m [2mdist/[22m[1mcontracts/index.js[22m [2m 0.89 kB[22m [2m│ gzip: 0.31 kB[22m
|
|
27
27
|
[34mℹ[39m [2mdist/[22m[1mpresentations/agent-list.js[22m [2m 0.88 kB[22m [2m│ gzip: 0.39 kB[22m
|
|
28
28
|
[34mℹ[39m [2mdist/[22m[1mpresentations/tool-registry.js[22m [2m 0.85 kB[22m [2m│ gzip: 0.38 kB[22m
|
|
29
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m 0.78 kB[22m [2m│ gzip: 0.41 kB[22m
|
|
29
30
|
[34mℹ[39m [2mdist/[22m[1mpresentations/index.js[22m [2m 0.65 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
30
31
|
[34mℹ[39m [2mdist/[22m[1mentities/index.js[22m [2m 0.58 kB[22m [2m│ gzip: 0.24 kB[22m
|
|
31
32
|
[34mℹ[39m [2mdist/[22m[1mpresentations/dashboard.js[22m [2m 0.44 kB[22m [2m│ gzip: 0.28 kB[22m
|
|
32
33
|
[34mℹ[39m [2mdist/[22m[1mdocs/index.js[22m [2m 0.04 kB[22m [2m│ gzip: 0.06 kB[22m
|
|
33
|
-
[34mℹ[39m
|
|
34
|
-
[32m✔[39m Build complete in [
|
|
34
|
+
[34mℹ[39m 25 files, total: 78.41 kB
|
|
35
|
+
[32m✔[39m Build complete in [32m70ms[39m
|
|
35
36
|
$ tsc --noEmit
|
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# @lssm/example.agent-console
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251215220103
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- 3086383: refactor: dependencies upgrade
|
|
8
8
|
- Updated dependencies [3086383]
|
|
9
|
-
- @lssm/lib.contracts@0.0.0-canary-
|
|
10
|
-
- @lssm/lib.schema@0.0.0-canary-
|
|
11
|
-
- @lssm/lib.jobs@0.0.0-canary-
|
|
12
|
-
- @lssm/lib.identity-rbac@0.0.0-canary-
|
|
13
|
-
- @lssm/module.audit-trail@0.0.0-canary-
|
|
9
|
+
- @lssm/lib.contracts@0.0.0-canary-20251215220103
|
|
10
|
+
- @lssm/lib.schema@0.0.0-canary-20251215220103
|
|
11
|
+
- @lssm/lib.jobs@0.0.0-canary-20251215220103
|
|
12
|
+
- @lssm/lib.identity-rbac@0.0.0-canary-20251215220103
|
|
13
|
+
- @lssm/module.audit-trail@0.0.0-canary-20251215220103
|
package/dist/example.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={id:`agent-console`,title:`Agent Console`,summary:`AI agent ops console: tools, agents, runs, logs, and metrics (spec-first, regenerable).`,tags:[`ai`,`agents`,`tools`,`orchestration`],kind:`template`,visibility:`public`,docs:{rootDocId:`docs.examples.agent-console.reference`,goalDocId:`docs.examples.agent-console.goal`,usageDocId:`docs.examples.agent-console.usage`,constraintsDocId:`docs.examples.agent-console.constraints`},entrypoints:{packageName:`@lssm/example.agent-console`,feature:`./feature`,contracts:`./contracts`,presentations:`./presentations`,handlers:`./handlers`,docs:`./docs`},surfaces:{templates:!0,sandbox:{enabled:!0,modes:[`playground`,`specs`,`builder`,`markdown`,`evolution`]},studio:{enabled:!0,installable:!0},mcp:{enabled:!0}}};export{e as default};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{AgentCreatedEvent as e,AgentCreatedPayload as t,AgentToolAssignedEvent as n,AgentToolAssignedPayload as r,AgentToolRemovedEvent as i,AgentToolRemovedPayload as a,AgentUpdatedEvent as o,AgentUpdatedPayload as s,MessageGeneratedEvent as c,MessageGeneratedPayload as l,MessageTypeEnum as u,RunCancelledEvent as d,RunCancelledPayload as f,RunCompletedEvent as p,RunCompletedPayload as m,RunFailedEvent as h,RunFailedPayload as g,RunStartedEvent as _,RunStartedPayload as v,ToolCompletedEvent as y,ToolCompletedPayload as b,ToolCreatedEvent as x,ToolCreatedPayload as S,ToolInvokedEvent as C,ToolInvokedPayload as w,ToolStatusChangedEvent as T,ToolStatusChangedPayload as E,ToolUpdatedEvent as D,ToolUpdatedPayload as O}from"./events.js";import{AgentConsoleFeature as
|
|
1
|
+
import{AgentCreatedEvent as e,AgentCreatedPayload as t,AgentToolAssignedEvent as n,AgentToolAssignedPayload as r,AgentToolRemovedEvent as i,AgentToolRemovedPayload as a,AgentUpdatedEvent as o,AgentUpdatedPayload as s,MessageGeneratedEvent as c,MessageGeneratedPayload as l,MessageTypeEnum as u,RunCancelledEvent as d,RunCancelledPayload as f,RunCompletedEvent as p,RunCompletedPayload as m,RunFailedEvent as h,RunFailedPayload as g,RunStartedEvent as _,RunStartedPayload as v,ToolCompletedEvent as y,ToolCompletedPayload as b,ToolCreatedEvent as x,ToolCreatedPayload as S,ToolInvokedEvent as C,ToolInvokedPayload as w,ToolStatusChangedEvent as T,ToolStatusChangedPayload as E,ToolUpdatedEvent as D,ToolUpdatedPayload as O}from"./events.js";import k from"./example.js";import{AgentConsoleFeature as A}from"./feature.js";import{ToolCategoryEnum as j,ToolEntity as M,ToolStatusEnum as N}from"./entities/tool.js";import{AgentEntity as P,AgentStatusEnum as F,AgentToolEntity as I,ModelProviderEnum as L}from"./entities/agent.js";import{LogLevelEnum as R,RunEntity as z,RunLogEntity as B,RunStatusEnum as V,RunStepEntity as H,RunStepTypeEnum as U}from"./entities/run.js";import"./entities/index.js";import{CreateToolCommand as W,GetToolQuery as G,ListToolsQuery as K,TestToolCommand as q,UpdateToolCommand as J}from"./contracts/tool.js";import{AssignToolToAgentCommand as Y,CreateAgentCommand as X,GetAgentQuery as Z,ListAgentsQuery as Q,RemoveToolFromAgentCommand as $,UpdateAgentCommand as ee}from"./contracts/agent.js";import{CancelRunCommand as te,ExecuteAgentCommand as ne,GetRunLogsQuery as re,GetRunMetricsQuery as ie,GetRunQuery as ae,GetRunStepsQuery as oe,ListRunsQuery as se}from"./contracts/run.js";import"./contracts/index.js";import{MOCK_AGENTS as ce,MOCK_RUNS as le,MOCK_RUN_LOGS as ue,MOCK_RUN_STEPS as de,MOCK_TOOLS as fe}from"./handlers/mock-data.js";import{mockCreateAgentHandler as pe,mockGetAgentHandler as me,mockListAgentsHandler as he,mockUpdateAgentHandler as ge}from"./handlers/agent.handlers.js";import{mockCreateToolHandler as _e,mockGetToolHandler as ve,mockListToolsHandler as ye,mockTestToolHandler as be}from"./handlers/tool.handlers.js";import{mockCancelRunHandler as xe,mockExecuteAgentHandler as Se,mockGetRunHandler as Ce,mockGetRunMetricsHandler as we,mockListRunsHandler as Te}from"./handlers/run.handlers.js";import{AgentDetailPresentation as Ee,AgentListPresentation as De}from"./presentations/agent-list.js";import{RunDetailPresentation as Oe,RunListPresentation as ke,RunMetricsPresentation as Ae}from"./presentations/run-list.js";import{ToolDetailPresentation as je,ToolRegistryPresentation as Me}from"./presentations/tool-registry.js";import{AgentConsoleDashboardPresentation as Ne}from"./presentations/dashboard.js";import{AgentConsolePresentations as Pe}from"./presentations/index.js";import"./docs/index.js";export{Ne as AgentConsoleDashboardPresentation,A as AgentConsoleFeature,Pe as AgentConsolePresentations,e as AgentCreatedEvent,t as AgentCreatedPayload,Ee as AgentDetailPresentation,P as AgentEntity,De as AgentListPresentation,F as AgentStatusEnum,n as AgentToolAssignedEvent,r as AgentToolAssignedPayload,I as AgentToolEntity,i as AgentToolRemovedEvent,a as AgentToolRemovedPayload,o as AgentUpdatedEvent,s as AgentUpdatedPayload,Y as AssignToolToAgentCommand,te as CancelRunCommand,X as CreateAgentCommand,W as CreateToolCommand,ne as ExecuteAgentCommand,Z as GetAgentQuery,re as GetRunLogsQuery,ie as GetRunMetricsQuery,ae as GetRunQuery,oe as GetRunStepsQuery,G as GetToolQuery,Q as ListAgentsQuery,se as ListRunsQuery,K as ListToolsQuery,R as LogLevelEnum,ce as MOCK_AGENTS,le as MOCK_RUNS,ue as MOCK_RUN_LOGS,de as MOCK_RUN_STEPS,fe as MOCK_TOOLS,c as MessageGeneratedEvent,l as MessageGeneratedPayload,u as MessageTypeEnum,L as ModelProviderEnum,$ as RemoveToolFromAgentCommand,d as RunCancelledEvent,f as RunCancelledPayload,p as RunCompletedEvent,m as RunCompletedPayload,Oe as RunDetailPresentation,z as RunEntity,h as RunFailedEvent,g as RunFailedPayload,ke as RunListPresentation,B as RunLogEntity,Ae as RunMetricsPresentation,_ as RunStartedEvent,v as RunStartedPayload,V as RunStatusEnum,H as RunStepEntity,U as RunStepTypeEnum,q as TestToolCommand,j as ToolCategoryEnum,y as ToolCompletedEvent,b as ToolCompletedPayload,x as ToolCreatedEvent,S as ToolCreatedPayload,je as ToolDetailPresentation,M as ToolEntity,C as ToolInvokedEvent,w as ToolInvokedPayload,Me as ToolRegistryPresentation,T as ToolStatusChangedEvent,E as ToolStatusChangedPayload,N as ToolStatusEnum,D as ToolUpdatedEvent,O as ToolUpdatedPayload,ee as UpdateAgentCommand,J as UpdateToolCommand,k as example,xe as mockCancelRunHandler,pe as mockCreateAgentHandler,_e as mockCreateToolHandler,Se as mockExecuteAgentHandler,me as mockGetAgentHandler,Ce as mockGetRunHandler,we as mockGetRunMetricsHandler,ve as mockGetToolHandler,he as mockListAgentsHandler,Te as mockListRunsHandler,ye as mockListToolsHandler,be as mockTestToolHandler,ge as mockUpdateAgentHandler};
|
package/example.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './src/example';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.agent-console",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251215220103",
|
|
4
4
|
"description": "Agent Console example - AI agent orchestration with tools, runs, and logs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"./entities/run": "./src/entities/run.ts",
|
|
20
20
|
"./entities/tool": "./src/entities/tool.ts",
|
|
21
21
|
"./events": "./src/events.ts",
|
|
22
|
+
"./example": "./src/example.ts",
|
|
22
23
|
"./feature": "./src/feature.ts",
|
|
23
24
|
"./handlers": "./src/handlers/index.ts",
|
|
24
25
|
"./handlers/agent.handlers": "./src/handlers/agent.handlers.ts",
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@lssm/tool.tsdown": "workspace:*",
|
|
56
57
|
"@lssm/tool.typescript": "workspace:*",
|
|
57
|
-
"tsdown": "^0.17.
|
|
58
|
+
"tsdown": "^0.17.4",
|
|
58
59
|
"typescript": "^5.9.3"
|
|
59
60
|
},
|
|
60
61
|
"module": "./dist/index.js",
|
|
@@ -73,6 +74,7 @@
|
|
|
73
74
|
"./entities/run": "./dist/entities/run.js",
|
|
74
75
|
"./entities/tool": "./dist/entities/tool.js",
|
|
75
76
|
"./events": "./dist/events.js",
|
|
77
|
+
"./example": "./dist/example.js",
|
|
76
78
|
"./feature": "./dist/feature.js",
|
|
77
79
|
"./handlers": "./dist/handlers/index.js",
|
|
78
80
|
"./handlers/agent.handlers": "./dist/handlers/agent.handlers.js",
|
package/src/example.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const example = {
|
|
2
|
+
id: 'agent-console',
|
|
3
|
+
title: 'Agent Console',
|
|
4
|
+
summary:
|
|
5
|
+
'AI agent ops console: tools, agents, runs, logs, and metrics (spec-first, regenerable).',
|
|
6
|
+
tags: ['ai', 'agents', 'tools', 'orchestration'],
|
|
7
|
+
kind: 'template',
|
|
8
|
+
visibility: 'public',
|
|
9
|
+
docs: {
|
|
10
|
+
rootDocId: 'docs.examples.agent-console.reference',
|
|
11
|
+
goalDocId: 'docs.examples.agent-console.goal',
|
|
12
|
+
usageDocId: 'docs.examples.agent-console.usage',
|
|
13
|
+
constraintsDocId: 'docs.examples.agent-console.constraints',
|
|
14
|
+
},
|
|
15
|
+
entrypoints: {
|
|
16
|
+
packageName: '@lssm/example.agent-console',
|
|
17
|
+
feature: './feature',
|
|
18
|
+
contracts: './contracts',
|
|
19
|
+
presentations: './presentations',
|
|
20
|
+
handlers: './handlers',
|
|
21
|
+
docs: './docs',
|
|
22
|
+
},
|
|
23
|
+
surfaces: {
|
|
24
|
+
templates: true,
|
|
25
|
+
sandbox: {
|
|
26
|
+
enabled: true,
|
|
27
|
+
modes: ['playground', 'specs', 'builder', 'markdown', 'evolution'],
|
|
28
|
+
},
|
|
29
|
+
studio: { enabled: true, installable: true },
|
|
30
|
+
mcp: { enabled: true },
|
|
31
|
+
},
|
|
32
|
+
} as const;
|
|
33
|
+
|
|
34
|
+
export default example;
|