wildcrane 0.11.68 → 0.11.69
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/kanban.mjs +4 -4
- package/package.json +1 -1
package/dist/kanban.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// ai4kanban 0.11.
|
|
2
|
+
// ai4kanban 0.11.69 — built from the CLI's TypeScript sources by cli/scripts/build.mjs.
|
|
3
3
|
// Do not edit: every change belongs in cli/src/, and a build overwrites this file.
|
|
4
4
|
import { createRequire as __ai4kanbanRequire } from 'node:module'
|
|
5
5
|
const require = __ai4kanbanRequire(import.meta.url)
|
|
@@ -4005,7 +4005,7 @@ var init_package = __esm({
|
|
|
4005
4005
|
"package.json"() {
|
|
4006
4006
|
package_default = {
|
|
4007
4007
|
name: "wildcrane",
|
|
4008
|
-
version: "0.11.
|
|
4008
|
+
version: "0.11.69",
|
|
4009
4009
|
akbContract: 17,
|
|
4010
4010
|
description: "WildCrane's `akb` command \u2014 scaffold the Markdown board under docs/kanban/, put an agent on a card, and carry the flows the agent works by.",
|
|
4011
4011
|
keywords: [
|
|
@@ -16212,7 +16212,7 @@ function actionPrompt(req, command, notes) {
|
|
|
16212
16212
|
].filter(Boolean).join(" ");
|
|
16213
16213
|
case "clarify": {
|
|
16214
16214
|
return [
|
|
16215
|
-
`Plan task ${req.id} ${named2} following \`akb guide refine\`.
|
|
16215
|
+
`Plan task ${req.id} ${named2} following \`akb guide refine\`. A command with \`--print\` prints its flow for you to follow here, and without it starts a separate session.`,
|
|
16216
16216
|
carriedNote(req),
|
|
16217
16217
|
// A refine has no note box of its own, but one SCHEDULED on a blocked card
|
|
16218
16218
|
// carries whatever was typed when it was scheduled — often the very reason the user
|
|
@@ -28059,7 +28059,7 @@ var init_troubleshoot = __esm({
|
|
|
28059
28059
|
var write_agent_default;
|
|
28060
28060
|
var init_write_agent = __esm({
|
|
28061
28061
|
"src/guide/write-agent.md"() {
|
|
28062
|
-
write_agent_default = "# Write an agent\n\nCreate `docs/kanban/agents/<name>/AGENT.md`; use an unused lowercase, hyphenated name matching\nthe folder. Its studio lists it under `previews`, `land` or `scheduled` in `STUDIO.md`.\n\n## Example: a preview agent\n\n```yaml\n---\nname: page-designer\ndescription: Makes complete page designs with their copy.\nakb:\n when: A card needs a page designed or changed.\n icon: screen\n components: [Asset, Set]\n i18n:\n en:\n title: Page design\n zh:\n title: \u9875\u9762\u8BBE\u8BA1\n stages:\n - id: copy\n title: {en: Copy, zh: \u6587\u6848}\n when: The page needs new or revised copy; existing text is insufficient.\n instructions: references/copy.md\n - id: layout\n title: {en: Page layout, zh: \u9875\u9762\u7A3F}\n instructions: references/layout.md\n---\n\nChoose the stages this task needs on first entry; reuse the saved selection on continuation.\nFollow the current stage's instructions, preserving confirmed copy in the page design.\n```\n\nWith existing copy, this agent selects only `layout`; otherwise it selects `copy,layout`.\nEach selected step except the last waits for user confirmation. The last is ready for the\ncard's approval. The agent chooses its steps, not the planner; the program saves and advances\nthem. Omit `stages` for a single preview. Stage IDs are unique; instruction paths stay inside\nthe agent folder. A task freezes its definition, files and selection.\n\n## Other fields\n\nOnly `name`, `description` and nonempty body instructions are required. Omit unused fields.\n\n| Field | Use |\n| --- | --- |\n| `akb.when` | When to request a preview; omitted means every task on its studio. |\n| `akb.after` | Previews whose approval this agent waits for, when selected on the same card. |\n| `akb.session: new` | Separate session recommended; the calling agent chooses whether to use it. |\n| `akb.components` | Asset, Set, Compare or Storyboard; default `[Asset]`, `[]` loads no component docs. |\n| `akb.icon` | Glyph name, or 1\u201312 `{d, f?, o?: true, s?, w?}` parts using supported colours. |\n| `akb.i18n` | Display-only title
|
|
28062
|
+
write_agent_default = "# Write an agent\n\nCreate `docs/kanban/agents/<name>/AGENT.md`; use an unused lowercase, hyphenated name matching\nthe folder. Its studio lists it under `previews`, `land` or `scheduled` in `STUDIO.md`.\n\n## Example: a preview agent\n\n```yaml\n---\nname: page-designer\ndescription: Makes complete page designs with their copy.\nakb:\n when: A card needs a page designed or changed.\n icon: screen\n components: [Asset, Set]\n i18n:\n en:\n title: Page design\n zh:\n title: \u9875\u9762\u8BBE\u8BA1\n stages:\n - id: copy\n title: {en: Copy, zh: \u6587\u6848}\n when: The page needs new or revised copy; existing text is insufficient.\n instructions: references/copy.md\n - id: layout\n title: {en: Page layout, zh: \u9875\u9762\u7A3F}\n instructions: references/layout.md\n---\n\nChoose the stages this task needs on first entry; reuse the saved selection on continuation.\nFollow the current stage's instructions, preserving confirmed copy in the page design.\n```\n\nWith existing copy, this agent selects only `layout`; otherwise it selects `copy,layout`.\nEach selected step except the last waits for user confirmation. The last is ready for the\ncard's approval. The agent chooses its steps, not the planner; the program saves and advances\nthem. Omit `stages` for a single preview. Stage IDs are unique; instruction paths stay inside\nthe agent folder. A task freezes its definition, files and selection.\n\n## Other fields\n\nOnly `name`, `description` and nonempty body instructions are required. Omit unused fields.\n\n| Field | Use |\n| --- | --- |\n| `akb.when` | When to request a preview; omitted means every task on its studio. |\n| `akb.after` | Previews whose approval this agent waits for, when selected on the same card. |\n| `akb.session: new` | Separate session recommended; the calling agent chooses whether to use it. |\n| `akb.components` | Asset, Set, Compare or Storyboard; default `[Asset]`, `[]` loads no component docs. |\n| `akb.icon` | Glyph name, or 1\u201312 `{d, f?, o?: true, s?, w?}` parts using supported colours. |\n| `akb.i18n` | Display-only title and description by language; missing text falls back to English. Keep titles short and name the output. |\n| `akb.reads` | Scheduled input: `archived-cards`, `chats` or `dismissals`; omitted uses cadence alone. Set fixed cadence on the studio's scheduled entry. |\n| `akb.merges: true` | A land agent merges code; completion requires its merged commit and branch. |\n| `akb.memory` | Names of shared global memories. |\n| `akb.memoryFiles.workspace` | Paths such as `[style.md]` shared across projects within this agent's memory. |\n\n## Instructions and files\n\n- **Keep the body small**: say what the agent owns and delivers. Use `akb guide write-prompt`;\n do not repeat `preview-agent` rules. Stage-specific work belongs in its instruction file.\n- **Load on demand**: files beside AGENT.md are listed to the run. Put shared studio material\n in `shared/`; keep scripts and business validation with their owning agent, documenting\n runtime and invocation. Retrieve bundled files with `akb raw file <studio> <path>`.\n- **Memory**: keep only preferences or corrections that change future work. Name each file's\n purpose and when to read it; omit transcripts and duplicated rules. Agent memory is under\n `docs/kanban/memory/agents/<name>/`; studio memory follows its `shared/RULES.md`. Agree on\n any scheduled agent's persistent state rather than inventing its format.\n- **User decisions**: follow `akb guide update-questions`; do not ask again about settled\n choices. Show each changed file as a unified diff with one sentence explaining why.\n\n## Imported skills\n\nKeep each skill whole under `skills/<skill>/`, including instructions, scripts, resources and\nlicense; exclude caches and installed packages. Record its source and version in AGENT.md:\n`- **<skill>**: <when to use>. Source: <URL or pasted> @ <commit, tag or date>`.\nAdapt routing outside the skill, preserving its relative paths. Report missing files, tools\nor credentials; never copy keys or claim an unusable skill works. Update or remove only when\nasked, replacing the whole owned copy and showing the diff and version.\n\n## Check\n\nRun `akb raw previews` and `akb raw previews --triggers`; fix every reported problem.\nThen inspect `akb raw previews <name> <id> --print` on a real task and trim unnecessary context.\nUse `akb raw components --agent <name> --docs` for output formats. New agents start enabled\nin their studio; disabled previews cannot run. Keep registration and instructions consistent.\n";
|
|
28063
28063
|
}
|
|
28064
28064
|
});
|
|
28065
28065
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wildcrane",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.69",
|
|
4
4
|
"akbContract": 17,
|
|
5
5
|
"description": "WildCrane's `akb` command \u2014 scaffold the Markdown board under docs/kanban/, put an agent on a card, and carry the flows the agent works by.",
|
|
6
6
|
"keywords": [
|