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