@tinfoilsh/tinfoil-terminal 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/script/build.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"name": "@tinfoilsh/tinfoil-terminal",
|
|
5
5
|
"description": "Tinfoil Terminal - Secure, encrypted access to AI models via opencode",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"deploy": "echo 'Deploying application...' && bun run build && echo 'Deployment completed successfully'"
|
|
34
34
|
},
|
|
35
35
|
"bin": {
|
|
36
|
-
"tinfoil": "./bin/opencode"
|
|
36
|
+
"tinfoil-terminal": "./bin/opencode"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
39
|
"@tinfoilsh/tinfoil-terminal-darwin-arm64": "0.1.0",
|
|
@@ -81,7 +81,6 @@
|
|
|
81
81
|
"@ai-sdk/openai-compatible": "1.0.29",
|
|
82
82
|
"@ai-sdk/provider": "2.0.0",
|
|
83
83
|
"@ai-sdk/provider-utils": "3.0.19",
|
|
84
|
-
"tinfoil": "0.12.0",
|
|
85
84
|
"@clack/prompts": "1.0.0-alpha.1",
|
|
86
85
|
"@hono/standard-validator": "0.1.5",
|
|
87
86
|
"@hono/zod-validator": "catalog:",
|
|
@@ -121,6 +120,7 @@
|
|
|
121
120
|
"remeda": "catalog:",
|
|
122
121
|
"solid-js": "catalog:",
|
|
123
122
|
"strip-ansi": "7.1.2",
|
|
123
|
+
"tinfoil": "0.12.0",
|
|
124
124
|
"tree-sitter-bash": "0.25.0",
|
|
125
125
|
"turndown": "7.2.0",
|
|
126
126
|
"ulid": "catalog:",
|
package/script/build.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
|
|
3
3
|
// @ts-ignore - module exists at runtime after bun install
|
|
4
|
-
import solidPlugin from "
|
|
4
|
+
import solidPlugin from "@opentui/solid/bun-plugin"
|
|
5
5
|
import path from "path"
|
|
6
6
|
import fs from "fs"
|
|
7
7
|
import { $ } from "bun"
|
|
@@ -121,7 +121,8 @@ for (const item of targets) {
|
|
|
121
121
|
console.log(`building ${name}`)
|
|
122
122
|
await $`mkdir -p dist/${dirName}/bin`
|
|
123
123
|
|
|
124
|
-
const
|
|
124
|
+
const openttuiCorePath = path.dirname(require.resolve("@opentui/core"))
|
|
125
|
+
const parserWorker = fs.realpathSync(path.join(openttuiCorePath, "parser.worker.js"))
|
|
125
126
|
const workerPath = "./src/cli/cmd/tui/worker.ts"
|
|
126
127
|
|
|
127
128
|
// Use platform-specific bunfs root path based on target OS
|