hinacode 0.3.0-alpha.5 → 0.3.0-alpha.7

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.
@@ -1461,9 +1461,10 @@ const getOrThrowWith$1 = /* @__PURE__ */ dual(2, (self2, onNone) => {
1461
1461
  const getOrThrow$1 = /* @__PURE__ */ getOrThrowWith$1(() => new Error("getOrThrow called on a None"));
1462
1462
  const map$8 = /* @__PURE__ */ dual(2, (self2, f) => isNone(self2) ? none() : some(f(self2.value)));
1463
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)));
1464
1465
  const flatten$4 = /* @__PURE__ */ flatMap$7(identity);
1465
1466
  const toArray = (self2) => isNone(self2) ? [] : [self2.value];
1466
- const filter$2 = /* @__PURE__ */ dual(2, (self2, predicate) => isNone(self2) ? none() : predicate(self2.value) ? some(self2.value) : none());
1467
+ const filter$4 = /* @__PURE__ */ dual(2, (self2, predicate) => isNone(self2) ? none() : predicate(self2.value) ? some(self2.value) : none());
1467
1468
  const exists = /* @__PURE__ */ dual(2, (self2, refinement) => isNone(self2) ? false : refinement(self2.value));
1468
1469
  const ServiceTypeId = "~effect/Context/Service";
1469
1470
  const Service = function() {
@@ -4340,6 +4341,24 @@ const forEachConcurrent = /* @__PURE__ */ iterateConcurrentImpl({
4340
4341
  }
4341
4342
  });
4342
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
+ }));
4343
4362
  const forkChild$1 = /* @__PURE__ */ dual((args2) => isEffect$1(args2[0]), (self2, options) => withFiber$1((fiber) => {
4344
4363
  interruptChildrenPatch();
4345
4364
  return succeed$7(forkUnsafe$1(fiber, self2, options?.startImmediately, false, options?.uninterruptible ?? false));
@@ -5709,6 +5728,7 @@ const delay = delay$1;
5709
5728
  const sleep = sleep$1;
5710
5729
  const race = race$1;
5711
5730
  const raceFirst = raceFirst$1;
5731
+ const filter$2 = filter$3;
5712
5732
  const filterOrFail = filterOrFail$1;
5713
5733
  const when = when$1;
5714
5734
  const match = match$1;
@@ -9002,7 +9022,7 @@ function transformOptionalEffect(f) {
9002
9022
  }
9003
9023
  function withDefault$1(defaultValue) {
9004
9024
  return transformOptionalEffect((o) => {
9005
- const filtered = filter$2(o, isNotUndefined);
9025
+ const filtered = filter$4(o, isNotUndefined);
9006
9026
  return isSome(filtered) ? succeed$3(filtered) : mapEager(defaultValue, some);
9007
9027
  });
9008
9028
  }
@@ -14886,6 +14906,7 @@ function normalizeCardinality(value2) {
14886
14906
  }
14887
14907
  return Math.max(0, Math.floor(value2));
14888
14908
  }
14909
+ const NonEmptyString = /* @__PURE__ */ String$1.check(/* @__PURE__ */ isNonEmpty());
14889
14910
  const getErrorOptionsKey = (options) => 0 | 0;
14890
14911
  const getErrorOptions = (key) => {
14891
14912
  switch (key) {
@@ -15583,7 +15604,7 @@ const LimitWindow = Struct({
15583
15604
  resetsAt: NullOr(String$1)
15584
15605
  });
15585
15606
  const PlanLimits = Struct({ windows: ArraySchema(LimitWindow), readAt: String$1 });
15586
- const ProviderId = Literals(["claude", "codex", "muse", "opencode"]);
15607
+ const ProviderId = Literals(["claude", "codex", "muse", "opencode", "magpie"]);
15587
15608
  const AccountProviderId = Literals(["claude", "codex"]);
15588
15609
  const UpdatableProviderId = Literals(["claude", "codex"]);
15589
15610
  const AgentUpdate = Struct({
@@ -15591,6 +15612,7 @@ const AgentUpdate = Struct({
15591
15612
  current: String$1,
15592
15613
  latest: String$1
15593
15614
  });
15615
+ const AgentBinaryStatus = Struct({ installed: Boolean$1, path: NullOr(String$1) });
15594
15616
  const ModelInfo = Struct({
15595
15617
  id: String$1,
15596
15618
  label: String$1,
@@ -15737,6 +15759,8 @@ const SubagentStatus = Literals(["running", "completed", "failed", "stopped"]);
15737
15759
  const Subagent = Struct({
15738
15760
  id: String$1,
15739
15761
  provider: optionalKey(ProviderId),
15762
+ model: optionalKey(String$1),
15763
+ effort: optionalKey(String$1),
15740
15764
  label: String$1,
15741
15765
  callId: NullOr(String$1),
15742
15766
  status: SubagentStatus,
@@ -15812,7 +15836,8 @@ const AgentEvent = Union2([
15812
15836
  message: String$1,
15813
15837
  stopped: optional(Boolean$1),
15814
15838
  signedOut: optional(Boolean$1),
15815
- loginCommand: optional(String$1)
15839
+ loginCommand: optional(String$1),
15840
+ sessionLost: optional(Boolean$1)
15816
15841
  }),
15817
15842
  Struct({ type: Literal2("turn_limited"), limit: UsageLimit })
15818
15843
  ]);
@@ -15821,13 +15846,22 @@ const WAIT_AGENT_TOOL = "wait_agent";
15821
15846
  const isRunAgentTool = (name) => name === RUN_AGENT_TOOL || name === `mcp__hinacode__${RUN_AGENT_TOOL}`;
15822
15847
  const PUBLISH_ARTIFACT_TOOL = "publish_artifact";
15823
15848
  const PUBLISH_DOCUMENT_TOOL = "publish_document";
15824
- const publishTools = new Set(
15825
- [PUBLISH_ARTIFACT_TOOL, PUBLISH_DOCUMENT_TOOL].flatMap((name) => [name, `mcp__hinacode__${name}`])
15849
+ const PUBLISH_WHITEBOARD_TOOL = "publish_whiteboard";
15850
+ const kindOfPublishTool = new Map(
15851
+ [
15852
+ [PUBLISH_ARTIFACT_TOOL, "page"],
15853
+ [PUBLISH_DOCUMENT_TOOL, "document"],
15854
+ [PUBLISH_WHITEBOARD_TOOL, "whiteboard"]
15855
+ ].flatMap(([name, kind]) => [
15856
+ [name, kind],
15857
+ [`mcp__hinacode__${name}`, kind]
15858
+ ])
15826
15859
  );
15827
- const isPublishArtifactTool = (name) => publishTools.has(name);
15828
- const isPublishDocumentTool = (name) => name.endsWith(PUBLISH_DOCUMENT_TOOL) && publishTools.has(name);
15860
+ const publishedKind = (name) => kindOfPublishTool.get(name) ?? null;
15861
+ const isPublishArtifactTool = (name) => kindOfPublishTool.has(name);
15862
+ const isPublishDocumentTool = (name) => publishedKind(name) === "document";
15829
15863
  const publishedArtifact = (result2) => {
15830
- const [, id, version] = /^Published (?:artifact|document) ([a-z0-9][a-z0-9-]*) version (\d+)/.exec(result2) ?? [];
15864
+ const [, id, version] = /^Published (?:artifact|document|whiteboard) ([a-z0-9][a-z0-9-]*) version (\d+)/.exec(result2) ?? [];
15831
15865
  return id === void 0 ? null : { id, version: Number(version) };
15832
15866
  };
15833
15867
  const publishedArtifactId = (result2) => publishedArtifact(result2)?.id ?? null;
@@ -16508,16 +16542,18 @@ const BindHost = String$1.check(isPattern(/^(?!(?:0\.0\.0\.0|::|::0|\[::\])$)\S+
16508
16542
  const ListenPort = Int.check(isBetween({ minimum: 1, maximum: 65535 }));
16509
16543
  const perProvider = (value2, fallback) => {
16510
16544
  const field = value2.pipe(withDecodingDefaultKey(succeed$3(fallback)));
16511
- return Struct({ claude: field, codex: field, muse: field, opencode: field });
16545
+ return Struct({ claude: field, codex: field, muse: field, opencode: field, magpie: field });
16512
16546
  };
16513
16547
  const eachProvider = (value2) => ({
16514
16548
  claude: value2,
16515
16549
  codex: value2,
16516
16550
  muse: value2,
16517
- opencode: value2
16551
+ opencode: value2,
16552
+ magpie: value2
16518
16553
  });
16519
16554
  const Settings = Struct({
16520
16555
  defaultProvider: ProviderId,
16556
+ providerEnabled: perProvider(Boolean$1, true),
16521
16557
  defaultModel: perProvider(NullOr(String$1), null),
16522
16558
  defaultEffort: perProvider(NullOr(String$1), null),
16523
16559
  defaultFastMode: perProvider(Boolean$1, false),
@@ -16530,6 +16566,9 @@ const Settings = Struct({
16530
16566
  autoCompactTokens: perProvider(NullOr(AutoCompactTokens), null).pipe(
16531
16567
  withDecodingDefaultKey(succeed$3(eachProvider(null)))
16532
16568
  ),
16569
+ providerBinary: perProvider(NullOr(AgentBinary), null).pipe(
16570
+ withDecodingDefaultKey(succeed$3(eachProvider(null)))
16571
+ ),
16533
16572
  automations: Struct({ bindHost: BindHost, port: ListenPort }),
16534
16573
  remote: Struct({ enabled: Boolean$1, bindHost: BindHost, port: ListenPort }),
16535
16574
  textGenerationModel: String$1,
@@ -16542,10 +16581,19 @@ const Settings = Struct({
16542
16581
  archive: ArchiveSettings,
16543
16582
  experimental: ExperimentalSettings,
16544
16583
  worktreeRoot: NullOr(String$1.check(isPattern(/^\//))),
16545
- actions: ArraySchema(ProjectAction).pipe(withDecodingDefaultKey(succeed$3([])))
16584
+ actions: ArraySchema(ProjectAction).pipe(withDecodingDefaultKey(succeed$3([]))),
16585
+ magpieEndpoint: NullOr(String$1.check(isPattern(/^https?:\/\/\S+$/))).pipe(
16586
+ withDecodingDefaultKey(succeed$3(null))
16587
+ )
16546
16588
  });
16589
+ const enabledProviders = (settings, installed) => ProviderId.literals.filter((provider) => settings.providerEnabled[provider] && installed?.[provider] !== false);
16590
+ const startingProvider = (settings, installed) => {
16591
+ const enabled = enabledProviders(settings, installed);
16592
+ return enabled.includes(settings.defaultProvider) ? settings.defaultProvider : enabled[0] ?? settings.defaultProvider;
16593
+ };
16547
16594
  const defaultSettings = {
16548
16595
  defaultProvider: "claude",
16596
+ providerEnabled: eachProvider(true),
16549
16597
  defaultModel: eachProvider(null),
16550
16598
  defaultEffort: eachProvider(null),
16551
16599
  defaultFastMode: eachProvider(false),
@@ -16554,6 +16602,7 @@ const defaultSettings = {
16554
16602
  defaultAccount: eachProvider(null),
16555
16603
  defaultAccountName: eachProvider(null),
16556
16604
  autoCompactTokens: eachProvider(null),
16605
+ providerBinary: eachProvider(null),
16557
16606
  automations: { bindHost: "127.0.0.1", port: 48080 },
16558
16607
  remote: { enabled: false, bindHost: PRIVATE_NETWORKS, port: 48081 },
16559
16608
  textGenerationModel: "claude-sonnet-5-5",
@@ -16571,7 +16620,8 @@ const defaultSettings = {
16571
16620
  tinyVmSetupScript: ""
16572
16621
  },
16573
16622
  worktreeRoot: null,
16574
- actions: []
16623
+ actions: [],
16624
+ magpieEndpoint: null
16575
16625
  };
16576
16626
  const Machine = Struct({
16577
16627
  id: String$1,
@@ -16723,7 +16773,9 @@ const TerminalSession = Struct({
16723
16773
  rows: Number$1,
16724
16774
  status: Literals(["running", "exited"]),
16725
16775
  exitCode: NullOr(Number$1),
16726
- title: NullOr(String$1).pipe(withDecodingDefaultKey(succeed$3(null)))
16776
+ title: NullOr(String$1).pipe(withDecodingDefaultKey(succeed$3(null))),
16777
+ command: NullOr(String$1).pipe(withDecodingDefaultKey(succeed$3(null))),
16778
+ lastExitCode: NullOr(Number$1).pipe(withDecodingDefaultKey(succeed$3(null)))
16727
16779
  });
16728
16780
  const TerminalOffset = Int.check(isGreaterThanOrEqualTo(0));
16729
16781
  const TerminalAttachment = Struct({
@@ -20558,7 +20610,7 @@ function requireWebsocketServer() {
20558
20610
  var websocketServerExports = requireWebsocketServer();
20559
20611
  const WebSocketServer = /* @__PURE__ */ getDefaultExportFromCjs(websocketServerExports);
20560
20612
  const ArtifactFile = Struct({ path: String$1, type: String$1, size: Number$1 });
20561
- const ArtifactKind = Literals(["page", "document"]);
20613
+ const ArtifactKind = Literals(["page", "document", "whiteboard"]);
20562
20614
  const Artifact = Struct({
20563
20615
  id: String$1,
20564
20616
  kind: optionalKey(ArtifactKind),
@@ -20601,6 +20653,58 @@ const DocumentSaveResult = Union2([
20601
20653
  markdown: String$1
20602
20654
  })
20603
20655
  ]);
20656
+ const WhiteboardElement = StructWithRest(Struct({ id: String$1 }), [
20657
+ Record(String$1, Unknown2)
20658
+ ]);
20659
+ const WhiteboardScene = Struct({
20660
+ elements: ArraySchema(WhiteboardElement),
20661
+ files: optionalKey(Record(String$1, Unknown2))
20662
+ });
20663
+ const WhiteboardContent = Struct({
20664
+ version: Number$1,
20665
+ revision: Number$1,
20666
+ scene: WhiteboardScene
20667
+ });
20668
+ const WhiteboardSaveResult = Union2([
20669
+ Struct({ type: Literal2("saved"), version: Number$1, revision: Number$1 }),
20670
+ Struct({
20671
+ type: Literal2("conflict"),
20672
+ version: Number$1,
20673
+ revision: Number$1,
20674
+ scene: WhiteboardScene
20675
+ })
20676
+ ]);
20677
+ const CommentAuthor = Union2([
20678
+ Struct({ kind: Literal2("developer") }),
20679
+ Struct({ kind: Literal2("agent"), threadId: optionalKey(String$1) })
20680
+ ]);
20681
+ const CommentMessage = Struct({
20682
+ id: String$1,
20683
+ author: CommentAuthor,
20684
+ body: String$1,
20685
+ createdAt: String$1
20686
+ });
20687
+ const CommentAnchor = Union2([
20688
+ Struct({ kind: Literal2("artifact") }),
20689
+ Struct({
20690
+ kind: Literal2("text"),
20691
+ quote: NonEmptyString,
20692
+ prefix: String$1,
20693
+ suffix: String$1
20694
+ }),
20695
+ Struct({ kind: Literal2("elements"), ids: ArraySchema(String$1).check(isMinLength(1)) })
20696
+ ]);
20697
+ const ArtifactComment = Struct({
20698
+ id: String$1,
20699
+ anchor: CommentAnchor,
20700
+ resolved: Boolean$1,
20701
+ messages: NonEmptyArray(CommentMessage),
20702
+ createdAt: String$1,
20703
+ updatedAt: String$1
20704
+ });
20705
+ const ArtifactFeedback = Struct({
20706
+ comments: ArraySchema(ArtifactComment)
20707
+ });
20604
20708
  const THEME_TOKENS = [
20605
20709
  "--background",
20606
20710
  "--foreground",
@@ -20718,6 +20822,7 @@ const RpcMethods = {
20718
20822
  ),
20719
20823
  "device.detach": rpc(Struct({ threadId: String$1, deviceId: NullOr(DeviceId) }), Void2),
20720
20824
  "device.delete": rpc(Struct({ threadId: String$1, deviceId: DeviceId }), Void2),
20825
+ "device.shutdown": rpc(Struct({ threadId: String$1, deviceId: DeviceId }), Void2),
20721
20826
  "device.frame": rpc(
20722
20827
  Struct({
20723
20828
  threadId: String$1,
@@ -20950,6 +21055,15 @@ const RpcMethods = {
20950
21055
  AgentAccount
20951
21056
  ),
20952
21057
  "agents.updates": rpc(Void2, ArraySchema(AgentUpdate)),
21058
+ "agents.binaries": rpc(Void2, Record(ProviderId, AgentBinaryStatus)),
21059
+ "magpie.test": rpc(
21060
+ Struct({ endpoint: NullOr(String$1), key: NullOr(String$1) }),
21061
+ Struct({ version: NullOr(String$1), models: Number$1 })
21062
+ ),
21063
+ "magpie.saveKey": rpc(
21064
+ Struct({ endpoint: NullOr(String$1), key: NullOr(String$1) }),
21065
+ Void2
21066
+ ),
20953
21067
  "agents.update": rpc(Struct({ provider: UpdatableProviderId }), String$1),
20954
21068
  "limits.list": rpc(Void2, ArraySchema(AccountLimits)),
20955
21069
  "accounts.list": rpc(Void2, ArraySchema(AgentProfile)),
@@ -21192,6 +21306,27 @@ const RpcMethods = {
21192
21306
  Struct({ path: String$1 })
21193
21307
  ),
21194
21308
  "artifacts.createDocument": rpc(Struct({ threadId: String$1, title: String$1 }), Artifact),
21309
+ "artifacts.createWhiteboard": rpc(Struct({ threadId: String$1, title: String$1 }), Artifact),
21310
+ "artifacts.readWhiteboard": rpc(Struct({ id: String$1 }), WhiteboardContent),
21311
+ "artifacts.saveWhiteboard": rpc(
21312
+ Struct({ id: String$1, baseRevision: Number$1, scene: WhiteboardScene }),
21313
+ WhiteboardSaveResult
21314
+ ),
21315
+ "artifacts.feedback": rpc(Struct({ id: String$1 }), ArtifactFeedback),
21316
+ "artifacts.comment": rpc(
21317
+ Struct({
21318
+ id: String$1,
21319
+ comment: optionalKey(String$1),
21320
+ anchor: optionalKey(CommentAnchor),
21321
+ body: String$1,
21322
+ attachments: optionalKey(ArraySchema(Attachment))
21323
+ }),
21324
+ ArtifactFeedback
21325
+ ),
21326
+ "artifacts.resolveComment": rpc(
21327
+ Struct({ id: String$1, comment: String$1, resolved: Boolean$1 }),
21328
+ ArtifactFeedback
21329
+ ),
21195
21330
  "artifacts.rename": rpc(Struct({ id: String$1, title: String$1 }), Artifact),
21196
21331
  "artifacts.setTheme": rpc(ArtifactTheme, Void2),
21197
21332
  "automations.create": rpc(
@@ -21239,6 +21374,7 @@ const methodKind = {
21239
21374
  "device.create": "mutation",
21240
21375
  "device.detach": "mutation",
21241
21376
  "device.delete": "mutation",
21377
+ "device.shutdown": "mutation",
21242
21378
  "device.frame": "read",
21243
21379
  "device.command": "mutation",
21244
21380
  "device.control": "mutation",
@@ -21315,6 +21451,9 @@ const methodKind = {
21315
21451
  "models.list": "read",
21316
21452
  "agents.account": "read",
21317
21453
  "agents.updates": "read",
21454
+ "agents.binaries": "read",
21455
+ "magpie.test": "read",
21456
+ "magpie.saveKey": "mutation",
21318
21457
  "agents.update": "mutation",
21319
21458
  "limits.list": "read",
21320
21459
  "accounts.list": "read",
@@ -21419,6 +21558,12 @@ const methodKind = {
21419
21558
  "artifacts.saveDocument": "mutation",
21420
21559
  "artifacts.addDocumentImage": "mutation",
21421
21560
  "artifacts.createDocument": "mutation",
21561
+ "artifacts.createWhiteboard": "mutation",
21562
+ "artifacts.readWhiteboard": "read",
21563
+ "artifacts.saveWhiteboard": "mutation",
21564
+ "artifacts.feedback": "read",
21565
+ "artifacts.comment": "mutation",
21566
+ "artifacts.resolveComment": "mutation",
21422
21567
  "artifacts.rename": "mutation",
21423
21568
  "artifacts.setTheme": "mutation",
21424
21569
  "automations.create": "mutation",
@@ -21539,6 +21684,7 @@ const PushEvent = Union2([
21539
21684
  Struct({ type: Literal2("automation.run"), run: AutomationRun }),
21540
21685
  Struct({ type: Literal2("artifact.updated"), artifact: Artifact }),
21541
21686
  Struct({ type: Literal2("artifact.removed"), id: String$1 }),
21687
+ Struct({ type: Literal2("artifact.feedback"), id: String$1 }),
21542
21688
  Struct({ type: Literal2("artifact.opened"), threadId: String$1, id: String$1 }),
21543
21689
  Struct({
21544
21690
  type: Literal2("terminal.data"),
@@ -21547,6 +21693,7 @@ const PushEvent = Union2([
21547
21693
  data: String$1
21548
21694
  }),
21549
21695
  Struct({ type: Literal2("terminal.exited"), id: String$1, exitCode: NullOr(Number$1) }),
21696
+ Struct({ type: Literal2("terminal.updated"), session: TerminalSession }),
21550
21697
  Struct({ type: Literal2("update.changed") }),
21551
21698
  Struct({ type: Literal2("environment.status"), id: String$1, status: EnvironmentStatus }),
21552
21699
  Struct({ type: Literal2("environments.changed") }),
@@ -21975,7 +22122,7 @@ export {
21975
22122
  normalizeNonEmpty as dy,
21976
22123
  unbounded$1 as dz,
21977
22124
  hasProperty as e,
21978
- retry as e$,
22125
+ Settings as e$,
21979
22126
  logWarning as e0,
21980
22127
  sleep as e1,
21981
22128
  forkDetach as e2,
@@ -21984,334 +22131,339 @@ export {
21984
22131
  decodeUnknownOption as e5,
21985
22132
  Unknown2 as e6,
21986
22133
  toArray as e7,
21987
- minutes as e8,
21988
- cachedWithTTL as e9,
21989
- fromEffectDrain as eA,
21990
- fromIterableEffect as eB,
21991
- fromEffect as eC,
21992
- suspend as eD,
21993
- unlistedModel as eE,
21994
- tap as eF,
21995
- make$e as eG,
21996
- tick as eH,
21997
- map$1 as eI,
21998
- drop as eJ,
21999
- merge as eK,
22000
- onInterrupt as eL,
22001
- format as eM,
22002
- getOrNull as eN,
22003
- Record as eO,
22004
- make$h as eP,
22005
- make$q as eQ,
22006
- join as eR,
22007
- end as eS,
22008
- forkScoped as eT,
22009
- isObject as eU,
22010
- repeat as eV,
22011
- option as eW,
22012
- delay as eX,
22013
- effectContext as eY,
22014
- provide$2 as eZ,
22015
- monotonicTimeNanos as e_,
22016
- addFinalizer as ea,
22017
- acquireUseRelease as eb,
22018
- callback as ec,
22019
- offer as ed,
22020
- withPermit as ee,
22021
- toAsyncIterable as ef,
22022
- timeout as eg,
22134
+ cachedWithTTL as e8,
22135
+ minutes as e9,
22136
+ interruptWhen as eA,
22137
+ concat as eB,
22138
+ fromEffectDrain as eC,
22139
+ fromEffect as eD,
22140
+ fromIterableEffect as eE,
22141
+ suspend as eF,
22142
+ unlistedModel as eG,
22143
+ make$e as eH,
22144
+ tap as eI,
22145
+ tick as eJ,
22146
+ map$1 as eK,
22147
+ drop as eL,
22148
+ merge as eM,
22149
+ onInterrupt as eN,
22150
+ format as eO,
22151
+ getOrNull as eP,
22152
+ Record as eQ,
22153
+ make$h as eR,
22154
+ join as eS,
22155
+ end as eT,
22156
+ forkScoped as eU,
22157
+ isObject as eV,
22158
+ repeat as eW,
22159
+ subscribe as eX,
22160
+ fromSubscription as eY,
22161
+ publish as eZ,
22162
+ defaultSettings as e_,
22163
+ toAsyncIterable as ea,
22164
+ timeout as eb,
22165
+ addFinalizer as ec,
22166
+ callback as ed,
22167
+ offer as ee,
22168
+ withPermit as ef,
22169
+ acquireUseRelease as eg,
22023
22170
  shutdownUnsafe as eh,
22024
- forkIn as ei,
22025
- fromAsyncIterable as ej,
22026
- runForEach as ek,
22027
- pretty as el,
22028
- ensuring as em,
22029
- currentTimeMillis as en,
22030
- sum as eo,
22031
- CLAUDE_EFFORT_LEVELS as ep,
22032
- publishedArtifactId as eq,
22033
- PUBLISH_DOCUMENT_TOOL as er,
22034
- PUBLISH_ARTIFACT_TOOL as es,
22035
- isDone as et,
22036
- empty as eu,
22037
- succeed$1 as ev,
22038
- fromIterable as ew,
22039
- flatMap as ex,
22040
- interruptWhen as ey,
22041
- concat as ez,
22171
+ make$q as ei,
22172
+ forkIn as ej,
22173
+ fromAsyncIterable as ek,
22174
+ runForEach as el,
22175
+ CLAUDE_EFFORT_LEVELS as em,
22176
+ ensuring as en,
22177
+ currentTimeMillis as eo,
22178
+ sum as ep,
22179
+ race as eq,
22180
+ publishedArtifactId as er,
22181
+ PUBLISH_DOCUMENT_TOOL as es,
22182
+ PUBLISH_ARTIFACT_TOOL as et,
22183
+ PUBLISH_WHITEBOARD_TOOL as eu,
22184
+ isDone as ev,
22185
+ empty as ew,
22186
+ succeed$1 as ex,
22187
+ fromIterable as ey,
22188
+ flatMap as ez,
22042
22189
  optionalKey as f,
22043
- PullRequestWatch as f$,
22044
- spaced as f0,
22045
- die as f1,
22046
- PRIVATE_NETWORKS as f2,
22047
- effectDiscard as f3,
22048
- provideMerge as f4,
22049
- UpdatableProviderId as f5,
22050
- decodeUnknownSync as f6,
22051
- spawnsSubagent as f7,
22052
- isPublishArtifactTool as f8,
22053
- outputText as f9,
22054
- mkString as fA,
22055
- decodeText as fB,
22056
- ForkPoint as fC,
22057
- TokenUsage as fD,
22058
- MessagePart as fE,
22059
- Message as fF,
22060
- sliding as fG,
22061
- PullRequestReviewer as fH,
22062
- PullRequestLabel as fI,
22063
- PullRequestComment as fJ,
22064
- DiffSide as fK,
22065
- omit as fL,
22066
- subtract as fM,
22067
- PULL_REQUEST_REFRESH as fN,
22068
- parseGitHubRepository as fO,
22069
- parseGitHubPullRequestUrl as fP,
22070
- request as fQ,
22071
- Class$1 as fR,
22072
- ProjectAction as fS,
22073
- Project as fT,
22074
- BooleanFromBit as fU,
22075
- Worktree as fV,
22076
- timeoutOption as fW,
22077
- ScheduledMessage as fX,
22078
- QueuedMessage as fY,
22079
- UsageLimit as fZ,
22080
- getOrThrow$1 as f_,
22081
- publishedArtifact as fa,
22082
- toolArgument as fb,
22083
- isPublishDocumentTool as fc,
22084
- subscribe as fd,
22085
- fromSubscription as fe,
22086
- publish as ff,
22087
- defaultSettings as fg,
22088
- Settings as fh,
22089
- AgentProfile as fi,
22090
- Void2 as fj,
22091
- AccountProviderId as fk,
22092
- filter$2 as fl,
22093
- AgentAccount as fm,
22094
- commonjsGlobal as fn,
22095
- isRunAgentTool as fo,
22096
- presetModels as fp,
22097
- encodeSync as fq,
22098
- mergeAll$1 as fr,
22099
- filter as fs,
22100
- take as ft,
22101
- runDrain as fu,
22102
- forever as fv,
22103
- never$1 as fw,
22104
- min$1 as fx,
22105
- ChildProcessSpawner as fy,
22106
- make$a as fz,
22190
+ UsageLimit as f$,
22191
+ flatMapNullishOr$1 as f0,
22192
+ option as f1,
22193
+ delay as f2,
22194
+ effectContext as f3,
22195
+ provide$2 as f4,
22196
+ monotonicTimeNanos as f5,
22197
+ retry as f6,
22198
+ spaced as f7,
22199
+ die as f8,
22200
+ PRIVATE_NETWORKS as f9,
22201
+ ChildProcessSpawner as fA,
22202
+ make$a as fB,
22203
+ mkString as fC,
22204
+ decodeText as fD,
22205
+ ForkPoint as fE,
22206
+ TokenUsage as fF,
22207
+ MessagePart as fG,
22208
+ Message as fH,
22209
+ sliding as fI,
22210
+ parseGitHubPullRequestUrl as fJ,
22211
+ PullRequestReviewer as fK,
22212
+ PullRequestLabel as fL,
22213
+ PullRequestComment as fM,
22214
+ DiffSide as fN,
22215
+ omit as fO,
22216
+ subtract as fP,
22217
+ PULL_REQUEST_REFRESH as fQ,
22218
+ parseGitHubRepository as fR,
22219
+ request as fS,
22220
+ Class$1 as fT,
22221
+ ProjectAction as fU,
22222
+ Project as fV,
22223
+ BooleanFromBit as fW,
22224
+ Worktree as fX,
22225
+ timeoutOption as fY,
22226
+ ScheduledMessage as fZ,
22227
+ QueuedMessage as f_,
22228
+ effectDiscard as fa,
22229
+ provideMerge as fb,
22230
+ UpdatableProviderId as fc,
22231
+ decodeUnknownSync as fd,
22232
+ spawnsSubagent as fe,
22233
+ isPublishArtifactTool as ff,
22234
+ outputText as fg,
22235
+ publishedArtifact as fh,
22236
+ toolArgument as fi,
22237
+ isPublishDocumentTool as fj,
22238
+ AgentProfile as fk,
22239
+ Void2 as fl,
22240
+ AccountProviderId as fm,
22241
+ filter$4 as fn,
22242
+ AgentAccount as fo,
22243
+ commonjsGlobal as fp,
22244
+ isRunAgentTool as fq,
22245
+ presetModels as fr,
22246
+ encodeSync as fs,
22247
+ mergeAll$1 as ft,
22248
+ filter as fu,
22249
+ take as fv,
22250
+ runDrain as fw,
22251
+ forever as fx,
22252
+ never$1 as fy,
22253
+ min$1 as fz,
22107
22254
  format$1 as g,
22108
- pipeThroughDuplex as g$,
22109
- PullRequestLink as g0,
22110
- PullRequestStatus as g1,
22111
- allWatchEventKinds as g2,
22112
- transcriptThreadId$1 as g3,
22113
- resumeGraceMs as g4,
22114
- fail$2 as g5,
22115
- WAIT_AGENT_TOOL as g6,
22116
- isMaxLength as g7,
22117
- schedule as g8,
22118
- BrowserFrame as g9,
22119
- Error$1 as gA,
22120
- fromInputUnsafe as gB,
22121
- Path as gC,
22122
- run$1 as gD,
22123
- mebibytes as gE,
22124
- Class$3 as gF,
22125
- constFalse as gG,
22126
- withLogSpan as gH,
22127
- log as gI,
22128
- Tracer as gJ,
22129
- nativeTracer as gK,
22130
- hasInterrupts$1 as gL,
22131
- succeed$6 as gM,
22132
- setStackTraceLimit as gN,
22133
- fail$3 as gO,
22134
- getStackTraceLimit as gP,
22135
- fiberEnterUninterruptibleUnsafe as gQ,
22136
- contA as gR,
22137
- effectIsExit as gS,
22138
- closeUnsafe as gT,
22139
- contE as gU,
22140
- reportCauseUnsafe as gV,
22141
- matchCauseEffectEager as gW,
22142
- flatMapEager as gX,
22143
- fromReadable as gY,
22144
- toArrayBuffer as gZ,
22145
- layer$7 as g_,
22146
- PagePick as ga,
22147
- defaultClientSettings as gb,
22148
- ClientSettings as gc,
22149
- parsePairingUrl as gd,
22150
- pairingUrl as ge,
22151
- Environment as gf,
22152
- relayWebSocketUrl as gg,
22153
- remoteWebSocketUrl as gh,
22154
- CHALLENGE_WAIT_MS as gi,
22155
- race as gj,
22156
- dialPlan as gk,
22157
- REMOTE_PROTOCOL_VERSION as gl,
22158
- DIRECT_CHECK_INTERVAL_MS as gm,
22159
- DIRECT_CHECK_TIMEOUT_MS as gn,
22160
- LinearIssue as go,
22161
- externalSpan as gp,
22162
- zero as gq,
22163
- fromInput as gr,
22164
- badArgument as gs,
22165
- isSchemaError$1 as gt,
22166
- isNoSuchElementError as gu,
22167
- StackTrace as gv,
22168
- mapEager as gw,
22169
- updateContext as gx,
22170
- makeUnsafe$2 as gy,
22171
- tag as gz,
22255
+ fromReadable as g$,
22256
+ getOrThrow$1 as g0,
22257
+ PullRequestWatch as g1,
22258
+ PullRequestLink as g2,
22259
+ PullRequestStatus as g3,
22260
+ allWatchEventKinds as g4,
22261
+ enabledProviders as g5,
22262
+ transcriptThreadId$1 as g6,
22263
+ resumeGraceMs as g7,
22264
+ fail$2 as g8,
22265
+ WAIT_AGENT_TOOL as g9,
22266
+ updateContext as gA,
22267
+ makeUnsafe$2 as gB,
22268
+ tag as gC,
22269
+ Error$1 as gD,
22270
+ fromInputUnsafe as gE,
22271
+ Path as gF,
22272
+ run$1 as gG,
22273
+ mebibytes as gH,
22274
+ Class$3 as gI,
22275
+ constFalse as gJ,
22276
+ withLogSpan as gK,
22277
+ log as gL,
22278
+ Tracer as gM,
22279
+ nativeTracer as gN,
22280
+ hasInterrupts$1 as gO,
22281
+ succeed$6 as gP,
22282
+ setStackTraceLimit as gQ,
22283
+ fail$3 as gR,
22284
+ getStackTraceLimit as gS,
22285
+ fiberEnterUninterruptibleUnsafe as gT,
22286
+ contA as gU,
22287
+ effectIsExit as gV,
22288
+ closeUnsafe as gW,
22289
+ contE as gX,
22290
+ reportCauseUnsafe as gY,
22291
+ matchCauseEffectEager as gZ,
22292
+ flatMapEager as g_,
22293
+ filter$2 as ga,
22294
+ isMaxLength as gb,
22295
+ schedule as gc,
22296
+ BrowserFrame as gd,
22297
+ PagePick as ge,
22298
+ defaultClientSettings as gf,
22299
+ ClientSettings as gg,
22300
+ parsePairingUrl as gh,
22301
+ pairingUrl as gi,
22302
+ Environment as gj,
22303
+ relayWebSocketUrl as gk,
22304
+ remoteWebSocketUrl as gl,
22305
+ CHALLENGE_WAIT_MS as gm,
22306
+ dialPlan as gn,
22307
+ REMOTE_PROTOCOL_VERSION as go,
22308
+ DIRECT_CHECK_INTERVAL_MS as gp,
22309
+ DIRECT_CHECK_TIMEOUT_MS as gq,
22310
+ LinearIssue as gr,
22311
+ externalSpan as gs,
22312
+ zero as gt,
22313
+ fromInput as gu,
22314
+ badArgument as gv,
22315
+ isSchemaError$1 as gw,
22316
+ isNoSuchElementError as gx,
22317
+ StackTrace as gy,
22318
+ mapEager as gz,
22172
22319
  hasInterruptsOnly as h,
22173
- withDefault$1 as h$,
22174
- toUint8Array as h0,
22175
- WebSocketServer as h1,
22176
- orDie as h2,
22177
- runForEachArray as h3,
22178
- interruptible as h4,
22179
- die$4 as h5,
22180
- merge$2 as h6,
22181
- succeedContext as h7,
22182
- unwrap$3 as h8,
22183
- withFiberSucceed as h9,
22184
- failCause as hA,
22185
- mapEffect as hB,
22186
- onEnd as hC,
22187
- isSchema as hD,
22188
- annotate$1 as hE,
22189
- fail$4 as hF,
22190
- make$2 as hG,
22191
- declare as hH,
22192
- isStream as hI,
22193
- Class3 as hJ,
22194
- Exit as hK,
22195
- provideContext as hL,
22196
- StructWithRest as hM,
22197
- Opaque as hN,
22198
- decodeTo as hO,
22199
- transformOptional as hP,
22200
- flatMap$7 as hQ,
22201
- toType as hR,
22202
- Any2 as hS,
22203
- UndefinedOr as hT,
22204
- Finite as hU,
22205
- passthrough$1 as hV,
22206
- JsonObject as hW,
22207
- Uint8ArrayFromBase64 as hX,
22208
- Json as hY,
22209
- TemplateLiteral2 as hZ,
22210
- decode as h_,
22211
- reverse as ha,
22212
- getOrUndefinedUnsafe as hb,
22213
- CurrentMemoMap as hc,
22214
- fiberEnterInterruptibleUnsafe as hd,
22215
- compose as he,
22216
- Timestamp as hf,
22217
- AutomationTrigger as hg,
22218
- AutomationRun as hh,
22219
- isPolledTrigger as hi,
22220
- launch as hj,
22221
- Duration as hk,
22222
- DateTimeUtc as hl,
22223
- withConstructorDefault as hm,
22224
- withDecodingDefault as hn,
22225
- Redacted as ho,
22226
- Tuple as hp,
22227
- isRedacted as hq,
22228
- MutableJson as hr,
22229
- Never2 as hs,
22230
- toJsonSchemaDocument as ht,
22231
- annotateCurrentSpan as hu,
22232
- isUndefined as hv,
22233
- failCause$2 as hw,
22234
- forkChild as hx,
22235
- catch_ as hy,
22236
- isSchemaError as hz,
22320
+ Json as h$,
22321
+ toArrayBuffer as h0,
22322
+ layer$7 as h1,
22323
+ pipeThroughDuplex as h2,
22324
+ toUint8Array as h3,
22325
+ WebSocketServer as h4,
22326
+ orDie as h5,
22327
+ runForEachArray as h6,
22328
+ interruptible as h7,
22329
+ die$4 as h8,
22330
+ merge$2 as h9,
22331
+ forkChild as hA,
22332
+ catch_ as hB,
22333
+ isSchemaError as hC,
22334
+ failCause as hD,
22335
+ mapEffect as hE,
22336
+ onEnd as hF,
22337
+ isSchema as hG,
22338
+ annotate$1 as hH,
22339
+ fail$4 as hI,
22340
+ make$2 as hJ,
22341
+ declare as hK,
22342
+ isStream as hL,
22343
+ Class3 as hM,
22344
+ Exit as hN,
22345
+ provideContext as hO,
22346
+ StructWithRest as hP,
22347
+ JsonObject as hQ,
22348
+ Opaque as hR,
22349
+ decodeTo as hS,
22350
+ transformOptional as hT,
22351
+ flatMap$7 as hU,
22352
+ toType as hV,
22353
+ Any2 as hW,
22354
+ UndefinedOr as hX,
22355
+ Finite as hY,
22356
+ passthrough$1 as hZ,
22357
+ Uint8ArrayFromBase64 as h_,
22358
+ succeedContext as ha,
22359
+ unwrap$3 as hb,
22360
+ withFiberSucceed as hc,
22361
+ reverse as hd,
22362
+ getOrUndefinedUnsafe as he,
22363
+ CurrentMemoMap as hf,
22364
+ fiberEnterInterruptibleUnsafe as hg,
22365
+ compose as hh,
22366
+ Timestamp as hi,
22367
+ AutomationTrigger as hj,
22368
+ AutomationRun as hk,
22369
+ isPolledTrigger as hl,
22370
+ launch as hm,
22371
+ Duration as hn,
22372
+ DateTimeUtc as ho,
22373
+ withConstructorDefault as hp,
22374
+ withDecodingDefault as hq,
22375
+ Redacted as hr,
22376
+ Tuple as hs,
22377
+ isRedacted as ht,
22378
+ MutableJson as hu,
22379
+ Never2 as hv,
22380
+ toJsonSchemaDocument as hw,
22381
+ annotateCurrentSpan as hx,
22382
+ isUndefined as hy,
22383
+ failCause$2 as hz,
22237
22384
  isEffect as i,
22238
- exponential as i$,
22239
- isBetween as i0,
22240
- take$4 as i1,
22241
- toCodecJson as i2,
22242
- isNullish as i3,
22243
- isString as i4,
22244
- bounded as i5,
22245
- withParentSpan as i6,
22246
- die$3 as i7,
22247
- offerAll as i8,
22248
- interrupt$2 as i9,
22249
- CurrentLogLevel as iA,
22250
- decodeEffect as iB,
22251
- UnknownFromJsonString as iC,
22252
- ignoreCause as iD,
22253
- Class$2 as iE,
22254
- TaggedStruct as iF,
22255
- toEncoded as iG,
22256
- when as iH,
22257
- threadDeviceId as iI,
22258
- devicePlatformOf as iJ,
22259
- runLast as iK,
22260
- fromOption as iL,
22261
- RUN_AGENT_TOOL as iM,
22262
- ARTIFACT_THEME_GUIDE as iN,
22263
- DeviceUrl as iO,
22264
- DeviceApp as iP,
22265
- DeviceButton as iQ,
22266
- WatchEventKind as iR,
22267
- isPattern as iS,
22268
- RelayHostList as iT,
22269
- RelayMachineList as iU,
22270
- GuideGroup as iV,
22271
- PullRequestGuide as iW,
22272
- uninterruptible as iX,
22273
- flatten$4 as iY,
22274
- diskFullness as iZ,
22275
- min as i_,
22276
- interruptors as ia,
22277
- decodeSync as ib,
22278
- catchCauseIf as ic,
22279
- NonEmptyArray as id,
22280
- decode$1 as ie,
22281
- decodeUnknownResult as ig,
22282
- fn as ih,
22283
- isTagged as ii,
22284
- isReadonlyObject as ij,
22285
- IllegalArgumentError2 as ik,
22286
- encode as il,
22287
- collect as im,
22288
- catchDone as io,
22289
- takeAll as ip,
22290
- fromArray as iq,
22291
- whileLoop as ir,
22292
- isExit as is,
22293
- matchEffect as it,
22294
- defaultFormatter as iu,
22295
- logFatal as iv,
22296
- isDeferred as iw,
22297
- hasDies as ix,
22298
- shutdown as iy,
22299
- Scheduler as iz,
22385
+ flatten$4 as i$,
22386
+ TemplateLiteral2 as i0,
22387
+ decode as i1,
22388
+ withDefault$1 as i2,
22389
+ isBetween as i3,
22390
+ take$4 as i4,
22391
+ toCodecJson as i5,
22392
+ isNullish as i6,
22393
+ isString as i7,
22394
+ bounded as i8,
22395
+ withParentSpan as i9,
22396
+ hasDies as iA,
22397
+ shutdown as iB,
22398
+ Scheduler as iC,
22399
+ CurrentLogLevel as iD,
22400
+ decodeEffect as iE,
22401
+ UnknownFromJsonString as iF,
22402
+ ignoreCause as iG,
22403
+ Class$2 as iH,
22404
+ TaggedStruct as iI,
22405
+ toEncoded as iJ,
22406
+ when as iK,
22407
+ threadDeviceId as iL,
22408
+ devicePlatformOf as iM,
22409
+ runLast as iN,
22410
+ fromOption as iO,
22411
+ RUN_AGENT_TOOL as iP,
22412
+ ARTIFACT_THEME_GUIDE as iQ,
22413
+ DeviceUrl as iR,
22414
+ DeviceApp as iS,
22415
+ DeviceButton as iT,
22416
+ WatchEventKind as iU,
22417
+ isPattern as iV,
22418
+ RelayHostList as iW,
22419
+ RelayMachineList as iX,
22420
+ GuideGroup as iY,
22421
+ PullRequestGuide as iZ,
22422
+ uninterruptible as i_,
22423
+ die$3 as ia,
22424
+ offerAll as ib,
22425
+ interrupt$2 as ic,
22426
+ interruptors as id,
22427
+ decodeSync as ie,
22428
+ catchCauseIf as ig,
22429
+ NonEmptyArray as ih,
22430
+ decode$1 as ii,
22431
+ decodeUnknownResult as ij,
22432
+ fn as ik,
22433
+ isTagged as il,
22434
+ isReadonlyObject as im,
22435
+ IllegalArgumentError2 as io,
22436
+ encode as ip,
22437
+ collect as iq,
22438
+ catchDone as ir,
22439
+ takeAll as is,
22440
+ fromArray as it,
22441
+ whileLoop as iu,
22442
+ isExit as iv,
22443
+ matchEffect as iw,
22444
+ defaultFormatter as ix,
22445
+ logFatal as iy,
22446
+ isDeferred as iz,
22300
22447
  toCodecStringTree as j,
22301
- desktopOnlyPushes as j0,
22302
- reachesPhone as j1,
22303
- mutations as j2,
22304
- desktopOnlyMethods as j3,
22305
- isAddressNotUpYet as j4,
22306
- ClientFrame as j5,
22307
- empty$2 as j6,
22308
- BindHost as j7,
22309
- take$2 as j8,
22310
- getAugmentedNamespace as j9,
22311
- make$r as ja,
22312
- NativeSpan as jb,
22313
- currentTimeNanos as jc,
22314
- isPortInUse as jd,
22448
+ diskFullness as j0,
22449
+ pretty as j1,
22450
+ startingProvider as j2,
22451
+ min as j3,
22452
+ exponential as j4,
22453
+ desktopOnlyPushes as j5,
22454
+ reachesPhone as j6,
22455
+ mutations as j7,
22456
+ desktopOnlyMethods as j8,
22457
+ isAddressNotUpYet as j9,
22458
+ ClientFrame as ja,
22459
+ empty$2 as jb,
22460
+ BindHost as jc,
22461
+ take$2 as jd,
22462
+ getAugmentedNamespace as je,
22463
+ make$r as jf,
22464
+ NativeSpan as jg,
22465
+ currentTimeNanos as jh,
22466
+ isPortInUse as ji,
22315
22467
  decodeUnknownEffect as k,
22316
22468
  logError as l,
22317
22469
  identity as m,