@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.
@@ -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": [],
@@ -10120,7 +10156,30 @@ var previewAdvisorySchema = reads()(
10120
10156
  emittedByDisplayName: z.string(),
10121
10157
  confidenceScore: z.number(),
10122
10158
  producedAt: z.string(),
10123
- outputJson: z.unknown()
10159
+ outputJson: z.unknown(),
10160
+ read: reads()(
10161
+ z.object({
10162
+ plan: z.string(),
10163
+ since: z.string().nullable(),
10164
+ cites: z.array(
10165
+ z.union([
10166
+ z.object({
10167
+ kind: z.string(),
10168
+ id: z.string(),
10169
+ at: z.string(),
10170
+ present: z.literal(true).optional(),
10171
+ ageDays: z.number()
10172
+ }),
10173
+ z.object({
10174
+ kind: z.string(),
10175
+ count: z.number(),
10176
+ oldestAt: z.string(),
10177
+ ageDays: z.number()
10178
+ })
10179
+ ])
10180
+ ).nullable()
10181
+ })
10182
+ )
10124
10183
  })
10125
10184
  );
10126
10185
  var previewEntrySchema = z.discriminatedUnion("kind", [
@@ -10187,16 +10246,27 @@ var stackPreviewSchema = z.object({
10187
10246
  ),
10188
10247
  // What the Preview shows of the Agents bound at it: the curated queue of
10189
10248
  // their Advisories about this tree, how many were recorded under the
10190
- // Preview's floor, how many bound Agents have not answered, and how many
10191
- // Agent Bindings the preview activated.
10249
+ // Preview's floor, how far back they read the Stack's Runs where the plan
10250
+ // cut it (the line a host draws under the Advisories, as the API words it),
10251
+ // how many bound Agents have not answered, and how many Agent Bindings the
10252
+ // preview activated.
10192
10253
  advisories: z.object({
10193
10254
  queue: z.object({
10194
10255
  manifestation: z.literal("preview"),
10195
10256
  floor: z.number(),
10196
10257
  entries: z.array(previewEntrySchema),
10197
- belowFloor: z.number()
10258
+ belowFloor: z.number(),
10259
+ incompleteAssessment: z.boolean().optional()
10198
10260
  }),
10199
10261
  truncated: z.boolean(),
10262
+ window: reads()(
10263
+ z.object({
10264
+ plan: z.string(),
10265
+ since: z.string(),
10266
+ notRead: z.number(),
10267
+ line: z.string()
10268
+ }).nullable()
10269
+ ),
10200
10270
  pending: z.number(),
10201
10271
  bound: z.number().optional()
10202
10272
  })
@@ -10361,7 +10431,7 @@ var logoutSchema = keyRevocationSchema.extend({ loggedOut: z.boolean() });
10361
10431
  var loginEventSchema = z.discriminatedUnion("type", [
10362
10432
  z.object({ type: z.literal("code"), code: z.string(), verificationUrl: z.string().optional() }),
10363
10433
  z.object({ type: z.literal("url"), url: z.string() }),
10364
- z.object({ type: z.literal("email_sent"), email: z.string() }),
10434
+ z.object({ type: z.literal("link_requested"), email: z.string() }),
10365
10435
  z.object({ type: z.literal("result"), user: loginUserSchema, replacedKey: keyRevocationSchema })
10366
10436
  ]);
10367
10437
  var SCHEMAS = {
@@ -12420,4 +12490,4 @@ export {
12420
12490
  autosave,
12421
12491
  Reason5 as Reason
12422
12492
  };
12423
- //# sourceMappingURL=chunk-GLQVTWB4.mjs.map
12493
+ //# sourceMappingURL=chunk-C6QJEJO5.mjs.map