@openacp/cli 2026.406.2 → 2026.406.4
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/cli.js +43 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -23944,6 +23944,39 @@ var init_system = __esm({
|
|
|
23944
23944
|
}
|
|
23945
23945
|
});
|
|
23946
23946
|
|
|
23947
|
+
// src/core/assistant/sections/remote.ts
|
|
23948
|
+
function createRemoteSection() {
|
|
23949
|
+
return {
|
|
23950
|
+
id: "core:remote",
|
|
23951
|
+
title: "Remote Access",
|
|
23952
|
+
priority: 35,
|
|
23953
|
+
buildContext: () => {
|
|
23954
|
+
return `Generate a one-time remote access link so the user can connect to this OpenACP instance from the app or a browser.
|
|
23955
|
+
|
|
23956
|
+
The link contains a short-lived code (expires in 30 minutes, single-use) that exchanges for a long-lived token.
|
|
23957
|
+
|
|
23958
|
+
Roles:
|
|
23959
|
+
admin \u2014 full control (default)
|
|
23960
|
+
viewer \u2014 read-only access
|
|
23961
|
+
|
|
23962
|
+
The command automatically includes the tunnel URL if a tunnel is active. Without a tunnel, the local link only works on the same machine.
|
|
23963
|
+
|
|
23964
|
+
Always show both the link and QR code when available so the user can choose how to open it.`;
|
|
23965
|
+
},
|
|
23966
|
+
commands: [
|
|
23967
|
+
{ command: "openacp remote", description: "Generate remote access link (admin role, 24h expiry)" },
|
|
23968
|
+
{ command: "openacp remote --role viewer", description: "Generate read-only access link" },
|
|
23969
|
+
{ command: "openacp remote --expire 48h", description: "Generate link with custom expiry" },
|
|
23970
|
+
{ command: "openacp remote --no-qr", description: "Skip QR code output" }
|
|
23971
|
+
]
|
|
23972
|
+
};
|
|
23973
|
+
}
|
|
23974
|
+
var init_remote = __esm({
|
|
23975
|
+
"src/core/assistant/sections/remote.ts"() {
|
|
23976
|
+
"use strict";
|
|
23977
|
+
}
|
|
23978
|
+
});
|
|
23979
|
+
|
|
23947
23980
|
// src/core/assistant/index.ts
|
|
23948
23981
|
var init_assistant2 = __esm({
|
|
23949
23982
|
"src/core/assistant/index.ts"() {
|
|
@@ -23955,6 +23988,7 @@ var init_assistant2 = __esm({
|
|
|
23955
23988
|
init_agents4();
|
|
23956
23989
|
init_config5();
|
|
23957
23990
|
init_system();
|
|
23991
|
+
init_remote();
|
|
23958
23992
|
}
|
|
23959
23993
|
});
|
|
23960
23994
|
|
|
@@ -24219,6 +24253,7 @@ var init_core = __esm({
|
|
|
24219
24253
|
this.assistantRegistry.register(createAgentsSection(this));
|
|
24220
24254
|
this.assistantRegistry.register(createConfigSection(this));
|
|
24221
24255
|
this.assistantRegistry.register(createSystemSection());
|
|
24256
|
+
this.assistantRegistry.register(createRemoteSection());
|
|
24222
24257
|
this.assistantManager = new AssistantManager(this, this.assistantRegistry);
|
|
24223
24258
|
this.lifecycleManager.serviceRegistry.register("menu-registry", this.menuRegistry, "core");
|
|
24224
24259
|
this.lifecycleManager.serviceRegistry.register("assistant-registry", this.assistantRegistry, "core");
|
|
@@ -28844,6 +28879,14 @@ Connect messaging platforms (Telegram, Discord) to 28+ AI coding agents via ACP
|
|
|
28844
28879
|
openacp integrate <agent> --uninstall
|
|
28845
28880
|
openacp adopt <agent> <id> Adopt an external session \x1B[2m[--json]\x1B[0m
|
|
28846
28881
|
|
|
28882
|
+
\x1B[1mRemote Access:\x1B[0m
|
|
28883
|
+
openacp remote Generate one-time remote access link \x1B[2m[--json]\x1B[0m
|
|
28884
|
+
openacp remote --role admin Specify role: admin (default) or viewer
|
|
28885
|
+
openacp remote --expire 48h Set expiry duration (default: 24h)
|
|
28886
|
+
openacp remote --no-tunnel Local link only (skip tunnel URL)
|
|
28887
|
+
openacp remote --no-qr Skip QR code output
|
|
28888
|
+
openacp remote --name <label> Custom token name
|
|
28889
|
+
|
|
28847
28890
|
\x1B[1mTunnels:\x1B[0m
|
|
28848
28891
|
openacp tunnel add <port> [--label name] Create tunnel to local port \x1B[2m[--json]\x1B[0m
|
|
28849
28892
|
openacp tunnel list List active tunnels \x1B[2m[--json]\x1B[0m
|