Commit Graph
929 Commits
Author SHA1 Message Date
BigBodyCobainandClaude Opus 5.5 cb87208f02 Keep signed gate fields on peer push and run contact requests off the loop
The gate peer-push router dropped transport_lock from the event payload,
and the immediate push built its body without envelope_hash, gate_envelope,
transport_lock and reply_to. All of these are covered by the gate event
signature, so receivers rejected pushed posts as invalid and posts only
crossed through the slower pull path. Both paths now keep every signed field.

The connect-contact endpoint called a blocking function that makes HTTP
calls back into the same server directly on the event loop; it now runs in
a worker thread.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 13:33:07 -07:00
BigBodyCobainandClaude Opus 5.5 2cbec30cae Keep the DM relay hint and stop peer store lost updates
- The routed /api/mesh/dm/prekey-bundle and /api/mesh/dm/pubkey
  handlers dropped lookup_peer_url, so every invite lookup ignored the
  relay the sender named and fell back to a fleet-wide search that
  could run for many minutes. Pass it through.
- Give an onion relay hint a circuit-sized connect timeout; 5 s was
  shorter than building a circuit to an onion service.
- PeerStore.save() now merges with what other writers saved since its
  load, so concurrent loops and endpoints no longer drop each other's
  changes (an operator-added peer was being lost to a swarm refresh).
- Merge a swarm manifest with one load and one save instead of one per
  peer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 13:33:02 -07:00
BigBodyCobainandClaude Opus 5.5 eb5fcd7982 Find live peers in a large swarm and bound DM fan-out
- Probe peers nobody has vouched for in a fresh random order, untried
  first, so a long peer list is swept instead of the same few dead
  peers being retried every time their cooldown ends.
- A peer that reaches us with a valid peer HMAC is tried before unknown
  peers (ordering only; it still cools down if it then fails).
- DM fan-out without a named relay, and the invite prekey lookup across
  push peers, walked every known peer at the full (onion) timeout. Both
  now take live and vouched-for peers first and stop after a bounded
  number; the lookup also has an overall deadline.
- Swarm manifest refreshes no longer turn an operator-added peer back
  into a swarm peer or re-enable one the operator disabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 13:32:41 -07:00
BigBodyCobainandClaude Opus 5.5 5aaac84f2f Fix peer push delivery for gate posts and DMs
- Tor and clearnet transports unpacked the per-peer body builder as if
  it were the body, so every peer push raised a TypeError and nothing
  left the node over those transports. Build the body per destination.
- The RNS gate fallback reported "published" even when RNS was off,
  which marked undelivered gate posts as delivered. Report failure
  unless RNS is enabled and ready.
- The gate push/pull loops and the immediate sends walked every known
  peer in store order with a long timeout. With thousands of swarm
  peers, mostly unreachable, a pass could take hours before reaching a
  live peer. Contact recently working peers first, then peers the
  peer store vouches for, back off failing peers with a doubling
  cooldown, stop a peer's remaining gates after its first failure, and
  cap contacts per pass and per send.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 13:32:41 -07:00
BigBodyCobainandClaude Opus 5.5 58faf59a9f Fix DM first-contact lookup timeouts and connect-contact stall
- The registered GET /api/mesh/dm/prekey-bundle route (routers/mesh_dm.py)
  dropped lookup_peer_url, so the UI's invite lookup fanned out to every
  known peer instead of asking the invite owner, and could run for minutes.
  Forward it to the main handler.
- The hinted invite lookup used a fixed (5, 20) s timeout and a single try,
  shorter than the onion timeout and often shorter than a Tor round trip to
  a busy node. The invite owner's peer now gets its transport's normal
  timeout and one retry on a transport failure, bounded by the existing
  lookup deadline. Definitive answers ("not found") are not retried.
- POST /api/wormhole/dm/connect-contact ran send_contact_request on the
  event loop. That makes blocking HTTP calls back into the same server, so
  the API stalled until the call timed out. Run it in a worker thread, as
  the gate invite routes already do.
- openclaw_infonet._run_async called asyncio.run() inside a running loop in
  both branches, which raises RuntimeError. Run the coroutine on its own
  loop in a helper thread when a loop is already running.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 12:42:00 -07:00
ShadowbrokerandClaude Opus 5.5 15ff75aaf8 Release dm/gate posts on explicit weaker-privacy approval, and prompt for it in the gate view (#757)
* Honour a per-message weaker-privacy approval for dm and gate release

On a node with RNS enabled but only one private transport up, dm and gate
items wait for private_strong. The "send with weaker privacy" approval
returned ok but did nothing: evaluate_network_release ignored it, the
worker wiped it on every pass for gate items, and the outbox overlay only
handled dm, so gate items never showed weaker_privacy_approval_required.

An explicit per-item approval now lets that one item release at
private_transitional, never lower. Without it the floor (Hardening Rec #4)
is unchanged and items stay queued. Contact-wide relay policies do not
lower the floor, and MESH_PRIVATE_RELEASE_APPROVAL_ENABLE=false disables
it entirely. Gate items now get the approval prompt in the outbox status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Show queued gate posts and the weaker-privacy prompt in the gate view

Gate posts are sealed in the local private outbox and can wait there for
private_strong, but no gate UI showed that. The approval prompt existed
only in the DM compose panel, so a stuck gate post looked "posted".

The Infonet gate view now lists this node's queued gate posts above the
composer. When the backend reports weaker_privacy_approval_required it
shows "Keep waiting" (first) and "Send with weaker privacy", which call
the existing private-delivery action route. It polls only while a post
is waiting. The Mesh Terminal says a post is queued instead of "Posted".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 08:37:03 -07:00
ShadowbrokerandClaude Opus 5.5 521c45cc95 Recon: offline IP geolocation from DB-IP Lite (#753)
ip-api.com's free tier refuses HTTPS, so the IP dossier, the subnet
sweep and the entity graph all came back without a location. They now
read the free DB-IP Lite city and ASN databases stored in the data
folder, so the IPs being investigated are never sent to anyone.

- services/geoip_local.py: downloads the two files on the first IP
  lookup (about 65 MB), checks each new file before it replaces the old
  one, and keeps one copy. A daily job fetches a file only when a new
  month's is out and only on installs that already have one.
  SB_GEOIP_AUTO_UPDATE=0 turns downloading off.
- The sweep keeps its scan results when no location is available.
- The dossier credits DB-IP (CC BY 4.0) and no longer shows a risk
  level or proxy flags it does not have.
- Adds maxminddb 3.2.0 to read the files.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 04:51:54 -07:00
dependabot[bot] 72e0a491ed chore(deps-dev): bump vitest in /frontend in the vitest group (#745)
Bumps the vitest group in /frontend with 1 update: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).


Updates `vitest` from 5.1.0 to 5.1.1
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.1/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 5.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vitest
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-29 22:09:48 -07:00
dependabot[bot] 7bd38d9a4f chore(deps): bump the npm-minor-and-patch group (#746)
Bumps the npm-minor-and-patch group in /frontend with 3 updates: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react), [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) and [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8).


Updates `lucide-react` from 1.73.0 to 1.78.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/1.78.0/packages/lucide-react)

Updates `maplibre-gl` from 6.18.0 to 6.19.0
- [Release notes](https://github.com/maplibre/maplibre-gl-js/releases)
- [Changelog](https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/maplibre/maplibre-gl-js/compare/v6.18.0...v6.19.0)

Updates `@vitest/coverage-v8` from 5.1.0 to 5.1.1
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.1/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: lucide-react
  dependency-version: 1.78.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: maplibre-gl
  dependency-version: 6.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 5.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-29 22:09:22 -07:00
dependabot[bot] 0164734c44 chore(deps-dev): bump @testing-library/jest-dom in /frontend (#747)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 7.0.1 to 8.0.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v7.0.1...v8.0.0)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-version: 8.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-29 22:09:07 -07:00
dependabot[bot] 685b6cc1af chore(deps): bump cachetools (#749)
Bumps the python-minor-and-patch group with 1 update: [cachetools](https://github.com/tkem/cachetools).


Updates `cachetools` from 8.0.0 to 8.0.2
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tkem/cachetools/compare/v8.0.0...v8.0.2)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-version: 8.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-29 22:09:03 -07:00
dependabot[bot] c75fca1d3c chore(deps): bump astral-sh/setup-uv (#748)
Bumps the actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).


Updates `astral-sh/setup-uv` from 10.3.3 to 10.4.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/68559e99cc807c1eb7e9238fd43a15bba460eec2...1db35dd8eee11c5894872e0b383ae6c406cf738d)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: 10.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-29 22:08:59 -07:00
Shadowbroker 91a3874c75 README: read the star count from GitHub (#751) 2026-11-29 20:14:06 -07:00
Shadowbroker 7d08039884 Merge pull request #734 from tensorust-ai/fix/us-sanctions-beyond-sdn
sanctions: index the US lists beyond the SDN (CSL, 1260H, UFLPA, FCC Covered List)
2026-11-26 00:11:00 -07:00
Shadowbroker a492ff4dfe Merge pull request #744 from BigBodyCobain/fix/viewer-no-news-popups
Public map: no news pop-ups, and say clearly it is a preview of the full app
2026-11-24 09:56:37 -07:00
BigBodyCobainandClaude Opus 5.5 8030ef7883 README: show the exact live star count
The standard stars badge rounds 11,623 up to "12K". This one reads the
exact count and still updates on its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:49:43 -07:00
BigBodyCobainandClaude Opus 5.5 7a73fbaf17 README: link bar and badges for the website, live map, Discord and HN
Adds a link line (website, live map, Discord, forum), a badge row
(website, live map, Discord, license, stars) and the Hacker News badge
suggested in #732.

Closes #732

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:41:55 -07:00
BigBodyCobainandClaude Opus 5.5 046feaa18f Say clearly that the public map is a preview, not the full app
The public map now has a "Public preview" line on its main card, and the
About box opens with two lists: what is on this map, and what only the
full app has. The README gets the same comparison as a table near the top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:11:15 -07:00
BigBodyCobainandClaude Opus 5.5 bdf5b4673f Public viewer: no news pop-ups on load
Every visit starts with no stories seen, so each page load repeated the
high-risk stories already listed in the news panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 05:34:02 -07:00
Shadowbroker b369362ed1 Merge pull request #743 from BigBodyCobain/fix/aprs-server-failover
APRS receive: try another pool server when one refuses the login
2026-11-23 16:57:16 -07:00
BigBodyCobainandClaude Fable 5.2 9b10b49eed APRS receive: try another pool server when one refuses the login
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:47:05 -07:00
Shadowbroker 476bf70f38 Merge pull request #741 from BigBodyCobain/feat/viewer-pages
Viewer: publish under a sub-folder
2026-11-23 16:20:54 -07:00
BigBodyCobainandClaude Fable 5.2 c287699043 Viewer: APRS regions for southern France, Shanghai and the Taiwan Strait
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:12:12 -07:00
Shadowbroker f4d450c270 Merge pull request #742 from BigBodyCobain/fix/radar-watch-areas-aprs-regions
Radar layer: watch areas and feed items; APRS: optional extra regions
2026-11-23 16:11:14 -07:00
BigBodyCobainandClaude Fable 5.2 edc609ef05 Viewer: pass the radar coverage list to the map
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:57:08 -07:00
BigBodyCobainandClaude Fable 5.2 3becd6b78b Viewer: radar layer and more APRS regions
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:39:54 -07:00
BigBodyCobainandClaude Fable 5.2 ca440160f9 Radar layer: include its items in the dashboard feed again
The map draws radar pins and pass counts from the slow feed, which had
stopped carrying them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:37:53 -07:00
BigBodyCobainandClaude Fable 5.2 595b61d208 Radar layer: built-in watch areas; APRS: optional extra regions
The radar layer had no areas to watch on a fresh install, so it showed
nothing. APRS receive can now listen to a few more bounded circles.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:34:21 -07:00
BigBodyCobainandClaude Fable 5.2 3b00dbfca8 Viewer: never step back to an older data set
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:08:30 -07:00
BigBodyCobainandClaude Fable 5.2 efacdd781b Viewer: phone detail sheet and shorter first screen
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 14:54:55 -07:00
BigBodyCobainandClaude Fable 5.2 dbaefac075 Viewer: token button in the phone bar
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 14:44:06 -07:00
BigBodyCobainandClaude Fable 5.2 3db0803f74 Viewer: phone layout for landscape
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 14:39:57 -07:00
BigBodyCobainandClaude Fable 5.2 ba646c1f04 Viewer: phone layout
Full-screen map, a bottom button bar, and the two side columns as sheets.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 14:33:40 -07:00
BigBodyCobainandClaude Fable 5.2 b43ff01149 Viewer: keep aircraft names visible next to cluster bubbles
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 13:37:22 -07:00
BigBodyCobainandClaude Fable 5.2 d264d890a4 Viewer: token card above the header card
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:21:08 -07:00
BigBodyCobainandClaude Fable 5.2 1cbdfc3aab Viewer: right-click satellite picture, reference lists without a layer switch
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:12:38 -07:00
BigBodyCobainandClaude Fable 5.2 770d2f0d4b Viewer: allow four more optional feed keys for the public engine
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:02:33 -07:00
BigBodyCobainandClaude Fable 5.2 2ee2adf048 Viewer: publish under a sub-folder, data from another static host
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 09:57:25 -07:00
Shadowbroker 39aae65897 Merge pull request #738 from BigBodyCobain/feat/public-viewer
Add look-only public viewer (viewer/)
2026-11-23 09:39:17 -07:00
Shadowbroker 2665195561 Merge pull request #740 from BigBodyCobain/feat/viewer-skill
Add read-only public agent skill (shadowbroker-public)
2026-11-23 09:31:31 -07:00
BigBodyCobain ad5d9f4a24 Merge remote-tracking branch 'origin/feat/public-viewer' into feat/viewer-skill
# Conflicts:
#	viewer/README.md
#	viewer/web/overlay/src/app/page.tsx
2026-11-23 09:30:39 -07:00
Shadowbroker a92a6d0a66 Merge pull request #739 from BigBodyCobain/feat/viewer-chat
Viewer: optional public chat room
2026-11-23 09:30:30 -07:00
BigBodyCobainandClaude Fable 5.2 8e28bf14e6 Skills: look through public cameras
Both skills can find cameras near a place and save one current picture
(or short clip) to a file for a vision model. The camera comes from the
camera list by id or position, never from an address.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 09:25:13 -07:00
BigBodyCobain ed61456eb1 Merge branch 'feat/public-viewer' into feat/viewer-skill
# Conflicts:
#	viewer/README.md
2026-11-23 09:14:37 -07:00
BigBodyCobain 32f61f9085 Merge branch 'feat/public-viewer' into feat/viewer-chat
# Conflicts:
#	viewer/README.md
2026-11-23 09:14:28 -07:00
BigBodyCobainandClaude Fable 5.2 73d3b8120a Viewer: do not save switches for layers the viewer hides
A layer that was hidden and is shown later kept a saved 'off' the visitor
never chose. Hidden switches are no longer saved, and browsers that saved
them under an older build get the default back once.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 09:14:17 -07:00
BigBodyCobainandClaude Fable 5.2 c24871b724 Viewer: open the agent skill screen from a #skill link
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 09:08:36 -07:00
BigBodyCobainandClaude Fable 5.2 7c03b779c9 Viewer: let visitors read the agent skill before using it
An 'AI agent skill' screen shows every file of the public skill in full,
as plain text, with a SHA-256 fingerprint each and a link to the source.
The build copies the files into the site and stops if one contains
invisible characters or a hidden comment.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 08:45:38 -07:00
BigBodyCobainandClaude Fable 5.2 4b5f0e2708 Add read-only public agent skill (shadowbroker-public)
A public sibling of the shadowbroker agent skill. It answers questions
about aircraft, ships, nearby activity and news by reading the public
viewer's published data files. Same command names and answer shapes as
the full skill; no key, account or install needed; nothing it can send
or change.

- openclaw-skills/shadowbroker-public: SKILL.md, skill.yaml, sb_public.py
  (standard library only) and tests
- bridge: optional --lookup-index, a small aircraft/ship index so one
  lookup does not download whole layers

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 08:40:05 -07:00
BigBodyCobain b8c4535a03 Merge branch 'feat/public-viewer' into feat/viewer-chat 2026-11-23 08:09:41 -07:00