@promptbook/components 0.112.0-134 → 0.112.0-136

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/servers.d.ts CHANGED
@@ -25,15 +25,7 @@ type ServerConfiguration = {
25
25
  url: string_promptbook_server_url;
26
26
  };
27
27
  /**
28
- * Core Promptbook server configuration
29
- *
30
- * Used for "Adam" agent which is built in as default ancestor for new agents and other well known agents
31
- *
32
- * @public exported from `@promptbook/core`
33
- */
34
- export declare const CORE_AGENTS_SERVER: ServerConfiguration;
35
- /**
36
- * Names of well known agents hosted on Core Promptbook server
28
+ * Names of well known agents bundled in the local `.core` folder of every Agents Server
37
29
  *
38
30
  * - `Adam`: The default ancestor agent for new agents
39
31
  * - `Teacher`: Agent that knows book syntax and can help with self-learning
@@ -221,7 +221,6 @@ import { normalizeChatAttachments } from '../utils/chat/chatAttachments/normaliz
221
221
  import { resolveChatAttachmentContents } from '../utils/chat/chatAttachments/resolveChatAttachmentContents';
222
222
  import { aboutPromptbookInformation } from '../utils/misc/aboutPromptbookInformation';
223
223
  import { $generateBookBoilerplate } from '../utils/random/$generateBookBoilerplate';
224
- import { CORE_AGENTS_SERVER } from '../../servers';
225
224
  import { CORE_AGENTS_SERVER_WELL_KNOWN_AGENT_NAMES } from '../../servers';
226
225
  import { PUBLIC_AGENTS_SERVERS } from '../../servers';
227
226
  export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
@@ -447,6 +446,5 @@ export { normalizeChatAttachments };
447
446
  export { resolveChatAttachmentContents };
448
447
  export { aboutPromptbookInformation };
449
448
  export { $generateBookBoilerplate };
450
- export { CORE_AGENTS_SERVER };
451
449
  export { CORE_AGENTS_SERVER_WELL_KNOWN_AGENT_NAMES };
452
450
  export { PUBLIC_AGENTS_SERVERS };
@@ -7,7 +7,7 @@ import type { AvatarDefinition } from './AvatarDefinition';
7
7
  *
8
8
  * @private shared contract for the avatar rendering system
9
9
  */
10
- export type AvatarVisualId = 'pixel-art' | 'octopus' | 'octopus2' | 'octopus3' | 'octopus3d' | 'octopus3d2' | 'octopus3d3' | 'ascii-octopus' | 'minecraft' | 'minecraft2' | 'fractal' | 'orb';
10
+ export type AvatarVisualId = 'pixel-art' | 'octopus' | 'octopus2' | 'octopus3' | 'octopus3d' | 'octopus3d2' | 'octopus3d3' | 'octopus3d4' | 'ascii-octopus' | 'minecraft' | 'minecraft2' | 'fractal' | 'orb';
11
11
  /**
12
12
  * Derived color palette used by avatar visuals.
13
13
  *
@@ -0,0 +1,7 @@
1
+ import type { AvatarVisualDefinition } from '../types/AvatarVisualDefinition';
2
+ /**
3
+ * Octopus 3D 4 avatar visual.
4
+ *
5
+ * @private built-in avatar visual
6
+ */
7
+ export declare const octopus3d4AvatarVisual: AvatarVisualDefinition;
@@ -8,6 +8,11 @@ import type { really_unknown } from '../../organization/really_unknown';
8
8
  * - `isValidAgentUrl` *(this one)* which tests just agent URL
9
9
  * - `isValidPipelineUrl` which tests just pipeline URL
10
10
  *
11
+ * Note: This is a pure structural validator and does not block private/internal network
12
+ * addresses. Callers that fetch the URL server-side from an untrusted network context must
13
+ * additionally apply the `assertSafeUrl` SSRF guard from the Agents Server before any
14
+ * outbound request.
15
+ *
11
16
  * @public exported from `@promptbook/utils`
12
17
  */
13
18
  export declare function isValidAgentUrl(url: really_unknown): url is string_agent_url;
@@ -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.112.0-133`).
18
+ * It follows semantic versioning (e.g., `0.112.0-135`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/components",
3
- "version": "0.112.0-134",
3
+ "version": "0.112.0-136",
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,