@tangle-network/sandbox 0.64.24 → 0.64.26
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/gpu-lease/index.d.ts +5 -10
- package/package.json +4 -4
|
@@ -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
|
|
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,
|
|
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.64.
|
|
3
|
+
"version": "0.64.26",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -161,15 +161,15 @@
|
|
|
161
161
|
"yjs": "13.6.30",
|
|
162
162
|
"@products/sandbox-test-utils": "0.0.0",
|
|
163
163
|
"@repo/shared": "0.0.0",
|
|
164
|
-
"@tangle-network/cli-agent-registry": "0.10.2",
|
|
165
164
|
"@tangle-network/agent-profile-materialize": "0.26.0",
|
|
166
165
|
"@tangle-network/runtime-contracts": "0.19.0",
|
|
167
166
|
"@tangle-network/sdk": "4.0.16",
|
|
167
|
+
"@tangle-network/cli-agent-registry": "0.10.2",
|
|
168
168
|
"@tangle-network/sse-core": "0.0.0"
|
|
169
169
|
},
|
|
170
170
|
"tangleRelease": {
|
|
171
|
-
"sourceSha": "
|
|
172
|
-
"mergedAt": "2026-10-
|
|
171
|
+
"sourceSha": "ffffb12b9c0a34b6cf58f063c869925f8f5ca0bf",
|
|
172
|
+
"mergedAt": "2026-10-23T15:05:13-06:00"
|
|
173
173
|
},
|
|
174
174
|
"scripts": {
|
|
175
175
|
"build": "node scripts/build-dist.mjs",
|