@superbfowle/bash-history-mcp-test 0.1.6 → 0.1.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 (3) hide show
  1. package/opencode.ts +10 -10
  2. package/package.json +20 -20
  3. package/server.ts +0 -0
package/opencode.ts CHANGED
@@ -1,31 +1,31 @@
1
1
  import type { Plugin } from "@odebugpencode-ai/plugin";
2
2
 
3
3
  export const OpencodeBashHistoryPlugin: Plugin = async ({ client }) => {
4
- console.log("BASH HISTORY zero-a");
4
+ console.log("atuin load zero-a");
5
5
  await client.app.log({
6
- service: "bash-history",
6
+ service: "atuin-history",
7
7
  level: "info",
8
- message: "Bash-history load",
8
+ message: "atuin history load",
9
9
  extra: { input, output },
10
10
  });
11
- console.log("BASH HISTORY zero-b");
11
+ console.log("atuin load zero-b");
12
12
 
13
13
  return {
14
14
  "tool.execute.after": async (input, output) => {
15
- console.log("BASH HISTORY run-a");
15
+ console.log("atuin history run-a");
16
16
  await client.app.log({
17
- service: "bash-history",
17
+ service: "atuin-history",
18
18
  level: "info",
19
- message: "Bash-history debug",
19
+ message: "atuin-history run",
20
20
  extra: { input, output },
21
21
  });
22
- console.log("BASH HISTORY run-b");
23
- console.log("BASH HISTORY", input, output);
22
+ console.log("atuin history run-b");
23
+ console.log("atuin history", input, output);
24
24
 
25
25
  if (input.tool !== "bash") {
26
26
  return;
27
27
  }
28
- console.log("BASH HISTORY run-c");
28
+ console.log("atuin history run-c");
29
29
 
30
30
  try {
31
31
  const command = output.metadata?.args?.command;
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
- "name": "@superbfowle/bash-history-mcp-test",
3
- "version": "0.1.6",
4
- "module": "index.ts",
5
- "type": "module",
6
- "bin": "./cli.ts",
7
- "devDependencies": {
8
- "@types/bun": "latest"
9
- },
10
- "peerDependencies": {
11
- "typescript": "^5",
12
- "@opencode-ai/plugin": "*"
13
- },
14
- "dependencies": {
15
- "@modelcontextprotocol/sdk": "^1.19.1"
16
- },
17
- "exports": {
18
- ".": "./index.ts",
19
- "./opencode-plugin": "./opencode.ts"
20
- }
21
- }
2
+ "name": "@superbfowle/bash-history-mcp-test",
3
+ "version": "0.1.7",
4
+ "module": "index.ts",
5
+ "type": "module",
6
+ "bin": "./cli.ts",
7
+ "devDependencies": {
8
+ "@types/bun": "latest"
9
+ },
10
+ "peerDependencies": {
11
+ "typescript": "^5",
12
+ "@opencode-ai/plugin": "*"
13
+ },
14
+ "dependencies": {
15
+ "@modelcontextprotocol/sdk": "^1.19.1"
16
+ },
17
+ "exports": {
18
+ ".": "./index.ts",
19
+ "./opencode-plugin": "./opencode.ts"
20
+ }
21
+ }
package/server.ts CHANGED
File without changes