@cultured_computer/sight 0.10.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 +8 -0
- package/README.md +8 -0
- package/dist/cli.js +10 -2
- package/dist/index.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,14 @@ version changed for SDK users, the entry says "see git history".
|
|
|
9
9
|
|
|
10
10
|
- Nothing yet.
|
|
11
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
|
+
|
|
12
20
|
## 0.10.0 (2026-11-17)
|
|
13
21
|
|
|
14
22
|
- New CLI verb: `sight import <file> --deployment <slug> --batch <name>`
|
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
|
package/dist/cli.js
CHANGED
|
@@ -208,7 +208,8 @@ function planImport(text, options) {
|
|
|
208
208
|
unansweredUserMessages: 0,
|
|
209
209
|
invalidTimes: 0,
|
|
210
210
|
personReplies: 0,
|
|
211
|
-
modelNotSaid: 0
|
|
211
|
+
modelNotSaid: 0,
|
|
212
|
+
modelWithoutVendor: 0
|
|
212
213
|
};
|
|
213
214
|
for (const row of rows) {
|
|
214
215
|
if (!row.ok) {
|
|
@@ -268,6 +269,7 @@ function planImport(text, options) {
|
|
|
268
269
|
plan.invalidTimes += conversation.invalidTimes;
|
|
269
270
|
if (repliesBy === "person") plan.personReplies += 1;
|
|
270
271
|
else if (conversation.model === null) plan.modelNotSaid += 1;
|
|
272
|
+
else if (modelFields(conversation.model).probe_provider === void 0) plan.modelWithoutVendor += 1;
|
|
271
273
|
}
|
|
272
274
|
return plan;
|
|
273
275
|
}
|
|
@@ -818,7 +820,8 @@ function importHelp() {
|
|
|
818
820
|
" System and tool messages are counted and not sent.",
|
|
819
821
|
" at Optional, on a message: an ISO 8601 time with a time zone. An assistant message's time becomes its",
|
|
820
822
|
" turn's time. Times must not go backwards within a conversation.",
|
|
821
|
-
" model Optional. vendor/model sets the provider and the model; a name with no slash sets the model
|
|
823
|
+
" model Optional. vendor/model sets the provider and the model; a name with no slash sets the model alone,",
|
|
824
|
+
" and an evaluator run needs the vendor. The vendor is who made the model, not where it ran.",
|
|
822
825
|
" user Optional. Your id for the person, stored as the session's user.",
|
|
823
826
|
' replies_by Optional: "model" or "person". Say "person" when the replies were written by a person and no',
|
|
824
827
|
" model took part, as in a call between two people. A conversation says a model or a person,",
|
|
@@ -933,6 +936,11 @@ sight import --help describes the file and the flags.`);
|
|
|
933
936
|
`message times left out: ${plan.invalidTimes}. A time is an ISO 8601 date and time with a time zone, for example 2026-03-01T09:30:00Z. A turn with no time takes the time it is processed.`
|
|
934
937
|
);
|
|
935
938
|
}
|
|
939
|
+
if (plan.modelWithoutVendor > 0) {
|
|
940
|
+
notes.push(
|
|
941
|
+
`conversations whose model names no vendor: ${plan.modelWithoutVendor}. Write the model as vendor/model (for example openai/gpt-4o); an evaluator run over a conversation with no vendor on record is refused.`
|
|
942
|
+
);
|
|
943
|
+
}
|
|
936
944
|
const refusedCount = `${plan.refused.length} ${plan.refused.length === 1 ? "conversation was" : "conversations were"} refused`;
|
|
937
945
|
if (dryRun) {
|
|
938
946
|
const minutes = estimatedMinutes(plan, rate.value);
|
package/dist/index.cjs
CHANGED
|
@@ -2572,9 +2572,11 @@ var TurnInputSchema = zod.z.object({
|
|
|
2572
2572
|
/**
|
|
2573
2573
|
* Who writes the replies of this session: a model (the default) or a
|
|
2574
2574
|
* person, as in a call between two people where one of them is the
|
|
2575
|
-
* agent. Session context like openedVia:
|
|
2576
|
-
*
|
|
2577
|
-
*
|
|
2575
|
+
* agent. Session context like openedVia: the worker writes it on the
|
|
2576
|
+
* session at create (sessions.subject_type, 'agent' or 'human') and
|
|
2577
|
+
* ignores it afterwards. The session is created by whichever turn is
|
|
2578
|
+
* processed first, which need not be the first one sent, so send it on
|
|
2579
|
+
* every turn of the session (the import does). A session that
|
|
2578
2580
|
* says a person replies carries no served model, and a judge run reads
|
|
2579
2581
|
* that as a declaration, never as a model that went unrecorded.
|
|
2580
2582
|
*/
|