@pixeldojo/mcp 0.25.0 → 0.30.0

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.d.cts CHANGED
@@ -84,6 +84,12 @@ interface SkillContext {
84
84
  * fields would read the production container's disk. Fail-closed.
85
85
  */
86
86
  localFiles?: boolean;
87
+ /**
88
+ * Fetch for raw calls outside the SDK (pixeldojo_effect's /api/v1/effects
89
+ * routes). The hosted route passes its attributed fetch (source header,
90
+ * signed client IP); unset means the global fetch.
91
+ */
92
+ fetch?: typeof globalThis.fetch;
87
93
  /** Optional logger that already redacts pd_xxx tokens. */
88
94
  logger: {
89
95
  error: (msg: string, ...args: unknown[]) => void;
package/dist/index.d.ts CHANGED
@@ -84,6 +84,12 @@ interface SkillContext {
84
84
  * fields would read the production container's disk. Fail-closed.
85
85
  */
86
86
  localFiles?: boolean;
87
+ /**
88
+ * Fetch for raw calls outside the SDK (pixeldojo_effect's /api/v1/effects
89
+ * routes). The hosted route passes its attributed fetch (source header,
90
+ * signed client IP); unset means the global fetch.
91
+ */
92
+ fetch?: typeof globalThis.fetch;
87
93
  /** Optional logger that already redacts pd_xxx tokens. */
88
94
  logger: {
89
95
  error: (msg: string, ...args: unknown[]) => void;