orbital-command 1.0.0 → 1.0.1

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.
@@ -10,7 +10,7 @@ import {
10
10
  } from '../lib/helpers.js';
11
11
 
12
12
  export function cmdLaunchOrDev(forceViteFlag) {
13
- const shouldOpen = process.argv.includes('--open');
13
+ const shouldOpen = !process.argv.includes('--no-open');
14
14
  const forceVite = forceViteFlag || process.argv.includes('--vite');
15
15
  const projectRoot = detectProjectRoot();
16
16
  const config = loadConfig(projectRoot);
package/bin/orbital.js CHANGED
@@ -5,8 +5,6 @@ import path from 'path';
5
5
  import {
6
6
  detectProjectRoot,
7
7
  getPackageVersion,
8
- isGitRepo,
9
- requireGitRepo,
10
8
  loadRegistry,
11
9
  writeRegistryAtomic,
12
10
  loadSharedModule,
@@ -42,12 +40,6 @@ async function runHubFlow() {
42
40
  return;
43
41
  }
44
42
 
45
- // Need a git repo for everything else
46
- if (!isGitRepo()) {
47
- requireGitRepo(); // exits with error
48
- return;
49
- }
50
-
51
43
  const hubRoot = detectProjectRoot();
52
44
  const isInitialized = fs.existsSync(
53
45
  path.join(hubRoot, '.claude', 'orbital.config.json')
@@ -105,8 +105,8 @@ export async function startCentralServer(overrides) {
105
105
  // ─── Static File Serving ─────────────────────────────────
106
106
  const __selfDir = path.dirname(fileURLToPath(import.meta.url));
107
107
  const distDir = path.resolve(__selfDir, '../dist');
108
- const devMode = clientPort !== port;
109
- const hasBuiltFrontend = !devMode && fs.existsSync(path.join(distDir, 'index.html'));
108
+ const hasBuiltFrontend = fs.existsSync(path.join(distDir, 'index.html'));
109
+ const devMode = !hasBuiltFrontend;
110
110
  if (hasBuiltFrontend) {
111
111
  app.use(express.static(distDir));
112
112
  app.get('*', (req, res, next) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orbital-command",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Orbital Command — mission control dashboard for Claude Code projects",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/server/index.ts CHANGED
@@ -149,8 +149,8 @@ export async function startCentralServer(overrides?: CentralServerOverrides): Pr
149
149
 
150
150
  const __selfDir = path.dirname(fileURLToPath(import.meta.url));
151
151
  const distDir = path.resolve(__selfDir, '../dist');
152
- const devMode = clientPort !== port;
153
- const hasBuiltFrontend = !devMode && fs.existsSync(path.join(distDir, 'index.html'));
152
+ const hasBuiltFrontend = fs.existsSync(path.join(distDir, 'index.html'));
153
+ const devMode = !hasBuiltFrontend;
154
154
  if (hasBuiltFrontend) {
155
155
  app.use(express.static(distDir));
156
156
  app.get('*', (req, res, next) => {