@skillrecordings/cli 0.11.0 → 0.11.1

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.
@@ -3,13 +3,14 @@ import {
3
3
  SUPPORT_AGENT_PROMPT,
4
4
  agentTools,
5
5
  runSupportAgent
6
- } from "./chunk-EGBS3VJI.js";
6
+ } from "./chunk-AFZNB55D.js";
7
+ import "./chunk-F4EM72IH.js";
7
8
  import "./chunk-KEV3QKXP.js";
8
9
  import "./chunk-MLNDSBZ4.js";
10
+ import "./chunk-TBO2ZHJH.js";
9
11
  import "./chunk-ZNF7XD2S.js";
10
12
  import "./chunk-H3D6VCME.js";
11
13
  import "./chunk-MG37YDAK.js";
12
- import "./chunk-F4EM72IH.js";
13
14
  import "./chunk-WFANXVQG.js";
14
15
  export {
15
16
  DEFAULT_AGENT_MODEL,
@@ -17,4 +18,4 @@ export {
17
18
  agentTools,
18
19
  runSupportAgent
19
20
  };
20
- //# sourceMappingURL=config-HLXR42M4.js.map
21
+ //# sourceMappingURL=config-FVPOSINH.js.map
package/dist/index.js CHANGED
@@ -12,23 +12,12 @@ import {
12
12
  isFunction
13
13
  } from "./chunk-PWWRCN5W.js";
14
14
  import {
15
- ActionsTable,
16
- AppsTable,
17
- ConversationsTable,
18
15
  SUPPORT_AGENT_PROMPT,
19
- and,
20
- closeDb,
21
- database,
22
- desc,
23
- eq,
24
16
  getApp,
25
- getDb,
26
17
  getOutcomeHistory,
27
- getRedis,
28
- gte,
29
- or,
30
- sql
31
- } from "./chunk-EGBS3VJI.js";
18
+ getRedis
19
+ } from "./chunk-AFZNB55D.js";
20
+ import "./chunk-F4EM72IH.js";
32
21
  import {
33
22
  DEFAULT_CATEGORY_TAG_MAPPING,
34
23
  FrontApiError,
@@ -50,7 +39,7 @@ import {
50
39
  runPipeline,
51
40
  validate,
52
41
  validateSync
53
- } from "./chunk-54VQQSWT.js";
42
+ } from "./chunk-JKFLTZHH.js";
54
43
  import "./chunk-KEV3QKXP.js";
55
44
  import "./chunk-HK3PEWFD.js";
56
45
  import "./chunk-WYKL32C3.js";
@@ -59,12 +48,25 @@ import {
59
48
  VotingService,
60
49
  calculateConfidence
61
50
  } from "./chunk-MLNDSBZ4.js";
51
+ import {
52
+ ActionsTable,
53
+ AppsTable,
54
+ ConversationsTable,
55
+ and,
56
+ closeDb,
57
+ database,
58
+ desc,
59
+ eq,
60
+ getDb,
61
+ gte,
62
+ or,
63
+ sql
64
+ } from "./chunk-TBO2ZHJH.js";
62
65
  import "./chunk-ZNF7XD2S.js";
63
66
  import {
64
67
  upsertVector
65
68
  } from "./chunk-H3D6VCME.js";
66
69
  import "./chunk-MG37YDAK.js";
67
- import "./chunk-F4EM72IH.js";
68
70
  import {
69
71
  __commonJS,
70
72
  __dirname,
@@ -80747,7 +80749,7 @@ async function runValidateEval(ctx, scenarios, options) {
80747
80749
  return results;
80748
80750
  }
80749
80751
  async function runE2EEval(ctx, scenarios, options) {
80750
- const { runPipeline: runPipeline2 } = await import("./pipeline-H52QEIFE.js");
80752
+ const { runPipeline: runPipeline2 } = await import("./pipeline-P3CLQVOL.js");
80751
80753
  const concurrency = options.parallel || 1;
80752
80754
  let completed = 0;
80753
80755
  const outputJson = options.outputJson ?? false;
@@ -114425,7 +114427,7 @@ var handlePipelineError = (ctx, error, message, suggestion = "Verify inputs and
114425
114427
  async function runPipelineCommand(ctx, opts) {
114426
114428
  const outputJson = opts.json === true || ctx.format === "json";
114427
114429
  try {
114428
- const { runPipeline: runPipeline2 } = await import("./pipeline-H52QEIFE.js");
114430
+ const { runPipeline: runPipeline2 } = await import("./pipeline-P3CLQVOL.js");
114429
114431
  const result = await runPipeline2({
114430
114432
  message: {
114431
114433
  subject: opts.subject,
@@ -116318,6 +116320,7 @@ function createMcpServer(options = {}) {
116318
116320
  }
116319
116321
 
116320
116322
  // src/index.ts
116323
+ var envLoaded = false;
116321
116324
  var cliRoot = resolve6(import.meta.dirname, "../..");
116322
116325
  for (const envFile of [".env.local", ".env"]) {
116323
116326
  try {
@@ -116334,9 +116337,13 @@ for (const envFile of [".env.local", ".env"]) {
116334
116337
  process.env[key] = value;
116335
116338
  }
116336
116339
  }
116340
+ envLoaded = true;
116337
116341
  } catch {
116338
116342
  }
116339
116343
  }
116344
+ if (!envLoaded && !process.env.DATABASE_URL) {
116345
+ process.env.SKIP_ENV_VALIDATION = "1";
116346
+ }
116340
116347
  var runtimeTarget = `bun-${process.platform}-${process.arch}`;
116341
116348
  var buildVersion = typeof BUILD_VERSION !== "undefined" && BUILD_VERSION.length > 0 ? BUILD_VERSION : "0.0.0-dev";
116342
116349
  var buildCommit = typeof BUILD_COMMIT !== "undefined" && BUILD_COMMIT.length > 0 ? BUILD_COMMIT : "dev";
@@ -116424,7 +116431,8 @@ program2.command("mcp").description("Start MCP server for AI coding agent integr
116424
116431
  await server.start();
116425
116432
  });
116426
116433
  program2.parseAsync().finally(async () => {
116427
- await closeDb();
116434
+ const { closeDb: closeDb2 } = await import("./src-IKPHU6BF.js");
116435
+ await closeDb2();
116428
116436
  });
116429
116437
  /*! Bundled license information:
116430
116438