Skip to content

Commit d6e96ea

Browse files
chore(deps): refresh dependencies + resolve security alerts (batch 1)
Safe in-range/compatible bumps, verified across all packages: - Pi SDK: @earendil-works/pi-coding-agent + pi-tui 0.74 -> ^0.80.2 (dev+peer). Resolves all 4 pi-coding-agent Dependabot alerts (1 HIGH, 1 MED, 2 LOW). Pi uses only type-only imports from it; tsc 0, Pi suite 519/0. - OpenCode SDK: @opencode-ai/plugin + sdk 1.15.13 -> ^1.17.11 (matches the OpenCode 1.17.x we already run against). plugin suite 2618/0. - comment-json 4 -> ^5.0.0 (all 4 packages). Non-breaking for our usage (parse/stringify/assign unchanged); all 57 config-migration comment-preservation tests pass. - @clack/prompts ^1.6.0, typebox ^1.3.1, @tauri-apps/api ^2.11.1, @tauri-apps/cli ^2.11.3, vite ^6.4.3, wrangler ^4.105.0, @types/node ^22.20.0, @biomejs/biome 2.4.14 -> ^2.5.1 (formatting reconciled). - rand 0.8.5 -> 0.8.6 (dashboard Rust, resolves the LOW alert). A transitive rand 0.7.3 remains via tauri-build's build-deps (not runtime), gated by Tauri. Gate: plugin 2618/0, Pi 519/0, CLI 207/0, dashboard 33 Rust + frontend build, all tsc + biome 2.5.1 clean. Co-authored-by: Alfonso [Magic Context] <288211368+alfonso-magic-context@users.noreply.github.com>
1 parent 6116078 commit d6e96ea

7 files changed

Lines changed: 415 additions & 575 deletions

File tree

‎bun.lock‎

Lines changed: 265 additions & 425 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/cli/package.json‎

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
11
{
2-
"name": "@cortexkit/magic-context",
3-
"version": "0.29.1",
4-
"description": "Unified CLI for Magic Context — setup, doctor, and migration across OpenCode and Pi",
5-
"keywords": [
6-
"opencode",
7-
"opencode-plugin",
8-
"pi",
9-
"pi-extension",
10-
"magic-context",
11-
"cli",
12-
"setup",
13-
"doctor"
14-
],
15-
"author": "Cortexkit",
16-
"license": "MIT",
17-
"repository": {
18-
"type": "git",
19-
"url": "https://github.com/cortexkit/magic-context"
20-
},
21-
"homepage": "https://github.com/cortexkit/magic-context#readme",
22-
"bugs": {
23-
"url": "https://github.com/cortexkit/magic-context/issues"
24-
},
25-
"type": "module",
26-
"bin": {
27-
"magic-context": "dist/index.js"
28-
},
29-
"files": [
30-
"dist",
31-
"README.md"
32-
],
33-
"scripts": {
34-
"build": "bun build src/index.ts --outfile dist/index.js --target node --format esm --external node:sqlite",
35-
"typecheck": "tsc --noEmit",
36-
"test": "bun test",
37-
"lint": "biome check src",
38-
"format": "biome format --write src",
39-
"format:check": "biome format src",
40-
"prepublishOnly": "bun run build"
41-
},
42-
"dependencies": {
43-
"@clack/prompts": "^1.1.0",
44-
"comment-json": "^4.2.5"
45-
},
46-
"devDependencies": {
47-
"@biomejs/biome": "^2.4.7",
48-
"@types/better-sqlite3": "^7.6.13",
49-
"@types/node": "^22.0.0",
50-
"typescript": "^5.8.0"
51-
},
52-
"engines": {
53-
"node": ">=24.0.0"
54-
}
2+
"name": "@cortexkit/magic-context",
3+
"version": "0.29.1",
4+
"description": "Unified CLI for Magic Context — setup, doctor, and migration across OpenCode and Pi",
5+
"keywords": [
6+
"opencode",
7+
"opencode-plugin",
8+
"pi",
9+
"pi-extension",
10+
"magic-context",
11+
"cli",
12+
"setup",
13+
"doctor"
14+
],
15+
"author": "Cortexkit",
16+
"license": "MIT",
17+
"repository": {
18+
"type": "git",
19+
"url": "https://github.com/cortexkit/magic-context"
20+
},
21+
"homepage": "https://github.com/cortexkit/magic-context#readme",
22+
"bugs": {
23+
"url": "https://github.com/cortexkit/magic-context/issues"
24+
},
25+
"type": "module",
26+
"bin": {
27+
"magic-context": "dist/index.js"
28+
},
29+
"files": [
30+
"dist",
31+
"README.md"
32+
],
33+
"scripts": {
34+
"build": "bun build src/index.ts --outfile dist/index.js --target node --format esm --external node:sqlite",
35+
"typecheck": "tsc --noEmit",
36+
"test": "bun test",
37+
"lint": "biome check src",
38+
"format": "biome format --write src",
39+
"format:check": "biome format src",
40+
"prepublishOnly": "bun run build"
41+
},
42+
"dependencies": {
43+
"@clack/prompts": "^1.6.0",
44+
"comment-json": "^5.0.0"
45+
},
46+
"devDependencies": {
47+
"@biomejs/biome": "^2.5.1",
48+
"@types/better-sqlite3": "^7.6.13",
49+
"@types/node": "^22.20.0",
50+
"typescript": "^5.8.0"
51+
},
52+
"engines": {
53+
"node": ">=24.0.0"
54+
}
5555
}

‎packages/dashboard/package.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616
"test": "bun test src"
1717
},
1818
"dependencies": {
19-
"@tauri-apps/api": "^2.5.0",
19+
"@tauri-apps/api": "^2.11.1",
2020
"@tauri-apps/plugin-dialog": "^2.6.0",
2121
"@tauri-apps/plugin-process": "^2.3.1",
2222
"@tauri-apps/plugin-shell": "^2.2.2",
2323
"@tauri-apps/plugin-updater": "^2.10.0",
24-
"comment-json": "^4.2.5",
24+
"comment-json": "^5.0.0",
2525
"solid-js": "^1.9.5"
2626
},
2727
"devDependencies": {
28-
"@biomejs/biome": "^2.4.7",
29-
"@tauri-apps/cli": "^2.5.0",
28+
"@biomejs/biome": "^2.5.1",
29+
"@tauri-apps/cli": "^2.11.3",
3030
"typescript": "^5.8.0",
31-
"vite": "^6.3.0",
31+
"vite": "^6.4.3",
3232
"vite-plugin-solid": "^2.11.0"
3333
}
3434
}

‎packages/dashboard/src-tauri/Cargo.lock‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/docs/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
},
2121
"private": true,
2222
"devDependencies": {
23-
"wrangler": "^4.98.0"
23+
"wrangler": "^4.105.0"
2424
}
25-
}
25+
}

‎packages/pi-plugin/package.json‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,23 @@
4040
"@huggingface/transformers": "^4.1.0",
4141
"@jitl/quickjs-singlefile-cjs-release-asyncify": "0.32.0",
4242
"ai-tokenizer": "^1.0.6",
43-
"comment-json": "^4.2.5",
43+
"comment-json": "^5.0.0",
4444
"quickjs-emscripten": "^0.32.0",
45-
"typebox": "^1.1.24",
45+
"typebox": "^1.3.1",
4646
"zod": "^4.1.8"
4747
},
4848
"devDependencies": {
49-
"@biomejs/biome": "^2.4.7",
50-
"@earendil-works/pi-coding-agent": "^0.74.0",
51-
"@earendil-works/pi-tui": "^0.74.0",
49+
"@biomejs/biome": "^2.5.1",
50+
"@earendil-works/pi-coding-agent": "^0.80.2",
51+
"@earendil-works/pi-tui": "^0.80.2",
5252
"@types/better-sqlite3": "^7.6.13",
5353
"@types/bun": "^1.3.10",
54-
"@types/node": "^22.0.0",
54+
"@types/node": "^22.20.0",
5555
"typescript": "^5.8.0"
5656
},
5757
"peerDependencies": {
58-
"@earendil-works/pi-coding-agent": "^0.74.0",
59-
"@earendil-works/pi-tui": "^0.74.0"
58+
"@earendil-works/pi-coding-agent": "^0.80.2",
59+
"@earendil-works/pi-tui": "^0.80.2"
6060
},
6161
"exports": {
6262
".": {

‎packages/plugin/package.json‎

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,80 @@
11
{
2-
"name": "@cortexkit/opencode-magic-context",
3-
"version": "0.29.1",
4-
"type": "module",
5-
"description": "OpenCode plugin for Magic Context — cross-session memory and context management",
6-
"main": "dist/index.js",
7-
"types": "dist/index.d.ts",
8-
"author": "ualtinok",
9-
"license": "MIT",
10-
"keywords": [
11-
"opencode",
12-
"plugin",
13-
"context",
14-
"memory",
15-
"ai",
16-
"llm",
17-
"prompt-caching",
18-
"session-history"
19-
],
20-
"repository": {
21-
"type": "git",
22-
"url": "https://github.com/cortexkit/magic-context",
23-
"directory": "packages/plugin"
24-
},
25-
"files": [
26-
"dist",
27-
"src/tui",
28-
"src/shared",
29-
"README.md"
30-
],
31-
"scripts": {
32-
"build": "bun build src/index.ts --outdir dist --target node --format esm --external @opencode-ai/plugin --external @huggingface/transformers --external onnxruntime-web --external bun:sqlite --external node:sqlite && tsc --emitDeclarationOnly",
33-
"typecheck": "tsc --noEmit && tsc -p tsconfig.scripts.json",
34-
"test": "bun test",
35-
"lint": "biome check .",
36-
"lint:fix": "biome check --write .",
37-
"format": "biome format --write .",
38-
"format:check": "biome format .",
39-
"clean": "rm -rf dist",
40-
"prepublishOnly": "bun run build"
41-
},
42-
"dependencies": {
43-
"@huggingface/transformers": "^4.1.0",
44-
"@jitl/quickjs-singlefile-cjs-release-asyncify": "0.32.0",
45-
"@opencode-ai/plugin": "^1.15.13",
46-
"@opencode-ai/sdk": "^1.15.13",
47-
"@opentui/core": "^0.4.2",
48-
"@opentui/solid": "^0.4.2",
49-
"ai-tokenizer": "^1.0.6",
50-
"comment-json": "^4.2.5",
51-
"quickjs-emscripten": "^0.32.0",
52-
"solid-js": "1.9.12",
53-
"zod": "^4.1.8"
54-
},
55-
"devDependencies": {
56-
"@biomejs/biome": "^2.4.7",
57-
"@types/better-sqlite3": "^7.6.13",
58-
"@types/bun": "^1.3.10",
59-
"@types/node": "^22.0.0",
60-
"bun-types": "^1.3.10",
61-
"typescript": "^5.8.0"
62-
},
63-
"exports": {
64-
".": {
65-
"types": "./dist/index.d.ts",
66-
"import": "./dist/index.js"
67-
},
68-
"./tui": {
69-
"types": "./src/tui/index.tsx",
70-
"import": "./src/tui/index.tsx"
71-
}
72-
},
73-
"oc-plugin": [
74-
"server",
75-
"tui"
76-
],
77-
"peerDependencies": {
78-
"@opencode-ai/plugin": ">=1.15.0"
79-
}
2+
"name": "@cortexkit/opencode-magic-context",
3+
"version": "0.29.1",
4+
"type": "module",
5+
"description": "OpenCode plugin for Magic Context — cross-session memory and context management",
6+
"main": "dist/index.js",
7+
"types": "dist/index.d.ts",
8+
"author": "ualtinok",
9+
"license": "MIT",
10+
"keywords": [
11+
"opencode",
12+
"plugin",
13+
"context",
14+
"memory",
15+
"ai",
16+
"llm",
17+
"prompt-caching",
18+
"session-history"
19+
],
20+
"repository": {
21+
"type": "git",
22+
"url": "https://github.com/cortexkit/magic-context",
23+
"directory": "packages/plugin"
24+
},
25+
"files": [
26+
"dist",
27+
"src/tui",
28+
"src/shared",
29+
"README.md"
30+
],
31+
"scripts": {
32+
"build": "bun build src/index.ts --outdir dist --target node --format esm --external @opencode-ai/plugin --external @huggingface/transformers --external onnxruntime-web --external bun:sqlite --external node:sqlite && tsc --emitDeclarationOnly",
33+
"typecheck": "tsc --noEmit && tsc -p tsconfig.scripts.json",
34+
"test": "bun test",
35+
"lint": "biome check .",
36+
"lint:fix": "biome check --write .",
37+
"format": "biome format --write .",
38+
"format:check": "biome format .",
39+
"clean": "rm -rf dist",
40+
"prepublishOnly": "bun run build"
41+
},
42+
"dependencies": {
43+
"@huggingface/transformers": "^4.1.0",
44+
"@jitl/quickjs-singlefile-cjs-release-asyncify": "0.32.0",
45+
"@opencode-ai/plugin": "^1.17.11",
46+
"@opencode-ai/sdk": "^1.17.11",
47+
"@opentui/core": "^0.4.2",
48+
"@opentui/solid": "^0.4.2",
49+
"ai-tokenizer": "^1.0.6",
50+
"comment-json": "^5.0.0",
51+
"quickjs-emscripten": "^0.32.0",
52+
"solid-js": "1.9.12",
53+
"zod": "^4.1.8"
54+
},
55+
"devDependencies": {
56+
"@biomejs/biome": "^2.5.1",
57+
"@types/better-sqlite3": "^7.6.13",
58+
"@types/bun": "^1.3.10",
59+
"@types/node": "^22.20.0",
60+
"bun-types": "^1.3.10",
61+
"typescript": "^5.8.0"
62+
},
63+
"exports": {
64+
".": {
65+
"types": "./dist/index.d.ts",
66+
"import": "./dist/index.js"
67+
},
68+
"./tui": {
69+
"types": "./src/tui/index.tsx",
70+
"import": "./src/tui/index.tsx"
71+
}
72+
},
73+
"oc-plugin": [
74+
"server",
75+
"tui"
76+
],
77+
"peerDependencies": {
78+
"@opencode-ai/plugin": ">=1.15.0"
79+
}
8080
}

0 commit comments

Comments
 (0)