@keystrokehq/keystroke 0.1.5 → 0.1.9
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/config.d.cts +27 -1
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +27 -1
- package/dist/config.d.mts.map +1 -1
- package/dist/credentials.cjs +1 -1
- package/dist/credentials.mjs +1 -1
- package/dist/{dist-DITzMH5H.mjs → dist-B9FCsH5q.mjs} +27 -12
- package/dist/dist-B9FCsH5q.mjs.map +1 -0
- package/dist/{dist-BzUe51qj.cjs → dist-C7GrrDR3.cjs} +11 -11
- package/dist/dist-C7GrrDR3.cjs.map +1 -0
- package/dist/{dist-Ca2IO2Fx.mjs → dist-CyWIE4lX.mjs} +11 -11
- package/dist/dist-CyWIE4lX.mjs.map +1 -0
- package/dist/{dist-CuPZJCMc.mjs → dist-DQe5SBIW.mjs} +3 -3
- package/dist/{dist-CuPZJCMc.mjs.map → dist-DQe5SBIW.mjs.map} +1 -1
- package/dist/{dist-CfckkIpt.cjs → dist-KN2BWOS7.cjs} +27 -12
- package/dist/dist-KN2BWOS7.cjs.map +1 -0
- package/dist/{dist-ME6DBCVD.cjs → dist-mXGAcUAY.cjs} +3 -3
- package/dist/{dist-ME6DBCVD.cjs.map → dist-mXGAcUAY.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-CkM_GBNT.mjs → mistral-CMXoCPOF.mjs} +2 -2
- package/dist/{mistral-CkM_GBNT.mjs.map → mistral-CMXoCPOF.mjs.map} +1 -1
- package/dist/{mistral-DUs5ePfb.cjs → mistral-D43ubCmZ.cjs} +2 -2
- package/dist/{mistral-DUs5ePfb.cjs.map → mistral-D43ubCmZ.cjs.map} +1 -1
- package/dist/{sse-CXokDbu2.mjs → sse-DGW-7ood.mjs} +2 -2
- package/dist/{sse-CXokDbu2.mjs.map → sse-DGW-7ood.mjs.map} +1 -1
- package/dist/{sse-CQ287z_7.cjs → sse-ifNfh8dE.cjs} +2 -2
- package/dist/{sse-CQ287z_7.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-BzUe51qj.cjs.map +0 -1
- package/dist/dist-Ca2IO2Fx.mjs.map +0 -1
- package/dist/dist-CfckkIpt.cjs.map +0 -1
- package/dist/dist-DITzMH5H.mjs.map +0 -1
|
@@ -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-B9FCsH5q.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
5
5
|
import "node:fs";
|
|
@@ -3208,7 +3208,7 @@ const agentEvents = pgTable("agent_events", {
|
|
|
3208
3208
|
payload: jsonb("payload").notNull(),
|
|
3209
3209
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
3210
3210
|
deletedAt: timestamp("deleted_at", { withTimezone: true })
|
|
3211
|
-
});
|
|
3211
|
+
}, (table) => [index$1("agent_events_session_event_seq_idx").on(table.sessionId, table.eventType, table.seq)]);
|
|
3212
3212
|
const agentEventsSqlite = sqliteTable("agent_events", {
|
|
3213
3213
|
id: text("id").primaryKey(),
|
|
3214
3214
|
sessionId: text("session_id").notNull().references(() => agentSessionsSqlite.id),
|
|
@@ -3217,7 +3217,7 @@ const agentEventsSqlite = sqliteTable("agent_events", {
|
|
|
3217
3217
|
payload: text("payload", { mode: "json" }).notNull(),
|
|
3218
3218
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
3219
3219
|
deletedAt: integer("deleted_at", { mode: "timestamp_ms" })
|
|
3220
|
-
});
|
|
3220
|
+
}, (table) => [index("agent_events_session_event_seq_idx").on(table.sessionId, table.eventType, table.seq)]);
|
|
3221
3221
|
const usageRecords = pgTable("usage_records", {
|
|
3222
3222
|
id: text$1("id").primaryKey(),
|
|
3223
3223
|
runId: text$1("run_id").notNull(),
|
|
@@ -3509,7 +3509,7 @@ const credentialAssignments = pgTable("credential_assignments", {
|
|
|
3509
3509
|
instanceId: text$1("instance_id").notNull(),
|
|
3510
3510
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
3511
3511
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
3512
|
-
}, (table) => [uniqueIndex$1("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)
|
|
3512
|
+
}, (table) => [uniqueIndex$1("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)]);
|
|
3513
3513
|
const credentialAssignmentsSqlite = sqliteTable("credential_assignments", {
|
|
3514
3514
|
id: text("id").primaryKey(),
|
|
3515
3515
|
projectId: text("project_id").notNull(),
|
|
@@ -3520,7 +3520,7 @@ const credentialAssignmentsSqlite = sqliteTable("credential_assignments", {
|
|
|
3520
3520
|
instanceId: text("instance_id").notNull(),
|
|
3521
3521
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
3522
3522
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
3523
|
-
}, (table) => [uniqueIndex("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)
|
|
3523
|
+
}, (table) => [uniqueIndex("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)]);
|
|
3524
3524
|
const jobs = pgTable("jobs", {
|
|
3525
3525
|
id: text$1("id").primaryKey(),
|
|
3526
3526
|
projectId: text$1("project_id").notNull(),
|
|
@@ -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-DGW-7ood.mjs");
|
|
23905
23905
|
return new SSEClientTransport(url, {
|
|
23906
23906
|
requestInit,
|
|
23907
23907
|
fetch: fetchImpl
|
|
@@ -24325,7 +24325,7 @@ const apps = pgTable("apps", {
|
|
|
24325
24325
|
oauthScopes: jsonb("oauth_scopes").$type().notNull(),
|
|
24326
24326
|
credentialFields: jsonb("credential_fields").$type().notNull().default({}),
|
|
24327
24327
|
credentialScheme: text$1("credential_scheme").$type(),
|
|
24328
|
-
|
|
24328
|
+
url: text$1("url"),
|
|
24329
24329
|
source: text$1("source").$type().notNull(),
|
|
24330
24330
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
24331
24331
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
@@ -24342,7 +24342,7 @@ const appsSqlite = sqliteTable("apps", {
|
|
|
24342
24342
|
oauthScopes: text("oauth_scopes", { mode: "json" }).$type().notNull(),
|
|
24343
24343
|
credentialFields: text("credential_fields", { mode: "json" }).$type().notNull().default({}),
|
|
24344
24344
|
credentialScheme: text("credential_scheme").$type(),
|
|
24345
|
-
|
|
24345
|
+
url: text("url"),
|
|
24346
24346
|
source: text("source").$type().notNull(),
|
|
24347
24347
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
24348
24348
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
@@ -24545,7 +24545,7 @@ const secretValues = pgTable("secret_values", {
|
|
|
24545
24545
|
ciphertext: text$1("ciphertext").notNull(),
|
|
24546
24546
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
24547
24547
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
24548
|
-
}, (table) => [uniqueIndex$1("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)
|
|
24548
|
+
}, (table) => [uniqueIndex$1("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)]);
|
|
24549
24549
|
const secretValuesSqlite = sqliteTable("secret_values", {
|
|
24550
24550
|
id: text("id").primaryKey(),
|
|
24551
24551
|
organizationId: text("organization_id").notNull().references(() => organizationsSqlite.id, { onDelete: "cascade" }),
|
|
@@ -24555,7 +24555,7 @@ const secretValuesSqlite = sqliteTable("secret_values", {
|
|
|
24555
24555
|
ciphertext: text("ciphertext").notNull(),
|
|
24556
24556
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
24557
24557
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
24558
|
-
}, (table) => [uniqueIndex("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)
|
|
24558
|
+
}, (table) => [uniqueIndex("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)]);
|
|
24559
24559
|
/**
|
|
24560
24560
|
* Platform control-plane tables — Postgres (hosted) or SQLite (local dev).
|
|
24561
24561
|
*/
|
|
@@ -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-CyWIE4lX.mjs.map
|