@melite/image-tagger 0.2.0-alpha → 0.2.2-alpha

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/README.md +2 -6
  2. package/package.json +24 -13
package/README.md CHANGED
@@ -1,15 +1,11 @@
1
- ---
2
- description: Caption-and-tag card over four tagger families — wd14, joytag, florence2, and joycaption.
3
- kind: package-library
4
- ---
5
-
6
1
  # @melite/image-tagger
7
2
 
8
- `@melite/image-tagger` is the image captioning card (`id: 'tagger'`): one image in, a caption or tag list out as a `tags.txt` run artifact. Four families board, each through its own declared `tag` action: `wd14`, `joytag`, `florence2`, and `joycaption`. The lane is weightless — models load, nothing else computes. The package's single source module is the root face the cardPackages SSOT composes (`@melite/image-tagger`); there is no tool or client face.
3
+ `@melite/image-tagger` is the image captioning card (`id: 'tagger'`): one image in, a caption or tag list out as a `tags.txt` run artifact. Four families board, each through its own declared `tag` action: `wd14`, `joytag`, `florence2`, and `joycaption`. The lane is weightless — models load, nothing else computes. The package's single source module is the root face the cardPackages SSOT composes (`@melite/image-tagger`), which the manifest spells again as the explicit `./card` door; there is no tool or client face.
9
4
 
10
5
  ## Contract
11
6
 
12
7
  - `.` — the card definition and registration (the root module carries `inject = ['comfyui']`). Schema: `input_image` (required); `threshold` — the general-tag confidence floor; `character_threshold` — the person-identity floor, deliberately higher; and four defaultless optionals backfilled per family: `exclude_tags` (wd14), `add_tag`/`remove_tag` (joytag), and `extra_option` (joycaption). Ride keys carry NO `.default` — the model picks the floor by default, the caller overrides explicitly. The per-family requirement map is declared here by augmenting `CardDefinition` (`requiresByFamily`), and the SaveText tail plus the caption vocabularies (`TAGGER_CAPTION_TASKS`, `TAGGER_CAPTION_TYPES`, `TAGGER_CAPTION_LENGTHS`, `TAGGER_EXTRA_OPTIONS`) come from `@melite/comfyui-card-kit`. There is NO weights knob — the Model/Variant/Quant rail is the only picker, and validation stamps `resolver_defaults` (absent keys only).
8
+ - `./card` — the same card module as the root face, re-exported as the explicit named door (one file, two specifiers).
13
9
  - `./package.json` — the manifest.
14
10
 
15
11
  ## Model Experience
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "version": "0.2.0-alpha",
2
+ "version": "0.2.2-alpha",
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "type": "module",
5
- "description": "the tagger card (the image lane) — one card one package: card.ts host face (no tool face, no ui/, no agents/ — the view is constructed by @melite/card-base from the emission)",
5
+ "description": "Caption-and-tag card over four tagger families — wd14, joytag, florence2, and joycaption.",
6
6
  "exports": {
7
7
  ".": {
8
8
  "types": "./lib/card.d.ts",
@@ -16,17 +16,12 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@deepseek-ai/schemastery": "^3.18.5",
19
- "@melite/comfyui-card-kit": "0.2.0-alpha",
20
- "@melite/contracts": "0.2.0-alpha",
21
- "@melite/models-florence2": "0.2.0-alpha",
22
- "@melite/models-wd14": "0.2.0-alpha",
23
- "@melite/models-joycaption": "0.2.0-alpha",
24
- "@melite/models-joytag": "0.2.0-alpha"
25
- },
26
- "devDependencies": {
27
- "@types/node": "^22.20.0",
28
- "typescript": "^5.9.3",
29
- "@deepseek-ai/cordis": "^4.0.5"
19
+ "@melite/comfyui-card-kit": "0.2.2-alpha",
20
+ "@melite/contracts": "0.2.2-alpha",
21
+ "@melite/models-florence2": "0.2.2-alpha",
22
+ "@melite/models-joycaption": "0.2.2-alpha",
23
+ "@melite/models-joytag": "0.2.2-alpha",
24
+ "@melite/models-wd14": "0.2.2-alpha"
30
25
  },
31
26
  "name": "@melite/image-tagger",
32
27
  "files": [
@@ -37,10 +32,26 @@
37
32
  "peerDependencies": {
38
33
  "@deepseek-ai/cordis": "^4.0.5"
39
34
  },
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/JayDataEngineer/melite.git",
38
+ "directory": "packages/image/tagger"
39
+ },
40
+ "keywords": [
41
+ "melite",
42
+ "comfyui",
43
+ "cordis",
44
+ "agent",
45
+ "media-generation",
46
+ "library"
47
+ ],
40
48
  "scripts": {
41
49
  "build": "tsc -p tsconfig.build.json",
42
50
  "typecheck": "tsc --noEmit"
43
51
  },
52
+ "engines": {
53
+ "node": ">=22.18.0"
54
+ },
44
55
  "publishConfig": {
45
56
  "access": "public"
46
57
  }