@poncho-ai/sdk 1.0.3 → 1.1.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @poncho-ai/sdk@1.0.3 build /Users/cesar/Dev/latitude/poncho-ai/packages/sdk
2
+ > @poncho-ai/sdk@1.1.0 build /home/runner/work/poncho-ai/poncho-ai/packages/sdk
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 10.17 KB
11
- ESM ⚡️ Build success in 46ms
11
+ ESM ⚡️ Build success in 18ms
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 1504ms
14
- DTS dist/index.d.ts 18.86 KB
13
+ DTS ⚡️ Build success in 1221ms
14
+ DTS dist/index.d.ts 19.05 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @poncho-ai/sdk
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`139ed89`](https://github.com/cesr/poncho-ai/commit/139ed89a5df2372cfb0a124c967f51f4d8158c3b) Thanks [@cesr](https://github.com/cesr)! - Add browser automation for Poncho agents with real-time viewport streaming, per-conversation tab management, interactive browser control in the web UI, and shared agent-level profiles for authentication persistence.
8
+
3
9
  ## 1.0.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -608,6 +608,16 @@ type AgentEvent = {
608
608
  name: string;
609
609
  input: Record<string, unknown>;
610
610
  }>;
611
+ } | {
612
+ type: "browser:frame";
613
+ data: string;
614
+ width: number;
615
+ height: number;
616
+ } | {
617
+ type: "browser:status";
618
+ active: boolean;
619
+ url?: string;
620
+ interactionAllowed: boolean;
611
621
  };
612
622
 
613
623
  export { type AgentEvent, type AgentFailure, type ContentPart, FEATURE_DOMAIN_ORDER, type FeatureDomain, type FileContentPart, type FileInput, type JsonSchema, type Message, ONBOARDING_FIELDS, type OnboardingField, type OnboardingFieldCondition, type OnboardingFieldKind, type OnboardingFieldTarget, type OnboardingOption, type OnboardingScope, type Role, type RunInput, type RunResult, type TextContentPart, type TokenUsage, type ToolContext, type ToolDefinition, type ToolHandler, defineTool, fieldsForScope, getTextContent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/sdk",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "description": "Core types and utilities for building Poncho skills",
5
5
  "repository": {
6
6
  "type": "git",
package/src/index.ts CHANGED
@@ -153,4 +153,11 @@ export type AgentEvent =
153
153
  input: Record<string, unknown>;
154
154
  checkpointMessages: Message[];
155
155
  pendingToolCalls: Array<{ id: string; name: string; input: Record<string, unknown> }>;
156
+ }
157
+ | { type: "browser:frame"; data: string; width: number; height: number }
158
+ | {
159
+ type: "browser:status";
160
+ active: boolean;
161
+ url?: string;
162
+ interactionAllowed: boolean;
156
163
  };
@@ -1,6 +0,0 @@
1
-
2
- > @poncho-ai/sdk@0.6.0 lint /Users/cesar/Dev/latitude/poncho-ai/packages/sdk
3
- > eslint src/
4
-
5
- sh: eslint: command not found
6
-  ELIFECYCLE  Command failed.
@@ -1,14 +0,0 @@
1
-
2
- > @poncho-ai/sdk@1.0.1 test /Users/cesar/Dev/latitude/poncho-ai/packages/sdk
3
- > vitest
4
-
5
-
6
-  RUN  v1.6.1 /Users/cesar/Dev/latitude/poncho-ai/packages/sdk
7
-
8
- ✓ test/sdk.test.ts  (1 test) 1ms
9
-
10
-  Test Files  1 passed (1)
11
-  Tests  1 passed (1)
12
-  Start at  09:39:17
13
-  Duration  477ms (transform 131ms, setup 0ms, collect 143ms, tests 1ms, environment 0ms, prepare 103ms)
14
-