@rudderhq/cli 0.7.8 → 0.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2021,6 +2021,7 @@ var init_chat = __esm({
2021
2021
  })
2022
2022
  });
2023
2023
  createChatFirstTurnSchema = chatDraftSchema.extend({
2024
+ groupId: z5.string().uuid().optional(),
2024
2025
  body: z5.string().trim().max(2e4).default(""),
2025
2026
  clientMutationId: z5.string().trim().min(1).max(120).optional(),
2026
2027
  inlineAnnotations: chatInlineAnnotationsInputSchema.optional().default([])
@@ -4584,7 +4585,7 @@ var init_access = __esm({
4584
4585
 
4585
4586
  // ../packages/shared/dist/validators/plugin-v1.js
4586
4587
  import { z as z36 } from "zod";
4587
- var rudderPluginPackageFileSchema, inspectRudderPluginSchema, inspectRudderPluginArchiveSchema, configureRudderPluginMarketplaceSchema, installRudderPluginSchema, updateRudderPluginEnablementSchema, configureRudderPluginSkillsSchema, configureRudderPluginMcpSchema, customizeRudderPluginSkillSchema;
4588
+ var rudderPluginPackageFileSchema, inspectRudderPluginSchema, inspectRudderPluginArchiveSchema, configureRudderPluginMarketplaceSchema, installRudderPluginSchema, previewRudderPluginSourceSchema, updateRudderPluginEnablementSchema, configureRudderPluginSkillsSchema, configureRudderPluginMcpSchema, customizeRudderPluginSkillSchema;
4588
4589
  var init_plugin_v1 = __esm({
4589
4590
  "../packages/shared/dist/validators/plugin-v1.js"() {
4590
4591
  "use strict";
@@ -4621,6 +4622,10 @@ var init_plugin_v1 = __esm({
4621
4622
  confirmAccessExpansion: z36.boolean().optional().default(false),
4622
4623
  skillConflictStrategy: z36.enum(["keep", "replace", "rename"]).optional()
4623
4624
  }).strict();
4625
+ previewRudderPluginSourceSchema = z36.object({
4626
+ source: z36.string().trim().min(3).max(500),
4627
+ subdirectory: z36.string().trim().max(500).optional()
4628
+ }).strict();
4624
4629
  updateRudderPluginEnablementSchema = z36.object({
4625
4630
  enabled: z36.boolean()
4626
4631
  }).strict();
@@ -21082,6 +21087,26 @@ async function downloadAsset(asset, outputDir, progressFactory = createByteProgr
21082
21087
  init_install2();
21083
21088
  init_install();
21084
21089
  init_version();
21090
+
21091
+ // src/commands/start-windows.ts
21092
+ function powershellQuote(value) {
21093
+ return `'${value.replaceAll("'", "''")}'`;
21094
+ }
21095
+ function buildWindowsZipExtractCommand(zipPath, outputDir) {
21096
+ return {
21097
+ command: "powershell.exe",
21098
+ args: [
21099
+ "-NoProfile",
21100
+ "-NonInteractive",
21101
+ "-ExecutionPolicy",
21102
+ "Bypass",
21103
+ "-Command",
21104
+ `$ErrorActionPreference='Stop'; Expand-Archive -LiteralPath ${powershellQuote(zipPath)} -DestinationPath ${powershellQuote(outputDir)} -Force`
21105
+ ]
21106
+ };
21107
+ }
21108
+
21109
+ // src/commands/start.ts
21085
21110
  var DESKTOP_UPDATE_QUIT_ARG = "--rudder-update-quit";
21086
21111
  var DESKTOP_UPDATE_FORCE_ARG = "--rudder-update-force";
21087
21112
  var STABLE_SEMVER_RE = /^[0-9]+\.[0-9]+\.[0-9]+$/;
@@ -21794,12 +21819,6 @@ function formatCommandFailure(command, args, stdout, stderr) {
21794
21819
  const output = [stdout, stderr].filter((value) => typeof value === "string" && value.trim().length > 0).join("\n").trim();
21795
21820
  return `${command} ${args.join(" ")} failed${output ? `: ${output}` : ""}`;
21796
21821
  }
21797
- function powershellQuote(value) {
21798
- return `'${value.replaceAll("'", "''")}'`;
21799
- }
21800
- function buildWindowsZipExtractCommand(zipPath, outputDir) {
21801
- return { command: "tar.exe", args: ["-xf", zipPath, "-C", outputDir] };
21802
- }
21803
21822
  function buildWindowsRobocopyMirrorCommand(sourcePath, destinationPath) {
21804
21823
  return {
21805
21824
  command: "robocopy.exe",