@alan-ai-hq/agent-manager-linux-arm64 0.1.199 → 0.1.200

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.
Files changed (96) hide show
  1. package/alan-agent.cjs +8885 -5214
  2. package/alan-holder.cjs +5364 -3401
  3. package/alan-lease.cjs +808 -200
  4. package/builtin-skills/agent-desktop/SKILL.md +94 -0
  5. package/builtin-skills/alan-artifact/SKILL.md +128 -0
  6. package/builtin-skills/alan-artifact/examples/interactive-diagram.md +50 -0
  7. package/builtin-skills/alan-artifact/examples/prototype.md +53 -0
  8. package/builtin-skills/alan-artifact/examples/test-report.md +55 -0
  9. package/builtin-skills/alan-artifact/references/design.md +39 -0
  10. package/builtin-skills/alan-artifact/references/diagrams.md +20 -0
  11. package/builtin-skills/alan-deck/SKILL.md +189 -0
  12. package/builtin-skills/alan-diagrams/SKILL.md +105 -0
  13. package/builtin-skills/alan-diagrams/references/diagram-catalogue.md +847 -0
  14. package/builtin-skills/alan-docs/SKILL.md +143 -0
  15. package/builtin-skills/alan-docs/references/administration/members-and-teams.md +48 -0
  16. package/builtin-skills/alan-docs/references/administration/org-dashboard.md +19 -0
  17. package/builtin-skills/alan-docs/references/administration/organisation-settings.md +41 -0
  18. package/builtin-skills/alan-docs/references/agents-and-sessions/code-context.md +60 -0
  19. package/builtin-skills/alan-docs/references/agents-and-sessions/coding-agents-and-models.md +78 -0
  20. package/builtin-skills/alan-docs/references/agents-and-sessions/session-lifecycle.md +62 -0
  21. package/builtin-skills/alan-docs/references/agents-and-sessions/start-a-session.md +110 -0
  22. package/builtin-skills/alan-docs/references/automations/automation-runs.md +69 -0
  23. package/builtin-skills/alan-docs/references/automations/create-an-automation.md +143 -0
  24. package/builtin-skills/alan-docs/references/automations/overview.md +77 -0
  25. package/builtin-skills/alan-docs/references/cloud-and-local/cloud-images.md +64 -0
  26. package/builtin-skills/alan-docs/references/cloud-and-local/cloud-sessions-and-execution.md +89 -0
  27. package/builtin-skills/alan-docs/references/cloud-and-local/cloud-setup.md +128 -0
  28. package/builtin-skills/alan-docs/references/cloud-and-local/codex-cli-connector.md +92 -0
  29. package/builtin-skills/alan-docs/references/cloud-and-local/local-execution.md +213 -0
  30. package/builtin-skills/alan-docs/references/cloud-and-local/runtime-recovery.md +60 -0
  31. package/builtin-skills/alan-docs/references/cloud-and-local/sandboxes.md +74 -0
  32. package/builtin-skills/alan-docs/references/cloud-and-local/troubleshooting-and-faq.md +102 -0
  33. package/builtin-skills/alan-docs/references/get-started/connect-azure-devops.md +89 -0
  34. package/builtin-skills/alan-docs/references/get-started/connect-bitbucket.md +86 -0
  35. package/builtin-skills/alan-docs/references/get-started/connect-github.md +114 -0
  36. package/builtin-skills/alan-docs/references/get-started/join-a-team.md +114 -0
  37. package/builtin-skills/alan-docs/references/get-started/product-map.md +96 -0
  38. package/builtin-skills/alan-docs/references/get-started/quickstart.md +158 -0
  39. package/builtin-skills/alan-docs/references/get-started/set-up-your-team.md +200 -0
  40. package/builtin-skills/alan-docs/references/get-started/sign-in.md +104 -0
  41. package/builtin-skills/alan-docs/references/get-started/welcome.md +39 -0
  42. package/builtin-skills/alan-docs/references/integrations/connect-microsoft-teams.md +116 -0
  43. package/builtin-skills/alan-docs/references/integrations/connect-slack.md +164 -0
  44. package/builtin-skills/alan-docs/references/integrations/import-from-linear.md +172 -0
  45. package/builtin-skills/alan-docs/references/plans-and-billing/plans-and-limits.md +115 -0
  46. package/builtin-skills/alan-docs/references/plans-and-billing/usage-and-credits.md +47 -0
  47. package/builtin-skills/alan-docs/references/reference/documents-and-artifacts.md +52 -0
  48. package/builtin-skills/alan-docs/references/reference/faq.md +89 -0
  49. package/builtin-skills/alan-docs/references/reference/feature-catalog.md +89 -0
  50. package/builtin-skills/alan-docs/references/reference/glossary.md +96 -0
  51. package/builtin-skills/alan-docs/references/reference/links-and-ids.md +80 -0
  52. package/builtin-skills/alan-docs/references/reference/roles-and-permissions.md +64 -0
  53. package/builtin-skills/alan-docs/references/reference/statuses.md +86 -0
  54. package/builtin-skills/alan-docs/references/reviews-testing-deploys/deployments.md +28 -0
  55. package/builtin-skills/alan-docs/references/reviews-testing-deploys/pull-requests.md +85 -0
  56. package/builtin-skills/alan-docs/references/reviews-testing-deploys/review-work.md +55 -0
  57. package/builtin-skills/alan-docs/references/reviews-testing-deploys/testing-evidence.md +52 -0
  58. package/builtin-skills/alan-docs/references/skills/plugins-and-mcp.md +24 -0
  59. package/builtin-skills/alan-docs/references/skills/skills.md +103 -0
  60. package/builtin-skills/alan-docs/references/tasks/complete-a-task.md +79 -0
  61. package/builtin-skills/alan-docs/references/tasks/create-a-task.md +67 -0
  62. package/builtin-skills/alan-docs/references/tasks/subtasks-and-status.md +55 -0
  63. package/builtin-skills/alan-docs/references/tasks/task-artifacts.md +56 -0
  64. package/builtin-skills/alan-docs/references/tasks/task-detail.md +65 -0
  65. package/builtin-skills/alan-docs/references/teams-and-planning/cycles.md +93 -0
  66. package/builtin-skills/alan-docs/references/teams-and-planning/documents.md +66 -0
  67. package/builtin-skills/alan-docs/references/teams-and-planning/epics.md +95 -0
  68. package/builtin-skills/alan-docs/references/teams-and-planning/whiteboard.md +52 -0
  69. package/builtin-skills/alan-docs/references/troubleshooting/agent-blocked.md +38 -0
  70. package/builtin-skills/alan-docs/references/troubleshooting/common-problems.md +118 -0
  71. package/builtin-skills/alan-docs/references/troubleshooting/github-access.md +41 -0
  72. package/builtin-skills/alan-docs/references/troubleshooting/missing-artifact.md +47 -0
  73. package/builtin-skills/alan-docs/references/troubleshooting/report-an-issue.md +74 -0
  74. package/builtin-skills/alan-docs/references/troubleshooting/runtime-unavailable.md +49 -0
  75. package/builtin-skills/alan-docs/scripts/generate-references.mjs +363 -0
  76. package/builtin-skills/alan-environment-setup/SKILL.md +320 -0
  77. package/builtin-skills/alan-environment-setup/references/android.md +118 -0
  78. package/builtin-skills/alan-environment-setup/references/troubleshooting.md +33 -0
  79. package/builtin-skills/alan-skill-authoring/SKILL.md +83 -0
  80. package/builtin-skills/alan-tasks/SKILL.md +195 -0
  81. package/builtin-skills/alan-test-android/SKILL.md +224 -0
  82. package/builtin-skills/alan-test-android/scripts/android-up.sh +227 -0
  83. package/builtin-skills/alan-test-android/scripts/install-launch.sh +38 -0
  84. package/builtin-skills/alan-test-android/scripts/record.sh +64 -0
  85. package/builtin-skills/alan-test-android/scripts/ui.py +367 -0
  86. package/builtin-skills/alan-test-desktop/SKILL.md +107 -0
  87. package/builtin-skills/alan-test-desktop/references/linux-recording.md +31 -0
  88. package/builtin-skills/alan-test-feature/SKILL.md +243 -0
  89. package/builtin-skills/alan-test-mobile/SKILL.md +65 -0
  90. package/builtin-skills/alan-test-web/SKILL.md +113 -0
  91. package/builtin-skills/alan-walkthrough/SKILL.md +152 -0
  92. package/builtin-skills/alan-walkthrough/scripts/mark-changes.js +419 -0
  93. package/builtin-skills/alan-walkthrough/scripts/publish-capture.mjs +288 -0
  94. package/builtin-skills/alan-workflows/SKILL.md +235 -0
  95. package/builtin-skills/manifest.json +19 -0
  96. package/package.json +3 -2
@@ -0,0 +1,105 @@
1
+ ---
2
+ name: alan-diagrams
3
+ version: 1.0.2
4
+ description: Choose and write diagrams that render in Alan chat, documents, plans and artifacts. Use when a reply, plan, report or document would explain architecture, flows, state, schema, history, schedules, root causes, priorities or metrics better as a picture, or when a ```mermaid fence fails to render. Do not use for Slack messages, which show diagrams as raw text, or for a hand-drawn SVG diagram inside an artifact's HTML block (alan-artifact).
5
+ ---
6
+
7
+ # Diagrams in Alan
8
+
9
+ Draw as the engineer who has to live with the decision, not as a decorator. A
10
+ diagram earns its place when it lets a cold reader see a mechanism they would
11
+ otherwise assemble from prose: where data flows, which components talk, what
12
+ changes between two options, what state a request moves through. If a sentence
13
+ says it faster, write the sentence.
14
+
15
+ ## What to draw
16
+
17
+ - **Depict the mechanism, not its name.** A box labelled "cache" says less than the prose; the path a request takes through it, the two stores it sits between, and the arrow that disappears when the cache is removed say what the words cannot. Show the parts the argument hinges on and leave out the rest.
18
+ - **Comparing options? Draw the difference.** Two architectures side by side, a before and after, the one edge each option adds or removes. A labelled box per option with nothing connecting them is a restated list, not a comparison.
19
+ - **Match complexity to the stakes.** A one-hop question is a three-box diagram; a migration that reroutes writes through a queue needs the queue, the writer, the reader, and the ordering arrow.
20
+ - **Label the arrows.** An unlabelled arrow is "related somehow"; `writes`, `invalidates`, `polls every 30s` is information. A legend is worth it only when the same encoding repeats.
21
+ - **One figure, one claim.** The caption states what the picture shows.
22
+
23
+ ## Choosing and writing the diagram
24
+
25
+ A ```` ```mermaid ```` fence renders natively in every
26
+ Alan viewer (chat, documents, plans, artifacts), light and dark, through pele.
27
+ Every Mermaid 12.1 type works. Pick the type that answers the reader's question;
28
+ a flowchart is the fallback, not the default.
29
+
30
+ | Reader's question | Type | Keyword |
31
+ |---|---|---|
32
+ | Who calls whom, in what order? | Sequence | `sequenceDiagram` |
33
+ | What states can it be in? | State | `stateDiagram-v2` |
34
+ | What tables and keys change? | Entity relationship | `erDiagram` |
35
+ | Which interfaces and adapters? | Class | `classDiagram` |
36
+ | What runs where? | Architecture | `architecture-beta` |
37
+ | What are the system boundaries and protocols? | C4 | `C4Container` |
38
+ | Which layer sits on which? | Block | `block` |
39
+ | Who owns each step of a process? | Swimlane | `swimlane-beta LR` |
40
+ | Which tools does each agent step call? | Agentflow | `agentflow-beta` |
41
+ | How do branches merge and release? | Git graph | `gitGraph` |
42
+ | What ships when, and what blocks what? | Gantt | `gantt` |
43
+ | What happened when? (incident, roadmap) | Timeline | `timeline` |
44
+ | Which files does this touch? | Tree view | `treeView-beta` |
45
+ | What is the byte layout? | Packet | `packet` |
46
+ | What is the CLI or DSL grammar? | Railroad | `railroad-ebnf-beta` |
47
+ | Why did it fail? | Ishikawa | `ishikawa` |
48
+ | What do we do first? | Quadrant | `quadrantChart` |
49
+ | How do options compare across criteria? | Radar | `radar-beta` |
50
+ | How does volume split across stages? | Sankey | `sankey` |
51
+ | What takes the space or the cost? | Treemap | `treemap-beta` |
52
+ | A metric over time or a share | XY chart, pie | `xychart`, `pie`, or a ` ```chart ` fence |
53
+ | What is in scope? | Mindmap | `mindmap` |
54
+ | Which commands and events does a flow emit? | Event modeling | `eventmodeling` |
55
+ | Which invariants must the change satisfy? | Requirement | `requirementDiagram` |
56
+ | Where is each work item right now? | Kanban | `kanban` |
57
+ | Where does the user struggle? | User journey | `journey` |
58
+ | What decides the path? | Flowchart | `flowchart TD` |
59
+
60
+ Every type, with a render-checked starter that shows its useful features and
61
+ the mistakes that break it, is in
62
+ [references/diagram-catalogue.md](references/diagram-catalogue.md). Read it before
63
+ using a type for the first time.
64
+
65
+ Syntax that fails or misleads:
66
+
67
+ - Quote any label with `()[]{}:;#|`: `A["Run tests (unit)"]`, `-->|"retry (3x)"|`. `end` is not a node id.
68
+ - Keep the `-beta` suffix where the keyword has one; without it the fence errors.
69
+ - No HTML except `<br/>`, `<b>`, `<i>`; no `click` callbacks (links are fine); no `style`, `classDef`, `linkStyle` or `%%{init}%%` themes. Colours written in the source never switch to dark mode.
70
+ - `timeline` periods cannot contain `:` — write `14.02` or `14#58;02`, never `14:02`.
71
+ - `architecture-beta` edges need sides (`api:R --> L:db`); icons are `cloud`, `database`, `disk`, `internet`, `server` only.
72
+ - `quadrantChart` points are 0..1; `sankey` is CSV with no cycles; `gitGraph` merges only branches it created; `mindmap` indentation must be consistent or nodes silently move.
73
+ - ` ```chart ` (JSON rows: `bar`, `line`, `pie`) renders wherever ` ```mermaid ` does. Use it when the numbers already sit in rows; use `xychart` for an axis title, a fixed scale, or bars and lines together.
74
+
75
+ Compact starters for the less familiar keywords:
76
+
77
+ ```mermaid
78
+ architecture-beta
79
+ group core(server)[Core]
80
+ service api(server)[API] in core
81
+ service db(database)[Postgres] in core
82
+ api:R --> L:db
83
+ ```
84
+
85
+ ```mermaid
86
+ timeline
87
+ title Checkout outage (UTC)
88
+ 14.02 : 5xx alert fires
89
+ 14.25 : Rollback complete
90
+ ```
91
+
92
+ ```mermaid
93
+ quadrantChart
94
+ x-axis Low effort --> High effort
95
+ y-axis Low impact --> High impact
96
+ Retry claim: [0.2, 0.8]
97
+ ```
98
+
99
+ ```mermaid
100
+ treeView-beta
101
+ src/
102
+ index.ts ## entry point
103
+ ```
104
+
105
+ Keep node labels short and put the explanation in the prose around the diagram.