Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,5 @@ examples/coze-js-node/src/config/config.ts
packages/chat-sdk/.env.development

/tmp

.rollup-cache
11 changes: 11 additions & 0 deletions common/changes/@coze/api/chore-use-rollup_2025-10-30-07-24.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@coze/api",
"comment": "upgrade rslib version",
"type": "patch"
}
],
"packageName": "@coze/api",
"email": "[email protected]"
}
11 changes: 11 additions & 0 deletions common/changes/@coze/api/chore-use-rollup_2025-10-30-07-25.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@coze/api",
"comment": "update version",
"type": "patch"
}
],
"packageName": "@coze/api",
"email": "[email protected]"
}
11 changes: 11 additions & 0 deletions common/changes/@coze/api/chore-use-rollup_2025-10-30-08-17.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@coze/api",
"comment": "reset",
"type": "patch"
}
],
"packageName": "@coze/api",
"email": "[email protected]"
}
Comment on lines +1 to +11
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

The changelog comment "reset" is too vague.

Changelog entries should clearly communicate what changed to users. The comment "reset" provides no context about the impact of this patch-level change. Consider updating it to reflect the actual changes, e.g., "Build tooling migration from rslib to Rollup" or similar.

🤖 Prompt for AI Agents
In common/changes/@coze/api/chore-use-rollup_2025-10-30-08-17.json around lines
1 to 11, the changelog "comment" field contains the vague value "reset"; update
it to a descriptive, user-facing message that explains what changed (for
example: "Build tooling migration from rslib to Rollup", or "Switch to Rollup
build pipeline and updated packaging"), so the patch entry communicates the
actual intent and impact.

11 changes: 11 additions & 0 deletions common/changes/@coze/api/chore-use-rollup_2025-10-30-08-44.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@coze/api",
"comment": "fix build error",
"type": "patch"
}
],
"packageName": "@coze/api",
"email": "[email protected]"
}
11 changes: 11 additions & 0 deletions common/changes/@coze/api/chore-use-rollup_2025-11-03-03-12.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@coze/api",
"comment": "fix build warning",
"type": "patch"
}
],
"packageName": "@coze/api",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@coze/realtime-api",
"comment": "upgrade rslib version",
"type": "patch"
}
],
"packageName": "@coze/realtime-api",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@coze/realtime-api",
"comment": "fix build error",
"type": "patch"
}
],
"packageName": "@coze/realtime-api",
"email": "[email protected]"
}
2,799 changes: 1,757 additions & 1,042 deletions common/config/subspaces/default/pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/coze-js-web/src/pages/chat-x/use-ws-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { config } from './config';
const wavRecorder = new WavRecorder({ sampleRate: 24000 });
const wavStreamPlayer = new WavStreamPlayer({ sampleRate: 24000 });

// eslint-disable-next-line max-lines-per-function
const useWsAPI = (
clientRef: MutableRefObject<CozeAPI | null>,
onTranscription: (data: CreateTranscriptionsWsRes) => void,
Expand Down
29 changes: 24 additions & 5 deletions packages/coze-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"author": "Leeight <[email protected]>",
"exports": {
".": "./src/index.ts",
"./ws-tools": "./src/ws-tools/index.ts"
"./ws-tools": "./src/ws-tools/index.ts",
"./speech": "./src/ws-tools/speech/index.ts"
},
"main": "src/index.ts",
"unpkg": "dist/umd/index.js",
Expand All @@ -41,7 +42,10 @@
"dist/types/index.d.ts"
],
"ws-tools": [
"dist/types/ws-tools/ws-tools/index.d.ts"
"dist/types/ws-tools/index.d.ts"
],
"speech": [
"dist/types/ws-tools/speech/index.d.ts"
]
}
},
Expand All @@ -55,7 +59,8 @@
"build": "rslib build",
"format": "prettier --write .",
"lint": "eslint ./ --cache --quiet",
"start": "rslib build -w",
"start": "rollup -c -w",
"start:rslib": "rslib build -w",
"test": "vitest",
"test:cov": "vitest --coverage --run"
},
Expand All @@ -74,7 +79,12 @@
"@coze-infra/eslint-config": "workspace:*",
"@coze-infra/ts-config": "workspace:*",
"@coze-infra/vitest-config": "workspace:*",
"@rslib/core": "0.0.18",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-typescript": "^12.1.2",
"@rslib/core": "^0.16.0",
"@swc/core": "^1.3.14",
"@types/jsonwebtoken": "^9.0.0",
"@types/node": "^20",
Expand All @@ -84,6 +94,10 @@
"@types/ws": "^8.5.1",
"@vitest/coverage-v8": "~2.1.9",
"axios": "^1.7.7",
"rollup": "^4.31.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-node-externals": "^7.1.3",
"tslib": "^2.8.1",
"typescript": "^5.5.3",
"vitest": "~2.1.9"
},
Expand All @@ -104,7 +118,12 @@
"./ws-tools": {
"require": "./dist/cjs/ws-tools/index.js",
"import": "./dist/esm/ws-tools/index.mjs",
"types": "./dist/types/ws-tools/ws-tools/index.d.ts"
"types": "./dist/types/ws-tools/index.d.ts"
},
"./speech": {
"require": "./dist/cjs/ws-tools/speech/index.js",
"import": "./dist/esm/ws-tools/speech/index.mjs",
"types": "./dist/types/ws-tools/speech/index.d.ts"
}
},
"main": "dist/cjs/index.js",
Expand Down
Loading
Loading