@pstdio/sdk 0.35.0 → 0.36.0

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 { d as WorkspaceListItem$1, s as Workspace$1 } from "./index-x7CdJPRb.js";
1
+ import { d as WorkspaceListItem$1, s as Workspace$1 } from "./index-CR17_9lz.js";
2
2
  //#region src/resources/workspace.d.ts
3
3
  type Workspace = Workspace$1;
4
4
  type WorkspaceListItem = WorkspaceListItem$1;
@@ -1,6 +1,6 @@
1
- import { $a as UpdateSkillInput, B as DispatchExtensionEventInput, Bd as AgentModel, Eo as UpdateNotificationInput, H as ExtensionConnectionRecord, L as UpgradeProjectExtensionResponse, M as EnableInstalledExtensionResponse, P as ListProjectExtensionsResponse, Q as ListExtensionCommandsResponse, Qa as SkillWithContent, R as CommandExecuteRequest, To as NotificationStatus, U as ListExtensionConnectionsResponse, Ud as ListActivityResponse, V as ConfigureExtensionConnectionInput, Wd as ListProjectActivityInput, Xa as Skill, Z as ListExtensionAppearanceResponse, _ as RegisterRepoInput, _o as ListNotificationsQuery, a as RemoveWorktreeResponse, ao as ListSessionActivityResponse, b as Project, c as WorkspaceFileContent, co as Session, ct as CreateAutomationRunInput, do as SessionConversationResponse, dt as ListAutomationRunEventsResponse, eo as ApprovalInput, f as WorkspaceProviderDescriptor, ft as ListAutomationTokensResponse, go as CreateNotificationInput, h as UpdateSettingsInput, i as ListWorkspaceFilesInput, io as ListSessionActivityInput, j as EnableInstalledExtensionRequest, l as WorkspaceFileEntry, lo as SessionAttachment, lt as IssueAutomationTokenInput, m as Settings, mo as SessionQueuedMessagesResponse, n as ListWorkspaceActivityInput, no as FollowUpInput, o as RenameWorkspaceInput, oo as ResolveSessionIdInput, p as WriteWorkspaceFileInput, po as SessionHistoryIssue, r as ListWorkspaceActivityResponse, ro as FollowUpResponse, rt as AutomationRun, so as ResolveSessionIdResponse, t as CreateWorkspaceInput, to as CreateSessionInput, u as WorkspaceFilesResponse, ut as IssueAutomationTokenResponse, v as Repo, vo as ListNotificationsResponse, y as CreateProjectInput, yo as Notification, z as CommandExecuteResponse, zd as AgentInfo } from "./index-x7CdJPRb.js";
2
- import "./skills-DcxmP7uF.js";
3
- import { n as WorkspaceListItem, t as Workspace } from "./index-iez3LrOK.js";
1
+ import { $a as FollowUpInput, A as EnableInstalledExtensionRequest, B as ConfigureExtensionConnectionInput, Co as UpdateNotificationInput, Fd as AgentModel, H as ListExtensionConnectionsResponse, I as UpgradeProjectExtensionResponse, L as CommandExecuteRequest, N as ListProjectExtensionsResponse, Pd as AgentInfo, Qa as CreateSessionInput, R as CommandExecuteResponse, Rd as ListActivityResponse, So as NotificationStatus, V as ExtensionConnectionRecord, X as ListExtensionAppearanceResponse, Xa as UpdateSkillInput, Ya as SkillWithContent, Z as ListExtensionCommandsResponse, Za as ApprovalInput, _ as CreateProjectInput, a as RemoveWorktreeResponse, ao as Session, c as WorkspaceFileContent, co as SessionConversationResponse, ct as IssueAutomationTokenInput, do as SessionQueuedMessagesResponse, dt as ListAutomationTokensResponse, eo as FollowUpResponse, f as WorkspaceProviderDescriptor, go as Notification, h as UpdateSettingsInput, ho as ListNotificationsResponse, i as ListWorkspaceFilesInput, io as ResolveSessionIdResponse, j as EnableInstalledExtensionResponse, l as WorkspaceFileEntry, lo as SessionConversationSources, lt as IssueAutomationTokenResponse, m as Settings, mo as ListNotificationsQuery, n as ListWorkspaceActivityInput, no as ListSessionActivityResponse, nt as AutomationRun, o as RenameWorkspaceInput, oo as SessionAttachment, p as WriteWorkspaceFileInput, po as CreateNotificationInput, qa as Skill, r as ListWorkspaceActivityResponse, ro as ResolveSessionIdInput, st as CreateAutomationRunInput, t as CreateWorkspaceInput, to as ListSessionActivityInput, u as WorkspaceFilesResponse, uo as SessionHistoryIssue, ut as ListAutomationRunEventsResponse, v as Project, y as UpdateProjectInput, z as DispatchExtensionEventInput, zd as ListProjectActivityInput } from "./index-CR17_9lz.js";
2
+ import "./skills-BfZI6tY0.js";
3
+ import { n as WorkspaceListItem, t as Workspace } from "./index-DHgymE3o.js";
4
4
  //#region src/client/request.d.ts
5
5
  type ClientOptions = {
6
6
  baseUrl?: string;
@@ -60,7 +60,6 @@ interface DirectoryEntry {
60
60
  name: string;
61
61
  path: string;
62
62
  isDirectory: boolean;
63
- isGitRepo: boolean;
64
63
  }
65
64
  declare const createFilesystemClient: (request: RequestFn) => {
66
65
  list: (path?: string) => Promise<{
@@ -103,11 +102,11 @@ type ProjectClient = {
103
102
  list(): Promise<Project[]>;
104
103
  get(projectId: string): Promise<Project>;
105
104
  create(input: CreateProjectInput): Promise<Project>;
105
+ attachInitialWorkspace(projectId: string, input: CreateProjectInput["initial_workspace"]): Promise<Workspace>;
106
+ retrySetup(projectId: string): Promise<Workspace>;
107
+ update(projectId: string, input: UpdateProjectInput): Promise<Project>;
106
108
  delete(projectId: string): Promise<void>;
107
109
  listActivity(projectId: string, input?: ListProjectActivityInput): Promise<ListActivityResponse>;
108
- listRepos(projectId: string): Promise<Repo[]>;
109
- registerRepo(projectId: string, input: RegisterRepoInput): Promise<Repo>;
110
- removeRepo(projectId: string, repoId: string): Promise<void>;
111
110
  };
112
111
  //#endregion
113
112
  //#region src/client/runtime.d.ts
@@ -143,6 +142,10 @@ type SessionClient = {
143
142
  followUp(sessionId: string, input: FollowUpInput): Promise<FollowUpResponse>;
144
143
  approve(sessionId: string, input: ApprovalInput): Promise<void>;
145
144
  getConversation(sessionId: string, signal?: AbortSignal): Promise<SessionConversationResponse>;
145
+ getConversationSources(sessionId: string, signal?: AbortSignal): Promise<SessionConversationSources>;
146
+ getQueuedMessages(sessionId: string, options?: {
147
+ signal?: AbortSignal;
148
+ }): Promise<SessionQueuedMessagesResponse>;
146
149
  resolveSessionId(input: ResolveSessionIdInput): Promise<ResolveSessionIdResponse>;
147
150
  updateStatus(sessionId: string, status: string): Promise<Session>;
148
151
  listActivity(sessionId: string, input?: ListSessionActivityInput): Promise<ListSessionActivityResponse>;