@mmmbuto/nexuscli 0.5.7 → 0.5.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.
@@ -42,8 +42,9 @@ class CodexWrapper {
42
42
  // Build CLI arguments
43
43
  // If threadId exists, use 'exec --json resume <threadId>' to continue session
44
44
  // Otherwise use 'exec --json' for new session
45
+ // Note: --skip-git-repo-check is needed for both new and resume sessions
45
46
  const args = threadId
46
- ? ['exec', '--json', 'resume', threadId]
47
+ ? ['exec', '--json', '--skip-git-repo-check', 'resume', threadId]
47
48
  : ['exec', '--json', '--skip-git-repo-check', '--dangerously-bypass-approvals-and-sandbox', '-C', cwd];
48
49
 
49
50
  // Add model if specified (only for new sessions)
@@ -396,7 +396,7 @@ class WorkspaceManager {
396
396
  * @returns {string}
397
397
  */
398
398
  getSessionPath(workspacePath) {
399
- // Convert /var/www/cli.wellanet.dev → -var-www-cli-wellanet-dev
399
+ // Convert /var/www/myapp → -var-www-myapp
400
400
  const projectDir = workspacePath.replace(/\//g, '-').replace(/^-/, '');
401
401
  return path.join(this.claudePath, 'projects', projectDir);
402
402
  }
@@ -45,7 +45,7 @@ describe('Performance Benchmarks', () => {
45
45
 
46
46
  test('Workspace validation should be fast', async () => {
47
47
  const manager = new WorkspaceManager();
48
- const testPath = '/var/www/cli.wellanet.dev';
48
+ const testPath = '/var/www/myapp';
49
49
 
50
50
  const start = Date.now();
51
51
  const validated = await manager.validateWorkspace(testPath);
@@ -16,7 +16,7 @@ describe('WorkspaceManager', () => {
16
16
 
17
17
  test('should validate workspace path', async () => {
18
18
  // Test with allowed path
19
- const validPath = '/var/www/cli.wellanet.dev';
19
+ const validPath = '/var/www/myapp';
20
20
  const result = await manager.validateWorkspace(validPath);
21
21
  expect(result).toBe(validPath);
22
22
  });
@@ -147,7 +147,7 @@ describe('SummaryGenerator', () => {
147
147
  describe('Integration - Service Interactions', () => {
148
148
  test('WorkspaceManager should use consistent path resolution', async () => {
149
149
  const manager = new WorkspaceManager();
150
- const testPath = '/var/www/cli.wellanet.dev';
150
+ const testPath = '/var/www/myapp';
151
151
  const validated = await manager.validateWorkspace(testPath);
152
152
  expect(validated).toBe(testPath);
153
153
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmmbuto/nexuscli",
3
- "version": "0.5.7",
3
+ "version": "0.5.9",
4
4
  "description": "NexusCLI - TRI CLI Control Plane (Claude/Codex/Gemini)",
5
5
  "main": "lib/server/server.js",
6
6
  "bin": {