@pikku/cli 0.12.3 → 0.12.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 (73) hide show
  1. package/console-app/assets/{index-Ci24-VT-.js → index-AX4YS8AA.js} +166 -166
  2. package/console-app/index.html +1 -1
  3. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  4. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +1 -1
  5. package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +1 -1
  6. package/dist/.pikku/agent/pikku-agent-wirings.gen.js +1 -1
  7. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  8. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  9. package/dist/.pikku/channel/pikku-channels-meta.gen.js +1 -1
  10. package/dist/.pikku/channel/pikku-channels.gen.d.ts +1 -1
  11. package/dist/.pikku/channel/pikku-channels.gen.js +1 -1
  12. package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
  13. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  14. package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
  15. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  16. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  17. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  18. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  19. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  20. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  21. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  22. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  23. package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
  24. package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
  25. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  26. package/dist/.pikku/function/pikku-functions-meta.gen.json +138 -138
  27. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  28. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  29. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  30. package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
  31. package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
  32. package/dist/.pikku/http/pikku-http-wirings.gen.js +1 -1
  33. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  34. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  35. package/dist/.pikku/mcp/pikku-mcp-wirings-meta.gen.js +1 -1
  36. package/dist/.pikku/mcp/pikku-mcp-wirings.gen.d.ts +1 -1
  37. package/dist/.pikku/mcp/pikku-mcp-wirings.gen.js +1 -1
  38. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  39. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  40. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  41. package/dist/.pikku/pikku-types.gen.js +1 -1
  42. package/dist/.pikku/pikku-websocket.gen.d.ts +1 -1
  43. package/dist/.pikku/pikku-websocket.gen.js +1 -1
  44. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  45. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  46. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  47. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  48. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  49. package/dist/.pikku/rpc/pikku-remote-rpc-workers.gen.js +1 -1
  50. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  51. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  52. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  53. package/dist/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.js +1 -1
  54. package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.d.ts +1 -1
  55. package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.js +1 -1
  56. package/dist/.pikku/schemas/register.gen.js +7 -7
  57. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  58. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  59. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  60. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  61. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  62. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  63. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  64. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  65. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  66. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  67. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  68. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  69. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  70. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  71. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  72. package/dist/src/functions/commands/console.js +4 -0
  73. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.3
3
+ * This file was generated by @pikku/cli@0.12.4
4
4
  */
@@ -1,5 +1,5 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.3
3
+ * This file was generated by @pikku/cli@0.12.4
4
4
  */
5
5
  /* The files with an addQueueWorkers function call */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.3
2
+ * This file was generated by @pikku/cli@0.12.4
3
3
  */
4
4
  /**
5
5
  * Auto-generated remote internal RPC queue worker and HTTP endpoint
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.3
2
+ * This file was generated by @pikku/cli@0.12.4
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' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-schedulers-wirings-meta.gen.json' with { type: 'json' };
@@ -1,4 +1,4 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.3
3
+ * This file was generated by @pikku/cli@0.12.4
4
4
  */
@@ -1,5 +1,5 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.3
3
+ * This file was generated by @pikku/cli@0.12.4
4
4
  */
5
5
  /* The files with an addScheduledTasks function call */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.3
2
+ * This file was generated by @pikku/cli@0.12.4
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as PikkuSchemasOutput from './schemas/PikkuSchemasOutput.schema.json' with { type: 'json' };
@@ -20,6 +20,10 @@ import * as PikkuNewPermissionInput from './schemas/PikkuNewPermissionInput.sche
20
20
  addSchema('PikkuNewPermissionInput', PikkuNewPermissionInput);
21
21
  import * as PikkuNewAddonInput from './schemas/PikkuNewAddonInput.schema.json' with { type: 'json' };
22
22
  addSchema('PikkuNewAddonInput', PikkuNewAddonInput);
23
+ import * as PikkuAIAgentOutput from './schemas/PikkuAIAgentOutput.schema.json' with { type: 'json' };
24
+ addSchema('PikkuAIAgentOutput', PikkuAIAgentOutput);
25
+ import * as PikkuPublicAgentOutput from './schemas/PikkuPublicAgentOutput.schema.json' with { type: 'json' };
26
+ addSchema('PikkuPublicAgentOutput', PikkuPublicAgentOutput);
23
27
  import * as PikkuChannelsOutput from './schemas/PikkuChannelsOutput.schema.json' with { type: 'json' };
24
28
  addSchema('PikkuChannelsOutput', PikkuChannelsOutput);
25
29
  import * as PikkuCLIOutput from './schemas/PikkuCLIOutput.schema.json' with { type: 'json' };
@@ -28,14 +32,12 @@ import * as PikkuConsoleFunctionsOutput from './schemas/PikkuConsoleFunctionsOut
28
32
  addSchema('PikkuConsoleFunctionsOutput', PikkuConsoleFunctionsOutput);
29
33
  import * as PikkuNodesMetaOutput from './schemas/PikkuNodesMetaOutput.schema.json' with { type: 'json' };
30
34
  addSchema('PikkuNodesMetaOutput', PikkuNodesMetaOutput);
31
- import * as PikkuAIAgentOutput from './schemas/PikkuAIAgentOutput.schema.json' with { type: 'json' };
32
- addSchema('PikkuAIAgentOutput', PikkuAIAgentOutput);
33
- import * as PikkuPublicAgentOutput from './schemas/PikkuPublicAgentOutput.schema.json' with { type: 'json' };
34
- addSchema('PikkuPublicAgentOutput', PikkuPublicAgentOutput);
35
35
  import * as PikkuFunctionsOutput from './schemas/PikkuFunctionsOutput.schema.json' with { type: 'json' };
36
36
  addSchema('PikkuFunctionsOutput', PikkuFunctionsOutput);
37
37
  import * as PikkuGatewayOutput from './schemas/PikkuGatewayOutput.schema.json' with { type: 'json' };
38
38
  addSchema('PikkuGatewayOutput', PikkuGatewayOutput);
39
+ import * as PikkuHTTPOutput from './schemas/PikkuHTTPOutput.schema.json' with { type: 'json' };
40
+ addSchema('PikkuHTTPOutput', PikkuHTTPOutput);
39
41
  import * as PikkuMCPOutput from './schemas/PikkuMCPOutput.schema.json' with { type: 'json' };
40
42
  addSchema('PikkuMCPOutput', PikkuMCPOutput);
41
43
  import * as PikkuMiddlewareOutput from './schemas/PikkuMiddlewareOutput.schema.json' with { type: 'json' };
@@ -58,7 +60,5 @@ import * as PikkuTriggerOutput from './schemas/PikkuTriggerOutput.schema.json' w
58
60
  addSchema('PikkuTriggerOutput', PikkuTriggerOutput);
59
61
  import * as PikkuWorkflowOutput from './schemas/PikkuWorkflowOutput.schema.json' with { type: 'json' };
60
62
  addSchema('PikkuWorkflowOutput', PikkuWorkflowOutput);
61
- import * as PikkuHTTPOutput from './schemas/PikkuHTTPOutput.schema.json' with { type: 'json' };
62
- addSchema('PikkuHTTPOutput', PikkuHTTPOutput);
63
63
  import * as PikkuCLIConfig from './schemas/PikkuCLIConfig.schema.json' with { type: 'json' };
64
64
  addSchema('PikkuCLIConfig', PikkuCLIConfig);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
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.3
2
+ * This file was generated by @pikku/cli@0.12.4
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { workflow as coreWorkflow, workflowStart as coreWorkflowStart, workflowStatus as coreWorkflowStatus, graphStart as coreGraphStart, } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.3
2
+ * This file was generated by @pikku/cli@0.12.4
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  const workflowsMeta = {};
@@ -1,4 +1,4 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.3
3
+ * This file was generated by @pikku/cli@0.12.4
4
4
  */
@@ -1,4 +1,4 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.3
3
+ * This file was generated by @pikku/cli@0.12.4
4
4
  */
@@ -22,6 +22,10 @@ const MIME_TYPES = {
22
22
  export const consoleCommand = pikkuSessionlessFunc({
23
23
  remote: true,
24
24
  func: async ({ logger, config }, { port, open: openBrowser }, { rpc }) => {
25
+ if (!config.scaffold?.console) {
26
+ logger.error('Console is not enabled. Add { "scaffold": { "console": "no-auth" } } to your pikku.config.json');
27
+ return;
28
+ }
25
29
  const consoleDir = join(fileURLToPath(import.meta.url), '..', '..', '..', '..', '..', 'console-app');
26
30
  const resolvedPort = parseInt(port || '51442', 10);
27
31
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikku/cli",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "author": "yasser.fadl@gmail.com",
5
5
  "license": "BUSL-1.1",
6
6
  "imports": {
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@openapi-contrib/json-schema-to-openapi-schema": "^4.3.1",
28
- "@pikku/core": "^0.12.3",
28
+ "@pikku/core": "^0.12.4",
29
29
  "@pikku/inspector": "^0.12.3",
30
30
  "@pikku/openapi-to-zod-schema": "^0.12.2",
31
31
  "@types/cookie": "^1.0.0",