@credal/actions 0.2.156 → 0.2.157

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.
@@ -12334,91 +12334,92 @@ export const githubSearchOrganizationDefinition = {
12334
12334
  properties: {
12335
12335
  success: {
12336
12336
  type: "boolean",
12337
- description: "Whether the operation was successful",
12337
+ description: "Whether the operation was successful.",
12338
12338
  },
12339
12339
  error: {
12340
12340
  type: "string",
12341
- description: "Error message if the operation failed",
12341
+ description: "Error message if the operation failed.",
12342
12342
  },
12343
12343
  results: {
12344
12344
  type: "array",
12345
- description: "Array of search results",
12345
+ description: "List of search results.",
12346
12346
  items: {
12347
12347
  type: "object",
12348
- required: ["name", "url", "type", "content"],
12348
+ required: ["type", "name", "url", "contents"],
12349
12349
  properties: {
12350
- name: {
12350
+ type: {
12351
12351
  type: "string",
12352
- description: "The name of the result (file name, commit SHA, or issue/PR title)",
12352
+ enum: ["code", "commit", "issueOrPullRequest"],
12353
+ description: "The type of search result.",
12353
12354
  },
12354
- url: {
12355
+ name: {
12355
12356
  type: "string",
12356
- description: "The URL of the result",
12357
+ description: "The name or identifier for the result (e.g., file name, commit SHA, or PR title).",
12357
12358
  },
12358
- type: {
12359
+ url: {
12359
12360
  type: "string",
12360
- enum: ["code", "commit", "issueOrPullRequest"],
12361
- description: "The type of the result",
12361
+ description: "The API URL of the result.",
12362
12362
  },
12363
- content: {
12363
+ contents: {
12364
+ description: "The contents of the result, which vary depending on its type.",
12364
12365
  oneOf: [
12365
12366
  {
12366
12367
  type: "object",
12367
- description: "Code result content",
12368
+ description: "Code search result content.",
12368
12369
  required: ["name", "path", "sha", "url", "score", "textMatches"],
12369
12370
  properties: {
12370
12371
  name: {
12371
12372
  type: "string",
12372
- description: "The name of the file that had a match",
12373
+ description: "The name of the file that had a match.",
12373
12374
  },
12374
12375
  path: {
12375
12376
  type: "string",
12376
- description: "The path of the file that had a match",
12377
+ description: "The path of the file that had a match.",
12377
12378
  },
12378
12379
  sha: {
12379
12380
  type: "string",
12380
- description: "The SHA of the commit that had a match",
12381
+ description: "The short SHA of the commit containing the match.",
12381
12382
  },
12382
12383
  url: {
12383
12384
  type: "string",
12384
- description: "The URL of the file that had a match",
12385
+ description: "The API URL of the file that had a match.",
12385
12386
  },
12386
12387
  score: {
12387
12388
  type: "number",
12388
- description: "The similarity score of the match",
12389
+ description: "The similarity score of the match.",
12389
12390
  },
12390
12391
  textMatches: {
12391
12392
  type: "array",
12392
- description: "A list of text matches that match the query",
12393
+ description: "A list of text matches found within the file.",
12393
12394
  items: {
12394
12395
  type: "object",
12395
12396
  required: ["matches"],
12396
12397
  properties: {
12397
12398
  object_url: {
12398
12399
  type: "string",
12399
- description: "The URL of the object that had a match",
12400
+ description: "The API URL of the matched object.",
12400
12401
  },
12401
12402
  object_type: {
12402
12403
  type: "string",
12403
- description: "The type of the object that had a match",
12404
+ description: "The type of object that was matched.",
12404
12405
  },
12405
12406
  fragment: {
12406
12407
  type: "string",
12407
- description: "The fragment of the text that had a match",
12408
+ description: "Text snippet showing the match.",
12408
12409
  },
12409
12410
  matches: {
12410
12411
  type: "array",
12411
- description: "A list of matches that match the query",
12412
+ description: "List of matches found in the fragment.",
12412
12413
  items: {
12413
12414
  type: "object",
12414
12415
  properties: {
12415
12416
  text: {
12416
12417
  type: "string",
12417
- description: "The text that had a match",
12418
+ description: "The text that matched.",
12418
12419
  },
12419
12420
  indices: {
12420
12421
  type: "array",
12421
- description: "The indices of the text that had a match",
12422
+ description: "Start and end indices of the match.",
12422
12423
  items: {
12423
12424
  type: "number",
12424
12425
  },
@@ -12433,67 +12434,81 @@ export const githubSearchOrganizationDefinition = {
12433
12434
  },
12434
12435
  {
12435
12436
  type: "object",
12436
- description: "Commit result content",
12437
- required: ["sha", "url", "message", "author", "committer", "parents", "tree", "commitDate"],
12437
+ description: "Commit search result content.",
12438
+ required: ["sha", "url", "commit", "score"],
12438
12439
  properties: {
12439
12440
  sha: {
12440
12441
  type: "string",
12441
- description: "The SHA of the commit that had a match",
12442
+ description: "The commit SHA.",
12442
12443
  },
12443
12444
  url: {
12444
12445
  type: "string",
12445
- description: "The URL of the commit that had a match",
12446
+ description: "The API URL of the commit.",
12446
12447
  },
12447
12448
  commit: {
12448
12449
  type: "object",
12449
- required: ["message", "author", "score", "files"],
12450
+ required: ["message", "author"],
12450
12451
  properties: {
12452
+ message: {
12453
+ type: "string",
12454
+ description: "The commit message.",
12455
+ },
12451
12456
  author: {
12452
12457
  type: "object",
12453
12458
  required: ["name", "email", "date"],
12454
12459
  properties: {
12455
12460
  name: {
12456
12461
  type: "string",
12457
- description: "The name of the author",
12462
+ description: "The commit author name.",
12458
12463
  },
12459
12464
  email: {
12460
12465
  type: "string",
12461
- description: "The email of the author",
12466
+ description: "The commit author email.",
12462
12467
  },
12463
12468
  date: {
12464
12469
  type: "string",
12465
- description: "The date of the commit",
12470
+ description: "The commit date.",
12466
12471
  },
12467
12472
  },
12468
12473
  },
12469
- message: {
12474
+ },
12475
+ },
12476
+ author: {
12477
+ type: "object",
12478
+ description: "The GitHub user who authored the commit.",
12479
+ properties: {
12480
+ login: {
12470
12481
  type: "string",
12471
- description: "The message of the commit",
12482
+ description: "GitHub username of the author.",
12483
+ },
12484
+ html_url: {
12485
+ type: "string",
12486
+ description: "URL to the author’s GitHub profile.",
12472
12487
  },
12473
12488
  },
12474
- score: {
12475
- type: "number",
12476
- description: "The score of the commit",
12477
- },
12478
- files: {
12479
- type: "array",
12480
- description: "A list of files that match the query",
12481
- items: {
12482
- type: "object",
12483
- required: ["filename", "status", "patch"],
12484
- properties: {
12485
- filename: {
12486
- type: "string",
12487
- description: "The filename of the file",
12488
- },
12489
- status: {
12490
- type: "string",
12491
- description: "The status of the file",
12492
- },
12493
- patch: {
12494
- type: "string",
12495
- description: "The patch of the file",
12496
- },
12489
+ },
12490
+ score: {
12491
+ type: "number",
12492
+ description: "The commit search relevance score.",
12493
+ },
12494
+ files: {
12495
+ type: "array",
12496
+ description: "List of files changed in the commit.",
12497
+ items: {
12498
+ type: "object",
12499
+ required: ["filename", "status"],
12500
+ properties: {
12501
+ filename: {
12502
+ type: "string",
12503
+ description: "The filename of the changed file.",
12504
+ },
12505
+ status: {
12506
+ type: "string",
12507
+ description: "The status of the change (added, modified, deleted).",
12508
+ },
12509
+ patch: {
12510
+ type: "string",
12511
+ description: "The diff patch (truncated).",
12497
12512
  },
12498
12513
  },
12499
12514
  },
@@ -12502,56 +12517,70 @@ export const githubSearchOrganizationDefinition = {
12502
12517
  },
12503
12518
  {
12504
12519
  type: "object",
12505
- description: "Issue or pull request result content",
12506
- required: ["title", "url", "state", "createdAt", "updatedAt", "user"],
12520
+ description: "Issue or pull request search result content.",
12521
+ required: ["number", "title", "html_url", "state", "isPullRequest", "user", "score"],
12507
12522
  properties: {
12508
12523
  number: {
12509
12524
  type: "number",
12510
- description: "The number of the issue or pull request",
12525
+ description: "The issue or pull request number.",
12511
12526
  },
12512
12527
  title: {
12513
12528
  type: "string",
12514
- description: "The title of the issue or pull request",
12529
+ description: "The title of the issue or pull request.",
12515
12530
  },
12516
12531
  html_url: {
12517
12532
  type: "string",
12518
- description: "The URL of the issue or pull request",
12533
+ description: "The URL of the issue or pull request.",
12519
12534
  },
12520
12535
  state: {
12521
12536
  type: "string",
12522
- description: "The state of the issue or pull request",
12523
12537
  enum: ["open", "closed"],
12538
+ description: "The state of the issue or pull request.",
12524
12539
  },
12525
12540
  isPullRequest: {
12526
12541
  type: "boolean",
12527
- description: "Whether the issue or pull request is a pull request",
12542
+ description: "Whether the item is a pull request.",
12528
12543
  },
12529
12544
  body: {
12530
12545
  type: "string",
12531
- description: "The body of the issue or pull request",
12546
+ description: "The body text of the issue or pull request.",
12547
+ },
12548
+ user: {
12549
+ type: "object",
12550
+ description: "The user who created the issue or pull request.",
12551
+ properties: {
12552
+ name: {
12553
+ type: "string",
12554
+ description: "The user’s display name.",
12555
+ },
12556
+ email: {
12557
+ type: "string",
12558
+ description: "The user’s email address, if available.",
12559
+ },
12560
+ },
12532
12561
  },
12533
12562
  score: {
12534
12563
  type: "number",
12535
- description: "The score of the issue or pull request",
12564
+ description: "The search result relevance score.",
12536
12565
  },
12537
12566
  files: {
12538
12567
  type: "array",
12539
- description: "A list of files that match the query",
12568
+ description: "Files associated with the pull request.",
12540
12569
  items: {
12541
12570
  type: "object",
12542
12571
  required: ["filename", "status"],
12543
12572
  properties: {
12544
12573
  filename: {
12545
12574
  type: "string",
12546
- description: "The filename of the file",
12575
+ description: "File name in the PR diff.",
12547
12576
  },
12548
12577
  status: {
12549
12578
  type: "string",
12550
- description: "The status of the file",
12579
+ description: "File change status (added, modified, removed).",
12551
12580
  },
12552
12581
  patch: {
12553
12582
  type: "string",
12554
- description: "The patch of the file",
12583
+ description: "Diff patch content (truncated).",
12555
12584
  },
12556
12585
  },
12557
12586
  },
@@ -9567,20 +9567,20 @@ export declare const githubSearchOrganizationOutputSchema: z.ZodObject<{
9567
9567
  success: z.ZodBoolean;
9568
9568
  error: z.ZodOptional<z.ZodString>;
9569
9569
  results: z.ZodOptional<z.ZodArray<z.ZodObject<{
9570
+ type: z.ZodEnum<["code", "commit", "issueOrPullRequest"]>;
9570
9571
  name: z.ZodString;
9571
9572
  url: z.ZodString;
9572
- type: z.ZodEnum<["code", "commit", "issueOrPullRequest"]>;
9573
- content: z.ZodEffects<z.ZodAny, any, any>;
9573
+ contents: z.ZodEffects<z.ZodAny, any, any>;
9574
9574
  }, "strip", z.ZodTypeAny, {
9575
9575
  type: "code" | "commit" | "issueOrPullRequest";
9576
9576
  name: string;
9577
9577
  url: string;
9578
- content?: any;
9578
+ contents?: any;
9579
9579
  }, {
9580
9580
  type: "code" | "commit" | "issueOrPullRequest";
9581
9581
  name: string;
9582
9582
  url: string;
9583
- content?: any;
9583
+ contents?: any;
9584
9584
  }>, "many">>;
9585
9585
  }, "strip", z.ZodTypeAny, {
9586
9586
  success: boolean;
@@ -9589,7 +9589,7 @@ export declare const githubSearchOrganizationOutputSchema: z.ZodObject<{
9589
9589
  type: "code" | "commit" | "issueOrPullRequest";
9590
9590
  name: string;
9591
9591
  url: string;
9592
- content?: any;
9592
+ contents?: any;
9593
9593
  }[] | undefined;
9594
9594
  }, {
9595
9595
  success: boolean;
@@ -9598,7 +9598,7 @@ export declare const githubSearchOrganizationOutputSchema: z.ZodObject<{
9598
9598
  type: "code" | "commit" | "issueOrPullRequest";
9599
9599
  name: string;
9600
9600
  url: string;
9601
- content?: any;
9601
+ contents?: any;
9602
9602
  }[] | undefined;
9603
9603
  }>;
9604
9604
  export type githubSearchOrganizationOutputType = z.infer<typeof githubSearchOrganizationOutputSchema>;
@@ -9715,15 +9715,15 @@ export declare const githubGetBranchOutputSchema: z.ZodObject<{
9715
9715
  }, "strip", z.ZodTypeAny, {
9716
9716
  type?: string | undefined;
9717
9717
  id?: number | undefined;
9718
- login?: string | undefined;
9719
9718
  html_url?: string | undefined;
9719
+ login?: string | undefined;
9720
9720
  node_id?: string | undefined;
9721
9721
  avatar_url?: string | undefined;
9722
9722
  }, {
9723
9723
  type?: string | undefined;
9724
9724
  id?: number | undefined;
9725
- login?: string | undefined;
9726
9725
  html_url?: string | undefined;
9726
+ login?: string | undefined;
9727
9727
  node_id?: string | undefined;
9728
9728
  avatar_url?: string | undefined;
9729
9729
  }>>>;
@@ -9737,15 +9737,15 @@ export declare const githubGetBranchOutputSchema: z.ZodObject<{
9737
9737
  }, "strip", z.ZodTypeAny, {
9738
9738
  type?: string | undefined;
9739
9739
  id?: number | undefined;
9740
- login?: string | undefined;
9741
9740
  html_url?: string | undefined;
9741
+ login?: string | undefined;
9742
9742
  node_id?: string | undefined;
9743
9743
  avatar_url?: string | undefined;
9744
9744
  }, {
9745
9745
  type?: string | undefined;
9746
9746
  id?: number | undefined;
9747
- login?: string | undefined;
9748
9747
  html_url?: string | undefined;
9748
+ login?: string | undefined;
9749
9749
  node_id?: string | undefined;
9750
9750
  avatar_url?: string | undefined;
9751
9751
  }>>>;
@@ -9768,16 +9768,16 @@ export declare const githubGetBranchOutputSchema: z.ZodObject<{
9768
9768
  author?: {
9769
9769
  type?: string | undefined;
9770
9770
  id?: number | undefined;
9771
- login?: string | undefined;
9772
9771
  html_url?: string | undefined;
9772
+ login?: string | undefined;
9773
9773
  node_id?: string | undefined;
9774
9774
  avatar_url?: string | undefined;
9775
9775
  } | null | undefined;
9776
9776
  committer?: {
9777
9777
  type?: string | undefined;
9778
9778
  id?: number | undefined;
9779
- login?: string | undefined;
9780
9779
  html_url?: string | undefined;
9780
+ login?: string | undefined;
9781
9781
  node_id?: string | undefined;
9782
9782
  avatar_url?: string | undefined;
9783
9783
  } | null | undefined;
@@ -9814,16 +9814,16 @@ export declare const githubGetBranchOutputSchema: z.ZodObject<{
9814
9814
  author?: {
9815
9815
  type?: string | undefined;
9816
9816
  id?: number | undefined;
9817
- login?: string | undefined;
9818
9817
  html_url?: string | undefined;
9818
+ login?: string | undefined;
9819
9819
  node_id?: string | undefined;
9820
9820
  avatar_url?: string | undefined;
9821
9821
  } | null | undefined;
9822
9822
  committer?: {
9823
9823
  type?: string | undefined;
9824
9824
  id?: number | undefined;
9825
- login?: string | undefined;
9826
9825
  html_url?: string | undefined;
9826
+ login?: string | undefined;
9827
9827
  node_id?: string | undefined;
9828
9828
  avatar_url?: string | undefined;
9829
9829
  } | null | undefined;
@@ -9905,16 +9905,16 @@ export declare const githubGetBranchOutputSchema: z.ZodObject<{
9905
9905
  author?: {
9906
9906
  type?: string | undefined;
9907
9907
  id?: number | undefined;
9908
- login?: string | undefined;
9909
9908
  html_url?: string | undefined;
9909
+ login?: string | undefined;
9910
9910
  node_id?: string | undefined;
9911
9911
  avatar_url?: string | undefined;
9912
9912
  } | null | undefined;
9913
9913
  committer?: {
9914
9914
  type?: string | undefined;
9915
9915
  id?: number | undefined;
9916
- login?: string | undefined;
9917
9916
  html_url?: string | undefined;
9917
+ login?: string | undefined;
9918
9918
  node_id?: string | undefined;
9919
9919
  avatar_url?: string | undefined;
9920
9920
  } | null | undefined;
@@ -9968,16 +9968,16 @@ export declare const githubGetBranchOutputSchema: z.ZodObject<{
9968
9968
  author?: {
9969
9969
  type?: string | undefined;
9970
9970
  id?: number | undefined;
9971
- login?: string | undefined;
9972
9971
  html_url?: string | undefined;
9972
+ login?: string | undefined;
9973
9973
  node_id?: string | undefined;
9974
9974
  avatar_url?: string | undefined;
9975
9975
  } | null | undefined;
9976
9976
  committer?: {
9977
9977
  type?: string | undefined;
9978
9978
  id?: number | undefined;
9979
- login?: string | undefined;
9980
9979
  html_url?: string | undefined;
9980
+ login?: string | undefined;
9981
9981
  node_id?: string | undefined;
9982
9982
  avatar_url?: string | undefined;
9983
9983
  } | null | undefined;
@@ -10035,16 +10035,16 @@ export declare const githubGetBranchOutputSchema: z.ZodObject<{
10035
10035
  author?: {
10036
10036
  type?: string | undefined;
10037
10037
  id?: number | undefined;
10038
- login?: string | undefined;
10039
10038
  html_url?: string | undefined;
10039
+ login?: string | undefined;
10040
10040
  node_id?: string | undefined;
10041
10041
  avatar_url?: string | undefined;
10042
10042
  } | null | undefined;
10043
10043
  committer?: {
10044
10044
  type?: string | undefined;
10045
10045
  id?: number | undefined;
10046
- login?: string | undefined;
10047
10046
  html_url?: string | undefined;
10047
+ login?: string | undefined;
10048
10048
  node_id?: string | undefined;
10049
10049
  avatar_url?: string | undefined;
10050
10050
  } | null | undefined;
@@ -10102,16 +10102,16 @@ export declare const githubGetBranchOutputSchema: z.ZodObject<{
10102
10102
  author?: {
10103
10103
  type?: string | undefined;
10104
10104
  id?: number | undefined;
10105
- login?: string | undefined;
10106
10105
  html_url?: string | undefined;
10106
+ login?: string | undefined;
10107
10107
  node_id?: string | undefined;
10108
10108
  avatar_url?: string | undefined;
10109
10109
  } | null | undefined;
10110
10110
  committer?: {
10111
10111
  type?: string | undefined;
10112
10112
  id?: number | undefined;
10113
- login?: string | undefined;
10114
10113
  html_url?: string | undefined;
10114
+ login?: string | undefined;
10115
10115
  node_id?: string | undefined;
10116
10116
  avatar_url?: string | undefined;
10117
10117
  } | null | undefined;