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: prefix 32 unused parameters with underscore (#22694) · al-prk/opencode@d6b14e2

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • console/app/src
      • component
        • icon.tsx
      • routes
        • auth
          • status.ts
        • debug
          • index.ts
        • zen
          • util/provider
            • openai-compatible.ts
          • v1
            • models.ts
            • models
              • [model].ts
    • function/src
      • api.ts
    • opencode
      • src
        • agent
          • agent.ts
        • cli/cmd/tui
          • component
            • dialog-mcp.tsx
          • ui
            • dialog-confirm.tsx
        • config
          • config.ts
        • provider
          • schema.ts
          • transform.ts
        • v2
          • session.ts
      • test/session
        • prompt-effect.test.ts
        • retry.test.ts
    • plugin/src
      • example.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/console/app/src/component/icon.tsx‎

Copy file name to clipboardExpand all lines: packages/console/app/src/component/icon.tsx
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { JSX } from "solid-js"
22

3-
export function IconZen(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
3+
export function IconZen(_props: JSX.SvgSVGAttributes<SVGSVGElement>) {
44
return (
55
<svg width="84" height="30" viewBox="0 0 84 30" fill="none" xmlns="http://www.w3.org/2000/svg">
66
<path d="M24 24H6V18H18V12H24V24ZM6 18H0V12H6V18Z" fill="currentColor" fill-opacity="0.2" />
@@ -13,7 +13,7 @@ export function IconZen(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
1313
)
1414
}
1515

16-
export function IconGo(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
16+
export function IconGo(_props: JSX.SvgSVGAttributes<SVGSVGElement>) {
1717
return (
1818
<svg width="54" height="30" viewBox="0 0 54 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1919
<path d="M24 30H0V0H24V6H6V24H18V18H12V12H24V30Z" fill="currentColor" />
Collapse file

‎packages/console/app/src/routes/auth/status.ts‎

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { APIEvent } from "@solidjs/start"
22
import { useAuthSession } from "~/context/auth"
33

4-
export async function GET(input: APIEvent) {
4+
export async function GET(_input: APIEvent) {
55
const session = await useAuthSession()
66
return Response.json(session.data)
77
}
Collapse file

‎packages/console/app/src/routes/debug/index.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/routes/debug/index.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { json } from "@solidjs/router"
33
import { Database } from "@opencode-ai/console-core/drizzle/index.js"
44
import { UserTable } from "@opencode-ai/console-core/schema/user.sql.js"
55

6-
export async function GET(evt: APIEvent) {
6+
export async function GET(_evt: APIEvent) {
77
return json({
88
data: await Database.use(async (tx) => {
99
const result = await tx.$count(UserTable)
Collapse file

‎packages/console/app/src/routes/zen/util/provider/openai-compatible.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/routes/zen/util/provider/openai-compatible.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const oaCompatHelper: ProviderHelper = ({ adjustCacheUsage, safetyIdentif
3030
headers.set("authorization", `Bearer ${apiKey}`)
3131
headers.set("x-session-affinity", headers.get("x-opencode-session") ?? "")
3232
},
33-
modifyBody: (body: Record<string, any>, workspaceID?: string) => {
33+
modifyBody: (body: Record<string, any>, _workspaceID?: string) => {
3434
return {
3535
...body,
3636
...(body.stream ? { stream_options: { include_usage: true } } : {}),
Collapse file

‎packages/console/app/src/routes/zen/v1/models.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/routes/zen/v1/models.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { WorkspaceTable } from "@opencode-ai/console-core/schema/workspace.sql.j
55
import { ModelTable } from "@opencode-ai/console-core/schema/model.sql.js"
66
import { ZenData } from "@opencode-ai/console-core/model.js"
77

8-
export async function OPTIONS(input: APIEvent) {
8+
export async function OPTIONS(_input: APIEvent) {
99
return new Response(null, {
1010
status: 200,
1111
headers: {
Collapse file

‎packages/console/app/src/routes/zen/v1/models/[model].ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/routes/zen/v1/models/[model].ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export function POST(input: APIEvent) {
66
format: "google",
77
modelList: "full",
88
parseApiKey: (headers: Headers) => headers.get("x-goog-api-key") ?? undefined,
9-
parseModel: (url: string, body: any) => url.split("/").pop()?.split(":")?.[0] ?? "",
10-
parseIsStream: (url: string, body: any) =>
9+
parseModel: (url: string, _body: any) => url.split("/").pop()?.split(":")?.[0] ?? "",
10+
parseIsStream: (url: string, _body: any) =>
1111
// ie. url: https://opencode.ai/zen/v1/models/gemini-3-pro:streamGenerateContent?alt=sse'
1212
url.split("/").pop()?.split(":")?.[1]?.startsWith("streamGenerateContent") ?? false,
1313
})
Collapse file

‎packages/function/src/api.ts‎

Copy file name to clipboardExpand all lines: packages/function/src/api.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ export class SyncServer extends DurableObject<Env> {
4949
})
5050
}
5151

52-
async webSocketMessage(ws, message) {}
52+
async webSocketMessage(_ws, _message) {}
5353

54-
async webSocketClose(ws, code, reason, wasClean) {
54+
async webSocketClose(ws, code, _reason, _wasClean) {
5555
ws.close(code, "Durable Object is closing WebSocket")
5656
}
5757

Collapse file

‎packages/opencode/src/agent/agent.ts‎

Copy file name to clipboardExpand all lines: packages/opencode/src/agent/agent.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export namespace Agent {
8080
const provider = yield* Provider.Service
8181

8282
const state = yield* InstanceState.make<State>(
83-
Effect.fn("Agent.state")(function* (ctx) {
83+
Effect.fn("Agent.state")(function* (_ctx) {
8484
const cfg = yield* config.get()
8585
const skillDirs = yield* skill.dirs()
8686
const whitelistedDirs = [Truncate.GLOB, ...skillDirs.map((dir) => path.join(dir, "*"))]
Collapse file

‎packages/opencode/src/cli/cmd/tui/component/dialog-mcp.tsx‎

Copy file name to clipboardExpand all lines: packages/opencode/src/cli/cmd/tui/component/dialog-mcp.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export function DialogMcp() {
7878
title="MCPs"
7979
options={options()}
8080
keybind={keybinds()}
81-
onSelect={(option) => {
81+
onSelect={(_option) => {
8282
// Don't close on select, only on escape
8383
}}
8484
/>
Collapse file

‎packages/opencode/src/cli/cmd/tui/ui/dialog-confirm.tsx‎

Copy file name to clipboardExpand all lines: packages/opencode/src/cli/cmd/tui/ui/dialog-confirm.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function DialogConfirm(props: DialogConfirmProps) {
5454
paddingLeft={1}
5555
paddingRight={1}
5656
backgroundColor={key === store.active ? theme.primary : undefined}
57-
onMouseUp={(evt) => {
57+
onMouseUp={(_evt) => {
5858
if (key === "confirm") props.onConfirm?.()
5959
if (key === "cancel") props.onCancel?.()
6060
dialog.clear()

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.