@lace-cloud/canvas 0.38.0 → 0.40.0
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-GLQVTWB4.mjs → chunk-TGXBVAPM.mjs} +92 -9
- package/dist/{chunk-GLQVTWB4.mjs.map → chunk-TGXBVAPM.mjs.map} +1 -1
- package/dist/engine/index.cjs +91 -8
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +2 -2
- package/dist/engine/index.d.ts +2 -2
- package/dist/engine/index.mjs +1 -1
- package/dist/index.cjs +91 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{registry-BYGzxLKn.d.mts → registry-C1v_atT4.d.mts} +101 -7
- package/dist/{registry-BYGzxLKn.d.ts → registry-C1v_atT4.d.ts} +101 -7
- package/package.json +3 -3
|
@@ -8459,6 +8459,42 @@ var COMMANDS = {
|
|
|
8459
8459
|
"hidden": false,
|
|
8460
8460
|
"yes": false
|
|
8461
8461
|
},
|
|
8462
|
+
"events export": {
|
|
8463
|
+
"path": "events export",
|
|
8464
|
+
"positionals": [],
|
|
8465
|
+
"flags": {
|
|
8466
|
+
"after": {
|
|
8467
|
+
"type": "string"
|
|
8468
|
+
},
|
|
8469
|
+
"file": {
|
|
8470
|
+
"type": "string"
|
|
8471
|
+
},
|
|
8472
|
+
"org": {
|
|
8473
|
+
"type": "string"
|
|
8474
|
+
},
|
|
8475
|
+
"output": {
|
|
8476
|
+
"type": "string",
|
|
8477
|
+
"values": [
|
|
8478
|
+
"ndjson",
|
|
8479
|
+
"json"
|
|
8480
|
+
],
|
|
8481
|
+
"short": "o"
|
|
8482
|
+
},
|
|
8483
|
+
"since": {
|
|
8484
|
+
"type": "string"
|
|
8485
|
+
},
|
|
8486
|
+
"type": {
|
|
8487
|
+
"type": "stringArray",
|
|
8488
|
+
"repeated": true
|
|
8489
|
+
},
|
|
8490
|
+
"until": {
|
|
8491
|
+
"type": "string"
|
|
8492
|
+
}
|
|
8493
|
+
},
|
|
8494
|
+
"effect": "write",
|
|
8495
|
+
"hidden": false,
|
|
8496
|
+
"yes": false
|
|
8497
|
+
},
|
|
8462
8498
|
"hooks install": {
|
|
8463
8499
|
"path": "hooks install",
|
|
8464
8500
|
"positionals": [],
|
|
@@ -9924,12 +9960,22 @@ var namedActorSchema = reads()(
|
|
|
9924
9960
|
name: z.string().nullable()
|
|
9925
9961
|
})
|
|
9926
9962
|
);
|
|
9927
|
-
var
|
|
9963
|
+
var gitStackSourceSchema = z.object({
|
|
9928
9964
|
kind: z.literal("git"),
|
|
9929
9965
|
repoUrl: z.string(),
|
|
9930
9966
|
ref: z.string().optional(),
|
|
9931
9967
|
path: z.string().optional()
|
|
9932
9968
|
});
|
|
9969
|
+
var stackSourceSchema = z.discriminatedUnion("kind", [
|
|
9970
|
+
gitStackSourceSchema,
|
|
9971
|
+
z.object({
|
|
9972
|
+
kind: z.literal("module_version"),
|
|
9973
|
+
author: z.string(),
|
|
9974
|
+
name: z.string(),
|
|
9975
|
+
system: z.string(),
|
|
9976
|
+
version: z.string()
|
|
9977
|
+
})
|
|
9978
|
+
]);
|
|
9933
9979
|
var stackSchema = reads()(
|
|
9934
9980
|
z.object({
|
|
9935
9981
|
id: z.string(),
|
|
@@ -9940,6 +9986,7 @@ var stackSchema = reads()(
|
|
|
9940
9986
|
name: z.string(),
|
|
9941
9987
|
description: z.string().nullable(),
|
|
9942
9988
|
source: stackSourceSchema.nullable(),
|
|
9989
|
+
variables: z.record(z.string(), z.unknown()).nullable(),
|
|
9943
9990
|
stateSerial: z.number(),
|
|
9944
9991
|
stateLineage: z.string().nullable(),
|
|
9945
9992
|
stateVersion: z.number().nullable(),
|
|
@@ -10006,7 +10053,9 @@ var stackDescribeSchema = reads()(
|
|
|
10006
10053
|
resourcesByType: z.record(z.string(), z.number()),
|
|
10007
10054
|
resources: z.array(z.object({ address: z.string(), type: z.string() }))
|
|
10008
10055
|
}).nullable(),
|
|
10009
|
-
drift: driftSchema
|
|
10056
|
+
drift: driftSchema,
|
|
10057
|
+
// The sentence the organization's plan holds the stack with; null while it holds nothing.
|
|
10058
|
+
planHold: z.string().nullable()
|
|
10010
10059
|
})
|
|
10011
10060
|
);
|
|
10012
10061
|
var policyBindingSchema = reads()(
|
|
@@ -10120,7 +10169,30 @@ var previewAdvisorySchema = reads()(
|
|
|
10120
10169
|
emittedByDisplayName: z.string(),
|
|
10121
10170
|
confidenceScore: z.number(),
|
|
10122
10171
|
producedAt: z.string(),
|
|
10123
|
-
outputJson: z.unknown()
|
|
10172
|
+
outputJson: z.unknown(),
|
|
10173
|
+
read: reads()(
|
|
10174
|
+
z.object({
|
|
10175
|
+
plan: z.string(),
|
|
10176
|
+
since: z.string().nullable(),
|
|
10177
|
+
cites: z.array(
|
|
10178
|
+
z.union([
|
|
10179
|
+
z.object({
|
|
10180
|
+
kind: z.string(),
|
|
10181
|
+
id: z.string(),
|
|
10182
|
+
at: z.string(),
|
|
10183
|
+
present: z.literal(true).optional(),
|
|
10184
|
+
ageDays: z.number()
|
|
10185
|
+
}),
|
|
10186
|
+
z.object({
|
|
10187
|
+
kind: z.string(),
|
|
10188
|
+
count: z.number(),
|
|
10189
|
+
oldestAt: z.string(),
|
|
10190
|
+
ageDays: z.number()
|
|
10191
|
+
})
|
|
10192
|
+
])
|
|
10193
|
+
).nullable()
|
|
10194
|
+
})
|
|
10195
|
+
)
|
|
10124
10196
|
})
|
|
10125
10197
|
);
|
|
10126
10198
|
var previewEntrySchema = z.discriminatedUnion("kind", [
|
|
@@ -10187,16 +10259,27 @@ var stackPreviewSchema = z.object({
|
|
|
10187
10259
|
),
|
|
10188
10260
|
// What the Preview shows of the Agents bound at it: the curated queue of
|
|
10189
10261
|
// their Advisories about this tree, how many were recorded under the
|
|
10190
|
-
// Preview's floor, how
|
|
10191
|
-
//
|
|
10262
|
+
// Preview's floor, how far back they read the Stack's Runs where the plan
|
|
10263
|
+
// cut it (the line a host draws under the Advisories, as the API words it),
|
|
10264
|
+
// how many bound Agents have not answered, and how many Agent Bindings the
|
|
10265
|
+
// preview activated.
|
|
10192
10266
|
advisories: z.object({
|
|
10193
10267
|
queue: z.object({
|
|
10194
10268
|
manifestation: z.literal("preview"),
|
|
10195
10269
|
floor: z.number(),
|
|
10196
10270
|
entries: z.array(previewEntrySchema),
|
|
10197
|
-
belowFloor: z.number()
|
|
10271
|
+
belowFloor: z.number(),
|
|
10272
|
+
incompleteAssessment: z.boolean().optional()
|
|
10198
10273
|
}),
|
|
10199
10274
|
truncated: z.boolean(),
|
|
10275
|
+
window: reads()(
|
|
10276
|
+
z.object({
|
|
10277
|
+
plan: z.string(),
|
|
10278
|
+
since: z.string(),
|
|
10279
|
+
notRead: z.number(),
|
|
10280
|
+
line: z.string()
|
|
10281
|
+
}).nullable()
|
|
10282
|
+
),
|
|
10200
10283
|
pending: z.number(),
|
|
10201
10284
|
bound: z.number().optional()
|
|
10202
10285
|
})
|
|
@@ -10361,7 +10444,7 @@ var logoutSchema = keyRevocationSchema.extend({ loggedOut: z.boolean() });
|
|
|
10361
10444
|
var loginEventSchema = z.discriminatedUnion("type", [
|
|
10362
10445
|
z.object({ type: z.literal("code"), code: z.string(), verificationUrl: z.string().optional() }),
|
|
10363
10446
|
z.object({ type: z.literal("url"), url: z.string() }),
|
|
10364
|
-
z.object({ type: z.literal("
|
|
10447
|
+
z.object({ type: z.literal("link_requested"), email: z.string() }),
|
|
10365
10448
|
z.object({ type: z.literal("result"), user: loginUserSchema, replacedKey: keyRevocationSchema })
|
|
10366
10449
|
]);
|
|
10367
10450
|
var SCHEMAS = {
|
|
@@ -10383,7 +10466,7 @@ var SCHEMAS = {
|
|
|
10383
10466
|
"stack destroy": runEventSchema,
|
|
10384
10467
|
"drift scan": driftScanSchema,
|
|
10385
10468
|
"stack create": stackSchema,
|
|
10386
|
-
"stack validate":
|
|
10469
|
+
"stack validate": gitStackSourceSchema,
|
|
10387
10470
|
"module import": moduleImportSchema,
|
|
10388
10471
|
"run get": runSchema,
|
|
10389
10472
|
"run plan": runPlanSchema,
|
|
@@ -12420,4 +12503,4 @@ export {
|
|
|
12420
12503
|
autosave,
|
|
12421
12504
|
Reason5 as Reason
|
|
12422
12505
|
};
|
|
12423
|
-
//# sourceMappingURL=chunk-
|
|
12506
|
+
//# sourceMappingURL=chunk-TGXBVAPM.mjs.map
|