Skip to content

Codex multi-accounts #36

@calves07

Description

@calves07

Some issues I noticed with Codex multi-accounts (currently beta):

  • Data is stored in /app/.onwatch/codex-profiles which is not mounted on Docker Compose, so the data is not persisted. I recommend adding something like or using a different folder for codex-profiles.

- /mnt/apps/stacks/onwatch/app/.onwatch:/app/.onwatch

  • However, the data appears to be inserted to the DB as well which results in a weird state between DB and filesystem
  • Delete command only appears to delete from filesystem

Example, response from GET /api/codex/profiles:

{
    "profiles": [
        {
            "createdAt": "0001-01-01T00:00:00Z",
            "id": 1,
            "name": "cicuta_remos06"
        },
        {
            "createdAt": "2026-03-17T16:31:57Z",
            "id": 2,
            "name": "cicuta_remos06-copy"
        },
        {
            "createdAt": "2026-03-17T17:29:12Z",
            "id": 3,
            "name": "gannetentente2c"
        },
        {
            "createdAt": "2026-03-17T18:31:30Z",
            "id": 4,
            "name": "default"
        },
        {
            "createdAt": "2026-03-17T18:57:22Z",
            "id": 5,
            "name": "gannet-entente_2c"
        }
    ]
}

Output from ./onwatch codex profile list:

Saved Codex profiles:

  cicuta_remos06
    Saved: 2026-03-17 18:55:06
  gannet-entente_2c
    Saved: 2026-03-17 18:57:10

The UI shows a toggle for all the profiles even tho the command only shows 2 and I can't delete the others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions