@promptbook/editable 0.112.0 → 0.113.0-0

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 (30) 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/cli/cli-commands/agents-server/buildAgentsServer.d.ts +6 -0
  11. package/esm/src/collection/agent-collection/CreateAgentInput.d.ts +2 -1
  12. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +21 -1
  13. package/esm/src/commitments/META_VISIBILITY/META_VISIBILITY.d.ts +27 -0
  14. package/esm/src/commitments/index.d.ts +2 -1
  15. package/esm/src/version.d.ts +1 -1
  16. package/package.json +2 -2
  17. package/umd/index.umd.js +1 -1
  18. package/umd/index.umd.js.map +1 -1
  19. package/umd/src/_packages/core.index.d.ts +22 -0
  20. package/umd/src/_packages/types.index.d.ts +2 -0
  21. package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +2 -0
  22. package/umd/src/book-2.0/agent-source/agentSourceVisibility.d.ts +97 -0
  23. package/umd/src/book-2.0/agent-source/agentSourceVisibility.test.d.ts +1 -0
  24. package/umd/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +1 -0
  25. package/umd/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +6 -0
  26. package/umd/src/collection/agent-collection/CreateAgentInput.d.ts +2 -1
  27. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +21 -1
  28. package/umd/src/commitments/META_VISIBILITY/META_VISIBILITY.d.ts +27 -0
  29. package/umd/src/commitments/index.d.ts +2 -1
  30. 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/editable`
53
56
 
54
57
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
@@ -80,7 +83,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
80
83
 
81
84
  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.
82
85
 
83
- 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.
86
+ 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.
84
87
 
85
88
  The main challenge lies in **managing the context**, providing rules and knowledge, and narrowing the personality.
86
89
 
@@ -88,17 +91,20 @@ In Promptbook, you define your agents **using simple Books** - a human-readable
88
91
 
89
92
  <table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
90
93
 
91
- **<ins>Paul Smith</ins>**<br/>
94
+ **<ins>Lawyer</ins>**<br/>
92
95
  <br/>
93
- **PERSONA** You are a company lawyer.<br/>
96
+ GOAL You are a company lawyer.<br/>
94
97
  Your job is to provide legal advice and support to the company and its employees.<br/>
95
- **GOAL** Respond to incoming legal inquiries via email and keep the company website updated with the latest legal policies.<br/>
98
+ Respond to incoming legal inquiries via email and keep the company website updated with the latest legal policies.<br/>
99
+ <br/>
96
100
  **RULE** You are knowledgeable, professional, and detail-oriented.<br/>
97
101
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
98
102
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
99
- **USE EMAIL**<br/>
100
- **USE BROWSER**<br/>
101
- **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/>
103
+ <br/>
104
+ USE EMAIL<br/>
105
+ USE BROWSER<br/>
106
+ <br/>
107
+ 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/>
102
108
 
103
109
  </td></tr></table>
104
110
 
@@ -131,12 +137,12 @@ Goals define what the agent should actively work toward. Unlike a chatbot that o
131
137
 
132
138
  <table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
133
139
 
134
- **<ins>Paul Smith & Associés</ins>**<br/>
140
+ **<ins>Company Lawyer</ins>**<br/>
135
141
  <br/>
136
- **PERSONA** You are a company lawyer.<br/>
142
+ GOAL<br/>
137
143
  Your job is to provide legal advice and support to the company and its employees.<br/>
138
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
139
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
144
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
145
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
140
146
 
141
147
  </td></tr></table>
142
148
 
@@ -154,8 +160,8 @@ Promptbook Engine will automatically enforce this knowledge during interactions.
154
160
  <br/>
155
161
  **PERSONA** You are a company lawyer.<br/>
156
162
  Your job is to provide legal advice and support to the company and its employees.<br/>
157
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
158
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
163
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
164
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
159
165
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
160
166
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
161
167
 
@@ -173,8 +179,8 @@ Depending on rule strictness, Promptbook will either propagate it to the prompt
173
179
  <br/>
174
180
  **PERSONA** You are a company lawyer.<br/>
175
181
  Your job is to provide legal advice and support to the company and its employees.<br/>
176
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
177
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
182
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
183
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
178
184
  **RULE** Always ensure compliance with local laws and regulations.<br/>
179
185
  **RULE** Never provide legal advice outside your area of expertise.<br/>
180
186
  **RULE** Never provide legal advice about criminal law.<br/>
@@ -195,16 +201,16 @@ These are what turn a chatbot into a persistent agent that actually does work.
195
201
  <br/>
196
202
  **PERSONA** You are a company lawyer.<br/>
197
203
  Your job is to provide legal advice and support to the company and its employees.<br/>
198
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
199
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
204
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
205
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
200
206
  **RULE** Always ensure compliance with local laws and regulations.<br/>
201
207
  **RULE** Never provide legal advice outside your area of expertise.<br/>
202
208
  **RULE** Never provide legal advice about criminal law.<br/>
203
209
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
204
210
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
205
- **USE EMAIL**<br/>
206
- **USE BROWSER**<br/>
207
- **USE SEARCH ENGINE**<br/>
211
+ USE EMAIL<br/>
212
+ USE BROWSER<br/>
213
+ USE SEARCH ENGINE<br/>
208
214
 
209
215
  </td></tr></table>
210
216
 
@@ -218,20 +224,22 @@ Team commitment allows you to define the team structure and advisory fellow memb
218
224
  <br/>
219
225
  **PERSONA** You are a company lawyer.<br/>
220
226
  Your job is to provide legal advice and support to the company and its employees.<br/>
221
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
222
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
227
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
228
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
223
229
  **RULE** Always ensure compliance with local laws and regulations.<br/>
224
230
  **RULE** Never provide legal advice outside your area of expertise.<br/>
225
231
  **RULE** Never provide legal advice about criminal law.<br/>
226
232
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
227
233
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
228
- **USE EMAIL**<br/>
229
- **USE BROWSER**<br/>
230
- **USE SEARCH ENGINE**<br/>
231
- **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/>
234
+ USE EMAIL<br/>
235
+ USE BROWSER<br/>
236
+ USE SEARCH ENGINE<br/>
237
+ 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/>
232
238
 
233
239
  </td></tr></table>
234
240
 
241
+
242
+
235
243
  ### Promptbook Ecosystem
236
244
 
237
245
  Promptbook is an ecosystem of tools centered around the **Agents Server** - a production-ready platform for running persistent AI agents.
@@ -254,6 +262,8 @@ The [Promptbook Engine](https://github.com/webgptorg/promptbook) is the open-sou
254
262
 
255
263
 
256
264
 
265
+
266
+
257
267
  ## 💜 The Promptbook Project
258
268
 
259
269
  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:
@@ -291,6 +301,8 @@ Promptbook project is an ecosystem centered around the **Agents Server** - a pla
291
301
  </tbody>
292
302
  </table>
293
303
 
304
+
305
+
294
306
  ### 🌐 Community & Social Media
295
307
 
296
308
  Join our growing community of developers and users:
@@ -347,6 +359,8 @@ Join our growing community of developers and users:
347
359
 
348
360
 
349
361
 
362
+
363
+
350
364
  ## 📚 Documentation
351
365
 
352
366
  See detailed guides and API reference in the [docs](https://github.com/webgptorg/promptbook/discussions/categories/concepts) or [online](https://discord.gg/x3QWNaa89N).
@@ -554,6 +568,8 @@ The following glossary is used to clarify certain concepts:
554
568
 
555
569
  _Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
556
570
 
571
+
572
+
557
573
  ### 💯 Core concepts
558
574
 
559
575
  - [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
package/esm/index.es.js CHANGED
@@ -17,7 +17,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
17
17
  * @generated
18
18
  * @see https://github.com/webgptorg/promptbook
19
19
  */
20
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0';
20
+ const PROMPTBOOK_ENGINE_VERSION = '0.113.0-0';
21
21
  /**
22
22
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
23
23
  * Note: [💞] Ignore a discrepancy between file name and entity name