@anthropic-ai/claude-code 2.1.228 → 2.1.229

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/package.json +9 -9
  2. package/sdk-tools.d.ts +27 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.228",
3
+ "version": "2.1.229",
4
4
  "bin": {
5
5
  "claude": "bin/claude.exe"
6
6
  },
@@ -21,14 +21,14 @@
21
21
  },
22
22
  "dependencies": {},
23
23
  "optionalDependencies": {
24
- "@anthropic-ai/claude-code-darwin-arm64": "2.1.228",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.228",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.228",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.228",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.228",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.228",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.228",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.228"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.229",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.229",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.229",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.229",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.229",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.229",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.229",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.229"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -46,6 +46,7 @@ export type ToolInputSchemas =
46
46
  | ScheduleWakeupInput
47
47
  | RemoteTriggerInput
48
48
  | ShowOnboardingRolePickerInput
49
+ | ReadNotificationsInput
49
50
  | MonitorInput
50
51
  | ProposeSkillsInput
51
52
  | ProposeGoalInput
@@ -85,6 +86,7 @@ export type ToolOutputSchemas =
85
86
  | ArtifactOutput
86
87
  | RemoteTriggerOutput
87
88
  | ShowOnboardingRolePickerOutput
89
+ | ReadNotificationsOutput
88
90
  | ScheduleWakeupOutput
89
91
  | MonitorOutput
90
92
  | ProposeSkillsOutput
@@ -2687,6 +2689,7 @@ export interface RemoteTriggerInput {
2687
2689
  };
2688
2690
  }
2689
2691
  export interface ShowOnboardingRolePickerInput {}
2692
+ export interface ReadNotificationsInput {}
2690
2693
  export interface MonitorInput {
2691
2694
  /**
2692
2695
  * Short human-readable description of what you are monitoring (shown in notifications).
@@ -3695,6 +3698,30 @@ export interface ShowOnboardingRolePickerOutput {
3695
3698
  role?: string;
3696
3699
  dismissed?: boolean;
3697
3700
  }
3701
+ export interface ReadNotificationsOutput {
3702
+ notifications: {
3703
+ /**
3704
+ * Server-assigned stable id — the dedup key across redeliveries.
3705
+ */
3706
+ notification_id: string;
3707
+ /**
3708
+ * Server-attested source token: "github_webhook" | "trigger_fire" | "mcp_send_message" (open set; unknown well-formed tokens pass through verbatim, off-grammar values coerce to "unknown").
3709
+ */
3710
+ origin: string;
3711
+ /**
3712
+ * RFC3339 timestamp of when the backend queued it.
3713
+ */
3714
+ queued_at: string;
3715
+ /**
3716
+ * Verbatim notification body.
3717
+ */
3718
+ content: string;
3719
+ }[];
3720
+ /**
3721
+ * Notifications still queued after this drain (drains are size-budgeted); call the tool again to read them.
3722
+ */
3723
+ remaining: number;
3724
+ }
3698
3725
  export interface ScheduleWakeupOutput {
3699
3726
  /**
3700
3727
  * Epoch ms timestamp when the next wakeup will fire