@karmaniverous/jeeves-server 3.4.0 → 3.4.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/.tsbuildinfo +1 -1
- package/CHANGELOG.md +20 -1
- package/client/src/lib/runner-api.ts +9 -1
- package/dist/client/assets/{CodeEditor-BKFEoNHo.js → CodeEditor-DQZZL5Rq.js} +1 -1
- package/dist/client/assets/{CodeViewer-ykQDxC2m.js → CodeViewer-ofJVD1Vn.js} +1 -1
- package/dist/client/assets/{index-Bk4tUE4j.js → index-jSGuHSeS.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/src/routes/api/runner.js +2 -5
- package/package.json +1 -1
- package/src/routes/api/runner.ts +2 -6
package/dist/client/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<meta name="robots" content="noindex, nofollow" />
|
|
8
8
|
<title>Jeeves Server</title>
|
|
9
|
-
<script type="module" crossorigin src="/app/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/app/assets/index-jSGuHSeS.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/app/assets/index-D-RC7ZS6.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
@@ -30,9 +30,6 @@ export const runnerRoutes = async (fastify) => {
|
|
|
30
30
|
return reply.code(403).send({ error: 'Insider access required' });
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
|
-
fastify.get('/api/runner/health', async (_req, reply) => {
|
|
34
|
-
await proxyToRunner(reply, '/health');
|
|
35
|
-
});
|
|
36
33
|
fastify.get('/api/runner/jobs', async (_req, reply) => {
|
|
37
34
|
await proxyToRunner(reply, '/jobs');
|
|
38
35
|
});
|
|
@@ -53,7 +50,7 @@ export const runnerRoutes = async (fastify) => {
|
|
|
53
50
|
fastify.post('/api/runner/jobs/:id/disable', async (req, reply) => {
|
|
54
51
|
await proxyToRunner(reply, `/jobs/${encodeURIComponent(req.params.id)}/disable`, 'POST');
|
|
55
52
|
});
|
|
56
|
-
fastify.get('/api/runner/
|
|
57
|
-
await proxyToRunner(reply, '/
|
|
53
|
+
fastify.get('/api/runner/status', async (_req, reply) => {
|
|
54
|
+
await proxyToRunner(reply, '/status');
|
|
58
55
|
});
|
|
59
56
|
};
|
package/package.json
CHANGED
package/src/routes/api/runner.ts
CHANGED
|
@@ -44,10 +44,6 @@ export const runnerRoutes: FastifyPluginAsync = async (fastify) => {
|
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
fastify.get('/api/runner/health', async (_req, reply) => {
|
|
48
|
-
await proxyToRunner(reply, '/health');
|
|
49
|
-
});
|
|
50
|
-
|
|
51
47
|
fastify.get('/api/runner/jobs', async (_req, reply) => {
|
|
52
48
|
await proxyToRunner(reply, '/jobs');
|
|
53
49
|
});
|
|
@@ -101,7 +97,7 @@ export const runnerRoutes: FastifyPluginAsync = async (fastify) => {
|
|
|
101
97
|
},
|
|
102
98
|
);
|
|
103
99
|
|
|
104
|
-
fastify.get('/api/runner/
|
|
105
|
-
await proxyToRunner(reply, '/
|
|
100
|
+
fastify.get('/api/runner/status', async (_req, reply) => {
|
|
101
|
+
await proxyToRunner(reply, '/status');
|
|
106
102
|
});
|
|
107
103
|
};
|