@knowttl/artium-axi 0.0.21 → 0.0.22

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.
@@ -19734,6 +19734,7 @@ var definitions = {
19734
19734
  TOOL_NOT_GRANTED: { status: 403, message: "The user has no role granting this tool.", next: "Ask the administrator to assign a role granting the tool." },
19735
19735
  MASTER_KEY_INVALID: { status: 503, message: "The master key is missing or invalid.", next: "Supply a 32-byte master key file or a base64 master key." },
19736
19736
  CREDENTIAL_INVALID: { status: 503, message: "The stored credential is invalid.", next: "Ask an administrator to check the named field, matching master key and credential JSON, then save and test again." },
19737
+ CREDENTIAL_EXPIRED: { status: 503, message: "The GitHub credential expired or was revoked.", next: "Ask an administrator to reconnect at /admin/tools/gh-axi. Tokens are never refreshed automatically." },
19737
19738
  FLAG_BLOCKED: { status: 400, message: "The arguments override the managed tool boundary.", next: "Remove destination, tenant, credential or local configuration overrides." },
19738
19739
  CREDENTIAL_NOT_CONFIGURED: { status: 503, message: "No credential is configured for the tool.", next: "Ask an administrator to save a credential and run Test credential." },
19739
19740
  UPSTREAM_AUTH_FAILED: { status: 503, message: "The upstream service rejected the credential.", next: "Ask an administrator to check the provider code, identity, secret expiry and permissions, then test again." },
@@ -19775,6 +19776,1246 @@ function errorResponse(error62, requestId) {
19775
19776
  return { error: { code: error62.code, source: error62.source, message: error62.message, next: error62.next, requestId: error62.requestId ?? requestId } };
19776
19777
  }
19777
19778
 
19779
+ // tools/inventories/gh-axi.json
19780
+ var gh_axi_default = {
19781
+ generatedBy: "scripts/gh-inventory.mjs",
19782
+ tool: "gh-axi",
19783
+ version: "0.1.44",
19784
+ integrity: "sha512-iBH2a59aR/zQHWwMz/7ft6P6ldOBodfolFCgwoKviX8/hMkyAJ8R9hIf3BjRCWz7v11hXvuQXte7P1GQUci9tg==",
19785
+ parserEvidence: "Hand-reviewed published dispatch switches and per-command parsers; exact writes use host preview and confirmation",
19786
+ skillSha256: "3d01b3112442275d52cc5847cb17543c710128f4591346e77eeecc30c45e76f3",
19787
+ sdk: {
19788
+ version: "0.1.13",
19789
+ integrity: "sha512-Ygh8qUN5kdwQ3ASw+BNzCKYpy5QYi18vfcEpqEOQOSrcyh6i4wChrPMtvVW0/3Sqho3xPH3CuFkP0QUma5oxxA==",
19790
+ manifestSha256: "dbe3acffeb40dfcca73ce33f60f807bbba8cd5cec6a470b2c7f255b50e02e184"
19791
+ },
19792
+ gh: {
19793
+ version: "2.101.0",
19794
+ url: "https://github.com/cli/cli/releases/download/v2.101.0/gh_2.101.0_linux_amd64.tar.gz",
19795
+ sha256: "9bca2d1c16825f109907a23307628a2f0698fbf99662b73a5cf0b020293072b8",
19796
+ checksums: "https://github.com/cli/cli/releases/download/v2.101.0/gh_2.101.0_checksums.txt"
19797
+ },
19798
+ sources: [
19799
+ {
19800
+ path: "dist/bin/gh-axi.js",
19801
+ sha256: "85bde76c2b7dd0c72bfb4c52a45c55177c907fa3ac08b68d83bcbc6e2343a4a8"
19802
+ },
19803
+ {
19804
+ path: "dist/src/args.js",
19805
+ sha256: "3a68da77f834d27668d0bb6645defa3884fe04edab1e6f255b7f88e9b590d6fd"
19806
+ },
19807
+ {
19808
+ path: "dist/src/attach.js",
19809
+ sha256: "37cc676365545ddc6eeddb0eb00e143c54f75e9d75e83f17108dafd17065d8eb"
19810
+ },
19811
+ {
19812
+ path: "dist/src/body.js",
19813
+ sha256: "460030cb2561e7188ca6b7aa0d441de64238d4ccc6df189ece5249b8bd4b56a6"
19814
+ },
19815
+ {
19816
+ path: "dist/src/cli.js",
19817
+ sha256: "546fa90992dcaad03178f9d869e5a74f2fc2859bc84443a795518e9b3c96f0e5"
19818
+ },
19819
+ {
19820
+ path: "dist/src/commands/api.js",
19821
+ sha256: "f40412051bea3b5c49c68224a5accd54b18fadada6cefab10280069506f311a1"
19822
+ },
19823
+ {
19824
+ path: "dist/src/commands/discussion.js",
19825
+ sha256: "3e806177d3bebbf2da08fafc07bccc8ca3e0dced78296dfe2d41d9d2baa50904"
19826
+ },
19827
+ {
19828
+ path: "dist/src/commands/gist.js",
19829
+ sha256: "2b80906f9860c5d6cae358f40e931b618eb9742f27567610201b967620c02683"
19830
+ },
19831
+ {
19832
+ path: "dist/src/commands/home.js",
19833
+ sha256: "15ff96c95b737444afb082f538ff55a204062a82a9179f85931015fff211ab16"
19834
+ },
19835
+ {
19836
+ path: "dist/src/commands/issue.js",
19837
+ sha256: "74a8d64041300ee24a14fc8488cd9099e919c211f7a4600b8740580115819185"
19838
+ },
19839
+ {
19840
+ path: "dist/src/commands/label.js",
19841
+ sha256: "54f6f35b114e9e965dd30602cab6fe16feb1d58b54a4062b1bbfcbea568bf896"
19842
+ },
19843
+ {
19844
+ path: "dist/src/commands/pr.js",
19845
+ sha256: "ba7d6333f08e1ebc32484f86e9017b57e37671c6e83cbd5300ee7aab4837a395"
19846
+ },
19847
+ {
19848
+ path: "dist/src/commands/project.js",
19849
+ sha256: "eb02ead1ab4828b6a5db7bd0a3f2c829e497e23a4c191ce5bd9f4003184fda9c"
19850
+ },
19851
+ {
19852
+ path: "dist/src/commands/release.js",
19853
+ sha256: "5a8bc903d81b94767cece3ab7ecb788e74803251720db79b0d6aadcf728ea738"
19854
+ },
19855
+ {
19856
+ path: "dist/src/commands/repo.js",
19857
+ sha256: "8226acc8724144767423474d181fd68edd7460d46e983b8b50c0903d0881f945"
19858
+ },
19859
+ {
19860
+ path: "dist/src/commands/run.js",
19861
+ sha256: "3e87712fa0296d561692fa635320948741c4b057f89ad4b5ee9c6ce730a933a4"
19862
+ },
19863
+ {
19864
+ path: "dist/src/commands/search.js",
19865
+ sha256: "1bf46a1673b537d9ca948800e9cd494938aa7d3f6dfd88f5b0ac75bf4ac56fbc"
19866
+ },
19867
+ {
19868
+ path: "dist/src/commands/secret.js",
19869
+ sha256: "40de397f4e9197230a548c18ede51b52f8351385e95e438f9d81b9c16999acd9"
19870
+ },
19871
+ {
19872
+ path: "dist/src/commands/setup.js",
19873
+ sha256: "028f7ef47f329e2873e84c06ced30567c01ddc8eb2e2bc174d7a1f02fa65d942"
19874
+ },
19875
+ {
19876
+ path: "dist/src/commands/stack.js",
19877
+ sha256: "ffabb16c0a7633b57e25856601708e7ed8a625d0668b9fc983e8be9840ab9fdb"
19878
+ },
19879
+ {
19880
+ path: "dist/src/commands/variable.js",
19881
+ sha256: "86355d036a38264762487647067e08ab8af8511320bb270cc38507603545c872"
19882
+ },
19883
+ {
19884
+ path: "dist/src/commands/workflow.js",
19885
+ sha256: "cf15c2416f2687ac236d1f825c1d1fa82c9ca349cd63c036814cb3744fc37962"
19886
+ },
19887
+ {
19888
+ path: "dist/src/comment.js",
19889
+ sha256: "bade28c489815a8d14d3478043c85070d915ee995289f8ce83aa0d288c1b4905"
19890
+ },
19891
+ {
19892
+ path: "dist/src/context.js",
19893
+ sha256: "4b3e45a3f1fd90e211b72c16c284809f4187d71eaa119385aef20fa7559a5610"
19894
+ },
19895
+ {
19896
+ path: "dist/src/debug.js",
19897
+ sha256: "fcf150a8eefe5f6848d7866da8bdf85bef26ffaa5ccdca7a248f05d665113320"
19898
+ },
19899
+ {
19900
+ path: "dist/src/errors.js",
19901
+ sha256: "83f11df70874ff3983c4da806f0b2f2c371c093764a81590c75eb08ecd9e6bc4"
19902
+ },
19903
+ {
19904
+ path: "dist/src/fields.js",
19905
+ sha256: "4470f2680ad5583f8de182e9db3ea43635982c08da59060fa550bb8fdc9a7fb3"
19906
+ },
19907
+ {
19908
+ path: "dist/src/format.js",
19909
+ sha256: "aa3f03c925fe809f0e083938be03668ec79837b1ecf01f7e1a00d314bded89bf"
19910
+ },
19911
+ {
19912
+ path: "dist/src/gh.js",
19913
+ sha256: "de6defe48e0258999199efd9075a9aef77056c0e4c45407cd9c1304267f24b7c"
19914
+ },
19915
+ {
19916
+ path: "dist/src/gistSelector.js",
19917
+ sha256: "0e42b44f8acb2721c1e41ca16693c089b3861351e3d379f14a9054e0eb2e8441"
19918
+ },
19919
+ {
19920
+ path: "dist/src/host.js",
19921
+ sha256: "31b33c1924fc1dfb0dd100d1ee0ab26aadd6b8110dc338bcba731360c05ce6f5"
19922
+ },
19923
+ {
19924
+ path: "dist/src/secretValue.js",
19925
+ sha256: "56b3ee3a50923a399e71a966fe6381774712ed7ec478ce0adf211ea66606d63b"
19926
+ },
19927
+ {
19928
+ path: "dist/src/skill.js",
19929
+ sha256: "96eb92d2ec2fc58178cf6e45d30f67819feaa0dda5ec72dd80eb3da316413a65"
19930
+ },
19931
+ {
19932
+ path: "dist/src/stdin.js",
19933
+ sha256: "fa82d2ff3096c71d9a3e20554c2fd70748ddd113020073fca89258e7e3560d81"
19934
+ },
19935
+ {
19936
+ path: "dist/src/suggestions.js",
19937
+ sha256: "411eed328a7edce95bb231cdcd7dda1de3e2293351fe27419a04054541a893f1"
19938
+ },
19939
+ {
19940
+ path: "dist/src/toon.js",
19941
+ sha256: "d9f6a6a757cd5166bb0be1120858c4a2c974f92ec5ea0e756135e061795a0355"
19942
+ },
19943
+ {
19944
+ path: "dist/src/totals.js",
19945
+ sha256: "a7e21c8a0ccdc70e11c8211d876d31ccc3ebe7cd3726958c5eb9a9c375784342"
19946
+ },
19947
+ {
19948
+ path: "dist/src/version.js",
19949
+ sha256: "6d3dc30d3422f2c22bb04cd5d2d29475d3dbcd3beff4fb57e2014a0d6df620c2"
19950
+ },
19951
+ {
19952
+ path: "axi-sdk-js/dist/cli.js",
19953
+ sha256: "7bda640cc33a6f5226e60b7df2ef7ea8c765431c0e89a267273993370bdd8121"
19954
+ },
19955
+ {
19956
+ path: "axi-sdk-js/dist/errors.js",
19957
+ sha256: "ae30f95f0a82cfbdb51051575ce713ad90acd8b89138c64fa26e76a8716fda4f"
19958
+ },
19959
+ {
19960
+ path: "axi-sdk-js/dist/fast-path.js",
19961
+ sha256: "a3733ac9e099d3d2f09183f1ad2977a7e9613fa3dd5a207ee5f5f838efbfa840"
19962
+ },
19963
+ {
19964
+ path: "axi-sdk-js/dist/hooks.js",
19965
+ sha256: "3bfe0ce4ec57b475cd69f63a1c9c6487317219540619534dbd583f1042fbb777"
19966
+ },
19967
+ {
19968
+ path: "axi-sdk-js/dist/index.js",
19969
+ sha256: "265f9730c582cb1e8e19dc832f3603006e52d73f22e79b62a995cec400a84b2e"
19970
+ },
19971
+ {
19972
+ path: "axi-sdk-js/dist/output.js",
19973
+ sha256: "87aea7c181989b802af98cbe895f9aae1e72d4bca039dafca6f975ff15fc482c"
19974
+ },
19975
+ {
19976
+ path: "axi-sdk-js/dist/update.js",
19977
+ sha256: "337c6ac93156d50e6ac2375ac436a7a94e87d9bd15d15d030dc060f65b6c88e4"
19978
+ }
19979
+ ],
19980
+ adapterBoundary: {
19981
+ unsafeOverrides: [
19982
+ "hostname",
19983
+ "watch",
19984
+ "attach",
19985
+ "body-file",
19986
+ "notes-file",
19987
+ "input",
19988
+ "file",
19989
+ "add",
19990
+ "raw-field",
19991
+ "header",
19992
+ "admin",
19993
+ "delete-branch",
19994
+ "source",
19995
+ "push",
19996
+ "clone",
19997
+ "remote"
19998
+ ],
19999
+ blockedCommands: [
20000
+ "home",
20001
+ "update",
20002
+ "setup",
20003
+ "stack",
20004
+ "issue lock",
20005
+ "issue unlock",
20006
+ "pr checkout",
20007
+ "repo clone",
20008
+ "gist clone",
20009
+ "run watch",
20010
+ "run download",
20011
+ "release download"
20012
+ ],
20013
+ nativeWrites: "host-classified; exact operations, preview and confirmation",
20014
+ inputs: {
20015
+ stdin: "gist create/edit with filename only",
20016
+ files: "unsupported"
20017
+ }
20018
+ },
20019
+ discovery: {
20020
+ commands: [
20021
+ "issue",
20022
+ "pr",
20023
+ "discussion",
20024
+ "run",
20025
+ "workflow",
20026
+ "release",
20027
+ "repo",
20028
+ "label",
20029
+ "gist",
20030
+ "project",
20031
+ "secret",
20032
+ "variable",
20033
+ "search",
20034
+ "api"
20035
+ ],
20036
+ example: [
20037
+ "repo",
20038
+ "list",
20039
+ "--limit",
20040
+ "1"
20041
+ ],
20042
+ help: "gh-axi repo list [<owner>] [--limit <n>]\nManaged GitHub API access. Use -R OWNER/NAME for repository commands. Writes require an administrator-enabled exact operation, host preview and --confirm. api accepts [GET] <relative-path>; GraphQL and other methods are refused. Stdin only for gist create/edit with --filename; no files.\n"
20043
+ },
20044
+ suggestionFields: [
20045
+ "help"
20046
+ ],
20047
+ format: "TOON",
20048
+ commands: [
20049
+ {
20050
+ command: "issue list",
20051
+ effect: "read",
20052
+ flags: {
20053
+ help: "boolean",
20054
+ repo: "value",
20055
+ fields: "value",
20056
+ state: "value",
20057
+ label: "value",
20058
+ assignee: "value",
20059
+ author: "value",
20060
+ milestone: "value",
20061
+ sort: "value",
20062
+ limit: "value"
20063
+ },
20064
+ positionals: 0,
20065
+ repository: true
20066
+ },
20067
+ {
20068
+ command: "issue view",
20069
+ effect: "read",
20070
+ flags: {
20071
+ help: "boolean",
20072
+ repo: "value",
20073
+ comments: "boolean",
20074
+ full: "boolean"
20075
+ },
20076
+ positionals: 1,
20077
+ repository: true
20078
+ },
20079
+ {
20080
+ command: "issue subissue list",
20081
+ effect: "read",
20082
+ flags: {
20083
+ help: "boolean",
20084
+ repo: "value"
20085
+ },
20086
+ positionals: 1,
20087
+ repository: true
20088
+ },
20089
+ {
20090
+ command: "pr list",
20091
+ effect: "read",
20092
+ flags: {
20093
+ help: "boolean",
20094
+ repo: "value",
20095
+ fields: "value",
20096
+ state: "value",
20097
+ label: "value",
20098
+ assignee: "value",
20099
+ author: "value",
20100
+ base: "value",
20101
+ head: "value",
20102
+ limit: "value",
20103
+ draft: "boolean"
20104
+ },
20105
+ positionals: 0,
20106
+ repository: true
20107
+ },
20108
+ {
20109
+ command: "pr view",
20110
+ effect: "read",
20111
+ flags: {
20112
+ help: "boolean",
20113
+ repo: "value",
20114
+ comments: "boolean",
20115
+ reviews: "boolean",
20116
+ checks: "boolean",
20117
+ full: "boolean"
20118
+ },
20119
+ positionals: 1,
20120
+ repository: true
20121
+ },
20122
+ {
20123
+ command: "pr diff",
20124
+ effect: "read",
20125
+ flags: {
20126
+ help: "boolean",
20127
+ repo: "value",
20128
+ full: "boolean"
20129
+ },
20130
+ positionals: 1,
20131
+ repository: true
20132
+ },
20133
+ {
20134
+ command: "pr checks",
20135
+ effect: "read",
20136
+ flags: {
20137
+ help: "boolean",
20138
+ repo: "value",
20139
+ failed: "boolean"
20140
+ },
20141
+ positionals: 1,
20142
+ repository: true
20143
+ },
20144
+ {
20145
+ command: "discussion list",
20146
+ effect: "read",
20147
+ flags: {
20148
+ help: "boolean",
20149
+ repo: "value",
20150
+ state: "value",
20151
+ category: "value",
20152
+ author: "value",
20153
+ label: "value",
20154
+ limit: "value"
20155
+ },
20156
+ positionals: 0,
20157
+ repository: true
20158
+ },
20159
+ {
20160
+ command: "discussion view",
20161
+ effect: "read",
20162
+ flags: {
20163
+ help: "boolean",
20164
+ repo: "value",
20165
+ limit: "value",
20166
+ order: "value",
20167
+ comments: "boolean",
20168
+ full: "boolean"
20169
+ },
20170
+ positionals: 1,
20171
+ repository: true
20172
+ },
20173
+ {
20174
+ command: "run list",
20175
+ effect: "read",
20176
+ flags: {
20177
+ help: "boolean",
20178
+ repo: "value",
20179
+ fields: "value",
20180
+ limit: "value",
20181
+ workflow: "value",
20182
+ branch: "value",
20183
+ status: "value",
20184
+ event: "value",
20185
+ user: "value",
20186
+ commit: "value"
20187
+ },
20188
+ positionals: 0,
20189
+ repository: true
20190
+ },
20191
+ {
20192
+ command: "run view",
20193
+ effect: "read",
20194
+ flags: {
20195
+ help: "boolean",
20196
+ repo: "value",
20197
+ job: "value",
20198
+ conclusion: "value",
20199
+ log: "boolean",
20200
+ verbose: "boolean",
20201
+ "log-failed": "boolean"
20202
+ },
20203
+ positionals: 1,
20204
+ repository: true
20205
+ },
20206
+ {
20207
+ command: "workflow list",
20208
+ effect: "read",
20209
+ flags: {
20210
+ help: "boolean",
20211
+ repo: "value",
20212
+ limit: "value",
20213
+ all: "boolean"
20214
+ },
20215
+ positionals: 0,
20216
+ repository: true
20217
+ },
20218
+ {
20219
+ command: "workflow view",
20220
+ effect: "read",
20221
+ flags: {
20222
+ help: "boolean",
20223
+ repo: "value",
20224
+ yaml: "boolean"
20225
+ },
20226
+ positionals: 1,
20227
+ repository: true
20228
+ },
20229
+ {
20230
+ command: "release list",
20231
+ effect: "read",
20232
+ flags: {
20233
+ help: "boolean",
20234
+ repo: "value",
20235
+ limit: "value",
20236
+ "exclude-drafts": "boolean",
20237
+ "exclude-pre-releases": "boolean"
20238
+ },
20239
+ positionals: 0,
20240
+ repository: true
20241
+ },
20242
+ {
20243
+ command: "release view",
20244
+ effect: "read",
20245
+ flags: {
20246
+ help: "boolean",
20247
+ repo: "value",
20248
+ full: "boolean"
20249
+ },
20250
+ positionals: 1,
20251
+ repository: true
20252
+ },
20253
+ {
20254
+ command: "repo view",
20255
+ effect: "read",
20256
+ flags: {
20257
+ help: "boolean",
20258
+ repo: "value"
20259
+ },
20260
+ positionals: 0,
20261
+ repository: true
20262
+ },
20263
+ {
20264
+ command: "repo list",
20265
+ effect: "read",
20266
+ flags: {
20267
+ help: "boolean",
20268
+ limit: "value",
20269
+ visibility: "value",
20270
+ language: "value",
20271
+ archived: "boolean"
20272
+ },
20273
+ positionals: 1,
20274
+ repository: false
20275
+ },
20276
+ {
20277
+ command: "label list",
20278
+ effect: "read",
20279
+ flags: {
20280
+ help: "boolean",
20281
+ repo: "value",
20282
+ limit: "value"
20283
+ },
20284
+ positionals: 0,
20285
+ repository: true
20286
+ },
20287
+ {
20288
+ command: "gist list",
20289
+ effect: "read",
20290
+ flags: {
20291
+ help: "boolean",
20292
+ limit: "value",
20293
+ fields: "value",
20294
+ public: "boolean",
20295
+ secret: "boolean"
20296
+ },
20297
+ positionals: 0,
20298
+ repository: false
20299
+ },
20300
+ {
20301
+ command: "gist view",
20302
+ effect: "read",
20303
+ flags: {
20304
+ help: "boolean",
20305
+ filename: "value",
20306
+ full: "boolean",
20307
+ files: "boolean"
20308
+ },
20309
+ positionals: 1,
20310
+ repository: false
20311
+ },
20312
+ {
20313
+ command: "project list",
20314
+ effect: "read",
20315
+ flags: {
20316
+ help: "boolean",
20317
+ repo: "value",
20318
+ owner: "value",
20319
+ limit: "value",
20320
+ closed: "boolean"
20321
+ },
20322
+ positionals: 0,
20323
+ repository: false
20324
+ },
20325
+ {
20326
+ command: "project view",
20327
+ effect: "read",
20328
+ flags: {
20329
+ help: "boolean",
20330
+ repo: "value",
20331
+ owner: "value"
20332
+ },
20333
+ positionals: 1,
20334
+ repository: false
20335
+ },
20336
+ {
20337
+ command: "project item-list",
20338
+ effect: "read",
20339
+ flags: {
20340
+ help: "boolean",
20341
+ repo: "value",
20342
+ owner: "value",
20343
+ query: "value",
20344
+ limit: "value"
20345
+ },
20346
+ positionals: 1,
20347
+ repository: false
20348
+ },
20349
+ {
20350
+ command: "project field-list",
20351
+ effect: "read",
20352
+ flags: {
20353
+ help: "boolean",
20354
+ repo: "value",
20355
+ owner: "value",
20356
+ limit: "value"
20357
+ },
20358
+ positionals: 1,
20359
+ repository: false
20360
+ },
20361
+ {
20362
+ command: "secret list",
20363
+ effect: "read",
20364
+ flags: {
20365
+ help: "boolean",
20366
+ repo: "value",
20367
+ env: "value"
20368
+ },
20369
+ positionals: 0,
20370
+ repository: true
20371
+ },
20372
+ {
20373
+ command: "variable list",
20374
+ effect: "read",
20375
+ flags: {
20376
+ help: "boolean",
20377
+ repo: "value"
20378
+ },
20379
+ positionals: 0,
20380
+ repository: true
20381
+ },
20382
+ {
20383
+ command: "search issues",
20384
+ effect: "read",
20385
+ flags: {
20386
+ help: "boolean",
20387
+ repo: "value",
20388
+ owner: "value",
20389
+ state: "value",
20390
+ label: "value",
20391
+ assignee: "value",
20392
+ author: "value",
20393
+ sort: "value",
20394
+ limit: "value",
20395
+ fields: "value"
20396
+ },
20397
+ positionals: "variadic",
20398
+ repository: false
20399
+ },
20400
+ {
20401
+ command: "search prs",
20402
+ effect: "read",
20403
+ flags: {
20404
+ help: "boolean",
20405
+ repo: "value",
20406
+ owner: "value",
20407
+ state: "value",
20408
+ label: "value",
20409
+ assignee: "value",
20410
+ author: "value",
20411
+ sort: "value",
20412
+ limit: "value",
20413
+ review: "value",
20414
+ fields: "value",
20415
+ draft: "boolean"
20416
+ },
20417
+ positionals: "variadic",
20418
+ repository: false
20419
+ },
20420
+ {
20421
+ command: "search repos",
20422
+ effect: "read",
20423
+ flags: {
20424
+ help: "boolean",
20425
+ owner: "value",
20426
+ language: "value",
20427
+ stars: "value",
20428
+ sort: "value",
20429
+ limit: "value"
20430
+ },
20431
+ positionals: "variadic",
20432
+ repository: false
20433
+ },
20434
+ {
20435
+ command: "search commits",
20436
+ effect: "read",
20437
+ flags: {
20438
+ help: "boolean",
20439
+ repo: "value",
20440
+ owner: "value",
20441
+ author: "value",
20442
+ sort: "value",
20443
+ limit: "value"
20444
+ },
20445
+ positionals: "variadic",
20446
+ repository: false
20447
+ },
20448
+ {
20449
+ command: "search code",
20450
+ effect: "read",
20451
+ flags: {
20452
+ help: "boolean",
20453
+ repo: "value",
20454
+ owner: "value",
20455
+ language: "value",
20456
+ limit: "value"
20457
+ },
20458
+ positionals: "variadic",
20459
+ repository: false
20460
+ },
20461
+ {
20462
+ command: "api",
20463
+ effect: "read",
20464
+ flags: {
20465
+ help: "boolean",
20466
+ jq: "value",
20467
+ template: "value",
20468
+ paginate: "boolean",
20469
+ full: "boolean"
20470
+ },
20471
+ positionals: 2,
20472
+ repository: false
20473
+ },
20474
+ {
20475
+ command: "issue create",
20476
+ effect: "write",
20477
+ flags: {
20478
+ help: "boolean",
20479
+ repo: "value",
20480
+ title: "value",
20481
+ body: "value",
20482
+ assignee: "value",
20483
+ label: "value",
20484
+ milestone: "value",
20485
+ project: "value",
20486
+ type: "value",
20487
+ confirm: "value"
20488
+ },
20489
+ positionals: 0,
20490
+ repository: true,
20491
+ tier: "collaboration"
20492
+ },
20493
+ {
20494
+ command: "issue edit",
20495
+ effect: "write",
20496
+ flags: {
20497
+ help: "boolean",
20498
+ repo: "value",
20499
+ title: "value",
20500
+ body: "value",
20501
+ "add-label": "value",
20502
+ "remove-label": "value",
20503
+ "add-assignee": "value",
20504
+ "remove-assignee": "value",
20505
+ milestone: "value",
20506
+ type: "value",
20507
+ "no-type": "boolean",
20508
+ confirm: "value"
20509
+ },
20510
+ positionals: 1,
20511
+ repository: true,
20512
+ tier: "collaboration"
20513
+ },
20514
+ {
20515
+ command: "issue comment",
20516
+ effect: "write",
20517
+ flags: {
20518
+ help: "boolean",
20519
+ repo: "value",
20520
+ body: "value",
20521
+ confirm: "value"
20522
+ },
20523
+ positionals: 1,
20524
+ repository: true,
20525
+ tier: "collaboration"
20526
+ },
20527
+ {
20528
+ command: "issue close",
20529
+ effect: "write",
20530
+ flags: {
20531
+ help: "boolean",
20532
+ repo: "value",
20533
+ reason: "value",
20534
+ "duplicate-of": "value",
20535
+ comment: "value",
20536
+ confirm: "value"
20537
+ },
20538
+ positionals: 1,
20539
+ repository: true,
20540
+ tier: "collaboration"
20541
+ },
20542
+ {
20543
+ command: "issue reopen",
20544
+ effect: "write",
20545
+ flags: {
20546
+ help: "boolean",
20547
+ repo: "value",
20548
+ confirm: "value"
20549
+ },
20550
+ positionals: 1,
20551
+ repository: true,
20552
+ tier: "collaboration"
20553
+ },
20554
+ {
20555
+ command: "pr create",
20556
+ effect: "write",
20557
+ flags: {
20558
+ help: "boolean",
20559
+ repo: "value",
20560
+ title: "value",
20561
+ body: "value",
20562
+ base: "value",
20563
+ head: "value",
20564
+ assignee: "value",
20565
+ reviewer: "value",
20566
+ label: "value",
20567
+ milestone: "value",
20568
+ project: "value",
20569
+ draft: "boolean",
20570
+ confirm: "value"
20571
+ },
20572
+ positionals: 0,
20573
+ repository: true,
20574
+ tier: "collaboration"
20575
+ },
20576
+ {
20577
+ command: "pr edit",
20578
+ effect: "write",
20579
+ flags: {
20580
+ help: "boolean",
20581
+ repo: "value",
20582
+ title: "value",
20583
+ body: "value",
20584
+ "add-label": "value",
20585
+ "remove-label": "value",
20586
+ "add-assignee": "value",
20587
+ "remove-assignee": "value",
20588
+ "add-reviewer": "value",
20589
+ "remove-reviewer": "value",
20590
+ milestone: "value",
20591
+ base: "value",
20592
+ confirm: "value"
20593
+ },
20594
+ positionals: 1,
20595
+ repository: true,
20596
+ tier: "collaboration"
20597
+ },
20598
+ {
20599
+ command: "pr comment",
20600
+ effect: "write",
20601
+ flags: {
20602
+ help: "boolean",
20603
+ repo: "value",
20604
+ body: "value",
20605
+ confirm: "value"
20606
+ },
20607
+ positionals: 1,
20608
+ repository: true,
20609
+ tier: "collaboration"
20610
+ },
20611
+ {
20612
+ command: "pr ready",
20613
+ effect: "write",
20614
+ flags: {
20615
+ help: "boolean",
20616
+ repo: "value",
20617
+ undo: "boolean",
20618
+ confirm: "value"
20619
+ },
20620
+ positionals: 1,
20621
+ repository: true,
20622
+ tier: "collaboration"
20623
+ },
20624
+ {
20625
+ command: "pr review",
20626
+ effect: "write",
20627
+ flags: {
20628
+ help: "boolean",
20629
+ repo: "value",
20630
+ body: "value",
20631
+ "match-head-commit": "value",
20632
+ approve: "boolean",
20633
+ "request-changes": "boolean",
20634
+ comment: "boolean",
20635
+ confirm: "value"
20636
+ },
20637
+ positionals: 1,
20638
+ repository: true,
20639
+ tier: "collaboration"
20640
+ },
20641
+ {
20642
+ command: "discussion comment",
20643
+ effect: "write",
20644
+ flags: {
20645
+ help: "boolean",
20646
+ repo: "value",
20647
+ body: "value",
20648
+ confirm: "value"
20649
+ },
20650
+ positionals: 1,
20651
+ repository: true,
20652
+ tier: "collaboration"
20653
+ },
20654
+ {
20655
+ command: "label create",
20656
+ effect: "write",
20657
+ flags: {
20658
+ help: "boolean",
20659
+ repo: "value",
20660
+ name: "value",
20661
+ color: "value",
20662
+ description: "value",
20663
+ confirm: "value"
20664
+ },
20665
+ positionals: 0,
20666
+ repository: true,
20667
+ tier: "collaboration"
20668
+ },
20669
+ {
20670
+ command: "label edit",
20671
+ effect: "write",
20672
+ flags: {
20673
+ help: "boolean",
20674
+ repo: "value",
20675
+ name: "value",
20676
+ color: "value",
20677
+ description: "value",
20678
+ confirm: "value"
20679
+ },
20680
+ positionals: 1,
20681
+ repository: true,
20682
+ tier: "collaboration"
20683
+ },
20684
+ {
20685
+ command: "project item-add",
20686
+ effect: "write",
20687
+ flags: {
20688
+ help: "boolean",
20689
+ owner: "value",
20690
+ url: "value",
20691
+ confirm: "value"
20692
+ },
20693
+ positionals: 1,
20694
+ repository: false,
20695
+ tier: "collaboration"
20696
+ },
20697
+ {
20698
+ command: "project item-create",
20699
+ effect: "write",
20700
+ flags: {
20701
+ help: "boolean",
20702
+ owner: "value",
20703
+ title: "value",
20704
+ body: "value",
20705
+ confirm: "value"
20706
+ },
20707
+ positionals: 1,
20708
+ repository: false,
20709
+ tier: "collaboration"
20710
+ },
20711
+ {
20712
+ command: "project item-edit",
20713
+ effect: "write",
20714
+ flags: {
20715
+ help: "boolean",
20716
+ owner: "value",
20717
+ id: "value",
20718
+ "project-id": "value",
20719
+ "field-id": "value",
20720
+ text: "value",
20721
+ number: "value",
20722
+ date: "value",
20723
+ "single-select-option-id": "value",
20724
+ "iteration-id": "value",
20725
+ title: "value",
20726
+ body: "value",
20727
+ clear: "boolean",
20728
+ confirm: "value"
20729
+ },
20730
+ positionals: 0,
20731
+ repository: false,
20732
+ tier: "collaboration"
20733
+ },
20734
+ {
20735
+ command: "project item-archive",
20736
+ effect: "write",
20737
+ flags: {
20738
+ help: "boolean",
20739
+ owner: "value",
20740
+ id: "value",
20741
+ undo: "boolean",
20742
+ confirm: "value"
20743
+ },
20744
+ positionals: 1,
20745
+ repository: false,
20746
+ tier: "collaboration"
20747
+ },
20748
+ {
20749
+ command: "pr merge",
20750
+ effect: "write",
20751
+ flags: {
20752
+ help: "boolean",
20753
+ repo: "value",
20754
+ method: "value",
20755
+ body: "value",
20756
+ subject: "value",
20757
+ "match-head-commit": "value",
20758
+ auto: "boolean",
20759
+ confirm: "value"
20760
+ },
20761
+ positionals: 1,
20762
+ repository: true,
20763
+ tier: "repository"
20764
+ },
20765
+ {
20766
+ command: "pr update-branch",
20767
+ effect: "write",
20768
+ flags: {
20769
+ help: "boolean",
20770
+ repo: "value",
20771
+ confirm: "value"
20772
+ },
20773
+ positionals: 1,
20774
+ repository: true,
20775
+ tier: "repository"
20776
+ },
20777
+ {
20778
+ command: "pr revert",
20779
+ effect: "write",
20780
+ flags: {
20781
+ help: "boolean",
20782
+ repo: "value",
20783
+ confirm: "value"
20784
+ },
20785
+ positionals: 1,
20786
+ repository: true,
20787
+ tier: "repository"
20788
+ },
20789
+ {
20790
+ command: "release create",
20791
+ effect: "write",
20792
+ flags: {
20793
+ help: "boolean",
20794
+ repo: "value",
20795
+ title: "value",
20796
+ notes: "value",
20797
+ target: "value",
20798
+ "discussion-category": "value",
20799
+ "notes-start-tag": "value",
20800
+ draft: "boolean",
20801
+ prerelease: "boolean",
20802
+ "generate-notes": "boolean",
20803
+ "verify-tag": "boolean",
20804
+ "notes-from-tag": "boolean",
20805
+ "fail-on-no-commits": "boolean",
20806
+ latest: "boolean-value",
20807
+ confirm: "value"
20808
+ },
20809
+ positionals: 1,
20810
+ repository: true,
20811
+ tier: "repository"
20812
+ },
20813
+ {
20814
+ command: "release edit",
20815
+ effect: "write",
20816
+ flags: {
20817
+ help: "boolean",
20818
+ repo: "value",
20819
+ title: "value",
20820
+ notes: "value",
20821
+ draft: "boolean-value",
20822
+ prerelease: "boolean-value",
20823
+ latest: "boolean-value",
20824
+ confirm: "value"
20825
+ },
20826
+ positionals: 1,
20827
+ repository: true,
20828
+ tier: "repository"
20829
+ },
20830
+ {
20831
+ command: "workflow run",
20832
+ effect: "write",
20833
+ flags: {
20834
+ help: "boolean",
20835
+ repo: "value",
20836
+ ref: "value",
20837
+ field: "value",
20838
+ confirm: "value"
20839
+ },
20840
+ positionals: 1,
20841
+ repository: true,
20842
+ tier: "repository"
20843
+ },
20844
+ {
20845
+ command: "workflow enable",
20846
+ effect: "write",
20847
+ flags: {
20848
+ help: "boolean",
20849
+ repo: "value",
20850
+ confirm: "value"
20851
+ },
20852
+ positionals: 1,
20853
+ repository: true,
20854
+ tier: "repository"
20855
+ },
20856
+ {
20857
+ command: "workflow disable",
20858
+ effect: "write",
20859
+ flags: {
20860
+ help: "boolean",
20861
+ repo: "value",
20862
+ confirm: "value"
20863
+ },
20864
+ positionals: 1,
20865
+ repository: true,
20866
+ tier: "repository"
20867
+ },
20868
+ {
20869
+ command: "run rerun",
20870
+ effect: "write",
20871
+ flags: {
20872
+ help: "boolean",
20873
+ repo: "value",
20874
+ job: "value",
20875
+ failed: "boolean",
20876
+ debug: "boolean",
20877
+ confirm: "value"
20878
+ },
20879
+ positionals: 1,
20880
+ repository: true,
20881
+ tier: "repository"
20882
+ },
20883
+ {
20884
+ command: "run cancel",
20885
+ effect: "write",
20886
+ flags: {
20887
+ help: "boolean",
20888
+ repo: "value",
20889
+ confirm: "value"
20890
+ },
20891
+ positionals: 1,
20892
+ repository: true,
20893
+ tier: "repository"
20894
+ },
20895
+ {
20896
+ command: "repo create",
20897
+ effect: "write",
20898
+ flags: {
20899
+ help: "boolean",
20900
+ description: "value",
20901
+ template: "value",
20902
+ public: "boolean",
20903
+ private: "boolean",
20904
+ internal: "boolean",
20905
+ confirm: "value"
20906
+ },
20907
+ positionals: 1,
20908
+ repository: false,
20909
+ tier: "repository"
20910
+ },
20911
+ {
20912
+ command: "repo edit",
20913
+ effect: "write",
20914
+ flags: {
20915
+ help: "boolean",
20916
+ repo: "value",
20917
+ description: "value",
20918
+ "default-branch": "value",
20919
+ "enable-issues": "value",
20920
+ "enable-wiki": "value",
20921
+ confirm: "value"
20922
+ },
20923
+ positionals: 0,
20924
+ repository: true,
20925
+ tier: "repository"
20926
+ },
20927
+ {
20928
+ command: "repo fork",
20929
+ effect: "write",
20930
+ flags: {
20931
+ help: "boolean",
20932
+ repo: "value",
20933
+ confirm: "value"
20934
+ },
20935
+ positionals: 0,
20936
+ repository: true,
20937
+ tier: "repository"
20938
+ },
20939
+ {
20940
+ command: "gist create",
20941
+ effect: "write",
20942
+ flags: {
20943
+ help: "boolean",
20944
+ desc: "value",
20945
+ filename: "value",
20946
+ public: "boolean",
20947
+ secret: "boolean",
20948
+ confirm: "value"
20949
+ },
20950
+ positionals: 0,
20951
+ repository: false,
20952
+ tier: "repository"
20953
+ },
20954
+ {
20955
+ command: "gist edit",
20956
+ effect: "write",
20957
+ flags: {
20958
+ help: "boolean",
20959
+ desc: "value",
20960
+ filename: "value",
20961
+ confirm: "value"
20962
+ },
20963
+ positionals: 1,
20964
+ repository: false,
20965
+ tier: "repository"
20966
+ },
20967
+ {
20968
+ command: "gist rename",
20969
+ effect: "write",
20970
+ flags: {
20971
+ help: "boolean",
20972
+ confirm: "value"
20973
+ },
20974
+ positionals: 3,
20975
+ repository: false,
20976
+ tier: "repository"
20977
+ },
20978
+ {
20979
+ command: "variable set",
20980
+ effect: "write",
20981
+ flags: {
20982
+ help: "boolean",
20983
+ repo: "value",
20984
+ body: "value",
20985
+ confirm: "value"
20986
+ },
20987
+ positionals: 1,
20988
+ repository: true,
20989
+ tier: "repository"
20990
+ },
20991
+ {
20992
+ command: "issue pin",
20993
+ effect: "write",
20994
+ flags: {
20995
+ help: "boolean",
20996
+ repo: "value",
20997
+ confirm: "value"
20998
+ },
20999
+ positionals: 1,
21000
+ repository: true,
21001
+ tier: "repository"
21002
+ },
21003
+ {
21004
+ command: "issue transfer",
21005
+ effect: "write",
21006
+ flags: {
21007
+ help: "boolean",
21008
+ repo: "value",
21009
+ "to-repo": "value",
21010
+ confirm: "value"
21011
+ },
21012
+ positionals: 1,
21013
+ repository: true,
21014
+ tier: "repository"
21015
+ }
21016
+ ]
21017
+ };
21018
+
19778
21019
  // src/shared/api.ts
19779
21020
  var inputLimits = {
19780
21021
  requestBytes: 16 * 1024 * 1024,
@@ -19940,7 +21181,7 @@ var meResponseSchema = external_exports.strictObject({
19940
21181
  sessionExpiresAt: external_exports.number().int()
19941
21182
  });
19942
21183
  var accountId = external_exports.string().min(1);
19943
- var toolSchema = external_exports.enum(["falcon-axi", "vectra-axi", "az-axi", "mg-axi", "ldap-axi", "ado-axi", "awx-axi", "tenable-axi", "hybrid-axi", "checkpoint-axi"]);
21184
+ var toolSchema = external_exports.enum(["falcon-axi", "vectra-axi", "az-axi", "mg-axi", "ldap-axi", "ado-axi", "awx-axi", "tenable-axi", "hybrid-axi", "checkpoint-axi", "gh-axi"]);
19944
21185
  var skillsResponseSchema = external_exports.strictObject({ skills: external_exports.array(external_exports.strictObject({
19945
21186
  name: toolSchema,
19946
21187
  content: external_exports.string().min(1)
@@ -20191,7 +21432,12 @@ var falconRtrSettingsSchema = external_exports.strictObject({
20191
21432
  "users"
20192
21433
  ])).optional()
20193
21434
  });
21435
+ var ghWriteOperations = gh_axi_default.commands.filter((route) => route.effect === "write").map((route) => route.command);
20194
21436
  var nativeSettingsSchemas = {
21437
+ "gh-axi": external_exports.strictObject({ writes: external_exports.strictObject({
21438
+ allowWrites: external_exports.boolean(),
21439
+ operations: external_exports.array(external_exports.enum(ghWriteOperations)).min(1).max(ghWriteOperations.length)
21440
+ }).optional() }),
20195
21441
  "checkpoint-axi": external_exports.strictObject({ writes: external_exports.strictObject({
20196
21442
  allowWrites: external_exports.boolean(),
20197
21443
  operations: external_exports.array(external_exports.string().regex(/^[a-z][A-Za-z0-9_.-]{0,255}$/)).min(1).max(126)
@@ -20208,7 +21454,7 @@ var nativeSettingsSchemas = {
20208
21454
  "ldap-axi": external_exports.strictObject({}),
20209
21455
  "ado-axi": external_exports.strictObject({ allowWrites: external_exports.boolean().optional() }),
20210
21456
  "mg-axi": external_exports.strictObject({
20211
- enabledPacks: external_exports.array(external_exports.enum(["entra", "security"])).min(1).max(2).refine((packs) => packs.includes("entra") && new Set(packs).size === packs.length).optional(),
21457
+ enabledPacks: external_exports.array(external_exports.enum(["entra", "security", "mail"])).min(1).max(3).refine((packs) => packs.includes("entra") && new Set(packs).size === packs.length).optional(),
20212
21458
  preview: external_exports.boolean().optional(),
20213
21459
  writes: external_exports.strictObject({
20214
21460
  allowWrites: external_exports.boolean(),
@@ -20357,6 +21603,40 @@ var adminCertificateRoutes = {
20357
21603
  response: external_exports.strictObject({ removed: external_exports.literal(true) })
20358
21604
  }
20359
21605
  };
21606
+ var githubConnectionInput = external_exports.strictObject({ connectionId: external_exports.uuid() });
21607
+ var githubDeviceRoutes = {
21608
+ start: {
21609
+ method: "POST",
21610
+ path: "/v1/admin/tools/gh-axi/device",
21611
+ input: external_exports.strictObject({
21612
+ origin: external_exports.string(),
21613
+ expectedRevision: external_exports.number().int().nonnegative(),
21614
+ expectedToolRevision: external_exports.number().int().positive()
21615
+ }),
21616
+ response: external_exports.strictObject({
21617
+ connectionId: external_exports.uuid(),
21618
+ userCode: external_exports.string(),
21619
+ verificationUri: external_exports.url(),
21620
+ expiresAt: external_exports.number().int(),
21621
+ interval: external_exports.number().int().positive()
21622
+ })
21623
+ },
21624
+ poll: {
21625
+ method: "POST",
21626
+ path: "/v1/admin/tools/gh-axi/device/poll",
21627
+ input: githubConnectionInput,
21628
+ response: external_exports.union([
21629
+ external_exports.strictObject({ status: external_exports.literal("pending"), interval: external_exports.number().int().positive() }),
21630
+ external_exports.strictObject({ status: external_exports.literal("connected"), credential: adminCredentialSchema })
21631
+ ])
21632
+ },
21633
+ cancel: {
21634
+ method: "POST",
21635
+ path: "/v1/admin/tools/gh-axi/device/cancel",
21636
+ input: githubConnectionInput,
21637
+ response: external_exports.strictObject({ status: external_exports.literal("cancelled") })
21638
+ }
21639
+ };
20360
21640
  var adminToolRoutes = {
20361
21641
  get: {
20362
21642
  method: "GET",
@@ -20764,7 +22044,7 @@ import { resolve } from "node:path";
20764
22044
  // package.json
20765
22045
  var package_default = {
20766
22046
  name: "artium-axi",
20767
- version: "0.0.21",
22047
+ version: "0.0.22",
20768
22048
  private: true,
20769
22049
  license: "MIT",
20770
22050
  type: "module",
@@ -29766,11 +31046,11 @@ var az_axi_default = {
29766
31046
  var mg_axi_default = {
29767
31047
  generatedBy: "scripts/upstream-inventory.mjs",
29768
31048
  tool: "mg-axi",
29769
- version: "0.1.13",
29770
- integrity: "sha512-V9f/H1xISbn1ar3ARVnYvtT4NDUDRgvhCkrnQd6lqNdj1MeQjF4JESS6PA6hY3epXKrqE+g/2nCfgJV1JDmDTQ==",
31049
+ version: "0.1.14",
31050
+ integrity: "sha512-XGsOHDrzAF0n8Sx57gREUuH1zysJnAzGmPt/7jm4tTF7uJl1db8oLx/E9NqSiG9mhhJXD5W36e6ucIHJO6x4AQ==",
29771
31051
  parserEvidence: "Installed pinned catalogue exports",
29772
- packageManifestSha256: "2357d6568740146d05a0ad67fb8e0be3c871261726d3cf110fed83e216001dc9",
29773
- skillSha256: "98ff12e741b04592afae76853a00f572940dee6edf0e868d2ccba04a742b24ad",
31052
+ packageManifestSha256: "b000465e5f21bdff8b6afb76e64bf2850debae765f36361977a6e6ac0f45a309",
31053
+ skillSha256: "0954c03b28e235ac9c94e0032db2ee8f869ba11e67f11990eb8ad3c5339abdb5",
29774
31054
  environment: [
29775
31055
  {
29776
31056
  name: "MG_AXI_CONFIG"
@@ -29808,7 +31088,7 @@ var mg_axi_default = {
29808
31088
  environmentSources: [
29809
31089
  {
29810
31090
  path: "dist/profiles.js",
29811
- sha256: "5a683251d3427b1642a3d60b5168ae56656506d12aae614ad4469dde6c6d624e"
31091
+ sha256: "2f681aeb6e28398b3850865ff239490f74569f02a21926af97f7777fa4350b1f"
29812
31092
  },
29813
31093
  {
29814
31094
  path: "dist/mutations.js",
@@ -29848,7 +31128,7 @@ var mg_axi_default = {
29848
31128
  sources: [
29849
31129
  {
29850
31130
  path: "dist/profiles.js",
29851
- sha256: "5a683251d3427b1642a3d60b5168ae56656506d12aae614ad4469dde6c6d624e"
31131
+ sha256: "2f681aeb6e28398b3850865ff239490f74569f02a21926af97f7777fa4350b1f"
29852
31132
  },
29853
31133
  {
29854
31134
  path: "dist/mutations.js",
@@ -29866,7 +31146,16 @@ var mg_axi_default = {
29866
31146
  "doctor",
29867
31147
  "entra",
29868
31148
  "api get",
29869
- "security hunting query"
31149
+ "security hunting query",
31150
+ "mail folder list",
31151
+ "mail folder show",
31152
+ "mail message list",
31153
+ "mail message show",
31154
+ "mail attachment list",
31155
+ "mail settings show",
31156
+ "mail rule list",
31157
+ "mail rule show",
31158
+ "mail category list"
29870
31159
  ],
29871
31160
  example: [
29872
31161
  "entra",
@@ -29928,15 +31217,15 @@ var mg_axi_default = {
29928
31217
  sources: [
29929
31218
  {
29930
31219
  path: "dist/catalogue.js",
29931
- sha256: "b6a764b7e50c3f4c84d40dcef1290a2e6a784fe73809977d6b04c06884b7a516"
31220
+ sha256: "d73aa0bb4411aa3da6f2345af80dbb15faac403d704992ac8c135c9d0e991fe0"
29932
31221
  },
29933
31222
  {
29934
31223
  path: "dist/cli.js",
29935
- sha256: "723f00e5031068211b541ee43447fb559833bea924c91131e0d074349d5b9a4e"
31224
+ sha256: "217e731835772f4f625811cde4733a67b43dee8f2ef5603e9058730998e1a26d"
29936
31225
  },
29937
31226
  {
29938
31227
  path: "dist/profiles.js",
29939
- sha256: "5a683251d3427b1642a3d60b5168ae56656506d12aae614ad4469dde6c6d624e"
31228
+ sha256: "2f681aeb6e28398b3850865ff239490f74569f02a21926af97f7777fa4350b1f"
29940
31229
  },
29941
31230
  {
29942
31231
  path: "dist/msal-app-provider.js",
@@ -29967,8 +31256,29 @@ var mg_axi_default = {
29967
31256
  "doctor",
29968
31257
  "entra",
29969
31258
  "api get",
29970
- "security hunting query"
31259
+ "security hunting query",
31260
+ "mail folder list",
31261
+ "mail folder show",
31262
+ "mail message list",
31263
+ "mail message show",
31264
+ "mail attachment list",
31265
+ "mail settings show",
31266
+ "mail rule list",
31267
+ "mail rule show",
31268
+ "mail category list"
29971
31269
  ],
31270
+ commandPacks: {
31271
+ "security hunting query": "security",
31272
+ "mail folder list": "mail",
31273
+ "mail folder show": "mail",
31274
+ "mail message list": "mail",
31275
+ "mail message show": "mail",
31276
+ "mail attachment list": "mail",
31277
+ "mail settings show": "mail",
31278
+ "mail rule list": "mail",
31279
+ "mail rule show": "mail",
31280
+ "mail category list": "mail"
31281
+ },
29972
31282
  inputs: {
29973
31283
  stdin: "cursor - only",
29974
31284
  files: "security hunting query only: one UTF-8 query.kql upload, at most 64 KiB; fixed runner leaf name",
@@ -29977,7 +31287,9 @@ var mg_axi_default = {
29977
31287
  },
29978
31288
  sensitiveFlags: [
29979
31289
  "cursor",
31290
+ "search",
29980
31291
  "filter",
31292
+ "conversation",
29981
31293
  "odata",
29982
31294
  "conditions",
29983
31295
  "grant-controls",
@@ -30006,11 +31318,11 @@ var mg_axi_default = {
30006
31318
  parserSources: [
30007
31319
  {
30008
31320
  path: "dist/catalogue.js",
30009
- sha256: "b6a764b7e50c3f4c84d40dcef1290a2e6a784fe73809977d6b04c06884b7a516"
31321
+ sha256: "d73aa0bb4411aa3da6f2345af80dbb15faac403d704992ac8c135c9d0e991fe0"
30010
31322
  },
30011
31323
  {
30012
31324
  path: "dist/cli.js",
30013
- sha256: "723f00e5031068211b541ee43447fb559833bea924c91131e0d074349d5b9a4e"
31325
+ sha256: "217e731835772f4f625811cde4733a67b43dee8f2ef5603e9058730998e1a26d"
30014
31326
  }
30015
31327
  ]
30016
31328
  },
@@ -30048,6 +31360,9 @@ var mg_axi_default = {
30048
31360
  {
30049
31361
  name: "assignment-id"
30050
31362
  },
31363
+ {
31364
+ name: "body"
31365
+ },
30051
31366
  {
30052
31367
  name: "certificate-key-env"
30053
31368
  },
@@ -30081,6 +31396,9 @@ var mg_axi_default = {
30081
31396
  {
30082
31397
  name: "confirm"
30083
31398
  },
31399
+ {
31400
+ name: "conversation"
31401
+ },
30084
31402
  {
30085
31403
  name: "cursor"
30086
31404
  },
@@ -30117,6 +31435,9 @@ var mg_axi_default = {
30117
31435
  {
30118
31436
  name: "filter"
30119
31437
  },
31438
+ {
31439
+ name: "folder"
31440
+ },
30120
31441
  {
30121
31442
  name: "full"
30122
31443
  },
@@ -30126,6 +31447,9 @@ var mg_axi_default = {
30126
31447
  {
30127
31448
  name: "group"
30128
31449
  },
31450
+ {
31451
+ name: "headers"
31452
+ },
30129
31453
  {
30130
31454
  name: "help"
30131
31455
  },
@@ -30138,6 +31462,9 @@ var mg_axi_default = {
30138
31462
  {
30139
31463
  name: "limit"
30140
31464
  },
31465
+ {
31466
+ name: "mailbox"
31467
+ },
30141
31468
  {
30142
31469
  name: "member-id"
30143
31470
  },
@@ -30186,6 +31513,9 @@ var mg_axi_default = {
30186
31513
  {
30187
31514
  name: "scopes"
30188
31515
  },
31516
+ {
31517
+ name: "search"
31518
+ },
30189
31519
  {
30190
31520
  name: "select"
30191
31521
  },
@@ -34564,6 +35894,142 @@ var mg_axi_default = {
34564
35894
  },
34565
35895
  positionalInput: false
34566
35896
  },
35897
+ {
35898
+ command: "mail attachment list",
35899
+ flags: {
35900
+ help: "boolean",
35901
+ profile: "value",
35902
+ "api-version": "value",
35903
+ mailbox: "value",
35904
+ full: "boolean",
35905
+ fields: "value",
35906
+ limit: "value",
35907
+ cursor: "value",
35908
+ id: "value",
35909
+ config: "value"
35910
+ },
35911
+ positionalInput: false
35912
+ },
35913
+ {
35914
+ command: "mail settings show",
35915
+ flags: {
35916
+ help: "boolean",
35917
+ profile: "value",
35918
+ "api-version": "value",
35919
+ mailbox: "value",
35920
+ full: "boolean",
35921
+ fields: "value",
35922
+ config: "value"
35923
+ },
35924
+ positionalInput: false
35925
+ },
35926
+ {
35927
+ command: "mail rule list",
35928
+ flags: {
35929
+ help: "boolean",
35930
+ profile: "value",
35931
+ "api-version": "value",
35932
+ mailbox: "value",
35933
+ full: "boolean",
35934
+ fields: "value",
35935
+ limit: "value",
35936
+ cursor: "value",
35937
+ config: "value"
35938
+ },
35939
+ positionalInput: false
35940
+ },
35941
+ {
35942
+ command: "mail rule show",
35943
+ flags: {
35944
+ help: "boolean",
35945
+ profile: "value",
35946
+ "api-version": "value",
35947
+ mailbox: "value",
35948
+ full: "boolean",
35949
+ fields: "value",
35950
+ id: "value",
35951
+ config: "value"
35952
+ },
35953
+ positionalInput: false
35954
+ },
35955
+ {
35956
+ command: "mail category list",
35957
+ flags: {
35958
+ help: "boolean",
35959
+ profile: "value",
35960
+ "api-version": "value",
35961
+ mailbox: "value",
35962
+ full: "boolean",
35963
+ fields: "value",
35964
+ limit: "value",
35965
+ cursor: "value",
35966
+ config: "value"
35967
+ },
35968
+ positionalInput: false
35969
+ },
35970
+ {
35971
+ command: "mail message show",
35972
+ flags: {
35973
+ help: "boolean",
35974
+ profile: "value",
35975
+ "api-version": "value",
35976
+ mailbox: "value",
35977
+ id: "value",
35978
+ body: "value",
35979
+ headers: "boolean",
35980
+ full: "boolean",
35981
+ config: "value"
35982
+ },
35983
+ positionalInput: false
35984
+ },
35985
+ {
35986
+ command: "mail message list",
35987
+ flags: {
35988
+ help: "boolean",
35989
+ profile: "value",
35990
+ "api-version": "value",
35991
+ mailbox: "value",
35992
+ fields: "value",
35993
+ full: "boolean",
35994
+ folder: "value",
35995
+ search: "value",
35996
+ filter: "value",
35997
+ conversation: "value",
35998
+ limit: "value",
35999
+ cursor: "value",
36000
+ config: "value"
36001
+ },
36002
+ positionalInput: false
36003
+ },
36004
+ {
36005
+ command: "mail folder list",
36006
+ flags: {
36007
+ help: "boolean",
36008
+ profile: "value",
36009
+ "api-version": "value",
36010
+ mailbox: "value",
36011
+ fields: "value",
36012
+ full: "boolean",
36013
+ limit: "value",
36014
+ cursor: "value",
36015
+ config: "value"
36016
+ },
36017
+ positionalInput: false
36018
+ },
36019
+ {
36020
+ command: "mail folder show",
36021
+ flags: {
36022
+ help: "boolean",
36023
+ profile: "value",
36024
+ "api-version": "value",
36025
+ mailbox: "value",
36026
+ fields: "value",
36027
+ full: "boolean",
36028
+ id: "value",
36029
+ config: "value"
36030
+ },
36031
+ positionalInput: false
36032
+ },
34567
36033
  {
34568
36034
  command: "login",
34569
36035
  flags: {
@@ -42791,7 +44257,7 @@ var checkpoint_axi_default = {
42791
44257
  };
42792
44258
 
42793
44259
  // src/shared/tool-manifests.ts
42794
- var toolManifests = { "falcon-axi": falcon_axi_default, "vectra-axi": vectra_axi_default, "az-axi": az_axi_default, "mg-axi": mg_axi_default, "ldap-axi": ldap_axi_default, "ado-axi": ado_axi_default, "awx-axi": awx_axi_default, "tenable-axi": tenable_axi_default, "hybrid-axi": hybrid_axi_default, "checkpoint-axi": checkpoint_axi_default };
44260
+ var toolManifests = { "gh-axi": gh_axi_default, "falcon-axi": falcon_axi_default, "vectra-axi": vectra_axi_default, "az-axi": az_axi_default, "mg-axi": mg_axi_default, "ldap-axi": ldap_axi_default, "ado-axi": ado_axi_default, "awx-axi": awx_axi_default, "tenable-axi": tenable_axi_default, "hybrid-axi": hybrid_axi_default, "checkpoint-axi": checkpoint_axi_default };
42795
44261
 
42796
44262
  // node_modules/.pnpm/@toon-format+toon@2.3.1/node_modules/@toon-format/toon/dist/index.mjs
42797
44263
  var NULL_LITERAL = "null";
@@ -44157,8 +45623,37 @@ function resolveDecodeOptions(options) {
44157
45623
  };
44158
45624
  }
44159
45625
 
45626
+ // src/shared/gh-suggestions.ts
45627
+ function rewriteGhSuggestions(output3, invocation, truncated = false) {
45628
+ if (!invocation || invocation.help || invocation.command === "api" || truncated) return output3;
45629
+ if (invocation.command === "pr view") {
45630
+ output3 = output3.replace(/^( merge_state: [^\n]*?); gh-axi pr update-branch [^\n]*$/gm, "$1");
45631
+ }
45632
+ if (invocation.command === "release list") {
45633
+ output3 = output3.replace(/^(count: \d+ \(showing first \d+); run `gh-axi repo view` for total count\)$/gm, "$1)");
45634
+ }
45635
+ return output3.replace(/(^|\n)help\[(\d+)\]:\n((?: [^\n]*\n)* [^\n]*)(?=\n|$)/g, (block, prefix, count, body) => {
45636
+ const rows = body.trimEnd().split("\n");
45637
+ if (rows.length !== Number(count)) return block;
45638
+ const help = rows.flatMap((row) => {
45639
+ let allowed = true;
45640
+ const line = row.replace(/`(?:artium-axi )?gh-axi ([^`]+)`/g, (_, command) => {
45641
+ const route = gh_axi_default.commands.find((route2) => command === route2.command || command.startsWith(route2.command + " "));
45642
+ const flags = [...command.matchAll(/(?:^|\s)(--[a-z][a-z-]*|-R)(?==|\s|$)/g)].map((match) => match[1]);
45643
+ if (!route || route.effect === "write" || route.command === "api" || /https?:\/\//.test(command) || flags.some((flag) => !Object.hasOwn(route.flags, flag === "-R" ? "repo" : flag.slice(2))) || route.repository && !flags.some((flag) => flag === "-R" || flag === "--repo")) allowed = false;
45644
+ return `\`artium-axi gh-axi ${command}\``;
45645
+ });
45646
+ if (!allowed || /\bgh-axi\b|\bgh auth\b|\bGH_[A-Z_]+\b/.test(line.replaceAll("artium-axi gh-axi", ""))) return [];
45647
+ return [line];
45648
+ });
45649
+ return help.length ? `${prefix}help[${help.length}]:
45650
+ ${help.join("\n")}` : "";
45651
+ });
45652
+ }
45653
+
44160
45654
  // src/cli/rewrite.ts
44161
45655
  var managedFlags = {
45656
+ "gh-axi": gh_axi_default.adapterBoundary.unsafeOverrides,
44162
45657
  "checkpoint-axi": checkpoint_axi_default.adapterBoundary.unsafeOverrides,
44163
45658
  "hybrid-axi": hybrid_axi_default.adapterBoundary.unsafeOverrides,
44164
45659
  "tenable-axi": tenable_axi_default.adapterBoundary.unsafeOverrides,
@@ -44183,8 +45678,9 @@ function rewriteDiscoveryHelp(help, tool) {
44183
45678
  examples: help.examples.map((example) => hostedHelp(example, tool, flags, true))
44184
45679
  });
44185
45680
  }
44186
- function rewriteSuggestions(output3, tool, truncated = false) {
45681
+ function rewriteSuggestions(output3, tool, truncated = false, invocation) {
44187
45682
  if (truncated) return output3;
45683
+ if (tool === "gh-axi") return rewriteGhSuggestions(output3, invocation, truncated);
44188
45684
  if (tool === "checkpoint-axi") {
44189
45685
  try {
44190
45686
  const document = decode3(output3);
@@ -44292,7 +45788,7 @@ function rewriteSuggestions(output3, tool, truncated = false) {
44292
45788
  for (const span of [...spans].reverse()) {
44293
45789
  const value = hostedHelp(span.value, tool, flags, /^[ \t]*(?:Command|Native operation|Examples|Usage):/m.test(span.value));
44294
45790
  if (value === span.value) continue;
44295
- output3 = output3.slice(0, span.start) + (span.quoted || ["ldap-axi", "ado-axi", "awx-axi"].includes(tool) && /[,\r\n]/.test(value) ? JSON.stringify(value) : value) + output3.slice(span.start + span.raw.length);
45791
+ output3 = output3.slice(0, span.start) + (span.quoted || ["ldap-axi", "ado-axi", "awx-axi", "gh-axi"].includes(tool) && /[,\r\n]/.test(value) ? JSON.stringify(value) : value) + output3.slice(span.start + span.raw.length);
44296
45792
  }
44297
45793
  spans = (output3.trimStart().startsWith("{") ? jsonHelp(output3) : toonHelp(output3)).spans;
44298
45794
  if (spans.some((span) => /\\[`'"]/.test(span.value))) return output3;
@@ -44390,6 +45886,12 @@ function hostedHelp(help, tool, flags, commands2) {
44390
45886
  if (tool === "falcon-axi") {
44391
45887
  help = help.replace(new RegExp(`^ (?:${falcon_axi_default.blockedCommands.join("|")})(?=\\s|$)[^\\r\\n]*(?:\\r?\\n|$)`, "gm"), "");
44392
45888
  }
45889
+ if (tool === "gh-axi") {
45890
+ const guidance = "Artium manages the GitHub host and credential. Ask an Artium administrator to reconnect the GitHub credential. Use -R OWNER/NAME for repository commands. Writes require an administrator-enabled exact operation: preview, then repeat the exact request with its --confirm value. api accepts GET and relative paths only.";
45891
+ help = help.split("\n").filter((line) => !/\bgh auth\b|\bGH_[A-Z_]+\b|gh-axi (?:update|setup|stack)|--(?:hostname|watch|attach|input|field|raw-field|header|body-file|notes-file)\b/.test(line)).join("\n");
45892
+ if (!help.trim()) help = guidance;
45893
+ else if (!help.includes(guidance)) help = help.trimEnd() + "\n" + guidance + "\n";
45894
+ }
44393
45895
  if (tool === "ado-axi") {
44394
45896
  const guidance = "Artium manages the organization, profile, config and PAT. api accepts relative paths and GET only. Writes are off by default; administrators control allowWrites. No stdin or files. Use pipeline watch --timeout 50 or less.";
44395
45897
  if (/^(?:Usage: |(?:Run|Use) [`'"]?)?(?:artium-axi )?ado-axi api(?:\s|$)/.test(help)) {
@@ -44648,6 +46150,12 @@ async function doctor(createClient = (deadline) => new Client(process.env, void
44648
46150
 
44649
46151
  // src/cli/help.ts
44650
46152
  var commands = {
46153
+ "gh-axi": {
46154
+ usage: "artium-axi gh-axi [<args>]",
46155
+ purpose: "Read and update GitHub data with managed credentials.",
46156
+ flags: ["Repository commands require -R OWNER/NAME. Writes require an administrator-enabled exact operation: preview, then repeat with its --confirm value. api is GET only; deletes, secret set, merge --admin, local git, files and downloads are unavailable. Only gist create/edit with --filename accepts piped stdin."],
46157
+ example: "artium-axi gh-axi repo list --limit 1"
46158
+ },
44651
46159
  home: { usage: "artium-axi [tools [show <tool>]|whoami|login|passwd|logout|doctor|setup|update|download|<tool> <args>]", purpose: "Show your identity, roles and available tools.", flags: ["--version (default false; print the client package version and exit)"], example: "artium-axi" },
44652
46160
  setup: {
44653
46161
  usage: "artium-axi setup --host <claude|codex|opencode|pi> [--hook] [--force]",
@@ -45055,6 +46563,10 @@ async function toolInput(tool, original) {
45055
46563
  const args = [...original];
45056
46564
  const input2 = {};
45057
46565
  let totalFileBytes = 0;
46566
+ if (tool === "gh-axi" && ["gist create", "gist edit"].includes(args.slice(0, 2).join(" ")) && args.some((arg) => arg === "--filename" || arg.startsWith("--filename=")) && !args.some((arg) => ["--help", "-h"].includes(arg))) {
46567
+ if (process.stdin.isTTY) throw new ArtiumError("UNSUPPORTED_INPUT", "Pipe gist content on stdin.");
46568
+ input2.stdin = (await readBounded(process.stdin, inputLimits.stdinBytes, "--filename with closed stdin")).toString("utf8");
46569
+ }
45058
46570
  const hunting = tool === "mg-axi" && args.slice(0, 3).join(" ") === "security hunting query";
45059
46571
  if ((tool === "checkpoint-axi" || tool === "az-axi" || tool === "hybrid-axi" || tool === "tenable-axi" || hunting) && !args.some((arg) => ["--help", "-h", "--version", "-v", "-V"].includes(arg))) {
45060
46572
  const fileFlags = hunting ? ["file"] : tool === "checkpoint-axi" ? checkpoint_axi_default.adapterBoundary.inputFileFlags : tool === "tenable-axi" ? tenable_axi_default.adapterBoundary.inputFileFlags : tool === "hybrid-axi" ? hybrid_axi_default.adapterBoundary.inputFileFlags : az_axi_default.adapterBoundary.inputFileFlags;