@hediet/linkrpc-cli 0.0.3-next.20261031.1 → 0.0.3-next.20261102.2

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.
@@ -1,6 +1,6 @@
1
- import { H as withStaticHubReflection, at as walkHubDetailed, dt as connect, et as setupSigning, lt as formatPrincipalSource, nt as fetchSchema, tt as fetchDefaults, yt as validateValueAgainstSchema } from "./runComplete-C__MHMiO.js";
2
- import { _ as formatCondition, a as formatCommandLegend, b as targetId, c as safeTerminalText, d as ObservablePromise, f as observableValue, g as resolveViewTarget, h as Disposable, i as dispatchHostKey, m as derived, n as views, o as hostCommands, p as autorun, r as ViewFrame, s as matchesKey, u as ObservableLazyPromise, v as interfaceTarget, y as matchesTarget } from "./cli-DQr3bq_u.js";
3
- import { n as useObservable, t as useScroll } from "./scroll-B_5Pakou.js";
1
+ import { W as withStaticHubReflection, dt as formatPrincipalSource, it as fetchSchema, nt as setupSigning, pt as connect, rt as fetchDefaults, st as walkHubDetailed, xt as validateValueAgainstSchema } from "./runComplete-BWhPmSgi.js";
2
+ import { _ as formatCondition, a as formatCommandLegend, b as targetId, c as safeTerminalText, d as ObservablePromise, f as observableValue, g as resolveViewTarget, h as Disposable, i as dispatchHostKey, m as derived, n as views, o as hostCommands, p as autorun, r as ViewFrame, s as matchesKey, u as ObservableLazyPromise, v as interfaceTarget, y as matchesTarget } from "./cli-BY9fXhpJ.js";
3
+ import { n as useObservable, t as useScroll } from "./scroll-rkdCKbaP.js";
4
4
  import { ChannelConnector, RpcError, SigningSender } from "@hediet/linkrpc";
5
5
  import { isHubEndpoint, openHubChannel } from "@hediet/linkrpc/node";
6
6
  import { emitKeypressEvents } from "node:readline";
@@ -1593,7 +1593,7 @@ async function runUi(opts) {
1593
1593
  }
1594
1594
  /** Non-Hub endpoints: a single connection, no redial. */
1595
1595
  async function _runUiOnce(endpoint, principalSpec, schema, profile) {
1596
- const conn = await connect(endpoint);
1596
+ const conn = await connect(endpoint, void 0, { cmdEnvLocalHub: profile === "hub" });
1597
1597
  const identity = _isRawEndpoint(endpoint) || profile === "rpc" ? "unsigned (raw endpoint)" : _formatIdentity(await setupSigning(conn.channel, conn.signing, principalSpec, { negotiateHubCaps: false }));
1598
1598
  const model = new UiModel(schema ? withStaticHubReflection(conn.channel, schema) : conn.channel);
1599
1599
  model.identity.set(identity, void 0);
@@ -1686,4 +1686,4 @@ var SwappableSender = class {
1686
1686
  //#endregion
1687
1687
  export { runUi };
1688
1688
 
1689
- //# sourceMappingURL=runUi-CtNlZncr.js.map
1689
+ //# sourceMappingURL=runUi-Dkm-6D6s.js.map