refactor!: rebrand wraith to alknet
Rename all crates, CLI commands, constants, type names, doc comments, and documentation from wraith to alknet. Includes wire-protocol changes: ALPN wraith-ssh -> alknet-ssh, reserved destination prefix wraith- -> alknet-, SSH auth username wraith -> alknet.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
id: meta/cli-layer
|
||||
name: Complete CLI layer — wraith serve and wraith connect commands
|
||||
name: Complete CLI layer — alknet serve and alknet connect commands
|
||||
status: completed
|
||||
depends_on:
|
||||
- cli/serve-command
|
||||
@@ -13,13 +13,13 @@ level: planning
|
||||
|
||||
## Description
|
||||
|
||||
Meta task that clusters CLI tasks. Once complete, the `wraith` binary has both `serve` and `connect` subcommands with all flags matching the architecture specs.
|
||||
Meta task that clusters CLI tasks. Once complete, the `alknet` binary has both `serve` and `connect` subcommands with all flags matching the architecture specs.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [x] Both CLI tasks completed
|
||||
- [x] `wraith serve --help` and `wraith connect --help` match architecture spec flag lists
|
||||
- [x] End-to-end: `wraith serve` + `wraith connect` establishes working SSH tunnel
|
||||
- [x] `alknet serve --help` and `alknet connect --help` match architecture spec flag lists
|
||||
- [x] End-to-end: `alknet serve` + `alknet connect` establishes working SSH tunnel
|
||||
|
||||
## References
|
||||
|
||||
@@ -27,4 +27,4 @@ Meta task that clusters CLI tasks. Once complete, the `wraith` binary has both `
|
||||
|
||||
## Summary
|
||||
|
||||
CLI layer complete. Both `wraith serve` and `wraith connect` subcommands implemented with all architecture spec flags.
|
||||
CLI layer complete. Both `alknet serve` and `alknet connect` subcommands implemented with all architecture spec flags.
|
||||
@@ -14,13 +14,13 @@ level: planning
|
||||
|
||||
## Description
|
||||
|
||||
Meta task that clusters NAPI tasks. Once complete, the `@alkdev/wraith` Node.js native addon provides `connect()` and `serve()` returning duplex streams for TypeScript consumers.
|
||||
Meta task that clusters NAPI tasks. Once complete, the `@alkdev/alknet` Node.js native addon provides `connect()` and `serve()` returning duplex streams for TypeScript consumers.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [x] All NAPI tasks completed
|
||||
- [x] `connect()` returns Duplex stream, no SOCKS5, no port forwarding
|
||||
- [x] `serve()` returns WraithServer with close() and onConnection events
|
||||
- [x] `serve()` returns AlknetServer with close() and onConnection events
|
||||
- [x] Key material from Buffer (in-memory) and file paths both work
|
||||
- [x] JS-to-Rust and Rust-to-JS error marshalling works correctly
|
||||
|
||||
@@ -30,4 +30,4 @@ Meta task that clusters NAPI tasks. Once complete, the `@alkdev/wraith` Node.js
|
||||
|
||||
## Summary
|
||||
|
||||
NAPI layer complete. connect() returns WraithStream (read/write/close), serve() returns WraithServer with close()/onConnection(). Key material works from both file paths and in-memory Buffers. TCP transport fully supported; TLS/iroh return helpful errors in NAPI layer.
|
||||
NAPI layer complete. connect() returns AlknetStream (read/write/close), serve() returns AlknetServer with close()/onConnection(). Key material works from both file paths and in-memory Buffers. TCP transport fully supported; TLS/iroh return helpful errors in NAPI layer.
|
||||
@@ -17,7 +17,7 @@ level: planning
|
||||
|
||||
## Description
|
||||
|
||||
Meta task that clusters all server module tasks. Once complete, the server accepts SSH connections via any transport, authenticates clients, proxies channel traffic to TCP targets (directly or via proxy), handles stealth mode, rate limits connections, routes reserved `wraith-` destinations, and shuts down gracefully.
|
||||
Meta task that clusters all server module tasks. Once complete, the server accepts SSH connections via any transport, authenticates clients, proxies channel traffic to TCP targets (directly or via proxy), handles stealth mode, rate limits connections, routes reserved `alknet-` destinations, and shuts down gracefully.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
@@ -27,7 +27,7 @@ Meta task that clusters all server module tasks. Once complete, the server accep
|
||||
- [x] Channel proxying with direct, SOCKS5, and HTTP CONNECT outbound modes
|
||||
- [x] Stealth mode detects SSH vs HTTP and returns fake nginx 404
|
||||
- [x] Rate limiting and structured logging
|
||||
- [x] Control channel routing for `wraith-*` destinations
|
||||
- [x] Control channel routing for `alknet-*` destinations
|
||||
- [x] Graceful shutdown
|
||||
|
||||
## References
|
||||
@@ -40,4 +40,4 @@ All server module tasks completed across Gens 4-7. Server layer is fully impleme
|
||||
|
||||
## Summary
|
||||
|
||||
Server layer complete: handler (auth + channel dispatch), channel proxy (direct/SOCKS5/HTTP CONNECT), stealth mode (protocol multiplexing), rate limiting (per-IP connection limits), control channel (wraith-* destination routing), serve loop (accept loop + graceful shutdown). All 229 tests pass.
|
||||
Server layer complete: handler (auth + channel dispatch), channel proxy (direct/SOCKS5/HTTP CONNECT), stealth mode (protocol multiplexing), rate limiting (per-IP connection limits), control channel (alknet-* destination routing), serve loop (accept loop + graceful shutdown). All 229 tests pass.
|
||||
Reference in New Issue
Block a user