priiisk 0.1.10 → 0.1.11

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.
@@ -366,7 +366,7 @@ import {
366
366
  write,
367
367
  zipRight,
368
368
  zipRight2
369
- } from "./chunk-BXNKAII7.js";
369
+ } from "./chunk-M5QCPHTJ.js";
370
370
 
371
371
  // node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/process.js
372
372
  var require_process = __commonJS({
@@ -10317,9 +10317,6 @@ var DEFAULT_GIT_DENIED_FLAGS = [
10317
10317
  "-c",
10318
10318
  "--config",
10319
10319
  "--exec-path",
10320
- "--paginate",
10321
- "-p",
10322
- "--no-pager",
10323
10320
  "--output",
10324
10321
  "-o",
10325
10322
  "--ext-diff",
@@ -10673,7 +10670,7 @@ var describeDirectToolSandbox = (sandbox2) => sandbox2.kind === DirectToolSandbo
10673
10670
 
10674
10671
  // packages/protocol/src/domain/protocolVersion.ts
10675
10672
  var PRIIISK_PROTOCOL_VERSION = "12";
10676
- var PRIIISK_PROTOCOL_PACKAGE_VERSION = "0.1.10";
10673
+ var PRIIISK_PROTOCOL_PACKAGE_VERSION = "0.1.11";
10677
10674
  var ProtocolVersionSchema = Schema_exports.String.pipe(Schema_exports.minLength(1));
10678
10675
 
10679
10676
  // packages/protocol/src/domain/protocolIdentifiers.ts
@@ -13567,7 +13564,7 @@ var CampProtocol = class extends RpcGroup_exports.make(
13567
13564
  };
13568
13565
 
13569
13566
  // packages/camp-state/src/bootstrap/campHostVersion.ts
13570
- var PRIIISK_HOST_VERSION = "0.1.10";
13567
+ var PRIIISK_HOST_VERSION = "0.1.11";
13571
13568
 
13572
13569
  // packages/surface/src/domain/surfaceModel.ts
13573
13570
  var NonEmptyString7 = Schema_exports.String.pipe(Schema_exports.minLength(1));
@@ -20,7 +20,7 @@ import {
20
20
  layerNet,
21
21
  makeCampSurfaceName,
22
22
  resolveProjectScopeSync
23
- } from "./chunk-TG56CUWG.js";
23
+ } from "./chunk-2GZC6FBU.js";
24
24
  import {
25
25
  Clock_exports,
26
26
  Config_exports,
@@ -38,7 +38,7 @@ import {
38
38
  Schedule_exports,
39
39
  Schema_exports,
40
40
  Stream_exports
41
- } from "./chunk-BXNKAII7.js";
41
+ } from "./chunk-M5QCPHTJ.js";
42
42
 
43
43
  // packages/cli/src/doctor/doctorModel.ts
44
44
  var DOCTOR_REPORT_SCHEMA_VERSION = 1;
@@ -112,7 +112,7 @@ var CliSurfaceSelectionError = class extends Data_exports.TaggedError("CliSurfac
112
112
  import { randomUUID } from "node:crypto";
113
113
 
114
114
  // packages/cli/src/domain/cliVersion.ts
115
- var PRIIISK_CLI_VERSION = "0.1.10";
115
+ var PRIIISK_CLI_VERSION = "0.1.11";
116
116
 
117
117
  // packages/cli/src/client/campRpcConnection.ts
118
118
  var reportRetry = (options, diagnostic) => options.onRetry === void 0 ? Console_exports.error(
@@ -12,7 +12,7 @@ import {
12
12
  Match_exports,
13
13
  Stream_exports,
14
14
  SubscriptionRef_exports
15
- } from "./chunk-BXNKAII7.js";
15
+ } from "./chunk-M5QCPHTJ.js";
16
16
 
17
17
  // packages/host-ui/src/backend/campUiBackend.ts
18
18
  var CampUiBackendError = class extends Data_exports.TaggedError("CampUiBackendError") {
@@ -8,13 +8,13 @@ import {
8
8
  makeDoctorReport,
9
9
  resolveCampSurface,
10
10
  withCampRpc
11
- } from "./chunk-RFMZNOZK.js";
11
+ } from "./chunk-B22VNB72.js";
12
12
  import {
13
13
  PI_RUNTIME_VERSION,
14
14
  PiModelCatalogIssueCode,
15
15
  inspectPiModelCatalog,
16
16
  makePiOperatorResources
17
- } from "./chunk-KG3GMS7Z.js";
17
+ } from "./chunk-TX5A2GZX.js";
18
18
  import {
19
19
  CampHealthComponentStatus,
20
20
  CampHealthOverallStatus,
@@ -48,13 +48,13 @@ import {
48
48
  resolveCredentialsPath,
49
49
  resolveProjectScope,
50
50
  resolveWorkerConfigPath
51
- } from "./chunk-TG56CUWG.js";
51
+ } from "./chunk-2GZC6FBU.js";
52
52
  import {
53
53
  Clock_exports,
54
54
  Effect_exports,
55
55
  Option_exports,
56
56
  Ref_exports
57
- } from "./chunk-BXNKAII7.js";
57
+ } from "./chunk-M5QCPHTJ.js";
58
58
 
59
59
  // packages/cli/src/doctor/environmentDoctor.ts
60
60
  import { dirname } from "node:path";
@@ -43177,7 +43177,6 @@ var rollbackOrFail = (rollback, workerId, refusal) => Effect_exports.exit(rollba
43177
43177
  );
43178
43178
  var updateWorkerEquipment = (runtime6, command, identity6, change) => Effect_exports.gen(function* () {
43179
43179
  const [initial, sessionRef] = yield* requireKernelSession(runtime6, identity6);
43180
- const equipment = yield* runtime6.equipmentResolver.reresolve(initial.equipment, change);
43181
43180
  const resource = yield* getWorkerResource(runtime6, initial.id);
43182
43181
  if (resource === void 0) {
43183
43182
  return yield* Effect_exports.fail(
@@ -43193,6 +43192,7 @@ var updateWorkerEquipment = (runtime6, command, identity6, change) => Effect_exp
43193
43192
  Effect_exports.flatMap(
43194
43193
  () => Effect_exports.gen(function* () {
43195
43194
  const worker = yield* runtime6.registry.require(workerIdIdentity(initial.id));
43195
+ const equipment = yield* runtime6.equipmentResolver.reresolve(worker.equipment, change);
43196
43196
  const currentState = yield* Ref_exports.get(resource.state);
43197
43197
  const currentMcpScope = currentState.mcpScope;
43198
43198
  const currentMcpView = currentState.mcpView;
@@ -28,7 +28,7 @@ import {
28
28
  makePlatform,
29
29
  makeRunMain,
30
30
  stdin
31
- } from "./chunk-TG56CUWG.js";
31
+ } from "./chunk-2GZC6FBU.js";
32
32
  import {
33
33
  BaseProto,
34
34
  __export,
@@ -112,7 +112,7 @@ import {
112
112
  write,
113
113
  zip,
114
114
  zipRight
115
- } from "./chunk-BXNKAII7.js";
115
+ } from "./chunk-M5QCPHTJ.js";
116
116
 
117
117
  // node_modules/.pnpm/@effect+platform-node@0.107.0_@effect+cluster@0.59.0_@effect+platform@0.96.2_effect@3.2_9535e05eb804fa0fb275ce283b448483/node_modules/@effect/platform-node/dist/esm/NodeContext.js
118
118
  var NodeContext_exports = {};
@@ -86,8 +86,8 @@ import {
86
86
  selectCampRun,
87
87
  styleCampUiTone,
88
88
  uniqueCampUiNames
89
- } from "./chunk-O35MCKHY.js";
90
- import "./chunk-BXNKAII7.js";
89
+ } from "./chunk-IV6ZFRKR.js";
90
+ import "./chunk-M5QCPHTJ.js";
91
91
  export {
92
92
  CAMP_UI_BASH_PREVIEW_LINES,
93
93
  CAMP_UI_DEFAULT_TOOL_PREVIEW_LINES,
@@ -3,7 +3,7 @@ const require = __priiiskCreateRequire(import.meta.url);
3
3
  import {
4
4
  FileSystem_exports,
5
5
  PRIIISK_PI_AGENT_DIR_ENV
6
- } from "./chunk-TG56CUWG.js";
6
+ } from "./chunk-2GZC6FBU.js";
7
7
  import {
8
8
  CampDeliveryPort,
9
9
  CampFailureCode,
@@ -30,7 +30,7 @@ import {
30
30
  __require,
31
31
  __toESM,
32
32
  campScopeClosedReason
33
- } from "./chunk-BXNKAII7.js";
33
+ } from "./chunk-M5QCPHTJ.js";
34
34
 
35
35
  // node_modules/.pnpm/undici@7.28.0/node_modules/undici/lib/core/symbols.js
36
36
  var require_symbols = __commonJS({
@@ -26017,9 +26017,12 @@ var equipmentError = (details, cause) => new CampSessionError({
26017
26017
  ...cause === void 0 ? {} : { cause }
26018
26018
  });
26019
26019
  var sameLimits = (left, right) => left === right || left !== void 0 && right !== void 0 && left.maxTurns === right.maxTurns && left.maxWallClockMs === right.maxWallClockMs && left.maxTokens === right.maxTokens && left.maxTreeDepth === right.maxTreeDepth;
26020
+ var IDENTITY_FIELDS = ["role", "preset", "model", "thinkingLevel", "readOnly"];
26020
26021
  var rebuildOnlyChanges = (current, next) => {
26021
- const changed = [];
26022
- if (!sameLimits(current.executionLimits, next.executionLimits)) changed.push("executionLimits");
26022
+ const changed = IDENTITY_FIELDS.filter((field) => current[field] !== next[field]);
26023
+ if (!sameLimits(current.executionLimits, next.executionLimits)) {
26024
+ return [...changed, "executionLimits"];
26025
+ }
26023
26026
  return changed;
26024
26027
  };
26025
26028
  var readState = (live) => Effect_exports.all([
@@ -4,14 +4,14 @@ const require = __priiiskCreateRequire(import.meta.url);
4
4
  import {
5
5
  NodeContext_exports,
6
6
  NodeRuntime_exports
7
- } from "./chunk-NU3ROW7C.js";
7
+ } from "./chunk-MLUY445T.js";
8
8
  import {
9
9
  CampUiBackendError,
10
10
  CampUiHealthStatus,
11
11
  CampUiPlacement,
12
12
  CampUiRuntimeStatus,
13
13
  mountPiCampUi
14
- } from "./chunk-O35MCKHY.js";
14
+ } from "./chunk-IV6ZFRKR.js";
15
15
  import {
16
16
  PiTransport,
17
17
  makePiOperatorResources,
@@ -19,7 +19,7 @@ import {
19
19
  makePiTransportLayer,
20
20
  requirePiModelCatalog,
21
21
  require_undici
22
- } from "./chunk-KG3GMS7Z.js";
22
+ } from "./chunk-TX5A2GZX.js";
23
23
  import {
24
24
  AgentRole,
25
25
  AgentRoleSchema,
@@ -101,7 +101,7 @@ import {
101
101
  runningCampManifest,
102
102
  saveCampHealth,
103
103
  saveCampManifest
104
- } from "./chunk-TG56CUWG.js";
104
+ } from "./chunk-2GZC6FBU.js";
105
105
  import {
106
106
  CampAskRouter,
107
107
  CampCancellationCode,
@@ -194,7 +194,7 @@ import {
194
194
  withFiberRuntime,
195
195
  workerAliasIdentity,
196
196
  workerIdIdentity
197
- } from "./chunk-BXNKAII7.js";
197
+ } from "./chunk-M5QCPHTJ.js";
198
198
 
199
199
  // node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/constants.js
200
200
  var require_constants = __commonJS({
@@ -22451,7 +22451,7 @@ var Client = class extends Protocol {
22451
22451
  };
22452
22452
 
22453
22453
  // packages/mcp-backend/src/connections/clientIdentity.ts
22454
- var backendVersion = "0.1.10";
22454
+ var backendVersion = "0.1.11";
22455
22455
 
22456
22456
  // packages/mcp-backend/src/connections/mcpFailure.ts
22457
22457
  var McpFailure = class extends Data_exports.TaggedError("McpFailure") {
package/dist/priiisk.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  fromReadable,
6
6
  layer,
7
7
  runMain
8
- } from "./chunk-NU3ROW7C.js";
8
+ } from "./chunk-MLUY445T.js";
9
9
  import {
10
10
  CliCampLifecycleError,
11
11
  CliEquipmentConflict,
@@ -23,7 +23,7 @@ import {
23
23
  resolveCampSurface,
24
24
  withCampRpc,
25
25
  withCampRpcSession
26
- } from "./chunk-RFMZNOZK.js";
26
+ } from "./chunk-B22VNB72.js";
27
27
  import {
28
28
  CampCommandFailure,
29
29
  CampHostReadiness,
@@ -58,7 +58,7 @@ import {
58
58
  resolveProjectScopeSync,
59
59
  saveCampManifest,
60
60
  startingCampManifest
61
- } from "./chunk-TG56CUWG.js";
61
+ } from "./chunk-2GZC6FBU.js";
62
62
  import {
63
63
  Cause_exports,
64
64
  CommitPrototype,
@@ -239,7 +239,7 @@ import {
239
239
  zipLeft,
240
240
  zipRight,
241
241
  zipWith
242
- } from "./chunk-BXNKAII7.js";
242
+ } from "./chunk-M5QCPHTJ.js";
243
243
 
244
244
  // node_modules/.pnpm/ini@4.1.3/node_modules/ini/lib/ini.js
245
245
  var require_ini = __commonJS({
@@ -19969,7 +19969,7 @@ var campResumeListCommand = Command_exports.make(
19969
19969
  )
19970
19970
  ).pipe(Command_exports.withDescription("Lists saved runs of this project that resume can restore."));
19971
19971
  var runIdArgument = Args_exports.text({ name: "runId" }).pipe(Args_exports.optional);
19972
- var selectCampRunOnDemand = (items) => Effect_exports.promise(() => import("./chunk-CJXDEUNX.js")).pipe(
19972
+ var selectCampRunOnDemand = (items) => Effect_exports.promise(() => import("./chunk-QSUEFL4Z.js")).pipe(
19973
19973
  Effect_exports.flatMap((ui) => ui.selectCampRun({ items }))
19974
19974
  );
19975
19975
  var selectAndResume = (json) => {
@@ -20042,7 +20042,7 @@ var rootCommand = Command_exports.make(
20042
20042
  ).pipe(Command_exports.withDescription("Runs and observes a camp of collaborating workers."));
20043
20043
 
20044
20044
  // packages/cli/src/commands/doctorCommand.ts
20045
- var runDoctorOnDemand = Effect_exports.promise(() => import("./chunk-XYHO6PMA.js")).pipe(
20045
+ var runDoctorOnDemand = Effect_exports.promise(() => import("./chunk-JDQWRSCJ.js")).pipe(
20046
20046
  Effect_exports.flatMap((doctor) => doctor.runDoctor)
20047
20047
  );
20048
20048
  var statusLabel = {
@@ -20794,7 +20794,7 @@ var command = rootCommand.pipe(
20794
20794
  );
20795
20795
  var cli = Command_exports.run(command, {
20796
20796
  name: "priiisk camp control",
20797
- version: "0.1.10"
20797
+ version: "0.1.11"
20798
20798
  });
20799
20799
  var quietDiagnostics = (json, effect) => json ? Console_exports.consoleWith(
20800
20800
  (console2) => Console_exports.withConsole({ ...console2, error: () => Effect_exports.void })(effect)
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "priiisk",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "CLI for running and observing a camp of collaborating agents",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "priiisk": "./dist/priiisk.js"
8
8
  },
9
9
  "files": [
10
- "dist/chunk-BXNKAII7.js",
11
- "dist/chunk-CJXDEUNX.js",
12
- "dist/chunk-KG3GMS7Z.js",
13
- "dist/chunk-KG3GMS7Z.js.LEGAL.txt",
14
- "dist/chunk-NU3ROW7C.js",
15
- "dist/chunk-O35MCKHY.js",
16
- "dist/chunk-RFMZNOZK.js",
17
- "dist/chunk-TG56CUWG.js",
18
- "dist/chunk-TG56CUWG.js.LEGAL.txt",
19
- "dist/chunk-XYHO6PMA.js",
10
+ "dist/chunk-2GZC6FBU.js",
11
+ "dist/chunk-2GZC6FBU.js.LEGAL.txt",
12
+ "dist/chunk-B22VNB72.js",
13
+ "dist/chunk-IV6ZFRKR.js",
14
+ "dist/chunk-JDQWRSCJ.js",
15
+ "dist/chunk-M5QCPHTJ.js",
16
+ "dist/chunk-MLUY445T.js",
17
+ "dist/chunk-QSUEFL4Z.js",
18
+ "dist/chunk-TX5A2GZX.js",
19
+ "dist/chunk-TX5A2GZX.js.LEGAL.txt",
20
20
  "dist/priiisk-host.js",
21
21
  "dist/priiisk.js",
22
22
  "profiles",