@promptbook/components 0.114.0-4 → 0.114.0-40

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 (324) hide show
  1. package/README.md +9 -9
  2. package/esm/index.es.js +1794 -289
  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/ParsedUnknownCommitment.d.ts +26 -0
  11. package/esm/src/book-2.0/agent-source/deduplicateSystemMessage.d.ts +14 -0
  12. package/esm/src/book-2.0/agent-source/explicitFromCommitment.d.ts +62 -0
  13. package/esm/src/book-2.0/agent-source/extractAgentReferenceTokens.d.ts +32 -0
  14. package/esm/src/book-2.0/agent-source/getBookCommitmentLineType.d.ts +19 -0
  15. package/esm/src/book-2.0/agent-source/parseAgentSourceWithCommitments.unknown.test.d.ts +1 -0
  16. package/esm/src/book-2.0/agent-source/resolveInheritedAgentSource.d.ts +73 -0
  17. package/esm/src/book-2.0/book-language-documentation/getSafeCodeBlock.d.ts +1 -1
  18. package/esm/src/book-3.0/AgentMessageRunReport.d.ts +46 -0
  19. package/esm/src/book-3.0/AgentPlannedMessagesSidecar.d.ts +127 -0
  20. package/esm/src/book-3.0/AgentPlannedMessagesSidecar.test.d.ts +1 -0
  21. package/esm/src/book-3.0/AgentTeamConversationWorkspace.d.ts +85 -0
  22. package/esm/src/book-3.0/cliAgentEnv.d.ts +3 -3
  23. package/esm/src/book-3.0/createAgentMessageSidecarBaseName.d.ts +13 -0
  24. package/esm/src/book-3.0/describeAgentPlannedMessageSchedule.d.ts +31 -0
  25. package/esm/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +1 -9
  26. package/esm/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.d.ts +28 -0
  27. package/esm/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.test.d.ts +1 -0
  28. package/esm/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.d.ts +28 -0
  29. package/esm/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.test.d.ts +1 -0
  30. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +3 -2
  31. package/esm/src/book-components/Chat/Chat/renderAgentProjectDiff.d.ts +13 -0
  32. package/esm/src/book-components/Chat/Chat/renderAgentProjectToolCallDetails.d.ts +16 -0
  33. package/esm/src/book-components/Chat/MockedChat/MockedChat.test.d.ts +2 -0
  34. package/esm/src/book-components/Chat/utils/agentProjectToolCall.d.ts +85 -0
  35. package/esm/src/book-components/Chat/utils/agentProjectToolCall.test.d.ts +1 -0
  36. package/esm/src/book-components/Chat/utils/externalSourceToolCall.d.ts +38 -0
  37. package/esm/src/book-components/Chat/utils/renderMarkdown.d.ts +68 -3
  38. package/esm/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +30 -0
  39. package/esm/src/cli/$initializePromptbookCliProgram.d.ts +8 -0
  40. package/esm/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.d.ts +10 -0
  41. package/esm/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.test.d.ts +1 -0
  42. package/esm/src/cli/cli-commands/coder/GitChangesMode.d.ts +28 -0
  43. package/esm/src/cli/cli-commands/coder/agentCliOptions.d.ts +21 -0
  44. package/esm/src/cli/cli-commands/coder/boilerplateCount.d.ts +1 -1
  45. package/esm/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +8 -21
  46. package/esm/src/cli/cli-commands/coder/coderReferencedArtifacts.d.ts +33 -0
  47. package/esm/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +14 -1
  48. package/esm/src/cli/cli-commands/coder/ensureCoderPackageJsonFile.d.ts +4 -2
  49. package/esm/src/cli/cli-commands/coder/ensureCoderVscodeSettingsFile.d.ts +2 -0
  50. package/esm/src/cli/cli-commands/coder/ensureDirectory.d.ts +6 -0
  51. package/esm/src/cli/cli-commands/coder/generate-boilerplates.d.ts +1 -1
  52. package/esm/src/cli/cli-commands/coder/getDefaultCoderPackageJsonScripts.d.ts +6 -0
  53. package/esm/src/cli/cli-commands/coder/init.test.d.ts +1 -0
  54. package/esm/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +8 -5
  55. package/esm/src/cli/cli-commands/coder/list.d.ts +10 -0
  56. package/esm/src/cli/cli-commands/coder/list.test.d.ts +1 -0
  57. package/esm/src/cli/cli-commands/coder/mergeStringRecordJsonFile.d.ts +19 -1
  58. package/esm/src/cli/cli-commands/coder/printCoderRunFailure.d.ts +6 -0
  59. package/esm/src/cli/cli-commands/coder/server.test.d.ts +1 -0
  60. package/esm/src/cli/cli-commands/coder/verify.d.ts +1 -1
  61. package/esm/src/cli/cli-commands/coder/waitOptions.d.ts +12 -0
  62. package/esm/src/cli/cli-commands/coder.d.ts +1 -0
  63. package/esm/src/cli/cli-commands/common/$askForConfirmation.d.ts +11 -0
  64. package/esm/src/cli/cli-commands/common/$askForConfirmation.test.d.ts +1 -0
  65. package/esm/src/cli/cli-commands/common/LocalAgentBookCollection.d.ts +46 -0
  66. package/esm/src/cli/cli-commands/common/createLocalAgentReferenceResolver.d.ts +8 -0
  67. package/esm/src/cli/cli-commands/common/disk-space/$assertSufficientFreeDiskSpace.d.ts +12 -0
  68. package/esm/src/cli/cli-commands/common/disk-space/$assertSufficientFreeDiskSpace.test.d.ts +1 -0
  69. package/esm/src/cli/cli-commands/common/disk-space/$readFreeDiskSpaceStatus.d.ts +11 -0
  70. package/esm/src/cli/cli-commands/common/disk-space/$readFreeDiskSpaceStatus.test.d.ts +1 -0
  71. package/esm/src/cli/cli-commands/common/disk-space/FreeDiskSpaceStatus.d.ts +33 -0
  72. package/esm/src/cli/cli-commands/common/disk-space/formatFreeDiskSpaceBytes.d.ts +6 -0
  73. package/esm/src/cli/cli-commands/common/disk-space/formatFreeDiskSpaceBytes.test.d.ts +1 -0
  74. package/esm/src/cli/cli-commands/common/disk-space/formatLowFreeDiskSpaceWarning.d.ts +10 -0
  75. package/esm/src/cli/cli-commands/common/disk-space/freeDiskSpaceConstants.d.ts +28 -0
  76. package/esm/src/cli/cli-commands/common/disk-space/resolveFreeDiskSpaceLevel.d.ts +7 -0
  77. package/esm/src/cli/cli-commands/common/disk-space/resolveFreeDiskSpaceLevel.test.d.ts +1 -0
  78. package/esm/src/cli/cli-commands/common/ensureAdamAgentBook.d.ts +12 -0
  79. package/esm/src/cli/cli-commands/common/harness/$applyHarnessInstallationStatus.d.ts +3 -2
  80. package/esm/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +3 -3
  81. package/esm/src/cli/cli-commands/common/harness/$checkHarnessInstallation.test.d.ts +1 -0
  82. package/esm/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +4 -3
  83. package/esm/src/cli/cli-commands/common/harness/$resolveHarnessCommandPath.d.ts +14 -0
  84. package/esm/src/cli/cli-commands/common/harness/$resolveHarnessInstallationOrigin.d.ts +10 -0
  85. package/esm/src/cli/cli-commands/common/harness/$runHarnessInstallationCommand.d.ts +43 -0
  86. package/esm/src/cli/cli-commands/common/harness/HarnessDefinition.d.ts +62 -0
  87. package/esm/src/cli/cli-commands/common/harness/HarnessInstallationOrigin.d.ts +36 -0
  88. package/esm/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +8 -2
  89. package/esm/src/cli/cli-commands/common/harness/HarnessUpdatePlan.d.ts +23 -0
  90. package/esm/src/cli/cli-commands/common/harness/buildHarnessInstallCommand.d.ts +4 -1
  91. package/esm/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.d.ts +8 -0
  92. package/esm/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.test.d.ts +1 -0
  93. package/esm/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.d.ts +31 -0
  94. package/esm/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.test.d.ts +1 -0
  95. package/esm/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.d.ts +12 -0
  96. package/esm/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.test.d.ts +1 -0
  97. package/esm/src/cli/cli-commands/common/npm/$askForNpmPackageInstallationApproval.d.ts +11 -0
  98. package/{umd/src/cli/cli-commands/common/harness/$resolveLatestHarnessVersion.d.ts → esm/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.d.ts} +2 -3
  99. package/esm/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.test.d.ts +1 -0
  100. package/esm/src/cli/cli-commands/common/npm/$resolveNpmGlobalPrefixPath.d.ts +9 -0
  101. package/esm/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.d.ts +12 -0
  102. package/esm/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.test.d.ts +1 -0
  103. package/esm/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.d.ts +12 -0
  104. package/esm/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.test.d.ts +1 -0
  105. package/esm/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.d.ts +12 -0
  106. package/esm/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.test.d.ts +1 -0
  107. package/esm/src/cli/cli-commands/common/projectInitialization.d.ts +6 -0
  108. package/esm/src/cli/cli-commands/common/promptPriorityCliOptions.d.ts +7 -0
  109. package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +17 -4
  110. package/esm/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.d.ts +9 -0
  111. package/esm/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.test.d.ts +1 -0
  112. package/esm/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.d.ts +15 -0
  113. package/esm/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.test.d.ts +1 -0
  114. package/esm/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.d.ts +12 -0
  115. package/esm/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.test.d.ts +1 -0
  116. package/esm/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.d.ts +10 -0
  117. package/esm/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.test.d.ts +1 -0
  118. package/esm/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallation.d.ts +66 -0
  119. package/esm/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallationStatus.d.ts +26 -0
  120. package/esm/src/cli/cli-commands/common/promptbook-cli/buildPromptbookCliInstallCommand.d.ts +7 -0
  121. package/esm/src/cli/cli-commands/common/promptbook-cli/formatPromptbookCliInstallationWarning.d.ts +7 -0
  122. package/esm/src/cli/cli-commands/common/questionsCliOptions.d.ts +45 -0
  123. package/esm/src/cli/cli-commands/common/questionsCliOptions.test.d.ts +1 -0
  124. package/esm/src/cli/cli-commands/common/resolveBundledAgentBookPath.d.ts +6 -0
  125. package/esm/src/cli/cli-commands/common/resolveLocalAgentSource.d.ts +19 -0
  126. package/esm/src/cli/common/$deprecateCliCommand.d.ts +3 -0
  127. package/esm/src/cli/common/$hideCliCommandFromHelp.d.ts +11 -0
  128. package/esm/src/cli/common/$hideCliCommandFromHelp.test.d.ts +1 -0
  129. package/esm/src/cli/common/$requireCliSubcommand.d.ts +18 -0
  130. package/esm/src/cli/common/$requireCliSubcommand.test.d.ts +1 -0
  131. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +15 -0
  132. package/esm/src/commitments/WRITING_RULES/WRITING_RULES.d.ts +14 -7
  133. package/esm/src/commitments/index.d.ts +1 -1
  134. package/esm/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
  135. package/esm/src/executables/platforms/locateAppOnWindows.test.d.ts +1 -0
  136. package/esm/src/llm-providers/vercel/VercelExecutionToolsOptions.d.ts +5 -2
  137. package/esm/src/utils/agent-message-runtime/AgentMessageProjectChange.d.ts +76 -0
  138. package/esm/src/utils/agent-message-runtime/AgentMessageTouchedExternalSource.d.ts +45 -0
  139. package/esm/src/utils/agent-message-runtime/parseAgentMessageRuntimeLogEvents.d.ts +62 -0
  140. package/esm/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +3 -3
  141. package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.d.ts +18 -0
  142. package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.test.d.ts +1 -0
  143. package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.d.ts +19 -0
  144. package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.test.d.ts +1 -0
  145. package/esm/src/utils/agents/terminalAgentAvatarVisual.d.ts +5 -2
  146. package/esm/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +6 -0
  147. package/esm/src/utils/ascii-art/createAnsiColorCode.d.ts +46 -0
  148. package/esm/src/utils/files/findFilesByGlob.d.ts +28 -0
  149. package/esm/src/utils/misc/debounce.d.ts +4 -2
  150. package/esm/src/utils/misc/debounce.test.d.ts +1 -0
  151. package/esm/src/utils/misc/emojis.d.ts +3 -2
  152. package/esm/src/utils/random/$generateBookBoilerplate.test.d.ts +1 -0
  153. package/esm/src/version.d.ts +1 -1
  154. package/package.json +3 -7
  155. package/umd/index.umd.js +1794 -289
  156. package/umd/index.umd.js.map +1 -1
  157. package/umd/src/_packages/components.index.d.ts +4 -0
  158. package/umd/src/_packages/types.index.d.ts +4 -0
  159. package/umd/src/avatars/renderAvatarVisualTerminalText.d.ts +80 -0
  160. package/umd/src/avatars/renderAvatarVisualTerminalText.test.d.ts +1 -0
  161. package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +54 -0
  162. package/umd/src/book-2.0/agent-source/AgentReferenceResolutionIssue.d.ts +45 -0
  163. package/umd/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +5 -0
  164. package/umd/src/book-2.0/agent-source/ParsedUnknownCommitment.d.ts +26 -0
  165. package/umd/src/book-2.0/agent-source/createAgentModelRequirements.deduplication.test.d.ts +1 -0
  166. package/umd/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.unknown.test.d.ts +1 -0
  167. package/umd/src/book-2.0/agent-source/deduplicateSystemMessage.d.ts +14 -0
  168. package/umd/src/book-2.0/agent-source/deduplicateSystemMessage.test.d.ts +1 -0
  169. package/umd/src/book-2.0/agent-source/explicitFromCommitment.d.ts +62 -0
  170. package/umd/src/book-2.0/agent-source/extractAgentReferenceTokens.d.ts +32 -0
  171. package/umd/src/book-2.0/agent-source/getBookCommitmentLineType.d.ts +19 -0
  172. package/umd/src/book-2.0/agent-source/parseAgentSourceWithCommitments.unknown.test.d.ts +1 -0
  173. package/umd/src/book-2.0/agent-source/resolveInheritedAgentSource.d.ts +73 -0
  174. package/umd/src/book-2.0/book-language-documentation/getSafeCodeBlock.d.ts +1 -1
  175. package/umd/src/book-3.0/AgentMessageRunReport.d.ts +46 -0
  176. package/umd/src/book-3.0/AgentPlannedMessagesSidecar.d.ts +127 -0
  177. package/umd/src/book-3.0/AgentPlannedMessagesSidecar.test.d.ts +1 -0
  178. package/umd/src/book-3.0/AgentTeamConversationWorkspace.d.ts +85 -0
  179. package/umd/src/book-3.0/cliAgentEnv.d.ts +3 -3
  180. package/umd/src/book-3.0/createAgentMessageSidecarBaseName.d.ts +13 -0
  181. package/umd/src/book-3.0/describeAgentPlannedMessageSchedule.d.ts +31 -0
  182. package/umd/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +1 -9
  183. package/umd/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.d.ts +28 -0
  184. package/umd/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.test.d.ts +1 -0
  185. package/umd/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.d.ts +28 -0
  186. package/umd/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.test.d.ts +1 -0
  187. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +3 -2
  188. package/umd/src/book-components/Chat/Chat/renderAgentProjectDiff.d.ts +13 -0
  189. package/umd/src/book-components/Chat/Chat/renderAgentProjectToolCallDetails.d.ts +16 -0
  190. package/umd/src/book-components/Chat/MockedChat/MockedChat.test.d.ts +2 -0
  191. package/umd/src/book-components/Chat/utils/agentProjectToolCall.d.ts +85 -0
  192. package/umd/src/book-components/Chat/utils/agentProjectToolCall.test.d.ts +1 -0
  193. package/umd/src/book-components/Chat/utils/externalSourceToolCall.d.ts +38 -0
  194. package/umd/src/book-components/Chat/utils/renderMarkdown.d.ts +68 -3
  195. package/umd/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +30 -0
  196. package/umd/src/cli/$initializePromptbookCliProgram.d.ts +8 -0
  197. package/umd/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.d.ts +10 -0
  198. package/umd/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.test.d.ts +1 -0
  199. package/umd/src/cli/cli-commands/coder/GitChangesMode.d.ts +28 -0
  200. package/umd/src/cli/cli-commands/coder/agentCliOptions.d.ts +21 -0
  201. package/umd/src/cli/cli-commands/coder/boilerplateCount.d.ts +1 -1
  202. package/umd/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +8 -21
  203. package/umd/src/cli/cli-commands/coder/coderReferencedArtifacts.d.ts +33 -0
  204. package/umd/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +14 -1
  205. package/umd/src/cli/cli-commands/coder/ensureCoderPackageJsonFile.d.ts +4 -2
  206. package/umd/src/cli/cli-commands/coder/ensureCoderVscodeSettingsFile.d.ts +2 -0
  207. package/umd/src/cli/cli-commands/coder/ensureDirectory.d.ts +6 -0
  208. package/umd/src/cli/cli-commands/coder/generate-boilerplates.d.ts +1 -1
  209. package/umd/src/cli/cli-commands/coder/getDefaultCoderPackageJsonScripts.d.ts +6 -0
  210. package/umd/src/cli/cli-commands/coder/init.test.d.ts +1 -0
  211. package/umd/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +8 -5
  212. package/umd/src/cli/cli-commands/coder/list.d.ts +10 -0
  213. package/umd/src/cli/cli-commands/coder/list.test.d.ts +1 -0
  214. package/umd/src/cli/cli-commands/coder/mergeStringRecordJsonFile.d.ts +19 -1
  215. package/umd/src/cli/cli-commands/coder/printCoderRunFailure.d.ts +6 -0
  216. package/umd/src/cli/cli-commands/coder/server.test.d.ts +1 -0
  217. package/umd/src/cli/cli-commands/coder/verify.d.ts +1 -1
  218. package/umd/src/cli/cli-commands/coder/waitOptions.d.ts +12 -0
  219. package/umd/src/cli/cli-commands/coder.d.ts +1 -0
  220. package/umd/src/cli/cli-commands/common/$askForConfirmation.d.ts +11 -0
  221. package/umd/src/cli/cli-commands/common/$askForConfirmation.test.d.ts +1 -0
  222. package/umd/src/cli/cli-commands/common/LocalAgentBookCollection.d.ts +46 -0
  223. package/umd/src/cli/cli-commands/common/createLocalAgentReferenceResolver.d.ts +8 -0
  224. package/umd/src/cli/cli-commands/common/disk-space/$assertSufficientFreeDiskSpace.d.ts +12 -0
  225. package/umd/src/cli/cli-commands/common/disk-space/$assertSufficientFreeDiskSpace.test.d.ts +1 -0
  226. package/umd/src/cli/cli-commands/common/disk-space/$readFreeDiskSpaceStatus.d.ts +11 -0
  227. package/umd/src/cli/cli-commands/common/disk-space/$readFreeDiskSpaceStatus.test.d.ts +1 -0
  228. package/umd/src/cli/cli-commands/common/disk-space/FreeDiskSpaceStatus.d.ts +33 -0
  229. package/umd/src/cli/cli-commands/common/disk-space/formatFreeDiskSpaceBytes.d.ts +6 -0
  230. package/umd/src/cli/cli-commands/common/disk-space/formatFreeDiskSpaceBytes.test.d.ts +1 -0
  231. package/umd/src/cli/cli-commands/common/disk-space/formatLowFreeDiskSpaceWarning.d.ts +10 -0
  232. package/umd/src/cli/cli-commands/common/disk-space/freeDiskSpaceConstants.d.ts +28 -0
  233. package/umd/src/cli/cli-commands/common/disk-space/resolveFreeDiskSpaceLevel.d.ts +7 -0
  234. package/umd/src/cli/cli-commands/common/disk-space/resolveFreeDiskSpaceLevel.test.d.ts +1 -0
  235. package/umd/src/cli/cli-commands/common/ensureAdamAgentBook.d.ts +12 -0
  236. package/umd/src/cli/cli-commands/common/harness/$applyHarnessInstallationStatus.d.ts +3 -2
  237. package/umd/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +3 -3
  238. package/umd/src/cli/cli-commands/common/harness/$checkHarnessInstallation.test.d.ts +1 -0
  239. package/umd/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +4 -3
  240. package/umd/src/cli/cli-commands/common/harness/$resolveHarnessCommandPath.d.ts +14 -0
  241. package/umd/src/cli/cli-commands/common/harness/$resolveHarnessInstallationOrigin.d.ts +10 -0
  242. package/umd/src/cli/cli-commands/common/harness/$runHarnessInstallationCommand.d.ts +43 -0
  243. package/umd/src/cli/cli-commands/common/harness/HarnessDefinition.d.ts +62 -0
  244. package/umd/src/cli/cli-commands/common/harness/HarnessInstallationOrigin.d.ts +36 -0
  245. package/umd/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +8 -2
  246. package/umd/src/cli/cli-commands/common/harness/HarnessUpdatePlan.d.ts +23 -0
  247. package/umd/src/cli/cli-commands/common/harness/buildHarnessInstallCommand.d.ts +4 -1
  248. package/umd/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.d.ts +8 -0
  249. package/umd/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.test.d.ts +1 -0
  250. package/umd/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.d.ts +31 -0
  251. package/umd/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.test.d.ts +1 -0
  252. package/umd/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.d.ts +12 -0
  253. package/umd/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.test.d.ts +1 -0
  254. package/umd/src/cli/cli-commands/common/npm/$askForNpmPackageInstallationApproval.d.ts +11 -0
  255. package/{esm/src/cli/cli-commands/common/harness/$resolveLatestHarnessVersion.d.ts → umd/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.d.ts} +2 -3
  256. package/umd/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.test.d.ts +1 -0
  257. package/umd/src/cli/cli-commands/common/npm/$resolveNpmGlobalPrefixPath.d.ts +9 -0
  258. package/umd/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.d.ts +12 -0
  259. package/umd/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.test.d.ts +1 -0
  260. package/umd/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.d.ts +12 -0
  261. package/umd/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.test.d.ts +1 -0
  262. package/umd/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.d.ts +12 -0
  263. package/umd/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.test.d.ts +1 -0
  264. package/umd/src/cli/cli-commands/common/projectInitialization.d.ts +6 -0
  265. package/umd/src/cli/cli-commands/common/promptPriorityCliOptions.d.ts +7 -0
  266. package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +17 -4
  267. package/umd/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.d.ts +9 -0
  268. package/umd/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.test.d.ts +1 -0
  269. package/umd/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.d.ts +15 -0
  270. package/umd/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.test.d.ts +1 -0
  271. package/umd/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.d.ts +12 -0
  272. package/umd/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.test.d.ts +1 -0
  273. package/umd/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.d.ts +10 -0
  274. package/umd/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.test.d.ts +1 -0
  275. package/umd/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallation.d.ts +66 -0
  276. package/umd/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallationStatus.d.ts +26 -0
  277. package/umd/src/cli/cli-commands/common/promptbook-cli/buildPromptbookCliInstallCommand.d.ts +7 -0
  278. package/umd/src/cli/cli-commands/common/promptbook-cli/formatPromptbookCliInstallationWarning.d.ts +7 -0
  279. package/umd/src/cli/cli-commands/common/questionsCliOptions.d.ts +45 -0
  280. package/umd/src/cli/cli-commands/common/questionsCliOptions.test.d.ts +1 -0
  281. package/umd/src/cli/cli-commands/common/resolveBundledAgentBookPath.d.ts +6 -0
  282. package/umd/src/cli/cli-commands/common/resolveLocalAgentSource.d.ts +19 -0
  283. package/umd/src/cli/common/$deprecateCliCommand.d.ts +3 -0
  284. package/umd/src/cli/common/$hideCliCommandFromHelp.d.ts +11 -0
  285. package/umd/src/cli/common/$hideCliCommandFromHelp.test.d.ts +1 -0
  286. package/umd/src/cli/common/$requireCliSubcommand.d.ts +18 -0
  287. package/umd/src/cli/common/$requireCliSubcommand.test.d.ts +1 -0
  288. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +15 -0
  289. package/umd/src/commitments/WRITING_RULES/WRITING_RULES.d.ts +14 -7
  290. package/umd/src/commitments/index.d.ts +1 -1
  291. package/umd/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
  292. package/umd/src/executables/platforms/locateAppOnWindows.test.d.ts +1 -0
  293. package/umd/src/llm-providers/vercel/VercelExecutionToolsOptions.d.ts +5 -2
  294. package/umd/src/utils/agent-message-runtime/AgentMessageProjectChange.d.ts +76 -0
  295. package/umd/src/utils/agent-message-runtime/AgentMessageTouchedExternalSource.d.ts +45 -0
  296. package/umd/src/utils/agent-message-runtime/parseAgentMessageRuntimeLogEvents.d.ts +62 -0
  297. package/umd/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +3 -3
  298. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.d.ts +18 -0
  299. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.test.d.ts +1 -0
  300. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.d.ts +19 -0
  301. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.test.d.ts +1 -0
  302. package/umd/src/utils/agents/terminalAgentAvatarVisual.d.ts +5 -2
  303. package/umd/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +6 -0
  304. package/umd/src/utils/ascii-art/createAnsiColorCode.d.ts +46 -0
  305. package/umd/src/utils/files/findFilesByGlob.d.ts +28 -0
  306. package/umd/src/utils/misc/debounce.d.ts +4 -2
  307. package/umd/src/utils/misc/debounce.test.d.ts +1 -0
  308. package/umd/src/utils/misc/emojis.d.ts +3 -2
  309. package/umd/src/utils/random/$generateBookBoilerplate.test.d.ts +1 -0
  310. package/umd/src/version.d.ts +1 -1
  311. package/esm/src/cli/cli-commands/coder/agentCodingFile.d.ts +0 -13
  312. package/esm/src/cli/cli-commands/common/harness/$askForHarnessInstallationApproval.d.ts +0 -9
  313. package/esm/src/cli/cli-commands/common/harness/$installHarness.d.ts +0 -13
  314. package/esm/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +0 -11
  315. package/esm/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +0 -9
  316. package/umd/src/cli/cli-commands/coder/agentCodingFile.d.ts +0 -13
  317. package/umd/src/cli/cli-commands/common/harness/$askForHarnessInstallationApproval.d.ts +0 -9
  318. package/umd/src/cli/cli-commands/common/harness/$installHarness.d.ts +0 -13
  319. package/umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +0 -11
  320. package/umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +0 -9
  321. /package/esm/src/{cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts → avatars/renderAvatarVisualTerminalText.test.d.ts} +0 -0
  322. /package/esm/src/{cli/cli-commands/common/harness/isHarnessVersionOutdated.test.d.ts → book-2.0/agent-source/createAgentModelRequirements.deduplication.test.d.ts} +0 -0
  323. /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
  324. /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
@@ -548,7 +548,7 @@ Or you can install them separately:
548
548
 
549
549
  Promptbook Coder is **not another standalone coding model**. It is an orchestration layer over coding agents such as **GitHub Copilot**, **OpenAI Codex**, **Claude Code**, **Opencode**, **Cline**, and **Gemini CLI**. The difference is that Promptbook Coder adds a repeatable repository workflow on top of them:
550
550
 
551
- - prompt files with explicit statuses like `[ ]`, `[x]`, and `[-]`
551
+ - prompt files with explicit statuses like `[ ]`, `[^]`, `[x]`, and `[-]`
552
552
  - automatic selection of the next runnable task, including priority support
553
553
  - optional shared repo context loaded from a file such as `AGENTS.md`
554
554
  - automatic `git add`, commit, and push after each successful prompt
@@ -563,19 +563,19 @@ In short: tools like Claude Code, Codex, or GitHub Copilot are the **engines**;
563
563
  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/`.
564
564
  2. `ptbk coder generate-boilerplates` creates prompt files in `prompts/`.
565
565
  3. You replace placeholder `@@@` sections with real coding tasks.
566
- 4. `ptbk coder run` sends the next ready `[ ]` prompt to the selected coding agent.
566
+ 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.
567
567
  5. Promptbook Coder marks the prompt as done `[x]`, records runner metadata, then stages, commits, and pushes the resulting changes.
568
568
  6. `ptbk coder verify` reviews completed prompts, archives finished files to `prompts/done/`, and appends a repair prompt when more work is needed.
569
569
 
570
- Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treated as not fully written, and prompts with more `!` markers have higher priority.
570
+ 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.
571
571
 
572
572
  #### Features
573
573
 
574
- - **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`
574
+ - **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`, `qwen-code`
575
575
  - **Context injection:** `--agent agents/coding/developer.book --context AGENTS.md` or inline extra instructions
576
576
  - **Reasoning control:** `--thinking-level low|medium|high|xhigh` for supported runners
577
577
  - **Unattended or interactive runs:** default auto mode, or `--no-auto` to wait for user confirmation before each prompt
578
- - **Git safety:** clean working tree check by default, optional `--ignore-git-changes`
578
+ - **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
579
579
  - **Opt-in remote pushes:** commits stay local unless you explicitly pass `--auto-push`
580
580
  - **Prompt triage:** `--priority` to process only more important tasks first
581
581
  - **Failure logging:** failed runs write a neighboring `.error.log`
@@ -596,7 +596,7 @@ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gp
596
596
 
597
597
  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
598
598
 
599
- 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
599
+ 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 --git-changes ignore
600
600
 
601
601
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
602
602
 
@@ -622,7 +622,7 @@ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh -
622
622
 
623
623
  ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --auto-push
624
624
 
625
- 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
625
+ 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 --git-changes ignore
626
626
 
627
627
  ptbk coder find-refactor-candidates
628
628
 
@@ -648,13 +648,13 @@ ptbk coder verify
648
648
  | Flag | Purpose |
649
649
  | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
650
650
  | `--harness <name>` | Selects the coding harness. |
651
- | `--model <model>` | Chooses the runner model; required for `openai-codex` and `gemini`, optional for `github-copilot`. |
651
+ | `--model <model>` | Chooses the runner model; required for `openai-codex`, `gemini` and `qwen-code`, optional for `github-copilot`. |
652
652
  | `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
653
653
  | `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |
654
654
  | `--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`. |
655
655
  | `--thinking-level <level>` | Sets reasoning effort for supported runners. |
656
656
  | `--no-auto` | Waits for user confirmation before each prompt instead of running automatically through the queue. |
657
- | `--ignore-git-changes` | Disables the clean-working-tree guard. |
657
+ | `--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. |
658
658
  | `--priority <n>` | Runs only prompts at or above the given priority. |
659
659
  | `--dry-run` | Prints which prompts are ready instead of executing them. |
660
660
  | `--allow-credits` | Lets OpenAI Codex spend credits when required. |