| 1 | <html> |
| 2 | <head> |
| 3 | <title>Development</title> |
| 4 | </head> |
| 5 | |
| 6 | <body> |
| 7 | <div x-data> |
| 8 | <template x-if="$store.settings.settings"> |
| 9 | <div> |
| 10 | <div class="section-title">Development</div> |
| 11 | <div class="section-description"> |
| 12 | Low-level controls for local framework development and transport diagnostics. |
| 13 | </div> |
| 14 | |
| 15 | <template x-if="!$store.settings.additional?.is_dockerized"> |
| 16 | <div> |
| 17 | <div class="field"> |
| 18 | <div class="field-label"> |
| 19 | <div class="field-title">RFC destination URL</div> |
| 20 | <div class="field-description"> |
| 21 | Base URL of the Dockerized Agent Zero instance used for remote function calls. |
| 22 | </div> |
| 23 | </div> |
| 24 | <div class="field-control"> |
| 25 | <input type="text" x-model="$store.settings.settings.rfc_url" /> |
| 26 | </div> |
| 27 | </div> |
| 28 | </div> |
| 29 | </template> |
| 30 | |
| 31 | <div class="field"> |
| 32 | <div class="field-label"> |
| 33 | <div class="field-title">RFC password</div> |
| 34 | <div class="field-description"> |
| 35 | Shared password required by both instances before remote calls are accepted. |
| 36 | </div> |
| 37 | </div> |
| 38 | <div class="field-control"> |
| 39 | <input type="text" class="masked-text-input" autocomplete="off" x-model="$store.settings.settings.rfc_password" /> |
| 40 | </div> |
| 41 | </div> |
| 42 | |
| 43 | <template x-if="!$store.settings.additional?.is_dockerized"> |
| 44 | <div> |
| 45 | <div class="field"> |
| 46 | <div class="field-label"> |
| 47 | <div class="field-title">RFC HTTP port</div> |
| 48 | <div class="field-description">HTTP port exposed by the Dockerized Agent Zero instance.</div> |
| 49 | </div> |
| 50 | <div class="field-control"> |
| 51 | <input type="number" x-model.number="$store.settings.settings.rfc_port_http" /> |
| 52 | </div> |
| 53 | </div> |
| 54 | </div> |
| 55 | </template> |
| 56 | |
| 57 | <div class="settings-advanced-section" x-data="{ advOpen: false }"> |
| 58 | <button type="button" class="settings-advanced-toggle" @click="advOpen = !advOpen"> |
| 59 | <x-icon class="settings-advanced-toggle-icon" |
| 60 | :style="advOpen ? 'transform:rotate(90deg)' : ''" name="chevron_right"></x-icon> |
| 61 | <span>Advanced Settings</span> |
| 62 | </button> |
| 63 | |
| 64 | <div class="settings-advanced-body" x-show="advOpen" x-transition.opacity> |
| 65 | <div class="field"> |
| 66 | <div class="field-label"> |
| 67 | <div class="field-title">Broadcast restart events</div> |
| 68 | <div class="field-description"> |
| 69 | Tell connected clients when the server has started again. |
| 70 | </div> |
| 71 | </div> |
| 72 | <div class="field-control"> |
| 73 | <label class="toggle"> |
| 74 | <input type="checkbox" x-model="$store.settings.settings.websocket_server_restart_enabled" /> |
| 75 | <span class="toggler"></span> |
| 76 | </label> |
| 77 | </div> |
| 78 | </div> |
| 79 | |
| 80 | <div class="field"> |
| 81 | <div class="field-label"> |
| 82 | <div class="field-title">Uvicorn access logs</div> |
| 83 | <div class="field-description"> |
| 84 | Temporarily log HTTP traffic while debugging transport issues. |
| 85 | </div> |
| 86 | <template |
| 87 | x-if="$store.settings.additional?.runtime_settings && |
| 88 | $store.settings.settings?.uvicorn_access_logs_enabled !== |
| 89 | $store.settings.additional.runtime_settings.uvicorn_access_logs_enabled" |
| 90 | > |
| 91 | <div class="field-description"> |
| 92 | Applies after backend restart. |
| 93 | </div> |
| 94 | </template> |
| 95 | </div> |
| 96 | <div class="field-control"> |
| 97 | <label class="toggle"> |
| 98 | <input type="checkbox" x-model="$store.settings.settings.uvicorn_access_logs_enabled" /> |
| 99 | <span class="toggler"></span> |
| 100 | </label> |
| 101 | </div> |
| 102 | </div> |
| 103 | |
| 104 | <template x-if="!$store.settings.additional?.is_dockerized"> |
| 105 | <div> |
| 106 | <div class="settings-subsection-title">Testing</div> |
| 107 | <div class="settings-subsection-description"> |
| 108 | Utilities for validating WebSocket infrastructure in development environments. |
| 109 | </div> |
| 110 | |
| 111 | <div class="field"> |
| 112 | <div class="field-label"> |
| 113 | <div class="field-title">WebSocket test harness</div> |
| 114 | <div class="field-description"> |
| 115 | Run automated and manual WebSocket validation suites. |
| 116 | </div> |
| 117 | </div> |
| 118 | <div class="field-control"> |
| 119 | <button |
| 120 | class="btn btn-field" |
| 121 | @click="openModal('settings/developer/websocket-tester.html');" |
| 122 | > |
| 123 | Open Harness |
| 124 | </button> |
| 125 | </div> |
| 126 | </div> |
| 127 | |
| 128 | <div class="field"> |
| 129 | <div class="field-label"> |
| 130 | <div class="field-title">WebSocket event console</div> |
| 131 | <div class="field-description"> |
| 132 | Inspect inbound and outbound envelopes and lifecycle events in real time. |
| 133 | </div> |
| 134 | </div> |
| 135 | <div class="field-control"> |
| 136 | <button |
| 137 | class="btn btn-field" |
| 138 | @click="openModal('settings/developer/websocket-event-console.html');" |
| 139 | > |
| 140 | Open Console |
| 141 | </button> |
| 142 | </div> |
| 143 | </div> |
| 144 | </div> |
| 145 | </template> |
| 146 | </div> |
| 147 | </div> |
| 148 | </div> |
| 149 | </template> |
| 150 | </div> |
| 151 | </body> |
| 152 | </html> |