@promptbook/cli 0.112.0-13 → 0.112.0-15
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/esm/index.es.js +300 -268
- package/esm/index.es.js.map +1 -1
- package/{umd/src/cli/cli-commands/coder/find-fresh-emoji-tag.d.ts → esm/src/cli/cli-commands/coder/find-fresh-emoji-tags.d.ts} +1 -1
- package/esm/src/cli/cli-commands/coder.d.ts +1 -1
- package/esm/src/execution/createPipelineExecutor/30-executeFormatSubvalues.d.ts +1 -1
- package/esm/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
- package/esm/src/llm-providers/deepseek/deepseek-models.d.ts +1 -1
- package/esm/src/llm-providers/google/google-models.d.ts +1 -1
- package/esm/src/llm-providers/openai/openai-models.d.ts +1 -1
- package/esm/src/scrapers/_boilerplate/BoilerplateScraper.d.ts +1 -2
- package/esm/src/scrapers/document/DocumentScraper.d.ts +1 -2
- package/esm/src/scrapers/document-legacy/LegacyDocumentScraper.d.ts +1 -2
- package/esm/src/scripting/javascript/postprocessing-functions.d.ts +1 -1
- package/esm/src/utils/parameters/mapAvailableToExpectedParameters.d.ts +1 -2
- package/esm/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +516 -484
- package/umd/index.umd.js.map +1 -1
- package/{esm/src/cli/cli-commands/coder/find-fresh-emoji-tag.d.ts → umd/src/cli/cli-commands/coder/find-fresh-emoji-tags.d.ts} +1 -1
- package/umd/src/cli/cli-commands/coder.d.ts +1 -1
- package/umd/src/execution/createPipelineExecutor/30-executeFormatSubvalues.d.ts +1 -1
- package/umd/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
- package/umd/src/llm-providers/deepseek/deepseek-models.d.ts +1 -1
- package/umd/src/llm-providers/google/google-models.d.ts +1 -1
- package/umd/src/llm-providers/openai/openai-models.d.ts +1 -1
- package/umd/src/scrapers/_boilerplate/BoilerplateScraper.d.ts +1 -2
- package/umd/src/scrapers/document/DocumentScraper.d.ts +1 -2
- package/umd/src/scrapers/document-legacy/LegacyDocumentScraper.d.ts +1 -2
- package/umd/src/scripting/javascript/postprocessing-functions.d.ts +1 -1
- package/umd/src/utils/parameters/mapAvailableToExpectedParameters.d.ts +1 -2
- package/umd/src/version.d.ts +1 -1
- /package/esm/scripts/{find-fresh-emoji-tag/find-fresh-emoji-tag.d.ts → find-fresh-emoji-tags/find-fresh-emoji-tags.d.ts} +0 -0
- /package/esm/scripts/{find-fresh-emoji-tag → find-fresh-emoji-tags}/utils/$shuffleItems.d.ts +0 -0
- /package/esm/scripts/{find-fresh-emoji-tag → find-fresh-emoji-tags}/utils/emojis.d.ts +0 -0
- /package/umd/scripts/{find-fresh-emoji-tag/find-fresh-emoji-tag.d.ts → find-fresh-emoji-tags/find-fresh-emoji-tags.d.ts} +0 -0
- /package/umd/scripts/{find-fresh-emoji-tag → find-fresh-emoji-tags}/utils/$shuffleItems.d.ts +0 -0
- /package/umd/scripts/{find-fresh-emoji-tag → find-fresh-emoji-tags}/utils/emojis.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Command as Program } from 'commander';
|
|
2
2
|
import type { $side_effect } from '../../../utils/organization/$side_effect';
|
|
3
3
|
/**
|
|
4
|
-
* Initializes `coder find-fresh-emoji-
|
|
4
|
+
* Initializes `coder find-fresh-emoji-tags` command for Promptbook CLI utilities
|
|
5
5
|
*
|
|
6
6
|
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
7
7
|
*
|
|
@@ -8,7 +8,7 @@ import type { $side_effect } from '../../utils/organization/$side_effect';
|
|
|
8
8
|
* - find-refactor-candidates: Find files that need refactoring
|
|
9
9
|
* - run: Run coding prompts with AI agents
|
|
10
10
|
* - verify: Verify completed prompts
|
|
11
|
-
* - find-fresh-emoji-
|
|
11
|
+
* - find-fresh-emoji-tags: Find unused emoji tags
|
|
12
12
|
*
|
|
13
13
|
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
14
14
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PartialDeep, Promisable } from 'type-fest';
|
|
2
|
-
import type { TODO_any } from '../../utils/organization/TODO_any';
|
|
3
2
|
import type { LlmCall } from '../../types/LlmCall';
|
|
3
|
+
import type { TODO_any } from '../../utils/organization/TODO_any';
|
|
4
4
|
import type { PipelineExecutorResult } from '../PipelineExecutorResult';
|
|
5
5
|
import type { ExecuteAttemptsOptions } from './40-executeAttempts';
|
|
6
6
|
/**
|
|
@@ -3,7 +3,7 @@ import type { number_usd } from '../../types/typeAliases';
|
|
|
3
3
|
/**
|
|
4
4
|
* List of available Anthropic Claude models with pricing
|
|
5
5
|
*
|
|
6
|
-
* Note: Synced with official API docs at
|
|
6
|
+
* Note: Synced with official API docs at 2026-03-22
|
|
7
7
|
*
|
|
8
8
|
* @see https://docs.anthropic.com/en/docs/models-overview
|
|
9
9
|
* @public exported from `@promptbook/anthropic-claude`
|
|
@@ -3,7 +3,7 @@ import type { number_usd } from '../../types/typeAliases';
|
|
|
3
3
|
/**
|
|
4
4
|
* List of available Deepseek models with descriptions
|
|
5
5
|
*
|
|
6
|
-
* Note: Synced with official API docs at
|
|
6
|
+
* Note: Synced with official API docs at 2026-03-22
|
|
7
7
|
*
|
|
8
8
|
* @see https://www.deepseek.com/models
|
|
9
9
|
* @public exported from `@promptbook/deepseek`
|
|
@@ -3,7 +3,7 @@ import type { number_usd } from '../../types/typeAliases';
|
|
|
3
3
|
/**
|
|
4
4
|
* List of available Google models with descriptions
|
|
5
5
|
*
|
|
6
|
-
* Note: Synced with official API docs at
|
|
6
|
+
* Note: Synced with official API docs at 2026-03-22
|
|
7
7
|
*
|
|
8
8
|
* @see https://ai.google.dev/models/gemini
|
|
9
9
|
* @public exported from `@promptbook/google`
|
|
@@ -2,7 +2,7 @@ import type { AvailableModel } from '../../execution/AvailableModel';
|
|
|
2
2
|
/**
|
|
3
3
|
* List of available OpenAI models with pricing
|
|
4
4
|
*
|
|
5
|
-
* Note: Synced with official API docs at
|
|
5
|
+
* Note: Synced with official API docs at 2026-03-22
|
|
6
6
|
*
|
|
7
7
|
* @see https://platform.openai.com/docs/models/
|
|
8
8
|
* @see https://openai.com/api/pricing/
|
|
@@ -3,8 +3,7 @@ import type { KnowledgePiecePreparedJson } from '../../pipeline/PipelineJson/Kno
|
|
|
3
3
|
import type { PrepareAndScrapeOptions } from '../../prepare/PrepareAndScrapeOptions';
|
|
4
4
|
import type { Converter } from '../_common/Converter';
|
|
5
5
|
import type { ScraperAndConverterMetadata } from '../_common/register/ScraperAndConverterMetadata';
|
|
6
|
-
import type { Scraper } from '../_common/Scraper';
|
|
7
|
-
import type { ScraperSourceHandler } from '../_common/Scraper';
|
|
6
|
+
import type { Scraper, ScraperSourceHandler } from '../_common/Scraper';
|
|
8
7
|
import type { ScraperIntermediateSource } from '../_common/ScraperIntermediateSource';
|
|
9
8
|
/**
|
|
10
9
|
* Scraper of @@ files
|
|
@@ -3,8 +3,7 @@ import type { ExecutionTools } from '../../execution/ExecutionTools';
|
|
|
3
3
|
import type { PrepareAndScrapeOptions } from '../../prepare/PrepareAndScrapeOptions';
|
|
4
4
|
import type { Converter } from '../_common/Converter';
|
|
5
5
|
import type { ScraperAndConverterMetadata } from '../_common/register/ScraperAndConverterMetadata';
|
|
6
|
-
import type { Scraper } from '../_common/Scraper';
|
|
7
|
-
import type { ScraperSourceHandler } from '../_common/Scraper';
|
|
6
|
+
import type { Scraper, ScraperSourceHandler } from '../_common/Scraper';
|
|
8
7
|
import type { ScraperIntermediateSource } from '../_common/ScraperIntermediateSource';
|
|
9
8
|
/**
|
|
10
9
|
* Scraper of .docx and .odt files
|
|
@@ -3,8 +3,7 @@ import type { ExecutionTools } from '../../execution/ExecutionTools';
|
|
|
3
3
|
import type { PrepareAndScrapeOptions } from '../../prepare/PrepareAndScrapeOptions';
|
|
4
4
|
import type { Converter } from '../_common/Converter';
|
|
5
5
|
import type { ScraperAndConverterMetadata } from '../_common/register/ScraperAndConverterMetadata';
|
|
6
|
-
import type { Scraper } from '../_common/Scraper';
|
|
7
|
-
import type { ScraperSourceHandler } from '../_common/Scraper';
|
|
6
|
+
import type { Scraper, ScraperSourceHandler } from '../_common/Scraper';
|
|
8
7
|
import type { ScraperIntermediateSource } from '../_common/ScraperIntermediateSource';
|
|
9
8
|
/**
|
|
10
9
|
* Scraper for old document files (like .doc and .rtf)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import spaceTrim from 'spacetrim';
|
|
1
|
+
import { spaceTrim } from 'spacetrim';
|
|
2
2
|
import { extractBlock } from '../../postprocessing/utils/extractBlock';
|
|
3
3
|
import { prettifyMarkdown } from '../../utils/markdown/prettifyMarkdown';
|
|
4
4
|
import { trimCodeBlock } from '../../utils/markdown/trimCodeBlock';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { string_parameter_name } from '../../types/typeAliases';
|
|
2
|
-
import type { string_parameter_value } from '../../types/typeAliases';
|
|
1
|
+
import type { string_parameter_name, string_parameter_value } from '../../types/typeAliases';
|
|
3
2
|
/**
|
|
4
3
|
* Options for mapping available parameters to expected parameters in a pipeline task.
|
|
5
4
|
*/
|
package/esm/src/version.d.ts
CHANGED
|
@@ -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.112.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.112.0-14`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|