@agimon-ai/po-runner 0.0.0-alpha.193 → 0.0.0-alpha.194
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createApiClient, defineActivityGroup, defineChannelFile, defineFill, defineNativePlugin, defineSessionStore, defineToolRenderer, nativeApiTransport, sessionApiAddress } from "@agimon-ai/po-core/native";
|
|
2
|
-
import { ArrowRightIcon, Button, Dot, FileIcon, FolderIcon, Input, ListRow, LiveDuration, MessageItem, MessageItemBody, MessageItemHeader, MessageItemStatus, PlayCircleIcon, SearchIcon, Sheet, SheetBody, SheetContent, SheetFooter, SheetHeader, SheetTitle, StatusBadge, SyntaxLine, ansiSpans, fontOf, toolTone, useSyntaxLines } from "@agimon-ai/po-native-components";
|
|
2
|
+
import { ArrowRightIcon, Button, Dot, EmptyState, FileIcon, FolderIcon, Input, ListRow, LiveDuration, MessageItem, MessageItemBody, MessageItemHeader, MessageItemStatus, PlayCircleIcon, SearchIcon, Sheet, SheetBody, SheetContent, SheetFooter, SheetHeader, SheetTitle, StatusBadge, SyntaxLine, TerminalIcon, ansiSpans, fontOf, toolTone, useSyntaxLines } from "@agimon-ai/po-native-components";
|
|
3
3
|
import { createElement, memo, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
4
4
|
import { View } from "react-native-unistyles/components/native/View";
|
|
5
5
|
import { Text } from "react-native-unistyles/components/native/Text";
|
|
@@ -1132,9 +1132,11 @@ function RunnersPanel(props) {
|
|
|
1132
1132
|
...session.startFailure === void 0 ? {} : { problem: session.startFailure.message },
|
|
1133
1133
|
onLaunch: launch
|
|
1134
1134
|
}) : null,
|
|
1135
|
-
/* @__PURE__ */ jsx(ScrollView, { children: running.length === 0 ? /* @__PURE__ */ jsx(
|
|
1136
|
-
|
|
1137
|
-
|
|
1135
|
+
/* @__PURE__ */ jsx(ScrollView, { children: running.length === 0 ? /* @__PURE__ */ jsx(EmptyState, {
|
|
1136
|
+
testID: "runners-panel-empty",
|
|
1137
|
+
icon: /* @__PURE__ */ jsx(TerminalIcon, { size: 20 }),
|
|
1138
|
+
title: "Nothing running yet",
|
|
1139
|
+
description: props.sessionId === null ? "Open a session to start a runner." : "Type a command above, like pnpm dev, and it opens here as a live terminal."
|
|
1138
1140
|
}) : running.map((run) => /* @__PURE__ */ jsx(ListRow, {
|
|
1139
1141
|
leading: /* @__PURE__ */ jsx(Dot, {
|
|
1140
1142
|
tone: "yellow",
|
|
@@ -1247,8 +1249,7 @@ var runners_native_default = defineActivityGroup({
|
|
|
1247
1249
|
keys: "r l",
|
|
1248
1250
|
icon: () => createElement(PlayCircleIcon),
|
|
1249
1251
|
activeSource: runnerActivitySource,
|
|
1250
|
-
transientTab: runnersTab
|
|
1251
|
-
order: 20
|
|
1252
|
+
transientTab: runnersTab
|
|
1252
1253
|
});
|
|
1253
1254
|
//#endregion
|
|
1254
1255
|
//#region src/extensions/workspaces/sessions/(frontend)/channel/runner-runs.native.ts
|