@axiom-lattice/local-stores 2.0.2 → 2.0.4

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/local-stores@2.0.2 build /home/runner/work/agentic/agentic/packages/local-stores
2
+ > @axiom-lattice/local-stores@2.0.4 build /home/runner/work/agentic/agentic/packages/local-stores
3
3
  > tsup src/index.ts --format cjs,esm --dts --sourcemap
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,13 +8,13 @@
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- CJS dist/index.js 130.82 KB
12
- CJS dist/index.js.map 244.65 KB
13
- CJS ⚡️ Build success in 454ms
14
- ESM dist/index.mjs 127.35 KB
15
- ESM dist/index.mjs.map 241.80 KB
16
- ESM ⚡️ Build success in 458ms
11
+ ESM dist/index.mjs 127.70 KB
12
+ ESM dist/index.mjs.map 242.36 KB
13
+ ESM ⚡️ Build success in 396ms
14
+ CJS dist/index.js 131.17 KB
15
+ CJS dist/index.js.map 245.21 KB
16
+ CJS ⚡️ Build success in 427ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 13744ms
18
+ DTS ⚡️ Build success in 15469ms
19
19
  DTS dist/index.d.ts 29.13 KB
20
20
  DTS dist/index.d.mts 29.13 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @axiom-lattice/local-stores
2
2
 
3
+ ## 2.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ae90c0a]
8
+ - @axiom-lattice/core@3.0.4
9
+
10
+ ## 2.0.3
11
+
12
+ ### Patch Changes
13
+
14
+ - 8f54c19: new ux
15
+ - Updated dependencies [8f54c19]
16
+ - @axiom-lattice/core@3.0.3
17
+ - @axiom-lattice/protocols@3.0.2
18
+
3
19
  ## 2.0.2
4
20
 
5
21
  ### Patch Changes
package/dist/index.js CHANGED
@@ -2005,6 +2005,9 @@ CREATE TABLE IF NOT EXISTS lt_eval_runs (
2005
2005
  failed_cases INTEGER NOT NULL DEFAULT 0,
2006
2006
  avg_score REAL NOT NULL DEFAULT 0,
2007
2007
  error TEXT,
2008
+ holdout INTEGER NOT NULL DEFAULT 0,
2009
+ env_project_id TEXT,
2010
+ env_workspace_id TEXT,
2008
2011
  created_at TEXT NOT NULL,
2009
2012
  started_at TEXT,
2010
2013
  completed_at TEXT,
@@ -2284,9 +2287,9 @@ var LocalEvalStore = class {
2284
2287
  async createRun(tenantId, projectId, id, data) {
2285
2288
  const actualId = id || (0, import_crypto.randomUUID)();
2286
2289
  this.db.prepare(
2287
- `INSERT INTO lt_eval_runs (id, project_id, tenant_id, status, concurrency, total_cases, passed_cases, failed_cases, avg_score, created_at)
2288
- VALUES (?, ?, ?, 'running', ?, ?, 0, 0, 0, ?)`
2289
- ).run(actualId, projectId, tenantId, data.concurrency, data.totalCases, nowISO());
2290
+ `INSERT INTO lt_eval_runs (id, project_id, tenant_id, status, concurrency, total_cases, passed_cases, failed_cases, avg_score, holdout, env_project_id, env_workspace_id, created_at)
2291
+ VALUES (?, ?, ?, 'running', ?, ?, 0, 0, 0, ?, ?, ?, ?)`
2292
+ ).run(actualId, projectId, tenantId, data.concurrency, data.totalCases, data.holdout ? 1 : 0, data.envProjectId || null, data.envWorkspaceId || null, nowISO());
2290
2293
  return await this.getRunById(tenantId, actualId);
2291
2294
  }
2292
2295
  async updateRunStatus(tenantId, id, updates) {
@@ -2496,6 +2499,9 @@ var LocalEvalStore = class {
2496
2499
  failedCases: row.failed_cases ?? 0,
2497
2500
  avgScore: row.avg_score ?? 0,
2498
2501
  error: row.error,
2502
+ holdout: row.holdout ? Boolean(row.holdout) : void 0,
2503
+ envProjectId: row.env_project_id,
2504
+ envWorkspaceId: row.env_workspace_id,
2499
2505
  createdAt: parseISO(row.created_at),
2500
2506
  startedAt: row.started_at ? parseISO(row.started_at) : void 0,
2501
2507
  completedAt: row.completed_at ? parseISO(row.completed_at) : void 0