@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 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:plan [file or idea]` | Create an implementation blueprint |
13
- | `/ak:code [file or task]` | Implement from a plan |
14
- | `/ak:code-simplify` | Simplify modified code for readability |
15
- | `/ak:code-refactor` | Refactor modified code for readability |
16
- | `/ak:research [topic]` | Research a topic |
17
- | `/ak:review-pr [PR URL]` | Review a pull request |
18
- | `/ak:review` | Review uncommitted local changes |
19
- | `/ak:debate [subject]` | Run adversarial debate (Gilfoyle vs Dinesh vs Judge) |
20
- | `/ak:ticket [ID]` | Fetch a Jira ticket and plan from it |
21
- | `/ak:git` | Git commit, branch, and PR workflow |
22
- | `/ak:init` | Create the project overview file |
23
- | `/ak:orchestrate [file or idea]` | Orchestrate agents to solve problems span across multiple projects |
24
- | `/ak:delegate <agent> <task>` | Delegate a task to Gemini or Claude CLI |
25
- | `/ak:wiki [compile\|query\|lint]` | Maintain a persistent, compounding project knowledge wiki |
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
 
@@ -21049,12 +21049,12 @@ var FORBIDDEN_DIRS = [
21049
21049
  function registerCoreTools(server2) {
21050
21050
  server2.tool(
21051
21051
  "kit_save_handoff",
21052
- "Save a brainstorm, plan, or ticket handoff artifact to .agent-kit/handoffs/. Returns the saved file path to use in next-step instructions.",
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); the tool will automatically update the existing file if it exists.'
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 }) => {
@@ -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 brainstorm/plan/ticket artifacts to the workspace
16
- // Returns the saved file path for use in next-step instructions
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', 'Save a brainstorm, plan, or ticket handoff artifact to .agent-kit/handoffs/. Returns the saved file path to use in next-step instructions.', {
19
- type: z.enum(['brainstorm', 'plan', 'ticket', 'research']).describe('Handoff type'),
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); the tool will automatically update the existing file if it exists.'),
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();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanhnd/agent-kit",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Super Engineer - Team of AI Agents for software development (Claude Code Plugin)",
5
5
  "type": "module",
6
6
  "main": "dist/kit-server.js",