Commit Graph

24008 Commits

Author SHA1 Message Date
marius-kilocode d60d6e0409 fix(vscode): isolate sandbox toggle save 2026-06-23 12:14:47 +02:00
marius-kilocode a2b3ae1c62 refactor(vscode): gate sandbox controls for developers 2026-06-23 11:50:29 +02:00
marius-kilocode 6287d20ed5 revert(vscode): restore experimental sandbox controls 2026-06-23 11:08:37 +02:00
marius-kilocode 330e44eae8 refactor(vscode): hide experimental sandbox controls 2026-06-23 10:32:27 +02:00
marius-kilocode a47617f48a refactor(sandbox): simplify capability implementation 2026-06-22 23:29:18 +02:00
marius-kilocode a37d3bf1f0 fix(cli): preserve encoding after formatting 2026-06-22 21:12:55 +02:00
marius-kilocode 6a8961e036 fix(sandbox): keep permissions outside confinement policy 2026-06-22 20:35:20 +02:00
marius-kilocode c55e804c1c refactor(sandbox): centralize agent capability enforcement 2026-06-22 20:02:38 +02:00
marius-kilocode 1c3cc57593 feat(i18n): add sandbox translations for all languages 2026-06-22 17:34:59 +02:00
github-actions[bot] cc6fe0fe3f chore: update kilo-vscode visual regression baselines 2026-06-22 15:10:56 +00:00
marius-kilocode b3050cbffd feat(cli): add macOS file-level sandbox for agent tools
Add an OS-level sandbox that confines agent writes to the project and Kilo
state directories. Currently macOS-only (via sandbox-exec/seatbelt), with
Linux, Windows, network isolation, and worktree isolation deferred to
follow-up issues (#11538, #11540, #11542, #11544, #11546, #11547).

Two enforcement layers:
- Bash tool: kernel-level seatbelt confinement via sandbox-exec
- File tools (write/edit/apply_patch): TS-level AppFileSystem layer wrapper

Both share the same configurable scope, which respects existing permission
config (external_directory allows, project sandboxes).

Opt-in via experimental.sandbox config toggle or the lock button in the
prompt input.
2026-06-22 17:06:51 +02:00
kilo-maintainer[bot] d378114b8b chore: update nix node_modules hashes 2026-06-22 09:28:56 +00:00
kilo-maintainer[bot] e3da86822f release: v7.3.52 2026-06-22 09:15:48 +00:00
Marius 9e0d693f1f Merge pull request #11468 from Kilo-Org/smoggy-thunder
feat(cli): search local session transcripts
2026-06-22 11:06:13 +02:00
Imanol Maiztegui 1961f6363f Merge pull request #11450 from Kilo-Org/imanolmaiztegui/kilo-opencode-v1.15.13
OpenCode v1.15.13
2026-06-22 10:52:59 +02:00
kilo-maintainer[bot] 2e89ea4027 release: v7.3.51 v7.3.51 2026-06-22 08:45:30 +00:00
marius-kilocode 8cac9f043c test(cli): keep recall regression in kilo tests 2026-06-22 10:23:30 +02:00
marius-kilocode aaa9d324d2 fix(cli): preserve recall tail during queued turns 2026-06-22 10:19:50 +02:00
Catriel Müller a42413247c Merge pull request #11478 from Kilo-Org/talented-yttrium
feat(cli): improve daemon stop workflow
2026-06-20 09:33:27 -03:00
Catriel Müller ec0dd783a8 Merge pull request #10005 from Kilo-Org/catrielmuller/run-commands
feat(cli): support compact and summarize in kilo run --command
2026-06-19 18:17:43 -03:00
Imanol Maiztegui b43bd5e06a feat(worktree): walk ancestor directories when resolving primary checkout paths
Pass the active directory alongside the worktree root into primaryPaths
so it can mirror the relative path into the primary checkout and search
each ancestor up to the root in nearest-first order. This lets nested
subdirectories inherit config and skills from intermediate primary
directories rather than only the checkout root.
2026-06-19 23:15:49 +02:00
Catriel Müller 6e1f902d6a refactor: rebase 2026-06-19 17:54:55 -03:00
Catriel Müller 9611c8b1ef feat(cli): improve daemon stop workflow 2026-06-19 17:54:17 -03:00
kilo-maintainer[bot] 533c2017fa release: v7.3.50 v7.3.50 2026-06-19 18:12:57 +00:00
marius-kilocode 4c3aaf428a fix(cli): harden recall turn boundaries 2026-06-19 20:10:04 +02:00
Catriel Müller 1d030dcbbb feat(cli): support compact and summarize built-ins in kilo run --command
Mirror the TUI's /compact and /summarize slash commands so they can be
invoked from kilo run --command. Both map to the session summarize
endpoint and require an existing session via -c or -s.

The shared command-not-found hint now also lists these built-ins so
typos surface them alongside registered slash commands.
2026-06-19 15:05:58 -03:00
Catriel Müller a193a4fb7f Merge pull request #11026 from IamCoder18/cli-console-headless-display-check
cli: skip automatic browser launch for kilo console on headless Linux
2026-06-19 14:50:57 -03:00
Aarav Sharma e2ebf8b7c8 docs: add changeset for Linux display detection fix 2026-06-19 14:28:57 -03:00
Aarav Sharma b3abf09f6e cli: skip browser open for kilo console on headless Linux 2026-06-19 14:28:57 -03:00
Imanol Maiztegui 3eca0df900 refactor(indexing): batch boot effects into single runtime execution
Combine the sequential baselineDirectory and Config.Service calls
inside boot() into one Effect.gen block, reducing the number of
AppRuntime.runPromise invocations from two to one.
2026-06-19 19:11:03 +02:00
Imanol Maiztegui 7aaa25d97e feat(worktree): resolve primary checkout for config, skill, and session fallback
Introduce a primaryWorktree Effect that queries Git plumbing commands
to locate the main checkout from any linked worktree. Integrate it
into config loading so .kilo directory settings from the primary
checkout act as local-scoped fallbacks beneath the active worktree
and KILO_CONFIG_DIR overrides.

Wire primaryPaths into skill discovery so project skills installed in
the primary checkout appear as fallbacks unless overridden locally.
Refactor session family matching to consider sandbox directories and
filter out nested Git repositories when resolving worktree roots.

Convert baselineDirectory in indexing to an Effect that delegates to
primaryWorktree instead of reading Instance.project.worktree directly.
Restore the content() signal usage in the TUI text part renderer.

Provide Git.defaultLayer across all affected test layers and add
coverage for linked worktrees, submodules, paths with spaces, sandbox
project matching, and primary config directory precedence.
2026-06-19 18:54:51 +02:00
Catriel Müller be692aa530 Merge pull request #11028 from IamCoder18/cli-server-hostname-url-display
feat(server,daemon): display local and network URLs when binding to 0.0.0.0
2026-06-19 13:53:28 -03:00
Christiaan Arnoldus e7770cfb59 Merge pull request #11467 from Kilo-Org/fix/jetbrains-training-disclosure
fix(jetbrains): disclose prompt-training models
2026-06-19 18:39:15 +02:00
Catriel Müller e64a58060b refactor: fix kilo markers 2026-06-19 13:35:04 -03:00
Marius d8ceb9efbb Merge pull request #11475 from Kilo-Org/second-smile
fix(cli): preserve custom subagent permissions
2026-06-19 18:29:20 +02:00
marius-kilocode 3d4ccc25cf fix(cli): preserve custom subagent permissions 2026-06-19 18:12:29 +02:00
Christiaan Arnoldus f232e95a39 Merge pull request #11301 from Kilo-Org/console-explore-privacy-filter
feat(cli): add a privacy filter to Console model Explore
2026-06-19 17:22:47 +02:00
Marian Alexandru Alecu 0255a4a7eb Merge pull request #11155 from Kilo-Org/fix/local-review-scale-sub-agents
fix(cli): scale local-review sub-agents based on diff size and complexity
2026-06-19 18:03:00 +03:00
Catriel Müller 3babed6a5b refactor: fix windows test 2026-06-19 11:47:20 -03:00
Alex Alecu a0305b337b test(review): update prompt assertions 2026-06-19 17:45:47 +03:00
marius-kilocode 52523a736e fix(cli): escape recalled system directives 2026-06-19 16:30:55 +02:00
Catriel Müller 02bbf661b0 refactor: fix ipv6 2026-06-19 11:02:32 -03:00
marius-kilocode 0a3f51d2e4 perf(cli): scope local recall transcript scans 2026-06-19 15:51:53 +02:00
Catriel Müller d9bb823c7a refactor: address comments 2026-06-19 10:38:18 -03:00
Marian Alexandru Alecu db26772c67 Merge branch 'main' into fix/local-review-scale-sub-agents 2026-06-19 16:21:13 +03:00
Catriel Müller 646d2104cd Merge pull request #9795 from Fatty911/docs/chunk-idle-timeout-silent-dropout
docs(cli): propagate chunkTimeout to streamText and document provider options
2026-06-19 10:19:52 -03:00
Christiaan Arnoldus 55957a153f Merge pull request #11418 from Kilo-Org/docs/custom-provider-options
docs(vscode): clarify custom provider protocol selection
2026-06-19 15:14:52 +02:00
Aarav Sharma 0bbc33adca fix(server,daemon,u): annotate Kilo-specific upstream changes and resolve review findings
Move serverUrls helper into Kilo-owned src/kilocode/cli/ so it is exempt
from the annotation checker. Update all imports accordingly. Mark the
remaining Kilo-specific lines in shared upstream files with kilocode_change
markers: server.ts (Listener.urls field, import, and call sites), serve.ts
and web.ts (unified URL display blocks). Remove the circular self-import
of ./server in server.ts that was masking the intended upstream export.
Use server.urls directly in serve.ts and web.ts to avoid a redundant
networkInterfaces() call now that the Listener already carries the
precomputed values. Drop the incomplete 172.x.x.x Docker heuristic from
getNetworkIPs() and fall back to state.urls in console.ts for consistency.
2026-06-19 10:10:54 -03:00
Aarav Sharma a6ded9b60a feat(server,daemon): show local and network URLs for 0.0.0.0 binds
Extract shared serverUrls helper in cli/server-urls.ts that computes local,
network, and bind URLs based on the resolved hostname and port. Include
urls on the Listener type returned by server.listen(). Update serve, web,
daemon, and console commands to print Local/Network lines when logging a
non-loopback bind, and fall back to the existing single-line format for
loopback binds. Add a changeset for the user-visible output change.
2026-06-19 10:10:54 -03:00
Christiaan Arnoldus 30e62509b7 Merge branch 'main' into docs/custom-provider-options 2026-06-19 14:57:13 +02:00