@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
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
parseFailureBody,
|
|
15
15
|
readFailureBody,
|
|
16
16
|
withErrorContext
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-KC32V4AD.js";
|
|
18
|
+
import "./chunk-6WOUTOR4.js";
|
|
19
19
|
import "./chunk-S7SJMJ2I.js";
|
|
20
20
|
export {
|
|
21
21
|
ApiError,
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
selectRail,
|
|
11
11
|
uncertainPurchases,
|
|
12
12
|
withdrawalHatch
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-CWANOJKR.js";
|
|
14
|
+
import "./chunk-OUV2RQSB.js";
|
|
15
|
+
import "./chunk-KC32V4AD.js";
|
|
16
|
+
import "./chunk-6WOUTOR4.js";
|
|
17
17
|
import "./chunk-YM4S6IE4.js";
|
|
18
18
|
import "./chunk-XJOB4NMV.js";
|
|
19
19
|
import "./chunk-S7SJMJ2I.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
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-LT4DDAEZ.js";
|
|
5
5
|
import {
|
|
6
6
|
signReadAuth
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CH3OZ5EM.js";
|
|
8
8
|
import {
|
|
9
9
|
taskAccessGrantHeaders
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QVP3VXGD.js";
|
|
11
11
|
import {
|
|
12
12
|
apiGet,
|
|
13
13
|
apiPost,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
runWorkerAction,
|
|
16
16
|
signMessage,
|
|
17
17
|
taskRequiresTap
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KC32V4AD.js";
|
|
19
19
|
import {
|
|
20
20
|
TaskAwardSchema,
|
|
21
21
|
buildClaimMessage,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
buildSubmitUploadMessage,
|
|
24
24
|
isRecordingPendingResponse,
|
|
25
25
|
submitUploadExpiresAt
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6WOUTOR4.js";
|
|
27
27
|
|
|
28
28
|
// src/sdk/artifact-upload.ts
|
|
29
29
|
import { extname } from "path";
|
|
@@ -110,9 +110,9 @@ function putArtifactBytes(uploadUrl, data, mimeType, onProgress) {
|
|
|
110
110
|
// src/lib/worker-attestation.ts
|
|
111
111
|
var requirementCache = /* @__PURE__ */ new Map();
|
|
112
112
|
async function defaultGet(path) {
|
|
113
|
-
const { apiGet: apiGet2 } = await import("./api-
|
|
114
|
-
const { signReadAuth: signReadAuth2 } = await import("./read-auth-
|
|
115
|
-
const { taskAccessGrantHeaders: taskAccessGrantHeaders2 } = await import("./task-access-grants-
|
|
113
|
+
const { apiGet: apiGet2 } = await import("./api-TEZH6URZ.js");
|
|
114
|
+
const { signReadAuth: signReadAuth2 } = await import("./read-auth-PQ7DGWZC.js");
|
|
115
|
+
const { taskAccessGrantHeaders: taskAccessGrantHeaders2 } = await import("./task-access-grants-H3RJAJ32.js");
|
|
116
116
|
const taskId = /^\/api\/tasks\/([^/?]+)/.exec(path)?.[1] ?? "";
|
|
117
117
|
return apiGet2(path, {
|
|
118
118
|
headers: {
|
|
@@ -266,6 +266,7 @@ async function listTasks(ctx, filter = {}) {
|
|
|
266
266
|
if (filter.hire !== void 0) params.set("hire", String(filter.hire));
|
|
267
267
|
if (filter.hireKind) params.set("hireKind", filter.hireKind);
|
|
268
268
|
if (filter.hireState) params.set("hireState", filter.hireState);
|
|
269
|
+
if (filter.hireTab) params.set("hireTab", filter.hireTab);
|
|
269
270
|
if (filter.hireServiceId) params.set("hireServiceId", filter.hireServiceId);
|
|
270
271
|
if (filter.reservedWorker) params.set("reservedWorker", filter.reservedWorker);
|
|
271
272
|
if (filter.limit) params.set("limit", filter.limit);
|
|
@@ -274,7 +275,12 @@ async function listTasks(ctx, filter = {}) {
|
|
|
274
275
|
`/api/tasks?${params.toString()}`,
|
|
275
276
|
await readAuthHeaders(ctx)
|
|
276
277
|
);
|
|
277
|
-
return {
|
|
278
|
+
return {
|
|
279
|
+
tasks: result.tasks,
|
|
280
|
+
hasMore: result.hasMore,
|
|
281
|
+
nextCursor: result.nextCursor,
|
|
282
|
+
...result.hireTabCounts ? { hireTabCounts: result.hireTabCounts } : {}
|
|
283
|
+
};
|
|
278
284
|
}
|
|
279
285
|
async function listTaskSubmissions(ctx, ref, filter = {}) {
|
|
280
286
|
const headers = await readAuthHeaders(ctx);
|
|
@@ -1584,7 +1584,15 @@ var HookTaskModeSchema = z9.enum(["bounty", "claim", "pitch", "benchmark", "auct
|
|
|
1584
1584
|
var HookIndexInputSchema = z9.object({
|
|
1585
1585
|
limit: z9.number().int().min(1).max(100).optional().default(50),
|
|
1586
1586
|
/** The previous page's `nextCursor`; omit for the first page. */
|
|
1587
|
-
cursor: z9.string().min(1).max(512).optional()
|
|
1587
|
+
cursor: z9.string().min(1).max(512).optional(),
|
|
1588
|
+
/** List one chain's hooks; omitted, every served chain's. */
|
|
1589
|
+
chainId: z9.number().int().positive().optional(),
|
|
1590
|
+
/** Only hooks used by tasks of this mode. */
|
|
1591
|
+
mode: HookTaskModeSchema.optional(),
|
|
1592
|
+
/** Only hooks whose address contains these hex digits (a full address, or a fragment). */
|
|
1593
|
+
q: z9.string().trim().regex(/^(0x)?[0-9a-fA-F]{1,40}$/, "q must be hex digits of an address").optional(),
|
|
1594
|
+
/** Also include these hooks (comma-separated addresses, at most 20), whatever `q` matches. */
|
|
1595
|
+
addresses: csvArrayQueryParam(HookAddressSchema, { maxItems: 20 })
|
|
1588
1596
|
});
|
|
1589
1597
|
var HookGetInputSchema = z9.object({
|
|
1590
1598
|
address: HookAddressSchema,
|
|
@@ -3769,6 +3777,8 @@ var TaskPhase = z16.enum(["active", "in_review", "awaiting_settlement", "resolve
|
|
|
3769
3777
|
var AuctionType = z16.enum(["dutch", "english", "reverse_dutch", "reverse_english"]);
|
|
3770
3778
|
var HireKind = z16.enum(["reserved", "quote", "request"]);
|
|
3771
3779
|
var HireState = z16.enum(["offered", "accepted", "declined", "lapsed", "withdrawn"]);
|
|
3780
|
+
var HIRE_TABS = ["offers", "active", "in_review", "completed", "ended"];
|
|
3781
|
+
var HireTab = z16.enum(HIRE_TABS);
|
|
3772
3782
|
var HIRE_DEFAULT_ACCEPT_WINDOW_SECS = 72 * 60 * 60;
|
|
3773
3783
|
var HIRE_MIN_ACCEPT_WINDOW_SECS = 60 * 60;
|
|
3774
3784
|
var HIRE_MAX_ACCEPT_WINDOW_SECS = 30 * 24 * 60 * 60;
|
|
@@ -4332,8 +4342,9 @@ var TaskListInputSchema = z16.object({
|
|
|
4332
4342
|
/** List one chain's tasks; omitted, every chain's. Must be one of `network.info`'s chains. */
|
|
4333
4343
|
chainId: z16.number().int().positive().optional(),
|
|
4334
4344
|
limit: z16.number().min(1).max(100).optional().default(20),
|
|
4335
|
-
// The `nextCursor` of the previous page
|
|
4336
|
-
|
|
4345
|
+
// The `nextCursor` of the previous page. Pass it back unchanged with the same sort and filters:
|
|
4346
|
+
// an ISO 8601 timestamp for the default `newest` sort, an opaque token for every other sort.
|
|
4347
|
+
cursor: z16.string().min(1).max(512).optional(),
|
|
4337
4348
|
status: z16.union([TaskStatus, z16.literal("ALL")]).optional().default("ALL"),
|
|
4338
4349
|
phase: TaskPhase.optional(),
|
|
4339
4350
|
mode: z16.enum(["ALL", "bounty", "claim", "pitch", "benchmark", "auction"]).optional().default("ALL"),
|
|
@@ -4360,6 +4371,9 @@ var TaskListInputSchema = z16.object({
|
|
|
4360
4371
|
hire: z16.enum(["true", "false"]).optional().transform((v) => v === void 0 ? void 0 : v === "true"),
|
|
4361
4372
|
hireKind: HireKind.optional(),
|
|
4362
4373
|
hireState: HireState.optional(),
|
|
4374
|
+
// Only hires under one Hires dashboard tab (offers, active, in_review, completed, ended), and
|
|
4375
|
+
// the response then carries `hireTabCounts` for every tab of the same filtered list.
|
|
4376
|
+
hireTab: HireTab.optional(),
|
|
4363
4377
|
// Hires made for one listed service, for a per-service track record.
|
|
4364
4378
|
hireServiceId: z16.string().trim().min(1).max(HIRE_SERVICE_ID_MAX_LENGTH).optional(),
|
|
4365
4379
|
// Reserved hires offered to this address (the reserved worker), whatever their state.
|
|
@@ -4384,10 +4398,18 @@ var TaskListInputSchema = z16.object({
|
|
|
4384
4398
|
var TaskListResponseSchema = z16.object({
|
|
4385
4399
|
tasks: z16.array(TaskResponseSchema),
|
|
4386
4400
|
nextCursor: z16.string().nullable(),
|
|
4387
|
-
hasMore: z16.boolean()
|
|
4401
|
+
hasMore: z16.boolean(),
|
|
4402
|
+
// Present when the request named a `hireTab`: how many hires sit under each tab.
|
|
4403
|
+
hireTabCounts: z16.record(HireTab, z16.number().int().nonnegative()).optional()
|
|
4388
4404
|
});
|
|
4389
4405
|
var TaskInboxInputSchema = z16.object({
|
|
4390
|
-
address: z16.string()
|
|
4406
|
+
address: z16.string(),
|
|
4407
|
+
// Optional and additive: older clients send only `address` and get the 50 newest of each list.
|
|
4408
|
+
limit: coerceNumber(z16.number().int().min(1).max(50)).default(50).optional(),
|
|
4409
|
+
// `newest` orders each list by creation time. `attention` selects server-side, over ALL the
|
|
4410
|
+
// address's tasks before the limit: requester list = disputed or awaiting review, then open or
|
|
4411
|
+
// in progress, then paid; worker list = running tasks due soonest, then submitted, then paid.
|
|
4412
|
+
sort: z16.enum(["newest", "attention"]).default("newest").optional()
|
|
4391
4413
|
});
|
|
4392
4414
|
var TaskInboxResponseSchema = z16.object({
|
|
4393
4415
|
asRequester: z16.array(TaskResponseSchema),
|
|
@@ -4395,7 +4417,10 @@ var TaskInboxResponseSchema = z16.object({
|
|
|
4395
4417
|
// Phase 3 (ADR-0030): private tasks this address has been wallet-allowlisted onto,
|
|
4396
4418
|
// surfaced here (self-authed only) as the in-app invite-discovery mechanism rather
|
|
4397
4419
|
// than a separate notification-center feature.
|
|
4398
|
-
invitedPrivateTasks: z16.array(TaskResponseSchema).optional().default([])
|
|
4420
|
+
invitedPrivateTasks: z16.array(TaskResponseSchema).optional().default([]),
|
|
4421
|
+
// Rewards still held in escrow across ALL of the address's posted tasks (base units and task
|
|
4422
|
+
// count), summed in SQL, so it is correct above the 50-task list cap.
|
|
4423
|
+
escrow: z16.object({ units: z16.string(), count: z16.number().int().nonnegative() }).optional()
|
|
4399
4424
|
});
|
|
4400
4425
|
var STANDARD_DECISION_WINDOW_SECS = 7 * 24 * 60 * 60;
|
|
4401
4426
|
var TaskActionIntent = z16.enum([
|
|
@@ -7262,7 +7287,41 @@ var EcosystemEventsInputSchema = z39.object({
|
|
|
7262
7287
|
* The chain to show; omitted means the backend's default chain. Must be one of network.info's
|
|
7263
7288
|
* chains.
|
|
7264
7289
|
*/
|
|
7265
|
-
chainId: z39.number().int().positive().optional()
|
|
7290
|
+
chainId: z39.number().int().positive().optional(),
|
|
7291
|
+
/**
|
|
7292
|
+
* Only events of these types: one type, or several separated by commas (at most the 13 types).
|
|
7293
|
+
* Applied before `limit`, so a rare type is returned however many newer events of other types
|
|
7294
|
+
* exist.
|
|
7295
|
+
*/
|
|
7296
|
+
type: z39.string().max(300).refine((value) => value.split(",").length <= 13 && value.split(",").every((part) => EcosystemEventTypeEnum.safeParse(part.trim()).success), "Unknown event type").optional(),
|
|
7297
|
+
/**
|
|
7298
|
+
* Search, applied before `limit`. Exactly one of: a full wallet address (0x and 40 hex digits;
|
|
7299
|
+
* same as `address`), a full task id (0x and 64 hex digits; same as `taskId`), or otherwise the
|
|
7300
|
+
* beginning of a task title, case-insensitive. Fragments of an address or a task id, and words
|
|
7301
|
+
* in the middle of a title, are not matched.
|
|
7302
|
+
*/
|
|
7303
|
+
q: z39.string().trim().min(1).max(80).optional(),
|
|
7304
|
+
/** Only events this wallet is part of: as requester, as worker, or as the agent that joined. */
|
|
7305
|
+
address: z39.string().regex(/^0x[a-fA-F0-9]{40}$/, "Invalid address").optional(),
|
|
7306
|
+
/** Only events about this task. */
|
|
7307
|
+
taskId: z39.string().min(1).max(128).optional(),
|
|
7308
|
+
/**
|
|
7309
|
+
* `oldest` (the default) is the feed read by `since`. `newest` returns the newest events first
|
|
7310
|
+
* and pages backwards through the whole history with `before`; it cannot be combined with
|
|
7311
|
+
* `since`. Giving `before` or `after` implies `newest`.
|
|
7312
|
+
*/
|
|
7313
|
+
order: z39.enum(["oldest", "newest"]).optional(),
|
|
7314
|
+
/**
|
|
7315
|
+
* With `newest`: the `nextBefore` of the previous page. Returns the events older than it,
|
|
7316
|
+
* newest first.
|
|
7317
|
+
*/
|
|
7318
|
+
before: z39.string().max(512).optional(),
|
|
7319
|
+
/**
|
|
7320
|
+
* With `newest`: a `nextBefore` or `beforeCursors` value. Returns the `limit` events immediately
|
|
7321
|
+
* newer than it, newest first, and `hasMore` is true when still newer events exist. Pages
|
|
7322
|
+
* forwards through what `before` paged backwards. Cannot be combined with `before`.
|
|
7323
|
+
*/
|
|
7324
|
+
after: z39.string().max(512).optional()
|
|
7266
7325
|
});
|
|
7267
7326
|
var EcosystemEventSchema = z39.object({
|
|
7268
7327
|
/** Stable, unique per event; safe to dedupe on. */
|
|
@@ -7289,12 +7348,26 @@ var EcosystemEventSchema = z39.object({
|
|
|
7289
7348
|
outcome: EcosystemDisputeOutcomeEnum.nullable().optional()
|
|
7290
7349
|
});
|
|
7291
7350
|
var EcosystemEventsResponseSchema = z39.object({
|
|
7292
|
-
/** Oldest first
|
|
7351
|
+
/** Oldest first, or newest first when the request had `order: newest` or `before`. */
|
|
7293
7352
|
items: z39.array(EcosystemEventSchema),
|
|
7294
7353
|
/** Cursor after the last returned item; pass back as `since`. Unchanged when nothing is new. */
|
|
7295
7354
|
cursor: z39.string().nullable(),
|
|
7296
|
-
/**
|
|
7297
|
-
|
|
7355
|
+
/**
|
|
7356
|
+
* True when more events exist after `cursor` (the client should fetch again immediately). In
|
|
7357
|
+
* `newest` order it is true when older events exist; with `after`, when newer ones exist.
|
|
7358
|
+
*/
|
|
7359
|
+
hasMore: z39.boolean(),
|
|
7360
|
+
/**
|
|
7361
|
+
* `newest` order only: pass as `before` for the next older page; null when there is none. Absent
|
|
7362
|
+
* in the default order. In `newest` order `items` are newest first and `cursor` is null.
|
|
7363
|
+
*/
|
|
7364
|
+
nextBefore: z39.string().nullable().optional(),
|
|
7365
|
+
/**
|
|
7366
|
+
* `newest` order only: for each item, in the same order, a position usable as `before` (events
|
|
7367
|
+
* older than that item) or `after` (events newer than it). A client that merges several chains'
|
|
7368
|
+
* pages uses the first and last item's to link the previous and next page.
|
|
7369
|
+
*/
|
|
7370
|
+
beforeCursors: z39.array(z39.string()).optional()
|
|
7298
7371
|
});
|
|
7299
7372
|
var EcosystemWireEventSchema = EcosystemEventSchema.extend({
|
|
7300
7373
|
type: z39.string(),
|
|
@@ -8260,6 +8333,9 @@ var TASKMARKET_CHAINS = Object.freeze({
|
|
|
8260
8333
|
// measured (#907), keep the same range as Base.
|
|
8261
8334
|
indexer: { head: "finalized", logRangeBlocks: 1e4 },
|
|
8262
8335
|
erc8004: { ...ERC8004_MAINNET },
|
|
8336
|
+
sponsoredTasks: {
|
|
8337
|
+
factory: "0xaf0FEf9aC0be7295a1761b858b956a127ceceC1F"
|
|
8338
|
+
},
|
|
8263
8339
|
wallets: { coinbase: false },
|
|
8264
8340
|
// Relay quotes deposit-address routes into mainnet OUSD (issue #1648); Moderato has none.
|
|
8265
8341
|
features: { ...TEMPO_FEATURES, relayFunding: true },
|
|
@@ -8795,8 +8871,11 @@ var ProjectsListInputSchema = z51.object({
|
|
|
8795
8871
|
/**
|
|
8796
8872
|
* `funding` lists every project on the chain that is still open for backing (not closed,
|
|
8797
8873
|
* end date ahead), newest first, whoever owns it; `address` and `role` are ignored.
|
|
8874
|
+
* `open` keeps, among the projects of `address` and `role`, only those still open (not closed,
|
|
8875
|
+
* end date ahead), applied before `limit`, so an owner's open projects are found however many
|
|
8876
|
+
* closed or ended ones are newer.
|
|
8798
8877
|
*/
|
|
8799
|
-
status: z51.enum(["funding"]).optional(),
|
|
8878
|
+
status: z51.enum(["funding", "open"]).optional(),
|
|
8800
8879
|
/**
|
|
8801
8880
|
* With `status=funding` only: keep the open projects whose name starts with this text
|
|
8802
8881
|
* (case-insensitive) or whose id it is (`42` or `#42`). 2 to 80 characters; at most
|
|
@@ -9494,6 +9573,7 @@ var OwnerWorkflowStatusFilterSchema = z54.enum([
|
|
|
9494
9573
|
var OwnerWorkflowListInputSchema = z54.object({
|
|
9495
9574
|
owner: EthAddressSchema.describe("The project owner wallet"),
|
|
9496
9575
|
chainId: z54.number().int().positive().optional(),
|
|
9576
|
+
projectId: z54.number().int().positive().optional().describe("Only the workflows of this project (it must be one the wallet owns)"),
|
|
9497
9577
|
limit: z54.number().int().min(1).max(OWNER_AUTOMATIONS_LIST_MAX).default(OWNER_AUTOMATIONS_LIST_DEFAULT),
|
|
9498
9578
|
cursor: OwnerCursorSchema,
|
|
9499
9579
|
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")
|
|
@@ -9522,6 +9602,7 @@ var OwnerScheduleStatusFilterSchema = z54.union([
|
|
|
9522
9602
|
var OwnerScheduleListInputSchema = z54.object({
|
|
9523
9603
|
owner: EthAddressSchema.describe("The project owner wallet"),
|
|
9524
9604
|
chainId: z54.number().int().positive().optional(),
|
|
9605
|
+
projectId: z54.number().int().positive().optional().describe("Only the schedules of this project (it must be one the wallet owns)"),
|
|
9525
9606
|
limit: z54.number().int().min(1).max(OWNER_AUTOMATIONS_LIST_MAX).default(OWNER_AUTOMATIONS_LIST_DEFAULT),
|
|
9526
9607
|
cursor: OwnerCursorSchema,
|
|
9527
9608
|
status: OwnerScheduleStatusFilterSchema.default("all").describe("needs_action: its newest run failed or it paused after failures; a schedule status; or all")
|
|
@@ -12772,7 +12853,19 @@ var LauncherEventsSchema = z62.object({
|
|
|
12772
12853
|
var LauncherArtifactInputSchema = LauncherAgentIdSchema.extend({
|
|
12773
12854
|
artifactId: z62.string().uuid()
|
|
12774
12855
|
});
|
|
12856
|
+
var LauncherArtifactsInputSchema = z62.object({
|
|
12857
|
+
agentId: z62.string().uuid(),
|
|
12858
|
+
/** Only the files one turn (run) produced. */
|
|
12859
|
+
runId: z62.string().uuid().optional(),
|
|
12860
|
+
/** Only the versions of this exact file path. */
|
|
12861
|
+
path: z62.string().min(1).max(1024).optional(),
|
|
12862
|
+
limit: z62.number().int().min(1).max(100).default(100).optional(),
|
|
12863
|
+
/** The previous page's nextBefore. */
|
|
12864
|
+
before: z62.string().max(80).regex(/^\d{1,20}:[0-9a-f-]{36}$/).optional()
|
|
12865
|
+
});
|
|
12775
12866
|
var LauncherArtifactsSchema = z62.object({
|
|
12867
|
+
/** Pass as `before` for older files; null or absent at the end. */
|
|
12868
|
+
nextBefore: z62.string().nullable().optional(),
|
|
12776
12869
|
artifacts: z62.array(z62.object({
|
|
12777
12870
|
id: z62.string().uuid(),
|
|
12778
12871
|
runId: z62.string().uuid(),
|
|
@@ -17825,7 +17918,8 @@ var UpdateBugReportInputSchema = z101.object({
|
|
|
17825
17918
|
id: z101.string().uuid(),
|
|
17826
17919
|
status: BugReportStatusSchema.optional(),
|
|
17827
17920
|
duplicateOfId: z101.string().uuid().optional(),
|
|
17828
|
-
staffNote: z101.string().max(BUG_REPORT_STAFF_NOTE_MAX_CHARS).nullable().optional()
|
|
17921
|
+
staffNote: z101.string().max(BUG_REPORT_STAFF_NOTE_MAX_CHARS).nullable().optional(),
|
|
17922
|
+
severity: BugReportSeveritySchema.optional()
|
|
17829
17923
|
}).strict().refine((v) => v.status !== "duplicate" || v.duplicateOfId !== void 0, {
|
|
17830
17924
|
message: "duplicateOfId is required when status is duplicate",
|
|
17831
17925
|
path: ["duplicateOfId"]
|
|
@@ -17835,7 +17929,7 @@ var UpdateBugReportInputSchema = z101.object({
|
|
|
17835
17929
|
}).refine((v) => v.duplicateOfId === void 0 || v.duplicateOfId !== v.id, {
|
|
17836
17930
|
message: "A report cannot be a duplicate of itself",
|
|
17837
17931
|
path: ["duplicateOfId"]
|
|
17838
|
-
}).refine((v) => v.status !== void 0 || v.staffNote !== void 0, {
|
|
17932
|
+
}).refine((v) => v.status !== void 0 || v.staffNote !== void 0 || v.severity !== void 0, {
|
|
17839
17933
|
message: "Nothing to update"
|
|
17840
17934
|
});
|
|
17841
17935
|
var BUG_REPORT_MESSAGE_AUTHOR_KINDS = ["staff", "reporter"];
|
|
@@ -17930,6 +18024,25 @@ var SignedMarkBugReportAffectedInputSchema = z101.object({ id: z101.string().uui
|
|
|
17930
18024
|
var HideBugReportCommentInputSchema = z101.object({ commentId: z101.string().uuid() }).strict();
|
|
17931
18025
|
var BlockBugReportCommenterInputSchema = z101.object({ wallet: z101.string().min(1).max(128), reason: z101.string().max(500).optional() }).strict();
|
|
17932
18026
|
var UnblockBugReportCommenterInputSchema = z101.object({ wallet: z101.string().min(1).max(128) }).strict();
|
|
18027
|
+
var BUG_INCIDENT_NOTICE_TITLE_MAX_CHARS = 120;
|
|
18028
|
+
var BUG_INCIDENT_NOTICE_BODY_MAX_CHARS = 600;
|
|
18029
|
+
var BugIncidentNoticeSchema = z101.object({
|
|
18030
|
+
id: z101.string().uuid(),
|
|
18031
|
+
title: z101.string(),
|
|
18032
|
+
body: z101.string(),
|
|
18033
|
+
/** The public number of the report that tracks it, when there is one. */
|
|
18034
|
+
reportNumber: z101.number().int().nullable(),
|
|
18035
|
+
createdAt: z101.string()
|
|
18036
|
+
});
|
|
18037
|
+
var ActiveBugIncidentNoticeOutputSchema = z101.object({
|
|
18038
|
+
notice: BugIncidentNoticeSchema.nullable()
|
|
18039
|
+
});
|
|
18040
|
+
var PostBugIncidentNoticeInputSchema = z101.object({
|
|
18041
|
+
title: z101.string().trim().min(1).max(BUG_INCIDENT_NOTICE_TITLE_MAX_CHARS),
|
|
18042
|
+
body: z101.string().trim().min(1).max(BUG_INCIDENT_NOTICE_BODY_MAX_CHARS),
|
|
18043
|
+
reportId: z101.string().uuid().optional()
|
|
18044
|
+
}).strict();
|
|
18045
|
+
var ResolveBugIncidentNoticeOutputSchema = z101.object({ resolved: z101.boolean() });
|
|
17933
18046
|
|
|
17934
18047
|
// ../../packages/shared/dist/lib/bug-report-write.js
|
|
17935
18048
|
import { keccak256 as keccak2562, stringToBytes } from "viem";
|
|
@@ -2,12 +2,12 @@ import { createRequire as __tmCreateRequire } from 'node:module'; import { fileU
|
|
|
2
2
|
import {
|
|
3
3
|
createWalletAccountFromKeystore,
|
|
4
4
|
loadKeystore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KC32V4AD.js";
|
|
6
6
|
import {
|
|
7
7
|
READ_AUTH_ADDRESS_HEADER,
|
|
8
8
|
READ_AUTH_SIGNATURE_HEADER,
|
|
9
9
|
buildReadAuthMessage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6WOUTOR4.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/read-auth.ts
|
|
13
13
|
async function signReadAuth() {
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
listX402Payments,
|
|
11
11
|
loadX402Policy,
|
|
12
12
|
rpcUrlForNetwork
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OUV2RQSB.js";
|
|
14
14
|
import {
|
|
15
15
|
createWalletAccountFromKeystore,
|
|
16
16
|
keystoreExists,
|
|
17
17
|
loadKeystore
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KC32V4AD.js";
|
|
19
19
|
import {
|
|
20
20
|
getTaskmarketHome,
|
|
21
21
|
taskmarketChain
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6WOUTOR4.js";
|
|
23
23
|
import {
|
|
24
24
|
AgentLaunchError
|
|
25
25
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
paymentProtocolFor,
|
|
10
10
|
taskmarketChain,
|
|
11
11
|
verifierProviderId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6WOUTOR4.js";
|
|
13
13
|
|
|
14
14
|
// src/lib/idempotency.ts
|
|
15
15
|
import { randomUUID } from "crypto";
|
|
@@ -895,6 +895,7 @@ export {
|
|
|
895
895
|
NETWORKS,
|
|
896
896
|
coreNetworkNames,
|
|
897
897
|
assertNetworkServesCommand,
|
|
898
|
+
networkNameForChain,
|
|
898
899
|
taskmarketCommandFor,
|
|
899
900
|
isNetworkName,
|
|
900
901
|
getNetwork,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
readMppTempoChallenge,
|
|
16
16
|
reconcileX402Payment,
|
|
17
17
|
withX402FileLock
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OUV2RQSB.js";
|
|
19
19
|
import {
|
|
20
20
|
ApiError,
|
|
21
21
|
apiGet,
|
|
@@ -36,14 +36,14 @@ import {
|
|
|
36
36
|
withChainId,
|
|
37
37
|
withIdempotentWrite,
|
|
38
38
|
withTapSignature
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-KC32V4AD.js";
|
|
40
40
|
import {
|
|
41
41
|
ComputeCreditBuyOutputSchema,
|
|
42
42
|
ComputeCreditPricingSchema,
|
|
43
43
|
ComputeCreditStatusOutputSchema,
|
|
44
44
|
apiErrorEnvelopeOf,
|
|
45
45
|
getTaskmarketHome
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-6WOUTOR4.js";
|
|
47
47
|
|
|
48
48
|
// src/lib/x402-fee.ts
|
|
49
49
|
import { randomUUID as randomUUID3 } from "crypto";
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
loadDeliverableRecord,
|
|
7
7
|
readComputeView,
|
|
8
8
|
taskStage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SPG5J4RN.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-R6QEAGHK.js";
|
|
17
17
|
import {
|
|
18
18
|
allocationViews,
|
|
19
19
|
channelView,
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
openAgentChannels,
|
|
22
22
|
uncertainPurchases,
|
|
23
23
|
withdrawalHatch
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CWANOJKR.js";
|
|
25
25
|
import {
|
|
26
26
|
apiUrl,
|
|
27
27
|
selectedNetwork
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KC32V4AD.js";
|
|
29
29
|
import {
|
|
30
30
|
SandboxListOutputSchema
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-6WOUTOR4.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentLaunchError
|
|
34
34
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __tmCreateRequire } from 'node:module'; import { fileU
|
|
|
2
2
|
import {
|
|
3
3
|
TASK_ACCESS_GRANT_HEADER,
|
|
4
4
|
getTaskmarketHome
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6WOUTOR4.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/task-access-grants.ts
|
|
8
8
|
import { promises as fs } from "fs";
|
|
@@ -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-6WOUTOR4.js";
|
|
5
5
|
import {
|
|
6
6
|
AgentLaunchError
|
|
7
7
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
unsafeHostPath,
|
|
9
9
|
withFileLock,
|
|
10
10
|
writeAtomic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-R6QEAGHK.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-LT4DDAEZ.js";
|
|
20
20
|
import {
|
|
21
21
|
getTaskmarketHome
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6WOUTOR4.js";
|
|
23
23
|
import {
|
|
24
24
|
AgentLaunchError
|
|
25
25
|
} from "./chunk-YM4S6IE4.js";
|
|
@@ -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-PSN4GDLD.js";
|
|
5
|
+
import "./chunk-SPG5J4RN.js";
|
|
6
|
+
import "./chunk-R6QEAGHK.js";
|
|
7
|
+
import "./chunk-LT4DDAEZ.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-CWANOJKR.js";
|
|
20
20
|
import {
|
|
21
21
|
getX402PolicyPath,
|
|
22
22
|
loadX402Policy,
|
|
23
23
|
rpcUrlForNetwork
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OUV2RQSB.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-KC32V4AD.js";
|
|
31
|
+
import "./chunk-6WOUTOR4.js";
|
|
32
32
|
import "./chunk-YM4S6IE4.js";
|
|
33
33
|
import {
|
|
34
34
|
AGENT_VIEW_VERSION
|