@abgov/adsp-sdk-mcp-server 1.40.0 → 1.41.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.
|
@@ -398,6 +398,21 @@ Each model call gets the agent's instructions followed by this context as text;
|
|
|
398
398
|
| `AGENT_NOTIFICATION_LAST_MESSAGES` | `8` | Messages of the thread the agent reads |
|
|
399
399
|
| `AGENT_NOTIFICATION_MAX_OUTPUT_TOKENS` | `6000` | Longest reply the model may write in one call, including the body |
|
|
400
400
|
|
|
401
|
+
#### PDF template agent
|
|
402
|
+
|
|
403
|
+
`pdfGenerationAgent` edits the PDF template open in the tenant admin PDF Template Editor; the client sends `{ pdfDefinitionId }` as the message context. To keep each model call small:
|
|
404
|
+
|
|
405
|
+
- Each call gets short instructions and the saved template itself, so the agent edits and saves in one call instead of first calling `pdfConfigurationRetrievalTool`. The guidance on files from the user (design references and uploaded images) is added only while a file is part of the conversation.
|
|
406
|
+
- Long data URIs, such as the logo in the default header and footer, and long comments are shown to the model as placeholders like `[[elided-asset-1]]`. `pdfConfigurationUpdateTool` puts the original content back when it saves, and rejects a save that uses a placeholder the template does not have. Test data wrapped in a `data` object is saved at the root, where the template reads it.
|
|
407
|
+
- The model gets a short note for each save, while the client still gets the saved template in the tool result. Template copies from earlier turns are replaced with notes in later requests (the thread keeps them), and files from turns before the previous one are left out.
|
|
408
|
+
- A save is followed by a short closing reply that needs neither the template nor the tools.
|
|
409
|
+
- It keeps its own short history without observational memory.
|
|
410
|
+
|
|
411
|
+
| Variable | Default | Meaning |
|
|
412
|
+
| ----------------------------- | ------- | --------------------------------------------- |
|
|
413
|
+
| `AGENT_PDF_LAST_MESSAGES` | `8` | Messages of the thread the agent reads |
|
|
414
|
+
| `AGENT_PDF_MAX_OUTPUT_TOKENS` | `10000` | Longest reply the model may write in one call |
|
|
415
|
+
|
|
401
416
|
### Delete a thread
|
|
402
417
|
|
|
403
418
|
Delete one of your own threads, with its stored messages, context, and workspace, for example when the user starts a new chat. The response is `{ "deleted": false }` when you have no thread with that ID, so repeating the request is harmless. The thread ID is the `threadId` used on socket.io.
|
|
@@ -93,12 +93,13 @@ Each tenant has its own Keycloak realm, which signs the access tokens of the ten
|
|
|
93
93
|
|
|
94
94
|
Tenant service sends the following domain events under the `tenant-service` namespace. It doesn't consume events.
|
|
95
95
|
|
|
96
|
-
| Event
|
|
97
|
-
|
|
|
98
|
-
| `tenant-created`
|
|
99
|
-
| `tenant-deleted`
|
|
100
|
-
| `tenant-archived`
|
|
101
|
-
| `tenant-restored`
|
|
96
|
+
| Event | Description |
|
|
97
|
+
| :-------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
98
|
+
| `tenant-created` | A tenant was created, either with an existing realm or once its new realm was provisioned. The payload includes the `tenant` and `createdBy`. |
|
|
99
|
+
| `tenant-deleted` | A tenant was permanently deleted (purged). The payload includes the `tenant` and `deletedBy`. |
|
|
100
|
+
| `tenant-archived` | A tenant was archived. The payload includes the `tenant` and `archivedBy`. |
|
|
101
|
+
| `tenant-restored` | An archived tenant was restored. The payload includes the `tenant` and `restoredBy`. |
|
|
102
|
+
| `tenant-name-updated` | A tenant was renamed. The payload includes the updated `tenant` and `updatedBy`. |
|
|
102
103
|
|
|
103
104
|
## Audit actions
|
|
104
105
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/adsp-sdk-mcp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.41.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - MCP server for ADSP documentation and Node SDK reference lookup.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|
package/provenance.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"kind": "release",
|
|
3
|
-
"builtAt": "2026-11-
|
|
4
|
-
"sourceCommit": "
|
|
5
|
-
"latestRelease": "1.
|
|
6
|
-
"docsCommit": "
|
|
3
|
+
"builtAt": "2026-11-23T16:40:38.401Z",
|
|
4
|
+
"sourceCommit": "11a0d5518eb0c90e4f6c9136cf123fcff75de4b6",
|
|
5
|
+
"latestRelease": "1.40.1",
|
|
6
|
+
"docsCommit": "11a0d5518eb0c90e4f6c9136cf123fcff75de4b6",
|
|
7
7
|
"sdk": {
|
|
8
8
|
"version": "2.37.0",
|
|
9
9
|
"commit": "4721e7cf9f8bd770e911058cb3a233be7ebc0923",
|