File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
routes/[projectId]/codegen Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 8
8
</script >
9
9
10
10
<script lang =" ts" >
11
+ import { goto } from ' $app/navigation' ;
11
12
import BranchRenameModal , {
12
13
type BranchRenameModalProps
13
14
} from ' $components/BranchRenameModal.svelte' ;
18
19
import { PROMPT_SERVICE } from ' $lib/ai/promptService' ;
19
20
import { AI_SERVICE } from ' $lib/ai/service' ;
20
21
import { CLIPBOARD_SERVICE } from ' $lib/backend/clipboard' ;
21
- import { CLAUDE_CODE_SERVICE } from ' $lib/codegen/claude' ;
22
22
import { projectAiGenEnabled } from ' $lib/config/config' ;
23
23
import { DEFAULT_FORGE_FACTORY } from ' $lib/forge/forgeFactory.svelte' ;
24
24
import { codegenPath } from ' $lib/routes/routes.svelte' ;
35
35
} from ' @gitbutler/ui' ;
36
36
37
37
import { tick } from ' svelte' ;
38
- import { goto } from ' $app/navigation' ;
39
38
import type { AnchorPosition , BranchDetails } from ' $lib/stacks/stack' ;
40
39
41
40
type Props = {
62
61
const promptService = inject (PROMPT_SERVICE );
63
62
const urlService = inject (URL_SERVICE );
64
63
const clipboardService = inject (CLIPBOARD_SERVICE );
65
- const claudeCodeService = inject (CLAUDE_CODE_SERVICE );
66
64
const [insertBlankCommitInBranch, commitInsertion] = stackService .insertBlankCommit ;
67
65
const [updateBranchNameMutation] = stackService .updateBranchName ;
68
66
const [createRef, refCreation] = stackService .createReference ;
Original file line number Diff line number Diff line change 4
4
import CodegenPage from ' $components/codegen/CodegenPage.svelte' ;
5
5
import { codegenEnabled } from ' $lib/config/uiFeatureFlags' ;
6
6
import { workspacePath } from ' $lib/routes/routes.svelte' ;
7
- import { UI_STATE } from ' $lib/state/uiState.svelte' ;
8
7
import { STACK_SERVICE } from ' $lib/stacks/stackService.svelte' ;
8
+ import { UI_STATE } from ' $lib/state/uiState.svelte' ;
9
9
import { inject } from ' @gitbutler/core/context' ;
10
10
11
11
// TODO: Refactor so we don't need non-null assertion.
You can’t perform that action at this time.
0 commit comments