-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.html
More file actions
332 lines (305 loc) · 13.3 KB
/
app.html
File metadata and controls
332 lines (305 loc) · 13.3 KB
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="CivAgent Desktop is a connected organization intelligence workspace for real AI-agent operating plans."
/>
<title>CivAgent Desktop - Command Workspace</title>
<link rel="icon" type="image/png" href="assets/brand/favicon.png" />
<link rel="apple-touch-icon" href="assets/brand/apple-touch-icon.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css?v=1.0.3" />
</head>
<body class="desktop-app app-workstation">
<div class="app-backdrop" aria-hidden="true">
<canvas id="field"></canvas>
</div>
<div class="app-frame">
<aside class="app-sidebar" aria-label="Workspace navigation">
<a class="app-brand" href="#command" aria-label="CivAgent command center">
<img class="brand-mark" src="assets/brand/civagent-mark.svg" alt="" />
<span>
<strong>CivAgent</strong>
<small>Desktop</small>
</span>
</a>
<nav class="app-nav">
<a href="#command">Command</a>
<a href="#intake">Intake</a>
<a href="#evidence">Evidence</a>
<a href="#artifacts">Artifacts</a>
<a href="#runs">Runs</a>
<a href="#audit">Audit</a>
</nav>
<div class="sidebar-status">
<span>Backend</span>
<strong id="workspaceStatus"><span></span> Connecting</strong>
</div>
<a class="sidebar-link" href="/">Product site</a>
</aside>
<main class="app-main" id="top">
<header class="app-commandbar" id="command">
<div>
<p class="eyebrow">Organization intelligence workspace</p>
<h1>CivAgent Command Center</h1>
</div>
<div class="command-actions">
<a href="https://github.com/YukiCodepth/CivAgent/releases/tag/v1.0.3" target="_blank" rel="noreferrer">Release</a>
<a href="docs/workflow-diagram.html" target="_blank" rel="noreferrer">Diagram</a>
</div>
</header>
<section class="app-grid command-grid" aria-label="Command overview">
<article class="command-panel command-primary">
<div>
<p class="eyebrow">Live agent run</p>
<h2 id="heroOrg">Northstar Labs</h2>
<p id="agentNotice" role="status">Checking .env readiness for the required agent stack.</p>
</div>
<div class="command-stats">
<div>
<small>Readiness</small>
<strong id="heroReadiness">84%</strong>
</div>
<div>
<small>Leverage</small>
<strong id="heroLeverage">1 : 18</strong>
</div>
<div>
<small>Agents</small>
<strong id="heroAgents">4</strong>
</div>
<div>
<small>Risk</small>
<strong id="heroRisk">Medium</strong>
</div>
</div>
</article>
<article class="command-panel env-panel">
<div class="saved-head">
<div>
<h3>.env configuration</h3>
<span id="configNotice">CivAgent reads provider keys from `.env` or backend environment variables.</span>
</div>
</div>
<div class="env-paths">
<code>Create .env at the path shown above</code>
<code>Restart CivAgent Desktop</code>
</div>
<p>
Secrets are not entered inside the app. Put Gemini, Tavily, Supabase,
Firecrawl, Composio, and E2B values in `.env`, then restart CivAgent.
</p>
</article>
<article class="mini-metric">
<small>Control checks</small>
<strong id="controlCount">9</strong>
</article>
<article class="mini-metric">
<small>Approval gates</small>
<strong id="approvalCount">4</strong>
</article>
<article class="mini-metric">
<small>Saved runs</small>
<strong id="storedRuns">0</strong>
</article>
</section>
<section id="intake" class="app-section workspace">
<div class="workspace-shell">
<div class="workspace-head">
<div>
<p class="eyebrow">Intake and run controls</p>
<h2>Design the operating model from company reality.</h2>
<p>
Enter the organization profile, required website, operating thesis,
and governance posture. CivAgent runs only when every required `.env`
integration is ready.
</p>
</div>
</div>
<div class="workspace-grid">
<form class="ops-form" id="simForm">
<div class="field-pair">
<label for="orgName">Organization</label>
<input id="orgName" name="orgName" placeholder="Northstar Labs" autocomplete="organization" />
</div>
<div class="field-pair">
<label for="website">Website or product URL</label>
<input id="website" name="website" placeholder="https://example.com" inputmode="url" autocomplete="url" required />
</div>
<div class="form-row">
<div class="field-pair">
<label for="market">Primary market</label>
<select id="market" name="market" aria-label="Primary market">
<option>Enterprise SaaS</option>
<option>Healthcare operations</option>
<option>Fintech infrastructure</option>
<option>Legal services</option>
<option>Industrial logistics</option>
<option>Customer operations</option>
</select>
</div>
<div class="field-pair">
<label for="stage">Company stage</label>
<select id="stage" name="stage" aria-label="Company stage">
<option>Pre-seed</option>
<option selected>Seed</option>
<option>Series A</option>
<option>Growth</option>
<option>Enterprise transformation</option>
</select>
</div>
</div>
<div class="field-pair">
<label for="thesis">Operating thesis</label>
<textarea
id="thesis"
name="thesis"
rows="5"
placeholder="Describe the business, customers, core workflows, and where agents should create leverage."
></textarea>
</div>
<div class="slider-grid">
<div class="range-card">
<label for="humans">Human operators</label>
<output id="humanOutput">12</output>
<input id="humans" name="humans" type="range" min="2" max="120" value="12" />
</div>
<div class="range-card">
<label for="agentCount">Planned agents</label>
<output id="agentOutput">32</output>
<input id="agentCount" name="agentCount" type="range" min="4" max="250" value="32" />
</div>
<div class="range-card">
<label for="riskTolerance">Risk tolerance</label>
<output id="riskOutput">54</output>
<input id="riskTolerance" name="riskTolerance" type="range" min="10" max="90" value="54" />
</div>
</div>
<div class="form-row">
<div class="field-pair">
<label for="autonomy">Autonomy policy</label>
<select id="autonomy" name="autonomy" aria-label="Autonomy policy">
<option>Human-reviewed</option>
<option selected>Human-supervised</option>
<option>Autonomous with limits</option>
</select>
</div>
<div class="field-pair">
<label for="horizon">Planning horizon</label>
<select id="horizon" name="horizon" aria-label="Planning horizon">
<option value="90">90 days</option>
<option value="180">180 days</option>
<option value="365" selected>12 months</option>
<option value="730">24 months</option>
</select>
</div>
</div>
<div class="button-row">
<button type="submit" id="runAgentButton">Run organization agent</button>
<button type="button" class="ghost-button" id="resetWorkspace">Reset profile</button>
</div>
</form>
<section class="ops-board" aria-label="Run output">
<div class="score-strip" id="scoreStrip">
<div>
<small>Readiness</small>
<strong>84%</strong>
</div>
<div>
<small>Human leverage</small>
<strong>1 : 18</strong>
</div>
<div>
<small>Risk level</small>
<strong>Medium</strong>
</div>
</div>
<div class="brief" id="brief" aria-live="polite"></div>
<div class="governance-card">
<span>Governance map</span>
<strong id="modelLabelA">Enterprise SaaS</strong>
<strong id="modelLabelB">4 core roles</strong>
<strong id="modelLabelC">4 approval gates</strong>
<p id="governanceCopy">
CivAgent maps agent roles, approval gates, control checks, and
evidence requirements before deployment.
</p>
</div>
</section>
</div>
</div>
</section>
<section id="evidence" class="app-section evidence-grid" aria-label="Agent evidence">
<article class="agent-panel env-readiness">
<div class="saved-head">
<h3>Required stack</h3>
<span id="agentMode">Awaiting .env</span>
</div>
<div class="integration-grid" id="integrationGrid"></div>
</article>
<article class="agent-panel">
<div class="saved-head">
<h3>Agent timeline</h3>
<span>Specialist orchestration</span>
</div>
<div class="agent-timeline" id="agentTimeline"></div>
</article>
<article class="agent-panel">
<div class="saved-head">
<h3>Sources</h3>
<span>Live research evidence</span>
</div>
<div class="source-list" id="sourceList"></div>
</article>
<article class="agent-panel">
<div class="saved-head">
<h3>Tool calls and approvals</h3>
<span>Action governance</span>
</div>
<div class="tool-list" id="toolList"></div>
<div class="approval-list" id="approvalList"></div>
</article>
</section>
<section id="artifacts" class="app-section artifacts">
<div class="section-kicker">Artifacts</div>
<div class="app-section-head">
<h2>Generated company evidence</h2>
<p>
The active run updates intelligence briefs, workflow plans, tool access,
approval policy, risk register, business model, and executive memo.
</p>
</div>
<div class="artifact-grid" id="artifactGrid"></div>
</section>
<section id="runs" class="app-section run-audit-grid">
<section class="saved-runs" aria-label="Saved organization agent runs">
<div class="saved-head">
<h3>Recent runs</h3>
<div>
<button type="button" id="exportRun">Export report</button>
<button type="button" id="clearRuns">Clear</button>
</div>
</div>
<div class="run-list" id="runList" aria-live="polite"></div>
</section>
<section id="audit" class="audit-panel" aria-label="Audit log">
<div class="saved-head">
<h3>Audit log</h3>
<span id="auditMode">Awaiting activity</span>
</div>
<div class="audit-list" id="auditList" aria-live="polite"></div>
</section>
</section>
</main>
</div>
<script src="script.js?v=1.0.3"></script>
</body>
</html>