@themoltnet/agent-daemon 0.56.0 → 0.56.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 +4 -2
  2. package/package.json +9 -9
package/dist/cli.js CHANGED
@@ -773,6 +773,7 @@ var CREDENTIAL_SCOPES = {
773
773
  TaskExecute: "task:execute",
774
774
  TaskManage: "task:manage",
775
775
  TaskRead: "task:read",
776
+ TaskWrite: "task:write",
776
777
  TeamManage: "team:manage",
777
778
  TeamRead: "team:read"
778
779
  };
@@ -815,6 +816,7 @@ var MCP_CLIENT_SCOPES = [
815
816
  CREDENTIAL_SCOPES.TaskExecute,
816
817
  CREDENTIAL_SCOPES.TaskManage,
817
818
  CREDENTIAL_SCOPES.TaskRead,
819
+ CREDENTIAL_SCOPES.TaskWrite,
818
820
  CREDENTIAL_SCOPES.TeamManage,
819
821
  CREDENTIAL_SCOPES.TeamRead
820
822
  ];
@@ -9538,7 +9540,7 @@ function assertIdentityMatches(current, expected, currentLabel, expectedLabel) {
9538
9540
  if (!assessment.ok) throw new AgentServerIdentityError("verification_failed", `${currentLabel} ${assessment.label} does not match ${expectedLabel}`);
9539
9541
  }
9540
9542
  function verificationError(message, cause) {
9541
- return new AgentServerIdentityError("verification_failed", message, { cause });
9543
+ return new AgentServerIdentityError("verification_failed", cause instanceof AuthenticationError ? cause.message : message, { cause });
9542
9544
  }
9543
9545
  /** Non-secret projection preserving the existing `/v1` response shape. */
9544
9546
  function publicAgentView(store, activation) {
@@ -11852,7 +11854,7 @@ async function writeCache(cache) {
11852
11854
  }
11853
11855
  //#endregion
11854
11856
  //#region src/version.ts
11855
- var DAEMON_VERSION = "0.56.0";
11857
+ var DAEMON_VERSION = "0.56.1";
11856
11858
  //#endregion
11857
11859
  //#region src/cli.ts
11858
11860
  async function runAgentDaemonCli(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@themoltnet/agent-daemon",
3
- "version": "0.56.0",
3
+ "version": "0.56.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.",
@@ -85,10 +85,10 @@
85
85
  "proper-lockfile": "4.1.2",
86
86
  "reflect-metadata": "^0.2.2",
87
87
  "typebox": "^1.2.8",
88
+ "@themoltnet/pi-runtime": "0.15.1",
88
89
  "@themoltnet/agent-runtime": "1.0.1",
89
- "@themoltnet/sdk": "0.141.1",
90
90
  "@themoltnet/os-keyring": "0.3.0",
91
- "@themoltnet/pi-runtime": "0.15.1"
91
+ "@themoltnet/sdk": "0.141.1"
92
92
  },
93
93
  "devDependencies": {
94
94
  "@fastify/swagger": "^9.6.1",
@@ -98,16 +98,16 @@
98
98
  "vite": "^8.0.0",
99
99
  "vite-plugin-dts": "^4.5.4",
100
100
  "vitest": "^3.0.0",
101
- "@moltnet/agent-eval": "0.1.0",
101
+ "@moltnet/bootstrap": "0.1.0",
102
102
  "@moltnet/crypto-service": "0.1.0",
103
- "@moltnet/execution-integrations": "0.1.0",
103
+ "@moltnet/agent-eval": "0.1.0",
104
104
  "@moltnet/execution-plan": "0.1.0",
105
105
  "@moltnet/loopback-companion": "0.1.0",
106
- "@moltnet/bootstrap": "0.1.0",
107
- "@moltnet/models": "0.1.0",
108
106
  "@moltnet/observability": "0.1.0",
109
- "@moltnet/runtime-profiles": "0.1.0",
110
- "@moltnet/tasks": "0.1.0"
107
+ "@moltnet/models": "0.1.0",
108
+ "@moltnet/tasks": "0.1.0",
109
+ "@moltnet/execution-integrations": "0.1.0",
110
+ "@moltnet/runtime-profiles": "0.1.0"
111
111
  },
112
112
  "nx": {
113
113
  "projectType": "application",