@pikku/cli 0.12.30 → 0.12.31

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 (59) hide show
  1. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  2. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  3. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  4. package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
  5. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  6. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  7. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  8. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  9. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  10. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  11. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  12. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  13. package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
  14. package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
  15. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  16. package/dist/.pikku/function/pikku-functions-meta.gen.json +277 -277
  17. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  18. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  19. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  20. package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
  21. package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
  22. package/dist/.pikku/http/pikku-http-wirings.gen.js +1 -1
  23. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  24. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  25. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  26. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  27. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  28. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  29. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  30. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  31. package/dist/.pikku/pikku-types.gen.js +1 -1
  32. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  33. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  34. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  35. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  36. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  37. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  38. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +2 -2
  39. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  40. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  41. package/dist/.pikku/schemas/register.gen.js +17 -17
  42. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  43. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  44. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  45. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  46. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  47. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  48. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  49. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  50. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  51. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  52. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  53. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  54. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  55. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  56. package/dist/bin/pikku-bin.mjs +2 -2
  57. package/dist/src/functions/db/local-db.js +6 -2
  58. package/dist/src/scaffold/rpc-remote.gen.js +1 -1
  59. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
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,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import '../../src/scaffold/rpc-remote.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  /* The files with an wireHTTP function call */
5
5
  import '../../src/scaffold/rpc-remote.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './http/pikku-http-wirings-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './http/pikku-http-wirings-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js';
5
5
  import type { Services } from '../types/application-types.d.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
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.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-queue-workers-wirings-meta.gen.json' with { type: 'json' };
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import '../../src/scaffold/rpc-remote.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  /* The files with an addQueueWorkers function call */
5
5
  import '../../src/scaffold/rpc-remote.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
@@ -95,7 +95,6 @@
95
95
  "pikkuAIAgentTypes": "pikkuAIAgentTypes",
96
96
  "pikkuAIAgent": "pikkuAIAgent",
97
97
  "pikkuPublicAgent": "pikkuPublicAgent",
98
- "pikkuAuth": "pikkuAuth",
99
98
  "pikkuChannels": "pikkuChannels",
100
99
  "pikkuChannelTypes": "pikkuChannelTypes",
101
100
  "pikkuChannelsMap": "pikkuChannelsMap",
@@ -140,5 +139,6 @@
140
139
  "pikkuTriggerTypes": "pikkuTriggerTypes",
141
140
  "pikkuTrigger": "pikkuTrigger",
142
141
  "pikkuVariables": "pikkuVariables",
143
- "pikkuWorkflowRoutes": "pikkuWorkflowRoutes"
142
+ "pikkuWorkflowRoutes": "pikkuWorkflowRoutes",
143
+ "pikkuAuth": "pikkuAuth"
144
144
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as PikkuSchemasOutput from './schemas/PikkuSchemasOutput.schema.json' with { type: 'json' };
@@ -178,20 +178,20 @@ import * as PikkuMetaClientsInput from './schemas/PikkuMetaClientsInput.schema.j
178
178
  addSchema('PikkuMetaClientsInput', PikkuMetaClientsInput);
179
179
  import * as RemoteRPCHandlerInput from './schemas/RemoteRPCHandlerInput.schema.json' with { type: 'json' };
180
180
  addSchema('RemoteRPCHandlerInput', RemoteRPCHandlerInput);
181
+ import * as PikkuCommandChannelsOutput from './schemas/PikkuCommandChannelsOutput.schema.json' with { type: 'json' };
182
+ addSchema('PikkuCommandChannelsOutput', PikkuCommandChannelsOutput);
183
+ import * as PikkuCLIEntryOutput from './schemas/PikkuCLIEntryOutput.schema.json' with { type: 'json' };
184
+ addSchema('PikkuCLIEntryOutput', PikkuCLIEntryOutput);
185
+ import * as PikkuCLIOutput from './schemas/PikkuCLIOutput.schema.json' with { type: 'json' };
186
+ addSchema('PikkuCLIOutput', PikkuCLIOutput);
181
187
  import * as PikkuAIAgentOutput from './schemas/PikkuAIAgentOutput.schema.json' with { type: 'json' };
182
188
  addSchema('PikkuAIAgentOutput', PikkuAIAgentOutput);
183
189
  import * as PikkuPublicAgentOutput from './schemas/PikkuPublicAgentOutput.schema.json' with { type: 'json' };
184
190
  addSchema('PikkuPublicAgentOutput', PikkuPublicAgentOutput);
185
- import * as PikkuCommandChannelsOutput from './schemas/PikkuCommandChannelsOutput.schema.json' with { type: 'json' };
186
- addSchema('PikkuCommandChannelsOutput', PikkuCommandChannelsOutput);
187
191
  import * as PikkuConsoleFunctionsOutput from './schemas/PikkuConsoleFunctionsOutput.schema.json' with { type: 'json' };
188
192
  addSchema('PikkuConsoleFunctionsOutput', PikkuConsoleFunctionsOutput);
189
193
  import * as PikkuNodesMetaOutput from './schemas/PikkuNodesMetaOutput.schema.json' with { type: 'json' };
190
194
  addSchema('PikkuNodesMetaOutput', PikkuNodesMetaOutput);
191
- import * as PikkuCLIEntryOutput from './schemas/PikkuCLIEntryOutput.schema.json' with { type: 'json' };
192
- addSchema('PikkuCLIEntryOutput', PikkuCLIEntryOutput);
193
- import * as PikkuCLIOutput from './schemas/PikkuCLIOutput.schema.json' with { type: 'json' };
194
- addSchema('PikkuCLIOutput', PikkuCLIOutput);
195
195
  import * as PikkuFunctionTypesSplitInput from './schemas/PikkuFunctionTypesSplitInput.schema.json' with { type: 'json' };
196
196
  addSchema('PikkuFunctionTypesSplitInput', PikkuFunctionTypesSplitInput);
197
197
  import * as PikkuFunctionsOutput from './schemas/PikkuFunctionsOutput.schema.json' with { type: 'json' };
@@ -202,32 +202,32 @@ import * as PikkuCommandHTTPOutput from './schemas/PikkuCommandHTTPOutput.schema
202
202
  addSchema('PikkuCommandHTTPOutput', PikkuCommandHTTPOutput);
203
203
  import * as PikkuHTTPOutput from './schemas/PikkuHTTPOutput.schema.json' with { type: 'json' };
204
204
  addSchema('PikkuHTTPOutput', PikkuHTTPOutput);
205
- import * as PikkuMiddlewareOutput from './schemas/PikkuMiddlewareOutput.schema.json' with { type: 'json' };
206
- addSchema('PikkuMiddlewareOutput', PikkuMiddlewareOutput);
207
205
  import * as PikkuMCPOutput from './schemas/PikkuMCPOutput.schema.json' with { type: 'json' };
208
206
  addSchema('PikkuMCPOutput', PikkuMCPOutput);
207
+ import * as PikkuMiddlewareOutput from './schemas/PikkuMiddlewareOutput.schema.json' with { type: 'json' };
208
+ addSchema('PikkuMiddlewareOutput', PikkuMiddlewareOutput);
209
209
  import * as PikkuPackageOutput from './schemas/PikkuPackageOutput.schema.json' with { type: 'json' };
210
210
  addSchema('PikkuPackageOutput', PikkuPackageOutput);
211
211
  import * as PikkuPermissionsOutput from './schemas/PikkuPermissionsOutput.schema.json' with { type: 'json' };
212
212
  addSchema('PikkuPermissionsOutput', PikkuPermissionsOutput);
213
+ import * as PikkuEventsScaffoldOutput from './schemas/PikkuEventsScaffoldOutput.schema.json' with { type: 'json' };
214
+ addSchema('PikkuEventsScaffoldOutput', PikkuEventsScaffoldOutput);
213
215
  import * as PikkuCommandQueueOutput from './schemas/PikkuCommandQueueOutput.schema.json' with { type: 'json' };
214
216
  addSchema('PikkuCommandQueueOutput', PikkuCommandQueueOutput);
215
217
  import * as PikkuQueueOutput from './schemas/PikkuQueueOutput.schema.json' with { type: 'json' };
216
218
  addSchema('PikkuQueueOutput', PikkuQueueOutput);
217
- import * as PikkuEventsScaffoldOutput from './schemas/PikkuEventsScaffoldOutput.schema.json' with { type: 'json' };
218
- addSchema('PikkuEventsScaffoldOutput', PikkuEventsScaffoldOutput);
219
- import * as PikkuSchedulerOutput from './schemas/PikkuSchedulerOutput.schema.json' with { type: 'json' };
220
- addSchema('PikkuSchedulerOutput', PikkuSchedulerOutput);
221
- import * as PikkuTriggerTypesInput from './schemas/PikkuTriggerTypesInput.schema.json' with { type: 'json' };
222
- addSchema('PikkuTriggerTypesInput', PikkuTriggerTypesInput);
223
- import * as PikkuTriggerOutput from './schemas/PikkuTriggerOutput.schema.json' with { type: 'json' };
224
- addSchema('PikkuTriggerOutput', PikkuTriggerOutput);
225
219
  import * as PikkuPublicRPCOutput from './schemas/PikkuPublicRPCOutput.schema.json' with { type: 'json' };
226
220
  addSchema('PikkuPublicRPCOutput', PikkuPublicRPCOutput);
227
221
  import * as PikkuRemoteRPCOutput from './schemas/PikkuRemoteRPCOutput.schema.json' with { type: 'json' };
228
222
  addSchema('PikkuRemoteRPCOutput', PikkuRemoteRPCOutput);
229
223
  import * as PikkuRPCOutput from './schemas/PikkuRPCOutput.schema.json' with { type: 'json' };
230
224
  addSchema('PikkuRPCOutput', PikkuRPCOutput);
225
+ import * as PikkuSchedulerOutput from './schemas/PikkuSchedulerOutput.schema.json' with { type: 'json' };
226
+ addSchema('PikkuSchedulerOutput', PikkuSchedulerOutput);
227
+ import * as PikkuTriggerTypesInput from './schemas/PikkuTriggerTypesInput.schema.json' with { type: 'json' };
228
+ addSchema('PikkuTriggerTypesInput', PikkuTriggerTypesInput);
229
+ import * as PikkuTriggerOutput from './schemas/PikkuTriggerOutput.schema.json' with { type: 'json' };
230
+ addSchema('PikkuTriggerOutput', PikkuTriggerOutput);
231
231
  import * as PikkuWorkflowRoutesOutput from './schemas/PikkuWorkflowRoutesOutput.schema.json' with { type: 'json' };
232
232
  addSchema('PikkuWorkflowRoutesOutput', PikkuWorkflowRoutesOutput);
233
233
  import * as PikkuCLIConfig from './schemas/PikkuCLIConfig.schema.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  export { wireSecret } from '@pikku/core/secret';
5
5
  export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  export { wireSecret } from '@pikku/core/secret';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  import type { SecretService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  const CREDENTIALS_META = {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  export { wireVariable } from '@pikku/core/variable';
5
5
  export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  export { wireVariable } from '@pikku/core/variable';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  import type { VariablesService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  const VARIABLES_META = {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { template } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { template } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import allWorkflowMeta from './meta/allWorkflow.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  import { addWorkflow } from '@pikku/core/workflow';
5
5
  import './pikku-workflow-wirings-meta.gen.js';
@@ -11,8 +11,8 @@ async function checkForUpdate() {
11
11
  })
12
12
  if (!res.ok) return
13
13
  const { version: latest } = await res.json()
14
- if (latest !== '0.12.30') {
15
- process.stderr.write(`\n Update available 0.12.30 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
14
+ if (latest !== '0.12.31') {
15
+ process.stderr.write(`\n Update available 0.12.31 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
16
16
  }
17
17
  } catch {}
18
18
  }
@@ -56,13 +56,17 @@ export function resolveDb(userConfig, rootDir, outDir, runtimeDir) {
56
56
  ...base('db/postgres'),
57
57
  };
58
58
  }
59
- if (userConfig.sqliteDb) {
59
+ const sqliteDb = userConfig.sqliteDb ??
60
+ (existsSync(join(rootDir, 'db/sqlite'))
61
+ ? '.pikku-runtime/dev.db'
62
+ : undefined);
63
+ if (sqliteDb) {
60
64
  const resolvedRuntimeDir = runtimeDir
61
65
  ? resolveAgainst(rootDir, runtimeDir)
62
66
  : join(rootDir, '.pikku-runtime');
63
67
  return {
64
68
  dialect: 'sqlite',
65
- dbFile: resolveAgainst(rootDir, userConfig.sqliteDb),
69
+ dbFile: resolveAgainst(rootDir, sqliteDb),
66
70
  runtimeDir: resolvedRuntimeDir,
67
71
  seedFile: resolveAgainst(rootDir, 'db/sqlite-seed.sql'),
68
72
  ...base('db/sqlite'),
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.30
2
+ * This file was generated by @pikku/cli@0.12.31
3
3
  */
4
4
  /**
5
5
  * Auto-generated remote internal RPC queue worker and HTTP endpoint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikku/cli",
3
- "version": "0.12.30",
3
+ "version": "0.12.31",
4
4
  "author": "yasser.fadl@gmail.com",
5
5
  "license": "BUSL-1.1",
6
6
  "imports": {