@cluesmith/codev 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
- package/dist/agent-farm/commands/spawn.js +61 -5
- package/dist/agent-farm/commands/spawn.js.map +1 -1
- package/dist/agent-farm/commands/start.d.ts.map +1 -1
- package/dist/agent-farm/commands/start.js +29 -12
- package/dist/agent-farm/commands/start.js.map +1 -1
- package/dist/agent-farm/hq-connector.d.ts +23 -0
- package/dist/agent-farm/hq-connector.d.ts.map +1 -0
- package/dist/agent-farm/hq-connector.js +366 -0
- package/dist/agent-farm/hq-connector.js.map +1 -0
- package/dist/agent-farm/servers/dashboard-server.js +46 -0
- package/dist/agent-farm/servers/dashboard-server.js.map +1 -1
- package/dist/commands/adopt.d.ts.map +1 -1
- package/dist/commands/adopt.js +3 -2
- package/dist/commands/adopt.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +26 -0
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +3 -2
- package/dist/commands/init.js.map +1 -1
- package/package.json +5 -2
- package/skeleton/protocols/spider/templates/spec.md +13 -0
- package/templates/dashboard/js/files.js +38 -0
- package/templates/dashboard/js/main.js +3 -0
- package/templates/open.html +9 -1
package/templates/open.html
CHANGED
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
}
|
|
22
22
|
body.preview-active {
|
|
23
23
|
overflow: hidden;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
24
26
|
}
|
|
25
27
|
.header {
|
|
26
28
|
padding: 15px 20px;
|
|
@@ -29,6 +31,7 @@
|
|
|
29
31
|
position: sticky;
|
|
30
32
|
top: 0;
|
|
31
33
|
z-index: 100;
|
|
34
|
+
flex-shrink: 0; /* Don't shrink in preview flex layout */
|
|
32
35
|
}
|
|
33
36
|
.header h1.path { font-size: 14px; font-weight: 500; font-family: monospace; color: #fff; }
|
|
34
37
|
.header .subtitle { color: #888; font-size: 12px; margin-top: 4px; }
|
|
@@ -109,6 +112,9 @@
|
|
|
109
112
|
color: #fff;
|
|
110
113
|
max-width: 900px;
|
|
111
114
|
margin: 0 auto;
|
|
115
|
+
/* Fixes #143: use flex to fill remaining height instead of fixed calc */
|
|
116
|
+
flex: 1;
|
|
117
|
+
min-height: 0; /* Allow flex shrinking for overflow to work */
|
|
112
118
|
}
|
|
113
119
|
|
|
114
120
|
#preview-container h1,
|
|
@@ -468,7 +474,7 @@
|
|
|
468
474
|
</div>
|
|
469
475
|
|
|
470
476
|
<!-- Markdown preview mode -->
|
|
471
|
-
<div id="preview-container" style="display: none; padding: 20px; overflow: auto;
|
|
477
|
+
<div id="preview-container" style="display: none; padding: 20px; overflow: auto;"></div>
|
|
472
478
|
|
|
473
479
|
<!-- Image viewer mode -->
|
|
474
480
|
<div id="image-viewer">
|
|
@@ -837,6 +843,8 @@
|
|
|
837
843
|
function configureMarked() {
|
|
838
844
|
if (typeof marked !== 'undefined' && !marked._configured) {
|
|
839
845
|
marked.use({
|
|
846
|
+
// Enable breaks: single newlines become <br> (fixes #141)
|
|
847
|
+
breaks: true,
|
|
840
848
|
renderer: {
|
|
841
849
|
link(href, title, text) {
|
|
842
850
|
const titleAttr = title ? ` title="${title}"` : '';
|