@volter/supercode-teams 0.3.116 → 0.3.117
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/machine.mjs +2 -1
- package/package.json +1 -1
package/machine.mjs
CHANGED
|
@@ -2429,7 +2429,8 @@ export class TeamsMachine extends MachineCore {
|
|
|
2429
2429
|
// Compared with whitespace removed on both sides: the composer's text joins its screen rows with line breaks,
|
|
2430
2430
|
// so a first line wider than one row never matches as it was sent.
|
|
2431
2431
|
const squash = (value) => value.replace(/\s+/gu, '');
|
|
2432
|
-
|
|
2432
|
+
// The first line with text: a body opening with a blank line would otherwise match nothing but the placeholder.
|
|
2433
|
+
const firstLine = squash(body.split('\n').find((line) => line.trim()) ?? '');
|
|
2433
2434
|
if (/^\[Pasted Content \d+ chars\]/u.test(shown) || (firstLine && squash(shown).startsWith(firstLine))) {
|
|
2434
2435
|
await this.#clearCodexComposer(session, composer, pause);
|
|
2435
2436
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/supercode-teams",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.117",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A machine daemon serving this machine's doors, and a local or remote Teams server for shared session discovery, OpenTelemetry ingestion and access to enrolled machines.",
|
|
6
6
|
"license": "MIT",
|