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 — fix: clean up 49 unused variables, catch params, and stale imports (#… · ildella/opencode@cce05c1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • infra
    • enterprise.ts
  • packages
    • app/src
      • addons
        • serialize.test.ts
      • app.tsx
      • pages
        • session.tsx
        • session
          • file-tabs.tsx
    • console/app
      • script
        • generate-sitemap.ts
      • src/routes
        • index.tsx
        • user-menu.tsx
    • function/src
      • api.ts
    • opencode
      • src
        • bus
          • bus.ts
        • cli
          • cmd/tui
            • component/prompt
              • autocomplete.tsx
            • routes/session
              • index.tsx
              • permission.tsx
              • subagent-footer.tsx
          • network.ts
        • command
          • index.ts
        • config
          • config.ts
        • control-plane
          • workspace.ts
        • mcp
          • oauth-callback.ts
        • server
          • fence.ts
          • instance
            • middleware.ts
            • provider.ts
        • session
          • prompt.ts
        • tool
          • registry.ts
      • test
        • file
          • index.test.ts
        • fixture/lsp
          • fake-lsp-server.js
        • provider
          • transform.test.ts
        • server
          • session-list.test.ts
        • session
          • llm.test.ts
          • messages-pagination.test.ts
    • sdk/js/src/v2
      • data.ts
    • shared/test
      • filesystem
        • filesystem.test.ts
      • fixture
        • effect-flock-worker.ts
    • slack/src
      • index.ts
  • script
    • publish.ts
    • stats.ts
  • sdks/vscode/src
    • extension.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎infra/enterprise.ts‎

Copy file name to clipboardExpand all lines: infra/enterprise.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { shortDomain } from "./stage"
33

44
const storage = new sst.cloudflare.Bucket("EnterpriseStorage")
55

6-
const teams = new sst.cloudflare.x.SolidStart("Teams", {
6+
new sst.cloudflare.x.SolidStart("Teams", {
77
domain: shortDomain,
88
path: "packages/enterprise",
99
buildCommand: "bun run build:cloudflare",
Collapse file

‎packages/app/src/addons/serialize.test.ts‎

Copy file name to clipboardExpand all lines: packages/app/src/addons/serialize.test.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ describe("SerializeAddon", () => {
180180
await writeAndWait(term, input)
181181

182182
const origLine = term.buffer.active.getLine(0)
183-
const origFg = origLine!.getCell(0)!.getFgColor()
184-
const origBg = origLine!.getCell(0)!.getBgColor()
183+
const _origFg = origLine!.getCell(0)!.getFgColor()
184+
const _origBg = origLine!.getCell(0)!.getBgColor()
185185
expect(origLine!.getCell(0)!.isBold()).toBe(1)
186186

187187
const serialized = addon.serialize({ range: { start: 0, end: 0 } })
Collapse file

‎packages/app/src/app.tsx‎

Copy file name to clipboardExpand all lines: packages/app/src/app.tsx
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ThemeProvider } from "@opencode-ai/ui/theme/context"
1010
import { MetaProvider } from "@solidjs/meta"
1111
import { type BaseRouterProps, Navigate, Route, Router } from "@solidjs/router"
1212
import { QueryClient, QueryClientProvider } from "@tanstack/solid-query"
13-
import { type Duration, Effect } from "effect"
13+
import { Effect } from "effect"
1414
import {
1515
type Component,
1616
createMemo,
@@ -156,11 +156,6 @@ export function AppBaseProviders(props: ParentProps<{ locale?: Locale }>) {
156156
)
157157
}
158158

159-
const effectMinDuration =
160-
(duration: Duration.Input) =>
161-
<A, E, R>(e: Effect.Effect<A, E, R>) =>
162-
Effect.all([e, Effect.sleep(duration)], { concurrency: "unbounded" }).pipe(Effect.map((v) => v[0]))
163-
164159
function ConnectionGate(props: ParentProps<{ disableHealthCheck?: boolean }>) {
165160
const server = useServer()
166161
const checkServerHealth = useCheckServerHealth()
Collapse file

‎packages/app/src/pages/session.tsx‎

Copy file name to clipboardExpand all lines: packages/app/src/pages/session.tsx
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@ export default function Page() {
433433
const isChildSession = createMemo(() => !!info()?.parentID)
434434
const diffs = createMemo(() => (params.id ? list(sync.data.session_diff[params.id]) : []))
435435
const sessionCount = createMemo(() => Math.max(info()?.summary?.files ?? 0, diffs().length))
436-
const hasSessionReview = createMemo(() => sessionCount() > 0)
437436
const canReview = createMemo(() => !!sync.project)
438437
const reviewTab = createMemo(() => isDesktop())
439438
const tabState = createSessionTabs({
@@ -443,8 +442,6 @@ export default function Page() {
443442
review: reviewTab,
444443
hasReview: canReview,
445444
})
446-
const contextOpen = tabState.contextOpen
447-
const openedTabs = tabState.openedTabs
448445
const activeTab = tabState.activeTab
449446
const activeFileTab = tabState.activeFileTab
450447
const revertMessageID = createMemo(() => info()?.revert?.messageID)
Collapse file

‎packages/app/src/pages/session/file-tabs.tsx‎

Copy file name to clipboardExpand all lines: packages/app/src/pages/session/file-tabs.tsx
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,6 @@ export function FileTabContent(props: { tab: string }) {
378378
requestAnimationFrame(() => comments.clearFocus())
379379
})
380380

381-
const cancelCommenting = () => {
382-
const p = path()
383-
if (p) file.setSelectedLines(p, null)
384-
setNote("commenting", null)
385-
}
386-
387381
let prev = {
388382
loaded: false,
389383
ready: false,
Collapse file

‎packages/console/app/script/generate-sitemap.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/script/generate-sitemap.ts
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { LOCALES, route } from "../src/lib/language.js"
88
const __dirname = dirname(fileURLToPath(import.meta.url))
99
const BASE_URL = config.baseUrl
1010
const PUBLIC_DIR = join(__dirname, "../public")
11-
const ROUTES_DIR = join(__dirname, "../src/routes")
1211
const DOCS_DIR = join(__dirname, "../../../web/src/content/docs")
1312

1413
interface SitemapEntry {
Collapse file

‎packages/console/app/src/routes/index.tsx‎

Copy file name to clipboardExpand all lines: packages/console/app/src/routes/index.tsx
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ export default function Home() {
3131
const i18n = useI18n()
3232
const language = useLanguage()
3333
const githubData = createAsync(() => github())
34-
const release = createMemo(() => githubData()?.release)
35-
3634
const handleCopyClick = (event: Event) => {
3735
const button = event.currentTarget as HTMLButtonElement
3836
const text = button.textContent
Collapse file

‎packages/console/app/src/routes/user-menu.tsx‎

Copy file name to clipboardExpand all lines: packages/console/app/src/routes/user-menu.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useI18n } from "~/context/i18n"
66
import { useLanguage } from "~/context/language"
77
import "./user-menu.css"
88

9-
const logout = action(async () => {
9+
const _logout = action(async () => {
1010
"use server"
1111
const auth = await useAuthSession()
1212
const event = getRequestEvent()
Collapse file

‎packages/function/src/api.ts‎

Copy file name to clipboardExpand all lines: packages/function/src/api.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export default new Hono<{ Bindings: Env }>()
181181
let info
182182
const messages: Record<string, any> = {}
183183
data.forEach((d) => {
184-
const [root, type, ...splits] = d.key.split("/")
184+
const [root, type] = d.key.split("/")
185185
if (root !== "session") return
186186
if (type === "info") {
187187
info = d.content
Collapse file

‎packages/opencode/src/bus/bus.ts‎

Copy file name to clipboardExpand all lines: packages/opencode/src/bus/bus.ts
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { EffectBridge } from "@/effect/bridge"
44
import { Log } from "../util/log"
55
import { BusEvent } from "./bus-event"
66
import { GlobalBus } from "./global"
7-
import { WorkspaceContext } from "@/control-plane/workspace-context"
87
import { InstanceState } from "@/effect/instance-state"
98
import { makeRuntime } from "@/effect/run-service"
109

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.