@intentic/extension-api 1.265.0 → 1.267.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.
package/dist/api.d.ts CHANGED
@@ -10,6 +10,7 @@ export interface Activation {
10
10
  readonly key: string;
11
11
  readonly title: string;
12
12
  readonly icon?: string | undefined;
13
+ readonly monogram?: string | undefined;
13
14
  readonly repo?: string | undefined;
14
15
  readonly props?: Record<string, unknown> | undefined;
15
16
  }
@@ -107,6 +108,10 @@ export interface IntenticApi {
107
108
  repos(): readonly RepoFacts[];
108
109
  capabilities(): readonly CapabilityFacts[];
109
110
  onDidChange(listener: () => void): Disposable;
111
+ project(): string | undefined;
112
+ setProject(project: string | undefined): void;
113
+ onDidChangeProject(listener: (project: string | undefined) => void): Disposable;
114
+ inProject(path: string): boolean;
110
115
  onDidChangeRefs(listener: (repos: readonly string[]) => void): Disposable;
111
116
  onDidChangeFiles(listener: (paths: readonly string[]) => void): Disposable;
112
117
  openDiff(payload: DiffPayload): void;
@@ -170,6 +175,10 @@ export interface IntenticApi {
170
175
  mode(): "light" | "dark";
171
176
  onDidChange(listener: (mode: "light" | "dark") => void): Disposable;
172
177
  };
178
+ readonly audience: {
179
+ current(): "developer" | "maker";
180
+ onDidChange(listener: (audience: "developer" | "maker") => void): Disposable;
181
+ };
173
182
  }
174
183
  export interface ExtensionContext {
175
184
  readonly extensionId: string;
package/dist/api.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,eAAe,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AAgB,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5E,UAAU,CAAC,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC"}
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const extensionApiVersion = "2.11.0";
1
+ export declare const extensionApiVersion = "2.14.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AA0EA,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAuFA,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const extensionApiVersion = "2.11.0";
1
+ export const extensionApiVersion = "2.14.0";
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AA0EA,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAuFA,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentic/extension-api",
3
- "version": "1.265.0",
3
+ "version": "1.267.0",
4
4
  "description": "The versioned public API intentic extensions compile against, manifest schema, detection facts and the host API",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -42,7 +42,7 @@
42
42
  }
43
43
  },
44
44
  "dependencies": {
45
- "@intentic/sandbox-contract": "1.265.0",
45
+ "@intentic/sandbox-contract": "1.267.0",
46
46
  "@orpc/contract": "1.14.13",
47
47
  "tslib": "2.8.1"
48
48
  },
package/src/api.ts CHANGED
@@ -19,6 +19,9 @@ export interface Activation {
19
19
  readonly title: string;
20
20
  // An icon name from the host's icon set; absent renders the title's initials.
21
21
  readonly icon?: string | undefined;
22
+ // One or two characters drawn in place of the icon, for a tile that stands for one named thing (the open
23
+ // project); wins over `icon` while set. Longer strings are cut to two.
24
+ readonly monogram?: string | undefined;
22
25
  // Absent for capability-driven elements, which have no repo to root at.
23
26
  readonly repo?: string | undefined;
24
27
  readonly props?: Record<string, unknown> | undefined;
@@ -39,14 +42,7 @@ export interface ViewBadge {
39
42
  readonly tone?: "neutral" | "info" | "warning" | "danger" | undefined;
40
43
  // What happened and how much; rendered after the view's name, so phrase it as a continuation, not a sentence.
41
44
  readonly tooltip?: string | undefined;
42
- /* WORK IN FLIGHT BEHIND THIS TILE RIGHT NOW ("2 running"), phrased as a continuation like `tooltip`.
43
- * A SECOND CHANNEL, not a second badge: the host draws it as a turning mark in the tile's own corner,
44
- * never inside the chip. Running and broken are different claims that are true at the same time more
45
- * often than not — a red branch with its fix already re-running is the ordinary case — and a chip can
46
- * only hold one of them, so putting progress in there would cost the count of what is actually owed.
47
- * No tone: running is never an errand, so it stays the one uncoloured thing a tile can say.
48
- * Seats a tile like any other badge. The rail has always shown live work (an open browser, a subagent,
49
- * a workflow run); a rule that seated those and not a running pipeline would be arbitrary. */
45
+ /* WORK IN FLIGHT BEHIND THIS TILE RIGHT NOW ("2 running"), phrased as a continuation like `tooltip`. */
50
46
  readonly running?: string | undefined;
51
47
  }
52
48
 
@@ -135,16 +131,11 @@ export interface PickedModel {
135
131
  readonly effort?: string | undefined;
136
132
  // What the shell calls that tier ("X-High"); absent whenever `effort` is.
137
133
  readonly effortLabel?: string | undefined;
138
- /* WHAT THE PRESS DOES TO THE ATTEMPT THE PICKER WAS OPENED OVER (`attempt` on `pick`): continue it, or start
139
- * over from it. Absent when the picker was opened over no attempt, or ended by a bar that carried `action`. */
134
+ /* WHAT THE PRESS DOES TO THE ATTEMPT THE PICKER WAS OPENED OVER (`attempt` on `pick`): continue it, or start over from it. */
140
135
  readonly resume?: "continue" | "start-over" | undefined;
141
- /* WHETHER THE MODEL REASONS BEFORE IT ANSWERS, where that is a choice it offers. Three states and not two:
142
- * absent means nobody said, and the turn goes out with no thinking field so the model's own default decides,
143
- * which is NOT the same as `false`. The distinction is load-bearing — Claude refuses its top effort tier
144
- * beside thinking explicitly disabled — so pass it on the turn exactly as it arrives. */
136
+ /* WHETHER THE MODEL REASONS BEFORE IT ANSWERS, where that is a choice it offers. */
145
137
  readonly thinking?: boolean | undefined;
146
- /* WHETHER THE WORK IS BOUGHT AT THE FASTER RATE, for a higher price. A request rather than a promise: the
147
- * harness answers, and may decline (the plan, the account's own settings, the model). Absent ⇒ standard. */
138
+ /* WHETHER THE WORK IS BOUGHT AT THE FASTER RATE, for a higher price. */
148
139
  readonly fast?: boolean | undefined;
149
140
  }
150
141
 
@@ -209,9 +200,19 @@ export interface IntenticApi {
209
200
  role(): "owner" | "maintainer" | "collaborator" | "viewer";
210
201
  };
211
202
  readonly workspace: {
203
+ // The open project's repositories only (see `project`); everything when no project is open.
212
204
  repos(): readonly RepoFacts[];
213
205
  capabilities(): readonly CapabilityFacts[];
214
206
  onDidChange(listener: () => void): Disposable;
207
+ // Which project the whole shell is looking at: one repository's id, or undefined for everything. Sandbox-wide:
208
+ // the workspace roots at it, the agents board files conversations under it, and `repos()` above is narrowed to
209
+ // it, so a view keyed by repository narrows without asking. Reactive when read inside a computed.
210
+ project(): string | undefined;
211
+ setProject(project: string | undefined): void;
212
+ onDidChangeProject(listener: (project: string | undefined) => void): Disposable;
213
+ // Whether a workspace-relative path is in view: true while no project is open, else only for the project
214
+ // and what is inside it. What a view keyed by repository filters its own rows by; reactive inside a computed.
215
+ inProject(path: string): boolean;
215
216
  // Fires when a ref moves in a repo (commit, branch, checkout, rebase) — a change `.git` watching can't
216
217
  // see as a file path. `repos` are root-relative ids.
217
218
  onDidChangeRefs(listener: (repos: readonly string[]) => void): Disposable;
@@ -254,24 +255,9 @@ export interface IntenticApi {
254
255
  // Opens (or focuses) the tab for a stored session id. A session the daemon no longer holds opens an
255
256
  // empty tab rather than failing.
256
257
  openSession(sessionId: string): void;
257
- /* Open (or focus) the docked chat for a fleet agent by its id: the same thing a card press on the
258
- * agents board does. The agent's conversation appears in the chat panel beside the current view
259
- * rather than navigating away from it. An agent the roster does not hold yet (archived, or between
260
- * a start and the first roster frame) is looked up before opening. */
258
+ /* Open (or focus) the docked chat for a fleet agent by its id: the same thing a card press on the agents board does. */
261
259
  openAgent(agentId: string): void;
262
- /* AIM A NEW CHAT AT A WORKFLOW: the host opens a session exactly as "New agent" does, with the
263
- * composer's workflow badge set to this design, so the next message the user types becomes that run's
264
- * request instead of a turn on the chat.
265
- *
266
- * It hands over the START of the work rather than performing it, and that is the point. An extension
267
- * with a Run button used to have two bad options: start the run itself behind its own dialog (a second
268
- * way to begin agent work, with its own box that looks like nothing else in the product), or navigate
269
- * to a page about the run. This is the third: the extension names the design, and the user starts it
270
- * where they start everything else.
271
- *
272
- * A workflow id, not a run id, and the id is all it can be: sandbox-contract imports THIS package, so
273
- * nothing here can name a `Workflow` type.
274
- */
260
+ /* AIM A NEW CHAT AT A WORKFLOW: the host opens a session exactly as "New agent" does, with the composer's workflow badge set to this design. */
275
261
  composeWorkflow(workflowId: string): void;
276
262
  // Like `composeWorkflow`, but arms the composer's loop badge: the next message becomes the loop's
277
263
  // goal, and Send starts it running.
@@ -294,25 +280,7 @@ export interface IntenticApi {
294
280
  readonly thinking?: boolean | undefined;
295
281
  readonly fast?: boolean | undefined;
296
282
  }): PickedModel;
297
- /* Open the picker over `anchor`, a popover on desktop, a sheet on mobile, starting on the selection the
298
- * caller is holding. Resolves with the pick, or undefined if it was dismissed. A second call supersedes
299
- * the first, resolving it as a dismissal.
300
- *
301
- * IT IS A FORM AND IT ENDS IN A PRESS. Every row in the panel — the model list included — updates the
302
- * open selection and leaves the panel open; the bar at the bottom, carrying your `action` as its label,
303
- * is what resolves this promise. Nothing else does: Escape, a click outside and the sheet's backdrop are
304
- * all a plain cancel, resolving undefined and keeping nothing, so a caller never has to guess whether a
305
- * dismissal meant "as you were" or "yes, but from over there".
306
- *
307
- * The panel used to settle on the model row instead, which cost the callers that spend money a second
308
- * click (leave the panel, then press the thing that starts the run) and made backing out of an effort
309
- * change impossible. If your surface merely stores the answer, name your verb accordingly ("Use this
310
- * model" is the default) and the press reads as the save it is.
311
- *
312
- * Picking a model under a DIFFERENT provider clears the account and harness with it: an account id is one
313
- * provider's store key, so carrying it across would pin the work to an account that provider does not
314
- * have. The RUN SETTINGS survive, because effort, thinking and speed are questions every model answers
315
- * for itself. */
283
+ /* Open the picker over `anchor`, a popover on desktop, a sheet on mobile, starting on the selection the caller is holding. */
316
284
  pick(options: {
317
285
  readonly anchor: HTMLElement;
318
286
  readonly provider: string;
@@ -322,21 +290,11 @@ export interface IntenticApi {
322
290
  readonly effort?: string | undefined;
323
291
  readonly thinking?: boolean | undefined;
324
292
  readonly fast?: boolean | undefined;
325
- /* THE VERB ON THE PANEL'S OWN BUTTON — "Fix with agent", "Run all 21 stories", "Save this step".
326
- * Yours, because only you know what the press does, and it is what lets configuring a run and
327
- * starting it be one act instead of two. Defaults to "Use this model", which is honest for a form
328
- * that is only storing the answer. */
293
+ /* THE VERB ON THE PANEL'S OWN BUTTON — "Fix with agent", "Run all 21 stories", "Save this step". */
329
294
  readonly action?: string | undefined;
330
- /* OFFER THE MODEL'S OWN RUN SETTINGS — reasoning effort, extended thinking, speed — for a caller
331
- * that will carry them onto the turn it starts or the pin it stores. Off by default, and
332
- * deliberately: a form that keeps a model and none of these (a workflow step) would be showing
333
- * controls whose answers it drops, which is worse than showing none. Every <AgentRunButton> asks for
334
- * them through `useAgentRunPick`, so a surface using that gets them already. */
295
+ /* OFFER THE MODEL'S OWN RUN SETTINGS — reasoning effort, extended thinking, speed. */
335
296
  readonly chooseRun?: boolean;
336
- /* THE ATTEMPT ALREADY MADE AT WHAT THIS RUN WOULD ANSWER, when there is one: a line naming it, and
337
- * whether it can be continued from here. Given, the panel's bar ends in the verbs about that attempt —
338
- * Continue, Start over — rather than in `action`, and the answer says which was pressed (`resume`).
339
- * A run button beside a fix that already exists passes this through `useAgentRunPick`. */
297
+ /* THE ATTEMPT ALREADY MADE AT WHAT THIS RUN WOULD ANSWER, when there is one: a line naming it, and whether it can be continued from here. */
340
298
  readonly attempt?: { readonly summary: string; readonly continuable: boolean } | undefined;
341
299
  }): Promise<PickedModel | undefined>;
342
300
  };
@@ -358,6 +316,13 @@ export interface IntenticApi {
358
316
  mode(): "light" | "dark";
359
317
  onDidChange(listener: (mode: "light" | "dark") => void): Disposable;
360
318
  };
319
+ // Who the screens are written for, the way `theme` says how they are lit: a developer reads git's own words
320
+ // (branch, land, commit, diff) and a maker reads plain ones (draft, accept, version, what changed) over the same
321
+ // mechanisms. Reactive when read inside a computed. A view that never asks renders as it always has.
322
+ readonly audience: {
323
+ current(): "developer" | "maker";
324
+ onDidChange(listener: (audience: "developer" | "maker") => void): Disposable;
325
+ };
361
326
  }
362
327
 
363
328
  export interface ExtensionContext {
package/src/surface.json CHANGED
@@ -695,5 +695,267 @@
695
695
  "openAgent",
696
696
  "openSession"
697
697
  ]
698
+ },
699
+ "2.12.0": {
700
+ "manifest": [
701
+ "$schema",
702
+ "art",
703
+ "category",
704
+ "contributes",
705
+ "engines",
706
+ "entry",
707
+ "icon",
708
+ "logo",
709
+ "name",
710
+ "permissions",
711
+ "publisher",
712
+ "server",
713
+ "version"
714
+ ],
715
+ "contributes": [
716
+ "agent",
717
+ "automationTemplates",
718
+ "bin",
719
+ "capabilities",
720
+ "commands",
721
+ "documents",
722
+ "environment",
723
+ "files",
724
+ "listener",
725
+ "processes",
726
+ "settings",
727
+ "viewers",
728
+ "views"
729
+ ],
730
+ "api": [
731
+ "apiVersion",
732
+ "audience",
733
+ "chat",
734
+ "commands",
735
+ "documents",
736
+ "href",
737
+ "models",
738
+ "navigate",
739
+ "processes",
740
+ "route",
741
+ "sandbox",
742
+ "settings",
743
+ "terminal",
744
+ "theme",
745
+ "viewers",
746
+ "views",
747
+ "workspace"
748
+ ],
749
+ "listener": ["automation", "events", "provider"],
750
+ "sandboxApi": ["fetch", "json", "key", "origin", "reachable", "request", "role", "rpc"],
751
+ "moduleExports": [
752
+ "extensionApiVersion",
753
+ "flattenQuery",
754
+ "hostSlot",
755
+ "mergeQuery",
756
+ "readDaemonStream",
757
+ "resetSandboxScope",
758
+ "sandboxLedger",
759
+ "sandboxPoll",
760
+ "sandboxRef",
761
+ "sandboxScopeGuard",
762
+ "sandboxValue",
763
+ "satisfiesEngines"
764
+ ],
765
+ "workspaceApi": [
766
+ "capabilities",
767
+ "file",
768
+ "fillDiff",
769
+ "onDidChange",
770
+ "onDidChangeFiles",
771
+ "onDidChangeRefs",
772
+ "openDiff",
773
+ "readJson",
774
+ "repos",
775
+ "write"
776
+ ],
777
+ "chatApi": [
778
+ "composeLoop",
779
+ "composeWorkflow",
780
+ "openAgent",
781
+ "openSession"
782
+ ]
783
+ },
784
+ "2.13.0": {
785
+ "manifest": [
786
+ "$schema",
787
+ "art",
788
+ "category",
789
+ "contributes",
790
+ "engines",
791
+ "entry",
792
+ "icon",
793
+ "logo",
794
+ "name",
795
+ "permissions",
796
+ "publisher",
797
+ "server",
798
+ "version"
799
+ ],
800
+ "contributes": [
801
+ "agent",
802
+ "automationTemplates",
803
+ "bin",
804
+ "capabilities",
805
+ "commands",
806
+ "documents",
807
+ "environment",
808
+ "files",
809
+ "listener",
810
+ "processes",
811
+ "settings",
812
+ "viewers",
813
+ "views"
814
+ ],
815
+ "api": [
816
+ "apiVersion",
817
+ "audience",
818
+ "chat",
819
+ "commands",
820
+ "documents",
821
+ "href",
822
+ "models",
823
+ "navigate",
824
+ "processes",
825
+ "route",
826
+ "sandbox",
827
+ "settings",
828
+ "terminal",
829
+ "theme",
830
+ "viewers",
831
+ "views",
832
+ "workspace"
833
+ ],
834
+ "listener": ["automation", "events", "provider"],
835
+ "sandboxApi": ["fetch", "json", "key", "origin", "reachable", "request", "role", "rpc"],
836
+ "moduleExports": [
837
+ "extensionApiVersion",
838
+ "flattenQuery",
839
+ "hostSlot",
840
+ "mergeQuery",
841
+ "readDaemonStream",
842
+ "resetSandboxScope",
843
+ "sandboxLedger",
844
+ "sandboxPoll",
845
+ "sandboxRef",
846
+ "sandboxScopeGuard",
847
+ "sandboxValue",
848
+ "satisfiesEngines"
849
+ ],
850
+ "workspaceApi": [
851
+ "capabilities",
852
+ "file",
853
+ "fillDiff",
854
+ "onDidChange",
855
+ "onDidChangeFiles",
856
+ "onDidChangeProject",
857
+ "onDidChangeRefs",
858
+ "openDiff",
859
+ "project",
860
+ "readJson",
861
+ "repos",
862
+ "setProject",
863
+ "write"
864
+ ],
865
+ "chatApi": [
866
+ "composeLoop",
867
+ "composeWorkflow",
868
+ "openAgent",
869
+ "openSession"
870
+ ]
871
+ },
872
+ "2.14.0": {
873
+ "manifest": [
874
+ "$schema",
875
+ "art",
876
+ "category",
877
+ "contributes",
878
+ "engines",
879
+ "entry",
880
+ "icon",
881
+ "logo",
882
+ "name",
883
+ "permissions",
884
+ "publisher",
885
+ "server",
886
+ "version"
887
+ ],
888
+ "contributes": [
889
+ "agent",
890
+ "automationTemplates",
891
+ "bin",
892
+ "capabilities",
893
+ "commands",
894
+ "documents",
895
+ "environment",
896
+ "files",
897
+ "listener",
898
+ "processes",
899
+ "settings",
900
+ "viewers",
901
+ "views"
902
+ ],
903
+ "api": [
904
+ "apiVersion",
905
+ "audience",
906
+ "chat",
907
+ "commands",
908
+ "documents",
909
+ "href",
910
+ "models",
911
+ "navigate",
912
+ "processes",
913
+ "route",
914
+ "sandbox",
915
+ "settings",
916
+ "terminal",
917
+ "theme",
918
+ "viewers",
919
+ "views",
920
+ "workspace"
921
+ ],
922
+ "listener": ["automation", "events", "provider"],
923
+ "sandboxApi": ["fetch", "json", "key", "origin", "reachable", "request", "role", "rpc"],
924
+ "moduleExports": [
925
+ "extensionApiVersion",
926
+ "flattenQuery",
927
+ "hostSlot",
928
+ "mergeQuery",
929
+ "readDaemonStream",
930
+ "resetSandboxScope",
931
+ "sandboxLedger",
932
+ "sandboxPoll",
933
+ "sandboxRef",
934
+ "sandboxScopeGuard",
935
+ "sandboxValue",
936
+ "satisfiesEngines"
937
+ ],
938
+ "workspaceApi": [
939
+ "capabilities",
940
+ "file",
941
+ "fillDiff",
942
+ "inProject",
943
+ "onDidChange",
944
+ "onDidChangeFiles",
945
+ "onDidChangeProject",
946
+ "onDidChangeRefs",
947
+ "openDiff",
948
+ "project",
949
+ "readJson",
950
+ "repos",
951
+ "setProject",
952
+ "write"
953
+ ],
954
+ "chatApi": [
955
+ "composeLoop",
956
+ "composeWorkflow",
957
+ "openAgent",
958
+ "openSession"
959
+ ]
698
960
  }
699
961
  }
package/src/version.ts CHANGED
@@ -72,4 +72,17 @@
72
72
  // than navigating away from the current view. Two extensions were navigating to `/agents/<id>` on a plain
73
73
  // click, which left the view they were on; this is the call they should have had. The `chatApi` sub-surface
74
74
  // is recorded from this release on, for the same reason `workspaceApi` was recorded from 2.10.0.
75
- export const extensionApiVersion = "2.11.0";
75
+ // 2.12.0 adds `api.audience`: who the screens are written for, `developer` or `maker`, beside `theme` and read the
76
+ // same way. The shell renames its own tiles and verbs by it (Land now is Accept, Workspace is Files beside a Project
77
+ // home), and a view that says "branch" or "land" to a maker would be the one surface still speaking git. Additive:
78
+ // a view that never asks renders as it always has.
79
+ // 2.13.0 adds the project scope to `api.workspace`: `project()`, `setProject()` and `onDidChangeProject()`. One
80
+ // repository, chosen once for the whole shell, that `repos()` is already narrowed to; the dashboard that sets it
81
+ // (`ext-projects`) is an extension, so the setter had to be on the API. Additive: a view that never asks sees the
82
+ // narrowed `repos()` and nothing else changes for it.
83
+ // 2.14.0 adds `api.workspace.inProject(path)` and `Activation.monogram`. The first is the scope as a predicate: the
84
+ // views that list rows from their own daemon routes (pipelines, maintenance, deployments) never went through `repos()`
85
+ // and so never narrowed, and each was about to reimplement "is this path under the project" by hand. The second lets
86
+ // a tile stand for one named thing: the Projects tile wears the open project's initials in place of its glyph, which
87
+ // no icon name could say. Additive: a view that never asks and a tile that names no monogram are unchanged.
88
+ export const extensionApiVersion = "2.14.0";