openpond 0.0.30-bootstrap.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.
- package/CHANGELOG.md +128 -0
- package/LICENSE +21 -0
- package/README.md +162 -0
- package/RELEASE.md +20 -0
- package/dist/api/core.d.ts +22 -0
- package/dist/api/deployments.d.ts +30 -0
- package/dist/api/types.d.ts +624 -0
- package/dist/api.d.ts +90 -0
- package/dist/cache.d.ts +22 -0
- package/dist/chunks/app-layer-YKXEQGOW.js +163 -0
- package/dist/chunks/apps-GGSIN2ZF.js +539 -0
- package/dist/chunks/chunk-3CC6MH35.js +1663 -0
- package/dist/chunks/chunk-3Y4EL3P6.js +1090 -0
- package/dist/chunks/chunk-4HYJG2JE.js +3875 -0
- package/dist/chunks/chunk-5G4E547X.js +294 -0
- package/dist/chunks/chunk-74O6FGVN.js +598 -0
- package/dist/chunks/chunk-AUJLPKGI.js +632 -0
- package/dist/chunks/chunk-BYAPLT37.js +744 -0
- package/dist/chunks/chunk-FUP7EGT7.js +1845 -0
- package/dist/chunks/chunk-I6HN3ZGW.js +88 -0
- package/dist/chunks/chunk-KRKGHVMQ.js +294 -0
- package/dist/chunks/chunk-LHYK6QO2.js +1300 -0
- package/dist/chunks/chunk-NLBKZZEK.js +224 -0
- package/dist/chunks/chunk-OG75GMVO.js +1 -0
- package/dist/chunks/chunk-Q57SVPEH.js +11663 -0
- package/dist/chunks/chunk-UACZUFIA.js +47 -0
- package/dist/chunks/chunk-VQX33YAG.js +5135 -0
- package/dist/chunks/chunk-W5GKHH77.js +168 -0
- package/dist/chunks/chunk-WYDVQOBL.js +17581 -0
- package/dist/chunks/chunk-XSAXENQD.js +4167 -0
- package/dist/chunks/chunk-Y6G6WRTG.js +210 -0
- package/dist/chunks/cli-NVKNE4AZ.js +11 -0
- package/dist/chunks/cli-X3HPLSOV.js +19 -0
- package/dist/chunks/core-commands-IM2UKLU4.js +41 -0
- package/dist/chunks/extend-YXCBULPO.js +84 -0
- package/dist/chunks/harness-GMK6IY2U.js +140 -0
- package/dist/chunks/help-LMH5FGT2.js +65 -0
- package/dist/chunks/opchat-BWXZ32GX.js +169 -0
- package/dist/chunks/organizations-4ISQRGMQ.js +738 -0
- package/dist/chunks/profile-NLDZDT3L.js +1110 -0
- package/dist/chunks/project-agent-ZPVO25HA.js +892 -0
- package/dist/chunks/sandbox-command-5GFJ2U3V.js +1652 -0
- package/dist/chunks/sandbox-template-LZN4F55Z.js +1646 -0
- package/dist/chunks/src-3RBI4DNN.js +3595 -0
- package/dist/chunks/src-EYXQS6XD.js +73427 -0
- package/dist/chunks/teams-bot-WP3FHKGA.js +137 -0
- package/dist/cli.js +77 -0
- package/dist/client-types.d.ts +222 -0
- package/dist/client.d.ts +19 -0
- package/dist/config.d.ts +184 -0
- package/dist/hosted-chat.d.ts +162 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +25481 -0
- package/dist/indicators.d.ts +38 -0
- package/dist/opchat-smoke.d.ts +47 -0
- package/dist/private-json-file.d.ts +3 -0
- package/dist/profile/local-profile-types.d.ts +160 -0
- package/dist/profile/local-profile.d.ts +69 -0
- package/dist/profile/profile-catalog.d.ts +14 -0
- package/dist/profile/profile-git.d.ts +17 -0
- package/dist/profile/profile-promotion.d.ts +21 -0
- package/dist/profile/profile-setup-gate.d.ts +22 -0
- package/dist/profile/profile-skills.d.ts +30 -0
- package/dist/profile/profile-source-upload.d.ts +29 -0
- package/dist/profile/source-upload-cache.d.ts +29 -0
- package/dist/sandbox/async-request-options.d.ts +2 -0
- package/dist/sandbox/client-handles.d.ts +113 -0
- package/dist/sandbox/client.d.ts +348 -0
- package/dist/sandbox/runtime-handle.d.ts +36 -0
- package/dist/sandbox/sandbox-instance-client.d.ts +72 -0
- package/dist/sandbox/smoke.d.ts +3 -0
- package/dist/sandbox/stream.d.ts +7 -0
- package/dist/sandbox/types/billing.d.ts +176 -0
- package/dist/sandbox/types/client.d.ts +103 -0
- package/dist/sandbox/types/core.d.ts +140 -0
- package/dist/sandbox/types/index.d.ts +14 -0
- package/dist/sandbox/types/io.d.ts +240 -0
- package/dist/sandbox/types/microsoft-teams-bot.d.ts +51 -0
- package/dist/sandbox/types/org-project-agent.d.ts +610 -0
- package/dist/sandbox/types/record.d.ts +53 -0
- package/dist/sandbox/types/responses.d.ts +295 -0
- package/dist/sandbox/types/runtime-profiles.d.ts +15 -0
- package/dist/sandbox/types/runtime.d.ts +152 -0
- package/dist/sandbox/types/schedules.d.ts +141 -0
- package/dist/sandbox/types/snapshots.d.ts +205 -0
- package/dist/sandbox/types/workflow-modes.d.ts +1 -0
- package/dist/sandbox/types/workload-sources.d.ts +20 -0
- package/dist/sandbox/url.d.ts +2 -0
- package/dist/sandbox-template/manifest.d.ts +304 -0
- package/dist/sandbox-template/manifest.js +18381 -0
- package/dist/skills/openpond-cli/SKILL.md +49 -0
- package/dist/skills/openpond-desktop-harness/SKILL.md +113 -0
- package/dist/skills/openpond-desktop-harness/agents/openai.yaml +4 -0
- package/dist/skills/openpond-taskset-authoring/SKILL.md +38 -0
- package/dist/skills/openpond-taskset-authoring/references/graders-and-rewards.md +11 -0
- package/dist/skills/openpond-taskset-authoring/references/method-selection.md +12 -0
- package/dist/skills/openpond-taskset-authoring/references/privacy-and-provenance.md +8 -0
- package/dist/skills/openpond-taskset-authoring/references/task-design.md +13 -0
- package/dist/stream.d.ts +20 -0
- package/dist/types.d.ts +57 -0
- package/dist/urls.d.ts +4 -0
- package/dist/web/assets/AppsView-Bu-Nc3Ew.js +1 -0
- package/dist/web/assets/AppsView-DIhprTIC.css +1 -0
- package/dist/web/assets/BrowserSidebar-CCguQ-DR.js +1 -0
- package/dist/web/assets/BrowserSidebar-D9i7gQzw.css +1 -0
- package/dist/web/assets/CloudWorkView-DNoPIlMj.css +1 -0
- package/dist/web/assets/CloudWorkView-Dr3xqLE5.js +1 -0
- package/dist/web/assets/CommandMenu-CnodJFHD.js +1 -0
- package/dist/web/assets/CommandMenu-hNQCm8mw.css +1 -0
- package/dist/web/assets/CommunityView-CIbjNUZr.js +1 -0
- package/dist/web/assets/CommunityView-DSik4sd2.css +1 -0
- package/dist/web/assets/GetStartedView-C3ZrnEz5.css +1 -0
- package/dist/web/assets/GetStartedView-C8nyH_PT.js +1 -0
- package/dist/web/assets/LabsExtensions-GtJzxDnK.js +1 -0
- package/dist/web/assets/LabsProfile-DG7rWYur.js +1 -0
- package/dist/web/assets/LabsRoute-D6MDHBzq.js +2 -0
- package/dist/web/assets/LabsRoute-TEt9j1vB.css +1 -0
- package/dist/web/assets/LabsSignals-BfsDN86w.js +1 -0
- package/dist/web/assets/LabsSignals-D6iA6Ryl.css +1 -0
- package/dist/web/assets/NewProjectDialog-CaKiCoVS.js +1 -0
- package/dist/web/assets/ProfileSettingsSection-DTQS2DVL.css +1 -0
- package/dist/web/assets/ProfileSettingsSection-DxEzoF3K.js +1 -0
- package/dist/web/assets/ProfileView-CEscW7Ru.js +1 -0
- package/dist/web/assets/SettingsView-DwbGu8Kj.css +1 -0
- package/dist/web/assets/SettingsView-JIRR_FO4.js +63 -0
- package/dist/web/assets/TeamChatView-B5M1ThhJ.js +3 -0
- package/dist/web/assets/TeamChatView-Bx44q3WV.css +1 -0
- package/dist/web/assets/TerminalOverlay-C1iP4OS1.js +19 -0
- package/dist/web/assets/TerminalOverlay-DwBiZLwk.css +1 -0
- package/dist/web/assets/TrainingSettingsSection-BDYvI2te.js +1 -0
- package/dist/web/assets/TrainingView-CoCFK6W3.js +5 -0
- package/dist/web/assets/WorkspaceDiffPanel-CMxKQeo7.js +14 -0
- package/dist/web/assets/WorkspaceEnvironmentMenu-B8JJbwIz.js +32 -0
- package/dist/web/assets/WorkspaceEnvironmentMenu-DGIFdG3o.css +1 -0
- package/dist/web/assets/WorkspaceGitDialogs-B4sp9BGn.js +1 -0
- package/dist/web/assets/WorkspaceMonacoEditor-BBqimG5X.js +845 -0
- package/dist/web/assets/WorkspaceMonacoEditor-BwKcXIZw.css +1 -0
- package/dist/web/assets/boxes-DAaDUabq.js +1 -0
- package/dist/web/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/dist/web/assets/css.worker-DBVD8oXr.js +93 -0
- package/dist/web/assets/cssMode-CBF1mieJ.js +1 -0
- package/dist/web/assets/dockerfile-BG73LgW2.js +1 -0
- package/dist/web/assets/editor.worker-CdQrwHl8.js +26 -0
- package/dist/web/assets/git-commit-horizontal-CAickXpN.js +1 -0
- package/dist/web/assets/git-dialogs-BZDqS1eT.css +1 -0
- package/dist/web/assets/html.worker-CwpTb9lJ.js +470 -0
- package/dist/web/assets/htmlMode-2u8OHtWO.js +1 -0
- package/dist/web/assets/index-BdY6A-YN.css +1 -0
- package/dist/web/assets/index-CU2qhUYV.js +195 -0
- package/dist/web/assets/index-Dz2B3-4C.js +1 -0
- package/dist/web/assets/info-CQNTh78o.js +1 -0
- package/dist/web/assets/json.worker-BoL8UZqY.js +58 -0
- package/dist/web/assets/jsonMode-C4CWXViX.js +7 -0
- package/dist/web/assets/lspLanguageFeatures-CBs_BOlB.js +4 -0
- package/dist/web/assets/markdown-BFxVWTOG.js +1 -0
- package/dist/web/assets/monaco.contribution-C1LUxAKf.js +2 -0
- package/dist/web/assets/monaco.contribution-Cpf6dWsh.js +2 -0
- package/dist/web/assets/monaco.contribution-lOXpG2xQ.js +2 -0
- package/dist/web/assets/monaco.contribution-sd3cFkcN.js +2 -0
- package/dist/web/assets/monitor-DsIswrMV.js +1 -0
- package/dist/web/assets/play-CeRw21NV.js +1 -0
- package/dist/web/assets/python-CXYq3BUl.js +1 -0
- package/dist/web/assets/refresh-cw-N5b_6AP5.js +1 -0
- package/dist/web/assets/reply-BSKjZrJg.js +1 -0
- package/dist/web/assets/save-D0oHH1a3.js +1 -0
- package/dist/web/assets/settings-lists-BEg6LMcy.css +1 -0
- package/dist/web/assets/shell-DiJ1NA_G.js +1 -0
- package/dist/web/assets/toggleHighContrast-B7NOMXDY.css +1 -0
- package/dist/web/assets/toggleHighContrast-DRjlcwes.js +62 -0
- package/dist/web/assets/training-model-data-BPrc68VG.js +1 -0
- package/dist/web/assets/ts.worker-BH9nVgjN.js +67718 -0
- package/dist/web/assets/tsMode-x-1A7ZcB.js +11 -0
- package/dist/web/assets/wifi-off-Dt52ofzh.js +1 -0
- package/dist/web/assets/workers-Ciff6Dzi.js +1 -0
- package/dist/web/assets/yaml-CB67Kxnz.js +1 -0
- package/dist/web/connected-apps/github.svg +3 -0
- package/dist/web/connected-apps/google.svg +6 -0
- package/dist/web/connected-apps/linear.svg +3 -0
- package/dist/web/connected-apps/microsoft.svg +6 -0
- package/dist/web/connected-apps/notion.svg +3 -0
- package/dist/web/connected-apps/openpond-mcp.svg +4 -0
- package/dist/web/connected-apps/slack.svg +6 -0
- package/dist/web/connected-apps/x.svg +3 -0
- package/dist/web/favicon-16x16.png +0 -0
- package/dist/web/favicon-32x32.png +0 -0
- package/dist/web/index.html +16 -0
- package/dist/web/openpond-icon.png +0 -0
- package/dist/web/openpond-wordlogo-white.png +0 -0
- package/dist/web/tokens/eth.svg +1 -0
- package/dist/web/tokens/usdc.svg +1 -0
- package/docs/agent-edit-check-status-json.md +132 -0
- package/docs/command-reference.md +695 -0
- package/package.json +84 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export type Bar = {
|
|
2
|
+
time: number;
|
|
3
|
+
open: number;
|
|
4
|
+
high: number;
|
|
5
|
+
low: number;
|
|
6
|
+
close: number;
|
|
7
|
+
volume?: number;
|
|
8
|
+
};
|
|
9
|
+
export type MacdResult = {
|
|
10
|
+
macd: number;
|
|
11
|
+
signalLine: number;
|
|
12
|
+
histogram: number;
|
|
13
|
+
};
|
|
14
|
+
export type MaCrossSignal = "neutral" | "bullish" | "bearish" | "bullish-cross" | "bearish-cross";
|
|
15
|
+
export type MaCrossResult = {
|
|
16
|
+
fast: number;
|
|
17
|
+
slow: number;
|
|
18
|
+
signal: MaCrossSignal;
|
|
19
|
+
};
|
|
20
|
+
export type BollingerResult = {
|
|
21
|
+
middle: number;
|
|
22
|
+
upper: number;
|
|
23
|
+
lower: number;
|
|
24
|
+
};
|
|
25
|
+
export type PriceChangeResult = {
|
|
26
|
+
previous: number;
|
|
27
|
+
percent: number;
|
|
28
|
+
};
|
|
29
|
+
export declare function computeRsi(values: number[], period?: number): number | null;
|
|
30
|
+
export declare function computeSmaSeries(values: number[], period: number): number[];
|
|
31
|
+
export declare function computeSma(values: number[], period: number): number | null;
|
|
32
|
+
export declare function computeEmaSeries(values: number[], period: number): number[];
|
|
33
|
+
export declare function computeEma(values: number[], period: number): number | null;
|
|
34
|
+
export declare function computeMacd(values: number[]): MacdResult | null;
|
|
35
|
+
export declare function computeMaCross(values: number[], type: "sma" | "ema", fastPeriod: number, slowPeriod: number): MaCrossResult | null;
|
|
36
|
+
export declare function computeBollinger(values: number[], period?: number, multiplier?: number): BollingerResult | null;
|
|
37
|
+
export declare function computePriceChange(values: number[], lookback?: number): PriceChangeResult | null;
|
|
38
|
+
export declare function computeAtr(bars: Bar[], period?: number): number | null;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type HostedChatUsage } from "./hosted-chat.js";
|
|
2
|
+
export type OpChatSmokeOptions = {
|
|
3
|
+
apiBaseUrl: string;
|
|
4
|
+
token: string;
|
|
5
|
+
defaultModel?: string;
|
|
6
|
+
compatibilityModel?: string;
|
|
7
|
+
invalidModel?: string;
|
|
8
|
+
skipStream?: boolean;
|
|
9
|
+
skipTool?: boolean;
|
|
10
|
+
log?: (line: string) => void;
|
|
11
|
+
};
|
|
12
|
+
export type OpChatSmokeSummary = {
|
|
13
|
+
apiBaseUrl: string;
|
|
14
|
+
listedModels: string[];
|
|
15
|
+
defaultModel: string;
|
|
16
|
+
compatibilityModel: string;
|
|
17
|
+
modelLookups: string[];
|
|
18
|
+
invalidModelError: string;
|
|
19
|
+
nonStreaming: OpChatCompletionSummary;
|
|
20
|
+
compatibilityNonStreaming: OpChatCompletionSummary;
|
|
21
|
+
streaming?: OpChatStreamSummary;
|
|
22
|
+
toolCalling?: OpChatToolSummary;
|
|
23
|
+
};
|
|
24
|
+
export type OpChatCompletionSummary = {
|
|
25
|
+
model: string;
|
|
26
|
+
id: string | null;
|
|
27
|
+
finishReason: string | null;
|
|
28
|
+
textPreview: string;
|
|
29
|
+
usage: HostedChatUsage | null;
|
|
30
|
+
};
|
|
31
|
+
export type OpChatStreamSummary = {
|
|
32
|
+
model: string;
|
|
33
|
+
textDeltaCount: number;
|
|
34
|
+
textPreview: string;
|
|
35
|
+
firstTextMs: number | null;
|
|
36
|
+
totalMs: number;
|
|
37
|
+
finishReason: string | null;
|
|
38
|
+
usage: HostedChatUsage | null;
|
|
39
|
+
};
|
|
40
|
+
export type OpChatToolSummary = {
|
|
41
|
+
model: string;
|
|
42
|
+
toolCallCount: number;
|
|
43
|
+
toolNames: string[];
|
|
44
|
+
finishReason: string | null;
|
|
45
|
+
followUp: OpChatCompletionSummary;
|
|
46
|
+
};
|
|
47
|
+
export declare function runOpChatSmoke(options: OpChatSmokeOptions): Promise<OpChatSmokeSummary>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function openPondConfigDirectory(): string;
|
|
2
|
+
export declare function writePrivateJsonFile(filePath: string, value: unknown): Promise<void>;
|
|
3
|
+
export declare function updatePrivateJsonFile<T>(filePath: string, fallback: () => T, update: (current: T) => T | Promise<T>): Promise<T>;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import type { LocalOpenPondProfileCheckStatus, LocalOpenPondProfileHostedMaterializationStatus, LocalOpenPondProfileHostedPublishStatus, LocalOpenPondProfileHostedRunSummary, LocalOpenPondProfileHostedSourceCheckStatus } from "../config.js";
|
|
2
|
+
export type OpenPondProfileAgent = {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
path: string;
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type OpenPondProfileSkill = {
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
path: string;
|
|
12
|
+
scope: "profile";
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
sourcePath: string;
|
|
15
|
+
charCount: number;
|
|
16
|
+
sourceHash: string;
|
|
17
|
+
validationStatus: "valid" | "warning" | "error";
|
|
18
|
+
validationMessages: string[];
|
|
19
|
+
};
|
|
20
|
+
export type OpenPondProfileGitFileChange = {
|
|
21
|
+
path: string;
|
|
22
|
+
originalPath?: string | null;
|
|
23
|
+
indexStatus: string | null;
|
|
24
|
+
worktreeStatus: string | null;
|
|
25
|
+
status: string;
|
|
26
|
+
category: "added" | "modified" | "deleted" | "renamed" | "untracked" | "changed";
|
|
27
|
+
};
|
|
28
|
+
export type OpenPondProfileGitState = {
|
|
29
|
+
isRepo: boolean;
|
|
30
|
+
branch: string | null;
|
|
31
|
+
head: string | null;
|
|
32
|
+
shortHead: string | null;
|
|
33
|
+
dirty: boolean;
|
|
34
|
+
upstream: string | null;
|
|
35
|
+
ahead: number | null;
|
|
36
|
+
behind: number | null;
|
|
37
|
+
remoteUrl: string | null;
|
|
38
|
+
files: OpenPondProfileGitFileChange[];
|
|
39
|
+
error: string | null;
|
|
40
|
+
};
|
|
41
|
+
export type OpenPondProfileActionCatalogEntry = {
|
|
42
|
+
id: string;
|
|
43
|
+
name?: string | null;
|
|
44
|
+
label?: string | null;
|
|
45
|
+
description?: string | null;
|
|
46
|
+
agentId?: string | null;
|
|
47
|
+
sourcePath?: string | null;
|
|
48
|
+
sourceActionId?: string | null;
|
|
49
|
+
visibility?: string | null;
|
|
50
|
+
inputSchema?: string | Record<string, unknown> | null;
|
|
51
|
+
outputSchema?: string | Record<string, unknown> | null;
|
|
52
|
+
approvalPolicy?: Record<string, unknown> | null;
|
|
53
|
+
artifactPolicy?: Record<string, unknown> | null;
|
|
54
|
+
setupRequirements?: Record<string, unknown>[];
|
|
55
|
+
mcp?: Record<string, unknown> | null;
|
|
56
|
+
schedulePolicy?: Record<string, unknown> | null;
|
|
57
|
+
trace?: Record<string, unknown> | null;
|
|
58
|
+
implementation?: Record<string, unknown> | null;
|
|
59
|
+
invokesModel?: boolean;
|
|
60
|
+
};
|
|
61
|
+
export type OpenPondProfileSetupRequirement = {
|
|
62
|
+
ref: string;
|
|
63
|
+
source: "action_catalog" | "source_upload_metadata";
|
|
64
|
+
actionId: string | null;
|
|
65
|
+
kind: string | null;
|
|
66
|
+
label: string;
|
|
67
|
+
status: string;
|
|
68
|
+
required: boolean;
|
|
69
|
+
blocking: boolean;
|
|
70
|
+
};
|
|
71
|
+
export type OpenPondProfileSetupGate = {
|
|
72
|
+
status: "ready" | "setup_required" | "blocked";
|
|
73
|
+
requirementCount: number;
|
|
74
|
+
blockingCount: number;
|
|
75
|
+
optionalMissingCount: number;
|
|
76
|
+
readyCount: number;
|
|
77
|
+
requirements: OpenPondProfileSetupRequirement[];
|
|
78
|
+
blockingRequirements: OpenPondProfileSetupRequirement[];
|
|
79
|
+
};
|
|
80
|
+
export type OpenPondProfileCatalogState = {
|
|
81
|
+
actionCount: number;
|
|
82
|
+
generatedAt: string | null;
|
|
83
|
+
manifestPath: string | null;
|
|
84
|
+
registryPath: string | null;
|
|
85
|
+
stale: boolean;
|
|
86
|
+
error: string | null;
|
|
87
|
+
};
|
|
88
|
+
export type OpenPondProfileSkillCatalogState = {
|
|
89
|
+
skillCount: number;
|
|
90
|
+
generatedAt: string | null;
|
|
91
|
+
stale: boolean;
|
|
92
|
+
error: string | null;
|
|
93
|
+
};
|
|
94
|
+
export type OpenPondProfileDiffSummary = {
|
|
95
|
+
changedAgents: string[];
|
|
96
|
+
newAgents: string[];
|
|
97
|
+
deletedAgents: string[];
|
|
98
|
+
changedSkills: string[];
|
|
99
|
+
changedActions: string[];
|
|
100
|
+
changedExtensions: string[];
|
|
101
|
+
setupChanges: string[];
|
|
102
|
+
envRequirementChanges: string[];
|
|
103
|
+
files: OpenPondProfileGitFileChange[];
|
|
104
|
+
};
|
|
105
|
+
export type OpenPondProfileHostedBinding = {
|
|
106
|
+
teamId: string | null;
|
|
107
|
+
projectId: string | null;
|
|
108
|
+
sourceRef: string | null;
|
|
109
|
+
sourceCommitSha: string | null;
|
|
110
|
+
lastPushedAt: string | null;
|
|
111
|
+
lastPushedLocalHead: string | null;
|
|
112
|
+
lastPushedHostedHead: string | null;
|
|
113
|
+
promotionStatus: string | null;
|
|
114
|
+
hostedRunStatus: string | null;
|
|
115
|
+
localGoalId: string | null;
|
|
116
|
+
hostedGoalId: string | null;
|
|
117
|
+
hostedRunAgentId: string | null;
|
|
118
|
+
hostedRunId: string | null;
|
|
119
|
+
hostedRunAt: string | null;
|
|
120
|
+
hostedSourceMaterialization: LocalOpenPondProfileHostedMaterializationStatus | null;
|
|
121
|
+
hostedSourceCheck: LocalOpenPondProfileHostedSourceCheckStatus | null;
|
|
122
|
+
hostedPublish: LocalOpenPondProfileHostedPublishStatus | null;
|
|
123
|
+
hostedRun: LocalOpenPondProfileHostedRunSummary | null;
|
|
124
|
+
};
|
|
125
|
+
export type OpenPondProfileSummary = {
|
|
126
|
+
state: "none" | "ready" | "dirty" | "pending_commit" | "error";
|
|
127
|
+
message: string;
|
|
128
|
+
agentCount: number;
|
|
129
|
+
actionCount: number;
|
|
130
|
+
defaultAction: string | null;
|
|
131
|
+
checkFresh: boolean;
|
|
132
|
+
checkStaleReason: string | null;
|
|
133
|
+
localHead: string | null;
|
|
134
|
+
hostedHead: string | null;
|
|
135
|
+
};
|
|
136
|
+
export type OpenPondProfileState = {
|
|
137
|
+
mode: "none" | "local";
|
|
138
|
+
repoPath: string | null;
|
|
139
|
+
activeProfile: string | null;
|
|
140
|
+
sourcePath: string | null;
|
|
141
|
+
manifestPath: string | null;
|
|
142
|
+
agents: OpenPondProfileAgent[];
|
|
143
|
+
skills: OpenPondProfileSkill[];
|
|
144
|
+
git: OpenPondProfileGitState | null;
|
|
145
|
+
catalog: OpenPondProfileCatalogState;
|
|
146
|
+
skillCatalog: OpenPondProfileSkillCatalogState;
|
|
147
|
+
actionCatalog: OpenPondProfileActionCatalogEntry[];
|
|
148
|
+
sourceSetupRequirements: Record<string, unknown>[];
|
|
149
|
+
setupGate: OpenPondProfileSetupGate;
|
|
150
|
+
diff: OpenPondProfileDiffSummary;
|
|
151
|
+
hosted: OpenPondProfileHostedBinding | null;
|
|
152
|
+
summary: OpenPondProfileSummary;
|
|
153
|
+
lastCheck: LocalOpenPondProfileCheckStatus | null;
|
|
154
|
+
error: string | null;
|
|
155
|
+
};
|
|
156
|
+
export declare function emptyProfileCatalogState(error?: string | null): OpenPondProfileCatalogState;
|
|
157
|
+
export declare function emptyProfileSkillCatalogState(error?: string | null): OpenPondProfileSkillCatalogState;
|
|
158
|
+
export declare function emptyProfileSetupGate(): OpenPondProfileSetupGate;
|
|
159
|
+
export declare function emptyProfileDiffSummary(): OpenPondProfileDiffSummary;
|
|
160
|
+
export declare function emptyProfileSummary(error?: string | null): OpenPondProfileSummary;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type LocalOpenPondProfileConfig, type LocalOpenPondProfilePushStatus } from "../config.js";
|
|
2
|
+
import { type OpenPondProfileState } from "./local-profile-types.js";
|
|
3
|
+
export declare const PROFILE_REPO_MANIFEST = "openpond-profile.json";
|
|
4
|
+
export declare const PROFILE_MANIFEST = "settings/profile.yaml";
|
|
5
|
+
export declare const DEFAULT_LOCAL_PROFILE = "default";
|
|
6
|
+
export declare const DEFAULT_PROFILE_AGENT = "default";
|
|
7
|
+
export type ProfileRepoManifest = {
|
|
8
|
+
schema: "openpond.profileRepo.v1";
|
|
9
|
+
defaultProfile: string;
|
|
10
|
+
profiles: Record<string, {
|
|
11
|
+
path: string;
|
|
12
|
+
defaultAgent?: string;
|
|
13
|
+
enabledAgents?: string[];
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
export type { OpenPondProfileActionCatalogEntry, OpenPondProfileAgent, OpenPondProfileCatalogState, OpenPondProfileDiffSummary, OpenPondProfileGitFileChange, OpenPondProfileGitState, OpenPondProfileHostedBinding, OpenPondProfileSetupGate, OpenPondProfileSetupRequirement, OpenPondProfileSkill, OpenPondProfileSkillCatalogState, OpenPondProfileState, OpenPondProfileSummary, } from "./local-profile-types.js";
|
|
17
|
+
export { OpenPondProfileSetupRequiredError, assertOpenPondProfileActionReady, buildOpenPondProfileSetupGate, formatOpenPondProfileSetupRequirement, } from "./profile-setup-gate.js";
|
|
18
|
+
export type { LocalOpenPondProfileCheckStatus, LocalOpenPondProfilePushStatus, } from "../config.js";
|
|
19
|
+
export { collectProfileSourceUploadEntries, type OpenPondProfileSourceUpload, type OpenPondProfileSourceUploadEntry, } from "./profile-source-upload.js";
|
|
20
|
+
export { hostedPublishStatusFromPayload, hostedRunStatusFromRunSummary, hostedRunSummaryFromPayload, hostedSourceCheckStatusFromPayload, } from "./profile-promotion.js";
|
|
21
|
+
export type InitLocalProfileInput = {
|
|
22
|
+
repoPath?: string;
|
|
23
|
+
profile?: string;
|
|
24
|
+
template?: string;
|
|
25
|
+
force?: boolean;
|
|
26
|
+
};
|
|
27
|
+
export declare function mergeProfileRepoManifestEntry(existing: ProfileRepoManifest["profiles"][string] | undefined, profilePath: string): ProfileRepoManifest["profiles"][string];
|
|
28
|
+
export declare function mergeActiveLocalProfileConfig(existing: LocalOpenPondProfileConfig | undefined, repoPath: string, profile: string): LocalOpenPondProfileConfig;
|
|
29
|
+
export type RunProfileCommandInput = {
|
|
30
|
+
command: "inspect" | "build" | "validate" | "eval" | "run";
|
|
31
|
+
args?: string[];
|
|
32
|
+
cwd?: string;
|
|
33
|
+
inherit?: boolean;
|
|
34
|
+
timeoutMs?: number;
|
|
35
|
+
maxOutputBytes?: number;
|
|
36
|
+
};
|
|
37
|
+
export declare function defaultLocalProfileRepoPath(): string;
|
|
38
|
+
export declare function emptyProfileState(error?: string | null): OpenPondProfileState;
|
|
39
|
+
export declare function initLocalProfileRepo(input?: InitLocalProfileInput): Promise<OpenPondProfileState>;
|
|
40
|
+
export declare function loadLocalProfileRepo(repoPathInput: string, profileInput?: string): Promise<OpenPondProfileState>;
|
|
41
|
+
export declare function loadOpenPondProfileState(): Promise<OpenPondProfileState>;
|
|
42
|
+
export declare function requireActiveLocalProfile(): Promise<{
|
|
43
|
+
config: LocalOpenPondProfileConfig;
|
|
44
|
+
state: OpenPondProfileState;
|
|
45
|
+
}>;
|
|
46
|
+
export declare function runProfileSdkCommand(input: RunProfileCommandInput): Promise<{
|
|
47
|
+
code: number | null;
|
|
48
|
+
stdout: string;
|
|
49
|
+
stderr: string;
|
|
50
|
+
}>;
|
|
51
|
+
export declare function runAgentSdkProjectCommand(input: RunProfileCommandInput & {
|
|
52
|
+
cwd: string;
|
|
53
|
+
throwOnFailure?: boolean;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
code: number | null;
|
|
56
|
+
stdout: string;
|
|
57
|
+
stderr: string;
|
|
58
|
+
timedOut: boolean;
|
|
59
|
+
stdoutTruncated: boolean;
|
|
60
|
+
stderrTruncated: boolean;
|
|
61
|
+
}>;
|
|
62
|
+
export declare function runProfileCheck(kind: string | undefined): Promise<void>;
|
|
63
|
+
export declare function commitActiveProfileChanges(message?: string): Promise<{
|
|
64
|
+
committed: boolean;
|
|
65
|
+
stdout: string;
|
|
66
|
+
stderr: string;
|
|
67
|
+
state: OpenPondProfileState;
|
|
68
|
+
}>;
|
|
69
|
+
export declare function saveProfilePushStatus(status: LocalOpenPondProfilePushStatus): Promise<void>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { OpenPondProfileActionCatalogEntry, OpenPondProfileCatalogState } from "./local-profile-types.js";
|
|
2
|
+
type LoadedProfileCatalog = {
|
|
3
|
+
catalog: OpenPondProfileCatalogState;
|
|
4
|
+
actionCatalog: OpenPondProfileActionCatalogEntry[];
|
|
5
|
+
sourceSetupRequirements: Record<string, unknown>[];
|
|
6
|
+
};
|
|
7
|
+
export type ProfileActionCatalogSource = {
|
|
8
|
+
agentId: string;
|
|
9
|
+
sourcePath: string;
|
|
10
|
+
preferred?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare function loadProfileActionCatalog(sourcePath: string): Promise<LoadedProfileCatalog>;
|
|
13
|
+
export declare function loadProfileActionCatalogForSources(sources: ProfileActionCatalogSource[]): Promise<LoadedProfileCatalog>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { OpenPondProfileGitState } from "./local-profile-types.js";
|
|
2
|
+
export declare function ensureProfileGitRepo(repoPath: string): Promise<void>;
|
|
3
|
+
export declare function loadProfileGitState(repoPath: string): Promise<OpenPondProfileGitState>;
|
|
4
|
+
export declare function commitProfileChanges(repoPath: string, message: string): Promise<{
|
|
5
|
+
committed: boolean;
|
|
6
|
+
stdout: string;
|
|
7
|
+
stderr: string;
|
|
8
|
+
state: OpenPondProfileGitState;
|
|
9
|
+
}>;
|
|
10
|
+
export declare function profileGitHead(repoPath: string): Promise<string | null>;
|
|
11
|
+
export declare function runGitCommand(repoPath: string, args: string[], options?: {
|
|
12
|
+
env?: NodeJS.ProcessEnv;
|
|
13
|
+
}): Promise<{
|
|
14
|
+
code: number | null;
|
|
15
|
+
stdout: string;
|
|
16
|
+
stderr: string;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { LocalOpenPondProfileHostedPublishStatus, LocalOpenPondProfileHostedRunSummary, LocalOpenPondProfileHostedSourceCheckStatus } from "../config.js";
|
|
2
|
+
export declare function hostedSourceCheckStatusFromPayload(input: {
|
|
3
|
+
agentId: string;
|
|
4
|
+
status: string;
|
|
5
|
+
deployPlan?: unknown;
|
|
6
|
+
checkResult?: unknown;
|
|
7
|
+
checkedAt?: string;
|
|
8
|
+
error?: string | null;
|
|
9
|
+
}): LocalOpenPondProfileHostedSourceCheckStatus;
|
|
10
|
+
export declare function hostedPublishStatusFromPayload(input: {
|
|
11
|
+
agentId: string;
|
|
12
|
+
publishResult: unknown;
|
|
13
|
+
status?: string;
|
|
14
|
+
error?: string | null;
|
|
15
|
+
}): LocalOpenPondProfileHostedPublishStatus;
|
|
16
|
+
export declare function hostedRunSummaryFromPayload(input: {
|
|
17
|
+
agentId: string;
|
|
18
|
+
runResult: unknown;
|
|
19
|
+
error?: string | null;
|
|
20
|
+
}): LocalOpenPondProfileHostedRunSummary;
|
|
21
|
+
export declare function hostedRunStatusFromRunSummary(summary: LocalOpenPondProfileHostedRunSummary | null | undefined): "not_started" | "running" | "passed" | "failed";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { OpenPondProfileActionCatalogEntry, OpenPondProfileSetupGate, OpenPondProfileSetupRequirement } from "./local-profile-types.js";
|
|
2
|
+
type BuildOpenPondProfileSetupGateInput = {
|
|
3
|
+
actionCatalog: OpenPondProfileActionCatalogEntry[];
|
|
4
|
+
sourceSetupRequirements?: Record<string, unknown>[];
|
|
5
|
+
actionId?: string | null;
|
|
6
|
+
};
|
|
7
|
+
export declare class OpenPondProfileSetupRequiredError extends Error {
|
|
8
|
+
readonly code = "agent_source_setup_required";
|
|
9
|
+
readonly details: {
|
|
10
|
+
error: "agent_source_setup_required";
|
|
11
|
+
actionId: string;
|
|
12
|
+
setupGate: OpenPondProfileSetupGate;
|
|
13
|
+
missing: string[];
|
|
14
|
+
blockingSetupRequirements: OpenPondProfileSetupRequirement[];
|
|
15
|
+
setupRequirements: OpenPondProfileSetupRequirement[];
|
|
16
|
+
};
|
|
17
|
+
constructor(actionId: string, setupGate: OpenPondProfileSetupGate);
|
|
18
|
+
}
|
|
19
|
+
export declare function buildOpenPondProfileSetupGate(input: BuildOpenPondProfileSetupGateInput): OpenPondProfileSetupGate;
|
|
20
|
+
export declare function assertOpenPondProfileActionReady(actionId: string, setupGate: OpenPondProfileSetupGate): void;
|
|
21
|
+
export declare function formatOpenPondProfileSetupRequirement(requirement: OpenPondProfileSetupRequirement): string;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { OpenPondProfileSkill, OpenPondProfileSkillCatalogState } from "./local-profile-types.js";
|
|
2
|
+
export declare const PROFILE_SKILLS_DIR = "skills";
|
|
3
|
+
export declare const PROFILE_SKILL_FILE = "SKILL.md";
|
|
4
|
+
export declare const PROFILE_SKILL_MAX_CHARS = 80000;
|
|
5
|
+
type LoadedProfileSkills = {
|
|
6
|
+
skillCatalog: OpenPondProfileSkillCatalogState;
|
|
7
|
+
skills: OpenPondProfileSkill[];
|
|
8
|
+
};
|
|
9
|
+
export type OpenPondProfileSkillReadResult = {
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
body: string;
|
|
13
|
+
path: string;
|
|
14
|
+
sourcePath: string;
|
|
15
|
+
sourceHash: string;
|
|
16
|
+
charCount: number;
|
|
17
|
+
};
|
|
18
|
+
type ParsedSkillMarkdown = {
|
|
19
|
+
name: string | null;
|
|
20
|
+
description: string | null;
|
|
21
|
+
body: string;
|
|
22
|
+
messages: string[];
|
|
23
|
+
};
|
|
24
|
+
export declare function loadProfileSkills(profileSourcePath: string): Promise<LoadedProfileSkills>;
|
|
25
|
+
export declare function parseProfileSkillMarkdown(markdown: string): ParsedSkillMarkdown;
|
|
26
|
+
export declare function readProfileSkill(input: {
|
|
27
|
+
profileSourcePath: string;
|
|
28
|
+
name: string;
|
|
29
|
+
}): Promise<OpenPondProfileSkillReadResult>;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type OpenPondProfileSourceUploadEntry = {
|
|
2
|
+
path: string;
|
|
3
|
+
type: "file";
|
|
4
|
+
contentsBase64: string;
|
|
5
|
+
};
|
|
6
|
+
export type OpenPondProfileSourceUpload = {
|
|
7
|
+
entries: OpenPondProfileSourceUploadEntry[];
|
|
8
|
+
fileCount: number;
|
|
9
|
+
totalBytes: number;
|
|
10
|
+
limits: OpenPondProfileSourceUploadLimits;
|
|
11
|
+
transport: OpenPondProfileSourceUploadTransport;
|
|
12
|
+
};
|
|
13
|
+
export type OpenPondProfileSourceUploadLimits = {
|
|
14
|
+
maxFiles: number;
|
|
15
|
+
maxFileBytes: number;
|
|
16
|
+
maxTotalBytes: number;
|
|
17
|
+
concurrency: number;
|
|
18
|
+
};
|
|
19
|
+
export type OpenPondProfileSourceUploadTransport = {
|
|
20
|
+
mode: "single_json_payload";
|
|
21
|
+
chunkingSupported: false;
|
|
22
|
+
};
|
|
23
|
+
export declare const PROFILE_SOURCE_UPLOAD_MAX_FILES = 1500;
|
|
24
|
+
export declare const PROFILE_SOURCE_UPLOAD_MAX_FILE_BYTES: number;
|
|
25
|
+
export declare const PROFILE_SOURCE_UPLOAD_MAX_BYTES: number;
|
|
26
|
+
export declare const PROFILE_SOURCE_UPLOAD_CONCURRENCY = 8;
|
|
27
|
+
export declare const PROFILE_SOURCE_UPLOAD_LIMITS: OpenPondProfileSourceUploadLimits;
|
|
28
|
+
export declare const PROFILE_SOURCE_UPLOAD_TRANSPORT: OpenPondProfileSourceUploadTransport;
|
|
29
|
+
export declare function collectProfileSourceUploadEntries(repoPath: string): Promise<OpenPondProfileSourceUpload>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const SOURCE_UPLOAD_CACHE_PATH = ".openpond/source-upload-cache.json";
|
|
2
|
+
export type SourceUploadCacheFile = {
|
|
3
|
+
path: string;
|
|
4
|
+
absolutePath: string;
|
|
5
|
+
size: number;
|
|
6
|
+
mtimeMs: number;
|
|
7
|
+
ctimeMs: number;
|
|
8
|
+
};
|
|
9
|
+
export type SourceUploadCacheEntry = {
|
|
10
|
+
path: string;
|
|
11
|
+
size: number;
|
|
12
|
+
mtimeMs: number;
|
|
13
|
+
ctimeMs: number;
|
|
14
|
+
sha256: string;
|
|
15
|
+
contentsBase64: string;
|
|
16
|
+
};
|
|
17
|
+
export type SourceUploadMaterializedEntry = {
|
|
18
|
+
path: string;
|
|
19
|
+
type: "file";
|
|
20
|
+
contentsBase64: string;
|
|
21
|
+
};
|
|
22
|
+
export type SourceUploadMaterializedFile = {
|
|
23
|
+
file: SourceUploadCacheFile;
|
|
24
|
+
entry: SourceUploadMaterializedEntry;
|
|
25
|
+
sha256: string;
|
|
26
|
+
};
|
|
27
|
+
export declare function readSourceUploadCache(rootPath: string): Promise<Map<string, SourceUploadCacheEntry>>;
|
|
28
|
+
export declare function materializeSourceUploadFile(file: SourceUploadCacheFile, cache: Map<string, SourceUploadCacheEntry>): Promise<SourceUploadMaterializedFile>;
|
|
29
|
+
export declare function writeSourceUploadCache(rootPath: string, files: SourceUploadMaterializedFile[]): Promise<void>;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { OpenPondSandboxClient } from "./client.js";
|
|
2
|
+
import type { SandboxAgentRunInput, SandboxAgentEditWorkItemOpenInput, SandboxAgentSourceChecksRequestInput, SandboxAgentSourcePublishInput, SandboxAgentUpdateInput, SandboxAgentUpsertInput, SandboxCodingWorkItemActivityListInput, SandboxCodingWorkItemBackgroundInput, SandboxCodingWorkItemChatInput, SandboxCodingWorkItemGetInput, SandboxCodingWorkItemPromotionInput, SandboxCreateInput, SandboxAsyncRequestOptions, SandboxProjectUpdateInput, SandboxProjectUpsertInput, SandboxProjectSourceUploadInput, SandboxRuntime, SandboxRuntimeCheckpointInput, SandboxRuntimeCreateInput, SandboxRuntimeEventInput, SandboxRuntimePromoteInput, SandboxRuntimeSourcePreserveInput, SandboxRuntimeSandboxCreateInput, SandboxRuntimeTransitionInput, OpenPondHostedProfilePushInput, OpenPondHostedProfilePushResponse, OpenPondHostedProfileSummary } from "./types/index.js";
|
|
3
|
+
export declare function createSandboxRuntimeNamespace(client: OpenPondSandboxClient): {
|
|
4
|
+
list: (input?: {
|
|
5
|
+
teamId?: string;
|
|
6
|
+
projectId?: string;
|
|
7
|
+
agentId?: string;
|
|
8
|
+
}) => Promise<SandboxRuntime[]>;
|
|
9
|
+
create: (input: SandboxRuntimeCreateInput) => Promise<SandboxRuntime>;
|
|
10
|
+
handle: (runtimeId: string, initial?: SandboxRuntime | null) => import("src/index.js").OpenPondSandboxRuntimeHandle;
|
|
11
|
+
get: (runtimeId: string) => Promise<SandboxRuntime>;
|
|
12
|
+
createSandbox: (runtimeId: string, input?: SandboxRuntimeSandboxCreateInput, options?: SandboxAsyncRequestOptions) => Promise<import("src/index.js").SandboxRuntimeSandboxResponse>;
|
|
13
|
+
updateStatus: (runtimeId: string, input: SandboxRuntimeTransitionInput) => Promise<SandboxRuntime>;
|
|
14
|
+
events: (runtimeId: string) => Promise<import("src/index.js").SandboxRuntimeEventsResponse>;
|
|
15
|
+
event: (runtimeId: string, input: SandboxRuntimeEventInput) => Promise<import("src/index.js").SandboxRuntimeEventResponse>;
|
|
16
|
+
checkpoint: (runtimeId: string, input?: SandboxRuntimeCheckpointInput) => Promise<SandboxRuntime>;
|
|
17
|
+
promote: (runtimeId: string, input: SandboxRuntimePromoteInput, options?: {
|
|
18
|
+
teamId?: string;
|
|
19
|
+
}) => Promise<import("src/index.js").SandboxRuntimePromoteResponse>;
|
|
20
|
+
preserveSource: (runtimeId: string, input?: SandboxRuntimeSourcePreserveInput, options?: {
|
|
21
|
+
teamId?: string;
|
|
22
|
+
}) => Promise<import("src/index.js").SandboxRuntimeSourcePreserveResponse>;
|
|
23
|
+
};
|
|
24
|
+
export declare function createSandboxNamespace(client: OpenPondSandboxClient): {
|
|
25
|
+
list: (input?: {
|
|
26
|
+
teamId?: string;
|
|
27
|
+
projectId?: string;
|
|
28
|
+
agentId?: string;
|
|
29
|
+
}) => Promise<import("src/index.js").SandboxRecord[]>;
|
|
30
|
+
create: (input: SandboxCreateInput) => Promise<import("src/index.js").SandboxRecord>;
|
|
31
|
+
get: (sandboxId: string) => Promise<import("src/index.js").SandboxRecord>;
|
|
32
|
+
pricing: () => Promise<import("src/index.js").SandboxPricingResponse>;
|
|
33
|
+
costs: (input?: {
|
|
34
|
+
teamId?: string;
|
|
35
|
+
projectId?: string;
|
|
36
|
+
agentId?: string;
|
|
37
|
+
}) => Promise<import("src/index.js").SandboxCostSummaryResponse>;
|
|
38
|
+
};
|
|
39
|
+
export declare function createSandboxProjectNamespace(client: OpenPondSandboxClient): {
|
|
40
|
+
list: (input: {
|
|
41
|
+
teamId: string;
|
|
42
|
+
}) => Promise<import("src/index.js").SandboxProject[]>;
|
|
43
|
+
upsert: (input: SandboxProjectUpsertInput) => Promise<import("src/index.js").SandboxProject>;
|
|
44
|
+
upsertGitRemote: (input: SandboxProjectUpsertInput) => Promise<import("src/index.js").SandboxProjectGitRemoteResponse>;
|
|
45
|
+
get: (projectId: string, input: {
|
|
46
|
+
teamId: string;
|
|
47
|
+
}) => Promise<import("src/index.js").SandboxProject>;
|
|
48
|
+
update: (projectId: string, input: SandboxProjectUpdateInput) => Promise<import("src/index.js").SandboxProject>;
|
|
49
|
+
sync: (projectId: string, input: {
|
|
50
|
+
teamId: string;
|
|
51
|
+
}) => Promise<import("src/index.js").SandboxProject>;
|
|
52
|
+
ensureGitRemote: (projectId: string, input: {
|
|
53
|
+
teamId: string;
|
|
54
|
+
}) => Promise<import("src/index.js").SandboxProjectGitRemoteResponse>;
|
|
55
|
+
getGitRemote: (projectId: string, input: {
|
|
56
|
+
teamId: string;
|
|
57
|
+
}) => Promise<import("src/index.js").SandboxProjectGitRemoteResponse>;
|
|
58
|
+
git: (projectId: string, input: {
|
|
59
|
+
teamId: string;
|
|
60
|
+
}) => Promise<import("src/index.js").SandboxProjectGitRemoteResponse>;
|
|
61
|
+
uploadSource: (projectId: string, input: SandboxProjectSourceUploadInput) => Promise<import("src/index.js").SandboxProject>;
|
|
62
|
+
archive: (projectId: string, input: {
|
|
63
|
+
teamId: string;
|
|
64
|
+
}) => Promise<import("src/index.js").SandboxProject>;
|
|
65
|
+
};
|
|
66
|
+
export declare function createSandboxProfileNamespace(client: OpenPondSandboxClient): {
|
|
67
|
+
get(input: {
|
|
68
|
+
teamId: string;
|
|
69
|
+
}): Promise<OpenPondHostedProfileSummary | null>;
|
|
70
|
+
status(input: {
|
|
71
|
+
teamId: string;
|
|
72
|
+
}): Promise<OpenPondHostedProfileSummary | null>;
|
|
73
|
+
ensureHosted(input: {
|
|
74
|
+
teamId: string;
|
|
75
|
+
}): Promise<OpenPondHostedProfileSummary>;
|
|
76
|
+
push(input: OpenPondHostedProfilePushInput): Promise<OpenPondHostedProfilePushResponse>;
|
|
77
|
+
};
|
|
78
|
+
export declare function createSandboxAgentNamespace(client: OpenPondSandboxClient): {
|
|
79
|
+
list: (input: {
|
|
80
|
+
teamId: string;
|
|
81
|
+
}) => Promise<import("src/index.js").SandboxAgent[]>;
|
|
82
|
+
upsert: (input: SandboxAgentUpsertInput) => Promise<import("src/index.js").SandboxAgent>;
|
|
83
|
+
get: (agentId: string, input: {
|
|
84
|
+
teamId: string;
|
|
85
|
+
}) => Promise<import("src/index.js").SandboxAgent>;
|
|
86
|
+
update: (agentId: string, input: SandboxAgentUpdateInput) => Promise<import("src/index.js").SandboxAgent>;
|
|
87
|
+
archive: (agentId: string, input: {
|
|
88
|
+
teamId: string;
|
|
89
|
+
}) => Promise<import("src/index.js").SandboxAgent>;
|
|
90
|
+
run: (agentId: string, input: SandboxAgentRunInput) => Promise<import("src/index.js").SandboxAgentRunResponse>;
|
|
91
|
+
sourceDeployPlan: (agentId: string, input: {
|
|
92
|
+
teamId: string;
|
|
93
|
+
}) => Promise<import("src/index.js").SandboxAgentSourceDeployPlan>;
|
|
94
|
+
manifestSnapshots: (agentId: string, input: {
|
|
95
|
+
teamId: string;
|
|
96
|
+
limit?: number;
|
|
97
|
+
}) => Promise<import("src/index.js").SandboxAgentManifestSnapshot[]>;
|
|
98
|
+
requestSourceChecks: (agentId: string, input: SandboxAgentSourceChecksRequestInput) => Promise<import("src/index.js").SandboxAgentSourceChecksRequestResult>;
|
|
99
|
+
publishSource: (agentId: string, input: SandboxAgentSourcePublishInput) => Promise<import("src/index.js").SandboxAgentSourcePublishResult>;
|
|
100
|
+
openEditWorkItem: (agentId: string, input: SandboxAgentEditWorkItemOpenInput) => Promise<import("src/index.js").SandboxAgentEditWorkItemOpenResult>;
|
|
101
|
+
};
|
|
102
|
+
export declare function createSandboxWorkItemNamespace(client: OpenPondSandboxClient): {
|
|
103
|
+
get: (workItemId: string, input: SandboxCodingWorkItemGetInput) => Promise<import("src/index.js").SandboxCodingWorkItem>;
|
|
104
|
+
chat: (workItemId: string, input: SandboxCodingWorkItemChatInput) => Promise<import("src/index.js").SandboxCodingWorkItemChatResult>;
|
|
105
|
+
activity: (workItemId: string, input: SandboxCodingWorkItemActivityListInput) => Promise<import("src/index.js").SandboxCodingWorkItemActivity[]>;
|
|
106
|
+
status: (workItemId: string, input: SandboxCodingWorkItemActivityListInput & {
|
|
107
|
+
includeArchived?: boolean;
|
|
108
|
+
}) => Promise<import("src/index.js").SandboxCodingWorkItemStatusResult>;
|
|
109
|
+
handleBackground: (workItemId: string, input: SandboxCodingWorkItemBackgroundInput) => Promise<import("src/index.js").SandboxCodingWorkItemBackgroundResult>;
|
|
110
|
+
promoteCheckpoint: (workItemId: string, input: SandboxCodingWorkItemPromotionInput) => Promise<import("src/index.js").SandboxCodingWorkItemArtifact>;
|
|
111
|
+
promoteCommit: (workItemId: string, input: SandboxCodingWorkItemPromotionInput) => Promise<import("src/index.js").SandboxCodingWorkItemArtifact>;
|
|
112
|
+
promotePullRequest: (workItemId: string, input: SandboxCodingWorkItemPromotionInput) => Promise<import("src/index.js").SandboxCodingWorkItemArtifact>;
|
|
113
|
+
};
|