From 1a5ddda903ae936511decf2c25d18454c9f5215c Mon Sep 17 00:00:00 2001 From: Gautam Kumar Date: Thu, 18 Jun 2026 22:41:28 +0530 Subject: [PATCH 1/2] docs: update SDK version in examples from 0.0.16 to 0.10.7 The SDK README was showing outdated version 0.0.16 in code examples, but the current version is 0.10.7. Updated all instances to reflect the current version. Signed-off-by: Gautam Kumar --- sdk/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/README.md b/sdk/README.md index ff7d0ba960..f0c8ca002a 100644 --- a/sdk/README.md +++ b/sdk/README.md @@ -30,7 +30,7 @@ async function main() { // First run const runState1 = await client.run({ // The agent id. Any agent on the store (https://codebuff.com/store) - agent: 'codebuff/base@0.0.16', + agent: 'codebuff/base@0.10.7', prompt: 'Create a simple calculator class', handleEvent: (event) => { // All events that happen during the run: agent start/finish, tool calls/results, text responses, errors. @@ -40,7 +40,7 @@ async function main() { // Continue the same session with a follow-up const runOrError2 = await client.run({ - agent: 'codebuff/base@0.0.16', + agent: 'codebuff/base@0.10.7', prompt: 'Add unit tests for the calculator', previousRun: runState1, // <-- this is where your next run differs from the previous run handleEvent: (event) => { @@ -147,7 +147,7 @@ Override with `knowledgeFiles` (replaces project files) or `userKnowledgeFiles` ```typescript await client.run({ - agent: 'codebuff/base@0.0.16', + agent: 'codebuff/base@0.10.7', prompt: 'Help me refactor', knowledgeFiles: { 'knowledge.md': '# Guidelines\n- Use TypeScript' }, userKnowledgeFiles: { '~/.knowledge.md': '# Preferences\n- Be concise' }, From fc4438f222829abf3b8cd6300a6069204e7fb2f0 Mon Sep 17 00:00:00 2001 From: Gautam Kumar Date: Thu, 18 Jun 2026 23:15:22 +0530 Subject: [PATCH 2/2] docs: update SDK example version from 0.0.16 to 0.10.7 The SDK example was showing outdated version 0.0.16, but the current version is 0.10.7. Updated to reflect the current version. Signed-off-by: Gautam Kumar --- sdk/examples/readme-example-1.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/examples/readme-example-1.ts b/sdk/examples/readme-example-1.ts index 4e244b2c2a..2e44a128f3 100644 --- a/sdk/examples/readme-example-1.ts +++ b/sdk/examples/readme-example-1.ts @@ -11,7 +11,7 @@ async function main() { // First run const runState1 = await client.run({ // The agent id. Any agent on the store (https://codebuff.com/store) - agent: 'codebuff/base@0.0.16', + agent: 'codebuff/base@0.10.7', prompt: 'Create a simple calculator class', handleEvent: (event) => { // All events that happen during the run: agent start/finish, tool calls/results, text responses, errors. @@ -21,7 +21,7 @@ async function main() { // Continue the same session with a follow-up const _runOrError2 = await client.run({ - agent: 'codebuff/base@0.0.16', + agent: 'codebuff/base@0.10.7', prompt: 'Add unit tests for the calculator', previousRun: runState1, // <-- this is where your next run differs from the previous run handleEvent: (event) => {