Commit Graph

4896 Commits

Author SHA1 Message Date
Mark IJbema 6545522f67 Merge branch 'main' into fix/bedrock-empty-text-filtering-markers 2026-04-09 15:55:14 +02:00
Mark IJbema 348c5c9ace Merge pull request #6757 from 0xCybin/fix/bedrock-empty-text-filtering
fix: apply empty-text content filtering to Bedrock Claude models
2026-04-09 15:55:09 +02:00
kiloconnect[bot] 46f450a84f fix(cli): expand kilocode_change markers to cover all changed lines
The annotation CI check requires all diff lines in shared opencode
files to be inside kilocode_change marker blocks. Move the start
marker above the modified comment so every changed line is covered.
2026-04-09 13:47:22 +00:00
Mark IJbema b27e628c6b Merge pull request #8644 from Kilo-Org/fix/unconditional-task-deny-subagents
fix(cli): unconditionally deny task tool for all subagent sessions
2026-04-09 15:44:43 +02:00
kiloconnect[bot] 060822724e refactor(cli): add kilocode_change markers and extract bedrock tests
Add kilocode_change markers to the Bedrock Claude condition in
transform.ts to ease upstream merges. Move the bedrock-specific
tests to test/kilocode/ so the shared transform.test.ts stays
closer to upstream and reduces merge conflicts.
2026-04-09 13:32:11 +00:00
kiloconnect[bot] ca2177d937 fix(cli): move kilocode_change marker to cover all changed lines 2026-04-09 12:17:35 +00:00
Mark IJbema b88377b94c Merge branch 'main' into fix/bedrock-empty-text-filtering 2026-04-09 14:11:19 +02:00
Mark IJbema cd3e47f3ee Merge branch 'main' into fix/windows-plugin-display 2026-04-09 14:08:37 +02:00
kiloconnect[bot] 424244c668 fix(cli): add kilocode_change markers and reject primary agents in task tool
- Add runtime check to reject mode=primary agents from being used as subagents
- Add kilocode_change markers to the unconditional task deny block and task:false tool override
- Add kilocode_change markers around the primary agent mode check
2026-04-09 10:51:53 +00:00
kiloconnect[bot] 56a0620118 fix(cli): unconditionally deny task tool for all subagent sessions
Remove the allowsTask conditional that let subagents spawn further
subagents when their merged permissions contained task: allow. This
closes the infinite recursion hole where agents could create unbounded
chains of child sessions (e.g. via user config or cross-agent loops).

The task tool is now always denied in subagent sessions and always
removed from the LLM tool list, regardless of agent permissions.
Primary agents are unaffected — they retain full task tool access.

Fixes #8637
2026-04-09 08:56:44 +00:00
Mark IJbema ca82fef029 Merge pull request #8622 from Kilo-Org/session/agent_fd113925-e251-4aeb-9994-36efd3ebf0bd
fix(cli): prevent JDTLS from creating Eclipse metadata files in project root
2026-04-09 10:53:06 +02:00
Mark IJbema 960ba0d980 Merge pull request #8320 from Kilo-Org/session/agent_a1012ae8-de00-4e83-bbb2-0b203e7ed84d
fix(cli): strengthen Ask mode prompt with supersedes language
2026-04-09 10:45:42 +02:00
kiloconnect[bot] 3cd8a6dc03 fix(cli): prevent JDTLS from creating Eclipse metadata files in project root
Pass -Djava.import.generatesMetadataFilesAtProjectRoot=false as a JVM
system property when spawning JDTLS. This tells JDTLS to store metadata
files (.classpath, .project, .settings/) in its workspace data directory
instead of polluting the user's project root.

Fixes #8621
2026-04-08 19:28:35 +00:00
Catriel Müller 90970a215a feat: diff on edit/create files permission 2026-04-08 16:26:58 -03:00
Marian Alexandru Alecu 452b258d21 Merge pull request #8191 from Kilo-Org/feat/local-recall-tool
feat(cli): add local recall tool for cross-worktrees session search
2026-04-08 20:28:20 +03:00
Marian Alexandru Alecu b3a270b9ea Merge pull request #7764 from Kilo-Org/feat/allow-everything
feat(cli): add allow everything permission
2026-04-08 20:25:30 +03:00
Kirill Kalishev e18e94ecdb Merge pull request #8528 from Kilo-Org/caring-columnist
perf: targeted startup performance wins (parallel model fetches + event-driven webview hydration)
2026-04-08 12:32:57 -04:00
kilo-maintainer[bot] 31e1981361 release: v7.2.1 2026-04-08 16:32:13 +00:00
Kirill Kalishev 253788e9e2 Merge branch 'main' into caring-columnist 2026-04-08 12:30:37 -04:00
kirillk 6b81526c1c fix(cli): resolve org ID from OAuth auth accountId with comment 2026-04-08 12:29:19 -04:00
Marian Alexandru Alecu 0043be3db4 Merge branch 'main' into feat/allow-everything 2026-04-08 19:19:33 +03:00
Marian Alexandru Alecu 8365abc782 Merge branch 'main' into feat/local-recall-tool 2026-04-08 19:19:17 +03:00
Alex Alecu 21531ce6c6 fix(cli): add missing kilocode_change annotations 2026-04-08 19:11:44 +03:00
kiloconnect[bot] 0545a38b8e fix(cli): add kilocode_change marker to prompt flexShrink prop
The flexShrink={0} addition from #6458 modifies shared upstream code
but was missing the required kilocode_change annotation.
2026-04-08 16:08:52 +00:00
Alex Alecu 3948bb3f81 fix(cli): skip config-protected prompts in drain loop 2026-04-08 18:57:45 +03:00
Alex Alecu 6bb47302dd Merge remote-tracking branch 'origin/main' into feat/local-recall-tool
# Conflicts:
#	script/check-opencode-annotations.ts
2026-04-08 18:56:24 +03:00
Alex Alecu f0e086313b Merge branch 'feat/allow-everything' of https://github.com/Kilo-Org/kilocode into feat/allow-everything 2026-04-08 18:54:09 +03:00
Alex Alecu c9ed1097d7 fix(cli): skip permission prompt for same-project recall reads 2026-04-08 18:51:35 +03:00
Alex Alecu 758a6582fe refactor(cli): move allow-everything route to kilocode directory
Move the /allow-everything endpoint from the shared permission routes
into packages/opencode/src/kilocode/permission/routes.ts to reduce diff
with upstream and ease future merges.
2026-04-08 18:50:49 +03:00
Kirill Kalishev 28dcea9237 Merge branch 'main' into caring-columnist 2026-04-08 11:46:26 -04:00
Mark IJbema 54e57d3414 Merge branch 'main' into session/agent_58776529-50a0-40ff-9d78-3f2f7e4d28b6 2026-04-08 17:19:33 +02:00
Alex Alecu 06c98f8ec5 chore(cli): wrap formatSessionJSON in kilocode_change block
The CI base SHA differs from local main, causing additional lines
in formatSessionJSON to be flagged. Wrapping the entire function
in a block annotation covers all possible diff boundaries.
2026-04-08 16:46:38 +03:00
Jackson Kasi 9d73e4ca12 fix: preserve write tool alongside apply_patch for gpt-5 models 2026-04-08 15:45:14 +02:00
Alex Alecu 42448f98cd chore(cli): add missing kilocode_change annotations
Add kilocode_change markers to all Kilo-specific changes in shared
opencode files to pass the check-opencode-annotations CI check.
Also bring in the workflow and script from main.
2026-04-08 16:43:45 +03:00
Alex Alecu afc858af68 fix(cli): resolve worktree folder name for session list labels
Instead of path.basename(session.directory) which shows the working
directory name (e.g. 'opencode' for sessions in packages/opencode/),
resolve the actual worktree root by matching against WorktreeFamily.list()
directories. This shows the correct worktree folder name (e.g. 'kilocode',
'cross-session-conflict') matching git worktree list output.
2026-04-08 16:26:25 +03:00
Alex Alecu b89513fd8d feat(cli): show worktree labels in session list with ctrl+a filter
Show all worktree sessions by default with directory basename labels.
ctrl+a toggles to current worktree only. Uses experimental endpoint
exclusively — no shared OpenCode code changes.
2026-04-08 16:16:27 +03:00
Marian Alexandru Alecu 5597e1cfc1 Merge branch 'main' into feat/allow-everything 2026-04-08 15:58:19 +03:00
Kirill Kalishev 5ccceb5a93 Merge branch 'main' into caring-columnist 2026-04-08 08:52:54 -04:00
Marian Alexandru Alecu 242c167171 Merge pull request #8504 from Kilo-Org/feat/help-all-command
feat: add kilo help --all command and auto-generated CLI reference docs
2026-04-08 14:46:51 +03:00
Evgeny Shurakov a11ab3a938 Merge pull request #8539 from Kilo-Org/eshurakov/telemetry-remote-connection-v2
Cli - Track remote connection opened event in PostHog
2026-04-08 13:39:09 +02:00
Alex Alecu 0697217d13 fix(cli): strengthen sync test and add missing ConfigCLICommand 2026-04-08 14:30:09 +03:00
Marius 850826a2be fix(cli): align /local-review diff with agent manager diff viewer (#8574)
The /local-review command used git diff base...HEAD (triple-dot) which only
captured committed changes. The diff viewer uses merge-base + two-dot diff
against the working tree. This mismatch caused /local-review to show
'nothing to review' when changes were uncommitted.

Now computes merge-base explicitly and diffs the working tree against it,
matching WorktreeDiff behavior. Also includes untracked files.
2026-04-08 11:05:06 +00:00
Alex Alecu fb5d85e2e5 fix(cli): make 'kilo help' show same output as 'kilo -h' 2026-04-08 13:57:25 +03:00
Alex Alecu 8327300881 Merge remote-tracking branch 'origin/main' into feat/help-all-command
# Conflicts:
#	packages/opencode/src/index.ts
2026-04-08 12:10:48 +03:00
Alex Alecu a0a1ffa744 Merge branch 'main' into feat/help-all-command 2026-04-08 12:07:21 +03:00
Alex Alecu 7ecc076397 fix(cli): restore native --help for subcommands 2026-04-08 12:07:12 +03:00
Alex Alecu 83e8bbef8f Merge remote-tracking branch 'origin/main' into fix/cli-config-resilience
# Conflicts:
#	packages/opencode/src/kilocode/skills/kilo-config.md
2026-04-08 11:53:52 +03:00
Marian Alexandru Alecu e3bade8319 Merge pull request #8474 from Kilo-Org/docs/kilo-config-legacy-paths
docs(cli): add legacy paths to kilo-config skill
2026-04-08 11:50:02 +03:00
Alex Alecu 0a2c10956e style(cli): add kilocode markers on mode block 2026-04-08 11:48:10 +03:00
Alex Alecu cef00b9df3 style(cli): add kilocode markers on agent block 2026-04-08 11:47:50 +03:00