Skip to content

Commit 09880af

Browse files
committed
feat: 更新文档链接,指向新的 UCloud Sandbox 文档地址
1 parent c41d649 commit 09880af

7 files changed

Lines changed: 10 additions & 13 deletions

File tree

packages/js-sdk/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,4 @@ console.log(execution.text) // outputs 2
4444
```
4545

4646
### 4. Check docs
47-
Visit [UCloud Sandbox documentation](https://sandbox.ucloudai.com/docs).
48-
49-
### 5. E2B cookbook
50-
Visit our [Cookbook](https://github.com/e2b-dev/e2b-cookbook/tree/main) to get inspired by examples with different LLMs and AI frameworks.
47+
Visit [UCloud Sandbox documentation](https://github.com/UCloudDoc-Team/agent-sandbox).

src/commands/template/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ const sandbox = await Sandbox.create('${aliases?.length ? aliases[0] : template.
521521
}')`)
522522

523523
const examplesMessage = `You can now use the template to create custom sandboxes.\nLearn more on ${asPrimary(
524-
'https://sandbox.ucloudai.com/docs'
524+
'https://github.com/UCloudDoc-Team/agent-sandbox'
525525
)}`
526526

527527
const exampleHeader = boxen.default(examplesMessage, {
@@ -562,7 +562,7 @@ const sandbox = await Sandbox.create('${aliases?.length ? aliases[0] : template.
562562
aliases,
563563
...template,
564564
})} failed.\nCheck the logs above for more details or contact us ${asPrimary(
565-
'(https://sandbox.ucloudai.com/docs/support)'
565+
'(https://github.com/UCloudDoc-Team/agent-sandbox)'
566566
)} to get help.\n`
567567
)
568568
}

src/commands/template/buildWithProxy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ export async function buildWithProxy(
1818
) {
1919
if (!userConfig?.dockerProxySet) {
2020
console.log(
21-
'There was an issue during Docker authentication. Please follow the workaround steps from https://sandbox.ucloudai.com/docs/troubleshooting/templates/build-authentication-error and then continue.'
21+
'There was an issue during Docker authentication. Please follow the workaround steps from https://github.com/UCloudDoc-Team/agent-sandbox and then continue.'
2222
)
2323
const yes = await confirm(
24-
'Have you completed the steps from the https://sandbox.ucloudai.com/docs/troubleshooting/templates/build-authentication-error workaround guide?'
24+
'Have you completed the steps from the https://github.com/UCloudDoc-Team/agent-sandbox workaround guide?'
2525
)
2626

2727
if (!yes) {
2828
console.log(
29-
'Please follow the workaround steps from https://sandbox.ucloudai.com/docs/troubleshooting/templates/build-authentication-error and then try again.'
29+
'Please follow the workaround steps from https://github.com/UCloudDoc-Team/agent-sandbox and then try again.'
3030
)
3131
process.exit(1)
3232
}

src/commands/template/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ sandbox = await AsyncSandbox.create("${templateName}")`)
169169
const sandbox = await Sandbox.create('${templateName}')`)
170170

171171
const examplesMessage = `You can now use the template to create custom sandboxes.\nLearn more on ${asPrimary(
172-
'https://sandbox.ucloudai.com/docs'
172+
'https://github.com/UCloudDoc-Team/agent-sandbox'
173173
)}`
174174

175175
const exampleHeader = boxen.default(examplesMessage, {

src/commands/template/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ export const initCommand = new commander.Command('init')
325325

326326
console.log(
327327
`\nLearn more about Sandbox Templates: ${asPrimary(
328-
'https://sandbox.ucloudai.com/docs'
328+
'https://github.com/UCloudDoc-Team/agent-sandbox'
329329
)}\n`
330330
)
331331
} catch (err: any) {

src/commands/template/migrate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export const migrateCommand = new commander.Command('migrate')
234234

235235
console.log(
236236
`\nLearn more about Template SDK: ${asPrimary(
237-
'https://sandbox.ucloudai.com/docs'
237+
'https://github.com/UCloudDoc-Team/agent-sandbox'
238238
)}\n`
239239
)
240240
success = true

src/templates/readme.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ asyncio.run(main())
9696
1. Customize the template in `{{templateFile}}` to fit your needs
9797
2. Build the template using one of the methods above
9898
3. Use the template in your UCloud sandbox code
99-
4. Check out the UCloud Sandbox documentation at https://sandbox.ucloudai.com/docs for more advanced usage
99+
4. Check out the UCloud Sandbox documentation at https://github.com/UCloudDoc-Team/agent-sandbox for more advanced usage

0 commit comments

Comments
 (0)