@nimble-way/nimble-js 1.2.0 → 1.4.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/agents/agents.d.mts +7 -8
  4. package/resources/agents/agents.d.mts.map +1 -1
  5. package/resources/agents/agents.d.ts +7 -8
  6. package/resources/agents/agents.d.ts.map +1 -1
  7. package/resources/agents/agents.js.map +1 -1
  8. package/resources/agents/agents.mjs.map +1 -1
  9. package/resources/agents/runs.d.mts +6 -6
  10. package/resources/agents/runs.d.mts.map +1 -1
  11. package/resources/agents/runs.d.ts +6 -6
  12. package/resources/agents/runs.d.ts.map +1 -1
  13. package/resources/agents/templates.d.mts +2 -2
  14. package/resources/agents/templates.d.mts.map +1 -1
  15. package/resources/agents/templates.d.ts +2 -2
  16. package/resources/agents/templates.d.ts.map +1 -1
  17. package/resources/crawl.d.mts +6 -0
  18. package/resources/crawl.d.mts.map +1 -1
  19. package/resources/crawl.d.ts +6 -0
  20. package/resources/crawl.d.ts.map +1 -1
  21. package/resources/extract/extract.d.mts +24 -0
  22. package/resources/extract/extract.d.mts.map +1 -1
  23. package/resources/extract/extract.d.ts +24 -0
  24. package/resources/extract/extract.d.ts.map +1 -1
  25. package/resources/extract/extract.js.map +1 -1
  26. package/resources/extract/extract.mjs.map +1 -1
  27. package/resources/fast-serp.d.mts +6 -0
  28. package/resources/fast-serp.d.mts.map +1 -1
  29. package/resources/fast-serp.d.ts +6 -0
  30. package/resources/fast-serp.d.ts.map +1 -1
  31. package/resources/jobs/jobs.d.mts +60 -0
  32. package/resources/jobs/jobs.d.mts.map +1 -1
  33. package/resources/jobs/jobs.d.ts +60 -0
  34. package/resources/jobs/jobs.d.ts.map +1 -1
  35. package/resources/jobs/jobs.js.map +1 -1
  36. package/resources/jobs/jobs.mjs.map +1 -1
  37. package/resources/serp.d.mts +24 -0
  38. package/resources/serp.d.mts.map +1 -1
  39. package/resources/serp.d.ts +24 -0
  40. package/resources/serp.d.ts.map +1 -1
  41. package/resources/top-level.d.mts +7 -0
  42. package/resources/top-level.d.mts.map +1 -1
  43. package/resources/top-level.d.ts +7 -0
  44. package/resources/top-level.d.ts.map +1 -1
  45. package/src/resources/agents/agents.ts +7 -9
  46. package/src/resources/agents/runs.ts +6 -6
  47. package/src/resources/agents/templates.ts +2 -2
  48. package/src/resources/crawl.ts +7 -0
  49. package/src/resources/extract/extract.ts +28 -0
  50. package/src/resources/fast-serp.ts +7 -0
  51. package/src/resources/jobs/jobs.ts +42 -0
  52. package/src/resources/serp.ts +28 -0
  53. package/src/resources/top-level.ts +8 -0
  54. package/src/version.ts +1 -1
  55. package/version.d.mts +1 -1
  56. package/version.d.ts +1 -1
  57. package/version.js +1 -1
  58. package/version.mjs +1 -1
@@ -453,6 +453,13 @@ export interface FastSerpRunParams {
453
453
  */
454
454
  render?: boolean;
455
455
 
456
+ /**
457
+ * When true, search result links that point at a search-engine redirector are
458
+ * resolved to their final destination URLs. Best-effort within a time budget:
459
+ * links that cannot be resolved in time are returned unchanged.
460
+ */
461
+ resolve_url?: boolean;
462
+
456
463
  /**
457
464
  * When true, disables Google result filtering (filter=0) so omitted/duplicate and
458
465
  * highly similar pages are also returned. Applies to Google search engines.
@@ -163,6 +163,13 @@ export namespace JobCreateResponse {
163
163
  * types.
164
164
  */
165
165
  file_path?: string | null;
166
+
167
+ /**
168
+ * Inline input records keyed by source node id, e.g. {'source_a': [{...}]}. Used
169
+ * when type is 'inline' on a dynamic-workflow job, which has one source node per
170
+ * input file. Mutually exclusive with 'data'.
171
+ */
172
+ node_data?: { [key: string]: Array<{ [key: string]: unknown }> } | null;
166
173
  }
167
174
 
168
175
  /**
@@ -287,6 +294,13 @@ export namespace JobUpdateResponse {
287
294
  * types.
288
295
  */
289
296
  file_path?: string | null;
297
+
298
+ /**
299
+ * Inline input records keyed by source node id, e.g. {'source_a': [{...}]}. Used
300
+ * when type is 'inline' on a dynamic-workflow job, which has one source node per
301
+ * input file. Mutually exclusive with 'data'.
302
+ */
303
+ node_data?: { [key: string]: Array<{ [key: string]: unknown }> } | null;
290
304
  }
291
305
 
292
306
  /**
@@ -442,6 +456,13 @@ export namespace JobListResponse {
442
456
  * types.
443
457
  */
444
458
  file_path?: string | null;
459
+
460
+ /**
461
+ * Inline input records keyed by source node id, e.g. {'source_a': [{...}]}. Used
462
+ * when type is 'inline' on a dynamic-workflow job, which has one source node per
463
+ * input file. Mutually exclusive with 'data'.
464
+ */
465
+ node_data?: { [key: string]: Array<{ [key: string]: unknown }> } | null;
445
466
  }
446
467
 
447
468
  /**
@@ -567,6 +588,13 @@ export namespace JobGetResponse {
567
588
  * types.
568
589
  */
569
590
  file_path?: string | null;
591
+
592
+ /**
593
+ * Inline input records keyed by source node id, e.g. {'source_a': [{...}]}. Used
594
+ * when type is 'inline' on a dynamic-workflow job, which has one source node per
595
+ * input file. Mutually exclusive with 'data'.
596
+ */
597
+ node_data?: { [key: string]: Array<{ [key: string]: unknown }> } | null;
570
598
  }
571
599
 
572
600
  /**
@@ -663,6 +691,13 @@ export namespace JobCreateParams {
663
691
  * types.
664
692
  */
665
693
  file_path?: string | null;
694
+
695
+ /**
696
+ * Inline input records keyed by source node id, e.g. {'source_a': [{...}]}. Used
697
+ * when type is 'inline' on a dynamic-workflow job, which has one source node per
698
+ * input file. Mutually exclusive with 'data'.
699
+ */
700
+ node_data?: { [key: string]: Array<{ [key: string]: unknown }> } | null;
666
701
  }
667
702
 
668
703
  /**
@@ -749,6 +784,13 @@ export namespace JobUpdateParams {
749
784
  * types.
750
785
  */
751
786
  file_path?: string | null;
787
+
788
+ /**
789
+ * Inline input records keyed by source node id, e.g. {'source_a': [{...}]}. Used
790
+ * when type is 'inline' on a dynamic-workflow job, which has one source node per
791
+ * input file. Mutually exclusive with 'data'.
792
+ */
793
+ node_data?: { [key: string]: Array<{ [key: string]: unknown }> } | null;
752
794
  }
753
795
 
754
796
  /**
@@ -675,6 +675,13 @@ export interface SerpRunParams {
675
675
  */
676
676
  render?: boolean;
677
677
 
678
+ /**
679
+ * When true, search result links that point at a search-engine redirector are
680
+ * resolved to their final destination URLs. Best-effort within a time budget:
681
+ * links that cannot be resolved in time are returned unchanged.
682
+ */
683
+ resolve_url?: boolean;
684
+
678
685
  /**
679
686
  * When true, disables Google result filtering (filter=0) so omitted/duplicate and
680
687
  * highly similar pages are also returned. Applies to Google search engines.
@@ -754,6 +761,13 @@ export interface SerpRunAsyncParams {
754
761
  */
755
762
  render?: boolean;
756
763
 
764
+ /**
765
+ * When true, search result links that point at a search-engine redirector are
766
+ * resolved to their final destination URLs. Best-effort within a time budget:
767
+ * links that cannot be resolved in time are returned unchanged.
768
+ */
769
+ resolve_url?: boolean;
770
+
757
771
  /**
758
772
  * When true, disables Google result filtering (filter=0) so omitted/duplicate and
759
773
  * highly similar pages are also returned. Applies to Google search engines.
@@ -853,6 +867,13 @@ export namespace SerpRunBatchParams {
853
867
  */
854
868
  render?: boolean;
855
869
 
870
+ /**
871
+ * When true, search result links that point at a search-engine redirector are
872
+ * resolved to their final destination URLs. Best-effort within a time budget:
873
+ * links that cannot be resolved in time are returned unchanged.
874
+ */
875
+ resolve_url?: boolean;
876
+
856
877
  /**
857
878
  * The search engine to query.
858
879
  */
@@ -956,6 +977,13 @@ export namespace SerpRunBatchParams {
956
977
  */
957
978
  render?: boolean;
958
979
 
980
+ /**
981
+ * When true, search result links that point at a search-engine redirector are
982
+ * resolved to their final destination URLs. Best-effort within a time budget:
983
+ * links that cannot be resolved in time are returned unchanged.
984
+ */
985
+ resolve_url?: boolean;
986
+
959
987
  /**
960
988
  * The search engine to query.
961
989
  */
@@ -985,6 +985,14 @@ export interface SearchParams {
985
985
  */
986
986
  focus?: string | Array<string>;
987
987
 
988
+ /**
989
+ * Return richer per-result content on the fast path. With search_depth='fast',
990
+ * enables live crawling of both web and news sources so results carry full
991
+ * markdown content instead of snippets only. Higher recall and cost. Ignored for
992
+ * other search_depth values.
993
+ */
994
+ full_content?: boolean;
995
+
988
996
  /**
989
997
  * Generate an LLM-powered answer summary based on search result snippets.
990
998
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.2.0'; // x-release-please-version
1
+ export const VERSION = '1.4.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.2.0";
1
+ export declare const VERSION = "1.4.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.2.0";
1
+ export declare const VERSION = "1.4.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.2.0'; // x-release-please-version
4
+ exports.VERSION = '1.4.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.2.0'; // x-release-please-version
1
+ export const VERSION = '1.4.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map