Skip to content

Commit

Permalink
Merge branch 'master' into feature/chatAgentPinning
Browse files Browse the repository at this point in the history
  • Loading branch information
atahankilc authored Dec 23, 2024
2 parents 905c243 + 4e3b183 commit 1233b52
Show file tree
Hide file tree
Showing 406 changed files with 10,839 additions and 4,472 deletions.
93 changes: 93 additions & 0 deletions .github/DISCUSSION_TEMPLATE/prompt-template-contribution.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
title: "Prompt Template for <Agent Name> <Describe Functionality>"
body:
- type: textarea
id: what_template_does
attributes:
label: What Does This Template Do?
description: Provide a brief description of the prompt template. What problem does it solve? What specific functionality and agent does it enhance and how?
placeholder: Enter a description of the template.
validations:
required: true

- type: textarea
id: prompt_template
attributes:
label: The Prompt Template
description: Paste your prompt template here as plain text.
placeholder: Enter the prompt template.
validations:
required: true

- type: textarea
id: tested_llms
attributes:
label: Tested LLMs
description: List the language models this template has been tested with, including versions, providers, and notable performance observations.
placeholder: |-
- LLM Name & Version (e.g., OpenAI GPT-4)
- Provider (e.g., OpenAI, llama-file, Ollama)
- Observations or challenges
validations:
required: true

- type: textarea
id: example_requests
attributes:
label: Example User Requests
description: Provide some example user requests tested with this template.
placeholder: |-
1. Example Request 1: [User input]
2. Example Request 2: [User input]
3. Example Request 3: [User input]
validations:
required: true

- type: textarea
id: improvement_suggestions
attributes:
label: Suggestions for Improvements (Optional)
description: Share any known limitations or ideas for improving the template.
placeholder: Describe any challenges or potential enhancements.
validations:
required: false

- type: textarea
id: related_resources
attributes:
label: Related Discussions or Resources (Optional)
description: Link to any relevant discussions, documentation, or resources that could help others understand or improve your template.
placeholder: Provide URLs or references.
validations:
required: false

- type: checkboxes
id: license_agreement
attributes:
label: License Agreement
description: By submitting this template, you agree to the following terms
options:
- label: |
By submitting this template, you agree to the following:
1. Your submission is contributed under the [MIT License](https://opensource.org/licenses/MIT).
2. You certify that your contribution complies with the **Developer Certificate of Origin (DCO) Version 1.1**, outlined below:
### Developer Certificate of Origin 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
660 York Street, Suite 102, San Francisco, CA 94110 USA
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
#### Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open-source license indicated in the file; or
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open-source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open-source license (unless I am permitted to submit under a different license), as indicated in the file; or
(c) The contribution was provided directly to me by some other person who certified (a), (b), or (c) and I have not modified it.
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my signoff) is maintained indefinitely and may be redistributed consistent with this project or the open-source license(s) involved.
I agree to contribute this submission under the MIT License and certify compliance with the Developer Certificate of Origin (DCO) Version 1.1.
required: true
8 changes: 8 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ vulnerabilities.

<!-- Please list potential follow-up work, including known issues, possible future work, identified technical debt, and potentially introduced technical debt. If the PR introduces technical debt, specify the reason why this is acceptable. Please create tickets and link them here. Please use the label "technical debt" for new issues when it applies. -->

#### Breaking changes

- [ ] This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the [changelog](https://github.com/eclipse-theia/theia/blob/master/CHANGELOG.md) has been updated.

#### Attribution

<!-- If the changelog entry for this change should contain an attribution at the end (e.g. Contributed on behalf of x) add it in this section -->

#### Review checklist

- [ ] As an author, I have thoroughly tested my changes and carefully followed [the review guidelines](https://github.com/theia-ide/theia/blob/master/doc/pull-requests.md#requesting-a-review)
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,4 @@ jobs:
if: matrix.tests != 'skip'
shell: bash
run: |
yarn license:check:review || ( sleep 15m && yarn license:check:review )
env:
DASH_LICENSES_PAT: ${{ secrets.DASH_LICENSES_PAT }}
yarn license:check
18 changes: 11 additions & 7 deletions .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Publish GitHub Pages

permissions:
id-token: write
contents: write

on:
workflow_dispatch:

jobs:
publish:
name: Publish to NPM and GitHub pages
needs: build
runs-on: ubuntu-22.04

# The current approach is silly. We should be smarter and use `actions/upload-artifact` and `actions/download-artifact` instead of rebuilding
Expand All @@ -22,13 +25,13 @@ jobs:
- name: Use Node.js 20.x
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
node-version: "20.x"
registry-url: "https://registry.npmjs.org"

- name: Use Python 3.x
- name: Use Python 3.11
uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0
with:
python-version: '3.x'
python-version: "3.11"

- name: Pre-npm-Publish
run: |
Expand All @@ -42,14 +45,14 @@ jobs:
run: |
yarn docs
env:
NODE_OPTIONS: --max_old_space_size=9216
NODE_OPTIONS: --max_old_space_size=14336

- name: Publish GH Pages
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./gh-pages
force_orphan: true # will only keep latest commit on branch gh-pages
force_orphan: true # will only keep latest commit on branch gh-pages

- name: Publish NPM
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
Expand All @@ -61,4 +64,5 @@ jobs:
command: yarn publish:next
on_retry_command: git reset --hard
env:
NPM_CONFIG_PROVENANCE: "true"
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # The variable name comes from here: https://github.com/actions/setup-node/blob/70b9252472eee7495c93bb1588261539c3c2b98d/src/authutil.ts#L48
2 changes: 1 addition & 1 deletion .github/workflows/set-milestone-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Set milestone on each pull request by using the next minor version
# next version is computed using npm version tool
on:
pull_request:
pull_request_target:
branches: [master]
types: [closed]

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ dependency-check-summary.txt*
/performance-result.json
*.vsix
/scripts/native-dependencies-*
allure-results
10 changes: 9 additions & 1 deletion .theia/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,13 @@
"editor.tabSize": 2
},
"typescript.tsdk": "node_modules/typescript/lib",
"clang-format.language.typescript.enable": false
"clang-format.language.typescript.enable": false,
"[markdown]": {
"editor.defaultFormatter": "davidanson.vscode-markdownlint"
},
"markdownlint.config": {
"MD032": false, // don't require blank line around lists
"MD033": false, // allow inline html
"MD041": false // don't require h1 in first line
},
}
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"dbaeumer.vscode-eslint"
"dbaeumer.vscode-eslint",
"DavidAnson.vscode-markdownlint"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
Expand Down
10 changes: 9 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
"editor.tabSize": 2,
"editor.defaultFormatter": "vscode.json-language-features",
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
},
"typescript.tsdk": "node_modules/typescript/lib",
"files.insertFinalNewline": true,
"clang-format.language.typescript.enable": false,
Expand All @@ -63,5 +66,10 @@
"editor.defaultFormatter": "vscode.typescript-language-features",
"typescript.preferences.quoteStyle": "single",
"editor.tabSize": 4,
}
},
"markdownlint.config": {
"MD032": false, // don't require blank line around lists
"MD033": false, // allow inline html
"MD041": false // don't require h1 in first line
},
}
Loading

0 comments on commit 1233b52

Please sign in to comment.