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>
103 lines
3.1 KiB
JSON
103 lines
3.1 KiB
JSON
{
|
|
"name": "memoize-one",
|
|
"version": "6.0.0",
|
|
"description": "A memoization library which only remembers the latest invocation",
|
|
"main": "dist/memoize-one.cjs.js",
|
|
"types": "dist/memoize-one.d.ts",
|
|
"module": "dist/memoize-one.esm.js",
|
|
"sideEffects": false,
|
|
"author": "Alex Reardon <alexreardon@gmail.com>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/alexreardon/memoize-one.git"
|
|
},
|
|
"files": [
|
|
"/dist",
|
|
"/src"
|
|
],
|
|
"size-limit": [
|
|
{
|
|
"path": "dist/memoize-one.min.js",
|
|
"limit": "234B"
|
|
},
|
|
{
|
|
"path": "dist/memoize-one.js",
|
|
"limit": "234B"
|
|
},
|
|
{
|
|
"path": "dist/memoize-one.cjs.js",
|
|
"limit": "230B"
|
|
},
|
|
{
|
|
"path": "dist/memoize-one.esm.js",
|
|
"limit": "246B"
|
|
}
|
|
],
|
|
"keywords": [
|
|
"memoize",
|
|
"memoization",
|
|
"cache",
|
|
"performance"
|
|
],
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@size-limit/preset-small-lib": "^5.0.4",
|
|
"@types/benchmark": "^2.1.1",
|
|
"@types/jest": "^27.0.2",
|
|
"@types/lodash.isequal": "^4.5.5",
|
|
"@types/lodash.memoize": "^4.1.6",
|
|
"@types/node": "^16.10.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.31.2",
|
|
"@typescript-eslint/parser": "^4.31.2",
|
|
"benchmark": "^2.1.4",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-jest": "^24.4.2",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"expect-type": "^0.12.0",
|
|
"fast-memoize": "^2.5.2",
|
|
"jest": "^27.2.2",
|
|
"lodash.isequal": "^4.5.0",
|
|
"lodash.memoize": "^4.1.2",
|
|
"markdown-table": "^3.0.1",
|
|
"mem": "^9.0.1",
|
|
"memoizee": "^0.4.15",
|
|
"moize": "^6.1.0",
|
|
"nanocolors": "^0.2.9",
|
|
"ora": "^6.0.1",
|
|
"prettier": "2.4.1",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "^2.57.0",
|
|
"rollup-plugin-replace": "^2.2.0",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-typescript": "^1.0.1",
|
|
"size-limit": "^5.0.4",
|
|
"ts-jest": "^27.0.5",
|
|
"ts-node": "^10.2.1",
|
|
"tslib": "^2.3.1",
|
|
"typescript": "^4.4.3"
|
|
},
|
|
"config": {
|
|
"prettier_target": "src/**/*.{ts,js,jsx,md,json} test/**/*.{ts,js,jsx,md,json}"
|
|
},
|
|
"scripts": {
|
|
"validate": "yarn prettier:check && yarn eslint:check && yarn typescript:check",
|
|
"test": "yarn jest",
|
|
"test:size": "yarn build && yarn size-limit",
|
|
"typescript:check": "yarn tsc --noEmit",
|
|
"prettier:check": "yarn prettier --debug-check $npm_package_config_prettier_target",
|
|
"prettier:write": "yarn prettier --write $npm_package_config_prettier_target",
|
|
"eslint:check": "eslint $npm_package_config_prettier_target",
|
|
"build": "yarn build:clean && yarn build:dist && yarn build:typescript && yarn build:flow",
|
|
"build:clean": "yarn rimraf dist",
|
|
"build:dist": "yarn rollup -c",
|
|
"build:typescript": "yarn tsc ./src/memoize-one.ts --emitDeclarationOnly --declaration --outDir ./dist",
|
|
"build:flow": "cp src/memoize-one.js.flow dist/memoize-one.cjs.js.flow",
|
|
"perf": "yarn ts-node ./benchmarks/shallow-equal.ts",
|
|
"perf:library-comparison": "yarn build && node ./benchmarks/library-comparison.js",
|
|
"prepublishOnly": "yarn build"
|
|
}
|
|
}
|