| author | |
| committer | |
| log | 50bc62a83d2b5f4530b26e59095a74a48047c309 |
| tree | af5a382ef9c7402d3efb31713f743e4d3f0e49d2 |
| parent | 5716dec97e4eaefea59369b07a8d54191fc33e31 |
| signature | Signed by PGP key B5690EEEBB952194 |
5 files changed, 9 insertions(+), 14 deletions(-)
apps/server/src/process/externalLauncher.ts-1| ... | ... | @@ -45,7 +45,6 @@ export { |
| 45 | 45 | ExternalLauncherEditorSpawnError, |
| 46 | 46 | ExternalLauncherUnknownEditorError, |
| 47 | 47 | ExternalLauncherUnsupportedEditorError, |
| 48 | isExternalLauncherError, | |
| 49 | 48 | } from "@t3tools/contracts"; |
| 50 | 49 | export type { LaunchEditorInput }; |
| 51 | 50 | interface EditorLaunch { |
packages/contracts/src/browserImport.ts+2-4| ... | ... | @@ -16,7 +16,7 @@ import * as Schema from "effect/Schema"; |
| 16 | 16 | import { TrimmedNonEmptyString } from "./baseSchemas.ts"; |
| 17 | 17 | import { BrowserProfileId } from "./browserProfile.ts"; |
| 18 | 18 | |
| 19 | export const BROWSER_IMPORT_SOURCE_IDS = [ | |
| 19 | const BROWSER_IMPORT_SOURCE_IDS = [ | |
| 20 | 20 | "chrome", |
| 21 | 21 | "edge", |
| 22 | 22 | "brave", |
| ... | ... | @@ -139,9 +139,7 @@ export const BrowserImportResult = Schema.Struct({ |
| 139 | 139 | }); |
| 140 | 140 | export type BrowserImportResult = typeof BrowserImportResult.Type; |
| 141 | 141 | |
| 142 | export const BROWSER_IMPORT_UNAVAILABLE_COPY: Readonly< | |
| 143 | Record<BrowserImportUnavailableReason, string> | |
| 144 | > = { | |
| 142 | const BROWSER_IMPORT_UNAVAILABLE_COPY: Readonly<Record<BrowserImportUnavailableReason, string>> = { | |
| 145 | 143 | notInstalled: "Not installed on this machine.", |
| 146 | 144 | needsKeychainApproval: "Needs Keychain access to read its cookies.", |
| 147 | 145 | keychainItemMissing: |
packages/contracts/src/editor.ts-2| ... | ... | @@ -203,5 +203,3 @@ export const ExternalLauncherError = Schema.Union([ |
| 203 | 203 | ExternalLauncherEditorSpawnError, |
| 204 | 204 | ]); |
| 205 | 205 | export type ExternalLauncherError = typeof ExternalLauncherError.Type; |
| 206 | ||
| 207 | export const isExternalLauncherError = Schema.is(ExternalLauncherError); |
packages/contracts/src/environmentHttp.ts+4-4| ... | ... | @@ -408,13 +408,13 @@ export const AuthOtherClientSessionsRevokeResult = Schema.Struct({ |
| 408 | 408 | }); |
| 409 | 409 | export type AuthOtherClientSessionsRevokeResult = typeof AuthOtherClientSessionsRevokeResult.Type; |
| 410 | 410 | |
| 411 | export class EnvironmentMetadataHttpApi extends HttpApiGroup.make("metadata").add( | |
| 411 | class EnvironmentMetadataHttpApi extends HttpApiGroup.make("metadata").add( | |
| 412 | 412 | HttpApiEndpoint.get("descriptor", "/.well-known/t3/environment", { |
| 413 | 413 | success: ExecutionEnvironmentDescriptor, |
| 414 | 414 | }), |
| 415 | 415 | ) {} |
| 416 | 416 | |
| 417 | export class EnvironmentAuthHttpApi extends HttpApiGroup.make("auth") | |
| 417 | class EnvironmentAuthHttpApi extends HttpApiGroup.make("auth") | |
| 418 | 418 | .add( |
| 419 | 419 | HttpApiEndpoint.get("session", "/api/auth/session", { |
| 420 | 420 | headers: OptionalBearerHeaders, |
| ... | ... | @@ -538,7 +538,7 @@ export class EnvironmentOrchestrationHttpApi extends HttpApiGroup.make("orchestr |
| 538 | 538 | ) {} |
| 539 | 539 | |
| 540 | 540 | /** Large, compressible pull-request payloads travel over HTTP rather than the RPC socket. */ |
| 541 | export class EnvironmentPullRequestsHttpApi extends HttpApiGroup.make("pullRequests").add( | |
| 541 | class EnvironmentPullRequestsHttpApi extends HttpApiGroup.make("pullRequests").add( | |
| 542 | 542 | HttpApiEndpoint.post("diff", "/api/pull-requests/diff", { |
| 543 | 543 | headers: OptionalBearerHeaders, |
| 544 | 544 | payload: PullRequestDiffInput, |
| ... | ... | @@ -553,7 +553,7 @@ export class EnvironmentPullRequestsHttpApi extends HttpApiGroup.make("pullReque |
| 553 | 553 | }).middleware(EnvironmentAuthenticatedAuth), |
| 554 | 554 | ) {} |
| 555 | 555 | |
| 556 | export class EnvironmentConnectHttpApi extends HttpApiGroup.make("connect") | |
| 556 | class EnvironmentConnectHttpApi extends HttpApiGroup.make("connect") | |
| 557 | 557 | .add( |
| 558 | 558 | HttpApiEndpoint.post("linkProof", "/api/connect/link-proof", { |
| 559 | 559 | headers: OptionalBearerHeaders, |
packages/contracts/src/keybindings.ts+3-3| ... | ... | @@ -2,7 +2,7 @@ import * as Schema from "effect/Schema"; |
| 2 | 2 | import { ForwardCompatibleArray, TrimmedString } from "./baseSchemas.ts"; |
| 3 | 3 | |
| 4 | 4 | export const MAX_KEYBINDING_VALUE_LENGTH = 64; |
| 5 | export const MAX_KEYBINDING_WHEN_LENGTH = 256; | |
| 5 | const MAX_KEYBINDING_WHEN_LENGTH = 256; | |
| 6 | 6 | export const MAX_WHEN_EXPRESSION_DEPTH = 64; |
| 7 | 7 | export const MAX_SCRIPT_ID_LENGTH = 24; |
| 8 | 8 | export const MAX_KEYBINDINGS_COUNT = 256; |
| ... | ... | @@ -34,7 +34,7 @@ export const MODEL_PICKER_JUMP_KEYBINDING_COMMANDS = [ |
| 34 | 34 | export type ModelPickerJumpKeybindingCommand = |
| 35 | 35 | (typeof MODEL_PICKER_JUMP_KEYBINDING_COMMANDS)[number]; |
| 36 | 36 | |
| 37 | export const THREAD_KEYBINDING_COMMANDS = [ | |
| 37 | const THREAD_KEYBINDING_COMMANDS = [ | |
| 38 | 38 | "thread.previous", |
| 39 | 39 | "thread.next", |
| 40 | 40 | "thread.copyReference", |
| ... | ... | @@ -44,7 +44,7 @@ export const THREAD_KEYBINDING_COMMANDS = [ |
| 44 | 44 | ] as const; |
| 45 | 45 | export type ThreadKeybindingCommand = (typeof THREAD_KEYBINDING_COMMANDS)[number]; |
| 46 | 46 | |
| 47 | export const MODEL_PICKER_KEYBINDING_COMMANDS = [ | |
| 47 | const MODEL_PICKER_KEYBINDING_COMMANDS = [ | |
| 48 | 48 | "modelPicker.toggle", |
| 49 | 49 | ...MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, |
| 50 | 50 | ] as const; |