mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
* Add Chat UI choice to onboarding and tailor agent tours * Add setup guide controls for Chat UI and Yolo permissions * Refresh native chat agents and improve surface radio controls - Re-read the host inventory alongside workspace refreshes, including WSL - Recognize downloaded, ready chat runtimes without a CLI on PATH - Standardize onboarding and checklist surface choices on accessible radio variants * Show full-access agent overrides in Yolo mode settings * Polish Chat UI onboarding and clarify terminal fallbacks - Group agents by launch surface and refresh selection previews - Add scroll-edge fades to reveal clipped onboarding content * Recognize ready custom Chat commands and nested scroll changes * Advance agent tour after selecting a new tab type * Install onboarding skills for selected chat providers - Route Chat UI setup to local provider-specific skill roots - Improve tour focus, Escape handling, and delayed target transitions * Keep split lesson while a new pane mounts; update renamed skill in test * Assert agentDefaultSurface in Chat UI onboarding e2e * Open the chosen Chat UI agent when a new project's default checkout opens * Make the onboarding chat preview match native chat - Soften the selected preview tile styling. - Accept a leading separator in dev:fresh arguments. * Fix scrolling in the onboarding agent step * Preserve initial working directory when opening empty workspaces Also check only remaining tour steps for unfinished actions. * Fix tour resumption after completed split steps
89 lines
3.8 KiB
TypeScript
89 lines
3.8 KiB
TypeScript
import type { SkillDiscoveryResult, SkillDiscoveryTarget } from '../../shared/skills'
|
|
import type {
|
|
SkillCloudOperation,
|
|
SkillCloudOwnedShare,
|
|
SkillCloudPackageDetails
|
|
} from '../../shared/skill-cloud-contract'
|
|
import type {
|
|
ManagedSkillInstallListOperation,
|
|
SkillBundleInstallPreviewInput,
|
|
SkillBundleInstallPreviewOperation,
|
|
SkillBundlePackageVersionInstallInput,
|
|
SkillBundleShareInstallInput,
|
|
SkillBundleShareInstallOperation,
|
|
SkillInstallCancelInput,
|
|
SkillInstallPreviewInput,
|
|
SkillInstallPreviewOperation,
|
|
SkillInstallProgress,
|
|
SkillPackageVersionInstallInput,
|
|
SkillRemoveInput,
|
|
SkillRemoveOperation,
|
|
SkillShareInstallInput,
|
|
SkillShareInstallOperation,
|
|
SkillSharePreview,
|
|
SkillShareProgress,
|
|
SkillSharePublishInput,
|
|
SkillSharePublishOperation,
|
|
SkillShareResolvedOperation
|
|
} from '../../shared/skill-sharing-contract'
|
|
import type {
|
|
BundledSkillAutoUpdateRequest,
|
|
LocalBundledSkillExecuteRequest,
|
|
BundledSkillInstallResult,
|
|
BundledSkillPlan,
|
|
LocalBundledSkillPlanRequest
|
|
} from '../../shared/bundled-skill-plan'
|
|
|
|
import type {
|
|
SkillDeletePlan,
|
|
SkillDeleteRequest,
|
|
SkillDeleteResult
|
|
} from '../../shared/skill-delete-contract'
|
|
|
|
export type SkillsApi = {
|
|
discover: (target?: SkillDiscoveryTarget) => Promise<SkillDiscoveryResult>
|
|
/** This machine's plan for Orca's installed skills; paired hosts plan over RPC. */
|
|
bundledPlan: (request?: LocalBundledSkillPlanRequest) => Promise<BundledSkillPlan>
|
|
bundledExecute: (request: LocalBundledSkillExecuteRequest) => Promise<BundledSkillInstallResult>
|
|
bundledAutoUpdate: (request: BundledSkillAutoUpdateRequest) => Promise<BundledSkillInstallResult>
|
|
prepareShare: (input: {
|
|
skillIds: string[]
|
|
skillDirectories?: string[]
|
|
bundleName: string
|
|
target?: SkillDiscoveryTarget
|
|
packageId?: string
|
|
}) => Promise<SkillSharePreview>
|
|
publishShare: (input: SkillSharePublishInput) => Promise<SkillSharePublishOperation>
|
|
cancelShare: (preparationId: string) => Promise<void>
|
|
releaseShare: (preparationId: string) => Promise<void>
|
|
resolveShare: (shareId: string) => Promise<SkillShareResolvedOperation>
|
|
installShare: (input: SkillShareInstallInput) => Promise<SkillShareInstallOperation>
|
|
installBundleShare: (
|
|
input: SkillBundleShareInstallInput
|
|
) => Promise<SkillBundleShareInstallOperation>
|
|
installBundlePackageVersion: (
|
|
input: SkillBundlePackageVersionInstallInput
|
|
) => Promise<SkillBundleShareInstallOperation>
|
|
installPackageVersion: (
|
|
input: SkillPackageVersionInstallInput
|
|
) => Promise<SkillShareInstallOperation>
|
|
cancelInstall: (input: SkillInstallCancelInput) => Promise<{ cancelled: boolean }>
|
|
previewInstall: (input: SkillInstallPreviewInput) => Promise<SkillInstallPreviewOperation>
|
|
previewBundleInstall: (
|
|
input: SkillBundleInstallPreviewInput
|
|
) => Promise<SkillBundleInstallPreviewOperation>
|
|
removeInstall: (input: SkillRemoveInput) => Promise<SkillRemoveOperation>
|
|
/** Always true on desktop; web clients may use a server predating skill deletion. */
|
|
deleteSupported: () => Promise<boolean>
|
|
previewDelete: (request: SkillDeleteRequest) => Promise<SkillDeletePlan>
|
|
delete: (request: SkillDeleteRequest) => Promise<SkillDeleteResult>
|
|
listManagedInstalls: (environmentId?: string) => Promise<ManagedSkillInstallListOperation>
|
|
getPackage: (packageId: string) => Promise<SkillCloudOperation<SkillCloudPackageDetails>>
|
|
listOwnedShares: () => Promise<SkillCloudOperation<SkillCloudOwnedShare[]>>
|
|
revokeShare: (shareId: string) => Promise<SkillCloudOperation<void>>
|
|
deletePackage: (packageId: string) => Promise<SkillCloudOperation<void>>
|
|
listWslDistros: (environmentId?: string) => Promise<string[]>
|
|
onInstallProgress: (callback: (progress: SkillInstallProgress) => void) => () => void
|
|
onShareProgress: (callback: (progress: SkillShareProgress) => void) => () => void
|
|
}
|