@kitman-sh/cli 0.11.0-rc.6 → 0.11.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/{chunk-9a2r12ye.js → chunk-0ca9dqh5.js} +1 -1
- package/dist/{chunk-5hx3j5x8.js → chunk-3y7j2s7v.js} +2 -2
- package/dist/{chunk-egb7pjjz.js → chunk-5326a9ks.js} +1 -1
- package/dist/{chunk-7fbpsnt7.js → chunk-5tp7y1kc.js} +3 -3
- package/dist/{chunk-6pyxykt1.js → chunk-6jceaa1q.js} +18 -10
- package/dist/{chunk-q9pbynx3.js → chunk-7bktb38f.js} +104 -17
- package/dist/{chunk-rtqdqr0v.js → chunk-9z371t6k.js} +131 -10
- package/dist/{chunk-248msks2.js → chunk-bm7hjnrx.js} +3 -2
- package/dist/{chunk-vkgqtwqm.js → chunk-gjt5m6xc.js} +3 -3
- package/dist/{chunk-bs81bt3q.js → chunk-hvr790k3.js} +74 -4
- package/dist/{chunk-x7b9bwk6.js → chunk-ryed23pv.js} +1 -1
- package/dist/{chunk-cnzz61ta.js → chunk-vpee5tme.js} +90 -6
- package/dist/{chunk-b6m9rfzj.js → chunk-vxv1v337.js} +13 -13
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -4809,6 +4809,27 @@ var ShippedScope = Struct({
|
|
|
4809
4809
|
taskIds: ArraySchema(String4)
|
|
4810
4810
|
});
|
|
4811
4811
|
|
|
4812
|
+
// packages/core/src/delivery-target.ts
|
|
4813
|
+
var DeliveryTarget = Literals(["default_branch", "epic_branch"]);
|
|
4814
|
+
var DeliveryTargetLayer = Literals(["run", "project", "team", "workspace"]);
|
|
4815
|
+
var ResolvedDeliveryTarget = Struct({ target: DeliveryTarget, layer: DeliveryTargetLayer });
|
|
4816
|
+
var DeliveryTargetSetting = Struct({
|
|
4817
|
+
target: NullOr(DeliveryTarget),
|
|
4818
|
+
resolved: optionalKey(ResolvedDeliveryTarget)
|
|
4819
|
+
});
|
|
4820
|
+
var DeliveryTargetUpdate = Struct({
|
|
4821
|
+
target: NullOr(DeliveryTarget)
|
|
4822
|
+
});
|
|
4823
|
+
var EpicDelivery = Struct({
|
|
4824
|
+
taskId: String4,
|
|
4825
|
+
key: String4,
|
|
4826
|
+
branch: String4,
|
|
4827
|
+
defaultBranch: String4,
|
|
4828
|
+
subTasksDone: Boolean2,
|
|
4829
|
+
done: Boolean2,
|
|
4830
|
+
own: optional(Boolean2)
|
|
4831
|
+
});
|
|
4832
|
+
|
|
4812
4833
|
// packages/core/src/agent-sandbox-policy.ts
|
|
4813
4834
|
var Path3 = String4.check(isMinLength(1));
|
|
4814
4835
|
var AgentSandboxNetwork = Union([
|
|
@@ -6091,6 +6112,7 @@ var ApprovedVerification = Struct({
|
|
|
6091
6112
|
command: String4,
|
|
6092
6113
|
workingDirectory: optionalKey(String4),
|
|
6093
6114
|
pipeline: optionalKey(Boolean2),
|
|
6115
|
+
readsTarget: optionalKey(Boolean2),
|
|
6094
6116
|
approvedByUserId: String4,
|
|
6095
6117
|
createdAt: Timestamp
|
|
6096
6118
|
});
|
|
@@ -6305,10 +6327,17 @@ var QuestionResponderPolicy = Struct({
|
|
|
6305
6327
|
eligibleMemberIds: ArraySchema(Id).check(isMaxLength(100), isUnique()),
|
|
6306
6328
|
allowWorkspaceAdmins: Boolean2
|
|
6307
6329
|
}).check(makeFilter((policy) => policy.eligibleMemberIds.length > 0 || policy.allowWorkspaceAdmins || "someone who may answer"));
|
|
6330
|
+
var EvidenceRef2 = String4.check(isMinLength(1), isMaxLength(240));
|
|
6331
|
+
var QuestionEvidence = Struct({
|
|
6332
|
+
review: optionalKey(EvidenceRef2),
|
|
6333
|
+
head: optionalKey(EvidenceRef2)
|
|
6334
|
+
});
|
|
6308
6335
|
var QuestionAnswer = Struct({
|
|
6309
6336
|
value: LoopSafeText,
|
|
6310
6337
|
answeredByUserId: optionalKey(Id),
|
|
6311
6338
|
byDefault: optionalKey(Boolean2),
|
|
6339
|
+
byAuto: optionalKey(Boolean2),
|
|
6340
|
+
evidence: optionalKey(QuestionEvidence),
|
|
6312
6341
|
answeredAt: Timestamp,
|
|
6313
6342
|
idempotencyKey: String4.check(isMinLength(1), isMaxLength(240))
|
|
6314
6343
|
});
|
|
@@ -6480,7 +6509,9 @@ var RunHeader = Struct({
|
|
|
6480
6509
|
Struct({ kind: Literal("event"), event: String4 })
|
|
6481
6510
|
])),
|
|
6482
6511
|
releaseWhen: optionalKey(ResolvedReleaseTrigger),
|
|
6483
|
-
releaseScope: optionalKey(ReleaseScope)
|
|
6512
|
+
releaseScope: optionalKey(ReleaseScope),
|
|
6513
|
+
deliversTo: optionalKey(ResolvedDeliveryTarget),
|
|
6514
|
+
epic: optionalKey(EpicDelivery)
|
|
6484
6515
|
});
|
|
6485
6516
|
var RunShow = Struct({
|
|
6486
6517
|
run: Run,
|
|
@@ -6795,7 +6826,8 @@ var ApprovedCheck = Struct({
|
|
|
6795
6826
|
});
|
|
6796
6827
|
var RepositoryCheck = Struct({
|
|
6797
6828
|
...ApprovedCheck.fields,
|
|
6798
|
-
pipeline: optionalKey(Boolean2)
|
|
6829
|
+
pipeline: optionalKey(Boolean2),
|
|
6830
|
+
readsTarget: optionalKey(Boolean2)
|
|
6799
6831
|
});
|
|
6800
6832
|
var MetricName = String4.check(isMinLength(1), isMaxLength(80), isPattern(new RegExp("^[A-Za-z0-9][A-Za-z0-9._:-]*$", "u")));
|
|
6801
6833
|
var MeasurePlan = Struct({
|
|
@@ -6829,6 +6861,20 @@ var ResolveSpec = Struct({
|
|
|
6829
6861
|
var ResolvedRevisions = Struct({
|
|
6830
6862
|
commits: ArraySchema(String4.check(isPattern(new RegExp("^[0-9a-f]{40}([0-9a-f]{24})?$", "u"))))
|
|
6831
6863
|
});
|
|
6864
|
+
var ReleaseTag = String4.check(isMinLength(1), isMaxLength(240));
|
|
6865
|
+
var DeploySpec = Struct({
|
|
6866
|
+
tag: ReleaseTag,
|
|
6867
|
+
previousTag: optionalKey(ReleaseTag)
|
|
6868
|
+
});
|
|
6869
|
+
var DeployWork = Struct({
|
|
6870
|
+
...DeploySpec.fields,
|
|
6871
|
+
runsScript: optionalKey(Literal(true))
|
|
6872
|
+
});
|
|
6873
|
+
var DeployOutcome = Struct({
|
|
6874
|
+
status: Literals(["deployed", "failed", "rolled_back", "rollback_failed", "none"]),
|
|
6875
|
+
exitCode: optionalKey(Int),
|
|
6876
|
+
detail: String4.check(isMaxLength(1200))
|
|
6877
|
+
});
|
|
6832
6878
|
var VerificationWorkUnit = Struct({
|
|
6833
6879
|
kind: Literal("verification"),
|
|
6834
6880
|
id: Id,
|
|
@@ -6842,6 +6888,7 @@ var VerificationWorkUnit = Struct({
|
|
|
6842
6888
|
checks: ArraySchema(RepositoryCheck).check(isMaxLength(50)),
|
|
6843
6889
|
measure: optionalKey(MeasureSpec),
|
|
6844
6890
|
resolve: optionalKey(ResolveSpec),
|
|
6891
|
+
deploy: optionalKey(DeployWork),
|
|
6845
6892
|
hosts: optionalKey(ArraySchema(NetworkHost)),
|
|
6846
6893
|
storageOrigin: StorageOrigin
|
|
6847
6894
|
});
|
|
@@ -6891,7 +6938,9 @@ var VerificationEvidence = Struct({
|
|
|
6891
6938
|
head: TreeEvidence,
|
|
6892
6939
|
baseline: optionalKey(TreeEvidence),
|
|
6893
6940
|
measurement: optionalKey(MeasureEvidence),
|
|
6894
|
-
resolved: optionalKey(ResolvedRevisions)
|
|
6941
|
+
resolved: optionalKey(ResolvedRevisions),
|
|
6942
|
+
deployed: optionalKey(DeployOutcome),
|
|
6943
|
+
deployScriptFound: optionalKey(Literal(true))
|
|
6895
6944
|
});
|
|
6896
6945
|
var BoundaryChange = Struct({
|
|
6897
6946
|
kind: Literal("change"),
|
|
@@ -7154,7 +7203,8 @@ var RunnerLoopProviderActionsCapability = Struct({
|
|
|
7154
7203
|
comment: RunnerLoopProviderActionPosture,
|
|
7155
7204
|
requestChanges: RunnerLoopProviderActionPosture,
|
|
7156
7205
|
approve: RunnerLoopProviderActionPosture,
|
|
7157
|
-
merge: RunnerLoopProviderActionPosture
|
|
7206
|
+
merge: RunnerLoopProviderActionPosture,
|
|
7207
|
+
release: optionalKey(RunnerLoopProviderActionPosture)
|
|
7158
7208
|
});
|
|
7159
7209
|
var RunnerExecutionBackendKinds = ["host", "srt", "docker"];
|
|
7160
7210
|
var RunnerExecutionBackend = Literals(RunnerExecutionBackendKinds);
|
|
@@ -7210,7 +7260,8 @@ var RunnerCapabilities = Struct({
|
|
|
7210
7260
|
runs: optionalKey(RunnerLoopExecutionCapability),
|
|
7211
7261
|
resourceLimits: optionalKey(RunnerResourceLimits),
|
|
7212
7262
|
measure: optionalKey(Boolean2),
|
|
7213
|
-
resolve: optionalKey(Boolean2)
|
|
7263
|
+
resolve: optionalKey(Boolean2),
|
|
7264
|
+
deploy: optionalKey(Boolean2)
|
|
7214
7265
|
});
|
|
7215
7266
|
var MaxRunnerConcurrency = 4;
|
|
7216
7267
|
var PinnedImage = String4.check(isMaxLength(500), isPattern(new RegExp("^[^\\s@]+@sha256:[a-f0-9]{64}$", "u")));
|
|
@@ -8005,11 +8056,29 @@ function defaultRunnerCapabilities() {
|
|
|
8005
8056
|
stepKinds: [...LoopStepImplementationKinds],
|
|
8006
8057
|
executionBackends: ["host"],
|
|
8007
8058
|
sandboxBackends: [],
|
|
8008
|
-
providerActions: {
|
|
8059
|
+
providerActions: {
|
|
8060
|
+
comment: "dry_run",
|
|
8061
|
+
requestChanges: "dry_run",
|
|
8062
|
+
approve: "disabled",
|
|
8063
|
+
merge: "disabled",
|
|
8064
|
+
release: "disabled"
|
|
8065
|
+
},
|
|
8009
8066
|
cacheSharingModes: ["runner", "replica", "workspace"]
|
|
8010
8067
|
}
|
|
8011
8068
|
};
|
|
8012
8069
|
}
|
|
8070
|
+
var deliveryDecidedProviderActions = new Set(["approve", "merge", "release"]);
|
|
8071
|
+
function deliveryProviderActions(providerActions, delivery) {
|
|
8072
|
+
const reported = { ...providerActions, release: providerActions.release ?? "disabled" };
|
|
8073
|
+
const posture = (action) => reported[action] === "allowed" && delivery === "gated" && deliveryDecidedProviderActions.has(action) ? "gated" : reported[action];
|
|
8074
|
+
return {
|
|
8075
|
+
comment: posture("comment"),
|
|
8076
|
+
requestChanges: posture("requestChanges"),
|
|
8077
|
+
approve: posture("approve"),
|
|
8078
|
+
merge: posture("merge"),
|
|
8079
|
+
release: posture("release")
|
|
8080
|
+
};
|
|
8081
|
+
}
|
|
8013
8082
|
// packages/core/src/team-context.ts
|
|
8014
8083
|
var BranchTemplate = String4.check(isMinLength(1), isMaxLength(160));
|
|
8015
8084
|
var DeliveryMode = Literals(["gated", "auto"]);
|
|
@@ -12404,6 +12473,13 @@ class KitmanEffectClient {
|
|
|
12404
12473
|
body: JSON.stringify(input)
|
|
12405
12474
|
});
|
|
12406
12475
|
}
|
|
12476
|
+
setLoopWhenClause(teamId, loop, input) {
|
|
12477
|
+
return this.request("setLoopWhenClause", `/teams/${segment(teamId)}/program-loops/${segment(loop)}/when`, {
|
|
12478
|
+
method: "PUT",
|
|
12479
|
+
headers: this.headers(true),
|
|
12480
|
+
body: JSON.stringify(input)
|
|
12481
|
+
});
|
|
12482
|
+
}
|
|
12407
12483
|
listAutomaticStarts(teamId, options = {}) {
|
|
12408
12484
|
return this.request("listAutomaticStarts", `/teams/${segment(teamId)}/automatic-starts${limitQuery(options.limit)}`, { headers: this.headers() });
|
|
12409
12485
|
}
|
|
@@ -12551,6 +12627,37 @@ class KitmanEffectClient {
|
|
|
12551
12627
|
setProjectReleaseTrigger(workspaceId, projectId, input) {
|
|
12552
12628
|
return this.request("setProjectReleaseTrigger", `/workspaces/${segment(workspaceId)}/projects/${segment(projectId)}/release-trigger`, { method: "PUT", headers: this.headers(true), body: JSON.stringify(input) });
|
|
12553
12629
|
}
|
|
12630
|
+
getWorkspaceDeliveryTarget(workspaceId) {
|
|
12631
|
+
return this.request("getWorkspaceDeliveryTarget", `/workspaces/${segment(workspaceId)}/delivery-target`, {
|
|
12632
|
+
headers: this.headers()
|
|
12633
|
+
});
|
|
12634
|
+
}
|
|
12635
|
+
setWorkspaceDeliveryTarget(workspaceId, input) {
|
|
12636
|
+
return this.request("setWorkspaceDeliveryTarget", `/workspaces/${segment(workspaceId)}/delivery-target`, {
|
|
12637
|
+
method: "PUT",
|
|
12638
|
+
headers: this.headers(true),
|
|
12639
|
+
body: JSON.stringify(input)
|
|
12640
|
+
});
|
|
12641
|
+
}
|
|
12642
|
+
getTeamDeliveryTarget(teamId) {
|
|
12643
|
+
return this.request("getTeamDeliveryTarget", `/teams/${segment(teamId)}/delivery-target`, {
|
|
12644
|
+
headers: this.headers()
|
|
12645
|
+
});
|
|
12646
|
+
}
|
|
12647
|
+
setTeamDeliveryTarget(teamId, input) {
|
|
12648
|
+
return this.request("setTeamDeliveryTarget", `/teams/${segment(teamId)}/delivery-target`, {
|
|
12649
|
+
method: "PUT",
|
|
12650
|
+
headers: this.headers(true),
|
|
12651
|
+
body: JSON.stringify(input)
|
|
12652
|
+
});
|
|
12653
|
+
}
|
|
12654
|
+
getProjectDeliveryTarget(workspaceId, projectId, options = {}) {
|
|
12655
|
+
const query = options.teamId === undefined ? "" : `?teamId=${encodeURIComponent(options.teamId)}`;
|
|
12656
|
+
return this.request("getProjectDeliveryTarget", `/workspaces/${segment(workspaceId)}/projects/${segment(projectId)}/delivery-target${query}`, { headers: this.headers() });
|
|
12657
|
+
}
|
|
12658
|
+
setProjectDeliveryTarget(workspaceId, projectId, input) {
|
|
12659
|
+
return this.request("setProjectDeliveryTarget", `/workspaces/${segment(workspaceId)}/projects/${segment(projectId)}/delivery-target`, { method: "PUT", headers: this.headers(true), body: JSON.stringify(input) });
|
|
12660
|
+
}
|
|
12554
12661
|
waitRun(runId, options = {}) {
|
|
12555
12662
|
return this.request("waitRun", `/runs/${segment(runId)}/wait${runWaitQuery(options)}`, { headers: this.headers() });
|
|
12556
12663
|
}
|
|
@@ -14198,6 +14305,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14198
14305
|
default: optional(String4),
|
|
14199
14306
|
auto: optional(String4),
|
|
14200
14307
|
unattendedAuto: optional(String4),
|
|
14308
|
+
evidence: optional(QuestionEvidence),
|
|
14201
14309
|
timeoutMillis: optional(Finite),
|
|
14202
14310
|
deferredName: String4
|
|
14203
14311
|
},
|
|
@@ -14234,7 +14342,8 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14234
14342
|
samples: Int,
|
|
14235
14343
|
calibrate: Boolean2
|
|
14236
14344
|
})),
|
|
14237
|
-
resolve: optionalKey(ResolveSpec)
|
|
14345
|
+
resolve: optionalKey(ResolveSpec),
|
|
14346
|
+
deploy: optionalKey(DeploySpec)
|
|
14238
14347
|
},
|
|
14239
14348
|
success: Struct({ verificationId: String4 }),
|
|
14240
14349
|
error: RunnerRpcError
|
|
@@ -14382,6 +14491,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14382
14491
|
})),
|
|
14383
14492
|
readAt: optionalKey(String4),
|
|
14384
14493
|
runnerChecks: optionalKey(ArraySchema(String4)),
|
|
14494
|
+
targetChecks: optionalKey(ArraySchema(String4)),
|
|
14385
14495
|
approved: optionalKey(String4),
|
|
14386
14496
|
repository: optionalKey(String4),
|
|
14387
14497
|
sourceBranch: optionalKey(String4),
|
|
@@ -14528,6 +14638,10 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14528
14638
|
payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
|
|
14529
14639
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
14530
14640
|
error: RunnerRpcError
|
|
14641
|
+
}), make6("DeliveryBase", {
|
|
14642
|
+
payload: { lease: ProgramLease },
|
|
14643
|
+
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
14644
|
+
error: RunnerRpcError
|
|
14531
14645
|
}), make6("MergeChangeRequest", {
|
|
14532
14646
|
payload: {
|
|
14533
14647
|
lease: ProgramLease,
|
|
@@ -15816,13 +15930,20 @@ function herdrRunnerCapabilities2(input) {
|
|
|
15816
15930
|
stepKinds: harnesses.length === 0 || input.shared === true && sandboxBackends.length === 0 ? [] : ["agent"],
|
|
15817
15931
|
executionBackends: ["host"],
|
|
15818
15932
|
sandboxBackends,
|
|
15819
|
-
providerActions: input.fullAccess ? { comment: "allowed", requestChanges: "allowed", approve: "allowed", merge: "
|
|
15933
|
+
providerActions: input.fullAccess ? { comment: "allowed", requestChanges: "allowed", approve: "allowed", merge: "allowed", release: "allowed" } : {
|
|
15934
|
+
comment: "disabled",
|
|
15935
|
+
requestChanges: "disabled",
|
|
15936
|
+
approve: "disabled",
|
|
15937
|
+
merge: "disabled",
|
|
15938
|
+
release: "disabled"
|
|
15939
|
+
},
|
|
15820
15940
|
cacheSharingModes: []
|
|
15821
15941
|
},
|
|
15822
15942
|
...input.reached === undefined || input.reached.length === 0 ? undefined : { repoBindings: input.reached.map(reportedRepoBinding) },
|
|
15823
15943
|
resourceLimits: { maxConcurrentRuns: 1, maxRunSeconds: 86400 },
|
|
15824
15944
|
measure: true,
|
|
15825
|
-
resolve: true
|
|
15945
|
+
resolve: true,
|
|
15946
|
+
deploy: true
|
|
15826
15947
|
};
|
|
15827
15948
|
}
|
|
15828
15949
|
function assertHerdrRunnerCapability2(capabilities) {
|
|
@@ -15860,4 +15981,4 @@ function checkServices(declaration) {
|
|
|
15860
15981
|
return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
|
|
15861
15982
|
}
|
|
15862
15983
|
|
|
15863
|
-
export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
|
|
15984
|
+
export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-9z371t6k.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5326a9ks.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -107,6 +107,7 @@ var makeProgramRpcClient2 = (options) => gen(function* () {
|
|
|
107
107
|
readProject: (input) => authorized(client.ReadProject(input)),
|
|
108
108
|
draftUpdate: (input) => authorized(client.DraftUpdate(input)),
|
|
109
109
|
integrationBranch: (input) => authorized(client.IntegrationBranch(input)),
|
|
110
|
+
deliveryBase: (input) => authorized(client.DeliveryBase(input)),
|
|
110
111
|
mergeChangeRequest: (input) => authorized(client.MergeChangeRequest(input)),
|
|
111
112
|
closeChangeRequest: (input) => authorized(client.CloseChangeRequest(input)),
|
|
112
113
|
approveChangeRequest: (input) => authorized(client.ApproveChangeRequest(input)),
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-bm7hjnrx.js";
|
|
8
|
+
import"./chunk-5326a9ks.js";
|
|
9
|
+
import"./chunk-9z371t6k.js";
|
|
10
10
|
import"./chunk-0qz10ek8.js";
|
|
11
11
|
import"./chunk-c6rbt85q.js";
|
|
12
12
|
import"./chunk-3d4d52e5.js";
|