Skip to content

Commit 26ab934

Browse files
Merge origin/main into devin/1764839595-ws-refactoring
Resolve conflicts caused by crates/ws -> crates/ws-client rename: - crates/ws-client/src/client.rs: keep config exports and SendTask implementation - crates/owhisper-client/src/live.rs: merge SendTask return with audio transformation - crates/ws-client/tests/client_tests.rs: update imports and from_audio calls Co-Authored-By: yujonglee <yujonglee.dev@gmail.com>
2 parents cb55742 + 37495a2 commit 26ab934

File tree

1,796 files changed

+86577
-54947
lines changed

Some content is hidden

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

1,796 files changed

+86577
-54947
lines changed

.cursor/cli.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
22
"permissions": {
3-
"allow": [
4-
"Shell(git)"
5-
],
6-
"deny": [
7-
"Shell(git commit)"
8-
]
3+
"allow": ["Shell(git)"],
4+
"deny": ["Shell(git commit)"]
95
}
106
}

.cursor/commands/add-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ npx @tauri-apps/cli plugin new NAME \
88
- `plugins/analytics` is well maintained plugin, so follow its style & convention. This including removing `rollup.config.js` & `README.md`, and updating `tsconfig.json` & `package.json`.
99
- If not specified, keep the single `ping` fn in `ext.rs`, and also in `commands.rs`.
1010
- After all code written, binding should be generated. `pnpm -F @hypr/plugin-<NAME> codegen`.
11-
- `Cargo.toml`, `apps/desktop/src-tauri/Cargo.toml`, `apps/desktop/package.json`, and `apps/desktop/src-tauri/capabilities/default.json` should be updated as final step.
11+
- `Cargo.toml`, `apps/desktop/src-tauri/Cargo.toml`, `apps/desktop/package.json`, and `apps/desktop/src-tauri/capabilities/default.json` should be updated as final step. Run `pnpm i` after updating `apps/desktop/package.json`.

.cursor/commands/manage-cli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Based on `plugins/cli`, you might need to update:
2+
23
- `apps/web/content/docs/cli.mdx`
34
- `apps/desktop/src-tauri/tauri.conf.json`
45

.drizzle/store.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
}
2020
]
2121
]
22-
}
22+
}
Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
# https://docs.argmaxinc.com/guides/upgrading-to-pro-sdk
1+
# https://app.argmaxinc.com/docs/guides/upgrading-to-pro-sdk
22
# Sets up Argmax Pro SDK registry access for Swift Package Manager
33

44
name: "Setup Argmax SDK"
55
description: "Configure Swift Package Manager registry for Argmax Pro SDK access"
6-
inputs:
7-
api-token:
8-
description: "Argmax SECRET_API_TOKEN for SDK access"
9-
required: true
106
runs:
117
using: "composite"
128
steps:
13-
- name: Setup Argmax Registry
14-
shell: bash
15-
run: |
16-
swift package-registry set --global --scope argmaxinc https://api.argmaxinc.com/v1/sdk
9+
- shell: bash
10+
run: swift package-registry set --global --scope argmaxinc https://api.argmaxinc.com/v1/sdk
1711

18-
- name: Authenticate with Argmax
19-
shell: bash
20-
run: |
21-
swift package-registry login https://api.argmaxinc.com/v1/sdk/login --token "${{ inputs.api-token }}"
12+
- shell: bash
13+
run: swift package-registry login https://api.argmaxinc.com/v1/sdk/login --token "$AM_SECRET_TOKEN"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
runs:
2+
using: "composite"
3+
steps:
4+
- shell: bash
5+
run: |
6+
brew install llvm
7+
LLVM_PREFIX=$(brew --prefix llvm)
8+
echo "${LLVM_PREFIX}/bin" >> $GITHUB_PATH
9+
echo "CC=${LLVM_PREFIX}/bin/clang" >> $GITHUB_ENV
10+
echo "CXX=${LLVM_PREFIX}/bin/clang++" >> $GITHUB_ENV
11+
echo "CMAKE_PREFIX_PATH=${LLVM_PREFIX}" >> $GITHUB_ENV

.github/actions/desktop-e2e-linux/action.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ inputs:
88
description: Rust target triple for the build
99
required: false
1010
default: x86_64-unknown-linux-gnu
11-
argos_token:
12-
description: Argos CI token for uploading screenshots
13-
required: false
1411
runs:
1512
using: composite
1613
steps:
14+
- uses: FedericoCarboni/setup-ffmpeg@v3
15+
with:
16+
ffmpeg-version: release
1717
- shell: bash
1818
run: ./scripts/setup-desktop-e2e.sh
1919
- shell: bash
@@ -32,12 +32,30 @@ runs:
3232
3333
echo "Binary path: ${BINARY_PATH}"
3434
echo "APP_BINARY_PATH=${BINARY_PATH}" >> $GITHUB_ENV
35+
36+
# Create logs directory for capturing test output
37+
mkdir -p "${{ github.workspace }}/e2e/blackbox/logs"
38+
echo "E2E_LOGS_DIR=${{ github.workspace }}/e2e/blackbox/logs" >> $GITHUB_ENV
3539
- shell: bash
36-
run: pnpm -F desktop-e2e test
40+
id: e2e-test
41+
run: |
42+
# Run tests and capture output to log file
43+
pnpm -F e2e-blackbox e2e 2>&1 | tee "${{ env.E2E_LOGS_DIR }}/e2e-test-output.log"
44+
exit ${PIPESTATUS[0]}
3745
env:
3846
APP_BINARY_PATH: ${{ env.APP_BINARY_PATH }}
39-
- name: Upload screenshots to Argos
40-
if: ${{ inputs.argos_token != '' }}
47+
continue-on-error: true
48+
- name: Upload E2E logs and videos on failure
49+
if: steps.e2e-test.outcome == 'failure'
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: e2e-blackbox-artifacts
53+
path: |
54+
${{ github.workspace }}/e2e/blackbox/logs/
55+
${{ github.workspace }}/e2e/blackbox/videos/
56+
retention-days: 7
57+
if-no-files-found: ignore
58+
- name: Fail if tests failed
59+
if: steps.e2e-test.outcome == 'failure'
4160
shell: bash
42-
run: pnpm -F desktop-e2e exec argos upload --token ${{ inputs.argos_token }} --build-name desktop screenshots
43-
working-directory: ${{ github.workspace }}/apps/desktop-e2e
61+
run: exit 1

.github/actions/devin/action.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,16 @@ runs:
3333
- shell: bash
3434
env:
3535
VARS_JSON: ${{ inputs.vars }}
36+
PROMPT_TEMPLATE: ${{ inputs.prompt }}
3637
run: |
3738
pip install -q jinja2
3839
3940
PROMPT=$(python3 -c "
4041
import json
4142
import os
4243
from jinja2 import Template
43-
tmpl = Template('''${{ inputs.prompt }}''')
44-
vars = json.loads(os.environ['VARS_JSON'])
44+
tmpl = Template(os.environ['PROMPT_TEMPLATE'])
45+
vars = json.loads(os.environ.get('VARS_JSON', '{}'))
4546
print(tmpl.render(**vars))
4647
")
4748
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Graphite CI Optimizer
2+
description: Check if CI should be skipped for stacked PRs
3+
4+
inputs:
5+
graphite_token:
6+
description: Graphite API token
7+
required: true
8+
9+
outputs:
10+
skip:
11+
description: Whether to skip CI
12+
value: ${{ steps.check_skip.outputs.skip }}
13+
14+
runs:
15+
using: composite
16+
steps:
17+
- id: check_skip
18+
uses: withgraphite/graphite-ci-action@main
19+
with:
20+
graphite_token: ${{ inputs.graphite_token }}

.github/actions/infisical_export/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
inputs:
2-
token:
3-
required: true
42
project-id:
53
required: true
64
folder:
@@ -24,7 +22,7 @@ runs:
2422
run: |
2523
SECRETS=$(
2624
infisical export \
27-
--token=${{ inputs.token }} \
25+
--token="$INFISICAL_TOKEN" \
2826
--projectId=${{ inputs.project-id }} \
2927
--path="${{ inputs.folder }}" \
3028
--env=${{ inputs.env }} \

0 commit comments

Comments
 (0)