@app-vitals/agent-admin 1.115.2 → 1.117.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.
@@ -2008,6 +2008,9 @@
2008
2008
  ],
2009
2009
  "example": "ci-runner"
2010
2010
  },
2011
+ "kind": {
2012
+ "$ref": "#/components/schemas/AgentTokenKind"
2013
+ },
2011
2014
  "createdAt": {
2012
2015
  "type": "string",
2013
2016
  "format": "date-time",
@@ -2025,15 +2028,34 @@
2025
2028
  "required": [
2026
2029
  "id",
2027
2030
  "agentId",
2031
+ "kind",
2028
2032
  "createdAt"
2029
2033
  ]
2030
2034
  },
2035
+ "AgentTokenKind": {
2036
+ "type": "string",
2037
+ "enum": [
2038
+ "runtime",
2039
+ "tools"
2040
+ ],
2041
+ "description": "What the token is for: `runtime` (the agent process) or `tools` (the model's own process)."
2042
+ },
2031
2043
  "CreateAgentTokenBody": {
2032
2044
  "type": "object",
2033
2045
  "properties": {
2034
2046
  "label": {
2035
2047
  "type": "string",
2036
2048
  "example": "ci-runner"
2049
+ },
2050
+ "kind": {
2051
+ "allOf": [
2052
+ {
2053
+ "$ref": "#/components/schemas/AgentTokenKind"
2054
+ },
2055
+ {
2056
+ "description": "Token kind; defaults to `runtime`."
2057
+ }
2058
+ ]
2037
2059
  }
2038
2060
  }
2039
2061
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@app-vitals/agent-admin",
3
- "version": "1.115.2",
3
+ "version": "1.117.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/app-vitals/agent.git",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@anthropic-ai/sdk": "0.137.0",
47
- "@app-vitals/agent-lib": "1.115.2",
47
+ "@app-vitals/agent-lib": "1.117.0",
48
48
  "@hono/zod-openapi": "^1.0.0",
49
49
  "@prisma/adapter-pg": "^7.10.0",
50
50
  "@prisma/client": "^7.10.0",