@promptbook/website-crawler 0.114.0-5 → 0.114.0-50

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.
Files changed (430) hide show
  1. package/README.md +50 -31
  2. package/esm/index.es.js +1 -1
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/src/_packages/components.index.d.ts +4 -0
  5. package/esm/src/_packages/types.index.d.ts +4 -0
  6. package/esm/src/avatars/renderAvatarVisualTerminalText.d.ts +80 -0
  7. package/esm/src/avatars/types/AvatarVisualDefinition.d.ts +54 -0
  8. package/esm/src/book-2.0/agent-source/AgentReferenceResolutionIssue.d.ts +45 -0
  9. package/esm/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +5 -0
  10. package/esm/src/book-2.0/agent-source/CreateAgentModelRequirementsOptions.d.ts +2 -0
  11. package/esm/src/book-2.0/agent-source/ParsedUnknownCommitment.d.ts +26 -0
  12. package/esm/src/book-2.0/agent-source/deduplicateSystemMessage.d.ts +14 -0
  13. package/esm/src/book-2.0/agent-source/explicitFromCommitment.d.ts +62 -0
  14. package/esm/src/book-2.0/agent-source/extractAgentReferenceTokens.d.ts +32 -0
  15. package/esm/src/book-2.0/agent-source/getBookCommitmentLineType.d.ts +19 -0
  16. package/esm/src/book-2.0/agent-source/parseAgentSourceWithCommitments.unknown.test.d.ts +1 -0
  17. package/esm/src/book-2.0/agent-source/resolveInheritedAgentSource.d.ts +73 -0
  18. package/esm/src/book-2.0/book-language-documentation/getSafeCodeBlock.d.ts +1 -1
  19. package/esm/src/book-3.0/AgentMessageRunReport.d.ts +46 -0
  20. package/esm/src/book-3.0/AgentPlannedMessagesSidecar.d.ts +127 -0
  21. package/esm/src/book-3.0/AgentPlannedMessagesSidecar.test.d.ts +1 -0
  22. package/esm/src/book-3.0/AgentTeamConversationWorkspace.d.ts +85 -0
  23. package/esm/src/book-3.0/cliAgentEnv.d.ts +3 -3
  24. package/esm/src/book-3.0/createAgentMessageSidecarBaseName.d.ts +13 -0
  25. package/esm/src/book-3.0/describeAgentPlannedMessageSchedule.d.ts +31 -0
  26. package/esm/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +1 -9
  27. package/esm/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.d.ts +28 -0
  28. package/esm/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.test.d.ts +1 -0
  29. package/esm/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.d.ts +28 -0
  30. package/esm/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.test.d.ts +1 -0
  31. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +3 -2
  32. package/esm/src/book-components/Chat/Chat/renderAgentProjectDiff.d.ts +13 -0
  33. package/esm/src/book-components/Chat/Chat/renderAgentProjectToolCallDetails.d.ts +16 -0
  34. package/esm/src/book-components/Chat/MockedChat/MockedChat.test.d.ts +2 -0
  35. package/esm/src/book-components/Chat/utils/agentProjectToolCall.d.ts +85 -0
  36. package/esm/src/book-components/Chat/utils/agentProjectToolCall.test.d.ts +1 -0
  37. package/esm/src/book-components/Chat/utils/externalSourceToolCall.d.ts +38 -0
  38. package/esm/src/book-components/Chat/utils/renderMarkdown.d.ts +68 -3
  39. package/esm/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +30 -0
  40. package/esm/src/cli/$initializePromptbookCliProgram.d.ts +8 -0
  41. package/esm/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.d.ts +10 -0
  42. package/esm/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.test.d.ts +1 -0
  43. package/esm/src/cli/cli-commands/coder/GitChangesMode.d.ts +28 -0
  44. package/esm/src/cli/cli-commands/coder/add.d.ts +22 -1
  45. package/esm/src/cli/cli-commands/coder/agentCliOptions.d.ts +27 -0
  46. package/esm/src/cli/cli-commands/coder/augmentCoderAgentTeam.d.ts +7 -0
  47. package/esm/src/cli/cli-commands/coder/boilerplateCount.d.ts +1 -1
  48. package/esm/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +8 -21
  49. package/esm/src/cli/cli-commands/coder/coderAgentRole.d.ts +21 -0
  50. package/esm/src/cli/cli-commands/coder/coderReferencedArtifacts.d.ts +34 -0
  51. package/esm/src/cli/cli-commands/coder/ensureCoderDefaultAgentFiles.d.ts +8 -0
  52. package/esm/src/cli/cli-commands/coder/ensureCoderDefaultAgentFiles.test.d.ts +1 -0
  53. package/esm/src/cli/cli-commands/coder/ensureCoderGitattributesFile.d.ts +13 -0
  54. package/esm/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +14 -1
  55. package/esm/src/cli/cli-commands/coder/ensureCoderPackageJsonFile.d.ts +5 -2
  56. package/esm/src/cli/cli-commands/coder/ensureCoderPackageJsonFile.test.d.ts +1 -0
  57. package/esm/src/cli/cli-commands/coder/ensureCoderRoleAgentFile.d.ts +12 -0
  58. package/esm/src/cli/cli-commands/coder/ensureCoderVscodeSettingsFile.d.ts +2 -0
  59. package/esm/src/cli/cli-commands/coder/ensureDirectory.d.ts +6 -0
  60. package/esm/src/cli/cli-commands/coder/findLegacyCoderCheckCallers.d.ts +5 -0
  61. package/esm/src/cli/cli-commands/coder/fix.d.ts +7 -0
  62. package/esm/src/cli/cli-commands/coder/fix.test.d.ts +1 -0
  63. package/esm/src/cli/cli-commands/coder/fixWorkflow.test.d.ts +1 -0
  64. package/esm/src/cli/cli-commands/coder/generate-boilerplates.d.ts +2 -2
  65. package/esm/src/cli/cli-commands/coder/getCoderInitializationCommitPaths.d.ts +9 -0
  66. package/esm/src/cli/cli-commands/coder/getDefaultCoderPackageJsonScripts.d.ts +6 -0
  67. package/esm/src/cli/cli-commands/coder/init.test.d.ts +1 -0
  68. package/esm/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +18 -6
  69. package/esm/src/cli/cli-commands/coder/list.d.ts +10 -0
  70. package/esm/src/cli/cli-commands/coder/list.test.d.ts +1 -0
  71. package/esm/src/cli/cli-commands/coder/mergeStringRecordJsonFile.d.ts +21 -1
  72. package/esm/src/cli/cli-commands/coder/plan.d.ts +7 -0
  73. package/esm/src/cli/cli-commands/coder/planning/assertPlanningCommitSafe.d.ts +6 -0
  74. package/esm/src/cli/cli-commands/coder/planning/assertPlanningPrdCommitScope.d.ts +7 -0
  75. package/esm/src/cli/cli-commands/coder/planning/assertPlanningRuntimePath.d.ts +6 -0
  76. package/esm/src/cli/cli-commands/coder/planning/createPlanningTerminal.d.ts +8 -0
  77. package/esm/src/cli/cli-commands/coder/planning/createPlanningTerminal.test.d.ts +1 -0
  78. package/esm/src/cli/cli-commands/coder/planning/createPlanningWorkspace.d.ts +11 -0
  79. package/esm/src/cli/cli-commands/coder/planning/discussPlanningTurn.d.ts +15 -0
  80. package/esm/src/cli/cli-commands/coder/planning/fixtures/snapshotPlanningProject.d.ts +5 -0
  81. package/esm/src/cli/cli-commands/coder/planning/planningGitSync.test.d.ts +1 -0
  82. package/esm/src/cli/cli-commands/coder/planning/planningPackagedCli.test.d.ts +1 -0
  83. package/esm/src/cli/cli-commands/coder/planning/planningProtocol.d.ts +152 -0
  84. package/esm/src/cli/cli-commands/coder/planning/planningTeam.test.d.ts +1 -0
  85. package/esm/src/cli/cli-commands/coder/planning/preparePlanningChanges.d.ts +16 -0
  86. package/esm/src/cli/cli-commands/coder/planning/readPlanningContext.d.ts +6 -0
  87. package/esm/src/cli/cli-commands/coder/planning/resolvePlanningPath.d.ts +7 -0
  88. package/esm/src/cli/cli-commands/coder/planning/runPlanningHarness.d.ts +30 -0
  89. package/esm/src/cli/cli-commands/coder/planning/runPlanningHarness.test.d.ts +1 -0
  90. package/esm/src/cli/cli-commands/coder/planning/runPlanningSession.d.ts +24 -0
  91. package/esm/src/cli/cli-commands/coder/planning/runPlanningSession.test.d.ts +1 -0
  92. package/esm/src/cli/cli-commands/coder/planning/savePlanningChanges.d.ts +7 -0
  93. package/esm/src/cli/cli-commands/coder/prepareCoderPackageJsonScripts.d.ts +12 -0
  94. package/esm/src/cli/cli-commands/coder/printCoderRunFailure.d.ts +6 -0
  95. package/esm/src/cli/cli-commands/coder/printInitializationSummary.d.ts +2 -1
  96. package/esm/src/cli/cli-commands/coder/promptsReadmeTemplate.d.ts +13 -0
  97. package/esm/src/cli/cli-commands/coder/promptsReadmeTemplate.test.d.ts +1 -0
  98. package/esm/src/cli/cli-commands/coder/readCoderAgentBook.d.ts +8 -0
  99. package/esm/src/cli/cli-commands/coder/server.test.d.ts +1 -0
  100. package/esm/src/cli/cli-commands/coder/waitOptions.d.ts +12 -0
  101. package/esm/src/cli/cli-commands/coder/workspacePreflight.test.d.ts +1 -0
  102. package/esm/src/cli/cli-commands/coder.d.ts +3 -0
  103. package/esm/src/cli/cli-commands/common/$askForConfirmation.d.ts +11 -0
  104. package/esm/src/cli/cli-commands/common/$askForConfirmation.test.d.ts +1 -0
  105. package/esm/src/cli/cli-commands/common/LocalAgentBookCollection.d.ts +48 -0
  106. package/esm/src/cli/cli-commands/common/coderCheckCliOptions.d.ts +21 -0
  107. package/esm/src/cli/cli-commands/common/coderCheckCliOptions.test.d.ts +1 -0
  108. package/esm/src/cli/cli-commands/common/coderGitSyncCliOptions.d.ts +1 -1
  109. package/esm/src/cli/cli-commands/common/createLocalAgentReferenceResolver.d.ts +8 -0
  110. package/esm/src/cli/cli-commands/common/disk-space/$assertSufficientFreeDiskSpace.d.ts +12 -0
  111. package/esm/src/cli/cli-commands/common/disk-space/$assertSufficientFreeDiskSpace.test.d.ts +1 -0
  112. package/esm/src/cli/cli-commands/common/disk-space/$readFreeDiskSpaceStatus.d.ts +11 -0
  113. package/esm/src/cli/cli-commands/common/disk-space/$readFreeDiskSpaceStatus.test.d.ts +1 -0
  114. package/esm/src/cli/cli-commands/common/disk-space/FreeDiskSpaceStatus.d.ts +33 -0
  115. package/esm/src/cli/cli-commands/common/disk-space/formatFreeDiskSpaceBytes.d.ts +6 -0
  116. package/esm/src/cli/cli-commands/common/disk-space/formatFreeDiskSpaceBytes.test.d.ts +1 -0
  117. package/esm/src/cli/cli-commands/common/disk-space/formatLowFreeDiskSpaceWarning.d.ts +10 -0
  118. package/esm/src/cli/cli-commands/common/disk-space/freeDiskSpaceConstants.d.ts +28 -0
  119. package/esm/src/cli/cli-commands/common/disk-space/resolveFreeDiskSpaceLevel.d.ts +7 -0
  120. package/esm/src/cli/cli-commands/common/disk-space/resolveFreeDiskSpaceLevel.test.d.ts +1 -0
  121. package/esm/src/cli/cli-commands/common/ensureAdamAgentBook.d.ts +12 -0
  122. package/esm/src/cli/cli-commands/common/ensureProjectTextFile.d.ts +7 -0
  123. package/esm/src/cli/cli-commands/common/harness/$applyHarnessInstallationStatus.d.ts +3 -2
  124. package/esm/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +3 -3
  125. package/esm/src/cli/cli-commands/common/harness/$checkHarnessInstallation.test.d.ts +1 -0
  126. package/esm/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +6 -3
  127. package/esm/src/cli/cli-commands/common/harness/$resolveHarnessCommandPath.d.ts +14 -0
  128. package/esm/src/cli/cli-commands/common/harness/$resolveHarnessInstallationOrigin.d.ts +10 -0
  129. package/esm/src/cli/cli-commands/common/harness/$runHarnessInstallationCommand.d.ts +43 -0
  130. package/esm/src/cli/cli-commands/common/harness/HARNESS_DEFAULT_MODELS.d.ts +25 -0
  131. package/esm/src/cli/cli-commands/common/harness/HarnessDefinition.d.ts +62 -0
  132. package/esm/src/cli/cli-commands/common/harness/HarnessInstallationOrigin.d.ts +36 -0
  133. package/esm/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +8 -2
  134. package/esm/src/cli/cli-commands/common/harness/HarnessUpdatePlan.d.ts +23 -0
  135. package/esm/src/cli/cli-commands/common/harness/buildHarnessInstallCommand.d.ts +4 -1
  136. package/esm/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.d.ts +8 -0
  137. package/esm/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.test.d.ts +1 -0
  138. package/esm/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.d.ts +31 -0
  139. package/esm/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.test.d.ts +1 -0
  140. package/esm/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.d.ts +12 -0
  141. package/esm/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.test.d.ts +1 -0
  142. package/esm/src/cli/cli-commands/common/npm/$askForNpmPackageInstallationApproval.d.ts +11 -0
  143. package/{umd/src/cli/cli-commands/common/harness/$resolveLatestHarnessVersion.d.ts → esm/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.d.ts} +2 -3
  144. package/esm/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.test.d.ts +1 -0
  145. package/esm/src/cli/cli-commands/common/npm/$resolveNpmGlobalPrefixPath.d.ts +9 -0
  146. package/esm/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.d.ts +12 -0
  147. package/esm/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.test.d.ts +1 -0
  148. package/esm/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.d.ts +12 -0
  149. package/esm/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.test.d.ts +1 -0
  150. package/esm/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.d.ts +12 -0
  151. package/esm/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.test.d.ts +1 -0
  152. package/esm/src/cli/cli-commands/common/projectCliOptions.d.ts +30 -0
  153. package/esm/src/cli/cli-commands/common/projectCliOptions.test.d.ts +1 -0
  154. package/esm/src/cli/cli-commands/common/projectInitialization.d.ts +6 -0
  155. package/esm/src/cli/cli-commands/common/promptPriorityCliOptions.d.ts +7 -0
  156. package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +17 -4
  157. package/esm/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.d.ts +9 -0
  158. package/esm/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.test.d.ts +1 -0
  159. package/esm/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.d.ts +15 -0
  160. package/esm/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.test.d.ts +1 -0
  161. package/esm/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.d.ts +12 -0
  162. package/esm/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.test.d.ts +1 -0
  163. package/esm/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.d.ts +10 -0
  164. package/esm/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.test.d.ts +1 -0
  165. package/esm/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallation.d.ts +66 -0
  166. package/esm/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallationStatus.d.ts +26 -0
  167. package/esm/src/cli/cli-commands/common/promptbook-cli/buildPromptbookCliInstallCommand.d.ts +7 -0
  168. package/esm/src/cli/cli-commands/common/promptbook-cli/formatPromptbookCliInstallationWarning.d.ts +7 -0
  169. package/esm/src/cli/cli-commands/common/questionsCliOptions.d.ts +45 -0
  170. package/esm/src/cli/cli-commands/common/questionsCliOptions.test.d.ts +1 -0
  171. package/esm/src/cli/cli-commands/common/resolveBundledAgentBookPath.d.ts +6 -0
  172. package/esm/src/cli/cli-commands/common/resolveLocalAgentSource.d.ts +26 -0
  173. package/esm/src/cli/cli-commands/common/validateCoderRunOptions.d.ts +6 -0
  174. package/esm/src/cli/cli-commands/common/workspaceRepository.d.ts +48 -0
  175. package/esm/src/cli/cli-commands/common/workspaceRepository.test.d.ts +1 -0
  176. package/esm/src/cli/cli-commands/common/workspaceRepositoryCliOptions.d.ts +11 -0
  177. package/esm/src/cli/common/$deprecateCliCommand.d.ts +3 -0
  178. package/esm/src/cli/common/$hideCliCommandFromHelp.d.ts +11 -0
  179. package/esm/src/cli/common/$hideCliCommandFromHelp.test.d.ts +1 -0
  180. package/esm/src/cli/common/$requireCliSubcommand.d.ts +18 -0
  181. package/esm/src/cli/common/$requireCliSubcommand.test.d.ts +1 -0
  182. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +15 -0
  183. package/esm/src/commitments/TEAM/TEAM.test.d.ts +1 -0
  184. package/esm/src/commitments/WRITING_RULES/WRITING_RULES.d.ts +14 -7
  185. package/esm/src/commitments/index.d.ts +1 -1
  186. package/esm/src/conversion/archive/loadJsZipModule.d.ts +10 -0
  187. package/esm/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
  188. package/esm/src/executables/platforms/locateAppOnWindows.test.d.ts +1 -0
  189. package/esm/src/llm-providers/vercel/VercelExecutionToolsOptions.d.ts +5 -2
  190. package/esm/src/utils/agent-message-runtime/AgentMessageProjectChange.d.ts +76 -0
  191. package/esm/src/utils/agent-message-runtime/AgentMessageTouchedExternalSource.d.ts +45 -0
  192. package/esm/src/utils/agent-message-runtime/parseAgentMessageRuntimeLogEvents.d.ts +62 -0
  193. package/esm/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +3 -3
  194. package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.d.ts +18 -0
  195. package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.test.d.ts +1 -0
  196. package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.d.ts +19 -0
  197. package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.test.d.ts +1 -0
  198. package/esm/src/utils/agents/terminalAgentAvatarVisual.d.ts +5 -2
  199. package/esm/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +6 -0
  200. package/esm/src/utils/ascii-art/createAnsiColorCode.d.ts +46 -0
  201. package/esm/src/utils/files/findFilesByGlob.d.ts +28 -0
  202. package/esm/src/utils/misc/debounce.d.ts +4 -2
  203. package/esm/src/utils/misc/debounce.test.d.ts +1 -0
  204. package/esm/src/utils/misc/emojis.d.ts +3 -2
  205. package/esm/src/utils/random/$generateBookBoilerplate.test.d.ts +1 -0
  206. package/esm/src/version.d.ts +1 -1
  207. package/package.json +2 -5
  208. package/umd/index.umd.js +1 -1
  209. package/umd/index.umd.js.map +1 -1
  210. package/umd/src/_packages/components.index.d.ts +4 -0
  211. package/umd/src/_packages/types.index.d.ts +4 -0
  212. package/umd/src/avatars/renderAvatarVisualTerminalText.d.ts +80 -0
  213. package/umd/src/avatars/renderAvatarVisualTerminalText.test.d.ts +1 -0
  214. package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +54 -0
  215. package/umd/src/book-2.0/agent-source/AgentReferenceResolutionIssue.d.ts +45 -0
  216. package/umd/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +5 -0
  217. package/umd/src/book-2.0/agent-source/CreateAgentModelRequirementsOptions.d.ts +2 -0
  218. package/umd/src/book-2.0/agent-source/ParsedUnknownCommitment.d.ts +26 -0
  219. package/umd/src/book-2.0/agent-source/createAgentModelRequirements.deduplication.test.d.ts +1 -0
  220. package/umd/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.unknown.test.d.ts +1 -0
  221. package/umd/src/book-2.0/agent-source/deduplicateSystemMessage.d.ts +14 -0
  222. package/umd/src/book-2.0/agent-source/deduplicateSystemMessage.test.d.ts +1 -0
  223. package/umd/src/book-2.0/agent-source/explicitFromCommitment.d.ts +62 -0
  224. package/umd/src/book-2.0/agent-source/extractAgentReferenceTokens.d.ts +32 -0
  225. package/umd/src/book-2.0/agent-source/getBookCommitmentLineType.d.ts +19 -0
  226. package/umd/src/book-2.0/agent-source/parseAgentSourceWithCommitments.unknown.test.d.ts +1 -0
  227. package/umd/src/book-2.0/agent-source/resolveInheritedAgentSource.d.ts +73 -0
  228. package/umd/src/book-2.0/book-language-documentation/getSafeCodeBlock.d.ts +1 -1
  229. package/umd/src/book-3.0/AgentMessageRunReport.d.ts +46 -0
  230. package/umd/src/book-3.0/AgentPlannedMessagesSidecar.d.ts +127 -0
  231. package/umd/src/book-3.0/AgentPlannedMessagesSidecar.test.d.ts +1 -0
  232. package/umd/src/book-3.0/AgentTeamConversationWorkspace.d.ts +85 -0
  233. package/umd/src/book-3.0/cliAgentEnv.d.ts +3 -3
  234. package/umd/src/book-3.0/createAgentMessageSidecarBaseName.d.ts +13 -0
  235. package/umd/src/book-3.0/describeAgentPlannedMessageSchedule.d.ts +31 -0
  236. package/umd/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +1 -9
  237. package/umd/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.d.ts +28 -0
  238. package/umd/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.test.d.ts +1 -0
  239. package/umd/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.d.ts +28 -0
  240. package/umd/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.test.d.ts +1 -0
  241. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +3 -2
  242. package/umd/src/book-components/Chat/Chat/renderAgentProjectDiff.d.ts +13 -0
  243. package/umd/src/book-components/Chat/Chat/renderAgentProjectToolCallDetails.d.ts +16 -0
  244. package/umd/src/book-components/Chat/MockedChat/MockedChat.test.d.ts +2 -0
  245. package/umd/src/book-components/Chat/utils/agentProjectToolCall.d.ts +85 -0
  246. package/umd/src/book-components/Chat/utils/agentProjectToolCall.test.d.ts +1 -0
  247. package/umd/src/book-components/Chat/utils/externalSourceToolCall.d.ts +38 -0
  248. package/umd/src/book-components/Chat/utils/renderMarkdown.d.ts +68 -3
  249. package/umd/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +30 -0
  250. package/umd/src/cli/$initializePromptbookCliProgram.d.ts +8 -0
  251. package/umd/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.d.ts +10 -0
  252. package/umd/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.test.d.ts +1 -0
  253. package/umd/src/cli/cli-commands/coder/GitChangesMode.d.ts +28 -0
  254. package/umd/src/cli/cli-commands/coder/add.d.ts +22 -1
  255. package/umd/src/cli/cli-commands/coder/agentCliOptions.d.ts +27 -0
  256. package/umd/src/cli/cli-commands/coder/augmentCoderAgentTeam.d.ts +7 -0
  257. package/umd/src/cli/cli-commands/coder/boilerplateCount.d.ts +1 -1
  258. package/umd/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +8 -21
  259. package/umd/src/cli/cli-commands/coder/coderAgentRole.d.ts +21 -0
  260. package/umd/src/cli/cli-commands/coder/coderReferencedArtifacts.d.ts +34 -0
  261. package/umd/src/cli/cli-commands/coder/ensureCoderDefaultAgentFiles.d.ts +8 -0
  262. package/umd/src/cli/cli-commands/coder/ensureCoderDefaultAgentFiles.test.d.ts +1 -0
  263. package/umd/src/cli/cli-commands/coder/ensureCoderGitattributesFile.d.ts +13 -0
  264. package/umd/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +14 -1
  265. package/umd/src/cli/cli-commands/coder/ensureCoderPackageJsonFile.d.ts +5 -2
  266. package/umd/src/cli/cli-commands/coder/ensureCoderPackageJsonFile.test.d.ts +1 -0
  267. package/umd/src/cli/cli-commands/coder/ensureCoderRoleAgentFile.d.ts +12 -0
  268. package/umd/src/cli/cli-commands/coder/ensureCoderVscodeSettingsFile.d.ts +2 -0
  269. package/umd/src/cli/cli-commands/coder/ensureDirectory.d.ts +6 -0
  270. package/umd/src/cli/cli-commands/coder/findLegacyCoderCheckCallers.d.ts +5 -0
  271. package/umd/src/cli/cli-commands/coder/fix.d.ts +7 -0
  272. package/umd/src/cli/cli-commands/coder/fix.test.d.ts +1 -0
  273. package/umd/src/cli/cli-commands/coder/fixWorkflow.test.d.ts +1 -0
  274. package/umd/src/cli/cli-commands/coder/generate-boilerplates.d.ts +2 -2
  275. package/umd/src/cli/cli-commands/coder/getCoderInitializationCommitPaths.d.ts +9 -0
  276. package/umd/src/cli/cli-commands/coder/getDefaultCoderPackageJsonScripts.d.ts +6 -0
  277. package/umd/src/cli/cli-commands/coder/init.test.d.ts +1 -0
  278. package/umd/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +18 -6
  279. package/umd/src/cli/cli-commands/coder/list.d.ts +10 -0
  280. package/umd/src/cli/cli-commands/coder/list.test.d.ts +1 -0
  281. package/umd/src/cli/cli-commands/coder/mergeStringRecordJsonFile.d.ts +21 -1
  282. package/umd/src/cli/cli-commands/coder/plan.d.ts +7 -0
  283. package/umd/src/cli/cli-commands/coder/planning/assertPlanningCommitSafe.d.ts +6 -0
  284. package/umd/src/cli/cli-commands/coder/planning/assertPlanningPrdCommitScope.d.ts +7 -0
  285. package/umd/src/cli/cli-commands/coder/planning/assertPlanningRuntimePath.d.ts +6 -0
  286. package/umd/src/cli/cli-commands/coder/planning/createPlanningTerminal.d.ts +8 -0
  287. package/umd/src/cli/cli-commands/coder/planning/createPlanningTerminal.test.d.ts +1 -0
  288. package/umd/src/cli/cli-commands/coder/planning/createPlanningWorkspace.d.ts +11 -0
  289. package/umd/src/cli/cli-commands/coder/planning/discussPlanningTurn.d.ts +15 -0
  290. package/umd/src/cli/cli-commands/coder/planning/fixtures/snapshotPlanningProject.d.ts +5 -0
  291. package/umd/src/cli/cli-commands/coder/planning/planningGitSync.test.d.ts +1 -0
  292. package/umd/src/cli/cli-commands/coder/planning/planningPackagedCli.test.d.ts +1 -0
  293. package/umd/src/cli/cli-commands/coder/planning/planningProtocol.d.ts +152 -0
  294. package/umd/src/cli/cli-commands/coder/planning/planningTeam.test.d.ts +1 -0
  295. package/umd/src/cli/cli-commands/coder/planning/preparePlanningChanges.d.ts +16 -0
  296. package/umd/src/cli/cli-commands/coder/planning/readPlanningContext.d.ts +6 -0
  297. package/umd/src/cli/cli-commands/coder/planning/resolvePlanningPath.d.ts +7 -0
  298. package/umd/src/cli/cli-commands/coder/planning/runPlanningHarness.d.ts +30 -0
  299. package/umd/src/cli/cli-commands/coder/planning/runPlanningHarness.test.d.ts +1 -0
  300. package/umd/src/cli/cli-commands/coder/planning/runPlanningSession.d.ts +24 -0
  301. package/umd/src/cli/cli-commands/coder/planning/runPlanningSession.test.d.ts +1 -0
  302. package/umd/src/cli/cli-commands/coder/planning/savePlanningChanges.d.ts +7 -0
  303. package/umd/src/cli/cli-commands/coder/prepareCoderPackageJsonScripts.d.ts +12 -0
  304. package/umd/src/cli/cli-commands/coder/printCoderRunFailure.d.ts +6 -0
  305. package/umd/src/cli/cli-commands/coder/printInitializationSummary.d.ts +2 -1
  306. package/umd/src/cli/cli-commands/coder/promptsReadmeTemplate.d.ts +13 -0
  307. package/umd/src/cli/cli-commands/coder/promptsReadmeTemplate.test.d.ts +1 -0
  308. package/umd/src/cli/cli-commands/coder/readCoderAgentBook.d.ts +8 -0
  309. package/umd/src/cli/cli-commands/coder/server.test.d.ts +1 -0
  310. package/umd/src/cli/cli-commands/coder/waitOptions.d.ts +12 -0
  311. package/umd/src/cli/cli-commands/coder/workspacePreflight.test.d.ts +1 -0
  312. package/umd/src/cli/cli-commands/coder.d.ts +3 -0
  313. package/umd/src/cli/cli-commands/common/$askForConfirmation.d.ts +11 -0
  314. package/umd/src/cli/cli-commands/common/$askForConfirmation.test.d.ts +1 -0
  315. package/umd/src/cli/cli-commands/common/LocalAgentBookCollection.d.ts +48 -0
  316. package/umd/src/cli/cli-commands/common/coderCheckCliOptions.d.ts +21 -0
  317. package/umd/src/cli/cli-commands/common/coderCheckCliOptions.test.d.ts +1 -0
  318. package/umd/src/cli/cli-commands/common/coderGitSyncCliOptions.d.ts +1 -1
  319. package/umd/src/cli/cli-commands/common/createLocalAgentReferenceResolver.d.ts +8 -0
  320. package/umd/src/cli/cli-commands/common/disk-space/$assertSufficientFreeDiskSpace.d.ts +12 -0
  321. package/umd/src/cli/cli-commands/common/disk-space/$assertSufficientFreeDiskSpace.test.d.ts +1 -0
  322. package/umd/src/cli/cli-commands/common/disk-space/$readFreeDiskSpaceStatus.d.ts +11 -0
  323. package/umd/src/cli/cli-commands/common/disk-space/$readFreeDiskSpaceStatus.test.d.ts +1 -0
  324. package/umd/src/cli/cli-commands/common/disk-space/FreeDiskSpaceStatus.d.ts +33 -0
  325. package/umd/src/cli/cli-commands/common/disk-space/formatFreeDiskSpaceBytes.d.ts +6 -0
  326. package/umd/src/cli/cli-commands/common/disk-space/formatFreeDiskSpaceBytes.test.d.ts +1 -0
  327. package/umd/src/cli/cli-commands/common/disk-space/formatLowFreeDiskSpaceWarning.d.ts +10 -0
  328. package/umd/src/cli/cli-commands/common/disk-space/freeDiskSpaceConstants.d.ts +28 -0
  329. package/umd/src/cli/cli-commands/common/disk-space/resolveFreeDiskSpaceLevel.d.ts +7 -0
  330. package/umd/src/cli/cli-commands/common/disk-space/resolveFreeDiskSpaceLevel.test.d.ts +1 -0
  331. package/umd/src/cli/cli-commands/common/ensureAdamAgentBook.d.ts +12 -0
  332. package/umd/src/cli/cli-commands/common/ensureProjectTextFile.d.ts +7 -0
  333. package/umd/src/cli/cli-commands/common/harness/$applyHarnessInstallationStatus.d.ts +3 -2
  334. package/umd/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +3 -3
  335. package/umd/src/cli/cli-commands/common/harness/$checkHarnessInstallation.test.d.ts +1 -0
  336. package/umd/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +6 -3
  337. package/umd/src/cli/cli-commands/common/harness/$resolveHarnessCommandPath.d.ts +14 -0
  338. package/umd/src/cli/cli-commands/common/harness/$resolveHarnessInstallationOrigin.d.ts +10 -0
  339. package/umd/src/cli/cli-commands/common/harness/$runHarnessInstallationCommand.d.ts +43 -0
  340. package/umd/src/cli/cli-commands/common/harness/HARNESS_DEFAULT_MODELS.d.ts +25 -0
  341. package/umd/src/cli/cli-commands/common/harness/HarnessDefinition.d.ts +62 -0
  342. package/umd/src/cli/cli-commands/common/harness/HarnessInstallationOrigin.d.ts +36 -0
  343. package/umd/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +8 -2
  344. package/umd/src/cli/cli-commands/common/harness/HarnessUpdatePlan.d.ts +23 -0
  345. package/umd/src/cli/cli-commands/common/harness/buildHarnessInstallCommand.d.ts +4 -1
  346. package/umd/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.d.ts +8 -0
  347. package/umd/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.test.d.ts +1 -0
  348. package/umd/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.d.ts +31 -0
  349. package/umd/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.test.d.ts +1 -0
  350. package/umd/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.d.ts +12 -0
  351. package/umd/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.test.d.ts +1 -0
  352. package/umd/src/cli/cli-commands/common/npm/$askForNpmPackageInstallationApproval.d.ts +11 -0
  353. package/{esm/src/cli/cli-commands/common/harness/$resolveLatestHarnessVersion.d.ts → umd/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.d.ts} +2 -3
  354. package/umd/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.test.d.ts +1 -0
  355. package/umd/src/cli/cli-commands/common/npm/$resolveNpmGlobalPrefixPath.d.ts +9 -0
  356. package/umd/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.d.ts +12 -0
  357. package/umd/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.test.d.ts +1 -0
  358. package/umd/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.d.ts +12 -0
  359. package/umd/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.test.d.ts +1 -0
  360. package/umd/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.d.ts +12 -0
  361. package/umd/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.test.d.ts +1 -0
  362. package/umd/src/cli/cli-commands/common/projectCliOptions.d.ts +30 -0
  363. package/umd/src/cli/cli-commands/common/projectCliOptions.test.d.ts +1 -0
  364. package/umd/src/cli/cli-commands/common/projectInitialization.d.ts +6 -0
  365. package/umd/src/cli/cli-commands/common/promptPriorityCliOptions.d.ts +7 -0
  366. package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +17 -4
  367. package/umd/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.d.ts +9 -0
  368. package/umd/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.test.d.ts +1 -0
  369. package/umd/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.d.ts +15 -0
  370. package/umd/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.test.d.ts +1 -0
  371. package/umd/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.d.ts +12 -0
  372. package/umd/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.test.d.ts +1 -0
  373. package/umd/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.d.ts +10 -0
  374. package/umd/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.test.d.ts +1 -0
  375. package/umd/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallation.d.ts +66 -0
  376. package/umd/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallationStatus.d.ts +26 -0
  377. package/umd/src/cli/cli-commands/common/promptbook-cli/buildPromptbookCliInstallCommand.d.ts +7 -0
  378. package/umd/src/cli/cli-commands/common/promptbook-cli/formatPromptbookCliInstallationWarning.d.ts +7 -0
  379. package/umd/src/cli/cli-commands/common/questionsCliOptions.d.ts +45 -0
  380. package/umd/src/cli/cli-commands/common/questionsCliOptions.test.d.ts +1 -0
  381. package/umd/src/cli/cli-commands/common/resolveBundledAgentBookPath.d.ts +6 -0
  382. package/umd/src/cli/cli-commands/common/resolveLocalAgentSource.d.ts +26 -0
  383. package/umd/src/cli/cli-commands/common/validateCoderRunOptions.d.ts +6 -0
  384. package/umd/src/cli/cli-commands/common/workspaceRepository.d.ts +48 -0
  385. package/umd/src/cli/cli-commands/common/workspaceRepository.test.d.ts +1 -0
  386. package/umd/src/cli/cli-commands/common/workspaceRepositoryCliOptions.d.ts +11 -0
  387. package/umd/src/cli/common/$deprecateCliCommand.d.ts +3 -0
  388. package/umd/src/cli/common/$hideCliCommandFromHelp.d.ts +11 -0
  389. package/umd/src/cli/common/$hideCliCommandFromHelp.test.d.ts +1 -0
  390. package/umd/src/cli/common/$requireCliSubcommand.d.ts +18 -0
  391. package/umd/src/cli/common/$requireCliSubcommand.test.d.ts +1 -0
  392. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +15 -0
  393. package/umd/src/commitments/TEAM/TEAM.test.d.ts +1 -0
  394. package/umd/src/commitments/WRITING_RULES/WRITING_RULES.d.ts +14 -7
  395. package/umd/src/commitments/index.d.ts +1 -1
  396. package/umd/src/conversion/archive/loadJsZipModule.d.ts +10 -0
  397. package/umd/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
  398. package/umd/src/executables/platforms/locateAppOnWindows.test.d.ts +1 -0
  399. package/umd/src/llm-providers/vercel/VercelExecutionToolsOptions.d.ts +5 -2
  400. package/umd/src/utils/agent-message-runtime/AgentMessageProjectChange.d.ts +76 -0
  401. package/umd/src/utils/agent-message-runtime/AgentMessageTouchedExternalSource.d.ts +45 -0
  402. package/umd/src/utils/agent-message-runtime/parseAgentMessageRuntimeLogEvents.d.ts +62 -0
  403. package/umd/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +3 -3
  404. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.d.ts +18 -0
  405. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.test.d.ts +1 -0
  406. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.d.ts +19 -0
  407. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.test.d.ts +1 -0
  408. package/umd/src/utils/agents/terminalAgentAvatarVisual.d.ts +5 -2
  409. package/umd/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +6 -0
  410. package/umd/src/utils/ascii-art/createAnsiColorCode.d.ts +46 -0
  411. package/umd/src/utils/files/findFilesByGlob.d.ts +28 -0
  412. package/umd/src/utils/misc/debounce.d.ts +4 -2
  413. package/umd/src/utils/misc/debounce.test.d.ts +1 -0
  414. package/umd/src/utils/misc/emojis.d.ts +3 -2
  415. package/umd/src/utils/random/$generateBookBoilerplate.test.d.ts +1 -0
  416. package/umd/src/version.d.ts +1 -1
  417. package/esm/src/cli/cli-commands/coder/agentCodingFile.d.ts +0 -13
  418. package/esm/src/cli/cli-commands/common/harness/$askForHarnessInstallationApproval.d.ts +0 -9
  419. package/esm/src/cli/cli-commands/common/harness/$installHarness.d.ts +0 -13
  420. package/esm/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +0 -11
  421. package/esm/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +0 -9
  422. package/umd/src/cli/cli-commands/coder/agentCodingFile.d.ts +0 -13
  423. package/umd/src/cli/cli-commands/common/harness/$askForHarnessInstallationApproval.d.ts +0 -9
  424. package/umd/src/cli/cli-commands/common/harness/$installHarness.d.ts +0 -13
  425. package/umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +0 -11
  426. package/umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +0 -9
  427. /package/esm/src/{cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts → avatars/renderAvatarVisualTerminalText.test.d.ts} +0 -0
  428. /package/esm/src/{cli/cli-commands/common/harness/isHarnessVersionOutdated.test.d.ts → book-2.0/agent-source/createAgentModelRequirements.deduplication.test.d.ts} +0 -0
  429. /package/{umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts → esm/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.unknown.test.d.ts} +0 -0
  430. /package/{umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.test.d.ts → esm/src/book-2.0/agent-source/deduplicateSystemMessage.test.d.ts} +0 -0
package/README.md CHANGED
@@ -407,7 +407,7 @@ Promptbook Coder is **not another standalone coding model**. It is an orchestrat
407
407
 
408
408
  - prompt files with explicit statuses like `[ ]`, `[^]`, `[x]`, and `[-]`
409
409
  - automatic selection of the next runnable task, including priority support
410
- - optional shared repo context loaded from a file such as `AGENTS.md`
410
+ - shared project context loaded from `AGENTS.md` by default
411
411
  - automatic `git add`, commit, and push after each successful prompt
412
412
  - dedicated coding-agent Git identity and optional GPG signing
413
413
  - verification and repair flow for work that is done, partial, or broken
@@ -417,22 +417,22 @@ In short: tools like Claude Code, Codex, or GitHub Copilot are the **engines**;
417
417
 
418
418
  #### How the workflow works
419
419
 
420
- 1. `ptbk coder init` prepares the project for the coder workflow, seeds project-owned generic templates in `prompts/templates/`, creates a starter `AGENTS.md` context file, adds helper `npm run coder:*` scripts, ensures `.gitignore` ignores `/.promptbook`, and configures VS Code prompt screenshots in `prompts/screenshots/`.
420
+ 1. `ptbk coder init` prepares the project for the coder workflow, seeds project-owned generic templates in `prompts/templates/`, creates a starter `AGENTS.md` context file, adds helper `npm run coder:*` scripts, ensures `.gitignore` ignores `node_modules` and `/.promptbook`, creates missing `.gitattributes` for LF line endings, and configures VS Code prompt screenshots in `prompts/screenshots/`.
421
421
  2. `ptbk coder generate-boilerplates` creates prompt files in `prompts/`.
422
422
  3. You replace placeholder `@@@` sections with real coding tasks.
423
423
  4. `ptbk coder run` sends the next ready `[ ]` prompt to the selected coding agent and immediately marks it as in progress `[^]`, naming the harness, the model and the step which is running.
424
424
  5. Promptbook Coder marks the prompt as done `[x]`, records runner metadata, then stages, commits, and pushes the resulting changes.
425
425
  6. `ptbk coder verify` reviews completed prompts, archives finished files to `prompts/done/`, and appends a repair prompt when more work is needed.
426
426
 
427
- Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treated as not fully written, and prompts with more `!` markers have higher priority. A prompt left as `[^]` was interrupted in the middle of its implementation — the in-progress status is never reverted, so a killed or crashed coder always leaves that signal behind.
427
+ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treated as not fully written, and prompts with more `!` markers have higher priority. A prompt left as `[^]` was interrupted in the middle of its implementation — the in-progress status is never reverted, so a killed or crashed coder always leaves that signal behind, and `--git-changes continue` resumes exactly that prompt with its uncommitted changes still in place.
428
428
 
429
429
  #### Features
430
430
 
431
- - **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`
432
- - **Context injection:** `--agent agents/coding/developer.book --context AGENTS.md` or inline extra instructions
431
+ - **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`, `qwen-code`
432
+ - **Project defaults:** Developer, invocation cwd, and project `AGENTS.md`; `--agent`, `--path`, and `--context` independently override them
433
433
  - **Reasoning control:** `--thinking-level low|medium|high|xhigh` for supported runners
434
434
  - **Unattended or interactive runs:** default auto mode, or `--no-auto` to wait for user confirmation before each prompt
435
- - **Git safety:** clean working tree check by default, optional `--ignore-git-changes`
435
+ - **Git safety:** clean working tree check by default, or `--git-changes ignore` to keep the changes and `--git-changes continue` to resume an interrupted prompt
436
436
  - **Opt-in remote pushes:** commits stay local unless you explicitly pass `--auto-push`
437
437
  - **Prompt triage:** `--priority` to process only more important tasks first
438
438
  - **Failure logging:** failed runs write a neighboring `.error.log`
@@ -449,11 +449,11 @@ npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompt
449
449
 
450
450
  npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompts/templates/agents-server.md
451
451
 
452
- npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md
452
+ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book
453
453
 
454
- npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --auto-push
454
+ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --auto-push
455
455
 
456
- npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --ignore-git-changes
456
+ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --git-changes ignore
457
457
 
458
458
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
459
459
 
@@ -475,11 +475,11 @@ ptbk coder generate-boilerplates
475
475
 
476
476
  ptbk coder generate-boilerplates --template prompts/templates/common.md
477
477
 
478
- ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --test npm run test
478
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --check "npm run check"
479
479
 
480
- ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --auto-push
480
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --auto-push
481
481
 
482
- ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --test npm run test --ignore-git-changes
482
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --check "npm run check" --git-changes ignore
483
483
 
484
484
  ptbk coder find-refactor-candidates
485
485
 
@@ -488,41 +488,60 @@ ptbk coder find-refactor-candidates --level xhigh
488
488
  ptbk coder verify
489
489
  ```
490
490
 
491
- `ptbk coder init` also bootstraps a starter `AGENTS.md`, adds `package.json` scripts for the four main coder commands, adds the shared `/.promptbook` temp ignore to `.gitignore`, and configures `.vscode/settings.json` so pasted images from `prompts/*.md` land in `prompts/screenshots/`.
491
+ `ptbk coder init` also bootstraps a starter `AGENTS.md`, adds `package.json` scripts for the four main coder commands, adds `node_modules` and the shared `/.promptbook` temp ignore to `.gitignore`, and configures `.vscode/settings.json` so pasted images from `prompts/*.md` land in `prompts/screenshots/`. It creates a missing `.gitattributes` with `* text=auto eol=lf` and preserves existing attributes.
492
492
 
493
493
  #### What each command does
494
494
 
495
495
  | Command | What it does |
496
496
  | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------ | ---- | ----- | ------------------------------------------------------------------------ |
497
- | `ptbk coder init` | Creates `prompts/`, `prompts/done/`, the project-generic template files materialized in `prompts/templates/` (currently `common.md`), and a starter `AGENTS.md`; ensures `.env` contains `CODING_AGENT_GIT_NAME`, `CODING_AGENT_GIT_EMAIL`, and `CODING_AGENT_GIT_SIGNING_KEY`; adds helper coder scripts to `package.json`; ensures `.gitignore` contains `/.promptbook`; and configures `.vscode/settings.json` to save pasted prompt images into `prompts/screenshots/`. |
497
+ | `ptbk coder init` | Creates `prompts/`, `prompts/done/`, the project-generic template files materialized in `prompts/templates/` (currently `common.md`), and a starter `AGENTS.md`; ensures `.env` contains `CODING_AGENT_GIT_NAME`, `CODING_AGENT_GIT_EMAIL`, and `CODING_AGENT_GIT_SIGNING_KEY`; adds helper coder scripts to `package.json`; ensures `.gitignore` contains `node_modules` and `/.promptbook`; creates missing `.gitattributes` with `* text=auto eol=lf`; and configures `.vscode/settings.json` to save pasted prompt images into `prompts/screenshots/`. |
498
498
  | `ptbk coder generate-boilerplates` | Creates new prompt markdown files with fresh emoji tags so you can quickly fill in coding tasks; `--template` accepts either a built-in alias or a markdown file path relative to the project root. |
499
- | `ptbk coder run` | Picks the next ready prompt, can run tests before coding to stop or repair pre-existing failures, appends optional context, runs it through the selected coding agent, can optionally verify each attempt with a shell test command and feed failing output back for retries, then marks success or failure, commits the result, and pushes only when `--auto-push` is enabled. |
499
+ | `ptbk coder run` | Picks the next ready prompt, can run project checks before coding to stop or repair pre-existing failures, appends optional context, runs it through the selected coding agent, can optionally check each attempt with the project command and feed failing output back for retries, then marks success or failure, commits the result, and pushes only when `--auto-push` is enabled. |
500
500
  | `ptbk coder find-refactor-candidates` | Scans the repository for oversized or overpacked files and writes prompt files for likely refactors; `--level <xlow | low | medium | high | xhigh | extreme>` ranges from a very benevolent scan to a very aggressive sweep. |
501
501
  | `ptbk coder verify` | Walks through completed prompts, archives truly finished work, and adds follow-up repair prompts for unfinished results. |
502
502
 
503
503
  #### Most useful `ptbk coder run` flags
504
504
 
505
- | Flag | Purpose |
506
- | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
507
- | `--harness <name>` | Selects the coding harness. |
508
- | `--model <model>` | Chooses the runner model; required for `openai-codex` and `gemini`, optional for `github-copilot`. |
509
- | `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
510
- | `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |
511
- | `--test-before <mode>` | Runs tests before coding: `no` (default), `yes-and-fail` (stop with results), or `yes-and-fix` (create one repair prompt first); defaults to `npm test` when enabled without `--test`. |
512
- | `--thinking-level <level>` | Sets reasoning effort for supported runners. |
513
- | `--no-auto` | Waits for user confirmation before each prompt instead of running automatically through the queue. |
514
- | `--ignore-git-changes` | Disables the clean-working-tree guard. |
515
- | `--priority <n>` | Runs only prompts at or above the given priority. |
516
- | `--dry-run` | Prints which prompts are ready instead of executing them. |
517
- | `--allow-credits` | Lets OpenAI Codex spend credits when required. |
518
- | `--auto-push` | Pushes each successful coding-agent commit to the configured remote. |
519
- | `--auto-migrate` | Runs testing-server database migrations after each successful prompt. |
505
+ A **check** is the project's aggregate validation: tests, linting, typechecking, builds, generated-code consistency,
506
+ and other quality checks. `ptbk init` and `ptbk coder init` preserve an existing `scripts.check`, or compose available
507
+ validation scripts and report their scope. Configure the failing setup placeholder if the project has none.
508
+
509
+ ```bash
510
+ ptbk coder run --harness openai-codex --check "npm run check" --check-before yes-and-fix
511
+ ptbk coder run --harness openai-codex --check "npm run lint && npm run build && npm test"
512
+ ```
513
+
514
+ The default preflight mode remains `no`. Enabled preflight uses `npm run check` when no command is supplied;
515
+ post-prompt verification remains opt-in. Initial checks and repairs use the same command and actual process result.
516
+ Replace retired `--test` and `--test-before` with `--check` and `--check-before`. Init migrates recognized generated
517
+ scripts while preserving custom validation. For conflicts or custom callers, it reports the exact entries/files to
518
+ review: preserve the required validation in `check`, update references, then remove the unused legacy entry.
519
+ Automation that invokes `npm run test-for-ptbk-coder` must switch to `npm run check`. Restart an already-running
520
+ Coder invocation with the new flags to release its captured legacy command; initialization creates no compatibility alias.
521
+
522
+ | Flag | Purpose |
523
+ | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
524
+ | `--harness <name>` | Selects the coding harness. |
525
+ | `--agent <book>` | Selects the primary Book; defaults to the selected project's `agents/developer.book`. |
526
+ | `--path <directory>` | Selects the project; defaults to invocation cwd. Relative paths start there, not at the CLI installation or enclosing Git root. |
527
+ | `--model <model>` | Chooses the runner model; required for `openai-codex`, `gemini` and `qwen-code`, optional for `github-copilot`. |
528
+ | `--context <text-or-file>` | Replaces the default project `AGENTS.md` with inline instructions or a project-relative file; an empty value disables context. |
529
+ | `--check <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |
530
+ | `--check-before <mode>` | Runs project checks before coding: `no` (default), `yes-and-fail` (stop with results), or `yes-and-fix` (create one repair prompt first); defaults to `npm run check` when enabled without `--check`. |
531
+ | `--thinking-level <level>` | Sets reasoning effort for supported runners. |
532
+ | `--no-auto` | Waits for user confirmation before each prompt instead of running automatically through the queue. |
533
+ | `--git-changes <mode>` | Decides what happens with a dirty working tree: `fail` (default), `ignore` to keep the changes, or `continue` to resume the single interrupted `[^]` prompt with them. |
534
+ | `--priority <n>` | Runs only prompts at or above the given priority. |
535
+ | `--dry-run` | Prints which prompts are ready instead of executing them. |
536
+ | `--allow-credits` | Lets OpenAI Codex spend credits when required. |
537
+ | `--auto-push` | Pushes each successful coding-agent commit to the configured remote. |
538
+ | `--auto-migrate` | Runs testing-server database migrations after each successful prompt. |
520
539
 
521
540
  #### Typical usage pattern
522
541
 
523
542
  1. Initialize once with `ptbk coder init`.
524
543
  2. Customize `prompts/templates/*.md` if needed, then create or write prompt files in `prompts/`.
525
- 3. Customize the starter `AGENTS.md` with repository-specific instructions, then pass `--agent agents/coding/developer.book --context AGENTS.md`.
544
+ 3. Customize `agents/developer.book` and `AGENTS.md`; the runner selects both automatically. Use `--path` for another project or `--agent` and `--context` for explicit overrides.
526
545
  4. Run unattended batches by default, or pass `--no-auto` to confirm each prompt interactively.
527
546
  5. Finish with `ptbk coder verify` so resolved prompts are archived and broken ones get explicit repair follow-ups.
528
547
 
package/esm/index.es.js CHANGED
@@ -24,7 +24,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
24
24
  * @generated
25
25
  * @see https://github.com/webgptorg/promptbook
26
26
  */
27
- const PROMPTBOOK_ENGINE_VERSION = '0.114.0-5';
27
+ const PROMPTBOOK_ENGINE_VERSION = '0.114.0-50';
28
28
  /**
29
29
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
30
30
  * Note: [💞] Ignore a discrepancy between file name and entity name