Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jan 17, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

marius-kilocode and others added 5 commits January 17, 2026 15:46
… in agent manager (#5164)

When the CLI is spawned from the Agent Manager without configuration,
the interactive auth wizard would hang because it requires a TTY.
This caused a 30-second timeout error instead of prompting the user
to authenticate.

This fix detects when running in agent-manager mode (KILO_PLATFORM=agent-manager)
and outputs a JSON welcome message with instructions. The Agent Manager
parses this and shows a dialog with 'Run kilocode auth' and 'Run kilocode config'
buttons that open a terminal and run the appropriate command.

Reproduction steps:
- CLI installed but not authenticated
- No provider configured
- No config.json available
- User starts new session in Agent Manager

Before: 'Failed to start agent session: Session creation timed out'
After: Dialog with options to run 'kilocode auth' or 'kilocode config'
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…onse handling (#5141)

Replace fixed 2-second setTimeout with proper Promise-based request/response
pattern for task history requests. This ensures the CLI waits for an actual
response rather than hoping the arbitrary delay is enough.

Changes:
- Use addPendingRequestAtom/removePendingRequestAtom for request tracking
- Add 5-second timeout with clear error message
- Improve error handling to distinguish timeout from other errors
- Add comprehensive tests for task history pending request atoms

Co-authored-by: Marius <marius@kilocode.ai>
- Display "Pasting image..." loader when pasting images via Cmd+V/Ctrl+V
- Display "Pasting text..." loader when pasting large text (10+ lines)
- Block keyboard input during paste operations to prevent interference
- Support multiple concurrent paste operations with counter-based tracking

Co-authored-by: Jérémy Beutin <jeremybeutin@MacBook-Pro-de-Jeremy.local>
@pull pull bot locked and limited conversation to collaborators Jan 17, 2026
@pull pull bot added the ⤵️ pull label Jan 17, 2026
@pull pull bot merged commit 49b82ea into CrazyForks:main Jan 17, 2026
7 of 12 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants