@cueloop/client 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 +5 -5
- package/src/App.appearance.test.tsx +2 -2
- package/src/App.autoclose.test.tsx +2 -2
- package/src/App.diff.test.tsx +2 -2
- package/src/App.export.test.tsx +2 -2
- package/src/App.plan-review.test.tsx +2 -2
- package/src/App.prototype-markdown.test.tsx +2 -2
- package/src/App.prototype.test.tsx +2 -2
- package/src/App.readonly.test.tsx +2 -2
- package/src/App.rendering.test.tsx +2 -2
- package/src/App.submit-confirm.test.tsx +2 -2
- package/src/App.test.tsx +2 -2
- package/src/App.toast.test.tsx +3 -3
- package/src/App.tsx +240 -228
- package/src/App.walk.test.tsx +2 -2
- package/src/App.workbench.test.tsx +2 -2
- package/src/app-key-state.ts +3 -3
- package/src/app-screens.tsx +4 -4
- package/src/app-view-model.ts +6 -6
- package/src/components/AnnotatableFileView.stories.tsx +2 -2
- package/src/components/AnnotatableFileView.test.tsx +2 -2
- package/src/components/AnnotatableFileView.tsx +2 -2
- package/src/components/BareWorkbenchFileView.tsx +2 -7
- package/src/components/ChangesColumn.tsx +2 -2
- package/src/components/DiffContentView.tsx +2 -2
- package/src/components/ThreadView.selection.test.tsx +5 -5
- package/src/components/ThreadView.slash.test.tsx +49 -4
- package/src/components/ThreadView.tsx +2 -2
- package/src/components/WelcomePlayground.tsx +2 -2
- package/src/components/__snapshots__/stories.test.tsx.snap +6 -6
- package/src/components/agent-launcher.tsx +2 -2
- package/src/components/quick-actions-editor.test.tsx +49 -0
- package/src/components/quick-actions-editor.tsx +32 -20
- package/src/components/session-tree.test.ts +2 -2
- package/src/components/session-tree.ts +10 -10
- package/src/components/story-fixtures.ts +3 -3
- package/src/config.test.ts +30 -1
- package/src/config.ts +19 -0
- package/src/discussions.ts +2 -2
- package/src/intent-dispatch.test.ts +3 -6
- package/src/intent-dispatch.ts +6 -6
- package/src/serve.test.ts +2 -2
- package/src/share.ts +9 -14
- package/src/skills.test.ts +74 -0
- package/src/skills.ts +68 -0
- package/src/slash-palette.ts +10 -3
- package/src/{session-controller.curate.test.ts → thread-controller.curate.test.ts} +8 -7
- package/src/{session-controller.live-diff.test.ts → thread-controller.live-diff.test.ts} +7 -6
- package/src/{session-controller.share.test.ts → thread-controller.share.test.ts} +14 -13
- package/src/{session-controller.tree.test.ts → thread-controller.tree.test.ts} +8 -7
- package/src/{session-controller.ts → thread-controller.ts} +18 -22
- package/src/use-annotation-surface.tsx +14 -10
- package/src/view-diff.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cueloop/client",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.70",
|
|
4
4
|
"description": "The cueloop review UI: projection renderer, keyboard grammar, review rail",
|
|
5
5
|
"homepage": "https://github.com/mmurakaru/cueloop#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@cueloop/daemon": "0.1.0-alpha.
|
|
31
|
-
"@cueloop/extension-api": "0.1.0-alpha.
|
|
32
|
-
"@cueloop/integration-obsidian": "0.1.0-alpha.
|
|
33
|
-
"@cueloop/schema": "0.1.0-alpha.
|
|
30
|
+
"@cueloop/daemon": "0.1.0-alpha.70",
|
|
31
|
+
"@cueloop/extension-api": "0.1.0-alpha.70",
|
|
32
|
+
"@cueloop/integration-obsidian": "0.1.0-alpha.70",
|
|
33
|
+
"@cueloop/schema": "0.1.0-alpha.70",
|
|
34
34
|
"@opentui/core": "^0.5.8",
|
|
35
35
|
"@opentui/keymap": "0.5.8",
|
|
36
36
|
"@opentui/react": "^0.5.8",
|
|
@@ -6,7 +6,7 @@ import { tmpdir } from "node:os";
|
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { DaemonServer } from "@cueloop/daemon";
|
|
9
|
-
import type {
|
|
9
|
+
import type { Thread } from "@cueloop/schema";
|
|
10
10
|
import { App } from "./App";
|
|
11
11
|
import { isolateUserConfig, settle, waitForText, renderReadyApp } from "./test-support";
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ const PLAN = "# Sync Plan\n\n## Steps\n\n- flush the queue\n";
|
|
|
14
14
|
|
|
15
15
|
let home: string;
|
|
16
16
|
let server: DaemonServer;
|
|
17
|
-
let session:
|
|
17
|
+
let session: Thread;
|
|
18
18
|
let restoreUserConfig: () => void;
|
|
19
19
|
|
|
20
20
|
beforeEach(() => {
|
|
@@ -8,7 +8,7 @@ import React from "react";
|
|
|
8
8
|
import { testRender } from "@opentui/react/test-utils";
|
|
9
9
|
import { ManualClock } from "@opentui/core/testing";
|
|
10
10
|
import { DaemonServer } from "@cueloop/daemon";
|
|
11
|
-
import type {
|
|
11
|
+
import type { Thread } from "@cueloop/schema";
|
|
12
12
|
import { App } from "./App";
|
|
13
13
|
import { isolateUserConfig, press, settle, waitForText, pressKey } from "./test-support";
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@ const PLAN = "# Plan\n\nShip the thing.\n";
|
|
|
16
16
|
|
|
17
17
|
let home: string;
|
|
18
18
|
let server: DaemonServer;
|
|
19
|
-
let session:
|
|
19
|
+
let session: Thread;
|
|
20
20
|
let configPath: string;
|
|
21
21
|
let restoreUserConfig: () => void;
|
|
22
22
|
let clock: ManualClock;
|
package/src/App.diff.test.tsx
CHANGED
|
@@ -6,7 +6,7 @@ import { tmpdir } from "node:os";
|
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { DaemonServer } from "@cueloop/daemon";
|
|
9
|
-
import type {
|
|
9
|
+
import type { Thread } from "@cueloop/schema";
|
|
10
10
|
import { App } from "./App";
|
|
11
11
|
import { NERD } from "./components/primitives/icons";
|
|
12
12
|
import {
|
|
@@ -35,7 +35,7 @@ index 111..222 100644
|
|
|
35
35
|
let home: string;
|
|
36
36
|
let restoreUserConfig: () => void;
|
|
37
37
|
let server: DaemonServer;
|
|
38
|
-
let session:
|
|
38
|
+
let session: Thread;
|
|
39
39
|
|
|
40
40
|
beforeEach(() => {
|
|
41
41
|
home = mkdtempSync(join(tmpdir(), "cueloop-diff-"));
|
package/src/App.export.test.tsx
CHANGED
|
@@ -14,7 +14,7 @@ import { tmpdir } from "node:os";
|
|
|
14
14
|
import { join } from "node:path";
|
|
15
15
|
import React from "react";
|
|
16
16
|
import { DaemonServer } from "@cueloop/daemon";
|
|
17
|
-
import type {
|
|
17
|
+
import type { Thread } from "@cueloop/schema";
|
|
18
18
|
import { App } from "./App";
|
|
19
19
|
import {
|
|
20
20
|
isolateUserConfig,
|
|
@@ -33,7 +33,7 @@ Move the store atomically.
|
|
|
33
33
|
let home: string;
|
|
34
34
|
let vault: string;
|
|
35
35
|
let server: DaemonServer;
|
|
36
|
-
let session:
|
|
36
|
+
let session: Thread;
|
|
37
37
|
let restoreUserConfig: () => void;
|
|
38
38
|
|
|
39
39
|
beforeEach(() => {
|
|
@@ -6,7 +6,7 @@ import { tmpdir } from "node:os";
|
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { DaemonServer } from "@cueloop/daemon";
|
|
9
|
-
import type {
|
|
9
|
+
import type { Thread } from "@cueloop/schema";
|
|
10
10
|
import { App } from "./App";
|
|
11
11
|
import { DEFAULT_QUICK_ACTIONS } from "./config";
|
|
12
12
|
import { slashItemsFrom } from "./slash-palette";
|
|
@@ -37,7 +37,7 @@ The daemon persists sessions to disk atomically.
|
|
|
37
37
|
|
|
38
38
|
let home: string;
|
|
39
39
|
let server: DaemonServer;
|
|
40
|
-
let session:
|
|
40
|
+
let session: Thread;
|
|
41
41
|
let restoreUserConfig: () => void;
|
|
42
42
|
|
|
43
43
|
beforeEach(() => {
|
|
@@ -6,7 +6,7 @@ import { tmpdir } from "node:os";
|
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { DaemonServer } from "@cueloop/daemon";
|
|
9
|
-
import type {
|
|
9
|
+
import type { Thread } from "@cueloop/schema";
|
|
10
10
|
import { App } from "./App";
|
|
11
11
|
import { isolateUserConfig, renderReadyApp, settle, waitForText } from "./test-support";
|
|
12
12
|
|
|
@@ -33,7 +33,7 @@ PromoCard
|
|
|
33
33
|
|
|
34
34
|
let home: string;
|
|
35
35
|
let server: DaemonServer;
|
|
36
|
-
let session:
|
|
36
|
+
let session: Thread;
|
|
37
37
|
let restoreUserConfig: () => void;
|
|
38
38
|
|
|
39
39
|
beforeEach(() => {
|
|
@@ -6,7 +6,7 @@ import { tmpdir } from "node:os";
|
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { DaemonServer } from "@cueloop/daemon";
|
|
9
|
-
import type {
|
|
9
|
+
import type { Thread } from "@cueloop/schema";
|
|
10
10
|
import { App } from "./App";
|
|
11
11
|
import {
|
|
12
12
|
setPrototypeRendererFactory,
|
|
@@ -55,7 +55,7 @@ const fakeRenderer: PrototypeRenderer = {
|
|
|
55
55
|
|
|
56
56
|
let home: string;
|
|
57
57
|
let server: DaemonServer;
|
|
58
|
-
let session:
|
|
58
|
+
let session: Thread;
|
|
59
59
|
let restoreUserConfig: () => void;
|
|
60
60
|
|
|
61
61
|
beforeEach(() => {
|
|
@@ -6,7 +6,7 @@ import { tmpdir } from "node:os";
|
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { DaemonServer } from "@cueloop/daemon";
|
|
9
|
-
import { makeAnchor, parseBlocks, type
|
|
9
|
+
import { makeAnchor, parseBlocks, type Thread } from "@cueloop/schema";
|
|
10
10
|
import { App } from "./App";
|
|
11
11
|
import {
|
|
12
12
|
clickText,
|
|
@@ -34,7 +34,7 @@ The daemon persists sessions to disk atomically.
|
|
|
34
34
|
let home: string;
|
|
35
35
|
let restoreUserConfig: () => void;
|
|
36
36
|
let server: DaemonServer;
|
|
37
|
-
let session:
|
|
37
|
+
let session: Thread;
|
|
38
38
|
|
|
39
39
|
beforeEach(() => {
|
|
40
40
|
home = mkdtempSync(join(tmpdir(), "cueloop-observer-"));
|
|
@@ -6,7 +6,7 @@ import { tmpdir } from "node:os";
|
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { DaemonServer } from "@cueloop/daemon";
|
|
9
|
-
import type {
|
|
9
|
+
import type { Thread } from "@cueloop/schema";
|
|
10
10
|
import { App } from "./App";
|
|
11
11
|
import { isolateUserConfig, waitForText, renderReadyApp } from "./test-support";
|
|
12
12
|
|
|
@@ -31,7 +31,7 @@ Deploys block below the threshold.
|
|
|
31
31
|
let home: string;
|
|
32
32
|
let restoreUserConfig: () => void;
|
|
33
33
|
let server: DaemonServer;
|
|
34
|
-
let session:
|
|
34
|
+
let session: Thread;
|
|
35
35
|
|
|
36
36
|
beforeEach(() => {
|
|
37
37
|
home = mkdtempSync(join(tmpdir(), "cueloop-render-"));
|
|
@@ -7,7 +7,7 @@ import { join } from "node:path";
|
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { testRender } from "@opentui/react/test-utils";
|
|
9
9
|
import { DaemonServer } from "@cueloop/daemon";
|
|
10
|
-
import { makeAnchor, parseBlocks, type
|
|
10
|
+
import { makeAnchor, parseBlocks, type Thread } from "@cueloop/schema";
|
|
11
11
|
import { App } from "./App";
|
|
12
12
|
import {
|
|
13
13
|
isolateUserConfig,
|
|
@@ -33,7 +33,7 @@ The daemon persists sessions to disk atomically.
|
|
|
33
33
|
let home: string;
|
|
34
34
|
let restoreUserConfig: () => void;
|
|
35
35
|
let server: DaemonServer;
|
|
36
|
-
let session:
|
|
36
|
+
let session: Thread;
|
|
37
37
|
|
|
38
38
|
beforeEach(() => {
|
|
39
39
|
home = mkdtempSync(join(tmpdir(), "cueloop-confirm-"));
|
package/src/App.test.tsx
CHANGED
|
@@ -6,7 +6,7 @@ import { tmpdir } from "node:os";
|
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { DaemonServer } from "@cueloop/daemon";
|
|
9
|
-
import type {
|
|
9
|
+
import type { Thread } from "@cueloop/schema";
|
|
10
10
|
import { App } from "./App";
|
|
11
11
|
import {
|
|
12
12
|
clickText,
|
|
@@ -37,7 +37,7 @@ The daemon persists sessions to disk atomically.
|
|
|
37
37
|
let home: string;
|
|
38
38
|
let restoreUserConfig: () => void;
|
|
39
39
|
let server: DaemonServer;
|
|
40
|
-
let session:
|
|
40
|
+
let session: Thread;
|
|
41
41
|
|
|
42
42
|
beforeEach(() => {
|
|
43
43
|
home = mkdtempSync(join(tmpdir(), "cueloop-app-"));
|
package/src/App.toast.test.tsx
CHANGED
|
@@ -7,9 +7,9 @@ import { join } from "node:path";
|
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { testRender } from "@opentui/react/test-utils";
|
|
9
9
|
import { DaemonServer } from "@cueloop/daemon";
|
|
10
|
-
import type {
|
|
10
|
+
import type { Thread } from "@cueloop/schema";
|
|
11
11
|
import { App } from "./App";
|
|
12
|
-
import type { ShareTransport } from "./
|
|
12
|
+
import type { ShareTransport } from "./thread-controller";
|
|
13
13
|
import {
|
|
14
14
|
clickText,
|
|
15
15
|
isolateUserConfig,
|
|
@@ -38,7 +38,7 @@ const PLAN = `# Migration Plan\n\n## Context\n\nThe daemon persists sessions to
|
|
|
38
38
|
let home: string;
|
|
39
39
|
let restoreUserConfig: () => void;
|
|
40
40
|
let server: DaemonServer;
|
|
41
|
-
let session:
|
|
41
|
+
let session: Thread;
|
|
42
42
|
|
|
43
43
|
beforeEach(() => {
|
|
44
44
|
home = mkdtempSync(join(tmpdir(), "cueloop-toast-"));
|