@contractspec/example.agent-console 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +133 -0
  2. package/.turbo/turbo-build.log +134 -0
  3. package/CHANGELOG.md +212 -0
  4. package/LICENSE +21 -0
  5. package/README.md +86 -0
  6. package/dist/agent/agent.entity.d.ts +55 -0
  7. package/dist/agent/agent.entity.d.ts.map +1 -0
  8. package/dist/agent/agent.entity.js +136 -0
  9. package/dist/agent/agent.entity.js.map +1 -0
  10. package/dist/agent/agent.enum.d.ts +18 -0
  11. package/dist/agent/agent.enum.d.ts.map +1 -0
  12. package/dist/agent/agent.enum.js +34 -0
  13. package/dist/agent/agent.enum.js.map +1 -0
  14. package/dist/agent/agent.event.d.ts +128 -0
  15. package/dist/agent/agent.event.d.ts.map +1 -0
  16. package/dist/agent/agent.event.js +210 -0
  17. package/dist/agent/agent.event.js.map +1 -0
  18. package/dist/agent/agent.handler.d.ts +100 -0
  19. package/dist/agent/agent.handler.d.ts.map +1 -0
  20. package/dist/agent/agent.handler.js +84 -0
  21. package/dist/agent/agent.handler.js.map +1 -0
  22. package/dist/agent/agent.operation.d.ts +471 -0
  23. package/dist/agent/agent.operation.d.ts.map +1 -0
  24. package/dist/agent/agent.operation.js +486 -0
  25. package/dist/agent/agent.operation.js.map +1 -0
  26. package/dist/agent/agent.presentation.d.ts +19 -0
  27. package/dist/agent/agent.presentation.d.ts.map +1 -0
  28. package/dist/agent/agent.presentation.js +89 -0
  29. package/dist/agent/agent.presentation.js.map +1 -0
  30. package/dist/agent/agent.schema.d.ts +401 -0
  31. package/dist/agent/agent.schema.d.ts.map +1 -0
  32. package/dist/agent/agent.schema.js +406 -0
  33. package/dist/agent/agent.schema.js.map +1 -0
  34. package/dist/agent/index.d.ts +8 -0
  35. package/dist/agent/index.js +9 -0
  36. package/dist/agent.feature.d.ts +12 -0
  37. package/dist/agent.feature.d.ts.map +1 -0
  38. package/dist/agent.feature.js +303 -0
  39. package/dist/agent.feature.js.map +1 -0
  40. package/dist/docs/agent-console.docblock.d.ts +1 -0
  41. package/dist/docs/agent-console.docblock.js +113 -0
  42. package/dist/docs/agent-console.docblock.js.map +1 -0
  43. package/dist/docs/index.d.ts +1 -0
  44. package/dist/docs/index.js +1 -0
  45. package/dist/example.d.ts +40 -0
  46. package/dist/example.d.ts.map +1 -0
  47. package/dist/example.js +51 -0
  48. package/dist/example.js.map +1 -0
  49. package/dist/handlers/index.d.ts +4 -0
  50. package/dist/handlers/index.js +5 -0
  51. package/dist/index.d.ts +30 -0
  52. package/dist/index.js +32 -0
  53. package/dist/presentations/index.d.ts +4 -0
  54. package/dist/presentations/index.js +5 -0
  55. package/dist/run/index.d.ts +8 -0
  56. package/dist/run/index.js +9 -0
  57. package/dist/run/run.entity.d.ts +82 -0
  58. package/dist/run/run.entity.d.ts.map +1 -0
  59. package/dist/run/run.entity.js +205 -0
  60. package/dist/run/run.entity.js.map +1 -0
  61. package/dist/run/run.enum.d.ts +22 -0
  62. package/dist/run/run.enum.d.ts.map +1 -0
  63. package/dist/run/run.enum.js +45 -0
  64. package/dist/run/run.enum.js.map +1 -0
  65. package/dist/run/run.event.d.ts +290 -0
  66. package/dist/run/run.event.d.ts.map +1 -0
  67. package/dist/run/run.event.js +434 -0
  68. package/dist/run/run.event.js.map +1 -0
  69. package/dist/run/run.handler.d.ts +203 -0
  70. package/dist/run/run.handler.d.ts.map +1 -0
  71. package/dist/run/run.handler.js +83 -0
  72. package/dist/run/run.handler.js.map +1 -0
  73. package/dist/run/run.operation.d.ts +720 -0
  74. package/dist/run/run.operation.d.ts.map +1 -0
  75. package/dist/run/run.operation.js +626 -0
  76. package/dist/run/run.operation.js.map +1 -0
  77. package/dist/run/run.presentation.d.ts +15 -0
  78. package/dist/run/run.presentation.d.ts.map +1 -0
  79. package/dist/run/run.presentation.js +65 -0
  80. package/dist/run/run.presentation.js.map +1 -0
  81. package/dist/run/run.schema.d.ts +416 -0
  82. package/dist/run/run.schema.d.ts.map +1 -0
  83. package/dist/run/run.schema.js +338 -0
  84. package/dist/run/run.schema.js.map +1 -0
  85. package/dist/shared/index.d.ts +4 -0
  86. package/dist/shared/index.js +5 -0
  87. package/dist/shared/mock-agents.d.ts +88 -0
  88. package/dist/shared/mock-agents.d.ts.map +1 -0
  89. package/dist/shared/mock-agents.js +94 -0
  90. package/dist/shared/mock-agents.js.map +1 -0
  91. package/dist/shared/mock-runs.d.ts +120 -0
  92. package/dist/shared/mock-runs.d.ts.map +1 -0
  93. package/dist/shared/mock-runs.js +118 -0
  94. package/dist/shared/mock-runs.js.map +1 -0
  95. package/dist/shared/mock-tools.d.ts +244 -0
  96. package/dist/shared/mock-tools.d.ts.map +1 -0
  97. package/dist/shared/mock-tools.js +181 -0
  98. package/dist/shared/mock-tools.js.map +1 -0
  99. package/dist/tool/index.d.ts +8 -0
  100. package/dist/tool/index.js +9 -0
  101. package/dist/tool/tool.entity.d.ts +42 -0
  102. package/dist/tool/tool.entity.d.ts.map +1 -0
  103. package/dist/tool/tool.entity.js +105 -0
  104. package/dist/tool/tool.entity.js.map +1 -0
  105. package/dist/tool/tool.enum.d.ts +18 -0
  106. package/dist/tool/tool.enum.d.ts.map +1 -0
  107. package/dist/tool/tool.enum.js +35 -0
  108. package/dist/tool/tool.enum.js.map +1 -0
  109. package/dist/tool/tool.event.d.ts +103 -0
  110. package/dist/tool/tool.event.d.ts.map +1 -0
  111. package/dist/tool/tool.event.js +159 -0
  112. package/dist/tool/tool.event.js.map +1 -0
  113. package/dist/tool/tool.handler.d.ts +315 -0
  114. package/dist/tool/tool.handler.d.ts.map +1 -0
  115. package/dist/tool/tool.handler.js +87 -0
  116. package/dist/tool/tool.handler.js.map +1 -0
  117. package/dist/tool/tool.operation.d.ts +411 -0
  118. package/dist/tool/tool.operation.d.ts.map +1 -0
  119. package/dist/tool/tool.operation.js +406 -0
  120. package/dist/tool/tool.operation.js.map +1 -0
  121. package/dist/tool/tool.presentation.d.ts +15 -0
  122. package/dist/tool/tool.presentation.d.ts.map +1 -0
  123. package/dist/tool/tool.presentation.js +65 -0
  124. package/dist/tool/tool.presentation.js.map +1 -0
  125. package/dist/tool/tool.schema.d.ts +218 -0
  126. package/dist/tool/tool.schema.d.ts.map +1 -0
  127. package/dist/tool/tool.schema.js +236 -0
  128. package/dist/tool/tool.schema.js.map +1 -0
  129. package/example.ts +1 -0
  130. package/package.json +123 -0
  131. package/src/agent/agent.entity.ts +137 -0
  132. package/src/agent/agent.enum.ts +31 -0
  133. package/src/agent/agent.event.ts +142 -0
  134. package/src/agent/agent.handler.ts +178 -0
  135. package/src/agent/agent.operation.ts +444 -0
  136. package/src/agent/agent.presentation.ts +81 -0
  137. package/src/agent/agent.schema.ts +214 -0
  138. package/src/agent/index.ts +67 -0
  139. package/src/agent.feature.ts +146 -0
  140. package/src/docs/agent-console.docblock.ts +97 -0
  141. package/src/docs/index.ts +1 -0
  142. package/src/example.ts +34 -0
  143. package/src/handlers/index.ts +27 -0
  144. package/src/index.ts +27 -0
  145. package/src/presentations/index.ts +26 -0
  146. package/src/run/index.ts +68 -0
  147. package/src/run/run.entity.ts +175 -0
  148. package/src/run/run.enum.ts +43 -0
  149. package/src/run/run.event.ts +264 -0
  150. package/src/run/run.handler.ts +138 -0
  151. package/src/run/run.operation.ts +524 -0
  152. package/src/run/run.presentation.ts +55 -0
  153. package/src/run/run.schema.ts +169 -0
  154. package/src/shared/index.ts +6 -0
  155. package/src/shared/mock-agents.ts +81 -0
  156. package/src/shared/mock-runs.ts +107 -0
  157. package/src/shared/mock-tools.ts +145 -0
  158. package/src/tool/index.ts +60 -0
  159. package/src/tool/tool.entity.ts +99 -0
  160. package/src/tool/tool.enum.ts +32 -0
  161. package/src/tool/tool.event.ts +119 -0
  162. package/src/tool/tool.handler.ts +154 -0
  163. package/src/tool/tool.operation.ts +366 -0
  164. package/src/tool/tool.presentation.ts +56 -0
  165. package/src/tool/tool.schema.ts +133 -0
  166. package/tsconfig.json +10 -0
  167. package/tsconfig.tsbuildinfo +1 -0
  168. package/tsdown.config.js +7 -0
@@ -0,0 +1,118 @@
1
+ //#region src/shared/mock-runs.ts
2
+ /**
3
+ * Mock run data for testing and demos.
4
+ */
5
+ const MOCK_RUNS = [
6
+ {
7
+ id: "run-1",
8
+ organizationId: "demo-org",
9
+ agentId: "agent-1",
10
+ agentName: "Customer Support Bot",
11
+ userId: "user-1",
12
+ sessionId: "session-1",
13
+ input: {
14
+ message: "How do I reset my password?",
15
+ context: {}
16
+ },
17
+ output: { response: "You can reset your password by clicking..." },
18
+ status: "COMPLETED",
19
+ totalTokens: 1250,
20
+ promptTokens: 800,
21
+ completionTokens: 450,
22
+ totalIterations: 3,
23
+ durationMs: 4500,
24
+ estimatedCostUsd: .0025,
25
+ queuedAt: /* @__PURE__ */ new Date("2024-04-15T10:00:00Z"),
26
+ startedAt: /* @__PURE__ */ new Date("2024-04-15T10:00:01Z"),
27
+ completedAt: /* @__PURE__ */ new Date("2024-04-15T10:00:05Z"),
28
+ steps: [],
29
+ logs: []
30
+ },
31
+ {
32
+ id: "run-2",
33
+ organizationId: "demo-org",
34
+ agentId: "agent-2",
35
+ agentName: "Code Review Assistant",
36
+ userId: "user-2",
37
+ input: {
38
+ message: "Review PR #123",
39
+ context: { prNumber: 123 }
40
+ },
41
+ status: "IN_PROGRESS",
42
+ totalTokens: 3500,
43
+ promptTokens: 3e3,
44
+ completionTokens: 500,
45
+ totalIterations: 5,
46
+ queuedAt: /* @__PURE__ */ new Date("2024-04-15T10:30:00Z"),
47
+ startedAt: /* @__PURE__ */ new Date("2024-04-15T10:30:02Z"),
48
+ steps: [],
49
+ logs: []
50
+ },
51
+ {
52
+ id: "run-3",
53
+ organizationId: "demo-org",
54
+ agentId: "agent-1",
55
+ agentName: "Customer Support Bot",
56
+ userId: "user-1",
57
+ input: { message: "What are your business hours?" },
58
+ output: { response: "Our business hours are 9 AM to 5 PM EST..." },
59
+ status: "COMPLETED",
60
+ totalTokens: 800,
61
+ promptTokens: 500,
62
+ completionTokens: 300,
63
+ totalIterations: 2,
64
+ durationMs: 2100,
65
+ estimatedCostUsd: .0012,
66
+ queuedAt: /* @__PURE__ */ new Date("2024-04-15T09:00:00Z"),
67
+ startedAt: /* @__PURE__ */ new Date("2024-04-15T09:00:01Z"),
68
+ completedAt: /* @__PURE__ */ new Date("2024-04-15T09:00:03Z"),
69
+ steps: [],
70
+ logs: []
71
+ },
72
+ {
73
+ id: "run-4",
74
+ organizationId: "demo-org",
75
+ agentId: "agent-3",
76
+ agentName: "Data Analyst",
77
+ userId: "user-3",
78
+ input: { message: "Generate sales report for Q1" },
79
+ status: "FAILED",
80
+ errorMessage: "Database connection timeout",
81
+ errorCode: "DB_TIMEOUT",
82
+ totalTokens: 2e3,
83
+ promptTokens: 1500,
84
+ completionTokens: 500,
85
+ totalIterations: 8,
86
+ durationMs: 45e3,
87
+ queuedAt: /* @__PURE__ */ new Date("2024-04-14T15:00:00Z"),
88
+ startedAt: /* @__PURE__ */ new Date("2024-04-14T15:00:05Z"),
89
+ completedAt: /* @__PURE__ */ new Date("2024-04-14T15:00:50Z"),
90
+ steps: [],
91
+ logs: []
92
+ },
93
+ {
94
+ id: "run-5",
95
+ organizationId: "demo-org",
96
+ agentId: "agent-2",
97
+ agentName: "Code Review Assistant",
98
+ userId: "user-2",
99
+ input: { message: "Review PR #120" },
100
+ output: { response: "Code review complete. 3 suggestions..." },
101
+ status: "COMPLETED",
102
+ totalTokens: 5200,
103
+ promptTokens: 4e3,
104
+ completionTokens: 1200,
105
+ totalIterations: 7,
106
+ durationMs: 15e3,
107
+ estimatedCostUsd: .0156,
108
+ queuedAt: /* @__PURE__ */ new Date("2024-04-14T11:00:00Z"),
109
+ startedAt: /* @__PURE__ */ new Date("2024-04-14T11:00:03Z"),
110
+ completedAt: /* @__PURE__ */ new Date("2024-04-14T11:00:18Z"),
111
+ steps: [],
112
+ logs: []
113
+ }
114
+ ];
115
+
116
+ //#endregion
117
+ export { MOCK_RUNS };
118
+ //# sourceMappingURL=mock-runs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mock-runs.js","names":[],"sources":["../../src/shared/mock-runs.ts"],"sourcesContent":["/**\n * Mock run data for testing and demos.\n */\nexport const MOCK_RUNS = [\n {\n id: 'run-1',\n organizationId: 'demo-org',\n agentId: 'agent-1',\n agentName: 'Customer Support Bot',\n userId: 'user-1',\n sessionId: 'session-1',\n input: { message: 'How do I reset my password?', context: {} },\n output: { response: 'You can reset your password by clicking...' },\n status: 'COMPLETED' as const,\n totalTokens: 1250,\n promptTokens: 800,\n completionTokens: 450,\n totalIterations: 3,\n durationMs: 4500,\n estimatedCostUsd: 0.0025,\n queuedAt: new Date('2024-04-15T10:00:00Z'),\n startedAt: new Date('2024-04-15T10:00:01Z'),\n completedAt: new Date('2024-04-15T10:00:05Z'),\n steps: [],\n logs: [],\n },\n {\n id: 'run-2',\n organizationId: 'demo-org',\n agentId: 'agent-2',\n agentName: 'Code Review Assistant',\n userId: 'user-2',\n input: { message: 'Review PR #123', context: { prNumber: 123 } },\n status: 'IN_PROGRESS' as const,\n totalTokens: 3500,\n promptTokens: 3000,\n completionTokens: 500,\n totalIterations: 5,\n queuedAt: new Date('2024-04-15T10:30:00Z'),\n startedAt: new Date('2024-04-15T10:30:02Z'),\n steps: [],\n logs: [],\n },\n {\n id: 'run-3',\n organizationId: 'demo-org',\n agentId: 'agent-1',\n agentName: 'Customer Support Bot',\n userId: 'user-1',\n input: { message: 'What are your business hours?' },\n output: { response: 'Our business hours are 9 AM to 5 PM EST...' },\n status: 'COMPLETED' as const,\n totalTokens: 800,\n promptTokens: 500,\n completionTokens: 300,\n totalIterations: 2,\n durationMs: 2100,\n estimatedCostUsd: 0.0012,\n queuedAt: new Date('2024-04-15T09:00:00Z'),\n startedAt: new Date('2024-04-15T09:00:01Z'),\n completedAt: new Date('2024-04-15T09:00:03Z'),\n steps: [],\n logs: [],\n },\n {\n id: 'run-4',\n organizationId: 'demo-org',\n agentId: 'agent-3',\n agentName: 'Data Analyst',\n userId: 'user-3',\n input: { message: 'Generate sales report for Q1' },\n status: 'FAILED' as const,\n errorMessage: 'Database connection timeout',\n errorCode: 'DB_TIMEOUT',\n totalTokens: 2000,\n promptTokens: 1500,\n completionTokens: 500,\n totalIterations: 8,\n durationMs: 45000,\n queuedAt: new Date('2024-04-14T15:00:00Z'),\n startedAt: new Date('2024-04-14T15:00:05Z'),\n completedAt: new Date('2024-04-14T15:00:50Z'),\n steps: [],\n logs: [],\n },\n {\n id: 'run-5',\n organizationId: 'demo-org',\n agentId: 'agent-2',\n agentName: 'Code Review Assistant',\n userId: 'user-2',\n input: { message: 'Review PR #120' },\n output: { response: 'Code review complete. 3 suggestions...' },\n status: 'COMPLETED' as const,\n totalTokens: 5200,\n promptTokens: 4000,\n completionTokens: 1200,\n totalIterations: 7,\n durationMs: 15000,\n estimatedCostUsd: 0.0156,\n queuedAt: new Date('2024-04-14T11:00:00Z'),\n startedAt: new Date('2024-04-14T11:00:03Z'),\n completedAt: new Date('2024-04-14T11:00:18Z'),\n steps: [],\n logs: [],\n },\n];\n"],"mappings":";;;;AAGA,MAAa,YAAY;CACvB;EACE,IAAI;EACJ,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,QAAQ;EACR,WAAW;EACX,OAAO;GAAE,SAAS;GAA+B,SAAS,EAAE;GAAE;EAC9D,QAAQ,EAAE,UAAU,8CAA8C;EAClE,QAAQ;EACR,aAAa;EACb,cAAc;EACd,kBAAkB;EAClB,iBAAiB;EACjB,YAAY;EACZ,kBAAkB;EAClB,0BAAU,IAAI,KAAK,uBAAuB;EAC1C,2BAAW,IAAI,KAAK,uBAAuB;EAC3C,6BAAa,IAAI,KAAK,uBAAuB;EAC7C,OAAO,EAAE;EACT,MAAM,EAAE;EACT;CACD;EACE,IAAI;EACJ,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,QAAQ;EACR,OAAO;GAAE,SAAS;GAAkB,SAAS,EAAE,UAAU,KAAK;GAAE;EAChE,QAAQ;EACR,aAAa;EACb,cAAc;EACd,kBAAkB;EAClB,iBAAiB;EACjB,0BAAU,IAAI,KAAK,uBAAuB;EAC1C,2BAAW,IAAI,KAAK,uBAAuB;EAC3C,OAAO,EAAE;EACT,MAAM,EAAE;EACT;CACD;EACE,IAAI;EACJ,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,QAAQ;EACR,OAAO,EAAE,SAAS,iCAAiC;EACnD,QAAQ,EAAE,UAAU,8CAA8C;EAClE,QAAQ;EACR,aAAa;EACb,cAAc;EACd,kBAAkB;EAClB,iBAAiB;EACjB,YAAY;EACZ,kBAAkB;EAClB,0BAAU,IAAI,KAAK,uBAAuB;EAC1C,2BAAW,IAAI,KAAK,uBAAuB;EAC3C,6BAAa,IAAI,KAAK,uBAAuB;EAC7C,OAAO,EAAE;EACT,MAAM,EAAE;EACT;CACD;EACE,IAAI;EACJ,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,QAAQ;EACR,OAAO,EAAE,SAAS,gCAAgC;EAClD,QAAQ;EACR,cAAc;EACd,WAAW;EACX,aAAa;EACb,cAAc;EACd,kBAAkB;EAClB,iBAAiB;EACjB,YAAY;EACZ,0BAAU,IAAI,KAAK,uBAAuB;EAC1C,2BAAW,IAAI,KAAK,uBAAuB;EAC3C,6BAAa,IAAI,KAAK,uBAAuB;EAC7C,OAAO,EAAE;EACT,MAAM,EAAE;EACT;CACD;EACE,IAAI;EACJ,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,QAAQ;EACR,OAAO,EAAE,SAAS,kBAAkB;EACpC,QAAQ,EAAE,UAAU,0CAA0C;EAC9D,QAAQ;EACR,aAAa;EACb,cAAc;EACd,kBAAkB;EAClB,iBAAiB;EACjB,YAAY;EACZ,kBAAkB;EAClB,0BAAU,IAAI,KAAK,uBAAuB;EAC1C,2BAAW,IAAI,KAAK,uBAAuB;EAC3C,6BAAa,IAAI,KAAK,uBAAuB;EAC7C,OAAO,EAAE;EACT,MAAM,EAAE;EACT;CACF"}
@@ -0,0 +1,244 @@
1
+ //#region src/shared/mock-tools.d.ts
2
+ /**
3
+ * Mock tool data for testing and demos.
4
+ */
5
+ declare const MOCK_TOOLS: ({
6
+ id: string;
7
+ organizationId: string;
8
+ name: string;
9
+ slug: string;
10
+ description: string;
11
+ category: "RETRIEVAL";
12
+ status: "ACTIVE";
13
+ parametersSchema: {
14
+ type: string;
15
+ properties: {
16
+ query: {
17
+ type: string;
18
+ description: string;
19
+ };
20
+ numResults: {
21
+ type: string;
22
+ default: number;
23
+ };
24
+ maxRows?: undefined;
25
+ to?: undefined;
26
+ subject?: undefined;
27
+ body?: undefined;
28
+ action?: undefined;
29
+ repo?: undefined;
30
+ params?: undefined;
31
+ expression?: undefined;
32
+ };
33
+ required: string[];
34
+ };
35
+ outputSchema: {
36
+ type: string;
37
+ items: {
38
+ type: string;
39
+ };
40
+ properties?: undefined;
41
+ };
42
+ implementationType: "http";
43
+ implementationConfig: {
44
+ url: string;
45
+ method: string;
46
+ handler?: undefined;
47
+ auth?: undefined;
48
+ };
49
+ maxInvocationsPerMinute: number;
50
+ timeoutMs: number;
51
+ version: string;
52
+ tags: string[];
53
+ createdAt: Date;
54
+ updatedAt: Date;
55
+ } | {
56
+ id: string;
57
+ organizationId: string;
58
+ name: string;
59
+ slug: string;
60
+ description: string;
61
+ category: "RETRIEVAL";
62
+ status: "ACTIVE";
63
+ parametersSchema: {
64
+ type: string;
65
+ properties: {
66
+ query: {
67
+ type: string;
68
+ description: string;
69
+ };
70
+ maxRows: {
71
+ type: string;
72
+ default: number;
73
+ };
74
+ numResults?: undefined;
75
+ to?: undefined;
76
+ subject?: undefined;
77
+ body?: undefined;
78
+ action?: undefined;
79
+ repo?: undefined;
80
+ params?: undefined;
81
+ expression?: undefined;
82
+ };
83
+ required: string[];
84
+ };
85
+ outputSchema: {
86
+ type: string;
87
+ items?: undefined;
88
+ properties?: undefined;
89
+ };
90
+ implementationType: "function";
91
+ implementationConfig: {
92
+ handler: string;
93
+ url?: undefined;
94
+ method?: undefined;
95
+ auth?: undefined;
96
+ };
97
+ maxInvocationsPerMinute: number;
98
+ timeoutMs: number;
99
+ version: string;
100
+ tags: string[];
101
+ createdAt: Date;
102
+ updatedAt: Date;
103
+ } | {
104
+ id: string;
105
+ organizationId: string;
106
+ name: string;
107
+ slug: string;
108
+ description: string;
109
+ category: "COMMUNICATION";
110
+ status: "ACTIVE";
111
+ parametersSchema: {
112
+ type: string;
113
+ properties: {
114
+ to: {
115
+ type: string;
116
+ };
117
+ subject: {
118
+ type: string;
119
+ };
120
+ body: {
121
+ type: string;
122
+ };
123
+ query?: undefined;
124
+ numResults?: undefined;
125
+ maxRows?: undefined;
126
+ action?: undefined;
127
+ repo?: undefined;
128
+ params?: undefined;
129
+ expression?: undefined;
130
+ };
131
+ required: string[];
132
+ };
133
+ implementationType: "http";
134
+ implementationConfig: {
135
+ url: string;
136
+ method: string;
137
+ handler?: undefined;
138
+ auth?: undefined;
139
+ };
140
+ maxInvocationsPerMinute: number;
141
+ timeoutMs: number;
142
+ version: string;
143
+ tags: string[];
144
+ createdAt: Date;
145
+ updatedAt: Date;
146
+ outputSchema?: undefined;
147
+ } | {
148
+ id: string;
149
+ organizationId: string;
150
+ name: string;
151
+ slug: string;
152
+ description: string;
153
+ category: "INTEGRATION";
154
+ status: "ACTIVE";
155
+ parametersSchema: {
156
+ type: string;
157
+ properties: {
158
+ action: {
159
+ type: string;
160
+ enum: string[];
161
+ };
162
+ repo: {
163
+ type: string;
164
+ };
165
+ params: {
166
+ type: string;
167
+ };
168
+ query?: undefined;
169
+ numResults?: undefined;
170
+ maxRows?: undefined;
171
+ to?: undefined;
172
+ subject?: undefined;
173
+ body?: undefined;
174
+ expression?: undefined;
175
+ };
176
+ required: string[];
177
+ };
178
+ implementationType: "http";
179
+ implementationConfig: {
180
+ url: string;
181
+ auth: string;
182
+ method?: undefined;
183
+ handler?: undefined;
184
+ };
185
+ maxInvocationsPerMinute: number;
186
+ timeoutMs: number;
187
+ version: string;
188
+ tags: string[];
189
+ createdAt: Date;
190
+ updatedAt: Date;
191
+ outputSchema?: undefined;
192
+ } | {
193
+ id: string;
194
+ organizationId: string;
195
+ name: string;
196
+ slug: string;
197
+ description: string;
198
+ category: "COMPUTATION";
199
+ status: "ACTIVE";
200
+ parametersSchema: {
201
+ type: string;
202
+ properties: {
203
+ expression: {
204
+ type: string;
205
+ description: string;
206
+ };
207
+ query?: undefined;
208
+ numResults?: undefined;
209
+ maxRows?: undefined;
210
+ to?: undefined;
211
+ subject?: undefined;
212
+ body?: undefined;
213
+ action?: undefined;
214
+ repo?: undefined;
215
+ params?: undefined;
216
+ };
217
+ required: string[];
218
+ };
219
+ outputSchema: {
220
+ type: string;
221
+ properties: {
222
+ result: {
223
+ type: string;
224
+ };
225
+ };
226
+ items?: undefined;
227
+ };
228
+ implementationType: "function";
229
+ implementationConfig: {
230
+ handler: string;
231
+ url?: undefined;
232
+ method?: undefined;
233
+ auth?: undefined;
234
+ };
235
+ timeoutMs: number;
236
+ version: string;
237
+ tags: string[];
238
+ createdAt: Date;
239
+ updatedAt: Date;
240
+ maxInvocationsPerMinute?: undefined;
241
+ })[];
242
+ //#endregion
243
+ export { MOCK_TOOLS };
244
+ //# sourceMappingURL=mock-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mock-tools.d.ts","names":[],"sources":["../../src/shared/mock-tools.ts"],"sourcesContent":[],"mappings":";;AAGA;;cAAa"}
@@ -0,0 +1,181 @@
1
+ //#region src/shared/mock-tools.ts
2
+ /**
3
+ * Mock tool data for testing and demos.
4
+ */
5
+ const MOCK_TOOLS = [
6
+ {
7
+ id: "tool-1",
8
+ organizationId: "demo-org",
9
+ name: "Web Search",
10
+ slug: "web-search",
11
+ description: "Search the web for real-time information using Brave API.",
12
+ category: "RETRIEVAL",
13
+ status: "ACTIVE",
14
+ parametersSchema: {
15
+ type: "object",
16
+ properties: {
17
+ query: {
18
+ type: "string",
19
+ description: "Search query"
20
+ },
21
+ numResults: {
22
+ type: "number",
23
+ default: 10
24
+ }
25
+ },
26
+ required: ["query"]
27
+ },
28
+ outputSchema: {
29
+ type: "array",
30
+ items: { type: "object" }
31
+ },
32
+ implementationType: "http",
33
+ implementationConfig: {
34
+ url: "https://api.brave.com/search",
35
+ method: "GET"
36
+ },
37
+ maxInvocationsPerMinute: 60,
38
+ timeoutMs: 3e4,
39
+ version: "1.0.0",
40
+ tags: ["search", "web"],
41
+ createdAt: /* @__PURE__ */ new Date("2024-01-01T00:00:00Z"),
42
+ updatedAt: /* @__PURE__ */ new Date("2024-02-15T10:00:00Z")
43
+ },
44
+ {
45
+ id: "tool-2",
46
+ organizationId: "demo-org",
47
+ name: "SQL Query",
48
+ slug: "sql-query",
49
+ description: "Execute read-only SQL queries against the data warehouse.",
50
+ category: "RETRIEVAL",
51
+ status: "ACTIVE",
52
+ parametersSchema: {
53
+ type: "object",
54
+ properties: {
55
+ query: {
56
+ type: "string",
57
+ description: "SQL query"
58
+ },
59
+ maxRows: {
60
+ type: "number",
61
+ default: 100
62
+ }
63
+ },
64
+ required: ["query"]
65
+ },
66
+ outputSchema: { type: "object" },
67
+ implementationType: "function",
68
+ implementationConfig: { handler: "executeSqlQuery" },
69
+ maxInvocationsPerMinute: 30,
70
+ timeoutMs: 6e4,
71
+ version: "1.1.0",
72
+ tags: ["sql", "database"],
73
+ createdAt: /* @__PURE__ */ new Date("2024-01-05T00:00:00Z"),
74
+ updatedAt: /* @__PURE__ */ new Date("2024-03-10T14:00:00Z")
75
+ },
76
+ {
77
+ id: "tool-3",
78
+ organizationId: "demo-org",
79
+ name: "Email Sender",
80
+ slug: "email-sender",
81
+ description: "Send emails via SMTP or API.",
82
+ category: "COMMUNICATION",
83
+ status: "ACTIVE",
84
+ parametersSchema: {
85
+ type: "object",
86
+ properties: {
87
+ to: { type: "string" },
88
+ subject: { type: "string" },
89
+ body: { type: "string" }
90
+ },
91
+ required: [
92
+ "to",
93
+ "subject",
94
+ "body"
95
+ ]
96
+ },
97
+ implementationType: "http",
98
+ implementationConfig: {
99
+ url: "/api/send-email",
100
+ method: "POST"
101
+ },
102
+ maxInvocationsPerMinute: 10,
103
+ timeoutMs: 3e4,
104
+ version: "1.0.0",
105
+ tags: ["email", "communication"],
106
+ createdAt: /* @__PURE__ */ new Date("2024-02-01T00:00:00Z"),
107
+ updatedAt: /* @__PURE__ */ new Date("2024-02-01T00:00:00Z")
108
+ },
109
+ {
110
+ id: "tool-4",
111
+ organizationId: "demo-org",
112
+ name: "GitHub Integration",
113
+ slug: "github-integration",
114
+ description: "Interact with GitHub repositories, PRs, and issues.",
115
+ category: "INTEGRATION",
116
+ status: "ACTIVE",
117
+ parametersSchema: {
118
+ type: "object",
119
+ properties: {
120
+ action: {
121
+ type: "string",
122
+ enum: [
123
+ "list_prs",
124
+ "get_pr",
125
+ "create_comment"
126
+ ]
127
+ },
128
+ repo: { type: "string" },
129
+ params: { type: "object" }
130
+ },
131
+ required: ["action", "repo"]
132
+ },
133
+ implementationType: "http",
134
+ implementationConfig: {
135
+ url: "https://api.github.com",
136
+ auth: "token"
137
+ },
138
+ maxInvocationsPerMinute: 100,
139
+ timeoutMs: 15e3,
140
+ version: "2.0.0",
141
+ tags: [
142
+ "github",
143
+ "integration",
144
+ "code"
145
+ ],
146
+ createdAt: /* @__PURE__ */ new Date("2024-02-20T00:00:00Z"),
147
+ updatedAt: /* @__PURE__ */ new Date("2024-04-01T09:00:00Z")
148
+ },
149
+ {
150
+ id: "tool-5",
151
+ organizationId: "demo-org",
152
+ name: "Calculator",
153
+ slug: "calculator",
154
+ description: "Perform mathematical calculations.",
155
+ category: "COMPUTATION",
156
+ status: "ACTIVE",
157
+ parametersSchema: {
158
+ type: "object",
159
+ properties: { expression: {
160
+ type: "string",
161
+ description: "Math expression to evaluate"
162
+ } },
163
+ required: ["expression"]
164
+ },
165
+ outputSchema: {
166
+ type: "object",
167
+ properties: { result: { type: "number" } }
168
+ },
169
+ implementationType: "function",
170
+ implementationConfig: { handler: "evaluateMath" },
171
+ timeoutMs: 5e3,
172
+ version: "1.0.0",
173
+ tags: ["math", "utility"],
174
+ createdAt: /* @__PURE__ */ new Date("2024-01-10T00:00:00Z"),
175
+ updatedAt: /* @__PURE__ */ new Date("2024-01-10T00:00:00Z")
176
+ }
177
+ ];
178
+
179
+ //#endregion
180
+ export { MOCK_TOOLS };
181
+ //# sourceMappingURL=mock-tools.js.map
@@ -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":"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"}
@@ -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_schema516 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_schema516.EntityEnumDef;
8
+ /**
9
+ * Tool status enum for entities.
10
+ */
11
+ declare const ToolStatusEntityEnum: _contractspec_lib_schema516.EntityEnumDef;
12
+ /**
13
+ * Implementation type enum for entities.
14
+ */
15
+ declare const ImplementationTypeEntityEnum: _contractspec_lib_schema516.EntityEnumDef;
16
+ /**
17
+ * Tool entity - Represents an AI tool definition.
18
+ */
19
+ declare const ToolEntity: _contractspec_lib_schema516.EntitySpec<{
20
+ id: _contractspec_lib_schema516.EntityScalarField;
21
+ organizationId: _contractspec_lib_schema516.EntityScalarField;
22
+ name: _contractspec_lib_schema516.EntityScalarField;
23
+ slug: _contractspec_lib_schema516.EntityScalarField;
24
+ description: _contractspec_lib_schema516.EntityScalarField;
25
+ category: _contractspec_lib_schema516.EntityEnumField;
26
+ status: _contractspec_lib_schema516.EntityEnumField;
27
+ parametersSchema: _contractspec_lib_schema516.EntityScalarField;
28
+ outputSchema: _contractspec_lib_schema516.EntityScalarField;
29
+ implementationType: _contractspec_lib_schema516.EntityEnumField;
30
+ implementationConfig: _contractspec_lib_schema516.EntityScalarField;
31
+ maxInvocationsPerMinute: _contractspec_lib_schema516.EntityScalarField;
32
+ timeoutMs: _contractspec_lib_schema516.EntityScalarField;
33
+ version: _contractspec_lib_schema516.EntityScalarField;
34
+ tags: _contractspec_lib_schema516.EntityScalarField;
35
+ createdAt: _contractspec_lib_schema516.EntityScalarField;
36
+ updatedAt: _contractspec_lib_schema516.EntityScalarField;
37
+ createdById: _contractspec_lib_schema516.EntityScalarField;
38
+ agents: _contractspec_lib_schema516.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"}