@hasna/conversations 0.2.48 → 0.2.49
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/bin/index.js +19 -1
- package/bin/mcp.js +19 -1
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -15538,7 +15538,7 @@ var init_space_notifications = __esm(() => {
|
|
|
15538
15538
|
var require_package = __commonJS((exports, module) => {
|
|
15539
15539
|
module.exports = {
|
|
15540
15540
|
name: "@hasna/conversations",
|
|
15541
|
-
version: "0.2.
|
|
15541
|
+
version: "0.2.49",
|
|
15542
15542
|
description: "Real-time CLI messaging for AI agents",
|
|
15543
15543
|
type: "module",
|
|
15544
15544
|
bin: {
|
|
@@ -49749,6 +49749,24 @@ async function startMcpServer() {
|
|
|
49749
49749
|
}
|
|
49750
49750
|
async function main() {
|
|
49751
49751
|
const args = process.argv.slice(2);
|
|
49752
|
+
if (args.includes("--help") || args.includes("-h")) {
|
|
49753
|
+
console.log(`conversations-mcp \u2014 MCP server for @hasna/conversations v${import__package2.default.version}
|
|
49754
|
+
|
|
49755
|
+
Usage:
|
|
49756
|
+
conversations-mcp stdio transport (default)
|
|
49757
|
+
conversations-mcp --http Streamable HTTP on 127.0.0.1:8811
|
|
49758
|
+
conversations-mcp --http --port <n>
|
|
49759
|
+
|
|
49760
|
+
Environment:
|
|
49761
|
+
MCP_HTTP=1 Enable HTTP mode
|
|
49762
|
+
MCP_HTTP_PORT=<n> Override default port (8811)
|
|
49763
|
+
`);
|
|
49764
|
+
return;
|
|
49765
|
+
}
|
|
49766
|
+
if (args.includes("--version") || args.includes("-V")) {
|
|
49767
|
+
console.log(import__package2.default.version);
|
|
49768
|
+
return;
|
|
49769
|
+
}
|
|
49752
49770
|
if (isHttpMode(args)) {
|
|
49753
49771
|
startMcpHttpServer({
|
|
49754
49772
|
name: "conversations",
|
package/bin/mcp.js
CHANGED
|
@@ -46889,7 +46889,7 @@ function startMcpHttpServer(options) {
|
|
|
46889
46889
|
// package.json
|
|
46890
46890
|
var package_default = {
|
|
46891
46891
|
name: "@hasna/conversations",
|
|
46892
|
-
version: "0.2.
|
|
46892
|
+
version: "0.2.49",
|
|
46893
46893
|
description: "Real-time CLI messaging for AI agents",
|
|
46894
46894
|
type: "module",
|
|
46895
46895
|
bin: {
|
|
@@ -47010,6 +47010,24 @@ async function startMcpServer() {
|
|
|
47010
47010
|
var isDirectRun = import.meta.url === `file://${process.argv[1]}` || process.argv[1]?.endsWith("mcp.js") || process.argv[1]?.endsWith("mcp.ts");
|
|
47011
47011
|
async function main() {
|
|
47012
47012
|
const args = process.argv.slice(2);
|
|
47013
|
+
if (args.includes("--help") || args.includes("-h")) {
|
|
47014
|
+
console.log(`conversations-mcp \u2014 MCP server for @hasna/conversations v${package_default.version}
|
|
47015
|
+
|
|
47016
|
+
Usage:
|
|
47017
|
+
conversations-mcp stdio transport (default)
|
|
47018
|
+
conversations-mcp --http Streamable HTTP on 127.0.0.1:8811
|
|
47019
|
+
conversations-mcp --http --port <n>
|
|
47020
|
+
|
|
47021
|
+
Environment:
|
|
47022
|
+
MCP_HTTP=1 Enable HTTP mode
|
|
47023
|
+
MCP_HTTP_PORT=<n> Override default port (8811)
|
|
47024
|
+
`);
|
|
47025
|
+
return;
|
|
47026
|
+
}
|
|
47027
|
+
if (args.includes("--version") || args.includes("-V")) {
|
|
47028
|
+
console.log(package_default.version);
|
|
47029
|
+
return;
|
|
47030
|
+
}
|
|
47013
47031
|
if (isHttpMode(args)) {
|
|
47014
47032
|
startMcpHttpServer({
|
|
47015
47033
|
name: "conversations",
|