@mastra/opencode 0.1.39-alpha.3 → 0.1.39-alpha.5
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/dist/index.cjs +1 -2
- package/dist/index.js +1 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ let path = require("path");
|
|
|
4
4
|
let _mastra_libsql = require("@mastra/libsql");
|
|
5
5
|
let _mastra_memory_processors = require("@mastra/memory/processors");
|
|
6
6
|
let _opencode_ai_plugin = require("@opencode-ai/plugin");
|
|
7
|
-
|
|
7
|
+
// src/index.ts
|
|
8
8
|
/**
|
|
9
9
|
* @mastra/opencode
|
|
10
10
|
*
|
|
@@ -281,7 +281,6 @@ const MastraPlugin = async (ctx) => {
|
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
};
|
|
284
|
-
//#endregion
|
|
285
284
|
exports.MastraPlugin = MastraPlugin;
|
|
286
285
|
|
|
287
286
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { dirname, join } from "path";
|
|
|
3
3
|
import { LibSQLStore } from "@mastra/libsql";
|
|
4
4
|
import { OBSERVATION_CONTEXT_INSTRUCTIONS, OBSERVATION_CONTINUATION_HINT, ObservationalMemory, TokenCounter, getObservationContextPrompt, optimizeObservationsForContext } from "@mastra/memory/processors";
|
|
5
5
|
import { tool } from "@opencode-ai/plugin";
|
|
6
|
-
|
|
6
|
+
// src/index.ts
|
|
7
7
|
/**
|
|
8
8
|
* @mastra/opencode
|
|
9
9
|
*
|
|
@@ -280,7 +280,6 @@ const MastraPlugin = async (ctx) => {
|
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
282
|
};
|
|
283
|
-
//#endregion
|
|
284
283
|
export { MastraPlugin };
|
|
285
284
|
|
|
286
285
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/opencode",
|
|
3
|
-
"version": "0.1.39-alpha.
|
|
3
|
+
"version": "0.1.39-alpha.5",
|
|
4
4
|
"description": "OpenCode plugin for Mastra Observational Memory",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"node": ">=22.13.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@mastra/core": "1.80.0-alpha.
|
|
45
|
-
"@mastra/
|
|
46
|
-
"@mastra/
|
|
44
|
+
"@mastra/core": "1.80.0-alpha.5",
|
|
45
|
+
"@mastra/memory": "1.39.1-alpha.3",
|
|
46
|
+
"@mastra/libsql": "1.27.1-alpha.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@opencode-ai/plugin": "*"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@opencode-ai/plugin": "1.14.48",
|
|
53
|
-
"@opencode-ai/sdk": "^1.19.
|
|
53
|
+
"@opencode-ai/sdk": "^1.19.4",
|
|
54
54
|
"tsdown": "0.23.1",
|
|
55
55
|
"typescript": "^7.0.2",
|
|
56
56
|
"vitest": "4.1.12",
|