@doufunao123/asset-gateway 0.22.2 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import { AssetForgeError } from "@doufunao123/assetforge-sdk";
15
15
 
16
16
  // src/meta.ts
17
17
  var CLI_NAME = "asset-gateway";
18
- var CLI_VERSION = "0.22.2";
18
+ var CLI_VERSION = "0.23.0";
19
19
  var CLI_DESCRIPTION = "Universal asset generation gateway CLI";
20
20
  var DEFAULT_GATEWAY_URL = "https://asset.origingame.dev";
21
21
 
@@ -1187,7 +1187,7 @@ function createLibraryCommand() {
1187
1187
  "Search and manage the asset library"
1188
1188
  );
1189
1189
  command.addCommand(
1190
- new Command5("search").description("Search the asset library").argument("[query]", "Search query").option("-q, --query <query>", "Search query").option("-t, --type <type>", "Filter by asset type (audio, music, image, etc.)").option("--tags <tags>", "Filter by tags (comma-separated)").option("--source <source>", "Filter by source (manual, generated, imported)").option("--mode <mode>", "Search mode (fts, vector, hybrid)").option("--style <style>", "Filter by visual style").option("--composition <composition>", "Filter by composition").option("--lighting <lighting>", "Filter by lighting").option("--color-tone <tone>", "Filter by color tone").option("--mood <mood>", "Filter by mood (comma-separated)").option("--theme <theme>", "Filter by theme (comma-separated)").option("--era <era>", "Filter by era").option("--rig-name <rig>", "Filter by exact rig name").option("--compatible-rig <rig>", "Filter by compatible rig").option("--no-rerank", "Disable LLM reranking").option("-n, --limit <limit>", "Max results", "20").option("--offset <offset>", "Offset for pagination", "0").action(async function(query) {
1190
+ new Command5("search").description("Search the asset library").argument("[query]", "Search query").option("-q, --query <query>", "Search query").option("-t, --type <type>", "Filter by asset type (audio, music, image, etc.)").option("--tags <tags>", "Filter by tags (comma-separated)").option("--source <source>", "Filter by source (manual, generated, imported)").option("--pack-id <id>", "Filter by library pack ID").option("--mode <mode>", "Search mode (fts, vector, hybrid)").option("--style <style>", "Filter by visual style").option("--composition <composition>", "Filter by composition").option("--lighting <lighting>", "Filter by lighting").option("--color-tone <tone>", "Filter by color tone").option("--mood <mood>", "Filter by mood (comma-separated)").option("--theme <theme>", "Filter by theme (comma-separated)").option("--era <era>", "Filter by era").option("--gameplay-role <role>", "Filter by gameplay role").option("--rig-name <rig>", "Filter by exact rig name").option("--compatible-rig <rig>", "Filter by compatible rig").option("--no-rerank", "Disable LLM reranking").option("-n, --limit <limit>", "Max results", "20").option("--offset <offset>", "Offset for pagination", "0").action(async function(query) {
1191
1191
  const ctx = createContext(this);
1192
1192
  const opts = this.opts();
1193
1193
  try {
@@ -1196,6 +1196,7 @@ function createLibraryCommand() {
1196
1196
  type: opts.type,
1197
1197
  tags: opts.tags,
1198
1198
  source: opts.source,
1199
+ pack_id: opts.packId,
1199
1200
  mode: opts.mode,
1200
1201
  style: opts.style,
1201
1202
  composition: opts.composition,
@@ -1204,6 +1205,7 @@ function createLibraryCommand() {
1204
1205
  mood: opts.mood,
1205
1206
  theme: opts.theme,
1206
1207
  era: opts.era,
1208
+ gameplay_role: opts.gameplayRole,
1207
1209
  rig_name: opts.rigName,
1208
1210
  compatible_rig: opts.compatibleRig,
1209
1211
  rerank: opts.rerank,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doufunao123/asset-gateway",
3
- "version": "0.22.2",
3
+ "version": "0.23.0",
4
4
  "description": "Universal asset generation gateway CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -12,8 +12,8 @@
12
12
  ],
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "git+https://github.com/fran0220/agent-skills.git",
16
- "directory": "asset-gateway/npm"
15
+ "url": "git+https://github.com/fran0220/asset-gateway.git",
16
+ "directory": "npm"
17
17
  },
18
18
  "author": "doufunao123",
19
19
  "scripts": {
@@ -27,7 +27,7 @@
27
27
  "node": ">=20"
28
28
  },
29
29
  "dependencies": {
30
- "@doufunao123/assetforge-sdk": "^0.8.0",
30
+ "@doufunao123/assetforge-sdk": "^0.9.0",
31
31
  "commander": "^13.1.0"
32
32
  },
33
33
  "devDependencies": {