@kitman-sh/sdk 0.10.80 → 0.10.82
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/dist/build/index.js +2 -2
- package/dist/{chunk-9ff7wyqt.js → chunk-0f530caz.js} +1 -0
- package/dist/{chunk-hrwq77a0.js → chunk-fc5r66fq.js} +1 -1
- package/dist/loop/index.js +1 -1
- package/dist/program/index.js +2 -2
- package/package.json +1 -1
- package/types/packages/sdk/src/loop/test-loop.d.ts +2 -0
- package/types/packages/core/src/a2a.d.ts +0 -577
- package/types/packages/core/src/agent-capabilities.d.ts +0 -1434
- package/types/packages/core/src/agent-launch-snapshot.d.ts +0 -44
- package/types/packages/core/src/approval-queue.d.ts +0 -126
- package/types/packages/core/src/audit.d.ts +0 -52
- package/types/packages/core/src/change-delivery.d.ts +0 -39
- package/types/packages/core/src/change-request-review.d.ts +0 -361
- package/types/packages/core/src/change-request.d.ts +0 -288
- package/types/packages/core/src/connection.d.ts +0 -33
- package/types/packages/core/src/context-feedback.d.ts +0 -89
- package/types/packages/core/src/data-lifecycle.d.ts +0 -195
- package/types/packages/core/src/decision.d.ts +0 -48
- package/types/packages/core/src/delivery-operation.d.ts +0 -125
- package/types/packages/core/src/delivery-policy.d.ts +0 -174
- package/types/packages/core/src/enterprise-forge.d.ts +0 -19
- package/types/packages/core/src/epic-delivery.d.ts +0 -38
- package/types/packages/core/src/external-effect.d.ts +0 -313
- package/types/packages/core/src/fix-flow.d.ts +0 -149
- package/types/packages/core/src/following.d.ts +0 -59
- package/types/packages/core/src/github-delivery-fixtures.d.ts +0 -28
- package/types/packages/core/src/github-delivery.d.ts +0 -78
- package/types/packages/core/src/gitlab-delivery-fixtures.d.ts +0 -26
- package/types/packages/core/src/gitlab-delivery.d.ts +0 -76
- package/types/packages/core/src/global-search.d.ts +0 -42
- package/types/packages/core/src/id.d.ts +0 -1
- package/types/packages/core/src/integration.d.ts +0 -276
- package/types/packages/core/src/intent.d.ts +0 -260
- package/types/packages/core/src/kit-install.d.ts +0 -130
- package/types/packages/core/src/live.d.ts +0 -8231
- package/types/packages/core/src/marketplace.d.ts +0 -168
- package/types/packages/core/src/me.d.ts +0 -31
- package/types/packages/core/src/memory.d.ts +0 -93
- package/types/packages/core/src/my-teams.d.ts +0 -1599
- package/types/packages/core/src/notification.d.ts +0 -250
- package/types/packages/core/src/observability.d.ts +0 -175
- package/types/packages/core/src/owner.d.ts +0 -15
- package/types/packages/core/src/personal-development-profile.d.ts +0 -11
- package/types/packages/core/src/platform-release.d.ts +0 -60
- package/types/packages/core/src/program-credential.d.ts +0 -10
- package/types/packages/core/src/provider-safe-text.d.ts +0 -2
- package/types/packages/core/src/push.d.ts +0 -68
- package/types/packages/core/src/run-display.d.ts +0 -22
- package/types/packages/core/src/run-file.d.ts +0 -190
- package/types/packages/core/src/run-graph.d.ts +0 -67
- package/types/packages/core/src/run-journal.d.ts +0 -28
- package/types/packages/core/src/run-launch.d.ts +0 -82
- package/types/packages/core/src/runner-eligibility.d.ts +0 -62
- package/types/packages/core/src/runner-routing.d.ts +0 -11
- package/types/packages/core/src/runner-trust.d.ts +0 -67
- package/types/packages/core/src/runner.d.ts +0 -4058
- package/types/packages/core/src/scope-directory.d.ts +0 -100
- package/types/packages/core/src/session.d.ts +0 -90
- package/types/packages/core/src/step-brief.d.ts +0 -71
- package/types/packages/core/src/storage.d.ts +0 -49
- package/types/packages/core/src/sync-kit.d.ts +0 -595
- package/types/packages/core/src/task-detail.d.ts +0 -511
- package/types/packages/core/src/task-execution-record.d.ts +0 -620
- package/types/packages/core/src/task-key.d.ts +0 -9
- package/types/packages/core/src/task.d.ts +0 -588
- package/types/packages/core/src/team-context.d.ts +0 -43
- package/types/packages/core/src/transcript.d.ts +0 -250
- package/types/packages/core/src/trust-panel.d.ts +0 -27
- package/types/packages/core/src/workspace.d.ts +0 -167
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import * as Schema from 'effect/Schema';
|
|
2
|
-
export declare const ScopeDirectoryPageSize = 50;
|
|
3
|
-
export declare const ScopeDirectoryPageSizeMaximum = 100;
|
|
4
|
-
export declare const ScopeDirectoryIncludedMaximum = 8;
|
|
5
|
-
export declare const ScopeDirectoryIdMaximum = 128;
|
|
6
|
-
export declare const ScopeDirectoryCursorMaximum = 512;
|
|
7
|
-
export declare const ScopeDirectoryId: Schema.String;
|
|
8
|
-
export declare const WorkspaceSelectorItem: Schema.Struct<{
|
|
9
|
-
readonly id: Schema.String;
|
|
10
|
-
readonly name: Schema.String;
|
|
11
|
-
}>;
|
|
12
|
-
export declare const TeamSelectorItem: Schema.Struct<{
|
|
13
|
-
readonly id: Schema.String;
|
|
14
|
-
readonly workspaceId: Schema.String;
|
|
15
|
-
readonly name: Schema.String;
|
|
16
|
-
}>;
|
|
17
|
-
export declare const ScopeDirectoryPageInfo: Schema.Union<readonly [Schema.Struct<{
|
|
18
|
-
readonly hasNextPage: Schema.Literal<false>;
|
|
19
|
-
}>, Schema.Struct<{
|
|
20
|
-
readonly hasNextPage: Schema.Literal<true>;
|
|
21
|
-
readonly endCursor: Schema.String;
|
|
22
|
-
}>]>;
|
|
23
|
-
export declare const WorkspaceSelectorPage: Schema.Struct<{
|
|
24
|
-
readonly items: Schema.$Array<Schema.Struct<{
|
|
25
|
-
readonly id: Schema.String;
|
|
26
|
-
readonly name: Schema.String;
|
|
27
|
-
}>>;
|
|
28
|
-
readonly included: Schema.$Array<Schema.Struct<{
|
|
29
|
-
readonly id: Schema.String;
|
|
30
|
-
readonly name: Schema.String;
|
|
31
|
-
}>>;
|
|
32
|
-
readonly pageInfo: Schema.Union<readonly [Schema.Struct<{
|
|
33
|
-
readonly hasNextPage: Schema.Literal<false>;
|
|
34
|
-
}>, Schema.Struct<{
|
|
35
|
-
readonly hasNextPage: Schema.Literal<true>;
|
|
36
|
-
readonly endCursor: Schema.String;
|
|
37
|
-
}>]>;
|
|
38
|
-
}>;
|
|
39
|
-
export declare const TeamSelectorPage: Schema.Struct<{
|
|
40
|
-
readonly items: Schema.$Array<Schema.Struct<{
|
|
41
|
-
readonly id: Schema.String;
|
|
42
|
-
readonly workspaceId: Schema.String;
|
|
43
|
-
readonly name: Schema.String;
|
|
44
|
-
}>>;
|
|
45
|
-
readonly included: Schema.$Array<Schema.Struct<{
|
|
46
|
-
readonly id: Schema.String;
|
|
47
|
-
readonly workspaceId: Schema.String;
|
|
48
|
-
readonly name: Schema.String;
|
|
49
|
-
}>>;
|
|
50
|
-
readonly pageInfo: Schema.Union<readonly [Schema.Struct<{
|
|
51
|
-
readonly hasNextPage: Schema.Literal<false>;
|
|
52
|
-
}>, Schema.Struct<{
|
|
53
|
-
readonly hasNextPage: Schema.Literal<true>;
|
|
54
|
-
readonly endCursor: Schema.String;
|
|
55
|
-
}>]>;
|
|
56
|
-
}>;
|
|
57
|
-
export declare const ScopeDirectoryPageQuery: Schema.Struct<{
|
|
58
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.FiniteFromString]>>;
|
|
59
|
-
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
60
|
-
readonly includeIds: Schema.optionalKey<Schema.String>;
|
|
61
|
-
}>;
|
|
62
|
-
export declare const parseWorkspaceSelectorPage: <ValueType>(value: ValueType) => {
|
|
63
|
-
readonly items: readonly {
|
|
64
|
-
readonly id: string;
|
|
65
|
-
readonly name: string;
|
|
66
|
-
}[];
|
|
67
|
-
readonly included: readonly {
|
|
68
|
-
readonly id: string;
|
|
69
|
-
readonly name: string;
|
|
70
|
-
}[];
|
|
71
|
-
readonly pageInfo: {
|
|
72
|
-
readonly hasNextPage: false;
|
|
73
|
-
} | {
|
|
74
|
-
readonly hasNextPage: true;
|
|
75
|
-
readonly endCursor: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
export declare const parseTeamSelectorPage: <ValueType>(value: ValueType, workspaceId: string) => {
|
|
79
|
-
readonly items: readonly {
|
|
80
|
-
readonly id: string;
|
|
81
|
-
readonly workspaceId: string;
|
|
82
|
-
readonly name: string;
|
|
83
|
-
}[];
|
|
84
|
-
readonly included: readonly {
|
|
85
|
-
readonly id: string;
|
|
86
|
-
readonly workspaceId: string;
|
|
87
|
-
readonly name: string;
|
|
88
|
-
}[];
|
|
89
|
-
readonly pageInfo: {
|
|
90
|
-
readonly hasNextPage: false;
|
|
91
|
-
} | {
|
|
92
|
-
readonly hasNextPage: true;
|
|
93
|
-
readonly endCursor: string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
export type WorkspaceSelectorItem = (typeof WorkspaceSelectorItem)['Type'];
|
|
97
|
-
export type TeamSelectorItem = (typeof TeamSelectorItem)['Type'];
|
|
98
|
-
export type WorkspaceSelectorPage = (typeof WorkspaceSelectorPage)['Type'];
|
|
99
|
-
export type TeamSelectorPage = (typeof TeamSelectorPage)['Type'];
|
|
100
|
-
export type ScopeDirectoryPageInfo = (typeof ScopeDirectoryPageInfo)['Type'];
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import * as Schema from 'effect/Schema';
|
|
2
|
-
export declare const SessionStatuses: readonly ['active', 'ended'];
|
|
3
|
-
export declare const DefaultSessionStatus = "active";
|
|
4
|
-
export declare const SessionStatus: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"ended">]>;
|
|
5
|
-
export declare const SessionUpdateKind: Schema.Union<readonly [Schema.Literal<"note">, Schema.Literal<"question">, Schema.Literal<"answer">, Schema.Literal<"decision">, Schema.Literal<"blocker">, Schema.Literal<"finding">, Schema.Literal<"handoff">, Schema.Literal<"test_result">, Schema.Literal<"file_reference">, Schema.Literal<"status_change">, Schema.Literal<"assignment_change">, Schema.Literal<"link">]>;
|
|
6
|
-
export declare const Session: Schema.Struct<{
|
|
7
|
-
readonly id: Schema.String;
|
|
8
|
-
readonly workspaceId: Schema.String;
|
|
9
|
-
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
10
|
-
readonly taskId: Schema.String;
|
|
11
|
-
readonly actorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
12
|
-
readonly actorId: Schema.String;
|
|
13
|
-
readonly actorName: Schema.optionalKey<Schema.String>;
|
|
14
|
-
readonly delegatedByUserId: Schema.optionalKey<Schema.String>;
|
|
15
|
-
readonly agentName: Schema.optionalKey<Schema.String>;
|
|
16
|
-
readonly agentIdentityId: Schema.optionalKey<Schema.String>;
|
|
17
|
-
readonly runtimeMetadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
18
|
-
readonly modelMetadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
19
|
-
readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"ended">]>;
|
|
20
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
21
|
-
readonly startedAt: Schema.String;
|
|
22
|
-
readonly endedAt: Schema.optionalKey<Schema.String>;
|
|
23
|
-
readonly createdAt: Schema.String;
|
|
24
|
-
readonly updatedAt: Schema.String;
|
|
25
|
-
}>;
|
|
26
|
-
export declare const SessionCreate: Schema.Struct<{
|
|
27
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
28
|
-
readonly agentIdentityId: Schema.optionalKey<Schema.String>;
|
|
29
|
-
readonly runtimeMetadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
30
|
-
readonly modelMetadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
31
|
-
}>;
|
|
32
|
-
export declare const SessionEnd: Schema.Struct<{
|
|
33
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
34
|
-
}>;
|
|
35
|
-
export declare const SessionList: Schema.Struct<{
|
|
36
|
-
readonly items: Schema.$Array<Schema.Struct<{
|
|
37
|
-
readonly id: Schema.String;
|
|
38
|
-
readonly workspaceId: Schema.String;
|
|
39
|
-
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
40
|
-
readonly taskId: Schema.String;
|
|
41
|
-
readonly actorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
42
|
-
readonly actorId: Schema.String;
|
|
43
|
-
readonly actorName: Schema.optionalKey<Schema.String>;
|
|
44
|
-
readonly delegatedByUserId: Schema.optionalKey<Schema.String>;
|
|
45
|
-
readonly agentName: Schema.optionalKey<Schema.String>;
|
|
46
|
-
readonly agentIdentityId: Schema.optionalKey<Schema.String>;
|
|
47
|
-
readonly runtimeMetadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
48
|
-
readonly modelMetadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
49
|
-
readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"ended">]>;
|
|
50
|
-
readonly summary: Schema.optionalKey<Schema.String>;
|
|
51
|
-
readonly startedAt: Schema.String;
|
|
52
|
-
readonly endedAt: Schema.optionalKey<Schema.String>;
|
|
53
|
-
readonly createdAt: Schema.String;
|
|
54
|
-
readonly updatedAt: Schema.String;
|
|
55
|
-
}>>;
|
|
56
|
-
}>;
|
|
57
|
-
export declare const SessionUpdate: Schema.Struct<{
|
|
58
|
-
readonly id: Schema.String;
|
|
59
|
-
readonly sessionId: Schema.String;
|
|
60
|
-
readonly taskId: Schema.String;
|
|
61
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"note">, Schema.Literal<"question">, Schema.Literal<"answer">, Schema.Literal<"decision">, Schema.Literal<"blocker">, Schema.Literal<"finding">, Schema.Literal<"handoff">, Schema.Literal<"test_result">, Schema.Literal<"file_reference">, Schema.Literal<"status_change">, Schema.Literal<"assignment_change">, Schema.Literal<"link">]>;
|
|
62
|
-
readonly content: Schema.String;
|
|
63
|
-
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
64
|
-
readonly createdAt: Schema.String;
|
|
65
|
-
}>;
|
|
66
|
-
export declare const SessionUpdateList: Schema.Struct<{
|
|
67
|
-
readonly items: Schema.$Array<Schema.Struct<{
|
|
68
|
-
readonly id: Schema.String;
|
|
69
|
-
readonly sessionId: Schema.String;
|
|
70
|
-
readonly taskId: Schema.String;
|
|
71
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"note">, Schema.Literal<"question">, Schema.Literal<"answer">, Schema.Literal<"decision">, Schema.Literal<"blocker">, Schema.Literal<"finding">, Schema.Literal<"handoff">, Schema.Literal<"test_result">, Schema.Literal<"file_reference">, Schema.Literal<"status_change">, Schema.Literal<"assignment_change">, Schema.Literal<"link">]>;
|
|
72
|
-
readonly content: Schema.String;
|
|
73
|
-
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
74
|
-
readonly createdAt: Schema.String;
|
|
75
|
-
}>>;
|
|
76
|
-
}>;
|
|
77
|
-
export declare const SessionUpdateCreate: Schema.Struct<{
|
|
78
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"note">, Schema.Literal<"question">, Schema.Literal<"answer">, Schema.Literal<"decision">, Schema.Literal<"blocker">, Schema.Literal<"finding">, Schema.Literal<"handoff">, Schema.Literal<"test_result">, Schema.Literal<"file_reference">, Schema.Literal<"status_change">, Schema.Literal<"assignment_change">, Schema.Literal<"link">]>;
|
|
79
|
-
readonly content: Schema.String;
|
|
80
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
81
|
-
}>;
|
|
82
|
-
export type SessionStatus = (typeof SessionStatus)['Type'];
|
|
83
|
-
export type SessionUpdateKind = (typeof SessionUpdateKind)['Type'];
|
|
84
|
-
export type Session = (typeof Session)['Type'];
|
|
85
|
-
export type SessionCreate = (typeof SessionCreate)['Type'];
|
|
86
|
-
export type SessionEnd = (typeof SessionEnd)['Type'];
|
|
87
|
-
export type SessionList = (typeof SessionList)['Type'];
|
|
88
|
-
export type SessionUpdate = (typeof SessionUpdate)['Type'];
|
|
89
|
-
export type SessionUpdateList = (typeof SessionUpdateList)['Type'];
|
|
90
|
-
export type SessionUpdateCreate = (typeof SessionUpdateCreate)['Type'];
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { type CitedRunFile } from './run-file';
|
|
2
|
-
import type { JsonObject } from './runtime-type';
|
|
3
|
-
/**
|
|
4
|
-
* Validates an Output against its JSON Schema and checks each RunFile field against the Run's files; the message is
|
|
5
|
-
* what the agent sees for its one repair.
|
|
6
|
-
*/
|
|
7
|
-
export declare function validateAgentOutput(schema: JsonObject, output: JsonObject, run?: {
|
|
8
|
-
readonly runId: string;
|
|
9
|
-
readonly files: readonly CitedRunFile[];
|
|
10
|
-
}): {
|
|
11
|
-
readonly ok: true;
|
|
12
|
-
} | {
|
|
13
|
-
readonly ok: false;
|
|
14
|
-
readonly message: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const maxOutputTextLength: number;
|
|
17
|
-
/** The Step brief: the Harness's system prompt where it takes one there, otherwise the first message. */
|
|
18
|
-
export declare function renderStepBriefPrompt(input: {
|
|
19
|
-
readonly instruction: string;
|
|
20
|
-
readonly contextPackMarkdown?: string;
|
|
21
|
-
readonly outputSchema: JsonObject;
|
|
22
|
-
}): string;
|
|
23
|
-
type ContextArtifact = {
|
|
24
|
-
readonly title: string;
|
|
25
|
-
readonly kind: string;
|
|
26
|
-
readonly text: string;
|
|
27
|
-
};
|
|
28
|
-
/** How much of one artifact's text a brief carries, about 1.5k tokens; the rest stays on the Run. */
|
|
29
|
-
export declare const BriefArtifactCap = 6000;
|
|
30
|
-
/**
|
|
31
|
-
* A program agent Step's ContextPack: its Task's context, the newest artifact of each kind in this Run and in the
|
|
32
|
-
* Task's earlier Runs, each capped, and what earlier attempts of the Step recorded; then the Run's Intent and
|
|
33
|
-
* steering. Undefined when there is nothing to say.
|
|
34
|
-
*/
|
|
35
|
-
export declare function programStepContext(input: {
|
|
36
|
-
readonly taskContext?: string;
|
|
37
|
-
/** Oldest first. */
|
|
38
|
-
readonly runArtifacts: readonly ContextArtifact[];
|
|
39
|
-
/** Newest first. */
|
|
40
|
-
readonly earlierArtifacts: readonly ContextArtifact[];
|
|
41
|
-
readonly handoff: readonly {
|
|
42
|
-
readonly attempt: number;
|
|
43
|
-
readonly kind: string;
|
|
44
|
-
readonly content: string;
|
|
45
|
-
}[];
|
|
46
|
-
/** The Run's current Intent, as Oversight renders it. */
|
|
47
|
-
readonly intent?: string;
|
|
48
|
-
readonly steering?: readonly string[];
|
|
49
|
-
}): string | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* The skill the Step runs, then the program's prompt, then the Kitman tools every Step has: its trail for a retry,
|
|
52
|
-
* asking, files and skills.
|
|
53
|
-
*/
|
|
54
|
-
export declare const programStepInstruction: (prompt: string, options?: {
|
|
55
|
-
readonly missingSkills?: readonly string[];
|
|
56
|
-
/** The skill the Step runs, with its SKILL.md, which is undefined when no Kit of the Run provides it. */
|
|
57
|
-
readonly runSkill?: {
|
|
58
|
-
readonly name: string;
|
|
59
|
-
readonly skill: string | undefined;
|
|
60
|
-
};
|
|
61
|
-
}) => string;
|
|
62
|
-
type StepCredentialLease = {
|
|
63
|
-
readonly stepAttemptId: string;
|
|
64
|
-
readonly leaseId: string;
|
|
65
|
-
readonly fencingToken: string;
|
|
66
|
-
};
|
|
67
|
-
/** The agent's credential for StepAttempt-scoped Kitman MCP tools; it is valid only for the lease it was minted for. */
|
|
68
|
-
export declare function mintStepCredential(secret: string, lease: StepCredentialLease): string;
|
|
69
|
-
export declare function stepCredentialAttemptId(credential: string): string | undefined;
|
|
70
|
-
export declare function stepCredentialMatches(secret: string, credential: string, lease: StepCredentialLease): boolean;
|
|
71
|
-
export {};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as Schema from 'effect/Schema';
|
|
2
|
-
export declare const formatBytes: (bytes: number) => string;
|
|
3
|
-
/** How Settings and every refusal word each storage limit. */
|
|
4
|
-
export declare const storageLimitWords: {
|
|
5
|
-
quota: (quotaBytes: number) => string;
|
|
6
|
-
file: (fileBytes: number) => string;
|
|
7
|
-
run: (filesPerRun: number) => string;
|
|
8
|
-
};
|
|
9
|
-
export declare const maxRunFileRetentionDays = 3650;
|
|
10
|
-
export declare const RunFileRetentionDays: Schema.NullOr<Schema.Int>;
|
|
11
|
-
/** What a Workspace stores against its quota, in used and reserved bytes, and how long it keeps Run Files. */
|
|
12
|
-
export declare const WorkspaceStorageSettings: Schema.Struct<{
|
|
13
|
-
readonly usedBytes: Schema.Int;
|
|
14
|
-
readonly quotaBytes: Schema.Int;
|
|
15
|
-
readonly byPurpose: Schema.Struct<{
|
|
16
|
-
readonly runFile: Schema.Int;
|
|
17
|
-
readonly taskAsset: Schema.Int;
|
|
18
|
-
readonly checkpoint: Schema.Int;
|
|
19
|
-
}>;
|
|
20
|
-
readonly limits: Schema.Struct<{
|
|
21
|
-
readonly fileBytes: Schema.Int;
|
|
22
|
-
readonly filesPerRun: Schema.Int;
|
|
23
|
-
}>;
|
|
24
|
-
/** Null keeps Run Files as long as their Run. */
|
|
25
|
-
readonly runFileRetentionDays: Schema.NullOr<Schema.Int>;
|
|
26
|
-
}>;
|
|
27
|
-
export type WorkspaceStorageSettings = typeof WorkspaceStorageSettings.Type;
|
|
28
|
-
export declare const WorkspaceStorageUpdate: Schema.Struct<{
|
|
29
|
-
readonly runFileRetentionDays: Schema.NullOr<Schema.Int>;
|
|
30
|
-
}>;
|
|
31
|
-
export type WorkspaceStorageUpdate = typeof WorkspaceStorageUpdate.Type;
|
|
32
|
-
/** The settings saved, and how many available Run Files they expire. */
|
|
33
|
-
export declare const WorkspaceStorageSaved: Schema.Struct<{
|
|
34
|
-
readonly usedBytes: Schema.Int;
|
|
35
|
-
readonly quotaBytes: Schema.Int;
|
|
36
|
-
readonly byPurpose: Schema.Struct<{
|
|
37
|
-
readonly runFile: Schema.Int;
|
|
38
|
-
readonly taskAsset: Schema.Int;
|
|
39
|
-
readonly checkpoint: Schema.Int;
|
|
40
|
-
}>;
|
|
41
|
-
readonly limits: Schema.Struct<{
|
|
42
|
-
readonly fileBytes: Schema.Int;
|
|
43
|
-
readonly filesPerRun: Schema.Int;
|
|
44
|
-
}>;
|
|
45
|
-
/** Null keeps Run Files as long as their Run. */
|
|
46
|
-
readonly runFileRetentionDays: Schema.NullOr<Schema.Int>;
|
|
47
|
-
readonly willExpire: Schema.Int;
|
|
48
|
-
}>;
|
|
49
|
-
export type WorkspaceStorageSaved = typeof WorkspaceStorageSaved.Type;
|