@lucid-agents/taskmarket 1.20.0 → 1.20.1

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "taskmarket": "1.20.0",
2
+ "taskmarket": "1.20.1",
3
3
  "manifestVersion": 1,
4
4
  "pi": {
5
5
  "package": "@earendil-works/pi-coding-agent",
@@ -10,9 +10,9 @@ import {
10
10
  selectRail,
11
11
  uncertainPurchases,
12
12
  withdrawalHatch
13
- } from "./chunk-W7JSBEGK.js";
14
- import "./chunk-SCZPZWRF.js";
15
- import "./chunk-F7HVOUHY.js";
13
+ } from "./chunk-OIQZWRMS.js";
14
+ import "./chunk-RHDWF7BZ.js";
15
+ import "./chunk-OQ6PFG36.js";
16
16
  import "./chunk-XJOB4NMV.js";
17
17
  import "./chunk-YM4S6IE4.js";
18
18
  import "./chunk-S7SJMJ2I.js";
@@ -8,7 +8,7 @@ import {
8
8
  unsafeHostPath,
9
9
  withFileLock,
10
10
  writeAtomic
11
- } from "./chunk-RA6EZSII.js";
11
+ } from "./chunk-GAESVHWN.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-2YFJNXXA.js";
19
+ } from "./chunk-GG3D4M74.js";
20
20
  import {
21
21
  getTaskmarketHome
22
- } from "./chunk-F7HVOUHY.js";
22
+ } from "./chunk-OQ6PFG36.js";
23
23
  import {
24
24
  burnRate,
25
25
  computeLow
@@ -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-F7HVOUHY.js";
4
+ } from "./chunk-OQ6PFG36.js";
5
5
  import {
6
6
  AgentLaunchError
7
7
  } from "./chunk-YM4S6IE4.js";
@@ -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
  x402FeePost
4
- } from "./chunk-2YFJNXXA.js";
4
+ } from "./chunk-GG3D4M74.js";
5
5
  import {
6
6
  createWalletAccountFromKeystore,
7
7
  signMessage
8
- } from "./chunk-SCZPZWRF.js";
8
+ } from "./chunk-RHDWF7BZ.js";
9
9
  import {
10
10
  READ_AUTH_ADDRESS_HEADER,
11
11
  READ_AUTH_SIGNATURE_HEADER,
@@ -19,7 +19,7 @@ import {
19
19
  getTaskmarketHome,
20
20
  isRecordingPendingResponse,
21
21
  loadKeystore
22
- } from "./chunk-F7HVOUHY.js";
22
+ } from "./chunk-OQ6PFG36.js";
23
23
 
24
24
  // src/lib/read-auth.ts
25
25
  async function signReadAuth() {
@@ -16,7 +16,7 @@ import {
16
16
  readMppTempoChallenge,
17
17
  reconcileX402Payment,
18
18
  withX402FileLock
19
- } from "./chunk-SCZPZWRF.js";
19
+ } from "./chunk-RHDWF7BZ.js";
20
20
  import {
21
21
  ApiError,
22
22
  ComputeCreditBuyOutputSchema,
@@ -38,7 +38,7 @@ import {
38
38
  resolveIdempotencyKey,
39
39
  selectedNetwork,
40
40
  withIdempotentWrite
41
- } from "./chunk-F7HVOUHY.js";
41
+ } from "./chunk-OQ6PFG36.js";
42
42
 
43
43
  // src/lib/x402-fee.ts
44
44
  import { randomUUID as randomUUID3 } from "crypto";
@@ -11,12 +11,12 @@ import {
11
11
  listX402Payments,
12
12
  loadX402Policy,
13
13
  rpcUrlForNetwork
14
- } from "./chunk-SCZPZWRF.js";
14
+ } from "./chunk-RHDWF7BZ.js";
15
15
  import {
16
16
  getTaskmarketHome,
17
17
  keystoreExists,
18
18
  loadKeystore
19
- } from "./chunk-F7HVOUHY.js";
19
+ } from "./chunk-OQ6PFG36.js";
20
20
  import {
21
21
  failureDetail,
22
22
  failureDetailOf,
@@ -1880,6 +1880,9 @@ var UsdcDomainSchema = z17.object({
1880
1880
  var GetWithdrawalAddressOutputSchema = z17.object({
1881
1881
  withdrawalAddress: z17.string().nullable(),
1882
1882
  chainId: z17.number().int().positive(),
1883
+ // ADR-0323: true when this chain has an address but no recovery code yet (a backfilled
1884
+ // address), so revealBackfilledRecoveryCode would mint one. Revealing still needs a signature.
1885
+ recoveryCodeAvailable: z17.boolean(),
1883
1886
  usdcDomain: UsdcDomainSchema
1884
1887
  });
1885
1888
  var AuthorizationSchema = z17.object({
@@ -11,7 +11,7 @@ import {
11
11
  loadKeystore,
12
12
  mppAttributionMemo,
13
13
  parseMppChallenge
14
- } from "./chunk-F7HVOUHY.js";
14
+ } from "./chunk-OQ6PFG36.js";
15
15
 
16
16
  // ../../packages/x402-payer/dist/api.js
17
17
  var X402_PAYER_API_VERSION = 1;
@@ -6,14 +6,14 @@ import {
6
6
  loadDeliverableRecord,
7
7
  readComputeView,
8
8
  taskStage
9
- } from "./chunk-S62UQAAF.js";
9
+ } from "./chunk-7NH3EVI7.js";
10
10
  import {
11
11
  activeClaim,
12
12
  captureProblem,
13
13
  killedSession,
14
14
  loadSyncState,
15
15
  orphanOf
16
- } from "./chunk-RA6EZSII.js";
16
+ } from "./chunk-GAESVHWN.js";
17
17
  import {
18
18
  allocationViews,
19
19
  channelView,
@@ -21,12 +21,12 @@ import {
21
21
  openAgentChannels,
22
22
  uncertainPurchases,
23
23
  withdrawalHatch
24
- } from "./chunk-W7JSBEGK.js";
24
+ } from "./chunk-OIQZWRMS.js";
25
25
  import {
26
26
  SandboxListOutputSchema,
27
27
  apiUrl,
28
28
  selectedNetwork
29
- } from "./chunk-F7HVOUHY.js";
29
+ } from "./chunk-OQ6PFG36.js";
30
30
  import {
31
31
  AGENT_VIEW_VERSION,
32
32
  blockingPurchases,
@@ -22,7 +22,7 @@ import {
22
22
  unresolvedCount,
23
23
  updateSyncState,
24
24
  uploadWorkspace
25
- } from "./chunk-RA6EZSII.js";
25
+ } from "./chunk-GAESVHWN.js";
26
26
  import {
27
27
  AgentLaunchError
28
28
  } from "./chunk-YM4S6IE4.js";
@@ -6,25 +6,25 @@ import {
6
6
  } from "./chunk-4ZC6SH7H.js";
7
7
  import {
8
8
  listSandboxes
9
- } from "./chunk-LKO25UQ7.js";
10
- import "./chunk-S62UQAAF.js";
11
- import "./chunk-RA6EZSII.js";
12
- import "./chunk-2YFJNXXA.js";
9
+ } from "./chunk-YLNOLUYO.js";
10
+ import "./chunk-7NH3EVI7.js";
11
+ import "./chunk-GAESVHWN.js";
12
+ import "./chunk-GG3D4M74.js";
13
13
  import {
14
14
  channelView,
15
15
  loadAgentPolicy,
16
16
  openAgentChannels
17
- } from "./chunk-W7JSBEGK.js";
17
+ } from "./chunk-OIQZWRMS.js";
18
18
  import {
19
19
  getX402PolicyPath,
20
20
  loadX402Policy,
21
21
  rpcUrlForNetwork
22
- } from "./chunk-SCZPZWRF.js";
22
+ } from "./chunk-RHDWF7BZ.js";
23
23
  import {
24
24
  apiUrl,
25
25
  keystoreExists,
26
26
  loadKeystore
27
- } from "./chunk-F7HVOUHY.js";
27
+ } from "./chunk-OQ6PFG36.js";
28
28
  import {
29
29
  AGENT_VIEW_VERSION
30
30
  } from "./chunk-XJOB4NMV.js";
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  signReadAuth,
15
15
  submitTaskFiles,
16
16
  taskAccessGrantHeaders
17
- } from "./chunk-SQFNRMEN.js";
17
+ } from "./chunk-GE7B3DNP.js";
18
18
  import {
19
19
  ComputeCreditError,
20
20
  applyComputeCreditSetup,
@@ -36,7 +36,7 @@ import {
36
36
  refusedPaidWrite,
37
37
  releasePendingComputePurchase,
38
38
  resolvePendingComputePurchases
39
- } from "./chunk-2YFJNXXA.js";
39
+ } from "./chunk-GG3D4M74.js";
40
40
  import {
41
41
  MPP_TEMPO_DEFAULT_VALIDITY_SECONDS,
42
42
  X402PayError,
@@ -58,7 +58,7 @@ import {
58
58
  signSponsoredTempoTransfer,
59
59
  signTaskmarketFeePayment,
60
60
  signTypedData
61
- } from "./chunk-SCZPZWRF.js";
61
+ } from "./chunk-RHDWF7BZ.js";
62
62
  import {
63
63
  AgentMessageEnvelopeSchema,
64
64
  ApiError,
@@ -166,7 +166,7 @@ import {
166
166
  usdcToBaseUnits,
167
167
  withErrorContext,
168
168
  withIdempotentWrite
169
- } from "./chunk-F7HVOUHY.js";
169
+ } from "./chunk-OQ6PFG36.js";
170
170
  import {
171
171
  channelLines
172
172
  } from "./chunk-XJOB4NMV.js";
@@ -3441,7 +3441,7 @@ async function runAgentCommand(options) {
3441
3441
  try {
3442
3442
  const { assertAgentCompatibility } = await import("./compatibility-636WJOEX.js");
3443
3443
  const pi = assertAgentCompatibility();
3444
- const { runAgent } = await import("./launch-CXG3JSD7.js");
3444
+ const { runAgent } = await import("./launch-ZUPYNI5D.js");
3445
3445
  result = await runAgent({
3446
3446
  model: options.model,
3447
3447
  pi,
@@ -3500,13 +3500,13 @@ function agentManagementCommands() {
3500
3500
  const status = new Command48("status").description(
3501
3501
  "Show the agent channels (locked, charged, refundable), purchases with an unknown outcome, the sandbox and compute credit. Reads only."
3502
3502
  ).option("--json", "Print the versioned JSON envelope").action(async (options) => {
3503
- const { collectAgentStatus, statusLines } = await import("./status-ITMQZ4W6.js");
3503
+ const { collectAgentStatus, statusLines } = await import("./status-3TADKQEQ.js");
3504
3504
  await run(options, () => collectAgentStatus(), statusLines);
3505
3505
  });
3506
3506
  const doctor = new Command48("doctor").description(
3507
3507
  "Check that the agent can start: Node and the bundled runtime, wallet and policy, channels, API, sandbox broker, host keys, xgate and RPC. Reads only."
3508
3508
  ).option("--json", "Print the versioned JSON envelope").action(async (options) => {
3509
- const { runDoctor, doctorLines } = await import("./doctor-DO2R6HK7.js");
3509
+ const { runDoctor, doctorLines } = await import("./doctor-7OCOVNPS.js");
3510
3510
  const report = await run(options, () => runDoctor(), doctorLines);
3511
3511
  if (report && !report.ok) process.exitCode = 1;
3512
3512
  });
@@ -3517,7 +3517,7 @@ function agentManagementCommands() {
3517
3517
  "Reconcile the open purchases of this channel, as status lists it; also reaches retired channels"
3518
3518
  ).option("--json", "Print the versioned JSON envelope").action(
3519
3519
  async (invocationId, options) => {
3520
- const { reconcileChannelPurchases, reconcileInvocation } = await import("./reconcile-LB2ZRNG5.js");
3520
+ const { reconcileChannelPurchases, reconcileInvocation } = await import("./reconcile-7B4X22S3.js");
3521
3521
  const choice = { rail: options.rail, channel: options.channel };
3522
3522
  if (invocationId !== void 0) {
3523
3523
  await run(
@@ -3575,7 +3575,7 @@ function agentManagementCommands() {
3575
3575
  `Not a USDC amount: ${options.amount} (digits, at most 6 decimals)`
3576
3576
  );
3577
3577
  }
3578
- const { openAgentChannels, requestTopUp, selectRail, withdrawalHatch } = await import("./channels-A57K7BP6.js");
3578
+ const { openAgentChannels, requestTopUp, selectRail, withdrawalHatch } = await import("./channels-3SW6DR33.js");
3579
3579
  const { rails } = await openAgentChannels();
3580
3580
  const result = await requestTopUp(selectRail(rails, options.rail), amount);
3581
3581
  return {
@@ -3599,8 +3599,8 @@ function agentManagementCommands() {
3599
3599
  async () => {
3600
3600
  await requireExperimental();
3601
3601
  const { AGENT_VIEW_VERSION } = await import("./budget-view-J6L7X6EY.js");
3602
- const { closeChannel, openAgentChannels, selectChannel } = await import("./channels-A57K7BP6.js");
3603
- const { reconcileLeasedPurchase } = await import("./reconcile-LB2ZRNG5.js");
3602
+ const { closeChannel, openAgentChannels, selectChannel } = await import("./channels-3SW6DR33.js");
3603
+ const { reconcileLeasedPurchase } = await import("./reconcile-7B4X22S3.js");
3604
3604
  const opened = await openAgentChannels();
3605
3605
  const { rail, retired } = selectChannel(opened, options);
3606
3606
  const result = await closeChannel(
@@ -3671,7 +3671,7 @@ function agentManagementCommands() {
3671
3671
  options,
3672
3672
  async () => {
3673
3673
  await requireExperimental();
3674
- const { runPull } = await import("./sync-pull-U3WGVKDX.js");
3674
+ const { runPull } = await import("./sync-pull-WVUJF4J4.js");
3675
3675
  const { terminalPrompter } = await import("./prompter-LSICEYSQ.js");
3676
3676
  return runPull(options, {
3677
3677
  interactive: Boolean(process.stdin.isTTY && process.stdout.isTTY) && !options.json,
@@ -7,7 +7,7 @@ import {
7
7
  recordSessionEnd,
8
8
  recordSessionStart,
9
9
  uploadPlan
10
- } from "./chunk-SOX4RRVI.js";
10
+ } from "./chunk-ZPZHYEPM.js";
11
11
  import {
12
12
  TaskOperationError,
13
13
  authorizeUploads,
@@ -28,7 +28,7 @@ import {
28
28
  submitUploadedArtifacts,
29
29
  taskAccessGrantHeaders,
30
30
  taskAwardsOf
31
- } from "./chunk-SQFNRMEN.js";
31
+ } from "./chunk-GE7B3DNP.js";
32
32
  import {
33
33
  terminalPrompter
34
34
  } from "./chunk-ZIC2YCLV.js";
@@ -68,7 +68,7 @@ import {
68
68
  sha256Hex,
69
69
  specHash,
70
70
  taskStage
71
- } from "./chunk-S62UQAAF.js";
71
+ } from "./chunk-7NH3EVI7.js";
72
72
  import {
73
73
  BrokerConnector,
74
74
  OutputLimitError,
@@ -80,7 +80,7 @@ import {
80
80
  serveSandboxChannel,
81
81
  withFileLock,
82
82
  writeAtomic
83
- } from "./chunk-RA6EZSII.js";
83
+ } from "./chunk-GAESVHWN.js";
84
84
  import {
85
85
  applyComputeCreditSetup,
86
86
  atomicToUsd,
@@ -90,7 +90,7 @@ import {
90
90
  planComputeCreditSetup,
91
91
  readComputeCreditBalance,
92
92
  usdToAtomic
93
- } from "./chunk-2YFJNXXA.js";
93
+ } from "./chunk-GG3D4M74.js";
94
94
  import {
95
95
  MAX_RETIRED_RAILS,
96
96
  WORKSPACE_CONSENT_VERSION,
@@ -110,7 +110,7 @@ import {
110
110
  routeOfCatalogRow,
111
111
  saveAgentPolicy,
112
112
  settledRetiredRails
113
- } from "./chunk-W7JSBEGK.js";
113
+ } from "./chunk-OIQZWRMS.js";
114
114
  import {
115
115
  BASE_CHANNEL_RAIL_ID,
116
116
  createBaseChannelPayer,
@@ -124,7 +124,7 @@ import {
124
124
  rpcUrlForNetwork,
125
125
  saveX402Policy,
126
126
  x402SpendWindowAvailability
127
- } from "./chunk-SCZPZWRF.js";
127
+ } from "./chunk-RHDWF7BZ.js";
128
128
  import {
129
129
  IntentStatusResponseSchema,
130
130
  NetworkChainInfoSchema,
@@ -136,7 +136,7 @@ import {
136
136
  loadKeystore,
137
137
  selectedNetwork,
138
138
  taskmarketChain
139
- } from "./chunk-F7HVOUHY.js";
139
+ } from "./chunk-OQ6PFG36.js";
140
140
  import {
141
141
  AGENT_VIEW_VERSION,
142
142
  describeFailureDetail,
@@ -3,14 +3,14 @@ import {
3
3
  channelView,
4
4
  openAgentChannels,
5
5
  selectChannel
6
- } from "./chunk-W7JSBEGK.js";
6
+ } from "./chunk-OIQZWRMS.js";
7
7
  import {
8
8
  BASE_CHANNEL_RAIL_ID,
9
9
  X402_INVOCATION_ID_PATTERN,
10
10
  getX402JournalPath,
11
11
  listX402Payments
12
- } from "./chunk-SCZPZWRF.js";
13
- import "./chunk-F7HVOUHY.js";
12
+ } from "./chunk-RHDWF7BZ.js";
13
+ import "./chunk-OQ6PFG36.js";
14
14
  import {
15
15
  AGENT_VIEW_VERSION,
16
16
  LOST_RESPONSE_TEXT,
@@ -7,13 +7,13 @@ import {
7
7
  statusLines,
8
8
  syncLines,
9
9
  taskLines
10
- } from "./chunk-LKO25UQ7.js";
11
- import "./chunk-S62UQAAF.js";
12
- import "./chunk-RA6EZSII.js";
13
- import "./chunk-2YFJNXXA.js";
14
- import "./chunk-W7JSBEGK.js";
15
- import "./chunk-SCZPZWRF.js";
16
- import "./chunk-F7HVOUHY.js";
10
+ } from "./chunk-YLNOLUYO.js";
11
+ import "./chunk-7NH3EVI7.js";
12
+ import "./chunk-GAESVHWN.js";
13
+ import "./chunk-GG3D4M74.js";
14
+ import "./chunk-OIQZWRMS.js";
15
+ import "./chunk-RHDWF7BZ.js";
16
+ import "./chunk-OQ6PFG36.js";
17
17
  import "./chunk-XJOB4NMV.js";
18
18
  import "./chunk-YM4S6IE4.js";
19
19
  import "./chunk-S7SJMJ2I.js";
@@ -11,7 +11,7 @@ import {
11
11
  savedWorkspace,
12
12
  summarize,
13
13
  unsavedPaths
14
- } from "./chunk-SOX4RRVI.js";
14
+ } from "./chunk-ZPZHYEPM.js";
15
15
  import {
16
16
  BrokerConnector,
17
17
  SandboxUnavailableError,
@@ -27,11 +27,11 @@ import {
27
27
  releaseClaim,
28
28
  unresolvedCount,
29
29
  updateSyncState
30
- } from "./chunk-RA6EZSII.js";
30
+ } from "./chunk-GAESVHWN.js";
31
31
  import {
32
32
  apiUrl,
33
33
  loadKeystore
34
- } from "./chunk-F7HVOUHY.js";
34
+ } from "./chunk-OQ6PFG36.js";
35
35
  import {
36
36
  AgentLaunchError
37
37
  } from "./chunk-YM4S6IE4.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucid-agents/taskmarket",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "taskmarket": "./dist/index.js"
@@ -33,8 +33,8 @@
33
33
  "@taskmarket/prettier-config": "0.0.0",
34
34
  "@taskmarket/eslint-config": "0.0.0",
35
35
  "@taskmarket/remote-tools": "0.0.1",
36
- "@taskmarket/shared": "2.0.0",
37
- "@taskmarket/x402-payer": "0.1.0"
36
+ "@taskmarket/x402-payer": "0.1.0",
37
+ "@taskmarket/shared": "2.0.0"
38
38
  },
39
39
  "files": [
40
40
  "dist",