@intentic/extension-api 1.265.0 → 1.266.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 +7 -0
- package/dist/api.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +2 -2
- package/src/api.ts +24 -65
- package/src/surface.json +173 -0
- package/src/version.ts +9 -1
package/dist/api.d.ts
CHANGED
|
@@ -107,6 +107,9 @@ export interface IntenticApi {
|
|
|
107
107
|
repos(): readonly RepoFacts[];
|
|
108
108
|
capabilities(): readonly CapabilityFacts[];
|
|
109
109
|
onDidChange(listener: () => void): Disposable;
|
|
110
|
+
project(): string | undefined;
|
|
111
|
+
setProject(project: string | undefined): void;
|
|
112
|
+
onDidChangeProject(listener: (project: string | undefined) => void): Disposable;
|
|
110
113
|
onDidChangeRefs(listener: (repos: readonly string[]) => void): Disposable;
|
|
111
114
|
onDidChangeFiles(listener: (paths: readonly string[]) => void): Disposable;
|
|
112
115
|
openDiff(payload: DiffPayload): void;
|
|
@@ -170,6 +173,10 @@ export interface IntenticApi {
|
|
|
170
173
|
mode(): "light" | "dark";
|
|
171
174
|
onDidChange(listener: (mode: "light" | "dark") => void): Disposable;
|
|
172
175
|
};
|
|
176
|
+
readonly audience: {
|
|
177
|
+
current(): "developer" | "maker";
|
|
178
|
+
onDidChange(listener: (audience: "developer" | "maker") => void): Disposable;
|
|
179
|
+
};
|
|
173
180
|
}
|
|
174
181
|
export interface ExtensionContext {
|
|
175
182
|
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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AO,GAAG,MAAM,CAAC;QACzB,WAAW,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,KAAK,IAAI,GAAG,UAAU,CAAC;KACvE,CAAC;IAIF,QAAQ,CAAC,QAAQ,EAAE;QACf,OAAO,IAAI,WAAW,GAAG,OAAO,CAAC;QACjC,WAAW,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,WAAW,GAAG,OAAO,KAAK,IAAI,GAAG,UAAU,CAAC;KAChF,CAAC;CACL;AAED,MAAM,WAAW,gBAAgB;IAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAE7B,QAAQ,CAAC,aAAa,EAAE,UAAU,EAAE,CAAC;CACxC;AAID,MAAM,WAAW,eAAe;IAC5B,QAAQ,CAAC,GAAG,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,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.
|
|
1
|
+
export declare const extensionApiVersion = "2.13.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAkFA,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const extensionApiVersion = "2.
|
|
1
|
+
export const extensionApiVersion = "2.13.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAkFA,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.
|
|
3
|
+
"version": "1.266.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.
|
|
45
|
+
"@intentic/sandbox-contract": "1.266.0",
|
|
46
46
|
"@orpc/contract": "1.14.13",
|
|
47
47
|
"tslib": "2.8.1"
|
|
48
48
|
},
|
package/src/api.ts
CHANGED
|
@@ -39,14 +39,7 @@ export interface ViewBadge {
|
|
|
39
39
|
readonly tone?: "neutral" | "info" | "warning" | "danger" | undefined;
|
|
40
40
|
// What happened and how much; rendered after the view's name, so phrase it as a continuation, not a sentence.
|
|
41
41
|
readonly tooltip?: string | undefined;
|
|
42
|
-
|
|
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. */
|
|
42
|
+
/* WORK IN FLIGHT BEHIND THIS TILE RIGHT NOW ("2 running"), phrased as a continuation like `tooltip`. */
|
|
50
43
|
readonly running?: string | undefined;
|
|
51
44
|
}
|
|
52
45
|
|
|
@@ -135,16 +128,11 @@ export interface PickedModel {
|
|
|
135
128
|
readonly effort?: string | undefined;
|
|
136
129
|
// What the shell calls that tier ("X-High"); absent whenever `effort` is.
|
|
137
130
|
readonly effortLabel?: string | undefined;
|
|
138
|
-
|
|
139
|
-
* over from it. Absent when the picker was opened over no attempt, or ended by a bar that carried `action`. */
|
|
131
|
+
/* WHAT THE PRESS DOES TO THE ATTEMPT THE PICKER WAS OPENED OVER (`attempt` on `pick`): continue it, or start over from it. */
|
|
140
132
|
readonly resume?: "continue" | "start-over" | undefined;
|
|
141
|
-
|
|
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. */
|
|
133
|
+
/* WHETHER THE MODEL REASONS BEFORE IT ANSWERS, where that is a choice it offers. */
|
|
145
134
|
readonly thinking?: boolean | undefined;
|
|
146
|
-
|
|
147
|
-
* harness answers, and may decline (the plan, the account's own settings, the model). Absent ⇒ standard. */
|
|
135
|
+
/* WHETHER THE WORK IS BOUGHT AT THE FASTER RATE, for a higher price. */
|
|
148
136
|
readonly fast?: boolean | undefined;
|
|
149
137
|
}
|
|
150
138
|
|
|
@@ -209,9 +197,16 @@ export interface IntenticApi {
|
|
|
209
197
|
role(): "owner" | "maintainer" | "collaborator" | "viewer";
|
|
210
198
|
};
|
|
211
199
|
readonly workspace: {
|
|
200
|
+
// The open project's repositories only (see `project`); everything when no project is open.
|
|
212
201
|
repos(): readonly RepoFacts[];
|
|
213
202
|
capabilities(): readonly CapabilityFacts[];
|
|
214
203
|
onDidChange(listener: () => void): Disposable;
|
|
204
|
+
// Which project the whole shell is looking at: one repository's id, or undefined for everything. Sandbox-wide:
|
|
205
|
+
// the workspace roots at it, the agents board files conversations under it, and `repos()` above is narrowed to
|
|
206
|
+
// it, so a view keyed by repository narrows without asking. Reactive when read inside a computed.
|
|
207
|
+
project(): string | undefined;
|
|
208
|
+
setProject(project: string | undefined): void;
|
|
209
|
+
onDidChangeProject(listener: (project: string | undefined) => void): Disposable;
|
|
215
210
|
// Fires when a ref moves in a repo (commit, branch, checkout, rebase) — a change `.git` watching can't
|
|
216
211
|
// see as a file path. `repos` are root-relative ids.
|
|
217
212
|
onDidChangeRefs(listener: (repos: readonly string[]) => void): Disposable;
|
|
@@ -254,24 +249,9 @@ export interface IntenticApi {
|
|
|
254
249
|
// Opens (or focuses) the tab for a stored session id. A session the daemon no longer holds opens an
|
|
255
250
|
// empty tab rather than failing.
|
|
256
251
|
openSession(sessionId: string): void;
|
|
257
|
-
|
|
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. */
|
|
252
|
+
/* 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
253
|
openAgent(agentId: string): void;
|
|
262
|
-
|
|
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
|
-
*/
|
|
254
|
+
/* 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
255
|
composeWorkflow(workflowId: string): void;
|
|
276
256
|
// Like `composeWorkflow`, but arms the composer's loop badge: the next message becomes the loop's
|
|
277
257
|
// goal, and Send starts it running.
|
|
@@ -294,25 +274,7 @@ export interface IntenticApi {
|
|
|
294
274
|
readonly thinking?: boolean | undefined;
|
|
295
275
|
readonly fast?: boolean | undefined;
|
|
296
276
|
}): PickedModel;
|
|
297
|
-
|
|
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. */
|
|
277
|
+
/* Open the picker over `anchor`, a popover on desktop, a sheet on mobile, starting on the selection the caller is holding. */
|
|
316
278
|
pick(options: {
|
|
317
279
|
readonly anchor: HTMLElement;
|
|
318
280
|
readonly provider: string;
|
|
@@ -322,21 +284,11 @@ export interface IntenticApi {
|
|
|
322
284
|
readonly effort?: string | undefined;
|
|
323
285
|
readonly thinking?: boolean | undefined;
|
|
324
286
|
readonly fast?: boolean | undefined;
|
|
325
|
-
|
|
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. */
|
|
287
|
+
/* THE VERB ON THE PANEL'S OWN BUTTON — "Fix with agent", "Run all 21 stories", "Save this step". */
|
|
329
288
|
readonly action?: string | undefined;
|
|
330
|
-
|
|
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. */
|
|
289
|
+
/* OFFER THE MODEL'S OWN RUN SETTINGS — reasoning effort, extended thinking, speed. */
|
|
335
290
|
readonly chooseRun?: boolean;
|
|
336
|
-
|
|
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`. */
|
|
291
|
+
/* 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
292
|
readonly attempt?: { readonly summary: string; readonly continuable: boolean } | undefined;
|
|
341
293
|
}): Promise<PickedModel | undefined>;
|
|
342
294
|
};
|
|
@@ -358,6 +310,13 @@ export interface IntenticApi {
|
|
|
358
310
|
mode(): "light" | "dark";
|
|
359
311
|
onDidChange(listener: (mode: "light" | "dark") => void): Disposable;
|
|
360
312
|
};
|
|
313
|
+
// Who the screens are written for, the way `theme` says how they are lit: a developer reads git's own words
|
|
314
|
+
// (branch, land, commit, diff) and a maker reads plain ones (draft, accept, version, what changed) over the same
|
|
315
|
+
// mechanisms. Reactive when read inside a computed. A view that never asks renders as it always has.
|
|
316
|
+
readonly audience: {
|
|
317
|
+
current(): "developer" | "maker";
|
|
318
|
+
onDidChange(listener: (audience: "developer" | "maker") => void): Disposable;
|
|
319
|
+
};
|
|
361
320
|
}
|
|
362
321
|
|
|
363
322
|
export interface ExtensionContext {
|
package/src/surface.json
CHANGED
|
@@ -695,5 +695,178 @@
|
|
|
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
|
+
]
|
|
698
871
|
}
|
|
699
872
|
}
|
package/src/version.ts
CHANGED
|
@@ -72,4 +72,12 @@
|
|
|
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
|
-
|
|
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
|
+
export const extensionApiVersion = "2.13.0";
|