@lucid-agents/taskmarket 1.45.0 → 1.46.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/{api-PZVGK3VQ.js → api-56KWZFR4.js} +2 -2
- package/dist/{channels-LDMZ3OEM.js → channels-YKCZU2Q7.js} +4 -4
- package/dist/{chunk-THIC75V5.js → chunk-3MITXF2F.js} +3 -3
- package/dist/{chunk-XLJRCGOJ.js → chunk-64NUUQBC.js} +1 -1
- package/dist/{chunk-JPVBWX3Q.js → chunk-66HELSIU.js} +3 -3
- package/dist/{chunk-FHDTYW6C.js → chunk-7KZOHF7R.js} +1 -1
- package/dist/{chunk-QUY6764O.js → chunk-AS3N5L25.js} +2 -2
- package/dist/{chunk-KY4JM6NG.js → chunk-DPJIDICA.js} +31 -13
- package/dist/{chunk-TPCXOWSC.js → chunk-E3J2J3PZ.js} +8 -8
- package/dist/{chunk-6YFLKQ4Q.js → chunk-HFG7TSVD.js} +12 -0
- package/dist/{chunk-PRYNO5S7.js → chunk-MMODVSSS.js} +1 -1
- package/dist/{chunk-5NILW5UT.js → chunk-MUFEOBRQ.js} +1 -1
- package/dist/{chunk-QYXBVFVX.js → chunk-O5C2CWWL.js} +5 -5
- package/dist/{chunk-GIVPCMJ3.js → chunk-Y3B7POF2.js} +631 -40
- package/dist/{doctor-HV5QQDGU.js → doctor-TA3AZMPJ.js} +8 -8
- package/dist/index.js +73 -30
- package/dist/{launch-56RHQCWT.js → launch-2RINYQTU.js} +11 -11
- package/dist/{read-auth-ZJBQQVGO.js → read-auth-FFCZKAFN.js} +3 -3
- package/dist/{reconcile-PQXSATCK.js → reconcile-O6LVP2Z3.js} +4 -4
- package/dist/{status-EBMZGDFS.js → status-FRMTSDIG.js} +8 -8
- package/dist/{sync-pull-423LBSPO.js → sync-pull-OUXRL6A2.js} +4 -4
- package/dist/{task-access-grants-KWTKM3NP.js → task-access-grants-WV3HVN5V.js} +2 -2
- package/package.json +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-O5C2CWWL.js";
|
|
5
|
+
import "./chunk-66HELSIU.js";
|
|
6
|
+
import "./chunk-64NUUQBC.js";
|
|
7
|
+
import "./chunk-DPJIDICA.js";
|
|
8
8
|
import {
|
|
9
9
|
AGENT_COMPATIBILITY,
|
|
10
10
|
assertAgentCompatibility,
|
|
@@ -16,19 +16,19 @@ import {
|
|
|
16
16
|
loadAgentPolicy,
|
|
17
17
|
openAgentChannels,
|
|
18
18
|
railChainIdHex
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3MITXF2F.js";
|
|
20
20
|
import {
|
|
21
21
|
getX402PolicyPath,
|
|
22
22
|
loadX402Policy,
|
|
23
23
|
rpcUrlForNetwork
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Y3B7POF2.js";
|
|
25
25
|
import {
|
|
26
26
|
apiUrl,
|
|
27
27
|
keystoreExists,
|
|
28
28
|
loadKeystore,
|
|
29
29
|
withChainId
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-MUFEOBRQ.js";
|
|
31
|
+
import "./chunk-HFG7TSVD.js";
|
|
32
32
|
import "./chunk-YM4S6IE4.js";
|
|
33
33
|
import {
|
|
34
34
|
AGENT_VIEW_VERSION
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
listWorkerSubmissions,
|
|
15
15
|
submitTaskFiles,
|
|
16
16
|
taskRequirementsOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-E3J2J3PZ.js";
|
|
18
18
|
import {
|
|
19
19
|
ComputeCreditError,
|
|
20
20
|
applyComputeCreditSetup,
|
|
@@ -36,18 +36,21 @@ import {
|
|
|
36
36
|
refusedPaidWrite,
|
|
37
37
|
releasePendingComputePurchase,
|
|
38
38
|
resolvePendingComputePurchases,
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
withPaymentProtocol,
|
|
40
|
+
x402FeePost,
|
|
41
|
+
x402PaymentProtocol
|
|
42
|
+
} from "./chunk-DPJIDICA.js";
|
|
41
43
|
import {
|
|
42
44
|
signReadAuth
|
|
43
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-AS3N5L25.js";
|
|
44
46
|
import {
|
|
45
47
|
saveTaskAccessGrant,
|
|
46
48
|
taskAccessGrantHeaders
|
|
47
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-7KZOHF7R.js";
|
|
48
50
|
import {
|
|
49
51
|
MPP_TEMPO_DEFAULT_VALIDITY_SECONDS,
|
|
50
52
|
X402PayError,
|
|
53
|
+
X402_PAY_PROTOCOLS,
|
|
51
54
|
X402_POLICY_JSON_SCHEMA,
|
|
52
55
|
addX402PolicyRule,
|
|
53
56
|
getX402JournalPath,
|
|
@@ -62,7 +65,7 @@ import {
|
|
|
62
65
|
setX402PolicyRuleEnabled,
|
|
63
66
|
signSponsoredTempoTransfer,
|
|
64
67
|
signTaskmarketFeePayment
|
|
65
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-Y3B7POF2.js";
|
|
66
69
|
import {
|
|
67
70
|
ALL_NETWORKS,
|
|
68
71
|
ApiError,
|
|
@@ -126,7 +129,7 @@ import {
|
|
|
126
129
|
withErrorContext,
|
|
127
130
|
withIdempotentWrite,
|
|
128
131
|
withTapSignature
|
|
129
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-MUFEOBRQ.js";
|
|
130
133
|
import {
|
|
131
134
|
AGENT_AVATAR_MAX_BYTES,
|
|
132
135
|
AGENT_HIRES_ROLES,
|
|
@@ -399,7 +402,7 @@ import {
|
|
|
399
402
|
verifierProviderId,
|
|
400
403
|
verifiersUnsupportedOnChain,
|
|
401
404
|
viemChainFor
|
|
402
|
-
} from "./chunk-
|
|
405
|
+
} from "./chunk-HFG7TSVD.js";
|
|
403
406
|
import "./chunk-S7SJMJ2I.js";
|
|
404
407
|
|
|
405
408
|
// src/index.ts
|
|
@@ -496,9 +499,23 @@ function printResult(data, options) {
|
|
|
496
499
|
})
|
|
497
500
|
);
|
|
498
501
|
}
|
|
502
|
+
var X402_FAILURE_HINTS = {
|
|
503
|
+
challenge_expired: "The seller's payment challenge ran out before it could be paid. Nothing was signed. Request the resource again for a fresh challenge.",
|
|
504
|
+
no_supported_rail: "No payment option in the 402 can be paid here. The CLI pays x402 exact and upto, and MPP tempo charge. Check --protocol and the seller's advertised methods.",
|
|
505
|
+
insufficient_balance: "Nothing was signed. Fund the CLI wallet (taskmarket address) with the payment token on the payment network, then request again.",
|
|
506
|
+
payment_header_conflict: "Nothing was signed. Remove the header the message names (set through --headers-file or --header-env); the payment credential needs it."
|
|
507
|
+
};
|
|
508
|
+
function rpcConfigurationHint(error) {
|
|
509
|
+
const cause = error.cause instanceof Error ? error.cause.message : void 0;
|
|
510
|
+
if (error.code !== "request_failed" || cause === void 0) return void 0;
|
|
511
|
+
if (!/^(No RPC configuration exists for|RPC environment variable )/.test(cause)) return void 0;
|
|
512
|
+
return `${cause}. Nothing was signed. In the x402 policy file (taskmarket x402 policy path) add "networks": { "<network>": { "rpcUrlEnv": "<ENV_VAR>" } } for the payment's network (eip155:4217 Tempo, eip155:42431 Tempo Moderato) and export that variable as an HTTPS RPC URL.`;
|
|
513
|
+
}
|
|
499
514
|
function x402FailureFields(error) {
|
|
515
|
+
const hint = X402_FAILURE_HINTS[error.code] ?? rpcConfigurationHint(error);
|
|
500
516
|
return {
|
|
501
517
|
code: error.code,
|
|
518
|
+
...hint !== void 0 ? { hint } : {},
|
|
502
519
|
...error.invocationId !== void 0 ? { invocationId: error.invocationId } : {},
|
|
503
520
|
...error.invocation !== void 0 ? {
|
|
504
521
|
invocation: {
|
|
@@ -13530,7 +13547,7 @@ async function runAgentCommand(options) {
|
|
|
13530
13547
|
try {
|
|
13531
13548
|
const { assertAgentCompatibility } = await import("./compatibility-636WJOEX.js");
|
|
13532
13549
|
const pi = assertAgentCompatibility();
|
|
13533
|
-
const { runAgent } = await import("./launch-
|
|
13550
|
+
const { runAgent } = await import("./launch-2RINYQTU.js");
|
|
13534
13551
|
result = await runAgent({
|
|
13535
13552
|
model: options.model,
|
|
13536
13553
|
pi,
|
|
@@ -13964,13 +13981,13 @@ function agentManagementCommands() {
|
|
|
13964
13981
|
const status = new Command58("status").description(
|
|
13965
13982
|
"Show the agent channels (locked, charged, refundable), purchases with an unknown outcome, the sandbox and compute credit. Reads only."
|
|
13966
13983
|
).action(async () => {
|
|
13967
|
-
const { collectAgentStatus } = await import("./status-
|
|
13984
|
+
const { collectAgentStatus } = await import("./status-FRMTSDIG.js");
|
|
13968
13985
|
await run(() => collectAgentStatus());
|
|
13969
13986
|
});
|
|
13970
13987
|
const doctor = new Command58("doctor").description(
|
|
13971
13988
|
"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."
|
|
13972
13989
|
).action(async () => {
|
|
13973
|
-
const { runDoctor } = await import("./doctor-
|
|
13990
|
+
const { runDoctor } = await import("./doctor-TA3AZMPJ.js");
|
|
13974
13991
|
const report = await run(() => runDoctor());
|
|
13975
13992
|
if (report && !report.ok) process.exitCode = 1;
|
|
13976
13993
|
});
|
|
@@ -13981,7 +13998,7 @@ function agentManagementCommands() {
|
|
|
13981
13998
|
"Reconcile the open purchases of this channel, as status lists it; also reaches retired channels"
|
|
13982
13999
|
).action(
|
|
13983
14000
|
async (invocationId, options) => {
|
|
13984
|
-
const { reconcileChannelPurchases, reconcileInvocation } = await import("./reconcile-
|
|
14001
|
+
const { reconcileChannelPurchases, reconcileInvocation } = await import("./reconcile-O6LVP2Z3.js");
|
|
13985
14002
|
const choice = { rail: options.rail, channel: options.channel };
|
|
13986
14003
|
if (invocationId !== void 0) {
|
|
13987
14004
|
await run(() => reconcileInvocation(invocationId, { choice }));
|
|
@@ -14013,7 +14030,7 @@ function agentManagementCommands() {
|
|
|
14013
14030
|
`Not a USDC amount: ${options.amount} (digits, at most 6 decimals)`
|
|
14014
14031
|
);
|
|
14015
14032
|
}
|
|
14016
|
-
const { openAgentChannels, requestTopUp, selectRail, withdrawalHatch } = await import("./channels-
|
|
14033
|
+
const { openAgentChannels, requestTopUp, selectRail, withdrawalHatch } = await import("./channels-YKCZU2Q7.js");
|
|
14017
14034
|
const { rails } = await openAgentChannels();
|
|
14018
14035
|
const result = await requestTopUp(selectRail(rails, options.rail), amount);
|
|
14019
14036
|
return {
|
|
@@ -14033,8 +14050,8 @@ function agentManagementCommands() {
|
|
|
14033
14050
|
await run(async () => {
|
|
14034
14051
|
await requireExperimental();
|
|
14035
14052
|
const { AGENT_VIEW_VERSION } = await import("./budget-view-J6L7X6EY.js");
|
|
14036
|
-
const { closeChannel, openAgentChannels, selectChannel } = await import("./channels-
|
|
14037
|
-
const { reconcileLeasedPurchase } = await import("./reconcile-
|
|
14053
|
+
const { closeChannel, openAgentChannels, selectChannel } = await import("./channels-YKCZU2Q7.js");
|
|
14054
|
+
const { reconcileLeasedPurchase } = await import("./reconcile-O6LVP2Z3.js");
|
|
14038
14055
|
const opened = await openAgentChannels();
|
|
14039
14056
|
const { rail, retired } = selectChannel(opened, options);
|
|
14040
14057
|
const result = await closeChannel(
|
|
@@ -14088,7 +14105,7 @@ function agentManagementCommands() {
|
|
|
14088
14105
|
async (options) => {
|
|
14089
14106
|
await run(async () => {
|
|
14090
14107
|
await requireExperimental();
|
|
14091
|
-
const { runPull } = await import("./sync-pull-
|
|
14108
|
+
const { runPull } = await import("./sync-pull-OUXRL6A2.js");
|
|
14092
14109
|
const { terminalPrompter } = await import("./prompter-LSICEYSQ.js");
|
|
14093
14110
|
return runPull(options, {
|
|
14094
14111
|
interactive: Boolean(process.stdin.isTTY && process.stdout.isTTY),
|
|
@@ -20321,10 +20338,10 @@ var x402PaymentsCommand = new Command108("payments").description(
|
|
|
20321
20338
|
);
|
|
20322
20339
|
x402PaymentsCommand.command("list").description("List current payment records").addOption(new Option5("--state <state>", "Filter by state").choices(PAYMENT_STATES)).action(async (options) => {
|
|
20323
20340
|
const payments = await listX402Payments({ state: options.state }, getX402JournalPath());
|
|
20324
|
-
printResult({ payments });
|
|
20341
|
+
printResult({ payments: payments.map(withPaymentProtocol) });
|
|
20325
20342
|
});
|
|
20326
20343
|
x402PaymentsCommand.command("get").description("Get one payment record").argument("<paymentId>", "Payment id").action(
|
|
20327
|
-
async (paymentId) => printResult(await getX402Payment(paymentId, getX402JournalPath()))
|
|
20344
|
+
async (paymentId) => printResult(withPaymentProtocol(await getX402Payment(paymentId, getX402JournalPath())))
|
|
20328
20345
|
);
|
|
20329
20346
|
x402PaymentsCommand.command("reconcile").description("Reconcile a payment authorization against the configured chain").argument("<paymentId>", "Payment id").action(async (paymentId) => printResult(await reconcileX402PaymentById(paymentId)));
|
|
20330
20347
|
x402PaymentsCommand.command("resolve").description("Manually record an externally verified final amount").argument("<paymentId>", "Payment id").requiredOption("--settled-amount <atomicUnits>", "Final settled amount in atomic units").requiredOption("--note <text>", "Audit note describing the evidence").option("--transaction <hash>", "Settlement transaction hash").action(
|
|
@@ -20339,7 +20356,7 @@ x402PaymentsCommand.command("resolve").description("Manually record an externall
|
|
|
20339
20356
|
},
|
|
20340
20357
|
getX402JournalPath()
|
|
20341
20358
|
);
|
|
20342
|
-
printResult(payment);
|
|
20359
|
+
printResult(withPaymentProtocol(payment));
|
|
20343
20360
|
}
|
|
20344
20361
|
);
|
|
20345
20362
|
|
|
@@ -20414,7 +20431,41 @@ function collect4(value, previous) {
|
|
|
20414
20431
|
function confirm(lines) {
|
|
20415
20432
|
return confirmAtTerminal(lines, "use --non-interactive with policy");
|
|
20416
20433
|
}
|
|
20417
|
-
|
|
20434
|
+
function amountLines(terms, charge) {
|
|
20435
|
+
if (!charge) {
|
|
20436
|
+
return [
|
|
20437
|
+
`${terms.scheme === "upto" ? "Maximum authorization" : "Exact charge"}: ${terms.authorizedAmount} atomic units`
|
|
20438
|
+
];
|
|
20439
|
+
}
|
|
20440
|
+
const recipient = terms.chargeAmount ?? terms.authorizedAmount;
|
|
20441
|
+
const sponsored = terms.feeSponsored === true;
|
|
20442
|
+
return [
|
|
20443
|
+
`Recipient receives: ${recipient} atomic units`,
|
|
20444
|
+
sponsored ? "Network fee: paid by the seller" : `Network fee: paid by your wallet, worst case ${terms.maxFee ?? "unknown"} atomic units of the token`,
|
|
20445
|
+
`Maximum authorized in total: ${terms.authorizedAmount} atomic units`
|
|
20446
|
+
];
|
|
20447
|
+
}
|
|
20448
|
+
function paymentConfirmationLines(terms) {
|
|
20449
|
+
const protocol = x402PaymentProtocol(terms);
|
|
20450
|
+
const charge = protocol === "mpp";
|
|
20451
|
+
return [
|
|
20452
|
+
charge ? "External MPP payment" : "External x402 payment",
|
|
20453
|
+
`Resource: ${terms.method} ${terms.origin}${terms.pathname}`,
|
|
20454
|
+
`Protocol: ${protocol}`,
|
|
20455
|
+
`Scheme: ${terms.scheme}`,
|
|
20456
|
+
`Network: ${terms.network}`,
|
|
20457
|
+
`Token: ${terms.asset}`,
|
|
20458
|
+
`Recipient: ${terms.payTo}`,
|
|
20459
|
+
...amountLines(terms, charge),
|
|
20460
|
+
`Policy: ${terms.policyRuleId ?? "one-time interactive exception"}`
|
|
20461
|
+
];
|
|
20462
|
+
}
|
|
20463
|
+
var x402RequestCommand = new Command110("request").description("Request and pay for a direct x402 HTTP resource (X402 Pay)").argument("<url>", "HTTPS resource URL").addOption(new Option6("--method <method>", "HTTP method").choices(["GET", "POST"]).default("GET")).addOption(
|
|
20464
|
+
new Option6(
|
|
20465
|
+
"--protocol <protocol>",
|
|
20466
|
+
"Payment protocol the 402 may be paid through: auto reads x402 and MPP, x402 or mpp restricts it"
|
|
20467
|
+
).choices([...X402_PAY_PROTOCOLS]).default("auto")
|
|
20468
|
+
).option("--json <json>", "Inline JSON POST body").option("--body-file <path>", "Read JSON POST body from a file").option("--headers-file <path>", "Read request headers from an owner-only JSON file").option(
|
|
20418
20469
|
"--header-env <header=ENV_VAR>",
|
|
20419
20470
|
"Read one request header from an environment variable (repeatable)",
|
|
20420
20471
|
collect4,
|
|
@@ -20431,6 +20482,7 @@ var x402RequestCommand = new Command110("request").description("Request and pay
|
|
|
20431
20482
|
const result = await executeX402PayRequest({
|
|
20432
20483
|
rawUrl: url,
|
|
20433
20484
|
method: options.method,
|
|
20485
|
+
protocol: options.protocol,
|
|
20434
20486
|
json: options.json,
|
|
20435
20487
|
bodyFile: options.bodyFile,
|
|
20436
20488
|
headers,
|
|
@@ -20438,16 +20490,7 @@ var x402RequestCommand = new Command110("request").description("Request and pay
|
|
|
20438
20490
|
nonInteractive: options.nonInteractive,
|
|
20439
20491
|
policyRuleId: options.policy,
|
|
20440
20492
|
invocationId: options.invocationId,
|
|
20441
|
-
confirmPayment: (terms) => confirm(
|
|
20442
|
-
"External x402 payment",
|
|
20443
|
-
`Resource: ${terms.method} ${terms.origin}${terms.pathname}`,
|
|
20444
|
-
`Scheme: ${terms.scheme}`,
|
|
20445
|
-
`Network: ${terms.network}`,
|
|
20446
|
-
`Asset: ${terms.asset}`,
|
|
20447
|
-
`Recipient: ${terms.payTo}`,
|
|
20448
|
-
`${terms.scheme === "upto" ? "Maximum authorization" : "Exact charge"}: ${terms.authorizedAmount} atomic units`,
|
|
20449
|
-
`Policy: ${terms.policyRuleId ?? "one-time interactive exception"}`
|
|
20450
|
-
]),
|
|
20493
|
+
confirmPayment: (terms) => confirm(paymentConfirmationLines(terms)),
|
|
20451
20494
|
confirmDirectApproval: (details) => confirm([
|
|
20452
20495
|
"Permit2 token approval",
|
|
20453
20496
|
`Network: ${details.network}`,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
sha256Hex,
|
|
39
39
|
specHash,
|
|
40
40
|
taskStage
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-66HELSIU.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-
|
|
50
|
+
} from "./chunk-MMODVSSS.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-
|
|
62
|
+
} from "./chunk-64NUUQBC.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-
|
|
81
|
+
} from "./chunk-E3J2J3PZ.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-
|
|
91
|
+
} from "./chunk-DPJIDICA.js";
|
|
92
92
|
import {
|
|
93
93
|
signReadAuth
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-AS3N5L25.js";
|
|
95
95
|
import {
|
|
96
96
|
taskAccessGrantHeaders
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-7KZOHF7R.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-
|
|
121
|
+
} from "./chunk-3MITXF2F.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-
|
|
135
|
+
} from "./chunk-Y3B7POF2.js";
|
|
136
136
|
import {
|
|
137
137
|
apiUrl,
|
|
138
138
|
keystoreExists,
|
|
139
139
|
loadKeystore,
|
|
140
140
|
selectedNetwork
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-MUFEOBRQ.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-
|
|
150
|
+
} from "./chunk-HFG7TSVD.js";
|
|
151
151
|
import {
|
|
152
152
|
AgentLaunchError
|
|
153
153
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -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-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-AS3N5L25.js";
|
|
5
|
+
import "./chunk-MUFEOBRQ.js";
|
|
6
|
+
import "./chunk-HFG7TSVD.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-
|
|
6
|
+
} from "./chunk-3MITXF2F.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-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-Y3B7POF2.js";
|
|
13
|
+
import "./chunk-MUFEOBRQ.js";
|
|
14
|
+
import "./chunk-HFG7TSVD.js";
|
|
15
15
|
import {
|
|
16
16
|
AgentLaunchError
|
|
17
17
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
listSandboxes,
|
|
5
5
|
readSyncStatus,
|
|
6
6
|
readTaskStatus
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-O5C2CWWL.js";
|
|
8
|
+
import "./chunk-66HELSIU.js";
|
|
9
|
+
import "./chunk-64NUUQBC.js";
|
|
10
|
+
import "./chunk-DPJIDICA.js";
|
|
11
|
+
import "./chunk-3MITXF2F.js";
|
|
12
|
+
import "./chunk-Y3B7POF2.js";
|
|
13
|
+
import "./chunk-MUFEOBRQ.js";
|
|
14
|
+
import "./chunk-HFG7TSVD.js";
|
|
15
15
|
import "./chunk-YM4S6IE4.js";
|
|
16
16
|
import "./chunk-XJOB4NMV.js";
|
|
17
17
|
import "./chunk-S7SJMJ2I.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
savedWorkspace,
|
|
12
12
|
summarize,
|
|
13
13
|
unsavedPaths
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MMODVSSS.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-
|
|
30
|
+
} from "./chunk-64NUUQBC.js";
|
|
31
31
|
import {
|
|
32
32
|
apiUrl,
|
|
33
33
|
loadKeystore
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-MUFEOBRQ.js";
|
|
35
|
+
import "./chunk-HFG7TSVD.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-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-7KZOHF7R.js";
|
|
7
|
+
import "./chunk-HFG7TSVD.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.
|
|
3
|
+
"version": "1.46.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"taskmarket": "./dist/index.js"
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"typescript": "^5.3.3",
|
|
32
32
|
"vitest": "^2.0.0",
|
|
33
33
|
"@taskmarket/agent-host": "0.0.1",
|
|
34
|
-
"@taskmarket/eslint-config": "0.0.0",
|
|
35
34
|
"@taskmarket/contracts": "0.0.0",
|
|
35
|
+
"@taskmarket/eslint-config": "0.0.0",
|
|
36
36
|
"@taskmarket/prettier-config": "0.0.0",
|
|
37
37
|
"@taskmarket/remote-tools": "0.0.1",
|
|
38
38
|
"@taskmarket/shared": "2.0.0",
|
|
39
|
-
"@taskmarket/
|
|
40
|
-
"@taskmarket/
|
|
39
|
+
"@taskmarket/solana-sponsored-client": "0.1.0",
|
|
40
|
+
"@taskmarket/x402-payer": "0.1.0"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|
|
43
43
|
"dist",
|