@straiffi/archon 1.1.1 → 1.1.3
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/client/assets/{TestsDialog-CpLj1A99.js → TestsDialog-Buw5J9nT.js} +2 -2
- package/dist/client/assets/{badge-DBRMkzQk.js → badge-BentDQnz.js} +1 -1
- package/dist/client/assets/{index-BK_84mfc.js → index-kbsOL4Bp.js} +49 -49
- package/dist/client/index.html +2 -2
- package/dist/server/index.js +4 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/lib/testSessions.js +8 -0
- package/dist/server/lib/testSessions.js.map +1 -1
- package/package.json +1 -1
package/dist/client/index.html
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Archon</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-kbsOL4Bp.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-BYbx6iT9.js">
|
|
10
|
-
<link rel="modulepreload" crossorigin href="/assets/badge-
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/badge-BentDQnz.js">
|
|
11
11
|
<link rel="stylesheet" crossorigin href="/assets/index-Dr_tNX7Y.css">
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
package/dist/server/index.js
CHANGED
|
@@ -2292,7 +2292,8 @@ app.get('/tickets/:id/git-status', (req, res) => {
|
|
|
2292
2292
|
if ('error' in workspace) {
|
|
2293
2293
|
return res.status(workspace.status).json({ error: workspace.error });
|
|
2294
2294
|
}
|
|
2295
|
-
|
|
2295
|
+
const refreshRemote = req.query.refresh_remote === 'true';
|
|
2296
|
+
return res.json(getGitStatus(workspace.cwd, workspace.branch, workspace.project, { refreshRemote }));
|
|
2296
2297
|
});
|
|
2297
2298
|
app.get('/tickets/:id/git-commits', (req, res) => {
|
|
2298
2299
|
const ticket = getTicketRouteContext(req.params.id);
|
|
@@ -3331,6 +3332,7 @@ app.post('/planning-agent', async (req, res) => {
|
|
|
3331
3332
|
}
|
|
3332
3333
|
});
|
|
3333
3334
|
app.get('/projects', (_req, res) => {
|
|
3335
|
+
res.set('Cache-Control', 'no-store');
|
|
3334
3336
|
const projects = listProjects();
|
|
3335
3337
|
res.json(projects.map(serializeProject));
|
|
3336
3338
|
});
|
|
@@ -3372,6 +3374,7 @@ app.post('/projects', (req, res) => {
|
|
|
3372
3374
|
res.status(201).json(serializeProject(project ?? null));
|
|
3373
3375
|
});
|
|
3374
3376
|
app.get('/projects/:id', (req, res) => {
|
|
3377
|
+
res.set('Cache-Control', 'no-store');
|
|
3375
3378
|
const project = db.prepare('SELECT * FROM projects WHERE id = ?').get(req.params.id);
|
|
3376
3379
|
if (!project) {
|
|
3377
3380
|
return res.status(404).json({ error: 'Not found' });
|