chore(settings): support more than 3 lines (#53)

* chore(settings): support more than 3 lines
* chore: add confirm dialog
* chore: update example script
* chore: rm config override
* Fix spacing issues, disallow deletion of last line, fix issue where deleting lines 2 and 3 would keep them in the list, cleanup onDelete and onAppend method locations
* Initialize default settings with two empty lines

---------

Co-authored-by: Matthew Breedlove <sirmalloc@gmail.com>
This commit is contained in:
Jack AllenandMatthew Breedlove authored and GitHub committed 2025-08-28 09:30:26 -04:00
1 parent 9e97e003d3
commit d5b2da2a47
9 files changed
+225 -48

No files matched your search

+4 -2
View File
@@ -12,9 +12,9 @@
],
"scripts": {
"start": "bun run src/ccstatusline.ts",
"statusline": "bun run src/ccstatusline.ts",
"build": "rm -rf dist/* && bun build src/ccstatusline.ts --target=node --outfile=dist/ccstatusline.js --target-version=14",
"postbuild": "bun run scripts/replace-version.ts",
"example": "cat scripts/payload.example.json | bun start",
"prepublishOnly": "bun run build",
"lint": "bun tsc --noEmit; eslint . --config eslint.config.js --max-warnings=999999 --fix",
"test": "bun vitest"
@@ -41,7 +41,9 @@
"typescript": "^5.9.2",
"typescript-eslint": "^8.39.1",
"vitest": "^3.2.4",
"zod": "^4.0.17"
"zod": "^4.0.17",
"pluralize": "^8.0.0",
"@types/pluralize": "^0.0.33"
},
"keywords": [
"claude",