Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions apps/presentation/dashboard/src/data/chat-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,23 @@ export type ChatCapabilities = {
}>;
};

export type CollaborationReadback = {
schema_version: "collaboration_request_readback_v0";
request_id: string;
agent_id: string;
brief: {
purpose: string;
context: string;
constraints: string[];
inputs: { ref: string; description: string; sha256?: string }[];
acceptance: string[];
return_requirement: string;
};
read_status: string;
decision: string;
returns: { phase: string; status: string }[];
};

export type ChatRouteCandidate = {
agentId: string;
available: boolean;
Expand Down
19 changes: 2 additions & 17 deletions apps/presentation/dashboard/src/data/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { z } from "zod";
import {
todoApplyResultMatchesRequest,
todoPreviewMatchesRequest,
type CollaborationReadback,
type TodoApplyResult,
type TodoPreview,
} from "./chat-model.js";
Expand Down Expand Up @@ -44,6 +45,7 @@ export {
export type {
AgentResponse,
ChatCapabilities,
CollaborationReadback,
ChatGoal,
ChatStatus,
ChatTodo,
Expand Down Expand Up @@ -629,23 +631,6 @@ export type ManagerRuntimeSessionReadback = {
tool_classes: string[];
};

export type CollaborationReadback = {
schema_version: "collaboration_request_readback_v0";
request_id: string;
agent_id: string;
brief: {
purpose: string;
context: string;
constraints: string[];
inputs: { ref: string; description: string; sha256?: string }[];
acceptance: string[];
return_requirement: string;
};
read_status: string;
decision: string;
returns: { phase: string; status: string }[];
};

export type ChatVisibleMessage = {
collaboration?: CollaborationReadback;
origin?: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { CollaborationReadback } from "../../data/chat";
import type { CollaborationReadback } from "../../data/chat-model";
import { useWorkspaceI18n } from "./i18n";
import "./collaboration-card.css";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { CollaborationReadback } from "../../data/chat";
import type { CollaborationReadback } from "../../data/chat-model";
import type { TeamPlanAppliedOutcome } from "./team-plan-preview";
import type { ActionReviewPlan } from "../../../../../../loopx/control_plane/presentation/action_review_plan.js";
import type { GoalAcceptanceObservation } from "../../data/goal-acceptance-observation";
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

150 changes: 109 additions & 41 deletions examples/dashboard-home-browser-smoke.mjs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions loopx/web/chat/asset-retention.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"assets/geist-mono-symbols2-wght-normal-CO5SzqOn.woff2",
"assets/geist-mono-vietnamese-wght-normal-DadHysG0.woff2",
"assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2",
"assets/index-Cbgh0ZGA.css",
"assets/index-W7hV3dj8.js"
"assets/index-BoOa7OMC.css",
"assets/index-CW2PwNVU.js"
],
[
"assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2",
Expand All @@ -29,7 +29,7 @@
"assets/geist-mono-vietnamese-wght-normal-DadHysG0.woff2",
"assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2",
"assets/index-Cbgh0ZGA.css",
"assets/index-DNT2rfje.js"
"assets/index-W7hV3dj8.js"
]
]
}
1 change: 1 addition & 0 deletions loopx/web/chat/assets/index-BoOa7OMC.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions loopx/web/chat/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
content="LoopX 个人 Agent 工作区:在同一个频道里查看、纠偏并推进 Goal。"
/>
<title>LoopX 个人 Agent 工作区</title>
<script type="module" crossorigin src="/chat/assets/index-W7hV3dj8.js"></script>
<link rel="stylesheet" crossorigin href="/chat/assets/index-Cbgh0ZGA.css">
<script type="module" crossorigin src="/chat/assets/index-CW2PwNVU.js"></script>
<link rel="stylesheet" crossorigin href="/chat/assets/index-BoOa7OMC.css">
</head>
<body>
<div id="root">
Expand Down
Loading