@promptbook/node 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
@@ -36,7 +36,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
36
36
  * @generated
37
37
  * @see https://github.com/webgptorg/promptbook
38
38
  */
39
- const PROMPTBOOK_ENGINE_VERSION = '0.113.0-5';
39
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-6';
40
40
  /**
41
41
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
42
42
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -18889,7 +18889,7 @@ const octopus3d4AvatarVisual = {
18889
18889
  isAnimated: true,
18890
18890
  supportsPointerTracking: true,
18891
18891
  render({ context, size, palette, createRandom, timeMs, interaction }) {
18892
- const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots } = getOctopus3d4StableState(createRandom);
18892
+ const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots, } = getOctopus3d4StableState(createRandom);
18893
18893
  const sceneCenterX = size * 0.5;
18894
18894
  const sceneCenterY = size * 0.535;
18895
18895
  const bob = Math.sin(timeMs / 980 + animationPhase) * size * 0.013;
@@ -19237,10 +19237,7 @@ function sampleBlobbyContinuousSurfacePointWithLongitudeCache(options, latitude,
19237
19237
  Math.max(0, Math.cos(effectiveLongitude)) * 0.12 +
19238
19238
  lowerBlend * tentacleInfluence.core * (0.12 + tentacleInfluence.depthScale * 0.07) -
19239
19239
  Math.max(0, -Math.cos(effectiveLongitude)) * 0.05;
19240
- const tentacleTubeRadius = lowerBlend *
19241
- tentacleInfluence.core *
19242
- (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) *
19243
- radiusX;
19240
+ const tentacleTubeRadius = lowerBlend * tentacleInfluence.core * (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) * radiusX;
19244
19241
  const planarRadiusX = cosineLatitude * radiusX * horizontalScale + tentacleTubeRadius;
19245
19242
  const planarRadiusZ = cosineLatitude * radiusZ * depthScale + tentacleTubeRadius * 0.74;
19246
19243
  const lowerDrop = lowerBlend *
@@ -19252,9 +19249,7 @@ function sampleBlobbyContinuousSurfacePointWithLongitudeCache(options, latitude,
19252
19249
  (morphologyProfile.tentacles.flowLengthScale - 1) * 0.1));
19253
19250
  const combinedTentacleSway = (primaryTentacleWave + secondaryTentacleWave) * radiusX * (0.06 + tipBlend * 0.06);
19254
19251
  return {
19255
- x: Math.sin(effectiveLongitude) * planarRadiusX +
19256
- combinedTentacleSway +
19257
- tentacleCurl * radiusX * 0.18,
19252
+ x: Math.sin(effectiveLongitude) * planarRadiusX + combinedTentacleSway + tentacleCurl * radiusX * 0.18,
19258
19253
  y: Math.sin(latitude) * radiusY * (1 + upperBlend * 0.14) -
19259
19254
  upperBlend * radiusY * 0.12 +
19260
19255
  lowerDrop +
@@ -22424,10 +22419,10 @@ const teamToolTitles = {};
22424
22419
  *
22425
22420
  * @private
22426
22421
  */
22427
- const TEAM_SYSTEM_MESSAGE_GUIDANCE_LINES = [
22428
- '- If a teammate is relevant to the request, consult that teammate using the matching tool.',
22429
- '- Do not ask the user for information that a listed teammate can provide directly.',
22430
- ];
22422
+ const TEAM_SYSTEM_MESSAGE_GUIDANCE = spaceTrim$1(`
22423
+ - If a teammate is relevant to the request, consult that teammate using the matching tool.
22424
+ - Do not ask the user for information that a listed teammate can provide directly.
22425
+ `);
22431
22426
  /**
22432
22427
  * Constant for remote agents by Url.
22433
22428
  */
@@ -22609,7 +22604,7 @@ function buildTeamSystemMessageBody(teamEntries) {
22609
22604
  `);
22610
22605
  });
22611
22606
  return spaceTrim$1((block) => `
22612
- ${block(TEAM_SYSTEM_MESSAGE_GUIDANCE_LINES.join('\n'))}
22607
+ ${block(TEAM_SYSTEM_MESSAGE_GUIDANCE)}
22613
22608
 
22614
22609
  ${block(teammateSections.join('\n\n'))}
22615
22610
  `);