maplibre-gl-geoagent 0.5.1 → 0.5.3
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 +15 -27
- package/dist/{GeoAgentControl-J26MMwe5.cjs → GeoAgentControl-BrqW0nW3.cjs} +196 -247
- package/dist/{GeoAgentControl-J26MMwe5.cjs.map → GeoAgentControl-BrqW0nW3.cjs.map} +1 -1
- package/dist/{GeoAgentControl-BWSkl9b-.js → GeoAgentControl-DJ8Yw4b1.js} +196 -247
- package/dist/{GeoAgentControl-BWSkl9b-.js.map → GeoAgentControl-DJ8Yw4b1.js.map} +1 -1
- package/dist/{anthropic-D2xJ9IO4.cjs → anthropic-Det8kcL4.cjs} +2 -2
- package/dist/{anthropic-D2xJ9IO4.cjs.map → anthropic-Det8kcL4.cjs.map} +1 -1
- package/dist/{anthropic-DqtWmJMG.js → anthropic-oFfmzzbq.js} +2 -2
- package/dist/{anthropic-DqtWmJMG.js.map → anthropic-oFfmzzbq.js.map} +1 -1
- package/dist/{browser-DTYbc3Sp.js → browser-DKxcoOn_.js} +2 -2
- package/dist/{browser-DTYbc3Sp.js.map → browser-DKxcoOn_.js.map} +1 -1
- package/dist/{browser-ZyWGgIdV.cjs → browser-VzygwWeK.cjs} +2 -2
- package/dist/{browser-ZyWGgIdV.cjs.map → browser-VzygwWeK.cjs.map} +1 -1
- package/dist/{index-D7y77wpc.cjs → index-BDAtf431.cjs} +2 -2
- package/dist/{index-D7y77wpc.cjs.map → index-BDAtf431.cjs.map} +1 -1
- package/dist/{index-oSbeAq6a.js → index-B_sFbHLH.js} +2 -2
- package/dist/{index-oSbeAq6a.js.map → index-B_sFbHLH.js.map} +1 -1
- package/dist/{index-CRfykVWh.js → index-CPBFxRBO.js} +2 -2
- package/dist/{index-CRfykVWh.js.map → index-CPBFxRBO.js.map} +1 -1
- package/dist/{index-cO0gccGg.cjs → index-D2I5L_28.cjs} +2 -2
- package/dist/{index-cO0gccGg.cjs.map → index-D2I5L_28.cjs.map} +1 -1
- package/dist/{index-DnnohXIw.js → index-D5LWkU_h.js} +2 -2
- package/dist/{index-DnnohXIw.js.map → index-D5LWkU_h.js.map} +1 -1
- package/dist/{index-DHGV30Mr.cjs → index-V9Dk3O4j.cjs} +2 -2
- package/dist/{index-DHGV30Mr.cjs.map → index-V9Dk3O4j.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/maplibre-gl-geoagent.css +36 -1
- package/dist/react.cjs +1 -1
- package/dist/react.mjs +1 -1
- package/dist/types/lib/core/GeoAgentControl.d.ts +19 -35
- package/dist/types/lib/core/GeoAgentControl.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ inspect and operate on the live map through dedicated browser tools.
|
|
|
13
13
|
|
|
14
14
|
- Collapsible MapLibre control with a floating chat panel
|
|
15
15
|
- Browser provider UI for OpenAI Responses, OpenAI Chat, Anthropic, Google Gemini, Amazon Bedrock, and any OpenAI-compatible/custom endpoint
|
|
16
|
-
- API keys are saved on commit (Enter or blur) with an inline confirmation
|
|
17
|
-
- Provider, key, and model settings live in one collapsible section that folds away once configured;
|
|
16
|
+
- API keys are saved on commit (Enter or blur) with an inline confirmation; provider errors are shown when a prompt is sent
|
|
17
|
+
- Provider, key, and model settings live in one collapsible section that folds away once configured; built-in providers default to their latest configured model, and the model can still be edited manually
|
|
18
18
|
- Map tools for camera movement, projection, basemaps, markers, GeoJSON, XYZ tiles, layer visibility, opacity, feature queries, screenshots, and layer cleanup
|
|
19
19
|
- Optional Google Earth Engine tools for catalog search, OAuth initialization, dataset tile layers, normalized difference indexes, visualization updates, snippets, and bounded statistics
|
|
20
20
|
- Optional MapLibre JavaScript execution tool, disabled by default
|
|
@@ -118,38 +118,26 @@ Supported providers:
|
|
|
118
118
|
|
|
119
119
|
For Bedrock, select `Amazon Bedrock`, enter a Bedrock API key, choose a Bedrock
|
|
120
120
|
Converse model ID, and set the AWS region. The default Bedrock model is
|
|
121
|
-
`
|
|
121
|
+
`anthropic.claude-opus-4-8`, and the default region is `us-west-2`.
|
|
122
122
|
|
|
123
123
|
For a custom or self-hosted model, select `OpenAI-Compatible (Custom)`, enter the
|
|
124
124
|
API base URL of an OpenAI-compatible endpoint (for example a local LLM server or
|
|
125
|
-
a private deployment), supply the API key, and enter
|
|
126
|
-
|
|
125
|
+
a private deployment), supply the API key, and enter a model ID. The endpoint is
|
|
126
|
+
called with the OpenAI Chat Completions API shape.
|
|
127
127
|
|
|
128
|
-
### Saving and
|
|
128
|
+
### Saving keys and models
|
|
129
129
|
|
|
130
130
|
The API key is written to `sessionStorage` only when you commit it (press Enter
|
|
131
131
|
or move focus out of the field), so a half-typed key never flips the status
|
|
132
|
-
badge to "Ready"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
to call the endpoint. For `OpenAI-Compatible (Custom)` that means the API base
|
|
142
|
-
URL must already be a valid `http(s)` URL when you commit the key; otherwise
|
|
143
|
-
finish entering the base URL first, then press "Load models" to verify and load
|
|
144
|
-
the model list.
|
|
145
|
-
|
|
146
|
-
The loaded list is filtered to text chat models: embeddings, speech/audio,
|
|
147
|
-
image, moderation, and (for first-party OpenAI) legacy completion models such as
|
|
148
|
-
`davinci` and `*-instruct` are removed. These `/models` endpoints expose no
|
|
149
|
-
"deprecated" flag, so deprecated chat snapshots cannot be detected and are left
|
|
150
|
-
in. Aggregator endpoints such as OpenRouter legitimately list hundreds of chat
|
|
151
|
-
models from many providers; the model field is a combobox, so type to narrow the
|
|
152
|
-
suggestions.
|
|
132
|
+
badge to "Ready" or get written to storage.
|
|
133
|
+
|
|
134
|
+
Built-in providers use the latest model configured by the package:
|
|
135
|
+
`gpt-5.5` for OpenAI Responses and OpenAI Chat, `claude-opus-4-8` for Anthropic,
|
|
136
|
+
`gemini-3.5-flash` for Google Gemini, and `anthropic.claude-opus-4-8` for Amazon
|
|
137
|
+
Bedrock. The "Use latest" button resets the model field to that configured
|
|
138
|
+
default without calling a provider model-list endpoint. For
|
|
139
|
+
`OpenAI-Compatible (Custom)`, there is no universal latest model, so enter the
|
|
140
|
+
model ID exposed by that endpoint.
|
|
153
141
|
|
|
154
142
|
## Options
|
|
155
143
|
|