Skip to content

feat(vscode): add extension project memory controls#11368

Open
johnnyeric wants to merge 1 commit into
johnnyeric/memory-cli-integrationfrom
johnnyeric/memory-vscode-integration
Open

feat(vscode): add extension project memory controls#11368
johnnyeric wants to merge 1 commit into
johnnyeric/memory-cli-integrationfrom
johnnyeric/memory-vscode-integration

Conversation

@johnnyeric

@johnnyeric johnnyeric commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Issue

No linked issue. Follow-up VS Code integration PR stacked on #11364.

Context

#11355 adds the core project memory package and #11364 wires it into the CLI, TUI, tools, HTTP API, and SDK. This PR adds the VS Code extension surface so project memory can be viewed and controlled from the sidebar and Agent Manager webviews.

The goal is to keep memory storage and CLI behavior in the lower stacked PRs while making the VS Code extension consume the generated SDK/API through extension-owned integration points.

Implementation

  • Adds extension-side memory message handling and provider helpers for loading, saving, capturing, and deleting project memory state.
  • Adds webview memory context/state so the sidebar and Agent Manager can request memory status and react to updates.
  • Adds prompt/chat affordances for memory commands, memory capture status, and task-header memory controls.
  • Adds settings UI copy and localized strings for project memory controls.
  • Adds focused VS Code unit coverage for memory command parsing and provider message handling.
  • Includes a patch changeset for user-facing VS Code memory controls.

Reviewer attention: this PR is intended to be reviewed on top of #11364. Most changes are in VS Code-owned paths; the lower PRs contain the core package, CLI runtime integration, memory tools, HTTP API, and SDK generation.

Screenshots / Video

Screenshot 2026-06-18 at 20 25 23

How to Test

Manual/local verification

Agent verification performed:

  • git push -u origin johnnyeric/memory-vscode-integration ran the pre-push hook.
  • Pre-push hook executed bun turbo typecheck successfully across the workspace.

Reviewer test steps

  1. Check out this branch with feat(cli): add project memory integration #11364 as the base branch.
  2. From packages/kilo-vscode/, run focused memory-related unit tests, for example bun run test:unit -- kilo-provider-memory memory-command.
  3. Start the VS Code extension and open a project chat.
  4. Verify project memory controls appear in the chat/task UI and Context settings tab.
  5. Save or capture a memory from the VS Code surface, then verify the updated memory state is reflected after refreshing/reopening the webview.
  6. Open Agent Manager and verify the memory context loads without breaking existing workspace/session flows.

Checklist

  • Issue linked above, or exception explained
  • Tests/verification described
  • Screenshots/video included for visual changes, or marked N/A
  • Changeset considered for user-facing changes
  • I personally reviewed the diff and can explain the changes, including any AI-assisted work.

Depends on #11364.

@johnnyeric johnnyeric changed the title fix: add project memory integration fix(vscode): add project memory controls Jun 17, 2026
@johnnyeric johnnyeric changed the base branch from main to johnnyeric/memory-cli-integration June 17, 2026 12:58
@johnnyeric johnnyeric changed the title fix(vscode): add project memory controls fix(vscode): add extension project memory controls Jun 17, 2026
Comment thread packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx Outdated
@kilo-code-bot

kilo-code-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: 2 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 2
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
packages/kilo-vscode/webview-ui/src/context/memory.tsx 95 Duplicate-toast dedupe suppresses later identical memory events in the same session.
packages/kilo-vscode/webview-ui/src/components/chat/TaskHeader.tsx 246 Task-header memory controls disappear whenever the timeline is collapsed or unavailable.
Files Reviewed (14 files)
  • packages/kilo-vscode/src/agent-manager/AgentManagerProvider.ts
  • packages/kilo-vscode/src/extension.ts
  • packages/kilo-vscode/src/KiloProvider.ts
  • packages/kilo-vscode/src/kilo-provider/memory.ts
  • packages/kilo-vscode/tests/unit/agent-manager-memory-commands.test.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory-events.test.ts
  • packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
  • packages/kilo-vscode/webview-ui/src/App.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/AssistantMessage.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/TaskHeader.tsx - 1 issue
  • packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx
  • packages/kilo-vscode/webview-ui/src/context/memory.tsx - 1 issue
  • packages/kilo-vscode/webview-ui/src/types/messages/memory.ts

Fix these issues in Kilo Cloud

Previous Review Summaries (6 snapshots, latest commit 7594802)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 7594802)

Status: 2 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 2
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
packages/kilo-vscode/src/agent-manager/AgentManagerProvider.ts 1719 New Agent Manager memory commands can hang indefinitely if the panel is disposed before webviewReady arrives.
packages/kilo-vscode/webview-ui/src/context/memory.tsx 149 Session/worktree switches keep showing the previous memory state until the async reload completes.
Files Reviewed (28 files)
  • .changeset/kilo-memory-extension.md
  • packages/kilo-vscode/package.json
  • packages/kilo-vscode/src/KiloProvider.ts
  • packages/kilo-vscode/src/agent-manager/AgentManagerProvider.ts - 1 issue
  • packages/kilo-vscode/src/agent-manager/host.ts
  • packages/kilo-vscode/src/agent-manager/vscode-host.ts
  • packages/kilo-vscode/src/extension.ts
  • packages/kilo-vscode/src/kilo-provider/memory.ts
  • packages/kilo-vscode/tests/setup/vscode-mock.ts
  • packages/kilo-vscode/tests/unit/agent-manager-memory-commands.test.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory-events.test.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory.test.ts
  • packages/kilo-vscode/tests/unit/memory-command.test.ts
  • packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
  • packages/kilo-vscode/webview-ui/src/App.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/AssistantMessage.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/TaskHeader.tsx
  • packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx
  • packages/kilo-vscode/webview-ui/src/context/memory.tsx - 1 issue
  • packages/kilo-vscode/webview-ui/src/stories/StoryProviders.tsx
  • packages/kilo-vscode/webview-ui/src/styles/chat-layout.css
  • packages/kilo-vscode/webview-ui/src/styles/task-header.css
  • packages/kilo-vscode/webview-ui/src/types/messages/extension-messages.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/index.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/memory.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/webview-messages.ts
  • packages/kilo-vscode/webview-ui/src/utils/memory-command.ts

Fix these issues in Kilo Cloud

Previous review (commit bab994d)

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
packages/kilo-vscode/src/extension.ts 387 Command palette memory actions ignore the active Agent Manager session and fall back to the sidebar provider.
Files Reviewed (44 files)
  • .changeset/kilo-memory-extension.md
  • packages/kilo-vscode/package.json
  • packages/kilo-vscode/src/KiloProvider.ts
  • packages/kilo-vscode/src/extension.ts - 1 issue
  • packages/kilo-vscode/src/kilo-provider/memory.ts
  • packages/kilo-vscode/tests/setup/vscode-mock.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory-events.test.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory.test.ts
  • packages/kilo-vscode/tests/unit/memory-command.test.ts
  • packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
  • packages/kilo-vscode/webview-ui/src/App.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/AssistantMessage.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/TaskHeader.tsx
  • packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx
  • packages/kilo-vscode/webview-ui/src/context/memory.tsx
  • packages/kilo-vscode/webview-ui/src/i18n/ar.ts
  • packages/kilo-vscode/webview-ui/src/i18n/br.ts
  • packages/kilo-vscode/webview-ui/src/i18n/bs.ts
  • packages/kilo-vscode/webview-ui/src/i18n/da.ts
  • packages/kilo-vscode/webview-ui/src/i18n/de.ts
  • packages/kilo-vscode/webview-ui/src/i18n/en.ts
  • packages/kilo-vscode/webview-ui/src/i18n/es.ts
  • packages/kilo-vscode/webview-ui/src/i18n/fr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/it.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ja.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ko.ts
  • packages/kilo-vscode/webview-ui/src/i18n/nl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/no.ts
  • packages/kilo-vscode/webview-ui/src/i18n/pl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ru.ts
  • packages/kilo-vscode/webview-ui/src/i18n/th.ts
  • packages/kilo-vscode/webview-ui/src/i18n/tr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/uk.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zh.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zht.ts
  • packages/kilo-vscode/webview-ui/src/stories/StoryProviders.tsx
  • packages/kilo-vscode/webview-ui/src/styles/chat-layout.css
  • packages/kilo-vscode/webview-ui/src/styles/task-header.css
  • packages/kilo-vscode/webview-ui/src/types/messages/extension-messages.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/index.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/memory.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/webview-messages.ts
  • packages/kilo-vscode/webview-ui/src/utils/memory-command.ts

Fix these issues in Kilo Cloud

Previous review (commit c9e8f1c)

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
packages/kilo-vscode/webview-ui/src/context/memory.tsx 102 Failed memoryLoaded responses clear show but keep the previous status, so a session switch or backend error can leave stale memory enabled/token state visible in the current UI.
Files Reviewed (44 files)
  • .changeset/kilo-memory-extension.md
  • packages/kilo-vscode/package.json
  • packages/kilo-vscode/src/KiloProvider.ts
  • packages/kilo-vscode/src/extension.ts
  • packages/kilo-vscode/src/kilo-provider/memory.ts
  • packages/kilo-vscode/tests/setup/vscode-mock.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory-events.test.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory.test.ts
  • packages/kilo-vscode/tests/unit/memory-command.test.ts
  • packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
  • packages/kilo-vscode/webview-ui/src/App.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/AssistantMessage.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/TaskHeader.tsx
  • packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx
  • packages/kilo-vscode/webview-ui/src/context/memory.tsx - 1 issue
  • packages/kilo-vscode/webview-ui/src/i18n/ar.ts
  • packages/kilo-vscode/webview-ui/src/i18n/br.ts
  • packages/kilo-vscode/webview-ui/src/i18n/bs.ts
  • packages/kilo-vscode/webview-ui/src/i18n/da.ts
  • packages/kilo-vscode/webview-ui/src/i18n/de.ts
  • packages/kilo-vscode/webview-ui/src/i18n/en.ts
  • packages/kilo-vscode/webview-ui/src/i18n/es.ts
  • packages/kilo-vscode/webview-ui/src/i18n/fr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/it.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ja.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ko.ts
  • packages/kilo-vscode/webview-ui/src/i18n/nl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/no.ts
  • packages/kilo-vscode/webview-ui/src/i18n/pl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ru.ts
  • packages/kilo-vscode/webview-ui/src/i18n/th.ts
  • packages/kilo-vscode/webview-ui/src/i18n/tr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/uk.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zh.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zht.ts
  • packages/kilo-vscode/webview-ui/src/stories/StoryProviders.tsx
  • packages/kilo-vscode/webview-ui/src/styles/chat-layout.css
  • packages/kilo-vscode/webview-ui/src/styles/task-header.css
  • packages/kilo-vscode/webview-ui/src/types/messages/extension-messages.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/index.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/memory.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/webview-messages.ts
  • packages/kilo-vscode/webview-ui/src/utils/memory-command.ts

Fix these issues in Kilo Cloud

Previous review (commit 0da256c)

Status: 3 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 3
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
packages/kilo-vscode/src/KiloProvider.ts 3125 Same-directory tracked sessions refresh memory state under the originating session ID, so the active sibling session in the same repo drops the update and keeps stale memory status until a manual refresh.
packages/kilo-vscode/src/kilo-provider/memory.ts 246 inspect() caches the full memory payload per directory and never evicts entries, which can leak large memory file contents across transient Agent Manager worktrees.
packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx 709 The prompt-side guard treats an unloaded memory status as disabled, so remember/correct/forget commands can fail right after opening or switching to a session even when memory is enabled.
Files Reviewed (44 files)
  • .changeset/kilo-memory-extension.md
  • packages/kilo-vscode/package.json
  • packages/kilo-vscode/src/KiloProvider.ts - 1 issue
  • packages/kilo-vscode/src/extension.ts
  • packages/kilo-vscode/src/kilo-provider/memory.ts - 1 issue
  • packages/kilo-vscode/tests/setup/vscode-mock.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory-events.test.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory.test.ts
  • packages/kilo-vscode/tests/unit/memory-command.test.ts
  • packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
  • packages/kilo-vscode/webview-ui/src/App.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/AssistantMessage.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx - 1 issue
  • packages/kilo-vscode/webview-ui/src/components/chat/TaskHeader.tsx
  • packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx
  • packages/kilo-vscode/webview-ui/src/context/memory.tsx
  • packages/kilo-vscode/webview-ui/src/i18n/ar.ts
  • packages/kilo-vscode/webview-ui/src/i18n/br.ts
  • packages/kilo-vscode/webview-ui/src/i18n/bs.ts
  • packages/kilo-vscode/webview-ui/src/i18n/da.ts
  • packages/kilo-vscode/webview-ui/src/i18n/de.ts
  • packages/kilo-vscode/webview-ui/src/i18n/en.ts
  • packages/kilo-vscode/webview-ui/src/i18n/es.ts
  • packages/kilo-vscode/webview-ui/src/i18n/fr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/it.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ja.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ko.ts
  • packages/kilo-vscode/webview-ui/src/i18n/nl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/no.ts
  • packages/kilo-vscode/webview-ui/src/i18n/pl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ru.ts
  • packages/kilo-vscode/webview-ui/src/i18n/th.ts
  • packages/kilo-vscode/webview-ui/src/i18n/tr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/uk.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zh.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zht.ts
  • packages/kilo-vscode/webview-ui/src/stories/StoryProviders.tsx
  • packages/kilo-vscode/webview-ui/src/styles/chat-layout.css
  • packages/kilo-vscode/webview-ui/src/styles/task-header.css
  • packages/kilo-vscode/webview-ui/src/types/messages/extension-messages.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/index.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/memory.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/webview-messages.ts
  • packages/kilo-vscode/webview-ui/src/utils/memory-command.ts

Fix these issues in Kilo Cloud

Previous review (commit 5722c0a)

Status: 5 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 3
SUGGESTION 2
Issue Details (click to expand)

WARNING

File Line Issue
packages/kilo-vscode/src/KiloProvider.ts 3134 Memory events for tracked background sessions are reposted and refreshed against this.currentSession?.id, so another session's update can surface in the active chat/worktree.
packages/kilo-vscode/webview-ui/src/context/memory.tsx 104 Status-only refreshes keep the previous show() payload, so TaskHeader can display memory activity details from a different session/worktree after switching tabs.
packages/kilo-vscode/webview-ui/src/context/memory.tsx 110 A memoryOperationResult for another tracked session still clears pending, which can re-enable the current tab's memory controls while its own request is still running.

SUGGESTION

File Line Issue
packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx 131 The Compaction heading is still hardcoded in English instead of using the existing i18n layer.
packages/kilo-vscode/webview-ui/src/components/chat/AssistantMessage.tsx 313 The new memory badge/title copy is hardcoded in English instead of using translated strings.
Files Reviewed (43 files)
  • .changeset/kilo-memory-extension.md
  • packages/kilo-vscode/package.json
  • packages/kilo-vscode/src/KiloProvider.ts - 1 issue
  • packages/kilo-vscode/src/extension.ts
  • packages/kilo-vscode/src/kilo-provider/memory.ts
  • packages/kilo-vscode/tests/setup/vscode-mock.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory.test.ts
  • packages/kilo-vscode/tests/unit/memory-command.test.ts
  • packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
  • packages/kilo-vscode/webview-ui/src/App.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/AssistantMessage.tsx - 1 issue
  • packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/TaskHeader.tsx
  • packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx - 1 issue
  • packages/kilo-vscode/webview-ui/src/context/memory.tsx - 2 issues
  • packages/kilo-vscode/webview-ui/src/i18n/ar.ts
  • packages/kilo-vscode/webview-ui/src/i18n/br.ts
  • packages/kilo-vscode/webview-ui/src/i18n/bs.ts
  • packages/kilo-vscode/webview-ui/src/i18n/da.ts
  • packages/kilo-vscode/webview-ui/src/i18n/de.ts
  • packages/kilo-vscode/webview-ui/src/i18n/en.ts
  • packages/kilo-vscode/webview-ui/src/i18n/es.ts
  • packages/kilo-vscode/webview-ui/src/i18n/fr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/it.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ja.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ko.ts
  • packages/kilo-vscode/webview-ui/src/i18n/nl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/no.ts
  • packages/kilo-vscode/webview-ui/src/i18n/pl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ru.ts
  • packages/kilo-vscode/webview-ui/src/i18n/th.ts
  • packages/kilo-vscode/webview-ui/src/i18n/tr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/uk.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zh.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zht.ts
  • packages/kilo-vscode/webview-ui/src/stories/StoryProviders.tsx
  • packages/kilo-vscode/webview-ui/src/styles/chat-layout.css
  • packages/kilo-vscode/webview-ui/src/styles/task-header.css
  • packages/kilo-vscode/webview-ui/src/types/messages/extension-messages.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/index.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/memory.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/webview-messages.ts
  • packages/kilo-vscode/webview-ui/src/utils/memory-command.ts

Fix these issues in Kilo Cloud

Previous review (commit 6b9b312)

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 1
Issue Details (click to expand)

SUGGESTION

File Line Issue
packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx 131 Hardcoded English "Compaction" heading should be localized
Files Reviewed (41 files)
  • .changeset/kilo-memory-v0.md
  • packages/kilo-vscode/package.json
  • packages/kilo-vscode/src/KiloProvider.ts - memory integration
  • packages/kilo-vscode/src/extension.ts - new commands
  • packages/kilo-vscode/src/kilo-provider/memory.ts - core memory handler
  • packages/kilo-vscode/tests/setup/vscode-mock.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-memory.test.ts
  • packages/kilo-vscode/tests/unit/memory-command.test.ts
  • packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
  • packages/kilo-vscode/webview-ui/src/App.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/AssistantMessage.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/TaskHeader.tsx
  • packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx - 1 issue
  • packages/kilo-vscode/webview-ui/src/context/memory.tsx
  • packages/kilo-vscode/webview-ui/src/i18n/ar.ts
  • packages/kilo-vscode/webview-ui/src/i18n/br.ts
  • packages/kilo-vscode/webview-ui/src/i18n/bs.ts
  • packages/kilo-vscode/webview-ui/src/i18n/da.ts
  • packages/kilo-vscode/webview-ui/src/i18n/de.ts
  • packages/kilo-vscode/webview-ui/src/i18n/en.ts
  • packages/kilo-vscode/webview-ui/src/i18n/es.ts
  • packages/kilo-vscode/webview-ui/src/i18n/fr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/it.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ja.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ko.ts
  • packages/kilo-vscode/webview-ui/src/i18n/nl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/no.ts
  • packages/kilo-vscode/webview-ui/src/i18n/pl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ru.ts
  • packages/kilo-vscode/webview-ui/src/i18n/th.ts
  • packages/kilo-vscode/webview-ui/src/i18n/tr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/uk.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zh.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zht.ts
  • packages/kilo-vscode/webview-ui/src/stories/StoryProviders.tsx
  • packages/kilo-vscode/webview-ui/src/styles/chat-layout.css
  • packages/kilo-vscode/webview-ui/src/styles/task-header.css
  • packages/kilo-vscode/webview-ui/src/types/messages/extension-messages.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/index.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/memory.ts
  • packages/kilo-vscode/webview-ui/src/types/messages/webview-messages.ts
  • packages/kilo-vscode/webview-ui/src/utils/memory-command.ts

Fix these issues in Kilo Cloud


Reviewed by gpt-5.4-2026-03-05 · 824,855 tokens

Review guidance: REVIEW.md from base branch johnnyeric/memory-cli-integration

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6b9b312e71

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/kilo-vscode/src/KiloProvider.ts Outdated
@johnnyeric johnnyeric changed the title fix(vscode): add extension project memory controls feat(vscode): add extension project memory controls Jun 17, 2026
@johnnyeric johnnyeric force-pushed the johnnyeric/memory-cli-integration branch 3 times, most recently from 742338c to e0a734e Compare June 18, 2026 17:47
@johnnyeric johnnyeric force-pushed the johnnyeric/memory-vscode-integration branch from 6b9b312 to 5722c0a Compare June 18, 2026 18:05
Comment thread packages/kilo-vscode/webview-ui/src/context/memory.tsx Outdated
Comment thread packages/kilo-vscode/webview-ui/src/context/memory.tsx Outdated
Comment thread packages/kilo-vscode/webview-ui/src/components/chat/AssistantMessage.tsx Outdated
@johnnyeric johnnyeric force-pushed the johnnyeric/memory-vscode-integration branch from 5722c0a to f45740d Compare June 18, 2026 18:24
@johnnyeric johnnyeric force-pushed the johnnyeric/memory-cli-integration branch from e0a734e to 9713ad9 Compare June 18, 2026 18:51
@johnnyeric johnnyeric force-pushed the johnnyeric/memory-vscode-integration branch from f45740d to 0da256c Compare June 18, 2026 18:53
@johnnyeric johnnyeric force-pushed the johnnyeric/memory-cli-integration branch from 9713ad9 to 794189b Compare June 18, 2026 18:57
Comment thread packages/kilo-vscode/src/KiloProvider.ts Outdated
Comment thread packages/kilo-vscode/src/kilo-provider/memory.ts Outdated
Comment thread packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx Outdated
@johnnyeric johnnyeric force-pushed the johnnyeric/memory-vscode-integration branch from 0da256c to c9e8f1c Compare June 18, 2026 19:02
Comment thread packages/kilo-vscode/webview-ui/src/context/memory.tsx
@johnnyeric johnnyeric force-pushed the johnnyeric/memory-vscode-integration branch from c9e8f1c to bab994d Compare June 18, 2026 19:12
Comment thread packages/kilo-vscode/src/extension.ts
@johnnyeric johnnyeric force-pushed the johnnyeric/memory-vscode-integration branch from bab994d to 7594802 Compare June 18, 2026 19:35
Comment thread packages/kilo-vscode/src/agent-manager/AgentManagerProvider.ts Outdated
Comment thread packages/kilo-vscode/webview-ui/src/context/memory.tsx
@johnnyeric johnnyeric force-pushed the johnnyeric/memory-vscode-integration branch from 7594802 to 89915fa Compare June 18, 2026 19:54
if (message.detail.type === "skipped") return
if (!message.detail.message) return
const key = `${message.sessionID ?? ""}:${message.detail.type ?? ""}:${message.detail.message}`
if (key === last) return

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Consecutive identical memory toasts are suppressed

This dedupe key never expires, so repeating the same memory action in the same session drops the second memoryEvent entirely. After the first "Saved project memory" toast, later successful saves with the same message stop surfacing user feedback until some different memory event changes last.


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

<div data-slot="task-header-graph-row">
<ContextProgress />
</div>
<Show when={memory.status()}>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Task-header memory controls are hidden behind the timeline gate

This new block sits inside the surrounding expanded() && hasTimeline() section, so collapsing the timeline or opening a session that has no rendered timeline removes the memory controls entirely. Since these actions are unrelated to the timeline itself, they should live outside that guard or use their own visibility rule.


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

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.

1 participant