Conversation
Deploying codecompanion with
|
| Latest commit: |
6433926
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://05c92063.codecompanion.pages.dev |
| Branch Preview URL: | https://develop.codecompanion.pages.dev |
|
Hello, I’ve been using the I’m not sure if this is the right PR for such comment. Please hide it if it’s not. |
|
@bassamsdata thanks for flagging this. I've actually added a test mode to CodeCompanion that you can enable with: opts = {
log_level = "DEBUG",
test_mode = true,
},And enabled an inline diff with |
|
Oh, very nice mode! I have reproducible steps:
Screen.Recording.2026-01-29.at.6.10.22.PM.mp4edit: just small typo |
|
I followed up on the namespace lifecycle and found that, for some reason, the namespace clear may not be executed when it's inside the However, moving line |
|
@bassamsdata would you be willing to PR this? I'm a few days away from being able to look at this fully. |
|
I was mistaken in my initial debugging; it turns out the autocommands are the issue. PR #2709. |
|
I've been testing this branch regularly while building a fairly large new extension, and I wanted to share a couple of things I've noticed in the latest version. When using tools like I just noticed the tools refactor in #2740 👀, this will probably break my heart 😂. I'm looking forward to testing the new tools API 🙂 |
|
Thanks for the heads up @bassamsdata. Firstly, I won't merge this until yourself, David (VectorCode) and Ravitemer (MCPHub) have updated your individual plugins and given it the green light. I've added Regarding the Copilot issue...there have been some issues with it over on https://www.githubstatus.com recently. The fact there's no output or no response seems very odd and makes me think it is likely to be a server issue. Not to say CodeCompanion is always faultless but when it fails it usually does so with a big error message or something explosive 😆. |
|
Is it possible to provide a prompt to help users check & migrate their config or extension code before a breaking release? (And I think this prompt could be generated from PRs as well.) |
|
I ask users to pin to a major release throughout the docs and I include an upgrade guide if they do decide to make the move. So they have full control over whether they accept the breaking changes or not. For most users, a release like this and v18 won't impact them. It's mainly the plugin authors and to that extent, I work with them directly. I very much like the idea of a prompt to help them upgrade though. I will add that in! |
That timing was very coincidental for me. Right after I pulled the latest version of
That's exactly what I love about CC 😄 |
* wip * wip --------- Co-authored-by: Oli Morris <olimorris@users.noreply.github.com>
Co-authored-by: Oli Morris <olimorris@users.noreply.github.com>
…ommand` (#2754) * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip --------- Co-authored-by: Oli Morris <olimorris@users.noreply.github.com>
|
After working with this branch for a while, I wanted to share a few observations:
Is this expected behavior, or could there be an issue in the hunk calculation logic? The relevant code example is included below. Screen.Recording.2026-02-13.at.6.59.24.PM.mp4Code example# Slow bubble-sort implementation
def bubble_sort(arr):
n = len(arr)
for i in range(n):
for j in range(0, n - i - 1):
if arr[j] > arr[j + 1]:
# swap
arr[j], arr[j + 1] = arr[j + 1], arr[j]
return arr
## ---------------------------------
# Fast built-in sort
def bubble_sort(arr):
"""Use Python's Timsort for O(n log n) performance."""
return sorted(arr)
Happy to dig into any of this further if helpful. |
|
@bassamsdata probably worth turning this into a separate issue so that I can take a look |
Co-authored-by: Oli Morris <olimorris@users.noreply.github.com>
Co-authored-by: Oli Morris <olimorris@users.noreply.github.com>
Co-authored-by: Oli Morris <olimorris@users.noreply.github.com>
wip Co-authored-by: Oli Morris <olimorris@users.noreply.github.com>
Description
This PR will be for
v19.0.0which promises some exciting new features alongside breaking changes. Planned upgrade guide can be found in the Cloudflare comment below.list_code_usagestool (remove list-code-usages tool #2693)variablestoeditor context#2719)cmd_runnertool has been renamedrun_command(feat(tools): add cmd_runner factory and rename cmd_runner to run_command #2754)on_before_submitcallback #2760)AI Usage
See individual PRs
Screenshots
See individual PRs
Checklist
make allto ensure docs are generated, tests pass and StyLua has formatted the code