@kelceyp/caw-server 1.0.92 → 1.0.94

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 CHANGED
@@ -9872,8 +9872,8 @@ var create_default5 = Object.freeze({ create: create61 });
9872
9872
 
9873
9873
  // src/commands/template/render.js
9874
9874
  var create62 = ({ httpClient }) => {
9875
- return createCommand("render").summary("Render a template").param((p) => p.name("sid").type("string").flag("sid", "s").required()).param((p) => p.name("id").type("string").flag("id").required()).param((p) => p.name("params").type("string").flag("params")).param((p) => p.name("target").type("string").flag("target")).param((p) => p.name("path").type("string").flag("path")).param((p) => p.name("publish").type("boolean").flag("publish")).run(async (ctx) => {
9876
- const { sid, id, params, target, path, publish } = ctx.params;
9875
+ return createCommand("render").summary("Render a template").param((p) => p.name("sid").type("string").flag("sid", "s").required()).param((p) => p.name("id").type("string").flag("id").required()).param((p) => p.name("params").type("string").flag("params")).param((p) => p.name("target").type("string").flag("target")).param((p) => p.name("path").type("string").flag("path")).param((p) => p.name("publish").type("boolean").flag("publish")).param((p) => p.name("store").type("string").flag("store")).run(async (ctx) => {
9876
+ const { sid, id, params, target, path, publish, store } = ctx.params;
9877
9877
  const args = { id };
9878
9878
  if (params !== undefined) {
9879
9879
  try {
@@ -9884,12 +9884,14 @@ var create62 = ({ httpClient }) => {
9884
9884
  }
9885
9885
  if (target !== undefined)
9886
9886
  args.target = target;
9887
- if (path !== undefined || publish !== undefined) {
9887
+ if (path !== undefined || publish !== undefined || store !== undefined) {
9888
9888
  args.targetOptions = {};
9889
9889
  if (path !== undefined)
9890
9890
  args.targetOptions.path = path;
9891
9891
  if (publish !== undefined)
9892
9892
  args.targetOptions.publish = publish;
9893
+ if (store !== undefined)
9894
+ args.targetOptions.store = store;
9893
9895
  }
9894
9896
  const result = await httpClient.post(`/cli/mcp-client/${sid}/dispatch`, {
9895
9897
  cwd: process.cwd(),