124912c71d
- Restore full Ink TUI startup chain (cli.tsx entry point) - Create stub .md files for verify skill (Bun text loader hang fix) - Create stub types for filePersistence and SDK modules - Fix Enter key not working (modifiers-napi missing, added try-catch) - Remove overly conservative LOCAL_RECOVERY early return - Add README with setup instructions - Add .env.example template - Add bin/claude-haha entry script and preload.ts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
555 B
TypeScript
18 lines
555 B
TypeScript
const version = process.env.CLAUDE_CODE_LOCAL_VERSION ?? '999.0.0-local';
|
|
const packageUrl = process.env.CLAUDE_CODE_LOCAL_PACKAGE_URL ?? 'claude-code-local';
|
|
const buildTime = process.env.CLAUDE_CODE_LOCAL_BUILD_TIME ?? new Date().toISOString();
|
|
|
|
process.env.CLAUDE_CODE_LOCAL_SKIP_REMOTE_PREFETCH ??= '1';
|
|
|
|
Object.assign(globalThis, {
|
|
MACRO: {
|
|
VERSION: version,
|
|
PACKAGE_URL: packageUrl,
|
|
NATIVE_PACKAGE_URL: packageUrl,
|
|
BUILD_TIME: buildTime,
|
|
FEEDBACK_CHANNEL: 'local',
|
|
VERSION_CHANGELOG: '',
|
|
ISSUES_EXPLAINER: '',
|
|
},
|
|
});
|