@promptbook/cli 0.112.0-91 → 0.112.0-93
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/apps/agents-server/src/app/layout.tsx +11 -5
- package/apps/agents-server/src/constants/themeMode.ts +27 -1
- package/apps/agents-server/src/database/$provideClientSql.ts +1 -1
- package/apps/agents-server/src/database/metadataDefaults.ts +10 -0
- package/apps/agents-server/src/database/migrations/2026-05-2600-default-theme.sql +16 -0
- package/apps/agents-server/src/utils/externalChatRunner/createExternalAgentRepositoryFiles.ts +2 -2
- package/apps/agents-server/src/utils/getAdminChatTasksResponse/getAdminChatTasks.ts +532 -1
- package/apps/agents-server/src/utils/userThemeModeSettings.ts +10 -2
- package/esm/index.es.js +65 -65
- package/esm/index.es.js.map +1 -1
- package/esm/scripts/run-agent-messages/main/agentIgnorePatterns.d.ts +2 -2
- package/esm/scripts/run-agent-messages/main/createCoderRunOptionsForAgent.d.ts +1 -1
- package/esm/scripts/run-agent-messages/main/runPersistentAgentWatch.d.ts +1 -1
- package/esm/scripts/run-agent-messages/main/tickAgentMessages.d.ts +1 -1
- package/esm/scripts/run-agent-messages/main/validateAgentRunOptions.d.ts +1 -1
- package/esm/scripts/run-agent-messages/ui/agentRunUiConstants.d.ts +1 -1
- package/esm/scripts/run-agent-messages/ui/buildAgentRunUiFrame.d.ts +1 -1
- package/esm/scripts/run-agent-messages/ui/initializeAgentRunUi.d.ts +1 -1
- package/esm/scripts/run-agent-messages/ui/loadAgentRunUiMetadata.d.ts +2 -2
- package/{umd/src/cli/cli-commands/agent → esm/src/cli/cli-commands/agent-folder}/agentProjectPaths.d.ts +16 -16
- package/{umd/src/cli/cli-commands/agent → esm/src/cli/cli-commands/agent-folder}/agentRunCliOptions.d.ts +5 -5
- package/{umd/src/cli/cli-commands/agent → esm/src/cli/cli-commands/agent-folder}/init.d.ts +1 -1
- package/{umd/src/cli/cli-commands/agent → esm/src/cli/cli-commands/agent-folder}/initializeAgentProjectConfiguration.d.ts +2 -2
- package/esm/src/cli/cli-commands/{agent → agent-folder}/initializeAgentRunnerCommand.d.ts +4 -4
- package/esm/src/cli/cli-commands/{agent → agent-folder}/printAgentInitializationSummary.d.ts +1 -1
- package/{umd/src/cli/cli-commands/agent → esm/src/cli/cli-commands/agent-folder}/run.d.ts +1 -1
- package/{umd/src/cli/cli-commands/agent → esm/src/cli/cli-commands/agent-folder}/runMultiple.d.ts +1 -1
- package/esm/src/cli/cli-commands/{agent → agent-folder}/tick.d.ts +1 -1
- package/esm/src/cli/cli-commands/{agent.d.ts → agent-folder.d.ts} +3 -3
- package/esm/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/cli/cli-commands/{agent → agent-folder}/agentProjectPaths.ts +18 -18
- package/src/cli/cli-commands/{agent → agent-folder}/agentRunCliOptions.ts +7 -7
- package/src/cli/cli-commands/{agent → agent-folder}/init.ts +2 -2
- package/src/cli/cli-commands/{agent → agent-folder}/initializeAgentProjectConfiguration.ts +3 -3
- package/src/cli/cli-commands/{agent → agent-folder}/initializeAgentRunnerCommand.ts +6 -6
- package/src/cli/cli-commands/{agent → agent-folder}/printAgentInitializationSummary.ts +2 -2
- package/src/cli/cli-commands/{agent → agent-folder}/run.ts +2 -2
- package/src/cli/cli-commands/{agent → agent-folder}/runMultiple.ts +2 -2
- package/src/cli/cli-commands/{agent → agent-folder}/tick.ts +2 -2
- package/src/cli/cli-commands/{agent.ts → agent-folder.ts} +16 -16
- package/src/cli/promptbookCli.ts +2 -2
- package/src/other/templates/getTemplatesPipelineCollection.ts +865 -755
- package/src/version.ts +2 -2
- package/src/versions.txt +2 -1
- package/umd/index.umd.js +65 -65
- package/umd/index.umd.js.map +1 -1
- package/umd/scripts/run-agent-messages/main/agentIgnorePatterns.d.ts +2 -2
- package/umd/scripts/run-agent-messages/main/createCoderRunOptionsForAgent.d.ts +1 -1
- package/umd/scripts/run-agent-messages/main/runPersistentAgentWatch.d.ts +1 -1
- package/umd/scripts/run-agent-messages/main/tickAgentMessages.d.ts +1 -1
- package/umd/scripts/run-agent-messages/main/validateAgentRunOptions.d.ts +1 -1
- package/umd/scripts/run-agent-messages/ui/agentRunUiConstants.d.ts +1 -1
- package/umd/scripts/run-agent-messages/ui/buildAgentRunUiFrame.d.ts +1 -1
- package/umd/scripts/run-agent-messages/ui/initializeAgentRunUi.d.ts +1 -1
- package/umd/scripts/run-agent-messages/ui/loadAgentRunUiMetadata.d.ts +2 -2
- package/{esm/src/cli/cli-commands/agent → umd/src/cli/cli-commands/agent-folder}/agentProjectPaths.d.ts +16 -16
- package/{esm/src/cli/cli-commands/agent → umd/src/cli/cli-commands/agent-folder}/agentRunCliOptions.d.ts +5 -5
- package/{esm/src/cli/cli-commands/agent → umd/src/cli/cli-commands/agent-folder}/init.d.ts +1 -1
- package/{esm/src/cli/cli-commands/agent → umd/src/cli/cli-commands/agent-folder}/initializeAgentProjectConfiguration.d.ts +2 -2
- package/umd/src/cli/cli-commands/{agent → agent-folder}/initializeAgentRunnerCommand.d.ts +4 -4
- package/umd/src/cli/cli-commands/{agent → agent-folder}/printAgentInitializationSummary.d.ts +1 -1
- package/{esm/src/cli/cli-commands/agent → umd/src/cli/cli-commands/agent-folder}/run.d.ts +1 -1
- package/umd/src/cli/cli-commands/agent-folder/run.test.d.ts +1 -0
- package/{esm/src/cli/cli-commands/agent → umd/src/cli/cli-commands/agent-folder}/runMultiple.d.ts +1 -1
- package/umd/src/cli/cli-commands/{agent → agent-folder}/tick.d.ts +1 -1
- package/umd/src/cli/cli-commands/{agent.d.ts → agent-folder.d.ts} +3 -3
- package/umd/src/cli/other/vpsInstall.test.d.ts +1 -0
- package/umd/src/version.d.ts +1 -1
- /package/esm/src/cli/cli-commands/{agent → agent-folder}/run.test.d.ts +0 -0
- /package/{umd/src/cli/cli-commands/agent/run.test.d.ts → esm/src/cli/other/vpsInstall.test.d.ts} +0 -0
|
@@ -4,7 +4,7 @@ import type { string_book } from '../../../src/book-2.0/agent-source/string_book
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const AGENT_RUNNER_REPOSITORY_PREFIX = "agent-";
|
|
6
6
|
/**
|
|
7
|
-
* Agent identity fields tested by `ptbk agent run-multiple --ignore`.
|
|
7
|
+
* Agent identity fields tested by `ptbk agent-folder run-multiple --ignore`.
|
|
8
8
|
*/
|
|
9
9
|
export type AgentIgnoreIdentity = {
|
|
10
10
|
readonly agentName?: string;
|
|
@@ -13,7 +13,7 @@ export type AgentIgnoreIdentity = {
|
|
|
13
13
|
readonly repositoryName?: string;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
|
-
* Case-insensitive wildcard matcher for `ptbk agent run-multiple --ignore`.
|
|
16
|
+
* Case-insensitive wildcard matcher for `ptbk agent-folder run-multiple --ignore`.
|
|
17
17
|
*/
|
|
18
18
|
export type AgentIgnoreMatcher = {
|
|
19
19
|
readonly isEnabled: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RunOptions } from '../../run-codex-prompts/cli/RunOptions';
|
|
2
2
|
import type { AgentRunOptions } from '../AgentRunOptions';
|
|
3
3
|
/**
|
|
4
|
-
* Converts `ptbk agent` options into the shared runner option shape.
|
|
4
|
+
* Converts `ptbk agent-folder` options into the shared runner option shape.
|
|
5
5
|
*/
|
|
6
6
|
export declare function createCoderRunOptionsForAgent(options: AgentRunOptions): RunOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Shared supervisor options for `ptbk agent` watch commands that should never stop by themselves.
|
|
2
|
+
* Shared supervisor options for `ptbk agent-folder` watch commands that should never stop by themselves.
|
|
3
3
|
*/
|
|
4
4
|
export type RunPersistentAgentWatchOptions = {
|
|
5
5
|
readonly commandDisplayName: string;
|
|
@@ -5,7 +5,7 @@ import type { AgentRunOptions } from '../AgentRunOptions';
|
|
|
5
5
|
import type { AgentMessageFile } from '../messages/AgentMessageFile';
|
|
6
6
|
import { type FinishedAgentMessageFile } from '../messages/moveAgentMessageToFinished';
|
|
7
7
|
/**
|
|
8
|
-
* Result of one `ptbk agent run-once` invocation.
|
|
8
|
+
* Result of one `ptbk agent-folder run-once` invocation.
|
|
9
9
|
*/
|
|
10
10
|
export type AgentTickResult = {
|
|
11
11
|
readonly isMessageProcessed: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AgentRunOptions } from '../AgentRunOptions';
|
|
2
2
|
/**
|
|
3
|
-
* Validates cross-flag constraints for `ptbk agent` runs.
|
|
3
|
+
* Validates cross-flag constraints for `ptbk agent-folder` runs.
|
|
4
4
|
*/
|
|
5
5
|
export declare function validateAgentRunOptions(options: AgentRunOptions): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BuildCoderRunUiFrameOptions } from '../../run-codex-prompts/ui/buildCoderRunUiFrame';
|
|
2
2
|
/**
|
|
3
|
-
* Builds the complete boxed terminal frame for the rich `ptbk agent run` UI.
|
|
3
|
+
* Builds the complete boxed terminal frame for the rich `ptbk agent-folder run` UI.
|
|
4
4
|
*/
|
|
5
5
|
export declare function buildAgentRunUiFrame(options: BuildCoderRunUiFrameOptions): string[];
|
|
@@ -2,7 +2,7 @@ import type { AgentRunOptions } from '../AgentRunOptions';
|
|
|
2
2
|
import { type AgentMessageQueueSnapshot } from '../main/loadAgentMessageQueueSnapshot';
|
|
3
3
|
import { type CoderRunUiHandle } from '../../run-codex-prompts/ui/renderCoderRunUi';
|
|
4
4
|
/**
|
|
5
|
-
* Creates and seeds the persistent rich terminal UI used by `ptbk agent run`.
|
|
5
|
+
* Creates and seeds the persistent rich terminal UI used by `ptbk agent-folder run`.
|
|
6
6
|
*/
|
|
7
7
|
export declare function initializeAgentRunUi(projectPath: string, options: AgentRunOptions, queueSnapshot: AgentMessageQueueSnapshot): Promise<CoderRunUiHandle | undefined>;
|
|
8
8
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { AgentMessageFile } from '../messages/AgentMessageFile';
|
|
2
2
|
/**
|
|
3
|
-
* Local metadata rendered in the rich `ptbk agent run` dashboard.
|
|
3
|
+
* Local metadata rendered in the rich `ptbk agent-folder run` dashboard.
|
|
4
4
|
*/
|
|
5
5
|
export type AgentRunUiMetadata = {
|
|
6
6
|
readonly localAgentName: string;
|
|
7
7
|
readonly latestUserMessageLines: readonly string[];
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
* Local agent identity rendered in the rich `ptbk agent run` dashboard.
|
|
10
|
+
* Local agent identity rendered in the rich `ptbk agent-folder run` dashboard.
|
|
11
11
|
*/
|
|
12
12
|
export type AgentRunUiIdentity = {
|
|
13
13
|
readonly localAgentName: string;
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Relative path to the local agent source initialized by `ptbk agent init`.
|
|
2
|
+
* Relative path to the local agent source initialized by `ptbk agent-folder init`.
|
|
3
3
|
*
|
|
4
|
-
* @private internal utility of `ptbk agent`
|
|
4
|
+
* @private internal utility of `ptbk agent-folder`
|
|
5
5
|
*/
|
|
6
6
|
export declare const AGENT_BOOK_FILE_PATH = "agent.book";
|
|
7
7
|
/**
|
|
8
|
-
* Relative path to local knowledge files initialized by `ptbk agent init`.
|
|
8
|
+
* Relative path to local knowledge files initialized by `ptbk agent-folder init`.
|
|
9
9
|
*
|
|
10
|
-
* @private internal utility of `ptbk agent`
|
|
10
|
+
* @private internal utility of `ptbk agent-folder`
|
|
11
11
|
*/
|
|
12
12
|
export declare const AGENT_KNOWLEDGE_DIRECTORY_PATH = "knowledge";
|
|
13
13
|
/**
|
|
14
|
-
* Relative path to the message queue root initialized by `ptbk agent init`.
|
|
14
|
+
* Relative path to the message queue root initialized by `ptbk agent-folder init`.
|
|
15
15
|
*
|
|
16
|
-
* @private internal utility of `ptbk agent`
|
|
16
|
+
* @private internal utility of `ptbk agent-folder`
|
|
17
17
|
*/
|
|
18
18
|
export declare const AGENT_MESSAGES_DIRECTORY_PATH = "messages";
|
|
19
19
|
/**
|
|
20
|
-
* Relative path to queued user messages consumed by `ptbk agent run-once`.
|
|
20
|
+
* Relative path to queued user messages consumed by `ptbk agent-folder run-once`.
|
|
21
21
|
*
|
|
22
|
-
* @private internal utility of `ptbk agent`
|
|
22
|
+
* @private internal utility of `ptbk agent-folder`
|
|
23
23
|
*/
|
|
24
24
|
export declare const AGENT_QUEUED_MESSAGES_DIRECTORY_PATH: string;
|
|
25
25
|
/**
|
|
26
|
-
* Relative path to answered messages written by `ptbk agent run-once`.
|
|
26
|
+
* Relative path to answered messages written by `ptbk agent-folder run-once`.
|
|
27
27
|
*
|
|
28
|
-
* @private internal utility of `ptbk agent`
|
|
28
|
+
* @private internal utility of `ptbk agent-folder`
|
|
29
29
|
*/
|
|
30
30
|
export declare const AGENT_FINISHED_MESSAGES_DIRECTORY_PATH: string;
|
|
31
31
|
/**
|
|
32
|
-
* Relative path to generated local agent documentation initialized by `ptbk agent init`.
|
|
32
|
+
* Relative path to generated local agent documentation initialized by `ptbk agent-folder init`.
|
|
33
33
|
*
|
|
34
|
-
* @private internal utility of `ptbk agent`
|
|
34
|
+
* @private internal utility of `ptbk agent-folder`
|
|
35
35
|
*/
|
|
36
36
|
export declare const AGENT_DOCS_DIRECTORY_PATH = "docs";
|
|
37
37
|
/**
|
|
38
|
-
* Relative path to the local Book language manual initialized by `ptbk agent init`.
|
|
38
|
+
* Relative path to the local Book language manual initialized by `ptbk agent-folder init`.
|
|
39
39
|
*
|
|
40
|
-
* @private internal utility of `ptbk agent`
|
|
40
|
+
* @private internal utility of `ptbk agent-folder`
|
|
41
41
|
*/
|
|
42
42
|
export declare const AGENT_BOOK_LANGUAGE_MANUAL_FILE_PATH: string;
|
|
43
43
|
/**
|
|
44
44
|
* Returns the default local agent book content.
|
|
45
45
|
*
|
|
46
|
-
* @private internal utility of `ptbk agent`
|
|
46
|
+
* @private internal utility of `ptbk agent-folder`
|
|
47
47
|
*/
|
|
48
48
|
export declare function getDefaultAgentBookContent(): string;
|
|
49
49
|
/**
|
|
50
50
|
* Returns the default local Book language manual content.
|
|
51
51
|
*
|
|
52
|
-
* @private internal utility of `ptbk agent`
|
|
52
|
+
* @private internal utility of `ptbk agent-folder`
|
|
53
53
|
*/
|
|
54
54
|
export declare function getDefaultBookLanguageManualContent(): string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { NormalizedPromptRunnerCliOptions, PromptRunnerCliOptions } from '../common/promptRunnerCliOptions';
|
|
2
2
|
/**
|
|
3
|
-
* Options passed from `ptbk agent` CLI commands to the message runner.
|
|
3
|
+
* Options passed from `ptbk agent-folder` CLI commands to the message runner.
|
|
4
4
|
*
|
|
5
|
-
* @private internal utility of `ptbk agent`
|
|
5
|
+
* @private internal utility of `ptbk agent-folder`
|
|
6
6
|
*/
|
|
7
7
|
export type AgentRunCliOptions = PromptRunnerCliOptions & {
|
|
8
8
|
readonly autoClone?: boolean;
|
|
9
9
|
readonly ignore?: string | readonly string[];
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
* Normalized options passed from `ptbk agent` CLI commands to the message runner.
|
|
12
|
+
* Normalized options passed from `ptbk agent-folder` CLI commands to the message runner.
|
|
13
13
|
*
|
|
14
|
-
* @private internal utility of `ptbk agent`
|
|
14
|
+
* @private internal utility of `ptbk agent-folder`
|
|
15
15
|
*/
|
|
16
16
|
export type NormalizedAgentRunCliOptions = NormalizedPromptRunnerCliOptions & {
|
|
17
17
|
readonly autoClone: boolean;
|
|
@@ -20,6 +20,6 @@ export type NormalizedAgentRunCliOptions = NormalizedPromptRunnerCliOptions & {
|
|
|
20
20
|
/**
|
|
21
21
|
* Converts Commander options into the `scripts/run-agent-messages` option shape.
|
|
22
22
|
*
|
|
23
|
-
* @private internal utility of `ptbk agent`
|
|
23
|
+
* @private internal utility of `ptbk agent-folder`
|
|
24
24
|
*/
|
|
25
25
|
export declare function createAgentRunOptionsFromCliOptions(cliOptions: AgentRunCliOptions): NormalizedAgentRunCliOptions;
|
|
@@ -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 `agent init` command for Promptbook CLI utilities.
|
|
4
|
+
* Initializes `agent-folder init` 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
|
*
|
|
@@ -2,7 +2,7 @@ import type { InitializationStatus } from '../coder/boilerplateTemplates';
|
|
|
2
2
|
/**
|
|
3
3
|
* Result summary returned after local agent configuration initialization.
|
|
4
4
|
*
|
|
5
|
-
* @private internal utility of `ptbk agent init`
|
|
5
|
+
* @private internal utility of `ptbk agent-folder init`
|
|
6
6
|
*/
|
|
7
7
|
export type AgentInitializationSummary = {
|
|
8
8
|
readonly messagesDirectoryStatus: InitializationStatus;
|
|
@@ -16,6 +16,6 @@ export type AgentInitializationSummary = {
|
|
|
16
16
|
/**
|
|
17
17
|
* Creates local agent queue, knowledge, and instruction files in the current project.
|
|
18
18
|
*
|
|
19
|
-
* @private internal utility of `ptbk agent init`
|
|
19
|
+
* @private internal utility of `ptbk agent-folder init`
|
|
20
20
|
*/
|
|
21
21
|
export declare function initializeAgentProjectConfiguration(projectPath: string): Promise<AgentInitializationSummary>;
|
|
@@ -2,9 +2,9 @@ import type { Command as Program } from 'commander';
|
|
|
2
2
|
import type { $side_effect } from '../../../utils/organization/$side_effect';
|
|
3
3
|
import { createAgentRunOptionsFromCliOptions } from './agentRunCliOptions';
|
|
4
4
|
/**
|
|
5
|
-
* Shared command-registration options for `ptbk agent` runner subcommands.
|
|
5
|
+
* Shared command-registration options for `ptbk agent-folder` runner subcommands.
|
|
6
6
|
*
|
|
7
|
-
* @private internal utility of `ptbk agent`
|
|
7
|
+
* @private internal utility of `ptbk agent-folder`
|
|
8
8
|
*/
|
|
9
9
|
type InitializeAgentRunnerCommandOptions = {
|
|
10
10
|
readonly commandName: string;
|
|
@@ -16,9 +16,9 @@ type InitializeAgentRunnerCommandOptions = {
|
|
|
16
16
|
readonly loadExecutor: () => Promise<(runOptions: ReturnType<typeof createAgentRunOptionsFromCliOptions>) => Promise<unknown>>;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
|
-
* Registers one runner-backed `ptbk agent` subcommand with the shared option and error handling flow.
|
|
19
|
+
* Registers one runner-backed `ptbk agent-folder` subcommand with the shared option and error handling flow.
|
|
20
20
|
*
|
|
21
|
-
* @private internal utility of `ptbk agent`
|
|
21
|
+
* @private internal utility of `ptbk agent-folder`
|
|
22
22
|
*/
|
|
23
23
|
export declare function $initializeAgentRunnerCommand(program: Program, options: InitializeAgentRunnerCommandOptions): $side_effect;
|
|
24
24
|
export {};
|
package/umd/src/cli/cli-commands/{agent → agent-folder}/printAgentInitializationSummary.d.ts
RENAMED
|
@@ -2,6 +2,6 @@ import type { AgentInitializationSummary } from './initializeAgentProjectConfigu
|
|
|
2
2
|
/**
|
|
3
3
|
* Prints a readable summary of initialized local agent files.
|
|
4
4
|
*
|
|
5
|
-
* @private internal utility of `ptbk agent init`
|
|
5
|
+
* @private internal utility of `ptbk agent-folder init`
|
|
6
6
|
*/
|
|
7
7
|
export declare function printAgentInitializationSummary(summary: AgentInitializationSummary): void;
|
|
@@ -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 `agent run` command for Promptbook CLI utilities.
|
|
4
|
+
* Initializes `agent-folder run` 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
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/{esm/src/cli/cli-commands/agent → umd/src/cli/cli-commands/agent-folder}/runMultiple.d.ts
RENAMED
|
@@ -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 `agent run-multiple` command for Promptbook CLI utilities.
|
|
4
|
+
* Initializes `agent-folder run-multiple` 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
|
*
|
|
@@ -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 `agent tick` command for Promptbook CLI utilities.
|
|
4
|
+
* Initializes `agent-folder tick` 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
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Command as Program } from 'commander';
|
|
2
2
|
import type { $side_effect } from '../../utils/organization/$side_effect';
|
|
3
3
|
/**
|
|
4
|
-
* Initializes `agent` command with subcommands for Promptbook CLI utilities.
|
|
4
|
+
* Initializes `agent-folder` command with subcommands for Promptbook CLI utilities.
|
|
5
5
|
*
|
|
6
|
-
* The agent command provides utilities for repository-backed message queues:
|
|
6
|
+
* The agent-folder command provides utilities for repository-backed message queues:
|
|
7
7
|
* - init: Initialize local agent queue and instruction files
|
|
8
8
|
* - run-once (alias: tick): Answer one queued message and exit
|
|
9
9
|
* - run-agent (alias: run): Watch one queue and answer messages one by one
|
|
@@ -13,4 +13,4 @@ import type { $side_effect } from '../../utils/organization/$side_effect';
|
|
|
13
13
|
*
|
|
14
14
|
* @private internal function of `promptbookCli`
|
|
15
15
|
*/
|
|
16
|
-
export declare function $
|
|
16
|
+
export declare function $initializeAgentFolderCommand(program: Program): $side_effect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/umd/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-92`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
|
File without changes
|
/package/{umd/src/cli/cli-commands/agent/run.test.d.ts → esm/src/cli/other/vpsInstall.test.d.ts}
RENAMED
|
File without changes
|