privateer-agent 0.15.4 → 0.15.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 (229) hide show
  1. package/README.md +11 -0
  2. package/bin/boot-bundle.d.mts +2 -0
  3. package/bin/boot-bundle.mjs +44 -0
  4. package/bin/fresh-supervisor.d.mts +5 -1
  5. package/bin/fresh-supervisor.mjs +47 -10
  6. package/bin/privateer-launch.mjs +27 -3
  7. package/bin/privateer-subagent.mjs +5 -2
  8. package/bin/privateer-verify.mjs +12 -0
  9. package/bin/session-recovery.d.mts +53 -0
  10. package/bin/session-recovery.mjs +240 -0
  11. package/bin/session-seal-preload.mjs +17 -0
  12. package/bin/session-seal.d.mts +25 -0
  13. package/bin/session-seal.mjs +242 -0
  14. package/dist-boot/boot.mjs +3 -0
  15. package/dist-boot/c-27JKSMWL.mjs +1460 -0
  16. package/dist-boot/c-2BMRFV24.mjs +269 -0
  17. package/dist-boot/c-2CTF6JA3.mjs +166 -0
  18. package/dist-boot/c-2G3BBHRJ.mjs +84 -0
  19. package/dist-boot/c-2IDLKXX6.mjs +250 -0
  20. package/dist-boot/c-2NJD5VYM.mjs +8 -0
  21. package/dist-boot/c-2S5EEQPW.mjs +1602 -0
  22. package/dist-boot/c-2WRDCUVI.mjs +25 -0
  23. package/dist-boot/c-2YN3M256.mjs +14 -0
  24. package/dist-boot/c-37GM3GMU.mjs +187 -0
  25. package/dist-boot/c-3STKRSVO.mjs +2480 -0
  26. package/dist-boot/c-3TPV6TQQ.mjs +2320 -0
  27. package/dist-boot/c-3UVHLQDJ.mjs +225 -0
  28. package/dist-boot/c-42PUUZYC.mjs +697 -0
  29. package/dist-boot/c-4D5UMWVW.mjs +683 -0
  30. package/dist-boot/c-4ETZRMTA.mjs +46 -0
  31. package/dist-boot/c-4QT25BD5.mjs +1482 -0
  32. package/dist-boot/c-4WVR32AP.mjs +2579 -0
  33. package/dist-boot/c-5EMM567G.mjs +152 -0
  34. package/dist-boot/c-5FA4CV63.mjs +145 -0
  35. package/dist-boot/c-5GV3X3RB.mjs +14 -0
  36. package/dist-boot/c-5JCEPRIY.mjs +52 -0
  37. package/dist-boot/c-5NDKIIWT.mjs +16 -0
  38. package/dist-boot/c-5QL3AR26.mjs +4665 -0
  39. package/dist-boot/c-5XY6MFKN.mjs +5142 -0
  40. package/dist-boot/c-65UZIZC7.mjs +2897 -0
  41. package/dist-boot/c-6FUXKHOK.mjs +1969 -0
  42. package/dist-boot/c-6JHWQE4V.mjs +18242 -0
  43. package/dist-boot/c-6LOBR4I6.mjs +5280 -0
  44. package/dist-boot/c-6QHOZXKQ.mjs +14394 -0
  45. package/dist-boot/c-6ZO2SADQ.mjs +178 -0
  46. package/dist-boot/c-6ZORVVZP.mjs +1449 -0
  47. package/dist-boot/c-76QH4UCP.mjs +2441 -0
  48. package/dist-boot/c-77GO5L5Y.mjs +20982 -0
  49. package/dist-boot/c-7M23XFTN.mjs +5052 -0
  50. package/dist-boot/c-7TC367E2.mjs +32 -0
  51. package/dist-boot/c-7UOG7POX.mjs +1524 -0
  52. package/dist-boot/c-7VHP3FLN.mjs +376 -0
  53. package/dist-boot/c-A73JHZP2.mjs +13207 -0
  54. package/dist-boot/c-ABXULAFL.mjs +71 -0
  55. package/dist-boot/c-ANDD2AQO.mjs +74 -0
  56. package/dist-boot/c-AOY77AZL.mjs +1430 -0
  57. package/dist-boot/c-AXEPZ22I.mjs +108 -0
  58. package/dist-boot/c-B2Y7VNHU.mjs +427 -0
  59. package/dist-boot/c-B7VJUH73.mjs +77 -0
  60. package/dist-boot/c-BFW6CDVL.mjs +24 -0
  61. package/dist-boot/c-BHNIF2AR.mjs +188 -0
  62. package/dist-boot/c-BKF2O6BL.mjs +23 -0
  63. package/dist-boot/c-BOZXFTZN.mjs +8 -0
  64. package/dist-boot/c-BRNYJWZL.mjs +28 -0
  65. package/dist-boot/c-C3N4Z2HO.mjs +93 -0
  66. package/dist-boot/c-C4IV7ZFG.mjs +717 -0
  67. package/dist-boot/c-C5NK6UYV.mjs +793 -0
  68. package/dist-boot/c-C67644MB.mjs +1659 -0
  69. package/dist-boot/c-C6S2YB53.mjs +620 -0
  70. package/dist-boot/c-CDBEJSBF.mjs +37 -0
  71. package/dist-boot/c-CG47HBKU.mjs +435 -0
  72. package/dist-boot/c-CKCTWCT5.mjs +51 -0
  73. package/dist-boot/c-CN77DCGF.mjs +60 -0
  74. package/dist-boot/c-CRBXNKFO.mjs +1795 -0
  75. package/dist-boot/c-CRIHASQ6.mjs +973 -0
  76. package/dist-boot/c-CU4NGAUO.mjs +3786 -0
  77. package/dist-boot/c-CWRFLGQU.mjs +1883 -0
  78. package/dist-boot/c-CYQB2USO.mjs +32 -0
  79. package/dist-boot/c-DEE67DJO.mjs +379 -0
  80. package/dist-boot/c-DIFDBYOP.mjs +1258 -0
  81. package/dist-boot/c-DOSGVXDZ.mjs +34879 -0
  82. package/dist-boot/c-DR7XQI32.mjs +381 -0
  83. package/dist-boot/c-DTGPSB46.mjs +14666 -0
  84. package/dist-boot/c-DTHDNA4P.mjs +320 -0
  85. package/dist-boot/c-E4Z3Y5B5.mjs +3864 -0
  86. package/dist-boot/c-E66Z2TI7.mjs +203 -0
  87. package/dist-boot/c-EBU6RLRV.mjs +1527 -0
  88. package/dist-boot/c-EBZZNGSF.mjs +432 -0
  89. package/dist-boot/c-EC3LJ2KF.mjs +1032 -0
  90. package/dist-boot/c-EQBKXWNX.mjs +15829 -0
  91. package/dist-boot/c-EUEPIW4S.mjs +574 -0
  92. package/dist-boot/c-EX4YVWAT.mjs +378 -0
  93. package/dist-boot/c-EYZGSAJU.mjs +98 -0
  94. package/dist-boot/c-F75VRKY4.mjs +172 -0
  95. package/dist-boot/c-FH4NXKHV.mjs +177 -0
  96. package/dist-boot/c-FHNUCTEM.mjs +140 -0
  97. package/dist-boot/c-FJ5T42DS.mjs +5349 -0
  98. package/dist-boot/c-FPCNRL7G.mjs +1728 -0
  99. package/dist-boot/c-G4DLN7Q4.mjs +8 -0
  100. package/dist-boot/c-G56GYQFZ.mjs +2507 -0
  101. package/dist-boot/c-GLIOERDQ.mjs +1200 -0
  102. package/dist-boot/c-GMJ5HUBM.mjs +14 -0
  103. package/dist-boot/c-H3HSGMAQ.mjs +461 -0
  104. package/dist-boot/c-HIKTO6P7.mjs +275 -0
  105. package/dist-boot/c-I2MCJ34O.mjs +464 -0
  106. package/dist-boot/c-I3C6LBW4.mjs +765 -0
  107. package/dist-boot/c-I54OKQHW.mjs +387 -0
  108. package/dist-boot/c-IFSP3R4D.mjs +80 -0
  109. package/dist-boot/c-IZK77VB7.mjs +171 -0
  110. package/dist-boot/c-J3Y25UGE.mjs +54 -0
  111. package/dist-boot/c-J5IESS7W.mjs +27750 -0
  112. package/dist-boot/c-JJWZBY7L.mjs +254 -0
  113. package/dist-boot/c-JKTFXTGF.mjs +463 -0
  114. package/dist-boot/c-JN57AXQ4.mjs +77 -0
  115. package/dist-boot/c-KFIO6LUW.mjs +1096 -0
  116. package/dist-boot/c-KIEMEFWW.mjs +478 -0
  117. package/dist-boot/c-KIVXWBYD.mjs +28 -0
  118. package/dist-boot/c-KP6CRIP4.mjs +580 -0
  119. package/dist-boot/c-L26VOJX4.mjs +11558 -0
  120. package/dist-boot/c-L5GHWG5G.mjs +5988 -0
  121. package/dist-boot/c-M7NSQAKK.mjs +353 -0
  122. package/dist-boot/c-MCEWOPBW.mjs +56 -0
  123. package/dist-boot/c-MGPIEG7I.mjs +20 -0
  124. package/dist-boot/c-NREXJV3M.mjs +393 -0
  125. package/dist-boot/c-O5PP6CTX.mjs +162 -0
  126. package/dist-boot/c-OBQDHSXM.mjs +1774 -0
  127. package/dist-boot/c-OLQHHDD4.mjs +21 -0
  128. package/dist-boot/c-OXW4JQQH.mjs +319 -0
  129. package/dist-boot/c-P3D7ZUWN.mjs +1288 -0
  130. package/dist-boot/c-P4PQZVV5.mjs +948 -0
  131. package/dist-boot/c-P63T3XL2.mjs +26373 -0
  132. package/dist-boot/c-P6N5DQGZ.mjs +194 -0
  133. package/dist-boot/c-P7MLKQFC.mjs +58 -0
  134. package/dist-boot/c-PB3PZJL5.mjs +1276 -0
  135. package/dist-boot/c-PTN4S6G2.mjs +1259 -0
  136. package/dist-boot/c-PYCE5J7U.mjs +1083 -0
  137. package/dist-boot/c-Q4HYCRLB.mjs +19410 -0
  138. package/dist-boot/c-QUXMETGG.mjs +68 -0
  139. package/dist-boot/c-RDMJZCOX.mjs +356 -0
  140. package/dist-boot/c-ROGJK76M.mjs +17 -0
  141. package/dist-boot/c-RQJJ26T4.mjs +708 -0
  142. package/dist-boot/c-RSKCUPJF.mjs +7559 -0
  143. package/dist-boot/c-RVJU4O6P.mjs +37 -0
  144. package/dist-boot/c-S2RVHR3M.mjs +165 -0
  145. package/dist-boot/c-SKMK3PEE.mjs +91120 -0
  146. package/dist-boot/c-TI7SM4EG.mjs +20 -0
  147. package/dist-boot/c-TILJ6GXD.mjs +1235 -0
  148. package/dist-boot/c-TT6BCUJD.mjs +114 -0
  149. package/dist-boot/c-U4ITOXAN.mjs +2107 -0
  150. package/dist-boot/c-UGERXVO2.mjs +7120 -0
  151. package/dist-boot/c-UPBH5AXY.mjs +1363 -0
  152. package/dist-boot/c-US2PUNZL.mjs +597 -0
  153. package/dist-boot/c-UU4WZPPE.mjs +20 -0
  154. package/dist-boot/c-UWVIYPQS.mjs +39 -0
  155. package/dist-boot/c-V4RHQBPQ.mjs +17683 -0
  156. package/dist-boot/c-V5MRVK47.mjs +351 -0
  157. package/dist-boot/c-V6CL266R.mjs +1755 -0
  158. package/dist-boot/c-VJTMFKYE.mjs +14975 -0
  159. package/dist-boot/c-VJTRUKIB.mjs +773 -0
  160. package/dist-boot/c-W4IFSHPW.mjs +43 -0
  161. package/dist-boot/c-WETGB2CF.mjs +113 -0
  162. package/dist-boot/c-WO3QSZUU.mjs +1337 -0
  163. package/dist-boot/c-WQLH73TY.mjs +242 -0
  164. package/dist-boot/c-XL735JW5.mjs +500 -0
  165. package/dist-boot/c-Y7HADL5B.mjs +1107 -0
  166. package/dist-boot/c-YGQHSVSK.mjs +41 -0
  167. package/dist-boot/c-YMP2AMEB.mjs +10350 -0
  168. package/dist-boot/c-YRDO2WEF.mjs +12012 -0
  169. package/dist-boot/c-YUSTRATJ.mjs +8 -0
  170. package/dist-boot/c-Z2262R22.mjs +2697 -0
  171. package/dist-boot/c-Z4ALQMJC.mjs +709 -0
  172. package/dist-boot/c-Z5ZUQVUY.mjs +62 -0
  173. package/dist-boot/c-ZDZUKXF7.mjs +874 -0
  174. package/dist-boot/c-ZJYLGIC3.mjs +32 -0
  175. package/dist-boot/c-ZNA5CDMI.mjs +77 -0
  176. package/dist-boot/c-ZSO6DI3M.mjs +204 -0
  177. package/dist-boot/c-ZWUVHKMK.mjs +100 -0
  178. package/dist-boot/c-ZY4MESEW.mjs +832 -0
  179. package/dist-boot/c-ZZ5REI4L.mjs +329 -0
  180. package/dist-boot/cli.mjs +51 -0
  181. package/dist-boot/ext-anthropic-attribution.mjs +207 -0
  182. package/dist-boot/ext-pi-background-tasks.mjs +7234 -0
  183. package/dist-boot/ext-pi-subagents.mjs +37 -0
  184. package/dist-boot/ext-privateer-account.mjs +4426 -0
  185. package/dist-boot/ext-privateer-brand.mjs +5274 -0
  186. package/dist-boot/ext-privateer-codemode.mjs +37 -0
  187. package/dist-boot/ext-privateer-computer.mjs +626 -0
  188. package/dist-boot/ext-privateer-connect.mjs +1862 -0
  189. package/dist-boot/ext-privateer-context.mjs +323 -0
  190. package/dist-boot/ext-privateer-desktop.mjs +92 -0
  191. package/dist-boot/ext-privateer-final-audit.mjs +48 -0
  192. package/dist-boot/ext-privateer-fresh.mjs +81 -0
  193. package/dist-boot/ext-privateer-gate.mjs +5959 -0
  194. package/dist-boot/ext-privateer-hints.mjs +236 -0
  195. package/dist-boot/ext-privateer-media.mjs +2626 -0
  196. package/dist-boot/ext-privateer-models.mjs +3397 -0
  197. package/dist-boot/ext-privateer-posture.mjs +3006 -0
  198. package/dist-boot/ext-privateer-privacy.mjs +4578 -0
  199. package/dist-boot/ext-privateer-recovery.mjs +287 -0
  200. package/dist-boot/ext-privateer-speak.mjs +4754 -0
  201. package/dist-boot/ext-privateer-terminals.mjs +725 -0
  202. package/dist-boot/ext-privateer-tools.mjs +528 -0
  203. package/dist-boot/ext-privateer-truncation.mjs +74 -0
  204. package/dist-boot/ext-privateer-update.mjs +210 -0
  205. package/dist-boot/ext-privateer-vision.mjs +148 -0
  206. package/dist-boot/ext-privateer-web.mjs +543 -0
  207. package/dist-boot/ext-rpiv-ask-user-question.mjs +710 -0
  208. package/dist-boot/manifest.json +9 -0
  209. package/extensions/privateer-brand.ts +3 -1
  210. package/extensions/privateer-context.ts +4 -2
  211. package/extensions/privateer-final-audit.ts +17 -0
  212. package/extensions/privateer-gate.ts +55 -9
  213. package/extensions/privateer-recovery.ts +175 -0
  214. package/extensions/privateer-web.ts +4 -4
  215. package/package.json +3 -1
  216. package/patches/@earendil-works+pi-coding-agent+1.3.0.patch +199 -2
  217. package/patches/pi-background-tasks+2.6.10.patch +91 -7
  218. package/src/cli/chat.ts +7 -1
  219. package/src/config/moatManifest.json +2 -0
  220. package/src/config/whatsNew.json +4 -4
  221. package/src/context.ts +33 -5
  222. package/src/engine/finalAudit.ts +38 -0
  223. package/src/engine/stallWatchdog.ts +8 -1
  224. package/src/providers/account.ts +34 -3
  225. package/src/remote/attentionPush.ts +40 -0
  226. package/src/remote/liveTaskSession.ts +7 -1
  227. package/src/remote/relayClient.ts +38 -4
  228. package/src/remote/remoteBridge.ts +17 -0
  229. package/src/remote/transcriptSnapshot.ts +104 -0
@@ -0,0 +1,68 @@
1
+ import{createRequire as __pvCR}from"node:module";import{fileURLToPath as __pvF}from"node:url";import{dirname as __pvD}from"node:path";const require=__pvCR(import.meta.url);const __pvUrl=(r)=>new URL(r,import.meta.url).href;const __pvFile=(r)=>__pvF(new URL(r,import.meta.url));
2
+ import {
3
+ accountBaselineTier,
4
+ accountCatalogLoaded,
5
+ accountContextWindow,
6
+ accountMaxOutputTokens,
7
+ accountPosture,
8
+ accountProviderConfig,
9
+ armAccountCredential,
10
+ dropPersistedAccountCredential,
11
+ dropPersistedAccountCredentialBeforeExit,
12
+ ensureAccountArmed,
13
+ fetchAccountCatalog,
14
+ fetchAccountModels,
15
+ isServableAccountModel,
16
+ loadCachedCatalogIds,
17
+ makeAccountProvider,
18
+ ownedAccountCredential,
19
+ persistAccountCredential,
20
+ privateerChannel,
21
+ privateerOAuthProvider,
22
+ recoverAccountConnection,
23
+ recoverAccountSession,
24
+ registerAccountModels,
25
+ rememberAccountCredential,
26
+ seedCatalogIds,
27
+ thinkingProfile,
28
+ verificationLink
29
+ } from "./c-CWRFLGQU.mjs";
30
+ import "./c-EC3LJ2KF.mjs";
31
+ import "./c-YGQHSVSK.mjs";
32
+ import "./c-76QH4UCP.mjs";
33
+ import "./c-FJ5T42DS.mjs";
34
+ import "./c-L26VOJX4.mjs";
35
+ import "./c-C67644MB.mjs";
36
+ import "./c-65UZIZC7.mjs";
37
+ import "./c-U4ITOXAN.mjs";
38
+ import "./c-P63T3XL2.mjs";
39
+ import "./c-4WVR32AP.mjs";
40
+ import "./c-CN77DCGF.mjs";
41
+ export {
42
+ accountBaselineTier,
43
+ accountCatalogLoaded,
44
+ accountContextWindow,
45
+ accountMaxOutputTokens,
46
+ accountPosture,
47
+ accountProviderConfig,
48
+ armAccountCredential,
49
+ dropPersistedAccountCredential,
50
+ dropPersistedAccountCredentialBeforeExit,
51
+ ensureAccountArmed,
52
+ fetchAccountCatalog,
53
+ fetchAccountModels,
54
+ isServableAccountModel,
55
+ loadCachedCatalogIds,
56
+ makeAccountProvider,
57
+ ownedAccountCredential,
58
+ persistAccountCredential,
59
+ privateerChannel,
60
+ privateerOAuthProvider,
61
+ recoverAccountConnection,
62
+ recoverAccountSession,
63
+ registerAccountModels,
64
+ rememberAccountCredential,
65
+ seedCatalogIds,
66
+ thinkingProfile,
67
+ verificationLink
68
+ };
@@ -0,0 +1,356 @@
1
+ import{createRequire as __pvCR}from"node:module";import{fileURLToPath as __pvF}from"node:url";import{dirname as __pvD}from"node:path";const require=__pvCR(import.meta.url);const __pvUrl=(r)=>new URL(r,import.meta.url).href;const __pvFile=(r)=>__pvF(new URL(r,import.meta.url));
2
+ import {
3
+ ShowImagesSelectorComponent,
4
+ ThemeSelectorComponent
5
+ } from "./c-B2Y7VNHU.mjs";
6
+ import {
7
+ AgentSession,
8
+ AgentSessionRuntime,
9
+ AssistantMessageComponent,
10
+ BashExecutionComponent,
11
+ BorderedLoader,
12
+ BranchSummaryMessageComponent,
13
+ CURRENT_SESSION_VERSION,
14
+ CompactionSummaryMessageComponent,
15
+ CredentialSynchronizationError,
16
+ CustomEditor,
17
+ CustomMessageComponent,
18
+ DEFAULT_COMPACTION_SETTINGS,
19
+ DefaultPackageManager,
20
+ DefaultResourceLoader,
21
+ DynamicBorder,
22
+ ExtensionEditorComponent,
23
+ ExtensionInputComponent,
24
+ ExtensionRunner,
25
+ ExtensionSelectorComponent,
26
+ FooterComponent,
27
+ InteractiveMode,
28
+ LoginDialogComponent,
29
+ ModelRegistry,
30
+ ModelRuntime,
31
+ ModelSelectorComponent,
32
+ OAuthSelectorComponent,
33
+ RpcClient,
34
+ SessionManager,
35
+ SessionSelectorComponent,
36
+ SettingsManager,
37
+ SettingsSelectorComponent,
38
+ SkillInvocationMessageComponent,
39
+ ThinkingSelectorComponent,
40
+ ToolExecutionComponent,
41
+ TreeSelectorComponent,
42
+ UserMessageComponent,
43
+ UserMessageSelectorComponent,
44
+ VIRTUAL_MODEL_STATE_ENTRY,
45
+ buildContextEntries,
46
+ buildSessionContext,
47
+ buildSessionProjection,
48
+ calculateContextTokens,
49
+ collectEntriesForBranchSummary,
50
+ compact,
51
+ convertToLlm,
52
+ convertToPng,
53
+ copyToClipboard,
54
+ createAgentSession,
55
+ createAgentSessionFromServices,
56
+ createAgentSessionRuntime,
57
+ createAgentSessionServices,
58
+ createBashTool,
59
+ createBashToolDefinition,
60
+ createCodemodeExtension,
61
+ createCodingTools,
62
+ createEditTool,
63
+ createEditToolDefinition,
64
+ createEventBus,
65
+ createExtensionRuntime,
66
+ createFindTool,
67
+ createFindToolDefinition,
68
+ createGrepTool,
69
+ createGrepToolDefinition,
70
+ createLocalBashOperations,
71
+ createLocalPowerShellOperations,
72
+ createLsTool,
73
+ createLsToolDefinition,
74
+ createMcpExtension,
75
+ createPowerShellTool,
76
+ createPowerShellToolDefinition,
77
+ createReadOnlyTools,
78
+ createReadTool,
79
+ createReadToolDefinition,
80
+ createSyntheticSourceInfo,
81
+ createToolSearchExtension,
82
+ createWriteTool,
83
+ createWriteToolDefinition,
84
+ defineTool,
85
+ detectSupportedImageMimeTypeFromFile,
86
+ discoverAndLoadExtensions,
87
+ estimateTokens,
88
+ findCutPoint,
89
+ findTurnStartIndex,
90
+ formatDimensionNote,
91
+ formatSkillsForPrompt,
92
+ generateBranchSummary,
93
+ generateDiffString,
94
+ generateSummary,
95
+ generateSummaryWithUsage,
96
+ generateUnifiedPatch,
97
+ getLastAssistantUsage,
98
+ getLatestCompactionEntry,
99
+ isBashToolResult,
100
+ isEditToolResult,
101
+ isFindToolResult,
102
+ isGrepToolResult,
103
+ isLsToolResult,
104
+ isPowerShellToolResult,
105
+ isReadToolResult,
106
+ isToolCallEventType,
107
+ isWriteToolResult,
108
+ loadProjectContextFiles,
109
+ loadSkills,
110
+ loadSkillsFromDir,
111
+ main,
112
+ migrateSessionEntries,
113
+ parseArgs,
114
+ parseFrontmatter,
115
+ parseSessionEntries,
116
+ parseSkillBlock,
117
+ prepareBranchEntries,
118
+ renderDiff,
119
+ resizeImage,
120
+ resolveCliModel,
121
+ resolveModelScopeWithDiagnostics,
122
+ runPrintMode,
123
+ runRpcMode,
124
+ serializeConversation,
125
+ sessionEntryToContextMessages,
126
+ shouldCompact,
127
+ stripFrontmatter,
128
+ withFileMutationQueue,
129
+ wrapRegisteredTool,
130
+ wrapRegisteredTools
131
+ } from "./c-SKMK3PEE.mjs";
132
+ import {
133
+ ProjectTrustStore,
134
+ hasTrustRequiringProjectResources
135
+ } from "./c-I54OKQHW.mjs";
136
+ import "./c-UPBH5AXY.mjs";
137
+ import {
138
+ DEFAULT_MAX_BYTES,
139
+ DEFAULT_MAX_LINES,
140
+ formatReadLineRange,
141
+ formatSize,
142
+ truncateHead,
143
+ truncateLine,
144
+ truncateTail,
145
+ truncateToVisualLines
146
+ } from "./c-7UOG7POX.mjs";
147
+ import {
148
+ AuthStorage,
149
+ readStoredCredential
150
+ } from "./c-E4Z3Y5B5.mjs";
151
+ import {
152
+ getPowerShellConfig,
153
+ getShellConfig
154
+ } from "./c-6ZO2SADQ.mjs";
155
+ import {
156
+ ArminComponent
157
+ } from "./c-JKTFXTGF.mjs";
158
+ import {
159
+ Theme,
160
+ getLanguageFromPath,
161
+ getMarkdownTheme,
162
+ getSelectListTheme,
163
+ getSettingsListTheme,
164
+ highlightCode,
165
+ initTheme,
166
+ keyHint,
167
+ keyText,
168
+ rawKeyHint
169
+ } from "./c-CRBXNKFO.mjs";
170
+ import "./c-KP6CRIP4.mjs";
171
+ import "./c-RSKCUPJF.mjs";
172
+ import {
173
+ CONFIG_DIR_NAME,
174
+ VERSION,
175
+ getAgentDir,
176
+ getDocsPath,
177
+ getExamplesPath,
178
+ getPackageDir,
179
+ getReadmePath
180
+ } from "./c-PTN4S6G2.mjs";
181
+ import "./c-P6N5DQGZ.mjs";
182
+ import "./c-6LOBR4I6.mjs";
183
+ import "./c-3STKRSVO.mjs";
184
+ import "./c-YRDO2WEF.mjs";
185
+ import "./c-BHNIF2AR.mjs";
186
+ import "./c-ABXULAFL.mjs";
187
+ import "./c-2G3BBHRJ.mjs";
188
+ import "./c-O5PP6CTX.mjs";
189
+ import "./c-CDBEJSBF.mjs";
190
+ import "./c-DEE67DJO.mjs";
191
+ import "./c-WO3QSZUU.mjs";
192
+ import "./c-S2RVHR3M.mjs";
193
+ import "./c-EQBKXWNX.mjs";
194
+ import "./c-RQJJ26T4.mjs";
195
+ import "./c-L5GHWG5G.mjs";
196
+ import "./c-CN77DCGF.mjs";
197
+ export {
198
+ AgentSession,
199
+ AgentSessionRuntime,
200
+ ArminComponent,
201
+ AssistantMessageComponent,
202
+ AuthStorage,
203
+ BashExecutionComponent,
204
+ BorderedLoader,
205
+ BranchSummaryMessageComponent,
206
+ CONFIG_DIR_NAME,
207
+ CURRENT_SESSION_VERSION,
208
+ CompactionSummaryMessageComponent,
209
+ CredentialSynchronizationError,
210
+ CustomEditor,
211
+ CustomMessageComponent,
212
+ DEFAULT_COMPACTION_SETTINGS,
213
+ DEFAULT_MAX_BYTES,
214
+ DEFAULT_MAX_LINES,
215
+ DefaultPackageManager,
216
+ DefaultResourceLoader,
217
+ DynamicBorder,
218
+ ExtensionEditorComponent,
219
+ ExtensionInputComponent,
220
+ ExtensionRunner,
221
+ ExtensionSelectorComponent,
222
+ FooterComponent,
223
+ InteractiveMode,
224
+ LoginDialogComponent,
225
+ ModelRegistry,
226
+ ModelRuntime,
227
+ ModelSelectorComponent,
228
+ OAuthSelectorComponent,
229
+ ProjectTrustStore,
230
+ RpcClient,
231
+ SessionManager,
232
+ SessionSelectorComponent,
233
+ SettingsManager,
234
+ SettingsSelectorComponent,
235
+ ShowImagesSelectorComponent,
236
+ SkillInvocationMessageComponent,
237
+ Theme,
238
+ ThemeSelectorComponent,
239
+ ThinkingSelectorComponent,
240
+ ToolExecutionComponent,
241
+ TreeSelectorComponent,
242
+ UserMessageComponent,
243
+ UserMessageSelectorComponent,
244
+ VERSION,
245
+ VIRTUAL_MODEL_STATE_ENTRY,
246
+ buildContextEntries,
247
+ buildSessionContext,
248
+ buildSessionProjection,
249
+ calculateContextTokens,
250
+ collectEntriesForBranchSummary,
251
+ compact,
252
+ convertToLlm,
253
+ convertToPng,
254
+ copyToClipboard,
255
+ createAgentSession,
256
+ createAgentSessionFromServices,
257
+ createAgentSessionRuntime,
258
+ createAgentSessionServices,
259
+ createBashTool,
260
+ createBashToolDefinition,
261
+ createCodemodeExtension,
262
+ createCodingTools,
263
+ createEditTool,
264
+ createEditToolDefinition,
265
+ createEventBus,
266
+ createExtensionRuntime,
267
+ createFindTool,
268
+ createFindToolDefinition,
269
+ createGrepTool,
270
+ createGrepToolDefinition,
271
+ createLocalBashOperations,
272
+ createLocalPowerShellOperations,
273
+ createLsTool,
274
+ createLsToolDefinition,
275
+ createMcpExtension,
276
+ createPowerShellTool,
277
+ createPowerShellToolDefinition,
278
+ createReadOnlyTools,
279
+ createReadTool,
280
+ createReadToolDefinition,
281
+ createSyntheticSourceInfo,
282
+ createToolSearchExtension,
283
+ createWriteTool,
284
+ createWriteToolDefinition,
285
+ defineTool,
286
+ detectSupportedImageMimeTypeFromFile,
287
+ discoverAndLoadExtensions,
288
+ estimateTokens,
289
+ findCutPoint,
290
+ findTurnStartIndex,
291
+ formatDimensionNote,
292
+ formatReadLineRange,
293
+ formatSize,
294
+ formatSkillsForPrompt,
295
+ generateBranchSummary,
296
+ generateDiffString,
297
+ generateSummary,
298
+ generateSummaryWithUsage,
299
+ generateUnifiedPatch,
300
+ getAgentDir,
301
+ getDocsPath,
302
+ getExamplesPath,
303
+ getLanguageFromPath,
304
+ getLastAssistantUsage,
305
+ getLatestCompactionEntry,
306
+ getMarkdownTheme,
307
+ getPackageDir,
308
+ getPowerShellConfig,
309
+ getReadmePath,
310
+ getSelectListTheme,
311
+ getSettingsListTheme,
312
+ getShellConfig,
313
+ hasTrustRequiringProjectResources,
314
+ highlightCode,
315
+ initTheme,
316
+ isBashToolResult,
317
+ isEditToolResult,
318
+ isFindToolResult,
319
+ isGrepToolResult,
320
+ isLsToolResult,
321
+ isPowerShellToolResult,
322
+ isReadToolResult,
323
+ isToolCallEventType,
324
+ isWriteToolResult,
325
+ keyHint,
326
+ keyText,
327
+ loadProjectContextFiles,
328
+ loadSkills,
329
+ loadSkillsFromDir,
330
+ main,
331
+ migrateSessionEntries,
332
+ parseArgs,
333
+ parseFrontmatter,
334
+ parseSessionEntries,
335
+ parseSkillBlock,
336
+ prepareBranchEntries,
337
+ rawKeyHint,
338
+ readStoredCredential,
339
+ renderDiff,
340
+ resizeImage,
341
+ resolveCliModel,
342
+ resolveModelScopeWithDiagnostics,
343
+ runPrintMode,
344
+ runRpcMode,
345
+ serializeConversation,
346
+ sessionEntryToContextMessages,
347
+ shouldCompact,
348
+ stripFrontmatter,
349
+ truncateHead,
350
+ truncateLine,
351
+ truncateTail,
352
+ truncateToVisualLines,
353
+ withFileMutationQueue,
354
+ wrapRegisteredTool,
355
+ wrapRegisteredTools
356
+ };
@@ -0,0 +1,17 @@
1
+ import{createRequire as __pvCR}from"node:module";import{fileURLToPath as __pvF}from"node:url";import{dirname as __pvD}from"node:path";const require=__pvCR(import.meta.url);const __pvUrl=(r)=>new URL(r,import.meta.url).href;const __pvFile=(r)=>__pvF(new URL(r,import.meta.url));
2
+ import {
3
+ createPinnedWebSocket,
4
+ pinnedWsClientOptions,
5
+ stripUnsafeWebSocketOptions
6
+ } from "./c-ZNA5CDMI.mjs";
7
+ import "./c-2CTF6JA3.mjs";
8
+ import "./c-C67644MB.mjs";
9
+ import "./c-65UZIZC7.mjs";
10
+ import "./c-U4ITOXAN.mjs";
11
+ import "./c-4WVR32AP.mjs";
12
+ import "./c-CN77DCGF.mjs";
13
+ export {
14
+ createPinnedWebSocket,
15
+ pinnedWsClientOptions,
16
+ stripUnsafeWebSocketOptions
17
+ };