@olane/os 0.8.18 → 0.8.19

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.
@@ -8,6 +8,7 @@ import { WorldManagerTool } from '../worlds/world-manager.tool.js';
8
8
  import { AddressBook } from '../address-book/address-book.js';
9
9
  import { MemoryHarness } from '../memory/memory-harness.js';
10
10
  import { FilesystemTool } from '../tools/filesystem.tool.js';
11
+ import { AgentRegistryNode } from '@olane/o-agent';
11
12
  type OlaneOSNode = oLaneTool | oLeaderNode;
12
13
  export declare class OlaneOS extends oObject {
13
14
  private leaders;
@@ -20,6 +21,7 @@ export declare class OlaneOS extends oObject {
20
21
  addressBook: AddressBook | null;
21
22
  memory: MemoryHarness | null;
22
23
  filesystemTool: FilesystemTool | null;
24
+ agentRegistry: AgentRegistryNode | null;
23
25
  constructor(config: OlaneOSConfig);
24
26
  entryNode(): oLaneTool | oLeaderNode;
25
27
  addLeader(leader: oLeaderNode): void;
@@ -1 +1 @@
1
- {"version":3,"file":"o-os.d.ts","sourceRoot":"","sources":["../../../src/o-olane-os/o-os.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAK5D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAIzC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6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B;;;OAGG;YACW,cAAc;IAoE5B;;;OAGG;YACW,qBAAqB;IAwBnC;;;;OAIG;YACW,oBAAoB;IA4B5B,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG;IASnC,KAAK,IAAI,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,UAAU,EAAE,CAAA;KAAE,CAAC;IA0C9D,IAAI;IAwBJ,OAAO;CAKd"}
@@ -17,6 +17,7 @@ import { AddressBook } from '../address-book/address-book.js';
17
17
  import { MemoryHarness } from '../memory/memory-harness.js';
18
18
  import { CopassVectorStoreTool } from '../vector-store/copass-vector-store.tool.js';
19
19
  import { FilesystemTool } from '../tools/filesystem.tool.js';
20
+ import { AgentRegistryNode } from '@olane/o-agent';
20
21
  export class OlaneOS extends oObject {
21
22
  constructor(config) {
22
23
  super();
@@ -28,6 +29,7 @@ export class OlaneOS extends oObject {
28
29
  this.addressBook = null;
29
30
  this.memory = null;
30
31
  this.filesystemTool = null;
32
+ this.agentRegistry = null;
31
33
  this.config = config;
32
34
  }
33
35
  entryNode() {
@@ -307,6 +309,19 @@ export class OlaneOS extends oObject {
307
309
  this.rootLeader.addChildNode(this.worldManager);
308
310
  await this.worldManager.start();
309
311
  this.logger.debug('World manager started');
312
+ // Agent registry — directory of live agent sessions on this OS.
313
+ // Sibling of the agents themselves; agents register at flat
314
+ // o://<user>/<kind>/<session-id> addresses and the registry tracks
315
+ // them with TTL + PID-liveness GC.
316
+ this.agentRegistry = new AgentRegistryNode({
317
+ address: new oAddress('o://agents'),
318
+ leader: this.rootLeader.address,
319
+ parent: this.rootLeader.address,
320
+ _allowNestedAddress: true,
321
+ });
322
+ this.rootLeader.addChildNode(this.agentRegistry);
323
+ await this.agentRegistry.start();
324
+ this.logger.debug('Agent registry started');
310
325
  }
311
326
  }
312
327
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olane/os",
3
- "version": "0.8.18",
3
+ "version": "0.8.19",
4
4
  "type": "module",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -60,24 +60,25 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@libp2p/circuit-relay-v2": "^4.1.3",
63
- "@olane/o-client-limited": "0.8.18",
64
- "@olane/o-config": "0.8.18",
65
- "@olane/o-core": "0.8.18",
66
- "@olane/o-intelligence": "0.8.18",
67
- "@olane/o-lane": "0.8.18",
68
- "@olane/o-leader": "0.8.18",
69
- "@olane/o-login": "0.8.18",
70
- "@olane/o-node": "0.8.18",
71
- "@olane/o-protocol": "0.8.18",
72
- "@olane/o-storage": "0.8.18",
73
- "@olane/o-tool": "0.8.18",
74
- "@olane/o-tool-registry": "0.8.18",
75
- "@olane/o-tools-common": "0.8.18",
63
+ "@olane/o-agent": "0.8.19",
64
+ "@olane/o-client-limited": "0.8.19",
65
+ "@olane/o-config": "0.8.19",
66
+ "@olane/o-core": "0.8.19",
67
+ "@olane/o-intelligence": "0.8.19",
68
+ "@olane/o-lane": "0.8.19",
69
+ "@olane/o-leader": "0.8.19",
70
+ "@olane/o-login": "0.8.19",
71
+ "@olane/o-node": "0.8.19",
72
+ "@olane/o-protocol": "0.8.19",
73
+ "@olane/o-storage": "0.8.19",
74
+ "@olane/o-tool": "0.8.19",
75
+ "@olane/o-tool-registry": "0.8.19",
76
+ "@olane/o-tools-common": "0.8.19",
76
77
  "chalk": "^5.6.2",
77
78
  "debug": "^4.4.3",
78
79
  "dotenv": "^17.3.1",
79
80
  "fs-extra": "^11.3.3",
80
81
  "touch": "^3.1.1"
81
82
  },
82
- "gitHead": "53fd92e7eeb02ce0a4713fe7ec1aeaba2b240abb"
83
+ "gitHead": "73d7fad33b135e50de88a1b97180fa271a905eca"
83
84
  }