remosidian 0.1.14 → 0.1.15
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 +4 -0
- package/dist/remosidian.mjs +14 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/remosidian.mjs
CHANGED
|
@@ -16737,7 +16737,13 @@ function isAssistantSignals(value) {
|
|
|
16737
16737
|
['ignored', 'unassigned', 'pending', 'queued'].includes(x.state) &&
|
|
16738
16738
|
(x.matchedBy === undefined || ['model', 'automatic'].includes(x.matchedBy)) &&
|
|
16739
16739
|
(x.workflow === undefined || x.workflow === 'meeting-prep') &&
|
|
16740
|
+
(x.feedback === undefined || ['correct', 'incorrect', 'wrong-goal'].includes(x.feedback)) &&
|
|
16741
|
+
(x.replySuggestion === undefined ||
|
|
16742
|
+
(typeof x.replySuggestion === 'string' && x.replySuggestion.length <= 600)) &&
|
|
16743
|
+
typeof x.wouldDo === 'string' &&
|
|
16740
16744
|
Number.isFinite(x.createdAt)) &&
|
|
16745
|
+
Boolean(v.shadowReview &&
|
|
16746
|
+
['observed', 'ignored', 'actionable', 'uncertain', 'linked', 'unassigned', 'reviewed'].every((key) => Number.isSafeInteger(v.shadowReview[key]))) &&
|
|
16741
16747
|
[0, 1, 2, 3].includes(v.permissionLevel) &&
|
|
16742
16748
|
Number.isFinite(v.shadowUntil) &&
|
|
16743
16749
|
typeof v.shadowActive === 'boolean' &&
|
|
@@ -17009,9 +17015,9 @@ const schemas = {
|
|
|
17009
17015
|
...id,
|
|
17010
17016
|
...vaultId,
|
|
17011
17017
|
customerId: isId,
|
|
17012
|
-
targetType: oneOf('notice', 'proposal'),
|
|
17018
|
+
targetType: oneOf('notice', 'proposal', 'triage'),
|
|
17013
17019
|
targetId: isId,
|
|
17014
|
-
action: oneOf('accepted', 'rejected', 'later', 'mute'),
|
|
17020
|
+
action: oneOf('accepted', 'rejected', 'later', 'mute', 'correct', 'incorrect', 'wrong-goal'),
|
|
17015
17021
|
},
|
|
17016
17022
|
},
|
|
17017
17023
|
'assistant.push.register': {
|
|
@@ -23452,11 +23458,14 @@ const PRIORITY_ORDER = {
|
|
|
23452
23458
|
low: 4,
|
|
23453
23459
|
lowest: 5,
|
|
23454
23460
|
};
|
|
23461
|
+
function comparePlanningPriority(left, right) {
|
|
23462
|
+
return PRIORITY_ORDER[task_getPlanningPriority(left)] - PRIORITY_ORDER[task_getPlanningPriority(right)];
|
|
23463
|
+
}
|
|
23455
23464
|
function comparePlanningTasks(left, right) {
|
|
23456
23465
|
const leftDate = getPlanningAnchorDate(left) ?? '9999-12-31';
|
|
23457
23466
|
const rightDate = getPlanningAnchorDate(right) ?? '9999-12-31';
|
|
23458
23467
|
return (leftDate.localeCompare(rightDate) ||
|
|
23459
|
-
|
|
23468
|
+
comparePlanningPriority(left, right) ||
|
|
23460
23469
|
left.title.localeCompare(right.title) ||
|
|
23461
23470
|
left.file.localeCompare(right.file) ||
|
|
23462
23471
|
left.line - right.line);
|
|
@@ -23470,8 +23479,7 @@ function task_sortPlanningTasks(tasks, sortBy = 'planning-date') {
|
|
|
23470
23479
|
if (sortBy === 'source') {
|
|
23471
23480
|
return sorted.sort((left, right) => left.file.localeCompare(right.file) || left.line - right.line || left.title.localeCompare(right.title));
|
|
23472
23481
|
}
|
|
23473
|
-
return sorted.sort((left, right) =>
|
|
23474
|
-
comparePlanningTasks(left, right));
|
|
23482
|
+
return sorted.sort((left, right) => comparePlanningPriority(left, right) || comparePlanningTasks(left, right));
|
|
23475
23483
|
}
|
|
23476
23484
|
|
|
23477
23485
|
;// CONCATENATED MODULE: ../../packages/task-core/dist/collections.js
|
|
@@ -33982,7 +33990,7 @@ function runFileBackedPluginTurn(input, prompt, options, onDelta) {
|
|
|
33982
33990
|
}
|
|
33983
33991
|
//# sourceMappingURL=chat-plugin-runtime.js.map
|
|
33984
33992
|
;// CONCATENATED MODULE: ../../packages/remosidian-server/dist/version.js
|
|
33985
|
-
const VERSION = '0.1.
|
|
33993
|
+
const VERSION = '0.1.15';
|
|
33986
33994
|
//# sourceMappingURL=version.js.map
|
|
33987
33995
|
;// CONCATENATED MODULE: ../../packages/remosidian-server/dist/chat-runtime.js
|
|
33988
33996
|
|