logancyang_obsidian-copilot/package.json
Logan Yang 684a3fc2aa Squashed new commits from master to preview
commit 730d0c82b1
Author: Logan Yang <logancyang@gmail.com>
Date:   Mon Apr 21 20:13:21 2025 -0700

    Switch insert and copy button positions (#1463)

commit 4efdc941f2
Author: Logan Yang <logancyang@gmail.com>
Date:   Mon Apr 21 16:15:50 2025 -0700

    Fix canvas read (#1462)

commit 93e4a04ef1
Author: Emt-lin <41323133+Emt-lin@users.noreply.github.com>
Date:   Tue Apr 22 07:13:47 2025 +0800

    fix: Add a new line when press the Enter key on mobile. (#1450)

commit 3c65d79a74
Author: Logan Yang <logancyang@gmail.com>
Date:   Mon Apr 21 15:38:36 2025 -0700

    Implement canvas adaptor (#1461)

    * Implement canvas parser
    * Refactor context processing and custom prompt handling

    - Update `processContextNotes` to exclude notes already processed by custom prompts using a set of excluded note paths.
    - Modify `extractVariablesFromPrompt` to return both a variables map and a set of included files.
    - Adjust `processPrompt` to track included files during prompt processing.
    - Update `Chat` component to handle context notes more efficiently by avoiding duplication of processed notes.
    - Ensure that the `FileParserManager` is initialized with the vault in `main.ts`.

    * Include canvas files in note context modal
    * Fix tests

commit 6a9085a71c
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun Apr 20 16:14:54 2025 -0700

    Add a toggle to turn custom prompt templating off (#1460)

commit 448a64c383
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun Apr 20 15:52:42 2025 -0700

    Update dependencies and support gpt 4.1 series, o4-mini and grok 3 (#1459)

commit 1d46ab90b0
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun Apr 20 12:14:56 2025 -0700

    Fix image in note logic (#1457)

    * Refactor image processing in note context
    * Add passMarkdownImages setting

commit f4bf334c27
Author: Felix Haase <felix.haase@feki.de>
Date:   Fri Apr 18 08:19:35 2025 +0200

    Ollama ApiKey support (#1421)

    * Update @langchain/ollama and ollama
    * Ollama: support api keys by passing headers

commit 19d8b50a74
Author: Emt-lin <41323133+Emt-lin@users.noreply.github.com>
Date:   Fri Apr 18 14:13:25 2025 +0800

    refactor: Optimize some user experiences. (#1441)

commit fe9b9311ba
Author: Zero Liu <zerolxy@gmail.com>
Date:   Sun Apr 13 17:40:42 2025 -0700

    Improve custom command (v3) (#1446)

    * Trim responses and auto focus replace on finishing
    * Make textarea auto scroll to bottom when generating
    * Support custom prompt syntax in custom command
    * Support follow up instruction
    * Fix unit test
    * Allow followup instruction to use custom prompt syntax

commit 648412a914
Author: Zero Liu <zerolxy@gmail.com>
Date:   Wed Apr 2 21:44:37 2025 -0700

    Add update notification (#1415)

commit cb4510e920
Author: Zero Liu <zerolxy@gmail.com>
Date:   Wed Apr 2 21:43:26 2025 -0700

    Add user_id to broca requests (#1414)
2025-04-22 00:04:15 -07:00

134 lines
4.4 KiB
JSON

{
"name": "obsidian-copilot",
"version": "2.8.8",
"description": "ChatGPT integration for Obsidian",
"main": "main.js",
"scripts": {
"dev": "npm-run-all --parallel dev:*",
"dev:tailwind": "npx tailwindcss -i src/styles/tailwind.css -o styles.css --watch",
"dev:esbuild": "node esbuild.config.mjs",
"build": "npm run build:tailwind && npm run build:esbuild || exit 1",
"build:tailwind": "npx tailwindcss -i src/styles/tailwind.css -o styles.css --minify",
"build:esbuild": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"format": "prettier --write 'src/**/*.{js,ts,tsx,md}'",
"format:check": "prettier --check 'src/**/*.{js,ts,tsx,md}'",
"version": "node version-bump.mjs && git add manifest.json versions.json",
"test": "jest",
"prepare": "husky"
},
"keywords": [],
"author": "Logan Yang",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,md}": [
"prettier --write",
"git add"
]
},
"license": "AGPL-3.0",
"devDependencies": {
"@langchain/ollama": "^0.2.0",
"@tailwindcss/container-queries": "^0.1.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/crypto-js": "^4.1.1",
"@types/diff": "^7.0.1",
"@types/events": "^3.0.0",
"@types/jest": "^29.5.11",
"@types/koa": "^2.13.7",
"@types/koa__cors": "^4.0.0",
"@types/luxon": "^3.4.2",
"@types/node": "^16.11.6",
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@types/react-syntax-highlighter": "^15.5.6",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"builtin-modules": "3.3.0",
"electron": "^27.3.2",
"esbuild": "^0.25.0",
"eslint": "^8.57.0",
"eslint-plugin-json": "^4.0.1",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"husky": "^9.1.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.5.0",
"lint-staged": "^15.2.9",
"npm-run-all": "^4.1.5",
"obsidian": "^1.2.5",
"prettier": "^3.3.3",
"tailwindcss": "^3.4.15",
"ts-jest": "^29.1.0",
"tslib": "2.4.0",
"typescript": "^5.7.2",
"web-streams-polyfill": "^3.3.2"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@google/generative-ai": "^0.21.0",
"@huggingface/inference": "^2.6.4",
"@koa/cors": "^5.0.0",
"@langchain/anthropic": "^0.3.3",
"@langchain/cohere": "^0.3.0",
"@langchain/community": "^0.3.22",
"@langchain/core": "^0.3.45",
"@langchain/deepseek": "^0.0.1",
"@langchain/google-genai": "^0.1.6",
"@langchain/groq": "^0.1.2",
"@langchain/mistralai": "^0.2.0",
"@langchain/openai": "^0.5.6",
"@langchain/xai": "^0.0.2",
"@orama/orama": "^3.0.0-rc-2",
"@radix-ui/react-checkbox": "^1.1.3",
"@radix-ui/react-collapsible": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.3",
"@radix-ui/react-dropdown-menu": "^2.1.4",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.4",
"@radix-ui/react-scroll-area": "^1.2.2",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-slider": "^1.2.1",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.1",
"@radix-ui/react-tabs": "^1.1.3",
"@radix-ui/react-tooltip": "^1.1.6",
"@tabler/icons-react": "^2.14.0",
"async-mutex": "^0.5.0",
"axios": "^1.3.4",
"buffer": "^6.0.3",
"chrono-node": "^2.7.7",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"codemirror-companion-extension": "^0.0.11",
"cohere-ai": "^7.13.0",
"crypto-js": "^4.1.1",
"diff": "^7.0.0",
"esbuild-plugin-svg": "^0.1.0",
"eventsource-parser": "^1.0.0",
"jotai": "^2.10.3",
"koa": "^2.14.2",
"koa-proxies": "^0.12.3",
"langchain": "^0.3.2",
"lucide-react": "^0.462.0",
"luxon": "^3.5.0",
"next-i18next": "^13.2.2",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.3.5",
"react-markdown": "^9.0.1",
"react-syntax-highlighter": "^15.5.0",
"sse": "github:mpetazzoni/sse.js",
"tailwind-merge": "^2.5.5",
"tailwindcss-animate": "^1.0.7"
}
}