mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-29 04:25:52 +01:00
## Thinking Path > - Paperclip manages agents and their execution authority. > - A plugin can host Runner tasks on a persistent execution host. > - Admission checks must observe current lifecycle state and credentials. > - The current runtime reader also resolves files, skills, and connections for each check. > - Some providers also repeat the same project authentication check during submit. > - This pull request adds a compact fresh reader and an explicit submit-time validation contract. > - Providers can remove repeated work while Core keeps lease and scope checks. ## Linked Issues or Issue Description **What existing behavior does this improve?** Plugin Runner startup before task submission. **Current behavior** One measured startup made 30 full runtime reads during bootstrap. These reads took 5.759 seconds. Each guard can resolve instructions, skills, and connection assignments even when it only needs current identity and lifecycle state. Providers that already enforce project authentication in submit must also perform a separate Core preflight. **Proposed behavior** Use a lifecycle-owned runtime identity reader for guards. Keep the full runtime reader for synchronization inputs. A trusted provider can declare `projectAuthCheckAtSubmit: true` in its prepared result. Core pins the exact configuration, provider, and project set on the lease. The provider must reject authentication conflicts before credential installation or task start. Providers that omit the flag retain the existing preflight. **Reason and benefit** Estimated savings with a paired consumer: 4–5 seconds from compact runtime checks, plus roughly 0.5–0.9 seconds from removing the duplicate authentication operation. These estimates overlap and are not a measured deployed result. Refs #17367 for the separate run-log HEAD optimization; this PR does not duplicate it. **Breaking changes** No migration. The SDK adds a host method and an optional prepared-result field. Consumers that use them require this Core host version. Older providers retain their existing flow. ## What Changed - Add `agents.getRuntimeIdentity` across SDK, RPC, host service, and test fixtures. - Reuse the existing company, plugin ownership, readiness, and capability checks. Read lifecycle state and protected instance secrets fresh on every call. - Skip instruction, organization, skill, and connection hydration in the compact reader. - Allow explicit submit-time authentication enforcement, with prepared scope pinned and checked again at dispatch. - Emit fixed preparation, project-auth, submit, and connection timing phases. ## Verification - 72 targeted SDK capability, plugin task-owner, and environment-task mediator tests passed. - 33 real embedded-Postgres lifecycle and secret tests passed, including pause, content revision, company isolation, plugin disablement, and secret rotation. - SDK and server TypeScript checks passed. Local Runner/eval TypeScript outputs were built to satisfy server type resolution. - Local Postgres required missing library aliases in ignored dependencies; no product source was changed for that repair. - Full repository suites are delegated to GitHub CI. No live rollout or speedup claim. ## Risks The submit-time flag delegates enforcement to a trusted provider. It is not proof that prepare already checked authentication. The provider must check before VM credential installation or task admission. Core still checks exact prepared scope, active lease, run identity, credential type, and dispatch fencing. Existing providers keep the separate check. Roll back a paired consumer before rolling back this host. ## Model Used OpenAI GPT-6 (Codex), with code execution and repository tools. Exact deployment build and context-window size are not exposed. ## Checklist - [x] I have included a thinking path that traces from project context to this change - [x] I have specified the model used (with version and capability details) - [x] I have checked ROADMAP.md and confirmed this PR does not duplicate planned core work - [x] I have searched GitHub for duplicate or related PRs and linked them above - [x] I have described the issue in-PR following the relevant issue template - [x] I have not referenced internal/instance-local Paperclip issues or links - [x] My branch name describes the change and contains no internal ticket id - [x] I have run tests locally and they pass - [x] I have added or updated tests where applicable - [x] I have updated relevant documentation to reflect my changes - [x] I have considered and documented any risks above - [x] All Paperclip CI gates are green - [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups - [x] I will address all Greptile and reviewer comments before requesting merge Co-authored-by: Paperclip <noreply@paperclip.ing>
474 lines
14 KiB
TypeScript
474 lines
14 KiB
TypeScript
/**
|
|
* `@paperclipai/plugin-sdk` — Paperclip plugin worker-side SDK.
|
|
*
|
|
* This is the main entrypoint for plugin worker code. For plugin UI bundles,
|
|
* import from `@paperclipai/plugin-sdk/ui` instead.
|
|
*
|
|
* @example
|
|
* ```ts
|
|
* // Plugin worker entrypoint (dist/worker.ts)
|
|
* import { definePlugin, runWorker, z } from "@paperclipai/plugin-sdk";
|
|
*
|
|
* const plugin = definePlugin({
|
|
* async setup(ctx) {
|
|
* ctx.logger.info("Plugin starting up");
|
|
*
|
|
* ctx.events.on("issue.created", async (event) => {
|
|
* ctx.logger.info("Issue created", { issueId: event.entityId });
|
|
* });
|
|
*
|
|
* ctx.jobs.register("full-sync", async (job) => {
|
|
* ctx.logger.info("Starting full sync", { runId: job.runId });
|
|
* // ... sync implementation
|
|
* });
|
|
*
|
|
* ctx.data.register("sync-health", async ({ companyId }) => {
|
|
* const state = await ctx.state.get({
|
|
* scopeKind: "company",
|
|
* scopeId: String(companyId),
|
|
* stateKey: "last-sync-at",
|
|
* });
|
|
* return { lastSync: state };
|
|
* });
|
|
* },
|
|
*
|
|
* async onHealth() {
|
|
* return { status: "ok" };
|
|
* },
|
|
* });
|
|
*
|
|
* export default plugin;
|
|
* runWorker(plugin, import.meta.url);
|
|
* ```
|
|
*
|
|
* @see PLUGIN_SPEC.md §14 — SDK Surface
|
|
* @see PLUGIN_SPEC.md §29.2 — SDK Versioning
|
|
*/
|
|
|
|
// ---------------------------------------------------------------------------
|
|
// Main factory
|
|
// ---------------------------------------------------------------------------
|
|
|
|
export { definePlugin } from "./define-plugin.js";
|
|
export { createTestHarness, createEnvironmentTestHarness, createFakeEnvironmentDriver, filterEnvironmentEvents, assertEnvironmentEventOrder, assertLeaseLifecycle, assertWorkspaceRealizationLifecycle, assertExecutionLifecycle, assertEnvironmentError } from "./testing.js";
|
|
export { createPluginBundlerPresets } from "./bundlers.js";
|
|
export { startPluginDevServer, getUiBuildSnapshot } from "./dev-server.js";
|
|
export { startWorkerRpcHost, runWorker } from "./worker-rpc-host.js";
|
|
export {
|
|
createHostClientHandlers,
|
|
getRequiredCapability,
|
|
CapabilityDeniedError,
|
|
InvocationScopeDeniedError,
|
|
} from "./host-client-factory.js";
|
|
|
|
// JSON-RPC protocol helpers and constants
|
|
export {
|
|
JSONRPC_VERSION,
|
|
JSONRPC_ERROR_CODES,
|
|
PLUGIN_RPC_ERROR_CODES,
|
|
HOST_TO_WORKER_REQUIRED_METHODS,
|
|
HOST_TO_WORKER_OPTIONAL_METHODS,
|
|
MESSAGE_DELIMITER,
|
|
createRequest,
|
|
createSuccessResponse,
|
|
createErrorResponse,
|
|
createNotification,
|
|
isJsonRpcRequest,
|
|
isJsonRpcNotification,
|
|
isJsonRpcResponse,
|
|
isJsonRpcSuccessResponse,
|
|
isJsonRpcErrorResponse,
|
|
serializeMessage,
|
|
parseMessage,
|
|
JsonRpcParseError,
|
|
JsonRpcCallError,
|
|
LOGIN_PTY_OUTPUT_NOTIFICATION,
|
|
LOGIN_PTY_EXIT_NOTIFICATION,
|
|
DUPLEX_CHANNEL_DATA_NOTIFICATION,
|
|
DUPLEX_CHANNEL_EXIT_NOTIFICATION,
|
|
encodeChannelBytes,
|
|
decodeChannelBytes,
|
|
_resetIdCounter,
|
|
} from "./protocol.js";
|
|
|
|
// ---------------------------------------------------------------------------
|
|
// Type exports
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// Plugin definition and lifecycle types
|
|
export type {
|
|
PluginDefinition,
|
|
PaperclipPlugin,
|
|
PluginHealthDiagnostics,
|
|
PluginConfigChangeContext,
|
|
PluginConfigValidationResult,
|
|
PluginWebhookInput,
|
|
PluginApiRequestInput,
|
|
PluginApiResponse,
|
|
} from "./define-plugin.js";
|
|
export type {
|
|
TestHarness,
|
|
TestHarnessOptions,
|
|
TestHarnessLogEntry,
|
|
EnvironmentTestHarness,
|
|
EnvironmentTestHarnessOptions,
|
|
EnvironmentEventRecord,
|
|
FakeEnvironmentDriverOptions,
|
|
} from "./testing.js";
|
|
export type {
|
|
PluginBundlerPresetInput,
|
|
PluginBundlerPresets,
|
|
EsbuildLikeOptions,
|
|
RollupLikeConfig,
|
|
} from "./bundlers.js";
|
|
export type { PluginDevServer, PluginDevServerOptions } from "./dev-server.js";
|
|
export type {
|
|
WorkerRpcHostOptions,
|
|
WorkerRpcHost,
|
|
RunWorkerOptions,
|
|
} from "./worker-rpc-host.js";
|
|
export type {
|
|
HostServices,
|
|
HostClientFactoryOptions,
|
|
HostClientHandlers,
|
|
} from "./host-client-factory.js";
|
|
|
|
// JSON-RPC protocol types
|
|
export type {
|
|
JsonRpcId,
|
|
JsonRpcInvocationScope,
|
|
JsonRpcInvocationContext,
|
|
JsonRpcRequest,
|
|
JsonRpcSuccessResponse,
|
|
JsonRpcError,
|
|
JsonRpcErrorResponse,
|
|
JsonRpcResponse,
|
|
JsonRpcNotification,
|
|
JsonRpcMessage,
|
|
JsonRpcErrorCode,
|
|
PluginRpcErrorCode,
|
|
PluginInvocationScope,
|
|
PluginInvocationContext,
|
|
WorkerHostCallContext,
|
|
InitializeParams,
|
|
InitializeResult,
|
|
ConfigChangedParams,
|
|
ValidateConfigParams,
|
|
OnEventParams,
|
|
RunJobParams,
|
|
GetDataParams,
|
|
PerformActionParams,
|
|
PluginPerformActionActorType,
|
|
PluginPerformActionActorContext,
|
|
PluginPerformActionContext,
|
|
ExecuteToolParams,
|
|
PluginExternalObjectUrlCandidate,
|
|
PluginExternalObjectSourceContext,
|
|
DetectExternalObjectsParams,
|
|
PluginExternalObjectDetection,
|
|
DetectExternalObjectsResult,
|
|
PluginExternalObjectRecordSnapshot,
|
|
ResolveExternalObjectParams,
|
|
PluginExternalObjectResolvedSnapshot,
|
|
PluginExternalObjectResolveResult,
|
|
RefreshExternalObjectsParams,
|
|
RefreshExternalObjectsResult,
|
|
PluginEnvironmentDiagnostic,
|
|
PluginEnvironmentDriverBaseParams,
|
|
PluginEnvironmentValidateConfigParams,
|
|
PluginEnvironmentValidationResult,
|
|
PluginEnvironmentProbeParams,
|
|
PluginEnvironmentProbeResult,
|
|
PluginEnvironmentLease,
|
|
PluginEnvironmentAcquireLeaseParams,
|
|
PluginEnvironmentResumeLeaseParams,
|
|
PluginEnvironmentReleaseLeaseParams,
|
|
PluginEnvironmentTerminationReceipt,
|
|
PluginEnvironmentDestroyLeaseParams,
|
|
PluginEnvironmentInspectLeaseParams,
|
|
PluginEnvironmentLeaseObservation,
|
|
PluginEnvironmentRealizeWorkspaceParams,
|
|
PluginEnvironmentRealizeWorkspaceResult,
|
|
PluginEnvironmentExecuteParams,
|
|
PluginEnvironmentExecuteResult,
|
|
PluginEnvironmentRunnerIngressEndpointParams,
|
|
PluginEnvironmentRunnerIngressEndpoint,
|
|
PluginSyncFileMapping,
|
|
PluginPostUploadCommand,
|
|
PluginSyncOperation,
|
|
PluginEnvironmentSyncInParams,
|
|
PluginEnvironmentSyncOutParams,
|
|
PluginEnvironmentSyncResult,
|
|
PluginEnvironmentInteractiveSetupStatus,
|
|
PluginEnvironmentInteractiveSetupConnectionType,
|
|
PluginEnvironmentTemplateRefKind,
|
|
PluginEnvironmentInteractiveSetupConnectionSummary,
|
|
PluginEnvironmentInteractiveSetupConnectionPayload,
|
|
PluginEnvironmentInteractiveSetupSession,
|
|
PluginEnvironmentStartInteractiveSetupParams,
|
|
PluginEnvironmentGetInteractiveSetupParams,
|
|
PluginEnvironmentCaptureTemplateParams,
|
|
PluginEnvironmentCaptureTemplateResult,
|
|
PluginEnvironmentCancelInteractiveSetupParams,
|
|
PluginEnvironmentCancelInteractiveSetupResult,
|
|
PluginEnvironmentDeleteTemplateParams,
|
|
PluginEnvironmentDeleteTemplateResult,
|
|
PluginModalBoundsRequest,
|
|
PluginRenderCloseEvent,
|
|
PluginLauncherRenderContextSnapshot,
|
|
HostToWorkerMethods,
|
|
HostToWorkerMethodName,
|
|
WorkerToHostMethods,
|
|
WorkerToHostMethodName,
|
|
HostToWorkerRequest,
|
|
HostToWorkerResponse,
|
|
WorkerToHostRequest,
|
|
WorkerToHostResponse,
|
|
WorkerToHostNotifications,
|
|
WorkerToHostNotificationName,
|
|
} from "./protocol.js";
|
|
|
|
// Plugin context and all client interfaces
|
|
export type {
|
|
PluginContext,
|
|
PluginConfigClient,
|
|
PluginLocalFolderProblem,
|
|
PluginLocalFolderStatus,
|
|
PluginLocalFolderConfigureInput,
|
|
PluginLocalFolderListOptions,
|
|
PluginLocalFolderEntry,
|
|
PluginLocalFolderListing,
|
|
PluginLocalFoldersClient,
|
|
PluginEventsClient,
|
|
ResourceLifecycleEvent,
|
|
ResourceLifecycleResult,
|
|
PluginJobsClient,
|
|
PluginLaunchersClient,
|
|
PluginHttpClient,
|
|
PluginSecretsClient,
|
|
PluginActivityClient,
|
|
PluginActivityLogEntry,
|
|
PluginStateClient,
|
|
PluginEntitiesClient,
|
|
PluginProjectsClient,
|
|
PluginExecutionWorkspacesClient,
|
|
PluginSkillsClient,
|
|
PluginCompaniesClient,
|
|
PluginIssuesClient,
|
|
PluginIssueMutationActor,
|
|
PluginIssueRelationsClient,
|
|
PluginIssueRelationSummary,
|
|
PluginIssueCheckoutOwnership,
|
|
PluginIssueWakeupResult,
|
|
PluginIssueWakeupBatchResult,
|
|
PluginIssueRunSummary,
|
|
PluginIssueApprovalSummary,
|
|
PluginIssueCostSummary,
|
|
PluginBudgetIncidentSummary,
|
|
PluginIssueInvocationBlockSummary,
|
|
PluginIssueOrchestrationSummary,
|
|
PluginIssueSubtreeOptions,
|
|
PluginIssueAssigneeSummary,
|
|
PluginIssueSubtree,
|
|
PluginIssueSummariesClient,
|
|
PluginAgentsClient,
|
|
PluginAgentRuntimeState,
|
|
PluginAgentRuntimeIdentity,
|
|
PluginAgentConnectionAssignments,
|
|
PluginAgentRuntimeSkill,
|
|
PluginAccessClient,
|
|
PluginAccessMembersClient,
|
|
PluginAccessInvitesClient,
|
|
PluginAccessMember,
|
|
PluginAccessInvite,
|
|
PluginAuthorizationClient,
|
|
PluginAuthorizationPolicySummary,
|
|
PluginAuthorizationPolicyRecord,
|
|
PluginAssignmentPreviewInput,
|
|
PluginAuthorizationDecisionResult,
|
|
PluginAuthorizationAuditEntry,
|
|
PluginAgentSessionsClient,
|
|
AgentSession,
|
|
AgentSessionEvent,
|
|
AgentSessionSendResult,
|
|
PluginGoalsClient,
|
|
PluginDataClient,
|
|
PluginActionsClient,
|
|
PluginStreamsClient,
|
|
PluginToolsClient,
|
|
PluginMetricsClient,
|
|
PluginTelemetryClient,
|
|
PluginLogger,
|
|
PluginTracer,
|
|
PluginSpan,
|
|
} from "./types.js";
|
|
|
|
// Tracer no-op default (a value, so it re-exports here, not in the type block).
|
|
export { NOOP_PLUGIN_TRACER, NOOP_PLUGIN_SPAN } from "./types.js";
|
|
|
|
// Supporting types for context clients
|
|
export type {
|
|
ScopeKey,
|
|
EventFilter,
|
|
PluginEvent,
|
|
PluginJobContext,
|
|
PluginLauncherRegistration,
|
|
ToolRunContext,
|
|
ToolResult,
|
|
PluginEntityUpsert,
|
|
PluginEntityRecord,
|
|
PluginEntityQuery,
|
|
PluginWorkspace,
|
|
PluginExecutionWorkspaceMetadata,
|
|
Company,
|
|
Project,
|
|
Issue,
|
|
IssueComment,
|
|
IssueDocumentSummary,
|
|
Agent,
|
|
Goal,
|
|
PermissionKey,
|
|
PrincipalPermissionGrant,
|
|
PrincipalType,
|
|
PluginDatabaseClient,
|
|
HumanCompanyMembershipRole,
|
|
MembershipStatus,
|
|
EnvSecretRefBinding,
|
|
} from "./types.js";
|
|
|
|
// Manifest and constant types re-exported from @paperclipai/shared
|
|
// Plugin authors import manifest types from here so they have a single
|
|
// dependency (@paperclipai/plugin-sdk) for all plugin authoring needs.
|
|
export type {
|
|
PaperclipPluginManifestV1,
|
|
PluginJobDeclaration,
|
|
PluginWebhookDeclaration,
|
|
PluginToolDeclaration,
|
|
PluginEnvironmentDriverDeclaration,
|
|
PluginEnvironmentTemplateConfigBinding,
|
|
PluginManagedAgentDeclaration,
|
|
PluginManagedAgentResolution,
|
|
PluginManagedProjectDeclaration,
|
|
PluginManagedProjectResolution,
|
|
PluginManagedRoutineDeclaration,
|
|
PluginManagedRoutineResolution,
|
|
PluginManagedSkillDeclaration,
|
|
PluginManagedSkillFileDeclaration,
|
|
PluginManagedSkillResolution,
|
|
CompanySkill,
|
|
PluginManagedResourceKind,
|
|
PluginManagedResourceRef,
|
|
PluginUiSlotDeclaration,
|
|
PluginUiDeclaration,
|
|
PluginLauncherActionDeclaration,
|
|
PluginLauncherRenderDeclaration,
|
|
PluginLauncherDeclaration,
|
|
PluginMinimumHostVersion,
|
|
PluginDatabaseDeclaration,
|
|
PluginApiRouteCompanyResolution,
|
|
PluginApiRouteDeclaration,
|
|
PluginLocalFolderDeclaration,
|
|
PluginCompanySettings,
|
|
PluginObjectReferenceRefreshPolicy,
|
|
PluginObjectReferenceProviderDeclaration,
|
|
PluginRecord,
|
|
PluginDatabaseNamespaceRecord,
|
|
PluginMigrationRecord,
|
|
PluginConfig,
|
|
JsonSchema,
|
|
PluginStatus,
|
|
PluginCategory,
|
|
PluginCapability,
|
|
PluginUiSlotType,
|
|
PluginUiSlotEntityType,
|
|
PluginLauncherPlacementZone,
|
|
PluginLauncherAction,
|
|
PluginLauncherBounds,
|
|
PluginLauncherRenderEnvironment,
|
|
PluginStateScopeKind,
|
|
PluginJobStatus,
|
|
PluginJobRunStatus,
|
|
PluginJobRunTrigger,
|
|
PluginWebhookDeliveryStatus,
|
|
PluginDatabaseCoreReadTable,
|
|
PluginDatabaseMigrationStatus,
|
|
PluginDatabaseNamespaceMode,
|
|
PluginDatabaseNamespaceStatus,
|
|
PluginApiRouteAuthMode,
|
|
PluginApiRouteCheckoutPolicy,
|
|
PluginApiRouteMethod,
|
|
PluginEventType,
|
|
PluginBridgeErrorCode,
|
|
ConnectionIntentInteraction,
|
|
ConnectionIntentPayload,
|
|
ConnectionIntentResult,
|
|
ConnectionIntentSetupOptions,
|
|
ConnectionRequestResult,
|
|
ConnectionsSearchResult,
|
|
} from "./types.js";
|
|
|
|
// ---------------------------------------------------------------------------
|
|
// Zod re-export
|
|
// ---------------------------------------------------------------------------
|
|
|
|
/**
|
|
* Zod is re-exported for plugin authors to use when defining their
|
|
* `instanceConfigSchema` and tool `parametersSchema`.
|
|
*
|
|
* Plugin authors do not need to add a separate `zod` dependency.
|
|
*
|
|
* @see PLUGIN_SPEC.md §14.1 — Example SDK Shape
|
|
*
|
|
* @example
|
|
* ```ts
|
|
* import { z } from "@paperclipai/plugin-sdk";
|
|
*
|
|
* const configSchema = z.object({
|
|
* apiKey: z.string().describe("Your API key"),
|
|
* workspace: z.string().optional(),
|
|
* });
|
|
* ```
|
|
*/
|
|
export { z } from "zod";
|
|
|
|
// ---------------------------------------------------------------------------
|
|
// Constants re-exports (for plugin code that needs to check values at runtime)
|
|
// ---------------------------------------------------------------------------
|
|
|
|
export {
|
|
PLUGIN_API_VERSION,
|
|
PLUGIN_STATUSES,
|
|
PLUGIN_CATEGORIES,
|
|
PLUGIN_CAPABILITIES,
|
|
PLUGIN_UI_SLOT_TYPES,
|
|
PLUGIN_UI_SLOT_ENTITY_TYPES,
|
|
PLUGIN_RESERVED_COMPANY_SETTINGS_ROUTE_SEGMENTS,
|
|
PLUGIN_STATE_SCOPE_KINDS,
|
|
PLUGIN_JOB_STATUSES,
|
|
PLUGIN_JOB_RUN_STATUSES,
|
|
PLUGIN_JOB_RUN_TRIGGERS,
|
|
PLUGIN_WEBHOOK_DELIVERY_STATUSES,
|
|
PLUGIN_EVENT_TYPES,
|
|
PLUGIN_BRIDGE_ERROR_CODES,
|
|
PERMISSION_KEYS,
|
|
HUMAN_COMPANY_MEMBERSHIP_ROLES,
|
|
HUMAN_COMPANY_MEMBERSHIP_ROLE_LABELS,
|
|
MEMBERSHIP_STATUSES,
|
|
PRINCIPAL_TYPES,
|
|
} from "@paperclipai/shared";
|
|
|
|
export { PluginEnvironmentCreationCleanupError, environmentCreationCleanupErrorData, readEnvironmentCreationCleanupError, readEnvironmentAcquisitionDiagnostic, ENVIRONMENT_ACQUISITION_PROVIDER_STATES } from "./environment-creation-cleanup.js";
|
|
export type { PluginEnvironmentCreationCleanup, PluginEnvironmentAcquisitionDiagnostic, PluginEnvironmentAcquisitionProviderState } from "./environment-creation-cleanup.js";
|
|
export { preserveEnvironmentSyncErrorDiagnostic, environmentSyncErrorData, readEnvironmentSyncErrorDiagnostic, withEnvironmentSyncErrorCapture, withEnvironmentSyncTransferStep, recordEnvironmentSyncError } from "./environment-sync-error.js";
|
|
export type { PluginEnvironmentSyncErrorDiagnostic } from "./environment-sync-error.js";
|
|
|
|
export type { AiConnectionPool, AiConnectionPoolConfig, AiConnectionPoolMember, AiConnectionRouterRequest, AiConnectionRouterResult, AiConnectionRouterSelection } from "@paperclipai/shared";
|
|
|
|
export { MAX_ENVIRONMENT_TASK_FILE_BYTES, environmentRunnerLaunchRequirementsSchema, environmentTaskOperationSchema, environmentTaskResultSchema, environmentTaskCredentialSchema, parseEnvironmentTaskResult } from "./environment-tasks.js";
|
|
export type { PluginEnvironmentTaskOperation, PluginEnvironmentTaskParams, PluginEnvironmentTaskResult, PluginEnvironmentTaskCredential } from "./environment-tasks.js";
|
|
export type { AgentLifecycleRequest, AgentLifecycleResult } from "@paperclipai/shared";
|
|
|
|
export type { PluginEnvironmentRunnerLaunchRequirements, PluginEnvironmentPreparedLaunch } from "./environment-tasks.js";
|
|
|
|
export * from "./workspace-provider.js";
|