@abelxiaoxing/cadence 2.0.46 → 2.0.47

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/README.md CHANGED
@@ -43,7 +43,8 @@ The port and token live in `~/.pi/agent/cadence/.env`; anyone with the token can
43
43
 
44
44
  1. Open the printed link once; the browser then remembers you.
45
45
  If you lose it, `cadence token-link --reveal` prints it again.
46
- 2. Choose a project folder with the lower-right folder button.
46
+ 2. Choose a working folder with the lower-right button; recent folders are in the same picker.
47
+ First use offers this choice directly in the conversation; later visits restore your last available folder.
47
48
  Saved model preferences are reused on Send; choose once if none is available.
48
49
  3. Send `/cadence [goal]` once to enter Cadence in this conversation; continue with normal messages to investigate and clarify requirements.
49
50
  4. Review the complete inline plan and click **Implement this plan** (or send `按计划实施`).
@@ -81,8 +82,9 @@ cadence project open /absolute/project
81
82
  cadence project open /absolute/new-project --create
82
83
  ```
83
84
 
84
- Each project gets its own owner, port and history, and the command prints its private link; the WebUI folder picker opens projects the same way.
85
- Opening another project never stops work in the previous one.
85
+ Each project gets its own owner, port and history, and the command prints its private link.
86
+ In the WebUI, selecting a folder only changes the conversation context; Send starts or reuses its owner when needed.
87
+ Switching folders never stops work in the previous one.
86
88
 
87
89
  ### Checks
88
90
 
package/README.zh-CN.md CHANGED
@@ -41,7 +41,8 @@ pi install "$(npm root -g)/@abelxiaoxing/cadence"
41
41
 
42
42
  1. 打开一次打印出的链接;浏览器之后会记住你。
43
43
  如果丢失了链接,`cadence token-link --reveal` 会再次打印它。
44
- 2. 用右下角的文件夹按钮明确选择项目。
44
+ 2. 用右下角的按钮选择工作文件夹;最近文件夹也在同一个选择器中。
45
+ 首次使用直接在对话界面引导选择,之后访问会恢复上次可用的文件夹,无需进入独立的工作台或项目首页。
45
46
  发送时复用已保存的模型偏好;没有可用偏好时只需选择一次。
46
47
  3. 输入一次 `/cadence [目标]`,当前对话进入持续 Cadence 模式;之后正常对话,调查项目并澄清影响交付的关键问题。
47
48
  4. 查看完整计划,点击**按此计划实施**或发送 `按计划实施`。
@@ -79,8 +80,9 @@ cadence project open /absolute/project
79
80
  cadence project open /absolute/new-project --create
80
81
  ```
81
82
 
82
- 每个项目都有自己的 owner、端口和历史,命令会打印其私有链接;WebUI 的文件夹选择器以相同方式打开项目。
83
- 打开另一个项目永远不会停止之前项目中的工作。
83
+ 每个项目都有自己的 owner、端口和历史,命令会打印其私有链接。
84
+ 在 WebUI 中,选择文件夹只切换对话上下文,发送时才按需启动或复用其 owner。
85
+ 切换文件夹不会停止之前文件夹中正在运行的工作。
84
86
 
85
87
  ### 检查
86
88
 
@@ -23,11 +23,13 @@ The real pack audit rejects missing/extra/duplicate/linked/special/unsafe member
23
23
  Extracted tests use tar-only package bodies and explicitly linked existing fixture peers; they never fill missing package files from source.
24
24
  No version bump, dependency install or publication is implied by this redesign.
25
25
 
26
- ## Unified entry without a default workspace
26
+ ## Folder-first browser entry
27
27
 
28
- `web/src/Workbench.tsx` composes the project selector and existing project UI without importing the upstream session/execution service.
28
+ The browser opens directly on conversations, with folder selection and recent folders in the lower-right statusbar, not a separate workbench/project home.
29
+ First use asks for a folder in that same interface; later visits restore the last available selection, while complete conversation links keep their own destination.
30
+ `web/src/Workbench.tsx` composes directory routing and the shared conversation shell without importing the upstream session/execution service.
29
31
  The Cadence-owned gateway uses the existing authentication, public codecs, private-files discipline and independently coordinated project owners.
30
- The no-project entry never initializes an SDK session, manufactures a checkout, creates `~/cadence`, or repairs a missing project directory.
32
+ Initial folder setup never initializes an SDK session, manufactures a checkout, creates `~/cadence`, or repairs a missing project directory.
31
33
  A technical service-process cwd is not a model/tool workspace.
32
34
  The built same-origin routing covers both HTTP requests and WebSockets, while browser authority and project consent remain distinct from native management capability.
33
35
  New Linux manager tests exercise the no-workspace default; macOS/Windows generated-definition tests are not native-platform execution qualification.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abelxiaoxing/cadence",
3
- "version": "2.0.46",
3
+ "version": "2.0.47",
4
4
  "description": "Conversation-driven Pi workspace: persistent native and WebUI workflows, explicit plan approval, checks and local delivery.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -31581,7 +31581,7 @@ function workflowResultDetail(value, secrets) {
31581
31581
 
31582
31582
  // src/service/workflows.ts
31583
31583
  var OWNER_RUNTIME = Object.freeze({
31584
- version: "2.0.46",
31584
+ version: "2.0.47",
31585
31585
  build: "3602a85c51a63f2061163b51d5d50e3dcbe9016c9e22d1353554356f0d9f7ddc",
31586
31586
  entry: fileURLToPath7(import.meta.url),
31587
31587
  pid: process.pid,