@kitman-sh/cli 0.10.57 → 0.10.59
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-jc920h47.js → chunk-09jf8588.js} +9 -4
- package/dist/{chunk-cy5fbrfm.js → chunk-0fdgam8v.js} +2 -8
- package/dist/{chunk-g53wn1q8.js → chunk-1w81w56v.js} +2 -2
- package/dist/{chunk-x3mgznk2.js → chunk-1z9p4q8b.js} +2 -2
- package/dist/{chunk-h8s4vh47.js → chunk-5y050gx7.js} +10 -10
- package/dist/{chunk-v43h8s08.js → chunk-88257wax.js} +10 -10
- package/dist/{chunk-a1yf46xt.js → chunk-a4798jzf.js} +3 -3
- package/dist/{chunk-61k67vxh.js → chunk-d3ksv8y1.js} +4 -3
- package/dist/{chunk-q5s64k8g.js → chunk-d8awdfdj.js} +159 -43
- package/dist/{chunk-de4cfe40.js → chunk-e3tv8mv2.js} +4 -4
- package/dist/{chunk-5tfxtw9z.js → chunk-eawcprsb.js} +2 -2
- package/dist/{chunk-mjzvfh9d.js → chunk-hvev0dve.js} +8 -8
- package/dist/{chunk-23vene3j.js → chunk-hxkk42cg.js} +4 -4
- package/dist/{chunk-wd0rvdt4.js → chunk-phmma642.js} +5 -5
- package/dist/{chunk-gwcqz1bj.js → chunk-q3c7vmby.js} +1 -1
- package/dist/{chunk-kyqsbr2n.js → chunk-r76gsqds.js} +26 -16
- package/dist/{chunk-4kssrezn.js → chunk-rrnee9mk.js} +1 -1
- package/dist/{chunk-253add07.js → chunk-rrz0v4fg.js} +5 -5
- package/dist/{chunk-qhpyzn7c.js → chunk-sdpjvc1r.js} +17 -9
- package/dist/{chunk-nrkwrajj.js → chunk-smgvtzd2.js} +7 -7
- package/dist/{chunk-7evwar6b.js → chunk-v01c0k6j.js} +1 -1
- package/dist/{chunk-fmhy6tss.js → chunk-wkccjgwb.js} +4 -4
- package/dist/{chunk-99ver3za.js → chunk-wtpwkjws.js} +4 -4
- package/dist/{chunk-hwd2gg2f.js → chunk-z0z56a72.js} +5 -5
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -85,9 +85,8 @@ import {
|
|
|
85
85
|
decodeJsonString,
|
|
86
86
|
encodeJsonStringSync,
|
|
87
87
|
encodePrettyJsonString
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-d3ksv8y1.js";
|
|
89
89
|
import {
|
|
90
|
-
currentTimeMillis,
|
|
91
90
|
tap,
|
|
92
91
|
mapError,
|
|
93
92
|
decodeText,
|
|
@@ -98,8 +97,9 @@ import {
|
|
|
98
97
|
withDefault,
|
|
99
98
|
option,
|
|
100
99
|
String2
|
|
101
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-0fdgam8v.js";
|
|
102
101
|
import {
|
|
102
|
+
currentTimeMillis,
|
|
103
103
|
SecureRandom,
|
|
104
104
|
layerWebCrypto,
|
|
105
105
|
runMain,
|
|
@@ -197,10 +197,10 @@ import {
|
|
|
197
197
|
harnessNames,
|
|
198
198
|
herdrRunnerCapabilities2,
|
|
199
199
|
declaredChecks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-sdpjvc1r.js";
|
|
201
201
|
import {
|
|
202
202
|
Id
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-rrnee9mk.js";
|
|
204
204
|
import {
|
|
205
205
|
toJsonValue,
|
|
206
206
|
isOneOf,
|
|
@@ -210,11 +210,11 @@ import {
|
|
|
210
210
|
isObject,
|
|
211
211
|
isJsonObject,
|
|
212
212
|
isString
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-v01c0k6j.js";
|
|
214
214
|
import {
|
|
215
215
|
ChildProcessSpawner,
|
|
216
216
|
make3
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-eawcprsb.js";
|
|
218
218
|
|
|
219
219
|
// apps/cli/src/cli-error.ts
|
|
220
220
|
function cliErrorCode(error, status) {
|
|
@@ -504,10 +504,10 @@ var checkDockerImageSetting = pinnedImage;
|
|
|
504
504
|
var checkRegistryImageSetting = pinnedImage;
|
|
505
505
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
506
506
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
507
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
507
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-wkccjgwb.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
508
508
|
});
|
|
509
509
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
510
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
510
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-wkccjgwb.js")), (module) => module.updateHerdrCore(options))
|
|
511
511
|
});
|
|
512
512
|
var herdrCoreMissing = (error) => {
|
|
513
513
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -733,7 +733,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
733
733
|
});
|
|
734
734
|
var syncKits = (input) => gen(function* () {
|
|
735
735
|
const fs = yield* FileSystem;
|
|
736
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
736
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-hvev0dve.js"));
|
|
737
737
|
const harnesses = yield* syncTargets(input.harness);
|
|
738
738
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
739
739
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1651,7 +1651,7 @@ var package_default = {
|
|
|
1651
1651
|
};
|
|
1652
1652
|
|
|
1653
1653
|
// apps/cli/src/scaffold.ts
|
|
1654
|
-
var cliVersion = "0.10.
|
|
1654
|
+
var cliVersion = "0.10.59";
|
|
1655
1655
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1656
1656
|
name,
|
|
1657
1657
|
private: true,
|
|
@@ -1876,6 +1876,7 @@ var Usage = [
|
|
|
1876
1876
|
" kitman team private <team>",
|
|
1877
1877
|
" kitman team open <team>",
|
|
1878
1878
|
" kitman team invite <team> <person>",
|
|
1879
|
+
" kitman team delivery <team> gated|auto (only a person, signed in as an owner or admin)",
|
|
1879
1880
|
"",
|
|
1880
1881
|
"Repositories, Memory and Decisions belong to the Workspace or one Team:",
|
|
1881
1882
|
" kitman repo list",
|
|
@@ -1900,7 +1901,7 @@ var Usage = [
|
|
|
1900
1901
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
1901
1902
|
].join(`
|
|
1902
1903
|
`);
|
|
1903
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
1904
|
+
var agentRuntime = promise(() => import("./chunk-d8awdfdj.js"));
|
|
1904
1905
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
1905
1906
|
defaultValue: () => gen(function* () {
|
|
1906
1907
|
const tui = yield* tryPromise({
|
|
@@ -2503,6 +2504,15 @@ function teamCommand(args) {
|
|
|
2503
2504
|
yield* client.updateTeam(workspaceId, team.id, { visibility });
|
|
2504
2505
|
return yield* log(visibility === "private" ? `${team.key} is private: only its members see it` : `${team.key} is open to the Workspace`);
|
|
2505
2506
|
}
|
|
2507
|
+
if (command.action === "delivery") {
|
|
2508
|
+
const team = yield* teamNamed(client, workspaceId, requiredArg(command, "team"));
|
|
2509
|
+
const delivery = command.args[1];
|
|
2510
|
+
if (delivery !== "gated" && delivery !== "auto")
|
|
2511
|
+
return yield* new CliError({ message: "team delivery requires <team> gated|auto" });
|
|
2512
|
+
const { revision } = yield* client.getTeamDeliverySettings(team.id);
|
|
2513
|
+
yield* client.updateTeamDeliverySettings(team.id, { delivery, expectedRevision: revision });
|
|
2514
|
+
return yield* log(delivery === "auto" ? `${team.key} delivers in full auto: a passing Review of the head approves it, and its Loops merge and release with nobody asked` : `${team.key} is gated: a person approves each merge and release`);
|
|
2515
|
+
}
|
|
2506
2516
|
if (command.action === "invite") {
|
|
2507
2517
|
const team = yield* teamNamed(client, workspaceId, requiredArg(command, "team"));
|
|
2508
2518
|
const userId = command.args[1];
|
|
@@ -2746,7 +2756,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2746
2756
|
});
|
|
2747
2757
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2748
2758
|
defaultValue: () => (options) => gen(function* () {
|
|
2749
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2759
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-smgvtzd2.js"));
|
|
2750
2760
|
return yield* makeRunnerRpcClient({
|
|
2751
2761
|
runnerId: options.runnerId,
|
|
2752
2762
|
bearer: options.bearer,
|
|
@@ -3130,7 +3140,7 @@ function mcpCommand(args) {
|
|
|
3130
3140
|
if (command.action === "run") {
|
|
3131
3141
|
if (command.args.length > 0)
|
|
3132
3142
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3133
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3143
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-5y050gx7.js"));
|
|
3134
3144
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3135
3145
|
}
|
|
3136
3146
|
if (command.action !== "setup")
|
|
@@ -4332,9 +4342,9 @@ function claimCommand(args) {
|
|
|
4332
4342
|
}
|
|
4333
4343
|
});
|
|
4334
4344
|
}
|
|
4335
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4345
|
+
var KitWriter = map8(promise(() => import("./chunk-88257wax.js")), (build) => build.writeKit);
|
|
4336
4346
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4337
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4347
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-88257wax.js")), (build) => build.buildKit(directory))
|
|
4338
4348
|
});
|
|
4339
4349
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4340
4350
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-d3ksv8y1.js";
|
|
22
22
|
|
|
23
23
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
|
|
24
24
|
var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
14
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-09jf8588.js";
|
|
11
|
+
import"./chunk-eawcprsb.js";
|
|
12
|
+
import"./chunk-v01c0k6j.js";
|
|
13
|
+
import"./chunk-0fdgam8v.js";
|
|
14
|
+
import"./chunk-d3ksv8y1.js";
|
|
15
15
|
export {
|
|
16
16
|
decoded2 as decoded,
|
|
17
17
|
decodedOption2 as decodedOption,
|
|
@@ -84,6 +84,8 @@ import {
|
|
|
84
84
|
DisablePropagation,
|
|
85
85
|
sync,
|
|
86
86
|
map7,
|
|
87
|
+
ClockRef,
|
|
88
|
+
currentTimeMillis2,
|
|
87
89
|
ConsoleRef,
|
|
88
90
|
succeed3,
|
|
89
91
|
fail4,
|
|
@@ -246,12 +248,10 @@ import {
|
|
|
246
248
|
decodeJsonStringOption,
|
|
247
249
|
encodeJsonStringSync,
|
|
248
250
|
encodePrettyJsonString
|
|
249
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-d3ksv8y1.js";
|
|
250
252
|
import {
|
|
251
253
|
map,
|
|
252
254
|
makeEquivalence,
|
|
253
|
-
Clock,
|
|
254
|
-
currentTimeMillis,
|
|
255
255
|
bytes,
|
|
256
256
|
BadArgument,
|
|
257
257
|
systemError,
|
|
@@ -315,7 +315,7 @@ import {
|
|
|
315
315
|
String2,
|
|
316
316
|
optionalEnv,
|
|
317
317
|
harnessesUnsupportedInSrt2
|
|
318
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-0fdgam8v.js";
|
|
319
319
|
import {
|
|
320
320
|
isDateTime,
|
|
321
321
|
Numeric,
|
|
@@ -327,7 +327,7 @@ import {
|
|
|
327
327
|
SecretName,
|
|
328
328
|
SecretScope,
|
|
329
329
|
SecretHosts
|
|
330
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-rrnee9mk.js";
|
|
331
331
|
import {
|
|
332
332
|
toJsonValue,
|
|
333
333
|
isOneOf,
|
|
@@ -341,7 +341,7 @@ import {
|
|
|
341
341
|
isSymbol,
|
|
342
342
|
isUndefined,
|
|
343
343
|
kindOf
|
|
344
|
-
} from "./chunk-
|
|
344
|
+
} from "./chunk-v01c0k6j.js";
|
|
345
345
|
import {
|
|
346
346
|
isRedacted,
|
|
347
347
|
make,
|
|
@@ -355,11 +355,15 @@ import {
|
|
|
355
355
|
make3,
|
|
356
356
|
parseFdName,
|
|
357
357
|
fdName
|
|
358
|
-
} from "./chunk-
|
|
358
|
+
} from "./chunk-eawcprsb.js";
|
|
359
359
|
|
|
360
360
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
361
361
|
var makeEquivalence3 = Tuple;
|
|
362
362
|
|
|
363
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
|
|
364
|
+
var Clock = ClockRef;
|
|
365
|
+
var currentTimeMillis = currentTimeMillis2;
|
|
366
|
+
|
|
363
367
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
|
|
364
368
|
var TypeId = "~effect/DateTime";
|
|
365
369
|
var TimeZoneTypeId = "~effect/DateTime/TimeZone";
|
|
@@ -6121,7 +6125,7 @@ var StepOutputSubmissionResult = Union([
|
|
|
6121
6125
|
}),
|
|
6122
6126
|
Struct({ status: Literal("failed"), message: String4 })
|
|
6123
6127
|
]);
|
|
6124
|
-
var HarnessHoldReasons = ["out_of_quota", "failed_to_start"];
|
|
6128
|
+
var HarnessHoldReasons = ["out_of_quota", "rate_limited", "login_refused", "failed_to_start"];
|
|
6125
6129
|
var SkippedChoiceReasons = ["not_on_runner", ...HarnessHoldReasons];
|
|
6126
6130
|
var SkippedChoice = Struct({
|
|
6127
6131
|
harness: optionalKey(String4),
|
|
@@ -7722,11 +7726,13 @@ function defaultRunnerCapabilities() {
|
|
|
7722
7726
|
}
|
|
7723
7727
|
// packages/core/src/team-context.ts
|
|
7724
7728
|
var BranchTemplate = String4.check(isMinLength(1), isMaxLength(160));
|
|
7729
|
+
var DeliveryMode = Literals(["gated", "auto"]);
|
|
7725
7730
|
var TeamDeliverySettings = Struct({
|
|
7726
7731
|
defaultRepoBindingId: optionalKey(Id),
|
|
7727
7732
|
standardBranchTemplate: BranchTemplate,
|
|
7728
7733
|
epicBranchTemplate: BranchTemplate,
|
|
7729
7734
|
isolatedChildBranchTemplate: BranchTemplate,
|
|
7735
|
+
delivery: DeliveryMode,
|
|
7730
7736
|
revision: Int.check(isGreaterThanOrEqualTo(1))
|
|
7731
7737
|
});
|
|
7732
7738
|
var TeamDeliverySettingsUpdate = Struct({
|
|
@@ -7734,6 +7740,7 @@ var TeamDeliverySettingsUpdate = Struct({
|
|
|
7734
7740
|
standardBranchTemplate: optionalKey(BranchTemplate),
|
|
7735
7741
|
epicBranchTemplate: optionalKey(BranchTemplate),
|
|
7736
7742
|
isolatedChildBranchTemplate: optionalKey(BranchTemplate),
|
|
7743
|
+
delivery: optionalKey(DeliveryMode),
|
|
7737
7744
|
expectedRevision: Int.check(isGreaterThanOrEqualTo(1))
|
|
7738
7745
|
});
|
|
7739
7746
|
var TeamReference = Struct({ id: Id, workspaceId: Id, key: String4, name: String4 });
|
|
@@ -13828,6 +13835,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13828
13835
|
informationOnly: optional(Boolean2),
|
|
13829
13836
|
verification: optional(SuggestedVerification),
|
|
13830
13837
|
default: optional(String4),
|
|
13838
|
+
auto: optional(String4),
|
|
13831
13839
|
timeoutMillis: optional(Finite),
|
|
13832
13840
|
deferredName: String4
|
|
13833
13841
|
},
|
|
@@ -15453,4 +15461,4 @@ function checkServices(declaration) {
|
|
|
15453
15461
|
return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
|
|
15454
15462
|
}
|
|
15455
15463
|
|
|
15456
|
-
export { 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, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, 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, put, setHeaders, bodyUint8Array, 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 };
|
|
15464
|
+
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, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, 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, put, setHeaders, bodyUint8Array, 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 };
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-hxkk42cg.js";
|
|
8
|
+
import"./chunk-e3tv8mv2.js";
|
|
9
|
+
import"./chunk-sdpjvc1r.js";
|
|
10
|
+
import"./chunk-rrnee9mk.js";
|
|
11
|
+
import"./chunk-v01c0k6j.js";
|
|
12
|
+
import"./chunk-0fdgam8v.js";
|
|
13
|
+
import"./chunk-d3ksv8y1.js";
|
|
14
14
|
export {
|
|
15
15
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
16
16
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-eawcprsb.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-sdpjvc1r.js";
|
|
16
|
+
import"./chunk-0fdgam8v.js";
|
|
17
|
+
import"./chunk-d3ksv8y1.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
3
|
-
import"./chunk-
|
|
4
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-d3ksv8y1.js";
|
|
3
|
+
import"./chunk-rrnee9mk.js";
|
|
4
|
+
import"./chunk-v01c0k6j.js";
|
|
5
5
|
import {
|
|
6
6
|
decideSecretRequest,
|
|
7
7
|
readSecretRegistry,
|
|
8
8
|
appendSecretRefusals
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-1w81w56v.js";
|
|
10
10
|
|
|
11
11
|
// packages/agent-runtime/src/srt-step.ts
|
|
12
12
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -23,24 +23,24 @@ import {
|
|
|
23
23
|
fnUntraced,
|
|
24
24
|
encodePrettyJsonString,
|
|
25
25
|
decodeJsonStringSync
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-d3ksv8y1.js";
|
|
27
27
|
import {
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-v01c0k6j.js";
|
|
31
31
|
import {
|
|
32
32
|
FileSystem,
|
|
33
33
|
Path,
|
|
34
34
|
optionalEnv
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-0fdgam8v.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-sdpjvc1r.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-a4798jzf.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
package/dist/index.js
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
var args = process.argv.slice(2);
|
|
6
6
|
if (args[0] === "srt") {
|
|
7
7
|
process.argv.splice(2, 1);
|
|
8
|
-
const { runSrtCli } = await import("./chunk-
|
|
8
|
+
const { runSrtCli } = await import("./chunk-1z9p4q8b.js");
|
|
9
9
|
await runSrtCli();
|
|
10
10
|
} else if (args[0] === "srt-step") {
|
|
11
|
-
const { runSrtStep } = await import("./chunk-
|
|
11
|
+
const { runSrtStep } = await import("./chunk-wtpwkjws.js");
|
|
12
12
|
await runSrtStep(args.slice(1));
|
|
13
13
|
} else if (args[0] === "opencode-read") {
|
|
14
|
-
const { runOpencodeReader } = await import("./chunk-
|
|
14
|
+
const { runOpencodeReader } = await import("./chunk-rrz0v4fg.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-r76gsqds.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|