@poncho-ai/harness 0.20.10 → 0.20.12

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @poncho-ai/harness@0.20.10 build /Users/cesar/Dev/latitude/poncho-ai/packages/harness
2
+ > @poncho-ai/harness@0.20.12 build /Users/cesar/Dev/latitude/poncho-ai/packages/harness
3
3
  > tsup src/index.ts --format esm --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,7 +8,7 @@
8
8
  CLI Target: es2022
9
9
  ESM Build start
10
10
  ESM dist/index.js 200.34 KB
11
- ESM ⚡️ Build success in 146ms
11
+ ESM ⚡️ Build success in 76ms
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 3697ms
14
- DTS dist/index.d.ts 24.36 KB
13
+ DTS ⚡️ Build success in 3660ms
14
+ DTS dist/index.d.ts 24.41 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @poncho-ai/harness
2
2
 
3
+ ## 0.20.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3216e80`](https://github.com/cesr/poncho-ai/commit/3216e8072027896dd1cc5f29b1a7b0eea9ee1ff5) Thanks [@cesr](https://github.com/cesr)! - Add `allowedUserIds` option to Telegram adapter for restricting bot access to specific users.
8
+
9
+ ## 0.20.11
10
+
11
+ ### Patch Changes
12
+
13
+ - [`de28ef5`](https://github.com/cesr/poncho-ai/commit/de28ef5acceed921269d15816acd392f5208f03d) Thanks [@cesr](https://github.com/cesr)! - Add Telegram messaging adapter with private/group chat support, file attachments, /new command, and typing indicators.
14
+
15
+ - Updated dependencies [[`de28ef5`](https://github.com/cesr/poncho-ai/commit/de28ef5acceed921269d15816acd392f5208f03d)]:
16
+ - @poncho-ai/sdk@1.4.1
17
+
3
18
  ## 0.20.10
4
19
 
5
20
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -274,7 +274,7 @@ type BuiltInToolToggles = {
274
274
  delete_directory?: boolean;
275
275
  };
276
276
  interface MessagingChannelConfig {
277
- platform: "slack" | "resend";
277
+ platform: "slack" | "resend" | "telegram";
278
278
  botTokenEnv?: string;
279
279
  signingSecretEnv?: string;
280
280
  apiKeyEnv?: string;
@@ -285,6 +285,7 @@ interface MessagingChannelConfig {
285
285
  mode?: "auto-reply" | "tool";
286
286
  allowedRecipients?: string[];
287
287
  maxSendsPerRun?: number;
288
+ allowedUserIds?: number[];
288
289
  }
289
290
  interface PonchoConfig extends McpConfig {
290
291
  harness?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/harness",
3
- "version": "0.20.10",
3
+ "version": "0.20.12",
4
4
  "description": "Agent execution runtime - conversation loop, tool dispatch, streaming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,7 +31,7 @@
31
31
  "redis": "^5.10.0",
32
32
  "yaml": "^2.4.0",
33
33
  "zod": "^3.22.0",
34
- "@poncho-ai/sdk": "1.4.0"
34
+ "@poncho-ai/sdk": "1.4.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/mustache": "^4.2.6",
package/src/config.ts CHANGED
@@ -44,7 +44,7 @@ export type BuiltInToolToggles = {
44
44
  };
45
45
 
46
46
  export interface MessagingChannelConfig {
47
- platform: "slack" | "resend";
47
+ platform: "slack" | "resend" | "telegram";
48
48
  // Slack
49
49
  botTokenEnv?: string;
50
50
  signingSecretEnv?: string;
@@ -57,6 +57,8 @@ export interface MessagingChannelConfig {
57
57
  mode?: "auto-reply" | "tool";
58
58
  allowedRecipients?: string[];
59
59
  maxSendsPerRun?: number;
60
+ // Telegram
61
+ allowedUserIds?: number[];
60
62
  }
61
63
 
62
64
  export interface PonchoConfig extends McpConfig {