@workglow/task-graph 0.2.8 → 0.2.10

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.
@@ -25,9 +25,12 @@ export declare function scanGraphForFormat(graph: ITaskGraph, targetFormat: stri
25
25
  /**
26
26
  * Scans a task graph for credential requirements.
27
27
  *
28
- * Walks every task's `inputSchema()` and `configSchema()` looking for properties
29
- * annotated with `format: "credential"`, including nested objects like
30
- * `provider_config.credential_key`.
28
+ * A task only counts as needing credentials when it has a schema property
29
+ * annotated with `format: "credential"` **and** the corresponding value is
30
+ * actually set on the task's config or input defaults (non-empty string).
31
+ * Annotating a schema is not enough — plenty of model configs have
32
+ * `provider_config.credential_key` available but unused (e.g. local ONNX
33
+ * models).
31
34
  *
32
35
  * @example
33
36
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"GraphFormatScanner.d.ts","sourceRoot":"","sources":["../../src/task-graph/GraphFormatScanner.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,yGAAyG;IACzG,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC,8DAA8D;IAC9D,QAAQ,CAAC,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACjD;AA0BD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAanF;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,UAAU,GAAG,qBAAqB,CAYhF"}
1
+ {"version":3,"file":"GraphFormatScanner.d.ts","sourceRoot":"","sources":["../../src/task-graph/GraphFormatScanner.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,yGAAyG;IACzG,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC,8DAA8D;IAC9D,QAAQ,CAAC,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACjD;AA0BD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAanF;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,UAAU,GAAG,qBAAqB,CAgBhF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workglow/task-graph",
3
3
  "type": "module",
4
- "version": "0.2.8",
4
+ "version": "0.2.10",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/workglow-dev/workglow.git",
@@ -51,9 +51,9 @@
51
51
  "access": "public"
52
52
  },
53
53
  "peerDependencies": {
54
- "@workglow/job-queue": "0.2.8",
55
- "@workglow/storage": "0.2.8",
56
- "@workglow/util": "0.2.8"
54
+ "@workglow/job-queue": "0.2.10",
55
+ "@workglow/storage": "0.2.10",
56
+ "@workglow/util": "0.2.10"
57
57
  },
58
58
  "peerDependenciesMeta": {
59
59
  "@workglow/job-queue": {
@@ -67,8 +67,8 @@
67
67
  }
68
68
  },
69
69
  "devDependencies": {
70
- "@workglow/job-queue": "0.2.8",
71
- "@workglow/storage": "0.2.8",
72
- "@workglow/util": "0.2.8"
70
+ "@workglow/job-queue": "0.2.10",
71
+ "@workglow/storage": "0.2.10",
72
+ "@workglow/util": "0.2.10"
73
73
  }
74
74
  }