create-curb.js 1.15.0 → 1.16.0-preview.2
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/RELEASE_NOTES.md +2 -9
- package/bin/create-curb.js +5 -4
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
### Added
|
|
3
3
|
|
|
4
|
-
-
|
|
5
|
-
- Add afterCall and afterEvaluation hooks with a hook runner role (#11)
|
|
6
|
-
- A transfer decides what happens when the person it reached hangs up (#13)
|
|
7
|
-
- Lead AGENTS.md with the browser project and current MCP tool names (#10)
|
|
8
|
-
- Add curb info for bug reports (#18)
|
|
9
|
-
- Override the LiveKit pipeline from a project (#7)
|
|
10
|
-
- Add the curbjs.com website and the full documentation (#2)
|
|
11
|
-
- Bring Curb up to date for development in this repository (#1)
|
|
4
|
+
- Make npm the only way to get and update Curb (#36)
|
|
12
5
|
|
|
13
6
|
|
|
14
7
|
### Fixed
|
|
15
8
|
|
|
16
|
-
-
|
|
9
|
+
- Start curb outside a project from the npm package (#38)
|
|
17
10
|
|
package/bin/create-curb.js
CHANGED
|
@@ -40,10 +40,9 @@ Options:
|
|
|
40
40
|
--stt-model <id> STT model id (provider default otherwise)
|
|
41
41
|
--tts-model <id> TTS model id (provider default otherwise)
|
|
42
42
|
--llm-base-url <url> Endpoint for --llm openai-compatible
|
|
43
|
-
--framework <spec> Dependency spec for the "curb" package (a version
|
|
44
|
-
file:/path
|
|
45
|
-
|
|
46
|
-
matches this package.
|
|
43
|
+
--framework <spec> Dependency spec for the "curb" package (a version or
|
|
44
|
+
file:/path). Defaults to the local framework checkout,
|
|
45
|
+
else the curb.js release that matches this package.
|
|
47
46
|
--skip-install Do not run npm install.
|
|
48
47
|
--skip-git Do not initialize a git repository.
|
|
49
48
|
--yes, -y Accepted and ignored (nothing is asked).
|
|
@@ -133,6 +132,8 @@ if (!frameworkSpec) {
|
|
|
133
132
|
frameworkSpec = repoCheckout ? `file:${localFramework}` : `${CURB_ON_NPM}@${version}`;
|
|
134
133
|
} else if (/^\d/.test(frameworkSpec)) {
|
|
135
134
|
frameworkSpec = `${CURB_ON_NPM}@${frameworkSpec}`;
|
|
135
|
+
} else if (/^https?:/i.test(frameworkSpec)) {
|
|
136
|
+
fail(`--framework takes a version or a file: path, not ${frameworkSpec}: Curb is published to npm only.`);
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
// ------------------------------------------------------------ provider table
|