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