@knowttl/artium-axi 0.0.50 → 0.0.52

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/README.md CHANGED
@@ -78,7 +78,7 @@ Write capabilities below require administrator opt-in.
78
78
  | --- | --- | --- | --- |
79
79
  | BeyondTrust PM Cloud | Endpoint Privilege Management reads, selected writes, deletes and four downloads | Managed credentials; exact operation grants; separate delete toggle | [Credentials](docs/tool-credentials.md#beyondtrust-pm-cloud) |
80
80
  | Discovery and sessions | Identity, login, tools, doctor, update, setup and delegated token management | Client/session operations; delegated scope restrictions apply | [Commands](docs/commands.md), [delegated boundaries](docs/safety.md#delegated-sessions) |
81
- | Falcon | Endpoint investigations, search lifecycle, MalQuery and restricted RTR | Exact administrator grants; native RTR profile opt-in and confirmation | [Capabilities](docs/safety.md#write-gates-by-tool) |
81
+ | Falcon | Endpoint investigations, search lifecycle, identity policy rules, MalQuery and restricted RTR | Exact administrator grants; native RTR profile opt-in and confirmation | [Capabilities](docs/safety.md#write-gates-by-tool) |
82
82
  | Kubernetes | Cluster resources, logs and passive authorization reviews | Bounded reads, native prepare/preview/confirm mutations, caller-owned workspaces, explicitly granted byte sessions and port forwarding, protected service-account token delivery | [Capabilities](docs/safety.md#kubernetes-reads) |
83
83
  | SSH | Granted hosts, authentication checks, confirmed commands and reusable transports | Dedicated host bindings and caller grants; writes default off | [Capabilities](docs/safety.md#ssh-reads) |
84
84
  | Vectra | Hosts, detections and response workflows | Reads; selected writes | [Credentials](docs/tool-credentials.md#vectra) |
@@ -43,7 +43,7 @@ var init_package = __esm({
43
43
  "package.json"() {
44
44
  package_default = {
45
45
  name: "artium-axi",
46
- version: "0.0.50",
46
+ version: "0.0.52",
47
47
  private: true,
48
48
  license: "MIT",
49
49
  type: "module",
@@ -32763,16 +32763,16 @@ var init_falcon_axi = __esm({
32763
32763
  generatedBy: "scripts/falcon-inventory.ts",
32764
32764
  tool: "falcon-axi",
32765
32765
  package: "@knowttl/falcon-axi",
32766
- version: "1.1.0",
32767
- integrity: "sha512-iOnTT7V6cwf7dcBrfnOaSbT2FZ+BfWlB5huN9cWw52/Fm2H+7D5wURzzOsyxZ2SUd8Fre1ndtXtiaHkmxGjBWA==",
32766
+ version: "1.2.0",
32767
+ integrity: "sha512-xHUUbznMTRhHgZeKH4/QOQB4HdaHA3rcl7jVFtxSKiUw3Eziaw3P0rjy2AgRNCIOiCZX08yOapZxaGGe++ECkw==",
32768
32768
  sources: [
32769
32769
  {
32770
32770
  path: "package.json",
32771
- sha256: "35badd3ec877a610860974807563a1803977b378b4b8504d95942028046f7561"
32771
+ sha256: "238cee4ef8999db650c3c69849d25459f008fd55af508d892b839bc94f54c6a7"
32772
32772
  },
32773
32773
  {
32774
32774
  path: "artium-invocations.json",
32775
- sha256: "4ca8b41fb1d7b5d0aa1bc6c6939f039de8680669c597aab32b45deca30436f15"
32775
+ sha256: "5522061d94c3c3c878530460a8a50711038b5da1512d12dcae835c861ad48cce"
32776
32776
  },
32777
32777
  {
32778
32778
  path: ".typescript-build/native/checksums.json",
@@ -32792,7 +32792,7 @@ var init_falcon_axi = __esm({
32792
32792
  },
32793
32793
  {
32794
32794
  path: ".typescript-build/src/cli.js",
32795
- sha256: "6d621a6cac4441bb7c15365000bda8e04a5e52f0163342daa18bb69d189af792"
32795
+ sha256: "7894379990935c0451b1320609d5be2637de76c5a52380130df9e9c55b175154"
32796
32796
  },
32797
32797
  {
32798
32798
  path: ".typescript-build/src/core.js",
@@ -32812,7 +32812,7 @@ var init_falcon_axi = __esm({
32812
32812
  },
32813
32813
  {
32814
32814
  path: ".typescript-build/src/domain.js",
32815
- sha256: "159283c7e876113c14bf979ce375c0fe81a89972ebde949d74f0b833a97398c9"
32815
+ sha256: "768b3ecab21686540ecbad6130a51e50bf92138de4646854e701c9250a2b20ae"
32816
32816
  },
32817
32817
  {
32818
32818
  path: ".typescript-build/src/executable.js",
@@ -32824,15 +32824,19 @@ var init_falcon_axi = __esm({
32824
32824
  },
32825
32825
  {
32826
32826
  path: ".typescript-build/src/help.json",
32827
- sha256: "1fcce907e77f3adccbf884ac6e95eeaa4473a792446afb83088709a4dd759f32"
32827
+ sha256: "680e0c761846b302da0ac600f45db39be5453123d628c6df2b15939ea2bf38b5"
32828
32828
  },
32829
32829
  {
32830
32830
  path: ".typescript-build/src/hook.js",
32831
32831
  sha256: "c236c0dab352d93254b47a222d6f580f555b018f1f68c7cb67264dd766b8e8a0"
32832
32832
  },
32833
+ {
32834
+ path: ".typescript-build/src/identity-rule.js",
32835
+ sha256: "47d6f02fe329a150e2dc6fd1925e8652424c17f7f4ad3c693b62a926f303f374"
32836
+ },
32833
32837
  {
32834
32838
  path: ".typescript-build/src/identity.js",
32835
- sha256: "69b3b41dffe14978e4cc3bd7a10f69a86a6584d58cb220274e59fd65e8a1611c"
32839
+ sha256: "ad931ff1910aa75bcddffcae993ac23e7ef5428f7e816ebe68c64e20cf73c7cb"
32836
32840
  },
32837
32841
  {
32838
32842
  path: ".typescript-build/src/inspection-commands.json",
@@ -32844,7 +32848,7 @@ var init_falcon_axi = __esm({
32844
32848
  },
32845
32849
  {
32846
32850
  path: ".typescript-build/src/inventory.js",
32847
- sha256: "62c069c171b612016070ba6b82d4dcb26732f06144aeb28b99b9c37918b5da9f"
32851
+ sha256: "1916da80d54e9370279b902c98ee2b2527372b3dfa551a350eed611a5c0ca46a"
32848
32852
  },
32849
32853
  {
32850
32854
  path: ".typescript-build/src/investigation.js",
@@ -32856,7 +32860,7 @@ var init_falcon_axi = __esm({
32856
32860
  },
32857
32861
  {
32858
32862
  path: ".typescript-build/src/metadata.js",
32859
- sha256: "94946bd97ce92157a23b6bf0ee94a9bb3ec9f49a92184e8c39f26a58352595d6"
32863
+ sha256: "74582586d52f290aafab4a2e69ae2f1c5abafdc8e80a7c2a98c8b10839243c45"
32860
32864
  },
32861
32865
  {
32862
32866
  path: ".typescript-build/src/origin.js",
@@ -32864,11 +32868,11 @@ var init_falcon_axi = __esm({
32864
32868
  },
32865
32869
  {
32866
32870
  path: ".typescript-build/src/parser.js",
32867
- sha256: "1a348bb4a13e0034d5919b218e02ddf7ed0036b51d78d06b488bda4fcb78f8eb"
32871
+ sha256: "111ca5c9f53bcfac677a3728109a4c5275a7516272ce859455333e312274034f"
32868
32872
  },
32869
32873
  {
32870
32874
  path: ".typescript-build/src/raw.js",
32871
- sha256: "5097f40bc12f28817da5f739f3218c928ad9891804fc1ae1d8a868669a5dec07"
32875
+ sha256: "02afb9479e50db3a2e5623b9ccc1ae0abe582f16f1c36f4d4f8a6b24001c3f95"
32872
32876
  },
32873
32877
  {
32874
32878
  path: ".typescript-build/src/render.js",
@@ -32892,11 +32896,11 @@ var init_falcon_axi = __esm({
32892
32896
  },
32893
32897
  {
32894
32898
  path: ".typescript-build/src/search-commands.json",
32895
- sha256: "6c8a4892f93becd8084d3ecdcfc09bf6791c1a230498397aca17bd402a9bf1f5"
32899
+ sha256: "62c30843b097dfe3beac0d9dce64efc526a396d43a07fd6bceec7bce082142ed"
32896
32900
  },
32897
32901
  {
32898
32902
  path: ".typescript-build/src/search-help.json",
32899
- sha256: "484b7f071907af1dd62f206950064b92581193f0262fe9ed36026c0ced0ff169"
32903
+ sha256: "80377180f644c3cb7940ba79839ddbe040333c371e93a24e5ecacefd3a2f63db"
32900
32904
  },
32901
32905
  {
32902
32906
  path: ".typescript-build/src/search.js",
@@ -32912,7 +32916,7 @@ var init_falcon_axi = __esm({
32912
32916
  },
32913
32917
  {
32914
32918
  path: ".typescript-build/src/transport/descriptors.json",
32915
- sha256: "3154a51581e3242fd6f77e87ffd91f28201af021c93b1f91bc9a7711117d75e2"
32919
+ sha256: "fe938e3fc3051a1a9761b44d924938b048668898ce9b697399bf8632176fb98a"
32916
32920
  },
32917
32921
  {
32918
32922
  path: ".typescript-build/src/transport/dns-worker.js",
@@ -32924,11 +32928,15 @@ var init_falcon_axi = __esm({
32924
32928
  },
32925
32929
  {
32926
32930
  path: ".typescript-build/src/transport/https.js",
32927
- sha256: "eec275013e61c95de4d4ac9a57f8ed71a2dfd84875e8490918f32993d6927a37"
32931
+ sha256: "6a038f7eac47bd745432c0d34b28aba2d5ca892eacfd7cd468d2129086022b48"
32928
32932
  },
32929
32933
  {
32930
32934
  path: ".typescript-build/src/transport/operations.js",
32931
- sha256: "f2ea3f6655fdc72745c25d1e3bd60828856299011e702861ee0162da1243d83c"
32935
+ sha256: "b27de26d76a21374da852e6db46ebe4fb177c37346fef690a4e66a2210c20ee7"
32936
+ },
32937
+ {
32938
+ path: ".typescript-build/src/transport/policy-rule.js",
32939
+ sha256: "0a0afcb71152da9f7a71a30f4a1236be1550e84babdb33b534b4e30d70ff0f64"
32932
32940
  },
32933
32941
  {
32934
32942
  path: ".typescript-build/src/transport/raw-authority.js",
@@ -32940,11 +32948,11 @@ var init_falcon_axi = __esm({
32940
32948
  },
32941
32949
  {
32942
32950
  path: ".typescript-build/src/transport/search-authority.js",
32943
- sha256: "c6d2e73052b75c48b5e9e42a76ab1460da7ba1f995b22f8d0d1b0c87b4a64d9f"
32951
+ sha256: "a1a0df55cff342d65ebd4b35e97bb28d3ad465fb8f45062af874403c27e10e69"
32944
32952
  },
32945
32953
  {
32946
32954
  path: ".typescript-build/src/version.js",
32947
- sha256: "0d455dbe36c03ee50c8346836a3d2e2da9599187b11c529b26c66db0b85fca30"
32955
+ sha256: "aff6babe5d4ec012aa1db7f777306c4831fc72492193ab6a58b965fef15c56d9"
32948
32956
  },
32949
32957
  {
32950
32958
  path: ".typescript-build/src/windows-acl.js",
@@ -32976,7 +32984,7 @@ var init_falcon_axi = __esm({
32976
32984
  },
32977
32985
  {
32978
32986
  path: "skills/falcon-axi/references/agent-guide.md",
32979
- sha256: "d261918741701be9b99b39aeda4fa3ec5e9aa87587d53434d84e59829b4dc7a1"
32987
+ sha256: "a097c851612e7132948e7e3da665954cb323ce13cf2526eb593f127c09ef6a29"
32980
32988
  },
32981
32989
  {
32982
32990
  path: "skills/falcon-axi/references/application-list.md",
@@ -33130,10 +33138,22 @@ var init_falcon_axi = __esm({
33130
33138
  path: "skills/falcon-axi/references/identity-assessment.md",
33131
33139
  sha256: "f61ccc39a4bc44203dd9ec5823b4cffa70018ac596bd41d98a90a4a0479c2b3a"
33132
33140
  },
33141
+ {
33142
+ path: "skills/falcon-axi/references/identity-graphql.md",
33143
+ sha256: "3cce9b35e69a76f23e3fd69e114e144638ff15eef96351f18defd250520757e6"
33144
+ },
33133
33145
  {
33134
33146
  path: "skills/falcon-axi/references/identity-list.md",
33135
33147
  sha256: "37cbd9f92894c6cf122371ce2252ed19864271e818a2a9289c54acb3c62e5a47"
33136
33148
  },
33149
+ {
33150
+ path: "skills/falcon-axi/references/identity-rule-create.md",
33151
+ sha256: "2a5b585c1af85403d35311bb01e14fb47fc98849cb3bd5432659622a5ded377c"
33152
+ },
33153
+ {
33154
+ path: "skills/falcon-axi/references/identity-rule-delete.md",
33155
+ sha256: "78ceddaf85c4ae8c368c4c3a73e5fbc2ded99a2d8bff7826e6843845010016bf"
33156
+ },
33137
33157
  {
33138
33158
  path: "skills/falcon-axi/references/identity-rule-list.md",
33139
33159
  sha256: "dec644d4c143f19ce296c8e6458bdf05db7634a0a9ae081fab9a68665648b807"
@@ -33142,6 +33162,10 @@ var init_falcon_axi = __esm({
33142
33162
  path: "skills/falcon-axi/references/identity-rule-show.md",
33143
33163
  sha256: "c7c43e459b24edcc6ffc4cfb9343d1c779c6205bdd72d55cc979770082913678"
33144
33164
  },
33165
+ {
33166
+ path: "skills/falcon-axi/references/identity-sensor-aggregate.md",
33167
+ sha256: "4af9d4567c39e4068423c14dcf48f2dd5f2d32e86d75552372de4972d7cc211e"
33168
+ },
33145
33169
  {
33146
33170
  path: "skills/falcon-axi/references/identity-sensor-list.md",
33147
33171
  sha256: "600b4b302debb9f2636e22fc5926937535b3a0283eb5f816cfbe9c74e3f506f4"
@@ -33380,7 +33404,7 @@ var init_falcon_axi = __esm({
33380
33404
  },
33381
33405
  {
33382
33406
  path: "skills/falcon-axi/SKILL.md",
33383
- sha256: "ca8a131e79e675b51b9fbe0b296a2740ca3445d8e76bfa61c681e0b16773b9d2"
33407
+ sha256: "d286fc681c929eef73347f5e1bf4efba4ca0437ad525417ae77fb2b5938cccf9"
33384
33408
  }
33385
33409
  ],
33386
33410
  credentialSchema: {
@@ -33495,10 +33519,10 @@ var init_falcon_axi = __esm({
33495
33519
  }
33496
33520
  }
33497
33521
  },
33498
- skillSha256: "ca8a131e79e675b51b9fbe0b296a2740ca3445d8e76bfa61c681e0b16773b9d2",
33522
+ skillSha256: "d286fc681c929eef73347f5e1bf4efba4ca0437ad525417ae77fb2b5938cccf9",
33499
33523
  parser: {
33500
33524
  path: ".typescript-build/src/parser.js",
33501
- sha256: "1a348bb4a13e0034d5919b218e02ddf7ed0036b51d78d06b488bda4fcb78f8eb",
33525
+ sha256: "111ca5c9f53bcfac677a3728109a4c5275a7516272ce859455333e312274034f",
33502
33526
  aliases: {},
33503
33527
  shortFlags: {},
33504
33528
  repeats: "last value wins",
@@ -34314,6 +34338,26 @@ var init_falcon_axi = __esm({
34314
34338
  effect: "read",
34315
34339
  positional: null
34316
34340
  },
34341
+ {
34342
+ command: "identity graphql",
34343
+ flags: {
34344
+ help: "boolean",
34345
+ "allow-unknown-origin": "boolean",
34346
+ "no-member-cid": "boolean",
34347
+ config: "value",
34348
+ profile: "value",
34349
+ region: "value",
34350
+ "member-cid": "value",
34351
+ all: "boolean",
34352
+ query: "value",
34353
+ variables: "value",
34354
+ limit: "value",
34355
+ cursor: "value",
34356
+ "max-rows": "value"
34357
+ },
34358
+ effect: "read",
34359
+ positional: null
34360
+ },
34317
34361
  {
34318
34362
  command: "identity sensor list",
34319
34363
  flags: {
@@ -34331,6 +34375,25 @@ var init_falcon_axi = __esm({
34331
34375
  effect: "read",
34332
34376
  positional: null
34333
34377
  },
34378
+ {
34379
+ command: "identity sensor aggregate",
34380
+ flags: {
34381
+ help: "boolean",
34382
+ "allow-unknown-origin": "boolean",
34383
+ "no-member-cid": "boolean",
34384
+ config: "value",
34385
+ profile: "value",
34386
+ region: "value",
34387
+ "member-cid": "value",
34388
+ name: "value",
34389
+ type: "value",
34390
+ field: "value",
34391
+ filter: "value",
34392
+ size: "value"
34393
+ },
34394
+ effect: "read",
34395
+ positional: null
34396
+ },
34334
34397
  {
34335
34398
  command: "identity sensor show",
34336
34399
  flags: {
@@ -34376,6 +34439,39 @@ var init_falcon_axi = __esm({
34376
34439
  effect: "read",
34377
34440
  positional: "rule identifier"
34378
34441
  },
34442
+ {
34443
+ command: "identity rule create",
34444
+ flags: {
34445
+ help: "boolean",
34446
+ "allow-unknown-origin": "boolean",
34447
+ "no-member-cid": "boolean",
34448
+ config: "value",
34449
+ profile: "value",
34450
+ region: "value",
34451
+ "member-cid": "value",
34452
+ execute: "boolean",
34453
+ "body-file": "value",
34454
+ confirm: "value"
34455
+ },
34456
+ effect: "write",
34457
+ positional: null
34458
+ },
34459
+ {
34460
+ command: "identity rule delete",
34461
+ flags: {
34462
+ help: "boolean",
34463
+ "allow-unknown-origin": "boolean",
34464
+ "no-member-cid": "boolean",
34465
+ config: "value",
34466
+ profile: "value",
34467
+ region: "value",
34468
+ "member-cid": "value",
34469
+ execute: "boolean",
34470
+ confirm: "value"
34471
+ },
34472
+ effect: "write",
34473
+ positional: "rule identifier"
34474
+ },
34379
34475
  {
34380
34476
  command: "ioc list",
34381
34477
  flags: {
@@ -36663,16 +36759,16 @@ var init_proxmox_axi = __esm({
36663
36759
  generatedBy: "scripts/network-read-inventory.ts",
36664
36760
  tool: "proxmox-axi",
36665
36761
  package: "@knowttl/proxmox-axi",
36666
- version: "0.1.3",
36667
- integrity: "sha512-5JtlI0Drtc7/x+2Ss/fjGs3WHUdAD1xgOgqK9ziEA8Vh5n45QhlBZT0ivHyJQ5hsl1qcxHWF24PT1WR1PtlBrA==",
36762
+ version: "0.1.4",
36763
+ integrity: "sha512-6WGsZ6QElQ38ugbCetjKjB9NPQd8fGVogBfJl7eiuezyfGdXNEKHsuJLDIA+qYnoyLcdPtHa6dMH2fZ9l573kw==",
36668
36764
  sources: [
36669
36765
  {
36670
36766
  path: "package.json",
36671
- sha256: "0f9aa7218f9bb26f23d0ab9467641a4f593afaf51a6d46f65a7c272cd15c22d1"
36767
+ sha256: "fc83b9fea493aee0e1840b0299b4e655a6e807634c3126215f1eb84c51cd6d6a"
36672
36768
  },
36673
36769
  {
36674
36770
  path: "README.md",
36675
- sha256: "065a66abd150f22b96eea42b77915c096579bfc54aadf21190dbbd6f08e1f12d"
36771
+ sha256: "568c73106073e36d5abffde8ed81ca54c15471d7e84a7d8e2249e71ef9298846"
36676
36772
  },
36677
36773
  {
36678
36774
  path: "artium-invocations.json",
@@ -36716,7 +36812,7 @@ var init_proxmox_axi = __esm({
36716
36812
  },
36717
36813
  {
36718
36814
  path: "dist/journal.js",
36719
- sha256: "6fc4df85c2ba04cf02599089c8158ea619bfe57bbbf569151bb59f56debe85da"
36815
+ sha256: "c0ed16c78b6fa6721c78e5ef2bb40a4670be3e76d706ba60ee9998d3ae10d49b"
36720
36816
  },
36721
36817
  {
36722
36818
  path: "dist/node-network.js",
@@ -36736,7 +36832,7 @@ var init_proxmox_axi = __esm({
36736
36832
  },
36737
36833
  {
36738
36834
  path: "dist/private-file.js",
36739
- sha256: "1327dd1af417bcb9a2cb82de28bb93117c9967e3e7976923f6d69927e75dbc8c"
36835
+ sha256: "deb0023ab3bbbee75a7e95ecbcf1931c57f7c2d85f2376b375d34a4a87f16150"
36740
36836
  },
36741
36837
  {
36742
36838
  path: "dist/private-results.js",
@@ -101646,7 +101742,7 @@ function hostedHelp(help3, tool, flags, commands3) {
101646
101742
  if (tool === "falcon-axi") {
101647
101743
  const rootPosture = help3.includes("\nRTR execution requires");
101648
101744
  help3 = help3.replace(new RegExp(`^ (?:${falcon_axi_default.blockedCommands.join("|")})(?=\\s|$)[^\\r\\n]*(?:\\r?\\n|$)`, "gm"), "").replace(/\nRTR execution requires[\s\S]*$/, "\n").replace(/ \([^)]*\bexception N[1-4]\)/gi, "").split("\n").filter((line) => !falcon_axi_default.blockedCommands.some((command) => line.includes(`falcon-axi ${command}`))).join("\n");
101649
- const guidance = "Artium manages the Falcon profile, region and member CID. Passive reads are available. Search start/stop, host usb, identity activity, malquery search and rtr run require exact administrator grants, off by default. Search and MalQuery dispatch immediately. RTR previews without --execute; execution requires profile opt-in, an allowed command and exact --confirm device:command. Never automatically replay an uncertain submission. Use artium-axi falcon-axi scopes for permissions.";
101745
+ const guidance = "Artium manages the Falcon profile, region and member CID. Passive reads are available. Search start/stop, host usb, identity activity, identity rule create and delete, malquery search and rtr run require exact administrator grants, off by default. Search and MalQuery dispatch immediately. RTR previews without --execute; execution requires profile opt-in, an allowed command and exact --confirm device:command. Never automatically replay an uncertain submission. Use artium-axi falcon-axi scopes for permissions.";
101650
101746
  if (rootPosture && !help3.includes(guidance)) help3 = help3.trimEnd() + "\n" + guidance + "\n";
101651
101747
  }
101652
101748
  if (tool === "gh-axi") {
@@ -102235,7 +102331,7 @@ var init_help = __esm({
102235
102331
  "falcon-axi": {
102236
102332
  usage: "artium-axi falcon-axi [<args>]",
102237
102333
  purpose: "Run Falcon commands with your managed credentials.",
102238
- flags: ["Reads retain native --help. Search start/stop, host usb, identity activity, malquery search and rtr run require exact administrator-selected operations, off by default. Search and MalQuery dispatch natively without a preview gate. RTR previews without --execute; execution also requires profile rtr.enabled, its command restriction and exact --confirm device:command. Never automatically retry an uncertain submission."],
102334
+ flags: ["Reads retain native --help. Search start/stop, host usb, identity activity, identity rule create and delete, malquery search and rtr run require exact administrator-selected operations, off by default. Search and MalQuery dispatch natively without a preview gate. RTR previews without --execute; execution also requires profile rtr.enabled, its command restriction and exact --confirm device:command. Never automatically retry an uncertain submission."],
102239
102335
  example: `artium-axi falcon-axi ${falcon_axi_default.discovery.example.join(" ")}`
102240
102336
  },
102241
102337
  "vectra-axi": {
@@ -102684,6 +102780,11 @@ function inputFileFlags(tool, args2) {
102684
102780
  if (!route) return [];
102685
102781
  return flags.filter((name) => Object.hasOwn(route.flags, name));
102686
102782
  }
102783
+ function falconGraphqlQueryIndex(args2) {
102784
+ if (args2[0] !== "identity" || args2[1] !== "graphql" || args2.includes("--help")) return void 0;
102785
+ const index = args2.indexOf("--query", 2) + 1;
102786
+ return /^@./.test(args2[index] ?? "") ? index : void 0;
102787
+ }
102687
102788
  function ghReleaseUploadFileIndexes(args2) {
102688
102789
  if (args2[0] !== "release" || args2[1] !== "upload" || args2.some((arg) => ["--help", "-h"].includes(arg))) return [];
102689
102790
  const positionals = [];
@@ -102699,6 +102800,8 @@ function validateFileInput(tool, args2, input2) {
102699
102800
  const flags = inputFileFlags(tool, args2);
102700
102801
  const names = /* @__PURE__ */ new Set();
102701
102802
  if (tool === "gh-axi") for (const index of ghReleaseUploadFileIndexes(args2)) names.add(args2[index]);
102803
+ const graphqlQuery = tool === "falcon-axi" ? falconGraphqlQueryIndex(args2) : void 0;
102804
+ if (graphqlQuery !== void 0) names.add(args2[graphqlQuery].slice(1));
102702
102805
  if (!args2.some((arg) => ["--help", "-h", "--version", "-v", "-V"].includes(arg))) {
102703
102806
  for (let index = 0; index < args2.length; index++) {
102704
102807
  const token = args2[index];
@@ -102888,6 +102991,13 @@ async function toolInput(tool, original) {
102888
102991
  input2.files ??= [];
102889
102992
  input2.files.push({ name, size: content.length, contentBase64: content.toString("base64") });
102890
102993
  }
102994
+ const falconQuery = tool === "falcon-axi" ? falconGraphqlQueryIndex(args2) : void 0;
102995
+ if (falconQuery !== void 0) {
102996
+ const path = args2[falconQuery].slice(1);
102997
+ const name = basename(path);
102998
+ await stageFile(path, name, inputLimits.fileBytes);
102999
+ args2[falconQuery] = `@${name}`;
103000
+ }
102891
103001
  if (tool === "gh-axi") for (const index of ghReleaseUploadFileIndexes(args2)) {
102892
103002
  const name = basename(args2[index]);
102893
103003
  await stageFile(args2[index], name, inputLimits.fileBytes);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowttl/artium-axi",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "description": "Client CLI and embedded skill for the Artium managed tools server.",
5
5
  "license": "MIT",
6
6
  "type": "module",