diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e347e07 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [main, dev, 'feat/**', 'fix/**', 'chore/**'] + pull_request: + branches: [main, dev] + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + with: + node-version: 24 + cache: npm + + - run: npm ci + - run: npm run typecheck + - run: npm test + - run: npm run build + - run: npm pack --dry-run diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..93b8a18 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +## 0.1.1 - 2026-07-18 + +- Extract mesh-kit from Meatchat — transport-agnostic encrypted offline-mesh substrate. +- Expose the Noise channel binding (handshake hash) for relay-resistant app-layer auth. +- Fix `withRecvTimeout` to keep the underlying recv in flight across timeouts (no dropped frame on idle). +- Add store-and-forward mesh reliability. +- Add a generic two-lane mesh bridge. +- Pin git installs to reproducible commit references. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..78466d0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Forgesworn + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/package.json b/package.json index 0ac47be..27e96a5 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,14 @@ "esm" ], "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/forgesworn/mesh-kit.git" + }, + "bugs": { + "url": "https://github.com/forgesworn/mesh-kit/issues" + }, + "homepage": "https://github.com/forgesworn/mesh-kit#readme", "sideEffects": false, "engines": { "node": ">=18"