@promptbook/components 0.113.0-5 → 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 CHANGED
@@ -41,7 +41,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
41
41
  * @generated
42
42
  * @see https://github.com/webgptorg/promptbook
43
43
  */
44
- const PROMPTBOOK_ENGINE_VERSION = '0.113.0-5';
44
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-6';
45
45
  /**
46
46
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
47
47
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -6169,7 +6169,7 @@ const octopus3d4AvatarVisual = {
6169
6169
  isAnimated: true,
6170
6170
  supportsPointerTracking: true,
6171
6171
  render({ context, size, palette, createRandom, timeMs, interaction }) {
6172
- const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots } = getOctopus3d4StableState(createRandom);
6172
+ const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots, } = getOctopus3d4StableState(createRandom);
6173
6173
  const sceneCenterX = size * 0.5;
6174
6174
  const sceneCenterY = size * 0.535;
6175
6175
  const bob = Math.sin(timeMs / 980 + animationPhase) * size * 0.013;
@@ -6517,10 +6517,7 @@ function sampleBlobbyContinuousSurfacePointWithLongitudeCache(options, latitude,
6517
6517
  Math.max(0, Math.cos(effectiveLongitude)) * 0.12 +
6518
6518
  lowerBlend * tentacleInfluence.core * (0.12 + tentacleInfluence.depthScale * 0.07) -
6519
6519
  Math.max(0, -Math.cos(effectiveLongitude)) * 0.05;
6520
- const tentacleTubeRadius = lowerBlend *
6521
- tentacleInfluence.core *
6522
- (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) *
6523
- radiusX;
6520
+ const tentacleTubeRadius = lowerBlend * tentacleInfluence.core * (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) * radiusX;
6524
6521
  const planarRadiusX = cosineLatitude * radiusX * horizontalScale + tentacleTubeRadius;
6525
6522
  const planarRadiusZ = cosineLatitude * radiusZ * depthScale + tentacleTubeRadius * 0.74;
6526
6523
  const lowerDrop = lowerBlend *
@@ -6532,9 +6529,7 @@ function sampleBlobbyContinuousSurfacePointWithLongitudeCache(options, latitude,
6532
6529
  (morphologyProfile.tentacles.flowLengthScale - 1) * 0.1));
6533
6530
  const combinedTentacleSway = (primaryTentacleWave + secondaryTentacleWave) * radiusX * (0.06 + tipBlend * 0.06);
6534
6531
  return {
6535
- x: Math.sin(effectiveLongitude) * planarRadiusX +
6536
- combinedTentacleSway +
6537
- tentacleCurl * radiusX * 0.18,
6532
+ x: Math.sin(effectiveLongitude) * planarRadiusX + combinedTentacleSway + tentacleCurl * radiusX * 0.18,
6538
6533
  y: Math.sin(latitude) * radiusY * (1 + upperBlend * 0.14) -
6539
6534
  upperBlend * radiusY * 0.12 +
6540
6535
  lowerDrop +
@@ -14171,10 +14166,10 @@ const teamToolTitles = {};
14171
14166
  *
14172
14167
  * @private
14173
14168
  */
14174
- const TEAM_SYSTEM_MESSAGE_GUIDANCE_LINES = [
14175
- '- If a teammate is relevant to the request, consult that teammate using the matching tool.',
14176
- '- Do not ask the user for information that a listed teammate can provide directly.',
14177
- ];
14169
+ const TEAM_SYSTEM_MESSAGE_GUIDANCE = spaceTrim$1(`
14170
+ - If a teammate is relevant to the request, consult that teammate using the matching tool.
14171
+ - Do not ask the user for information that a listed teammate can provide directly.
14172
+ `);
14178
14173
  /**
14179
14174
  * Constant for remote agents by Url.
14180
14175
  */
@@ -14356,7 +14351,7 @@ function buildTeamSystemMessageBody(teamEntries) {
14356
14351
  `);
14357
14352
  });
14358
14353
  return spaceTrim$1((block) => `
14359
- ${block(TEAM_SYSTEM_MESSAGE_GUIDANCE_LINES.join('\n'))}
14354
+ ${block(TEAM_SYSTEM_MESSAGE_GUIDANCE)}
14360
14355
 
14361
14356
  ${block(teammateSections.join('\n\n'))}
14362
14357
  `);