@somewhere-cloud/cli 0.38.138 → 0.38.141
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/CHANGELOG.md +16 -0
- package/NOTICE.third-party.txt +36 -10
- package/README.md +4 -3
- package/dist/lib/bundle.js +50920 -48464
- package/dist/lib/bundle.js.map +3 -3
- package/npm-shrinkwrap.json +2 -3
- package/package.json +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.38.141
|
|
4
|
+
|
|
5
|
+
- Typecheck keeps the compiler result and exit code when its advisory source scan fails, and reports the source failure in text and JSON.
|
|
6
|
+
|
|
7
|
+
## 0.38.140
|
|
8
|
+
|
|
9
|
+
- Sign-in prints the Claude Code MCP install command when Somewhere is not configured.
|
|
10
|
+
|
|
11
|
+
## 0.38.139
|
|
12
|
+
|
|
13
|
+
- `somewhere typecheck` now reports the same platform source warnings and fixes as `somewhere lint`, alongside TypeScript diagnostics.
|
|
14
|
+
- CLI login leaves your agent's settings alone. When you sign in against another server, the CLI uses that server's instructions.
|
|
15
|
+
- `somewhere run` and `somewhere run check` explain the single-file limit and flag relative imports when TypeScript is installed in the project.
|
|
16
|
+
- The package installs the `somewhere` and `sw` commands. Update scripts that invoke the removed `cli` executable to use `somewhere`.
|
|
17
|
+
- Updated CLI dependencies, including the MCP SDK, HTTP client and archive tooling.
|
|
18
|
+
|
|
3
19
|
## 0.38.138
|
|
4
20
|
|
|
5
21
|
- `somewhere typecheck` knows `appOwner()` in db/schema.ts, and `user.is_owner` on the signed-in user in functions and `sw.endpoint` handlers.
|
package/NOTICE.third-party.txt
CHANGED
|
@@ -24,7 +24,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
24
24
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
25
25
|
THE SOFTWARE.
|
|
26
26
|
|
|
27
|
-
=== @modelcontextprotocol/sdk@1.
|
|
27
|
+
=== @modelcontextprotocol/sdk@1.32.2 (MIT) ===
|
|
28
28
|
|
|
29
29
|
LICENSE
|
|
30
30
|
MIT License
|
|
@@ -1503,7 +1503,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
1503
1503
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1504
1504
|
SOFTWARE.
|
|
1505
1505
|
|
|
1506
|
-
=== brace-expansion@5.0.
|
|
1506
|
+
=== brace-expansion@5.0.13 (MIT) ===
|
|
1507
1507
|
|
|
1508
1508
|
LICENSE
|
|
1509
1509
|
MIT License
|
|
@@ -1601,6 +1601,32 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
1601
1601
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1602
1602
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1603
1603
|
|
|
1604
|
+
=== content-type@1.0.5 (MIT) ===
|
|
1605
|
+
|
|
1606
|
+
LICENSE
|
|
1607
|
+
(The MIT License)
|
|
1608
|
+
|
|
1609
|
+
Copyright (c) 2015 Douglas Christopher Wilson
|
|
1610
|
+
|
|
1611
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
1612
|
+
a copy of this software and associated documentation files (the
|
|
1613
|
+
'Software'), to deal in the Software without restriction, including
|
|
1614
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
1615
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
1616
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
1617
|
+
the following conditions:
|
|
1618
|
+
|
|
1619
|
+
The above copyright notice and this permission notice shall be
|
|
1620
|
+
included in all copies or substantial portions of the Software.
|
|
1621
|
+
|
|
1622
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
1623
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
1624
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1625
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
1626
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
1627
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1628
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1629
|
+
|
|
1604
1630
|
=== debug@4.4.3 (MIT) ===
|
|
1605
1631
|
|
|
1606
1632
|
LICENSE
|
|
@@ -1674,7 +1700,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
1674
1700
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1675
1701
|
SOFTWARE.
|
|
1676
1702
|
|
|
1677
|
-
=== fast-uri@3.1.
|
|
1703
|
+
=== fast-uri@3.1.9 (BSD-3-Clause) ===
|
|
1678
1704
|
|
|
1679
1705
|
LICENSE
|
|
1680
1706
|
Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
|
|
@@ -1727,7 +1753,7 @@ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
1727
1753
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
1728
1754
|
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
1729
1755
|
|
|
1730
|
-
=== glob@13.0.
|
|
1756
|
+
=== glob@13.0.7 (BlueOak-1.0.0) ===
|
|
1731
1757
|
|
|
1732
1758
|
LICENSE.md
|
|
1733
1759
|
All packages under `src/` are licensed according to the terms in
|
|
@@ -1859,7 +1885,7 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
1859
1885
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1860
1886
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1861
1887
|
|
|
1862
|
-
=== iconv-lite@0.7.
|
|
1888
|
+
=== iconv-lite@0.7.3 (MIT) ===
|
|
1863
1889
|
|
|
1864
1890
|
LICENSE
|
|
1865
1891
|
Copyright (c) 2011 Alexander Shtuchkin
|
|
@@ -1883,7 +1909,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
1883
1909
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
1884
1910
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1885
1911
|
|
|
1886
|
-
=== ip-address@10.
|
|
1912
|
+
=== ip-address@10.7.6 (MIT) ===
|
|
1887
1913
|
|
|
1888
1914
|
LICENSE
|
|
1889
1915
|
Copyright (C) 2011 by Beau Gunderson
|
|
@@ -2035,7 +2061,7 @@ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
|
2035
2061
|
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
|
|
2036
2062
|
USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
2037
2063
|
|
|
2038
|
-
=== minimatch@10.2.
|
|
2064
|
+
=== minimatch@10.2.6 (BlueOak-1.0.0) ===
|
|
2039
2065
|
|
|
2040
2066
|
LICENSE.md
|
|
2041
2067
|
# Blue Oak Model License
|
|
@@ -2898,7 +2924,7 @@ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
|
2898
2924
|
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
|
|
2899
2925
|
USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
2900
2926
|
|
|
2901
|
-
=== tar@7.5.
|
|
2927
|
+
=== tar@7.5.23 (BlueOak-1.0.0) ===
|
|
2902
2928
|
|
|
2903
2929
|
LICENSE.md
|
|
2904
2930
|
# Blue Oak Model License
|
|
@@ -2982,7 +3008,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
2982
3008
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2983
3009
|
SOFTWARE.
|
|
2984
3010
|
|
|
2985
|
-
=== undici@8.
|
|
3011
|
+
=== undici@8.13.1 (MIT) ===
|
|
2986
3012
|
|
|
2987
3013
|
LICENSE
|
|
2988
3014
|
MIT License
|
|
@@ -3007,7 +3033,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
3007
3033
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3008
3034
|
SOFTWARE.
|
|
3009
3035
|
|
|
3010
|
-
=== zod@4.
|
|
3036
|
+
=== zod@4.6.7 (MIT) ===
|
|
3011
3037
|
|
|
3012
3038
|
LICENSE
|
|
3013
3039
|
MIT License
|
package/README.md
CHANGED
|
@@ -60,6 +60,8 @@ somewhere logs --follow # Stream logs
|
|
|
60
60
|
somewhere open # Open in browser
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
+
To use the Somewhere MCP tools in Claude Code, run `somewhere mcp install claude-code` after signing in. Reload Claude Code to make the tools available.
|
|
64
|
+
|
|
63
65
|
New starters record the CLI version in `package.json` under
|
|
64
66
|
`somewhere.cli_version`. Use `somewhere` or `npx -y @somewhere-cloud/cli` in
|
|
65
67
|
the project. The pinned version runs from npm’s cache when needed. `somewhere
|
|
@@ -108,7 +110,7 @@ For optional after-edit checking, explicitly run `somewhere hooks install --host
|
|
|
108
110
|
| `somewhere git status` | Show connected repo, commit, deploy status, logs link, and live URL |
|
|
109
111
|
| `somewhere git disconnect` | Stop push-to-deploy; the currently deployed site stays live |
|
|
110
112
|
| `somewhere pull` | Download a project's live deployed source + scaffold tsconfig/package.json for local typechecking |
|
|
111
|
-
| `somewhere typecheck` |
|
|
113
|
+
| `somewhere typecheck` | Checks the project with `tsc --noEmit` and reports advisory platform source warnings with a suggested fix. Install the project dependencies first. If TypeScript is absent, the CLI tells you before fetching it through npm. |
|
|
112
114
|
| `somewhere logs` | Show recent logs |
|
|
113
115
|
| `somewhere logs --follow` | Stream logs in real-time |
|
|
114
116
|
| `somewhere logs --level error` | Filter by level |
|
|
@@ -138,8 +140,7 @@ Short alias: `sw` works everywhere `somewhere` does.
|
|
|
138
140
|
approve the code. Use `--browser-callback` for Google sign-in with a localhost
|
|
139
141
|
callback. Credentials are saved in `~/.somewhere/config.json` with mode 600.
|
|
140
142
|
|
|
141
|
-
|
|
142
|
-
stdio bridge (`somewhere mcp`). The bridge reads the saved credentials when it
|
|
143
|
+
To connect Claude Code, run `somewhere mcp install claude-code`. The command registers the stdio bridge (`somewhere mcp`). The bridge reads the saved credentials when it
|
|
143
144
|
starts. Refreshable credentials can renew automatically; if renewal fails,
|
|
144
145
|
follow the reported sign-in instructions.
|
|
145
146
|
|