Skip to content

Commit 0135013

Browse files
authored
Merge pull request #289 from Latitudes-Dev/shuvcode-dev
sync: merge upstream v1.1.11
2 parents 02ada5f + 14e0a99 commit 0135013

36 files changed

Lines changed: 970 additions & 404 deletions

File tree

.github/last-synced-tag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.1.10
1+
v1.1.11

bun.lock

Lines changed: 27 additions & 352 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/app",
3-
"version": "1.1.10-2",
3+
"version": "1.1.11",
44
"description": "",
55
"type": "module",
66
"exports": {

packages/console/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/console-app",
3-
"version": "1.1.10-2",
3+
"version": "1.1.11",
44
"type": "module",
55
"license": "MIT",
66
"scripts": {

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@ export default function Home() {
195195
<strong>Claude Pro</strong> Log in with Anthropic to use your Claude Pro or Max account
196196
</div>
197197
</li>
198+
<li>
199+
<span>[*]</span>
200+
<div>
201+
<strong>ChatGPT Plus/Pro</strong> Log in with OpenAI to use your ChatGPT Plus or Pro account
202+
</div>
203+
</li>
198204
<li>
199205
<span>[*]</span>
200206
<div>

packages/console/app/src/routes/temp.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ export default function Home() {
9191
<li>
9292
<strong>Claude Pro</strong> Log in with Anthropic to use your Claude Pro or Max account
9393
</li>
94+
<li>
95+
<strong>ChatGPT Plus/Pro</strong> Log in with OpenAI to use your ChatGPT Plus or Pro account
96+
</li>
9497
<li>
9598
<strong>Use any model</strong> Supports 75+ LLM providers through{" "}
9699
<a href="https://models.dev">Models.dev</a>, including local models

packages/console/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "@opencode-ai/console-core",
4-
"version": "1.1.10-2",
4+
"version": "1.1.11",
55
"private": true,
66
"type": "module",
77
"license": "MIT",

packages/console/core/script/lookup-user.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,21 @@ if (identifier.startsWith("wrk_")) {
3838
workspaceID: UserTable.workspaceID,
3939
workspaceName: WorkspaceTable.name,
4040
role: UserTable.role,
41+
subscribed: SubscriptionTable.timeCreated,
4142
})
4243
.from(UserTable)
4344
.innerJoin(WorkspaceTable, eq(WorkspaceTable.id, UserTable.workspaceID))
44-
.where(eq(UserTable.accountID, accountID)),
45+
.innerJoin(SubscriptionTable, eq(SubscriptionTable.userID, UserTable.id))
46+
.where(eq(UserTable.accountID, accountID))
47+
.then((rows) =>
48+
rows.map((row) => ({
49+
userID: row.userID,
50+
workspaceID: row.workspaceID,
51+
workspaceName: row.workspaceName,
52+
role: row.role,
53+
subscribed: formatDate(row.subscribed),
54+
})),
55+
),
4556
)
4657

4758
// Get all payments for these workspaces

packages/console/function/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/console-function",
3-
"version": "1.1.10-2",
3+
"version": "1.1.11",
44
"$schema": "https://json.schemastore.org/package.json",
55
"private": true,
66
"type": "module",

packages/console/mail/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/console-mail",
3-
"version": "1.1.10-2",
3+
"version": "1.1.11",
44
"dependencies": {
55
"@jsx-email/all": "2.2.3",
66
"@jsx-email/cli": "1.4.3",

0 commit comments

Comments
 (0)