@lucid-agents/taskmarket 1.42.0 → 1.44.0
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/agent-compatibility.json +1 -1
- package/dist/{api-4I33LJ7A.js → api-QATTK6I6.js} +2 -2
- package/dist/{channels-456WXKVT.js → channels-AH2WHLMC.js} +4 -4
- package/dist/{chunk-IN6WPBUK.js → chunk-3HR7XRLE.js} +3 -3
- package/dist/{chunk-HWDFJ5N7.js → chunk-3NPMVKNZ.js} +1 -1
- package/dist/{chunk-3FI5KV44.js → chunk-AZMCG2LI.js} +22 -7
- package/dist/{chunk-ASZ3YR77.js → chunk-CH3GXKIO.js} +2 -2
- package/dist/{chunk-5IOQEQH3.js → chunk-FUHULPDT.js} +1 -1
- package/dist/{chunk-JOVLOWPY.js → chunk-IVCJPX7J.js} +53 -292
- package/dist/{chunk-4Q67KT6T.js → chunk-J2TAHVUS.js} +5 -5
- package/dist/{chunk-I7OL2FMA.js → chunk-LETSESYQ.js} +8 -8
- package/dist/{chunk-L67V45XI.js → chunk-NLHDU4CH.js} +1 -1
- package/dist/{chunk-UTTATTGM.js → chunk-XBPINLPI.js} +1 -1
- package/dist/{chunk-QRMNHEUF.js → chunk-YENJWEM7.js} +3 -3
- package/dist/{chunk-UXZ5ZDBF.js → chunk-ZPQLJAG4.js} +3 -3
- package/dist/{doctor-K4RKUTXL.js → doctor-WW54ZCQR.js} +8 -8
- package/dist/index.js +729 -703
- package/dist/{launch-RL4BS22J.js → launch-FQFOZYIN.js} +11 -11
- package/dist/{read-auth-YC7ZM7J3.js → read-auth-B7NFDF6U.js} +3 -3
- package/dist/{reconcile-ZFFNXOD7.js → reconcile-KHSXUVR3.js} +4 -4
- package/dist/{status-IZ7ZTA5D.js → status-IMWQR4AR.js} +8 -8
- package/dist/{sync-pull-Q7W6IPWN.js → sync-pull-EN7CFU3J.js} +4 -4
- package/dist/{task-access-grants-4T4IPSVF.js → task-access-grants-IBD3JFGD.js} +2 -2
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __tmCreateRequire } from 'node:module'; import { fileURLToPath as __tmFileURLToPath } from 'node:url'; import { dirname as __tmDirname } from 'node:path'; const require = __tmCreateRequire(import.meta.url); const __tmFilename = __tmFileURLToPath(import.meta.url); const __tmDirnameValue = __tmDirname(__tmFilename);
|
|
2
2
|
import {
|
|
3
3
|
x402FeePost
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZPQLJAG4.js";
|
|
5
5
|
import {
|
|
6
6
|
signReadAuth
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CH3GXKIO.js";
|
|
8
8
|
import {
|
|
9
9
|
taskAccessGrantHeaders
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NLHDU4CH.js";
|
|
11
11
|
import {
|
|
12
12
|
apiGet,
|
|
13
13
|
apiPost,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
runWorkerAction,
|
|
16
16
|
signMessage,
|
|
17
17
|
taskRequiresTap
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AZMCG2LI.js";
|
|
19
19
|
import {
|
|
20
20
|
TaskAwardSchema,
|
|
21
21
|
buildClaimMessage,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
buildSubmitUploadMessage,
|
|
24
24
|
isRecordingPendingResponse,
|
|
25
25
|
submitUploadExpiresAt
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IVCJPX7J.js";
|
|
27
27
|
|
|
28
28
|
// src/sdk/artifact-upload.ts
|
|
29
29
|
import { extname } from "path";
|
|
@@ -115,9 +115,9 @@ function putArtifactBytes(uploadUrl, data, mimeType, onProgress, idleTimeoutMs =
|
|
|
115
115
|
// src/lib/worker-attestation.ts
|
|
116
116
|
var requirementCache = /* @__PURE__ */ new Map();
|
|
117
117
|
async function defaultGet(path) {
|
|
118
|
-
const { apiGet: apiGet2 } = await import("./api-
|
|
119
|
-
const { signReadAuth: signReadAuth2 } = await import("./read-auth-
|
|
120
|
-
const { taskAccessGrantHeaders: taskAccessGrantHeaders2 } = await import("./task-access-grants-
|
|
118
|
+
const { apiGet: apiGet2 } = await import("./api-QATTK6I6.js");
|
|
119
|
+
const { signReadAuth: signReadAuth2 } = await import("./read-auth-B7NFDF6U.js");
|
|
120
|
+
const { taskAccessGrantHeaders: taskAccessGrantHeaders2 } = await import("./task-access-grants-IBD3JFGD.js");
|
|
121
121
|
const taskId = /^\/api\/tasks\/([^/?]+)/.exec(path)?.[1] ?? "";
|
|
122
122
|
return apiGet2(path, {
|
|
123
123
|
headers: {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __tmCreateRequire } from 'node:module'; import { fileU
|
|
|
2
2
|
import {
|
|
3
3
|
TASK_ACCESS_GRANT_HEADER,
|
|
4
4
|
getTaskmarketHome
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IVCJPX7J.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/task-access-grants.ts
|
|
8
8
|
import { promises as fs } from "fs";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
unsafeHostPath,
|
|
9
9
|
withFileLock,
|
|
10
10
|
writeAtomic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3NPMVKNZ.js";
|
|
12
12
|
import {
|
|
13
13
|
buyComputeCredit,
|
|
14
14
|
fetchComputePricing,
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
loadComputeCreditConfig,
|
|
17
17
|
onComputeBalanceObserved,
|
|
18
18
|
readComputeCreditStatus
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZPQLJAG4.js";
|
|
20
20
|
import {
|
|
21
21
|
getTaskmarketHome
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IVCJPX7J.js";
|
|
23
23
|
import {
|
|
24
24
|
AgentLaunchError
|
|
25
25
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
readMppTempoChallenge,
|
|
16
16
|
reconcileX402Payment,
|
|
17
17
|
withX402FileLock
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FUHULPDT.js";
|
|
19
19
|
import {
|
|
20
20
|
ApiError,
|
|
21
21
|
apiGet,
|
|
@@ -36,14 +36,14 @@ import {
|
|
|
36
36
|
withChainId,
|
|
37
37
|
withIdempotentWrite,
|
|
38
38
|
withTapSignature
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-AZMCG2LI.js";
|
|
40
40
|
import {
|
|
41
41
|
ComputeCreditBuyOutputSchema,
|
|
42
42
|
ComputeCreditPricingSchema,
|
|
43
43
|
ComputeCreditStatusOutputSchema,
|
|
44
44
|
apiErrorEnvelopeOf,
|
|
45
45
|
getTaskmarketHome
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-IVCJPX7J.js";
|
|
47
47
|
|
|
48
48
|
// src/lib/x402-fee.ts
|
|
49
49
|
import { randomUUID as randomUUID3 } from "crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __tmCreateRequire } from 'node:module'; import { fileURLToPath as __tmFileURLToPath } from 'node:url'; import { dirname as __tmDirname } from 'node:path'; const require = __tmCreateRequire(import.meta.url); const __tmFilename = __tmFileURLToPath(import.meta.url); const __tmDirnameValue = __tmDirname(__tmFilename);
|
|
2
2
|
import {
|
|
3
3
|
listSandboxes
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-J2TAHVUS.js";
|
|
5
|
+
import "./chunk-YENJWEM7.js";
|
|
6
|
+
import "./chunk-3NPMVKNZ.js";
|
|
7
|
+
import "./chunk-ZPQLJAG4.js";
|
|
8
8
|
import {
|
|
9
9
|
AGENT_COMPATIBILITY,
|
|
10
10
|
assertAgentCompatibility,
|
|
@@ -16,19 +16,19 @@ import {
|
|
|
16
16
|
loadAgentPolicy,
|
|
17
17
|
openAgentChannels,
|
|
18
18
|
railChainIdHex
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3HR7XRLE.js";
|
|
20
20
|
import {
|
|
21
21
|
getX402PolicyPath,
|
|
22
22
|
loadX402Policy,
|
|
23
23
|
rpcUrlForNetwork
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FUHULPDT.js";
|
|
25
25
|
import {
|
|
26
26
|
apiUrl,
|
|
27
27
|
keystoreExists,
|
|
28
28
|
loadKeystore,
|
|
29
29
|
withChainId
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-AZMCG2LI.js";
|
|
31
|
+
import "./chunk-IVCJPX7J.js";
|
|
32
32
|
import "./chunk-YM4S6IE4.js";
|
|
33
33
|
import {
|
|
34
34
|
AGENT_VIEW_VERSION
|