@lace-cloud/canvas 0.38.0 → 0.39.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.
@@ -8511,6 +8511,42 @@ var COMMANDS = {
8511
8511
  "hidden": false,
8512
8512
  "yes": false
8513
8513
  },
8514
+ "events export": {
8515
+ "path": "events export",
8516
+ "positionals": [],
8517
+ "flags": {
8518
+ "after": {
8519
+ "type": "string"
8520
+ },
8521
+ "file": {
8522
+ "type": "string"
8523
+ },
8524
+ "org": {
8525
+ "type": "string"
8526
+ },
8527
+ "output": {
8528
+ "type": "string",
8529
+ "values": [
8530
+ "ndjson",
8531
+ "json"
8532
+ ],
8533
+ "short": "o"
8534
+ },
8535
+ "since": {
8536
+ "type": "string"
8537
+ },
8538
+ "type": {
8539
+ "type": "stringArray",
8540
+ "repeated": true
8541
+ },
8542
+ "until": {
8543
+ "type": "string"
8544
+ }
8545
+ },
8546
+ "effect": "write",
8547
+ "hidden": false,
8548
+ "yes": false
8549
+ },
8514
8550
  "hooks install": {
8515
8551
  "path": "hooks install",
8516
8552
  "positionals": [],
@@ -10172,7 +10208,30 @@ var previewAdvisorySchema = reads()(
10172
10208
  emittedByDisplayName: import_zod.z.string(),
10173
10209
  confidenceScore: import_zod.z.number(),
10174
10210
  producedAt: import_zod.z.string(),
10175
- outputJson: import_zod.z.unknown()
10211
+ outputJson: import_zod.z.unknown(),
10212
+ read: reads()(
10213
+ import_zod.z.object({
10214
+ plan: import_zod.z.string(),
10215
+ since: import_zod.z.string().nullable(),
10216
+ cites: import_zod.z.array(
10217
+ import_zod.z.union([
10218
+ import_zod.z.object({
10219
+ kind: import_zod.z.string(),
10220
+ id: import_zod.z.string(),
10221
+ at: import_zod.z.string(),
10222
+ present: import_zod.z.literal(true).optional(),
10223
+ ageDays: import_zod.z.number()
10224
+ }),
10225
+ import_zod.z.object({
10226
+ kind: import_zod.z.string(),
10227
+ count: import_zod.z.number(),
10228
+ oldestAt: import_zod.z.string(),
10229
+ ageDays: import_zod.z.number()
10230
+ })
10231
+ ])
10232
+ ).nullable()
10233
+ })
10234
+ )
10176
10235
  })
10177
10236
  );
10178
10237
  var previewEntrySchema = import_zod.z.discriminatedUnion("kind", [
@@ -10239,16 +10298,27 @@ var stackPreviewSchema = import_zod.z.object({
10239
10298
  ),
10240
10299
  // What the Preview shows of the Agents bound at it: the curated queue of
10241
10300
  // their Advisories about this tree, how many were recorded under the
10242
- // Preview's floor, how many bound Agents have not answered, and how many
10243
- // Agent Bindings the preview activated.
10301
+ // Preview's floor, how far back they read the Stack's Runs where the plan
10302
+ // cut it (the line a host draws under the Advisories, as the API words it),
10303
+ // how many bound Agents have not answered, and how many Agent Bindings the
10304
+ // preview activated.
10244
10305
  advisories: import_zod.z.object({
10245
10306
  queue: import_zod.z.object({
10246
10307
  manifestation: import_zod.z.literal("preview"),
10247
10308
  floor: import_zod.z.number(),
10248
10309
  entries: import_zod.z.array(previewEntrySchema),
10249
- belowFloor: import_zod.z.number()
10310
+ belowFloor: import_zod.z.number(),
10311
+ incompleteAssessment: import_zod.z.boolean().optional()
10250
10312
  }),
10251
10313
  truncated: import_zod.z.boolean(),
10314
+ window: reads()(
10315
+ import_zod.z.object({
10316
+ plan: import_zod.z.string(),
10317
+ since: import_zod.z.string(),
10318
+ notRead: import_zod.z.number(),
10319
+ line: import_zod.z.string()
10320
+ }).nullable()
10321
+ ),
10252
10322
  pending: import_zod.z.number(),
10253
10323
  bound: import_zod.z.number().optional()
10254
10324
  })
@@ -10413,7 +10483,7 @@ var logoutSchema = keyRevocationSchema.extend({ loggedOut: import_zod.z.boolean(
10413
10483
  var loginEventSchema = import_zod.z.discriminatedUnion("type", [
10414
10484
  import_zod.z.object({ type: import_zod.z.literal("code"), code: import_zod.z.string(), verificationUrl: import_zod.z.string().optional() }),
10415
10485
  import_zod.z.object({ type: import_zod.z.literal("url"), url: import_zod.z.string() }),
10416
- import_zod.z.object({ type: import_zod.z.literal("email_sent"), email: import_zod.z.string() }),
10486
+ import_zod.z.object({ type: import_zod.z.literal("link_requested"), email: import_zod.z.string() }),
10417
10487
  import_zod.z.object({ type: import_zod.z.literal("result"), user: loginUserSchema, replacedKey: keyRevocationSchema })
10418
10488
  ]);
10419
10489
  var SCHEMAS = {