@sellable/install 0.1.698 → 0.1.699

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.
@@ -9,6 +9,7 @@ const MAX_RESPONSE_BYTES = 512 * 1024;
9
9
  const MAX_INPUT_BYTES = 128 * 1024;
10
10
  const MAX_INSTRUCTIONS_BYTES = 128 * 1024;
11
11
  const MAX_HISTORY_BYTES = 128 * 1024;
12
+ const MAX_HISTORY_ITEM_BYTES = 48 * 1024;
12
13
  const MAX_HISTORY_ITEMS = 64;
13
14
  const MAX_EVENT_BYTES = 128 * 1024;
14
15
  const MAX_CANONICAL_OUTPUT_BYTES = 48 * 1024;
@@ -182,7 +183,7 @@ function canonicalHistory(value) {
182
183
  !exactObject(item) ||
183
184
  !["user", "assistant"].includes(item.role) ||
184
185
  typeof item.content !== "string" ||
185
- bytes(item.content) > 16 * 1024 ||
186
+ bytes(item.content) > MAX_HISTORY_ITEM_BYTES ||
186
187
  stableJson(Object.keys(item).sort()) !== stableJson(["content", "role"])
187
188
  ) {
188
189
  throw new Error("hermes_runs_history_rejected");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/install",
3
- "version": "0.1.698",
3
+ "version": "0.1.699",
4
4
  "type": "module",
5
5
  "description": "One-command installer for Sellable MCP in Claude Code, Codex, and Hermes",
6
6
  "bin": {