Evidence and archive

page.ts · part 1

Full reference
Topics
Status
Showing all 25

25 text occurrences from packages/core/src/oauth/page.ts, part 1. Every entry preserves the shipped literal and its saved verdict or selection reason.

File contents and all parts · All files

Shipped text

Authorization successful

Source: packages/core/src/oauth/page.ts, characters 1079–1105, SHA-256 f77aa33f25e77c00.

Jev judged not model-facing (confidence 0.02; role human). This is a classifier judgment, not proof of delivery.

Readable text: Authorization successful

Authorization successful

Authorization successful · character 1171

Source: packages/core/src/oauth/page.ts, characters 1171–1197, SHA-256 f77aa33f25e77c00.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: Authorization successful

Authorization successful

OpenCode is now connected to ${escapeHtml(provider)}.

Source: packages/core/src/oauth/page.ts, characters 1225–1280, SHA-256 d75d4dd065e3c3de.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: OpenCode is now connected to ${escapeHtml(provider)}.

OpenCode is now connected to ${escapeHtml(provider)}.

OpenCode is now authorized.

Source: packages/core/src/oauth/page.ts, characters 1283–1312, SHA-256 f5aaaedd7f990763.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: OpenCode is now authorized.

OpenCode is now authorized.

You can close this window.

Source: packages/core/src/oauth/page.ts, characters 1330–1358, SHA-256 7bfb8ec1138ab7d8.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: You can close this window.

You can close this window.

Authorization failed

Source: packages/core/src/oauth/page.ts, characters 1595–1617, SHA-256 8cf0817158bb9a8a.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: Authorization failed

Authorization failed

Authorization failed · character 1681

Source: packages/core/src/oauth/page.ts, characters 1681–1703, SHA-256 8cf0817158bb9a8a.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: Authorization failed

Authorization failed

OpenCode couldn't finish connecting to ${escapeHtml(provider)}.

Source: packages/core/src/oauth/page.ts, characters 1739–1804, SHA-256 2a638db1f972d9e2.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: OpenCode couldn't finish connecting to ${escapeHtml(provider)}.

OpenCode couldn't finish connecting to ${escapeHtml(provider)}.

OpenCode couldn't complete authorization.

Source: packages/core/src/oauth/page.ts, characters 1815–1858, SHA-256 96acb3937866e167.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: OpenCode couldn't complete authorization.

OpenCode couldn't complete authorization.

Close this window and try again from OpenCode.

Source: packages/core/src/oauth/page.ts, characters 1890–1938, SHA-256 075b473498f25969.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: Close this window and try again from OpenCode.

Close this window and try again from OpenCode.

Finishing sign-in

Source: packages/core/src/oauth/page.ts, characters 2489–2508, SHA-256 185824dff4511ea9.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: Finishing sign-in

Finishing sign-in

Finishing sign-in · character 2574

Source: packages/core/src/oauth/page.ts, characters 2574–2593, SHA-256 185824dff4511ea9.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: Finishing sign-in

Finishing sign-in

Completing your ${escapeHtml(options.provider)} authorization.

Source: packages/core/src/oauth/page.ts, characters 2637–2701, SHA-256 9802d6043d21cafc.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: Completing your ${escapeHtml(options.provider)} authorization.

Completing your ${escapeHtml(options.provider)} authorization.

Completing authorization.

Source: packages/core/src/oauth/page.ts, characters 2712–2739, SHA-256 323c46116dc9c798.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: Completing authorization.

Completing authorization.

You can close this window once sign-in finishes.

Source: packages/core/src/oauth/page.ts, characters 2757–2807, SHA-256 ed4692e70659bf33.

Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.

Readable text: You can close this window once sign-in finishes.

You can close this window once sign-in finishes.

main class="card" id="oc-card" data-status="${input.status}" role="status" aria

Source: packages/core/src/oauth/page.ts, characters 3121–3842, SHA-256 2c7f1b8003516eb1.

Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: <main class="card" id="oc-card" data-status="${input.status}" role="status" aria-live="polite"> <div class="brand">${WORDMARK}</div> <div class="status" aria-hidden="true"> <span class="icon icon-pending">${ICON_SPINNER}…

<main class="card" id="oc-card" data-status="${input.status}" role="status" aria-live="polite">
      <div class="brand">${WORDMARK}</div>
      <div class="status" aria-hidden="true">
        <span class="icon icon-pending">${ICON_SPINNER}</span>
        <span class="icon icon-success">${ICON_CHECK}</span>
        <span class="icon icon-error">${ICON_CROSS}</span>
      </div>
      <h1 class="headline" id="oc-headline">${escapeHtml(input.headline)}</h1>
      <p class="message" id="oc-message">${input.message}</p>
      <pre class="detail" id="oc-detail"${detail ? "" : " hidden"}>${detail ? escapeHtml(detail) : ""}</pre>
      <p class="footnote" id="oc-footnote">${escapeHtml(input.footnote)}</p>
    </main>

doctype html html lang="en" head meta charset="utf-8" / meta name="vie

Source: packages/core/src/oauth/page.ts, characters 3938–4334, SHA-256 78039c38bc2816a8.

Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: <!doctype html\> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="robots" content="noindex" /> <title>${escapeHtml(input.title)} · OpenCode<…

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="robots" content="noindex" />
    <title>${escapeHtml(input.title)} · OpenCode</title>
    <style>${STYLES}</style>
  </head>
  <body>
    ${input.body}${input.script ? `\n    <script>${input.script}</script>` : ""}
  </body>
</html>

var PROVIDER=${scriptString(options.provider ?? "")}; var TOKEN URL=new URL(${sc

Source: packages/core/src/oauth/page.ts, characters 4489–6464, SHA-256 4ce4517b2c377c10.

Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: var PROVIDER=${scriptString(options.provider ?? "")}; var TOKEN_URL=new URL(${scriptString(options.tokenPath)},window.location.origin).href; (function(){ var card=document.getElementById("oc-card"),headline=document.getElementById("oc-hea…

var PROVIDER=${scriptString(options.provider ?? "")};
var TOKEN_URL=new URL(${scriptString(options.tokenPath)},window.location.origin).href;
(function(){
  var card=document.getElementById("oc-card"),headline=document.getElementById("oc-headline"),message=document.getElementById("oc-message"),detail=document.getElementById("oc-detail"),footnote=document.getElementById("oc-footnote");
  function fail(text){card.dataset.status="error";headline.textContent="Authorization failed";message.textContent=PROVIDER?("OpenCode couldn't finish connecting to "+PROVIDER+"."):"OpenCode couldn't complete authorization.";if(text){detail.textContent=text;detail.hidden=false}footnote.textContent="Close this window and try again from OpenCode."}
  function ok(){card.dataset.status="success";headline.textContent="Authorization successful";message.textContent=PROVIDER?("OpenCode is now connected to "+PROVIDER+"."):"OpenCode is now authorized.";detail.hidden=true;footnote.textContent="You can close this window.";setTimeout(function(){try{window.close()}catch(e){}},2500)}
  try{
    var hash=new URLSearchParams((window.location.hash||"").slice(1));
    var search=new URLSearchParams(window.location.search||"");
    var err=hash.get("error")||search.get("error");
    var errDescription=hash.get("error_description")||search.get("error_description");
    var body=err?{error:err,error_description:errDescription||""}:{access_token:hash.get("access_token")||"",expires_in:hash.get("expires_in")||"0",state:hash.get("state")||""};
    fetch(TOKEN_URL,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(body)}).then(function(res){
      if(!res.ok)return res.text().catch(function(){return""}).then(function(t){throw new Error(t||("callback failed ("+res.status+")"))});
      if(err){fail(errDescription||err);return}
      ok();
    }).catch(function(e){fail(String(e&&e.message?e.message:e))});
  }catch(e){fail(String(e&&e.message?e.message:e))}
})()

--oc-bg: f8f8f8; --oc-card: fcfcfc; --oc-text-strong: 171717; --oc-text-base:

Source: packages/core/src/oauth/page.ts, characters 7006–7488, SHA-256 119fcce59be95ee0.

Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: --oc-bg: #f8f8f8; --oc-card: #fcfcfc; --oc-text-strong: #171717; --oc-text-base: #6f6f6f; --oc-text-weak: #8f8f8f; --oc-border-weak: #e5e5e5; --oc-icon-strong: #171717; --oc-icon-base: #8f8f8f; --oc-icon…


    --oc-bg: #f8f8f8;
    --oc-card: #fcfcfc;
    --oc-text-strong: #171717;
    --oc-text-base: #6f6f6f;
    --oc-text-weak: #8f8f8f;
    --oc-border-weak: #e5e5e5;
    --oc-icon-strong: #171717;
    --oc-icon-base: #8f8f8f;
    --oc-icon-weak: #dbdbdb;
    --oc-success: #2dba26;
    --oc-error: #ed4831;
    --oc-detail-bg: #fff8f6;
    --oc-detail-border: #fdc3b7;
    --oc-shadow: 0 16px 48px -6px rgba(0,0,0,.10), 0 6px 12px -2px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.06);

--oc-bg: 101010; --oc-card: 161616; --oc-text-strong: rgba(255,255,255,.936);

Source: packages/core/src/oauth/page.ts, characters 7508–8034, SHA-256 3bf8908e2f76087f.

Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: --oc-bg: #101010; --oc-card: #161616; --oc-text-strong: rgba(255,255,255,.936); --oc-text-base: rgba(255,255,255,.618); --oc-text-weak: rgba(255,255,255,.422); --oc-border-weak: #282828; --oc-icon-strong: #edede…


    --oc-bg: #101010;
    --oc-card: #161616;
    --oc-text-strong: rgba(255,255,255,.936);
    --oc-text-base: rgba(255,255,255,.618);
    --oc-text-weak: rgba(255,255,255,.422);
    --oc-border-weak: #282828;
    --oc-icon-strong: #ededed;
    --oc-icon-base: #7e7e7e;
    --oc-icon-weak: #343434;
    --oc-success: #12c905;
    --oc-error: #fc533a;
    --oc-detail-bg: #28110c;
    --oc-detail-border: #6a1206;
    --oc-shadow: 0 16px 48px -6px rgba(0,0,0,.55), 0 6px 12px -2px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.4);

:root { color-scheme: light dark;${LIGHT VARS} --oc-font-sans: ui-sans-serif, sy

Source: packages/core/src/oauth/page.ts, characters 8051–10677, SHA-256 db23c03aba4882bf.

Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: :root { color-scheme: light dark;${LIGHT_VARS} --oc-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --oc-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberatio…


  :root { color-scheme: light dark;${LIGHT_VARS}
    --oc-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --oc-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {${DARK_VARS} } }
  :root[data-theme="dark"] {${DARK_VARS} }
  :root[data-theme="light"] {${LIGHT_VARS} }

  * { box-sizing: border-box; }
  html, body { margin: 0; height: 100%; }
  body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--oc-bg);
    color: var(--oc-text-base);
    font-family: var(--oc-font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  .card {
    width: min(100%, 28rem);
    padding: 2.25rem 2rem 1.75rem;
    background: var(--oc-card);
    border: 1px solid var(--oc-border-weak);
    border-radius: 14px;
    box-shadow: var(--oc-shadow);
    text-align: center;
  }
  .brand { display: flex; justify-content: center; margin-bottom: 1.75rem; }
  .brand svg { height: 19px; width: auto; }
  .status { display: flex; justify-content: center; margin-bottom: 1.125rem; }
  .icon { display: none; line-height: 0; }
  .icon svg { display: block; }
  .card[data-status="pending"] .icon-pending,
  .card[data-status="success"] .icon-success,
  .card[data-status="error"] .icon-error { display: block; }
  .icon-success { color: var(--oc-success); }
  .icon-error { color: var(--oc-error); }
  .icon-pending { color: var(--oc-text-weak); }
  .headline { margin: 0; font-size: 1.1875rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.012em; color: var(--oc-text-strong); }
  .message { margin: 0.5rem 0 0; font-size: 0.9375rem; color: var(--oc-text-base); }
  .detail {
    margin: 1.25rem 0 0;
    padding: 0.75rem 0.875rem;
    text-align: left;
    font-family: var(--oc-font-mono);
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--oc-text-strong);
    background: var(--oc-detail-bg);
    border: 1px solid var(--oc-detail-border);
    border-radius: 8px;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 9.5rem;
    overflow: auto;
  }
  .detail[hidden] { display: none; }
  .footnote { margin: 1.5rem 0 0; font-size: 0.8125rem; color: var(--oc-text-weak); }
  .spinner { animation: oc-spin 0.8s linear infinite; transform-origin: center; }
  @keyframes oc-spin { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

svg class="wordmark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 234 42" fi

Source: packages/core/src/oauth/page.ts, characters 10785–12239, SHA-256 34043695aafc2ab3.

Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: <svg class="wordmark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 234 42" fill="none" aria-label="OpenCode" role="img"> <path d="M18 30H6V18H18V30Z" fill="var(--oc-icon-weak)" /> <path d="M18 12H6V30H18V12ZM24 36H0V6H24V…

<svg class="wordmark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 234 42" fill="none" aria-label="OpenCode" role="img">
        <path d="M18 30H6V18H18V30Z" fill="var(--oc-icon-weak)" />
        <path d="M18 12H6V30H18V12ZM24 36H0V6H24V36Z" fill="var(--oc-icon-base)" />
        <path d="M48 30H36V18H48V30Z" fill="var(--oc-icon-weak)" />
        <path d="M36 30H48V12H36V30ZM54 36H36V42H30V6H54V36Z" fill="var(--oc-icon-base)" />
        <path d="M84 24V30H66V24H84Z" fill="var(--oc-icon-weak)" />
        <path d="M84 24H66V30H84V36H60V6H84V24ZM66 18H78V12H66V18Z" fill="var(--oc-icon-base)" />
        <path d="M108 36H96V18H108V36Z" fill="var(--oc-icon-weak)" />
        <path d="M108 12H96V36H90V6H108V12ZM114 36H108V12H114V36Z" fill="var(--oc-icon-base)" />
        <path d="M144 30H126V18H144V30Z" fill="var(--oc-icon-weak)" />
        <path d="M144 12H126V30H144V36H120V6H144V12Z" fill="var(--oc-icon-strong)" />
        <path d="M168 30H156V18H168V30Z" fill="var(--oc-icon-weak)" />
        <path d="M168 12H156V30H168V12ZM174 36H150V6H174V36Z" fill="var(--oc-icon-strong)" />
        <path d="M198 30H186V18H198V30Z" fill="var(--oc-icon-weak)" />
        <path d="M198 12H186V30H198V12ZM204 36H180V6H198V0H204V36Z" fill="var(--oc-icon-strong)" />
        <path d="M234 24V30H216V24H234Z" fill="var(--oc-icon-weak)" />
        <path d="M216 12V18H228V12H216ZM234 24H216V30H234V36H210V6H234V24Z" fill="var(--oc-icon-strong)" />
      </svg>

svg viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="currentColor

Source: packages/core/src/oauth/page.ts, characters 12260–12484, SHA-256 d7816664c04ac1fa.

Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: <svg viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9" /><path d="m8.5 12.5 2.4 2.4 4.6-5.4" /></svg>

<svg viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9" /><path d="m8.5 12.5 2.4 2.4 4.6-5.4" /></svg>

svg viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="currentColor · character 12505

Source: packages/core/src/oauth/page.ts, characters 12505–12720, SHA-256 1f9b09ed6a4abf71.

Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: <svg viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9" /><path d="m9 9 6 6m0-6-6 6" /></svg>

<svg viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9" /><path d="m9 9 6 6m0-6-6 6" /></svg>

svg class="spinner" viewBox="0 0 24 24" width="30" height="30" fill="none" stro

Source: packages/core/src/oauth/page.ts, characters 12743–12968, SHA-256 cd8c586d1604cf4f.

Jev judged not model-facing (confidence 0.02; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: <svg class="spinner" viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="12" cy="12" r="9" opacity="0.2" /><path d="M21 12a9 9 0 0 0-9-9" /></svg>

<svg class="spinner" viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="12" cy="12" r="9" opacity="0.2" /><path d="M21 12a9 9 0 0 0-9-9" /></svg>