Skip to content

Cloud Agent: prompt autocomplete (ghost text)#5

Closed
markijbema wants to merge 1 commit intomainfrom
mark/cloud-agent-chat-autocomplete-recreate
Closed

Cloud Agent: prompt autocomplete (ghost text)#5
markijbema wants to merge 1 commit intomainfrom
mark/cloud-agent-chat-autocomplete-recreate

Conversation

@markijbema
Copy link
Copy Markdown
Contributor

Implements ghost-text prompt autocomplete for the Cloud Agent chat input (based on kilocode-backend PR #3966).

  • Adds cloudAgent.getFimAutocomplete tRPC mutation
  • Adds client-side ghost text hook and overlay rendering in ChatInput
  • Adds minimal CSS for ghost text styling
  • Improves error handling in llm-proxy-helpers

Accept suggestion: Tab (all), ArrowRight (next word), Escape clears.

Implements ghost-text prompt autocomplete for the Cloud Agent chat input.

- Adds cloudAgent.getChatCompletion tRPC mutation
- Adds client-side ghost text hook and overlay rendering in ChatInput
- Adds minimal CSS for ghost text styling
- Improves error handling in llm-proxy-helpers

Accept suggestion: Tab (all), ArrowRight (next word), Escape clears.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 7, 2026

This Pull Request has been inactive for 30 days and will be closed in 7 days if no further activity occurs. Please update or close this PR if it is no longer relevant.

@github-actions github-actions bot added the stale label Mar 7, 2026
@github-actions
Copy link
Copy Markdown

This Pull Request has been closed due to inactivity.

@github-actions github-actions bot closed this Mar 14, 2026
@markijbema markijbema reopened this Mar 16, 2026
@github-actions github-actions bot removed the stale label Mar 17, 2026
jrf0110 added a commit that referenced this pull request Apr 3, 2026
…review fixes

- Fix #1: Add WHERE clause to updateConfig (config.ts accepts wastelandId param)
- Fix #2: Update router.ts and ownership.ts imports from stub to Wasteland.do
- Fix #3: initializeWasteland/storeCredential/updateConfig now return records
- Fix #4: Implement all 6 missing RPC methods (updateMember, connectTown,
  disconnectTown, listConnectedTowns, getWantedBoard, refreshWantedBoard)
- Fix #5: Synchronous initializeDatabase(), no ensureInitialized/initPromise
- Fix #7: Delete WastelandDO.stub.ts

New files:
- 5 table definitions under db/tables/ (config, members, credentials,
  connected-towns, wanted-cache)
- 5 sub-modules under dos/wasteland/ with business logic
- Wasteland.do.ts: thin DO class delegating to sub-modules
@jeanduplessis
Copy link
Copy Markdown
Contributor

Due to the monorepo restructure you will need to recreate this PR on a new branch from main. Pass the prompt found at, https://github.com/Kilo-Org/cloud/blob/main/plans/monorepo-migration-prompt.md, to your coding agent while running in this branch. Please close this PR once done or if you don't plan to proceed with it.

kilo-code-bot bot added a commit that referenced this pull request Apr 7, 2026
Implements ghost-text prompt autocomplete for the Cloud Agent chat input
(based on original PR #5 by @markijbema, rebased on monorepo main).

- Adds `cloudAgent.getFimAutocomplete` tRPC mutation using Mistral Codestral FIM
- Adds `useChatGhostText` hook with debounced completion requests
- Adds ghost text overlay rendering in `cloud-agent-next` ChatInput
- Accept suggestion: Tab (all), ArrowRight (next word), Escape clears
- Improves error handling in `sendProxiedChatCompletion`
@markijbema markijbema closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants