fix: separate generate-models from build script in jae-ai
Some checks are pending
CI / build-check-test (push) Waiting to run
Some checks are pending
CI / build-check-test (push) Waiting to run
- Remove generate-models from build chain to prevent Venice entries being wiped - Add separate update-models script for manual model list refreshes - build now runs: tsgo -p tsconfig.build.json only - update-models must be run explicitly when refreshing provider model lists
This commit is contained in:
parent
76c500497d
commit
756101ce7d
1 changed files with 113 additions and 112 deletions
|
|
@ -1,114 +1,115 @@
|
||||||
{
|
{
|
||||||
"name": "@jaeswift/jae-ai",
|
"name": "@jaeswift/jae-ai",
|
||||||
"version": "0.62.0",
|
"version": "0.62.0",
|
||||||
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"import": "./dist/index.js"
|
"import": "./dist/index.js"
|
||||||
},
|
},
|
||||||
"./anthropic": {
|
"./anthropic": {
|
||||||
"types": "./dist/providers/anthropic.d.ts",
|
"types": "./dist/providers/anthropic.d.ts",
|
||||||
"import": "./dist/providers/anthropic.js"
|
"import": "./dist/providers/anthropic.js"
|
||||||
},
|
},
|
||||||
"./azure-openai-responses": {
|
"./azure-openai-responses": {
|
||||||
"types": "./dist/providers/azure-openai-responses.d.ts",
|
"types": "./dist/providers/azure-openai-responses.d.ts",
|
||||||
"import": "./dist/providers/azure-openai-responses.js"
|
"import": "./dist/providers/azure-openai-responses.js"
|
||||||
},
|
},
|
||||||
"./google": {
|
"./google": {
|
||||||
"types": "./dist/providers/google.d.ts",
|
"types": "./dist/providers/google.d.ts",
|
||||||
"import": "./dist/providers/google.js"
|
"import": "./dist/providers/google.js"
|
||||||
},
|
},
|
||||||
"./google-gemini-cli": {
|
"./google-gemini-cli": {
|
||||||
"types": "./dist/providers/google-gemini-cli.d.ts",
|
"types": "./dist/providers/google-gemini-cli.d.ts",
|
||||||
"import": "./dist/providers/google-gemini-cli.js"
|
"import": "./dist/providers/google-gemini-cli.js"
|
||||||
},
|
},
|
||||||
"./google-vertex": {
|
"./google-vertex": {
|
||||||
"types": "./dist/providers/google-vertex.d.ts",
|
"types": "./dist/providers/google-vertex.d.ts",
|
||||||
"import": "./dist/providers/google-vertex.js"
|
"import": "./dist/providers/google-vertex.js"
|
||||||
},
|
},
|
||||||
"./mistral": {
|
"./mistral": {
|
||||||
"types": "./dist/providers/mistral.d.ts",
|
"types": "./dist/providers/mistral.d.ts",
|
||||||
"import": "./dist/providers/mistral.js"
|
"import": "./dist/providers/mistral.js"
|
||||||
},
|
},
|
||||||
"./openai-codex-responses": {
|
"./openai-codex-responses": {
|
||||||
"types": "./dist/providers/openai-codex-responses.d.ts",
|
"types": "./dist/providers/openai-codex-responses.d.ts",
|
||||||
"import": "./dist/providers/openai-codex-responses.js"
|
"import": "./dist/providers/openai-codex-responses.js"
|
||||||
},
|
},
|
||||||
"./openai-completions": {
|
"./openai-completions": {
|
||||||
"types": "./dist/providers/openai-completions.d.ts",
|
"types": "./dist/providers/openai-completions.d.ts",
|
||||||
"import": "./dist/providers/openai-completions.js"
|
"import": "./dist/providers/openai-completions.js"
|
||||||
},
|
},
|
||||||
"./openai-responses": {
|
"./openai-responses": {
|
||||||
"types": "./dist/providers/openai-responses.d.ts",
|
"types": "./dist/providers/openai-responses.d.ts",
|
||||||
"import": "./dist/providers/openai-responses.js"
|
"import": "./dist/providers/openai-responses.js"
|
||||||
},
|
},
|
||||||
"./oauth": {
|
"./oauth": {
|
||||||
"types": "./dist/oauth.d.ts",
|
"types": "./dist/oauth.d.ts",
|
||||||
"import": "./dist/oauth.js"
|
"import": "./dist/oauth.js"
|
||||||
},
|
},
|
||||||
"./bedrock-provider": {
|
"./bedrock-provider": {
|
||||||
"types": "./dist/bedrock-provider.d.ts",
|
"types": "./dist/bedrock-provider.d.ts",
|
||||||
"import": "./dist/bedrock-provider.js"
|
"import": "./dist/bedrock-provider.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"jae-ai": "./dist/cli.js"
|
"jae-ai": "./dist/cli.js"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"README.md"
|
"README.md"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "shx rm -rf dist",
|
"clean": "shx rm -rf dist",
|
||||||
"generate-models": "npx tsx scripts/generate-models.ts",
|
"generate-models": "npx tsx scripts/generate-models.ts",
|
||||||
"build": "npm run generate-models && tsgo -p tsconfig.build.json",
|
"build": "tsgo -p tsconfig.build.json",
|
||||||
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
||||||
"dev:tsc": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
"dev:tsc": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
||||||
"test": "vitest --run",
|
"test": "vitest --run",
|
||||||
"prepublishOnly": "npm run clean && npm run build"
|
"prepublishOnly": "npm run clean && npm run build",
|
||||||
},
|
"update-models": "npm run generate-models"
|
||||||
"dependencies": {
|
},
|
||||||
"@anthropic-ai/sdk": "^0.73.0",
|
"dependencies": {
|
||||||
"@aws-sdk/client-bedrock-runtime": "^3.983.0",
|
"@anthropic-ai/sdk": "^0.73.0",
|
||||||
"@google/genai": "^1.40.0",
|
"@aws-sdk/client-bedrock-runtime": "^3.983.0",
|
||||||
"@mistralai/mistralai": "1.14.1",
|
"@google/genai": "^1.40.0",
|
||||||
"@sinclair/typebox": "^0.34.41",
|
"@mistralai/mistralai": "1.14.1",
|
||||||
"ajv": "^8.17.1",
|
"@sinclair/typebox": "^0.34.41",
|
||||||
"ajv-formats": "^3.0.1",
|
"ajv": "^8.17.1",
|
||||||
"chalk": "^5.6.2",
|
"ajv-formats": "^3.0.1",
|
||||||
"openai": "6.26.0",
|
"chalk": "^5.6.2",
|
||||||
"partial-json": "^0.1.7",
|
"openai": "6.26.0",
|
||||||
"proxy-agent": "^6.5.0",
|
"partial-json": "^0.1.7",
|
||||||
"undici": "^7.19.1",
|
"proxy-agent": "^6.5.0",
|
||||||
"zod-to-json-schema": "^3.24.6"
|
"undici": "^7.19.1",
|
||||||
},
|
"zod-to-json-schema": "^3.24.6"
|
||||||
"keywords": [
|
},
|
||||||
"ai",
|
"keywords": [
|
||||||
"llm",
|
"ai",
|
||||||
"openai",
|
"llm",
|
||||||
"anthropic",
|
"openai",
|
||||||
"gemini",
|
"anthropic",
|
||||||
"bedrock",
|
"gemini",
|
||||||
"unified",
|
"bedrock",
|
||||||
"api"
|
"unified",
|
||||||
],
|
"api"
|
||||||
"author": "Mario Zechner",
|
],
|
||||||
"license": "MIT",
|
"author": "Mario Zechner",
|
||||||
"repository": {
|
"license": "MIT",
|
||||||
"type": "git",
|
"repository": {
|
||||||
"url": "git+https://github.com/jae/agent-jae-cli.git",
|
"type": "git",
|
||||||
"directory": "packages/ai"
|
"url": "git+https://github.com/jae/agent-jae-cli.git",
|
||||||
},
|
"directory": "packages/ai"
|
||||||
"engines": {
|
},
|
||||||
"node": ">=20.0.0"
|
"engines": {
|
||||||
},
|
"node": ">=20.0.0"
|
||||||
"devDependencies": {
|
},
|
||||||
"@types/node": "^24.3.0",
|
"devDependencies": {
|
||||||
"canvas": "^3.2.0",
|
"@types/node": "^24.3.0",
|
||||||
"vitest": "^3.2.4"
|
"canvas": "^3.2.0",
|
||||||
}
|
"vitest": "^3.2.4"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue