Expand material support and checkpoint the completed building toolkit
Expose the runtime block/item registry through compact material search and single-material descriptions. Preserve private block-entity data through checked edits and durable undo without sending payloads to model context. Include the completed terrain tools, isolated world/map plugin, station lift, ACP streaming and guidance fixes, local camera auto-connect, construction scripts, and their public documentation, references and verification records. Active station decoration and private runtime data remain outside this commit. Validation: 145 Maven tests, 47 Bridge tests, successful camera Gradle build, and isolated Paper verification of all 1,196 block defaults plus 5,392 independent property cases for placement, same-material edits and restoration.
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
export const greetingChunks = ['Пр', 'ивет! ', 'Что пост', 'роим?'];
|
||||
export const followUpChunks = ['По', 'нятно. ', 'Проверяю ', 'осве', 'щение'];
|
||||
export const longReply = 'Осматриваю зал. ' + Array.from({ length: 28 }, (_, i) =>
|
||||
`Арка${i + 1} цела, фонарь${i + 1} 🏮 установлен ровно`
|
||||
).join(', ') + '. Проверка завершена';
|
||||
export const overlongWord = 'А'.repeat(239) + '🏮'.repeat(150) + 'конец';
|
||||
|
||||
export function tokenChunks(text) {
|
||||
const sizes = [2, 3, 7, 4, 11];
|
||||
const chunks = [];
|
||||
for (let offset = 0, i = 0; offset < text.length; i++) {
|
||||
const end = Math.min(text.length, offset + sizes[i % sizes.length]);
|
||||
chunks.push(text.slice(offset, end));
|
||||
offset = end;
|
||||
}
|
||||
return chunks;
|
||||
}
|
||||
Reference in New Issue
Block a user