@sjawhar/pi-legion 19.37.0 → 19.38.1
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/legion.js +10 -6
- package/package.json +1 -1
package/dist/legion.js
CHANGED
|
@@ -18516,6 +18516,7 @@ var ActorOriginSchema = strictObject({
|
|
|
18516
18516
|
var DISPATCH_SCOPES = ["person", "approve"];
|
|
18517
18517
|
var ActorActSchema = strictObject({
|
|
18518
18518
|
session: string2().optional(),
|
|
18519
|
+
session_proven: literal(true).optional(),
|
|
18519
18520
|
token_id: string2().optional(),
|
|
18520
18521
|
token_name: string2().optional(),
|
|
18521
18522
|
scopes: array(_enum2(DISPATCH_SCOPES)).optional()
|
|
@@ -18524,7 +18525,8 @@ var ActorSchema = union([
|
|
|
18524
18525
|
strictObject({
|
|
18525
18526
|
kind: literal("user"),
|
|
18526
18527
|
id: string2(),
|
|
18527
|
-
act: ActorActSchema.optional()
|
|
18528
|
+
act: ActorActSchema.optional(),
|
|
18529
|
+
proven: literal(true).optional()
|
|
18528
18530
|
}).readonly(),
|
|
18529
18531
|
strictObject({
|
|
18530
18532
|
kind: literal("session"),
|
|
@@ -18532,7 +18534,8 @@ var ActorSchema = union([
|
|
|
18532
18534
|
origin: ActorOriginSchema.optional(),
|
|
18533
18535
|
owner: string2().optional(),
|
|
18534
18536
|
service: string2().optional(),
|
|
18535
|
-
project: string2().optional()
|
|
18537
|
+
project: string2().optional(),
|
|
18538
|
+
proven: literal(true).optional()
|
|
18536
18539
|
}).readonly(),
|
|
18537
18540
|
strictObject({ kind: literal("system"), id: string2() }).readonly()
|
|
18538
18541
|
]);
|
|
@@ -26497,6 +26500,7 @@ var DeliveryAnswerWireSchema = object({
|
|
|
26497
26500
|
gap: boolean2(),
|
|
26498
26501
|
consumer_start: number2().int().nonnegative().optional()
|
|
26499
26502
|
});
|
|
26503
|
+
var StringListWireSchema = array(string2()).nullish().transform((list) => list ?? []);
|
|
26500
26504
|
var SessionWireSchema = object({
|
|
26501
26505
|
session_id: string2(),
|
|
26502
26506
|
machine_id: string2(),
|
|
@@ -26504,9 +26508,9 @@ var SessionWireSchema = object({
|
|
|
26504
26508
|
dir: string2(),
|
|
26505
26509
|
port: number2().int(),
|
|
26506
26510
|
title: string2(),
|
|
26507
|
-
topics:
|
|
26508
|
-
roles:
|
|
26509
|
-
capabilities:
|
|
26511
|
+
topics: StringListWireSchema,
|
|
26512
|
+
roles: StringListWireSchema,
|
|
26513
|
+
capabilities: StringListWireSchema,
|
|
26510
26514
|
self_subscribed: boolean2(),
|
|
26511
26515
|
last_seen: number2().int().optional(),
|
|
26512
26516
|
state: WireStateSchema,
|
|
@@ -29916,7 +29920,7 @@ import { logger as logger3 } from "@oh-my-pi/pi-utils";
|
|
|
29916
29920
|
// package.json
|
|
29917
29921
|
var package_default = {
|
|
29918
29922
|
name: "@sjawhar/pi-legion",
|
|
29919
|
-
version: "19.
|
|
29923
|
+
version: "19.38.1",
|
|
29920
29924
|
license: "Apache-2.0",
|
|
29921
29925
|
type: "module",
|
|
29922
29926
|
omp: {
|