@openontology/opencode-palantir 0.1.5 → 0.1.6

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 (3) hide show
  1. package/README.md +11 -8
  2. package/dist/index.js +892 -468
  3. package/package.json +12 -12
package/README.md CHANGED
@@ -36,7 +36,7 @@ Restart OpenCode.
36
36
  After enabling the plugin, OpenCode will automatically register:
37
37
 
38
38
  - Tools: `get_doc_page`, `list_all_docs`
39
- - Commands: `/refresh-docs`, `/setup-palantir-mcp`, `/rescan-palantir-mcp-tools`
39
+ - Commands: `/refresh-docs`, `/refresh-docs-rescrape`, `/setup-palantir-mcp`, `/rescan-palantir-mcp-tools`
40
40
  - Agents: `foundry-librarian`, `foundry`
41
41
 
42
42
  ### Versions: how to get the latest
@@ -131,17 +131,22 @@ it’s `export`ed in the environment where OpenCode is launched.
131
131
 
132
132
  ## Docs tools (Palantir public docs)
133
133
 
134
- This package does **not** ship with docs bundled. The docs DB is a local file:
134
+ The docs DB is a local file:
135
135
 
136
136
  - `data/docs.parquet` (in your repo root)
137
137
 
138
- ### Fetch docs
138
+ ### First-run behavior
139
139
 
140
- In OpenCode, run:
140
+ On startup and tool usage, the plugin automatically ensures `data/docs.parquet` exists by using a
141
+ prebuilt snapshot (download/copy). In most repos, docs tools should work without any manual setup.
141
142
 
142
- - `/refresh-docs`
143
+ ### Refresh commands
143
144
 
144
- This downloads the docs and writes `data/docs.parquet`.
145
+ - `/refresh-docs` (recommended)
146
+ - Force refresh from a prebuilt snapshot (no live rescrape)
147
+ - `/refresh-docs-rescrape` (unsafe/experimental fallback)
148
+ - Live-rescrapes palantir.com docs and rebuilds `data/docs.parquet`
149
+ - Use only when snapshot download/copy is blocked
145
150
 
146
151
  ### Tools
147
152
 
@@ -150,8 +155,6 @@ This downloads the docs and writes `data/docs.parquet`.
150
155
  - `list_all_docs`
151
156
  - List docs with pagination and optional query/scope filtering
152
157
 
153
- If `data/docs.parquet` is missing, both tools will tell you to run `/refresh-docs`.
154
-
155
158
  ## Foundry MCP helpers
156
159
 
157
160
  This plugin registers Foundry commands and agents automatically at startup (config-driven).