Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integrations #291

Merged
merged 8 commits into from
Jan 14, 2025
Merged

Add integrations #291

merged 8 commits into from
Jan 14, 2025

Conversation

MarcMcIntosh
Copy link
Collaborator

Pull Request Title

Description

  • What was the problem?
  • How did you solve it?
  • Any background context or related links?

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (no functional changes, only code improvements)
  • Documentation update

How to Test

  • Step 1:
  • Step 2:
  • ...

Screenshots (if applicable)

Screenshot description

Checklist

  • My code follows the code style of this project.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • Any dependent changes have been merged and published in downstream modules.
  • I have updated the documentation where necessary.

Linked Issues

Additional Notes

alashchev17 and others added 7 commits December 13, 2024 16:56
 Conflicts:
	src/components/IntegrationsView/IntegrationDocker/IntegrationDocker.tsx
	src/components/IntegrationsView/IntegrationForm/IntegrationForm.tsx
	src/components/IntegrationsView/IntegrationsView.tsx
	src/features/Integrations/renderIntegrationFormField.tsx
	src/services/refact/integrations.ts

 Changes to be committed:
	modified:   .gitignore
	modified:   package-lock.json
	modified:   package.json
	modified:   src/__fixtures__/chat_config_thread.ts
	modified:   src/__fixtures__/chat_links_response.ts
	modified:   src/__fixtures__/integrations.ts
	modified:   src/__fixtures__/msw.ts
	modified:   src/__tests__/PinMessages.test.tsx
	new file:   src/__tests__/isAbsolutePath.test.ts
	modified:   src/app/middleware.ts
	modified:   src/app/store.ts
	modified:   src/components/Buttons/Buttons.tsx
	modified:   src/components/Buttons/index.tsx
	modified:   src/components/Callout/Callout.module.css
	modified:   src/components/Callout/Callout.tsx
	modified:   src/components/Chat/Chat.stories.tsx
	modified:   src/components/Chat/Chat.tsx
	modified:   src/components/ChatContent/AssistantInput.tsx
	modified:   src/components/ChatContent/ChatContent.stories.tsx
	modified:   src/components/ChatContent/ChatContent.tsx
	modified:   src/components/ChatContent/ContextFiles.tsx
	modified:   src/components/ChatContent/PlaceHolderText.tsx
	modified:   src/components/ChatContent/useAutoScroll.ts
	modified:   src/components/ChatForm/ChatControls.tsx
	modified:   src/components/ChatForm/ChatForm.stories.tsx
	modified:   src/components/ChatForm/ChatForm.test.tsx
	modified:   src/components/ChatForm/ChatForm.tsx
	modified:   src/components/ChatForm/PromptSelect.tsx
	modified:   src/components/ChatForm/RetryForm.tsx
	modified:   src/components/ChatForm/ToolConfirmation.module.css
	modified:   src/components/ChatForm/ToolConfirmation.tsx
	modified:   src/components/ChatForm/ToolUseSwitch.tsx
	modified:   src/components/ChatForm/actions.ts
	modified:   src/components/ChatForm/useCheckBoxes.ts
	modified:   src/components/ChatForm/useInputValue.ts
	modified:   src/components/ChatForm/utils.ts
	modified:   src/components/ChatLinks/ChatLinks.module.css
	modified:   src/components/ChatLinks/ChatLinks.tsx
	new file:   src/components/ChatLinks/UncommittedChangesWarning.tsx
	modified:   src/components/ChatLinks/index.ts
	new file:   src/components/IntegrationsView/Confirmation/Confirmation.tsx
	new file:   src/components/IntegrationsView/Confirmation/index.ts
	modified:   src/components/IntegrationsView/IntegrationDeletePopover.tsx
	new file:   src/components/IntegrationsView/IntegrationDocker/IntegrationDocker.module.css
	modified:   src/components/IntegrationsView/IntegrationDocker/IntegrationDocker.tsx
	modified:   src/components/IntegrationsView/IntegrationForm/IntegrationAvailability.tsx
	modified:   src/components/IntegrationsView/IntegrationForm/IntegrationForm.module.css
	modified:   src/components/IntegrationsView/IntegrationForm/IntegrationForm.tsx
	modified:   src/components/IntegrationsView/IntegrationsHeader.module.css
	modified:   src/components/IntegrationsView/IntegrationsHeader.tsx
	new file:   src/components/IntegrationsView/IntegrationsTable/ConfirmationTable.module.css
	new file:   src/components/IntegrationsView/IntegrationsTable/ConfirmationTable.tsx
	new file:   src/components/IntegrationsView/IntegrationsTable/DefaultCell.tsx
	new file:   src/components/IntegrationsView/IntegrationsTable/ParametersTable.tsx
	modified:   src/components/IntegrationsView/IntegrationsView.tsx
	modified:   src/components/IntegrationsView/IntermediateIntegration/IntermediateIntegration.tsx
	modified:   src/components/Markdown/CodeBlock.tsx
	modified:   src/components/Markdown/Markdown.module.css
	modified:   src/components/Markdown/Markdown.tsx
	modified:   src/components/Select/Select.stories.tsx
	modified:   src/components/Select/Select.tsx
	modified:   src/components/SmartLink/SmartLink.tsx
	modified:   src/components/Toolbar/Dropdown.tsx
	modified:   src/components/Toolbar/Toolbar.tsx
	modified:   src/debugConfig.ts
	new file:   src/features/AgentUsage/AgentUsage.module.css
	new file:   src/features/AgentUsage/AgentUsage.stories.tsx
	new file:   src/features/AgentUsage/AgentUsage.tsx
	new file:   src/features/AgentUsage/agentUsageSlice.ts
	new file:   src/features/AgentUsage/index.ts
	modified:   src/features/Chat/Chat.test.tsx
	modified:   src/features/Chat/Chat.tsx
	modified:   src/features/Chat/Thread/actions.ts
	modified:   src/features/Chat/Thread/reducer.ts
	modified:   src/features/Chat/Thread/selectors.ts
	modified:   src/features/Chat/Thread/types.ts
	modified:   src/features/Chat/Thread/utils.ts
	modified:   src/features/Config/configSlice.ts
	modified:   src/features/History/historySlice.ts
	modified:   src/features/Integrations/Integrations.tsx
	new file:   src/features/Integrations/convertRawIntegrationFormValues.ts
	modified:   src/features/Integrations/renderIntegrationFormField.tsx
	modified:   src/features/Pages/pagesSlice.ts
	modified:   src/features/ToolConfirmation/confirmationSlice.ts
	modified:   src/hooks/index.ts
	new file:   src/hooks/useAgentUsage.ts
	modified:   src/hooks/useCanUseTools.ts
	new file:   src/hooks/useCapsForToolUse.ts
	modified:   src/hooks/useGetCapsQuery.ts
	modified:   src/hooks/useGoToLink.ts
	modified:   src/hooks/useLinksFromLsp.ts
	modified:   src/hooks/useSendChatRequest.ts
	modified:   src/hooks/useSmartLinks.ts
	modified:   src/services/refact/caps.ts
	modified:   src/services/refact/chat.ts
	modified:   src/services/refact/integrations.ts
	modified:   src/services/refact/links.ts
	modified:   src/services/refact/prompts.ts
	modified:   src/services/refact/tools.ts
	modified:   src/services/refact/types.ts
	new file:   src/utils/extractLinkFromPuzzle.ts
	modified:   src/utils/fencedBackticks.ts
	new file:   src/utils/validateSnakeCase.ts
	modified:   src/vite-env.d.ts
	modified:   vite.config.ts
@MarcMcIntosh MarcMcIntosh marked this pull request as ready for review January 14, 2025 12:03
@alashchev17
Copy link
Collaborator

Mostly looks good, just add .refact directory to .prettierignore and we'll merge this one :)

@MarcMcIntosh MarcMcIntosh merged commit 7aa2163 into alpha Jan 14, 2025
2 checks passed
@MarcMcIntosh MarcMcIntosh deleted the add_integrations branch January 14, 2025 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants