Add Copy as Markdown to the Session Header more-actions menu. A new authenticated /api/session.markdown route reads complete live-preferred history through sessionQuery.readSession and renders append-only user, assistant, and tool events as Markdown. Compaction surface replacements, reasoning, injected context, and request metadata stay out of the transcript. One plugin-wide copy operation owns the browser clipboard, with an overlay toast for success and failure.
34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
"extends": "../../../tsconfig.base.client.json",
|
|
"compilerOptions": {
|
|
"rootDir": "src",
|
|
"outDir": "lib/types",
|
|
"tsBuildInfoFile": "lib/tsconfig.client.tsbuildinfo"
|
|
},
|
|
"files": [
|
|
"src/client/CopyToast.tsx",
|
|
"src/client/Dialog.tsx",
|
|
"src/client/HeaderAction.tsx",
|
|
"src/client/controller.ts",
|
|
"src/client/copy-controller.ts",
|
|
"src/client/index.ts",
|
|
"src/client/locales.ts",
|
|
"src/routes.ts",
|
|
"src/css-modules.d.ts"
|
|
],
|
|
"references": [
|
|
{ "path": "../../../vendor/cordis" },
|
|
{ "path": "../../client/locale/tsconfig.client.json" },
|
|
{ "path": "../../client/store" },
|
|
{ "path": "../../client/ui-commands" },
|
|
{ "path": "../../client/ui-conversation/tsconfig.client.json" },
|
|
{ "path": "../../client/ui-layout" },
|
|
{ "path": "../../client/ui-message-feedback" },
|
|
{ "path": "../../client/ui-primitives" },
|
|
{ "path": "../../client/ui-renderer" },
|
|
{ "path": "../../client/ui-session" },
|
|
{ "path": "../../client/ui-slots" },
|
|
{ "path": "../../core/session" }
|
|
]
|
|
}
|