@lincyaw/studio 0.2.0-rc.13 → 0.2.0-rc.14

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
@@ -1,17 +1,17 @@
1
1
  # @lincyaw/studio
2
2
 
3
- `presmium studio`: Presmium's workbench in one command. It starts [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (MIT) with Presmium's bundle, [`@lincyaw/dsh`](https://www.npmjs.com/package/@lincyaw/dsh), and the workspace service of a directory (`presmium serve`, from the `presmium` package it depends on), and prints the one address to open in the browser. Experimental (0.x): it installs one exact version of DeepSeek Harness, `0.2.1-alpha.4` (about 865 MB with its dependencies).
3
+ `presmium studio`: Presmium's workbench in one command. It starts [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (MIT) with Presmium's bundle, [`@lincyaw/dsh`](https://www.npmjs.com/package/@lincyaw/dsh), and the workspace service of a directory (`presmium serve`, from its host package `@lincyaw/presmium`), and prints the one address to open in the browser. Experimental (0.x): it installs one exact version of DeepSeek Harness, `0.2.1-alpha.4` (about 865 MB with its dependencies).
4
4
 
5
5
  Part of [Presmium](https://github.com/Lincyaw/presmium), which turns structured teaching documents into web pages, slides, Jupyter notebooks and narrated lectures.
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- pnpm add -g @lincyaw/studio
11
- presmium-studio [dir] [--port <n>] [--host <addr>]
10
+ pnpm add -g @lincyaw/presmium
11
+ presmium studio [dir] [--port <n>] [--host <addr>]
12
12
  ```
13
13
 
14
- In a project with `pnpm add -D @lincyaw/studio`, `pnpm exec presmium studio` is the same command.
14
+ Studio is included with Presmium. In a project with `pnpm add -D @lincyaw/presmium`, use `pnpm exec presmium studio`. The separate `presmium-studio` command remains available when this package is installed directly; `@lincyaw/presmium` is its required peer host.
15
15
 
16
16
  `dir` is a workspace root (`presmium.workspace.yaml`) or a deck's directory, as for `presmium serve`. The workbench listens on 127.0.0.1, port 4320 by default (a free port when that one is in use); `--host <addr>` makes it listen on one address of the machine on the local network instead, with no login.
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lincyaw/studio",
3
- "version": "0.2.0-rc.13",
3
+ "version": "0.2.0-rc.14",
4
4
  "description": "presmium studio: Presmium's workbench on DeepSeek Harness in one command, with the workspace service of a directory (experimental)",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -38,10 +38,12 @@
38
38
  "dependencies": {
39
39
  "@deepseek-ai/dsh": "0.2.1-alpha.4",
40
40
  "jiti": "^2.7.0",
41
- "@lincyaw/dsh": "0.2.0-rc.13",
42
- "@lincyaw/presmium": "1.0.0-rc.14"
41
+ "@lincyaw/dsh": "0.2.0-rc.14"
42
+ },
43
+ "peerDependencies": {
44
+ "@lincyaw/presmium": "^1.0.0-rc.15"
43
45
  },
44
46
  "devDependencies": {
45
- "@lincyaw/cli": "1.0.0-rc.14"
47
+ "@lincyaw/cli": "1.0.0-rc.15"
46
48
  }
47
49
  }
package/src/studio.ts CHANGED
@@ -81,7 +81,7 @@ function installProfile(home: string, bundle: string): string {
81
81
  return name
82
82
  }
83
83
 
84
- /** The `presmium` command of the `@lincyaw/presmium` package this one depends on. */
84
+ /** The `presmium` command of this Studio's host package. */
85
85
  function presmiumBin(): string {
86
86
  return join(dirname(createRequire(join(PACKAGE_DIR, 'package.json')).resolve('@lincyaw/presmium/package.json')), 'bin', 'presmium.mjs')
87
87
  }