Skip to content

Commit 9f1e726

Browse files
committed
Merge branch 'dev' into feat/permission-indicator-in-sidebar
2 parents eaeea49 + a4eebf9 commit 9f1e726

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1365
-771
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
name: test-skill
3+
description: use this when asked to test skill
4+
---
5+
6+
woah this is a test skill

AGENTS.md

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,4 @@
44

55
## Tool Calling
66

7-
- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE. Here is an example illustrating how to execute 3 parallel file reads in this chat environment:
8-
9-
json
10-
{
11-
"recipient_name": "multi_tool_use.parallel",
12-
"parameters": {
13-
"tool_uses": [
14-
{
15-
"recipient_name": "functions.read",
16-
"parameters": {
17-
"filePath": "path/to/file.tsx"
18-
}
19-
},
20-
{
21-
"recipient_name": "functions.read",
22-
"parameters": {
23-
"filePath": "path/to/file.ts"
24-
}
25-
},
26-
{
27-
"recipient_name": "functions.read",
28-
"parameters": {
29-
"filePath": "path/to/file.md"
30-
}
31-
}
32-
]
33-
}
34-
}
7+
- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE.

bun.lock

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

flake.lock

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

infra/console.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ const gatewayKv = new sst.cloudflare.Kv("GatewayKv")
118118
////////////////
119119

120120
const bucket = new sst.cloudflare.Bucket("ZenData")
121+
const bucketNew = new sst.cloudflare.Bucket("ZenDataNew")
121122

122123
const AWS_SES_ACCESS_KEY_ID = new sst.Secret("AWS_SES_ACCESS_KEY_ID")
123124
const AWS_SES_SECRET_ACCESS_KEY = new sst.Secret("AWS_SES_SECRET_ACCESS_KEY")
@@ -136,6 +137,7 @@ new sst.cloudflare.x.SolidStart("Console", {
136137
path: "packages/console/app",
137138
link: [
138139
bucket,
140+
bucketNew,
139141
database,
140142
AUTH_API_URL,
141143
STRIPE_WEBHOOK_SECRET,

nix/hashes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"nodeModules": "sha256-X9r0BsxLlhhCIioG8xuDVp+mDSlr37ZfqlblvEPrOJQ="
2+
"nodeModules": "sha256-brPDbHqdp4/U8AIXtp75uDRI6K3e2FH2b7V/QNb07us="
33
}

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,17 @@
6464
"turbo": "2.5.6"
6565
},
6666
"dependencies": {
67+
"@ai-sdk/cerebras": "1.0.33",
68+
"@ai-sdk/cohere": "2.0.21",
69+
"@ai-sdk/deepinfra": "1.0.30",
70+
"@ai-sdk/gateway": "2.0.23",
71+
"@ai-sdk/groq": "2.0.33",
72+
"@ai-sdk/perplexity": "2.0.22",
73+
"@ai-sdk/togetherai": "1.0.30",
6774
"@aws-sdk/client-s3": "3.933.0",
75+
"@opencode-ai/plugin": "workspace:*",
6876
"@opencode-ai/script": "workspace:*",
6977
"@opencode-ai/sdk": "workspace:*",
70-
"@opencode-ai/plugin": "workspace:*",
7178
"typescript": "catalog:"
7279
},
7380
"repository": {
@@ -82,7 +89,6 @@
8289
"trustedDependencies": [
8390
"esbuild",
8491
"protobufjs",
85-
"sharp",
8692
"tree-sitter",
8793
"tree-sitter-bash",
8894
"web-tree-sitter"

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.0.186",
3+
"version": "1.0.190",
44
"type": "module",
55
"scripts": {
66
"typecheck": "tsgo --noEmit",

packages/console/app/src/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export const config = {
99
github: {
1010
repoUrl: "https://github.com/sst/opencode",
1111
starsFormatted: {
12-
compact: "38K",
13-
full: "38,000",
12+
compact: "41K",
13+
full: "41,000",
1414
},
1515
},
1616

@@ -22,8 +22,8 @@ export const config = {
2222

2323
// Static stats (used on landing page)
2424
stats: {
25-
contributors: "400",
26-
commits: "5,000",
25+
contributors: "450",
26+
commits: "6,000",
2727
monthlyUsers: "400,000",
2828
},
2929
} as const

packages/console/app/src/routes/zen/util/dataDumper.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,23 @@ export function createDataDumper(sessionId: string, requestId: string, projectId
1919
if (!data.modelName) return
2020

2121
const timestamp = new Date().toISOString().replace(/[^0-9]/g, "")
22+
const year = timestamp.substring(0, 4)
23+
const month = timestamp.substring(4, 6)
24+
const day = timestamp.substring(6, 8)
25+
const hour = timestamp.substring(8, 10)
26+
const minute = timestamp.substring(10, 12)
27+
const second = timestamp.substring(12, 14)
2228

2329
waitUntil(
24-
Resource.ZenData.put(
25-
`data/${data.modelName}/${sessionId}/${requestId}.json`,
30+
Resource.ZenDataNew.put(
31+
`data/${data.modelName}/${year}/${month}/${day}/${hour}/${minute}/${second}/${requestId}.json`,
2632
JSON.stringify({ timestamp, ...data }),
2733
),
2834
)
2935

3036
waitUntil(
31-
Resource.ZenData.put(
32-
`meta/${data.modelName}/${timestamp}/${requestId}.json`,
37+
Resource.ZenDataNew.put(
38+
`meta/${data.modelName}/${sessionId}/${requestId}.json`,
3339
JSON.stringify({ timestamp, ...metadata }),
3440
),
3541
)

0 commit comments

Comments
 (0)