@kelceyp/caw-server 1.0.176 → 1.0.178
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/dist/cli.js +4 -2
- package/dist/main.js +352 -352
- package/dist/public_html/main.js +444 -444
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -9979,13 +9979,15 @@ var list_by_type_default = Object.freeze({ create: create66 });
|
|
|
9979
9979
|
|
|
9980
9980
|
// src/commands/job/list.js
|
|
9981
9981
|
var create67 = ({ httpClient }) => {
|
|
9982
|
-
return createCommand("list").summary("List all jobs").param((p) => p.name("sid").type("string").flag("sid", "s").required()).param((p) => p.name("store").type("string").flag("store")).param((p) => p.name("status").type("string").flag("status")).run(async (ctx) => {
|
|
9983
|
-
const { sid, store, status } = ctx.params;
|
|
9982
|
+
return createCommand("list").summary("List all jobs").param((p) => p.name("sid").type("string").flag("sid", "s").required()).param((p) => p.name("store").type("string").flag("store")).param((p) => p.name("status").type("string").flag("status")).param((p) => p.name("pinned").type("boolean").flag("pinned")).run(async (ctx) => {
|
|
9983
|
+
const { sid, store, status, pinned } = ctx.params;
|
|
9984
9984
|
const args = {};
|
|
9985
9985
|
if (store !== undefined)
|
|
9986
9986
|
args.store = store;
|
|
9987
9987
|
if (status !== undefined)
|
|
9988
9988
|
args.status = status;
|
|
9989
|
+
if (pinned !== undefined)
|
|
9990
|
+
args.pinned = pinned;
|
|
9989
9991
|
const result = await httpClient.post(`/cli/mcp-client/${sid}/dispatch`, {
|
|
9990
9992
|
cwd: process.cwd(),
|
|
9991
9993
|
tool: "list_jobs",
|