@toon-protocol/townhouse 0.4.0 → 0.5.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.
- package/dist/{chunk-SXKZUTGE.js → chunk-IXG4IYTG.js} +119 -23
- package/dist/chunk-IXG4IYTG.js.map +1 -0
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +16 -3
- package/dist/cli.js.map +1 -1
- package/dist/compose/townhouse-hs.yml +8 -8
- package/dist/image-manifest.json +10 -10
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/{manager-D9Y_iWHo.d.ts → manager-DSkD9Td1.d.ts} +14 -1
- package/package.json +2 -2
- package/dist/chunk-SXKZUTGE.js.map +0 -1
|
@@ -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:4f155c733c56b3d0a574694ffb3be9a8c9911d1eb446f362df262b55ebc3319b → @sha256:<hex>
|
|
26
|
+
# @sha256:97a8458097b452232c3838bab746f4a1a20461bfc1dfbb6b7ef26dfc8dca4c49 → @sha256:<hex>
|
|
27
|
+
# @sha256:be0911da96970e1b066d5124411280610f517ba8c9653510fe28b09baf087b2a → @sha256:<hex>
|
|
28
|
+
# @sha256:88f617f3d83e52daa37d14ab0728a649ffcb5a745e8904f0301fda43f341d9b7 → @sha256:<hex>
|
|
29
29
|
# @sha256:d22a786f82cc928238b0ef14c6455d1238bd2f42744138cad8af81ca1747ff6e → @sha256:<hex>
|
|
30
30
|
#
|
|
31
31
|
# Scope guard (Story 45.2 does NOT include):
|
|
@@ -152,7 +152,7 @@ services:
|
|
|
152
152
|
# Port D21-008: Fastify host API on 127.0.0.1:28090.
|
|
153
153
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
154
154
|
townhouse-api:
|
|
155
|
-
image: ghcr.io/toon-protocol/townhouse-api@sha256:
|
|
155
|
+
image: ghcr.io/toon-protocol/townhouse-api@sha256:4f155c733c56b3d0a574694ffb3be9a8c9911d1eb446f362df262b55ebc3319b
|
|
156
156
|
container_name: townhouse-hs-api
|
|
157
157
|
# Run as the operator's host UID so bind-mounted ~/.townhouse files
|
|
158
158
|
# (rw------- 600) are readable. TOWNHOUSE_UID is injected by `townhouse hs up`.
|
|
@@ -252,7 +252,7 @@ services:
|
|
|
252
252
|
# start at first run).
|
|
253
253
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
254
254
|
town:
|
|
255
|
-
image: ghcr.io/toon-protocol/town@sha256:
|
|
255
|
+
image: ghcr.io/toon-protocol/town@sha256:97a8458097b452232c3838bab746f4a1a20461bfc1dfbb6b7ef26dfc8dca4c49
|
|
256
256
|
container_name: townhouse-hs-town
|
|
257
257
|
profiles: [town]
|
|
258
258
|
networks:
|
|
@@ -308,7 +308,7 @@ services:
|
|
|
308
308
|
# Lazy-provisioned via Epic 46: `townhouse node add mill`
|
|
309
309
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
310
310
|
mill:
|
|
311
|
-
image: ghcr.io/toon-protocol/mill@sha256:
|
|
311
|
+
image: ghcr.io/toon-protocol/mill@sha256:be0911da96970e1b066d5124411280610f517ba8c9653510fe28b09baf087b2a
|
|
312
312
|
container_name: townhouse-hs-mill
|
|
313
313
|
profiles: [mill]
|
|
314
314
|
networks:
|
|
@@ -356,7 +356,7 @@ services:
|
|
|
356
356
|
# Lazy-provisioned via Epic 46: `townhouse node add dvm`
|
|
357
357
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
358
358
|
dvm:
|
|
359
|
-
image: ghcr.io/toon-protocol/dvm@sha256:
|
|
359
|
+
image: ghcr.io/toon-protocol/dvm@sha256:88f617f3d83e52daa37d14ab0728a649ffcb5a745e8904f0301fda43f341d9b7
|
|
360
360
|
container_name: townhouse-hs-dvm
|
|
361
361
|
profiles: [dvm]
|
|
362
362
|
networks:
|
package/dist/image-manifest.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"townhouseVersion": "0.
|
|
4
|
-
"builtAt": "2026-06-
|
|
3
|
+
"townhouseVersion": "0.5.0",
|
|
4
|
+
"builtAt": "2026-06-03T01:16:26.828Z",
|
|
5
5
|
"images": {
|
|
6
6
|
"townhouse-api": {
|
|
7
7
|
"name": "ghcr.io/toon-protocol/townhouse-api",
|
|
8
|
-
"tag": "0.
|
|
9
|
-
"digest": "sha256:
|
|
8
|
+
"tag": "0.5.0",
|
|
9
|
+
"digest": "sha256:4f155c733c56b3d0a574694ffb3be9a8c9911d1eb446f362df262b55ebc3319b"
|
|
10
10
|
},
|
|
11
11
|
"town": {
|
|
12
12
|
"name": "ghcr.io/toon-protocol/town",
|
|
13
|
-
"tag": "0.
|
|
14
|
-
"digest": "sha256:
|
|
13
|
+
"tag": "0.5.0",
|
|
14
|
+
"digest": "sha256:97a8458097b452232c3838bab746f4a1a20461bfc1dfbb6b7ef26dfc8dca4c49"
|
|
15
15
|
},
|
|
16
16
|
"mill": {
|
|
17
17
|
"name": "ghcr.io/toon-protocol/mill",
|
|
18
|
-
"tag": "0.
|
|
19
|
-
"digest": "sha256:
|
|
18
|
+
"tag": "0.5.0",
|
|
19
|
+
"digest": "sha256:be0911da96970e1b066d5124411280610f517ba8c9653510fe28b09baf087b2a"
|
|
20
20
|
},
|
|
21
21
|
"dvm": {
|
|
22
22
|
"name": "ghcr.io/toon-protocol/dvm",
|
|
23
|
-
"tag": "0.
|
|
24
|
-
"digest": "sha256:
|
|
23
|
+
"tag": "0.5.0",
|
|
24
|
+
"digest": "sha256:88f617f3d83e52daa37d14ab0728a649ffcb5a745e8904f0301fda43f341d9b7"
|
|
25
25
|
},
|
|
26
26
|
"connector": {
|
|
27
27
|
"name": "ghcr.io/toon-protocol/connector",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as EncryptedWallet, T as TownhouseConfig, W as WalletManager, a as ComposeProfile, N as NodeType$1, B as BandwidthStats, H as HealthCheckOptions, b as ChainProviderEntry } from './manager-
|
|
2
|
-
export { A as ApiConfig, c as ChainType, d as ComposeLoaderError, C as ComposeLoaderOptions, e as ConnectorConfig, f as ContainerSpec, D as DerivedNodeKeys, g as DvmNodeConfig, h as EvmChainProvider, L as LoggingConfig, M as MillNodeConfig, i as MinaChainProvider, j as NodeKeyInfo, k as NodeKeys, l as NodesConfig, O as OrchestratorEvents, S as SolanaChainProvider, m as TownNodeConfig, n as TransportConfig, o as WalletConfig, p as WalletManagerConfig, q as WalletState, r as loadComposeTemplate, s as materializeComposeTemplate } from './manager-
|
|
1
|
+
import { E as EncryptedWallet, T as TownhouseConfig, W as WalletManager, a as ComposeProfile, N as NodeType$1, B as BandwidthStats, H as HealthCheckOptions, b as ChainProviderEntry } from './manager-DSkD9Td1.js';
|
|
2
|
+
export { A as ApiConfig, c as ChainType, d as ComposeLoaderError, C as ComposeLoaderOptions, e as ConnectorConfig, f as ContainerSpec, D as DerivedNodeKeys, g as DvmNodeConfig, h as EvmChainProvider, L as LoggingConfig, M as MillNodeConfig, i as MinaChainProvider, j as NodeKeyInfo, k as NodeKeys, l as NodesConfig, O as OrchestratorEvents, S as SolanaChainProvider, m as TownNodeConfig, n as TransportConfig, o as WalletConfig, p as WalletManagerConfig, q as WalletState, r as loadComposeTemplate, s as materializeComposeTemplate } from './manager-DSkD9Td1.js';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
import Docker from 'dockerode';
|
|
5
5
|
import { FastifyBaseLogger, FastifyInstance } from 'fastify';
|
package/dist/index.js
CHANGED
|
@@ -205,12 +205,25 @@ interface TownhouseConfig {
|
|
|
205
205
|
* - `mainnet` (default when unset) — public production chains
|
|
206
206
|
* - `testnet` — public Sepolia / Solana testnet / Mina devnet
|
|
207
207
|
* - `devnet` — public Sepolia / Solana+Mina devnets (no local chain)
|
|
208
|
-
* - `custom` — operator supplies `chainProviders`
|
|
208
|
+
* - `custom` — operator supplies `chainProviders` directly, OR just RPC URLs
|
|
209
|
+
* via `endpoints` (below) to point at the project's dev chains
|
|
209
210
|
*
|
|
210
211
|
* Resolved via `resolveNetworkProfile()` (@toon-protocol/core). An explicit
|
|
211
212
|
* non-empty `chainProviders` always overrides the derived providers.
|
|
212
213
|
*/
|
|
213
214
|
network?: NetworkMode;
|
|
215
|
+
/**
|
|
216
|
+
* Operator-supplied RPC URLs for `network: 'custom'` (`--evm-url`/`--sol-url`
|
|
217
|
+
* or EVM_URL/SOL_URL env). Points the apex + nodes at the project's dev chains
|
|
218
|
+
* hosted anywhere — e.g. the anvil + solana that scripts/akash-deploy.sh
|
|
219
|
+
* deploys to Akash (ingress hostnames rotate per redeploy, so the operator
|
|
220
|
+
* passes the current URLs). EVM is the chain-id 31338 Anvil
|
|
221
|
+
* (settlement-complete); Solana is RPC + Mock-USDC only (relay-only).
|
|
222
|
+
*/
|
|
223
|
+
endpoints?: {
|
|
224
|
+
evmUrl?: string;
|
|
225
|
+
solUrl?: string;
|
|
226
|
+
};
|
|
214
227
|
/**
|
|
215
228
|
* Connector chain providers — required for the connector's settlement
|
|
216
229
|
* subsystem (AccountManager + ClaimReceiver) to initialize. When unset on
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toon-protocol/townhouse",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "TOON Townhouse — host-native orchestrator + dashboard for Docker-containerized TOON nodes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"vitest": "^1.0.0",
|
|
74
74
|
"@toon-protocol/client": "^0.9.1",
|
|
75
75
|
"@toon-protocol/core": "^1.4.1",
|
|
76
|
-
"@toon-protocol/relay": "^1.3.1",
|
|
77
76
|
"@toon-protocol/mill": "^0.1.0",
|
|
77
|
+
"@toon-protocol/relay": "^1.3.1",
|
|
78
78
|
"@toon-protocol/sdk": "^0.5.0"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|