@flowdular/sandbox 0.3.2 → 0.4.1
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/internal/coding-agent/src/drivers/byok.ts +16 -1
- package/internal/coding-agent/src/index.ts +1 -0
- package/internal/coding-agent/src/roles/defaults.ts +9 -0
- package/internal/coding-agent/src/roles/skills.ts +1 -0
- package/internal/coding-agent/src/types.ts +11 -0
- package/package.json +2 -2
- package/src/App.tsrx +77 -56
- package/src/client/DiffPane.tsrx +3 -7
- package/src/client/EjectModal.tsrx +7 -9
- package/src/client/GitHubSettingsModal.tsrx +8 -8
- package/src/client/ModelSettingsModal.tsrx +5 -5
- package/src/client/NewSessionForm.tsrx +1 -1
- package/src/client/PendingQuestionsCard.tsrx +1 -1
- package/src/client/SessionPicker.tsrx +49 -36
- package/src/client/SpecEditor.tsrx +1 -1
- package/src/client/locales/en.json +30 -16
- package/src/client/locales/pl.json +78 -28
- package/src/server/delivery/configuration.ts +16 -0
- package/src/server/delivery/git-pr.ts +51 -22
- package/src/server/delivery/types.ts +2 -0
- package/src/server/gates.ts +34 -8
- package/src/server/preview-modules.ts +43 -0
- package/src/server/preview-revision.ts +1 -0
- package/src/server/preview-runtime.ts +41 -4
- package/src/server/preview-seed.ts +115 -0
- package/src/server/recorded-adapters.ts +132 -0
- package/src/server/sample-data.ts +403 -0
- package/src/server/turns.ts +16 -1
- package/dist/client/assets/App-ClMOrpyg.js +0 -11
- package/dist/client/assets/PreviewHost-BHiHrfbQ.js +0 -1
- package/dist/client/assets/auto-buGEq6de.js +0 -3
- package/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/dist/client/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/dist/client/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/dist/client/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/dist/client/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/dist/client/assets/ibm-plex-sans-cyrillic-ext-wght-normal-d45eAU9y.woff2 +0 -0
- package/dist/client/assets/ibm-plex-sans-cyrillic-wght-normal-BAAhND-U.woff2 +0 -0
- package/dist/client/assets/ibm-plex-sans-greek-wght-normal-CmyJS8uq.woff2 +0 -0
- package/dist/client/assets/ibm-plex-sans-latin-ext-wght-normal-CIII54If.woff2 +0 -0
- package/dist/client/assets/ibm-plex-sans-latin-wght-normal-IvpUvPa2.woff2 +0 -0
- package/dist/client/assets/ibm-plex-sans-vietnamese-wght-normal-Dg1JeJN0.woff2 +0 -0
- package/dist/client/assets/index-CvwhlQ87.js +0 -4
- package/dist/client/assets/styles-BPWaGf55.js +0 -3
- package/dist/client/assets/styles-Dx1_KOag.css +0 -1
- package/dist/client/favicon.svg +0 -1
- package/dist/server/assets/auto-CVGNYyb3.js +0 -12785
- package/dist/server/assets/chunk-DDJLRBDX-3OUNo51g.js +0 -4125
- package/dist/server/assets/nodefs-DVSI7kG0.js +0 -24
- package/dist/server/assets/opfs-ahp-D56iokt1.js +0 -388
- package/dist/server/assets/token-Bvaq7Anz.js +0 -55
- package/dist/server/assets/token-util-BqSvdIPQ.js +0 -3
- package/dist/server/assets/token-util-CktFFT4z.js +0 -494
- package/dist/server/entry.js +0 -91671
- package/dist/server/favicon.svg +0 -1
- package/dist/server/index.html +0 -161
package/dist/server/favicon.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect width="24" height="24" rx="5.4" fill="#2557D6"/><g transform="translate(12 12) scale(0.64) translate(-12 -12)"><circle cx="7.9" cy="3.4" r="1.7" fill="#fff"/><rect x="6.2" y="3.4" width="3.4" height="1.6" fill="#fff"/><rect x="6.2" y="10.8" width="3.4" height="9.8" fill="#fff"/><circle cx="7.9" cy="20.6" r="1.7" fill="#fff"/><circle cx="16.1" cy="3.4" r="1.7" fill="#fff"/><rect x="14.4" y="3.4" width="3.4" height="9.8" fill="#fff"/><rect x="14.4" y="19" width="3.4" height="1.6" fill="#fff"/><circle cx="16.1" cy="20.6" r="1.7" fill="#fff"/><circle cx="3.4" cy="7.9" r="1.7" fill="#fff"/><rect x="3.4" y="6.2" width="9.8" height="3.4" fill="#fff"/><rect x="19" y="6.2" width="1.6" height="3.4" fill="#fff"/><circle cx="20.6" cy="7.9" r="1.7" fill="#fff"/><circle cx="3.4" cy="16.1" r="1.7" fill="#fff"/><rect x="3.4" y="14.4" width="1.6" height="3.4" fill="#fff"/><rect x="10.8" y="14.4" width="9.8" height="3.4" fill="#fff"/><circle cx="20.6" cy="16.1" r="1.7" fill="#fff"/></g></svg>
|
package/dist/server/index.html
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en" class="coreloom-booting">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<meta name="theme-color" content="#ffffff" />
|
|
7
|
-
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
8
|
-
<title>Coreloom Sandbox</title>
|
|
9
|
-
<style id="coreloom-critical-splash">
|
|
10
|
-
html,
|
|
11
|
-
body,
|
|
12
|
-
#root {
|
|
13
|
-
min-height: 100%;
|
|
14
|
-
margin: 0;
|
|
15
|
-
background: #ffffff;
|
|
16
|
-
}
|
|
17
|
-
.coreloom-splash {
|
|
18
|
-
position: fixed;
|
|
19
|
-
inset: 0;
|
|
20
|
-
z-index: 2147483647;
|
|
21
|
-
display: grid;
|
|
22
|
-
place-items: center;
|
|
23
|
-
background: #ffffff;
|
|
24
|
-
color: #141b2e;
|
|
25
|
-
transition: opacity 180ms ease;
|
|
26
|
-
}
|
|
27
|
-
.coreloom-splash__content {
|
|
28
|
-
display: grid;
|
|
29
|
-
justify-items: center;
|
|
30
|
-
gap: 14px;
|
|
31
|
-
font:
|
|
32
|
-
600 13px/1.2 ui-sans-serif,
|
|
33
|
-
system-ui,
|
|
34
|
-
sans-serif;
|
|
35
|
-
letter-spacing: 0.14em;
|
|
36
|
-
text-transform: uppercase;
|
|
37
|
-
}
|
|
38
|
-
.coreloom-splash__stage {
|
|
39
|
-
min-width: 190px;
|
|
40
|
-
font-size: 10px;
|
|
41
|
-
font-weight: 500;
|
|
42
|
-
color: #64738f;
|
|
43
|
-
letter-spacing: 0.08em;
|
|
44
|
-
text-align: center;
|
|
45
|
-
text-transform: none;
|
|
46
|
-
}
|
|
47
|
-
.coreloom-splash__mark {
|
|
48
|
-
display: block;
|
|
49
|
-
width: 40px;
|
|
50
|
-
height: 40px;
|
|
51
|
-
animation: coreloom-pulse 1.4s ease-in-out infinite alternate;
|
|
52
|
-
}
|
|
53
|
-
.coreloom-splash--leaving {
|
|
54
|
-
opacity: 0;
|
|
55
|
-
pointer-events: none;
|
|
56
|
-
}
|
|
57
|
-
@keyframes coreloom-pulse {
|
|
58
|
-
to {
|
|
59
|
-
opacity: 0.45;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
@media (prefers-reduced-motion: reduce) {
|
|
63
|
-
.coreloom-splash__mark {
|
|
64
|
-
animation: none;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
</style>
|
|
68
|
-
<!--ssr-head-->
|
|
69
|
-
<script type="module" crossorigin src="/assets/index-CvwhlQ87.js"></script>
|
|
70
|
-
</head>
|
|
71
|
-
<body aria-busy="true">
|
|
72
|
-
<div
|
|
73
|
-
id="coreloom-splash"
|
|
74
|
-
class="coreloom-splash"
|
|
75
|
-
role="status"
|
|
76
|
-
aria-live="polite"
|
|
77
|
-
>
|
|
78
|
-
<div class="coreloom-splash__content">
|
|
79
|
-
<svg
|
|
80
|
-
class="coreloom-splash__mark"
|
|
81
|
-
viewBox="0 0 24 24"
|
|
82
|
-
aria-hidden="true"
|
|
83
|
-
>
|
|
84
|
-
<g fill="#141b2e">
|
|
85
|
-
<circle cx="7.9" cy="3.4" r="1.7" />
|
|
86
|
-
<rect x="6.2" y="3.4" width="3.4" height="1.6" />
|
|
87
|
-
<rect x="6.2" y="10.8" width="3.4" height="9.8" />
|
|
88
|
-
<circle cx="7.9" cy="20.6" r="1.7" />
|
|
89
|
-
<circle cx="16.1" cy="3.4" r="1.7" />
|
|
90
|
-
<rect x="14.4" y="3.4" width="3.4" height="9.8" />
|
|
91
|
-
<rect x="14.4" y="19" width="3.4" height="1.6" />
|
|
92
|
-
<circle cx="16.1" cy="20.6" r="1.7" />
|
|
93
|
-
</g>
|
|
94
|
-
<g fill="#e08a45">
|
|
95
|
-
<circle cx="3.4" cy="7.9" r="1.7" />
|
|
96
|
-
<rect x="3.4" y="6.2" width="9.8" height="3.4" />
|
|
97
|
-
<rect x="19" y="6.2" width="1.6" height="3.4" />
|
|
98
|
-
<circle cx="20.6" cy="7.9" r="1.7" />
|
|
99
|
-
<circle cx="3.4" cy="16.1" r="1.7" />
|
|
100
|
-
<rect x="3.4" y="14.4" width="1.6" height="3.4" />
|
|
101
|
-
<rect x="10.8" y="14.4" width="9.8" height="3.4" />
|
|
102
|
-
<circle cx="20.6" cy="16.1" r="1.7" />
|
|
103
|
-
</g>
|
|
104
|
-
</svg>
|
|
105
|
-
<span>Coreloom sandbox</span>
|
|
106
|
-
<small id="coreloom-splash-stage" class="coreloom-splash__stage"
|
|
107
|
-
>Starting the sandbox</small
|
|
108
|
-
>
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
<div id="root"><!--ssr-body--></div>
|
|
112
|
-
<script>
|
|
113
|
-
(() => {
|
|
114
|
-
const startedAt = performance.now();
|
|
115
|
-
const stages = [
|
|
116
|
-
'Reading the workspace',
|
|
117
|
-
'Probing coding agents',
|
|
118
|
-
'Connecting to the application',
|
|
119
|
-
'Preparing sessions',
|
|
120
|
-
];
|
|
121
|
-
let stageIndex = 0;
|
|
122
|
-
let ready = false;
|
|
123
|
-
let stageTimer;
|
|
124
|
-
const stage = document.getElementById('coreloom-splash-stage');
|
|
125
|
-
const advance = () => {
|
|
126
|
-
if (!stage || ready) return;
|
|
127
|
-
stage.textContent = stages[Math.min(stageIndex, stages.length - 1)];
|
|
128
|
-
stageIndex += 1;
|
|
129
|
-
};
|
|
130
|
-
const finish = () => {
|
|
131
|
-
if (ready) return;
|
|
132
|
-
ready = true;
|
|
133
|
-
clearInterval(stageTimer);
|
|
134
|
-
const splash = document.getElementById('coreloom-splash');
|
|
135
|
-
if (!splash) return;
|
|
136
|
-
const leave = () => {
|
|
137
|
-
splash.classList.add('coreloom-splash--leaving');
|
|
138
|
-
document.documentElement.classList.remove('coreloom-booting');
|
|
139
|
-
document.body.setAttribute('aria-busy', 'false');
|
|
140
|
-
setTimeout(() => splash.remove(), 200);
|
|
141
|
-
};
|
|
142
|
-
const remaining = Math.max(0, 650 - (performance.now() - startedAt));
|
|
143
|
-
setTimeout(leave, remaining);
|
|
144
|
-
};
|
|
145
|
-
window.addEventListener('DOMContentLoaded', () => {
|
|
146
|
-
advance();
|
|
147
|
-
stageTimer = setInterval(advance, 320);
|
|
148
|
-
});
|
|
149
|
-
window.addEventListener('coreloom:ready', finish, { once: true });
|
|
150
|
-
})();
|
|
151
|
-
</script>
|
|
152
|
-
<noscript
|
|
153
|
-
><style>
|
|
154
|
-
.coreloom-splash {
|
|
155
|
-
display: none;
|
|
156
|
-
}
|
|
157
|
-
</style></noscript
|
|
158
|
-
>
|
|
159
|
-
<div hidden data-octane-hydrate-marker></div>
|
|
160
|
-
</body>
|
|
161
|
-
</html>
|