@pikku/addon-grist 0.0.2

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 (197) hide show
  1. package/README.md +12 -0
  2. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
  3. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
  4. package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
  5. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
  6. package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
  7. package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
  8. package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
  9. package/dist/.pikku/addon/pikku-package.gen.js +10 -0
  10. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
  11. package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
  12. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
  13. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
  14. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
  15. package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
  16. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
  17. package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
  18. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
  19. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
  20. package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
  21. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
  22. package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
  23. package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
  24. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
  25. package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
  26. package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
  27. package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
  28. package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
  29. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
  30. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
  31. package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
  32. package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
  33. package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
  34. package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
  35. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
  36. package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
  37. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
  38. package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
  39. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +118 -0
  40. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
  41. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
  42. package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
  43. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
  44. package/dist/.pikku/function/pikku-functions-meta.gen.json +78 -0
  45. package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
  46. package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
  47. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
  48. package/dist/.pikku/function/pikku-functions.gen.js +14 -0
  49. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
  50. package/dist/.pikku/function/pikku-functions.gen.ts +14 -0
  51. package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
  52. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
  53. package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
  54. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
  55. package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
  56. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
  57. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  58. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
  59. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
  60. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
  61. package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
  62. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
  63. package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
  64. package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
  65. package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
  66. package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
  67. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
  68. package/dist/.pikku/pikku-meta-service.gen.js +10 -0
  69. package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
  70. package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
  71. package/dist/.pikku/pikku-services.gen.d.ts +35 -0
  72. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
  73. package/dist/.pikku/pikku-services.gen.js +30 -0
  74. package/dist/.pikku/pikku-services.gen.js.map +1 -0
  75. package/dist/.pikku/pikku-services.gen.ts +42 -0
  76. package/dist/.pikku/pikku-types.gen.d.ts +12 -0
  77. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
  78. package/dist/.pikku/pikku-types.gen.js +17 -0
  79. package/dist/.pikku/pikku-types.gen.js.map +1 -0
  80. package/dist/.pikku/pikku-types.gen.ts +21 -0
  81. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
  82. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
  83. package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
  84. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
  85. package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
  86. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +141 -0
  87. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +145 -0
  88. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
  89. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  90. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  91. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  92. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +6 -0
  93. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
  94. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
  95. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
  96. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
  97. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
  98. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
  99. package/dist/.pikku/schemas/register.gen.d.ts +2 -0
  100. package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
  101. package/dist/.pikku/schemas/register.gen.js +25 -0
  102. package/dist/.pikku/schemas/register.gen.js.map +1 -0
  103. package/dist/.pikku/schemas/register.gen.ts +43 -0
  104. package/dist/.pikku/schemas/schemas/CreateInput.schema.json +1 -0
  105. package/dist/.pikku/schemas/schemas/CreateOutput.schema.json +1 -0
  106. package/dist/.pikku/schemas/schemas/CredentialSchema_grist.schema.json +1 -0
  107. package/dist/.pikku/schemas/schemas/DeleteInput.schema.json +1 -0
  108. package/dist/.pikku/schemas/schemas/DeleteOutput.schema.json +1 -0
  109. package/dist/.pikku/schemas/schemas/GetAllInput.schema.json +1 -0
  110. package/dist/.pikku/schemas/schemas/GetAllOutput.schema.json +1 -0
  111. package/dist/.pikku/schemas/schemas/UpdateInput.schema.json +1 -0
  112. package/dist/.pikku/schemas/schemas/UpdateOutput.schema.json +1 -0
  113. package/dist/.pikku/schemas/schemas/VariableSchema_GRIST_BASE_URL.schema.json +1 -0
  114. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
  115. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  116. package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
  117. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
  118. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
  119. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
  120. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
  121. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
  122. package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
  123. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
  124. package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
  125. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
  126. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  127. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
  128. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
  129. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
  130. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
  131. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
  132. package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
  133. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
  134. package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
  135. package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
  136. package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
  137. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
  138. package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
  139. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
  140. package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
  141. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
  142. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
  143. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  144. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
  145. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
  146. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
  147. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
  148. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  149. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  150. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  151. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  152. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  153. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  154. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
  155. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  156. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
  157. package/dist/src/functions/_delete.function.d.ts +29 -0
  158. package/dist/src/functions/_delete.function.d.ts.map +1 -0
  159. package/dist/src/functions/_delete.function.js +19 -0
  160. package/dist/src/functions/_delete.function.js.map +1 -0
  161. package/dist/src/functions/create.function.d.ts +29 -0
  162. package/dist/src/functions/create.function.d.ts.map +1 -0
  163. package/dist/src/functions/create.function.js +19 -0
  164. package/dist/src/functions/create.function.js.map +1 -0
  165. package/dist/src/functions/getAll.function.d.ts +37 -0
  166. package/dist/src/functions/getAll.function.d.ts.map +1 -0
  167. package/dist/src/functions/getAll.function.js +21 -0
  168. package/dist/src/functions/getAll.function.js.map +1 -0
  169. package/dist/src/functions/update.function.d.ts +21 -0
  170. package/dist/src/functions/update.function.d.ts.map +1 -0
  171. package/dist/src/functions/update.function.js +17 -0
  172. package/dist/src/functions/update.function.js.map +1 -0
  173. package/dist/src/grist-api.service.d.ts +10 -0
  174. package/dist/src/grist-api.service.d.ts.map +1 -0
  175. package/dist/src/grist-api.service.js +111 -0
  176. package/dist/src/grist-api.service.js.map +1 -0
  177. package/dist/src/grist.credential.d.ts +5 -0
  178. package/dist/src/grist.credential.d.ts.map +1 -0
  179. package/dist/src/grist.credential.js +13 -0
  180. package/dist/src/grist.credential.js.map +1 -0
  181. package/dist/src/grist.types.d.ts +7 -0
  182. package/dist/src/grist.types.d.ts.map +1 -0
  183. package/dist/src/grist.types.js +8 -0
  184. package/dist/src/grist.types.js.map +1 -0
  185. package/dist/src/grist.variable.d.ts +5 -0
  186. package/dist/src/grist.variable.d.ts.map +1 -0
  187. package/dist/src/grist.variable.js +11 -0
  188. package/dist/src/grist.variable.js.map +1 -0
  189. package/dist/src/index.d.ts +5 -0
  190. package/dist/src/index.d.ts.map +1 -0
  191. package/dist/src/index.js +5 -0
  192. package/dist/src/index.js.map +1 -0
  193. package/dist/src/services.d.ts +2 -0
  194. package/dist/src/services.d.ts.map +1 -0
  195. package/dist/src/services.js +14 -0
  196. package/dist/src/services.js.map +1 -0
  197. package/package.json +39 -0
@@ -0,0 +1,131 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * MCP-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { CoreMCPResource, CoreMCPPrompt, MCPResourceResponse, MCPToolResponse, MCPPromptResponse, AssertMCPResourceURIParams } from '@pikku/core/mcp';
8
+ import type { PikkuFunctionConfig, PikkuFunctionSessionless, PikkuMiddleware, PikkuPermission, InferSchemaOutput } from '../function/pikku-function-types.gen.js';
9
+ import type { CorePermissionGroup } from '@pikku/core';
10
+ import type { StandardSchemaV1 } from '@standard-schema/spec';
11
+ /**
12
+ * Type definition for MCP resources that provide data to AI models.
13
+ *
14
+ * @template In - Input type for the resource request
15
+ * @template URI - URI template string type for compile-time parameter validation
16
+ */
17
+ type MCPResourceWiring<In, URI extends string> = CoreMCPResource<PikkuFunctionConfig<In, MCPResourceResponse, 'rpc' | 'session' | 'mcp'>> & {
18
+ uri: URI;
19
+ };
20
+ /**
21
+ * Type definition for MCP prompts that provide templates to AI models.
22
+ *
23
+ * @template In - Input type for the prompt parameters
24
+ */
25
+ type MCPPromptWiring<In> = CoreMCPPrompt<PikkuFunctionConfig<In, MCPPromptResponse, 'rpc' | 'session' | 'mcp'>>;
26
+ /**
27
+ * Registers an MCP resource with the Pikku framework.
28
+ * Resources provide data that AI models can access.
29
+ *
30
+ * @template In - Input type for the resource request
31
+ * @template URI - URI template string for compile-time parameter validation
32
+ * @param mcpResource - MCP resource definition with data provider function
33
+ */
34
+ export declare const wireMCPResource: <In, URI extends string>(mcpResource: MCPResourceWiring<In, URI> & AssertMCPResourceURIParams<In, URI>) => void;
35
+ /**
36
+ * Registers an MCP prompt with the Pikku framework.
37
+ * Prompts provide templates that AI models can use.
38
+ *
39
+ * @template In - Input type for the prompt parameters
40
+ * @param mcpPrompt - MCP prompt definition with template function
41
+ */
42
+ export declare const wireMCPPrompt: <In>(mcpPrompt: MCPPromptWiring<In>) => void;
43
+ /**
44
+ * Configuration for MCP prompt with Zod schema input validation.
45
+ */
46
+ type MCPPromptFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
47
+ func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPPromptResponse, 'mcp' | 'rpc'>;
48
+ name?: string;
49
+ input: InputSchema;
50
+ };
51
+ /**
52
+ * Creates a function for handling MCP prompt requests.
53
+ * These functions generate prompt templates for AI models.
54
+ *
55
+ * Supports two patterns:
56
+ * 1. Generic types: `pikkuMCPPromptFunc<Input>({ func: ... })`
57
+ * 2. Zod schemas: `pikkuMCPPromptFunc({ input: z.object(...), func: ... })`
58
+ *
59
+ * @template In - Input type for the prompt parameters (inferred from schema if provided)
60
+ * @param func - Function definition, either direct function or configuration object
61
+ * @returns The unwrapped function for internal use
62
+ */
63
+ export declare function pikkuMCPPromptFunc<InputSchema extends StandardSchemaV1>(config: MCPPromptFuncConfigWithSchema<InputSchema>): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPPromptResponse, 'mcp' | 'rpc'>;
64
+ export declare function pikkuMCPPromptFunc<In>(func: PikkuFunctionSessionless<In, MCPPromptResponse, 'mcp' | 'rpc'> | {
65
+ func: PikkuFunctionSessionless<In, MCPPromptResponse, 'mcp' | 'rpc'>;
66
+ name?: string;
67
+ }): PikkuFunctionConfig<In, MCPPromptResponse, 'mcp' | 'rpc'>;
68
+ /**
69
+ * Configuration for MCP tool with Zod schema input validation.
70
+ */
71
+ type MCPToolFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
72
+ func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPToolResponse, 'mcp' | 'rpc'>;
73
+ description?: string;
74
+ tags?: string[];
75
+ title?: string;
76
+ summary?: string;
77
+ name?: string;
78
+ middleware?: PikkuMiddleware[];
79
+ permissions?: CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>>;
80
+ input: InputSchema;
81
+ };
82
+ /**
83
+ * Creates a function for handling MCP tool invocations.
84
+ * These functions perform actions that AI models can request.
85
+ *
86
+ * Supports two patterns:
87
+ * 1. Generic types: `pikkuMCPToolFunc<Input>({ func: ... })`
88
+ * 2. Zod schemas: `pikkuMCPToolFunc({ input: z.object(...), func: ... })`
89
+ *
90
+ * @template In - Input type for the tool invocation (inferred from schema if provided)
91
+ * @param func - Function definition, either direct function or configuration object
92
+ * @returns The unwrapped function for internal use
93
+ */
94
+ export declare function pikkuMCPToolFunc<InputSchema extends StandardSchemaV1>(config: MCPToolFuncConfigWithSchema<InputSchema>): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPToolResponse, 'mcp' | 'rpc'>;
95
+ export declare function pikkuMCPToolFunc<In>(func: PikkuFunctionSessionless<In, MCPToolResponse, 'mcp' | 'rpc'> | {
96
+ func: PikkuFunctionSessionless<In, MCPToolResponse, 'mcp' | 'rpc'>;
97
+ description?: string;
98
+ tags?: string[];
99
+ title?: string;
100
+ summary?: string;
101
+ name?: string;
102
+ middleware?: PikkuMiddleware[];
103
+ permissions?: CorePermissionGroup<PikkuPermission<In>>;
104
+ }): PikkuFunctionConfig<In, MCPToolResponse, 'mcp' | 'rpc'>;
105
+ /**
106
+ * Configuration for MCP resource with Zod schema input validation.
107
+ */
108
+ type MCPResourceFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
109
+ func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPResourceResponse, 'mcp' | 'rpc'>;
110
+ name?: string;
111
+ input: InputSchema;
112
+ };
113
+ /**
114
+ * Creates a function for handling MCP resource requests.
115
+ * These functions provide data that AI models can access.
116
+ *
117
+ * Supports two patterns:
118
+ * 1. Generic types: `pikkuMCPResourceFunc<Input>({ func: ... })`
119
+ * 2. Zod schemas: `pikkuMCPResourceFunc({ input: z.object(...), func: ... })`
120
+ *
121
+ * @template In - Input type for the resource request (inferred from schema if provided)
122
+ * @param func - Function definition, either direct function or configuration object
123
+ * @returns The unwrapped function for internal use
124
+ */
125
+ export declare function pikkuMCPResourceFunc<InputSchema extends StandardSchemaV1>(config: MCPResourceFuncConfigWithSchema<InputSchema>): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPResourceResponse, 'mcp' | 'rpc'>;
126
+ export declare function pikkuMCPResourceFunc<In>(func: PikkuFunctionSessionless<In, MCPResourceResponse, 'mcp' | 'rpc'> | {
127
+ func: PikkuFunctionSessionless<In, MCPResourceResponse, 'mcp' | 'rpc'>;
128
+ name?: string;
129
+ }): PikkuFunctionConfig<In, MCPResourceResponse, 'mcp' | 'rpc'>;
130
+ export {};
131
+ //# sourceMappingURL=pikku-mcp-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-mcp-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/mcp/pikku-mcp-types.gen.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * MCP-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { wireMCPResource as wireMCPResourceCore, wireMCPPrompt as wireMCPPromptCore } from '@pikku/core/mcp';
8
+ /**
9
+ * Registers an MCP resource with the Pikku framework.
10
+ * Resources provide data that AI models can access.
11
+ *
12
+ * @template In - Input type for the resource request
13
+ * @template URI - URI template string for compile-time parameter validation
14
+ * @param mcpResource - MCP resource definition with data provider function
15
+ */
16
+ export const wireMCPResource = (mcpResource) => {
17
+ wireMCPResourceCore(mcpResource);
18
+ };
19
+ /**
20
+ * Registers an MCP prompt with the Pikku framework.
21
+ * Prompts provide templates that AI models can use.
22
+ *
23
+ * @template In - Input type for the prompt parameters
24
+ * @param mcpPrompt - MCP prompt definition with template function
25
+ */
26
+ export const wireMCPPrompt = (mcpPrompt) => {
27
+ wireMCPPromptCore(mcpPrompt);
28
+ };
29
+ export function pikkuMCPPromptFunc(func) {
30
+ return typeof func === 'function' ? { func } : func;
31
+ }
32
+ export function pikkuMCPToolFunc(func) {
33
+ return typeof func === 'function' ? { func } : func;
34
+ }
35
+ export function pikkuMCPResourceFunc(func) {
36
+ return typeof func === 'function' ? { func } : func;
37
+ }
38
+ //# sourceMappingURL=pikku-mcp-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-mcp-types.gen.js","sourceRoot":"","sources":["../../../.pikku/mcp/pikku-mcp-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAGL,eAAe,IAAI,mBAAmB,EACtC,aAAa,IAAI,iBAAiB,EAKnC,MAAM,iBAAiB,CAAA;AAqBxB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,WAA6E,EAC7E,EAAE;IACF,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,SAA8B,EAC9B,EAAE;IACF,iBAAiB,CAAC,SAAgB,CAAC,CAAA;AACrC,CAAC,CAAA;AAkCD,MAAM,UAAU,kBAAkB,CAAC,IAAS;IAC1C,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AA8CD,MAAM,UAAU,gBAAgB,CAAC,IAAS;IACxC,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AAkCD,MAAM,UAAU,oBAAoB,CAAC,IAAS;IAC5C,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC"}
@@ -0,0 +1,183 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
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,9 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
+ import './function/pikku-functions-meta.gen.js';
6
+ import './addon/pikku-package.gen.js';
7
+ import './schemas/register.gen.js';
8
+ import './function/pikku-functions.gen.js';
9
+ //# sourceMappingURL=pikku-bootstrap.gen.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
+ import './function/pikku-functions-meta.gen.js';
6
+ import './addon/pikku-package.gen.js';
7
+ import './schemas/register.gen.js';
8
+ import './function/pikku-functions.gen.js';
9
+ //# sourceMappingURL=pikku-bootstrap.gen.js.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import './rpc/pikku-rpc-wirings-meta.internal.gen.js'
5
+ import './function/pikku-functions-meta.gen.js'
6
+ import './addon/pikku-package.gen.js'
7
+ import './schemas/register.gen.js'
8
+ import './function/pikku-functions.gen.js'
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
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.54
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/database/grist/.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,gEAAgE,CAAC,CAAA;IACzE,CAAC;CACF"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
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/database/grist/.pikku')
9
+ }
10
+ }
@@ -0,0 +1,35 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import type { SingletonServices } from '../types/application-types.d.js';
5
+ import type { Services } from '../types/application-types.d.js';
6
+ export declare const requiredSingletonServices: {
7
+ readonly agentRunService: false;
8
+ readonly aiAgentRunner: false;
9
+ readonly aiRunState: false;
10
+ readonly aiStorage: false;
11
+ readonly audit: false;
12
+ readonly auditLog: false;
13
+ readonly config: true;
14
+ readonly content: false;
15
+ readonly credentialService: false;
16
+ readonly deploymentService: false;
17
+ readonly emailService: false;
18
+ readonly eventHub: false;
19
+ readonly grist: false;
20
+ readonly jwt: false;
21
+ readonly logger: true;
22
+ readonly metaService: false;
23
+ readonly queueService: false;
24
+ readonly schedulerService: false;
25
+ readonly schema: true;
26
+ readonly secrets: true;
27
+ readonly sessionStore: false;
28
+ readonly variables: true;
29
+ readonly workflowRunService: false;
30
+ readonly workflowService: false;
31
+ };
32
+ export declare const requiredWireServices: {};
33
+ export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>;
34
+ export type RequiredWireServices = Partial<Services>;
35
+ //# sourceMappingURL=pikku-services.gen.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;CAyB5B,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"}
@@ -0,0 +1,30 @@
1
+ // Singleton services map: true if required, false if available but unused
2
+ export const requiredSingletonServices = {
3
+ 'agentRunService': false,
4
+ 'aiAgentRunner': false,
5
+ 'aiRunState': false,
6
+ 'aiStorage': false,
7
+ 'audit': false,
8
+ 'auditLog': false,
9
+ 'config': true,
10
+ 'content': false,
11
+ 'credentialService': false,
12
+ 'deploymentService': false,
13
+ 'emailService': false,
14
+ 'eventHub': false,
15
+ 'grist': false,
16
+ 'jwt': false,
17
+ 'logger': true,
18
+ 'metaService': false,
19
+ 'queueService': false,
20
+ 'schedulerService': false,
21
+ 'schema': true,
22
+ 'secrets': true,
23
+ 'sessionStore': false,
24
+ 'variables': true,
25
+ 'workflowRunService': false,
26
+ 'workflowService': false,
27
+ };
28
+ // Wire services map: true if required, false if available but unused
29
+ export const requiredWireServices = {};
30
+ //# sourceMappingURL=pikku-services.gen.js.map
@@ -0,0 +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,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import type { SingletonServices } from '../types/application-types.d.js'
5
+ import type { Services } from '../types/application-types.d.js'
6
+
7
+ // Singleton services map: true if required, false if available but unused
8
+ export const requiredSingletonServices = {
9
+ 'agentRunService': false,
10
+ 'aiAgentRunner': false,
11
+ 'aiRunState': false,
12
+ 'aiStorage': false,
13
+ 'audit': false,
14
+ 'auditLog': false,
15
+ 'config': true,
16
+ 'content': false,
17
+ 'credentialService': false,
18
+ 'deploymentService': false,
19
+ 'emailService': false,
20
+ 'eventHub': false,
21
+ 'grist': false,
22
+ 'jwt': false,
23
+ 'logger': true,
24
+ 'metaService': false,
25
+ 'queueService': false,
26
+ 'schedulerService': false,
27
+ 'schema': true,
28
+ 'secrets': true,
29
+ 'sessionStore': false,
30
+ 'variables': true,
31
+ 'workflowRunService': false,
32
+ 'workflowService': false,
33
+ } as const
34
+
35
+ // Wire services map: true if required, false if available but unused
36
+ export const requiredWireServices = {
37
+ } as const
38
+
39
+ // Type exports
40
+ export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>
41
+
42
+ export type RequiredWireServices = Partial<Services>
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Main type export hub - re-exports all wiring-specific types
6
+ */
7
+ export * from './function/pikku-function-types.gen.js';
8
+ export * from './trigger/pikku-trigger-types.gen.js';
9
+ export * from './console/pikku-node-types.gen.js';
10
+ export * from './secrets/pikku-secret-types.gen.js';
11
+ export * from './addon/pikku-addon-types.gen.js';
12
+ //# sourceMappingURL=pikku-types.gen.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Main type export hub - re-exports all wiring-specific types
6
+ */
7
+ // Core function, middleware, and permission types
8
+ export * from './function/pikku-function-types.gen.js';
9
+ // Trigger wiring types
10
+ export * from './trigger/pikku-trigger-types.gen.js';
11
+ // Node wiring types
12
+ export * from './console/pikku-node-types.gen.js';
13
+ // Secret definition types
14
+ export * from './secrets/pikku-secret-types.gen.js';
15
+ // Addon types
16
+ export * from './addon/pikku-addon-types.gen.js';
17
+ //# sourceMappingURL=pikku-types.gen.js.map
@@ -0,0 +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"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Main type export hub - re-exports all wiring-specific types
6
+ */
7
+
8
+ // Core function, middleware, and permission types
9
+ export * from './function/pikku-function-types.gen.js'
10
+
11
+ // Trigger wiring types
12
+ export * from './trigger/pikku-trigger-types.gen.js'
13
+
14
+ // Node wiring types
15
+ export * from './console/pikku-node-types.gen.js'
16
+
17
+ // Secret definition types
18
+ export * from './secrets/pikku-secret-types.gen.js'
19
+
20
+ // Addon types
21
+ export * from './addon/pikku-addon-types.gen.js'
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
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"}