You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d630938
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: rust/contracts/rust-core-api.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -596,8 +596,9 @@ or removing a command fails until the table changes in the same commit.
596
596
| `project.checkName` | Check that a name can be a new project's directory name |
597
597
| `project.extractArchive` | Extract a downloaded project archive into the staging directory, refusing unsafe entries |
598
598
| `plugins.marketplace.validateIndex` | Validate a marketplace index and report each plugin's availability for one platform |
599
-
| `plugins.marketplace.resolveSource` | Resolve a user-entered marketplace source to the index URL to fetch |
599
+
| `plugins.marketplace.resolveSource` | Resolve a user-entered marketplace source to the index and companion recommendations URLs to fetch |
600
600
| `plugins.marketplace.installReview` | List a package's permissions and programs, and those not yet approved |
601
+
| `plugins.marketplace.recommendForWorkspace` | Match sampled workspace files against marketplace recommendation catalogs and indexes |
601
602
| `workspace.snapshot` | Enumerate visible workspace nodes and relative file paths; `nestedWorktrees` lists linked worktrees checked out inside their own repository, which are left out of the tree, files, and search index; hidden folders, Core's own and the ones enabled plugins declare through `workspace.configureVisibility`, are skipped without being read; `includeTree: false` returns only `files` and a childless `root`; `files` (and the tree, when included) keep the lowercase traversal order that bounded consumers such as Windows Quick Open rely on, not the natural display order of `workspace.listDirectories` |
602
603
| `workspace.releaseIndexing` | Retire a policy and clear index/cache data at project close; accepts `root`, optional `ownerId`, and that owner's last observed `revision`, returns `released`; an old close must not retire a new generation |
603
604
| `workspace.configureIndexing` | Install a process-local, canonical-root indexing policy before workspace consumers run; returns a monotonic revision, effective directory reasons and Git failure state; see `rust/fixtures/workspace/indexing-policy-v1.json` |
@@ -5333,10 +5334,15 @@ archives and pass the parsed JSON. `validateIndex` accepts
5333
5334
and returns `{ status: "ok", index: { plugins, rejected } }` with per-entry
5334
5335
`availability`; a listed version is available only when its `pluginAPIVersion`
5335
5336
is one Core supports and every capability it requires is in `hostCapabilities`; `resolveSource` accepts `{ url }` and returns
0 commit comments