next-issue 14.4.0 → 14.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/dist/shared/agents.mjs +0 -2
- package/dist/worker/serve.mjs +8 -1
- package/package.json +1 -1
package/dist/shared/agents.mjs
CHANGED
|
@@ -12,10 +12,8 @@ export const REVIEWING = {
|
|
|
12
12
|
export const CODING = {
|
|
13
13
|
disallowedTools: [],
|
|
14
14
|
};
|
|
15
|
-
export const OWN_PLUGIN = 'next-issue@next-issue';
|
|
16
15
|
export const OWN_SKILLS = ['create-issue', 'answer-hand-over'];
|
|
17
16
|
const OWN_SETTINGS = {
|
|
18
|
-
enabledPlugins: { [OWN_PLUGIN]: false },
|
|
19
17
|
skillOverrides: Object.fromEntries(OWN_SKILLS.map((name) => [name, 'off'])),
|
|
20
18
|
};
|
|
21
19
|
export async function runAgent(recorder, request) {
|
package/dist/worker/serve.mjs
CHANGED
|
@@ -253,7 +253,14 @@ export async function startWorker(options) {
|
|
|
253
253
|
reply(response, 405, refusal('the worker answers GET and POST only'));
|
|
254
254
|
}
|
|
255
255
|
else {
|
|
256
|
-
|
|
256
|
+
let body;
|
|
257
|
+
try {
|
|
258
|
+
body = await readBody(request);
|
|
259
|
+
}
|
|
260
|
+
catch {
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
263
|
+
const value = parseMessage(body);
|
|
257
264
|
if (value === undefined) {
|
|
258
265
|
reply(response, 400, refusal('the request is not a next-issue message'));
|
|
259
266
|
return;
|