@yeaft/webchat-agent 1.0.340 → 1.0.342
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/cli.js +44 -22
- package/connection/upgrade.js +42 -21
- package/local-runtime/server/db/connection.js +3 -0
- package/local-runtime/server/db/yeaft-project-db.js +24 -0
- package/local-runtime/server/handlers/client-conversation.js +1 -0
- package/local-runtime/version.json +1 -1
- package/local-runtime/web/app.bundle.js +120 -104
- package/local-runtime/web/app.bundle.js.gz +0 -0
- package/local-runtime/web/index.html +2 -2
- package/local-runtime/web/style.bundle.css +1 -1
- package/local-runtime/web/style.bundle.css.gz +0 -0
- package/package.json +1 -1
- package/upgrade-command.js +181 -33
- package/windows-upgrade-bootstrap.js +69 -0
- package/windows-upgrade-runner.js +166 -39
- package/yeaft/projects/store.js +15 -0
- package/yeaft/web-bridge.js +2 -0
package/yeaft/web-bridge.js
CHANGED
|
@@ -77,6 +77,7 @@ import {
|
|
|
77
77
|
moveSessionToProject,
|
|
78
78
|
removeSessionFromProjects,
|
|
79
79
|
renameProject,
|
|
80
|
+
reorderProjects,
|
|
80
81
|
updateProjectInstruction,
|
|
81
82
|
} from './projects/store.js';
|
|
82
83
|
import { readSummary as readScopeSummary } from './memory/store.js';
|
|
@@ -3239,6 +3240,7 @@ export function handleYeaftProjectMutation(msg) {
|
|
|
3239
3240
|
else if (op === 'update_instruction') {
|
|
3240
3241
|
result = updateProjectInstruction(yeaftDir, msg.projectId, msg.instruction);
|
|
3241
3242
|
} else if (op === 'delete') result = deleteProject(yeaftDir, msg.projectId);
|
|
3243
|
+
else if (op === 'reorder') result = reorderProjects(yeaftDir, msg.projectIds);
|
|
3242
3244
|
else if (op === 'move_session') {
|
|
3243
3245
|
if (!snapshotSessions(yeaftDir).some(row => row.id === msg.sessionId)) {
|
|
3244
3246
|
throw new ProjectStoreError('session_not_found', 'Session not found');
|