@auto-engineer/cli 0.9.6 → 0.9.8

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/package.json CHANGED
@@ -55,10 +55,10 @@
55
55
  "socket.io": "^4.7.5",
56
56
  "test": "^3.3.0",
57
57
  "yaml": "^2.6.1",
58
- "@auto-engineer/message-store": "0.9.6",
59
- "@auto-engineer/message-bus": "0.9.6",
60
- "@auto-engineer/file-store": "0.9.6",
61
- "@auto-engineer/flow": "0.9.6"
58
+ "@auto-engineer/message-bus": "0.9.8",
59
+ "@auto-engineer/message-store": "0.9.8",
60
+ "@auto-engineer/flow": "0.9.8",
61
+ "@auto-engineer/file-store": "0.9.8"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@types/cors": "^2.8.0",
@@ -73,7 +73,7 @@
73
73
  "node-fetch": "^3.3.2",
74
74
  "tsx": "^4.20.3"
75
75
  },
76
- "version": "0.9.6",
76
+ "version": "0.9.8",
77
77
  "scripts": {
78
78
  "build": "tsc && tsx ../../scripts/fix-esm-imports.ts && chmod +x dist/bin/auto.js && cp -r src/server/*.html src/server/*.svg dist/src/server/ 2>/dev/null || true",
79
79
  "test": "vitest run --reporter=dot",
@@ -1,291 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>On Auto — Canvas Server</title>
7
- <meta name="onauto:hosted-url" content="" />
8
- <link
9
- rel="icon"
10
- type="image/svg+xml"
11
- href="data:image/svg+xml,%3Csvg width='637' height='637' viewBox='0 0 637 637' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1042_512)'%3E%3Crect width='637' height='637'/%3E%3Cpath d='M693.161 -427.743L-623.632 1532.31L-591.107 1552.06L725.686 -407.988L693.161 -427.743Z' fill='%23EC3F4A'/%3E%3Cpath d='M725.695 -407.962L-591.097 1552.09L-571.511 1563.98L745.281 -396.066L725.695 -407.962Z' fill='%231A1A1A'/%3E%3Cpath d='M745.281 -396.071L-571.511 1563.98L-538.986 1583.73L777.807 -376.315L745.281 -396.071Z' fill='%23FF8A1D'/%3E%3Cpath d='M777.815 -376.302L-538.978 1583.75L-519.391 1595.64L797.402 -364.406L777.815 -376.302Z' fill='%231A1A1A'/%3E%3Cpath d='M797.394 -364.425L-519.399 1595.62L-486.874 1615.38L829.919 -344.67L797.394 -364.425Z' fill='%235EC72D'/%3E%3Cpath d='M829.913 -344.684L-486.879 1615.37L-467.293 1627.26L849.499 -332.787L829.913 -344.684Z' fill='%231A1A1A'/%3E%3Cpath d='M849.467 -332.791L-467.326 1627.26L-434.801 1647.01L881.992 -313.035L849.467 -332.791Z' fill='%2342C3F7'/%3E%3Cpath d='M882 -313.038L-434.792 1647.01L-415.206 1658.91L901.587 -301.142L882 -313.038Z' fill='%231A1A1A'/%3E%3Cpath d='M673.55 -439.635L-643.242 1520.42L-623.656 1532.31L693.136 -427.738L673.55 -439.635Z' fill='%231A1A1A'/%3E%3Cpath d='M512.644 100H121.718C109.652 100 100 109.667 100 121.751V513.277C100 525.361 109.652 535.028 121.718 535.028H512.644C524.71 535.028 534.362 525.361 534.362 513.277V121.751C534.362 109.667 524.71 100 512.644 100Z' fill='white'/%3E%3Cpath d='M413.706 481.86C451.11 481.86 481.274 451.649 481.274 414.189C481.274 376.728 451.11 346.518 413.706 346.518C376.303 346.518 346.139 376.728 346.139 414.189C346.139 451.649 376.303 481.86 413.706 481.86Z' fill='%231A1A1A'/%3E%3Cpath d='M153.089 347.968C153.089 347.243 153.813 346.518 154.537 346.518H287.017C287.741 346.518 288.465 347.243 288.465 347.968V412.98C288.465 413.705 287.741 414.43 287.017 414.43H257.095C256.371 414.43 255.647 415.155 255.647 415.88V480.893C255.647 481.618 254.923 482.343 254.199 482.343H188.321C187.597 482.343 186.873 481.618 186.873 480.893V415.88C186.873 415.155 186.149 414.43 185.425 414.43H154.296C153.572 414.43 152.848 413.705 152.848 412.98V347.968H153.089Z' fill='%231A1A1A'/%3E%3Cpath d='M347.587 153.17C346.863 153.17 346.139 153.895 346.139 154.621V223.017C346.139 259.269 376.303 288.513 413.706 288.513C451.11 288.513 481.274 259.269 481.274 223.017V154.621C481.274 153.895 480.55 153.17 479.826 153.17H347.345H347.587Z' fill='%231A1A1A'/%3E%3Cpath d='M153.33 286.339C152.848 287.306 153.33 288.272 154.537 288.272H286.776C287.742 288.272 288.465 287.306 287.983 286.339L221.863 154.139C221.381 153.172 219.933 153.172 219.45 154.139L153.33 286.339Z' fill='%231A1A1A'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1042_512'%3E%3Crect width='637' height='637' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"
12
- />
13
- <style>
14
- * {
15
- box-sizing: border-box;
16
- }
17
-
18
- html,
19
- body {
20
- margin: 0;
21
- padding: 0;
22
- width: 100vw;
23
- height: 100vh;
24
- }
25
-
26
- :root {
27
- --brand-red: #ec3f4a;
28
- --brand-orange: #ff8a1d;
29
- --brand-green: #5ec72d;
30
- --brand-blue: #42c3f7;
31
- --brand-primary: #0057dd;
32
- }
33
-
34
- .landing-root {
35
- width: 100%;
36
- height: 100%;
37
- color: #e6e9ef;
38
- font-family:
39
- ui-sans-serif,
40
- system-ui,
41
- -apple-system,
42
- Segoe UI,
43
- Roboto,
44
- Ubuntu,
45
- Cantarell,
46
- Noto Sans,
47
- Helvetica Neue,
48
- Arial,
49
- 'Apple Color Emoji',
50
- 'Segoe UI Emoji';
51
- position: relative;
52
- overflow: hidden;
53
- background-image:
54
- linear-gradient(180deg, rgba(5, 7, 13, 0.65), rgba(3, 4, 10, 0.85)),
55
- url('https://framerusercontent.com/images/KkJqJ4krjg5tkwq9wtHeMXjKaMU.png?width=1440&height=780');
56
- background-size: cover;
57
- background-position: center;
58
- }
59
-
60
- .landing-container {
61
- width: 100%;
62
- height: 100%;
63
- display: flex;
64
- flex-direction: column;
65
- align-items: center;
66
- justify-content: center;
67
- gap: 24px;
68
- padding: 24px;
69
- }
70
-
71
- .content-grid {
72
- width: 100%;
73
- max-width: 1120px;
74
- display: grid;
75
- grid-template-columns: 1fr 1.2fr;
76
- align-items: center;
77
- gap: 36px;
78
- }
79
-
80
- .left {
81
- display: flex;
82
- justify-content: center;
83
- }
84
-
85
- .right {
86
- display: flex;
87
- align-items: center;
88
- justify-content: center;
89
- }
90
-
91
- .hero {
92
- text-align: center;
93
- display: flex;
94
- flex-direction: column;
95
- align-items: center;
96
- gap: 14px;
97
- }
98
-
99
- .badge {
100
- display: inline-flex;
101
- align-items: center;
102
- gap: 6px;
103
- padding: 6px 10px;
104
- border-radius: 999px;
105
- background: rgba(0, 87, 221, 0.18);
106
- color: #c9d8ff;
107
- font-weight: 600;
108
- font-size: 12px;
109
- letter-spacing: 0.2px;
110
- border: 1px solid rgba(0, 87, 221, 0.35);
111
- }
112
-
113
- .headline {
114
- margin: 0;
115
- font-size: 36px;
116
- line-height: 1.15;
117
- letter-spacing: -0.02em;
118
- }
119
-
120
- .subhead {
121
- margin: 0;
122
- color: #b9c3d6;
123
- }
124
-
125
- .actions {
126
- display: flex;
127
- align-items: center;
128
- gap: 12px;
129
- margin-top: 6px;
130
- justify-content: center;
131
- }
132
-
133
- button.primary {
134
- appearance: none;
135
- border: none;
136
- border-radius: 10px;
137
- padding: 14px 24px;
138
- background: linear-gradient(135deg, var(--brand-primary) 0%, #1b73ff 100%);
139
- color: white;
140
- font-weight: 600;
141
- cursor: pointer;
142
- }
143
-
144
- button.primary:disabled {
145
- opacity: 0.6;
146
- cursor: not-allowed;
147
- }
148
-
149
- .checkbox {
150
- display: inline-flex;
151
- align-items: center;
152
- gap: 8px;
153
- color: #a5adba;
154
- user-select: none;
155
- margin-top: 6px;
156
- }
157
-
158
- .footer-links {
159
- display: flex;
160
- align-items: center;
161
- gap: 10px;
162
- color: #7d8696;
163
- }
164
-
165
- .footer-links a {
166
- color: #aab4c6;
167
- text-decoration: none;
168
- }
169
-
170
- .footer-links a:hover {
171
- color: #d3dcf0;
172
- }
173
-
174
- .preview-wrap {
175
- width: 100%;
176
- max-width: 720px;
177
- border-radius: 14px;
178
- overflow: hidden;
179
- border: 1px solid rgba(255, 255, 255, 0.1);
180
- box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
181
- transform: translateZ(0);
182
- background: rgba(255, 255, 255, 0.03);
183
- backdrop-filter: blur(6px) saturate(120%);
184
- }
185
-
186
- .preview-image {
187
- display: block;
188
- width: 100%;
189
- height: auto;
190
- }
191
-
192
- @media (max-width: 960px) {
193
- .content-grid {
194
- grid-template-columns: 1fr;
195
- gap: 24px;
196
- }
197
-
198
- .left {
199
- order: 2;
200
- }
201
-
202
- .right {
203
- order: 1;
204
- }
205
-
206
- .hero {
207
- text-align: left;
208
- align-items: flex-start;
209
- }
210
-
211
- .actions {
212
- justify-content: flex-start;
213
- }
214
- }
215
- </style>
216
- </head>
217
-
218
- <body>
219
- <div class="landing-root">
220
- <div class="landing-container">
221
- <div class="content-grid">
222
- <div class="left">
223
- <div class="hero">
224
- <span class="badge">Local Canvas Server</span>
225
- <h1 class="headline">Your SDLC, On Auto</h1>
226
- <p class="subhead">Spec-driven canvas, connected to your components and APIs.</p>
227
- <div class="actions">
228
- <button class="primary" id="openBtn">Open Canvas</button>
229
- <div class="hint" id="hint" style="color: #aab4c6; font-size: 12px; display: none"></div>
230
- </div>
231
- <label class="checkbox">
232
- <input type="checkbox" id="dontShowAgain" />
233
- <span>Don’t show this again</span>
234
- </label>
235
- </div>
236
- </div>
237
- <div class="right">
238
- <div class="preview-wrap">
239
- <img
240
- class="preview-image"
241
- src="https://framerusercontent.com/images/CNWTnnzKDAguGscqMJ0TuHvDvM.png?scale-down-to=2048"
242
- alt="Canvas preview"
243
- loading="lazy"
244
- />
245
- </div>
246
- </div>
247
- </div>
248
-
249
- <div class="footer-links">
250
- <a href="https://on.auto/" target="_blank" rel="noreferrer">Website</a>
251
- <span>·</span>
252
- <a href="https://on.auto/" target="_blank" rel="noreferrer">Docs</a>
253
- <span>·</span>
254
- <a href="https://github.com/onauto" target="_blank" rel="noreferrer">GitHub</a>
255
- </div>
256
- </div>
257
- </div>
258
-
259
- <script>
260
- (function () {
261
- var STORAGE_KEY = 'onauto_shell_skipLanding';
262
-
263
- var hostedUrl = 'https://sandbox.on.auto';
264
- var skip = false;
265
- try {
266
- skip = localStorage.getItem(STORAGE_KEY) === 'true';
267
- } catch (e) {}
268
-
269
- if (skip) {
270
- window.location.replace(hostedUrl);
271
- return;
272
- }
273
-
274
- var openBtn = document.getElementById('openBtn');
275
- var hint = document.getElementById('hint');
276
- var dontShowAgain = document.getElementById('dontShowAgain');
277
-
278
- openBtn.addEventListener('click', function () {
279
- try {
280
- if (dontShowAgain && dontShowAgain.checked) {
281
- localStorage.setItem(STORAGE_KEY, 'true');
282
- window.location.replace(hostedUrl);
283
- return;
284
- }
285
- } catch (e) {}
286
- window.location.assign(hostedUrl);
287
- });
288
- })();
289
- </script>
290
- </body>
291
- </html>