@cultured_computer/sight 0.9.0 → 0.10.1

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/CHANGELOG.md CHANGED
@@ -5,6 +5,37 @@ reconstructed from the repository: the `sdk-v*` release tags (dates are tag
5
5
  dates) and the commits between them. Where the history does not say what a
6
6
  version changed for SDK users, the entry says "see git history".
7
7
 
8
+ ## Unreleased
9
+
10
+ - Nothing yet.
11
+
12
+ ## 0.10.1 (2026-11-23)
13
+
14
+ - `sight import` counts the conversations whose model names no vendor and
15
+ says so before sending: an evaluator run over those is refused until the
16
+ file names a vendor, or says a person replies.
17
+ - The README says the SDK imports recordings and that the record is
18
+ labeled.
19
+
20
+ ## 0.10.0 (2026-11-17)
21
+
22
+ - New CLI verb: `sight import <file> --deployment <slug> --batch <name>`
23
+ sends historical conversations from a JSONL file through the capture
24
+ route with their original times: one turn for each assistant message,
25
+ then a session end. Each turn's id is derived from the deployment, the
26
+ conversation id and the turn's position, so sending the same file again
27
+ adds nothing to the record (each accepted request is still counted). `--dry-run` checks the file and sends nothing; `--rate`
28
+ sets the requests per minute (1 to 600, default 120). The SDK's exports
29
+ and the request a capture sends are unchanged.
30
+ - `sight import` reads calls between two people: a conversation may say
31
+ `"replies_by": "person"` (or the command `--replies-by person` for the
32
+ whole file) when a person wrote the replies and no model took part. The
33
+ agent's lines carry the role `assistant`. Each of its turns is sent
34
+ with `repliesBy: "person"`, and the session records it. A conversation
35
+ that says a person replies and also names a model is refused. The
36
+ summary counts the conversations that name no model and do not say a
37
+ person replies: an evaluator run over those is refused.
38
+
8
39
  ## 0.9.0 (2026-10-16)
9
40
 
10
41
  - New: the serving client. `createFieldClient({ apiKey, endpoint? })`
package/README.md CHANGED
@@ -8,6 +8,14 @@ the response.
8
8
  It also carries a serving client for the Field API, which serves a
9
9
  `SOUL.md` profile for you: see [Serve a profile](#serve-a-profile).
10
10
 
11
+ And it imports recordings you already have: `sight import <file>` sends a
12
+ JSONL file of historical conversations through the same capture routes.
13
+ Imported or live, the record is labeled the same way: rules and detectors
14
+ as conversations close, judge runs over a set you pin, with the agreement
15
+ of two judges stored and the level of checking shown on every label. See
16
+ [the CLI reference](https://sight.cultured.computer/docs/cli) and
17
+ [Sets and runs](https://sight.cultured.computer/docs/sets-and-runs).
18
+
11
19
  Full documentation: https://sight.cultured.computer/docs
12
20
 
13
21
  ## Requirements
@@ -184,6 +192,7 @@ environment variables. Secrets are read from the environment, never from a flag.
184
192
  | `sight auth logout` | Deletes the stored login token | None |
185
193
  | `sight export --project <slug> --deployment <slug>` | Writes a deployment's record as JSONL (`--out <file>`, default stdout) | `auth login`; owner role on the project |
186
194
  | `sight conditions --session <id>` | Prints one session's detector checks as NDJSON | A key with `studio:run`: `SIGHT_API_KEY`, or the key saved by `account create` |
195
+ | `sight import <file> --deployment <slug> --batch <name>` | Sends historical conversations from a JSONL file through the capture route with their original times; `--dry-run` checks the file and sends nothing; `--replies-by person` (or `"replies_by": "person"` on a conversation) sends a call between two people, where no model took part | A key with `ingest`: `SIGHT_API_KEY`, or the key saved by `account create` |
187
196
  | `sight account create` | Redeems a one-time token and saves the key to `~/.config/sight/machine.json` (mode `0600`) | `SIGHT_PROVISION_TOKEN` |
188
197
  | `sight openrouter connect --budget <usd> [--house-trial]` | Connects your OpenRouter key (`OPENROUTER_API_KEY`) to the project; `--house-trial` marks it as the operator's key for a demo | A key with `providers:write` |
189
198
  | `sight openrouter status` | Prints the stored connection: status, last four characters, budget | A key with `studio:run` or `providers:write` |
@@ -382,7 +391,7 @@ code this version knows; a newer API may answer one it does not list.
382
391
  | `archived`, `revoked`, `link_inactive` | `410` | It does not come back |
383
392
  | `request_unknown`, `replay_expired` | `404`, `410` | Logical turn requests only; not sent by this client |
384
393
  | `precondition_failed` | `412` | `ifMatch` no longer names the live version. Read the profile, then put. |
385
- | `invalid_consent`, `invalid_safeguards`, `invalid_scrub`, `invalid_fallback`, `invalid_scene`, `invalid_reasoning_effort` | `422` | Fix that setting (on a put, or a start's `runtime`); `body.accepted` lists the words. Nothing was stored. |
394
+ | `invalid_consent`, `invalid_safeguards`, `invalid_scrub`, `invalid_fallback`, `invalid_scene`, `invalid_reasoning_effort`, `invalid_reply_check` | `422` | Fix that setting (on a put, or a start's `runtime`); `body.accepted` lists the words. Nothing was stored. |
386
395
  | `invalid_max_output_tokens` | `422` | `maxOutputTokens` (on a put, or a start's `runtime`) is not an integer in the model's range; `body.accepted` is `{ min, max }`. Nothing was stored. |
387
396
  | `daily_cap` | `429` | The day's conversations are used up (UTC) |
388
397
  | `link_session_cap` | `429` | A rehearsal link's session limit; not sent by this client |