@tinfoilsh/tinfoil-terminal 0.1.0 → 0.1.2

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.
Files changed (2) hide show
  1. package/package.json +19 -24
  2. 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.0",
3
+ "version": "0.1.2",
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",
@@ -54,7 +54,6 @@
54
54
  "devDependencies": {
55
55
  "@babel/core": "7.28.4",
56
56
  "@octokit/webhooks-types": "7.6.1",
57
- "@opencode-ai/script": "workspace:*",
58
57
  "@parcel/watcher-darwin-arm64": "2.5.1",
59
58
  "@parcel/watcher-darwin-x64": "2.5.1",
60
59
  "@parcel/watcher-linux-arm64-glibc": "2.5.1",
@@ -63,13 +62,13 @@
63
62
  "@parcel/watcher-linux-x64-musl": "2.5.1",
64
63
  "@parcel/watcher-win32-x64": "2.5.1",
65
64
  "@standard-schema/spec": "1.0.0",
66
- "@tsconfig/bun": "catalog:",
65
+ "@tsconfig/bun": "1.0.9",
67
66
  "@types/babel__core": "7.20.5",
68
- "@types/bun": "catalog:",
67
+ "@types/bun": "1.3.4",
69
68
  "@types/turndown": "5.0.5",
70
69
  "@types/yargs": "17.0.33",
71
- "@typescript/native-preview": "catalog:",
72
- "typescript": "catalog:",
70
+ "@typescript/native-preview": "7.0.0-dev.20251207.1",
71
+ "typescript": "5.8.2",
73
72
  "vscode-languageserver-types": "3.17.5",
74
73
  "why-is-node-running": "3.2.2",
75
74
  "zod-to-json-schema": "3.24.5"
@@ -81,54 +80,50 @@
81
80
  "@ai-sdk/openai-compatible": "1.0.29",
82
81
  "@ai-sdk/provider": "2.0.0",
83
82
  "@ai-sdk/provider-utils": "3.0.19",
84
- "tinfoil": "0.12.0",
85
83
  "@clack/prompts": "1.0.0-alpha.1",
86
84
  "@hono/standard-validator": "0.1.5",
87
- "@hono/zod-validator": "catalog:",
85
+ "@hono/zod-validator": "0.4.2",
88
86
  "@modelcontextprotocol/sdk": "1.25.2",
89
87
  "@octokit/graphql": "9.0.2",
90
- "@octokit/rest": "catalog:",
91
- "@openauthjs/openauth": "catalog:",
92
- "@opencode-ai/plugin": "workspace:*",
93
- "@opencode-ai/script": "workspace:*",
94
- "@opencode-ai/sdk": "workspace:*",
95
- "@opencode-ai/util": "workspace:*",
88
+ "@octokit/rest": "22.0.0",
89
+ "@openauthjs/openauth": "0.0.0-20250322224806",
96
90
  "@opentui/core": "0.1.72",
97
91
  "@opentui/solid": "0.1.72",
98
92
  "@parcel/watcher": "2.5.1",
99
- "@pierre/diffs": "catalog:",
93
+ "@pierre/diffs": "1.0.2",
100
94
  "@solid-primitives/event-bus": "1.1.2",
101
95
  "@solid-primitives/scheduled": "1.5.2",
102
96
  "@standard-schema/spec": "1.0.0",
103
97
  "@zip.js/zip.js": "2.7.62",
104
- "ai": "catalog:",
98
+ "ai": "5.0.97",
105
99
  "bonjour-service": "1.3.0",
106
100
  "bun-pty": "0.4.4",
107
101
  "chokidar": "4.0.3",
108
102
  "clipboardy": "4.0.0",
109
103
  "decimal.js": "10.5.0",
110
- "diff": "catalog:",
104
+ "diff": "8.0.2",
111
105
  "fuzzysort": "3.1.0",
112
106
  "gray-matter": "4.0.3",
113
- "hono": "catalog:",
114
- "hono-openapi": "catalog:",
107
+ "hono": "4.10.7",
108
+ "hono-openapi": "1.1.2",
115
109
  "ignore": "7.0.5",
116
110
  "jsonc-parser": "3.3.1",
117
111
  "minimatch": "10.0.3",
118
112
  "open": "10.1.2",
119
113
  "opentui-spinner": "0.0.6",
120
114
  "partial-json": "0.1.7",
121
- "remeda": "catalog:",
122
- "solid-js": "catalog:",
115
+ "remeda": "2.26.0",
116
+ "solid-js": "1.9.10",
123
117
  "strip-ansi": "7.1.2",
118
+ "tinfoil": "0.12.0",
124
119
  "tree-sitter-bash": "0.25.0",
125
120
  "turndown": "7.2.0",
126
- "ulid": "catalog:",
121
+ "ulid": "3.0.1",
127
122
  "vscode-jsonrpc": "8.2.1",
128
123
  "web-tree-sitter": "0.25.10",
129
124
  "xdg-basedir": "5.1.0",
130
125
  "yargs": "18.0.0",
131
- "zod": "catalog:",
126
+ "zod": "4.1.8",
132
127
  "zod-to-json-schema": "3.24.5"
133
128
  }
134
129
  }
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 "../node_modules/@opentui/solid/scripts/solid-plugin"
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 parserWorker = fs.realpathSync(path.resolve(dir, "./node_modules/@opentui/core/parser.worker.js"))
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