@promptbook/core 0.113.0-5 → 0.113.0-7
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 +9 -14
- package/esm/index.es.js.map +1 -1
- package/esm/src/book-components/Chat/Chat/insertDictationChunk.d.ts +1 -1
- package/esm/src/book-components/Chat/Chat/insertDictationChunk.test.d.ts +1 -0
- package/esm/src/book-components/Chat/Chat/learnDictationDictionary.test.d.ts +1 -0
- package/esm/src/book-components/Chat/Chat/refineFinalDictationChunk.test.d.ts +1 -0
- package/esm/src/cli/cli-commands/common/createPositiveIntegerOptionParser.d.ts +10 -0
- package/esm/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +9 -14
- package/umd/index.umd.js.map +1 -1
- package/umd/src/book-components/Chat/Chat/insertDictationChunk.d.ts +1 -1
- package/umd/src/book-components/Chat/Chat/insertDictationChunk.test.d.ts +1 -0
- package/umd/src/book-components/Chat/Chat/learnDictationDictionary.test.d.ts +1 -0
- package/umd/src/book-components/Chat/Chat/refineFinalDictationChunk.test.d.ts +1 -0
- package/umd/src/cli/cli-commands/common/createPositiveIntegerOptionParser.d.ts +10 -0
- package/umd/src/version.d.ts +1 -1
package/esm/index.es.js
CHANGED
|
@@ -28,7 +28,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
28
28
|
* @generated
|
|
29
29
|
* @see https://github.com/webgptorg/promptbook
|
|
30
30
|
*/
|
|
31
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.113.0-
|
|
31
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.113.0-7';
|
|
32
32
|
/**
|
|
33
33
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
34
34
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -16635,7 +16635,7 @@ const octopus3d4AvatarVisual = {
|
|
|
16635
16635
|
isAnimated: true,
|
|
16636
16636
|
supportsPointerTracking: true,
|
|
16637
16637
|
render({ context, size, palette, createRandom, timeMs, interaction }) {
|
|
16638
|
-
const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots } = getOctopus3d4StableState(createRandom);
|
|
16638
|
+
const { morphologyProfile, animationPhase, leftEyePhaseOffset, rightEyePhaseOffset, tentacleProfiles, skinSpots, } = getOctopus3d4StableState(createRandom);
|
|
16639
16639
|
const sceneCenterX = size * 0.5;
|
|
16640
16640
|
const sceneCenterY = size * 0.535;
|
|
16641
16641
|
const bob = Math.sin(timeMs / 980 + animationPhase) * size * 0.013;
|
|
@@ -16983,10 +16983,7 @@ function sampleBlobbyContinuousSurfacePointWithLongitudeCache(options, latitude,
|
|
|
16983
16983
|
Math.max(0, Math.cos(effectiveLongitude)) * 0.12 +
|
|
16984
16984
|
lowerBlend * tentacleInfluence.core * (0.12 + tentacleInfluence.depthScale * 0.07) -
|
|
16985
16985
|
Math.max(0, -Math.cos(effectiveLongitude)) * 0.05;
|
|
16986
|
-
const tentacleTubeRadius = lowerBlend *
|
|
16987
|
-
tentacleInfluence.core *
|
|
16988
|
-
(0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) *
|
|
16989
|
-
radiusX;
|
|
16986
|
+
const tentacleTubeRadius = lowerBlend * tentacleInfluence.core * (0.12 + tipBlend * 0.07 + tentacleInfluence.widthScale * 0.028) * radiusX;
|
|
16990
16987
|
const planarRadiusX = cosineLatitude * radiusX * horizontalScale + tentacleTubeRadius;
|
|
16991
16988
|
const planarRadiusZ = cosineLatitude * radiusZ * depthScale + tentacleTubeRadius * 0.74;
|
|
16992
16989
|
const lowerDrop = lowerBlend *
|
|
@@ -16998,9 +16995,7 @@ function sampleBlobbyContinuousSurfacePointWithLongitudeCache(options, latitude,
|
|
|
16998
16995
|
(morphologyProfile.tentacles.flowLengthScale - 1) * 0.1));
|
|
16999
16996
|
const combinedTentacleSway = (primaryTentacleWave + secondaryTentacleWave) * radiusX * (0.06 + tipBlend * 0.06);
|
|
17000
16997
|
return {
|
|
17001
|
-
x: Math.sin(effectiveLongitude) * planarRadiusX +
|
|
17002
|
-
combinedTentacleSway +
|
|
17003
|
-
tentacleCurl * radiusX * 0.18,
|
|
16998
|
+
x: Math.sin(effectiveLongitude) * planarRadiusX + combinedTentacleSway + tentacleCurl * radiusX * 0.18,
|
|
17004
16999
|
y: Math.sin(latitude) * radiusY * (1 + upperBlend * 0.14) -
|
|
17005
17000
|
upperBlend * radiusY * 0.12 +
|
|
17006
17001
|
lowerDrop +
|
|
@@ -20170,10 +20165,10 @@ const teamToolTitles = {};
|
|
|
20170
20165
|
*
|
|
20171
20166
|
* @private
|
|
20172
20167
|
*/
|
|
20173
|
-
const
|
|
20174
|
-
|
|
20175
|
-
|
|
20176
|
-
|
|
20168
|
+
const TEAM_SYSTEM_MESSAGE_GUIDANCE = spaceTrim$1(`
|
|
20169
|
+
- If a teammate is relevant to the request, consult that teammate using the matching tool.
|
|
20170
|
+
- Do not ask the user for information that a listed teammate can provide directly.
|
|
20171
|
+
`);
|
|
20177
20172
|
/**
|
|
20178
20173
|
* Constant for remote agents by Url.
|
|
20179
20174
|
*/
|
|
@@ -20355,7 +20350,7 @@ function buildTeamSystemMessageBody(teamEntries) {
|
|
|
20355
20350
|
`);
|
|
20356
20351
|
});
|
|
20357
20352
|
return spaceTrim$1((block) => `
|
|
20358
|
-
${block(
|
|
20353
|
+
${block(TEAM_SYSTEM_MESSAGE_GUIDANCE)}
|
|
20359
20354
|
|
|
20360
20355
|
${block(teammateSections.join('\n\n'))}
|
|
20361
20356
|
`);
|