@chipschat/hermes 1.0.12 → 1.0.13
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/THIRD-PARTY-NOTICES.md +1 -1
- package/dist/main.js +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Third-party notices
|
|
2
2
|
|
|
3
|
-
`dist/main.js` in @chipschat/hermes 1.0.
|
|
3
|
+
`dist/main.js` in @chipschat/hermes 1.0.13 carries these packages, bundled in. Each one's
|
|
4
4
|
licence follows.
|
|
5
5
|
|
|
6
6
|
## @chipschat/harness 0.0.0 (Apache-2.0)
|
package/dist/main.js
CHANGED
|
@@ -28418,7 +28418,7 @@ ${hook.lines}`);
|
|
|
28418
28418
|
kind: command === void 0 ? "hermes.approval" : "shell.exec",
|
|
28419
28419
|
input: { ...command === void 0 ? {} : { command }, ...description === void 0 ? {} : { description } }
|
|
28420
28420
|
},
|
|
28421
|
-
question:
|
|
28421
|
+
question: description === void 0 ? "Run this command?" : `Allow it to ${cut(lowerFirst(description), QUESTION_MAX - 13)}?`,
|
|
28422
28422
|
lasts: "once",
|
|
28423
28423
|
risk: [],
|
|
28424
28424
|
...command === void 0 ? {} : { preview: { format: "markdown", title: "Run a command", body: `\`\`\`sh
|
|
@@ -28596,6 +28596,7 @@ function lookingAgain(note) {
|
|
|
28596
28596
|
const first = note?.split("\n").find((line2) => line2.trim() !== "")?.trim();
|
|
28597
28597
|
return first === void 0 ? "Looking again at its reply" : cut(`Looking again: ${first}`, GOAL_SHOWN);
|
|
28598
28598
|
}
|
|
28599
|
+
var QUESTION_MAX = 200;
|
|
28599
28600
|
function cut(text, most) {
|
|
28600
28601
|
return text.length <= most ? text : `${text.slice(0, most - 1)}\u2026`;
|
|
28601
28602
|
}
|
package/package.json
CHANGED