@abelxiaoxing/cadence 2.0.43 → 2.0.45
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/docs/conversation-mode.md +12 -3
- package/package.json +2 -1
- package/src/model-preview.mjs +3180 -0
- package/src/native-build.ts +1 -1
- package/src/service/contracts/models.ts +23 -12
- package/src/service-cli.mjs +15 -4
- package/src/service-host.mjs +493 -220
- package/web/dist/assets/cadence.js +18 -18
- package/web/dist/manifest.json +5 -5
|
@@ -52,7 +52,7 @@ Leaving, closing or disconnecting a viewer does not cancel accepted work; reconn
|
|
|
52
52
|
A stale or unavailable observation keeps readable history but cannot establish that work stopped; distinguish connection freshness from the workflow's last observed status.
|
|
53
53
|
|
|
54
54
|
Unsent text and images are not synchronized across devices.
|
|
55
|
-
Text drafts are local to that browser session when storage is available; images remain local to the tab.
|
|
55
|
+
Text drafts and pending model choices are local to that browser session when storage is available; images remain local to the tab.
|
|
56
56
|
A preparation failure keeps the local draft and explains whether preparation was never dispatched, is unconfirmed, or was confirmed before a later wait failed.
|
|
57
57
|
An uncertain final Send keeps its original command identity for observation only: do not send it again merely because its reply was lost.
|
|
58
58
|
|
|
@@ -81,9 +81,18 @@ Text redaction does not sanitize words or secrets inside pixels: inspect screens
|
|
|
81
81
|
The first native use defaults to the current Pi provider/model/API/thinking selection.
|
|
82
82
|
Each conversation keeps its own working directory and exact provider/model/API/thinking preference.
|
|
83
83
|
Ask Cadence to change its model in Pi, or use the model button beside the browser composer; it changes future messages and plans in that conversation, not other conversations or admitted runs.
|
|
84
|
-
|
|
84
|
+
A confirmed model choice is also remembered in `<agent-dir>/cadence/settings.json` (normally `~/.pi/agent/cadence/settings.json`) as the default for new conversations across projects; restoring an existing conversation does not replace that default.
|
|
85
|
+
The WebUI can list and select models as soon as it opens, even before choosing a folder or starting the project's execution service.
|
|
86
|
+
This is a readonly view of Pi's configured models, not a provider connectivity check; opening the list never starts execution, calls a model or refreshes credentials.
|
|
87
|
+
Before execution is ready, a model/thinking choice stays with the local draft.
|
|
88
|
+
A choice on the folder-less entry carries into the next new conversation you open.
|
|
89
|
+
Send starts or reuses the project service, verifies that exact selection and only then submits the message; if it is unavailable, the draft stays and no other model is substituted.
|
|
90
|
+
The picker reuses its already-read preview when reopened; **Refresh models** reads the configuration again without starting execution.
|
|
91
|
+
A preview read failure has a **Read again** action, not a requirement to start a service.
|
|
85
92
|
The browser restores an available saved preference on explicit Send and shows it dimmed until then; reads/login do not install a choice.
|
|
86
|
-
With no choice and no saved preference, Send opens the model list and
|
|
93
|
+
With no choice and no saved preference, Send opens the model list and continues the original message after your choice when the same service connection is ready.
|
|
94
|
+
Closing the picker or stopping/replacing that service ends the unsent continuation; your draft stays, and choosing a model never restarts a stopped service.
|
|
95
|
+
Exiting Cadence changes mode, not your pending model choice.
|
|
87
96
|
If no usable preference exists, choose once; an unreadable preference file falls back to the current Pi model, and choosing a model rewrites it.
|
|
88
97
|
An accepted message or workflow keeps its original directory and exact model, including while queued.
|
|
89
98
|
Different subdirectories of one repository can have independent conversations while sharing one checkout owner and execution gate.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abelxiaoxing/cadence",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.45",
|
|
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",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"src/service-client.ts",
|
|
34
34
|
"src/service-contract.ts",
|
|
35
35
|
"src/service-host.mjs",
|
|
36
|
+
"src/model-preview.mjs",
|
|
36
37
|
"src/service-http-client.ts",
|
|
37
38
|
"src/service-wire.ts",
|
|
38
39
|
"src/service/contracts/active.ts",
|