@app-vitals/agent-lib 1.55.0 → 1.57.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/admin-types.ts +12 -5
- package/package.json +1 -1
package/admin-types.ts
CHANGED
|
@@ -4152,7 +4152,7 @@ export interface paths {
|
|
|
4152
4152
|
};
|
|
4153
4153
|
/**
|
|
4154
4154
|
* Create or replace an agent template
|
|
4155
|
-
* @description Creates the template for the (accountId, specialty) scope, or replaces the items of the existing one (201 / 200). Account callers may only write their own account (403 otherwise); only platform admins write deployment-wide templates. 422 for an unknown specialty, a denylisted env key (per-agent credentials: Slack tokens, GH_TOKEN, Anthropic credentials, task-store URL/token), an invalid item payload, a cron item without a name key, or a duplicate (kind, key). Env values are encrypted at rest; a secret env item sent as `"***"` keeps its stored value.
|
|
4155
|
+
* @description Creates the template for the (accountId, specialty) scope, or replaces the items of the existing one (201 / 200). Account callers may only write their own account (403 otherwise); only platform admins write deployment-wide templates. 422 for an unknown specialty, a denylisted env key (per-agent credentials: Slack tokens, GH_TOKEN, Anthropic credentials, task-store URL/token), an invalid item payload, a cron item without a name key, a marketplace item with an invalid name, source or ref (same messages as POST /agents/:id/marketplaces), or a duplicate (kind, key). Env values are encrypted at rest; a secret env item sent as `"***"` keeps its stored value.
|
|
4156
4156
|
*/
|
|
4157
4157
|
put: {
|
|
4158
4158
|
parameters: {
|
|
@@ -4859,7 +4859,7 @@ export interface components {
|
|
|
4859
4859
|
};
|
|
4860
4860
|
conflicts: {
|
|
4861
4861
|
/** @enum {string} */
|
|
4862
|
-
kind: "env" | "tool" | "plugin" | "cron";
|
|
4862
|
+
kind: "env" | "tool" | "plugin" | "cron" | "marketplace";
|
|
4863
4863
|
key: string;
|
|
4864
4864
|
/** @enum {string} */
|
|
4865
4865
|
reason: "cron_name_conflict" | "invalid_cron_schedule" | "denylisted_env_key";
|
|
@@ -4871,7 +4871,7 @@ export interface components {
|
|
|
4871
4871
|
};
|
|
4872
4872
|
ResetTemplateBody: {
|
|
4873
4873
|
/** @enum {string} */
|
|
4874
|
-
kind?: "env" | "tool" | "plugin" | "cron";
|
|
4874
|
+
kind?: "env" | "tool" | "plugin" | "cron" | "marketplace";
|
|
4875
4875
|
key?: string;
|
|
4876
4876
|
};
|
|
4877
4877
|
ReconcileCronResult: {
|
|
@@ -5467,6 +5467,13 @@ export interface components {
|
|
|
5467
5467
|
source: string;
|
|
5468
5468
|
/** @example main */
|
|
5469
5469
|
ref: string | null;
|
|
5470
|
+
/**
|
|
5471
|
+
* @example custom
|
|
5472
|
+
* @enum {string}
|
|
5473
|
+
*/
|
|
5474
|
+
rowSource?: "template" | "custom";
|
|
5475
|
+
/** @example true */
|
|
5476
|
+
enabled?: boolean;
|
|
5470
5477
|
/**
|
|
5471
5478
|
* Format: date-time
|
|
5472
5479
|
* @example 2026-01-01T00:00:00.000Z
|
|
@@ -6095,7 +6102,7 @@ export interface components {
|
|
|
6095
6102
|
updatedAt: string;
|
|
6096
6103
|
};
|
|
6097
6104
|
/** @enum {string} */
|
|
6098
|
-
TemplateItemKind: "env" | "tool" | "plugin" | "cron";
|
|
6105
|
+
TemplateItemKind: "env" | "tool" | "plugin" | "cron" | "marketplace";
|
|
6099
6106
|
PutTemplateBody: {
|
|
6100
6107
|
/** @description Owning account; null or omitted = deployment-wide (platform admins only). Account callers may omit it or send their own account. */
|
|
6101
6108
|
accountId?: string | null;
|
|
@@ -6111,7 +6118,7 @@ export interface components {
|
|
|
6111
6118
|
*/
|
|
6112
6119
|
key: string;
|
|
6113
6120
|
/**
|
|
6114
|
-
* @description Kind-specific fields. env: {value, secret?}; tool: {enabled?}; plugin: {version?, enabled?}; cron: {schedule, prompt, channel?, user?, silent?, enabled?, preCheck?}.
|
|
6121
|
+
* @description Kind-specific fields. env: {value, secret?}; tool: {enabled?}; plugin: {version?, enabled?}; cron: {schedule, prompt, channel?, user?, silent?, enabled?, preCheck?}; marketplace: {source, ref?} (key = marketplace name).
|
|
6115
6122
|
* @example {
|
|
6116
6123
|
* "value": "lin_abc",
|
|
6117
6124
|
* "secret": true
|