@keystrokehq/platform 0.1.162 → 0.1.164

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.
@@ -701,10 +701,10 @@ type SchedulerPlugin = {
701
701
  createTriggerScheduler?(ctx: SchedulerPluginContext, queue: JobQueue): Promise<TriggerScheduler>;
702
702
  };
703
703
  //#endregion
704
- //#region ../../packages/http/dist/types-DdOJUKD_.d.mts
704
+ //#region ../../packages/http/dist/types-Dpr4y09r.d.mts
705
705
  //#region src/auth/types.d.ts
706
706
  type SessionVariables = {
707
- user: Auth["$Infer"]["Session"]["user"];
707
+ user: Pick<Auth["$Infer"]["Session"]["user"], "id" | "email" | "name" | "image" | "emailVerified" | "createdAt" | "updatedAt">;
708
708
  session: Auth["$Infer"]["Session"]["session"];
709
709
  apiKeyAuth?: {
710
710
  apiKeyId: string;
@@ -1352,4 +1352,4 @@ type PlatformConfig = PlatformConfigInput & {
1352
1352
  declare function definePlatformConfig(config?: PlatformConfigInput): PlatformConfig;
1353
1353
  //#endregion
1354
1354
  export { CreateDraftCommitRequest as A, OrganizationHostingResult as C, CancelManagedDeployResponse as D, CancelManagedDeployRequest as E, ProjectFileSummary as F, PublishManagedDeployCandidateRequest as I, PublishManagedDeployCandidateResponse as L, HeartbeatManagedDeployResponse as M, PrepareManagedDeployRequest as N, CompleteManagedDeployArtifactRequest as O, PrepareManagedDeployResponse as P, RenewManagedDeployUploadRequest as R, OrganizationHostingInput as S, SessionVariables as T, OrganizationStorageInput as _, PlatformConfigInput as a, HostingOptions as b, ProjectDraftNotifier as c, BrainPlatformPlugin as d, LlmProxyHandlerContext as f, ProjectGitRepository as g, ProjectGitProviderPlugin as h, PlatformConfig as i, HeartbeatManagedDeployRequest as j, CompleteManagedDeployArtifactResponse as k, createInProcessProjectDraftNotifier as l, LlmProxyWorkerEnvContext as m, DraftCommandRunnerPlugin as n, PlatformWorkerEnvContext as o, LlmProxyPlugin as p, McpProviderPlugin$1 as r, definePlatformConfig as s, AgentWorkspaceFilesPlugin as t, publishDraftUpdateBestEffort as u, OrganizationStorageResult as v, OrganizationVariables as w, HostingPlugin as x, StoragePlugin as y, RenewManagedDeployUploadResponse as z };
1355
- //# sourceMappingURL=config-e_ynTC61.d.cts.map
1355
+ //# sourceMappingURL=config-BJuAv_BS.d.cts.map
@@ -701,10 +701,10 @@ type SchedulerPlugin = {
701
701
  createTriggerScheduler?(ctx: SchedulerPluginContext, queue: JobQueue): Promise<TriggerScheduler>;
702
702
  };
703
703
  //#endregion
704
- //#region ../../packages/http/dist/types-DdOJUKD_.d.mts
704
+ //#region ../../packages/http/dist/types-Dpr4y09r.d.mts
705
705
  //#region src/auth/types.d.ts
706
706
  type SessionVariables = {
707
- user: Auth["$Infer"]["Session"]["user"];
707
+ user: Pick<Auth["$Infer"]["Session"]["user"], "id" | "email" | "name" | "image" | "emailVerified" | "createdAt" | "updatedAt">;
708
708
  session: Auth["$Infer"]["Session"]["session"];
709
709
  apiKeyAuth?: {
710
710
  apiKeyId: string;
@@ -1352,4 +1352,4 @@ type PlatformConfig = PlatformConfigInput & {
1352
1352
  declare function definePlatformConfig(config?: PlatformConfigInput): PlatformConfig;
1353
1353
  //#endregion
1354
1354
  export { CreateDraftCommitRequest as A, OrganizationHostingResult as C, CancelManagedDeployResponse as D, CancelManagedDeployRequest as E, ProjectFileSummary as F, PublishManagedDeployCandidateRequest as I, PublishManagedDeployCandidateResponse as L, HeartbeatManagedDeployResponse as M, PrepareManagedDeployRequest as N, CompleteManagedDeployArtifactRequest as O, PrepareManagedDeployResponse as P, RenewManagedDeployUploadRequest as R, OrganizationHostingInput as S, SessionVariables as T, OrganizationStorageInput as _, PlatformConfigInput as a, HostingOptions as b, ProjectDraftNotifier as c, BrainPlatformPlugin as d, LlmProxyHandlerContext as f, ProjectGitRepository as g, ProjectGitProviderPlugin as h, PlatformConfig as i, HeartbeatManagedDeployRequest as j, CompleteManagedDeployArtifactResponse as k, createInProcessProjectDraftNotifier as l, LlmProxyWorkerEnvContext as m, DraftCommandRunnerPlugin as n, PlatformWorkerEnvContext as o, LlmProxyPlugin as p, McpProviderPlugin$1 as r, definePlatformConfig as s, AgentWorkspaceFilesPlugin as t, publishDraftUpdateBestEffort as u, OrganizationStorageResult as v, OrganizationVariables as w, HostingPlugin as x, StoragePlugin as y, RenewManagedDeployUploadResponse as z };
1355
- //# sourceMappingURL=config-CoEJF0lN.d.mts.map
1355
+ //# sourceMappingURL=config-iG6nYZhk.d.mts.map
package/dist/config.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { C as OrganizationHostingResult, S as OrganizationHostingInput, _ as OrganizationStorageInput, a as PlatformConfigInput, b as HostingOptions, c as ProjectDraftNotifier, d as BrainPlatformPlugin, f as LlmProxyHandlerContext, h as ProjectGitProviderPlugin, i as PlatformConfig, l as createInProcessProjectDraftNotifier, m as LlmProxyWorkerEnvContext, n as DraftCommandRunnerPlugin, o as PlatformWorkerEnvContext, p as LlmProxyPlugin, r as McpProviderPlugin, s as definePlatformConfig, t as AgentWorkspaceFilesPlugin, u as publishDraftUpdateBestEffort, v as OrganizationStorageResult, x as HostingPlugin, y as StoragePlugin } from "./config-e_ynTC61.cjs";
1
+ import { C as OrganizationHostingResult, S as OrganizationHostingInput, _ as OrganizationStorageInput, a as PlatformConfigInput, b as HostingOptions, c as ProjectDraftNotifier, d as BrainPlatformPlugin, f as LlmProxyHandlerContext, h as ProjectGitProviderPlugin, i as PlatformConfig, l as createInProcessProjectDraftNotifier, m as LlmProxyWorkerEnvContext, n as DraftCommandRunnerPlugin, o as PlatformWorkerEnvContext, p as LlmProxyPlugin, r as McpProviderPlugin, s as definePlatformConfig, t as AgentWorkspaceFilesPlugin, u as publishDraftUpdateBestEffort, v as OrganizationStorageResult, x as HostingPlugin, y as StoragePlugin } from "./config-BJuAv_BS.cjs";
2
2
  export { AgentWorkspaceFilesPlugin, type BrainPlatformPlugin, DraftCommandRunnerPlugin, type HostingOptions, type HostingPlugin, type LlmProxyHandlerContext, type LlmProxyPlugin, type LlmProxyWorkerEnvContext, type McpProviderPlugin, type OrganizationHostingInput, type OrganizationHostingResult, type OrganizationStorageInput, type OrganizationStorageResult, PlatformConfig, PlatformConfigInput, PlatformWorkerEnvContext, type ProjectDraftNotifier, type ProjectGitProviderPlugin, type StoragePlugin, createInProcessProjectDraftNotifier, definePlatformConfig, publishDraftUpdateBestEffort };
package/dist/config.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { C as OrganizationHostingResult, S as OrganizationHostingInput, _ as OrganizationStorageInput, a as PlatformConfigInput, b as HostingOptions, c as ProjectDraftNotifier, d as BrainPlatformPlugin, f as LlmProxyHandlerContext, h as ProjectGitProviderPlugin, i as PlatformConfig, l as createInProcessProjectDraftNotifier, m as LlmProxyWorkerEnvContext, n as DraftCommandRunnerPlugin, o as PlatformWorkerEnvContext, p as LlmProxyPlugin, r as McpProviderPlugin, s as definePlatformConfig, t as AgentWorkspaceFilesPlugin, u as publishDraftUpdateBestEffort, v as OrganizationStorageResult, x as HostingPlugin, y as StoragePlugin } from "./config-CoEJF0lN.mjs";
1
+ import { C as OrganizationHostingResult, S as OrganizationHostingInput, _ as OrganizationStorageInput, a as PlatformConfigInput, b as HostingOptions, c as ProjectDraftNotifier, d as BrainPlatformPlugin, f as LlmProxyHandlerContext, h as ProjectGitProviderPlugin, i as PlatformConfig, l as createInProcessProjectDraftNotifier, m as LlmProxyWorkerEnvContext, n as DraftCommandRunnerPlugin, o as PlatformWorkerEnvContext, p as LlmProxyPlugin, r as McpProviderPlugin, s as definePlatformConfig, t as AgentWorkspaceFilesPlugin, u as publishDraftUpdateBestEffort, v as OrganizationStorageResult, x as HostingPlugin, y as StoragePlugin } from "./config-iG6nYZhk.mjs";
2
2
  export { AgentWorkspaceFilesPlugin, type BrainPlatformPlugin, DraftCommandRunnerPlugin, type HostingOptions, type HostingPlugin, type LlmProxyHandlerContext, type LlmProxyPlugin, type LlmProxyWorkerEnvContext, type McpProviderPlugin, type OrganizationHostingInput, type OrganizationHostingResult, type OrganizationStorageInput, type OrganizationStorageResult, PlatformConfig, PlatformConfigInput, PlatformWorkerEnvContext, type ProjectDraftNotifier, type ProjectGitProviderPlugin, type StoragePlugin, createInProcessProjectDraftNotifier, definePlatformConfig, publishDraftUpdateBestEffort };
@@ -1,4 +1,4 @@
1
- import { A as CreateDraftCommitRequest, D as CancelManagedDeployResponse, E as CancelManagedDeployRequest, F as ProjectFileSummary, I as PublishManagedDeployCandidateRequest, L as PublishManagedDeployCandidateResponse, M as HeartbeatManagedDeployResponse, N as PrepareManagedDeployRequest, O as CompleteManagedDeployArtifactRequest, P as PrepareManagedDeployResponse, R as RenewManagedDeployUploadRequest, c as ProjectDraftNotifier, g as ProjectGitRepository, h as ProjectGitProviderPlugin, j as HeartbeatManagedDeployRequest, k as CompleteManagedDeployArtifactResponse, n as DraftCommandRunnerPlugin, w as OrganizationVariables, z as RenewManagedDeployUploadResponse } from "./config-e_ynTC61.cjs";
1
+ import { A as CreateDraftCommitRequest, D as CancelManagedDeployResponse, E as CancelManagedDeployRequest, F as ProjectFileSummary, I as PublishManagedDeployCandidateRequest, L as PublishManagedDeployCandidateResponse, M as HeartbeatManagedDeployResponse, N as PrepareManagedDeployRequest, O as CompleteManagedDeployArtifactRequest, P as PrepareManagedDeployResponse, R as RenewManagedDeployUploadRequest, c as ProjectDraftNotifier, g as ProjectGitRepository, h as ProjectGitProviderPlugin, j as HeartbeatManagedDeployRequest, k as CompleteManagedDeployArtifactResponse, n as DraftCommandRunnerPlugin, w as OrganizationVariables, z as RenewManagedDeployUploadResponse } from "./config-BJuAv_BS.cjs";
2
2
  import { OrganizationRow, ProjectRepositoryRow, ProjectRow } from "@keystrokehq/platform-database";
3
3
  import { Context, MiddlewareHandler } from "hono";
4
4
 
@@ -1,4 +1,4 @@
1
- import { A as CreateDraftCommitRequest, D as CancelManagedDeployResponse, E as CancelManagedDeployRequest, F as ProjectFileSummary, I as PublishManagedDeployCandidateRequest, L as PublishManagedDeployCandidateResponse, M as HeartbeatManagedDeployResponse, N as PrepareManagedDeployRequest, O as CompleteManagedDeployArtifactRequest, P as PrepareManagedDeployResponse, R as RenewManagedDeployUploadRequest, c as ProjectDraftNotifier, g as ProjectGitRepository, h as ProjectGitProviderPlugin, j as HeartbeatManagedDeployRequest, k as CompleteManagedDeployArtifactResponse, n as DraftCommandRunnerPlugin, w as OrganizationVariables, z as RenewManagedDeployUploadResponse } from "./config-CoEJF0lN.mjs";
1
+ import { A as CreateDraftCommitRequest, D as CancelManagedDeployResponse, E as CancelManagedDeployRequest, F as ProjectFileSummary, I as PublishManagedDeployCandidateRequest, L as PublishManagedDeployCandidateResponse, M as HeartbeatManagedDeployResponse, N as PrepareManagedDeployRequest, O as CompleteManagedDeployArtifactRequest, P as PrepareManagedDeployResponse, R as RenewManagedDeployUploadRequest, c as ProjectDraftNotifier, g as ProjectGitRepository, h as ProjectGitProviderPlugin, j as HeartbeatManagedDeployRequest, k as CompleteManagedDeployArtifactResponse, n as DraftCommandRunnerPlugin, w as OrganizationVariables, z as RenewManagedDeployUploadResponse } from "./config-iG6nYZhk.mjs";
2
2
  import { OrganizationRow, ProjectRepositoryRow, ProjectRow, createOrgStorageClient } from "@keystrokehq/platform-database";
3
3
  import { Context, MiddlewareHandler } from "hono";
4
4
 
package/dist/start.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { T as SessionVariables, i as PlatformConfig } from "./config-e_ynTC61.cjs";
1
+ import { T as SessionVariables, i as PlatformConfig } from "./config-BJuAv_BS.cjs";
2
2
  import { Auth } from "@keystrokehq/auth";
3
3
  import { Hono } from "hono";
4
4
 
package/dist/start.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { T as SessionVariables, i as PlatformConfig } from "./config-CoEJF0lN.mjs";
1
+ import { T as SessionVariables, i as PlatformConfig } from "./config-iG6nYZhk.mjs";
2
2
  import { Auth } from "@keystrokehq/auth";
3
3
  import { Hono } from "hono";
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/platform",
3
- "version": "0.1.162",
3
+ "version": "0.1.164",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/keystrokehq/keystroke.git",
@@ -66,10 +66,10 @@
66
66
  "tsx": "^4.21.0",
67
67
  "typescript": "npm:@typescript/typescript6@^6.0.2",
68
68
  "vitest": "^4.1.7",
69
+ "@keystrokehq/oxlint-config": "0.0.4",
69
70
  "@keystrokehq/tsconfig": "0.0.3",
70
71
  "@keystrokehq/tsdown-config": "0.0.5",
71
- "@keystrokehq/vitest-config": "0.0.7",
72
- "@keystrokehq/oxlint-config": "0.0.4"
72
+ "@keystrokehq/vitest-config": "0.0.7"
73
73
  },
74
74
  "scripts": {
75
75
  "build": "tsdown",