@tickernelz/paperclip-pro-adapter-utils 2026.927.4 → 2026.927.5
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"live-stdin-reachability.test.d.ts","sourceRoot":"","sources":["../src/live-stdin-reachability.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import { adapterExecutionTargetSupportsLiveStdin } from "./execution-target.js";
|
|
3
|
+
describe("adapterExecutionTargetSupportsLiveStdin", () => {
|
|
4
|
+
it("allows the local path, including an absent target", () => {
|
|
5
|
+
expect(adapterExecutionTargetSupportsLiveStdin(null)).toBe(true);
|
|
6
|
+
expect(adapterExecutionTargetSupportsLiveStdin(undefined)).toBe(true);
|
|
7
|
+
expect(adapterExecutionTargetSupportsLiveStdin({ kind: "local" })).toBe(true);
|
|
8
|
+
});
|
|
9
|
+
it("allows ssh, which forwards its stdin to the remote command", () => {
|
|
10
|
+
expect(adapterExecutionTargetSupportsLiveStdin({
|
|
11
|
+
kind: "remote",
|
|
12
|
+
transport: "ssh",
|
|
13
|
+
remoteCwd: "/workspace",
|
|
14
|
+
spec: { host: "example.test", port: 22, username: "dev", remoteCwd: "/workspace" },
|
|
15
|
+
})).toBe(true);
|
|
16
|
+
});
|
|
17
|
+
it("refuses sandbox, which receives only a one-shot stdin string", () => {
|
|
18
|
+
expect(adapterExecutionTargetSupportsLiveStdin({
|
|
19
|
+
kind: "remote",
|
|
20
|
+
transport: "sandbox",
|
|
21
|
+
remoteCwd: "/workspace",
|
|
22
|
+
})).toBe(false);
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=live-stdin-reachability.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"live-stdin-reachability.test.js","sourceRoot":"","sources":["../src/live-stdin-reachability.test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clip-pro-adapter-utils",
|
|
3
|
-
"version": "2026.927.
|
|
3
|
+
"version": "2026.927.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://github.com/tickernelz/paperclip-pro",
|
|
6
6
|
"bugs": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"typecheck": "tsc --noEmit"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@tickernelz/paperclip-pro-shared": "2026.927.
|
|
37
|
+
"@tickernelz/paperclip-pro-shared": "2026.927.5",
|
|
38
38
|
"acpx": "0.12.0",
|
|
39
39
|
"picocolors": "^1.1.1"
|
|
40
40
|
},
|