@nanobpm/nano-ide-ext-types 1.1.0 → 1.2.0

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 (2) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/package.json +12 -4
package/dist/index.d.ts CHANGED
@@ -20,6 +20,12 @@ export interface Toolchain {
20
20
  * When set, the supervisor prefers the active one (pinned →
21
21
  * `default: true` → first) over the flat `run`/`compile`. */
22
22
  runConfigs?: RunConfig[];
23
+ /** Official install instructions for this toolchain, surfaced in the IDE
24
+ * config panel when the `detect` probe fails (e.g. the Rust toolchain page). */
25
+ installUrl?: string;
26
+ /** One-line, actionable hint shown when the toolchain is missing (e.g.
27
+ * "`cargo` was not found. Install the Rust toolchain…"). */
28
+ installHint?: string;
23
29
  }
24
30
  /**
25
31
  * One named run/compile combo a pack exposes — e.g. an example that swaps
@@ -67,6 +73,10 @@ export interface ExtManifest {
67
73
  id: string;
68
74
  kind: ExtKind;
69
75
  displayName: string;
76
+ /** Optional pack icon: an inline SVG XML string (preferred; use single-quoted
77
+ * attributes so it nests in JSON) or a data:/http: URL. Lang packs supply this
78
+ * so the console can badge project cards with a language icon. */
79
+ icon?: string;
70
80
  fileTypes?: FileType[];
71
81
  templates?: TemplateSpec[];
72
82
  toolchain?: Toolchain;
package/package.json CHANGED
@@ -1,14 +1,22 @@
1
1
  {
2
2
  "name": "@nanobpm/nano-ide-ext-types",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "TypeScript types for the nano-ide.ext.json extension manifest (ADR 0007).",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
- "publishConfig": { "access": "public" },
8
- "repository": { "type": "git", "url": "https://github.com/jwulf/nano-ide.git", "directory": "packages/ext-types" },
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/jwulf/nano-ide.git",
13
+ "directory": "packages/ext-types"
14
+ },
9
15
  "main": "./dist/index.js",
10
16
  "types": "./dist/index.d.ts",
11
- "files": ["dist"],
17
+ "files": [
18
+ "dist"
19
+ ],
12
20
  "scripts": {
13
21
  "build": "tsc -p tsconfig.json",
14
22
  "typecheck": "tsc --noEmit"