Implements Phases 1-8 of the TFTSR implementation plan. Rust backend (Tauri 2.x, src-tauri/): - Multi-provider AI: OpenAI-compatible, Anthropic, Gemini, Mistral, Ollama - PII detection engine: 11 regex patterns with overlap resolution - SQLCipher AES-256 encrypted database with 10 versioned migrations - 28 Tauri IPC commands for triage, analysis, document, and system ops - Ollama: hardware probe, model recommendations, pull/delete with events - RCA and blameless post-mortem Markdown document generators - PDF export via printpdf - Audit log: SHA-256 hash of every external data send - Integration stubs for Confluence, ServiceNow, Azure DevOps (v0.2) Frontend (React 18 + TypeScript + Vite, src/): - 9 pages: full triage workflow NewIssue→LogUpload→Triage→Resolution→RCA→Postmortem→History+Settings - 7 components: ChatWindow, TriageProgress, PiiDiffViewer, DocEditor, HardwareReport, ModelSelector, UI primitives - 3 Zustand stores: session, settings (persisted), history - Type-safe tauriCommands.ts matching Rust backend types exactly - 8 IT domain system prompts (Linux, Windows, Network, K8s, DB, Virt, HW, Obs) DevOps: - .woodpecker/test.yml: rustfmt, clippy, cargo test, tsc, vitest on every push - .woodpecker/release.yml: linux/amd64 + linux/arm64 builds, Gogs release upload Verified: - cargo check: zero errors - tsc --noEmit: zero errors - vitest run: 13/13 unit tests passing Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
101 lines
3.1 KiB
JSON
101 lines
3.1 KiB
JSON
{
|
|
"name": "react-diff-viewer-continued",
|
|
"version": "3.4.0",
|
|
"private": false,
|
|
"description": "Continuation of a simple and beautiful text diff viewer component made with diff and React",
|
|
"keywords": [
|
|
"review",
|
|
"code-review",
|
|
"diff",
|
|
"diff-viewer",
|
|
"github",
|
|
"react",
|
|
"react-component",
|
|
"ui"
|
|
],
|
|
"repository": "git@github.com:aeolun/react-diff-viewer-continued.git",
|
|
"license": "MIT",
|
|
"authors": [
|
|
"Pranesh Ravi<praneshpranesh@gmail.com>",
|
|
"Bart Riepe <bart@serial-experiments.com>"
|
|
],
|
|
"main": "lib/src/index",
|
|
"typings": "lib/src/index",
|
|
"scripts": {
|
|
"build": "tsc --outDir lib/",
|
|
"build:examples": "webpack --progress",
|
|
"build:watch": "tsc --outDir lib/ -w",
|
|
"publish:examples": "NODE_ENV=production pnpm run build:examples && gh-pages -d examples/dist -r $GITHUB_REPO_URL",
|
|
"publish:examples:local": "NODE_ENV=production pnpm run build:examples && gh-pages -d examples/dist",
|
|
"start:examples": "webpack-dev-server --open --hot",
|
|
"test": "jest ./test/**",
|
|
"test:watch": "jest",
|
|
"lint": "eslint src/ test/",
|
|
"lint:fix": "eslint --fix src/ test/",
|
|
"prettier": "prettier --write ."
|
|
},
|
|
"dependencies": {
|
|
"@emotion/css": "^11.11.2",
|
|
"classnames": "^2.3.2",
|
|
"diff": "^5.1.0",
|
|
"memoize-one": "^6.0.0",
|
|
"prop-types": "^15.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.2",
|
|
"@babel/preset-env": "^7.23.2",
|
|
"@babel/preset-react": "^7.22.15",
|
|
"@babel/preset-typescript": "^7.23.2",
|
|
"@semantic-release/changelog": "6.0.1",
|
|
"@semantic-release/git": "10.0.1",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@types/diff": "^5.0.6",
|
|
"@types/expect": "^1.20.4",
|
|
"@types/memoize-one": "^4.1.1",
|
|
"@types/mocha": "^5.2.7",
|
|
"@types/node": "^12.20.55",
|
|
"@types/prop-types": "15.7.5",
|
|
"@types/react": "^16.14.49",
|
|
"@types/react-dom": "^16.9.20",
|
|
"@types/webpack": "^4.41.34",
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
"css-loader": "^6.8.1",
|
|
"eslint": "^8.51.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-plugin-import": "^2.28.1",
|
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"expect": "^28.1.3",
|
|
"file-loader": "^6.2.0",
|
|
"gh-pages": "^4.0.0",
|
|
"html-webpack-plugin": "^5.5.3",
|
|
"jest": "^28.1.3",
|
|
"jest-environment-jsdom": "^28.1.3",
|
|
"mini-css-extract-plugin": "^2.7.6",
|
|
"mocha": "^10.2.0",
|
|
"prettier": "^2.8.8",
|
|
"raw-loader": "^4.0.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"sass": "^1.69.3",
|
|
"sass-loader": "^13.3.2",
|
|
"semantic-release": "^19.0.5",
|
|
"spy": "^1.0.0",
|
|
"ts-loader": "^9.5.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.2.2",
|
|
"webpack": "^5.89.0",
|
|
"webpack-cli": "^4.10.0",
|
|
"webpack-dev-server": "^4.15.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
|
|
"react-dom": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 8"
|
|
}
|
|
}
|