Skip to content

Commit d80fa5e

Browse files
Sync public snapshot from freebuff-private
Source: CodebuffAI/freebuff-private@a5771d769f7ec7dac6c97fdc4bf9c5aa6201895a
1 parent 578c63b commit d80fa5e

8 files changed

Lines changed: 534 additions & 4 deletions

File tree

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: Bug report
2+
description: Something in the CLI, SDK, desktop app, or agents behaves incorrectly
3+
labels: ['type:bug']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: >-
8+
If your problem is "model unavailable", "out of provider usage", or
9+
"daily limit reached", that is an outage or a quota question - please
10+
use [Discord](https://discord.gg/yXG3w7wxfs) instead. Issues like that
11+
are closed with a pointer, not fixed.
12+
13+
- type: textarea
14+
id: what-happened
15+
attributes:
16+
label: What happened
17+
description: What you did, what you expected, and what you got instead.
18+
placeholder: |
19+
1. Ran `codebuff` in a repo with ...
20+
2. Asked it to ...
21+
3. Expected ... but it ...
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
id: repro
27+
attributes:
28+
label: Steps to reproduce
29+
description: >-
30+
The single most useful thing you can provide. Reports without one get
31+
labeled `needs-info` and are closed if they stay quiet.
32+
validations:
33+
required: true
34+
35+
- type: dropdown
36+
id: area
37+
attributes:
38+
label: Where does this happen?
39+
options:
40+
- CLI (terminal client)
41+
- SDK (@codebuff/sdk)
42+
- Desktop app
43+
- Agents / prompts / agent behavior
44+
- MCP servers or tools
45+
- Docs
46+
- Not sure
47+
validations:
48+
required: true
49+
50+
- type: dropdown
51+
id: os
52+
attributes:
53+
label: Operating system
54+
options:
55+
- macOS
56+
- Linux
57+
- Windows
58+
- Windows (WSL)
59+
validations:
60+
required: true
61+
62+
- type: input
63+
id: version
64+
attributes:
65+
label: Version
66+
description: Output of `codebuff --version`, or the desktop app version.
67+
placeholder: e.g. 0.1.4
68+
validations:
69+
required: true
70+
71+
- type: input
72+
id: model
73+
attributes:
74+
label: Model
75+
description: Which model was selected, if relevant.
76+
placeholder: e.g. deepseek-v4-flash
77+
78+
- type: textarea
79+
id: logs
80+
attributes:
81+
label: Logs or screenshots
82+
description: Paste any error output. Redact tokens and keys first.
83+
render: shell

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Blank issues are off on purpose. Roughly half of what this tracker receives
2+
# is provider/quota support rather than defects, and untyped free-text reports
3+
# are what made 247 issues unlabelable. The forms below give both the reporter
4+
# and the triage bot a category to start from.
5+
blank_issues_enabled: false
6+
7+
contact_links:
8+
- name: Model unavailable, out of usage, or session limits
9+
url: https://discord.gg/yXG3w7wxfs
10+
about: >-
11+
Provider outages and daily/session limits are operational, not code bugs.
12+
Discord is faster and we post live status there. Please only open an issue
13+
here if you believe the limit itself is being counted wrong.
14+
15+
- name: Questions and general help
16+
url: https://discord.gg/yXG3w7wxfs
17+
about: Usage questions get answered much faster in Discord than in the tracker.
18+
19+
- name: Documentation
20+
url: https://codebuff.com/docs
21+
about: Check the docs before filing - especially for setup and configuration.
22+
23+
- name: Security vulnerability
24+
url: https://github.com/CodebuffAI/freebuff/security/policy
25+
about: Please report privately. Do not open a public issue.

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Feature request
2+
description: Propose new behavior or an improvement
3+
labels: ['type:feature']
4+
body:
5+
- type: textarea
6+
id: problem
7+
attributes:
8+
label: What problem are you trying to solve?
9+
description: >-
10+
Describe the situation you are in, not the solution you have in mind.
11+
This is the part that decides whether the request gets picked up.
12+
validations:
13+
required: true
14+
15+
- type: textarea
16+
id: proposal
17+
attributes:
18+
label: What would you like to happen?
19+
validations:
20+
required: true
21+
22+
- type: dropdown
23+
id: area
24+
attributes:
25+
label: Area
26+
options:
27+
- CLI (terminal client)
28+
- SDK (@codebuff/sdk)
29+
- Desktop app
30+
- Agents / prompts
31+
- MCP
32+
- Docs
33+
- Other
34+
validations:
35+
required: true
36+
37+
- type: checkboxes
38+
id: contribute
39+
attributes:
40+
label: Contribution
41+
options:
42+
- label: I would be willing to open a PR for this

.github/ISSUE_TEMPLATE/support.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Account, quota, or billing problem
2+
description: Session limits counted wrong, sign-in trouble, referral or account state
3+
labels: ['type:support']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: >-
8+
**Before filing:** if a model is simply unavailable or out of capacity
9+
right now, that is an outage - check
10+
[Discord](https://discord.gg/yXG3w7wxfs) rather than opening an issue.
11+
Use this form when you think your account or quota is being calculated
12+
incorrectly.
13+
14+
- type: dropdown
15+
id: kind
16+
attributes:
17+
label: What kind of problem?
18+
options:
19+
- Session or daily limit counted incorrectly
20+
- Cannot sign in
21+
- Referral or credits not applied
22+
- Billing or subscription
23+
- Other account problem
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
id: detail
29+
attributes:
30+
label: What you are seeing
31+
description: >-
32+
Include the exact error text and what you expected. A screenshot of the
33+
limit message helps.
34+
validations:
35+
required: true
36+
37+
- type: input
38+
id: model
39+
attributes:
40+
label: Model involved
41+
placeholder: e.g. deepseek-v4-pro
42+
43+
- type: markdown
44+
attributes:
45+
value: >-
46+
Do not post your account email, API keys, or session tokens in a public
47+
issue. A maintainer will ask privately if account details are needed.

.github/workflows/ci.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Public CI
2+
3+
# Build and smoke-test the exported public tree on every PR.
4+
#
5+
# This workflow was written alongside the export scripts but never reached the
6+
# public repo: it sat in scripts/public-export/github-workflows/, which neither
7+
# the manifest nor sync-public-repo.sh reads. The repo therefore had no CI at
8+
# all while CONTRIBUTING.md claimed "Public CI validates the exported public
9+
# packages". Moving it under public-export/root/ is what actually ships it.
10+
11+
on:
12+
push:
13+
branches: [main]
14+
pull_request:
15+
branches: [main]
16+
17+
concurrency:
18+
group: public-ci-${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
build-and-test:
23+
runs-on: ubuntu-latest
24+
timeout-minutes: 30
25+
steps:
26+
- uses: actions/checkout@v6
27+
28+
- uses: oven-sh/setup-bun@v2
29+
with:
30+
bun-version-file: .bun-version
31+
32+
- name: Install dependencies
33+
run: bun install --frozen-lockfile
34+
35+
- name: Build SDK
36+
run: bun run build:sdk
37+
38+
- name: Build Freebuff binary
39+
run: bun freebuff/cli/build.ts 0.0.0-ci
40+
41+
- name: Smoke test Freebuff binary
42+
env:
43+
NEXT_PUBLIC_CB_ENVIRONMENT: prod
44+
NEXT_PUBLIC_CODEBUFF_APP_URL: https://codebuff.com
45+
NEXT_PUBLIC_SUPPORT_EMAIL: support@codebuff.com
46+
NEXT_PUBLIC_POSTHOG_API_KEY: phc_public_placeholder
47+
NEXT_PUBLIC_POSTHOG_HOST_URL: https://us.i.posthog.com
48+
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: pk_test_placeholder
49+
NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL: https://billing.stripe.com/p/login/test
50+
NEXT_PUBLIC_WEB_PORT: '3000'
51+
run: |
52+
chmod +x cli/bin/freebuff
53+
cli/bin/freebuff --version
54+
bun cli/scripts/smoke-binary.ts cli/bin/freebuff

0 commit comments

Comments
 (0)