@themoltnet/agent-daemon 0.14.3 → 0.14.4
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 +34 -2
- package/package.json +12 -7
package/dist/main.js
CHANGED
|
@@ -777,8 +777,28 @@ var PatternStringExact = `^${PatternString}$`;
|
|
|
777
777
|
var PatternNeverExact = `^${PatternNever}$`;
|
|
778
778
|
//#endregion
|
|
779
779
|
//#region ../../node_modules/.pnpm/@sinclair+typebox@0.34.48/node_modules/@sinclair/typebox/build/esm/type/registry/format.mjs
|
|
780
|
+
var format_exports = /* @__PURE__ */ __exportAll({
|
|
781
|
+
Clear: () => Clear,
|
|
782
|
+
Delete: () => Delete,
|
|
783
|
+
Entries: () => Entries,
|
|
784
|
+
Get: () => Get$1,
|
|
785
|
+
Has: () => Has$1,
|
|
786
|
+
Set: () => Set$1
|
|
787
|
+
});
|
|
780
788
|
/** A registry for user defined string formats */
|
|
781
789
|
var map$1 = /* @__PURE__ */ new Map();
|
|
790
|
+
/** Returns the entries in this registry */
|
|
791
|
+
function Entries() {
|
|
792
|
+
return new Map(map$1);
|
|
793
|
+
}
|
|
794
|
+
/** Clears all user defined string formats */
|
|
795
|
+
function Clear() {
|
|
796
|
+
return map$1.clear();
|
|
797
|
+
}
|
|
798
|
+
/** Deletes a registered format */
|
|
799
|
+
function Delete(format) {
|
|
800
|
+
return map$1.delete(format);
|
|
801
|
+
}
|
|
782
802
|
/** Returns true if the user defined string format exists */
|
|
783
803
|
function Has$1(format) {
|
|
784
804
|
return map$1.has(format);
|
|
@@ -2909,8 +2929,20 @@ var Type$2 = /* @__PURE__ */ __exportAll({
|
|
|
2909
2929
|
* Idempotent: registration is guarded by `FormatRegistry.Has(...)`.
|
|
2910
2930
|
*/
|
|
2911
2931
|
var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
2912
|
-
|
|
2913
|
-
|
|
2932
|
+
function isFormatRegistryApi(registry) {
|
|
2933
|
+
return typeof registry === "object" && registry !== null && "Has" in registry && "Set" in registry && typeof registry.Has === "function" && typeof registry.Set === "function";
|
|
2934
|
+
}
|
|
2935
|
+
function getFormatRegistry() {
|
|
2936
|
+
const registry = format_exports;
|
|
2937
|
+
if (registry === void 0) return;
|
|
2938
|
+
if (!isFormatRegistryApi(registry)) throw new TypeError("Invalid TypeBox FormatRegistry export");
|
|
2939
|
+
return registry;
|
|
2940
|
+
}
|
|
2941
|
+
var FormatRegistry = getFormatRegistry();
|
|
2942
|
+
if (FormatRegistry) {
|
|
2943
|
+
if (!FormatRegistry.Has("uuid")) FormatRegistry.Set("uuid", (v) => UUID_RE.test(v));
|
|
2944
|
+
if (!FormatRegistry.Has("date-time")) FormatRegistry.Set("date-time", (v) => !Number.isNaN(Date.parse(v)));
|
|
2945
|
+
}
|
|
2914
2946
|
//#endregion
|
|
2915
2947
|
//#region ../../libs/tasks/src/context.ts
|
|
2916
2948
|
/**
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@themoltnet/agent-daemon",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.4",
|
|
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.",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"moltnet",
|
|
9
|
+
"agent-daemon",
|
|
10
|
+
"task-execution"
|
|
11
|
+
],
|
|
7
12
|
"repository": {
|
|
8
13
|
"type": "git",
|
|
9
14
|
"url": "git+https://github.com/getlarge/themoltnet.git",
|
|
@@ -33,19 +38,19 @@
|
|
|
33
38
|
"@opentelemetry/semantic-conventions": "^1.39.0",
|
|
34
39
|
"pino": "^10.3.1",
|
|
35
40
|
"pino-pretty": "^13.1.3",
|
|
36
|
-
"@themoltnet/agent-
|
|
37
|
-
"@themoltnet/
|
|
38
|
-
"@themoltnet/
|
|
39
|
-
"@themoltnet/
|
|
41
|
+
"@themoltnet/agent-daemon-state": "0.2.0",
|
|
42
|
+
"@themoltnet/agent-runtime": "0.22.3",
|
|
43
|
+
"@themoltnet/pi-extension": "0.22.3",
|
|
44
|
+
"@themoltnet/sdk": "0.106.0"
|
|
40
45
|
},
|
|
41
46
|
"devDependencies": {
|
|
42
47
|
"tsx": "^4.7.0",
|
|
43
48
|
"typescript": "~5.9.2",
|
|
44
49
|
"vite": "^8.0.0",
|
|
45
50
|
"vitest": "^3.0.0",
|
|
46
|
-
"@moltnet/
|
|
51
|
+
"@moltnet/tasks": "0.1.0",
|
|
47
52
|
"@moltnet/crypto-service": "0.1.0",
|
|
48
|
-
"@moltnet/
|
|
53
|
+
"@moltnet/bootstrap": "0.1.0"
|
|
49
54
|
},
|
|
50
55
|
"nx": {
|
|
51
56
|
"tags": [
|