@lucid-agents/taskmarket 1.39.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.
Files changed (26) hide show
  1. package/dist/THIRD_PARTY_NOTICES.md +150 -288
  2. package/dist/agent-compatibility.json +1 -1
  3. package/dist/{api-I3EZRW6P.js → api-S2IU3JCT.js} +2 -2
  4. package/dist/{channels-JW5465JV.js → channels-4LHC2LND.js} +4 -4
  5. package/dist/{chunk-WGLEKAU2.js → chunk-5VGLI7T4.js} +1 -1
  6. package/dist/{chunk-5IV4HFML.js → chunk-6XMZQPS5.js} +3 -3
  7. package/dist/{chunk-OEVU366I.js → chunk-7Y5S6QR7.js} +3330 -6412
  8. package/dist/{chunk-U7L2VMHL.js → chunk-A37LXOBO.js} +5 -5
  9. package/dist/{chunk-U2BQZ7BU.js → chunk-A6JG4LL5.js} +3 -3
  10. package/dist/{chunk-I6O7MUFZ.js → chunk-HH2RBNNT.js} +2 -2
  11. package/dist/{chunk-HJE3YXIQ.js → chunk-HYYMYJV4.js} +3 -3
  12. package/dist/{chunk-6Q37G25Q.js → chunk-LIVNNQYQ.js} +1 -1
  13. package/dist/{chunk-PPTRUZJK.js → chunk-ORCB435L.js} +1 -1
  14. package/dist/{chunk-LJKCK7J7.js → chunk-PNBVFBTB.js} +14 -9
  15. package/dist/{chunk-BVUHDLFY.js → chunk-PRKO232N.js} +1 -1
  16. package/dist/{chunk-CO6HZLD5.js → chunk-Z66B234H.js} +1 -1
  17. package/dist/{doctor-YSCUPIXR.js → doctor-EII4X6TP.js} +8 -8
  18. package/dist/index.js +1064 -575
  19. package/dist/{launch-ZEYFMO3L.js → launch-SV7PLTVI.js} +11 -11
  20. package/dist/pi-extensions/xgate.cjs +10456 -84161
  21. package/dist/{read-auth-34XAANDC.js → read-auth-SP6JR5V4.js} +3 -3
  22. package/dist/{reconcile-34TJBB74.js → reconcile-FN727GXS.js} +4 -4
  23. package/dist/{status-ZAZLJJMP.js → status-ASLURNQV.js} +8 -8
  24. package/dist/{sync-pull-3HL7LFTB.js → sync-pull-NAO3WOFB.js} +4 -4
  25. package/dist/{task-access-grants-WMTLO2WA.js → task-access-grants-2UQMMUAR.js} +2 -2
  26. package/package.json +2 -2
@@ -6,14 +6,14 @@ import {
6
6
  loadDeliverableRecord,
7
7
  readComputeView,
8
8
  taskStage
9
- } from "./chunk-5IV4HFML.js";
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-BVUHDLFY.js";
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-HJE3YXIQ.js";
24
+ } from "./chunk-HYYMYJV4.js";
25
25
  import {
26
26
  apiUrl,
27
27
  selectedNetwork
28
- } from "./chunk-WGLEKAU2.js";
28
+ } from "./chunk-5VGLI7T4.js";
29
29
  import {
30
30
  SandboxListOutputSchema
31
- } from "./chunk-OEVU366I.js";
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-CO6HZLD5.js";
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-WGLEKAU2.js";
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-OEVU366I.js";
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-WGLEKAU2.js";
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-OEVU366I.js";
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-CO6HZLD5.js";
13
+ } from "./chunk-Z66B234H.js";
14
14
  import {
15
15
  createWalletAccountFromKeystore,
16
16
  keystoreExists,
17
17
  loadKeystore
18
- } from "./chunk-WGLEKAU2.js";
18
+ } from "./chunk-5VGLI7T4.js";
19
19
  import {
20
20
  getTaskmarketHome,
21
21
  taskmarketChain
22
- } from "./chunk-OEVU366I.js";
22
+ } from "./chunk-7Y5S6QR7.js";
23
23
  import {
24
24
  AgentLaunchError
25
25
  } from "./chunk-YM4S6IE4.js";
@@ -22,7 +22,7 @@ import {
22
22
  unresolvedCount,
23
23
  updateSyncState,
24
24
  uploadWorkspace
25
- } from "./chunk-BVUHDLFY.js";
25
+ } from "./chunk-PRKO232N.js";
26
26
  import {
27
27
  AgentLaunchError
28
28
  } 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-OEVU366I.js";
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-U2BQZ7BU.js";
4
+ } from "./chunk-A6JG4LL5.js";
5
5
  import {
6
6
  signReadAuth
7
- } from "./chunk-I6O7MUFZ.js";
7
+ } from "./chunk-HH2RBNNT.js";
8
8
  import {
9
9
  taskAccessGrantHeaders
10
- } from "./chunk-PPTRUZJK.js";
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-WGLEKAU2.js";
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-OEVU366I.js";
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-I3EZRW6P.js");
119
- const { signReadAuth: signReadAuth2 } = await import("./read-auth-34XAANDC.js");
120
- const { taskAccessGrantHeaders: taskAccessGrantHeaders2 } = await import("./task-access-grants-WMTLO2WA.js");
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 query = filter.passedCheck ? `?${new URLSearchParams({ passedCheck: filter.passedCheck }).toString()}` : "";
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-OEVU366I.js";
4
+ } from "./chunk-7Y5S6QR7.js";
5
5
  import {
6
6
  AgentLaunchError
7
7
  } from "./chunk-YM4S6IE4.js";
@@ -8,7 +8,7 @@ import {
8
8
  getTaskmarketHome,
9
9
  mppAttributionMemo,
10
10
  parseMppChallenge
11
- } from "./chunk-OEVU366I.js";
11
+ } from "./chunk-7Y5S6QR7.js";
12
12
 
13
13
  // ../../packages/x402-payer/dist/api.js
14
14
  var X402_PAYER_API_VERSION = 1;
@@ -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-U7L2VMHL.js";
5
- import "./chunk-5IV4HFML.js";
6
- import "./chunk-BVUHDLFY.js";
7
- import "./chunk-U2BQZ7BU.js";
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-HJE3YXIQ.js";
19
+ } from "./chunk-HYYMYJV4.js";
20
20
  import {
21
21
  getX402PolicyPath,
22
22
  loadX402Policy,
23
23
  rpcUrlForNetwork
24
- } from "./chunk-CO6HZLD5.js";
24
+ } from "./chunk-Z66B234H.js";
25
25
  import {
26
26
  apiUrl,
27
27
  keystoreExists,
28
28
  loadKeystore,
29
29
  withChainId
30
- } from "./chunk-WGLEKAU2.js";
31
- import "./chunk-OEVU366I.js";
30
+ } from "./chunk-5VGLI7T4.js";
31
+ import "./chunk-7Y5S6QR7.js";
32
32
  import "./chunk-YM4S6IE4.js";
33
33
  import {
34
34
  AGENT_VIEW_VERSION