Skip to content

Brandon/readme - #3

Merged
jahooma merged 2 commits into
mainfrom
brandon/readme
Sep 12, 2024
Merged

jahooma merged 2 commits into
mainfrom
brandon/readme

Conversation

@brandonkachen

Copy link
Copy Markdown
Contributor

No description provided.

@jahooma
jahooma merged commit 70520b3 into main Sep 12, 2024
@brandonkachen
brandonkachen deleted the brandon/readme branch September 13, 2024 04:06
brandonkachen added a commit that referenced this pull request Nov 27, 2024
khiwniti added a commit to khiwniti/codebuff that referenced this pull request May 8, 2026
…errors-in-nvidia-nim-api-c42r1c

Improve tool validation, tokenizer fallback, and streaming/error robustness
EstarinAzx added a commit to EstarinAzx/codebuff-modded that referenced this pull request May 19, 2026
…am throw (shim CodebuffAI#3)

run-agent-step.ts's BYOK runId synth was a 17-line in-place edit that
replaced the upstream "throw on null" block with an inline UUID
fallback. Move the synth to the SDK side by wrapping startAgentRun
before passing it into the agent-runtime contract. The wrap calls
getForkHooks().synthRunId?.(agentId) when codebuff.com returns null;
fork-side, runid-synth.ts mints a `byok-<agentId>-<uuid>` (UUID-crypto
when available, randoms fallback otherwise) only when the BYOK gate is
active. Non-fork consumers see the hook as undefined and the contract's
null bubbles back into agent-runtime's upstream throw.

Net result: packages/agent-runtime/src/run-agent-step.ts is now byte-
identical to pre-0.1.4 upstream (zero fork edit). The wrap lives
entirely in sdk/src/impl/agent-runtime.ts which is fork-owned anyway.

byok-resolver side-effect-imports runid-synth so the hook is registered
on any sdk load path that touches BYOK (CLI boot, sdk index, model-
provider re-exports, any test that imports setActiveByokProfile).

Behavior preserved: runIdToGenerator keys remain non-empty and unique
across concurrent programmatic agents — the 0.1.6 fix that prevented
`Agent state has no run ID` on spawned handleSteps sub-agents stays
intact. Verified by typecheck + the 19 BYOK/database tests green.

Reduces upstream merge conflict on run-agent-step.ts from a 17-line
block to zero. This file no longer carries any fork edit.
EstarinAzx added a commit to EstarinAzx/codebuff-modded that referenced this pull request May 19, 2026
…led binary

Shim CodebuffAI#5-7 (commit 6448174) replaced inline BYOK_AT_BOOT IIFEs in
use-connection-status / use-gravity-ad / use-agent-validation with a
getForkHooks().shouldSkipReactHook?.() lookup. The skip-react-hook impl
self-registered via a side-effect import threaded through index.tsx,
then a tree-shaking allowlist tweak, then a pre-init move.

None of it survived bun --compile. Symptoms in the produced binary:
"connecting..." stuck on, no agent dispatch on first prompt — same
0.1.10 lockout the original BYOK_AT_BOOT IIFEs were added to prevent.
Root cause not fully isolated; bun-compile's bundler interaction with
side-effect imports under workspace package.json sideEffects flags is
the suspect, but rather than keep guessing under the user's time
pressure, restore the working inline IIFEs.

Net effect: the 3 hook files are now byte-identical to modded tip
(zero diff). 9-line shim per file gone. Merge friction for these three
hooks rebuilds back to the 0.1.10 level — accepted trade-off for a
working binary.

skip-react-hook.ts deleted. scripts/check-env-architecture.ts allowlist
re-includes the 3 hook files (they read process.env again).

SDK-side shims (#1, CodebuffAI#2, CodebuffAI#3) stay — they pass tests and aren't on the
broken code path.
JasonMMIV added a commit to JasonMMIV/Anybuff that referenced this pull request Aug 26, 2026
… queue, auto-update

- CodebuffAI#1 Sensitive-file filter: desktop/src/main/file-filter.ts ports upstream
  isSensitiveFile heuristics (keys, SSH privates, kubeconfig, .env, ...) and
  wires into CodebuffClient.run() via the SDK fileFilter option.
- CodebuffAI#2 In-flight message queue: messages typed during a run are parked in
  MessageQueuePanel and dispatched automatically when the turn ends, with
  inline edit / reorder / promote / delete.
- CodebuffAI#3 Auto-update via electron-updater (GitHub Releases): silent check ~20s
  after launch and every 4h, blockmap differential download, Restart &
  Install from About page, install-on-quit fallback; dev/unpackaged falls
  back to a plain GitHub API version check.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
JasonMMIV added a commit to JasonMMIV/Anybuff that referenced this pull request Sep 21, 2026
- GitHub Actions android-release.yml: shared-layer regression gate -> layered
  web/sdk/host-core builds -> pinned runtime fetch -> assembleRelease (version
  derived from desktop/package.json per ADR-14) -> APK + sha256 appended to the
  existing GitHub Release (never overwrites the Windows triad)
- build.gradle.kts: -Panybuff.versionName/versionCode overrides; release
  signing only when ANYBUFF_KEYSTORE_* env is complete, else debug-key fallback
- Check-update chain (plan 4.2 gaps CodebuffAI#1-CodebuffAI#3): shell injects
  __ANYBUFF_UPDATE_REPO__ + __ANYBUFF_UPDATE_APK_FILTER__; githubUpdateCheck
  only treats releases carrying .apk assets as newer and never falls back to
  unfiltered tag compare; SettingsModal splits disabled vs error and routes
  updateDownloadSupported:false results to the release-page modal

Review fixes (2026-09-21): APK filter was dead code (endsWith('-apk') never
true) -> explicit opt-in flag; Android 'available' state stuck on a no-op
background download -> route to release page; CI keystore secrets were never
wired (debug-signed APKs would ship) -> base64 secret materialization with
fail-fast on partial secrets; tag/version equality guard on v* push;
env-indirect inputs.tag interpolation; AbortSignal.timeout guard in WS shim.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
LeverageAISMBs pushed a commit to LeverageAISMBs/codebuff that referenced this pull request Sep 30, 2026
JasonMMIV added a commit to JasonMMIV/Anybuff that referenced this pull request Oct 3, 2026
…v1.4.0)

The optional token (vault id github-token, Authorization header on GitHub
requests) was judged redundant: 60/hr unauthenticated is plenty for manually
installing skills, and the token was an entire extra storage surface —
renderer input + Remove button, saveSettings githubToken/deleteGithubToken
payload fields, DPAPI/Keystore plumbing, and two of the review findings
(CodebuffAI#1 save/delete ordering, CodebuffAI#3 hint copy) existed only for it.

- drop saveGithubToken/getGithubToken/GITHUB_TOKEN_ID,
  AppSettings.githubTokenSet, and the ghFetch Authorization header —
  every GitHub request stays unauthenticated
- rate-limit message keeps the 60/hr explanation (skills plan P1
  acceptance line) without the "set a token" upsell; the 404 message no
  longer suggests tokens for private repos
- remove the Settings UI block, the native-keychain leg, the save/delete
  payload plumbing, and the 3 token tests
- annotate the skills plan P2/R4 with the removal decision
- bump desktop version 1.3.3 -> 1.4.0

Tokens stored by earlier builds stay orphaned in the vault — nothing reads
them anymore, so no migration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants