@themoltnet/pi-runtime 0.14.1 → 0.14.3

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/index.js +16 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -1739,9 +1739,16 @@ var CREDENTIAL_SCOPES = {
1739
1739
  TeamRead: "team:read"
1740
1740
  };
1741
1741
  var ALL_CREDENTIAL_SCOPES = Object.freeze(Object.values(CREDENTIAL_SCOPES));
1742
- CREDENTIAL_SCOPES.AgentProfile, CREDENTIAL_SCOPES.RuntimeRead, CREDENTIAL_SCOPES.TaskRead, CREDENTIAL_SCOPES.TaskClaim, CREDENTIAL_SCOPES.TaskExecute;
1742
+ CREDENTIAL_SCOPES.AgentProfile, CREDENTIAL_SCOPES.CryptoSign, CREDENTIAL_SCOPES.RuntimeRead, CREDENTIAL_SCOPES.TaskRead, CREDENTIAL_SCOPES.TaskClaim, CREDENTIAL_SCOPES.TaskExecute;
1743
1743
  Object.freeze(ALL_CREDENTIAL_SCOPES.filter((scope) => scope !== CREDENTIAL_SCOPES.HumanProfile));
1744
- [
1744
+ /**
1745
+ * REST capabilities exercised by the current MCP tool surface.
1746
+ *
1747
+ * Intentionally excludes connector invocation, key management, runtime
1748
+ * management/read, and task claiming because MCP exposes none of those
1749
+ * operations.
1750
+ */
1751
+ var MCP_CLIENT_SCOPES = [
1745
1752
  CREDENTIAL_SCOPES.AgentProfile,
1746
1753
  CREDENTIAL_SCOPES.CryptoSign,
1747
1754
  CREDENTIAL_SCOPES.DiaryManage,
@@ -1755,7 +1762,13 @@ Object.freeze(ALL_CREDENTIAL_SCOPES.filter((scope) => scope !== CREDENTIAL_SCOPE
1755
1762
  CREDENTIAL_SCOPES.TaskRead,
1756
1763
  CREDENTIAL_SCOPES.TeamManage,
1757
1764
  CREDENTIAL_SCOPES.TeamRead
1758
- ].filter((scope) => scope !== CREDENTIAL_SCOPES.HumanProfile);
1765
+ ];
1766
+ MCP_CLIENT_SCOPES.filter((scope) => scope !== CREDENTIAL_SCOPES.HumanProfile);
1767
+ Object.freeze([...[
1768
+ "openid",
1769
+ "offline",
1770
+ "offline_access"
1771
+ ], ...MCP_CLIENT_SCOPES]);
1759
1772
  //#endregion
1760
1773
  //#region ../models/src/preview-sign.ts
1761
1774
  function schemaRef$1(schema, id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@themoltnet/pi-runtime",
3
- "version": "0.14.1",
3
+ "version": "0.14.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Composable MoltNet runtime kernel for Pi agents in Gondolin VMs",
@@ -35,10 +35,10 @@
35
35
  "@opentelemetry/api": "^1.9.1",
36
36
  "multiformats": "^13.3.0",
37
37
  "typebox": "^1.2.8",
38
- "@themoltnet/agent-runtime": "0.45.2",
39
- "@themoltnet/sandbox-gondolin": "0.5.1",
38
+ "@themoltnet/agent-runtime": "0.46.0",
40
39
  "@themoltnet/os-keyring": "0.3.0",
41
- "@themoltnet/sdk": "0.140.0",
40
+ "@themoltnet/sandbox-gondolin": "0.5.1",
41
+ "@themoltnet/sdk": "0.140.2",
42
42
  "@themoltnet/shell-command-analyzer": "0.3.0"
43
43
  },
44
44
  "peerDependencies": {
@@ -57,9 +57,9 @@
57
57
  "vite-plugin-dts": "^4.5.4",
58
58
  "vitest": "^3.0.0",
59
59
  "@moltnet/crypto-service": "0.1.0",
60
- "@moltnet/models": "0.1.0",
61
60
  "@moltnet/runtime-profiles": "0.1.0",
62
- "@moltnet/tasks": "0.1.0"
61
+ "@moltnet/tasks": "0.1.0",
62
+ "@moltnet/models": "0.1.0"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=24"