@lucid-agents/taskmarket 1.20.2 → 1.20.3

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.2",
2
+ "taskmarket": "1.20.3",
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-5D4HN65V.js";
14
- import "./chunk-AT2VG32A.js";
15
- import "./chunk-2JTB3UFM.js";
13
+ } from "./chunk-VEZ72QNL.js";
14
+ import "./chunk-EMIVR2MT.js";
15
+ import "./chunk-4SG3R5IH.js";
16
16
  import "./chunk-XJOB4NMV.js";
17
17
  import "./chunk-YM4S6IE4.js";
18
18
  import "./chunk-S7SJMJ2I.js";
@@ -16,7 +16,7 @@ import {
16
16
  readMppTempoChallenge,
17
17
  reconcileX402Payment,
18
18
  withX402FileLock
19
- } from "./chunk-AT2VG32A.js";
19
+ } from "./chunk-EMIVR2MT.js";
20
20
  import {
21
21
  ApiError,
22
22
  ComputeCreditBuyOutputSchema,
@@ -39,7 +39,7 @@ import {
39
39
  selectedNetwork,
40
40
  withChainId,
41
41
  withIdempotentWrite
42
- } from "./chunk-2JTB3UFM.js";
42
+ } from "./chunk-4SG3R5IH.js";
43
43
 
44
44
  // src/lib/x402-fee.ts
45
45
  import { randomUUID as randomUUID3 } from "crypto";
@@ -703,7 +703,9 @@ var SponsoredTaskFundingPreviewFailureSchema = z7.enum([
703
703
  var PreviewFundingInputSchema = z7.object({
704
704
  vaultId: VaultIdInputSchema,
705
705
  managerAddress: VaultAddressSchema,
706
- grossAmount: z7.string().regex(/^[1-9]\d*$/, "Must be a positive integer amount in base units")
706
+ grossAmount: z7.string().regex(/^[1-9]\d*$/, "Must be a positive integer amount in base units"),
707
+ // Optional: the call runs on the vault's own chain. Naming another chain is refused.
708
+ chainId: z7.coerce.number().int().positive().optional()
707
709
  });
708
710
  var PreviewFundingOutputSchema = z7.object({
709
711
  ok: z7.boolean(),
@@ -711,6 +713,8 @@ var PreviewFundingOutputSchema = z7.object({
711
713
  });
712
714
  var BuildFundingHookDataInputSchema = z7.object({
713
715
  vaultId: VaultIdInputSchema,
716
+ // Optional: the call runs on the vault's own chain. Naming another chain is refused.
717
+ chainId: z7.number().int().positive().optional(),
714
718
  managerAddress: VaultAddressSchema,
715
719
  grossAmount: z7.string(),
716
720
  reward: z7.string(),
@@ -1453,15 +1457,15 @@ var AgentStatsSchema = z10.object({
1453
1457
  address: z10.string(),
1454
1458
  agentId: z10.string().nullable().optional(),
1455
1459
  actorType: ActorType.optional(),
1456
- completedTasks: z10.number(),
1457
- ratedTasks: z10.number(),
1458
- totalStars: z10.number(),
1459
- averageRating: z10.number(),
1460
+ completedTasks: z10.number().nullable(),
1461
+ ratedTasks: z10.number().nullable(),
1462
+ totalStars: z10.number().nullable(),
1463
+ averageRating: z10.number().nullable(),
1460
1464
  /**
1461
1465
  * Net USDC base units paid to this address as a worker, summed from settlement records
1462
1466
  * across every Taskmarket contract generation.
1463
1467
  */
1464
- totalEarnings: z10.string(),
1468
+ totalEarnings: z10.string().nullable(),
1465
1469
  skills: z10.array(z10.string()).optional(),
1466
1470
  emailAddress: z10.string().nullable().optional(),
1467
1471
  credibility: z10.number().int().min(0).max(1e3).optional(),
@@ -1598,13 +1602,13 @@ var HealthResponseSchema = z12.object({
1598
1602
  staleNonTerminal: z12.number().int().nonnegative()
1599
1603
  })).optional()
1600
1604
  }).optional(),
1601
- /** The chain this process's contract configuration targets (CHAIN_ID after its default). */
1602
- chainId: z12.number().int().optional(),
1605
+ /** Every chain this process serves, in SERVED_CHAIN_IDS order (ADR-0327: no default chain). */
1606
+ servedChainIds: z12.array(z12.number().int()).optional(),
1603
1607
  /**
1604
1608
  * The chain this process's swarm wallets run on (ADR-0176). An operator compares it with the
1605
1609
  * consumer's `/health` after a deploy: the two must match, and in production both refuse to
1606
- * boot unless CHAIN_ID names it explicitly. Absent when the configured CHAIN_ID names no swarm
1607
- * chain outside production.
1610
+ * boot unless SWARM_CHAIN_ID names it explicitly. Absent when the configured SWARM_CHAIN_ID
1611
+ * names no swarm chain outside production.
1608
1612
  */
1609
1613
  swarmChainId: z12.number().int().optional(),
1610
1614
  /**
@@ -2208,6 +2212,9 @@ var EmailInboundHeadersSchema = z21.object({
2208
2212
  "x-email-to": z21.string().email()
2209
2213
  });
2210
2214
  var BroadcastInputSchema = z21.object({
2215
+ // The chain whose completed-task counts `filters.minTasks` reads. Required with minTasks
2216
+ // (refused as chain_required without it, ADR-0327); the other filters are chain-neutral.
2217
+ chainId: z21.number().int().positive().optional(),
2211
2218
  subject: z21.string().min(1).max(200),
2212
2219
  body: z21.string().min(1).max(5e4),
2213
2220
  filters: z21.object({
@@ -4047,6 +4054,11 @@ var API_ERROR_REASONS = [
4047
4054
  "payment_payer_mismatch",
4048
4055
  /** The request named a chain this backend does not serve. Nothing was read or charged. */
4049
4056
  "chain_not_served",
4057
+ /**
4058
+ * The request named no chain (no `chainId` input, no payment network) and is not about a task
4059
+ * whose chain could be used. Name a chain with `chainId`. Nothing was read or charged.
4060
+ */
4061
+ "chain_required",
4050
4062
  /**
4051
4063
  * The request named two different chains, for example a `chainId` input and a payment for
4052
4064
  * another network. Refused before any payment was verified, so nothing was charged.
@@ -4954,7 +4966,7 @@ var WALLET_BRIDGE_QUOTE_TTL_SECONDS = 10 * 60;
4954
4966
  var WalletBridgeDestinationSchema = z39.enum(["tempo"]);
4955
4967
  var BaseUnits = z39.string().regex(/^\d+$/, "Must be an integer amount in base units");
4956
4968
  var WalletBridgeQuoteInputSchema = z39.object({
4957
- /** The served chain; must be Base mainnet (8453). Omitted, the default chain. */
4969
+ /** Must be Base mainnet (8453), the bridge's only origin. Omitted, the call runs on Base. */
4958
4970
  chainId: z39.number().int().positive().optional(),
4959
4971
  from: EthAddressSchema,
4960
4972
  to: WalletBridgeDestinationSchema.default("tempo"),
@@ -5003,6 +5015,7 @@ var WalletBridgeQuoteOutputSchema = z39.object({
5003
5015
  })
5004
5016
  });
5005
5017
  var WalletBridgeInputSchema = z39.object({
5018
+ /** Must be Base mainnet (8453), the bridge's only origin. Omitted, the call runs on Base. */
5006
5019
  chainId: z39.number().int().positive().optional(),
5007
5020
  from: EthAddressSchema,
5008
5021
  amountBaseUnits: BaseUnits,
@@ -10278,11 +10291,15 @@ function networkToStamp() {
10278
10291
  }
10279
10292
  function chainInfoFor(raw, chainId) {
10280
10293
  const full = NetworkInfoSchema.safeParse(raw);
10281
- if (full.success) {
10282
- const info = full.data;
10283
- return info.chains.find((chain) => chain.chainId === chainId) ?? info.chains.find((chain) => chain.chainId === info.chainId) ?? info.chains[0];
10284
- }
10285
- return void 0;
10294
+ if (!full.success) return void 0;
10295
+ const chain = full.data.chains.find((entry) => entry.chainId === chainId);
10296
+ if (chain) return chain;
10297
+ const selected2 = selectedNetwork();
10298
+ const subject = selected2.chainId === chainId ? `network "${selected2.name}" (chain ${chainId})` : `chain ${chainId}`;
10299
+ const served = full.data.chains.map((entry) => entry.chainId).join(", ");
10300
+ throw new Error(
10301
+ `The selected ${subject} is not available: the API at ${apiUrl()} does not serve it (it serves chain ${served}). Choose a network it serves with --network, or point TASKMARKET_API_URL at an API that serves this one.`
10302
+ );
10286
10303
  }
10287
10304
 
10288
10305
  // src/lib/idempotency.ts
@@ -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-2JTB3UFM.js";
4
+ } from "./chunk-4SG3R5IH.js";
5
5
  import {
6
6
  AgentLaunchError
7
7
  } from "./chunk-YM4S6IE4.js";
@@ -22,7 +22,7 @@ import {
22
22
  unresolvedCount,
23
23
  updateSyncState,
24
24
  uploadWorkspace
25
- } from "./chunk-6LKXMM4U.js";
25
+ } from "./chunk-6VM3O3RZ.js";
26
26
  import {
27
27
  AgentLaunchError
28
28
  } from "./chunk-YM4S6IE4.js";
@@ -6,14 +6,14 @@ import {
6
6
  loadDeliverableRecord,
7
7
  readComputeView,
8
8
  taskStage
9
- } from "./chunk-F7ENDHGG.js";
9
+ } from "./chunk-NLVNUGBO.js";
10
10
  import {
11
11
  activeClaim,
12
12
  captureProblem,
13
13
  killedSession,
14
14
  loadSyncState,
15
15
  orphanOf
16
- } from "./chunk-6LKXMM4U.js";
16
+ } from "./chunk-6VM3O3RZ.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-5D4HN65V.js";
24
+ } from "./chunk-VEZ72QNL.js";
25
25
  import {
26
26
  SandboxListOutputSchema,
27
27
  apiUrl,
28
28
  selectedNetwork
29
- } from "./chunk-2JTB3UFM.js";
29
+ } from "./chunk-4SG3R5IH.js";
30
30
  import {
31
31
  AGENT_VIEW_VERSION,
32
32
  blockingPurchases,
@@ -11,7 +11,7 @@ import {
11
11
  loadKeystore,
12
12
  mppAttributionMemo,
13
13
  parseMppChallenge
14
- } from "./chunk-2JTB3UFM.js";
14
+ } from "./chunk-4SG3R5IH.js";
15
15
 
16
16
  // ../../packages/x402-payer/dist/api.js
17
17
  var X402_PAYER_API_VERSION = 1;
@@ -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-WUSEHQHR.js";
4
+ } from "./chunk-4EN2RUZ3.js";
5
5
  import {
6
6
  createWalletAccountFromKeystore,
7
7
  signMessage
8
- } from "./chunk-AT2VG32A.js";
8
+ } from "./chunk-EMIVR2MT.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-2JTB3UFM.js";
22
+ } from "./chunk-4SG3R5IH.js";
23
23
 
24
24
  // src/lib/read-auth.ts
25
25
  async function signReadAuth() {
@@ -8,7 +8,7 @@ import {
8
8
  unsafeHostPath,
9
9
  withFileLock,
10
10
  writeAtomic
11
- } from "./chunk-6LKXMM4U.js";
11
+ } from "./chunk-6VM3O3RZ.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-WUSEHQHR.js";
19
+ } from "./chunk-4EN2RUZ3.js";
20
20
  import {
21
21
  getTaskmarketHome
22
- } from "./chunk-2JTB3UFM.js";
22
+ } from "./chunk-4SG3R5IH.js";
23
23
  import {
24
24
  burnRate,
25
25
  computeLow
@@ -11,12 +11,12 @@ import {
11
11
  listX402Payments,
12
12
  loadX402Policy,
13
13
  rpcUrlForNetwork
14
- } from "./chunk-AT2VG32A.js";
14
+ } from "./chunk-EMIVR2MT.js";
15
15
  import {
16
16
  getTaskmarketHome,
17
17
  keystoreExists,
18
18
  loadKeystore
19
- } from "./chunk-2JTB3UFM.js";
19
+ } from "./chunk-4SG3R5IH.js";
20
20
  import {
21
21
  failureDetail,
22
22
  failureDetailOf,
@@ -6,26 +6,26 @@ import {
6
6
  } from "./chunk-4ZC6SH7H.js";
7
7
  import {
8
8
  listSandboxes
9
- } from "./chunk-D7U7SB2R.js";
10
- import "./chunk-F7ENDHGG.js";
11
- import "./chunk-6LKXMM4U.js";
12
- import "./chunk-WUSEHQHR.js";
9
+ } from "./chunk-AJ5V4H2H.js";
10
+ import "./chunk-NLVNUGBO.js";
11
+ import "./chunk-6VM3O3RZ.js";
12
+ import "./chunk-4EN2RUZ3.js";
13
13
  import {
14
14
  channelView,
15
15
  loadAgentPolicy,
16
16
  openAgentChannels
17
- } from "./chunk-5D4HN65V.js";
17
+ } from "./chunk-VEZ72QNL.js";
18
18
  import {
19
19
  getX402PolicyPath,
20
20
  loadX402Policy,
21
21
  rpcUrlForNetwork
22
- } from "./chunk-AT2VG32A.js";
22
+ } from "./chunk-EMIVR2MT.js";
23
23
  import {
24
24
  apiUrl,
25
25
  keystoreExists,
26
26
  loadKeystore,
27
27
  withChainId
28
- } from "./chunk-2JTB3UFM.js";
28
+ } from "./chunk-4SG3R5IH.js";
29
29
  import {
30
30
  AGENT_VIEW_VERSION
31
31
  } 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-TO6BB6N3.js";
17
+ } from "./chunk-H2XTB3NF.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-WUSEHQHR.js";
39
+ } from "./chunk-4EN2RUZ3.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-AT2VG32A.js";
61
+ } from "./chunk-EMIVR2MT.js";
62
62
  import {
63
63
  AgentMessageEnvelopeSchema,
64
64
  ApiError,
@@ -167,7 +167,7 @@ import {
167
167
  withChainId,
168
168
  withErrorContext,
169
169
  withIdempotentWrite
170
- } from "./chunk-2JTB3UFM.js";
170
+ } from "./chunk-4SG3R5IH.js";
171
171
  import {
172
172
  channelLines
173
173
  } from "./chunk-XJOB4NMV.js";
@@ -647,7 +647,13 @@ var initCommand = new Command2("init").description("Create and register a new ag
647
647
  );
648
648
  }
649
649
  }
650
- const chain2 = chainInfoFor(networkInfo2, selectedNetwork().chainId);
650
+ let chain2;
651
+ try {
652
+ chain2 = chainInfoFor(networkInfo2, selectedNetwork().chainId);
653
+ } catch (err) {
654
+ renderFailure(err);
655
+ return;
656
+ }
651
657
  printResult({
652
658
  address: keystore.walletAddress,
653
659
  agentId: agentId2,
@@ -713,7 +719,13 @@ var initCommand = new Command2("init").description("Create and register a new ag
713
719
  }
714
720
  const username = opts.email ?? (agentId && networkInfo ? sanitizeEmailUsername(agentId, String(selectedNetwork().chainId)) : null);
715
721
  const emailAddress = username ? await tryRegisterEmail(deviceId, apiToken, username, !!opts.email) : null;
716
- const chain = chainInfoFor(networkInfo, selectedNetwork().chainId);
722
+ let chain;
723
+ try {
724
+ chain = chainInfoFor(networkInfo, selectedNetwork().chainId);
725
+ } catch (err) {
726
+ renderFailure(err);
727
+ return;
728
+ }
717
729
  printResult({
718
730
  address,
719
731
  agentId,
@@ -3445,7 +3457,7 @@ async function runAgentCommand(options) {
3445
3457
  try {
3446
3458
  const { assertAgentCompatibility } = await import("./compatibility-636WJOEX.js");
3447
3459
  const pi = assertAgentCompatibility();
3448
- const { runAgent } = await import("./launch-II23FNVJ.js");
3460
+ const { runAgent } = await import("./launch-MX3RJWL7.js");
3449
3461
  result = await runAgent({
3450
3462
  model: options.model,
3451
3463
  pi,
@@ -3504,13 +3516,13 @@ function agentManagementCommands() {
3504
3516
  const status = new Command48("status").description(
3505
3517
  "Show the agent channels (locked, charged, refundable), purchases with an unknown outcome, the sandbox and compute credit. Reads only."
3506
3518
  ).option("--json", "Print the versioned JSON envelope").action(async (options) => {
3507
- const { collectAgentStatus, statusLines } = await import("./status-CJKS7MHC.js");
3519
+ const { collectAgentStatus, statusLines } = await import("./status-JCOPIQ7O.js");
3508
3520
  await run(options, () => collectAgentStatus(), statusLines);
3509
3521
  });
3510
3522
  const doctor = new Command48("doctor").description(
3511
3523
  "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."
3512
3524
  ).option("--json", "Print the versioned JSON envelope").action(async (options) => {
3513
- const { runDoctor, doctorLines } = await import("./doctor-KVWA7KOW.js");
3525
+ const { runDoctor, doctorLines } = await import("./doctor-Z5O2VY62.js");
3514
3526
  const report = await run(options, () => runDoctor(), doctorLines);
3515
3527
  if (report && !report.ok) process.exitCode = 1;
3516
3528
  });
@@ -3521,7 +3533,7 @@ function agentManagementCommands() {
3521
3533
  "Reconcile the open purchases of this channel, as status lists it; also reaches retired channels"
3522
3534
  ).option("--json", "Print the versioned JSON envelope").action(
3523
3535
  async (invocationId, options) => {
3524
- const { reconcileChannelPurchases, reconcileInvocation } = await import("./reconcile-OZX2E2L3.js");
3536
+ const { reconcileChannelPurchases, reconcileInvocation } = await import("./reconcile-OAT32H4B.js");
3525
3537
  const choice = { rail: options.rail, channel: options.channel };
3526
3538
  if (invocationId !== void 0) {
3527
3539
  await run(
@@ -3579,7 +3591,7 @@ function agentManagementCommands() {
3579
3591
  `Not a USDC amount: ${options.amount} (digits, at most 6 decimals)`
3580
3592
  );
3581
3593
  }
3582
- const { openAgentChannels, requestTopUp, selectRail, withdrawalHatch } = await import("./channels-I6252ZCN.js");
3594
+ const { openAgentChannels, requestTopUp, selectRail, withdrawalHatch } = await import("./channels-B4HKYLKV.js");
3583
3595
  const { rails } = await openAgentChannels();
3584
3596
  const result = await requestTopUp(selectRail(rails, options.rail), amount);
3585
3597
  return {
@@ -3603,8 +3615,8 @@ function agentManagementCommands() {
3603
3615
  async () => {
3604
3616
  await requireExperimental();
3605
3617
  const { AGENT_VIEW_VERSION } = await import("./budget-view-J6L7X6EY.js");
3606
- const { closeChannel, openAgentChannels, selectChannel } = await import("./channels-I6252ZCN.js");
3607
- const { reconcileLeasedPurchase } = await import("./reconcile-OZX2E2L3.js");
3618
+ const { closeChannel, openAgentChannels, selectChannel } = await import("./channels-B4HKYLKV.js");
3619
+ const { reconcileLeasedPurchase } = await import("./reconcile-OAT32H4B.js");
3608
3620
  const opened = await openAgentChannels();
3609
3621
  const { rail, retired } = selectChannel(opened, options);
3610
3622
  const result = await closeChannel(
@@ -3675,7 +3687,7 @@ function agentManagementCommands() {
3675
3687
  options,
3676
3688
  async () => {
3677
3689
  await requireExperimental();
3678
- const { runPull } = await import("./sync-pull-NWOCLFGB.js");
3690
+ const { runPull } = await import("./sync-pull-D4DZ2LYX.js");
3679
3691
  const { terminalPrompter } = await import("./prompter-LSICEYSQ.js");
3680
3692
  return runPull(options, {
3681
3693
  interactive: Boolean(process.stdin.isTTY && process.stdout.isTTY) && !options.json,
@@ -3804,12 +3816,24 @@ var depositCommand = new Command53("deposit").description("Show wallet address a
3804
3816
  renderFailure(err, { fallback: "Failed to fetch network info from backend." });
3805
3817
  return;
3806
3818
  }
3807
- const chain = chainInfoFor(networkInfo, selectedNetwork().chainId);
3808
- const chainId = chain?.chainId ?? networkInfo.chainId;
3809
- const tokenAddress = chain?.tokenAddress ?? networkInfo.usdcAddress;
3819
+ let chain;
3820
+ try {
3821
+ chain = chainInfoFor(networkInfo, selectedNetwork().chainId);
3822
+ } catch (err) {
3823
+ renderFailure(err);
3824
+ return;
3825
+ }
3826
+ if (!chain) {
3827
+ renderFailure(
3828
+ new Error("The API returned network info this CLI cannot read; upgrade the CLI or the API.")
3829
+ );
3830
+ return;
3831
+ }
3832
+ const chainId = chain.chainId;
3833
+ const tokenAddress = chain.tokenAddress;
3810
3834
  const data = {
3811
3835
  address,
3812
- network: chain?.networkName ?? networkInfo.networkName,
3836
+ network: chain.networkName,
3813
3837
  chainId,
3814
3838
  currency: paymentTokenSymbol(chainId),
3815
3839
  tokenAddress,
@@ -7,7 +7,7 @@ import {
7
7
  recordSessionEnd,
8
8
  recordSessionStart,
9
9
  uploadPlan
10
- } from "./chunk-2AED73YN.js";
10
+ } from "./chunk-77XBHT43.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-TO6BB6N3.js";
31
+ } from "./chunk-H2XTB3NF.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-F7ENDHGG.js";
71
+ } from "./chunk-NLVNUGBO.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-6LKXMM4U.js";
83
+ } from "./chunk-6VM3O3RZ.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-WUSEHQHR.js";
93
+ } from "./chunk-4EN2RUZ3.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-5D4HN65V.js";
113
+ } from "./chunk-VEZ72QNL.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-AT2VG32A.js";
127
+ } from "./chunk-EMIVR2MT.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-2JTB3UFM.js";
139
+ } from "./chunk-4SG3R5IH.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-5D4HN65V.js";
6
+ } from "./chunk-VEZ72QNL.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-AT2VG32A.js";
13
- import "./chunk-2JTB3UFM.js";
12
+ } from "./chunk-EMIVR2MT.js";
13
+ import "./chunk-4SG3R5IH.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-D7U7SB2R.js";
11
- import "./chunk-F7ENDHGG.js";
12
- import "./chunk-6LKXMM4U.js";
13
- import "./chunk-WUSEHQHR.js";
14
- import "./chunk-5D4HN65V.js";
15
- import "./chunk-AT2VG32A.js";
16
- import "./chunk-2JTB3UFM.js";
10
+ } from "./chunk-AJ5V4H2H.js";
11
+ import "./chunk-NLVNUGBO.js";
12
+ import "./chunk-6VM3O3RZ.js";
13
+ import "./chunk-4EN2RUZ3.js";
14
+ import "./chunk-VEZ72QNL.js";
15
+ import "./chunk-EMIVR2MT.js";
16
+ import "./chunk-4SG3R5IH.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-2AED73YN.js";
14
+ } from "./chunk-77XBHT43.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-6LKXMM4U.js";
30
+ } from "./chunk-6VM3O3RZ.js";
31
31
  import {
32
32
  apiUrl,
33
33
  loadKeystore
34
- } from "./chunk-2JTB3UFM.js";
34
+ } from "./chunk-4SG3R5IH.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.2",
3
+ "version": "1.20.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "taskmarket": "./dist/index.js"
@@ -30,11 +30,11 @@
30
30
  "vitest": "^2.0.0",
31
31
  "@taskmarket/agent-host": "0.0.1",
32
32
  "@taskmarket/contracts": "0.0.0",
33
- "@taskmarket/prettier-config": "0.0.0",
34
33
  "@taskmarket/remote-tools": "0.0.1",
35
34
  "@taskmarket/shared": "2.0.0",
36
- "@taskmarket/x402-payer": "0.1.0",
37
- "@taskmarket/eslint-config": "0.0.0"
35
+ "@taskmarket/prettier-config": "0.0.0",
36
+ "@taskmarket/eslint-config": "0.0.0",
37
+ "@taskmarket/x402-payer": "0.1.0"
38
38
  },
39
39
  "files": [
40
40
  "dist",