episoda 0.2.27 → 0.2.28

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.
@@ -2696,7 +2696,7 @@ var require_package = __commonJS({
2696
2696
  "package.json"(exports2, module2) {
2697
2697
  module2.exports = {
2698
2698
  name: "episoda",
2699
- version: "0.2.26",
2699
+ version: "0.2.27",
2700
2700
  description: "CLI tool for Episoda local development workflow orchestration",
2701
2701
  main: "dist/index.js",
2702
2702
  types: "dist/index.d.ts",
@@ -3098,7 +3098,7 @@ async function checkForUpdates(currentVersion) {
3098
3098
  updateAvailable: semver.gt(latestVersion, currentVersion)
3099
3099
  };
3100
3100
  } catch (error) {
3101
- return { currentVersion, latestVersion: currentVersion, updateAvailable: false };
3101
+ return { currentVersion, latestVersion: currentVersion, updateAvailable: false, offline: true };
3102
3102
  }
3103
3103
  }
3104
3104
  function performBackgroundUpdate() {
@@ -5942,8 +5942,8 @@ var WorktreeManager = class _WorktreeManager {
5942
5942
  console.log(`[WorktreeManager] EP959: Timeout: ${TIMEOUT_MINUTES} minutes`);
5943
5943
  console.log(`[WorktreeManager] EP959: Script: ${scriptPreview}`);
5944
5944
  try {
5945
- const { execSync: execSync6 } = require("child_process");
5946
- execSync6(script, {
5945
+ const { execSync: execSync7 } = require("child_process");
5946
+ execSync7(script, {
5947
5947
  cwd: worktree.worktreePath,
5948
5948
  stdio: "inherit",
5949
5949
  timeout: TIMEOUT_MINUTES * 60 * 1e3,
@@ -5977,8 +5977,8 @@ var WorktreeManager = class _WorktreeManager {
5977
5977
  console.log(`[WorktreeManager] EP959: Timeout: ${TIMEOUT_MINUTES} minutes`);
5978
5978
  console.log(`[WorktreeManager] EP959: Script: ${scriptPreview}`);
5979
5979
  try {
5980
- const { execSync: execSync6 } = require("child_process");
5981
- execSync6(script, {
5980
+ const { execSync: execSync7 } = require("child_process");
5981
+ execSync7(script, {
5982
5982
  cwd: worktree.worktreePath,
5983
5983
  stdio: "inherit",
5984
5984
  timeout: TIMEOUT_MINUTES * 60 * 1e3,
@@ -7406,29 +7406,29 @@ var Daemon = class _Daemon {
7406
7406
  */
7407
7407
  async configureGitUser(projectPath, userId, workspaceId, machineId, projectId, deviceId) {
7408
7408
  try {
7409
- const { execSync: execSync6 } = await import("child_process");
7410
- execSync6(`git config episoda.userId ${userId}`, {
7409
+ const { execSync: execSync7 } = await import("child_process");
7410
+ execSync7(`git config episoda.userId ${userId}`, {
7411
7411
  cwd: projectPath,
7412
7412
  encoding: "utf8",
7413
7413
  stdio: "pipe"
7414
7414
  });
7415
- execSync6(`git config episoda.workspaceId ${workspaceId}`, {
7415
+ execSync7(`git config episoda.workspaceId ${workspaceId}`, {
7416
7416
  cwd: projectPath,
7417
7417
  encoding: "utf8",
7418
7418
  stdio: "pipe"
7419
7419
  });
7420
- execSync6(`git config episoda.machineId ${machineId}`, {
7420
+ execSync7(`git config episoda.machineId ${machineId}`, {
7421
7421
  cwd: projectPath,
7422
7422
  encoding: "utf8",
7423
7423
  stdio: "pipe"
7424
7424
  });
7425
- execSync6(`git config episoda.projectId ${projectId}`, {
7425
+ execSync7(`git config episoda.projectId ${projectId}`, {
7426
7426
  cwd: projectPath,
7427
7427
  encoding: "utf8",
7428
7428
  stdio: "pipe"
7429
7429
  });
7430
7430
  if (deviceId) {
7431
- execSync6(`git config episoda.deviceId ${deviceId}`, {
7431
+ execSync7(`git config episoda.deviceId ${deviceId}`, {
7432
7432
  cwd: projectPath,
7433
7433
  encoding: "utf8",
7434
7434
  stdio: "pipe"
@@ -7604,8 +7604,8 @@ var Daemon = class _Daemon {
7604
7604
  console.log(`[Daemon] EP986: ${installCmd.description} (detected from ${installCmd.detectedFrom})`);
7605
7605
  console.log(`[Daemon] EP986: Running: ${installCmd.command.join(" ")}`);
7606
7606
  try {
7607
- const { execSync: execSync6 } = await import("child_process");
7608
- execSync6(installCmd.command.join(" "), {
7607
+ const { execSync: execSync7 } = await import("child_process");
7608
+ execSync7(installCmd.command.join(" "), {
7609
7609
  cwd: worktreePath,
7610
7610
  stdio: "inherit",
7611
7611
  timeout: 10 * 60 * 1e3,