@isaacthoman/pulpo 0.136.0 → 0.137.0
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 +4 -0
- package/dist/index.js +16 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -172,3 +172,7 @@ Use `speech-model preset --adapter mistral` for the Voxtral preset. The
|
|
|
172
172
|
repair, looping watermark settings, synthesized previews, and retryable cleanup.
|
|
173
173
|
See [the speech administration guide](../../docs/speech.md) for complete commands,
|
|
174
174
|
upload limits, billing behavior, and FFmpeg setup.
|
|
175
|
+
|
|
176
|
+
Provider attempts and payload cleanup status are available through `pulpo usage diagnostics`,
|
|
177
|
+
`pulpo usage diagnostic-payloads <id>`, and `pulpo usage retention-status`.
|
|
178
|
+
See [diagnostic logging and retention](../../docs/diagnostic-logging.md) for capture fidelity and expiry behavior.
|
package/dist/index.js
CHANGED
|
@@ -14532,6 +14532,9 @@ var imageGenerationPreferencesSchema = external_exports.object({
|
|
|
14532
14532
|
enabled: external_exports.boolean().default(false),
|
|
14533
14533
|
modelId: external_exports.string().max(120).nullable().default(null)
|
|
14534
14534
|
}).default(() => ({ enabled: false, modelId: null }));
|
|
14535
|
+
var imageDefaultsSchema = external_exports.object({
|
|
14536
|
+
modelId: external_exports.string().regex(/^[a-z0-9][a-z0-9._-]{0,119}$/).nullable().default(null)
|
|
14537
|
+
});
|
|
14535
14538
|
var price = external_exports.number().int().min(0).max(1e12);
|
|
14536
14539
|
var imageTokenPricesSchema = external_exports.object({
|
|
14537
14540
|
input: price.nullable().default(null),
|
|
@@ -20792,7 +20795,7 @@ async function runModelTest(input) {
|
|
|
20792
20795
|
}
|
|
20793
20796
|
|
|
20794
20797
|
// src/index.ts
|
|
20795
|
-
var CLI_VERSION = true ? "0.
|
|
20798
|
+
var CLI_VERSION = true ? "0.137.0" : "0.1.0";
|
|
20796
20799
|
var CLI_BUNDLED = true;
|
|
20797
20800
|
var commandIo = /* @__PURE__ */ new WeakMap();
|
|
20798
20801
|
var commandClientFactory = /* @__PURE__ */ new WeakMap();
|
|
@@ -21476,6 +21479,18 @@ function createProgram(io = processIo, dependencies = {}) {
|
|
|
21476
21479
|
const payloads = await client.request(`/api/management/v1/usage/requests/${encodeURIComponent(id)}/payloads`);
|
|
21477
21480
|
writeOutput(io, payloads, true);
|
|
21478
21481
|
});
|
|
21482
|
+
usage.command("diagnostics [requestId]").description("List provider/tool attempts, optionally for a model call or request log").action(async (requestId, _options, command) => {
|
|
21483
|
+
const { client } = await clientFor(command);
|
|
21484
|
+
writeOutput(io, await client.request(requestId ? `/api/management/v1/usage/requests/${encodeURIComponent(requestId)}/diagnostics` : "/api/management/v1/usage/diagnostics"), true);
|
|
21485
|
+
});
|
|
21486
|
+
usage.command("diagnostic-payloads <id>").description("Inspect retained payloads and capture fidelity for one diagnostic attempt").action(async (id, _options, command) => {
|
|
21487
|
+
const { client } = await clientFor(command);
|
|
21488
|
+
writeOutput(io, await client.request(`/api/management/v1/usage/diagnostics/${encodeURIComponent(id)}/payloads`), true);
|
|
21489
|
+
});
|
|
21490
|
+
usage.command("retention-status").action(async (_options, command) => {
|
|
21491
|
+
const { client } = await clientFor(command);
|
|
21492
|
+
writeOutput(io, await client.request("/api/management/v1/usage/diagnostics/retention"), true);
|
|
21493
|
+
});
|
|
21479
21494
|
usage.command("request <id>").action(async (id, _options, command) => {
|
|
21480
21495
|
const { client } = await clientFor(command);
|
|
21481
21496
|
emit(io, command, await client.request(`/api/management/v1/usage/requests/${encodeURIComponent(id)}`));
|