@pstdio/sdk 0.35.0 → 0.36.1
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.
- package/README.md +33 -6
- package/dist/api/index.js +2200 -893
- package/dist/api.d.ts +4 -4
- package/dist/client/index.js +6 -4
- package/dist/client.d.ts +1 -1
- package/dist/data/index.js +4 -4
- package/dist/data.d.ts +2 -2
- package/dist/extensions/index.js +9 -5
- package/dist/extensions.d.ts +2 -2
- package/dist/hooks.d.ts +4 -4
- package/dist/{index-x7CdJPRb.d.ts → index-CJUDgZmO.d.ts} +87 -145
- package/dist/{index-Cm5A8d4m.d.ts → index-KZC6jRip.d.ts} +10 -7
- package/dist/{index-iez3LrOK.d.ts → index-uADamSuQ.d.ts} +1 -1
- package/dist/resources/index.js +2200 -893
- package/dist/resources.d.ts +3 -3
- package/dist/sessions-CPa_dPkI.d.ts +2 -0
- package/dist/skills-CPa_dPkI.d.ts +2 -0
- package/dist/testing.d.ts +1 -1
- package/package.json +1 -1
- package/dist/sessions-DcxmP7uF.d.ts +0 -2
- package/dist/skills-DcxmP7uF.d.ts +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $a as
|
|
2
|
-
import "./skills-
|
|
3
|
-
import { n as WorkspaceListItem, t as Workspace } from "./index-
|
|
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-CJUDgZmO.js";
|
|
2
|
+
import "./skills-CPa_dPkI.js";
|
|
3
|
+
import { n as WorkspaceListItem, t as Workspace } from "./index-uADamSuQ.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>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as WorkspaceListItem$1, s as Workspace$1 } from "./index-
|
|
1
|
+
import { d as WorkspaceListItem$1, s as Workspace$1 } from "./index-CJUDgZmO.js";
|
|
2
2
|
//#region src/resources/workspace.d.ts
|
|
3
3
|
type Workspace = Workspace$1;
|
|
4
4
|
type WorkspaceListItem = WorkspaceListItem$1;
|