@keystrokehq/keystroke 0.0.106 → 0.0.109
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/config.d.cts +23 -2
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +23 -2
- package/dist/config.d.mts.map +1 -1
- package/dist/{dist-D-zdAX6C.mjs → dist-CAA_Ik8x.mjs} +58 -58
- package/dist/{dist-D-zdAX6C.mjs.map → dist-CAA_Ik8x.mjs.map} +1 -1
- package/dist/{dist-DWpxXaeo.cjs → dist-CU4Mv5ac.cjs} +58 -58
- package/dist/{dist-DWpxXaeo.cjs.map → dist-CU4Mv5ac.cjs.map} +1 -1
- package/dist/{dist-Bii35IlU.cjs → dist-CVVoyUXL.cjs} +2 -2
- package/dist/{dist-Bii35IlU.cjs.map → dist-CVVoyUXL.cjs.map} +1 -1
- package/dist/{dist-C3lGcV__.mjs → dist-CdeDUiky.mjs} +2 -2
- package/dist/{dist-C3lGcV__.mjs.map → dist-CdeDUiky.mjs.map} +1 -1
- package/dist/{mistral-CPOKTcr4.mjs → mistral-C0v9IUYz.mjs} +2 -2
- package/dist/{mistral-CPOKTcr4.mjs.map → mistral-C0v9IUYz.mjs.map} +1 -1
- package/dist/{mistral-CqaROnpc.cjs → mistral-wxp5Ba0T.cjs} +2 -2
- package/dist/{mistral-CqaROnpc.cjs.map → mistral-wxp5Ba0T.cjs.map} +1 -1
- package/dist/{sse-BxnLcsGm.mjs → sse-BLQNWTIl.mjs} +2 -2
- package/dist/{sse-BxnLcsGm.mjs.map → sse-BLQNWTIl.mjs.map} +1 -1
- package/dist/{sse-DMnKeS_p.cjs → sse-BttqM5xp.cjs} +2 -2
- package/dist/{sse-DMnKeS_p.cjs.map → sse-BttqM5xp.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
|
@@ -13262,7 +13262,7 @@ async function connectMcpServer(name, options) {
|
|
|
13262
13262
|
}
|
|
13263
13263
|
async function createTransport(url, transport, requestInit, fetchImpl) {
|
|
13264
13264
|
if (transport === "sse") {
|
|
13265
|
-
const { SSEClientTransport } = await Promise.resolve().then(() => require("./sse-
|
|
13265
|
+
const { SSEClientTransport } = await Promise.resolve().then(() => require("./sse-BttqM5xp.cjs"));
|
|
13266
13266
|
return new SSEClientTransport(url, {
|
|
13267
13267
|
requestInit,
|
|
13268
13268
|
fetch: fetchImpl
|
|
@@ -16665,58 +16665,6 @@ const workflowHooksSqlite = sqliteTable("workflow_hooks", {
|
|
|
16665
16665
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
16666
16666
|
resumedAt: integer("resumed_at", { mode: "timestamp_ms" })
|
|
16667
16667
|
}, (table) => [uniqueIndex("workflow_hooks_token_unique").on(table.token), index("workflow_hooks_run_id_idx").on(table.runId)]);
|
|
16668
|
-
const oauthApps$1 = pgTable("oauth_apps", {
|
|
16669
|
-
id: text$1("id").primaryKey(),
|
|
16670
|
-
projectId: text$1("project_id").notNull(),
|
|
16671
|
-
provider: text$1("provider").notNull(),
|
|
16672
|
-
key: text$1("key").notNull(),
|
|
16673
|
-
tokenStrategy: text$1("token_strategy").$type().notNull(),
|
|
16674
|
-
clientIdCiphertext: text$1("client_id_ciphertext").notNull(),
|
|
16675
|
-
clientSecretCiphertext: text$1("client_secret_ciphertext").notNull(),
|
|
16676
|
-
signingSecretCiphertext: text$1("signing_secret_ciphertext"),
|
|
16677
|
-
redirectUri: text$1("redirect_uri"),
|
|
16678
|
-
metadata: jsonb("metadata").$type(),
|
|
16679
|
-
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
16680
|
-
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
16681
|
-
}, (table) => [uniqueIndex$1("oauth_apps_project_id_key_idx").on(table.projectId, table.key)]);
|
|
16682
|
-
const oauthAppsSqlite = sqliteTable("oauth_apps", {
|
|
16683
|
-
id: text("id").primaryKey(),
|
|
16684
|
-
projectId: text("project_id").notNull(),
|
|
16685
|
-
provider: text("provider").notNull(),
|
|
16686
|
-
key: text("key").notNull(),
|
|
16687
|
-
tokenStrategy: text("token_strategy").$type().notNull(),
|
|
16688
|
-
clientIdCiphertext: text("client_id_ciphertext").notNull(),
|
|
16689
|
-
clientSecretCiphertext: text("client_secret_ciphertext").notNull(),
|
|
16690
|
-
signingSecretCiphertext: text("signing_secret_ciphertext"),
|
|
16691
|
-
redirectUri: text("redirect_uri"),
|
|
16692
|
-
metadata: text("metadata", { mode: "json" }).$type(),
|
|
16693
|
-
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
16694
|
-
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
16695
|
-
}, (table) => [uniqueIndex("oauth_apps_project_id_key_idx").on(table.projectId, table.key)]);
|
|
16696
|
-
const oauthConnections$1 = pgTable("oauth_connections", {
|
|
16697
|
-
id: text$1("id").primaryKey(),
|
|
16698
|
-
appId: text$1("app_id").notNull().references(() => oauthApps$1.id, { onDelete: "cascade" }),
|
|
16699
|
-
externalId: text$1("external_id").notNull(),
|
|
16700
|
-
accessTokenCiphertext: text$1("access_token_ciphertext").notNull(),
|
|
16701
|
-
refreshTokenCiphertext: text$1("refresh_token_ciphertext"),
|
|
16702
|
-
accessTokenExpiresAt: timestamp("access_token_expires_at", { withTimezone: true }),
|
|
16703
|
-
grantedScopes: jsonb("granted_scopes").$type(),
|
|
16704
|
-
metadata: jsonb("metadata").$type(),
|
|
16705
|
-
connectedAt: timestamp("connected_at", { withTimezone: true }).notNull(),
|
|
16706
|
-
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
16707
|
-
}, (table) => [uniqueIndex$1("oauth_connections_app_external_unique").on(table.appId, table.externalId)]);
|
|
16708
|
-
const oauthConnectionsSqlite = sqliteTable("oauth_connections", {
|
|
16709
|
-
id: text("id").primaryKey(),
|
|
16710
|
-
appId: text("app_id").notNull().references(() => oauthAppsSqlite.id, { onDelete: "cascade" }),
|
|
16711
|
-
externalId: text("external_id").notNull(),
|
|
16712
|
-
accessTokenCiphertext: text("access_token_ciphertext").notNull(),
|
|
16713
|
-
refreshTokenCiphertext: text("refresh_token_ciphertext"),
|
|
16714
|
-
accessTokenExpiresAt: integer("access_token_expires_at", { mode: "timestamp_ms" }),
|
|
16715
|
-
grantedScopes: text("granted_scopes", { mode: "json" }).$type(),
|
|
16716
|
-
metadata: text("metadata", { mode: "json" }).$type(),
|
|
16717
|
-
connectedAt: integer("connected_at", { mode: "timestamp_ms" }).notNull(),
|
|
16718
|
-
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
16719
|
-
}, (table) => [uniqueIndex("oauth_connections_app_external_unique").on(table.appId, table.externalId)]);
|
|
16720
16668
|
const credentialInstances = pgTable("credential_instances", {
|
|
16721
16669
|
id: text$1("id").primaryKey(),
|
|
16722
16670
|
projectId: text$1("project_id").notNull(),
|
|
@@ -16727,7 +16675,7 @@ const credentialInstances = pgTable("credential_instances", {
|
|
|
16727
16675
|
isDefault: integer$1("is_default").notNull(),
|
|
16728
16676
|
authKind: text$1("auth_kind").$type().notNull(),
|
|
16729
16677
|
ciphertext: text$1("ciphertext"),
|
|
16730
|
-
connectionId: text$1("connection_id")
|
|
16678
|
+
connectionId: text$1("connection_id"),
|
|
16731
16679
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
16732
16680
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
16733
16681
|
}, (table) => [uniqueIndex$1("credential_instances_project_key_scope_label_unique").on(table.projectId, table.key, table.scopeType, table.scopeId, table.label), index$1("credential_instances_project_key_scope_idx").on(table.projectId, table.key, table.scopeType, table.scopeId)]);
|
|
@@ -16741,7 +16689,7 @@ const credentialInstancesSqlite = sqliteTable("credential_instances", {
|
|
|
16741
16689
|
isDefault: integer("is_default", { mode: "boolean" }).notNull(),
|
|
16742
16690
|
authKind: text("auth_kind").$type().notNull(),
|
|
16743
16691
|
ciphertext: text("ciphertext"),
|
|
16744
|
-
connectionId: text("connection_id")
|
|
16692
|
+
connectionId: text("connection_id"),
|
|
16745
16693
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
16746
16694
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
16747
16695
|
}, (table) => [uniqueIndex("credential_instances_project_key_scope_label_unique").on(table.projectId, table.key, table.scopeType, table.scopeId, table.label), index("credential_instances_project_key_scope_idx").on(table.projectId, table.key, table.scopeType, table.scopeId)]);
|
|
@@ -16869,6 +16817,58 @@ const traceLogsSqlite = sqliteTable("trace_logs", {
|
|
|
16869
16817
|
source: text("source").$type().notNull(),
|
|
16870
16818
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull()
|
|
16871
16819
|
}, (table) => [index("trace_logs_trace_id_seq_idx").on(table.traceId, table.seq), index("trace_logs_span_id_seq_idx").on(table.spanId, table.seq)]);
|
|
16820
|
+
const oauthApps$1 = pgTable("oauth_apps", {
|
|
16821
|
+
id: text$1("id").primaryKey(),
|
|
16822
|
+
projectId: text$1("project_id").notNull(),
|
|
16823
|
+
provider: text$1("provider").notNull(),
|
|
16824
|
+
key: text$1("key").notNull(),
|
|
16825
|
+
tokenStrategy: text$1("token_strategy").$type().notNull(),
|
|
16826
|
+
clientIdCiphertext: text$1("client_id_ciphertext").notNull(),
|
|
16827
|
+
clientSecretCiphertext: text$1("client_secret_ciphertext").notNull(),
|
|
16828
|
+
signingSecretCiphertext: text$1("signing_secret_ciphertext"),
|
|
16829
|
+
redirectUri: text$1("redirect_uri"),
|
|
16830
|
+
metadata: jsonb("metadata").$type(),
|
|
16831
|
+
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
16832
|
+
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
16833
|
+
}, (table) => [uniqueIndex$1("oauth_apps_project_id_key_idx").on(table.projectId, table.key)]);
|
|
16834
|
+
const oauthAppsSqlite = sqliteTable("oauth_apps", {
|
|
16835
|
+
id: text("id").primaryKey(),
|
|
16836
|
+
projectId: text("project_id").notNull(),
|
|
16837
|
+
provider: text("provider").notNull(),
|
|
16838
|
+
key: text("key").notNull(),
|
|
16839
|
+
tokenStrategy: text("token_strategy").$type().notNull(),
|
|
16840
|
+
clientIdCiphertext: text("client_id_ciphertext").notNull(),
|
|
16841
|
+
clientSecretCiphertext: text("client_secret_ciphertext").notNull(),
|
|
16842
|
+
signingSecretCiphertext: text("signing_secret_ciphertext"),
|
|
16843
|
+
redirectUri: text("redirect_uri"),
|
|
16844
|
+
metadata: text("metadata", { mode: "json" }).$type(),
|
|
16845
|
+
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
16846
|
+
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
16847
|
+
}, (table) => [uniqueIndex("oauth_apps_project_id_key_idx").on(table.projectId, table.key)]);
|
|
16848
|
+
const oauthConnections$1 = pgTable("oauth_connections", {
|
|
16849
|
+
id: text$1("id").primaryKey(),
|
|
16850
|
+
appId: text$1("app_id").notNull().references(() => oauthApps$1.id, { onDelete: "cascade" }),
|
|
16851
|
+
externalId: text$1("external_id").notNull(),
|
|
16852
|
+
accessTokenCiphertext: text$1("access_token_ciphertext").notNull(),
|
|
16853
|
+
refreshTokenCiphertext: text$1("refresh_token_ciphertext"),
|
|
16854
|
+
accessTokenExpiresAt: timestamp("access_token_expires_at", { withTimezone: true }),
|
|
16855
|
+
grantedScopes: jsonb("granted_scopes").$type(),
|
|
16856
|
+
metadata: jsonb("metadata").$type(),
|
|
16857
|
+
connectedAt: timestamp("connected_at", { withTimezone: true }).notNull(),
|
|
16858
|
+
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
16859
|
+
}, (table) => [uniqueIndex$1("oauth_connections_app_external_unique").on(table.appId, table.externalId)]);
|
|
16860
|
+
const oauthConnectionsSqlite = sqliteTable("oauth_connections", {
|
|
16861
|
+
id: text("id").primaryKey(),
|
|
16862
|
+
appId: text("app_id").notNull().references(() => oauthAppsSqlite.id, { onDelete: "cascade" }),
|
|
16863
|
+
externalId: text("external_id").notNull(),
|
|
16864
|
+
accessTokenCiphertext: text("access_token_ciphertext").notNull(),
|
|
16865
|
+
refreshTokenCiphertext: text("refresh_token_ciphertext"),
|
|
16866
|
+
accessTokenExpiresAt: integer("access_token_expires_at", { mode: "timestamp_ms" }),
|
|
16867
|
+
grantedScopes: text("granted_scopes", { mode: "json" }).$type(),
|
|
16868
|
+
metadata: text("metadata", { mode: "json" }).$type(),
|
|
16869
|
+
connectedAt: integer("connected_at", { mode: "timestamp_ms" }).notNull(),
|
|
16870
|
+
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
16871
|
+
}, (table) => [uniqueIndex("oauth_connections_app_external_unique").on(table.appId, table.externalId)]);
|
|
16872
16872
|
const secretValues$1 = pgTable("secret_values", {
|
|
16873
16873
|
id: text$1("id").primaryKey(),
|
|
16874
16874
|
projectId: text$1("project_id").notNull(),
|
|
@@ -17442,7 +17442,7 @@ const oauthApps = pgTable("oauth_apps", {
|
|
|
17442
17442
|
metadata: jsonb("metadata").$type(),
|
|
17443
17443
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
17444
17444
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
17445
|
-
}, (table) => [uniqueIndex$1("oauth_apps_organization_id_key_idx").on(table.organizationId, table.key)]);
|
|
17445
|
+
}, (table) => [uniqueIndex$1("oauth_apps_organization_id_key_idx").on(table.organizationId, table.key), index$1("oauth_apps_key_idx").on(table.key)]);
|
|
17446
17446
|
const oauthConnections = pgTable("oauth_connections", {
|
|
17447
17447
|
id: text$1("id").primaryKey(),
|
|
17448
17448
|
appId: text$1("app_id").notNull().references(() => oauthApps.id, { onDelete: "cascade" }),
|
|
@@ -17454,7 +17454,7 @@ const oauthConnections = pgTable("oauth_connections", {
|
|
|
17454
17454
|
metadata: jsonb("metadata").$type(),
|
|
17455
17455
|
connectedAt: timestamp("connected_at", { withTimezone: true }).notNull(),
|
|
17456
17456
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
17457
|
-
}, (table) => [uniqueIndex$1("oauth_connections_app_external_unique").on(table.appId, table.externalId)]);
|
|
17457
|
+
}, (table) => [uniqueIndex$1("oauth_connections_app_external_unique").on(table.appId, table.externalId), index$1("oauth_connections_external_id_idx").on(table.externalId)]);
|
|
17458
17458
|
const organizationUsers = pgTable("organization_users", {
|
|
17459
17459
|
organizationId: text$1("organization_id").notNull().references(() => organizations.id, { onDelete: "cascade" }),
|
|
17460
17460
|
userId: text$1("user_id").notNull().references(() => users.id, { onDelete: "cascade" }),
|
|
@@ -18303,4 +18303,4 @@ Object.defineProperty(exports, "zodToJsonSchema", {
|
|
|
18303
18303
|
}
|
|
18304
18304
|
});
|
|
18305
18305
|
|
|
18306
|
-
//# sourceMappingURL=dist-
|
|
18306
|
+
//# sourceMappingURL=dist-CU4Mv5ac.cjs.map
|