@keystrokehq/keystroke 0.0.77 → 0.0.78
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-BNJUEQuz.mjs → dist-B7ES0xNw.mjs} +6 -4
- package/dist/{dist-BNJUEQuz.mjs.map → dist-B7ES0xNw.mjs.map} +1 -1
- package/dist/{dist-ItsoC5HL.cjs → dist-Bpe_YLml.cjs} +6 -4
- package/dist/{dist-ItsoC5HL.cjs.map → dist-Bpe_YLml.cjs.map} +1 -1
- package/dist/{dist-tz7FGihf.mjs → dist-BtUZgkWX.mjs} +3 -3
- package/dist/{dist-tz7FGihf.mjs.map → dist-BtUZgkWX.mjs.map} +1 -1
- package/dist/{dist-BmPy5M5x.mjs → dist-BuYkgW2u.mjs} +6 -2
- package/dist/dist-BuYkgW2u.mjs.map +1 -0
- package/dist/{dist-CMtsXlvx.cjs → dist-CX_VjS8G.cjs} +6 -2
- package/dist/dist-CX_VjS8G.cjs.map +1 -0
- package/dist/{dist-CEwjYC2P.cjs → dist-DR_w7Bmm.cjs} +3 -3
- package/dist/{dist-CEwjYC2P.cjs.map → dist-DR_w7Bmm.cjs.map} +1 -1
- package/dist/index-BeEymXir.d.cts.map +1 -1
- package/dist/index-BeEymXir.d.mts.map +1 -1
- package/dist/{mistral-D7a1LQ-6.mjs → mistral-B8z_6zB0.mjs} +2 -2
- package/dist/{mistral-D7a1LQ-6.mjs.map → mistral-B8z_6zB0.mjs.map} +1 -1
- package/dist/{mistral-CQYg1JOM.cjs → mistral-TLUycOvY.cjs} +2 -2
- package/dist/{mistral-CQYg1JOM.cjs.map → mistral-TLUycOvY.cjs.map} +1 -1
- package/dist/{sse-Du6RPHfh.mjs → sse-BSm1UyYJ.mjs} +2 -2
- package/dist/{sse-Du6RPHfh.mjs.map → sse-BSm1UyYJ.mjs.map} +1 -1
- package/dist/{sse-DT9Dj_UC.cjs → sse-DDj9BDCL.cjs} +2 -2
- package/dist/{sse-DT9Dj_UC.cjs.map → sse-DDj9BDCL.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-BmPy5M5x.mjs.map +0 -1
- package/dist/dist-CMtsXlvx.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-CX_VjS8G.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 { _ as credentialInputSchema, a as getActionCredentialRequirements, b as normalizeCredentialList, c as isStepInvocation, d as runOutsideActionExecution, f as runWithinActionExecution, g as credential, h as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, i as executeAction, l as registerWorkflowRunGetter, n as createStepInvocation, o as getWorkflowRunHandle, p as CREDENTIAL_SCOPE_LEVELS, r as defineAction, s as isAction, t as actionCoreSchema, u as resolveActionTool, v as defineCredential, x as toCredentialRequirement, y as isCredentialInput } from "./dist-
|
|
1
|
+
import { _ as credentialInputSchema, a as getActionCredentialRequirements, b as normalizeCredentialList, c as isStepInvocation, d as runOutsideActionExecution, f as runWithinActionExecution, g as credential, h as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, i as executeAction, l as registerWorkflowRunGetter, n as createStepInvocation, o as getWorkflowRunHandle, p as CREDENTIAL_SCOPE_LEVELS, r as defineAction, s as isAction, t as actionCoreSchema, u as resolveActionTool, v as defineCredential, x as toCredentialRequirement, y as isCredentialInput } from "./dist-BuYkgW2u.mjs";
|
|
2
2
|
export { CREDENTIAL_SCOPE_LEVELS, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, actionCoreSchema, createStepInvocation, credential, credentialInputSchema, defineAction, defineCredential, executeAction, getActionCredentialRequirements, getWorkflowRunHandle, isAction, isCredentialInput, isStepInvocation, 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-C7Fgk61q.cjs");
|
|
3
|
-
const require_dist$2 = require("./dist-
|
|
3
|
+
const require_dist$2 = require("./dist-CX_VjS8G.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-DV41_cbO.cjs");
|
|
7
|
-
const require_dist$3 = require("./dist-
|
|
7
|
+
const require_dist$3 = require("./dist-Bpe_YLml.cjs");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
let node_module = require("node:module");
|
|
10
10
|
let node_fs = require("node:fs");
|
|
@@ -928,7 +928,7 @@ function loadGoogleVertexProviderModule() {
|
|
|
928
928
|
return googleVertexProviderModulePromise;
|
|
929
929
|
}
|
|
930
930
|
function loadMistralProviderModule() {
|
|
931
|
-
mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-
|
|
931
|
+
mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-TLUycOvY.cjs")).then((module) => {
|
|
932
932
|
const provider = module;
|
|
933
933
|
return {
|
|
934
934
|
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, Y as resolveAppRootFromModule, 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-PFUo6XmY.mjs";
|
|
2
|
-
import { s as isAction, u as resolveActionTool } from "./dist-
|
|
2
|
+
import { s as isAction, u as resolveActionTool } from "./dist-BuYkgW2u.mjs";
|
|
3
3
|
import "./env-api-keys-CdN4tAK8.mjs";
|
|
4
4
|
import { i as getModel, t as AssistantMessageEventStream } from "./event-stream-C7YBbzsc.mjs";
|
|
5
5
|
import "./json-parse-CQOxNUrj.mjs";
|
|
6
|
-
import { S as isMcp, _ as touchSession, a as buildCredentialRunContext, b as connectMcpStdio, c as isCredentialError, d as MESSAGE_EVENT_TYPE$1, f as appendEvent, g as listMessageEvents, h as getSession, i as withSpan, l as resolveActionCredentials, m as getAgentByRoute, n as getTraceContext, o as captureCredentialToolErrors, p as createSession, s as createCredentialResolver, t as captureConsole, u as resolveMcpTools, v as connectMcpDefinition, x as defineMcp, y as connectMcpServer } from "./dist-
|
|
6
|
+
import { S as isMcp, _ as touchSession, a as buildCredentialRunContext, b as connectMcpStdio, c as isCredentialError, d as MESSAGE_EVENT_TYPE$1, f as appendEvent, g as listMessageEvents, h as getSession, i as withSpan, l as resolveActionCredentials, m as getAgentByRoute, n as getTraceContext, o as captureCredentialToolErrors, p as createSession, s as createCredentialResolver, t as captureConsole, u as resolveMcpTools, v as connectMcpDefinition, x as defineMcp, y as connectMcpServer } from "./dist-B7ES0xNw.mjs";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -927,7 +927,7 @@ function loadGoogleVertexProviderModule() {
|
|
|
927
927
|
return googleVertexProviderModulePromise;
|
|
928
928
|
}
|
|
929
929
|
function loadMistralProviderModule() {
|
|
930
|
-
mistralProviderModulePromise ||= import("./mistral-
|
|
930
|
+
mistralProviderModulePromise ||= import("./mistral-B8z_6zB0.mjs").then((module) => {
|
|
931
931
|
const provider = module;
|
|
932
932
|
return {
|
|
933
933
|
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-CX_VjS8G.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 { _ as credentialInputSchema, b as normalizeCredentialList, g as credential, h as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, p as CREDENTIAL_SCOPE_LEVELS, v as defineCredential, x as toCredentialRequirement, y as isCredentialInput } from "./dist-
|
|
1
|
+
import { _ as credentialInputSchema, b as normalizeCredentialList, g as credential, h as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, p as CREDENTIAL_SCOPE_LEVELS, v as defineCredential, x as toCredentialRequirement, y as isCredentialInput } from "./dist-BuYkgW2u.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-PFUo6XmY.mjs";
|
|
2
|
-
import { b as normalizeCredentialList, m as CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE } from "./dist-
|
|
2
|
+
import { b as normalizeCredentialList, m as CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE } from "./dist-BuYkgW2u.mjs";
|
|
3
3
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import { ZodFirstPartyTypeKind } from "zod/v3";
|
|
@@ -13252,7 +13252,7 @@ async function connectMcpServer(name, options) {
|
|
|
13252
13252
|
}
|
|
13253
13253
|
async function createTransport(url, transport, requestInit, fetchImpl) {
|
|
13254
13254
|
if (transport === "sse") {
|
|
13255
|
-
const { SSEClientTransport } = await import("./sse-
|
|
13255
|
+
const { SSEClientTransport } = await import("./sse-BSm1UyYJ.mjs");
|
|
13256
13256
|
return new SSEClientTransport(url, {
|
|
13257
13257
|
requestInit,
|
|
13258
13258
|
fetch: fetchImpl
|
|
@@ -17364,6 +17364,8 @@ const projects = pgTable("projects", {
|
|
|
17364
17364
|
id: text$1("id").primaryKey(),
|
|
17365
17365
|
organizationId: text$1("organization_id").notNull().references(() => organizations.id, { onDelete: "cascade" }),
|
|
17366
17366
|
name: text$1("name").notNull(),
|
|
17367
|
+
description: text$1("description"),
|
|
17368
|
+
createdByUserId: text$1("created_by_user_id").references(() => users.id, { onDelete: "set null" }),
|
|
17367
17369
|
status: projectStatusEnum("status").notNull(),
|
|
17368
17370
|
baseUrl: text$1("base_url"),
|
|
17369
17371
|
runtimeId: text$1("runtime_id"),
|
|
@@ -17373,7 +17375,7 @@ const projects = pgTable("projects", {
|
|
|
17373
17375
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
17374
17376
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
|
|
17375
17377
|
deletedAt: timestamp("deleted_at", { withTimezone: true })
|
|
17376
|
-
}, (table) => [index$1("projects_organization_id_idx").on(table.organizationId)]);
|
|
17378
|
+
}, (table) => [index$1("projects_organization_id_idx").on(table.organizationId), uniqueIndex$1("projects_org_auto_created_by_user_unique").on(table.organizationId, table.createdByUserId).where(sql`${table.createdByUserId} IS NOT NULL AND ${table.deletedAt} IS NULL`)]);
|
|
17377
17379
|
const projectArtifactStatusEnum = pgEnum("project_artifact_status", ["pending", "ready"]);
|
|
17378
17380
|
const projectArtifacts = pgTable("project_artifacts", {
|
|
17379
17381
|
id: text$1("id").primaryKey(),
|
|
@@ -18025,4 +18027,4 @@ async function withSpan(input, fn) {
|
|
|
18025
18027
|
//#endregion
|
|
18026
18028
|
export { JSONRPCMessageSchema as A, createParser as C, createFetchWithInit as D, extractWWWAuthenticateParams as E, normalizeHeaders as O, isMcp as S, auth as T, touchSession as _, buildCredentialRunContext as a, connectMcpStdio as b, isCredentialError as c, MESSAGE_EVENT_TYPE as d, appendEvent as f, listMessageEvents as g, getSession as h, withSpan as i, zodToJsonSchema as k, resolveActionCredentials as l, getAgentByRoute as m, getTraceContext as n, captureCredentialToolErrors as o, createSession as p, logSystem as r, createCredentialResolver as s, captureConsole as t, resolveMcpTools as u, connectMcpDefinition as v, UnauthorizedError as w, defineMcp as x, connectMcpServer as y };
|
|
18027
18029
|
|
|
18028
|
-
//# sourceMappingURL=dist-
|
|
18030
|
+
//# sourceMappingURL=dist-B7ES0xNw.mjs.map
|