From a81ec596b17987e811b2a7909cc639fb2551137c Mon Sep 17 00:00:00 2001 From: anurag629 Date: Sat, 7 Mar 2026 23:13:35 +0530 Subject: [PATCH 1/2] chore: add changeset for widget inline mode --- .changeset/inline-mode.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/inline-mode.md diff --git a/.changeset/inline-mode.md b/.changeset/inline-mode.md new file mode 100644 index 0000000..5feef7f --- /dev/null +++ b/.changeset/inline-mode.md @@ -0,0 +1,5 @@ +--- +"@chatcops/widget": minor +--- + +Add inline display mode to the widget. Set `mode: 'inline'` with a `container` element to render the chat panel directly inside a page element instead of as a floating popup. Export `Widget` class for creating multiple independent instances. From 7c8831cf2bf13dd9a660b247baa1ca4f99ec53a4 Mon Sep 17 00:00:00 2001 From: anurag629 Date: Sat, 7 Mar 2026 23:31:35 +0530 Subject: [PATCH 2/2] fix: switch to npm trusted publishing (OIDC) instead of NPM_TOKEN --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e6e1a5..da57705 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,9 @@ jobs: - name: Test run: pnpm test + - name: Ensure npm supports OIDC + run: npm install -g npm@latest + - name: Create Release PR or Publish id: changesets uses: changesets/action@v1 @@ -43,7 +46,6 @@ jobs: title: 'chore: version packages' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Deploy website to Vercel if: steps.changesets.outputs.published == 'true'