@pikku/cli 0.12.16 → 0.12.19

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 (127) hide show
  1. package/cli.schema.json +1 -1
  2. package/console-app/assets/{index-DvrDbftC.css → index-BpY2pSuA.css} +10 -1
  3. package/console-app/assets/index-DAQHIRK3.js +717 -0
  4. package/console-app/index.html +2 -2
  5. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  6. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  7. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  8. package/dist/.pikku/cli/pikku-cli-channel.js +6 -1
  9. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  10. package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
  11. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  12. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  13. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  14. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +7 -1
  15. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  16. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  17. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  18. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  19. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  20. package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
  21. package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
  22. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  23. package/dist/.pikku/function/pikku-functions-meta.gen.json +204 -67
  24. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  25. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  26. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  27. package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
  28. package/dist/.pikku/http/pikku-http-wirings-meta.gen.json +62 -1
  29. package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +2 -1
  30. package/dist/.pikku/http/pikku-http-wirings.gen.js +2 -1
  31. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  32. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  33. package/dist/.pikku/pikku-bootstrap.gen.d.ts +2 -1
  34. package/dist/.pikku/pikku-bootstrap.gen.js +2 -1
  35. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  36. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  37. package/dist/.pikku/pikku-services.gen.d.ts +6 -6
  38. package/dist/.pikku/pikku-services.gen.js +4 -4
  39. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  40. package/dist/.pikku/pikku-types.gen.js +1 -1
  41. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  42. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  43. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  44. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +15 -8
  45. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  46. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  47. package/dist/.pikku/schemas/register.gen.js +21 -3
  48. package/dist/.pikku/schemas/schemas/GraphStarterInput.schema.json +1 -0
  49. package/dist/.pikku/schemas/schemas/GraphStarterOutput.schema.json +1 -0
  50. package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
  51. package/dist/.pikku/schemas/schemas/WorkflowRunStatus.schema.json +1 -0
  52. package/dist/.pikku/schemas/schemas/WorkflowRunnerInput.schema.json +1 -0
  53. package/dist/.pikku/schemas/schemas/WorkflowStarterInput.schema.json +1 -0
  54. package/dist/.pikku/schemas/schemas/WorkflowStarterOutput.schema.json +1 -0
  55. package/dist/.pikku/schemas/schemas/WorkflowStatusCheckerInput.schema.json +1 -0
  56. package/dist/.pikku/schemas/schemas/WorkflowStatusStreamFullInput.schema.json +1 -0
  57. package/dist/.pikku/schemas/schemas/WorkflowStatusStreamInput.schema.json +1 -0
  58. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  59. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  60. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  61. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  62. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  63. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  64. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  65. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  66. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  67. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  68. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +442 -0
  69. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  70. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  71. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +5 -2
  72. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +2 -4
  73. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -2
  74. package/dist/src/cli.wiring.js +5 -0
  75. package/dist/src/deploy/analyzer/analyzer.d.ts +1 -0
  76. package/dist/src/deploy/analyzer/analyzer.js +18 -15
  77. package/dist/src/deploy/codegen/per-unit-codegen.js +3 -3
  78. package/dist/src/functions/commands/all.js +2 -186
  79. package/dist/src/functions/commands/bootstrap.js +10 -10
  80. package/dist/src/functions/commands/console.js +1 -1
  81. package/dist/src/functions/commands/watch.js +1 -1
  82. package/dist/src/functions/wirings/rpc/pikku-command-react-query.d.ts +1 -0
  83. package/dist/src/functions/wirings/rpc/pikku-command-react-query.js +33 -0
  84. package/dist/src/functions/wirings/rpc/serialize-react-query-hooks.d.ts +1 -0
  85. package/dist/src/functions/wirings/rpc/serialize-react-query-hooks.js +108 -0
  86. package/dist/src/functions/wirings/rpc/serialize-rpc-wrapper.js +3 -3
  87. package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.js +6 -4
  88. package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +126 -27
  89. package/dist/src/functions/workflows/all.workflow.d.ts +1 -0
  90. package/dist/src/functions/workflows/all.workflow.js +212 -0
  91. package/dist/src/scaffold/rpc-remote.gen.js +1 -1
  92. package/dist/src/scaffold/workflow-routes.gen.d.ts +84 -0
  93. package/dist/src/scaffold/workflow-routes.gen.js +197 -0
  94. package/dist/src/services.js +2 -0
  95. package/dist/src/utils/pikku-cli-config.js +1 -0
  96. package/dist/tsconfig.tsbuildinfo +1 -1
  97. package/package.json +4 -6
  98. package/console-app/assets/index-CzMWJFqj.js +0 -700
  99. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts +0 -1
  100. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +0 -6
  101. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.json +0 -3
  102. package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +0 -4
  103. package/dist/.pikku/agent/pikku-agent-wirings.gen.js +0 -4
  104. package/dist/.pikku/channel/pikku-channels-meta.gen.d.ts +0 -1
  105. package/dist/.pikku/channel/pikku-channels-meta.gen.js +0 -6
  106. package/dist/.pikku/channel/pikku-channels-meta.gen.json +0 -1
  107. package/dist/.pikku/channel/pikku-channels.gen.d.ts +0 -4
  108. package/dist/.pikku/channel/pikku-channels.gen.js +0 -5
  109. package/dist/.pikku/mcp/pikku-mcp-wirings-meta.gen.d.ts +0 -1
  110. package/dist/.pikku/mcp/pikku-mcp-wirings-meta.gen.js +0 -8
  111. package/dist/.pikku/mcp/pikku-mcp-wirings-meta.gen.json +0 -5
  112. package/dist/.pikku/mcp/pikku-mcp-wirings.gen.d.ts +0 -4
  113. package/dist/.pikku/mcp/pikku-mcp-wirings.gen.js +0 -5
  114. package/dist/.pikku/pikku-websocket.gen.d.ts +0 -45
  115. package/dist/.pikku/pikku-websocket.gen.js +0 -63
  116. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.d.ts +0 -1
  117. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +0 -6
  118. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.json +0 -1
  119. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +0 -4
  120. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +0 -5
  121. package/dist/.pikku/rpc/pikku-remote-rpc-workers.gen.d.ts +0 -17
  122. package/dist/.pikku/rpc/pikku-remote-rpc-workers.gen.js +0 -25
  123. package/dist/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.d.ts +0 -1
  124. package/dist/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.js +0 -6
  125. package/dist/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.json +0 -1
  126. package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.d.ts +0 -4
  127. package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.js +0 -5
@@ -24,8 +24,8 @@
24
24
  }
25
25
  } catch (e) {}
26
26
  </script>
27
- <script type="module" crossorigin src="/assets/index-CzMWJFqj.js"></script>
28
- <link rel="stylesheet" crossorigin href="/assets/index-DvrDbftC.css">
27
+ <script type="module" crossorigin src="/assets/index-DAQHIRK3.js"></script>
28
+ <link rel="stylesheet" crossorigin href="/assets/index-BpY2pSuA.css">
29
29
  </head>
30
30
  <body>
31
31
  <div id="root"></div>
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import { CoreAIAgent, PikkuAIMiddlewareHooks } from '@pikku/core/ai-agent';
5
5
  import type { PikkuPermission, PikkuMiddleware, Services, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  /**
5
5
  * WebSocket channel backend for 'pikku' CLI commands
@@ -17,6 +17,7 @@ import { pikkuSchemas } from '../../src/functions/wirings/functions/schemas.js';
17
17
  import { pikkuFetch } from '../../src/functions/runtimes/fetch/index.js';
18
18
  import { pikkuWebSocketTyped } from '../../src/functions/runtimes/websocket/pikku-command-websocket-typed.js';
19
19
  import { pikkuRPCClient } from '../../src/functions/wirings/rpc/pikku-command-rpc-client.js';
20
+ import { pikkuReactQuery } from '../../src/functions/wirings/rpc/pikku-command-react-query.js';
20
21
  import { pikkuQueueService } from '../../src/functions/wirings/queue/pikku-command-queue-service.js';
21
22
  import { pikkuOpenAPI } from '../../src/functions/wirings/http/pikku-command-openapi.js';
22
23
  import { pikkuNext } from '../../src/functions/runtimes/nextjs/pikku-command-nextjs.js';
@@ -127,6 +128,10 @@ wireChannel({
127
128
  func: pikkuRPCClient,
128
129
  middleware: [cliCloseOnComplete],
129
130
  },
131
+ 'react-query': {
132
+ func: pikkuReactQuery,
133
+ middleware: [cliCloseOnComplete],
134
+ },
130
135
  'queue-service': {
131
136
  func: pikkuQueueService,
132
137
  middleware: [cliCloseOnComplete],
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import '../pikku-bootstrap.gen.js';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import { executeCLIViaChannel } from '@pikku/core/cli/channel';
5
5
  import { CorePikkuWebsocket } from '@pikku/websocket';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  /**
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  /**
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-cli-wirings-meta.gen.json' with { type: 'json' };
@@ -94,6 +94,12 @@
94
94
  "options": {},
95
95
  "description": "Generate RPC client wrappers"
96
96
  },
97
+ "react-query": {
98
+ "pikkuFuncId": "pikkuReactQuery",
99
+ "positionals": [],
100
+ "options": {},
101
+ "description": "Generate React Query hooks from RPC map"
102
+ },
97
103
  "queue-service": {
98
104
  "pikkuFuncId": "pikkuQueueService",
99
105
  "positionals": [],
@@ -509,6 +515,7 @@
509
515
  "services": {
510
516
  "optimized": true,
511
517
  "services": [
518
+ "workflowService",
512
519
  "logger",
513
520
  "getInspectorState",
514
521
  "schema",
@@ -516,7 +523,6 @@
516
523
  "config",
517
524
  "variables",
518
525
  "secrets",
519
- "workflowService",
520
526
  "queueService",
521
527
  "schedulerService",
522
528
  "deploymentService",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import '../../src/cli.wiring.js';
5
5
  import '../../src/services.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  /* The files with an wireCLI function call */
5
5
  import '../../src/cli.wiring.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import '../pikku-bootstrap.gen.js';
5
5
  export declare function PikkuCLI(args: string[]): Promise<void>;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import { executeCLI, CLIError } from '@pikku/core/cli';
5
5
  import { createConfig as createConfig } from '../../src/services.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.js';
5
5
  export type NodeCategory = never;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  /**
5
5
  * Core function, middleware, and permission types for all wirings
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  /**
5
5
  * Core function, middleware, and permission types for all wirings
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-functions-meta.gen.json' with { type: 'json' };
@@ -85,6 +85,27 @@
85
85
  "inputHash": "a750b6f7",
86
86
  "outputHash": "ddec4dc5"
87
87
  },
88
+ "pikkuReactQuery": {
89
+ "pikkuFuncId": "pikkuReactQuery",
90
+ "functionType": "user",
91
+ "funcWrapper": "pikkuSessionlessFunc",
92
+ "sessionless": true,
93
+ "name": "pikkuReactQuery",
94
+ "inputSchemaName": null,
95
+ "outputSchemaName": null,
96
+ "inputs": [],
97
+ "outputs": [],
98
+ "middleware": [
99
+ {
100
+ "type": "wire",
101
+ "name": "logCommandInfoAndTime",
102
+ "inline": false
103
+ }
104
+ ],
105
+ "contractHash": "61e1bbe3ffd1e804",
106
+ "inputHash": "94949156",
107
+ "outputHash": "4a9a166c"
108
+ },
88
109
  "pikkuQueueService": {
89
110
  "pikkuFuncId": "pikkuQueueService",
90
111
  "functionType": "user",
@@ -148,6 +169,22 @@
148
169
  "inputHash": "75d95201",
149
170
  "outputHash": "ffadb4f5"
150
171
  },
172
+ "pikkuBootstrap": {
173
+ "pikkuFuncId": "pikkuBootstrap",
174
+ "functionType": "user",
175
+ "funcWrapper": "pikkuSessionlessFunc",
176
+ "sessionless": true,
177
+ "name": "pikkuBootstrap",
178
+ "inputSchemaName": "BootstrapInput",
179
+ "outputSchemaName": null,
180
+ "inputs": [
181
+ "BootstrapInput"
182
+ ],
183
+ "outputs": [],
184
+ "contractHash": "51a9a80b6231e50f",
185
+ "inputHash": "14102501",
186
+ "outputHash": "0d154de9"
187
+ },
151
188
  "pikkuInfoFunctions": {
152
189
  "pikkuFuncId": "pikkuInfoFunctions",
153
190
  "functionType": "user",
@@ -212,22 +249,6 @@
212
249
  "inputHash": "b5bbc92b",
213
250
  "outputHash": "e830c051"
214
251
  },
215
- "pikkuBootstrap": {
216
- "pikkuFuncId": "pikkuBootstrap",
217
- "functionType": "user",
218
- "funcWrapper": "pikkuSessionlessFunc",
219
- "sessionless": true,
220
- "name": "pikkuBootstrap",
221
- "inputSchemaName": "BootstrapInput",
222
- "outputSchemaName": null,
223
- "inputs": [
224
- "BootstrapInput"
225
- ],
226
- "outputs": [],
227
- "contractHash": "51a9a80b6231e50f",
228
- "inputHash": "14102501",
229
- "outputHash": "0d154de9"
230
- },
231
252
  "all": {
232
253
  "pikkuFuncId": "all",
233
254
  "functionType": "user",
@@ -520,84 +541,135 @@
520
541
  "outputs": [],
521
542
  "remote": true
522
543
  },
523
- "pikkuSummary": {
524
- "pikkuFuncId": "pikkuSummary",
544
+ "workflowStarter": {
545
+ "pikkuFuncId": "workflowStarter",
525
546
  "functionType": "user",
526
547
  "funcWrapper": "pikkuSessionlessFunc",
527
548
  "sessionless": true,
528
- "name": "pikkuSummary",
529
- "inputSchemaName": null,
549
+ "name": "workflowStarter",
550
+ "inputSchemaName": "WorkflowStarterInput",
551
+ "outputSchemaName": "WorkflowStarterOutput",
552
+ "inputs": [
553
+ "WorkflowStarterInput"
554
+ ],
555
+ "outputs": [
556
+ "WorkflowStarterOutput"
557
+ ],
558
+ "contractHash": "770c10618e2d471b",
559
+ "inputHash": "73e8dfbd",
560
+ "outputHash": "8f2061b7"
561
+ },
562
+ "workflowRunner": {
563
+ "pikkuFuncId": "workflowRunner",
564
+ "functionType": "user",
565
+ "funcWrapper": "pikkuSessionlessFunc",
566
+ "sessionless": true,
567
+ "name": "workflowRunner",
568
+ "inputSchemaName": "WorkflowRunnerInput",
530
569
  "outputSchemaName": null,
531
- "inputs": [],
570
+ "inputs": [
571
+ "WorkflowRunnerInput"
572
+ ],
532
573
  "outputs": [],
533
- "contractHash": "3758fc656b51f1c3",
534
- "inputHash": "914f8a46",
535
- "outputHash": "dc82a9b9"
574
+ "contractHash": "ca617784c6d9ec8d",
575
+ "inputHash": "3c634245",
576
+ "outputHash": "316bdb87"
536
577
  },
537
- "pikkuChannels": {
538
- "pikkuFuncId": "pikkuChannels",
578
+ "workflowStatusChecker": {
579
+ "pikkuFuncId": "workflowStatusChecker",
539
580
  "functionType": "user",
540
581
  "funcWrapper": "pikkuSessionlessFunc",
541
582
  "sessionless": true,
542
- "name": "pikkuChannels",
543
- "inputSchemaName": null,
544
- "outputSchemaName": "PikkuChannelsOutput",
545
- "inputs": [],
583
+ "name": "workflowStatusChecker",
584
+ "inputSchemaName": "WorkflowStatusCheckerInput",
585
+ "outputSchemaName": "WorkflowRunStatus",
586
+ "inputs": [
587
+ "WorkflowStatusCheckerInput"
588
+ ],
546
589
  "outputs": [
547
- "PikkuChannelsOutput"
590
+ "WorkflowRunStatus"
548
591
  ],
549
- "middleware": [
550
- {
551
- "type": "wire",
552
- "name": "logCommandInfoAndTime",
553
- "inline": false
554
- }
592
+ "contractHash": "5e74dac63486d1e1",
593
+ "inputHash": "458ba7ec",
594
+ "outputHash": "d2d8634b"
595
+ },
596
+ "workflowStatusStream": {
597
+ "pikkuFuncId": "workflowStatusStream",
598
+ "functionType": "user",
599
+ "funcWrapper": "pikkuSessionlessFunc",
600
+ "sessionless": true,
601
+ "name": "workflowStatusStream",
602
+ "inputSchemaName": "WorkflowStatusStreamInput",
603
+ "outputSchemaName": null,
604
+ "inputs": [
605
+ "WorkflowStatusStreamInput"
555
606
  ],
556
- "contractHash": "122168631511180b",
557
- "inputHash": "adc31f8a",
558
- "outputHash": "910d220a"
607
+ "outputs": [],
608
+ "contractHash": "3b99296ba5064030",
609
+ "inputHash": "c6ee79ff",
610
+ "outputHash": "6180f124"
559
611
  },
560
- "pikkuChannelTypes": {
561
- "pikkuFuncId": "pikkuChannelTypes",
612
+ "workflowStatusStreamFull": {
613
+ "pikkuFuncId": "workflowStatusStreamFull",
562
614
  "functionType": "user",
563
615
  "funcWrapper": "pikkuSessionlessFunc",
564
616
  "sessionless": true,
565
- "name": "pikkuChannelTypes",
566
- "inputSchemaName": null,
617
+ "name": "workflowStatusStreamFull",
618
+ "inputSchemaName": "WorkflowStatusStreamFullInput",
567
619
  "outputSchemaName": null,
568
- "inputs": [],
620
+ "inputs": [
621
+ "WorkflowStatusStreamFullInput"
622
+ ],
569
623
  "outputs": [],
570
- "middleware": [
571
- {
572
- "type": "wire",
573
- "name": "logCommandInfoAndTime",
574
- "inline": false
575
- }
624
+ "contractHash": "1e7b9f00193d10ae",
625
+ "inputHash": "2da90ff6",
626
+ "outputHash": "dcd02549"
627
+ },
628
+ "graphStarter": {
629
+ "pikkuFuncId": "graphStarter",
630
+ "functionType": "user",
631
+ "funcWrapper": "pikkuSessionlessFunc",
632
+ "sessionless": true,
633
+ "name": "graphStarter",
634
+ "inputSchemaName": "GraphStarterInput",
635
+ "outputSchemaName": "GraphStarterOutput",
636
+ "inputs": [
637
+ "GraphStarterInput"
576
638
  ],
577
- "contractHash": "2b2bc06bcbe06e22",
578
- "inputHash": "161b06fb",
579
- "outputHash": "bc44e48a"
639
+ "outputs": [
640
+ "GraphStarterOutput"
641
+ ],
642
+ "contractHash": "422510c83dee8491",
643
+ "inputHash": "70868669",
644
+ "outputHash": "6f988595"
580
645
  },
581
- "pikkuChannelsMap": {
582
- "pikkuFuncId": "pikkuChannelsMap",
646
+ "pikkuSummary": {
647
+ "pikkuFuncId": "pikkuSummary",
583
648
  "functionType": "user",
584
649
  "funcWrapper": "pikkuSessionlessFunc",
585
650
  "sessionless": true,
586
- "name": "pikkuChannelsMap",
651
+ "name": "pikkuSummary",
587
652
  "inputSchemaName": null,
588
653
  "outputSchemaName": null,
589
654
  "inputs": [],
590
655
  "outputs": [],
591
- "middleware": [
592
- {
593
- "type": "wire",
594
- "name": "logCommandInfoAndTime",
595
- "inline": false
596
- }
597
- ],
598
- "contractHash": "b6068160a2079ff6",
599
- "inputHash": "b3525fa4",
600
- "outputHash": "283f1aa2"
656
+ "contractHash": "3758fc656b51f1c3",
657
+ "inputHash": "914f8a46",
658
+ "outputHash": "dc82a9b9"
659
+ },
660
+ "allWorkflow": {
661
+ "pikkuFuncId": "allWorkflow",
662
+ "functionType": "user",
663
+ "funcWrapper": "pikkuWorkflowComplexFunc",
664
+ "sessionless": true,
665
+ "name": "allWorkflow",
666
+ "inputSchemaName": null,
667
+ "outputSchemaName": null,
668
+ "inputs": [],
669
+ "outputs": [],
670
+ "contractHash": "5cf046fc5045a072",
671
+ "inputHash": "d5ff2f31",
672
+ "outputHash": "391c291d"
601
673
  },
602
674
  "pikkuAIAgentTypes": {
603
675
  "pikkuFuncId": "pikkuAIAgentTypes",
@@ -666,6 +738,71 @@
666
738
  "inputHash": "c0a04edb",
667
739
  "outputHash": "aca3832e"
668
740
  },
741
+ "pikkuChannels": {
742
+ "pikkuFuncId": "pikkuChannels",
743
+ "functionType": "user",
744
+ "funcWrapper": "pikkuSessionlessFunc",
745
+ "sessionless": true,
746
+ "name": "pikkuChannels",
747
+ "inputSchemaName": null,
748
+ "outputSchemaName": "PikkuChannelsOutput",
749
+ "inputs": [],
750
+ "outputs": [
751
+ "PikkuChannelsOutput"
752
+ ],
753
+ "middleware": [
754
+ {
755
+ "type": "wire",
756
+ "name": "logCommandInfoAndTime",
757
+ "inline": false
758
+ }
759
+ ],
760
+ "contractHash": "122168631511180b",
761
+ "inputHash": "adc31f8a",
762
+ "outputHash": "910d220a"
763
+ },
764
+ "pikkuChannelTypes": {
765
+ "pikkuFuncId": "pikkuChannelTypes",
766
+ "functionType": "user",
767
+ "funcWrapper": "pikkuSessionlessFunc",
768
+ "sessionless": true,
769
+ "name": "pikkuChannelTypes",
770
+ "inputSchemaName": null,
771
+ "outputSchemaName": null,
772
+ "inputs": [],
773
+ "outputs": [],
774
+ "middleware": [
775
+ {
776
+ "type": "wire",
777
+ "name": "logCommandInfoAndTime",
778
+ "inline": false
779
+ }
780
+ ],
781
+ "contractHash": "2b2bc06bcbe06e22",
782
+ "inputHash": "161b06fb",
783
+ "outputHash": "bc44e48a"
784
+ },
785
+ "pikkuChannelsMap": {
786
+ "pikkuFuncId": "pikkuChannelsMap",
787
+ "functionType": "user",
788
+ "funcWrapper": "pikkuSessionlessFunc",
789
+ "sessionless": true,
790
+ "name": "pikkuChannelsMap",
791
+ "inputSchemaName": null,
792
+ "outputSchemaName": null,
793
+ "inputs": [],
794
+ "outputs": [],
795
+ "middleware": [
796
+ {
797
+ "type": "wire",
798
+ "name": "logCommandInfoAndTime",
799
+ "inline": false
800
+ }
801
+ ],
802
+ "contractHash": "b6068160a2079ff6",
803
+ "inputHash": "b3525fa4",
804
+ "outputHash": "283f1aa2"
805
+ },
669
806
  "pikkuCLIEntry": {
670
807
  "pikkuFuncId": "pikkuCLIEntry",
671
808
  "functionType": "user",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
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.16
2
+ * This file was generated by @pikku/cli@0.12.19
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.16
2
+ * This file was generated by @pikku/cli@0.12.19
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.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-http-wirings-meta.gen.json' with { type: 'json' };
@@ -1,5 +1,38 @@
1
1
  {
2
- "get": {},
2
+ "get": {
3
+ "/workflow/:workflowName/status/:runId": {
4
+ "pikkuFuncId": "workflowStatusChecker",
5
+ "route": "/workflow/:workflowName/status/:runId",
6
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/cli/src/scaffold/workflow-routes.gen.ts",
7
+ "method": "get",
8
+ "params": [
9
+ "workflowName",
10
+ "runId"
11
+ ]
12
+ },
13
+ "/workflow/:workflowName/status/:runId/stream": {
14
+ "pikkuFuncId": "workflowStatusStream",
15
+ "route": "/workflow/:workflowName/status/:runId/stream",
16
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/cli/src/scaffold/workflow-routes.gen.ts",
17
+ "method": "get",
18
+ "params": [
19
+ "workflowName",
20
+ "runId"
21
+ ],
22
+ "sse": true
23
+ },
24
+ "/workflow/:workflowName/status/:runId/stream/full": {
25
+ "pikkuFuncId": "workflowStatusStreamFull",
26
+ "route": "/workflow/:workflowName/status/:runId/stream/full",
27
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/cli/src/scaffold/workflow-routes.gen.ts",
28
+ "method": "get",
29
+ "params": [
30
+ "workflowName",
31
+ "runId"
32
+ ],
33
+ "sse": true
34
+ }
35
+ },
3
36
  "post": {
4
37
  "/remote/rpc/:rpcName": {
5
38
  "pikkuFuncId": "remoteRPCHandler",
@@ -16,6 +49,34 @@
16
49
  "inline": false
17
50
  }
18
51
  ]
52
+ },
53
+ "/workflow/:workflowName/start": {
54
+ "pikkuFuncId": "workflowStarter",
55
+ "route": "/workflow/:workflowName/start",
56
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/cli/src/scaffold/workflow-routes.gen.ts",
57
+ "method": "post",
58
+ "params": [
59
+ "workflowName"
60
+ ]
61
+ },
62
+ "/workflow/:workflowName/run": {
63
+ "pikkuFuncId": "workflowRunner",
64
+ "route": "/workflow/:workflowName/run",
65
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/cli/src/scaffold/workflow-routes.gen.ts",
66
+ "method": "post",
67
+ "params": [
68
+ "workflowName"
69
+ ]
70
+ },
71
+ "/workflow/:workflowName/graph/:nodeId": {
72
+ "pikkuFuncId": "graphStarter",
73
+ "route": "/workflow/:workflowName/graph/:nodeId",
74
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/cli/src/scaffold/workflow-routes.gen.ts",
75
+ "method": "post",
76
+ "params": [
77
+ "workflowName",
78
+ "nodeId"
79
+ ]
19
80
  }
20
81
  },
21
82
  "put": {},
@@ -1,4 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  import '../../src/scaffold/rpc-remote.gen.js';
5
+ import '../../src/scaffold/workflow-routes.gen.js';
@@ -1,5 +1,6 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.16
2
+ * This file was generated by @pikku/cli@0.12.19
3
3
  */
4
4
  /* The files with an wireHTTP function call */
5
5
  import '../../src/scaffold/rpc-remote.gen.js';
6
+ import '../../src/scaffold/workflow-routes.gen.js';