Skip to content

Commit a8ebc17

Browse files
authored
Merge pull request #46 from oslabs-beta/paython-mcp
Paython mcp
2 parents 01759dc + c8e9872 commit a8ebc17

File tree

6 files changed

+822
-25
lines changed

6 files changed

+822
-25
lines changed

client/src/pages/ConfigurePage.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export default function ConfigurePage() {
226226
<section className="space-y-6 rounded-2xl border border-white/20 bg-white/10 backdrop-blur-md shadow-glass p-6 text-white">
227227
{/* Template */}
228228
<label className="grid gap-1">
229-
<span className="text-sm font-medium">Template</span>
229+
<span className="text-sm font-medium text-slate-800">Template</span>
230230
<select
231231
disabled={busy}
232232
value={template}
@@ -261,7 +261,7 @@ export default function ConfigurePage() {
261261

262262
{/* Stages */}
263263
<fieldset className="space-y-2">
264-
<legend className="text-sm font-medium">Enabled stages</legend>
264+
<legend className="text-sm font-medium text-slate-800">Enabled stages</legend>
265265
<div className="flex flex-wrap gap-3">
266266
{(["build", "test", "deploy"] as const).map((stage) => (
267267
<label
@@ -284,7 +284,7 @@ export default function ConfigurePage() {
284284
{/* Node version + commands */}
285285
<div className="grid gap-4">
286286
<label className="grid gap-1">
287-
<span className="text-sm font-medium">Node version</span>
287+
<span className="text-sm font-medium text-slate-800">Node version</span>
288288
<input
289289
disabled={busy}
290290
value={options.nodeVersion}
@@ -295,7 +295,7 @@ export default function ConfigurePage() {
295295
</label>
296296

297297
<label className="grid gap-1">
298-
<span className="text-sm font-medium">Install command</span>
298+
<span className="text-sm font-medium text-slate-800">Install command</span>
299299
<input
300300
disabled={busy}
301301
value={options.installCmd}
@@ -306,7 +306,7 @@ export default function ConfigurePage() {
306306
</label>
307307

308308
<label className="grid gap-1">
309-
<span className="text-sm font-medium">Test command</span>
309+
<span className="text-sm font-medium text-slate-800">Test command</span>
310310
<input
311311
disabled={busy}
312312
value={options.testCmd}
@@ -317,7 +317,7 @@ export default function ConfigurePage() {
317317
</label>
318318

319319
<label className="grid gap-1">
320-
<span className="text-sm font-medium">Build command</span>
320+
<span className="text-sm font-medium text-slate-800">Build command</span>
321321
<input
322322
disabled={busy}
323323
value={options.buildCmd}

client/vite.config.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ export default defineConfig({
2020
target: "http://localhost:3000",
2121
changeOrigin: true,
2222
},
23-
// // optional, if you have other endpoints like /api
24-
// "/api": {
25-
// target: "http://localhost:3000",
26-
// changeOrigin: true,
27-
// },
23+
// optional, if you have other endpoints like /api
24+
"/api": {
25+
target: "http://localhost:3000",
26+
changeOrigin: true,
27+
},
28+
"/agent": {
29+
target: "http://localhost:3000",
30+
changeOrigin: true,
31+
},
2832
},
2933
},
3034
});

0 commit comments

Comments
 (0)