Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
f056910
refactor: divide dictation controller to a common logic controller an…
markitosha May 11, 2026
1726cef
fix: handle both lowercase and uppercase 'ended' message types in soc…
markitosha May 11, 2026
f4b7bfc
feat: implement ambient web component and enhance socket controller f…
markitosha May 12, 2026
068376d
refactor: update context imports to use mixins for devices, keybindin…
markitosha May 12, 2026
a82092e
feat: enhance ambient recording button with interaction ID handling a…
markitosha May 12, 2026
e1ef911
refactor: simplify CortiDictation component by extending CortiRoot an…
markitosha May 12, 2026
ff35893
feat: add CortiAmbient web component and update imports in index and …
markitosha May 12, 2026
dbe882a
Merge branch 'main' into implement-ambient-web-component-beta-for-con…
markitosha May 12, 2026
ed5b7be
feat: update language selection context and enhance language handling…
markitosha May 15, 2026
34760b2
Merge branch 'implement-ambient-web-component-beta-for-console-integr…
markitosha May 15, 2026
966044b
fix: update labels for device and language selectors for clarity
markitosha May 15, 2026
82f1631
fix: linter
markitosha May 15, 2026
779875b
fix: dependency update
markitosha May 15, 2026
c8041c0
feat: enhance language selection logic and add preferred default lang…
markitosha May 15, 2026
5cdfa83
refactor: update language selection handling to use private property …
markitosha May 15, 2026
a3321ed
fix: improve error message clarity and correct variable names in ambi…
markitosha May 18, 2026
6d79a08
feat: add virtual mode support for ambient components and update sett…
markitosha May 18, 2026
37aa802
feat: implement virtual mode support for ambient recording and update…
markitosha May 18, 2026
1443fe3
fix: pass partcipants to the WS configuration if virtual mode enebled
juozaspeleckas May 19, 2026
8e8426c
chore: update @corti/sdk dependency to version 3.0.0
markitosha Jun 1, 2026
3d7eb84
feat: add audio event handling to ambient components and update event…
markitosha Jun 1, 2026
e36c750
feat: implement dual custom elements for ambient components and updat…
markitosha Jun 1, 2026
6b7986a
feat: update CI configuration for ambient web component and adjust pa…
markitosha Jun 2, 2026
19197f2
feat: reorganize exports and import statements for ambient components
markitosha Jun 2, 2026
b3cd113
feat: update ambient component structure and keybinding handling
markitosha Jun 3, 2026
2c43a4e
refactor: consolidate internal UI as shared speech-* elements
markitosha Jun 3, 2026
3427a6d
refactor: split monorepo into core, dictation, and ambient packages
markitosha Jun 3, 2026
91f4b3f
ci: run workflow jobs on self-hosted ci runners
markitosha Jun 3, 2026
94827e8
chore: use 0.0.0-dev baseline and pnpm version in publish CI
markitosha Jun 3, 2026
cadd202
docs: point npm homepage and documentation to Corti SDK guides
markitosha Jun 3, 2026
87f6b36
refactor: inline socket message bound on RecordingButtonBase
markitosha Jun 3, 2026
bbebcc9
refactor: centralize socket inbound types in core for shared handler
markitosha Jun 3, 2026
467d199
refactor: type WebSocket handler with TMessage on RecordingButtonBase
markitosha Jun 3, 2026
1b5682b
refactor: narrow TMessage in WebSocket handler without casts
markitosha Jun 3, 2026
93c0a64
chore: trim blank line in WebSocket message handler
markitosha Jun 3, 2026
f658e0a
ci: use ubuntu-latest runners again
markitosha Jun 3, 2026
22e081f
ci: switch workflow jobs back to self-hosted ci runners
markitosha Jun 3, 2026
e696d96
ci: use ubuntu-latest runners for workflow jobs
markitosha Jun 3, 2026
9fcfb2d
fix(ci): install core compile deps at workspace root
markitosha Jun 3, 2026
4ac3e90
fix(ci): set package version from dictation/ and ambient/ directories
markitosha Jun 3, 2026
8bec61a
fix(publish): resolve package entry to bundle.js
markitosha Jun 3, 2026
de6d483
fix(core): skip duplicate custom element registration
markitosha Jun 3, 2026
6e11863
chore: fix import order for safeCustomElement
markitosha Jun 3, 2026
bbd2a51
chore: name shared workspace package @corti/core-web
markitosha Jun 3, 2026
b20b673
refactor: drop @corti/core-web package; bundle core in published dist
markitosha Jun 3, 2026
c22ec0e
chore: fix biome import order after safeCustomElement migration
markitosha Jun 3, 2026
b7ebe41
docs: add package READMEs and monorepo overview for npm
markitosha Jun 3, 2026
bcce5c9
fix(publish): restore dist/ npm layout for CDN and bundler compatibility
markitosha Jun 4, 2026
cb020ab
fix(ambient): preserve custom participants when toggling virtual mode
markitosha Jun 4, 2026
18e425f
ci: run workflow jobs on self-hosted ci runners
markitosha Jun 4, 2026
1babe78
ci: use ubuntu-latest runners on public repo
markitosha Jun 5, 2026
c2fe656
fix(storybook): align Storybook versions and monorepo story imports
markitosha Jun 5, 2026
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
63 changes: 52 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,20 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Build
run: npm run build && npm run build:bundle
run: pnpm run build

lint:
runs-on: ubuntu-latest
Expand All @@ -32,16 +36,20 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Lint
run: npm run lint
run: pnpm run lint

test:
runs-on: ubuntu-latest
Expand All @@ -50,16 +58,20 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Test
run: npm test
run: pnpm test

publish:
needs: [compile, lint, test]
Expand Down Expand Up @@ -90,28 +102,57 @@ jobs:
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "suffix=$SUFFIX" >> $GITHUB_OUTPUT

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Set version
run: |
npm version ${{ steps.version.outputs.version }} --no-git-tag-version
echo "package.json version set to $(node -p "require('./package.json').version")"
VERSION="${{ steps.version.outputs.version }}"
(cd dictation && pnpm version "$VERSION" --no-git-tag-version)
(cd ambient && pnpm version "$VERSION" --no-git-tag-version)
echo "dictation: $(node -p "require('./dictation/package.json').version")"
echo "ambient: $(node -p "require('./ambient/package.json').version")"

- name: Build
run: npm run build && npm run build:bundle
run: pnpm run build

- name: Publish @corti/dictation-web
run: |
publish() { # use latest npm to ensure OIDC support
npx -y npm@latest publish "$@"
}
SUFFIX="${{ steps.version.outputs.suffix }}"
cd dictation
if [[ -n "$SUFFIX" ]]; then
publish --access public --tag "$SUFFIX"
else
PKG_NAME=$(node -p "require('./package.json').name")
PKG_VERSION=$(node -p "require('./package.json').version")
CURRENT_LATEST=$(npm view "${PKG_NAME}" dist-tags.latest 2>/dev/null || echo "0.0.0")
if npx -y semver "${PKG_VERSION}" -r "<${CURRENT_LATEST}" > /dev/null 2>&1; then
echo "Publishing ${PKG_VERSION} with --tag backport (current latest is ${CURRENT_LATEST})"
publish --access public --tag backport
else
publish --access public
fi
fi

- name: Publish to npm
- name: Publish @corti/ambient-web
run: |
publish() { # use latest npm to ensure OIDC support
npx -y npm@latest publish "$@"
}
SUFFIX="${{ steps.version.outputs.suffix }}"
cd ambient
if [[ -n "$SUFFIX" ]]; then
publish --access public --tag "$SUFFIX"
else
Expand Down
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tsconfig.tsbuildinfo
.DS_Store

## npm
/node_modules/
**/node_modules/
/npm-debug.log

## testing
Expand All @@ -18,10 +18,11 @@ tsconfig.tsbuildinfo

# build
/_site/
/dist/
**/dist/
/out-tsc/
**/.tsbuildinfo

storybook-static
custom-elements.json

.security-scan/
.security-scan/
14 changes: 14 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";

const root = resolve(dirname(fileURLToPath(import.meta.url)), "..");

export default {
stories: ['../stories/**/*.stories.ts'],
addons: [
Expand All @@ -7,6 +12,15 @@ export default {
],
framework: '@storybook/web-components-vite',

viteFinal: async (config) => {
config.resolve ??= {};
config.resolve.alias = {
...config.resolve.alias,
"@core": resolve(root, "core/src"),
};
return config;
},

wdsFinal: async (config) => {
return {
...config,
Expand Down
Loading
Loading