@oxygen-agent/cli 1.223.9 → 1.225.28
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
package/dist/index.js
CHANGED
|
@@ -2189,6 +2189,7 @@ export function createProgram() {
|
|
|
2189
2189
|
.option("--status <status>", "Filter by draft, active, or archived.")
|
|
2190
2190
|
.option("--tags <csv>", "Comma-separated tags that must be present.")
|
|
2191
2191
|
.option("--include-archived", "Include archived assets when no status filter is set.")
|
|
2192
|
+
.option("--limit <n>", "Maximum assets to return. Defaults to 100; hard cap is 500.")
|
|
2192
2193
|
.option("--json", "Print a JSON envelope.")
|
|
2193
2194
|
.action(async (options) => {
|
|
2194
2195
|
await handleAsyncAction("context assets list", options, () => requestOxygen(`/api/cli/context/assets${contextAssetsQuery(options)}`));
|
|
@@ -9893,6 +9894,9 @@ function contextAssetsQuery(options) {
|
|
|
9893
9894
|
query.append("tag", tag);
|
|
9894
9895
|
if (options.includeArchived)
|
|
9895
9896
|
query.set("include_archived", "true");
|
|
9897
|
+
const limit = readPositiveInt(options.limit);
|
|
9898
|
+
if (limit !== undefined)
|
|
9899
|
+
query.set("limit", String(limit));
|
|
9896
9900
|
const value = query.toString();
|
|
9897
9901
|
return value ? `?${value}` : "";
|
|
9898
9902
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const OXYGEN_VERSION = "1.
|
|
1
|
+
export declare const OXYGEN_VERSION = "1.225.28";
|
|
2
2
|
export declare const OXYGEN_MINIMUM_CLI_VERSION = "1.181.0";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const OXYGEN_VERSION = "1.
|
|
1
|
+
export const OXYGEN_VERSION = "1.225.28";
|
|
2
2
|
// Bump this only when deployed CLI/API contracts require a newer CLI.
|
|
3
3
|
// 1.181.0: paid table action runs and background columns run require
|
|
4
4
|
// approved=true in addition to max_credits; older CLIs cannot send the flag.
|