@pikku/addon-graph 0.0.1 → 0.0.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.
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +17 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +21 -2
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +24 -2
- package/dist/.pikku/addon/pikku-package.gen.js +1 -1
- package/dist/.pikku/addon/pikku-package.gen.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +6 -6
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +13 -7
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.ts +1 -1
- package/{.pikku/console/pikku-nodes-meta.gen.json → dist/.pikku/console/pikku-addon-meta.gen.json} +12 -9
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +2 -2
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.ts +2 -2
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +41 -12
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +17 -1
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.ts +53 -15
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +28 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +16 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +1 -1
- package/dist/.pikku/function/pikku-functions.gen.js +3 -1
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions.gen.ts +3 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.ts +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +3 -1
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +2 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-services.gen.ts +3 -1
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/pikku-types.gen.ts +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +50 -396
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +51 -396
- package/dist/.pikku/schema-cache.json +1 -0
- package/dist/.pikku/schemas/pikku.cache.json +1 -0
- package/dist/.pikku/schemas/register.gen.js +3 -1
- package/dist/.pikku/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/schemas/register.gen.ts +5 -1
- package/dist/.pikku/schemas/schemas/SleepInput.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +35 -5
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +5 -5
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +65 -9
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
- package/dist/src/functions/data/sleep.function.d.ts +16 -0
- package/dist/src/functions/data/sleep.function.d.ts.map +1 -0
- package/dist/src/functions/data/sleep.function.js +18 -0
- package/dist/src/functions/data/sleep.function.js.map +1 -0
- package/package.json +13 -10
- package/.pikku/addon/pikku-addon-types.gen.ts +0 -78
- package/.pikku/addon/pikku-package.gen.ts +0 -9
- package/.pikku/agent/pikku-agent-map.gen.d.ts +0 -16
- package/.pikku/agent/pikku-agent-types.gen.ts +0 -76
- package/.pikku/agent/pikku-agent-wirings-meta.gen.json +0 -3
- package/.pikku/agent/pikku-agent-wirings-meta.gen.ts +0 -7
- package/.pikku/agent/pikku-agent-wirings.gen.ts +0 -3
- package/.pikku/console/pikku-node-types.gen.ts +0 -8
- package/.pikku/function/pikku-function-types.gen.ts +0 -648
- package/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -582
- package/.pikku/function/pikku-functions-meta.gen.json +0 -434
- package/.pikku/function/pikku-functions-meta.gen.ts +0 -7
- package/.pikku/function/pikku-functions.gen.ts +0 -54
- package/.pikku/pikku-bootstrap.gen.ts +0 -15
- package/.pikku/pikku-services.gen.ts +0 -32
- package/.pikku/pikku-types.gen.ts +0 -21
- package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -470
- package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -494
- package/.pikku/schemas/register.gen.ts +0 -195
- package/.pikku/schemas/schemas/AggregateInput.schema.json +0 -1
- package/.pikku/schemas/schemas/AggregateOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/ChunkInput.schema.json +0 -1
- package/.pikku/schemas/schemas/ChunkOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/CoalesceInput.schema.json +0 -1
- package/.pikku/schemas/schemas/CoalesceOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/CryptoInput.schema.json +0 -1
- package/.pikku/schemas/schemas/CryptoOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/DateTimeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/DateTimeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/EditFieldsInput.schema.json +0 -1
- package/.pikku/schemas/schemas/EditFieldsOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/FindInput.schema.json +0 -1
- package/.pikku/schemas/schemas/FindOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/GroupByInput.schema.json +0 -1
- package/.pikku/schemas/schemas/GroupByOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtDecodeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtDecodeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtSignInput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtSignOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/LimitInput.schema.json +0 -1
- package/.pikku/schemas/schemas/LimitOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/MathInput.schema.json +0 -1
- package/.pikku/schemas/schemas/MathOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/MergeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/MergeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/OmitInput.schema.json +0 -1
- package/.pikku/schemas/schemas/OmitOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/PickInput.schema.json +0 -1
- package/.pikku/schemas/schemas/PickOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/RemoveDuplicatesInput.schema.json +0 -1
- package/.pikku/schemas/schemas/RemoveDuplicatesOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/RenameKeysInput.schema.json +0 -1
- package/.pikku/schemas/schemas/RenameKeysOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/ReverseInput.schema.json +0 -1
- package/.pikku/schemas/schemas/ReverseOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/SortInput.schema.json +0 -1
- package/.pikku/schemas/schemas/SortOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/SplitOutInput.schema.json +0 -1
- package/.pikku/schemas/schemas/SplitOutOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/StringTransformInput.schema.json +0 -1
- package/.pikku/schemas/schemas/StringTransformOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/SummarizeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/SummarizeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/TypeConvertInput.schema.json +0 -1
- package/.pikku/schemas/schemas/TypeConvertOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/UniqueInput.schema.json +0 -1
- package/.pikku/schemas/schemas/UniqueOutput.schema.json +0 -1
- package/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
- package/.pikku/secrets/pikku-secrets-meta.gen.json +0 -1
- package/.pikku/secrets/pikku-secrets.gen.ts +0 -21
- package/.pikku/trigger/pikku-trigger-types.gen.ts +0 -160
- package/.pikku/variables/pikku-variable-types.gen.ts +0 -5
- package/.pikku/variables/pikku-variables-meta.gen.json +0 -1
- package/.pikku/variables/pikku-variables.gen.ts +0 -21
- package/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -34
- package/.pikku/workflow/pikku-workflow-types.gen.ts +0 -158
- package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
- package/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
- package/dist/.pikku/console/pikku-nodes-meta.gen.json +0 -278
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Core function, middleware, and permission types for all wirings
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import { CorePikkuFunctionConfig, CorePikkuAuth, CorePikkuAuthConfig, CorePikkuPermission, CorePikkuMiddleware, CorePermissionGroup, addMiddleware as addMiddlewareCore, addPermission as addPermissionCore, PikkuWire, PickRequired } from '@pikku/core'
|
|
9
9
|
import { pikkuState as __pikkuState, CreateWireServices } from '@pikku/core/internal'
|
|
10
10
|
import { pikkuAuth as pikkuAuthCore } from '@pikku/core'
|
|
11
|
+
import { PikkuError } from '@pikku/core/errors'
|
|
11
12
|
import type { NodeType } from '@pikku/core/node'
|
|
12
13
|
import type { StandardSchemaV1 } from '@standard-schema/spec'
|
|
13
14
|
import { CorePikkuFunction, CorePikkuFunctionSessionless } from '@pikku/core/function'
|
|
@@ -30,7 +31,7 @@ export type Session = UserSession
|
|
|
30
31
|
*/
|
|
31
32
|
export type NodeConfig = {
|
|
32
33
|
displayName: string
|
|
33
|
-
category:
|
|
34
|
+
category: string
|
|
34
35
|
type: NodeType
|
|
35
36
|
errorOutput?: boolean
|
|
36
37
|
}
|
|
@@ -222,6 +223,37 @@ export const pikkuPermissionFactory = <In = any>(
|
|
|
222
223
|
return factory
|
|
223
224
|
}
|
|
224
225
|
|
|
226
|
+
/**
|
|
227
|
+
* A function that generates a human-readable description of a pending approval action.
|
|
228
|
+
* Used by AI agents to show meaningful approval prompts instead of raw tool arguments.
|
|
229
|
+
*
|
|
230
|
+
* @template In - The input type (same as the function it describes)
|
|
231
|
+
* @template RequiredServices - The services required for this description function
|
|
232
|
+
*/
|
|
233
|
+
export type PikkuApprovalDescription<In = unknown, RequiredServices extends Services = Services> = (
|
|
234
|
+
services: RequiredServices,
|
|
235
|
+
data: In
|
|
236
|
+
) => Promise<string>
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Factory function for creating approval description functions with tree-shaking support.
|
|
240
|
+
*
|
|
241
|
+
* @example
|
|
242
|
+
* ```typescript
|
|
243
|
+
* export const deleteTodoApproval = pikkuApprovalDescription(
|
|
244
|
+
* async ({ todoStore }, { id }) => {
|
|
245
|
+
* const todo = await todoStore.get(id)
|
|
246
|
+
* return \`Delete todo: "${todo.title}"\`
|
|
247
|
+
* }
|
|
248
|
+
* )
|
|
249
|
+
* ```
|
|
250
|
+
*/
|
|
251
|
+
export const pikkuApprovalDescription = <In = unknown, RequiredServices extends Services = Services>(
|
|
252
|
+
fn: PikkuApprovalDescription<In, RequiredServices>
|
|
253
|
+
): PikkuApprovalDescription<In, RequiredServices> => {
|
|
254
|
+
return fn
|
|
255
|
+
}
|
|
256
|
+
|
|
225
257
|
/**
|
|
226
258
|
* A sessionless API function that doesn't require user authentication.
|
|
227
259
|
* Use this for public endpoints, health checks, or operations that don't need user context.
|
|
@@ -292,7 +324,7 @@ export type PikkuFunctionConfig<
|
|
|
292
324
|
* Types are automatically inferred from the schemas.
|
|
293
325
|
*/
|
|
294
326
|
export type PikkuFunctionConfigWithSchema<
|
|
295
|
-
InputSchema extends StandardSchemaV1,
|
|
327
|
+
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
296
328
|
OutputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
297
329
|
RequiredWires extends keyof PikkuWire = never
|
|
298
330
|
> = {
|
|
@@ -301,21 +333,24 @@ export type PikkuFunctionConfigWithSchema<
|
|
|
301
333
|
expose?: boolean
|
|
302
334
|
mcp?: boolean
|
|
303
335
|
internal?: boolean
|
|
336
|
+
approvalRequired?: boolean
|
|
337
|
+
approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never
|
|
304
338
|
func: PikkuFunction<
|
|
305
|
-
InferSchemaOutput<InputSchema
|
|
339
|
+
InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
|
|
306
340
|
OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown,
|
|
307
341
|
RequiredWires
|
|
308
342
|
> | PikkuFunctionSessionless<
|
|
309
|
-
InferSchemaOutput<InputSchema
|
|
343
|
+
InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
|
|
310
344
|
OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown,
|
|
311
345
|
RequiredWires
|
|
312
346
|
>
|
|
313
347
|
auth?: boolean
|
|
314
|
-
permissions?: CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>>
|
|
348
|
+
permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined
|
|
315
349
|
middleware?: PikkuMiddleware[]
|
|
316
|
-
input
|
|
350
|
+
input?: InputSchema
|
|
317
351
|
output?: OutputSchema
|
|
318
352
|
node?: NodeConfig
|
|
353
|
+
errors?: Array<typeof PikkuError>
|
|
319
354
|
}
|
|
320
355
|
|
|
321
356
|
/**
|
|
@@ -357,11 +392,11 @@ export type PikkuFunctionConfigWithSchema<
|
|
|
357
392
|
* ```
|
|
358
393
|
*/
|
|
359
394
|
export function pikkuFunc<
|
|
360
|
-
InputSchema extends StandardSchemaV1,
|
|
395
|
+
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
361
396
|
OutputSchema extends StandardSchemaV1 | undefined = undefined
|
|
362
397
|
>(
|
|
363
398
|
config: PikkuFunctionConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc'>
|
|
364
|
-
): PikkuFunctionConfig<InferSchemaOutput<InputSchema
|
|
399
|
+
): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'session' | 'rpc'>
|
|
365
400
|
export function pikkuFunc<In, Out = unknown>(
|
|
366
401
|
func:
|
|
367
402
|
| PikkuFunction<In, Out, 'session' | 'rpc'>
|
|
@@ -375,7 +410,7 @@ export function pikkuFunc(func: any) {
|
|
|
375
410
|
* Configuration object for sessionless Pikku functions with Zod schema validation.
|
|
376
411
|
*/
|
|
377
412
|
export type PikkuFunctionSessionlessConfigWithSchema<
|
|
378
|
-
InputSchema extends StandardSchemaV1,
|
|
413
|
+
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
379
414
|
OutputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
380
415
|
RequiredWires extends keyof PikkuWire = never
|
|
381
416
|
> = {
|
|
@@ -386,17 +421,20 @@ export type PikkuFunctionSessionlessConfigWithSchema<
|
|
|
386
421
|
mcp?: boolean
|
|
387
422
|
internal?: boolean
|
|
388
423
|
remote?: boolean
|
|
424
|
+
approvalRequired?: boolean
|
|
425
|
+
approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never
|
|
389
426
|
func: PikkuFunctionSessionless<
|
|
390
|
-
InferSchemaOutput<InputSchema
|
|
427
|
+
InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
|
|
391
428
|
OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown,
|
|
392
429
|
RequiredWires
|
|
393
430
|
>
|
|
394
431
|
auth?: boolean
|
|
395
|
-
permissions?: CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>>
|
|
432
|
+
permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined
|
|
396
433
|
middleware?: PikkuMiddleware[]
|
|
397
|
-
input
|
|
434
|
+
input?: InputSchema
|
|
398
435
|
output?: OutputSchema
|
|
399
436
|
node?: NodeConfig
|
|
437
|
+
errors?: Array<typeof PikkuError>
|
|
400
438
|
}
|
|
401
439
|
|
|
402
440
|
/**
|
|
@@ -435,11 +473,11 @@ export type PikkuFunctionSessionlessConfigWithSchema<
|
|
|
435
473
|
* ```
|
|
436
474
|
*/
|
|
437
475
|
export function pikkuSessionlessFunc<
|
|
438
|
-
InputSchema extends StandardSchemaV1,
|
|
476
|
+
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
439
477
|
OutputSchema extends StandardSchemaV1 | undefined = undefined
|
|
440
478
|
>(
|
|
441
479
|
config: PikkuFunctionSessionlessConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc'>
|
|
442
|
-
): PikkuFunctionConfig<InferSchemaOutput<InputSchema
|
|
480
|
+
): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'session' | 'rpc'>
|
|
443
481
|
export function pikkuSessionlessFunc<In, Out = unknown>(
|
|
444
482
|
func:
|
|
445
483
|
| PikkuFunctionSessionless<In, Out, 'session' | 'rpc'>
|
|
@@ -411,6 +411,34 @@
|
|
|
411
411
|
"inputHash": "91f5f92b",
|
|
412
412
|
"outputHash": "473f23f2"
|
|
413
413
|
},
|
|
414
|
+
"sleep": {
|
|
415
|
+
"pikkuFuncId": "sleep",
|
|
416
|
+
"functionType": "user",
|
|
417
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
418
|
+
"sessionless": true,
|
|
419
|
+
"name": "sleep",
|
|
420
|
+
"services": {
|
|
421
|
+
"optimized": true,
|
|
422
|
+
"services": []
|
|
423
|
+
},
|
|
424
|
+
"wires": {
|
|
425
|
+
"optimized": true,
|
|
426
|
+
"wires": [
|
|
427
|
+
"workflow"
|
|
428
|
+
]
|
|
429
|
+
},
|
|
430
|
+
"inputSchemaName": "SleepInput",
|
|
431
|
+
"outputSchemaName": null,
|
|
432
|
+
"inputs": [
|
|
433
|
+
"SleepInput"
|
|
434
|
+
],
|
|
435
|
+
"outputs": [],
|
|
436
|
+
"description": "Sleep for a specified duration before continuing",
|
|
437
|
+
"isDirectFunction": false,
|
|
438
|
+
"contractHash": "649686d11b09c275",
|
|
439
|
+
"inputHash": "9fd961b9",
|
|
440
|
+
"outputHash": "ec28f86f"
|
|
441
|
+
},
|
|
414
442
|
"stringTransform": {
|
|
415
443
|
"pikkuFuncId": "stringTransform",
|
|
416
444
|
"functionType": "user",
|
|
@@ -305,6 +305,22 @@
|
|
|
305
305
|
"inputHash": "91f5f92b",
|
|
306
306
|
"outputHash": "473f23f2"
|
|
307
307
|
},
|
|
308
|
+
"sleep": {
|
|
309
|
+
"pikkuFuncId": "sleep",
|
|
310
|
+
"functionType": "user",
|
|
311
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
312
|
+
"sessionless": true,
|
|
313
|
+
"name": "sleep",
|
|
314
|
+
"inputSchemaName": "SleepInput",
|
|
315
|
+
"outputSchemaName": null,
|
|
316
|
+
"inputs": [
|
|
317
|
+
"SleepInput"
|
|
318
|
+
],
|
|
319
|
+
"outputs": [],
|
|
320
|
+
"contractHash": "649686d11b09c275",
|
|
321
|
+
"inputHash": "9fd961b9",
|
|
322
|
+
"outputHash": "ec28f86f"
|
|
323
|
+
},
|
|
308
324
|
"stringTransform": {
|
|
309
325
|
"pikkuFuncId": "stringTransform",
|
|
310
326
|
"functionType": "user",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
/* Import and register functions used by RPCs */
|
|
5
5
|
import { addFunction } from '@pikku/core';
|
|
@@ -21,6 +21,7 @@ import { pick } from '../../src/functions/transform/pick.function.js';
|
|
|
21
21
|
import { removeDuplicates } from '../../src/functions/array/remove-duplicates.function.js';
|
|
22
22
|
import { renameKeys } from '../../src/functions/transform/rename-keys.function.js';
|
|
23
23
|
import { reverse } from '../../src/functions/array/reverse.function.js';
|
|
24
|
+
import { sleep } from '../../src/functions/data/sleep.function.js';
|
|
24
25
|
import { sort } from '../../src/functions/array/sort.function.js';
|
|
25
26
|
import { splitOut } from '../../src/functions/array/split-out.function.js';
|
|
26
27
|
import { stringTransform } from '../../src/functions/data/string-transform.function.js';
|
|
@@ -45,6 +46,7 @@ addFunction('pick', pick, '@pikku/addon-graph');
|
|
|
45
46
|
addFunction('removeDuplicates', removeDuplicates, '@pikku/addon-graph');
|
|
46
47
|
addFunction('renameKeys', renameKeys, '@pikku/addon-graph');
|
|
47
48
|
addFunction('reverse', reverse, '@pikku/addon-graph');
|
|
49
|
+
addFunction('sleep', sleep, '@pikku/addon-graph');
|
|
48
50
|
addFunction('sort', sort, '@pikku/addon-graph');
|
|
49
51
|
addFunction('splitOut', splitOut, '@pikku/addon-graph');
|
|
50
52
|
addFunction('stringTransform', stringTransform, '@pikku/addon-graph');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-functions.gen.js","sourceRoot":"","sources":["../../../.pikku/function/pikku-functions.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,gDAAgD;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAA;AAC3E,OAAO,EAAE,KA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AAoB,CAAC,CAAA;AACjD,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAA;AAC/C,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAA;AAC/C,WAAW,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,CAAA;AACvE,WAAW,CAAC,YAAY,EAAE,UAAU,EAAE,oBAAoB,CAAC,CAAA;AAC3D,WAAW,CAAC,SAAS,EAAE,OAAO,EAAE,oBAAoB,CAAC,CAAA;AACrD,WAAW,CAAC,OAAO,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAAA;AACjD,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAA;AAC/C,WAAW,CAAC,UAAU,EAAE,QAAQ,EAAE,oBAAoB,CAAC,CAAA;AACvD,WAAW,CAAC,iBAAiB,EAAE,eAAe,EAAE,oBAAoB,CAAC,CAAA;AACrE,WAAW,CAAC,WAAW,EAAE,SAAS,EAAE,oBAAoB,CAAC,CAAA;AACzD,WAAW,CAAC,aAAa,EAAE,WAAW,EAAE,oBAAoB,CAAC,CAAA;AAC7D,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,oBAAoB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
/* Import and register functions used by RPCs */
|
|
5
5
|
import { addFunction } from '@pikku/core'
|
|
@@ -21,6 +21,7 @@ import { pick } from '../../src/functions/transform/pick.function.js'
|
|
|
21
21
|
import { removeDuplicates } from '../../src/functions/array/remove-duplicates.function.js'
|
|
22
22
|
import { renameKeys } from '../../src/functions/transform/rename-keys.function.js'
|
|
23
23
|
import { reverse } from '../../src/functions/array/reverse.function.js'
|
|
24
|
+
import { sleep } from '../../src/functions/data/sleep.function.js'
|
|
24
25
|
import { sort } from '../../src/functions/array/sort.function.js'
|
|
25
26
|
import { splitOut } from '../../src/functions/array/split-out.function.js'
|
|
26
27
|
import { stringTransform } from '../../src/functions/data/string-transform.function.js'
|
|
@@ -46,6 +47,7 @@ addFunction('pick', pick, '@pikku/addon-graph')
|
|
|
46
47
|
addFunction('removeDuplicates', removeDuplicates, '@pikku/addon-graph')
|
|
47
48
|
addFunction('renameKeys', renameKeys, '@pikku/addon-graph')
|
|
48
49
|
addFunction('reverse', reverse, '@pikku/addon-graph')
|
|
50
|
+
addFunction('sleep', sleep, '@pikku/addon-graph')
|
|
49
51
|
addFunction('sort', sort, '@pikku/addon-graph')
|
|
50
52
|
addFunction('splitOut', splitOut, '@pikku/addon-graph')
|
|
51
53
|
addFunction('stringTransform', stringTransform, '@pikku/addon-graph')
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
import type { SingletonServices } from '../types/application-types.d.js';
|
|
5
5
|
import type { Services } from '../types/application-types.d.js';
|
|
6
6
|
export declare const requiredSingletonServices: {
|
|
7
|
+
readonly agentRunService: false;
|
|
7
8
|
readonly aiAgentRunner: false;
|
|
8
9
|
readonly aiRunState: false;
|
|
9
10
|
readonly aiStorage: false;
|
|
@@ -17,6 +18,7 @@ export declare const requiredSingletonServices: {
|
|
|
17
18
|
readonly schema: true;
|
|
18
19
|
readonly secrets: true;
|
|
19
20
|
readonly variables: true;
|
|
21
|
+
readonly workflowRunService: false;
|
|
20
22
|
readonly workflowService: false;
|
|
21
23
|
};
|
|
22
24
|
export declare const requiredWireServices: {};
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;CAiB5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEtN,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// Singleton services map: true if required, false if available but unused
|
|
2
2
|
export const requiredSingletonServices = {
|
|
3
|
+
'agentRunService': false,
|
|
3
4
|
'aiAgentRunner': false,
|
|
4
5
|
'aiRunState': false,
|
|
5
6
|
'aiStorage': false,
|
|
@@ -13,6 +14,7 @@ export const requiredSingletonServices = {
|
|
|
13
14
|
'schema': true,
|
|
14
15
|
'secrets': true,
|
|
15
16
|
'variables': true,
|
|
17
|
+
'workflowRunService': false,
|
|
16
18
|
'workflowService': false,
|
|
17
19
|
};
|
|
18
20
|
// Wire services map: true if required, false if available but unused
|
|
@@ -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,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA"}
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
import type { SingletonServices } from '../types/application-types.d.js'
|
|
5
5
|
import type { Services } from '../types/application-types.d.js'
|
|
6
6
|
|
|
7
7
|
// Singleton services map: true if required, false if available but unused
|
|
8
8
|
export const requiredSingletonServices = {
|
|
9
|
+
'agentRunService': false,
|
|
9
10
|
'aiAgentRunner': false,
|
|
10
11
|
'aiRunState': false,
|
|
11
12
|
'aiStorage': false,
|
|
@@ -19,6 +20,7 @@ export const requiredSingletonServices = {
|
|
|
19
20
|
'schema': true,
|
|
20
21
|
'secrets': true,
|
|
21
22
|
'variables': true,
|
|
23
|
+
'workflowRunService': false,
|
|
22
24
|
'workflowService': false,
|
|
23
25
|
} as const
|
|
24
26
|
|