@intentic/extension-ui 1.224.0 → 1.226.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/README.md CHANGED
@@ -11,29 +11,29 @@ actually use. One of the two packages an extension may depend on (with
11
11
  This package's [`src/index.ts`](src/index.ts) is its one public surface (the repo's re-export exception). The
12
12
  kit is **host-provided**: the web app maps this module into its import map
13
13
  ([extension-host/hostModules.ts](../../_editor/web/src/extension-host/hostModules.ts)), so a third-party bundle
14
- that marks it external resolves to the **shell's own** component instances and theming — one Vue, one
14
+ that marks it external resolves to the **shell's own** component instances and theming: one Vue, one
15
15
  PrimeVue, one theme across the host and every extension. In-repo builtin extensions bundle this same module
16
16
  and land on the same instances.
17
17
 
18
- The scope reads oddly — an `@intentic/*` package depending on the app-side `@intentic/ui` — but it is
18
+ The scope reads oddly (an `@intentic/*` package depending on the app-side `@intentic/ui`) but it is
19
19
  deliberate: the dependency is build-time-only (for in-repo builtins); at runtime the import map supplies the
20
20
  shell's instances, so no second copy is shipped.
21
21
 
22
22
  ## Drift assertion
23
23
 
24
- Export names are mirrored in [`names.mjs`](names.mjs), which drives shim generation and a drift assertion —
24
+ Export names are mirrored in [`names.mjs`](names.mjs), which drives shim generation and a drift assertion:
25
25
  keep the two in sync when adding or removing an export. Publishing a typed npm artifact for out-of-repo
26
26
  authors is a marketplace-phase task.
27
27
 
28
28
  ## Key files
29
29
 
30
- - [src/index.ts](src/index.ts) — the whole surface: which components and helpers an extension may render with.
31
- - [src/format.ts](src/format.ts) — the shared formatters, so two extensions render a duration the same way.
30
+ - [src/index.ts](src/index.ts), the whole surface: which components and helpers an extension may render with.
31
+ - [src/format.ts](src/format.ts): the shared formatters, so two extensions render a duration the same way.
32
32
 
33
33
  ## The one control worth calling out
34
34
 
35
- `AgentRunButton` and `useAgentRunPick` are re-exported because four extensions start an agent for the user —
36
- pipelines, deployments, maintenance, acceptance — and each had reached its own answer about how you choose what
35
+ `AgentRunButton` and `useAgentRunPick` are re-exported because four extensions start an agent for the user:
36
+ pipelines, deployments, maintenance, acceptance: and each had reached its own answer about how you choose what
37
37
  that costs. Press the primary half and the run opens on the sandbox's standing agent-run model; use the caret
38
38
  and it opens on something else, for that run only.
39
39
 
package/dist/format.js CHANGED
@@ -1,8 +1,8 @@
1
- // Generated by scripts/build.mjs — do not edit.
1
+ // Generated by scripts/build.mjs: do not edit.
2
2
  // The formatting half of the kit, off the same host bridge as ./index.js.
3
3
  const host = globalThis.__intenticHost;
4
4
  if (host === undefined) {
5
- throw new Error("@intentic/extension-ui was loaded outside an intentic host — its helpers come from the app, not from this package.");
5
+ throw new Error("@intentic/extension-ui was loaded outside an intentic host: its helpers come from the app, not from this package.");
6
6
  }
7
7
  const m = host.modules["@intentic/extension-ui"];
8
8
  export const formatBytes = m["formatBytes"];
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- // Generated by scripts/build.mjs — do not edit.
2
- /* The kit is HOST-PROVIDED. These components must be the shell's own instances — a second copy would
3
- * render unthemed, outside the app's reactivity and outside its one query cache — so this module reads
1
+ // Generated by scripts/build.mjs: do not edit.
2
+ /* The kit is HOST-PROVIDED. These components must be the shell's own instances: a second copy would
3
+ * render unthemed, outside the app's reactivity and outside its one query cache, so this module reads
4
4
  * them off the bridge the host publishes rather than containing any. Marking "@intentic/extension-ui"
5
5
  * external in your bundler is the tidier route (the app's import map answers it); this file is what makes
6
6
  * forgetting to do that harmless instead of silent. */
7
7
  const host = globalThis.__intenticHost;
8
8
  if (host === undefined) {
9
- throw new Error("@intentic/extension-ui was loaded outside an intentic host — its components come from the app, not from this package.");
9
+ throw new Error("@intentic/extension-ui was loaded outside an intentic host: its components come from the app, not from this package.");
10
10
  }
11
11
  const m = host.modules["@intentic/extension-ui"];
12
12
  export const AgentRunButton = m["AgentRunButton"];
package/names.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // The kit's export names — the single source consumed by the web app's shim generator
1
+ // The kit's export names: the single source consumed by the web app's shim generator
2
2
  // (_editor/web/scripts/generate-ext-shims.mjs) and hostModules' dev-time coverage assertion. Update alongside
3
3
  // src/index.ts; the assertion catches drift on the next dev boot.
4
4
  export const extensionUiNames = [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@intentic/extension-ui",
3
- "version": "1.224.0",
4
- "description": "The UI kit intentic extensions render with — host-provided at runtime (the app's own components via the import map), so extension UI is always native to the shell",
3
+ "version": "1.226.0",
4
+ "description": "The UI kit intentic extensions render with, host-provided at runtime (the app's own components via the import map), so extension UI is always native to the shell",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "repository": {
package/src/index.ts CHANGED
@@ -252,7 +252,7 @@ export type {
252
252
  /* The raw primitives, kept deliberately short. Handing out a primitive the KIT already wraps is how an
253
253
  * extension screen ends up wearing OS chrome next to the app's own: `Select` and `InputText` used to ship here
254
254
  * and four views took them, so a dropdown with a different focus ring sat beside <Picker> and a text field with
255
- * different padding beside `ui.input`. Those two are gone — <Picker> and `ui.input()` are the spellings.
255
+ * different padding beside `ui.input`. Those two are gone: <Picker> and `ui.input()` are the spellings.
256
256
  * <Dialog> was the third, and it is gone for the same reason: it stayed "until the kit has a general dialog
257
257
  * shell", six extension views took it, and every one of them typed its own width into a style attribute with
258
258
  * no viewport clamp, the exact spread that <Modal> above now exists to end. The shell is here, so the raw one