@pikku/addon-meta-conversions 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/.pikku/addon/pikku-addon-types.gen.ts +1 -1
  2. package/.pikku/addon/pikku-package.gen.ts +1 -1
  3. package/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  4. package/.pikku/agent/pikku-agent-types.gen.ts +4 -2
  5. package/.pikku/channel/pikku-channel-types.gen.ts +1 -1
  6. package/.pikku/console/pikku-addon-meta.gen.json +4 -1
  7. package/.pikku/console/pikku-node-types.gen.ts +1 -1
  8. package/.pikku/function/pikku-function-types.gen.ts +117 -74
  9. package/.pikku/function/pikku-functions-meta-verbose.gen.json +2 -0
  10. package/.pikku/function/pikku-functions-meta.gen.json +7 -1
  11. package/.pikku/function/pikku-functions-meta.gen.ts +1 -1
  12. package/.pikku/function/pikku-functions.gen.ts +1 -1
  13. package/.pikku/http/pikku-http-types.gen.ts +3 -31
  14. package/.pikku/mcp/pikku-mcp-types.gen.ts +1 -1
  15. package/.pikku/pikku-bootstrap-scenarios.gen.ts +9 -0
  16. package/.pikku/pikku-bootstrap.gen.ts +1 -1
  17. package/.pikku/pikku-meta-service.gen.ts +1 -1
  18. package/.pikku/pikku-services.gen.ts +6 -1
  19. package/.pikku/pikku-types.gen.ts +4 -1
  20. package/.pikku/queue/pikku-queue-types.gen.ts +1 -1
  21. package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -1
  22. package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -1
  23. package/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +135 -0
  24. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +1 -1
  25. package/.pikku/scenarios/features.gen.json +1 -0
  26. package/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  27. package/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +12 -0
  28. package/.pikku/scenarios/pikku-scenario-functions.gen.ts +4 -0
  29. package/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +15 -0
  30. package/.pikku/scenarios/pikku-scenario-wirings.gen.ts +4 -0
  31. package/.pikku/scenarios/schemas/register.gen.ts +4 -0
  32. package/.pikku/scheduler/pikku-scheduler-types.gen.ts +1 -1
  33. package/.pikku/schemas/register.gen.ts +1 -1
  34. package/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  35. package/.pikku/scopes/pikku-personas.gen.ts +52 -0
  36. package/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  37. package/.pikku/scopes/pikku-roles.gen.ts +41 -0
  38. package/.pikku/scopes/pikku-scope-types.gen.ts +7 -0
  39. package/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
  40. package/.pikku/scopes/pikku-scopes.gen.ts +58 -0
  41. package/.pikku/secrets/pikku-secret-types.gen.ts +2 -2
  42. package/.pikku/secrets/pikku-secrets.gen.ts +15 -2
  43. package/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
  44. package/.pikku/variables/pikku-variable-types.gen.ts +2 -2
  45. package/.pikku/variables/pikku-variables.gen.ts +16 -3
  46. package/.pikku/workflow/personas.gen.json +1 -0
  47. package/.pikku/workflow/pikku-personas.gen.ts +38 -0
  48. package/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
  49. package/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  50. package/.pikku/workflow/pikku-workflow-types.gen.ts +429 -5
  51. package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +3 -3
  52. package/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
  53. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
  54. package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
  55. package/dist/.pikku/addon/pikku-addon-types.gen.ts +1 -1
  56. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  57. package/dist/.pikku/addon/pikku-package.gen.ts +1 -1
  58. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  59. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +4 -2
  60. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  61. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  62. package/dist/.pikku/agent/pikku-agent-types.gen.ts +4 -2
  63. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  64. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  65. package/dist/.pikku/channel/pikku-channel-types.gen.ts +1 -1
  66. package/dist/.pikku/console/pikku-addon-meta.gen.json +4 -1
  67. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  68. package/dist/.pikku/console/pikku-node-types.gen.ts +1 -1
  69. package/dist/.pikku/function/pikku-function-types.gen.d.ts +77 -61
  70. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  71. package/dist/.pikku/function/pikku-function-types.gen.js +29 -12
  72. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  73. package/dist/.pikku/function/pikku-function-types.gen.ts +117 -74
  74. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +2 -0
  75. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  76. package/dist/.pikku/function/pikku-functions-meta.gen.json +7 -1
  77. package/dist/.pikku/function/pikku-functions-meta.gen.ts +1 -1
  78. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  79. package/dist/.pikku/function/pikku-functions.gen.ts +1 -1
  80. package/dist/.pikku/http/pikku-http-types.gen.d.ts +2 -24
  81. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
  82. package/dist/.pikku/http/pikku-http-types.gen.js +2 -24
  83. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -1
  84. package/dist/.pikku/http/pikku-http-types.gen.ts +3 -31
  85. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  86. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  87. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +1 -1
  88. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +10 -0
  89. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
  90. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +10 -0
  91. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +1 -0
  92. package/dist/.pikku/pikku-bootstrap-scenarios.gen.ts +9 -0
  93. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  94. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  95. package/dist/.pikku/pikku-bootstrap.gen.ts +1 -1
  96. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  97. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  98. package/dist/.pikku/pikku-meta-service.gen.ts +1 -1
  99. package/dist/.pikku/pikku-services.gen.d.ts +6 -1
  100. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  101. package/dist/.pikku/pikku-services.gen.js +5 -0
  102. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  103. package/dist/.pikku/pikku-services.gen.ts +6 -1
  104. package/dist/.pikku/pikku-types.gen.d.ts +2 -1
  105. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
  106. package/dist/.pikku/pikku-types.gen.js +3 -1
  107. package/dist/.pikku/pikku-types.gen.js.map +1 -1
  108. package/dist/.pikku/pikku-types.gen.ts +4 -1
  109. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  110. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  111. package/dist/.pikku/queue/pikku-queue-types.gen.ts +1 -1
  112. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -1
  113. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -1
  114. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +135 -0
  115. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  116. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +1 -1
  117. package/dist/.pikku/scenarios/features.gen.json +1 -0
  118. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +2 -0
  119. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
  120. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +11 -0
  121. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
  122. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  123. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +12 -0
  124. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
  125. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
  126. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +2 -0
  127. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +1 -0
  128. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.ts +4 -0
  129. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +2 -0
  130. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
  131. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +11 -0
  132. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
  133. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +15 -0
  134. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
  135. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
  136. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +2 -0
  137. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
  138. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.ts +4 -0
  139. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +5 -0
  140. package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +1 -0
  141. package/dist/.pikku/scenarios/schemas/register.gen.js +5 -0
  142. package/dist/.pikku/scenarios/schemas/register.gen.js.map +1 -0
  143. package/dist/.pikku/scenarios/schemas/register.gen.ts +4 -0
  144. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  145. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  146. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +1 -1
  147. package/dist/.pikku/schemas/register.gen.js +1 -1
  148. package/dist/.pikku/schemas/register.gen.ts +1 -1
  149. package/dist/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  150. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +37 -0
  151. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -0
  152. package/dist/.pikku/scopes/pikku-personas.gen.js +18 -0
  153. package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -0
  154. package/dist/.pikku/scopes/pikku-personas.gen.ts +52 -0
  155. package/dist/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  156. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +31 -0
  157. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -0
  158. package/dist/.pikku/scopes/pikku-roles.gen.js +19 -0
  159. package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -0
  160. package/dist/.pikku/scopes/pikku-roles.gen.ts +41 -0
  161. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +8 -0
  162. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  163. package/dist/.pikku/scopes/pikku-scope-types.gen.js +6 -0
  164. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -0
  165. package/dist/.pikku/scopes/pikku-scope-types.gen.ts +7 -0
  166. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
  167. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +36 -0
  168. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -0
  169. package/dist/.pikku/scopes/pikku-scopes.gen.js +28 -0
  170. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -0
  171. package/dist/.pikku/scopes/pikku-scopes.gen.ts +58 -0
  172. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +2 -2
  173. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
  174. package/dist/.pikku/secrets/pikku-secret-types.gen.js +2 -2
  175. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -1
  176. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +2 -2
  177. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +11 -1
  178. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
  179. package/dist/.pikku/secrets/pikku-secrets.gen.js +12 -2
  180. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
  181. package/dist/.pikku/secrets/pikku-secrets.gen.ts +15 -2
  182. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  183. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  184. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
  185. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +2 -2
  186. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
  187. package/dist/.pikku/variables/pikku-variable-types.gen.js +2 -2
  188. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -1
  189. package/dist/.pikku/variables/pikku-variable-types.gen.ts +2 -2
  190. package/dist/.pikku/variables/pikku-variables.gen.d.ts +11 -1
  191. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
  192. package/dist/.pikku/variables/pikku-variables.gen.js +13 -3
  193. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
  194. package/dist/.pikku/variables/pikku-variables.gen.ts +16 -3
  195. package/dist/.pikku/workflow/personas.gen.json +1 -0
  196. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +16 -0
  197. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -0
  198. package/dist/.pikku/workflow/pikku-personas.gen.js +18 -0
  199. package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -0
  200. package/dist/.pikku/workflow/pikku-personas.gen.ts +38 -0
  201. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
  202. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  203. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +254 -5
  204. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  205. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +62 -1
  206. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  207. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +429 -5
  208. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  209. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
  210. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +3 -3
  211. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  212. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  213. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
  214. package/dist/src/functions/events/send.function.d.ts +2 -2
  215. package/dist/src/functions/events/send.function.d.ts.map +1 -1
  216. package/dist/src/meta-conversions.secret.js +2 -2
  217. package/dist/src/meta-conversions.secret.js.map +1 -1
  218. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -29,5 +29,8 @@
29
29
  "categories": [
30
30
  "Events"
31
31
  ]
32
- }
32
+ },
33
+ "requiredParentServices": [
34
+ "secrets"
35
+ ]
33
36
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.js';
5
5
  export type NodeCategory = 'Events';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.js'
5
5
 
@@ -1,13 +1,14 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Core function, middleware, and permission types for all wirings
6
6
  */
7
- import type { CorePikkuMiddleware, CorePermissionGroup, ListInput, ListOutput, PikkuWire, PickRequired } from '@pikku/core';
7
+ import type { CorePikkuMiddleware, CorePermissionGroup, ListInput, ListOutput, PikkuWire, PickRequired, SecretlessServices, SecretService } from '@pikku/core';
8
8
  import type { CorePikkuFunctionConfig, CorePikkuAuth, CorePikkuAuthConfig, CorePikkuPermission } from '@pikku/core/function';
9
9
  import { CreateWireServices } from '@pikku/core/internal';
10
10
  import type { NodeType } from '@pikku/core/node';
11
+ import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
11
12
  import type { StandardSchemaV1 } from '@standard-schema/spec';
12
13
  import { CorePikkuFunction, CorePikkuFunctionSessionless } from '@pikku/core/function';
13
14
  import type { UserSession } from '../../types/application-types.d.js';
@@ -16,10 +17,33 @@ import type { Services } from '../../types/application-types.d.js';
16
17
  import type { Config } from '../../types/application-types.d.js';
17
18
  import type { TypedPikkuRPC, FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js';
18
19
  import type { RequiredSingletonServices, RequiredWireServices } from '../pikku-services.gen.js';
19
- import type { TypedWorkflow } from '../workflow/pikku-workflow-types.gen.js';
20
+ import type { TypedWorkflow, TypedScenario, TypedPersonas } from '../workflow/pikku-workflow-types.gen.js';
20
21
  export type { SingletonServices as SingletonServices };
21
22
  export type { Services as Services };
22
23
  export type Session = UserSession;
24
+ /**
25
+ * The services a wired function actually receives. The inspector records which
26
+ * services each wired `func`, `permissions` and `middleware` destructures and
27
+ * emits them as `RequiredSingletonServices`; intersecting that here makes those
28
+ * services **non-optional** at every call site. A service is optional only when
29
+ * nothing destructures it — in which case it is never created either. This is
30
+ * why an `if (!service)` guard inside a function body is always dead code.
31
+ */
32
+ export type WiredSingletonServices = RequiredSingletonServices & SingletonServices;
33
+ export type WiredServices = SecretlessServices<RequiredSingletonServices & Services>;
34
+ /** `WiredSingletonServices` without `secrets`, for auth gates. */
35
+ export type WiredAuthServices = SecretlessServices<WiredSingletonServices>;
36
+ /**
37
+ * `WiredServices` with `secrets` restored, for the console's secret-admin
38
+ * functions. Reached by declaring `secretBroker: true` on a `pikkuFunc` config.
39
+ *
40
+ * Declaring it does not grant the service. The runner hands out the real
41
+ * `SecretService` only to the functions the inspector marks as secret brokers;
42
+ * every other function still receives the throwing accessor.
43
+ */
44
+ export type WiredSecretBrokerServices = WiredServices & {
45
+ secrets: SecretService;
46
+ };
23
47
  /**
24
48
  * Inline node configuration for function definitions.
25
49
  */
@@ -36,18 +60,18 @@ export type NodeConfig = {
36
60
  * @template In - The input type that the permission check will receive
37
61
  * @template RequiredServices - The services required for this permission check
38
62
  */
39
- export type PikkuPermission<In = unknown, RequiredServices extends Services = Services> = CorePikkuPermission<In, RequiredServices, PikkuWire<In, never, false, Session>>;
63
+ export type PikkuPermission<In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices> = CorePikkuPermission<In, RequiredServices, PikkuWire<In, never, false, Session>>;
40
64
  /**
41
65
  * Type-safe middleware definition that can access your application's services and session.
42
66
  * Use this to define reusable middleware that can be applied to multiple wirings.
43
67
  *
44
68
  * @template RequiredServices - The services required for this middleware
45
69
  */
46
- export type PikkuMiddleware<RequiredServices extends SingletonServices = SingletonServices> = CorePikkuMiddleware<RequiredServices>;
70
+ export type PikkuMiddleware<RequiredServices extends SingletonServices = WiredSingletonServices> = CorePikkuMiddleware<RequiredServices>;
47
71
  /**
48
72
  * Configuration object for creating a permission with metadata
49
73
  */
50
- export type PikkuPermissionConfig<In = unknown, RequiredServices extends Services = Services> = {
74
+ export type PikkuPermissionConfig<In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices> = {
51
75
  /** The permission function */
52
76
  func: PikkuPermission<In, RequiredServices>;
53
77
  /** Optional human-readable name for the permission */
@@ -86,11 +110,11 @@ export declare const pikkuPermission: <In>(permission: PikkuPermission<In> | Pik
86
110
  *
87
111
  * @template RequiredServices - The services required for this auth check
88
112
  */
89
- export type PikkuAuth<RequiredServices extends SingletonServices = SingletonServices> = CorePikkuAuth<RequiredServices, Session>;
113
+ export type PikkuAuth<RequiredServices extends SecretlessServices<SingletonServices> = WiredAuthServices> = CorePikkuAuth<RequiredServices, Session>;
90
114
  /**
91
115
  * Configuration object for creating an auth permission with metadata
92
116
  */
93
- export type PikkuAuthConfig<RequiredServices extends SingletonServices = SingletonServices> = CorePikkuAuthConfig<RequiredServices, Session>;
117
+ export type PikkuAuthConfig<RequiredServices extends SecretlessServices<SingletonServices> = WiredAuthServices> = CorePikkuAuthConfig<RequiredServices, Session>;
94
118
  /**
95
119
  * Factory function for creating auth-only permissions with tree-shaking support.
96
120
  * Auth permissions only receive services and session (no request data),
@@ -111,11 +135,11 @@ export type PikkuAuthConfig<RequiredServices extends SingletonServices = Singlet
111
135
  * })
112
136
  * \`\`\`
113
137
  */
114
- export declare const pikkuAuth: <RequiredServices extends SingletonServices = SingletonServices>(auth: PikkuAuth<RequiredServices> | PikkuAuthConfig<RequiredServices>) => PikkuPermission<any, any>;
138
+ export declare const pikkuAuth: <RequiredServices extends SecretlessServices<SingletonServices> = WiredAuthServices>(auth: PikkuAuth<RequiredServices> | PikkuAuthConfig<RequiredServices>) => PikkuPermission<any, any>;
115
139
  /**
116
140
  * Configuration object for creating middleware with metadata
117
141
  */
118
- export type PikkuMiddlewareConfig<RequiredServices extends SingletonServices = SingletonServices> = {
142
+ export type PikkuMiddlewareConfig<RequiredServices extends SingletonServices = WiredSingletonServices> = {
119
143
  /** The middleware function */
120
144
  func: PikkuMiddleware<RequiredServices>;
121
145
  /** Optional human-readable name for the middleware */
@@ -146,7 +170,7 @@ export type PikkuMiddlewareConfig<RequiredServices extends SingletonServices = S
146
170
  * })
147
171
  * ```
148
172
  */
149
- export declare const pikkuMiddleware: <RequiredServices extends SingletonServices = SingletonServices>(middleware: PikkuMiddleware<RequiredServices> | PikkuMiddlewareConfig<RequiredServices>) => PikkuMiddleware<RequiredServices>;
173
+ export declare const pikkuMiddleware: <RequiredServices extends SingletonServices = WiredSingletonServices>(middleware: PikkuMiddleware<RequiredServices> | PikkuMiddlewareConfig<RequiredServices>) => PikkuMiddleware<RequiredServices>;
150
174
  /**
151
175
  * Factory function for creating middleware factories
152
176
  * Use this when your middleware needs configuration/input parameters
@@ -192,7 +216,7 @@ export declare const pikkuPermissionFactory: <In = any>(factory: (input: In) =>
192
216
  * @template In - The input type (same as the function it describes)
193
217
  * @template RequiredServices - The services required for this description function
194
218
  */
195
- export type PikkuApprovalDescription<In = unknown, RequiredServices extends Services = Services> = (services: RequiredServices, data: In) => Promise<string>;
219
+ export type PikkuApprovalDescription<In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices> = (services: RequiredServices, data: In) => Promise<string>;
196
220
  /**
197
221
  * Factory function for creating approval description functions with tree-shaking support.
198
222
  *
@@ -206,7 +230,7 @@ export type PikkuApprovalDescription<In = unknown, RequiredServices extends Serv
206
230
  * )
207
231
  * ```
208
232
  */
209
- export declare const pikkuApprovalDescription: <In = unknown, RequiredServices extends Services = Services>(fn: PikkuApprovalDescription<In, RequiredServices>) => PikkuApprovalDescription<In, RequiredServices>;
233
+ export declare const pikkuApprovalDescription: <In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices>(fn: PikkuApprovalDescription<In, RequiredServices>) => PikkuApprovalDescription<In, RequiredServices>;
210
234
  /**
211
235
  * A sessionless API function that doesn't require user authentication.
212
236
  * Use this for public endpoints, health checks, or operations that don't need user context.
@@ -215,7 +239,7 @@ export declare const pikkuApprovalDescription: <In = unknown, RequiredServices e
215
239
  * @template Out - The output type that the function returns
216
240
  * @template RequiredServices - Services required by this function
217
241
  */
218
- export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = never, RequiredServices extends Services = Services> = CorePikkuFunctionSessionless<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, false, Session, TypedPikkuRPC, null, any, TypedWorkflow>, RequiredWires>>;
242
+ export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = never, RequiredServices extends SecretlessServices<Services> = WiredServices> = CorePikkuFunctionSessionless<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, false, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario, TypedPersonas>, RequiredWires>>;
219
243
  /**
220
244
  * A session-aware API function that requires user authentication.
221
245
  * Use this for protected endpoints that need access to user session data.
@@ -224,7 +248,7 @@ export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires ex
224
248
  * @template Out - The output type that the function returns
225
249
  * @template RequiredServices - Services required by this function
226
250
  */
227
- export type PikkuFunction<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = 'session', RequiredServices extends Services = Services> = CorePikkuFunction<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, true, Session, TypedPikkuRPC, null, any, TypedWorkflow>, RequiredWires>>;
251
+ export type PikkuFunction<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = 'session', RequiredServices extends SecretlessServices<Services> = WiredServices> = CorePikkuFunction<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, true, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario, TypedPersonas>, RequiredWires>>;
228
252
  /**
229
253
  * Helper type to infer the output type from a Standard Schema
230
254
  */
@@ -237,7 +261,7 @@ export type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output>
237
261
  * @template Out - The output type
238
262
  * @template PikkuFunc - The function type (can be narrowed to PikkuFunction or PikkuFunctionSessionless)
239
263
  */
240
- export type PikkuFunctionConfig<In = unknown, Out = unknown, RequiredWires extends keyof PikkuWire = never, PikkuFunc extends PikkuFunction<In, Out, RequiredWires> | PikkuFunctionSessionless<In, Out, RequiredWires> = PikkuFunction<In, Out, RequiredWires> | PikkuFunctionSessionless<In, Out, RequiredWires>, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuFunctionConfig<PikkuFunc, PikkuPermission<In>, PikkuMiddleware, InputSchema, OutputSchema>;
264
+ export type PikkuFunctionConfig<In = unknown, Out = unknown, RequiredWires extends keyof PikkuWire = never, PikkuFunc extends PikkuFunction<In, Out, RequiredWires, any> | PikkuFunctionSessionless<In, Out, RequiredWires, any> = PikkuFunction<In, Out, RequiredWires> | PikkuFunctionSessionless<In, Out, RequiredWires>, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuFunctionConfig<PikkuFunc, PikkuPermission<In>, PikkuMiddleware, InputSchema, OutputSchema, ScopeId>;
241
265
  /**
242
266
  * Configuration object for Pikku functions with Zod schema validation.
243
267
  * Use this when you want to define input/output schemas using Zod.
@@ -248,8 +272,8 @@ type SchemaInferred<S, Fallback = unknown> = S extends StandardSchemaV1 ? InferS
248
272
  * Schema-overload variant for pikkuFunc. Derived from CorePikkuFunctionConfig
249
273
  * so adding a field on the core type automatically propagates here.
250
274
  */
251
- export type PikkuFunctionConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined, RequiredWires extends keyof PikkuWire = never> = Omit<CorePikkuFunctionConfig<PikkuFunction<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires> | PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires>>, 'func' | 'input' | 'output' | 'permissions' | 'approvalDescription'> & {
252
- func: PikkuFunction<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires> | PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires>;
275
+ export type PikkuFunctionConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined, RequiredWires extends keyof PikkuWire = never, RequiredServices extends SecretlessServices<Services> = WiredServices> = Omit<CorePikkuFunctionConfig<PikkuFunction<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices> | PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>, CorePikkuPermission<any>, PikkuMiddleware, undefined, undefined, ScopeId>, 'func' | 'input' | 'output' | 'permissions' | 'approvalDescription'> & {
276
+ func: PikkuFunction<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices> | PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>;
253
277
  input?: InputSchema;
254
278
  output?: OutputSchema;
255
279
  permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined;
@@ -259,26 +283,14 @@ export type PikkuFunctionConfigWithSchema<InputSchema extends StandardSchemaV1 |
259
283
  * Creates a Pikku function that can be either session-aware or sessionless.
260
284
  * This is the main function wrapper for creating API endpoints.
261
285
  *
262
- * Supports two patterns:
263
- * 1. Generic types: `pikkuFunc<Input, Output>({ func: ... })`
264
- * 2. Zod schemas: `pikkuFunc({ input: z.object(...), output: z.object(...), func: ... })`
286
+ * Define the input and output with Zod schemas — the function's types are
287
+ * inferred from them, and the schemas double as runtime validation.
265
288
  *
266
- * @template In - Input type for the function (inferred from schema if provided)
267
- * @template Out - Output type for the function (inferred from schema if provided)
268
- * @param func - Function definition, either direct function or configuration object
289
+ * @param config - Function definition with `input`/`output` Zod schemas and `func`.
269
290
  * @returns The normalized configuration object
270
291
  *
271
292
  * @example
272
293
  * ```typescript
273
- * // Pattern 1: Using generic types
274
- * const createUser = pikkuFunc<{name: string, email: string}, {id: number}>({
275
- * func: async ({db}, input) => {
276
- * const user = await db.users.create(input)
277
- * return { id: user.id }
278
- * }
279
- * })
280
- *
281
- * // Pattern 2: Using Zod schemas (types inferred automatically)
282
294
  * const createUserInput = z.object({ name: z.string(), email: z.string() })
283
295
  * const createUserOutput = z.object({ id: z.number() })
284
296
  *
@@ -293,6 +305,9 @@ export type PikkuFunctionConfigWithSchema<InputSchema extends StandardSchemaV1 |
293
305
  * })
294
306
  * ```
295
307
  */
308
+ export declare function pikkuFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuFunctionConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc', WiredSecretBrokerServices> & {
309
+ secretBroker: true;
310
+ }): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'session' | 'rpc'>;
296
311
  export declare function pikkuFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuFunctionConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc'>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'session' | 'rpc'>;
297
312
  export declare function pikkuFunc<In, Out = unknown>(func: PikkuFunction<In, Out, 'session' | 'rpc'> | PikkuFunctionConfig<In, Out, 'session' | 'rpc'>): PikkuFunctionConfig<In, Out, 'session' | 'rpc'>;
298
313
  export type PikkuListFunction<F extends Record<string, unknown> = {}, Row = unknown, S extends string = never> = PikkuFunction<ListInput<F, S>, ListOutput<Row>, 'session' | 'rpc'> | PikkuFunctionSessionless<ListInput<F, S>, ListOutput<Row>, 'session' | 'rpc'>;
@@ -304,8 +319,8 @@ export declare const pikkuListFunc: <F extends Record<string, unknown> = {}, Row
304
319
  * Schema-overload variant for pikkuSessionlessFunc. Derived from
305
320
  * CorePikkuFunctionConfig to stay in sync with the generic-typed config.
306
321
  */
307
- export type PikkuFunctionSessionlessConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined, RequiredWires extends keyof PikkuWire = never> = Omit<CorePikkuFunctionConfig<PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires>>, 'func' | 'input' | 'output' | 'permissions' | 'approvalDescription'> & {
308
- func: PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires>;
322
+ export type PikkuFunctionSessionlessConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined, RequiredWires extends keyof PikkuWire = never, RequiredServices extends SecretlessServices<Services> = WiredServices> = Omit<CorePikkuFunctionConfig<PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>>, 'func' | 'input' | 'output' | 'permissions' | 'approvalDescription'> & {
323
+ func: PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>;
309
324
  input?: InputSchema;
310
325
  output?: OutputSchema;
311
326
  permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined;
@@ -315,25 +330,14 @@ export type PikkuFunctionSessionlessConfigWithSchema<InputSchema extends Standar
315
330
  * Creates a sessionless Pikku function that doesn't require user authentication.
316
331
  * Use this for public endpoints, webhooks, or background tasks.
317
332
  *
318
- * Supports two patterns:
319
- * 1. Generic types: `pikkuSessionlessFunc<Input, Output>({ func: ... })`
320
- * 2. Zod schemas: `pikkuSessionlessFunc({ input: z.object(...), func: ... })`
333
+ * Define the input and output with Zod schemas — the function's types are
334
+ * inferred from them, and the schemas double as runtime validation.
321
335
  *
322
- * @template In - Input type for the function (inferred from schema if provided)
323
- * @template Out - Output type for the function (inferred from schema if provided)
324
- * @param func - Function definition, either direct function or configuration object
336
+ * @param config - Function definition with `input`/`output` Zod schemas and `func`.
325
337
  * @returns The normalized configuration object
326
338
  *
327
339
  * @example
328
340
  * ```typescript
329
- * // Pattern 1: Using generic types
330
- * const healthCheck = pikkuSessionlessFunc<void, {status: string}>({
331
- * func: async ({logger}) => {
332
- * return { status: 'healthy' }
333
- * }
334
- * })
335
- *
336
- * // Pattern 2: Using Zod schemas
337
341
  * const greetInput = z.object({ name: z.string() })
338
342
  * const greetOutput = z.object({ message: z.string() })
339
343
  *
@@ -346,8 +350,8 @@ export type PikkuFunctionSessionlessConfigWithSchema<InputSchema extends Standar
346
350
  * })
347
351
  * ```
348
352
  */
349
- export declare function pikkuSessionlessFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuFunctionSessionlessConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc'>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'session' | 'rpc'>;
350
- export declare function pikkuSessionlessFunc<In, Out = unknown>(func: PikkuFunctionSessionless<In, Out, 'session' | 'rpc'> | PikkuFunctionConfig<In, Out, 'session' | 'rpc'>): PikkuFunctionConfig<In, Out, 'session' | 'rpc'>;
353
+ export declare function pikkuSessionlessFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined, RequiredServices extends SecretlessServices<Services> = WiredServices>(config: PikkuFunctionSessionlessConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc', RequiredServices>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'session' | 'rpc'>;
354
+ export declare function pikkuSessionlessFunc<In, Out = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices>(func: PikkuFunctionSessionless<In, Out, 'session' | 'rpc', RequiredServices> | PikkuFunctionConfig<In, Out, 'session' | 'rpc', PikkuFunctionSessionless<In, Out, 'session' | 'rpc', RequiredServices>>): PikkuFunctionConfig<In, Out, 'session' | 'rpc'>;
351
355
  /**
352
356
  * Creates a function that takes no input and returns no output.
353
357
  * Useful for health checks, triggers, or cleanup operations.
@@ -364,7 +368,7 @@ export declare function pikkuSessionlessFunc<In, Out = unknown>(func: PikkuFunct
364
368
  * })
365
369
  * ```
366
370
  */
367
- export declare const pikkuVoidFunc: (func: PikkuFunctionSessionless<void, void, "session" | "rpc"> | PikkuFunctionConfig<void, void, "session" | "rpc">) => PikkuFunctionConfig<void, void, "rpc" | "session", PikkuFunctionSessionless<void, void, "rpc" | "session", Services> | PikkuFunction<void, void, "rpc" | "session", Services>, undefined, undefined>;
371
+ export declare const pikkuVoidFunc: (func: PikkuFunctionSessionless<void, void, "session" | "rpc"> | PikkuFunctionConfig<void, void, "session" | "rpc">) => PikkuFunctionConfig<void, void, "rpc" | "session", PikkuFunctionSessionless<void, void, "rpc" | "session", WiredServices> | PikkuFunction<void, void, "rpc" | "session", WiredServices>, undefined, undefined>;
368
372
  /**
369
373
  * References a registered function by name for use in any wiring.
370
374
  * Works for both local and addon functions — resolves via RPC at runtime.
@@ -383,6 +387,25 @@ export declare const pikkuVoidFunc: (func: PikkuFunctionSessionless<void, void,
383
387
  * ```
384
388
  */
385
389
  export declare const ref: <Name extends keyof FlattenedRPCMap>(rpcName: Name) => PikkuFunctionConfig<FlattenedRPCMap[Name]["input"], FlattenedRPCMap[Name]["output"], "session" | "rpc">;
390
+ /**
391
+ * Declares a capability the connected client answers, reachable from any
392
+ * `wireChannel` function as `channel.remote(name, input)`.
393
+ *
394
+ * There is no `func`: this side owns the contract, the client owns the body.
395
+ * The `description` is what a person is shown when asked to approve the call,
396
+ * so write it for them rather than for the caller.
397
+ *
398
+ * @example
399
+ * ```typescript
400
+ * export const localCheckoutOutput = z.object({ sha: z.string(), branch: z.string() })
401
+ *
402
+ * export const localCheckout = pikkuRemoteChannelFunc({
403
+ * description: 'Read the current commit and branch of your working tree',
404
+ * output: localCheckoutOutput,
405
+ * })
406
+ * ```
407
+ */
408
+ export declare function pikkuRemoteChannelFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: Omit<PikkuFunctionSessionlessConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc'>, 'func'>): PikkuFunctionConfig<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, 'session' | 'rpc'>;
386
409
  /**
387
410
  * Creates a Pikku config factory.
388
411
  * Use this to define your application's configuration factory.
@@ -455,13 +478,6 @@ export declare const addTagMiddleware: (tag: string, middleware: PikkuMiddleware
455
478
  * addGlobalMiddleware([telemetryMiddleware])
456
479
  */
457
480
  export declare const addGlobalMiddleware: (middleware: PikkuMiddleware[]) => void;
458
- /**
459
- * Tag-scoped permissions. Applies to any wiring that carries the matching tag.
460
- *
461
- * @example
462
- * addTagPermission('admin', [adminPermission])
463
- */
464
- export declare const addTagPermission: <In = unknown>(tag: string, permissions: CorePermissionGroup<PikkuPermission<In>> | PikkuPermission<In>[]) => void;
465
481
  /**
466
482
  * Wire-agnostic global permissions. Runs at the top of every wiring's
467
483
  * permission resolution — before wire-, tag-, and function-level entries.
@@ -472,8 +488,8 @@ export declare const addTagPermission: <In = unknown>(tag: string, permissions:
472
488
  * addGlobalPermission([signedInUser])
473
489
  */
474
490
  export declare const addGlobalPermission: <In = unknown>(permissions: CorePermissionGroup<PikkuPermission<In>> | PikkuPermission<In>[]) => void;
475
- export { wireAddon } from '@pikku/core/rpc';
476
- export type { WireAddonConfig } from '@pikku/core/rpc';
491
+ export { wireAddon, wireRemoteAddon } from '@pikku/core/rpc';
492
+ export type { WireAddonConfig, WireRemoteAddonConfig, RemoteAddonAuth } from '@pikku/core/rpc';
477
493
  /**
478
494
  * Addon contract references. Generated from each wired addon's published
479
495
  * contract metadata — no addon source is imported. Functions are proxied via
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-function-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/function/pikku-function-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC3H,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAQ5H,OAAO,EAA8B,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACrF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAA;AAEtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAA;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAA;AAClE,OAAO,KAAK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AE9H,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAC5D,YAAY,EAAE,eAAe,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAG9F;;;;GAIG;AACH,QAAA,MAAM,WAAW,IAAc,CAAA;AAC/B,QAAA,MAAM,cAAc,IAAc,CAAA;AAClC,QAAA,MAAM,UAAU,IAAc,CAAA;AAE9B,eAAO,MAAM,OAAO,GAAI,IAAI,SAAS,MAAM,OAAO,WAAW,EAC3D,MAAM,IAAI,EACV,UAAU;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,KAC9B,CAAC,OAAO,WAAW,EAAE,IAAI,CAO3B,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,IAAI,SAAS,MAAM,OAAO,cAAc,EACjE,MAAM,IAAI,KACT,CAAC,OAAO,cAAc,EAAE,IAAI,CAAyB,CAAA;AAExD,eAAO,MAAM,MAAM,GAAI,IAAI,SAAS,MAAM,OAAO,UAAU,EACzD,MAAM,IAAI,KACT,CAAC,OAAO,UAAU,EAAE,IAAI,CAAqB,CAAA"}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Core function, middleware, and permission types for all wirings
6
6
  */
7
7
  import { pikkuAuth as pikkuAuthCore } from '@pikku/core/function';
8
- import { addTagMiddleware as addTagMiddlewareCore, addGlobalMiddleware as addGlobalMiddlewareCore, addTagPermission as addTagPermissionCore, addGlobalPermission as addGlobalPermissionCore, } from '@pikku/core/middleware';
8
+ import { addTagMiddleware as addTagMiddlewareCore, addGlobalMiddleware as addGlobalMiddlewareCore, addGlobalPermission as addGlobalPermissionCore, } from '@pikku/core/middleware';
9
9
  import { pikkuState as __pikkuState } from '@pikku/core/internal';
10
10
  /**
11
11
  * Factory function for creating permissions with tree-shaking support.
@@ -192,6 +192,32 @@ export const ref = (rpcName) => {
192
192
  }
193
193
  };
194
194
  };
195
+ /**
196
+ * Declares a capability the connected client answers, reachable from any
197
+ * `wireChannel` function as `channel.remote(name, input)`.
198
+ *
199
+ * There is no `func`: this side owns the contract, the client owns the body.
200
+ * The `description` is what a person is shown when asked to approve the call,
201
+ * so write it for them rather than for the caller.
202
+ *
203
+ * @example
204
+ * ```typescript
205
+ * export const localCheckoutOutput = z.object({ sha: z.string(), branch: z.string() })
206
+ *
207
+ * export const localCheckout = pikkuRemoteChannelFunc({
208
+ * description: 'Read the current commit and branch of your working tree',
209
+ * output: localCheckoutOutput,
210
+ * })
211
+ * ```
212
+ */
213
+ export function pikkuRemoteChannelFunc(config) {
214
+ return {
215
+ ...config,
216
+ func: async (_services, _data, _wire) => {
217
+ throw new Error(`${config.title ?? 'This'} is a remote channel capability and has no local implementation — reach it with channel.remote() on the channel whose client exposes it.`);
218
+ },
219
+ };
220
+ }
195
221
  /**
196
222
  * Creates a Pikku config factory.
197
223
  * Use this to define your application's configuration factory.
@@ -293,15 +319,6 @@ export const addTagMiddleware = (tag, middleware) => {
293
319
  export const addGlobalMiddleware = (middleware) => {
294
320
  addGlobalMiddlewareCore(middleware, '@pikku/addon-meta-conversions');
295
321
  };
296
- /**
297
- * Tag-scoped permissions. Applies to any wiring that carries the matching tag.
298
- *
299
- * @example
300
- * addTagPermission('admin', [adminPermission])
301
- */
302
- export const addTagPermission = (tag, permissions) => {
303
- addTagPermissionCore(tag, permissions, '@pikku/addon-meta-conversions');
304
- };
305
322
  /**
306
323
  * Wire-agnostic global permissions. Runs at the top of every wiring's
307
324
  * permission resolution — before wire-, tag-, and function-level entries.
@@ -314,7 +331,7 @@ export const addTagPermission = (tag, permissions) => {
314
331
  export const addGlobalPermission = (permissions) => {
315
332
  addGlobalPermissionCore(permissions, '@pikku/addon-meta-conversions');
316
333
  };
317
- export { wireAddon } from '@pikku/core/rpc';
334
+ export { wireAddon, wireRemoteAddon } from '@pikku/core/rpc';
318
335
  /**
319
336
  * Addon contract references. Generated from each wired addon's published
320
337
  * contract metadata — no addon source is imported. Functions are proxied via
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-function-types.gen.js","sourceRoot":"","sources":["../../../.pikku/function/pikku-function-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAIH,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EACL,gBAAgB,IAAI,oBAAoB,EACxC,mBAAmB,IAAI,uBAAuB,EAC9C,gBAAgB,IAAI,oBAAoB,EACxC,mBAAmB,IAAI,uBAAuB,GAC/C,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,UAAU,IAAI,YAAY,EAAsB,MAAM,sBAAsB,CAAA;AAyDrF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,UAA2D,EACtC,EAAE;IACvB,OAAO,OAAO,UAAU,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAA;AACxE,CAAC,CAAA;AAgBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CACvB,IAAqE,EAC1C,EAAE;IAC7B,OAAO,aAAa,CAAC,IAAW,CAAQ,CAAA;AAC1C,CAAC,CAAA;AAcD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,UAAuF,EACpD,EAAE;IACrC,OAAO,OAAO,UAAU,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAA;AACxE,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,OAAuC,EACL,EAAE;IACpC,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AAED;;;;;;;;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,CACiB,CAAA;AACjC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,IAAU,EACqB,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;AAExD,MAAM,CAAC,MAAM,MAAM,GAAG,CACpB,IAAU,EACiB,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"pikku-function-types.gen.js","sourceRoot":"","sources":["../../../.pikku/function/pikku-function-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAIH,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EACL,gBAAgB,IAAI,oBAAoB,EACxC,mBAAmB,IAAI,uBAAuB,EAC9C,mBAAmB,IAAI,uBAAuB,GAC/C,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,UAAU,IAAI,YAAY,EAAsB,MAAM,sBAAsB,CAAA;AAkFrF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,UAA2D,EACtC,EAAE;IACvB,OAAO,OAAO,UAAU,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAA;AACxE,CAAC,CAAA;AAgBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CACvB,IAAqE,EAC1C,EAAE;IAC7B,OAAO,aAAa,CAAC,IAAW,CAAQ,CAAA;AAC1C,CAAC,CAAA;AAcD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,UAAuF,EACpD,EAAE;IACrC,OAAO,OAAO,UAAU,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAA;AACxE,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AAC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