Files
OrcaSlicer/resources/web/dialog/ActionReplay/index.html
T
SoftFever 5eefef82fc Add the Agent Activity pane
A new pane, opened from View > Agent Activity or the Speed Dial, lists live what an AI agent and other
automation (Action Replay, Run Script, the command line, plugins) do in OrcaSlicer while it is open: each
call with its source, what it changed, failures with their reason, the steps of a run and the dialogs a
rule answered. Opening a call shows its request and response with passwords, keys and typed text masked,
so a person can watch and check what an agent is doing to their project.
2026-11-24 16:38:50 +08:00

78 lines
3.6 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Action Replay</title>
<link rel="stylesheet" type="text/css" href="../css/theme.css" />
<link rel="stylesheet" type="text/css" href="../js/code_editor.css" />
<link rel="stylesheet" type="text/css" href="../css/step_rail.css" />
<link rel="stylesheet" type="text/css" href="./style.css" />
<script type="text/javascript" src="../../include/i18n.js"></script>
<script type="text/javascript" src="../js/globalapi.js"></script>
<script type="text/javascript" src="../../include/ace/ace.js"></script>
<script type="text/javascript" src="../../include/ace/ext-language_tools.js"></script>
<script type="text/javascript" src="../../include/ace/ext-searchbox.js"></script>
<script type="text/javascript" src="../../include/ace/mode-json.js"></script>
<script type="text/javascript" src="../js/code_editor.js"></script>
<script type="text/javascript" src="./replay_editor.js"></script>
<script type="text/javascript" src="./action_replay.js"></script>
</head>
<body onload="OnInit()">
<div class="runner">
<header class="source-bar">
<button type="button" id="open-file" class="btn" data-i18n="open_replay">Open replay…</button>
<span class="chip">
<span id="chip-name"></span>
<span id="chip-edited" class="chip-note" hidden data-i18n="edited">(edited)</span>
</span>
</header>
<main class="sections">
<section id="steps-section" class="section is-open">
<div class="section-row">
<button type="button" class="section-head" aria-expanded="true" aria-controls="steps-body">
<span class="chevron" aria-hidden="true"></span>
<span class="section-title" data-i18n="steps">Steps</span>
<span id="steps-summary" class="section-summary"></span>
</button>
</div>
<div id="steps-body" class="section-body">
<p id="steps-hint" class="steps-hint" data-i18n="steps_hint">Steps appear here as you write them.</p>
<ol id="steps" class="rail" hidden></ol>
</div>
</section>
<section id="source-section" class="section is-open">
<div class="section-row">
<button type="button" class="section-head" aria-expanded="true" aria-controls="source-body">
<span class="chevron" aria-hidden="true"></span>
<span class="section-title" data-i18n="replay_source">Replay file</span>
</button>
<div class="section-actions">
<span id="save-note" class="save-note" hidden role="status" data-i18n="saved">Saved</span>
<button type="button" id="save" class="btn small"></button>
<button type="button" id="save-as" class="btn small" hidden data-i18n="save_as">Save as…</button>
</div>
</div>
<div id="source-body" class="section-body">
<div id="editor" class="editor"></div>
</div>
</section>
</main>
<footer class="foot">
<div class="outcome" role="status" aria-live="polite">
<span id="outcome"></span>
<span id="outcome-detail" class="outcome-detail"></span>
</div>
<button type="button" id="open-output" class="btn" hidden data-i18n="open_output">Open output folder</button>
<button type="button" id="stop" class="btn" hidden data-i18n="stop">Stop</button>
<button type="button" id="run" class="btn primary" disabled data-i18n="run">Replay</button>
<button type="button" id="close" class="btn" data-i18n="close">Close</button>
</footer>
</div>
</body>
</html>