priiisk 0.1.19 → 0.1.21

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.
@@ -3,28 +3,28 @@ const require = __priiiskCreateRequire(import.meta.url);
3
3
  import {
4
4
  errorPayload,
5
5
  makeCapturedConsole
6
- } from "./chunk-WRNKCW6X.js";
6
+ } from "./chunk-6KCQ6O4T.js";
7
7
  import {
8
8
  withCampRpcSession,
9
9
  withConsole
10
- } from "./chunk-37ROQVP3.js";
10
+ } from "./chunk-QY7U7U2K.js";
11
11
  import {
12
12
  PRIIISK_CLI_VERSION
13
- } from "./chunk-5IO2ETKC.js";
13
+ } from "./chunk-TUCFONJW.js";
14
14
  import {
15
15
  _await2 as _await,
16
16
  addFinalizer2 as addFinalizer,
17
17
  gen,
18
18
  make7 as make,
19
- map6 as map,
19
+ map3 as map,
20
20
  promise,
21
21
  runPromise,
22
22
  runSync2 as runSync,
23
23
  runtime,
24
24
  scoped,
25
- succeed3 as succeed,
26
- suspend2 as suspend
27
- } from "./chunk-26WAMIP2.js";
25
+ succeed2 as succeed,
26
+ suspend
27
+ } from "./chunk-DPNPQG2D.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __export,
@@ -23,7 +23,7 @@ import {
23
23
  resolveCampSurface,
24
24
  saveCampManifest,
25
25
  startingCampManifest
26
- } from "./chunk-UGJ3G52D.js";
26
+ } from "./chunk-GYYNOMA5.js";
27
27
  import {
28
28
  get as get4,
29
29
  make as make10,
@@ -31,7 +31,7 @@ import {
31
31
  updateEffect,
32
32
  value,
33
33
  when as when2
34
- } from "./chunk-5TXANNSW.js";
34
+ } from "./chunk-U2FODXMR.js";
35
35
  import {
36
36
  Deep,
37
37
  align,
@@ -106,9 +106,8 @@ import {
106
106
  vsep,
107
107
  weak,
108
108
  white
109
- } from "./chunk-WRNKCW6X.js";
109
+ } from "./chunk-6KCQ6O4T.js";
110
110
  import {
111
- BadArgument,
112
111
  CampCommandFailure,
113
112
  CampHostReadiness,
114
113
  CliAlreadyReported,
@@ -119,78 +118,55 @@ import {
119
118
  CliStdioRequestInvalid,
120
119
  CliStdioStreamFailure,
121
120
  CliTurnWaitTimeout,
122
- CommandExecutor,
123
- ExitCode,
124
- FileDescriptor,
125
- FileSystem,
126
- FileSystem_exports,
127
- FileTypeId,
128
121
  PRIIISK_PROTOCOL_VERSION,
129
- Path,
130
- PiThinkingLevel,
131
- PlatformWorker,
132
- ProcessId,
133
- ProcessTypeId,
134
- QuitException,
135
- Size,
136
- SystemError,
137
- Terminal,
138
- TypeId,
139
- WatchBackend,
140
- WatchEventCreate,
141
- WatchEventRemove,
142
- WatchEventUpdate,
143
- WorkerError,
144
122
  acceptCampGeneration,
145
- campProjectPaths,
146
123
  consoleWith,
147
- drain,
148
- effectify,
149
- embedInput,
150
- ensuring as ensuring2,
151
124
  error,
152
- flatMap as flatMap4,
153
- flatten as flatten2,
154
- fromChannel as fromChannel2,
155
- fromEffect,
156
- isQuitException,
157
- layerManager,
158
125
  log,
159
- make as make8,
160
- make2 as make9,
161
- makeExecutor,
162
- makePlatform,
163
- makeRunMain,
164
- prepareCampRunStorage,
165
- prepareCampStorage,
166
126
  releaseCampRpcConnection,
167
- resolveProjectScopeSync,
168
- stdin,
169
- suspend as suspend2,
170
- void_ as void_2,
171
127
  withCampRpc,
172
128
  withCampRpcSession,
173
- withConsole,
174
- withMinimumLogLevel,
175
- write
176
- } from "./chunk-37ROQVP3.js";
129
+ withConsole
130
+ } from "./chunk-QY7U7U2K.js";
177
131
  import {
178
132
  PRIIISK_CLI_VERSION
179
- } from "./chunk-5IO2ETKC.js";
133
+ } from "./chunk-TUCFONJW.js";
180
134
  import {
135
+ BadArgument,
181
136
  BaseProto,
137
+ CommandExecutor,
182
138
  CommitPrototype,
183
139
  Date$,
140
+ ExitCode,
141
+ FileDescriptor,
142
+ FileSystem,
143
+ FileSystem_exports,
144
+ FileTypeId,
184
145
  GenericTag,
185
146
  Int,
186
147
  Literal,
187
148
  NumberFromString,
149
+ Path,
150
+ PiThinkingLevel,
151
+ PlatformWorker,
152
+ ProcessId,
153
+ ProcessTypeId,
154
+ QuitException,
155
+ Size,
188
156
  String$,
157
+ SystemError,
158
+ Terminal,
189
159
  TreeFormatter,
160
+ TypeId3 as TypeId,
161
+ WatchBackend,
162
+ WatchEventCreate,
163
+ WatchEventRemove,
164
+ WatchEventUpdate,
165
+ WorkerError,
190
166
  _await2 as _await,
191
167
  _void,
192
168
  acquireRelease,
193
- acquireUseRelease2 as acquireUseRelease,
169
+ acquireUseRelease,
194
170
  addFinalizer,
195
171
  addFinalizer2,
196
172
  all,
@@ -198,13 +174,14 @@ import {
198
174
  allocate,
199
175
  append,
200
176
  appendAll,
201
- as2 as as,
177
+ as,
202
178
  asVoid2 as asVoid,
203
179
  async,
204
180
  asyncScoped,
205
181
  boolean,
182
+ campProjectPaths,
206
183
  catchAll,
207
- catchAllCause2 as catchAllCause,
184
+ catchAllCause,
208
185
  catchIf,
209
186
  catchSome,
210
187
  catchTag,
@@ -219,22 +196,26 @@ import {
219
196
  decodeText,
220
197
  decodeUnknown2 as decodeUnknown,
221
198
  die2 as die,
199
+ drain,
222
200
  drop,
223
201
  dual,
224
202
  effect,
203
+ effectify,
225
204
  either,
205
+ embedInput,
226
206
  empty,
227
- empty4 as empty2,
228
- ensuring2 as ensuring,
207
+ empty3 as empty2,
208
+ ensuring,
209
+ ensuring2,
229
210
  every,
230
211
  fail,
231
212
  fail4 as fail2,
232
213
  failCause2 as failCause,
233
214
  failCause3 as failCause2,
234
215
  failSync,
235
- filter3 as filter,
236
- filter4 as filter2,
237
- filter5 as filter3,
216
+ filter2 as filter,
217
+ filter3 as filter2,
218
+ filter4 as filter3,
238
219
  filterMap,
239
220
  filterOrDieMessage,
240
221
  findFirst,
@@ -242,16 +223,20 @@ import {
242
223
  findLast,
243
224
  flatMap,
244
225
  flatMap2,
245
- flatMap4 as flatMap3,
226
+ flatMap3,
227
+ flatMap4,
246
228
  flatten,
229
+ flatten2,
247
230
  fnUntraced,
248
231
  forEach,
249
- forkDaemon2 as forkDaemon,
232
+ forkDaemon,
250
233
  forkScoped,
251
- fromChannel3 as fromChannel,
234
+ fromChannel,
235
+ fromChannel2,
236
+ fromEffect,
252
237
  fromIterable,
253
- fromIterable3 as fromIterable2,
254
- fromIterable4 as fromIterable3,
238
+ fromIterable2,
239
+ fromIterable3,
255
240
  fromNullable,
256
241
  fromString,
257
242
  gen,
@@ -264,14 +249,14 @@ import {
264
249
  getOrUndefined,
265
250
  getSomes,
266
251
  globalValue,
267
- has3 as has,
268
- head2 as head,
252
+ has2 as has,
253
+ head,
269
254
  headNonEmpty,
270
255
  identity,
271
256
  ignore,
272
257
  int,
273
258
  interruptFork,
274
- interruptible2 as interruptible,
259
+ interruptible,
275
260
  intersect,
276
261
  is,
277
262
  isArray,
@@ -288,22 +273,29 @@ import {
288
273
  isNone,
289
274
  isObject,
290
275
  isOption,
276
+ isQuitException,
291
277
  isRight,
292
278
  isSome,
293
279
  isTagged,
294
280
  iterate,
295
281
  join,
282
+ layerManager,
296
283
  left,
297
284
  make,
298
285
  make11 as make7,
286
+ make12 as make8,
287
+ make13 as make9,
299
288
  make3 as make2,
300
289
  make5 as make3,
301
290
  make6 as make4,
302
291
  make7 as make5,
303
292
  make8 as make6,
293
+ makeExecutor,
294
+ makePlatform,
295
+ makeRunMain,
304
296
  map,
305
- map3 as map2,
306
- map6 as map3,
297
+ map2,
298
+ map3,
307
299
  mapBoth,
308
300
  mapError,
309
301
  mapInput,
@@ -318,7 +310,7 @@ import {
318
310
  negate,
319
311
  none,
320
312
  of,
321
- onInterrupt2 as onInterrupt,
313
+ onInterrupt,
322
314
  orDie,
323
315
  orElse,
324
316
  orElse2,
@@ -326,6 +318,8 @@ import {
326
318
  orElseSucceed,
327
319
  pipe,
328
320
  pipeArguments,
321
+ prepareCampRunStorage,
322
+ prepareCampStorage,
329
323
  prepend,
330
324
  promise,
331
325
  provide,
@@ -337,6 +331,7 @@ import {
337
331
  reduce,
338
332
  reduceRight,
339
333
  repeatN,
334
+ resolveProjectScopeSync,
340
335
  retry,
341
336
  right,
342
337
  round,
@@ -358,17 +353,19 @@ import {
358
353
  span,
359
354
  splitAt,
360
355
  splitLines,
356
+ stdin,
361
357
  string2 as string,
362
- succeed3 as succeed,
363
- succeed4 as succeed2,
364
- succeed5 as succeed3,
365
- suspend2 as suspend,
366
- sync2 as sync,
358
+ succeed2 as succeed,
359
+ succeed3 as succeed2,
360
+ succeed4 as succeed3,
361
+ suspend,
362
+ suspend2,
363
+ sync,
367
364
  taggedEnum,
368
365
  tailNonEmpty,
369
366
  take,
370
- take3 as take2,
371
- tap2 as tap,
367
+ take2,
368
+ tap,
372
369
  tapError,
373
370
  timeout,
374
371
  timeoutFail,
@@ -376,24 +373,27 @@ import {
376
373
  transduce,
377
374
  tryPromise,
378
375
  try_,
379
- uninterruptible2 as uninterruptible,
376
+ uninterruptible,
380
377
  unlessEffect,
381
378
  unsafeDone,
382
379
  unsafeFromArray,
383
380
  unsafeGet,
384
- unsafeMakeLatch2 as unsafeMakeLatch,
385
- unsafeMakeSemaphore2 as unsafeMakeSemaphore,
381
+ unsafeMakeLatch,
382
+ unsafeMakeSemaphore,
386
383
  unwrap,
387
- unwrapScoped3 as unwrapScoped,
384
+ unwrapScoped2 as unwrapScoped,
388
385
  update,
389
386
  updateAndGet,
390
- void_2 as void_,
387
+ void_,
388
+ void_2,
391
389
  when,
390
+ withMinimumLogLevel,
391
+ write,
392
392
  zip,
393
- zipLeft2 as zipLeft,
394
- zipRight2 as zipRight,
393
+ zipLeft,
394
+ zipRight,
395
395
  zipWith
396
- } from "./chunk-26WAMIP2.js";
396
+ } from "./chunk-DPNPQG2D.js";
397
397
  import {
398
398
  __commonJS,
399
399
  __export,
@@ -19260,7 +19260,7 @@ var campResumeListCommand = Command_exports2.make(
19260
19260
  )
19261
19261
  ).pipe(Command_exports2.withDescription("Lists saved runs of this project that resume can restore."));
19262
19262
  var runIdArgument = Args_exports.text({ name: "runId" }).pipe(Args_exports.optional);
19263
- var selectCampRunOnDemand = (items) => promise(() => import("./chunk-VEYMTNDB.js")).pipe(
19263
+ var selectCampRunOnDemand = (items) => promise(() => import("./chunk-K7LA4DNU.js")).pipe(
19264
19264
  flatMap3((ui) => ui.selectCampRun({ items }))
19265
19265
  );
19266
19266
  var selectAndResume = (json) => {
@@ -19333,7 +19333,7 @@ var rootCommand = Command_exports2.make(
19333
19333
  ).pipe(Command_exports2.withDescription("Runs and observes a camp of collaborating workers."));
19334
19334
 
19335
19335
  // packages/cli/src/commands/doctorCommand.ts
19336
- var runDoctorOnDemand = promise(() => import("./chunk-GFEPED7X.js")).pipe(
19336
+ var runDoctorOnDemand = promise(() => import("./chunk-IPF3C3B2.js")).pipe(
19337
19337
  flatMap3((doctor) => doctor.runDoctor)
19338
19338
  );
19339
19339
  var statusLabel = {
@@ -20062,7 +20062,7 @@ var stdioCommand = Command_exports2.make("stdio", { consumer: consumerOption3 },
20062
20062
  );
20063
20063
  var mcpCommand = Command_exports2.make("mcp", { consumer: consumerOption3 }, ({ consumer }) => {
20064
20064
  const consumerId = getOrUndefined(consumer);
20065
- return promise(() => import("./chunk-S4KO3BZU.js")).pipe(
20065
+ return promise(() => import("./chunk-PCOWK5BR.js")).pipe(
20066
20066
  flatMap3(
20067
20067
  (adapter) => adapter.runCampMcpSession(
20068
20068
  (argumentsList) => runCliCommand([process.execPath, "priiisk", ...argumentsList]),
@@ -20102,7 +20102,7 @@ var command = rootCommand.pipe(
20102
20102
  );
20103
20103
  var cli = Command_exports2.run(command, {
20104
20104
  name: "priiisk camp control",
20105
- version: "0.1.19"
20105
+ version: "0.1.21"
20106
20106
  });
20107
20107
  var quietDiagnostics = (json, effect2) => json ? consoleWith(
20108
20108
  (console2) => withConsole({ ...console2, error: () => _void })(effect2)