@kitman-sh/loops 0.0.0-stage → 0.7.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/dist/index.js +1066 -0
- package/package.json +19 -4
- package/types/packages/core/src/agent-environment.d.ts +2429 -0
- package/types/packages/core/src/agent-sandbox-policy.d.ts +33 -0
- package/types/packages/core/src/common.d.ts +6 -0
- package/types/packages/core/src/context-pack.d.ts +182 -0
- package/types/packages/core/src/extension.d.ts +35 -0
- package/types/packages/core/src/kit.d.ts +1489 -0
- package/types/packages/core/src/loop-layers.d.ts +59 -0
- package/types/packages/core/src/loop-version.d.ts +59 -0
- package/types/packages/core/src/loop.d.ts +3076 -0
- package/types/packages/core/src/package-declarations.d.ts +435 -0
- package/types/packages/core/src/proposal.d.ts +292 -0
- package/types/packages/core/src/redaction.d.ts +73 -0
- package/types/packages/core/src/run.d.ts +566 -0
- package/types/packages/core/src/runtime-type.d.ts +36 -0
- package/types/packages/core/src/schedule.d.ts +136 -0
- package/types/packages/core/src/schema.d.ts +89 -0
- package/types/packages/core/src/trigger-dispatch.d.ts +421 -0
- package/types/packages/loops/src/build.d.ts +33 -0
- package/types/packages/loops/src/change-request-body.d.ts +14 -0
- package/types/packages/loops/src/code-quality-pass.d.ts +50 -0
- package/types/packages/loops/src/code-quality.d.ts +26 -0
- package/types/packages/loops/src/hello.d.ts +9 -0
- package/types/packages/loops/src/incident.d.ts +13 -0
- package/types/packages/loops/src/index.d.ts +172 -0
- package/types/packages/loops/src/plan.d.ts +37 -0
- package/types/packages/loops/src/release.d.ts +21 -0
- package/types/packages/loops/src/research.d.ts +8 -0
- package/types/packages/loops/src/review.d.ts +38 -0
- package/types/packages/sdk/src/loop/activities.d.ts +187 -0
- package/types/packages/sdk/src/loop/check.d.ts +39 -0
- package/types/packages/sdk/src/loop/config.d.ts +68 -0
- package/types/packages/sdk/src/loop/define.d.ts +76 -0
- package/types/packages/sdk/src/loop/evidence.d.ts +66 -0
- package/types/packages/sdk/src/loop/index.d.ts +9 -0
- package/types/packages/sdk/src/loop/plan.d.ts +43 -0
- package/types/packages/sdk/src/loop/review.d.ts +86 -0
- package/types/packages/sdk/src/loop/steps.d.ts +224 -0
- package/types/packages/sdk/src/loop/test-loop.d.ts +112 -0
- package/README.md +0 -3
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
/** Allowlisted hosts, or `open` for an Agent that browses. */
|
|
3
|
+
export declare const AgentSandboxNetwork: Schema.Union<readonly [Schema.Struct<{
|
|
4
|
+
readonly hosts: Schema.$Array<Schema.String>;
|
|
5
|
+
}>, Schema.Literal<"open">]>;
|
|
6
|
+
/** What a SandboxBackend enforces around one StepAttempt's Harness; `host` enforces none of it. */
|
|
7
|
+
export declare const AgentSandboxPolicy: Schema.Struct<{
|
|
8
|
+
readonly writablePaths: Schema.$Array<Schema.String>;
|
|
9
|
+
/** `~` is the Runner user's home directory. */
|
|
10
|
+
readonly readDeniedPaths: Schema.$Array<Schema.String>;
|
|
11
|
+
/** Readable again inside `readDeniedPaths`; a denied path within one stays denied. */
|
|
12
|
+
readonly readAllowedPaths: Schema.$Array<Schema.String>;
|
|
13
|
+
readonly network: Schema.Union<readonly [Schema.Struct<{
|
|
14
|
+
readonly hosts: Schema.$Array<Schema.String>;
|
|
15
|
+
}>, Schema.Literal<"open">]>;
|
|
16
|
+
readonly environment: Schema.$Record<Schema.String, Schema.String>;
|
|
17
|
+
readonly dockerImageDigest: Schema.optionalKey<Schema.String>;
|
|
18
|
+
}>;
|
|
19
|
+
export type AgentSandboxNetwork = (typeof AgentSandboxNetwork)['Type'];
|
|
20
|
+
export type AgentSandboxPolicy = (typeof AgentSandboxPolicy)['Type'];
|
|
21
|
+
/** SSH keys and cloud credentials no sandboxed agent may read. */
|
|
22
|
+
export declare const AgentSandboxCredentialPaths: readonly ['~/.ssh', '~/.aws', '~/.azure', '~/.config/gcloud', '~/.kube', '~/.docker/config.json', '~/.netrc', '~/.git-credentials', '~/.config/gh', '~/.config/glab-cli', '~/.config/kitman/auth.json'];
|
|
23
|
+
/** The Runner's part of a policy; the Agent Backend adds the workspace, the Harness's config and credential. */
|
|
24
|
+
export declare const runnerAgentSandboxPolicy: () => AgentSandboxPolicy;
|
|
25
|
+
/** npm, PyPI, crates.io, the Go module proxy, RubyGems and Maven Central. */
|
|
26
|
+
export declare const PackageRegistryHosts: readonly ['registry.npmjs.org', 'pypi.org', 'files.pythonhosted.org', 'crates.io', 'static.crates.io', 'index.crates.io', 'proxy.golang.org', 'sum.golang.org', 'rubygems.org', 'index.rubygems.org', 'repo.maven.apache.org', 'repo1.maven.org'];
|
|
27
|
+
/** Where an agent Step may connect: Kitman, its Harness's model providers, package registries, its git host and its Agent's own hosts. */
|
|
28
|
+
export declare const agentNetworkAllowlist: (input: {
|
|
29
|
+
readonly apiUrl: string;
|
|
30
|
+
readonly providerHosts: readonly string[];
|
|
31
|
+
readonly repoBindingHost?: string;
|
|
32
|
+
readonly agent?: AgentSandboxNetwork;
|
|
33
|
+
}) => AgentSandboxNetwork;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
export declare const Id: Schema.String;
|
|
3
|
+
export declare const Slug: Schema.String;
|
|
4
|
+
export declare const Timestamp: Schema.String;
|
|
5
|
+
export declare const ActorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
6
|
+
export type ActorType = (typeof ActorType)['Type'];
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
export declare const ContextPackModes: readonly ['planning', 'implementation', 'debugging', 'review', 'handoff'];
|
|
3
|
+
export declare const ContextPackIndexEntryKinds: readonly ['task', 'project', 'kit', 'memory', 'decision', 'session', 'session_update', 'proposal', 'task_dependency', 'repo_binding', 'agent_environment', 'loop_step'];
|
|
4
|
+
export declare const ContextPackRetrievalRefKinds: readonly ['kit', 'memory', 'decision', 'session', 'session_update', 'proposal', 'task_dependency', 'repo_binding', 'agent_environment', 'loop_step'];
|
|
5
|
+
export declare const DefaultContextPackMode = "implementation";
|
|
6
|
+
export declare const ContextPackMode: Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>;
|
|
7
|
+
export declare const ContextPackRetrievalRefKind: Schema.Literals<readonly ["kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
8
|
+
export declare const ContextPackLaunchBrief: Schema.Struct<{
|
|
9
|
+
readonly mode: Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>;
|
|
10
|
+
readonly taskTitle: Schema.String;
|
|
11
|
+
readonly projectName: Schema.optionalKey<Schema.String>;
|
|
12
|
+
readonly summary: Schema.String;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const ContextPackIndexEntry: Schema.Struct<{
|
|
15
|
+
readonly kind: Schema.Literals<readonly ["task", "project", "kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
16
|
+
readonly id: Schema.String;
|
|
17
|
+
readonly title: Schema.String;
|
|
18
|
+
readonly reason: Schema.String;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const ContextPackRetrievalRef: Schema.Struct<{
|
|
21
|
+
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
22
|
+
readonly id: Schema.String;
|
|
23
|
+
readonly label: Schema.String;
|
|
24
|
+
}>;
|
|
25
|
+
export declare function normalizeContextPackVerificationCommands<InputType>(input: InputType): string[];
|
|
26
|
+
export declare const ContextPackRelevanceSummary: Schema.Struct<{
|
|
27
|
+
readonly included: Schema.$Array<Schema.String>;
|
|
28
|
+
readonly omitted: Schema.$Array<Schema.String>;
|
|
29
|
+
readonly notes: Schema.$Array<Schema.String>;
|
|
30
|
+
readonly readiness: Schema.optionalKey<Schema.Struct<{
|
|
31
|
+
readonly scopeAvailable: Schema.Boolean;
|
|
32
|
+
readonly acceptanceCriteriaAvailable: Schema.Boolean;
|
|
33
|
+
readonly dependenciesSatisfied: Schema.Boolean;
|
|
34
|
+
readonly executionPlanAvailable: Schema.Boolean;
|
|
35
|
+
readonly repoBindingAvailable: Schema.Boolean;
|
|
36
|
+
readonly verificationCommands: Schema.$Array<Schema.String>;
|
|
37
|
+
readonly deliveryTargetAvailable: Schema.Boolean;
|
|
38
|
+
}>>;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const ContextPackBudget: Schema.Struct<{
|
|
41
|
+
readonly maxMarkdownChars: Schema.Int;
|
|
42
|
+
readonly markdownChars: Schema.Int;
|
|
43
|
+
readonly indexedItemCount: Schema.Int;
|
|
44
|
+
readonly retrievalRefCount: Schema.Int;
|
|
45
|
+
}>;
|
|
46
|
+
export declare const ContextPack: Schema.Struct<{
|
|
47
|
+
readonly contextPackId: Schema.String;
|
|
48
|
+
readonly workspaceId: Schema.String;
|
|
49
|
+
readonly projectId: Schema.optionalKey<Schema.String>;
|
|
50
|
+
readonly taskId: Schema.String;
|
|
51
|
+
readonly mode: Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>;
|
|
52
|
+
readonly contentMarkdown: Schema.String;
|
|
53
|
+
readonly launchBrief: Schema.Struct<{
|
|
54
|
+
readonly mode: Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>;
|
|
55
|
+
readonly taskTitle: Schema.String;
|
|
56
|
+
readonly projectName: Schema.optionalKey<Schema.String>;
|
|
57
|
+
readonly summary: Schema.String;
|
|
58
|
+
}>;
|
|
59
|
+
readonly contextIndex: Schema.$Array<Schema.Struct<{
|
|
60
|
+
readonly kind: Schema.Literals<readonly ["task", "project", "kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
61
|
+
readonly id: Schema.String;
|
|
62
|
+
readonly title: Schema.String;
|
|
63
|
+
readonly reason: Schema.String;
|
|
64
|
+
}>>;
|
|
65
|
+
readonly retrievalRefs: Schema.$Array<Schema.Struct<{
|
|
66
|
+
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
67
|
+
readonly id: Schema.String;
|
|
68
|
+
readonly label: Schema.String;
|
|
69
|
+
}>>;
|
|
70
|
+
readonly relevanceSummary: Schema.Struct<{
|
|
71
|
+
readonly included: Schema.$Array<Schema.String>;
|
|
72
|
+
readonly omitted: Schema.$Array<Schema.String>;
|
|
73
|
+
readonly notes: Schema.$Array<Schema.String>;
|
|
74
|
+
readonly readiness: Schema.optionalKey<Schema.Struct<{
|
|
75
|
+
readonly scopeAvailable: Schema.Boolean;
|
|
76
|
+
readonly acceptanceCriteriaAvailable: Schema.Boolean;
|
|
77
|
+
readonly dependenciesSatisfied: Schema.Boolean;
|
|
78
|
+
readonly executionPlanAvailable: Schema.Boolean;
|
|
79
|
+
readonly repoBindingAvailable: Schema.Boolean;
|
|
80
|
+
readonly verificationCommands: Schema.$Array<Schema.String>;
|
|
81
|
+
readonly deliveryTargetAvailable: Schema.Boolean;
|
|
82
|
+
}>>;
|
|
83
|
+
}>;
|
|
84
|
+
readonly budget: Schema.Struct<{
|
|
85
|
+
readonly maxMarkdownChars: Schema.Int;
|
|
86
|
+
readonly markdownChars: Schema.Int;
|
|
87
|
+
readonly indexedItemCount: Schema.Int;
|
|
88
|
+
readonly retrievalRefCount: Schema.Int;
|
|
89
|
+
}>;
|
|
90
|
+
readonly includedKitIds: Schema.$Array<Schema.String>;
|
|
91
|
+
readonly includedMemoryIds: Schema.$Array<Schema.String>;
|
|
92
|
+
readonly includedDecisionIds: Schema.$Array<Schema.String>;
|
|
93
|
+
readonly includedProposalIds: Schema.$Array<Schema.String>;
|
|
94
|
+
readonly includedSessionIds: Schema.$Array<Schema.String>;
|
|
95
|
+
readonly createdByActorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
96
|
+
readonly createdByActorId: Schema.String;
|
|
97
|
+
readonly createdAt: Schema.String;
|
|
98
|
+
}>;
|
|
99
|
+
export declare const ContextPackGenerate: Schema.Struct<{
|
|
100
|
+
readonly mode: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>>;
|
|
101
|
+
}>;
|
|
102
|
+
export declare const ContextPackLatestQuery: Schema.Struct<{
|
|
103
|
+
readonly mode: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>>;
|
|
104
|
+
}>;
|
|
105
|
+
export declare const ContextPackResult: Schema.Struct<{
|
|
106
|
+
readonly contextPackId: Schema.String;
|
|
107
|
+
readonly mode: Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>;
|
|
108
|
+
readonly contentMarkdown: Schema.String;
|
|
109
|
+
readonly launchBrief: Schema.optionalKey<Schema.Struct<{
|
|
110
|
+
readonly mode: Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>;
|
|
111
|
+
readonly taskTitle: Schema.String;
|
|
112
|
+
readonly projectName: Schema.optionalKey<Schema.String>;
|
|
113
|
+
readonly summary: Schema.String;
|
|
114
|
+
}>>;
|
|
115
|
+
readonly contextIndex: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
116
|
+
readonly kind: Schema.Literals<readonly ["task", "project", "kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
117
|
+
readonly id: Schema.String;
|
|
118
|
+
readonly title: Schema.String;
|
|
119
|
+
readonly reason: Schema.String;
|
|
120
|
+
}>>>;
|
|
121
|
+
readonly retrievalRefs: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
122
|
+
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
123
|
+
readonly id: Schema.String;
|
|
124
|
+
readonly label: Schema.String;
|
|
125
|
+
}>>>;
|
|
126
|
+
readonly relevanceSummary: Schema.optionalKey<Schema.Struct<{
|
|
127
|
+
readonly included: Schema.$Array<Schema.String>;
|
|
128
|
+
readonly omitted: Schema.$Array<Schema.String>;
|
|
129
|
+
readonly notes: Schema.$Array<Schema.String>;
|
|
130
|
+
readonly readiness: Schema.optionalKey<Schema.Struct<{
|
|
131
|
+
readonly scopeAvailable: Schema.Boolean;
|
|
132
|
+
readonly acceptanceCriteriaAvailable: Schema.Boolean;
|
|
133
|
+
readonly dependenciesSatisfied: Schema.Boolean;
|
|
134
|
+
readonly executionPlanAvailable: Schema.Boolean;
|
|
135
|
+
readonly repoBindingAvailable: Schema.Boolean;
|
|
136
|
+
readonly verificationCommands: Schema.$Array<Schema.String>;
|
|
137
|
+
readonly deliveryTargetAvailable: Schema.Boolean;
|
|
138
|
+
}>>;
|
|
139
|
+
}>>;
|
|
140
|
+
readonly budget: Schema.optionalKey<Schema.Struct<{
|
|
141
|
+
readonly maxMarkdownChars: Schema.Int;
|
|
142
|
+
readonly markdownChars: Schema.Int;
|
|
143
|
+
readonly indexedItemCount: Schema.Int;
|
|
144
|
+
readonly retrievalRefCount: Schema.Int;
|
|
145
|
+
}>>;
|
|
146
|
+
readonly includedDecisionIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
147
|
+
readonly includedProposalIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
148
|
+
}>;
|
|
149
|
+
export declare const ContextPackRetrievalInput: Schema.Struct<{
|
|
150
|
+
readonly contextPackId: Schema.String;
|
|
151
|
+
readonly ref: Schema.Struct<{
|
|
152
|
+
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
153
|
+
readonly id: Schema.String;
|
|
154
|
+
readonly label: Schema.String;
|
|
155
|
+
}>;
|
|
156
|
+
}>;
|
|
157
|
+
export declare const ContextPackRetrievedContext: Schema.Struct<{
|
|
158
|
+
readonly contextPackId: Schema.String;
|
|
159
|
+
readonly ref: Schema.Struct<{
|
|
160
|
+
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
161
|
+
readonly id: Schema.String;
|
|
162
|
+
readonly label: Schema.String;
|
|
163
|
+
}>;
|
|
164
|
+
readonly contentMarkdown: Schema.String;
|
|
165
|
+
readonly safety: Schema.Struct<{
|
|
166
|
+
readonly rawContentIncluded: Schema.Boolean;
|
|
167
|
+
readonly notes: Schema.$Array<Schema.String>;
|
|
168
|
+
}>;
|
|
169
|
+
}>;
|
|
170
|
+
export type ContextPackMode = (typeof ContextPackMode)['Type'];
|
|
171
|
+
export type ContextPackRetrievalRefKind = (typeof ContextPackRetrievalRefKind)['Type'];
|
|
172
|
+
export type ContextPackLaunchBrief = (typeof ContextPackLaunchBrief)['Type'];
|
|
173
|
+
export type ContextPackIndexEntry = (typeof ContextPackIndexEntry)['Type'];
|
|
174
|
+
export type ContextPackRetrievalRef = (typeof ContextPackRetrievalRef)['Type'];
|
|
175
|
+
export type ContextPackRelevanceSummary = (typeof ContextPackRelevanceSummary)['Type'];
|
|
176
|
+
export type ContextPackBudget = (typeof ContextPackBudget)['Type'];
|
|
177
|
+
export type ContextPack = (typeof ContextPack)['Type'];
|
|
178
|
+
export type ContextPackGenerate = (typeof ContextPackGenerate)['Type'];
|
|
179
|
+
export type ContextPackLatestQuery = (typeof ContextPackLatestQuery)['Type'];
|
|
180
|
+
export type ContextPackResult = (typeof ContextPackResult)['Type'];
|
|
181
|
+
export type ContextPackRetrievalInput = (typeof ContextPackRetrievalInput)['Type'];
|
|
182
|
+
export type ContextPackRetrievedContext = (typeof ContextPackRetrievedContext)['Type'];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { SafeJson } from './run';
|
|
3
|
+
export declare const NativeExtensionTarget: Schema.Literals<readonly ["runner_backend", "harness", "sandbox"]>;
|
|
4
|
+
export type NativeExtensionTarget = (typeof NativeExtensionTarget)['Type'];
|
|
5
|
+
/**
|
|
6
|
+
* Authoring-side reference to a namespaced, versioned native extension. Unknown
|
|
7
|
+
* identities stay valid so optional payloads survive round trips until a
|
|
8
|
+
* supporting implementation is selected.
|
|
9
|
+
*/
|
|
10
|
+
export declare const NativeExtensionRef: Schema.Struct<{
|
|
11
|
+
readonly extensionId: Schema.String;
|
|
12
|
+
readonly version: Schema.Int;
|
|
13
|
+
readonly policy: Schema.Literals<readonly ["optional", "required"]>;
|
|
14
|
+
readonly requiredCapabilities: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
15
|
+
readonly configuration: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<SafeJson, SafeJson, never, never>>>;
|
|
16
|
+
}>;
|
|
17
|
+
export type NativeExtensionRef = (typeof NativeExtensionRef)['Type'];
|
|
18
|
+
/**
|
|
19
|
+
* Implementation-side descriptor. Exported from implementation-specific modules
|
|
20
|
+
* only; generic Agents, Steps, Loops, and Kits never import these values.
|
|
21
|
+
*/
|
|
22
|
+
export declare const NativeExtensionDescriptor: Schema.Struct<{
|
|
23
|
+
readonly extensionId: Schema.String;
|
|
24
|
+
readonly version: Schema.Int;
|
|
25
|
+
readonly target: Schema.Literals<readonly ["runner_backend", "harness", "sandbox"]>;
|
|
26
|
+
readonly requiredCapabilities: Schema.$Array<Schema.String>;
|
|
27
|
+
readonly configurationSchema: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<SafeJson, SafeJson, never, never>>>;
|
|
28
|
+
readonly resultSchema: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<SafeJson, SafeJson, never, never>>>;
|
|
29
|
+
readonly observability: Schema.Struct<{
|
|
30
|
+
readonly transcriptPolicy: Schema.Literal<"metadata_only">;
|
|
31
|
+
readonly maxMetadataChars: Schema.optionalKey<Schema.Int>;
|
|
32
|
+
}>;
|
|
33
|
+
}>;
|
|
34
|
+
export type NativeExtensionDescriptor = (typeof NativeExtensionDescriptor)['Type'];
|
|
35
|
+
export declare function nativeExtensionIdentity(ref: Pick<NativeExtensionRef, 'extensionId' | 'version'>): string;
|