GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor(core): canonicalize pty service (#32182) · ildella/opencode@f2cf607

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • core
      • src
        • location.ts
        • pty.ts
        • pty
          • input.ts
          • protocol.ts
        • shell.ts
      • test
        • pty
          • info-schema.test.ts
          • input.test.ts
          • protocol.test.ts
          • pty-output-isolation.test.ts
          • pty-session.test.ts
        • shell.test.ts
    • opencode
      • src
        • pty-preparation.ts
        • server
          • routes/instance/httpapi
            • handlers
              • pty.ts
            • server.ts
          • server.ts
        • session
          • prompt.ts
        • tool
          • shell.ts
      • test
        • pty
          • pty-shell.test.ts
        • server
          • httpapi-exercise
            • index.ts
          • httpapi-pty.test.ts
          • httpapi-v2-pty.test.ts
        • session
          • prompt.test.ts
        • tool
          • shell.test.ts
    • server/src
      • api.ts
      • cors.ts
      • errors.ts
      • groups
        • pty.ts
      • handlers.ts
      • handlers
        • pty.ts
      • middleware
        • authorization.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/core/src/location.ts‎

Copy file name to clipboardExpand all lines: packages/core/src/location.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Context, Effect, Layer, Schema } from "effect"
22
import { Project } from "./project"
3-
import { AbsolutePath } from "./schema"
3+
import { AbsolutePath, optionalOmitUndefined } from "./schema"
44
import { WorkspaceV2 } from "./workspace"
55

66
export * as Location from "./location"
@@ -12,7 +12,7 @@ export class Ref extends Schema.Class<Ref>("Location.Ref")({
1212

1313
export class Info extends Schema.Class<Info>("Location.Info")({
1414
directory: AbsolutePath,
15-
workspaceID: WorkspaceV2.ID.pipe(Schema.optional),
15+
workspaceID: optionalOmitUndefined(WorkspaceV2.ID),
1616
project: Schema.Struct({
1717
id: Project.ID,
1818
directory: AbsolutePath,

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.