@botonic/nx-plugin 2.31.0 → 2.31.1-alpha.0

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 (111) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/index.js +44 -0
  3. package/{src/executors/build-node-app/executor.js → libs/botonic/nx-plugin/src/executors/build-node-app/executor-impl.js} +3 -3
  4. package/libs/botonic/nx-plugin/src/executors/build-node-app/executor.js +27 -0
  5. package/{src/executors/delete-bot/executor.js → libs/botonic/nx-plugin/src/executors/delete-bot/executor-impl.js} +3 -3
  6. package/libs/botonic/nx-plugin/src/executors/delete-bot/executor.js +27 -0
  7. package/{src/executors/deploy-netlify-snapshot/executor.js → libs/botonic/nx-plugin/src/executors/deploy-netlify-snapshot/executor-impl.js} +3 -3
  8. package/libs/botonic/nx-plugin/src/executors/deploy-netlify-snapshot/executor.js +27 -0
  9. package/{src/executors/deploy-to-hubtype/executor.js → libs/botonic/nx-plugin/src/executors/deploy-to-hubtype/executor-impl.js} +3 -3
  10. package/libs/botonic/nx-plugin/src/executors/deploy-to-hubtype/executor.js +27 -0
  11. package/{src/executors/e2e-webchat/executor.js → libs/botonic/nx-plugin/src/executors/e2e-webchat/executor-impl.js} +5 -5
  12. package/libs/botonic/nx-plugin/src/executors/e2e-webchat/executor.js +27 -0
  13. package/{src/executors/integrate-provider/executor.js → libs/botonic/nx-plugin/src/executors/integrate-provider/executor-impl.js} +3 -3
  14. package/libs/botonic/nx-plugin/src/executors/integrate-provider/executor.js +27 -0
  15. package/{src/executors/login-to-hubtype/executor.js → libs/botonic/nx-plugin/src/executors/login-to-hubtype/executor-impl.js} +3 -3
  16. package/libs/botonic/nx-plugin/src/executors/login-to-hubtype/executor.js +27 -0
  17. package/{src/executors/logout-from-hubtype/executor.js → libs/botonic/nx-plugin/src/executors/logout-from-hubtype/executor-impl.js} +3 -3
  18. package/libs/botonic/nx-plugin/src/executors/logout-from-hubtype/executor.js +27 -0
  19. package/{src/executors/run-lambda/executor.js → libs/botonic/nx-plugin/src/executors/run-lambda/executor-impl.js} +3 -3
  20. package/libs/botonic/nx-plugin/src/executors/run-lambda/executor.js +27 -0
  21. package/{src/executors/serve-bot/executor.js → libs/botonic/nx-plugin/src/executors/serve-bot/executor-impl.js} +3 -3
  22. package/libs/botonic/nx-plugin/src/executors/serve-bot/executor.js +27 -0
  23. package/{src/generators/action/generator.js → libs/botonic/nx-plugin/src/generators/action/generator-impl.js} +5 -5
  24. package/libs/botonic/nx-plugin/src/generators/action/generator.js +27 -0
  25. package/{src/generators/bot-app/generator.js → libs/botonic/nx-plugin/src/generators/bot-app/generator-impl.js} +6 -5
  26. package/libs/botonic/nx-plugin/src/generators/bot-app/generator.js +34 -0
  27. package/{src/generators/custom-message/generator.js → libs/botonic/nx-plugin/src/generators/custom-message/generator-impl.js} +5 -5
  28. package/libs/botonic/nx-plugin/src/generators/custom-message/generator.js +27 -0
  29. package/{src/generators/preset/generator.js → libs/botonic/nx-plugin/src/generators/preset/generator-impl.js} +5 -5
  30. package/libs/botonic/nx-plugin/src/generators/preset/generator.js +34 -0
  31. package/{src/generators/remove-custom-message/generator.js → libs/botonic/nx-plugin/src/generators/remove-custom-message/generator-impl.js} +5 -5
  32. package/libs/botonic/nx-plugin/src/generators/remove-custom-message/generator.js +27 -0
  33. package/{src/generators/webview/generator.js → libs/botonic/nx-plugin/src/generators/webview/generator-impl.js} +5 -5
  34. package/libs/botonic/nx-plugin/src/generators/webview/generator.js +27 -0
  35. package/{src → libs/botonic/nx-plugin/src}/index.js +3 -1
  36. package/libs/botonic/nx-plugin/src/lib/delegate/delegate-executor.js +119 -0
  37. package/libs/botonic/nx-plugin/src/lib/delegate/delegate-generator.js +128 -0
  38. package/libs/botonic/nx-plugin/src/lib/serve-mode/index.js +183 -0
  39. package/migrations.json +1 -8
  40. package/package.json +7 -4
  41. package/src/executors/build-node-app/executor-impl.d.ts +5 -0
  42. package/src/executors/build-node-app/executor.d.ts +4 -2
  43. package/src/executors/delete-bot/executor-impl.d.ts +5 -0
  44. package/src/executors/delete-bot/executor.d.ts +4 -2
  45. package/src/executors/deploy-netlify-snapshot/executor-impl.d.ts +8 -0
  46. package/src/executors/deploy-netlify-snapshot/executor.d.ts +4 -5
  47. package/src/executors/deploy-to-hubtype/executor-impl.d.ts +5 -0
  48. package/src/executors/deploy-to-hubtype/executor.d.ts +4 -2
  49. package/src/executors/e2e-webchat/executor-impl.d.ts +5 -0
  50. package/src/executors/e2e-webchat/executor.d.ts +4 -2
  51. package/src/executors/integrate-provider/executor-impl.d.ts +5 -0
  52. package/src/executors/integrate-provider/executor.d.ts +4 -2
  53. package/src/executors/login-to-hubtype/executor-impl.d.ts +5 -0
  54. package/src/executors/login-to-hubtype/executor.d.ts +4 -2
  55. package/src/executors/logout-from-hubtype/executor-impl.d.ts +3 -0
  56. package/src/executors/logout-from-hubtype/executor.d.ts +5 -1
  57. package/src/executors/run-lambda/executor-impl.d.ts +5 -0
  58. package/src/executors/run-lambda/executor.d.ts +4 -2
  59. package/src/executors/serve-bot/executor-impl.d.ts +5 -0
  60. package/src/executors/serve-bot/executor.d.ts +4 -2
  61. package/src/generators/action/generator-impl.d.ts +4 -0
  62. package/src/generators/action/generator.d.ts +2 -3
  63. package/src/generators/bot-app/files/vite/webchat.config.ts.template +10 -2
  64. package/src/generators/bot-app/generator-impl.d.ts +4 -0
  65. package/src/generators/bot-app/generator.d.ts +2 -4
  66. package/src/generators/custom-message/generator-impl.d.ts +4 -0
  67. package/src/generators/custom-message/generator.d.ts +2 -3
  68. package/src/generators/preset/generator-impl.d.ts +4 -0
  69. package/src/generators/preset/generator.d.ts +2 -4
  70. package/src/generators/remove-custom-message/generator-impl.d.ts +4 -0
  71. package/src/generators/remove-custom-message/generator.d.ts +2 -3
  72. package/src/generators/webview/generator-impl.d.ts +4 -0
  73. package/src/generators/webview/generator.d.ts +2 -3
  74. package/src/index.d.ts +1 -0
  75. package/src/lib/delegate/delegate-executor.d.ts +6 -0
  76. package/src/lib/delegate/delegate-generator.d.ts +2 -0
  77. package/src/lib/serve-mode/index.d.ts +25 -0
  78. package/src/generators/bot-app/files/vite/plugins/dev-log-viewer-html.plugin.ts.template +0 -65
  79. package/src/migrations/install-claude-update-skills/install-claude-update-skills.migration.d.ts +0 -2
  80. package/src/migrations/install-claude-update-skills/install-claude-update-skills.migration.js +0 -290
  81. /package/{src → libs/botonic/nx-plugin/src}/executors/build-node-app/schema.d.js +0 -0
  82. /package/{src → libs/botonic/nx-plugin/src}/executors/delete-bot/schema.d.js +0 -0
  83. /package/{src → libs/botonic/nx-plugin/src}/executors/deploy-netlify-snapshot/schema.d.js +0 -0
  84. /package/{src → libs/botonic/nx-plugin/src}/executors/deploy-to-hubtype/schema.d.js +0 -0
  85. /package/{src → libs/botonic/nx-plugin/src}/executors/e2e-webchat/schema.d.js +0 -0
  86. /package/{src → libs/botonic/nx-plugin/src}/executors/integrate-provider/schema.d.js +0 -0
  87. /package/{src → libs/botonic/nx-plugin/src}/executors/login-to-hubtype/schema.d.js +0 -0
  88. /package/{src → libs/botonic/nx-plugin/src}/executors/logout-from-hubtype/schema.d.js +0 -0
  89. /package/{src → libs/botonic/nx-plugin/src}/executors/run-lambda/schema.d.js +0 -0
  90. /package/{src → libs/botonic/nx-plugin/src}/executors/serve-bot/schema.d.js +0 -0
  91. /package/{src → libs/botonic/nx-plugin/src}/generators/action/schema.js +0 -0
  92. /package/{src → libs/botonic/nx-plugin/src}/generators/bot-app/schema.js +0 -0
  93. /package/{src → libs/botonic/nx-plugin/src}/generators/custom-message/schema.js +0 -0
  94. /package/{src → libs/botonic/nx-plugin/src}/generators/preset/schema.js +0 -0
  95. /package/{src → libs/botonic/nx-plugin/src}/generators/remove-custom-message/schema.js +0 -0
  96. /package/{src → libs/botonic/nx-plugin/src}/generators/shared/bot-app-utils.js +0 -0
  97. /package/{src → libs/botonic/nx-plugin/src}/generators/webview/schema.js +0 -0
  98. /package/{src → libs/botonic/nx-plugin/src}/lib/api-service.js +0 -0
  99. /package/{src → libs/botonic/nx-plugin/src}/lib/bot-config.js +0 -0
  100. /package/{src → libs/botonic/nx-plugin/src}/lib/cloudflared-tunnel.js +0 -0
  101. /package/{src → libs/botonic/nx-plugin/src}/lib/constants.js +0 -0
  102. /package/{src → libs/botonic/nx-plugin/src}/lib/credentials-handler.js +0 -0
  103. /package/{src → libs/botonic/nx-plugin/src}/lib/index.js +0 -0
  104. /package/{src → libs/botonic/nx-plugin/src}/lib/interfaces.js +0 -0
  105. /package/{src → libs/botonic/nx-plugin/src}/lib/util/executor-helpers.js +0 -0
  106. /package/{src → libs/botonic/nx-plugin/src}/lib/util/file-system.js +0 -0
  107. /package/{src → libs/botonic/nx-plugin/src}/lib/util/sam-container-cleanup.js +0 -0
  108. /package/{src → libs/botonic/nx-plugin/src}/lib/util/sam-template.js +0 -0
  109. /package/{src → libs/botonic/nx-plugin/src}/lib/util/system.js +0 -0
  110. /package/{src → libs/botonic/nx-plugin/src}/migrations/utils/migration-utils.js +0 -0
  111. /package/{src → libs/botonic/nx-plugin/src}/plugin.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 2.31.1-alpha.0 (2026-06-16)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **nx-plugin:** refactor executors/generators with version delegation ([2d797e5f8](https://github.com/metis-ai/hubtype-product/commit/2d797e5f8))
6
+
7
+ ### 🩹 Fixes
8
+
9
+ - **nx-plugin:** remove deleted migration entry points from build config ([7c882d40f](https://github.com/metis-ai/hubtype-product/commit/7c882d40f))
10
+
11
+ ### ❤️ Thank You
12
+
13
+ - David Hidalgo @Davidhidalgo
14
+
1
15
  ## 2.31.0 (2026-06-15)
2
16
 
3
17
  ### 🚀 Features
package/index.js ADDED
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ const Module = require("module");
3
+ const path = require("path");
4
+ const fs = require("fs");
5
+ const originalResolveFilename = Module._resolveFilename;
6
+ const distPath = __dirname;
7
+ const manifest = [{ "module": "@botonic/webchat-react/trigger", "exactMatch": "libs/botonic/webchat-react/src/trigger.js", "pattern": "libs/botonic/webchat-react/src/trigger.ts" }, { "module": "@botonic/webchat-core/messages", "exactMatch": "libs/botonic/webchat-core/src/lib/messages/index.js", "pattern": "libs/botonic/webchat-core/src/lib/messages/index.ts" }, { "module": "@lilara/foundations/*", "pattern": "libs/lilara/foundations/src/*" }, { "module": "@lilara/ui-web-react/flow-builder", "exactMatch": "libs/lilara/ui-web-react/src/lib/flow-builder/index.js", "pattern": "libs/lilara/ui-web-react/src/lib/flow-builder/index.ts" }, { "module": "@lilara/ui-web-react/styles.css", "pattern": "libs/lilara/ui-web-react/src/styles.css" }, { "module": "@hubtype/dashboard/feature-campaigns", "exactMatch": "libs/dashboard/feature-campaigns/src/index.js", "pattern": "libs/dashboard/feature-campaigns/src/index.ts" }, { "module": "@hubtype/dashboard/feature-contacts", "exactMatch": "libs/dashboard/feature-contacts/src/index.js", "pattern": "libs/dashboard/feature-contacts/src/index.ts" }, { "module": "@lilara/ui-web/defaults", "exactMatch": "libs/lilara/ui-web/src/lib/icon/icon-defaults.js", "pattern": "libs/lilara/ui-web/src/lib/icon/icon-defaults.ts" }, { "module": "@botonic/core", "exactMatch": "libs/botonic/core/src/index.js", "pattern": "libs/botonic/core/src/index.ts" }, { "module": "@botonic/nx-plugin", "exactMatch": "libs/botonic/nx-plugin/src/index.js", "pattern": "libs/botonic/nx-plugin/src/index.ts" }, { "module": "@botonic/plugin-ai-agents", "exactMatch": "libs/botonic/plugin-ai-agents/src/index.js", "pattern": "libs/botonic/plugin-ai-agents/src/index.ts" }, { "module": "@botonic/plugin-flow-builder", "exactMatch": "libs/botonic/plugin-flow-builder/src/index.js", "pattern": "libs/botonic/plugin-flow-builder/src/index.ts" }, { "module": "@botonic/plugin-hubtype-analytics", "exactMatch": "libs/botonic/plugin-hubtype-analytics/src/index.js", "pattern": "libs/botonic/plugin-hubtype-analytics/src/index.ts" }, { "module": "@botonic/plugin-hubtype-sdk", "exactMatch": "libs/botonic/plugin-hubtype-sdk/src/index.js", "pattern": "libs/botonic/plugin-hubtype-sdk/src/index.ts" }, { "module": "@botonic/plugin-inactivity", "exactMatch": "libs/botonic/plugin-inactivity/src/index.js", "pattern": "libs/botonic/plugin-inactivity/src/index.ts" }, { "module": "@botonic/plugin-knowledge-bases", "exactMatch": "libs/botonic/plugin-knowledge-bases/src/index.js", "pattern": "libs/botonic/plugin-knowledge-bases/src/index.ts" }, { "module": "@botonic/plugin-pre-handoff", "exactMatch": "libs/botonic/plugin-pre-handoff/src/index.js", "pattern": "libs/botonic/plugin-pre-handoff/src/index.ts" }, { "module": "@botonic/plugin-stop-store-user-input-flow", "exactMatch": "libs/botonic/plugin-stop-store-user-input-flow/src/index.js", "pattern": "libs/botonic/plugin-stop-store-user-input-flow/src/index.ts" }, { "module": "@botonic/shared", "exactMatch": "libs/botonic/shared/src/index.js", "pattern": "libs/botonic/shared/src/index.ts" }, { "module": "@botonic/webchat-core", "exactMatch": "libs/botonic/webchat-core/src/index.js", "pattern": "libs/botonic/webchat-core/src/index.ts" }, { "module": "@botonic/webchat-react", "exactMatch": "libs/botonic/webchat-react/src/index.js", "pattern": "libs/botonic/webchat-react/src/index.ts" }, { "module": "@botonic/webviews", "exactMatch": "libs/botonic/webviews/src/index.js", "pattern": "libs/botonic/webviews/src/index.ts" }, { "module": "@hubtype/data-access-analytics", "exactMatch": "libs/shared/data-access-analytics/src/index.js", "pattern": "libs/shared/data-access-analytics/src/index.ts" }, { "module": "@hubtype/data-access-api", "exactMatch": "libs/shared/data-access-api/src/index.js", "pattern": "libs/shared/data-access-api/src/index.ts" }, { "module": "@hubtype/data-access-models", "exactMatch": "libs/shared/data-access-models/src/index.js", "pattern": "libs/shared/data-access-models/src/index.ts" }, { "module": "@hubtype/data-access-realtime-services", "exactMatch": "libs/shared/data-access-realtime-services/src/index.js", "pattern": "libs/shared/data-access-realtime-services/src/index.ts" }, { "module": "@hubtype/data-access-services", "exactMatch": "libs/shared/data-access-services/src/index.js", "pattern": "libs/shared/data-access-services/src/index.ts" }, { "module": "@hubtype/feature-flow-builder", "exactMatch": "libs/dashboard/feature-flow-builder/src/index.js", "pattern": "libs/dashboard/feature-flow-builder/src/index.ts" }, { "module": "@hubtype/feature-knowledge-base", "exactMatch": "libs/dashboard/feature-knowledge-base/src/index.js", "pattern": "libs/dashboard/feature-knowledge-base/src/index.ts" }, { "module": "@hubtype/shared-models", "exactMatch": "libs/shared/models/src/index.js", "pattern": "libs/shared/models/src/index.ts" }, { "module": "@hubtype/util-auth-api-client", "exactMatch": "libs/shared/util-auth-api-client/src/index.js", "pattern": "libs/shared/util-auth-api-client/src/index.ts" }, { "module": "@hubtype/util-i18n", "exactMatch": "libs/shared/util-i18n/src/index.js", "pattern": "libs/shared/util-i18n/src/index.ts" }, { "module": "@hubtype/util-realtime-events-client", "exactMatch": "libs/shared/util-realtime-events-client/src/index.js", "pattern": "libs/shared/util-realtime-events-client/src/index.ts" }, { "module": "@hubtype/util-shared", "exactMatch": "libs/shared/util-shared/src/index.js", "pattern": "libs/shared/util-shared/src/index.ts" }, { "module": "@lilara/foundations", "exactMatch": "libs/lilara/foundations/src/index.js", "pattern": "libs/lilara/foundations/src/index.ts" }, { "module": "@lilara/ui-web", "exactMatch": "libs/lilara/ui-web/src/index.js", "pattern": "libs/lilara/ui-web/src/index.ts" }, { "module": "@lilara/ui-web-react", "exactMatch": "libs/lilara/ui-web-react/src/index.js", "pattern": "libs/lilara/ui-web-react/src/index.ts" }];
8
+ Module._resolveFilename = function(request, parent) {
9
+ let found;
10
+ for (const entry of manifest) {
11
+ if (request === entry.module && entry.exactMatch) {
12
+ const entry2 = manifest.find((x) => request === x.module || request.startsWith(x.module + "/"));
13
+ const candidate = path.join(distPath, entry2.exactMatch);
14
+ if (isFile(candidate)) {
15
+ found = candidate;
16
+ break;
17
+ }
18
+ } else {
19
+ const re = new RegExp(entry.module.replace(/\*$/, "(?<rest>.*)"));
20
+ const match = request.match(re);
21
+ if (match?.groups) {
22
+ const candidate = path.join(distPath, entry.pattern.replace("*", ""), match.groups.rest);
23
+ if (isFile(candidate)) {
24
+ found = candidate;
25
+ }
26
+ }
27
+ }
28
+ }
29
+ if (found) {
30
+ const modifiedArguments = [found, ...[].slice.call(arguments, 1)];
31
+ return originalResolveFilename.apply(this, modifiedArguments);
32
+ } else {
33
+ return originalResolveFilename.apply(this, arguments);
34
+ }
35
+ };
36
+ function isFile(s) {
37
+ try {
38
+ require.resolve(s);
39
+ return true;
40
+ } catch (_e) {
41
+ return false;
42
+ }
43
+ }
44
+ module.exports = require("./libs/botonic/nx-plugin/src/index.js");
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var executor_exports = {};
20
- __export(executor_exports, {
19
+ var executor_impl_exports = {};
20
+ __export(executor_impl_exports, {
21
21
  default: () => buildNodeAppExecutor
22
22
  });
23
- module.exports = __toCommonJS(executor_exports);
23
+ module.exports = __toCommonJS(executor_impl_exports);
24
24
  var import_child_process = require("child_process");
25
25
  var import_path = require("path");
26
26
  var import_util = require("util");
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var executor_exports = {};
20
+ __export(executor_exports, {
21
+ default: () => buildNodeAppExecutor
22
+ });
23
+ module.exports = __toCommonJS(executor_exports);
24
+ var import_delegate_executor = require("../../lib/delegate/delegate-executor");
25
+ async function buildNodeAppExecutor(options, ctx) {
26
+ return (0, import_delegate_executor.runLocalExecutor)(__filename, "build-node-app", options, ctx);
27
+ }
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var executor_exports = {};
20
- __export(executor_exports, {
19
+ var executor_impl_exports = {};
20
+ __export(executor_impl_exports, {
21
21
  default: () => deleteBotExecutor
22
22
  });
23
- module.exports = __toCommonJS(executor_exports);
23
+ module.exports = __toCommonJS(executor_impl_exports);
24
24
  var import_enquirer = require("enquirer");
25
25
  var import_api_service = require("../../lib/api-service");
26
26
  var import_executor_helpers = require("../../lib/util/executor-helpers");
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var executor_exports = {};
20
+ __export(executor_exports, {
21
+ default: () => deleteBotExecutor
22
+ });
23
+ module.exports = __toCommonJS(executor_exports);
24
+ var import_delegate_executor = require("../../lib/delegate/delegate-executor");
25
+ async function deleteBotExecutor(options, ctx) {
26
+ return (0, import_delegate_executor.runLocalExecutor)(__filename, "delete-bot", options, ctx);
27
+ }
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var executor_exports = {};
20
- __export(executor_exports, {
19
+ var executor_impl_exports = {};
20
+ __export(executor_impl_exports, {
21
21
  default: () => deployNetlifySnapshotExecutor
22
22
  });
23
- module.exports = __toCommonJS(executor_exports);
23
+ module.exports = __toCommonJS(executor_impl_exports);
24
24
  var import_child_process = require("child_process");
25
25
  var import_fs = require("fs");
26
26
  var import_path = require("path");
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var executor_exports = {};
20
+ __export(executor_exports, {
21
+ default: () => deployNetlifySnapshotExecutor
22
+ });
23
+ module.exports = __toCommonJS(executor_exports);
24
+ var import_delegate_executor = require("../../lib/delegate/delegate-executor");
25
+ async function deployNetlifySnapshotExecutor(options, ctx) {
26
+ return (0, import_delegate_executor.runLocalExecutor)(__filename, "deploy-netlify-snapshot", options, ctx);
27
+ }
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var executor_exports = {};
20
- __export(executor_exports, {
19
+ var executor_impl_exports = {};
20
+ __export(executor_impl_exports, {
21
21
  default: () => deployToHubtypeExecutor
22
22
  });
23
- module.exports = __toCommonJS(executor_exports);
23
+ module.exports = __toCommonJS(executor_impl_exports);
24
24
  var import_enquirer = require("enquirer");
25
25
  var import_api_service = require("../../lib/api-service");
26
26
  var import_executor_helpers = require("../../lib/util/executor-helpers");
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var executor_exports = {};
20
+ __export(executor_exports, {
21
+ default: () => deployToHubtypeExecutor
22
+ });
23
+ module.exports = __toCommonJS(executor_exports);
24
+ var import_delegate_executor = require("../../lib/delegate/delegate-executor");
25
+ async function deployToHubtypeExecutor(options, ctx) {
26
+ return (0, import_delegate_executor.runLocalExecutor)(__filename, "deploy-to-hubtype", options, ctx);
27
+ }
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var executor_exports = {};
30
- __export(executor_exports, {
29
+ var executor_impl_exports = {};
30
+ __export(executor_impl_exports, {
31
31
  default: () => e2eExecutor
32
32
  });
33
- module.exports = __toCommonJS(executor_exports);
33
+ module.exports = __toCommonJS(executor_impl_exports);
34
34
  var import_child_process = require("child_process");
35
35
  var import_fs = require("fs");
36
36
  var import_path = require("path");
37
- var import_executor = __toESM(require("../deploy-netlify-snapshot/executor"));
37
+ var import_executor_impl = __toESM(require("../deploy-netlify-snapshot/executor-impl"));
38
38
  const WEBCHAT_OUTPUT_DIR = "dist/webchat";
39
39
  async function e2eExecutor(options, context) {
40
40
  const projectRoot = context.projectsConfigurations?.projects[context.projectName ?? ""]?.root ?? "";
@@ -55,7 +55,7 @@ async function e2eExecutor(options, context) {
55
55
  const playwrightStep = options.dir ? "2/2" : "3/3";
56
56
  console.log(`
57
57
  \u{1F4E6} Step ${deployStep}: Deploying snapshot to Netlify...`);
58
- const deployResult = await (0, import_executor.default)(
58
+ const deployResult = await (0, import_executor_impl.default)(
59
59
  {
60
60
  dir,
61
61
  siteId: options.siteId,
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var executor_exports = {};
20
+ __export(executor_exports, {
21
+ default: () => e2eWebchatExecutor
22
+ });
23
+ module.exports = __toCommonJS(executor_exports);
24
+ var import_delegate_executor = require("../../lib/delegate/delegate-executor");
25
+ async function e2eWebchatExecutor(options, ctx) {
26
+ return (0, import_delegate_executor.runLocalExecutor)(__filename, "e2e-webchat", options, ctx);
27
+ }
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var executor_exports = {};
20
- __export(executor_exports, {
19
+ var executor_impl_exports = {};
20
+ __export(executor_impl_exports, {
21
21
  default: () => integrateProviderExecutor
22
22
  });
23
- module.exports = __toCommonJS(executor_exports);
23
+ module.exports = __toCommonJS(executor_impl_exports);
24
24
  var import_enquirer = require("enquirer");
25
25
  var import_api_service = require("../../lib/api-service");
26
26
  var import_executor_helpers = require("../../lib/util/executor-helpers");
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var executor_exports = {};
20
+ __export(executor_exports, {
21
+ default: () => integrateProviderExecutor
22
+ });
23
+ module.exports = __toCommonJS(executor_exports);
24
+ var import_delegate_executor = require("../../lib/delegate/delegate-executor");
25
+ async function integrateProviderExecutor(options, ctx) {
26
+ return (0, import_delegate_executor.runLocalExecutor)(__filename, "integrate-provider", options, ctx);
27
+ }
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var executor_exports = {};
20
- __export(executor_exports, {
19
+ var executor_impl_exports = {};
20
+ __export(executor_impl_exports, {
21
21
  default: () => loginToHubtypeExecutor
22
22
  });
23
- module.exports = __toCommonJS(executor_exports);
23
+ module.exports = __toCommonJS(executor_impl_exports);
24
24
  var import_enquirer = require("enquirer");
25
25
  var import_api_service = require("../../lib/api-service");
26
26
  var import_executor_helpers = require("../../lib/util/executor-helpers");
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var executor_exports = {};
20
+ __export(executor_exports, {
21
+ default: () => loginToHubtypeExecutor
22
+ });
23
+ module.exports = __toCommonJS(executor_exports);
24
+ var import_delegate_executor = require("../../lib/delegate/delegate-executor");
25
+ async function loginToHubtypeExecutor(options, ctx) {
26
+ return (0, import_delegate_executor.runLocalExecutor)(__filename, "login-to-hubtype", options, ctx);
27
+ }
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var executor_exports = {};
20
- __export(executor_exports, {
19
+ var executor_impl_exports = {};
20
+ __export(executor_impl_exports, {
21
21
  default: () => logoutFromHubtypeExecutor
22
22
  });
23
- module.exports = __toCommonJS(executor_exports);
23
+ module.exports = __toCommonJS(executor_impl_exports);
24
24
  var import_fs_extra = require("fs-extra");
25
25
  var import_os = require("os");
26
26
  var import_path = require("path");
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var executor_exports = {};
20
+ __export(executor_exports, {
21
+ default: () => logoutFromHubtypeExecutor
22
+ });
23
+ module.exports = __toCommonJS(executor_exports);
24
+ var import_delegate_executor = require("../../lib/delegate/delegate-executor");
25
+ async function logoutFromHubtypeExecutor(options, ctx) {
26
+ return (0, import_delegate_executor.runLocalExecutor)(__filename, "logout-from-hubtype", options, ctx);
27
+ }
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var executor_exports = {};
20
- __export(executor_exports, {
19
+ var executor_impl_exports = {};
20
+ __export(executor_impl_exports, {
21
21
  default: () => runLambdaExecutor
22
22
  });
23
- module.exports = __toCommonJS(executor_exports);
23
+ module.exports = __toCommonJS(executor_impl_exports);
24
24
  var import_child_process = require("child_process");
25
25
  var import_path = require("path");
26
26
  var import_executor_helpers = require("../../lib/util/executor-helpers");
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var executor_exports = {};
20
+ __export(executor_exports, {
21
+ default: () => runLambdaExecutor
22
+ });
23
+ module.exports = __toCommonJS(executor_exports);
24
+ var import_delegate_executor = require("../../lib/delegate/delegate-executor");
25
+ async function runLambdaExecutor(options, ctx) {
26
+ return (0, import_delegate_executor.runLocalExecutor)(__filename, "run-lambda", options, ctx);
27
+ }
@@ -26,11 +26,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var executor_exports = {};
30
- __export(executor_exports, {
29
+ var executor_impl_exports = {};
30
+ __export(executor_impl_exports, {
31
31
  default: () => serveBotExecutor
32
32
  });
33
- module.exports = __toCommonJS(executor_exports);
33
+ module.exports = __toCommonJS(executor_impl_exports);
34
34
  var import_child_process = require("child_process");
35
35
  var import_fs = require("fs");
36
36
  var import_path = require("path");
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var executor_exports = {};
20
+ __export(executor_exports, {
21
+ default: () => serveBotExecutor
22
+ });
23
+ module.exports = __toCommonJS(executor_exports);
24
+ var import_delegate_executor = require("../../lib/delegate/delegate-executor");
25
+ async function serveBotExecutor(options, ctx) {
26
+ return (0, import_delegate_executor.runLocalExecutor)(__filename, "serve-bot", options, ctx);
27
+ }
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var generator_exports = {};
20
- __export(generator_exports, {
21
- default: () => generator_default
19
+ var generator_impl_exports = {};
20
+ __export(generator_impl_exports, {
21
+ default: () => generator_impl_default
22
22
  });
23
- module.exports = __toCommonJS(generator_exports);
23
+ module.exports = __toCommonJS(generator_impl_exports);
24
24
  var import_devkit = require("@nx/devkit");
25
25
  var import_bot_app_utils = require("../shared/bot-app-utils");
26
26
  const MODULE_DIR = __dirname;
@@ -84,7 +84,7 @@ function updateRoutes(tree, options) {
84
84
  ` },`
85
85
  ]);
86
86
  }
87
- async function generator_default(tree, options) {
87
+ async function generator_impl_default(tree, options) {
88
88
  console.log(`Creating action: ${options.name}`);
89
89
  const normalizedOptions = normalizeOptions(tree, options);
90
90
  console.log(`Project: ${normalizedOptions.projectName}`);
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var generator_exports = {};
20
+ __export(generator_exports, {
21
+ default: () => generator_default
22
+ });
23
+ module.exports = __toCommonJS(generator_exports);
24
+ var import_delegate_generator = require("../../lib/delegate/delegate-generator");
25
+ async function generator_default(tree, options) {
26
+ return (0, import_delegate_generator.runLocalGenerator)(__filename, "action", tree, options);
27
+ }
@@ -26,11 +26,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var generator_exports = {};
30
- __export(generator_exports, {
31
- default: () => generator_default
29
+ var generator_impl_exports = {};
30
+ __export(generator_impl_exports, {
31
+ default: () => generator_impl_default
32
32
  });
33
- module.exports = __toCommonJS(generator_exports);
33
+ module.exports = __toCommonJS(generator_impl_exports);
34
34
  var import_devkit = require("@nx/devkit");
35
35
  var import_child_process = require("child_process");
36
36
  var fs = __toESM(require("fs"));
@@ -162,6 +162,7 @@ function createPackageJson(tree, options, botonicVersion, lilaraVersion) {
162
162
  zod: "^4.4.3"
163
163
  },
164
164
  devDependencies: {
165
+ "@botonic/nx-plugin": botonicVersion,
165
166
  "@nx/vite": "21.6.11",
166
167
  "@types/node": "22.13.0",
167
168
  "@types/react": "18.3.1",
@@ -283,7 +284,7 @@ function addBotonicFiles(tree, options, botonicVersion) {
283
284
  templateOptions
284
285
  );
285
286
  }
286
- async function generator_default(tree, options) {
287
+ async function generator_impl_default(tree, options) {
287
288
  const botonicVersion = getBotonicVersion(options);
288
289
  const lilaraVersion = getLilaraVersion(options);
289
290
  const tasks = [];