agent-trellis 0.21.0 → 0.22.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.
- package/dist/adapters/mcpPlan.d.ts +3 -1
- package/dist/adapters/mcpPlan.js +43 -16
- package/dist/cli.js +9 -6
- package/dist/commands/mcpGateway.js +1 -1
- package/dist/commands/migrate.js +11 -1
- package/dist/commands/remoteSkill.js +18 -1
- package/dist/commands/secretsAudit.js +17 -4
- package/dist/commands/skill.d.ts +11 -6
- package/dist/commands/skill.js +85 -32
- package/dist/commands/sync.d.ts +1 -0
- package/dist/commands/sync.js +3 -1
- package/dist/core/canonical.d.ts +1 -2
- package/dist/core/canonical.js +16 -9
- package/dist/core/types.d.ts +8 -7
- package/dist/lib/envVarNames.d.ts +5 -1
- package/dist/lib/envVarNames.js +15 -2
- package/dist/lib/mcpConnect.js +18 -4
- package/dist/lib/secretEnv.d.ts +8 -4
- package/dist/lib/secretEnv.js +44 -15
- package/dist/lib/skillScope.d.ts +14 -0
- package/dist/lib/skillScope.js +40 -0
- package/dist/lib/workspace.js +7 -2
- package/dist/pi-bridge/bundle.js +164 -58
- package/docs/architecture.md +27 -7
- package/docs/getting-started.md +29 -9
- package/docs/research.md +15 -2
- package/package.json +1 -1
- package/schema/scope.example.yaml +15 -3
- package/schema/servers.example.yaml +6 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
# .trellis/scope.yaml —
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# .trellis/scope.yaml — every custom skill must register applicable agents.
|
|
2
|
+
# Missing/invalid skill entries are PAUSED. [] explicitly pauses a skill.
|
|
3
|
+
# Lists name known compatible agents; managing another agent does not expand
|
|
4
|
+
# an existing skill's list. `skill scope <name> --all` records today's set.
|
|
5
|
+
# Subagent profiles and memories retain their all-managed default.
|
|
4
6
|
#
|
|
5
7
|
# Why this lives in its own file instead of inside each SKILL.md/agent.md:
|
|
6
8
|
# Codex validates SKILL.md frontmatter against an allow-list of known keys
|
|
@@ -15,11 +17,21 @@
|
|
|
15
17
|
# instead of here — see schema/servers.example.yaml.
|
|
16
18
|
|
|
17
19
|
skills:
|
|
20
|
+
shared-workflow: [claude-code, codex, kiro, pi]
|
|
21
|
+
codex-workflow: [codex]
|
|
22
|
+
pending-review: []
|
|
18
23
|
# This skill only makes sense for Claude Code's tool surface (e.g. it
|
|
19
24
|
# references the Task tool for subagent delegation, which the other
|
|
20
25
|
# three agents don't have an equivalent of).
|
|
21
26
|
claude-subagent-dispatch: [claude-code]
|
|
22
27
|
|
|
28
|
+
# Keep publisher provenance separate from compatibility: a Claude-only or
|
|
29
|
+
# Codex-only upstream skill still needs the matching list above. Portable
|
|
30
|
+
# skills list every reviewed target. Never add a Trellis-only `agents`
|
|
31
|
+
# field to upstream SKILL.md files.
|
|
32
|
+
# Hermes skills are autonomous (curator/review/archive); Trellis does not
|
|
33
|
+
# deliver, overwrite, link, or manage ~/.hermes/skills.
|
|
34
|
+
|
|
23
35
|
agents:
|
|
24
36
|
# Subagent profiles are implicitly Claude-Code-only today — Codex has no
|
|
25
37
|
# persistent subagent concept, Kiro/pi unconfirmed (see docs/research.md).
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
# delivered under the `KEY` segment (mx-env-secret-source). A
|
|
7
7
|
# reference gives this file value-free, machine-independent
|
|
8
8
|
# provenance; prefer it over relying on ambient process env.
|
|
9
|
+
# - HTTP/SSE headers accept inline references, e.g.
|
|
10
|
+
# Authorization: "Bearer ${mxenv://legacy/SERVICE_TOKEN}"
|
|
11
|
+
# Use Trellis gateway/runtime delivery (or pi's bridge) for these:
|
|
12
|
+
# values resolve in memory without depending on the launching shell.
|
|
13
|
+
# Missing/invalid references fail explicitly. Native direct sync
|
|
14
|
+
# refuses these references because native clients cannot resolve them.
|
|
9
15
|
# - Real values come from whatever already populates process env
|
|
10
16
|
# (a plain `.env`-style file, 1Password's `op run`, etc.) — Trellis
|
|
11
17
|
# does not store or transport secret values itself.
|