Skip to content
Open
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
3 changes: 1 addition & 2 deletions chat-client-ui-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"author": "Amazon Web Services",
"license": "Apache-2.0",
"dependencies": {
"@aws/language-server-runtimes-types": "^0.1.56",
"@local/language-server-runtimes-generated-types": "file:../types/codegen/generated/typescript"
"@aws/language-server-runtimes-types": "^0.1.56"
}
}
7 changes: 4 additions & 3 deletions chat-client-ui-types/src/uiContracts.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import { OPEN_TAB_REQUEST_METHOD, GET_SERIALIZED_CHAT_REQUEST_METHOD } from '@aws/language-server-runtimes-types'
import {
InsertToCursorPositionParams,
ChatOptions,
CodeSelectionType,
ReferenceTrackerInformation,
OPEN_TAB_REQUEST_METHOD,
OpenTabResult,
GET_SERIALIZED_CHAT_REQUEST_METHOD,
GetSerializedChatResult,
ChatPrompt,
OpenFileDialogParams,
DropFilesParams,
} from '@local/language-server-runtimes-generated-types'
export { InsertToCursorPositionParams } from '@local/language-server-runtimes-generated-types'
} from '@aws/language-server-runtimes-types'
export { InsertToCursorPositionParams } from '@aws/language-server-runtimes-types'

export type AuthFollowUpType = 'full-auth' | 're-auth' | 'missing_scopes' | 'use-supported-auth'
export function isValidAuthFollowUpType(value: string): value is AuthFollowUpType {
Expand Down
16 changes: 1 addition & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion runtimes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
},
"dependencies": {
"@aws/language-server-runtimes-types": "^0.1.56",
"@local/language-server-runtimes-generated-types": "file:../types/codegen/generated/typescript",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/api-logs": "^0.200.0",
"@opentelemetry/core": "^2.0.0",
Expand Down
80 changes: 40 additions & 40 deletions runtimes/protocol/chat.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
import {
ChatParams,
ChatResult,
EndChatParams,
EndChatResult,
FeedbackParams,
FollowUpClickParams,
InfoLinkClickParams,
InsertToCursorPositionParams,
LinkClickParams,
QuickActionParams,
SourceLinkClickParams,
TabAddParams,
TabChangeParams,
TabRemoveParams,
ProtocolNotificationType,
ProtocolRequestType,
CHAT_REQUEST_METHOD,
Expand All @@ -15,77 +29,63 @@ import {
TAB_CHANGE_NOTIFICATION_METHOD,
TAB_REMOVE_NOTIFICATION_METHOD,
AutoParameterStructuresProtocolRequestType,
OPEN_TAB_REQUEST_METHOD,
CHAT_UPDATE_NOTIFICATION_METHOD,
FILE_CLICK_NOTIFICATION_METHOD,
INLINE_CHAT_REQUEST_METHOD,
CONTEXT_COMMAND_NOTIFICATION_METHOD,
CREATE_PROMPT_NOTIFICATION_METHOD,
INLINE_CHAT_RESULT_NOTIFICATION_METHOD,
PINNED_CONTEXT_NOTIFICATION_METHOD,
LIST_CONVERSATIONS_REQUEST_METHOD,
CONVERSATION_CLICK_REQUEST_METHOD,
GET_SERIALIZED_CHAT_REQUEST_METHOD,
TAB_BAR_ACTION_REQUEST_METHOD,
CHAT_OPTIONS_UPDATE_NOTIFICATION_METHOD,
PROMPT_INPUT_OPTION_CHANGE_METHOD,
BUTTON_CLICK_REQUEST_METHOD,
LIST_MCP_SERVERS_REQUEST_METHOD,
MCP_SERVER_CLICK_REQUEST_METHOD,
RULE_CLICK_REQUEST_METHOD,
LIST_RULES_REQUEST_METHOD,
PINNED_CONTEXT_ADD_NOTIFICATION_METHOD,
PINNED_CONTEXT_REMOVE_NOTIFICATION_METHOD,
ACTIVE_EDITOR_CHANGED_NOTIFICATION_METHOD,
OPEN_FILE_DIALOG_METHOD,
ChatParams,
ChatResult,
EndChatParams,
EndChatResult,
FeedbackParams,
FollowUpClickParams,
InfoLinkClickParams,
InsertToCursorPositionParams,
LinkClickParams,
QuickActionParams,
SourceLinkClickParams,
TabAddParams,
TabChangeParams,
TabRemoveParams,
EncryptedChatParams,
EncryptedQuickActionParams,
QuickActionResult,
OPEN_TAB_REQUEST_METHOD,
OpenTabParams,
OpenTabResult,
CHAT_UPDATE_NOTIFICATION_METHOD,
FILE_CLICK_NOTIFICATION_METHOD,
ChatUpdateParams,
FileClickParams,
INLINE_CHAT_REQUEST_METHOD,
InlineChatParams,
InlineChatResult,
CONTEXT_COMMAND_NOTIFICATION_METHOD,
ContextCommandParams,
CREATE_PROMPT_NOTIFICATION_METHOD,
CreatePromptParams,
INLINE_CHAT_RESULT_NOTIFICATION_METHOD,
PINNED_CONTEXT_NOTIFICATION_METHOD,
InlineChatResultParams,
ListConversationsParams,
ListConversationsResult,
LIST_CONVERSATIONS_REQUEST_METHOD,
ConversationClickParams,
ConversationClickResult,
CONVERSATION_CLICK_REQUEST_METHOD,
GetSerializedChatParams,
GetSerializedChatResult,
GET_SERIALIZED_CHAT_REQUEST_METHOD,
TabBarActionParams,
TabBarActionResult,
TAB_BAR_ACTION_REQUEST_METHOD,
ChatOptionsUpdateParams,
CHAT_OPTIONS_UPDATE_NOTIFICATION_METHOD,
PromptInputOptionChangeParams,
PROMPT_INPUT_OPTION_CHANGE_METHOD,
ButtonClickParams,
ButtonClickResult,
BUTTON_CLICK_REQUEST_METHOD,
ListMcpServersParams,
ListMcpServersResult,
ListRulesResult,
RuleClickResult,
PinnedContextParams,
LIST_MCP_SERVERS_REQUEST_METHOD,
McpServerClickParams,
McpServerClickResult,
MCP_SERVER_CLICK_REQUEST_METHOD,
ListRulesParams,
RuleClickParams,
RULE_CLICK_REQUEST_METHOD,
LIST_RULES_REQUEST_METHOD,
ListRulesResult,
RuleClickResult,
PinnedContextParams,
PINNED_CONTEXT_ADD_NOTIFICATION_METHOD,
PINNED_CONTEXT_REMOVE_NOTIFICATION_METHOD,
ActiveEditorChangedParams,
ACTIVE_EDITOR_CHANGED_NOTIFICATION_METHOD,
OPEN_FILE_DIALOG_METHOD,
OpenFileDialogParams,
OpenFileDialogResult,
LIST_AVAILABLE_MODELS_REQUEST_METHOD,
Expand Down
11 changes: 11 additions & 0 deletions types/codegen/generated/java/.openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
src/test/**
docs/**
api/**
README.md
.travis.yml
.github/**
gradle/**
gradlew*
build.gradle
git_push.sh
src/main/java/org/openapitools/client/auth/**
2 changes: 2 additions & 0 deletions types/codegen/generated/typescript/.openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore runtimes.ts file
src/runtime.ts
1 change: 1 addition & 0 deletions types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@ export {
OpenWorkspaceFileParams,
OpenWorkspaceFileResult,
} from './workspace'
export * from './codegen/generated/typescript/src'