@keystrokehq/keystroke 0.0.158 → 0.0.160
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/action.cjs +1 -1
- package/dist/action.d.cts +3 -3
- package/dist/action.d.mts +3 -3
- package/dist/action.mjs +1 -1
- package/dist/agent-types.d.cts +1 -1
- package/dist/agent-types.d.mts +1 -1
- package/dist/agent.cjs +162 -5
- package/dist/agent.cjs.map +1 -1
- package/dist/agent.d.cts +4 -4
- package/dist/agent.d.mts +4 -4
- package/dist/agent.mjs +161 -6
- package/dist/agent.mjs.map +1 -1
- package/dist/config.d.cts +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/credentials.cjs +1 -1
- package/dist/credentials.d.cts +1 -1
- package/dist/credentials.d.mts +1 -1
- package/dist/credentials.mjs +1 -1
- package/dist/{dist-lDHLFeHS.mjs → dist-BAzfOMfz.mjs} +3 -4
- package/dist/{dist-lDHLFeHS.mjs.map → dist-BAzfOMfz.mjs.map} +1 -1
- package/dist/{dist-C2-wphiV.cjs → dist-BkkOal_e.cjs} +3 -4
- package/dist/{dist-C2-wphiV.cjs.map → dist-BkkOal_e.cjs.map} +1 -1
- package/dist/{dist-BsLHL5ev.mjs → dist-C8t_Snfd.mjs} +32 -5
- package/dist/dist-C8t_Snfd.mjs.map +1 -0
- package/dist/{dist-BPL6RGOX.cjs → dist-DFXV_Io5.cjs} +7 -2
- package/dist/dist-DFXV_Io5.cjs.map +1 -0
- package/dist/{dist-B_PNHSDU.mjs → dist-DM1Na5CA.mjs} +2 -3
- package/dist/dist-DM1Na5CA.mjs.map +1 -0
- package/dist/{dist-BN4tLQ4S.cjs → dist-fqWJTm0u.cjs} +37 -4
- package/dist/dist-fqWJTm0u.cjs.map +1 -0
- package/dist/{index-BcMCpDKh.d.cts → index-0KyTNuR1.d.mts} +5 -5
- package/dist/{index-Bd_asjgz.d.mts.map → index-0KyTNuR1.d.mts.map} +1 -1
- package/dist/{index-CUrU-w2Y.d.cts → index-BAIg1_V_.d.mts} +3 -3
- package/dist/{index-Qnwdoq7U.d.mts.map → index-BAIg1_V_.d.mts.map} +1 -1
- package/dist/{index-DuYf0Fdc.d.cts → index-BbwuSuxl.d.mts} +29 -7
- package/dist/index-BbwuSuxl.d.mts.map +1 -0
- package/dist/{index-B4HxxDhO.d.cts → index-Bjg-QRlL.d.cts} +2 -2
- package/dist/{index-B4HxxDhO.d.cts.map → index-Bjg-QRlL.d.cts.map} +1 -1
- package/dist/{index-BNcrFoZi.d.cts → index-CaW3JRFU.d.cts} +15 -2
- package/dist/index-CaW3JRFU.d.cts.map +1 -0
- package/dist/{index-BNcrFoZi.d.mts → index-CaW3JRFU.d.mts} +15 -2
- package/dist/index-CaW3JRFU.d.mts.map +1 -0
- package/dist/{index-Bbe9CzYo.d.mts → index-CgMisiAc.d.mts} +7 -4
- package/dist/index-CgMisiAc.d.mts.map +1 -0
- package/dist/{index-Qnwdoq7U.d.mts → index-CsGfxjDx.d.cts} +3 -3
- package/dist/{index-CUrU-w2Y.d.cts.map → index-CsGfxjDx.d.cts.map} +1 -1
- package/dist/{index-CqbBhKYv.d.mts → index-CxjY9wjs.d.mts} +2 -2
- package/dist/{index-CqbBhKYv.d.mts.map → index-CxjY9wjs.d.mts.map} +1 -1
- package/dist/{index-BmXIGJlQ.d.cts → index-D7upoVsK.d.cts} +7 -4
- package/dist/index-D7upoVsK.d.cts.map +1 -0
- package/dist/{index-CyCx29m7.d.mts → index-DaxRr-x9.d.cts} +29 -7
- package/dist/index-DaxRr-x9.d.cts.map +1 -0
- package/dist/{index-jLW9DNA0.d.cts → index-DkQoSfqQ.d.cts} +12 -4
- package/dist/index-DkQoSfqQ.d.cts.map +1 -0
- package/dist/{index-Bd_asjgz.d.mts → index-Dr-3nl0A.d.cts} +5 -5
- package/dist/{index-BcMCpDKh.d.cts.map → index-Dr-3nl0A.d.cts.map} +1 -1
- package/dist/{index-BUmyUoC2.d.mts → index-p6yOVMbx.d.mts} +12 -4
- package/dist/index-p6yOVMbx.d.mts.map +1 -0
- package/dist/{mistral-DIdWCzNl.mjs → mistral-BRIv8KXE.mjs} +2 -2
- package/dist/{mistral-DIdWCzNl.mjs.map → mistral-BRIv8KXE.mjs.map} +1 -1
- package/dist/{mistral-jf7ZLGhZ.cjs → mistral-DUKMgFL1.cjs} +2 -2
- package/dist/{mistral-jf7ZLGhZ.cjs.map → mistral-DUKMgFL1.cjs.map} +1 -1
- package/dist/sandbox.d.cts +1 -1
- package/dist/sandbox.d.mts +1 -1
- package/dist/{sse-DL0amYvP.mjs → sse-Ba5sWI6l.mjs} +2 -2
- package/dist/{sse-DL0amYvP.mjs.map → sse-Ba5sWI6l.mjs.map} +1 -1
- package/dist/{sse-cQ49VLYa.cjs → sse-jvB09Ct-.cjs} +2 -2
- package/dist/{sse-cQ49VLYa.cjs.map → sse-jvB09Ct-.cjs.map} +1 -1
- package/dist/trigger.cjs +1 -1
- package/dist/trigger.d.cts +3 -3
- package/dist/trigger.d.mts +3 -3
- package/dist/trigger.mjs +1 -1
- package/dist/workflow.cjs +2 -1
- package/dist/workflow.d.cts +3 -2
- package/dist/workflow.d.mts +3 -2
- package/dist/workflow.mjs +2 -2
- package/package.json +1 -1
- package/dist/dist-BN4tLQ4S.cjs.map +0 -1
- package/dist/dist-BPL6RGOX.cjs.map +0 -1
- package/dist/dist-B_PNHSDU.mjs.map +0 -1
- package/dist/dist-BsLHL5ev.mjs.map +0 -1
- package/dist/index-BNcrFoZi.d.cts.map +0 -1
- package/dist/index-BNcrFoZi.d.mts.map +0 -1
- package/dist/index-BUmyUoC2.d.mts.map +0 -1
- package/dist/index-Bbe9CzYo.d.mts.map +0 -1
- package/dist/index-BmXIGJlQ.d.cts.map +0 -1
- package/dist/index-CyCx29m7.d.mts.map +0 -1
- package/dist/index-DuYf0Fdc.d.cts.map +0 -1
- package/dist/index-jLW9DNA0.d.cts.map +0 -1
package/dist/config.d.cts
CHANGED
package/dist/config.d.mts
CHANGED
package/dist/credentials.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-DFXV_Io5.cjs");
|
|
3
3
|
exports.CREDENTIAL_SCOPE_LEVELS = require_dist.CREDENTIAL_SCOPE_LEVELS;
|
|
4
4
|
exports.DEFAULT_CREDENTIAL_RESOLUTION_CHAIN = require_dist.DEFAULT_CREDENTIAL_RESOLUTION_CHAIN;
|
|
5
5
|
exports.credential = require_dist.credential;
|
package/dist/credentials.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as defineCredential, E as toCredentialRequirement, S as credentialInputSchema, T as normalizeCredentialList, a as CredentialInput, d as DefineCredentialInput, f as DefineOAuthCredentialInput, l as CredentialScopeLevel, m as NormalizeCredential, n as Credential, o as CredentialList, p as DefineStaticCredentialInput, r as CredentialAuthKind, s as CredentialRequirement, t as CREDENTIAL_SCOPE_LEVELS, u as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, w as isCredentialInput, x as credential, y as ResolvedCredentials } from "./index-CaW3JRFU.cjs";
|
|
2
2
|
export { CREDENTIAL_SCOPE_LEVELS, type Credential, type CredentialAuthKind, type CredentialInput, type CredentialList, type CredentialRequirement, type CredentialScopeLevel, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, type DefineCredentialInput, type DefineOAuthCredentialInput, type DefineStaticCredentialInput, type NormalizeCredential, type ResolvedCredentials, credential, credentialInputSchema, defineCredential, isCredentialInput, normalizeCredentialList, toCredentialRequirement };
|
package/dist/credentials.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as defineCredential, E as toCredentialRequirement, S as credentialInputSchema, T as normalizeCredentialList, a as CredentialInput, d as DefineCredentialInput, f as DefineOAuthCredentialInput, l as CredentialScopeLevel, m as NormalizeCredential, n as Credential, o as CredentialList, p as DefineStaticCredentialInput, r as CredentialAuthKind, s as CredentialRequirement, t as CREDENTIAL_SCOPE_LEVELS, u as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, w as isCredentialInput, x as credential, y as ResolvedCredentials } from "./index-CaW3JRFU.mjs";
|
|
2
2
|
export { CREDENTIAL_SCOPE_LEVELS, type Credential, type CredentialAuthKind, type CredentialInput, type CredentialList, type CredentialRequirement, type CredentialScopeLevel, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, type DefineCredentialInput, type DefineOAuthCredentialInput, type DefineStaticCredentialInput, type NormalizeCredential, type ResolvedCredentials, credential, credentialInputSchema, defineCredential, isCredentialInput, normalizeCredentialList, toCredentialRequirement };
|
package/dist/credentials.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as normalizeCredentialList, S as isCredentialInput, b as credentialInputSchema, g as CREDENTIAL_SCOPE_LEVELS, v as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, w as toCredentialRequirement, x as defineCredential, y as credential } from "./dist-
|
|
1
|
+
import { C as normalizeCredentialList, S as isCredentialInput, b as credentialInputSchema, g as CREDENTIAL_SCOPE_LEVELS, v as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, w as toCredentialRequirement, x as defineCredential, y as credential } from "./dist-DM1Na5CA.mjs";
|
|
2
2
|
export { CREDENTIAL_SCOPE_LEVELS, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, credential, credentialInputSchema, defineCredential, isCredentialInput, normalizeCredentialList, toCredentialRequirement };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Bn as __require, Ln as __commonJSMin, Vn as __toESM } from "./dist-Dv44b9V1.mjs";
|
|
2
|
-
import { C as normalizeCredentialList, _ as CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE } from "./dist-
|
|
2
|
+
import { C as normalizeCredentialList, _ as CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE } from "./dist-DM1Na5CA.mjs";
|
|
3
3
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import { ZodFirstPartyTypeKind } from "zod/v3";
|
|
@@ -13251,7 +13251,7 @@ async function connectMcpServer(name, options) {
|
|
|
13251
13251
|
}
|
|
13252
13252
|
async function createTransport(url, transport, requestInit, fetchImpl) {
|
|
13253
13253
|
if (transport === "sse") {
|
|
13254
|
-
const { SSEClientTransport } = await import("./sse-
|
|
13254
|
+
const { SSEClientTransport } = await import("./sse-Ba5sWI6l.mjs");
|
|
13255
13255
|
return new SSEClientTransport(url, {
|
|
13256
13256
|
requestInit,
|
|
13257
13257
|
fetch: fetchImpl
|
|
@@ -17833,7 +17833,6 @@ function isCredentialError(error) {
|
|
|
17833
17833
|
}
|
|
17834
17834
|
function credentialScopeMatchesContext(scopeType, scopeId, context) {
|
|
17835
17835
|
switch (scopeType) {
|
|
17836
|
-
case "global": return true;
|
|
17837
17836
|
case "organization": return scopeId === context.orgId;
|
|
17838
17837
|
case "project": return scopeId === context.projectId;
|
|
17839
17838
|
case "user": return scopeId === context.userId;
|
|
@@ -18209,4 +18208,4 @@ async function resolveActionCredentials(requirements, options) {
|
|
|
18209
18208
|
//#endregion
|
|
18210
18209
|
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 };
|
|
18211
18210
|
|
|
18212
|
-
//# sourceMappingURL=dist-
|
|
18211
|
+
//# sourceMappingURL=dist-BAzfOMfz.mjs.map
|