@hanhnd/agent-kit 1.0.20 → 1.0.22
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 +19 -17
- package/dist/kit-server.js +3 -3
- package/dist/tools/core.js +7 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,23 +6,25 @@
|
|
|
6
6
|
|
|
7
7
|
### Commands
|
|
8
8
|
|
|
9
|
-
| Command | Description
|
|
10
|
-
| --------------------------------- |
|
|
11
|
-
| `/ak:brainstorm [idea]` | Strategic architectural analysis
|
|
12
|
-
| `/ak:
|
|
13
|
-
| `/ak:
|
|
14
|
-
| `/ak:code
|
|
15
|
-
| `/ak:code-
|
|
16
|
-
| `/ak:
|
|
17
|
-
| `/ak:
|
|
18
|
-
| `/ak:
|
|
19
|
-
| `/ak:
|
|
20
|
-
| `/ak:
|
|
21
|
-
| `/ak:
|
|
22
|
-
| `/ak:
|
|
23
|
-
| `/ak:
|
|
24
|
-
| `/ak:
|
|
25
|
-
| `/ak:
|
|
9
|
+
| Command | Description |
|
|
10
|
+
| --------------------------------- | -------------------------------------------------------------------- |
|
|
11
|
+
| `/ak:brainstorm [idea]` | Strategic architectural analysis |
|
|
12
|
+
| `/ak:clarify <file or task>` | Clarify requirements |
|
|
13
|
+
| `/ak:plan [file or idea]` | Create an implementation blueprint |
|
|
14
|
+
| `/ak:code [file or task]` | Implement from a plan |
|
|
15
|
+
| `/ak:code-simplify` | Simplify modified code for readability |
|
|
16
|
+
| `/ak:code-refactor` | Refactor modified code for readability |
|
|
17
|
+
| `/ak:validate [artifact]` | Validate artifacts against expectations (or append `with /validate`) |
|
|
18
|
+
| `/ak:research [topic]` | Research a topic |
|
|
19
|
+
| `/ak:review-pr [PR URL]` | Review a pull request |
|
|
20
|
+
| `/ak:review` | Review uncommitted local changes |
|
|
21
|
+
| `/ak:debate [subject]` | Run adversarial debate (Gilfoyle vs Dinesh vs Judge) |
|
|
22
|
+
| `/ak:ticket [ID]` | Fetch a Jira ticket and plan from it |
|
|
23
|
+
| `/ak:git` | Git commit, branch, and PR workflow |
|
|
24
|
+
| `/ak:init` | Create the project overview file |
|
|
25
|
+
| `/ak:orchestrate [file or idea]` | Orchestrate agents to solve problems span across multiple projects |
|
|
26
|
+
| `/ak:delegate <agent> <task>` | Delegate a task to Gemini or Claude CLI |
|
|
27
|
+
| `/ak:wiki [compile\|query\|lint]` | Maintain a persistent, compounding project knowledge wiki |
|
|
26
28
|
|
|
27
29
|
---
|
|
28
30
|
|
package/dist/kit-server.js
CHANGED
|
@@ -21049,12 +21049,12 @@ var FORBIDDEN_DIRS = [
|
|
|
21049
21049
|
function registerCoreTools(server2) {
|
|
21050
21050
|
server2.tool(
|
|
21051
21051
|
"kit_save_handoff",
|
|
21052
|
-
|
|
21052
|
+
`Save a handoff artifact to .agent-kit/handoffs/. Returns the saved file path to use in next-step instructions. Do NOT append version numbers (v2, v3, etc.) to the slug.`,
|
|
21053
21053
|
{
|
|
21054
|
-
type: external_exports.enum(["brainstorm", "plan", "ticket", "research"]).describe("Handoff type"),
|
|
21054
|
+
type: external_exports.enum(["brainstorm", "clarify", "plan", "ticket", "research"]).describe("Handoff type"),
|
|
21055
21055
|
content: external_exports.string().describe("Full markdown content to save"),
|
|
21056
21056
|
slug: external_exports.string().describe(
|
|
21057
|
-
'Short identifier for the filename, e.g. "user-auth" or "PROJ-123". Do NOT append version numbers (v2, v3, etc)
|
|
21057
|
+
'Short identifier for the filename, e.g. "user-auth" or "PROJ-123". Do NOT append version numbers (v2, v3, etc.).'
|
|
21058
21058
|
)
|
|
21059
21059
|
},
|
|
21060
21060
|
async ({ type, content, slug }) => {
|
package/dist/tools/core.js
CHANGED
|
@@ -12,15 +12,17 @@ import { DEFAULT_EXTENSIONS } from './config.js';
|
|
|
12
12
|
export function registerCoreTools(server) {
|
|
13
13
|
// ═══════════════════════════════════════════════════════════════
|
|
14
14
|
// TOOL: SAVE HANDOFF
|
|
15
|
-
// Writes
|
|
16
|
-
// Returns the saved file path
|
|
15
|
+
// Writes handoff artifacts to the workspace
|
|
16
|
+
// Returns the saved file path to use in next-step instructions
|
|
17
17
|
// ═══════════════════════════════════════════════════════════════
|
|
18
|
-
server.tool('kit_save_handoff',
|
|
19
|
-
type: z
|
|
18
|
+
server.tool('kit_save_handoff', `Save a handoff artifact to .agent-kit/handoffs/. Returns the saved file path to use in next-step instructions. Do NOT append version numbers (v2, v3, etc.) to the slug.`, {
|
|
19
|
+
type: z
|
|
20
|
+
.enum(['brainstorm', 'clarify', 'plan', 'ticket', 'research'])
|
|
21
|
+
.describe('Handoff type'),
|
|
20
22
|
content: z.string().describe('Full markdown content to save'),
|
|
21
23
|
slug: z
|
|
22
24
|
.string()
|
|
23
|
-
.describe('Short identifier for the filename, e.g. "user-auth" or "PROJ-123". Do NOT append version numbers (v2, v3, etc)
|
|
25
|
+
.describe('Short identifier for the filename, e.g. "user-auth" or "PROJ-123". Do NOT append version numbers (v2, v3, etc.).'),
|
|
24
26
|
}, async ({ type, content, slug }) => {
|
|
25
27
|
try {
|
|
26
28
|
const safeSlug = slug.replace(/[^a-zA-Z0-9-_]/g, '-').toLowerCase();
|