From 658179c8557542379e1caede32f4028ec7f4ed7a Mon Sep 17 00:00:00 2001 From: C Jack Date: Fri, 16 Aug 2024 14:30:38 +0800 Subject: [PATCH] Update version to 0.4.0 in manifest and package.json --- manifest.json | 4 +-- package-lock.json | 75 ++++++++++++++++++----------------------------- package.json | 4 +-- versions.json | 3 +- 4 files changed, 34 insertions(+), 52 deletions(-) diff --git a/manifest.json b/manifest.json index 5ad3648..f9c450e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,9 @@ { "id": "tars", "name": "Tars", - "version": "0.3.1", + "version": "0.4.0", "minAppVersion": "1.5.8", - "description": "Use Kimi and other Chinese LLMs for text generation based on tag suggestions.", + "description": "Text generation based on tag suggestions, using Claude, OpenAI, Kimi, Doubao, Qwen, Zhipu, DeepSeek, QianFan & more.", "author": "Tarslab", "authorUrl": "https://github.com/tarslab", "isDesktopOnly": true diff --git a/package-lock.json b/package-lock.json index b03833e..6064fb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,20 +1,20 @@ { "name": "obsidian-tars", - "version": "0.3.0", + "version": "0.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "obsidian-tars", - "version": "0.3.0", + "version": "0.4.0", "license": "MIT", "devDependencies": { - "@anthropic-ai/sdk": "^0.25.1", "@types/node": "^16.18.101", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", "builtin-modules": "3.3.0", "esbuild": "0.17.3", + "https-proxy-agent": "^7.0.5", "jose": "^5.2.4", "node-fetch": "^3.3.2", "obsidian": "latest", @@ -33,50 +33,6 @@ "node": ">=0.10.0" } }, - "node_modules/@anthropic-ai/sdk": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.25.1.tgz", - "integrity": "sha512-+qF6hRax1XzpbZTy1YqQMTwOPY3W1B5PFS5ZXgmPl1V/lDqXm2uYFCpnSR3DREz1FRZ4lflzbK1cAhr88FvCpw==", - "dev": true, - "dependencies": { - "@types/node": "^18.11.18", - "@types/node-fetch": "^2.6.4", - "abort-controller": "^3.0.0", - "agentkeepalive": "^4.2.1", - "form-data-encoder": "1.7.2", - "formdata-node": "^4.3.2", - "node-fetch": "^2.6.7" - } - }, - "node_modules/@anthropic-ai/sdk/node_modules/@types/node": { - "version": "18.19.44", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.44.tgz", - "integrity": "sha512-ZsbGerYg72WMXUIE9fYxtvfzLEuq6q8mKERdWFnqTmOvudMxnz+CBNRoOwJ2kNpFOncrKjT1hZwxjlFgQ9qvQA==", - "dev": true, - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@anthropic-ai/sdk/node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "dev": true, - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, "node_modules/@codemirror/state": { "version": "6.4.1", "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.4.1.tgz", @@ -885,6 +841,18 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/agent-base": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "dev": true, + "dependencies": { + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/agentkeepalive": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz", @@ -1671,6 +1639,19 @@ "node": ">=8" } }, + "node_modules/https-proxy-agent": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "dev": true, + "dependencies": { + "agent-base": "^7.0.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/humanize-ms": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", diff --git a/package.json b/package.json index 5fa5223..e74b109 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-tars", - "version": "0.3.1", + "version": "0.4.0", "description": "Use Kimi and other Chinese LLMs for text generation based on tag suggestions.", "main": "main.js", "scripts": { @@ -12,12 +12,12 @@ "author": "C Jack", "license": "MIT", "devDependencies": { - "@anthropic-ai/sdk": "^0.25.1", "@types/node": "^16.18.101", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", "builtin-modules": "3.3.0", "esbuild": "0.17.3", + "https-proxy-agent": "^7.0.5", "jose": "^5.2.4", "node-fetch": "^3.3.2", "obsidian": "latest", diff --git a/versions.json b/versions.json index 4b50600..7781895 100644 --- a/versions.json +++ b/versions.json @@ -5,5 +5,6 @@ "0.2.0": "1.5.8", "0.2.1": "1.5.8", "0.3.0": "1.5.8", - "0.3.1": "1.5.8" + "0.3.1": "1.5.8", + "0.4.0": "1.5.8" } \ No newline at end of file