@openpond/evals 0.12.1 → 0.12.3
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/dist/learning/continuation-mode.js +9 -0
- package/dist/learning/contracts.js +2 -0
- package/dist/learning/correction-metrics.js +61 -0
- package/dist/learning/index.js +2 -0
- package/dist/native-conversations/history.js +21 -8
- package/dist/native-conversations/titles.js +2 -2
- package/dist/types/learning/continuation-mode.d.ts +18 -0
- package/dist/types/learning/continuation-mode.d.ts.map +1 -0
- package/dist/types/learning/contracts.d.ts +36 -0
- package/dist/types/learning/contracts.d.ts.map +1 -1
- package/dist/types/learning/correction-metrics.d.ts +274 -0
- package/dist/types/learning/correction-metrics.d.ts.map +1 -0
- package/dist/types/learning/index.d.ts +2 -0
- package/dist/types/learning/index.d.ts.map +1 -1
- package/dist/types/learning/operations.d.ts +48 -0
- package/dist/types/learning/operations.d.ts.map +1 -1
- package/dist/types/learning/repository.d.ts +12 -0
- package/dist/types/learning/repository.d.ts.map +1 -1
- package/dist/types/learning/transport.d.ts +54 -18
- package/dist/types/learning/transport.d.ts.map +1 -1
- package/dist/types/native-conversations/contracts.d.ts +2 -0
- package/dist/types/native-conversations/contracts.d.ts.map +1 -1
- package/dist/types/native-conversations/history.d.ts +1 -0
- package/dist/types/native-conversations/history.d.ts.map +1 -1
- package/dist/types/native-conversations/titles.d.ts +1 -1
- package/dist/types/native-conversations/titles.d.ts.map +1 -1
- package/package.json +2 -2
- package/schemas/learning/v1/command-request.schema.json +40 -0
- package/schemas/learning/v1/policy.schema.json +40 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { ReleaseHashSchema, ReleaseIdSchema } from "@openpond/harness";
|
|
3
|
+
/** A deliberate future-stage choice, independent of the original pinned
|
|
4
|
+
* optimizer/data configuration. Its Model source reference remains truthful;
|
|
5
|
+
* already reserved iterations retain their earlier immutable policy revision. */
|
|
6
|
+
export const LearningContinuationModeOverrideSchema = z.object({
|
|
7
|
+
adapterMode: z.enum(["residual_append", "shared", "sequential_merge"]),
|
|
8
|
+
sourceConfiguration: z.object({ id: ReleaseIdSchema, revision: z.number().int().positive(), etag: ReleaseHashSchema }).strict(),
|
|
9
|
+
}).strict();
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LearningContinuationModeOverrideSchema } from "./continuation-mode.js";
|
|
1
2
|
import { TrainingHandoffOriginSchema } from "./training-handoff.js";
|
|
2
3
|
import { LearningDomainError } from "./errors.js";
|
|
3
4
|
import { z } from "zod";
|
|
@@ -421,6 +422,7 @@ export const LearningPolicyContentSchema = z
|
|
|
421
422
|
recipe: ImmutableReleaseRefSchema,
|
|
422
423
|
retentionEvaluation: ImmutableReleaseRefSchema,
|
|
423
424
|
replayBatches: z.array(ImmutableReleaseRefSchema).max(100),
|
|
425
|
+
continuationMode: LearningContinuationModeOverrideSchema.optional(),
|
|
424
426
|
})
|
|
425
427
|
.strict(),
|
|
426
428
|
limits: z
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { ReleaseIdSchema, ReleaseHashSchema, ReleaseTimestampSchema, ImmutableReleaseRefSchema } from "@openpond/harness";
|
|
3
|
+
import { LearningRevisionRefSchema } from "./contracts.js";
|
|
4
|
+
/** Reviewed behavior identity and verifier membership are frozen before either
|
|
5
|
+
* declared evaluation starts. A failed unrelated grader is never a repeat. */
|
|
6
|
+
export const CorrectionVerificationCheckSchema = z.object({
|
|
7
|
+
id: ReleaseIdSchema,
|
|
8
|
+
role: z.enum(["replay", "transfer"]),
|
|
9
|
+
taskId: ReleaseIdSchema,
|
|
10
|
+
seeds: z.array(z.string().min(1).max(500)).min(1).max(100),
|
|
11
|
+
grader: z.object({ id: ReleaseIdSchema, revision: z.string().min(1).max(200), contentHash: ReleaseHashSchema, reward: LearningRevisionRefSchema.nullable().default(null) }).strict(),
|
|
12
|
+
failureMeaning: z.literal("corrected_mistake_repeated"),
|
|
13
|
+
}).strict();
|
|
14
|
+
export const CorrectionVerificationPlanContentSchema = z.object({
|
|
15
|
+
schemaVersion: z.literal("openpond.correctionVerificationPlan.v1"),
|
|
16
|
+
id: ReleaseIdSchema, revision: z.literal(1), teamId: ReleaseIdSchema, ownerUserId: ReleaseIdSchema, modelId: ReleaseIdSchema,
|
|
17
|
+
classification: z.literal("reviewed_model_behavior"),
|
|
18
|
+
feedback: LearningRevisionRefSchema, evidence: LearningRevisionRefSchema,
|
|
19
|
+
trainingJobId: ReleaseIdSchema, checkpoint: ImmutableReleaseRefSchema, artifact: ImmutableReleaseRefSchema,
|
|
20
|
+
taskset: LearningRevisionRefSchema,
|
|
21
|
+
checks: z.array(CorrectionVerificationCheckSchema).min(1).max(1000),
|
|
22
|
+
baselineOperationId: ReleaseIdSchema, candidateOperationId: ReleaseIdSchema,
|
|
23
|
+
criterion: z.literal("all_declared_checks_pass_after_failed_parent"),
|
|
24
|
+
receivedAt: ReleaseTimestampSchema, eligibleAt: ReleaseTimestampSchema, frozenAt: ReleaseTimestampSchema,
|
|
25
|
+
}).strict().superRefine((plan, context) => {
|
|
26
|
+
if (plan.baselineOperationId === plan.candidateOperationId)
|
|
27
|
+
context.addIssue({ code: "custom", path: ["candidateOperationId"], message: "Parent and candidate must have distinct evaluation operations." });
|
|
28
|
+
if (new Set(plan.checks.map(check => check.id)).size !== plan.checks.length)
|
|
29
|
+
context.addIssue({ code: "custom", path: ["checks"], message: "Correction check identities must be unique." });
|
|
30
|
+
for (const [index, check] of plan.checks.entries())
|
|
31
|
+
if (new Set(check.seeds).size !== check.seeds.length)
|
|
32
|
+
context.addIssue({ code: "custom", path: ["checks", index, "seeds"], message: "Seeds must be unique per correction check." });
|
|
33
|
+
});
|
|
34
|
+
export const CorrectionVerificationPlanSchema = CorrectionVerificationPlanContentSchema.safeExtend({ contentHash: ReleaseHashSchema });
|
|
35
|
+
export const CorrectionOpportunitySchema = z.object({
|
|
36
|
+
schemaVersion: z.literal("openpond.correctionOpportunity.v1"),
|
|
37
|
+
id: ReleaseIdSchema, correction: ImmutableReleaseRefSchema, source: z.enum(["evaluation", "live"]),
|
|
38
|
+
modelId: ReleaseIdSchema, trainingJobId: ReleaseIdSchema, artifactId: ReleaseIdSchema, checkpointId: ReleaseIdSchema,
|
|
39
|
+
observedAt: ReleaseTimestampSchema, occurredAt: ReleaseTimestampSchema,
|
|
40
|
+
attempt: ImmutableReleaseRefSchema,
|
|
41
|
+
classification: z.enum(["confirmed_repeat", "passed", "unscored"]),
|
|
42
|
+
checkIds: z.array(ReleaseIdSchema).min(1).max(1000),
|
|
43
|
+
}).strict();
|
|
44
|
+
export const CorrectionMetricObservationSchema = z.object({
|
|
45
|
+
schemaVersion: z.literal("openpond.correctionMetricObservation.v1"),
|
|
46
|
+
correction: ImmutableReleaseRefSchema, modelId: ReleaseIdSchema, trainingJobId: ReleaseIdSchema,
|
|
47
|
+
checkpointId: ReleaseIdSchema, artifactId: ReleaseIdSchema, receivedAt: ReleaseTimestampSchema, eligibleAt: ReleaseTimestampSchema,
|
|
48
|
+
firstBatchConsumptionAt: ReleaseTimestampSchema.nullable(), firstTrainingUseAt: ReleaseTimestampSchema.nullable(),
|
|
49
|
+
verifiedAt: ReleaseTimestampSchema.nullable(), servedAt: ReleaseTimestampSchema.nullable(),
|
|
50
|
+
baselineEvaluation: ImmutableReleaseRefSchema.nullable(), candidateEvaluation: ImmutableReleaseRefSchema.nullable(),
|
|
51
|
+
status: z.enum(["pending_exposure", "pending_verification", "baseline_not_failed", "verified", "regressed", "withdrawn"]),
|
|
52
|
+
opportunities: z.array(CorrectionOpportunitySchema).max(100_000), blockers: z.array(z.string().max(500)).max(20).default([]), observedAt: ReleaseTimestampSchema,
|
|
53
|
+
}).strict();
|
|
54
|
+
const repeat = z.object({ confirmedRepeats: z.number().int().nonnegative(), scoredRelevantOpportunities: z.number().int().nonnegative(), unscoredOpportunities: z.number().int().nonnegative(), rate: z.number().min(0).max(1).nullable() }).strict();
|
|
55
|
+
export const CorrectionMetricSummarySchema = z.object({
|
|
56
|
+
schemaVersion: z.literal("openpond.correctionMetricSummary.v1"), observedAt: ReleaseTimestampSchema,
|
|
57
|
+
scope: z.object({ teamId: ReleaseIdSchema, modelId: ReleaseIdSchema, runId: ReleaseIdSchema.nullable(), checkpointId: ReleaseIdSchema.nullable(), artifactId: ReleaseIdSchema.nullable() }).strict(),
|
|
58
|
+
window: z.object({ from: ReleaseTimestampSchema, to: ReleaseTimestampSchema }).strict(), correctionCount: z.number().int().nonnegative(),
|
|
59
|
+
adaptation: z.object({ medianSeconds: z.number().nonnegative().nullable(), resolvedCount: z.number().int().nonnegative(), pendingCount: z.number().int().nonnegative(), oldestPendingSeconds: z.number().nonnegative().nullable() }).strict(),
|
|
60
|
+
evaluation: repeat.safeExtend({ source: z.literal("evaluation") }), live: repeat.safeExtend({ source: z.literal("live") }),
|
|
61
|
+
}).strict();
|
package/dist/learning/index.js
CHANGED
|
@@ -36,3 +36,5 @@ export * from "./task-queue-inspection.js";
|
|
|
36
36
|
export * from "./acceptance-plan.js";
|
|
37
37
|
export * from "./acceptance-group.js";
|
|
38
38
|
export { TrainingHandoffOriginSchema } from "./training-handoff.js";
|
|
39
|
+
export * from "./correction-metrics.js";
|
|
40
|
+
export * from "./continuation-mode.js";
|
|
@@ -114,6 +114,8 @@ export async function listSessions(source, input = {}) {
|
|
|
114
114
|
return listDatabaseSessions(source, { ...input, limit });
|
|
115
115
|
const paths = await pathsBelow(source), candidates = [];
|
|
116
116
|
for (const path of paths) {
|
|
117
|
+
if (input.parentNativeSessionId && source.source === "claude_code" && !path.replaceAll("\\", "/").includes(`/${input.parentNativeSessionId}/subagents/`))
|
|
118
|
+
continue;
|
|
117
119
|
if (input.cursor && path <= input.cursor)
|
|
118
120
|
continue;
|
|
119
121
|
try {
|
|
@@ -193,12 +195,14 @@ export async function listSessions(source, input = {}) {
|
|
|
193
195
|
// Claude writes queue/history bookkeeping before its first message. The
|
|
194
196
|
// native session's message metadata owns cwd; encoded project-directory
|
|
195
197
|
// names are ambiguous and must never be decoded into a guessed path.
|
|
198
|
+
const claudeWorker = source.source === "claude_code" && /(?:^|[\/])subagents[\/]agent-[^\/]+\.jsonl$/u.test(path)
|
|
199
|
+
? rows.find(row => row.isSidechain === true && typeof row.agentId === "string" && `agent-${row.agentId}` === id && typeof row.sessionId === "string" && basename(dirname(dirname(path))) === row.sessionId) : undefined;
|
|
196
200
|
const claudeMessage = source.source === "claude_code"
|
|
197
|
-
? rows.find((row) => row.sessionId === id && row.type === "user" && typeof row.cwd === "string" && isAbsolute(row.cwd))
|
|
201
|
+
? rows.find((row) => row.sessionId === (claudeWorker?.sessionId ?? id) && row.type === "user" && typeof row.cwd === "string" && isAbsolute(row.cwd))
|
|
198
202
|
: undefined;
|
|
199
203
|
let cwd = claudeMessage?.cwd ?? payload.cwd;
|
|
200
204
|
let title = source.source === "claude_code"
|
|
201
|
-
? claudeConversationTitle(rows, id)
|
|
205
|
+
? claudeConversationTitle(rows, claudeWorker ? String(claudeWorker.sessionId) : id, Boolean(claudeWorker))
|
|
202
206
|
: retainedConversationTitle(payload.title, id);
|
|
203
207
|
if (source.source === "grok_build" && path.endsWith("updates.jsonl")) {
|
|
204
208
|
try {
|
|
@@ -214,6 +218,7 @@ export async function listSessions(source, input = {}) {
|
|
|
214
218
|
}
|
|
215
219
|
candidates.push({
|
|
216
220
|
nativeSessionId: id,
|
|
221
|
+
...(claudeWorker ? { parentNativeSessionId: String(claudeWorker.sessionId) } : {}),
|
|
217
222
|
sourceInstanceId: source.instanceId,
|
|
218
223
|
path,
|
|
219
224
|
title,
|
|
@@ -251,6 +256,18 @@ export async function listSessions(source, input = {}) {
|
|
|
251
256
|
nextCursor: candidates.length > limit ? candidates[limit - 1].path : null,
|
|
252
257
|
};
|
|
253
258
|
}
|
|
259
|
+
/** Revalidate worker identity after acquisition; parent sessionId is shared by siblings. */
|
|
260
|
+
function assertClaudeIdentity(session, rows) {
|
|
261
|
+
const graph = claudeGraph(rows);
|
|
262
|
+
if (graph.sessionId !== (session.parentNativeSessionId ?? session.nativeSessionId))
|
|
263
|
+
throw new Error("Native session changed identity.");
|
|
264
|
+
if (session.parentNativeSessionId) {
|
|
265
|
+
const messages = rows.filter(row => row.type === "user" || row.type === "assistant");
|
|
266
|
+
if (messages.some(row => row.isSidechain !== true || `agent-${String(row.agentId)}` !== session.nativeSessionId))
|
|
267
|
+
throw new Error("Native worker changed identity.");
|
|
268
|
+
}
|
|
269
|
+
return graph;
|
|
270
|
+
}
|
|
254
271
|
export async function inspectSessionBranches(source, session) {
|
|
255
272
|
if (source.source !== "claude_code")
|
|
256
273
|
return { revision: "", branches: [] };
|
|
@@ -259,9 +276,7 @@ export async function inspectSessionBranches(source, session) {
|
|
|
259
276
|
if (session.sourceInstanceId !== source.instanceId)
|
|
260
277
|
throw new Error("Native session belongs to another selected source.");
|
|
261
278
|
const text = await readSelectedFile(source, session.path);
|
|
262
|
-
const graph =
|
|
263
|
-
if (graph.sessionId !== session.nativeSessionId)
|
|
264
|
-
throw new Error("Native session changed identity.");
|
|
279
|
+
const graph = assertClaudeIdentity(session, connectedJsonLines({ path: basename(session.path), text }));
|
|
265
280
|
return { revision: contentHash(text), branches: graph.branches() };
|
|
266
281
|
}
|
|
267
282
|
export async function readSession(source, session, input = {}) {
|
|
@@ -290,9 +305,7 @@ export async function readSession(source, session, input = {}) {
|
|
|
290
305
|
throw new Error("Choose a branch before supplying its revision.");
|
|
291
306
|
if (source.source === "claude_code") {
|
|
292
307
|
const file = files[0];
|
|
293
|
-
const graph =
|
|
294
|
-
if (graph.sessionId !== session.nativeSessionId)
|
|
295
|
-
throw new Error("Native session changed identity.");
|
|
308
|
+
const graph = assertClaudeIdentity(session, connectedJsonLines(file));
|
|
296
309
|
if (input.latestBranch) {
|
|
297
310
|
if (input.branchLeafId || input.expectedBranchRevision || input.branchAnchor)
|
|
298
311
|
throw new Error("Choose either the latest conversation or an explicit branch.");
|
|
@@ -5,7 +5,7 @@ function titleText(value) {
|
|
|
5
5
|
return value.replace(/\s+/gu, " ").trim().slice(0, 160) || null;
|
|
6
6
|
}
|
|
7
7
|
/** Retained provider titles take precedence over a preview of the first real user prompt. */
|
|
8
|
-
export function claudeConversationTitle(rows, sessionId) {
|
|
8
|
+
export function claudeConversationTitle(rows, sessionId, allowSidechain = false) {
|
|
9
9
|
const owned = rows.filter((row) => row.sessionId === undefined || row.sessionId === sessionId);
|
|
10
10
|
for (const row of [...owned].reverse()) {
|
|
11
11
|
if (row.type === "custom-title") {
|
|
@@ -22,7 +22,7 @@ export function claudeConversationTitle(rows, sessionId) {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
for (const row of owned) {
|
|
25
|
-
if (row.type !== "user" || row.sessionId !== sessionId || row.isMeta || row.isSidechain)
|
|
25
|
+
if (row.type !== "user" || row.sessionId !== sessionId || row.isMeta || (row.isSidechain && !allowSidechain))
|
|
26
26
|
continue;
|
|
27
27
|
const content = object(row.message).content;
|
|
28
28
|
const title = titleText(Array.isArray(content)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** A deliberate future-stage choice, independent of the original pinned
|
|
3
|
+
* optimizer/data configuration. Its Model source reference remains truthful;
|
|
4
|
+
* already reserved iterations retain their earlier immutable policy revision. */
|
|
5
|
+
export declare const LearningContinuationModeOverrideSchema: z.ZodObject<{
|
|
6
|
+
adapterMode: z.ZodEnum<{
|
|
7
|
+
residual_append: "residual_append";
|
|
8
|
+
sequential_merge: "sequential_merge";
|
|
9
|
+
shared: "shared";
|
|
10
|
+
}>;
|
|
11
|
+
sourceConfiguration: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
revision: z.ZodNumber;
|
|
14
|
+
etag: z.ZodString;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
export type LearningContinuationModeOverride = z.infer<typeof LearningContinuationModeOverrideSchema>;
|
|
18
|
+
//# sourceMappingURL=continuation-mode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"continuation-mode.d.ts","sourceRoot":"","sources":["../../../src/learning/continuation-mode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;iFAEiF;AACjF,eAAO,MAAM,sCAAsC;;;;;;;;;;;kBAGxC,CAAC;AACZ,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC"}
|
|
@@ -1620,6 +1620,18 @@ export declare const LearningPolicyContentSchema: z.ZodObject<{
|
|
|
1620
1620
|
id: z.ZodString;
|
|
1621
1621
|
contentHash: z.ZodString;
|
|
1622
1622
|
}, z.core.$strict>>;
|
|
1623
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
1624
|
+
adapterMode: z.ZodEnum<{
|
|
1625
|
+
residual_append: "residual_append";
|
|
1626
|
+
sequential_merge: "sequential_merge";
|
|
1627
|
+
shared: "shared";
|
|
1628
|
+
}>;
|
|
1629
|
+
sourceConfiguration: z.ZodObject<{
|
|
1630
|
+
id: z.ZodString;
|
|
1631
|
+
revision: z.ZodNumber;
|
|
1632
|
+
etag: z.ZodString;
|
|
1633
|
+
}, z.core.$strict>;
|
|
1634
|
+
}, z.core.$strict>>;
|
|
1623
1635
|
}, z.core.$strict>;
|
|
1624
1636
|
limits: z.ZodObject<{
|
|
1625
1637
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -1925,6 +1937,18 @@ export declare const LearningPolicySchema: z.ZodObject<{
|
|
|
1925
1937
|
id: z.ZodString;
|
|
1926
1938
|
contentHash: z.ZodString;
|
|
1927
1939
|
}, z.core.$strict>>;
|
|
1940
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
1941
|
+
adapterMode: z.ZodEnum<{
|
|
1942
|
+
residual_append: "residual_append";
|
|
1943
|
+
sequential_merge: "sequential_merge";
|
|
1944
|
+
shared: "shared";
|
|
1945
|
+
}>;
|
|
1946
|
+
sourceConfiguration: z.ZodObject<{
|
|
1947
|
+
id: z.ZodString;
|
|
1948
|
+
revision: z.ZodNumber;
|
|
1949
|
+
etag: z.ZodString;
|
|
1950
|
+
}, z.core.$strict>;
|
|
1951
|
+
}, z.core.$strict>>;
|
|
1928
1952
|
}, z.core.$strict>;
|
|
1929
1953
|
limits: z.ZodObject<{
|
|
1930
1954
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -3396,6 +3420,18 @@ export declare const LearningResourceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3396
3420
|
id: z.ZodString;
|
|
3397
3421
|
contentHash: z.ZodString;
|
|
3398
3422
|
}, z.core.$strict>>;
|
|
3423
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
3424
|
+
adapterMode: z.ZodEnum<{
|
|
3425
|
+
residual_append: "residual_append";
|
|
3426
|
+
sequential_merge: "sequential_merge";
|
|
3427
|
+
shared: "shared";
|
|
3428
|
+
}>;
|
|
3429
|
+
sourceConfiguration: z.ZodObject<{
|
|
3430
|
+
id: z.ZodString;
|
|
3431
|
+
revision: z.ZodNumber;
|
|
3432
|
+
etag: z.ZodString;
|
|
3433
|
+
}, z.core.$strict>;
|
|
3434
|
+
}, z.core.$strict>>;
|
|
3399
3435
|
}, z.core.$strict>;
|
|
3400
3436
|
limits: z.ZodObject<{
|
|
3401
3437
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../../src/learning/contracts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../../src/learning/contracts.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,wBAAwB,2CAAiC,CAAC;AACvE,eAAO,MAAM,yBAAyB;;;;kBAAyB,C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AACxD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,wBAAgB,WAAW,CAAC,QAAQ,EAAE;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB,GAAG,mBAAmB,CAMtB;AACD,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAM9F;AACD,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnE,OAAO,EAAE,CAAC,GACT,CAAC,GAAG;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAG7B;AACD,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAKjF"}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Reviewed behavior identity and verifier membership are frozen before either
|
|
3
|
+
* declared evaluation starts. A failed unrelated grader is never a repeat. */
|
|
4
|
+
export declare const CorrectionVerificationCheckSchema: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
role: z.ZodEnum<{
|
|
7
|
+
replay: "replay";
|
|
8
|
+
transfer: "transfer";
|
|
9
|
+
}>;
|
|
10
|
+
taskId: z.ZodString;
|
|
11
|
+
seeds: z.ZodArray<z.ZodString>;
|
|
12
|
+
grader: z.ZodObject<{
|
|
13
|
+
id: z.ZodString;
|
|
14
|
+
revision: z.ZodString;
|
|
15
|
+
contentHash: z.ZodString;
|
|
16
|
+
reward: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
contentHash: z.ZodString;
|
|
19
|
+
revision: z.ZodNumber;
|
|
20
|
+
}, z.core.$strict>>>;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
failureMeaning: z.ZodLiteral<"corrected_mistake_repeated">;
|
|
23
|
+
}, z.core.$strict>;
|
|
24
|
+
export declare const CorrectionVerificationPlanContentSchema: z.ZodObject<{
|
|
25
|
+
schemaVersion: z.ZodLiteral<"openpond.correctionVerificationPlan.v1">;
|
|
26
|
+
id: z.ZodString;
|
|
27
|
+
revision: z.ZodLiteral<1>;
|
|
28
|
+
teamId: z.ZodString;
|
|
29
|
+
ownerUserId: z.ZodString;
|
|
30
|
+
modelId: z.ZodString;
|
|
31
|
+
classification: z.ZodLiteral<"reviewed_model_behavior">;
|
|
32
|
+
feedback: z.ZodObject<{
|
|
33
|
+
id: z.ZodString;
|
|
34
|
+
contentHash: z.ZodString;
|
|
35
|
+
revision: z.ZodNumber;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
evidence: z.ZodObject<{
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
contentHash: z.ZodString;
|
|
40
|
+
revision: z.ZodNumber;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
trainingJobId: z.ZodString;
|
|
43
|
+
checkpoint: z.ZodObject<{
|
|
44
|
+
id: z.ZodString;
|
|
45
|
+
contentHash: z.ZodString;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
artifact: z.ZodObject<{
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
contentHash: z.ZodString;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
taskset: z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
contentHash: z.ZodString;
|
|
54
|
+
revision: z.ZodNumber;
|
|
55
|
+
}, z.core.$strict>;
|
|
56
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
57
|
+
id: z.ZodString;
|
|
58
|
+
role: z.ZodEnum<{
|
|
59
|
+
replay: "replay";
|
|
60
|
+
transfer: "transfer";
|
|
61
|
+
}>;
|
|
62
|
+
taskId: z.ZodString;
|
|
63
|
+
seeds: z.ZodArray<z.ZodString>;
|
|
64
|
+
grader: z.ZodObject<{
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
revision: z.ZodString;
|
|
67
|
+
contentHash: z.ZodString;
|
|
68
|
+
reward: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
69
|
+
id: z.ZodString;
|
|
70
|
+
contentHash: z.ZodString;
|
|
71
|
+
revision: z.ZodNumber;
|
|
72
|
+
}, z.core.$strict>>>;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
failureMeaning: z.ZodLiteral<"corrected_mistake_repeated">;
|
|
75
|
+
}, z.core.$strict>>;
|
|
76
|
+
baselineOperationId: z.ZodString;
|
|
77
|
+
candidateOperationId: z.ZodString;
|
|
78
|
+
criterion: z.ZodLiteral<"all_declared_checks_pass_after_failed_parent">;
|
|
79
|
+
receivedAt: z.ZodString;
|
|
80
|
+
eligibleAt: z.ZodString;
|
|
81
|
+
frozenAt: z.ZodString;
|
|
82
|
+
}, z.core.$strict>;
|
|
83
|
+
export declare const CorrectionVerificationPlanSchema: z.ZodObject<{
|
|
84
|
+
schemaVersion: z.ZodLiteral<"openpond.correctionVerificationPlan.v1">;
|
|
85
|
+
id: z.ZodString;
|
|
86
|
+
revision: z.ZodLiteral<1>;
|
|
87
|
+
teamId: z.ZodString;
|
|
88
|
+
ownerUserId: z.ZodString;
|
|
89
|
+
modelId: z.ZodString;
|
|
90
|
+
classification: z.ZodLiteral<"reviewed_model_behavior">;
|
|
91
|
+
feedback: z.ZodObject<{
|
|
92
|
+
id: z.ZodString;
|
|
93
|
+
contentHash: z.ZodString;
|
|
94
|
+
revision: z.ZodNumber;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
evidence: z.ZodObject<{
|
|
97
|
+
id: z.ZodString;
|
|
98
|
+
contentHash: z.ZodString;
|
|
99
|
+
revision: z.ZodNumber;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
trainingJobId: z.ZodString;
|
|
102
|
+
checkpoint: z.ZodObject<{
|
|
103
|
+
id: z.ZodString;
|
|
104
|
+
contentHash: z.ZodString;
|
|
105
|
+
}, z.core.$strict>;
|
|
106
|
+
artifact: z.ZodObject<{
|
|
107
|
+
id: z.ZodString;
|
|
108
|
+
contentHash: z.ZodString;
|
|
109
|
+
}, z.core.$strict>;
|
|
110
|
+
taskset: z.ZodObject<{
|
|
111
|
+
id: z.ZodString;
|
|
112
|
+
contentHash: z.ZodString;
|
|
113
|
+
revision: z.ZodNumber;
|
|
114
|
+
}, z.core.$strict>;
|
|
115
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
116
|
+
id: z.ZodString;
|
|
117
|
+
role: z.ZodEnum<{
|
|
118
|
+
replay: "replay";
|
|
119
|
+
transfer: "transfer";
|
|
120
|
+
}>;
|
|
121
|
+
taskId: z.ZodString;
|
|
122
|
+
seeds: z.ZodArray<z.ZodString>;
|
|
123
|
+
grader: z.ZodObject<{
|
|
124
|
+
id: z.ZodString;
|
|
125
|
+
revision: z.ZodString;
|
|
126
|
+
contentHash: z.ZodString;
|
|
127
|
+
reward: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
128
|
+
id: z.ZodString;
|
|
129
|
+
contentHash: z.ZodString;
|
|
130
|
+
revision: z.ZodNumber;
|
|
131
|
+
}, z.core.$strict>>>;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
failureMeaning: z.ZodLiteral<"corrected_mistake_repeated">;
|
|
134
|
+
}, z.core.$strict>>;
|
|
135
|
+
baselineOperationId: z.ZodString;
|
|
136
|
+
candidateOperationId: z.ZodString;
|
|
137
|
+
criterion: z.ZodLiteral<"all_declared_checks_pass_after_failed_parent">;
|
|
138
|
+
receivedAt: z.ZodString;
|
|
139
|
+
eligibleAt: z.ZodString;
|
|
140
|
+
frozenAt: z.ZodString;
|
|
141
|
+
contentHash: z.ZodString;
|
|
142
|
+
}, z.core.$strict>;
|
|
143
|
+
export type CorrectionVerificationPlan = z.infer<typeof CorrectionVerificationPlanSchema>;
|
|
144
|
+
export declare const CorrectionOpportunitySchema: z.ZodObject<{
|
|
145
|
+
schemaVersion: z.ZodLiteral<"openpond.correctionOpportunity.v1">;
|
|
146
|
+
id: z.ZodString;
|
|
147
|
+
correction: z.ZodObject<{
|
|
148
|
+
id: z.ZodString;
|
|
149
|
+
contentHash: z.ZodString;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
source: z.ZodEnum<{
|
|
152
|
+
evaluation: "evaluation";
|
|
153
|
+
live: "live";
|
|
154
|
+
}>;
|
|
155
|
+
modelId: z.ZodString;
|
|
156
|
+
trainingJobId: z.ZodString;
|
|
157
|
+
artifactId: z.ZodString;
|
|
158
|
+
checkpointId: z.ZodString;
|
|
159
|
+
observedAt: z.ZodString;
|
|
160
|
+
occurredAt: z.ZodString;
|
|
161
|
+
attempt: z.ZodObject<{
|
|
162
|
+
id: z.ZodString;
|
|
163
|
+
contentHash: z.ZodString;
|
|
164
|
+
}, z.core.$strict>;
|
|
165
|
+
classification: z.ZodEnum<{
|
|
166
|
+
confirmed_repeat: "confirmed_repeat";
|
|
167
|
+
passed: "passed";
|
|
168
|
+
unscored: "unscored";
|
|
169
|
+
}>;
|
|
170
|
+
checkIds: z.ZodArray<z.ZodString>;
|
|
171
|
+
}, z.core.$strict>;
|
|
172
|
+
export type CorrectionOpportunity = z.infer<typeof CorrectionOpportunitySchema>;
|
|
173
|
+
export declare const CorrectionMetricObservationSchema: z.ZodObject<{
|
|
174
|
+
schemaVersion: z.ZodLiteral<"openpond.correctionMetricObservation.v1">;
|
|
175
|
+
correction: z.ZodObject<{
|
|
176
|
+
id: z.ZodString;
|
|
177
|
+
contentHash: z.ZodString;
|
|
178
|
+
}, z.core.$strict>;
|
|
179
|
+
modelId: z.ZodString;
|
|
180
|
+
trainingJobId: z.ZodString;
|
|
181
|
+
checkpointId: z.ZodString;
|
|
182
|
+
artifactId: z.ZodString;
|
|
183
|
+
receivedAt: z.ZodString;
|
|
184
|
+
eligibleAt: z.ZodString;
|
|
185
|
+
firstBatchConsumptionAt: z.ZodNullable<z.ZodString>;
|
|
186
|
+
firstTrainingUseAt: z.ZodNullable<z.ZodString>;
|
|
187
|
+
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
188
|
+
servedAt: z.ZodNullable<z.ZodString>;
|
|
189
|
+
baselineEvaluation: z.ZodNullable<z.ZodObject<{
|
|
190
|
+
id: z.ZodString;
|
|
191
|
+
contentHash: z.ZodString;
|
|
192
|
+
}, z.core.$strict>>;
|
|
193
|
+
candidateEvaluation: z.ZodNullable<z.ZodObject<{
|
|
194
|
+
id: z.ZodString;
|
|
195
|
+
contentHash: z.ZodString;
|
|
196
|
+
}, z.core.$strict>>;
|
|
197
|
+
status: z.ZodEnum<{
|
|
198
|
+
baseline_not_failed: "baseline_not_failed";
|
|
199
|
+
pending_exposure: "pending_exposure";
|
|
200
|
+
pending_verification: "pending_verification";
|
|
201
|
+
regressed: "regressed";
|
|
202
|
+
verified: "verified";
|
|
203
|
+
withdrawn: "withdrawn";
|
|
204
|
+
}>;
|
|
205
|
+
opportunities: z.ZodArray<z.ZodObject<{
|
|
206
|
+
schemaVersion: z.ZodLiteral<"openpond.correctionOpportunity.v1">;
|
|
207
|
+
id: z.ZodString;
|
|
208
|
+
correction: z.ZodObject<{
|
|
209
|
+
id: z.ZodString;
|
|
210
|
+
contentHash: z.ZodString;
|
|
211
|
+
}, z.core.$strict>;
|
|
212
|
+
source: z.ZodEnum<{
|
|
213
|
+
evaluation: "evaluation";
|
|
214
|
+
live: "live";
|
|
215
|
+
}>;
|
|
216
|
+
modelId: z.ZodString;
|
|
217
|
+
trainingJobId: z.ZodString;
|
|
218
|
+
artifactId: z.ZodString;
|
|
219
|
+
checkpointId: z.ZodString;
|
|
220
|
+
observedAt: z.ZodString;
|
|
221
|
+
occurredAt: z.ZodString;
|
|
222
|
+
attempt: z.ZodObject<{
|
|
223
|
+
id: z.ZodString;
|
|
224
|
+
contentHash: z.ZodString;
|
|
225
|
+
}, z.core.$strict>;
|
|
226
|
+
classification: z.ZodEnum<{
|
|
227
|
+
confirmed_repeat: "confirmed_repeat";
|
|
228
|
+
passed: "passed";
|
|
229
|
+
unscored: "unscored";
|
|
230
|
+
}>;
|
|
231
|
+
checkIds: z.ZodArray<z.ZodString>;
|
|
232
|
+
}, z.core.$strict>>;
|
|
233
|
+
blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
234
|
+
observedAt: z.ZodString;
|
|
235
|
+
}, z.core.$strict>;
|
|
236
|
+
export type CorrectionMetricObservation = z.infer<typeof CorrectionMetricObservationSchema>;
|
|
237
|
+
export declare const CorrectionMetricSummarySchema: z.ZodObject<{
|
|
238
|
+
schemaVersion: z.ZodLiteral<"openpond.correctionMetricSummary.v1">;
|
|
239
|
+
observedAt: z.ZodString;
|
|
240
|
+
scope: z.ZodObject<{
|
|
241
|
+
teamId: z.ZodString;
|
|
242
|
+
modelId: z.ZodString;
|
|
243
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
244
|
+
checkpointId: z.ZodNullable<z.ZodString>;
|
|
245
|
+
artifactId: z.ZodNullable<z.ZodString>;
|
|
246
|
+
}, z.core.$strict>;
|
|
247
|
+
window: z.ZodObject<{
|
|
248
|
+
from: z.ZodString;
|
|
249
|
+
to: z.ZodString;
|
|
250
|
+
}, z.core.$strict>;
|
|
251
|
+
correctionCount: z.ZodNumber;
|
|
252
|
+
adaptation: z.ZodObject<{
|
|
253
|
+
medianSeconds: z.ZodNullable<z.ZodNumber>;
|
|
254
|
+
resolvedCount: z.ZodNumber;
|
|
255
|
+
pendingCount: z.ZodNumber;
|
|
256
|
+
oldestPendingSeconds: z.ZodNullable<z.ZodNumber>;
|
|
257
|
+
}, z.core.$strict>;
|
|
258
|
+
evaluation: z.ZodObject<{
|
|
259
|
+
confirmedRepeats: z.ZodNumber;
|
|
260
|
+
scoredRelevantOpportunities: z.ZodNumber;
|
|
261
|
+
unscoredOpportunities: z.ZodNumber;
|
|
262
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
263
|
+
source: z.ZodLiteral<"evaluation">;
|
|
264
|
+
}, z.core.$strict>;
|
|
265
|
+
live: z.ZodObject<{
|
|
266
|
+
confirmedRepeats: z.ZodNumber;
|
|
267
|
+
scoredRelevantOpportunities: z.ZodNumber;
|
|
268
|
+
unscoredOpportunities: z.ZodNumber;
|
|
269
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
270
|
+
source: z.ZodLiteral<"live">;
|
|
271
|
+
}, z.core.$strict>;
|
|
272
|
+
}, z.core.$strict>;
|
|
273
|
+
export type CorrectionMetricSummary = z.infer<typeof CorrectionMetricSummarySchema>;
|
|
274
|
+
//# sourceMappingURL=correction-metrics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"correction-metrics.d.ts","sourceRoot":"","sources":["../../../src/learning/correction-metrics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;8EAC8E;AAC9E,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;kBAOnC,CAAC;AACZ,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAelD,CAAC;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAyF,CAAC;AACvI,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQ7B,CAAC;AACZ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASnC,CAAC;AACZ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAM/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -36,4 +36,6 @@ export * from "./task-queue-inspection.js";
|
|
|
36
36
|
export * from "./acceptance-plan.js";
|
|
37
37
|
export * from "./acceptance-group.js";
|
|
38
38
|
export { TrainingHandoffOriginSchema, type TrainingHandoffOrigin } from "./training-handoff.js";
|
|
39
|
+
export * from "./correction-metrics.js";
|
|
40
|
+
export * from "./continuation-mode.js";
|
|
39
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/learning/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,c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uB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAC/E,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAE3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,OAAO,EAAE,2BAA2B,EAAE,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAChG,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC"}
|
|
@@ -883,6 +883,18 @@ export declare const PublishLearningResourceCommandSchema: z.ZodDiscriminatedUni
|
|
|
883
883
|
id: z.ZodString;
|
|
884
884
|
contentHash: z.ZodString;
|
|
885
885
|
}, z.core.$strict>>;
|
|
886
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
887
|
+
adapterMode: z.ZodEnum<{
|
|
888
|
+
residual_append: "residual_append";
|
|
889
|
+
sequential_merge: "sequential_merge";
|
|
890
|
+
shared: "shared";
|
|
891
|
+
}>;
|
|
892
|
+
sourceConfiguration: z.ZodObject<{
|
|
893
|
+
id: z.ZodString;
|
|
894
|
+
revision: z.ZodNumber;
|
|
895
|
+
etag: z.ZodString;
|
|
896
|
+
}, z.core.$strict>;
|
|
897
|
+
}, z.core.$strict>>;
|
|
886
898
|
}, z.core.$strict>;
|
|
887
899
|
limits: z.ZodObject<{
|
|
888
900
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -1681,6 +1693,18 @@ export declare const PublishLearningResourcesCommandSchema: z.ZodObject<{
|
|
|
1681
1693
|
id: z.ZodString;
|
|
1682
1694
|
contentHash: z.ZodString;
|
|
1683
1695
|
}, z.core.$strict>>;
|
|
1696
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
1697
|
+
adapterMode: z.ZodEnum<{
|
|
1698
|
+
residual_append: "residual_append";
|
|
1699
|
+
sequential_merge: "sequential_merge";
|
|
1700
|
+
shared: "shared";
|
|
1701
|
+
}>;
|
|
1702
|
+
sourceConfiguration: z.ZodObject<{
|
|
1703
|
+
id: z.ZodString;
|
|
1704
|
+
revision: z.ZodNumber;
|
|
1705
|
+
etag: z.ZodString;
|
|
1706
|
+
}, z.core.$strict>;
|
|
1707
|
+
}, z.core.$strict>>;
|
|
1684
1708
|
}, z.core.$strict>;
|
|
1685
1709
|
limits: z.ZodObject<{
|
|
1686
1710
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -3302,6 +3326,18 @@ export declare const LearningCommandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3302
3326
|
id: z.ZodString;
|
|
3303
3327
|
contentHash: z.ZodString;
|
|
3304
3328
|
}, z.core.$strict>>;
|
|
3329
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
3330
|
+
adapterMode: z.ZodEnum<{
|
|
3331
|
+
residual_append: "residual_append";
|
|
3332
|
+
sequential_merge: "sequential_merge";
|
|
3333
|
+
shared: "shared";
|
|
3334
|
+
}>;
|
|
3335
|
+
sourceConfiguration: z.ZodObject<{
|
|
3336
|
+
id: z.ZodString;
|
|
3337
|
+
revision: z.ZodNumber;
|
|
3338
|
+
etag: z.ZodString;
|
|
3339
|
+
}, z.core.$strict>;
|
|
3340
|
+
}, z.core.$strict>>;
|
|
3305
3341
|
}, z.core.$strict>;
|
|
3306
3342
|
limits: z.ZodObject<{
|
|
3307
3343
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -4099,6 +4135,18 @@ export declare const LearningCommandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
4099
4135
|
id: z.ZodString;
|
|
4100
4136
|
contentHash: z.ZodString;
|
|
4101
4137
|
}, z.core.$strict>>;
|
|
4138
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
4139
|
+
adapterMode: z.ZodEnum<{
|
|
4140
|
+
residual_append: "residual_append";
|
|
4141
|
+
sequential_merge: "sequential_merge";
|
|
4142
|
+
shared: "shared";
|
|
4143
|
+
}>;
|
|
4144
|
+
sourceConfiguration: z.ZodObject<{
|
|
4145
|
+
id: z.ZodString;
|
|
4146
|
+
revision: z.ZodNumber;
|
|
4147
|
+
etag: z.ZodString;
|
|
4148
|
+
}, z.core.$strict>;
|
|
4149
|
+
}, z.core.$strict>>;
|
|
4102
4150
|
}, z.core.$strict>;
|
|
4103
4151
|
limits: z.ZodObject<{
|
|
4104
4152
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/learning/operations.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;kBAG/B,CAAC;AAEZ,eAAO,MAAM,oCAAoC
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/learning/operations.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;kBAG/B,CAAC;AAEZ,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;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573
1573
|
id: z.ZodString;
|
|
1574
1574
|
contentHash: z.ZodString;
|
|
1575
1575
|
}, z.core.$strict>>;
|
|
1576
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
1577
|
+
adapterMode: z.ZodEnum<{
|
|
1578
|
+
residual_append: "residual_append";
|
|
1579
|
+
sequential_merge: "sequential_merge";
|
|
1580
|
+
shared: "shared";
|
|
1581
|
+
}>;
|
|
1582
|
+
sourceConfiguration: z.ZodObject<{
|
|
1583
|
+
id: z.ZodString;
|
|
1584
|
+
revision: z.ZodNumber;
|
|
1585
|
+
etag: z.ZodString;
|
|
1586
|
+
}, z.core.$strict>;
|
|
1587
|
+
}, z.core.$strict>>;
|
|
1576
1588
|
}, z.core.$strict>;
|
|
1577
1589
|
limits: z.ZodObject<{
|
|
1578
1590
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../src/learning/repository.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAkO,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1R,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAKlD,eAAO,MAAM,uBAAuB;aAClC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACL,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAIvL;AACD,wBAAsB,sBAAsB,CAAC,CAAC,SAAS,oBAAoB,EAAE,WAAW,EAAE,mBAAmB,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAKjL;AACD,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEjG;AACD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAEhF"}
|
|
@@ -1146,6 +1146,18 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
1146
1146
|
id: z.ZodString;
|
|
1147
1147
|
contentHash: z.ZodString;
|
|
1148
1148
|
}, z.core.$strict>>;
|
|
1149
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
1150
|
+
adapterMode: z.ZodEnum<{
|
|
1151
|
+
residual_append: "residual_append";
|
|
1152
|
+
sequential_merge: "sequential_merge";
|
|
1153
|
+
shared: "shared";
|
|
1154
|
+
}>;
|
|
1155
|
+
sourceConfiguration: z.ZodObject<{
|
|
1156
|
+
id: z.ZodString;
|
|
1157
|
+
revision: z.ZodNumber;
|
|
1158
|
+
etag: z.ZodString;
|
|
1159
|
+
}, z.core.$strict>;
|
|
1160
|
+
}, z.core.$strict>>;
|
|
1149
1161
|
}, z.core.$strict>;
|
|
1150
1162
|
limits: z.ZodObject<{
|
|
1151
1163
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -1943,6 +1955,18 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
|
|
|
1943
1955
|
id: z.ZodString;
|
|
1944
1956
|
contentHash: z.ZodString;
|
|
1945
1957
|
}, z.core.$strict>>;
|
|
1958
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
1959
|
+
adapterMode: z.ZodEnum<{
|
|
1960
|
+
residual_append: "residual_append";
|
|
1961
|
+
sequential_merge: "sequential_merge";
|
|
1962
|
+
shared: "shared";
|
|
1963
|
+
}>;
|
|
1964
|
+
sourceConfiguration: z.ZodObject<{
|
|
1965
|
+
id: z.ZodString;
|
|
1966
|
+
revision: z.ZodNumber;
|
|
1967
|
+
etag: z.ZodString;
|
|
1968
|
+
}, z.core.$strict>;
|
|
1969
|
+
}, z.core.$strict>>;
|
|
1946
1970
|
}, z.core.$strict>;
|
|
1947
1971
|
limits: z.ZodObject<{
|
|
1948
1972
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -3451,24 +3475,6 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
3451
3475
|
}, z.core.$strict>>;
|
|
3452
3476
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3453
3477
|
contentHash: z.ZodString;
|
|
3454
|
-
}, z.core.$strict> | z.ZodObject<{
|
|
3455
|
-
schemaVersion: z.ZodLiteral<"openpond.learningTextAsset.v1">;
|
|
3456
|
-
id: z.ZodString;
|
|
3457
|
-
revision: z.ZodLiteral<1>;
|
|
3458
|
-
asset: z.ZodObject<{
|
|
3459
|
-
id: z.ZodString;
|
|
3460
|
-
path: z.ZodString;
|
|
3461
|
-
contentHash: z.ZodString;
|
|
3462
|
-
sizeBytes: z.ZodNumber;
|
|
3463
|
-
mediaType: z.ZodString;
|
|
3464
|
-
visibility: z.ZodEnum<{
|
|
3465
|
-
host_private: "host_private";
|
|
3466
|
-
policy: "policy";
|
|
3467
|
-
verifier: "verifier";
|
|
3468
|
-
}>;
|
|
3469
|
-
}, z.core.$strict>;
|
|
3470
|
-
text: z.ZodString;
|
|
3471
|
-
contentHash: z.ZodString;
|
|
3472
3478
|
}, z.core.$strict> | z.ZodObject<{
|
|
3473
3479
|
schemaVersion: z.ZodLiteral<"openpond.taskDefinition.v1">;
|
|
3474
3480
|
id: z.ZodString;
|
|
@@ -4322,6 +4328,18 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
4322
4328
|
id: z.ZodString;
|
|
4323
4329
|
contentHash: z.ZodString;
|
|
4324
4330
|
}, z.core.$strict>>;
|
|
4331
|
+
continuationMode: z.ZodOptional<z.ZodObject<{
|
|
4332
|
+
adapterMode: z.ZodEnum<{
|
|
4333
|
+
residual_append: "residual_append";
|
|
4334
|
+
sequential_merge: "sequential_merge";
|
|
4335
|
+
shared: "shared";
|
|
4336
|
+
}>;
|
|
4337
|
+
sourceConfiguration: z.ZodObject<{
|
|
4338
|
+
id: z.ZodString;
|
|
4339
|
+
revision: z.ZodNumber;
|
|
4340
|
+
etag: z.ZodString;
|
|
4341
|
+
}, z.core.$strict>;
|
|
4342
|
+
}, z.core.$strict>>;
|
|
4325
4343
|
}, z.core.$strict>;
|
|
4326
4344
|
limits: z.ZodObject<{
|
|
4327
4345
|
maxIterationSpendUsd: z.ZodNumber;
|
|
@@ -4600,6 +4618,24 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
|
|
|
4600
4618
|
aggregation: z.ZodLiteral<"weighted_mean">;
|
|
4601
4619
|
unscorable: z.ZodLiteral<"exclude_optional_require_all_required">;
|
|
4602
4620
|
contentHash: z.ZodString;
|
|
4621
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
4622
|
+
schemaVersion: z.ZodLiteral<"openpond.learningTextAsset.v1">;
|
|
4623
|
+
id: z.ZodString;
|
|
4624
|
+
revision: z.ZodLiteral<1>;
|
|
4625
|
+
asset: z.ZodObject<{
|
|
4626
|
+
id: z.ZodString;
|
|
4627
|
+
path: z.ZodString;
|
|
4628
|
+
contentHash: z.ZodString;
|
|
4629
|
+
sizeBytes: z.ZodNumber;
|
|
4630
|
+
mediaType: z.ZodString;
|
|
4631
|
+
visibility: z.ZodEnum<{
|
|
4632
|
+
host_private: "host_private";
|
|
4633
|
+
policy: "policy";
|
|
4634
|
+
verifier: "verifier";
|
|
4635
|
+
}>;
|
|
4636
|
+
}, z.core.$strict>;
|
|
4637
|
+
text: z.ZodString;
|
|
4638
|
+
contentHash: z.ZodString;
|
|
4603
4639
|
}, z.core.$strict>)[]>>;
|
|
4604
4640
|
}, z.core.$strict>;
|
|
4605
4641
|
//# sourceMappingURL=transport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../../src/learning/transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,mFAAmF;AACnF,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAG5D;AAED,0FAA0F;AAC1F,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../../src/learning/transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,mFAAmF;AACnF,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAG5D;AAED,0FAA0F;AAC1F,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG/B,CAAC"}
|
|
@@ -17,6 +17,8 @@ export interface NativeSource {
|
|
|
17
17
|
export interface NativeSession {
|
|
18
18
|
nativeSessionId: string;
|
|
19
19
|
sourceInstanceId: string;
|
|
20
|
+
/** Native worker identity is distinct from the parent transcript session id. */
|
|
21
|
+
parentNativeSessionId?: string;
|
|
20
22
|
path: string;
|
|
21
23
|
title: string;
|
|
22
24
|
cwd: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../../src/native-conversations/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,YAAY,EAAE,mBAAmB,EAAE,CAAC;AACpC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC3C,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,OAAO,CAAC;QAAC,YAAY,EAAE,OAAO,CAAA;KAAE,CAAC;IACzE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file":"history.d.ts","sourceRoot":"","sources":["../../../src/native-conversations/history.ts"],"names":[],"mappings":"AAkBA,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACxB,MAAM,gBAAgB,CAAC;AAqCxB,wBAAsB,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE;IAC9F,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7D;;UAKA;AAqDD,wBAAsB,YAAY,CAChC,MAAM,EAAE,YAAY,EACpB,KAAK,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAO;;;
|
|
1
|
+
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../src/native-conversations/history.ts"],"names":[],"mappings":"AAkBA,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACxB,MAAM,gBAAgB,CAAC;AAqCxB,wBAAsB,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE;IAC9F,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7D;;UAKA;AAqDD,wBAAsB,YAAY,CAChC,MAAM,EAAE,YAAY,EACpB,KAAK,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,qBAAqB,CAAC,EAAE,MAAM,CAAA;CAAO;;;GAwJhG;AAYD,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAO1H;AAED,wBAAsB,WAAW,CAC/B,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,aAAa,EACtB,KAAK,GAAE;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;GAsElI"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Retained provider titles take precedence over a preview of the first real user prompt. */
|
|
2
|
-
export declare function claudeConversationTitle(rows: readonly Record<string, unknown>[], sessionId: string): string;
|
|
2
|
+
export declare function claudeConversationTitle(rows: readonly Record<string, unknown>[], sessionId: string, allowSidechain?: boolean): string;
|
|
3
3
|
export declare function retainedConversationTitle(value: unknown, sessionId: string): string;
|
|
4
4
|
//# sourceMappingURL=titles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titles.d.ts","sourceRoot":"","sources":["../../../src/native-conversations/titles.ts"],"names":[],"mappings":"AAOA,6FAA6F;AAC7F,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"titles.d.ts","sourceRoot":"","sources":["../../../src/native-conversations/titles.ts"],"names":[],"mappings":"AAOA,6FAA6F;AAC7F,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,UAAQ,GAAG,MAAM,CAuBnI;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEnF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openpond/evals",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "Portable Tasksets, graders, evaluation runs, receipts, conformance fixtures, and Work evidence for OpenPond Harnesses",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"zod": "^4.1.13"
|
|
189
189
|
},
|
|
190
190
|
"peerDependencies": {
|
|
191
|
-
"@openpond/harness": "^0.4.
|
|
191
|
+
"@openpond/harness": "^0.4.10"
|
|
192
192
|
},
|
|
193
193
|
"devDependencies": {
|
|
194
194
|
"@openpond/harness": "workspace:*",
|
|
@@ -4532,6 +4532,46 @@
|
|
|
4532
4532
|
"items": {
|
|
4533
4533
|
"$ref": "#/$defs/__schema9"
|
|
4534
4534
|
}
|
|
4535
|
+
},
|
|
4536
|
+
"continuationMode": {
|
|
4537
|
+
"type": "object",
|
|
4538
|
+
"properties": {
|
|
4539
|
+
"adapterMode": {
|
|
4540
|
+
"type": "string",
|
|
4541
|
+
"enum": [
|
|
4542
|
+
"residual_append",
|
|
4543
|
+
"shared",
|
|
4544
|
+
"sequential_merge"
|
|
4545
|
+
]
|
|
4546
|
+
},
|
|
4547
|
+
"sourceConfiguration": {
|
|
4548
|
+
"type": "object",
|
|
4549
|
+
"properties": {
|
|
4550
|
+
"id": {
|
|
4551
|
+
"$ref": "#/$defs/__schema0"
|
|
4552
|
+
},
|
|
4553
|
+
"revision": {
|
|
4554
|
+
"type": "integer",
|
|
4555
|
+
"exclusiveMinimum": 0,
|
|
4556
|
+
"maximum": 9007199254740991
|
|
4557
|
+
},
|
|
4558
|
+
"etag": {
|
|
4559
|
+
"$ref": "#/$defs/__schema2"
|
|
4560
|
+
}
|
|
4561
|
+
},
|
|
4562
|
+
"required": [
|
|
4563
|
+
"id",
|
|
4564
|
+
"revision",
|
|
4565
|
+
"etag"
|
|
4566
|
+
],
|
|
4567
|
+
"additionalProperties": false
|
|
4568
|
+
}
|
|
4569
|
+
},
|
|
4570
|
+
"required": [
|
|
4571
|
+
"adapterMode",
|
|
4572
|
+
"sourceConfiguration"
|
|
4573
|
+
],
|
|
4574
|
+
"additionalProperties": false
|
|
4535
4575
|
}
|
|
4536
4576
|
},
|
|
4537
4577
|
"required": [
|
|
@@ -680,6 +680,46 @@
|
|
|
680
680
|
"items": {
|
|
681
681
|
"$ref": "#/$defs/__schema4"
|
|
682
682
|
}
|
|
683
|
+
},
|
|
684
|
+
"continuationMode": {
|
|
685
|
+
"type": "object",
|
|
686
|
+
"properties": {
|
|
687
|
+
"adapterMode": {
|
|
688
|
+
"type": "string",
|
|
689
|
+
"enum": [
|
|
690
|
+
"residual_append",
|
|
691
|
+
"shared",
|
|
692
|
+
"sequential_merge"
|
|
693
|
+
]
|
|
694
|
+
},
|
|
695
|
+
"sourceConfiguration": {
|
|
696
|
+
"type": "object",
|
|
697
|
+
"properties": {
|
|
698
|
+
"id": {
|
|
699
|
+
"$ref": "#/$defs/__schema2"
|
|
700
|
+
},
|
|
701
|
+
"revision": {
|
|
702
|
+
"type": "integer",
|
|
703
|
+
"exclusiveMinimum": 0,
|
|
704
|
+
"maximum": 9007199254740991
|
|
705
|
+
},
|
|
706
|
+
"etag": {
|
|
707
|
+
"$ref": "#/$defs/__schema3"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
"required": [
|
|
711
|
+
"id",
|
|
712
|
+
"revision",
|
|
713
|
+
"etag"
|
|
714
|
+
],
|
|
715
|
+
"additionalProperties": false
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"required": [
|
|
719
|
+
"adapterMode",
|
|
720
|
+
"sourceConfiguration"
|
|
721
|
+
],
|
|
722
|
+
"additionalProperties": false
|
|
683
723
|
}
|
|
684
724
|
},
|
|
685
725
|
"required": [
|