Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ result = await Bun.build({
JSON.stringify('https://github.com/Gitlawb/openclaude/issues'),
'MACRO.PACKAGE_URL': JSON.stringify('@gitlawb/openclaude'),
'MACRO.NATIVE_PACKAGE_URL': 'undefined',
'MACRO.VERSION_CHANGELOG': 'undefined',
},
plugins: [
noTelemetryPlugin,
Expand Down Expand Up @@ -494,6 +495,7 @@ sdkResult = await Bun.build({
JSON.stringify('https://github.com/Gitlawb/openclaude/issues'),
'MACRO.PACKAGE_URL': JSON.stringify('@gitlawb/openclaude'),
'MACRO.NATIVE_PACKAGE_URL': 'undefined',
'MACRO.VERSION_CHANGELOG': 'undefined',
},
// External: everything TUI-related + native modules
external: SDK_EXTERNALS,
Expand Down
7 changes: 7 additions & 0 deletions src/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ declare const MACRO: {
DISPLAY_VERSION: string
BUILD_TIME: string
ISSUES_EXPLAINER: string
FEEDBACK_CHANNEL: string
PACKAGE_URL: string
NATIVE_PACKAGE_URL: string | undefined
VERSION_CHANGELOG: string | undefined
}

declare module '*.md' {
const content: string
export default content
}