@cnwenf/occ 2.1.279 → 2.1.280
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 +18 -19
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
globalThis.MACRO={"VERSION":"2.1.
|
|
2
|
+
globalThis.MACRO={"VERSION":"2.1.280","BUILD_TIME":"2026-07-24T09:01:43.886Z","FEEDBACK_CHANNEL":"","ISSUES_EXPLAINER":"","NATIVE_PACKAGE_URL":"","PACKAGE_URL":"@cnwenf/occ","VERSION_CHANGELOG":""};
|
|
3
3
|
// @bun
|
|
4
4
|
var __create = Object.create;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -684818,22 +684818,22 @@ var init_OccWelcome = __esm(() => {
|
|
|
684818
684818
|
jsx_runtime263 = __toESM(require_jsx_runtime(), 1);
|
|
684819
684819
|
OCC_LOGOS = {
|
|
684820
684820
|
wide: normalizeLogo([
|
|
684821
|
-
"
|
|
684822
|
-
"
|
|
684823
|
-
"
|
|
684824
|
-
"
|
|
684825
|
-
"
|
|
684826
|
-
"
|
|
684827
|
-
"
|
|
684821
|
+
"\u259F\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2599",
|
|
684822
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u259B",
|
|
684823
|
+
"\u2588\u2588 ",
|
|
684824
|
+
"\u2588\u2588 ",
|
|
684825
|
+
"\u2588\u2588 ",
|
|
684826
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u259C",
|
|
684827
|
+
"\u259C\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u259B"
|
|
684828
684828
|
]),
|
|
684829
684829
|
compact: normalizeLogo([
|
|
684830
|
-
"
|
|
684831
|
-
"
|
|
684832
|
-
"\
|
|
684833
|
-
"
|
|
684834
|
-
"
|
|
684830
|
+
"\u259F\u2588\u2588\u2588\u2588\u2588\u2588\u2599",
|
|
684831
|
+
"\u2588\u2588 ",
|
|
684832
|
+
"\u2588\u2588 ",
|
|
684833
|
+
"\u2588\u2588 ",
|
|
684834
|
+
"\u259C\u2588\u2588\u2588\u2588\u2588\u2588\u259B"
|
|
684835
684835
|
]),
|
|
684836
|
-
plain: normalizeLogo(["
|
|
684836
|
+
plain: normalizeLogo(["\u259F\u2588\u2588\u2588\u2588\u2599", "\u2588\u2588 ", "\u259C\u2588\u2588\u2588\u2588\u259B"])
|
|
684837
684837
|
};
|
|
684838
684838
|
});
|
|
684839
684839
|
|
|
@@ -812143,7 +812143,7 @@ function registerMcpAddCommand(mcp2) {
|
|
|
812143
812143
|
` + ` claude mcp add --transport http corridor https://app.corridor.dev/api/mcp --header "Authorization: Bearer ..."
|
|
812144
812144
|
|
|
812145
812145
|
` + ` # Add stdio server with environment variables:
|
|
812146
|
-
` + ` claude mcp add -e API_KEY=xxx
|
|
812146
|
+
` + ` claude mcp add my-server -e API_KEY=xxx -- npx my-mcp-server
|
|
812147
812147
|
|
|
812148
812148
|
` + ` # Add stdio server with subprocess flags:
|
|
812149
812149
|
` + " claude mcp add my-server -- my-command --some-flag arg1").option("-s, --scope <scope>", "Configuration scope (local, user, or project)", "local").option("-t, --transport <transport>", "Transport type (stdio, sse, http). Defaults to stdio if not specified.").option("-e, --env <env...>", "Set environment variables (e.g. -e KEY=value)").option("-H, --header <header...>", 'Set WebSocket headers (e.g. -H "X-Api-Key: abc123" -H "X-Custom: value")').option("--client-id <clientId>", "OAuth client ID for HTTP/SSE servers").option("--client-secret", "Prompt for OAuth client secret (or set MCP_CLIENT_SECRET env var)").option("--callback-port <port>", "Fixed port for OAuth callback (for servers requiring pre-registered redirect URIs)").helpOption("-h, --help", "Display help for command").addOption(new Option("--xaa", "Enable XAA (SEP-990) for this server. Requires 'claude mcp xaa setup' first. Also requires --client-id and --client-secret (for the MCP server's AS).").hideHelp(!isXaaEnabled())).action(async (name3, commandOrUrl, args, options) => {
|
|
@@ -825063,9 +825063,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
825063
825063
|
if (feature("UDS_INBOX")) {
|
|
825064
825064
|
program3.addOption(new Option("--messaging-socket-path <path>", "Unix domain socket path for the UDS messaging server (defaults to a tmp path)"));
|
|
825065
825065
|
}
|
|
825066
|
-
|
|
825067
|
-
program3.addOption(new Option("--brief", "Enable SendUserMessage tool for agent-to-user communication"));
|
|
825068
|
-
}
|
|
825066
|
+
program3.addOption(new Option("--brief", "Enable SendUserMessage tool for agent-to-user communication"));
|
|
825069
825067
|
if (feature("KAIROS")) {
|
|
825070
825068
|
program3.addOption(new Option("--assistant", "Force assistant mode (Agent SDK daemon use)").hideHelp());
|
|
825071
825069
|
}
|
|
@@ -825086,8 +825084,9 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
825086
825084
|
program3.addOption(new Option("--daemon-worker <kind>", "Run as a B daemon worker of the given kind (internal)").hideHelp());
|
|
825087
825085
|
program3.addOption(new Option("--teleport [session]", "Resume a teleport session, optionally specify session ID").hideHelp());
|
|
825088
825086
|
program3.addOption(new Option("--remote [description]", "Create a remote session with the given description").hideHelp());
|
|
825087
|
+
program3.addOption(new Option("--remote-control [name]", "Start an interactive session with Remote Control enabled (optionally named)").argParser((value) => value || true));
|
|
825088
|
+
program3.addOption(new Option("--remote-control-session-name-prefix <prefix>", "Prefix for auto-generated Remote Control session names (default: hostname)"));
|
|
825089
825089
|
if (feature("BRIDGE_MODE")) {
|
|
825090
|
-
program3.addOption(new Option("--remote-control [name]", "Start an interactive session with Remote Control enabled (optionally named)").argParser((value) => value || true).hideHelp());
|
|
825091
825090
|
program3.addOption(new Option("--rc [name]", "Alias for --remote-control").argParser((value) => value || true).hideHelp());
|
|
825092
825091
|
}
|
|
825093
825092
|
if (feature("HARD_FAIL")) {
|