@@ -46,7 +46,7 @@ mv xmppc ~/.local/bin/xmppc
## Files
-- `~/.config/xmppc.conf` — account configuration.
+- `~/.config/xmppc/config` — account configuration.
- `~/.config/xmppc/AGENTS.md` — optional instructions for LLM agents using
`xmppc`.
@@ -66,7 +66,7 @@ pass show xmpp/example | xmppc --jid user@example.net --pwd - --mode roster list
```
Named accounts are probably nicer. `xmppc` reads them from
-`~/.config/xmppc.conf`; the `[default]` account is used when neither `--account`
+`~/.config/xmppc/config`; the `[default]` account is used when neither `--account`
nor `--jid` is provided.
```ini
@@ -259,7 +259,7 @@ xmppc agent-skill
It prints an agent skill they should follow, the MAM cursor rules, and explains
that agents should read `~/.config/xmppc/AGENTS.md` when it exists for
-user-local instructions, but must not read `~/.config/xmppc.conf`.
+user-local instructions, but must not read `~/.config/xmppc/config`.
To install a proper agent skill that points back to the one embedded in your
binary, run:
@@ -436,7 +436,7 @@ int main(int argc, char *argv[]) {
// Loading config file
config_file = g_key_file_new();
configfile = g_string_new( g_get_home_dir());
- g_string_append(configfile,"/.config/xmppc.conf");
+ g_string_append(configfile,"/.config/xmppc/config");
gboolean configfilefound = g_key_file_load_from_file(
config_file,
configfile->str,
@@ -584,7 +584,7 @@ static int _agent_skill_command(int argc, char *argv[]) {
const char *skill_text =
"Before sending or receiving, read ~/.config/xmppc/AGENTS.md if it exists; it\n"
"contains the user's allowed accounts, preferred contacts, and local policy.\n"
- "Never read, print, or expose ~/.config/xmppc.conf.\n"
+ "Never read, print, or expose ~/.config/xmppc/config.\n"
"\n"
"Commands:\n"
" xmppc -a <account> -m message chat <jid> <body>\n"
@@ -636,7 +636,7 @@ static int _agent_skill_command(int argc, char *argv[]) {
"For installing or updating xmppc itself, see `references/installation.md`.\n";
const char *installation_doc =
- "Do not print secrets, password commands, or `~/.config/xmppc.conf` while\n"
+ "Do not print secrets, password commands, or `~/.config/xmppc/config` while\n"
"installing or testing. Runtime account policy belongs in\n"
"`~/.config/xmppc/AGENTS.md`.\n"
"\n"