@interfere/cli 1.0.0 → 1.1.0
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/README.md +8 -0
- package/package.json +16 -12
package/README.md
CHANGED
|
@@ -11,6 +11,14 @@ interfere problems list
|
|
|
11
11
|
|
|
12
12
|
The CLI opens your browser for sign-in and organization selection. Authentication uses PKCE and stores credentials in your operating system's credential store. Linux static builds use a file restricted to your user. Expired access tokens refresh automatically.
|
|
13
13
|
|
|
14
|
+
## Sign in without a browser
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
interfere login --device
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Device sign-in prints a one-time code and a URL. Open the URL from any browser, enter the code, and the CLI finishes signing in on its own. `interfere login` and `interfere auth login` choose device sign-in automatically over SSH, in CI, or on Linux without a display; pass `--no-browser` to print the URL instead of opening it. Device sign-in stores the same credential as browser sign-in, so every later command works the same way. Device sign-in must be enabled on the Interfere OAuth application; until it is, the CLI says so and points back to browser sign-in or `INTERFERE_ACCESS_TOKEN`.
|
|
21
|
+
|
|
14
22
|
## Discover commands
|
|
15
23
|
|
|
16
24
|
```sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interfere/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Command-line access to the Interfere API for developers and coding agents.",
|
|
5
5
|
"homepage": "https://interfere.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,26 +17,30 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"typegen": "fern generate --local --force && yq -i '.package.version = strenv(npm_package_version)' Cargo.toml && yq -i '.package.version = strenv(npm_package_version)' generated/Cargo.toml && cargo update --workspace && cargo update --manifest-path generated/Cargo.toml --workspace",
|
|
21
20
|
"build": "tsdown && cargo build --locked --release",
|
|
22
|
-
"typecheck": "tsc --noEmit && cargo fmt --check && cargo clippy --locked --bin interfere --tests -- -D warnings",
|
|
23
21
|
"test": "cargo test --locked",
|
|
24
|
-
"test:wire": "cargo test --locked --manifest-path generated/Cargo.toml --target-dir target --test wire_test"
|
|
22
|
+
"test:wire": "cargo test --locked --manifest-path generated/Cargo.toml --target-dir target --test wire_test",
|
|
23
|
+
"typecheck": "bun check && cargo fmt --check && cargo clippy --locked --bin interfere --tests -- -D warnings",
|
|
24
|
+
"typegen": "fern generate --local --force && yq -i '.package.version = strenv(npm_package_version)' Cargo.toml && yq -i '.package.version = strenv(npm_package_version)' generated/Cargo.toml && yq -i '.lib.path = (.lib.path // \"src/lib.rs\") | ... comments = \"\"' generated/Cargo.toml && yq -i '.lib.path = (.lib.path // \"src/lib.rs\") | ... comments = \"\"' generated/interfere-sdk/Cargo.toml && yq -i '.lib.path = (.lib.path // \"src/lib.rs\") | ... comments = \"\"' generated/interfere-types/Cargo.toml && oxfmt generated/Cargo.toml generated/interfere-sdk/Cargo.toml generated/interfere-types/Cargo.toml && cargo update --workspace && cargo update --manifest-path generated/Cargo.toml --workspace",
|
|
25
|
+
"version:sync": "yq -i '.package.version = load(\"package.json\").version' Cargo.toml && yq -i '.package.version = load(\"package.json\").version' generated/Cargo.toml && oxfmt Cargo.toml generated/Cargo.toml"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
|
-
"@types/node": "
|
|
28
|
+
"@types/node": "26.4.1",
|
|
28
29
|
"fern-api": "https://github.com/skve/fern/releases/download/pr-17949-ffdd423/fern-api-5.143.1-pr.17949.ffdd423.tgz",
|
|
29
|
-
"tsdown": "
|
|
30
|
-
"typescript": "
|
|
30
|
+
"tsdown": "0.23.0",
|
|
31
|
+
"typescript": "7.0.2"
|
|
31
32
|
},
|
|
32
33
|
"optionalDependencies": {
|
|
33
|
-
"@interfere/cli-darwin-arm64": "1.
|
|
34
|
-
"@interfere/cli-darwin-x64": "1.
|
|
35
|
-
"@interfere/cli-linux-arm64": "1.
|
|
36
|
-
"@interfere/cli-linux-x64": "1.
|
|
37
|
-
"@interfere/cli-win32-x64": "1.
|
|
34
|
+
"@interfere/cli-darwin-arm64": "1.1.0",
|
|
35
|
+
"@interfere/cli-darwin-x64": "1.1.0",
|
|
36
|
+
"@interfere/cli-linux-arm64": "1.1.0",
|
|
37
|
+
"@interfere/cli-linux-x64": "1.1.0",
|
|
38
|
+
"@interfere/cli-win32-x64": "1.1.0"
|
|
38
39
|
},
|
|
39
40
|
"engines": {
|
|
40
41
|
"node": ">=20"
|
|
42
|
+
},
|
|
43
|
+
"interfere": {
|
|
44
|
+
"cliSchemaHash": "dd26f9f3954ca3ec0bb3afe4e43bd5cf8423609244260e6a96104d2e677e36e8"
|
|
41
45
|
}
|
|
42
46
|
}
|