@lucid-agents/taskmarket 1.49.0 → 1.51.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-3AM2K2OD.js → api-YDCOGL5P.js} +2 -2
  3. package/dist/{channels-UVUKKHEH.js → channels-K4AKXBRM.js} +4 -4
  4. package/dist/{chunk-JJWVZVQL.js → chunk-5EUSU7QA.js} +1 -1
  5. package/dist/{chunk-BD7EUFMK.js → chunk-7OC73WUN.js} +1 -1
  6. package/dist/{chunk-ZI6J2FVP.js → chunk-CBLGBZ67.js} +3 -3
  7. package/dist/{chunk-5FEFXZWX.js → chunk-CCK7JYVX.js} +1 -1
  8. package/dist/{chunk-E7DQ6PHQ.js → chunk-DE5YYAHJ.js} +1 -1
  9. package/dist/{chunk-KMDMP37P.js → chunk-HZ6KGGNX.js} +8 -8
  10. package/dist/{chunk-VROY6UJU.js → chunk-JPAOL63U.js} +3 -3
  11. package/dist/{chunk-QASNNRSL.js → chunk-LC5VE4EQ.js} +3682 -2929
  12. package/dist/{chunk-4PIW55SU.js → chunk-LL2SVODK.js} +1 -1
  13. package/dist/{chunk-IPLFBE4Z.js → chunk-O56EUZVG.js} +4 -4
  14. package/dist/{chunk-ZBIB5Z72.js → chunk-VQ6X6FME.js} +2 -2
  15. package/dist/{chunk-JPFNNGT5.js → chunk-YCWWBCXW.js} +5 -5
  16. package/dist/{doctor-62ESHY26.js → doctor-UA5ST7KE.js} +9 -9
  17. package/dist/index.js +844 -205
  18. package/dist/{launch-QN325T4P.js → launch-TMSW4WPX.js} +11 -11
  19. package/dist/pi-extensions/xgate.cjs +118 -118
  20. package/dist/{read-auth-YVFCEAQN.js → read-auth-PN6FJNKK.js} +3 -3
  21. package/dist/{reconcile-ZQUH7Z7P.js → reconcile-VVNRBYY7.js} +4 -4
  22. package/dist/{status-BCKUXLAQ.js → status-VQ7V3CIS.js} +9 -9
  23. package/dist/{sync-pull-YDX4D4XW.js → sync-pull-UKSVJFMY.js} +4 -4
  24. package/dist/{task-access-grants-Z2P4RHFL.js → task-access-grants-QBORD7RL.js} +2 -2
  25. package/package.json +8 -10
@@ -38,7 +38,7 @@ import {
38
38
  sha256Hex,
39
39
  specHash,
40
40
  taskStage
41
- } from "./chunk-ZI6J2FVP.js";
41
+ } from "./chunk-CBLGBZ67.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-4PIW55SU.js";
50
+ } from "./chunk-LL2SVODK.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-5FEFXZWX.js";
62
+ } from "./chunk-CCK7JYVX.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-KMDMP37P.js";
81
+ } from "./chunk-HZ6KGGNX.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-IPLFBE4Z.js";
91
+ } from "./chunk-O56EUZVG.js";
92
92
  import {
93
93
  signReadAuth
94
- } from "./chunk-ZBIB5Z72.js";
94
+ } from "./chunk-VQ6X6FME.js";
95
95
  import {
96
96
  taskAccessGrantHeaders
97
- } from "./chunk-BD7EUFMK.js";
97
+ } from "./chunk-7OC73WUN.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-VROY6UJU.js";
121
+ } from "./chunk-JPAOL63U.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-JJWVZVQL.js";
135
+ } from "./chunk-5EUSU7QA.js";
136
136
  import {
137
137
  apiUrl,
138
138
  keystoreExists,
139
139
  loadKeystore,
140
140
  selectedNetwork
141
- } from "./chunk-E7DQ6PHQ.js";
141
+ } from "./chunk-DE5YYAHJ.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-QASNNRSL.js";
150
+ } from "./chunk-LC5VE4EQ.js";
151
151
  import {
152
152
  AgentLaunchError
153
153
  } from "./chunk-YM4S6IE4.js";
@@ -2953,36 +2953,34 @@ var SPECS = [
2953
2953
  }
2954
2954
  ];
2955
2955
  function taskRunToolDefinitions(channel) {
2956
- return SPECS.map(
2957
- (spec) => ({
2958
- name: spec.name,
2959
- label: spec.label,
2960
- description: spec.description,
2961
- promptSnippet: spec.promptSnippet,
2962
- parameters: spec.parameters,
2963
- // One workspace step or validation at a time.
2964
- executionMode: "sequential",
2965
- async execute(_toolCallId, params, signal, _onUpdate, ctx) {
2966
- if (!channel) throw new Error(taskRunFailure("controller_unavailable"));
2967
- if (!onXgate(ctx)) throw new Error(taskRunFailure("needs_xgate_session"));
2968
- let value;
2969
- try {
2970
- value = await channel.taskRun(spec.name, params ?? {}, signal);
2971
- } catch (error) {
2972
- throw new Error(taskRunFailure(errorCode2(error)));
2973
- }
2974
- if (!isTaskRunView(value) || value.tool !== spec.name) {
2975
- throw new Error(taskRunFailure("invalid_view"));
2976
- }
2977
- const line = notice(value);
2978
- if (line && ctx?.hasUI) ctx.ui.notify(line, "info");
2979
- return {
2980
- content: [{ type: "text", text: renderTaskRunView(value) }],
2981
- details: { tool: value.tool, stage: value.stage, network: value.network }
2982
- };
2956
+ return SPECS.map((spec) => ({
2957
+ name: spec.name,
2958
+ label: spec.label,
2959
+ description: spec.description,
2960
+ promptSnippet: spec.promptSnippet,
2961
+ parameters: spec.parameters,
2962
+ // One workspace step or validation at a time.
2963
+ executionMode: "sequential",
2964
+ async execute(_toolCallId, params, signal, _onUpdate, ctx) {
2965
+ if (!channel) throw new Error(taskRunFailure("controller_unavailable"));
2966
+ if (!onXgate(ctx)) throw new Error(taskRunFailure("needs_xgate_session"));
2967
+ let value;
2968
+ try {
2969
+ value = await channel.taskRun(spec.name, params ?? {}, signal);
2970
+ } catch (error) {
2971
+ throw new Error(taskRunFailure(errorCode2(error)));
2983
2972
  }
2984
- })
2985
- );
2973
+ if (!isTaskRunView(value) || value.tool !== spec.name) {
2974
+ throw new Error(taskRunFailure("invalid_view"));
2975
+ }
2976
+ const line = notice(value);
2977
+ if (line && ctx?.hasUI) ctx.ui.notify(line, "info");
2978
+ return {
2979
+ content: [{ type: "text", text: renderTaskRunView(value) }],
2980
+ details: { tool: value.tool, stage: value.stage, network: value.network }
2981
+ };
2982
+ }
2983
+ }));
2986
2984
  }
2987
2985
  async function activeStatus(channel) {
2988
2986
  try {
@@ -3204,66 +3202,64 @@ function toolResult(result) {
3204
3202
  };
3205
3203
  }
3206
3204
  function marketActionToolDefinitions(channel) {
3207
- return SPECS2.map(
3208
- (spec, index) => ({
3209
- name: spec.name,
3210
- label: spec.label,
3211
- description: spec.description,
3212
- promptSnippet: spec.promptSnippet,
3213
- ...index === 0 ? { promptGuidelines: GUIDELINES } : {},
3214
- parameters: spec.parameters,
3215
- // One dialog at a time.
3216
- executionMode: "sequential",
3217
- async execute(_toolCallId, params, signal, _onUpdate, ctx) {
3218
- if (!channel) throw new Error(actionFailure("controller_unavailable"));
3219
- if (!canAsk(ctx)) throw new Error(actionFailure("confirmation_unavailable"));
3220
- if (spec.name !== "market_request_stop" && !onXgate(ctx)) {
3221
- throw new Error(actionFailure("needs_xgate_session"));
3222
- }
3223
- let answer;
3224
- try {
3225
- answer = await channel.marketActionPrepare(spec.name, params ?? {}, signal);
3226
- } catch (error) {
3227
- throw new Error(actionFailure(errorCode3(error)));
3228
- }
3229
- const direct = answer?.result;
3230
- if (direct !== void 0) {
3231
- if (!isActionResult(direct)) throw new Error(actionFailure("invalid_view"));
3232
- return toolResult(direct);
3233
- }
3234
- const proposal = answer?.proposal;
3235
- if (!isActionProposal(proposal)) {
3236
- throw new Error(actionFailure("invalid_view"));
3237
- }
3238
- ctx.ui.notify(proposalLines(proposal).join("\n"), "info");
3239
- let choice;
3240
- try {
3241
- choice = await ctx.ui.select(proposal.title, [DECLINE_CHOICE, proposal.approveLabel], {
3242
- timeout: DIALOG_TIMEOUT_MS,
3243
- ...signal ? { signal } : {}
3244
- });
3245
- } catch {
3246
- choice = void 0;
3247
- }
3248
- const approved2 = choice === proposal.approveLabel && !signal?.aborted;
3249
- let value;
3250
- try {
3251
- value = await channel.marketActionAnswer(proposal.actionId, approved2);
3252
- } catch (error) {
3253
- const code = errorCode3(error);
3254
- if (!approved2) {
3255
- ctx.ui.notify("Declined. Nothing was signed or sent.", "info");
3256
- throw new Error(actionFailure("declined_nothing_sent"));
3257
- }
3258
- ctx.ui.notify(actionFailure(code), "error");
3259
- throw new Error(actionFailure(code));
3205
+ return SPECS2.map((spec, index) => ({
3206
+ name: spec.name,
3207
+ label: spec.label,
3208
+ description: spec.description,
3209
+ promptSnippet: spec.promptSnippet,
3210
+ ...index === 0 ? { promptGuidelines: GUIDELINES } : {},
3211
+ parameters: spec.parameters,
3212
+ // One dialog at a time.
3213
+ executionMode: "sequential",
3214
+ async execute(_toolCallId, params, signal, _onUpdate, ctx) {
3215
+ if (!channel) throw new Error(actionFailure("controller_unavailable"));
3216
+ if (!canAsk(ctx)) throw new Error(actionFailure("confirmation_unavailable"));
3217
+ if (spec.name !== "market_request_stop" && !onXgate(ctx)) {
3218
+ throw new Error(actionFailure("needs_xgate_session"));
3219
+ }
3220
+ let answer;
3221
+ try {
3222
+ answer = await channel.marketActionPrepare(spec.name, params ?? {}, signal);
3223
+ } catch (error) {
3224
+ throw new Error(actionFailure(errorCode3(error)));
3225
+ }
3226
+ const direct = answer?.result;
3227
+ if (direct !== void 0) {
3228
+ if (!isActionResult(direct)) throw new Error(actionFailure("invalid_view"));
3229
+ return toolResult(direct);
3230
+ }
3231
+ const proposal = answer?.proposal;
3232
+ if (!isActionProposal(proposal)) {
3233
+ throw new Error(actionFailure("invalid_view"));
3234
+ }
3235
+ ctx.ui.notify(proposalLines(proposal).join("\n"), "info");
3236
+ let choice;
3237
+ try {
3238
+ choice = await ctx.ui.select(proposal.title, [DECLINE_CHOICE, proposal.approveLabel], {
3239
+ timeout: DIALOG_TIMEOUT_MS,
3240
+ ...signal ? { signal } : {}
3241
+ });
3242
+ } catch {
3243
+ choice = void 0;
3244
+ }
3245
+ const approved2 = choice === proposal.approveLabel && !signal?.aborted;
3246
+ let value;
3247
+ try {
3248
+ value = await channel.marketActionAnswer(proposal.actionId, approved2);
3249
+ } catch (error) {
3250
+ const code = errorCode3(error);
3251
+ if (!approved2) {
3252
+ ctx.ui.notify("Declined. Nothing was signed or sent.", "info");
3253
+ throw new Error(actionFailure("declined_nothing_sent"));
3260
3254
  }
3261
- if (!isActionResult(value)) throw new Error(actionFailure("invalid_view"));
3262
- ctx.ui.notify(resultNotice(value), "info");
3263
- return toolResult(value);
3255
+ ctx.ui.notify(actionFailure(code), "error");
3256
+ throw new Error(actionFailure(code));
3264
3257
  }
3265
- })
3266
- );
3258
+ if (!isActionResult(value)) throw new Error(actionFailure("invalid_view"));
3259
+ ctx.ui.notify(resultNotice(value), "info");
3260
+ return toolResult(value);
3261
+ }
3262
+ }));
3267
3263
  }
3268
3264
  function registerMarketActionTools(pi2, channel) {
3269
3265
  for (const tool of marketActionToolDefinitions(channel)) pi2.registerTool(tool);
@@ -3408,33 +3404,31 @@ function errorCode4(error) {
3408
3404
  return typeof code === "string" ? code : "controller_unavailable";
3409
3405
  }
3410
3406
  function marketToolDefinitions(channel) {
3411
- return SPECS3.map(
3412
- (spec, index) => ({
3413
- name: spec.name,
3414
- label: spec.label,
3415
- description: spec.description,
3416
- promptSnippet: spec.promptSnippet,
3417
- // Once is enough: Pi appends the guidelines of every active tool.
3418
- ...index === 0 ? { promptGuidelines: GUIDELINES2 } : {},
3419
- parameters: spec.parameters,
3420
- async execute(_toolCallId, params, signal) {
3421
- if (!channel) throw new Error(marketFailure("controller_unavailable"));
3422
- let value;
3423
- try {
3424
- value = await channel.market(spec.name, params ?? {}, signal);
3425
- } catch (error) {
3426
- throw new Error(marketFailure(errorCode4(error)));
3427
- }
3428
- if (!isMarketView(value) || value.tool !== spec.name) {
3429
- throw new Error(marketFailure("invalid_view"));
3430
- }
3431
- return {
3432
- content: [{ type: "text", text: renderMarketView(value) }],
3433
- details: { tool: value.tool, network: value.network }
3434
- };
3407
+ return SPECS3.map((spec, index) => ({
3408
+ name: spec.name,
3409
+ label: spec.label,
3410
+ description: spec.description,
3411
+ promptSnippet: spec.promptSnippet,
3412
+ // Once is enough: Pi appends the guidelines of every active tool.
3413
+ ...index === 0 ? { promptGuidelines: GUIDELINES2 } : {},
3414
+ parameters: spec.parameters,
3415
+ async execute(_toolCallId, params, signal) {
3416
+ if (!channel) throw new Error(marketFailure("controller_unavailable"));
3417
+ let value;
3418
+ try {
3419
+ value = await channel.market(spec.name, params ?? {}, signal);
3420
+ } catch (error) {
3421
+ throw new Error(marketFailure(errorCode4(error)));
3435
3422
  }
3436
- })
3437
- );
3423
+ if (!isMarketView(value) || value.tool !== spec.name) {
3424
+ throw new Error(marketFailure("invalid_view"));
3425
+ }
3426
+ return {
3427
+ content: [{ type: "text", text: renderMarketView(value) }],
3428
+ details: { tool: value.tool, network: value.network }
3429
+ };
3430
+ }
3431
+ }));
3438
3432
  }
3439
3433
  function registerMarketTools(pi2, channel) {
3440
3434
  for (const tool of marketToolDefinitions(channel)) pi2.registerTool(tool);
@@ -7961,10 +7955,15 @@ function openRouterRate(modelId, input2, cachedInput, output, checkedOn = "2026-
7961
7955
  }
7962
7956
  var ROUTING_OPENROUTER_PUBLISHED_RATES = {
7963
7957
  // Light candidates (background, price-sorted).
7964
- "z-ai/glm-5.3-flash": openRouterRate("z-ai/glm-5.3-flash", "0.15", "0.03", "0.5"),
7965
- "deepseek/deepseek-v4.1-flash": openRouterRate("deepseek/deepseek-v4.1-flash", "0.3", "0.0075", "1.2"),
7966
- // Medium candidates.
7967
- "minimax/minimax-m3": openRouterRate("minimax/minimax-m3", "0.3", "0.06", "1.2"),
7958
+ // No tier mapping serves these four, so each meter is the dearest standard zero-data-retention
7959
+ // endpoint (/api/v1/endpoints/zdr) read on 2026-11-20; priority, fast, flex and region-pinned
7960
+ // endpoints are out of scope. glm-5.3-flash: Sail Research fp4 input and output, Wafer nvfp4
7961
+ // cached.
7962
+ "z-ai/glm-5.3-flash": openRouterRate("z-ai/glm-5.3-flash", "0.175", "0.064", "0.625", "2026-11-20"),
7963
+ // Google Vertex, Modal and others at 0.3 input and 1.2 output, Mancer fp8 at 0.05 cached.
7964
+ "deepseek/deepseek-v4.1-flash": openRouterRate("deepseek/deepseek-v4.1-flash", "0.3", "0.05", "1.2", "2026-11-20"),
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"),
7968
7967
  // Priced at the provider the published mapping allowlists, not at the standard hosts (#2685):
7969
7968
  // tiers/2026-10-21 pins Wafer, whose two glm-5.3 endpoints list 0.079 and 0.179 input, 0.078 and
7970
7969
  // 0.178 cached, 1.40 output. The card takes the dearer endpoint so holds never undercharge.
@@ -7976,7 +7975,8 @@ var ROUTING_OPENROUTER_PUBLISHED_RATES = {
7976
7975
  "2026-11-20"
7977
7976
  ]),
7978
7977
  // Heavy candidates.
7979
- "moonshotai/kimi-k3": openRouterRate("moonshotai/kimi-k3", "3", "0.3", "15"),
7978
+ // 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"),
7980
7980
  // Standard Moonshot endpoint moonshotai/mxfp4, not the twice-priced highspeed endpoint.
7981
7981
  // Recorded qualification calls matched these rates, including cached input, without a write fee.
7982
7982
  // Re-checked unchanged on 2026-10-29 and 2026-11-20 at the zero-data-retention mxfp4 endpoint.
@@ -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-ZBIB5Z72.js";
5
- import "./chunk-E7DQ6PHQ.js";
6
- import "./chunk-QASNNRSL.js";
4
+ } from "./chunk-VQ6X6FME.js";
5
+ import "./chunk-DE5YYAHJ.js";
6
+ import "./chunk-LC5VE4EQ.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-VROY6UJU.js";
6
+ } from "./chunk-JPAOL63U.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-JJWVZVQL.js";
13
- import "./chunk-E7DQ6PHQ.js";
14
- import "./chunk-QASNNRSL.js";
12
+ } from "./chunk-5EUSU7QA.js";
13
+ import "./chunk-DE5YYAHJ.js";
14
+ import "./chunk-LC5VE4EQ.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-JPFNNGT5.js";
8
- import "./chunk-ZI6J2FVP.js";
9
- import "./chunk-5FEFXZWX.js";
10
- import "./chunk-IPLFBE4Z.js";
11
- import "./chunk-ZBIB5Z72.js";
12
- import "./chunk-VROY6UJU.js";
13
- import "./chunk-JJWVZVQL.js";
14
- import "./chunk-E7DQ6PHQ.js";
15
- import "./chunk-QASNNRSL.js";
7
+ } from "./chunk-YCWWBCXW.js";
8
+ import "./chunk-CBLGBZ67.js";
9
+ import "./chunk-CCK7JYVX.js";
10
+ import "./chunk-O56EUZVG.js";
11
+ import "./chunk-VQ6X6FME.js";
12
+ import "./chunk-JPAOL63U.js";
13
+ import "./chunk-5EUSU7QA.js";
14
+ import "./chunk-DE5YYAHJ.js";
15
+ import "./chunk-LC5VE4EQ.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-4PIW55SU.js";
14
+ } from "./chunk-LL2SVODK.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-5FEFXZWX.js";
30
+ } from "./chunk-CCK7JYVX.js";
31
31
  import {
32
32
  apiUrl,
33
33
  loadKeystore
34
- } from "./chunk-E7DQ6PHQ.js";
35
- import "./chunk-QASNNRSL.js";
34
+ } from "./chunk-DE5YYAHJ.js";
35
+ import "./chunk-LC5VE4EQ.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-BD7EUFMK.js";
7
- import "./chunk-QASNNRSL.js";
6
+ } from "./chunk-7OC73WUN.js";
7
+ import "./chunk-LC5VE4EQ.js";
8
8
  import "./chunk-S7SJMJ2I.js";
9
9
  export {
10
10
  loadTaskAccessGrant,
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@lucid-agents/taskmarket",
3
- "version": "1.49.0",
3
+ "version": "1.51.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "taskmarket": "./dist/index.js"
7
7
  },
8
- "prettier": "@taskmarket/prettier-config",
9
8
  "dependencies": {
10
9
  "@x402/core": "2.28.0",
11
10
  "@x402/evm": "2.28.0",
@@ -30,12 +29,10 @@
30
29
  "tsx": "^4.7.0",
31
30
  "typescript": "^5.3.3",
32
31
  "vitest": "^2.0.0",
33
- "@taskmarket/contracts": "0.0.0",
34
32
  "@taskmarket/agent-host": "0.0.1",
35
- "@taskmarket/eslint-config": "0.0.0",
36
- "@taskmarket/prettier-config": "0.0.0",
37
33
  "@taskmarket/remote-tools": "0.0.1",
38
34
  "@taskmarket/shared": "2.0.0",
35
+ "@taskmarket/contracts": "0.0.0",
39
36
  "@taskmarket/solana-sponsored-client": "0.1.0",
40
37
  "@taskmarket/x402-payer": "0.1.0"
41
38
  },
@@ -49,12 +46,13 @@
49
46
  "scripts": {
50
47
  "build": "tsup",
51
48
  "dev": "tsx src/index.ts",
52
- "lint:check": "eslint --cache --cache-location node_modules/.cache/eslint/ --cache-strategy content src/",
53
- "lint:write": "eslint src/ --fix",
54
- "format:check": "prettier --cache --cache-strategy metadata --check src/",
55
- "format:write": "prettier --write src/",
56
- "type-check": "tsc --noEmit",
49
+ "lint:check": "oxlint src/",
50
+ "lint:write": "oxlint src/ --fix",
51
+ "format:check": "oxfmt --check src/",
52
+ "format:write": "oxfmt --write src/",
53
+ "type-check": "node ../../node_modules/typescript-native/bin/tsc --noEmit",
57
54
  "test": "vitest run",
55
+ "test:changed": "vitest run --changed ${TEST_BASE:-$(git merge-base HEAD origin/main)} --passWithNoTests",
58
56
  "test:agent": "vitest run --config vitest.agent.config.ts",
59
57
  "test:watch": "vitest watch",
60
58
  "smoke:xmtp-live": "tsx scripts/smoke-xmtp-live.ts",