priiisk 0.1.22 → 0.1.24
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.
- package/dist/{chunk-Y2F6VW5R.js → chunk-37CJ4QRE.js} +10 -10
- package/dist/{chunk-2YPHJHIX.js → chunk-42AGXKI6.js} +2 -2
- package/dist/{chunk-5W5JRU33.js → chunk-5SZUTATM.js} +4 -4
- package/dist/{chunk-DPNPQG2D.js → chunk-7OL53RZ7.js} +35 -17
- package/dist/{chunk-C7QHKE3K.js → chunk-AHGQRHTS.js} +5 -5
- package/dist/{chunk-7HDRDMQU.js → chunk-FUL25M5E.js} +4 -4
- package/dist/{chunk-U2FODXMR.js → chunk-QDMSPX34.js} +1 -2
- package/dist/{chunk-YNTHXLFG.js → chunk-SZWJI5KL.js} +1 -1
- package/dist/{chunk-YCWIUVAI.js → chunk-Z22GSS46.js} +376 -193
- package/dist/{chunk-GBEORC3T.js → chunk-ZIIUZJRV.js} +3 -3
- package/dist/priiisk-host.js +398 -205
- package/dist/priiisk.js +2 -2
- package/package.json +13 -13
- /package/dist/{chunk-DPNPQG2D.js.LEGAL.txt → chunk-7OL53RZ7.js.LEGAL.txt} +0 -0
- /package/dist/{chunk-C7QHKE3K.js.LEGAL.txt → chunk-AHGQRHTS.js.LEGAL.txt} +0 -0
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolveCampSurface,
|
|
24
24
|
saveCampManifest,
|
|
25
25
|
startingCampManifest
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FUL25M5E.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-
|
|
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-
|
|
109
|
+
} from "./chunk-42AGXKI6.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-
|
|
130
|
+
} from "./chunk-ZIIUZJRV.js";
|
|
131
131
|
import {
|
|
132
132
|
PRIIISK_CLI_VERSION
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-SZWJI5KL.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-
|
|
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-
|
|
19263
|
+
var selectCampRunOnDemand = (items) => promise(() => import("./chunk-Z22GSS46.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-
|
|
19336
|
+
var runDoctorOnDemand = promise(() => import("./chunk-AHGQRHTS.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-
|
|
20065
|
+
return promise(() => import("./chunk-5SZUTATM.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.
|
|
20105
|
+
version: "0.1.24"
|
|
20106
20106
|
});
|
|
20107
20107
|
var quietDiagnostics = (json, effect2) => json ? consoleWith(
|
|
20108
20108
|
(console2) => withConsole({ ...console2, error: () => _void })(effect2)
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
TypeId,
|
|
6
6
|
error,
|
|
7
7
|
log
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZIIUZJRV.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-
|
|
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) {
|
|
@@ -3,14 +3,14 @@ const require = __priiiskCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
errorPayload,
|
|
5
5
|
makeCapturedConsole
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-42AGXKI6.js";
|
|
7
7
|
import {
|
|
8
8
|
withCampRpcSession,
|
|
9
9
|
withConsole
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZIIUZJRV.js";
|
|
11
11
|
import {
|
|
12
12
|
PRIIISK_CLI_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SZWJI5KL.js";
|
|
14
14
|
import {
|
|
15
15
|
_await2 as _await,
|
|
16
16
|
addFinalizer2 as addFinalizer,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
scoped,
|
|
25
25
|
succeed2 as succeed,
|
|
26
26
|
suspend
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7OL53RZ7.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__export,
|
|
@@ -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
|
|
25457
|
-
|
|
25458
|
-
|
|
25459
|
-
|
|
25460
|
-
|
|
25461
|
-
|
|
25462
|
-
|
|
25463
|
-
|
|
25464
|
-
|
|
25465
|
-
|
|
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
|
-
|
|
25474
|
-
|
|
25475
|
-
|
|
25476
|
-
|
|
25477
|
-
|
|
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,
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
loadCampManifest,
|
|
22
22
|
makeDoctorReport,
|
|
23
23
|
resolveCampSurface
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FUL25M5E.js";
|
|
25
25
|
import {
|
|
26
26
|
CampSessionError,
|
|
27
27
|
CampTurnStopReason
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QDMSPX34.js";
|
|
29
29
|
import {
|
|
30
30
|
CampHealthComponentStatus,
|
|
31
31
|
CampHealthOverallStatus,
|
|
@@ -33,8 +33,8 @@ import {
|
|
|
33
33
|
PRIIISK_PROTOCOL_PACKAGE_VERSION,
|
|
34
34
|
PRIIISK_PROTOCOL_VERSION,
|
|
35
35
|
withCampRpc
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-ZIIUZJRV.js";
|
|
37
|
+
import "./chunk-SZWJI5KL.js";
|
|
38
38
|
import {
|
|
39
39
|
DirectToolSandboxKind,
|
|
40
40
|
FileSystem_exports,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
sync,
|
|
70
70
|
try_,
|
|
71
71
|
update
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-7OL53RZ7.js";
|
|
73
73
|
import {
|
|
74
74
|
__commonJS,
|
|
75
75
|
__require,
|
|
@@ -3,14 +3,14 @@ const require = __priiiskCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CampSessionError,
|
|
5
5
|
CampSessionErrorCode
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
13
|
+
} from "./chunk-ZIIUZJRV.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-
|
|
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.
|
|
138
|
+
var PRIIISK_HOST_VERSION = "0.1.24";
|
|
139
139
|
|
|
140
140
|
// packages/surface/src/domain/surfaceModel.ts
|
|
141
141
|
var NonEmptyString = String$.pipe(minLength(1));
|
|
@@ -141,7 +141,7 @@ import {
|
|
|
141
141
|
updateEffect,
|
|
142
142
|
zipLeft,
|
|
143
143
|
zipRight
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-7OL53RZ7.js";
|
|
145
145
|
|
|
146
146
|
// node_modules/.pnpm/effect@3.21.4/node_modules/effect/dist/esm/internal/matcher.js
|
|
147
147
|
var TypeId2 = /* @__PURE__ */ Symbol.for("@effect/matcher/Matcher");
|
|
@@ -3248,7 +3248,6 @@ export {
|
|
|
3248
3248
|
CampSessionErrorCode,
|
|
3249
3249
|
CampSessionError,
|
|
3250
3250
|
CampTurnStopReason,
|
|
3251
|
-
CampWorkerState,
|
|
3252
3251
|
CampAskState,
|
|
3253
3252
|
get5 as get2,
|
|
3254
3253
|
make6 as make2,
|
|
@@ -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.
|
|
5
|
+
var PRIIISK_CLI_VERSION = "0.1.24";
|
|
6
6
|
|
|
7
7
|
export {
|
|
8
8
|
PRIIISK_CLI_VERSION
|