Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
169 changes: 167 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"postversion": "npm run update-version-in-config && ts-node ./scripts/generate-examples-jsons/generate-examples-jsons.ts --commit && npm run generate-packages --commit && npm run generate-documentation && npm run import-markdowns && git push && git push --tags && npm run use-packages"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-typescript": "8.3.0",
"@types/crypto-js": "4.2.2",
Expand Down
18 changes: 8 additions & 10 deletions src/_packages/anthropic-claude.index.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
// ⚠️ WARNING: This code has been generated so that any manual changes will be overwritten
// `@promptbook/anthropic-claude`

import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';
import { ANTHROPIC_CLAUDE_MODELS } from '../llm-providers/anthropic-claude/anthropic-claude-models';
import { AnthropicClaudeExecutionTools } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionTools';
import type { AnthropicClaudeExecutionToolsOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
import type { AnthropicClaudeExecutionToolsDirectOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
import type { AnthropicClaudeExecutionToolsProxiedOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
import { createAnthropicClaudeExecutionTools } from '../llm-providers/anthropic-claude/createAnthropicClaudeExecutionTools';
import { _AnthropicClaudeRegistration } from '../llm-providers/anthropic-claude/register-constructor';

import { AnthropicClaudeExecutionTools } from "../llm-providers/anthropic-claude/AnthropicClaudeExecutionTools";
import type { AnthropicClaudeExecutionToolsOptions } from "../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions";
import type { AnthropicClaudeExecutionToolsDirectOptions } from "../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions";
import type { AnthropicClaudeExecutionToolsProxiedOptions } from "../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions";
import { ANTHROPIC_CLAUDE_MODELS } from "../llm-providers/anthropic-claude/anthropic-claude-models";
import { createAnthropicClaudeExecutionTools } from "../llm-providers/anthropic-claude/createAnthropicClaudeExecutionTools";
import { _AnthropicClaudeRegistration } from "../llm-providers/anthropic-claude/register-constructor";
import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from "../version";

// Note: Exporting version from each package
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };


// Note: Entities of the `@promptbook/anthropic-claude`
export { ANTHROPIC_CLAUDE_MODELS };
export { AnthropicClaudeExecutionTools };
Expand Down
12 changes: 5 additions & 7 deletions src/_packages/azure-openai.index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
// ⚠️ WARNING: This code has been generated so that any manual changes will be overwritten
// `@promptbook/azure-openai`

import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';
import { AzureOpenAiExecutionTools } from '../llm-providers/azure-openai/AzureOpenAiExecutionTools';
import type { AzureOpenAiExecutionToolsOptions } from '../llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions';
import { createAzureOpenAiExecutionTools } from '../llm-providers/azure-openai/createAzureOpenAiExecutionTools';
import { _AzureOpenAiRegistration } from '../llm-providers/azure-openai/register-constructor';

import { AzureOpenAiExecutionTools } from "../llm-providers/azure-openai/AzureOpenAiExecutionTools";
import type { AzureOpenAiExecutionToolsOptions } from "../llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions";
import { createAzureOpenAiExecutionTools } from "../llm-providers/azure-openai/createAzureOpenAiExecutionTools";
import { _AzureOpenAiRegistration } from "../llm-providers/azure-openai/register-constructor";
import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from "../version";

// Note: Exporting version from each package
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };


// Note: Entities of the `@promptbook/azure-openai`
export { AzureOpenAiExecutionTools };
export type { AzureOpenAiExecutionToolsOptions };
Expand Down
12 changes: 5 additions & 7 deletions src/_packages/browser.index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
// ⚠️ WARNING: This code has been generated so that any manual changes will be overwritten
// `@promptbook/browser`

import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';
import { SimplePromptInterfaceTools } from '../dialogs/simple-prompt/SimplePromptInterfaceTools';
import { $provideScrapersForBrowser } from '../scrapers/_common/register/$provideScrapersForBrowser';
import { getLocalStorage } from '../storage/local-storage/getLocalStorage';
import { getSessionStorage } from '../storage/local-storage/getSessionStorage';

import { SimplePromptInterfaceTools } from "../dialogs/simple-prompt/SimplePromptInterfaceTools";
import { $provideScrapersForBrowser } from "../scrapers/_common/register/$provideScrapersForBrowser";
import { getLocalStorage } from "../storage/local-storage/getLocalStorage";
import { getSessionStorage } from "../storage/local-storage/getSessionStorage";
import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from "../version";

// Note: Exporting version from each package
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };


// Note: Entities of the `@promptbook/browser`
export { SimplePromptInterfaceTools };
export { $provideScrapersForBrowser };
Expand Down
58 changes: 28 additions & 30 deletions src/_packages/cli.index.ts
Original file line number Diff line number Diff line change
@@ -1,40 +1,38 @@
// ⚠️ WARNING: This code has been generated so that any manual changes will be overwritten
// `@promptbook/cli`

import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';
import { _CLI } from '../cli/main';
import { _AnthropicClaudeMetadataRegistration } from '../llm-providers/anthropic-claude/register-configuration';
import { _AnthropicClaudeRegistration } from '../llm-providers/anthropic-claude/register-constructor';
import { _AzureOpenAiMetadataRegistration } from '../llm-providers/azure-openai/register-configuration';
import { _AzureOpenAiRegistration } from '../llm-providers/azure-openai/register-constructor';
import { _DeepseekMetadataRegistration } from '../llm-providers/deepseek/register-configuration';
import { _DeepseekRegistration } from '../llm-providers/deepseek/register-constructor';
import { _GoogleMetadataRegistration } from '../llm-providers/google/register-configuration';
import { _GoogleRegistration } from '../llm-providers/google/register-constructor';
import { _OpenAiMetadataRegistration } from '../llm-providers/openai/register-configuration';
import { _OpenAiAssistantMetadataRegistration } from '../llm-providers/openai/register-configuration';
import { _OpenAiRegistration } from '../llm-providers/openai/register-constructor';
import { _OpenAiAssistantRegistration } from '../llm-providers/openai/register-constructor';
import { _BoilerplateScraperRegistration } from '../scrapers/_boilerplate/register-constructor';
import { _BoilerplateScraperMetadataRegistration } from '../scrapers/_boilerplate/register-metadata';
import { _LegacyDocumentScraperRegistration } from '../scrapers/document-legacy/register-constructor';
import { _LegacyDocumentScraperMetadataRegistration } from '../scrapers/document-legacy/register-metadata';
import { _DocumentScraperRegistration } from '../scrapers/document/register-constructor';
import { _DocumentScraperMetadataRegistration } from '../scrapers/document/register-metadata';
import { _MarkdownScraperRegistration } from '../scrapers/markdown/register-constructor';
import { _MarkdownScraperMetadataRegistration } from '../scrapers/markdown/register-metadata';
import { _MarkitdownScraperRegistration } from '../scrapers/markitdown/register-constructor';
import { _MarkitdownScraperMetadataRegistration } from '../scrapers/markitdown/register-metadata';
import { _PdfScraperRegistration } from '../scrapers/pdf/register-constructor';
import { _PdfScraperMetadataRegistration } from '../scrapers/pdf/register-metadata';
import { _WebsiteScraperRegistration } from '../scrapers/website/register-constructor';
import { _WebsiteScraperMetadataRegistration } from '../scrapers/website/register-metadata';

import { _CLI } from "../cli/main";
import { _AnthropicClaudeMetadataRegistration } from "../llm-providers/anthropic-claude/register-configuration";
import { _AnthropicClaudeRegistration } from "../llm-providers/anthropic-claude/register-constructor";
import { _AzureOpenAiMetadataRegistration } from "../llm-providers/azure-openai/register-configuration";
import { _AzureOpenAiRegistration } from "../llm-providers/azure-openai/register-constructor";
import { _DeepseekMetadataRegistration } from "../llm-providers/deepseek/register-configuration";
import { _DeepseekRegistration } from "../llm-providers/deepseek/register-constructor";
import { _GoogleMetadataRegistration } from "../llm-providers/google/register-configuration";
import { _GoogleRegistration } from "../llm-providers/google/register-constructor";
import { _OpenAiMetadataRegistration } from "../llm-providers/openai/register-configuration";
import { _OpenAiAssistantMetadataRegistration } from "../llm-providers/openai/register-configuration";
import { _OpenAiRegistration } from "../llm-providers/openai/register-constructor";
import { _OpenAiAssistantRegistration } from "../llm-providers/openai/register-constructor";
import { _BoilerplateScraperRegistration } from "../scrapers/_boilerplate/register-constructor";
import { _BoilerplateScraperMetadataRegistration } from "../scrapers/_boilerplate/register-metadata";
import { _LegacyDocumentScraperRegistration } from "../scrapers/document-legacy/register-constructor";
import { _LegacyDocumentScraperMetadataRegistration } from "../scrapers/document-legacy/register-metadata";
import { _DocumentScraperRegistration } from "../scrapers/document/register-constructor";
import { _DocumentScraperMetadataRegistration } from "../scrapers/document/register-metadata";
import { _MarkdownScraperRegistration } from "../scrapers/markdown/register-constructor";
import { _MarkdownScraperMetadataRegistration } from "../scrapers/markdown/register-metadata";
import { _MarkitdownScraperRegistration } from "../scrapers/markitdown/register-constructor";
import { _MarkitdownScraperMetadataRegistration } from "../scrapers/markitdown/register-metadata";
import { _PdfScraperRegistration } from "../scrapers/pdf/register-constructor";
import { _PdfScraperMetadataRegistration } from "../scrapers/pdf/register-metadata";
import { _WebsiteScraperRegistration } from "../scrapers/website/register-constructor";
import { _WebsiteScraperMetadataRegistration } from "../scrapers/website/register-metadata";
import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from "../version";

// Note: Exporting version from each package
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };


// Note: Entities of the `@promptbook/cli`
export { _CLI };
export { _AnthropicClaudeMetadataRegistration };
Expand Down
Loading