@ductape/mcp 0.1.16 → 0.1.17

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/index.js CHANGED
@@ -588,7 +588,7 @@ ALL params are passed as a JSON array in positional order matching the SDK signa
588
588
 
589
589
  ━━━ MODULE: caches ━━━
590
590
  caches.create [product_tag, data: { name: string, tag: string, description?: string, expiry: number }]
591
- ← expiry is in SECONDS (e.g. 3600 = 1 hour, 86400 = 1 day). No type or envs — Ductape manages the store.
591
+ ← expiry is in MILLISECONDS (e.g. 3600000 = 1 hour, 86400000 = 1 day). No type or envs — Ductape manages the store.
592
592
  caches.update [product_tag, cache_tag, data: { name?: string, description?: string, expiry?: number }]
593
593
  caches.fetch [product_tag, cache_tag]
594
594
  caches.list [product_tag]
@@ -1707,11 +1707,11 @@ Caches are product-level Redis (or in-memory) stores for temporary key-value dat
1707
1707
 
1708
1708
  Registration (admin — ductape_cli or SDK):
1709
1709
  ductape_cli("resources caches create -f cache.json")
1710
- File: { name, tag, description?, expiry: <seconds> }
1710
+ File: { name, tag, description?, expiry: <milliseconds> }
1711
1711
  No type or envs — Ductape manages the store infrastructure.
1712
- expiry is in SECONDS: 3600 = 1 hour, 86400 = 1 day, 604800 = 1 week.
1712
+ expiry is in MILLISECONDS: 3600000 = 1 hour, 86400000 = 1 day, 604800000 = 1 week.
1713
1713
 
1714
- SDK: ductape_execute("caches.create", [product_tag, { name, tag, description?, expiry: 3600 }])
1714
+ SDK: ductape_execute("caches.create", [product_tag, { name, tag, description?, expiry: 3600000 }])
1715
1715
 
1716
1716
  Operations:
1717
1717
  caches.set [{ product, cache, key, value: string, expiry?: string (ISO 8601), env }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ductape/mcp",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "MCP server that exposes Ductape SDK operations via the backend proxy",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -599,7 +599,7 @@ ALL params are passed as a JSON array in positional order matching the SDK signa
599
599
 
600
600
  ━━━ MODULE: caches ━━━
601
601
  caches.create [product_tag, data: { name: string, tag: string, description?: string, expiry: number }]
602
- ← expiry is in SECONDS (e.g. 3600 = 1 hour, 86400 = 1 day). No type or envs — Ductape manages the store.
602
+ ← expiry is in MILLISECONDS (e.g. 3600000 = 1 hour, 86400000 = 1 day). No type or envs — Ductape manages the store.
603
603
  caches.update [product_tag, cache_tag, data: { name?: string, description?: string, expiry?: number }]
604
604
  caches.fetch [product_tag, cache_tag]
605
605
  caches.list [product_tag]
@@ -1772,11 +1772,11 @@ Caches are product-level Redis (or in-memory) stores for temporary key-value dat
1772
1772
 
1773
1773
  Registration (admin — ductape_cli or SDK):
1774
1774
  ductape_cli("resources caches create -f cache.json")
1775
- File: { name, tag, description?, expiry: <seconds> }
1775
+ File: { name, tag, description?, expiry: <milliseconds> }
1776
1776
  No type or envs — Ductape manages the store infrastructure.
1777
- expiry is in SECONDS: 3600 = 1 hour, 86400 = 1 day, 604800 = 1 week.
1777
+ expiry is in MILLISECONDS: 3600000 = 1 hour, 86400000 = 1 day, 604800000 = 1 week.
1778
1778
 
1779
- SDK: ductape_execute("caches.create", [product_tag, { name, tag, description?, expiry: 3600 }])
1779
+ SDK: ductape_execute("caches.create", [product_tag, { name, tag, description?, expiry: 3600000 }])
1780
1780
 
1781
1781
  Operations:
1782
1782
  caches.set [{ product, cache, key, value: string, expiry?: string (ISO 8601), env }]