@madewithremy/admin 0.1.50 → 0.1.51
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 +9 -0
- package/dist/index.d.ts +15 -3
- package/dist/prod.js +17 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ 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.51
|
|
8
|
+
|
|
9
|
+
### Changed behavior
|
|
10
|
+
|
|
11
|
+
- `remy-admin settings set logPayloads <true|false>` replaces `telemetryCaptureResponseBodies`, which is gone. It's payload logging, one switch for method inputs, outputs and console output in the request log, task traces' transcripts, inbound email content, and failed responses' bodies in frontend error reports. It's on by default, so response bodies are now logged unless it's turned off. An app that set `telemetryCaptureResponseBodies` should check `logPayloads` says what it wants.
|
|
12
|
+
- `remy-admin settings get` also returns `workspaceLogging`: with `payloads` false, the workspace has turned logPayloads off for every app in it, whatever the app's own setting says.
|
|
13
|
+
- `remy-admin requests get` on a run whose app has payload logging off shows empty input, output and stdout, with `interfaceContext.payloadsOff` true. Its error, timing and outcome are kept. `requests`'s help says so.
|
|
14
|
+
- `remy-admin tasks get` returns `notKeptTurns`: turns whose transcript an app with logPayloads off never kept, which aren't counted in `missingTurns`.
|
|
15
|
+
|
|
7
16
|
## 0.1.50
|
|
8
17
|
|
|
9
18
|
### Changed behavior
|
package/dist/index.d.ts
CHANGED
|
@@ -263,6 +263,8 @@ interface TasksGetResult extends TaskTraceSummary {
|
|
|
263
263
|
messages: TaskTranscriptMessage[];
|
|
264
264
|
/** Turns whose record couldn't be read; the transcript has a hole there. */
|
|
265
265
|
missingTurns: number[];
|
|
266
|
+
/** Turns whose content was never kept, because the app had payload logging off (logPayloads). */
|
|
267
|
+
notKeptTurns: number[];
|
|
266
268
|
}
|
|
267
269
|
|
|
268
270
|
/**
|
|
@@ -8331,10 +8333,13 @@ interface V2AppSettings {
|
|
|
8331
8333
|
code: string;
|
|
8332
8334
|
}>;
|
|
8333
8335
|
/**
|
|
8334
|
-
* When
|
|
8335
|
-
*
|
|
8336
|
+
* Payload logging. When false, the request log keeps each method call's
|
|
8337
|
+
* metadata (timing, status, error) but no input, output or console output,
|
|
8338
|
+
* task traces keep no transcripts, inbound email runs keep no message, and
|
|
8339
|
+
* frontend error reports keep no response bodies. Default true. Its workspace can turn it off for every app
|
|
8340
|
+
* (`SettingsResult.workspaceLogging`).
|
|
8336
8341
|
*/
|
|
8337
|
-
|
|
8342
|
+
logPayloads?: boolean;
|
|
8338
8343
|
/**
|
|
8339
8344
|
* Extra query-param names to preserve in analytics URLs beyond the platform
|
|
8340
8345
|
* defaults (UTMs + ad click IDs).
|
|
@@ -8354,6 +8359,13 @@ interface V2AppSettings {
|
|
|
8354
8359
|
*/
|
|
8355
8360
|
interface SettingsResult {
|
|
8356
8361
|
settings: V2AppSettings;
|
|
8362
|
+
/**
|
|
8363
|
+
* What the app's workspace allows. `payloads` false means logPayloads is off
|
|
8364
|
+
* for every app in it, whatever `settings.logPayloads` says.
|
|
8365
|
+
*/
|
|
8366
|
+
workspaceLogging: {
|
|
8367
|
+
payloads: boolean;
|
|
8368
|
+
};
|
|
8357
8369
|
}
|
|
8358
8370
|
|
|
8359
8371
|
/**
|
package/dist/prod.js
CHANGED
|
@@ -534,6 +534,12 @@ Usage:
|
|
|
534
534
|
remy-admin requests get <requestId>
|
|
535
535
|
remy-admin requests stats [--method <methodId>] [--start <ISO date>] [--end <ISO date>]
|
|
536
536
|
|
|
537
|
+
Notes:
|
|
538
|
+
With an app's logPayloads off ('remy-admin settings', or its workspace's),
|
|
539
|
+
the log has no inputs, outputs or stdout: 'get' shows them empty with
|
|
540
|
+
'interfaceContext.payloadsOff' true, and the error, timing and outcome are
|
|
541
|
+
still there. Your dev box's own log, .logs/requests.ndjson, always has them.
|
|
542
|
+
|
|
537
543
|
Examples:
|
|
538
544
|
remy-admin requests list --limit 10
|
|
539
545
|
remy-admin requests list --method mth_abc123 --status error
|
|
@@ -7705,6 +7711,10 @@ Notes:
|
|
|
7705
7711
|
'remy-admin requests get <requestId>' for that call's input, output, stdout
|
|
7706
7712
|
and error.
|
|
7707
7713
|
|
|
7714
|
+
With an app's logPayloads off ('remy-admin settings'), it logs no transcripts:
|
|
7715
|
+
its turns are listed in 'notKeptTurns' and the transcript is empty, while
|
|
7716
|
+
spend, outcome and each turn's tool counts and errors are still there.
|
|
7717
|
+
|
|
7708
7718
|
Examples:
|
|
7709
7719
|
remy-admin tasks list --limit 10
|
|
7710
7720
|
remy-admin tasks get 0b9e\u2026`;
|
|
@@ -8323,7 +8333,7 @@ var SETTABLE_KEYS = [
|
|
|
8323
8333
|
"blockDisposableEmails",
|
|
8324
8334
|
"signupAllowlistEnabled",
|
|
8325
8335
|
"testAccountsEnabled",
|
|
8326
|
-
"
|
|
8336
|
+
"logPayloads",
|
|
8327
8337
|
"analyticsExtraQueryParams"
|
|
8328
8338
|
];
|
|
8329
8339
|
var settingsSpecs = {
|
|
@@ -8594,9 +8604,12 @@ Settable keys (settings set):
|
|
|
8594
8604
|
'allowlist enable'.
|
|
8595
8605
|
testAccountsEnabled Activate fixed-code test accounts. Default: false.
|
|
8596
8606
|
Prefer 'test-accounts enable'.
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
responses
|
|
8607
|
+
logPayloads Payload logging: method inputs, outputs and console output
|
|
8608
|
+
in the request log, task traces' transcripts, inbound email
|
|
8609
|
+
content, and failed responses (~1KB) in frontend error
|
|
8610
|
+
reports. Default: true. Off logs metadata only (timing,
|
|
8611
|
+
status, errors). The workspace can turn it off for every
|
|
8612
|
+
app ('settings get' shows workspaceLogging.payloads).
|
|
8600
8613
|
analyticsExtraQueryParams JSON array of query-param names to preserve in
|
|
8601
8614
|
analytics URLs beyond the UTM/ad-click defaults.
|
|
8602
8615
|
|