@keystrokehq/keystroke 0.1.10 → 0.1.11
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.mjs +1 -1
- package/dist/agent.cjs +3 -3
- package/dist/agent.mjs +3 -3
- package/dist/app.cjs +1 -1
- package/dist/app.mjs +1 -1
- package/dist/client.cjs +1 -1
- package/dist/client.mjs +1 -1
- package/dist/credentials.cjs +1 -1
- package/dist/credentials.mjs +1 -1
- package/dist/{dist-CyWIE4lX.mjs → dist-B7rzkyed.mjs} +3 -3
- package/dist/{dist-CyWIE4lX.mjs.map → dist-B7rzkyed.mjs.map} +1 -1
- package/dist/{dist-B9FCsH5q.mjs → dist-CZ6ynsPa.mjs} +15 -1
- package/dist/dist-CZ6ynsPa.mjs.map +1 -0
- package/dist/{dist-KN2BWOS7.cjs → dist-D61uf-nL.cjs} +15 -1
- package/dist/dist-D61uf-nL.cjs.map +1 -0
- package/dist/{dist-mXGAcUAY.cjs → dist-DDbdHJ6N.cjs} +3 -3
- package/dist/{dist-mXGAcUAY.cjs.map → dist-DDbdHJ6N.cjs.map} +1 -1
- package/dist/{dist-C7GrrDR3.cjs → dist-m379Fg0M.cjs} +3 -3
- package/dist/{dist-C7GrrDR3.cjs.map → dist-m379Fg0M.cjs.map} +1 -1
- package/dist/{dist-DQe5SBIW.mjs → dist-whZodYuG.mjs} +3 -3
- package/dist/{dist-DQe5SBIW.mjs.map → dist-whZodYuG.mjs.map} +1 -1
- package/dist/index-B1YicUCL.d.cts.map +1 -1
- package/dist/index-B1YicUCL.d.mts.map +1 -1
- package/dist/{mistral-CMXoCPOF.mjs → mistral-B0_WEHBX.mjs} +2 -2
- package/dist/{mistral-CMXoCPOF.mjs.map → mistral-B0_WEHBX.mjs.map} +1 -1
- package/dist/{mistral-D43ubCmZ.cjs → mistral-DlO8ib7n.cjs} +2 -2
- package/dist/{mistral-D43ubCmZ.cjs.map → mistral-DlO8ib7n.cjs.map} +1 -1
- package/dist/{sse-DGW-7ood.mjs → sse-CiZBR-Dz.mjs} +2 -2
- package/dist/{sse-DGW-7ood.mjs.map → sse-CiZBR-Dz.mjs.map} +1 -1
- package/dist/{sse-ifNfh8dE.cjs → sse-RHqJBIUD.cjs} +2 -2
- package/dist/{sse-ifNfh8dE.cjs.map → sse-RHqJBIUD.cjs.map} +1 -1
- package/dist/trigger.cjs +1 -1
- package/dist/trigger.mjs +1 -1
- package/dist/workflow.cjs +1 -1
- package/dist/workflow.mjs +1 -1
- package/package.json +1 -1
- package/dist/dist-B9FCsH5q.mjs.map +0 -1
- package/dist/dist-KN2BWOS7.cjs.map +0 -1
package/dist/action.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-D61uf-nL.cjs");
|
|
3
3
|
exports.CREDENTIAL_SCOPE_TYPES = require_dist.CREDENTIAL_SCOPE_TYPES;
|
|
4
4
|
exports.actionCoreSchema = require_dist.actionCoreSchema;
|
|
5
5
|
exports.createStepInvocation = require_dist.createStepInvocation;
|
package/dist/action.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as toCredentialRequirement, C as credential, D as isCredentialInput, T as defineCredential, _ as runWithMcpCredentialContext, a as getActionCredentialRequirements, b as CREDENTIAL_SCOPE_TYPES, c as getRunSignal, d as isStepInvocation, f as isWithinActionExecution, g as runOutsideActionExecution, h as resolveActionTool, i as executeAction, k as normalizeCredentialList, l as getWorkflowRunHandle, m as registerWorkflowRunGetter, n as createStepInvocation, o as getRegisteredMcpCredentialContext, p as registerProjectScopeGetter, r as defineAction, s as getRegisteredProjectScopeId, t as actionCoreSchema, u as isAction, v as runWithRunSignal, w as credentialInputSchema, y as runWithinActionExecution } from "./dist-
|
|
1
|
+
import { A as toCredentialRequirement, C as credential, D as isCredentialInput, T as defineCredential, _ as runWithMcpCredentialContext, a as getActionCredentialRequirements, b as CREDENTIAL_SCOPE_TYPES, c as getRunSignal, d as isStepInvocation, f as isWithinActionExecution, g as runOutsideActionExecution, h as resolveActionTool, i as executeAction, k as normalizeCredentialList, l as getWorkflowRunHandle, m as registerWorkflowRunGetter, n as createStepInvocation, o as getRegisteredMcpCredentialContext, p as registerProjectScopeGetter, r as defineAction, s as getRegisteredProjectScopeId, t as actionCoreSchema, u as isAction, v as runWithRunSignal, w as credentialInputSchema, y as runWithinActionExecution } from "./dist-CZ6ynsPa.mjs";
|
|
2
2
|
export { CREDENTIAL_SCOPE_TYPES, actionCoreSchema, createStepInvocation, credential, credentialInputSchema, defineAction, defineCredential, executeAction, getActionCredentialRequirements, getRegisteredMcpCredentialContext, getRegisteredProjectScopeId, getRunSignal, getWorkflowRunHandle, isAction, isCredentialInput, isStepInvocation, isWithinActionExecution, normalizeCredentialList, registerProjectScopeGetter, registerWorkflowRunGetter, resolveActionTool, runOutsideActionExecution, runWithMcpCredentialContext, runWithRunSignal, runWithinActionExecution, toCredentialRequirement };
|
package/dist/agent.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-DHdmVzO2.cjs");
|
|
3
|
-
const require_dist$1 = require("./dist-
|
|
4
|
-
const require_dist$2 = require("./dist-
|
|
3
|
+
const require_dist$1 = require("./dist-D61uf-nL.cjs");
|
|
4
|
+
const require_dist$2 = require("./dist-m379Fg0M.cjs");
|
|
5
5
|
const require_dist$3 = require("./dist-Cjux45f-.cjs");
|
|
6
6
|
require("./env-api-keys-BFptfIIs.cjs");
|
|
7
7
|
const require_event_stream = require("./event-stream-CS-ls7wC.cjs");
|
|
@@ -902,7 +902,7 @@ function loadGoogleVertexProviderModule() {
|
|
|
902
902
|
return googleVertexProviderModulePromise;
|
|
903
903
|
}
|
|
904
904
|
function loadMistralProviderModule() {
|
|
905
|
-
mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-
|
|
905
|
+
mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-DlO8ib7n.cjs")).then((module) => {
|
|
906
906
|
const provider = module;
|
|
907
907
|
return {
|
|
908
908
|
stream: provider.streamMistral,
|
package/dist/agent.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __exportAll, t as __commonJSMin } from "./chunk-D0VCBZRD.mjs";
|
|
2
|
-
import { c as getRunSignal, f as isWithinActionExecution, h as resolveActionTool, j as toolParameters, l as getWorkflowRunHandle, u as isAction } from "./dist-
|
|
3
|
-
import { A as getSession, B as withSpan, C as MESSAGE_EVENT_TYPE, D as createSession, E as clearLiveMessage, F as setSessionTitle, I as touchSession, L as captureConsole, M as recordLlmUsageFromAssistantMessage, N as resolveRunSourceFromTraceContext, O as getAgentByRoute, P as setSessionLiveMessage, R as getTraceContext, S as require_dist, T as appendEvent, a as isCredentialError, c as withCredentialAssignments, d as connectMcpStdio, f as defineMcp, i as enrichCredentialError, j as listMessageEvents, k as getProjectScopeId, l as connectMcpDefinition, n as captureCredentialToolErrors, o as resolveActionCredentials, p as isMcp, r as createCredentialResolver, s as resolveMcpTools, t as buildCredentialRunContext, u as connectMcpServer, w as addAgentSessionDuration } from "./dist-
|
|
2
|
+
import { c as getRunSignal, f as isWithinActionExecution, h as resolveActionTool, j as toolParameters, l as getWorkflowRunHandle, u as isAction } from "./dist-CZ6ynsPa.mjs";
|
|
3
|
+
import { A as getSession, B as withSpan, C as MESSAGE_EVENT_TYPE, D as createSession, E as clearLiveMessage, F as setSessionTitle, I as touchSession, L as captureConsole, M as recordLlmUsageFromAssistantMessage, N as resolveRunSourceFromTraceContext, O as getAgentByRoute, P as setSessionLiveMessage, R as getTraceContext, S as require_dist, T as appendEvent, a as isCredentialError, c as withCredentialAssignments, d as connectMcpStdio, f as defineMcp, i as enrichCredentialError, j as listMessageEvents, k as getProjectScopeId, l as connectMcpDefinition, n as captureCredentialToolErrors, o as resolveActionCredentials, p as isMcp, r as createCredentialResolver, s as resolveMcpTools, t as buildCredentialRunContext, u as connectMcpServer, w as addAgentSessionDuration } from "./dist-B7rzkyed.mjs";
|
|
4
4
|
import { $t as _Object_, An as IsFunction$1, At as IsNull$2, Bn as IsNull$1, Bt as IsBoolean$2, Cn as IsAsyncIterator$1, Ct as EnumToUnion, Dn as IsConstructor$1, Dt as IsSymbol$2, En as IsClassInstance, Et as String$1, Fn as IsLessEqualThan$1, Ft as IsLiteralString, Gn as IsSymbol$1, Gt as Unreachable, Hn as IsObject$1, Ht as IsCodec, In as IsLessThan$1, It as Literal, J as getBoundAppRoot, Jn as IsValueLike, Jt as IsCyclic, Kn as IsUndefined$1, Kt as IsIntersect, Ln as IsMaxLength$2, Lt as IsIterator$2, Mn as IsGreaterThan$1, Mt as IsLiteralBigInt, Nn as IsInteger$1, Nt as IsLiteralBoolean, On as IsDeepEqual$1, Ot as IsNumber$2, Pn as IsIterator$1, Pt as IsLiteralNumber, Qt as IsObject$2, Rn as IsMinLength$2, Rt as IsInteger$2, Sn as IsArray$1, St as IsTuple, Tn as IsBoolean$1, Tt as IsString$2, Un as IsObjectNotArray$1, Ut as Hash, Vn as IsNumber$1, Vt as IsBigInt$2, Wn as IsString$1, Wt as hash_exports, X as materializeSandbox, Xn as Symbols, Xt as IsUnion, Y as loadAssetManifest, Yn as Keys$1, Yt as Unknown, Zn as guard_exports, Zt as Union, _n as Entries$2, _t as IsVoid, a as defaultWorkspacesRoot, an as IsAsyncIterator$2, bn as EveryAll, bt as RecordPattern, cn as IsBase, ct as ensureWorkspaceDir, dn as IsPromise, dt as resolveSessionRoot, en as IsNever, fn as IsSchema$1, ft as Evaluate$1, gn as IsTypeArray, gt as IsTemplateLiteral, hn as IsSet, ht as Compare, i as createSandbox, in as IsConstructor$2, jn as IsGreaterEqualThan$1, jt as IsLiteral, kn as IsEqual$1, kt as Number$1, l as materializeSkills, ln as IsOptional, lt as resolveAgentRoot, mn as IsMap, mt as Options, n as createInvokeToolBridge, nn as Ref$1, o as defineSkill, on as IsArray$2, p as sandboxSystemPromptInjection, pn as Get$3, pt as Instantiate, qn as IsUnsafePropertyKey, qt as IsEnum$1, rn as IsFunction$2, sn as Base, tn as IsRef$1, tt as resolveSandboxDefinition, un as Optional, vn as EntriesRegExp, vt as IsUndefined$2, wn as IsBigInt$1, wt as TemplateLiteralDecode, xn as HasPropertyKey$1, xt as RecordValue, yn as Every$1, yt as IsRecord, zn as IsMultipleOf$1, zt as Boolean$1 } from "./dist-BNyJJoVn.mjs";
|
|
5
5
|
import "./env-api-keys-24ayFQZr.mjs";
|
|
6
6
|
import { i as getModel, t as AssistantMessageEventStream } from "./event-stream-C7YBbzsc.mjs";
|
|
@@ -901,7 +901,7 @@ function loadGoogleVertexProviderModule() {
|
|
|
901
901
|
return googleVertexProviderModulePromise;
|
|
902
902
|
}
|
|
903
903
|
function loadMistralProviderModule() {
|
|
904
|
-
mistralProviderModulePromise ||= import("./mistral-
|
|
904
|
+
mistralProviderModulePromise ||= import("./mistral-B0_WEHBX.mjs").then((module) => {
|
|
905
905
|
const provider = module;
|
|
906
906
|
return {
|
|
907
907
|
stream: provider.streamMistral,
|
package/dist/app.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-D61uf-nL.cjs");
|
|
3
3
|
require("zod");
|
|
4
4
|
//#region ../app/dist/index.mjs
|
|
5
5
|
function appCredentialFor(slug, input) {
|
package/dist/app.mjs
CHANGED
package/dist/client.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-DHdmVzO2.cjs");
|
|
3
|
-
const require_dist = require("./dist-
|
|
3
|
+
const require_dist = require("./dist-D61uf-nL.cjs");
|
|
4
4
|
let ky = require("ky");
|
|
5
5
|
ky = require_chunk.__toESM(ky, 1);
|
|
6
6
|
//#region src/parse-mcp-execute-error.ts
|
package/dist/client.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as formatMcpToolErrorMessage, o as getRegisteredMcpCredentialContext, s as getRegisteredProjectScopeId, x as ExecuteKeystrokeToolErrorResponseSchema } from "./dist-
|
|
1
|
+
import { E as formatMcpToolErrorMessage, o as getRegisteredMcpCredentialContext, s as getRegisteredProjectScopeId, x as ExecuteKeystrokeToolErrorResponseSchema } from "./dist-CZ6ynsPa.mjs";
|
|
2
2
|
import ky from "ky";
|
|
3
3
|
//#region src/parse-mcp-execute-error.ts
|
|
4
4
|
function throwMcpExecuteErrorFromBody(body, fallback) {
|
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-D61uf-nL.cjs");
|
|
3
3
|
exports.CREDENTIAL_SCOPE_TYPES = require_dist.CREDENTIAL_SCOPE_TYPES;
|
|
4
4
|
exports.credential = require_dist.credential;
|
|
5
5
|
exports.credentialInputSchema = require_dist.credentialInputSchema;
|
package/dist/credentials.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as toCredentialRequirement, C as credential, D as isCredentialInput, T as defineCredential, b as CREDENTIAL_SCOPE_TYPES, k as normalizeCredentialList, w as credentialInputSchema } from "./dist-
|
|
1
|
+
import { A as toCredentialRequirement, C as credential, D as isCredentialInput, T as defineCredential, b as CREDENTIAL_SCOPE_TYPES, k as normalizeCredentialList, w as credentialInputSchema } from "./dist-CZ6ynsPa.mjs";
|
|
2
2
|
export { CREDENTIAL_SCOPE_TYPES, credential, credentialInputSchema, defineCredential, isCredentialInput, normalizeCredentialList, toCredentialRequirement };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toESM, i as __require, t as __commonJSMin } from "./chunk-D0VCBZRD.mjs";
|
|
2
|
-
import { O as mcpEntityId, S as buildConnectDeeplink, k as normalizeCredentialList } from "./dist-
|
|
2
|
+
import { O as mcpEntityId, S as buildConnectDeeplink, k as normalizeCredentialList } from "./dist-CZ6ynsPa.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
5
5
|
import "node:fs";
|
|
@@ -23901,7 +23901,7 @@ async function connectMcpServer(name, options) {
|
|
|
23901
23901
|
}
|
|
23902
23902
|
async function createTransport(url, transport, requestInit, fetchImpl) {
|
|
23903
23903
|
if (transport === "sse") {
|
|
23904
|
-
const { SSEClientTransport } = await import("./sse-
|
|
23904
|
+
const { SSEClientTransport } = await import("./sse-CiZBR-Dz.mjs");
|
|
23905
23905
|
return new SSEClientTransport(url, {
|
|
23906
23906
|
requestInit,
|
|
23907
23907
|
fetch: fetchImpl
|
|
@@ -25600,4 +25600,4 @@ async function resolveActionCredentials(requirements, options) {
|
|
|
25600
25600
|
//#endregion
|
|
25601
25601
|
export { getSession as A, withSpan as B, MESSAGE_EVENT_TYPE as C, createSession as D, clearLiveMessage as E, setSessionTitle as F, touchSession as I, captureConsole as L, recordLlmUsageFromAssistantMessage as M, resolveRunSourceFromTraceContext as N, getAgentByRoute as O, setSessionLiveMessage as P, getTraceContext as R, require_dist$1 as S, appendEvent as T, extractWWWAuthenticateParams as _, isCredentialError as a, zodToJsonSchema as b, withCredentialAssignments as c, connectMcpStdio as d, defineMcp as f, auth as g, UnauthorizedError as h, enrichCredentialError as i, listMessageEvents as j, getProjectScopeId as k, connectMcpDefinition as l, createParser as m, captureCredentialToolErrors as n, resolveActionCredentials as o, isMcp as p, createCredentialResolver as r, resolveMcpTools as s, buildCredentialRunContext as t, connectMcpServer as u, createFetchWithInit as v, addAgentSessionDuration as w, JSONRPCMessageSchema as x, normalizeHeaders as y, logSystem as z };
|
|
25602
25602
|
|
|
25603
|
-
//# sourceMappingURL=dist-
|
|
25603
|
+
//# sourceMappingURL=dist-B7rzkyed.mjs.map
|