@aviaratech/ai-delivery 0.3.27 → 0.3.29
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/README.md +18 -0
- package/dist/currentTrackingScenario.test.d.ts +1 -0
- package/dist/currentTrackingScenario.test.js +486 -0
- package/dist/currentTrackingScenario.test.js.map +1 -0
- package/dist/directoryIndependent.test.js +47 -0
- package/dist/directoryIndependent.test.js.map +1 -1
- package/dist/issueIntake.test.js +18 -3
- package/dist/issueIntake.test.js.map +1 -1
- package/dist/mcp/index.js +9 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/tools.d.ts +1 -1
- package/dist/mcp/tools.js +6 -3
- package/dist/mcp/tools.js.map +1 -1
- package/dist/pluginPackaging.test.js +8 -0
- package/dist/pluginPackaging.test.js.map +1 -1
- package/package.json +1 -1
- package/plugins/ai-delivery/.claude-plugin/plugin.json +2 -2
- package/plugins/ai-delivery/README.md +8 -0
- package/plugins/ai-delivery/plugin.json +1 -1
- package/plugins/ai-delivery/runtime/dist/cli.js +12 -11
- package/plugins/ai-delivery/runtime/package.json +1 -1
- package/plugins/ai-delivery/skills/intake-create/SKILL.md +19 -3
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 'ai-delivery:intake-create'
|
|
3
|
-
description:
|
|
3
|
+
description: Use ai-delivery MCP to read, list, search, create or update GitHub issues with an explicit repository from any directory. Apply to ordinary issue_info requests and issue intake validated by the ai-delivery.issue@1 contract.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# GitHub issue work
|
|
7
|
+
|
|
8
|
+
## Read first through the requested MCP provider
|
|
9
|
+
|
|
10
|
+
For an ordinary request such as “Use the ai-delivery MCP issue_info tool to read owner/name issue N,” discover the intended installed ai-delivery provider, inspect the tool schema, and pass the user's repository as `repo`. Ordinary remote issue/PR tools work from a non-Git directory when `repo` is explicit. Do not ask the user to move into a checkout for a remote read.
|
|
11
|
+
|
|
12
|
+
In Claude Code, when both bare and plugin-qualified ai-delivery tools are listed, select the installed plugin's compatible tool before calling. The observed Claude example is `mcp__plugin_ai-delivery_ai-delivery__issue_info`, with required `issueNumber` and optional `repo`. Other hosts may expose a different qualified name: use the discovered provider and schema rather than hardcoding Claude's prefix everywhere. A tool with only `issueNumber`/`cached` and no `repo` has a different contract; do not send it an unsupported repository field or assume its origin from its name.
|
|
13
|
+
|
|
14
|
+
For example, a fictional remote read takes this MCP argument object:
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
{"repo": "example/widget", "issueNumber": 17}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the repository and issue actually requested. Reading needs no typed intake fields, readiness check or start action. A read-only request stays read-only: call `issue_info` for that read, or the requested `issue_list`/`issue_search` for finding work, without `issue_create`, `issue_update` or `issue_start`. Honor an explicitly selected provider and any “MCP only” or “no other GitHub tool” constraint. If the requested compatible provider is unavailable or its schema differs, report that limitation and stop; do not silently use another provider/CLI or change registrations, permissions, actors, credentials or host configuration.
|
|
21
|
+
|
|
22
|
+
## Issue intake and authorized updates
|
|
7
23
|
|
|
8
24
|
Use the complete native GitHub issue and its live relationships as the current contract. Select the intended repository explicitly and use its configured author identity; Git commit authors are not authentication. Inspect the current title, body, Issue Type, Points, Project status, parent and blockers before updating an existing issue. Preserve every agreed requirement and original history when correcting intake.
|
|
9
25
|
|
|
@@ -51,7 +67,7 @@ Save this UTF-8 typed field object as `/owned/issue.json` in your task-owned dir
|
|
|
51
67
|
|
|
52
68
|
## CLI fallback
|
|
53
69
|
|
|
54
|
-
Use the installed CLI when MCP is unavailable. Substitute your configured author identity, intended repository, owned JSON path and actual issue number. Explicit CLI values override the corresponding field-file values; omitted flags preserve them. `--fields-file` accepts the same typed field patch used by MCP. These commands perform real native operations only under your already authorized lifecycle:
|
|
70
|
+
Use the installed CLI when MCP is unavailable only if the user's requested tool/provider restrictions permit that fallback. An MCP-only request, “no other GitHub tool,” or unavailable/incompatible requested-provider stop above does not authorize CLI substitution. Substitute your configured author identity, intended repository, owned JSON path and actual issue number. Explicit CLI values override the corresponding field-file values; omitted flags preserve them. `--fields-file` accepts the same typed field patch used by MCP. These commands perform real native operations only under your already authorized lifecycle:
|
|
55
71
|
|
|
56
72
|
```bash
|
|
57
73
|
ai-delivery --identity host-author --repo example/widget create --title 'Reject invalid widget identifiers before persistence' --fields-file /owned/issue.json
|