stitchwire 0.59.0 → 0.60.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/README.md +16 -16
- package/bin/stitchwire +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/max-listov/stitchwire/v0.
|
|
2
|
+
<img src="https://raw.githubusercontent.com/max-listov/stitchwire/v0.60.0/docs/assets/stitchwire-mark.jpg" width="180" alt="StitchWire" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">StitchWire</h1>
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
|
-
<a href="https://github.com/max-listov/stitchwire/blob/v0.
|
|
13
|
+
<a href="https://github.com/max-listov/stitchwire/blob/v0.60.0/LICENSE"><img src="https://img.shields.io/badge/license-MIT-2563eb" alt="MIT license" /></a>
|
|
14
14
|
<img src="https://img.shields.io/badge/runtime-Bun%20%E2%89%A51.4.4-fbf0df?logo=bun&logoColor=000" alt="Bun >= 1.4.4" />
|
|
15
15
|
<img src="https://img.shields.io/badge/client-Node%20%E2%89%A522%20%7C%20Bun%20%E2%89%A51.4.4-339933" alt="Node >= 22 | Bun >= 1.4.4" />
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
18
|
<p align="center">
|
|
19
|
-
<img src="https://raw.githubusercontent.com/max-listov/stitchwire/v0.
|
|
19
|
+
<img src="https://raw.githubusercontent.com/max-listov/stitchwire/v0.60.0/docs/assets/infographic-hero.jpg" alt="StitchWire: Node A behind NAT connects outbound over TLS through a trusted broker to Node B behind NAT" width="100%" />
|
|
20
20
|
</p>
|
|
21
21
|
|
|
22
22
|
<p align="center">
|
|
@@ -41,7 +41,7 @@ application → local Unix door → agent → trusted broker → agent → decla
|
|
|
41
41
|
Connecting private machines usually turns into a tangle of reverse SSH tunnels, open firewall ports and fragile ad-hoc scripts. StitchWire replaces that mesh with one outbound-only brokered transport for typed RPC, pull-driven bounded streams and volatile pub/sub events — while services keep full ownership of their schemas, data, durable journals and business rules.
|
|
42
42
|
|
|
43
43
|
<p align="center">
|
|
44
|
-
<img src="https://raw.githubusercontent.com/max-listov/stitchwire/v0.
|
|
44
|
+
<img src="https://raw.githubusercontent.com/max-listov/stitchwire/v0.60.0/docs/assets/infographic-compare.jpg" alt="Without StitchWire: reverse SSH, open ports and ad-hoc scripts. With StitchWire: typed RPC, bounded streams and events over one clean wire." width="100%" />
|
|
45
45
|
</p>
|
|
46
46
|
|
|
47
47
|
## Install
|
|
@@ -113,12 +113,12 @@ const result = await wire.invokeService({
|
|
|
113
113
|
| **Bounded streams** | Live stdout/NDJSON/framed feeds across nodes | Pull-driven credit backpressure, explicit terminal reason, cooperative cancellation |
|
|
114
114
|
| **Volatile events** | Pub/sub fan-out with sequence continuity checks | Bounded in-memory retention, explicit gap & boot-change frames — never silent data loss |
|
|
115
115
|
|
|
116
|
-
Runnable examples: [service](https://github.com/max-listov/stitchwire/blob/v0.
|
|
116
|
+
Runnable examples: [service](https://github.com/max-listov/stitchwire/blob/v0.60.0/examples/service/README.md) · [stream](https://github.com/max-listov/stitchwire/blob/v0.60.0/examples/stream/README.md) · [events](https://github.com/max-listov/stitchwire/blob/v0.60.0/examples/events/README.md).
|
|
117
117
|
|
|
118
118
|
## StitchKit × StitchWire
|
|
119
119
|
|
|
120
120
|
<p align="center">
|
|
121
|
-
<img src="https://raw.githubusercontent.com/max-listov/stitchwire/v0.
|
|
121
|
+
<img src="https://raw.githubusercontent.com/max-listov/stitchwire/v0.60.0/docs/assets/infographic-ecosystem.jpg" alt="StitchKit and StitchWire: define contracts once and route them across every machine" width="100%" />
|
|
122
122
|
</p>
|
|
123
123
|
|
|
124
124
|
<p align="center">
|
|
@@ -140,7 +140,7 @@ Runnable examples: [service](https://github.com/max-listov/stitchwire/blob/v0.59
|
|
|
140
140
|
|
|
141
141
|
Service templates live in `contrib/`:
|
|
142
142
|
- **Linux (`systemd`):** `contrib/systemd/stitchwire-agent.service`, `contrib/systemd/stitchwire-broker.service`
|
|
143
|
-
- **macOS (`launchd`):** `contrib/launchd/com.stitchwire.agent.plist` starts the agent through a `
|
|
143
|
+
- **macOS (`launchd`):** `contrib/launchd/com.stitchwire.agent.plist` starts the agent through a `StitchWire.app` launcher (`contrib/launchd/stitchwire-launcher.c`), so macOS attributes local-network access to StitchWire. `bun scripts/macos-bundle.ts` builds that bundle from a source checkout and signs it only with your own Apple **Developer ID Application** identity. Without one, delete the launcher line from `ProgramArguments` and launchd runs Bun directly; macOS then attributes the agent's network access to Bun.
|
|
144
144
|
- **Broker TLS reverse proxy:** `contrib/nginx/stitchwire-broker.conf`
|
|
145
145
|
|
|
146
146
|
## Guarantees and deliberate limits
|
|
@@ -171,15 +171,15 @@ On macOS, `bun run check` also compiles the launcher and builds the app icon, wh
|
|
|
171
171
|
|
|
172
172
|
## Documentation
|
|
173
173
|
|
|
174
|
-
- [Vision](https://github.com/max-listov/stitchwire/blob/v0.
|
|
175
|
-
- [Architecture and packaging](https://github.com/max-listov/stitchwire/blob/v0.
|
|
176
|
-
- [Distribution and installation](https://github.com/max-listov/stitchwire/blob/v0.
|
|
177
|
-
- [Local node enrollment](https://github.com/max-listov/stitchwire/blob/v0.
|
|
178
|
-
- [Diagnostics](https://github.com/max-listov/stitchwire/blob/v0.
|
|
179
|
-
- [Publication inputs](https://github.com/max-listov/stitchwire/blob/v0.
|
|
180
|
-
- [Architecture Decision Records](https://github.com/max-listov/stitchwire/tree/v0.
|
|
181
|
-
- [Security policy](https://github.com/max-listov/stitchwire/blob/v0.
|
|
174
|
+
- [Vision](https://github.com/max-listov/stitchwire/blob/v0.60.0/docs/VISION.md) — product direction and deliberate limits
|
|
175
|
+
- [Architecture and packaging](https://github.com/max-listov/stitchwire/blob/v0.60.0/docs/architecture/product.md) — runtime, broker, agent and planes
|
|
176
|
+
- [Distribution and installation](https://github.com/max-listov/stitchwire/blob/v0.60.0/docs/architecture/distribution.md) — artifacts, macOS/Linux supervision and removal
|
|
177
|
+
- [Local node enrollment](https://github.com/max-listov/stitchwire/blob/v0.60.0/docs/architecture/enrollment.md) — repeatable admission, binding and detach
|
|
178
|
+
- [Diagnostics](https://github.com/max-listov/stitchwire/blob/v0.60.0/docs/architecture/diagnostics.md) — bounded `stitchwire doctor --json`, with the same checks and exit status as text mode; scheduling stays with the operator
|
|
179
|
+
- [Publication inputs](https://github.com/max-listov/stitchwire/blob/v0.60.0/docs/architecture/publication.md) — clean history-free snapshots and release gates
|
|
180
|
+
- [Architecture Decision Records](https://github.com/max-listov/stitchwire/tree/v0.60.0/docs/decisions/) — why each protocol boundary exists
|
|
181
|
+
- [Security policy](https://github.com/max-listov/stitchwire/blob/v0.60.0/SECURITY.md) · [Contributing](https://github.com/max-listov/stitchwire/blob/v0.60.0/CONTRIBUTING.md) · [Changelog](https://github.com/max-listov/stitchwire/blob/v0.60.0/CHANGELOG.md)
|
|
182
182
|
|
|
183
183
|
## License
|
|
184
184
|
|
|
185
|
-
[MIT](https://github.com/max-listov/stitchwire/blob/v0.
|
|
185
|
+
[MIT](https://github.com/max-listov/stitchwire/blob/v0.60.0/LICENSE) © Max Listov
|
package/bin/stitchwire
CHANGED
|
@@ -18764,7 +18764,7 @@ __export(exports_esm_debug, {
|
|
|
18764
18764
|
// package.json
|
|
18765
18765
|
var package_default = {
|
|
18766
18766
|
name: "stitchwire",
|
|
18767
|
-
version: "0.
|
|
18767
|
+
version: "0.60.0",
|
|
18768
18768
|
description: "Broker-mediated typed RPC, bounded streams and volatile events between machines that cannot reach each other directly.",
|
|
18769
18769
|
license: "MIT",
|
|
18770
18770
|
author: "Max Listov",
|
package/package.json
CHANGED