Restore Cordis mount and unmount names

Keep temporary lifecycle descriptions and UI labels explicit.
This commit is contained in:
NI0317
2026-07-27 21:20:06 +08:00
parent 826c6fd243
commit 1ef285d038
80 changed files with 578 additions and 567 deletions

View File

@@ -18,10 +18,10 @@ buffer
5| <blank>
6| "▌ "
style 0-0 fg=yellow
7| "▌ ◌ Try temporary Cordis Plugin "
7| "▌ ◌ Mount temporary Cordis Plugin "
style 0-0 fg=yellow
style 2-2 fg=yellow bold
style 3-30 bold
style 3-32 bold
8| "▌ { "
style 0-0 fg=yellow
9| "▌ \"code\": \"return { name: 'snapshot-marker', apply(ctx) { ctx.provide('snapshotMarker', { "
@@ -33,10 +33,10 @@ buffer
12| "▌ "
style 0-0 fg=yellow
13| <blank>
14| "▌ ◌ Stop temporary Cordis Plugin dyn-1 "
14| "▌ ◌ Unmount temporary Cordis Plugin dyn-1 "
style 0-0 fg=yellow
style 2-2 fg=yellow bold
style 3-37 bold
style 3-40 bold
15| "────────────────────────────────────────────────────────────────────────────────────────────────"
style 0-95 dim
16| " "

View File

@@ -414,10 +414,10 @@ describe('TUI terminal-state snapshots', () => {
{ id: 'cordis-1', name: 'cordis_inspect', arguments: { what: 'tools' } },
{
id: 'cordis-2',
name: 'cordis_try',
name: 'cordis_mount',
arguments: { code: "return { name: 'snapshot-marker', apply(ctx) { ctx.provide('snapshotMarker', { ready: true }) } }" },
},
{ id: 'cordis-3', name: 'cordis_stop', arguments: { id: 'dyn-1' } },
{ id: 'cordis-3', name: 'cordis_unmount', arguments: { id: 'dyn-1' } },
]
await renderAfter(harness, () => { appendToolCalls(harness.session, calls) })
await checkpoint('cordis-tools-pending', harness.terminal, { includeScrollback: true })