@themoltnet/agent-daemon 0.29.7 → 0.30.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/main.js +53 -12
- package/package.json +5 -5
package/dist/main.js
CHANGED
|
@@ -4467,6 +4467,11 @@ var RuntimeProfileSandboxResumeCommand = Union([String$1({
|
|
|
4467
4467
|
maximum: 6e4
|
|
4468
4468
|
}))
|
|
4469
4469
|
}, { additionalProperties: false })]);
|
|
4470
|
+
var RuntimeProfileAllowedHost = String$1({
|
|
4471
|
+
minLength: 1,
|
|
4472
|
+
maxLength: 255,
|
|
4473
|
+
pattern: "^(?:\\*\\.)?(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)(?:\\.(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?))*$"
|
|
4474
|
+
});
|
|
4470
4475
|
var RuntimeProfileSandbox = _Object_({
|
|
4471
4476
|
snapshot: Optional(_Object_({
|
|
4472
4477
|
setupCommands: Optional(_Array_(String$1({
|
|
@@ -4483,6 +4488,10 @@ var RuntimeProfileSandbox = _Object_({
|
|
|
4483
4488
|
pattern: "^[0-9]+[KMGTP]?$"
|
|
4484
4489
|
}))
|
|
4485
4490
|
}, { additionalProperties: false })),
|
|
4491
|
+
network: Optional(_Object_({
|
|
4492
|
+
allowedHosts: Optional(_Array_(RuntimeProfileAllowedHost, { maxItems: 50 })),
|
|
4493
|
+
allowedInternalHosts: Optional(_Array_(RuntimeProfileAllowedHost, { maxItems: 50 }))
|
|
4494
|
+
}, { additionalProperties: false })),
|
|
4486
4495
|
resumeCommands: Optional(_Array_(RuntimeProfileSandboxResumeCommand, { maxItems: 30 })),
|
|
4487
4496
|
vfs: Optional(_Object_({
|
|
4488
4497
|
shadow: Optional(_Array_(String$1({
|
|
@@ -4942,7 +4951,7 @@ _Object_({
|
|
|
4942
4951
|
id: String$1({ format: "uuid" }),
|
|
4943
4952
|
teamId: String$1({ format: "uuid" }),
|
|
4944
4953
|
taskId: String$1({ format: "uuid" }),
|
|
4945
|
-
attemptN: Integer({ minimum: 1 }),
|
|
4954
|
+
attemptN: Union([Integer({ minimum: 1 }), Null()]),
|
|
4946
4955
|
kind: String$1({
|
|
4947
4956
|
minLength: 1,
|
|
4948
4957
|
maxLength: 100
|
|
@@ -4964,7 +4973,7 @@ _Object_({
|
|
|
4964
4973
|
minLength: 1,
|
|
4965
4974
|
maxLength: 100
|
|
4966
4975
|
}),
|
|
4967
|
-
createdByAgentId: String$1({ format: "uuid" }),
|
|
4976
|
+
createdByAgentId: Union([String$1({ format: "uuid" }), Null()]),
|
|
4968
4977
|
expiresAt: Union([String$1({ format: "date-time" }), Null()]),
|
|
4969
4978
|
createdAt: String$1({ format: "date-time" })
|
|
4970
4979
|
}, { $id: "TaskArtifact" })),
|
|
@@ -4980,6 +4989,16 @@ _Object_({
|
|
|
4980
4989
|
$id: "ListTaskArtifactsQuery",
|
|
4981
4990
|
additionalProperties: false
|
|
4982
4991
|
});
|
|
4992
|
+
var HeaderSafeContentType = String$1({
|
|
4993
|
+
minLength: 1,
|
|
4994
|
+
maxLength: 200,
|
|
4995
|
+
pattern: "^[\\x21-\\x7e][\\x20-\\x7e]*$"
|
|
4996
|
+
});
|
|
4997
|
+
var HeaderSafeContentEncoding = String$1({
|
|
4998
|
+
minLength: 1,
|
|
4999
|
+
maxLength: 100,
|
|
5000
|
+
pattern: "^[\\x21-\\x7e][\\x20-\\x7e]*$"
|
|
5001
|
+
});
|
|
4983
5002
|
_Object_({
|
|
4984
5003
|
kind: String$1({
|
|
4985
5004
|
minLength: 1,
|
|
@@ -4989,14 +5008,8 @@ _Object_({
|
|
|
4989
5008
|
minLength: 1,
|
|
4990
5009
|
maxLength: 255
|
|
4991
5010
|
}),
|
|
4992
|
-
contentType: Optional(
|
|
4993
|
-
|
|
4994
|
-
maxLength: 200
|
|
4995
|
-
})),
|
|
4996
|
-
contentEncoding: Optional(String$1({
|
|
4997
|
-
minLength: 1,
|
|
4998
|
-
maxLength: 100
|
|
4999
|
-
}))
|
|
5011
|
+
contentType: Optional(HeaderSafeContentType),
|
|
5012
|
+
contentEncoding: Optional(HeaderSafeContentEncoding)
|
|
5000
5013
|
}, {
|
|
5001
5014
|
$id: "UploadTaskArtifactQuery",
|
|
5002
5015
|
additionalProperties: false
|
|
@@ -5028,6 +5041,34 @@ _Object_({
|
|
|
5028
5041
|
$id: "TaskArtifactContentParams",
|
|
5029
5042
|
additionalProperties: false
|
|
5030
5043
|
});
|
|
5044
|
+
_Object_({
|
|
5045
|
+
contentType: Optional(HeaderSafeContentType),
|
|
5046
|
+
contentEncoding: Optional(HeaderSafeContentEncoding)
|
|
5047
|
+
}, {
|
|
5048
|
+
$id: "StageTaskArtifactQuery",
|
|
5049
|
+
additionalProperties: false
|
|
5050
|
+
});
|
|
5051
|
+
_Object_({
|
|
5052
|
+
cid: String$1({
|
|
5053
|
+
minLength: 1,
|
|
5054
|
+
maxLength: 100
|
|
5055
|
+
}),
|
|
5056
|
+
sizeBytes: Integer({ minimum: 0 }),
|
|
5057
|
+
contentType: String$1({
|
|
5058
|
+
minLength: 1,
|
|
5059
|
+
maxLength: 200
|
|
5060
|
+
})
|
|
5061
|
+
}, { $id: "StagedTaskArtifact" });
|
|
5062
|
+
_Object_({
|
|
5063
|
+
taskId: String$1({ format: "uuid" }),
|
|
5064
|
+
cid: String$1({
|
|
5065
|
+
minLength: 1,
|
|
5066
|
+
maxLength: 100
|
|
5067
|
+
})
|
|
5068
|
+
}, {
|
|
5069
|
+
$id: "TaskArtifactTaskContentParams",
|
|
5070
|
+
additionalProperties: false
|
|
5071
|
+
});
|
|
5031
5072
|
//#endregion
|
|
5032
5073
|
//#region ../../node_modules/.pnpm/multiformats@13.4.2/node_modules/multiformats/dist/src/bytes.js
|
|
5033
5074
|
function coerce(o) {
|
|
@@ -9162,7 +9203,7 @@ Unsafe(Cyclic({ ClaimCondition: Unsafe(Union([
|
|
|
9162
9203
|
*/
|
|
9163
9204
|
var TaskRef = _Object_({
|
|
9164
9205
|
taskId: Union([Uuid, Null()]),
|
|
9165
|
-
outputCid: Cid,
|
|
9206
|
+
outputCid: Optional(Cid),
|
|
9166
9207
|
role: Union([
|
|
9167
9208
|
Literal("judged_work"),
|
|
9168
9209
|
Literal("reviewed_diff"),
|
|
@@ -9183,7 +9224,7 @@ var TaskRef = _Object_({
|
|
|
9183
9224
|
})),
|
|
9184
9225
|
artifact: Optional(_Object_({
|
|
9185
9226
|
cid: Cid,
|
|
9186
|
-
attemptN: Integer({ minimum: 1 }),
|
|
9227
|
+
attemptN: Optional(Integer({ minimum: 1 })),
|
|
9187
9228
|
kind: Optional(String$1({
|
|
9188
9229
|
minLength: 1,
|
|
9189
9230
|
maxLength: 100
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@themoltnet/agent-daemon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.1",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "MoltNet agent daemon — claims and executes tasks (fulfill_brief, assess_brief) from the MoltNet task-service via Pi-headless. CLI: moltnet-agent.",
|
|
@@ -51,17 +51,17 @@
|
|
|
51
51
|
"@opentelemetry/semantic-conventions": "^1.39.0",
|
|
52
52
|
"pino": "^10.3.1",
|
|
53
53
|
"pino-pretty": "^13.1.3",
|
|
54
|
-
"@themoltnet/
|
|
55
|
-
"@themoltnet/
|
|
56
|
-
"@themoltnet/agent-runtime": "0.35.
|
|
54
|
+
"@themoltnet/pi-extension": "0.34.1",
|
|
55
|
+
"@themoltnet/sdk": "0.120.0",
|
|
56
|
+
"@themoltnet/agent-runtime": "0.35.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"tsx": "^4.7.0",
|
|
60
60
|
"typescript": "~5.9.2",
|
|
61
61
|
"vite": "^8.0.0",
|
|
62
62
|
"vitest": "^3.0.0",
|
|
63
|
-
"@moltnet/crypto-service": "0.1.0",
|
|
64
63
|
"@moltnet/bootstrap": "0.1.0",
|
|
64
|
+
"@moltnet/crypto-service": "0.1.0",
|
|
65
65
|
"@moltnet/observability": "0.1.0",
|
|
66
66
|
"@moltnet/tasks": "0.1.0"
|
|
67
67
|
},
|