@keystrokehq/keystroke 0.0.119 → 0.0.120

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/agent.cjs CHANGED
@@ -4,7 +4,7 @@ const require_dist$2 = require("./dist-BjfsHEOH.cjs");
4
4
  require("./env-api-keys-BFptfIIs.cjs");
5
5
  const require_event_stream = require("./event-stream-CS-ls7wC.cjs");
6
6
  require("./json-parse-CWDTOYvX.cjs");
7
- const require_dist$3 = require("./dist-BzJyq8Be.cjs");
7
+ const require_dist$3 = require("./dist-B49J8eKM.cjs");
8
8
  let zod = require("zod");
9
9
  let node_async_hooks = require("node:async_hooks");
10
10
  let node_fs = require("node:fs");
@@ -901,7 +901,7 @@ function loadGoogleVertexProviderModule() {
901
901
  return googleVertexProviderModulePromise;
902
902
  }
903
903
  function loadMistralProviderModule() {
904
- mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-d_zRqCl4.cjs")).then((module) => {
904
+ mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-DYgVFLRm.cjs")).then((module) => {
905
905
  const provider = module;
906
906
  return {
907
907
  stream: provider.streamMistral,
package/dist/agent.mjs CHANGED
@@ -3,7 +3,7 @@ import { d as resolveActionTool, l as isWithinActionExecution, o as getWorkflowR
3
3
  import "./env-api-keys-BSMeSmLq.mjs";
4
4
  import { i as getModel, t as AssistantMessageEventStream } from "./event-stream-C7YBbzsc.mjs";
5
5
  import "./json-parse-BhvKZ346.mjs";
6
- import { C as isMcp, S as defineMcp, a as resolveActionCredentials, b as connectMcpServer, c as appendEvent, d as getSession, f as listMessageEvents, g as getTraceContext, h as captureConsole, i as isCredentialError, l as createSession, m as touchSession, n as captureCredentialToolErrors, o as resolveMcpTools, p as resolveRunSourceFromTraceContext, r as createCredentialResolver, s as MESSAGE_EVENT_TYPE$1, t as buildCredentialRunContext, u as getAgentByRoute, v as withSpan, x as connectMcpStdio, y as connectMcpDefinition } from "./dist-Cq3K4ThZ.mjs";
6
+ import { C as isMcp, S as defineMcp, a as resolveActionCredentials, b as connectMcpServer, c as appendEvent, d as getSession, f as listMessageEvents, g as getTraceContext, h as captureConsole, i as isCredentialError, l as createSession, m as touchSession, n as captureCredentialToolErrors, o as resolveMcpTools, p as resolveRunSourceFromTraceContext, r as createCredentialResolver, s as MESSAGE_EVENT_TYPE$1, t as buildCredentialRunContext, u as getAgentByRoute, v as withSpan, x as connectMcpStdio, y as connectMcpDefinition } from "./dist-D-kSk8J4.mjs";
7
7
  import { createRequire } from "node:module";
8
8
  import { z } from "zod";
9
9
  import { AsyncLocalStorage } from "node:async_hooks";
@@ -900,7 +900,7 @@ function loadGoogleVertexProviderModule() {
900
900
  return googleVertexProviderModulePromise;
901
901
  }
902
902
  function loadMistralProviderModule() {
903
- mistralProviderModulePromise ||= import("./mistral-Cef8tTg6.mjs").then((module) => {
903
+ mistralProviderModulePromise ||= import("./mistral-BdFvTj57.mjs").then((module) => {
904
904
  const provider = module;
905
905
  return {
906
906
  stream: provider.streamMistral,
@@ -13262,7 +13262,7 @@ async function connectMcpServer(name, options) {
13262
13262
  }
13263
13263
  async function createTransport(url, transport, requestInit, fetchImpl) {
13264
13264
  if (transport === "sse") {
13265
- const { SSEClientTransport } = await Promise.resolve().then(() => require("./sse-Be_-Z2q9.cjs"));
13265
+ const { SSEClientTransport } = await Promise.resolve().then(() => require("./sse-B3RwBUeJ.cjs"));
13266
13266
  return new SSEClientTransport(url, {
13267
13267
  requestInit,
13268
13268
  fetch: fetchImpl
@@ -16891,6 +16891,24 @@ const secretValuesSqlite = sqliteTable("secret_values", {
16891
16891
  createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
16892
16892
  updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
16893
16893
  }, (table) => [uniqueIndex("secret_values_ref_unique").on(table.projectId, table.refKind, table.refId, table.field), index("secret_values_ref_idx").on(table.projectId, table.refKind, table.refId)]);
16894
+ const skills = pgTable("skills", {
16895
+ id: text$1("id").primaryKey(),
16896
+ projectId: text$1("project_id").notNull(),
16897
+ key: text$1("key").notNull(),
16898
+ moduleFile: text$1("module_file").notNull(),
16899
+ registeredAt: timestamp("registered_at", { withTimezone: true }).notNull(),
16900
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
16901
+ deletedAt: timestamp("deleted_at", { withTimezone: true })
16902
+ }, (table) => [uniqueIndex$1("skills_project_id_key_idx").on(table.projectId, table.key)]);
16903
+ const skillsSqlite = sqliteTable("skills", {
16904
+ id: text("id").primaryKey(),
16905
+ projectId: text("project_id").notNull(),
16906
+ key: text("key").notNull(),
16907
+ moduleFile: text("module_file").notNull(),
16908
+ registeredAt: integer("registered_at", { mode: "timestamp_ms" }).notNull(),
16909
+ updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
16910
+ deletedAt: integer("deleted_at", { mode: "timestamp_ms" })
16911
+ }, (table) => [uniqueIndex("skills_project_id_key_idx").on(table.projectId, table.key)]);
16894
16912
  const workflows = pgTable("workflows", {
16895
16913
  id: text$1("id").primaryKey(),
16896
16914
  projectId: text$1("project_id").notNull(),
@@ -16987,6 +17005,10 @@ const tableRegistry = {
16987
17005
  pg: secretValues$1,
16988
17006
  sqlite: secretValuesSqlite
16989
17007
  },
17008
+ skills: {
17009
+ pg: skills,
17010
+ sqlite: skillsSqlite
17011
+ },
16990
17012
  workflows: {
16991
17013
  pg: workflows,
16992
17014
  sqlite: workflowsSqlite
@@ -18314,4 +18336,4 @@ Object.defineProperty(exports, "zodToJsonSchema", {
18314
18336
  }
18315
18337
  });
18316
18338
 
18317
- //# sourceMappingURL=dist-BzJyq8Be.cjs.map
18339
+ //# sourceMappingURL=dist-B49J8eKM.cjs.map