hinacode 0.3.0-alpha.5 → 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.
@@ -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,
@@ -15821,13 +15843,22 @@ const WAIT_AGENT_TOOL = "wait_agent";
15821
15843
  const isRunAgentTool = (name) => name === RUN_AGENT_TOOL || name === `mcp__hinacode__${RUN_AGENT_TOOL}`;
15822
15844
  const PUBLISH_ARTIFACT_TOOL = "publish_artifact";
15823
15845
  const PUBLISH_DOCUMENT_TOOL = "publish_document";
15824
- const publishTools = new Set(
15825
- [PUBLISH_ARTIFACT_TOOL, PUBLISH_DOCUMENT_TOOL].flatMap((name) => [name, `mcp__hinacode__${name}`])
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
+ ])
15826
15856
  );
15827
- const isPublishArtifactTool = (name) => publishTools.has(name);
15828
- const isPublishDocumentTool = (name) => name.endsWith(PUBLISH_DOCUMENT_TOOL) && publishTools.has(name);
15857
+ const publishedKind = (name) => kindOfPublishTool.get(name) ?? null;
15858
+ const isPublishArtifactTool = (name) => kindOfPublishTool.has(name);
15859
+ const isPublishDocumentTool = (name) => publishedKind(name) === "document";
15829
15860
  const publishedArtifact = (result2) => {
15830
- 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) ?? [];
15831
15862
  return id === void 0 ? null : { id, version: Number(version) };
15832
15863
  };
15833
15864
  const publishedArtifactId = (result2) => publishedArtifact(result2)?.id ?? null;
@@ -16508,16 +16539,18 @@ const BindHost = String$1.check(isPattern(/^(?!(?:0\.0\.0\.0|::|::0|\[::\])$)\S+
16508
16539
  const ListenPort = Int.check(isBetween({ minimum: 1, maximum: 65535 }));
16509
16540
  const perProvider = (value2, fallback) => {
16510
16541
  const field = value2.pipe(withDecodingDefaultKey(succeed$3(fallback)));
16511
- return Struct({ claude: field, codex: field, muse: field, opencode: field });
16542
+ return Struct({ claude: field, codex: field, muse: field, opencode: field, magpie: field });
16512
16543
  };
16513
16544
  const eachProvider = (value2) => ({
16514
16545
  claude: value2,
16515
16546
  codex: value2,
16516
16547
  muse: value2,
16517
- opencode: value2
16548
+ opencode: value2,
16549
+ magpie: value2
16518
16550
  });
16519
16551
  const Settings = Struct({
16520
16552
  defaultProvider: ProviderId,
16553
+ providerEnabled: perProvider(Boolean$1, true),
16521
16554
  defaultModel: perProvider(NullOr(String$1), null),
16522
16555
  defaultEffort: perProvider(NullOr(String$1), null),
16523
16556
  defaultFastMode: perProvider(Boolean$1, false),
@@ -16530,6 +16563,9 @@ const Settings = Struct({
16530
16563
  autoCompactTokens: perProvider(NullOr(AutoCompactTokens), null).pipe(
16531
16564
  withDecodingDefaultKey(succeed$3(eachProvider(null)))
16532
16565
  ),
16566
+ providerBinary: perProvider(NullOr(AgentBinary), null).pipe(
16567
+ withDecodingDefaultKey(succeed$3(eachProvider(null)))
16568
+ ),
16533
16569
  automations: Struct({ bindHost: BindHost, port: ListenPort }),
16534
16570
  remote: Struct({ enabled: Boolean$1, bindHost: BindHost, port: ListenPort }),
16535
16571
  textGenerationModel: String$1,
@@ -16542,10 +16578,19 @@ const Settings = Struct({
16542
16578
  archive: ArchiveSettings,
16543
16579
  experimental: ExperimentalSettings,
16544
16580
  worktreeRoot: NullOr(String$1.check(isPattern(/^\//))),
16545
- 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
+ )
16546
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
+ };
16547
16591
  const defaultSettings = {
16548
16592
  defaultProvider: "claude",
16593
+ providerEnabled: eachProvider(true),
16549
16594
  defaultModel: eachProvider(null),
16550
16595
  defaultEffort: eachProvider(null),
16551
16596
  defaultFastMode: eachProvider(false),
@@ -16554,6 +16599,7 @@ const defaultSettings = {
16554
16599
  defaultAccount: eachProvider(null),
16555
16600
  defaultAccountName: eachProvider(null),
16556
16601
  autoCompactTokens: eachProvider(null),
16602
+ providerBinary: eachProvider(null),
16557
16603
  automations: { bindHost: "127.0.0.1", port: 48080 },
16558
16604
  remote: { enabled: false, bindHost: PRIVATE_NETWORKS, port: 48081 },
16559
16605
  textGenerationModel: "claude-sonnet-5-5",
@@ -16571,7 +16617,8 @@ const defaultSettings = {
16571
16617
  tinyVmSetupScript: ""
16572
16618
  },
16573
16619
  worktreeRoot: null,
16574
- actions: []
16620
+ actions: [],
16621
+ magpieEndpoint: null
16575
16622
  };
16576
16623
  const Machine = Struct({
16577
16624
  id: String$1,
@@ -16723,7 +16770,9 @@ const TerminalSession = Struct({
16723
16770
  rows: Number$1,
16724
16771
  status: Literals(["running", "exited"]),
16725
16772
  exitCode: NullOr(Number$1),
16726
- 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)))
16727
16776
  });
16728
16777
  const TerminalOffset = Int.check(isGreaterThanOrEqualTo(0));
16729
16778
  const TerminalAttachment = Struct({
@@ -20558,7 +20607,7 @@ function requireWebsocketServer() {
20558
20607
  var websocketServerExports = requireWebsocketServer();
20559
20608
  const WebSocketServer = /* @__PURE__ */ getDefaultExportFromCjs(websocketServerExports);
20560
20609
  const ArtifactFile = Struct({ path: String$1, type: String$1, size: Number$1 });
20561
- const ArtifactKind = Literals(["page", "document"]);
20610
+ const ArtifactKind = Literals(["page", "document", "whiteboard"]);
20562
20611
  const Artifact = Struct({
20563
20612
  id: String$1,
20564
20613
  kind: optionalKey(ArtifactKind),
@@ -20601,6 +20650,58 @@ const DocumentSaveResult = Union2([
20601
20650
  markdown: String$1
20602
20651
  })
20603
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
+ });
20604
20705
  const THEME_TOKENS = [
20605
20706
  "--background",
20606
20707
  "--foreground",
@@ -20718,6 +20819,7 @@ const RpcMethods = {
20718
20819
  ),
20719
20820
  "device.detach": rpc(Struct({ threadId: String$1, deviceId: NullOr(DeviceId) }), Void2),
20720
20821
  "device.delete": rpc(Struct({ threadId: String$1, deviceId: DeviceId }), Void2),
20822
+ "device.shutdown": rpc(Struct({ threadId: String$1, deviceId: DeviceId }), Void2),
20721
20823
  "device.frame": rpc(
20722
20824
  Struct({
20723
20825
  threadId: String$1,
@@ -20950,6 +21052,15 @@ const RpcMethods = {
20950
21052
  AgentAccount
20951
21053
  ),
20952
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
+ ),
20953
21064
  "agents.update": rpc(Struct({ provider: UpdatableProviderId }), String$1),
20954
21065
  "limits.list": rpc(Void2, ArraySchema(AccountLimits)),
20955
21066
  "accounts.list": rpc(Void2, ArraySchema(AgentProfile)),
@@ -21192,6 +21303,27 @@ const RpcMethods = {
21192
21303
  Struct({ path: String$1 })
21193
21304
  ),
21194
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
+ ),
21195
21327
  "artifacts.rename": rpc(Struct({ id: String$1, title: String$1 }), Artifact),
21196
21328
  "artifacts.setTheme": rpc(ArtifactTheme, Void2),
21197
21329
  "automations.create": rpc(
@@ -21239,6 +21371,7 @@ const methodKind = {
21239
21371
  "device.create": "mutation",
21240
21372
  "device.detach": "mutation",
21241
21373
  "device.delete": "mutation",
21374
+ "device.shutdown": "mutation",
21242
21375
  "device.frame": "read",
21243
21376
  "device.command": "mutation",
21244
21377
  "device.control": "mutation",
@@ -21315,6 +21448,9 @@ const methodKind = {
21315
21448
  "models.list": "read",
21316
21449
  "agents.account": "read",
21317
21450
  "agents.updates": "read",
21451
+ "agents.binaries": "read",
21452
+ "magpie.test": "read",
21453
+ "magpie.saveKey": "mutation",
21318
21454
  "agents.update": "mutation",
21319
21455
  "limits.list": "read",
21320
21456
  "accounts.list": "read",
@@ -21419,6 +21555,12 @@ const methodKind = {
21419
21555
  "artifacts.saveDocument": "mutation",
21420
21556
  "artifacts.addDocumentImage": "mutation",
21421
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",
21422
21564
  "artifacts.rename": "mutation",
21423
21565
  "artifacts.setTheme": "mutation",
21424
21566
  "automations.create": "mutation",
@@ -21539,6 +21681,7 @@ const PushEvent = Union2([
21539
21681
  Struct({ type: Literal2("automation.run"), run: AutomationRun }),
21540
21682
  Struct({ type: Literal2("artifact.updated"), artifact: Artifact }),
21541
21683
  Struct({ type: Literal2("artifact.removed"), id: String$1 }),
21684
+ Struct({ type: Literal2("artifact.feedback"), id: String$1 }),
21542
21685
  Struct({ type: Literal2("artifact.opened"), threadId: String$1, id: String$1 }),
21543
21686
  Struct({
21544
21687
  type: Literal2("terminal.data"),
@@ -21547,6 +21690,7 @@ const PushEvent = Union2([
21547
21690
  data: String$1
21548
21691
  }),
21549
21692
  Struct({ type: Literal2("terminal.exited"), id: String$1, exitCode: NullOr(Number$1) }),
21693
+ Struct({ type: Literal2("terminal.updated"), session: TerminalSession }),
21550
21694
  Struct({ type: Literal2("update.changed") }),
21551
21695
  Struct({ type: Literal2("environment.status"), id: String$1, status: EnvironmentStatus }),
21552
21696
  Struct({ type: Literal2("environments.changed") }),
@@ -21975,7 +22119,7 @@ export {
21975
22119
  normalizeNonEmpty as dy,
21976
22120
  unbounded$1 as dz,
21977
22121
  hasProperty as e,
21978
- retry as e$,
22122
+ Settings as e$,
21979
22123
  logWarning as e0,
21980
22124
  sleep as e1,
21981
22125
  forkDetach as e2,
@@ -21984,334 +22128,339 @@ export {
21984
22128
  decodeUnknownOption as e5,
21985
22129
  Unknown2 as e6,
21986
22130
  toArray as e7,
21987
- minutes as e8,
21988
- cachedWithTTL as e9,
21989
- fromEffectDrain as eA,
21990
- fromIterableEffect as eB,
22131
+ cachedWithTTL as e8,
22132
+ minutes as e9,
22133
+ concat as eA,
22134
+ fromEffectDrain as eB,
21991
22135
  fromEffect as eC,
21992
- suspend as eD,
21993
- unlistedModel as eE,
21994
- tap as eF,
22136
+ fromIterableEffect as eD,
22137
+ suspend as eE,
22138
+ unlistedModel as eF,
21995
22139
  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,
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,
22023
22167
  shutdownUnsafe as eh,
22024
22168
  forkIn as ei,
22025
22169
  fromAsyncIterable as ej,
22026
22170
  runForEach as ek,
22027
22171
  pretty as el,
22028
- ensuring as em,
22029
- currentTimeMillis as en,
22030
- sum as eo,
22031
- CLAUDE_EFFORT_LEVELS as ep,
22172
+ CLAUDE_EFFORT_LEVELS as em,
22173
+ ensuring as en,
22174
+ currentTimeMillis as eo,
22175
+ sum as ep,
22032
22176
  publishedArtifactId as eq,
22033
22177
  PUBLISH_DOCUMENT_TOOL as er,
22034
22178
  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,
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,
22042
22186
  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,
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,
22107
22251
  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,
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,
22172
22316
  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,
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,
22237
22381
  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,
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,
22300
22444
  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,
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,
22315
22464
  decodeUnknownEffect as k,
22316
22465
  logError as l,
22317
22466
  identity as m,