@keystrokehq/keystroke 1.0.15 → 1.0.18

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.
Files changed (39) hide show
  1. package/dist/agent.cjs +6 -5
  2. package/dist/agent.cjs.map +1 -1
  3. package/dist/agent.d.cts +2 -2
  4. package/dist/agent.d.mts +2 -2
  5. package/dist/agent.mjs +6 -5
  6. package/dist/agent.mjs.map +1 -1
  7. package/dist/{dist-qrlBz5eZ.mjs → dist-CFKSzdSZ.mjs} +4 -2
  8. package/dist/dist-CFKSzdSZ.mjs.map +1 -0
  9. package/dist/{dist-DESn8Gyx.mjs → dist-DtLObwAS.mjs} +2 -2
  10. package/dist/{dist-DESn8Gyx.mjs.map → dist-DtLObwAS.mjs.map} +1 -1
  11. package/dist/{dist-CIXPxH8Y.cjs → dist-DvZ4Dj_O.cjs} +4 -2
  12. package/dist/dist-DvZ4Dj_O.cjs.map +1 -0
  13. package/dist/{dist-jju5p8QW.cjs → dist-sGyB6KsC.cjs} +2 -2
  14. package/dist/{dist-jju5p8QW.cjs.map → dist-sGyB6KsC.cjs.map} +1 -1
  15. package/dist/index-BTz2OMAM.d.cts.map +1 -1
  16. package/dist/{index-BQEzTb7P.d.cts → index-C9qevi4R.d.cts} +10 -3
  17. package/dist/index-C9qevi4R.d.cts.map +1 -0
  18. package/dist/{index-ub0OqZXh.d.mts → index-CGa7YLSI.d.mts} +10 -3
  19. package/dist/index-CGa7YLSI.d.mts.map +1 -0
  20. package/dist/index-Cq2F2XdS.d.mts.map +1 -1
  21. package/dist/{mistral-HS6Ekkp2.cjs → mistral-BUpUX0vh.cjs} +2 -2
  22. package/dist/{mistral-HS6Ekkp2.cjs.map → mistral-BUpUX0vh.cjs.map} +1 -1
  23. package/dist/{mistral-B3AiRi15.mjs → mistral-Cy4OBeve.mjs} +2 -2
  24. package/dist/{mistral-B3AiRi15.mjs.map → mistral-Cy4OBeve.mjs.map} +1 -1
  25. package/dist/{sse-DISKrIFa.mjs → sse-4YoGxYO1.mjs} +2 -2
  26. package/dist/{sse-DISKrIFa.mjs.map → sse-4YoGxYO1.mjs.map} +1 -1
  27. package/dist/{sse-ELfo0nZE.cjs → sse-C0gnbJhp.cjs} +2 -2
  28. package/dist/{sse-ELfo0nZE.cjs.map → sse-C0gnbJhp.cjs.map} +1 -1
  29. package/dist/trigger.cjs +1 -1
  30. package/dist/trigger.d.cts +1 -1
  31. package/dist/trigger.d.mts +1 -1
  32. package/dist/trigger.mjs +1 -1
  33. package/dist/workflow.cjs +1 -1
  34. package/dist/workflow.mjs +1 -1
  35. package/package.json +1 -1
  36. package/dist/dist-CIXPxH8Y.cjs.map +0 -1
  37. package/dist/dist-qrlBz5eZ.mjs.map +0 -1
  38. package/dist/index-BQEzTb7P.d.cts.map +0 -1
  39. package/dist/index-ub0OqZXh.d.mts.map +0 -1
@@ -3445,6 +3445,7 @@ const credentialInstances = pgTable("credential_instances", {
3445
3445
  connectionId: text$1("connection_id"),
3446
3446
  /** MCP entity id that owns connection_id when multiple scopes share one connection. */
3447
3447
  sharedConnectionId: text$1("shared_connection_id"),
3448
+ grantedScopes: jsonb("granted_scopes").$type(),
3448
3449
  createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
3449
3450
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
3450
3451
  }, (table) => [uniqueIndex$1("credential_instances_project_scope_slug_unique").on(table.projectId, table.scopeType, table.scopeId, table.slug), index$1("credential_instances_project_app_slug_scope_idx").on(table.projectId, table.appSlug, table.scopeType, table.scopeId)]);
@@ -3463,6 +3464,7 @@ const credentialInstancesSqlite = sqliteTable("credential_instances", {
3463
3464
  connectionId: text("connection_id"),
3464
3465
  /** MCP entity id that owns connection_id when multiple scopes share one connection. */
3465
3466
  sharedConnectionId: text("shared_connection_id"),
3467
+ grantedScopes: text("granted_scopes", { mode: "json" }).$type(),
3466
3468
  createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
3467
3469
  updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
3468
3470
  }, (table) => [uniqueIndex("credential_instances_project_scope_slug_unique").on(table.projectId, table.scopeType, table.scopeId, table.slug), index("credential_instances_project_app_slug_scope_idx").on(table.projectId, table.appSlug, table.scopeType, table.scopeId)]);
@@ -17252,7 +17254,7 @@ async function connectMcpServer(name, options) {
17252
17254
  }
17253
17255
  async function createTransport(url, transport, requestInit, fetchImpl) {
17254
17256
  if (transport === "sse") {
17255
- const { SSEClientTransport } = await import("./sse-DISKrIFa.mjs");
17257
+ const { SSEClientTransport } = await import("./sse-4YoGxYO1.mjs");
17256
17258
  return new SSEClientTransport(url, {
17257
17259
  requestInit,
17258
17260
  fetch: fetchImpl
@@ -18784,4 +18786,4 @@ async function resolveActionCredentials(requirements, options) {
18784
18786
  //#endregion
18785
18787
  export { recordLlmUsageFromAssistantMessage as A, appendEvent as C, getProjectScopeId as D, getAgentByRoute as E, captureConsole as F, getTraceContext as I, logSystem as L, setSessionLiveMessage as M, setSessionTitle as N, getSession as O, touchSession as P, withSpan as R, addAgentSessionDuration as S, createSession as T, createFetchWithInit as _, resolveActionCredentials as a, JSONRPCMessageSchema as b, connectMcpDefinition as c, defineMcp as d, isMcp as f, extractWWWAuthenticateParams as g, auth as h, isCredentialError as i, resolveRunSourceFromTraceContext as j, listMessageEvents as k, connectMcpServer as l, UnauthorizedError as m, captureCredentialToolErrors as n, resolveMcpTools as o, createParser as p, createCredentialResolver as r, withCredentialAssignments as s, buildCredentialRunContext as t, connectMcpStdio as u, normalizeHeaders as v, clearLiveMessage as w, MESSAGE_EVENT_TYPE as x, zodToJsonSchema as y };
18786
18788
 
18787
- //# sourceMappingURL=dist-qrlBz5eZ.mjs.map
18789
+ //# sourceMappingURL=dist-CFKSzdSZ.mjs.map