@keystrokehq/keystroke 1.0.27 → 1.0.28
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-D4eR5y3s.cjs → dist-BzUe51qj.cjs} +5 -3
- package/dist/dist-BzUe51qj.cjs.map +1 -0
- package/dist/{dist-CyC1Fjzk.mjs → dist-Ca2IO2Fx.mjs} +5 -3
- package/dist/dist-Ca2IO2Fx.mjs.map +1 -0
- package/dist/{dist-Djn_wU_d.cjs → dist-CfckkIpt.cjs} +11 -3
- package/dist/dist-CfckkIpt.cjs.map +1 -0
- package/dist/{dist-CY_Jygsh.mjs → dist-CuPZJCMc.mjs} +3 -3
- package/dist/{dist-CY_Jygsh.mjs.map → dist-CuPZJCMc.mjs.map} +1 -1
- package/dist/{dist-rXBu7BdX.mjs → dist-DITzMH5H.mjs} +11 -3
- package/dist/dist-DITzMH5H.mjs.map +1 -0
- package/dist/{dist-CIAJ_dc3.cjs → dist-ME6DBCVD.cjs} +3 -3
- package/dist/{dist-CIAJ_dc3.cjs.map → dist-ME6DBCVD.cjs.map} +1 -1
- package/dist/index-B1YicUCL.d.cts.map +1 -1
- package/dist/index-B1YicUCL.d.mts.map +1 -1
- package/dist/index-CGHk6JeR.d.mts.map +1 -1
- package/dist/index-DY2poEgq.d.cts.map +1 -1
- package/dist/{mistral-1FVB3xZQ.mjs → mistral-CkM_GBNT.mjs} +2 -2
- package/dist/{mistral-1FVB3xZQ.mjs.map → mistral-CkM_GBNT.mjs.map} +1 -1
- package/dist/{mistral-bpjTqWMv.cjs → mistral-DUs5ePfb.cjs} +2 -2
- package/dist/{mistral-bpjTqWMv.cjs.map → mistral-DUs5ePfb.cjs.map} +1 -1
- package/dist/{sse-B5Nydy6C.cjs → sse-CQ287z_7.cjs} +2 -2
- package/dist/{sse-B5Nydy6C.cjs.map → sse-CQ287z_7.cjs.map} +1 -1
- package/dist/{sse-BLq6yGPO.mjs → sse-CXokDbu2.mjs} +2 -2
- package/dist/{sse-BLq6yGPO.mjs.map → sse-CXokDbu2.mjs.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 +3 -3
- package/dist/dist-CyC1Fjzk.mjs.map +0 -1
- package/dist/dist-D4eR5y3s.cjs.map +0 -1
- package/dist/dist-Djn_wU_d.cjs.map +0 -1
- package/dist/dist-rXBu7BdX.mjs.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-CfckkIpt.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-DITzMH5H.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-CfckkIpt.cjs");
|
|
4
|
+
const require_dist$2 = require("./dist-BzUe51qj.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-DUs5ePfb.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-DITzMH5H.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-Ca2IO2Fx.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-CkM_GBNT.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-CfckkIpt.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-CfckkIpt.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-DITzMH5H.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-CfckkIpt.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-DITzMH5H.mjs";
|
|
2
2
|
export { CREDENTIAL_SCOPE_TYPES, credential, credentialInputSchema, defineCredential, isCredentialInput, normalizeCredentialList, toCredentialRequirement };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-DHdmVzO2.cjs");
|
|
2
|
-
const require_dist$2 = require("./dist-
|
|
2
|
+
const require_dist$2 = require("./dist-CfckkIpt.cjs");
|
|
3
3
|
let node_async_hooks = require("node:async_hooks");
|
|
4
4
|
let node_module = require("node:module");
|
|
5
5
|
require("node:fs");
|
|
@@ -3307,6 +3307,7 @@ const triggerAttachments = pgTable("trigger_attachments", {
|
|
|
3307
3307
|
prompt: text$1("prompt"),
|
|
3308
3308
|
registeredAt: timestamp("registered_at", { withTimezone: true }).notNull(),
|
|
3309
3309
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
|
|
3310
|
+
disabledAt: timestamp("disabled_at", { withTimezone: true }),
|
|
3310
3311
|
deletedAt: timestamp("deleted_at", { withTimezone: true })
|
|
3311
3312
|
}, (table) => [uniqueIndex$1("trigger_attachments_project_id_slug_idx").on(table.projectId, table.slug)]);
|
|
3312
3313
|
const triggerAttachmentsSqlite = sqliteTable("trigger_attachments", {
|
|
@@ -3320,6 +3321,7 @@ const triggerAttachmentsSqlite = sqliteTable("trigger_attachments", {
|
|
|
3320
3321
|
prompt: text("prompt"),
|
|
3321
3322
|
registeredAt: integer("registered_at", { mode: "timestamp_ms" }).notNull(),
|
|
3322
3323
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
|
|
3324
|
+
disabledAt: integer("disabled_at", { mode: "timestamp_ms" }),
|
|
3323
3325
|
deletedAt: integer("deleted_at", { mode: "timestamp_ms" })
|
|
3324
3326
|
}, (table) => [uniqueIndex("trigger_attachments_project_id_slug_idx").on(table.projectId, table.slug)]);
|
|
3325
3327
|
const triggerRuns = pgTable("trigger_runs", {
|
|
@@ -23906,7 +23908,7 @@ async function connectMcpServer(name, options) {
|
|
|
23906
23908
|
}
|
|
23907
23909
|
async function createTransport(url, transport, requestInit, fetchImpl) {
|
|
23908
23910
|
if (transport === "sse") {
|
|
23909
|
-
const { SSEClientTransport } = await Promise.resolve().then(() => require("./sse-
|
|
23911
|
+
const { SSEClientTransport } = await Promise.resolve().then(() => require("./sse-CQ287z_7.cjs"));
|
|
23910
23912
|
return new SSEClientTransport(url, {
|
|
23911
23913
|
requestInit,
|
|
23912
23914
|
fetch: fetchImpl
|
|
@@ -25844,4 +25846,4 @@ Object.defineProperty(exports, "zodToJsonSchema", {
|
|
|
25844
25846
|
}
|
|
25845
25847
|
});
|
|
25846
25848
|
|
|
25847
|
-
//# sourceMappingURL=dist-
|
|
25849
|
+
//# sourceMappingURL=dist-BzUe51qj.cjs.map
|