@productcraft/trawl 0.1.2 → 0.1.3
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 +11 -3
- package/dist/index.d.ts +11 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -408,7 +408,9 @@ interface components {
|
|
|
408
408
|
* "type": "object"
|
|
409
409
|
* }
|
|
410
410
|
*/
|
|
411
|
-
json_schema:
|
|
411
|
+
json_schema: {
|
|
412
|
+
[key: string]: unknown;
|
|
413
|
+
};
|
|
412
414
|
/**
|
|
413
415
|
* @description Maximum number of agent steps (one LLM call each) before the job stops. Defaults to 20. Multi-source extractions typically need 40+. The server additionally clamps this to an operator ceiling, so a very large value does not guarantee a very long run — `timeout_s` still applies.
|
|
414
416
|
* @default 20
|
|
@@ -528,10 +530,16 @@ interface components {
|
|
|
528
530
|
enqueued_at: string;
|
|
529
531
|
error: string | null;
|
|
530
532
|
id: string;
|
|
531
|
-
|
|
533
|
+
/** @description The JSON Schema the job was created with. */
|
|
534
|
+
json_schema: {
|
|
535
|
+
[key: string]: unknown;
|
|
536
|
+
};
|
|
532
537
|
max_steps: number;
|
|
533
538
|
model_tier: string;
|
|
534
|
-
|
|
539
|
+
/** @description The extracted data, shaped by `json_schema`. Null until the job succeeds. */
|
|
540
|
+
result: {
|
|
541
|
+
[key: string]: unknown;
|
|
542
|
+
} | null;
|
|
535
543
|
started_at: string | null;
|
|
536
544
|
/** @enum {string} */
|
|
537
545
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
package/dist/index.d.ts
CHANGED
|
@@ -408,7 +408,9 @@ interface components {
|
|
|
408
408
|
* "type": "object"
|
|
409
409
|
* }
|
|
410
410
|
*/
|
|
411
|
-
json_schema:
|
|
411
|
+
json_schema: {
|
|
412
|
+
[key: string]: unknown;
|
|
413
|
+
};
|
|
412
414
|
/**
|
|
413
415
|
* @description Maximum number of agent steps (one LLM call each) before the job stops. Defaults to 20. Multi-source extractions typically need 40+. The server additionally clamps this to an operator ceiling, so a very large value does not guarantee a very long run — `timeout_s` still applies.
|
|
414
416
|
* @default 20
|
|
@@ -528,10 +530,16 @@ interface components {
|
|
|
528
530
|
enqueued_at: string;
|
|
529
531
|
error: string | null;
|
|
530
532
|
id: string;
|
|
531
|
-
|
|
533
|
+
/** @description The JSON Schema the job was created with. */
|
|
534
|
+
json_schema: {
|
|
535
|
+
[key: string]: unknown;
|
|
536
|
+
};
|
|
532
537
|
max_steps: number;
|
|
533
538
|
model_tier: string;
|
|
534
|
-
|
|
539
|
+
/** @description The extracted data, shaped by `json_schema`. Null until the job succeeds. */
|
|
540
|
+
result: {
|
|
541
|
+
[key: string]: unknown;
|
|
542
|
+
} | null;
|
|
535
543
|
started_at: string | null;
|
|
536
544
|
/** @enum {string} */
|
|
537
545
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@productcraft/trawl",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "AI web-extraction — submit a JSON Schema + natural-language description, get schema-conforming data extracted from the live web and delivered to an HMAC-signed webhook via ProductCraft Trawl. Generated from the production OpenAPI spec.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|