@co0ontty/wand 4.55.3 → 4.56.0
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/build-info.json +3 -3
- package/dist/github-connector.d.ts +22 -0
- package/dist/github-connector.js +117 -0
- package/dist/missions.js +42 -9
- package/dist/server-github-routes.d.ts +10 -0
- package/dist/server-github-routes.js +239 -0
- package/dist/server-settings-routes.d.ts +2 -0
- package/dist/server-settings-routes.js +1 -0
- package/dist/server-task-routes.d.ts +4 -0
- package/dist/server-task-routes.js +99 -0
- package/dist/server-workspace-routes.js +70 -27
- package/dist/server.js +25 -0
- package/dist/storage.d.ts +42 -0
- package/dist/storage.js +223 -0
- package/dist/structured-provider-common.js +2 -1
- package/dist/task-types.d.ts +19 -0
- package/dist/task-types.js +1 -0
- package/dist/taskboard-bridge.d.ts +11 -0
- package/dist/taskboard-bridge.js +360 -0
- package/dist/web-ui/content/scripts.js +123 -127
- package/dist/web-ui/content/styles.css +1 -1
- package/dist/web-ui/embedded-assets.js +2 -2
- package/dist/web-ui/index.js +1 -0
- package/package.json +4 -2
- package/vendor/codex-taskboard/LICENSE +201 -0
- package/vendor/codex-taskboard/server/ai-chat-catalog.mjs +1031 -0
- package/vendor/codex-taskboard/server/ai-chat-process.mjs +462 -0
- package/vendor/codex-taskboard/server/ai-chat.mjs +1237 -0
- package/vendor/codex-taskboard/server/ai-turn-owner.mjs +39 -0
- package/vendor/codex-taskboard/server/app.mjs +3211 -0
- package/vendor/codex-taskboard/server/cloud-config.mjs +188 -0
- package/vendor/codex-taskboard/server/cloud-proxy.mjs +310 -0
- package/vendor/codex-taskboard/server/codex-app-server.mjs +376 -0
- package/vendor/codex-taskboard/server/codex-slash-commands-0.139.0.json +62 -0
- package/vendor/codex-taskboard/server/database.mjs +2845 -0
- package/vendor/codex-taskboard/server/index.mjs +41 -0
- package/vendor/codex-taskboard/server/jira-config.mjs +181 -0
- package/vendor/codex-taskboard/server/jira-integration.mjs +487 -0
- package/vendor/codex-taskboard/server/project-summary.mjs +159 -0
- package/vendor/codex-taskboard/shared/api-fields.mjs +163 -0
- package/vendor/codex-taskboard/shared/codex-environment.mjs +5 -0
- package/vendor/codex-taskboard/shared/codex-executable.mjs +77 -0
- package/vendor/codex-taskboard/shared/codex-permissions.mjs +9 -0
- package/vendor/codex-taskboard/shared/composer-reference.d.mts +19 -0
- package/vendor/codex-taskboard/shared/composer-reference.mjs +90 -0
- package/vendor/codex-taskboard/shared/domain.mjs +34 -0
- package/vendor/codex-taskboard/shared/executable-command.mjs +13 -0
- package/vendor/codex-taskboard/shared/process-tree.mjs +27 -0
- package/vendor/codex-taskboard/shared/task-input.mjs +308 -0
- package/vendor/codex-taskboard/shared/task-records.mjs +199 -0
- package/vendor/codex-taskboard/shared/task-relations.mjs +55 -0
- package/vendor/codex-taskboard/shared/taskboard-automation.mjs +277 -0
- package/vendor/codex-taskboard/skills/manage-taskboard/SKILL.md +45 -0
- package/vendor/codex-taskboard/skills/manage-taskboard/agents/openai.yaml +4 -0
- package/vendor/codex-taskboard/skills/manage-taskboard/references/cli.md +211 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { spawn } from "node:child_process";
|
|
2
|
+
import { Socket } from "node:net";
|
|
3
|
+
|
|
4
|
+
import { executableCommand } from "../shared/executable-command.mjs";
|
|
5
|
+
import { signalProcessTree } from "../shared/process-tree.mjs";
|
|
6
|
+
|
|
7
|
+
const [executable, encodedArgs] = process.argv.slice(2);
|
|
8
|
+
if (!executable || !encodedArgs) process.exit(2);
|
|
9
|
+
|
|
10
|
+
const command = executableCommand(executable, JSON.parse(encodedArgs));
|
|
11
|
+
const child = spawn(command.executable, command.args, {
|
|
12
|
+
env: process.env,
|
|
13
|
+
stdio: "inherit",
|
|
14
|
+
windowsHide: true,
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
const control = new Socket({ fd: 3, readable: true, writable: false });
|
|
18
|
+
const terminateGroup = () => {
|
|
19
|
+
if (process.platform !== "win32") {
|
|
20
|
+
try {
|
|
21
|
+
process.kill(-process.pid, "SIGKILL");
|
|
22
|
+
return;
|
|
23
|
+
} catch {}
|
|
24
|
+
}
|
|
25
|
+
signalProcessTree(child, "SIGKILL");
|
|
26
|
+
process.exit(1);
|
|
27
|
+
};
|
|
28
|
+
control.once("end", terminateGroup);
|
|
29
|
+
control.once("error", terminateGroup);
|
|
30
|
+
control.resume();
|
|
31
|
+
|
|
32
|
+
child.once("error", (error) => {
|
|
33
|
+
process.stderr.write(`${error.message}\n`);
|
|
34
|
+
process.exit(1);
|
|
35
|
+
});
|
|
36
|
+
child.once("exit", (code, signal) => {
|
|
37
|
+
if (signal) process.kill(process.pid, signal);
|
|
38
|
+
else process.exit(code ?? 1);
|
|
39
|
+
});
|