@agimon-ai/po-artifact 0.0.0-alpha.80 → 0.0.0-alpha.82
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,4 +1,4 @@
|
|
|
1
|
-
import { createApiClient, defineChannelFile, defineDockFace, defineFileLinks, defineGlobalStore, defineNativePlugin, defineSessionStore, encodeBase64, nativeApiTransport, sessionApiAddress } from "@agimon-ai/po-core/native";
|
|
1
|
+
import { createApiClient, defineChannelFile, defineDockFace, defineFileLinks, defineFill, defineGlobalStore, defineNativePlugin, defineSessionStore, encodeBase64, nativeApiTransport, sessionApiAddress } from "@agimon-ai/po-core/native";
|
|
2
2
|
import { Image } from "react-native-unistyles/components/native/Image";
|
|
3
3
|
import { Button, ChevronDownIcon, ChevronRightIcon, CloseIcon, CodeBlock, CopyButton, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, FileIcon, FolderIcon, ImageIcon, Input, Markdown, SearchIcon, SegmentedControl, Sheet, SheetContent, SheetList, SlidersIcon, fontOf } from "@agimon-ai/po-native-components";
|
|
4
4
|
import { createElement, useCallback, useEffect, useRef, useState, useSyncExternalStore } from "react";
|
|
@@ -1485,6 +1485,28 @@ var artifacts_native_default = defineFileLinks({
|
|
|
1485
1485
|
}
|
|
1486
1486
|
});
|
|
1487
1487
|
//#endregion
|
|
1488
|
+
//#region src/extensions/workspaces/sessions/(frontend)/fill/Artifacts.help.guides.native.ts
|
|
1489
|
+
var Artifacts_help_guides_native_default = defineFill({
|
|
1490
|
+
slot: "help.guides",
|
|
1491
|
+
id: "Artifacts",
|
|
1492
|
+
order: 10,
|
|
1493
|
+
data: {
|
|
1494
|
+
version: 1,
|
|
1495
|
+
label: "Artifacts",
|
|
1496
|
+
guides: [{
|
|
1497
|
+
id: "about",
|
|
1498
|
+
question: "What are artifacts?",
|
|
1499
|
+
order: 0,
|
|
1500
|
+
answer: "Artifacts are important deliverables saved in this session’s durable artifact folder. Ordinary source edits stay in your project."
|
|
1501
|
+
}, {
|
|
1502
|
+
id: "find",
|
|
1503
|
+
question: "Where do I find files Po made?",
|
|
1504
|
+
order: 1,
|
|
1505
|
+
answer: "The Artifacts activity section shows the three most recently changed files. Open its heading to see all this session’s artifacts. Previews are read-only."
|
|
1506
|
+
}]
|
|
1507
|
+
}
|
|
1508
|
+
});
|
|
1509
|
+
//#endregion
|
|
1488
1510
|
//#region generated/native.ts
|
|
1489
1511
|
const via = (identity, value) => value === void 0 ? void 0 : {
|
|
1490
1512
|
...identity,
|
|
@@ -1501,6 +1523,12 @@ const nativePlugin = defineNativePlugin({
|
|
|
1501
1523
|
},
|
|
1502
1524
|
get fileLinks() {
|
|
1503
1525
|
return artifacts_native_default;
|
|
1526
|
+
},
|
|
1527
|
+
get fills() {
|
|
1528
|
+
return [via({
|
|
1529
|
+
slot: "help.guides",
|
|
1530
|
+
id: "artifacts"
|
|
1531
|
+
}, Artifacts_help_guides_native_default)];
|
|
1504
1532
|
}
|
|
1505
1533
|
}
|
|
1506
1534
|
});
|