@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.
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.113.0-4`).
18
+ * It follows semantic versioning (e.g., `0.113.0-5`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/node",
3
- "version": "0.113.0-5",
3
+ "version": "0.113.0-6",
4
4
  "description": "Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -97,7 +97,7 @@
97
97
  "types": "./esm/src/_packages/node.index.d.ts",
98
98
  "typings": "./esm/src/_packages/node.index.d.ts",
99
99
  "peerDependencies": {
100
- "@promptbook/core": "0.113.0-5"
100
+ "@promptbook/core": "0.113.0-6"
101
101
  },
102
102
  "dependencies": {
103
103
  "@mozilla/readability": "0.6.0",
package/umd/index.umd.js CHANGED
@@ -51,7 +51,7 @@
51
51
  * @generated
52
52
  * @see https://github.com/webgptorg/promptbook
53
53
  */
54
- const PROMPTBOOK_ENGINE_VERSION = '0.113.0-5';
54
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-6';
55
55
  /**
56
56
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
57
57
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -18904,7 +18904,7 @@
18904
18904
  isAnimated: true,
18905
18905
  supportsPointerTracking: true,
18906
18906
  render({ context, size, palette, createRandom, timeMs, interaction }) {
18907
- const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots } = getOctopus3d4StableState(createRandom);
18907
+ const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots, } = getOctopus3d4StableState(createRandom);
18908
18908
  const sceneCenterX = size * 0.5;
18909
18909
  const sceneCenterY = size * 0.535;
18910
18910
  const bob = Math.sin(timeMs / 980 + animationPhase) * size * 0.013;
@@ -19252,10 +19252,7 @@
19252
19252
  Math.max(0, Math.cos(effectiveLongitude)) * 0.12 +
19253
19253
  lowerBlend * tentacleInfluence.core * (0.12 + tentacleInfluence.depthScale * 0.07) -
19254
19254
  Math.max(0, -Math.cos(effectiveLongitude)) * 0.05;
19255
- const tentacleTubeRadius = lowerBlend *
19256
- tentacleInfluence.core *
19257
- (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) *
19258
- radiusX;
19255
+ const tentacleTubeRadius = lowerBlend * tentacleInfluence.core * (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) * radiusX;
19259
19256
  const planarRadiusX = cosineLatitude * radiusX * horizontalScale + tentacleTubeRadius;
19260
19257
  const planarRadiusZ = cosineLatitude * radiusZ * depthScale + tentacleTubeRadius * 0.74;
19261
19258
  const lowerDrop = lowerBlend *
@@ -19267,9 +19264,7 @@
19267
19264
  (morphologyProfile.tentacles.flowLengthScale - 1) * 0.1));
19268
19265
  const combinedTentacleSway = (primaryTentacleWave + secondaryTentacleWave) * radiusX * (0.06 + tipBlend * 0.06);
19269
19266
  return {
19270
- x: Math.sin(effectiveLongitude) * planarRadiusX +
19271
- combinedTentacleSway +
19272
- tentacleCurl * radiusX * 0.18,
19267
+ x: Math.sin(effectiveLongitude) * planarRadiusX + combinedTentacleSway + tentacleCurl * radiusX * 0.18,
19273
19268
  y: Math.sin(latitude) * radiusY * (1 + upperBlend * 0.14) -
19274
19269
  upperBlend * radiusY * 0.12 +
19275
19270
  lowerDrop +
@@ -22439,10 +22434,10 @@
22439
22434
  *
22440
22435
  * @private
22441
22436
  */
22442
- const TEAM_SYSTEM_MESSAGE_GUIDANCE_LINES = [
22443
- '- If a teammate is relevant to the request, consult that teammate using the matching tool.',
22444
- '- Do not ask the user for information that a listed teammate can provide directly.',
22445
- ];
22437
+ const TEAM_SYSTEM_MESSAGE_GUIDANCE = _spaceTrim.spaceTrim(`
22438
+ - If a teammate is relevant to the request, consult that teammate using the matching tool.
22439
+ - Do not ask the user for information that a listed teammate can provide directly.
22440
+ `);
22446
22441
  /**
22447
22442
  * Constant for remote agents by Url.
22448
22443
  */
@@ -22624,7 +22619,7 @@
22624
22619
  `);
22625
22620
  });
22626
22621
  return _spaceTrim.spaceTrim((block) => `
22627
- ${block(TEAM_SYSTEM_MESSAGE_GUIDANCE_LINES.join('\n'))}
22622
+ ${block(TEAM_SYSTEM_MESSAGE_GUIDANCE)}
22628
22623
 
22629
22624
  ${block(teammateSections.join('\n\n'))}
22630
22625
  `);