fix: configure plugin build and runtime deps for git-repo installs
This commit is contained in:
1 parent
53f3e1b621
commit
b2c8f4492d
6 files changed
+20
-5
No files matched your search
@@ -1,10 +1,10 @@
|
||||
import {
|
||||
type PluginPaseoApi,
|
||||
type PluginSurfaceProps,
|
||||
openExternalUrl,
|
||||
usePaseo,
|
||||
useRpc,
|
||||
} from "@getpaseo/plugin/client";
|
||||
import type { PaseoAgent, PaseoWorkspace } from "@getpaseo/client";
|
||||
import { ScrollView, TextInput, copyText, useToast } from "@getpaseo/plugin/client/ui";
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||
import { Pressable, Text, View } from "react-native";
|
||||
@@ -31,6 +31,9 @@ import {
|
||||
} from "../shared/contracts";
|
||||
import { useOpenBaoAuth } from "./use-openbao-auth";
|
||||
|
||||
type PaseoAgent = Awaited<ReturnType<PluginPaseoApi["agents"]["list"]>>["entries"][number]["agent"];
|
||||
type PaseoWorkspace = Awaited<ReturnType<PluginPaseoApi["workspaces"]["list"]>>["entries"][number];
|
||||
|
||||
interface WorkersScreenProps extends PluginSurfaceProps {
|
||||
workspaceName?: string;
|
||||
workspaceDirectory?: string;
|
||||
|
||||
Generated
+1
-1
@@ -8,6 +8,7 @@
|
||||
"name": "fly-sprites-workers",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@agentclientprotocol/sdk": "^1.4.0",
|
||||
"@fly/sprites": "^0.2.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -27,7 +28,6 @@
|
||||
"version": "1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/@agentclientprotocol/sdk/-/sdk-1.9.0.tgz",
|
||||
"integrity": "sha512-saCOTPYBK1iqWqJFAYHXbg3+zCoFXyZZFoqQAwdTWkbrZZPpAETr80QOnYr2l+dzPwL0jpNhn3eDY8MoEIDbUA==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"peerDependencies": {
|
||||
"zod": "^3.25.0 || ^4.0.0"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@agentclientprotocol/sdk": "^1.4.0",
|
||||
"@fly/sprites": "^0.2.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
+8
-1
@@ -4,5 +4,12 @@
|
||||
"media": [],
|
||||
"requirements": {
|
||||
"paseo": ">=0.16.1"
|
||||
}
|
||||
},
|
||||
"build": [
|
||||
[
|
||||
"npm",
|
||||
"ci",
|
||||
"--omit=dev"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -1,9 +1,11 @@
|
||||
import type { PaseoApi } from "@getpaseo/client";
|
||||
import type { PluginHandlerContext } from "@getpaseo/plugin/server";
|
||||
import type { HostSummary } from "@getpaseo/protocol/hosts";
|
||||
import type { Sprite } from "@fly/sprites";
|
||||
import type { SpriteAgentSummary, SpriteHostSummary } from "../shared/contracts";
|
||||
import { shellQuote, type SpritesManager } from "./sprites-manager";
|
||||
|
||||
type PaseoApi = PluginHandlerContext["paseo"];
|
||||
|
||||
const PREFERRED_PROVIDERS = [
|
||||
"antigravity",
|
||||
"claude",
|
||||
|
||||
@@ -2,11 +2,13 @@ import { mkdir, readFile, writeFile } from "node:fs/promises";
|
||||
import { homedir } from "node:os";
|
||||
import path from "node:path";
|
||||
import type { SpriteCommand } from "@fly/sprites";
|
||||
import type { PaseoApi } from "@getpaseo/client";
|
||||
import type { PluginHandlerContext } from "@getpaseo/plugin/server";
|
||||
import type { FlySpritesSettings } from "../shared/settings";
|
||||
import { getHostSpriteName, isSpriteHost } from "./sprite-hosts";
|
||||
import { sanitizeSpriteName, type SpritesManager } from "./sprites-manager";
|
||||
|
||||
type PaseoApi = PluginHandlerContext["paseo"];
|
||||
|
||||
interface KeepaliveEntry {
|
||||
spriteName: string;
|
||||
cmd: SpriteCommand | null;
|
||||
|
||||
Reference in new issue
Block a user