github intitni/CopilotForXcode 0.35.0

latest releases: 0.35.2, 0.35.1
one month ago

instruction

This release focuses on the chat and modification features.

Chat

Learn More

  • Updated prompt to make use of prompt caching from OpenAI and Anthropic.

Note

Prompt caching for Anthropic through OpenRouter is not supported yet.

  • Added the new chat tab to replace the old one.

    The old chat tab will not be automatically converted to the new one, so you need to manually start a new chat.

  • New chat UI that should be more readable.

  • New input field that comes with a context picker that allows you to better control the context of the chat.

    context-input
    • You can add context by clicking the + button and remove context by clicking the x button. You can also use the @ to add a context, the app will show the context list as you type.
    • (Plus, free trial) Unlimited contexts.
  • Display the file name of code block if detected.

  • Added apply button to code block to apply the suggested code to selection or active document.

apply-button

Note

This feature relies on the modification feature, so it doesn't work without a chat model yet.

  • Added create file button to code block to create a new file with the suggested code if the file doesn't exist yet.
  • Added run button to code block if the code block is a shell command or AppleScript.
run-button
  • Updated the copy button to draggable one so you can drag the button to the file tree to create a new file with the code block content.

Tip

Just in case you don't know, you can paste the code into the Xcode file tree to create a new file since Xcode 16.

  • (Plus, free trial) Send message to a specific agent using the @ symbol. But there is only one extra agent for now @casual.
  • (Plus, free trial) Send message without waiting for the response to complete.
  • The custom command will behave differently now. The extra system prompt will now be injected into the context as a topic. Topics will be put into the system prompt.
  • You can still use / to run a command.
  • Updated @sense scope behavior.
  • Updated @web scope to be RAG based.
  • Removed the scope settings from the host app. The settings are now in the context picker. You can click the added context to configure each context.
  • The custom system prompt will now be appended to the default system prompt. The default system prompt contains a bunch of rules about the response format, so you don't need to include those rules in the custom system prompt.

Modification

Learn More

  • Updated prompt to make use of prompt caching from OpenAI and Anthropic.
  • The same new input field that comes with a context picker that allows you to better control the context of the modification.
  • Display modifications in full diff.
  • Updated the copy button to draggable one so you can drag the button to the file tree to create a new file with the code block content.

Others

  • Added custom header field settings for OpenAI compatible models.
  • Added dimension settings for the embedding model.
  • Fix that the embedding feature doesn't work with models that has a different embedding dimension than the default one.
  • Fix that the web content retrieval always wait for the timeout.

Don't miss a new CopilotForXcode release

NewReleases is sending notifications on new releases.