@cadenya/cadenya 0.44.0 → 0.46.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 +22 -0
- package/client.d.mts +31 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +31 -4
- package/client.d.ts.map +1 -1
- package/client.js +27 -0
- package/client.js.map +1 -1
- package/client.mjs +27 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent-variations.d.mts +79 -1
- package/resources/agent-variations.d.mts.map +1 -1
- package/resources/agent-variations.d.ts +79 -1
- package/resources/agent-variations.d.ts.map +1 -1
- package/resources/agent-variations.js +31 -0
- package/resources/agent-variations.js.map +1 -1
- package/resources/agent-variations.mjs +31 -0
- package/resources/agent-variations.mjs.map +1 -1
- package/resources/agents/webhook-deliveries.d.mts +2 -2
- package/resources/agents/webhook-deliveries.d.mts.map +1 -1
- package/resources/agents/webhook-deliveries.d.ts +2 -2
- package/resources/agents/webhook-deliveries.d.ts.map +1 -1
- package/resources/index.d.mts +4 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/memory-layers/entries.d.mts +241 -0
- package/resources/memory-layers/entries.d.mts.map +1 -0
- package/resources/memory-layers/entries.d.ts +241 -0
- package/resources/memory-layers/entries.d.ts.map +1 -0
- package/resources/memory-layers/entries.js +63 -0
- package/resources/memory-layers/entries.js.map +1 -0
- package/resources/memory-layers/entries.mjs +59 -0
- package/resources/memory-layers/entries.mjs.map +1 -0
- package/resources/memory-layers/index.d.mts +3 -0
- package/resources/memory-layers/index.d.mts.map +1 -0
- package/resources/memory-layers/index.d.ts +3 -0
- package/resources/memory-layers/index.d.ts.map +1 -0
- package/resources/memory-layers/index.js +9 -0
- package/resources/memory-layers/index.js.map +1 -0
- package/resources/memory-layers/index.mjs +4 -0
- package/resources/memory-layers/index.mjs.map +1 -0
- package/resources/memory-layers/memory-layers.d.mts +139 -0
- package/resources/memory-layers/memory-layers.d.mts.map +1 -0
- package/resources/memory-layers/memory-layers.d.ts +139 -0
- package/resources/memory-layers/memory-layers.d.ts.map +1 -0
- package/resources/memory-layers/memory-layers.js +65 -0
- package/resources/memory-layers/memory-layers.js.map +1 -0
- package/resources/memory-layers/memory-layers.mjs +60 -0
- package/resources/memory-layers/memory-layers.mjs.map +1 -0
- package/resources/memory-layers.d.mts +2 -0
- package/resources/memory-layers.d.mts.map +1 -0
- package/resources/memory-layers.d.ts +2 -0
- package/resources/memory-layers.d.ts.map +1 -0
- package/resources/memory-layers.js +6 -0
- package/resources/memory-layers.js.map +1 -0
- package/resources/memory-layers.mjs +3 -0
- package/resources/memory-layers.mjs.map +1 -0
- package/resources/objectives/index.d.mts +1 -1
- package/resources/objectives/index.d.mts.map +1 -1
- package/resources/objectives/index.d.ts +1 -1
- package/resources/objectives/index.d.ts.map +1 -1
- package/resources/objectives/index.js.map +1 -1
- package/resources/objectives/index.mjs.map +1 -1
- package/resources/objectives/objectives.d.mts +76 -1
- package/resources/objectives/objectives.d.mts.map +1 -1
- package/resources/objectives/objectives.d.ts +76 -1
- package/resources/objectives/objectives.d.ts.map +1 -1
- package/resources/objectives/objectives.js.map +1 -1
- package/resources/objectives/objectives.mjs.map +1 -1
- package/resources/uploads.d.mts +97 -0
- package/resources/uploads.d.mts.map +1 -0
- package/resources/uploads.d.ts +97 -0
- package/resources/uploads.d.ts.map +1 -0
- package/resources/uploads.js +33 -0
- package/resources/uploads.js.map +1 -0
- package/resources/uploads.mjs +29 -0
- package/resources/uploads.mjs.map +1 -0
- package/src/client.ts +73 -0
- package/src/resources/agent-variations.ts +124 -0
- package/src/resources/agents/webhook-deliveries.ts +4 -2
- package/src/resources/index.ts +17 -0
- package/src/resources/memory-layers/entries.ts +325 -0
- package/src/resources/memory-layers/index.ts +27 -0
- package/src/resources/memory-layers/memory-layers.ts +224 -0
- package/src/resources/memory-layers.ts +3 -0
- package/src/resources/objectives/index.ts +2 -0
- package/src/resources/objectives/objectives.ts +85 -0
- package/src/resources/uploads.ts +128 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,GACnC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,GAClC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MemoryLayers = exports.Entries = void 0;
|
|
5
|
+
var entries_1 = require("./entries.js");
|
|
6
|
+
Object.defineProperty(exports, "Entries", { enumerable: true, get: function () { return entries_1.Entries; } });
|
|
7
|
+
var memory_layers_1 = require("./memory-layers.js");
|
|
8
|
+
Object.defineProperty(exports, "MemoryLayers", { enumerable: true, get: function () { return memory_layers_1.MemoryLayers; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAcmB;AAbjB,kGAAA,OAAO,OAAA;AAcT,oDASyB;AARvB,6GAAA,YAAY,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAaR;OACM,EACL,YAAY,GAQb"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as AccountAPI from "../account.mjs";
|
|
3
|
+
import * as Shared from "../shared.mjs";
|
|
4
|
+
import * as EntriesAPI from "./entries.mjs";
|
|
5
|
+
import { Entries, EntryCreateParams, EntryDeleteParams, EntryListParams, EntryRetrieveParams, EntryUpdateParams, MemoryEntriesCursorPagination, MemoryEntry, MemoryEntryCreateSpec, MemoryEntryDetail, MemoryEntryInfo, MemoryEntrySpec, MemoryEntryUpdateSpec } from "./entries.mjs";
|
|
6
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
7
|
+
import { CursorPagination, type CursorPaginationParams, PagePromise } from "../../core/pagination.mjs";
|
|
8
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
9
|
+
/**
|
|
10
|
+
* MemoryService manages memory layers and their entries at the WORKSPACE level.
|
|
11
|
+
* Layers are named containers that can be composed into an objective's memory
|
|
12
|
+
* stack; entries are the keyed values within a layer.
|
|
13
|
+
*
|
|
14
|
+
* All operations are implicitly scoped to the workspace determined by the JWT
|
|
15
|
+
* token. System-managed layers (e.g., episodic layers created by the runtime)
|
|
16
|
+
* cannot be mutated through this API.
|
|
17
|
+
*
|
|
18
|
+
* Authentication: Bearer token (JWT)
|
|
19
|
+
* Scope: Workspace-level operations
|
|
20
|
+
*/
|
|
21
|
+
export declare class MemoryLayers extends APIResource {
|
|
22
|
+
entries: EntriesAPI.Entries;
|
|
23
|
+
/**
|
|
24
|
+
* Creates a new memory layer in the workspace
|
|
25
|
+
*/
|
|
26
|
+
create(body: MemoryLayerCreateParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
27
|
+
/**
|
|
28
|
+
* Retrieves a memory layer by ID from the workspace
|
|
29
|
+
*/
|
|
30
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
31
|
+
/**
|
|
32
|
+
* Updates a memory layer in the workspace
|
|
33
|
+
*/
|
|
34
|
+
update(id: string, body: MemoryLayerUpdateParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
35
|
+
/**
|
|
36
|
+
* Lists all memory layers in the workspace
|
|
37
|
+
*/
|
|
38
|
+
list(query?: MemoryLayerListParams | null | undefined, options?: RequestOptions): PagePromise<MemoryLayersCursorPagination, MemoryLayer>;
|
|
39
|
+
/**
|
|
40
|
+
* Deletes a memory layer from the workspace
|
|
41
|
+
*/
|
|
42
|
+
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
43
|
+
}
|
|
44
|
+
export type MemoryLayersCursorPagination = CursorPagination<MemoryLayer>;
|
|
45
|
+
/**
|
|
46
|
+
* MemoryLayer is a named container of memory entries that can be composed into an
|
|
47
|
+
* objective's memory stack. Layers are workspace-scoped resources. The layer type
|
|
48
|
+
* controls how its entries participate in the agent loop — see MemoryLayerType for
|
|
49
|
+
* details.
|
|
50
|
+
*
|
|
51
|
+
* See "Memory stack composition" above for how layers compose at lookup time.
|
|
52
|
+
*/
|
|
53
|
+
export interface MemoryLayer {
|
|
54
|
+
/**
|
|
55
|
+
* Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
|
|
56
|
+
*/
|
|
57
|
+
metadata: Shared.ResourceMetadata;
|
|
58
|
+
spec: MemoryLayerSpec;
|
|
59
|
+
info?: MemoryLayerInfo;
|
|
60
|
+
}
|
|
61
|
+
export interface MemoryLayerInfo {
|
|
62
|
+
/**
|
|
63
|
+
* Profile represents a human user at the account level. Profiles are
|
|
64
|
+
* account-scoped resources that can be associated with multiple workspaces through
|
|
65
|
+
* the Actor model. Authentication for profiles is handled via SSO/OAuth (WorkOS).
|
|
66
|
+
*/
|
|
67
|
+
createdBy?: AccountAPI.Profile;
|
|
68
|
+
/**
|
|
69
|
+
* Number of entries currently in this layer.
|
|
70
|
+
*/
|
|
71
|
+
entryCount?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Timestamp of the most recent objective that resolved against this layer. Useful
|
|
74
|
+
* for surfacing unused layers in the dashboard.
|
|
75
|
+
*/
|
|
76
|
+
lastUsedAt?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface MemoryLayerSpec {
|
|
79
|
+
type: 'MEMORY_LAYER_TYPE_UNSPECIFIED' | 'MEMORY_LAYER_TYPE_EPISODIC' | 'MEMORY_LAYER_TYPE_SKILLS';
|
|
80
|
+
/**
|
|
81
|
+
* Human-readable description of the layer's purpose. Encouraged for user-created
|
|
82
|
+
* layers; system-managed layers may have a generated description.
|
|
83
|
+
*/
|
|
84
|
+
description?: string;
|
|
85
|
+
/**
|
|
86
|
+
* For layers with a finite lifetime (e.g., episodic), the time at which the layer
|
|
87
|
+
* becomes eligible for cleanup. Set by the system; unset for persistent layers.
|
|
88
|
+
*/
|
|
89
|
+
expiresAt?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Server-set. True for layers managed by the system (e.g., episodic layers created
|
|
92
|
+
* automatically when an objective uses an episodic_key). System-managed layers
|
|
93
|
+
* cannot be assigned to objective stacks via the API and cannot be mutated by
|
|
94
|
+
* clients — their lifecycle is controlled entirely by the runtime.
|
|
95
|
+
*/
|
|
96
|
+
systemManaged?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export interface MemoryLayerCreateParams {
|
|
99
|
+
/**
|
|
100
|
+
* CreateResourceMetadata contains the user-provided fields for creating a
|
|
101
|
+
* workspace-scoped resource. Read-only fields (id, account_id, workspace_id,
|
|
102
|
+
* profile_id, created_at) are excluded since they are set by the server.
|
|
103
|
+
*/
|
|
104
|
+
metadata: Shared.CreateResourceMetadata;
|
|
105
|
+
spec: MemoryLayerSpec;
|
|
106
|
+
}
|
|
107
|
+
export interface MemoryLayerUpdateParams {
|
|
108
|
+
/**
|
|
109
|
+
* UpdateResourceMetadata contains the user-provided fields for updating a
|
|
110
|
+
* workspace-scoped resource. Read-only fields (id, account_id, workspace_id,
|
|
111
|
+
* profile_id, created_at) are excluded since they are set by the server.
|
|
112
|
+
*/
|
|
113
|
+
metadata?: Shared.UpdateResourceMetadata;
|
|
114
|
+
spec?: MemoryLayerSpec;
|
|
115
|
+
updateMask?: string;
|
|
116
|
+
}
|
|
117
|
+
export interface MemoryLayerListParams extends CursorPaginationParams {
|
|
118
|
+
/**
|
|
119
|
+
* When set to true you may use more of your alloted API rate-limit
|
|
120
|
+
*/
|
|
121
|
+
includeInfo?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Filter expression (query param: prefix)
|
|
124
|
+
*/
|
|
125
|
+
prefix?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Sort order for results (asc or desc by creation time)
|
|
128
|
+
*/
|
|
129
|
+
sortOrder?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Filter by layer type
|
|
132
|
+
*/
|
|
133
|
+
type?: 'MEMORY_LAYER_TYPE_UNSPECIFIED' | 'MEMORY_LAYER_TYPE_EPISODIC' | 'MEMORY_LAYER_TYPE_SKILLS';
|
|
134
|
+
}
|
|
135
|
+
export declare namespace MemoryLayers {
|
|
136
|
+
export { type MemoryLayer as MemoryLayer, type MemoryLayerInfo as MemoryLayerInfo, type MemoryLayerSpec as MemoryLayerSpec, type MemoryLayersCursorPagination as MemoryLayersCursorPagination, type MemoryLayerCreateParams as MemoryLayerCreateParams, type MemoryLayerUpdateParams as MemoryLayerUpdateParams, type MemoryLayerListParams as MemoryLayerListParams, };
|
|
137
|
+
export { Entries as Entries, type MemoryEntry as MemoryEntry, type MemoryEntryCreateSpec as MemoryEntryCreateSpec, type MemoryEntryDetail as MemoryEntryDetail, type MemoryEntryInfo as MemoryEntryInfo, type MemoryEntrySpec as MemoryEntrySpec, type MemoryEntryUpdateSpec as MemoryEntryUpdateSpec, type MemoryEntriesCursorPagination as MemoryEntriesCursorPagination, type EntryCreateParams as EntryCreateParams, type EntryRetrieveParams as EntryRetrieveParams, type EntryUpdateParams as EntryUpdateParams, type EntryListParams as EntryListParams, type EntryDeleteParams as EntryDeleteParams, };
|
|
138
|
+
}
|
|
139
|
+
//# sourceMappingURL=memory-layers.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-layers.d.mts","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EACL,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,6BAA6B,EAC7B,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,qBAAqB,EACtB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE;OAE9D,EAAE,cAAc,EAAE;AAGzB;;;;;;;;;;;GAWG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIxF;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIvE;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc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AU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qBAAsB,SAAQ,sBAAsB;IACnE;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,+BAA+B,GAAG,4BAA4B,GAAG,0BAA0B,CAAC;CACpG;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as AccountAPI from "../account.js";
|
|
3
|
+
import * as Shared from "../shared.js";
|
|
4
|
+
import * as EntriesAPI from "./entries.js";
|
|
5
|
+
import { Entries, EntryCreateParams, EntryDeleteParams, EntryListParams, EntryRetrieveParams, EntryUpdateParams, MemoryEntriesCursorPagination, MemoryEntry, MemoryEntryCreateSpec, MemoryEntryDetail, MemoryEntryInfo, MemoryEntrySpec, MemoryEntryUpdateSpec } from "./entries.js";
|
|
6
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
7
|
+
import { CursorPagination, type CursorPaginationParams, PagePromise } from "../../core/pagination.js";
|
|
8
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
9
|
+
/**
|
|
10
|
+
* MemoryService manages memory layers and their entries at the WORKSPACE level.
|
|
11
|
+
* Layers are named containers that can be composed into an objective's memory
|
|
12
|
+
* stack; entries are the keyed values within a layer.
|
|
13
|
+
*
|
|
14
|
+
* All operations are implicitly scoped to the workspace determined by the JWT
|
|
15
|
+
* token. System-managed layers (e.g., episodic layers created by the runtime)
|
|
16
|
+
* cannot be mutated through this API.
|
|
17
|
+
*
|
|
18
|
+
* Authentication: Bearer token (JWT)
|
|
19
|
+
* Scope: Workspace-level operations
|
|
20
|
+
*/
|
|
21
|
+
export declare class MemoryLayers extends APIResource {
|
|
22
|
+
entries: EntriesAPI.Entries;
|
|
23
|
+
/**
|
|
24
|
+
* Creates a new memory layer in the workspace
|
|
25
|
+
*/
|
|
26
|
+
create(body: MemoryLayerCreateParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
27
|
+
/**
|
|
28
|
+
* Retrieves a memory layer by ID from the workspace
|
|
29
|
+
*/
|
|
30
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
31
|
+
/**
|
|
32
|
+
* Updates a memory layer in the workspace
|
|
33
|
+
*/
|
|
34
|
+
update(id: string, body: MemoryLayerUpdateParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
35
|
+
/**
|
|
36
|
+
* Lists all memory layers in the workspace
|
|
37
|
+
*/
|
|
38
|
+
list(query?: MemoryLayerListParams | null | undefined, options?: RequestOptions): PagePromise<MemoryLayersCursorPagination, MemoryLayer>;
|
|
39
|
+
/**
|
|
40
|
+
* Deletes a memory layer from the workspace
|
|
41
|
+
*/
|
|
42
|
+
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
43
|
+
}
|
|
44
|
+
export type MemoryLayersCursorPagination = CursorPagination<MemoryLayer>;
|
|
45
|
+
/**
|
|
46
|
+
* MemoryLayer is a named container of memory entries that can be composed into an
|
|
47
|
+
* objective's memory stack. Layers are workspace-scoped resources. The layer type
|
|
48
|
+
* controls how its entries participate in the agent loop — see MemoryLayerType for
|
|
49
|
+
* details.
|
|
50
|
+
*
|
|
51
|
+
* See "Memory stack composition" above for how layers compose at lookup time.
|
|
52
|
+
*/
|
|
53
|
+
export interface MemoryLayer {
|
|
54
|
+
/**
|
|
55
|
+
* Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
|
|
56
|
+
*/
|
|
57
|
+
metadata: Shared.ResourceMetadata;
|
|
58
|
+
spec: MemoryLayerSpec;
|
|
59
|
+
info?: MemoryLayerInfo;
|
|
60
|
+
}
|
|
61
|
+
export interface MemoryLayerInfo {
|
|
62
|
+
/**
|
|
63
|
+
* Profile represents a human user at the account level. Profiles are
|
|
64
|
+
* account-scoped resources that can be associated with multiple workspaces through
|
|
65
|
+
* the Actor model. Authentication for profiles is handled via SSO/OAuth (WorkOS).
|
|
66
|
+
*/
|
|
67
|
+
createdBy?: AccountAPI.Profile;
|
|
68
|
+
/**
|
|
69
|
+
* Number of entries currently in this layer.
|
|
70
|
+
*/
|
|
71
|
+
entryCount?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Timestamp of the most recent objective that resolved against this layer. Useful
|
|
74
|
+
* for surfacing unused layers in the dashboard.
|
|
75
|
+
*/
|
|
76
|
+
lastUsedAt?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface MemoryLayerSpec {
|
|
79
|
+
type: 'MEMORY_LAYER_TYPE_UNSPECIFIED' | 'MEMORY_LAYER_TYPE_EPISODIC' | 'MEMORY_LAYER_TYPE_SKILLS';
|
|
80
|
+
/**
|
|
81
|
+
* Human-readable description of the layer's purpose. Encouraged for user-created
|
|
82
|
+
* layers; system-managed layers may have a generated description.
|
|
83
|
+
*/
|
|
84
|
+
description?: string;
|
|
85
|
+
/**
|
|
86
|
+
* For layers with a finite lifetime (e.g., episodic), the time at which the layer
|
|
87
|
+
* becomes eligible for cleanup. Set by the system; unset for persistent layers.
|
|
88
|
+
*/
|
|
89
|
+
expiresAt?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Server-set. True for layers managed by the system (e.g., episodic layers created
|
|
92
|
+
* automatically when an objective uses an episodic_key). System-managed layers
|
|
93
|
+
* cannot be assigned to objective stacks via the API and cannot be mutated by
|
|
94
|
+
* clients — their lifecycle is controlled entirely by the runtime.
|
|
95
|
+
*/
|
|
96
|
+
systemManaged?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export interface MemoryLayerCreateParams {
|
|
99
|
+
/**
|
|
100
|
+
* CreateResourceMetadata contains the user-provided fields for creating a
|
|
101
|
+
* workspace-scoped resource. Read-only fields (id, account_id, workspace_id,
|
|
102
|
+
* profile_id, created_at) are excluded since they are set by the server.
|
|
103
|
+
*/
|
|
104
|
+
metadata: Shared.CreateResourceMetadata;
|
|
105
|
+
spec: MemoryLayerSpec;
|
|
106
|
+
}
|
|
107
|
+
export interface MemoryLayerUpdateParams {
|
|
108
|
+
/**
|
|
109
|
+
* UpdateResourceMetadata contains the user-provided fields for updating a
|
|
110
|
+
* workspace-scoped resource. Read-only fields (id, account_id, workspace_id,
|
|
111
|
+
* profile_id, created_at) are excluded since they are set by the server.
|
|
112
|
+
*/
|
|
113
|
+
metadata?: Shared.UpdateResourceMetadata;
|
|
114
|
+
spec?: MemoryLayerSpec;
|
|
115
|
+
updateMask?: string;
|
|
116
|
+
}
|
|
117
|
+
export interface MemoryLayerListParams extends CursorPaginationParams {
|
|
118
|
+
/**
|
|
119
|
+
* When set to true you may use more of your alloted API rate-limit
|
|
120
|
+
*/
|
|
121
|
+
includeInfo?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Filter expression (query param: prefix)
|
|
124
|
+
*/
|
|
125
|
+
prefix?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Sort order for results (asc or desc by creation time)
|
|
128
|
+
*/
|
|
129
|
+
sortOrder?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Filter by layer type
|
|
132
|
+
*/
|
|
133
|
+
type?: 'MEMORY_LAYER_TYPE_UNSPECIFIED' | 'MEMORY_LAYER_TYPE_EPISODIC' | 'MEMORY_LAYER_TYPE_SKILLS';
|
|
134
|
+
}
|
|
135
|
+
export declare namespace MemoryLayers {
|
|
136
|
+
export { type MemoryLayer as MemoryLayer, type MemoryLayerInfo as MemoryLayerInfo, type MemoryLayerSpec as MemoryLayerSpec, type MemoryLayersCursorPagination as MemoryLayersCursorPagination, type MemoryLayerCreateParams as MemoryLayerCreateParams, type MemoryLayerUpdateParams as MemoryLayerUpdateParams, type MemoryLayerListParams as MemoryLayerListParams, };
|
|
137
|
+
export { Entries as Entries, type MemoryEntry as MemoryEntry, type MemoryEntryCreateSpec as MemoryEntryCreateSpec, type MemoryEntryDetail as MemoryEntryDetail, type MemoryEntryInfo as MemoryEntryInfo, type MemoryEntrySpec as MemoryEntrySpec, type MemoryEntryUpdateSpec as MemoryEntryUpdateSpec, type MemoryEntriesCursorPagination as MemoryEntriesCursorPagination, type EntryCreateParams as EntryCreateParams, type EntryRetrieveParams as EntryRetrieveParams, type EntryUpdateParams as EntryUpdateParams, type EntryListParams as EntryListParams, type EntryDeleteParams as EntryDeleteParams, };
|
|
138
|
+
}
|
|
139
|
+
//# sourceMappingURL=memory-layers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-layers.d.ts","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,KAA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AI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MemoryLayers = void 0;
|
|
5
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const EntriesAPI = tslib_1.__importStar(require("./entries.js"));
|
|
8
|
+
const entries_1 = require("./entries.js");
|
|
9
|
+
const pagination_1 = require("../../core/pagination.js");
|
|
10
|
+
const headers_1 = require("../../internal/headers.js");
|
|
11
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
12
|
+
/**
|
|
13
|
+
* MemoryService manages memory layers and their entries at the WORKSPACE level.
|
|
14
|
+
* Layers are named containers that can be composed into an objective's memory
|
|
15
|
+
* stack; entries are the keyed values within a layer.
|
|
16
|
+
*
|
|
17
|
+
* All operations are implicitly scoped to the workspace determined by the JWT
|
|
18
|
+
* token. System-managed layers (e.g., episodic layers created by the runtime)
|
|
19
|
+
* cannot be mutated through this API.
|
|
20
|
+
*
|
|
21
|
+
* Authentication: Bearer token (JWT)
|
|
22
|
+
* Scope: Workspace-level operations
|
|
23
|
+
*/
|
|
24
|
+
class MemoryLayers extends resource_1.APIResource {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
this.entries = new EntriesAPI.Entries(this._client);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Creates a new memory layer in the workspace
|
|
31
|
+
*/
|
|
32
|
+
create(body, options) {
|
|
33
|
+
return this._client.post('/v1/memory_layers', { body, ...options });
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Retrieves a memory layer by ID from the workspace
|
|
37
|
+
*/
|
|
38
|
+
retrieve(id, options) {
|
|
39
|
+
return this._client.get((0, path_1.path) `/v1/memory_layers/${id}`, options);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Updates a memory layer in the workspace
|
|
43
|
+
*/
|
|
44
|
+
update(id, body, options) {
|
|
45
|
+
return this._client.patch((0, path_1.path) `/v1/memory_layers/${id}`, { body, ...options });
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Lists all memory layers in the workspace
|
|
49
|
+
*/
|
|
50
|
+
list(query = {}, options) {
|
|
51
|
+
return this._client.getAPIList('/v1/memory_layers', (pagination_1.CursorPagination), { query, ...options });
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Deletes a memory layer from the workspace
|
|
55
|
+
*/
|
|
56
|
+
delete(id, options) {
|
|
57
|
+
return this._client.delete((0, path_1.path) `/v1/memory_layers/${id}`, {
|
|
58
|
+
...options,
|
|
59
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.MemoryLayers = MemoryLayers;
|
|
64
|
+
MemoryLayers.Entries = entries_1.Entries;
|
|
65
|
+
//# sourceMappingURL=memory-layers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-layers.js","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAGlD,iEAAwC;AACxC,0CAcmB;AAEnB,yDAAmG;AACnG,uDAAsD;AAEtD,uDAAiD;AAEjD;;;;;;;;;;;GAWG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0CrE,CAAC;IAxCC;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA6B,EAAE,OAAwB;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,6BAA6B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE;YACxD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA3CD,oCA2CC;AAiHD,YAAY,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as EntriesAPI from "./entries.mjs";
|
|
4
|
+
import { Entries, } from "./entries.mjs";
|
|
5
|
+
import { CursorPagination } from "../../core/pagination.mjs";
|
|
6
|
+
import { buildHeaders } from "../../internal/headers.mjs";
|
|
7
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
8
|
+
/**
|
|
9
|
+
* MemoryService manages memory layers and their entries at the WORKSPACE level.
|
|
10
|
+
* Layers are named containers that can be composed into an objective's memory
|
|
11
|
+
* stack; entries are the keyed values within a layer.
|
|
12
|
+
*
|
|
13
|
+
* All operations are implicitly scoped to the workspace determined by the JWT
|
|
14
|
+
* token. System-managed layers (e.g., episodic layers created by the runtime)
|
|
15
|
+
* cannot be mutated through this API.
|
|
16
|
+
*
|
|
17
|
+
* Authentication: Bearer token (JWT)
|
|
18
|
+
* Scope: Workspace-level operations
|
|
19
|
+
*/
|
|
20
|
+
export class MemoryLayers extends APIResource {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.entries = new EntriesAPI.Entries(this._client);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Creates a new memory layer in the workspace
|
|
27
|
+
*/
|
|
28
|
+
create(body, options) {
|
|
29
|
+
return this._client.post('/v1/memory_layers', { body, ...options });
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves a memory layer by ID from the workspace
|
|
33
|
+
*/
|
|
34
|
+
retrieve(id, options) {
|
|
35
|
+
return this._client.get(path `/v1/memory_layers/${id}`, options);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Updates a memory layer in the workspace
|
|
39
|
+
*/
|
|
40
|
+
update(id, body, options) {
|
|
41
|
+
return this._client.patch(path `/v1/memory_layers/${id}`, { body, ...options });
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Lists all memory layers in the workspace
|
|
45
|
+
*/
|
|
46
|
+
list(query = {}, options) {
|
|
47
|
+
return this._client.getAPIList('/v1/memory_layers', (CursorPagination), { query, ...options });
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Deletes a memory layer from the workspace
|
|
51
|
+
*/
|
|
52
|
+
delete(id, options) {
|
|
53
|
+
return this._client.delete(path `/v1/memory_layers/${id}`, {
|
|
54
|
+
...options,
|
|
55
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
MemoryLayers.Entries = Entries;
|
|
60
|
+
//# sourceMappingURL=memory-layers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-layers.mjs","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,UAAU;OACf,EACL,OAAO,GAaR;OAEM,EAAE,gBAAgB,EAA4C;OAC9D,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0CrE,CAAC;IAxCC;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA6B,EAAE,OAAwB;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,gBAA6B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE;YACxD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAiHD,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-layers.d.mts","sourceRoot":"","sources":["../src/resources/memory-layers.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-layers.d.ts","sourceRoot":"","sources":["../src/resources/memory-layers.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./memory-layers/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=memory-layers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-layers.js","sourceRoot":"","sources":["../src/resources/memory-layers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-layers.mjs","sourceRoot":"","sources":["../src/resources/memory-layers.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Feedback, type ObjectiveFeedback, type ObjectiveFeedbackData, type ObjectiveFeedbackInfo, type FeedbackCreateParams, type FeedbackListParams, type ObjectiveFeedbacksCursorPagination, } from "./feedback.mjs";
|
|
2
|
-
export { Objectives, type AssistantMessage, type AssistantToolCall, type CallableTool, type ContextWindowCompacted, type Objective, type ObjectiveContextWindow, type ObjectiveContextWindowData, type ObjectiveData, type ObjectiveDataSecret, type ObjectiveError, type ObjectiveEventData, type ObjectiveEventInfo, type ObjectiveEventWebhookData, type ObjectiveInfo, type ObjectiveStatus, type SubObjectiveCreated, type ToolApprovalRequested, type ToolApproved, type ToolCalled, type ToolDenied, type ToolError, type ToolResult, type UserMessage, type ObjectiveCompactResponse, type ObjectiveContinueResponse, type ObjectiveListEventsResponse, type ObjectiveCreateParams, type ObjectiveListParams, type ObjectiveCancelParams, type ObjectiveCompactParams, type ObjectiveContinueParams, type ObjectiveListContextWindowsParams, type ObjectiveListEventsParams, type ObjectivesCursorPagination, type ObjectiveContextWindowsCursorPagination, type ObjectiveListEventsResponsesCursorPagination, } from "./objectives.mjs";
|
|
2
|
+
export { Objectives, type AssistantMessage, type AssistantToolCall, type CallableTool, type ContextWindowCompacted, type MemoryRead, type MemoryReference, type Objective, type ObjectiveContextWindow, type ObjectiveContextWindowData, type ObjectiveData, type ObjectiveDataSecret, type ObjectiveError, type ObjectiveEventData, type ObjectiveEventInfo, type ObjectiveEventWebhookData, type ObjectiveInfo, type ObjectiveStatus, type SubObjectiveCreated, type ToolApprovalRequested, type ToolApproved, type ToolCalled, type ToolDenied, type ToolError, type ToolResult, type UserMessage, type ObjectiveCompactResponse, type ObjectiveContinueResponse, type ObjectiveListEventsResponse, type ObjectiveCreateParams, type ObjectiveListParams, type ObjectiveCancelParams, type ObjectiveCompactParams, type ObjectiveContinueParams, type ObjectiveListContextWindowsParams, type ObjectiveListEventsParams, type ObjectivesCursorPagination, type ObjectiveContextWindowsCursorPagination, type ObjectiveListEventsResponsesCursorPagination, } from "./objectives.mjs";
|
|
3
3
|
export { Tasks, type ObjectiveTask, type ObjectiveTaskData, type TaskRetrieveParams, type TaskListParams, type ObjectiveTasksCursorPagination, } from "./tasks.mjs";
|
|
4
4
|
export { ToolCalls, type ObjectiveToolCall, type ObjectiveToolCallData, type ObjectiveToolCallInfo, type ToolCallListParams, type ToolCallApproveParams, type ToolCallDenyParams, type ObjectiveToolCallsCursorPagination, } from "./tool-calls.mjs";
|
|
5
5
|
export { Tools, type ObjectiveTool, type ToolListParams, type ObjectiveToolsCursorPagination } from "./tools.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/objectives/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kCAAkC,GACxC;OACM,EACL,UAAU,EACV,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,EAC5C,KAAK,4CAA4C,GAClD;OACM,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,8BAA8B,GACpC;OACM,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,kCAAkC,GACxC;OACM,EAAE,KAAK,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,8BAA8B,EAAE"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/objectives/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qB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,5 @@
|
|
|
1
1
|
export { Feedback, type ObjectiveFeedback, type ObjectiveFeedbackData, type ObjectiveFeedbackInfo, type FeedbackCreateParams, type FeedbackListParams, type ObjectiveFeedbacksCursorPagination, } from "./feedback.js";
|
|
2
|
-
export { Objectives, type AssistantMessage, type AssistantToolCall, type CallableTool, type ContextWindowCompacted, type Objective, type ObjectiveContextWindow, type ObjectiveContextWindowData, type ObjectiveData, type ObjectiveDataSecret, type ObjectiveError, type ObjectiveEventData, type ObjectiveEventInfo, type ObjectiveEventWebhookData, type ObjectiveInfo, type ObjectiveStatus, type SubObjectiveCreated, type ToolApprovalRequested, type ToolApproved, type ToolCalled, type ToolDenied, type ToolError, type ToolResult, type UserMessage, type ObjectiveCompactResponse, type ObjectiveContinueResponse, type ObjectiveListEventsResponse, type ObjectiveCreateParams, type ObjectiveListParams, type ObjectiveCancelParams, type ObjectiveCompactParams, type ObjectiveContinueParams, type ObjectiveListContextWindowsParams, type ObjectiveListEventsParams, type ObjectivesCursorPagination, type ObjectiveContextWindowsCursorPagination, type ObjectiveListEventsResponsesCursorPagination, } from "./objectives.js";
|
|
2
|
+
export { Objectives, type AssistantMessage, type AssistantToolCall, type CallableTool, type ContextWindowCompacted, type MemoryRead, type MemoryReference, type Objective, type ObjectiveContextWindow, type ObjectiveContextWindowData, type ObjectiveData, type ObjectiveDataSecret, type ObjectiveError, type ObjectiveEventData, type ObjectiveEventInfo, type ObjectiveEventWebhookData, type ObjectiveInfo, type ObjectiveStatus, type SubObjectiveCreated, type ToolApprovalRequested, type ToolApproved, type ToolCalled, type ToolDenied, type ToolError, type ToolResult, type UserMessage, type ObjectiveCompactResponse, type ObjectiveContinueResponse, type ObjectiveListEventsResponse, type ObjectiveCreateParams, type ObjectiveListParams, type ObjectiveCancelParams, type ObjectiveCompactParams, type ObjectiveContinueParams, type ObjectiveListContextWindowsParams, type ObjectiveListEventsParams, type ObjectivesCursorPagination, type ObjectiveContextWindowsCursorPagination, type ObjectiveListEventsResponsesCursorPagination, } from "./objectives.js";
|
|
3
3
|
export { Tasks, type ObjectiveTask, type ObjectiveTaskData, type TaskRetrieveParams, type TaskListParams, type ObjectiveTasksCursorPagination, } from "./tasks.js";
|
|
4
4
|
export { ToolCalls, type ObjectiveToolCall, type ObjectiveToolCallData, type ObjectiveToolCallInfo, type ToolCallListParams, type ToolCallApproveParams, type ToolCallDenyParams, type ObjectiveToolCallsCursorPagination, } from "./tool-calls.js";
|
|
5
5
|
export { Tools, type ObjectiveTool, type ToolListParams, type ObjectiveToolsCursorPagination } from "./tools.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/objectives/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kCAAkC,GACxC;OACM,EACL,UAAU,EACV,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,EAC5C,KAAK,4CAA4C,GAClD;OACM,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,8BAA8B,GACpC;OACM,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,kCAAkC,GACxC;OACM,EAAE,KAAK,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,8BAA8B,EAAE"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/objectives/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kCAAkC,GACxC;OACM,EACL,UAAU,EACV,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,EAC5C,KAAK,4CAA4C,GAClD;OACM,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,8BAA8B,GACpC;OACM,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,kCAAkC,GACxC;OACM,EAAE,KAAK,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,8BAA8B,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/objectives/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA;AAQV,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/objectives/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA;AAQV,8CAwCsB;AAvCpB,wGAAA,UAAU,OAAA;AAwCZ,oCAOiB;AANf,8FAAA,KAAK,OAAA;AAOP,8CASsB;AARpB,uGAAA,SAAS,OAAA;AASX,oCAA8G;AAArG,8FAAA,KAAK,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/objectives/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAOT;OACM,EACL,UAAU,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/objectives/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAOT;OACM,EACL,UAAU,GAuCX;OACM,EACL,KAAK,GAMN;OACM,EACL,SAAS,GAQV;OACM,EAAE,KAAK,EAAgF"}
|