@lucid-agents/taskmarket 1.44.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-QATTK6I6.js → api-56KWZFR4.js} +2 -2
- package/dist/{channels-AH2WHLMC.js → channels-YKCZU2Q7.js} +4 -4
- package/dist/{chunk-3HR7XRLE.js → chunk-3MITXF2F.js} +3 -3
- package/dist/{chunk-3NPMVKNZ.js → chunk-64NUUQBC.js} +1 -1
- package/dist/{chunk-YENJWEM7.js → chunk-66HELSIU.js} +3 -3
- package/dist/{chunk-NLHDU4CH.js → chunk-7KZOHF7R.js} +1 -1
- package/dist/{chunk-CH3GXKIO.js → chunk-AS3N5L25.js} +2 -2
- package/dist/{chunk-ZPQLJAG4.js → chunk-DPJIDICA.js} +31 -13
- package/dist/{chunk-LETSESYQ.js → chunk-E3J2J3PZ.js} +8 -8
- package/dist/{chunk-IVCJPX7J.js → chunk-HFG7TSVD.js} +4661 -3748
- package/dist/{chunk-XBPINLPI.js → chunk-MMODVSSS.js} +1 -1
- package/dist/{chunk-AZMCG2LI.js → chunk-MUFEOBRQ.js} +1 -1
- package/dist/{chunk-J2TAHVUS.js → chunk-O5C2CWWL.js} +5 -5
- package/dist/{chunk-FUHULPDT.js → chunk-Y3B7POF2.js} +631 -40
- package/dist/{doctor-WW54ZCQR.js → doctor-TA3AZMPJ.js} +8 -8
- package/dist/index.js +640 -197
- package/dist/{launch-FQFOZYIN.js → launch-2RINYQTU.js} +11 -11
- package/dist/pi-extensions/xgate.cjs +32 -1
- package/dist/{read-auth-B7NFDF6U.js → read-auth-FFCZKAFN.js} +3 -3
- package/dist/{reconcile-KHSXUVR3.js → reconcile-O6LVP2Z3.js} +4 -4
- package/dist/{status-IMWQR4AR.js → status-FRMTSDIG.js} +8 -8
- package/dist/{sync-pull-EN7CFU3J.js → sync-pull-OUXRL6A2.js} +4 -4
- package/dist/{task-access-grants-IBD3JFGD.js → task-access-grants-WV3HVN5V.js} +2 -2
- package/package.json +1 -1
|
@@ -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";
|
|
@@ -8900,15 +8900,26 @@ var AGENT_PLATFORM_COMPONENTS = [
|
|
|
8900
8900
|
"memory"
|
|
8901
8901
|
];
|
|
8902
8902
|
var AgentPlatformComponentSchema = external_exports.enum(AGENT_PLATFORM_COMPONENTS);
|
|
8903
|
+
var AGENT_REPLY_SUGGESTION_MAX = 3;
|
|
8904
|
+
var AGENT_REPLY_SUGGESTION_MAX_LENGTH = 60;
|
|
8905
|
+
var cleanReplySuggestion = (text3) => text3.replace(new RegExp("\\p{Cf}", "gu"), "").replace(/[\p{Cc}\p{Zl}\p{Zp}]/gu, " ").replace(/\s+/g, " ").trim();
|
|
8906
|
+
var ReplySuggestionSchema = external_exports.string().transform(cleanReplySuggestion).pipe(external_exports.string().min(1).max(AGENT_REPLY_SUGGESTION_MAX_LENGTH));
|
|
8903
8907
|
var AgentPlatformToolInputSchemas = {
|
|
8904
8908
|
platform_status: external_exports.object({}).strict(),
|
|
8905
|
-
ui_show: external_exports.object({ component: AgentPlatformComponentSchema, reason: external_exports.string().trim().min(1).max(500) }).strict()
|
|
8909
|
+
ui_show: external_exports.object({ component: AgentPlatformComponentSchema, reason: external_exports.string().trim().min(1).max(500) }).strict(),
|
|
8910
|
+
suggest_replies: external_exports.object({
|
|
8911
|
+
suggestions: external_exports.array(ReplySuggestionSchema).min(1).max(AGENT_REPLY_SUGGESTION_MAX).transform((items) => items.filter((item, index) => items.indexOf(item) === index))
|
|
8912
|
+
}).strict()
|
|
8906
8913
|
};
|
|
8907
8914
|
var AgentUiCardSchema = external_exports.object({
|
|
8908
8915
|
component: AgentPlatformComponentSchema,
|
|
8909
8916
|
reason: external_exports.string().max(500),
|
|
8910
8917
|
tainted: external_exports.boolean()
|
|
8911
8918
|
});
|
|
8919
|
+
var AgentReplySuggestionsSchema = external_exports.object({
|
|
8920
|
+
suggestions: external_exports.array(external_exports.string()).min(1).max(AGENT_REPLY_SUGGESTION_MAX),
|
|
8921
|
+
tainted: external_exports.boolean()
|
|
8922
|
+
});
|
|
8912
8923
|
var AgentPlatformStatusSchema = external_exports.object({
|
|
8913
8924
|
version: external_exports.literal(1),
|
|
8914
8925
|
identity: external_exports.object({
|
|
@@ -9595,6 +9606,8 @@ var LauncherAccountSchema = external_exports.object({
|
|
|
9595
9606
|
});
|
|
9596
9607
|
var LauncherTurnSchema = LauncherJobSchema.extend({
|
|
9597
9608
|
uiCards: external_exports.array(AgentUiCardSchema).max(3).optional(),
|
|
9609
|
+
/** Next steps the agent offered under this reply; absent when it read outside content. */
|
|
9610
|
+
suggestions: external_exports.array(external_exports.string()).max(AGENT_REPLY_SUGGESTION_MAX).optional(),
|
|
9598
9611
|
delegations: external_exports.array(AgentDelegationSchema).optional(),
|
|
9599
9612
|
sequence: external_exports.number().int(),
|
|
9600
9613
|
requestKey: external_exports.string().uuid(),
|
|
@@ -10423,6 +10436,24 @@ var PLATFORM_TOOLS = [
|
|
|
10423
10436
|
required: ["component", "reason"],
|
|
10424
10437
|
additionalProperties: false
|
|
10425
10438
|
}
|
|
10439
|
+
},
|
|
10440
|
+
{
|
|
10441
|
+
type: "function",
|
|
10442
|
+
name: "suggest_replies",
|
|
10443
|
+
description: `Offer your owner one to ${AGENT_REPLY_SUGGESTION_MAX} short next steps under your reply, as plain text of at most ${AGENT_REPLY_SUGGESTION_MAX_LENGTH} characters each, written as the owner would say it ("Add dates to the plan"). The owner taps one to fill their message box; it is never sent for them. Call at most once per reply, after your answer is written; a second call keeps the first. Not shown when this reply read text another party wrote (market listings, email, web results, another agent's output, an imported skill) or answers a request that did not come from your owner; the call is still accepted.`,
|
|
10444
|
+
parameters: {
|
|
10445
|
+
type: "object",
|
|
10446
|
+
properties: {
|
|
10447
|
+
suggestions: {
|
|
10448
|
+
type: "array",
|
|
10449
|
+
items: { type: "string", maxLength: AGENT_REPLY_SUGGESTION_MAX_LENGTH },
|
|
10450
|
+
minItems: 1,
|
|
10451
|
+
maxItems: AGENT_REPLY_SUGGESTION_MAX
|
|
10452
|
+
}
|
|
10453
|
+
},
|
|
10454
|
+
required: ["suggestions"],
|
|
10455
|
+
additionalProperties: false
|
|
10456
|
+
}
|
|
10426
10457
|
}
|
|
10427
10458
|
];
|
|
10428
10459
|
var WORKSPACE_TOOLS = [
|
|
@@ -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,
|