myai-tools 0.1.0 → 0.1.2
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.d.ts +1 -4
- package/dist/index.js +2 -11
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
import type { Plugin } from '@opencode-ai/plugin';
|
|
2
|
-
|
|
3
|
-
declare const OhMyOpenCodeTools: Plugin;
|
|
4
|
-
export default OhMyOpenCodeTools;
|
|
5
|
-
export { ast_grep_replace, ast_grep_search, grep, lsp_diagnostics, lsp_find_references, lsp_goto_definition, lsp_rename, };
|
|
2
|
+
export declare const MayAITools: Plugin;
|
package/dist/index.js
CHANGED
|
@@ -17438,7 +17438,7 @@ var lsp_rename = tool({
|
|
|
17438
17438
|
}
|
|
17439
17439
|
});
|
|
17440
17440
|
// src/index.ts
|
|
17441
|
-
var
|
|
17441
|
+
var MayAITools = async (ctx) => {
|
|
17442
17442
|
return {
|
|
17443
17443
|
name: "myai-tools",
|
|
17444
17444
|
tool: {
|
|
@@ -17447,19 +17447,10 @@ var OhMyOpenCodeTools = async () => {
|
|
|
17447
17447
|
ast_grep_replace,
|
|
17448
17448
|
lsp_goto_definition,
|
|
17449
17449
|
lsp_find_references,
|
|
17450
|
-
lsp_diagnostics,
|
|
17451
17450
|
lsp_rename
|
|
17452
17451
|
}
|
|
17453
17452
|
};
|
|
17454
17453
|
};
|
|
17455
|
-
var src_default = OhMyOpenCodeTools;
|
|
17456
17454
|
export {
|
|
17457
|
-
|
|
17458
|
-
lsp_goto_definition,
|
|
17459
|
-
lsp_find_references,
|
|
17460
|
-
lsp_diagnostics,
|
|
17461
|
-
grep,
|
|
17462
|
-
src_default as default,
|
|
17463
|
-
ast_grep_search,
|
|
17464
|
-
ast_grep_replace
|
|
17455
|
+
MayAITools
|
|
17465
17456
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myai-tools",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Standalone OpenCode plugin with grep, ast-grep, and LSP tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,8 +40,7 @@
|
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "bun build src/index.ts --outdir dist --target bun --format esm && tsc --emitDeclarationOnly",
|
|
42
42
|
"typecheck": "tsc --noEmit",
|
|
43
|
-
"
|
|
44
|
-
"prepublishOnly": "bun run typecheck && bun run test && bun run build",
|
|
43
|
+
"prepublishOnly": "bun run typecheck && bun run build",
|
|
45
44
|
"pack:dry-run": "npm pack --dry-run"
|
|
46
45
|
},
|
|
47
46
|
"dependencies": {
|