@promptbook/cli 0.113.0-1 → 0.113.0-3
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/README.md +1 -17
- package/agents/default/developer.book +3 -0
- package/apps/agents-server/src/app/admin/task-manager/TaskManagerClient.tsx +3 -3
- package/apps/agents-server/src/app/admin/task-manager/TaskManagerTaskRow.tsx +4 -0
- package/apps/agents-server/src/app/admin/task-manager/TaskManagerTasksCard.tsx +5 -5
- package/apps/agents-server/src/app/api/page-preview/check/route.ts +20 -5
- package/apps/agents-server/src/app/api/page-preview/input/route.ts +161 -0
- package/apps/agents-server/src/app/api/page-preview/screenshot/route.ts +21 -13
- package/apps/agents-server/src/app/api/page-preview/stream/route.ts +81 -0
- package/apps/agents-server/src/components/Header/HeaderHomepageLink.tsx +1 -1
- package/apps/agents-server/src/utils/chatTasksAdmin.ts +2 -1
- package/apps/agents-server/src/utils/createPagePreviewBrowserStream.ts +179 -0
- package/apps/agents-server/src/utils/getAdminChatTasksResponse.ts +56 -30
- package/apps/agents-server/src/utils/pagePreviewBrowserSessions.ts +234 -0
- package/esm/index.es.js +26 -5
- package/esm/index.es.js.map +1 -1
- package/esm/src/book-components/Chat/Chat/CitationIframePreview.d.ts +1 -1
- package/esm/src/book-components/Chat/Chat/CitationIframePreview.test.d.ts +2 -0
- package/esm/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/book-components/Chat/Chat/Chat.module.css +40 -12
- package/src/book-components/Chat/Chat/CitationIframePreview.tsx +108 -156
- package/src/book-components/Chat/Chat/createProgressCardChecklistMarkdown.ts +1 -8
- package/src/cli/promptbookCli.ts +28 -3
- package/src/other/templates/getTemplatesPipelineCollection.ts +738 -761
- package/src/version.ts +2 -2
- package/src/versions.txt +1 -0
- package/umd/index.umd.js +26 -5
- package/umd/index.umd.js.map +1 -1
- package/umd/src/book-components/Chat/Chat/CitationIframePreview.d.ts +1 -1
- package/umd/src/book-components/Chat/Chat/CitationIframePreview.test.d.ts +2 -0
- package/umd/src/version.d.ts +1 -1
- package/apps/agents-server/src/app/api/page-preview/interact/route.ts +0 -179
- package/apps/agents-server/src/app/api/page-preview/live/route.ts +0 -67
- package/apps/agents-server/src/utils/pagePreview/livePagePreviewSessions.ts +0 -365
- package/apps/agents-server/src/utils/pagePreview/resolvePagePreviewRequestUrl.ts +0 -74
- package/esm/src/book-components/Chat/utils/livePagePreviewConstants.d.ts +0 -12
- package/src/book-components/Chat/utils/livePagePreviewConstants.ts +0 -17
- package/umd/src/book-components/Chat/utils/livePagePreviewConstants.d.ts +0 -12
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Width of the browser viewport used for live knowledge previews.
|
|
3
|
-
*
|
|
4
|
-
* @private shared constant of Agents Server knowledge previews
|
|
5
|
-
*/
|
|
6
|
-
export declare const LIVE_PAGE_PREVIEW_VIEWPORT_WIDTH = 1280;
|
|
7
|
-
/**
|
|
8
|
-
* Height of the browser viewport used for live knowledge previews.
|
|
9
|
-
*
|
|
10
|
-
* @private shared constant of Agents Server knowledge previews
|
|
11
|
-
*/
|
|
12
|
-
export declare const LIVE_PAGE_PREVIEW_VIEWPORT_HEIGHT = 800;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-magic-numbers */
|
|
2
|
-
|
|
3
|
-
// Note: [💞] Ignore a discrepancy between file name and exported helper names
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Width of the browser viewport used for live knowledge previews.
|
|
7
|
-
*
|
|
8
|
-
* @private shared constant of Agents Server knowledge previews
|
|
9
|
-
*/
|
|
10
|
-
export const LIVE_PAGE_PREVIEW_VIEWPORT_WIDTH = 1280;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Height of the browser viewport used for live knowledge previews.
|
|
14
|
-
*
|
|
15
|
-
* @private shared constant of Agents Server knowledge previews
|
|
16
|
-
*/
|
|
17
|
-
export const LIVE_PAGE_PREVIEW_VIEWPORT_HEIGHT = 800;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Width of the browser viewport used for live knowledge previews.
|
|
3
|
-
*
|
|
4
|
-
* @private shared constant of Agents Server knowledge previews
|
|
5
|
-
*/
|
|
6
|
-
export declare const LIVE_PAGE_PREVIEW_VIEWPORT_WIDTH = 1280;
|
|
7
|
-
/**
|
|
8
|
-
* Height of the browser viewport used for live knowledge previews.
|
|
9
|
-
*
|
|
10
|
-
* @private shared constant of Agents Server knowledge previews
|
|
11
|
-
*/
|
|
12
|
-
export declare const LIVE_PAGE_PREVIEW_VIEWPORT_HEIGHT = 800;
|