@cortexkit/opencode-magic-context 0.2.2 → 0.2.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexkit/opencode-magic-context",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "description": "OpenCode plugin for Magic Context — cross-session memory and context management",
6
6
  "main": "dist/index.js",
@@ -41,6 +41,7 @@
41
41
  "prepublishOnly": "bun run build"
42
42
  },
43
43
  "dependencies": {
44
+ "@clack/prompts": "^1.1.0",
44
45
  "@huggingface/transformers": "^3.5.1",
45
46
  "@opencode-ai/plugin": "^1.2.26",
46
47
  "ai-tokenizer": "^1.0.6",
@@ -16,11 +16,11 @@ main() {
16
16
  if command -v bun &>/dev/null; then
17
17
  echo " → Using bun"
18
18
  echo ""
19
- bunx "$PACKAGE" setup
19
+ bunx "$PACKAGE" setup </dev/tty
20
20
  elif command -v npx &>/dev/null; then
21
21
  echo " → Using npx"
22
22
  echo ""
23
- npx -y "$PACKAGE" setup
23
+ npx -y "$PACKAGE" setup </dev/tty
24
24
  else
25
25
  echo " ✗ Neither bun nor npx found."
26
26
  echo ""