@tangle-network/sandbox 0.60.78-develop.20261023125316.66a1c75 → 0.60.78-develop.20261023135527.ce3a2c4

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.
@@ -105,14 +105,6 @@ interface ValidatedQuote {
105
105
  pricePerSecondWei: bigint;
106
106
  escrowTotalWei: bigint;
107
107
  }
108
- /** A resolved lease handed to the caller by `gpuLease()`. */
109
- interface GpuLease {
110
- leaseId: `0x${string}`;
111
- /** Public endpoint descriptor (versioned union; v1 = local-attach). */
112
- endpoint: string;
113
- schemaVersion: number;
114
- quote: ValidatedQuote;
115
- }
116
108
  interface RefundReceipt {
117
109
  leaseId: `0x${string}`;
118
110
  /** Exact wei refunded: pricePerSecond × remainingSeconds at settle time. */
@@ -503,7 +495,10 @@ interface GpuLeaseOptions {
503
495
  now?: () => number;
504
496
  }
505
497
  interface GpuLeaseOutcome {
506
- lease: GpuLease;
498
+ /** Resolved lease with a versioned public endpoint descriptor (v1 = local-attach). */
499
+ lease: ReturnType<typeof decodeGpuLeaseOutput> & {
500
+ quote: ValidatedQuote;
501
+ };
507
502
  /** Operators ranked cheapest-first. */
508
503
  rankedOperators: string[];
509
504
  }
@@ -522,4 +517,4 @@ declare function projectGpuLeaseRefund(leaseId: `0x${string}`, chain: GpuLeaseCh
522
517
  nowSeconds: bigint;
523
518
  }>;
524
519
  //#endregion
525
- export { Capabilities, ClassCapability, GPU_LEASE_JOBS, GPU_LEASE_REQUEST_ABI, GPU_LEASE_SCHEMA_VERSION, GPU_LEASE_VAULT_ABI, GpuLease, GpuLeaseChain, GpuLeaseOperatorClient, GpuLeaseOptions, GpuLeaseOutcome, GpuLeaseOutputDecoded, GpuLeaseRequestParams, INTENT_VERSION, JsonRequestBody, LEASE_STATE, LeaseStatus, OperatorEndpoint, OperatorQuote, QuoteFilterInput, QuoteParams, QuoteRejection, RefundReceipt, SessionChallenge, SessionCredential, ValidatedQuote, VaultLeaseView, canonicalQuotePayload, decodeGpuLeaseOutput, encodeGpuLeaseRequest, gpuLease, gpuLeaseIntentHash, maxAffordableSeconds, projectGpuLeaseRefund, projectRefundWei, releaseGpuLease, selectQuotes, validateQuote, validateQuoteIdentity, verifyOperatorQuote };
520
+ export { Capabilities, ClassCapability, GPU_LEASE_JOBS, GPU_LEASE_REQUEST_ABI, GPU_LEASE_SCHEMA_VERSION, GPU_LEASE_VAULT_ABI, GpuLeaseChain, GpuLeaseOperatorClient, GpuLeaseOptions, GpuLeaseOutcome, GpuLeaseOutputDecoded, GpuLeaseRequestParams, INTENT_VERSION, JsonRequestBody, LEASE_STATE, LeaseStatus, OperatorEndpoint, OperatorQuote, QuoteFilterInput, QuoteParams, QuoteRejection, RefundReceipt, SessionChallenge, SessionCredential, ValidatedQuote, VaultLeaseView, canonicalQuotePayload, decodeGpuLeaseOutput, encodeGpuLeaseRequest, gpuLease, gpuLeaseIntentHash, maxAffordableSeconds, projectGpuLeaseRefund, projectRefundWei, releaseGpuLease, selectQuotes, validateQuote, validateQuoteIdentity, verifyOperatorQuote };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "0.60.78-develop.20261023125316.66a1c75",
3
+ "version": "0.60.78-develop.20261023135527.ce3a2c4",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -160,12 +160,12 @@
160
160
  "ws": "^8.20.0",
161
161
  "yjs": "13.6.30",
162
162
  "@products/sandbox-test-utils": "0.0.0",
163
- "@tangle-network/agent-profile-materialize": "0.26.0",
164
- "@repo/shared": "0.0.0",
165
163
  "@tangle-network/cli-agent-registry": "0.10.2",
166
- "@tangle-network/sdk": "4.0.16",
167
164
  "@tangle-network/runtime-contracts": "0.19.0",
168
- "@tangle-network/sse-core": "0.0.0"
165
+ "@tangle-network/sse-core": "0.0.0",
166
+ "@repo/shared": "0.0.0",
167
+ "@tangle-network/sdk": "4.0.16",
168
+ "@tangle-network/agent-profile-materialize": "0.26.0"
169
169
  },
170
170
  "scripts": {
171
171
  "build": "node scripts/build-dist.mjs",