196 Commits

Author SHA1 Message Date
849d14ef68 Fix server command behavior 2025-08-26 12:06:48 -04:00
6796407392 Remove boxen and consistent logs (#301)
* Add eslint errors

- @typescript-eslint/strict-boolean-expressions
- eqeqeq

* Remove boxen

* Remove more boxing (bg) in texts and make error messages more consistent

* Make get interactive as autocomplete instead of list

* Misc log cleanup

* Fix rebasing

* Slight tweak for lms load

---------

Co-authored-by: Will Burford <will@lmstudio.ai>
2025-08-25 13:01:31 -04:00
0e9d1c812c Migrate CLI parsing to commander-js extra-typings (#297) 2025-08-20 14:23:12 -04:00
b8e99a8885 @Release-55 2025-08-14 12:10:36 -04:00
20b00dd82a Update README Contributing instructions (#291) 2025-08-13 18:00:45 -04:00
9d2e5354b4 Refactor start and stop server (#284)
* Refactor start and stop server to use a provider

* Fix circular dependencies

* Actually correct arg

* Bring back port arg

* Edit stop command too

* Addressed comments

* Addressed comments

* Addressed comments
2025-08-06 14:25:55 -04:00
cc71ba91bd @Release-54 2025-07-29 17:00:40 -04:00
5e494e3386 Revert "Environment support for multiple hosts or ports (#278)" (#279)
This reverts commit ecf151cd159188c3e897a38c1649a7b916c29f81.
2025-07-29 13:39:09 -04:00
ecf151cd15 Environment support for multiple hosts or ports (#278)
* Environment support for multiple hosts or ports

* Better error handling

* Minor changes

* Correct handling for local

* Add inspect command

* Address comments

* Address comments more
2025-07-29 13:36:45 -04:00
5b378e826c Check if moveCursor is present - non-tty support (#275)
* Check if moveCursor is present - non-tty support

* Addressed comments
2025-07-22 13:22:12 -04:00
910d38a950 Add an arg to skip confirmation for bootstrap (#268)
* Add an arg to skip confirmation

* Consistent flag name
2025-07-16 11:56:11 -04:00
a7c4d6da05 @Release-53 2025-07-02 15:40:15 -04:00
ab43a816e3 Add .turbo to gitignore (#257) 2025-07-01 17:49:33 -04:00
a25285f217 Open auth URL automatically in browser on login (#256)
* Open auth URL automatically in browser on login

* Pin older version of open for CJS support

* Vendor openUrl

* Remove open dep

* Wrap in try/catch

* Promisify
2025-06-24 13:34:27 -04:00
c301d59419 Enforce node and npm versions (#254)
* Enforce node and npm versions

* Bump to v20
2025-06-23 16:49:09 -04:00
f8c1509c20 Fix GH URL in version command (#255) 2025-06-23 16:49:02 -04:00
3f40e53774 Move development instructions to README and link to CONTRIBUTING (#253) 2025-06-23 13:37:45 -04:00
159dff76cd feat(cli): add --verbose flag to chat command for detailed usage (#238) (#250)
* feat(cli): add --verbose flag to chat command

* Address review comments: add types, rename --verbose to --stats, remove emoji and GPU layers stat

- Add proper types for displayVerboseStats function parameters
- Rename --verbose flag to --stats to avoid conflict with global verbose flag
- Add short flag -t for --stats
- Remove emoji from stats output for cleaner appearance
- Hide numGpuLayers stat as it's not currently populated

* Update src/subcommands/chat.ts

Co-authored-by: Yagil Burowski <yagil@elementlabs.ai>

* Remove short stats flag

* Update Prediction Stats title

* Add second new line ln26

* Remove short stats flag again

---------

Co-authored-by: Yagil Burowski <yagil@elementlabs.ai>
2025-06-20 15:10:38 -04:00
7102ef920d @Release-52 2025-06-17 16:10:23 -04:00
402aaeed33 no longer require flags for lms dev (#242) 2025-06-06 15:40:42 -04:00
9e7dbdc982 @Release-51 2025-06-05 15:35:12 -04:00
00714cfd19 @Release-50 2025-05-30 18:24:25 -04:00
02b3acc423 Allow lms dev to not notify, allow lms push to make private artifacts / write back revision number. (#239)
* Allow lms dev to not notify

* Add flags to make private artifacts / write back revision number

* lms push  --private doc

* Improve lms dev --no-notify message
2025-05-30 17:44:25 -04:00
75841123a6 Prevent lms push from uploading artifacts where the owner is set to "local" (#234) 2025-05-14 18:50:56 -04:00
8b30878a5d Added a command to login with preauthenticated keys to lms login (#231) 2025-05-09 17:00:10 -04:00
bcdfc235ba lms chat (#227)
* first working chat example "lms ask sup" or "lms chat"

* print streaming response instead of waiting until the end

* visual polish

* removed ask alias, chat only. --prompt or -p to provide initial prompt (quits after response). model selection i.e. "lms chat phi-4"

* use existing Chat class for context management, use existing optionalPositional() for model arg

* prettier changes, added types, added quit instructions

* allow combining -p with stdin for processing piped content with a prompt
2025-05-09 15:18:59 -04:00
91bd55686b git push takes description (#229) 2025-05-08 18:42:49 -04:00
282638617a Make push, auth, login public. (#224) 2025-05-01 17:42:16 -04:00
404f99c155 lms get auto lower case (#220) 2025-05-01 14:48:36 -04:00
a8ba4fff38 Get rid of description in artifacts (#219) 2025-04-25 12:48:00 -04:00
cb3a850cfe @Release-49 2025-04-22 17:35:45 -04:00
934e0099e2 lms push show file list (#216) 2025-04-21 16:43:04 -04:00
8e0c64e956 Let lms get download artifacts (#213) 2025-04-18 18:46:54 -04:00
5547dea155 Automatically generate manifest.json when pushing a virtual model (#211) 2025-04-16 15:21:37 -04:00
6ccd579174 Allow artifact name to include dots (#209)
* Allow artifact name to include dots

* Fix name
2025-04-11 16:35:38 -04:00
177824121d Remove hard coded white in lms version command. (#203)
* Remove hard coded white in lms version command.

* Remove as well the '\x1b[0m' reset color code.
2025-04-03 10:44:31 -04:00
88e1c33d1c @Release-48 2025-03-27 12:20:46 -04:00
2b8b51560b Allow settings and view experiment flags (#193) 2025-03-20 15:38:11 -04:00
52c89fa23e @Release-47 2025-03-04 14:28:50 -05:00
3eab0e7c99 @Release-46 2025-03-03 14:00:38 -05:00
7a9698cd4b @Release-45 2025-02-28 15:42:47 -05:00
78f150ceef CLA Assistant bot (#180)
* Add CLA bot

* cleanup
2025-02-26 16:09:41 -05:00
691b0a46d3 Merge pull request #179 from lmstudio-ai/yagil/updated-contributing-md
Update CONTRIBUTING.md
2025-02-26 13:20:14 -05:00
33f7b2ab0c Update CONTRIBUTING.md 2025-02-26 13:19:58 -05:00
ded7ca38f6 Fix lms ps json (#178) 2025-02-26 13:03:01 -05:00
90b739c9e8 Use new ModelInfo types (#166) 2025-02-18 11:33:24 -05:00
e9442252cc List models improvements. (#147)
* List models

* Fix lms-cli
2025-01-28 10:52:53 -05:00
ccf7232c97 @Release-44 2025-01-24 16:57:06 -05:00
0909a748c1 Add ttl option to lms load (#143)
* Add ttl option to lms load

* Update src/subcommands/load.ts

Co-authored-by: Yagil Burowski <yagil@elementlabs.ai>

---------

Co-authored-by: Yagil Burowski <yagil@elementlabs.ai>
2025-01-24 16:47:20 -05:00
39af94c1c1 @Release-43 2025-01-22 13:38:28 -05:00