@lucid-agents/taskmarket 1.21.0 → 1.22.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-OBJUNCZX.js → channels-NUZWFG26.js} +3 -3
- package/dist/{chunk-VVAUDP3D.js → chunk-3USQNOEQ.js} +4 -4
- package/dist/{chunk-ZU33L5X5.js → chunk-5AFK4Q3X.js} +1 -1
- package/dist/{chunk-5N25NATR.js → chunk-7MXTPGES.js} +3 -3
- package/dist/{chunk-HE2N4GEO.js → chunk-BO3XPXQ6.js} +1 -1
- package/dist/{chunk-ZZTCFKR3.js → chunk-BUFBA2JX.js} +3 -3
- package/dist/{chunk-3IIVNF5F.js → chunk-H2HOWIJ6.js} +70 -5
- package/dist/{chunk-TAMXCFLT.js → chunk-RSSJD6JU.js} +2 -2
- package/dist/{chunk-UD5Z752S.js → chunk-S5H4MWF5.js} +1 -1
- package/dist/{chunk-OCQKVV4A.js → chunk-TS75XZ3U.js} +2 -2
- package/dist/{doctor-26YOWQOH.js → doctor-MZUDBF4B.js} +7 -7
- package/dist/index.js +663 -86
- package/dist/{launch-QDCWAIKE.js → launch-UUW34PHS.js} +9 -9
- package/dist/pi-extensions/xgate.cjs +26 -3
- package/dist/{reconcile-MALCM3NB.js → reconcile-NDPFPJEB.js} +3 -3
- package/dist/{status-FTTQWS5P.js → status-5AVXIFQJ.js} +7 -7
- package/dist/{sync-pull-N6OTHBWR.js → sync-pull-FHKF7A44.js} +3 -3
- package/package.json +3 -3
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
recordSessionEnd,
|
|
8
8
|
recordSessionStart,
|
|
9
9
|
uploadPlan
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-S5H4MWF5.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-7MXTPGES.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-BUFBA2JX.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-5AFK4Q3X.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-RSSJD6JU.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-TS75XZ3U.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-BO3XPXQ6.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-H2HOWIJ6.js";
|
|
141
141
|
import {
|
|
142
142
|
AGENT_VIEW_VERSION,
|
|
143
143
|
describeFailureDetail,
|
|
@@ -5029,7 +5029,7 @@ function createMarketReader(options) {
|
|
|
5029
5029
|
{
|
|
5030
5030
|
wallet: address(stats.address) ?? wallet,
|
|
5031
5031
|
paidUsdc: usdc3(atomic2(stats.totalEarnings)),
|
|
5032
|
-
paidBasis: "Net
|
|
5032
|
+
paidBasis: "Net amount actually paid to this wallet as a worker on this chain, in this chain\u2019s payment token, summed from settled awards. Other chains\u2019 earnings are not included. Submitted or accepted work that has not settled is not included.",
|
|
5033
5033
|
completedTasks: integer(stats.completedTasks),
|
|
5034
5034
|
ratedTasks: integer(stats.ratedTasks),
|
|
5035
5035
|
averageRating: typeof stats.averageRating === "number" ? stats.averageRating : null,
|
|
@@ -31777,10 +31777,20 @@ var AgentStatsSchema = external_exports.object({
|
|
|
31777
31777
|
totalStars: external_exports.number().nullable(),
|
|
31778
31778
|
averageRating: external_exports.number().nullable(),
|
|
31779
31779
|
/**
|
|
31780
|
-
* Net
|
|
31781
|
-
* across every Taskmarket contract
|
|
31780
|
+
* Net base units of the viewed chain's payment token (USDC or OUSD) paid to this address as
|
|
31781
|
+
* a worker on that chain, summed from settlement records across every Taskmarket contract
|
|
31782
|
+
* generation on that chain. Null when no chain was named.
|
|
31782
31783
|
*/
|
|
31783
31784
|
totalEarnings: external_exports.string().nullable(),
|
|
31785
|
+
/**
|
|
31786
|
+
* Earnings on every served chain where this address earned anything, one entry per chain in
|
|
31787
|
+
* that chain's token. A breakdown: amounts in different tokens are never summed.
|
|
31788
|
+
*/
|
|
31789
|
+
earningsByChain: external_exports.array(external_exports.object({
|
|
31790
|
+
chainId: external_exports.number().int().positive(),
|
|
31791
|
+
tokenSymbol: external_exports.enum(["USDC", "OUSD"]),
|
|
31792
|
+
amount: external_exports.string()
|
|
31793
|
+
})).optional(),
|
|
31784
31794
|
skills: external_exports.array(external_exports.string()).optional(),
|
|
31785
31795
|
emailAddress: external_exports.string().nullable().optional(),
|
|
31786
31796
|
credibility: external_exports.number().int().min(0).max(1e3).optional(),
|
|
@@ -34583,7 +34593,9 @@ var API_ERROR_REASONS = [
|
|
|
34583
34593
|
"sponsorship_rate_limited",
|
|
34584
34594
|
/**
|
|
34585
34595
|
* This client asked for too many payment challenges (unpaid `402` responses) in the current
|
|
34586
|
-
* window
|
|
34596
|
+
* window, or too many free platform-sponsored identity mints (per client IP per chain per hour,
|
|
34597
|
+
* or the chain's daily cap). Nothing was charged or minted; wait for `Retry-After` seconds, then
|
|
34598
|
+
* retry. A request that carries
|
|
34587
34599
|
* a payment credential is not counted.
|
|
34588
34600
|
*/
|
|
34589
34601
|
"rate_limited",
|
|
@@ -34608,6 +34620,17 @@ var API_ERROR_REASONS = [
|
|
|
34608
34620
|
"invalid_input",
|
|
34609
34621
|
/** This advisory start attempt was refused before enqueue; earlier ambiguous attempts may still exist. */
|
|
34610
34622
|
"submission_review_start_refused",
|
|
34623
|
+
/**
|
|
34624
|
+
* The platform-sponsored identity mint for this wallet on this chain already failed, so asking
|
|
34625
|
+
* again would not start a new one. Nothing was charged; contact support with the intent id.
|
|
34626
|
+
*/
|
|
34627
|
+
"identity_mint_failed",
|
|
34628
|
+
/**
|
|
34629
|
+
* This wallet's sponsored identity mint on this chain was started against a different identity
|
|
34630
|
+
* registry than the chain uses now, so it cannot be joined or repeated. Nothing was charged;
|
|
34631
|
+
* contact support with the intent id.
|
|
34632
|
+
*/
|
|
34633
|
+
"identity_registry_changed",
|
|
34611
34634
|
/**
|
|
34612
34635
|
* No API route matches the request's method and path, or the resource it names does not
|
|
34613
34636
|
* exist. Nothing was written or charged.
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
channelView,
|
|
4
4
|
openAgentChannels,
|
|
5
5
|
selectChannel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TS75XZ3U.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-BO3XPXQ6.js";
|
|
13
|
+
import "./chunk-H2HOWIJ6.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-3USQNOEQ.js";
|
|
11
|
+
import "./chunk-BUFBA2JX.js";
|
|
12
|
+
import "./chunk-5AFK4Q3X.js";
|
|
13
|
+
import "./chunk-RSSJD6JU.js";
|
|
14
|
+
import "./chunk-TS75XZ3U.js";
|
|
15
|
+
import "./chunk-BO3XPXQ6.js";
|
|
16
|
+
import "./chunk-H2HOWIJ6.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-S5H4MWF5.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-5AFK4Q3X.js";
|
|
31
31
|
import {
|
|
32
32
|
apiUrl,
|
|
33
33
|
loadKeystore
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-H2HOWIJ6.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.22.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"taskmarket": "./dist/index.js"
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"tsx": "^4.7.0",
|
|
29
29
|
"typescript": "^5.3.3",
|
|
30
30
|
"vitest": "^2.0.0",
|
|
31
|
-
"@taskmarket/contracts": "0.0.0",
|
|
32
|
-
"@taskmarket/agent-host": "0.0.1",
|
|
33
31
|
"@taskmarket/eslint-config": "0.0.0",
|
|
32
|
+
"@taskmarket/agent-host": "0.0.1",
|
|
33
|
+
"@taskmarket/contracts": "0.0.0",
|
|
34
34
|
"@taskmarket/prettier-config": "0.0.0",
|
|
35
35
|
"@taskmarket/remote-tools": "0.0.1",
|
|
36
36
|
"@taskmarket/shared": "2.0.0",
|