@app-vitals/agent-lib 1.56.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.
Files changed (2) hide show
  1. package/admin-types.ts +5 -5
  2. 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: {
@@ -6102,7 +6102,7 @@ export interface components {
6102
6102
  updatedAt: string;
6103
6103
  };
6104
6104
  /** @enum {string} */
6105
- TemplateItemKind: "env" | "tool" | "plugin" | "cron";
6105
+ TemplateItemKind: "env" | "tool" | "plugin" | "cron" | "marketplace";
6106
6106
  PutTemplateBody: {
6107
6107
  /** @description Owning account; null or omitted = deployment-wide (platform admins only). Account callers may omit it or send their own account. */
6108
6108
  accountId?: string | null;
@@ -6118,7 +6118,7 @@ export interface components {
6118
6118
  */
6119
6119
  key: string;
6120
6120
  /**
6121
- * @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).
6122
6122
  * @example {
6123
6123
  * "value": "lin_abc",
6124
6124
  * "secret": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@app-vitals/agent-lib",
3
- "version": "1.56.0",
3
+ "version": "1.57.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/app-vitals/agent.git",