@toon-protocol/townhouse 0.5.1 → 0.5.3
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/{chunk-EQ6SS4ZJ.js → chunk-XFPIK22M.js} +52 -7
- package/dist/chunk-XFPIK22M.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/compose/townhouse-hs.yml +36 -11
- package/dist/image-manifest.json +10 -10
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-EQ6SS4ZJ.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
# Story 45.4 boots only connector + townhouse-api at apex install
|
|
23
23
|
#
|
|
24
24
|
# Digest placeholders (substituted at build time from dist/image-manifest.json):
|
|
25
|
-
# @sha256:
|
|
26
|
-
# @sha256:
|
|
27
|
-
# @sha256:
|
|
28
|
-
# @sha256:
|
|
25
|
+
# @sha256:4938d86bb78566c2bc0577d36258c3949548cffa8a218bdd5e292816a4c3d7cf → @sha256:<hex>
|
|
26
|
+
# @sha256:266f021cd408b158271d13f2e66f91ff015cd24d15ebec0410c09e1f4c48dd2d → @sha256:<hex>
|
|
27
|
+
# @sha256:4c6e7a430c62b3a2d9b88bc67ca64376d6c786427039fe91897f21273304269d → @sha256:<hex>
|
|
28
|
+
# @sha256:b3d236150e0109bbc4ad1716cb4c8078071f910d976ef8b9ddb24a16b9691827 → @sha256:<hex>
|
|
29
29
|
# @sha256:d22a786f82cc928238b0ef14c6455d1238bd2f42744138cad8af81ca1747ff6e → @sha256:<hex>
|
|
30
30
|
#
|
|
31
31
|
# Scope guard (Story 45.2 does NOT include):
|
|
@@ -93,7 +93,12 @@ services:
|
|
|
93
93
|
user: root
|
|
94
94
|
# anon (Tor-based) requires the HS dir to be mode 0700 — too-permissive
|
|
95
95
|
# directories cause an immediate abort. Docker creates volumes as root 755.
|
|
96
|
-
command:
|
|
96
|
+
command:
|
|
97
|
+
[
|
|
98
|
+
'sh',
|
|
99
|
+
'-c',
|
|
100
|
+
'mkdir -p /data && chown -R 1000:1000 /data && chmod 700 /data',
|
|
101
|
+
]
|
|
97
102
|
volumes:
|
|
98
103
|
- townhouse-hs-anon:/data
|
|
99
104
|
restart: 'no'
|
|
@@ -152,7 +157,7 @@ services:
|
|
|
152
157
|
# Port D21-008: Fastify host API on 127.0.0.1:28090.
|
|
153
158
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
154
159
|
townhouse-api:
|
|
155
|
-
image: ghcr.io/toon-protocol/townhouse-api@sha256:
|
|
160
|
+
image: ghcr.io/toon-protocol/townhouse-api@sha256:4938d86bb78566c2bc0577d36258c3949548cffa8a218bdd5e292816a4c3d7cf
|
|
156
161
|
container_name: townhouse-hs-api
|
|
157
162
|
# Run as the operator's host UID so bind-mounted ~/.townhouse files
|
|
158
163
|
# (rw------- 600) are readable. TOWNHOUSE_UID is injected by `townhouse hs up`.
|
|
@@ -231,7 +236,14 @@ services:
|
|
|
231
236
|
# nosemgrep: trailofbits.generic.wget-unencrypted-url.wget-unencrypted-url -- container-internal probe
|
|
232
237
|
# Use 127.0.0.1 (not localhost) to avoid IPv6 resolution surprises. The
|
|
233
238
|
# townhouse-api exposes /api/transport (not /api/health).
|
|
234
|
-
test:
|
|
239
|
+
test:
|
|
240
|
+
[
|
|
241
|
+
'CMD',
|
|
242
|
+
'wget',
|
|
243
|
+
'-q',
|
|
244
|
+
'--spider',
|
|
245
|
+
'http://127.0.0.1:28090/api/transport',
|
|
246
|
+
]
|
|
235
247
|
interval: 10s
|
|
236
248
|
timeout: 5s
|
|
237
249
|
retries: 5
|
|
@@ -252,7 +264,7 @@ services:
|
|
|
252
264
|
# start at first run).
|
|
253
265
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
254
266
|
town:
|
|
255
|
-
image: ghcr.io/toon-protocol/town@sha256:
|
|
267
|
+
image: ghcr.io/toon-protocol/town@sha256:266f021cd408b158271d13f2e66f91ff015cd24d15ebec0410c09e1f4c48dd2d
|
|
256
268
|
container_name: townhouse-hs-town
|
|
257
269
|
profiles: [town]
|
|
258
270
|
networks:
|
|
@@ -269,7 +281,13 @@ services:
|
|
|
269
281
|
CONNECTOR_URL: ws://connector:3000
|
|
270
282
|
ILP_ADDRESS: g.townhouse.town
|
|
271
283
|
NODE_ID: town
|
|
272
|
-
|
|
284
|
+
# MUST equal the apex connector's nodeId (g.townhouse). The child connector
|
|
285
|
+
# keys peerRelations by the auth-declared peerId of the inbound session, so
|
|
286
|
+
# a mismatched value (e.g. the old literal 'apex') means the child never
|
|
287
|
+
# applies the 'parent' relation → it F06-rejects every paid PREPARE the
|
|
288
|
+
# apex forwards ("No payment channel claim attached"). entrypoint-town maps
|
|
289
|
+
# PARENT_PEER_ID → TOON_PARENT_PEER_ID.
|
|
290
|
+
PARENT_PEER_ID: g.townhouse
|
|
273
291
|
FEE_PER_EVENT: '0'
|
|
274
292
|
# Chain selection — driven by the `network` flag (resolveNetworkProfile).
|
|
275
293
|
# EVM_CHAIN is the primary EVM preset name (e.g. base-mainnet) → town
|
|
@@ -308,7 +326,7 @@ services:
|
|
|
308
326
|
# Lazy-provisioned via Epic 46: `townhouse node add mill`
|
|
309
327
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
310
328
|
mill:
|
|
311
|
-
image: ghcr.io/toon-protocol/mill@sha256:
|
|
329
|
+
image: ghcr.io/toon-protocol/mill@sha256:4c6e7a430c62b3a2d9b88bc67ca64376d6c786427039fe91897f21273304269d
|
|
312
330
|
container_name: townhouse-hs-mill
|
|
313
331
|
profiles: [mill]
|
|
314
332
|
networks:
|
|
@@ -322,6 +340,13 @@ services:
|
|
|
322
340
|
environment:
|
|
323
341
|
# nosemgrep: detect-insecure-websocket -- Docker-internal
|
|
324
342
|
CONNECTOR_URL: ws://connector:3000
|
|
343
|
+
# MUST equal the apex connector's nodeId (g.townhouse) so the mill's
|
|
344
|
+
# embedded connector applies the 'parent' relation to the apex session and
|
|
345
|
+
# treats forwarded swap PREPAREs as free parent traffic. entrypoint-mill
|
|
346
|
+
# reads TOON_PARENT_PEER_ID directly (it does NOT map PARENT_PEER_ID like
|
|
347
|
+
# town does); without it the mill defaults to 'apex' and rejects swaps with
|
|
348
|
+
# T00 "Per-packet claim service not configured".
|
|
349
|
+
TOON_PARENT_PEER_ID: g.townhouse
|
|
325
350
|
FEE_BASIS_POINTS: '0'
|
|
326
351
|
SETTLEMENT_RPC_URL: ${EVM_RPC_URL:-}
|
|
327
352
|
SETTLEMENT_CHAIN_ID: ${EVM_CHAIN_ID:-}
|
|
@@ -356,7 +381,7 @@ services:
|
|
|
356
381
|
# Lazy-provisioned via Epic 46: `townhouse node add dvm`
|
|
357
382
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
358
383
|
dvm:
|
|
359
|
-
image: ghcr.io/toon-protocol/dvm@sha256:
|
|
384
|
+
image: ghcr.io/toon-protocol/dvm@sha256:b3d236150e0109bbc4ad1716cb4c8078071f910d976ef8b9ddb24a16b9691827
|
|
360
385
|
container_name: townhouse-hs-dvm
|
|
361
386
|
profiles: [dvm]
|
|
362
387
|
networks:
|
package/dist/image-manifest.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"townhouseVersion": "0.5.
|
|
4
|
-
"builtAt": "2026-06-
|
|
3
|
+
"townhouseVersion": "0.5.3",
|
|
4
|
+
"builtAt": "2026-06-03T19:33:05.160Z",
|
|
5
5
|
"images": {
|
|
6
6
|
"townhouse-api": {
|
|
7
7
|
"name": "ghcr.io/toon-protocol/townhouse-api",
|
|
8
|
-
"tag": "0.5.
|
|
9
|
-
"digest": "sha256:
|
|
8
|
+
"tag": "0.5.3",
|
|
9
|
+
"digest": "sha256:4938d86bb78566c2bc0577d36258c3949548cffa8a218bdd5e292816a4c3d7cf"
|
|
10
10
|
},
|
|
11
11
|
"town": {
|
|
12
12
|
"name": "ghcr.io/toon-protocol/town",
|
|
13
|
-
"tag": "0.5.
|
|
14
|
-
"digest": "sha256:
|
|
13
|
+
"tag": "0.5.3",
|
|
14
|
+
"digest": "sha256:266f021cd408b158271d13f2e66f91ff015cd24d15ebec0410c09e1f4c48dd2d"
|
|
15
15
|
},
|
|
16
16
|
"mill": {
|
|
17
17
|
"name": "ghcr.io/toon-protocol/mill",
|
|
18
|
-
"tag": "0.5.
|
|
19
|
-
"digest": "sha256:
|
|
18
|
+
"tag": "0.5.3",
|
|
19
|
+
"digest": "sha256:4c6e7a430c62b3a2d9b88bc67ca64376d6c786427039fe91897f21273304269d"
|
|
20
20
|
},
|
|
21
21
|
"dvm": {
|
|
22
22
|
"name": "ghcr.io/toon-protocol/dvm",
|
|
23
|
-
"tag": "0.5.
|
|
24
|
-
"digest": "sha256:
|
|
23
|
+
"tag": "0.5.3",
|
|
24
|
+
"digest": "sha256:b3d236150e0109bbc4ad1716cb4c8078071f910d976ef8b9ddb24a16b9691827"
|
|
25
25
|
},
|
|
26
26
|
"connector": {
|
|
27
27
|
"name": "ghcr.io/toon-protocol/connector",
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toon-protocol/townhouse",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "TOON Townhouse — host-native orchestrator + dashboard for Docker-containerized TOON nodes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"@toon-protocol/client": "^0.9.1",
|
|
75
75
|
"@toon-protocol/core": "^1.4.1",
|
|
76
76
|
"@toon-protocol/relay": "^1.3.1",
|
|
77
|
-
"@toon-protocol/
|
|
78
|
-
"@toon-protocol/
|
|
77
|
+
"@toon-protocol/mill": "^0.1.0",
|
|
78
|
+
"@toon-protocol/sdk": "^0.5.0"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsup",
|