@keystrokehq/keystroke 0.0.151 → 0.0.153
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/credentials.cjs +1 -1
- package/dist/credentials.mjs +1 -1
- package/dist/{dist-CXONdNWW.mjs → dist-BJcgcorJ.mjs} +15 -3
- package/dist/{dist-CXONdNWW.mjs.map → dist-BJcgcorJ.mjs.map} +1 -1
- package/dist/{dist-vuSksyzQ.cjs → dist-Cx3AxGVV.cjs} +74 -10
- package/dist/dist-Cx3AxGVV.cjs.map +1 -0
- package/dist/{dist-CXZLZoZO.cjs → dist-DLLBBn-G.cjs} +3 -3
- package/dist/{dist-CXZLZoZO.cjs.map → dist-DLLBBn-G.cjs.map} +1 -1
- package/dist/{dist-UsJmzx6N.cjs → dist-DMTF8QHo.cjs} +15 -3
- package/dist/{dist-UsJmzx6N.cjs.map → dist-DMTF8QHo.cjs.map} +1 -1
- package/dist/{dist-DbZOAt18.mjs → dist-DUr7m0h3.mjs} +74 -10
- package/dist/dist-DUr7m0h3.mjs.map +1 -0
- package/dist/{dist-AYybP-_r.mjs → dist-_5pWzuR5.mjs} +3 -3
- package/dist/{dist-AYybP-_r.mjs.map → dist-_5pWzuR5.mjs.map} +1 -1
- package/dist/index-CiuCYKLw.d.cts.map +1 -1
- package/dist/index-CiuCYKLw.d.mts.map +1 -1
- package/dist/{mistral-C2xaGIUN.mjs → mistral-BEj8O046.mjs} +2 -2
- package/dist/{mistral-C2xaGIUN.mjs.map → mistral-BEj8O046.mjs.map} +1 -1
- package/dist/{mistral-Dp78jjN3.cjs → mistral-CYHJiH7Q.cjs} +2 -2
- package/dist/{mistral-Dp78jjN3.cjs.map → mistral-CYHJiH7Q.cjs.map} +1 -1
- package/dist/{sse-C6qFG99O.mjs → sse-BNHW9nlN.mjs} +2 -2
- package/dist/{sse-C6qFG99O.mjs.map → sse-BNHW9nlN.mjs.map} +1 -1
- package/dist/{sse-S5aMzXcs.cjs → sse-BkXPjwFU.cjs} +2 -2
- package/dist/{sse-S5aMzXcs.cjs.map → sse-BkXPjwFU.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-DbZOAt18.mjs.map +0 -1
- package/dist/dist-vuSksyzQ.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-Cx3AxGVV.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.actionCoreSchema = require_dist.actionCoreSchema;
|
package/dist/action.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as toCredentialRequirement, _ as credential, a as getActionCredentialRequirements, b as isCredentialInput, c as isStepInvocation, d as resolveActionTool, f as runOutsideActionExecution, g as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, i as executeAction, l as isWithinActionExecution, m as CREDENTIAL_SCOPE_LEVELS, n as createStepInvocation, o as getWorkflowRunHandle, p as runWithinActionExecution, r as defineAction, s as isAction, t as actionCoreSchema, u as registerWorkflowRunGetter, v as credentialInputSchema, x as normalizeCredentialList, y as defineCredential } from "./dist-
|
|
1
|
+
import { S as toCredentialRequirement, _ as credential, a as getActionCredentialRequirements, b as isCredentialInput, c as isStepInvocation, d as resolveActionTool, f as runOutsideActionExecution, g as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, i as executeAction, l as isWithinActionExecution, m as CREDENTIAL_SCOPE_LEVELS, n as createStepInvocation, o as getWorkflowRunHandle, p as runWithinActionExecution, r as defineAction, s as isAction, t as actionCoreSchema, u as registerWorkflowRunGetter, v as credentialInputSchema, x as normalizeCredentialList, y as defineCredential } from "./dist-DUr7m0h3.mjs";
|
|
2
2
|
export { CREDENTIAL_SCOPE_LEVELS, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, actionCoreSchema, createStepInvocation, credential, credentialInputSchema, defineAction, defineCredential, executeAction, getActionCredentialRequirements, getWorkflowRunHandle, isAction, isCredentialInput, isStepInvocation, isWithinActionExecution, normalizeCredentialList, registerWorkflowRunGetter, resolveActionTool, runOutsideActionExecution, runWithinActionExecution, toCredentialRequirement };
|
package/dist/agent.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_dist$1 = require("./dist-DnGkWV6x.cjs");
|
|
3
|
-
const require_dist$2 = require("./dist-
|
|
3
|
+
const require_dist$2 = require("./dist-Cx3AxGVV.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-CwSaKHrs.cjs");
|
|
7
|
-
const require_dist$3 = require("./dist-
|
|
7
|
+
const require_dist$3 = require("./dist-DMTF8QHo.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-
|
|
904
|
+
mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-CYHJiH7Q.cjs")).then((module) => {
|
|
905
905
|
const provider = module;
|
|
906
906
|
return {
|
|
907
907
|
stream: provider.streamMistral,
|
package/dist/agent.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { $ as Options, $t as IsMap, An as IsSymbol$1, At as Unreachable, Bn as __require, Bt as IsRef$1, Cn as IsMinLength$2, Ct as IsInteger$2, Dn as IsObject$1, Dt as IsCodec, En as IsNumber$1, Et as IsBigInt$2, Fn as Symbols, Ft as IsUnion, G as ensureWorkspaceDir, Gt as IsArray$2, Ht as IsFunction$2, In as guard_exports, It as Union, Jt as IsOptional, K as materializeSandbox, Kt as Base, Ln as __commonJSMin, Lt as IsObject$2, Mn as IsUnsafePropertyKey, Mt as IsEnum$1, Nn as IsValueLike, Nt as IsCyclic, On as IsObjectNotArray$1, Ot as Hash, Pn as Keys$1, Pt as Unknown, Q as Instantiate, Qt as Get$3, Rt as _Object_, Sn as IsMaxLength$2, St as IsIterator$2, Tn as IsNull$1, Tt as IsBoolean$2, Ut as IsConstructor$2, Vt as Ref$1, W as defineSandbox, Wt as IsAsyncIterator$2, X as resolveSandboxRoot, Xt as IsPromise, Yt as Optional, Z as Evaluate$1, Zt as IsSchema$1, _n as IsGreaterThan$1, _t as IsLiteralBigInt, a as createSandbox, an as EveryAll, at as RecordPattern, bn as IsLessEqualThan$1, bt as IsLiteralString, c as defineTool$1, cn as IsAsyncIterator$1, ct as EnumToUnion, d as resolveRunProvider, dn as IsClassInstance, dt as String$1, en as IsSet, et as Compare, fn as IsConstructor$1, ft as IsSymbol$2, gn as IsGreaterEqualThan$1, gt as IsLiteral, hn as IsFunction$1, ht as IsNull$2, i as createJustBashProvider, in as Every$1, it as IsRecord, jn as IsUndefined$1, jt as IsIntersect, kn as IsString$1, kt as hash_exports, ln as IsBigInt$1, lt as TemplateLiteralDecode, mn as IsEqual$1, mt as Number$1, nn as Entries$2, nt as IsVoid, o as defaultWorkspacesRoot, on as HasPropertyKey$1, ot as RecordValue, pn as IsDeepEqual$1, pt as IsNumber$2, q as packAssetDirs, qt as IsBase, r as createInvokeToolBridge, rn as EntriesRegExp, rt as IsUndefined$2, s as defineSkill, sn as IsArray$1, st as IsTuple, tn as IsTypeArray, tt as IsTemplateLiteral, u as materializeSkills, un as IsBoolean$1, ut as IsString$2, vn as IsInteger$1, vt as IsLiteralBoolean, wn as IsMultipleOf$1, wt as Boolean$1, xn as IsLessThan$1, xt as Literal, yn as IsIterator$1, yt as IsLiteralNumber, zn as __exportAll, zt as IsNever } from "./dist-Dv44b9V1.mjs";
|
|
2
|
-
import { d as resolveActionTool, l as isWithinActionExecution, o as getWorkflowRunHandle, s as isAction } from "./dist-
|
|
2
|
+
import { d as resolveActionTool, l as isWithinActionExecution, o as getWorkflowRunHandle, s as isAction } from "./dist-DUr7m0h3.mjs";
|
|
3
3
|
import "./env-api-keys-mjSaOeuP.mjs";
|
|
4
4
|
import { i as getModel, t as AssistantMessageEventStream } from "./event-stream-C7YBbzsc.mjs";
|
|
5
5
|
import "./json-parse-Drlv-g_X.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-
|
|
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-BJcgcorJ.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-
|
|
903
|
+
mistralProviderModulePromise ||= import("./mistral-BEj8O046.mjs").then((module) => {
|
|
904
904
|
const provider = module;
|
|
905
905
|
return {
|
|
906
906
|
stream: provider.streamMistral,
|
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-Cx3AxGVV.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.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as toCredentialRequirement, _ as credential, b as isCredentialInput, g as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, m as CREDENTIAL_SCOPE_LEVELS, v as credentialInputSchema, x as normalizeCredentialList, y as defineCredential } from "./dist-
|
|
1
|
+
import { S as toCredentialRequirement, _ as credential, b as isCredentialInput, g as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, m as CREDENTIAL_SCOPE_LEVELS, v as credentialInputSchema, x as normalizeCredentialList, y as defineCredential } from "./dist-DUr7m0h3.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 { h as CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE, x as normalizeCredentialList } from "./dist-
|
|
2
|
+
import { h as CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE, x as normalizeCredentialList } from "./dist-DUr7m0h3.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-BNHW9nlN.mjs");
|
|
13255
13255
|
return new SSEClientTransport(url, {
|
|
13256
13256
|
requestInit,
|
|
13257
13257
|
fetch: fetchImpl
|
|
@@ -17560,6 +17560,8 @@ const projects = pgTable("projects", {
|
|
|
17560
17560
|
name: text$1("name").notNull(),
|
|
17561
17561
|
slug: text$1("slug").notNull(),
|
|
17562
17562
|
description: text$1("description"),
|
|
17563
|
+
defaultMemberRole: text$1("default_member_role").notNull().$type().default("builder"),
|
|
17564
|
+
invitePermission: text$1("invite_permission").notNull().$type().default("admin"),
|
|
17563
17565
|
createdByUserId: text$1("created_by_user_id").references(() => users.id, { onDelete: "set null" }),
|
|
17564
17566
|
status: projectStatusEnum("status").notNull(),
|
|
17565
17567
|
baseUrl: text$1("base_url"),
|
|
@@ -17588,6 +17590,15 @@ const projectArtifacts = pgTable("project_artifacts", {
|
|
|
17588
17590
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
17589
17591
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
17590
17592
|
}, (table) => [index$1("project_artifacts_project_id_idx").on(table.projectId)]);
|
|
17593
|
+
const projectUsers = pgTable("project_users", {
|
|
17594
|
+
projectId: text$1("project_id").notNull().references(() => projects.id, { onDelete: "cascade" }),
|
|
17595
|
+
userId: text$1("user_id").notNull().references(() => users.id, { onDelete: "cascade" }),
|
|
17596
|
+
role: text$1("role").notNull().$type(),
|
|
17597
|
+
status: text$1("status").notNull().$type().default("active"),
|
|
17598
|
+
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
17599
|
+
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
|
|
17600
|
+
deletedAt: timestamp("deleted_at", { withTimezone: true })
|
|
17601
|
+
}, (table) => [primaryKey({ columns: [table.projectId, table.userId] }), index$1("project_users_user_id_idx").on(table.userId)]);
|
|
17591
17602
|
const secretValues = pgTable("secret_values", {
|
|
17592
17603
|
id: text$1("id").primaryKey(),
|
|
17593
17604
|
organizationId: text$1("organization_id").notNull().references(() => organizations.id, { onDelete: "cascade" }),
|
|
@@ -17603,6 +17614,7 @@ buildPgSchema({
|
|
|
17603
17614
|
organizationUsers: { pg: organizationUsers },
|
|
17604
17615
|
organizationInvitations: { pg: organizationInvitations },
|
|
17605
17616
|
projects: { pg: projects },
|
|
17617
|
+
projectUsers: { pg: projectUsers },
|
|
17606
17618
|
projectArtifacts: { pg: projectArtifacts },
|
|
17607
17619
|
users: { pg: users },
|
|
17608
17620
|
authSessions: { pg: authSessions },
|
|
@@ -18195,4 +18207,4 @@ async function resolveActionCredentials(requirements, options) {
|
|
|
18195
18207
|
//#endregion
|
|
18196
18208
|
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 };
|
|
18197
18209
|
|
|
18198
|
-
//# sourceMappingURL=dist-
|
|
18210
|
+
//# sourceMappingURL=dist-BJcgcorJ.mjs.map
|