dsh-unreal-python-api 0.0.0-stage → 1.1.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/CHANGELOG.md +53 -0
- package/LICENSE +21 -0
- package/README.md +182 -2
- package/cordis.patch.yml +4 -0
- package/docs/DETAIL.md +93 -0
- package/icon.svg +9 -0
- package/index.js +538 -0
- package/lib/builder.js +617 -0
- package/lib/docs.js +196 -0
- package/lib/inventory.js +304 -0
- package/lib/scope.js +199 -0
- package/link-deps.ps1 +36 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +51 -4
- package/test/smoke.mjs +343 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.1.1 — 2026-11-30
|
|
4
|
+
|
|
5
|
+
- Fixed the test suite on a machine without the harness packages: the export,
|
|
6
|
+
configuration and `apply()` checks now run only when `@deepseek-ai/dsh-tools`
|
|
7
|
+
and `@deepseek-ai/schemastery` resolve, and the data-path checks always run.
|
|
8
|
+
`v1.1.0` was tagged but its publish run failed before reaching npm, so 1.1.1 is
|
|
9
|
+
the first published 1.1.x.
|
|
10
|
+
|
|
11
|
+
## 1.1.0 — 2026-11-30
|
|
12
|
+
|
|
13
|
+
Workspace-specific activation.
|
|
14
|
+
|
|
15
|
+
- Added `scope` (`anywhere` | `unreal-project` | `workspaces`), `workspaces`
|
|
16
|
+
and `projectMarkers`. With a non-default scope the four tools are registered
|
|
17
|
+
behind a step-time activation condition, so they only appear in the model's
|
|
18
|
+
tool list inside the configured workspaces or an Unreal project.
|
|
19
|
+
- The system-prompt section now states where the tools are admitted instead of
|
|
20
|
+
implying they are always available.
|
|
21
|
+
- `lib/scope.js`: segment-aware, case-insensitive path matching, `.uproject`
|
|
22
|
+
ancestor detection with configurable markers, a ten-second per-directory
|
|
23
|
+
cache, and a gate that rejects rather than throws.
|
|
24
|
+
- Tests: workspace matching (including a shared-prefix sibling such as `TDA2`),
|
|
25
|
+
Unreal project detection in a temporary directory, a custom marker list, the
|
|
26
|
+
failing-lookup path, and the plugin module's exports plus configuration
|
|
27
|
+
defaults.
|
|
28
|
+
- Fixed: the tool builder advertised a single-tool shortcut (`tool_name`,
|
|
29
|
+
`tool_description`, `tool_parameters`, `tool_returns`, `tool_symbols`) that
|
|
30
|
+
the handler never read, and `tools` was required — so a one-tool call was
|
|
31
|
+
rejected before it ran. `tools` is now optional, the shortcut is implemented,
|
|
32
|
+
and a shortcut without `tool_description` fails with a plain message.
|
|
33
|
+
|
|
34
|
+
## 1.0.0 — 2026-11-30
|
|
35
|
+
|
|
36
|
+
First release.
|
|
37
|
+
|
|
38
|
+
- `unreal_python_tools_list` — enumerate the published Unreal Python 5.8 surface,
|
|
39
|
+
a namespace's direct members, or one kind of symbol, with documentation links.
|
|
40
|
+
- `unreal_python_search` — rank 66,849 inventory symbols (exact, member-name
|
|
41
|
+
prefix, substring) and filter by kind or parent.
|
|
42
|
+
- `unreal_python_syntax` — read the exact signature, description, parameter table
|
|
43
|
+
and return type from Epic's published documentation page for a symbol.
|
|
44
|
+
- `unreal_python_tool_builder` — scaffold a tool from an intent plus verified API
|
|
45
|
+
symbols in four styles: `toolset` (ToolsetRegistry toolset class with its test
|
|
46
|
+
module), `editor_script`, `mcp_tool` (MCP tool descriptors in JSON plus the
|
|
47
|
+
Python handler module that serves them), and `dsh_tool` (a DSH plugin tool
|
|
48
|
+
module built on `defineTool`, with a Node test module). Unverified symbols are
|
|
49
|
+
reported instead of being written into the code.
|
|
50
|
+
- Inventory downloaded from Epic's `objects.inv`, cached locally, refreshed every
|
|
51
|
+
24 hours by default.
|
|
52
|
+
- Published from a `v1.0.0` tag through GitHub Actions with npm provenance;
|
|
53
|
+
`latest` on npm since 2026-11-30.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Taimoor
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,183 @@
|
|
|
1
|
-
#
|
|
1
|
+
# dsh-unreal-python-api
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
An Unreal Engine Python API context plugin for DeepSeek Harness. It gives agents
|
|
4
|
+
the documented Unreal Python surface — listing, search, exact syntax, and tool
|
|
5
|
+
scaffolding in four flavours — from the symbol inventory Epic publishes beside the
|
|
6
|
+
Python API documentation. See [docs/DETAIL.md](docs/DETAIL.md) for what each tool
|
|
7
|
+
returns and how the data is kept.
|
|
8
|
+
|
|
9
|
+
Source: <https://github.com/TaimoorSiddiquiOfficial/dsh-unreal-python-api> · MIT.
|
|
10
|
+
|
|
11
|
+
## What the agent gets
|
|
12
|
+
|
|
13
|
+
| Tool | What it does |
|
|
14
|
+
|---|---|
|
|
15
|
+
| `unreal_python_tools_list` | The published symbol surface: totals by kind, one namespace's direct members, or one kind of symbol, each with a documentation link. |
|
|
16
|
+
| `unreal_python_search` | 66,849 inventory symbols ranked exact → member-name prefix → substring, filterable by kind or parent. |
|
|
17
|
+
| `unreal_python_syntax` | The exact signature, description, parameter table and return type, read from Epic's published page for that symbol. |
|
|
18
|
+
| `unreal_python_tool_builder` | Scaffolds a tool from an intent plus verified symbols in four styles: `toolset`, `editor_script`, `mcp_tool`, `dsh_tool`. |
|
|
19
|
+
|
|
20
|
+
A short system-prompt section tells the agent the tools exist, so it reaches for
|
|
21
|
+
the published API instead of guessing names. Symbols that are not in the inventory
|
|
22
|
+
are reported as `unresolved` and never written into generated code.
|
|
23
|
+
|
|
24
|
+
## What to expect — and what not to
|
|
25
|
+
|
|
26
|
+
Expect:
|
|
27
|
+
|
|
28
|
+
- **Correct names and signatures, with a source link.** Every symbol the tools
|
|
29
|
+
return comes from Epic's own inventory for the installed documentation version
|
|
30
|
+
(5.8 at the time of writing), and `unreal_python_syntax` reads the published
|
|
31
|
+
page, so parameter names and defaults match the documentation rather than a
|
|
32
|
+
model's memory.
|
|
33
|
+
- **Scaffolds that compile as far as the API surface goes.** Generated artifacts
|
|
34
|
+
are parse-checked in their own language by `test/smoke.mjs`; Unreal API calls in
|
|
35
|
+
the comment block are verified against the inventory.
|
|
36
|
+
- **Four output styles for one intent**, so the same description can become a
|
|
37
|
+
ToolsetRegistry toolset for the editor, an MCP tool descriptor set, or a DSH
|
|
38
|
+
plugin tool module.
|
|
39
|
+
|
|
40
|
+
Do not expect:
|
|
41
|
+
|
|
42
|
+
- **A live editor connection.** This plugin reads documentation only. It never
|
|
43
|
+
talks to a running Unreal Editor, so it cannot report your project's actual
|
|
44
|
+
assets, and a generated tool body is a skeleton that raises until you implement
|
|
45
|
+
it.
|
|
46
|
+
- **Behaviour for free.** The builder emits structure, verified imports and
|
|
47
|
+
signatures; the logic inside each tool body is yours to write and test.
|
|
48
|
+
- **Version independence.** The inventory version follows Epic's published
|
|
49
|
+
documentation for the URL in `docBaseUrl`; check it matches your engine when
|
|
50
|
+
that matters.
|
|
51
|
+
|
|
52
|
+
## Install
|
|
53
|
+
|
|
54
|
+
From the plugin market or an index source: install `dsh-unreal-python-api`.
|
|
55
|
+
|
|
56
|
+
Live on npm since 2026-11-30 (published with provenance from the `v1.0.0` tag):
|
|
57
|
+
|
|
58
|
+
```powershell
|
|
59
|
+
dsh plugin --profile web add dsh-unreal-python-api
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
npm held the name with a `0.0.0-stage` staging placeholder for about a minute while
|
|
63
|
+
it released that first publish; `latest` is now `1.0.0`.
|
|
64
|
+
|
|
65
|
+
From a local checkout (no publish needed):
|
|
66
|
+
|
|
67
|
+
```powershell
|
|
68
|
+
dsh plugin --profile web add "<this directory>"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
A local install links this directory. Because the link is resolved through its
|
|
72
|
+
real path, the host-provided packages `@deepseek-ai/dsh-tools` and
|
|
73
|
+
`@deepseek-ai/schemastery` must be reachable from here — run `link-deps.ps1`
|
|
74
|
+
once after cloning, and again after a DSH upgrade moves the install root:
|
|
75
|
+
|
|
76
|
+
```powershell
|
|
77
|
+
.\link-deps.ps1 # uses $env:DSH_INSTALL_DIR
|
|
78
|
+
.\link-deps.ps1 -InstallRoot "C:\path\to\@deepseek-ai\dsh"
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Removing it: `dsh plugin --profile web remove dsh-unreal-python-api`.
|
|
82
|
+
|
|
83
|
+
## Requirements
|
|
84
|
+
|
|
85
|
+
- DeepSeek Harness with the `tools` and `systemPrompt` services (0.2.2-rc.5 or
|
|
86
|
+
newer). `@deepseek-ai/dsh-tools` is host-provided: the version on npm
|
|
87
|
+
(`0.0.1-rc.1`) is older than the one the harness ships, so it is deliberately
|
|
88
|
+
not declared as a dependency. That bare import resolves by walking up from the
|
|
89
|
+
installed package to the DSH install; if your profile's `node_modules` does not
|
|
90
|
+
sit under the DSH install or its parents, install from a linked checkout and run
|
|
91
|
+
`link-deps.ps1` instead.
|
|
92
|
+
- Node 20+ (global `fetch`, `node:zlib`) — no third-party dependencies.
|
|
93
|
+
- Network access on the first run (the inventory is 612 KB, then cached).
|
|
94
|
+
- Optional: Python on PATH, so the smoke test can parse-check the Python
|
|
95
|
+
artifacts it generates.
|
|
96
|
+
|
|
97
|
+
## Test
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
node test/smoke.mjs
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
It downloads (or reuses) the inventory, then asserts the published version and
|
|
104
|
+
symbol total, exact-match ranking and kind filtering in search, direct-member
|
|
105
|
+
listing, a real signature read from a documentation page, an absent symbol being
|
|
106
|
+
reported unresolved, scaffolds for all four styles that keep unverified symbols
|
|
107
|
+
out of the generated code, and that every generated artifact parses with its own
|
|
108
|
+
compiler (`python -c "ast.parse"`, `node --check`).
|
|
109
|
+
|
|
110
|
+
## Layout
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
index.js plugin entry: Config, the four tools, the prompt section
|
|
114
|
+
lib/inventory.js inventory download, cache, parse, search, member listing
|
|
115
|
+
lib/docs.js documentation page reader: signature, description, parameters
|
|
116
|
+
lib/builder.js the four scaffold styles
|
|
117
|
+
test/smoke.mjs live data-path test (network + cache + every capability)
|
|
118
|
+
cordis.patch.yml bundle patch row
|
|
119
|
+
locale/, icon.svg Host display metadata
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Configuration
|
|
123
|
+
|
|
124
|
+
| Key | Default | Meaning |
|
|
125
|
+
|---|---|---|
|
|
126
|
+
| `docBaseUrl` | Epic's published Python API docs | Inventory and page root. |
|
|
127
|
+
| `cacheDir` | `%LOCALAPPDATA%\dsh-unreal-python-api` | Where the inventory is cached. |
|
|
128
|
+
| `refreshHours` | `24` | Cache freshness window; `0` forces a refetch. |
|
|
129
|
+
| `maxResults` | `30` | Upper bound on rows a tool returns. |
|
|
130
|
+
| `fetchTimeoutMs` | `30000` | Page and inventory timeout. |
|
|
131
|
+
| `promptSection` | `true` | Register the system-prompt section. |
|
|
132
|
+
| `scope` | `anywhere` | Where the tools are offered: `anywhere`, `unreal-project`, or `workspaces`. |
|
|
133
|
+
| `workspaces` | `[]` | Absolute roots admitted by `scope: workspaces`. |
|
|
134
|
+
| `projectMarkers` | `['.uproject']` | Files that identify a project root; replaces the default list. |
|
|
135
|
+
|
|
136
|
+
### Workspace scoping
|
|
137
|
+
|
|
138
|
+
One profile install serves every workspace, so the four tools are offered
|
|
139
|
+
everywhere by default. Set `scope` to make them appear only where they are
|
|
140
|
+
useful:
|
|
141
|
+
|
|
142
|
+
| `scope` | Tools are offered when |
|
|
143
|
+
|---|---|
|
|
144
|
+
| `anywhere` (default) | always — unchanged from 1.0.0 |
|
|
145
|
+
| `unreal-project` | the session's working directory, or a parent, holds a `*.uproject` |
|
|
146
|
+
| `workspaces` | the working directory is inside one of the `workspaces` roots |
|
|
147
|
+
|
|
148
|
+
```yaml
|
|
149
|
+
# the dsh-unreal-python-api row's config (profile cordis.patch.yml, or the
|
|
150
|
+
# plugin's settings panel in the GUI when it offers one)
|
|
151
|
+
config:
|
|
152
|
+
scope: unreal-project
|
|
153
|
+
# or name the roots yourself:
|
|
154
|
+
# scope: workspaces
|
|
155
|
+
# workspaces:
|
|
156
|
+
# - D:\HOP TRENDY UNREAL\Unreal Projects\TDA
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
The check runs once per prepared step against the session's committed working
|
|
160
|
+
directory, is cached for ten seconds, and never throws: an unknown directory or
|
|
161
|
+
a failing lookup counts as not admitted. Path comparison is segment-aware and
|
|
162
|
+
case-insensitive, so `…\TDA` admits `…\TDA\Source` but not `…\TDA2`. Outside the
|
|
163
|
+
scope the tools are absent from the model's tool list entirely rather than
|
|
164
|
+
refused at call time, and the prompt section says where they apply.
|
|
165
|
+
|
|
166
|
+
## Publishing to the market
|
|
167
|
+
|
|
168
|
+
The market catalog is curated through
|
|
169
|
+
`github.com/awesome-dsh-plugin/awesome-dsh-plugin`: add one entry there and the
|
|
170
|
+
site and in-app market pick it up. Installs prefer an npm package, then a GitHub
|
|
171
|
+
Release tarball, then the repository itself, all through `dsh plugin add`.
|
|
172
|
+
Keep `private` out of `package.json` before publishing to npm.
|
|
173
|
+
|
|
174
|
+
## Adding a capability
|
|
175
|
+
|
|
176
|
+
Tool registration lives in `apply()` in `index.js`; each tool is one
|
|
177
|
+
`ctx.tools.register(defineTool({...}))` call. Data-layer helpers belong in `lib/`
|
|
178
|
+
and must stay runnable under plain Node so `test/smoke.mjs` can exercise them
|
|
179
|
+
without the DSH runtime.
|
|
180
|
+
|
|
181
|
+
## License
|
|
182
|
+
|
|
183
|
+
MIT — see [LICENSE](LICENSE).
|
package/cordis.patch.yml
ADDED
package/docs/DETAIL.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Unreal Python API context — detail
|
|
2
|
+
|
|
3
|
+
This plugin gives an agent the documented Unreal Engine Python API while it works,
|
|
4
|
+
without the agent guessing at Unreal symbols or fetching whole documentation pages.
|
|
5
|
+
|
|
6
|
+
## Where the data comes from
|
|
7
|
+
|
|
8
|
+
Epic publishes the Unreal Python API as Sphinx documentation at
|
|
9
|
+
<https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/>.
|
|
10
|
+
Next to those pages Sphinx publishes `objects.inv`, an inventory of every
|
|
11
|
+
documented symbol:
|
|
12
|
+
|
|
13
|
+
| Fact | Value at the time of writing |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| Inventory URL | `<docBaseUrl>/objects.inv` |
|
|
16
|
+
| Size | ~612 KB, zlib-compressed |
|
|
17
|
+
| Documented version | Unreal Python 5.8 |
|
|
18
|
+
| Symbols | 66,849 |
|
|
19
|
+
| Kinds | 17,896 methods, 17,099 properties, 11,678 doc pages, 11,675 classes, 8,441 attributes, 50 functions, 10 labels |
|
|
20
|
+
|
|
21
|
+
The inventory is downloaded once, cached on disk, and parsed in memory. Every
|
|
22
|
+
row the tools return comes from that file, and a symbol that is not in it is
|
|
23
|
+
reported as unresolved rather than being invented. Signature, description,
|
|
24
|
+
parameters, and return value come from the documentation page that carries the
|
|
25
|
+
symbol.
|
|
26
|
+
|
|
27
|
+
## Tools
|
|
28
|
+
|
|
29
|
+
**`unreal_python_tools_list`** — lists the API surface. Without `parent` it
|
|
30
|
+
reports the symbol total and the per-kind counts. With `parent` such as
|
|
31
|
+
`unreal.EditorAssetLibrary` or `unreal.Actor` it lists that namespace's or
|
|
32
|
+
class's direct members, with per-kind counts and the documentation URL of each.
|
|
33
|
+
`refresh: true` downloads the inventory again.
|
|
34
|
+
|
|
35
|
+
**`unreal_python_search`** — finds symbols by name. Ranking is exact name, then
|
|
36
|
+
case-insensitive exact, then member name (the text after the last dot) starting
|
|
37
|
+
with the query, then any containing name. So `save_asset` reaches
|
|
38
|
+
`unreal.EditorAssetLibrary.save_asset` first, and `set_actor` reaches
|
|
39
|
+
`unreal.Actor.set_actor_scale3d`. `kind` and `parent` narrow the search.
|
|
40
|
+
|
|
41
|
+
**`unreal_python_syntax`** — returns the exact syntax of one or more symbols:
|
|
42
|
+
signature, summary, parameter rows, return value, and the documentation URL,
|
|
43
|
+
deep-linked to the symbol's anchor. A symbol whose page has no anchor for it is
|
|
44
|
+
returned with `resolved: false` and a note instead of a guess.
|
|
45
|
+
|
|
46
|
+
**`unreal_python_tool_builder`** — scaffolds an Unreal Python tool from a
|
|
47
|
+
description and a list of API symbols per tool. It emits either a ToolsetRegistry
|
|
48
|
+
toolset class (`@unreal.uclass()` on `unreal.ToolsetDefinition`,
|
|
49
|
+
`@toolset_registry.tool_call` static methods with annotated parameters,
|
|
50
|
+
docstring, registration and unregistration functions) or a plain editor script,
|
|
51
|
+
plus a test module skeleton. Each requested symbol is verified against the
|
|
52
|
+
inventory: verified ones are recorded beside the tool body with their
|
|
53
|
+
documentation URL, and unverified ones are reported in `unresolved` and kept out
|
|
54
|
+
of the code.
|
|
55
|
+
|
|
56
|
+
Tool bodies deliberately raise `NotImplementedError`. The builder produces a
|
|
57
|
+
grounded starting point, not finished code.
|
|
58
|
+
|
|
59
|
+
## Configuration
|
|
60
|
+
|
|
61
|
+
| Key | Default | Meaning |
|
|
62
|
+
| --- | --- | --- |
|
|
63
|
+
| `docBaseUrl` | Epic's Python API root | Documentation root; `objects.inv` is read relative to it. |
|
|
64
|
+
| `cacheDir` | `%LOCALAPPDATA%\dsh-unreal-python-api` | Where the inventory is cached. `$DSH_UNREAL_PYTHON_API_CACHE` overrides it. |
|
|
65
|
+
| `refreshHours` | `24` | Re-download the inventory when the cache is older than this. `0` re-downloads every load. |
|
|
66
|
+
| `maxResults` | `30` | Default row cap per call; a caller may ask for fewer or more, up to 200. |
|
|
67
|
+
| `fetchTimeoutMs` | `30000` | Per-request timeout for the inventory and documentation pages. |
|
|
68
|
+
| `promptSection` | `true` | Adds one line to the system prompt naming the tools and the documentation root. |
|
|
69
|
+
| `scope` | `anywhere` | `anywhere`, `unreal-project`, or `workspaces`; see the scope gate below. |
|
|
70
|
+
| `workspaces` | `[]` | Absolute roots admitted by `scope: workspaces`; required by that mode. |
|
|
71
|
+
| `projectMarkers` | `['.uproject']` | File names (or `.extension` suffixes) that mark a project root. Replaces, never extends, the default. |
|
|
72
|
+
|
|
73
|
+
### Scope gate
|
|
74
|
+
|
|
75
|
+
`scope` is enforced with the tool runtime's step-time activation condition —
|
|
76
|
+
`ctx.tools.register(definition, { when })`, where `when` receives the preparing
|
|
77
|
+
agent. The plugin reads the session's committed working directory through the
|
|
78
|
+
`workingDirectory` service (`ctx.workingDirectory.get(agent.session)`), so the
|
|
79
|
+
decision follows a directory change without restarting anything. Each directory
|
|
80
|
+
is checked at most once every ten seconds, and a lookup failure rejects that
|
|
81
|
+
step's admission instead of throwing, because a throwing condition fails step
|
|
82
|
+
preparation. The default `scope: anywhere` attaches no condition at all, so
|
|
83
|
+
1.0.0 behaviour is preserved exactly.
|
|
84
|
+
|
|
85
|
+
## Failure behaviour
|
|
86
|
+
|
|
87
|
+
- Inventory: a failed download falls back to the cached copy and labels the
|
|
88
|
+
source `stale-cache`; with neither network nor cache the tool fails with the
|
|
89
|
+
URL it tried.
|
|
90
|
+
- Documentation pages: a fetch failure fails that symbol's syntax lookup. Pages
|
|
91
|
+
are cached in memory (24 most recent) so several symbols from one class page
|
|
92
|
+
cost one request.
|
|
93
|
+
- Prose on a page is treated as documentation text only.
|
package/icon.svg
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128" role="img" aria-label="Unreal Python API context">
|
|
2
|
+
<rect x="4" y="4" width="120" height="120" rx="26" fill="#10151f"/>
|
|
3
|
+
<rect x="22" y="34" width="62" height="9" rx="4.5" fill="#4fb3ff"/>
|
|
4
|
+
<rect x="22" y="52" width="46" height="9" rx="4.5" fill="#4fb3ff" opacity="0.75"/>
|
|
5
|
+
<rect x="22" y="70" width="54" height="9" rx="4.5" fill="#4fb3ff" opacity="0.55"/>
|
|
6
|
+
<rect x="22" y="88" width="34" height="9" rx="4.5" fill="#4fb3ff" opacity="0.35"/>
|
|
7
|
+
<circle cx="88" cy="82" r="17" fill="#10151f" stroke="#22d3a6" stroke-width="7"/>
|
|
8
|
+
<path d="M100 94 L112 106" stroke="#22d3a6" stroke-width="9" stroke-linecap="round"/>
|
|
9
|
+
</svg>
|