@7n/tauri-components 0.13.7 → 0.13.9
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
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.13.9] - 2026-07-20
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- AgentDialog: дайджест контексту при перемиканні агента більше не називає конкретного попереднього агента ('CODEX · GPT-5.6 LUNA'), а лише узагальнено 'Агент' — прибирає ще одне джерело identity-плутанини на додачу до явної примітки
|
|
8
|
+
|
|
9
|
+
## [0.13.8] - 2026-07-20
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- AgentDialog: дайджест контексту при перемиканні агента тепер явно позначає репліки попереднього агента як чужі — раніше модель могла на ідентифікаційне питання ('що ти за модель') відповісти самоописом попереднього агента, побачивши його 'Я — Codex...' у контексті
|
|
14
|
+
|
|
3
15
|
## [0.13.7] - 2026-07-20
|
|
4
16
|
|
|
5
17
|
### Fixed
|
package/package.json
CHANGED
|
@@ -161,12 +161,24 @@ function apply(outcome) {
|
|
|
161
161
|
function handoffContext() {
|
|
162
162
|
const relevant = turns.value.filter(turn => turn.role !== 'switch')
|
|
163
163
|
if (!relevant.length) return ''
|
|
164
|
+
// Deliberately generic "Агент" — not turn.agentLabel (e.g. "CODEX ·
|
|
165
|
+
// GPT-5.6 LUNA"): naming the prior model gives an identity-shaped string
|
|
166
|
+
// for the new one to latch onto and echo when asked who it is, on top of
|
|
167
|
+
// the disclaimer below.
|
|
164
168
|
const lines = relevant.map(turn =>
|
|
165
|
-
turn.role === 'user'
|
|
166
|
-
|
|
167
|
-
|
|
169
|
+
turn.role === 'user' ? `Користувач: ${turn.text}` : `Агент: ${turn.result?.summary ?? turn.result?.question ?? ''}`
|
|
170
|
+
)
|
|
171
|
+
// Models tend to latch onto identity-shaped text in context (e.g. a prior
|
|
172
|
+
// "Я — Codex…" line) and echo it as their own self-description when asked
|
|
173
|
+
// who they are — so this must say outright that the quoted lines belong to
|
|
174
|
+
// someone else, not describe the model now answering.
|
|
175
|
+
return (
|
|
176
|
+
'СИСТЕМНА ПРИМІТКА: нижче — лог розмови користувача з ІНШИМ агентом, ' +
|
|
177
|
+
'якого щойно замінили на тебе. Це чужі репліки, наведені лише для ' +
|
|
178
|
+
'контексту розмови — вони НЕ описують тебе, і якщо там є самоопис ' +
|
|
179
|
+
'іншого агента, не повторюй і не наслідуй його. На нове повідомлення ' +
|
|
180
|
+
`відповідай як ти сам.\n\n${lines.join('\n')}\n\nНове повідомлення:\n`
|
|
168
181
|
)
|
|
169
|
-
return `Контекст попередньої розмови (продовжуєш замість іншого агента):\n${lines.join('\n')}\n\nНове повідомлення:\n`
|
|
170
182
|
}
|
|
171
183
|
|
|
172
184
|
/**
|