@madewithremy/admin 0.1.58 → 0.1.60
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 +20 -0
- package/dist/index.js +0 -8
- package/dist/index.js.map +3 -3
- package/dist/ops/dataSources.d.ts +3 -3
- package/dist/ops/secrets.d.ts +6 -14
- package/dist/prod.js +37 -38
- package/dist/types/secrets.d.ts +0 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,26 @@ What changed in `@madewithremy/admin`, newest first, each version under its own
|
|
|
4
4
|
|
|
5
5
|
Versions before 0.1.44 aren't recorded here.
|
|
6
6
|
|
|
7
|
+
## 0.1.60
|
|
8
|
+
|
|
9
|
+
### New
|
|
10
|
+
|
|
11
|
+
- A data source's model settings keep a route pin: `--embedding-model`, `--extraction-model`, `--contextual-model`, `--image-model` and `--rerank-model` each take `model@routeKey` (`text-embedding-3-large@openai`), and `datasources config` shows the pin as stored. Before, the api dropped the pin from every model but the reranker and stored the bare id, which routes automatically. `datasources --help` says how a pin behaves.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- `datasources --help` said extraction caches survive a delete. A document's extracted text goes once no document in the app holds the same bytes, and dropping a version deletes the extracted text of any model no other version uses. The help, and `admin.dataSources.deleteSource`'s docs, say so now.
|
|
16
|
+
|
|
17
|
+
### Changed behavior
|
|
18
|
+
|
|
19
|
+
- A route the model doesn't declare is refused with `model_route_unavailable` (400), and `--rerank-model` refuses a model that doesn't rerank with `rerank_model_invalid` (422), on `config` and on `eval run`. Both were accepted before: an ingest model's pin was dropped, and a bad reranker left every search unreranked. Check for: a script that passed a pin or a reranker the model can't take, which now fails where it used to be ignored.
|
|
20
|
+
|
|
21
|
+
## 0.1.59
|
|
22
|
+
|
|
23
|
+
### Changed behavior
|
|
24
|
+
|
|
25
|
+
- Secret values are write-only. `remy-admin secrets get` and `admin.secrets.get` are gone, and so is the api route behind them, so an older version's `get` answers 404. `secrets list` still says which environments have a value, and `secrets set` replaces one. An app's code still reads its secrets as environment variables. Check for: a script or method that read a value back through `get`, which now has to keep its own copy or be given the value another way.
|
|
26
|
+
|
|
7
27
|
## 0.1.58
|
|
8
28
|
|
|
9
29
|
### Changed behavior
|
package/dist/index.js
CHANGED
|
@@ -3020,7 +3020,6 @@ function statsForMethod(ctx, methodId, params = {}) {
|
|
|
3020
3020
|
var secrets_exports = {};
|
|
3021
3021
|
__export(secrets_exports, {
|
|
3022
3022
|
del: () => del2,
|
|
3023
|
-
get: () => get11,
|
|
3024
3023
|
list: () => list14,
|
|
3025
3024
|
set: () => set2
|
|
3026
3025
|
});
|
|
@@ -3031,13 +3030,6 @@ function list14(ctx) {
|
|
|
3031
3030
|
`/_internal/v2/apps/${ctx.appId}/secrets`
|
|
3032
3031
|
);
|
|
3033
3032
|
}
|
|
3034
|
-
function get11(ctx, key) {
|
|
3035
|
-
return call(
|
|
3036
|
-
ctx,
|
|
3037
|
-
"GET",
|
|
3038
|
-
`/_internal/v2/apps/${ctx.appId}/secrets/${seg(key)}`
|
|
3039
|
-
);
|
|
3040
|
-
}
|
|
3041
3033
|
function set2(ctx, key, params) {
|
|
3042
3034
|
const body = {};
|
|
3043
3035
|
if ("devValue" in params) {
|