@interfere/cli 1.0.0 → 1.3.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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +19 -15
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,9 +1,16 @@
1
1
  {
2
2
  "name": "@interfere/cli",
3
- "version": "1.0.0",
4
- "description": "Command-line access to the Interfere API for developers and coding agents.",
3
+ "version": "1.3.0",
5
4
  "homepage": "https://interfere.com",
6
5
  "license": "MIT",
6
+ "optionalDependencies": {
7
+ "@interfere/cli-darwin-arm64": "1.3.0",
8
+ "@interfere/cli-darwin-x64": "1.3.0",
9
+ "@interfere/cli-linux-arm64": "1.3.0",
10
+ "@interfere/cli-linux-x64": "1.3.0",
11
+ "@interfere/cli-win32-x64": "1.3.0"
12
+ },
13
+ "description": "Command-line access to the Interfere API for developers and coding agents.",
7
14
  "author": "Interfere <support@interfere.com> (https://interfere.com)",
8
15
  "bin": {
9
16
  "interfere": "dist/interfere.mjs"
@@ -17,26 +24,23 @@
17
24
  "access": "public"
18
25
  },
19
26
  "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
27
  "build": "tsdown && cargo build --locked --release",
22
- "typecheck": "tsc --noEmit && cargo fmt --check && cargo clippy --locked --bin interfere --tests -- -D warnings",
23
28
  "test": "cargo test --locked",
24
- "test:wire": "cargo test --locked --manifest-path generated/Cargo.toml --target-dir target --test wire_test"
29
+ "test:wire": "cargo test --locked --manifest-path generated/Cargo.toml --target-dir target --test wire_test",
30
+ "typecheck": "bun check && cargo fmt --check && cargo clippy --locked --bin interfere --tests -- -D warnings",
31
+ "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",
32
+ "version:sync": "bun ../../private/int/src/features/repository/cli-platforms.ts && 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
33
  },
26
34
  "devDependencies": {
27
- "@types/node": "^26.4.1",
35
+ "@types/node": "26.4.1",
28
36
  "fern-api": "https://github.com/skve/fern/releases/download/pr-17949-ffdd423/fern-api-5.143.1-pr.17949.ffdd423.tgz",
29
- "tsdown": "^0.23.0",
30
- "typescript": "^7.0.2"
31
- },
32
- "optionalDependencies": {
33
- "@interfere/cli-darwin-arm64": "1.0.0",
34
- "@interfere/cli-darwin-x64": "1.0.0",
35
- "@interfere/cli-linux-arm64": "1.0.0",
36
- "@interfere/cli-linux-x64": "1.0.0",
37
- "@interfere/cli-win32-x64": "1.0.0"
37
+ "tsdown": "0.23.0",
38
+ "typescript": "7.0.2"
38
39
  },
39
40
  "engines": {
40
41
  "node": ">=20"
42
+ },
43
+ "interfere": {
44
+ "cliSchemaHash": "f98b5451d6e4deb9bf7337222a0a0424021aac91162b6d5c375e5c12af71f313"
41
45
  }
42
46
  }