@cueloop/extension-api 0.1.0-alpha.69 → 0.1.0-alpha.70

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cueloop/extension-api",
3
- "version": "0.1.0-alpha.69",
3
+ "version": "0.1.0-alpha.70",
4
4
  "description": "The typed contract for extending cueloop: renderers, commands, keybindings, exporters",
5
5
  "homepage": "https://github.com/mmurakaru/cueloop#readme",
6
6
  "bugs": {
@@ -24,7 +24,7 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@cueloop/schema": "0.1.0-alpha.69"
27
+ "@cueloop/schema": "0.1.0-alpha.70"
28
28
  },
29
29
  "engines": {
30
30
  "bun": ">=1.3.0"
@@ -1,8 +1,8 @@
1
1
  import { describe, expect, test } from "bun:test";
2
2
  import { Registry } from "./registry";
3
- import type { ReviewSession } from "@cueloop/schema";
3
+ import type { Thread } from "@cueloop/schema";
4
4
 
5
- const SESSION: ReviewSession = {
5
+ const SESSION: Thread = {
6
6
  schemaVersion: "1",
7
7
  id: "ses_x",
8
8
  workspace: { repoRoot: "/repo", branch: "main" },
package/src/types.ts CHANGED
@@ -8,11 +8,11 @@
8
8
  * later, host-driven. No import-time side effects.
9
9
  */
10
10
 
11
- import type { ReviewSession } from "@cueloop/schema";
11
+ import type { Thread } from "@cueloop/schema";
12
12
 
13
13
  /** Exporters ship resolved sessions somewhere (notes vaults, forges). */
14
14
  export type Exporter = (
15
- session: ReviewSession,
15
+ session: Thread,
16
16
  ) => Promise<{ success: boolean; path?: string; error?: string }>;
17
17
 
18
18
  export interface ExtensionAPI {