mirror of
https://github.com/wavetermdev/waveterm
synced 2026-04-21 22:47:16 +00:00
The issue called out that the OSC52 unit tests were mostly validating mock setup rather than meaningful behavior. This PR trims that low-signal coverage by removing the Vitest suite for OSC52. - **Scope** - Deleted `frontend/app/view/term/osc-handlers.test.ts`. - No production/runtime code changes. - **Rationale reflected in changes** - Removes brittle, mock-dominant tests for logic considered too simple for this unit-test shape. - Keeps the codebase focused on higher-value test coverage. ```diff - frontend/app/view/term/osc-handlers.test.ts ``` <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/wavetermdev/waveterm/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sawka <2722291+sawka@users.noreply.github.com>
334 lines
No EOL
7.5 KiB
JSON
334 lines
No EOL
7.5 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://github.com/wavetermdev/waveterm/pkg/wconfig/settings-type",
|
|
"$ref": "#/$defs/SettingsType",
|
|
"$defs": {
|
|
"SettingsType": {
|
|
"properties": {
|
|
"app:*": {
|
|
"type": "boolean"
|
|
},
|
|
"app:globalhotkey": {
|
|
"type": "string"
|
|
},
|
|
"app:dismissarchitecturewarning": {
|
|
"type": "boolean"
|
|
},
|
|
"app:defaultnewblock": {
|
|
"type": "string"
|
|
},
|
|
"app:showoverlayblocknums": {
|
|
"type": "boolean"
|
|
},
|
|
"app:ctrlvpaste": {
|
|
"type": "boolean"
|
|
},
|
|
"app:confirmquit": {
|
|
"type": "boolean"
|
|
},
|
|
"app:hideaibutton": {
|
|
"type": "boolean"
|
|
},
|
|
"app:disablectrlshiftarrows": {
|
|
"type": "boolean"
|
|
},
|
|
"app:disablectrlshiftdisplay": {
|
|
"type": "boolean"
|
|
},
|
|
"app:focusfollowscursor": {
|
|
"type": "string",
|
|
"enum": [
|
|
"off",
|
|
"on",
|
|
"term"
|
|
]
|
|
},
|
|
"feature:waveappbuilder": {
|
|
"type": "boolean"
|
|
},
|
|
"ai:*": {
|
|
"type": "boolean"
|
|
},
|
|
"ai:preset": {
|
|
"type": "string"
|
|
},
|
|
"ai:apitype": {
|
|
"type": "string"
|
|
},
|
|
"ai:baseurl": {
|
|
"type": "string"
|
|
},
|
|
"ai:apitoken": {
|
|
"type": "string"
|
|
},
|
|
"ai:name": {
|
|
"type": "string"
|
|
},
|
|
"ai:model": {
|
|
"type": "string"
|
|
},
|
|
"ai:orgid": {
|
|
"type": "string"
|
|
},
|
|
"ai:apiversion": {
|
|
"type": "string"
|
|
},
|
|
"ai:maxtokens": {
|
|
"type": "number"
|
|
},
|
|
"ai:timeoutms": {
|
|
"type": "number"
|
|
},
|
|
"ai:proxyurl": {
|
|
"type": "string"
|
|
},
|
|
"ai:fontsize": {
|
|
"type": "number"
|
|
},
|
|
"ai:fixedfontsize": {
|
|
"type": "number"
|
|
},
|
|
"waveai:showcloudmodes": {
|
|
"type": "boolean"
|
|
},
|
|
"waveai:defaultmode": {
|
|
"type": "string"
|
|
},
|
|
"term:*": {
|
|
"type": "boolean"
|
|
},
|
|
"term:fontsize": {
|
|
"type": "number"
|
|
},
|
|
"term:fontfamily": {
|
|
"type": "string"
|
|
},
|
|
"term:theme": {
|
|
"type": "string"
|
|
},
|
|
"term:disablewebgl": {
|
|
"type": "boolean"
|
|
},
|
|
"term:localshellpath": {
|
|
"type": "string"
|
|
},
|
|
"term:localshellopts": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"term:gitbashpath": {
|
|
"type": "string"
|
|
},
|
|
"term:scrollback": {
|
|
"type": "integer"
|
|
},
|
|
"term:copyonselect": {
|
|
"type": "boolean"
|
|
},
|
|
"term:transparency": {
|
|
"type": "number"
|
|
},
|
|
"term:allowbracketedpaste": {
|
|
"type": "boolean"
|
|
},
|
|
"term:shiftenternewline": {
|
|
"type": "boolean"
|
|
},
|
|
"term:macoptionismeta": {
|
|
"type": "boolean"
|
|
},
|
|
"term:cursor": {
|
|
"type": "string"
|
|
},
|
|
"term:cursorblink": {
|
|
"type": "boolean"
|
|
},
|
|
"term:bellsound": {
|
|
"type": "boolean"
|
|
},
|
|
"term:bellindicator": {
|
|
"type": "boolean"
|
|
},
|
|
"term:osc52": {
|
|
"type": "string",
|
|
"enum": [
|
|
"focus",
|
|
"always"
|
|
]
|
|
},
|
|
"term:durable": {
|
|
"type": "boolean"
|
|
},
|
|
"editor:minimapenabled": {
|
|
"type": "boolean"
|
|
},
|
|
"editor:stickyscrollenabled": {
|
|
"type": "boolean"
|
|
},
|
|
"editor:wordwrap": {
|
|
"type": "boolean"
|
|
},
|
|
"editor:fontsize": {
|
|
"type": "number"
|
|
},
|
|
"editor:inlinediff": {
|
|
"type": "boolean"
|
|
},
|
|
"web:*": {
|
|
"type": "boolean"
|
|
},
|
|
"web:openlinksinternally": {
|
|
"type": "boolean"
|
|
},
|
|
"web:defaulturl": {
|
|
"type": "string"
|
|
},
|
|
"web:defaultsearch": {
|
|
"type": "string"
|
|
},
|
|
"autoupdate:*": {
|
|
"type": "boolean"
|
|
},
|
|
"autoupdate:enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"autoupdate:intervalms": {
|
|
"type": "number"
|
|
},
|
|
"autoupdate:installonquit": {
|
|
"type": "boolean"
|
|
},
|
|
"autoupdate:channel": {
|
|
"type": "string"
|
|
},
|
|
"markdown:fontsize": {
|
|
"type": "number"
|
|
},
|
|
"markdown:fixedfontsize": {
|
|
"type": "number"
|
|
},
|
|
"preview:showhiddenfiles": {
|
|
"type": "boolean"
|
|
},
|
|
"tab:preset": {
|
|
"type": "string"
|
|
},
|
|
"tab:confirmclose": {
|
|
"type": "boolean"
|
|
},
|
|
"widget:*": {
|
|
"type": "boolean"
|
|
},
|
|
"widget:showhelp": {
|
|
"type": "boolean"
|
|
},
|
|
"window:*": {
|
|
"type": "boolean"
|
|
},
|
|
"window:fullscreenonlaunch": {
|
|
"type": "boolean"
|
|
},
|
|
"window:transparent": {
|
|
"type": "boolean"
|
|
},
|
|
"window:blur": {
|
|
"type": "boolean"
|
|
},
|
|
"window:opacity": {
|
|
"type": "number"
|
|
},
|
|
"window:bgcolor": {
|
|
"type": "string"
|
|
},
|
|
"window:reducedmotion": {
|
|
"type": "boolean"
|
|
},
|
|
"window:tilegapsize": {
|
|
"type": "integer"
|
|
},
|
|
"window:showmenubar": {
|
|
"type": "boolean"
|
|
},
|
|
"window:nativetitlebar": {
|
|
"type": "boolean"
|
|
},
|
|
"window:disablehardwareacceleration": {
|
|
"type": "boolean"
|
|
},
|
|
"window:maxtabcachesize": {
|
|
"type": "integer"
|
|
},
|
|
"window:magnifiedblockopacity": {
|
|
"type": "number"
|
|
},
|
|
"window:magnifiedblocksize": {
|
|
"type": "number"
|
|
},
|
|
"window:magnifiedblockblurprimarypx": {
|
|
"type": "integer"
|
|
},
|
|
"window:magnifiedblockblursecondarypx": {
|
|
"type": "integer"
|
|
},
|
|
"window:confirmclose": {
|
|
"type": "boolean"
|
|
},
|
|
"window:savelastwindow": {
|
|
"type": "boolean"
|
|
},
|
|
"window:dimensions": {
|
|
"type": "string"
|
|
},
|
|
"window:zoom": {
|
|
"type": "number"
|
|
},
|
|
"telemetry:*": {
|
|
"type": "boolean"
|
|
},
|
|
"telemetry:enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"conn:*": {
|
|
"type": "boolean"
|
|
},
|
|
"conn:askbeforewshinstall": {
|
|
"type": "boolean"
|
|
},
|
|
"conn:wshenabled": {
|
|
"type": "boolean"
|
|
},
|
|
"conn:localhostdisplayname": {
|
|
"type": "string"
|
|
},
|
|
"debug:*": {
|
|
"type": "boolean"
|
|
},
|
|
"debug:pprofport": {
|
|
"type": "integer"
|
|
},
|
|
"debug:pprofmemprofilerate": {
|
|
"type": "integer"
|
|
},
|
|
"tsunami:*": {
|
|
"type": "boolean"
|
|
},
|
|
"tsunami:scaffoldpath": {
|
|
"type": "string"
|
|
},
|
|
"tsunami:sdkreplacepath": {
|
|
"type": "string"
|
|
},
|
|
"tsunami:sdkversion": {
|
|
"type": "string"
|
|
},
|
|
"tsunami:gopath": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |