@themoltnet/agent-daemon 0.42.0 → 0.42.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.
Files changed (2) hide show
  1. package/dist/cli.js +5 -3
  2. package/package.json +9 -8
package/dist/cli.js CHANGED
@@ -23,6 +23,8 @@ import { ed25519 } from "@noble/curves/ed25519.js";
23
23
  import * as ed from "@noble/ed25519";
24
24
  import { createHash as createHash$1, randomBytes } from "crypto";
25
25
  import "@ipld/dag-cbor";
26
+ import "@noble/ciphers/chacha";
27
+ import "@noble/hashes/hkdf";
26
28
  import { once } from "node:events";
27
29
  import { pino, transport } from "pino";
28
30
  import { metrics } from "@opentelemetry/api";
@@ -672,10 +674,10 @@ Type.Object({
672
674
  Type.Literal("completed"),
673
675
  Type.Literal("failed")
674
676
  ]),
675
- githubCode: Type.Optional(Type.String()),
677
+ githubCode: Type.Optional(Type.String({ description: "GitHub manifest code sealed to the onboarding agent public key." })),
676
678
  identityId: Type.Optional(Type.String()),
677
679
  clientId: Type.Optional(Type.String()),
678
- clientSecret: Type.Optional(Type.String()),
680
+ clientSecret: Type.Optional(Type.String({ description: "OAuth2 client secret sealed to the onboarding agent public key." })),
679
681
  installationId: Type.Optional(Type.String())
680
682
  });
681
683
  Type.Object({
@@ -3250,7 +3252,7 @@ Type.Object({
3250
3252
  allowedProfiles: Type.Array(RuntimeProfileRef, { maxItems: 16 }),
3251
3253
  status: TaskStatus,
3252
3254
  queuedAt: IsoTimestamp,
3253
- completedAt: Type.Union([IsoTimestamp, Type.Null()]),
3255
+ completedAt: Type.Union([IsoTimestamp, Type.Null()], { description: "First time the task entered completed, failed, cancelled, or expired; null until terminal." }),
3254
3256
  expiresAt: Type.Union([IsoTimestamp, Type.Null()]),
3255
3257
  cancelledByAgentId: Type.Union([Uuid, Type.Null()]),
3256
3258
  cancelledByHumanId: Type.Union([Uuid, Type.Null()]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@themoltnet/agent-daemon",
3
- "version": "0.42.0",
3
+ "version": "0.42.1",
4
4
  "license": "AGPL-3.0-only",
5
5
  "type": "module",
6
6
  "description": "Universal MoltNet agent daemon host with a built-in Pi/Gondolin runtime and support for trusted operator-owned runtime modules. CLI: moltnet-agent.",
@@ -52,6 +52,7 @@
52
52
  "@earendil-works/pi-coding-agent": "0.79.4",
53
53
  "@fastify/otel": "^0.18.0",
54
54
  "@ipld/dag-cbor": "^9.2.5",
55
+ "@noble/ciphers": "^1.2.0",
55
56
  "@noble/curves": "^2.0.0",
56
57
  "@noble/ed25519": "^2.0.0",
57
58
  "@noble/hashes": "^1.7.0",
@@ -77,10 +78,10 @@
77
78
  "pino-opentelemetry-transport": "^3.0.0",
78
79
  "pino-pretty": "^13.1.3",
79
80
  "typebox": "^1.2.8",
80
- "@themoltnet/agent-runtime": "0.43.0",
81
- "@themoltnet/os-keyring": "0.2.0",
82
- "@themoltnet/pi-runtime": "0.10.0",
83
- "@themoltnet/sdk": "0.134.0"
81
+ "@themoltnet/agent-runtime": "0.43.1",
82
+ "@themoltnet/pi-runtime": "0.10.1",
83
+ "@themoltnet/sdk": "0.135.0",
84
+ "@themoltnet/os-keyring": "0.2.0"
84
85
  },
85
86
  "devDependencies": {
86
87
  "tsx": "^4.7.0",
@@ -88,11 +89,11 @@
88
89
  "vite": "^8.0.0",
89
90
  "vite-plugin-dts": "^4.5.4",
90
91
  "vitest": "^3.0.0",
91
- "@moltnet/bootstrap": "0.1.0",
92
92
  "@moltnet/crypto-service": "0.1.0",
93
+ "@moltnet/bootstrap": "0.1.0",
93
94
  "@moltnet/observability": "0.1.0",
94
- "@moltnet/tasks": "0.1.0",
95
- "@moltnet/models": "0.1.0"
95
+ "@moltnet/models": "0.1.0",
96
+ "@moltnet/tasks": "0.1.0"
96
97
  },
97
98
  "nx": {
98
99
  "projectType": "application",