@lucid-agents/taskmarket 1.29.0 → 1.30.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-4UFXNF3X.js → api-JLEPMDTE.js} +2 -2
  3. package/dist/{channels-UJ32F6KT.js → channels-BUVR2LSZ.js} +4 -4
  4. package/dist/{chunk-6QD7LE3R.js → chunk-5YR4AZAD.js} +3 -3
  5. package/dist/{chunk-VABTHZFQ.js → chunk-6C63PTFL.js} +8 -8
  6. package/dist/{chunk-BXZHXNZZ.js → chunk-CJS2PHFX.js} +225 -43
  7. package/dist/{chunk-LLDTXUHC.js → chunk-CPYULZB3.js} +3 -3
  8. package/dist/{chunk-LRCJQWAT.js → chunk-E7HXLN2A.js} +2 -2
  9. package/dist/{chunk-44AGKANB.js → chunk-HET5ZDJT.js} +1 -1
  10. package/dist/{chunk-A4M344DT.js → chunk-J27HWZ7Y.js} +1 -1
  11. package/dist/{chunk-XUBYHJMJ.js → chunk-MSTGI2YG.js} +1 -1
  12. package/dist/{chunk-CLFA6AAX.js → chunk-QS4JQF6W.js} +5 -5
  13. package/dist/{chunk-FQIK5KSR.js → chunk-RY4U7U45.js} +2538 -2110
  14. package/dist/{chunk-R7FABEN6.js → chunk-S52R3ZY5.js} +1 -1
  15. package/dist/{chunk-6QUNPM4S.js → chunk-VE4GYPEZ.js} +1 -1
  16. package/dist/{doctor-HRIWE4JV.js → doctor-RYO3E7UL.js} +15 -11
  17. package/dist/index.js +583 -164
  18. package/dist/{launch-ZER5DDN3.js → launch-5NLS7GTY.js} +20 -155
  19. package/dist/pi-extensions/xgate.cjs +473 -130
  20. package/dist/{read-auth-D5OASV5M.js → read-auth-GIBB7BSS.js} +3 -3
  21. package/dist/{reconcile-VEEAEVG7.js → reconcile-YEIABUC6.js} +4 -4
  22. package/dist/{status-BDVDZCU2.js → status-K3CANP2J.js} +8 -8
  23. package/dist/{sync-pull-QXN3V4MI.js → sync-pull-JK2V7ZZF.js} +4 -4
  24. package/dist/{task-access-grants-RS4O6LUB.js → task-access-grants-FS7OSOE2.js} +2 -2
  25. package/package.json +2 -2
@@ -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-FQIK5KSR.js";
4
+ } from "./chunk-RY4U7U45.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-FQIK5KSR.js";
11
+ } from "./chunk-RY4U7U45.js";
12
12
 
13
13
  // ../../packages/x402-payer/dist/api.js
14
14
  var X402_PAYER_API_VERSION = 1;
@@ -1,32 +1,34 @@
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-CLFA6AAX.js";
5
- import "./chunk-LLDTXUHC.js";
6
- import "./chunk-R7FABEN6.js";
7
- import "./chunk-6QD7LE3R.js";
4
+ } from "./chunk-QS4JQF6W.js";
5
+ import "./chunk-CPYULZB3.js";
6
+ import "./chunk-S52R3ZY5.js";
7
+ import "./chunk-5YR4AZAD.js";
8
8
  import {
9
9
  AGENT_COMPATIBILITY,
10
10
  assertAgentCompatibility,
11
11
  nodeVersionSupported
12
12
  } from "./chunk-4ZC6SH7H.js";
13
13
  import {
14
+ AGENT_RAIL_NETWORKS,
14
15
  channelView,
15
16
  loadAgentPolicy,
16
- openAgentChannels
17
- } from "./chunk-BXZHXNZZ.js";
17
+ openAgentChannels,
18
+ railChainIdHex
19
+ } from "./chunk-CJS2PHFX.js";
18
20
  import {
19
21
  getX402PolicyPath,
20
22
  loadX402Policy,
21
23
  rpcUrlForNetwork
22
- } from "./chunk-6QUNPM4S.js";
24
+ } from "./chunk-VE4GYPEZ.js";
23
25
  import {
24
26
  apiUrl,
25
27
  keystoreExists,
26
28
  loadKeystore,
27
29
  withChainId
28
- } from "./chunk-44AGKANB.js";
29
- import "./chunk-FQIK5KSR.js";
30
+ } from "./chunk-HET5ZDJT.js";
31
+ import "./chunk-RY4U7U45.js";
30
32
  import "./chunk-YM4S6IE4.js";
31
33
  import {
32
34
  AGENT_VIEW_VERSION
@@ -34,7 +36,9 @@ import {
34
36
  import "./chunk-S7SJMJ2I.js";
35
37
 
36
38
  // src/lib/agent/doctor.ts
37
- var CHAIN_IDS = { "eip155:8453": "0x2105", "eip155:84532": "0x14a34" };
39
+ function expectedChainId(network) {
40
+ return AGENT_RAIL_NETWORKS.includes(network) ? railChainIdHex(network) : void 0;
41
+ }
38
42
  function reason(error) {
39
43
  return error.code ?? error.message;
40
44
  }
@@ -180,7 +184,7 @@ async function runDoctor(deps = {}) {
180
184
  body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "eth_chainId", params: [] })
181
185
  });
182
186
  const body = await response.json();
183
- const expected = CHAIN_IDS[network];
187
+ const expected = expectedChainId(network);
184
188
  add(
185
189
  "rpc",
186
190
  body.result === expected ? "pass" : "fail",