@promptbook/remote-client 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 +3 -3
  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 +2 -2
  35. package/umd/index.umd.js +3 -3
  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
@@ -405,7 +405,7 @@ Or you can install them separately:
405
405
 
406
406
  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:
407
407
 
408
- - prompt files with explicit statuses like `[ ]`, `[x]`, and `[-]`
408
+ - prompt files with explicit statuses like `[ ]`, `[^]`, `[x]`, and `[-]`
409
409
  - automatic selection of the next runnable task, including priority support
410
410
  - optional shared repo context loaded from a file such as `AGENTS.md`
411
411
  - automatic `git add`, commit, and push after each successful prompt
@@ -420,11 +420,11 @@ In short: tools like Claude Code, Codex, or GitHub Copilot are the **engines**;
420
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/`.
421
421
  2. `ptbk coder generate-boilerplates` creates prompt files in `prompts/`.
422
422
  3. You replace placeholder `@@@` sections with real coding tasks.
423
- 4. `ptbk coder run` sends the next ready `[ ]` prompt to the selected coding agent.
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.
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.
428
428
 
429
429
  #### Features
430
430
 
package/esm/index.es.js CHANGED
@@ -18,7 +18,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
18
18
  * @generated
19
19
  * @see https://github.com/webgptorg/promptbook
20
20
  */
21
- const PROMPTBOOK_ENGINE_VERSION = '0.114.0-4';
21
+ const PROMPTBOOK_ENGINE_VERSION = '0.114.0-6';
22
22
  /**
23
23
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
24
24
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -3628,8 +3628,8 @@ const formatCommandParser = {
3628
3628
  */
3629
3629
  $applyToTaskJson(command, $taskJson) {
3630
3630
  if ($taskJson.format !== undefined && command.format !== $taskJson.format) {
3631
- throw new ParseError(`Format format is already defined to "${$taskJson.format}".
3632
- Now you try to redefine it by "${command.format}"`);
3631
+ throw new ParseError(spaceTrim$1(`Format format is already defined to "${$taskJson.format}".
3632
+ Now you try to redefine it by "${command.format}"`));
3633
3633
  }
3634
3634
  $taskJson.format = command.format;
3635
3635
  },