@promptbook/cli 0.103.0-44 → 0.103.0-45

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 (43) hide show
  1. package/apps/agents-server/README.md +3 -0
  2. package/apps/agents-server/TODO.txt +6 -0
  3. package/apps/agents-server/config.ts.todo +312 -0
  4. package/apps/agents-server/next.config.ts +42 -0
  5. package/apps/agents-server/package.json +11 -0
  6. package/apps/agents-server/postcss.config.mjs +8 -0
  7. package/apps/agents-server/public/.gitkeep +0 -0
  8. package/apps/agents-server/public/favicon.ico +0 -0
  9. package/apps/agents-server/public/logo-blue-white-256.png +0 -0
  10. package/apps/agents-server/src/app/AddAgentButton.tsx +20 -0
  11. package/apps/agents-server/src/app/actions.ts +14 -0
  12. package/apps/agents-server/src/app/agents/[agentName]/AgentUrlCopy.tsx +41 -0
  13. package/apps/agents-server/src/app/agents/[agentName]/TODO.txt +1 -0
  14. package/apps/agents-server/src/app/agents/[agentName]/api/chat/route.ts +60 -0
  15. package/apps/agents-server/src/app/agents/[agentName]/book+chat/SelfLearningBook.tsx +203 -0
  16. package/apps/agents-server/src/app/agents/[agentName]/book+chat/page.tsx +18 -0
  17. package/apps/agents-server/src/app/agents/[agentName]/page.tsx +155 -0
  18. package/apps/agents-server/src/app/api/chat/route.ts +32 -0
  19. package/apps/agents-server/src/app/api/chat-streaming/route.ts +44 -0
  20. package/apps/agents-server/src/app/api/long-running-task/route.ts +7 -0
  21. package/apps/agents-server/src/app/api/long-streaming/route.ts +20 -0
  22. package/apps/agents-server/src/app/globals.css +113 -0
  23. package/apps/agents-server/src/app/layout.tsx +72 -0
  24. package/apps/agents-server/src/app/page.tsx +115 -0
  25. package/apps/agents-server/src/deamons/longRunningTask.ts +37 -0
  26. package/apps/agents-server/src/supabase/TODO.txt +1 -0
  27. package/apps/agents-server/src/supabase/getSupabase.ts +25 -0
  28. package/apps/agents-server/src/supabase/getSupabaseForBrowser.ts +37 -0
  29. package/apps/agents-server/src/supabase/getSupabaseForServer.ts +48 -0
  30. package/apps/agents-server/src/supabase/getSupabaseForWorker.ts +42 -0
  31. package/apps/agents-server/src/tools/$provideAgentCollectionForServer.ts +49 -0
  32. package/apps/agents-server/src/tools/$provideExecutionToolsForServer.ts +110 -0
  33. package/apps/agents-server/src/tools/$provideOpenAiAssistantExecutionToolsForServer.ts +35 -0
  34. package/apps/agents-server/tailwind.config.ts +24 -0
  35. package/apps/agents-server/tsconfig.json +29 -0
  36. package/esm/index.es.js +2 -1
  37. package/esm/index.es.js.map +1 -1
  38. package/esm/typings/src/remote-server/startAgentServer.d.ts +3 -0
  39. package/esm/typings/src/remote-server/startRemoteServer.d.ts +1 -0
  40. package/esm/typings/src/version.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/umd/index.umd.js +2 -1
  43. package/umd/index.umd.js.map +1 -1
@@ -21,3 +21,6 @@ type AgentsServerOptions = {
21
21
  */
22
22
  export declare function startAgentServer(options: AgentsServerOptions): Promise<TODO_any>;
23
23
  export {};
24
+ /**
25
+ * Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
26
+ */
@@ -25,4 +25,5 @@ export declare function startRemoteServer<TCustomOptions = undefined>(options: R
25
25
  * TODO: [🃏] Pass here some security token to prevent malitious usage and/or DDoS
26
26
  * TODO: [0] Set unavailable models as undefined in `RemoteLlmExecutionTools` NOT throw error here
27
27
  * TODO: Allow to constrain anonymous mode for specific models / providers
28
+ * Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
28
29
  */
@@ -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.103.0-43`).
18
+ * It follows semantic versioning (e.g., `0.103.0-44`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/cli",
3
- "version": "0.103.0-44",
3
+ "version": "0.103.0-45",
4
4
  "description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
5
5
  "private": false,
6
6
  "sideEffects": false,
package/umd/index.umd.js CHANGED
@@ -56,7 +56,7 @@
56
56
  * @generated
57
57
  * @see https://github.com/webgptorg/promptbook
58
58
  */
59
- const PROMPTBOOK_ENGINE_VERSION = '0.103.0-44';
59
+ const PROMPTBOOK_ENGINE_VERSION = '0.103.0-45';
60
60
  /**
61
61
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
62
62
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -16380,6 +16380,7 @@
16380
16380
  * TODO: [🃏] Pass here some security token to prevent malitious usage and/or DDoS
16381
16381
  * TODO: [0] Set unavailable models as undefined in `RemoteLlmExecutionTools` NOT throw error here
16382
16382
  * TODO: Allow to constrain anonymous mode for specific models / providers
16383
+ * Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
16383
16384
  */
16384
16385
 
16385
16386
  /**