@bastani/atomic 0.9.88-alpha.1 → 0.9.88

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 (55) hide show
  1. package/CHANGELOG.md +287 -0
  2. package/dist/builtin/intercom/CHANGELOG.md +57 -0
  3. package/dist/builtin/intercom/index.bundle.mjs +62 -38
  4. package/dist/builtin/intercom/package.json +1 -1
  5. package/dist/builtin/intercom/session-target.ts +15 -3
  6. package/dist/builtin/mcp/package.json +1 -1
  7. package/dist/builtin/subagents/CHANGELOG.md +50 -0
  8. package/dist/builtin/subagents/package.json +1 -1
  9. package/dist/builtin/web-access/CHANGELOG.md +10 -0
  10. package/dist/builtin/web-access/package.json +1 -1
  11. package/dist/builtin/workflows/CHANGELOG.md +117 -0
  12. package/dist/builtin/workflows/README.md +2 -2
  13. package/dist/builtin/workflows/builtin/{chunk-r9xfx5d0.js → chunk-4h4nh4f1.js} +1 -1
  14. package/dist/builtin/workflows/builtin/{chunk-cryf7s3r.js → chunk-jm7redy5.js} +648 -91
  15. package/dist/builtin/workflows/builtin/{chunk-c7bc4ppx.js → chunk-t661k7hd.js} +1 -1
  16. package/dist/builtin/workflows/builtin/goal.js +2 -2
  17. package/dist/builtin/workflows/builtin/index.js +3 -3
  18. package/dist/builtin/workflows/builtin/ralph.js +2 -2
  19. package/dist/builtin/workflows/package.json +1 -1
  20. package/dist/builtin/workflows/src/durable/fork-errors.d.ts +0 -1
  21. package/dist/builtin/workflows/src/durable/journal/internal.d.ts +1 -0
  22. package/dist/builtin/workflows/src/extension/index.bundle.mjs +2515 -1091
  23. package/dist/builtin/workflows/src/extension/local-worker-entry.mjs +1092 -98
  24. package/dist/builtin/workflows/src/index.js +1077 -91
  25. package/dist/builtin/workflows/src/local-worker-entry.mjs +1092 -98
  26. package/dist/core/storage/session/session-resume.d.ts +8 -1
  27. package/dist/core/storage/session/session-resume.d.ts.map +1 -1
  28. package/dist/core/storage/session/session-resume.js +22 -3
  29. package/dist/core/storage/session/session-resume.js.map +1 -1
  30. package/dist/core/worktree-snapshot/restore.d.ts +2 -0
  31. package/dist/core/worktree-snapshot/restore.d.ts.map +1 -1
  32. package/dist/core/worktree-snapshot/restore.js +41 -5
  33. package/dist/core/worktree-snapshot/restore.js.map +1 -1
  34. package/dist/modes/interactive/components/jump-to-latest.d.ts +0 -5
  35. package/dist/modes/interactive/components/jump-to-latest.d.ts.map +1 -1
  36. package/dist/modes/interactive/components/jump-to-latest.js +0 -5
  37. package/dist/modes/interactive/components/jump-to-latest.js.map +1 -1
  38. package/dist/modes/interactive/interactive-mode-base.d.ts +1 -0
  39. package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
  40. package/dist/modes/interactive/interactive-mode-base.js +13 -2
  41. package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
  42. package/dist/modes/interactive/interactive-render-chat.d.ts +0 -4
  43. package/dist/modes/interactive/interactive-render-chat.d.ts.map +1 -1
  44. package/dist/modes/interactive/interactive-render-chat.js +19 -45
  45. package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
  46. package/dist/modes/interactive/interactive-startup-chat-container.d.ts +9 -1
  47. package/dist/modes/interactive/interactive-startup-chat-container.d.ts.map +1 -1
  48. package/dist/modes/interactive/interactive-startup-chat-container.js +38 -0
  49. package/dist/modes/interactive/interactive-startup-chat-container.js.map +1 -1
  50. package/docs/keybindings.md +1 -1
  51. package/docs/storage.md +1 -1
  52. package/docs/workflows/api-reference.md +3 -2
  53. package/docs/workflows/operations.md +11 -9
  54. package/npm-shrinkwrap.json +49 -49
  55. package/package.json +6 -6
@@ -40,7 +40,7 @@ import {
40
40
  reviewerFailureText,
41
41
  summarizeReviewConvergence,
42
42
  reverify_consolidated_batch
43
- } from "./chunk-cryf7s3r.js";
43
+ } from "./chunk-jm7redy5.js";
44
44
  import {
45
45
  fold_usage
46
46
  } from "./chunk-tgt0s5e5.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  goal_default
3
- } from "./chunk-r9xfx5d0.js";
4
- import"./chunk-cryf7s3r.js";
3
+ } from "./chunk-4h4nh4f1.js";
4
+ import"./chunk-jm7redy5.js";
5
5
  import"./chunk-8kdrnrpa.js";
6
6
  import"./chunk-gp0s6m45.js";
7
7
  import"./chunk-n1910xc4.js";
@@ -16,8 +16,8 @@ import {
16
16
  } from "./chunk-7sykvnn1.js";
17
17
  import {
18
18
  goal_default
19
- } from "./chunk-r9xfx5d0.js";
20
- import"./chunk-cryf7s3r.js";
19
+ } from "./chunk-4h4nh4f1.js";
20
+ import"./chunk-jm7redy5.js";
21
21
  import"./chunk-gp0s6m45.js";
22
22
  import {
23
23
  open_claude_design_default
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-k24pgawa.js";
28
28
  import {
29
29
  ralph_default
30
- } from "./chunk-c7bc4ppx.js";
30
+ } from "./chunk-t661k7hd.js";
31
31
  import {
32
32
  tournament_default
33
33
  } from "./chunk-j9mgnbw0.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ralph_default
3
- } from "./chunk-c7bc4ppx.js";
4
- import"./chunk-cryf7s3r.js";
3
+ } from "./chunk-t661k7hd.js";
4
+ import"./chunk-jm7redy5.js";
5
5
  import"./chunk-8kdrnrpa.js";
6
6
  import"./chunk-gp0s6m45.js";
7
7
  import"./chunk-n1910xc4.js";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/workflows",
3
- "version": "0.9.88-alpha.1",
3
+ "version": "0.9.88",
4
4
  "private": true,
5
5
  "description": "Atomic extension for multi-stage workflow authoring and execution.",
6
6
  "contributors": [
@@ -80,7 +80,6 @@ export declare class ForkError extends Error {
80
80
  withCleanupCause(cleanupCause: Error): this;
81
81
  toJSON(): SerializedForkError;
82
82
  }
83
- /** `fromStage` names no completed stage of the source run. Nothing was written. */
84
83
  export declare class ForkTargetNotFoundError extends ForkError {
85
84
  readonly name: "ForkTargetNotFoundError";
86
85
  readonly code: "target-not-found";
@@ -92,6 +92,7 @@ export interface SqlPoolStorage {
92
92
  * statements of one read may see different commits.
93
93
  */
94
94
  read<T>(body: (executor: SqliteExecutor) => Promise<T>): Promise<T>;
95
+ readonly peek?: <T>(body: (executor: SqliteExecutor) => Promise<T>) => Promise<T>;
95
96
  withAppendGuard<T>(guard: JournalAppendGuard, action: () => Promise<T>): Promise<T>;
96
97
  readonly tables: Readonly<{
97
98
  runs: string;