@keystrokehq/keystroke 0.1.8 → 0.1.10
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/agent.cjs +2 -2
- package/dist/agent.mjs +2 -2
- package/dist/{dist-D-j0lMlf.cjs → dist-C7GrrDR3.cjs} +8 -8
- package/dist/dist-C7GrrDR3.cjs.map +1 -0
- package/dist/{dist-BiwmtoDI.mjs → dist-CyWIE4lX.mjs} +8 -8
- package/dist/dist-CyWIE4lX.mjs.map +1 -0
- package/dist/{dist-WhdGPpZa.mjs → dist-DQe5SBIW.mjs} +2 -2
- package/dist/{dist-WhdGPpZa.mjs.map → dist-DQe5SBIW.mjs.map} +1 -1
- package/dist/{dist-ZNGrQOYn.cjs → dist-mXGAcUAY.cjs} +2 -2
- package/dist/{dist-ZNGrQOYn.cjs.map → dist-mXGAcUAY.cjs.map} +1 -1
- package/dist/index-CGHk6JeR.d.mts.map +1 -1
- package/dist/index-DY2poEgq.d.cts.map +1 -1
- package/dist/{mistral-PvY-HKC1.mjs → mistral-CMXoCPOF.mjs} +2 -2
- package/dist/{mistral-PvY-HKC1.mjs.map → mistral-CMXoCPOF.mjs.map} +1 -1
- package/dist/{mistral-BEZ2f6Kj.cjs → mistral-D43ubCmZ.cjs} +2 -2
- package/dist/{mistral-BEZ2f6Kj.cjs.map → mistral-D43ubCmZ.cjs.map} +1 -1
- package/dist/{sse-D-NsD0on.mjs → sse-DGW-7ood.mjs} +2 -2
- package/dist/{sse-D-NsD0on.mjs.map → sse-DGW-7ood.mjs.map} +1 -1
- package/dist/{sse-DirxMgjg.cjs → sse-ifNfh8dE.cjs} +2 -2
- package/dist/{sse-DirxMgjg.cjs.map → sse-ifNfh8dE.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-BiwmtoDI.mjs.map +0 -1
- package/dist/dist-D-j0lMlf.cjs.map +0 -1
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
3
|
const require_dist$1 = require("./dist-KN2BWOS7.cjs");
|
|
4
|
-
const require_dist$2 = require("./dist-
|
|
4
|
+
const require_dist$2 = require("./dist-C7GrrDR3.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-D43ubCmZ.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
2
|
import { c as getRunSignal, f as isWithinActionExecution, h as resolveActionTool, j as toolParameters, l as getWorkflowRunHandle, u as isAction } from "./dist-B9FCsH5q.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-
|
|
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-CyWIE4lX.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-CMXoCPOF.mjs").then((module) => {
|
|
905
905
|
const provider = module;
|
|
906
906
|
return {
|
|
907
907
|
stream: provider.streamMistral,
|
|
@@ -3212,7 +3212,7 @@ const agentEvents = pgTable("agent_events", {
|
|
|
3212
3212
|
payload: jsonb("payload").notNull(),
|
|
3213
3213
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
3214
3214
|
deletedAt: timestamp("deleted_at", { withTimezone: true })
|
|
3215
|
-
});
|
|
3215
|
+
}, (table) => [index$1("agent_events_session_event_seq_idx").on(table.sessionId, table.eventType, table.seq)]);
|
|
3216
3216
|
const agentEventsSqlite = sqliteTable("agent_events", {
|
|
3217
3217
|
id: text("id").primaryKey(),
|
|
3218
3218
|
sessionId: text("session_id").notNull().references(() => agentSessionsSqlite.id),
|
|
@@ -3221,7 +3221,7 @@ const agentEventsSqlite = sqliteTable("agent_events", {
|
|
|
3221
3221
|
payload: text("payload", { mode: "json" }).notNull(),
|
|
3222
3222
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
3223
3223
|
deletedAt: integer("deleted_at", { mode: "timestamp_ms" })
|
|
3224
|
-
});
|
|
3224
|
+
}, (table) => [index("agent_events_session_event_seq_idx").on(table.sessionId, table.eventType, table.seq)]);
|
|
3225
3225
|
const usageRecords = pgTable("usage_records", {
|
|
3226
3226
|
id: text$1("id").primaryKey(),
|
|
3227
3227
|
runId: text$1("run_id").notNull(),
|
|
@@ -3513,7 +3513,7 @@ const credentialAssignments = pgTable("credential_assignments", {
|
|
|
3513
3513
|
instanceId: text$1("instance_id").notNull(),
|
|
3514
3514
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
3515
3515
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
3516
|
-
}, (table) => [uniqueIndex$1("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)
|
|
3516
|
+
}, (table) => [uniqueIndex$1("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)]);
|
|
3517
3517
|
const credentialAssignmentsSqlite = sqliteTable("credential_assignments", {
|
|
3518
3518
|
id: text("id").primaryKey(),
|
|
3519
3519
|
projectId: text("project_id").notNull(),
|
|
@@ -3524,7 +3524,7 @@ const credentialAssignmentsSqlite = sqliteTable("credential_assignments", {
|
|
|
3524
3524
|
instanceId: text("instance_id").notNull(),
|
|
3525
3525
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
3526
3526
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
3527
|
-
}, (table) => [uniqueIndex("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)
|
|
3527
|
+
}, (table) => [uniqueIndex("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)]);
|
|
3528
3528
|
const jobs = pgTable("jobs", {
|
|
3529
3529
|
id: text$1("id").primaryKey(),
|
|
3530
3530
|
projectId: text$1("project_id").notNull(),
|
|
@@ -23908,7 +23908,7 @@ async function connectMcpServer(name, options) {
|
|
|
23908
23908
|
}
|
|
23909
23909
|
async function createTransport(url, transport, requestInit, fetchImpl) {
|
|
23910
23910
|
if (transport === "sse") {
|
|
23911
|
-
const { SSEClientTransport } = await Promise.resolve().then(() => require("./sse-
|
|
23911
|
+
const { SSEClientTransport } = await Promise.resolve().then(() => require("./sse-ifNfh8dE.cjs"));
|
|
23912
23912
|
return new SSEClientTransport(url, {
|
|
23913
23913
|
requestInit,
|
|
23914
23914
|
fetch: fetchImpl
|
|
@@ -24552,7 +24552,7 @@ const secretValues = pgTable("secret_values", {
|
|
|
24552
24552
|
ciphertext: text$1("ciphertext").notNull(),
|
|
24553
24553
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
24554
24554
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
24555
|
-
}, (table) => [uniqueIndex$1("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)
|
|
24555
|
+
}, (table) => [uniqueIndex$1("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)]);
|
|
24556
24556
|
const secretValuesSqlite = sqliteTable("secret_values", {
|
|
24557
24557
|
id: text("id").primaryKey(),
|
|
24558
24558
|
organizationId: text("organization_id").notNull().references(() => organizationsSqlite.id, { onDelete: "cascade" }),
|
|
@@ -24562,7 +24562,7 @@ const secretValuesSqlite = sqliteTable("secret_values", {
|
|
|
24562
24562
|
ciphertext: text("ciphertext").notNull(),
|
|
24563
24563
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
24564
24564
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
24565
|
-
}, (table) => [uniqueIndex("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)
|
|
24565
|
+
}, (table) => [uniqueIndex("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)]);
|
|
24566
24566
|
/**
|
|
24567
24567
|
* Platform control-plane tables — Postgres (hosted) or SQLite (local dev).
|
|
24568
24568
|
*/
|
|
@@ -25846,4 +25846,4 @@ Object.defineProperty(exports, "zodToJsonSchema", {
|
|
|
25846
25846
|
}
|
|
25847
25847
|
});
|
|
25848
25848
|
|
|
25849
|
-
//# sourceMappingURL=dist-
|
|
25849
|
+
//# sourceMappingURL=dist-C7GrrDR3.cjs.map
|