@lucid-agents/taskmarket 1.32.0 → 1.33.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-E5UZ2QWE.js → api-J7LB2GAY.js} +2 -2
  3. package/dist/{channels-347BLVQI.js → channels-XY4SSEBG.js} +4 -4
  4. package/dist/{chunk-NFSTIKPI.js → chunk-ACKPSLIR.js} +2 -2
  5. package/dist/{chunk-FJ4EPHIN.js → chunk-ALTIKIGD.js} +1 -1
  6. package/dist/{chunk-R6QEAGHK.js → chunk-BESAWMVS.js} +1 -1
  7. package/dist/{chunk-OUUCDNIE.js → chunk-E7HZKIUP.js} +3 -3
  8. package/dist/{chunk-TSMFV7XG.js → chunk-JZ3SUHWV.js} +3 -3
  9. package/dist/{chunk-YSOV3WQK.js → chunk-KGU3CSYK.js} +8 -8
  10. package/dist/{chunk-OUV2RQSB.js → chunk-QQ4PHAPV.js} +1 -1
  11. package/dist/{chunk-34AFGDDW.js → chunk-QUIWYQZL.js} +2 -1
  12. package/dist/{chunk-6WOUTOR4.js → chunk-TZH4XU62.js} +2 -0
  13. package/dist/{chunk-XFCZYEKA.js → chunk-VW7I7J5Q.js} +5 -5
  14. package/dist/{chunk-EDZKOEOY.js → chunk-WVHSHZBK.js} +3 -3
  15. package/dist/{chunk-QVP3VXGD.js → chunk-YUYW5N4U.js} +1 -1
  16. package/dist/{doctor-BCC7R7AE.js → doctor-LHFMQ737.js} +8 -8
  17. package/dist/index.js +393 -219
  18. package/dist/{launch-BGOVTUPV.js → launch-B2KFGY2L.js} +11 -11
  19. package/dist/pi-extensions/xgate.cjs +2 -0
  20. package/dist/{read-auth-IBJWXGFC.js → read-auth-P2WTHPWW.js} +3 -3
  21. package/dist/{reconcile-CSMSM4OC.js → reconcile-7AIMC4P3.js} +4 -4
  22. package/dist/{status-O6GBRFDB.js → status-6EYEBSQ6.js} +8 -8
  23. package/dist/{sync-pull-765XDDFN.js → sync-pull-XSIEQDGD.js} +4 -4
  24. package/dist/{task-access-grants-H3RJAJ32.js → task-access-grants-Z32WK3FJ.js} +2 -2
  25. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "taskmarket": "1.32.0",
2
+ "taskmarket": "1.33.0",
3
3
  "manifestVersion": 1,
4
4
  "pi": {
5
5
  "package": "@earendil-works/pi-coding-agent",
@@ -14,8 +14,8 @@ import {
14
14
  parseFailureBody,
15
15
  readFailureBody,
16
16
  withErrorContext
17
- } from "./chunk-34AFGDDW.js";
18
- import "./chunk-6WOUTOR4.js";
17
+ } from "./chunk-QUIWYQZL.js";
18
+ import "./chunk-TZH4XU62.js";
19
19
  import "./chunk-S7SJMJ2I.js";
20
20
  export {
21
21
  ApiError,
@@ -10,10 +10,10 @@ import {
10
10
  selectRail,
11
11
  uncertainPurchases,
12
12
  withdrawalHatch
13
- } from "./chunk-TSMFV7XG.js";
14
- import "./chunk-OUV2RQSB.js";
15
- import "./chunk-34AFGDDW.js";
16
- import "./chunk-6WOUTOR4.js";
13
+ } from "./chunk-JZ3SUHWV.js";
14
+ import "./chunk-QQ4PHAPV.js";
15
+ import "./chunk-QUIWYQZL.js";
16
+ import "./chunk-TZH4XU62.js";
17
17
  import "./chunk-YM4S6IE4.js";
18
18
  import "./chunk-XJOB4NMV.js";
19
19
  import "./chunk-S7SJMJ2I.js";
@@ -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-34AFGDDW.js";
5
+ } from "./chunk-QUIWYQZL.js";
6
6
  import {
7
7
  READ_AUTH_ADDRESS_HEADER,
8
8
  READ_AUTH_SIGNATURE_HEADER,
9
9
  buildReadAuthMessage
10
- } from "./chunk-6WOUTOR4.js";
10
+ } from "./chunk-TZH4XU62.js";
11
11
 
12
12
  // src/lib/read-auth.ts
13
13
  async function signReadAuth() {
@@ -22,7 +22,7 @@ import {
22
22
  unresolvedCount,
23
23
  updateSyncState,
24
24
  uploadWorkspace
25
- } from "./chunk-R6QEAGHK.js";
25
+ } from "./chunk-BESAWMVS.js";
26
26
  import {
27
27
  AgentLaunchError
28
28
  } from "./chunk-YM4S6IE4.js";
@@ -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-6WOUTOR4.js";
4
+ } from "./chunk-TZH4XU62.js";
5
5
  import {
6
6
  AgentLaunchError
7
7
  } from "./chunk-YM4S6IE4.js";
@@ -8,7 +8,7 @@ import {
8
8
  unsafeHostPath,
9
9
  withFileLock,
10
10
  writeAtomic
11
- } from "./chunk-R6QEAGHK.js";
11
+ } from "./chunk-BESAWMVS.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-EDZKOEOY.js";
19
+ } from "./chunk-WVHSHZBK.js";
20
20
  import {
21
21
  getTaskmarketHome
22
- } from "./chunk-6WOUTOR4.js";
22
+ } from "./chunk-TZH4XU62.js";
23
23
  import {
24
24
  AgentLaunchError
25
25
  } from "./chunk-YM4S6IE4.js";
@@ -10,16 +10,16 @@ import {
10
10
  listX402Payments,
11
11
  loadX402Policy,
12
12
  rpcUrlForNetwork
13
- } from "./chunk-OUV2RQSB.js";
13
+ } from "./chunk-QQ4PHAPV.js";
14
14
  import {
15
15
  createWalletAccountFromKeystore,
16
16
  keystoreExists,
17
17
  loadKeystore
18
- } from "./chunk-34AFGDDW.js";
18
+ } from "./chunk-QUIWYQZL.js";
19
19
  import {
20
20
  getTaskmarketHome,
21
21
  taskmarketChain
22
- } from "./chunk-6WOUTOR4.js";
22
+ } from "./chunk-TZH4XU62.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-EDZKOEOY.js";
4
+ } from "./chunk-WVHSHZBK.js";
5
5
  import {
6
6
  signReadAuth
7
- } from "./chunk-NFSTIKPI.js";
7
+ } from "./chunk-ACKPSLIR.js";
8
8
  import {
9
9
  taskAccessGrantHeaders
10
- } from "./chunk-QVP3VXGD.js";
10
+ } from "./chunk-YUYW5N4U.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-34AFGDDW.js";
18
+ } from "./chunk-QUIWYQZL.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-6WOUTOR4.js";
26
+ } from "./chunk-TZH4XU62.js";
27
27
 
28
28
  // src/sdk/artifact-upload.ts
29
29
  import { extname } from "path";
@@ -110,9 +110,9 @@ function putArtifactBytes(uploadUrl, data, mimeType, onProgress) {
110
110
  // src/lib/worker-attestation.ts
111
111
  var requirementCache = /* @__PURE__ */ new Map();
112
112
  async function defaultGet(path) {
113
- const { apiGet: apiGet2 } = await import("./api-E5UZ2QWE.js");
114
- const { signReadAuth: signReadAuth2 } = await import("./read-auth-IBJWXGFC.js");
115
- const { taskAccessGrantHeaders: taskAccessGrantHeaders2 } = await import("./task-access-grants-H3RJAJ32.js");
113
+ const { apiGet: apiGet2 } = await import("./api-J7LB2GAY.js");
114
+ const { signReadAuth: signReadAuth2 } = await import("./read-auth-P2WTHPWW.js");
115
+ const { taskAccessGrantHeaders: taskAccessGrantHeaders2 } = await import("./task-access-grants-Z32WK3FJ.js");
116
116
  const taskId = /^\/api\/tasks\/([^/?]+)/.exec(path)?.[1] ?? "";
117
117
  return apiGet2(path, {
118
118
  headers: {
@@ -8,7 +8,7 @@ import {
8
8
  getTaskmarketHome,
9
9
  mppAttributionMemo,
10
10
  parseMppChallenge
11
- } from "./chunk-6WOUTOR4.js";
11
+ } from "./chunk-TZH4XU62.js";
12
12
 
13
13
  // ../../packages/x402-payer/dist/api.js
14
14
  var X402_PAYER_API_VERSION = 1;
@@ -9,7 +9,7 @@ import {
9
9
  paymentProtocolFor,
10
10
  taskmarketChain,
11
11
  verifierProviderId
12
- } from "./chunk-6WOUTOR4.js";
12
+ } from "./chunk-TZH4XU62.js";
13
13
 
14
14
  // src/lib/idempotency.ts
15
15
  import { randomUUID } from "crypto";
@@ -895,6 +895,7 @@ export {
895
895
  NETWORKS,
896
896
  coreNetworkNames,
897
897
  assertNetworkServesCommand,
898
+ networkNameForChain,
898
899
  taskmarketCommandFor,
899
900
  isNetworkName,
900
901
  getNetwork,
@@ -4325,6 +4325,8 @@ var TaskResponseSchema = z16.object({
4325
4325
  name: z16.string()
4326
4326
  }).nullable().optional(),
4327
4327
  hooks: z16.array(z16.string()).optional(),
4328
+ // The task's hooks not listed in the hook registry for its chain; protocol defaults never count.
4329
+ unverifiedHooks: z16.array(z16.string()).optional(),
4328
4330
  // Rev028: the task's payout gate, when it was created with one.
4329
4331
  payoutGate: TaskPayoutGateSchema.nullable().optional(),
4330
4332
  // Rev028: the tasks whose payout this task gates, when it was created in gating mode (it then
@@ -6,14 +6,14 @@ import {
6
6
  loadDeliverableRecord,
7
7
  readComputeView,
8
8
  taskStage
9
- } from "./chunk-OUUCDNIE.js";
9
+ } from "./chunk-E7HZKIUP.js";
10
10
  import {
11
11
  activeClaim,
12
12
  captureProblem,
13
13
  killedSession,
14
14
  loadSyncState,
15
15
  orphanOf
16
- } from "./chunk-R6QEAGHK.js";
16
+ } from "./chunk-BESAWMVS.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-TSMFV7XG.js";
24
+ } from "./chunk-JZ3SUHWV.js";
25
25
  import {
26
26
  apiUrl,
27
27
  selectedNetwork
28
- } from "./chunk-34AFGDDW.js";
28
+ } from "./chunk-QUIWYQZL.js";
29
29
  import {
30
30
  SandboxListOutputSchema
31
- } from "./chunk-6WOUTOR4.js";
31
+ } from "./chunk-TZH4XU62.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-OUV2RQSB.js";
18
+ } from "./chunk-QQ4PHAPV.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-34AFGDDW.js";
39
+ } from "./chunk-QUIWYQZL.js";
40
40
  import {
41
41
  ComputeCreditBuyOutputSchema,
42
42
  ComputeCreditPricingSchema,
43
43
  ComputeCreditStatusOutputSchema,
44
44
  apiErrorEnvelopeOf,
45
45
  getTaskmarketHome
46
- } from "./chunk-6WOUTOR4.js";
46
+ } from "./chunk-TZH4XU62.js";
47
47
 
48
48
  // src/lib/x402-fee.ts
49
49
  import { randomUUID as randomUUID3 } from "crypto";
@@ -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-6WOUTOR4.js";
5
+ } from "./chunk-TZH4XU62.js";
6
6
 
7
7
  // src/lib/task-access-grants.ts
8
8
  import { promises as fs } from "fs";
@@ -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-XFCZYEKA.js";
5
- import "./chunk-OUUCDNIE.js";
6
- import "./chunk-R6QEAGHK.js";
7
- import "./chunk-EDZKOEOY.js";
4
+ } from "./chunk-VW7I7J5Q.js";
5
+ import "./chunk-E7HZKIUP.js";
6
+ import "./chunk-BESAWMVS.js";
7
+ import "./chunk-WVHSHZBK.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-TSMFV7XG.js";
19
+ } from "./chunk-JZ3SUHWV.js";
20
20
  import {
21
21
  getX402PolicyPath,
22
22
  loadX402Policy,
23
23
  rpcUrlForNetwork
24
- } from "./chunk-OUV2RQSB.js";
24
+ } from "./chunk-QQ4PHAPV.js";
25
25
  import {
26
26
  apiUrl,
27
27
  keystoreExists,
28
28
  loadKeystore,
29
29
  withChainId
30
- } from "./chunk-34AFGDDW.js";
31
- import "./chunk-6WOUTOR4.js";
30
+ } from "./chunk-QUIWYQZL.js";
31
+ import "./chunk-TZH4XU62.js";
32
32
  import "./chunk-YM4S6IE4.js";
33
33
  import {
34
34
  AGENT_VIEW_VERSION