@pikku/addon-meta-conversions 0.1.1 → 0.1.3

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 (258) hide show
  1. package/.pikku/addon/pikku-addon-types.gen.ts +105 -0
  2. package/.pikku/addon/pikku-package.gen.ts +11 -0
  3. package/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
  4. package/.pikku/agent/pikku-agent-types.gen.ts +84 -0
  5. package/.pikku/channel/pikku-channel-types.gen.ts +177 -0
  6. package/.pikku/console/pikku-addon-meta.gen.json +36 -0
  7. package/.pikku/console/pikku-node-types.gen.ts +8 -0
  8. package/.pikku/function/pikku-function-types.gen.ts +797 -0
  9. package/.pikku/function/pikku-functions-meta-verbose.gen.json +33 -0
  10. package/.pikku/function/pikku-functions-meta.gen.json +27 -0
  11. package/.pikku/function/pikku-functions-meta.gen.ts +7 -0
  12. package/.pikku/function/pikku-functions.gen.ts +8 -0
  13. package/.pikku/http/pikku-http-types.gen.ts +119 -0
  14. package/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
  15. package/.pikku/pikku-bootstrap-scenarios.gen.ts +9 -0
  16. package/.pikku/pikku-bootstrap.gen.ts +8 -0
  17. package/.pikku/pikku-meta-service.gen.ts +10 -0
  18. package/.pikku/pikku-services.gen.ts +50 -0
  19. package/.pikku/pikku-types.gen.ts +24 -0
  20. package/.pikku/queue/pikku-queue-types.gen.ts +27 -0
  21. package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +135 -0
  22. package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +136 -0
  23. package/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +135 -0
  24. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +3 -0
  25. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
  26. package/.pikku/scenarios/features.gen.json +1 -0
  27. package/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  28. package/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +12 -0
  29. package/.pikku/scenarios/pikku-scenario-functions.gen.ts +4 -0
  30. package/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +15 -0
  31. package/.pikku/scenarios/pikku-scenario-wirings.gen.ts +4 -0
  32. package/.pikku/scenarios/schemas/register.gen.ts +4 -0
  33. package/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
  34. package/.pikku/schemas/register.gen.ts +15 -0
  35. package/.pikku/schemas/schemas/EventSendInput.schema.json +1 -0
  36. package/.pikku/schemas/schemas/EventSendOutput.schema.json +1 -0
  37. package/.pikku/schemas/schemas/SecretSchema_metaConversions.schema.json +1 -0
  38. package/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  39. package/.pikku/scopes/pikku-personas.gen.ts +52 -0
  40. package/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  41. package/.pikku/scopes/pikku-roles.gen.ts +41 -0
  42. package/.pikku/scopes/pikku-scope-types.gen.ts +7 -0
  43. package/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
  44. package/.pikku/scopes/pikku-scopes.gen.ts +58 -0
  45. package/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
  46. package/.pikku/secrets/pikku-secrets-meta.gen.json +10 -0
  47. package/.pikku/secrets/pikku-secrets.gen.ts +36 -0
  48. package/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
  49. package/.pikku/variables/pikku-variable-types.gen.ts +5 -0
  50. package/.pikku/variables/pikku-variables-meta.gen.json +1 -0
  51. package/.pikku/variables/pikku-variables.gen.ts +34 -0
  52. package/.pikku/workflow/personas.gen.json +1 -0
  53. package/.pikku/workflow/pikku-personas.gen.ts +38 -0
  54. package/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
  55. package/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
  56. package/.pikku/workflow/pikku-workflow-types.gen.ts +591 -0
  57. package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  58. package/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
  59. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +4 -4
  60. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
  61. package/dist/.pikku/addon/pikku-addon-types.gen.js +7 -3
  62. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -1
  63. package/dist/.pikku/addon/pikku-addon-types.gen.ts +11 -6
  64. package/dist/.pikku/addon/pikku-package.gen.js +2 -1
  65. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  66. package/dist/.pikku/addon/pikku-package.gen.ts +3 -1
  67. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +2 -14
  68. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +8 -6
  69. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  70. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  71. package/dist/.pikku/agent/pikku-agent-types.gen.ts +15 -7
  72. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
  73. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
  74. package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
  75. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
  76. package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
  77. package/dist/.pikku/console/pikku-addon-meta.gen.json +4 -1
  78. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  79. package/dist/.pikku/console/pikku-node-types.gen.ts +1 -1
  80. package/dist/.pikku/function/pikku-function-types.gen.d.ts +133 -133
  81. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  82. package/dist/.pikku/function/pikku-function-types.gen.js +98 -61
  83. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  84. package/dist/.pikku/function/pikku-function-types.gen.ts +268 -157
  85. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +5 -0
  86. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  87. package/dist/.pikku/function/pikku-functions-meta.gen.json +8 -1
  88. package/dist/.pikku/function/pikku-functions-meta.gen.ts +1 -1
  89. package/dist/.pikku/function/pikku-functions.gen.js +2 -2
  90. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
  91. package/dist/.pikku/function/pikku-functions.gen.ts +2 -2
  92. package/dist/.pikku/http/pikku-http-types.gen.d.ts +98 -0
  93. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
  94. package/dist/.pikku/http/pikku-http-types.gen.js +50 -0
  95. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
  96. package/dist/.pikku/http/pikku-http-types.gen.ts +119 -0
  97. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
  98. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  99. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
  100. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
  101. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
  102. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +10 -0
  103. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
  104. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +10 -0
  105. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +1 -0
  106. package/dist/.pikku/pikku-bootstrap-scenarios.gen.ts +9 -0
  107. package/dist/.pikku/pikku-bootstrap.gen.d.ts +4 -2
  108. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -1
  109. package/dist/.pikku/pikku-bootstrap.gen.js +2 -10
  110. package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -1
  111. package/dist/.pikku/pikku-bootstrap.gen.ts +2 -9
  112. package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
  113. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
  114. package/dist/.pikku/pikku-meta-service.gen.js +10 -0
  115. package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
  116. package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
  117. package/dist/.pikku/pikku-services.gen.d.ts +15 -2
  118. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  119. package/dist/.pikku/pikku-services.gen.js +14 -0
  120. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  121. package/dist/.pikku/pikku-services.gen.ts +17 -2
  122. package/dist/.pikku/pikku-types.gen.d.ts +2 -1
  123. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
  124. package/dist/.pikku/pikku-types.gen.js +3 -1
  125. package/dist/.pikku/pikku-types.gen.js.map +1 -1
  126. package/dist/.pikku/pikku-types.gen.ts +4 -1
  127. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
  128. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
  129. package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
  130. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
  131. package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
  132. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +28 -8
  133. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +28 -8
  134. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +135 -0
  135. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
  136. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  137. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  138. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  139. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +3 -0
  140. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
  141. package/dist/.pikku/scenarios/features.gen.json +1 -0
  142. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +2 -0
  143. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
  144. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +11 -0
  145. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
  146. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  147. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +12 -0
  148. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
  149. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
  150. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +2 -0
  151. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +1 -0
  152. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.ts +4 -0
  153. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +2 -0
  154. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
  155. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +11 -0
  156. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
  157. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +15 -0
  158. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
  159. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
  160. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +2 -0
  161. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
  162. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.ts +4 -0
  163. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +5 -0
  164. package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +1 -0
  165. package/dist/.pikku/scenarios/schemas/register.gen.js +5 -0
  166. package/dist/.pikku/scenarios/schemas/register.gen.js.map +1 -0
  167. package/dist/.pikku/scenarios/schemas/register.gen.ts +4 -0
  168. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
  169. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
  170. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
  171. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
  172. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
  173. package/dist/.pikku/schemas/register.gen.js +1 -1
  174. package/dist/.pikku/schemas/register.gen.ts +1 -1
  175. package/dist/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  176. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +37 -0
  177. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -0
  178. package/dist/.pikku/scopes/pikku-personas.gen.js +18 -0
  179. package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -0
  180. package/dist/.pikku/scopes/pikku-personas.gen.ts +52 -0
  181. package/dist/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  182. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +31 -0
  183. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -0
  184. package/dist/.pikku/scopes/pikku-roles.gen.js +19 -0
  185. package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -0
  186. package/dist/.pikku/scopes/pikku-roles.gen.ts +41 -0
  187. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +8 -0
  188. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  189. package/dist/.pikku/scopes/pikku-scope-types.gen.js +6 -0
  190. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -0
  191. package/dist/.pikku/scopes/pikku-scope-types.gen.ts +7 -0
  192. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
  193. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +36 -0
  194. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -0
  195. package/dist/.pikku/scopes/pikku-scopes.gen.js +28 -0
  196. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -0
  197. package/dist/.pikku/scopes/pikku-scopes.gen.ts +58 -0
  198. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +2 -2
  199. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
  200. package/dist/.pikku/secrets/pikku-secret-types.gen.js +2 -2
  201. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -1
  202. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +2 -2
  203. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +11 -1
  204. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
  205. package/dist/.pikku/secrets/pikku-secrets.gen.js +12 -2
  206. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
  207. package/dist/.pikku/secrets/pikku-secrets.gen.ts +15 -2
  208. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  209. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  210. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
  211. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +2 -2
  212. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
  213. package/dist/.pikku/variables/pikku-variable-types.gen.js +2 -2
  214. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -1
  215. package/dist/.pikku/variables/pikku-variable-types.gen.ts +2 -2
  216. package/dist/.pikku/variables/pikku-variables.gen.d.ts +11 -1
  217. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
  218. package/dist/.pikku/variables/pikku-variables.gen.js +13 -3
  219. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
  220. package/dist/.pikku/variables/pikku-variables.gen.ts +16 -3
  221. package/dist/.pikku/workflow/personas.gen.json +1 -0
  222. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +16 -0
  223. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -0
  224. package/dist/.pikku/workflow/pikku-personas.gen.js +18 -0
  225. package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -0
  226. package/dist/.pikku/workflow/pikku-personas.gen.ts +38 -0
  227. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
  228. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +9 -5
  229. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +289 -31
  230. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  231. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +66 -18
  232. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  233. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +494 -61
  234. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  235. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
  236. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +3 -3
  237. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  238. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  239. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
  240. package/dist/src/functions/events/send.function.d.ts +2 -2
  241. package/dist/src/functions/events/send.function.d.ts.map +1 -1
  242. package/dist/src/meta-conversions.secret.js +2 -2
  243. package/dist/src/meta-conversions.secret.js.map +1 -1
  244. package/dist/src/services.d.ts.map +1 -1
  245. package/dist/src/services.js +1 -1
  246. package/dist/src/services.js.map +1 -1
  247. package/package.json +7 -6
  248. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts +0 -2
  249. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts.map +0 -1
  250. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +0 -7
  251. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js.map +0 -1
  252. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.json +0 -3
  253. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.ts +0 -7
  254. package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +0 -5
  255. package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts.map +0 -1
  256. package/dist/.pikku/agent/pikku-agent-wirings.gen.js +0 -5
  257. package/dist/.pikku/agent/pikku-agent-wirings.gen.js.map +0 -1
  258. package/dist/.pikku/agent/pikku-agent-wirings.gen.ts +0 -3
@@ -0,0 +1,183 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * MCP-specific type definitions for tree-shaking optimization
6
+ */
7
+
8
+ import {
9
+ CoreMCPResource,
10
+ CoreMCPPrompt,
11
+ wireMCPResource as wireMCPResourceCore,
12
+ wireMCPPrompt as wireMCPPromptCore,
13
+ MCPResourceResponse,
14
+ MCPToolResponse,
15
+ MCPPromptResponse,
16
+ AssertMCPResourceURIParams
17
+ } from '@pikku/core/mcp'
18
+
19
+ import type { PikkuFunctionConfig, PikkuFunctionSessionless, PikkuMiddleware, PikkuPermission, InferSchemaOutput } from '../function/pikku-function-types.gen.js'
20
+ import type { CorePermissionGroup } from '@pikku/core'
21
+ import type { StandardSchemaV1 } from '@standard-schema/spec'
22
+
23
+ /**
24
+ * Type definition for MCP resources that provide data to AI models.
25
+ *
26
+ * @template In - Input type for the resource request
27
+ * @template URI - URI template string type for compile-time parameter validation
28
+ */
29
+ type MCPResourceWiring<In, URI extends string> = CoreMCPResource<PikkuFunctionConfig<In, MCPResourceResponse, 'rpc' | 'session' | 'mcp'>> & { uri: URI }
30
+
31
+ /**
32
+ * Type definition for MCP prompts that provide templates to AI models.
33
+ *
34
+ * @template In - Input type for the prompt parameters
35
+ */
36
+ type MCPPromptWiring<In> = CoreMCPPrompt<PikkuFunctionConfig<In, MCPPromptResponse, 'rpc' | 'session' | 'mcp'>>
37
+
38
+ /**
39
+ * Registers an MCP resource with the Pikku framework.
40
+ * Resources provide data that AI models can access.
41
+ *
42
+ * @template In - Input type for the resource request
43
+ * @template URI - URI template string for compile-time parameter validation
44
+ * @param mcpResource - MCP resource definition with data provider function
45
+ */
46
+ export const wireMCPResource = <In, URI extends string>(
47
+ mcpResource: MCPResourceWiring<In, URI> & AssertMCPResourceURIParams<In, URI>
48
+ ) => {
49
+ wireMCPResourceCore(mcpResource as any)
50
+ }
51
+
52
+ /**
53
+ * Registers an MCP prompt with the Pikku framework.
54
+ * Prompts provide templates that AI models can use.
55
+ *
56
+ * @template In - Input type for the prompt parameters
57
+ * @param mcpPrompt - MCP prompt definition with template function
58
+ */
59
+ export const wireMCPPrompt = <In>(
60
+ mcpPrompt: MCPPromptWiring<In>
61
+ ) => {
62
+ wireMCPPromptCore(mcpPrompt as any)
63
+ }
64
+
65
+ /**
66
+ * Configuration for MCP prompt with Zod schema input validation.
67
+ */
68
+ type MCPPromptFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
69
+ func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPPromptResponse, 'mcp' | 'rpc'>
70
+ name?: string
71
+ input: InputSchema
72
+ }
73
+
74
+ /**
75
+ * Creates a function for handling MCP prompt requests.
76
+ * These functions generate prompt templates for AI models.
77
+ *
78
+ * Supports two patterns:
79
+ * 1. Generic types: `pikkuMCPPromptFunc<Input>({ func: ... })`
80
+ * 2. Zod schemas: `pikkuMCPPromptFunc({ input: z.object(...), func: ... })`
81
+ *
82
+ * @template In - Input type for the prompt parameters (inferred from schema if provided)
83
+ * @param func - Function definition, either direct function or configuration object
84
+ * @returns The unwrapped function for internal use
85
+ */
86
+ export function pikkuMCPPromptFunc<InputSchema extends StandardSchemaV1>(
87
+ config: MCPPromptFuncConfigWithSchema<InputSchema>
88
+ ): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPPromptResponse, 'mcp' | 'rpc'>
89
+ export function pikkuMCPPromptFunc<In>(
90
+ func:
91
+ | PikkuFunctionSessionless<In, MCPPromptResponse, 'mcp' | 'rpc'>
92
+ | {
93
+ func: PikkuFunctionSessionless<In, MCPPromptResponse, 'mcp' | 'rpc'>
94
+ name?: string
95
+ }
96
+ ): PikkuFunctionConfig<In, MCPPromptResponse, 'mcp' | 'rpc'>
97
+ export function pikkuMCPPromptFunc(func: any): any {
98
+ return typeof func === 'function' ? { func } : func
99
+ }
100
+
101
+ /**
102
+ * Configuration for MCP tool with Zod schema input validation.
103
+ */
104
+ type MCPToolFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
105
+ func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPToolResponse, 'mcp' | 'rpc'>
106
+ description?: string
107
+ tags?: string[]
108
+ title?: string
109
+ summary?: string
110
+ name?: string
111
+ middleware?: PikkuMiddleware[]
112
+ permissions?: CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>>
113
+ input: InputSchema
114
+ }
115
+
116
+ /**
117
+ * Creates a function for handling MCP tool invocations.
118
+ * These functions perform actions that AI models can request.
119
+ *
120
+ * Supports two patterns:
121
+ * 1. Generic types: `pikkuMCPToolFunc<Input>({ func: ... })`
122
+ * 2. Zod schemas: `pikkuMCPToolFunc({ input: z.object(...), func: ... })`
123
+ *
124
+ * @template In - Input type for the tool invocation (inferred from schema if provided)
125
+ * @param func - Function definition, either direct function or configuration object
126
+ * @returns The unwrapped function for internal use
127
+ */
128
+ export function pikkuMCPToolFunc<InputSchema extends StandardSchemaV1>(
129
+ config: MCPToolFuncConfigWithSchema<InputSchema>
130
+ ): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPToolResponse, 'mcp' | 'rpc'>
131
+ export function pikkuMCPToolFunc<In>(
132
+ func:
133
+ | PikkuFunctionSessionless<In, MCPToolResponse, 'mcp' | 'rpc'>
134
+ | {
135
+ func: PikkuFunctionSessionless<In, MCPToolResponse, 'mcp' | 'rpc'>
136
+ description?: string
137
+ tags?: string[]
138
+ title?: string
139
+ summary?: string
140
+ name?: string
141
+ middleware?: PikkuMiddleware[]
142
+ permissions?: CorePermissionGroup<PikkuPermission<In>>
143
+ }
144
+ ): PikkuFunctionConfig<In, MCPToolResponse, 'mcp' | 'rpc'>
145
+ export function pikkuMCPToolFunc(func: any): any {
146
+ return typeof func === 'function' ? { func } : func
147
+ }
148
+
149
+ /**
150
+ * Configuration for MCP resource with Zod schema input validation.
151
+ */
152
+ type MCPResourceFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
153
+ func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPResourceResponse, 'mcp' | 'rpc'>
154
+ name?: string
155
+ input: InputSchema
156
+ }
157
+
158
+ /**
159
+ * Creates a function for handling MCP resource requests.
160
+ * These functions provide data that AI models can access.
161
+ *
162
+ * Supports two patterns:
163
+ * 1. Generic types: `pikkuMCPResourceFunc<Input>({ func: ... })`
164
+ * 2. Zod schemas: `pikkuMCPResourceFunc({ input: z.object(...), func: ... })`
165
+ *
166
+ * @template In - Input type for the resource request (inferred from schema if provided)
167
+ * @param func - Function definition, either direct function or configuration object
168
+ * @returns The unwrapped function for internal use
169
+ */
170
+ export function pikkuMCPResourceFunc<InputSchema extends StandardSchemaV1>(
171
+ config: MCPResourceFuncConfigWithSchema<InputSchema>
172
+ ): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPResourceResponse, 'mcp' | 'rpc'>
173
+ export function pikkuMCPResourceFunc<In>(
174
+ func:
175
+ | PikkuFunctionSessionless<In, MCPResourceResponse, 'mcp' | 'rpc'>
176
+ | {
177
+ func: PikkuFunctionSessionless<In, MCPResourceResponse, 'mcp' | 'rpc'>
178
+ name?: string
179
+ }
180
+ ): PikkuFunctionConfig<In, MCPResourceResponse, 'mcp' | 'rpc'>
181
+ export function pikkuMCPResourceFunc(func: any): any {
182
+ return typeof func === 'function' ? { func } : func
183
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import './pikku-bootstrap.gen.js';
5
+ import './scenarios/schemas/register.gen.js';
6
+ import './scenarios/pikku-scenario-functions-meta.gen.js';
7
+ import './scenarios/pikku-scenario-functions.gen.js';
8
+ import './scenarios/pikku-scenario-wirings-meta.gen.js';
9
+ import './scenarios/pikku-scenario-wirings.gen.js';
10
+ //# sourceMappingURL=pikku-bootstrap-scenarios.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-bootstrap-scenarios.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap-scenarios.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,0BAA0B,CAAA;AACjC,OAAO,qCAAqC,CAAA;AAC5C,OAAO,kDAAkD,CAAA;AACzD,OAAO,6CAA6C,CAAA;AACpD,OAAO,gDAAgD,CAAA;AACvD,OAAO,2CAA2C,CAAA"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import './pikku-bootstrap.gen.js';
5
+ import './scenarios/schemas/register.gen.js';
6
+ import './scenarios/pikku-scenario-functions-meta.gen.js';
7
+ import './scenarios/pikku-scenario-functions.gen.js';
8
+ import './scenarios/pikku-scenario-wirings-meta.gen.js';
9
+ import './scenarios/pikku-scenario-wirings.gen.js';
10
+ //# sourceMappingURL=pikku-bootstrap-scenarios.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-bootstrap-scenarios.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap-scenarios.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,0BAA0B,CAAA;AACjC,OAAO,qCAAqC,CAAA;AAC5C,OAAO,kDAAkD,CAAA;AACzD,OAAO,6CAA6C,CAAA;AACpD,OAAO,gDAAgD,CAAA;AACvD,OAAO,2CAA2C,CAAA"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import './pikku-bootstrap.gen.js'
5
+ import './scenarios/schemas/register.gen.js'
6
+ import './scenarios/pikku-scenario-functions-meta.gen.js'
7
+ import './scenarios/pikku-scenario-functions.gen.js'
8
+ import './scenarios/pikku-scenario-wirings-meta.gen.js'
9
+ import './scenarios/pikku-scenario-wirings.gen.js'
@@ -1,7 +1,9 @@
1
- import './agent/pikku-agent-wirings-meta.gen.js';
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
2
5
  import './function/pikku-functions-meta.gen.js';
3
6
  import './addon/pikku-package.gen.js';
4
- import './agent/pikku-agent-wirings.gen.js';
5
7
  import './schemas/register.gen.js';
6
8
  import './function/pikku-functions.gen.js';
7
9
  //# sourceMappingURL=pikku-bootstrap.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-bootstrap.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AASA,OAAO,yCAAyC,CAAA;AAChD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
1
+ {"version":3,"file":"pikku-bootstrap.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
@@ -1,17 +1,9 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.6
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
- import { pikkuState as __pikkuState } from '@pikku/core/internal';
5
- try {
6
- const { fileURLToPath: __fileURLToPath } = await import('url');
7
- const { dirname: __dirname } = await import('path');
8
- __pikkuState('@pikku/addon-meta-conversions', 'package', 'metaDir', __dirname(__fileURLToPath(import.meta.url)));
9
- }
10
- catch { }
11
- import './agent/pikku-agent-wirings-meta.gen.js';
4
+ import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
12
5
  import './function/pikku-functions-meta.gen.js';
13
6
  import './addon/pikku-package.gen.js';
14
- import './agent/pikku-agent-wirings.gen.js';
15
7
  import './schemas/register.gen.js';
16
8
  import './function/pikku-functions.gen.js';
17
9
  //# sourceMappingURL=pikku-bootstrap.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-bootstrap.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACjE,IAAI,CAAC;IACH,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,CAAA;IAC9D,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,CAAA;IACnD,YAAY,CAAC,+BAA+B,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;AAClH,CAAC;AAAC,MAAM,CAAC,CAAA,CAAC;AACV,OAAO,yCAAyC,CAAA;AAChD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
1
+ {"version":3,"file":"pikku-bootstrap.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
@@ -1,15 +1,8 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.6
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
- import { pikkuState as __pikkuState } from '@pikku/core/internal'
5
- try {
6
- const { fileURLToPath: __fileURLToPath } = await import('url')
7
- const { dirname: __dirname } = await import('path')
8
- __pikkuState('@pikku/addon-meta-conversions', 'package', 'metaDir', __dirname(__fileURLToPath(import.meta.url)))
9
- } catch {}
10
- import './agent/pikku-agent-wirings-meta.gen.js'
4
+ import './rpc/pikku-rpc-wirings-meta.internal.gen.js'
11
5
  import './function/pikku-functions-meta.gen.js'
12
6
  import './addon/pikku-package.gen.js'
13
- import './agent/pikku-agent-wirings.gen.js'
14
7
  import './schemas/register.gen.js'
15
8
  import './function/pikku-functions.gen.js'
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import { LocalMetaService } from '@pikku/core/services/local-meta';
5
+ export declare class PikkuMetaService extends LocalMetaService {
6
+ constructor();
7
+ }
8
+ //# sourceMappingURL=pikku-meta-service.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-meta-service.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-meta-service.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAElE,qBAAa,gBAAiB,SAAQ,gBAAgB;;CAIrD"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import { LocalMetaService } from '@pikku/core/services/local-meta';
5
+ export class PikkuMetaService extends LocalMetaService {
6
+ constructor() {
7
+ super('/home/runner/work/addons/addons/packages/analytics/meta-conversions/.pikku');
8
+ }
9
+ }
10
+ //# sourceMappingURL=pikku-meta-service.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-meta-service.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-meta-service.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAElE,MAAM,OAAO,gBAAiB,SAAQ,gBAAgB;IACpD;QACE,KAAK,CAAC,4EAA4E,CAAC,CAAA;IACrF,CAAC;CACF"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import { LocalMetaService } from '@pikku/core/services/local-meta'
5
+
6
+ export class PikkuMetaService extends LocalMetaService {
7
+ constructor() {
8
+ super('/home/runner/work/addons/addons/packages/analytics/meta-conversions/.pikku')
9
+ }
10
+ }
@@ -1,28 +1,41 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.6
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js';
5
5
  import type { Services } from '../types/application-types.d.js';
6
6
  export declare const requiredSingletonServices: {
7
7
  readonly agentRunService: false;
8
8
  readonly aiAgentRunner: false;
9
+ readonly aiEmbedding: false;
9
10
  readonly aiRunState: false;
10
11
  readonly aiStorage: false;
12
+ readonly audit: false;
13
+ readonly auditLog: false;
14
+ readonly auth: false;
11
15
  readonly config: true;
12
16
  readonly content: false;
17
+ readonly coverageService: false;
18
+ readonly credentialService: false;
13
19
  readonly deploymentService: false;
20
+ readonly emailService: false;
21
+ readonly eventHub: false;
14
22
  readonly jwt: false;
15
23
  readonly logger: true;
16
24
  readonly metaConversions: false;
25
+ readonly metaService: false;
17
26
  readonly queueService: false;
18
27
  readonly schedulerService: false;
19
28
  readonly schema: true;
29
+ readonly scopeService: false;
20
30
  readonly secrets: true;
31
+ readonly sessionStore: false;
21
32
  readonly variables: true;
33
+ readonly webhookService: false;
22
34
  readonly workflowRunService: false;
23
35
  readonly workflowService: false;
24
36
  };
25
37
  export declare const requiredWireServices: {};
26
- export type RequiredSingletonServices = Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>;
38
+ export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>;
27
39
  export type RequiredWireServices = Partial<Services>;
40
+ export declare const requiredParentServices: readonly ["secrets"];
28
41
  //# sourceMappingURL=pikku-services.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;CAkB5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEtN,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA"}
1
+ {"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEhO,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,sBAAuB,CAAA"}
@@ -2,22 +2,36 @@
2
2
  export const requiredSingletonServices = {
3
3
  'agentRunService': false,
4
4
  'aiAgentRunner': false,
5
+ 'aiEmbedding': false,
5
6
  'aiRunState': false,
6
7
  'aiStorage': false,
8
+ 'audit': false,
9
+ 'auditLog': false,
10
+ 'auth': false,
7
11
  'config': true,
8
12
  'content': false,
13
+ 'coverageService': false,
14
+ 'credentialService': false,
9
15
  'deploymentService': false,
16
+ 'emailService': false,
17
+ 'eventHub': false,
10
18
  'jwt': false,
11
19
  'logger': true,
12
20
  'metaConversions': false,
21
+ 'metaService': false,
13
22
  'queueService': false,
14
23
  'schedulerService': false,
15
24
  'schema': true,
25
+ 'scopeService': false,
16
26
  'secrets': true,
27
+ 'sessionStore': false,
17
28
  'variables': true,
29
+ 'webhookService': false,
18
30
  'workflowRunService': false,
19
31
  'workflowService': false,
20
32
  };
21
33
  // Wire services map: true if required, false if available but unused
22
34
  export const requiredWireServices = {};
35
+ // Services this addon needs from the parent project
36
+ export const requiredParentServices = ["secrets"];
23
37
  //# sourceMappingURL=pikku-services.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,iBAAiB,EAAE,KAAK;IACxB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA"}
1
+ {"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,iBAAiB,EAAE,KAAK;IACxB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,iBAAiB,EAAE,KAAK;IACxB,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,KAAK;IACrB,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;IACjB,gBAAgB,EAAE,KAAK;IACvB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,SAAS,CAAU,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.6
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js'
5
5
  import type { Services } from '../types/application-types.d.js'
@@ -8,19 +8,31 @@ import type { Services } from '../types/application-types.d.js'
8
8
  export const requiredSingletonServices = {
9
9
  'agentRunService': false,
10
10
  'aiAgentRunner': false,
11
+ 'aiEmbedding': false,
11
12
  'aiRunState': false,
12
13
  'aiStorage': false,
14
+ 'audit': false,
15
+ 'auditLog': false,
16
+ 'auth': false,
13
17
  'config': true,
14
18
  'content': false,
19
+ 'coverageService': false,
20
+ 'credentialService': false,
15
21
  'deploymentService': false,
22
+ 'emailService': false,
23
+ 'eventHub': false,
16
24
  'jwt': false,
17
25
  'logger': true,
18
26
  'metaConversions': false,
27
+ 'metaService': false,
19
28
  'queueService': false,
20
29
  'schedulerService': false,
21
30
  'schema': true,
31
+ 'scopeService': false,
22
32
  'secrets': true,
33
+ 'sessionStore': false,
23
34
  'variables': true,
35
+ 'webhookService': false,
24
36
  'workflowRunService': false,
25
37
  'workflowService': false,
26
38
  } as const
@@ -30,6 +42,9 @@ export const requiredWireServices = {
30
42
  } as const
31
43
 
32
44
  // Type exports
33
- export type RequiredSingletonServices = Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>
45
+ export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>
34
46
 
35
47
  export type RequiredWireServices = Partial<Services>
48
+
49
+ // Services this addon needs from the parent project
50
+ export const requiredParentServices = ["secrets"] as const
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.6
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -8,5 +8,6 @@ export * from './function/pikku-function-types.gen.js';
8
8
  export * from './trigger/pikku-trigger-types.gen.js';
9
9
  export * from './console/pikku-node-types.gen.js';
10
10
  export * from './secrets/pikku-secret-types.gen.js';
11
+ export * from './scopes/pikku-scope-types.gen.js';
11
12
  export * from './addon/pikku-addon-types.gen.js';
12
13
  //# sourceMappingURL=pikku-types.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,kCAAkC,CAAA"}
1
+ {"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,kCAAkC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.6
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -12,6 +12,8 @@ export * from './trigger/pikku-trigger-types.gen.js';
12
12
  export * from './console/pikku-node-types.gen.js';
13
13
  // Secret definition types
14
14
  export * from './secrets/pikku-secret-types.gen.js';
15
+ // Scope definition types
16
+ export * from './scopes/pikku-scope-types.gen.js';
15
17
  // Addon types
16
18
  export * from './addon/pikku-addon-types.gen.js';
17
19
  //# sourceMappingURL=pikku-types.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,oBAAoB;AACpB,cAAc,mCAAmC,CAAA;AAEjD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
1
+ {"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,oBAAoB;AACpB,cAAc,mCAAmC,CAAA;AAEjD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,yBAAyB;AACzB,cAAc,mCAAmC,CAAA;AAEjD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.6
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -17,5 +17,8 @@ export * from './console/pikku-node-types.gen.js'
17
17
  // Secret definition types
18
18
  export * from './secrets/pikku-secret-types.gen.js'
19
19
 
20
+ // Scope definition types
21
+ export * from './scopes/pikku-scope-types.gen.js'
22
+
20
23
  // Addon types
21
24
  export * from './addon/pikku-addon-types.gen.js'
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * Queue-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { CoreQueueWorker } from '@pikku/core/queue';
8
+ import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
9
+ /**
10
+ * Type definition for queue workers that process background jobs.
11
+ *
12
+ * @template In - Input type for the queue job
13
+ * @template Out - Output type for the queue job
14
+ */
15
+ type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>;
16
+ /**
17
+ * Registers a queue worker with the Pikku framework.
18
+ * Workers process background jobs from queues.
19
+ *
20
+ * @param queueWorker - Queue worker definition with job handler
21
+ */
22
+ export declare const wireQueueWorker: (queueWorker: QueueWiring<any, any>) => void;
23
+ export {};
24
+ //# sourceMappingURL=pikku-queue-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-queue-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,eAAe,EAA0C,MAAM,mBAAmB,CAAA;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAElF;;;;;GAKG;AACH,KAAK,WAAW,CAAC,EAAE,EAAE,GAAG,IAAI,eAAe,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,CAAA;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,aAAa,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,SAEjE,CAAA"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * Queue-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue';
8
+ /**
9
+ * Registers a queue worker with the Pikku framework.
10
+ * Workers process background jobs from queues.
11
+ *
12
+ * @param queueWorker - Queue worker definition with job handler
13
+ */
14
+ export const wireQueueWorker = (queueWorker) => {
15
+ wireQueueWorkerCore(queueWorker);
16
+ };
17
+ //# sourceMappingURL=pikku-queue-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-queue-types.gen.js","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAmB,eAAe,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAW3F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAkC,EAAE,EAAE;IACpE,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * Queue-specific type definitions for tree-shaking optimization
6
+ */
7
+
8
+ import { CoreQueueWorker, wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue'
9
+ import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
10
+
11
+ /**
12
+ * Type definition for queue workers that process background jobs.
13
+ *
14
+ * @template In - Input type for the queue job
15
+ * @template Out - Output type for the queue job
16
+ */
17
+ type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>
18
+
19
+ /**
20
+ * Registers a queue worker with the Pikku framework.
21
+ * Workers process background jobs from queues.
22
+ *
23
+ * @param queueWorker - Queue worker definition with job handler
24
+ */
25
+ export const wireQueueWorker = (queueWorker: QueueWiring<any, any>) => {
26
+ wireQueueWorkerCore(queueWorker as any)
27
+ }