diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5c59c18 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 PR0M3TH3AN + +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 3db4e1a..728ea38 100644 --- a/package.json +++ b/package.json @@ -2,33 +2,50 @@ "name": "torch-lock", "version": "0.1.0", "type": "module", - "description": "TORCH standalone lock CLI and dashboard", + "description": "TORCH — portable Nostr-based task locking toolkit for multi-agent coordination", "main": "src/lib.mjs", + "exports": { + ".": "./src/lib.mjs", + "./constants": "./src/constants.mjs", + "./lock-ops": "./src/lock-ops.mjs" + }, "bin": { "torch-lock": "./bin/torch-lock.mjs" }, + "engines": { + "node": ">=22.0.0" + }, + "repository": { + "type": "git", + "url": "https://github.com/PR0M3TH3AN/TORCH.git" + }, + "keywords": [ + "nostr", + "task-locking", + "multi-agent", + "coordination", + "scheduler", + "cli" + ], + "license": "MIT", "files": [ "bin/", - "src/lib.mjs", - "src/constants.mjs", - "src/lock-ops.mjs", - "src/ops.mjs", - "src/dashboard.mjs", - "src/roster.mjs", - "src/torch-config.mjs", - "src/relay-health.mjs", + "src/*.mjs", + "src/services/", "src/prompts/", "src/docs/", "scripts/check-file-size.mjs", "scripts/check-innerhtml.mjs", "scripts/test-audit/", "scripts/memory/", + "migrations/", "skills/", "dashboard/", "assets/", "torch-config.example.json", "README.md", - "TORCH.md" + "TORCH.md", + "LICENSE" ], "scripts": { "test": "npm run validate:scheduler && npm run test:integration:e2e && node --test test/*.test.mjs test/*.test.js",