@pptb/types 1.2.7 → 1.2.8-beta.1
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 +1 -1
- package/dataverseAPI.d.ts +4 -4
- package/package.json +1 -1
- package/pptbConfig.d.ts +9 -3
package/README.md
CHANGED
|
@@ -157,7 +157,7 @@ In addition to `package.json`, the validator automatically checks a `pptb.config
|
|
|
157
157
|
| `agents.defaultMode` | ❌ | Default mode when the agent does not request one explicitly |
|
|
158
158
|
| `agents.timeoutMS` | ❌ | Optional timeout hint in milliseconds for two-way calls |
|
|
159
159
|
| `agents.executionModes` | ❌ | Array of supported execution modes (`"windowed"`, `"headless"`) |
|
|
160
|
-
| `agents.defaultExecutionMode` | ❌ |
|
|
160
|
+
| `agents.defaultExecutionMode` | ❌ | Currently ignored: headless is used whenever supported and windowed is the backup. May be removed in a future release |
|
|
161
161
|
| `agents.headlessEntry` | ❌ | Path to the compiled automated runtime entry point |
|
|
162
162
|
|
|
163
163
|
> \*\* Required only when the `invocation` object is present.
|
package/dataverseAPI.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ declare namespace DataverseAPI {
|
|
|
16
16
|
headers?: AdditionalHeaders;
|
|
17
17
|
body?: unknown;
|
|
18
18
|
contentId?: string;
|
|
19
|
+
changesetId?: string;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
export interface BatchResult {
|
|
@@ -23,6 +24,8 @@ declare namespace DataverseAPI {
|
|
|
23
24
|
status: number;
|
|
24
25
|
statusText?: string;
|
|
25
26
|
headers: Record<string, string>;
|
|
27
|
+
/** Selected headers from the outer HTTP batch response, shared by every operation result. */
|
|
28
|
+
batchHeaders?: Record<string, string>;
|
|
26
29
|
body?: unknown;
|
|
27
30
|
}
|
|
28
31
|
/**
|
|
@@ -49,10 +52,7 @@ declare namespace DataverseAPI {
|
|
|
49
52
|
export type EntityRelatedMetadataBasePath = "Attributes" | "Keys" | "ManyToOneRelationships" | "OneToManyRelationships" | "ManyToManyRelationships" | "Privileges";
|
|
50
53
|
|
|
51
54
|
export type EntityRelatedMetadataPath =
|
|
52
|
-
| EntityRelatedMetadataBasePath
|
|
53
|
-
| `${EntityRelatedMetadataBasePath}/${string}`
|
|
54
|
-
| `${EntityRelatedMetadataBasePath}(${string})`
|
|
55
|
-
| `${EntityRelatedMetadataBasePath}(${string})/${string}`;
|
|
55
|
+
EntityRelatedMetadataBasePath | `${EntityRelatedMetadataBasePath}/${string}` | `${EntityRelatedMetadataBasePath}(${string})` | `${EntityRelatedMetadataBasePath}(${string})/${string}`;
|
|
56
56
|
|
|
57
57
|
type EntityRelatedMetadataRecordPath = `${EntityRelatedMetadataBasePath}/${string}` | `${EntityRelatedMetadataBasePath}(${string})` | `${EntityRelatedMetadataBasePath}(${string})/${string}`;
|
|
58
58
|
|
package/package.json
CHANGED
package/pptbConfig.d.ts
CHANGED
|
@@ -86,6 +86,12 @@ export interface JsonSchemaProperty {
|
|
|
86
86
|
enum?: string[];
|
|
87
87
|
/** Describes the items of an array property. */
|
|
88
88
|
items?: JsonSchemaProperty;
|
|
89
|
+
/** Short human-readable label. Shown to the user when an agent must ask for this value. */
|
|
90
|
+
title?: string;
|
|
91
|
+
/** Explains the value. Shown to the user when an agent must ask for this value. */
|
|
92
|
+
description?: string;
|
|
93
|
+
/** Marks the property as required. Missing required values are requested from the user via the MCP agent. */
|
|
94
|
+
required?: boolean;
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
/** A JSON-schema-style object definition: a map of named property descriptors. */
|
|
@@ -117,8 +123,8 @@ export type AgentExecutionMode = "windowed" | "headless";
|
|
|
117
123
|
* - `modes`: supported MCP invocation modes for this tool.
|
|
118
124
|
* - `defaultMode`: fallback mode when the caller does not specify one.
|
|
119
125
|
* - `timeoutMS`: optional timeout hint, in milliseconds, for two-way calls.
|
|
120
|
-
* - `executionModes`: supported execution modes for this tool.
|
|
121
|
-
* - `defaultExecutionMode`:
|
|
126
|
+
* - `executionModes`: supported execution modes for this tool. When both are listed, `headless` is used by default and `windowed` is a backup.
|
|
127
|
+
* - `defaultExecutionMode`: currently ignored by the MCP server (headless is preferred whenever supported); may be removed in a future release.
|
|
122
128
|
* - `headlessEntry`: path to the compiled automated runtime entry point.
|
|
123
129
|
*/
|
|
124
130
|
export interface AgentsConfig {
|
|
@@ -136,7 +142,7 @@ export interface AgentsConfig {
|
|
|
136
142
|
timeoutMS?: number;
|
|
137
143
|
/** Execution modes supported by the tool. */
|
|
138
144
|
executionModes?: AgentExecutionMode[];
|
|
139
|
-
/**
|
|
145
|
+
/** Currently ignored: headless is preferred whenever supported. May be removed in a future release. */
|
|
140
146
|
defaultExecutionMode?: AgentExecutionMode;
|
|
141
147
|
/** Path to the compiled automated runtime entry point. */
|
|
142
148
|
headlessEntry?: string;
|