@themoltnet/agent-daemon 0.49.1 → 0.50.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.
Files changed (3) hide show
  1. package/dist/cli.js +794 -362
  2. package/dist/main.js +1 -1
  3. package/package.json +14 -7
package/dist/main.js CHANGED
@@ -90,7 +90,7 @@ initInstrumentation({
90
90
  });
91
91
  //#endregion
92
92
  //#region src/lib/supervisor-parent-guard.ts
93
- /** Exit a supervised run when its serve parent's IPC channel disappears. */
93
+ /** Exit a supervised run when its Agent Server parent's IPC channel disappears. */
94
94
  function installSupervisorParentGuard(proc = process) {
95
95
  if (proc.env["MOLTNET_SUPERVISED_RUN"] !== "1" || typeof proc.disconnect !== "function") return false;
96
96
  if (proc.connected === false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@themoltnet/agent-daemon",
3
- "version": "0.49.1",
3
+ "version": "0.50.0",
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.",
@@ -48,8 +48,8 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@earendil-works/gondolin": "^0.12.0",
51
- "@earendil-works/pi-ai": "0.79.4",
52
- "@earendil-works/pi-coding-agent": "0.79.4",
51
+ "@earendil-works/pi-ai": "0.84.4",
52
+ "@earendil-works/pi-coding-agent": "0.84.4",
53
53
  "@fastify/cors": "^11.0.0",
54
54
  "@fastify/helmet": "^13.0.1",
55
55
  "@fastify/otel": "^0.18.0",
@@ -85,10 +85,11 @@
85
85
  "typebox": "^1.2.8",
86
86
  "@themoltnet/agent-runtime": "0.45.2",
87
87
  "@themoltnet/os-keyring": "0.3.0",
88
- "@themoltnet/pi-runtime": "0.14.1",
89
- "@themoltnet/sdk": "0.140.0"
88
+ "@themoltnet/sdk": "0.140.0",
89
+ "@themoltnet/pi-runtime": "0.14.1"
90
90
  },
91
91
  "devDependencies": {
92
+ "@fastify/swagger": "^9.6.1",
92
93
  "@types/proper-lockfile": "^4.1.4",
93
94
  "tsx": "^4.7.0",
94
95
  "typescript": "~5.9.2",
@@ -97,10 +98,10 @@
97
98
  "vitest": "^3.0.0",
98
99
  "@moltnet/agent-eval": "0.1.0",
99
100
  "@moltnet/crypto-service": "0.1.0",
100
- "@moltnet/execution-integrations": "0.1.0",
101
- "@moltnet/execution-plan": "0.1.0",
102
101
  "@moltnet/bootstrap": "0.1.0",
102
+ "@moltnet/execution-integrations": "0.1.0",
103
103
  "@moltnet/loopback-companion": "0.1.0",
104
+ "@moltnet/execution-plan": "0.1.0",
104
105
  "@moltnet/observability": "0.1.0",
105
106
  "@moltnet/models": "0.1.0",
106
107
  "@moltnet/runtime-profiles": "0.1.0",
@@ -114,6 +115,11 @@
114
115
  "platform:cli"
115
116
  ],
116
117
  "targets": {
118
+ "generate:openapi": {
119
+ "outputs": [
120
+ "{projectRoot}/openapi.json"
121
+ ]
122
+ },
117
123
  "bundle": {
118
124
  "executor": "nx:run-commands",
119
125
  "cache": false,
@@ -132,6 +138,7 @@
132
138
  "dev": "tsx watch src/main.ts",
133
139
  "start": "node dist/main.js",
134
140
  "build": "vite build",
141
+ "generate:openapi": "tsx scripts/generate-openapi.ts",
135
142
  "check:pack": "tsx ../../tools/src/check-pack.ts --package . && pnpm run smoke:pack",
136
143
  "smoke:pack": "tsx ../../tools/src/smoke-pack.ts --package . --local-dependency ../../libs/sdk --local-dependency ../../libs/os-keyring --local-dependency ../../libs/agent-runtime --local-dependency ../../libs/shell-command-analyzer --local-dependency ../../libs/pi-runtime --copy-file test-fixtures/runtime-adapter.mjs runtime-adapter.mjs --probe-file test-fixtures/keyring-pack-probe.mjs keyring-pack-probe.mjs --bin moltnet-agent --args --runtime ./runtime-adapter.mjs --help --expect \"long-running task worker for MoltNet\""
137
144
  }