Skip to repository content565 lines · 25.1 KB · text
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T01:40:41.331Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
index.hbs
1<!DOCTYPE HTML>
2<html lang="{{ language }}" dir="{{ text_direction }}">
3 <head>
4 <!-- Book generated using mdBook -->
5 <meta charset="UTF-8">
6 <style>
7 @view-transition {
8 navigation: auto;
9 }
10 ::view-transition-old(root),
11 ::view-transition-new(root) {
12 animation-duration: 0.05s;
13 }
14 </style>
15 <!-- Theme initialization - must run before any CSS loads to prevent flicker -->
16 <script>
17 (function() {
18 var theme;
19 try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
20 if (theme === null || theme === undefined) {
21 theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
22 }
23 var html = document.documentElement;
24 html.setAttribute('data-theme', theme);
25 html.setAttribute('data-color-scheme', theme);
26 html.className = theme;
27 })();
28 </script>
29 <title>{{ title }}</title>
30 <link rel="llms.txt" href="{{ path_to_root }}llms.txt">
31 {{#if is_print }}
32 <meta name="robots" content="noindex">
33 {{/if}}
34 #noindex#
35 {{#if base_url}}
36 <base href="{{ base_url }}">
37 {{/if}}
38
39
40 <!-- Custom HTML head -->
41 {{> head}}
42
43 <meta name="description" content="#description#">
44 <meta name="viewport" content="width=device-width, initial-scale=1">
45 <meta name="theme-color" content="#ffffff">
46
47 <link rel="shortcut icon" href="{{ path_to_root }}favicon.png">
48 <link rel="stylesheet" href="{{ path_to_root }}css/variables.css">
49 <link rel="stylesheet" href="{{ path_to_root }}css/general.css">
50 <link rel="stylesheet" href="{{ path_to_root }}css/chrome.css">
51 {{#if print_enable}}
52 <link rel="stylesheet" href="{{ path_to_root }}css/print.css" media="print">
53 {{/if}}
54
55 <!-- Fonts -->
56 <link rel="stylesheet" href="{{ path_to_root }}FontAwesome/css/font-awesome.css">
57 {{#if copy_fonts}}
58 <link rel="stylesheet" href="{{ path_to_root }}fonts/fonts.css">
59 {{/if}}
60
61 <!-- Highlight.js Stylesheets -->
62 <link rel="stylesheet" href="{{ path_to_root }}highlight.css">
63 <link rel="stylesheet" href="{{ path_to_root }}tomorrow-night.css">
64 <link rel="stylesheet" href="{{ path_to_root }}ayu-highlight.css">
65
66 <!-- Custom theme stylesheets -->
67 {{#each additional_css}}
68 <link rel="stylesheet" href="{{ ../path_to_root }}{{ this }}">
69 {{/each}}
70
71 {{#if mathjax_support}}
72 <!-- MathJax -->
73 <script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
74 {{/if}}
75 <meta name="amplitude-key" content="#amplitude_key#" />
76 <meta name="consent-io-instance" content="#consent_io_instance#" />
77 </head>
78 <body class="no-js">
79 <div id="body-container">
80 <div class="noise-pattern" style="background-image: url('https://cdn.zed.dev/images/noise.png');"></div>
81
82 <!-- Provide site root to javascript -->
83 <script>
84 var path_to_root = "{{ path_to_root }}";
85 var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "{{ preferred_dark_theme }}" : "{{ default_theme }}";
86 // Mark as JS-enabled
87 document.body.classList.remove('no-js');
88 document.body.classList.add('js');
89 </script>
90 <div style="position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;">
91 Agent documentation index: <a href="{{ path_to_root }}llms.txt">llms.txt</a>. Markdown versions are available for docs pages.
92 </div>
93
94 <header class="header-bar">
95 <div class="left-container">
96 <a href="/" class="logo-nav">
97 <img src="https://zed.dev/logo_icon.webp" class="icon-logo-img" alt="Zed Industries" style="height: 26px;">
98 </a>
99 <button id="sidebar-toggle" class="icon-button ib-hidden-desktop" type="button" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar" aria-expanded="false">
100 <i class="fa fa-bars"></i>
101 </button>
102 </div>
103 {{#if search_enabled}}
104 <button id="search-toggle" class="search-button" type="button" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">
105 <i class="icon fa fa-search"></i>
106 <span class="search-content-desktop">
107 <span class="placeholder">Search docs…</span>
108 <kbd>S</kbd>
109 </span>
110 <span class="search-content-mobile">
111 <span class="placeholder">Search…</span>
112 </span>
113 </button>
114 {{/if}}
115 <div class="right-container">
116 <button id="theme-toggle" class="icon-button" type="button" title="Change Theme" aria-label="Change Theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
117 <i class="fa fa-paint-brush"></i>
118 </button>
119
120 <ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
121 <li role="none"><button role="menuitem" class="theme" id="light">Light</button></li>
122 <li role="none"><button role="menuitem" class="theme" id="dark">Dark</button></li>
123 </ul>
124
125 <button id="copy-markdown-toggle" class="icon-button ib-hidden-mobile" type="button" title="Copy Page as Markdown" aria-label="Copy page as markdown">
126 <i class="fa fa-copy"></i>
127 </button>
128
129 <a class="download-button" href="https://zed.dev/download" title="Download Zed" aria-label="Download Zed">
130 Download
131 </a>
132 {{#if git_repository_url}}
133 <a href="{{git_repository_url}}" title="Git repository" aria-label="Git repository">
134 <i id="git-repository-button" class="fa {{git_repository_icon}}"></i>
135 </a>
136 {{/if}}
137 {{#if git_repository_edit_url}}
138 <a href="{{git_repository_edit_url}}" title="Suggest an edit" aria-label="Suggest an edit">
139 <i id="git-edit-button" class="fa fa-edit"></i>
140 </a>
141 {{/if}}
142 </div>
143 </header>
144
145 <div id="page-wrapper" class="page-wrapper">
146
147 {{#if search_enabled}}
148 <div class="search-container">
149 <div id="search-wrapper" class="search-modal hidden">
150 <form id="searchbar-outer" class="searchbar-outer">
151 <input type="search" id="searchbar" name="searchbar" placeholder="Search…" aria-controls="searchresults-outer" aria-describedby="searchresults-header">
152 </form>
153 <div id="searchresults-outer" class="searchresults-outer">
154 <div id="searchresults-header" class="searchresults-header"></div>
155 <ul id="searchresults">
156 </ul>
157 </div>
158 </div>
159 </div>
160 {{/if}}
161
162 <div class="page">
163 <div id="content" class="content">
164 <main>
165 {{{ content }}}
166 <div class="footer-buttons">
167 {{#previous}}
168 <a rel="prev" href="{{ path_to_root }}{{link}}" class="footer-button" title="{{title}}">
169 <i class="fa fa-angle-left"></i>
170 {{title}}
171 </a>
172 {{/previous}}
173 {{#next}}
174 <a rel="next" href="{{ path_to_root }}{{link}}" class="footer-button" title="{{title}}">
175 {{title}}
176 <i class="fa fa-angle-right"></i>
177 </a>
178 {{/next}}
179 </div>
180 <footer class="footer">
181 <a href="/" class="logo-nav">
182 <img
183 src="https://zed.dev/logo_icon.webp"
184 class="footer-logo"
185 alt="Zed Industries"
186 />
187 </a>
188 <span class="footer-separator">•</span>
189 <a class="footer-link" href="https://zed.dev"
190 >Back to Site</a
191 >
192 <span class="footer-separator">•</span>
193 <a
194 class="footer-link"
195 href="https://zed.dev/releases"
196 >Releases</a
197 >
198 <span class="footer-separator">•</span>
199 <a
200 class="footer-link"
201 href="https://zed.dev/roadmap"
202 >Roadmap</a
203 >
204 <span class="footer-separator">•</span>
205 <a
206 class="footer-link"
207 href="https://github.com/zed-industries/zed"
208 >GitHub</a
209 >
210 <span class="footer-separator">•</span>
211 <a
212 class="footer-link"
213 href="https://zed.dev/blog"
214 >Blog</a
215 >
216 <span class="footer-separator">•</span>
217 <button
218 id="c15t-manage-consent-btn"
219 class="footer-link"
220 >
221 Manage Site Cookies
222 </button>
223 </footer>
224 </main>
225 <div class="toc-container">
226 <nav class="pagetoc"></nav>
227 </div>
228 <!-- Immediately detect if page has headins that are not h1 to prevent flicker -->
229 <script>
230 (function() {
231 var tocContainer = document.querySelector('.toc-container');
232 var headers = document.querySelectorAll('.header');
233 var hasNonH1Headers = false;
234 for (var i = 0; i < headers.length; i++) {
235 var parent = headers[i].parentElement;
236 if (parent && !parent.tagName.toLowerCase().startsWith('h1')) {
237 hasNonH1Headers = true;
238 break;
239 }
240 }
241 if (hasNonH1Headers) {
242 tocContainer.classList.add('has-toc');
243 } else {
244 tocContainer.classList.add('no-toc');
245 }
246 })();
247 </script>
248 </div>
249 </div>
250
251 <nav id="sidebar" class="sidebar" aria-label="Table of contents">
252 <div class="sidebar-scrollbox">
253 {{#toc}}{{/toc}}
254 </div>
255 <div style="display: none;" id="sidebar-resize-handle" class="sidebar-resize-handle">
256 <div class="sidebar-resize-indicator"></div>
257 </div>
258 </nav>
259
260 <!-- Mobile sidebar toggle -->
261 <script>
262 (function() {
263 var sidebarToggle = document.getElementById('sidebar-toggle');
264 var sidebar = document.getElementById('sidebar');
265
266 sidebarToggle.addEventListener('click', function() {
267 var isOpen = document.body.classList.toggle('sidebar-open');
268 sidebarToggle.setAttribute('aria-expanded', isOpen);
269 sidebar.setAttribute('aria-hidden', !isOpen);
270 });
271
272 // Close sidebar when clicking a link inside it (on mobile)
273 sidebar.addEventListener('click', function(e) {
274 if (e.target.tagName === 'A' && window.innerWidth < 620) {
275 document.body.classList.remove('sidebar-open');
276 sidebarToggle.setAttribute('aria-expanded', 'false');
277 sidebar.setAttribute('aria-hidden', 'true');
278 }
279 });
280 })();
281 </script>
282
283 <!-- Search backdrop handlers -->
284 <script>
285 (function() {
286 var searchWrapper = document.getElementById('search-wrapper');
287 var searchContainer = document.querySelector('.search-container');
288 var searchResults = document.getElementById('searchresults');
289
290 if (!searchWrapper || !searchContainer) return;
291
292 searchContainer.addEventListener('click', function(e) {
293 if (e.target === searchContainer) {
294 searchWrapper.classList.add('hidden');
295 }
296 });
297
298 if (searchResults) {
299 searchResults.addEventListener('click', function(e) {
300 if (e.target.tagName === 'A' || e.target.closest('a')) {
301 searchWrapper.classList.add('hidden');
302 }
303 });
304 }
305 })();
306 </script>
307
308 <!-- Insert section spacers and apply collapsed state before scroll restoration to prevent layout shift/flicker -->
309 <script>
310 (function() {
311 var chapterList = document.querySelector('#sidebar ol.chapter');
312 if (!chapterList) return;
313
314 var collapsedSections = [];
315 try {
316 var stored = sessionStorage.getItem('sidebar-collapsed-sections');
317 if (stored) {
318 collapsedSections = JSON.parse(stored);
319 }
320 } catch (e) {}
321
322 var partTitles = chapterList.querySelectorAll('li.part-title');
323 var previousPartTitle = null;
324
325 partTitles.forEach(function(partTitle, index) {
326 partTitle._sectionName = partTitle.textContent.trim();
327
328 // Insert a spacer before this part-title (except for the first one)
329 if (index > 0) {
330 var spacer = document.createElement('li');
331 spacer.className = 'section-spacer';
332 partTitle.parentNode.insertBefore(spacer, partTitle);
333
334 if (previousPartTitle) {
335 previousPartTitle._spacerAfter = spacer;
336 }
337 }
338
339 var isCollapsed = collapsedSections.includes(partTitle._sectionName);
340 if (isCollapsed) {
341 // Hide all siblings until next part-title
342 var sibling = partTitle.nextElementSibling;
343 while (sibling && !sibling.classList.contains('part-title')) {
344 sibling.classList.add('section-hidden');
345 sibling = sibling.nextElementSibling;
346 }
347 // Hide the spacer after this section (will be set on next iteration)
348 partTitle._isCollapsed = true;
349 }
350
351 // If previous section was collapsed, hide its spacer
352 if (previousPartTitle && previousPartTitle._isCollapsed && previousPartTitle._spacerAfter) {
353 previousPartTitle._spacerAfter.classList.add('section-hidden');
354 }
355
356 previousPartTitle = partTitle;
357 });
358
359 // Handle the last section's spacer if it was collapsed
360 if (previousPartTitle && previousPartTitle._isCollapsed && previousPartTitle._spacerAfter) {
361 previousPartTitle._spacerAfter.classList.add('section-hidden');
362 }
363 })();
364 </script>
365
366 <!-- Track and set sidebar scroll position -->
367 <script>
368 var sidebarScrollbox = document.querySelector('#sidebar .sidebar-scrollbox');
369 sidebarScrollbox.addEventListener('click', function(e) {
370 if (e.target.tagName === 'A') {
371 sessionStorage.setItem('sidebar-scroll', sidebarScrollbox.scrollTop);
372 }
373 }, { passive: true });
374 var sidebarScrollTop = sessionStorage.getItem('sidebar-scroll');
375 sessionStorage.removeItem('sidebar-scroll');
376 if (sidebarScrollTop) {
377 // preserve sidebar scroll position when navigating via links within sidebar
378 sidebarScrollbox.scrollTop = sidebarScrollTop;
379 } else {
380 // scroll sidebar to current active section when navigating via "next/previous chapter" buttons
381 var activeSection = document.querySelector('#sidebar .active');
382 if (activeSection) {
383 activeSection.scrollIntoView({ block: 'center' });
384 }
385 }
386 </script>
387 </div>
388
389 {{#if live_reload_endpoint}}
390 <!-- Livereload script (if served using the cli tool) -->
391 <script>
392 const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
393 const wsAddress = wsProtocol + "//" + location.host + "/" + "{{{live_reload_endpoint}}}";
394 const socket = new WebSocket(wsAddress);
395 socket.onmessage = function (event) {
396 if (event.data === "reload") {
397 socket.close();
398 location.reload();
399 }
400 };
401
402 window.onbeforeunload = function() {
403 socket.close();
404 }
405 </script>
406 {{/if}}
407
408 {{#if playground_line_numbers}}
409 <script>
410 window.playground_line_numbers = true;
411 </script>
412 {{/if}}
413
414 {{#if playground_copyable}}
415 <script>
416 window.playground_copyable = true;
417 </script>
418 {{/if}}
419
420 {{#if playground_js}}
421 <script src="{{ path_to_root }}ace.js"></script>
422 <script src="{{ path_to_root }}editor.js"></script>
423 <script src="{{ path_to_root }}mode-rust.js"></script>
424 <script src="{{ path_to_root }}theme-dawn.js"></script>
425 <script src="{{ path_to_root }}theme-tomorrow_night.js"></script>
426 {{/if}}
427
428 {{#if search_js}}
429 <script src="{{ path_to_root }}elasticlunr.min.js"></script>
430 <script src="{{ path_to_root }}mark.min.js"></script>
431 <script src="{{ path_to_root }}searcher.js"></script>
432
433 <script>
434 (function () {
435 // Check for focused search result and bring into the view
436 const ensureVisible = () => {
437 const focused = document.querySelector("#searchresults li.focus");
438
439 if (focused) {
440 focused.scrollIntoView({
441 block: "nearest",
442 inline: "nearest"
443 });
444 }
445 };
446
447 // 1. Listen for arrow key events
448 // 2. Wait for DOM to update
449 // 3. Call envsureVisible
450 document.addEventListener("keydown", function (e) {
451 if (e.key === "ArrowDown" || e.key === "ArrowUp") {
452 requestAnimationFrame(ensureVisible);
453 }
454 });
455 })();
456 </script>
457 {{/if}}
458
459 <script src="{{ path_to_root }}clipboard.min.js"></script>
460 <script src="{{ path_to_root }}highlight.js"></script>
461 <script src="{{ path_to_root }}book.js"></script>
462
463 <!-- Custom JS scripts -->
464 {{#each additional_js}}
465 <script src="{{ ../path_to_root }}{{this}}"></script>
466 {{/each}}
467
468 {{#if is_print}}
469 {{#if mathjax_support}}
470 <script>
471 window.addEventListener('load', function() {
472 MathJax.Hub.Register.StartupHook('End', function() {
473 window.setTimeout(window.print, 100);
474 });
475 });
476 </script>
477 {{else}}
478 <script>
479 window.addEventListener('load', function() {
480 window.setTimeout(window.print, 100);
481 });
482 </script>
483 {{/if}}
484 {{/if}}
485
486 <!-- c15t Consent Banner -->
487 <div id="c15t-banner" style="display: none;">
488 <div>
489 <p id="c15t-description">
490 Zed uses cookies to improve your experience and for marketing. Read <a href="https://zed.dev/cookie-policy">our cookie policy</a> for more details.
491 </p>
492 </div>
493 <div id="c15t-configure-section" style="display: none">
494 <div>
495 <label for="c15t-toggle-necessary"
496 >Strictly Necessary</label
497 >
498 <label class="c15t-switch">
499 <input
500 type="checkbox"
501 id="c15t-toggle-necessary"
502 checked
503 disabled
504 />
505 <span class="c15t-slider"></span>
506 </label>
507 </div>
508 <div>
509 <label for="c15t-toggle-measurement">Analytics</label>
510 <label class="c15t-switch">
511 <input
512 type="checkbox"
513 id="c15t-toggle-measurement"
514 />
515 <span class="c15t-slider"></span>
516 </label>
517 </div>
518 <div>
519 <label for="c15t-toggle-marketing">Marketing</label>
520 <label class="c15t-switch">
521 <input
522 type="checkbox"
523 id="c15t-toggle-marketing"
524 />
525 <span class="c15t-slider"></span>
526 </label>
527 </div>
528 </div>
529 <div id="c15t-footer">
530 <button
531 id="c15t-configure-btn"
532 class="c15t-button icon"
533 title="Configure"
534 >
535 <svg
536 xmlns="http://www.w3.org/2000/svg"
537 width="14"
538 height="14"
539 viewBox="0 0 24 24"
540 fill="none"
541 stroke="currentColor"
542 stroke-width="2"
543 stroke-linecap="round"
544 stroke-linejoin="round"
545 >
546 <path d="M20 7h-9" />
547 <path d="M14 17H5" />
548 <circle cx="17" cy="17" r="3" />
549 <circle cx="7" cy="7" r="3" />
550 </svg>
551 </button>
552 <div>
553 <button id="c15t-decline" class="c15t-button">
554 Reject all
555 </button>
556 <button id="c15t-accept" class="c15t-button primary">
557 Accept all
558 </button>
559 </div>
560 </div>
561 </div>
562 </div>
563 </body>
564</html>
565