mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 08:04:44 +00:00
Fix theme path for binary and npm builds after refactor
This commit is contained in:
parent
dcf81a6a1a
commit
dbd6e5c500
2 changed files with 21 additions and 4 deletions
|
|
@ -2008,6 +2008,23 @@ export const MODELS = {
|
||||||
contextWindow: 256000,
|
contextWindow: 256000,
|
||||||
maxTokens: 128000,
|
maxTokens: 128000,
|
||||||
} satisfies Model<"openai-completions">,
|
} satisfies Model<"openai-completions">,
|
||||||
|
"z-ai/glm-4.6v": {
|
||||||
|
id: "z-ai/glm-4.6v",
|
||||||
|
name: "Z.AI: GLM 4.6V",
|
||||||
|
api: "openai-completions",
|
||||||
|
provider: "openrouter",
|
||||||
|
baseUrl: "https://openrouter.ai/api/v1",
|
||||||
|
reasoning: true,
|
||||||
|
input: ["text", "image"],
|
||||||
|
cost: {
|
||||||
|
input: 0.3,
|
||||||
|
output: 0.8999999999999999,
|
||||||
|
cacheRead: 0.049999999999999996,
|
||||||
|
cacheWrite: 0,
|
||||||
|
},
|
||||||
|
contextWindow: 131072,
|
||||||
|
maxTokens: 24000,
|
||||||
|
} satisfies Model<"openai-completions">,
|
||||||
"openai/gpt-5.1-codex-max": {
|
"openai/gpt-5.1-codex-max": {
|
||||||
id: "openai/gpt-5.1-codex-max",
|
id: "openai/gpt-5.1-codex-max",
|
||||||
name: "OpenAI: GPT-5.1-Codex-Max",
|
name: "OpenAI: GPT-5.1-Codex-Max",
|
||||||
|
|
@ -4499,8 +4516,8 @@ export const MODELS = {
|
||||||
reasoning: false,
|
reasoning: false,
|
||||||
input: ["text", "image"],
|
input: ["text", "image"],
|
||||||
cost: {
|
cost: {
|
||||||
input: 0.03,
|
input: 0.049999999999999996,
|
||||||
output: 0.11,
|
output: 0.22,
|
||||||
cacheRead: 0,
|
cacheRead: 0,
|
||||||
cacheWrite: 0,
|
cacheWrite: 0,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,8 @@
|
||||||
"clean": "rm -rf dist",
|
"clean": "rm -rf dist",
|
||||||
"build": "tsgo -p tsconfig.build.json && chmod +x dist/cli.js && npm run copy-assets",
|
"build": "tsgo -p tsconfig.build.json && chmod +x dist/cli.js && npm run copy-assets",
|
||||||
"build:binary": "npm run build && bun build --compile ./dist/cli.js --outfile dist/pi && npm run copy-binary-assets",
|
"build:binary": "npm run build && bun build --compile ./dist/cli.js --outfile dist/pi && npm run copy-binary-assets",
|
||||||
"copy-assets": "cp src/theme/*.json dist/theme/",
|
"copy-assets": "mkdir -p dist/modes/interactive/theme && cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/",
|
||||||
"copy-binary-assets": "cp package.json dist/ && cp README.md dist/ && cp CHANGELOG.md dist/",
|
"copy-binary-assets": "cp package.json dist/ && cp README.md dist/ && cp CHANGELOG.md dist/ && mkdir -p dist/theme && cp src/modes/interactive/theme/*.json dist/theme/",
|
||||||
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
||||||
"check": "tsgo --noEmit",
|
"check": "tsgo --noEmit",
|
||||||
"test": "vitest --run",
|
"test": "vitest --run",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue