diff --git a/.changeset/bootstrap-json-format.md b/.changeset/bootstrap-json-format.md deleted file mode 100644 index 76adc0e..0000000 --- a/.changeset/bootstrap-json-format.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@resciencelab/dap": patch ---- - -Upgrade bootstrap.json format to include transport endpoint fields (quicAddr, udpPort, httpPort) for future multi-transport bootstrap support diff --git a/.changeset/bootstrap-udp.md b/.changeset/bootstrap-udp.md deleted file mode 100644 index 2287814..0000000 --- a/.changeset/bootstrap-udp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@resciencelab/dap": minor ---- - -Add UDP socket listener (port 8098) to bootstrap nodes for QUIC peer rendezvous and NAT endpoint discovery diff --git a/.changeset/didkey-cli.md b/.changeset/didkey-cli.md deleted file mode 100644 index 7cf2453..0000000 --- a/.changeset/didkey-cli.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@resciencelab/dap": patch ---- - -Expose did:key (W3C DID) in identity CLI output and agent tool response diff --git a/.changeset/funny-rugs-bathe.md b/.changeset/funny-rugs-bathe.md deleted file mode 100644 index d10a1fb..0000000 --- a/.changeset/funny-rugs-bathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@resciencelab/dap": minor ---- - -Rename DeClaw to DAP across the package, plugin IDs, config keys, and public-facing docs. diff --git a/.changeset/key-rotation.md b/.changeset/key-rotation.md deleted file mode 100644 index c3ac479..0000000 --- a/.changeset/key-rotation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@resciencelab/dap": minor ---- - -Add POST /peer/key-rotation endpoint: both old and new Ed25519 keys sign the rotation record, TOFU cache is updated atomically diff --git a/.changeset/remove-yggdrasil.md b/.changeset/remove-yggdrasil.md deleted file mode 100644 index 061f347..0000000 --- a/.changeset/remove-yggdrasil.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@resciencelab/dap": minor ---- - -Remove Yggdrasil dependency. DAP now uses plain HTTP over TCP as its primary transport (with QUIC as an optional fast transport). This eliminates the need to install and run a Yggdrasil daemon, reducing agent onboarding to installing the plugin only. - -Breaking changes: -- `PluginConfig.yggdrasil_peers` removed — use `bootstrap_peers` with plain HTTP addresses -- `PluginConfig.test_mode` removed — no longer needed -- `Identity.cgaIpv6` and `Identity.yggIpv6` removed from the type -- `BootstrapNode.yggAddr` replaced with `addr` (plain hostname or IP) -- `isYggdrasilAddr()` removed from `peer-server` -- `DEFAULT_BOOTSTRAP_PEERS` is now empty — bootstrap addresses will be added to `docs/bootstrap.json` once AWS nodes are configured with public HTTP endpoints -- `startup_delay_ms` default reduced from 30s to 5s -- `yggdrasil_check` agent tool removed -- `openclaw p2p setup` CLI command removed diff --git a/.changeset/tofu-ttl.md b/.changeset/tofu-ttl.md deleted file mode 100644 index b0354d6..0000000 --- a/.changeset/tofu-ttl.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@resciencelab/dap": patch ---- - -Add TOFU binding TTL (default 7 days) to limit key compromise exposure window diff --git a/CHANGELOG.md b/CHANGELOG.md index a31c41f..0d8472a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## 0.4.0 + +### Minor Changes + +- dcd4f1c: Add UDP socket listener (port 8098) to bootstrap nodes for QUIC peer rendezvous and NAT endpoint discovery +- 0d92856: Rename DeClaw to DAP across the package, plugin IDs, config keys, and public-facing docs. +- dcd4f1c: Add POST /peer/key-rotation endpoint: both old and new Ed25519 keys sign the rotation record, TOFU cache is updated atomically +- dcd4f1c: Remove Yggdrasil dependency. DAP now uses plain HTTP over TCP as its primary transport (with QUIC as an optional fast transport). This eliminates the need to install and run a Yggdrasil daemon, reducing agent onboarding to installing the plugin only. + + Breaking changes: + + - `PluginConfig.yggdrasil_peers` removed — use `bootstrap_peers` with plain HTTP addresses + - `PluginConfig.test_mode` removed — no longer needed + - `Identity.cgaIpv6` and `Identity.yggIpv6` removed from the type + - `BootstrapNode.yggAddr` replaced with `addr` (plain hostname or IP) + - `isYggdrasilAddr()` removed from `peer-server` + - `DEFAULT_BOOTSTRAP_PEERS` is now empty — bootstrap addresses will be added to `docs/bootstrap.json` once AWS nodes are configured with public HTTP endpoints + - `startup_delay_ms` default reduced from 30s to 5s + - `yggdrasil_check` agent tool removed + - `openclaw p2p setup` CLI command removed + +### Patch Changes + +- dcd4f1c: Upgrade bootstrap.json format to include transport endpoint fields (quicAddr, udpPort, httpPort) for future multi-transport bootstrap support +- dcd4f1c: Expose did:key (W3C DID) in identity CLI output and agent tool response +- dcd4f1c: Add TOFU binding TTL (default 7 days) to limit key compromise exposure window + ## 0.3.2 ### Patch Changes diff --git a/openclaw.plugin.json b/openclaw.plugin.json index 96094a6..c416395 100644 --- a/openclaw.plugin.json +++ b/openclaw.plugin.json @@ -2,7 +2,7 @@ "id": "dap", "name": "DAP", "description": "Direct encrypted P2P communication between OpenClaw instances", - "version": "0.3.2", + "version": "0.4.0", "channels": [ "dap" ], diff --git a/package.json b/package.json index a8ec246..a9380be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@resciencelab/dap", - "version": "0.3.2", + "version": "0.4.0", "description": "Direct encrypted P2P communication between OpenClaw instances", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/skills/dap/SKILL.md b/skills/dap/SKILL.md index 5b13c2f..461cad5 100644 --- a/skills/dap/SKILL.md +++ b/skills/dap/SKILL.md @@ -1,7 +1,7 @@ --- name: dap description: Direct encrypted P2P messaging between OpenClaw agents over plain HTTP/TCP. Peer discovery, messaging, and connectivity diagnostics. Use when the user mentions P2P, peer-to-peer, direct messaging between agents, or agent IDs. -version: "0.3.2" +version: "0.4.0" metadata: openclaw: emoji: "🔗"