phenoml 0.0.22 → 1.0.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.
@@ -52,8 +52,8 @@ class phenomlClient {
52
52
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
53
53
  "X-Fern-Language": "JavaScript",
54
54
  "X-Fern-SDK-Name": "phenoml",
55
- "X-Fern-SDK-Version": "0.0.22",
56
- "User-Agent": "phenoml/0.0.22",
55
+ "X-Fern-SDK-Version": "1.0.0",
56
+ "User-Agent": "phenoml/1.0.0",
57
57
  "X-Fern-Runtime": core.RUNTIME.type,
58
58
  "X-Fern-Runtime-Version": core.RUNTIME.version,
59
59
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -27,8 +27,7 @@ export declare class Agent {
27
27
  * @example
28
28
  * await client.agent.create({
29
29
  * name: "name",
30
- * prompts: ["prompt_123", "prompt_456"],
31
- * is_active: true
30
+ * prompts: ["prompt_123", "prompt_456"]
32
31
  * })
33
32
  */
34
33
  create(request: phenoml.agent.AgentCreateRequest, requestOptions?: Agent.RequestOptions): core.HttpResponsePromise<phenoml.agent.AgentResponse>;
@@ -45,7 +44,6 @@ export declare class Agent {
45
44
  *
46
45
  * @example
47
46
  * await client.agent.list({
48
- * is_active: true,
49
47
  * tags: "tags"
50
48
  * })
51
49
  */
@@ -83,8 +81,7 @@ export declare class Agent {
83
81
  * @example
84
82
  * await client.agent.update("id", {
85
83
  * name: "name",
86
- * prompts: ["prompt_123", "prompt_456"],
87
- * is_active: true
84
+ * prompts: ["prompt_123", "prompt_456"]
88
85
  * })
89
86
  */
90
87
  update(id: string, request: phenoml.agent.AgentCreateRequest, requestOptions?: Agent.RequestOptions): core.HttpResponsePromise<phenoml.agent.AgentResponse>;
@@ -83,8 +83,7 @@ class Agent {
83
83
  * @example
84
84
  * await client.agent.create({
85
85
  * name: "name",
86
- * prompts: ["prompt_123", "prompt_456"],
87
- * is_active: true
86
+ * prompts: ["prompt_123", "prompt_456"]
88
87
  * })
89
88
  */
90
89
  create(request, requestOptions) {
@@ -156,7 +155,6 @@ class Agent {
156
155
  *
157
156
  * @example
158
157
  * await client.agent.list({
159
- * is_active: true,
160
158
  * tags: "tags"
161
159
  * })
162
160
  */
@@ -166,11 +164,8 @@ class Agent {
166
164
  __list() {
167
165
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
168
166
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
169
- const { is_active: isActive, tags } = request;
167
+ const { tags } = request;
170
168
  const _queryParams = {};
171
- if (isActive != null) {
172
- _queryParams.is_active = isActive.toString();
173
- }
174
169
  if (tags != null) {
175
170
  _queryParams.tags = tags;
176
171
  }
@@ -304,8 +299,7 @@ class Agent {
304
299
  * @example
305
300
  * await client.agent.update("id", {
306
301
  * name: "name",
307
- * prompts: ["prompt_123", "prompt_456"],
308
- * is_active: true
302
+ * prompts: ["prompt_123", "prompt_456"]
309
303
  * })
310
304
  */
311
305
  update(id, request, requestOptions) {
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * is_active: true,
5
4
  * tags: "tags"
6
5
  * }
7
6
  */
8
7
  export interface AgentListRequest {
9
- /** Filter by active status */
10
- is_active?: boolean;
11
8
  /** Filter by tags */
12
9
  tags?: string;
13
10
  }
@@ -7,8 +7,6 @@ export interface AgentCreateRequest {
7
7
  prompts: string[];
8
8
  /** Array of MCP server tool IDs to use for this agent */
9
9
  tools?: string[];
10
- /** Whether the agent is active */
11
- is_active: boolean;
12
10
  /** Tags for categorizing the agent */
13
11
  tags?: string[];
14
12
  /** FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.22";
1
+ export declare const SDK_VERSION = "1.0.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.22";
4
+ exports.SDK_VERSION = "1.0.0";
@@ -16,8 +16,8 @@ export class phenomlClient {
16
16
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
17
17
  "X-Fern-Language": "JavaScript",
18
18
  "X-Fern-SDK-Name": "phenoml",
19
- "X-Fern-SDK-Version": "0.0.22",
20
- "User-Agent": "phenoml/0.0.22",
19
+ "X-Fern-SDK-Version": "1.0.0",
20
+ "User-Agent": "phenoml/1.0.0",
21
21
  "X-Fern-Runtime": core.RUNTIME.type,
22
22
  "X-Fern-Runtime-Version": core.RUNTIME.version,
23
23
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -27,8 +27,7 @@ export declare class Agent {
27
27
  * @example
28
28
  * await client.agent.create({
29
29
  * name: "name",
30
- * prompts: ["prompt_123", "prompt_456"],
31
- * is_active: true
30
+ * prompts: ["prompt_123", "prompt_456"]
32
31
  * })
33
32
  */
34
33
  create(request: phenoml.agent.AgentCreateRequest, requestOptions?: Agent.RequestOptions): core.HttpResponsePromise<phenoml.agent.AgentResponse>;
@@ -45,7 +44,6 @@ export declare class Agent {
45
44
  *
46
45
  * @example
47
46
  * await client.agent.list({
48
- * is_active: true,
49
47
  * tags: "tags"
50
48
  * })
51
49
  */
@@ -83,8 +81,7 @@ export declare class Agent {
83
81
  * @example
84
82
  * await client.agent.update("id", {
85
83
  * name: "name",
86
- * prompts: ["prompt_123", "prompt_456"],
87
- * is_active: true
84
+ * prompts: ["prompt_123", "prompt_456"]
88
85
  * })
89
86
  */
90
87
  update(id: string, request: phenoml.agent.AgentCreateRequest, requestOptions?: Agent.RequestOptions): core.HttpResponsePromise<phenoml.agent.AgentResponse>;
@@ -47,8 +47,7 @@ export class Agent {
47
47
  * @example
48
48
  * await client.agent.create({
49
49
  * name: "name",
50
- * prompts: ["prompt_123", "prompt_456"],
51
- * is_active: true
50
+ * prompts: ["prompt_123", "prompt_456"]
52
51
  * })
53
52
  */
54
53
  create(request, requestOptions) {
@@ -120,7 +119,6 @@ export class Agent {
120
119
  *
121
120
  * @example
122
121
  * await client.agent.list({
123
- * is_active: true,
124
122
  * tags: "tags"
125
123
  * })
126
124
  */
@@ -130,11 +128,8 @@ export class Agent {
130
128
  __list() {
131
129
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
132
130
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
133
- const { is_active: isActive, tags } = request;
131
+ const { tags } = request;
134
132
  const _queryParams = {};
135
- if (isActive != null) {
136
- _queryParams.is_active = isActive.toString();
137
- }
138
133
  if (tags != null) {
139
134
  _queryParams.tags = tags;
140
135
  }
@@ -268,8 +263,7 @@ export class Agent {
268
263
  * @example
269
264
  * await client.agent.update("id", {
270
265
  * name: "name",
271
- * prompts: ["prompt_123", "prompt_456"],
272
- * is_active: true
266
+ * prompts: ["prompt_123", "prompt_456"]
273
267
  * })
274
268
  */
275
269
  update(id, request, requestOptions) {
@@ -1,13 +1,10 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * is_active: true,
5
4
  * tags: "tags"
6
5
  * }
7
6
  */
8
7
  export interface AgentListRequest {
9
- /** Filter by active status */
10
- is_active?: boolean;
11
8
  /** Filter by tags */
12
9
  tags?: string;
13
10
  }
@@ -7,8 +7,6 @@ export interface AgentCreateRequest {
7
7
  prompts: string[];
8
8
  /** Array of MCP server tool IDs to use for this agent */
9
9
  tools?: string[];
10
- /** Whether the agent is active */
11
- is_active: boolean;
12
10
  /** Tags for categorizing the agent */
13
11
  tags?: string[];
14
12
  /** FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.22";
1
+ export declare const SDK_VERSION = "1.0.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.22";
1
+ export const SDK_VERSION = "1.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phenoml",
3
- "version": "0.0.22",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "repository": "github:PhenoML/phenoml-ts-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -29,8 +29,7 @@ Creates a new PhenoAgent with specified configuration
29
29
  ```typescript
30
30
  await client.agent.create({
31
31
  name: "name",
32
- prompts: ["prompt_123", "prompt_456"],
33
- is_active: true
32
+ prompts: ["prompt_123", "prompt_456"]
34
33
  });
35
34
 
36
35
  ```
@@ -95,7 +94,6 @@ Retrieves a list of PhenoAgents belonging to the authenticated user
95
94
 
96
95
  ```typescript
97
96
  await client.agent.list({
98
- is_active: true,
99
97
  tags: "tags"
100
98
  });
101
99
 
@@ -225,8 +223,7 @@ Updates an existing agent's configuration
225
223
  ```typescript
226
224
  await client.agent.update("id", {
227
225
  name: "name",
228
- prompts: ["prompt_123", "prompt_456"],
229
- is_active: true
226
+ prompts: ["prompt_123", "prompt_456"]
230
227
  });
231
228
 
232
229
  ```