asdf
Squash the current repository state back into one baseline commit while preserving the README reframing and repository contents. Constraint: User explicitly requested a single squashed commit with subject "asdf" Confidence: high Scope-risk: broad Reversibility: clean Directive: This commit intentionally rewrites published history; coordinate before future force-pushes Tested: git status clean; local history rewritten to one commit; force-pushed main to origin and instructkr Not-tested: Fresh clone verification after push
This commit is contained in:
commit
d2542c9a62
26
src/commands/feedback/index.ts
Normal file
26
src/commands/feedback/index.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
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 Claude Code`,
|
||||
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
|
||||
Reference in New Issue
Block a user