Release now uses the exact tag name (e.g., v4.0.23 or 4.0.23) instead of reconstructing it.
Artifact filenames no longer include a v prefix (e.g., csc-4.0.23-linux-x64.tar.gz).
Existing releases will have new artifacts appended instead of recreated.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
- Register session cwd before publishing created event (was async void,
causing cwd to be undefined during event dispatch)
- Fix EventBus cwd filter: skip events when sessionCwd is undefined
instead of allowing them through unfiltered
Co-Authored-By: claude-sonnet-4-6 <noreply@anthropic.com>
- Add TASK_NOTIFICATION_TAG to distinguish task notifications from regular prompts
- Add SKIP_REVIEW_BUILTIN=1 env var to skip review builtin generation
during dev/build for faster startup
Co-Authored-By: claude-sonnet-4-6 <noreply@anthropic.com>
- Fix GET /session/status returning empty object due to missing await
(c.json() was serializing Promise instead of resolved value)
- Add getEffectiveBusyStatus() to prioritize actual prompting state
- Supplement status responses with persisted sessions from loadedIndex
- Add strict cwd filtering to GET /session list to prevent
sessions from appearing across multiple workspaces
- Add busy_status field to GET /session/:id response
This closes the issue where /conversations/status returns {} even
though /conversations shows running sessions, and prevents the same
session from appearing in multiple workspace requests.
Co-Authored-By: claude-sonnet-4-6 <noreply@anthropic.com>
- Add Bun.serve polyfill using Node.js http.createServer to bridge Hono fetch handler
- Add Bun.semver polyfill delegating to npm semver package
- Add Bun.version and Bun.env stubs
- Fix childSpawn.ts to only pass -d/--feature flags for .ts/.tsx source files
- Make serve() async to correctly resolve port when --port 0 (random allocation)
Use the proper commit SHA for actions/download-artifact@v4.
The previous SHA belonged to actions/upload-artifact, causing resolution failure.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Some terminals on CentOS emit 'enter' instead of 'return' for the Enter key.
Treat both names as the Return key to ensure consistent input behavior across platforms.
Signed-off-by: 林凯90331 <90331@sangfor.com>
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Add workflow_dispatch workflow for building and publishing cross-platform binaries.
Supports selecting branch/tag and target platform (all or specific).
Windows artifacts are zipped, Linux/macOS are tar.gz.
When triggered by a tag, artifacts are attached to the GitHub Release.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Pin bun to 1.3.11 for reproducible builds. Add explicit vite build step before publishing. Add --ignore-scripts to npm publish for security.
Signed-off-by: 林凯90331 <90331@sangfor.com>
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Node.js v20 does not support the syntax. Replace all patterns with a new helper that wraps the operation in try/finally and explicitly calls Symbol.dispose.
Also rename listBuiltinSkillNames to listBuiltinSkills in generate-review-builtin.ts.
Signed-off-by: 林凯90331 <90331@sangfor.com>
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Add 30s in-memory cache for favorite item list to reduce API calls
Expand supported MCP server types beyond local/remote to stdio/sse/ws/sdk and more
Change single MCP server conversion to use stdio type with separate command/args/env fields
Reduce page size from 100 to 20 for faster initial load
Switch parallel remote fetching to sequential to avoid rate limiting
Signed-off-by: 林凯90331 <90331@sangfor.com>
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Add git status and git diff for debugging visibility during release.
Change git add to -A and append || true to commit/push to prevent workflow failures when there are no changes or push issues.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Add verification output after syncing package.json and defines.ts
so the logs clearly show whether the version bump succeeded.
Also replace 'Create tag if missing' with 'Create or recreate tag'
that deletes and recreates the tag when it points to a stale commit,
preventing checkout of outdated code from previous failed runs.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
GitHub Actions workflow_dispatch boolean inputs are strings in
expressions ('true'/'false'). Non-empty strings are always truthy,
so !inputs.dry_run always evaluated to false. Use explicit string
comparison to fix version sync and publish step gating.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Add SSH agent setup before build so generate-review-builtin.ts
can clone the private costrict-review repo. Also run the
generator explicitly with continue-on-error to ensure the
bundled review skills file exists before Bun.build.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Use the exact input version for git tags without adding a v prefix.
Also comment out typecheck and test steps to speed up the publish flow.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Remove push tag trigger so the workflow only runs on manual dispatch.
Add steps to automatically sync package.json and scripts/defines.ts
version before publishing, create the git tag, and skip typecheck.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
When triggering the publish workflow manually with a version that does
not yet have a corresponding git tag, automatically create and push
the v-prefixed tag on the current HEAD instead of failing.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
Add optional dry-run flag to workflow dispatch for validating publishes
without uploading to the registry.
Support version inputs with or without the v prefix by resolving
the correct git ref automatically. Skip changelog generation and
GitHub release creation when running in dry-run mode.
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>