@promptbook/markdown-utils 0.112.0 → 0.113.0-1

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.
Files changed (34) hide show
  1. package/README.md +45 -29
  2. package/esm/index.es.js +1 -1
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/src/_packages/core.index.d.ts +22 -0
  5. package/esm/src/_packages/types.index.d.ts +2 -0
  6. package/esm/src/book-2.0/agent-source/AgentBasicInformation.d.ts +2 -0
  7. package/esm/src/book-2.0/agent-source/agentSourceVisibility.d.ts +97 -0
  8. package/esm/src/book-2.0/agent-source/agentSourceVisibility.test.d.ts +1 -0
  9. package/esm/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +1 -0
  10. package/esm/src/book-components/Chat/Chat/CitationIframePreview.d.ts +2 -2
  11. package/esm/src/book-components/Chat/utils/livePagePreviewConstants.d.ts +12 -0
  12. package/esm/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +6 -0
  13. package/esm/src/collection/agent-collection/CreateAgentInput.d.ts +2 -1
  14. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +21 -1
  15. package/esm/src/commitments/META_VISIBILITY/META_VISIBILITY.d.ts +27 -0
  16. package/esm/src/commitments/index.d.ts +2 -1
  17. package/esm/src/version.d.ts +1 -1
  18. package/package.json +1 -1
  19. package/umd/index.umd.js +1 -1
  20. package/umd/index.umd.js.map +1 -1
  21. package/umd/src/_packages/core.index.d.ts +22 -0
  22. package/umd/src/_packages/types.index.d.ts +2 -0
  23. package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +2 -0
  24. package/umd/src/book-2.0/agent-source/agentSourceVisibility.d.ts +97 -0
  25. package/umd/src/book-2.0/agent-source/agentSourceVisibility.test.d.ts +1 -0
  26. package/umd/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +1 -0
  27. package/umd/src/book-components/Chat/Chat/CitationIframePreview.d.ts +2 -2
  28. package/umd/src/book-components/Chat/utils/livePagePreviewConstants.d.ts +12 -0
  29. package/umd/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +6 -0
  30. package/umd/src/collection/agent-collection/CreateAgentInput.d.ts +2 -1
  31. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +21 -1
  32. package/umd/src/commitments/META_VISIBILITY/META_VISIBILITY.d.ts +27 -0
  33. package/umd/src/commitments/index.d.ts +2 -1
  34. package/umd/src/version.d.ts +1 -1
package/README.md CHANGED
@@ -41,14 +41,17 @@ Non-interactive mode takes defaults from command-line options. When `--openai-ap
41
41
  sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/other/vps/install.sh | bash -s -- \
42
42
  --non-interactive \
43
43
  --yes-i-understand-that-script-should-be-run-on-fresh-server \
44
- --domain s24.ptbk.io \
45
- --openai-api-key sk-proj-abcdef \
46
- --sentry-dsn https://abc@def.ingest.de.sentry.io/123 \
44
+ --domain my-server.com \
45
+ --openai-api-key sk-proj-xxx \
47
46
  --admin-password xxx
48
47
  ```
49
48
 
50
49
 
51
50
 
51
+ <blockquote style="color: #ff8811">
52
+ <b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
53
+ </blockquote>
54
+
52
55
  ## 📦 Package `@promptbook/markdown-utils`
53
56
 
54
57
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
@@ -164,7 +167,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
164
167
 
165
168
  Promptbook lets you create **persistent AI agents** that work on real goals for your company. The [**Agents Server**](https://gallery.ptbk.io/) is the heart of the project - a place where your AI agents live, remember context, collaborate in teams, and get things done.
166
169
 
167
- Nowadays, the biggest challenge for most business applications isn't the raw capabilities of AI models. Large language models such as GPT-5.2 and Claude-4.5 are incredibly capable.
170
+ Nowadays, the biggest challenge for most business applications isn't the raw capabilities of AI models. Large language models such as Claude Mythos, GPT-5.6 or Kimi K2.7 are incredibly capable.
168
171
 
169
172
  The main challenge lies in **managing the context**, providing rules and knowledge, and narrowing the personality.
170
173
 
@@ -172,17 +175,20 @@ In Promptbook, you define your agents **using simple Books** - a human-readable
172
175
 
173
176
  <table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
174
177
 
175
- **<ins>Paul Smith</ins>**<br/>
178
+ **<ins>Lawyer</ins>**<br/>
176
179
  <br/>
177
- **PERSONA** You are a company lawyer.<br/>
180
+ GOAL You are a company lawyer.<br/>
178
181
  Your job is to provide legal advice and support to the company and its employees.<br/>
179
- **GOAL** Respond to incoming legal inquiries via email and keep the company website updated with the latest legal policies.<br/>
182
+ Respond to incoming legal inquiries via email and keep the company website updated with the latest legal policies.<br/>
183
+ <br/>
180
184
  **RULE** You are knowledgeable, professional, and detail-oriented.<br/>
181
185
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
182
186
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
183
- **USE EMAIL**<br/>
184
- **USE BROWSER**<br/>
185
- **TEAM** You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.<br/>
187
+ <br/>
188
+ USE EMAIL<br/>
189
+ USE BROWSER<br/>
190
+ <br/>
191
+ TEAM You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.<br/>
186
192
 
187
193
  </td></tr></table>
188
194
 
@@ -215,12 +221,12 @@ Goals define what the agent should actively work toward. Unlike a chatbot that o
215
221
 
216
222
  <table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
217
223
 
218
- **<ins>Paul Smith & Associés</ins>**<br/>
224
+ **<ins>Company Lawyer</ins>**<br/>
219
225
  <br/>
220
- **PERSONA** You are a company lawyer.<br/>
226
+ GOAL<br/>
221
227
  Your job is to provide legal advice and support to the company and its employees.<br/>
222
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
223
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
228
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
229
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
224
230
 
225
231
  </td></tr></table>
226
232
 
@@ -238,8 +244,8 @@ Promptbook Engine will automatically enforce this knowledge during interactions.
238
244
  <br/>
239
245
  **PERSONA** You are a company lawyer.<br/>
240
246
  Your job is to provide legal advice and support to the company and its employees.<br/>
241
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
242
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
247
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
248
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
243
249
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
244
250
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
245
251
 
@@ -257,8 +263,8 @@ Depending on rule strictness, Promptbook will either propagate it to the prompt
257
263
  <br/>
258
264
  **PERSONA** You are a company lawyer.<br/>
259
265
  Your job is to provide legal advice and support to the company and its employees.<br/>
260
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
261
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
266
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
267
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
262
268
  **RULE** Always ensure compliance with local laws and regulations.<br/>
263
269
  **RULE** Never provide legal advice outside your area of expertise.<br/>
264
270
  **RULE** Never provide legal advice about criminal law.<br/>
@@ -279,16 +285,16 @@ These are what turn a chatbot into a persistent agent that actually does work.
279
285
  <br/>
280
286
  **PERSONA** You are a company lawyer.<br/>
281
287
  Your job is to provide legal advice and support to the company and its employees.<br/>
282
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
283
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
288
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
289
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
284
290
  **RULE** Always ensure compliance with local laws and regulations.<br/>
285
291
  **RULE** Never provide legal advice outside your area of expertise.<br/>
286
292
  **RULE** Never provide legal advice about criminal law.<br/>
287
293
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
288
294
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
289
- **USE EMAIL**<br/>
290
- **USE BROWSER**<br/>
291
- **USE SEARCH ENGINE**<br/>
295
+ USE EMAIL<br/>
296
+ USE BROWSER<br/>
297
+ USE SEARCH ENGINE<br/>
292
298
 
293
299
  </td></tr></table>
294
300
 
@@ -302,20 +308,22 @@ Team commitment allows you to define the team structure and advisory fellow memb
302
308
  <br/>
303
309
  **PERSONA** You are a company lawyer.<br/>
304
310
  Your job is to provide legal advice and support to the company and its employees.<br/>
305
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
306
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
311
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
312
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
307
313
  **RULE** Always ensure compliance with local laws and regulations.<br/>
308
314
  **RULE** Never provide legal advice outside your area of expertise.<br/>
309
315
  **RULE** Never provide legal advice about criminal law.<br/>
310
316
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
311
317
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
312
- **USE EMAIL**<br/>
313
- **USE BROWSER**<br/>
314
- **USE SEARCH ENGINE**<br/>
315
- **TEAM** You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.<br/>
318
+ USE EMAIL<br/>
319
+ USE BROWSER<br/>
320
+ USE SEARCH ENGINE<br/>
321
+ TEAM You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.<br/>
316
322
 
317
323
  </td></tr></table>
318
324
 
325
+
326
+
319
327
  ### Promptbook Ecosystem
320
328
 
321
329
  Promptbook is an ecosystem of tools centered around the **Agents Server** - a production-ready platform for running persistent AI agents.
@@ -338,6 +346,8 @@ The [Promptbook Engine](https://github.com/webgptorg/promptbook) is the open-sou
338
346
 
339
347
 
340
348
 
349
+
350
+
341
351
  ## 💜 The Promptbook Project
342
352
 
343
353
  Promptbook project is an ecosystem centered around the **Agents Server** - a platform for creating, deploying, and running persistent AI agents. Following is a list of the most important pieces of the project:
@@ -375,6 +385,8 @@ Promptbook project is an ecosystem centered around the **Agents Server** - a pla
375
385
  </tbody>
376
386
  </table>
377
387
 
388
+
389
+
378
390
  ### 🌐 Community & Social Media
379
391
 
380
392
  Join our growing community of developers and users:
@@ -431,6 +443,8 @@ Join our growing community of developers and users:
431
443
 
432
444
 
433
445
 
446
+
447
+
434
448
  ## 📚 Documentation
435
449
 
436
450
  See detailed guides and API reference in the [docs](https://github.com/webgptorg/promptbook/discussions/categories/concepts) or [online](https://discord.gg/x3QWNaa89N).
@@ -638,6 +652,8 @@ The following glossary is used to clarify certain concepts:
638
652
 
639
653
  _Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
640
654
 
655
+
656
+
641
657
  ### 💯 Core concepts
642
658
 
643
659
  - [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
package/esm/index.es.js CHANGED
@@ -22,7 +22,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
22
22
  * @generated
23
23
  * @see https://github.com/webgptorg/promptbook
24
24
  */
25
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0';
25
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-1';
26
26
  /**
27
27
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
28
28
  * Note: [💞] Ignore a discrepancy between file name and entity name