* chore: rebrand user-facing copy to OpenClaude Replace lingering Claude Code branding in CLI, tips, and runtime UI with OpenClaude/openclaude, including the startup tip Gitlawb mention. Co-Authored-By: Claude GPT-5.4 <noreply@openclaude.dev> * chore: address branding-sweep review feedback - PermissionRequest.tsx: rebrand the two remaining "Claude needs your approval/permission" notifications to OpenClaude (review-artifact and generic tool permission paths). - main.tsx, teleport.tsx, session.tsx, WebFetchTool/utils.ts, skills/bundled/{debug,updateConfig}.ts: replace leftover `claude --…` CLI hints and "Claude Code" labels missed by the original sweep. - main.tsx: drop the inline gitlawb.com marketing copy from the stale-prompt tip; keep it a pure rebrand. - auth.ts: finish the half-rename so both `claude setup-token` and `claude auth login` references in the same error block now read `openclaude …`. - mcp/client.ts: keep `name: 'claude-code'` for MCP server allowlist compatibility (now explicit via comment) and replace the "Anthropic's agentic coding tool" description with an OpenClaude one. - MCPSettings.tsx: point the empty-server-list hint at https://github.com/Gitlawb/openclaude instead of code.claude.com. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * chore: replace help link with OpenClaude repo URL Replace https://code.claude.com/docs/en/overview with https://github.com/Gitlawb/openclaude in the help screen. Co-Authored-By: OpenClaude <openclaude@gitlawb.com> --------- Co-authored-by: Claude GPT-5.4 <noreply@openclaude.dev> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: OpenClaude <openclaude@gitlawb.com>
27 lines
930 B
TypeScript
27 lines
930 B
TypeScript
import type { Command } from '../../commands.js'
|
|
import { isPolicyAllowed } from '../../services/policyLimits/index.js'
|
|
import { isEnvTruthy } from '../../utils/envUtils.js'
|
|
import { isEssentialTrafficOnly } from '../../utils/privacyLevel.js'
|
|
|
|
const feedback = {
|
|
aliases: ['bug'],
|
|
type: 'local-jsx',
|
|
name: 'feedback',
|
|
description: `Submit feedback about OpenClaude`,
|
|
argumentHint: '[report]',
|
|
isEnabled: () =>
|
|
!(
|
|
isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ||
|
|
isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ||
|
|
isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) ||
|
|
isEnvTruthy(process.env.DISABLE_FEEDBACK_COMMAND) ||
|
|
isEnvTruthy(process.env.DISABLE_BUG_COMMAND) ||
|
|
isEssentialTrafficOnly() ||
|
|
process.env.USER_TYPE === 'ant' ||
|
|
!isPolicyAllowed('allow_product_feedback')
|
|
),
|
|
load: () => import('./feedback.js'),
|
|
} satisfies Command
|
|
|
|
export default feedback
|