@cultured_computer/sight 0.3.5 → 0.3.6
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 +14 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/schema/sight-record-v1.schema.json +227 -0
package/README.md
CHANGED
|
@@ -150,11 +150,24 @@ modify responses, and it does not estimate what a different response would
|
|
|
150
150
|
have produced. Counterfactual evaluation requires logged propensities or a
|
|
151
151
|
live experiment.
|
|
152
152
|
|
|
153
|
+
## The record schema
|
|
154
|
+
|
|
155
|
+
Everything Sight captures exports in one published, versioned shape:
|
|
156
|
+
`schema/sight-record-v1.schema.json`, shipped in this package
|
|
157
|
+
(`@cultured_computer/sight/schema/record-v1`). One JSON line per
|
|
158
|
+
session; each turn carries the fixed four-field envelope — the
|
|
159
|
+
situation, the assistant's move, how the person took it, and what
|
|
160
|
+
followed — on both sides of the exchange, with provenance and
|
|
161
|
+
redaction built into the shape. A CI test keeps the schema and the
|
|
162
|
+
export bytes in lockstep. Formats that standardize the agent log stop
|
|
163
|
+
at the assistant's half; this one records the exchange and its
|
|
164
|
+
consequences. See [Data format](https://sight.cultured.computer/docs/data-format).
|
|
165
|
+
|
|
153
166
|
## Docs
|
|
154
167
|
|
|
155
168
|
- [Get started](https://sight.cultured.computer/docs/get-started):
|
|
156
169
|
install, initialise, verify capture.
|
|
157
|
-
- [
|
|
170
|
+
- [Cookbook](https://sight.cultured.computer/docs/examples):
|
|
158
171
|
runnable snippets, each with what it lands in the record.
|
|
159
172
|
- [SDK reference](https://sight.cultured.computer/docs/sdk-reference):
|
|
160
173
|
the full method surface.
|
package/dist/index.cjs
CHANGED
|
@@ -1290,6 +1290,9 @@ zod.z.object({
|
|
|
1290
1290
|
*/
|
|
1291
1291
|
startDate: zod.z.string().optional()
|
|
1292
1292
|
});
|
|
1293
|
+
zod.z.object({
|
|
1294
|
+
requestId: zod.z.string().uuid()
|
|
1295
|
+
});
|
|
1293
1296
|
zod.z.object({
|
|
1294
1297
|
deploymentSlug: zod.z.string().min(1),
|
|
1295
1298
|
/** Same (seed, startDate) the seeding job used — the plan is recomputed
|