@pikku/addon-meta-conversions 0.1.3 → 0.1.4

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 (190) 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-addon-types.gen.ts +2 -2
  4. package/dist/.pikku/addon/pikku-package.gen.js +3 -2
  5. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  6. package/dist/.pikku/addon/pikku-package.gen.ts +4 -2
  7. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  8. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +6 -2
  9. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  10. package/dist/.pikku/agent/pikku-agent-types.gen.js +3 -0
  11. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  12. package/dist/.pikku/agent/pikku-agent-types.gen.ts +15 -2
  13. package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts +2 -0
  14. package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts.map +1 -0
  15. package/dist/.pikku/agent/pikku-model-aliases.gen.js +6 -0
  16. package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +1 -0
  17. package/dist/.pikku/agent/pikku-model-aliases.gen.ts +6 -0
  18. package/dist/.pikku/agent/pikku-scorer-names.gen.d.ts +8 -0
  19. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  20. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  21. package/dist/.pikku/channel/pikku-channel-types.gen.ts +1 -1
  22. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  23. package/dist/.pikku/console/pikku-node-types.gen.ts +1 -1
  24. package/dist/.pikku/function/pikku-function-types.gen.d.ts +20 -24
  25. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  26. package/dist/.pikku/function/pikku-function-types.gen.js +2 -2
  27. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  28. package/dist/.pikku/function/pikku-function-types.gen.ts +32 -27
  29. package/dist/.pikku/function/pikku-functions-meta.gen.js +2 -2
  30. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -1
  31. package/dist/.pikku/function/pikku-functions-meta.gen.ts +2 -2
  32. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  33. package/dist/.pikku/function/pikku-functions.gen.ts +1 -1
  34. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  35. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  36. package/dist/.pikku/http/pikku-http-types.gen.ts +1 -1
  37. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  38. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  39. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +1 -1
  40. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  41. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  42. package/dist/.pikku/pikku-bootstrap-scenarios.gen.ts +1 -1
  43. package/dist/.pikku/pikku-bootstrap.gen.d.ts +2 -1
  44. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -1
  45. package/dist/.pikku/pikku-bootstrap.gen.js +2 -1
  46. package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -1
  47. package/dist/.pikku/pikku-bootstrap.gen.ts +2 -1
  48. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  49. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  50. package/dist/.pikku/pikku-meta-service.gen.ts +1 -1
  51. package/dist/.pikku/pikku-services.gen.d.ts +2 -1
  52. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  53. package/dist/.pikku/pikku-services.gen.js +1 -0
  54. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  55. package/dist/.pikku/pikku-services.gen.ts +2 -1
  56. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  57. package/dist/.pikku/pikku-types.gen.js +1 -1
  58. package/dist/.pikku/pikku-types.gen.ts +1 -1
  59. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  60. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  61. package/dist/.pikku/queue/pikku-queue-types.gen.ts +1 -1
  62. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -7
  63. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -7
  64. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +2 -7
  65. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +2 -2
  66. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -1
  67. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +2 -2
  68. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +2 -2
  69. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -1
  70. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +2 -2
  71. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  72. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.ts +1 -1
  73. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +2 -2
  74. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -1
  75. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +2 -2
  76. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  77. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.ts +1 -1
  78. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  79. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  80. package/dist/.pikku/scenarios/schemas/register.gen.ts +1 -1
  81. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  82. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  83. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +1 -1
  84. package/dist/.pikku/schemas/register.gen.js +1 -1
  85. package/dist/.pikku/schemas/register.gen.ts +1 -1
  86. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  87. package/dist/.pikku/scopes/pikku-personas.gen.ts +1 -1
  88. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  89. package/dist/.pikku/scopes/pikku-roles.gen.ts +1 -1
  90. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  91. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  92. package/dist/.pikku/scopes/pikku-scope-types.gen.ts +1 -1
  93. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  94. package/dist/.pikku/scopes/pikku-scopes.gen.ts +1 -1
  95. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  96. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  97. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +1 -1
  98. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  99. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  100. package/dist/.pikku/secrets/pikku-secrets.gen.ts +1 -1
  101. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  102. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  103. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
  104. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  105. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  106. package/dist/.pikku/variables/pikku-variable-types.gen.ts +1 -1
  107. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  108. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  109. package/dist/.pikku/variables/pikku-variables.gen.ts +1 -1
  110. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +2 -1
  111. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -1
  112. package/dist/.pikku/workflow/pikku-personas.gen.js +1 -1
  113. package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -1
  114. package/dist/.pikku/workflow/pikku-personas.gen.ts +3 -6
  115. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +2 -2
  116. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  117. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +25 -16
  118. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  119. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  120. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  121. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +33 -27
  122. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +2 -2
  123. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
  124. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +2 -2
  125. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  126. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  127. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
  128. package/dist/src/functions/events/send.function.d.ts +1 -1
  129. package/dist/src/services.js +1 -1
  130. package/dist/src/services.js.map +1 -1
  131. package/dist/types/application-types.d.ts +17 -0
  132. package/package.json +6 -7
  133. package/.pikku/addon/pikku-addon-types.gen.ts +0 -105
  134. package/.pikku/addon/pikku-package.gen.ts +0 -11
  135. package/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
  136. package/.pikku/agent/pikku-agent-types.gen.ts +0 -84
  137. package/.pikku/channel/pikku-channel-types.gen.ts +0 -177
  138. package/.pikku/console/pikku-addon-meta.gen.json +0 -36
  139. package/.pikku/console/pikku-node-types.gen.ts +0 -8
  140. package/.pikku/function/pikku-function-types.gen.ts +0 -797
  141. package/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -33
  142. package/.pikku/function/pikku-functions-meta.gen.json +0 -27
  143. package/.pikku/function/pikku-functions-meta.gen.ts +0 -7
  144. package/.pikku/function/pikku-functions.gen.ts +0 -8
  145. package/.pikku/http/pikku-http-types.gen.ts +0 -119
  146. package/.pikku/mcp/pikku-mcp-types.gen.ts +0 -183
  147. package/.pikku/pikku-bootstrap-scenarios.gen.ts +0 -9
  148. package/.pikku/pikku-bootstrap.gen.ts +0 -8
  149. package/.pikku/pikku-meta-service.gen.ts +0 -10
  150. package/.pikku/pikku-services.gen.ts +0 -50
  151. package/.pikku/pikku-types.gen.ts +0 -24
  152. package/.pikku/queue/pikku-queue-types.gen.ts +0 -27
  153. package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -135
  154. package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -136
  155. package/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +0 -135
  156. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +0 -3
  157. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +0 -6
  158. package/.pikku/scenarios/features.gen.json +0 -1
  159. package/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +0 -1
  160. package/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +0 -12
  161. package/.pikku/scenarios/pikku-scenario-functions.gen.ts +0 -4
  162. package/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +0 -15
  163. package/.pikku/scenarios/pikku-scenario-wirings.gen.ts +0 -4
  164. package/.pikku/scenarios/schemas/register.gen.ts +0 -4
  165. package/.pikku/scheduler/pikku-scheduler-types.gen.ts +0 -25
  166. package/.pikku/schemas/register.gen.ts +0 -15
  167. package/.pikku/schemas/schemas/EventSendInput.schema.json +0 -1
  168. package/.pikku/schemas/schemas/EventSendOutput.schema.json +0 -1
  169. package/.pikku/schemas/schemas/SecretSchema_metaConversions.schema.json +0 -1
  170. package/.pikku/scopes/pikku-personas-meta.gen.json +0 -1
  171. package/.pikku/scopes/pikku-personas.gen.ts +0 -52
  172. package/.pikku/scopes/pikku-roles-meta.gen.json +0 -1
  173. package/.pikku/scopes/pikku-roles.gen.ts +0 -41
  174. package/.pikku/scopes/pikku-scope-types.gen.ts +0 -7
  175. package/.pikku/scopes/pikku-scopes-meta.gen.json +0 -1
  176. package/.pikku/scopes/pikku-scopes.gen.ts +0 -58
  177. package/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
  178. package/.pikku/secrets/pikku-secrets-meta.gen.json +0 -10
  179. package/.pikku/secrets/pikku-secrets.gen.ts +0 -36
  180. package/.pikku/trigger/pikku-trigger-types.gen.ts +0 -160
  181. package/.pikku/variables/pikku-variable-types.gen.ts +0 -5
  182. package/.pikku/variables/pikku-variables-meta.gen.json +0 -1
  183. package/.pikku/variables/pikku-variables.gen.ts +0 -34
  184. package/.pikku/workflow/personas.gen.json +0 -1
  185. package/.pikku/workflow/pikku-personas.gen.ts +0 -38
  186. package/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +0 -18
  187. package/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -38
  188. package/.pikku/workflow/pikku-workflow-types.gen.ts +0 -591
  189. package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
  190. package/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
@@ -1,19 +1,19 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * Core function, middleware, and permission types for all wirings
6
6
  */
7
7
 
8
- import type { CorePikkuMiddleware, CorePermissionGroup, ListInput, ListOutput, PikkuWire, PickRequired, SecretlessServices, SecretService } from '@pikku/core'
9
- import type { CorePikkuFunctionConfig, CorePikkuAuth, CorePikkuAuthConfig, CorePikkuPermission } from '@pikku/core/function'
8
+ import type { CorePikkuMiddleware, CorePermissionGroup, ListInput, ListOutput, PikkuWire, PickRequired, SecretlessServices } from '@pikku/core'
9
+ import type { CorePikkuFunctionConfig, CorePikkuSessionlessFunctionConfig, CorePikkuAuth, CorePikkuAuthConfig, CorePikkuPermission } from '@pikku/core/function'
10
10
  import { pikkuAuth as pikkuAuthCore } from '@pikku/core/function'
11
11
  import {
12
12
  addTagMiddleware as addTagMiddlewareCore,
13
13
  addGlobalMiddleware as addGlobalMiddlewareCore,
14
14
  addGlobalPermission as addGlobalPermissionCore,
15
15
  } from '@pikku/core/middleware'
16
- import { pikkuState as __pikkuState, CreateWireServices } from '@pikku/core/internal'
16
+ import { pikkuState as __pikkuState, CreateWireServices } from '@pikku/core/ecosystem'
17
17
  import type { NodeType } from '@pikku/core/node'
18
18
  import type { ScopeId } from '../scopes/pikku-scopes.gen.js'
19
19
  import type { StandardSchemaV1 } from '@standard-schema/spec'
@@ -46,16 +46,6 @@ export type WiredServices = SecretlessServices<RequiredSingletonServices & Servi
46
46
  /** `WiredSingletonServices` without `secrets`, for auth gates. */
47
47
  export type WiredAuthServices = SecretlessServices<WiredSingletonServices>
48
48
 
49
- /**
50
- * `WiredServices` with `secrets` restored, for the console's secret-admin
51
- * functions. Reached by declaring `secretBroker: true` on a `pikkuFunc` config.
52
- *
53
- * Declaring it does not grant the service. The runner hands out the real
54
- * `SecretService` only to the functions the inspector marks as secret brokers;
55
- * every other function still receives the throwing accessor.
56
- */
57
- export type WiredSecretBrokerServices = WiredServices & { secrets: SecretService }
58
-
59
49
  /**
60
50
  * Inline node configuration for function definitions.
61
51
  */
@@ -291,18 +281,23 @@ export const pikkuApprovalDescription = <In = unknown, RequiredServices extends
291
281
  * @template In - The input type
292
282
  * @template Out - The output type that the function returns
293
283
  * @template RequiredServices - Services required by this function
284
+ * @template ScenarioOut - Types `scenario.context`; only scenarios set it.
285
+ * Not defaulted to `Out`, which would make every ordinary function's wire
286
+ * type vary with its return type and cost a `func` written against the
287
+ * `PikkuFunction | PikkuFunctionSessionless` union its contextual typing.
294
288
  */
295
289
  export type PikkuFunctionSessionless<
296
290
  In = unknown,
297
291
  Out = never,
298
292
  RequiredWires extends keyof PikkuWire = never,
299
- RequiredServices extends SecretlessServices<Services> = WiredServices
293
+ RequiredServices extends SecretlessServices<Services> = WiredServices,
294
+ ScenarioOut = unknown
300
295
  > = CorePikkuFunctionSessionless<
301
296
  In,
302
297
  Out,
303
298
  RequiredServices,
304
299
  Session,
305
- PickRequired<PikkuWire<In, Out, false, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario, TypedPersonas>, RequiredWires>
300
+ PickRequired<PikkuWire<In, Out, false, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario<ScenarioOut>, TypedPersonas>, RequiredWires>
306
301
  >
307
302
 
308
303
  /**
@@ -343,11 +338,26 @@ export type PikkuFunctionConfig<
343
338
  In = unknown,
344
339
  Out = unknown,
345
340
  RequiredWires extends keyof PikkuWire = never,
346
- PikkuFunc extends PikkuFunction<In, Out, RequiredWires, any> | PikkuFunctionSessionless<In, Out, RequiredWires, any> = PikkuFunction<In, Out, RequiredWires> | PikkuFunctionSessionless<In, Out, RequiredWires>,
341
+ // `any` in the ScenarioOut slot: a constraint pinned to one context type
342
+ // would refuse a scenario body, which types its context as its own output.
343
+ PikkuFunc extends PikkuFunction<In, Out, RequiredWires, any> | PikkuFunctionSessionless<In, Out, RequiredWires, any, any> = PikkuFunction<In, Out, RequiredWires> | PikkuFunctionSessionless<In, Out, RequiredWires>,
347
344
  InputSchema extends StandardSchemaV1 | undefined = undefined,
348
345
  OutputSchema extends StandardSchemaV1 | undefined = undefined
349
346
  > = CorePikkuFunctionConfig<PikkuFunc, PikkuPermission<In>, PikkuMiddleware, InputSchema, OutputSchema, ScopeId>
350
347
 
348
+ /**
349
+ * {@link PikkuFunctionConfig} for a function that runs without a session.
350
+ * Has no `scopes`: an anonymous caller holds none, so none can ever be met.
351
+ */
352
+ export type PikkuFunctionSessionlessConfig<
353
+ In = unknown,
354
+ Out = unknown,
355
+ RequiredWires extends keyof PikkuWire = never,
356
+ PikkuFunc extends PikkuFunctionSessionless<In, Out, RequiredWires, any> = PikkuFunctionSessionless<In, Out, RequiredWires>,
357
+ InputSchema extends StandardSchemaV1 | undefined = undefined,
358
+ OutputSchema extends StandardSchemaV1 | undefined = undefined
359
+ > = CorePikkuSessionlessFunctionConfig<PikkuFunc, PikkuPermission<In>, PikkuMiddleware, InputSchema, OutputSchema>
360
+
351
361
  /**
352
362
  * Configuration object for Pikku functions with Zod schema validation.
353
363
  * Use this when you want to define input/output schemas using Zod.
@@ -417,12 +427,6 @@ export type PikkuFunctionConfigWithSchema<
417
427
  * })
418
428
  * ```
419
429
  */
420
- export function pikkuFunc<
421
- InputSchema extends StandardSchemaV1 | undefined = undefined,
422
- OutputSchema extends StandardSchemaV1 | undefined = undefined
423
- >(
424
- config: PikkuFunctionConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc', WiredSecretBrokerServices> & { secretBroker: true }
425
- ): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'session' | 'rpc'>
426
430
  export function pikkuFunc<
427
431
  InputSchema extends StandardSchemaV1 | undefined = undefined,
428
432
  OutputSchema extends StandardSchemaV1 | undefined = undefined
@@ -469,7 +473,8 @@ export const pikkuListFunc = <
469
473
  */
470
474
  /**
471
475
  * Schema-overload variant for pikkuSessionlessFunc. Derived from
472
- * CorePikkuFunctionConfig to stay in sync with the generic-typed config.
476
+ * CorePikkuSessionlessFunctionConfig to stay in sync with the generic-typed
477
+ * config — so it has no `scopes` either.
473
478
  */
474
479
  export type PikkuFunctionSessionlessConfigWithSchema<
475
480
  InputSchema extends StandardSchemaV1 | undefined = undefined,
@@ -477,7 +482,7 @@ export type PikkuFunctionSessionlessConfigWithSchema<
477
482
  RequiredWires extends keyof PikkuWire = never,
478
483
  RequiredServices extends SecretlessServices<Services> = WiredServices
479
484
  > = Omit<
480
- CorePikkuFunctionConfig<
485
+ CorePikkuSessionlessFunctionConfig<
481
486
  PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>
482
487
  >,
483
488
  'func' | 'input' | 'output' | 'permissions' | 'approvalDescription'
@@ -532,7 +537,7 @@ export function pikkuSessionlessFunc<
532
537
  export function pikkuSessionlessFunc<In, Out = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices>(
533
538
  func:
534
539
  | PikkuFunctionSessionless<In, Out, 'session' | 'rpc', RequiredServices>
535
- | PikkuFunctionConfig<In, Out, 'session' | 'rpc', PikkuFunctionSessionless<In, Out, 'session' | 'rpc', RequiredServices>>
540
+ | PikkuFunctionSessionlessConfig<In, Out, 'session' | 'rpc', PikkuFunctionSessionless<In, Out, 'session' | 'rpc', RequiredServices>>
536
541
  ): PikkuFunctionConfig<In, Out, 'session' | 'rpc'>
537
542
  export function pikkuSessionlessFunc(func: any) {
538
543
  return typeof func === 'function' ? { func } : func
@@ -557,7 +562,7 @@ export function pikkuSessionlessFunc(func: any) {
557
562
  export const pikkuVoidFunc = (
558
563
  func:
559
564
  | PikkuFunctionSessionless<void, void, 'session' | 'rpc'>
560
- | PikkuFunctionConfig<void, void, 'session' | 'rpc'>
565
+ | PikkuFunctionSessionlessConfig<void, void, 'session' | 'rpc'>
561
566
  ) => {
562
567
  return typeof func === 'function' ? { func } : func
563
568
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal';
4
+ import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import metaData from './pikku-functions-meta.gen.json' with { type: 'json' };
6
6
  pikkuState('@pikku/addon-meta-conversions', 'function', 'meta', metaData);
7
7
  //# sourceMappingURL=pikku-functions-meta.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-functions-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/function/pikku-functions-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,QAAQ,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5E,UAAU,CAAC,+BAA+B,EAAE,UAAU,EAAE,MAAM,EAAE,QAAyB,CAAC,CAAA"}
1
+ {"version":3,"file":"pikku-functions-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/function/pikku-functions-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD,OAAO,QAAQ,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5E,UAAU,CAAC,+BAA+B,EAAE,UAAU,EAAE,MAAM,EAAE,QAAyB,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal'
4
+ import { pikkuState } from '@pikku/core/ecosystem'
5
5
  import type { FunctionsMeta } from '@pikku/core'
6
6
  import metaData from './pikku-functions-meta.gen.json' with { type: 'json' }
7
7
  pikkuState('@pikku/addon-meta-conversions', 'function', 'meta', metaData as FunctionsMeta)
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /* Import and register functions used by RPCs */
5
5
  import { addFunction } from '@pikku/core/function';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /* Import and register functions used by RPCs */
5
5
  import { addFunction } from '@pikku/core/function'
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import './pikku-bootstrap.gen.js';
5
5
  import './scenarios/schemas/register.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import './pikku-bootstrap.gen.js';
5
5
  import './scenarios/schemas/register.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import './pikku-bootstrap.gen.js'
5
5
  import './scenarios/schemas/register.gen.js'
@@ -1,9 +1,10 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './function/pikku-functions-meta.gen.js';
6
6
  import './addon/pikku-package.gen.js';
7
+ import './agent/pikku-model-aliases.gen.js';
7
8
  import './schemas/register.gen.js';
8
9
  import './function/pikku-functions.gen.js';
9
10
  //# sourceMappingURL=pikku-bootstrap.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-bootstrap.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
1
+ {"version":3,"file":"pikku-bootstrap.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
@@ -1,9 +1,10 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './function/pikku-functions-meta.gen.js';
6
6
  import './addon/pikku-package.gen.js';
7
+ import './agent/pikku-model-aliases.gen.js';
7
8
  import './schemas/register.gen.js';
8
9
  import './function/pikku-functions.gen.js';
9
10
  //# sourceMappingURL=pikku-bootstrap.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-bootstrap.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
1
+ {"version":3,"file":"pikku-bootstrap.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
@@ -1,8 +1,9 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js'
5
5
  import './function/pikku-functions-meta.gen.js'
6
6
  import './addon/pikku-package.gen.js'
7
+ import './agent/pikku-model-aliases.gen.js'
7
8
  import './schemas/register.gen.js'
8
9
  import './function/pikku-functions.gen.js'
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export declare class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta'
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js';
5
5
  import type { Services } from '../types/application-types.d.js';
@@ -30,6 +30,7 @@ export declare const requiredSingletonServices: {
30
30
  readonly secrets: true;
31
31
  readonly sessionStore: false;
32
32
  readonly variables: true;
33
+ readonly virtualUserRunStore: false;
33
34
  readonly webhookService: false;
34
35
  readonly workflowRunService: false;
35
36
  readonly workflowService: false;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEhO,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,sBAAuB,CAAA"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEhO,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,sBAAuB,CAAA"}
@@ -26,6 +26,7 @@ export const requiredSingletonServices = {
26
26
  'secrets': true,
27
27
  'sessionStore': false,
28
28
  'variables': true,
29
+ 'virtualUserRunStore': false,
29
30
  'webhookService': false,
30
31
  'workflowRunService': false,
31
32
  'workflowService': false,
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,iBAAiB,EAAE,KAAK;IACxB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,iBAAiB,EAAE,KAAK;IACxB,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,KAAK;IACrB,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;IACjB,gBAAgB,EAAE,KAAK;IACvB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,SAAS,CAAU,CAAA"}
1
+ {"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,iBAAiB,EAAE,KAAK;IACxB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,iBAAiB,EAAE,KAAK;IACxB,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,KAAK;IACrB,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;IACjB,qBAAqB,EAAE,KAAK;IAC5B,gBAAgB,EAAE,KAAK;IACvB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,SAAS,CAAU,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js'
5
5
  import type { Services } from '../types/application-types.d.js'
@@ -32,6 +32,7 @@ export const requiredSingletonServices = {
32
32
  'secrets': true,
33
33
  'sessionStore': false,
34
34
  'variables': true,
35
+ 'virtualUserRunStore': false,
35
36
  'webhookService': false,
36
37
  'workflowRunService': false,
37
38
  'workflowService': false,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
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.96
2
+ * This file was generated by @pikku/cli@0.12.103
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.96
2
+ * This file was generated by @pikku/cli@0.12.103
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.96
2
+ * This file was generated by @pikku/cli@0.12.103
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.96
2
+ * This file was generated by @pikku/cli@0.12.103
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.96
2
+ * This file was generated by @pikku/cli@0.12.103
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.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -93,12 +93,7 @@ type FlattenedAgentMap = AgentMap
93
93
 
94
94
 
95
95
  import type { PikkuRPC } from '@pikku/core/rpc'
96
-
97
- interface AIAgentInput {
98
- message: string
99
- threadId: string
100
- resourceId: string
101
- }
96
+ import type { AIAgentInput } from '@pikku/core/ai-agent'
102
97
 
103
98
  export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
104
99
  name: Name,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -94,12 +94,7 @@ type FlattenedAgentMap = AgentMap
94
94
 
95
95
 
96
96
  import type { PikkuRPC } from '@pikku/core/rpc'
97
-
98
- interface AIAgentInput {
99
- message: string
100
- threadId: string
101
- resourceId: string
102
- }
97
+ import type { AIAgentInput } from '@pikku/core/ai-agent'
103
98
 
104
99
  export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
105
100
  name: Name,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -93,12 +93,7 @@ type FlattenedAgentMap = AgentMap
93
93
 
94
94
 
95
95
  import type { PikkuRPC } from '@pikku/core/rpc'
96
-
97
- interface AIAgentInput {
98
- message: string
99
- threadId: string
100
- resourceId: string
101
- }
96
+ import type { AIAgentInput } from '@pikku/core/ai-agent'
102
97
 
103
98
  export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
104
99
  name: Name,
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal';
4
+ import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
6
6
  pikkuState('@pikku/addon-meta-conversions', 'rpc', 'meta', metaData);
7
7
  //# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,+BAA+B,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
1
+ {"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,+BAA+B,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal'
4
+ import { pikkuState } from '@pikku/core/ecosystem'
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' }
6
6
  pikkuState('@pikku/addon-meta-conversions', 'rpc', 'meta', metaData as Record<string, string>)
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal';
4
+ import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import '../function/pikku-functions-meta.gen.js';
6
6
  import metaData from './pikku-scenario-functions-meta.gen.json' with { type: 'json' };
7
7
  pikkuState('@pikku/addon-meta-conversions', 'function', 'meta', {
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-scenario-functions-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-functions-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,yCAAyC,CAAA;AAChD,OAAO,QAAQ,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAErF,UAAU,CAAC,+BAA+B,EAAE,UAAU,EAAE,MAAM,EAAE;IAC9D,GAAG,UAAU,CAAC,+BAA+B,EAAE,UAAU,EAAE,MAAM,CAAC;IAClE,GAAI,QAA0B;CAC/B,CAAC,CAAA"}
1
+ {"version":3,"file":"pikku-scenario-functions-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-functions-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD,OAAO,yCAAyC,CAAA;AAChD,OAAO,QAAQ,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAErF,UAAU,CAAC,+BAA+B,EAAE,UAAU,EAAE,MAAM,EAAE;IAC9D,GAAG,UAAU,CAAC,+BAA+B,EAAE,UAAU,EAAE,MAAM,CAAC;IAClE,GAAI,QAA0B;CAC/B,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal'
4
+ import { pikkuState } from '@pikku/core/ecosystem'
5
5
  import type { FunctionsMeta } from '@pikku/core'
6
6
  import '../function/pikku-functions-meta.gen.js'
7
7
  import metaData from './pikku-scenario-functions-meta.gen.json' with { type: 'json' }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=pikku-scenario-functions.gen.d.ts.map
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export {}
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal';
4
+ import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import '../workflow/pikku-workflow-wirings-meta.gen.js';
6
6
  const scenariosMeta = {};
7
7
  pikkuState('@pikku/addon-meta-conversions', 'workflows', 'meta', {
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-scenario-wirings-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,gDAAgD,CAAA;AAEvD,MAAM,aAAa,GAAG,EAEG,CAAA;AAEzB,UAAU,CAAC,+BAA+B,EAAE,WAAW,EAAE,MAAM,EAAE;IAC/D,GAAG,UAAU,CAAC,+BAA+B,EAAE,WAAW,EAAE,MAAM,CAAC;IACnE,GAAG,aAAa;CACjB,CAAC,CAAA"}
1
+ {"version":3,"file":"pikku-scenario-wirings-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD,OAAO,gDAAgD,CAAA;AAEvD,MAAM,aAAa,GAAG,EAEG,CAAA;AAEzB,UAAU,CAAC,+BAA+B,EAAE,WAAW,EAAE,MAAM,EAAE;IAC/D,GAAG,UAAU,CAAC,+BAA+B,EAAE,WAAW,EAAE,MAAM,CAAC;IACnE,GAAG,aAAa;CACjB,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal'
4
+ import { pikkuState } from '@pikku/core/ecosystem'
5
5
  import type { WorkflowsRuntimeMeta } from '@pikku/core/workflow/types'
6
6
  import '../workflow/pikku-workflow-wirings-meta.gen.js'
7
7
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=pikku-scenario-wirings.gen.d.ts.map
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.96
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export {}