evalution 1.0.7 → 1.0.8

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.
@@ -4004,7 +4004,7 @@ function readFinishReason(attributes) {
4004
4004
  * Converts a raw message `content` value (a string, or an array of
4005
4005
  * OTel/Vercel-style content parts) into a {@link SpanMessage.content}. Image
4006
4006
  * (and image-bearing `file`) parts are kept rather than dropped — see §A.5 in
4007
- * `specs/trace-workshopping.md` — as are tool calls and tool results.
4007
+ * `specs/trace-workshopping.md` — as are tool calls, tool results and reasoning.
4008
4008
  */
4009
4009
  function toMessageContent(content) {
4010
4010
  if (typeof content === "string") return content;
@@ -4019,6 +4019,12 @@ function toMessageContent(content) {
4019
4019
  type: "text",
4020
4020
  text
4021
4021
  });
4022
+ } else if (part.type === "reasoning") {
4023
+ const text = str(part.text) ?? str(part.content);
4024
+ if (text) parts.push({
4025
+ type: "reasoning",
4026
+ text
4027
+ });
4022
4028
  } else if (part.type === "image") {
4023
4029
  const image = str(part.image) ?? str(part.url);
4024
4030
  if (image) parts.push({
@@ -4106,6 +4112,14 @@ function readOutputToolCalls(attributes) {
4106
4112
  }))) : void 0;
4107
4113
  return Array.isArray(parts) ? parts.filter(isToolCall) : [];
4108
4114
  }
4115
+ /**
4116
+ * The reasoning a model response carried, from `gen_ai.output.messages`
4117
+ * (reasoning content parts) or the Vercel AI SDK's `ai.response.reasoning`,
4118
+ * which it records from 6.0.74 on.
4119
+ */
4120
+ function readOutputReasoning(attributes) {
4121
+ return (parseMessages(attributes["gen_ai.output.messages"]) ?? []).flatMap((m) => typeof m.content === "string" ? [] : m.content.flatMap((p) => p.type === "reasoning" ? [p.text] : [])).join("") || str(attributes["ai.response.reasoning"]) || void 0;
4122
+ }
4109
4123
  /** A JSON-string attribute holding an object or array, or `undefined`. */
4110
4124
  function parseJsonObject(v) {
4111
4125
  const parsed = tryParseJson(v);
@@ -4151,17 +4165,19 @@ function readLLM(attributes) {
4151
4165
  const jsonOutput = tryParseJson(attributes["evalution.llm.output"]) ?? evaluation.output;
4152
4166
  const text = parseOutput(attributes["gen_ai.output.messages"]) ?? str(attributes["ai.response.text"]);
4153
4167
  const toolCalls = readOutputToolCalls(attributes);
4168
+ const reasoning = readOutputReasoning(attributes);
4154
4169
  const output = jsonOutput !== void 0 ? jsonOutput : text !== void 0 && attributes["gen_ai.output.type"] === "json" ? parseJsonOrRaw(text) : toolCalls.length > 0 ? toolCallingOutput(text, toolCalls) : text;
4155
4170
  const paramEntries = PARAM_ATTRIBUTES.map((key) => [key.replace("gen_ai.request.", ""), attributes[key]]).filter(([, v]) => v !== void 0);
4156
4171
  const modelParameters = paramEntries.length > 0 ? Object.fromEntries(paramEntries) : void 0;
4157
4172
  const totalTokens = promptTokens !== void 0 && completionTokens !== void 0 ? promptTokens + completionTokens : void 0;
4158
- if (!provider && !model && !finishReason && !promptTokens && !completionTokens && !input && (output === void 0 || output === "") && !modelParameters) return;
4173
+ if (!provider && !model && !finishReason && !promptTokens && !completionTokens && !input && (output === void 0 || output === "") && !reasoning && !modelParameters) return;
4159
4174
  return {
4160
4175
  ...provider && { provider },
4161
4176
  ...model && { model },
4162
4177
  ...finishReason && { finishReason },
4163
4178
  ...input && { input },
4164
4179
  ...output !== void 0 && output !== "" && { output },
4180
+ ...reasoning && { reasoning },
4165
4181
  ...promptTokens !== void 0 && { promptTokens },
4166
4182
  ...completionTokens !== void 0 && { completionTokens },
4167
4183
  ...totalTokens !== void 0 && { totalTokens },
@@ -5930,6 +5946,11 @@ function toSpanMessages(messages, instructions) {
5930
5946
  type: "text",
5931
5947
  text: c.text
5932
5948
  });
5949
+ } else if (c.type === "reasoning") {
5950
+ if (c.text) parts.push({
5951
+ type: "reasoning",
5952
+ text: c.text
5953
+ });
5933
5954
  } else if (c.type === "image") {
5934
5955
  const image = typeof c.image === "string" ? c.image : c.image?.toString();
5935
5956
  if (image) parts.push({
@@ -6271,6 +6292,7 @@ var VercelAISDKTelemetry = class extends BaseTraceIngestor {
6271
6292
  model: event.model.modelId,
6272
6293
  finishReason: event.finishReason,
6273
6294
  output: toolCalls.length > 0 ? toolCallingOutput(event.text, toolCalls) : run.structuredOutput ? parseStructured(event.text) : event.text,
6295
+ ...event.reasoningText && { reasoning: event.reasoningText },
6274
6296
  promptTokens: event.usage.inputTokens,
6275
6297
  completionTokens: event.usage.outputTokens,
6276
6298
  totalTokens: event.usage.totalTokens,
@@ -6885,6 +6907,46 @@ function partitionInputs(target, noun = "Resource") {
6885
6907
  function resourceParameterNames(target) {
6886
6908
  return partitionInputs(target).params.map(([name]) => name);
6887
6909
  }
6910
+ /**
6911
+ * The description a schema carries, if any. JSON Schema is how Standard Schema
6912
+ * shares one, and it sees through wrappers (`.describe()` then `.optional()`).
6913
+ * A schema with no JSON form falls back to its own `description`, as zod's
6914
+ * `z.date()` must, which only reads what its outermost `.describe()` set.
6915
+ */
6916
+ function schemaDescription(schema) {
6917
+ try {
6918
+ const { jsonSchema } = schema["~standard"];
6919
+ const described = jsonSchema?.input({ target: "draft-2020-12" }).description;
6920
+ if (typeof described === "string") return described;
6921
+ } catch {}
6922
+ const { description } = schema;
6923
+ return typeof description === "string" ? description : void 0;
6924
+ }
6925
+ /**
6926
+ * What the schemas of `target`'s declared arguments say of them, by name.
6927
+ *
6928
+ * An argument is optional when its schema accepts `undefined`, which is what
6929
+ * an unbound one is validated as. Asking the schema covers what a parameter's
6930
+ * type can't show, like a `.default()`, and needs no checker. A schema that
6931
+ * throws is taken to require a value.
6932
+ */
6933
+ async function parameterDetails(target) {
6934
+ const accepted = async (schema) => {
6935
+ try {
6936
+ return !(await schema["~standard"].validate(void 0)).issues;
6937
+ } catch {
6938
+ return false;
6939
+ }
6940
+ };
6941
+ const entries = await Promise.all(partitionInputs(target).params.map(async ([name, schema]) => {
6942
+ const description = schemaDescription(schema);
6943
+ return [name, {
6944
+ optional: await accepted(schema),
6945
+ ...description && { description }
6946
+ }];
6947
+ }));
6948
+ return new Map(entries);
6949
+ }
6888
6950
  /** Why a `scope: 'server'` resource that declares arguments is rejected. See `specs/resource-arguments.md` §D. */
6889
6951
  function serverScopedArgumentsError(label) {
6890
6952
  return `Resource '${label}' is server-scoped and declares arguments — a server-scoped resource may not take arguments (specs/resource-arguments.md §D).`;
@@ -8788,7 +8850,7 @@ var EvalRunner = class {
8788
8850
  drifted: false,
8789
8851
  finished: Promise.resolve(),
8790
8852
  evalName: definition.name,
8791
- traceIds: /* @__PURE__ */ new Set()
8853
+ traces: /* @__PURE__ */ new Map()
8792
8854
  };
8793
8855
  this.active.set(run.id, active);
8794
8856
  const jobs = runnable.flatMap((arm) => rows.map(({ row, rowIndex }) => ({
@@ -8846,14 +8908,16 @@ var EvalRunner = class {
8846
8908
  * the trace list can group a run's traces before their rows are recorded.
8847
8909
  */
8848
8910
  traceRuns() {
8849
- return Array.from(this.active.values(), (active) => Array.from(active.traceIds, (traceId) => ({
8911
+ return Array.from(this.active.values(), (active) => Array.from(active.traces, ([traceId, arm]) => ({
8850
8912
  providerId: active.provider.id,
8851
8913
  traceProviderId: this.options.traceProviderId,
8852
8914
  traceId,
8853
8915
  evalId: active.run.evalId,
8854
8916
  evalName: active.evalName,
8855
8917
  runId: active.run.id,
8856
- startedAt: active.run.startedAt
8918
+ startedAt: active.run.startedAt,
8919
+ armId: arm.id,
8920
+ armLabel: arm.label
8857
8921
  }))).flat();
8858
8922
  }
8859
8923
  progress(active, status) {
@@ -9025,7 +9089,7 @@ var EvalRunner = class {
9025
9089
  settled = ran.settled;
9026
9090
  traceId = ran.response.traceId;
9027
9091
  rootSpanId = ran.response.rootSpanId;
9028
- active.traceIds.add(traceId);
9092
+ active.traces.set(traceId, job.arm);
9029
9093
  version = ran.response.version;
9030
9094
  variation = ran.response.variation;
9031
9095
  } catch (err) {
@@ -10132,6 +10196,13 @@ const bundledMigrations$2 = [
10132
10196
  "\nALTER TABLE `spans` ADD `llm_cost_cache_read` real;",
10133
10197
  "\nALTER TABLE `spans` ADD `llm_cost_cache_write` real;\n"
10134
10198
  ]
10199
+ },
10200
+ {
10201
+ "name": "20261106230751_lively_blue_blade",
10202
+ "hash": "c7d45b4019aa84ada631942bcc1ce84dff0cc1d1e9902681f1c49f1ab7179dc9",
10203
+ "folderMillis": 1794006471e3,
10204
+ "bps": true,
10205
+ "sql": ["-- SPDX-License-Identifier: AGPL-3.0-only\n-- Copyright (c) 2026 Alexander Corrado\n\nALTER TABLE `spans` ADD `llm_reasoning` text;"]
10135
10206
  }
10136
10207
  ];
10137
10208
  //#endregion
@@ -10496,7 +10567,8 @@ var TursoDatasetProvider = class {
10496
10567
  name: input.name,
10497
10568
  fields: input.fields.map((field, i) => ({
10498
10569
  id: fieldIdFor(i),
10499
- def: field.def
10570
+ def: field.def,
10571
+ ...field.added && { added: true }
10500
10572
  })),
10501
10573
  ...input.prompt && { prompt: input.prompt },
10502
10574
  createdAt: now,
@@ -11596,7 +11668,7 @@ var TursoEvalProvider = class {
11596
11668
  for (const row of rows) {
11597
11669
  const [run] = await this.db.select().from(evalRuns).where(eq(evalRuns.id, row.runId));
11598
11670
  if (!run) continue;
11599
- const { definition, arms } = rowToRun(run);
11671
+ const { definition, arms, startedAt } = rowToRun(run);
11600
11672
  const checks = await this.db.select().from(evalCheckResults).where(and(eq(evalCheckResults.runId, row.runId), eq(evalCheckResults.armId, row.armId), eq(evalCheckResults.rowId, row.rowId), eq(evalCheckResults.sample, row.sample)));
11601
11673
  for (const c of checks) {
11602
11674
  const check = definition.checks.find((d) => d.id === c.checkId);
@@ -11605,7 +11677,8 @@ var TursoEvalProvider = class {
11605
11677
  evalId: definition.id,
11606
11678
  evalName: definition.name,
11607
11679
  checkLabel: check?.label ?? check?.uri ?? c.checkId,
11608
- armLabel: arms.find((a) => a.id === row.armId)?.label ?? row.armId
11680
+ armLabel: arms.find((a) => a.id === row.armId)?.label ?? row.armId,
11681
+ startedAt
11609
11682
  });
11610
11683
  }
11611
11684
  }
@@ -11614,17 +11687,44 @@ var TursoEvalProvider = class {
11614
11687
  }
11615
11688
  listTraceRuns() {
11616
11689
  return this.serialize(async () => {
11617
- return (await this.db.selectDistinct({
11618
- traceProviderId: evalRowResults.traceProviderId,
11619
- traceId: evalRowResults.traceId,
11690
+ const c = evalCheckResults;
11691
+ const countOf = (outcome) => sql`sum(case when ${c.outcome} = ${outcome} then 1 else 0 end)`.as(outcome);
11692
+ const checkCounts = this.db.select({
11693
+ runId: c.runId,
11694
+ armId: c.armId,
11695
+ rowId: c.rowId,
11696
+ sample: c.sample,
11697
+ checks: sql`count(*)`.as("checks"),
11698
+ pass: countOf("pass"),
11699
+ fail: countOf("fail"),
11700
+ error: countOf("error"),
11701
+ skipped: countOf("skipped"),
11702
+ scored: countOf("scored")
11703
+ }).from(c).groupBy(c.runId, c.armId, c.rowId, c.sample).as("check_counts");
11704
+ const r = evalRowResults;
11705
+ return (await this.db.select({
11706
+ traceProviderId: r.traceProviderId,
11707
+ traceId: r.traceId,
11620
11708
  runId: evalRuns.id,
11621
11709
  evalId: evals.id,
11622
11710
  evalName: evals.name,
11623
- startedAt: evalRuns.startedAt
11624
- }).from(evalRowResults).innerJoin(evalRuns, eq(evalRuns.id, evalRowResults.runId)).innerJoin(evals, eq(evals.id, evalRuns.evalId)).where(and(isNotNull(evalRowResults.traceProviderId), isNotNull(evalRowResults.traceId)))).map((row) => ({
11711
+ startedAt: evalRuns.startedAt,
11712
+ armId: r.armId,
11713
+ arms: evalRuns.arms,
11714
+ checks: checkCounts.checks,
11715
+ counts: {
11716
+ pass: checkCounts.pass,
11717
+ fail: checkCounts.fail,
11718
+ error: checkCounts.error,
11719
+ skipped: checkCounts.skipped,
11720
+ scored: checkCounts.scored
11721
+ }
11722
+ }).from(r).innerJoin(evalRuns, eq(evalRuns.id, r.runId)).innerJoin(evals, eq(evals.id, evalRuns.evalId)).leftJoin(checkCounts, and(eq(checkCounts.runId, r.runId), eq(checkCounts.armId, r.armId), eq(checkCounts.rowId, r.rowId), eq(checkCounts.sample, r.sample))).where(and(isNotNull(r.traceProviderId), isNotNull(r.traceId)))).map(({ arms, checks, counts, ...row }) => ({
11625
11723
  ...row,
11626
11724
  traceProviderId: row.traceProviderId,
11627
- traceId: row.traceId
11725
+ traceId: row.traceId,
11726
+ armLabel: JSON.parse(arms).find((a) => a.id === row.armId)?.label ?? row.armId,
11727
+ ...checks !== null && { checkCounts: counts }
11628
11728
  }));
11629
11729
  });
11630
11730
  }
@@ -11793,6 +11893,7 @@ CREATE TABLE spans (
11793
11893
  llm_cost_cache_write REAL, -- USD, the part of llm_cost_prompt spent on cache writes
11794
11894
  llm_input TEXT, -- JSON: an array of messages {role, content}, or any JSON object
11795
11895
  llm_output TEXT, -- JSON: always encoded, so a text output is a JSON string
11896
+ llm_reasoning TEXT, -- the model's reasoning for this turn, as plain text
11796
11897
  llm_parameters TEXT, -- JSON object of model parameters (temperature, ...)
11797
11898
  attributes TEXT, -- JSON object of free-form attributes; "evalution.check" is set on spans an eval check recorded while judging the trace (its CHECK span and everything under it), which aren't part of the run
11798
11899
  resource TEXT, -- JSON object: the OTel resource that produced the span ("service.name", "deployment.environment.name" = 'playground' for runs evalution made, ...)
@@ -11892,6 +11993,10 @@ var BaseTraceProvider = class {
11892
11993
  };
11893
11994
  }
11894
11995
  emitAnnotation(traceId, op, annotation) {
11996
+ this.emitChange({
11997
+ type: "update",
11998
+ traceId
11999
+ });
11895
12000
  const set = this.annotationSubscribers.get(traceId);
11896
12001
  if (!set) return;
11897
12002
  const event = {
@@ -12103,6 +12208,7 @@ const spans = sqliteTable("spans", {
12103
12208
  * so a string output and an object output read back unambiguously.
12104
12209
  */
12105
12210
  llmOutput: text("llm_output"),
12211
+ llmReasoning: text("llm_reasoning"),
12106
12212
  /** JSON `Record<string, unknown>`. */
12107
12213
  llmParameters: text("llm_parameters"),
12108
12214
  /** JSON `Record<string, unknown>`. */
@@ -12222,6 +12328,7 @@ function spanToRow(span) {
12222
12328
  llmCostCacheWrite: span.llm?.cost?.cacheWrite ?? null,
12223
12329
  llmInput: span.llm?.input ? JSON.stringify(span.llm.input) : null,
12224
12330
  llmOutput: span.llm?.output !== void 0 ? JSON.stringify(span.llm.output) : null,
12331
+ llmReasoning: span.llm?.reasoning ?? null,
12225
12332
  llmParameters: span.llm?.modelParameters ? JSON.stringify(span.llm.modelParameters) : null,
12226
12333
  attributes: span.attributes ? JSON.stringify(span.attributes) : null,
12227
12334
  resource: span.resource ? JSON.stringify(span.resource) : null,
@@ -12247,6 +12354,7 @@ function rowToSpan(row) {
12247
12354
  } },
12248
12355
  ...row.llmInput && { input: parseJson(row.llmInput) },
12249
12356
  ...row.llmOutput != null && { output: parseJson(row.llmOutput) },
12357
+ ...row.llmReasoning && { reasoning: row.llmReasoning },
12250
12358
  ...row.llmParameters && { modelParameters: parseJson(row.llmParameters) }
12251
12359
  };
12252
12360
  const hasLlm = Object.keys(llm).length > 0;
@@ -12756,4 +12864,4 @@ var TraceEventIngestor = class extends BaseTraceIngestor {
12756
12864
  }
12757
12865
  };
12758
12866
  //#endregion
12759
- export { fieldsForPrompt as $, createTracerForPrompt as $t, DEFAULT_QUERY_TIMEOUT_MS as A, shortId as At, DEFAULT_EVAL_CONCURRENCY as B, isCheckSpan as Bt, VariationConflictError as C, HttpTraceSink as Ct, normalizeOtlpRequest as D, isEditable as Dt, decodeOtlpProtobuf as E, OTelTraceIngestor as Et, parseColumnSpecs as F, PLAYGROUND_RESOURCE as Ft, evalProblems as G, missingPackageMessage as Gt, EvalRunner as H, assertUpdateStyle as Ht, pathField as I, CHECK_ATTRIBUTE as It, parseBinding as J, PROMPT_NAME_ATTRIBUTE as Jt, InvalidCellError as K, PROMPT_ID_ATTRIBUTE as Kt, pathInstance as L, DEPLOYMENT_ENVIRONMENT_ATTRIBUTE as Lt, InvalidColumnPathError as M, PROMPT_IDENTITY as Mt, isPathColumn as N, TypeSafeTelemetry as Nt, EvalNotFoundError as O, isNonEmptyStringArray as Ot, parseColumnPath as P, BaseTraceIngestor as Pt, PRIMITIVE_FIELD_TYPES as Q, SPAN_KIND_ATTRIBUTE as Qt, DatasetNotFoundError as R, PLAYGROUND_ENVIRONMENT as Rt, datasetQueryColumns as S, VercelAISDKTelemetry as St, toPromptRef as T, setupGlobalOTelPipeline as Tt, emptyCounts as U, findPackageDts as Ut, EvalRunRefusedError as V, spanMessages as Vt, CheckScopeTraceSink as W, isMissingPackage as Wt, parseResources as X, PROMPT_VARIATION_ATTRIBUTE as Xt, parseCell as Y, PROMPT_PROVIDER_ID_ATTRIBUTE as Yt, primitiveBase as Z, PROMPT_VERSION_ATTRIBUTE as Zt, runMigrations as _, isValidInstanceName as _t, mergeSpans as a, isVariationLoaderHookRegistered as an, resolveExecutionInput as at, mkdirSelfIgnoring as b, isStandardSchema as bt, TRACE_QUERY_SCHEMA as c, registerFreshImportHook as cn, collectInputSlots as ct, TursoEvalProvider as d, instanceNames as dt, getPromptSpanAttributes as en, isPrimitiveFieldType as et, runEvalMigrations as f, namedBindings as ft, MIGRATIONS_TABLE as g, resourceParameterNames as gt, runDatasetMigrations as h, ResourceRegistry as ht, TursoTraceProvider as i, LocalFileProvider as in, matchSourcesToSlots as it, SqlQueryError as j, TypeSafeSDK as jt, DEFAULT_MAX_QUERY_ROWS as k, isPromptStyle as kt, LocalEvalProvider as l, registerBundlerResolutionFallback as ln, findInputCycle as lt, TursoDatasetProvider as m, DEFAULT_PLAYGROUND_INCLUDE_PATTERNS as mt, OtlpTraceIngestor as n, CONFIG_FILE_RELATIVE_PATH as nn, InputResolutionError as nt, BaseTraceProvider as o, registerVariationLoaderHook as on, resolveExecutionInputs as ot, LocalDirectoryDatasetProvider as p, DEFAULT_PLAYGROUND_IGNORE_PATTERNS as pt, fitsPrimitiveBase as q, PROMPT_INPUTS_ATTRIBUTE as qt, LocalDatabaseTraceProvider as r, setupStepCommand as rn, runPrompt as rt, isTraceSink as s, isFreshImportHookRegistered as sn, stampReceipts as st, TraceEventIngestor as t, mergePromptIdentity as tn, portableDef as tt, openLocalEvalProvider as u, inputReferenceProblems as ut, assertSqliteFile as v, VercelAISDK as vt, promptIdOf as w, TRACE_EVENTS_PATH as wt, rollupSpans as x, resource as xt, createLocalTursoClient as y, isResource as yt, DatasetValidationError as z, SERVICE_NAME_ATTRIBUTE as zt };
12867
+ export { fieldsForPrompt as $, SPAN_KIND_ATTRIBUTE as $t, DEFAULT_QUERY_TIMEOUT_MS as A, isPromptStyle as At, DEFAULT_EVAL_CONCURRENCY as B, SERVICE_NAME_ATTRIBUTE as Bt, VariationConflictError as C, VercelAISDKTelemetry as Ct, normalizeOtlpRequest as D, OTelTraceIngestor as Dt, decodeOtlpProtobuf as E, setupGlobalOTelPipeline as Et, parseColumnSpecs as F, BaseTraceIngestor as Ft, evalProblems as G, isMissingPackage as Gt, EvalRunner as H, spanMessages as Ht, pathField as I, PLAYGROUND_RESOURCE as It, parseBinding as J, PROMPT_INPUTS_ATTRIBUTE as Jt, InvalidCellError as K, missingPackageMessage as Kt, pathInstance as L, CHECK_ATTRIBUTE as Lt, InvalidColumnPathError as M, TypeSafeSDK as Mt, isPathColumn as N, PROMPT_IDENTITY as Nt, EvalNotFoundError as O, isEditable as Ot, parseColumnPath as P, TypeSafeTelemetry as Pt, PRIMITIVE_FIELD_TYPES as Q, PROMPT_VERSION_ATTRIBUTE as Qt, DatasetNotFoundError as R, DEPLOYMENT_ENVIRONMENT_ATTRIBUTE as Rt, datasetQueryColumns as S, resource as St, toPromptRef as T, TRACE_EVENTS_PATH as Tt, emptyCounts as U, assertUpdateStyle as Ut, EvalRunRefusedError as V, isCheckSpan as Vt, CheckScopeTraceSink as W, findPackageDts as Wt, parseResources as X, PROMPT_PROVIDER_ID_ATTRIBUTE as Xt, parseCell as Y, PROMPT_NAME_ATTRIBUTE as Yt, primitiveBase as Z, PROMPT_VARIATION_ATTRIBUTE as Zt, runMigrations as _, resourceParameterNames as _t, mergeSpans as a, LocalFileProvider as an, resolveExecutionInput as at, mkdirSelfIgnoring as b, isResource as bt, TRACE_QUERY_SCHEMA as c, isFreshImportHookRegistered as cn, collectInputSlots as ct, TursoEvalProvider as d, instanceNames as dt, createTracerForPrompt as en, isPrimitiveFieldType as et, runEvalMigrations as f, namedBindings as ft, MIGRATIONS_TABLE as g, parameterDetails as gt, runDatasetMigrations as h, ResourceRegistry as ht, TursoTraceProvider as i, setupStepCommand as in, matchSourcesToSlots as it, SqlQueryError as j, shortId as jt, DEFAULT_MAX_QUERY_ROWS as k, isNonEmptyStringArray as kt, LocalEvalProvider as l, registerFreshImportHook as ln, findInputCycle as lt, TursoDatasetProvider as m, DEFAULT_PLAYGROUND_INCLUDE_PATTERNS as mt, OtlpTraceIngestor as n, mergePromptIdentity as nn, InputResolutionError as nt, BaseTraceProvider as o, isVariationLoaderHookRegistered as on, resolveExecutionInputs as ot, LocalDirectoryDatasetProvider as p, DEFAULT_PLAYGROUND_IGNORE_PATTERNS as pt, fitsPrimitiveBase as q, PROMPT_ID_ATTRIBUTE as qt, LocalDatabaseTraceProvider as r, CONFIG_FILE_RELATIVE_PATH as rn, runPrompt as rt, isTraceSink as s, registerVariationLoaderHook as sn, stampReceipts as st, TraceEventIngestor as t, getPromptSpanAttributes as tn, portableDef as tt, openLocalEvalProvider as u, registerBundlerResolutionFallback as un, inputReferenceProblems as ut, assertSqliteFile as v, isValidInstanceName as vt, promptIdOf as w, HttpTraceSink as wt, rollupSpans as x, isStandardSchema as xt, createLocalTursoClient as y, VercelAISDK as yt, DatasetValidationError as z, PLAYGROUND_ENVIRONMENT as zt };
@@ -1,4 +1,4 @@
1
- import { _ as ResourceInstanceInput, a as ColumnPath, c as PathRow, d as childInputs, f as fieldPath, g as ExecutionInput, h as resolveColumnPath, l as PathValue, m as readColumnPath, n as DatasetRow, o as InstanceArgument, p as instancePath, r as DatasetRowUpdate, s as MAX_REFERENCE_HOPS, u as ResolvedPath } from "../../dataset-types-CSjbM_Vz.js";
1
+ import { _ as ResourceInstanceInput, a as ColumnPath, c as PathRow, d as childInputs, f as fieldPath, g as ExecutionInput, h as resolveColumnPath, l as PathValue, m as readColumnPath, n as DatasetRow, o as InstanceArgument, p as instancePath, r as DatasetRowUpdate, s as MAX_REFERENCE_HOPS, u as ResolvedPath } from "../../dataset-types-Dqi5vVg-.js";
2
2
 
3
3
  //#region src/views/datasets/index.d.ts
4
4
  /** Where an instance reference sits in a row. */
@@ -1,5 +1,5 @@
1
- import { _ as ResourceInstanceInput, b as Trace, g as ExecutionInput, i as DatasetRowsOverview, n as DatasetRow, r as DatasetRowUpdate, t as Dataset, v as RunResources, x as TraceWithSpans, y as Span } from "../dataset-types-CSjbM_Vz.js";
2
- import { _ as VIEW_TAG, a as DatasetViewContext, b as ViewProps, c as DatasetViewSubject, d as ActionEffect, f as SendAction, g as MountedView, h as SurfaceState, i as traceView, l as SelectedRow, m as SurfaceAction, n as TraceViewDefinition, o as DatasetViewDefinition, p as Surface, r as TraceViewProps, s as DatasetViewProps, t as TraceViewContext, u as datasetView, v as View, x as isView, y as ViewDefinition } from "../trace-Dn6Pfcc5.js";
1
+ import { _ as ResourceInstanceInput, b as Trace, g as ExecutionInput, i as DatasetRowsOverview, n as DatasetRow, r as DatasetRowUpdate, t as Dataset, v as RunResources, x as TraceWithSpans, y as Span } from "../dataset-types-Dqi5vVg-.js";
2
+ import { _ as VIEW_TAG, a as DatasetViewContext, b as ViewProps, c as DatasetViewSubject, d as ActionEffect, f as SendAction, g as MountedView, h as SurfaceState, i as traceView, l as SelectedRow, m as SurfaceAction, n as TraceViewDefinition, o as DatasetViewDefinition, p as Surface, r as TraceViewProps, s as DatasetViewProps, t as TraceViewContext, u as datasetView, v as View, x as isView, y as ViewDefinition } from "../trace-DGj5oW7z.js";
3
3
 
4
4
  //#region src/views/protocol.d.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { b as ViewProps, g as MountedView, l as SelectedRow, r as TraceViewProps, s as DatasetViewProps } from "../../trace-Dn6Pfcc5.js";
1
+ import { b as ViewProps, g as MountedView, l as SelectedRow, r as TraceViewProps, s as DatasetViewProps } from "../../trace-DGj5oW7z.js";
2
2
  import { ComponentType, ReactNode } from "react";
3
3
 
4
4
  //#region src/views/react/index.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evalution",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "TypeScript AI Prompt Playground - Edit and execute AI prompts with live preview",
5
5
  "type": "module",
6
6
  "exports": {
@@ -82,7 +82,7 @@
82
82
  "minimatch": "^10.2.4",
83
83
  "protobufjs": "^7.5.3",
84
84
  "remark-breaks": "^4.0.0",
85
- "ts-proppy": "0.3.1",
85
+ "ts-proppy": "0.3.3",
86
86
  "ws": "^8.21.0",
87
87
  "zod": "^4.6.5"
88
88
  },