@lucid-agents/taskmarket 1.24.1 → 1.25.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.
- package/dist/agent-compatibility.json +1 -1
- package/dist/{channels-KCVGG62H.js → channels-CNVUFGAL.js} +3 -3
- package/dist/{chunk-DZMMROHT.js → chunk-4WVIB4DD.js} +3 -0
- package/dist/{chunk-I6DSFR3I.js → chunk-DOI4ACQ4.js} +2 -2
- package/dist/{chunk-3YYDUJV4.js → chunk-GBQBHJ77.js} +1 -1
- package/dist/{chunk-DT7AD52I.js → chunk-HTJ7WSAL.js} +2 -2
- package/dist/{chunk-E7Y4UDXH.js → chunk-KW2FNQFI.js} +3 -3
- package/dist/{chunk-IPJKSTNW.js → chunk-OZUGI2FO.js} +1 -1
- package/dist/{chunk-2BYIKWV5.js → chunk-SBCQA7NQ.js} +4 -4
- package/dist/{chunk-VKQBB6CG.js → chunk-VSAHZTWA.js} +1 -1
- package/dist/{chunk-EE7LLCQY.js → chunk-ZS4DVWW2.js} +4 -3
- package/dist/{doctor-FCQZBQFU.js → doctor-FDTAT6OD.js} +7 -7
- package/dist/index.js +17 -13
- package/dist/{launch-Q67U5TZE.js → launch-B7DBYHZD.js} +8 -8
- package/dist/pi-extensions/xgate.cjs +3 -0
- package/dist/{reconcile-NBIZBPVA.js → reconcile-RSDLDHIA.js} +3 -3
- package/dist/{status-5PXMF7RK.js → status-YFWORML2.js} +7 -7
- package/dist/{sync-pull-BY4QUY4T.js → sync-pull-JMAKIXL6.js} +3 -3
- package/package.json +4 -4
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
selectRail,
|
|
11
11
|
uncertainPurchases,
|
|
12
12
|
withdrawalHatch
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-HTJ7WSAL.js";
|
|
14
|
+
import "./chunk-GBQBHJ77.js";
|
|
15
|
+
import "./chunk-4WVIB4DD.js";
|
|
16
16
|
import "./chunk-XJOB4NMV.js";
|
|
17
17
|
import "./chunk-YM4S6IE4.js";
|
|
18
18
|
import "./chunk-S7SJMJ2I.js";
|
|
@@ -1205,6 +1205,9 @@ var TaskListInputSchema = z8.object({
|
|
|
1205
1205
|
minReward: UsdcBaseUnitsSchema.max(78).optional(),
|
|
1206
1206
|
maxReward: UsdcBaseUnitsSchema.max(78).optional(),
|
|
1207
1207
|
deadlineHours: z8.number().int().positive().optional(),
|
|
1208
|
+
// Only tasks carrying a sponsored task reward that is still reserved or already credited.
|
|
1209
|
+
// A query-string flag, so it arrives as 'true'/'false' over REST.
|
|
1210
|
+
sponsored: z8.enum(["true", "false"]).optional().transform((v) => v === void 0 ? void 0 : v === "true"),
|
|
1208
1211
|
requester: z8.string().optional(),
|
|
1209
1212
|
worker: z8.string().optional(),
|
|
1210
1213
|
taskDropId: z8.string().trim().min(1).optional(),
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
readMppTempoChallenge,
|
|
17
17
|
reconcileX402Payment,
|
|
18
18
|
withX402FileLock
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GBQBHJ77.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-
|
|
42
|
+
} from "./chunk-4WVIB4DD.js";
|
|
43
43
|
|
|
44
44
|
// src/lib/x402-fee.ts
|
|
45
45
|
import { randomUUID as randomUUID3 } from "crypto";
|
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
listX402Payments,
|
|
12
12
|
loadX402Policy,
|
|
13
13
|
rpcUrlForNetwork
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GBQBHJ77.js";
|
|
15
15
|
import {
|
|
16
16
|
getTaskmarketHome,
|
|
17
17
|
keystoreExists,
|
|
18
18
|
loadKeystore
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4WVIB4DD.js";
|
|
20
20
|
import {
|
|
21
21
|
failureDetail,
|
|
22
22
|
failureDetailOf,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
unsafeHostPath,
|
|
9
9
|
withFileLock,
|
|
10
10
|
writeAtomic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VSAHZTWA.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-
|
|
19
|
+
} from "./chunk-DOI4ACQ4.js";
|
|
20
20
|
import {
|
|
21
21
|
getTaskmarketHome
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4WVIB4DD.js";
|
|
23
23
|
import {
|
|
24
24
|
burnRate,
|
|
25
25
|
computeLow
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
loadDeliverableRecord,
|
|
7
7
|
readComputeView,
|
|
8
8
|
taskStage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KW2FNQFI.js";
|
|
10
10
|
import {
|
|
11
11
|
activeClaim,
|
|
12
12
|
captureProblem,
|
|
13
13
|
killedSession,
|
|
14
14
|
loadSyncState,
|
|
15
15
|
orphanOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VSAHZTWA.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-
|
|
24
|
+
} from "./chunk-HTJ7WSAL.js";
|
|
25
25
|
import {
|
|
26
26
|
SandboxListOutputSchema,
|
|
27
27
|
apiUrl,
|
|
28
28
|
selectedNetwork
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4WVIB4DD.js";
|
|
30
30
|
import {
|
|
31
31
|
AGENT_VIEW_VERSION,
|
|
32
32
|
blockingPurchases,
|
|
@@ -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-
|
|
4
|
+
} from "./chunk-4WVIB4DD.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-
|
|
4
|
+
} from "./chunk-DOI4ACQ4.js";
|
|
5
5
|
import {
|
|
6
6
|
createWalletAccountFromKeystore,
|
|
7
7
|
signMessage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GBQBHJ77.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-
|
|
22
|
+
} from "./chunk-4WVIB4DD.js";
|
|
23
23
|
|
|
24
24
|
// src/lib/read-auth.ts
|
|
25
25
|
async function signReadAuth() {
|
|
@@ -258,6 +258,7 @@ async function listTasks(ctx, filter = {}) {
|
|
|
258
258
|
if (filter.minReward) params.set("minReward", filter.minReward);
|
|
259
259
|
if (filter.maxReward) params.set("maxReward", filter.maxReward);
|
|
260
260
|
if (filter.deadlineHours) params.set("deadlineHours", filter.deadlineHours);
|
|
261
|
+
if (filter.sponsored) params.set("sponsored", "true");
|
|
261
262
|
if (filter.limit) params.set("limit", filter.limit);
|
|
262
263
|
if (filter.cursor) params.set("cursor", filter.cursor);
|
|
263
264
|
const result = await ctx.transport.get(
|
|
@@ -6,26 +6,26 @@ import {
|
|
|
6
6
|
} from "./chunk-4ZC6SH7H.js";
|
|
7
7
|
import {
|
|
8
8
|
listSandboxes
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-SBCQA7NQ.js";
|
|
10
|
+
import "./chunk-KW2FNQFI.js";
|
|
11
|
+
import "./chunk-VSAHZTWA.js";
|
|
12
|
+
import "./chunk-DOI4ACQ4.js";
|
|
13
13
|
import {
|
|
14
14
|
channelView,
|
|
15
15
|
loadAgentPolicy,
|
|
16
16
|
openAgentChannels
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HTJ7WSAL.js";
|
|
18
18
|
import {
|
|
19
19
|
getX402PolicyPath,
|
|
20
20
|
loadX402Policy,
|
|
21
21
|
rpcUrlForNetwork
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GBQBHJ77.js";
|
|
23
23
|
import {
|
|
24
24
|
apiUrl,
|
|
25
25
|
keystoreExists,
|
|
26
26
|
loadKeystore,
|
|
27
27
|
withChainId
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4WVIB4DD.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-
|
|
17
|
+
} from "./chunk-ZS4DVWW2.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-
|
|
39
|
+
} from "./chunk-DOI4ACQ4.js";
|
|
40
40
|
import {
|
|
41
41
|
MPP_TEMPO_DEFAULT_VALIDITY_SECONDS,
|
|
42
42
|
X402PayError,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
signSponsoredTempoTransfer,
|
|
60
60
|
signTaskmarketFeePayment,
|
|
61
61
|
signTypedData
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-GBQBHJ77.js";
|
|
63
63
|
import {
|
|
64
64
|
ActivityFeedInputSchema,
|
|
65
65
|
ActivityHeatmapInputSchema,
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
withChainId,
|
|
198
198
|
withErrorContext,
|
|
199
199
|
withIdempotentWrite
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-4WVIB4DD.js";
|
|
201
201
|
import {
|
|
202
202
|
channelLines
|
|
203
203
|
} from "./chunk-XJOB4NMV.js";
|
|
@@ -2295,7 +2295,10 @@ var listCmd = new Command9("list").alias("search").description("List available t
|
|
|
2295
2295
|
).option("--mode <mode>", "Filter by mode (bounty, claim, pitch, benchmark, auction)").option(
|
|
2296
2296
|
"--auction-type <type>",
|
|
2297
2297
|
"Filter auction tasks by subtype (dutch, english, reverse_dutch, reverse_english)"
|
|
2298
|
-
).option("--tags <tags>", "Comma-separated tags to filter by").option("--skill <skill>", "Filter by skill tag (comma-separated, alias for --tags)").option("--reward-min <n>", "Minimum reward in the payment token").option("--reward-max <n>", "Maximum reward in the payment token").option("--deadline-hours <n>", "Only tasks expiring within this many hours").option(
|
|
2298
|
+
).option("--tags <tags>", "Comma-separated tags to filter by").option("--skill <skill>", "Filter by skill tag (comma-separated, alias for --tags)").option("--reward-min <n>", "Minimum reward in the payment token").option("--reward-max <n>", "Maximum reward in the payment token").option("--deadline-hours <n>", "Only tasks expiring within this many hours").option(
|
|
2299
|
+
"--sponsored",
|
|
2300
|
+
"Only tasks carrying a sponsored task reward (reserved or credited); reward filters stay USDC-only"
|
|
2301
|
+
).option("--limit <n>", "Maximum results to return", "20").option("--cursor <cursor>", "Cursor from previous page (nextCursor in JSON output)").action(
|
|
2299
2302
|
async (opts) => {
|
|
2300
2303
|
const tagsValue = opts.tags ?? opts.skill;
|
|
2301
2304
|
const result = await listTasks(cliTaskReadContext(), {
|
|
@@ -2307,6 +2310,7 @@ var listCmd = new Command9("list").alias("search").description("List available t
|
|
|
2307
2310
|
minReward: opts.rewardMin ? String(Math.round(Number(opts.rewardMin) * 1e6)) : void 0,
|
|
2308
2311
|
maxReward: opts.rewardMax ? String(Math.round(Number(opts.rewardMax) * 1e6)) : void 0,
|
|
2309
2312
|
deadlineHours: opts.deadlineHours,
|
|
2313
|
+
sponsored: opts.sponsored,
|
|
2310
2314
|
limit: opts.limit,
|
|
2311
2315
|
cursor: opts.cursor
|
|
2312
2316
|
});
|
|
@@ -3817,7 +3821,7 @@ async function runAgentCommand(options) {
|
|
|
3817
3821
|
try {
|
|
3818
3822
|
const { assertAgentCompatibility } = await import("./compatibility-636WJOEX.js");
|
|
3819
3823
|
const pi = assertAgentCompatibility();
|
|
3820
|
-
const { runAgent } = await import("./launch-
|
|
3824
|
+
const { runAgent } = await import("./launch-B7DBYHZD.js");
|
|
3821
3825
|
result = await runAgent({
|
|
3822
3826
|
model: options.model,
|
|
3823
3827
|
pi,
|
|
@@ -3876,13 +3880,13 @@ function agentManagementCommands() {
|
|
|
3876
3880
|
const status = new Command48("status").description(
|
|
3877
3881
|
"Show the agent channels (locked, charged, refundable), purchases with an unknown outcome, the sandbox and compute credit. Reads only."
|
|
3878
3882
|
).option("--json", "Print the versioned JSON envelope").action(async (options) => {
|
|
3879
|
-
const { collectAgentStatus, statusLines } = await import("./status-
|
|
3883
|
+
const { collectAgentStatus, statusLines } = await import("./status-YFWORML2.js");
|
|
3880
3884
|
await run(options, () => collectAgentStatus(), statusLines);
|
|
3881
3885
|
});
|
|
3882
3886
|
const doctor = new Command48("doctor").description(
|
|
3883
3887
|
"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."
|
|
3884
3888
|
).option("--json", "Print the versioned JSON envelope").action(async (options) => {
|
|
3885
|
-
const { runDoctor, doctorLines } = await import("./doctor-
|
|
3889
|
+
const { runDoctor, doctorLines } = await import("./doctor-FDTAT6OD.js");
|
|
3886
3890
|
const report = await run(options, () => runDoctor(), doctorLines);
|
|
3887
3891
|
if (report && !report.ok) process.exitCode = 1;
|
|
3888
3892
|
});
|
|
@@ -3893,7 +3897,7 @@ function agentManagementCommands() {
|
|
|
3893
3897
|
"Reconcile the open purchases of this channel, as status lists it; also reaches retired channels"
|
|
3894
3898
|
).option("--json", "Print the versioned JSON envelope").action(
|
|
3895
3899
|
async (invocationId, options) => {
|
|
3896
|
-
const { reconcileChannelPurchases, reconcileInvocation } = await import("./reconcile-
|
|
3900
|
+
const { reconcileChannelPurchases, reconcileInvocation } = await import("./reconcile-RSDLDHIA.js");
|
|
3897
3901
|
const choice = { rail: options.rail, channel: options.channel };
|
|
3898
3902
|
if (invocationId !== void 0) {
|
|
3899
3903
|
await run(
|
|
@@ -3951,7 +3955,7 @@ function agentManagementCommands() {
|
|
|
3951
3955
|
`Not a USDC amount: ${options.amount} (digits, at most 6 decimals)`
|
|
3952
3956
|
);
|
|
3953
3957
|
}
|
|
3954
|
-
const { openAgentChannels, requestTopUp, selectRail, withdrawalHatch } = await import("./channels-
|
|
3958
|
+
const { openAgentChannels, requestTopUp, selectRail, withdrawalHatch } = await import("./channels-CNVUFGAL.js");
|
|
3955
3959
|
const { rails } = await openAgentChannels();
|
|
3956
3960
|
const result = await requestTopUp(selectRail(rails, options.rail), amount);
|
|
3957
3961
|
return {
|
|
@@ -3975,8 +3979,8 @@ function agentManagementCommands() {
|
|
|
3975
3979
|
async () => {
|
|
3976
3980
|
await requireExperimental();
|
|
3977
3981
|
const { AGENT_VIEW_VERSION } = await import("./budget-view-J6L7X6EY.js");
|
|
3978
|
-
const { closeChannel, openAgentChannels, selectChannel } = await import("./channels-
|
|
3979
|
-
const { reconcileLeasedPurchase } = await import("./reconcile-
|
|
3982
|
+
const { closeChannel, openAgentChannels, selectChannel } = await import("./channels-CNVUFGAL.js");
|
|
3983
|
+
const { reconcileLeasedPurchase } = await import("./reconcile-RSDLDHIA.js");
|
|
3980
3984
|
const opened = await openAgentChannels();
|
|
3981
3985
|
const { rail, retired } = selectChannel(opened, options);
|
|
3982
3986
|
const result = await closeChannel(
|
|
@@ -4047,7 +4051,7 @@ function agentManagementCommands() {
|
|
|
4047
4051
|
options,
|
|
4048
4052
|
async () => {
|
|
4049
4053
|
await requireExperimental();
|
|
4050
|
-
const { runPull } = await import("./sync-pull-
|
|
4054
|
+
const { runPull } = await import("./sync-pull-JMAKIXL6.js");
|
|
4051
4055
|
const { terminalPrompter } = await import("./prompter-LSICEYSQ.js");
|
|
4052
4056
|
return runPull(options, {
|
|
4053
4057
|
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-
|
|
10
|
+
} from "./chunk-OZUGI2FO.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-
|
|
31
|
+
} from "./chunk-ZS4DVWW2.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-
|
|
71
|
+
} from "./chunk-KW2FNQFI.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-
|
|
83
|
+
} from "./chunk-VSAHZTWA.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-
|
|
93
|
+
} from "./chunk-DOI4ACQ4.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-
|
|
113
|
+
} from "./chunk-HTJ7WSAL.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-
|
|
127
|
+
} from "./chunk-GBQBHJ77.js";
|
|
128
128
|
import {
|
|
129
129
|
IntentStatusResponseSchema,
|
|
130
130
|
NetworkChainInfoSchema,
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
piCodingAgentTools,
|
|
138
138
|
selectedNetwork,
|
|
139
139
|
taskmarketChain
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-4WVIB4DD.js";
|
|
141
141
|
import {
|
|
142
142
|
AGENT_VIEW_VERSION,
|
|
143
143
|
describeFailureDetail,
|
|
@@ -31520,6 +31520,9 @@ var TaskListInputSchema = external_exports.object({
|
|
|
31520
31520
|
minReward: UsdcBaseUnitsSchema.max(78).optional(),
|
|
31521
31521
|
maxReward: UsdcBaseUnitsSchema.max(78).optional(),
|
|
31522
31522
|
deadlineHours: external_exports.number().int().positive().optional(),
|
|
31523
|
+
// Only tasks carrying a sponsored task reward that is still reserved or already credited.
|
|
31524
|
+
// A query-string flag, so it arrives as 'true'/'false' over REST.
|
|
31525
|
+
sponsored: external_exports.enum(["true", "false"]).optional().transform((v) => v === void 0 ? void 0 : v === "true"),
|
|
31523
31526
|
requester: external_exports.string().optional(),
|
|
31524
31527
|
worker: external_exports.string().optional(),
|
|
31525
31528
|
taskDropId: external_exports.string().trim().min(1).optional(),
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
channelView,
|
|
4
4
|
openAgentChannels,
|
|
5
5
|
selectChannel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HTJ7WSAL.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-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-GBQBHJ77.js";
|
|
13
|
+
import "./chunk-4WVIB4DD.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-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-SBCQA7NQ.js";
|
|
11
|
+
import "./chunk-KW2FNQFI.js";
|
|
12
|
+
import "./chunk-VSAHZTWA.js";
|
|
13
|
+
import "./chunk-DOI4ACQ4.js";
|
|
14
|
+
import "./chunk-HTJ7WSAL.js";
|
|
15
|
+
import "./chunk-GBQBHJ77.js";
|
|
16
|
+
import "./chunk-4WVIB4DD.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-
|
|
14
|
+
} from "./chunk-OZUGI2FO.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-
|
|
30
|
+
} from "./chunk-VSAHZTWA.js";
|
|
31
31
|
import {
|
|
32
32
|
apiUrl,
|
|
33
33
|
loadKeystore
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4WVIB4DD.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.
|
|
3
|
+
"version": "1.25.0",
|
|
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/eslint-config": "0.0.0",
|
|
33
|
+
"@taskmarket/contracts": "0.0.0",
|
|
33
34
|
"@taskmarket/prettier-config": "0.0.0",
|
|
35
|
+
"@taskmarket/remote-tools": "0.0.1",
|
|
34
36
|
"@taskmarket/shared": "2.0.0",
|
|
35
|
-
"@taskmarket/x402-payer": "0.1.0"
|
|
36
|
-
"@taskmarket/contracts": "0.0.0",
|
|
37
|
-
"@taskmarket/remote-tools": "0.0.1"
|
|
37
|
+
"@taskmarket/x402-payer": "0.1.0"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"dist",
|