@aiwg/flue 2026.11.5 → 2026.11.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiwg/flue",
3
- "version": "2026.11.5",
3
+ "version": "2026.11.6",
4
4
  "description": "AIWG bundle skills, specialist factories and MCP tools for Flue apps.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1596,6 +1596,10 @@
1596
1596
  "types": "./skills/parallel-dispatch/SKILL.md.d.ts",
1597
1597
  "default": "./skills/parallel-dispatch/SKILL.md"
1598
1598
  },
1599
+ "./skills/plugin-search/SKILL.md": {
1600
+ "types": "./skills/plugin-search/SKILL.md.d.ts",
1601
+ "default": "./skills/plugin-search/SKILL.md"
1602
+ },
1599
1603
  "./skills/plugin-status/SKILL.md": {
1600
1604
  "types": "./skills/plugin-status/SKILL.md.d.ts",
1601
1605
  "default": "./skills/plugin-status/SKILL.md"
@@ -67,6 +67,15 @@ When triggered:
67
67
 
68
68
  3. **Report the result** — name the installed marketplace wrapper and confirm which agents, skills, commands, and rules were deployed and where.
69
69
 
70
+ ## Finding third-party plugins
71
+
72
+ For a capability request without a selected plugin, use
73
+ [plugin-search](../plugin-search/SKILL.md):
74
+ `aiwg marketplace search "<capability>" --plugins` reads configured local
75
+ marketplaces and caches without installing anything. The four packages below
76
+ are AIWG's packages, not a complete directory of third-party plugins. Use the
77
+ provider's installer for third-party results; search does not extend this backend.
78
+
70
79
  ## Available Marketplace Packages
71
80
 
72
81
  | Package | Payload | Use Case |
@@ -40,6 +40,33 @@ The default type is `extension`; the default starter is `skill`. The aliases
40
40
  `new-extension`, `new-addon`, `new-framework`, `new-plugin`, and `new-provider`
41
41
  select their corresponding type.
42
42
 
43
+ ## Addon flows
44
+
45
+ After `aiwg new-bundle ux-studio --type addon`, add a `flows/` directory
46
+ and set `addonConfig.entry.flows` to `"flows/"` in its manifest. Each
47
+ `flows/<name>.yaml` uses the existing `flow.aiwg.io/v1` metalanguage with
48
+ `kind: FlowCapability`, `metadata.name`, and a schema-valid `spec` including
49
+ `description`, `version`, `inputs`, and `outputs`. Custom relative entry
50
+ directories and `.yml` files are also supported.
51
+
52
+ Optionally declare a top-level `flows: ["<metadata.name>"]` inventory;
53
+ legacy `addonConfig.flows` is also accepted. A skill alone remains type `skill`.
54
+
55
+ Rebuild and inspect the authored flow from the project root:
56
+
57
+ ```bash
58
+ aiwg index build --graph project
59
+ aiwg discover "<metadata.name>" --type flow
60
+ aiwg show flow <metadata.name>
61
+ aiwg list --project-local
62
+ ```
63
+
64
+ The flow card shows `Owner: addon:ux-studio`; the project-local list reports
65
+ flow names and counts. Use `validate-addon` to check flow YAML, its existing
66
+ schema, inventory, and discovery before deploying or promoting the addon.
67
+ See `docs/customization/project-local-quickstart.md` (Addon flows)
68
+ for a complete manifest fragment and FlowCapability example.
69
+
43
70
  ## Safety
44
71
 
45
72
  - Use `--dry-run` before scaffolding when the target or layout is uncertain.
@@ -0,0 +1,66 @@
1
+ ---
2
+ namespace: aiwg
3
+ name: plugin-search
4
+ platforms: [flue]
5
+ description: Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
6
+ ---
7
+
8
+ # Search Marketplace Plugins
9
+
10
+ Ask: "Search all marketplaces for UI/UX design and development plugins" or
11
+ "Find the most popular accessibility agent suite in my cached marketplaces."
12
+
13
+ ## Triggers
14
+
15
+ - "search marketplaces for plugins"
16
+ - "search all marketplaces"
17
+ - "find marketplace plugins"
18
+ - "highest rated UI/UX agent suite"
19
+ - "compare plugin install counts"
20
+
21
+ ## Behavior
22
+
23
+ 1. Extract capability terms from the request, such as `UI UX design development`.
24
+ 2. Run the existing marketplace command in its read-only provider plugin mode:
25
+
26
+ ```bash
27
+ aiwg marketplace search "UI UX design development" --plugins --json
28
+ ```
29
+
30
+ Default scope reads every configured Claude marketplace plus the local directory
31
+ cache. It explicitly reports Codex manifest search as deferred. Use `--provider
32
+ claude` to restrict the scope; other provider formats are not yet supported.
33
+ 3. Report the searched marketplaces, matching descriptions and keywords, and the
34
+ install count, review tier and as-of date for each signal. Preserve `null` as
35
+ unknown; an explicit review tier `none` differs from an absent tier.
36
+ 4. Explain ordering: number of matched query terms, review tier (`anthropic`, then
37
+ `partner`, then `none`/unknown), install count, then cache date, descending.
38
+ Popularity and review observations do not establish capability or a rating.
39
+ Compare the stated capabilities against the user's need; never invent stars,
40
+ ratings or claims that a suite is objectively the best.
41
+ 5. Surface warnings, including stale, malformed, missing or undated cache data.
42
+ Default maximum age is 30 days; `--max-age-days 7` changes it for this search.
43
+ 6. Give the selected `name@marketplace` and link to the
44
+ [install-plugin skill](../install-plugin/SKILL.md) with
45
+ `aiwg show skill install-plugin`. Third-party results require their provider's
46
+ installation workflow; this search does not extend the AIWG installer or
47
+ authorize installation. Never run an installer as part of search.
48
+
49
+ ## CLI reference
50
+
51
+ ```bash
52
+ aiwg marketplace search "accessibility design" --plugins
53
+ aiwg marketplace search "interface" --plugins --provider claude --max-age-days 7 --json
54
+ ```
55
+
56
+ The table and JSON include signal dates. JSON also lists configured marketplaces,
57
+ source files, matched terms and warnings. Warnings go to stderr as well.
58
+
59
+ Only these local Claude files are read below `${CLAUDE_CONFIG_DIR:-~/.claude}/plugins/`:
60
+ `known_marketplaces.json`, each configured checkout's
61
+ `.claude-plugin/marketplace.json`, `plugin-directory-cache-v2.json`, and
62
+ `install-counts-cache.json`. Missing cache dates stay unknown; filesystem modification
63
+ times are not substituted for observation dates. Nothing is downloaded or refreshed.
64
+
65
+ Without `--plugins`, the existing skill registry and signed catalog search behavior
66
+ is unchanged and may query remote registries. Always use `--plugins` for this skill.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -47,7 +47,7 @@ You check an entire AIWG addon directory for completeness and release readiness,
47
47
  - `autoInstall` field present (boolean; accept legacy `addonConfig.autoInstall` when absent at top level)
48
48
  - If `devOnly: true`: confirm this is intentional (it excludes from `aiwg use all`)
49
49
  - For project-local addons, also run `aiwg list --project-local` from the project root and check this manifest's diagnostics against the canonical bundle schema (`src/extensions/manifest.ts`). It requires `manifestVersion`, `platforms`, `keywords`, `deployment`, and `addonConfig` in addition to the common fields above. Preserve unknown-field and type errors; do not invent extra manifest fields to satisfy this skill.
50
- - Resolve artifact inventories from the top-level `skills`, `agents`, and `rules` arrays, falling back to the corresponding `addonConfig` arrays for legacy manifests. Resolve directories from `addonConfig.entry` (or legacy `entry`), defaulting to `skills/`, `agents/`, and `rules/`. Apply these inventories and paths in steps 4–6.
50
+ - Resolve artifact inventories from the top-level `skills`, `agents`, `rules`, and `flows` arrays, falling back to the corresponding `addonConfig` arrays for legacy manifests. Resolve directories from `addonConfig.entry` (or legacy `entry`), defaulting to `skills/`, `agents/`, `rules/`, and `flows/`. Apply these inventories and paths in steps 4–7.
51
51
 
52
52
  3. **Check `README.md`**:
53
53
  - File exists at addon root
@@ -74,16 +74,25 @@ You check an entire AIWG addon directory for completeness and release readiness,
74
74
  - `RULES-INDEX.md` exists in `rules/`
75
75
  - Rule name appears in `RULES-INDEX.md`
76
76
 
77
- 7. **Check for placement violations**:
77
+ 7. **Validate flows**:
78
+ - Resolve the flow directory from `addonConfig.entry.flows` (or legacy `entry.flows`), defaulting to `flows/`
79
+ - Read each `.yaml` or `.yml` flow document in that directory, including nested directories; do not follow symlinks
80
+ - Validate `FlowCapability` documents (`apiVersion: flow.aiwg.io/v1`) against the existing `$AIWG_ROOT/agentic/code/addons/aiwg-utils/workflow/schemas/workflow-capability.schema.json`; use the corresponding existing workflow schema for other Flow kinds and accepted legacy aliases
81
+ - Require `metadata.name` and the schema-required `spec` fields; report malformed YAML or schema failures as blocking issues
82
+ - If a `flows` inventory is declared (top-level first, then `addonConfig.flows`), match each name to `metadata.name`; collect missing declarations and orphaned documents. If no inventory is declared, enumerate the flow directory
83
+ - For project-local addons, from the project root run `aiwg index build --graph project`, then `aiwg discover "<metadata.name>" --type flow` and `aiwg show flow <metadata.name>`; verify the flow is found and its card shows `Owner: addon:<id>`
84
+ - Include a `Flows (<count>)` section with each flow name and PASS/FAIL status in the report
85
+
86
+ 8. **Check for placement violations**:
78
87
  - Search corresponding provider directories (`.claude/skills/`, `.github/agents/`, etc.) for any files whose names match this addon's artifacts
79
88
  - For each match: verify a source file exists under the located addon source root (project-local or `agentic/code/`)
80
89
  - Flag any deployed files with no source as violations
81
90
 
82
- 8. **Check for `.aiwg/` references in addon artifacts**:
91
+ 9. **Check for `.aiwg/` references in addon artifacts**:
83
92
  - Search all SKILL.md, agent `.md`, and command `.md` files under the addon for `@.aiwg/` path references
84
93
  - Flag any found: these only resolve inside the AIWG repository itself
85
94
 
86
- 9. **Compile report**:
95
+ 10. **Compile report**:
87
96
 
88
97
  ```
89
98
  Addon Validation: <addon-name> v<version>
@@ -112,6 +121,9 @@ You check an entire AIWG addon directory for completeness and release readiness,
112
121
  PASS component-completeness: rule file present, in RULES-INDEX.md
113
122
  FAIL addon-boundaries: not found in RULES-INDEX.md
114
123
 
124
+ Flows (1 found):
125
+ PASS screen-redesign: valid FlowCapability, discoverable as flow
126
+
115
127
  Placement violations:
116
128
  PASS no orphaned deployed files found
117
129
 
@@ -128,7 +140,7 @@ You check an entire AIWG addon directory for completeness and release readiness,
128
140
  none
129
141
  ```
130
142
 
131
- 10. **Report result**: Surface the structured report to the user. Highlight blocking issues in the summary line. For each failure, include the specific remediation step.
143
+ 11. **Report result**: Surface the structured report to the user. Highlight blocking issues in the summary line. For each failure, include the specific remediation step.
132
144
 
133
145
  ## Examples
134
146
 
@@ -146,6 +158,7 @@ README: PASS
146
158
  Skills (3): PASS (all present and complete)
147
159
  Agents (0): PASS
148
160
  Rules (4): PASS (all present and in RULES-INDEX.md)
161
+ Flows (0): PASS
149
162
  Placement: PASS (no violations)
150
163
  .aiwg/ refs: PASS
151
164