@themoltnet/pi-runtime 0.14.3 → 0.15.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.
package/dist/index.d.ts CHANGED
@@ -56,13 +56,17 @@ import { WriteOperations } from '@earendil-works/pi-coding-agent';
56
56
 
57
57
  export { activateAgentEnv }
58
58
 
59
+ declare const AGENT_SIGNING_PROTOCOL_VERSION: 1;
60
+
59
61
  /**
60
62
  * Non-secret identity of the agent a daemon runs as. Everything here may be
61
63
  * projected into a sandbox guest; nothing here can sign.
62
64
  */
63
65
  declare interface AgentIdentity {
66
+ protocolVersion: typeof AGENT_SIGNING_PROTOCOL_VERSION;
64
67
  agentName: string;
65
- identityId: string;
68
+ subjectId: string;
69
+ subjectType: 'agent';
66
70
  /** `ed25519:<base64>` */
67
71
  publicKey: string;
68
72
  fingerprint: string;
package/dist/index.js CHANGED
@@ -2309,7 +2309,8 @@ Type.Object({ "x-moltnet-team-id": Type.Optional(Type.String({
2309
2309
  })) });
2310
2310
  Type.Object({
2311
2311
  kind: Type.Literal("agent"),
2312
- identityId: UuidSchema,
2312
+ agentId: UuidSchema,
2313
+ identityId: Type.Union([UuidSchema, Type.Null()]),
2313
2314
  fingerprint: FingerprintSchema,
2314
2315
  publicKey: PublicKeySchema
2315
2316
  }, {
@@ -2326,7 +2327,8 @@ Type.Object({
2326
2327
  });
2327
2328
  var principalUnionVariants = [Type.Object({
2328
2329
  kind: Type.Literal("agent"),
2329
- identityId: UuidSchema,
2330
+ agentId: UuidSchema,
2331
+ identityId: Type.Union([UuidSchema, Type.Null()]),
2330
2332
  fingerprint: FingerprintSchema,
2331
2333
  publicKey: PublicKeySchema
2332
2334
  }, { additionalProperties: false }), Type.Object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@themoltnet/pi-runtime",
3
- "version": "0.14.3",
3
+ "version": "0.15.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Composable MoltNet runtime kernel for Pi agents in Gondolin VMs",
@@ -35,11 +35,11 @@
35
35
  "@opentelemetry/api": "^1.9.1",
36
36
  "multiformats": "^13.3.0",
37
37
  "typebox": "^1.2.8",
38
- "@themoltnet/agent-runtime": "0.46.0",
39
- "@themoltnet/os-keyring": "0.3.0",
38
+ "@themoltnet/agent-runtime": "1.0.1",
39
+ "@themoltnet/shell-command-analyzer": "0.3.0",
40
40
  "@themoltnet/sandbox-gondolin": "0.5.1",
41
- "@themoltnet/sdk": "0.140.2",
42
- "@themoltnet/shell-command-analyzer": "0.3.0"
41
+ "@themoltnet/os-keyring": "0.3.0",
42
+ "@themoltnet/sdk": "0.141.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@earendil-works/pi-ai": "0.84.4",
@@ -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/runtime-profiles": "0.1.0",
60
+ "@moltnet/models": "0.1.0",
61
61
  "@moltnet/tasks": "0.1.0",
62
- "@moltnet/models": "0.1.0"
62
+ "@moltnet/runtime-profiles": "0.1.0"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=24"