mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2026-11-24 23:39:41 +08:00
feat: add maintained Skill and MCP integration [skip ci]
This commit is contained in:
1 parent
9636fd5dfd
commit
6498f8ad0f
3 files changed
+7
-2
No files matched your search
+1
-1
@@ -6,6 +6,6 @@
|
||||
"agent/profile.json": "c0051a351c446d4135642cda3af37d302bc83b9c74ddfafc1dc68545e41249d6",
|
||||
"skills/oneclickvirt-backtrace/SKILL.md": "6627224a6ddd3637291d3cb03793ae29fe798561d38462674baa075940738213",
|
||||
"skills/oneclickvirt-backtrace/SKILL_ZH.md": "88e3e6d9561f17c53e1b7af0d601c9c7878341a8c4f54256b56da92087c15472",
|
||||
"agent/server.py": "d01416e6194095d90bf0d49ea29f7122969f0b74cf4d74ed0b1ce78753423a7d"
|
||||
"agent/server.py": "c54981973f8d98e6eada6e0442f3d7e5c9296947706c2c5d33b80b7f9a1c9b5b"
|
||||
}
|
||||
}
|
||||
+4
-1
@@ -333,11 +333,14 @@ def serve(adapter, input_stream=sys.stdin, output_stream=sys.stdout):
|
||||
reply["error"] = {"code": -32601, "message": "Method not found"}
|
||||
except (ValueError, TypeError) as exc:
|
||||
reply["error"] = {"code": -32602, "message": str(exc)}
|
||||
output_stream.write(json.dumps(reply, ensure_ascii=False) + "\n")
|
||||
output_stream.write(json.dumps(reply, ensure_ascii=True) + "\n")
|
||||
output_stream.flush()
|
||||
|
||||
|
||||
def main():
|
||||
for stream in (sys.stdin, sys.stdout):
|
||||
if hasattr(stream, "reconfigure"):
|
||||
stream.reconfigure(encoding="utf-8")
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument("--profile", type=Path, default=Path(__file__).with_name("profile.json"))
|
||||
parser.add_argument("--version", action="version", version=VERSION)
|
||||
|
||||
Reference in new issue
Block a user