priiisk 0.1.1 → 0.1.2
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-F77DHFYU.js → chunk-42LW4XTH.js} +1 -1
- package/dist/{chunk-FZICDHTN.js → chunk-AZ2OCIIG.js} +3 -3
- package/dist/{chunk-RJO6Z3SQ.js → chunk-EBRDSFGF.js} +2 -2
- package/dist/{chunk-YCBBC5MH.js → chunk-FMIRO6TM.js} +1 -1
- package/dist/{chunk-UCN75R46.js → chunk-UDZECRNM.js} +2 -2
- package/dist/priiisk-host.js +4 -4
- package/dist/priiisk.js +54 -23
- package/package.json +8 -8
- /package/dist/{chunk-RJO6Z3SQ.js.LEGAL.txt → chunk-EBRDSFGF.js.LEGAL.txt} +0 -0
- /package/dist/{chunk-YCBBC5MH.js.LEGAL.txt → chunk-FMIRO6TM.js.LEGAL.txt} +0 -0
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
makeDoctorReport,
|
|
9
9
|
resolveCampSurface,
|
|
10
10
|
withCampRpc
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UDZECRNM.js";
|
|
12
12
|
import {
|
|
13
13
|
PI_RUNTIME_VERSION,
|
|
14
14
|
PiModelCatalogIssueCode,
|
|
15
15
|
inspectPiModelCatalog,
|
|
16
16
|
makePiOperatorResources
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FMIRO6TM.js";
|
|
18
18
|
import {
|
|
19
19
|
CampHealthComponentStatus,
|
|
20
20
|
CampHealthOverallStatus,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
resolveCredentialsPath,
|
|
42
42
|
resolveProjectScope,
|
|
43
43
|
resolveWorkerConfigPath
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-EBRDSFGF.js";
|
|
45
45
|
import {
|
|
46
46
|
Clock_exports,
|
|
47
47
|
Effect_exports,
|
|
@@ -10420,7 +10420,7 @@ var listWorkerModelCatalogEntries = (config) => {
|
|
|
10420
10420
|
|
|
10421
10421
|
// packages/protocol/src/domain/protocolVersion.ts
|
|
10422
10422
|
var PRIIISK_PROTOCOL_VERSION = "11";
|
|
10423
|
-
var PRIIISK_PROTOCOL_PACKAGE_VERSION = "0.1.
|
|
10423
|
+
var PRIIISK_PROTOCOL_PACKAGE_VERSION = "0.1.2";
|
|
10424
10424
|
var ProtocolVersionSchema = Schema_exports.String.pipe(Schema_exports.minLength(1));
|
|
10425
10425
|
|
|
10426
10426
|
// packages/protocol/src/domain/protocolIdentifiers.ts
|
|
@@ -13295,7 +13295,7 @@ var CampProtocol = class extends RpcGroup_exports.make(
|
|
|
13295
13295
|
};
|
|
13296
13296
|
|
|
13297
13297
|
// packages/camp-state/src/bootstrap/campHostVersion.ts
|
|
13298
|
-
var PRIIISK_HOST_VERSION = "0.1.
|
|
13298
|
+
var PRIIISK_HOST_VERSION = "0.1.2";
|
|
13299
13299
|
|
|
13300
13300
|
// packages/surface/src/domain/surfaceModel.ts
|
|
13301
13301
|
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-
|
|
23
|
+
} from "./chunk-EBRDSFGF.js";
|
|
24
24
|
import {
|
|
25
25
|
Clock_exports,
|
|
26
26
|
Config_exports,
|
|
@@ -111,7 +111,7 @@ var CliSurfaceSelectionError = class extends Data_exports.TaggedError("CliSurfac
|
|
|
111
111
|
import { randomUUID } from "node:crypto";
|
|
112
112
|
|
|
113
113
|
// packages/cli/src/domain/cliVersion.ts
|
|
114
|
-
var PRIIISK_CLI_VERSION = "0.1.
|
|
114
|
+
var PRIIISK_CLI_VERSION = "0.1.2";
|
|
115
115
|
|
|
116
116
|
// packages/cli/src/client/campRpcConnection.ts
|
|
117
117
|
var PRIIISK_CONTROLLER_ID_ENV = "PRIIISK_CONTROLLER_ID";
|
package/dist/priiisk-host.js
CHANGED
|
@@ -4,7 +4,7 @@ const require = __priiiskCreateRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
NodeContext_exports,
|
|
6
6
|
NodeRuntime_exports
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-42LW4XTH.js";
|
|
8
8
|
import {
|
|
9
9
|
CampUiBackendError,
|
|
10
10
|
CampUiHealthStatus,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
makePiTransportLayer,
|
|
20
20
|
requirePiModelCatalog,
|
|
21
21
|
require_undici
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FMIRO6TM.js";
|
|
23
23
|
import {
|
|
24
24
|
AgentRole,
|
|
25
25
|
AgentRoleSchema,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
runningCampManifest,
|
|
97
97
|
saveCampHealth,
|
|
98
98
|
saveCampManifest
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-EBRDSFGF.js";
|
|
100
100
|
import {
|
|
101
101
|
CampAskRouter,
|
|
102
102
|
CampCancellationCode,
|
|
@@ -22412,7 +22412,7 @@ var Client = class extends Protocol {
|
|
|
22412
22412
|
};
|
|
22413
22413
|
|
|
22414
22414
|
// packages/mcp-backend/src/connections/clientIdentity.ts
|
|
22415
|
-
var backendVersion = "0.1.
|
|
22415
|
+
var backendVersion = "0.1.2";
|
|
22416
22416
|
|
|
22417
22417
|
// packages/mcp-backend/src/connections/mcpFailure.ts
|
|
22418
22418
|
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-
|
|
8
|
+
} from "./chunk-42LW4XTH.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-
|
|
26
|
+
} from "./chunk-UDZECRNM.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-
|
|
61
|
+
} from "./chunk-EBRDSFGF.js";
|
|
62
62
|
import {
|
|
63
63
|
Cause_exports,
|
|
64
64
|
CommitPrototype,
|
|
@@ -19082,7 +19082,7 @@ var asksCommand = Command_exports.make(
|
|
|
19082
19082
|
}),
|
|
19083
19083
|
{ operation: "asks", timeoutMs: 15e3 }
|
|
19084
19084
|
).pipe(printValue(json, formatAsks))
|
|
19085
|
-
);
|
|
19085
|
+
).pipe(Command_exports.withDescription("Lists worker questions waiting for the orchestrator."));
|
|
19086
19086
|
var replyCommand = Command_exports.make(
|
|
19087
19087
|
"reply",
|
|
19088
19088
|
{ askId: askIdArgument, answer: answerArgument, file: fileOption, json: jsonOption },
|
|
@@ -19097,7 +19097,7 @@ var replyCommand = Command_exports.make(
|
|
|
19097
19097
|
),
|
|
19098
19098
|
printValue(json, () => "Reply delivered")
|
|
19099
19099
|
)
|
|
19100
|
-
);
|
|
19100
|
+
).pipe(Command_exports.withDescription("Answers a worker question and releases its tool call."));
|
|
19101
19101
|
|
|
19102
19102
|
// packages/cli/src/lifecycle/campLifecycleErrors.ts
|
|
19103
19103
|
var lifecycleError = (operation, code2, message, cause) => new CliCampLifecycleError({
|
|
@@ -19858,6 +19858,10 @@ var pingCommand = Command_exports.make(
|
|
|
19858
19858
|
(result) => result.running ? `Camp ${result.projectHash}, host ${result.hostVersion}, ${result.readiness}, generation ${result.generation}, cursor ${String(result.latestCursor)}` : `Camp ${result.projectHash} \u043D\u0435 \u0437\u0430\u043F\u0443\u0449\u0435\u043D`
|
|
19859
19859
|
)
|
|
19860
19860
|
)
|
|
19861
|
+
).pipe(
|
|
19862
|
+
Command_exports.withDescription(
|
|
19863
|
+
"Answers whether a camp runs for this project, without failing when it does not."
|
|
19864
|
+
)
|
|
19861
19865
|
);
|
|
19862
19866
|
var listCommand = Command_exports.make(
|
|
19863
19867
|
"list",
|
|
@@ -19865,7 +19869,7 @@ var listCommand = Command_exports.make(
|
|
|
19865
19869
|
({ json }) => withCampRpc(({ client, context }) => client.ListWorkers(context), { operation: "list" }).pipe(
|
|
19866
19870
|
printWorkers(json)
|
|
19867
19871
|
)
|
|
19868
|
-
);
|
|
19872
|
+
).pipe(Command_exports.withDescription("Lists the workers of the running camp with their state."));
|
|
19869
19873
|
var formatCampUp = (result) => result.outcome === "already_running" ? `Camp \u0443\u0436\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442: ${result.projectHash}, run ${result.runId}, ${result.handshake.readiness}` : `Camp ${result.resumed ? "\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D" : "\u0437\u0430\u043F\u0443\u0449\u0435\u043D"}: ${result.projectHash}, run ${result.runId}, ${result.handshake.readiness}, surface ${result.surface?.providerAlias ?? "unknown"}`;
|
|
19870
19874
|
var formatCampDown = (result) => {
|
|
19871
19875
|
if (result.outcome === "already_stopped") return `Camp \u0443\u0436\u0435 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D: ${result.projectHash}`;
|
|
@@ -19875,11 +19879,17 @@ var campUpCommand = Command_exports.make(
|
|
|
19875
19879
|
"up",
|
|
19876
19880
|
{ json: jsonOption },
|
|
19877
19881
|
({ json }) => upExternalCamp.pipe(printValue(json, formatCampUp))
|
|
19882
|
+
).pipe(
|
|
19883
|
+
Command_exports.withDescription("Starts a camp for this project, or reports the one already running.")
|
|
19878
19884
|
);
|
|
19879
19885
|
var campContinueCommand = Command_exports.make(
|
|
19880
19886
|
"continue",
|
|
19881
19887
|
{ json: jsonOption },
|
|
19882
19888
|
({ json }) => continueExternalCamp.pipe(printValue(json, formatCampUp))
|
|
19889
|
+
).pipe(
|
|
19890
|
+
Command_exports.withDescription(
|
|
19891
|
+
"Reattaches the last run of this project, keeping its workers and transcripts."
|
|
19892
|
+
)
|
|
19883
19893
|
);
|
|
19884
19894
|
var formatCampRun = (run5) => `${run5.runId}: ${run5.lifecycle}, ${String(run5.workerCount)} workers, ${run5.updatedAt}${run5.active ? " \xB7 active" : ""}`;
|
|
19885
19895
|
var campResumeListCommand = Command_exports.make(
|
|
@@ -19891,7 +19901,7 @@ var campResumeListCommand = Command_exports.make(
|
|
|
19891
19901
|
(runs) => runs.length === 0 ? "No saved runs" : runs.map(formatCampRun).join("\n")
|
|
19892
19902
|
)
|
|
19893
19903
|
)
|
|
19894
|
-
);
|
|
19904
|
+
).pipe(Command_exports.withDescription("Lists saved runs of this project that resume can restore."));
|
|
19895
19905
|
var runIdArgument = Args_exports.text({ name: "runId" }).pipe(Args_exports.optional);
|
|
19896
19906
|
var selectCampRunOnDemand = (items) => Effect_exports.promise(() => import("./chunk-PIZUXHCN.js")).pipe(
|
|
19897
19907
|
Effect_exports.flatMap((ui) => ui.selectCampRun({ items }))
|
|
@@ -19934,18 +19944,21 @@ var campResumeCommand = Command_exports.make(
|
|
|
19934
19944
|
onNone: () => selectAndResume(json),
|
|
19935
19945
|
onSome: (selectedRunId) => resumeExternalCamp(selectedRunId).pipe(printValue(json, formatCampUp))
|
|
19936
19946
|
})
|
|
19937
|
-
).pipe(Command_exports.withSubcommands([campResumeListCommand]))
|
|
19947
|
+
).pipe(Command_exports.withSubcommands([campResumeListCommand])).pipe(
|
|
19948
|
+
Command_exports.withDescription("Restores a saved run by id, or asks which one when no id is given.")
|
|
19949
|
+
);
|
|
19938
19950
|
var campDownCommand = Command_exports.make(
|
|
19939
19951
|
"down",
|
|
19940
19952
|
{ json: jsonOption },
|
|
19941
19953
|
({ json }) => downExternalCamp.pipe(printValue(json, formatCampDown))
|
|
19942
|
-
);
|
|
19954
|
+
).pipe(Command_exports.withDescription("Stops the camp of this project and releases its surface."));
|
|
19943
19955
|
var campOpenCommand = Command_exports.make(
|
|
19944
19956
|
"open",
|
|
19945
19957
|
{ json: jsonOption },
|
|
19946
19958
|
({ json }) => focusExternalCamp.pipe(printValue(json, (result) => `Camp \u043E\u0442\u043A\u0440\u044B\u0442: ${result.projectHash}`))
|
|
19947
|
-
);
|
|
19959
|
+
).pipe(Command_exports.withDescription("Brings the camp cabin to the front."));
|
|
19948
19960
|
var campCommand = Command_exports.make("camp").pipe(
|
|
19961
|
+
Command_exports.withDescription("Camp lifecycle: start, reattach, restore, stop and focus."),
|
|
19949
19962
|
Command_exports.withSubcommands([
|
|
19950
19963
|
campUpCommand,
|
|
19951
19964
|
campContinueCommand,
|
|
@@ -19960,10 +19973,10 @@ var rootCommand = Command_exports.make(
|
|
|
19960
19973
|
() => withCampRpc(({ client, context }) => client.ListWorkers(context), { operation: "status" }).pipe(
|
|
19961
19974
|
printWorkers(false)
|
|
19962
19975
|
)
|
|
19963
|
-
);
|
|
19976
|
+
).pipe(Command_exports.withDescription("Runs and observes a camp of collaborating workers."));
|
|
19964
19977
|
|
|
19965
19978
|
// packages/cli/src/commands/doctorCommand.ts
|
|
19966
|
-
var runDoctorOnDemand = Effect_exports.promise(() => import("./chunk-
|
|
19979
|
+
var runDoctorOnDemand = Effect_exports.promise(() => import("./chunk-AZ2OCIIG.js")).pipe(
|
|
19967
19980
|
Effect_exports.flatMap((doctor) => doctor.runDoctor)
|
|
19968
19981
|
);
|
|
19969
19982
|
var statusLabel = {
|
|
@@ -19989,6 +20002,10 @@ var doctorCommand = Command_exports.make(
|
|
|
19989
20002
|
),
|
|
19990
20003
|
Effect_exports.flatMap((report) => Console_exports.log(json ? JSON.stringify(report) : formatDoctor(report)))
|
|
19991
20004
|
)
|
|
20005
|
+
).pipe(
|
|
20006
|
+
Command_exports.withDescription(
|
|
20007
|
+
"Checks the environment, the camp and the model catalog without calling a provider."
|
|
20008
|
+
)
|
|
19992
20009
|
);
|
|
19993
20010
|
|
|
19994
20011
|
// packages/cli/src/commands/equipmentOptions.ts
|
|
@@ -20172,6 +20189,8 @@ var equipCommand = Command_exports.make(
|
|
|
20172
20189
|
),
|
|
20173
20190
|
printValue(json, formatWorker)
|
|
20174
20191
|
)
|
|
20192
|
+
).pipe(
|
|
20193
|
+
Command_exports.withDescription("Changes the equipment of a live worker without recreating its session.")
|
|
20175
20194
|
);
|
|
20176
20195
|
|
|
20177
20196
|
// packages/cli/src/client/campStartupFlow.ts
|
|
@@ -20331,7 +20350,7 @@ var eventsCommand = Command_exports.make(
|
|
|
20331
20350
|
)
|
|
20332
20351
|
);
|
|
20333
20352
|
}
|
|
20334
|
-
);
|
|
20353
|
+
).pipe(Command_exports.withDescription("Reads the camp event journal, once or as a follow."));
|
|
20335
20354
|
|
|
20336
20355
|
// packages/cli/src/commands/hireCommand.ts
|
|
20337
20356
|
var promptArgument = Args_exports.text({ name: "prompt" }).pipe(Args_exports.optional);
|
|
@@ -20377,6 +20396,8 @@ var hireCommand = Command_exports.make(
|
|
|
20377
20396
|
),
|
|
20378
20397
|
printValue(json, formatWorker)
|
|
20379
20398
|
)
|
|
20399
|
+
).pipe(
|
|
20400
|
+
Command_exports.withDescription("Hires a worker with a role, a model and an explicit set of tools.")
|
|
20380
20401
|
);
|
|
20381
20402
|
|
|
20382
20403
|
// packages/cli/src/commands/reconcileCommands.ts
|
|
@@ -20417,7 +20438,7 @@ var reconcileCommand = Command_exports.make(
|
|
|
20417
20438
|
}
|
|
20418
20439
|
).pipe(printValue(json, (result) => formatReconcile(result.reconcile)));
|
|
20419
20440
|
}
|
|
20420
|
-
);
|
|
20441
|
+
).pipe(Command_exports.withDescription("Replays commands a consumer missed and settles its cursor."));
|
|
20421
20442
|
|
|
20422
20443
|
// packages/cli/src/commands/workerCommands.ts
|
|
20423
20444
|
var messageArgument = Args_exports.text({ name: "message" }).pipe(Args_exports.optional);
|
|
@@ -20426,12 +20447,14 @@ var deliveryCommandSpecs = {
|
|
|
20426
20447
|
commandName: "send",
|
|
20427
20448
|
operation: "send",
|
|
20428
20449
|
acceptedMessage: "Message accepted",
|
|
20450
|
+
description: "Sends a message to a worker, steering its current turn.",
|
|
20429
20451
|
invoke: (client, request) => client.Send(request)
|
|
20430
20452
|
},
|
|
20431
20453
|
followUp: {
|
|
20432
20454
|
commandName: "follow-up",
|
|
20433
20455
|
operation: "follow-up",
|
|
20434
20456
|
acceptedMessage: "Follow-up accepted",
|
|
20457
|
+
description: "Queues a message for a worker to read after its current turn.",
|
|
20435
20458
|
invoke: (client, request) => client.FollowUp(request)
|
|
20436
20459
|
}
|
|
20437
20460
|
};
|
|
@@ -20461,7 +20484,7 @@ var makeDeliveryCommand = (specification) => Command_exports.make(
|
|
|
20461
20484
|
),
|
|
20462
20485
|
printValue(json, () => specification.acceptedMessage)
|
|
20463
20486
|
)
|
|
20464
|
-
);
|
|
20487
|
+
).pipe(Command_exports.withDescription(specification.description));
|
|
20465
20488
|
var waitOption = Options_exports.boolean("wait");
|
|
20466
20489
|
var waitTimeoutOption = Options_exports.integer("wait-timeout").pipe(Options_exports.optional);
|
|
20467
20490
|
var DEFAULT_WAIT_TIMEOUT_SECONDS = 300;
|
|
@@ -20509,6 +20532,10 @@ var sendWaitCommand = Command_exports.make(
|
|
|
20509
20532
|
printValue(json, formatDeliveryOutcome)
|
|
20510
20533
|
);
|
|
20511
20534
|
}
|
|
20535
|
+
).pipe(
|
|
20536
|
+
Command_exports.withDescription(
|
|
20537
|
+
"Sends a message to a worker, optionally waiting for the turn to settle."
|
|
20538
|
+
)
|
|
20512
20539
|
);
|
|
20513
20540
|
var openWorkerRetry = Schedule_exports.spaced("50 millis").pipe(Schedule_exports.intersect(Schedule_exports.recurs(20)));
|
|
20514
20541
|
var statusCommand = Command_exports.make(
|
|
@@ -20518,7 +20545,7 @@ var statusCommand = Command_exports.make(
|
|
|
20518
20545
|
({ client, context }) => client.WorkerStatus({ ...context, worker: workerSelector(worker, byId) }),
|
|
20519
20546
|
{ operation: "status" }
|
|
20520
20547
|
).pipe(printValue(json, formatWorker))
|
|
20521
|
-
);
|
|
20548
|
+
).pipe(Command_exports.withDescription("Shows one worker: state, session, equipment and last activity."));
|
|
20522
20549
|
var followUpCommand = makeDeliveryCommand(deliveryCommandSpecs.followUp);
|
|
20523
20550
|
var openCommand = Command_exports.make(
|
|
20524
20551
|
"open",
|
|
@@ -20535,7 +20562,7 @@ var openCommand = Command_exports.make(
|
|
|
20535
20562
|
Effect_exports.zipRight(focusExternalCamp),
|
|
20536
20563
|
printValue(json, () => `Worker \u043E\u0442\u043A\u0440\u044B\u0442: ${worker}`)
|
|
20537
20564
|
)
|
|
20538
|
-
);
|
|
20565
|
+
).pipe(Command_exports.withDescription("Opens the worker session in the cabin."));
|
|
20539
20566
|
var cursorOption2 = Options_exports.integer("cursor").pipe(Options_exports.optional);
|
|
20540
20567
|
var limitOption = Options_exports.integer("limit").pipe(Options_exports.optional);
|
|
20541
20568
|
var lastTurnOption = Options_exports.boolean("last-turn");
|
|
@@ -20559,7 +20586,7 @@ var transcriptCommand = Command_exports.make(
|
|
|
20559
20586
|
}),
|
|
20560
20587
|
{ operation: "transcript", timeoutMs: 3e4 }
|
|
20561
20588
|
).pipe(printValue(json, formatTranscriptPage))
|
|
20562
|
-
);
|
|
20589
|
+
).pipe(Command_exports.withDescription("Prints the stored transcript of a worker, whole or last turn."));
|
|
20563
20590
|
var interruptCommand = Command_exports.make(
|
|
20564
20591
|
"interrupt",
|
|
20565
20592
|
{ worker: workerArgument, byId: byIdOption, json: jsonOption },
|
|
@@ -20571,7 +20598,7 @@ var interruptCommand = Command_exports.make(
|
|
|
20571
20598
|
),
|
|
20572
20599
|
{ operation: "interrupt", timeoutMs: 15e3, retryTransientErrors: true }
|
|
20573
20600
|
).pipe(printValue(json, () => "Turn interrupted"))
|
|
20574
|
-
);
|
|
20601
|
+
).pipe(Command_exports.withDescription("Stops the current turn of a worker, keeping its session alive."));
|
|
20575
20602
|
var forgetCommand = Command_exports.make(
|
|
20576
20603
|
"forget",
|
|
20577
20604
|
{ worker: workerArgument, byId: byIdOption, json: jsonOption },
|
|
@@ -20583,7 +20610,7 @@ var forgetCommand = Command_exports.make(
|
|
|
20583
20610
|
),
|
|
20584
20611
|
{ operation: "forget", timeoutMs: 15e3, retryTransientErrors: true }
|
|
20585
20612
|
).pipe(printValue(json, () => "Worker forgotten"))
|
|
20586
|
-
);
|
|
20613
|
+
).pipe(Command_exports.withDescription("Removes a dismissed worker from the camp roster."));
|
|
20587
20614
|
var dismissMessageOption = Options_exports.text("message").pipe(Options_exports.optional);
|
|
20588
20615
|
var dismissCommand = Command_exports.make(
|
|
20589
20616
|
"dismiss",
|
|
@@ -20605,7 +20632,7 @@ var dismissCommand = Command_exports.make(
|
|
|
20605
20632
|
),
|
|
20606
20633
|
{ operation: "dismiss", timeoutMs: 15e3, retryTransientErrors: true }
|
|
20607
20634
|
).pipe(printValue(json, () => "Worker dismissed"))
|
|
20608
|
-
);
|
|
20635
|
+
).pipe(Command_exports.withDescription("Ends a worker and closes its session."));
|
|
20609
20636
|
|
|
20610
20637
|
// packages/cli/src/application/cliApplication.ts
|
|
20611
20638
|
var consumerOption3 = Options_exports.text("consumer").pipe(Options_exports.optional);
|
|
@@ -20615,7 +20642,11 @@ var stdioCommand = Command_exports.make("stdio", { consumer: consumerOption3 },
|
|
|
20615
20642
|
(argumentsList) => runCliCommand([process.execPath, "priiisk", ...argumentsList]),
|
|
20616
20643
|
consumerId === void 0 ? {} : { consumerId }
|
|
20617
20644
|
);
|
|
20618
|
-
})
|
|
20645
|
+
}).pipe(
|
|
20646
|
+
Command_exports.withDescription(
|
|
20647
|
+
"Runs commands over one long-lived connection, reading them as JSON lines."
|
|
20648
|
+
)
|
|
20649
|
+
);
|
|
20619
20650
|
var command = rootCommand.pipe(
|
|
20620
20651
|
Command_exports.withSubcommands([
|
|
20621
20652
|
pingCommand,
|
|
@@ -20641,7 +20672,7 @@ var command = rootCommand.pipe(
|
|
|
20641
20672
|
);
|
|
20642
20673
|
var cli = Command_exports.run(command, {
|
|
20643
20674
|
name: "priiisk camp control",
|
|
20644
|
-
version: "0.1.
|
|
20675
|
+
version: "0.1.2"
|
|
20645
20676
|
});
|
|
20646
20677
|
var runCliCommand = (argumentsList) => cli(argumentsList).pipe(
|
|
20647
20678
|
Effect_exports.matchEffect({
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "priiisk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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-
|
|
11
|
-
"dist/chunk-
|
|
10
|
+
"dist/chunk-42LW4XTH.js",
|
|
11
|
+
"dist/chunk-AZ2OCIIG.js",
|
|
12
|
+
"dist/chunk-EBRDSFGF.js",
|
|
13
|
+
"dist/chunk-EBRDSFGF.js.LEGAL.txt",
|
|
14
|
+
"dist/chunk-FMIRO6TM.js",
|
|
15
|
+
"dist/chunk-FMIRO6TM.js.LEGAL.txt",
|
|
12
16
|
"dist/chunk-KFSFN6L5.js",
|
|
13
17
|
"dist/chunk-PIZUXHCN.js",
|
|
14
|
-
"dist/chunk-
|
|
15
|
-
"dist/chunk-RJO6Z3SQ.js.LEGAL.txt",
|
|
16
|
-
"dist/chunk-UCN75R46.js",
|
|
17
|
-
"dist/chunk-YCBBC5MH.js",
|
|
18
|
-
"dist/chunk-YCBBC5MH.js.LEGAL.txt",
|
|
18
|
+
"dist/chunk-UDZECRNM.js",
|
|
19
19
|
"dist/chunk-Z64QXV3O.js",
|
|
20
20
|
"dist/priiisk-host.js",
|
|
21
21
|
"dist/priiisk.js",
|
|
File without changes
|
|
File without changes
|