@app-vitals/agent-lib 1.116.0 → 1.118.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/child-env.ts CHANGED
@@ -42,6 +42,8 @@ export const CHILD_ALLOWED_SECRET_ENV_VARS = [
42
42
  "GH_TOKEN",
43
43
  "SLACK_BOT_TOKEN",
44
44
  "SHIPWRIGHT_AGENT_API_KEY",
45
+ // Tools-kind token for the model's process; passes through for now.
46
+ "SHIPWRIGHT_AGENT_TOOLS_API_KEY",
45
47
  "SHIPWRIGHT_TASK_STORE_TOKEN",
46
48
  "SHIPWRIGHT_CHAT_SERVICE_TOKEN",
47
49
  // The shipped shipwright task-store skill still mints scoped tokens with
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@app-vitals/agent-lib",
3
- "version": "1.116.0",
3
+ "version": "1.118.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/app-vitals/agent.git",
@@ -19,6 +19,9 @@ export const SECRET_ENV_VARS = [
19
19
  "SLACK_CLIENT_SECRET",
20
20
  "SLACK_ADMIN_TOKEN",
21
21
  "SHIPWRIGHT_AGENT_API_KEY",
22
+ // Tools-kind agent token minted by admin and stored in the agent's env
23
+ // bundle; the runtime hands it to the model's process.
24
+ "SHIPWRIGHT_AGENT_TOOLS_API_KEY",
22
25
  "SHIPWRIGHT_TASK_STORE_TOKEN",
23
26
  "SHIPWRIGHT_TASK_STORE_ADMIN_TOKEN",
24
27
  "SHIPWRIGHT_CHAT_SERVICE_TOKEN",
@@ -31,6 +31,7 @@ describe("SECRET_ENV_VARS", () => {
31
31
  "SHIPWRIGHT_ADMIN_PUSH_WEBHOOK_TOKEN",
32
32
  "SHIPWRIGHT_CHAT_PUSH_WEBHOOK_TOKEN",
33
33
  "GOOGLE_CLIENT_SECRET",
34
+ "SHIPWRIGHT_AGENT_TOOLS_API_KEY",
34
35
  "GROQ_API_KEY",
35
36
  "ELEVENLABS_API_KEY",
36
37
  ];
@@ -41,7 +42,7 @@ describe("SECRET_ENV_VARS", () => {
41
42
  });
42
43
 
43
44
  test("has exactly the expected number of entries (catches accidental additions/removals)", () => {
44
- expect(SECRET_ENV_VARS.length).toBe(24);
45
+ expect(SECRET_ENV_VARS.length).toBe(25);
45
46
  });
46
47
 
47
48
  test("every entry is a non-empty string", () => {