@openacp/cli 2026.406.2 → 2026.406.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -15822,6 +15822,34 @@ function createSystemSection() {
15822
15822
  };
15823
15823
  }
15824
15824
 
15825
+ // src/core/assistant/sections/remote.ts
15826
+ function createRemoteSection() {
15827
+ return {
15828
+ id: "core:remote",
15829
+ title: "Remote Access",
15830
+ priority: 35,
15831
+ buildContext: () => {
15832
+ return `Generate a one-time remote access link so the user can connect to this OpenACP instance from the app or a browser.
15833
+
15834
+ The link contains a short-lived code (expires in 30 minutes, single-use) that exchanges for a long-lived token.
15835
+
15836
+ Roles:
15837
+ admin \u2014 full control (default)
15838
+ viewer \u2014 read-only access
15839
+
15840
+ The command automatically includes the tunnel URL if a tunnel is active. Without a tunnel, the local link only works on the same machine.
15841
+
15842
+ Always show both the link and QR code when available so the user can choose how to open it.`;
15843
+ },
15844
+ commands: [
15845
+ { command: "openacp remote", description: "Generate remote access link (admin role, 24h expiry)" },
15846
+ { command: "openacp remote --role viewer", description: "Generate read-only access link" },
15847
+ { command: "openacp remote --expire 48h", description: "Generate link with custom expiry" },
15848
+ { command: "openacp remote --no-qr", description: "Skip QR code output" }
15849
+ ]
15850
+ };
15851
+ }
15852
+
15825
15853
  // src/core/menu/core-items.ts
15826
15854
  function registerCoreMenuItems(registry) {
15827
15855
  registry.register({
@@ -16052,6 +16080,7 @@ var OpenACPCore = class {
16052
16080
  this.assistantRegistry.register(createAgentsSection(this));
16053
16081
  this.assistantRegistry.register(createConfigSection(this));
16054
16082
  this.assistantRegistry.register(createSystemSection());
16083
+ this.assistantRegistry.register(createRemoteSection());
16055
16084
  this.assistantManager = new AssistantManager(this, this.assistantRegistry);
16056
16085
  this.lifecycleManager.serviceRegistry.register("menu-registry", this.menuRegistry, "core");
16057
16086
  this.lifecycleManager.serviceRegistry.register("assistant-registry", this.assistantRegistry, "core");