@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
@@ -38,7 +38,7 @@ import {
38
38
  sha256Hex,
39
39
  specHash,
40
40
  taskStage
41
- } from "./chunk-6VZBAHQC.js";
41
+ } from "./chunk-6UDGOZHP.js";
42
42
  import {
43
43
  SessionSync,
44
44
  emptyBase,
@@ -47,7 +47,7 @@ import {
47
47
  recordSessionEnd,
48
48
  recordSessionStart,
49
49
  uploadPlan
50
- } from "./chunk-CGUFHUIV.js";
50
+ } from "./chunk-N5L4URHF.js";
51
51
  import {
52
52
  BrokerConnector,
53
53
  OutputLimitError,
@@ -59,7 +59,7 @@ import {
59
59
  serveSandboxChannel,
60
60
  withFileLock,
61
61
  writeAtomic
62
- } from "./chunk-YBSZTSJE.js";
62
+ } from "./chunk-RMK5EAPR.js";
63
63
  import {
64
64
  TaskOperationError,
65
65
  claimTask,
@@ -78,7 +78,7 @@ import {
78
78
  requestArtifactUpload,
79
79
  submitUploadedArtifacts,
80
80
  taskAwardsOf
81
- } from "./chunk-MY5CD4PT.js";
81
+ } from "./chunk-QSOEZINA.js";
82
82
  import {
83
83
  applyComputeCreditSetup,
84
84
  atomicToUsd,
@@ -88,13 +88,13 @@ import {
88
88
  planComputeCreditSetup,
89
89
  readComputeCreditBalance,
90
90
  usdToAtomic
91
- } from "./chunk-V5S4LCIE.js";
91
+ } from "./chunk-523X35HE.js";
92
92
  import {
93
93
  signReadAuth
94
- } from "./chunk-EYHXTVYK.js";
94
+ } from "./chunk-K3Y73YWH.js";
95
95
  import {
96
96
  taskAccessGrantHeaders
97
- } from "./chunk-M5WTLXDY.js";
97
+ } from "./chunk-KU66VTU6.js";
98
98
  import {
99
99
  MAX_RETIRED_RAILS,
100
100
  NETWORK_NAMES,
@@ -118,7 +118,7 @@ import {
118
118
  routeOfCatalogRow,
119
119
  saveAgentPolicy,
120
120
  settledRetiredRails
121
- } from "./chunk-FGW2NNPQ.js";
121
+ } from "./chunk-PXQP62WF.js";
122
122
  import {
123
123
  BASE_CHANNEL_RAIL_ID,
124
124
  createBaseChannelPayer,
@@ -132,13 +132,13 @@ import {
132
132
  rpcUrlForNetwork,
133
133
  saveX402Policy,
134
134
  x402SpendWindowAvailability
135
- } from "./chunk-C7557KRB.js";
135
+ } from "./chunk-G4MAYAZW.js";
136
136
  import {
137
137
  apiUrl,
138
138
  keystoreExists,
139
139
  loadKeystore,
140
140
  selectedNetwork
141
- } from "./chunk-EVCG557X.js";
141
+ } from "./chunk-XREEFYEQ.js";
142
142
  import {
143
143
  IntentStatusResponseSchema,
144
144
  NetworkChainInfoSchema,
@@ -147,7 +147,7 @@ import {
147
147
  isRecordingPendingResponse,
148
148
  piCodingAgentTools,
149
149
  taskmarketChain
150
- } from "./chunk-EJ7KUYME.js";
150
+ } from "./chunk-JAFX6DHV.js";
151
151
  import {
152
152
  AgentLaunchError
153
153
  } from "./chunk-YM4S6IE4.js";
@@ -7869,7 +7869,7 @@ var OPENAI_PUBLISHED_RATES = {
7869
7869
  usdPerMillionTokens: { input: "0.20", cachedInput: "0.02", cacheWrite: "0.25", output: "1.20" },
7870
7870
  source: "https://developers.openai.com/api/docs/pricing",
7871
7871
  checkedOn: "2026-09-18",
7872
- recheckedOn: ["2026-10-03", "2026-10-28"],
7872
+ recheckedOn: ["2026-10-03", "2026-10-28", "2026-11-22"],
7873
7873
  promotionalUntil: null
7874
7874
  },
7875
7875
  "gpt-5.6-sol": {
@@ -7896,7 +7896,7 @@ var OPENAI_PUBLISHED_RATES = {
7896
7896
  },
7897
7897
  source: "https://developers.openai.com/api/docs/pricing",
7898
7898
  checkedOn: "2026-09-18",
7899
- recheckedOn: ["2026-10-03", "2026-10-28"],
7899
+ recheckedOn: ["2026-10-03", "2026-10-28", "2026-11-22"],
7900
7900
  promotionalUntil: null
7901
7901
  },
7902
7902
  // The GPT-6 generation, read from the same page on 2026-10-03. Each entry carries its own check
@@ -7911,7 +7911,7 @@ var OPENAI_PUBLISHED_RATES = {
7911
7911
  },
7912
7912
  source: "https://developers.openai.com/api/docs/pricing",
7913
7913
  checkedOn: "2026-10-03",
7914
- recheckedOn: ["2026-10-28"],
7914
+ recheckedOn: ["2026-10-28", "2026-11-22"],
7915
7915
  promotionalUntil: null
7916
7916
  },
7917
7917
  "gpt-6-sol": {
@@ -7924,7 +7924,7 @@ var OPENAI_PUBLISHED_RATES = {
7924
7924
  },
7925
7925
  source: "https://developers.openai.com/api/docs/pricing",
7926
7926
  checkedOn: "2026-10-03",
7927
- recheckedOn: ["2026-10-28"],
7927
+ recheckedOn: ["2026-10-28", "2026-11-22"],
7928
7928
  promotionalUntil: null
7929
7929
  },
7930
7930
  "gpt-6.1-sol": {
@@ -7937,7 +7937,7 @@ var OPENAI_PUBLISHED_RATES = {
7937
7937
  },
7938
7938
  source: "https://developers.openai.com/api/docs/pricing",
7939
7939
  checkedOn: "2026-10-03",
7940
- recheckedOn: ["2026-10-28"],
7940
+ recheckedOn: ["2026-10-28", "2026-11-22"],
7941
7941
  promotionalUntil: null
7942
7942
  }
7943
7943
  };
@@ -7963,20 +7963,27 @@ var ROUTING_OPENROUTER_PUBLISHED_RATES = {
7963
7963
  // Google Vertex, Modal and others at 0.3 input and 1.2 output, Mancer fp8 at 0.05 cached.
7964
7964
  "deepseek/deepseek-v4.1-flash": openRouterRate("deepseek/deepseek-v4.1-flash", "0.3", "0.05", "1.2", "2026-11-20"),
7965
7965
  // Medium candidates. Featherless fp8 is the dearest on every meter.
7966
- "minimax/minimax-m3": openRouterRate("minimax/minimax-m3", "0.55", "0.06", "2.2", "2026-11-20"),
7966
+ // Re-checked unchanged on 2026-11-22 against the same endpoints.
7967
+ "minimax/minimax-m3": openRouterRate("minimax/minimax-m3", "0.55", "0.06", "2.2", "2026-11-20", [
7968
+ "2026-11-22"
7969
+ ]),
7967
7970
  // Priced at the provider the published mapping allowlists, not at the standard hosts (#2685):
7968
7971
  // tiers/2026-10-21 pins Wafer, whose two glm-5.3 endpoints list 0.079 and 0.179 input, 0.078 and
7969
7972
  // 0.178 cached, 1.40 output. The card takes the dearer endpoint so holds never undercharge.
7970
7973
  // Re-checked unchanged on 2026-10-29 against the zero-data-retention endpoints
7971
7974
  // (/api/v1/endpoints/zdr): Wafer wafer/fp4 0.179 / 0.178 / 1.4 is still the dearest per meter.
7972
- // Re-checked unchanged on 2026-11-20 against the same endpoints.
7975
+ // Re-checked unchanged on 2026-11-20 and 2026-11-22 against the same endpoints.
7973
7976
  "z-ai/glm-5.3": openRouterRate("z-ai/glm-5.3", "0.179", "0.178", "1.4", "2026-10-21", [
7974
7977
  "2026-10-29",
7975
- "2026-11-20"
7978
+ "2026-11-20",
7979
+ "2026-11-22"
7976
7980
  ]),
7977
7981
  // Heavy candidates.
7978
7982
  // Fireworks, Moonshot and others at 3 input, Makora fp4 at 0.5 cached and 18 output.
7979
- "moonshotai/kimi-k3": openRouterRate("moonshotai/kimi-k3", "3", "0.5", "18", "2026-11-20"),
7983
+ // Re-checked unchanged on 2026-11-22 against the same endpoints.
7984
+ "moonshotai/kimi-k3": openRouterRate("moonshotai/kimi-k3", "3", "0.5", "18", "2026-11-20", [
7985
+ "2026-11-22"
7986
+ ]),
7980
7987
  // Standard Moonshot endpoint moonshotai/mxfp4, not the twice-priced highspeed endpoint.
7981
7988
  // Recorded qualification calls matched these rates, including cached input, without a write fee.
7982
7989
  // Re-checked unchanged on 2026-10-29 and 2026-11-20 at the zero-data-retention mxfp4 endpoint.
@@ -7986,9 +7993,11 @@ var ROUTING_OPENROUTER_PUBLISHED_RATES = {
7986
7993
  // 2026-10-29 against the zero-data-retention endpoints; the newer, cheaper Wafer wafer/us and
7987
7994
  // DeepInfra flex endpoints do not raise any meter. Re-checked unchanged on 2026-11-20; the
7988
7995
  // DeepInfra fp4/priority service-tier endpoint is out of scope, like Moonshot highspeed.
7996
+ // Re-checked unchanged on 2026-11-22.
7989
7997
  "z-ai/glm-5.2": openRouterRate("z-ai/glm-5.2", "0.5625", "0.18", "8", "2026-10-21", [
7990
7998
  "2026-10-29",
7991
- "2026-11-20"
7999
+ "2026-11-20",
8000
+ "2026-11-22"
7992
8001
  ])
7993
8002
  };
7994
8003
  var ROUTING_PUBLISHED_RATES = {
@@ -1,9 +1,9 @@
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
  signReadAuth
4
- } from "./chunk-EYHXTVYK.js";
5
- import "./chunk-EVCG557X.js";
6
- import "./chunk-EJ7KUYME.js";
4
+ } from "./chunk-K3Y73YWH.js";
5
+ import "./chunk-XREEFYEQ.js";
6
+ import "./chunk-JAFX6DHV.js";
7
7
  import "./chunk-S7SJMJ2I.js";
8
8
  export {
9
9
  signReadAuth
@@ -3,15 +3,15 @@ import {
3
3
  channelView,
4
4
  openAgentChannels,
5
5
  selectChannel
6
- } from "./chunk-FGW2NNPQ.js";
6
+ } from "./chunk-PXQP62WF.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-C7557KRB.js";
13
- import "./chunk-EVCG557X.js";
14
- import "./chunk-EJ7KUYME.js";
12
+ } from "./chunk-G4MAYAZW.js";
13
+ import "./chunk-XREEFYEQ.js";
14
+ import "./chunk-JAFX6DHV.js";
15
15
  import {
16
16
  AgentLaunchError
17
17
  } from "./chunk-YM4S6IE4.js";
@@ -4,15 +4,15 @@ import {
4
4
  listSandboxes,
5
5
  readSyncStatus,
6
6
  readTaskStatus
7
- } from "./chunk-PZI3QQO4.js";
8
- import "./chunk-6VZBAHQC.js";
9
- import "./chunk-YBSZTSJE.js";
10
- import "./chunk-V5S4LCIE.js";
11
- import "./chunk-EYHXTVYK.js";
12
- import "./chunk-FGW2NNPQ.js";
13
- import "./chunk-C7557KRB.js";
14
- import "./chunk-EVCG557X.js";
15
- import "./chunk-EJ7KUYME.js";
7
+ } from "./chunk-LZ2P3FIL.js";
8
+ import "./chunk-6UDGOZHP.js";
9
+ import "./chunk-RMK5EAPR.js";
10
+ import "./chunk-523X35HE.js";
11
+ import "./chunk-K3Y73YWH.js";
12
+ import "./chunk-PXQP62WF.js";
13
+ import "./chunk-G4MAYAZW.js";
14
+ import "./chunk-XREEFYEQ.js";
15
+ import "./chunk-JAFX6DHV.js";
16
16
  import "./chunk-YM4S6IE4.js";
17
17
  import "./chunk-XJOB4NMV.js";
18
18
  import "./chunk-S7SJMJ2I.js";
@@ -11,7 +11,7 @@ import {
11
11
  savedWorkspace,
12
12
  summarize,
13
13
  unsavedPaths
14
- } from "./chunk-CGUFHUIV.js";
14
+ } from "./chunk-N5L4URHF.js";
15
15
  import {
16
16
  BrokerConnector,
17
17
  SandboxUnavailableError,
@@ -27,12 +27,12 @@ import {
27
27
  releaseClaim,
28
28
  unresolvedCount,
29
29
  updateSyncState
30
- } from "./chunk-YBSZTSJE.js";
30
+ } from "./chunk-RMK5EAPR.js";
31
31
  import {
32
32
  apiUrl,
33
33
  loadKeystore
34
- } from "./chunk-EVCG557X.js";
35
- import "./chunk-EJ7KUYME.js";
34
+ } from "./chunk-XREEFYEQ.js";
35
+ import "./chunk-JAFX6DHV.js";
36
36
  import {
37
37
  AgentLaunchError
38
38
  } from "./chunk-YM4S6IE4.js";
@@ -3,8 +3,8 @@ import {
3
3
  loadTaskAccessGrant,
4
4
  saveTaskAccessGrant,
5
5
  taskAccessGrantHeaders
6
- } from "./chunk-M5WTLXDY.js";
7
- import "./chunk-EJ7KUYME.js";
6
+ } from "./chunk-KU66VTU6.js";
7
+ import "./chunk-JAFX6DHV.js";
8
8
  import "./chunk-S7SJMJ2I.js";
9
9
  export {
10
10
  loadTaskAccessGrant,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucid-agents/taskmarket",
3
- "version": "1.50.0",
3
+ "version": "1.52.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "taskmarket": "./dist/index.js"
@@ -32,8 +32,8 @@
32
32
  "@taskmarket/agent-host": "0.0.1",
33
33
  "@taskmarket/contracts": "0.0.0",
34
34
  "@taskmarket/remote-tools": "0.0.1",
35
- "@taskmarket/solana-sponsored-client": "0.1.0",
36
35
  "@taskmarket/shared": "2.0.0",
36
+ "@taskmarket/solana-sponsored-client": "0.1.0",
37
37
  "@taskmarket/x402-payer": "0.1.0"
38
38
  },
39
39
  "files": [
@@ -52,6 +52,7 @@
52
52
  "format:write": "oxfmt --write src/",
53
53
  "type-check": "node ../../node_modules/typescript-native/bin/tsc --noEmit",
54
54
  "test": "vitest run",
55
+ "test:changed": "vitest run --changed ${TEST_BASE:-$(git merge-base HEAD origin/main)} --passWithNoTests",
55
56
  "test:agent": "vitest run --config vitest.agent.config.ts",
56
57
  "test:watch": "vitest watch",
57
58
  "smoke:xmtp-live": "tsx scripts/smoke-xmtp-live.ts",