@lucid-agents/taskmarket 1.40.0 → 1.41.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/THIRD_PARTY_NOTICES.md +150 -288
- package/dist/agent-compatibility.json +1 -1
- package/dist/{api-KVJC2YUT.js → api-S2IU3JCT.js} +2 -2
- package/dist/{channels-C7RATT4R.js → channels-4LHC2LND.js} +4 -4
- package/dist/{chunk-HDXVDIQQ.js → chunk-5VGLI7T4.js} +1 -1
- package/dist/{chunk-I56PQUGS.js → chunk-6XMZQPS5.js} +3 -3
- package/dist/{chunk-H6EGL76J.js → chunk-7Y5S6QR7.js} +3320 -6414
- package/dist/{chunk-DQ7VOFP7.js → chunk-A37LXOBO.js} +5 -5
- package/dist/{chunk-LPW4GUD5.js → chunk-A6JG4LL5.js} +3 -3
- package/dist/{chunk-HWOVMACE.js → chunk-HH2RBNNT.js} +2 -2
- package/dist/{chunk-KOV37V5R.js → chunk-HYYMYJV4.js} +3 -3
- package/dist/{chunk-PQCZDREC.js → chunk-LIVNNQYQ.js} +1 -1
- package/dist/{chunk-IILD5VXU.js → chunk-ORCB435L.js} +1 -1
- package/dist/{chunk-6QUUNUR4.js → chunk-PNBVFBTB.js} +14 -9
- package/dist/{chunk-JAJCNNGK.js → chunk-PRKO232N.js} +1 -1
- package/dist/{chunk-QEDLNQCE.js → chunk-Z66B234H.js} +1 -1
- package/dist/{doctor-22BCAXSE.js → doctor-EII4X6TP.js} +8 -8
- package/dist/index.js +1051 -591
- package/dist/{launch-CGOA6WTU.js → launch-SV7PLTVI.js} +11 -11
- package/dist/pi-extensions/xgate.cjs +10458 -84178
- package/dist/{read-auth-XV4SH3GF.js → read-auth-SP6JR5V4.js} +3 -3
- package/dist/{reconcile-7ZG7SJM2.js → reconcile-FN727GXS.js} +4 -4
- package/dist/{status-VODVEYZK.js → status-ASLURNQV.js} +8 -8
- package/dist/{sync-pull-3EZWIMNV.js → sync-pull-NAO3WOFB.js} +4 -4
- package/dist/{task-access-grants-J3RR2BKM.js → task-access-grants-2UQMMUAR.js} +2 -2
- package/package.json +2 -2
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
loadDeliverableRecord,
|
|
7
7
|
readComputeView,
|
|
8
8
|
taskStage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6XMZQPS5.js";
|
|
10
10
|
import {
|
|
11
11
|
activeClaim,
|
|
12
12
|
captureProblem,
|
|
13
13
|
killedSession,
|
|
14
14
|
loadSyncState,
|
|
15
15
|
orphanOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PRKO232N.js";
|
|
17
17
|
import {
|
|
18
18
|
allocationViews,
|
|
19
19
|
channelView,
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
openAgentChannels,
|
|
22
22
|
uncertainPurchases,
|
|
23
23
|
withdrawalHatch
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HYYMYJV4.js";
|
|
25
25
|
import {
|
|
26
26
|
apiUrl,
|
|
27
27
|
selectedNetwork
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5VGLI7T4.js";
|
|
29
29
|
import {
|
|
30
30
|
SandboxListOutputSchema
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7Y5S6QR7.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentLaunchError
|
|
34
34
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
readMppTempoChallenge,
|
|
16
16
|
reconcileX402Payment,
|
|
17
17
|
withX402FileLock
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Z66B234H.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-5VGLI7T4.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-7Y5S6QR7.js";
|
|
47
47
|
|
|
48
48
|
// src/lib/x402-fee.ts
|
|
49
49
|
import { randomUUID as randomUUID3 } from "crypto";
|
|
@@ -2,12 +2,12 @@ import { createRequire as __tmCreateRequire } from 'node:module'; import { fileU
|
|
|
2
2
|
import {
|
|
3
3
|
createWalletAccountFromKeystore,
|
|
4
4
|
loadKeystore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5VGLI7T4.js";
|
|
6
6
|
import {
|
|
7
7
|
READ_AUTH_ADDRESS_HEADER,
|
|
8
8
|
READ_AUTH_SIGNATURE_HEADER,
|
|
9
9
|
buildReadAuthMessage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7Y5S6QR7.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/read-auth.ts
|
|
13
13
|
async function signReadAuth(signal) {
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
listX402Payments,
|
|
11
11
|
loadX402Policy,
|
|
12
12
|
rpcUrlForNetwork
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Z66B234H.js";
|
|
14
14
|
import {
|
|
15
15
|
createWalletAccountFromKeystore,
|
|
16
16
|
keystoreExists,
|
|
17
17
|
loadKeystore
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5VGLI7T4.js";
|
|
19
19
|
import {
|
|
20
20
|
getTaskmarketHome,
|
|
21
21
|
taskmarketChain
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7Y5S6QR7.js";
|
|
23
23
|
import {
|
|
24
24
|
AgentLaunchError
|
|
25
25
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -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-7Y5S6QR7.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/task-access-grants.ts
|
|
8
8
|
import { promises as fs } from "fs";
|
|
@@ -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-A6JG4LL5.js";
|
|
5
5
|
import {
|
|
6
6
|
signReadAuth
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HH2RBNNT.js";
|
|
8
8
|
import {
|
|
9
9
|
taskAccessGrantHeaders
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ORCB435L.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-5VGLI7T4.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-7Y5S6QR7.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-S2IU3JCT.js");
|
|
119
|
+
const { signReadAuth: signReadAuth2 } = await import("./read-auth-SP6JR5V4.js");
|
|
120
|
+
const { taskAccessGrantHeaders: taskAccessGrantHeaders2 } = await import("./task-access-grants-2UQMMUAR.js");
|
|
121
121
|
const taskId = /^\/api\/tasks\/([^/?]+)/.exec(path)?.[1] ?? "";
|
|
122
122
|
return apiGet2(path, {
|
|
123
123
|
headers: {
|
|
@@ -289,7 +289,12 @@ async function listTasks(ctx, filter = {}) {
|
|
|
289
289
|
}
|
|
290
290
|
async function listTaskSubmissions(ctx, ref, filter = {}) {
|
|
291
291
|
const headers = await readAuthHeaders(ctx);
|
|
292
|
-
const
|
|
292
|
+
const params = new URLSearchParams();
|
|
293
|
+
if (filter.passedCheck) params.set("passedCheck", filter.passedCheck);
|
|
294
|
+
if (filter.limit !== void 0) params.set("limit", String(filter.limit));
|
|
295
|
+
if (filter.cursor) params.set("cursor", filter.cursor);
|
|
296
|
+
if (filter.ids?.length) params.set("ids", filter.ids.join(","));
|
|
297
|
+
const query = params.size > 0 ? `?${params.toString()}` : "";
|
|
293
298
|
return await ctx.transport.get(
|
|
294
299
|
withChainQuery(`/api/tasks/${ref.taskId}/submissions${query}`, ref.chainId),
|
|
295
300
|
headers
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
getTaskmarketHome
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7Y5S6QR7.js";
|
|
5
5
|
import {
|
|
6
6
|
AgentLaunchError
|
|
7
7
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -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-A37LXOBO.js";
|
|
5
|
+
import "./chunk-6XMZQPS5.js";
|
|
6
|
+
import "./chunk-PRKO232N.js";
|
|
7
|
+
import "./chunk-A6JG4LL5.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-HYYMYJV4.js";
|
|
20
20
|
import {
|
|
21
21
|
getX402PolicyPath,
|
|
22
22
|
loadX402Policy,
|
|
23
23
|
rpcUrlForNetwork
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Z66B234H.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-5VGLI7T4.js";
|
|
31
|
+
import "./chunk-7Y5S6QR7.js";
|
|
32
32
|
import "./chunk-YM4S6IE4.js";
|
|
33
33
|
import {
|
|
34
34
|
AGENT_VIEW_VERSION
|