vibe-learning-opencode 0.2.5 → 0.2.7

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/dist/index.js +1 -1
  2. package/package.json +5 -3
package/dist/index.js CHANGED
@@ -191,7 +191,7 @@ function parseLearnCommand(text) {
191
191
  return "focus";
192
192
  return null;
193
193
  }
194
- var VibeLearningPlugin = (ctx) => {
194
+ var VibeLearningPlugin = async (ctx) => {
195
195
  const { client } = ctx;
196
196
  client.app.log({
197
197
  level: "info",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-learning-opencode",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "VibeLearning plugin for OpenCode - spaced repetition learning while coding",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,7 @@
13
13
  "dist"
14
14
  ],
15
15
  "scripts": {
16
- "build": "esbuild src/index.ts --bundle --platform=node --format=esm --outfile=dist/index.js --external:@opencode-ai/plugin",
16
+ "build": "esbuild src/index.ts --bundle --platform=node --format=esm --outfile=dist/index.js --external:@opencode-ai/plugin --external:@opencode-ai/sdk",
17
17
  "prepublishOnly": "npm run build"
18
18
  },
19
19
  "keywords": [
@@ -32,10 +32,12 @@
32
32
  "directory": "packages/opencode-plugin"
33
33
  },
34
34
  "peerDependencies": {
35
- "@opencode-ai/plugin": "*"
35
+ "@opencode-ai/plugin": "*",
36
+ "@opencode-ai/sdk": "*"
36
37
  },
37
38
  "devDependencies": {
38
39
  "@opencode-ai/plugin": "^1.1.4",
40
+ "@opencode-ai/sdk": "^1.0.0",
39
41
  "esbuild": "^0.20.0",
40
42
  "typescript": "^5.0.0"
41
43
  }