@promptbook/node 0.114.0-11 → 0.114.0-13
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 +459 -133
- package/esm/index.es.js.map +1 -1
- package/esm/scripts/run-agent-messages/messages/buildAgentGoalChatPromptSection.d.ts +22 -4
- package/esm/scripts/run-agent-messages/messages/buildAgentMessagePrompt.d.ts +3 -3
- package/esm/scripts/run-codex-prompts/common/runGoScript/$spawnLoggedBashScript.d.ts +25 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/$terminateLoggedBashProcessTree.d.ts +11 -0
- package/esm/scripts/run-codex-prompts/common/runGoScript/scriptExecutionLog.d.ts +4 -0
- package/esm/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +5 -0
- package/esm/src/book-2.0/agent-source/ParsedUnknownCommitment.d.ts +26 -0
- package/esm/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.unknown.test.d.ts +1 -0
- package/esm/src/book-2.0/agent-source/getBookCommitmentLineType.d.ts +19 -0
- package/esm/src/book-2.0/agent-source/parseAgentSourceWithCommitments.unknown.test.d.ts +1 -0
- package/esm/src/book-3.0/AgentMessageRunReport.d.ts +28 -0
- package/esm/src/book-3.0/AgentPlannedMessagesSidecar.d.ts +94 -0
- package/esm/src/book-3.0/AgentPlannedMessagesSidecar.test.d.ts +1 -0
- package/esm/src/book-3.0/createAgentMessageSidecarBaseName.d.ts +13 -0
- package/esm/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.d.ts +28 -0
- package/esm/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.test.d.ts +1 -0
- package/esm/src/book-components/Chat/utils/agentProjectToolCall.d.ts +46 -0
- package/esm/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +24 -0
- package/esm/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +3 -3
- package/esm/src/cli/cli-commands/common/harness/$checkHarnessInstallation.test.d.ts +1 -0
- package/esm/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +3 -3
- package/esm/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +3 -2
- package/esm/src/cli/cli-commands/common/harnessUpdateCliOptions.d.ts +29 -0
- package/esm/src/cli/cli-commands/common/harnessUpdateCliOptions.test.d.ts +1 -0
- package/esm/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
- package/esm/src/executables/platforms/locateAppOnWindows.test.d.ts +1 -0
- package/esm/src/utils/agent-message-runtime/parseAgentMessageRuntimeLogEvents.d.ts +59 -0
- package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.d.ts +19 -0
- package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.test.d.ts +1 -0
- package/esm/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +457 -131
- package/umd/index.umd.js.map +1 -1
- package/umd/scripts/run-agent-messages/messages/buildAgentGoalChatPromptSection.d.ts +22 -4
- package/umd/scripts/run-agent-messages/messages/buildAgentMessagePrompt.d.ts +3 -3
- package/umd/scripts/run-codex-prompts/common/runGoScript/$spawnLoggedBashScript.d.ts +25 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/$terminateLoggedBashProcessTree.d.ts +11 -0
- package/umd/scripts/run-codex-prompts/common/runGoScript/scriptExecutionLog.d.ts +4 -0
- package/umd/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +5 -0
- package/umd/src/book-2.0/agent-source/ParsedUnknownCommitment.d.ts +26 -0
- package/umd/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.unknown.test.d.ts +1 -0
- package/umd/src/book-2.0/agent-source/getBookCommitmentLineType.d.ts +19 -0
- package/umd/src/book-2.0/agent-source/parseAgentSourceWithCommitments.unknown.test.d.ts +1 -0
- package/umd/src/book-3.0/AgentMessageRunReport.d.ts +28 -0
- package/umd/src/book-3.0/AgentPlannedMessagesSidecar.d.ts +94 -0
- package/umd/src/book-3.0/AgentPlannedMessagesSidecar.test.d.ts +1 -0
- package/umd/src/book-3.0/createAgentMessageSidecarBaseName.d.ts +13 -0
- package/umd/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.d.ts +28 -0
- package/umd/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.test.d.ts +1 -0
- package/umd/src/book-components/Chat/utils/agentProjectToolCall.d.ts +46 -0
- package/umd/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +24 -0
- package/umd/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +3 -3
- package/umd/src/cli/cli-commands/common/harness/$checkHarnessInstallation.test.d.ts +1 -0
- package/umd/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +3 -3
- package/umd/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +3 -2
- package/umd/src/cli/cli-commands/common/harnessUpdateCliOptions.d.ts +29 -0
- package/umd/src/cli/cli-commands/common/harnessUpdateCliOptions.test.d.ts +1 -0
- package/umd/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
- package/umd/src/executables/platforms/locateAppOnWindows.test.d.ts +1 -0
- package/umd/src/utils/agent-message-runtime/parseAgentMessageRuntimeLogEvents.d.ts +59 -0
- package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.d.ts +19 -0
- package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.test.d.ts +1 -0
- package/umd/src/version.d.ts +1 -1
- package/esm/apps/agents-server/src/utils/agentGoalChat/agentGoalChatConstants.d.ts +0 -12
- package/esm/apps/agents-server/src/utils/agentProjects/agentProjectRuntimeConstants.d.ts +0 -40
- package/umd/apps/agents-server/src/utils/agentGoalChat/agentGoalChatConstants.d.ts +0 -12
- package/umd/apps/agents-server/src/utils/agentProjects/agentProjectRuntimeConstants.d.ts +0 -40
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Title stored on every agent goal chat.
|
|
3
|
-
*/
|
|
4
|
-
export declare const AGENT_GOAL_CHAT_TITLE = "Goal";
|
|
5
|
-
/**
|
|
6
|
-
* Length of generated goal-chat message ids.
|
|
7
|
-
*/
|
|
8
|
-
export declare const AGENT_GOAL_CHAT_MESSAGE_ID_LENGTH = 14;
|
|
9
|
-
/**
|
|
10
|
-
* Internal endpoint used by managed coding agents to plan goal-chat messages.
|
|
11
|
-
*/
|
|
12
|
-
export declare const AGENT_GOAL_CHAT_PLANNED_MESSAGES_INTERNAL_API_PATH = "/api/internal/agent-goal-chat-planned-messages";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Host used for local project runtimes.
|
|
3
|
-
*/
|
|
4
|
-
export declare const AGENT_PROJECT_RUNTIME_HOST = "127.0.0.1";
|
|
5
|
-
/**
|
|
6
|
-
* Command used to run a project that declares an npm `dev` script.
|
|
7
|
-
*/
|
|
8
|
-
export declare const AGENT_PROJECT_RUNTIME_DEFAULT_DEV_COMMAND = "npm run dev";
|
|
9
|
-
/**
|
|
10
|
-
* Time spent waiting for a freshly spawned dev command to start listening.
|
|
11
|
-
*/
|
|
12
|
-
export declare const AGENT_PROJECT_RUNTIME_START_TIMEOUT_MS = 15000;
|
|
13
|
-
/**
|
|
14
|
-
* Polling interval while waiting for a freshly spawned dev command to bind its port.
|
|
15
|
-
*/
|
|
16
|
-
export declare const AGENT_PROJECT_RUNTIME_START_POLL_INTERVAL_MS = 250;
|
|
17
|
-
/**
|
|
18
|
-
* Maximum time spent waiting for a terminated runtime port to close.
|
|
19
|
-
*/
|
|
20
|
-
export declare const AGENT_PROJECT_RUNTIME_STOP_TIMEOUT_MS = 5000;
|
|
21
|
-
/**
|
|
22
|
-
* Polling interval while waiting for a terminated runtime port to close.
|
|
23
|
-
*/
|
|
24
|
-
export declare const AGENT_PROJECT_RUNTIME_STOP_POLL_INTERVAL_MS = 100;
|
|
25
|
-
/**
|
|
26
|
-
* Environment variable containing the local Agents Server origin for local agent runners.
|
|
27
|
-
*/
|
|
28
|
-
export declare const PTBK_AGENTS_SERVER_URL_ENV = "PTBK_AGENTS_SERVER_URL";
|
|
29
|
-
/**
|
|
30
|
-
* Environment variable containing the internal worker token for local agent runners.
|
|
31
|
-
*/
|
|
32
|
-
export declare const PTBK_AGENTS_SERVER_USER_CHAT_WORKER_TOKEN_ENV = "PTBK_AGENTS_SERVER_USER_CHAT_WORKER_TOKEN";
|
|
33
|
-
/**
|
|
34
|
-
* Header used by internal local-runner routes.
|
|
35
|
-
*/
|
|
36
|
-
export declare const USER_CHAT_WORKER_TOKEN_HEADER = "x-user-chat-worker-token";
|
|
37
|
-
/**
|
|
38
|
-
* Header emitted by the project-runtime auth route with the approved local runtime port.
|
|
39
|
-
*/
|
|
40
|
-
export declare const AGENT_PROJECT_RUNTIME_AUTH_RESPONSE_PORT_HEADER = "X-Promptbook-Agent-Project-Port";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Title stored on every agent goal chat.
|
|
3
|
-
*/
|
|
4
|
-
export declare const AGENT_GOAL_CHAT_TITLE = "Goal";
|
|
5
|
-
/**
|
|
6
|
-
* Length of generated goal-chat message ids.
|
|
7
|
-
*/
|
|
8
|
-
export declare const AGENT_GOAL_CHAT_MESSAGE_ID_LENGTH = 14;
|
|
9
|
-
/**
|
|
10
|
-
* Internal endpoint used by managed coding agents to plan goal-chat messages.
|
|
11
|
-
*/
|
|
12
|
-
export declare const AGENT_GOAL_CHAT_PLANNED_MESSAGES_INTERNAL_API_PATH = "/api/internal/agent-goal-chat-planned-messages";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Host used for local project runtimes.
|
|
3
|
-
*/
|
|
4
|
-
export declare const AGENT_PROJECT_RUNTIME_HOST = "127.0.0.1";
|
|
5
|
-
/**
|
|
6
|
-
* Command used to run a project that declares an npm `dev` script.
|
|
7
|
-
*/
|
|
8
|
-
export declare const AGENT_PROJECT_RUNTIME_DEFAULT_DEV_COMMAND = "npm run dev";
|
|
9
|
-
/**
|
|
10
|
-
* Time spent waiting for a freshly spawned dev command to start listening.
|
|
11
|
-
*/
|
|
12
|
-
export declare const AGENT_PROJECT_RUNTIME_START_TIMEOUT_MS = 15000;
|
|
13
|
-
/**
|
|
14
|
-
* Polling interval while waiting for a freshly spawned dev command to bind its port.
|
|
15
|
-
*/
|
|
16
|
-
export declare const AGENT_PROJECT_RUNTIME_START_POLL_INTERVAL_MS = 250;
|
|
17
|
-
/**
|
|
18
|
-
* Maximum time spent waiting for a terminated runtime port to close.
|
|
19
|
-
*/
|
|
20
|
-
export declare const AGENT_PROJECT_RUNTIME_STOP_TIMEOUT_MS = 5000;
|
|
21
|
-
/**
|
|
22
|
-
* Polling interval while waiting for a terminated runtime port to close.
|
|
23
|
-
*/
|
|
24
|
-
export declare const AGENT_PROJECT_RUNTIME_STOP_POLL_INTERVAL_MS = 100;
|
|
25
|
-
/**
|
|
26
|
-
* Environment variable containing the local Agents Server origin for local agent runners.
|
|
27
|
-
*/
|
|
28
|
-
export declare const PTBK_AGENTS_SERVER_URL_ENV = "PTBK_AGENTS_SERVER_URL";
|
|
29
|
-
/**
|
|
30
|
-
* Environment variable containing the internal worker token for local agent runners.
|
|
31
|
-
*/
|
|
32
|
-
export declare const PTBK_AGENTS_SERVER_USER_CHAT_WORKER_TOKEN_ENV = "PTBK_AGENTS_SERVER_USER_CHAT_WORKER_TOKEN";
|
|
33
|
-
/**
|
|
34
|
-
* Header used by internal local-runner routes.
|
|
35
|
-
*/
|
|
36
|
-
export declare const USER_CHAT_WORKER_TOKEN_HEADER = "x-user-chat-worker-token";
|
|
37
|
-
/**
|
|
38
|
-
* Header emitted by the project-runtime auth route with the approved local runtime port.
|
|
39
|
-
*/
|
|
40
|
-
export declare const AGENT_PROJECT_RUNTIME_AUTH_RESPONSE_PORT_HEADER = "X-Promptbook-Agent-Project-Port";
|