-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (62 loc) · 2.39 KB
/
index.html
File metadata and controls
66 lines (62 loc) · 2.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Conductor Tutorial</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<header>
<h1>Welcome to Conductor</h1>
</header>
<section class="features">
<div class="card">
<h2>1. Add your repo.</h2>
<p>Conductor clones it and works entirely on your Mac.</p>
</div>
<div class="card">
<h2>2. Deploy agents.</h2>
<p>Spin up multiple Claude Codes. Each one gets an isolated workspace.</p>
</div>
<div class="card">
<h2>3. Orchestrate. </h2>
<p>See who’s busy and who needs attention. Review code changes.</p>
</div>
</section>
<section class="guest-log">
<h2>Guest Log</h2>
<ul>
<li>
Charlie was here.
</li>
<li>
Charlie 2 was here.
</li>
</ul>
</section>
<section class="debug-info">
<h2>Debug Info</h2>
<div class="debug-content">
<p><strong>Workspace Name:</strong> <span id="workspace-name">Loading...</span></p>
<p><strong>Workspace Path:</strong> <span id="workspace-path">Loading...</span></p>
</div>
</section>
</div>
<script>
// Get workspace information
const workspacePath = window.location.pathname;
const pathParts = workspacePath.split('/').filter(part => part);
const workspaceName = pathParts[pathParts.length - 1] || 'unknown';
// For local file access, we'll determine the current directory name dynamically
const currentPath = window.location.pathname;
const actualWorkspaceName = currentPath.includes('/') ?
currentPath.split('/').pop() ||
(typeof process !== 'undefined' && process.cwd ? process.cwd().split('/').pop() : 'unknown')
: 'unknown';
document.getElementById('workspace-name').textContent = actualWorkspaceName;
document.getElementById('workspace-path').textContent = window.location.pathname || 'unknown';
</script>
</body>
</html>