@agentskit/cli 0.13.11 → 0.13.12

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
@@ -1,5 +1,7 @@
1
1
  # @agentskit/cli
2
2
 
3
+ <p align="center"><img src="https://raw.githubusercontent.com/AgentsKit-io/agentskit/main/apps/docs-next/public/brand/logo-wordmark.svg" alt="AgentsKit" width="180" /></p>
4
+
3
5
  Chat with any LLM, scaffold projects, and run agents — all from your terminal.
4
6
 
5
7
  [![npm version](https://img.shields.io/npm/v/@agentskit/cli?color=blue)](https://www.npmjs.com/package/@agentskit/cli)
@@ -11,6 +13,17 @@ Chat with any LLM, scaffold projects, and run agents — all from your terminal.
11
13
 
12
14
  **Tags:** `ai` · `agents` · `llm` · `agentskit` · `openai` · `anthropic` · `claude` · `gemini` · `chatgpt` · `cli` · `command-line` · `scaffolding` · `ai-agents` · `autonomous-agents`
13
15
 
16
+ ## How this fits the ecosystem
17
+
18
+ @agentskit/cli is the fastest path from terminal to working agent: scaffold projects, chat, run agents, inspect config, and diagnose setup.
19
+
20
+ - **AgentsKit**: compose it with the other packages in this repo to build agents from small, swappable parts.
21
+ - **Registry**: look for ready agents and templates that already use this layer at [registry.agentskit.io](https://registry.agentskit.io).
22
+ - **Playbook**: learn the production patterns behind this layer at [playbook.agentskit.io](https://playbook.agentskit.io).
23
+ - **AKOS**: run the same concepts with enterprise deployment, governance, and observability at [akos.agentskit.io](https://akos.agentskit.io).
24
+
25
+ Docs: [package guide](https://www.agentskit.io/docs/packages/cli) · [agent handoff](https://github.com/AgentsKit-io/agentskit/blob/main/llms.txt)
26
+
14
27
  ## Why cli
15
28
 
16
29
  - **Zero setup for prototyping** — go from idea to running conversation in under a minute; no boilerplate, no config files to write
package/dist/bin.cjs CHANGED
@@ -4709,8 +4709,22 @@ async function defaultExists(path5) {
4709
4709
  return false;
4710
4710
  }
4711
4711
  }
4712
+ function assertInstallable(agent) {
4713
+ if (agent.status === "draft" || agent.installable === false) {
4714
+ throw new Error(
4715
+ `"${agent.id}" is a catalog draft \u2014 not installable yet. Browse the roadmap at https://registry.agentskit.io/r/catalog.json`
4716
+ );
4717
+ }
4718
+ if (agent.status === "alpha") {
4719
+ console.warn(`[agentskit] "${agent.id}" is alpha \u2014 experimental; review before production use.`);
4720
+ }
4721
+ if (agent.status === "deprecated") {
4722
+ throw new Error(`"${agent.id}" is deprecated and no longer installable from the registry.`);
4723
+ }
4724
+ }
4712
4725
  async function addAgent(id, options = {}) {
4713
4726
  const agent = await fetchAgent(id, options);
4727
+ assertInstallable(agent);
4714
4728
  const baseDir = options.outDir ?? "agents";
4715
4729
  const targetDir = path.join(baseDir, id);
4716
4730
  const exists = options.existsImpl ?? defaultExists;