@ninkch/dsh-artcraft 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -39,7 +39,7 @@ import crypto from 'node:crypto';
39
39
  import { fileURLToPath } from 'node:url';
40
40
 
41
41
  const NAME = 'artcraft';
42
- const VERSION = '0.2.0';
42
+ const VERSION = '0.2.2';
43
43
  const HERE = path.dirname(fileURLToPath(import.meta.url));
44
44
 
45
45
  const BINS = ['photocraft', 'filmcraft', 'effectcraft'];
@@ -580,6 +580,7 @@ export function apply(ctx) {
580
580
  ctx.effect(() => {
581
581
  const disposers = [];
582
582
  const attempt = (def) => {
583
+ const output = def.output ?? { type: 'object', additionalProperties: true };
583
584
  for (const shape of [
584
585
  { name: def.name, description: def.description, parameters: def.schema, execute: def.execute },
585
586
  { name: def.name, description: def.description, inputSchema: def.schema, handler: def.execute },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ninkch/dsh-artcraft",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "description": "Drive the open-source ArtCraft studio apps (PhotoCraft / FilmCraft / EffectCraft) from DeepSeek Harness — agent tools, a same-origin HTTP API, and a sidebar panel with toolchain status and self-update.",
6
6
  "keywords": [