feat: add agents session#2110
Conversation
|
Found the term Completed a little bit confusing as user might understand they cannot interact anymore with them |
|
Also got some errors: |
it's the term of the mockup... |
Pinging @slemeur then :) |
|
I think to get started with, we go with "completed". later on, the idea is probably more about indicating which sessions are "running", which ones are "idle". but for the end user, it's more about "which one needs my attention". |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
✅ Action performedComments resolved and changes approved. |
This comment was marked as outdated.
This comment was marked as outdated.
jeffmaury
left a comment
There was a problem hiding this comment.
Seems to me that store acpSandboxes is a duplicate of the existing allOpenshellSandboxes
Rename kaiden.label to ai.openkaiden.kaiden.agent
📝 WalkthroughWalkthroughAdds end-to-end ACP session support: new public types, main-process session orchestration, IPC and preload bridge wiring, renderer navigation/store integration, and ACP session list/detail UI. ChangesACP Sessions End-to-End Implementation
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
rebased and using current changes |
MarsKubeX
left a comment
There was a problem hiding this comment.
I have tested with an openshell workspace with ollama Zen/Big Pickle model. It works good. I see just one issue. When attaching a document, the file content is embedded inline in the JSON-RPC message sent through the PTY. For larger files, this causes a SyntaxError: JSON Parse error: Unterminated string on the agent side because the message gets truncated/split by the PTY transport. Smaller prompts without attachments work fine.
The "+" button in the input toolbar (bottom-right of the prompt area) feels redundant with the "New Session" button in the sidebar header. Having both is confusing. (I don't know if this is a requirement from the mocks)
yes I think it's not written in the body of this PR but this is something I have but it seems it's tracked under OpenShell issues. "Relaying long live sessions" also have issues but it's part of OpenShell (and some PRs are trying to address this issue) |
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Florent Benoit <fbenoit@redhat.com>
|
@MarsKubeX I removed the + button and rebased into main |
jeffmaury
left a comment
There was a problem hiding this comment.
LGTM but add a couple of timeout while testing agains a local ollama.
Also claude agent does not support acp (no acp metatada) so it should be either prevented or reported (backend error)
| {#if hasModels} | ||
| <div class="inline-flex items-center gap-1.5 rounded-full border border-[var(--pd-content-divider)] bg-[var(--pd-content-card-bg)] px-2.5 py-0.5"> | ||
| <span class="w-2 h-2 rounded-full bg-[var(--pd-status-connected)] shrink-0"></span> | ||
| <select |
| <div class="inline-flex items-center gap-1.5 rounded-full border border-[var(--pd-content-divider)] bg-[var(--pd-content-card-bg)] px-2.5 py-0.5"> | ||
| <span class="w-2 h-2 rounded-full bg-[var(--pd-status-running)] shrink-0"></span> | ||
| <select | ||
| bind:value={selectedModeId} |
| {#each selectConfigOptions as configOpt (configOpt.id)} | ||
| <div class="inline-flex items-center gap-1.5 rounded-full border border-[var(--pd-content-divider)] bg-[var(--pd-content-card-bg)] px-2.5 py-0.5" title={configOpt.description ?? configOpt.name}> | ||
| <span class="w-2 h-2 rounded-full bg-[var(--pd-status-connected)] shrink-0"></span> | ||
| <select |
There was a problem hiding this comment.
Replace with dropdown but I believe youll need to flatten the options since dropdown doesnt support the optgroup


allow to interact with agents using ACP protocol.