inferative 0.2.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -142,7 +142,8 @@ runbook [Backup and restore](https://inferative.dev/docs/deploy/backup-and-resto
142
142
 
143
143
  | Command | What it does |
144
144
  | :-- | :-- |
145
- | `inferative backup create --out <file>` | Writes one archive (`.tar.gz.age`) of the Postgres or MySQL database and the file store, with a manifest of the row count and digest of each table and the size and SHA-256 of each object, encrypted with age to the public keys of `--recipient` or `INFERATIVE_BACKUP_AGE_RECIPIENT`. `--unencrypted` writes a plain `.tar.gz`. The archive must not exist. |
145
+ | `inferative backup create --out <file>` | Writes one archive (`.tar.gz.age`) of the Postgres or MySQL database and the file store, with a manifest of the row count and digest of each table and the size and SHA-256 of each object, encrypted with age to the public keys of `--recipient` or `INFERATIVE_BACKUP_AGE_RECIPIENT`. `--unencrypted` writes a plain `.tar.gz`. The archive must not exist. `--organization <id>` writes the rows of one organization (with the rows that follow them and the shared tables) and its files, with the same ids, but no password or other sign-in means of a member; it stops when no organization has the id. Its restore needs an empty database, a complete archive and the same migrations as the source. With `--transfer-key <key>` (or `INFERATIVE_BACKUP_TRANSFER_KEY`), it seals the organization's secret store values and model history for the deployment that printed the key, and names each value that no key of the source opens. |
146
+ | `inferative backup transfer-key` | Prints the transfer key that the root secret of this host gives: the public key that an organization backup on another deployment seals the organization's values to. Only the root secret of this host opens them, and the restore seals them again under its keys. |
146
147
  | `inferative backup restore --archive <file>` | Restores an archive into an empty database of its dialect and an empty file store, then runs the check of `verify`. It applies the migrations of the backup from `server/persistence/pg/migrations`, or from `server/persistence/mysql/migrations` for a `mysql://` address (`--migrations` names another folder). It holds the work of the agents of each organization with an agent (a restore flag in `agent_pause_flags`) until a person releases the hold. A backup and `verify` leave the restore flags out. |
147
148
  | `inferative backup verify --archive <file>` | Compares the database and the file store with the archive. `--archive-only` checks the archive alone. |
148
149
  | `inferative backup upload --archive <file>` | Copies an encrypted archive into the R2 bucket of archives of the four `INFERATIVE_BACKUP_R2_*` values (`--bucket`, `--r2-endpoint`, `--key`), in one write with `If-None-Match: *`, so it never replaces an object. It takes at most 5 GiB less 5 MiB, the largest single write of R2. |
@@ -203,10 +204,8 @@ pnpm exec inferative plugin codex --url http://localhost:3001
203
204
 
204
205
  The command does these steps:
205
206
 
206
- 1. It finds the origin of the dev host: `--url`, else `app.origin` of the project (the Heximon sidecar in any name that
207
- Heximon reads, the runtime config under its development overlay, `INFERATIVE_APP_ORIGIN` and `.env`), else
208
- `http://localhost:3000`. The MCP endpoint checks each token against `<app.origin>/api/mcp`, so the origin must be
209
- the one of the `app` section.
207
+ 1. It finds the origin of the dev host: `--url`, else `http://localhost:3000`. The MCP endpoint checks each token
208
+ against `<origin>/api/mcp`, so pass `--url` when the dev host runs on another address.
210
209
  2. It installs the skill `inferative` from the docs site (`https://inferative.dev/.well-known/skills/`), the source that
211
210
  `npx skills add https://inferative.dev` uses. `--skills <origin or folder>` names another source, such as
212
211
  `docs/skills` of a checkout. The files go to a temporary folder first, so a failed download keeps an earlier install.