Skip to content

Commit 9a140a2

Browse files
committed
Merge branch 'dev' into preview
2 parents 26fd5ea + 2976356 commit 9a140a2

140 files changed

Lines changed: 9657 additions & 385 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Default reviewers
2+
* @lidge-jun @Ingwannu
3+
4+
# Repository automation and release security
5+
/.github/ @lidge-jun @Ingwannu
6+
/scripts/release.ts @lidge-jun @Ingwannu
7+
/package.json @lidge-jun @Ingwannu
8+
/bun.lock @lidge-jun @Ingwannu
9+
10+
# Authentication, credentials, and management API
11+
/src/oauth/ @lidge-jun @Ingwannu
12+
/src/codex/auth-context.ts @lidge-jun @Ingwannu
13+
/src/server/auth-cors.ts @lidge-jun @Ingwannu
14+
/src/server/management-api.ts @lidge-jun @Ingwannu
15+
16+
# Governance and security policy
17+
/MAINTAINERS.md @lidge-jun @Ingwannu
18+
/SECURITY.md @lidge-jun @Ingwannu
Lines changed: 72 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,111 @@
11
name: Bug report
2-
description: Report a reproducible defect in the proxy, CLI, dashboard, docs, or packaging.
3-
title: "[Bug]: "
2+
description: Report a defect in the proxy, CLI, dashboard, provider adapter, or packaging.
43
labels:
54
- bug
65
body:
76
- type: markdown
87
attributes:
98
value: |
10-
Thanks for the report. Please include a minimal reproduction and the exact environment details.
9+
Thanks for the report. Include a minimal reproduction and exact environment details so we can confirm and fix the problem quickly.
10+
11+
- type: dropdown
12+
id: client
13+
attributes:
14+
label: Client or integration
15+
description: Which client or surface did you observe the problem in?
16+
options:
17+
- Codex CLI
18+
- Codex App
19+
- Codex SDK
20+
- Claude Code
21+
- Direct HTTP/API client
22+
- OpenCodex dashboard
23+
- Other
24+
validations:
25+
required: true
26+
27+
- type: dropdown
28+
id: area
29+
attributes:
30+
label: Area
31+
description: Which part of OpenCodex is affected?
32+
options:
33+
- CLI
34+
- Proxy and routing
35+
- Dashboard
36+
- Provider adapter
37+
- Authentication and account pool
38+
- Installation or packaging
39+
- Service lifecycle
40+
- Documentation
41+
- Other
42+
validations:
43+
required: true
1144

1245
- type: textarea
1346
id: summary
1447
attributes:
1548
label: Summary
1649
description: What happened, and what did you expect instead?
17-
placeholder: A clear and concise description of the bug.
50+
placeholder: The proxy returns 502 when ...; I expected ...
1851
validations:
1952
required: true
2053

2154
- type: textarea
2255
id: reproduction
2356
attributes:
2457
label: Reproduction
25-
description: List the exact steps, commands, and config shape needed to reproduce the problem.
58+
description: |
59+
Exact commands, steps, configuration shape, and inputs. If the problem is intermittent or not yet consistently reproducible, explain what you have observed and under which conditions.
2660
placeholder: |
27-
1. Run `ocx init`
28-
2. Start the proxy with ...
29-
3. Open ...
30-
4. Observe ...
61+
1. ocx start --port 10100
62+
2. Send a request to /v1/responses with ...
63+
3. Observe ...
3164
validations:
3265
required: true
3366

34-
- type: textarea
35-
id: logs
67+
- type: input
68+
id: version
3669
attributes:
37-
label: Logs and screenshots
38-
description: Paste relevant logs, stack traces, request IDs, or screenshots.
39-
render: shell
70+
label: Version
71+
description: Installed `@bitkyc08/opencodex` version or commit SHA.
72+
placeholder: "2.7.31"
73+
validations:
74+
required: true
4075

41-
- type: dropdown
42-
id: area
76+
- type: input
77+
id: os
4378
attributes:
44-
label: Area
45-
options:
46-
- CLI
47-
- Proxy runtime
48-
- GUI dashboard
49-
- Docs
50-
- Packaging or install
51-
- Provider adapter
52-
- Other
79+
label: Operating system
80+
description: OS name and version.
81+
placeholder: Windows 11 24H2, macOS 15.5, Ubuntu 24.04
5382
validations:
5483
required: true
5584

5685
- type: input
57-
id: version
86+
id: provider-model
5887
attributes:
59-
label: Version
60-
description: The installed `@bitkyc08/opencodex` version or commit SHA.
61-
placeholder: 2.7.7
88+
label: Provider and model
89+
description: Required only when the problem is provider-specific.
90+
placeholder: "anthropic / claude-sonnet-4-20250514"
6291

63-
- type: input
64-
id: os
92+
- type: textarea
93+
id: logs
94+
attributes:
95+
label: Logs or error output
96+
description: Paste relevant logs, stack traces, or request IDs.
97+
render: shell
98+
99+
- type: textarea
100+
id: attachments
65101
attributes:
66-
label: OS
67-
description: Operating system and version.
68-
placeholder: Windows 11, macOS 15, Ubuntu 24.04
102+
label: Screenshots and supporting files
103+
description: Drag screenshots, videos, logs, or minimal reproduction archives here.
69104

70105
- type: textarea
71106
id: config
72107
attributes:
73-
label: Config shape
108+
label: Redacted configuration
74109
description: Share a redacted config snippet if the bug depends on provider or routing setup.
75110
render: json
76111

@@ -79,7 +114,7 @@ body:
79114
attributes:
80115
label: Checks
81116
options:
82-
- label: I searched existing issues and docs first.
117+
- label: I searched existing issues and documentation.
83118
required: true
84-
- label: I removed secrets, tokens, and personal data from logs and screenshots.
119+
- label: I removed secrets, tokens, account details, request credentials, and personal data.
85120
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
blank_issues_enabled: true
1+
blank_issues_enabled: false
22
contact_links:
33
- name: Security policy
44
url: https://github.com/lidge-jun/opencodex/blob/main/SECURITY.md
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Documentation
2+
description: Report missing, incorrect, outdated, or confusing documentation, broken examples, or broken links.
3+
labels:
4+
- documentation
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Help us keep the documentation accurate and useful. Point to the exact location and describe what needs to change.
10+
11+
- type: dropdown
12+
id: problem-type
13+
attributes:
14+
label: Documentation problem type
15+
options:
16+
- Missing documentation
17+
- Incorrect documentation
18+
- Outdated documentation
19+
- Confusing documentation
20+
- Broken example or command
21+
- Broken link
22+
- Other
23+
validations:
24+
required: true
25+
26+
- type: input
27+
id: location
28+
attributes:
29+
label: Documentation location
30+
description: Public documentation URL or repository path.
31+
placeholder: "https://lidge-jun.github.io/opencodex/providers/ or docs/providers.md"
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
id: problem
37+
attributes:
38+
label: What is wrong or missing?
39+
description: Describe the gap, error, or confusion.
40+
validations:
41+
required: true
42+
43+
- type: textarea
44+
id: expected
45+
attributes:
46+
label: What should the documentation explain instead?
47+
description: Describe the correct or complete information.
48+
validations:
49+
required: true
50+
51+
- type: textarea
52+
id: suggestion
53+
attributes:
54+
label: Suggested wording or example
55+
description: Optional draft text, corrected command, or example.
56+
57+
- type: textarea
58+
id: context
59+
attributes:
60+
label: Additional context or attachments
61+
description: Related issues, screenshots, or references.
62+
63+
- type: checkboxes
64+
id: checks
65+
attributes:
66+
label: Checks
67+
options:
68+
- label: I searched existing documentation issues.
69+
required: true
70+
- label: No secrets or personal information are included.
71+
required: true
Lines changed: 71 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,92 @@
1-
name: Feature request
2-
description: Propose a new capability or workflow improvement.
3-
title: "[Feature]: "
1+
name: Feature proposal
2+
description: Propose a new capability or workflow improvement for OpenCodex.
43
labels:
54
- enhancement
65
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Describe the workflow you need and what OpenCodex should do. Concrete examples help us evaluate and implement your proposal faster.
10+
11+
- type: dropdown
12+
id: area
13+
attributes:
14+
label: Area
15+
description: Which part of OpenCodex does this proposal affect?
16+
options:
17+
- CLI
18+
- Proxy and routing
19+
- Dashboard
20+
- Provider adapters
21+
- Authentication and account pool
22+
- Installation or packaging
23+
- Service lifecycle
24+
- Documentation
25+
- Multiple areas
26+
- Other
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: goal
32+
attributes:
33+
label: What are you trying to accomplish?
34+
description: Describe the user workflow or outcome you need.
35+
placeholder: I need to route requests from ... so that ...
36+
validations:
37+
required: true
38+
739
- type: textarea
8-
id: problem
40+
id: blocker
941
attributes:
10-
label: Problem to solve
11-
description: What workflow or limitation are you trying to improve?
12-
placeholder: I want opencodex to ...
42+
label: What prevents this today?
43+
description: What is the current limitation, missing capability, or inefficient workaround?
44+
placeholder: Currently the proxy does not support ...
1345
validations:
1446
required: true
1547

1648
- type: textarea
17-
id: proposal
49+
id: behaviour
1850
attributes:
19-
label: Proposed solution
20-
description: Describe the behavior you want, including any CLI, GUI, or config surface.
51+
label: What should OpenCodex do?
52+
description: Describe the observable behaviour you expect, not internal implementation details.
53+
placeholder: When I send ... the proxy should ...
54+
validations:
55+
required: true
56+
57+
- type: textarea
58+
id: example
59+
attributes:
60+
label: Example usage or interface
61+
description: |
62+
Provide at least one concrete example: a CLI command, configuration fragment, API exchange, UI workflow, or before/after comparison.
63+
placeholder: |
64+
```bash
65+
ocx config set routing.fallback_provider anthropic
66+
```
2167
validations:
2268
required: true
2369

2470
- type: textarea
2571
id: alternatives
2672
attributes:
27-
label: Alternatives considered
28-
description: What workarounds or competing approaches did you try?
73+
label: Alternatives or workarounds
74+
description: What workarounds or competing approaches have you tried or considered?
2975

3076
- type: textarea
3177
id: context
3278
attributes:
3379
label: Additional context
34-
description: Link docs, screenshots, example configs, or upstream APIs if helpful.
80+
description: Related issues, upstream specifications, screenshots, or design references.
81+
82+
- type: checkboxes
83+
id: checks
84+
attributes:
85+
label: Checks
86+
options:
87+
- label: I searched existing issues and documentation.
88+
required: true
89+
- label: This request describes a concrete OpenCodex workflow rather than merely naming a desired technology.
90+
required: true
91+
- label: I removed secrets and personal data.
92+
required: true

0 commit comments

Comments
 (0)