priiisk 0.1.21 → 0.1.23

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.
@@ -25453,29 +25453,46 @@ var directToolBin = (toolName) => toolName.startsWith(DIRECT_TOOL_PREFIX) ? tool
25453
25453
 
25454
25454
  // packages/config/src/resolvers/equipmentDescription.ts
25455
25455
  var names = (values3) => values3.length === 0 ? "none" : values3.join(", ");
25456
- var mcpGrants = (equipment) => names(
25457
- equipment.mcp.serverNames.map((serverName) => {
25458
- const toolNames = equipment.mcp.toolNamesByServer?.[serverName];
25459
- return toolNames === void 0 ? serverName : `${serverName} (${names(toolNames)})`;
25460
- })
25461
- );
25462
- var equipmentDescriptionLines = (equipment, revision) => [
25463
- `equipment r${String(revision)}: ${equipment.role ?? equipment.preset ?? "worker"}, ${equipment.readOnly ? "read-only" : "read/write"}`,
25464
- `model: ${equipment.model ?? "default"}${equipment.thinkingLevel === void 0 ? "" : `, thinking ${equipment.thinkingLevel}`}`,
25465
- `tools: ${names(
25466
- [
25456
+ var equipmentDescriptionGroups = (equipment, revision) => [
25457
+ {
25458
+ label: `equipment r${String(revision)}`,
25459
+ values: [
25460
+ equipment.role ?? equipment.preset ?? "worker",
25461
+ equipment.readOnly ? "read-only" : "read/write"
25462
+ ]
25463
+ },
25464
+ {
25465
+ label: "model",
25466
+ values: [
25467
+ equipment.model ?? "default",
25468
+ ...equipment.thinkingLevel === void 0 ? [] : [`thinking ${equipment.thinkingLevel}`]
25469
+ ]
25470
+ },
25471
+ {
25472
+ label: "tools",
25473
+ values: [
25467
25474
  .../* @__PURE__ */ new Set([
25468
25475
  ...equipment.builtinTools,
25469
25476
  ...equipment.customToolNames.filter((name) => directToolBin(name) === void 0)
25470
25477
  ])
25471
25478
  ].sort()
25472
- )}`,
25473
- `direct: ${names(
25474
- equipment.customToolNames.map((name) => directToolBin(name)).filter((bin) => bin !== void 0).sort()
25475
- )}`,
25476
- `mcp: ${mcpGrants(equipment)}`,
25477
- `skills: ${names(equipment.skillNames)}`
25479
+ },
25480
+ {
25481
+ label: "direct",
25482
+ values: equipment.customToolNames.map((name) => directToolBin(name)).filter((bin) => bin !== void 0).sort()
25483
+ },
25484
+ {
25485
+ label: "mcp",
25486
+ values: equipment.mcp.serverNames.map((serverName) => {
25487
+ const toolNames = equipment.mcp.toolNamesByServer?.[serverName];
25488
+ return toolNames === void 0 ? serverName : `${serverName} (${names(toolNames)})`;
25489
+ })
25490
+ },
25491
+ { label: "skills", values: [...equipment.skillNames] }
25478
25492
  ];
25493
+ var equipmentDescriptionLines = (equipment, revision) => equipmentDescriptionGroups(equipment, revision).map(
25494
+ (group) => group.label.startsWith("equipment ") ? `${group.label}: ${group.values.join(", ")}` : `${group.label}: ${names(group.values)}`
25495
+ );
25479
25496
 
25480
25497
  // packages/config/src/resolvers/workerConfigResolver.ts
25481
25498
  var listWorkerModelCatalogEntries = (config2) => {
@@ -26098,6 +26115,7 @@ export {
26098
26115
  campProjectPaths,
26099
26116
  prepareCampStorage,
26100
26117
  prepareCampRunStorage,
26118
+ equipmentDescriptionGroups,
26101
26119
  equipmentDescriptionLines,
26102
26120
  listWorkerModelCatalogEntries,
26103
26121
  DirectToolSandboxKind,
@@ -23,7 +23,7 @@ import {
23
23
  resolveCampSurface,
24
24
  saveCampManifest,
25
25
  startingCampManifest
26
- } from "./chunk-GYYNOMA5.js";
26
+ } from "./chunk-ECYZGNL3.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-U2FODXMR.js";
34
+ } from "./chunk-QDMSPX34.js";
35
35
  import {
36
36
  Deep,
37
37
  align,
@@ -106,7 +106,7 @@ import {
106
106
  vsep,
107
107
  weak,
108
108
  white
109
- } from "./chunk-6KCQ6O4T.js";
109
+ } from "./chunk-HRCEXDLT.js";
110
110
  import {
111
111
  CampCommandFailure,
112
112
  CampHostReadiness,
@@ -127,10 +127,10 @@ import {
127
127
  withCampRpc,
128
128
  withCampRpcSession,
129
129
  withConsole
130
- } from "./chunk-QY7U7U2K.js";
130
+ } from "./chunk-G3ITCVKS.js";
131
131
  import {
132
132
  PRIIISK_CLI_VERSION
133
- } from "./chunk-TUCFONJW.js";
133
+ } from "./chunk-HOYW7OPN.js";
134
134
  import {
135
135
  BadArgument,
136
136
  BaseProto,
@@ -393,7 +393,7 @@ import {
393
393
  zipLeft,
394
394
  zipRight,
395
395
  zipWith
396
- } from "./chunk-DPNPQG2D.js";
396
+ } from "./chunk-7OL53RZ7.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-K7LA4DNU.js")).pipe(
19263
+ var selectCampRunOnDemand = (items) => promise(() => import("./chunk-J77LDB4Q.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-IPF3C3B2.js")).pipe(
19336
+ var runDoctorOnDemand = promise(() => import("./chunk-QO2YENTD.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-PCOWK5BR.js")).pipe(
20065
+ return promise(() => import("./chunk-MJZ7FPJI.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.21"
20105
+ version: "0.1.23"
20106
20106
  });
20107
20107
  var quietDiagnostics = (json, effect2) => json ? consoleWith(
20108
20108
  (console2) => withConsole({ ...console2, error: () => _void })(effect2)
@@ -3,14 +3,14 @@ const require = __priiiskCreateRequire(import.meta.url);
3
3
  import {
4
4
  CampSessionError,
5
5
  CampSessionErrorCode
6
- } from "./chunk-U2FODXMR.js";
6
+ } from "./chunk-QDMSPX34.js";
7
7
  import {
8
8
  CAMP_HEALTH_SCHEMA_VERSION,
9
9
  CampHealthComponentCategory,
10
10
  CampHealthComponentStatus,
11
11
  CampHealthSnapshotSchema,
12
12
  CliSurfaceSelectionError
13
- } from "./chunk-QY7U7U2K.js";
13
+ } from "./chunk-G3ITCVKS.js";
14
14
  import {
15
15
  Array$,
16
16
  Boolean$,
@@ -91,7 +91,7 @@ import {
91
91
  update,
92
92
  withDefault,
93
93
  zipRight
94
- } from "./chunk-DPNPQG2D.js";
94
+ } from "./chunk-7OL53RZ7.js";
95
95
 
96
96
  // packages/cli/src/doctor/doctorModel.ts
97
97
  var DOCTOR_REPORT_SCHEMA_VERSION = 1;
@@ -135,7 +135,7 @@ var makeDoctorReport = (checks, checkedAt, projectHash) => ({
135
135
  var doctorErrorMessage = (cause) => (cause instanceof Error ? cause.message : String(cause)).slice(-2048);
136
136
 
137
137
  // packages/camp-state/src/bootstrap/campHostVersion.ts
138
- var PRIIISK_HOST_VERSION = "0.1.21";
138
+ var PRIIISK_HOST_VERSION = "0.1.23";
139
139
 
140
140
  // packages/surface/src/domain/surfaceModel.ts
141
141
  var NonEmptyString = String$.pipe(minLength(1));
@@ -2,7 +2,7 @@ import { createRequire as __priiiskCreateRequire } from "node:module";
2
2
  const require = __priiiskCreateRequire(import.meta.url);
3
3
  import {
4
4
  PRIIISK_CLI_VERSION
5
- } from "./chunk-TUCFONJW.js";
5
+ } from "./chunk-HOYW7OPN.js";
6
6
  import {
7
7
  Array$,
8
8
  Boolean$,
@@ -208,7 +208,7 @@ import {
208
208
  withFiberRuntime,
209
209
  withParentSpan,
210
210
  zipRight
211
- } from "./chunk-DPNPQG2D.js";
211
+ } from "./chunk-7OL53RZ7.js";
212
212
  import {
213
213
  __commonJS,
214
214
  __export,
@@ -5138,7 +5138,7 @@ var make11 = (...rpcs) => makeProto2({
5138
5138
 
5139
5139
  // packages/protocol/src/domain/protocolVersion.ts
5140
5140
  var PRIIISK_PROTOCOL_VERSION = "12";
5141
- var PRIIISK_PROTOCOL_PACKAGE_VERSION = "0.1.21";
5141
+ var PRIIISK_PROTOCOL_PACKAGE_VERSION = "0.1.23";
5142
5142
  var ProtocolVersionSchema = String$.pipe(minLength(1));
5143
5143
 
5144
5144
  // packages/protocol/src/domain/protocolIdentifiers.ts
@@ -2,7 +2,7 @@ import { createRequire as __priiiskCreateRequire } from "node:module";
2
2
  const require = __priiiskCreateRequire(import.meta.url);
3
3
 
4
4
  // packages/cli/src/domain/cliVersion.ts
5
- var PRIIISK_CLI_VERSION = "0.1.21";
5
+ var PRIIISK_CLI_VERSION = "0.1.23";
6
6
 
7
7
  export {
8
8
  PRIIISK_CLI_VERSION
@@ -5,7 +5,7 @@ import {
5
5
  TypeId,
6
6
  error,
7
7
  log
8
- } from "./chunk-QY7U7U2K.js";
8
+ } from "./chunk-G3ITCVKS.js";
9
9
  import {
10
10
  _void,
11
11
  cached,
@@ -42,7 +42,7 @@ import {
42
42
  symbol,
43
43
  symbol2,
44
44
  sync
45
- } from "./chunk-DPNPQG2D.js";
45
+ } from "./chunk-7OL53RZ7.js";
46
46
 
47
47
  // node_modules/.pnpm/@effect+typeclass@0.40.0_effect@3.21.4/node_modules/@effect/typeclass/dist/esm/internal/Iterable.js
48
48
  function reduce(b, f) {