@promptbook/node 0.112.0-115 → 0.112.0-117
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 +26165 -24244
- package/esm/index.es.js.map +1 -1
- package/esm/scripts/run-agent-chat/executeAgentChatTurn.d.ts +28 -0
- package/esm/scripts/run-agent-messages/messages/buildAgentMessagePrompt.d.ts +4 -0
- package/esm/scripts/run-agent-messages/messages/buildAgentMessageScriptPath.d.ts +5 -0
- package/esm/scripts/run-agent-messages/messages/createAgentRunnerSystemMessage.d.ts +10 -0
- package/esm/scripts/run-codex-prompts/common/ProgressiveBackoff.d.ts +44 -0
- package/esm/scripts/run-codex-prompts/common/appendCoderContext.d.ts +4 -0
- package/esm/scripts/run-codex-prompts/common/formatUnknownErrorDetails.d.ts +4 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/$runGoScript.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/$runGoScriptUntilMarkerIdle.d.ts +6 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/$runGoScriptWithOutput.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/buildScriptLogPath.d.ts +4 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/buildTemporaryPromptScriptPath.d.ts +14 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/printLiveScriptChunk.d.ts +4 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/runBashScriptWithOutput.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/runScriptUntilMarkerIdle.d.ts +6 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/scriptExecutionLog.d.ts +28 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/shouldDeleteTemporaryArtifact.d.ts +7 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/toPosixPath.d.ts +4 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/withPromptRuntimeLog.d.ts +6 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/withTempScript.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/main/resolvePromptRunner.d.ts +24 -0
- package/esm/scripts/run-codex-prompts/runners/claude-code/ClaudeCodeRunner.d.ts +17 -0
- package/esm/scripts/run-codex-prompts/runners/claude-code/buildClaudeScript.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/runners/claude-code/parseClaudeCodeJsonOutput.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/runners/cline/ClineRunner.d.ts +19 -0
- package/esm/scripts/run-codex-prompts/runners/cline/buildClineScript.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/runners/gemini/GeminiRunner.d.ts +23 -0
- package/esm/scripts/run-codex-prompts/runners/gemini/buildGeminiScript.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/runners/gemini/gemini-pricing.d.ts +35 -0
- package/esm/scripts/run-codex-prompts/runners/gemini/parseGeminiUsageFromOutput.d.ts +9 -0
- package/esm/scripts/run-codex-prompts/runners/github-copilot/GitHubCopilotRunner.d.ts +19 -0
- package/esm/scripts/run-codex-prompts/runners/github-copilot/buildGitHubCopilotScript.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/runners/openai-codex/CodexFailureHandling.d.ts +21 -0
- package/esm/scripts/run-codex-prompts/runners/openai-codex/OpenAiCodexRunner.d.ts +20 -0
- package/esm/scripts/run-codex-prompts/runners/openai-codex/buildCodexScript.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/runners/openai-codex/buildCodexUsageFromOutput.d.ts +10 -0
- package/esm/scripts/run-codex-prompts/runners/opencode/OpencodeRunner.d.ts +19 -0
- package/esm/scripts/run-codex-prompts/runners/opencode/buildOpencodeScript.d.ts +5 -0
- package/esm/scripts/run-codex-prompts/runners/opencode/parseOpencodeJsonOutput.d.ts +5 -0
- package/esm/src/_packages/components.index.d.ts +2 -0
- package/esm/src/_packages/node.index.d.ts +10 -0
- package/esm/src/book-3.0/CliAgent.d.ts +8 -15
- package/esm/src/book-3.0/agentFolderPaths.d.ts +30 -0
- package/esm/src/book-components/BookEditor/BookEditorBrowserConfig.d.ts +2 -0
- package/esm/src/book-components/BookEditor/BookEditorForClient.d.ts +7 -0
- package/esm/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +9 -0
- package/esm/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -30
- package/esm/src/scrapers/website/utils/createShowdownConverter.d.ts +2 -2
- package/esm/src/version.d.ts +1 -1
- package/package.json +2 -3
- package/umd/index.umd.js +25959 -24029
- package/umd/index.umd.js.map +1 -1
- package/umd/scripts/run-agent-chat/executeAgentChatTurn.d.ts +28 -0
- package/umd/scripts/run-agent-messages/messages/buildAgentMessagePrompt.d.ts +4 -0
- package/umd/scripts/run-agent-messages/messages/buildAgentMessageScriptPath.d.ts +5 -0
- package/umd/scripts/run-agent-messages/messages/createAgentRunnerSystemMessage.d.ts +10 -0
- package/umd/scripts/run-codex-prompts/common/ProgressiveBackoff.d.ts +44 -0
- package/umd/scripts/run-codex-prompts/common/appendCoderContext.d.ts +4 -0
- package/umd/scripts/run-codex-prompts/common/formatUnknownErrorDetails.d.ts +4 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/$runGoScript.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/$runGoScriptUntilMarkerIdle.d.ts +6 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/$runGoScriptWithOutput.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/buildScriptLogPath.d.ts +4 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/buildTemporaryPromptScriptPath.d.ts +14 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/printLiveScriptChunk.d.ts +4 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/runBashScriptWithOutput.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/runScriptUntilMarkerIdle.d.ts +6 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/scriptExecutionLog.d.ts +28 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/shouldDeleteTemporaryArtifact.d.ts +7 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/toPosixPath.d.ts +4 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/withPromptRuntimeLog.d.ts +6 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/withTempScript.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/main/resolvePromptRunner.d.ts +24 -0
- package/umd/scripts/run-codex-prompts/runners/claude-code/ClaudeCodeRunner.d.ts +17 -0
- package/umd/scripts/run-codex-prompts/runners/claude-code/buildClaudeScript.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/runners/claude-code/parseClaudeCodeJsonOutput.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/runners/cline/ClineRunner.d.ts +19 -0
- package/umd/scripts/run-codex-prompts/runners/cline/buildClineScript.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/runners/gemini/GeminiRunner.d.ts +23 -0
- package/umd/scripts/run-codex-prompts/runners/gemini/buildGeminiScript.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/runners/gemini/gemini-pricing.d.ts +35 -0
- package/umd/scripts/run-codex-prompts/runners/gemini/parseGeminiUsageFromOutput.d.ts +9 -0
- package/umd/scripts/run-codex-prompts/runners/github-copilot/GitHubCopilotRunner.d.ts +19 -0
- package/umd/scripts/run-codex-prompts/runners/github-copilot/buildGitHubCopilotScript.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/runners/openai-codex/CodexFailureHandling.d.ts +21 -0
- package/umd/scripts/run-codex-prompts/runners/openai-codex/OpenAiCodexRunner.d.ts +20 -0
- package/umd/scripts/run-codex-prompts/runners/openai-codex/buildCodexScript.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/runners/openai-codex/buildCodexUsageFromOutput.d.ts +10 -0
- package/umd/scripts/run-codex-prompts/runners/opencode/OpencodeRunner.d.ts +19 -0
- package/umd/scripts/run-codex-prompts/runners/opencode/buildOpencodeScript.d.ts +5 -0
- package/umd/scripts/run-codex-prompts/runners/opencode/parseOpencodeJsonOutput.d.ts +5 -0
- package/umd/src/_packages/components.index.d.ts +2 -0
- package/umd/src/_packages/node.index.d.ts +10 -0
- package/umd/src/book-3.0/CliAgent.d.ts +8 -15
- package/umd/src/book-3.0/agentFolderPaths.d.ts +30 -0
- package/umd/src/book-components/BookEditor/BookEditorBrowserConfig.d.ts +2 -0
- package/umd/src/book-components/BookEditor/BookEditorForClient.d.ts +7 -0
- package/umd/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +9 -0
- package/umd/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -30
- package/umd/src/scrapers/website/utils/createShowdownConverter.d.ts +2 -2
- package/umd/src/version.d.ts +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser-compatible stub for `createDeprecatedCommitmentDiagnostics`.
|
|
3
|
+
*
|
|
4
|
+
* In the browser build the full Node.js implementation is not available,
|
|
5
|
+
* so this stub always returns an empty array to keep the editor functional.
|
|
6
|
+
*
|
|
7
|
+
* @private internal utility of `BookEditorMonaco`
|
|
8
|
+
*/
|
|
9
|
+
export declare function createDeprecatedCommitmentDiagnostics(_agentSource?: string): [];
|
|
@@ -1,39 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* @private internal utility of `ptbk agent-folder`
|
|
5
|
-
*/
|
|
6
|
-
export declare const AGENT_BOOK_FILE_PATH = "agent.book";
|
|
1
|
+
import { AGENT_BOOK_FILE_PATH, AGENT_FAILED_MESSAGES_DIRECTORY_PATH, AGENT_FINISHED_MESSAGES_DIRECTORY_PATH, AGENT_MESSAGES_DIRECTORY_PATH, AGENT_QUEUED_MESSAGES_DIRECTORY_PATH } from '../../../book-3.0/agentFolderPaths';
|
|
2
|
+
export { AGENT_BOOK_FILE_PATH, AGENT_FAILED_MESSAGES_DIRECTORY_PATH, AGENT_FINISHED_MESSAGES_DIRECTORY_PATH, AGENT_MESSAGES_DIRECTORY_PATH, AGENT_QUEUED_MESSAGES_DIRECTORY_PATH, };
|
|
7
3
|
/**
|
|
8
4
|
* Relative path to local knowledge files initialized by `ptbk agent-folder init`.
|
|
9
5
|
*
|
|
10
6
|
* @private internal utility of `ptbk agent-folder`
|
|
11
7
|
*/
|
|
12
8
|
export declare const AGENT_KNOWLEDGE_DIRECTORY_PATH = "knowledge";
|
|
13
|
-
/**
|
|
14
|
-
* Relative path to the message queue root initialized by `ptbk agent-folder init`.
|
|
15
|
-
*
|
|
16
|
-
* @private internal utility of `ptbk agent-folder`
|
|
17
|
-
*/
|
|
18
|
-
export declare const AGENT_MESSAGES_DIRECTORY_PATH = "messages";
|
|
19
|
-
/**
|
|
20
|
-
* Relative path to queued user messages consumed by `ptbk agent-folder run-once`.
|
|
21
|
-
*
|
|
22
|
-
* @private internal utility of `ptbk agent-folder`
|
|
23
|
-
*/
|
|
24
|
-
export declare const AGENT_QUEUED_MESSAGES_DIRECTORY_PATH: string;
|
|
25
|
-
/**
|
|
26
|
-
* Relative path to answered messages written by `ptbk agent-folder run-once`.
|
|
27
|
-
*
|
|
28
|
-
* @private internal utility of `ptbk agent-folder`
|
|
29
|
-
*/
|
|
30
|
-
export declare const AGENT_FINISHED_MESSAGES_DIRECTORY_PATH: string;
|
|
31
|
-
/**
|
|
32
|
-
* Relative path to messages that the agent runner stopped retrying.
|
|
33
|
-
*
|
|
34
|
-
* @private internal utility of `ptbk agent-folder`
|
|
35
|
-
*/
|
|
36
|
-
export declare const AGENT_FAILED_MESSAGES_DIRECTORY_PATH: string;
|
|
37
9
|
/**
|
|
38
10
|
* Relative path to generated local agent documentation initialized by `ptbk agent-folder init`.
|
|
39
11
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import showdown from 'showdown';
|
|
2
2
|
/**
|
|
3
3
|
* Create a new showdown converter instance
|
|
4
4
|
*
|
|
5
5
|
* @private utility of `WebsiteScraper`
|
|
6
6
|
*/
|
|
7
|
-
export declare function createShowdownConverter():
|
|
7
|
+
export declare function createShowdownConverter(): showdown.Converter;
|
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-116`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/node",
|
|
3
|
-
"version": "0.112.0-
|
|
3
|
+
"version": "0.112.0-117",
|
|
4
4
|
"description": "Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -97,14 +97,13 @@
|
|
|
97
97
|
"types": "./esm/src/_packages/node.index.d.ts",
|
|
98
98
|
"typings": "./esm/src/_packages/node.index.d.ts",
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@promptbook/core": "0.112.0-
|
|
100
|
+
"@promptbook/core": "0.112.0-117"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"@mozilla/readability": "0.6.0",
|
|
104
104
|
"@openai/agents": "0.4.15",
|
|
105
105
|
"bottleneck": "2.19.5",
|
|
106
106
|
"colors": "1.4.0",
|
|
107
|
-
"crypto": "1.0.1",
|
|
108
107
|
"crypto-js": "4.2.0",
|
|
109
108
|
"dotenv": "16.3.2",
|
|
110
109
|
"jsdom": "25.0.1",
|