MCPcopy Index your code
hub / github.com/droyo/styx

github.com/droyo/styx @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
717 symbols 2,138 edges 65 files 274 documented · 38%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Msg (Interface)
A Msg is a 9P message. 9P messages are sent by clients (T-messages) and servers (R-messages). [3 implementers]
styxproto/proto.go
Logger (Interface)
Types implementing the Logger interface can receive diagnostic information during a Server's operation. The Logger inter [1 …
server.go
Directory (Interface)
In the 9P protocol, a directory is simply a file that returns zero or more styxproto.Stat structures when read. Types th [1 …
file.go
Directory (Interface)
Types implementing the Directory interface can be made into 9P files by the NewDir function. This provides an easy way, [1 …
internal/styxfile/dir.go
AuthFunc (FuncType)
An AuthFunc is used to authenticate a user to a 9P server. The authentication protocol itself is tunnelled over 9P via r
auth.go
Request (Interface)
A Request is a request by a client to perform an operation on a file or set of files. Types of requests may range from c
request.go
TLSAuthFunc (FuncType)
A TLSAuthFunc is called when validating an attach request based on the underlying TLS connection.
styxauth/tls.go
Func (FuncType)
A Func can be used to access 9P messages as they pass through a styxproto.Encoder or a styxproto.Decoder. Messages are n
internal/tracing/trace.go

Core symbols most depended-on inside this repo

Tag
called by 111
styxproto/proto.go
Error
called by 43
styxproto/errors.go
Rerror
called by 35
request.go
Len
called by 35
styxproto/proto.go
clearTag
called by 32
conn.go
nbytes
called by 28
styxproto/proto.go
Flush
called by 27
styxproto/encoder.go
pheader
called by 27
styxproto/pack.go

Shape

Method 467
Function 137
Struct 49
TypeAlias 34
Interface 25
FuncType 5

Languages

Go100%

Modules by API surface

styxproto/proto.go229 symbols
server_test.go56 symbols
styxproto/parse.go34 symbols
styxproto/encoder.go31 symbols
request.go30 symbols
internal/styxfile/file.go28 symbols
wstat.go25 symbols
styxproto/stat.go22 symbols
session.go20 symbols
conn.go19 symbols
styxproto/decoder.go17 symbols
internal/pool/pool.go15 symbols

For agents

$ claude mcp add styx \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact