@honcho-ai/core 1.7.0 → 2.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.
- package/CHANGELOG.md +58 -0
- package/LICENSE +1 -1
- package/README.md +12 -1
- package/index.d.mts +2 -5
- package/index.d.ts +2 -5
- package/index.d.ts.map +1 -1
- package/index.js +0 -3
- package/index.js.map +1 -1
- package/index.mjs +0 -3
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.ts +1 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -1
- package/resources/index.mjs.map +1 -1
- package/resources/workspaces/conclusions.d.ts +33 -66
- package/resources/workspaces/conclusions.d.ts.map +1 -1
- package/resources/workspaces/conclusions.js +12 -5
- package/resources/workspaces/conclusions.js.map +1 -1
- package/resources/workspaces/conclusions.mjs +12 -5
- package/resources/workspaces/conclusions.mjs.map +1 -1
- package/resources/workspaces/index.d.ts +6 -6
- package/resources/workspaces/index.d.ts.map +1 -1
- package/resources/workspaces/index.js +3 -4
- package/resources/workspaces/index.js.map +1 -1
- package/resources/workspaces/index.mjs +1 -1
- package/resources/workspaces/index.mjs.map +1 -1
- package/resources/workspaces/peers/index.d.ts +1 -1
- package/resources/workspaces/peers/index.d.ts.map +1 -1
- package/resources/workspaces/peers/peers.d.ts +82 -153
- package/resources/workspaces/peers/peers.d.ts.map +1 -1
- package/resources/workspaces/peers/peers.js +24 -20
- package/resources/workspaces/peers/peers.js.map +1 -1
- package/resources/workspaces/peers/peers.mjs +24 -20
- package/resources/workspaces/peers/peers.mjs.map +1 -1
- package/resources/workspaces/peers/sessions.d.ts +1 -1
- package/resources/workspaces/queue.d.ts +82 -0
- package/resources/workspaces/queue.d.ts.map +1 -0
- package/resources/workspaces/queue.js +16 -0
- package/resources/workspaces/queue.js.map +1 -0
- package/resources/workspaces/queue.mjs +12 -0
- package/resources/workspaces/queue.mjs.map +1 -0
- package/resources/workspaces/sessions/index.d.ts +2 -2
- package/resources/workspaces/sessions/index.d.ts.map +1 -1
- package/resources/workspaces/sessions/index.js.map +1 -1
- package/resources/workspaces/sessions/index.mjs.map +1 -1
- package/resources/workspaces/sessions/messages.d.ts +13 -11
- package/resources/workspaces/sessions/messages.d.ts.map +1 -1
- package/resources/workspaces/sessions/messages.js +10 -8
- package/resources/workspaces/sessions/messages.js.map +1 -1
- package/resources/workspaces/sessions/messages.mjs +10 -8
- package/resources/workspaces/sessions/messages.mjs.map +1 -1
- package/resources/workspaces/sessions/peers.d.ts +15 -12
- package/resources/workspaces/sessions/peers.d.ts.map +1 -1
- package/resources/workspaces/sessions/peers.js +12 -7
- package/resources/workspaces/sessions/peers.js.map +1 -1
- package/resources/workspaces/sessions/peers.mjs +12 -7
- package/resources/workspaces/sessions/peers.mjs.map +1 -1
- package/resources/workspaces/sessions/sessions.d.ts +40 -118
- package/resources/workspaces/sessions/sessions.d.ts.map +1 -1
- package/resources/workspaces/sessions/sessions.js +19 -17
- package/resources/workspaces/sessions/sessions.js.map +1 -1
- package/resources/workspaces/sessions/sessions.mjs +19 -17
- package/resources/workspaces/sessions/sessions.mjs.map +1 -1
- package/resources/workspaces/webhooks.d.ts +2 -3
- package/resources/workspaces/webhooks.d.ts.map +1 -1
- package/resources/workspaces/webhooks.js +4 -1
- package/resources/workspaces/webhooks.js.map +1 -1
- package/resources/workspaces/webhooks.mjs +4 -1
- package/resources/workspaces/webhooks.mjs.map +1 -1
- package/resources/workspaces/workspaces.d.ts +59 -196
- package/resources/workspaces/workspaces.d.ts.map +1 -1
- package/resources/workspaces/workspaces.js +32 -34
- package/resources/workspaces/workspaces.js.map +1 -1
- package/resources/workspaces/workspaces.mjs +34 -36
- package/resources/workspaces/workspaces.mjs.map +1 -1
- package/src/index.ts +4 -21
- package/src/resources/index.ts +2 -7
- package/src/resources/workspaces/conclusions.ts +36 -78
- package/src/resources/workspaces/index.ts +9 -33
- package/src/resources/workspaces/peers/index.ts +4 -4
- package/src/resources/workspaces/peers/peers.ts +102 -181
- package/src/resources/workspaces/peers/sessions.ts +1 -1
- package/src/resources/workspaces/queue.ts +111 -0
- package/src/resources/workspaces/sessions/index.ts +2 -3
- package/src/resources/workspaces/sessions/messages.ts +25 -23
- package/src/resources/workspaces/sessions/peers.ts +16 -14
- package/src/resources/workspaces/sessions/sessions.ts +53 -143
- package/src/resources/workspaces/webhooks.ts +5 -5
- package/src/resources/workspaces/workspaces.ts +99 -325
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/keys.d.ts +0 -29
- package/resources/keys.d.ts.map +0 -1
- package/resources/keys.js +0 -20
- package/resources/keys.js.map +0 -1
- package/resources/keys.mjs +0 -16
- package/resources/keys.mjs.map +0 -1
- package/resources/workspaces/observations.d.ts +0 -166
- package/resources/workspaces/observations.d.ts.map +0 -1
- package/resources/workspaces/observations.js +0 -64
- package/resources/workspaces/observations.js.map +0 -1
- package/resources/workspaces/observations.mjs +0 -59
- package/resources/workspaces/observations.mjs.map +0 -1
- package/src/resources/keys.ts +0 -51
- package/src/resources/workspaces/observations.ts +0 -249
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0 (2026-01-12)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.8.0...v2.0.0](https://github.com/plastic-labs/honcho-node-core/compare/v1.8.0...v2.0.0)
|
|
6
|
+
|
|
7
|
+
### ⚠ BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
* **mcp:** remove deprecated tool schemes
|
|
10
|
+
* **mcp:** **Migration:** To migrate, simply modify the command used to invoke the MCP server. Currently, the only supported tool scheme is code mode. Now, starting the server with just `node /path/to/mcp/server` or `npx package-name` will invoke code tools: changing your command to one of these is likely all you will need to do.
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **api:** add PeerGetRepresentationResponse ([8cc64d7](https://github.com/plastic-labs/honcho-node-core/commit/8cc64d7a5f2b5560939f769e2f68925e11fa25b9))
|
|
15
|
+
* **api:** honcho 2.6.0 interface ([0a8bff5](https://github.com/plastic-labs/honcho-node-core/commit/0a8bff5419c949180d39e9bc9d5d8750867d2240))
|
|
16
|
+
* **api:** manual updates ([7cd684c](https://github.com/plastic-labs/honcho-node-core/commit/7cd684ce61594b777aa9e6bdf9d7831a2af229ab))
|
|
17
|
+
* **api:** manual updates ([dc4ac0f](https://github.com/plastic-labs/honcho-node-core/commit/dc4ac0ffd48642608da2f99f306f77f7ee5a9d1d))
|
|
18
|
+
* **api:** manual updates -- `consolidate` dream_type to `omni` ([844cbb4](https://github.com/plastic-labs/honcho-node-core/commit/844cbb4ce01babf84633b2e9bc850c93b11a2f29))
|
|
19
|
+
* **api:** remove last 'observation' references ([eb114aa](https://github.com/plastic-labs/honcho-node-core/commit/eb114aa91328fa9cbc81a38b629a47cfe8f7e9fb))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **mcp:** correct code tool api output types ([c7987b7](https://github.com/plastic-labs/honcho-node-core/commit/c7987b7cab57067524da636b85d1363e94b50395))
|
|
25
|
+
* **mcp:** fix options parsing ([d80be1d](https://github.com/plastic-labs/honcho-node-core/commit/d80be1db7ce82cfbd290e95659c43ce83311c0e6))
|
|
26
|
+
* **mcp:** pass base url to code tool ([2442bcb](https://github.com/plastic-labs/honcho-node-core/commit/2442bcbf0d188dfb71d3b01ffc3e8b639d94420b))
|
|
27
|
+
* **mcp:** update code tool prompt ([79288fa](https://github.com/plastic-labs/honcho-node-core/commit/79288fa69be7a18c7017d1a2ce7ba27ba96b8b83))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Chores
|
|
31
|
+
|
|
32
|
+
* break long lines in snippets into multiline ([5f1245b](https://github.com/plastic-labs/honcho-node-core/commit/5f1245b78d474a1e8f6f7e31a2ce934cc26458ce))
|
|
33
|
+
* **internal:** codegen related update ([8e00aef](https://github.com/plastic-labs/honcho-node-core/commit/8e00aeff9dd7fff301f037664f32c16ace55943c))
|
|
34
|
+
* **internal:** codegen related update ([d1f5880](https://github.com/plastic-labs/honcho-node-core/commit/d1f5880757921a677b7c6f9966964ccf92b178dc))
|
|
35
|
+
* **internal:** codegen related update ([732d07d](https://github.com/plastic-labs/honcho-node-core/commit/732d07dd64b51b498f0601cad9ed67e991e90586))
|
|
36
|
+
* **mcp:** remove deprecated tool schemes ([0b85e67](https://github.com/plastic-labs/honcho-node-core/commit/0b85e67d8d1a978088cab37f212a3c4f5b96c254))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Documentation
|
|
40
|
+
|
|
41
|
+
* prominently feature MCP server setup in root SDK readmes ([d6fcd0d](https://github.com/plastic-labs/honcho-node-core/commit/d6fcd0d635b032675ceb2c2dfc7f6d88aadabb12))
|
|
42
|
+
|
|
43
|
+
## 1.8.0 (2025-12-15)
|
|
44
|
+
|
|
45
|
+
Full Changelog: [v1.7.0...v1.8.0](https://github.com/plastic-labs/honcho-node-core/compare/v1.7.0...v1.8.0)
|
|
46
|
+
|
|
47
|
+
### Features
|
|
48
|
+
|
|
49
|
+
* **api:** remove accidental "conclusions" and "QueueStatus" from main ([e8fdbd5](https://github.com/plastic-labs/honcho-node-core/commit/e8fdbd5600b70283d88461cdb5f7860a212d05dc))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Bug Fixes
|
|
53
|
+
|
|
54
|
+
* **mcp:** add client instantiation options to code tool ([9a75f57](https://github.com/plastic-labs/honcho-node-core/commit/9a75f57280e2ee27cbf7fc983cd847751b27a671))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Chores
|
|
58
|
+
|
|
59
|
+
* **mcp:** update lockfile ([0267d53](https://github.com/plastic-labs/honcho-node-core/commit/0267d53ffee27ea4bb06f93b9e57069ac46b1536))
|
|
60
|
+
|
|
3
61
|
## 1.7.0 (2025-12-08)
|
|
4
62
|
|
|
5
63
|
Full Changelog: [v1.6.1...v1.7.0](https://github.com/plastic-labs/honcho-node-core/compare/v1.6.1...v1.7.0)
|
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2026 Honcho
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -8,6 +8,15 @@ The REST API documentation can be found on [docs.honcho.dev](https://docs.honcho
|
|
|
8
8
|
|
|
9
9
|
It is generated with [Stainless](https://www.stainless.com/).
|
|
10
10
|
|
|
11
|
+
## MCP Server
|
|
12
|
+
|
|
13
|
+
Use the Honcho MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
|
|
14
|
+
|
|
15
|
+
[](https://cursor.com/en-US/install-mcp?name=%40honcho-ai%2Fmcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBob25jaG8tYWkvbWNwIl19)
|
|
16
|
+
[](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40honcho-ai%2Fmcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40honcho-ai%2Fmcp%22%5D%7D)
|
|
17
|
+
|
|
18
|
+
> Note: You may need to set environment variables in your MCP client.
|
|
19
|
+
|
|
11
20
|
## Installation
|
|
12
21
|
|
|
13
22
|
```sh
|
|
@@ -217,7 +226,9 @@ const response = await client.workspaces.getOrCreate({ id: 'id' }).asResponse();
|
|
|
217
226
|
console.log(response.headers.get('X-My-Header'));
|
|
218
227
|
console.log(response.statusText); // access the underlying Response object
|
|
219
228
|
|
|
220
|
-
const { data: workspace, response: raw } = await client.workspaces
|
|
229
|
+
const { data: workspace, response: raw } = await client.workspaces
|
|
230
|
+
.getOrCreate({ id: 'id' })
|
|
231
|
+
.withResponse();
|
|
221
232
|
console.log(raw.headers.get('X-My-Header'));
|
|
222
233
|
console.log(workspace.id);
|
|
223
234
|
```
|
package/index.d.mts
CHANGED
|
@@ -5,8 +5,7 @@ import * as Pagination from "./pagination.js";
|
|
|
5
5
|
import { type PageParams, PageResponse } from "./pagination.js";
|
|
6
6
|
import * as Uploads from "./uploads.js";
|
|
7
7
|
import * as API from "./resources/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import { DeriverConfiguration, DeriverStatus, DreamConfiguration, MessageSearchOptions, PeerCardConfiguration, QueueStatus, SummaryConfiguration, Workspace, WorkspaceConfiguration, WorkspaceDeriverStatusParams, WorkspaceGetOrCreateParams, WorkspaceListParams, WorkspaceQueueStatusParams, WorkspaceSearchParams, WorkspaceSearchResponse, WorkspaceTriggerDreamParams, WorkspaceUpdateParams, Workspaces, WorkspacesPage } from "./resources/workspaces/workspaces.js";
|
|
8
|
+
import { DreamConfiguration, MessageSearchOptions, PeerCardConfiguration, ReasoningConfiguration, SummaryConfiguration, Workspace, WorkspaceConfiguration, WorkspaceGetOrCreateParams, WorkspaceListParams, WorkspaceScheduleDreamParams, WorkspaceSearchParams, WorkspaceSearchResponse, WorkspaceUpdateParams, Workspaces, WorkspacesPage } from "./resources/workspaces/workspaces.js";
|
|
10
9
|
declare const environments: {
|
|
11
10
|
production: string;
|
|
12
11
|
local: string;
|
|
@@ -99,7 +98,6 @@ export declare class Honcho extends Core.APIClient {
|
|
|
99
98
|
*/
|
|
100
99
|
constructor({ baseURL, apiKey, ...opts }?: ClientOptions);
|
|
101
100
|
workspaces: API.Workspaces;
|
|
102
|
-
keys: API.Keys;
|
|
103
101
|
protected defaultQuery(): Core.DefaultQuery | undefined;
|
|
104
102
|
protected defaultHeaders(opts: Core.FinalRequestOptions): Core.Headers;
|
|
105
103
|
protected authHeaders(opts: Core.FinalRequestOptions): Core.Headers;
|
|
@@ -125,8 +123,7 @@ export declare namespace Honcho {
|
|
|
125
123
|
export type RequestOptions = Core.RequestOptions;
|
|
126
124
|
export import Page = Pagination.Page;
|
|
127
125
|
export { type PageParams as PageParams, type PageResponse as PageResponse };
|
|
128
|
-
export { Workspaces as Workspaces, type
|
|
129
|
-
export { Keys as Keys, type KeyCreateResponse as KeyCreateResponse, type KeyCreateParams as KeyCreateParams, };
|
|
126
|
+
export { Workspaces as Workspaces, type DreamConfiguration as DreamConfiguration, type MessageSearchOptions as MessageSearchOptions, type PeerCardConfiguration as PeerCardConfiguration, type ReasoningConfiguration as ReasoningConfiguration, type SummaryConfiguration as SummaryConfiguration, type Workspace as Workspace, type WorkspaceConfiguration as WorkspaceConfiguration, type WorkspaceSearchResponse as WorkspaceSearchResponse, WorkspacesPage as WorkspacesPage, type WorkspaceUpdateParams as WorkspaceUpdateParams, type WorkspaceListParams as WorkspaceListParams, type WorkspaceGetOrCreateParams as WorkspaceGetOrCreateParams, type WorkspaceScheduleDreamParams as WorkspaceScheduleDreamParams, type WorkspaceSearchParams as WorkspaceSearchParams, };
|
|
130
127
|
}
|
|
131
128
|
export { toFile, fileFromPath } from "./uploads.js";
|
|
132
129
|
export { HonchoError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./error.js";
|
package/index.d.ts
CHANGED
|
@@ -5,8 +5,7 @@ import * as Pagination from "./pagination.js";
|
|
|
5
5
|
import { type PageParams, PageResponse } from "./pagination.js";
|
|
6
6
|
import * as Uploads from "./uploads.js";
|
|
7
7
|
import * as API from "./resources/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import { DeriverConfiguration, DeriverStatus, DreamConfiguration, MessageSearchOptions, PeerCardConfiguration, QueueStatus, SummaryConfiguration, Workspace, WorkspaceConfiguration, WorkspaceDeriverStatusParams, WorkspaceGetOrCreateParams, WorkspaceListParams, WorkspaceQueueStatusParams, WorkspaceSearchParams, WorkspaceSearchResponse, WorkspaceTriggerDreamParams, WorkspaceUpdateParams, Workspaces, WorkspacesPage } from "./resources/workspaces/workspaces.js";
|
|
8
|
+
import { DreamConfiguration, MessageSearchOptions, PeerCardConfiguration, ReasoningConfiguration, SummaryConfiguration, Workspace, WorkspaceConfiguration, WorkspaceGetOrCreateParams, WorkspaceListParams, WorkspaceScheduleDreamParams, WorkspaceSearchParams, WorkspaceSearchResponse, WorkspaceUpdateParams, Workspaces, WorkspacesPage } from "./resources/workspaces/workspaces.js";
|
|
10
9
|
declare const environments: {
|
|
11
10
|
production: string;
|
|
12
11
|
local: string;
|
|
@@ -99,7 +98,6 @@ export declare class Honcho extends Core.APIClient {
|
|
|
99
98
|
*/
|
|
100
99
|
constructor({ baseURL, apiKey, ...opts }?: ClientOptions);
|
|
101
100
|
workspaces: API.Workspaces;
|
|
102
|
-
keys: API.Keys;
|
|
103
101
|
protected defaultQuery(): Core.DefaultQuery | undefined;
|
|
104
102
|
protected defaultHeaders(opts: Core.FinalRequestOptions): Core.Headers;
|
|
105
103
|
protected authHeaders(opts: Core.FinalRequestOptions): Core.Headers;
|
|
@@ -125,8 +123,7 @@ export declare namespace Honcho {
|
|
|
125
123
|
export type RequestOptions = Core.RequestOptions;
|
|
126
124
|
export import Page = Pagination.Page;
|
|
127
125
|
export { type PageParams as PageParams, type PageResponse as PageResponse };
|
|
128
|
-
export { Workspaces as Workspaces, type
|
|
129
|
-
export { Keys as Keys, type KeyCreateResponse as KeyCreateResponse, type KeyCreateParams as KeyCreateParams, };
|
|
126
|
+
export { Workspaces as Workspaces, type DreamConfiguration as DreamConfiguration, type MessageSearchOptions as MessageSearchOptions, type PeerCardConfiguration as PeerCardConfiguration, type ReasoningConfiguration as ReasoningConfiguration, type SummaryConfiguration as SummaryConfiguration, type Workspace as Workspace, type WorkspaceConfiguration as WorkspaceConfiguration, type WorkspaceSearchResponse as WorkspaceSearchResponse, WorkspacesPage as WorkspacesPage, type WorkspaceUpdateParams as WorkspaceUpdateParams, type WorkspaceListParams as WorkspaceListParams, type WorkspaceGetOrCreateParams as WorkspaceGetOrCreateParams, type WorkspaceScheduleDreamParams as WorkspaceScheduleDreamParams, type WorkspaceSearchParams as WorkspaceSearchParams, };
|
|
130
127
|
}
|
|
131
128
|
export { toFile, fileFromPath } from "./uploads.js";
|
|
132
129
|
export { HonchoError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./error.js";
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AACzC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,GAAG,MAAM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ACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,cAAc,IAAI,cAAc,EAChC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH;AAED,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EACL,WAAW,EACX,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,SAAS,CAAC;AAEjB,eAAe,MAAM,CAAC"}
|
package/index.js
CHANGED
|
@@ -31,7 +31,6 @@ const Errors = __importStar(require("./error.js"));
|
|
|
31
31
|
const Pagination = __importStar(require("./pagination.js"));
|
|
32
32
|
const Uploads = __importStar(require("./uploads.js"));
|
|
33
33
|
const API = __importStar(require("./resources/index.js"));
|
|
34
|
-
const keys_1 = require("./resources/keys.js");
|
|
35
34
|
const workspaces_1 = require("./resources/workspaces/workspaces.js");
|
|
36
35
|
const environments = {
|
|
37
36
|
production: 'https://api.honcho.dev',
|
|
@@ -74,7 +73,6 @@ class Honcho extends Core.APIClient {
|
|
|
74
73
|
});
|
|
75
74
|
_Honcho_instances.add(this);
|
|
76
75
|
this.workspaces = new API.Workspaces(this);
|
|
77
|
-
this.keys = new API.Keys(this);
|
|
78
76
|
this._options = options;
|
|
79
77
|
this.apiKey = apiKey;
|
|
80
78
|
}
|
|
@@ -117,7 +115,6 @@ Honcho.toFile = Uploads.toFile;
|
|
|
117
115
|
Honcho.fileFromPath = Uploads.fileFromPath;
|
|
118
116
|
Honcho.Workspaces = workspaces_1.Workspaces;
|
|
119
117
|
Honcho.WorkspacesPage = workspaces_1.WorkspacesPage;
|
|
120
|
-
Honcho.Keys = keys_1.Keys;
|
|
121
118
|
var uploads_1 = require("./uploads.js");
|
|
122
119
|
Object.defineProperty(exports, "toFile", { enumerable: true, get: function () { return uploads_1.toFile; } });
|
|
123
120
|
Object.defineProperty(exports, "fileFromPath", { enumerable: true, get: function () { return uploads_1.fileFromPath; } });
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,gDAA+B;AAC/B,mDAAkC;AAClC,4DAA2C;AAE3C,sDAAqC;AACrC,0DAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,gDAA+B;AAC/B,mDAAkC;AAClC,4DAA2C;AAE3C,sDAAqC;AACrC,0DAAyC;AACzC,qEAgB2C;AAE3C,MAAM,YAAY,GAAG;IACnB,UAAU,EAAE,wBAAwB;IACpC,KAAK,EAAE,uBAAuB;CAC/B,CAAC;AA6EF;;GAEG;AACH,MAAa,MAAO,SAAQ,IAAI,CAAC,SAAS;IAKxC;;;;;;;;;;;;OAYG;IACH,YAAY,EACV,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EACzC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,IAAI,EAC/C,GAAG,IAAI,KACU,EAAE;QACnB,MAAM,OAAO,GAAkB;YAC7B,MAAM;YACN,GAAG,IAAI;YACP,OAAO;YACP,WAAW,EAAE,IAAI,CAAC,W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mBAAmB,OAAA;AACnB,4GAAA,mBAAmB,OAAA;AACnB,8GAAA,qBAAqB,OAAA;AACrB,iHAAA,wBAAwB,OAAA;AAG1B,kBAAe,MAAM,CAAC"}
|
package/index.mjs
CHANGED
|
@@ -5,7 +5,6 @@ import * as Errors from "./error.mjs";
|
|
|
5
5
|
import * as Pagination from "./pagination.mjs";
|
|
6
6
|
import * as Uploads from "./uploads.mjs";
|
|
7
7
|
import * as API from "./resources/index.mjs";
|
|
8
|
-
import { Keys } from "./resources/keys.mjs";
|
|
9
8
|
import { Workspaces, WorkspacesPage, } from "./resources/workspaces/workspaces.mjs";
|
|
10
9
|
const environments = {
|
|
11
10
|
production: 'https://api.honcho.dev',
|
|
@@ -48,7 +47,6 @@ export class Honcho extends Core.APIClient {
|
|
|
48
47
|
});
|
|
49
48
|
_Honcho_instances.add(this);
|
|
50
49
|
this.workspaces = new API.Workspaces(this);
|
|
51
|
-
this.keys = new API.Keys(this);
|
|
52
50
|
this._options = options;
|
|
53
51
|
this.apiKey = apiKey;
|
|
54
52
|
}
|
|
@@ -90,7 +88,6 @@ Honcho.toFile = Uploads.toFile;
|
|
|
90
88
|
Honcho.fileFromPath = Uploads.fileFromPath;
|
|
91
89
|
Honcho.Workspaces = Workspaces;
|
|
92
90
|
Honcho.WorkspacesPage = WorkspacesPage;
|
|
93
|
-
Honcho.Keys = Keys;
|
|
94
91
|
export { toFile, fileFromPath } from "./uploads.mjs";
|
|
95
92
|
export { HonchoError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./error.mjs";
|
|
96
93
|
export default Honcho;
|
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,KAAK,IAAI;OACT,KAAK,MAAM;OACX,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C,0BAAmB,GAAG,MAAM,CAAC,mBAAmB,CAAC;AACjD,0BAAmB,GAAG,MAAM,CAAC,mBAAmB,CAAC;AACjD,4BAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACrD,+BAAwB,GAAG,MAAM,CAAC,wBAAwB,CAAC;AAE3D,aAAM,GAAG,OAAO,CAAC,MAAM,CAAC;AACxB,mBAAY,GAAG,OAAO,CAAC,YAAY,CAAC;AAG7C,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC;AAC/B,MAAM,CAAC,cAAc,GAAG,cAAc,CAAC;OA2BhC,EAAE,MAAM,EAAE,YAAY,EAAE;OACxB,EACL,WAAW,EACX,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB;AAED,eAAe,MAAM,CAAC"}
|
package/package.json
CHANGED
package/resources/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { WorkspacesPage, Workspaces, type DeriverConfiguration, type DeriverStatus, type DreamConfiguration, type MessageSearchOptions, type PeerCardConfiguration, type QueueStatus, type SummaryConfiguration, type Workspace, type WorkspaceConfiguration, type WorkspaceSearchResponse, type WorkspaceUpdateParams, type WorkspaceListParams, type WorkspaceDeriverStatusParams, type WorkspaceGetOrCreateParams, type WorkspaceQueueStatusParams, type WorkspaceSearchParams, type WorkspaceTriggerDreamParams, } from "./workspaces/workspaces.js";
|
|
1
|
+
export { WorkspacesPage, Workspaces, type DreamConfiguration, type MessageSearchOptions, type PeerCardConfiguration, type ReasoningConfiguration, type SummaryConfiguration, type Workspace, type WorkspaceConfiguration, type WorkspaceSearchResponse, type WorkspaceUpdateParams, type WorkspaceListParams, type WorkspaceGetOrCreateParams, type WorkspaceScheduleDreamParams, type WorkspaceSearchParams, } from "./workspaces/workspaces.js";
|
|
3
2
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,cAAc,EACd,UAAU,EACV,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,GAC3B,MAAM,yBAAyB,CAAC"}
|
package/resources/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Workspaces = exports.WorkspacesPage =
|
|
5
|
-
var keys_1 = require("./keys.js");
|
|
6
|
-
Object.defineProperty(exports, "Keys", { enumerable: true, get: function () { return keys_1.Keys; } });
|
|
4
|
+
exports.Workspaces = exports.WorkspacesPage = void 0;
|
|
7
5
|
var workspaces_1 = require("./workspaces/workspaces.js");
|
|
8
6
|
Object.defineProperty(exports, "WorkspacesPage", { enumerable: true, get: function () { return workspaces_1.WorkspacesPage; } });
|
|
9
7
|
Object.defineProperty(exports, "Workspaces", { enumerable: true, get: function () { return workspaces_1.Workspaces; } });
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,yDAgBiC;AAf/B,4GAAA,cAAc,OAAA;AACd,wGAAA,UAAU,OAAA"}
|
package/resources/index.mjs
CHANGED
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,cAAc,EACd,UAAU,GAcX"}
|
|
@@ -3,23 +3,27 @@ import * as Core from "../../core.js";
|
|
|
3
3
|
import { Page, type PageParams } from "../../pagination.js";
|
|
4
4
|
export declare class Conclusions extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* Create one or more
|
|
6
|
+
* Create one or more Conclusions.
|
|
7
7
|
*
|
|
8
|
-
* Conclusions are
|
|
8
|
+
* Conclusions are logical certainties derived from interactions between Peers.
|
|
9
|
+
* They form the basis of a Peer's Representation.
|
|
9
10
|
*/
|
|
10
11
|
create(workspaceId: string, body: ConclusionCreateParams, options?: Core.RequestOptions): Core.APIPromise<ConclusionCreateResponse>;
|
|
11
12
|
/**
|
|
12
|
-
* List
|
|
13
|
-
* true.
|
|
13
|
+
* List Conclusions using optional filters, ordered by recency unless `reverse` is
|
|
14
|
+
* true. Results are paginated.
|
|
14
15
|
*/
|
|
15
16
|
list(workspaceId: string, params?: ConclusionListParams, options?: Core.RequestOptions): Core.PagePromise<ConclusionsPage, Conclusion>;
|
|
16
17
|
list(workspaceId: string, options?: Core.RequestOptions): Core.PagePromise<ConclusionsPage, Conclusion>;
|
|
17
18
|
/**
|
|
18
|
-
* Delete a
|
|
19
|
+
* Delete a single Conclusion by ID.
|
|
20
|
+
*
|
|
21
|
+
* This action cannot be undone.
|
|
19
22
|
*/
|
|
20
|
-
delete(workspaceId: string, conclusionId: string, options?: Core.RequestOptions): Core.APIPromise<
|
|
23
|
+
delete(workspaceId: string, conclusionId: string, options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
21
24
|
/**
|
|
22
|
-
* Query
|
|
25
|
+
* Query Conclusions using semantic search. Use `top_k` to control the number of
|
|
26
|
+
* results returned.
|
|
23
27
|
*/
|
|
24
28
|
query(workspaceId: string, body: ConclusionQueryParams, options?: Core.RequestOptions): Core.APIPromise<ConclusionQueryResponse>;
|
|
25
29
|
}
|
|
@@ -42,67 +46,30 @@ export interface Conclusion {
|
|
|
42
46
|
observer_id: string;
|
|
43
47
|
session_id: string;
|
|
44
48
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Schema for creating a single conclusion.
|
|
47
|
-
*/
|
|
48
|
-
export interface ConclusionCreate {
|
|
49
|
-
content: string;
|
|
50
|
-
/**
|
|
51
|
-
* The peer the conclusion is about
|
|
52
|
-
*/
|
|
53
|
-
observed_id: string;
|
|
54
|
-
/**
|
|
55
|
-
* The peer making the conclusion
|
|
56
|
-
*/
|
|
57
|
-
observer_id: string;
|
|
58
|
-
/**
|
|
59
|
-
* The session this conclusion relates to
|
|
60
|
-
*/
|
|
61
|
-
session_id: string;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Schema for listing conclusions with optional filters.
|
|
65
|
-
*/
|
|
66
|
-
export interface ConclusionGet {
|
|
67
|
-
filters?: {
|
|
68
|
-
[key: string]: unknown;
|
|
69
|
-
} | null;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Query parameters for semantic search of conclusions.
|
|
73
|
-
*/
|
|
74
|
-
export interface ConclusionQuery {
|
|
75
|
-
/**
|
|
76
|
-
* Semantic search query
|
|
77
|
-
*/
|
|
78
|
-
query: string;
|
|
79
|
-
/**
|
|
80
|
-
* Maximum cosine distance threshold for results
|
|
81
|
-
*/
|
|
82
|
-
distance?: number | null;
|
|
83
|
-
/**
|
|
84
|
-
* Additional filters to apply
|
|
85
|
-
*/
|
|
86
|
-
filters?: {
|
|
87
|
-
[key: string]: unknown;
|
|
88
|
-
} | null;
|
|
89
|
-
/**
|
|
90
|
-
* Number of results to return
|
|
91
|
-
*/
|
|
92
|
-
top_k?: number;
|
|
93
|
-
}
|
|
94
|
-
export interface PageConclusion {
|
|
95
|
-
items: Array<Conclusion>;
|
|
96
|
-
page: number;
|
|
97
|
-
size: number;
|
|
98
|
-
pages?: number;
|
|
99
|
-
total?: number;
|
|
100
|
-
}
|
|
101
49
|
export type ConclusionCreateResponse = Array<Conclusion>;
|
|
102
|
-
export type ConclusionDeleteResponse = unknown;
|
|
103
50
|
export type ConclusionQueryResponse = Array<Conclusion>;
|
|
104
51
|
export interface ConclusionCreateParams {
|
|
105
|
-
conclusions: Array<
|
|
52
|
+
conclusions: Array<ConclusionCreateParams.Conclusion>;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace ConclusionCreateParams {
|
|
55
|
+
/**
|
|
56
|
+
* Schema for creating a single conclusion.
|
|
57
|
+
*/
|
|
58
|
+
interface Conclusion {
|
|
59
|
+
content: string;
|
|
60
|
+
/**
|
|
61
|
+
* The peer the conclusion is about
|
|
62
|
+
*/
|
|
63
|
+
observed_id: string;
|
|
64
|
+
/**
|
|
65
|
+
* The peer making the conclusion
|
|
66
|
+
*/
|
|
67
|
+
observer_id: string;
|
|
68
|
+
/**
|
|
69
|
+
* The session this conclusion relates to
|
|
70
|
+
*/
|
|
71
|
+
session_id: string;
|
|
72
|
+
}
|
|
106
73
|
}
|
|
107
74
|
export interface ConclusionListParams extends PageParams {
|
|
108
75
|
/**
|
|
@@ -137,6 +104,6 @@ export interface ConclusionQueryParams {
|
|
|
137
104
|
top_k?: number;
|
|
138
105
|
}
|
|
139
106
|
export declare namespace Conclusions {
|
|
140
|
-
export { type Conclusion as Conclusion, type
|
|
107
|
+
export { type Conclusion as Conclusion, type ConclusionCreateResponse as ConclusionCreateResponse, type ConclusionQueryResponse as ConclusionQueryResponse, ConclusionsPage as ConclusionsPage, type ConclusionCreateParams as ConclusionCreateParams, type ConclusionListParams as ConclusionListParams, type ConclusionQueryParams as ConclusionQueryParams, };
|
|
141
108
|
}
|
|
142
109
|
//# sourceMappingURL=conclusions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conclusions.d.ts","sourceRoot":"","sources":["../../src/resources/workspaces/conclusions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEzD,qBAAa,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"conclusions.d.ts","sourceRoot":"","sources":["../../src/resources/workspaces/conclusions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEzD,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;OAKG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAI5C;;;OAGG;IACH,IAAI,CACF,WAAW,EAAE,MAAM,EACnB,MAAM,CAAC,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,eAAe,EAAE,UAAU,CAAC;IAChD,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,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IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAE5C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAID,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,eAAe,IAAI,eAAe,EAClC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -7,9 +7,10 @@ const core_1 = require("../../core.js");
|
|
|
7
7
|
const pagination_1 = require("../../pagination.js");
|
|
8
8
|
class Conclusions extends resource_1.APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* Create one or more
|
|
10
|
+
* Create one or more Conclusions.
|
|
11
11
|
*
|
|
12
|
-
* Conclusions are
|
|
12
|
+
* Conclusions are logical certainties derived from interactions between Peers.
|
|
13
|
+
* They form the basis of a Peer's Representation.
|
|
13
14
|
*/
|
|
14
15
|
create(workspaceId, body, options) {
|
|
15
16
|
return this._client.post(`/v2/workspaces/${workspaceId}/conclusions`, { body, ...options });
|
|
@@ -27,13 +28,19 @@ class Conclusions extends resource_1.APIResource {
|
|
|
27
28
|
});
|
|
28
29
|
}
|
|
29
30
|
/**
|
|
30
|
-
* Delete a
|
|
31
|
+
* Delete a single Conclusion by ID.
|
|
32
|
+
*
|
|
33
|
+
* This action cannot be undone.
|
|
31
34
|
*/
|
|
32
35
|
delete(workspaceId, conclusionId, options) {
|
|
33
|
-
return this._client.delete(`/v2/workspaces/${workspaceId}/conclusions/${conclusionId}`,
|
|
36
|
+
return this._client.delete(`/v2/workspaces/${workspaceId}/conclusions/${conclusionId}`, {
|
|
37
|
+
...options,
|
|
38
|
+
headers: { Accept: '*/*', ...options?.headers },
|
|
39
|
+
});
|
|
34
40
|
}
|
|
35
41
|
/**
|
|
36
|
-
* Query
|
|
42
|
+
* Query Conclusions using semantic search. Use `top_k` to control the number of
|
|
43
|
+
* results returned.
|
|
37
44
|
*/
|
|
38
45
|
query(workspaceId, body, options) {
|
|
39
46
|
return this._client.post(`/v2/workspaces/${workspaceId}/conclusions/query`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conclusions.js","sourceRoot":"","sources":["../../src/resources/workspaces/conclusions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,oDAAyD;AAEzD,MAAa,WAAY,SAAQ,sBAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"conclusions.js","sourceRoot":"","sources":["../../src/resources/workspaces/conclusions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,oDAAyD;AAEzD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;OAKG;IACH,MAAM,CACJ,WAAmB,EACnB,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,WAAW,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAYD,IAAI,CACF,WAAmB,EACnB,SAAqD,EAAE,EACvD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;SAC3C;QACD,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,WAAW,mBAAmB,EAAE,eAAe,EAAE;YAChG,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE;YAC9B,IAAI;YACJ,MAAM,EAAE,MAAM;YACd,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,WAAmB,EAAE,YAAoB,EAAE,OAA6B;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,WAAW,gBAAgB,YAAY,EAAE,EAAE;YACtF,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAChD,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,KAAK,CACH,WAAmB,EACnB,IAA2B,EAC3B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,WAAW,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF;AAjED,kCAiEC;AAED,MAAa,eAAgB,SAAQ,iBAAgB;CAAG;AAAxD,0CAAwD;AA2FxD,WAAW,CAAC,eAAe,GAAG,eAAe,CAAC"}
|
|
@@ -4,9 +4,10 @@ import { isRequestOptions } from "../../core.mjs";
|
|
|
4
4
|
import { Page } from "../../pagination.mjs";
|
|
5
5
|
export class Conclusions extends APIResource {
|
|
6
6
|
/**
|
|
7
|
-
* Create one or more
|
|
7
|
+
* Create one or more Conclusions.
|
|
8
8
|
*
|
|
9
|
-
* Conclusions are
|
|
9
|
+
* Conclusions are logical certainties derived from interactions between Peers.
|
|
10
|
+
* They form the basis of a Peer's Representation.
|
|
10
11
|
*/
|
|
11
12
|
create(workspaceId, body, options) {
|
|
12
13
|
return this._client.post(`/v2/workspaces/${workspaceId}/conclusions`, { body, ...options });
|
|
@@ -24,13 +25,19 @@ export class Conclusions extends APIResource {
|
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
27
|
-
* Delete a
|
|
28
|
+
* Delete a single Conclusion by ID.
|
|
29
|
+
*
|
|
30
|
+
* This action cannot be undone.
|
|
28
31
|
*/
|
|
29
32
|
delete(workspaceId, conclusionId, options) {
|
|
30
|
-
return this._client.delete(`/v2/workspaces/${workspaceId}/conclusions/${conclusionId}`,
|
|
33
|
+
return this._client.delete(`/v2/workspaces/${workspaceId}/conclusions/${conclusionId}`, {
|
|
34
|
+
...options,
|
|
35
|
+
headers: { Accept: '*/*', ...options?.headers },
|
|
36
|
+
});
|
|
31
37
|
}
|
|
32
38
|
/**
|
|
33
|
-
* Query
|
|
39
|
+
* Query Conclusions using semantic search. Use `top_k` to control the number of
|
|
40
|
+
* results returned.
|
|
34
41
|
*/
|
|
35
42
|
query(workspaceId, body, options) {
|
|
36
43
|
return this._client.post(`/v2/workspaces/${workspaceId}/conclusions/query`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conclusions.mjs","sourceRoot":"","sources":["../../src/resources/workspaces/conclusions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"conclusions.mjs","sourceRoot":"","sources":["../../src/resources/workspaces/conclusions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB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AAC;CACF;AAED,MAAM,OAAO,eAAgB,SAAQ,IAAgB;CAAG;AA2FxD,WAAW,CAAC,eAAe,GAAG,eAAe,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ConclusionsPage, Conclusions, type Conclusion, type
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export { SessionsPage, Sessions, type Session, type SessionConfiguration, type Summary, type SessionDeleteResponse, type
|
|
5
|
-
export { WebhookEndpointsPage, Webhooks, type WebhookEndpoint, type
|
|
6
|
-
export { WorkspacesPage, Workspaces, type
|
|
1
|
+
export { ConclusionsPage, Conclusions, type Conclusion, type ConclusionCreateResponse, type ConclusionQueryResponse, type ConclusionCreateParams, type ConclusionListParams, type ConclusionQueryParams, } from "./conclusions.js";
|
|
2
|
+
export { PeersPage, Peers, type PagePeer, type PageSession, type Peer, type PeerCardResponse, type SessionGet, type PeerChatResponse, type PeerContextResponse, type PeerRepresentationResponse, type PeerSearchResponse, type PeerUpdateParams, type PeerListParams, type PeerCardParams, type PeerChatParams, type PeerContextParams, type PeerGetOrCreateParams, type PeerRepresentationParams, type PeerSearchParams, type PeerSetCardParams, } from "./peers/index.js";
|
|
3
|
+
export { Queue, type QueueStatusResponse, type QueueStatusParams } from "./queue.js";
|
|
4
|
+
export { SessionsPage, Sessions, type Session, type SessionConfiguration, type Summary, type SessionDeleteResponse, type SessionContextResponse, type SessionSearchResponse, type SessionSummariesResponse, type SessionUpdateParams, type SessionListParams, type SessionCloneParams, type SessionContextParams, type SessionGetOrCreateParams, type SessionSearchParams, } from "./sessions/index.js";
|
|
5
|
+
export { WebhookEndpointsPage, Webhooks, type WebhookEndpoint, type WebhookTestEmitResponse, type WebhookListParams, type WebhookGetOrCreateParams, } from "./webhooks.js";
|
|
6
|
+
export { WorkspacesPage, Workspaces, type DreamConfiguration, type MessageSearchOptions, type PeerCardConfiguration, type ReasoningConfiguration, type SummaryConfiguration, type Workspace, type WorkspaceConfiguration, type WorkspaceSearchResponse, type WorkspaceUpdateParams, type WorkspaceListParams, type WorkspaceGetOrCreateParams, type WorkspaceScheduleDreamParams, type WorkspaceSearchParams, } from "./workspaces.js";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/workspaces/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,WAAW,EACX,KAAK,UAAU,EACf,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/workspaces/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,WAAW,EACX,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC3B,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,SAAS,EACT,KAAK,EACL,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,IAAI,EACT,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAClF,OAAO,EACL,YAAY,EACZ,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KA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