@contractspec/example.agent-console 0.0.0-canary-20260113170453
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 +280 -0
- package/.turbo/turbo-build.log +281 -0
- package/CHANGELOG.md +368 -0
- package/LICENSE +21 -0
- package/README.md +86 -0
- package/dist/agent/agent.entity.d.ts +55 -0
- package/dist/agent/agent.entity.d.ts.map +1 -0
- package/dist/agent/agent.entity.js +136 -0
- package/dist/agent/agent.entity.js.map +1 -0
- package/dist/agent/agent.enum.d.ts +18 -0
- package/dist/agent/agent.enum.d.ts.map +1 -0
- package/dist/agent/agent.enum.js +34 -0
- package/dist/agent/agent.enum.js.map +1 -0
- package/dist/agent/agent.event.d.ts +128 -0
- package/dist/agent/agent.event.d.ts.map +1 -0
- package/dist/agent/agent.event.js +210 -0
- package/dist/agent/agent.event.js.map +1 -0
- package/dist/agent/agent.handler.d.ts +100 -0
- package/dist/agent/agent.handler.d.ts.map +1 -0
- package/dist/agent/agent.handler.js +84 -0
- package/dist/agent/agent.handler.js.map +1 -0
- package/dist/agent/agent.operation.d.ts +471 -0
- package/dist/agent/agent.operation.d.ts.map +1 -0
- package/dist/agent/agent.operation.js +486 -0
- package/dist/agent/agent.operation.js.map +1 -0
- package/dist/agent/agent.presentation.d.ts +18 -0
- package/dist/agent/agent.presentation.d.ts.map +1 -0
- package/dist/agent/agent.presentation.js +89 -0
- package/dist/agent/agent.presentation.js.map +1 -0
- package/dist/agent/agent.schema.d.ts +401 -0
- package/dist/agent/agent.schema.d.ts.map +1 -0
- package/dist/agent/agent.schema.js +406 -0
- package/dist/agent/agent.schema.js.map +1 -0
- package/dist/agent/agent.test-spec.d.ts +8 -0
- package/dist/agent/agent.test-spec.d.ts.map +1 -0
- package/dist/agent/agent.test-spec.js +65 -0
- package/dist/agent/agent.test-spec.js.map +1 -0
- package/dist/agent/index.d.ts +8 -0
- package/dist/agent/index.js +9 -0
- package/dist/agent.capability.d.ts +7 -0
- package/dist/agent.capability.d.ts.map +1 -0
- package/dist/agent.capability.js +20 -0
- package/dist/agent.capability.js.map +1 -0
- package/dist/agent.feature.d.ts +12 -0
- package/dist/agent.feature.d.ts.map +1 -0
- package/dist/agent.feature.js +305 -0
- package/dist/agent.feature.js.map +1 -0
- package/dist/docs/agent-console.docblock.d.ts +1 -0
- package/dist/docs/agent-console.docblock.js +113 -0
- package/dist/docs/agent-console.docblock.js.map +1 -0
- package/dist/docs/index.d.ts +1 -0
- package/dist/docs/index.js +1 -0
- package/dist/example.d.ts +7 -0
- package/dist/example.d.ts.map +1 -0
- package/dist/example.js +58 -0
- package/dist/example.js.map +1 -0
- package/dist/handlers/agent.handlers.d.ts +135 -0
- package/dist/handlers/agent.handlers.d.ts.map +1 -0
- package/dist/handlers/agent.handlers.js +263 -0
- package/dist/handlers/agent.handlers.js.map +1 -0
- package/dist/handlers/index.d.ts +5 -0
- package/dist/handlers/index.js +6 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.js +50 -0
- package/dist/presentations/index.d.ts +4 -0
- package/dist/presentations/index.js +5 -0
- package/dist/run/index.d.ts +8 -0
- package/dist/run/index.js +9 -0
- package/dist/run/run.entity.d.ts +82 -0
- package/dist/run/run.entity.d.ts.map +1 -0
- package/dist/run/run.entity.js +205 -0
- package/dist/run/run.entity.js.map +1 -0
- package/dist/run/run.enum.d.ts +22 -0
- package/dist/run/run.enum.d.ts.map +1 -0
- package/dist/run/run.enum.js +45 -0
- package/dist/run/run.enum.js.map +1 -0
- package/dist/run/run.event.d.ts +290 -0
- package/dist/run/run.event.d.ts.map +1 -0
- package/dist/run/run.event.js +434 -0
- package/dist/run/run.event.js.map +1 -0
- package/dist/run/run.handler.d.ts +203 -0
- package/dist/run/run.handler.d.ts.map +1 -0
- package/dist/run/run.handler.js +83 -0
- package/dist/run/run.handler.js.map +1 -0
- package/dist/run/run.operation.d.ts +720 -0
- package/dist/run/run.operation.d.ts.map +1 -0
- package/dist/run/run.operation.js +626 -0
- package/dist/run/run.operation.js.map +1 -0
- package/dist/run/run.presentation.d.ts +14 -0
- package/dist/run/run.presentation.d.ts.map +1 -0
- package/dist/run/run.presentation.js +65 -0
- package/dist/run/run.presentation.js.map +1 -0
- package/dist/run/run.schema.d.ts +416 -0
- package/dist/run/run.schema.d.ts.map +1 -0
- package/dist/run/run.schema.js +338 -0
- package/dist/run/run.schema.js.map +1 -0
- package/dist/run/run.test-spec.d.ts +8 -0
- package/dist/run/run.test-spec.d.ts.map +1 -0
- package/dist/run/run.test-spec.js +65 -0
- package/dist/run/run.test-spec.js.map +1 -0
- package/dist/seeders/index.d.ts +10 -0
- package/dist/seeders/index.d.ts.map +1 -0
- package/dist/seeders/index.js +20 -0
- package/dist/seeders/index.js.map +1 -0
- package/dist/shared/index.d.ts +4 -0
- package/dist/shared/index.js +5 -0
- package/dist/shared/mock-agents.d.ts +88 -0
- package/dist/shared/mock-agents.d.ts.map +1 -0
- package/dist/shared/mock-agents.js +94 -0
- package/dist/shared/mock-agents.js.map +1 -0
- package/dist/shared/mock-runs.d.ts +120 -0
- package/dist/shared/mock-runs.d.ts.map +1 -0
- package/dist/shared/mock-runs.js +118 -0
- package/dist/shared/mock-runs.js.map +1 -0
- package/dist/shared/mock-tools.d.ts +244 -0
- package/dist/shared/mock-tools.d.ts.map +1 -0
- package/dist/shared/mock-tools.js +181 -0
- package/dist/shared/mock-tools.js.map +1 -0
- package/dist/shared/overlay-types.d.ts +34 -0
- package/dist/shared/overlay-types.d.ts.map +1 -0
- package/dist/shared/overlay-types.js +0 -0
- package/dist/tool/index.d.ts +8 -0
- package/dist/tool/index.js +9 -0
- package/dist/tool/tool.entity.d.ts +42 -0
- package/dist/tool/tool.entity.d.ts.map +1 -0
- package/dist/tool/tool.entity.js +105 -0
- package/dist/tool/tool.entity.js.map +1 -0
- package/dist/tool/tool.enum.d.ts +18 -0
- package/dist/tool/tool.enum.d.ts.map +1 -0
- package/dist/tool/tool.enum.js +35 -0
- package/dist/tool/tool.enum.js.map +1 -0
- package/dist/tool/tool.event.d.ts +103 -0
- package/dist/tool/tool.event.d.ts.map +1 -0
- package/dist/tool/tool.event.js +159 -0
- package/dist/tool/tool.event.js.map +1 -0
- package/dist/tool/tool.handler.d.ts +315 -0
- package/dist/tool/tool.handler.d.ts.map +1 -0
- package/dist/tool/tool.handler.js +87 -0
- package/dist/tool/tool.handler.js.map +1 -0
- package/dist/tool/tool.operation.d.ts +411 -0
- package/dist/tool/tool.operation.d.ts.map +1 -0
- package/dist/tool/tool.operation.js +406 -0
- package/dist/tool/tool.operation.js.map +1 -0
- package/dist/tool/tool.presentation.d.ts +14 -0
- package/dist/tool/tool.presentation.d.ts.map +1 -0
- package/dist/tool/tool.presentation.js +65 -0
- package/dist/tool/tool.presentation.js.map +1 -0
- package/dist/tool/tool.schema.d.ts +218 -0
- package/dist/tool/tool.schema.d.ts.map +1 -0
- package/dist/tool/tool.schema.js +236 -0
- package/dist/tool/tool.schema.js.map +1 -0
- package/dist/tool/tool.test-spec.d.ts +8 -0
- package/dist/tool/tool.test-spec.d.ts.map +1 -0
- package/dist/tool/tool.test-spec.js +65 -0
- package/dist/tool/tool.test-spec.js.map +1 -0
- package/dist/ui/AgentDashboard.d.ts +7 -0
- package/dist/ui/AgentDashboard.d.ts.map +1 -0
- package/dist/ui/AgentDashboard.js +420 -0
- package/dist/ui/AgentDashboard.js.map +1 -0
- package/dist/ui/AgentRunList.d.ts +2 -0
- package/dist/ui/AgentRunList.js +5 -0
- package/dist/ui/AgentToolRegistry.d.ts +2 -0
- package/dist/ui/AgentToolRegistry.js +5 -0
- package/dist/ui/hooks/index.d.ts +6 -0
- package/dist/ui/hooks/index.js +8 -0
- package/dist/ui/hooks/useAgentList.d.ts +28 -0
- package/dist/ui/hooks/useAgentList.d.ts.map +1 -0
- package/dist/ui/hooks/useAgentList.js +66 -0
- package/dist/ui/hooks/useAgentList.js.map +1 -0
- package/dist/ui/hooks/useAgentMutations.d.ts +29 -0
- package/dist/ui/hooks/useAgentMutations.d.ts.map +1 -0
- package/dist/ui/hooks/useAgentMutations.js +124 -0
- package/dist/ui/hooks/useAgentMutations.js.map +1 -0
- package/dist/ui/hooks/useRunList.d.ts +24 -0
- package/dist/ui/hooks/useRunList.d.ts.map +1 -0
- package/dist/ui/hooks/useRunList.js +66 -0
- package/dist/ui/hooks/useRunList.js.map +1 -0
- package/dist/ui/hooks/useToolList.d.ts +40 -0
- package/dist/ui/hooks/useToolList.d.ts.map +1 -0
- package/dist/ui/hooks/useToolList.js +96 -0
- package/dist/ui/hooks/useToolList.js.map +1 -0
- package/dist/ui/index.d.ts +24 -0
- package/dist/ui/index.js +24 -0
- package/dist/ui/modals/AgentActionsModal.d.ts +27 -0
- package/dist/ui/modals/AgentActionsModal.d.ts.map +1 -0
- package/dist/ui/modals/AgentActionsModal.js +262 -0
- package/dist/ui/modals/AgentActionsModal.js.map +1 -0
- package/dist/ui/modals/CreateAgentModal.d.ts +25 -0
- package/dist/ui/modals/CreateAgentModal.d.ts.map +1 -0
- package/dist/ui/modals/CreateAgentModal.js +214 -0
- package/dist/ui/modals/CreateAgentModal.js.map +1 -0
- package/dist/ui/modals/index.d.ts +3 -0
- package/dist/ui/modals/index.js +4 -0
- package/dist/ui/overlays/demo-overlays.d.ts +19 -0
- package/dist/ui/overlays/demo-overlays.d.ts.map +1 -0
- package/dist/ui/overlays/demo-overlays.js +73 -0
- package/dist/ui/overlays/demo-overlays.js.map +1 -0
- package/dist/ui/overlays/index.d.ts +2 -0
- package/dist/ui/overlays/index.js +3 -0
- package/dist/ui/renderers/agent-list.markdown.d.ts +15 -0
- package/dist/ui/renderers/agent-list.markdown.d.ts.map +1 -0
- package/dist/ui/renderers/agent-list.markdown.js +51 -0
- package/dist/ui/renderers/agent-list.markdown.js.map +1 -0
- package/dist/ui/renderers/agent-list.renderer.d.ts +11 -0
- package/dist/ui/renderers/agent-list.renderer.d.ts.map +1 -0
- package/dist/ui/renderers/agent-list.renderer.js +19 -0
- package/dist/ui/renderers/agent-list.renderer.js.map +1 -0
- package/dist/ui/renderers/dashboard.markdown.d.ts +15 -0
- package/dist/ui/renderers/dashboard.markdown.d.ts.map +1 -0
- package/dist/ui/renderers/dashboard.markdown.js +100 -0
- package/dist/ui/renderers/dashboard.markdown.js.map +1 -0
- package/dist/ui/renderers/index.d.ts +6 -0
- package/dist/ui/renderers/index.js +7 -0
- package/dist/ui/renderers/run-list.markdown.d.ts +15 -0
- package/dist/ui/renderers/run-list.markdown.d.ts.map +1 -0
- package/dist/ui/renderers/run-list.markdown.js +44 -0
- package/dist/ui/renderers/run-list.markdown.js.map +1 -0
- package/dist/ui/renderers/tool-registry.markdown.d.ts +15 -0
- package/dist/ui/renderers/tool-registry.markdown.d.ts.map +1 -0
- package/dist/ui/renderers/tool-registry.markdown.js +55 -0
- package/dist/ui/renderers/tool-registry.markdown.js.map +1 -0
- package/dist/ui/views/AgentListView.d.ts +7 -0
- package/dist/ui/views/AgentListView.d.ts.map +1 -0
- package/dist/ui/views/AgentListView.js +93 -0
- package/dist/ui/views/AgentListView.js.map +1 -0
- package/dist/ui/views/RunListView.d.ts +14 -0
- package/dist/ui/views/RunListView.d.ts.map +1 -0
- package/dist/ui/views/RunListView.js +165 -0
- package/dist/ui/views/RunListView.js.map +1 -0
- package/dist/ui/views/ToolRegistryView.d.ts +14 -0
- package/dist/ui/views/ToolRegistryView.d.ts.map +1 -0
- package/dist/ui/views/ToolRegistryView.js +97 -0
- package/dist/ui/views/ToolRegistryView.js.map +1 -0
- package/dist/ui/views/index.d.ts +4 -0
- package/dist/ui/views/index.js +5 -0
- package/example.ts +1 -0
- package/package.json +155 -0
- package/src/agent/agent.entity.ts +137 -0
- package/src/agent/agent.enum.ts +31 -0
- package/src/agent/agent.event.ts +142 -0
- package/src/agent/agent.handler.ts +178 -0
- package/src/agent/agent.operation.ts +444 -0
- package/src/agent/agent.presentation.ts +80 -0
- package/src/agent/agent.schema.ts +214 -0
- package/src/agent/agent.test-spec.ts +55 -0
- package/src/agent/index.ts +67 -0
- package/src/agent.capability.ts +13 -0
- package/src/agent.feature.ts +147 -0
- package/src/docs/agent-console.docblock.ts +97 -0
- package/src/docs/index.ts +1 -0
- package/src/example.ts +41 -0
- package/src/handlers/agent.handlers.ts +572 -0
- package/src/handlers/index.ts +30 -0
- package/src/index.ts +32 -0
- package/src/presentations/index.ts +26 -0
- package/src/run/index.ts +68 -0
- package/src/run/run.entity.ts +175 -0
- package/src/run/run.enum.ts +43 -0
- package/src/run/run.event.ts +264 -0
- package/src/run/run.handler.ts +138 -0
- package/src/run/run.operation.ts +524 -0
- package/src/run/run.presentation.ts +54 -0
- package/src/run/run.schema.ts +169 -0
- package/src/run/run.test-spec.ts +55 -0
- package/src/seeders/index.ts +29 -0
- package/src/shared/index.ts +6 -0
- package/src/shared/mock-agents.ts +81 -0
- package/src/shared/mock-runs.ts +107 -0
- package/src/shared/mock-tools.ts +145 -0
- package/src/shared/overlay-types.ts +39 -0
- package/src/tool/index.ts +60 -0
- package/src/tool/tool.entity.ts +99 -0
- package/src/tool/tool.enum.ts +32 -0
- package/src/tool/tool.event.ts +119 -0
- package/src/tool/tool.handler.ts +154 -0
- package/src/tool/tool.operation.ts +366 -0
- package/src/tool/tool.presentation.ts +55 -0
- package/src/tool/tool.schema.ts +133 -0
- package/src/tool/tool.test-spec.ts +55 -0
- package/src/ui/AgentDashboard.tsx +416 -0
- package/src/ui/AgentRunList.tsx +8 -0
- package/src/ui/AgentToolRegistry.tsx +8 -0
- package/src/ui/hooks/index.ts +14 -0
- package/src/ui/hooks/useAgentList.ts +80 -0
- package/src/ui/hooks/useAgentMutations.ts +156 -0
- package/src/ui/hooks/useRunList.ts +81 -0
- package/src/ui/hooks/useToolList.ts +122 -0
- package/src/ui/index.ts +21 -0
- package/src/ui/modals/AgentActionsModal.tsx +306 -0
- package/src/ui/modals/CreateAgentModal.tsx +257 -0
- package/src/ui/modals/index.ts +2 -0
- package/src/ui/overlays/demo-overlays.ts +77 -0
- package/src/ui/overlays/index.ts +1 -0
- package/src/ui/renderers/agent-list.markdown.ts +84 -0
- package/src/ui/renderers/agent-list.renderer.tsx +27 -0
- package/src/ui/renderers/dashboard.markdown.ts +169 -0
- package/src/ui/renderers/index.ts +12 -0
- package/src/ui/renderers/run-list.markdown.ts +75 -0
- package/src/ui/renderers/tool-registry.markdown.ts +91 -0
- package/src/ui/views/AgentListView.tsx +113 -0
- package/src/ui/views/RunListView.tsx +173 -0
- package/src/ui/views/ToolRegistryView.tsx +140 -0
- package/src/ui/views/index.ts +6 -0
- package/tsconfig.json +10 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/tsdown.config.js +7 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock-tools.js","names":[],"sources":["../../src/shared/mock-tools.ts"],"sourcesContent":["/**\n * Mock tool data for testing and demos.\n */\nexport const MOCK_TOOLS = [\n {\n id: 'tool-1',\n organizationId: 'demo-org',\n name: 'Web Search',\n slug: 'web-search',\n description: 'Search the web for real-time information using Brave API.',\n category: 'RETRIEVAL' as const,\n status: 'ACTIVE' as const,\n parametersSchema: {\n type: 'object',\n properties: {\n query: { type: 'string', description: 'Search query' },\n numResults: { type: 'number', default: 10 },\n },\n required: ['query'],\n },\n outputSchema: { type: 'array', items: { type: 'object' } },\n implementationType: 'http' as const,\n implementationConfig: {\n url: 'https://api.brave.com/search',\n method: 'GET',\n },\n maxInvocationsPerMinute: 60,\n timeoutMs: 30000,\n version: '1.0.0',\n tags: ['search', 'web'],\n createdAt: new Date('2024-01-01T00:00:00Z'),\n updatedAt: new Date('2024-02-15T10:00:00Z'),\n },\n {\n id: 'tool-2',\n organizationId: 'demo-org',\n name: 'SQL Query',\n slug: 'sql-query',\n description: 'Execute read-only SQL queries against the data warehouse.',\n category: 'RETRIEVAL' as const,\n status: 'ACTIVE' as const,\n parametersSchema: {\n type: 'object',\n properties: {\n query: { type: 'string', description: 'SQL query' },\n maxRows: { type: 'number', default: 100 },\n },\n required: ['query'],\n },\n outputSchema: { type: 'object' },\n implementationType: 'function' as const,\n implementationConfig: { handler: 'executeSqlQuery' },\n maxInvocationsPerMinute: 30,\n timeoutMs: 60000,\n version: '1.1.0',\n tags: ['sql', 'database'],\n createdAt: new Date('2024-01-05T00:00:00Z'),\n updatedAt: new Date('2024-03-10T14:00:00Z'),\n },\n {\n id: 'tool-3',\n organizationId: 'demo-org',\n name: 'Email Sender',\n slug: 'email-sender',\n description: 'Send emails via SMTP or API.',\n category: 'COMMUNICATION' as const,\n status: 'ACTIVE' as const,\n parametersSchema: {\n type: 'object',\n properties: {\n to: { type: 'string' },\n subject: { type: 'string' },\n body: { type: 'string' },\n },\n required: ['to', 'subject', 'body'],\n },\n implementationType: 'http' as const,\n implementationConfig: { url: '/api/send-email', method: 'POST' },\n maxInvocationsPerMinute: 10,\n timeoutMs: 30000,\n version: '1.0.0',\n tags: ['email', 'communication'],\n createdAt: new Date('2024-02-01T00:00:00Z'),\n updatedAt: new Date('2024-02-01T00:00:00Z'),\n },\n {\n id: 'tool-4',\n organizationId: 'demo-org',\n name: 'GitHub Integration',\n slug: 'github-integration',\n description: 'Interact with GitHub repositories, PRs, and issues.',\n category: 'INTEGRATION' as const,\n status: 'ACTIVE' as const,\n parametersSchema: {\n type: 'object',\n properties: {\n action: {\n type: 'string',\n enum: ['list_prs', 'get_pr', 'create_comment'],\n },\n repo: { type: 'string' },\n params: { type: 'object' },\n },\n required: ['action', 'repo'],\n },\n implementationType: 'http' as const,\n implementationConfig: { url: 'https://api.github.com', auth: 'token' },\n maxInvocationsPerMinute: 100,\n timeoutMs: 15000,\n version: '2.0.0',\n tags: ['github', 'integration', 'code'],\n createdAt: new Date('2024-02-20T00:00:00Z'),\n updatedAt: new Date('2024-04-01T09:00:00Z'),\n },\n {\n id: 'tool-5',\n organizationId: 'demo-org',\n name: 'Calculator',\n slug: 'calculator',\n description: 'Perform mathematical calculations.',\n category: 'COMPUTATION' as const,\n status: 'ACTIVE' as const,\n parametersSchema: {\n type: 'object',\n properties: {\n expression: {\n type: 'string',\n description: 'Math expression to evaluate',\n },\n },\n required: ['expression'],\n },\n outputSchema: {\n type: 'object',\n properties: { result: { type: 'number' } },\n },\n implementationType: 'function' as const,\n implementationConfig: { handler: 'evaluateMath' },\n timeoutMs: 5000,\n version: '1.0.0',\n tags: ['math', 'utility'],\n createdAt: new Date('2024-01-10T00:00:00Z'),\n updatedAt: new Date('2024-01-10T00:00:00Z'),\n },\n];\n"],"mappings":";;;;AAGA,MAAa,aAAa;CACxB;EACE,IAAI;EACJ,gBAAgB;EAChB,MAAM;EACN,MAAM;EACN,aAAa;EACb,UAAU;EACV,QAAQ;EACR,kBAAkB;GAChB,MAAM;GACN,YAAY;IACV,OAAO;KAAE,MAAM;KAAU,aAAa;KAAgB;IACtD,YAAY;KAAE,MAAM;KAAU,SAAS;KAAI;IAC5C;GACD,UAAU,CAAC,QAAQ;GACpB;EACD,cAAc;GAAE,MAAM;GAAS,OAAO,EAAE,MAAM,UAAU;GAAE;EAC1D,oBAAoB;EACpB,sBAAsB;GACpB,KAAK;GACL,QAAQ;GACT;EACD,yBAAyB;EACzB,WAAW;EACX,SAAS;EACT,MAAM,CAAC,UAAU,MAAM;EACvB,2BAAW,IAAI,KAAK,uBAAuB;EAC3C,2BAAW,IAAI,KAAK,uBAAuB;EAC5C;CACD;EACE,IAAI;EACJ,gBAAgB;EAChB,MAAM;EACN,MAAM;EACN,aAAa;EACb,UAAU;EACV,QAAQ;EACR,kBAAkB;GAChB,MAAM;GACN,YAAY;IACV,OAAO;KAAE,MAAM;KAAU,aAAa;KAAa;IACnD,SAAS;KAAE,MAAM;KAAU,SAAS;KAAK;IAC1C;GACD,UAAU,CAAC,QAAQ;GACpB;EACD,cAAc,EAAE,MAAM,UAAU;EAChC,oBAAoB;EACpB,sBAAsB,EAAE,SAAS,mBAAmB;EACpD,yBAAyB;EACzB,WAAW;EACX,SAAS;EACT,MAAM,CAAC,OAAO,WAAW;EACzB,2BAAW,IAAI,KAAK,u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ACN,YAAY,EAAE,QAAQ,EAAE,MAAM,UAAU,EAAE;GAC3C;EACD,oBAAoB;EACpB,sBAAsB,EAAE,SAAS,gBAAgB;EACjD,WAAW;EACX,SAAS;EACT,MAAM,CAAC,QAAQ,UAAU;EACzB,2BAAW,IAAI,KAAK,uBAAuB;EAC3C,2BAAW,IAAI,KAAK,uBAAuB;EAC5C;CACF"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//#region src/shared/overlay-types.d.ts
|
|
2
|
+
interface OverlayDefinition {
|
|
3
|
+
overlayId: string;
|
|
4
|
+
version: string;
|
|
5
|
+
description: string;
|
|
6
|
+
appliesTo: Record<string, string>;
|
|
7
|
+
modifications: OverlayModification[];
|
|
8
|
+
}
|
|
9
|
+
type OverlayModification = HideFieldModification | RenameLabelModification | AddBadgeModification | SetLimitModification;
|
|
10
|
+
interface HideFieldModification {
|
|
11
|
+
type: 'hideField';
|
|
12
|
+
field: string;
|
|
13
|
+
reason?: string;
|
|
14
|
+
}
|
|
15
|
+
interface RenameLabelModification {
|
|
16
|
+
type: 'renameLabel';
|
|
17
|
+
field: string;
|
|
18
|
+
newLabel: string;
|
|
19
|
+
}
|
|
20
|
+
interface AddBadgeModification {
|
|
21
|
+
type: 'addBadge';
|
|
22
|
+
position: 'header' | 'footer';
|
|
23
|
+
label: string;
|
|
24
|
+
variant: 'warning' | 'info' | 'error' | 'success' | 'default';
|
|
25
|
+
}
|
|
26
|
+
interface SetLimitModification {
|
|
27
|
+
type: 'setLimit';
|
|
28
|
+
field: string;
|
|
29
|
+
max: number;
|
|
30
|
+
message: string;
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { AddBadgeModification, HideFieldModification, OverlayDefinition, OverlayModification, RenameLabelModification, SetLimitModification };
|
|
34
|
+
//# sourceMappingURL=overlay-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-types.d.ts","names":[],"sources":["../../src/shared/overlay-types.ts"],"sourcesContent":[],"mappings":";UAAiB,iBAAA;EAAA,SAAA,EAAA,MAAA;EAQL,OAAA,EAAA,MAAA;EACR,WAAA,EAAA,MAAA;EACA,SAAA,EANS,MAMT,CAAA,MAAA,EAAA,MAAA,CAAA;EACA,aAAA,EANa,mBAMb,EAAA;;AACoB,KAJZ,mBAAA,GACR,qBAGoB,GAFpB,uBAEoB,GADpB,oBACoB,GAApB,oBAAoB;AAEP,UAAA,qBAAA,CAAqB;EAMrB,IAAA,EAAA,WAAA;EAMA,KAAA,EAAA,MAAA;EAOA,MAAA,CAAA,EAAA,MAAA;;UAbA,uBAAA;;;;;UAMA,oBAAA;;;;;;UAOA,oBAAA"}
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ListToolsInput, ListToolsOutput, ToolSummary, mockCreateToolHandler, mockGetToolHandler, mockListToolsHandler, mockTestToolHandler, mockUpdateToolHandler } from "./tool.handler.js";
|
|
2
|
+
import { ImplementationTypeEnum, ToolCategoryEnum, ToolStatusEnum } from "./tool.enum.js";
|
|
3
|
+
import { CreateToolInputModel, ToolModel, ToolSummaryModel, UpdateToolInputModel } from "./tool.schema.js";
|
|
4
|
+
import { CreateToolCommand, GetToolQuery, ListToolsQuery, TestToolCommand, UpdateToolCommand } from "./tool.operation.js";
|
|
5
|
+
import { ToolCreatedEvent, ToolStatusChangedEvent, ToolUpdatedEvent } from "./tool.event.js";
|
|
6
|
+
import { ImplementationTypeEntityEnum, ToolCategoryEntityEnum, ToolEntity, ToolStatusEntityEnum } from "./tool.entity.js";
|
|
7
|
+
import { ToolDetailPresentation, ToolListPresentation } from "./tool.presentation.js";
|
|
8
|
+
export { CreateToolCommand, CreateToolInputModel, GetToolQuery, ImplementationTypeEntityEnum, ImplementationTypeEnum, type ListToolsInput, type ListToolsOutput, ListToolsQuery, TestToolCommand, ToolCategoryEntityEnum, ToolCategoryEnum, ToolCreatedEvent, ToolDetailPresentation, ToolEntity, ToolListPresentation, ToolModel, ToolStatusChangedEvent, ToolStatusEntityEnum, ToolStatusEnum, type ToolSummary, ToolSummaryModel, ToolUpdatedEvent, UpdateToolCommand, UpdateToolInputModel, mockCreateToolHandler, mockGetToolHandler, mockListToolsHandler, mockTestToolHandler, mockUpdateToolHandler };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ImplementationTypeEnum, ToolCategoryEnum, ToolStatusEnum } from "./tool.enum.js";
|
|
2
|
+
import { CreateToolInputModel, ToolModel, ToolSummaryModel, UpdateToolInputModel } from "./tool.schema.js";
|
|
3
|
+
import { CreateToolCommand, GetToolQuery, ListToolsQuery, TestToolCommand, UpdateToolCommand } from "./tool.operation.js";
|
|
4
|
+
import { ToolCreatedEvent, ToolStatusChangedEvent, ToolUpdatedEvent } from "./tool.event.js";
|
|
5
|
+
import { ImplementationTypeEntityEnum, ToolCategoryEntityEnum, ToolEntity, ToolStatusEntityEnum } from "./tool.entity.js";
|
|
6
|
+
import { ToolDetailPresentation, ToolListPresentation } from "./tool.presentation.js";
|
|
7
|
+
import { mockCreateToolHandler, mockGetToolHandler, mockListToolsHandler, mockTestToolHandler, mockUpdateToolHandler } from "./tool.handler.js";
|
|
8
|
+
|
|
9
|
+
export { CreateToolCommand, CreateToolInputModel, GetToolQuery, ImplementationTypeEntityEnum, ImplementationTypeEnum, ListToolsQuery, TestToolCommand, ToolCategoryEntityEnum, ToolCategoryEnum, ToolCreatedEvent, ToolDetailPresentation, ToolEntity, ToolListPresentation, ToolModel, ToolStatusChangedEvent, ToolStatusEntityEnum, ToolStatusEnum, ToolSummaryModel, ToolUpdatedEvent, UpdateToolCommand, UpdateToolInputModel, mockCreateToolHandler, mockGetToolHandler, mockListToolsHandler, mockTestToolHandler, mockUpdateToolHandler };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as _contractspec_lib_schema673 from "@contractspec/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/tool/tool.entity.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Tool category enum for entities.
|
|
6
|
+
*/
|
|
7
|
+
declare const ToolCategoryEntityEnum: _contractspec_lib_schema673.EntityEnumDef;
|
|
8
|
+
/**
|
|
9
|
+
* Tool status enum for entities.
|
|
10
|
+
*/
|
|
11
|
+
declare const ToolStatusEntityEnum: _contractspec_lib_schema673.EntityEnumDef;
|
|
12
|
+
/**
|
|
13
|
+
* Implementation type enum for entities.
|
|
14
|
+
*/
|
|
15
|
+
declare const ImplementationTypeEntityEnum: _contractspec_lib_schema673.EntityEnumDef;
|
|
16
|
+
/**
|
|
17
|
+
* Tool entity - Represents an AI tool definition.
|
|
18
|
+
*/
|
|
19
|
+
declare const ToolEntity: _contractspec_lib_schema673.EntitySpec<{
|
|
20
|
+
id: _contractspec_lib_schema673.EntityScalarField;
|
|
21
|
+
organizationId: _contractspec_lib_schema673.EntityScalarField;
|
|
22
|
+
name: _contractspec_lib_schema673.EntityScalarField;
|
|
23
|
+
slug: _contractspec_lib_schema673.EntityScalarField;
|
|
24
|
+
description: _contractspec_lib_schema673.EntityScalarField;
|
|
25
|
+
category: _contractspec_lib_schema673.EntityEnumField;
|
|
26
|
+
status: _contractspec_lib_schema673.EntityEnumField;
|
|
27
|
+
parametersSchema: _contractspec_lib_schema673.EntityScalarField;
|
|
28
|
+
outputSchema: _contractspec_lib_schema673.EntityScalarField;
|
|
29
|
+
implementationType: _contractspec_lib_schema673.EntityEnumField;
|
|
30
|
+
implementationConfig: _contractspec_lib_schema673.EntityScalarField;
|
|
31
|
+
maxInvocationsPerMinute: _contractspec_lib_schema673.EntityScalarField;
|
|
32
|
+
timeoutMs: _contractspec_lib_schema673.EntityScalarField;
|
|
33
|
+
version: _contractspec_lib_schema673.EntityScalarField;
|
|
34
|
+
tags: _contractspec_lib_schema673.EntityScalarField;
|
|
35
|
+
createdAt: _contractspec_lib_schema673.EntityScalarField;
|
|
36
|
+
updatedAt: _contractspec_lib_schema673.EntityScalarField;
|
|
37
|
+
createdById: _contractspec_lib_schema673.EntityScalarField;
|
|
38
|
+
agents: _contractspec_lib_schema673.EntityRelationField;
|
|
39
|
+
}>;
|
|
40
|
+
//#endregion
|
|
41
|
+
export { ImplementationTypeEntityEnum, ToolCategoryEntityEnum, ToolEntity, ToolStatusEntityEnum };
|
|
42
|
+
//# sourceMappingURL=tool.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.entity.d.ts","names":[],"sources":["../../src/tool/tool.entity.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,sBAWX,EAAA,2BAAA,CAXiC,aAWjC;AAKF;AASA;AASA;AAsDE,cAxEW,oBAwEX,EApEA,2BAAA,CAJ+B,aAwE/B;;;;cA/DW,8BAIX,2BAAA,CAJuC;;;;cAS5B,wCAAU;MAsDrB,2BAAA,CAAA;;;;;;;;;;qEAtDqB;EAAA,uBAAA,+CAAA"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { defineEntity, defineEntityEnum, field, index } from "@contractspec/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/tool/tool.entity.ts
|
|
4
|
+
/**
|
|
5
|
+
* Tool category enum for entities.
|
|
6
|
+
*/
|
|
7
|
+
const ToolCategoryEntityEnum = defineEntityEnum({
|
|
8
|
+
name: "ToolCategory",
|
|
9
|
+
values: [
|
|
10
|
+
"RETRIEVAL",
|
|
11
|
+
"COMPUTATION",
|
|
12
|
+
"COMMUNICATION",
|
|
13
|
+
"INTEGRATION",
|
|
14
|
+
"UTILITY",
|
|
15
|
+
"CUSTOM"
|
|
16
|
+
],
|
|
17
|
+
description: "Category of tool"
|
|
18
|
+
});
|
|
19
|
+
/**
|
|
20
|
+
* Tool status enum for entities.
|
|
21
|
+
*/
|
|
22
|
+
const ToolStatusEntityEnum = defineEntityEnum({
|
|
23
|
+
name: "ToolStatus",
|
|
24
|
+
values: [
|
|
25
|
+
"DRAFT",
|
|
26
|
+
"ACTIVE",
|
|
27
|
+
"DEPRECATED",
|
|
28
|
+
"DISABLED"
|
|
29
|
+
],
|
|
30
|
+
description: "Status of tool"
|
|
31
|
+
});
|
|
32
|
+
/**
|
|
33
|
+
* Implementation type enum for entities.
|
|
34
|
+
*/
|
|
35
|
+
const ImplementationTypeEntityEnum = defineEntityEnum({
|
|
36
|
+
name: "ImplementationType",
|
|
37
|
+
values: [
|
|
38
|
+
"http",
|
|
39
|
+
"function",
|
|
40
|
+
"workflow"
|
|
41
|
+
],
|
|
42
|
+
description: "How the tool is implemented"
|
|
43
|
+
});
|
|
44
|
+
/**
|
|
45
|
+
* Tool entity - Represents an AI tool definition.
|
|
46
|
+
*/
|
|
47
|
+
const ToolEntity = defineEntity({
|
|
48
|
+
name: "Tool",
|
|
49
|
+
schema: "agent_console",
|
|
50
|
+
description: "An AI tool that can be used by agents.",
|
|
51
|
+
fields: {
|
|
52
|
+
id: field.id(),
|
|
53
|
+
organizationId: field.string({ description: "Organization that owns this tool" }),
|
|
54
|
+
name: field.string({ description: "Tool name" }),
|
|
55
|
+
slug: field.string({ description: "URL-safe identifier" }),
|
|
56
|
+
description: field.string({ description: "Tool description" }),
|
|
57
|
+
category: field.enum("ToolCategory", { default: "CUSTOM" }),
|
|
58
|
+
status: field.enum("ToolStatus", { default: "DRAFT" }),
|
|
59
|
+
parametersSchema: field.json({ description: "JSON Schema for tool parameters" }),
|
|
60
|
+
outputSchema: field.json({
|
|
61
|
+
isOptional: true,
|
|
62
|
+
description: "JSON Schema for tool output"
|
|
63
|
+
}),
|
|
64
|
+
implementationType: field.enum("ImplementationType"),
|
|
65
|
+
implementationConfig: field.json({ description: "Implementation configuration" }),
|
|
66
|
+
maxInvocationsPerMinute: field.int({
|
|
67
|
+
isOptional: true,
|
|
68
|
+
description: "Rate limit"
|
|
69
|
+
}),
|
|
70
|
+
timeoutMs: field.int({
|
|
71
|
+
default: 3e4,
|
|
72
|
+
description: "Execution timeout"
|
|
73
|
+
}),
|
|
74
|
+
version: field.string({
|
|
75
|
+
default: "1.0.0",
|
|
76
|
+
description: "Tool version"
|
|
77
|
+
}),
|
|
78
|
+
tags: field.string({
|
|
79
|
+
isArray: true,
|
|
80
|
+
isOptional: true,
|
|
81
|
+
description: "Tags for categorization"
|
|
82
|
+
}),
|
|
83
|
+
createdAt: field.createdAt(),
|
|
84
|
+
updatedAt: field.updatedAt(),
|
|
85
|
+
createdById: field.string({
|
|
86
|
+
isOptional: true,
|
|
87
|
+
description: "User who created this tool"
|
|
88
|
+
}),
|
|
89
|
+
agents: field.hasMany("Agent", { description: "Agents using this tool" })
|
|
90
|
+
},
|
|
91
|
+
indexes: [
|
|
92
|
+
index.unique(["organizationId", "slug"]),
|
|
93
|
+
index.on(["organizationId", "category"]),
|
|
94
|
+
index.on(["organizationId", "status"])
|
|
95
|
+
],
|
|
96
|
+
enums: [
|
|
97
|
+
ToolCategoryEntityEnum,
|
|
98
|
+
ToolStatusEntityEnum,
|
|
99
|
+
ImplementationTypeEntityEnum
|
|
100
|
+
]
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
//#endregion
|
|
104
|
+
export { ImplementationTypeEntityEnum, ToolCategoryEntityEnum, ToolEntity, ToolStatusEntityEnum };
|
|
105
|
+
//# sourceMappingURL=tool.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.entity.js","names":[],"sources":["../../src/tool/tool.entity.ts"],"sourcesContent":["import {\n defineEntity,\n defineEntityEnum,\n field,\n index,\n} from '@contractspec/lib.schema';\n\n/**\n * Tool category enum for entities.\n */\nexport const ToolCategoryEntityEnum = defineEntityEnum({\n name: 'ToolCategory',\n values: [\n 'RETRIEVAL',\n 'COMPUTATION',\n 'COMMUNICATION',\n 'INTEGRATION',\n 'UTILITY',\n 'CUSTOM',\n ],\n description: 'Category of tool',\n});\n\n/**\n * Tool status enum for entities.\n */\nexport const ToolStatusEntityEnum = defineEntityEnum({\n name: 'ToolStatus',\n values: ['DRAFT', 'ACTIVE', 'DEPRECATED', 'DISABLED'],\n description: 'Status of tool',\n});\n\n/**\n * Implementation type enum for entities.\n */\nexport const ImplementationTypeEntityEnum = defineEntityEnum({\n name: 'ImplementationType',\n values: ['http', 'function', 'workflow'],\n description: 'How the tool is implemented',\n});\n\n/**\n * Tool entity - Represents an AI tool definition.\n */\nexport const ToolEntity = defineEntity({\n name: 'Tool',\n schema: 'agent_console',\n description: 'An AI tool that can be used by agents.',\n fields: {\n id: field.id(),\n organizationId: field.string({\n description: 'Organization that owns this tool',\n }),\n name: field.string({ description: 'Tool name' }),\n slug: field.string({ description: 'URL-safe identifier' }),\n description: field.string({ description: 'Tool description' }),\n category: field.enum('ToolCategory', { default: 'CUSTOM' }),\n status: field.enum('ToolStatus', { default: 'DRAFT' }),\n parametersSchema: field.json({\n description: 'JSON Schema for tool parameters',\n }),\n outputSchema: field.json({\n isOptional: true,\n description: 'JSON Schema for tool output',\n }),\n implementationType: field.enum('ImplementationType'),\n implementationConfig: field.json({\n description: 'Implementation configuration',\n }),\n maxInvocationsPerMinute: field.int({\n isOptional: true,\n description: 'Rate limit',\n }),\n timeoutMs: field.int({ default: 30000, description: 'Execution timeout' }),\n version: field.string({ default: '1.0.0', description: 'Tool version' }),\n tags: field.string({\n isArray: true,\n isOptional: true,\n description: 'Tags for categorization',\n }),\n createdAt: field.createdAt(),\n updatedAt: field.updatedAt(),\n createdById: field.string({\n isOptional: true,\n description: 'User who created this tool',\n }),\n agents: field.hasMany('Agent', { description: 'Agents using this tool' }),\n },\n indexes: [\n index.unique(['organizationId', 'slug']),\n index.on(['organizationId', 'category']),\n index.on(['organizationId', 'status']),\n ],\n enums: [\n ToolCategoryEntityEnum,\n ToolStatusEntityEnum,\n ImplementationTypeEntityEnum,\n ],\n});\n"],"mappings":";;;;;;AAUA,MAAa,yBAAyB,iBAAiB;CACrD,MAAM;CACN,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACD;CACD,aAAa;CACd,CAAC;;;;AAKF,MAAa,uBAAuB,iBAAiB;CACnD,MAAM;CACN,QAAQ;EAAC;EAAS;E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EACxC,MAAM,GAAG,CAAC,kBAAkB,WAAW,CAAC;EACxC,MAAM,GAAG,CAAC,kBAAkB,SAAS,CAAC;EACvC;CACD,OAAO;EACL;EACA;EACA;EACD;CACF,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as _contractspec_lib_schema696 from "@contractspec/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/tool/tool.enum.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Tool category enum.
|
|
6
|
+
*/
|
|
7
|
+
declare const ToolCategoryEnum: _contractspec_lib_schema696.EnumType<[string, string, string, string, string, string]>;
|
|
8
|
+
/**
|
|
9
|
+
* Tool status enum.
|
|
10
|
+
*/
|
|
11
|
+
declare const ToolStatusEnum: _contractspec_lib_schema696.EnumType<[string, string, string, string]>;
|
|
12
|
+
/**
|
|
13
|
+
* Implementation type enum.
|
|
14
|
+
*/
|
|
15
|
+
declare const ImplementationTypeEnum: _contractspec_lib_schema696.EnumType<[string, string, string]>;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { ImplementationTypeEnum, ToolCategoryEnum, ToolStatusEnum };
|
|
18
|
+
//# sourceMappingURL=tool.enum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.enum.d.ts","names":[],"sources":["../../src/tool/tool.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,gBAOX,EAAA,2BAAA,CAP2B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;AAY7B;AAUA;;cAVa,gBAKX,2BAAA,CALyB;;;;cAUd,wBAIX,2BAAA,CAJiC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineEnum } from "@contractspec/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/tool/tool.enum.ts
|
|
4
|
+
/**
|
|
5
|
+
* Tool category enum.
|
|
6
|
+
*/
|
|
7
|
+
const ToolCategoryEnum = defineEnum("ToolCategory", [
|
|
8
|
+
"RETRIEVAL",
|
|
9
|
+
"COMPUTATION",
|
|
10
|
+
"COMMUNICATION",
|
|
11
|
+
"INTEGRATION",
|
|
12
|
+
"UTILITY",
|
|
13
|
+
"CUSTOM"
|
|
14
|
+
]);
|
|
15
|
+
/**
|
|
16
|
+
* Tool status enum.
|
|
17
|
+
*/
|
|
18
|
+
const ToolStatusEnum = defineEnum("ToolStatus", [
|
|
19
|
+
"DRAFT",
|
|
20
|
+
"ACTIVE",
|
|
21
|
+
"DEPRECATED",
|
|
22
|
+
"DISABLED"
|
|
23
|
+
]);
|
|
24
|
+
/**
|
|
25
|
+
* Implementation type enum.
|
|
26
|
+
*/
|
|
27
|
+
const ImplementationTypeEnum = defineEnum("ImplementationType", [
|
|
28
|
+
"http",
|
|
29
|
+
"function",
|
|
30
|
+
"workflow"
|
|
31
|
+
]);
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { ImplementationTypeEnum, ToolCategoryEnum, ToolStatusEnum };
|
|
35
|
+
//# sourceMappingURL=tool.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.enum.js","names":[],"sources":["../../src/tool/tool.enum.ts"],"sourcesContent":["import { defineEnum } from '@contractspec/lib.schema';\n\n/**\n * Tool category enum.\n */\nexport const ToolCategoryEnum = defineEnum('ToolCategory', [\n 'RETRIEVAL',\n 'COMPUTATION',\n 'COMMUNICATION',\n 'INTEGRATION',\n 'UTILITY',\n 'CUSTOM',\n]);\n\n/**\n * Tool status enum.\n */\nexport const ToolStatusEnum = defineEnum('ToolStatus', [\n 'DRAFT',\n 'ACTIVE',\n 'DEPRECATED',\n 'DISABLED',\n]);\n\n/**\n * Implementation type enum.\n */\nexport const ImplementationTypeEnum = defineEnum('ImplementationType', [\n 'http',\n 'function',\n 'workflow',\n]);\n"],"mappings":";;;;;;AAKA,MAAa,mBAAmB,WAAW,gBAAgB;CACzD;CACA;CACA;CACA;CACA;CACA;CACD,CAAC;;;;AAKF,MAAa,iBAAiB,WAAW,cAAc;CACrD;CACA;CACA;CACA;CACD,CAAC;;;;AAKF,MAAa,yBAAyB,WAAW,sBAAsB;CACrE;CACA;CACA;CACD,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as _contractspec_lib_contracts37 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema699 from "@contractspec/lib.schema";
|
|
3
|
+
|
|
4
|
+
//#region src/tool/tool.event.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* ToolCreatedEvent - A new tool was created.
|
|
7
|
+
*/
|
|
8
|
+
declare const ToolCreatedEvent: _contractspec_lib_contracts37.EventSpec<_contractspec_lib_schema699.SchemaModel<{
|
|
9
|
+
id: {
|
|
10
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
11
|
+
isOptional: false;
|
|
12
|
+
};
|
|
13
|
+
organizationId: {
|
|
14
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
15
|
+
isOptional: false;
|
|
16
|
+
};
|
|
17
|
+
name: {
|
|
18
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
19
|
+
isOptional: false;
|
|
20
|
+
};
|
|
21
|
+
slug: {
|
|
22
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
23
|
+
isOptional: false;
|
|
24
|
+
};
|
|
25
|
+
category: {
|
|
26
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
27
|
+
isOptional: false;
|
|
28
|
+
};
|
|
29
|
+
implementationType: {
|
|
30
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
31
|
+
isOptional: false;
|
|
32
|
+
};
|
|
33
|
+
createdById: {
|
|
34
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
35
|
+
isOptional: true;
|
|
36
|
+
};
|
|
37
|
+
createdAt: {
|
|
38
|
+
type: _contractspec_lib_schema699.FieldType<Date, string>;
|
|
39
|
+
isOptional: false;
|
|
40
|
+
};
|
|
41
|
+
}>>;
|
|
42
|
+
/**
|
|
43
|
+
* ToolUpdatedEvent - A tool was updated.
|
|
44
|
+
*/
|
|
45
|
+
declare const ToolUpdatedEvent: _contractspec_lib_contracts37.EventSpec<_contractspec_lib_schema699.SchemaModel<{
|
|
46
|
+
id: {
|
|
47
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
48
|
+
isOptional: false;
|
|
49
|
+
};
|
|
50
|
+
organizationId: {
|
|
51
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
52
|
+
isOptional: false;
|
|
53
|
+
};
|
|
54
|
+
name: {
|
|
55
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
56
|
+
isOptional: false;
|
|
57
|
+
};
|
|
58
|
+
status: {
|
|
59
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
60
|
+
isOptional: false;
|
|
61
|
+
};
|
|
62
|
+
updatedFields: {
|
|
63
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
64
|
+
isArray: true;
|
|
65
|
+
isOptional: false;
|
|
66
|
+
};
|
|
67
|
+
updatedAt: {
|
|
68
|
+
type: _contractspec_lib_schema699.FieldType<Date, string>;
|
|
69
|
+
isOptional: false;
|
|
70
|
+
};
|
|
71
|
+
}>>;
|
|
72
|
+
/**
|
|
73
|
+
* ToolStatusChangedEvent - A tool's status was changed.
|
|
74
|
+
*/
|
|
75
|
+
declare const ToolStatusChangedEvent: _contractspec_lib_contracts37.EventSpec<_contractspec_lib_schema699.SchemaModel<{
|
|
76
|
+
id: {
|
|
77
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
78
|
+
isOptional: false;
|
|
79
|
+
};
|
|
80
|
+
organizationId: {
|
|
81
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
82
|
+
isOptional: false;
|
|
83
|
+
};
|
|
84
|
+
name: {
|
|
85
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
86
|
+
isOptional: false;
|
|
87
|
+
};
|
|
88
|
+
previousStatus: {
|
|
89
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
90
|
+
isOptional: false;
|
|
91
|
+
};
|
|
92
|
+
newStatus: {
|
|
93
|
+
type: _contractspec_lib_schema699.FieldType<string, string>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
changedAt: {
|
|
97
|
+
type: _contractspec_lib_schema699.FieldType<Date, string>;
|
|
98
|
+
isOptional: false;
|
|
99
|
+
};
|
|
100
|
+
}>>;
|
|
101
|
+
//#endregion
|
|
102
|
+
export { ToolCreatedEvent, ToolStatusChangedEvent, ToolUpdatedEvent };
|
|
103
|
+
//# sourceMappingURL=tool.event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.event.d.ts","names":[],"sources":["../../src/tool/tool.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cAgCa,kBAAgB,6BAAA,CAAA,sCAAA;EAAhB,EAAA,EAAA;IAUX,IAAA,EAAA,2BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;EAV2B,CAAA;EAAA,IAAA,EAAA;IAsChB,IAAA,uCAUX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;+CAV2B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAqChB,WAAA,EAAA;IAWX,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;cAhDW,kBAAgB,6BAAA,CAAA,sCAAA;;UAU3B,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BW,wBAAsB,6BAAA,CAAA,sCAAA;;UAWjC,2BAAA,CAAA"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { defineEvent, defineSchemaModel } from "@contractspec/lib.contracts";
|
|
2
|
+
import { ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
+
|
|
4
|
+
//#region src/tool/tool.event.ts
|
|
5
|
+
const OWNERS = ["@agent-console-team"];
|
|
6
|
+
/**
|
|
7
|
+
* Payload for tool created event.
|
|
8
|
+
*/
|
|
9
|
+
const ToolCreatedPayload = defineSchemaModel({
|
|
10
|
+
name: "ToolCreatedPayload",
|
|
11
|
+
description: "Payload for tool created event",
|
|
12
|
+
fields: {
|
|
13
|
+
id: {
|
|
14
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
15
|
+
isOptional: false
|
|
16
|
+
},
|
|
17
|
+
organizationId: {
|
|
18
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
19
|
+
isOptional: false
|
|
20
|
+
},
|
|
21
|
+
name: {
|
|
22
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
23
|
+
isOptional: false
|
|
24
|
+
},
|
|
25
|
+
slug: {
|
|
26
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
27
|
+
isOptional: false
|
|
28
|
+
},
|
|
29
|
+
category: {
|
|
30
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
31
|
+
isOptional: false
|
|
32
|
+
},
|
|
33
|
+
implementationType: {
|
|
34
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
35
|
+
isOptional: false
|
|
36
|
+
},
|
|
37
|
+
createdById: {
|
|
38
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
39
|
+
isOptional: true
|
|
40
|
+
},
|
|
41
|
+
createdAt: {
|
|
42
|
+
type: ScalarTypeEnum.DateTime(),
|
|
43
|
+
isOptional: false
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
/**
|
|
48
|
+
* ToolCreatedEvent - A new tool was created.
|
|
49
|
+
*/
|
|
50
|
+
const ToolCreatedEvent = defineEvent({
|
|
51
|
+
meta: {
|
|
52
|
+
key: "agent.tool.created",
|
|
53
|
+
version: "1.0.0",
|
|
54
|
+
description: "A new AI tool was created.",
|
|
55
|
+
stability: "stable",
|
|
56
|
+
owners: [...OWNERS],
|
|
57
|
+
tags: ["tool", "created"]
|
|
58
|
+
},
|
|
59
|
+
payload: ToolCreatedPayload
|
|
60
|
+
});
|
|
61
|
+
/**
|
|
62
|
+
* Payload for tool updated event.
|
|
63
|
+
*/
|
|
64
|
+
const ToolUpdatedPayload = defineSchemaModel({
|
|
65
|
+
name: "ToolUpdatedPayload",
|
|
66
|
+
description: "Payload for tool updated event",
|
|
67
|
+
fields: {
|
|
68
|
+
id: {
|
|
69
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
70
|
+
isOptional: false
|
|
71
|
+
},
|
|
72
|
+
organizationId: {
|
|
73
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
74
|
+
isOptional: false
|
|
75
|
+
},
|
|
76
|
+
name: {
|
|
77
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
78
|
+
isOptional: false
|
|
79
|
+
},
|
|
80
|
+
status: {
|
|
81
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
82
|
+
isOptional: false
|
|
83
|
+
},
|
|
84
|
+
updatedFields: {
|
|
85
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
86
|
+
isArray: true,
|
|
87
|
+
isOptional: false
|
|
88
|
+
},
|
|
89
|
+
updatedAt: {
|
|
90
|
+
type: ScalarTypeEnum.DateTime(),
|
|
91
|
+
isOptional: false
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
/**
|
|
96
|
+
* ToolUpdatedEvent - A tool was updated.
|
|
97
|
+
*/
|
|
98
|
+
const ToolUpdatedEvent = defineEvent({
|
|
99
|
+
meta: {
|
|
100
|
+
key: "agent.tool.updated",
|
|
101
|
+
version: "1.0.0",
|
|
102
|
+
description: "An AI tool configuration was updated.",
|
|
103
|
+
stability: "stable",
|
|
104
|
+
owners: [...OWNERS],
|
|
105
|
+
tags: ["tool", "updated"]
|
|
106
|
+
},
|
|
107
|
+
payload: ToolUpdatedPayload
|
|
108
|
+
});
|
|
109
|
+
/**
|
|
110
|
+
* Payload for tool status changed event.
|
|
111
|
+
*/
|
|
112
|
+
const ToolStatusChangedPayload = defineSchemaModel({
|
|
113
|
+
name: "ToolStatusChangedPayload",
|
|
114
|
+
description: "Payload for tool status changed event",
|
|
115
|
+
fields: {
|
|
116
|
+
id: {
|
|
117
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
118
|
+
isOptional: false
|
|
119
|
+
},
|
|
120
|
+
organizationId: {
|
|
121
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
122
|
+
isOptional: false
|
|
123
|
+
},
|
|
124
|
+
name: {
|
|
125
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
126
|
+
isOptional: false
|
|
127
|
+
},
|
|
128
|
+
previousStatus: {
|
|
129
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
130
|
+
isOptional: false
|
|
131
|
+
},
|
|
132
|
+
newStatus: {
|
|
133
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
134
|
+
isOptional: false
|
|
135
|
+
},
|
|
136
|
+
changedAt: {
|
|
137
|
+
type: ScalarTypeEnum.DateTime(),
|
|
138
|
+
isOptional: false
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
/**
|
|
143
|
+
* ToolStatusChangedEvent - A tool's status was changed.
|
|
144
|
+
*/
|
|
145
|
+
const ToolStatusChangedEvent = defineEvent({
|
|
146
|
+
meta: {
|
|
147
|
+
key: "agent.tool.statusChanged",
|
|
148
|
+
version: "1.0.0",
|
|
149
|
+
description: "An AI tool status was changed (activated, deprecated, disabled).",
|
|
150
|
+
stability: "stable",
|
|
151
|
+
owners: [...OWNERS],
|
|
152
|
+
tags: ["tool", "status"]
|
|
153
|
+
},
|
|
154
|
+
payload: ToolStatusChangedPayload
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
//#endregion
|
|
158
|
+
export { ToolCreatedEvent, ToolStatusChangedEvent, ToolUpdatedEvent };
|
|
159
|
+
//# sourceMappingURL=tool.event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.event.js","names":[],"sources":["../../src/tool/tool.event.ts"],"sourcesContent":["import { defineEvent, defineSchemaModel } from '@contractspec/lib.contracts';\nimport { ScalarTypeEnum } from '@contractspec/lib.schema';\n\nconst OWNERS = ['@agent-console-team'] as const;\n\n/**\n * Payload for tool created event.\n */\nconst ToolCreatedPayload = defineSchemaModel({\n name: 'ToolCreatedPayload',\n description: 'Payload for tool created event',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n slug: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n category: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n implementationType: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n createdById: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * ToolCreatedEvent - A new tool was created.\n */\nexport const ToolCreatedEvent = defineEvent({\n meta: {\n key: 'agent.tool.created',\n version: '1.0.0',\n description: 'A new AI tool was created.',\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'created'],\n },\n payload: ToolCreatedPayload,\n});\n\n/**\n * Payload for tool updated event.\n */\nconst ToolUpdatedPayload = defineSchemaModel({\n name: 'ToolUpdatedPayload',\n description: 'Payload for tool updated event',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n updatedFields: {\n type: ScalarTypeEnum.String_unsecure(),\n isArray: true,\n isOptional: false,\n },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * ToolUpdatedEvent - A tool was updated.\n */\nexport const ToolUpdatedEvent = defineEvent({\n meta: {\n key: 'agent.tool.updated',\n version: '1.0.0',\n description: 'An AI tool configuration was updated.',\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'updated'],\n },\n payload: ToolUpdatedPayload,\n});\n\n/**\n * Payload for tool status changed event.\n */\nconst ToolStatusChangedPayload = defineSchemaModel({\n name: 'ToolStatusChangedPayload',\n description: 'Payload for tool status changed event',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n previousStatus: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n newStatus: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n changedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * ToolStatusChangedEvent - A tool's status was changed.\n */\nexport const ToolStatusChangedEvent = defineEvent({\n meta: {\n key: 'agent.tool.statusChanged',\n version: '1.0.0',\n description:\n 'An AI tool status was changed (activated, deprecated, disabled).',\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'status'],\n },\n payload: ToolStatusChangedPayload,\n});\n"],"mappings":";;;;AAGA,MAAM,SAAS,CAAC,sBAAsB;;;;AAKtC,MAAM,qBAAqB,kBAAkB;CAC3C,MAAM;CACN,aAAa;CACb,QAAQ;EACN,IAAI;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACjE,gBAAgB;GACd,MAAM,eAAe,iBAAiB;GACtC,YAAY;GACb;EACD,MAAM;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACnE,MAAM;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;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