@atlaskit/a2ui-catalog 2.1.0 → 2.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.
- package/README.md +12 -4
- package/catalogs/agentic-forge-v0_9-v1/catalog.json +100 -0
- package/dist/cjs/agentic-forge-v0_9/catalog-component-apis.js +2 -2
- package/dist/cjs/catalog-json/catalog-definitions.js +22 -11
- package/dist/es2019/agentic-forge-v0_9/catalog-component-apis.js +2 -2
- package/dist/es2019/catalog-json/catalog-definitions.js +14 -3
- package/dist/esm/agentic-forge-v0_9/catalog-component-apis.js +2 -2
- package/dist/esm/catalog-json/catalog-definitions.js +14 -3
- package/dist/types/agentic-forge-v0_9/catalog-component-apis.d.ts +2 -2
- package/dist/types/catalog-json/catalog-definitions.d.ts +8 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -49,6 +49,9 @@ Choose the catalog implemented by your host:
|
|
|
49
49
|
- `@atlaskit/a2ui-catalog/catalogs/agentic-jira-v0_9-v1/catalog.json` extends ADS with CodeDiff,
|
|
50
50
|
MultipleChoiceQuestions, RepositoryPicker, and ToolApproval. Use it only when the host supports
|
|
51
51
|
those components.
|
|
52
|
+
- `@atlaskit/a2ui-catalog/catalogs/agentic-forge-v0_9-v1/catalog.json` is a dedicated Forge catalog
|
|
53
|
+
with `ResultPanel`. `title` and `summary` are literal strings. Use it only when the host supports
|
|
54
|
+
that catalog.
|
|
52
55
|
|
|
53
56
|
### What the agent should emit
|
|
54
57
|
|
|
@@ -94,7 +97,8 @@ components to another renderer automatically.
|
|
|
94
97
|
|
|
95
98
|
Have the host declare which catalog IDs and version it supports; choose a compatible pinned package
|
|
96
99
|
version. An npm version and a wire catalog ID are different: changing the npm scope does not change
|
|
97
|
-
`com.atlassian.ads/v0_9
|
|
100
|
+
`com.atlassian.ads/v0_9`, `com.atlassian.agentic-jira/v0_9/v1`, or
|
|
101
|
+
`com.atlassian.agentic-forge/v0_9/v1`. Catalog IDs are identifiers, not
|
|
98
102
|
URLs to fetch. Handle user actions in the host, validate and authorize them before executing work,
|
|
99
103
|
and return resulting surface/data updates. Client-side functions such as `openUrl` are not currently
|
|
100
104
|
included in these JSON documents; do not invent function signatures or assume host support.
|
|
@@ -118,9 +122,13 @@ surfaces against it:
|
|
|
118
122
|
| --------------------------------------- | ------------------------------------------------ |
|
|
119
123
|
| `com.atlassian.ads/v0_9` | `catalogs/ads-v0_9/catalog.json` |
|
|
120
124
|
| `com.atlassian.agentic-jira/v0_9/v1` | `catalogs/agentic-jira-v0_9-v1/catalog.json` |
|
|
125
|
+
| `com.atlassian.agentic-forge/v0_9/v1` | `catalogs/agentic-forge-v0_9-v1/catalog.json` |
|
|
121
126
|
|
|
122
127
|
The files are generated from the Zod schemas with `@a2ui/web_core`'s own inline-catalog
|
|
123
|
-
conversion. Common types are bundled under `$defs`, so every `$ref` is local. The catalog
|
|
128
|
+
conversion. Common types are bundled under `$defs`, so every `$ref` is local. The catalog
|
|
129
|
+
package's Atlaskit documentation shows each public catalog with a JSON preview and copy
|
|
130
|
+
button. Catalogs marked `isPrivate` are still published here and omitted from that page.
|
|
131
|
+
The Agentic Forge catalog is private.
|
|
124
132
|
|
|
125
133
|
Each document contains `catalogId`, `instructions` for the agent, `components` (one schema per
|
|
126
134
|
component name), and `$defs`. Client-side functions (for example `openUrl`) are not included yet,
|
|
@@ -279,8 +287,8 @@ bindings.
|
|
|
279
287
|
| `ResultPanel` | Completed result with a heading and a summary. No actions. |
|
|
280
288
|
|
|
281
289
|
`title` and `summary` are required. `summary` keeps authored line breaks.
|
|
282
|
-
There is no action prop.
|
|
283
|
-
|
|
290
|
+
There is no action prop. The published document is
|
|
291
|
+
`@atlaskit/a2ui-catalog/catalogs/agentic-forge-v0_9-v1/catalog.json`.
|
|
284
292
|
|
|
285
293
|
Import via the `./agentic-forge-v0_9/*` subpaths (`schemas`, `apis`, `types`,
|
|
286
294
|
`catalog-id`, `catalog-component-apis`). The rendering catalog is assembled by
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
3
|
+
"$comment": "Generated from @atlaskit/a2ui-catalog by `yarn workspace @atlaskit/a2ui-catalog codegen:catalog-json`. Do not edit by hand.",
|
|
4
|
+
"title": "Atlassian Agentic Forge A2UI catalog",
|
|
5
|
+
"description": "A dedicated Forge result surface. ResultPanel shows a completed result from a literal title and summary. It is not a superset of the ADS catalog.",
|
|
6
|
+
"catalogId": "com.atlassian.agentic-forge/v0_9/v1",
|
|
7
|
+
"instructions": "Send A2UI v0.9 messages, each with \"version\": \"v0.9\". Start with createSurface using this catalogId, then send updateComponents. This catalog contains only ResultPanel and is not a superset of the ADS catalog. ResultPanel is a completed result: set id to \"root\", component to \"ResultPanel\", and provide title and summary as literal strings. summary keeps authored line breaks. Do not use data-binding path objects, updateDataModel, child component ids, or action props.",
|
|
8
|
+
"components": {
|
|
9
|
+
"ResultPanel": {
|
|
10
|
+
"allOf": [
|
|
11
|
+
{ "$ref": "#/$defs/ComponentCommon" },
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"component": { "const": "ResultPanel" },
|
|
15
|
+
"summary": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1,
|
|
18
|
+
"description": "Result body. Line breaks are shown as authored."
|
|
19
|
+
},
|
|
20
|
+
"title": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"description": "Heading for the completed result."
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": ["component", "summary", "title"]
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"$defs": {
|
|
32
|
+
"AccessibilityAttributes": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"label": {
|
|
36
|
+
"$ref": "#/$defs/DynamicString",
|
|
37
|
+
"description": "A short string used by assistive technologies to convey the purpose of an element."
|
|
38
|
+
},
|
|
39
|
+
"description": {
|
|
40
|
+
"$ref": "#/$defs/DynamicString",
|
|
41
|
+
"description": "Additional information provided by assistive technologies about an element."
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"description": "Attributes to enhance accessibility."
|
|
46
|
+
},
|
|
47
|
+
"ComponentCommon": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"description": "Properties shared by every A2UI component.",
|
|
50
|
+
"properties": {
|
|
51
|
+
"id": { "$ref": "#/$defs/ComponentId" },
|
|
52
|
+
"accessibility": { "$ref": "#/$defs/AccessibilityAttributes" }
|
|
53
|
+
},
|
|
54
|
+
"required": ["id"]
|
|
55
|
+
},
|
|
56
|
+
"ComponentId": { "type": "string", "description": "The unique identifier for a component." },
|
|
57
|
+
"DataBinding": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"path": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "A JSON Pointer path to a value in the data model."
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": ["path"],
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"description": "A JSON Pointer path to a value in the data model."
|
|
68
|
+
},
|
|
69
|
+
"DynamicString": {
|
|
70
|
+
"anyOf": [
|
|
71
|
+
{ "type": "string" },
|
|
72
|
+
{
|
|
73
|
+
"$ref": "#/$defs/DataBinding",
|
|
74
|
+
"description": "A JSON Pointer path to a value in the data model."
|
|
75
|
+
},
|
|
76
|
+
{ "$ref": "#/$defs/FunctionCall", "description": "Invokes a named function on the client." }
|
|
77
|
+
],
|
|
78
|
+
"description": "Represents a string"
|
|
79
|
+
},
|
|
80
|
+
"FunctionCall": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"properties": {
|
|
83
|
+
"call": { "type": "string", "description": "The name of the function to call." },
|
|
84
|
+
"args": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"additionalProperties": {},
|
|
87
|
+
"description": "Arguments passed to the function."
|
|
88
|
+
},
|
|
89
|
+
"returnType": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"enum": ["string", "number", "boolean", "array", "object", "any", "void"],
|
|
92
|
+
"default": "boolean"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": ["call", "args"],
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"description": "Invokes a named function on the client."
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -10,8 +10,8 @@ var _apis = require("./apis");
|
|
|
10
10
|
* (`com.atlassian.agentic-forge/v0_9/v1`).
|
|
11
11
|
*
|
|
12
12
|
* This is the React-free source of truth for catalog membership. The renderer's
|
|
13
|
-
* `createAgenticForgeCatalog()` must implement exactly these components
|
|
14
|
-
* catalog is
|
|
13
|
+
* `createAgenticForgeCatalog()` must implement exactly these components and the published
|
|
14
|
+
* `catalog.json` is generated from this list.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
var AGENTIC_FORGE_CATALOG_COMPONENT_APIS = exports.AGENTIC_FORGE_CATALOG_COMPONENT_APIS = [_apis.ResultPanelApi];
|
|
@@ -4,32 +4,43 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.CATALOG_DEFINITIONS = void 0;
|
|
7
|
-
var _catalogComponentApis = require("../agentic-
|
|
8
|
-
var _catalogId = require("../agentic-
|
|
9
|
-
var _catalogComponentApis2 = require("../v0_9/catalog-component-apis");
|
|
10
|
-
var _catalogId2 = require("../v0_9/catalog-id");
|
|
7
|
+
var _catalogComponentApis = require("../agentic-forge-v0_9/catalog-component-apis");
|
|
8
|
+
var _catalogId = require("../agentic-forge-v0_9/catalog-id");
|
|
9
|
+
var _catalogComponentApis2 = require("../agentic-jira-v0_9/catalog-component-apis");
|
|
10
|
+
var _catalogId2 = require("../agentic-jira-v0_9/catalog-id");
|
|
11
|
+
var _catalogComponentApis3 = require("../v0_9/catalog-component-apis");
|
|
12
|
+
var _catalogId3 = require("../v0_9/catalog-id");
|
|
11
13
|
/**
|
|
12
14
|
* Every A2UI catalog owned by this package. Each entry is published as a
|
|
13
15
|
* standalone `catalog.json` under `catalogs/<slug>/catalog.json`.
|
|
14
16
|
*
|
|
15
|
-
* Add new catalogs here: the generator
|
|
16
|
-
*
|
|
17
|
-
*
|
|
17
|
+
* Add new catalogs here: the generator and the drift test iterate this list,
|
|
18
|
+
* so a catalog that is not listed here has no published JSON. Set `isPrivate`
|
|
19
|
+
* to publish a catalog in the npm package while omitting it from public docs.
|
|
18
20
|
*/
|
|
19
21
|
|
|
20
22
|
var COMMON_INSTRUCTIONS = 'Send A2UI v0.9 messages, each with "version": "v0.9". Start with createSurface using this catalogId, then send updateComponents with a flat list of components. Each component needs a unique id and a component name from this catalog; reference children by id. Exactly one component must have the id "root". Use data bindings ({ "path": "/json/pointer" }) for values the user can change, and send updateDataModel to set initial values.';
|
|
23
|
+
var FORGE_INSTRUCTIONS = 'Send A2UI v0.9 messages, each with "version": "v0.9". Start with createSurface using this catalogId, then send updateComponents. This catalog contains only ResultPanel and is not a superset of the ADS catalog. ResultPanel is a completed result: set id to "root", component to "ResultPanel", and provide title and summary as literal strings. summary keeps authored line breaks. Do not use data-binding path objects, updateDataModel, child component ids, or action props.';
|
|
21
24
|
var CATALOG_DEFINITIONS = exports.CATALOG_DEFINITIONS = [{
|
|
22
|
-
catalogId:
|
|
25
|
+
catalogId: _catalogId3.ADS_CATALOG_ID,
|
|
23
26
|
slug: 'ads-v0_9',
|
|
24
27
|
title: 'Atlassian Design System A2UI catalog',
|
|
25
28
|
description: 'A2UI v0.9 components rendered with the Atlassian Design System: text, layout, cards, inputs, and forms.',
|
|
26
29
|
instructions: COMMON_INSTRUCTIONS,
|
|
27
|
-
components:
|
|
30
|
+
components: _catalogComponentApis3.ADS_CATALOG_COMPONENT_APIS
|
|
28
31
|
}, {
|
|
29
|
-
catalogId:
|
|
32
|
+
catalogId: _catalogId2.AGENTIC_JIRA_CATALOG_ID,
|
|
30
33
|
slug: 'agentic-jira-v0_9-v1',
|
|
31
34
|
title: 'Atlassian Agentic Jira A2UI catalog',
|
|
32
35
|
description: 'Every ADS catalog component plus agentic-workflow components for Jira: code diffs, multiple-choice questions, repository picking, and tool approval.',
|
|
33
36
|
instructions: "".concat(COMMON_INSTRUCTIONS, " When producing code changes, use CodeDiff to display file-level diffs with each patch in unified diff format. For modified files, include oldText and newText when available so unchanged lines can be expanded. Set mode to \"compact\" for chat sidebars and \"full\" for full-screen views."),
|
|
34
|
-
components:
|
|
37
|
+
components: _catalogComponentApis2.AGENTIC_JIRA_CATALOG_COMPONENT_APIS
|
|
38
|
+
}, {
|
|
39
|
+
catalogId: _catalogId.AGENTIC_FORGE_CATALOG_ID,
|
|
40
|
+
slug: 'agentic-forge-v0_9-v1',
|
|
41
|
+
title: 'Atlassian Agentic Forge A2UI catalog',
|
|
42
|
+
isPrivate: true,
|
|
43
|
+
description: 'A dedicated Forge result surface. ResultPanel shows a completed result from a literal title and summary. It is not a superset of the ADS catalog.',
|
|
44
|
+
instructions: FORGE_INSTRUCTIONS,
|
|
45
|
+
components: _catalogComponentApis.AGENTIC_FORGE_CATALOG_COMPONENT_APIS
|
|
35
46
|
}];
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (`com.atlassian.agentic-forge/v0_9/v1`).
|
|
4
4
|
*
|
|
5
5
|
* This is the React-free source of truth for catalog membership. The renderer's
|
|
6
|
-
* `createAgenticForgeCatalog()` must implement exactly these components
|
|
7
|
-
* catalog is
|
|
6
|
+
* `createAgenticForgeCatalog()` must implement exactly these components and the published
|
|
7
|
+
* `catalog.json` is generated from this list.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { ResultPanelApi } from './apis';
|
|
@@ -2,16 +2,19 @@
|
|
|
2
2
|
* Every A2UI catalog owned by this package. Each entry is published as a
|
|
3
3
|
* standalone `catalog.json` under `catalogs/<slug>/catalog.json`.
|
|
4
4
|
*
|
|
5
|
-
* Add new catalogs here: the generator
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* Add new catalogs here: the generator and the drift test iterate this list,
|
|
6
|
+
* so a catalog that is not listed here has no published JSON. Set `isPrivate`
|
|
7
|
+
* to publish a catalog in the npm package while omitting it from public docs.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
import { AGENTIC_FORGE_CATALOG_COMPONENT_APIS } from '../agentic-forge-v0_9/catalog-component-apis';
|
|
11
|
+
import { AGENTIC_FORGE_CATALOG_ID } from '../agentic-forge-v0_9/catalog-id';
|
|
10
12
|
import { AGENTIC_JIRA_CATALOG_COMPONENT_APIS } from '../agentic-jira-v0_9/catalog-component-apis';
|
|
11
13
|
import { AGENTIC_JIRA_CATALOG_ID } from '../agentic-jira-v0_9/catalog-id';
|
|
12
14
|
import { ADS_CATALOG_COMPONENT_APIS } from '../v0_9/catalog-component-apis';
|
|
13
15
|
import { ADS_CATALOG_ID } from '../v0_9/catalog-id';
|
|
14
16
|
const COMMON_INSTRUCTIONS = 'Send A2UI v0.9 messages, each with "version": "v0.9". Start with createSurface using this catalogId, then send updateComponents with a flat list of components. Each component needs a unique id and a component name from this catalog; reference children by id. Exactly one component must have the id "root". Use data bindings ({ "path": "/json/pointer" }) for values the user can change, and send updateDataModel to set initial values.';
|
|
17
|
+
const FORGE_INSTRUCTIONS = 'Send A2UI v0.9 messages, each with "version": "v0.9". Start with createSurface using this catalogId, then send updateComponents. This catalog contains only ResultPanel and is not a superset of the ADS catalog. ResultPanel is a completed result: set id to "root", component to "ResultPanel", and provide title and summary as literal strings. summary keeps authored line breaks. Do not use data-binding path objects, updateDataModel, child component ids, or action props.';
|
|
15
18
|
export const CATALOG_DEFINITIONS = [{
|
|
16
19
|
catalogId: ADS_CATALOG_ID,
|
|
17
20
|
slug: 'ads-v0_9',
|
|
@@ -26,4 +29,12 @@ export const CATALOG_DEFINITIONS = [{
|
|
|
26
29
|
description: 'Every ADS catalog component plus agentic-workflow components for Jira: code diffs, multiple-choice questions, repository picking, and tool approval.',
|
|
27
30
|
instructions: `${COMMON_INSTRUCTIONS} When producing code changes, use CodeDiff to display file-level diffs with each patch in unified diff format. For modified files, include oldText and newText when available so unchanged lines can be expanded. Set mode to "compact" for chat sidebars and "full" for full-screen views.`,
|
|
28
31
|
components: AGENTIC_JIRA_CATALOG_COMPONENT_APIS
|
|
32
|
+
}, {
|
|
33
|
+
catalogId: AGENTIC_FORGE_CATALOG_ID,
|
|
34
|
+
slug: 'agentic-forge-v0_9-v1',
|
|
35
|
+
title: 'Atlassian Agentic Forge A2UI catalog',
|
|
36
|
+
isPrivate: true,
|
|
37
|
+
description: 'A dedicated Forge result surface. ResultPanel shows a completed result from a literal title and summary. It is not a superset of the ADS catalog.',
|
|
38
|
+
instructions: FORGE_INSTRUCTIONS,
|
|
39
|
+
components: AGENTIC_FORGE_CATALOG_COMPONENT_APIS
|
|
29
40
|
}];
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (`com.atlassian.agentic-forge/v0_9/v1`).
|
|
4
4
|
*
|
|
5
5
|
* This is the React-free source of truth for catalog membership. The renderer's
|
|
6
|
-
* `createAgenticForgeCatalog()` must implement exactly these components
|
|
7
|
-
* catalog is
|
|
6
|
+
* `createAgenticForgeCatalog()` must implement exactly these components and the published
|
|
7
|
+
* `catalog.json` is generated from this list.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { ResultPanelApi } from './apis';
|
|
@@ -2,16 +2,19 @@
|
|
|
2
2
|
* Every A2UI catalog owned by this package. Each entry is published as a
|
|
3
3
|
* standalone `catalog.json` under `catalogs/<slug>/catalog.json`.
|
|
4
4
|
*
|
|
5
|
-
* Add new catalogs here: the generator
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* Add new catalogs here: the generator and the drift test iterate this list,
|
|
6
|
+
* so a catalog that is not listed here has no published JSON. Set `isPrivate`
|
|
7
|
+
* to publish a catalog in the npm package while omitting it from public docs.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
import { AGENTIC_FORGE_CATALOG_COMPONENT_APIS } from '../agentic-forge-v0_9/catalog-component-apis';
|
|
11
|
+
import { AGENTIC_FORGE_CATALOG_ID } from '../agentic-forge-v0_9/catalog-id';
|
|
10
12
|
import { AGENTIC_JIRA_CATALOG_COMPONENT_APIS } from '../agentic-jira-v0_9/catalog-component-apis';
|
|
11
13
|
import { AGENTIC_JIRA_CATALOG_ID } from '../agentic-jira-v0_9/catalog-id';
|
|
12
14
|
import { ADS_CATALOG_COMPONENT_APIS } from '../v0_9/catalog-component-apis';
|
|
13
15
|
import { ADS_CATALOG_ID } from '../v0_9/catalog-id';
|
|
14
16
|
var COMMON_INSTRUCTIONS = 'Send A2UI v0.9 messages, each with "version": "v0.9". Start with createSurface using this catalogId, then send updateComponents with a flat list of components. Each component needs a unique id and a component name from this catalog; reference children by id. Exactly one component must have the id "root". Use data bindings ({ "path": "/json/pointer" }) for values the user can change, and send updateDataModel to set initial values.';
|
|
17
|
+
var FORGE_INSTRUCTIONS = 'Send A2UI v0.9 messages, each with "version": "v0.9". Start with createSurface using this catalogId, then send updateComponents. This catalog contains only ResultPanel and is not a superset of the ADS catalog. ResultPanel is a completed result: set id to "root", component to "ResultPanel", and provide title and summary as literal strings. summary keeps authored line breaks. Do not use data-binding path objects, updateDataModel, child component ids, or action props.';
|
|
15
18
|
export var CATALOG_DEFINITIONS = [{
|
|
16
19
|
catalogId: ADS_CATALOG_ID,
|
|
17
20
|
slug: 'ads-v0_9',
|
|
@@ -26,4 +29,12 @@ export var CATALOG_DEFINITIONS = [{
|
|
|
26
29
|
description: 'Every ADS catalog component plus agentic-workflow components for Jira: code diffs, multiple-choice questions, repository picking, and tool approval.',
|
|
27
30
|
instructions: "".concat(COMMON_INSTRUCTIONS, " When producing code changes, use CodeDiff to display file-level diffs with each patch in unified diff format. For modified files, include oldText and newText when available so unchanged lines can be expanded. Set mode to \"compact\" for chat sidebars and \"full\" for full-screen views."),
|
|
28
31
|
components: AGENTIC_JIRA_CATALOG_COMPONENT_APIS
|
|
32
|
+
}, {
|
|
33
|
+
catalogId: AGENTIC_FORGE_CATALOG_ID,
|
|
34
|
+
slug: 'agentic-forge-v0_9-v1',
|
|
35
|
+
title: 'Atlassian Agentic Forge A2UI catalog',
|
|
36
|
+
isPrivate: true,
|
|
37
|
+
description: 'A dedicated Forge result surface. ResultPanel shows a completed result from a literal title and summary. It is not a superset of the ADS catalog.',
|
|
38
|
+
instructions: FORGE_INSTRUCTIONS,
|
|
39
|
+
components: AGENTIC_FORGE_CATALOG_COMPONENT_APIS
|
|
29
40
|
}];
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (`com.atlassian.agentic-forge/v0_9/v1`).
|
|
4
4
|
*
|
|
5
5
|
* This is the React-free source of truth for catalog membership. The renderer's
|
|
6
|
-
* `createAgenticForgeCatalog()` must implement exactly these components
|
|
7
|
-
* catalog is
|
|
6
|
+
* `createAgenticForgeCatalog()` must implement exactly these components and the published
|
|
7
|
+
* `catalog.json` is generated from this list.
|
|
8
8
|
*/
|
|
9
9
|
import type { ComponentApi } from '@a2ui/web_core/v0_9';
|
|
10
10
|
export declare const AGENTIC_FORGE_CATALOG_COMPONENT_APIS: ReadonlyArray<ComponentApi>;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Every A2UI catalog owned by this package. Each entry is published as a
|
|
3
3
|
* standalone `catalog.json` under `catalogs/<slug>/catalog.json`.
|
|
4
4
|
*
|
|
5
|
-
* Add new catalogs here: the generator
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* Add new catalogs here: the generator and the drift test iterate this list,
|
|
6
|
+
* so a catalog that is not listed here has no published JSON. Set `isPrivate`
|
|
7
|
+
* to publish a catalog in the npm package while omitting it from public docs.
|
|
8
8
|
*/
|
|
9
9
|
import type { ComponentApi } from '@a2ui/web_core/v0_9';
|
|
10
10
|
export type CatalogDefinition = {
|
|
@@ -14,6 +14,11 @@ export type CatalogDefinition = {
|
|
|
14
14
|
description: string;
|
|
15
15
|
/** Guidance for agents authoring surfaces against this catalog. */
|
|
16
16
|
instructions: string;
|
|
17
|
+
/**
|
|
18
|
+
* When true, the catalog JSON is still published in the npm package and
|
|
19
|
+
* omitted from public documentation.
|
|
20
|
+
*/
|
|
21
|
+
isPrivate?: boolean;
|
|
17
22
|
/** Directory name under `catalogs/`. Must be unique and filesystem-safe. */
|
|
18
23
|
slug: string;
|
|
19
24
|
title: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/a2ui-catalog",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.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.
|
|
34
|
+
"@atlaskit/primitives": "^22.9.0",
|
|
35
35
|
"@atlaskit/tabs": "^21.3.0",
|
|
36
|
-
"@atlaskit/tokens": "^20.
|
|
36
|
+
"@atlaskit/tokens": "^20.15.0",
|
|
37
37
|
"@atlassian/testing-library": "^0.12.0",
|
|
38
38
|
"prettier": "^3.2.5",
|
|
39
39
|
"react": "^19.0.0",
|