@keystrokehq/keystroke 0.0.116 → 0.0.118

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-b5CNqyGQ.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-Dmb3IGWl.cjs");
7
+ const require_dist$3 = require("./dist-SiXeSTEH.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-1TcE3I8F.cjs")).then((module) => {
904
+ mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-BxcHvI_M.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-WHva6g6Z.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-B0V-dlM0.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-C2n50oed.mjs").then((module) => {
903
+ mistralProviderModulePromise ||= import("./mistral-8YTDMT2c.mjs").then((module) => {
904
904
  const provider = module;
905
905
  return {
906
906
  stream: provider.streamMistral,
@@ -13255,7 +13255,7 @@ async function connectMcpServer(name, options) {
13255
13255
  }
13256
13256
  async function createTransport(url, transport, requestInit, fetchImpl) {
13257
13257
  if (transport === "sse") {
13258
- const { SSEClientTransport } = await import("./sse-B4beEXsc.mjs");
13258
+ const { SSEClientTransport } = await import("./sse-BXcQV1E3.mjs");
13259
13259
  return new SSEClientTransport(url, {
13260
13260
  requestInit,
13261
13261
  fetch: fetchImpl
@@ -17349,6 +17349,13 @@ const authDeviceCodes = pgTable("device_auth_codes", {
17349
17349
  clientId: text$1("client_id"),
17350
17350
  scope: text$1("scope")
17351
17351
  });
17352
+ const authJwks = pgTable("jwks", {
17353
+ id: text$1("id").primaryKey(),
17354
+ publicKey: text$1("public_key").notNull(),
17355
+ privateKey: text$1("private_key").notNull(),
17356
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
17357
+ expiresAt: timestamp("expires_at", { withTimezone: true })
17358
+ });
17352
17359
  const authSessions = pgTable("sessions", {
17353
17360
  id: text$1("id").primaryKey(),
17354
17361
  expiresAt: timestamp("expires_at", { withTimezone: true }).notNull(),
@@ -17527,6 +17534,7 @@ buildPgSchema({
17527
17534
  authAccounts: { pg: authAccounts },
17528
17535
  authVerifications: { pg: authVerifications },
17529
17536
  authDeviceCodes: { pg: authDeviceCodes },
17537
+ authJwks: { pg: authJwks },
17530
17538
  authApiKeys: { pg: authApiKeys },
17531
17539
  oauthApps: { pg: oauthApps },
17532
17540
  oauthConnections: { pg: oauthConnections },
@@ -18112,4 +18120,4 @@ async function resolveActionCredentials(requirements, options) {
18112
18120
  //#endregion
18113
18121
  export { zodToJsonSchema as A, isMcp as C, extractWWWAuthenticateParams as D, auth as E, createFetchWithInit as O, defineMcp as S, UnauthorizedError as T, logSystem as _, resolveActionCredentials as a, connectMcpServer as b, appendEvent as c, getSession as d, listMessageEvents as f, getTraceContext as g, captureConsole as h, isCredentialError as i, JSONRPCMessageSchema as j, normalizeHeaders as k, createSession as l, touchSession as m, captureCredentialToolErrors as n, resolveMcpTools as o, resolveRunSourceFromTraceContext as p, createCredentialResolver as r, MESSAGE_EVENT_TYPE as s, buildCredentialRunContext as t, getAgentByRoute as u, withSpan as v, createParser as w, connectMcpStdio as x, connectMcpDefinition as y };
18114
18122
 
18115
- //# sourceMappingURL=dist-WHva6g6Z.mjs.map
18123
+ //# sourceMappingURL=dist-B0V-dlM0.mjs.map