@abuaboud/box 0.7.15 → 0.7.16
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/cbox.mjs +4 -1
- package/package.json +1 -1
package/dist/cbox.mjs
CHANGED
|
@@ -1312,7 +1312,10 @@ async function setup() {
|
|
|
1312
1312
|
}
|
|
1313
1313
|
async function submit(issues, o) {
|
|
1314
1314
|
const env = await chooseEnvironment(o.env, gitRepo());
|
|
1315
|
-
const body = { envId: env.id, issues: issues.map((text) =>
|
|
1315
|
+
const body = { envId: env.id, issues: issues.map((text) => {
|
|
1316
|
+
const [title, ...rest] = text.trim().split("\n");
|
|
1317
|
+
return { title: title.trim().slice(0, 200), prompt: rest.join("\n").trim() || title.trim() };
|
|
1318
|
+
}) };
|
|
1316
1319
|
const { data } = await api("/api/issues", { method: "POST", body: JSON.stringify(body) });
|
|
1317
1320
|
const width = Math.max(...data.map((s) => s.title.length)) + 2;
|
|
1318
1321
|
for (const s of data) s.agent ? ok(`${s.title.padEnd(width)}${dim(`${s.agent} \xB7 ${s.url}`)}`) : miss(`${s.title.padEnd(width)}${dim(s.error ?? `already submitted \xB7 ${s.url}`)}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abuaboud/box",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.16",
|
|
4
4
|
"description": "skyfleet: Claude Code on your laptop, the work on a cloud dev machine (a ship) you reach as <name>.skyfleet, with your team databases through MCP.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|