@xortex/xcode 3.1.3 → 3.1.4
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/bin/xcode +3 -2
- package/entrypoints/cli.tsx +1 -1
- package/macro.ts +1 -1
- package/package.json +1 -1
package/bin/xcode
CHANGED
|
@@ -46,7 +46,7 @@ process.env.NODE_ENV = process.env.NODE_ENV || 'production';
|
|
|
46
46
|
const args = process.argv.slice(2);
|
|
47
47
|
|
|
48
48
|
if (args[0] === '--version' || args[0] === '-v' || args[0] === '-V') {
|
|
49
|
-
console.log('xcode v3.1.
|
|
49
|
+
console.log('xcode v3.1.4 — AI coding assistant with XMem memory');
|
|
50
50
|
process.exit(0);
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -100,8 +100,9 @@ if (!bun) {
|
|
|
100
100
|
process.exit(1);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
// Do NOT set cwd — let the app use the user's current working directory
|
|
104
|
+
// as the workspace. Only the script path needs to be absolute.
|
|
103
105
|
const child = spawn(bun, ['run', mainScript, ...args], {
|
|
104
|
-
cwd: projectRoot,
|
|
105
106
|
stdio: 'inherit',
|
|
106
107
|
env: process.env,
|
|
107
108
|
});
|
package/entrypoints/cli.tsx
CHANGED
|
@@ -39,7 +39,7 @@ async function main(): Promise<void> {
|
|
|
39
39
|
if (args.length === 1 && (args[0] === '--version' || args[0] === '-v' || args[0] === '-V')) {
|
|
40
40
|
// MACRO.VERSION is inlined at build time
|
|
41
41
|
// biome-ignore lint/suspicious/noConsole:: intentional console output
|
|
42
|
-
console.log(`xcode v3.1.
|
|
42
|
+
console.log(`xcode v3.1.4 — AI coding assistant with XMem memory`);
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
45
|
|
package/macro.ts
CHANGED
package/package.json
CHANGED