@ahqstore/cli 0.16.0-alpha.21 → 0.16.0-alpha.23

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.
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "../schemas/schema_0.16.0-alpha.21.schema.json",
3
+ "appId": "GgmaZgKptDCkor122cPUO15WzPrPgSnjkySBbrGCuty3uj9DvmBN8ssnfl5o7aMQ",
4
+ "appShortcutName": "Watercooler",
5
+ "appDisplayName": "Cool - Watercooler",
6
+ "shortdesc": "A simple water cooling application",
7
+ "authorId": "0001",
8
+ "install": {
9
+ "win32": null,
10
+ "winArm": null,
11
+ "linuxX64": null,
12
+ "linuxArm64": null,
13
+ "android": null
14
+ },
15
+ "repo": {
16
+ "source": "GitHub",
17
+ "author": "ahqstore",
18
+ "repository": "watercooler"
19
+ },
20
+ "usrVersion": null,
21
+ "site": null,
22
+ "licenseOrTos": null
23
+ }
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"IMetadata","type":"object","properties":{"$schema":{"type":"string"},"appDisplayName":{"description":"The name that'll be displayed in the AHQ Store","type":"string"},"appId":{"description":"The ID of the application","type":"string"},"appShortcutName":{"description":"The name of the shortcut of the app","type":"string"},"authorId":{"description":"Unique ID of the author","type":"string"},"install":{"description":"Install options","$ref":"#/$defs/InstallerOptions"},"licenseOrTos":{"description":"License type or Terms of Service Page","type":["string","null"]},"repo":{"description":"The Repository associated","$ref":"#/$defs/ApplicationRepository"},"shortdesc":{"description":"Short description","type":"string"},"site":{"description":"The Site to your app","type":["string","null"]},"usrVersion":{"description":"A version provided by the user, like AHQ Store CLI","type":["string","null"]}},"required":["$schema","appId","appShortcutName","appDisplayName","shortdesc","authorId","install","repo"],"$defs":{"AndBlock":{"type":"array","items":{"$ref":"#/$defs/OrBlock"}},"AndroidPlatform":{"oneOf":[{"type":"object","properties":{"finder":{"$ref":"#/$defs/Finder"},"installType":{"type":"string","const":"universal"},"intent":{"$ref":"#/$defs/FileIntent"}},"required":["installType","finder","intent"]},{"type":"object","properties":{"arm32":{"$ref":"#/$defs/FileIntent"},"arm64":{"$ref":"#/$defs/FileIntent"},"finder":{"$ref":"#/$defs/Finder"},"installType":{"type":"string","const":"split"},"x64":{"$ref":"#/$defs/FileIntent"},"x86":{"$ref":"#/$defs/FileIntent"}},"required":["installType","finder","x64","x86","arm64","arm32"]}]},"ApplicationRepository":{"type":"object","properties":{"author":{"type":"string"},"repository":{"type":"string"},"source":{"$ref":"#/$defs/GitProvider"}},"required":["source","author","repository"]},"DesktopPlatform":{"type":"object","properties":{"finder":{"$ref":"#/$defs/Finder"},"intent":{"$ref":"#/$defs/FileIntent"}},"required":["finder","intent"]},"FileIntent":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"ArtifactZip"}},"required":["type"]},{"type":"object","properties":{"extension":{"type":"string"},"type":{"type":"string","const":"Artifact"}},"required":["type","extension"]},{"description":"🎯 Stable as of v1","type":"object","properties":{"exec":{"type":"string"},"scope":{"$ref":"#/$defs/WindowsInstallScope"},"type":{"type":"string","const":"WindowsZip"}},"required":["type","exec","scope"]},{"description":"🎯 Stable as of v2","type":"object","properties":{"guid":{"description":"This is an optional field that can be useful for applications\nwhose GUID cannot be reliably fetched from the `.msi` file\n\nSome examples include applications like Firefox where the .msi\nfile effectively calls an `.exe` setup, making our GUID search return\ninvalid outcome.\n\nThe GUID entry should have a `ahqstore` key with SZ field that has the appId\nfor verification","type":["string","null"]},"type":{"type":"string","const":"WindowsInstallerMsi"}},"required":["type"]},{"description":"🎯 Stable after v2","type":"object","properties":{"args":{"type":["array","null"],"items":{"type":"string"}},"type":{"type":"string","const":"WindowsInstallerExe"}},"required":["type"]},{"description":"🔬 Planned in AHQ Store NEO","type":"object","properties":{"aumid":{"description":"This is used incase, we are unable to correctly identify required AUMID from the AppxManifest\n\nRecommended to be present","type":["string","null"]},"type":{"type":"string","const":"WindowsUWPMsix"}},"required":["type"]},{"description":"🔬 Planned in AHQ Store NEO","type":"object","properties":{"scope":{"$ref":"#/$defs/WindowsInstallScope"},"type":{"type":"string","const":"WindowsAHQDB"}},"required":["type","scope"]},{"description":"🎯 Stable as of v2","type":"object","properties":{"type":{"type":"string","const":"LinuxAppImage"}},"required":["type"]},{"description":"🔬 Planned in AHQ Store NEO","type":"object","properties":{"min_sdk":{"type":"integer","format":"uint32","minimum":0},"type":{"type":"string","const":"AndroidApkZip"}},"required":["type","min_sdk"]}]},"Finder":{"description":"All the elements of the Finder are case sensitive\n\nThis Finder structure assumes minimal presence of\nartifact differentiators that are required for a smooth\nartifact match.\nIf your project does not have the minimum presence, you\nmight need to reorganize your CI/CD Pipeline!\n\n## Note\nThe structure has been designed to allow robust pattern matching\nwith static information instead of utilizing a runtime scripting\nlanguage","type":"object","properties":{"contains":{"$ref":"#/$defs/AndBlock"},"endsWith":{"$ref":"#/$defs/OrBlock"},"notcontains":{"$ref":"#/$defs/OrBlock"},"startsWith":{"description":"A list of prefixes that the artifact name should start with","$ref":"#/$defs/OrBlock"}},"required":["startsWith","contains","notcontains","endsWith"]},"GitProvider":{"type":"string","enum":["GitHub"]},"InstallerOptions":{"type":"object","properties":{"android":{"anyOf":[{"$ref":"#/$defs/AndroidPlatform"},{"type":"null"}]},"linuxArm64":{"anyOf":[{"$ref":"#/$defs/DesktopPlatform"},{"type":"null"}]},"linuxX64":{"anyOf":[{"$ref":"#/$defs/DesktopPlatform"},{"type":"null"}]},"win32":{"anyOf":[{"$ref":"#/$defs/DesktopPlatform"},{"type":"null"}]},"winArm":{"anyOf":[{"$ref":"#/$defs/DesktopPlatform"},{"type":"null"}]}}},"OrBlock":{"type":"array","items":{"type":"string"}},"WindowsInstallScope":{"type":"string","enum":["User","Machine","Both"]}}}
package/.build CHANGED
@@ -1 +1 @@
1
- 2026-02-20 17:12:00
1
+ 2026-02-23 17:40:33
package/Cargo.toml CHANGED
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  edition = "2021"
3
3
  name = "ahqstore_cli_rs"
4
- version = "0.16.0-alpha.21"
4
+ version = "0.16.0-alpha.23"
5
5
  description = "AHQ Store Developers' CLI"
6
6
  repository = "https://github.com/ahqstore/cli"
7
7
  homepage = "https://github.com/ahqstore/cli"
@@ -28,7 +28,7 @@ pre-build = ["apt-get update && apt-get --assume-yes install nasm clang"]
28
28
  [dependencies]
29
29
  serde = { version = "^1", features = ["derive"] }
30
30
  serde_json = "^1"
31
- ahqstore-types = { version = "^4", features = ["apps_repo"] }
31
+ ahqstore-types = { version = "^4", features = ["apps_repo", "schemars"] }
32
32
  image = { version = "^0.25", default-features = false, features = ["png"] }
33
33
  rand = "^0.10"
34
34
  semver = "^1"
@@ -48,7 +48,9 @@ rustls = { version = "^0.23", default-features = false, features = [
48
48
  reqwest = "^0.13"
49
49
  tokio = { version = "^1", features = ["rt", "time", "macros"] }
50
50
  strsim = "^0.11"
51
- schemars = { version = "^1.2", optional = true }
51
+ schemars = { version = "^1.2" }
52
+ tar = "^0.4"
53
+ base64 = "^0.22"
52
54
 
53
55
  [target.'cfg(target_env="musl")'.dependencies]
54
56
  mimalloc = "^0.1"
@@ -60,5 +62,4 @@ opt-level = "z"
60
62
  codegen-units = 1
61
63
 
62
64
  [features]
63
- schemars = ["dep:schemars"]
64
65
  debug = []
package/README.md CHANGED
@@ -78,7 +78,7 @@ deno install -g npm:@ahqstore/cli
78
78
  ### Using JSR
79
79
 
80
80
  ```sh
81
- deno install -A -f -g -n ahqstore https://jsr.io/@ahqstore/cli/0.16.0-alpha.21/js/cli.js
81
+ deno install -A -f -g -n ahqstore https://jsr.io/@ahqstore/cli/0.16.0-alpha.23/js/cli.js
82
82
  ```
83
83
 
84
84
  ## Bun
@@ -5,7 +5,7 @@ import 'package:ffi/ffi.dart';
5
5
  import 'package:http/http.dart';
6
6
 
7
7
  // IMP
8
- const String version = "0.16.0-alpha.21";
8
+ const String version = "0.16.0-alpha.23";
9
9
  // ENDIMP
10
10
 
11
11
  String getUserHomeDirectory() {
package/dart/pubspec.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  name: ahqstore_cli
2
2
  description: An Official port of the original AHQ Store Rust CLI
3
- version: 0.16.0-alpha.21
3
+ version: 0.16.0-alpha.23
4
4
  repository: https://github.com/ahqstore/cli
5
5
  executables:
6
6
  ahqstore:
package/jsr.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://jsr.io/schema/config-file.v1.json",
3
3
  "name": "@ahqstore/cli",
4
- "version": "0.16.0-alpha.21",
4
+ "version": "0.16.0-alpha.23",
5
5
  "license": "MIT",
6
6
  "exports": {
7
7
  ".": "./js/cli.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ahqstore/cli",
3
- "version": "0.16.0-alpha.21",
3
+ "version": "0.16.0-alpha.23",
4
4
  "description": "AHQ Store Official CLI, A port of the rust version to NodeJS",
5
5
  "keywords": [
6
6
  "cli",
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env -S cargo +nightly -Zscript
2
- ---cargo
3
- [package]
4
- edition = "2024"
5
-
6
- [dependencies]
7
- ahqstore_cli_rs = { path = "..", features = ["schemars"] }
8
- ---
9
-
10
- fn main() {
11
- println!("Hello World!");
12
- }