@promptbook/cli 0.112.0-43 → 0.112.0-45

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 (69) hide show
  1. package/esm/index.es.js +1013 -459
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/scripts/run-codex-prompts/common/CoderRunTimer.d.ts +31 -0
  4. package/esm/scripts/run-codex-prompts/common/buildCoderRunProgressSnapshot.d.ts +23 -0
  5. package/esm/scripts/run-codex-prompts/common/cliProgressDisplay.d.ts +13 -4
  6. package/esm/scripts/run-codex-prompts/common/progressFormatting.d.ts +16 -0
  7. package/esm/scripts/run-codex-prompts/common/runGoScript/$runGoScript.d.ts +1 -1
  8. package/esm/scripts/run-codex-prompts/common/runGoScript/$runGoScriptUntilMarkerIdle.d.ts +1 -1
  9. package/esm/scripts/run-codex-prompts/common/runGoScript/$runGoScriptWithOutput.d.ts +1 -1
  10. package/esm/scripts/run-codex-prompts/common/runGoScript/buildScriptLogPath.d.ts +4 -0
  11. package/esm/scripts/run-codex-prompts/common/runGoScript/runBashScriptWithOutput.d.ts +5 -0
  12. package/esm/scripts/run-codex-prompts/common/runGoScript/scriptExecutionLog.d.ts +28 -0
  13. package/esm/scripts/run-codex-prompts/common/runGoScript/shouldDeleteTemporaryArtifact.d.ts +7 -0
  14. package/esm/scripts/run-codex-prompts/common/runGoScript/withPromptRuntimeLog.d.ts +6 -0
  15. package/esm/scripts/run-codex-prompts/common/runGoScript/withTempScript.d.ts +1 -1
  16. package/esm/scripts/run-codex-prompts/testing/runPromptTestCommand.d.ts +2 -0
  17. package/esm/scripts/run-codex-prompts/ui/CoderRunUiState.d.ts +15 -20
  18. package/esm/scripts/run-codex-prompts/ui/buildCoderRunUiFrame.d.ts +28 -0
  19. package/esm/scripts/run-codex-prompts/ui/renderCoderRunUi.d.ts +2 -0
  20. package/esm/src/avatars/Avatar.d.ts +7 -0
  21. package/esm/src/avatars/avatarRenderingUtils.d.ts +117 -0
  22. package/esm/src/avatars/index.d.ts +6 -0
  23. package/esm/src/avatars/renderAvatarVisual.d.ts +9 -0
  24. package/esm/src/avatars/types/AvatarDefinition.d.ts +20 -0
  25. package/esm/src/avatars/types/AvatarVisualDefinition.d.ts +96 -0
  26. package/esm/src/avatars/visuals/avatarVisualRegistry.d.ts +16 -0
  27. package/esm/src/avatars/visuals/minecraftAvatarVisual.d.ts +7 -0
  28. package/esm/src/avatars/visuals/octopusAvatarVisual.d.ts +7 -0
  29. package/esm/src/avatars/visuals/pixelArtAvatarVisual.d.ts +7 -0
  30. package/esm/src/book-2.0/agent-source/AgentBasicInformation.d.ts +2 -1
  31. package/esm/src/book-2.0/agent-source/TeammateProfileResolver.d.ts +2 -1
  32. package/esm/src/commitments/PERSONA/PERSONA.d.ts +7 -0
  33. package/esm/src/commitments/STYLE/STYLE.d.ts +9 -2
  34. package/esm/src/version.d.ts +1 -1
  35. package/package.json +1 -1
  36. package/umd/index.umd.js +1012 -458
  37. package/umd/index.umd.js.map +1 -1
  38. package/umd/scripts/run-codex-prompts/common/CoderRunTimer.d.ts +31 -0
  39. package/umd/scripts/run-codex-prompts/common/buildCoderRunProgressSnapshot.d.ts +23 -0
  40. package/umd/scripts/run-codex-prompts/common/cliProgressDisplay.d.ts +13 -4
  41. package/umd/scripts/run-codex-prompts/common/progressFormatting.d.ts +16 -0
  42. package/umd/scripts/run-codex-prompts/common/runGoScript/$runGoScript.d.ts +1 -1
  43. package/umd/scripts/run-codex-prompts/common/runGoScript/$runGoScriptUntilMarkerIdle.d.ts +1 -1
  44. package/umd/scripts/run-codex-prompts/common/runGoScript/$runGoScriptWithOutput.d.ts +1 -1
  45. package/umd/scripts/run-codex-prompts/common/runGoScript/buildScriptLogPath.d.ts +4 -0
  46. package/umd/scripts/run-codex-prompts/common/runGoScript/runBashScriptWithOutput.d.ts +5 -0
  47. package/umd/scripts/run-codex-prompts/common/runGoScript/scriptExecutionLog.d.ts +28 -0
  48. package/umd/scripts/run-codex-prompts/common/runGoScript/shouldDeleteTemporaryArtifact.d.ts +7 -0
  49. package/umd/scripts/run-codex-prompts/common/runGoScript/withPromptRuntimeLog.d.ts +6 -0
  50. package/umd/scripts/run-codex-prompts/common/runGoScript/withTempScript.d.ts +1 -1
  51. package/umd/scripts/run-codex-prompts/testing/runPromptTestCommand.d.ts +2 -0
  52. package/umd/scripts/run-codex-prompts/ui/CoderRunUiState.d.ts +15 -20
  53. package/umd/scripts/run-codex-prompts/ui/buildCoderRunUiFrame.d.ts +28 -0
  54. package/umd/scripts/run-codex-prompts/ui/renderCoderRunUi.d.ts +2 -0
  55. package/umd/src/avatars/Avatar.d.ts +7 -0
  56. package/umd/src/avatars/avatarRenderingUtils.d.ts +117 -0
  57. package/umd/src/avatars/index.d.ts +6 -0
  58. package/umd/src/avatars/renderAvatarVisual.d.ts +9 -0
  59. package/umd/src/avatars/types/AvatarDefinition.d.ts +20 -0
  60. package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +96 -0
  61. package/umd/src/avatars/visuals/avatarVisualRegistry.d.ts +16 -0
  62. package/umd/src/avatars/visuals/minecraftAvatarVisual.d.ts +7 -0
  63. package/umd/src/avatars/visuals/octopusAvatarVisual.d.ts +7 -0
  64. package/umd/src/avatars/visuals/pixelArtAvatarVisual.d.ts +7 -0
  65. package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +2 -1
  66. package/umd/src/book-2.0/agent-source/TeammateProfileResolver.d.ts +2 -1
  67. package/umd/src/commitments/PERSONA/PERSONA.d.ts +7 -0
  68. package/umd/src/commitments/STYLE/STYLE.d.ts +9 -2
  69. package/umd/src/version.d.ts +1 -1
@@ -9,7 +9,8 @@ export type TeammateProfile = {
9
9
  */
10
10
  readonly agentName: string;
11
11
  /**
12
- * Short description of what the agent does, from its PERSONA commitment.
12
+ * Short profile text for what the agent does, from the last GOAL commitment
13
+ * or deprecated PERSONA fallback.
13
14
  */
14
15
  readonly personaDescription: string | null;
15
16
  };
@@ -29,6 +29,13 @@ export declare class PersonaCommitmentDefinition extends BaseCommitmentDefinitio
29
29
  * Short one-line description of PERSONA.
30
30
  */
31
31
  get description(): string;
32
+ /**
33
+ * Optional UI/docs-only deprecation metadata.
34
+ */
35
+ get deprecation(): {
36
+ readonly message: "Use `GOAL` for agent profile text and inheritance-safe rewrites.";
37
+ readonly replacedBy: readonly ["GOAL"];
38
+ };
32
39
  /**
33
40
  * Icon for this commitment.
34
41
  */
@@ -3,8 +3,8 @@ import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
3
3
  /**
4
4
  * STYLE commitment definition
5
5
  *
6
- * The STYLE commitment defines how the agent should format and present its responses.
7
- * This includes tone, writing style, formatting preferences, and communication patterns.
6
+ * Deprecated legacy writing-style commitment kept for backward compatibility.
7
+ * New books should prefer `WRITING RULES` for writing-only constraints.
8
8
  *
9
9
  * Example usage in agent source:
10
10
  *
@@ -21,6 +21,13 @@ export declare class StyleCommitmentDefinition extends BaseCommitmentDefinition<
21
21
  * Short one-line description of STYLE.
22
22
  */
23
23
  get description(): string;
24
+ /**
25
+ * Optional UI/docs-only deprecation metadata.
26
+ */
27
+ get deprecation(): {
28
+ readonly message: "Use `WRITING RULES` for writing-only constraints such as tone, length, formatting, or emoji usage.";
29
+ readonly replacedBy: readonly ["WRITING RULES"];
30
+ };
24
31
  /**
25
32
  * Icon for this commitment.
26
33
  */
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.112.0-42`).
18
+ * It follows semantic versioning (e.g., `0.112.0-44`).
19
19
  *
20
20
  * @generated
21
21
  */