Skip to content

Commit c414493

Browse files
lidge-junwtfsayo
andcommitted
docs(devin): carry the upstream MIT notice on the derived cloud-direct files
A similarity check against rsvedant/opencode-windsurf-auth puts wire.ts at 1.000, index.ts at 0.988, chat.ts at 0.912, metadata.ts at 0.863, auth.ts at 0.835 and catalog.ts at 0.753 - same module split, same comments, same field layout. These files are a derivative of that repository's src/cloud-direct/, which is MIT licensed, Copyright (c) 2026 Vedant, and the carry arrived with no notice at all. The full permission notice sits in the module entry point and the other five files carry a short attribution header pointing at it, which is what MIT asks for in a distributed source tree. Co-authored-by: Sayo <[email protected]>
1 parent 6f094e7 commit c414493

6 files changed

Lines changed: 44 additions & 0 deletions

File tree

‎src/adapters/devin/cloud-direct/auth.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Derived from rsvedant/opencode-windsurf-auth (src/cloud-direct/), MIT licensed,
3+
* Copyright (c) 2026 Vedant. The full notice is in ./index.ts.
4+
*/
15
/**
26
* Mint the short-lived `user_jwt` that every chat RPC needs alongside the
37
* persistent OAuth-issued `api_key`.

‎src/adapters/devin/cloud-direct/catalog.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Derived from rsvedant/opencode-windsurf-auth (src/cloud-direct/), MIT licensed,
3+
* Copyright (c) 2026 Vedant. The full notice is in ./index.ts.
4+
*/
15
/**
26
* Per-account model catalog from Cognition's `GetCascadeModelConfigs`.
37
*

‎src/adapters/devin/cloud-direct/chat.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Derived from rsvedant/opencode-windsurf-auth (src/cloud-direct/), MIT licensed,
3+
* Copyright (c) 2026 Vedant. The full notice is in ./index.ts.
4+
*/
15
/**
26
* Cloud-direct streaming chat. Talks to
37
* `server.codeium.com/exa.api_server_pb.ApiServerService/GetChatMessage`

‎src/adapters/devin/cloud-direct/index.ts‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
/*
2+
* Derived from rsvedant/opencode-windsurf-auth (src/cloud-direct/), MIT licensed.
3+
*
4+
* MIT License
5+
* Copyright (c) 2026 Vedant
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
*/
125
/**
226
* Public surface of the cloud-direct module.
327
*

‎src/adapters/devin/cloud-direct/metadata.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Derived from rsvedant/opencode-windsurf-auth (src/cloud-direct/), MIT licensed,
3+
* Copyright (c) 2026 Vedant. The full notice is in ./index.ts.
4+
*/
15
/**
26
* `exa.codeium_common_pb.Metadata` proto builder.
37
*

‎src/adapters/devin/cloud-direct/wire.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Derived from rsvedant/opencode-windsurf-auth (src/cloud-direct/), MIT licensed,
3+
* Copyright (c) 2026 Vedant. The full notice is in ./index.ts.
4+
*/
15
/**
26
* Manual protobuf + Connect-RPC streaming envelope helpers.
37
*

0 commit comments

Comments
 (0)