@robota-sdk/agent-cli 3.0.0-beta.10 → 3.0.0-beta.100

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 (156) hide show
  1. package/CHANGELOG.md +2998 -0
  2. package/LICENSE +661 -21
  3. package/README.md +527 -170
  4. package/bin/agent.cjs +39 -0
  5. package/dist/node/artifact-DrPhOb_v.d.ts +749 -0
  6. package/dist/node/artifact-DrPhOb_v.d.ts.map +1 -0
  7. package/dist/node/bin.js +35 -19
  8. package/dist/node/bounded-output-BdWv9SX3-28em7iHq.js +2 -0
  9. package/dist/node/bounded-output-BdWv9SX3-28em7iHq.js.map +1 -0
  10. package/dist/node/bounded-output-BdWv9SX3-C4ucXwLR.js +2 -0
  11. package/dist/node/cli-core-QK7sBRp8.js +2920 -0
  12. package/dist/node/command-executor-D_UBZHxh-CVZipoOV.js +2 -0
  13. package/dist/node/command-executor-D_UBZHxh-CVZipoOV.js.map +1 -0
  14. package/dist/node/command-executor-D_UBZHxh-D7UrdAlN.js +2 -0
  15. package/dist/node/desktop-host.d.ts +53 -0
  16. package/dist/node/desktop-host.d.ts.map +1 -0
  17. package/dist/node/desktop-host.js +2 -0
  18. package/dist/node/desktop-host.js.map +1 -0
  19. package/dist/node/headless.js +4 -0
  20. package/dist/node/host.d.ts +3 -0
  21. package/dist/node/host.js +1 -0
  22. package/dist/node/http-executor-ADn4locH-D-8crzF8.js +2 -0
  23. package/dist/node/http-executor-ADn4locH-D-8crzF8.js.map +1 -0
  24. package/dist/node/http-executor-ADn4locH-uz5KV6N-.js +2 -0
  25. package/dist/node/index.d.ts +790 -49
  26. package/dist/node/index.d.ts.map +1 -0
  27. package/dist/node/index.js +6 -13
  28. package/dist/node/index.js.map +1 -0
  29. package/dist/node/node-BRvqhy29.js +165 -0
  30. package/dist/node/node-BRvqhy29.js.map +1 -0
  31. package/dist/node/node-BTKWbzr0.js +15 -0
  32. package/dist/node/node-BZfTvzcV.js +15 -0
  33. package/dist/node/node-BZfTvzcV.js.map +1 -0
  34. package/dist/node/node-CdgadDFa.js +2 -0
  35. package/dist/node/node-CdgadDFa.js.map +1 -0
  36. package/dist/node/node-aM3G__lp.js +2 -0
  37. package/dist/node/node-zABT8WBL.js +165 -0
  38. package/dist/node/product-host-CwqVX6Xg.js +2954 -0
  39. package/dist/node/product-host-CwqVX6Xg.js.map +1 -0
  40. package/dist/node/product-host-DYR8lHfh.d.ts +4691 -0
  41. package/dist/node/product-host-DYR8lHfh.d.ts.map +1 -0
  42. package/dist/node/rolldown-runtime-C9xYM0wc.js +1 -0
  43. package/dist/node/rolldown-runtime-DK3Fl9T5-BeX3Bzvn.js +2 -0
  44. package/dist/node/rolldown-runtime-DK3Fl9T5-DK3Fl9T5.js +2 -0
  45. package/dist/node/rolldown-runtime-DK3Fl9T5-DK3Fl9T5.js.map +1 -0
  46. package/dist/node/rolldown-runtime-rs7quPpn.js +2 -0
  47. package/dist/node/verdict-decoder-Dz_rjoIZ-DA8BKB83.js +2 -0
  48. package/dist/node/verdict-decoder-Dz_rjoIZ-DA8BKB83.js.map +1 -0
  49. package/dist/node/verdict-decoder-Dz_rjoIZ-qM0jJVsB.js +2 -0
  50. package/dist/web/app-sandbox.html +145 -0
  51. package/dist/web/assets/PretendardVariable.subset.0-BHUkWNFR.woff2 +0 -0
  52. package/dist/web/assets/PretendardVariable.subset.1-C-__qv6_.woff2 +0 -0
  53. package/dist/web/assets/PretendardVariable.subset.10-DzSWztS8.woff2 +0 -0
  54. package/dist/web/assets/PretendardVariable.subset.11-CqVmlKJn.woff2 +0 -0
  55. package/dist/web/assets/PretendardVariable.subset.12-BHuZSgT0.woff2 +0 -0
  56. package/dist/web/assets/PretendardVariable.subset.13-C42mj_j2.woff2 +0 -0
  57. package/dist/web/assets/PretendardVariable.subset.14-Bl512uUX.woff2 +0 -0
  58. package/dist/web/assets/PretendardVariable.subset.15-D04iXIE3.woff2 +0 -0
  59. package/dist/web/assets/PretendardVariable.subset.16-BQUnS2GX.woff2 +0 -0
  60. package/dist/web/assets/PretendardVariable.subset.17-BfZSA-Xc.woff2 +0 -0
  61. package/dist/web/assets/PretendardVariable.subset.18-CwAxMC3C.woff2 +0 -0
  62. package/dist/web/assets/PretendardVariable.subset.19-CJu4Zcdo.woff2 +0 -0
  63. package/dist/web/assets/PretendardVariable.subset.2-dCZkyKLw.woff2 +0 -0
  64. package/dist/web/assets/PretendardVariable.subset.20-Ig1-z3n5.woff2 +0 -0
  65. package/dist/web/assets/PretendardVariable.subset.21-yKPEdLXC.woff2 +0 -0
  66. package/dist/web/assets/PretendardVariable.subset.22-CSqxKoOs.woff2 +0 -0
  67. package/dist/web/assets/PretendardVariable.subset.23-DK80wi0t.woff2 +0 -0
  68. package/dist/web/assets/PretendardVariable.subset.24-CmkE8Q8D.woff2 +0 -0
  69. package/dist/web/assets/PretendardVariable.subset.25-CsoWBIZB.woff2 +0 -0
  70. package/dist/web/assets/PretendardVariable.subset.26-Sozl8dw8.woff2 +0 -0
  71. package/dist/web/assets/PretendardVariable.subset.27-CT6nuW9L.woff2 +0 -0
  72. package/dist/web/assets/PretendardVariable.subset.28-CpO0Y96p.woff2 +0 -0
  73. package/dist/web/assets/PretendardVariable.subset.29-D6hjrUWm.woff2 +0 -0
  74. package/dist/web/assets/PretendardVariable.subset.3-Dqw33sf4.woff2 +0 -0
  75. package/dist/web/assets/PretendardVariable.subset.30-CWDM1c0J.woff2 +0 -0
  76. package/dist/web/assets/PretendardVariable.subset.31-CdmyZ5mm.woff2 +0 -0
  77. package/dist/web/assets/PretendardVariable.subset.32-CGnFWD2i.woff2 +0 -0
  78. package/dist/web/assets/PretendardVariable.subset.33--0OT__YQ.woff2 +0 -0
  79. package/dist/web/assets/PretendardVariable.subset.34-CaCS33Md.woff2 +0 -0
  80. package/dist/web/assets/PretendardVariable.subset.35-DWFYRGLp.woff2 +0 -0
  81. package/dist/web/assets/PretendardVariable.subset.36-Dn5IBRQB.woff2 +0 -0
  82. package/dist/web/assets/PretendardVariable.subset.37-BD6FyOtY.woff2 +0 -0
  83. package/dist/web/assets/PretendardVariable.subset.38-D4hu443z.woff2 +0 -0
  84. package/dist/web/assets/PretendardVariable.subset.39-B_7wfth9.woff2 +0 -0
  85. package/dist/web/assets/PretendardVariable.subset.4-Bvh2YGoc.woff2 +0 -0
  86. package/dist/web/assets/PretendardVariable.subset.40-BDaOfdUe.woff2 +0 -0
  87. package/dist/web/assets/PretendardVariable.subset.41-BUACvzZC.woff2 +0 -0
  88. package/dist/web/assets/PretendardVariable.subset.42-Dp-5mnyL.woff2 +0 -0
  89. package/dist/web/assets/PretendardVariable.subset.43-DHdpry7N.woff2 +0 -0
  90. package/dist/web/assets/PretendardVariable.subset.44-qHopVhdd.woff2 +0 -0
  91. package/dist/web/assets/PretendardVariable.subset.45-BniyRFfm.woff2 +0 -0
  92. package/dist/web/assets/PretendardVariable.subset.46-BMRq7xC-.woff2 +0 -0
  93. package/dist/web/assets/PretendardVariable.subset.47-B-cWO2pw.woff2 +0 -0
  94. package/dist/web/assets/PretendardVariable.subset.48-Ct-fWrPO.woff2 +0 -0
  95. package/dist/web/assets/PretendardVariable.subset.49-BblQVys9.woff2 +0 -0
  96. package/dist/web/assets/PretendardVariable.subset.5-K_MNGNCe.woff2 +0 -0
  97. package/dist/web/assets/PretendardVariable.subset.50-C8IyFH7L.woff2 +0 -0
  98. package/dist/web/assets/PretendardVariable.subset.51-Bxd0gTAs.woff2 +0 -0
  99. package/dist/web/assets/PretendardVariable.subset.52-CNgqKOOJ.woff2 +0 -0
  100. package/dist/web/assets/PretendardVariable.subset.53-BSRnyb-u.woff2 +0 -0
  101. package/dist/web/assets/PretendardVariable.subset.54-Dt2-cQkx.woff2 +0 -0
  102. package/dist/web/assets/PretendardVariable.subset.55-jFgflYjX.woff2 +0 -0
  103. package/dist/web/assets/PretendardVariable.subset.56-BwZdvJZQ.woff2 +0 -0
  104. package/dist/web/assets/PretendardVariable.subset.57-BwFDg-Fs.woff2 +0 -0
  105. package/dist/web/assets/PretendardVariable.subset.58-DlucQts_.woff2 +0 -0
  106. package/dist/web/assets/PretendardVariable.subset.59-CMkWjhdo.woff2 +0 -0
  107. package/dist/web/assets/PretendardVariable.subset.6-Bxhohlcm.woff2 +0 -0
  108. package/dist/web/assets/PretendardVariable.subset.60-CeHezjjf.woff2 +0 -0
  109. package/dist/web/assets/PretendardVariable.subset.61-PUuTnod4.woff2 +0 -0
  110. package/dist/web/assets/PretendardVariable.subset.62-DGSAWCfb.woff2 +0 -0
  111. package/dist/web/assets/PretendardVariable.subset.63-B35xsm4O.woff2 +0 -0
  112. package/dist/web/assets/PretendardVariable.subset.64-CTbrgYF9.woff2 +0 -0
  113. package/dist/web/assets/PretendardVariable.subset.65-B66rjuyf.woff2 +0 -0
  114. package/dist/web/assets/PretendardVariable.subset.66-C3HqaDeY.woff2 +0 -0
  115. package/dist/web/assets/PretendardVariable.subset.67-BmuXdlDy.woff2 +0 -0
  116. package/dist/web/assets/PretendardVariable.subset.68-DS9B48d0.woff2 +0 -0
  117. package/dist/web/assets/PretendardVariable.subset.69-YT16ymcp.woff2 +0 -0
  118. package/dist/web/assets/PretendardVariable.subset.7-E2HaA55t.woff2 +0 -0
  119. package/dist/web/assets/PretendardVariable.subset.70-BUXiAGMT.woff2 +0 -0
  120. package/dist/web/assets/PretendardVariable.subset.71-DuPZj8us.woff2 +0 -0
  121. package/dist/web/assets/PretendardVariable.subset.72-pYYGrEQR.woff2 +0 -0
  122. package/dist/web/assets/PretendardVariable.subset.73-DMrK970F.woff2 +0 -0
  123. package/dist/web/assets/PretendardVariable.subset.74-D4tQnymK.woff2 +0 -0
  124. package/dist/web/assets/PretendardVariable.subset.75-CxKdrRNf.woff2 +0 -0
  125. package/dist/web/assets/PretendardVariable.subset.76-DhPm2b_q.woff2 +0 -0
  126. package/dist/web/assets/PretendardVariable.subset.77-DwaxqOC8.woff2 +0 -0
  127. package/dist/web/assets/PretendardVariable.subset.78-DhqRbBzT.woff2 +0 -0
  128. package/dist/web/assets/PretendardVariable.subset.79-XpoyPP38.woff2 +0 -0
  129. package/dist/web/assets/PretendardVariable.subset.8-CRbJhhyA.woff2 +0 -0
  130. package/dist/web/assets/PretendardVariable.subset.80-DsV9Qp_h.woff2 +0 -0
  131. package/dist/web/assets/PretendardVariable.subset.81-BZzF9Hb3.woff2 +0 -0
  132. package/dist/web/assets/PretendardVariable.subset.82-BgAHe30u.woff2 +0 -0
  133. package/dist/web/assets/PretendardVariable.subset.83-DF-zBLLe.woff2 +0 -0
  134. package/dist/web/assets/PretendardVariable.subset.84-Brb8EsYQ.woff2 +0 -0
  135. package/dist/web/assets/PretendardVariable.subset.85-Byo_x2hf.woff2 +0 -0
  136. package/dist/web/assets/PretendardVariable.subset.86-XG7lTN_6.woff2 +0 -0
  137. package/dist/web/assets/PretendardVariable.subset.87-Lzui2vbK.woff2 +0 -0
  138. package/dist/web/assets/PretendardVariable.subset.88-CqX6JSgh.woff2 +0 -0
  139. package/dist/web/assets/PretendardVariable.subset.89-DOzqWPpX.woff2 +0 -0
  140. package/dist/web/assets/PretendardVariable.subset.9-Btb3bmS6.woff2 +0 -0
  141. package/dist/web/assets/PretendardVariable.subset.90-BF7RiZjm.woff2 +0 -0
  142. package/dist/web/assets/PretendardVariable.subset.91-Csm0YNoH.woff2 +0 -0
  143. package/dist/web/assets/index-2GhVGsHN.js +314 -0
  144. package/dist/web/assets/index-BSxTg2Py.css +1 -0
  145. package/dist/web/index.html +15 -0
  146. package/package.json +203 -34
  147. package/scripts/koffi-bun-plugin.mjs +116 -0
  148. package/scripts/native-build.d.mts +19 -0
  149. package/scripts/native-build.mjs +72 -0
  150. package/scripts/qualify-koffi-gc.mjs +28 -0
  151. package/dist/node/bin.cjs +0 -1368
  152. package/dist/node/bin.d.cts +0 -1
  153. package/dist/node/bin.d.ts +0 -1
  154. package/dist/node/chunk-UT4RQDTI.js +0 -1337
  155. package/dist/node/index.cjs +0 -1375
  156. package/dist/node/index.d.cts +0 -49
@@ -0,0 +1,749 @@
1
+ //#region ../product-config/dist/resolve-C08mkhYu.d.ts
2
+ //#region src/contract.d.ts
3
+ type TConfigEnvironment = Readonly<Record<string, string | undefined>>;
4
+ type TConfigExposure = 'public' | 'host' | 'private';
5
+ type TConfigPhase = 'identity' | 'operational';
6
+ type TConfigConsumer = 'build' | 'cli' | 'desktop' | 'web' | 'release' | 'deploy';
7
+ interface ISettingMetadata {
8
+ readonly phase: TConfigPhase;
9
+ readonly exposure: TConfigExposure;
10
+ readonly consumers: readonly TConfigConsumer[];
11
+ readonly path?: boolean;
12
+ readonly alias?: false;
13
+ readonly defaultValue?: string;
14
+ }
15
+ interface IProductSetting<T = unknown> extends ISettingMetadata {
16
+ readonly variable: string;
17
+ readonly description: string;
18
+ readonly format: string;
19
+ readonly required: boolean;
20
+ readonly parse: (value: string) => T;
21
+ }
22
+ type TParser<T> = (value: string) => T;
23
+ /** The sole contract for variable names, parsing, documentation and exposure. */
24
+ declare const PRODUCT_CONFIG_DESCRIPTORS: Readonly<{
25
+ identity: Readonly<{
26
+ id: Readonly<{
27
+ variable: string;
28
+ description: string;
29
+ format: string;
30
+ required: boolean;
31
+ } & Readonly<{
32
+ readonly phase: "identity";
33
+ readonly exposure: "public";
34
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
35
+ }> & {
36
+ parse: TParser<string>;
37
+ }>;
38
+ displayName: Readonly<{
39
+ variable: string;
40
+ description: string;
41
+ format: string;
42
+ required: boolean;
43
+ } & Readonly<{
44
+ readonly phase: "identity";
45
+ readonly exposure: "public";
46
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
47
+ }> & {
48
+ parse: TParser<string>;
49
+ }>;
50
+ cliName: Readonly<{
51
+ variable: string;
52
+ description: string;
53
+ format: string;
54
+ required: boolean;
55
+ } & Readonly<{
56
+ readonly phase: "identity";
57
+ readonly exposure: "public";
58
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
59
+ }> & {
60
+ parse: TParser<string>;
61
+ }>;
62
+ envPrefix: Readonly<{
63
+ variable: string;
64
+ description: string;
65
+ format: string;
66
+ required: boolean;
67
+ } & {
68
+ readonly alias: false;
69
+ readonly phase: "identity";
70
+ readonly exposure: "public";
71
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
72
+ } & {
73
+ parse: TParser<string>;
74
+ }>;
75
+ packageScope: Readonly<{
76
+ variable: string;
77
+ description: string;
78
+ format: string;
79
+ required: boolean;
80
+ } & Readonly<{
81
+ readonly phase: "identity";
82
+ readonly exposure: "public";
83
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
84
+ }> & {
85
+ parse: TParser<string>;
86
+ }>;
87
+ repositoryUrl: Readonly<{
88
+ variable: string;
89
+ description: string;
90
+ format: string;
91
+ required: boolean;
92
+ } & Readonly<{
93
+ readonly phase: "identity";
94
+ readonly exposure: "public";
95
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
96
+ }> & {
97
+ parse: (value: string) => string | undefined;
98
+ }>;
99
+ websiteUrl: Readonly<{
100
+ variable: string;
101
+ description: string;
102
+ format: string;
103
+ required: boolean;
104
+ } & Readonly<{
105
+ readonly phase: "identity";
106
+ readonly exposure: "public";
107
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
108
+ }> & {
109
+ parse: (value: string) => string | undefined;
110
+ }>;
111
+ docsUrl: Readonly<{
112
+ variable: string;
113
+ description: string;
114
+ format: string;
115
+ required: boolean;
116
+ } & Readonly<{
117
+ readonly phase: "identity";
118
+ readonly exposure: "public";
119
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
120
+ }> & {
121
+ parse: (value: string) => string | undefined;
122
+ }>;
123
+ blogUrl: Readonly<{
124
+ variable: string;
125
+ description: string;
126
+ format: string;
127
+ required: boolean;
128
+ } & Readonly<{
129
+ readonly phase: "identity";
130
+ readonly exposure: "public";
131
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
132
+ }> & {
133
+ parse: (value: string) => string | undefined;
134
+ }>;
135
+ appId: Readonly<{
136
+ variable: string;
137
+ description: string;
138
+ format: string;
139
+ required: boolean;
140
+ } & Readonly<{
141
+ readonly phase: "identity";
142
+ readonly exposure: "public";
143
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
144
+ }> & {
145
+ parse: TParser<string>;
146
+ }>;
147
+ protocolScheme: Readonly<{
148
+ variable: string;
149
+ description: string;
150
+ format: string;
151
+ required: boolean;
152
+ } & Readonly<{
153
+ readonly phase: "identity";
154
+ readonly exposure: "public";
155
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
156
+ }> & {
157
+ parse: TParser<string>;
158
+ }>;
159
+ telemetryServiceName: Readonly<{
160
+ variable: string;
161
+ description: string;
162
+ format: string;
163
+ required: boolean;
164
+ } & Readonly<{
165
+ readonly phase: "identity";
166
+ readonly exposure: "host";
167
+ readonly consumers: readonly ["build", "cli", "desktop"];
168
+ }> & {
169
+ parse: TParser<string>;
170
+ }>;
171
+ daemonNamespace: Readonly<{
172
+ variable: string;
173
+ description: string;
174
+ format: string;
175
+ required: boolean;
176
+ } & Readonly<{
177
+ readonly phase: "identity";
178
+ readonly exposure: "host";
179
+ readonly consumers: readonly ["build", "cli", "desktop"];
180
+ }> & {
181
+ parse: TParser<string>;
182
+ }>;
183
+ desktopExecutableName: Readonly<{
184
+ variable: string;
185
+ description: string;
186
+ format: string;
187
+ required: boolean;
188
+ } & Readonly<{
189
+ readonly phase: "identity";
190
+ readonly exposure: "host";
191
+ readonly consumers: readonly ["build", "cli", "desktop"];
192
+ }> & {
193
+ parse: TParser<string>;
194
+ }>;
195
+ mcpClientName: Readonly<{
196
+ variable: string;
197
+ description: string;
198
+ format: string;
199
+ required: boolean;
200
+ } & Readonly<{
201
+ readonly phase: "identity";
202
+ readonly exposure: "host";
203
+ readonly consumers: readonly ["build", "cli", "desktop"];
204
+ }> & {
205
+ parse: TParser<string>;
206
+ }>;
207
+ modelCommandToolPrefix: Readonly<{
208
+ variable: string;
209
+ description: string;
210
+ format: string;
211
+ required: boolean;
212
+ } & Readonly<{
213
+ readonly phase: "identity";
214
+ readonly exposure: "host";
215
+ readonly consumers: readonly ["build", "cli", "desktop"];
216
+ }> & {
217
+ parse: TParser<string>;
218
+ }>;
219
+ promptFileReferenceTag: Readonly<{
220
+ variable: string;
221
+ description: string;
222
+ format: string;
223
+ required: boolean;
224
+ } & Readonly<{
225
+ readonly phase: "identity";
226
+ readonly exposure: "host";
227
+ readonly consumers: readonly ["build", "cli", "desktop"];
228
+ }> & {
229
+ parse: TParser<string>;
230
+ }>;
231
+ editorTemporaryDirectoryPrefix: Readonly<{
232
+ variable: string;
233
+ description: string;
234
+ format: string;
235
+ required: boolean;
236
+ } & Readonly<{
237
+ readonly phase: "identity";
238
+ readonly exposure: "host";
239
+ readonly consumers: readonly ["build", "cli", "desktop"];
240
+ }> & {
241
+ parse: TParser<string>;
242
+ }>;
243
+ }>;
244
+ build: Readonly<{
245
+ cliPackageBin: Readonly<{
246
+ variable: string;
247
+ description: string;
248
+ format: string;
249
+ required: boolean;
250
+ } & {
251
+ readonly consumers: readonly ["build"];
252
+ readonly phase: "operational";
253
+ readonly exposure: "host";
254
+ } & {
255
+ parse: (value: string) => string | undefined;
256
+ }>;
257
+ defaultUserRoot: Readonly<{
258
+ variable: string;
259
+ description: string;
260
+ format: string;
261
+ required: boolean;
262
+ } & {
263
+ readonly consumers: readonly ["build"];
264
+ readonly phase: "operational";
265
+ readonly exposure: "host";
266
+ } & {
267
+ parse: (value: string) => string | undefined;
268
+ }>;
269
+ defaultCacheRoot: Readonly<{
270
+ variable: string;
271
+ description: string;
272
+ format: string;
273
+ required: boolean;
274
+ } & {
275
+ readonly consumers: readonly ["build"];
276
+ readonly phase: "operational";
277
+ readonly exposure: "host";
278
+ } & {
279
+ parse: (value: string) => string | undefined;
280
+ }>;
281
+ defaultLogRoot: Readonly<{
282
+ variable: string;
283
+ description: string;
284
+ format: string;
285
+ required: boolean;
286
+ } & {
287
+ readonly consumers: readonly ["build"];
288
+ readonly phase: "operational";
289
+ readonly exposure: "host";
290
+ } & {
291
+ parse: (value: string) => string | undefined;
292
+ }>;
293
+ defaultProjectDirectory: Readonly<{
294
+ variable: string;
295
+ description: string;
296
+ format: string;
297
+ required: boolean;
298
+ } & {
299
+ readonly consumers: readonly ["build"];
300
+ readonly phase: "operational";
301
+ readonly exposure: "host";
302
+ } & {
303
+ parse: (value: string) => string | undefined;
304
+ }>;
305
+ }>;
306
+ settings: Readonly<{
307
+ sharedUserFiles: Readonly<{
308
+ variable: string;
309
+ description: string;
310
+ format: string;
311
+ required: boolean;
312
+ } & {
313
+ readonly defaultValue: "[\".claude/settings.json\"]";
314
+ readonly phase: "operational";
315
+ readonly exposure: "host";
316
+ readonly consumers: readonly ["build", "cli", "desktop"];
317
+ } & {
318
+ parse: TParser<readonly string[]>;
319
+ }>;
320
+ sharedProjectFiles: Readonly<{
321
+ variable: string;
322
+ description: string;
323
+ format: string;
324
+ required: boolean;
325
+ } & {
326
+ readonly defaultValue: "[{\"scope\":\"project\",\"relativePath\":\".claude/settings.json\"},{\"scope\":\"project-local\",\"relativePath\":\".claude/settings.local.json\"}]";
327
+ readonly phase: "operational";
328
+ readonly exposure: "host";
329
+ readonly consumers: readonly ["build", "cli", "desktop"];
330
+ } & {
331
+ parse: TParser<readonly {
332
+ readonly scope: "project" | "project-local";
333
+ readonly relativePath: string;
334
+ }[]>;
335
+ }>;
336
+ }>;
337
+ storage: Readonly<{
338
+ userRoot: Readonly<{
339
+ variable: string;
340
+ description: string;
341
+ format: string;
342
+ required: boolean;
343
+ } & {
344
+ readonly path: true;
345
+ readonly phase: "operational";
346
+ readonly exposure: "host";
347
+ readonly consumers: readonly ["build", "cli", "desktop"];
348
+ } & {
349
+ parse: TParser<string>;
350
+ }>;
351
+ projectDirectory: Readonly<{
352
+ variable: string;
353
+ description: string;
354
+ format: string;
355
+ required: boolean;
356
+ } & Readonly<{
357
+ readonly phase: "operational";
358
+ readonly exposure: "host";
359
+ readonly consumers: readonly ["build", "cli", "desktop"];
360
+ }> & {
361
+ parse: TParser<string>;
362
+ }>;
363
+ cacheRoot: Readonly<{
364
+ variable: string;
365
+ description: string;
366
+ format: string;
367
+ required: boolean;
368
+ } & {
369
+ readonly path: true;
370
+ readonly phase: "operational";
371
+ readonly exposure: "host";
372
+ readonly consumers: readonly ["build", "cli", "desktop"];
373
+ } & {
374
+ parse: TParser<string>;
375
+ }>;
376
+ logRoot: Readonly<{
377
+ variable: string;
378
+ description: string;
379
+ format: string;
380
+ required: boolean;
381
+ } & {
382
+ readonly path: true;
383
+ readonly phase: "operational";
384
+ readonly exposure: "host";
385
+ readonly consumers: readonly ["build", "cli", "desktop"];
386
+ } & {
387
+ parse: TParser<string>;
388
+ }>;
389
+ browserNamespace: Readonly<{
390
+ variable: string;
391
+ description: string;
392
+ format: string;
393
+ required: boolean;
394
+ } & Readonly<{
395
+ readonly phase: "identity";
396
+ readonly exposure: "public";
397
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
398
+ }> & {
399
+ parse: TParser<string>;
400
+ }>;
401
+ browserCredentialDatabase: Readonly<{
402
+ variable: string;
403
+ description: string;
404
+ format: string;
405
+ required: boolean;
406
+ } & Readonly<{
407
+ readonly phase: "identity";
408
+ readonly exposure: "public";
409
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
410
+ }> & {
411
+ parse: TParser<string>;
412
+ }>;
413
+ }>;
414
+ credentials: Readonly<{
415
+ serviceNamespace: Readonly<{
416
+ variable: string;
417
+ description: string;
418
+ format: string;
419
+ required: boolean;
420
+ } & Readonly<{
421
+ readonly phase: "identity";
422
+ readonly exposure: "host";
423
+ readonly consumers: readonly ["build", "cli", "desktop"];
424
+ }> & {
425
+ parse: TParser<string>;
426
+ }>;
427
+ }>;
428
+ crypto: Readonly<{
429
+ namespace: Readonly<{
430
+ variable: string;
431
+ description: string;
432
+ format: string;
433
+ required: boolean;
434
+ } & Readonly<{
435
+ readonly phase: "identity";
436
+ readonly exposure: "public";
437
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
438
+ }> & {
439
+ parse: TParser<string>;
440
+ }>;
441
+ masterKeyDerivationPath: Readonly<{
442
+ variable: string;
443
+ description: string;
444
+ format: string;
445
+ required: boolean;
446
+ } & Readonly<{
447
+ readonly phase: "identity";
448
+ readonly exposure: "host";
449
+ readonly consumers: readonly ["build", "cli", "desktop"];
450
+ }> & {
451
+ parse: TParser<readonly number[]>;
452
+ }>;
453
+ }>;
454
+ services: Readonly<{
455
+ analyticsMeasurementId: Readonly<{
456
+ variable: string;
457
+ description: string;
458
+ format: string;
459
+ required: boolean;
460
+ } & Readonly<{
461
+ readonly phase: "operational";
462
+ readonly exposure: "public";
463
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
464
+ }> & {
465
+ parse: (value: string) => string | undefined;
466
+ }>;
467
+ signalingUrl: Readonly<{
468
+ variable: string;
469
+ description: string;
470
+ format: string;
471
+ required: boolean;
472
+ } & Readonly<{
473
+ readonly phase: "operational";
474
+ readonly exposure: "public";
475
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
476
+ }> & {
477
+ parse: (value: string) => string | undefined;
478
+ }>;
479
+ remoteClientUrl: Readonly<{
480
+ variable: string;
481
+ description: string;
482
+ format: string;
483
+ required: boolean;
484
+ } & Readonly<{
485
+ readonly phase: "operational";
486
+ readonly exposure: "public";
487
+ readonly consumers: readonly ["build", "cli", "desktop", "web"];
488
+ }> & {
489
+ parse: (value: string) => string | undefined;
490
+ }>;
491
+ }>;
492
+ release: Readonly<{
493
+ artifactPrefix: Readonly<{
494
+ variable: string;
495
+ description: string;
496
+ format: string;
497
+ required: boolean;
498
+ } & {
499
+ readonly consumers: readonly ["build", "release"];
500
+ readonly phase: "identity";
501
+ readonly exposure: "host";
502
+ } & {
503
+ parse: (value: string) => string | undefined;
504
+ }>;
505
+ productVersion: Readonly<{
506
+ variable: string;
507
+ description: string;
508
+ format: string;
509
+ required: boolean;
510
+ } & Readonly<{
511
+ readonly phase: "operational";
512
+ readonly exposure: "host";
513
+ readonly consumers: readonly ["build", "release"];
514
+ }> & {
515
+ parse: (value: string) => string | undefined;
516
+ }>;
517
+ buildMetadata: Readonly<{
518
+ variable: string;
519
+ description: string;
520
+ format: string;
521
+ required: boolean;
522
+ } & Readonly<{
523
+ readonly phase: "operational";
524
+ readonly exposure: "host";
525
+ readonly consumers: readonly ["build", "release"];
526
+ }> & {
527
+ parse: (value: string) => string | undefined;
528
+ }>;
529
+ version: Readonly<{
530
+ variable: string;
531
+ description: string;
532
+ format: string;
533
+ required: boolean;
534
+ } & Readonly<{
535
+ readonly phase: "operational";
536
+ readonly exposure: "host";
537
+ readonly consumers: readonly ["build", "release"];
538
+ }> & {
539
+ parse: (value: string) => string | undefined;
540
+ }>;
541
+ tagPrefix: Readonly<{
542
+ variable: string;
543
+ description: string;
544
+ format: string;
545
+ required: boolean;
546
+ } & Readonly<{
547
+ readonly phase: "operational";
548
+ readonly exposure: "host";
549
+ readonly consumers: readonly ["build", "release"];
550
+ }> & {
551
+ parse: (value: string) => string | undefined;
552
+ }>;
553
+ channel: Readonly<{
554
+ variable: string;
555
+ description: string;
556
+ format: string;
557
+ required: boolean;
558
+ } & Readonly<{
559
+ readonly phase: "operational";
560
+ readonly exposure: "host";
561
+ readonly consumers: readonly ["build", "release"];
562
+ }> & {
563
+ parse: (value: string) => string | undefined;
564
+ }>;
565
+ baseUrl: Readonly<{
566
+ variable: string;
567
+ description: string;
568
+ format: string;
569
+ required: boolean;
570
+ } & Readonly<{
571
+ readonly phase: "operational";
572
+ readonly exposure: "host";
573
+ readonly consumers: readonly ["build", "release"];
574
+ }> & {
575
+ parse: (value: string) => string | undefined;
576
+ }>;
577
+ updateMetadataUrl: Readonly<{
578
+ variable: string;
579
+ description: string;
580
+ format: string;
581
+ required: boolean;
582
+ } & Readonly<{
583
+ readonly phase: "operational";
584
+ readonly exposure: "host";
585
+ readonly consumers: readonly ["build", "release"];
586
+ }> & {
587
+ parse: (value: string) => string | undefined;
588
+ }>;
589
+ installScriptUrl: Readonly<{
590
+ variable: string;
591
+ description: string;
592
+ format: string;
593
+ required: boolean;
594
+ } & Readonly<{
595
+ readonly phase: "operational";
596
+ readonly exposure: "host";
597
+ readonly consumers: readonly ["build", "release"];
598
+ }> & {
599
+ parse: (value: string) => string | undefined;
600
+ }>;
601
+ npmRegistryUrl: Readonly<{
602
+ variable: string;
603
+ description: string;
604
+ format: string;
605
+ required: boolean;
606
+ } & Readonly<{
607
+ readonly phase: "operational";
608
+ readonly exposure: "host";
609
+ readonly consumers: readonly ["build", "release"];
610
+ }> & {
611
+ parse: (value: string) => string | undefined;
612
+ }>;
613
+ packageAccess: Readonly<{
614
+ variable: string;
615
+ description: string;
616
+ format: string;
617
+ required: boolean;
618
+ } & Readonly<{
619
+ readonly phase: "operational";
620
+ readonly exposure: "host";
621
+ readonly consumers: readonly ["build", "release"];
622
+ }> & {
623
+ parse: (value: string) => "public" | "restricted" | undefined;
624
+ }>;
625
+ }>;
626
+ deploy: Readonly<{
627
+ environment: Readonly<{
628
+ variable: string;
629
+ description: string;
630
+ format: string;
631
+ required: boolean;
632
+ } & Readonly<{
633
+ readonly phase: "operational";
634
+ readonly exposure: "host";
635
+ readonly consumers: readonly ["build", "deploy"];
636
+ }> & {
637
+ parse: (value: string) => string | undefined;
638
+ }>;
639
+ projectName: Readonly<{
640
+ variable: string;
641
+ description: string;
642
+ format: string;
643
+ required: boolean;
644
+ } & Readonly<{
645
+ readonly phase: "operational";
646
+ readonly exposure: "host";
647
+ readonly consumers: readonly ["build", "deploy"];
648
+ }> & {
649
+ parse: (value: string) => string | undefined;
650
+ }>;
651
+ docsProjectName: Readonly<{
652
+ variable: string;
653
+ description: string;
654
+ format: string;
655
+ required: boolean;
656
+ } & Readonly<{
657
+ readonly phase: "operational";
658
+ readonly exposure: "host";
659
+ readonly consumers: readonly ["build", "deploy"];
660
+ }> & {
661
+ parse: (value: string) => string | undefined;
662
+ }>;
663
+ blogProjectName: Readonly<{
664
+ variable: string;
665
+ description: string;
666
+ format: string;
667
+ required: boolean;
668
+ } & Readonly<{
669
+ readonly phase: "operational";
670
+ readonly exposure: "host";
671
+ readonly consumers: readonly ["build", "deploy"];
672
+ }> & {
673
+ parse: (value: string) => string | undefined;
674
+ }>;
675
+ workerName: Readonly<{
676
+ variable: string;
677
+ description: string;
678
+ format: string;
679
+ required: boolean;
680
+ } & Readonly<{
681
+ readonly phase: "operational";
682
+ readonly exposure: "host";
683
+ readonly consumers: readonly ["build", "deploy"];
684
+ }> & {
685
+ parse: (value: string) => string | undefined;
686
+ }>;
687
+ accountId: Readonly<{
688
+ variable: string;
689
+ description: string;
690
+ format: string;
691
+ required: boolean;
692
+ } & Readonly<{
693
+ readonly phase: "operational";
694
+ readonly exposure: "host";
695
+ readonly consumers: readonly ["build", "deploy"];
696
+ }> & {
697
+ parse: (value: string) => string | undefined;
698
+ }>;
699
+ domain: Readonly<{
700
+ variable: string;
701
+ description: string;
702
+ format: string;
703
+ required: boolean;
704
+ } & Readonly<{
705
+ readonly phase: "operational";
706
+ readonly exposure: "host";
707
+ readonly consumers: readonly ["build", "deploy"];
708
+ }> & {
709
+ parse: (value: string) => string | undefined;
710
+ }>;
711
+ route: Readonly<{
712
+ variable: string;
713
+ description: string;
714
+ format: string;
715
+ required: boolean;
716
+ } & Readonly<{
717
+ readonly phase: "operational";
718
+ readonly exposure: "host";
719
+ readonly consumers: readonly ["build", "deploy"];
720
+ }> & {
721
+ parse: (value: string) => string | undefined;
722
+ }>;
723
+ }>;
724
+ }>;
725
+ type TContract = typeof PRODUCT_CONFIG_DESCRIPTORS;
726
+ type IProductConfig = { readonly [S in keyof TContract]: { readonly [F in keyof TContract[S]]: TContract[S][F] extends IProductSetting<infer T> ? T : never; }; };
727
+ type TFilteredConfig<K extends 'exposure' | 'phase', V> = { readonly [S in keyof TContract as { [F in keyof TContract[S]]: TContract[S][F] extends Record<K, V> ? F : never; }[keyof TContract[S]] extends never ? never : S]: { readonly [F in keyof TContract[S] as TContract[S][F] extends Record<K, V> ? F : never]: TContract[S][F] extends IProductSetting<infer T> ? T : never; }; };
728
+ type IEmbeddedProductIdentity = TFilteredConfig<'phase', 'identity'>;
729
+ //#endregion
730
+ //#region src/product/artifact.d.ts
731
+ /** Fixed, non-secret metadata supplied by the owner of a CLI executable. */
732
+ interface IProductCliArtifact {
733
+ readonly identity: IEmbeddedProductIdentity;
734
+ readonly runtimeDefaults?: TConfigEnvironment;
735
+ readonly version: string;
736
+ readonly sourceVersion?: string;
737
+ readonly buildMetadata?: string | null;
738
+ /** Omit or set false to disable update checks; opt in with an explicit package and registry. */
739
+ readonly update?: {
740
+ readonly packageName: string;
741
+ readonly registryUrl: string;
742
+ } | false;
743
+ /** Absolute directory of consumer-owned static web assets. */
744
+ readonly webRoot?: string;
745
+ }
746
+ type IProductCliRuntimeArtifact = Pick<IProductCliArtifact, 'version' | 'sourceVersion' | 'buildMetadata' | 'update' | 'webRoot'>;
747
+ //#endregion
748
+ export { TConfigEnvironment as i, IProductCliRuntimeArtifact as n, IProductConfig as r, IProductCliArtifact as t };
749
+ //# sourceMappingURL=artifact-DrPhOb_v.d.ts.map