@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.
@@ -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/remote-server",
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,
@@ -99,7 +99,7 @@
99
99
  "types": "./esm/src/_packages/remote-server.index.d.ts",
100
100
  "typings": "./esm/src/_packages/remote-server.index.d.ts",
101
101
  "peerDependencies": {
102
- "@promptbook/core": "0.113.0-5"
102
+ "@promptbook/core": "0.113.0-6"
103
103
  },
104
104
  "dependencies": {
105
105
  "@mozilla/readability": "0.6.0",
package/umd/index.umd.js CHANGED
@@ -53,7 +53,7 @@
53
53
  * @generated
54
54
  * @see https://github.com/webgptorg/promptbook
55
55
  */
56
- const PROMPTBOOK_ENGINE_VERSION = '0.113.0-5';
56
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-6';
57
57
  /**
58
58
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
59
59
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -17651,7 +17651,7 @@
17651
17651
  isAnimated: true,
17652
17652
  supportsPointerTracking: true,
17653
17653
  render({ context, size, palette, createRandom, timeMs, interaction }) {
17654
- const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots } = getOctopus3d4StableState(createRandom);
17654
+ const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots, } = getOctopus3d4StableState(createRandom);
17655
17655
  const sceneCenterX = size * 0.5;
17656
17656
  const sceneCenterY = size * 0.535;
17657
17657
  const bob = Math.sin(timeMs / 980 + animationPhase) * size * 0.013;
@@ -17999,10 +17999,7 @@
17999
17999
  Math.max(0, Math.cos(effectiveLongitude)) * 0.12 +
18000
18000
  lowerBlend * tentacleInfluence.core * (0.12 + tentacleInfluence.depthScale * 0.07) -
18001
18001
  Math.max(0, -Math.cos(effectiveLongitude)) * 0.05;
18002
- const tentacleTubeRadius = lowerBlend *
18003
- tentacleInfluence.core *
18004
- (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) *
18005
- radiusX;
18002
+ const tentacleTubeRadius = lowerBlend * tentacleInfluence.core * (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) * radiusX;
18006
18003
  const planarRadiusX = cosineLatitude * radiusX * horizontalScale + tentacleTubeRadius;
18007
18004
  const planarRadiusZ = cosineLatitude * radiusZ * depthScale + tentacleTubeRadius * 0.74;
18008
18005
  const lowerDrop = lowerBlend *
@@ -18014,9 +18011,7 @@
18014
18011
  (morphologyProfile.tentacles.flowLengthScale - 1) * 0.1));
18015
18012
  const combinedTentacleSway = (primaryTentacleWave + secondaryTentacleWave) * radiusX * (0.06 + tipBlend * 0.06);
18016
18013
  return {
18017
- x: Math.sin(effectiveLongitude) * planarRadiusX +
18018
- combinedTentacleSway +
18019
- tentacleCurl * radiusX * 0.18,
18014
+ x: Math.sin(effectiveLongitude) * planarRadiusX + combinedTentacleSway + tentacleCurl * radiusX * 0.18,
18020
18015
  y: Math.sin(latitude) * radiusY * (1 + upperBlend * 0.14) -
18021
18016
  upperBlend * radiusY * 0.12 +
18022
18017
  lowerDrop +
@@ -21186,10 +21181,10 @@
21186
21181
  *
21187
21182
  * @private
21188
21183
  */
21189
- const TEAM_SYSTEM_MESSAGE_GUIDANCE_LINES = [
21190
- '- If a teammate is relevant to the request, consult that teammate using the matching tool.',
21191
- '- Do not ask the user for information that a listed teammate can provide directly.',
21192
- ];
21184
+ const TEAM_SYSTEM_MESSAGE_GUIDANCE = _spaceTrim.spaceTrim(`
21185
+ - If a teammate is relevant to the request, consult that teammate using the matching tool.
21186
+ - Do not ask the user for information that a listed teammate can provide directly.
21187
+ `);
21193
21188
  /**
21194
21189
  * Constant for remote agents by Url.
21195
21190
  */
@@ -21371,7 +21366,7 @@
21371
21366
  `);
21372
21367
  });
21373
21368
  return _spaceTrim.spaceTrim((block) => `
21374
- ${block(TEAM_SYSTEM_MESSAGE_GUIDANCE_LINES.join('\n'))}
21369
+ ${block(TEAM_SYSTEM_MESSAGE_GUIDANCE)}
21375
21370
 
21376
21371
  ${block(teammateSections.join('\n\n'))}
21377
21372
  `);