Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

workspace: confirm the IDE extension calls the new serve routes from its host process, not a webview

Offen
#1,385 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
devtools, security

Rechercherichtung

Start with the route guard and route definitions in packages/opencode/src/server/server.ts, then inspect where the IDE extension's Refresh, Sync, and Publish actions issue their requests. Confirm whether calls originate in the extension host or a webview; done means host-origin requests succeed without 403, or webview calls are routed through the host without weakening the refusal.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Found during the v0.12.4 release review. Needs confirmation against the IDE extension; not verifiable from this repo.

v0.12.4 adds serve routes for the extension: POST /altimate/workspace/refresh, POST /altimate/workspace/sync, GET /altimate/skill/publishable and POST /altimate/skill/publish. All four go through workspaceRouteRefusal (packages/opencode/src/server/server.ts), which refuses any request a browser labels cross-site (Sec-Fetch-Site), any request with an Origin when OPENCODE_SERVER_PASSWORD is unset, and any other origin when it is set. Native clients (the extension host process, curl) send neither header and are allowed.

If the extension calls these routes from a webview fetch (a Chromium context that sends Origin / Sec-Fetch-Site) rather than from the extension host, every call is refused with 403 and the panel's Refresh / Sync / Publish actions do not work.

To do: confirm where the extension issues these requests. If from a webview, route them through the extension host (preferred — keeps the browser-origin refusal intact), rather than loosening the gate.

Vorherrschende Sprache
TypeScript
Sterne
812
Forks
123
Ø Merge
1 T. 16 Std.
Gemergte PRs (30 T.)
85

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus AltimateAI/altimate-code

Alle Issues in AltimateAI/altimate-code

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.