@cultured_computer/sight 0.9.0 → 0.10.0
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 +23 -0
- package/README.md +2 -1
- package/dist/cli.js +584 -2
- package/dist/index.cjs +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -27
- package/dist/index.d.ts +27 -27
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2461,6 +2461,7 @@ var UserOutcomeSchema = zod.z.object({
|
|
|
2461
2461
|
/** Thumbs-up / thumbs-down widget value. */
|
|
2462
2462
|
thumbs: zod.z.enum(["up", "down"]).optional()
|
|
2463
2463
|
});
|
|
2464
|
+
var REPLIES_BY = ["model", "person"];
|
|
2464
2465
|
var TurnInputSchema = zod.z.object({
|
|
2465
2466
|
deploymentSlug: zod.z.string().min(1),
|
|
2466
2467
|
sessionExternalId: zod.z.string().min(1),
|
|
@@ -2568,6 +2569,16 @@ var TurnInputSchema = zod.z.object({
|
|
|
2568
2569
|
* `metadata` key so it has a durable landing place.
|
|
2569
2570
|
*/
|
|
2570
2571
|
clientContext: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
2572
|
+
/**
|
|
2573
|
+
* Who writes the replies of this session: a model (the default) or a
|
|
2574
|
+
* person, as in a call between two people where one of them is the
|
|
2575
|
+
* agent. Session context like openedVia: it rides the first turn, the
|
|
2576
|
+
* worker writes it on the session at create (sessions.subject_type,
|
|
2577
|
+
* 'agent' or 'human') and ignores it on later turns. A session that
|
|
2578
|
+
* says a person replies carries no served model, and a judge run reads
|
|
2579
|
+
* that as a declaration, never as a model that went unrecorded.
|
|
2580
|
+
*/
|
|
2581
|
+
repliesBy: zod.z.enum(REPLIES_BY).optional(),
|
|
2571
2582
|
payload: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
2572
2583
|
});
|
|
2573
2584
|
var SessionEndSchema2 = zod.z.object({
|
|
@@ -3773,6 +3784,7 @@ var FIELD_REFUSAL_CODES = [
|
|
|
3773
3784
|
"runtime_forbidden",
|
|
3774
3785
|
"invalid_reasoning_effort",
|
|
3775
3786
|
"invalid_max_output_tokens",
|
|
3787
|
+
"invalid_reply_check",
|
|
3776
3788
|
"conversation_ended",
|
|
3777
3789
|
"no_live_version",
|
|
3778
3790
|
"no_owner",
|