@unifocl/claude-plugin 3.0.0 → 3.1.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.
@@ -34,7 +34,7 @@ Path format rules:
34
34
  - Names are case-sensitive and must match exactly as shown in `/dump hierarchy`
35
35
 
36
36
  Mode availability:
37
- - Host mode (no Unity Editor open): create, rename, remove, move, toggle_active
38
- - Bridge mode (Unity Editor open with com.unifocl.cli): all ops including add_component, remove_component, set_field, toggle_field, toggle_component
37
+ - All ops work in both Host mode (batch/headless daemon) and Bridge mode (interactive Unity Editor).
38
+ - No op is restricted to Bridge-only.
39
39
 
40
40
  For multi-step workflows, pass `--session-seed <id>` across exec calls to share project context without re-specifying --project every time.
@@ -24,10 +24,13 @@ Steps:
24
24
  `unifocl exec "/doctor" --agentic --format json`
25
25
 
26
26
  MCP server tools available when daemon is up:
27
- - `ListCommands(scope, query, limit)` — discover all unifocl commands by scope (root/project/inspector/all)
27
+ - `ListCommands(category, scope, query, limit)` — discover commands; category filter: core (default), setup, build, validate, diag, test, upm, addressable, asset, scene, compile, eval, profiling, prefab, or 'all'
28
28
  - `LookupCommand(command, scope)` — exact or fuzzy command lookup with signature and description
29
29
  - `GetMutateSchema()` — full /mutate op schema with all supported fields and types
30
30
  - `ValidateMutateBatch(opsJson)` — pre-validate a mutation batch without executing
31
31
  - `GetAgentWorkflowGuide()` — complete agentic workflow reference, version-matched to this binary
32
32
  - `GetCategories()` — list custom tool categories from the project manifest
33
33
  - `LoadCategory(name)` — register a category's [UnifoclCommand] tools as live MCP tools
34
+ - `UseCategory(name)` — load manifest + register category tools in one step (preferred over GetCategories+LoadCategory)
35
+ - `UnloadCategory(name)` — remove a loaded category's tools from the active MCP tool list
36
+ - `ReloadManifest()` — refresh the manifest after Unity recompiles new [UnifoclCommand] methods
@@ -21,7 +21,9 @@ Standard session pattern:
21
21
  Always read context before planning mutations — paths are case-sensitive.
22
22
 
23
23
  4. Discover commands
24
- `ListCommands(scope="all")` via MCP for full catalog.
24
+ `ListCommands(category="all")` via MCP for full catalog, or filter by category:
25
+ core (default), setup, build, validate, diag, test, upm, addressable, asset,
26
+ scene, compile, eval, profiling, prefab.
25
27
  `LookupCommand(command="...")` for a specific command's signature.
26
28
  Prefer MCP lookups over reading README — lower token cost.
27
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifocl/claude-plugin",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Claude Code plugin for unifocl — auto-configures MCP server and slash commands for Unity project workflows.",
5
5
  "keywords": [
6
6
  "unity",