Skip to content

Commit 41ace41

Browse files
authored
Merge pull request #16 from thinkgrid-labs/dev
fix: worker failed
2 parents 31ed8bc + 4d478b6 commit 41ace41

10 files changed

Lines changed: 12 additions & 17 deletions

File tree

apps/local-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@diffmind/cli",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "diffmind CLI — local-first AI code review for your git diffs",
55
"author": "Thinkgrid Labs <hello@thinkgrid.com>",
66
"license": "MIT",

apps/local-cli/src/formatters.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ export function formatJson(report: ReviewReport): string {
4141
}
4242

4343
export function printBanner(): void {
44-
console.log(chalk.cyan.bold("\n diffmind") + chalk.dim(" v0.4.5 — local-first AI code review"));
45-
console.log(chalk.dim(" Model: Qwen2.5-Coder-1.5B-Instruct | Inference: Dual-Engine (Native + Wasm)\n"));
44+
console.log(chalk.cyan.bold("\n diffmind") + chalk.dim(" v0.4.6 — local-first AI code review"));
45+
console.log(chalk.dim(" Inference: Dual-Engine (Native + Wasm)\n"));
4646
}

apps/local-cli/src/index.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const opts: {
144144
program
145145
.name("diffmind")
146146
.description("Local-first AI code review for your git diffs")
147-
.version("0.4.5")
147+
.version("0.4.6")
148148
.argument("[files...]", "Specific files or directories to review (optional)")
149149
.option("-b, --branch <name>", "Target branch to diff against", "main")
150150
.option("-f, --format <type>", 'Output format: "markdown" or "json"', "markdown")
@@ -335,12 +335,7 @@ function runAnalysisInWorker(
335335

336336
const worker = new Worker(workerPath, {
337337
workerData,
338-
// --expose-gc allows the Wasm path to release the model Buffer after
339-
// it has been copied into Wasm linear memory, halving peak memory usage.
340-
execArgv: [
341-
...(isTsNode ? ["-r", "ts-node/register"] : []),
342-
"--expose-gc",
343-
],
338+
execArgv: isTsNode ? ["-r", "ts-node/register"] : [],
344339
});
345340

346341
let settled = false;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "diffmind",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"private": true,
55
"description": "Local-first AI code review agent — powered by on-device Wasm inference",
66
"author": "Thinkgrid Labs <dennis@thinkgrid.dev>",

packages/core-engine/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "core-engine"
3-
version = "0.4.5"
3+
version = "0.4.6"
44
edition = "2021"
55
description = "diffmind shared AI engine core"
66

packages/core-native/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "core-native"
3-
version = "0.4.5"
3+
version = "0.4.6"
44
edition = "2021"
55

66
[lib]

packages/core-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@diffmind/core-native",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "Native Node.js addon for diffmind AI engine",
55
"main": "index.js",
66
"types": "index.d.ts",

packages/core-wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "core-wasm"
3-
version = "0.4.5"
3+
version = "0.4.6"
44
edition = "2021"
55
description = "diffmind Wasm core — on-device security analysis via Qwen2.5-Coder"
66

packages/core-wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@diffmind/core-wasm",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "diffmind Wasm core — compiled from Rust via wasm-pack",
55
"license": "MIT",
66
"author": "Thinkgrid Labs <hello@thinkgrid.com>",

packages/shared-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@diffmind/shared-types",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "Shared TypeScript types for diffmind review findings",
55
"license": "MIT",
66
"author": "Thinkgrid Labs <hello@thinkgrid.com>",

0 commit comments

Comments
 (0)