@promptbook/remote-server 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
@@ -40,7 +40,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
40
40
  * @generated
41
41
  * @see https://github.com/webgptorg/promptbook
42
42
  */
43
- const PROMPTBOOK_ENGINE_VERSION = '0.113.0-5';
43
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-6';
44
44
  /**
45
45
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
46
46
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -17638,7 +17638,7 @@ const octopus3d4AvatarVisual = {
17638
17638
  isAnimated: true,
17639
17639
  supportsPointerTracking: true,
17640
17640
  render({ context, size, palette, createRandom, timeMs, interaction }) {
17641
- const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots } = getOctopus3d4StableState(createRandom);
17641
+ const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots, } = getOctopus3d4StableState(createRandom);
17642
17642
  const sceneCenterX = size * 0.5;
17643
17643
  const sceneCenterY = size * 0.535;
17644
17644
  const bob = Math.sin(timeMs / 980 + animationPhase) * size * 0.013;
@@ -17986,10 +17986,7 @@ function sampleBlobbyContinuousSurfacePointWithLongitudeCache(options, latitude,
17986
17986
  Math.max(0, Math.cos(effectiveLongitude)) * 0.12 +
17987
17987
  lowerBlend * tentacleInfluence.core * (0.12 + tentacleInfluence.depthScale * 0.07) -
17988
17988
  Math.max(0, -Math.cos(effectiveLongitude)) * 0.05;
17989
- const tentacleTubeRadius = lowerBlend *
17990
- tentacleInfluence.core *
17991
- (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) *
17992
- radiusX;
17989
+ const tentacleTubeRadius = lowerBlend * tentacleInfluence.core * (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) * radiusX;
17993
17990
  const planarRadiusX = cosineLatitude * radiusX * horizontalScale + tentacleTubeRadius;
17994
17991
  const planarRadiusZ = cosineLatitude * radiusZ * depthScale + tentacleTubeRadius * 0.74;
17995
17992
  const lowerDrop = lowerBlend *
@@ -18001,9 +17998,7 @@ function sampleBlobbyContinuousSurfacePointWithLongitudeCache(options, latitude,
18001
17998
  (morphologyProfile.tentacles.flowLengthScale - 1) * 0.1));
18002
17999
  const combinedTentacleSway = (primaryTentacleWave + secondaryTentacleWave) * radiusX * (0.06 + tipBlend * 0.06);
18003
18000
  return {
18004
- x: Math.sin(effectiveLongitude) * planarRadiusX +
18005
- combinedTentacleSway +
18006
- tentacleCurl * radiusX * 0.18,
18001
+ x: Math.sin(effectiveLongitude) * planarRadiusX + combinedTentacleSway + tentacleCurl * radiusX * 0.18,
18007
18002
  y: Math.sin(latitude) * radiusY * (1 + upperBlend * 0.14) -
18008
18003
  upperBlend * radiusY * 0.12 +
18009
18004
  lowerDrop +
@@ -21173,10 +21168,10 @@ const teamToolTitles = {};
21173
21168
  *
21174
21169
  * @private
21175
21170
  */
21176
- const TEAM_SYSTEM_MESSAGE_GUIDANCE_LINES = [
21177
- '- If a teammate is relevant to the request, consult that teammate using the matching tool.',
21178
- '- Do not ask the user for information that a listed teammate can provide directly.',
21179
- ];
21171
+ const TEAM_SYSTEM_MESSAGE_GUIDANCE = spaceTrim$1(`
21172
+ - If a teammate is relevant to the request, consult that teammate using the matching tool.
21173
+ - Do not ask the user for information that a listed teammate can provide directly.
21174
+ `);
21180
21175
  /**
21181
21176
  * Constant for remote agents by Url.
21182
21177
  */
@@ -21358,7 +21353,7 @@ function buildTeamSystemMessageBody(teamEntries) {
21358
21353
  `);
21359
21354
  });
21360
21355
  return spaceTrim$1((block) => `
21361
- ${block(TEAM_SYSTEM_MESSAGE_GUIDANCE_LINES.join('\n'))}
21356
+ ${block(TEAM_SYSTEM_MESSAGE_GUIDANCE)}
21362
21357
 
21363
21358
  ${block(teammateSections.join('\n\n'))}
21364
21359
  `);