@atlaskit/a2ui-catalog 2.0.0 → 2.1.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 (47) hide show
  1. package/README.md +24 -4
  2. package/agentic-forge-v0_9/apis/package.json +8 -0
  3. package/agentic-forge-v0_9/catalog-component-apis/package.json +8 -0
  4. package/agentic-forge-v0_9/catalog-id/package.json +8 -0
  5. package/agentic-forge-v0_9/schemas/package.json +8 -0
  6. package/agentic-forge-v0_9/types/package.json +8 -0
  7. package/dist/cjs/agentic-forge-v0_9/apis.js +30 -0
  8. package/dist/cjs/agentic-forge-v0_9/catalog-component-apis.js +17 -0
  9. package/dist/cjs/agentic-forge-v0_9/catalog-id.js +26 -0
  10. package/dist/cjs/agentic-forge-v0_9/schemas.js +26 -0
  11. package/dist/cjs/agentic-forge-v0_9/types.js +5 -0
  12. package/dist/cjs/entry-points/agentic-forge-v0_9-apis.js +12 -0
  13. package/dist/cjs/entry-points/agentic-forge-v0_9-catalog-component-apis.js +12 -0
  14. package/dist/cjs/entry-points/agentic-forge-v0_9-catalog-id.js +12 -0
  15. package/dist/cjs/entry-points/agentic-forge-v0_9-schemas.js +12 -0
  16. package/dist/cjs/entry-points/agentic-forge-v0_9-types.js +1 -0
  17. package/dist/es2019/agentic-forge-v0_9/apis.js +22 -0
  18. package/dist/es2019/agentic-forge-v0_9/catalog-component-apis.js +11 -0
  19. package/dist/es2019/agentic-forge-v0_9/catalog-id.js +20 -0
  20. package/dist/es2019/agentic-forge-v0_9/schemas.js +21 -0
  21. package/dist/es2019/agentic-forge-v0_9/types.js +1 -0
  22. package/dist/es2019/entry-points/agentic-forge-v0_9-apis.js +3 -0
  23. package/dist/es2019/entry-points/agentic-forge-v0_9-catalog-component-apis.js +3 -0
  24. package/dist/es2019/entry-points/agentic-forge-v0_9-catalog-id.js +3 -0
  25. package/dist/es2019/entry-points/agentic-forge-v0_9-schemas.js +3 -0
  26. package/dist/es2019/entry-points/agentic-forge-v0_9-types.js +0 -0
  27. package/dist/esm/agentic-forge-v0_9/apis.js +24 -0
  28. package/dist/esm/agentic-forge-v0_9/catalog-component-apis.js +11 -0
  29. package/dist/esm/agentic-forge-v0_9/catalog-id.js +20 -0
  30. package/dist/esm/agentic-forge-v0_9/schemas.js +21 -0
  31. package/dist/esm/agentic-forge-v0_9/types.js +1 -0
  32. package/dist/esm/entry-points/agentic-forge-v0_9-apis.js +3 -0
  33. package/dist/esm/entry-points/agentic-forge-v0_9-catalog-component-apis.js +3 -0
  34. package/dist/esm/entry-points/agentic-forge-v0_9-catalog-id.js +3 -0
  35. package/dist/esm/entry-points/agentic-forge-v0_9-schemas.js +3 -0
  36. package/dist/esm/entry-points/agentic-forge-v0_9-types.js +0 -0
  37. package/dist/types/agentic-forge-v0_9/apis.d.ts +8 -0
  38. package/dist/types/agentic-forge-v0_9/catalog-component-apis.d.ts +10 -0
  39. package/dist/types/agentic-forge-v0_9/catalog-id.d.ts +19 -0
  40. package/dist/types/agentic-forge-v0_9/schemas.d.ts +19 -0
  41. package/dist/types/agentic-forge-v0_9/types.d.ts +23 -0
  42. package/dist/types/entry-points/agentic-forge-v0_9-apis.d.ts +1 -0
  43. package/dist/types/entry-points/agentic-forge-v0_9-catalog-component-apis.d.ts +1 -0
  44. package/dist/types/entry-points/agentic-forge-v0_9-catalog-id.d.ts +1 -0
  45. package/dist/types/entry-points/agentic-forge-v0_9-schemas.d.ts +1 -0
  46. package/dist/types/entry-points/agentic-forge-v0_9-types.d.ts +1 -0
  47. package/package.json +4 -3
package/README.md CHANGED
@@ -114,10 +114,10 @@ Every catalog in `CATALOG_DEFINITIONS` (`src/catalog-json/catalog-definitions.ts
114
114
  standalone, self-contained JSON Schema (draft 2019-09) document so third-party agents can author
115
115
  surfaces against it:
116
116
 
117
- | Catalog ID | File |
118
- | ------------------------------------ | -------------------------------------------- |
119
- | `com.atlassian.ads/v0_9` | `catalogs/ads-v0_9/catalog.json` |
120
- | `com.atlassian.agentic-jira/v0_9/v1` | `catalogs/agentic-jira-v0_9-v1/catalog.json` |
117
+ | Catalog ID | File |
118
+ | --------------------------------------- | ------------------------------------------------ |
119
+ | `com.atlassian.ads/v0_9` | `catalogs/ads-v0_9/catalog.json` |
120
+ | `com.atlassian.agentic-jira/v0_9/v1` | `catalogs/agentic-jira-v0_9-v1/catalog.json` |
121
121
 
122
122
  The files are generated from the Zod schemas with `@a2ui/web_core`'s own inline-catalog
123
123
  conversion. Common types are bundled under `$defs`, so every `$ref` is local. The catalog package's Atlaskit documentation shows each catalog with a JSON preview and copy button.
@@ -267,3 +267,23 @@ The trailing `/v1` in the ID is the catalog's own major version: breaking
267
267
  schema changes mint a new ID (`…/v2`) registered alongside `v1`, letting
268
268
  catalog negotiation migrate surfaces with zero downtime (see the versioning
269
269
  policy in `catalog-id.ts`).
270
+
271
+ ## Agentic Forge v0.9 catalog (`com.atlassian.agentic-forge/v0_9/v1`)
272
+
273
+ A dedicated catalog shipped from `src/agentic-forge-v0_9/`. It is not a
274
+ superset of the ADS base catalog. Props are literal strings, not `{ path }`
275
+ bindings.
276
+
277
+ | Component | Modelled on |
278
+ |-----------|-------------|
279
+ | `ResultPanel` | Completed result with a heading and a summary. No actions. |
280
+
281
+ `title` and `summary` are required. `summary` keeps authored line breaks.
282
+ There is no action prop. This catalog is not published as a `catalog.json`
283
+ document.
284
+
285
+ Import via the `./agentic-forge-v0_9/*` subpaths (`schemas`, `apis`, `types`,
286
+ `catalog-id`, `catalog-component-apis`). The rendering catalog is assembled by
287
+ `@atlassian/a2ui-renderer-next/agentic-forge-v0_9/catalog` →
288
+ `createAgenticForgeCatalog()`. It is opt-in and is not registered on the
289
+ default Rovo catalog set.
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@atlaskit/a2ui-catalog/agentic-forge-v0_9/apis",
3
+ "main": "../../dist/cjs/entry-points/agentic-forge-v0_9-apis.js",
4
+ "module": "../../dist/esm/entry-points/agentic-forge-v0_9-apis.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/agentic-forge-v0_9-apis.js",
6
+ "sideEffects": false,
7
+ "types": "../../dist/types/entry-points/agentic-forge-v0_9-apis.d.ts"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@atlaskit/a2ui-catalog/agentic-forge-v0_9/catalog-component-apis",
3
+ "main": "../../dist/cjs/entry-points/agentic-forge-v0_9-catalog-component-apis.js",
4
+ "module": "../../dist/esm/entry-points/agentic-forge-v0_9-catalog-component-apis.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/agentic-forge-v0_9-catalog-component-apis.js",
6
+ "sideEffects": false,
7
+ "types": "../../dist/types/entry-points/agentic-forge-v0_9-catalog-component-apis.d.ts"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@atlaskit/a2ui-catalog/agentic-forge-v0_9/catalog-id",
3
+ "main": "../../dist/cjs/entry-points/agentic-forge-v0_9-catalog-id.js",
4
+ "module": "../../dist/esm/entry-points/agentic-forge-v0_9-catalog-id.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/agentic-forge-v0_9-catalog-id.js",
6
+ "sideEffects": false,
7
+ "types": "../../dist/types/entry-points/agentic-forge-v0_9-catalog-id.d.ts"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@atlaskit/a2ui-catalog/agentic-forge-v0_9/schemas",
3
+ "main": "../../dist/cjs/entry-points/agentic-forge-v0_9-schemas.js",
4
+ "module": "../../dist/esm/entry-points/agentic-forge-v0_9-schemas.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/agentic-forge-v0_9-schemas.js",
6
+ "sideEffects": false,
7
+ "types": "../../dist/types/entry-points/agentic-forge-v0_9-schemas.d.ts"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@atlaskit/a2ui-catalog/agentic-forge-v0_9/types",
3
+ "main": "../../dist/cjs/entry-points/agentic-forge-v0_9-types.js",
4
+ "module": "../../dist/esm/entry-points/agentic-forge-v0_9-types.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/agentic-forge-v0_9-types.js",
6
+ "sideEffects": false,
7
+ "types": "../../dist/types/entry-points/agentic-forge-v0_9-types.d.ts"
8
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ResultPanelApi = void 0;
7
+ var _schemas = require("./schemas");
8
+ /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- Catalog binding file: one named `XxxApi` export per component is the entire point (mirrors `../v0_9/apis.ts`). */
9
+
10
+ /**
11
+ * `ComponentApi` definitions for the Agentic Forge v0.9 catalog — bind each
12
+ * catalog name to its Zod schema. The renderer implements these via
13
+ * `createComponentImplementation(api, RenderFn)`.
14
+ */
15
+
16
+ // Import from web_core (not @a2ui/react) so this package stays React-free.
17
+
18
+ /**
19
+ * Tiny factory: pairs a catalog `name` with its `schema`. The `name`
20
+ * parameter is restricted to the `AgenticForgeV09ComponentName` union — a
21
+ * typo at the call site fails to compile rather than producing a
22
+ * mis-keyed catalog entry at runtime.
23
+ */
24
+ var apiOf = function apiOf(name, schema) {
25
+ return {
26
+ name: name,
27
+ schema: schema
28
+ };
29
+ };
30
+ var ResultPanelApi = exports.ResultPanelApi = apiOf('ResultPanel', _schemas.ResultPanelSchema);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.AGENTIC_FORGE_CATALOG_COMPONENT_APIS = void 0;
7
+ var _apis = require("./apis");
8
+ /**
9
+ * Component APIs that make up the Agentic Forge v0.9 catalog
10
+ * (`com.atlassian.agentic-forge/v0_9/v1`).
11
+ *
12
+ * This is the React-free source of truth for catalog membership. The renderer's
13
+ * `createAgenticForgeCatalog()` must implement exactly these components. This
14
+ * catalog is not published as a `catalog.json` document.
15
+ */
16
+
17
+ var AGENTIC_FORGE_CATALOG_COMPONENT_APIS = exports.AGENTIC_FORGE_CATALOG_COMPONENT_APIS = [_apis.ResultPanelApi];
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.AGENTIC_FORGE_CATALOG_ID = void 0;
7
+ /**
8
+ * `@atlaskit/a2ui-catalog/agentic-forge-v0_9/catalog-id` — wire identifier
9
+ * for the Agentic Forge v0.9 catalog.
10
+ *
11
+ * Used by `createSurface({ catalogId })` to select this catalog. The catalog
12
+ * is a dedicated Forge UI surface (not a superset of the ADS base catalog).
13
+ * Hosts that want ADS components alongside Forge UI components compose catalogs themselves.
14
+ *
15
+ * ID structure: `<catalog name>/<A2UI protocol version>/<catalog major version>`.
16
+ * The `/v0_9` segment ties it to A2UI protocol v0.9; the trailing `/v1` is this
17
+ * catalog's own major version.
18
+ *
19
+ * Versioning policy: on a breaking change — changing a property's type or
20
+ * adding a required property without a default — mint a new ID (`…/v2`) rather
21
+ * than mutating this catalog, and register both versions side by side.
22
+ * Additive optional properties are non-breaking and do NOT require a bump.
23
+ */
24
+
25
+ /** Wire identifier for this catalog (used by `createSurface.catalogId`). */
26
+ var AGENTIC_FORGE_CATALOG_ID = exports.AGENTIC_FORGE_CATALOG_ID = 'com.atlassian.agentic-forge/v0_9/v1';
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ResultPanelSchema = void 0;
7
+ var _zod = require("zod");
8
+ /**
9
+ * Zod schemas for the Agentic Forge v0.9 catalog
10
+ * (`com.atlassian.agentic-forge/v0_9/v1`).
11
+ *
12
+ * `ResultPanel` is a completed result: a heading and a summary. Both values
13
+ * are literals. There is no action prop. The host's tool-result envelope
14
+ * (`text`, `ui`, `completed`) stays outside this schema.
15
+ */
16
+
17
+ /**
18
+ * Agentic Forge v0.9 `ResultPanel` schema.
19
+ *
20
+ * `title` is the heading. `summary` is the body and keeps authored line
21
+ * breaks. Unknown keys, including actions, are rejected.
22
+ */
23
+ var ResultPanelSchema = exports.ResultPanelSchema = _zod.z.object({
24
+ summary: _zod.z.string().min(1).describe('Result body. Line breaks are shown as authored.'),
25
+ title: _zod.z.string().min(1).describe('Heading for the completed result.')
26
+ }).strict();
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ResultPanelApi", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _apis.ResultPanelApi;
10
+ }
11
+ });
12
+ var _apis = require("../agentic-forge-v0_9/apis");
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "AGENTIC_FORGE_CATALOG_COMPONENT_APIS", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _catalogComponentApis.AGENTIC_FORGE_CATALOG_COMPONENT_APIS;
10
+ }
11
+ });
12
+ var _catalogComponentApis = require("../agentic-forge-v0_9/catalog-component-apis");
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "AGENTIC_FORGE_CATALOG_ID", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _catalogId.AGENTIC_FORGE_CATALOG_ID;
10
+ }
11
+ });
12
+ var _catalogId = require("../agentic-forge-v0_9/catalog-id");
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ResultPanelSchema", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _schemas.ResultPanelSchema;
10
+ }
11
+ });
12
+ var _schemas = require("../agentic-forge-v0_9/schemas");
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,22 @@
1
+ /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- Catalog binding file: one named `XxxApi` export per component is the entire point (mirrors `../v0_9/apis.ts`). */
2
+
3
+ /**
4
+ * `ComponentApi` definitions for the Agentic Forge v0.9 catalog — bind each
5
+ * catalog name to its Zod schema. The renderer implements these via
6
+ * `createComponentImplementation(api, RenderFn)`.
7
+ */
8
+
9
+ // Import from web_core (not @a2ui/react) so this package stays React-free.
10
+
11
+ import { ResultPanelSchema } from './schemas';
12
+ /**
13
+ * Tiny factory: pairs a catalog `name` with its `schema`. The `name`
14
+ * parameter is restricted to the `AgenticForgeV09ComponentName` union — a
15
+ * typo at the call site fails to compile rather than producing a
16
+ * mis-keyed catalog entry at runtime.
17
+ */
18
+ const apiOf = (name, schema) => ({
19
+ name,
20
+ schema
21
+ });
22
+ export const ResultPanelApi = apiOf('ResultPanel', ResultPanelSchema);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Component APIs that make up the Agentic Forge v0.9 catalog
3
+ * (`com.atlassian.agentic-forge/v0_9/v1`).
4
+ *
5
+ * This is the React-free source of truth for catalog membership. The renderer's
6
+ * `createAgenticForgeCatalog()` must implement exactly these components. This
7
+ * catalog is not published as a `catalog.json` document.
8
+ */
9
+
10
+ import { ResultPanelApi } from './apis';
11
+ export const AGENTIC_FORGE_CATALOG_COMPONENT_APIS = [ResultPanelApi];
@@ -0,0 +1,20 @@
1
+ /**
2
+ * `@atlaskit/a2ui-catalog/agentic-forge-v0_9/catalog-id` — wire identifier
3
+ * for the Agentic Forge v0.9 catalog.
4
+ *
5
+ * Used by `createSurface({ catalogId })` to select this catalog. The catalog
6
+ * is a dedicated Forge UI surface (not a superset of the ADS base catalog).
7
+ * Hosts that want ADS components alongside Forge UI components compose catalogs themselves.
8
+ *
9
+ * ID structure: `<catalog name>/<A2UI protocol version>/<catalog major version>`.
10
+ * The `/v0_9` segment ties it to A2UI protocol v0.9; the trailing `/v1` is this
11
+ * catalog's own major version.
12
+ *
13
+ * Versioning policy: on a breaking change — changing a property's type or
14
+ * adding a required property without a default — mint a new ID (`…/v2`) rather
15
+ * than mutating this catalog, and register both versions side by side.
16
+ * Additive optional properties are non-breaking and do NOT require a bump.
17
+ */
18
+
19
+ /** Wire identifier for this catalog (used by `createSurface.catalogId`). */
20
+ export const AGENTIC_FORGE_CATALOG_ID = 'com.atlassian.agentic-forge/v0_9/v1';
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Zod schemas for the Agentic Forge v0.9 catalog
3
+ * (`com.atlassian.agentic-forge/v0_9/v1`).
4
+ *
5
+ * `ResultPanel` is a completed result: a heading and a summary. Both values
6
+ * are literals. There is no action prop. The host's tool-result envelope
7
+ * (`text`, `ui`, `completed`) stays outside this schema.
8
+ */
9
+
10
+ import { z } from 'zod';
11
+
12
+ /**
13
+ * Agentic Forge v0.9 `ResultPanel` schema.
14
+ *
15
+ * `title` is the heading. `summary` is the body and keeps authored line
16
+ * breaks. Unknown keys, including actions, are rejected.
17
+ */
18
+ export const ResultPanelSchema = z.object({
19
+ summary: z.string().min(1).describe('Result body. Line breaks are shown as authored.'),
20
+ title: z.string().min(1).describe('Heading for the completed result.')
21
+ }).strict();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ /* eslint-disable @atlaskit/volt-strict-mode/no-re-exports -- subpath entry point; re-exporting the implementation module is its purpose */
2
+
3
+ export { ResultPanelApi } from '../agentic-forge-v0_9/apis';
@@ -0,0 +1,3 @@
1
+ /* eslint-disable @atlaskit/volt-strict-mode/no-re-exports -- subpath entry point; re-exporting the implementation module is its purpose */
2
+
3
+ export { AGENTIC_FORGE_CATALOG_COMPONENT_APIS } from '../agentic-forge-v0_9/catalog-component-apis';
@@ -0,0 +1,3 @@
1
+ /* eslint-disable @atlaskit/volt-strict-mode/no-re-exports -- subpath entry point; re-exporting the implementation module is its purpose */
2
+
3
+ export { AGENTIC_FORGE_CATALOG_ID } from '../agentic-forge-v0_9/catalog-id';
@@ -0,0 +1,3 @@
1
+ /* eslint-disable @atlaskit/volt-strict-mode/no-re-exports -- subpath entry point; re-exporting the implementation module is its purpose */
2
+
3
+ export { ResultPanelSchema } from '../agentic-forge-v0_9/schemas';
@@ -0,0 +1,24 @@
1
+ /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- Catalog binding file: one named `XxxApi` export per component is the entire point (mirrors `../v0_9/apis.ts`). */
2
+
3
+ /**
4
+ * `ComponentApi` definitions for the Agentic Forge v0.9 catalog — bind each
5
+ * catalog name to its Zod schema. The renderer implements these via
6
+ * `createComponentImplementation(api, RenderFn)`.
7
+ */
8
+
9
+ // Import from web_core (not @a2ui/react) so this package stays React-free.
10
+
11
+ import { ResultPanelSchema } from './schemas';
12
+ /**
13
+ * Tiny factory: pairs a catalog `name` with its `schema`. The `name`
14
+ * parameter is restricted to the `AgenticForgeV09ComponentName` union — a
15
+ * typo at the call site fails to compile rather than producing a
16
+ * mis-keyed catalog entry at runtime.
17
+ */
18
+ var apiOf = function apiOf(name, schema) {
19
+ return {
20
+ name: name,
21
+ schema: schema
22
+ };
23
+ };
24
+ export var ResultPanelApi = apiOf('ResultPanel', ResultPanelSchema);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Component APIs that make up the Agentic Forge v0.9 catalog
3
+ * (`com.atlassian.agentic-forge/v0_9/v1`).
4
+ *
5
+ * This is the React-free source of truth for catalog membership. The renderer's
6
+ * `createAgenticForgeCatalog()` must implement exactly these components. This
7
+ * catalog is not published as a `catalog.json` document.
8
+ */
9
+
10
+ import { ResultPanelApi } from './apis';
11
+ export var AGENTIC_FORGE_CATALOG_COMPONENT_APIS = [ResultPanelApi];
@@ -0,0 +1,20 @@
1
+ /**
2
+ * `@atlaskit/a2ui-catalog/agentic-forge-v0_9/catalog-id` — wire identifier
3
+ * for the Agentic Forge v0.9 catalog.
4
+ *
5
+ * Used by `createSurface({ catalogId })` to select this catalog. The catalog
6
+ * is a dedicated Forge UI surface (not a superset of the ADS base catalog).
7
+ * Hosts that want ADS components alongside Forge UI components compose catalogs themselves.
8
+ *
9
+ * ID structure: `<catalog name>/<A2UI protocol version>/<catalog major version>`.
10
+ * The `/v0_9` segment ties it to A2UI protocol v0.9; the trailing `/v1` is this
11
+ * catalog's own major version.
12
+ *
13
+ * Versioning policy: on a breaking change — changing a property's type or
14
+ * adding a required property without a default — mint a new ID (`…/v2`) rather
15
+ * than mutating this catalog, and register both versions side by side.
16
+ * Additive optional properties are non-breaking and do NOT require a bump.
17
+ */
18
+
19
+ /** Wire identifier for this catalog (used by `createSurface.catalogId`). */
20
+ export var AGENTIC_FORGE_CATALOG_ID = 'com.atlassian.agentic-forge/v0_9/v1';
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Zod schemas for the Agentic Forge v0.9 catalog
3
+ * (`com.atlassian.agentic-forge/v0_9/v1`).
4
+ *
5
+ * `ResultPanel` is a completed result: a heading and a summary. Both values
6
+ * are literals. There is no action prop. The host's tool-result envelope
7
+ * (`text`, `ui`, `completed`) stays outside this schema.
8
+ */
9
+
10
+ import { z } from 'zod';
11
+
12
+ /**
13
+ * Agentic Forge v0.9 `ResultPanel` schema.
14
+ *
15
+ * `title` is the heading. `summary` is the body and keeps authored line
16
+ * breaks. Unknown keys, including actions, are rejected.
17
+ */
18
+ export var ResultPanelSchema = z.object({
19
+ summary: z.string().min(1).describe('Result body. Line breaks are shown as authored.'),
20
+ title: z.string().min(1).describe('Heading for the completed result.')
21
+ }).strict();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ /* eslint-disable @atlaskit/volt-strict-mode/no-re-exports -- subpath entry point; re-exporting the implementation module is its purpose */
2
+
3
+ export { ResultPanelApi } from '../agentic-forge-v0_9/apis';
@@ -0,0 +1,3 @@
1
+ /* eslint-disable @atlaskit/volt-strict-mode/no-re-exports -- subpath entry point; re-exporting the implementation module is its purpose */
2
+
3
+ export { AGENTIC_FORGE_CATALOG_COMPONENT_APIS } from '../agentic-forge-v0_9/catalog-component-apis';
@@ -0,0 +1,3 @@
1
+ /* eslint-disable @atlaskit/volt-strict-mode/no-re-exports -- subpath entry point; re-exporting the implementation module is its purpose */
2
+
3
+ export { AGENTIC_FORGE_CATALOG_ID } from '../agentic-forge-v0_9/catalog-id';
@@ -0,0 +1,3 @@
1
+ /* eslint-disable @atlaskit/volt-strict-mode/no-re-exports -- subpath entry point; re-exporting the implementation module is its purpose */
2
+
3
+ export { ResultPanelSchema } from '../agentic-forge-v0_9/schemas';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * `ComponentApi` definitions for the Agentic Forge v0.9 catalog — bind each
3
+ * catalog name to its Zod schema. The renderer implements these via
4
+ * `createComponentImplementation(api, RenderFn)`.
5
+ */
6
+ import type { ComponentApi } from '@a2ui/web_core/v0_9';
7
+ import { ResultPanelSchema } from './schemas';
8
+ export declare const ResultPanelApi: ComponentApi<typeof ResultPanelSchema>;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Component APIs that make up the Agentic Forge v0.9 catalog
3
+ * (`com.atlassian.agentic-forge/v0_9/v1`).
4
+ *
5
+ * This is the React-free source of truth for catalog membership. The renderer's
6
+ * `createAgenticForgeCatalog()` must implement exactly these components. This
7
+ * catalog is not published as a `catalog.json` document.
8
+ */
9
+ import type { ComponentApi } from '@a2ui/web_core/v0_9';
10
+ export declare const AGENTIC_FORGE_CATALOG_COMPONENT_APIS: ReadonlyArray<ComponentApi>;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * `@atlaskit/a2ui-catalog/agentic-forge-v0_9/catalog-id` — wire identifier
3
+ * for the Agentic Forge v0.9 catalog.
4
+ *
5
+ * Used by `createSurface({ catalogId })` to select this catalog. The catalog
6
+ * is a dedicated Forge UI surface (not a superset of the ADS base catalog).
7
+ * Hosts that want ADS components alongside Forge UI components compose catalogs themselves.
8
+ *
9
+ * ID structure: `<catalog name>/<A2UI protocol version>/<catalog major version>`.
10
+ * The `/v0_9` segment ties it to A2UI protocol v0.9; the trailing `/v1` is this
11
+ * catalog's own major version.
12
+ *
13
+ * Versioning policy: on a breaking change — changing a property's type or
14
+ * adding a required property without a default — mint a new ID (`…/v2`) rather
15
+ * than mutating this catalog, and register both versions side by side.
16
+ * Additive optional properties are non-breaking and do NOT require a bump.
17
+ */
18
+ /** Wire identifier for this catalog (used by `createSurface.catalogId`). */
19
+ export declare const AGENTIC_FORGE_CATALOG_ID = "com.atlassian.agentic-forge/v0_9/v1";
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Zod schemas for the Agentic Forge v0.9 catalog
3
+ * (`com.atlassian.agentic-forge/v0_9/v1`).
4
+ *
5
+ * `ResultPanel` is a completed result: a heading and a summary. Both values
6
+ * are literals. There is no action prop. The host's tool-result envelope
7
+ * (`text`, `ui`, `completed`) stays outside this schema.
8
+ */
9
+ import { z } from 'zod';
10
+ /**
11
+ * Agentic Forge v0.9 `ResultPanel` schema.
12
+ *
13
+ * `title` is the heading. `summary` is the body and keeps authored line
14
+ * breaks. Unknown keys, including actions, are rejected.
15
+ */
16
+ export declare const ResultPanelSchema: z.ZodObject<{
17
+ summary: z.ZodString;
18
+ title: z.ZodString;
19
+ }, 'strict'>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Inferred prop types for the Agentic Forge v0.9 catalog
3
+ * (`com.atlassian.agentic-forge/v0_9/v1`).
4
+ */
5
+ import type { z } from 'zod';
6
+ import type { ResultPanelSchema } from './schemas';
7
+ export type AgenticForgeV09ResultPanelProps = z.infer<typeof ResultPanelSchema>;
8
+ /**
9
+ * One flat `updateComponents` entry for this catalog, the shape
10
+ * `createSurface({ components })` accepts. `component` is the catalog name
11
+ * and the remaining fields are that component's props.
12
+ */
13
+ export type AgenticForgeV09ComponentInstance = {
14
+ component: 'ResultPanel';
15
+ id: string;
16
+ summary: AgenticForgeV09ResultPanelProps['summary'];
17
+ title: AgenticForgeV09ResultPanelProps['title'];
18
+ };
19
+ /**
20
+ * Component names registered by this catalog. Further Forge UI components are
21
+ * added as concrete needs arise.
22
+ */
23
+ export type AgenticForgeV09ComponentName = 'ResultPanel';
@@ -0,0 +1 @@
1
+ export { ResultPanelApi } from '../agentic-forge-v0_9/apis';
@@ -0,0 +1 @@
1
+ export { AGENTIC_FORGE_CATALOG_COMPONENT_APIS } from '../agentic-forge-v0_9/catalog-component-apis';
@@ -0,0 +1 @@
1
+ export { AGENTIC_FORGE_CATALOG_ID } from '../agentic-forge-v0_9/catalog-id';
@@ -0,0 +1 @@
1
+ export { ResultPanelSchema } from '../agentic-forge-v0_9/schemas';
@@ -0,0 +1 @@
1
+ export type { AgenticForgeV09ResultPanelProps, AgenticForgeV09ComponentInstance, AgenticForgeV09ComponentName, } from '../agentic-forge-v0_9/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/a2ui-catalog",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "A2UI v0.9 catalog — Atlassian custom catalog (component APIs and Zod schemas) for the A2UI v0.9 protocol",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "atlassian": {
@@ -31,9 +31,9 @@
31
31
  "@atlaskit/css": "^1.1.0",
32
32
  "@atlaskit/docs": "^12.3.0",
33
33
  "@atlaskit/heading": "^8.0.0",
34
- "@atlaskit/primitives": "^22.7.0",
34
+ "@atlaskit/primitives": "^22.8.0",
35
35
  "@atlaskit/tabs": "^21.3.0",
36
- "@atlaskit/tokens": "^20.12.0",
36
+ "@atlaskit/tokens": "^20.14.0",
37
37
  "@atlassian/testing-library": "^0.12.0",
38
38
  "prettier": "^3.2.5",
39
39
  "react": "^19.0.0",
@@ -50,6 +50,7 @@
50
50
  "catalogs",
51
51
  "v0_9",
52
52
  "agentic-jira-v0_9",
53
+ "agentic-forge-v0_9",
53
54
  "catalog-json"
54
55
  ]
55
56
  }