hinacode 0.3.0-alpha.4 → 0.3.0-alpha.6
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/README.md +9 -8
- package/out/server/chunks/{remote-B2NssK2N.js → remote-DE8gPkc-.js} +561 -358
- package/out/server/cli.js +1 -1
- package/out/server/daemon.js +3496 -1580
- package/package.json +1 -1
|
@@ -1452,10 +1452,19 @@ const liftThrowable = (f) => (...a) => {
|
|
|
1452
1452
|
return none();
|
|
1453
1453
|
}
|
|
1454
1454
|
};
|
|
1455
|
+
const getOrThrowWith$1 = /* @__PURE__ */ dual(2, (self2, onNone) => {
|
|
1456
|
+
if (isSome(self2)) {
|
|
1457
|
+
return self2.value;
|
|
1458
|
+
}
|
|
1459
|
+
throw onNone();
|
|
1460
|
+
});
|
|
1461
|
+
const getOrThrow$1 = /* @__PURE__ */ getOrThrowWith$1(() => new Error("getOrThrow called on a None"));
|
|
1455
1462
|
const map$8 = /* @__PURE__ */ dual(2, (self2, f) => isNone(self2) ? none() : some(f(self2.value)));
|
|
1456
1463
|
const flatMap$7 = /* @__PURE__ */ dual(2, (self2, f) => isNone(self2) ? none() : f(self2.value));
|
|
1464
|
+
const flatMapNullishOr$1 = /* @__PURE__ */ dual(2, (self2, f) => isNone(self2) ? none() : fromNullishOr$1(f(self2.value)));
|
|
1465
|
+
const flatten$4 = /* @__PURE__ */ flatMap$7(identity);
|
|
1457
1466
|
const toArray = (self2) => isNone(self2) ? [] : [self2.value];
|
|
1458
|
-
const filter$
|
|
1467
|
+
const filter$4 = /* @__PURE__ */ dual(2, (self2, predicate) => isNone(self2) ? none() : predicate(self2.value) ? some(self2.value) : none());
|
|
1459
1468
|
const exists = /* @__PURE__ */ dual(2, (self2, refinement) => isNone(self2) ? false : refinement(self2.value));
|
|
1460
1469
|
const ServiceTypeId = "~effect/Context/Service";
|
|
1461
1470
|
const Service = function() {
|
|
@@ -4332,6 +4341,24 @@ const forEachConcurrent = /* @__PURE__ */ iterateConcurrentImpl({
|
|
|
4332
4341
|
}
|
|
4333
4342
|
});
|
|
4334
4343
|
const filterOrElse = /* @__PURE__ */ dual(3, (self2, predicate, orElse) => flatMap$4(self2, (a) => predicate(a) ? succeed$7(a) : orElse(a)));
|
|
4344
|
+
const filter$3 = /* @__PURE__ */ dual((args2) => isIterable(args2[0]) && !isEffect$1(args2[0]), (elements, predicate, options) => suspend$3(() => {
|
|
4345
|
+
const out = [];
|
|
4346
|
+
return as$1(forEach$2(elements, (a, i) => {
|
|
4347
|
+
const result2 = predicate(a, i);
|
|
4348
|
+
if (typeof result2 === "boolean") {
|
|
4349
|
+
if (result2) out.push(a);
|
|
4350
|
+
return void_$3;
|
|
4351
|
+
}
|
|
4352
|
+
return map$5(result2, (keep) => {
|
|
4353
|
+
if (keep) {
|
|
4354
|
+
out.push(a);
|
|
4355
|
+
}
|
|
4356
|
+
});
|
|
4357
|
+
}, {
|
|
4358
|
+
discard: true,
|
|
4359
|
+
concurrency: options?.concurrency
|
|
4360
|
+
}), out);
|
|
4361
|
+
}));
|
|
4335
4362
|
const forkChild$1 = /* @__PURE__ */ dual((args2) => isEffect$1(args2[0]), (self2, options) => withFiber$1((fiber) => {
|
|
4336
4363
|
interruptChildrenPatch();
|
|
4337
4364
|
return succeed$7(forkUnsafe$1(fiber, self2, options?.startImmediately, false, options?.uninterruptible ?? false));
|
|
@@ -5701,6 +5728,7 @@ const delay = delay$1;
|
|
|
5701
5728
|
const sleep = sleep$1;
|
|
5702
5729
|
const race = race$1;
|
|
5703
5730
|
const raceFirst = raceFirst$1;
|
|
5731
|
+
const filter$2 = filter$3;
|
|
5704
5732
|
const filterOrFail = filterOrFail$1;
|
|
5705
5733
|
const when = when$1;
|
|
5706
5734
|
const match = match$1;
|
|
@@ -8994,7 +9022,7 @@ function transformOptionalEffect(f) {
|
|
|
8994
9022
|
}
|
|
8995
9023
|
function withDefault$1(defaultValue) {
|
|
8996
9024
|
return transformOptionalEffect((o) => {
|
|
8997
|
-
const filtered = filter$
|
|
9025
|
+
const filtered = filter$4(o, isNotUndefined);
|
|
8998
9026
|
return isSome(filtered) ? succeed$3(filtered) : mapEager(defaultValue, some);
|
|
8999
9027
|
});
|
|
9000
9028
|
}
|
|
@@ -14878,6 +14906,7 @@ function normalizeCardinality(value2) {
|
|
|
14878
14906
|
}
|
|
14879
14907
|
return Math.max(0, Math.floor(value2));
|
|
14880
14908
|
}
|
|
14909
|
+
const NonEmptyString = /* @__PURE__ */ String$1.check(/* @__PURE__ */ isNonEmpty());
|
|
14881
14910
|
const getErrorOptionsKey = (options) => 0 | 0;
|
|
14882
14911
|
const getErrorOptions = (key) => {
|
|
14883
14912
|
switch (key) {
|
|
@@ -15575,7 +15604,7 @@ const LimitWindow = Struct({
|
|
|
15575
15604
|
resetsAt: NullOr(String$1)
|
|
15576
15605
|
});
|
|
15577
15606
|
const PlanLimits = Struct({ windows: ArraySchema(LimitWindow), readAt: String$1 });
|
|
15578
|
-
const ProviderId = Literals(["claude", "codex", "muse", "opencode"]);
|
|
15607
|
+
const ProviderId = Literals(["claude", "codex", "muse", "opencode", "magpie"]);
|
|
15579
15608
|
const AccountProviderId = Literals(["claude", "codex"]);
|
|
15580
15609
|
const UpdatableProviderId = Literals(["claude", "codex"]);
|
|
15581
15610
|
const AgentUpdate = Struct({
|
|
@@ -15583,6 +15612,7 @@ const AgentUpdate = Struct({
|
|
|
15583
15612
|
current: String$1,
|
|
15584
15613
|
latest: String$1
|
|
15585
15614
|
});
|
|
15615
|
+
const AgentBinaryStatus = Struct({ installed: Boolean$1, path: NullOr(String$1) });
|
|
15586
15616
|
const ModelInfo = Struct({
|
|
15587
15617
|
id: String$1,
|
|
15588
15618
|
label: String$1,
|
|
@@ -15620,6 +15650,14 @@ const loginCommand = (provider, home) => [
|
|
|
15620
15650
|
...home === null ? [provider] : [`${configDirVariable[provider]}=${shellQuote(home.dir)}`, shellQuote(home.binary)],
|
|
15621
15651
|
...loginArguments[provider]
|
|
15622
15652
|
].join(" ");
|
|
15653
|
+
const ownModels = {
|
|
15654
|
+
claude: /^(claude-|opus|sonnet|haiku|fable|default)/,
|
|
15655
|
+
codex: /^(gpt-|o\d|codex-)/
|
|
15656
|
+
};
|
|
15657
|
+
const signedOutFailure = (provider, home, model) => ({
|
|
15658
|
+
signedOut: true,
|
|
15659
|
+
...ownModels[provider].test(model) && { loginCommand: loginCommand(provider, home) }
|
|
15660
|
+
});
|
|
15623
15661
|
const CLAUDE_EFFORT_LEVELS = ["low", "medium", "high", "xhigh", "max"];
|
|
15624
15662
|
const unlistedModel = (id, provider) => ({
|
|
15625
15663
|
id,
|
|
@@ -15795,6 +15833,7 @@ const AgentEvent = Union2([
|
|
|
15795
15833
|
type: Literal2("turn_failed"),
|
|
15796
15834
|
message: String$1,
|
|
15797
15835
|
stopped: optional(Boolean$1),
|
|
15836
|
+
signedOut: optional(Boolean$1),
|
|
15798
15837
|
loginCommand: optional(String$1)
|
|
15799
15838
|
}),
|
|
15800
15839
|
Struct({ type: Literal2("turn_limited"), limit: UsageLimit })
|
|
@@ -15804,13 +15843,22 @@ const WAIT_AGENT_TOOL = "wait_agent";
|
|
|
15804
15843
|
const isRunAgentTool = (name) => name === RUN_AGENT_TOOL || name === `mcp__hinacode__${RUN_AGENT_TOOL}`;
|
|
15805
15844
|
const PUBLISH_ARTIFACT_TOOL = "publish_artifact";
|
|
15806
15845
|
const PUBLISH_DOCUMENT_TOOL = "publish_document";
|
|
15807
|
-
const
|
|
15808
|
-
|
|
15846
|
+
const PUBLISH_WHITEBOARD_TOOL = "publish_whiteboard";
|
|
15847
|
+
const kindOfPublishTool = new Map(
|
|
15848
|
+
[
|
|
15849
|
+
[PUBLISH_ARTIFACT_TOOL, "page"],
|
|
15850
|
+
[PUBLISH_DOCUMENT_TOOL, "document"],
|
|
15851
|
+
[PUBLISH_WHITEBOARD_TOOL, "whiteboard"]
|
|
15852
|
+
].flatMap(([name, kind]) => [
|
|
15853
|
+
[name, kind],
|
|
15854
|
+
[`mcp__hinacode__${name}`, kind]
|
|
15855
|
+
])
|
|
15809
15856
|
);
|
|
15810
|
-
const
|
|
15811
|
-
const
|
|
15857
|
+
const publishedKind = (name) => kindOfPublishTool.get(name) ?? null;
|
|
15858
|
+
const isPublishArtifactTool = (name) => kindOfPublishTool.has(name);
|
|
15859
|
+
const isPublishDocumentTool = (name) => publishedKind(name) === "document";
|
|
15812
15860
|
const publishedArtifact = (result2) => {
|
|
15813
|
-
const [, id, version] = /^Published (?:artifact|document) ([a-z0-9][a-z0-9-]*) version (\d+)/.exec(result2) ?? [];
|
|
15861
|
+
const [, id, version] = /^Published (?:artifact|document|whiteboard) ([a-z0-9][a-z0-9-]*) version (\d+)/.exec(result2) ?? [];
|
|
15814
15862
|
return id === void 0 ? null : { id, version: Number(version) };
|
|
15815
15863
|
};
|
|
15816
15864
|
const publishedArtifactId = (result2) => publishedArtifact(result2)?.id ?? null;
|
|
@@ -16039,6 +16087,7 @@ const Project = Struct({
|
|
|
16039
16087
|
kind: ProjectKind.pipe(withDecodingDefaultKey(succeed$3("folder"))),
|
|
16040
16088
|
actions: ArraySchema(ProjectAction).pipe(withDecodingDefaultKey(succeed$3([])))
|
|
16041
16089
|
});
|
|
16090
|
+
const CloneProgress = Struct({ phase: String$1, percent: Number$1 });
|
|
16042
16091
|
const chatFolder = (chatsRoot, threadId) => `${chatsRoot.replace(/[\\/]+$/, "")}${chatsRoot.includes("\\") ? "\\" : "/"}${threadId}`;
|
|
16043
16092
|
const WorktreeStatus = Literals(["preparing", "ready", "failed", "removed"]);
|
|
16044
16093
|
const SetupNotice = Literals(["backgroundOutput", "timedOut"]);
|
|
@@ -16166,6 +16215,19 @@ const LineComment = Struct({
|
|
|
16166
16215
|
code: String$1,
|
|
16167
16216
|
body: String$1
|
|
16168
16217
|
});
|
|
16218
|
+
const PullRequestLabel = Struct({ name: String$1, color: String$1 });
|
|
16219
|
+
const ReviewerState = Literals(["requested", "approved", "changesRequested", "commented"]);
|
|
16220
|
+
const PullRequestReviewer = Struct({ login: String$1, state: ReviewerState });
|
|
16221
|
+
const PullRequestEditField = Literals(["labels", "assignees", "reviewers"]);
|
|
16222
|
+
const PullRequestEdit = Struct({
|
|
16223
|
+
field: PullRequestEditField,
|
|
16224
|
+
add: ArraySchema(String$1.check(isNonEmpty())),
|
|
16225
|
+
remove: ArraySchema(String$1.check(isNonEmpty()))
|
|
16226
|
+
});
|
|
16227
|
+
const PullRequestCandidates = Struct({
|
|
16228
|
+
labels: ArraySchema(PullRequestLabel),
|
|
16229
|
+
users: ArraySchema(String$1)
|
|
16230
|
+
});
|
|
16169
16231
|
const PullRequestDetail = Struct({
|
|
16170
16232
|
...PullRequest.fields,
|
|
16171
16233
|
body: String$1,
|
|
@@ -16174,7 +16236,10 @@ const PullRequestDetail = Struct({
|
|
|
16174
16236
|
head: String$1,
|
|
16175
16237
|
checkRuns: ArraySchema(CheckRun),
|
|
16176
16238
|
changedFiles: Number$1.pipe(withDecodingDefaultKey(succeed$3(0))),
|
|
16177
|
-
comments: ArraySchema(PullRequestComment).pipe(withDecodingDefaultKey(succeed$3([])))
|
|
16239
|
+
comments: ArraySchema(PullRequestComment).pipe(withDecodingDefaultKey(succeed$3([]))),
|
|
16240
|
+
labels: ArraySchema(PullRequestLabel).pipe(withDecodingDefaultKey(succeed$3([]))),
|
|
16241
|
+
assignees: ArraySchema(String$1).pipe(withDecodingDefaultKey(succeed$3([]))),
|
|
16242
|
+
reviewers: ArraySchema(PullRequestReviewer).pipe(withDecodingDefaultKey(succeed$3([])))
|
|
16178
16243
|
});
|
|
16179
16244
|
const PullRequestFileStatus = Literals(["added", "removed", "modified", "renamed", "copied"]);
|
|
16180
16245
|
const PullRequestFile = Struct({
|
|
@@ -16314,7 +16379,6 @@ const Thread = Struct({
|
|
|
16314
16379
|
model: String$1,
|
|
16315
16380
|
effort: NullOr(String$1),
|
|
16316
16381
|
fastMode: Boolean$1,
|
|
16317
|
-
userSkills: Boolean$1.pipe(withDecodingDefaultKey(succeed$3(true))),
|
|
16318
16382
|
accessMode: AccessMode,
|
|
16319
16383
|
accountId: NullOr(String$1),
|
|
16320
16384
|
providerSessionId: NullOr(String$1),
|
|
@@ -16351,7 +16415,11 @@ const MessagePart = Union2([
|
|
|
16351
16415
|
Struct({ type: Literal2("questions"), text: String$1, questions: ArraySchema(Question) }),
|
|
16352
16416
|
Struct({ type: Literal2("compaction"), compaction: Compaction }),
|
|
16353
16417
|
Struct({ type: Literal2("agent_switch"), from: ProviderId, to: ProviderId }),
|
|
16354
|
-
Struct({
|
|
16418
|
+
Struct({
|
|
16419
|
+
type: Literal2("signed_out"),
|
|
16420
|
+
message: String$1,
|
|
16421
|
+
loginCommand: optional(String$1)
|
|
16422
|
+
}),
|
|
16355
16423
|
Struct({
|
|
16356
16424
|
type: Literal2("session_import"),
|
|
16357
16425
|
provider: AccountProviderId,
|
|
@@ -16405,9 +16473,13 @@ const NotificationSettings = Struct({
|
|
|
16405
16473
|
});
|
|
16406
16474
|
const NotificationPermission = Literals(["granted", "denied", "notDetermined", "unknown"]);
|
|
16407
16475
|
const PermissionRequestOutcome = Literals(["shown", "refused", "noAnswer"]);
|
|
16476
|
+
const DAYS_RANGE = { minimum: 1, maximum: 365 };
|
|
16477
|
+
const Days = NullOr(Int.check(isBetween(DAYS_RANGE)));
|
|
16408
16478
|
const ArchiveSettings = Struct({
|
|
16409
16479
|
whenMerged: Boolean$1,
|
|
16410
|
-
removeWorktree: Boolean$1
|
|
16480
|
+
removeWorktree: Boolean$1,
|
|
16481
|
+
settleAfterIdleDays: Days.pipe(withDecodingDefaultKey(succeed$3(7))),
|
|
16482
|
+
archiveAfterSettledDays: Days.pipe(withDecodingDefaultKey(succeed$3(null)))
|
|
16411
16483
|
});
|
|
16412
16484
|
const VmProvider = Literals(["sbx", "boat"]);
|
|
16413
16485
|
const BoatVmSize = Literals(["small", "default", "large", "xlarge"]);
|
|
@@ -16467,16 +16539,18 @@ const BindHost = String$1.check(isPattern(/^(?!(?:0\.0\.0\.0|::|::0|\[::\])$)\S+
|
|
|
16467
16539
|
const ListenPort = Int.check(isBetween({ minimum: 1, maximum: 65535 }));
|
|
16468
16540
|
const perProvider = (value2, fallback) => {
|
|
16469
16541
|
const field = value2.pipe(withDecodingDefaultKey(succeed$3(fallback)));
|
|
16470
|
-
return Struct({ claude: field, codex: field, muse: field, opencode: field });
|
|
16542
|
+
return Struct({ claude: field, codex: field, muse: field, opencode: field, magpie: field });
|
|
16471
16543
|
};
|
|
16472
16544
|
const eachProvider = (value2) => ({
|
|
16473
16545
|
claude: value2,
|
|
16474
16546
|
codex: value2,
|
|
16475
16547
|
muse: value2,
|
|
16476
|
-
opencode: value2
|
|
16548
|
+
opencode: value2,
|
|
16549
|
+
magpie: value2
|
|
16477
16550
|
});
|
|
16478
16551
|
const Settings = Struct({
|
|
16479
16552
|
defaultProvider: ProviderId,
|
|
16553
|
+
providerEnabled: perProvider(Boolean$1, true),
|
|
16480
16554
|
defaultModel: perProvider(NullOr(String$1), null),
|
|
16481
16555
|
defaultEffort: perProvider(NullOr(String$1), null),
|
|
16482
16556
|
defaultFastMode: perProvider(Boolean$1, false),
|
|
@@ -16489,6 +16563,9 @@ const Settings = Struct({
|
|
|
16489
16563
|
autoCompactTokens: perProvider(NullOr(AutoCompactTokens), null).pipe(
|
|
16490
16564
|
withDecodingDefaultKey(succeed$3(eachProvider(null)))
|
|
16491
16565
|
),
|
|
16566
|
+
providerBinary: perProvider(NullOr(AgentBinary), null).pipe(
|
|
16567
|
+
withDecodingDefaultKey(succeed$3(eachProvider(null)))
|
|
16568
|
+
),
|
|
16492
16569
|
automations: Struct({ bindHost: BindHost, port: ListenPort }),
|
|
16493
16570
|
remote: Struct({ enabled: Boolean$1, bindHost: BindHost, port: ListenPort }),
|
|
16494
16571
|
textGenerationModel: String$1,
|
|
@@ -16501,10 +16578,19 @@ const Settings = Struct({
|
|
|
16501
16578
|
archive: ArchiveSettings,
|
|
16502
16579
|
experimental: ExperimentalSettings,
|
|
16503
16580
|
worktreeRoot: NullOr(String$1.check(isPattern(/^\//))),
|
|
16504
|
-
actions: ArraySchema(ProjectAction).pipe(withDecodingDefaultKey(succeed$3([])))
|
|
16581
|
+
actions: ArraySchema(ProjectAction).pipe(withDecodingDefaultKey(succeed$3([]))),
|
|
16582
|
+
magpieEndpoint: NullOr(String$1.check(isPattern(/^https?:\/\/\S+$/))).pipe(
|
|
16583
|
+
withDecodingDefaultKey(succeed$3(null))
|
|
16584
|
+
)
|
|
16505
16585
|
});
|
|
16586
|
+
const enabledProviders = (settings, installed) => ProviderId.literals.filter((provider) => settings.providerEnabled[provider] && installed?.[provider] !== false);
|
|
16587
|
+
const startingProvider = (settings, installed) => {
|
|
16588
|
+
const enabled = enabledProviders(settings, installed);
|
|
16589
|
+
return enabled.includes(settings.defaultProvider) ? settings.defaultProvider : enabled[0] ?? settings.defaultProvider;
|
|
16590
|
+
};
|
|
16506
16591
|
const defaultSettings = {
|
|
16507
16592
|
defaultProvider: "claude",
|
|
16593
|
+
providerEnabled: eachProvider(true),
|
|
16508
16594
|
defaultModel: eachProvider(null),
|
|
16509
16595
|
defaultEffort: eachProvider(null),
|
|
16510
16596
|
defaultFastMode: eachProvider(false),
|
|
@@ -16513,12 +16599,13 @@ const defaultSettings = {
|
|
|
16513
16599
|
defaultAccount: eachProvider(null),
|
|
16514
16600
|
defaultAccountName: eachProvider(null),
|
|
16515
16601
|
autoCompactTokens: eachProvider(null),
|
|
16602
|
+
providerBinary: eachProvider(null),
|
|
16516
16603
|
automations: { bindHost: "127.0.0.1", port: 48080 },
|
|
16517
16604
|
remote: { enabled: false, bindHost: PRIVATE_NETWORKS, port: 48081 },
|
|
16518
16605
|
textGenerationModel: "claude-sonnet-5-5",
|
|
16519
16606
|
pullRequestGuide: { enabled: false, model: "claude-sonnet-5-5", effort: "high" },
|
|
16520
16607
|
defaultAccessMode: "full",
|
|
16521
|
-
archive: { whenMerged: true, removeWorktree: false },
|
|
16608
|
+
archive: { whenMerged: true, removeWorktree: false, settleAfterIdleDays: 7, archiveAfterSettledDays: null },
|
|
16522
16609
|
experimental: {
|
|
16523
16610
|
tinyVm: false,
|
|
16524
16611
|
tinyVmProvider: "boat",
|
|
@@ -16530,7 +16617,8 @@ const defaultSettings = {
|
|
|
16530
16617
|
tinyVmSetupScript: ""
|
|
16531
16618
|
},
|
|
16532
16619
|
worktreeRoot: null,
|
|
16533
|
-
actions: []
|
|
16620
|
+
actions: [],
|
|
16621
|
+
magpieEndpoint: null
|
|
16534
16622
|
};
|
|
16535
16623
|
const Machine = Struct({
|
|
16536
16624
|
id: String$1,
|
|
@@ -16554,6 +16642,7 @@ const RelayAccountStatus = Union2([
|
|
|
16554
16642
|
environmentId: String$1,
|
|
16555
16643
|
name: NullOr(String$1),
|
|
16556
16644
|
email: NullOr(String$1),
|
|
16645
|
+
avatar: NullOr(String$1),
|
|
16557
16646
|
machines: Int,
|
|
16558
16647
|
syncedAt: NullOr(Timestamp),
|
|
16559
16648
|
error: NullOr(String$1)
|
|
@@ -16681,7 +16770,9 @@ const TerminalSession = Struct({
|
|
|
16681
16770
|
rows: Number$1,
|
|
16682
16771
|
status: Literals(["running", "exited"]),
|
|
16683
16772
|
exitCode: NullOr(Number$1),
|
|
16684
|
-
title: NullOr(String$1).pipe(withDecodingDefaultKey(succeed$3(null)))
|
|
16773
|
+
title: NullOr(String$1).pipe(withDecodingDefaultKey(succeed$3(null))),
|
|
16774
|
+
command: NullOr(String$1).pipe(withDecodingDefaultKey(succeed$3(null))),
|
|
16775
|
+
lastExitCode: NullOr(Number$1).pipe(withDecodingDefaultKey(succeed$3(null)))
|
|
16685
16776
|
});
|
|
16686
16777
|
const TerminalOffset = Int.check(isGreaterThanOrEqualTo(0));
|
|
16687
16778
|
const TerminalAttachment = Struct({
|
|
@@ -20516,7 +20607,7 @@ function requireWebsocketServer() {
|
|
|
20516
20607
|
var websocketServerExports = requireWebsocketServer();
|
|
20517
20608
|
const WebSocketServer = /* @__PURE__ */ getDefaultExportFromCjs(websocketServerExports);
|
|
20518
20609
|
const ArtifactFile = Struct({ path: String$1, type: String$1, size: Number$1 });
|
|
20519
|
-
const ArtifactKind = Literals(["page", "document"]);
|
|
20610
|
+
const ArtifactKind = Literals(["page", "document", "whiteboard"]);
|
|
20520
20611
|
const Artifact = Struct({
|
|
20521
20612
|
id: String$1,
|
|
20522
20613
|
kind: optionalKey(ArtifactKind),
|
|
@@ -20559,6 +20650,58 @@ const DocumentSaveResult = Union2([
|
|
|
20559
20650
|
markdown: String$1
|
|
20560
20651
|
})
|
|
20561
20652
|
]);
|
|
20653
|
+
const WhiteboardElement = StructWithRest(Struct({ id: String$1 }), [
|
|
20654
|
+
Record(String$1, Unknown2)
|
|
20655
|
+
]);
|
|
20656
|
+
const WhiteboardScene = Struct({
|
|
20657
|
+
elements: ArraySchema(WhiteboardElement),
|
|
20658
|
+
files: optionalKey(Record(String$1, Unknown2))
|
|
20659
|
+
});
|
|
20660
|
+
const WhiteboardContent = Struct({
|
|
20661
|
+
version: Number$1,
|
|
20662
|
+
revision: Number$1,
|
|
20663
|
+
scene: WhiteboardScene
|
|
20664
|
+
});
|
|
20665
|
+
const WhiteboardSaveResult = Union2([
|
|
20666
|
+
Struct({ type: Literal2("saved"), version: Number$1, revision: Number$1 }),
|
|
20667
|
+
Struct({
|
|
20668
|
+
type: Literal2("conflict"),
|
|
20669
|
+
version: Number$1,
|
|
20670
|
+
revision: Number$1,
|
|
20671
|
+
scene: WhiteboardScene
|
|
20672
|
+
})
|
|
20673
|
+
]);
|
|
20674
|
+
const CommentAuthor = Union2([
|
|
20675
|
+
Struct({ kind: Literal2("developer") }),
|
|
20676
|
+
Struct({ kind: Literal2("agent"), threadId: optionalKey(String$1) })
|
|
20677
|
+
]);
|
|
20678
|
+
const CommentMessage = Struct({
|
|
20679
|
+
id: String$1,
|
|
20680
|
+
author: CommentAuthor,
|
|
20681
|
+
body: String$1,
|
|
20682
|
+
createdAt: String$1
|
|
20683
|
+
});
|
|
20684
|
+
const CommentAnchor = Union2([
|
|
20685
|
+
Struct({ kind: Literal2("artifact") }),
|
|
20686
|
+
Struct({
|
|
20687
|
+
kind: Literal2("text"),
|
|
20688
|
+
quote: NonEmptyString,
|
|
20689
|
+
prefix: String$1,
|
|
20690
|
+
suffix: String$1
|
|
20691
|
+
}),
|
|
20692
|
+
Struct({ kind: Literal2("elements"), ids: ArraySchema(String$1).check(isMinLength(1)) })
|
|
20693
|
+
]);
|
|
20694
|
+
const ArtifactComment = Struct({
|
|
20695
|
+
id: String$1,
|
|
20696
|
+
anchor: CommentAnchor,
|
|
20697
|
+
resolved: Boolean$1,
|
|
20698
|
+
messages: NonEmptyArray(CommentMessage),
|
|
20699
|
+
createdAt: String$1,
|
|
20700
|
+
updatedAt: String$1
|
|
20701
|
+
});
|
|
20702
|
+
const ArtifactFeedback = Struct({
|
|
20703
|
+
comments: ArraySchema(ArtifactComment)
|
|
20704
|
+
});
|
|
20562
20705
|
const THEME_TOKENS = [
|
|
20563
20706
|
"--background",
|
|
20564
20707
|
"--foreground",
|
|
@@ -20676,6 +20819,7 @@ const RpcMethods = {
|
|
|
20676
20819
|
),
|
|
20677
20820
|
"device.detach": rpc(Struct({ threadId: String$1, deviceId: NullOr(DeviceId) }), Void2),
|
|
20678
20821
|
"device.delete": rpc(Struct({ threadId: String$1, deviceId: DeviceId }), Void2),
|
|
20822
|
+
"device.shutdown": rpc(Struct({ threadId: String$1, deviceId: DeviceId }), Void2),
|
|
20679
20823
|
"device.frame": rpc(
|
|
20680
20824
|
Struct({
|
|
20681
20825
|
threadId: String$1,
|
|
@@ -20748,6 +20892,7 @@ const RpcMethods = {
|
|
|
20748
20892
|
),
|
|
20749
20893
|
"projects.clone": rpc(
|
|
20750
20894
|
Struct({
|
|
20895
|
+
cloneId: String$1,
|
|
20751
20896
|
repository: GitHubRepository,
|
|
20752
20897
|
rootPath: String$1,
|
|
20753
20898
|
name: String$1,
|
|
@@ -20755,6 +20900,7 @@ const RpcMethods = {
|
|
|
20755
20900
|
}),
|
|
20756
20901
|
Project
|
|
20757
20902
|
),
|
|
20903
|
+
"projects.cancelClone": rpc(Struct({ cloneId: String$1 }), Void2),
|
|
20758
20904
|
"projects.update": rpc(
|
|
20759
20905
|
Struct({
|
|
20760
20906
|
id: String$1,
|
|
@@ -20789,7 +20935,6 @@ const RpcMethods = {
|
|
|
20789
20935
|
model: optional(String$1),
|
|
20790
20936
|
effort: optional(NullOr(String$1)),
|
|
20791
20937
|
fastMode: optional(Boolean$1),
|
|
20792
|
-
userSkills: optional(Boolean$1),
|
|
20793
20938
|
accessMode: optional(AccessMode),
|
|
20794
20939
|
status: optional(ThreadStatus),
|
|
20795
20940
|
sortIndex: optional(Number$1),
|
|
@@ -20827,7 +20972,7 @@ const RpcMethods = {
|
|
|
20827
20972
|
"worktrees.pullRequest": rpc(Struct({ id: String$1 }), NullOr(PullRequest)),
|
|
20828
20973
|
"threads.changes": rpc(Struct({ threadId: String$1, scope: ChangesScope }), NullOr(Changes)),
|
|
20829
20974
|
"threads.undoTurn": rpc(Struct({ threadId: String$1 }), Void2),
|
|
20830
|
-
"threads.fork": rpc(Struct({ threadId: String$1, messageId: String$1 }), Thread),
|
|
20975
|
+
"threads.fork": rpc(Struct({ threadId: String$1, messageId: optional(String$1) }), Thread),
|
|
20831
20976
|
"threads.sidechat": rpc(Struct({ threadId: String$1 }), Thread),
|
|
20832
20977
|
"sessions.listExternal": rpc(
|
|
20833
20978
|
Struct({ projectId: String$1 }),
|
|
@@ -20851,6 +20996,7 @@ const RpcMethods = {
|
|
|
20851
20996
|
"threads.unarchive": rpc(Struct({ threadId: String$1 }), Thread),
|
|
20852
20997
|
"threads.settle": rpc(Struct({ threadId: String$1 }), Thread),
|
|
20853
20998
|
"threads.unsettle": rpc(Struct({ threadId: String$1 }), Thread),
|
|
20999
|
+
"threads.regenerateTitle": rpc(Struct({ threadId: String$1 }), Thread),
|
|
20854
21000
|
"projects.currentBranch": rpc(Struct({ id: String$1 }), String$1),
|
|
20855
21001
|
"projects.defaultBranch": rpc(Struct({ id: String$1 }), String$1),
|
|
20856
21002
|
"projects.branches": rpc(Struct({ id: String$1 }), ArraySchema(String$1)),
|
|
@@ -20906,6 +21052,15 @@ const RpcMethods = {
|
|
|
20906
21052
|
AgentAccount
|
|
20907
21053
|
),
|
|
20908
21054
|
"agents.updates": rpc(Void2, ArraySchema(AgentUpdate)),
|
|
21055
|
+
"agents.binaries": rpc(Void2, Record(ProviderId, AgentBinaryStatus)),
|
|
21056
|
+
"magpie.test": rpc(
|
|
21057
|
+
Struct({ endpoint: NullOr(String$1), key: NullOr(String$1) }),
|
|
21058
|
+
Struct({ version: NullOr(String$1), models: Number$1 })
|
|
21059
|
+
),
|
|
21060
|
+
"magpie.saveKey": rpc(
|
|
21061
|
+
Struct({ endpoint: NullOr(String$1), key: NullOr(String$1) }),
|
|
21062
|
+
Void2
|
|
21063
|
+
),
|
|
20909
21064
|
"agents.update": rpc(Struct({ provider: UpdatableProviderId }), String$1),
|
|
20910
21065
|
"limits.list": rpc(Void2, ArraySchema(AccountLimits)),
|
|
20911
21066
|
"accounts.list": rpc(Void2, ArraySchema(AgentProfile)),
|
|
@@ -21033,6 +21188,8 @@ const RpcMethods = {
|
|
|
21033
21188
|
"github.merge": rpc(Struct({ url: String$1, method: MergeMethod }), Void2),
|
|
21034
21189
|
"github.close": rpc(Struct({ url: String$1 }), Void2),
|
|
21035
21190
|
"github.comment": rpc(Struct({ url: String$1, body: String$1 }), Void2),
|
|
21191
|
+
"github.pullRequestCandidates": rpc(Struct({ url: String$1 }), PullRequestCandidates),
|
|
21192
|
+
"github.editPullRequest": rpc(Struct({ url: String$1, edit: PullRequestEdit }), Void2),
|
|
21036
21193
|
"github.fileContent": rpc(
|
|
21037
21194
|
Struct({ url: String$1, ref: GitRefName, path: RepositoryPath }),
|
|
21038
21195
|
NullOr(String$1)
|
|
@@ -21141,7 +21298,32 @@ const RpcMethods = {
|
|
|
21141
21298
|
Struct({ id: String$1, baseRevision: Number$1, markdown: String$1 }),
|
|
21142
21299
|
DocumentSaveResult
|
|
21143
21300
|
),
|
|
21301
|
+
"artifacts.addDocumentImage": rpc(
|
|
21302
|
+
Struct({ id: String$1, dataUrl: String$1 }),
|
|
21303
|
+
Struct({ path: String$1 })
|
|
21304
|
+
),
|
|
21144
21305
|
"artifacts.createDocument": rpc(Struct({ threadId: String$1, title: String$1 }), Artifact),
|
|
21306
|
+
"artifacts.createWhiteboard": rpc(Struct({ threadId: String$1, title: String$1 }), Artifact),
|
|
21307
|
+
"artifacts.readWhiteboard": rpc(Struct({ id: String$1 }), WhiteboardContent),
|
|
21308
|
+
"artifacts.saveWhiteboard": rpc(
|
|
21309
|
+
Struct({ id: String$1, baseRevision: Number$1, scene: WhiteboardScene }),
|
|
21310
|
+
WhiteboardSaveResult
|
|
21311
|
+
),
|
|
21312
|
+
"artifacts.feedback": rpc(Struct({ id: String$1 }), ArtifactFeedback),
|
|
21313
|
+
"artifacts.comment": rpc(
|
|
21314
|
+
Struct({
|
|
21315
|
+
id: String$1,
|
|
21316
|
+
comment: optionalKey(String$1),
|
|
21317
|
+
anchor: optionalKey(CommentAnchor),
|
|
21318
|
+
body: String$1,
|
|
21319
|
+
attachments: optionalKey(ArraySchema(Attachment))
|
|
21320
|
+
}),
|
|
21321
|
+
ArtifactFeedback
|
|
21322
|
+
),
|
|
21323
|
+
"artifacts.resolveComment": rpc(
|
|
21324
|
+
Struct({ id: String$1, comment: String$1, resolved: Boolean$1 }),
|
|
21325
|
+
ArtifactFeedback
|
|
21326
|
+
),
|
|
21145
21327
|
"artifacts.rename": rpc(Struct({ id: String$1, title: String$1 }), Artifact),
|
|
21146
21328
|
"artifacts.setTheme": rpc(ArtifactTheme, Void2),
|
|
21147
21329
|
"automations.create": rpc(
|
|
@@ -21173,8 +21355,6 @@ const RpcMethods = {
|
|
|
21173
21355
|
"remote.status": rpc(Void2, RemoteStatus),
|
|
21174
21356
|
"remote.pairing": rpc(Void2, RemotePairing),
|
|
21175
21357
|
"remote.rotateToken": rpc(Void2, RemotePairing),
|
|
21176
|
-
"remote.setupRelay": rpc(Void2, RemotePairing),
|
|
21177
|
-
"remote.removeRelay": rpc(Void2, RemotePairing),
|
|
21178
21358
|
"automations.webhookUrl": rpc(
|
|
21179
21359
|
Struct({ id: String$1 }),
|
|
21180
21360
|
Struct({ url: String$1, listenError: NullOr(String$1) })
|
|
@@ -21191,6 +21371,7 @@ const methodKind = {
|
|
|
21191
21371
|
"device.create": "mutation",
|
|
21192
21372
|
"device.detach": "mutation",
|
|
21193
21373
|
"device.delete": "mutation",
|
|
21374
|
+
"device.shutdown": "mutation",
|
|
21194
21375
|
"device.frame": "read",
|
|
21195
21376
|
"device.command": "mutation",
|
|
21196
21377
|
"device.control": "mutation",
|
|
@@ -21205,6 +21386,7 @@ const methodKind = {
|
|
|
21205
21386
|
"projects.list": "read",
|
|
21206
21387
|
"projects.create": "mutation",
|
|
21207
21388
|
"projects.clone": "mutation",
|
|
21389
|
+
"projects.cancelClone": "mutation",
|
|
21208
21390
|
"projects.update": "mutation",
|
|
21209
21391
|
"projects.delete": "mutation",
|
|
21210
21392
|
"threads.list": "read",
|
|
@@ -21232,6 +21414,7 @@ const methodKind = {
|
|
|
21232
21414
|
"threads.unarchive": "mutation",
|
|
21233
21415
|
"threads.settle": "mutation",
|
|
21234
21416
|
"threads.unsettle": "mutation",
|
|
21417
|
+
"threads.regenerateTitle": "mutation",
|
|
21235
21418
|
"projects.currentBranch": "read",
|
|
21236
21419
|
"projects.defaultBranch": "read",
|
|
21237
21420
|
"projects.branches": "read",
|
|
@@ -21265,6 +21448,9 @@ const methodKind = {
|
|
|
21265
21448
|
"models.list": "read",
|
|
21266
21449
|
"agents.account": "read",
|
|
21267
21450
|
"agents.updates": "read",
|
|
21451
|
+
"agents.binaries": "read",
|
|
21452
|
+
"magpie.test": "read",
|
|
21453
|
+
"magpie.saveKey": "mutation",
|
|
21268
21454
|
"agents.update": "mutation",
|
|
21269
21455
|
"limits.list": "read",
|
|
21270
21456
|
"accounts.list": "read",
|
|
@@ -21326,6 +21512,8 @@ const methodKind = {
|
|
|
21326
21512
|
"github.merge": "mutation",
|
|
21327
21513
|
"github.close": "mutation",
|
|
21328
21514
|
"github.comment": "mutation",
|
|
21515
|
+
"github.pullRequestCandidates": "read",
|
|
21516
|
+
"github.editPullRequest": "mutation",
|
|
21329
21517
|
"github.fileContent": "read",
|
|
21330
21518
|
"github.reviewComment": "mutation",
|
|
21331
21519
|
"pullRequestGuides.get": "read",
|
|
@@ -21365,7 +21553,14 @@ const methodKind = {
|
|
|
21365
21553
|
"artifacts.delete": "mutation",
|
|
21366
21554
|
"artifacts.readDocument": "read",
|
|
21367
21555
|
"artifacts.saveDocument": "mutation",
|
|
21556
|
+
"artifacts.addDocumentImage": "mutation",
|
|
21368
21557
|
"artifacts.createDocument": "mutation",
|
|
21558
|
+
"artifacts.createWhiteboard": "mutation",
|
|
21559
|
+
"artifacts.readWhiteboard": "read",
|
|
21560
|
+
"artifacts.saveWhiteboard": "mutation",
|
|
21561
|
+
"artifacts.feedback": "read",
|
|
21562
|
+
"artifacts.comment": "mutation",
|
|
21563
|
+
"artifacts.resolveComment": "mutation",
|
|
21369
21564
|
"artifacts.rename": "mutation",
|
|
21370
21565
|
"artifacts.setTheme": "mutation",
|
|
21371
21566
|
"automations.create": "mutation",
|
|
@@ -21378,8 +21573,6 @@ const methodKind = {
|
|
|
21378
21573
|
"remote.status": "read",
|
|
21379
21574
|
"remote.pairing": "read",
|
|
21380
21575
|
"remote.rotateToken": "mutation",
|
|
21381
|
-
"remote.setupRelay": "mutation",
|
|
21382
|
-
"remote.removeRelay": "mutation",
|
|
21383
21576
|
"automations.webhookUrl": "read"
|
|
21384
21577
|
};
|
|
21385
21578
|
const mutations = new Set(
|
|
@@ -21407,8 +21600,6 @@ const desktopOnlyMethods = /* @__PURE__ */ new Set([
|
|
|
21407
21600
|
"vm.files.drop",
|
|
21408
21601
|
"remote.pairing",
|
|
21409
21602
|
"remote.rotateToken",
|
|
21410
|
-
"remote.setupRelay",
|
|
21411
|
-
"remote.removeRelay",
|
|
21412
21603
|
"clientSettings.get",
|
|
21413
21604
|
"clientSettings.set",
|
|
21414
21605
|
"environments.list",
|
|
@@ -21456,6 +21647,7 @@ const PushEvent = Union2([
|
|
|
21456
21647
|
Struct({ type: Literal2("thread.reveal"), threadId: String$1 }),
|
|
21457
21648
|
Struct({ type: Literal2("worktree.updated"), worktree: Worktree }),
|
|
21458
21649
|
Struct({ type: Literal2("worktree.setupLog"), id: String$1, chunk: String$1 }),
|
|
21650
|
+
Struct({ type: Literal2("project.cloneProgress"), cloneId: String$1, progress: CloneProgress }),
|
|
21459
21651
|
Struct({
|
|
21460
21652
|
type: Literal2("worktree.setupNotice"),
|
|
21461
21653
|
id: String$1,
|
|
@@ -21489,6 +21681,7 @@ const PushEvent = Union2([
|
|
|
21489
21681
|
Struct({ type: Literal2("automation.run"), run: AutomationRun }),
|
|
21490
21682
|
Struct({ type: Literal2("artifact.updated"), artifact: Artifact }),
|
|
21491
21683
|
Struct({ type: Literal2("artifact.removed"), id: String$1 }),
|
|
21684
|
+
Struct({ type: Literal2("artifact.feedback"), id: String$1 }),
|
|
21492
21685
|
Struct({ type: Literal2("artifact.opened"), threadId: String$1, id: String$1 }),
|
|
21493
21686
|
Struct({
|
|
21494
21687
|
type: Literal2("terminal.data"),
|
|
@@ -21497,6 +21690,7 @@ const PushEvent = Union2([
|
|
|
21497
21690
|
data: String$1
|
|
21498
21691
|
}),
|
|
21499
21692
|
Struct({ type: Literal2("terminal.exited"), id: String$1, exitCode: NullOr(Number$1) }),
|
|
21693
|
+
Struct({ type: Literal2("terminal.updated"), session: TerminalSession }),
|
|
21500
21694
|
Struct({ type: Literal2("update.changed") }),
|
|
21501
21695
|
Struct({ type: Literal2("environment.status"), id: String$1, status: EnvironmentStatus }),
|
|
21502
21696
|
Struct({ type: Literal2("environments.changed") }),
|
|
@@ -21861,7 +22055,7 @@ export {
|
|
|
21861
22055
|
asVoid as cy,
|
|
21862
22056
|
done as cz,
|
|
21863
22057
|
dual as d,
|
|
21864
|
-
|
|
22058
|
+
ignore as d$,
|
|
21865
22059
|
fromQueue as d0,
|
|
21866
22060
|
unwrap as d1,
|
|
21867
22061
|
onExit$1 as d2,
|
|
@@ -21897,8 +22091,8 @@ export {
|
|
|
21897
22091
|
FileSystem as dW,
|
|
21898
22092
|
orElseSucceed as dX,
|
|
21899
22093
|
chatFolder as dY,
|
|
21900
|
-
|
|
21901
|
-
|
|
22094
|
+
Boolean$1 as dZ,
|
|
22095
|
+
ProjectKind as d_,
|
|
21902
22096
|
provideService as da,
|
|
21903
22097
|
ParentSpan as db,
|
|
21904
22098
|
serviceOption as dc,
|
|
@@ -21925,339 +22119,348 @@ export {
|
|
|
21925
22119
|
normalizeNonEmpty as dy,
|
|
21926
22120
|
unbounded$1 as dz,
|
|
21927
22121
|
hasProperty as e,
|
|
21928
|
-
|
|
21929
|
-
|
|
21930
|
-
|
|
21931
|
-
|
|
21932
|
-
|
|
21933
|
-
|
|
21934
|
-
|
|
21935
|
-
|
|
21936
|
-
|
|
21937
|
-
|
|
21938
|
-
|
|
21939
|
-
|
|
21940
|
-
|
|
21941
|
-
|
|
21942
|
-
|
|
21943
|
-
|
|
21944
|
-
|
|
21945
|
-
|
|
21946
|
-
|
|
21947
|
-
|
|
21948
|
-
|
|
21949
|
-
|
|
21950
|
-
|
|
21951
|
-
|
|
21952
|
-
|
|
21953
|
-
|
|
21954
|
-
|
|
21955
|
-
|
|
21956
|
-
|
|
21957
|
-
|
|
21958
|
-
|
|
21959
|
-
|
|
21960
|
-
|
|
21961
|
-
|
|
21962
|
-
|
|
21963
|
-
|
|
21964
|
-
|
|
21965
|
-
|
|
21966
|
-
|
|
21967
|
-
|
|
21968
|
-
|
|
21969
|
-
|
|
21970
|
-
|
|
21971
|
-
|
|
21972
|
-
|
|
21973
|
-
|
|
21974
|
-
|
|
21975
|
-
|
|
21976
|
-
|
|
21977
|
-
|
|
21978
|
-
|
|
21979
|
-
|
|
21980
|
-
|
|
21981
|
-
|
|
21982
|
-
|
|
21983
|
-
|
|
21984
|
-
|
|
21985
|
-
|
|
21986
|
-
|
|
21987
|
-
|
|
21988
|
-
|
|
21989
|
-
|
|
21990
|
-
|
|
21991
|
-
|
|
22122
|
+
Settings as e$,
|
|
22123
|
+
logWarning as e0,
|
|
22124
|
+
sleep as e1,
|
|
22125
|
+
forkDetach as e2,
|
|
22126
|
+
succeed$5 as e3,
|
|
22127
|
+
signedOutFailure as e4,
|
|
22128
|
+
decodeUnknownOption as e5,
|
|
22129
|
+
Unknown2 as e6,
|
|
22130
|
+
toArray as e7,
|
|
22131
|
+
cachedWithTTL as e8,
|
|
22132
|
+
minutes as e9,
|
|
22133
|
+
concat as eA,
|
|
22134
|
+
fromEffectDrain as eB,
|
|
22135
|
+
fromEffect as eC,
|
|
22136
|
+
fromIterableEffect as eD,
|
|
22137
|
+
suspend as eE,
|
|
22138
|
+
unlistedModel as eF,
|
|
22139
|
+
make$e as eG,
|
|
22140
|
+
tap as eH,
|
|
22141
|
+
tick as eI,
|
|
22142
|
+
map$1 as eJ,
|
|
22143
|
+
drop as eK,
|
|
22144
|
+
merge as eL,
|
|
22145
|
+
onInterrupt as eM,
|
|
22146
|
+
format as eN,
|
|
22147
|
+
getOrNull as eO,
|
|
22148
|
+
Record as eP,
|
|
22149
|
+
make$h as eQ,
|
|
22150
|
+
make$q as eR,
|
|
22151
|
+
join as eS,
|
|
22152
|
+
end as eT,
|
|
22153
|
+
forkScoped as eU,
|
|
22154
|
+
isObject as eV,
|
|
22155
|
+
repeat as eW,
|
|
22156
|
+
subscribe as eX,
|
|
22157
|
+
fromSubscription as eY,
|
|
22158
|
+
publish as eZ,
|
|
22159
|
+
defaultSettings as e_,
|
|
22160
|
+
toAsyncIterable as ea,
|
|
22161
|
+
timeout as eb,
|
|
22162
|
+
addFinalizer as ec,
|
|
22163
|
+
callback as ed,
|
|
22164
|
+
offer as ee,
|
|
22165
|
+
withPermit as ef,
|
|
22166
|
+
acquireUseRelease as eg,
|
|
22167
|
+
shutdownUnsafe as eh,
|
|
22168
|
+
forkIn as ei,
|
|
22169
|
+
fromAsyncIterable as ej,
|
|
22170
|
+
runForEach as ek,
|
|
22171
|
+
pretty as el,
|
|
22172
|
+
CLAUDE_EFFORT_LEVELS as em,
|
|
22173
|
+
ensuring as en,
|
|
22174
|
+
currentTimeMillis as eo,
|
|
22175
|
+
sum as ep,
|
|
22176
|
+
publishedArtifactId as eq,
|
|
22177
|
+
PUBLISH_DOCUMENT_TOOL as er,
|
|
22178
|
+
PUBLISH_ARTIFACT_TOOL as es,
|
|
22179
|
+
PUBLISH_WHITEBOARD_TOOL as et,
|
|
22180
|
+
isDone as eu,
|
|
22181
|
+
empty as ev,
|
|
22182
|
+
succeed$1 as ew,
|
|
22183
|
+
fromIterable as ex,
|
|
22184
|
+
flatMap as ey,
|
|
22185
|
+
interruptWhen as ez,
|
|
21992
22186
|
optionalKey as f,
|
|
21993
|
-
|
|
21994
|
-
|
|
21995
|
-
|
|
21996
|
-
|
|
21997
|
-
|
|
21998
|
-
|
|
21999
|
-
|
|
22000
|
-
|
|
22001
|
-
|
|
22002
|
-
|
|
22003
|
-
|
|
22004
|
-
|
|
22005
|
-
|
|
22006
|
-
|
|
22007
|
-
|
|
22008
|
-
|
|
22009
|
-
|
|
22010
|
-
|
|
22011
|
-
|
|
22012
|
-
|
|
22013
|
-
|
|
22014
|
-
|
|
22015
|
-
|
|
22016
|
-
|
|
22017
|
-
|
|
22018
|
-
|
|
22019
|
-
|
|
22020
|
-
|
|
22021
|
-
|
|
22022
|
-
|
|
22023
|
-
|
|
22024
|
-
|
|
22025
|
-
|
|
22026
|
-
|
|
22027
|
-
|
|
22028
|
-
|
|
22029
|
-
|
|
22030
|
-
|
|
22031
|
-
|
|
22032
|
-
|
|
22033
|
-
|
|
22034
|
-
|
|
22035
|
-
|
|
22036
|
-
|
|
22037
|
-
|
|
22038
|
-
|
|
22039
|
-
|
|
22040
|
-
|
|
22041
|
-
|
|
22042
|
-
|
|
22043
|
-
|
|
22044
|
-
|
|
22045
|
-
|
|
22046
|
-
|
|
22047
|
-
|
|
22048
|
-
|
|
22049
|
-
|
|
22050
|
-
|
|
22051
|
-
|
|
22052
|
-
|
|
22053
|
-
|
|
22054
|
-
|
|
22055
|
-
|
|
22056
|
-
|
|
22187
|
+
UsageLimit as f$,
|
|
22188
|
+
flatMapNullishOr$1 as f0,
|
|
22189
|
+
option as f1,
|
|
22190
|
+
delay as f2,
|
|
22191
|
+
effectContext as f3,
|
|
22192
|
+
provide$2 as f4,
|
|
22193
|
+
monotonicTimeNanos as f5,
|
|
22194
|
+
retry as f6,
|
|
22195
|
+
spaced as f7,
|
|
22196
|
+
die as f8,
|
|
22197
|
+
PRIVATE_NETWORKS as f9,
|
|
22198
|
+
ChildProcessSpawner as fA,
|
|
22199
|
+
make$a as fB,
|
|
22200
|
+
mkString as fC,
|
|
22201
|
+
decodeText as fD,
|
|
22202
|
+
ForkPoint as fE,
|
|
22203
|
+
TokenUsage as fF,
|
|
22204
|
+
MessagePart as fG,
|
|
22205
|
+
Message as fH,
|
|
22206
|
+
sliding as fI,
|
|
22207
|
+
PullRequestReviewer as fJ,
|
|
22208
|
+
PullRequestLabel as fK,
|
|
22209
|
+
PullRequestComment as fL,
|
|
22210
|
+
DiffSide as fM,
|
|
22211
|
+
omit as fN,
|
|
22212
|
+
subtract as fO,
|
|
22213
|
+
PULL_REQUEST_REFRESH as fP,
|
|
22214
|
+
parseGitHubRepository as fQ,
|
|
22215
|
+
parseGitHubPullRequestUrl as fR,
|
|
22216
|
+
request as fS,
|
|
22217
|
+
Class$1 as fT,
|
|
22218
|
+
ProjectAction as fU,
|
|
22219
|
+
Project as fV,
|
|
22220
|
+
BooleanFromBit as fW,
|
|
22221
|
+
Worktree as fX,
|
|
22222
|
+
timeoutOption as fY,
|
|
22223
|
+
ScheduledMessage as fZ,
|
|
22224
|
+
QueuedMessage as f_,
|
|
22225
|
+
effectDiscard as fa,
|
|
22226
|
+
provideMerge as fb,
|
|
22227
|
+
UpdatableProviderId as fc,
|
|
22228
|
+
decodeUnknownSync as fd,
|
|
22229
|
+
spawnsSubagent as fe,
|
|
22230
|
+
isPublishArtifactTool as ff,
|
|
22231
|
+
outputText as fg,
|
|
22232
|
+
publishedArtifact as fh,
|
|
22233
|
+
toolArgument as fi,
|
|
22234
|
+
isPublishDocumentTool as fj,
|
|
22235
|
+
AgentProfile as fk,
|
|
22236
|
+
Void2 as fl,
|
|
22237
|
+
AccountProviderId as fm,
|
|
22238
|
+
filter$4 as fn,
|
|
22239
|
+
AgentAccount as fo,
|
|
22240
|
+
commonjsGlobal as fp,
|
|
22241
|
+
isRunAgentTool as fq,
|
|
22242
|
+
presetModels as fr,
|
|
22243
|
+
encodeSync as fs,
|
|
22244
|
+
mergeAll$1 as ft,
|
|
22245
|
+
filter as fu,
|
|
22246
|
+
take as fv,
|
|
22247
|
+
runDrain as fw,
|
|
22248
|
+
forever as fx,
|
|
22249
|
+
never$1 as fy,
|
|
22250
|
+
min$1 as fz,
|
|
22057
22251
|
format$1 as g,
|
|
22058
|
-
|
|
22059
|
-
|
|
22060
|
-
|
|
22061
|
-
|
|
22062
|
-
|
|
22063
|
-
|
|
22064
|
-
|
|
22065
|
-
|
|
22066
|
-
|
|
22067
|
-
|
|
22068
|
-
|
|
22069
|
-
|
|
22070
|
-
|
|
22071
|
-
|
|
22072
|
-
|
|
22073
|
-
|
|
22074
|
-
|
|
22075
|
-
|
|
22076
|
-
|
|
22077
|
-
|
|
22078
|
-
|
|
22079
|
-
|
|
22080
|
-
|
|
22081
|
-
|
|
22082
|
-
|
|
22083
|
-
|
|
22084
|
-
|
|
22085
|
-
|
|
22086
|
-
|
|
22087
|
-
|
|
22088
|
-
|
|
22089
|
-
|
|
22090
|
-
|
|
22091
|
-
|
|
22092
|
-
|
|
22093
|
-
|
|
22094
|
-
|
|
22095
|
-
|
|
22096
|
-
|
|
22097
|
-
|
|
22098
|
-
|
|
22099
|
-
|
|
22100
|
-
|
|
22101
|
-
|
|
22102
|
-
|
|
22103
|
-
|
|
22104
|
-
|
|
22105
|
-
|
|
22106
|
-
|
|
22107
|
-
|
|
22108
|
-
|
|
22109
|
-
|
|
22110
|
-
|
|
22111
|
-
|
|
22112
|
-
|
|
22113
|
-
|
|
22114
|
-
|
|
22115
|
-
|
|
22116
|
-
|
|
22117
|
-
|
|
22118
|
-
|
|
22119
|
-
|
|
22120
|
-
|
|
22121
|
-
|
|
22252
|
+
flatMapEager as g$,
|
|
22253
|
+
getOrThrow$1 as g0,
|
|
22254
|
+
PullRequestWatch as g1,
|
|
22255
|
+
PullRequestLink as g2,
|
|
22256
|
+
PullRequestStatus as g3,
|
|
22257
|
+
allWatchEventKinds as g4,
|
|
22258
|
+
enabledProviders as g5,
|
|
22259
|
+
transcriptThreadId$1 as g6,
|
|
22260
|
+
resumeGraceMs as g7,
|
|
22261
|
+
fail$2 as g8,
|
|
22262
|
+
WAIT_AGENT_TOOL as g9,
|
|
22263
|
+
mapEager as gA,
|
|
22264
|
+
updateContext as gB,
|
|
22265
|
+
makeUnsafe$2 as gC,
|
|
22266
|
+
tag as gD,
|
|
22267
|
+
Error$1 as gE,
|
|
22268
|
+
fromInputUnsafe as gF,
|
|
22269
|
+
Path as gG,
|
|
22270
|
+
run$1 as gH,
|
|
22271
|
+
mebibytes as gI,
|
|
22272
|
+
Class$3 as gJ,
|
|
22273
|
+
constFalse as gK,
|
|
22274
|
+
withLogSpan as gL,
|
|
22275
|
+
log as gM,
|
|
22276
|
+
Tracer as gN,
|
|
22277
|
+
nativeTracer as gO,
|
|
22278
|
+
hasInterrupts$1 as gP,
|
|
22279
|
+
succeed$6 as gQ,
|
|
22280
|
+
setStackTraceLimit as gR,
|
|
22281
|
+
fail$3 as gS,
|
|
22282
|
+
getStackTraceLimit as gT,
|
|
22283
|
+
fiberEnterUninterruptibleUnsafe as gU,
|
|
22284
|
+
contA as gV,
|
|
22285
|
+
effectIsExit as gW,
|
|
22286
|
+
closeUnsafe as gX,
|
|
22287
|
+
contE as gY,
|
|
22288
|
+
reportCauseUnsafe as gZ,
|
|
22289
|
+
matchCauseEffectEager as g_,
|
|
22290
|
+
filter$2 as ga,
|
|
22291
|
+
isMaxLength as gb,
|
|
22292
|
+
schedule as gc,
|
|
22293
|
+
BrowserFrame as gd,
|
|
22294
|
+
PagePick as ge,
|
|
22295
|
+
defaultClientSettings as gf,
|
|
22296
|
+
ClientSettings as gg,
|
|
22297
|
+
parsePairingUrl as gh,
|
|
22298
|
+
pairingUrl as gi,
|
|
22299
|
+
Environment as gj,
|
|
22300
|
+
relayWebSocketUrl as gk,
|
|
22301
|
+
remoteWebSocketUrl as gl,
|
|
22302
|
+
CHALLENGE_WAIT_MS as gm,
|
|
22303
|
+
race as gn,
|
|
22304
|
+
dialPlan as go,
|
|
22305
|
+
REMOTE_PROTOCOL_VERSION as gp,
|
|
22306
|
+
DIRECT_CHECK_INTERVAL_MS as gq,
|
|
22307
|
+
DIRECT_CHECK_TIMEOUT_MS as gr,
|
|
22308
|
+
LinearIssue as gs,
|
|
22309
|
+
externalSpan as gt,
|
|
22310
|
+
zero as gu,
|
|
22311
|
+
fromInput as gv,
|
|
22312
|
+
badArgument as gw,
|
|
22313
|
+
isSchemaError$1 as gx,
|
|
22314
|
+
isNoSuchElementError as gy,
|
|
22315
|
+
StackTrace as gz,
|
|
22122
22316
|
hasInterruptsOnly as h,
|
|
22123
|
-
|
|
22124
|
-
|
|
22125
|
-
|
|
22126
|
-
|
|
22127
|
-
|
|
22128
|
-
|
|
22129
|
-
|
|
22130
|
-
|
|
22131
|
-
|
|
22132
|
-
|
|
22133
|
-
|
|
22134
|
-
|
|
22135
|
-
|
|
22136
|
-
|
|
22137
|
-
|
|
22138
|
-
|
|
22139
|
-
|
|
22140
|
-
|
|
22141
|
-
|
|
22142
|
-
|
|
22143
|
-
|
|
22144
|
-
|
|
22145
|
-
|
|
22146
|
-
|
|
22147
|
-
|
|
22148
|
-
|
|
22149
|
-
|
|
22150
|
-
|
|
22151
|
-
|
|
22152
|
-
|
|
22153
|
-
|
|
22154
|
-
|
|
22155
|
-
|
|
22156
|
-
|
|
22157
|
-
|
|
22158
|
-
|
|
22159
|
-
|
|
22160
|
-
|
|
22161
|
-
|
|
22162
|
-
|
|
22163
|
-
|
|
22164
|
-
|
|
22165
|
-
|
|
22166
|
-
|
|
22167
|
-
|
|
22168
|
-
|
|
22169
|
-
|
|
22170
|
-
|
|
22171
|
-
|
|
22172
|
-
|
|
22173
|
-
|
|
22174
|
-
|
|
22175
|
-
|
|
22176
|
-
|
|
22177
|
-
|
|
22178
|
-
|
|
22179
|
-
|
|
22180
|
-
|
|
22181
|
-
|
|
22182
|
-
|
|
22183
|
-
|
|
22184
|
-
|
|
22185
|
-
|
|
22186
|
-
|
|
22317
|
+
Uint8ArrayFromBase64 as h$,
|
|
22318
|
+
fromReadable as h0,
|
|
22319
|
+
toArrayBuffer as h1,
|
|
22320
|
+
layer$7 as h2,
|
|
22321
|
+
pipeThroughDuplex as h3,
|
|
22322
|
+
toUint8Array as h4,
|
|
22323
|
+
WebSocketServer as h5,
|
|
22324
|
+
orDie as h6,
|
|
22325
|
+
runForEachArray as h7,
|
|
22326
|
+
interruptible as h8,
|
|
22327
|
+
die$4 as h9,
|
|
22328
|
+
failCause$2 as hA,
|
|
22329
|
+
forkChild as hB,
|
|
22330
|
+
catch_ as hC,
|
|
22331
|
+
isSchemaError as hD,
|
|
22332
|
+
failCause as hE,
|
|
22333
|
+
mapEffect as hF,
|
|
22334
|
+
onEnd as hG,
|
|
22335
|
+
isSchema as hH,
|
|
22336
|
+
annotate$1 as hI,
|
|
22337
|
+
fail$4 as hJ,
|
|
22338
|
+
make$2 as hK,
|
|
22339
|
+
declare as hL,
|
|
22340
|
+
isStream as hM,
|
|
22341
|
+
Class3 as hN,
|
|
22342
|
+
Exit as hO,
|
|
22343
|
+
provideContext as hP,
|
|
22344
|
+
StructWithRest as hQ,
|
|
22345
|
+
JsonObject as hR,
|
|
22346
|
+
Opaque as hS,
|
|
22347
|
+
decodeTo as hT,
|
|
22348
|
+
transformOptional as hU,
|
|
22349
|
+
flatMap$7 as hV,
|
|
22350
|
+
toType as hW,
|
|
22351
|
+
Any2 as hX,
|
|
22352
|
+
UndefinedOr as hY,
|
|
22353
|
+
Finite as hZ,
|
|
22354
|
+
passthrough$1 as h_,
|
|
22355
|
+
merge$2 as ha,
|
|
22356
|
+
succeedContext as hb,
|
|
22357
|
+
unwrap$3 as hc,
|
|
22358
|
+
withFiberSucceed as hd,
|
|
22359
|
+
reverse as he,
|
|
22360
|
+
getOrUndefinedUnsafe as hf,
|
|
22361
|
+
CurrentMemoMap as hg,
|
|
22362
|
+
fiberEnterInterruptibleUnsafe as hh,
|
|
22363
|
+
compose as hi,
|
|
22364
|
+
Timestamp as hj,
|
|
22365
|
+
AutomationTrigger as hk,
|
|
22366
|
+
AutomationRun as hl,
|
|
22367
|
+
isPolledTrigger as hm,
|
|
22368
|
+
launch as hn,
|
|
22369
|
+
Duration as ho,
|
|
22370
|
+
DateTimeUtc as hp,
|
|
22371
|
+
withConstructorDefault as hq,
|
|
22372
|
+
withDecodingDefault as hr,
|
|
22373
|
+
Redacted as hs,
|
|
22374
|
+
Tuple as ht,
|
|
22375
|
+
isRedacted as hu,
|
|
22376
|
+
MutableJson as hv,
|
|
22377
|
+
Never2 as hw,
|
|
22378
|
+
toJsonSchemaDocument as hx,
|
|
22379
|
+
annotateCurrentSpan as hy,
|
|
22380
|
+
isUndefined as hz,
|
|
22187
22381
|
isEffect as i,
|
|
22188
|
-
|
|
22189
|
-
|
|
22190
|
-
|
|
22191
|
-
|
|
22192
|
-
|
|
22193
|
-
|
|
22194
|
-
|
|
22195
|
-
|
|
22196
|
-
|
|
22197
|
-
|
|
22198
|
-
|
|
22199
|
-
|
|
22200
|
-
|
|
22201
|
-
|
|
22202
|
-
|
|
22203
|
-
|
|
22204
|
-
|
|
22205
|
-
|
|
22206
|
-
|
|
22207
|
-
|
|
22208
|
-
|
|
22209
|
-
|
|
22210
|
-
|
|
22211
|
-
|
|
22212
|
-
|
|
22213
|
-
|
|
22214
|
-
|
|
22215
|
-
|
|
22216
|
-
|
|
22217
|
-
|
|
22218
|
-
|
|
22219
|
-
|
|
22220
|
-
|
|
22221
|
-
|
|
22222
|
-
|
|
22223
|
-
|
|
22224
|
-
|
|
22225
|
-
|
|
22226
|
-
|
|
22227
|
-
|
|
22228
|
-
|
|
22229
|
-
|
|
22230
|
-
|
|
22231
|
-
|
|
22232
|
-
|
|
22233
|
-
|
|
22234
|
-
|
|
22235
|
-
|
|
22236
|
-
|
|
22237
|
-
|
|
22238
|
-
|
|
22239
|
-
|
|
22240
|
-
|
|
22241
|
-
|
|
22242
|
-
|
|
22243
|
-
|
|
22244
|
-
|
|
22245
|
-
|
|
22246
|
-
|
|
22247
|
-
|
|
22248
|
-
|
|
22249
|
-
|
|
22382
|
+
uninterruptible as i$,
|
|
22383
|
+
Json as i0,
|
|
22384
|
+
TemplateLiteral2 as i1,
|
|
22385
|
+
decode as i2,
|
|
22386
|
+
withDefault$1 as i3,
|
|
22387
|
+
isBetween as i4,
|
|
22388
|
+
take$4 as i5,
|
|
22389
|
+
toCodecJson as i6,
|
|
22390
|
+
isNullish as i7,
|
|
22391
|
+
isString as i8,
|
|
22392
|
+
bounded as i9,
|
|
22393
|
+
isDeferred as iA,
|
|
22394
|
+
hasDies as iB,
|
|
22395
|
+
shutdown as iC,
|
|
22396
|
+
Scheduler as iD,
|
|
22397
|
+
CurrentLogLevel as iE,
|
|
22398
|
+
decodeEffect as iF,
|
|
22399
|
+
UnknownFromJsonString as iG,
|
|
22400
|
+
ignoreCause as iH,
|
|
22401
|
+
Class$2 as iI,
|
|
22402
|
+
TaggedStruct as iJ,
|
|
22403
|
+
toEncoded as iK,
|
|
22404
|
+
when as iL,
|
|
22405
|
+
threadDeviceId as iM,
|
|
22406
|
+
devicePlatformOf as iN,
|
|
22407
|
+
runLast as iO,
|
|
22408
|
+
fromOption as iP,
|
|
22409
|
+
RUN_AGENT_TOOL as iQ,
|
|
22410
|
+
ARTIFACT_THEME_GUIDE as iR,
|
|
22411
|
+
DeviceUrl as iS,
|
|
22412
|
+
DeviceApp as iT,
|
|
22413
|
+
DeviceButton as iU,
|
|
22414
|
+
WatchEventKind as iV,
|
|
22415
|
+
isPattern as iW,
|
|
22416
|
+
RelayHostList as iX,
|
|
22417
|
+
RelayMachineList as iY,
|
|
22418
|
+
GuideGroup as iZ,
|
|
22419
|
+
PullRequestGuide as i_,
|
|
22420
|
+
withParentSpan as ia,
|
|
22421
|
+
die$3 as ib,
|
|
22422
|
+
offerAll as ic,
|
|
22423
|
+
interrupt$2 as id,
|
|
22424
|
+
interruptors as ie,
|
|
22425
|
+
decodeSync as ig,
|
|
22426
|
+
catchCauseIf as ih,
|
|
22427
|
+
NonEmptyArray as ii,
|
|
22428
|
+
decode$1 as ij,
|
|
22429
|
+
decodeUnknownResult as ik,
|
|
22430
|
+
fn as il,
|
|
22431
|
+
isTagged as im,
|
|
22432
|
+
isReadonlyObject as io,
|
|
22433
|
+
IllegalArgumentError2 as ip,
|
|
22434
|
+
encode as iq,
|
|
22435
|
+
collect as ir,
|
|
22436
|
+
catchDone as is,
|
|
22437
|
+
takeAll as it,
|
|
22438
|
+
fromArray as iu,
|
|
22439
|
+
whileLoop as iv,
|
|
22440
|
+
isExit as iw,
|
|
22441
|
+
matchEffect as ix,
|
|
22442
|
+
defaultFormatter as iy,
|
|
22443
|
+
logFatal as iz,
|
|
22250
22444
|
toCodecStringTree as j,
|
|
22251
|
-
|
|
22252
|
-
|
|
22253
|
-
|
|
22254
|
-
|
|
22255
|
-
|
|
22256
|
-
|
|
22257
|
-
|
|
22258
|
-
|
|
22259
|
-
|
|
22260
|
-
|
|
22445
|
+
flatten$4 as j0,
|
|
22446
|
+
diskFullness as j1,
|
|
22447
|
+
startingProvider as j2,
|
|
22448
|
+
min as j3,
|
|
22449
|
+
exponential as j4,
|
|
22450
|
+
desktopOnlyPushes as j5,
|
|
22451
|
+
reachesPhone as j6,
|
|
22452
|
+
mutations as j7,
|
|
22453
|
+
desktopOnlyMethods as j8,
|
|
22454
|
+
isAddressNotUpYet as j9,
|
|
22455
|
+
ClientFrame as ja,
|
|
22456
|
+
empty$2 as jb,
|
|
22457
|
+
BindHost as jc,
|
|
22458
|
+
take$2 as jd,
|
|
22459
|
+
getAugmentedNamespace as je,
|
|
22460
|
+
make$r as jf,
|
|
22461
|
+
NativeSpan as jg,
|
|
22462
|
+
currentTimeNanos as jh,
|
|
22463
|
+
isPortInUse as ji,
|
|
22261
22464
|
decodeUnknownEffect as k,
|
|
22262
22465
|
logError as l,
|
|
22263
22466
|
identity as m,
|