a2ald 0.1.8 → 0.2.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 (2) hide show
  1. package/README.md +15 -5
  2. package/package.json +10 -7
package/README.md CHANGED
@@ -26,15 +26,25 @@ After install, the `a2ald` binary is available where npm links local binaries (e
26
26
  npx a2ald --help
27
27
  ```
28
28
 
29
- ## Documentation
29
+ ## What a2ald provides
30
30
 
31
- - Repository & full docs: [github.com/a2al/a2al](https://github.com/a2al/a2al)
32
- - User-facing guides live under the repo `doc/` directory.
31
+ Once running, the daemon exposes a local REST API on `http://127.0.0.1:2121`. Key endpoints:
32
+
33
+ | Endpoint | Description |
34
+ |----------|-------------|
35
+ | `POST /fetch/{aid}` | Send an HTTP request to a remote agent over encrypted QUIC; daemon handles transport internally |
36
+ | `POST /connect/{aid}` | One-shot tunnel: returns a local TCP address for a single session |
37
+ | `POST /tunnel/{aid}` | Persistent multiplexed tunnel: multiple concurrent TCP connections over one QUIC pool |
38
+ | `POST /resolve/{aid}` | Look up a remote agent's current endpoints |
39
+
40
+ A built-in MCP server exposes all capabilities as tools for AI agents. Full API reference: [doc/api-reference.md](https://github.com/a2al/a2al/blob/main/doc/api-reference.md)
41
+
42
+ For CLI usage outside Node, see the `a2al` tool in the same repository (`a2al get`, `a2al post`, `a2al tunnel` commands).
33
43
 
34
44
  ## Official websites
35
45
 
36
- - **A2AL** — [a2al.org](https://a2al.org) project site and documentation hub
37
- - **Tangled Network** — [tanglednet.com](https://tanglednet.com) · short link [tngld.net](https://tngld.net)
46
+ - [a2al.org](https://a2al.org) - project site and documentation
47
+ - [tanglednet.org](https://tanglednet.org) / [tngld.net](https://tngld.net) - Tangled Network
38
48
 
39
49
  ## License
40
50
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "a2ald",
3
- "version": "0.1.8",
4
- "description": "A2AL daemon — decentralized agent networking for AI agents",
3
+ "version": "0.2.0",
4
+ "description": "A2AL daemon — decentralized agent networking (local REST+MCP including fetch/tunnel endpoints)",
5
5
  "license": "MPL-2.0",
6
6
  "homepage": "https://a2al.org",
7
7
  "repository": {
@@ -18,6 +18,9 @@
18
18
  "ai-agents",
19
19
  "p2p",
20
20
  "a2a",
21
+ "quic",
22
+ "http-proxy",
23
+ "tunnel",
21
24
  "mcp",
22
25
  "mcp-server",
23
26
  "agents"
@@ -32,10 +35,10 @@
32
35
  "README.md"
33
36
  ],
34
37
  "optionalDependencies": {
35
- "@a2al/a2ald-linux-x64": "0.1.8",
36
- "@a2al/a2ald-linux-arm64": "0.1.8",
37
- "@a2al/a2ald-darwin-x64": "0.1.8",
38
- "@a2al/a2ald-darwin-arm64": "0.1.8",
39
- "@a2al/a2ald-win32-x64": "0.1.8"
38
+ "@a2al/a2ald-linux-x64": "0.2.0",
39
+ "@a2al/a2ald-linux-arm64": "0.2.0",
40
+ "@a2al/a2ald-darwin-x64": "0.2.0",
41
+ "@a2al/a2ald-darwin-arm64": "0.2.0",
42
+ "@a2al/a2ald-win32-x64": "0.2.0"
40
43
  }
41
44
  }