@lucid-agents/taskmarket 1.31.0 → 1.32.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/{api-72EG7RDG.js → api-TEZH6URZ.js} +2 -2
- package/dist/{channels-WVJNWZHJ.js → channels-ZNOTOJIS.js} +4 -4
- package/dist/{chunk-SJZEU7FN.js → chunk-62QDQXS3.js} +15 -9
- package/dist/{chunk-LEQ4JRAS.js → chunk-6WOUTOR4.js} +126 -13
- package/dist/{chunk-AUQJBVNF.js → chunk-CH3OZ5EM.js} +2 -2
- package/dist/{chunk-VIKSHMQ7.js → chunk-CWANOJKR.js} +3 -3
- package/dist/{chunk-7KGKGZLK.js → chunk-FJ4EPHIN.js} +1 -1
- package/dist/{chunk-GO4PAHB3.js → chunk-KC32V4AD.js} +2 -1
- package/dist/{chunk-4E4WY6AJ.js → chunk-LT4DDAEZ.js} +3 -3
- package/dist/{chunk-3YNTCMLY.js → chunk-OUV2RQSB.js} +1 -1
- package/dist/{chunk-PSFCFRC4.js → chunk-PSN4GDLD.js} +5 -5
- package/dist/{chunk-VLXBDE22.js → chunk-QVP3VXGD.js} +1 -1
- package/dist/{chunk-JI63EPPO.js → chunk-R6QEAGHK.js} +1 -1
- package/dist/{chunk-PCSHRHUX.js → chunk-SPG5J4RN.js} +3 -3
- package/dist/{doctor-JP77AWIU.js → doctor-5KU2FAWD.js} +8 -8
- package/dist/index.js +361 -171
- package/dist/{launch-DFIZTKMO.js → launch-RFRQPJAY.js} +11 -11
- package/dist/pi-extensions/xgate.cjs +126 -13
- package/dist/{read-auth-U6CQ2ATH.js → read-auth-PQ7DGWZC.js} +3 -3
- package/dist/{reconcile-TD7RMO4A.js → reconcile-ZTCPP3G5.js} +4 -4
- package/dist/{status-P3NIGGYJ.js → status-CDPRDSYZ.js} +8 -8
- package/dist/{sync-pull-TH3U6DPI.js → sync-pull-R7EBZKUG.js} +4 -4
- package/dist/{task-access-grants-4GVGJEKT.js → task-access-grants-H3RJAJ32.js} +2 -2
- package/package.json +3 -3
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
sha256Hex,
|
|
39
39
|
specHash,
|
|
40
40
|
taskStage
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-SPG5J4RN.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-FJ4EPHIN.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-R6QEAGHK.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-62QDQXS3.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-LT4DDAEZ.js";
|
|
92
92
|
import {
|
|
93
93
|
signReadAuth
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-CH3OZ5EM.js";
|
|
95
95
|
import {
|
|
96
96
|
taskAccessGrantHeaders
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-QVP3VXGD.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-CWANOJKR.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-OUV2RQSB.js";
|
|
136
136
|
import {
|
|
137
137
|
apiUrl,
|
|
138
138
|
keystoreExists,
|
|
139
139
|
loadKeystore,
|
|
140
140
|
selectedNetwork
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-KC32V4AD.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-6WOUTOR4.js";
|
|
151
151
|
import {
|
|
152
152
|
AgentLaunchError
|
|
153
153
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -30892,7 +30892,15 @@ var HookTaskModeSchema = external_exports.enum(["bounty", "claim", "pitch", "ben
|
|
|
30892
30892
|
var HookIndexInputSchema = external_exports.object({
|
|
30893
30893
|
limit: external_exports.number().int().min(1).max(100).optional().default(50),
|
|
30894
30894
|
/** The previous page's `nextCursor`; omit for the first page. */
|
|
30895
|
-
cursor: external_exports.string().min(1).max(512).optional()
|
|
30895
|
+
cursor: external_exports.string().min(1).max(512).optional(),
|
|
30896
|
+
/** List one chain's hooks; omitted, every served chain's. */
|
|
30897
|
+
chainId: external_exports.number().int().positive().optional(),
|
|
30898
|
+
/** Only hooks used by tasks of this mode. */
|
|
30899
|
+
mode: HookTaskModeSchema.optional(),
|
|
30900
|
+
/** Only hooks whose address contains these hex digits (a full address, or a fragment). */
|
|
30901
|
+
q: external_exports.string().trim().regex(/^(0x)?[0-9a-fA-F]{1,40}$/, "q must be hex digits of an address").optional(),
|
|
30902
|
+
/** Also include these hooks (comma-separated addresses, at most 20), whatever `q` matches. */
|
|
30903
|
+
addresses: csvArrayQueryParam(HookAddressSchema, { maxItems: 20 })
|
|
30896
30904
|
});
|
|
30897
30905
|
var HookGetInputSchema = external_exports.object({
|
|
30898
30906
|
address: HookAddressSchema,
|
|
@@ -33176,6 +33184,8 @@ var TaskPhase = external_exports.enum(["active", "in_review", "awaiting_settleme
|
|
|
33176
33184
|
var AuctionType = external_exports.enum(["dutch", "english", "reverse_dutch", "reverse_english"]);
|
|
33177
33185
|
var HireKind = external_exports.enum(["reserved", "quote", "request"]);
|
|
33178
33186
|
var HireState = external_exports.enum(["offered", "accepted", "declined", "lapsed", "withdrawn"]);
|
|
33187
|
+
var HIRE_TABS = ["offers", "active", "in_review", "completed", "ended"];
|
|
33188
|
+
var HireTab = external_exports.enum(HIRE_TABS);
|
|
33179
33189
|
var HIRE_DEFAULT_ACCEPT_WINDOW_SECS = 72 * 60 * 60;
|
|
33180
33190
|
var HIRE_MIN_ACCEPT_WINDOW_SECS = 60 * 60;
|
|
33181
33191
|
var HIRE_MAX_ACCEPT_WINDOW_SECS = 30 * 24 * 60 * 60;
|
|
@@ -33700,8 +33710,9 @@ var TaskListInputSchema = external_exports.object({
|
|
|
33700
33710
|
/** List one chain's tasks; omitted, every chain's. Must be one of `network.info`'s chains. */
|
|
33701
33711
|
chainId: external_exports.number().int().positive().optional(),
|
|
33702
33712
|
limit: external_exports.number().min(1).max(100).optional().default(20),
|
|
33703
|
-
// The `nextCursor` of the previous page
|
|
33704
|
-
|
|
33713
|
+
// The `nextCursor` of the previous page. Pass it back unchanged with the same sort and filters:
|
|
33714
|
+
// an ISO 8601 timestamp for the default `newest` sort, an opaque token for every other sort.
|
|
33715
|
+
cursor: external_exports.string().min(1).max(512).optional(),
|
|
33705
33716
|
status: external_exports.union([TaskStatus, external_exports.literal("ALL")]).optional().default("ALL"),
|
|
33706
33717
|
phase: TaskPhase.optional(),
|
|
33707
33718
|
mode: external_exports.enum(["ALL", "bounty", "claim", "pitch", "benchmark", "auction"]).optional().default("ALL"),
|
|
@@ -33728,6 +33739,9 @@ var TaskListInputSchema = external_exports.object({
|
|
|
33728
33739
|
hire: external_exports.enum(["true", "false"]).optional().transform((v) => v === void 0 ? void 0 : v === "true"),
|
|
33729
33740
|
hireKind: HireKind.optional(),
|
|
33730
33741
|
hireState: HireState.optional(),
|
|
33742
|
+
// Only hires under one Hires dashboard tab (offers, active, in_review, completed, ended), and
|
|
33743
|
+
// the response then carries `hireTabCounts` for every tab of the same filtered list.
|
|
33744
|
+
hireTab: HireTab.optional(),
|
|
33731
33745
|
// Hires made for one listed service, for a per-service track record.
|
|
33732
33746
|
hireServiceId: external_exports.string().trim().min(1).max(HIRE_SERVICE_ID_MAX_LENGTH).optional(),
|
|
33733
33747
|
// Reserved hires offered to this address (the reserved worker), whatever their state.
|
|
@@ -33752,10 +33766,18 @@ var TaskListInputSchema = external_exports.object({
|
|
|
33752
33766
|
var TaskListResponseSchema = external_exports.object({
|
|
33753
33767
|
tasks: external_exports.array(TaskResponseSchema),
|
|
33754
33768
|
nextCursor: external_exports.string().nullable(),
|
|
33755
|
-
hasMore: external_exports.boolean()
|
|
33769
|
+
hasMore: external_exports.boolean(),
|
|
33770
|
+
// Present when the request named a `hireTab`: how many hires sit under each tab.
|
|
33771
|
+
hireTabCounts: external_exports.record(HireTab, external_exports.number().int().nonnegative()).optional()
|
|
33756
33772
|
});
|
|
33757
33773
|
var TaskInboxInputSchema = external_exports.object({
|
|
33758
|
-
address: external_exports.string()
|
|
33774
|
+
address: external_exports.string(),
|
|
33775
|
+
// Optional and additive: older clients send only `address` and get the 50 newest of each list.
|
|
33776
|
+
limit: coerceNumber(external_exports.number().int().min(1).max(50)).default(50).optional(),
|
|
33777
|
+
// `newest` orders each list by creation time. `attention` selects server-side, over ALL the
|
|
33778
|
+
// address's tasks before the limit: requester list = disputed or awaiting review, then open or
|
|
33779
|
+
// in progress, then paid; worker list = running tasks due soonest, then submitted, then paid.
|
|
33780
|
+
sort: external_exports.enum(["newest", "attention"]).default("newest").optional()
|
|
33759
33781
|
});
|
|
33760
33782
|
var TaskInboxResponseSchema = external_exports.object({
|
|
33761
33783
|
asRequester: external_exports.array(TaskResponseSchema),
|
|
@@ -33763,7 +33785,10 @@ var TaskInboxResponseSchema = external_exports.object({
|
|
|
33763
33785
|
// Phase 3 (ADR-0030): private tasks this address has been wallet-allowlisted onto,
|
|
33764
33786
|
// surfaced here (self-authed only) as the in-app invite-discovery mechanism rather
|
|
33765
33787
|
// than a separate notification-center feature.
|
|
33766
|
-
invitedPrivateTasks: external_exports.array(TaskResponseSchema).optional().default([])
|
|
33788
|
+
invitedPrivateTasks: external_exports.array(TaskResponseSchema).optional().default([]),
|
|
33789
|
+
// Rewards still held in escrow across ALL of the address's posted tasks (base units and task
|
|
33790
|
+
// count), summed in SQL, so it is correct above the 50-task list cap.
|
|
33791
|
+
escrow: external_exports.object({ units: external_exports.string(), count: external_exports.number().int().nonnegative() }).optional()
|
|
33767
33792
|
});
|
|
33768
33793
|
var STANDARD_DECISION_WINDOW_SECS = 7 * 24 * 60 * 60;
|
|
33769
33794
|
var TaskActionIntent = external_exports.enum([
|
|
@@ -36662,7 +36687,41 @@ var EcosystemEventsInputSchema = external_exports.object({
|
|
|
36662
36687
|
* The chain to show; omitted means the backend's default chain. Must be one of network.info's
|
|
36663
36688
|
* chains.
|
|
36664
36689
|
*/
|
|
36665
|
-
chainId: external_exports.number().int().positive().optional()
|
|
36690
|
+
chainId: external_exports.number().int().positive().optional(),
|
|
36691
|
+
/**
|
|
36692
|
+
* Only events of these types: one type, or several separated by commas (at most the 13 types).
|
|
36693
|
+
* Applied before `limit`, so a rare type is returned however many newer events of other types
|
|
36694
|
+
* exist.
|
|
36695
|
+
*/
|
|
36696
|
+
type: external_exports.string().max(300).refine((value) => value.split(",").length <= 13 && value.split(",").every((part) => EcosystemEventTypeEnum.safeParse(part.trim()).success), "Unknown event type").optional(),
|
|
36697
|
+
/**
|
|
36698
|
+
* Search, applied before `limit`. Exactly one of: a full wallet address (0x and 40 hex digits;
|
|
36699
|
+
* same as `address`), a full task id (0x and 64 hex digits; same as `taskId`), or otherwise the
|
|
36700
|
+
* beginning of a task title, case-insensitive. Fragments of an address or a task id, and words
|
|
36701
|
+
* in the middle of a title, are not matched.
|
|
36702
|
+
*/
|
|
36703
|
+
q: external_exports.string().trim().min(1).max(80).optional(),
|
|
36704
|
+
/** Only events this wallet is part of: as requester, as worker, or as the agent that joined. */
|
|
36705
|
+
address: external_exports.string().regex(/^0x[a-fA-F0-9]{40}$/, "Invalid address").optional(),
|
|
36706
|
+
/** Only events about this task. */
|
|
36707
|
+
taskId: external_exports.string().min(1).max(128).optional(),
|
|
36708
|
+
/**
|
|
36709
|
+
* `oldest` (the default) is the feed read by `since`. `newest` returns the newest events first
|
|
36710
|
+
* and pages backwards through the whole history with `before`; it cannot be combined with
|
|
36711
|
+
* `since`. Giving `before` or `after` implies `newest`.
|
|
36712
|
+
*/
|
|
36713
|
+
order: external_exports.enum(["oldest", "newest"]).optional(),
|
|
36714
|
+
/**
|
|
36715
|
+
* With `newest`: the `nextBefore` of the previous page. Returns the events older than it,
|
|
36716
|
+
* newest first.
|
|
36717
|
+
*/
|
|
36718
|
+
before: external_exports.string().max(512).optional(),
|
|
36719
|
+
/**
|
|
36720
|
+
* With `newest`: a `nextBefore` or `beforeCursors` value. Returns the `limit` events immediately
|
|
36721
|
+
* newer than it, newest first, and `hasMore` is true when still newer events exist. Pages
|
|
36722
|
+
* forwards through what `before` paged backwards. Cannot be combined with `before`.
|
|
36723
|
+
*/
|
|
36724
|
+
after: external_exports.string().max(512).optional()
|
|
36666
36725
|
});
|
|
36667
36726
|
var EcosystemEventSchema = external_exports.object({
|
|
36668
36727
|
/** Stable, unique per event; safe to dedupe on. */
|
|
@@ -36689,12 +36748,26 @@ var EcosystemEventSchema = external_exports.object({
|
|
|
36689
36748
|
outcome: EcosystemDisputeOutcomeEnum.nullable().optional()
|
|
36690
36749
|
});
|
|
36691
36750
|
var EcosystemEventsResponseSchema = external_exports.object({
|
|
36692
|
-
/** Oldest first
|
|
36751
|
+
/** Oldest first, or newest first when the request had `order: newest` or `before`. */
|
|
36693
36752
|
items: external_exports.array(EcosystemEventSchema),
|
|
36694
36753
|
/** Cursor after the last returned item; pass back as `since`. Unchanged when nothing is new. */
|
|
36695
36754
|
cursor: external_exports.string().nullable(),
|
|
36696
|
-
/**
|
|
36697
|
-
|
|
36755
|
+
/**
|
|
36756
|
+
* True when more events exist after `cursor` (the client should fetch again immediately). In
|
|
36757
|
+
* `newest` order it is true when older events exist; with `after`, when newer ones exist.
|
|
36758
|
+
*/
|
|
36759
|
+
hasMore: external_exports.boolean(),
|
|
36760
|
+
/**
|
|
36761
|
+
* `newest` order only: pass as `before` for the next older page; null when there is none. Absent
|
|
36762
|
+
* in the default order. In `newest` order `items` are newest first and `cursor` is null.
|
|
36763
|
+
*/
|
|
36764
|
+
nextBefore: external_exports.string().nullable().optional(),
|
|
36765
|
+
/**
|
|
36766
|
+
* `newest` order only: for each item, in the same order, a position usable as `before` (events
|
|
36767
|
+
* older than that item) or `after` (events newer than it). A client that merges several chains'
|
|
36768
|
+
* pages uses the first and last item's to link the previous and next page.
|
|
36769
|
+
*/
|
|
36770
|
+
beforeCursors: external_exports.array(external_exports.string()).optional()
|
|
36698
36771
|
});
|
|
36699
36772
|
var EcosystemWireEventSchema = EcosystemEventSchema.extend({
|
|
36700
36773
|
type: external_exports.string(),
|
|
@@ -52902,6 +52975,9 @@ var TASKMARKET_CHAINS = Object.freeze({
|
|
|
52902
52975
|
// measured (#907), keep the same range as Base.
|
|
52903
52976
|
indexer: { head: "finalized", logRangeBlocks: 1e4 },
|
|
52904
52977
|
erc8004: { ...ERC8004_MAINNET },
|
|
52978
|
+
sponsoredTasks: {
|
|
52979
|
+
factory: "0xaf0FEf9aC0be7295a1761b858b956a127ceceC1F"
|
|
52980
|
+
},
|
|
52905
52981
|
wallets: { coinbase: false },
|
|
52906
52982
|
// Relay quotes deposit-address routes into mainnet OUSD (issue #1648); Moderato has none.
|
|
52907
52983
|
features: { ...TEMPO_FEATURES, relayFunding: true },
|
|
@@ -53385,8 +53461,11 @@ var ProjectsListInputSchema = external_exports.object({
|
|
|
53385
53461
|
/**
|
|
53386
53462
|
* `funding` lists every project on the chain that is still open for backing (not closed,
|
|
53387
53463
|
* end date ahead), newest first, whoever owns it; `address` and `role` are ignored.
|
|
53464
|
+
* `open` keeps, among the projects of `address` and `role`, only those still open (not closed,
|
|
53465
|
+
* end date ahead), applied before `limit`, so an owner's open projects are found however many
|
|
53466
|
+
* closed or ended ones are newer.
|
|
53388
53467
|
*/
|
|
53389
|
-
status: external_exports.enum(["funding"]).optional(),
|
|
53468
|
+
status: external_exports.enum(["funding", "open"]).optional(),
|
|
53390
53469
|
/**
|
|
53391
53470
|
* With `status=funding` only: keep the open projects whose name starts with this text
|
|
53392
53471
|
* (case-insensitive) or whose id it is (`42` or `#42`). 2 to 80 characters; at most
|
|
@@ -53903,6 +53982,7 @@ var OwnerWorkflowStatusFilterSchema = external_exports.enum([
|
|
|
53903
53982
|
var OwnerWorkflowListInputSchema = external_exports.object({
|
|
53904
53983
|
owner: EthAddressSchema.describe("The project owner wallet"),
|
|
53905
53984
|
chainId: external_exports.number().int().positive().optional(),
|
|
53985
|
+
projectId: external_exports.number().int().positive().optional().describe("Only the workflows of this project (it must be one the wallet owns)"),
|
|
53906
53986
|
limit: external_exports.number().int().min(1).max(OWNER_AUTOMATIONS_LIST_MAX).default(OWNER_AUTOMATIONS_LIST_DEFAULT),
|
|
53907
53987
|
cursor: OwnerCursorSchema,
|
|
53908
53988
|
status: OwnerWorkflowStatusFilterSchema.default("all").describe("needs_action: the newest run waits for the owner's gate approval or failed; running; failed; idle: no run going; all")
|
|
@@ -53931,6 +54011,7 @@ var OwnerScheduleStatusFilterSchema = external_exports.union([
|
|
|
53931
54011
|
var OwnerScheduleListInputSchema = external_exports.object({
|
|
53932
54012
|
owner: EthAddressSchema.describe("The project owner wallet"),
|
|
53933
54013
|
chainId: external_exports.number().int().positive().optional(),
|
|
54014
|
+
projectId: external_exports.number().int().positive().optional().describe("Only the schedules of this project (it must be one the wallet owns)"),
|
|
53934
54015
|
limit: external_exports.number().int().min(1).max(OWNER_AUTOMATIONS_LIST_MAX).default(OWNER_AUTOMATIONS_LIST_DEFAULT),
|
|
53935
54016
|
cursor: OwnerCursorSchema,
|
|
53936
54017
|
status: OwnerScheduleStatusFilterSchema.default("all").describe("needs_action: its newest run failed or it paused after failures; a schedule status; or all")
|
|
@@ -55666,7 +55747,19 @@ var LauncherEventsSchema = external_exports.object({
|
|
|
55666
55747
|
var LauncherArtifactInputSchema = LauncherAgentIdSchema.extend({
|
|
55667
55748
|
artifactId: external_exports.string().uuid()
|
|
55668
55749
|
});
|
|
55750
|
+
var LauncherArtifactsInputSchema = external_exports.object({
|
|
55751
|
+
agentId: external_exports.string().uuid(),
|
|
55752
|
+
/** Only the files one turn (run) produced. */
|
|
55753
|
+
runId: external_exports.string().uuid().optional(),
|
|
55754
|
+
/** Only the versions of this exact file path. */
|
|
55755
|
+
path: external_exports.string().min(1).max(1024).optional(),
|
|
55756
|
+
limit: external_exports.number().int().min(1).max(100).default(100).optional(),
|
|
55757
|
+
/** The previous page's nextBefore. */
|
|
55758
|
+
before: external_exports.string().max(80).regex(/^\d{1,20}:[0-9a-f-]{36}$/).optional()
|
|
55759
|
+
});
|
|
55669
55760
|
var LauncherArtifactsSchema = external_exports.object({
|
|
55761
|
+
/** Pass as `before` for older files; null or absent at the end. */
|
|
55762
|
+
nextBefore: external_exports.string().nullable().optional(),
|
|
55670
55763
|
artifacts: external_exports.array(external_exports.object({
|
|
55671
55764
|
id: external_exports.string().uuid(),
|
|
55672
55765
|
runId: external_exports.string().uuid(),
|
|
@@ -81449,7 +81542,8 @@ var UpdateBugReportInputSchema = external_exports.object({
|
|
|
81449
81542
|
id: external_exports.string().uuid(),
|
|
81450
81543
|
status: BugReportStatusSchema.optional(),
|
|
81451
81544
|
duplicateOfId: external_exports.string().uuid().optional(),
|
|
81452
|
-
staffNote: external_exports.string().max(BUG_REPORT_STAFF_NOTE_MAX_CHARS).nullable().optional()
|
|
81545
|
+
staffNote: external_exports.string().max(BUG_REPORT_STAFF_NOTE_MAX_CHARS).nullable().optional(),
|
|
81546
|
+
severity: BugReportSeveritySchema.optional()
|
|
81453
81547
|
}).strict().refine((v) => v.status !== "duplicate" || v.duplicateOfId !== void 0, {
|
|
81454
81548
|
message: "duplicateOfId is required when status is duplicate",
|
|
81455
81549
|
path: ["duplicateOfId"]
|
|
@@ -81459,7 +81553,7 @@ var UpdateBugReportInputSchema = external_exports.object({
|
|
|
81459
81553
|
}).refine((v) => v.duplicateOfId === void 0 || v.duplicateOfId !== v.id, {
|
|
81460
81554
|
message: "A report cannot be a duplicate of itself",
|
|
81461
81555
|
path: ["duplicateOfId"]
|
|
81462
|
-
}).refine((v) => v.status !== void 0 || v.staffNote !== void 0, {
|
|
81556
|
+
}).refine((v) => v.status !== void 0 || v.staffNote !== void 0 || v.severity !== void 0, {
|
|
81463
81557
|
message: "Nothing to update"
|
|
81464
81558
|
});
|
|
81465
81559
|
var BUG_REPORT_MESSAGE_AUTHOR_KINDS = ["staff", "reporter"];
|
|
@@ -81554,6 +81648,25 @@ var SignedMarkBugReportAffectedInputSchema = external_exports.object({ id: exter
|
|
|
81554
81648
|
var HideBugReportCommentInputSchema = external_exports.object({ commentId: external_exports.string().uuid() }).strict();
|
|
81555
81649
|
var BlockBugReportCommenterInputSchema = external_exports.object({ wallet: external_exports.string().min(1).max(128), reason: external_exports.string().max(500).optional() }).strict();
|
|
81556
81650
|
var UnblockBugReportCommenterInputSchema = external_exports.object({ wallet: external_exports.string().min(1).max(128) }).strict();
|
|
81651
|
+
var BUG_INCIDENT_NOTICE_TITLE_MAX_CHARS = 120;
|
|
81652
|
+
var BUG_INCIDENT_NOTICE_BODY_MAX_CHARS = 600;
|
|
81653
|
+
var BugIncidentNoticeSchema = external_exports.object({
|
|
81654
|
+
id: external_exports.string().uuid(),
|
|
81655
|
+
title: external_exports.string(),
|
|
81656
|
+
body: external_exports.string(),
|
|
81657
|
+
/** The public number of the report that tracks it, when there is one. */
|
|
81658
|
+
reportNumber: external_exports.number().int().nullable(),
|
|
81659
|
+
createdAt: external_exports.string()
|
|
81660
|
+
});
|
|
81661
|
+
var ActiveBugIncidentNoticeOutputSchema = external_exports.object({
|
|
81662
|
+
notice: BugIncidentNoticeSchema.nullable()
|
|
81663
|
+
});
|
|
81664
|
+
var PostBugIncidentNoticeInputSchema = external_exports.object({
|
|
81665
|
+
title: external_exports.string().trim().min(1).max(BUG_INCIDENT_NOTICE_TITLE_MAX_CHARS),
|
|
81666
|
+
body: external_exports.string().trim().min(1).max(BUG_INCIDENT_NOTICE_BODY_MAX_CHARS),
|
|
81667
|
+
reportId: external_exports.string().uuid().optional()
|
|
81668
|
+
}).strict();
|
|
81669
|
+
var ResolveBugIncidentNoticeOutputSchema = external_exports.object({ resolved: external_exports.boolean() });
|
|
81557
81670
|
|
|
81558
81671
|
// ../../packages/shared/dist/lib/bug-report-write.js
|
|
81559
81672
|
init_cjs_shims();
|
|
@@ -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-CH3OZ5EM.js";
|
|
5
|
+
import "./chunk-KC32V4AD.js";
|
|
6
|
+
import "./chunk-6WOUTOR4.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-CWANOJKR.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-OUV2RQSB.js";
|
|
13
|
+
import "./chunk-KC32V4AD.js";
|
|
14
|
+
import "./chunk-6WOUTOR4.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-PSN4GDLD.js";
|
|
8
|
+
import "./chunk-SPG5J4RN.js";
|
|
9
|
+
import "./chunk-R6QEAGHK.js";
|
|
10
|
+
import "./chunk-LT4DDAEZ.js";
|
|
11
|
+
import "./chunk-CWANOJKR.js";
|
|
12
|
+
import "./chunk-OUV2RQSB.js";
|
|
13
|
+
import "./chunk-KC32V4AD.js";
|
|
14
|
+
import "./chunk-6WOUTOR4.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-FJ4EPHIN.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-R6QEAGHK.js";
|
|
31
31
|
import {
|
|
32
32
|
apiUrl,
|
|
33
33
|
loadKeystore
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-KC32V4AD.js";
|
|
35
|
+
import "./chunk-6WOUTOR4.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-QVP3VXGD.js";
|
|
7
|
+
import "./chunk-6WOUTOR4.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.32.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"taskmarket": "./dist/index.js"
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"tsx": "^4.7.0",
|
|
31
31
|
"typescript": "^5.3.3",
|
|
32
32
|
"vitest": "^2.0.0",
|
|
33
|
-
"@taskmarket/contracts": "0.0.0",
|
|
34
33
|
"@taskmarket/agent-host": "0.0.1",
|
|
34
|
+
"@taskmarket/contracts": "0.0.0",
|
|
35
35
|
"@taskmarket/eslint-config": "0.0.0",
|
|
36
|
-
"@taskmarket/prettier-config": "0.0.0",
|
|
37
36
|
"@taskmarket/remote-tools": "0.0.1",
|
|
37
|
+
"@taskmarket/prettier-config": "0.0.0",
|
|
38
38
|
"@taskmarket/shared": "2.0.0",
|
|
39
39
|
"@taskmarket/solana-sponsored-client": "0.1.0",
|
|
40
40
|
"@taskmarket/x402-payer": "0.1.0"
|