@promptbook/wizard 0.113.0-4 → 0.113.0-6
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/esm/index.es.js +9 -14
- package/esm/index.es.js.map +1 -1
- package/esm/src/avatars/renderAvatarVisualAsciiArt.d.ts +75 -0
- package/esm/src/utils/ascii-art/$detectTerminalAnsiColorDepth.d.ts +15 -0
- package/esm/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +80 -0
- package/esm/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +9 -14
- package/umd/index.umd.js.map +1 -1
- package/umd/src/avatars/renderAvatarVisualAsciiArt.d.ts +75 -0
- package/umd/src/utils/ascii-art/$detectTerminalAnsiColorDepth.d.ts +15 -0
- package/umd/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +80 -0
- package/umd/src/version.d.ts +1 -1
package/esm/index.es.js
CHANGED
|
@@ -38,7 +38,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
38
38
|
* @generated
|
|
39
39
|
* @see https://github.com/webgptorg/promptbook
|
|
40
40
|
*/
|
|
41
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.113.0-
|
|
41
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.113.0-6';
|
|
42
42
|
/**
|
|
43
43
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
44
44
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -25494,7 +25494,7 @@ const octopus3d4AvatarVisual = {
|
|
|
25494
25494
|
isAnimated: true,
|
|
25495
25495
|
supportsPointerTracking: true,
|
|
25496
25496
|
render({ context, size, palette, createRandom, timeMs, interaction }) {
|
|
25497
|
-
const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots } = getOctopus3d4StableState(createRandom);
|
|
25497
|
+
const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots, } = getOctopus3d4StableState(createRandom);
|
|
25498
25498
|
const sceneCenterX = size * 0.5;
|
|
25499
25499
|
const sceneCenterY = size * 0.535;
|
|
25500
25500
|
const bob = Math.sin(timeMs / 980 + animationPhase) * size * 0.013;
|
|
@@ -25842,10 +25842,7 @@ function sampleBlobbyContinuousSurfacePointWithLongitudeCache(options, latitude,
|
|
|
25842
25842
|
Math.max(0, Math.cos(effectiveLongitude)) * 0.12 +
|
|
25843
25843
|
lowerBlend * tentacleInfluence.core * (0.12 + tentacleInfluence.depthScale * 0.07) -
|
|
25844
25844
|
Math.max(0, -Math.cos(effectiveLongitude)) * 0.05;
|
|
25845
|
-
const tentacleTubeRadius = lowerBlend *
|
|
25846
|
-
tentacleInfluence.core *
|
|
25847
|
-
(0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) *
|
|
25848
|
-
radiusX;
|
|
25845
|
+
const tentacleTubeRadius = lowerBlend * tentacleInfluence.core * (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) * radiusX;
|
|
25849
25846
|
const planarRadiusX = cosineLatitude * radiusX * horizontalScale + tentacleTubeRadius;
|
|
25850
25847
|
const planarRadiusZ = cosineLatitude * radiusZ * depthScale + tentacleTubeRadius * 0.74;
|
|
25851
25848
|
const lowerDrop = lowerBlend *
|
|
@@ -25857,9 +25854,7 @@ function sampleBlobbyContinuousSurfacePointWithLongitudeCache(options, latitude,
|
|
|
25857
25854
|
(morphologyProfile.tentacles.flowLengthScale - 1) * 0.1));
|
|
25858
25855
|
const combinedTentacleSway = (primaryTentacleWave + secondaryTentacleWave) * radiusX * (0.06 + tipBlend * 0.06);
|
|
25859
25856
|
return {
|
|
25860
|
-
x: Math.sin(effectiveLongitude) * planarRadiusX +
|
|
25861
|
-
combinedTentacleSway +
|
|
25862
|
-
tentacleCurl * radiusX * 0.18,
|
|
25857
|
+
x: Math.sin(effectiveLongitude) * planarRadiusX + combinedTentacleSway + tentacleCurl * radiusX * 0.18,
|
|
25863
25858
|
y: Math.sin(latitude) * radiusY * (1 + upperBlend * 0.14) -
|
|
25864
25859
|
upperBlend * radiusY * 0.12 +
|
|
25865
25860
|
lowerDrop +
|
|
@@ -29029,10 +29024,10 @@ const teamToolTitles = {};
|
|
|
29029
29024
|
*
|
|
29030
29025
|
* @private
|
|
29031
29026
|
*/
|
|
29032
|
-
const
|
|
29033
|
-
|
|
29034
|
-
|
|
29035
|
-
|
|
29027
|
+
const TEAM_SYSTEM_MESSAGE_GUIDANCE = spaceTrim$1(`
|
|
29028
|
+
- If a teammate is relevant to the request, consult that teammate using the matching tool.
|
|
29029
|
+
- Do not ask the user for information that a listed teammate can provide directly.
|
|
29030
|
+
`);
|
|
29036
29031
|
/**
|
|
29037
29032
|
* Constant for remote agents by Url.
|
|
29038
29033
|
*/
|
|
@@ -29214,7 +29209,7 @@ function buildTeamSystemMessageBody(teamEntries) {
|
|
|
29214
29209
|
`);
|
|
29215
29210
|
});
|
|
29216
29211
|
return spaceTrim$1((block) => `
|
|
29217
|
-
${block(
|
|
29212
|
+
${block(TEAM_SYSTEM_MESSAGE_GUIDANCE)}
|
|
29218
29213
|
|
|
29219
29214
|
${block(teammateSections.join('\n\n'))}
|
|
29220
29215
|
`);
|