Skip to content

Commit da03644

Browse files
committed
refactor(amazonq): Removing unwanted / agents code
1 parent e73a386 commit da03644

38 files changed

+13
-4818
lines changed

packages/core/src/amazonq/indexNode.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* These agents have underlying requirements on node dependencies (e.g. jsdom, admzip)
88
*/
99
export { init as cwChatAppInit } from '../codewhispererChat/app'
10-
export { init as featureDevChatAppInit } from '../amazonqFeatureDev/app'
10+
export { init as featureDevChatAppInit } from '../amazonqFeatureDev/app' // TODO: Remove this
1111
export { init as gumbyChatAppInit } from '../amazonqGumby/app'
12-
export { init as testChatAppInit } from '../amazonqTest/app'
13-
export { init as docChatAppInit } from '../amazonqDoc/app'
12+
export { init as docChatAppInit } from '../amazonqDoc/app' // TODO: Remove this

packages/core/src/amazonq/webview/ui/apps/amazonqCommonsConnector.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@ import { ChatItem, ChatItemAction, ChatItemType, ChatPrompt } from '@aws/mynah-u
77
import { ExtensionMessage } from '../commands'
88
import { AuthFollowUpType } from '../followUps/generator'
99
import { getTabCommandFromTabType, isTabType, TabType } from '../storages/tabsStorage'
10-
import {
11-
docUserGuide,
12-
userGuideURL as featureDevUserGuide,
13-
helpMessage,
14-
reviewGuideUrl,
15-
testGuideUrl,
16-
} from '../texts/constants'
10+
import { helpMessage, reviewGuideUrl } from '../texts/constants'
1711
import { linkToDocsHome } from '../../../../codewhisperer/models/constants'
1812
import { createClickTelemetry, createOpenAgentTelemetry } from '../telemetry/actions'
1913

@@ -110,18 +104,9 @@ export class Connector {
110104
private processUserGuideLink(tabType: TabType, actionId: string) {
111105
let userGuideLink = ''
112106
switch (tabType) {
113-
case 'featuredev':
114-
userGuideLink = featureDevUserGuide
115-
break
116-
case 'testgen':
117-
userGuideLink = testGuideUrl
118-
break
119107
case 'review':
120108
userGuideLink = reviewGuideUrl
121109
break
122-
case 'doc':
123-
userGuideLink = docUserGuide
124-
break
125110
case 'gumby':
126111
userGuideLink = linkToDocsHome
127112
break

packages/core/src/amazonq/webview/ui/apps/docChatConnector.ts

Lines changed: 0 additions & 226 deletions
This file was deleted.

0 commit comments

Comments
 (0)