-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into nico/improvements_agent_screen
- Loading branch information
Showing
129 changed files
with
1,747 additions
and
2,997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,56 +25,56 @@ jobs: | |
id: package-version | ||
uses: Saionaro/[email protected] | ||
|
||
release-shinkai-visor: | ||
needs: prebuild | ||
runs-on: ubuntu-latest | ||
environment: development | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node version | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
check-latest: false | ||
cache: "npm" | ||
cache-dependency-path: package-lock.json | ||
|
||
- name: Install dependencies | ||
run: | | ||
npm cache verify | ||
npm ci --no-audit --prefer-offline | ||
- name: Run NX build on shinkai-visor | ||
run: npx nx build shinkai-visor --skip-nx-cache | ||
env: | ||
VERSION: ${{ needs.prebuild.outputs.version }}.${{github.run_number}} | ||
NAME_PREFIX: '[Dev]' | ||
DESCRIPTION_PREFIX: '[Dev]' | ||
|
||
- name: Zip extension | ||
run: cd ./dist/apps && zip -r shinkai-visor.zip shinkai-visor | ||
|
||
- name: Upload & Release | ||
uses: mnao305/[email protected] | ||
continue-on-error: true | ||
with: | ||
file-path: dist/apps/shinkai-visor.zip | ||
extension-id: ${{ secrets.CHROME_EXTENSION_ID }} | ||
client-id: ${{ secrets.CHROME_CLIENT_ID }} | ||
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }} | ||
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }} | ||
publish: false | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: shinkai-visor | ||
path: dist/apps/shinkai-visor | ||
if-no-files-found: error | ||
retention-days: 5 | ||
# release-shinkai-visor: | ||
# needs: prebuild | ||
# runs-on: ubuntu-latest | ||
# environment: development | ||
# steps: | ||
# - name: Check out repository | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
|
||
# - name: Setup Node version | ||
# uses: actions/setup-node@v4 | ||
# with: | ||
# node-version-file: '.nvmrc' | ||
# check-latest: false | ||
# cache: "npm" | ||
# cache-dependency-path: package-lock.json | ||
|
||
# - name: Install dependencies | ||
# run: | | ||
# npm cache verify | ||
# npm ci --no-audit --prefer-offline | ||
|
||
# - name: Run NX build on shinkai-visor | ||
# run: npx nx build shinkai-visor --skip-nx-cache | ||
# env: | ||
# VERSION: ${{ needs.prebuild.outputs.version }}.${{github.run_number}} | ||
# NAME_PREFIX: '[Dev]' | ||
# DESCRIPTION_PREFIX: '[Dev]' | ||
|
||
# - name: Zip extension | ||
# run: cd ./dist/apps && zip -r shinkai-visor.zip shinkai-visor | ||
|
||
# - name: Upload & Release | ||
# uses: mnao305/[email protected] | ||
# continue-on-error: true | ||
# with: | ||
# file-path: dist/apps/shinkai-visor.zip | ||
# extension-id: ${{ secrets.CHROME_EXTENSION_ID }} | ||
# client-id: ${{ secrets.CHROME_CLIENT_ID }} | ||
# client-secret: ${{ secrets.CHROME_CLIENT_SECRET }} | ||
# refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }} | ||
# publish: false | ||
|
||
# - uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: shinkai-visor | ||
# path: dist/apps/shinkai-visor | ||
# if-no-files-found: error | ||
# retention-days: 5 | ||
|
||
release-shinkai-desktop: | ||
needs: prebuild | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,49 +31,49 @@ jobs: | |
script: | | ||
core.setFailed('Version mismatch') | ||
release-shinkai-visor: | ||
needs: prebuild | ||
runs-on: ubuntu-latest | ||
environment: production | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node version | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
check-latest: false | ||
cache: "npm" | ||
cache-dependency-path: package-lock.json | ||
|
||
- name: Install dependencies | ||
run: | | ||
npm cache verify | ||
npm ci --no-audit --prefer-offline | ||
- name: Run NX build on shinkai-visor | ||
run: npx nx build shinkai-visor --skip-nx-cache | ||
env: | ||
VERSION: ${{ needs.prebuild.outputs.version }}.${{github.run_number}} | ||
NAME_PREFIX: '' | ||
DESCRIPTION_PREFIX: '' | ||
PUBLIC_KEY: ${{ secrets.CHROME_EXTENSION_PUBLIC_KEY }} | ||
|
||
- name: Zip extension | ||
run: cd ./dist/apps && zip -r shinkai-visor.zip shinkai-visor | ||
|
||
- name: Upload & Release | ||
uses: mnao305/[email protected] | ||
with: | ||
file-path: dist/apps/shinkai-visor.zip | ||
extension-id: ${{ secrets.CHROME_EXTENSION_ID }} | ||
client-id: ${{ secrets.CHROME_CLIENT_ID }} | ||
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }} | ||
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }} | ||
publish: false | ||
# release-shinkai-visor: | ||
# needs: prebuild | ||
# runs-on: ubuntu-latest | ||
# environment: production | ||
# steps: | ||
# - name: Check out repository | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
|
||
# - name: Setup Node version | ||
# uses: actions/setup-node@v4 | ||
# with: | ||
# node-version-file: '.nvmrc' | ||
# check-latest: false | ||
# cache: "npm" | ||
# cache-dependency-path: package-lock.json | ||
|
||
# - name: Install dependencies | ||
# run: | | ||
# npm cache verify | ||
# npm ci --no-audit --prefer-offline | ||
|
||
# - name: Run NX build on shinkai-visor | ||
# run: npx nx build shinkai-visor --skip-nx-cache | ||
# env: | ||
# VERSION: ${{ needs.prebuild.outputs.version }}.${{github.run_number}} | ||
# NAME_PREFIX: '' | ||
# DESCRIPTION_PREFIX: '' | ||
# PUBLIC_KEY: ${{ secrets.CHROME_EXTENSION_PUBLIC_KEY }} | ||
|
||
# - name: Zip extension | ||
# run: cd ./dist/apps && zip -r shinkai-visor.zip shinkai-visor | ||
|
||
# - name: Upload & Release | ||
# uses: mnao305/[email protected] | ||
# with: | ||
# file-path: dist/apps/shinkai-visor.zip | ||
# extension-id: ${{ secrets.CHROME_EXTENSION_ID }} | ||
# client-id: ${{ secrets.CHROME_CLIENT_ID }} | ||
# client-secret: ${{ secrets.CHROME_CLIENT_SECRET }} | ||
# refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }} | ||
# publish: false | ||
|
||
release-shinkai-desktop: | ||
needs: prebuild | ||
|
@@ -380,45 +380,45 @@ jobs: | |
} | ||
] | ||
} | ||
- name: Post Shinkai Visor to a Slack channel | ||
uses: slackapi/[email protected] | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
with: | ||
channel-id: 'C072VJ6E7GC' | ||
payload: | | ||
{ | ||
"blocks": [ | ||
{ | ||
"type": "header", | ||
"text": { | ||
"type": "plain_text", | ||
"text": "📦 New build: Shinkai Visor v${{ needs.prebuild.outputs.version }}.${{ github.run_number }}", | ||
"emoji": true | ||
} | ||
}, | ||
{ | ||
"type": "divider" | ||
}, | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": "Found it at <https://chromewebstore.google.com/detail/shinkai-visor-supercharge/${{ secrets.CHROME_EXTENSION_ID }}|Chrome Web Store>" | ||
} | ||
}, | ||
{ | ||
"type": "divider" | ||
}, | ||
{ | ||
"type": "context", | ||
"elements": [ | ||
{ | ||
"type": "mrkdwn", | ||
"text": "_💡 Send it for review and publish on <https://chrome.google.com/u/4/webstore/devconsole/f35b7411-6fce-4a2b-8865-c310ce95c89f/${{ secrets.CHROME_EXTENSION_ID }}/edit|Chrome Web Store Developer> to start the rollout_" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
# - name: Post Shinkai Visor to a Slack channel | ||
# uses: slackapi/[email protected] | ||
# env: | ||
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
# with: | ||
# channel-id: 'C072VJ6E7GC' | ||
# payload: | | ||
# { | ||
# "blocks": [ | ||
# { | ||
# "type": "header", | ||
# "text": { | ||
# "type": "plain_text", | ||
# "text": "📦 New build: Shinkai Visor v${{ needs.prebuild.outputs.version }}.${{ github.run_number }}", | ||
# "emoji": true | ||
# } | ||
# }, | ||
# { | ||
# "type": "divider" | ||
# }, | ||
# { | ||
# "type": "section", | ||
# "text": { | ||
# "type": "mrkdwn", | ||
# "text": "Found it at <https://chromewebstore.google.com/detail/shinkai-visor-supercharge/${{ secrets.CHROME_EXTENSION_ID }}|Chrome Web Store>" | ||
# } | ||
# }, | ||
# { | ||
# "type": "divider" | ||
# }, | ||
# { | ||
# "type": "context", | ||
# "elements": [ | ||
# { | ||
# "type": "mrkdwn", | ||
# "text": "_💡 Send it for review and publish on <https://chrome.google.com/u/4/webstore/devconsole/f35b7411-6fce-4a2b-8865-c310ce95c89f/${{ secrets.CHROME_EXTENSION_ID }}/edit|Chrome Web Store Developer> to start the rollout_" | ||
# } | ||
# ] | ||
# } | ||
|
||
# ] | ||
# } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.