@putdotio/cli 1.0.1 → 1.0.3

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 CHANGED
@@ -40,32 +40,33 @@ npm install --global @putdotio/cli
40
40
 
41
41
  This path requires Node `24.14+`.
42
42
 
43
- Install manually from GitHub Releases if you prefer to handle the binary yourself or you are on Windows:
43
+ Install manually from GitHub Releases if you prefer to handle the archive yourself or you are on Windows:
44
44
 
45
45
  1. Download the matching asset from [GitHub Releases](https://github.com/putdotio/putio-cli/releases/latest).
46
46
  2. Download the matching `.sha256` file for that asset.
47
47
  3. Verify the checksum.
48
- 4. Mark the binary executable on macOS/Linux and place it on your `PATH`.
48
+ 4. Extract the archive and place `putio` on your `PATH`.
49
49
 
50
50
  Example asset names:
51
51
 
52
- - `putio-darwin-arm64`
53
- - `putio-linux-x64`
54
- - `putio-win32-x64.exe`
52
+ - `putio-cli-1.0.2-darwin-arm64.tar.gz`
53
+ - `putio-cli-1.0.2-linux-amd64.tar.gz`
54
+ - `putio-cli-1.0.2-windows-amd64.zip`
55
55
 
56
56
  Verify a release binary on macOS or Linux:
57
57
 
58
58
  ```bash
59
- shasum -a 256 -c putio-linux-x64.sha256
60
- chmod +x putio-linux-x64
61
- mv putio-linux-x64 /usr/local/bin/putio
59
+ shasum -a 256 -c putio-cli-1.0.2-linux-amd64.tar.gz.sha256
60
+ tar -xzf putio-cli-1.0.2-linux-amd64.tar.gz
61
+ chmod +x putio
62
+ mv putio /usr/local/bin/putio
62
63
  ```
63
64
 
64
65
  Verify a release binary on Windows PowerShell:
65
66
 
66
67
  ```powershell
67
- $expected = (Get-Content .\putio-win32-x64.exe.sha256).Split()[0]
68
- $actual = (Get-FileHash .\putio-win32-x64.exe -Algorithm SHA256).Hash.ToLower()
68
+ $expected = (Get-Content .\putio-cli-1.0.2-windows-amd64.zip.sha256).Split()[0]
69
+ $actual = (Get-FileHash .\putio-cli-1.0.2-windows-amd64.zip -Algorithm SHA256).Hash.ToLower()
69
70
  if ($actual -ne $expected) { throw "Checksum mismatch" }
70
71
  ```
71
72
 
package/dist/bin.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { A as translate, C as CliOutput, D as CliConfigLive, E as renderJson, O as CliRuntime, S as CliSdkLive, T as detectOutputModeFromArgv, a as searchCommand, c as brandCommand, i as filesCommand, j as version, k as CliRuntimeLive, l as versionCommand, m as CliStateLive, n as whoamiCommand, o as eventsCommand, r as transfersCommand, s as downloadLinksCommand, t as describeCli, u as makeAuthCommand, w as CliOutputLive } from "./metadata-C1rESM1p.mjs";
2
+ import { A as translate, C as CliOutput, D as CliConfigLive, E as renderJson, O as CliRuntime, S as CliSdkLive, T as detectOutputModeFromArgv, a as searchCommand, c as brandCommand, i as filesCommand, j as version, k as CliRuntimeLive, l as versionCommand, m as CliStateLive, n as whoamiCommand, o as eventsCommand, r as transfersCommand, s as downloadLinksCommand, t as describeCli, u as makeAuthCommand, w as CliOutputLive } from "./metadata-CzLOa5IP.mjs";
3
3
  import { Cause, Console, Effect, Layer } from "effect";
4
4
  import { Command } from "@effect/cli";
5
5
  import { NodeContext, NodeRuntime } from "@effect/platform-node";
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as clearPersistedState, b as resolveAuthState, d as AuthStateError, f as AuthStatusSchema, g as ResolvedAuthStateSchema, h as PutioCliConfigSchema, m as CliStateLive, p as CliState, t as describeCli, v as getAuthStatus, x as savePersistedState, y as loadPersistedState } from "./metadata-C1rESM1p.mjs";
1
+ import { _ as clearPersistedState, b as resolveAuthState, d as AuthStateError, f as AuthStatusSchema, g as ResolvedAuthStateSchema, h as PutioCliConfigSchema, m as CliStateLive, p as CliState, t as describeCli, v as getAuthStatus, x as savePersistedState, y as loadPersistedState } from "./metadata-CzLOa5IP.mjs";
2
2
  export { AuthStateError, AuthStatusSchema, CliState, CliStateLive, PutioCliConfigSchema, ResolvedAuthStateSchema, clearPersistedState, describeCli, getAuthStatus, loadPersistedState, resolveAuthState, savePersistedState };
@@ -13,7 +13,7 @@ import * as FileSystem from "@effect/platform/FileSystem";
13
13
  import { SystemError } from "@effect/platform/Error";
14
14
  //#region package.json
15
15
  var name = "@putdotio/cli";
16
- var version = "1.0.1";
16
+ var version = "1.0.3";
17
17
  //#endregion
18
18
  //#region src/i18n/translate.ts
19
19
  const resources = { en: { translation: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putdotio/cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Agent-first CLI for the put.io API.",
5
5
  "homepage": "https://github.com/putdotio/putio-cli#readme",
6
6
  "bugs": {
@@ -32,7 +32,6 @@
32
32
  "build": "vp pack",
33
33
  "build:sea": "node ./scripts/build-sea.mjs",
34
34
  "check": "vp check .",
35
- "checksums:sea": "node ./scripts/write-sea-checksums.mjs",
36
35
  "coverage": "vitest run --coverage",
37
36
  "dev": "vp pack --watch",
38
37
  "smoke:pack": "node ./scripts/smoke-packed-install.mjs",