Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 6 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
123 changes: 123 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
"typescript": "~5.7.2",
"typescript-eslint": "^8.15.0",
"vite": "^6.0.1",
"vite-plugin-markdown": "^2.2.0",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.0.5",
"vitest-fail-on-console": "^0.7.1"
Expand Down
2 changes: 1 addition & 1 deletion src/components/heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function PageHeading({
return (
<UIKitHeading
level={level}
className="mb-4 flex items-center justify-between text-2xl font-bold"
className="mb-4 flex items-center justify-between text-2xl font-bold text-primary"
>
{title}
{children}
Expand Down
668 changes: 133 additions & 535 deletions src/features/workspace/constants/built-in-system-prompts.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/markdown/certificates/linux-install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1. Install the `certutil` tool: `sudo apt install libnss3-tools` (Ubuntu/Debian) or `sudo dnf install nss-tools` (RHEL/Fedora).
2. Run `certutil -d sql:$HOME/.pki/nssdb -A -t "C,," -n CodeGate-CA -i ~ Downloads/codegate.crt` to install the certificate for your account.
3. Restart VS Code.
2 changes: 2 additions & 0 deletions src/markdown/certificates/linux-remove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1. Run `certutil -d sql:$HOME/.pki/nssdb -D -n CodeGate-CA`
2. Restart VS Code.
13 changes: 13 additions & 0 deletions src/markdown/certificates/macos-install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- **CLI method**: Open a terminal and run

```shell
security add-trusted-cert -d -r trustRoot -p ssl -p basic -k ~/Library/Keychains/login.keychain ~/Downloads/codegate.crt
```

- **GUI method**:
1. Open the downloaded certificate file; Keychain Access will open.
2. Depending on your macOS version, you may see the Add Certificates dialog. If so, select the `login` keychain, and click Add.
3. In Keychain Access, select the `login` keychain from the Default Keychains list on the left.
4. Search for "CodeGate" (it may not appear until you search), then in the search results, double-click the "CodeGate CA" certificate.
5. Expand the Trust section and set the "Secure Sockets Layer" and "X.509
Basic Policy" options to "Always Trust".
6 changes: 6 additions & 0 deletions src/markdown/certificates/macos-remove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- **CLI method**: Open a terminal and run `security delete-certificate -c "CodeGate CA" -t ~/Library/Keychains/login.keychain`
- **GUI method**:
1. Launch the Keychain Access app (Note: on newer macOS versions, Keychain Access is hidden from Launcher, but can be run from Spotlight Search).
2. Select the login keychain and search for "CodeGate".
3. Right-click the "CodeGate CA" certificate and Delete the certificate.
4. Confirm the deletion when prompted.
6 changes: 6 additions & 0 deletions src/markdown/certificates/windows-install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
1. Double-click the downloaded certificate file.,
2. Click "Install Certificate".,
3. Select "Current User" and click Next.,
4. Choose "Place all certificates in the following store".,
5. Click Browse and select "Trusted Root Certification Authorities".,
6. Click Next and Finish.,
5 changes: 5 additions & 0 deletions src/markdown/certificates/windows-remove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1. Open "Run" (Win + R) and enter `certmgr.msc`.
2. Navigate to "Trusted Root Certification Authorities" → "Certificates".
3. Find the "CodeGate CA" certificate.
4. Right-click and Delete the certificate.
5. Confirm the deletion when prompted.
7 changes: 7 additions & 0 deletions src/md.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
declare module '*.md' {
// When "Mode.MARKDOWN" is requested
const markdown: string

// Modify below per your usage
export { markdown }
}
Loading
Loading