@sellable/install 0.1.458 → 0.1.460

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.
@@ -3,12 +3,12 @@ FROM ${HERMES_IMAGE}
3
3
 
4
4
  USER root
5
5
 
6
- ARG INSTALLER_PACKAGE=@sellable/install@0.1.458
6
+ ARG INSTALLER_PACKAGE=@sellable/install@0.1.460
7
7
  ARG MCP_PACKAGE=@sellable/mcp@0.1.760-wip.phase143.20260727100513
8
8
  ARG INSTALLER_INTEGRITY
9
9
  ARG MCP_INTEGRITY=sha512-muNXHuRnLTfsnW+MQUvK+p0VBZETDKeevr70iRliXyqE3/SLrZQJLL1laJzMo+qiUs9jMXMHdKOQfQqLiwJvtg==
10
10
 
11
- RUN test "${INSTALLER_PACKAGE}" = "@sellable/install@0.1.458" \
11
+ RUN test "${INSTALLER_PACKAGE}" = "@sellable/install@0.1.460" \
12
12
  && test "${MCP_PACKAGE}" = "@sellable/mcp@0.1.760-wip.phase143.20260727100513" \
13
13
  && test -n "${INSTALLER_INTEGRITY}" \
14
14
  && test "$(npm view "${INSTALLER_PACKAGE}" dist.integrity)" = "${INSTALLER_INTEGRITY}" \
@@ -23,9 +23,9 @@ RUN test "${INSTALLER_PACKAGE}" = "@sellable/install@0.1.458" \
23
23
  && mkdir -p /opt/sellable-agent/install-root /opt/sellable-agent/mcp-root \
24
24
  && npm install --prefix /opt/sellable-agent/install-root --omit=dev --ignore-scripts --no-audit --no-fund "${INSTALLER_PACKAGE}" \
25
25
  && npm install --prefix /opt/sellable-agent/mcp-root --omit=dev --ignore-scripts --no-audit --no-fund "${MCP_PACKAGE}" \
26
- && node --input-type=module -e "import { readFileSync } from 'node:fs'; const install = JSON.parse(readFileSync('/opt/sellable-agent/install-root/node_modules/@sellable/install/package.json')); const mcp = JSON.parse(readFileSync('/opt/sellable-agent/mcp-root/node_modules/@sellable/mcp/package.json')); if (install.name !== '@sellable/install' || install.version !== '0.1.458' || mcp.name !== '@sellable/mcp' || mcp.version !== '0.1.760-wip.phase143.20260727100513') throw new Error('package identity rejected');" \
26
+ && node --input-type=module -e "import { readFileSync } from 'node:fs'; const install = JSON.parse(readFileSync('/opt/sellable-agent/install-root/node_modules/@sellable/install/package.json')); const mcp = JSON.parse(readFileSync('/opt/sellable-agent/mcp-root/node_modules/@sellable/mcp/package.json')); if (install.name !== '@sellable/install' || install.version !== '0.1.460' || mcp.name !== '@sellable/mcp' || mcp.version !== '0.1.760-wip.phase143.20260727100513') throw new Error('package identity rejected');" \
27
27
  && node --input-type=module -e "import { buildExternalRuntimeClosure } from '/opt/sellable-agent/install-root/node_modules/@sellable/install/lib/sellable-agent/external-runtime-builder.mjs'; const built = buildExternalRuntimeClosure({ mcpPackageRoot: '/opt/sellable-agent/mcp-root/node_modules/@sellable/mcp', mcpNodeModulesRoot: '/opt/sellable-agent/mcp-root/node_modules', hermesSourceRoot: '/opt/hermes', ownerUid: 0, ownerGid: 0 }); if (!built.closureDigest) throw new Error('runtime closure rejected');" \
28
- && node --input-type=module -e "import { chmodSync, writeFileSync } from 'node:fs'; const release = { installerPackage: '@sellable/install@0.1.458', installerIntegrity: process.argv[1], mcpPackage: '@sellable/mcp@0.1.760-wip.phase143.20260727100513', mcpIntegrity: process.argv[2] }; writeFileSync('/opt/sellable-agent/release.json', JSON.stringify(release) + '\\n', { mode: 0o444 }); chmodSync('/opt/sellable-agent/release.json', 0o444);" "${INSTALLER_INTEGRITY}" "${MCP_INTEGRITY}" \
28
+ && node --input-type=module -e "import { chmodSync, writeFileSync } from 'node:fs'; const release = { installerPackage: '@sellable/install@0.1.460', installerIntegrity: process.argv[1], mcpPackage: '@sellable/mcp@0.1.760-wip.phase143.20260727100513', mcpIntegrity: process.argv[2] }; writeFileSync('/opt/sellable-agent/release.json', JSON.stringify(release) + '\\n', { mode: 0o444 }); chmodSync('/opt/sellable-agent/release.json', 0o444);" "${INSTALLER_INTEGRITY}" "${MCP_INTEGRITY}" \
29
29
  && npm cache clean --force
30
30
 
31
31
  COPY entrypoint.sh /usr/local/bin/sellable-agent-container-entrypoint
@@ -3,13 +3,13 @@
3
3
  This image is a dedicated Agent worker/runtime boundary beside an existing Hermes dashboard. It never replaces or reconfigures the dashboard container.
4
4
 
5
5
  Build from this directory after
6
- `@sellable/install@0.1.458` is
6
+ `@sellable/install@0.1.460` is
7
7
  published:
8
8
 
9
9
  ```sh
10
10
  docker build --platform linux/amd64 \
11
11
  --build-arg INSTALLER_INTEGRITY='sha512-…' \
12
- --tag sellable-agent-host:0.1.458 .
12
+ --tag sellable-agent-host:0.1.460 .
13
13
  ```
14
14
 
15
15
  Create a private `bootstrap/` directory owned by root with mode `0700`. It must contain `bootstrap.json`, `provider-auth`, and `slack-app`, each owned by root with mode `0600`. `bootstrap.json` contains only non-secret identities, hashes, package integrities, and the control-plane URL. The other two files contain the provider JSON and global Slack app token whose hashes are pinned by `bootstrap.json`.
@@ -5,7 +5,8 @@ USER root
5
5
 
6
6
  ARG MCP_PACKAGE=@sellable/mcp@0.1.789-wip.phase159.20260729223403
7
7
  ARG MCP_INTEGRITY=sha512-KoheQcAQe/c8xzhF3R1ls6nQd11bcQqM3ykOUlzzNX5kykO7rO8RR2KsOvomwMv2Nn5VzvZZx6rGrle/6woKfw==
8
- ARG INSTALLER_PACKAGE=@sellable/install@0.1.458
8
+ ARG INSTALLER_PACKAGE=@sellable/install@0.1.460
9
+ ARG TUS_JS_CLIENT_VERSION=4.3.1
9
10
  ARG HERMES_VERSION=0.19.0
10
11
  ARG MCP_TRUST_ROOT_B64
11
12
  ARG TIRITH_VERSION=0.3.3
@@ -19,6 +20,9 @@ RUN test -n "${MCP_TRUST_ROOT_B64}" \
19
20
  && npm install --prefix /usr/local/lib/sellable-agent/external-runtime/mcp \
20
21
  --omit=dev --ignore-scripts --no-audit --no-fund "${MCP_PACKAGE}" \
21
22
  && test "$(node -p "require('/usr/local/lib/sellable-agent/external-runtime/mcp/node_modules/@sellable/mcp/package.json').version")" = "${MCP_PACKAGE##*@}" \
23
+ && npm install --prefix /usr/local/lib/sellable-agent \
24
+ --omit=dev --ignore-scripts --no-audit --no-fund "tus-js-client@${TUS_JS_CLIENT_VERSION}" \
25
+ && test "$(node -p "require('/usr/local/lib/sellable-agent/node_modules/tus-js-client/package.json').version")" = "${TUS_JS_CLIENT_VERSION}" \
22
26
  && mkdir -p /usr/local/lib/sellable-agent/external-runtime/mcp/bin \
23
27
  && ln -s ../node_modules/.bin/sellable-mcp \
24
28
  /usr/local/lib/sellable-agent/external-runtime/mcp/bin/sellable-mcp \
@@ -60,6 +64,8 @@ COPY fly-customer-image/rootfs/ /
60
64
 
61
65
  RUN node --input-type=module -e \
62
66
  'import { installHermesAgentBridge, HERMES_AGENT_BRIDGE_DEDICATED_V019_CONTRACT } from "/usr/local/lib/sellable-agent/hermes-bridge.mjs"; installHermesAgentBridge({ sourceRoot: "/opt/hermes", contract: HERMES_AGENT_BRIDGE_DEDICATED_V019_CONTRACT });' \
67
+ && node --input-type=module -e \
68
+ 'await import("/usr/local/lib/sellable-agent/fly-runtime-identity.mjs");' \
63
69
  && chmod 0555 /usr/local/lib/sellable-agent/*.mjs \
64
70
  && chmod 0555 /opt/sellable/bin/hermes-memory-dirty \
65
71
  && chmod 0444 /opt/sellable/share/hermes-memory-reconcile.sh \
@@ -68,8 +68,11 @@ const RUNTIME_GENERATION = Number(
68
68
  );
69
69
  const BOOT_SESSION_ID = randomUUID();
70
70
  const HERMES_VERSION = process.env.SELLABLE_AGENT_HERMES_VERSION ?? "0.19.0";
71
- const INSTALLER_PACKAGE = process.env.SELLABLE_AGENT_INSTALLER_PACKAGE ?? "@sellable/install@0.1.458";
72
- const MCP_PACKAGE = process.env.SELLABLE_AGENT_MCP_PACKAGE ?? "@sellable/mcp@0.1.789-wip.phase159.20260729223403";
71
+ const INSTALLER_PACKAGE =
72
+ process.env.SELLABLE_AGENT_INSTALLER_PACKAGE ?? "@sellable/install@0.1.460";
73
+ const MCP_PACKAGE =
74
+ process.env.SELLABLE_AGENT_MCP_PACKAGE ??
75
+ "@sellable/mcp@0.1.789-wip.phase159.20260729223403";
73
76
 
74
77
  const sha256 = (value) => createHash("sha256").update(value).digest("hex");
75
78
  const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
@@ -271,6 +274,42 @@ function operationIdentity(claim, exchange) {
271
274
  };
272
275
  }
273
276
 
277
+ function startOperationHeartbeat({ claim, exchange, client }) {
278
+ const identity = operationIdentity(claim, exchange);
279
+ let stopped = false;
280
+ let failure = null;
281
+ let inFlight = Promise.resolve();
282
+ const beat = () => {
283
+ if (stopped) return;
284
+ inFlight = client
285
+ .heartbeat({ ...identity, leaseSeconds: 60 })
286
+ .then((value) => {
287
+ if (value?.renewed !== true) {
288
+ throw new Error("customer_runtime_heartbeat_rejected");
289
+ }
290
+ })
291
+ .catch((error) => {
292
+ failure =
293
+ error instanceof Error
294
+ ? error
295
+ : new Error("customer_runtime_heartbeat_failed");
296
+ });
297
+ };
298
+ const timer = setInterval(beat, 20_000);
299
+ beat();
300
+ return {
301
+ assertHealthy() {
302
+ if (failure) throw failure;
303
+ },
304
+ async stop() {
305
+ stopped = true;
306
+ clearInterval(timer);
307
+ await inFlight;
308
+ if (failure) throw failure;
309
+ },
310
+ };
311
+ }
312
+
274
313
  async function consumeSecrets({ claim, exchange, client, desired }) {
275
314
  const identity = operationIdentity(claim, exchange);
276
315
  const consume = async (descriptor) => {
@@ -1134,6 +1173,7 @@ async function main() {
1134
1173
  };
1135
1174
  process.once("SIGINT", stop);
1136
1175
  process.once("SIGTERM", stop);
1176
+ let operationHeartbeat = null;
1137
1177
  let failures = 0;
1138
1178
  while (!controller.signal.aborted) {
1139
1179
  try {
@@ -1196,10 +1236,25 @@ async function main() {
1196
1236
  await sleep(1_000);
1197
1237
  continue;
1198
1238
  }
1239
+ operationHeartbeat = startOperationHeartbeat({
1240
+ claim,
1241
+ exchange,
1242
+ client,
1243
+ });
1199
1244
  await stopNativeGateway(activeRuntime?.gateway);
1200
1245
  activeRuntime = await processOperation({ claim, exchange, client });
1246
+ operationHeartbeat.assertHealthy();
1247
+ await operationHeartbeat.stop();
1248
+ operationHeartbeat = null;
1201
1249
  failures = 0;
1202
1250
  } catch (error) {
1251
+ try {
1252
+ await operationHeartbeat?.stop();
1253
+ } catch (heartbeatError) {
1254
+ error = heartbeatError;
1255
+ } finally {
1256
+ operationHeartbeat = null;
1257
+ }
1203
1258
  failures = Math.min(failures + 1, 6);
1204
1259
  process.stderr.write(
1205
1260
  `${JSON.stringify({
@@ -19,6 +19,7 @@ import {
19
19
  } from "node:fs";
20
20
  import { isAbsolute, join } from "node:path";
21
21
  import { promisify } from "node:util";
22
+ import { Upload as TusUpload } from "tus-js-client";
22
23
 
23
24
  const execFileAsync = promisify(execFile);
24
25
  const SHA256 = /^[a-f0-9]{64}$/;
@@ -520,6 +521,141 @@ class WorkerControlResponseError extends Error {
520
521
  }
521
522
  }
522
523
 
524
+ const TUS_CHUNK_BYTES = 6 * 1024 * 1024;
525
+ const TUS_TOKEN_REFRESH_MS = 45_000;
526
+ const TUS_RETRY_DELAYS_MS = [0, 3_000, 5_000, 10_000, 20_000];
527
+
528
+ function tusUploadAccepted(value) {
529
+ try {
530
+ const endpoint = new URL(value?.resumableUrl);
531
+ return (
532
+ endpoint.protocol === "https:" &&
533
+ endpoint.username === "" &&
534
+ endpoint.password === "" &&
535
+ endpoint.search === "" &&
536
+ endpoint.hash === "" &&
537
+ /^[a-z0-9-]+\.storage\.supabase\.co$/.test(endpoint.hostname) &&
538
+ endpoint.pathname === "/storage/v1/upload/resumable/sign" &&
539
+ typeof value?.signedUploadToken === "string" &&
540
+ value.signedUploadToken.length >= 32 &&
541
+ value.signedUploadToken.length <= 16_384 &&
542
+ !/\s/.test(value.signedUploadToken) &&
543
+ value.bucketName === "agent-hermes-backups-v1" &&
544
+ /^workspaces\/[A-Za-z0-9_-]{1,128}\/(?:customer|admin)\/archives\/[a-f0-9]{64}\.zip$/.test(
545
+ value?.objectName ?? ""
546
+ )
547
+ );
548
+ } catch {
549
+ return false;
550
+ }
551
+ }
552
+
553
+ function tusFailureCode(error) {
554
+ const response = error?.originalResponse;
555
+ const status = Number(response?.getStatus?.());
556
+ if (!Number.isSafeInteger(status) || status < 100 || status > 599) {
557
+ return "hermes_snapshot_upload_failed";
558
+ }
559
+ let detail = "";
560
+ try {
561
+ detail = String(response.getBody?.() ?? "")
562
+ .slice(0, 4_096)
563
+ .toLowerCase();
564
+ } catch {}
565
+ const category = /mime|content.?type/.test(detail)
566
+ ? "mime"
567
+ : /row.?level|policy|\brls\b/.test(detail)
568
+ ? "policy"
569
+ : /payload|too.?large|file.?size|size.?limit|maximum size/.test(detail)
570
+ ? "size"
571
+ : /bucket/.test(detail)
572
+ ? "bucket"
573
+ : /upsert|duplicate|already.?exists/.test(detail)
574
+ ? "upsert"
575
+ : /token|signature|signed|(?:^|\W)exp(?:\W|$)/.test(detail)
576
+ ? "token"
577
+ : /api.?key|jwt|authorization|unauthorized|forbidden/.test(detail)
578
+ ? "auth"
579
+ : "other";
580
+ return `hermes_snapshot_upload_failed_http_${status}_${category}`;
581
+ }
582
+
583
+ export function uploadSupabaseSignedTus({
584
+ archive,
585
+ initial,
586
+ refresh,
587
+ now = Date.now,
588
+ UploadImpl = TusUpload,
589
+ }) {
590
+ if (
591
+ !Buffer.isBuffer(archive) ||
592
+ archive.byteLength < 1 ||
593
+ !tusUploadAccepted(initial) ||
594
+ typeof refresh !== "function" ||
595
+ typeof now !== "function" ||
596
+ typeof UploadImpl !== "function"
597
+ ) {
598
+ return Promise.reject(
599
+ new WorkerControlResponseError("memory_snapshot_upload_url_rejected")
600
+ );
601
+ }
602
+ const identity = {
603
+ resumableUrl: initial.resumableUrl,
604
+ bucketName: initial.bucketName,
605
+ objectName: initial.objectName,
606
+ };
607
+ let token = initial.signedUploadToken;
608
+ let issuedAt = now();
609
+ return new Promise((resolve, reject) => {
610
+ let upload;
611
+ const fail = (error) => {
612
+ reject(new WorkerControlResponseError(tusFailureCode(error)));
613
+ };
614
+ try {
615
+ upload = new UploadImpl(archive, {
616
+ endpoint: identity.resumableUrl,
617
+ retryDelays: TUS_RETRY_DELAYS_MS,
618
+ headers: { "x-signature": token },
619
+ uploadDataDuringCreation: true,
620
+ storeFingerprintForResuming: false,
621
+ removeFingerprintOnSuccess: true,
622
+ metadata: {
623
+ bucketName: identity.bucketName,
624
+ objectName: identity.objectName,
625
+ contentType: "application/zip",
626
+ cacheControl: "3600",
627
+ },
628
+ chunkSize: TUS_CHUNK_BYTES,
629
+ async onBeforeRequest(request) {
630
+ if (now() - issuedAt >= TUS_TOKEN_REFRESH_MS) {
631
+ const next = await refresh();
632
+ if (
633
+ !tusUploadAccepted(next) ||
634
+ next.resumableUrl !== identity.resumableUrl ||
635
+ next.bucketName !== identity.bucketName ||
636
+ next.objectName !== identity.objectName
637
+ ) {
638
+ throw new WorkerControlResponseError(
639
+ "memory_snapshot_upload_url_rejected"
640
+ );
641
+ }
642
+ token = next.signedUploadToken;
643
+ issuedAt = now();
644
+ }
645
+ request.setHeader("x-signature", token);
646
+ },
647
+ onError: fail,
648
+ onSuccess() {
649
+ resolve({ uploadUrl: upload.url });
650
+ },
651
+ });
652
+ upload.start();
653
+ } catch (error) {
654
+ fail(error);
655
+ }
656
+ });
657
+ }
658
+
523
659
  function workerControlVerbCode(verb) {
524
660
  return String(verb).replaceAll("-", "_");
525
661
  }
@@ -594,6 +730,7 @@ export function createFlyCustomerControlClient({
594
730
  exchange,
595
731
  fetchImpl = fetch,
596
732
  retryDelayMs = 150,
733
+ tusUploadImpl = uploadSupabaseSignedTus,
597
734
  }) {
598
735
  const endpoint = exactHttpsOrigin(origin);
599
736
  if (
@@ -682,30 +819,6 @@ export function createFlyCustomerControlClient({
682
819
  return false;
683
820
  }
684
821
  };
685
- const uploadFailureCode = async (response) => {
686
- let detail = "";
687
- try {
688
- detail = (await response.text()).slice(0, 4_096).toLowerCase();
689
- } catch {}
690
- const category = /mime|content.?type/.test(detail)
691
- ? "mime"
692
- : /row.?level|policy|\brls\b/.test(detail)
693
- ? "policy"
694
- : /payload|too.?large|file.?size|size.?limit/.test(detail)
695
- ? "size"
696
- : /bucket/.test(detail)
697
- ? "bucket"
698
- : /upsert|duplicate|already.?exists/.test(detail)
699
- ? "upsert"
700
- : /token|signature|signed/.test(detail)
701
- ? "token"
702
- : /api.?key|jwt|authorization|unauthorized|forbidden/.test(
703
- detail
704
- )
705
- ? "auth"
706
- : "other";
707
- return `hermes_snapshot_upload_failed_http_${response.status}_${category}`;
708
- };
709
822
  const putMemorySnapshot = async (metadata, archive) => {
710
823
  if (
711
824
  !metadataAccepted(metadata) ||
@@ -716,41 +829,32 @@ export function createFlyCustomerControlClient({
716
829
  ) {
717
830
  throw new WorkerControlResponseError("memory_snapshot_upload_rejected");
718
831
  }
719
- const begin = await memorySnapshotControl(
720
- "PUT",
721
- {
722
- schemaVersion: "sellable-hermes-snapshot-upload/v1",
723
- ...metadata,
724
- },
725
- "memory-snapshot-put"
726
- );
727
- if (
728
- !signedUrlAccepted(begin?.signedUrl) ||
729
- typeof begin?.publishableKey !== "string" ||
730
- begin.publishableKey.length < 16 ||
731
- begin.publishableKey.length > 4096 ||
732
- /\s/.test(begin.publishableKey)
733
- ) {
832
+ const beginUpload = async () => {
833
+ const value = await memorySnapshotControl(
834
+ "PUT",
835
+ {
836
+ schemaVersion: "sellable-hermes-snapshot-upload/v1",
837
+ ...metadata,
838
+ },
839
+ "memory-snapshot-put"
840
+ );
841
+ if (
842
+ !tusUploadAccepted(value) ||
843
+ !value.objectName.endsWith(`/${metadata.archiveDigest}.zip`)
844
+ ) {
845
+ throw new WorkerControlResponseError(
846
+ "memory_snapshot_upload_url_rejected"
847
+ );
848
+ }
849
+ return value;
850
+ };
851
+ const begin = await beginUpload();
852
+ if (typeof tusUploadImpl !== "function") {
734
853
  throw new WorkerControlResponseError(
735
854
  "memory_snapshot_upload_url_rejected"
736
855
  );
737
856
  }
738
- const uploaded = await fetchImpl(begin.signedUrl, {
739
- method: "PUT",
740
- headers: {
741
- apikey: begin.publishableKey,
742
- authorization: `Bearer ${begin.publishableKey}`,
743
- "cache-control": "max-age=3600",
744
- "content-type": "application/zip",
745
- "x-upsert": "true",
746
- },
747
- body: archive,
748
- signal: AbortSignal.timeout(120_000),
749
- });
750
- if (!uploaded.ok) {
751
- throw new WorkerControlResponseError(await uploadFailureCode(uploaded));
752
- }
753
- await uploaded.arrayBuffer();
857
+ await tusUploadImpl({ archive, initial: begin, refresh: beginUpload });
754
858
  const committed = await memorySnapshotControl(
755
859
  "POST",
756
860
  {
@@ -39,7 +39,7 @@ const PACKAGE_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), "../..");
39
39
  const VERSION = "sellable-agent-host-bootstrap/v1";
40
40
  const RECEIPT_VERSION = "sellable-agent-host-registration/v1";
41
41
  const INSTALLER_PACKAGE =
42
- "@sellable/install@0.1.458";
42
+ "@sellable/install@0.1.460";
43
43
  const MCP_PACKAGE = "@sellable/mcp@0.1.760-wip.phase143.20260727100513";
44
44
  const HERMES_VERSION = "0.18.0";
45
45
  const SHA256 = /^[a-f0-9]{64}$/;
@@ -1541,7 +1541,7 @@ export function compileClaimToProfileDesired(activeClaim, config) {
1541
1541
  pinned.hermesCli !== "hermes" ||
1542
1542
  pinned.hermesVersion !== "0.18.0" ||
1543
1543
  pinned.installerPackage !==
1544
- "@sellable/install@0.1.458" ||
1544
+ "@sellable/install@0.1.460" ||
1545
1545
  pinned.mcpPackage !==
1546
1546
  "@sellable/mcp@0.1.760-wip.phase143.20260727100513" ||
1547
1547
  !Array.isArray(policy.toolInclude) ||
@@ -198,7 +198,7 @@ function validateDesired(desired) {
198
198
  desired.hermesCli !== "hermes" ||
199
199
  desired.hermesVersion !== "0.18.0" ||
200
200
  desired.installerPackage !==
201
- "@sellable/install@0.1.458" ||
201
+ "@sellable/install@0.1.460" ||
202
202
  desired.mcpPackage !==
203
203
  "@sellable/mcp@0.1.760-wip.phase143.20260727100513" ||
204
204
  !Array.isArray(desired.toolInclude) ||
@@ -26,7 +26,7 @@ import { deriveContainedProfileId } from "./profile-materializer.mjs";
26
26
 
27
27
  export const PROVISIONING_ACTION = "PROVISION_HERMES_PROFILE";
28
28
  export const PINNED_INSTALL_PACKAGE =
29
- "@sellable/install@0.1.458";
29
+ "@sellable/install@0.1.460";
30
30
  export const PINNED_MCP_PACKAGE =
31
31
  "@sellable/mcp@0.1.760-wip.phase143.20260727100513";
32
32
 
@@ -614,7 +614,7 @@ function inspectProvisionedProfile({
614
614
  manifest.serviceCredentialReference !== serviceCredentialReference ||
615
615
  manifest.installerPackage !== PINNED_INSTALL_PACKAGE ||
616
616
  manifest.installerVersion !==
617
- "0.1.458" ||
617
+ "0.1.460" ||
618
618
  manifest.mcpPackage !== PINNED_MCP_PACKAGE ||
619
619
  manifest.credentialKeyVersion !== credentialKeyVersion ||
620
620
  !/^[a-f0-9]{16}$/.test(manifest.credentialFingerprint) ||
@@ -828,7 +828,7 @@ function successReceipt({
828
828
  subject: `agent-profile:${observed.profileId}`,
829
829
  cli: {
830
830
  installPackage: PINNED_INSTALL_PACKAGE,
831
- installVersion: "0.1.458",
831
+ installVersion: "0.1.460",
832
832
  mcpPackage: PINNED_MCP_PACKAGE,
833
833
  command: "hermes profile bootstrap",
834
834
  },
@@ -876,7 +876,7 @@ function failure(code, stages, extra = {}, request = null) {
876
876
  : "agent-profile:unbound",
877
877
  cli: {
878
878
  installPackage: PINNED_INSTALL_PACKAGE,
879
- installVersion: "0.1.458",
879
+ installVersion: "0.1.460",
880
880
  mcpPackage: PINNED_MCP_PACKAGE,
881
881
  command: "hermes profile bootstrap",
882
882
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/install",
3
- "version": "0.1.458",
3
+ "version": "0.1.460",
4
4
  "type": "module",
5
5
  "description": "One-command installer for Sellable MCP in Claude Code, Codex, and Hermes",
6
6
  "bin": {
@@ -29,6 +29,7 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@modelcontextprotocol/sdk": "^1.25.2",
32
+ "tus-js-client": "^4.3.1",
32
33
  "yaml": "^2.8.1"
33
34
  },
34
35
  "keywords": [