@bastani/atomic 0.10.7 → 0.10.8-alpha.1

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 (262) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/_shared/dist-KOELCESV.js +2 -2
  3. package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
  4. package/dist/_shared/lib-4PES5P4V.js +2 -2
  5. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +5 -5
  6. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +5 -5
  7. package/dist/_shared/mode-shared-2QJSCUM6.js +5 -5
  8. package/dist/_shared/p1a-prewarm-UQY3X2UK.js +3 -3
  9. package/dist/_shared/runtime-O4KCSG4C.js +2 -2
  10. package/dist/_shared/{sdk-WQIOHVKO.js → sdk-OSBEPR3Q.js} +2875 -12
  11. package/dist/_shared/sdk-OSBEPR3Q.js.map +1 -0
  12. package/dist/_shared/session-data-AHTU7IS6.js +3 -3
  13. package/dist/_shared/startup-0-0-TYUFUOJZ.js +2 -2
  14. package/dist/_shared/startup-0-1-W2G2UY7R.js +163 -163
  15. package/dist/_shared/startup-0-1-W2G2UY7R.js.map +1 -1
  16. package/dist/_shared/{startup-0-2-SZGQIWHI.js → startup-0-2-UXBUEOXW.js} +4 -4
  17. package/dist/_shared/{startup-0-2-SZGQIWHI.js.map → startup-0-2-UXBUEOXW.js.map} +1 -1
  18. package/dist/_shared/startup-0-3-T4DVFYWX.js +3 -3
  19. package/dist/_shared/startup-0-4-HN5EB4K7.js +3 -3
  20. package/dist/_shared/{startup-0-5-OHJNE6JH.js → startup-0-5-FD2P735I.js} +5 -5
  21. package/dist/_shared/{startup-0-5-OHJNE6JH.js.map → startup-0-5-FD2P735I.js.map} +1 -1
  22. package/dist/_shared/startup-10-0-TDQNBDDL.js +5 -5
  23. package/dist/_shared/startup-12-0-55AAXBJZ.js +2 -2
  24. package/dist/_shared/startup-14-0-MLX36RBG.js +17 -4
  25. package/dist/_shared/startup-14-0-MLX36RBG.js.map +1 -1
  26. package/dist/_shared/startup-15-0-YUKGAC63.js +3 -3
  27. package/dist/_shared/startup-15-1-4S7FLMNG.js +5 -5
  28. package/dist/_shared/startup-8-0-34CBHPZH.js +3 -3
  29. package/dist/_shared/{startup-8-1-SJW2GMAM.js → startup-8-1-4KANEHRA.js} +6 -6
  30. package/dist/_shared/{startup-8-1-SJW2GMAM.js.map → startup-8-1-4KANEHRA.js.map} +1 -1
  31. package/dist/_shared/storage-command-7MGXLJGZ.js +3 -3
  32. package/dist/_shared/task-reference-stream-JWMUZSJX.js +1 -1
  33. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
  34. package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
  35. package/dist/builtin/intercom/index.bundle.mjs +1 -1
  36. package/dist/builtin/intercom/package.json +1 -1
  37. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  38. package/dist/builtin/mcp/package.json +1 -1
  39. package/dist/builtin/subagents/package.json +1 -1
  40. package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
  41. package/dist/builtin/web-access/index.bundle.mjs +1 -1
  42. package/dist/builtin/web-access/package.json +1 -1
  43. package/dist/cli/auth-cli.code.js +3 -3
  44. package/dist/cli/auth-cli.impl.js +3 -3
  45. package/dist/cli/auth-cli.js +3 -3
  46. package/dist/cli/blueprint-command.code.js +2 -2
  47. package/dist/cli/blueprint-command.impl.js +3 -3
  48. package/dist/cli/blueprint-command.js +3 -3
  49. package/dist/cli/intercom-command.code.js +3 -3
  50. package/dist/cli/intercom-command.impl.js +3 -3
  51. package/dist/cli/intercom-command.js +3 -3
  52. package/dist/cli/list-models.impl.js +3 -3
  53. package/dist/cli/list-models.js +3 -3
  54. package/dist/cli/session-picker.code.js +1 -1
  55. package/dist/cli/session-picker.impl.js +3 -3
  56. package/dist/cli/session-picker.js +3 -3
  57. package/dist/cli/startup-ui.code.js +1 -1
  58. package/dist/cli/startup-ui.impl.js +3 -3
  59. package/dist/cli/startup-ui.js +3 -3
  60. package/dist/cli/storage-command.impl.js +3 -3
  61. package/dist/cli/storage-command.js +3 -3
  62. package/dist/cli/storage-search-session.code.js +2 -2
  63. package/dist/cli/storage-search-session.impl.js +3 -3
  64. package/dist/cli/storage-search-session.js +3 -3
  65. package/dist/cli/team-command.code.js +2 -2
  66. package/dist/cli/team-command.impl.js +3 -3
  67. package/dist/cli/team-command.js +3 -3
  68. package/dist/cli.js +2 -2
  69. package/dist/core/debug.impl.js +3 -3
  70. package/dist/core/debug.js +3 -3
  71. package/dist/core/export-html/card-projection.code.js +1 -1
  72. package/dist/core/export-html/card-projection.impl.js +3 -3
  73. package/dist/core/export-html/card-projection.js +3 -3
  74. package/dist/core/export-html/index.code.js +2 -2
  75. package/dist/core/export-html/index.impl.js +3 -3
  76. package/dist/core/export-html/index.js +3 -3
  77. package/dist/core/export-html/json-spans.impl.js +3 -3
  78. package/dist/core/export-html/json-spans.js +3 -3
  79. package/dist/core/export-html/oversized-render-inputs.code.js +1 -1
  80. package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
  81. package/dist/core/export-html/oversized-render-inputs.js +3 -3
  82. package/dist/core/export-html/tool-renderer.impl.js +3 -3
  83. package/dist/core/export-html/tool-renderer.js +3 -3
  84. package/dist/core/extensions/jiti-loader.impl.js +3 -3
  85. package/dist/core/extensions/jiti-loader.js +3 -3
  86. package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
  87. package/dist/core/extensions/jiti-static-loader.js +3 -3
  88. package/dist/core/extensions/loader-host-modules.impl.js +3 -3
  89. package/dist/core/extensions/loader-host-modules.js +3 -3
  90. package/dist/core/extensions/loader-virtual-modules.js +1 -1
  91. package/dist/core/extensions/runner-context.js +1 -1
  92. package/dist/core/intercom-broker-control-host.code.js +1 -1
  93. package/dist/core/intercom-broker-control-host.impl.js +3 -3
  94. package/dist/core/intercom-broker-control-host.js +3 -3
  95. package/dist/core/intercom-broker-control.code.js +2 -2
  96. package/dist/core/intercom-broker-control.impl.js +3 -3
  97. package/dist/core/intercom-broker-control.js +3 -3
  98. package/dist/core/model-registry.js +1 -1
  99. package/dist/core/package-manager-storage-adapters.code.js +1 -1
  100. package/dist/core/package-manager-storage-adapters.impl.js +3 -3
  101. package/dist/core/package-manager-storage-adapters.js +3 -3
  102. package/dist/core/sdk.code.js +3 -3
  103. package/dist/core/sdk.impl.js +3 -3
  104. package/dist/core/sdk.js +3 -3
  105. package/dist/core/session-claims.d.ts +30 -0
  106. package/dist/core/session-lifecycle-work.d.ts +74 -0
  107. package/dist/core/session-manager-core.js +4 -4
  108. package/dist/core/session-manager-list.impl.js +3 -3
  109. package/dist/core/session-manager-list.js +3 -3
  110. package/dist/core/session-manager.impl.js +3 -3
  111. package/dist/core/session-manager.js +3 -3
  112. package/dist/core/session-storage.code.js +1 -1
  113. package/dist/core/session-storage.impl.js +3 -3
  114. package/dist/core/session-storage.js +3 -3
  115. package/dist/core/storage/index.js +2 -2
  116. package/dist/core/storage/node-sqlite-thread.js +2 -2
  117. package/dist/core/storage/node-sqlite.js +2 -2
  118. package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
  119. package/dist/core/storage/offline-snapshot-file.js +3 -3
  120. package/dist/core/storage/provider.js +2 -2
  121. package/dist/core/storage/selection.js +2 -2
  122. package/dist/core/storage/session/branch-fork-source.code.js +2 -2
  123. package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
  124. package/dist/core/storage/session/branch-fork-source.js +3 -3
  125. package/dist/core/storage/session/card-view.impl.js +3 -3
  126. package/dist/core/storage/session/card-view.js +3 -3
  127. package/dist/core/storage/session/child-reader.code.js +2 -2
  128. package/dist/core/storage/session/child-reader.impl.js +3 -3
  129. package/dist/core/storage/session/child-reader.js +3 -3
  130. package/dist/core/storage/session/chunked-resume-projection.code.js +1 -1
  131. package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
  132. package/dist/core/storage/session/chunked-resume-projection.js +3 -3
  133. package/dist/core/storage/session/expanded-child-details.code.js +3 -3
  134. package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
  135. package/dist/core/storage/session/expanded-child-details.js +3 -3
  136. package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
  137. package/dist/core/storage/session/fork-row-bytes.js +3 -3
  138. package/dist/core/storage/session/fork-row-index.impl.js +3 -3
  139. package/dist/core/storage/session/fork-row-index.js +3 -3
  140. package/dist/core/storage/session/fork-staging.code.js +1 -1
  141. package/dist/core/storage/session/fork-staging.impl.js +3 -3
  142. package/dist/core/storage/session/fork-staging.js +3 -3
  143. package/dist/core/storage/session/fork-window.code.js +2 -2
  144. package/dist/core/storage/session/fork-window.impl.js +3 -3
  145. package/dist/core/storage/session/fork-window.js +3 -3
  146. package/dist/core/storage/session/history-pages.impl.js +3 -3
  147. package/dist/core/storage/session/history-pages.js +3 -3
  148. package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
  149. package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
  150. package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
  151. package/dist/core/storage/session/jsonl-session-store.js +3 -3
  152. package/dist/core/storage/session/memory-session-store.impl.js +3 -3
  153. package/dist/core/storage/session/memory-session-store.js +3 -3
  154. package/dist/core/storage/session/pinned-branch-resume.code.js +2 -2
  155. package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
  156. package/dist/core/storage/session/pinned-branch-resume.js +3 -3
  157. package/dist/core/storage/session/released-history-files.code.js +1 -1
  158. package/dist/core/storage/session/released-history-files.impl.js +3 -3
  159. package/dist/core/storage/session/released-history-files.js +3 -3
  160. package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
  161. package/dist/core/storage/session/resident-fork-rows.js +3 -3
  162. package/dist/core/storage/session/session-resume.impl.js +3 -3
  163. package/dist/core/storage/session/session-resume.js +3 -3
  164. package/dist/core/storage/session/session-search-index.d.ts +39 -0
  165. package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
  166. package/dist/core/storage/session/snapshot-cut.js +3 -3
  167. package/dist/core/storage/session/snapshot-history.code.js +2 -2
  168. package/dist/core/storage/session/snapshot-history.impl.js +3 -3
  169. package/dist/core/storage/session/snapshot-history.js +3 -3
  170. package/dist/core/storage/session/sql-session-store.code.js +1 -1
  171. package/dist/core/storage/session/sql-session-store.d.ts +400 -0
  172. package/dist/core/storage/session/sql-session-store.impl.js +3 -3
  173. package/dist/core/storage/session/sql-session-store.js +3 -3
  174. package/dist/core/storage/session/tree-outline.impl.js +3 -3
  175. package/dist/core/storage/session/tree-outline.js +3 -3
  176. package/dist/core/storage/session/tree-presentation.code.js +1 -1
  177. package/dist/core/storage/session/tree-presentation.impl.js +3 -3
  178. package/dist/core/storage/session/tree-presentation.js +3 -3
  179. package/dist/core/storage/session/yield-turn.d.ts +3 -0
  180. package/dist/core/storage/storage-status.code.js +1 -1
  181. package/dist/core/storage/storage-status.impl.js +3 -3
  182. package/dist/core/storage/storage-status.js +3 -3
  183. package/dist/core/storage/team.code.js +1 -1
  184. package/dist/core/storage/team.impl.js +3 -3
  185. package/dist/core/storage/team.js +3 -3
  186. package/dist/core/storage/transfer-files.d.ts +74 -0
  187. package/dist/core/structured-output/index.code.js +1 -1
  188. package/dist/core/structured-output/index.impl.js +3 -3
  189. package/dist/core/structured-output/index.js +3 -3
  190. package/dist/core/tasks/task-completion-entry.code.js +1 -1
  191. package/dist/core/tasks/task-completion-entry.impl.js +3 -3
  192. package/dist/core/tasks/task-completion-entry.js +3 -3
  193. package/dist/core/tasks/task-file-history.code.js +2 -2
  194. package/dist/core/tasks/task-file-history.impl.js +3 -3
  195. package/dist/core/tasks/task-file-history.js +3 -3
  196. package/dist/core/tasks/task-reference-archive.code.js +3 -3
  197. package/dist/core/tasks/task-reference-archive.js +3 -3
  198. package/dist/core/tasks/task-reference-identity.js +3 -3
  199. package/dist/core/tasks/task-reference-stream.impl.js +3 -3
  200. package/dist/core/tasks/task-reference-stream.js +3 -3
  201. package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
  202. package/dist/core/tasks/task-unsaved-answer.js +3 -3
  203. package/dist/core/tasks/task-view-source.code.js +1 -1
  204. package/dist/core/tasks/task-view-source.impl.js +3 -3
  205. package/dist/core/tasks/task-view-source.js +3 -3
  206. package/dist/core/tools/read-url.code.js +1 -1
  207. package/dist/core/tools/read-url.impl.js +3 -3
  208. package/dist/core/tools/read-url.js +3 -3
  209. package/dist/core/worktree-snapshot/blob-store.js +2 -2
  210. package/dist/core/worktree-snapshot/errors.code.js +1 -1
  211. package/dist/core/worktree-snapshot/errors.impl.js +3 -3
  212. package/dist/core/worktree-snapshot/errors.js +3 -3
  213. package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
  214. package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
  215. package/dist/extensions/codemode/execute.code.js +1 -1
  216. package/dist/extensions/codemode/execute.impl.js +3 -3
  217. package/dist/extensions/codemode/execute.js +3 -3
  218. package/dist/extensions/codemode/renderer.code.js +1 -1
  219. package/dist/extensions/codemode/renderer.impl.js +3 -3
  220. package/dist/extensions/codemode/renderer.js +3 -3
  221. package/dist/extensions/mcp/cli.code.js +2 -2
  222. package/dist/extensions/mcp/cli.impl.js +3 -3
  223. package/dist/extensions/mcp/cli.js +3 -3
  224. package/dist/extensions/mcp/cli.lazy.code.js +2 -2
  225. package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
  226. package/dist/extensions/mcp/cli.lazy.js +3 -3
  227. package/dist/extensions/mcp/runtime.code.js +1 -1
  228. package/dist/extensions/mcp/runtime.impl.js +3 -3
  229. package/dist/extensions/mcp/runtime.js +3 -3
  230. package/dist/index.d.ts +13 -3
  231. package/dist/index.js +11 -11
  232. package/dist/main-first-time-setup.code.js +1 -1
  233. package/dist/main-first-time-setup.impl.js +3 -3
  234. package/dist/main-first-time-setup.js +3 -3
  235. package/dist/main.js +1 -1
  236. package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
  237. package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
  238. package/dist/modes/interactive/components/stored-tree-view.js +3 -3
  239. package/dist/modes/interactive/components/user-message-selector-archive.code.js +1 -1
  240. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
  241. package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
  242. package/dist/modes/print-mode.js +1 -1
  243. package/dist/package-manager-cli.code.js +4 -4
  244. package/dist/package-manager-cli.impl.js +3 -3
  245. package/dist/package-manager-cli.js +3 -3
  246. package/dist/startup-files.json +1 -1
  247. package/dist/startup-stages/10.js +1 -1
  248. package/dist/startup-stages/12.js +1 -1
  249. package/dist/startup-stages/8.js +1 -1
  250. package/dist/utils/startup-database-spare.code.js +1 -1
  251. package/dist/utils/startup-database-spare.impl.js +3 -3
  252. package/dist/utils/startup-database-spare.js +3 -3
  253. package/dist/utils/tools-manager.impl.js +3 -3
  254. package/dist/utils/tools-manager.js +3 -3
  255. package/docs/sdk/reference.md +85 -0
  256. package/docs/sdk.md +23 -1
  257. package/package.json +8 -8
  258. package/dist/_shared/fork-staging-maintenance-AIIUXOZQ.js +0 -19
  259. package/dist/_shared/fork-staging-maintenance-AIIUXOZQ.js.map +0 -1
  260. package/dist/_shared/sdk-WQIOHVKO.js.map +0 -1
  261. package/dist/_shared/sql-session-store-5FD3WBMZ.js +0 -2903
  262. package/dist/_shared/sql-session-store-5FD3WBMZ.js.map +0 -1
@@ -0,0 +1,74 @@
1
+ /**
2
+ * The files `atomic storage export` writes and `atomic storage import` reads (#4716, #4720): one JSONL file per session,
3
+ * in the `sessions` subdirectory of the export directory. Each file is written whole through a temporary file, and one
4
+ * that already holds the same bytes is left untouched.
5
+ */
6
+ import { StorageError, type StorageFailureCause } from "./errors.js";
7
+ /** The file name extension of an exported session; import reads every file with it and ignores the rest. */
8
+ export declare const TRANSFER_FILE_EXTENSION = ".jsonl";
9
+ /** The subdirectory of an export directory that holds sessions. */
10
+ export declare const SESSIONS_TRANSFER_DIRECTORY = "sessions";
11
+ export interface StorageTransferErrorInit {
12
+ /** The file or storage location the error is about. */
13
+ readonly path: string;
14
+ /** The 1-based line of `path`. */
15
+ readonly line?: number;
16
+ /** The session the error is about. */
17
+ readonly id?: string;
18
+ readonly reason: string;
19
+ readonly cause?: StorageFailureCause;
20
+ }
21
+ /** An export or import that could not be done; an import that fails this way wrote nothing. */
22
+ export declare class StorageTransferError extends StorageError {
23
+ readonly name: "StorageTransferError";
24
+ readonly path: string;
25
+ readonly line: number | undefined;
26
+ readonly id: string | undefined;
27
+ readonly reason: string;
28
+ constructor(init: StorageTransferErrorInit);
29
+ }
30
+ /** The sessions an import wrote, or did not write. */
31
+ export interface TransferredIds {
32
+ readonly sessions: readonly string[];
33
+ }
34
+ /**
35
+ * An import that failed after it wrote some sessions: `written` names exactly what it wrote, and `notWritten` what it
36
+ * did not. Importing the same files again writes only what is missing.
37
+ */
38
+ export declare class StorageImportIncompleteError extends StorageError {
39
+ readonly name: "StorageImportIncompleteError";
40
+ readonly written: TransferredIds;
41
+ readonly notWritten: TransferredIds;
42
+ constructor(cause: Error, outcome: {
43
+ readonly written: TransferredIds;
44
+ readonly notWritten: TransferredIds;
45
+ });
46
+ }
47
+ export declare function isStorageImportIncompleteError(value: unknown): value is StorageImportIncompleteError;
48
+ export declare function isStorageTransferError(value: unknown): value is StorageTransferError;
49
+ /** The file a session with `id` is exported to in `directory`. */
50
+ export declare function transferFile(directory: string, id: string): string;
51
+ /**
52
+ * Writes `lines`, each followed by a newline, to `file` through an owner-only temporary file in the same directory
53
+ * that is flushed and then renamed over it, so `file` holds either its earlier content or all of the new content. The
54
+ * lines are written as they come, so a large session is never held as one string. A file that already holds exactly
55
+ * these bytes is left alone.
56
+ */
57
+ export declare function writeLinesAtomically(file: string, lines: Iterable<string> | AsyncIterable<string>): Promise<"written" | "unchanged">;
58
+ /** Publish a complete file even when a single JSONL record spans many byte chunks. */
59
+ export declare function writeChunksAtomically(file: string, chunks: AsyncIterable<Uint8Array | string>): Promise<"written" | "unchanged">;
60
+ /** One export file as import reads it: its path and its lines, each with its 1-based line number. */
61
+ export interface TransferFileLines {
62
+ readonly file: string;
63
+ readonly lines: readonly {
64
+ readonly line: number;
65
+ readonly text: string;
66
+ }[];
67
+ }
68
+ /**
69
+ * The `*.jsonl` files of `directory`, in name order, each decoded as UTF-8 and split into lines; a final newline does
70
+ * not start another line. A directory that does not exist holds no files. Throws `StorageTransferError` naming the
71
+ * file when one cannot be read or is not UTF-8.
72
+ */
73
+ export declare function readTransferDirectory(directory: string): Promise<TransferFileLines[]>;
74
+ //# sourceMappingURL=transfer-files.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import "../../_shared/rolldown-runtime-BGM3D5V3.js";
2
- export { ClassifierDecisionError, OutputRepairExhaustedError, ProviderRequestFailure, TerminalDecisionError, decisionFailure, generateStructuredOutput, resolveDecisionModel, runDecision } from "../../_shared/sdk-WQIOHVKO.js";
2
+ export { ClassifierDecisionError, OutputRepairExhaustedError, ProviderRequestFailure, TerminalDecisionError, decisionFailure, generateStructuredOutput, resolveDecisionModel, runDecision } from "../../_shared/sdk-OSBEPR3Q.js";
3
3
  //# sourceMappingURL=index.code.js.map
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using structured output.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using structured output.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using structured output.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using structured output.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1,5 +1,5 @@
1
1
  import "../../_shared/rolldown-runtime-BGM3D5V3.js";
2
- import { read, skip, stringValue } from "../../_shared/startup-0-5-OHJNE6JH.js";
2
+ import { read, skip, stringValue } from "../../_shared/startup-0-5-FD2P735I.js";
3
3
  // dist/core/tasks/task-completion-entry.js
4
4
  function* object(first, fields) {
5
5
  if (first.name !== "startObject") {
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -383,7 +383,7 @@ function __atomicOnDemandFailed(error, feature) {
383
383
  return (async () => {
384
384
  const root = new URL("../../", import.meta.url);
385
385
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
386
- const key = `${root.href}#0.10.7`;
386
+ const key = `${root.href}#0.10.8-alpha.1`;
387
387
  let release = releases.get(key);
388
388
  if (release === undefined) {
389
389
  const current = (async () => {
@@ -411,7 +411,7 @@ function __atomicOnDemandFailed(error, feature) {
411
411
  } catch {
412
412
  // No installation to read, as in a bundle of the package: the release the process runs decides.
413
413
  }
414
- const updatedTo = typeof installed === "string" && installed !== "0.10.7" ? installed : running !== undefined && running.version !== "0.10.7" ? "0.10.7" : undefined;
414
+ const updatedTo = typeof installed === "string" && installed !== "0.10.8-alpha.1" ? installed : running !== undefined && running.version !== "0.10.8-alpha.1" ? "0.10.8-alpha.1" : undefined;
415
415
  if (updatedTo === undefined) throw error;
416
416
  const application = typeof running?.name === "string" ? running.name : "atomic";
417
417
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ import { SESSION_HISTORY_PAGE_BYTES } from "../../_shared/settings-startup-4QCVC
6
6
  import { streamedEarlierMatches, streamedTaskReferences, visibleStreamedItem } from "../../_shared/task-reference-stream-JWMUZSJX.js";
7
7
  import { taskEntryReferences } from "../../_shared/startup-0-4-HN5EB4K7.js";
8
8
  import { taskAnswerMissing } from "../../_shared/task-unsaved-answer-VJ2KTB4V.js";
9
- import { taskTranscriptFile, taskTranscriptUnsavedAnswer } from "../../_shared/startup-8-1-SJW2GMAM.js";
9
+ import { taskTranscriptFile, taskTranscriptUnsavedAnswer } from "../../_shared/startup-8-1-4KANEHRA.js";
10
10
  // dist/core/tasks/task-reference-pages.js
11
11
  function suffix(id) {
12
12
  const colon = id.lastIndexOf(":");
@@ -473,7 +473,7 @@ function __atomicOnDemandFailed(error, feature) {
473
473
  return (async () => {
474
474
  const root = new URL("../../", import.meta.url);
475
475
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
476
- const key = `${root.href}#0.10.7`;
476
+ const key = `${root.href}#0.10.8-alpha.1`;
477
477
  let release = releases.get(key);
478
478
  if (release === undefined) {
479
479
  const current = (async () => {
@@ -501,7 +501,7 @@ function __atomicOnDemandFailed(error, feature) {
501
501
  } catch {
502
502
  // No installation to read, as in a bundle of the package: the release the process runs decides.
503
503
  }
504
- const updatedTo = typeof installed === "string" && installed !== "0.10.7" ? installed : running !== undefined && running.version !== "0.10.7" ? "0.10.7" : undefined;
504
+ const updatedTo = typeof installed === "string" && installed !== "0.10.8-alpha.1" ? installed : running !== undefined && running.version !== "0.10.8-alpha.1" ? "0.10.8-alpha.1" : undefined;
505
505
  if (updatedTo === undefined) throw error;
506
506
  const application = typeof running?.name === "string" ? running.name : "atomic";
507
507
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1,3 +1,3 @@
1
1
  import "../../_shared/rolldown-runtime-BGM3D5V3.js";
2
- export { bindTaskTranscriptFragments, launchedTaskViewSource, liveTaskRowOrigin, onOwnerTaskAction, ownerTaskViewSource, plainNoticeBlock, readTaskDetailForView, readTaskPageForChat, readTaskPageForView, retainTaskWindowReader, savedBoundaryCursor, taskCursorsAround, taskTranscriptFile, taskTranscriptFragments, taskTranscriptUnsavedAnswer, withTaskTranscriptArchive } from "../../_shared/startup-8-1-SJW2GMAM.js";
2
+ export { bindTaskTranscriptFragments, launchedTaskViewSource, liveTaskRowOrigin, onOwnerTaskAction, ownerTaskViewSource, plainNoticeBlock, readTaskDetailForView, readTaskPageForChat, readTaskPageForView, retainTaskWindowReader, savedBoundaryCursor, taskCursorsAround, taskTranscriptFile, taskTranscriptFragments, taskTranscriptUnsavedAnswer, withTaskTranscriptArchive } from "../../_shared/startup-8-1-4KANEHRA.js";
3
3
  //# sourceMappingURL=task-view-source.code.js.map
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -7,7 +7,7 @@ import { channel, tracingChannel } from "node:diagnostics_channel";
7
7
  import { require_turndown_cjs } from "../../_shared/turndown.cjs-7Z43JOED.js";
8
8
  import { require_undici } from "../../_shared/http-undici-FVPTZA4G.js";
9
9
  import { findAsciiCaseInsensitive, isAsciiWordCode } from "../../_shared/p1b-elig-ENCUPKKJ.js";
10
- import { applyReadLineSelection, decodeReadableUrl, extractDocumentMarkdown, getArtifactManager, isDocumentPath } from "../../_shared/startup-8-1-SJW2GMAM.js";
10
+ import { applyReadLineSelection, decodeReadableUrl, extractDocumentMarkdown, getArtifactManager, isDocumentPath } from "../../_shared/startup-8-1-4KANEHRA.js";
11
11
  import { isReadableUrlPath, repairCollapsedScheme } from "../../_shared/startup-0-0-TYUFUOJZ.js";
12
12
  import { isIP } from "node:net";
13
13
  // ../../node_modules/lru-cache/dist/esm/node/index.min.js
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1993,7 +1993,7 @@ function __atomicOnDemandFailed(error, feature) {
1993
1993
  return (async () => {
1994
1994
  const root = new URL("../../", import.meta.url);
1995
1995
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
1996
- const key = `${root.href}#0.10.7`;
1996
+ const key = `${root.href}#0.10.8-alpha.1`;
1997
1997
  let release = releases.get(key);
1998
1998
  if (release === undefined) {
1999
1999
  const current = (async () => {
@@ -2021,7 +2021,7 @@ function __atomicOnDemandFailed(error, feature) {
2021
2021
  } catch {
2022
2022
  // No installation to read, as in a bundle of the package: the release the process runs decides.
2023
2023
  }
2024
- const updatedTo = typeof installed === "string" && installed !== "0.10.7" ? installed : running !== undefined && running.version !== "0.10.7" ? "0.10.7" : undefined;
2024
+ const updatedTo = typeof installed === "string" && installed !== "0.10.8-alpha.1" ? installed : running !== undefined && running.version !== "0.10.8-alpha.1" ? "0.10.8-alpha.1" : undefined;
2025
2025
  if (updatedTo === undefined) throw error;
2026
2026
  const application = typeof running?.name === "string" ? running.name : "atomic";
2027
2027
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -1,6 +1,6 @@
1
1
  import "../../_shared/rolldown-runtime-BGM3D5V3.js";
2
2
  import { GitUnavailableError, isGitUnavailableError } from "../../_shared/startup-0-0-TYUFUOJZ.js";
3
3
  import { WorkspaceBindingError, WorkspaceCollectionError, WorkspaceConfigError, WorkspaceDriftError, WorkspaceError, WorkspaceGitError, WorkspacePublicationError, WorkspaceRestoreError, WorkspaceSandboxError, WorkspaceSnapshotError, WorkspaceTimeoutError, attachCleanupCause, findWorkspaceError, gitInstallCommand, isRetryableWorkspaceError, isWorkspaceBindingError, isWorkspaceCollectionError, isWorkspaceConfigError, isWorkspaceDriftError, isWorkspaceError, isWorkspaceGitError, isWorkspacePublicationError, isWorkspaceRestoreError, isWorkspaceSandboxError, isWorkspaceSnapshotError, isWorkspaceTimeoutError, rehydrateWorkspaceError, serializeWorkspaceError, unreadablePathError, unwritablePathError } from "../../_shared/startup-0-1-W2G2UY7R.js";
4
- import "../../_shared/startup-0-2-SZGQIWHI.js";
4
+ import "../../_shared/startup-0-2-UXBUEOXW.js";
5
5
  export { GitUnavailableError, WorkspaceBindingError, WorkspaceCollectionError, WorkspaceConfigError, WorkspaceDriftError, WorkspaceError, WorkspaceGitError, WorkspacePublicationError, WorkspaceRestoreError, WorkspaceSandboxError, WorkspaceSnapshotError, WorkspaceTimeoutError, attachCleanupCause, findWorkspaceError, gitInstallCommand, isGitUnavailableError, isRetryableWorkspaceError, isWorkspaceBindingError, isWorkspaceCollectionError, isWorkspaceConfigError, isWorkspaceDriftError, isWorkspaceError, isWorkspaceGitError, isWorkspacePublicationError, isWorkspaceRestoreError, isWorkspaceSandboxError, isWorkspaceSnapshotError, isWorkspaceTimeoutError, rehydrateWorkspaceError, serializeWorkspaceError, unreadablePathError, unwritablePathError };
6
6
  //# sourceMappingURL=errors.code.js.map
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using worktree snapshots.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using worktree snapshots.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using worktree snapshots.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using worktree snapshots.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using worktree snapshots.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using worktree snapshots.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.7`;
9
+ const key = `${root.href}#0.10.8-alpha.1`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.7") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.7 while this session was running; restart it to keep using worktree snapshots.", {
30
+ if (running === undefined || running.version === "0.10.8-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.8-alpha.1 while this session was running; restart it to keep using worktree snapshots.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -3,7 +3,7 @@ import { getServiceTierCost, isModelType } from "@bastani/atomic-ai";
3
3
  import { CodemodeSandbox, loadQuickJSWasm, parseCodemodeSource, renderToolSample, toCodemodeIdentifier } from "@bastani/atomic-codemode";
4
4
  import { ENV_CODEMODE_MAX_WORKERS, getCodemodeWorkerUrlAsync, getEnvValue, getQuickJSWasmPath } from "../../_shared/p0-cli-BB45ZQY6.js";
5
5
  import { combineUsage, formatSize, sliceHead, sliceTail, writeOutputFile } from "../../_shared/startup-0-0-TYUFUOJZ.js";
6
- import { Bm25Ranker, createToolSearchDocument, resolveToolNames } from "../../_shared/startup-0-5-OHJNE6JH.js";
6
+ import { Bm25Ranker, createToolSearchDocument, resolveToolNames } from "../../_shared/startup-0-5-FD2P735I.js";
7
7
  import { CODEMODE_DOCS_PATH, CODEMODE_STORE_ENTRY_TYPE, getCodemodeCallableTools, toCodemodeDeclaration } from "../../_shared/startup-0-3-T4DVFYWX.js";
8
8
  // dist/extensions/codemode/execute.js
9
9
  const DEFAULT_MAX_CODEMODE_WORKERS = 2;