@promptbook/components 0.114.0-4 → 0.114.0-6

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 (78) hide show
  1. package/README.md +3 -3
  2. package/esm/index.es.js +391 -170
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/src/avatars/renderAvatarVisualTerminalText.d.ts +80 -0
  5. package/esm/src/avatars/types/AvatarVisualDefinition.d.ts +54 -0
  6. package/esm/src/book-3.0/AgentTeamConversationWorkspace.d.ts +85 -0
  7. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +3 -2
  8. package/esm/src/book-components/Chat/utils/renderMarkdown.d.ts +5 -3
  9. package/esm/src/cli/cli-commands/coder/boilerplateCount.d.ts +1 -1
  10. package/esm/src/cli/cli-commands/coder/generate-boilerplates.d.ts +1 -1
  11. package/esm/src/cli/cli-commands/coder/verify.d.ts +1 -1
  12. package/esm/src/cli/cli-commands/common/{harness/$askForHarnessInstallationApproval.d.ts → npm/$askForNpmPackageInstallationApproval.d.ts} +2 -2
  13. package/esm/src/cli/cli-commands/common/{harness/$resolveLatestHarnessVersion.d.ts → npm/$resolveLatestNpmPackageVersion.d.ts} +2 -3
  14. package/esm/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.d.ts +12 -0
  15. package/esm/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.d.ts +9 -0
  16. package/esm/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.d.ts +9 -0
  17. package/esm/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.d.ts +14 -0
  18. package/esm/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.test.d.ts +1 -0
  19. package/esm/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.d.ts +12 -0
  20. package/esm/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.test.d.ts +1 -0
  21. package/esm/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.d.ts +10 -0
  22. package/esm/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallation.d.ts +39 -0
  23. package/esm/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallationStatus.d.ts +26 -0
  24. package/esm/src/cli/cli-commands/common/promptbook-cli/buildPromptbookCliInstallCommand.d.ts +7 -0
  25. package/esm/src/cli/cli-commands/common/promptbook-cli/buildPromptbookCliInstallCommand.test.d.ts +1 -0
  26. package/esm/src/cli/cli-commands/common/promptbook-cli/formatPromptbookCliInstallationWarning.d.ts +7 -0
  27. package/esm/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +3 -3
  28. package/esm/src/utils/agents/terminalAgentAvatarVisual.d.ts +5 -2
  29. package/esm/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +6 -0
  30. package/esm/src/utils/ascii-art/createAnsiColorCode.d.ts +46 -0
  31. package/esm/src/utils/misc/debounce.d.ts +4 -2
  32. package/esm/src/utils/misc/debounce.test.d.ts +1 -0
  33. package/esm/src/version.d.ts +1 -1
  34. package/package.json +1 -1
  35. package/umd/index.umd.js +391 -170
  36. package/umd/index.umd.js.map +1 -1
  37. package/umd/src/avatars/renderAvatarVisualTerminalText.d.ts +80 -0
  38. package/umd/src/avatars/renderAvatarVisualTerminalText.test.d.ts +1 -0
  39. package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +54 -0
  40. package/umd/src/book-3.0/AgentTeamConversationWorkspace.d.ts +85 -0
  41. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +3 -2
  42. package/umd/src/book-components/Chat/utils/renderMarkdown.d.ts +5 -3
  43. package/umd/src/cli/cli-commands/coder/boilerplateCount.d.ts +1 -1
  44. package/umd/src/cli/cli-commands/coder/generate-boilerplates.d.ts +1 -1
  45. package/umd/src/cli/cli-commands/coder/verify.d.ts +1 -1
  46. package/umd/src/cli/cli-commands/common/{harness/$askForHarnessInstallationApproval.d.ts → npm/$askForNpmPackageInstallationApproval.d.ts} +2 -2
  47. package/umd/src/cli/cli-commands/common/{harness/$resolveLatestHarnessVersion.d.ts → npm/$resolveLatestNpmPackageVersion.d.ts} +2 -3
  48. package/umd/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.test.d.ts +1 -0
  49. package/umd/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.d.ts +12 -0
  50. package/umd/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.test.d.ts +1 -0
  51. package/umd/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.d.ts +9 -0
  52. package/umd/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.test.d.ts +1 -0
  53. package/umd/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.d.ts +9 -0
  54. package/umd/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.d.ts +14 -0
  55. package/umd/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.test.d.ts +1 -0
  56. package/umd/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.d.ts +12 -0
  57. package/umd/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.test.d.ts +1 -0
  58. package/umd/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.d.ts +10 -0
  59. package/umd/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallation.d.ts +39 -0
  60. package/umd/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallationStatus.d.ts +26 -0
  61. package/umd/src/cli/cli-commands/common/promptbook-cli/buildPromptbookCliInstallCommand.d.ts +7 -0
  62. package/umd/src/cli/cli-commands/common/promptbook-cli/buildPromptbookCliInstallCommand.test.d.ts +1 -0
  63. package/umd/src/cli/cli-commands/common/promptbook-cli/formatPromptbookCliInstallationWarning.d.ts +7 -0
  64. package/umd/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +3 -3
  65. package/umd/src/utils/agents/terminalAgentAvatarVisual.d.ts +5 -2
  66. package/umd/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +6 -0
  67. package/umd/src/utils/ascii-art/createAnsiColorCode.d.ts +46 -0
  68. package/umd/src/utils/misc/debounce.d.ts +4 -2
  69. package/umd/src/utils/misc/debounce.test.d.ts +1 -0
  70. package/umd/src/version.d.ts +1 -1
  71. package/esm/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +0 -11
  72. package/esm/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +0 -9
  73. package/umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +0 -11
  74. package/umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +0 -9
  75. /package/esm/src/{cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts → avatars/renderAvatarVisualTerminalText.test.d.ts} +0 -0
  76. /package/esm/src/cli/cli-commands/common/{harness/isHarnessVersionOutdated.test.d.ts → npm/$resolveLatestNpmPackageVersion.test.d.ts} +0 -0
  77. /package/{umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts → esm/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.test.d.ts} +0 -0
  78. /package/{umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.test.d.ts → esm/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.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,11 +563,11 @@ 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.
571
571
 
572
572
  #### Features
573
573