svamp-cli 0.1.36 → 0.1.37
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.mjs
CHANGED
|
@@ -91,7 +91,7 @@ async function main() {
|
|
|
91
91
|
} else if (!subcommand || subcommand === "start") {
|
|
92
92
|
await handleInteractiveCommand();
|
|
93
93
|
} else if (subcommand === "--version" || subcommand === "-v") {
|
|
94
|
-
const pkg = await import('./package-
|
|
94
|
+
const pkg = await import('./package-BK_ln_DQ.mjs').catch(() => ({ default: { version: "unknown" } }));
|
|
95
95
|
console.log(`svamp version: ${pkg.default.version}`);
|
|
96
96
|
} else {
|
|
97
97
|
console.error(`Unknown command: ${subcommand}`);
|
|
@@ -100,7 +100,7 @@ async function main() {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
async function handleInteractiveCommand() {
|
|
103
|
-
const { runInteractive } = await import('./run-
|
|
103
|
+
const { runInteractive } = await import('./run-LXKUEpHX.mjs');
|
|
104
104
|
const interactiveArgs = subcommand === "start" ? args.slice(1) : args;
|
|
105
105
|
let directory = process.cwd();
|
|
106
106
|
let resumeSessionId;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
var name = "svamp-cli";
|
|
2
|
+
var version = "0.1.37";
|
|
3
|
+
var description = "Svamp CLI — AI workspace daemon on Hypha Cloud";
|
|
4
|
+
var author = "Amun AI AB";
|
|
5
|
+
var license = "SEE LICENSE IN LICENSE";
|
|
6
|
+
var type = "module";
|
|
7
|
+
var bin = {
|
|
8
|
+
svamp: "./bin/svamp.mjs"
|
|
9
|
+
};
|
|
10
|
+
var files = [
|
|
11
|
+
"dist",
|
|
12
|
+
"bin"
|
|
13
|
+
];
|
|
14
|
+
var main = "./dist/index.mjs";
|
|
15
|
+
var exports$1 = {
|
|
16
|
+
".": "./dist/index.mjs",
|
|
17
|
+
"./cli": "./dist/cli.mjs"
|
|
18
|
+
};
|
|
19
|
+
var scripts = {
|
|
20
|
+
build: "tsc --noEmit && pkgroll",
|
|
21
|
+
typecheck: "tsc --noEmit",
|
|
22
|
+
"test:hypha": "node --no-warnings test/test-hypha-service.mjs",
|
|
23
|
+
dev: "tsx src/cli.ts",
|
|
24
|
+
"dev:daemon": "tsx src/cli.ts daemon start-sync",
|
|
25
|
+
"test:e2e": "node --no-warnings test/e2e-session-tests.mjs"
|
|
26
|
+
};
|
|
27
|
+
var dependencies = {
|
|
28
|
+
"@agentclientprotocol/sdk": "^0.14.1",
|
|
29
|
+
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
30
|
+
"hypha-rpc": "0.21.20",
|
|
31
|
+
zod: "^3.24.4"
|
|
32
|
+
};
|
|
33
|
+
var devDependencies = {
|
|
34
|
+
"@types/node": ">=20",
|
|
35
|
+
pkgroll: "^2.14.2",
|
|
36
|
+
tsx: "^4.20.6",
|
|
37
|
+
typescript: "5.9.3"
|
|
38
|
+
};
|
|
39
|
+
var packageManager = "yarn@1.22.22";
|
|
40
|
+
var _package = {
|
|
41
|
+
name: name,
|
|
42
|
+
version: version,
|
|
43
|
+
description: description,
|
|
44
|
+
author: author,
|
|
45
|
+
license: license,
|
|
46
|
+
type: type,
|
|
47
|
+
bin: bin,
|
|
48
|
+
files: files,
|
|
49
|
+
main: main,
|
|
50
|
+
exports: exports$1,
|
|
51
|
+
scripts: scripts,
|
|
52
|
+
dependencies: dependencies,
|
|
53
|
+
devDependencies: devDependencies,
|
|
54
|
+
packageManager: packageManager
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export { author, bin, _package as default, dependencies, description, devDependencies, exports$1 as exports, files, license, main, name, packageManager, scripts, type, version };
|
|
@@ -822,6 +822,8 @@ async function runInteractive(options) {
|
|
|
822
822
|
console.log(`\x1B[36mSvamp interactive mode\x1B[0m`);
|
|
823
823
|
if (server && sessionService) {
|
|
824
824
|
console.log(`\x1B[90mSession synced to Hypha \u2014 visible in the web app\x1B[0m`);
|
|
825
|
+
console.log(`\x1B[90mServer: ${serverUrl}\x1B[0m`);
|
|
826
|
+
console.log(`\x1B[90mService ID: ${sessionService.serviceInfo?.id || `svamp-session-${sessionId}`}\x1B[0m`);
|
|
825
827
|
console.log(`\x1B[90mSession ID: ${sessionId.slice(0, 8)}\x1B[0m`);
|
|
826
828
|
}
|
|
827
829
|
console.log("");
|