@chipschat/hermes 1.0.11 → 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/README.md CHANGED
@@ -218,7 +218,9 @@ the key it kept. The scratch Chips, the link and the run come from Chips's `tool
218
218
  ## Release
219
219
 
220
220
  `npm run release` builds `dist/main.js`, one file with the SDK and everything else bundled in, and
221
- `dist/THIRD-PARTY-NOTICES.md` beside it; runs the tests; and packs `chipschat-hermes-<version>.tgz`. `npm publish`
222
- publishes it. A version's major is the Chips protocol it speaks, and Chips's card names that major
223
- (Chips ADR 0218): a fix is a minor or a patch, and reaches every card of its major the day it is
224
- published.
221
+ `dist/THIRD-PARTY-NOTICES.md` beside it; runs the tests; and packs `chipschat-hermes-<version>.tgz`. To publish,
222
+ change `version` in package.json (`npm version <x> --no-git-tag-version`), commit, and push to main:
223
+ `.github/workflows/publish.yml` runs the tests and publishes that version from GitHub with npm's
224
+ trusted publishing, and skips a version npm already has. A version's major is the Chips protocol it
225
+ speaks, and Chips's card names that major (Chips ADR 0218): a fix is a minor or a patch, and reaches
226
+ every card of its major the day it is published.
@@ -1,6 +1,6 @@
1
1
  # Third-party notices
2
2
 
3
- `dist/main.js` in @chipschat/hermes 1.0.11 carries these packages, bundled in. Each one's
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: (description === void 0 ? "Run this command?" : `Allow it to ${lowerFirst(description)}?`).slice(0, 300),
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
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@chipschat/hermes",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Hermes Agent as a Chips harness, on its Runs API: each profile a Chips agent, each room a Hermes session.",
5
5
  "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/arjungupta99/chips-hermes.git"
9
+ },
6
10
  "type": "module",
7
11
  "engines": {
8
12
  "node": ">=22.19.0"