mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-23 12:44:31 +00:00
Add user-configurable timezone and 12/24-hour preferences, then wire them through settings, runtime snapshots, scheduler payloads, wait handling, notifications, backups, memory, plugin metadata, and frontend formatters. Keep UTC as the boundary for absolute instants while serializing user-facing dates in the configured or browser-resolved timezone. Preserve scheduler wall-clock inputs in the selected timezone, propagate TZ into desktop/runtime process environments, and restart active desktop sessions when the runtime timezone changes. Cover the risky paths with timezone regression tests for settings normalization, auto and fixed timezone resolution, scheduler round-trips, memory timestamp conversion, and desktop timezone sync.
80 lines
2.6 KiB
HTML
80 lines
2.6 KiB
HTML
<html>
|
|
<head>
|
|
<title>Agent Settings</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div x-data>
|
|
<template x-if="$store.settings">
|
|
<div>
|
|
<nav>
|
|
<ul>
|
|
<li>
|
|
<a href="#section-agent-config">
|
|
<img src="/public/agent.svg" alt="Agent Config" />
|
|
<span>Agent Config</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#section-models-summary">
|
|
<img src="/public/chat_model.svg" alt="Models" />
|
|
<span>Models</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#section-voice">
|
|
<img src="/public/speech.svg" alt="Voice" />
|
|
<span>Voice</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#section-workdir">
|
|
<img src="/public/folder.svg" alt="Workdir" />
|
|
<span>Workdir</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#section-locale">
|
|
<span class="material-symbols-outlined" aria-hidden="true">language</span>
|
|
<span>Locale</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#section-agent-plugins">
|
|
<span class="material-symbols-outlined" aria-hidden="true">extension</span>
|
|
<span>Plugins</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<div id="section-agent-config" class="section">
|
|
<x-component path="settings/agent/agent.html"></x-component>
|
|
</div>
|
|
|
|
<div id="section-models-summary" class="section">
|
|
<x-component path="/plugins/_model_config/webui/models-summary.html"></x-component>
|
|
</div>
|
|
|
|
<div id="section-voice" class="section">
|
|
<x-component path="settings/agent/voice.html"></x-component>
|
|
</div>
|
|
|
|
<div id="section-workdir" class="section">
|
|
<x-component path="settings/agent/workdir.html"></x-component>
|
|
</div>
|
|
|
|
<div id="section-locale" class="section">
|
|
<x-component path="settings/agent/locale.html"></x-component>
|
|
</div>
|
|
|
|
<!-- Plugin settings subsection: shows plugins tagged with "agent" -->
|
|
<div id="section-agent-plugins" class="section">
|
|
<x-component path="settings/plugins/plugins-subsection.html" data-tab="agent"></x-component>
|
|
</div>
|
|
|
|
</div>
|
|
</template>
|
|
</div>
|
|
</body>
|
|
</html>
|