GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||
GeezerVison is showing github.com — Restore Kilo Code native session list and import by henrychu04 · Pull Request #296 · henrychu04/t3code-coder Conversation
Owner
Restores the Native sessions part of upstream's Feasibility:
|
| Upstream operation | ACP method | Kilo Code | Carried |
|---|---|---|---|
| List | session/list |
yes | yes |
| Import (load/resume) | session/load / session/resume |
yes | yes |
| Delete | session/delete |
no | cut |
The fork already carried the protocol side (effect-acp session/list/session/delete, AcpSessionRuntime.listSessions, and the probe's canList/canLoad/canResume/canDelete); only the management path above it was cut.
contracts/rpc.ts: server.listAcpRegistrySessions and server.importAcpRegistrySession (also added to CoderWsRpcGroup).state/server.ts: listAcpRegistrySessions and importAcpRegistrySession commands.ws.ts: acpRegistryProject, acpSessionManager, importedAcpThreadId, and the list and import handlers.probe.ts: makeAcpRegistryManagementRuntime, managementFailure, listAcpRegistrySessions.driver.ts: nativeSessions in the snapshot and acpSessionManagement.listSessions.AcpRegistryRuntimeCoordinator.withSessionMutation.ProviderRegistry.ts: returns to upstream's nativeSessions !== undefined completed-probe check. The fork's model-based workaround is gone because the driver reports nativeSessions again.AcpSessionManagementSection.tsx, its mount in ProviderInstanceCard, and acpProjects from ProviderSettingsPanel.acp-mock-agent.ts (logout part cut), the driver.test.ts nativeSessions assertion, and the browser test's import-scope case.Coder: markers, listed in docs/internals/coder-only.md)session/delete, so carrying it would be dormant. Cut: the RPC, handler, probe request, deleteSession in provider-core's acpSessionManagement, and the Delete button.acpSessionManagement keeps only listSessions, and the snapshot reports no configurableProviders.ws.ts's import launches without upstream's startup command queue (workspace startup completes before the RPC layer is built).coderServer.ts provides AcpRegistryRuntimeCoordinator.layer alone. Upstream provides it through AcpRegistrySupport.layerFromHost, but providing that with ProviderHostLive at this layer position hung helper startup.docs/user/providers-kilo.md gains a Native sessions section adapted from upstream's providers-acp.md.
None of the carried files change between 80a2351 and 15fe283 (checked with git diff 80a2351fcb 15fe283272). The ACP commits pingdotgg#21323/pingdotgg#24024/pingdotgg#24479/pingdotgg#23834 in that sync touch only provider-acp/effect-acp runtime files. This branch already merges current coder-only (#293 @-mention, #294 attachment toolkit); the only overlap was coder-only.md, which merged cleanly.
pnpm test:server: 3560 passed. 2 failed, both macOS /var symlink issues (ClaudeSkills ClaudeSkills plugin-order test fails on macOS (/var symlink) #235 and GitVcsDriverCore worktree path), pre-existing and unrelated.pnpm test:providers: all pass.pnpm test:web:coder: 10 timeouts across 8 files under full-suite load (Tests that flake under full-suite load #236 class). Rerun alone: 8/8 files, 173/173 tests pass.pnpm test:knip, node scripts/seams-check.mjs, and vp fmt --check on changed files pass; pnpm build and the helper/gateway/coder-cli node --test suites (119) pass.kilo acp advertising v7.8.18's capabilities:
nativeSessions {canList, canLoad, canResume: true, canDelete: false}.importedThreadId: null.thread:provider:acpRegistry:…:native-thread:ses_kilo_native_1; re-import returns the same thread with imported: false, and the list then marks it imported.server.deleteAcpRegistrySession is not served.session/load on the native Kilo session id.🤖 Generated with Claude Code
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Carry upstream's ACP native session list and import (AcpSessionManagementSection's "Native sessions" row, server.listAcpRegistrySessions and server.importAcpRegistrySession, the driver's acpSessionManagement.listSessions, the probe's session manager, and the coordinator's session mutation permit) for the Kilo Code instance. Kilo Code advertises session/list, session/load, and resume but no session/delete, so deletion stays cut with logout and agent provider configuration. Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # apps/server/src/coderServer.ts
|
Merged coder-only (#295) into this branch; the only conflict was coderServer.ts, where both the port scanner layer and the ACP runtime coordinator are now provided. Live check on the local Coder harness with a fake |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.