@lucid-agents/taskmarket 1.50.0 → 1.52.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 (25) hide show
  1. package/dist/agent-compatibility.json +1 -1
  2. package/dist/{api-SXHSD3WO.js → api-Z62WOOLX.js} +2 -2
  3. package/dist/{channels-4YOMV7R7.js → channels-GBQLRNED.js} +4 -4
  4. package/dist/{chunk-V5S4LCIE.js → chunk-523X35HE.js} +4 -4
  5. package/dist/{chunk-6VZBAHQC.js → chunk-6UDGOZHP.js} +3 -3
  6. package/dist/{chunk-C7557KRB.js → chunk-G4MAYAZW.js} +13 -25
  7. package/dist/{chunk-EJ7KUYME.js → chunk-JAFX6DHV.js} +3725 -2926
  8. package/dist/{chunk-EYHXTVYK.js → chunk-K3Y73YWH.js} +2 -2
  9. package/dist/{chunk-M5WTLXDY.js → chunk-KU66VTU6.js} +1 -1
  10. package/dist/{chunk-PZI3QQO4.js → chunk-LZ2P3FIL.js} +5 -5
  11. package/dist/{chunk-CGUFHUIV.js → chunk-N5L4URHF.js} +1 -1
  12. package/dist/{chunk-FGW2NNPQ.js → chunk-PXQP62WF.js} +3 -3
  13. package/dist/{chunk-MY5CD4PT.js → chunk-QSOEZINA.js} +8 -8
  14. package/dist/{chunk-YBSZTSJE.js → chunk-RMK5EAPR.js} +1 -1
  15. package/dist/{chunk-EVCG557X.js → chunk-XREEFYEQ.js} +6 -2
  16. package/dist/{doctor-FACAMASV.js → doctor-3LW4N6KW.js} +9 -9
  17. package/dist/index.js +1964 -300
  18. package/dist/{launch-K5666QYB.js → launch-2YOUARKA.js} +11 -11
  19. package/dist/pi-extensions/xgate.cjs +19 -10
  20. package/dist/{read-auth-EFE6NQFG.js → read-auth-IBCYKPKD.js} +3 -3
  21. package/dist/{reconcile-Q4MJXXR3.js → reconcile-7DVTUPJ6.js} +4 -4
  22. package/dist/{status-YKFKGTMQ.js → status-3GNXUWOL.js} +9 -9
  23. package/dist/{sync-pull-AN2M344W.js → sync-pull-MIEB5XAF.js} +4 -4
  24. package/dist/{task-access-grants-MN5WXHHQ.js → task-access-grants-5B3CSCP4.js} +2 -2
  25. package/package.json +3 -2
@@ -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-EVCG557X.js";
5
+ } from "./chunk-XREEFYEQ.js";
6
6
  import {
7
7
  READ_AUTH_ADDRESS_HEADER,
8
8
  READ_AUTH_SIGNATURE_HEADER,
9
9
  buildReadAuthMessage
10
- } from "./chunk-EJ7KUYME.js";
10
+ } from "./chunk-JAFX6DHV.js";
11
11
 
12
12
  // src/lib/read-auth.ts
13
13
  async function signReadAuth(signal) {
@@ -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-EJ7KUYME.js";
5
+ } from "./chunk-JAFX6DHV.js";
6
6
 
7
7
  // src/lib/task-access-grants.ts
8
8
  import { promises as fs } from "fs";
@@ -6,14 +6,14 @@ import {
6
6
  loadDeliverableRecord,
7
7
  readComputeView,
8
8
  taskStage
9
- } from "./chunk-6VZBAHQC.js";
9
+ } from "./chunk-6UDGOZHP.js";
10
10
  import {
11
11
  activeClaim,
12
12
  captureProblem,
13
13
  killedSession,
14
14
  loadSyncState,
15
15
  orphanOf
16
- } from "./chunk-YBSZTSJE.js";
16
+ } from "./chunk-RMK5EAPR.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-FGW2NNPQ.js";
24
+ } from "./chunk-PXQP62WF.js";
25
25
  import {
26
26
  apiUrl,
27
27
  selectedNetwork
28
- } from "./chunk-EVCG557X.js";
28
+ } from "./chunk-XREEFYEQ.js";
29
29
  import {
30
30
  SandboxListOutputSchema
31
- } from "./chunk-EJ7KUYME.js";
31
+ } from "./chunk-JAFX6DHV.js";
32
32
  import {
33
33
  AgentLaunchError
34
34
  } from "./chunk-YM4S6IE4.js";
@@ -22,7 +22,7 @@ import {
22
22
  unresolvedCount,
23
23
  updateSyncState,
24
24
  uploadWorkspace
25
- } from "./chunk-YBSZTSJE.js";
25
+ } from "./chunk-RMK5EAPR.js";
26
26
  import {
27
27
  AgentLaunchError
28
28
  } from "./chunk-YM4S6IE4.js";
@@ -10,16 +10,16 @@ import {
10
10
  listX402Payments,
11
11
  loadX402Policy,
12
12
  rpcUrlForNetwork
13
- } from "./chunk-C7557KRB.js";
13
+ } from "./chunk-G4MAYAZW.js";
14
14
  import {
15
15
  createWalletAccountFromKeystore,
16
16
  keystoreExists,
17
17
  loadKeystore
18
- } from "./chunk-EVCG557X.js";
18
+ } from "./chunk-XREEFYEQ.js";
19
19
  import {
20
20
  getTaskmarketHome,
21
21
  taskmarketChain
22
- } from "./chunk-EJ7KUYME.js";
22
+ } from "./chunk-JAFX6DHV.js";
23
23
  import {
24
24
  AgentLaunchError
25
25
  } from "./chunk-YM4S6IE4.js";
@@ -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-V5S4LCIE.js";
4
+ } from "./chunk-523X35HE.js";
5
5
  import {
6
6
  signReadAuth
7
- } from "./chunk-EYHXTVYK.js";
7
+ } from "./chunk-K3Y73YWH.js";
8
8
  import {
9
9
  taskAccessGrantHeaders
10
- } from "./chunk-M5WTLXDY.js";
10
+ } from "./chunk-KU66VTU6.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-EVCG557X.js";
18
+ } from "./chunk-XREEFYEQ.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-EJ7KUYME.js";
26
+ } from "./chunk-JAFX6DHV.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-SXHSD3WO.js");
119
- const { signReadAuth: signReadAuth2 } = await import("./read-auth-EFE6NQFG.js");
120
- const { taskAccessGrantHeaders: taskAccessGrantHeaders2 } = await import("./task-access-grants-MN5WXHHQ.js");
118
+ const { apiGet: apiGet2 } = await import("./api-Z62WOOLX.js");
119
+ const { signReadAuth: signReadAuth2 } = await import("./read-auth-IBCYKPKD.js");
120
+ const { taskAccessGrantHeaders: taskAccessGrantHeaders2 } = await import("./task-access-grants-5B3CSCP4.js");
121
121
  const taskId = /^\/api\/tasks\/([^/?]+)/.exec(path)?.[1] ?? "";
122
122
  return apiGet2(path, {
123
123
  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-EJ7KUYME.js";
4
+ } from "./chunk-JAFX6DHV.js";
5
5
  import {
6
6
  AgentLaunchError
7
7
  } from "./chunk-YM4S6IE4.js";
@@ -9,7 +9,7 @@ import {
9
9
  paymentProtocolFor,
10
10
  taskmarketChain,
11
11
  verifierProviderId
12
- } from "./chunk-EJ7KUYME.js";
12
+ } from "./chunk-JAFX6DHV.js";
13
13
 
14
14
  // src/lib/idempotency.ts
15
15
  import { randomUUID } from "crypto";
@@ -651,7 +651,11 @@ function tapSigningFetch(base, tap) {
651
651
  ...headerRecord(init?.headers)
652
652
  };
653
653
  const body = await fetchBody(input, init);
654
- return base(input, { ...init, headers: withTapSignature({ method, url, headers, body }, tap) });
654
+ return base(input, {
655
+ ...init,
656
+ headers: withTapSignature({ method, url, headers, body }, tap),
657
+ body
658
+ });
655
659
  });
656
660
  }
657
661
  function taskRequiresTap(task) {
@@ -1,11 +1,11 @@
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-PZI3QQO4.js";
5
- import "./chunk-6VZBAHQC.js";
6
- import "./chunk-YBSZTSJE.js";
7
- import "./chunk-V5S4LCIE.js";
8
- import "./chunk-EYHXTVYK.js";
4
+ } from "./chunk-LZ2P3FIL.js";
5
+ import "./chunk-6UDGOZHP.js";
6
+ import "./chunk-RMK5EAPR.js";
7
+ import "./chunk-523X35HE.js";
8
+ import "./chunk-K3Y73YWH.js";
9
9
  import {
10
10
  AGENT_COMPATIBILITY,
11
11
  assertAgentCompatibility,
@@ -17,19 +17,19 @@ import {
17
17
  loadAgentPolicy,
18
18
  openAgentChannels,
19
19
  railChainIdHex
20
- } from "./chunk-FGW2NNPQ.js";
20
+ } from "./chunk-PXQP62WF.js";
21
21
  import {
22
22
  getX402PolicyPath,
23
23
  loadX402Policy,
24
24
  rpcUrlForNetwork
25
- } from "./chunk-C7557KRB.js";
25
+ } from "./chunk-G4MAYAZW.js";
26
26
  import {
27
27
  apiUrl,
28
28
  keystoreExists,
29
29
  loadKeystore,
30
30
  withChainId
31
- } from "./chunk-EVCG557X.js";
32
- import "./chunk-EJ7KUYME.js";
31
+ } from "./chunk-XREEFYEQ.js";
32
+ import "./chunk-JAFX6DHV.js";
33
33
  import "./chunk-YM4S6IE4.js";
34
34
  import {
35
35
  AGENT_VIEW_VERSION