Skip to content

Commit

Permalink
Added matching
Browse files Browse the repository at this point in the history
  • Loading branch information
nang-dev committed Oct 5, 2024
1 parent 24fbe10 commit fdfe31c
Show file tree
Hide file tree
Showing 196 changed files with 3,180 additions and 5,319 deletions.
2 changes: 1 addition & 1 deletion .changes/extensions/vscode/v0.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Added

- Codebase Retrieval: Use /codebase or cmd+enter and Continue will automatically gather the most important context
- Codebase Retrieval: Use /codebase or cmd+enter and PearAI will automatically gather the most important context

### Changed

Expand Down
2 changes: 1 addition & 1 deletion .changes/extensions/vscode/v0.6.16.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
### Changed

- Context items are now kept around as a part of past messages, instead of staying at the main input
- No more Python server - Continue runs entirely in Typescript
- No more Python server - PearAI runs entirely in Typescript
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @nang-dev @Fryingpannn @trypear/maintainers @trypear/moderators
19 changes: 3 additions & 16 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,20 @@ body:
attributes:
label: Before submitting your bug report
options:
- label: I believe this is a bug. I'll try to join the [Continue Discord](https://discord.gg/NWtdYexhMs) for questions
- label: I believe this is a bug. I'll try to join the [PearAI Discord](https://discord.gg/7QMraJUsQt) for questions
required: false
- label: I'm not able to find an [open issue](https://github.com/continuedev/continue/issues?q=is%3Aopen+is%3Aissue) that reports the same bug
required: false
- label: I've seen the [troubleshooting guide](https://docs.continue.dev/troubleshooting) on the Continue Docs
- label: I'm not able to find an [open issue](https://github.com/trypear/pearai-app/issues?q=is%3Aopen+is%3Aissue) that reports the same bug
required: false
- type: textarea
attributes:
label: Relevant environment info
description: |
Feel free to omit any info that is not relevant to your issue.
- **OS**: e.g. macOS 14.2.1
- **Continue**: e.g. v0.9.4
- **IDE**: e.g. VSCode 1.85.1
- Include also your LLM Model if it is relevant to your issue
- **Model**: e.g. Ollama v0.1.19
- The contents of your config.json file (e.g. `~/.continue/config.json` on macOS)
value: |
- OS:
- Continue:
- IDE:
- Model:
- config.json:
```json
```
render: Markdown
validations:
required: false
Expand Down Expand Up @@ -66,5 +53,5 @@ body:
attributes:
label: Log output
description: |
Please refer to the [troubleshooting guide](https://docs.continue.dev/troubleshooting) in the Continue Docs for instructions on obtaining the logs. Copy either the relevant lines or the last 100 lines or so.
Copy either the relevant lines or the last 100 lines or so.
render: Shell
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/improvement_suggestion.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
---
name: 💪 Improvement suggestion
description: Share how you think Continue could be better
description: Share how you think PearAI could be better
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to share your perspective! We are keen to hear how you think Continue could work better for you.
Thanks for taking the time to share your perspective! We are keen to hear how you think PearAI could work better for you.
- type: checkboxes
id: checkboxes
attributes:
label: Validations
description: Before submitting your suggested improvement
options:
- label: I believe this is a way to improve. I'll try to join the [Continue Discord](https://discord.gg/NWtdYexhMs) for questions
- label: I believe this is a way to improve. I'll try to join the [PearAI Discord](https://discord.gg/7QMraJUsQt) for questions
required: false
- label: I'm not able to find an [open issue](https://github.com/continuedev/continue/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement) that requests the same enhancement
- label: I'm not able to find an [open issue](https://github.com/trypear/pearai-app/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement) that requests the same enhancement
required: false
- type: textarea
attributes:
Expand Down
12 changes: 6 additions & 6 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Description
## Description ✏️

[ What changed? Feel free to be brief. ]
Closes #xxx

## Checklist
What changed? Feel free to be brief.

- [ ] The base branch of this PR is `dev`, rather than `main`
- [ ] The relevant docs, if any, have been updated or created
- Bullet points are helpful.
- Screenshots are helpful (if applicable).

## Screenshots
## Checklist ✅

- [ ] I have added screenshots (if UI changes are present).
- [ ] I have done a self-review of my code.
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/assign-author.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# .github/workflows/auto-author-assign.yml
name: Auto Author Assign

on:
pull_request_target:
types: [ opened, reopened ]

permissions:
pull-requests: write

jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/[email protected]
94 changes: 94 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "main", "preview" ]
pull_request:
branches: [ "main", "preview" ]
schedule:
- cron: '26 2 * * 1'

jobs:
analyze:
name: Analyze
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
# required for all workflows
security-events: write

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
language: [ 'javascript-typescript' ]
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3

# - if: matrix.language == 'javascript-typescript'
# name: Autobuild
# uses: github/codeql-action/autobuild@v3

# - if: matrix.language == 'java-kotlin'
# name: Build Java
# run: |
# make bootstrap
# make release

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ cached_embeddings.pkl
.ruff_cache
codeql

**/.continue
**/.pearai
.DS_Store
.continue
.test
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
extensions/vscode/continue_rc_schema.json
**/.continueignore
**/.pearaiignore
CHANGELOG.md
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"cwd": "${workspaceFolder}/binary",
"env": {
"CONTINUE_DEVELOPMENT": "true",
"CONTINUE_GLOBAL_DIR": "${workspaceFolder}/binary/.continue"
"CONTINUE_GLOBAL_DIR": "${workspaceFolder}/binary/.pearai"
}
},
{
Expand Down Expand Up @@ -66,7 +66,7 @@
"pauseForSourceMap": false,
"outFiles": [
"${workspaceFolder}/extensions/vscode/out/extension.js",
"/Users/natesesti/.continue/config.ts"
"/Users/natesesti/.pearai/config.ts"
],
"preLaunchTask": "vscode-extension:build",
"env": {
Expand Down
6 changes: 3 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@
//
// Install or update all dependencies for all projects in the monrepo
{
"label": "install-all-dependencies",
"label": "install-and-build",
"type": "shell",
"windows": { "command": "./scripts/install-dependencies.ps1" },
"command": "./scripts/install-dependencies.sh",
"windows": { "command": "./scripts/install-and-build.ps1" },
"command": "./scripts/install-and-build.sh",
"problemMatcher": [] // Empty so users are not prompted to select progress reporting
},
//
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
reported by contacting the project team at [email protected]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
Loading

0 comments on commit fdfe31c

Please sign in to comment.