WIP: A simple cli for daily tangled use cases and AI integration. This is for my personal use right now, but happy if others get mileage from it! :)
at main 72 lines 2.0 kB view raw
1{ 2 "name": "@markbennett/tang", 3 "version": "0.0.1", 4 "description": "A simple CLI for Tangled.org. Inspired by GitHub CLI, and usable by humans and AI.", 5 "type": "module", 6 "main": "./dist/index.js", 7 "exports": { 8 ".": "./dist/index.js" 9 }, 10 "bin": { 11 "tang": "./dist/index.js" 12 }, 13 "files": [ 14 "dist", 15 "README.md", 16 "LICENSE" 17 ], 18 "publishConfig": { 19 "access": "public" 20 }, 21 "scripts": { 22 "dev": "tsx src/index.ts", 23 "build": "tsc -p tsconfig.build.json", 24 "clean": "rm -rf dist", 25 "test": "vitest run", 26 "test:watch": "vitest watch", 27 "test:coverage": "vitest run --coverage", 28 "lint": "biome check .", 29 "lint:fix": "biome check --write .", 30 "format": "biome check --write .", 31 "typecheck": "tsc --noEmit", 32 "prepublishOnly": "npm run build", 33 "codegen": "npx lex gen-api --yes ./src/lexicon ./lexicons/sh/tangled/**/*.json && node scripts/fix-lexicon-imports.js", 34 "update-lexicons": "./scripts/update-lexicons.sh" 35 }, 36 "engines": { 37 "node": ">=22.0.0" 38 }, 39 "repository": { 40 "type": "git", 41 "url": "git@tangled.org:markbennett.ca/tangled-cli" 42 }, 43 "keywords": [ 44 "git", 45 "tangled", 46 "pds", 47 "atproto", 48 "cli" 49 ], 50 "author": "Mark Bennett", 51 "license": "MIT", 52 "dependencies": { 53 "@atproto/api": "^0.18.20", 54 "@atproto/lexicon": "^0.6.1", 55 "@inquirer/prompts": "^8.2.0", 56 "@napi-rs/keyring": "^1.2.0", 57 "commander": "^12.1.0", 58 "cosmiconfig": "^9.0.0", 59 "multiformats": "^9.9.0", 60 "simple-git": "^3.30.0", 61 "zod": "^4.3.6" 62 }, 63 "//devDependencies": "@biomejs/biome is pinned to match the nixpkgs biome version used in CI (.tangled/workflows/ci.yml). When upgrading, update both together. nixpkgs package: https://search.nixos.org/packages?channel=nixos-unstable&show=biome", 64 "devDependencies": { 65 "@atproto/lex-cli": "^0.9.8", 66 "@biomejs/biome": "2.3.6", 67 "@types/node": "^22.10.2", 68 "tsx": "^4.21.0", 69 "typescript": "^5.7.2", 70 "vitest": "^2.1.8" 71 } 72}