Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/npm-app-release-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
new-version: ${{ needs.prepare-and-commit-staging.outputs.new_version }}
artifact-name: updated-staging-package
checkout-ref: ${{ github.event.pull_request.head.sha }}
env-overrides: '{"NEXT_PUBLIC_CB_ENVIRONMENT": "prod", "NEXT_PUBLIC_CODEBUFF_BACKEND_URL": "backend-pr-221-we0m.onrender.com"}'
env-overrides: '{"NEXT_PUBLIC_CB_ENVIRONMENT": "prod", "NEXT_PUBLIC_CODEBUFF_BACKEND_URL": "backend-pr-285-vwm3.onrender.com"}'
secrets: inherit

# Create GitHub prerelease with all binaries
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Codebuff


Codebuff is an **open-source AI coding assistant** that edits your codebase through natural language instructions. Instead of using one model for everything, it coordinates specialized agents that work together to understand your project and make precise changes.

<div align="center">
Expand Down
1 change: 1 addition & 0 deletions common/src/websockets/websocket-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import type {
// mqp: useful for debugging
const VERBOSE_LOGGING = false

// Timeout for websocket messages waiting for acknowledgment (2 minutes)
const TIMEOUT_MS = 120_000

const RECONNECT_WAIT_MS = 5_000
Expand Down
3 changes: 3 additions & 0 deletions npm-app/release-staging/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,13 @@ async function getLatestVersion() {
`https://registry.npmjs.org/${packageName}/latest`,
)

console.error('asdf', { code: res.statusCode })
if (res.statusCode !== 200) return null

const body = await streamToString(res)
console.error('asdf body', body)
const packageData = JSON.parse(body)
console.error('asdf packageData', JSON.stringify(packageData, null, 2))

return packageData.version || null
} catch (error) {
Expand Down
Loading