@synsci/sdk 2.0.27 → 2.0.29
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,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
|
|
2
|
-
import type { AccountBalanceResponses, AccountBillingModeGetResponses, AccountBillingModeSetResponses, AccountDeviceRevokeResponses, AccountDevicesResponses, AccountGetResponses, AccountLoginKeyResponses, AccountLogoutResponses, AccountSessionResponses, AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillDeleteResponses, AppSkillsResponses, AppSkillWriteResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config4, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, ExperimentalResourceListResponses, FileAnnotationsCreateResponses, FileAnnotationsDeleteResponses, FileAnnotationsHistoryResponses, FileAnnotationsListResponses, FileAnnotationsUpdateResponses, FileArtifactSaveErrors, FileArtifactSaveResponses, FileArtifactsResponses, FileArtifactStoreGetErrors, FileArtifactStoreGetResponses, FileArtifactStoreListResponses, FileArtifactStoreRawErrors, FileArtifactStoreRawResponses, FileArtifactStoreRenameErrors, FileArtifactStoreRenameResponses, FileArtifactStoreRestoreErrors, FileArtifactStoreRestoreResponses, FileArtifactStoreTrashErrors, FileArtifactStoreTrashResponses, FileInspectResponses, FileLineageResponses, FileListResponses, FileManifestResponses, FilePartInput, FilePartSource, FileProvenanceResponses, FilePublicationCapabilitiesResponses, FilePublicationResponses, FileRawResponses, FileReadResponses, FileReproducibilityResponses, FileReviewsCurrentErrors, FileReviewsCurrentResponses, FileReviewsFinalizeErrors, FileReviewsFinalizeResponses, FileReviewsHistoryResponses, FileReviewsResolveErrors, FileReviewsResolveResponses, FileReviewsRunResponses, FileStatusResponses, FileTrashListResponses, FileTrashRestoreErrors, FileTrashRestoreResponses, FileWriteResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigRawGetResponses, GlobalConfigRawSetErrors, GlobalConfigRawSetResponses, GlobalConfigUnsetErrors, GlobalConfigUnsetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, GlobalProjectCreateErrors, GlobalProjectCreateResponses, GlobalSyncResponses, InstanceDisposeResponses, KernelsCommandsResponses, KernelsCommandStopErrors, KernelsCommandStopResponses, KernelsComputeResponses, KernelsDeleteResponses, KernelsExecuteResponses, KernelsInterruptByIdResponses, KernelsInterruptResponses, KernelsListResponses, KernelsRestartByIdResponses, KernelsRestartResponses, KernelsStatusResponses, KernelsStopByIdResponses, KernelsStopResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConfigRemoveErrors, McpConfigRemoveResponses, McpConfigSetErrors, McpConfigSetResponses, McpConnectResponses, McpDisconnectResponses, McpInspectErrors, McpInspectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NotebookCommandsResponses, NotebookCommandStopErrors, NotebookCommandStopResponses, NotebookComputeResponses, NotebookExecuteResponses, NotebookInterruptResponses, NotebookKernelDeleteResponses, NotebookKernelInterruptResponses, NotebookKernelRestartResponses, NotebookKernelsResponses, NotebookKernelStopResponses, NotebookRestartResponses, NotebookStatusResponses, NotebookStopResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionStandingListResponses, PermissionStandingRevokeResponses, PostSettingsLocalModelsResponses, PostSettingsLocalResponses, PostSettingsLocalStartResponses, ProjectCurrentResponses, ProjectExecutionErrors, ProjectExecutionResponses, ProjectListResponses, ProjectTrustGetErrors, ProjectTrustGetResponses, ProjectTrustUpdateErrors, ProjectTrustUpdateResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProvenanceExecutionsResponses, ProvenanceExportResponses, ProvenanceListResponses, ProvenanceRecordErrors, ProvenanceRecordResponses, ProvenanceReviewErrors, ProvenanceReviewResponses, ProvenanceReviewsListResponses, ProvenanceReviewsResolveErrors, ProvenanceReviewsResolveResponses, ProvenanceTraceErrors, ProvenanceTraceResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, PutSettingsSandboxResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, ResearchEffort, RuntimePromptErrors, RuntimePromptResponses, RuntimeReplayErrors, RuntimeReplayResponses, RuntimeSubscribeErrors, RuntimeSubscribeResponses, SearchQueryResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionFilesystemGrantErrors, SessionFilesystemGrantResponses, SessionFilesystemListErrors, SessionFilesystemListResponses, SessionFilesystemRevokeErrors, SessionFilesystemRevokeResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionReviewArtifactErrors, SessionReviewArtifactResponses, SessionReviewErrors, SessionReviewResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionTraceErrors, SessionTraceResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUpdateErrors, SessionUpdateResponses, SettingsBillingGetResponses, SettingsBillingUpdateResponses, SettingsComputeGetResponses, SettingsComputeJobsCancelErrors, SettingsComputeJobsCancelResponses, SettingsComputeJobsClearResponses, SettingsComputeJobsEventsErrors, SettingsComputeJobsEventsResponses, SettingsComputeJobsListResponses, SettingsComputeJobsLogErrors, SettingsComputeJobsLogResponses, SettingsComputeJobsPlanErrors, SettingsComputeJobsPlanResponses, SettingsComputeJobsReleaseErrors, SettingsComputeJobsReleaseResponses, SettingsComputeJobsRetryErrors, SettingsComputeJobsRetryResponses, SettingsComputeJobsStartErrors, SettingsComputeJobsStartResponses, SettingsComputeModalCheckErrors, SettingsComputeModalCheckResponses, SettingsComputeModalConfigureErrors, SettingsComputeModalConfigureResponses, SettingsComputeModalUpdateErrors, SettingsComputeModalUpdateResponses, SettingsComputeModalVolumeFileErrors, SettingsComputeModalVolumeFileResponses, SettingsComputeModalVolumeFilesErrors, SettingsComputeModalVolumeFilesResponses, SettingsComputeModalVolumesErrors, SettingsComputeModalVolumesResponses, SettingsComputeProviderConnectErrors, SettingsComputeProviderConnectResponses, SettingsComputeProviderDisconnectResponses, SettingsComputeProviderEnabledErrors, SettingsComputeProviderEnabledResponses, SettingsComputeSshAddErrors, SettingsComputeSshAddResponses, SettingsComputeSshRemoveResponses, SettingsComputeSshTestErrors, SettingsComputeSshTestResponses, SettingsComputeSshUpdateErrors, SettingsComputeSshUpdateResponses, SettingsCredentialsListResponses, SettingsCredentialsRemoveResponses, SettingsCredentialsSetResponses, SettingsNetworkGetResponses, SettingsNetworkSetResponses, SettingsPreferencesGetResponses, SettingsPreferencesUpdateResponses, SettingsReviewGetResponses, SettingsReviewSetResponses, SettingsSkillsInstallErrors, SettingsSkillsInstallResponses, SettingsStorageRelocateErrors, SettingsStorageRelocateResponses, SettingsStorageResetLocationErrors, SettingsStorageResetLocationResponses, SettingsStorageUsageResponses, SettingsUpdatesCheckResponses, SettingsUsageGetResponses, SettingsWalletGetResponses, SubtaskPartInput, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
2
|
+
import type { AccountBalanceResponses, AccountBillingModeGetResponses, AccountBillingModeSetResponses, AccountDeviceRevokeResponses, AccountDevicesResponses, AccountGetResponses, AccountLoginKeyResponses, AccountLogoutResponses, AccountSessionResponses, AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillDeleteResponses, AppSkillsResponses, AppSkillWriteResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config4, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, ExperimentalResourceListResponses, FileAnnotationsCreateResponses, FileAnnotationsDeleteResponses, FileAnnotationsHistoryResponses, FileAnnotationsListResponses, FileAnnotationsUpdateResponses, FileArtifactSaveErrors, FileArtifactSaveResponses, FileArtifactsResponses, FileArtifactStoreGetErrors, FileArtifactStoreGetResponses, FileArtifactStoreListResponses, FileArtifactStoreRawErrors, FileArtifactStoreRawResponses, FileArtifactStoreRenameErrors, FileArtifactStoreRenameResponses, FileArtifactStoreRestoreErrors, FileArtifactStoreRestoreResponses, FileArtifactStoreTrashErrors, FileArtifactStoreTrashResponses, FileInspectResponses, FileLineageResponses, FileListResponses, FileManifestResponses, FilePartInput, FilePartSource, FileProvenanceResponses, FilePublicationCapabilitiesResponses, FilePublicationResponses, FileRawResponses, FileReadResponses, FileReproducibilityResponses, FileReviewsCurrentErrors, FileReviewsCurrentResponses, FileReviewsFinalizeErrors, FileReviewsFinalizeResponses, FileReviewsHistoryResponses, FileReviewsResolveErrors, FileReviewsResolveResponses, FileReviewsRunResponses, FileStatusResponses, FileTrashListResponses, FileTrashRestoreErrors, FileTrashRestoreResponses, FileWriteResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigRawGetResponses, GlobalConfigRawSetErrors, GlobalConfigRawSetResponses, GlobalConfigUnsetErrors, GlobalConfigUnsetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, GlobalProjectCreateErrors, GlobalProjectCreateResponses, GlobalSyncResponses, InstanceDisposeResponses, KernelsCommandsResponses, KernelsCommandStopErrors, KernelsCommandStopResponses, KernelsComputeResponses, KernelsDeleteResponses, KernelsExecuteResponses, KernelsInterruptByIdResponses, KernelsInterruptResponses, KernelsListResponses, KernelsRestartByIdResponses, KernelsRestartResponses, KernelsStatusResponses, KernelsStopByIdResponses, KernelsStopResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConfigRemoveErrors, McpConfigRemoveResponses, McpConfigSetErrors, McpConfigSetResponses, McpConnectResponses, McpDisconnectResponses, McpInspectErrors, McpInspectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NotebookCommandsResponses, NotebookCommandStopErrors, NotebookCommandStopResponses, NotebookComputeResponses, NotebookExecuteResponses, NotebookInterruptResponses, NotebookKernelDeleteResponses, NotebookKernelInterruptResponses, NotebookKernelRestartResponses, NotebookKernelsResponses, NotebookKernelStopResponses, NotebookRestartResponses, NotebookStatusResponses, NotebookStopResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionStandingListResponses, PermissionStandingRevokeResponses, PostSettingsLocalContextResponses, PostSettingsLocalModelsResponses, PostSettingsLocalResponses, PostSettingsLocalSshResponses, PostSettingsLocalStartResponses, ProjectCurrentResponses, ProjectExecutionErrors, ProjectExecutionResponses, ProjectListResponses, ProjectTrustGetErrors, ProjectTrustGetResponses, ProjectTrustUpdateErrors, ProjectTrustUpdateResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProvenanceExecutionsResponses, ProvenanceExportResponses, ProvenanceListResponses, ProvenanceRecordErrors, ProvenanceRecordResponses, ProvenanceReviewErrors, ProvenanceReviewResponses, ProvenanceReviewsListResponses, ProvenanceReviewsResolveErrors, ProvenanceReviewsResolveResponses, ProvenanceTraceErrors, ProvenanceTraceResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, PutSettingsSandboxResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, ResearchEffort, RuntimePromptErrors, RuntimePromptResponses, RuntimeReplayErrors, RuntimeReplayResponses, RuntimeSubscribeErrors, RuntimeSubscribeResponses, SearchQueryResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionFilesystemGrantErrors, SessionFilesystemGrantResponses, SessionFilesystemListErrors, SessionFilesystemListResponses, SessionFilesystemRevokeErrors, SessionFilesystemRevokeResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionReviewArtifactErrors, SessionReviewArtifactResponses, SessionReviewErrors, SessionReviewResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionTraceErrors, SessionTraceResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUpdateErrors, SessionUpdateResponses, SettingsBillingGetResponses, SettingsBillingUpdateResponses, SettingsComputeGetResponses, SettingsComputeJobsCancelErrors, SettingsComputeJobsCancelResponses, SettingsComputeJobsClearResponses, SettingsComputeJobsEventsErrors, SettingsComputeJobsEventsResponses, SettingsComputeJobsListResponses, SettingsComputeJobsLogErrors, SettingsComputeJobsLogResponses, SettingsComputeJobsPlanErrors, SettingsComputeJobsPlanResponses, SettingsComputeJobsReleaseErrors, SettingsComputeJobsReleaseResponses, SettingsComputeJobsRetryErrors, SettingsComputeJobsRetryResponses, SettingsComputeJobsStartErrors, SettingsComputeJobsStartResponses, SettingsComputeModalCheckErrors, SettingsComputeModalCheckResponses, SettingsComputeModalConfigureErrors, SettingsComputeModalConfigureResponses, SettingsComputeModalUpdateErrors, SettingsComputeModalUpdateResponses, SettingsComputeModalVolumeFileErrors, SettingsComputeModalVolumeFileResponses, SettingsComputeModalVolumeFilesErrors, SettingsComputeModalVolumeFilesResponses, SettingsComputeModalVolumesErrors, SettingsComputeModalVolumesResponses, SettingsComputeProviderConnectErrors, SettingsComputeProviderConnectResponses, SettingsComputeProviderDisconnectResponses, SettingsComputeProviderEnabledErrors, SettingsComputeProviderEnabledResponses, SettingsComputeSshAddErrors, SettingsComputeSshAddResponses, SettingsComputeSshRemoveResponses, SettingsComputeSshTestErrors, SettingsComputeSshTestResponses, SettingsComputeSshUpdateErrors, SettingsComputeSshUpdateResponses, SettingsCredentialsListResponses, SettingsCredentialsRemoveResponses, SettingsCredentialsSetResponses, SettingsNetworkGetResponses, SettingsNetworkSetResponses, SettingsPreferencesGetResponses, SettingsPreferencesUpdateResponses, SettingsReviewGetResponses, SettingsReviewSetResponses, SettingsSkillsInstallErrors, SettingsSkillsInstallResponses, SettingsStorageRelocateErrors, SettingsStorageRelocateResponses, SettingsStorageResetLocationErrors, SettingsStorageResetLocationResponses, SettingsStorageUsageResponses, SettingsUpdatesCheckResponses, SettingsUsageGetResponses, SettingsWalletGetResponses, SubtaskPartInput, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -473,6 +473,7 @@ export declare class Preferences extends HeyApiClient {
|
|
|
473
473
|
intent?: "commercial" | "non-commercial";
|
|
474
474
|
extra_budget_usd?: number;
|
|
475
475
|
show_trace?: boolean;
|
|
476
|
+
show_local_models?: boolean;
|
|
476
477
|
atlas_enabled?: boolean;
|
|
477
478
|
delegation_enabled?: boolean;
|
|
478
479
|
delegation_specialist?: string | null;
|
|
@@ -935,7 +936,7 @@ export declare class Session extends HeyApiClient {
|
|
|
935
936
|
/**
|
|
936
937
|
* Get local harness trace
|
|
937
938
|
*
|
|
938
|
-
* Build one local, Atlas-independent trace
|
|
939
|
+
* Build one local, Atlas-independent trace with effective harness manifests, composition transitions, attribution invariants, deterministic trajectory fingerprints, inference, tools, child agents, compute, artifacts, failures, costs, and timing. Hidden reasoning, prompt content, and copied tool outputs are excluded.
|
|
939
940
|
*/
|
|
940
941
|
trace<ThrowOnError extends boolean = false>(parameters: {
|
|
941
942
|
sessionID: string;
|
|
@@ -2313,12 +2314,30 @@ export declare class OpenScienceClient extends HeyApiClient {
|
|
|
2313
2314
|
url?: string;
|
|
2314
2315
|
key?: string;
|
|
2315
2316
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostSettingsLocalModelsResponses, unknown, ThrowOnError, "fields">;
|
|
2317
|
+
postSettingsLocalSsh<ThrowOnError extends boolean = false>(parameters?: {
|
|
2318
|
+
host?: string;
|
|
2319
|
+
remotePort?: number;
|
|
2320
|
+
localPort?: number;
|
|
2321
|
+
key?: string;
|
|
2322
|
+
name?: string;
|
|
2323
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostSettingsLocalSshResponses, unknown, ThrowOnError, "fields">;
|
|
2324
|
+
postSettingsLocalContext<ThrowOnError extends boolean = false>(parameters?: {
|
|
2325
|
+
url?: string;
|
|
2326
|
+
model?: string;
|
|
2327
|
+
context?: number;
|
|
2328
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostSettingsLocalContextResponses, unknown, ThrowOnError, "fields">;
|
|
2316
2329
|
postSettingsLocal<ThrowOnError extends boolean = false>(parameters?: {
|
|
2317
2330
|
url?: string;
|
|
2318
2331
|
id?: string;
|
|
2319
2332
|
name?: string;
|
|
2320
2333
|
key?: string;
|
|
2321
2334
|
models?: Array<string>;
|
|
2335
|
+
aliases?: {
|
|
2336
|
+
[key: string]: string;
|
|
2337
|
+
};
|
|
2338
|
+
contextLimit?: number;
|
|
2339
|
+
runtime?: "ollama";
|
|
2340
|
+
merge?: boolean;
|
|
2322
2341
|
setDefault?: boolean;
|
|
2323
2342
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostSettingsLocalResponses, unknown, ThrowOnError, "fields">;
|
|
2324
2343
|
putSettingsSandbox<ThrowOnError extends boolean = false>(parameters?: {
|
|
@@ -881,6 +881,7 @@ export class Preferences extends HeyApiClient {
|
|
|
881
881
|
{ in: "body", key: "intent" },
|
|
882
882
|
{ in: "body", key: "extra_budget_usd" },
|
|
883
883
|
{ in: "body", key: "show_trace" },
|
|
884
|
+
{ in: "body", key: "show_local_models" },
|
|
884
885
|
{ in: "body", key: "atlas_enabled" },
|
|
885
886
|
{ in: "body", key: "delegation_enabled" },
|
|
886
887
|
{ in: "body", key: "delegation_specialist" },
|
|
@@ -1806,7 +1807,7 @@ export class Session extends HeyApiClient {
|
|
|
1806
1807
|
/**
|
|
1807
1808
|
* Get local harness trace
|
|
1808
1809
|
*
|
|
1809
|
-
* Build one local, Atlas-independent trace
|
|
1810
|
+
* Build one local, Atlas-independent trace with effective harness manifests, composition transitions, attribution invariants, deterministic trajectory fingerprints, inference, tools, child agents, compute, artifacts, failures, costs, and timing. Hidden reasoning, prompt content, and copied tool outputs are excluded.
|
|
1810
1811
|
*/
|
|
1811
1812
|
trace(parameters, options) {
|
|
1812
1813
|
const params = buildClientParams([parameters], [
|
|
@@ -4692,6 +4693,50 @@ export class OpenScienceClient extends HeyApiClient {
|
|
|
4692
4693
|
},
|
|
4693
4694
|
});
|
|
4694
4695
|
}
|
|
4696
|
+
postSettingsLocalSsh(parameters, options) {
|
|
4697
|
+
const params = buildClientParams([parameters], [
|
|
4698
|
+
{
|
|
4699
|
+
args: [
|
|
4700
|
+
{ in: "body", key: "host" },
|
|
4701
|
+
{ in: "body", key: "remotePort" },
|
|
4702
|
+
{ in: "body", key: "localPort" },
|
|
4703
|
+
{ in: "body", key: "key" },
|
|
4704
|
+
{ in: "body", key: "name" },
|
|
4705
|
+
],
|
|
4706
|
+
},
|
|
4707
|
+
]);
|
|
4708
|
+
return (options?.client ?? this.client).post({
|
|
4709
|
+
url: "/settings/local/ssh",
|
|
4710
|
+
...options,
|
|
4711
|
+
...params,
|
|
4712
|
+
headers: {
|
|
4713
|
+
"Content-Type": "application/json",
|
|
4714
|
+
...options?.headers,
|
|
4715
|
+
...params.headers,
|
|
4716
|
+
},
|
|
4717
|
+
});
|
|
4718
|
+
}
|
|
4719
|
+
postSettingsLocalContext(parameters, options) {
|
|
4720
|
+
const params = buildClientParams([parameters], [
|
|
4721
|
+
{
|
|
4722
|
+
args: [
|
|
4723
|
+
{ in: "body", key: "url" },
|
|
4724
|
+
{ in: "body", key: "model" },
|
|
4725
|
+
{ in: "body", key: "context" },
|
|
4726
|
+
],
|
|
4727
|
+
},
|
|
4728
|
+
]);
|
|
4729
|
+
return (options?.client ?? this.client).post({
|
|
4730
|
+
url: "/settings/local/context",
|
|
4731
|
+
...options,
|
|
4732
|
+
...params,
|
|
4733
|
+
headers: {
|
|
4734
|
+
"Content-Type": "application/json",
|
|
4735
|
+
...options?.headers,
|
|
4736
|
+
...params.headers,
|
|
4737
|
+
},
|
|
4738
|
+
});
|
|
4739
|
+
}
|
|
4695
4740
|
postSettingsLocal(parameters, options) {
|
|
4696
4741
|
const params = buildClientParams([parameters], [
|
|
4697
4742
|
{
|
|
@@ -4701,6 +4746,10 @@ export class OpenScienceClient extends HeyApiClient {
|
|
|
4701
4746
|
{ in: "body", key: "name" },
|
|
4702
4747
|
{ in: "body", key: "key" },
|
|
4703
4748
|
{ in: "body", key: "models" },
|
|
4749
|
+
{ in: "body", key: "aliases" },
|
|
4750
|
+
{ in: "body", key: "contextLimit" },
|
|
4751
|
+
{ in: "body", key: "runtime" },
|
|
4752
|
+
{ in: "body", key: "merge" },
|
|
4704
4753
|
{ in: "body", key: "setDefault" },
|
|
4705
4754
|
],
|
|
4706
4755
|
},
|
|
@@ -123,7 +123,7 @@ export type EventSessionFilesystemChanged = {
|
|
|
123
123
|
path: string;
|
|
124
124
|
access: "read" | "write";
|
|
125
125
|
scope: "once" | "session" | "project" | "installation";
|
|
126
|
-
source: "workspace" | "permission" | "api" | "tool";
|
|
126
|
+
source: "workspace" | "permission" | "api" | "tool" | "handoff";
|
|
127
127
|
time: {
|
|
128
128
|
created: number;
|
|
129
129
|
consumed?: number;
|
|
@@ -1909,7 +1909,7 @@ export type Model = {
|
|
|
1909
1909
|
export type Provider = {
|
|
1910
1910
|
id: string;
|
|
1911
1911
|
name: string;
|
|
1912
|
-
source: "env" | "config" | "custom" | "api" | "managed";
|
|
1912
|
+
source: "env" | "synced" | "config" | "custom" | "api" | "managed";
|
|
1913
1913
|
env: Array<string>;
|
|
1914
1914
|
key?: string;
|
|
1915
1915
|
options: {
|
|
@@ -3468,6 +3468,7 @@ export type SettingsComputeJobsListResponses = {
|
|
|
3468
3468
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted";
|
|
3469
3469
|
created_at: string;
|
|
3470
3470
|
started_at?: string;
|
|
3471
|
+
last_activity_at?: string;
|
|
3471
3472
|
completed_at?: string;
|
|
3472
3473
|
exit_code?: number | null;
|
|
3473
3474
|
pid?: number;
|
|
@@ -3949,6 +3950,7 @@ export type SettingsComputeJobsStartResponses = {
|
|
|
3949
3950
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted";
|
|
3950
3951
|
created_at: string;
|
|
3951
3952
|
started_at?: string;
|
|
3953
|
+
last_activity_at?: string;
|
|
3952
3954
|
completed_at?: string;
|
|
3953
3955
|
exit_code?: number | null;
|
|
3954
3956
|
pid?: number;
|
|
@@ -4605,6 +4607,7 @@ export type SettingsComputeJobsRetryResponses = {
|
|
|
4605
4607
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted";
|
|
4606
4608
|
created_at: string;
|
|
4607
4609
|
started_at?: string;
|
|
4610
|
+
last_activity_at?: string;
|
|
4608
4611
|
completed_at?: string;
|
|
4609
4612
|
exit_code?: number | null;
|
|
4610
4613
|
pid?: number;
|
|
@@ -5059,6 +5062,7 @@ export type SettingsComputeJobsReleaseResponses = {
|
|
|
5059
5062
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted";
|
|
5060
5063
|
created_at: string;
|
|
5061
5064
|
started_at?: string;
|
|
5065
|
+
last_activity_at?: string;
|
|
5062
5066
|
completed_at?: string;
|
|
5063
5067
|
exit_code?: number | null;
|
|
5064
5068
|
pid?: number;
|
|
@@ -5509,6 +5513,7 @@ export type SettingsComputeJobsCancelResponses = {
|
|
|
5509
5513
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted";
|
|
5510
5514
|
created_at: string;
|
|
5511
5515
|
started_at?: string;
|
|
5516
|
+
last_activity_at?: string;
|
|
5512
5517
|
completed_at?: string;
|
|
5513
5518
|
exit_code?: number | null;
|
|
5514
5519
|
pid?: number;
|
|
@@ -5978,6 +5983,7 @@ export type SettingsPreferencesGetResponses = {
|
|
|
5978
5983
|
intent?: "commercial" | "non-commercial";
|
|
5979
5984
|
extra_budget_usd?: number;
|
|
5980
5985
|
show_trace?: boolean;
|
|
5986
|
+
show_local_models?: boolean;
|
|
5981
5987
|
atlas_enabled?: boolean;
|
|
5982
5988
|
delegation_enabled?: boolean;
|
|
5983
5989
|
delegation_specialist?: string | null;
|
|
@@ -5990,6 +5996,7 @@ export type SettingsPreferencesUpdateData = {
|
|
|
5990
5996
|
intent?: "commercial" | "non-commercial";
|
|
5991
5997
|
extra_budget_usd?: number;
|
|
5992
5998
|
show_trace?: boolean;
|
|
5999
|
+
show_local_models?: boolean;
|
|
5993
6000
|
atlas_enabled?: boolean;
|
|
5994
6001
|
delegation_enabled?: boolean;
|
|
5995
6002
|
delegation_specialist?: string | null;
|
|
@@ -6007,6 +6014,7 @@ export type SettingsPreferencesUpdateResponses = {
|
|
|
6007
6014
|
intent?: "commercial" | "non-commercial";
|
|
6008
6015
|
extra_budget_usd?: number;
|
|
6009
6016
|
show_trace?: boolean;
|
|
6017
|
+
show_local_models?: boolean;
|
|
6010
6018
|
atlas_enabled?: boolean;
|
|
6011
6019
|
delegation_enabled?: boolean;
|
|
6012
6020
|
delegation_specialist?: string | null;
|
|
@@ -6036,6 +6044,34 @@ export type PostSettingsLocalModelsData = {
|
|
|
6036
6044
|
export type PostSettingsLocalModelsResponses = {
|
|
6037
6045
|
200: unknown;
|
|
6038
6046
|
};
|
|
6047
|
+
export type PostSettingsLocalSshData = {
|
|
6048
|
+
body?: {
|
|
6049
|
+
host: string;
|
|
6050
|
+
remotePort?: number;
|
|
6051
|
+
localPort?: number;
|
|
6052
|
+
key?: string;
|
|
6053
|
+
name?: string;
|
|
6054
|
+
};
|
|
6055
|
+
path?: never;
|
|
6056
|
+
query?: never;
|
|
6057
|
+
url: "/settings/local/ssh";
|
|
6058
|
+
};
|
|
6059
|
+
export type PostSettingsLocalSshResponses = {
|
|
6060
|
+
200: unknown;
|
|
6061
|
+
};
|
|
6062
|
+
export type PostSettingsLocalContextData = {
|
|
6063
|
+
body?: {
|
|
6064
|
+
url: string;
|
|
6065
|
+
model: string;
|
|
6066
|
+
context: number;
|
|
6067
|
+
};
|
|
6068
|
+
path?: never;
|
|
6069
|
+
query?: never;
|
|
6070
|
+
url: "/settings/local/context";
|
|
6071
|
+
};
|
|
6072
|
+
export type PostSettingsLocalContextResponses = {
|
|
6073
|
+
200: unknown;
|
|
6074
|
+
};
|
|
6039
6075
|
export type PostSettingsLocalData = {
|
|
6040
6076
|
body?: {
|
|
6041
6077
|
url: string;
|
|
@@ -6043,6 +6079,12 @@ export type PostSettingsLocalData = {
|
|
|
6043
6079
|
name?: string;
|
|
6044
6080
|
key?: string;
|
|
6045
6081
|
models: Array<string>;
|
|
6082
|
+
aliases?: {
|
|
6083
|
+
[key: string]: string;
|
|
6084
|
+
};
|
|
6085
|
+
contextLimit?: number;
|
|
6086
|
+
runtime?: "ollama";
|
|
6087
|
+
merge?: boolean;
|
|
6046
6088
|
setDefault?: boolean;
|
|
6047
6089
|
};
|
|
6048
6090
|
path?: never;
|
|
@@ -7177,6 +7219,7 @@ export type SessionTraceResponses = {
|
|
|
7177
7219
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted";
|
|
7178
7220
|
createdAt: string;
|
|
7179
7221
|
startedAt?: string;
|
|
7222
|
+
lastActivityAt?: string;
|
|
7180
7223
|
completedAt?: string;
|
|
7181
7224
|
durationMs?: number;
|
|
7182
7225
|
exitCode?: number | null;
|
|
@@ -7217,6 +7260,9 @@ export type SessionTraceResponses = {
|
|
|
7217
7260
|
action: "save_file";
|
|
7218
7261
|
artifactID?: string;
|
|
7219
7262
|
versionID?: string;
|
|
7263
|
+
path?: string;
|
|
7264
|
+
kind?: string;
|
|
7265
|
+
sha256?: string;
|
|
7220
7266
|
durable: boolean;
|
|
7221
7267
|
completedAt?: number;
|
|
7222
7268
|
}>;
|
|
@@ -7230,6 +7276,7 @@ export type SessionTraceResponses = {
|
|
|
7230
7276
|
claim?: string;
|
|
7231
7277
|
issue?: string;
|
|
7232
7278
|
evidence?: string;
|
|
7279
|
+
status?: "open" | "addressed" | "confirmed";
|
|
7233
7280
|
completedAt?: number;
|
|
7234
7281
|
}>;
|
|
7235
7282
|
failures: Array<{
|
|
@@ -7246,11 +7293,114 @@ export type SessionTraceResponses = {
|
|
|
7246
7293
|
delayMs: number;
|
|
7247
7294
|
createdAt: number;
|
|
7248
7295
|
}>;
|
|
7296
|
+
harness: Array<{
|
|
7297
|
+
version: 1;
|
|
7298
|
+
profile: string;
|
|
7299
|
+
mode: "subagent" | "primary" | "all";
|
|
7300
|
+
provider: string;
|
|
7301
|
+
model: string;
|
|
7302
|
+
systemHash: string;
|
|
7303
|
+
instructionsHash?: string;
|
|
7304
|
+
tools: Array<{
|
|
7305
|
+
name: string;
|
|
7306
|
+
descriptionHash: string;
|
|
7307
|
+
schemaHash: string;
|
|
7308
|
+
}>;
|
|
7309
|
+
fingerprint: string;
|
|
7310
|
+
messageID: string;
|
|
7311
|
+
parentMessageID: string;
|
|
7312
|
+
attempt: number;
|
|
7313
|
+
createdAt: number;
|
|
7314
|
+
}>;
|
|
7315
|
+
harnessReport: {
|
|
7316
|
+
version: 1;
|
|
7317
|
+
records: number;
|
|
7318
|
+
fingerprints: Array<string>;
|
|
7319
|
+
stable: boolean;
|
|
7320
|
+
trajectoryHash: string;
|
|
7321
|
+
transitions: Array<{
|
|
7322
|
+
fromMessageID: string;
|
|
7323
|
+
toMessageID: string;
|
|
7324
|
+
fromFingerprint: string;
|
|
7325
|
+
toFingerprint: string;
|
|
7326
|
+
changes: Array<"profile" | "mode" | "provider" | "model" | "system" | "instructions" | "tools">;
|
|
7327
|
+
}>;
|
|
7328
|
+
checks: Array<{
|
|
7329
|
+
id: "composition_integrity" | "inference_attribution" | "tool_attribution";
|
|
7330
|
+
status: "pass" | "fail";
|
|
7331
|
+
affected: Array<string>;
|
|
7332
|
+
}>;
|
|
7333
|
+
valid: boolean;
|
|
7334
|
+
};
|
|
7335
|
+
research: {
|
|
7336
|
+
configured: boolean;
|
|
7337
|
+
status: "unconfigured" | "running" | "blocked" | "ready";
|
|
7338
|
+
readiness: number;
|
|
7339
|
+
gates: Array<{
|
|
7340
|
+
id: "stages" | "deliverables" | "checks" | "review" | "runtime";
|
|
7341
|
+
label: string;
|
|
7342
|
+
status: "passed" | "pending" | "failed";
|
|
7343
|
+
complete: number;
|
|
7344
|
+
total: number;
|
|
7345
|
+
detail: string;
|
|
7346
|
+
}>;
|
|
7347
|
+
missing: Array<string>;
|
|
7348
|
+
openFindings: number;
|
|
7349
|
+
failedCandidates: number;
|
|
7350
|
+
contract?: {
|
|
7351
|
+
version: 1;
|
|
7352
|
+
objective: string;
|
|
7353
|
+
/**
|
|
7354
|
+
* Primary workflow domain. Use weather for forecast postprocessing or meteorology, posttrain for fine-tuning/alignment/checkpoint training, evidence for literature synthesis, and ml for other machine-learning experiments.
|
|
7355
|
+
*/
|
|
7356
|
+
domain: "general" | "statistics" | "biology" | "physics" | "chemistry" | "ml" | "weather" | "posttrain" | "evidence";
|
|
7357
|
+
template: "minimal" | "empirical" | "evidence";
|
|
7358
|
+
stages: Array<{
|
|
7359
|
+
id: string;
|
|
7360
|
+
label: string;
|
|
7361
|
+
status?: "pending" | "running" | "completed" | "blocked";
|
|
7362
|
+
detail?: string;
|
|
7363
|
+
updatedAt: number;
|
|
7364
|
+
}>;
|
|
7365
|
+
deliverables: Array<{
|
|
7366
|
+
path: string;
|
|
7367
|
+
label: string;
|
|
7368
|
+
required?: boolean;
|
|
7369
|
+
}>;
|
|
7370
|
+
checks: Array<{
|
|
7371
|
+
id: string;
|
|
7372
|
+
label: string;
|
|
7373
|
+
status: "pending" | "passed" | "failed";
|
|
7374
|
+
evidence?: string;
|
|
7375
|
+
detail?: string;
|
|
7376
|
+
updatedAt: number;
|
|
7377
|
+
}>;
|
|
7378
|
+
failures: Array<{
|
|
7379
|
+
id: string;
|
|
7380
|
+
stage: string;
|
|
7381
|
+
candidate: string;
|
|
7382
|
+
message: string;
|
|
7383
|
+
disposition?: string;
|
|
7384
|
+
recordedAt: number;
|
|
7385
|
+
}>;
|
|
7386
|
+
budget: {
|
|
7387
|
+
reserveUsd?: number;
|
|
7388
|
+
finalizationCalls?: number;
|
|
7389
|
+
finalizing?: boolean;
|
|
7390
|
+
exhausted?: boolean;
|
|
7391
|
+
lastBalanceUsd?: number;
|
|
7392
|
+
updatedAt: number;
|
|
7393
|
+
};
|
|
7394
|
+
createdAt: number;
|
|
7395
|
+
updatedAt: number;
|
|
7396
|
+
};
|
|
7397
|
+
};
|
|
7249
7398
|
privacy: {
|
|
7250
7399
|
local: true;
|
|
7251
7400
|
atlasRequired: false;
|
|
7252
7401
|
hiddenReasoningStored: false;
|
|
7253
7402
|
toolOutputsCopied: false;
|
|
7403
|
+
promptContentStored: false;
|
|
7254
7404
|
};
|
|
7255
7405
|
};
|
|
7256
7406
|
};
|
|
@@ -7291,7 +7441,7 @@ export type SessionFilesystemListResponses = {
|
|
|
7291
7441
|
path: string;
|
|
7292
7442
|
access: "read" | "write";
|
|
7293
7443
|
scope: "once" | "session" | "project" | "installation";
|
|
7294
|
-
source: "workspace" | "permission" | "api" | "tool";
|
|
7444
|
+
source: "workspace" | "permission" | "api" | "tool" | "handoff";
|
|
7295
7445
|
time: {
|
|
7296
7446
|
created: number;
|
|
7297
7447
|
consumed?: number;
|
|
@@ -7355,7 +7505,7 @@ export type SessionFilesystemGrantResponses = {
|
|
|
7355
7505
|
path: string;
|
|
7356
7506
|
access: "read" | "write";
|
|
7357
7507
|
scope: "once" | "session" | "project" | "installation";
|
|
7358
|
-
source: "workspace" | "permission" | "api" | "tool";
|
|
7508
|
+
source: "workspace" | "permission" | "api" | "tool" | "handoff";
|
|
7359
7509
|
time: {
|
|
7360
7510
|
created: number;
|
|
7361
7511
|
consumed?: number;
|
|
@@ -7395,7 +7545,7 @@ export type SessionFilesystemRevokeResponses = {
|
|
|
7395
7545
|
path: string;
|
|
7396
7546
|
access: "read" | "write";
|
|
7397
7547
|
scope: "once" | "session" | "project" | "installation";
|
|
7398
|
-
source: "workspace" | "permission" | "api" | "tool";
|
|
7548
|
+
source: "workspace" | "permission" | "api" | "tool" | "handoff";
|
|
7399
7549
|
time: {
|
|
7400
7550
|
created: number;
|
|
7401
7551
|
consumed?: number;
|