@xortex/xcode 3.0.4 → 3.0.5

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 CHANGED
@@ -46,7 +46,7 @@ const args = process.argv.slice(2);
46
46
  const command = args[0];
47
47
 
48
48
  if (command === '--version' || command === '-v') {
49
- console.log('xcode v3.0.4 — AI coding assistant with XMem memory');
49
+ console.log('xcode v3.0.5 — AI coding assistant with XMem memory');
50
50
  process.exit(0);
51
51
  }
52
52
 
@@ -1,26 +1,6 @@
1
1
  import '../macro'; // Import to set MACRO global before any other code
2
2
 
3
- // Conditional import for bun:bundle - only available in Bun runtime
4
- // eslint-disable-next-line custom-rules/no-top-level-side-effects
5
- declare const Bun: { version: string } | undefined;
6
- // eslint-disable-next-line custom-rules/no-top-level-side-effects
7
- const isBun = typeof Bun !== 'undefined' && typeof Bun.version === 'string';
8
-
9
- // Stub feature function for Node.js compatibility
10
- // eslint-disable-next-line custom-rules/no-top-level-side-effects
11
- function feature(name: string): boolean {
12
- if (isBun) {
13
- // Dynamic import for Bun - will only execute in Bun
14
- try {
15
- // eslint-disable-next-line @typescript-eslint/no-require-imports
16
- const bunBundle = require('bun:bundle');
17
- return bunBundle.feature(name);
18
- } catch {
19
- return false;
20
- }
21
- }
22
- return false;
23
- }
3
+ import { feature } from 'bun:bundle'
24
4
 
25
5
  // Bugfix for corepack auto-pinning, which adds yarnpkg to peoples' package.jsons
26
6
  // eslint-disable-next-line custom-rules/no-top-level-side-effects
@@ -59,7 +39,7 @@ async function main(): Promise<void> {
59
39
  if (args.length === 1 && (args[0] === '--version' || args[0] === '-v' || args[0] === '-V')) {
60
40
  // MACRO.VERSION is inlined at build time
61
41
  // biome-ignore lint/suspicious/noConsole:: intentional console output
62
- console.log(`xcode v3.0.4 — AI coding assistant with XMem memory`);
42
+ console.log(`xcode v3.0.5 — AI coding assistant with XMem memory`);
63
43
  return;
64
44
  }
65
45
 
package/macro.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Build-time macros - stubbed for development
2
2
 
3
3
  export const MACRO = {
4
- VERSION: '3.0.4',
4
+ VERSION: '3.0.5',
5
5
  VERSION_CHANGELOG: '',
6
6
  NATIVE_PACKAGE_URL: '@anthropic-ai/claude-code-native',
7
7
  CLI_BIN_PATH: './cli.tsx',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xortex/xcode",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "description": "XCode - AI-powered coding assistant with XMem long-term memory. Supports Claude, Gemini, Kimi, DeepSeek via OpenRouter.",
5
5
  "main": "main.tsx",
6
6
  "bin": {