@appchy/jarvis 0.1.131 → 0.1.132
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/bin.js +10 -4
- package/dist/bin.js.map +1 -1
- package/package.json +3 -3
package/dist/bin.js
CHANGED
|
@@ -4950,7 +4950,7 @@ async function getBrief(_ctx, req, options) {
|
|
|
4950
4950
|
}
|
|
4951
4951
|
}
|
|
4952
4952
|
async function createWorkItem(ctx, req, options) {
|
|
4953
|
-
await harness(
|
|
4953
|
+
const said = await harness(
|
|
4954
4954
|
[
|
|
4955
4955
|
"task-new",
|
|
4956
4956
|
req.name,
|
|
@@ -4966,7 +4966,12 @@ async function createWorkItem(ctx, req, options) {
|
|
|
4966
4966
|
],
|
|
4967
4967
|
options
|
|
4968
4968
|
);
|
|
4969
|
-
|
|
4969
|
+
const item2 = await getWorkItem(ctx, { id: req.name }, options);
|
|
4970
|
+
const warning2 = notesIn(said);
|
|
4971
|
+
return warning2 ? { item: item2, warning: warning2 } : { item: item2 };
|
|
4972
|
+
}
|
|
4973
|
+
function notesIn(said) {
|
|
4974
|
+
return said.split("\n").map((line) => line.trim()).filter((line) => line.startsWith("note:")).map((line) => line.slice("note:".length).trim()).join(" ");
|
|
4970
4975
|
}
|
|
4971
4976
|
async function moveWorkItem(ctx, req, options) {
|
|
4972
4977
|
await harness(
|
|
@@ -5214,9 +5219,10 @@ async function verifyWorkItem2(ctx, req, options) {
|
|
|
5214
5219
|
return { ...verified, notices: notices(ctx, req.id) };
|
|
5215
5220
|
}
|
|
5216
5221
|
async function createWorkItem2(ctx, req, options) {
|
|
5217
|
-
const item2 = await createWorkItem(ctx, req, options);
|
|
5222
|
+
const { item: item2, warning: warning2 } = await createWorkItem(ctx, req, options);
|
|
5218
5223
|
return {
|
|
5219
5224
|
item: { ...item2, holders: await listHolders(options.root, item2.id) },
|
|
5225
|
+
...warning2 ? { warning: warning2 } : {},
|
|
5220
5226
|
notices: notices(ctx)
|
|
5221
5227
|
};
|
|
5222
5228
|
}
|
|
@@ -10396,7 +10402,7 @@ import { createRequire as createRequire2 } from "module";
|
|
|
10396
10402
|
var _require = createRequire2(import.meta.url);
|
|
10397
10403
|
var VERSION2 = _require("../package.json").version ?? "0.0.0";
|
|
10398
10404
|
var IS_DEV = String(_require("../package.json").name ?? "").endsWith("-dev");
|
|
10399
|
-
var SHA = "
|
|
10405
|
+
var SHA = "361e631";
|
|
10400
10406
|
var BUILT = "2026-09-12";
|
|
10401
10407
|
var BUILD = SHA ?? "source";
|
|
10402
10408
|
var BUILD_LABEL = `${SHA ? `${VERSION2} (${SHA}${BUILT ? ` ${BUILT}` : ""})` : `${VERSION2} (source)`}${IS_DEV ? " \u2014 development build" : ""}`;
|