@bryanhu/codexly 0.11.1 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.11.2] - 2026-09-02
8
+
9
+ ### 修复
10
+
11
+ - 支持临时作用域任务队列持久化,允许无 Project 记录的临时任务写入队列,并在真实 Project 删除时清理所属数据。
12
+
7
13
  ## [0.11.1] - 2026-09-01
8
14
 
9
15
  ### 优化
@@ -200,7 +206,8 @@
200
206
  - 拆分全栈测试套件并限制 Vitest 并发,提升跨平台门禁稳定性;GitHub Release 改为严格提取对应版本的完整更新日志。
201
207
  - 将最低 Node.js 版本调整为 `22.14.0`,同步 CLI、CI、发布环境和使用文档。
202
208
 
203
- [Unreleased]: https://github.com/BryanHoo/Codexly/compare/v0.11.1...HEAD
209
+ [Unreleased]: https://github.com/BryanHoo/Codexly/compare/v0.11.2...HEAD
210
+ [0.11.2]: https://github.com/BryanHoo/Codexly/releases/tag/v0.11.2
204
211
  [0.11.1]: https://github.com/BryanHoo/Codexly/releases/tag/v0.11.1
205
212
  [0.11.0]: https://github.com/BryanHoo/Codexly/releases/tag/v0.11.0
206
213
  [0.10.0]: https://github.com/BryanHoo/Codexly/releases/tag/v0.10.0
@@ -61757,7 +61757,40 @@ var SQLITE_MIGRATIONS = [
61757
61757
  `,
61758
61758
  version: 22
61759
61759
  },
61760
- WORKBENCH_PET_SETTINGS_MIGRATION
61760
+ WORKBENCH_PET_SETTINGS_MIGRATION,
61761
+ {
61762
+ name: "allow_standalone_task_queue",
61763
+ sql: `
61764
+ CREATE TABLE task_scope_queue (
61765
+ project_id TEXT NOT NULL,
61766
+ task_id TEXT NOT NULL,
61767
+ id TEXT NOT NULL,
61768
+ client_user_message_id TEXT NOT NULL,
61769
+ input_json TEXT NOT NULL,
61770
+ status TEXT NOT NULL CHECK (status IN ('editing', 'queued')),
61771
+ position INTEGER NOT NULL,
61772
+ updated_at TEXT NOT NULL,
61773
+ PRIMARY KEY (project_id, task_id, id),
61774
+ UNIQUE (project_id, task_id, position)
61775
+ ) STRICT;
61776
+
61777
+ INSERT INTO task_scope_queue
61778
+ (project_id, task_id, id, client_user_message_id, input_json, status, position, updated_at)
61779
+ SELECT project_id, task_id, id, client_user_message_id, input_json, status, position, updated_at
61780
+ FROM task_queue;
61781
+
61782
+ DROP TABLE task_queue;
61783
+ ALTER TABLE task_scope_queue RENAME TO task_queue;
61784
+
61785
+ -- standalone Task \u6CA1\u6709 Project \u8BB0\u5F55\uFF1B\u771F\u5B9E Project \u5220\u9664\u65F6\u4ECD\u6E05\u7406\u5176\u6301\u4E45\u961F\u5217\u3002
61786
+ CREATE TRIGGER delete_project_task_queue
61787
+ AFTER DELETE ON projects
61788
+ BEGIN
61789
+ DELETE FROM task_queue WHERE project_id = OLD.id;
61790
+ END;
61791
+ `,
61792
+ version: 24
61793
+ }
61761
61794
  ];
61762
61795
 
61763
61796
  // packages/server/src/sqlite-state-repository.ts
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { createCodexlyServer, SqliteStateRepository, normalizeAllowedHost } from './chunk-HHEP4NNE.js';
3
+ import { createCodexlyServer, SqliteStateRepository, normalizeAllowedHost } from './chunk-NPICM42L.js';
4
4
  import './chunk-GUHYAMAQ.js';
5
5
  import { startCodexAppServer, locateCodexBinary, createCodexRuntimeProvider, createCodexWorkbenchPetProvider, CodexProjectRepository, checkCodexVersion } from './chunk-YMFGL4ZR.js';
6
6
  import './chunk-RNTA4MFS.js';
@@ -19,7 +19,7 @@ createRequire(import.meta.url);
19
19
 
20
20
  // package.json
21
21
  var package_default = {
22
- version: "0.11.1"};
22
+ version: "0.11.2"};
23
23
  var PACKAGE_NAME = "@bryanhu/codexly";
24
24
  var INITIAL_APP_VERSION = "0.1.0";
25
25
  var CHANGELOG_URL_PREFIX = "https://raw.githubusercontent.com/BryanHoo/Codexly/v";
@@ -1,5 +1,5 @@
1
1
  import { createRequire } from 'node:module';
2
- export { AccessSessionService, AgentEventStream, GitCommitError, GitCommitReviewError, SqliteStateRepository, commitSelectedProjectChanges, createCodexlyServer, normalizeAllowedHost, readProjectGitCommitFileDiff, readProjectGitCommitFiles } from '../chunk-HHEP4NNE.js';
2
+ export { AccessSessionService, AgentEventStream, GitCommitError, GitCommitReviewError, SqliteStateRepository, commitSelectedProjectChanges, createCodexlyServer, normalizeAllowedHost, readProjectGitCommitFileDiff, readProjectGitCommitFiles } from '../chunk-NPICM42L.js';
3
3
  import '../chunk-GUHYAMAQ.js';
4
4
  import '../chunk-YMFGL4ZR.js';
5
5
  import '../chunk-RNTA4MFS.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bryanhu/codexly",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "通过 Web 操作本地 Coding Agent 的应用",
5
5
  "type": "module",
6
6
  "author": "BryanHu",