From e4d9298becd36277546c9a9259804e8a71afca69 Mon Sep 17 00:00:00 2001 From: VidGuiCode Date: Fri, 20 Nov 2026 11:37:50 +0100 Subject: [PATCH 1/2] Sync Bun lockfile and ignore local tool files --- .gitignore | 2 + bun.lock | 208 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 210 insertions(+) diff --git a/.gitignore b/.gitignore index 6f7a31c..17b8ff4 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,5 @@ context/ .obsidian/ skills/ plane-cli-*.tgz +.mimosa/ +.video_agent/ diff --git a/bun.lock b/bun.lock index 92688b1..cd519c4 100644 --- a/bun.lock +++ b/bun.lock @@ -8,8 +8,12 @@ "commander": "^13.1.0", }, "devDependencies": { + "@eslint/js": "^9.23.0", "@types/node": "^24.0.0", + "eslint": "^9.23.0", + "prettier": "^3.5.3", "typescript": "^5.8.3", + "typescript-eslint": "^8.28.0", "vitest": "^3.2.4", }, }, @@ -67,6 +71,34 @@ "@esbuild/win32-x64": ["@esbuild/win32-x64@0.27.4", "", { "os": "win32", "cpu": "x64" }, "sha512-+knoa0BDoeXgkNvvV1vvbZX4+hizelrkwmGJBdT17t8FNPwG2lKemmuMZlmaNQ3ws3DKKCxpb4zRZEIp3UxFCg=="], + "@eslint-community/eslint-utils": ["@eslint-community/eslint-utils@4.10.1", "", { "dependencies": { "eslint-visitor-keys": "^3.4.3" }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg=="], + + "@eslint-community/regexpp": ["@eslint-community/regexpp@4.12.2", "", {}, "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew=="], + + "@eslint/config-array": ["@eslint/config-array@0.21.2", "", { "dependencies": { "@eslint/object-schema": "^2.1.7", "debug": "^4.3.1", "minimatch": "^3.1.5" } }, "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw=="], + + "@eslint/config-helpers": ["@eslint/config-helpers@0.4.2", "", { "dependencies": { "@eslint/core": "^0.17.0" } }, "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw=="], + + "@eslint/core": ["@eslint/core@0.17.0", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ=="], + + "@eslint/eslintrc": ["@eslint/eslintrc@3.3.7", "", { "dependencies": { "ajv": "^6.14.0", "debug": "^4.3.2", "espree": "^10.0.1", "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.3.2", "minimatch": "^3.1.5", "strip-json-comments": "^3.1.1" } }, "sha512-F42g89Qd5oAWtp0k0nnSrjziAKza7w8SVT4mStc18LZMaRb4J1HQAHLCalEtDCxrTuksx7NU9qsmeLwpOfPqWw=="], + + "@eslint/js": ["@eslint/js@9.39.5", "", {}, "sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A=="], + + "@eslint/object-schema": ["@eslint/object-schema@2.1.7", "", {}, "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA=="], + + "@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.1", "", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="], + + "@humanfs/core": ["@humanfs/core@0.19.2", "", { "dependencies": { "@humanfs/types": "^0.15.0" } }, "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA=="], + + "@humanfs/node": ["@humanfs/node@0.16.8", "", { "dependencies": { "@humanfs/core": "^0.19.2", "@humanfs/types": "^0.15.0", "@humanwhocodes/retry": "^0.4.0" } }, "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ=="], + + "@humanfs/types": ["@humanfs/types@0.15.0", "", {}, "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q=="], + + "@humanwhocodes/module-importer": ["@humanwhocodes/module-importer@1.0.1", "", {}, "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA=="], + + "@humanwhocodes/retry": ["@humanwhocodes/retry@0.4.3", "", {}, "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ=="], + "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="], "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.60.0", "", { "os": "android", "cpu": "arm" }, "sha512-WOhNW9K8bR3kf4zLxbfg6Pxu2ybOUbB2AjMDHSQx86LIF4rH4Ft7vmMwNt0loO0eonglSNy4cpD3MKXXKQu0/A=="], @@ -125,8 +157,30 @@ "@types/estree": ["@types/estree@1.0.8", "", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="], + "@types/json-schema": ["@types/json-schema@7.0.15", "", {}, "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="], + "@types/node": ["@types/node@24.12.0", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ=="], + "@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.71.1", "", { "dependencies": { "@eslint-community/regexpp": "^4.12.2", "@typescript-eslint/scope-manager": "8.71.1", "@typescript-eslint/type-utils": "8.71.1", "@typescript-eslint/utils": "8.71.1", "@typescript-eslint/visitor-keys": "8.71.1", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.71.1", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-nNlBf6HuotqMgZvSkWD5hNdemiBIxQ2NmrlgfcUIeZRs+BbakjscCQRq/Hb74EFVnFiSWWdL12JruqwBy3ERDw=="], + + "@typescript-eslint/parser": ["@typescript-eslint/parser@8.71.1", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.71.1", "@typescript-eslint/types": "8.71.1", "@typescript-eslint/typescript-estree": "8.71.1", "@typescript-eslint/visitor-keys": "8.71.1", "debug": "^4.4.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-oM/5sAqz/l1v/zYK1qTOPrn2+JIrBGC1V6uNYucRO5gh6eT9vWJ/RhPbGE59byvZEUQ4VP6XkLBaS5Jti5jpvw=="], + + "@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.71.1", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.71.1", "@typescript-eslint/types": "^8.71.1", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-Oijc9RUsohHjncg6iGi7gCtjnEjYt9FWv9u6ygK8uKcHK5eLjLAkqERQ9BaytbpceOFdk6kifPCS/zAZE+A99g=="], + + "@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.71.1", "", { "dependencies": { "@typescript-eslint/types": "8.71.1", "@typescript-eslint/visitor-keys": "8.71.1" } }, "sha512-1YUDZXdTnXLlob03SFHBipdyMBsDVm7zoSz0ytTJ39dk5J1TgsTK03VlR/dLXG/RLLUrPcYbD4rp23BmHxHP0w=="], + + "@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.71.1", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-oTvkml5SxXhgg+WWKhod5qWQICDXtOB+/Hi9VdPKFAANJ2b7YOgMffgvzXuqog7R6A/JtrzRf128dsxummyWhg=="], + + "@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.71.1", "", { "dependencies": { "@typescript-eslint/types": "8.71.1", "@typescript-eslint/typescript-estree": "8.71.1", "@typescript-eslint/utils": "8.71.1", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-kH3t3jZCYv2PZSBEWPKTariLrCaoF1CLoPitYFBJOhAGEwWnSRAtGEifrfrpBa4K9JlwWNZotgA5w3/wLSk/FQ=="], + + "@typescript-eslint/types": ["@typescript-eslint/types@8.71.1", "", {}, "sha512-ybYnPTUwg3VQQOFEiBPLs8Jxl1ry2vXdn1kVKguomBbvxpetdu3MKTNDqFNUrlG8ylP9MpZosmXMFYlGQHk1oQ=="], + + "@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.71.1", "", { "dependencies": { "@typescript-eslint/project-service": "8.71.1", "@typescript-eslint/tsconfig-utils": "8.71.1", "@typescript-eslint/types": "8.71.1", "@typescript-eslint/visitor-keys": "8.71.1", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-pSKSEK1JJpHs6KiKVtABCE4iJK5d7FLFzDXQNBQ2oRY7LEd3UwOt3TZemTgu9syTIf56dJWlTn/pdmrO9oKUXQ=="], + + "@typescript-eslint/utils": ["@typescript-eslint/utils@8.71.1", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.71.1", "@typescript-eslint/types": "8.71.1", "@typescript-eslint/typescript-estree": "8.71.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-CBjT6gfAz3DW2j9Q4moFnqt208Aq+506sVGXfpRcyAeqn0EpayL0mjdWoCO2t3RC7GewNrFxdeehuEaPg6DMzQ=="], + + "@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.71.1", "", { "dependencies": { "@typescript-eslint/types": "8.71.1", "eslint-visitor-keys": "^5.0.0" } }, "sha512-0GxiUGqMU0qXJt58cBsiG3DP8lUmBaFo2vChtUX+CT7PnR3v/VGLLrzVP4K9r1lNiZXjHYefMBbPunplr09v6w=="], + "@vitest/expect": ["@vitest/expect@3.2.4", "", { "dependencies": { "@types/chai": "^5.2.2", "@vitest/spy": "3.2.4", "@vitest/utils": "3.2.4", "chai": "^5.2.0", "tinyrainbow": "^2.0.0" } }, "sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig=="], "@vitest/mocker": ["@vitest/mocker@3.2.4", "", { "dependencies": { "@vitest/spy": "3.2.4", "estree-walker": "^3.0.3", "magic-string": "^0.30.17" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" }, "optionalPeers": ["msw", "vite"] }, "sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ=="], @@ -141,42 +195,152 @@ "@vitest/utils": ["@vitest/utils@3.2.4", "", { "dependencies": { "@vitest/pretty-format": "3.2.4", "loupe": "^3.1.4", "tinyrainbow": "^2.0.0" } }, "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA=="], + "acorn": ["acorn@8.19.0", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw=="], + + "acorn-jsx": ["acorn-jsx@5.3.2", "", { "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ=="], + + "ajv": ["ajv@6.15.0", "", { "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw=="], + + "ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], + + "argparse": ["argparse@2.0.1", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="], + "assertion-error": ["assertion-error@2.0.1", "", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="], + "balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], + + "brace-expansion": ["brace-expansion@1.1.21", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw=="], + "cac": ["cac@6.7.14", "", {}, "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ=="], + "callsites": ["callsites@3.1.0", "", {}, "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="], + "chai": ["chai@5.3.3", "", { "dependencies": { "assertion-error": "^2.0.1", "check-error": "^2.1.1", "deep-eql": "^5.0.1", "loupe": "^3.1.0", "pathval": "^2.0.0" } }, "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw=="], + "chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="], + "check-error": ["check-error@2.1.3", "", {}, "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA=="], + "color-convert": ["color-convert@2.0.1", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="], + + "color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="], + "commander": ["commander@13.1.0", "", {}, "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw=="], + "concat-map": ["concat-map@0.0.1", "", {}, "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="], + + "cross-spawn": ["cross-spawn@7.0.6", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="], + "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], "deep-eql": ["deep-eql@5.0.2", "", {}, "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q=="], + "deep-is": ["deep-is@0.1.4", "", {}, "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="], + "es-module-lexer": ["es-module-lexer@1.7.0", "", {}, "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA=="], "esbuild": ["esbuild@0.27.4", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.27.4", "@esbuild/android-arm": "0.27.4", "@esbuild/android-arm64": "0.27.4", "@esbuild/android-x64": "0.27.4", "@esbuild/darwin-arm64": "0.27.4", "@esbuild/darwin-x64": "0.27.4", "@esbuild/freebsd-arm64": "0.27.4", "@esbuild/freebsd-x64": "0.27.4", "@esbuild/linux-arm": "0.27.4", "@esbuild/linux-arm64": "0.27.4", "@esbuild/linux-ia32": "0.27.4", "@esbuild/linux-loong64": "0.27.4", "@esbuild/linux-mips64el": "0.27.4", "@esbuild/linux-ppc64": "0.27.4", "@esbuild/linux-riscv64": "0.27.4", "@esbuild/linux-s390x": "0.27.4", "@esbuild/linux-x64": "0.27.4", "@esbuild/netbsd-arm64": "0.27.4", "@esbuild/netbsd-x64": "0.27.4", "@esbuild/openbsd-arm64": "0.27.4", "@esbuild/openbsd-x64": "0.27.4", "@esbuild/openharmony-arm64": "0.27.4", "@esbuild/sunos-x64": "0.27.4", "@esbuild/win32-arm64": "0.27.4", "@esbuild/win32-ia32": "0.27.4", "@esbuild/win32-x64": "0.27.4" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-Rq4vbHnYkK5fws5NF7MYTU68FPRE1ajX7heQ/8QXXWqNgqqJ/GkmmyxIzUnf2Sr/bakf8l54716CcMGHYhMrrQ=="], + "escape-string-regexp": ["escape-string-regexp@4.0.0", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="], + + "eslint": ["eslint@9.39.5", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.21.2", "@eslint/config-helpers": "^0.4.2", "@eslint/core": "^0.17.0", "@eslint/eslintrc": "^3.3.6", "@eslint/js": "9.39.5", "@eslint/plugin-kit": "^0.4.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "ajv": "^6.14.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.4.0", "eslint-visitor-keys": "^4.2.1", "espree": "^10.4.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.5", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw=="], + + "eslint-scope": ["eslint-scope@8.4.0", "", { "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" } }, "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg=="], + + "eslint-visitor-keys": ["eslint-visitor-keys@4.2.1", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="], + + "espree": ["espree@10.4.0", "", { "dependencies": { "acorn": "^8.15.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^4.2.1" } }, "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ=="], + + "esquery": ["esquery@1.7.0", "", { "dependencies": { "estraverse": "^5.1.0" } }, "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g=="], + + "esrecurse": ["esrecurse@4.3.0", "", { "dependencies": { "estraverse": "^5.2.0" } }, "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag=="], + + "estraverse": ["estraverse@5.3.0", "", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="], + "estree-walker": ["estree-walker@3.0.3", "", { "dependencies": { "@types/estree": "^1.0.0" } }, "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g=="], + "esutils": ["esutils@2.0.3", "", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="], + "expect-type": ["expect-type@1.3.0", "", {}, "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA=="], + "fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="], + + "fast-json-stable-stringify": ["fast-json-stable-stringify@2.1.0", "", {}, "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="], + + "fast-levenshtein": ["fast-levenshtein@2.0.6", "", {}, "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="], + "fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="], + "file-entry-cache": ["file-entry-cache@8.0.0", "", { "dependencies": { "flat-cache": "^4.0.0" } }, "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ=="], + + "find-up": ["find-up@5.0.0", "", { "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" } }, "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng=="], + + "flat-cache": ["flat-cache@4.0.1", "", { "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.4" } }, "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw=="], + + "flatted": ["flatted@3.4.4", "", {}, "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q=="], + "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], + "glob-parent": ["glob-parent@6.0.2", "", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="], + + "globals": ["globals@14.0.0", "", {}, "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ=="], + + "has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="], + + "ignore": ["ignore@5.3.2", "", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="], + + "import-fresh": ["import-fresh@3.3.1", "", { "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" } }, "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ=="], + + "imurmurhash": ["imurmurhash@0.1.4", "", {}, "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA=="], + + "is-extglob": ["is-extglob@2.1.1", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="], + + "is-glob": ["is-glob@4.0.3", "", { "dependencies": { "is-extglob": "^2.1.1" } }, "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg=="], + + "isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="], + "js-tokens": ["js-tokens@9.0.1", "", {}, "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ=="], + "js-yaml": ["js-yaml@4.3.2", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA=="], + + "json-buffer": ["json-buffer@3.0.1", "", {}, "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="], + + "json-schema-traverse": ["json-schema-traverse@0.4.1", "", {}, "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="], + + "json-stable-stringify-without-jsonify": ["json-stable-stringify-without-jsonify@1.0.1", "", {}, "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw=="], + + "keyv": ["keyv@4.5.4", "", { "dependencies": { "json-buffer": "3.0.1" } }, "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw=="], + + "levn": ["levn@0.4.1", "", { "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" } }, "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ=="], + + "locate-path": ["locate-path@6.0.0", "", { "dependencies": { "p-locate": "^5.0.0" } }, "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw=="], + + "lodash.merge": ["lodash.merge@4.6.2", "", {}, "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="], + "loupe": ["loupe@3.2.1", "", {}, "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ=="], "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], + "minimatch": ["minimatch@3.1.5", "", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w=="], + "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], "nanoid": ["nanoid@3.3.11", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="], + "natural-compare": ["natural-compare@1.4.0", "", {}, "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="], + + "optionator": ["optionator@0.9.4", "", { "dependencies": { "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", "type-check": "^0.4.0", "word-wrap": "^1.2.5" } }, "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g=="], + + "p-limit": ["p-limit@3.1.0", "", { "dependencies": { "yocto-queue": "^0.1.0" } }, "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ=="], + + "p-locate": ["p-locate@5.0.0", "", { "dependencies": { "p-limit": "^3.0.2" } }, "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw=="], + + "parent-module": ["parent-module@1.0.1", "", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="], + + "path-exists": ["path-exists@4.0.0", "", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="], + + "path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="], + "pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], "pathval": ["pathval@2.0.1", "", {}, "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ=="], @@ -187,8 +351,22 @@ "postcss": ["postcss@8.5.8", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg=="], + "prelude-ls": ["prelude-ls@1.2.1", "", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="], + + "prettier": ["prettier@3.9.9", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-Z/CJHIkdujO/OtN7nXUii0Rf3VT5SRuhjBA82Xvu2XhBUgX3nhP67T0LHceBdQLex7OOFGTox+Q5Yg8Jk2Qivg=="], + + "punycode": ["punycode@2.3.1", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="], + + "resolve-from": ["resolve-from@4.0.0", "", {}, "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="], + "rollup": ["rollup@4.60.0", "", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.60.0", "@rollup/rollup-android-arm64": "4.60.0", "@rollup/rollup-darwin-arm64": "4.60.0", "@rollup/rollup-darwin-x64": "4.60.0", "@rollup/rollup-freebsd-arm64": "4.60.0", "@rollup/rollup-freebsd-x64": "4.60.0", "@rollup/rollup-linux-arm-gnueabihf": "4.60.0", "@rollup/rollup-linux-arm-musleabihf": "4.60.0", "@rollup/rollup-linux-arm64-gnu": "4.60.0", "@rollup/rollup-linux-arm64-musl": "4.60.0", "@rollup/rollup-linux-loong64-gnu": "4.60.0", "@rollup/rollup-linux-loong64-musl": "4.60.0", "@rollup/rollup-linux-ppc64-gnu": "4.60.0", "@rollup/rollup-linux-ppc64-musl": "4.60.0", "@rollup/rollup-linux-riscv64-gnu": "4.60.0", "@rollup/rollup-linux-riscv64-musl": "4.60.0", "@rollup/rollup-linux-s390x-gnu": "4.60.0", "@rollup/rollup-linux-x64-gnu": "4.60.0", "@rollup/rollup-linux-x64-musl": "4.60.0", "@rollup/rollup-openbsd-x64": "4.60.0", "@rollup/rollup-openharmony-arm64": "4.60.0", "@rollup/rollup-win32-arm64-msvc": "4.60.0", "@rollup/rollup-win32-ia32-msvc": "4.60.0", "@rollup/rollup-win32-x64-gnu": "4.60.0", "@rollup/rollup-win32-x64-msvc": "4.60.0", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-yqjxruMGBQJ2gG4HtjZtAfXArHomazDHoFwFFmZZl0r7Pdo7qCIXKqKHZc8yeoMgzJJ+pO6pEEHa+V7uzWlrAQ=="], + "semver": ["semver@7.8.5", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="], + + "shebang-command": ["shebang-command@2.0.0", "", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="], + + "shebang-regex": ["shebang-regex@3.0.0", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="], + "siginfo": ["siginfo@2.0.0", "", {}, "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g=="], "source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="], @@ -197,8 +375,12 @@ "std-env": ["std-env@3.10.0", "", {}, "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg=="], + "strip-json-comments": ["strip-json-comments@3.1.1", "", {}, "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="], + "strip-literal": ["strip-literal@3.1.0", "", { "dependencies": { "js-tokens": "^9.0.1" } }, "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg=="], + "supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="], + "tinybench": ["tinybench@2.9.0", "", {}, "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg=="], "tinyexec": ["tinyexec@0.3.2", "", {}, "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA=="], @@ -211,16 +393,42 @@ "tinyspy": ["tinyspy@4.0.4", "", {}, "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q=="], + "ts-api-utils": ["ts-api-utils@2.5.0", "", { "peerDependencies": { "typescript": ">=4.8.4" } }, "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA=="], + + "type-check": ["type-check@0.4.0", "", { "dependencies": { "prelude-ls": "^1.2.1" } }, "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew=="], + "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + "typescript-eslint": ["typescript-eslint@8.71.1", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.71.1", "@typescript-eslint/parser": "8.71.1", "@typescript-eslint/typescript-estree": "8.71.1", "@typescript-eslint/utils": "8.71.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-oiNVPC3/NbV1FpaHU07l8O6ynqG9v4PAiW2WvTrAmZdR0f2HI/gE668ElMLCK7Xbsu5k2fK5C4fXNiq05j7/nQ=="], + "undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="], + "uri-js": ["uri-js@4.4.1", "", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg=="], + "vite": ["vite@7.3.1", "", { "dependencies": { "esbuild": "^0.27.0", "fdir": "^6.5.0", "picomatch": "^4.0.3", "postcss": "^8.5.6", "rollup": "^4.43.0", "tinyglobby": "^0.2.15" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "jiti": ">=1.21.0", "less": "^4.0.0", "lightningcss": "^1.21.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA=="], "vite-node": ["vite-node@3.2.4", "", { "dependencies": { "cac": "^6.7.14", "debug": "^4.4.1", "es-module-lexer": "^1.7.0", "pathe": "^2.0.3", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" }, "bin": { "vite-node": "vite-node.mjs" } }, "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg=="], "vitest": ["vitest@3.2.4", "", { "dependencies": { "@types/chai": "^5.2.2", "@vitest/expect": "3.2.4", "@vitest/mocker": "3.2.4", "@vitest/pretty-format": "^3.2.4", "@vitest/runner": "3.2.4", "@vitest/snapshot": "3.2.4", "@vitest/spy": "3.2.4", "@vitest/utils": "3.2.4", "chai": "^5.2.0", "debug": "^4.4.1", "expect-type": "^1.2.1", "magic-string": "^0.30.17", "pathe": "^2.0.3", "picomatch": "^4.0.2", "std-env": "^3.9.0", "tinybench": "^2.9.0", "tinyexec": "^0.3.2", "tinyglobby": "^0.2.14", "tinypool": "^1.1.1", "tinyrainbow": "^2.0.0", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0", "vite-node": "3.2.4", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@types/debug": "^4.1.12", "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "@vitest/browser": "3.2.4", "@vitest/ui": "3.2.4", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@types/debug", "@types/node", "@vitest/browser", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "vitest.mjs" } }, "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A=="], + "which": ["which@2.0.2", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="], + "why-is-node-running": ["why-is-node-running@2.3.0", "", { "dependencies": { "siginfo": "^2.0.0", "stackback": "0.0.2" }, "bin": { "why-is-node-running": "cli.js" } }, "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w=="], + + "word-wrap": ["word-wrap@1.2.5", "", {}, "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA=="], + + "yocto-queue": ["yocto-queue@0.1.0", "", {}, "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="], + + "@eslint-community/eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="], + + "@typescript-eslint/eslint-plugin/ignore": ["ignore@7.0.12", "", {}, "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg=="], + + "@typescript-eslint/typescript-estree/minimatch": ["minimatch@10.2.6", "", { "dependencies": { "brace-expansion": "^5.0.8" } }, "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A=="], + + "@typescript-eslint/visitor-keys/eslint-visitor-keys": ["eslint-visitor-keys@5.0.1", "", {}, "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA=="], + + "@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@5.0.12", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ=="], + + "@typescript-eslint/typescript-estree/minimatch/brace-expansion/balanced-match": ["balanced-match@4.0.4", "", {}, "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA=="], } } From 7b981664b85d4b35167863820440632fd4639e44 Mon Sep 17 00:00:00 2001 From: VidGuiCode Date: Fri, 20 Nov 2026 11:37:52 +0100 Subject: [PATCH 2/2] Refresh Plane CLI docs and roadmap --- CHANGELOG.md | 6 +- CLAUDE.md | 34 +---- CONTRIBUTING.md | 55 ++++---- README.md | 293 +++++-------------------------------------- docs/README.md | 13 ++ docs/architecture.md | 152 +++------------------- docs/automation.md | 88 +++++++++++++ docs/commands.md | 64 ++++++++++ docs/roadmap.md | 255 ++++--------------------------------- docs/setup.md | 30 +++++ 10 files changed, 300 insertions(+), 690 deletions(-) create mode 100644 docs/README.md create mode 100644 docs/automation.md create mode 100644 docs/commands.md create mode 100644 docs/setup.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 5408cc8..1c30cca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,7 +45,7 @@ Added support for the project-page operations documented at the time for Plane C ## 0.4.4 -Closes the two verification items left open by v0.4.3 (both implemented offline against documented field names, never confirmed live) plus one agent-facing discovery nicety. See [pages-support-root-cause.md](context/research/lessons-learned/pages-support-root-cause.md) and [production-use-gap-report.md](context/research/lessons-learned/production-use-gap-report.md). +Closes the two verification items left open by v0.4.3 (both implemented offline against documented field names, never confirmed live) plus one agent-facing discovery nicety. The local research notes are `context/research/lessons-learned/pages-support-root-cause.md` and `context/research/lessons-learned/production-use-gap-report.md`. ### Polish - **`discover` advertises Plane Pages (un)support** — `discover context` and `discover issue-inputs` now include an additive `capabilities.pages` field (`{ supported, reason }`) so AI agents can skip the Pages surface instead of probing and hitting a 404. The probe is a lightweight, non-fatal GET of the project-pages endpoint: a 404 reports `supported: false`, a success reports `supported: true`, and any probe error (or no project in context) reports `supported: null` — the probe can never make `discover` fail, and `--json` output stays pure JSON. @@ -56,7 +56,7 @@ Closes the two verification items left open by v0.4.3 (both implemented offline ## 0.4.3 -Clears the actionable items from the 2026-07-10 production-use gap report. See [production-use-gap-report.md](context/research/lessons-learned/production-use-gap-report.md). +Clears the actionable items from the 2026-07-10 production-use gap report. The local research note is `context/research/lessons-learned/production-use-gap-report.md`. ### Bug fixes - **Ambiguous sequence refs no longer resolve to the wrong issue** — `findIssueBySeq` picked the first of any issues sharing a `sequence_id` (real in migrated/imported projects) and mutated it while reporting success. It now aborts on duplicates, listing every candidate by UUID + state + title, and requires an unambiguous UUID. **P1 / data-integrity.** @@ -78,7 +78,7 @@ Clears the actionable items from the 2026-07-10 production-use gap report. See [ ## 0.4.2 -Stability + clean-workflow release. Clears confirmed open bugs and the missing idempotent label command, and hardens CI and the release process. (Shipped to `main`; see the git history and `docs/roadmap.md`.) +Stability and workflow release. Clears confirmed open bugs, adds idempotent label creation, and hardens CI and the release process. ### Bug fixes - Fixed the doubled identifier on `issue close` / `reopen` / `delete` — confirmation strings now print `PROJ-N` once, derived from the resolved sequence id instead of the raw argument diff --git a/CLAUDE.md b/CLAUDE.md index 2ffccf9..f6fedc0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,33 +1,11 @@ -# CLAUDE.md +# Working on Plane CLI -Entry point for AI agents working on `plane-cli`. Read the canonical context before touching code. +Read the [contributor guide](CONTRIBUTING.md) for setup and verification. The [architecture guide](docs/architecture.md) explains command registration, context resolution, and API compatibility. The [roadmap](docs/roadmap.md) and [changelog](CHANGELOG.md) cover plans and release history. -## Start here +## Local checkout guidance -- **[context/docs/briefs/agent.md](context/docs/briefs/agent.md)** — full briefing: what the project is, tech stack, architecture, Plane API quirks (issues vs work-items), config storage, command-resolution rules, and the release checklist. **Read this first.** -- **[context/docs/project/current-state.md](context/docs/project/current-state.md)** — living summary of the current repo state: version, command surface, behavioral guarantees, and where planning lives. -- **[docs/roadmap.md](docs/roadmap.md)** — shipped releases and the planned backlog. -- **[CHANGELOG.md](CHANGELOG.md)** — release history. +Read `context/docs/briefs/agent.md` before editing code when it is available. Check `context/docs/project/current-state.md` for the local project summary. -## How work flows here +Follow `AGENTS.md` and `skills/capture-user-report/SKILL.md` when present. Capture reports verbatim in `context/research/user-reports/` before triage. -- **User reports / feedback** → capture verbatim first with the `capture-user-report` skill ([skills/capture-user-report/SKILL.md](skills/capture-user-report/SKILL.md)) into `context/research/user-reports/`, then triage to `context/research/lessons-learned/`, then (optionally) a roadmap entry. See [AGENTS.md](AGENTS.md). -- **Cutting a release** → use the `release-plane-cli` skill ([skills/release-plane-cli/SKILL.md](skills/release-plane-cli/SKILL.md)). Prepare the edits, commit, and push a `vX.Y.Z` tag; the release workflow builds, verify-packs, creates the release, and uploads the `.tgz`. -- **Context folder** → `context/` is local working memory (research, plans, references), separate from the source tree. See [context/README.md](context/README.md). - -## Dev quickstart - -```bash -bun install # or: npm install -bun run typecheck -bun run lint -bun run format:check -bun run build -bun test -``` - -CI (`.github/workflows/ci.yml`) runs typecheck, lint, format:check, build, and test on every push and PR. Keep `src/` prettier-clean or CI fails. - -## Boundaries - -Commands live in `src/commands/` (thin handlers); shared logic in `src/core/`. No npm-registry publish, no standalone binaries, no server/infra management. Install is always from a GitHub release `.tgz` asset — never the bare `github:` form (broken Windows junctions). +For an authorized release, follow `skills/release-plane-cli/SKILL.md` if present. The [release workflow](.github/workflows/release.yml) builds, validates, and uploads the npm tarball when a version tag is pushed. Installation uses that GitHub release asset. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5fc1b00..cbb2244 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,45 +1,36 @@ -# Contributing +# Contributing to Plane CLI -Thanks for contributing to `plane-cli`. +[Documentation](docs/README.md) · [Architecture](docs/architecture.md) · [Roadmap](docs/roadmap.md) -Bun is used for local development. Node.js 20+ is required for users installing the CLI — Bun is only needed if you are working on the source. +## Develop locally -## Principles - -- Keep the CLI API-driven -- Avoid Plane-server-specific assumptions -- Prefer stable command verbs over ad hoc flags -- Keep human-readable output clean and add machine-readable output deliberately - -## Development +Use Node.js 20 or later. Install dependencies with npm and run the compiled CLI from the checkout. ```bash -bun install -bun run typecheck -bun run build -bun test +npm ci +npm run build +node dist/cli.js --help ``` -## Testing +If you use Bun, `bun install` installs dependencies and `bun run dev --help` runs the CLI directly from TypeScript. Use `bun run test` to run the repository's Vitest script. -Tests are organized in `tests/`: +## Verify changes -``` -tests/ -├── core/ -│ ├── api-client.test.ts # HTTP client, retry logic, pagination (24 tests) -│ ├── config-store.test.ts # Config loading/saving, env vars (18 tests) -│ └── resolvers.test.ts # Issue ref parsing, name resolution (21 tests) -└── smoke/ - └── cli-smoke.test.ts # Version, help, command presence (3 tests) +Run the CI checks from the repository root. + +```bash +npm run typecheck +npm run lint +npm run format:check +npm run build +npm test ``` -Run tests: `npm test` or `bun test` -Run with coverage: `npm run test -- --coverage` +The build refreshes `dist/cli.js` before the CLI smoke tests use it. Test suites under `tests/core/` exercise shared utilities, `tests/commands/` cover command behavior, and `tests/smoke/` cover the compiled entry point and opt-in live checks. Live tests create or modify issues. They require `PLANE_CLI_LIVE_TESTS=1` and a dedicated `PLANE_TEST_PROJECT`. See the individual tests for additional variables. -## Project Boundaries +## Work on commands -- Commands live in `src/commands/` -- Shared logic belongs in `src/core/` -- Avoid coupling command handlers directly to HTTP details -- Keep auth/context behavior reusable across command groups +- Keep command registration and orchestration in `src/commands/` and reusable behavior in `src/core/`. +- Use the Plane public API and account for the supported issue endpoint styles. +- Preserve existing command syntax and machine-readable output when adding options. +- Update command help and the relevant guide when behavior changes. Record user-facing changes in the changelog. diff --git a/README.md b/README.md index b5d343e..9c7f568 100644 --- a/README.md +++ b/README.md @@ -1,286 +1,59 @@ -# plane-cli +# Plane CLI -Unofficial CLI for [Plane](https://plane.so) — manage your workspace, projects, and issues from any terminal or IDE. +```text + ██████████ + ██████████ +████ ██████ +████ ██████ + ████ + ████ +``` -![Version](https://img.shields.io/badge/version-0.5.0-blue) -![License](https://img.shields.io/badge/license-MIT-green) -![Node](https://img.shields.io/badge/node-%3E%3D20-brightgreen) -![Platform](https://img.shields.io/badge/platform-windows%20%7C%20linux%20%7C%20mac-lightgrey) +**Manage Plane work from your terminal.** List your assigned issues, update work in bulk, and automate project workflows on Plane Cloud or a self-hosted instance. -Works with self-hosted Plane instances and Plane Cloud. Token-based auth — no browser session required. +[Quick start](#quick-start) · [Commands](docs/commands.md) · [Automation](docs/automation.md) · [Roadmap](docs/roadmap.md) ---- +**Node.js 20+** · **Windows, macOS, Linux** · **Unofficial** ## Install -Requires Node.js 20+ and npm. +Install the `plane` command from a [GitHub release](https://github.com/VidGuiCode/plane-cli/releases). ```bash npm install -g https://github.com/VidGuiCode/plane-cli/releases/download/v0.5.0/plane-cli-0.5.0.tgz plane --version -plane login ``` -This installs the `plane` command as a normal npm global CLI. It does not require `sudo`, does not install a system service, and does not modify system configuration. - -On Linux and macOS, avoid `sudo npm install -g` for this CLI. If npm global installs fail with permission errors, use a user-level Node.js setup such as [`nvm`](https://github.com/nvm-sh/nvm) or [`fnm`](https://github.com/Schniz/fnm), or configure npm's global prefix to a user-owned directory. - -### Windows / PowerShell - -npm installs a `plane.ps1` shim alongside `plane.cmd`. On a default PowerShell setup, running `plane` may fail with: - -```text -plane.ps1 cannot be loaded because running scripts is disabled on this system. -``` - -This is PowerShell's execution policy blocking the `.ps1` shim, not a problem with the CLI. Either: - -- Call the `.cmd` shim directly: `plane.cmd where`, or -- Allow local scripts once (recommended): `Set-ExecutionPolicy -Scope CurrentUser RemoteSigned`, then run `plane` normally. - -`cmd.exe` and Git Bash are unaffected. - ---- +If PowerShell blocks `plane.ps1`, run `plane.cmd` instead. See [setup](docs/setup.md) for install troubleshooting, credentials, and upgrades. ## Quick start -```bash -plane login # connect to your Plane instance -plane where # verify your context -plane issue list # list issues in the active project -plane issue get PROJ-42 # fetch a single issue -plane issue create # create a new issue interactively -``` - -Context (account, workspace, project) is sticky — set it once and every command uses it. - ---- - -## Commands - -| Area | Commands | -|------|----------| -| **Auth** | `login`, `logout`, `profile` | -| **Accounts** | `account list`, `use`, `show`, `remove` | -| **Context** | `where`, `workspace list/use`, `project list/use/show/create/update` | -| **Issues** | `issue list`, `mine`, `get`, `create`, `update`, `move`, `delete`, `close`, `reopen`, `open` | -| **Cycles** | `cycle list`, `current`, `issues`, `create`, `ensure`, `add`, `remove`, `delete` | -| **Modules** | `module list`, `issues`, `create`, `ensure`, `add`, `remove`, `delete` | -| **Labels** | `label list`, `create`, `ensure`, `update`, `delete`, `add`, `remove` | -| **Comments** | `comment list`, `add`, `update`, `delete` | -| **Pages** | `page list`, `get`, `search`, `create`, `archive`, `unarchive`, `update`*, `delete`* | -| **States** | `state list` | -| **Discovery** | `discover context`, `projects`, `issue-inputs`, `states`, `members`, `labels`, `cycles`, `modules` | -| **Utility** | `members list`, `completion`, `upgrade` | - -\* Page availability depends on the instance's edition and API version (`discover context` reports `capabilities.pages`). The CLI uses the project-pages public API; older Community instances may return 404. Page updates use the documented `PUT` method; use `--method PATCH` for an instance known to support PATCH. A 404/405 reports the failed endpoint/method. Discovery lists baseline operations conservatively and does not infer update/delete support from a successful list probe. `page archive` (reversed by `page unarchive`) retires a page without deleting it. - -Issue refs are flexible: `42` (active project), `PROJ-42` (any project), or a full UUID. Commands that accept multiple issue refs use comma-separated values, for example `ROADMAP-157,158,159`. - -Run `plane --help` for full options on any command. - -### Rich text and parent links (v0.4.6) - -Use explicit HTML flags to preserve headings, lists, and other rich text without an extra paragraph wrapper: - -```bash -plane issue create --title "Release plan" --description-html '

Plan

  • Ship
' -plane issue update PROJ-42 --description-html '

Updated plan

Ready

' -plane page create "Release plan" --content-html '

Plan

Ready

' -plane page update --content-html '

Updated plan

Ready

' -plane issue update PROJ-42 --parent none -``` - -`--description` / `--description-html` and `--content` / `--content-html` are mutually exclusive. An explicitly empty value clears content on update (for example, `--description-html ""` or `--content-html ""`). The CLI sends raw HTML unchanged; Plane may sanitize it before storing it. - -Page update defaults to `PUT`, which accepts a title, content, or both; content replaces the whole page body. Omitted fields are not sent. For older instances that require PATCH, pass `--method PATCH`. Dry-run previews the selected method; the CLI never falls back to another method automatically. Parent changes, including clearing, accept a single issue only. - -### Update issues from JSON (v0.5.0) - -Use `--from-json` to update multiple issues with different field values in one command. Pass a file path or use `-` to read from standard input. - -```bash -plane issue update --from-json updates.json --dry-run -plane issue update --from-json - --json < updates.json -``` - -The input is a nonempty JSON array. Each object requires `issue` and at least one update field. All fields take strings except `assignee`, `label`, and `labelId`, which take nonempty arrays of nonblank strings. - -| Field | Value | -|---|---| -| `issue` | A single issue ref, such as a project-qualified ref, a sequence number in the active project, or a UUID, written as a string. | -| `title`, `name` | Replacement issue title. `title` takes precedence when both are supplied. | -| `description`, `descriptionHtml` | Text or raw HTML. Use one of these fields. An empty string clears the description. | -| `priority` | `urgent`, `high`, `medium`, `low`, or `none`. | -| `state` | State name or ID in the issue's project. | -| `assignee` | Assignee names, emails, or `me`. | -| `label`, `labelId` | Label names or UUIDs. The supplied labels replace the existing set. | -| `parent` | Parent issue ref or `none` to clear it. | -| `due`, `start` | Dates in `YYYY-MM-DD` format or `none` to clear the date. | - -Use `--workspace` and `--project` to set the context for the batch. `--from-json` is mutually exclusive with a positional issue ref and individual update flags. Invalid input structure stops the entire batch before writes begin. If an issue resolves more than once, each row targeting it fails. Other rows can proceed when a row fails to resolve or update. Any failed row gives the command a nonzero exit status. The CLI checks the response after each PATCH, so a verification failure can occur after the server has applied changes. - -`--json` returns `updated` and `failed` counts and a `results` array in input order. Each result includes `issue`, `status` (`updated`, `failed`, or `planned`), and any resolved `issueId` and `projectId`. Failed rows include `error`. `--dry-run` always returns JSON, leaves `updated` at zero, and shows the `method`, `path`, and `body` for each `planned` row without sending the PATCH requests. - -
-Global flags - -| Flag | Purpose | -|------|---------| -| `--workspace ` | Override active workspace | -| `--project ` | Override active project | -| `--json` | Machine-readable JSON output | -| `--compact` | Compact JSON without indentation (saves tokens) | -| `--dry-run` | Validate and resolve without sending | -| `--no-interactive` | Fail instead of prompting (auto-detected in non-TTY) | - -
- -
-Issue field names for --fields - -`issue list` and `issue get` support `--fields ` with `--json` for reduced payloads. Both normalized names and raw API names are accepted: - -| Normalized | Raw API alias(es) | -|---|---| -| `id` | — | -| `projectId` | `project_id` | -| `identifier` | — | -| `sequence` | `sequence_id` | -| `title` | `name` | -| `state` | `state_name`, `state_id` | -| `priority` | — | -| `assignees` | — | -| `labels` | `label_ids` | -| `parent` | — | -| `dueDate` | `target_date` | -| `startDate` | `start_date` | -| `createdAt` | `created_at` | -| `updatedAt` | `updated_at` | -| `description` | — | - -
- ---- - -## Using with AI agents - -Any AI agent that can run shell commands (Claude Code, Cursor, Copilot, CI scripts) can use `plane-cli` directly — no MCP server, no protocol, no setup. - -### Recommended workflow - -```bash -# 1. Orient -plane discover context - -# 2. Learn valid inputs -plane discover issue-inputs --project - -# 3. Preview changes -plane issue create --title "Fix login bug" --dry-run --json - -# 4. Apply -plane issue create --title "Fix login bug" --json -``` - -Use `--no-interactive` in automation. Use `--compact` to reduce token usage. When `--json` is used, errors are structured JSON on stderr. - -For repeatable setup scripts, use idempotent resource creation and bulk assignment: - -```bash -plane module ensure "Website Deployment" --project ROADMAP --json -plane cycle ensure "May 2026 Website Deployment Foundation" --project ROADMAP --start 2026-05-06 --end 2026-05-19 --json -plane module add ROADMAP-157,158,159 "Website Deployment" --json -plane cycle add ROADMAP-157,158,159 "May 2026 Website Deployment Foundation" --json -``` - -
-Discover schema - -`plane discover` commands output normalized JSON with a consistent schema: - -```json -{ - "schemaVersion": 1, - "kind": "context", - "context": { - "account": { "name": "...", "baseUrl": "...", "apiStyle": "..." }, - "workspace": { "slug": "..." }, - "project": { "id": "...", "identifier": "...", "name": "..." }, - "user": { "id": "...", "displayName": "...", "email": "..." } - } -} -``` - -Dry-run output includes `dryRun`, `method`, `path`, `body`, and `context`. - -Exit codes: 0 = success, 1 = error, 2 = auth failure, 3 = validation, 4 = rate limit. - -
- ---- - -## Configuration - -Login state is stored in `~/.plane-cli/config.json`. This file contains your Plane base URL, API style, active workspace/project context, and Plane API token. Treat it as a secret and do not share or commit it. - -`plane logout` removes saved account data from the config file. To remove the installed CLI command itself, uninstall it with npm: - -```bash -npm uninstall -g plane-cli -``` - -
-Environment variables (CI / containers) - -When both `PLANE_BASE_URL` and `PLANE_API_TOKEN` are set, no saved login config is needed. This is the recommended mode for CI, containers, and other automation where you do not want a token written to `~/.plane-cli/config.json`. - -| Variable | Purpose | -|---|---| -| `PLANE_BASE_URL` | Plane instance URL | -| `PLANE_API_TOKEN` | API token | -| `PLANE_WORKSPACE` | Active workspace slug | -| `PLANE_API_STYLE` | `issues` or `work-items` (auto-detected on login) | -| `PLANE_CONFIG` | Path to custom config file | - -
- ---- - -## How this differs from other tools - -- **[prime-cli](https://github.com/makeplane/prime-cli-releases)** is the official Plane tool for server operations (deploy, backup, health checks). `plane-cli` talks to the API on behalf of a user — no server admin required. -- **[Plane MCP server](https://github.com/makeplane/plane-mcp-server)** requires a running server process and an MCP-compatible client. `plane-cli` is a standalone binary — any tool that can run shell commands can use it. - ---- - -## Development +Have your Plane instance URL and API token ready. After login, list your projects and replace `PROJ` with a project identifier from the list. ```bash -bun install -bun run dev -- --help -bun run build -bun test +plane login +plane project list +plane project use PROJ +plane where +plane issue mine ``` -Tests use Vitest. See `tests/` for coverage of the HTTP client, config store, resolvers, and CLI smoke tests. - ---- - -## Vibe coding - -This project was built with AI assistance — architecture, tooling decisions, and implementation were developed through human-AI collaboration. The code works and the design is intentional, but it was not written line by line without AI involvement. - -Contributions are welcome regardless of how they are written. +The CLI saves your active account, workspace, and project for future commands. Use `plane issue get PROJ-42` to open an issue in the terminal or `plane issue create` to create one interactively. ---- +## Everyday workflows -## Roadmap +| To | Run | +| --- | --- | +| See your issues and their due dates | `plane issue mine --columns id,title,due` | +| See the active cycle and its issues | `plane cycle current` | +| Find a project page | `plane page search "Release plan"` | +| Get issue data as JSON | `plane issue list --json --fields identifier,title,state` | +| Preview a batch of issue updates | `plane issue update --from-json updates.json --dry-run` | -See [docs/roadmap.md](docs/roadmap.md) for planned features and improvements. +Run `plane --help` for options. For batch input examples, CI configuration, and coding agent workflows, see the [automation guide](docs/automation.md). ---- +## Project links -## License +[Documentation](docs/README.md) · [Contributing](CONTRIBUTING.md) · [Changelog](CHANGELOG.md) · [MIT license](LICENSE) -[MIT](LICENSE) +Plane CLI is developed with AI assistance. Contributions are welcome. diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..e648870 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,13 @@ +# Plane CLI documentation + +Return to the [project README](../README.md) for installation and a first run. + +| Guide | What it covers | +| --- | --- | +| [Setup](setup.md) | Install, log in, switch context, and troubleshoot | +| [Command reference](commands.md) | Find command groups and options for issues, pages, and other resources | +| [Automation](automation.md) | Discover inputs, preview changes, use JSON, and run batch updates | +| [Roadmap](roadmap.md) | Planned work, recent milestones, and deferred ideas | +| [Architecture](architecture.md) | Follow a command from the CLI entry point to the Plane API | +| [Contributing](../CONTRIBUTING.md) | Set up the checkout and run the same checks as CI | +| [Changelog](../CHANGELOG.md) | Read version-by-version release notes | diff --git a/docs/architecture.md b/docs/architecture.md index 73b2d55..7d847e8 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -1,144 +1,28 @@ # Architecture -## Product Shape +[Documentation](README.md) · [Contributing](../CONTRIBUTING.md) -`plane-cli` is a local client CLI. It runs on the user's machine, stores auth and context state locally, and communicates with a Plane instance over its public REST API. +Plane CLI runs locally and communicates with a Plane instance over its public REST API. It stores named accounts and the active workspace and project in a local config file. CI can supply credentials and context through environment variables and flags. [Setup](setup.md) · [CI authentication](automation.md#authentication-for-ci) -It does not require: -- Direct database access -- Docker or server-side access -- A running server process of its own +## Command flow -## Source Layout +1. [`src/cli.ts`](../src/cli.ts) registers Commander command groups, then applies the help formatter recursively. +2. A handler in [`src/commands/`](../src/commands/) reads flags, loads context, and resolves resource names or references to IDs. +3. The handler calls the API client or emits a dry-run preview for supported writes. It then formats the result for a person or a script. -### `src/cli.ts` +## Shared modules -Entrypoint. Registers all command groups and applies the help formatter after all commands are added, which is required for recursive help formatting. +| Area | Responsibilities | +| --- | --- | +| [Config and accounts](../src/core/config-store.ts) | Load and save account profiles and active context. Build the client from saved credentials or environment overrides. | +| [API client](../src/core/api-client.ts) | Send authenticated requests to `/api/v1`, unwrap responses, follow cursor pagination, retry transient errors, and honor `Retry-After`. | +| [Resolvers](../src/core/resolvers.ts) | Resolve users and resources by name or ID, parse issue refs, and normalize issue results. | +| [Discovery](../src/core/discovery.ts) | Gather project metadata and probe project-page availability for automation. | +| [Issue updates](../src/core/issue-update.ts) and [batch updates](../src/core/issue-update-batch.ts) | Build update payloads and verify the API response. Batches also validate input files, reuse lookups, and report outcomes in input order. | +| [Runtime](../src/core/runtime.ts), [prompts](../src/core/prompt.ts), [output](../src/core/output.ts), and [errors](../src/core/errors.ts) | Share runtime flags, interactive input, human and JSON output, and error handling. | -### `src/commands/` +## Context and compatibility -User-facing command groups. Each file exports a single `create*Command()` function that builds and returns a Commander subtree. +For commands that support workspace overrides, `--workspace` takes precedence over `PLANE_WORKSPACE` and then the saved workspace. Project-scoped commands that expose `--project` use it to override the saved project. A project-qualified issue ref can identify a project as part of the issue lookup. -| File | Commands | -|---|---| -| `login.ts` | `plane login` | -| `logout.ts` | `plane logout` | -| `completion.ts` | `plane completion bash/zsh/fish` | -| `account.ts` | `plane account list/use/show/remove` | -| `where.ts` | `plane where` | -| `members.ts` | `plane members list` | -| `workspace.ts` | `plane workspace list/use` | -| `project.ts` | `plane project list/use/show/create/update` | -| `issue.ts` | `plane issue list/mine/get/create/update/move/delete/close/reopen/open` | -| `module.ts` | `plane module list/issues/create/ensure/add/remove/delete` | -| `label.ts` | `plane label list/create/delete/add/remove/update` | -| `comment.ts` | `plane comment list/add/delete/update` | -| `cycle.ts` | `plane cycle list/current/issues/create/ensure/add/remove/delete` | -| `page.ts` | `plane page list/get/search/create/update/delete` | -| `state.ts` | `plane state list` | -| `discover.ts` | `plane discover context/projects/issue-inputs/states/members/labels/cycles/modules` | -| `upgrade.ts` | `plane upgrade` | - -Command handlers stay thin: they resolve context, call core helpers, and print output. Business logic lives in `src/core/`. - -### `tests/` - -Test suite using Vitest. - -```text -core/ - api-client.test.ts # HTTP client, retry logic, pagination - config-store.test.ts # Config loading/saving, env vars - output.test.ts # JSON/error output - resolvers.test.ts # Issue ref parsing, name resolution - runtime.test.ts # Global runtime flags -commands/ - cycle.test.ts # Cycle create/ensure/bulk assignment - issue.test.ts # Issue update round-trip validation - module.test.ts # Module ensure/bulk assignment -smoke/ - cli-smoke.test.ts # Version, help, command presence - due-date-roundtrip.test.ts - issue-update-audit.test.ts - label-roundtrip.test.ts -``` - -Current suite: 83 passing tests plus 7 live tests skipped unless their environment variables are set. Run with `npm test`. - -### `src/core/config-store.ts` - -Local config, account, and context management. - -Responsibilities: -- Load and save `~/.plane-cli/config.json` -- `requireActiveAccount()` gets active account or exits with error -- `requireActiveWorkspace()` gets active workspace, checking `PLANE_WORKSPACE` first -- `requireActiveProject()` gets active project or exits with error -- `createClient()` builds a `PlaneApiClient` from active account, checking `PLANE_BASE_URL` and `PLANE_API_TOKEN` first - -### `src/core/api-client.ts` - -Plane HTTP boundary. - -Responsibilities: -- `PlaneApiClient` authenticated `get`, `post`, `patch`, `delete` with retry logic -- `unwrap()` normalizes paginated or plain array responses -- `fetchAll()` fetches all cursor-paginated pages -- `PlaneApiError` provides typed HTTP errors -- Retry logic uses exponential backoff on 5xx errors and respects `Retry-After` on 429 responses - -### `src/core/resolvers.ts` - -Name-to-ID resolution helpers used across commands. - -| Function | Resolves | -|---|---| -| `resolveProject` | project identifier/name to `{ id, identifier, name }` | -| `parseIssueRef` | string to `IssueRef` (UUID / PROJ-42 / seq number) | -| `resolveIssueRef` | issue ref + context to `{ issueId, projectId, identifier }` | -| `buildStateMap` | state array to `Map` | -| `resolveState` | issue + state map to state name string | -| `resolveMember` | display name or email to member UUID | -| `resolveLabel` | label name or color to label UUID | -| `resolveCycle` | cycle name or UUID to `{ id, name }` | -| `resolveModule` | module name or UUID to `{ id, name }` | - -### `src/core/output.ts` - -Terminal output utilities: -- `printInfo` -- `printError` -- `printJson` -- `printTable(rows, headers)` - -### `src/core/help.ts` - -Custom Commander help formatter applied recursively to all commands after registration. Adds section rules and a trailing newline. - -### `src/core/html.ts` - -`stripHtml(html)` strips HTML tags and decodes common entities. Used for rendering issue and page HTML content in the terminal. - -### `src/core/prompt.ts` - -`ask(label)` provides interactive readline prompts for commands that support both interactive and flag-driven input. - -### `src/core/types.ts` - -TypeScript interfaces for Plane API response shapes: `PlaneAccount`, `PlaneConfig`, `PlaneWorkspace`, `PlaneProject`, `PlaneIssue`, `PlaneState`, `PlaneModule`, `PlaneLabel`, `PlaneMember`, `PlaneCycle`, `PlanePage`, `PlaneComment`. - -## Auth And Context Model - -Each saved account contains: -- A local name used to switch accounts -- Plane base URL and API token -- `apiStyle`: `issues` for self-hosted or `work-items` for Plane Cloud -- Optional default workspace and project - -Context (`activeProfile`, `activeWorkspace`, `activeProject`) is stored separately from accounts so switching context does not require re-authenticating. - -Command precedence for workspace/project is explicit flag, then active context, then error. - -## Environment Variable Overrides - -`PLANE_BASE_URL`, `PLANE_API_TOKEN`, `PLANE_WORKSPACE`, `PLANE_API_STYLE`, and `PLANE_CONFIG` are checked at runtime. When both URL and token are set via env, no config file is required. This enables CI and container use. +An account stores the detected or explicitly selected issue API style (`issues` or `work-items`). Environment-only authentication uses `PLANE_API_STYLE` and defaults to `issues`. Project-page support is checked independently because it varies by edition and API version. diff --git a/docs/automation.md b/docs/automation.md new file mode 100644 index 0000000..492c2b0 --- /dev/null +++ b/docs/automation.md @@ -0,0 +1,88 @@ +# Automation + +[Documentation](README.md) · [Setup](setup.md) · [Commands](commands.md) + +Scripts, CI jobs, and coding agents can run the `plane` command directly. + +## Discover, preview, apply + +```bash +plane discover context --project PROJ +plane discover issue-inputs --project PROJ +plane issue create --project PROJ --title "Fix login bug" --no-interactive --dry-run --json +plane issue create --project PROJ --title "Fix login bug" --no-interactive --json +``` + +`discover` emits JSON with `schemaVersion` and `kind`. `discover context` reports the account, workspace, project, and user in `context` and reports project-page support in `capabilities.pages`. `discover issue-inputs` lists valid project inputs, such as states, labels, and members. + +| Flag | Script behavior | +| --- | --- | +| `--no-interactive` | Fail when required input needs a prompt. The CLI also detects non-TTY input or output. | +| `--dry-run` | Resolve inputs and preview writes on commands that support it. Preview fields vary by command and can include `method`, `path`, `body`, and `context`. | +| `--json` | Request JSON on commands that expose this option. Structured command errors go to stderr. | +| `--compact` | Remove indentation from JSON output. | +| `--workspace`, `--project` | Select context explicitly on commands that expose these options. | + +Exit codes are `0` for success, `1` for general errors or failed batch rows, `2` for authentication or access errors, `3` for validation or required interactive input, and `4` for rate limits. + +## Authentication for CI + +Set `PLANE_BASE_URL` and `PLANE_API_TOKEN` together to run without a saved account. Inject the token through your CI secret store. Set the workspace with `PLANE_WORKSPACE` or `--workspace`, then pass `--project` for project-scoped commands. + +| Variable | Value | +| --- | --- | +| `PLANE_BASE_URL` | Plane instance URL | +| `PLANE_API_TOKEN` | Plane API token | +| `PLANE_WORKSPACE` | Workspace slug | +| `PLANE_API_STYLE` | `issues` (the environment-only default) or `work-items`. Match the issue endpoint your instance uses. | +| `PLANE_CONFIG` | Optional custom path for saved accounts and context | + +In an environment-only session, use `plane discover context --project PROJ` to inspect your API context. `plane where` reports the saved selection. + +## Update issues from JSON + +Use `--from-json` when each issue needs different changes. Save a nonempty JSON array as `updates.json`. + +```json +[ + { "issue": "PROJ-42", "priority": "high", "due": "2027-01-15" }, + { "issue": "PROJ-43", "title": "Review release notes", "label": ["Documentation"] } +] +``` + +```bash +plane issue update --from-json updates.json --dry-run +plane issue update --from-json updates.json --json +``` + +Pass `--from-json -` to read from stdin. Use `--workspace` and `--project` to set batch context. Supply all per-issue values in JSON because `--from-json` is mutually exclusive with a positional issue ref and individual update flags. + +| Field | Value | +| --- | --- | +| `issue` | Required. One issue ref as a string, such as `"PROJ-42"`, `"42"`, or a UUID. | +| `title`, `name` | Replacement title. `title` takes precedence. | +| `description`, `descriptionHtml` | Plain text or raw HTML. Use one field and pass `""` to clear it. | +| `priority` | `urgent`, `high`, `medium`, `low`, or `none`. | +| `state` | State name or ID in the issue's project. | +| `assignee` | Array of assignee names, emails, or `me`. | +| `label`, `labelId` | Arrays of label names or UUIDs. They replace the existing labels. | +| `parent` | Parent issue ref or `none` to clear it. | +| `due`, `start` | Date in `YYYY-MM-DD` format or `none` to clear it. | + +Each row needs at least one update field. Values are strings except `assignee`, `label`, and `labelId`, which take nonempty arrays of nonblank strings. An invalid input structure stops the entire batch before writes begin. If multiple rows target the same resolved issue, each of those rows fails. Other valid rows can still succeed. + +With `--json`, the batch returns `updated` and `failed` counts plus `results` in input order. Each result includes `issue`, `status`, and any resolved `issueId` and `projectId`. Failed rows include `error` and cause exit code `1`. Plane CLI verifies each PATCH response, so a row can fail verification after the server applied the update. Check that issue before retrying. + +Dry runs always return JSON and leave `updated` at zero. Each `planned` row includes the proposed `method`, `path`, and `body`. + +## Repeatable project setup + +`ensure` returns a case-insensitive name match or creates the resource if it is missing. Module and cycle assignment commands accept comma-separated issue refs. + +```bash +plane label ensure "Documentation" --project PROJ --json +plane module ensure "Website Deployment" --project PROJ --json +plane module add PROJ-42,43 "Website Deployment" --project PROJ --json +plane cycle ensure "January Delivery" --project PROJ --start 2027-01-04 --end 2027-01-15 --json +plane cycle add PROJ-42,43 "January Delivery" --project PROJ --json +``` diff --git a/docs/commands.md b/docs/commands.md new file mode 100644 index 0000000..a522b8d --- /dev/null +++ b/docs/commands.md @@ -0,0 +1,64 @@ +# Command reference + +[Documentation](README.md) · [Setup](setup.md) · [Automation](automation.md) + +Run `plane --help` for the command groups or `plane issue update --help` for a command's arguments and flags. + +| Group | Subcommands | +| --- | --- | +| `account` | `list`, `use`, `show`, `remove` | +| `workspace` | `list`, `use` | +| `project` | `list`, `use`, `show`, `create`, `update` | +| `issue` | `list`, `mine`, `get` (`view`), `create`, `update`, `move`, `delete`, `close`, `reopen`, `open` | +| `cycle` | `list`, `current`, `issues`, `create`, `update`, `ensure`, `add`, `remove`, `delete` | +| `module` | `list`, `issues`, `create`, `update`, `ensure`, `add`, `remove`, `delete` | +| `label` | `list`, `create`, `ensure`, `update`, `delete`, `add`, `remove` | +| `comment` | `list`, `add`, `update`, `delete` | +| `page` | `list`, `get` (`view`), `search`, `create`, `archive`, `unarchive`, `update`, `delete` | +| `state`, `members` | `list` | +| `discover` | `context`, `projects`, `issue-inputs`, `states`, `members`, `labels`, `cycles`, `modules` | + +Standalone commands include `login`, `logout`, `profile`, `where`, `upgrade`, and `completion `. + +## Issue references and lists + +Use `42` for an issue in the active project, `PROJ-42` to identify a project and sequence number, or a full issue UUID. If an imported project contains duplicate sequence numbers, use the UUID of the issue you intend to change. + +Commands that support multiple issue refs accept comma-separated values. For example, `plane issue update PROJ-42,PROJ-43 --priority high` applies the same update to both issues. To apply distinct changes, use [JSON batch updates](automation.md#update-issues-from-json). + +Use `--columns` to choose table columns for `issue list` or `issue mine`. With `--json`, use `--fields` to select fields from `issue list`, `issue mine`, or `issue get`. + +| JSON field | API alias | +| --- | --- | +| `projectId` | `project_id` | +| `sequence` | `sequence_id` | +| `title` | `name` | +| `state` | `state_name` (name), `state_id` (ID) | +| `labels` | `label_ids` (UUIDs) | +| `dueDate` | `target_date` | +| `startDate` | `start_date` | +| `createdAt` | `created_at` | +| `updatedAt` | `updated_at` | + +Common fields also include `id`, `identifier`, `priority`, `assignees`, `parent`, and `description`. + +## Rich text and parent links + +Use `--description-html` for issue descriptions and `--content-html` for project pages. Each is mutually exclusive with its plain-text counterpart (`--description` or `--content`). Plane CLI sends supplied HTML as-is, and Plane may sanitize it when storing it. You can pass an empty value on update to clear the content. + +```bash +plane issue create --title "Release plan" --description-html '

Plan

  • Ship
' +plane issue update PROJ-42 --description-html '

Updated plan

Ready

' +plane page create "Release plan" --content-html '

Plan

Ready

' +plane issue update PROJ-42 --parent none +``` + +Use a parent issue ref to set a parent or `none` to clear it. When passing refs on the command line, change a parent on one issue at a time. + +## Project pages + +Plane CLI uses the project-pages public API. Availability varies by Plane edition and API version. Run `plane discover context --project PROJ` and check `capabilities.pages` to see whether the list endpoint is available. The probe reports baseline operations and cannot confirm update or delete support. + +`page update ` uses `PUT` by default. Pass `--method PATCH` for an instance that supports PATCH. The selected method appears in the dry-run preview. You can update just the name, just the body, or both. Supplying content replaces the whole body. HTTP 404 or 405 errors identify the method and path. + +Use `plane page archive "Release plan"` to retire a page and `plane page unarchive "Release plan"` to restore it. diff --git a/docs/roadmap.md b/docs/roadmap.md index 999ee9e..96fbc7a 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -1,244 +1,33 @@ # Roadmap -Planned improvements and features for upcoming releases. This is a living document: items may shift between releases or be dropped based on usage and feedback. +[Documentation](README.md) · [Changelog](../CHANGELOG.md) · [Share feedback](https://github.com/VidGuiCode/plane-cli/issues) ---- +Release targets are provisional and may change with usage and feedback. -## v0.2.5 *(shipped)* +## Planned -### Features +| Target | Work | Scope | +| --- | --- | --- | +| After v0.5.0 | On-disk resolver cache | Reuse project, state, member, and label lookups across CLI runs. Design expiry, invalidation after a 404 or name miss, and an opt-out. | +| v0.6.0 | Bulk issue creation | Read JSON or YAML with `issue bulk-create --file`. Add `--dry-run` and `--validate-only` to report missing resources and invalid assignees, states, or dates before writing. | +| v0.6.0 | Missing-label handling | Add `--create-labels`, `--ignore-missing-labels`, and `--validate-only` to issue creation and bulk import, using shared preflight validation. | +| v0.6.0 | Descriptions from files | Read long descriptions from `--description-file ` or stdin (`-`) on issue create and update, with support for bulk specs. | -- ~~**`--assignee me`**~~ - shipped: resolve the special token `me` to the current authenticated user so `plane issue list --assignee me` works without knowing your own email. -- ~~**`plane issue mine`**~~ - shipped: shortcut for listing issues assigned to the current user. -- ~~**`plane cycle current`**~~ - shipped: show the active/in-progress cycle and its issues. -- ~~**`plane issue list --updated-since `**~~ - shipped: filter issues by last-updated date, useful for "what changed today" in CI and AI workflows. +## Unscheduled -### Reliability +| Idea | Scope | +| --- | --- | +| Richer JSON errors | Add `command`, `retryable`, and `suggestedFix`. Coordinate the output contract with consumers. | +| Alternate bulk assignment input | Consider `--issues` or repeated positional refs for module and cycle assignment. | -- ~~**Post-pack release verification**~~ - shipped: install the `.tgz` into a temp directory and run smoke tests against the installed binary before publishing. +## Recent milestones -### Output Consistency +| Version | Highlights | +| --- | --- | +| [v0.5.0](../CHANGELOG.md#050) | Apply distinct updates to multiple issues in one process. [Batch input and output](automation.md#update-issues-from-json) | +| [v0.4.6](../CHANGELOG.md#046) | Pass raw HTML, clear issue parents, resolve project UUIDs, and update pages with `PUT`. Includes the v0.4.5 page archive and discovery work. | +| [v0.4.4](../CHANGELOG.md#044) | Report page availability in discovery and verify module lead and member role fields against a live instance. | -- ~~**Normalize `--json` passthrough output**~~ - shipped on `issue list`, `cycle issues`, and `module issues` to return camelCase resolved fields instead of raw API shapes. +## Closed decisions -### Error Messages - -- ~~**Better diagnostics on auth failures and 404s**~~ - shipped: surface which part of resolution failed so failures are actionable. - ---- - -## v0.2.6 *(shipped)* - -### Bug Fixes - -- ~~**`--no-interactive` errors on optional fields**~~ - shipped: optional fields default to empty in non-interactive mode (#8). - -### Polish - -- ~~**`--name` alias for `--title` on `issue update`**~~ - shipped (#9). -- ~~**`view` alias for `get`**~~ - shipped on `issue get` and `page get` (#10). -- ~~**Preserve description formatting in compact/text output**~~ - shipped: `stripHtml` preserves paragraphs, line breaks, and list structure (#11). -- ~~**Richer cycle/module detail output**~~ - shipped: progress counters, richer tables, and discovery output (#12). - ---- - -## v0.3.0 *(shipped)* - -### Features - -- ~~**`plane project create`**~~ - shipped: `plane project create --identifier --description "..." --network 0|2`. -- ~~**`plane project update`**~~ - shipped: update active project name, description, and network visibility. -- ~~**`plane issue move`**~~ - shipped: `plane issue move --to-project ` with copy/delete semantics; `--copy` skips delete. -- ~~**Bulk operations**~~ - shipped: `plane issue update PROJ-1,2,3 --state Done` resolves refs first, then patches in parallel. -- ~~**Multi-filter**~~ - shipped: `--state`, `--priority`, and `--assignee` accept comma-separated values on `issue list` and `issue mine`. - ---- - -## v0.3.1 *(shipped)* - -### Bug Fixes - -- ~~**`--label` flag silently dropped on `issue create` / `issue update`**~~ - shipped: request bodies now send `labels` rather than `label_ids`. Same fix applied to `label add` and `label remove` (#19). See [bug-label-flag-silently-dropped.md](../context/research/lessons-learned/bug-label-flag-silently-dropped.md). - -### Polish - -- ~~**`--label-id `**~~ - shipped: alternative to `--label ` on `issue create` and `issue update`. -- ~~**Document case-insensitive label matching in `--help`**~~ - shipped on `issue create`, `issue update`, `label add`, and `label remove`. - ---- - -## v0.3.2 *(shipped)* - -### Bug Fixes - -- ~~**`--due` flag silent no-op on `issue update`**~~ - shipped: request bodies now send `target_date` rather than `due_date`. Also fixed `issue get` due-date display and the `--json` `dueDate` alias. See [bug-due-flag-silent-noop-on-update.md](../context/research/lessons-learned/bug-due-flag-silent-noop-on-update.md). - -### Test Coverage - -- ~~**Live round-trip test for `--due`**~~ - shipped: `tests/smoke/due-date-roundtrip.test.ts`. -- ~~**Silent-drop audit harness for remaining `issue update` flags**~~ - shipped: `tests/smoke/issue-update-audit.test.ts`. - ---- - -## v0.4.0 *(shipped)* - -### Features - -- ~~**Idempotent module/cycle creation**~~ - shipped: `plane module ensure ` and `plane cycle ensure ` return existing resources by case-insensitive name or create them when missing. -- ~~**Bulk module/cycle assignment**~~ - shipped: `plane module add ` and `plane cycle add ` accept comma-separated issue refs. -- ~~**Page lookup improvements**~~ - shipped: `plane page search ` and `plane page get ` by UUID, exact name, or one unambiguous partial name. -- ~~**Discovery metadata for automation workflows**~~ - shipped: `discover issue-inputs` advertises ensure commands, bulk assignment, and comma-separated issue refs. - -### Bug Fixes - -- ~~**`cycle create` missing `project_id`**~~ - shipped: create payload now includes the resolved project ID. -- ~~**Project pages 404 compatibility**~~ - shipped: page listing now reports unsupported/API-version behavior clearly instead of a generic 404. - -### Reliability - -- ~~**Round-trip assertion on `issue update`**~~ - shipped: after PATCH, the CLI compares returned fields against requested fields and exits non-zero if Plane appears to have silently ignored any requested update. - ---- - -## v0.4.1 *(shipped)* - -### Bug Fixes - -- ~~**Cycle membership endpoint compatibility**~~ - shipped: `cycle current`, `cycle issues`, `cycle add`, and `cycle remove` use Plane's `cycle-issues` membership endpoint. See [cycle-membership-endpoint-failures.md](../context/research/lessons-learned/cycle-membership-endpoint-failures.md). - ---- - -## v0.4.2 *(shipped)* - -Stability + clean-workflow release. Clears confirmed open bugs and the missing idempotent label command, and hardens CI / the release process. - -### Bug Fixes - -- ~~**Doubled identifier on `close` / `reopen` / `delete`**~~ - done: confirmation strings now print `PROJ-N` once, derived from the resolved sequence id instead of the raw argument. Reported 2026-04-02 in [ai-agent-usage-feedback.md](../context/research/lessons-learned/ai-agent-usage-feedback.md). -- ~~**`label_ids` returned label names instead of UUIDs**~~ - done: normalized `--json` output now exposes UUIDs in `label_ids` and names in `labels`. - -### Features - -- ~~**`plane label ensure [color]`**~~ - done: idempotent label creation for agent workflows, mirroring `module ensure` / `cycle ensure`; advertised in `discover issue-inputs`. - -### Workflow / Reliability - -- ~~**CI runs lint + format:check**~~ - done: style/format drift is now caught on every push and PR, not only at release time. -- ~~**Smoke test reads the version from `package.json`**~~ - done: removes the hardcoded-version footgun on release. -- ~~**Automated release on tag push**~~ - done: pushing a `vX.Y.Z` tag builds, tests, verify-packs, creates the GitHub release, and uploads the `.tgz` asset automatically. -- ~~**Windows / PowerShell install docs**~~ - done: README documents the `plane.cmd` / execution-policy workaround for the blocked `plane.ps1`. - ---- - -## v0.4.3 *(shipped)* - -From the 2026-07-10 production-use gap report. See [production-use-gap-report.md](../context/research/lessons-learned/production-use-gap-report.md). - -### Bug Fixes - -- ~~**Ambiguous sequence refs resolve to the wrong issue**~~ - shipped: `findIssueBySeq` now aborts on duplicate `sequence_id`s, listing every candidate (UUID + state + title) and requiring a UUID instead of silently mutating the first match. Single-issue mutation confirmations also print the resolved UUID. **P1 / data-integrity.** -- ~~**Unknown `--fields` names fail silently**~~ - shipped: `issue get`/`list`/`mine` now emit a stderr warning naming unrecognized fields and listing the valid normalized names; stdout stays pure JSON. -- ~~**`members list` shows every member as "Viewer"**~~ - shipped: added a `getMemberRole` helper (nested → annotated → top-level) and render `-` when role is genuinely absent. - -### Features - -- ~~**`plane module update` / `plane cycle update`**~~ - shipped: full property set (`--name`, `--description`, `--status`, `--start`, `--target`/`--end`, `--lead`), with the same options added to `create` / `ensure`. Module `lead` (vs `lead_id`) is implemented against the documented name and flagged for a live check. **P1.** -- ~~**`--module` / `--cycle` on `issue create`**~~ - shipped: joins a module/cycle at creation; `--dry-run` previews the create plus each membership POST, and a post-create membership failure reports partial success with a non-zero exit and the created UUID. - -### Polish - -- ~~**Tracking columns in the `issue list` table**~~ - shipped: `--columns ` on `issue list`/`mine` (id, title, state, priority, due, start, assignee, labels, uuid, created, updated); the default table now includes `DUE`. - ---- - -## v0.4.4 *(shipped)* — close the v0.4.3 loop - -Small, low-risk patch: settled the two verification items left open by v0.4.3 (implemented offline, never confirmed against a live instance) plus one agent-facing nicety. **Effort: S.** Both verifications were run live against a real work-items instance. - -### Bug Fixes / Verification - -- ~~**Confirm module `lead` and member-role field names on a live instance**~~ - shipped: live-verified against a real work-items instance. Module `lead` (not `lead_id`) is the correct write key — `PATCH { lead }` persists, `PATCH { lead_id }` is silently ignored. The workspace `members/` endpoint returns role as a top-level `role` field, which `getMemberRole` already reads. Both v0.4.3 mappings were correct; no behavior change (code comment updated to reflect live confirmation). See [production-use-gap-report.md](../context/research/lessons-learned/production-use-gap-report.md). - -### Polish - -- ~~**Advertise page (un)support in `discover`**~~ - shipped: `discover context` / `issue-inputs` now emit an additive `capabilities.pages` (`{ supported, reason }`) via a lightweight, non-fatal probe of the project-pages endpoint so agents skip the surface instead of probing. See [pages-support-root-cause.md](../context/research/lessons-learned/pages-support-root-cause.md). - ---- - -## v0.4.5 *(included in v0.4.6)* — pages on commercial editions - -The v0.4.5 work targeted the project-page operations documented at the time for Plane Cloud and Commercial/Airgapped self-hosted editions on the token-authenticated `/api/v1` API. These included list, create, retrieve, archive, and unarchive. The Community self-hosted instance tested during that work returned 404. Mocked-transport tests cover the documented API shapes. Live verification against a Cloud or Commercial instance is pending. - -### Features - -- ~~**`plane page archive ` / `plane page unarchive `**~~ — implemented on the commercial pages API (`POST`/`DELETE …/pages/{id}/archive/`, 204 responses) and advertised in `discover` via the `operations` array. -- ~~**`page create` request body**~~ — always sends the required `description_html` field (default `

`) and accepts `--access <0|1>` (public/private). - -### Error Messages - -- ~~**`page update` / `page delete` diagnostics**~~ — v0.4.5 added diagnostics for 404/405 responses based on the API documentation available at the time. The v0.4.6 changes supersede that handling with documented `PUT` support and endpoint-specific diagnostics. See [makeplane/plane#8598](https://github.com/makeplane/plane/issues/8598) for the original request. - -### Polish - -- ~~**`capabilities.pages` reports baseline operations**~~ — `operations` lists `list`, `get`, `create`, and `archive` when the page probe succeeds and returns `[]` when support is unavailable or unknown. - ---- - -## v0.4.6 *(shipped)* — rewrite workflow gaps - -Addresses the reported rewrite workflow limitations. Plane documents `PUT` for project-page updates with optional `name` and `description_html`. Supplying content replaces the page body. [Plane API reference](https://developers.plane.so/api-reference/page/update-project-page) - -### Features / Bug Fixes - -- ~~**Preserve explicit rich-text input**~~ — `--description-html` on issue create/update and `--content-html` on page create/update preserve supplied HTML. Text and HTML inputs are mutually exclusive, and updates accept empty content. Regression tests check outgoing headings and lists, empty values, and ignored clears. -- ~~**Clear issue parents**~~ — `plane issue update --parent none` sends `parent: null`. Tests cover assigning and clearing parents, returned values, and the existing bulk-parent restriction. -- ~~**Project UUID references**~~ — `project use` and `--project` accept a project UUID copied from a browser URL, alongside identifier and name matching. - -### Compatibility / Verification - -- ~~**Page-update methods and diagnostics**~~ — the CLI defaults to `PUT` and supports explicit `--method PATCH` for compatible instances. Dry-run output and errors show the selected method. Errors also identify the endpoint and HTTP status for 404 and 405 responses. Tests cover both methods, failure handling, and the absence of automatic fallback. A live check confirmed page updates via `PUT` on one configured Plane instance. - ---- - -## v0.5.0 *(shipped)* — batch issue updates - -The 2026-07-10 gap report described a batch of roughly 60 updates exceeding a two-minute shell timeout when each issue update launched a separate process. This release handles distinct updates in one process. - -### Features - -- ~~**`plane issue update --from-json `**~~ — validates all input before writing, reuses lookups across rows, and reports success or failure for each issue in input order. Dry runs preview the resolved requests, and any failed row gives the command a nonzero exit status. [Batch input and output](../README.md#update-issues-from-json-v050) - ---- - -## Resolver latency *(planned after v0.5.0)* - -- **On-disk resolver cache** — share project, state, member, and label lookups across separate commands. The design needs to cover cache location, expiry, invalidation on 404 or a missing name, and a way to opt out. - ---- - -## v0.6.0 *(planned)* — author from files - -Create many issues from a spec file without pre-existing labels or fragile heredoc quoting. Builds on the v0.5.0 batch work. **Effort: L.** The preflight validation is shared across all three items. - -### Features - -- **`plane issue bulk-create --file `** - bulk issue import with `--dry-run` / `--validate-only` preflight that reports missing labels/modules/cycles and invalid assignee/state/date before mutating. -- **Missing-label automation** - `--create-labels`, `--ignore-missing-labels`, `--validate-only` on issue create / bulk-create; shares the preflight validation. -- **`--description-file ` / stdin (`-`)** - long/multi-paragraph descriptions on issue create/update without heredoc quoting; also feeds bulk specs. - ---- - -## Later *(unscheduled)* - -Real but lower-impact; slot into a minor/patch when a workflow needs them. - -- **Richer machine-readable error envelope** - add `command`, `retryable`, and `suggestedFix` to `--json` error output so agents can branch on failures. Output-contract change — coordinate with consumers. -- **Bulk assignment alternatives** - `--issues` / repeated positional refs alongside comma-separated refs on module/cycle add. - -### Wontfix - -- ~~**Workspace-level pages fallback**~~ — on the Community self-hosted instance tested for ROADMAP-175, the versioned endpoint returned 404 and the web app's internal endpoint returned 401 with an API key. The CLI's documented project-page support for Plane Cloud and Commercial is included in v0.4.6. - ---- - -Semver: patch bumps (`0.0.1`) for fixes/polish, minor bumps (`0.1.0`) for new commands or input patterns. This is a **proposed sequence, not a commitment** — items may shift between releases or be dropped based on usage and feedback. Suggestions welcome via [GitHub Issues](https://github.com/VidGuiCode/plane-cli/issues). +**Workspace-level pages fallback.** The tested Community instance returned 404 for the versioned workspace endpoint and 401 for the web app's internal endpoint with an API key (ROADMAP-175). The CLI supports the project-pages public API where available. [Project pages](commands.md#project-pages) diff --git a/docs/setup.md b/docs/setup.md new file mode 100644 index 0000000..d0d0258 --- /dev/null +++ b/docs/setup.md @@ -0,0 +1,30 @@ +# Setup + +[Documentation](README.md) · [Commands](commands.md) · [Automation](automation.md) + +## Install and upgrade + +Use Node.js 20 or later with npm. The [install command](../README.md#install) installs the GitHub release tarball globally as `plane`. Run `plane upgrade` for an existing installation or reinstall using the command from the [release you want](https://github.com/VidGuiCode/plane-cli/releases). + +On Linux and macOS, use a user-level Node.js installation or set npm's global prefix to a directory you own if you get a permissions error. + +On Windows, npm creates both `plane.ps1` and `plane.cmd`. If PowerShell blocks scripts, run `plane.cmd where` or substitute `plane.cmd` in any example. If you prefer the PowerShell shim and your environment allows it, `Set-ExecutionPolicy -Scope CurrentUser RemoteSigned` enables local scripts for your user account. + +## Connect to Plane + +Run `plane login` and enter the Plane instance URL and API token when prompted. Login selects or asks for a workspace and tries to detect the instance's `work-items` or `issues` API style. You can set the style explicitly with `plane login --api-style work-items` or `plane login --api-style issues`. + +| To | Run | +| --- | --- | +| Inspect the current selection | `plane where` | +| Switch accounts | `plane account list`, then `plane account use ` | +| Switch workspaces | `plane workspace list`, then `plane workspace use ` | +| Switch projects | `plane project list`, then `plane project use ` | + +`project use` accepts a project identifier, name, or UUID. For a one-off override, use `--workspace ` and `--project ` on commands that expose those options. After changing workspaces, select a project from the new workspace. + +## Store or remove credentials + +Plane CLI saves accounts, API tokens, and context in `~/.plane-cli/config.json`. Keep this file private. `PLANE_CONFIG` selects a different location. In CI and containers, use [environment-based authentication](automation.md#authentication-for-ci) to run commands without saving a token with `plane login`. + +Run `plane logout` to remove the active saved account or `plane logout ` to remove a named account. Use `npm uninstall -g plane-cli` to remove the command.