@tabstack/sdk 1.0.0 → 1.0.5

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 (101) hide show
  1. package/LICENSE +22 -11
  2. package/README.md +17 -44
  3. package/dist/cjs/{automate.d.ts → agent.d.ts} +10 -10
  4. package/dist/cjs/agent.d.ts.map +1 -0
  5. package/dist/cjs/{automate.js → agent.js} +11 -11
  6. package/dist/cjs/agent.js.map +1 -0
  7. package/dist/cjs/agent.test.d.ts +5 -0
  8. package/dist/cjs/agent.test.d.ts.map +1 -0
  9. package/dist/cjs/{automate.test.js → agent.test.js} +32 -32
  10. package/dist/cjs/agent.test.js.map +1 -0
  11. package/dist/cjs/client.d.ts +13 -13
  12. package/dist/cjs/client.d.ts.map +1 -1
  13. package/dist/cjs/client.js +12 -12
  14. package/dist/cjs/client.js.map +1 -1
  15. package/dist/cjs/client.test.d.ts +1 -1
  16. package/dist/cjs/client.test.js +50 -51
  17. package/dist/cjs/client.test.js.map +1 -1
  18. package/dist/cjs/exceptions.d.ts +9 -9
  19. package/dist/cjs/exceptions.js +13 -13
  20. package/dist/cjs/exceptions.test.js +30 -30
  21. package/dist/cjs/extract.d.ts +2 -57
  22. package/dist/cjs/extract.d.ts.map +1 -1
  23. package/dist/cjs/extract.js +2 -60
  24. package/dist/cjs/extract.js.map +1 -1
  25. package/dist/cjs/extract.test.js +0 -114
  26. package/dist/cjs/extract.test.js.map +1 -1
  27. package/dist/cjs/generate.d.ts +1 -1
  28. package/dist/cjs/generate.js +1 -1
  29. package/dist/cjs/index.d.ts +9 -9
  30. package/dist/cjs/index.d.ts.map +1 -1
  31. package/dist/cjs/index.js +9 -9
  32. package/dist/cjs/index.js.map +1 -1
  33. package/dist/cjs/types.d.ts +1 -1
  34. package/dist/cjs/types.js +1 -1
  35. package/dist/cjs/util/http.d.ts +1 -1
  36. package/dist/cjs/util/http.js +4 -4
  37. package/dist/cjs/util/http.test.js +5 -5
  38. package/dist/esm/{automate.d.ts → agent.d.ts} +10 -10
  39. package/dist/esm/agent.d.ts.map +1 -0
  40. package/dist/esm/{automate.js → agent.js} +9 -9
  41. package/dist/esm/agent.js.map +1 -0
  42. package/dist/esm/agent.test.d.ts +5 -0
  43. package/dist/esm/agent.test.d.ts.map +1 -0
  44. package/dist/esm/{automate.test.js → agent.test.js} +32 -32
  45. package/dist/esm/agent.test.js.map +1 -0
  46. package/dist/esm/client.d.ts +13 -13
  47. package/dist/esm/client.d.ts.map +1 -1
  48. package/dist/esm/client.js +10 -10
  49. package/dist/esm/client.js.map +1 -1
  50. package/dist/esm/client.test.d.ts +1 -1
  51. package/dist/esm/client.test.js +51 -52
  52. package/dist/esm/client.test.js.map +1 -1
  53. package/dist/esm/exceptions.d.ts +9 -9
  54. package/dist/esm/exceptions.js +11 -11
  55. package/dist/esm/exceptions.test.js +31 -31
  56. package/dist/esm/extract.d.ts +2 -57
  57. package/dist/esm/extract.d.ts.map +1 -1
  58. package/dist/esm/extract.js +2 -60
  59. package/dist/esm/extract.js.map +1 -1
  60. package/dist/esm/extract.test.js +0 -114
  61. package/dist/esm/extract.test.js.map +1 -1
  62. package/dist/esm/generate.d.ts +1 -1
  63. package/dist/esm/generate.js +1 -1
  64. package/dist/esm/index.d.ts +9 -9
  65. package/dist/esm/index.d.ts.map +1 -1
  66. package/dist/esm/index.js +7 -7
  67. package/dist/esm/index.js.map +1 -1
  68. package/dist/esm/types.d.ts +1 -1
  69. package/dist/esm/types.js +1 -1
  70. package/dist/esm/util/http.d.ts +1 -1
  71. package/dist/esm/util/http.js +5 -5
  72. package/dist/esm/util/http.test.js +6 -6
  73. package/dist/types/{automate.d.ts → agent.d.ts} +10 -10
  74. package/dist/types/agent.d.ts.map +1 -0
  75. package/dist/types/agent.test.d.ts +5 -0
  76. package/dist/types/agent.test.d.ts.map +1 -0
  77. package/dist/types/client.d.ts +13 -13
  78. package/dist/types/client.d.ts.map +1 -1
  79. package/dist/types/client.test.d.ts +1 -1
  80. package/dist/types/exceptions.d.ts +9 -9
  81. package/dist/types/extract.d.ts +2 -57
  82. package/dist/types/extract.d.ts.map +1 -1
  83. package/dist/types/generate.d.ts +1 -1
  84. package/dist/types/index.d.ts +9 -9
  85. package/dist/types/index.d.ts.map +1 -1
  86. package/dist/types/types.d.ts +1 -1
  87. package/dist/types/util/http.d.ts +1 -1
  88. package/package.json +5 -5
  89. package/dist/cjs/automate.d.ts.map +0 -1
  90. package/dist/cjs/automate.js.map +0 -1
  91. package/dist/cjs/automate.test.d.ts +0 -5
  92. package/dist/cjs/automate.test.d.ts.map +0 -1
  93. package/dist/cjs/automate.test.js.map +0 -1
  94. package/dist/esm/automate.d.ts.map +0 -1
  95. package/dist/esm/automate.js.map +0 -1
  96. package/dist/esm/automate.test.d.ts +0 -5
  97. package/dist/esm/automate.test.d.ts.map +0 -1
  98. package/dist/esm/automate.test.js.map +0 -1
  99. package/dist/types/automate.d.ts.map +0 -1
  100. package/dist/types/automate.test.d.ts +0 -5
  101. package/dist/types/automate.test.d.ts.map +0 -1
package/dist/esm/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  /**
2
- * TABStack AI TypeScript/JavaScript SDK
2
+ * Tabstack TypeScript/JavaScript SDK
3
3
  *
4
- * This SDK provides a TypeScript/JavaScript interface to the TABStack AI API for web
4
+ * This SDK provides a TypeScript/JavaScript interface to the Tabstack API for web
5
5
  * content extraction, AI-powered content generation, and browser automation.
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { TABStack } from '@tabstack/sdk';
9
+ * import { Tabstack } from '@tabstack/sdk';
10
10
  *
11
- * const tabs = new TABStack({
11
+ * const tabs = new Tabstack({
12
12
  * apiKey: process.env.TABSTACK_API_KEY!
13
13
  * });
14
14
  *
@@ -41,13 +41,13 @@
41
41
  * @packageDocumentation
42
42
  */
43
43
  // Main client
44
- export { TABStack } from './client.js';
44
+ export { Tabstack } from './client.js';
45
45
  // Operators
46
46
  export { Extract } from './extract.js';
47
47
  export { Generate } from './generate.js';
48
- export { Automate } from './automate.js';
48
+ export { Agent } from './agent.js';
49
49
  // Response types
50
50
  export { Metadata, MarkdownResponse, JsonResponse, AutomateEvent, EventData, } from './types.js';
51
51
  // Exceptions
52
- export { TABStackError, BadRequestError, UnauthorizedError, InvalidURLError, ServerError, ServiceUnavailableError, APIError, } from './exceptions.js';
52
+ export { TabstackError, BadRequestError, UnauthorizedError, InvalidURLError, ServerError, ServiceUnavailableError, APIError, } from './exceptions.js';
53
53
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,cAAc;AACd,OAAO,EAAE,QAAQ,EAAmB,MAAM,UAAU,CAAC;AAErD,YAAY;AACZ,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,iBAAiB;AACjB,OAAO,EACL,QAAQ,EAER,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,SAAS,GACV,MAAM,SAAS,CAAC;AAEjB,aAAa;AACb,OAAO,EACL,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,uBAAuB,EACvB,QAAQ,GACT,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,cAAc;AACd,OAAO,EAAE,QAAQ,EAAmB,MAAM,UAAU,CAAC;AAErD,YAAY;AACZ,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,iBAAiB;AACjB,OAAO,EACL,QAAQ,EAER,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,SAAS,GACV,MAAM,SAAS,CAAC;AAEjB,aAAa;AACb,OAAO,EACL,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,uBAAuB,EACvB,QAAQ,GACT,MAAM,cAAc,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Type definitions and response models for TABStack AI SDK
2
+ * Type definitions and response models for Tabstack SDK
3
3
  */
4
4
  /**
5
5
  * Metadata extracted from a web page
package/dist/esm/types.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Type definitions and response models for TABStack AI SDK
2
+ * Type definitions and response models for Tabstack SDK
3
3
  */
4
4
  export class Metadata {
5
5
  constructor(data) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Internal HTTP client for TABStack AI SDK
2
+ * Internal HTTP client for Tabstack SDK
3
3
  */
4
4
  export interface HTTPClientOptions {
5
5
  apiKey: string;
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Internal HTTP client for TABStack AI SDK
2
+ * Internal HTTP client for Tabstack SDK
3
3
  */
4
4
  import * as https from 'https';
5
5
  import * as http from 'http';
6
6
  import { URL } from 'url';
7
- import { TABStackError, BadRequestError, UnauthorizedError, InvalidURLError, ServerError, ServiceUnavailableError, APIError, } from '../exceptions.js';
7
+ import { TabstackError, BadRequestError, UnauthorizedError, InvalidURLError, ServerError, ServiceUnavailableError, APIError, } from '../exceptions.js';
8
8
  export class HTTPClient {
9
9
  constructor(options) {
10
10
  this.apiKey = options.apiKey;
@@ -88,12 +88,12 @@ export class HTTPClient {
88
88
  resolve(parsed);
89
89
  }
90
90
  catch {
91
- reject(new TABStackError('Failed to parse response JSON'));
91
+ reject(new TabstackError('Failed to parse response JSON'));
92
92
  }
93
93
  });
94
94
  });
95
95
  req.on('error', (error) => {
96
- reject(new TABStackError(`Request failed: ${error.message}`));
96
+ reject(new TabstackError(`Request failed: ${error.message}`));
97
97
  });
98
98
  req.write(body);
99
99
  req.end();
@@ -137,7 +137,7 @@ export class HTTPClient {
137
137
  resolve(response);
138
138
  });
139
139
  req.on('error', (error) => {
140
- reject(new TABStackError(`Request failed: ${error.message}`));
140
+ reject(new TabstackError(`Request failed: ${error.message}`));
141
141
  });
142
142
  req.write(body);
143
143
  req.end();
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import nock from 'nock';
5
5
  import { HTTPClient } from './http.js';
6
- import { TABStackError, BadRequestError, UnauthorizedError, InvalidURLError, ServerError, ServiceUnavailableError, APIError, } from '../exceptions.js';
6
+ import { TabstackError, BadRequestError, UnauthorizedError, InvalidURLError, ServerError, ServiceUnavailableError, APIError, } from '../exceptions.js';
7
7
  describe('HTTPClient', () => {
8
8
  const apiKey = 'test-api-key';
9
9
  const baseURL = 'https://api.tabstack.ai';
@@ -97,13 +97,13 @@ describe('HTTPClient', () => {
97
97
  nock(baseURL).post('/test').reply(500, '');
98
98
  await expect(client.post('/test')).rejects.toThrow(ServerError);
99
99
  });
100
- it('should throw TABStackError on malformed JSON response', async () => {
100
+ it('should throw TabstackError on malformed JSON response', async () => {
101
101
  nock(baseURL).post('/test').reply(200, 'invalid json{{{');
102
- await expect(client.post('/test')).rejects.toThrow(TABStackError);
102
+ await expect(client.post('/test')).rejects.toThrow(TabstackError);
103
103
  });
104
- it('should throw TABStackError on network error', async () => {
104
+ it('should throw TabstackError on network error', async () => {
105
105
  nock(baseURL).post('/test').replyWithError('Network error');
106
- await expect(client.post('/test')).rejects.toThrow(TABStackError);
106
+ await expect(client.post('/test')).rejects.toThrow(TabstackError);
107
107
  });
108
108
  it('should handle query parameters in path', async () => {
109
109
  nock(baseURL).post('/test?param=value').reply(200, { success: true });
@@ -191,7 +191,7 @@ describe('HTTPClient', () => {
191
191
  const generator = client.postStream('/stream');
192
192
  await expect(generator.next()).rejects.toThrow(ServerError);
193
193
  });
194
- it('should throw TABStackError on network error during stream', async () => {
194
+ it('should throw TabstackError on network error during stream', async () => {
195
195
  nock(baseURL).post('/stream').replyWithError('Connection failed');
196
196
  const generator = client.postStream('/stream');
197
197
  const error = await generator.next().catch((e) => e);
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Automate operator for TABStack AI SDK
2
+ * Agent client for Tabstack SDK
3
3
  */
4
4
  import { HTTPClient } from './util/http';
5
5
  import { AutomateEvent } from './types';
6
- export interface AutomateExecuteOptions {
6
+ export interface AutomateOptions {
7
7
  url?: string;
8
8
  data?: Record<string, unknown>;
9
9
  guardrails?: string;
@@ -11,13 +11,13 @@ export interface AutomateExecuteOptions {
11
11
  maxValidationAttempts?: number;
12
12
  }
13
13
  /**
14
- * Automate operator for AI-powered web automation
14
+ * Agent client for AI-powered web automation
15
15
  *
16
16
  * This class provides methods for executing complex web automation tasks using
17
17
  * natural language instructions. The automation runs in a browser and streams
18
18
  * real-time progress updates.
19
19
  */
20
- export declare class Automate {
20
+ export declare class Agent {
21
21
  private httpClient;
22
22
  constructor(httpClient: HTTPClient);
23
23
  /**
@@ -53,7 +53,7 @@ export declare class Automate {
53
53
  * @example
54
54
  * Extract GitHub trending repositories:
55
55
  * ```typescript
56
- * for await (const event of tabs.automate.execute(
56
+ * for await (const event of tabs.agent.automate(
57
57
  * 'Find the top 3 trending repositories and extract their names, descriptions, and star counts',
58
58
  * {
59
59
  * url: 'https://github.com/trending',
@@ -75,7 +75,7 @@ export declare class Automate {
75
75
  * @example
76
76
  * Scrape product information:
77
77
  * ```typescript
78
- * for await (const event of tabs.automate.execute(
78
+ * for await (const event of tabs.agent.automate(
79
79
  * 'Find the product name, price, and availability status',
80
80
  * {
81
81
  * url: 'https://example-store.com/product/wireless-headphones',
@@ -95,7 +95,7 @@ export declare class Automate {
95
95
  * @example
96
96
  * Fill out contact form:
97
97
  * ```typescript
98
- * for await (const event of tabs.automate.execute(
98
+ * for await (const event of tabs.agent.automate(
99
99
  * 'Submit the contact form with my information',
100
100
  * {
101
101
  * url: 'https://company.com/contact',
@@ -119,7 +119,7 @@ export declare class Automate {
119
119
  * @example
120
120
  * Handle all event types:
121
121
  * ```typescript
122
- * for await (const event of tabs.automate.execute(
122
+ * for await (const event of tabs.agent.automate(
123
123
  * 'Research TypeScript frameworks and compare them',
124
124
  * { url: 'https://www.npmjs.com' }
125
125
  * )) {
@@ -147,10 +147,10 @@ export declare class Automate {
147
147
  * }
148
148
  * ```
149
149
  */
150
- execute(task: string, options?: AutomateExecuteOptions): AsyncGenerator<AutomateEvent, void, undefined>;
150
+ automate(task: string, options?: AutomateOptions): AsyncGenerator<AutomateEvent, void, undefined>;
151
151
  /**
152
152
  * Parse SSE event data
153
153
  */
154
154
  private parseEvent;
155
155
  }
156
- //# sourceMappingURL=automate.d.ts.map
156
+ //# sourceMappingURL=agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/agent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,WAAW,eAAe;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;;;;;GAMG;AACH,qBAAa,KAAK;IACJ,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,UAAU;IAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8HG;IACI,QAAQ,CACb,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,eAAe,GACxB,cAAc,CAAC,aAAa,EAAE,IAAI,EAAE,SAAS,CAAC;IAkDjD;;OAEG;IACH,OAAO,CAAC,UAAU;CASnB"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Tests for Agent
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=agent.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.test.d.ts","sourceRoot":"","sources":["../../src/agent.test.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -1,24 +1,24 @@
1
1
  /**
2
- * Main client for TABStack AI SDK
2
+ * Main client for Tabstack SDK
3
3
  */
4
4
  import { Extract } from './extract';
5
5
  import { Generate } from './generate';
6
- import { Automate } from './automate';
7
- export interface TABStackOptions {
6
+ import { Agent } from './agent';
7
+ export interface TabstackOptions {
8
8
  apiKey: string;
9
9
  baseURL?: string;
10
10
  }
11
11
  /**
12
- * TABStack AI client for web content extraction, generation, and automation
12
+ * Tabstack client for web content extraction, generation, and automation
13
13
  *
14
- * This is the main entry point for the TABStack AI SDK. Initialize it with your
14
+ * This is the main entry point for the Tabstack SDK. Initialize it with your
15
15
  * API key to access the extract, generate, and automate operators.
16
16
  *
17
17
  * @example
18
18
  * ```typescript
19
- * import { TABStack } from '@tabstack/sdk';
19
+ * import { Tabstack } from '@tabstack/sdk';
20
20
  *
21
- * const tabs = new TABStack({
21
+ * const tabs = new Tabstack({
22
22
  * apiKey: process.env.TABSTACK_API_KEY!
23
23
  * });
24
24
  *
@@ -26,7 +26,7 @@ export interface TABStackOptions {
26
26
  * console.log(result.content);
27
27
  * ```
28
28
  */
29
- export declare class TABStack {
29
+ export declare class Tabstack {
30
30
  private httpClient;
31
31
  /**
32
32
  * Extract operator for converting and extracting web content
@@ -37,22 +37,22 @@ export declare class TABStack {
37
37
  */
38
38
  readonly generate: Generate;
39
39
  /**
40
- * Automate operator for browser automation tasks
40
+ * Agent client for AI-powered browser automation tasks
41
41
  */
42
- readonly automate: Automate;
42
+ readonly agent: Agent;
43
43
  /**
44
- * Initialize TABStack client
44
+ * Initialize Tabstack client
45
45
  *
46
46
  * @param options - Configuration options
47
47
  * @throws Error if apiKey is empty or not provided
48
48
  *
49
49
  * @example
50
50
  * ```typescript
51
- * const tabs = new TABStack({
51
+ * const tabs = new Tabstack({
52
52
  * apiKey: 'your-api-key-here'
53
53
  * });
54
54
  * ```
55
55
  */
56
- constructor(options: TABStackOptions);
56
+ constructor(options: TabstackOptions);
57
57
  }
58
58
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,QAAQ;IACnB,OAAO,CAAC,UAAU,CAAa;IAE/B;;OAEG;IACH,SAAgB,OAAO,EAAE,OAAO,CAAC;IAEjC;;OAEG;IACH,SAAgB,QAAQ,EAAE,QAAQ,CAAC;IAEnC;;OAEG;IACH,SAAgB,QAAQ,EAAE,QAAQ,CAAC;IAEnC;;;;;;;;;;;;OAYG;gBACS,OAAO,EAAE,eAAe;CAerC"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,QAAQ;IACnB,OAAO,CAAC,UAAU,CAAa;IAE/B;;OAEG;IACH,SAAgB,OAAO,EAAE,OAAO,CAAC;IAEjC;;OAEG;IACH,SAAgB,QAAQ,EAAE,QAAQ,CAAC;IAEnC;;OAEG;IACH,SAAgB,KAAK,EAAE,KAAK,CAAC;IAE7B;;;;;;;;;;;;OAYG;gBACS,OAAO,EAAE,eAAe;CAerC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Tests for TABStack Client
2
+ * Tests for Tabstack Client
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=client.test.d.ts.map
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Custom exceptions for TABStack AI SDK
2
+ * Custom exceptions for Tabstack SDK
3
3
  */
4
4
  /**
5
- * Base error class for all TABStack AI errors
5
+ * Base error class for all Tabstack errors
6
6
  */
7
- export declare class TABStackError extends Error {
7
+ export declare class TabstackError extends Error {
8
8
  statusCode?: number | undefined;
9
9
  constructor(message: string, statusCode?: number | undefined);
10
10
  }
@@ -13,7 +13,7 @@ export declare class TABStackError extends Error {
13
13
  *
14
14
  * Raised when the request is malformed or missing required fields.
15
15
  */
16
- export declare class BadRequestError extends TABStackError {
16
+ export declare class BadRequestError extends TabstackError {
17
17
  constructor(message: string);
18
18
  }
19
19
  /**
@@ -21,7 +21,7 @@ export declare class BadRequestError extends TABStackError {
21
21
  *
22
22
  * Raised when the API key is invalid or missing.
23
23
  */
24
- export declare class UnauthorizedError extends TABStackError {
24
+ export declare class UnauthorizedError extends TabstackError {
25
25
  constructor(message?: string);
26
26
  }
27
27
  /**
@@ -29,7 +29,7 @@ export declare class UnauthorizedError extends TABStackError {
29
29
  *
30
30
  * Raised when the provided URL is invalid or inaccessible.
31
31
  */
32
- export declare class InvalidURLError extends TABStackError {
32
+ export declare class InvalidURLError extends TabstackError {
33
33
  constructor(message?: string);
34
34
  }
35
35
  /**
@@ -37,7 +37,7 @@ export declare class InvalidURLError extends TABStackError {
37
37
  *
38
38
  * Raised when the server encounters an error processing the request.
39
39
  */
40
- export declare class ServerError extends TABStackError {
40
+ export declare class ServerError extends TabstackError {
41
41
  constructor(message?: string);
42
42
  }
43
43
  /**
@@ -45,13 +45,13 @@ export declare class ServerError extends TABStackError {
45
45
  *
46
46
  * Raised when a service (e.g., automate) is not available or not configured.
47
47
  */
48
- export declare class ServiceUnavailableError extends TABStackError {
48
+ export declare class ServiceUnavailableError extends TabstackError {
49
49
  constructor(message?: string);
50
50
  }
51
51
  /**
52
52
  * Generic API error for unexpected status codes
53
53
  */
54
- export declare class APIError extends TABStackError {
54
+ export declare class APIError extends TabstackError {
55
55
  constructor(message: string, statusCode: number);
56
56
  }
57
57
  //# sourceMappingURL=exceptions.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Extract operator for TABStack AI SDK
2
+ * Extract operator for Tabstack SDK
3
3
  */
4
4
  import { HTTPClient } from './util/http';
5
5
  import { MarkdownResponse, JsonResponse } from './types';
@@ -7,10 +7,6 @@ export interface ExtractMarkdownOptions {
7
7
  metadata?: boolean;
8
8
  nocache?: boolean;
9
9
  }
10
- export interface ExtractSchemaOptions {
11
- instructions?: string;
12
- nocache?: boolean;
13
- }
14
10
  export interface ExtractJsonOptions {
15
11
  nocache?: boolean;
16
12
  }
@@ -19,7 +15,6 @@ export interface ExtractJsonOptions {
19
15
  *
20
16
  * This class provides methods for extracting content from URLs in various formats:
21
17
  * - Markdown conversion
22
- * - Schema generation
23
18
  * - Structured JSON extraction
24
19
  */
25
20
  export declare class Extract {
@@ -73,51 +68,11 @@ export declare class Extract {
73
68
  * ```
74
69
  */
75
70
  markdown(url: string, options?: ExtractMarkdownOptions): Promise<MarkdownResponse>;
76
- /**
77
- * Generate JSON schema from URL content
78
- *
79
- * Analyzes URL content and generates a JSON schema that describes the structure
80
- * of the data. Use this to create schemas for the json() method when you don't
81
- * know the structure in advance. The generated schema can then be used to extract
82
- * structured data from similar pages.
83
- *
84
- * @param url - URL to analyze and extract schema from
85
- * @param options - Optional schema generation options
86
- * @param options.instructions - Optional instructions to guide schema generation (max 1000 characters). Example: "extract only the top stories, for each story include the title, points, author, and comment count"
87
- * @param options.nocache - Bypass cache and force fresh data retrieval. Default: false
88
- *
89
- * @returns The generated JSON schema object
90
- *
91
- * @throws {BadRequestError} When URL is missing or schema format is invalid
92
- * @throws {UnauthorizedError} When API key is invalid or missing
93
- * @throws {InvalidURLError} When URL is invalid
94
- * @throws {ServerError} When server fails to fetch URL, page is too large, or schema generation fails
95
- *
96
- * @example
97
- * Basic usage:
98
- * ```typescript
99
- * const schema = await tabs.extract.schema('https://news.ycombinator.com');
100
- * console.log(schema); // JSON schema object describing the page structure
101
- * ```
102
- *
103
- * @example
104
- * With instructions:
105
- * ```typescript
106
- * const schema = await tabs.extract.schema('https://news.ycombinator.com', {
107
- * instructions: 'extract only the top stories, for each story include the title, points, author, and comment count'
108
- * });
109
- * // Use the generated schema to extract data
110
- * const data = await tabs.extract.json('https://news.ycombinator.com', schema);
111
- * console.log(data.data); // Structured data matching the schema
112
- * ```
113
- */
114
- schema(url: string, options?: ExtractSchemaOptions): Promise<Record<string, unknown>>;
115
71
  /**
116
72
  * Extract structured JSON from URL content
117
73
  *
118
74
  * Fetches a URL and extracts structured data according to a provided JSON schema.
119
- * The schema defines what data to extract and its structure. You can define your
120
- * schema manually or generate one using the schema() method.
75
+ * The schema defines what data to extract and its structure.
121
76
  *
122
77
  * @param url - URL to fetch and extract data from
123
78
  * @param schema - JSON schema object defining the structure of data to extract
@@ -184,16 +139,6 @@ export declare class Extract {
184
139
  * ```
185
140
  *
186
141
  * @example
187
- * Using generated schema:
188
- * ```typescript
189
- * const schema = await tabs.extract.schema('https://news.ycombinator.com', {
190
- * instructions: 'extract top stories with title, points, and author'
191
- * });
192
- * const result = await tabs.extract.json('https://news.ycombinator.com', schema);
193
- * console.log(result.data);
194
- * ```
195
- *
196
- * @example
197
142
  * Force fresh data retrieval:
198
143
  * ```typescript
199
144
  * const result = await tabs.extract.json('https://news.ycombinator.com', schema, {
@@ -1 +1 @@
1
- {"version":3,"file":"extract.d.ts","sourceRoot":"","sources":["../../src/extract.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEzD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,qBAAa,OAAO;IACN,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,UAAU;IAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACG,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAYxF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACG,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAW3F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwFG;IACG,IAAI,CAAC,CAAC,GAAG,OAAO,EACpB,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;CAU5B"}
1
+ {"version":3,"file":"extract.d.ts","sourceRoot":"","sources":["../../src/extract.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEzD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;GAMG;AACH,qBAAa,OAAO;IACN,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,UAAU;IAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACG,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAYxF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6EG;IACG,IAAI,CAAC,CAAC,GAAG,OAAO,EACpB,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;CAU5B"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generate operator for TABStack AI SDK
2
+ * Generate operator for Tabstack SDK
3
3
  */
4
4
  import { HTTPClient } from './util/http';
5
5
  import { JsonResponse } from './types';
@@ -1,14 +1,14 @@
1
1
  /**
2
- * TABStack AI TypeScript/JavaScript SDK
2
+ * Tabstack TypeScript/JavaScript SDK
3
3
  *
4
- * This SDK provides a TypeScript/JavaScript interface to the TABStack AI API for web
4
+ * This SDK provides a TypeScript/JavaScript interface to the Tabstack API for web
5
5
  * content extraction, AI-powered content generation, and browser automation.
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { TABStack } from '@tabstack/sdk';
9
+ * import { Tabstack } from '@tabstack/sdk';
10
10
  *
11
- * const tabs = new TABStack({
11
+ * const tabs = new Tabstack({
12
12
  * apiKey: process.env.TABSTACK_API_KEY!
13
13
  * });
14
14
  *
@@ -40,13 +40,13 @@
40
40
  *
41
41
  * @packageDocumentation
42
42
  */
43
- export { TABStack, TABStackOptions } from './client';
43
+ export { Tabstack, TabstackOptions } from './client';
44
44
  export { Extract } from './extract';
45
45
  export { Generate } from './generate';
46
- export { Automate } from './automate';
46
+ export { Agent } from './agent';
47
47
  export { Metadata, MetadataFields, MarkdownResponse, JsonResponse, AutomateEvent, EventData, } from './types';
48
- export { TABStackError, BadRequestError, UnauthorizedError, InvalidURLError, ServerError, ServiceUnavailableError, APIError, } from './exceptions';
49
- export type { ExtractMarkdownOptions, ExtractSchemaOptions, ExtractJsonOptions } from './extract';
48
+ export { TabstackError, BadRequestError, UnauthorizedError, InvalidURLError, ServerError, ServiceUnavailableError, APIError, } from './exceptions';
49
+ export type { ExtractMarkdownOptions, ExtractJsonOptions } from './extract';
50
50
  export type { GenerateJsonOptions } from './generate';
51
- export type { AutomateExecuteOptions } from './automate';
51
+ export type { AutomateOptions } from './agent';
52
52
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAGH,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGrD,OA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ACtD,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Type definitions and response models for TABStack AI SDK
2
+ * Type definitions and response models for Tabstack SDK
3
3
  */
4
4
  /**
5
5
  * Metadata extracted from a web page
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Internal HTTP client for TABStack AI SDK
2
+ * Internal HTTP client for Tabstack SDK
3
3
  */
4
4
  export interface HTTPClientOptions {
5
5
  apiKey: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tabstack/sdk",
3
- "version": "1.0.0",
4
- "description": "TypeScript/JavaScript SDK for TABStack AI - Extract, Generate, and Automate web content",
3
+ "version": "1.0.5",
4
+ "description": "TypeScript/JavaScript SDK for Tabstack - Extract, Generate, and Automate web content",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
7
7
  "types": "./dist/types/index.d.ts",
@@ -55,14 +55,14 @@
55
55
  "typescript",
56
56
  "javascript"
57
57
  ],
58
- "author": "TABStack",
58
+ "author": "Tabstack",
59
59
  "license": "Apache-2.0",
60
60
  "repository": {
61
61
  "type": "git",
62
- "url": "https://github.com/tabstack/tabs-typescript.git"
62
+ "url": "https://github.com/Mozilla-Ocho/tabstack-typescript.git"
63
63
  },
64
64
  "bugs": {
65
- "url": "https://github.com/tabstack/tabs-typescript/issues"
65
+ "url": "https://github.com/Mozilla-Ocho/tabstack-typescript/issues"
66
66
  },
67
67
  "homepage": "https://tabstack.ai",
68
68
  "engines": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"automate.d.ts","sourceRoot":"","sources":["../../src/automate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,WAAW,sBAAsB;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CA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AAE,gBAAgB,CAAC,CAAC;oBAC1D,gBAAgB,GAAG,IAAI,CAAC;oBACxB,gBAAgB,GAAG,EAAE,CAAC;gBACxB,CAAC;YACH,CAAC;QACH,CAAC;QAED,4BAA4B;QAC5B,IAAI,gBAAgB,EAAE,CAAC;YACrB,MAAM,IAAI,CAAC,UAAU,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;QAC5D,CAAC;IACH,CAAC;IAED;;OAEG;IACK,UAAU,CAAC,SAAiB,EAAE,SAAiB;QACrD,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAA4B,CAAC;YAC9D,OAAO,qBAAa,CAAC,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QACjD,CAAC;QAAC,MAAM,CAAC;YACP,6CAA6C;YAC7C,OAAO,qBAAa,CAAC,QAAQ,CAAC,SAAS,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;CACF;AAnMD,4BAmMC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Tests for Automate operator
3
- */
4
- export {};
5
- //# sourceMappingURL=automate.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"automate.test.d.ts","sourceRoot":"","sources":["../../src/automate.test.ts"],"names":[],"mappings":"AAAA;;GAEG"}