@pikku/addon-console 0.12.8 → 0.12.10

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 (176) hide show
  1. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +2 -2
  2. package/dist/.pikku/addon/pikku-addon-types.gen.js +2 -2
  3. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  4. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  5. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  6. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  7. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  8. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  9. package/dist/.pikku/function/pikku-function-types.gen.d.ts +43 -69
  10. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  11. package/dist/.pikku/function/pikku-function-types.gen.js +33 -40
  12. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  13. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  14. package/dist/.pikku/function/pikku-functions-meta.gen.json +171 -12
  15. package/dist/.pikku/function/pikku-functions.gen.js +13 -1
  16. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
  17. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  18. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  19. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  20. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  21. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  22. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  23. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  24. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  25. package/dist/.pikku/pikku-services.gen.d.ts +8 -2
  26. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  27. package/dist/.pikku/pikku-services.gen.js +6 -0
  28. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  29. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  30. package/dist/.pikku/pikku-types.gen.js +1 -1
  31. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  32. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  33. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +26 -6
  34. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +26 -6
  35. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  36. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +6 -0
  37. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  38. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  39. package/dist/.pikku/schemas/register.gen.js +15 -1
  40. package/dist/.pikku/schemas/register.gen.js.map +1 -1
  41. package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +1 -1
  42. package/dist/.pikku/schemas/schemas/AllMeta.schema.json +1 -1
  43. package/dist/.pikku/schemas/schemas/AuthProvidersMeta.schema.json +1 -0
  44. package/dist/.pikku/schemas/schemas/DbSchema.schema.json +1 -0
  45. package/dist/.pikku/schemas/schemas/FunctionCoverageReport.schema.json +1 -0
  46. package/dist/.pikku/schemas/schemas/GetAddonMetaOutput.schema.json +1 -1
  47. package/dist/.pikku/schemas/schemas/GetAgentThreadsInput.schema.json +1 -1
  48. package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -1
  49. package/dist/.pikku/schemas/schemas/GetStateDiffInput.schema.json +1 -0
  50. package/dist/.pikku/schemas/schemas/RenderEmailPreviewInput.schema.json +1 -0
  51. package/dist/.pikku/schemas/schemas/RenderEmailPreviewOutput.schema.json +1 -0
  52. package/dist/.pikku/schemas/schemas/StateDiff.schema.json +1 -0
  53. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  54. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  55. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  56. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  57. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  58. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  59. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  60. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  61. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  62. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  63. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  64. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  65. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  66. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  67. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  68. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  69. package/dist/src/functions/delete-agent-thread.function.d.ts.map +1 -1
  70. package/dist/src/functions/delete-agent-thread.function.js.map +1 -1
  71. package/dist/src/functions/delete-workflow-run.function.d.ts.map +1 -1
  72. package/dist/src/functions/delete-workflow-run.function.js.map +1 -1
  73. package/dist/src/functions/get-agent-thread-messages.function.d.ts.map +1 -1
  74. package/dist/src/functions/get-agent-thread-messages.function.js.map +1 -1
  75. package/dist/src/functions/get-agent-thread-runs.function.d.ts.map +1 -1
  76. package/dist/src/functions/get-agent-thread-runs.function.js.map +1 -1
  77. package/dist/src/functions/get-agent-threads.function.d.ts +3 -0
  78. package/dist/src/functions/get-agent-threads.function.d.ts.map +1 -1
  79. package/dist/src/functions/get-agent-threads.function.js +2 -1
  80. package/dist/src/functions/get-agent-threads.function.js.map +1 -1
  81. package/dist/src/functions/get-ai-workflows.function.d.ts.map +1 -1
  82. package/dist/src/functions/get-ai-workflows.function.js.map +1 -1
  83. package/dist/src/functions/get-auth-providers.function.d.ts +11 -0
  84. package/dist/src/functions/get-auth-providers.function.d.ts.map +1 -0
  85. package/dist/src/functions/get-auth-providers.function.js +28 -0
  86. package/dist/src/functions/get-auth-providers.function.js.map +1 -0
  87. package/dist/src/functions/get-db-schema.function.d.ts +3 -0
  88. package/dist/src/functions/get-db-schema.function.d.ts.map +1 -0
  89. package/dist/src/functions/get-db-schema.function.js +15 -0
  90. package/dist/src/functions/get-db-schema.function.js.map +1 -0
  91. package/dist/src/functions/get-function-coverage.function.d.ts +26 -0
  92. package/dist/src/functions/get-function-coverage.function.d.ts.map +1 -0
  93. package/dist/src/functions/get-function-coverage.function.js +22 -0
  94. package/dist/src/functions/get-function-coverage.function.js.map +1 -0
  95. package/dist/src/functions/get-functions-meta.function.d.ts +10 -1
  96. package/dist/src/functions/get-functions-meta.function.d.ts.map +1 -1
  97. package/dist/src/functions/get-functions-meta.function.js +14 -8
  98. package/dist/src/functions/get-functions-meta.function.js.map +1 -1
  99. package/dist/src/functions/get-state-diff.function.d.ts +12 -0
  100. package/dist/src/functions/get-state-diff.function.d.ts.map +1 -0
  101. package/dist/src/functions/get-state-diff.function.js +13 -0
  102. package/dist/src/functions/get-state-diff.function.js.map +1 -0
  103. package/dist/src/functions/get-workflow-run-history.function.d.ts.map +1 -1
  104. package/dist/src/functions/get-workflow-run-history.function.js.map +1 -1
  105. package/dist/src/functions/get-workflow-run-names.function.d.ts.map +1 -1
  106. package/dist/src/functions/get-workflow-run-names.function.js.map +1 -1
  107. package/dist/src/functions/get-workflow-run-steps.function.d.ts.map +1 -1
  108. package/dist/src/functions/get-workflow-run-steps.function.js.map +1 -1
  109. package/dist/src/functions/get-workflow-run.function.d.ts.map +1 -1
  110. package/dist/src/functions/get-workflow-run.function.js.map +1 -1
  111. package/dist/src/functions/get-workflow-runs.function.d.ts.map +1 -1
  112. package/dist/src/functions/get-workflow-runs.function.js.map +1 -1
  113. package/dist/src/functions/get-workflow-version.function.d.ts.map +1 -1
  114. package/dist/src/functions/get-workflow-version.function.js.map +1 -1
  115. package/dist/src/functions/oauth-exchange-tokens.function.js +1 -1
  116. package/dist/src/functions/oauth-exchange-tokens.function.js.map +1 -1
  117. package/dist/src/functions/oauth-status.function.js +1 -1
  118. package/dist/src/functions/oauth-status.function.js.map +1 -1
  119. package/dist/src/functions/read-agent-source.function.d.ts.map +1 -1
  120. package/dist/src/functions/read-agent-source.function.js.map +1 -1
  121. package/dist/src/functions/read-function-body.function.d.ts.map +1 -1
  122. package/dist/src/functions/read-function-body.function.js.map +1 -1
  123. package/dist/src/functions/read-function-source.function.d.ts.map +1 -1
  124. package/dist/src/functions/read-function-source.function.js.map +1 -1
  125. package/dist/src/functions/render-email-preview.function.d.ts +20 -0
  126. package/dist/src/functions/render-email-preview.function.d.ts.map +1 -0
  127. package/dist/src/functions/render-email-preview.function.js +68 -0
  128. package/dist/src/functions/render-email-preview.function.js.map +1 -0
  129. package/dist/src/functions/render-email-preview.function.test.d.ts +2 -0
  130. package/dist/src/functions/render-email-preview.function.test.d.ts.map +1 -0
  131. package/dist/src/functions/render-email-preview.function.test.js +125 -0
  132. package/dist/src/functions/render-email-preview.function.test.js.map +1 -0
  133. package/dist/src/functions/render-email-template.utils.d.ts +5 -0
  134. package/dist/src/functions/render-email-template.utils.d.ts.map +1 -0
  135. package/dist/src/functions/render-email-template.utils.js +40 -0
  136. package/dist/src/functions/render-email-template.utils.js.map +1 -0
  137. package/dist/src/functions/render-email-template.utils.test.d.ts +2 -0
  138. package/dist/src/functions/render-email-template.utils.test.d.ts.map +1 -0
  139. package/dist/src/functions/render-email-template.utils.test.js +65 -0
  140. package/dist/src/functions/render-email-template.utils.test.js.map +1 -0
  141. package/dist/src/functions/run-function-tests.function.d.ts +3 -0
  142. package/dist/src/functions/run-function-tests.function.d.ts.map +1 -0
  143. package/dist/src/functions/run-function-tests.function.js +64 -0
  144. package/dist/src/functions/run-function-tests.function.js.map +1 -0
  145. package/dist/src/functions/update-agent-config.function.d.ts.map +1 -1
  146. package/dist/src/functions/update-agent-config.function.js.map +1 -1
  147. package/dist/src/functions/update-function-body.function.d.ts.map +1 -1
  148. package/dist/src/functions/update-function-body.function.js.map +1 -1
  149. package/dist/src/functions/update-function-config.function.d.ts.map +1 -1
  150. package/dist/src/functions/update-function-config.function.js.map +1 -1
  151. package/dist/src/services/db-schema.service.d.ts +59 -0
  152. package/dist/src/services/db-schema.service.d.ts.map +1 -0
  153. package/dist/src/services/db-schema.service.js +265 -0
  154. package/dist/src/services/db-schema.service.js.map +1 -0
  155. package/dist/src/services/state-diff.service.d.ts +76 -0
  156. package/dist/src/services/state-diff.service.d.ts.map +1 -0
  157. package/dist/src/services/state-diff.service.js +148 -0
  158. package/dist/src/services/state-diff.service.js.map +1 -0
  159. package/dist/src/services/wiring.service.d.ts +22 -3
  160. package/dist/src/services/wiring.service.d.ts.map +1 -1
  161. package/dist/src/services/wiring.service.js +276 -11
  162. package/dist/src/services/wiring.service.js.map +1 -1
  163. package/dist/src/services/wiring.service.test.d.ts +2 -0
  164. package/dist/src/services/wiring.service.test.d.ts.map +1 -0
  165. package/dist/src/services/wiring.service.test.js +70 -0
  166. package/dist/src/services/wiring.service.test.js.map +1 -0
  167. package/dist/src/services.d.ts.map +1 -1
  168. package/dist/src/services.js +29 -1
  169. package/dist/src/services.js.map +1 -1
  170. package/dist/src/tests/test-oauth2-client.js +11 -12
  171. package/dist/src/tests/test-oauth2-client.js.map +1 -1
  172. package/package.json +15 -5
  173. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +0 -78
  174. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts.map +0 -1
  175. package/dist/.pikku/cli/pikku-cli-types.gen.js +0 -61
  176. package/dist/.pikku/cli/pikku-cli-types.gen.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js';
5
5
  import type { Services } from '../types/application-types.d.js';
@@ -9,11 +9,15 @@ export declare const requiredSingletonServices: {
9
9
  readonly aiAgentRunner: true;
10
10
  readonly aiRunState: true;
11
11
  readonly aiStorage: true;
12
+ readonly audit: false;
12
13
  readonly codeEditService: true;
13
14
  readonly config: true;
14
15
  readonly content: false;
15
16
  readonly credentialService: true;
17
+ readonly dbSchemaService: true;
16
18
  readonly deploymentService: true;
19
+ readonly emailService: false;
20
+ readonly eventHub: false;
17
21
  readonly jwt: false;
18
22
  readonly logger: true;
19
23
  readonly metaService: true;
@@ -22,13 +26,15 @@ export declare const requiredSingletonServices: {
22
26
  readonly schedulerService: true;
23
27
  readonly schema: true;
24
28
  readonly secrets: true;
29
+ readonly sessionStore: false;
30
+ readonly stateDiffService: true;
25
31
  readonly variables: true;
26
32
  readonly wiringService: true;
27
33
  readonly workflowRunService: true;
28
34
  readonly workflowService: true;
29
35
  };
30
36
  export declare const requiredWireServices: {};
31
- export type RequiredSingletonServices = Pick<SingletonServices, 'addonService' | 'agentRunService' | 'aiAgentRunner' | 'aiRunState' | 'aiStorage' | 'codeEditService' | 'config' | 'credentialService' | 'deploymentService' | 'logger' | 'metaService' | 'oauthService' | 'schedulerService' | 'schema' | 'secrets' | 'variables' | 'wiringService' | 'workflowRunService' | 'workflowService'> & Partial<Omit<SingletonServices, 'addonService' | 'agentRunService' | 'aiAgentRunner' | 'aiRunState' | 'aiStorage' | 'codeEditService' | 'config' | 'credentialService' | 'deploymentService' | 'logger' | 'metaService' | 'oauthService' | 'schedulerService' | 'schema' | 'secrets' | 'variables' | 'wiringService' | 'workflowRunService' | 'workflowService'>>;
37
+ export type RequiredSingletonServices = Pick<SingletonServices, 'addonService' | 'agentRunService' | 'aiAgentRunner' | 'aiRunState' | 'aiStorage' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'deploymentService' | 'logger' | 'metaService' | 'oauthService' | 'schedulerService' | 'schema' | 'secrets' | 'stateDiffService' | 'variables' | 'wiringService' | 'workflowRunService' | 'workflowService'> & Partial<Omit<SingletonServices, 'addonService' | 'agentRunService' | 'aiAgentRunner' | 'aiRunState' | 'aiStorage' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'deploymentService' | 'logger' | 'metaService' | 'oauthService' | 'schedulerService' | 'schema' | 'secrets' | 'stateDiffService' | 'variables' | 'wiringService' | 'workflowRunService' | 'workflowService'>>;
32
38
  export type RequiredWireServices = Partial<Services>;
33
39
  export declare const requiredParentServices: readonly ["variables", "metaService", "aiAgentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "aiStorage", "aiRunState", "deploymentService", "credentialService"];
34
40
  //# 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;;;;;;;;;;;;;;;;;;;;;;;CAuB5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,iBAAiB,GAAG,eAAe,GAAG,YAAY,GAAG,WAAW,GAAG,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,QAAQ,GAAG,aAAa,GAAG,cAAc,GAAG,kBAAkB,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,eAAe,GAAG,oBAAoB,GAAG,iBAAiB,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,iBAAiB,GAAG,eAAe,GAAG,YAAY,G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AG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,eAAe,GAAG,oBAAoB,GAAG,iBAAiB,CAAC,CAAC,CAAA;AAEtzB,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,6MAAoM,CAAA"}
@@ -5,11 +5,15 @@ export const requiredSingletonServices = {
5
5
  'aiAgentRunner': true,
6
6
  'aiRunState': true,
7
7
  'aiStorage': true,
8
+ 'audit': false,
8
9
  'codeEditService': true,
9
10
  'config': true,
10
11
  'content': false,
11
12
  'credentialService': true,
13
+ 'dbSchemaService': true,
12
14
  'deploymentService': true,
15
+ 'emailService': false,
16
+ 'eventHub': false,
13
17
  'jwt': false,
14
18
  'logger': true,
15
19
  'metaService': true,
@@ -18,6 +22,8 @@ export const requiredSingletonServices = {
18
22
  'schedulerService': true,
19
23
  'schema': true,
20
24
  'secrets': true,
25
+ 'sessionStore': false,
26
+ 'stateDiffService': true,
21
27
  'variables': true,
22
28
  'wiringService': true,
23
29
  'workflowRunService': true,
@@ -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,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,YAAY,EAAE,IAAI;IAClB,WAAW,EAAE,IAAI;IACjB,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,IAAI;IACzB,mBAAmB,EAAE,IAAI;IACzB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,cAAc,EAAE,IAAI;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,IAAI;IACxB,QAAQ,EAAE,I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BAAiB,EAAE,IAAI;CACf,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,WAAW,EAAC,aAAa,EAAC,eAAe,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,oBAAoB,EAAC,WAAW,EAAC,YAAY,EAAC,mBAAmB,EAAC,mBAAmB,CAAU,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -9,13 +9,19 @@
9
9
  import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
10
10
  import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
11
11
  import type { AddonPackageInfo } from '../../src/services/addon.service.js'
12
- import type { FunctionMeta, FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta } from '../../../../core/dist/types/core.types.d.js'
12
+ import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
13
+ import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta } from '../../../../core/dist/types/core.types.d.js'
13
14
  import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
14
15
  import type { WorkflowStepMeta, RpcStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
15
16
  import type { WorkflowContext } from '../../../../core/dist/wirings/workflow/workflow.types.d.js'
16
17
  import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
17
18
  import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
19
+ import type { AuthProvidersMeta } from '../../src/functions/get-auth-providers.function.js'
20
+ import type { DbSchema } from '../../src/services/db-schema.service.js'
21
+ import type { FunctionCoverageReport } from '../../src/functions/get-function-coverage.function.js'
18
22
  import type { JSONSchema7 } from 'json-schema'
23
+ import type { StateDiff } from '../../src/services/state-diff.service.js'
24
+ import type { RenderEmailPreviewInput, RenderEmailPreviewOutput } from '../../src/functions/render-email-preview.function.js'
19
25
 
20
26
  export type AgentCredentialCheckInput = { agentName: string; userId?: string; }
21
27
  export type AgentCredentialCheckOutput = { requirements: AgentCredentialRequirement[]; allConnected: boolean; }
@@ -42,18 +48,19 @@ export type GetAgentThreadMessagesInput = { threadId: string; }
42
48
  export type GetAgentThreadMessagesOutput = any[]
43
49
  export type GetAgentThreadRunsInput = { threadId: string; }
44
50
  export type GetAgentThreadRunsOutput = any[]
45
- export type GetAgentThreadsInput = { agentName?: string; limit?: number; offset?: number; }
51
+ export type GetAgentThreadsInput = { agentName?: string; resourceId?: string; limit?: number; offset?: number; }
46
52
  export type GetAgentThreadsOutput = any[]
47
53
  export type GetAIWorkflowsInput = { agentName?: string; }
48
54
  export type GetAIWorkflowsOutput = { workflowName: string; graphHash: string; graph: any; }[]
49
55
  export type GetChannelSnippetsInput = { channelName: string; }
50
- export type GetFunctionsMetaOutput = FunctionMeta[]
56
+ export type GetFunctionsMetaOutput = FunctionMetaWithVersions[]
51
57
  export type GetInstalledAddonsOutput = InstalledAddon[]
52
58
  export type GetOpenapiDetailInput = { name: string; }
53
59
  export type GetOpenapiDetailOutput = { name: string; version: string; provider: string; service: string; title: string; description: string; openapiVer: string; swaggerUrl: string; swaggerYamlUrl?: string; logo?: string; categories: string[]; tags: string[]; added?: string; updated?: string; }
54
60
  export type GetOpenapisInput = { limit: number; offset: number; search?: string; }
55
61
  export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string; }[]; total: number; nextCursor: number; }
56
62
  export type GetSchemaInput = { schemaName: string; }
63
+ export type GetStateDiffInput = { basePath: string; oursPath?: string; }
57
64
  export type GetWorkflowMetaByIdInput = { workflowId: string; }
58
65
  export type GetWorkflowMetaByIdOutput = CommonWireMeta & { name: string; steps: WorkflowStepMeta[]; context?: WorkflowContext; dsl?: boolean; inline?: boolean; expose?: boolean; }
59
66
  export type GetWorkflowRunHistoryInput = { runId: string; }
@@ -120,13 +127,17 @@ export type RPCMap = {
120
127
  readonly 'getAgentThreads': RPCHandler<GetAgentThreadsInput, GetAgentThreadsOutput>,
121
128
  readonly 'getAIWorkflows': RPCHandler<GetAIWorkflowsInput, GetAIWorkflowsOutput>,
122
129
  readonly 'getAllMeta': RPCHandler<null, AllMeta>,
130
+ readonly 'getAuthProviders': RPCHandler<null, AuthProvidersMeta>,
123
131
  readonly 'getChannelSnippets': RPCHandler<GetChannelSnippetsInput, ChannelSnippets>,
132
+ readonly 'getDbSchema': RPCHandler<null, DbSchema>,
133
+ readonly 'getFunctionCoverage': RPCHandler<null, FunctionCoverageReport>,
124
134
  readonly 'getFunctionsMeta': RPCHandler<null, GetFunctionsMetaOutput>,
125
135
  readonly 'getInstalledAddons': RPCHandler<null, GetInstalledAddonsOutput>,
126
136
  readonly 'getAddonInstalledPackage': RPCHandler<GetAddonInstalledPackageInput, AddonPackageInfo>,
127
137
  readonly 'getOpenapiDetail': RPCHandler<GetOpenapiDetailInput, GetOpenapiDetailOutput>,
128
138
  readonly 'getOpenapis': RPCHandler<GetOpenapisInput, GetOpenapisOutput>,
129
139
  readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
140
+ readonly 'getStateDiff': RPCHandler<GetStateDiffInput, StateDiff>,
130
141
  readonly 'getWorkflowMetaById': RPCHandler<GetWorkflowMetaByIdInput, GetWorkflowMetaByIdOutput>,
131
142
  readonly 'getWorkflowRunHistory': RPCHandler<GetWorkflowRunHistoryInput, GetWorkflowRunHistoryOutput>,
132
143
  readonly 'getWorkflowRunNames': RPCHandler<null, GetWorkflowRunNamesOutput>,
@@ -146,6 +157,8 @@ export type RPCMap = {
146
157
  readonly 'readAgentSource': RPCHandler<ReadAgentSourceInput, ReadAgentSourceOutput>,
147
158
  readonly 'readFunctionBody': RPCHandler<ReadFunctionBodyInput, ReadFunctionBodyOutput>,
148
159
  readonly 'readFunctionSource': RPCHandler<ReadFunctionSourceInput, ReadFunctionSourceOutput>,
160
+ readonly 'renderEmailPreview': RPCHandler<RenderEmailPreviewInput, RenderEmailPreviewOutput>,
161
+ readonly 'runFunctionTests': RPCHandler<null, FunctionCoverageReport>,
149
162
  readonly 'updateAgentConfig': RPCHandler<UpdateAgentConfigInput, UpdateAgentConfigOutput>,
150
163
  readonly 'updateFunctionBody': RPCHandler<UpdateFunctionBodyInput, UpdateFunctionBodyOutput>,
151
164
  readonly 'updateFunctionConfig': RPCHandler<UpdateFunctionConfigInput, UpdateFunctionConfigOutput>,
@@ -156,15 +169,22 @@ export type RPCMap = {
156
169
  // No addon packages, use RPCMap directly
157
170
  export type FlattenedRPCMap = RPCMap
158
171
 
172
+ type IsAny<T> = 0 extends (1 & T) ? true : false
173
+ type IsVoidishInput<T> = IsAny<T> extends true
174
+ ? false
175
+ : [T] extends [void | null | undefined]
176
+ ? true
177
+ : false
178
+
159
179
 
160
180
  export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
161
- ...args: FlattenedRPCMap[Name]['input'] extends void | null
181
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
162
182
  ? [name: Name]
163
183
  : [name: Name, data: FlattenedRPCMap[Name]['input']]
164
184
  ) => Promise<FlattenedRPCMap[Name]['output']>
165
185
 
166
186
  export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
167
- ...args: FlattenedRPCMap[Name]['input'] extends void | null
187
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
168
188
  ? [name: Name]
169
189
  : [name: Name, data: FlattenedRPCMap[Name]['input']]
170
190
  ) => Promise<FlattenedRPCMap[Name]['output']>
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -9,13 +9,19 @@
9
9
  import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
10
10
  import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
11
11
  import type { AddonPackageInfo } from '../../src/services/addon.service.js'
12
- import type { FunctionMeta, FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta } from '../../../../core/dist/types/core.types.d.js'
12
+ import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
13
+ import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta } from '../../../../core/dist/types/core.types.d.js'
13
14
  import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
14
15
  import type { WorkflowStepMeta, RpcStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
15
16
  import type { WorkflowContext } from '../../../../core/dist/wirings/workflow/workflow.types.d.js'
16
17
  import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
17
18
  import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
19
+ import type { AuthProvidersMeta } from '../../src/functions/get-auth-providers.function.js'
20
+ import type { DbSchema } from '../../src/services/db-schema.service.js'
21
+ import type { FunctionCoverageReport } from '../../src/functions/get-function-coverage.function.js'
18
22
  import type { JSONSchema7 } from 'json-schema'
23
+ import type { StateDiff } from '../../src/services/state-diff.service.js'
24
+ import type { RenderEmailPreviewInput, RenderEmailPreviewOutput } from '../../src/functions/render-email-preview.function.js'
19
25
 
20
26
  export type AgentCredentialCheckInput = { agentName: string; userId?: string; }
21
27
  export type AgentCredentialCheckOutput = { requirements: AgentCredentialRequirement[]; allConnected: boolean; }
@@ -42,18 +48,19 @@ export type GetAgentThreadMessagesInput = { threadId: string; }
42
48
  export type GetAgentThreadMessagesOutput = any[]
43
49
  export type GetAgentThreadRunsInput = { threadId: string; }
44
50
  export type GetAgentThreadRunsOutput = any[]
45
- export type GetAgentThreadsInput = { agentName?: string; limit?: number; offset?: number; }
51
+ export type GetAgentThreadsInput = { agentName?: string; resourceId?: string; limit?: number; offset?: number; }
46
52
  export type GetAgentThreadsOutput = any[]
47
53
  export type GetAIWorkflowsInput = { agentName?: string; }
48
54
  export type GetAIWorkflowsOutput = { workflowName: string; graphHash: string; graph: any; }[]
49
55
  export type GetChannelSnippetsInput = { channelName: string; }
50
- export type GetFunctionsMetaOutput = FunctionMeta[]
56
+ export type GetFunctionsMetaOutput = FunctionMetaWithVersions[]
51
57
  export type GetInstalledAddonsOutput = InstalledAddon[]
52
58
  export type GetOpenapiDetailInput = { name: string; }
53
59
  export type GetOpenapiDetailOutput = { name: string; version: string; provider: string; service: string; title: string; description: string; openapiVer: string; swaggerUrl: string; swaggerYamlUrl?: string; logo?: string; categories: string[]; tags: string[]; added?: string; updated?: string; }
54
60
  export type GetOpenapisInput = { limit: number; offset: number; search?: string; }
55
61
  export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string; }[]; total: number; nextCursor: number; }
56
62
  export type GetSchemaInput = { schemaName: string; }
63
+ export type GetStateDiffInput = { basePath: string; oursPath?: string; }
57
64
  export type GetWorkflowMetaByIdInput = { workflowId: string; }
58
65
  export type GetWorkflowMetaByIdOutput = CommonWireMeta & { name: string; steps: WorkflowStepMeta[]; context?: WorkflowContext; dsl?: boolean; inline?: boolean; expose?: boolean; }
59
66
  export type GetWorkflowRunHistoryInput = { runId: string; }
@@ -120,13 +127,17 @@ export type RPCMap = {
120
127
  readonly 'getAgentThreads': RPCHandler<GetAgentThreadsInput, GetAgentThreadsOutput>,
121
128
  readonly 'getAIWorkflows': RPCHandler<GetAIWorkflowsInput, GetAIWorkflowsOutput>,
122
129
  readonly 'getAllMeta': RPCHandler<null, AllMeta>,
130
+ readonly 'getAuthProviders': RPCHandler<null, AuthProvidersMeta>,
123
131
  readonly 'getChannelSnippets': RPCHandler<GetChannelSnippetsInput, ChannelSnippets>,
132
+ readonly 'getDbSchema': RPCHandler<null, DbSchema>,
133
+ readonly 'getFunctionCoverage': RPCHandler<null, FunctionCoverageReport>,
124
134
  readonly 'getFunctionsMeta': RPCHandler<null, GetFunctionsMetaOutput>,
125
135
  readonly 'getInstalledAddons': RPCHandler<null, GetInstalledAddonsOutput>,
126
136
  readonly 'getAddonInstalledPackage': RPCHandler<GetAddonInstalledPackageInput, AddonPackageInfo>,
127
137
  readonly 'getOpenapiDetail': RPCHandler<GetOpenapiDetailInput, GetOpenapiDetailOutput>,
128
138
  readonly 'getOpenapis': RPCHandler<GetOpenapisInput, GetOpenapisOutput>,
129
139
  readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
140
+ readonly 'getStateDiff': RPCHandler<GetStateDiffInput, StateDiff>,
130
141
  readonly 'getWorkflowMetaById': RPCHandler<GetWorkflowMetaByIdInput, GetWorkflowMetaByIdOutput>,
131
142
  readonly 'getWorkflowRunHistory': RPCHandler<GetWorkflowRunHistoryInput, GetWorkflowRunHistoryOutput>,
132
143
  readonly 'getWorkflowRunNames': RPCHandler<null, GetWorkflowRunNamesOutput>,
@@ -146,6 +157,8 @@ export type RPCMap = {
146
157
  readonly 'readAgentSource': RPCHandler<ReadAgentSourceInput, ReadAgentSourceOutput>,
147
158
  readonly 'readFunctionBody': RPCHandler<ReadFunctionBodyInput, ReadFunctionBodyOutput>,
148
159
  readonly 'readFunctionSource': RPCHandler<ReadFunctionSourceInput, ReadFunctionSourceOutput>,
160
+ readonly 'renderEmailPreview': RPCHandler<RenderEmailPreviewInput, RenderEmailPreviewOutput>,
161
+ readonly 'runFunctionTests': RPCHandler<null, FunctionCoverageReport>,
149
162
  readonly 'streamWorkflowRun': RPCHandler<StreamWorkflowRunInput, null>,
150
163
  readonly 'updateAgentConfig': RPCHandler<UpdateAgentConfigInput, UpdateAgentConfigOutput>,
151
164
  readonly 'updateFunctionBody': RPCHandler<UpdateFunctionBodyInput, UpdateFunctionBodyOutput>,
@@ -157,15 +170,22 @@ export type RPCMap = {
157
170
  // No addon packages, use RPCMap directly
158
171
  export type FlattenedRPCMap = RPCMap
159
172
 
173
+ type IsAny<T> = 0 extends (1 & T) ? true : false
174
+ type IsVoidishInput<T> = IsAny<T> extends true
175
+ ? false
176
+ : [T] extends [void | null | undefined]
177
+ ? true
178
+ : false
179
+
160
180
 
161
181
  export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
162
- ...args: FlattenedRPCMap[Name]['input'] extends void | null
182
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
163
183
  ? [name: Name]
164
184
  : [name: Name, data: FlattenedRPCMap[Name]['input']]
165
185
  ) => Promise<FlattenedRPCMap[Name]['output']>
166
186
 
167
187
  export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
168
- ...args: FlattenedRPCMap[Name]['input'] extends void | null
188
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
169
189
  ? [name: Name]
170
190
  : [name: Name, data: FlattenedRPCMap[Name]['input']]
171
191
  ) => Promise<FlattenedRPCMap[Name]['output']>
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
@@ -16,13 +16,17 @@
16
16
  "getAgentThreads": "getAgentThreads",
17
17
  "getAIWorkflows": "getAIWorkflows",
18
18
  "getAllMeta": "getAllMeta",
19
+ "getAuthProviders": "getAuthProviders",
19
20
  "getChannelSnippets": "getChannelSnippets",
21
+ "getDbSchema": "getDbSchema",
22
+ "getFunctionCoverage": "getFunctionCoverage",
20
23
  "getFunctionsMeta": "getFunctionsMeta",
21
24
  "getInstalledAddons": "getInstalledAddons",
22
25
  "getAddonInstalledPackage": "getAddonInstalledPackage",
23
26
  "getOpenapiDetail": "getOpenapiDetail",
24
27
  "getOpenapis": "getOpenapis",
25
28
  "getSchema": "getSchema",
29
+ "getStateDiff": "getStateDiff",
26
30
  "getWorkflowMetaById": "getWorkflowMetaById",
27
31
  "getWorkflowRunHistory": "getWorkflowRunHistory",
28
32
  "getWorkflowRunNames": "getWorkflowRunNames",
@@ -42,6 +46,8 @@
42
46
  "readAgentSource": "readAgentSource",
43
47
  "readFunctionBody": "readFunctionBody",
44
48
  "readFunctionSource": "readFunctionSource",
49
+ "renderEmailPreview": "renderEmailPreview",
50
+ "runFunctionTests": "runFunctionTests",
45
51
  "streamWorkflowRun": "streamWorkflowRun",
46
52
  "updateAgentConfig": "updateAgentConfig",
47
53
  "updateFunctionBody": "updateFunctionBody",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.19
2
+ * This file was generated by @pikku/cli@0.12.28
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as AgentCredentialCheckInput from './schemas/AgentCredentialCheckInput.schema.json' with { type: 'json' };
@@ -62,10 +62,16 @@ import * as GetAIWorkflowsOutput from './schemas/GetAIWorkflowsOutput.schema.jso
62
62
  addSchema('GetAIWorkflowsOutput', GetAIWorkflowsOutput, '@pikku/addon-console');
63
63
  import * as AllMeta from './schemas/AllMeta.schema.json' with { type: 'json' };
64
64
  addSchema('AllMeta', AllMeta, '@pikku/addon-console');
65
+ import * as AuthProvidersMeta from './schemas/AuthProvidersMeta.schema.json' with { type: 'json' };
66
+ addSchema('AuthProvidersMeta', AuthProvidersMeta, '@pikku/addon-console');
65
67
  import * as GetChannelSnippetsInput from './schemas/GetChannelSnippetsInput.schema.json' with { type: 'json' };
66
68
  addSchema('GetChannelSnippetsInput', GetChannelSnippetsInput, '@pikku/addon-console');
67
69
  import * as ChannelSnippets from './schemas/ChannelSnippets.schema.json' with { type: 'json' };
68
70
  addSchema('ChannelSnippets', ChannelSnippets, '@pikku/addon-console');
71
+ import * as DbSchema from './schemas/DbSchema.schema.json' with { type: 'json' };
72
+ addSchema('DbSchema', DbSchema, '@pikku/addon-console');
73
+ import * as FunctionCoverageReport from './schemas/FunctionCoverageReport.schema.json' with { type: 'json' };
74
+ addSchema('FunctionCoverageReport', FunctionCoverageReport, '@pikku/addon-console');
69
75
  import * as GetFunctionsMetaOutput from './schemas/GetFunctionsMetaOutput.schema.json' with { type: 'json' };
70
76
  addSchema('GetFunctionsMetaOutput', GetFunctionsMetaOutput, '@pikku/addon-console');
71
77
  import * as GetInstalledAddonsOutput from './schemas/GetInstalledAddonsOutput.schema.json' with { type: 'json' };
@@ -84,6 +90,10 @@ import * as GetSchemaInput from './schemas/GetSchemaInput.schema.json' with { ty
84
90
  addSchema('GetSchemaInput', GetSchemaInput, '@pikku/addon-console');
85
91
  import * as JSONSchema7 from './schemas/JSONSchema7.schema.json' with { type: 'json' };
86
92
  addSchema('JSONSchema7', JSONSchema7, '@pikku/addon-console');
93
+ import * as GetStateDiffInput from './schemas/GetStateDiffInput.schema.json' with { type: 'json' };
94
+ addSchema('GetStateDiffInput', GetStateDiffInput, '@pikku/addon-console');
95
+ import * as StateDiff from './schemas/StateDiff.schema.json' with { type: 'json' };
96
+ addSchema('StateDiff', StateDiff, '@pikku/addon-console');
87
97
  import * as GetWorkflowMetaByIdInput from './schemas/GetWorkflowMetaByIdInput.schema.json' with { type: 'json' };
88
98
  addSchema('GetWorkflowMetaByIdInput', GetWorkflowMetaByIdInput, '@pikku/addon-console');
89
99
  import * as GetWorkflowMetaByIdOutput from './schemas/GetWorkflowMetaByIdOutput.schema.json' with { type: 'json' };
@@ -154,6 +164,10 @@ import * as ReadFunctionSourceInput from './schemas/ReadFunctionSourceInput.sche
154
164
  addSchema('ReadFunctionSourceInput', ReadFunctionSourceInput, '@pikku/addon-console');
155
165
  import * as ReadFunctionSourceOutput from './schemas/ReadFunctionSourceOutput.schema.json' with { type: 'json' };
156
166
  addSchema('ReadFunctionSourceOutput', ReadFunctionSourceOutput, '@pikku/addon-console');
167
+ import * as RenderEmailPreviewInput from './schemas/RenderEmailPreviewInput.schema.json' with { type: 'json' };
168
+ addSchema('RenderEmailPreviewInput', RenderEmailPreviewInput, '@pikku/addon-console');
169
+ import * as RenderEmailPreviewOutput from './schemas/RenderEmailPreviewOutput.schema.json' with { type: 'json' };
170
+ addSchema('RenderEmailPreviewOutput', RenderEmailPreviewOutput, '@pikku/addon-console');
157
171
  import * as StreamWorkflowRunInput from './schemas/StreamWorkflowRunInput.schema.json' with { type: 'json' };
158
172
  addSchema('StreamWorkflowRunInput', StreamWorkflowRunInput, '@pikku/addon-console');
159
173
  import * as UpdateAgentConfigInput from './schemas/UpdateAgentConfigInput.schema.json' with { type: 'json' };
@@ -1 +1 @@
1
- {"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,KAAK,yBAAyB,MAAM,iDAAiD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClH,SAAS,CAAC,2BAA2B,EAAE,yBAAyB,EAAE,sBAAsB,CAAC,CAAA;AAGzF,OAAO,KAAK,0BAA0B,MAAM,kDAAkD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpH,SAAS,CAAC,4BAA4B,EAAE,0BAA0B,EAAE,sBAAsB,CAAC,CAAA;AAG3F,OAAO,KAAK,qBAAqB,MAAM,6CAA6C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC1G,SAAS,CAAC,uBAAuB,EAAE,qBAAqB,EAAE,sBAAsB,CAAC,CAAA;AAGjF,OAAO,KAAK,sBAAsB,MAAM,8CAA8C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5G,SAAS,CAAC,wBAAwB,EAAE,sBAAsB,EAAE,sBAAsB,CAAC,CAAA;AAGnF,OAAO,KAAK,kBAAkB,MAAM,0CAA0C,CAAC,OA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AC,CAAA;AAGvF,OAAO,KAAK,sBAAsB,MAAM,8CAA8C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5G,SAAS,CAAC,wBAAwB,EAAE,sBAAsB,EAAE,sBAAsB,CAAC,CAAA;AAGnF,OAAO,KAAK,sBAAsB,MAAM,8CAA8C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5G,SAAS,CAAC,wBAAwB,EAAE,sBAAsB,EAAE,sBAAsB,CAAC,CAAA;AAGnF,OAAO,KAAK,uBAAuB,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9G,SAAS,CAAC,yBAAyB,EAAE,uBAAuB,EAAE,sBAAsB,CAAC,CAAA;AAGrF,OAAO,KAAK,uBAAuB,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9G,SAAS,CAAC,yBAAyB,EAAE,uBAAuB,EAAE,sBAAsB,CAAC,CAAA;AAGrF,OAAO,KAAK,wBAAwB,MAAM,gDAAgD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChH,SAAS,CAAC,0BAA0B,EAAE,wBAAwB,EAAE,sBAAsB,CAAC,CAAA;AAGvF,OAAO,KAAK,yBAAyB,MAAM,iDAAiD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClH,SAAS,CAAC,2BAA2B,EAAE,yBAAyB,EAAE,sBAAsB,CAAC,CAAA;AAGzF,OAAO,KAAK,0BAA0B,MAAM,kDAAkD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpH,SAAS,CAAC,4BAA4B,EAAE,0BAA0B,EAAE,sBAAsB,CAAC,CAAA"}
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "displayName": { "type": "string" }, "version": { "type": "string" }, "description": { "type": "string" }, "author": { "type": "string" }, "repository": { "type": "string" }, "license": { "type": "string" }, "readme": { "type": "string" }, "icon": { "type": "string" }, "publishedAt": { "type": "string" }, "updatedAt": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "categories": { "type": "array", "items": { "type": "string" } }, "functions": { "$ref": "#/definitions/FunctionsMeta" }, "agents": { "type": "object", "additionalProperties": {} }, "secrets": { "type": "object", "additionalProperties": {} }, "variables": { "type": "object", "additionalProperties": {} }, "httpRoutes": { "$ref": "#/definitions/HTTPWiringsMeta" }, "channels": { "$ref": "#/definitions/ChannelsMeta" }, "cli": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIProgramMeta" } }, "mcp": { "anyOf": [{ "$ref": "#/definitions/McpMeta" }, { "type": "null" }] }, "schemas": { "type": "object", "additionalProperties": {} } }, "required": ["id", "name", "displayName", "version", "description", "author", "publishedAt", "updatedAt", "tags", "categories", "functions", "agents", "secrets", "variables", "httpRoutes", "channels", "cli", "mcp", "schemas"], "additionalProperties": false, "definitions": { "FunctionsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FunctionMeta" } }, "FunctionMeta": { "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string" }, "functionType": { "type": "string", "enum": ["user", "inline", "helper"] }, "funcWrapper": { "type": "string" }, "services": { "$ref": "#/definitions/FunctionServicesMeta" }, "wires": { "$ref": "#/definitions/FunctionWiresMeta" }, "inputs": { "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }] }, "outputs": { "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "isDirectFunction": { "type": "boolean" }, "sourceFile": { "type": "string" }, "exportedName": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "title": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "inputSchemaName": { "type": ["string", "null"] }, "outputSchemaName": { "type": ["string", "null"] }, "expose": { "type": "boolean" }, "remote": { "type": "boolean" }, "mcp": { "type": "boolean" }, "readonly": { "type": "boolean" }, "deploy": { "type": "string", "enum": ["serverless", "server", "auto"] }, "sessionless": { "type": "boolean" }, "version": { "type": "number" }, "approvalRequired": { "type": "boolean" }, "approvalDescription": { "type": "string" }, "contractHash": { "type": "string" }, "inputHash": { "type": "string" }, "outputHash": { "type": "string" } }, "required": ["inputSchemaName", "outputSchemaName", "pikkuFuncId"] }, "FunctionServicesMeta": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "services": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "services"], "additionalProperties": false }, "FunctionWiresMeta": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "wires": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "wires"], "additionalProperties": false }, "MiddlewareMetadata": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }], "description": "Metadata for middleware at any level\n- type: 'http' = HTTP route middleware group (references httpGroup in pikkuState)\n- type: 'tag' = Tag-based middleware group (references tagGroup in pikkuState)\n- type: 'wire' = Wire-level individual middleware" }, "PermissionMetadata": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }], "description": "Metadata for permissions at any level\n- type: 'http' = HTTP route permission group (references httpGroup in pikkuState)\n- type: 'tag' = Tag-based permission group (references tagGroup in pikkuState)\n- type: 'wire' = Wire-level individual permission" }, "HTTPWiringsMeta": { "type": "object", "properties": { "post": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "get": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "delete": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "patch": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "head": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "put": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } } }, "required": ["post", "get", "delete", "patch", "head", "put", "options"], "additionalProperties": false }, "HTTPWiringMeta": { "type": "object", "additionalProperties": false, "properties": { "route": { "type": "string" }, "method": { "$ref": "#/definitions/HTTPMethod" }, "params": { "type": "array", "items": { "type": "string" } }, "query": { "type": "array", "items": { "type": "string" } }, "inputTypes": { "$ref": "#/definitions/HTTPFunctionMetaInputTypes" }, "headersSchemaName": { "type": "string" }, "sse": { "type": "boolean", "const": true }, "groupBasePath": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "title": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } } }, "required": ["method", "pikkuFuncId", "route"], "description": "Represents metadata for a set of HTTP wirings, including HTTP wiring details, methods, input/output types, and documentation." }, "HTTPMethod": { "type": "string", "enum": ["post", "get", "delete", "patch", "head", "put", "options"], "description": "Represents the HTTP methods supported for API HTTP wirings." }, "HTTPFunctionMetaInputTypes": { "type": "object", "properties": { "params": { "type": "string" }, "query": { "type": "string" }, "body": { "type": "string" } }, "additionalProperties": false, "description": "Represents the input types for HTTP wiring metadata, including parameters, query, and body types." }, "ChannelsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChannelMeta" } }, "ChannelMeta": { "type": "object", "properties": { "name": { "type": "string" }, "route": { "type": "string" }, "params": { "type": "array", "items": { "type": "string" } }, "query": { "type": "array", "items": { "type": "string" } }, "input": { "type": ["string", "null"] }, "inputTypes": { "$ref": "#/definitions/HTTPFunctionMetaInputTypes" }, "connect": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "disconnect": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "message": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "messageWirings": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChannelMessageMeta" } } }, "binary": { "type": ["boolean", "null"] }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "channelMiddleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } } }, "required": ["name", "route", "input", "connect", "disconnect", "message", "messageWirings"], "additionalProperties": false }, "ChannelMessageMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } } }, "required": ["pikkuFuncId"], "additionalProperties": false }, "CLIProgramMeta": { "type": "object", "properties": { "program": { "type": "string" }, "commands": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLICommandMeta" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIOption" } }, "defaultRenderName": { "type": "string" } }, "required": ["program", "commands", "options"], "additionalProperties": false, "description": "CLI metadata collection (per program)" }, "CLICommandMeta": { "type": "object", "properties": { "parameters": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "positionals": { "type": "array", "items": { "$ref": "#/definitions/CLIPositional" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIOption" } }, "renderName": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "subcommands": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLICommandMeta" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "isDefault": { "type": "boolean" } }, "required": ["pikkuFuncId", "positionals", "options"], "additionalProperties": false, "description": "CLI command metadata for runtime" }, "CLIPositional": { "type": "object", "properties": { "name": { "type": "string" }, "required": { "type": "boolean" }, "variadic": { "type": "boolean" } }, "required": ["name", "required"], "additionalProperties": false, "description": "Positional argument definition" }, "CLIOption": { "type": "object", "properties": { "description": { "type": "string" }, "short": { "type": "string" }, "default": {}, "choices": { "type": "array", "items": {} }, "array": { "type": "boolean" }, "required": { "type": "boolean" } }, "required": ["description"], "additionalProperties": false, "description": "CLI option definition" }, "McpMeta": { "type": "object", "properties": { "toolsMeta": { "$ref": "#/definitions/MCPToolMeta" }, "resourcesMeta": { "$ref": "#/definitions/MCPResourceMeta" }, "promptsMeta": { "$ref": "#/definitions/MCPPromptMeta" } }, "required": ["toolsMeta", "resourcesMeta", "promptsMeta"], "additionalProperties": false }, "MCPToolMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "name": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "streaming": { "type": "boolean" } }, "required": ["inputSchema", "name", "outputSchema", "pikkuFuncId"] }, "description": "Represents metadata for MCP tools, including name, description, and documentation." }, "MCPResourceMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "uri": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "mimeType": { "type": "string" }, "size": { "type": "number" }, "streaming": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["description", "inputSchema", "outputSchema", "pikkuFuncId", "title", "uri"] }, "description": "Represents metadata for MCP resources, including name, description, and documentation." }, "MCPPromptMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "arguments": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "required": { "type": "boolean" } }, "required": ["name", "description", "required"], "additionalProperties": false } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "name": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["arguments", "description", "inputSchema", "name", "outputSchema", "pikkuFuncId"] }, "description": "Represents metadata for MCP prompts, including name, description, and arguments." } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "displayName": { "type": "string" }, "version": { "type": "string" }, "description": { "type": "string" }, "author": { "type": "string" }, "repository": { "type": "string" }, "license": { "type": "string" }, "readme": { "type": "string" }, "icon": { "type": "string" }, "publishedAt": { "type": "string" }, "updatedAt": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "categories": { "type": "array", "items": { "type": "string" } }, "functions": { "$ref": "#/definitions/FunctionsMeta" }, "agents": { "type": "object", "additionalProperties": {} }, "secrets": { "type": "object", "additionalProperties": {} }, "variables": { "type": "object", "additionalProperties": {} }, "httpRoutes": { "$ref": "#/definitions/HTTPWiringsMeta" }, "channels": { "$ref": "#/definitions/ChannelsMeta" }, "cli": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIProgramMeta" } }, "mcp": { "anyOf": [{ "$ref": "#/definitions/McpMeta" }, { "type": "null" }] }, "schemas": { "type": "object", "additionalProperties": {} } }, "required": ["id", "name", "displayName", "version", "description", "author", "publishedAt", "updatedAt", "tags", "categories", "functions", "agents", "secrets", "variables", "httpRoutes", "channels", "cli", "mcp", "schemas"], "additionalProperties": false, "definitions": { "FunctionsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FunctionMeta" } }, "FunctionMeta": { "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string" }, "functionType": { "type": "string", "enum": ["user", "inline", "helper"] }, "funcWrapper": { "type": "string" }, "services": { "$ref": "#/definitions/FunctionServicesMeta" }, "wires": { "$ref": "#/definitions/FunctionWiresMeta" }, "inputs": { "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }] }, "outputs": { "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "isDirectFunction": { "type": "boolean" }, "sourceFile": { "type": "string" }, "exportedName": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "title": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "inputSchemaName": { "type": ["string", "null"] }, "outputSchemaName": { "type": ["string", "null"] }, "expose": { "type": "boolean" }, "remote": { "type": "boolean" }, "mcp": { "type": "boolean" }, "readonly": { "type": "boolean" }, "deploy": { "type": "string", "enum": ["serverless", "server", "auto"] }, "sessionless": { "type": "boolean" }, "version": { "type": "number" }, "approvalRequired": { "type": "boolean" }, "approvalDescription": { "type": "string" }, "implementationHash": { "type": "string" }, "contractHash": { "type": "string" }, "inputHash": { "type": "string" }, "outputHash": { "type": "string" } }, "required": ["inputSchemaName", "outputSchemaName", "pikkuFuncId"] }, "FunctionServicesMeta": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "services": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "services"], "additionalProperties": false }, "FunctionWiresMeta": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "wires": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "wires"], "additionalProperties": false }, "MiddlewareMetadata": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }], "description": "Metadata for middleware at any level\n- type: 'http' = HTTP route middleware group (references httpGroup in pikkuState)\n- type: 'tag' = Tag-based middleware group (references tagGroup in pikkuState)\n- type: 'wire' = Wire-level individual middleware" }, "PermissionMetadata": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }], "description": "Metadata for permissions at any level\n- type: 'http' = HTTP route permission group (references httpGroup in pikkuState)\n- type: 'tag' = Tag-based permission group (references tagGroup in pikkuState)\n- type: 'wire' = Wire-level individual permission" }, "HTTPWiringsMeta": { "type": "object", "properties": { "post": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "get": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "delete": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "patch": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "head": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "put": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } } }, "required": ["post", "get", "delete", "patch", "head", "put", "options"], "additionalProperties": false }, "HTTPWiringMeta": { "type": "object", "additionalProperties": false, "properties": { "route": { "type": "string" }, "method": { "$ref": "#/definitions/HTTPMethod" }, "params": { "type": "array", "items": { "type": "string" } }, "query": { "type": "array", "items": { "type": "string" } }, "inputTypes": { "$ref": "#/definitions/HTTPFunctionMetaInputTypes" }, "headersSchemaName": { "type": "string" }, "sse": { "type": "boolean", "const": true }, "groupBasePath": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "title": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } } }, "required": ["method", "pikkuFuncId", "route"], "description": "Represents metadata for a set of HTTP wirings, including HTTP wiring details, methods, input/output types, and documentation." }, "HTTPMethod": { "type": "string", "enum": ["post", "get", "delete", "patch", "head", "put", "options"], "description": "Represents the HTTP methods supported for API HTTP wirings." }, "HTTPFunctionMetaInputTypes": { "type": "object", "properties": { "params": { "type": "string" }, "query": { "type": "string" }, "body": { "type": "string" } }, "additionalProperties": false, "description": "Represents the input types for HTTP wiring metadata, including parameters, query, and body types." }, "ChannelsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChannelMeta" } }, "ChannelMeta": { "type": "object", "properties": { "name": { "type": "string" }, "route": { "type": "string" }, "params": { "type": "array", "items": { "type": "string" } }, "query": { "type": "array", "items": { "type": "string" } }, "input": { "type": ["string", "null"] }, "inputTypes": { "$ref": "#/definitions/HTTPFunctionMetaInputTypes" }, "connect": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "disconnect": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "message": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "messageWirings": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChannelMessageMeta" } } }, "binary": { "type": ["boolean", "null"] }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "channelMiddleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } } }, "required": ["name", "route", "input", "connect", "disconnect", "message", "messageWirings"], "additionalProperties": false }, "ChannelMessageMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } } }, "required": ["pikkuFuncId"], "additionalProperties": false }, "CLIProgramMeta": { "type": "object", "properties": { "program": { "type": "string" }, "commands": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLICommandMeta" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIOption" } }, "defaultRenderName": { "type": "string" } }, "required": ["program", "commands", "options"], "additionalProperties": false, "description": "CLI metadata collection (per program)" }, "CLICommandMeta": { "type": "object", "properties": { "parameters": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "positionals": { "type": "array", "items": { "$ref": "#/definitions/CLIPositional" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIOption" } }, "renderName": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "subcommands": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLICommandMeta" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "isDefault": { "type": "boolean" } }, "required": ["pikkuFuncId", "positionals", "options"], "additionalProperties": false, "description": "CLI command metadata for runtime" }, "CLIPositional": { "type": "object", "properties": { "name": { "type": "string" }, "required": { "type": "boolean" }, "variadic": { "type": "boolean" } }, "required": ["name", "required"], "additionalProperties": false, "description": "Positional argument definition" }, "CLIOption": { "type": "object", "properties": { "description": { "type": "string" }, "short": { "type": "string" }, "default": {}, "choices": { "type": "array", "items": {} }, "array": { "type": "boolean" }, "required": { "type": "boolean" } }, "required": ["description"], "additionalProperties": false, "description": "CLI option definition" }, "McpMeta": { "type": "object", "properties": { "toolsMeta": { "$ref": "#/definitions/MCPToolMeta" }, "resourcesMeta": { "$ref": "#/definitions/MCPResourceMeta" }, "promptsMeta": { "$ref": "#/definitions/MCPPromptMeta" } }, "required": ["toolsMeta", "resourcesMeta", "promptsMeta"], "additionalProperties": false }, "MCPToolMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "name": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "streaming": { "type": "boolean" } }, "required": ["inputSchema", "name", "outputSchema", "pikkuFuncId"] }, "description": "Represents metadata for MCP tools, including name, description, and documentation." }, "MCPResourceMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "uri": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "mimeType": { "type": "string" }, "size": { "type": "number" }, "streaming": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["description", "inputSchema", "outputSchema", "pikkuFuncId", "title", "uri"] }, "description": "Represents metadata for MCP resources, including name, description, and documentation." }, "MCPPromptMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "arguments": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "required": { "type": "boolean" } }, "required": ["name", "description", "required"], "additionalProperties": false } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "name": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["arguments", "description", "inputSchema", "name", "outputSchema", "pikkuFuncId"] }, "description": "Represents metadata for MCP prompts, including name, description, and arguments." } } }