Directories
¶
| Path | Synopsis |
|---|---|
|
Package api is the client of the owner HTTP API of the mai server.
|
Package api is the client of the owner HTTP API of the mai server. |
|
Package bridge is "mai mcp": it gets a lease for an agent and bridges the MCP stdio of an app to POST /mcp of the server.
|
Package bridge is "mai mcp": it gets a lease for an agent and bridges the MCP stdio of an app to POST /mcp of the server. |
|
Package config reads and writes the configuration file of the CLI, config.json in the configuration folder.
|
Package config reads and writes the configuration file of the CLI, config.json in the configuration folder. |
|
Package connect writes the MCP entry and the hooks of mai in the user configuration files of an agent app, and removes exactly those entries again.
|
Package connect writes the MCP entry and the hooks of mai in the user configuration files of an agent app, and removes exactly those entries again. |
|
Package deps pins the modules that the packages of the CLI use, so that the go.mod of the module has one set of versions.
|
Package deps pins the modules that the packages of the CLI use, so that the go.mod of the module has one set of versions. |
|
Package engine finds and operates the container engine (Docker Desktop, Docker Engine, or Podman) through the Engine API.
|
Package engine finds and operates the container engine (Docker Desktop, Docker Engine, or Podman) through the Engine API. |
|
Package hook gives the output of "mai hook": the count of new mail of each session of the bridge of the app, in the hook format of the app.
|
Package hook gives the output of "mai hook": the count of new mail of each session of the bridge of the app, in the hook format of the app. |
|
Package keychain reads and deletes the legacy items of mai in the system keychain: the macOS Keychain, the Windows Credential Manager, or the Linux Secret Service.
|
Package keychain reads and deletes the legacy items of mai in the system keychain: the macOS Keychain, the Windows Credential Manager, or the Linux Secret Service. |
|
Package keys keeps the owner key and the agent keys of each instance in the key file of the CLI, keys.json in the state folder.
|
Package keys keeps the owner key and the agent keys of each instance in the key file of the CLI, keys.json in the state folder. |
|
Package manifest records each item that the CLI makes, so that mai uninstall can remove all of them and then do a check that each one is gone.
|
Package manifest records each item that the CLI makes, so that mai uninstall can remove all of them and then do a check that each one is gone. |
|
Package manifest311 is the manifest code of mai 3.1.1, for tests.
|
Package manifest311 is the manifest code of mai 3.1.1, for tests. |
|
Package paths gives the configuration, state, and cache folders of the CLI for each OS.
|
Package paths gives the configuration, state, and cache folders of the CLI for each OS. |
|
Package procchain reads the chain of parent processes of a process: the process, its parent, the parent of the parent, and so on to the first process of the OS.
|
Package procchain reads the chain of parent processes of a process: the process, its parent, the parent of the parent, and so on to the first process of the OS. |
|
Package uninstall removes each item that the CLI made: the container, the volumes, the images, the entries in the files of the apps, the keys of the instance in the key file, the legacy keychain items of the instance, the folders of the CLI, and at the end the binary.
|
Package uninstall removes each item that the CLI made: the container, the volumes, the images, the entries in the files of the apps, the keys of the instance in the key file, the legacy keychain items of the instance, the folders of the CLI, and at the end the binary. |
|
Package version holds the version of the CLI.
|
Package version holds the version of the CLI. |
Click to show internal directories.
Click to hide internal directories.