chore(chat): mirror shared core/oss-plugins chat folders from kagent-enterprise#2282
Draft
cjlg-soloio wants to merge 1 commit into
Draft
chore(chat): mirror shared core/oss-plugins chat folders from kagent-enterprise#2282cjlg-soloio wants to merge 1 commit into
cjlg-soloio wants to merge 1 commit into
Conversation
…enterprise
Land the shared chat folder structure so kagent and kagent-enterprise can keep the
chat UI in sync as a literal folder copy:
ui/src/components/chat/
core/ SHARED — chassis + render tree (copied ENT <-> OSS verbatim)
oss-plugins/ SHARED — HITL tool approval, ask-user, subagent panel
No ent-plugins/ here — task->trace linking and rewind/fork are enterprise-only and
never copied to OSS. core/ and oss-plugins/ never import from ent-plugins/, so they
drop in without it.
Staged mirror only: the copied files are excluded from tsc / eslint / next build
(tsconfig.json, eslint.config.mjs) so main stays green, and are not yet wired into
the live ChatInterface. SHARED_CHAT_FOLDERS.md documents the copy flow and the
adaptation checklist (design-system alias, module alias, injected app context, OSS
host). Wiring it in with no feature regression is the tracked follow-up.
Part of solo-io/kagent-enterprise#2221. Companion PR: solo-io/kagent-enterprise#2313.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Carlos Logroño Guerrero <carlos.logrono@solo.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
🤖 written by Claude (start)
Mirrors the shared chat folder structure from kagent-enterprise so the chat UI can be
kept in sync between the two repos as a literal folder copy.
Adds two folders under
ui/src/components/chat/:There is no
ent-plugins/here — task→trace linking and rewind/fork are enterprise-onlyand never copied to OSS.
core/andoss-plugins/never import froment-plugins/, sothey drop in cleanly without it.
Status: staged mirror (not yet wired in)
This lands the structure only. The files are copied verbatim from enterprise and are
excluded from
tsc/eslint/next build(tsconfig.json,eslint.config.mjs)so
mainstays green. They are not yet wired into the liveChatInterface. Replacingthe current OSS chat with the shared component and verifying no feature regression is
the tracked follow-up. The per-folder READMEs and
SHARED_CHAT_FOLDERS.mddocument thecopy flow and the adaptation checklist (design-system alias, module alias, injected app
context, OSS host).
Related
Part of solo-io/kagent-enterprise#2221. Companion enterprise PR (where the shared folders
originate, with a Storybook story + mock-data harness + screenshot/video tests):
solo-io/kagent-enterprise#2313.
Testing
No runtime change — the copied folders are excluded from the build and not imported by the
app, so
next build/eslint ./tsc --noEmitare unaffected. The shared component isdemonstrated (Storybook + Playwright, rendering with mock data and no backend) in the
enterprise companion PR.
Changelog
🤖 written by Claude (end)