@lucid-agents/taskmarket 1.18.0 → 1.18.1
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-544VRSKF.js → channels-KCDZ5REF.js} +3 -3
- package/dist/{chunk-L6ZVRENW.js → chunk-3FF6JAMK.js} +3 -3
- package/dist/{chunk-W7CXEYST.js → chunk-3LNZ766H.js} +2 -2
- package/dist/{chunk-S4A6V3J3.js → chunk-5VMWXDNO.js} +1 -1
- package/dist/{chunk-JJUF3KZY.js → chunk-HEGWADBV.js} +3 -3
- package/dist/{chunk-MO5KMUTL.js → chunk-LEVAZYR5.js} +2 -2
- package/dist/{chunk-64HQ7ZF2.js → chunk-ONYTKAHC.js} +1 -1
- package/dist/{chunk-2QJMUHDT.js → chunk-RHUDL5WA.js} +4 -4
- package/dist/{chunk-ESPAXW2P.js → chunk-RQTJZYFV.js} +1 -1
- package/dist/{chunk-75LS6XS6.js → chunk-YB2B5DPR.js} +1687 -1669
- package/dist/{doctor-5FUGI42V.js → doctor-TB3KKAZB.js} +7 -7
- package/dist/index.js +13 -12
- package/dist/{launch-C5HUFUU2.js → launch-ZV6OLBFM.js} +8 -8
- package/dist/{reconcile-Q7XFHDQQ.js → reconcile-UXL65RRT.js} +3 -3
- package/dist/{status-SDLSTJIA.js → status-FHZ3UGEB.js} +7 -7
- package/dist/{sync-pull-TKM4EDGH.js → sync-pull-YECZ4PJA.js} +3 -3
- package/package.json +1 -1
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
} from "./chunk-OKZ2NRYZ.js";
|
|
7
7
|
import {
|
|
8
8
|
listSandboxes
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-RHUDL5WA.js";
|
|
10
|
+
import "./chunk-3FF6JAMK.js";
|
|
11
|
+
import "./chunk-ONYTKAHC.js";
|
|
12
|
+
import "./chunk-3LNZ766H.js";
|
|
13
13
|
import {
|
|
14
14
|
channelView,
|
|
15
15
|
loadAgentPolicy,
|
|
16
16
|
openAgentChannels
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LEVAZYR5.js";
|
|
18
18
|
import {
|
|
19
19
|
getX402PolicyPath,
|
|
20
20
|
loadX402Policy,
|
|
21
21
|
rpcUrlForNetwork
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5VMWXDNO.js";
|
|
23
23
|
import {
|
|
24
24
|
apiUrl,
|
|
25
25
|
keystoreExists,
|
|
26
26
|
loadKeystore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YB2B5DPR.js";
|
|
28
28
|
import {
|
|
29
29
|
AGENT_VIEW_VERSION
|
|
30
30
|
} from "./chunk-EB6OJBF5.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-HEGWADBV.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-3LNZ766H.js";
|
|
40
40
|
import {
|
|
41
41
|
MPP_TEMPO_DEFAULT_VALIDITY_SECONDS,
|
|
42
42
|
X402PayError,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
signSponsoredTempoTransfer,
|
|
59
59
|
signTaskmarketFeePayment,
|
|
60
60
|
signTypedData
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-5VMWXDNO.js";
|
|
62
62
|
import {
|
|
63
63
|
AgentMessageEnvelopeSchema,
|
|
64
64
|
ApiError,
|
|
@@ -157,7 +157,7 @@ import {
|
|
|
157
157
|
usdcToBaseUnits,
|
|
158
158
|
withErrorContext,
|
|
159
159
|
withIdempotentWrite
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-YB2B5DPR.js";
|
|
161
161
|
import {
|
|
162
162
|
channelLines
|
|
163
163
|
} from "./chunk-EB6OJBF5.js";
|
|
@@ -3006,6 +3006,7 @@ async function confirmSettlementAction(name, confirm2, taskId, yes) {
|
|
|
3006
3006
|
);
|
|
3007
3007
|
return false;
|
|
3008
3008
|
}
|
|
3009
|
+
if (detail.amounts.enforcedStakeAmount === "0") return true;
|
|
3009
3010
|
const cost = detail.amounts.releaseCostNow;
|
|
3010
3011
|
if (!cost || BigInt(cost) <= 0n) return true;
|
|
3011
3012
|
renderFailure(
|
|
@@ -3336,7 +3337,7 @@ async function runAgentCommand(options) {
|
|
|
3336
3337
|
try {
|
|
3337
3338
|
const { assertAgentCompatibility } = await import("./compatibility-KUYGZSUC.js");
|
|
3338
3339
|
const pi = assertAgentCompatibility();
|
|
3339
|
-
const { runAgent } = await import("./launch-
|
|
3340
|
+
const { runAgent } = await import("./launch-ZV6OLBFM.js");
|
|
3340
3341
|
result = await runAgent({
|
|
3341
3342
|
model: options.model,
|
|
3342
3343
|
pi,
|
|
@@ -3395,13 +3396,13 @@ function agentManagementCommands() {
|
|
|
3395
3396
|
const status = new Command47("status").description(
|
|
3396
3397
|
"Show the agent channels (locked, charged, refundable), purchases with an unknown outcome, the sandbox and compute credit. Reads only."
|
|
3397
3398
|
).option("--json", "Print the versioned JSON envelope").action(async (options) => {
|
|
3398
|
-
const { collectAgentStatus, statusLines } = await import("./status-
|
|
3399
|
+
const { collectAgentStatus, statusLines } = await import("./status-FHZ3UGEB.js");
|
|
3399
3400
|
await run(options, () => collectAgentStatus(), statusLines);
|
|
3400
3401
|
});
|
|
3401
3402
|
const doctor = new Command47("doctor").description(
|
|
3402
3403
|
"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."
|
|
3403
3404
|
).option("--json", "Print the versioned JSON envelope").action(async (options) => {
|
|
3404
|
-
const { runDoctor, doctorLines } = await import("./doctor-
|
|
3405
|
+
const { runDoctor, doctorLines } = await import("./doctor-TB3KKAZB.js");
|
|
3405
3406
|
const report = await run(options, () => runDoctor(), doctorLines);
|
|
3406
3407
|
if (report && !report.ok) process.exitCode = 1;
|
|
3407
3408
|
});
|
|
@@ -3412,7 +3413,7 @@ function agentManagementCommands() {
|
|
|
3412
3413
|
"Reconcile the open purchases of this channel, as status lists it; also reaches retired channels"
|
|
3413
3414
|
).option("--json", "Print the versioned JSON envelope").action(
|
|
3414
3415
|
async (invocationId, options) => {
|
|
3415
|
-
const { reconcileChannelPurchases, reconcileInvocation } = await import("./reconcile-
|
|
3416
|
+
const { reconcileChannelPurchases, reconcileInvocation } = await import("./reconcile-UXL65RRT.js");
|
|
3416
3417
|
const choice = { rail: options.rail, channel: options.channel };
|
|
3417
3418
|
if (invocationId !== void 0) {
|
|
3418
3419
|
await run(
|
|
@@ -3470,7 +3471,7 @@ function agentManagementCommands() {
|
|
|
3470
3471
|
`Not a USDC amount: ${options.amount} (digits, at most 6 decimals)`
|
|
3471
3472
|
);
|
|
3472
3473
|
}
|
|
3473
|
-
const { openAgentChannels, requestTopUp, selectRail, withdrawalHatch } = await import("./channels-
|
|
3474
|
+
const { openAgentChannels, requestTopUp, selectRail, withdrawalHatch } = await import("./channels-KCDZ5REF.js");
|
|
3474
3475
|
const { rails } = await openAgentChannels();
|
|
3475
3476
|
const result = await requestTopUp(selectRail(rails, options.rail), amount);
|
|
3476
3477
|
return {
|
|
@@ -3494,8 +3495,8 @@ function agentManagementCommands() {
|
|
|
3494
3495
|
async () => {
|
|
3495
3496
|
await requireExperimental();
|
|
3496
3497
|
const { AGENT_VIEW_VERSION } = await import("./budget-view-JPZ7HWR2.js");
|
|
3497
|
-
const { closeChannel, openAgentChannels, selectChannel } = await import("./channels-
|
|
3498
|
-
const { reconcileLeasedPurchase } = await import("./reconcile-
|
|
3498
|
+
const { closeChannel, openAgentChannels, selectChannel } = await import("./channels-KCDZ5REF.js");
|
|
3499
|
+
const { reconcileLeasedPurchase } = await import("./reconcile-UXL65RRT.js");
|
|
3499
3500
|
const opened = await openAgentChannels();
|
|
3500
3501
|
const { rail, retired } = selectChannel(opened, options);
|
|
3501
3502
|
const result = await closeChannel(
|
|
@@ -3566,7 +3567,7 @@ function agentManagementCommands() {
|
|
|
3566
3567
|
options,
|
|
3567
3568
|
async () => {
|
|
3568
3569
|
await requireExperimental();
|
|
3569
|
-
const { runPull } = await import("./sync-pull-
|
|
3570
|
+
const { runPull } = await import("./sync-pull-YECZ4PJA.js");
|
|
3570
3571
|
const { terminalPrompter } = await import("./prompter-LSICEYSQ.js");
|
|
3571
3572
|
return runPull(options, {
|
|
3572
3573
|
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-RQTJZYFV.js";
|
|
11
11
|
import {
|
|
12
12
|
TaskOperationError,
|
|
13
13
|
authorizeUploads,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
signReadAuth,
|
|
28
28
|
submitUploadedArtifacts,
|
|
29
29
|
taskAccessGrantHeaders
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HEGWADBV.js";
|
|
31
31
|
import {
|
|
32
32
|
terminalPrompter
|
|
33
33
|
} from "./chunk-ZIC2YCLV.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
sha256Hex,
|
|
68
68
|
specHash,
|
|
69
69
|
taskStage
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-3FF6JAMK.js";
|
|
71
71
|
import {
|
|
72
72
|
BrokerConnector,
|
|
73
73
|
OutputLimitError,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serveSandboxChannel,
|
|
80
80
|
withFileLock,
|
|
81
81
|
writeAtomic
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ONYTKAHC.js";
|
|
83
83
|
import {
|
|
84
84
|
applyComputeCreditSetup,
|
|
85
85
|
atomicToUsd,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
planComputeCreditSetup,
|
|
90
90
|
readComputeCreditBalance,
|
|
91
91
|
usdToAtomic
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-3LNZ766H.js";
|
|
93
93
|
import {
|
|
94
94
|
MAX_RETIRED_RAILS,
|
|
95
95
|
WORKSPACE_CONSENT_VERSION,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
routeOfCatalogRow,
|
|
110
110
|
saveAgentPolicy,
|
|
111
111
|
settledRetiredRails
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-LEVAZYR5.js";
|
|
113
113
|
import {
|
|
114
114
|
BASE_CHANNEL_RAIL_ID,
|
|
115
115
|
createBaseChannelPayer,
|
|
@@ -122,7 +122,7 @@ import {
|
|
|
122
122
|
parseX402Policy,
|
|
123
123
|
saveX402Policy,
|
|
124
124
|
x402SpendWindowAvailability
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-5VMWXDNO.js";
|
|
126
126
|
import {
|
|
127
127
|
IntentStatusResponseSchema,
|
|
128
128
|
apiUrl,
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
keystoreExists,
|
|
133
133
|
loadKeystore,
|
|
134
134
|
selectedNetwork
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-YB2B5DPR.js";
|
|
136
136
|
import {
|
|
137
137
|
AGENT_VIEW_VERSION,
|
|
138
138
|
formatUsdc
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
channelView,
|
|
4
4
|
openAgentChannels,
|
|
5
5
|
selectChannel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LEVAZYR5.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-5VMWXDNO.js";
|
|
13
|
+
import "./chunk-YB2B5DPR.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-RHUDL5WA.js";
|
|
11
|
+
import "./chunk-3FF6JAMK.js";
|
|
12
|
+
import "./chunk-ONYTKAHC.js";
|
|
13
|
+
import "./chunk-3LNZ766H.js";
|
|
14
|
+
import "./chunk-LEVAZYR5.js";
|
|
15
|
+
import "./chunk-5VMWXDNO.js";
|
|
16
|
+
import "./chunk-YB2B5DPR.js";
|
|
17
17
|
import "./chunk-EB6OJBF5.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-RQTJZYFV.js";
|
|
15
15
|
import {
|
|
16
16
|
BrokerConnector,
|
|
17
17
|
SshSandboxBackend,
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
releaseClaim,
|
|
27
27
|
unresolvedCount,
|
|
28
28
|
updateSyncState
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ONYTKAHC.js";
|
|
30
30
|
import {
|
|
31
31
|
apiUrl,
|
|
32
32
|
loadKeystore
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YB2B5DPR.js";
|
|
34
34
|
import {
|
|
35
35
|
AgentLaunchError
|
|
36
36
|
} from "./chunk-YM4S6IE4.js";
|