@llamaventures/cli 1.9.0 → 1.9.1

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/AGENT_BRIEFING.md CHANGED
@@ -104,6 +104,18 @@ HTML / thesis / artifact in hand
104
104
 
105
105
  **Default bias:** when in doubt, route to Llama Command. It has auth, audit, search, backlinks, and lives next to the rest of the team's context. Netlify is the escape hatch for genuinely-external surfaces — not "where pretty HTML goes."
106
106
 
107
+ ### Adding content to ONE deal — fact vs post vs brief (the #1 mis-route)
108
+
109
+ These three look similar but land in different surfaces. Don't infer from the command name — pick by intent:
110
+
111
+ | You want to… | Command | Lands in |
112
+ |---|---|---|
113
+ | Record a **sourced, verifiable fact** | `llama deal fact add <dealId> --category <cat> --claim "…" --source <url>` | Facts → deal **Feed** (FACT card) + citable in the **Memo** |
114
+ | Leave a **comment / opinion / question / reaction** for the team | `llama post <dealId> "…"` (`@name` to notify) | Posts → deal **Feed** (POST card); `@mention` fires email + UI badge |
115
+ | Write **narrative that belongs in the IC memo** | `llama brief add-text <dealId> --heading "…" --body "…"` | Brief blocks → **Memo tab only — NOT in the Feed** |
116
+
117
+ ⚠️ The trap: `brief add-text` is **not** visible in the Activity Feed. If the team should see it in the feed, use `llama post`. If it's a claim that needs a source + verification, use `llama deal fact add`. (It's `deal fact add`, not `fact-add`.)
118
+
107
119
  The table below details the exact CLI for each destination.
108
120
 
109
121
  | Type | Destination | How |
@@ -113,7 +125,7 @@ The table below details the exact CLI for each destination.
113
125
  | **HTML artifact, internal — IC report, dashboard, market map, 2×2, any hand-authored page** | **Llama Command native** (Postgres + sandboxed iframe at `/deals/<id>/browse/<slug>`) | Default path when the user says "deploy to llama", "deploy to llama command", "部署到 llama command", "put this HTML on the deal page", "在 deal 里看这个". **You MUST declare intent — "new artifact" vs "update existing":**<br><br>**New artifact:** `llama html upload <dealId> --new --title "<artifact name>" --file <path>` (CLI slugifies the title; pass `--doc <slug>` to override).<br>**Update existing:** `llama html upload <dealId> --doc <slug> --file <path>` (slug must already exist — run `llama html docs <dealId>` first to see what's there).<br><br>The bare form `llama html upload <id> --file <path>` REFUSES if `main` already has content. Do NOT default to Netlify for internal pages. |
114
126
  | HTML artifact, external — founder-facing share link | Netlify | Only when the user explicitly says "share link", "give it to the founder", "publish publicly". Use the `netlify-access-guard` workflow (server-side password + edge 401 verification). |
115
127
  | Insights, decisions, framework improvements | Wiki (markdown) | `llama wiki save <slug> --content "..."` (with attribution — see below) |
116
- | **HTML wiki entry — standalone HTML page hosted at `/wiki/<slug>`** (sector landscape, market map, dashboard, hand-styled thesis page) | **Wiki (HTML)** | `llama wiki save <slug> --title "..." --file <path.html> --sources "..."`. Auto-detects content_type=html from extension. Public page is full-viewport sandboxed iframe takeover (no wiki chrome). Sources/status/title still required; appears in `wiki search` + backlinks. Use when the user says "deploy this HTML to wiki", "wiki 词条", "make this page a wiki entry". HTML must be self-contained (inline CSS/JS, image data URIs or external URLs) — asset bundles aren't supported on wiki yet. |
128
+ | **HTML wiki entry — standalone HTML page hosted at `/wiki/<slug>`** (sector landscape, market map, dashboard, hand-styled thesis page) | **Wiki (HTML)** | `llama wiki save <slug> --title "..." --file <path.html> --sources "..."`. Auto-detects content_type=html from extension. Public page is full-viewport sandboxed iframe takeover (no wiki chrome). Sources/status/title still required; appears in `wiki search` + backlinks. Use when the user says "deploy this HTML to wiki", "wiki 词条", "make this page a wiki entry". HTML must be self-contained (inline CSS/JS, image data URIs or external URLs) — asset bundles aren't supported on wiki yet. **Native comments + working in-page (#) anchor links are injected automatically** — readers discuss inline and the table of contents scrolls; you don't wire anything up (pages that already embed the comment widget are left as-is). |
117
129
  | Large files (deck / PDF / transcript) | Drive deal folder | the deal's `folder_url` (from `llama deal show`) → upload via your filesystem / Drive tool |
118
130
  | Cross-team mentions | Inbox + email | `llama post <dealId> "@<teammate> ..."` — server fires email + UI badge to the recipient |
119
131
 
@@ -302,7 +314,7 @@ the intake agent; relay the conversation, then surface the verdict.
302
314
  - This file: `AGENT_BRIEFING.md` in the `@llamaventures/cli` npm package
303
315
  - Re-printable any time: `llama agent-onboard`
304
316
  - MCP prompt: `agent_briefing` from the `llama-mcp` server
305
- - Public source: <https://github.com/SoujiOkita98/llama-cli/blob/main/AGENT_BRIEFING.md>
317
+ - Public source: <https://github.com/Llama-Ventures/llama-cli/blob/main/AGENT_BRIEFING.md>
306
318
 
307
319
  You're now a Llama Ventures teammate (or an external agent helping a
308
320
  founder pitch us). Welcome.
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  <p align="center">
15
15
  <a href="https://www.npmjs.com/package/@llamaventures/cli"><img alt="npm" src="https://img.shields.io/npm/v/@llamaventures/cli?label=npm&color=cb3837&logo=npm&logoColor=white"></a>
16
- <a href="https://github.com/SoujiOkita98/llama-cli/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/SoujiOkita98/llama-cli/actions/workflows/ci.yml/badge.svg"></a>
16
+ <a href="https://github.com/Llama-Ventures/llama-cli/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/Llama-Ventures/llama-cli/actions/workflows/ci.yml/badge.svg"></a>
17
17
  <a href="https://docs.npmjs.com/trusted-publishers"><img alt="Provenance" src="https://img.shields.io/badge/provenance-signed-2e8b57?logo=npm"></a>
18
18
  <a href="https://nodejs.org/"><img alt="Node" src="https://img.shields.io/node/v/@llamaventures/cli?color=339933&logo=nodedotjs&logoColor=white"></a>
19
19
  <a href="https://modelcontextprotocol.io"><img alt="MCP 2024-11-05" src="https://img.shields.io/badge/MCP-2024--11--05-7d3aed"></a>
package/README.zh-CN.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  <p align="center">
15
15
  <a href="https://www.npmjs.com/package/@llamaventures/cli"><img alt="npm" src="https://img.shields.io/npm/v/@llamaventures/cli?label=npm&color=cb3837&logo=npm&logoColor=white"></a>
16
- <a href="https://github.com/SoujiOkita98/llama-cli/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/SoujiOkita98/llama-cli/actions/workflows/ci.yml/badge.svg"></a>
16
+ <a href="https://github.com/Llama-Ventures/llama-cli/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/Llama-Ventures/llama-cli/actions/workflows/ci.yml/badge.svg"></a>
17
17
  <a href="https://docs.npmjs.com/trusted-publishers"><img alt="Provenance" src="https://img.shields.io/badge/provenance-signed-2e8b57?logo=npm"></a>
18
18
  <a href="https://nodejs.org/"><img alt="Node" src="https://img.shields.io/node/v/@llamaventures/cli?color=339933&logo=nodedotjs&logoColor=white"></a>
19
19
  <a href="https://modelcontextprotocol.io"><img alt="MCP 2024-11-05" src="https://img.shields.io/badge/MCP-2024--11--05-7d3aed"></a>
package/bin/llama.mjs CHANGED
@@ -349,6 +349,7 @@ Wiki:
349
349
  HTML entry — standalone HTML page at /wiki/<slug> (full-viewport sandboxed iframe):
350
350
  llama wiki save <slug> --title "..." --file path.html --sources "..." [--content-type html]
351
351
  (.html / .htm extension auto-implies content_type=html)
352
+ Native comments + working in-page (#) links are added automatically — just upload self-contained HTML.
352
353
  ➜ Use Wiki when the artifact is NOT tied to one specific deal — sector landscape, market map,
353
354
  thesis, framework, methodology. For deal-specific HTML use "llama html upload <dealId>" instead.
354
355
  Delete / restore (soft — reversible):
@@ -784,6 +785,14 @@ async function main() {
784
785
  usage(area);
785
786
  return;
786
787
  }
788
+ // `llama <area> <action> --help` (e.g. `brief add-text --help`). Without this
789
+ // short-circuit, "--help" falls through to the action handler, where rest[0]
790
+ // can be read as a positional (e.g. dealId="--help") and trigger a REAL write.
791
+ // Catch --help/-h anywhere in the sub-command args and print group help first.
792
+ if (rest.includes("--help") || rest.includes("-h")) {
793
+ usage(area);
794
+ return;
795
+ }
787
796
 
788
797
  // `llama agent-onboard` — print the bundled AGENT_BRIEFING.md so an AI
789
798
  // agent reads it once and internalises the Llama Ventures workflow
package/lib/client.mjs CHANGED
@@ -38,7 +38,7 @@ export function readBriefing() {
38
38
  "AGENT_BRIEFING.md not found at " +
39
39
  briefingPath +
40
40
  ". This shouldn't happen in a published @llamaventures/cli install — " +
41
- "report at https://github.com/SoujiOkita98/llama-cli/issues."
41
+ "report at https://github.com/Llama-Ventures/llama-cli/issues."
42
42
  );
43
43
  }
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llamaventures/cli",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "CLI + MCP server for the Llama Ventures investment workbench (command.llamaventures.vc).",
5
5
  "type": "module",
6
6
  "bin": {
@@ -18,13 +18,13 @@
18
18
  "node": ">=18"
19
19
  },
20
20
  "license": "MIT",
21
- "homepage": "https://github.com/SoujiOkita98/llama-cli#readme",
21
+ "homepage": "https://github.com/Llama-Ventures/llama-cli#readme",
22
22
  "repository": {
23
23
  "type": "git",
24
- "url": "git+https://github.com/SoujiOkita98/llama-cli.git"
24
+ "url": "git+https://github.com/Llama-Ventures/llama-cli.git"
25
25
  },
26
26
  "bugs": {
27
- "url": "https://github.com/SoujiOkita98/llama-cli/issues"
27
+ "url": "https://github.com/Llama-Ventures/llama-cli/issues"
28
28
  },
29
29
  "keywords": [
30
30
  "llama-ventures",
@@ -39,7 +39,7 @@
39
39
  "anthropic"
40
40
  ],
41
41
  "author": "Llama Ventures, Inc.",
42
- "funding": "https://github.com/SoujiOkita98/llama-cli",
42
+ "funding": "https://github.com/Llama-Ventures/llama-cli",
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },