@cueloop/schema 0.1.0-alpha.80 → 0.1.0-alpha.81

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/schema",
3
- "version": "0.1.0-alpha.80",
3
+ "version": "0.1.0-alpha.81",
4
4
  "description": "The Thread primitive: types, markdown block model, quote-primary anchors, feedback serialization",
5
5
  "homepage": "https://github.com/mmurakaru/cueloop#readme",
6
6
  "bugs": {
package/src/index.ts CHANGED
@@ -10,5 +10,6 @@ export * from "./anchor";
10
10
  export * from "./fuzzy";
11
11
  export * from "./feedback";
12
12
  export * from "./herdr";
13
+ export * from "./thread-surface";
13
14
  export * from "./history";
14
15
  export * from "./path-view";
@@ -0,0 +1,6 @@
1
+ import { expect, test } from "bun:test";
2
+ import { manualThreadOpenCommand } from "./thread-surface";
3
+
4
+ test("manual Thread command uses the shared harness wording", () => {
5
+ expect(manualThreadOpenCommand("ses_123")).toBe("Open cueloop threads: cueloop ses_123");
6
+ });
@@ -0,0 +1,6 @@
1
+ export type ThreadSurfaceOpenStatus = "opened" | "focused" | "disabled" | "unavailable" | "failed";
2
+
3
+ /** Give a harness the same manual command when any terminal integration cannot open. */
4
+ export function manualThreadOpenCommand(threadId: string): string {
5
+ return `Open cueloop threads: cueloop ${threadId}`;
6
+ }