推进 INI 面板状态 report JSON 导出 helper
This commit is contained in:
@@ -85,6 +85,21 @@ with four sections:
|
||||
The report is intended for upper-level UI consumers or export paths that want a
|
||||
stable summary shape without touching DOM nodes.
|
||||
|
||||
## `createMachineSessionStateReportExport(state, options)`
|
||||
|
||||
This helper wraps the report in a stable export payload:
|
||||
|
||||
```js
|
||||
{
|
||||
filename: "machine-session-state-report.json",
|
||||
mediaType: "application/json",
|
||||
report: { ... },
|
||||
text: "{\n ...\n}\n"
|
||||
}
|
||||
```
|
||||
|
||||
It is a small export-layer helper for future copy/download/UI SDK wrappers.
|
||||
|
||||
## Boundary Rules
|
||||
|
||||
- Do not parse G-code text in this helper.
|
||||
|
||||
Reference in New Issue
Block a user