@promptbook/javascript 0.114.0-3 → 0.114.0-4
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/README.md +1 -9
- package/esm/index.es.js +1 -1
- package/esm/src/book-2.0/agent-source/AgentBasicInformation.d.ts +3 -3
- package/esm/src/cli/cli-commands/coder/boilerplateCount.d.ts +52 -0
- package/esm/src/cli/cli-commands/coder/generate-boilerplates.d.ts +3 -2
- package/esm/src/commitments/{COMPONENT/COMPONENT.d.ts → META_FULLNAME/META_FULLNAME.d.ts} +8 -5
- package/esm/src/commitments/META_ID/META_ID.d.ts +32 -0
- package/esm/src/commitments/index.d.ts +4 -12
- package/esm/src/llm-providers/agent/Agent.d.ts +1 -1
- package/esm/src/llm-providers/openai/OpenAiAgentKitExecutionToolsToolBuilder.d.ts +1 -1
- package/esm/src/{commitments/USE_BROWSER → scrapers/_common/utils}/fetchUrlContent.d.ts +2 -3
- package/esm/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
- package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +3 -3
- package/umd/src/cli/cli-commands/coder/boilerplateCount.d.ts +52 -0
- package/umd/src/cli/cli-commands/coder/generate-boilerplates.d.ts +3 -2
- package/umd/src/commitments/{COMPONENT/COMPONENT.d.ts → META_FULLNAME/META_FULLNAME.d.ts} +8 -5
- package/umd/src/commitments/META_ID/META_ID.d.ts +32 -0
- package/umd/src/commitments/index.d.ts +4 -12
- package/umd/src/llm-providers/agent/Agent.d.ts +1 -1
- package/umd/src/llm-providers/openai/OpenAiAgentKitExecutionToolsToolBuilder.d.ts +1 -1
- package/umd/src/{commitments/USE_BROWSER → scrapers/_common/utils}/fetchUrlContent.d.ts +2 -3
- package/umd/src/version.d.ts +1 -1
- package/esm/src/commitments/MEMORY/MEMORY.d.ts +0 -48
- package/esm/src/commitments/MEMORY/MemoryToolNames.d.ts +0 -11
- package/esm/src/commitments/MEMORY/MemoryToolRuntimeAdapter.d.ts +0 -149
- package/esm/src/commitments/MEMORY/createMemorySystemMessage.d.ts +0 -6
- package/esm/src/commitments/MEMORY/createMemoryToolFunctions.d.ts +0 -8
- package/esm/src/commitments/MEMORY/createMemoryTools.d.ts +0 -14
- package/esm/src/commitments/MEMORY/getMemoryCommitmentDocumentation.d.ts +0 -6
- package/esm/src/commitments/MEMORY/getMemoryToolRuntimeAdapterOrDisabledResult.d.ts +0 -17
- package/esm/src/commitments/MEMORY/getMemoryToolTitles.d.ts +0 -7
- package/esm/src/commitments/MEMORY/parseMemoryToolArgs.d.ts +0 -61
- package/esm/src/commitments/MEMORY/resolveMemoryRuntimeContext.d.ts +0 -8
- package/esm/src/commitments/MEMORY/setMemoryToolRuntimeAdapter.d.ts +0 -13
- package/esm/src/commitments/META/META.d.ts +0 -65
- package/esm/src/commitments/USE/aggregateUseCommitmentSystemMessages.d.ts +0 -32
- package/esm/src/commitments/USE_BROWSER/USE_BROWSER.d.ts +0 -58
- package/esm/src/commitments/USE_BROWSER/fetchUrlContentViaBrowser.d.ts +0 -13
- package/esm/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.d.ts +0 -10
- package/esm/src/commitments/USE_DEEPSEARCH/USE_DEEPSEARCH.d.ts +0 -47
- package/esm/src/commitments/USE_EMAIL/USE_EMAIL.d.ts +0 -38
- package/esm/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.d.ts +0 -21
- package/esm/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.test.d.ts +0 -1
- package/esm/src/commitments/USE_EMAIL/resolveSendEmailToolForNode.d.ts +0 -11
- package/esm/src/commitments/USE_EMAIL/sendEmailViaBrowser.d.ts +0 -13
- package/esm/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.d.ts +0 -46
- package/esm/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.test.d.ts +0 -1
- package/esm/src/commitments/USE_SPAWN/USE_SPAWN.d.ts +0 -38
- package/esm/src/commitments/USE_SPAWN/USE_SPAWN.test.d.ts +0 -1
- package/esm/src/commitments/USE_SPAWN/resolveSpawnAgentToolForNode.d.ts +0 -9
- package/esm/src/commitments/USE_SPAWN/spawnAgentViaBrowser.d.ts +0 -12
- package/esm/src/commitments/USE_TIME/USE_TIME.d.ts +0 -43
- package/esm/src/commitments/USE_TIME/USE_TIME.test.d.ts +0 -1
- package/esm/src/commitments/USE_TIMEOUT/TimeoutToolNames.d.ts +0 -11
- package/esm/src/commitments/USE_TIMEOUT/TimeoutToolRuntimeAdapter.d.ts +0 -212
- package/esm/src/commitments/USE_TIMEOUT/USE_TIMEOUT.d.ts +0 -38
- package/esm/src/commitments/USE_TIMEOUT/USE_TIMEOUT.test.d.ts +0 -1
- package/esm/src/commitments/USE_TIMEOUT/createTimeoutSystemMessage.d.ts +0 -6
- package/esm/src/commitments/USE_TIMEOUT/createTimeoutToolFunctions.d.ts +0 -8
- package/esm/src/commitments/USE_TIMEOUT/createTimeoutTools.d.ts +0 -7
- package/esm/src/commitments/USE_TIMEOUT/getTimeoutToolRuntimeAdapterOrDisabledResult.d.ts +0 -17
- package/esm/src/commitments/USE_TIMEOUT/parseTimeoutToolArgs.d.ts +0 -78
- package/esm/src/commitments/USE_TIMEOUT/resolveTimeoutRuntimeContext.d.ts +0 -8
- package/esm/src/commitments/USE_TIMEOUT/setTimeoutToolRuntimeAdapter.d.ts +0 -13
- package/esm/src/commitments/WALLET/WALLET.d.ts +0 -21
- package/esm/src/commitments/WALLET/WALLET.test.d.ts +0 -1
- package/esm/src/commitments/WALLET/WalletToolNames.d.ts +0 -12
- package/esm/src/commitments/WALLET/WalletToolRuntimeAdapter.d.ts +0 -163
- package/esm/src/commitments/WALLET/createWalletSystemMessage.d.ts +0 -6
- package/esm/src/commitments/WALLET/createWalletToolFunctions.d.ts +0 -8
- package/esm/src/commitments/WALLET/createWalletTools.d.ts +0 -7
- package/esm/src/commitments/WALLET/getWalletCommitmentDocumentation.d.ts +0 -6
- package/esm/src/commitments/WALLET/getWalletToolRuntimeAdapterOrDisabledResult.d.ts +0 -16
- package/esm/src/commitments/WALLET/getWalletToolTitles.d.ts +0 -7
- package/esm/src/commitments/WALLET/parseWalletToolArgs.d.ts +0 -51
- package/esm/src/commitments/WALLET/resolveWalletRuntimeContext.d.ts +0 -8
- package/esm/src/commitments/WALLET/setWalletToolRuntimeAdapter.d.ts +0 -13
- package/esm/src/commitments/_common/createSerpSearchToolFunction.d.ts +0 -12
- package/umd/src/book-2.0/agent-source/createAgentModelRequirements.useCommitmentAggregation.test.d.ts +0 -1
- package/umd/src/commitments/MEMORY/MEMORY.d.ts +0 -48
- package/umd/src/commitments/MEMORY/MEMORY.test.d.ts +0 -1
- package/umd/src/commitments/MEMORY/MemoryToolNames.d.ts +0 -11
- package/umd/src/commitments/MEMORY/MemoryToolRuntimeAdapter.d.ts +0 -149
- package/umd/src/commitments/MEMORY/createMemorySystemMessage.d.ts +0 -6
- package/umd/src/commitments/MEMORY/createMemoryToolFunctions.d.ts +0 -8
- package/umd/src/commitments/MEMORY/createMemoryTools.d.ts +0 -14
- package/umd/src/commitments/MEMORY/getMemoryCommitmentDocumentation.d.ts +0 -6
- package/umd/src/commitments/MEMORY/getMemoryToolRuntimeAdapterOrDisabledResult.d.ts +0 -17
- package/umd/src/commitments/MEMORY/getMemoryToolTitles.d.ts +0 -7
- package/umd/src/commitments/MEMORY/parseMemoryToolArgs.d.ts +0 -61
- package/umd/src/commitments/MEMORY/resolveMemoryRuntimeContext.d.ts +0 -8
- package/umd/src/commitments/MEMORY/setMemoryToolRuntimeAdapter.d.ts +0 -13
- package/umd/src/commitments/META/META.d.ts +0 -65
- package/umd/src/commitments/USE/aggregateUseCommitmentSystemMessages.d.ts +0 -32
- package/umd/src/commitments/USE_BROWSER/USE_BROWSER.d.ts +0 -58
- package/umd/src/commitments/USE_BROWSER/USE_BROWSER.test.d.ts +0 -1
- package/umd/src/commitments/USE_BROWSER/fetchUrlContentViaBrowser.d.ts +0 -13
- package/umd/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.d.ts +0 -10
- package/umd/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.test.d.ts +0 -1
- package/umd/src/commitments/USE_DEEPSEARCH/USE_DEEPSEARCH.d.ts +0 -47
- package/umd/src/commitments/USE_DEEPSEARCH/USE_DEEPSEARCH.test.d.ts +0 -1
- package/umd/src/commitments/USE_EMAIL/USE_EMAIL.d.ts +0 -38
- package/umd/src/commitments/USE_EMAIL/USE_EMAIL.test.d.ts +0 -1
- package/umd/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.d.ts +0 -21
- package/umd/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.test.d.ts +0 -1
- package/umd/src/commitments/USE_EMAIL/resolveSendEmailToolForNode.d.ts +0 -11
- package/umd/src/commitments/USE_EMAIL/sendEmailViaBrowser.d.ts +0 -13
- package/umd/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.d.ts +0 -46
- package/umd/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.test.d.ts +0 -1
- package/umd/src/commitments/USE_SPAWN/USE_SPAWN.d.ts +0 -38
- package/umd/src/commitments/USE_SPAWN/USE_SPAWN.test.d.ts +0 -1
- package/umd/src/commitments/USE_SPAWN/resolveSpawnAgentToolForNode.d.ts +0 -9
- package/umd/src/commitments/USE_SPAWN/spawnAgentViaBrowser.d.ts +0 -12
- package/umd/src/commitments/USE_TIME/USE_TIME.d.ts +0 -43
- package/umd/src/commitments/USE_TIME/USE_TIME.test.d.ts +0 -1
- package/umd/src/commitments/USE_TIMEOUT/TimeoutToolNames.d.ts +0 -11
- package/umd/src/commitments/USE_TIMEOUT/TimeoutToolRuntimeAdapter.d.ts +0 -212
- package/umd/src/commitments/USE_TIMEOUT/USE_TIMEOUT.d.ts +0 -38
- package/umd/src/commitments/USE_TIMEOUT/USE_TIMEOUT.test.d.ts +0 -1
- package/umd/src/commitments/USE_TIMEOUT/createTimeoutSystemMessage.d.ts +0 -6
- package/umd/src/commitments/USE_TIMEOUT/createTimeoutToolFunctions.d.ts +0 -8
- package/umd/src/commitments/USE_TIMEOUT/createTimeoutTools.d.ts +0 -7
- package/umd/src/commitments/USE_TIMEOUT/getTimeoutToolRuntimeAdapterOrDisabledResult.d.ts +0 -17
- package/umd/src/commitments/USE_TIMEOUT/parseTimeoutToolArgs.d.ts +0 -78
- package/umd/src/commitments/USE_TIMEOUT/resolveTimeoutRuntimeContext.d.ts +0 -8
- package/umd/src/commitments/USE_TIMEOUT/setTimeoutToolRuntimeAdapter.d.ts +0 -13
- package/umd/src/commitments/WALLET/WALLET.d.ts +0 -21
- package/umd/src/commitments/WALLET/WALLET.test.d.ts +0 -1
- package/umd/src/commitments/WALLET/WalletToolNames.d.ts +0 -12
- package/umd/src/commitments/WALLET/WalletToolRuntimeAdapter.d.ts +0 -163
- package/umd/src/commitments/WALLET/createWalletSystemMessage.d.ts +0 -6
- package/umd/src/commitments/WALLET/createWalletToolFunctions.d.ts +0 -8
- package/umd/src/commitments/WALLET/createWalletTools.d.ts +0 -7
- package/umd/src/commitments/WALLET/getWalletCommitmentDocumentation.d.ts +0 -6
- package/umd/src/commitments/WALLET/getWalletToolRuntimeAdapterOrDisabledResult.d.ts +0 -16
- package/umd/src/commitments/WALLET/getWalletToolTitles.d.ts +0 -7
- package/umd/src/commitments/WALLET/parseWalletToolArgs.d.ts +0 -51
- package/umd/src/commitments/WALLET/resolveWalletRuntimeContext.d.ts +0 -8
- package/umd/src/commitments/WALLET/setWalletToolRuntimeAdapter.d.ts +0 -13
- package/umd/src/commitments/_common/createSerpSearchToolFunction.d.ts +0 -12
- /package/esm/src/book-2.0/agent-source/{createAgentModelRequirements.useCommitmentAggregation.test.d.ts → createAgentModelRequirements.commitmentAggregation.test.d.ts} +0 -0
- /package/esm/src/{commitments/MEMORY/MEMORY.test.d.ts → cli/cli-commands/coder/boilerplateCount.test.d.ts} +0 -0
- /package/esm/src/{commitments/USE_BROWSER/USE_BROWSER.test.d.ts → cli/cli-commands/coder/generate-boilerplates.test.d.ts} +0 -0
- /package/esm/src/commitments/{META → META_DESCRIPTION}/META_DESCRIPTION.d.ts +0 -0
- /package/{esm/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.test.d.ts → umd/src/book-2.0/agent-source/createAgentModelRequirements.commitmentAggregation.test.d.ts} +0 -0
- /package/{esm/src/commitments/USE_DEEPSEARCH/USE_DEEPSEARCH.test.d.ts → umd/src/cli/cli-commands/coder/boilerplateCount.test.d.ts} +0 -0
- /package/{esm/src/commitments/USE_EMAIL/USE_EMAIL.test.d.ts → umd/src/cli/cli-commands/coder/generate-boilerplates.test.d.ts} +0 -0
- /package/umd/src/commitments/{META → META_DESCRIPTION}/META_DESCRIPTION.d.ts +0 -0
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import type { TODO_any } from '../../utils/organization/TODO_any';
|
|
2
|
-
/**
|
|
3
|
-
* Supported wallet record types.
|
|
4
|
-
*
|
|
5
|
-
* @private type of WalletCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
export type WalletRecordType = 'USERNAME_PASSWORD' | 'SESSION_COOKIE' | 'ACCESS_TOKEN';
|
|
8
|
-
/**
|
|
9
|
-
* Normalized wallet record payload used by runtime adapters.
|
|
10
|
-
*
|
|
11
|
-
* @private type of WalletCommitmentDefinition
|
|
12
|
-
*/
|
|
13
|
-
export type WalletToolRecord = {
|
|
14
|
-
id?: string;
|
|
15
|
-
recordType: WalletRecordType;
|
|
16
|
-
service: string;
|
|
17
|
-
key: string;
|
|
18
|
-
username?: string | null;
|
|
19
|
-
password?: string | null;
|
|
20
|
-
secret?: string | null;
|
|
21
|
-
cookies?: string | null;
|
|
22
|
-
isUserScoped: boolean;
|
|
23
|
-
isGlobal: boolean;
|
|
24
|
-
createdAt?: string;
|
|
25
|
-
updatedAt?: string;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Runtime context for wallet operations.
|
|
29
|
-
*
|
|
30
|
-
* @private type of WalletCommitmentDefinition
|
|
31
|
-
*/
|
|
32
|
-
export type WalletToolRuntimeContext = {
|
|
33
|
-
readonly enabled: boolean;
|
|
34
|
-
readonly userId?: number;
|
|
35
|
-
readonly username?: string;
|
|
36
|
-
readonly agentId?: string;
|
|
37
|
-
readonly agentName?: string;
|
|
38
|
-
readonly isTeamConversation: boolean;
|
|
39
|
-
readonly isPrivateMode: boolean;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Runtime adapter interface used by wallet tools.
|
|
43
|
-
*
|
|
44
|
-
* @private type of WalletCommitmentDefinition
|
|
45
|
-
*/
|
|
46
|
-
export type WalletToolRuntimeAdapter = {
|
|
47
|
-
retrieveWalletRecords(args: {
|
|
48
|
-
query?: string;
|
|
49
|
-
recordType?: WalletRecordType;
|
|
50
|
-
service?: string;
|
|
51
|
-
key?: string;
|
|
52
|
-
limit?: number;
|
|
53
|
-
}, runtimeContext: WalletToolRuntimeContext): Promise<WalletToolRecord[]>;
|
|
54
|
-
storeWalletRecord(args: WalletToolRecord & {
|
|
55
|
-
username?: string | null;
|
|
56
|
-
password?: string | null;
|
|
57
|
-
secret?: string | null;
|
|
58
|
-
cookies?: string | null;
|
|
59
|
-
}, runtimeContext: WalletToolRuntimeContext): Promise<WalletToolRecord>;
|
|
60
|
-
updateWalletRecord(args: WalletToolRecord & {
|
|
61
|
-
walletId: string;
|
|
62
|
-
username?: string | null;
|
|
63
|
-
password?: string | null;
|
|
64
|
-
secret?: string | null;
|
|
65
|
-
cookies?: string | null;
|
|
66
|
-
}, runtimeContext: WalletToolRuntimeContext): Promise<WalletToolRecord>;
|
|
67
|
-
deleteWalletRecord(args: {
|
|
68
|
-
walletId: string;
|
|
69
|
-
}, runtimeContext: WalletToolRuntimeContext): Promise<{
|
|
70
|
-
id?: string;
|
|
71
|
-
}>;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Arguments accepted by `retrieve_wallet_records`.
|
|
75
|
-
*
|
|
76
|
-
* @private type of WalletCommitmentDefinition
|
|
77
|
-
*/
|
|
78
|
-
export type RetrieveWalletRecordsToolArgs = {
|
|
79
|
-
query?: string;
|
|
80
|
-
recordType?: WalletRecordType;
|
|
81
|
-
service?: string;
|
|
82
|
-
key?: string;
|
|
83
|
-
limit?: number;
|
|
84
|
-
[key: string]: TODO_any;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Arguments accepted by `store_wallet_record`.
|
|
88
|
-
*
|
|
89
|
-
* @private type of WalletCommitmentDefinition
|
|
90
|
-
*/
|
|
91
|
-
export type StoreWalletRecordToolArgs = {
|
|
92
|
-
recordType?: WalletRecordType;
|
|
93
|
-
service?: string;
|
|
94
|
-
key?: string;
|
|
95
|
-
username?: string;
|
|
96
|
-
password?: string;
|
|
97
|
-
secret?: string;
|
|
98
|
-
cookies?: string;
|
|
99
|
-
isUserScoped?: boolean;
|
|
100
|
-
isGlobal?: boolean;
|
|
101
|
-
[key: string]: TODO_any;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Arguments accepted by `update_wallet_record`.
|
|
105
|
-
*
|
|
106
|
-
* @private type of WalletCommitmentDefinition
|
|
107
|
-
*/
|
|
108
|
-
export type UpdateWalletRecordToolArgs = StoreWalletRecordToolArgs & {
|
|
109
|
-
walletId?: string;
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Arguments accepted by `delete_wallet_record`.
|
|
113
|
-
*
|
|
114
|
-
* @private type of WalletCommitmentDefinition
|
|
115
|
-
*/
|
|
116
|
-
export type DeleteWalletRecordToolArgs = {
|
|
117
|
-
walletId?: string;
|
|
118
|
-
[key: string]: TODO_any;
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* Arguments accepted by `request_wallet_record`.
|
|
122
|
-
*
|
|
123
|
-
* @private type of WalletCommitmentDefinition
|
|
124
|
-
*/
|
|
125
|
-
export type RequestWalletRecordToolArgs = {
|
|
126
|
-
recordType?: WalletRecordType;
|
|
127
|
-
service?: string;
|
|
128
|
-
key?: string;
|
|
129
|
-
message?: string;
|
|
130
|
-
isUserScoped?: boolean;
|
|
131
|
-
isGlobal?: boolean;
|
|
132
|
-
[key: string]: TODO_any;
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* Parsed request payload for `request_wallet_record`.
|
|
136
|
-
*
|
|
137
|
-
* @private type of WalletCommitmentDefinition
|
|
138
|
-
*/
|
|
139
|
-
export type WalletRequestRecord = {
|
|
140
|
-
recordType: WalletRecordType;
|
|
141
|
-
service: string;
|
|
142
|
-
key: string;
|
|
143
|
-
message?: string;
|
|
144
|
-
isUserScoped: boolean;
|
|
145
|
-
isGlobal: boolean;
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* Runtime wallet-tool action name.
|
|
149
|
-
*
|
|
150
|
-
* @private type of WalletCommitmentDefinition
|
|
151
|
-
*/
|
|
152
|
-
export type WalletRuntimeToolAction = 'retrieve' | 'store' | 'update' | 'delete';
|
|
153
|
-
/**
|
|
154
|
-
* Result payload returned when a runtime wallet action is disabled.
|
|
155
|
-
*
|
|
156
|
-
* @private type of WalletCommitmentDefinition
|
|
157
|
-
*/
|
|
158
|
-
export type WalletDisabledToolResult = {
|
|
159
|
-
action: WalletRuntimeToolAction;
|
|
160
|
-
status: 'disabled';
|
|
161
|
-
records?: Array<never>;
|
|
162
|
-
message: string;
|
|
163
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ToolFunction } from '../../scripting/javascript/JavascriptExecutionToolsOptions';
|
|
2
|
-
import type { string_javascript_name } from '../../types/string_person_fullname';
|
|
3
|
-
/**
|
|
4
|
-
* Creates runtime wallet tool function implementations.
|
|
5
|
-
*
|
|
6
|
-
* @private function of WalletCommitmentDefinition
|
|
7
|
-
*/
|
|
8
|
-
export declare function createWalletToolFunctions(): Record<string_javascript_name, ToolFunction>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { LlmToolDefinition } from '../../types/LlmToolDefinition';
|
|
2
|
-
/**
|
|
3
|
-
* Creates tool definitions required by WALLET commitment.
|
|
4
|
-
*
|
|
5
|
-
* @private function of WalletCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
export declare function createWalletTools(existingTools: ReadonlyArray<LlmToolDefinition> | undefined): LlmToolDefinition[];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { WalletDisabledToolResult, WalletRuntimeToolAction, WalletToolRuntimeAdapter, WalletToolRuntimeContext } from './WalletToolRuntimeAdapter';
|
|
2
|
-
/**
|
|
3
|
-
* Resolves disabled message for wallet runtime context.
|
|
4
|
-
*
|
|
5
|
-
* @private function of WalletCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
export declare function resolveWalletDisabledMessage(runtimeContext: WalletToolRuntimeContext): string | null;
|
|
8
|
-
/**
|
|
9
|
-
* Resolves runtime adapter for wallet tools or returns disabled payload when unavailable.
|
|
10
|
-
*
|
|
11
|
-
* @private function of WalletCommitmentDefinition
|
|
12
|
-
*/
|
|
13
|
-
export declare function getWalletToolRuntimeAdapterOrDisabledResult(action: WalletRuntimeToolAction, runtimeContext: WalletToolRuntimeContext): {
|
|
14
|
-
adapter: WalletToolRuntimeAdapter | null;
|
|
15
|
-
disabledResult?: WalletDisabledToolResult;
|
|
16
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { string_javascript_name } from '../../types/string_person_fullname';
|
|
2
|
-
/**
|
|
3
|
-
* Gets human-readable titles for WALLET tool functions.
|
|
4
|
-
*
|
|
5
|
-
* @private function of WalletCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
export declare function getWalletToolTitles(): Record<string_javascript_name, string>;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import type { DeleteWalletRecordToolArgs, RequestWalletRecordToolArgs, RetrieveWalletRecordsToolArgs, StoreWalletRecordToolArgs, UpdateWalletRecordToolArgs, WalletRecordType, WalletRequestRecord, WalletToolRecord } from './WalletToolRuntimeAdapter';
|
|
2
|
-
/**
|
|
3
|
-
* Parsed payload for retrieving wallet records.
|
|
4
|
-
*
|
|
5
|
-
* @private type of WalletCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
type ParsedRetrieveWalletRecordsArgs = {
|
|
8
|
-
query?: string;
|
|
9
|
-
recordType?: WalletRecordType;
|
|
10
|
-
service?: string;
|
|
11
|
-
key?: string;
|
|
12
|
-
limit?: number;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Parsed payload for updating an existing wallet record.
|
|
16
|
-
*
|
|
17
|
-
* @private type of WalletCommitmentDefinition
|
|
18
|
-
*/
|
|
19
|
-
type ParsedUpdateWalletRecordArgs = WalletToolRecord & {
|
|
20
|
-
walletId: string;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Collection of WALLET tool argument parsers.
|
|
24
|
-
*
|
|
25
|
-
* @private function of WalletCommitmentDefinition
|
|
26
|
-
*/
|
|
27
|
-
export declare const parseWalletToolArgs: {
|
|
28
|
-
/**
|
|
29
|
-
* Parses retrieve arguments.
|
|
30
|
-
*/
|
|
31
|
-
retrieve(args: RetrieveWalletRecordsToolArgs): ParsedRetrieveWalletRecordsArgs;
|
|
32
|
-
/**
|
|
33
|
-
* Parses store payload.
|
|
34
|
-
*/
|
|
35
|
-
store(args: StoreWalletRecordToolArgs): WalletToolRecord;
|
|
36
|
-
/**
|
|
37
|
-
* Parses update payload.
|
|
38
|
-
*/
|
|
39
|
-
update(args: UpdateWalletRecordToolArgs): ParsedUpdateWalletRecordArgs;
|
|
40
|
-
/**
|
|
41
|
-
* Parses delete payload.
|
|
42
|
-
*/
|
|
43
|
-
delete(args: DeleteWalletRecordToolArgs): {
|
|
44
|
-
walletId: string;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Parses request payload for user wallet input prompt.
|
|
48
|
-
*/
|
|
49
|
-
request(args: RequestWalletRecordToolArgs): WalletRequestRecord;
|
|
50
|
-
};
|
|
51
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { TODO_any } from '../../utils/organization/TODO_any';
|
|
2
|
-
import type { WalletToolRuntimeContext } from './WalletToolRuntimeAdapter';
|
|
3
|
-
/**
|
|
4
|
-
* Resolves runtime context from hidden tool arguments.
|
|
5
|
-
*
|
|
6
|
-
* @private function of WalletCommitmentDefinition
|
|
7
|
-
*/
|
|
8
|
-
export declare function resolveWalletRuntimeContext(args: Record<string, TODO_any>): WalletToolRuntimeContext;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { WalletToolRuntimeAdapter } from './WalletToolRuntimeAdapter';
|
|
2
|
-
/**
|
|
3
|
-
* Sets runtime adapter used by WALLET tools.
|
|
4
|
-
*
|
|
5
|
-
* @private function of WalletCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
export declare function setWalletToolRuntimeAdapter(adapter: WalletToolRuntimeAdapter | null): void;
|
|
8
|
-
/**
|
|
9
|
-
* Gets runtime adapter used by WALLET tools.
|
|
10
|
-
*
|
|
11
|
-
* @private function of WalletCommitmentDefinition
|
|
12
|
-
*/
|
|
13
|
-
export declare function getWalletToolRuntimeAdapter(): WalletToolRuntimeAdapter | null;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ToolFunction } from '../../scripting/javascript/JavascriptExecutionToolsOptions';
|
|
2
|
-
import type { string_javascript_name } from '../../types/string_person_fullname';
|
|
3
|
-
/**
|
|
4
|
-
* Creates one SERP-backed tool function used as a local fallback for search-like commitments.
|
|
5
|
-
*
|
|
6
|
-
* @param toolName - Technical tool name used for validation messages.
|
|
7
|
-
* @param resultLabel - Human-readable label used in formatted results.
|
|
8
|
-
* @returns Async tool function compatible with commitment tool registration.
|
|
9
|
-
*
|
|
10
|
-
* @private internal helper for search-like commitments
|
|
11
|
-
*/
|
|
12
|
-
export declare function createSerpSearchToolFunction(toolName: string_javascript_name, resultLabel: string): ToolFunction;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements';
|
|
2
|
-
import type { ToolFunction } from '../../scripting/javascript/JavascriptExecutionToolsOptions';
|
|
3
|
-
import type { string_javascript_name } from '../../types/string_person_fullname';
|
|
4
|
-
import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
|
|
5
|
-
export type { MemoryToolRecord, MemoryToolRuntimeAdapter, MemoryToolRuntimeContext } from './MemoryToolRuntimeAdapter';
|
|
6
|
-
export { setMemoryToolRuntimeAdapter } from './setMemoryToolRuntimeAdapter';
|
|
7
|
-
/**
|
|
8
|
-
* MEMORY commitment definition
|
|
9
|
-
*
|
|
10
|
-
* The MEMORY commitment is similar to KNOWLEDGE but has a focus on remembering past
|
|
11
|
-
* interactions and user preferences. It helps the agent maintain context about the
|
|
12
|
-
* user's history, preferences, and previous conversations.
|
|
13
|
-
*
|
|
14
|
-
* Example usage in agent source:
|
|
15
|
-
*
|
|
16
|
-
* ```book
|
|
17
|
-
* MEMORY User prefers detailed technical explanations
|
|
18
|
-
* MEMORY Previously worked on React projects
|
|
19
|
-
* MEMORY Timezone: UTC-5 (Eastern Time)
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @private [🪔] Maybe export the commitments through some package
|
|
23
|
-
*/
|
|
24
|
-
export declare class MemoryCommitmentDefinition extends BaseCommitmentDefinition<'MEMORY' | 'MEMORIES'> {
|
|
25
|
-
constructor(type?: 'MEMORY' | 'MEMORIES');
|
|
26
|
-
get requiresContent(): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Short one-line description of MEMORY.
|
|
29
|
-
*/
|
|
30
|
-
get description(): string;
|
|
31
|
-
/**
|
|
32
|
-
* Icon for this commitment.
|
|
33
|
-
*/
|
|
34
|
-
get icon(): string;
|
|
35
|
-
/**
|
|
36
|
-
* Markdown documentation for MEMORY commitment.
|
|
37
|
-
*/
|
|
38
|
-
get documentation(): string;
|
|
39
|
-
applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements;
|
|
40
|
-
/**
|
|
41
|
-
* Gets human-readable titles for MEMORY tool functions.
|
|
42
|
-
*/
|
|
43
|
-
getToolTitles(): Record<string_javascript_name, string>;
|
|
44
|
-
/**
|
|
45
|
-
* Gets MEMORY tool function implementations.
|
|
46
|
-
*/
|
|
47
|
-
getToolFunctions(): Record<string_javascript_name, ToolFunction>;
|
|
48
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Names of tools used by the MEMORY commitment.
|
|
3
|
-
*
|
|
4
|
-
* @private function of MemoryCommitmentDefinition
|
|
5
|
-
*/
|
|
6
|
-
export declare const MemoryToolNames: {
|
|
7
|
-
readonly retrieve: string;
|
|
8
|
-
readonly store: string;
|
|
9
|
-
readonly update: string;
|
|
10
|
-
readonly delete: string;
|
|
11
|
-
};
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import type { TODO_any } from '../../utils/organization/TODO_any';
|
|
2
|
-
/**
|
|
3
|
-
* Tool arguments for retrieving memory.
|
|
4
|
-
*
|
|
5
|
-
* @private type of MemoryCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
export type RetrieveMemoryToolArgs = {
|
|
8
|
-
query?: string;
|
|
9
|
-
limit?: number;
|
|
10
|
-
[key: string]: TODO_any;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Tool arguments for storing memory.
|
|
14
|
-
*
|
|
15
|
-
* @private type of MemoryCommitmentDefinition
|
|
16
|
-
*/
|
|
17
|
-
export type StoreMemoryToolArgs = {
|
|
18
|
-
content?: string;
|
|
19
|
-
isGlobal?: boolean;
|
|
20
|
-
[key: string]: TODO_any;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Tool arguments for updating memory.
|
|
24
|
-
*
|
|
25
|
-
* @private type of MemoryCommitmentDefinition
|
|
26
|
-
*/
|
|
27
|
-
export type UpdateMemoryToolArgs = {
|
|
28
|
-
memoryId?: string;
|
|
29
|
-
content?: string;
|
|
30
|
-
isGlobal?: boolean;
|
|
31
|
-
[key: string]: TODO_any;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Tool arguments for deleting memory.
|
|
35
|
-
*
|
|
36
|
-
* @private type of MemoryCommitmentDefinition
|
|
37
|
-
*/
|
|
38
|
-
export type DeleteMemoryToolArgs = {
|
|
39
|
-
memoryId?: string;
|
|
40
|
-
[key: string]: TODO_any;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Memory record returned by runtime adapters.
|
|
44
|
-
*
|
|
45
|
-
* @private type of MemoryCommitmentDefinition
|
|
46
|
-
*/
|
|
47
|
-
export type MemoryToolRecord = {
|
|
48
|
-
id?: string;
|
|
49
|
-
content: string;
|
|
50
|
-
isGlobal: boolean;
|
|
51
|
-
createdAt?: string;
|
|
52
|
-
updatedAt?: string;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Runtime context for MEMORY tools resolved from hidden tool arguments.
|
|
56
|
-
*
|
|
57
|
-
* @private type of MemoryCommitmentDefinition
|
|
58
|
-
*/
|
|
59
|
-
export type MemoryToolRuntimeContext = {
|
|
60
|
-
readonly enabled: boolean;
|
|
61
|
-
readonly userId?: number;
|
|
62
|
-
readonly username?: string;
|
|
63
|
-
readonly agentId?: string;
|
|
64
|
-
readonly agentName?: string;
|
|
65
|
-
readonly isTeamConversation: boolean;
|
|
66
|
-
readonly isPrivateMode: boolean;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Result payload returned by retrieve memory tool.
|
|
70
|
-
*
|
|
71
|
-
* @private type of MemoryCommitmentDefinition
|
|
72
|
-
*/
|
|
73
|
-
export type RetrieveMemoryToolResult = {
|
|
74
|
-
action: 'retrieve';
|
|
75
|
-
status: 'ok' | 'disabled' | 'error';
|
|
76
|
-
query?: string;
|
|
77
|
-
memories: MemoryToolRecord[];
|
|
78
|
-
message?: string;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* Result payload returned by store memory tool.
|
|
82
|
-
*
|
|
83
|
-
* @private type of MemoryCommitmentDefinition
|
|
84
|
-
*/
|
|
85
|
-
export type StoreMemoryToolResult = {
|
|
86
|
-
action: 'store';
|
|
87
|
-
status: 'stored' | 'disabled' | 'error';
|
|
88
|
-
memory?: MemoryToolRecord;
|
|
89
|
-
message?: string;
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* Result payload returned by update memory tool.
|
|
93
|
-
*
|
|
94
|
-
* @private type of MemoryCommitmentDefinition
|
|
95
|
-
*/
|
|
96
|
-
export type UpdateMemoryToolResult = {
|
|
97
|
-
action: 'update';
|
|
98
|
-
status: 'updated' | 'disabled' | 'error';
|
|
99
|
-
memory?: MemoryToolRecord;
|
|
100
|
-
message?: string;
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* Result payload returned by delete memory tool.
|
|
104
|
-
*
|
|
105
|
-
* @private type of MemoryCommitmentDefinition
|
|
106
|
-
*/
|
|
107
|
-
export type DeleteMemoryToolResult = {
|
|
108
|
-
action: 'delete';
|
|
109
|
-
status: 'deleted' | 'disabled' | 'error';
|
|
110
|
-
memoryId?: string;
|
|
111
|
-
message?: string;
|
|
112
|
-
};
|
|
113
|
-
/**
|
|
114
|
-
* Union of all MEMORY tool actions.
|
|
115
|
-
*
|
|
116
|
-
* @private type of MemoryCommitmentDefinition
|
|
117
|
-
*/
|
|
118
|
-
export type MemoryToolAction = RetrieveMemoryToolResult['action'] | StoreMemoryToolResult['action'] | UpdateMemoryToolResult['action'] | DeleteMemoryToolResult['action'];
|
|
119
|
-
/**
|
|
120
|
-
* Union of all MEMORY tool result payloads.
|
|
121
|
-
*
|
|
122
|
-
* @private type of MemoryCommitmentDefinition
|
|
123
|
-
*/
|
|
124
|
-
export type MemoryToolResult = RetrieveMemoryToolResult | StoreMemoryToolResult | UpdateMemoryToolResult | DeleteMemoryToolResult;
|
|
125
|
-
/**
|
|
126
|
-
* Runtime adapter interface used by MEMORY tools.
|
|
127
|
-
*
|
|
128
|
-
* @private type of MemoryCommitmentDefinition
|
|
129
|
-
*/
|
|
130
|
-
export type MemoryToolRuntimeAdapter = {
|
|
131
|
-
retrieveMemories(args: {
|
|
132
|
-
query?: string;
|
|
133
|
-
limit?: number;
|
|
134
|
-
}, runtimeContext: MemoryToolRuntimeContext): Promise<MemoryToolRecord[]>;
|
|
135
|
-
storeMemory(args: {
|
|
136
|
-
content: string;
|
|
137
|
-
isGlobal: boolean;
|
|
138
|
-
}, runtimeContext: MemoryToolRuntimeContext): Promise<MemoryToolRecord>;
|
|
139
|
-
updateMemory(args: {
|
|
140
|
-
memoryId: string;
|
|
141
|
-
content: string;
|
|
142
|
-
isGlobal?: boolean;
|
|
143
|
-
}, runtimeContext: MemoryToolRuntimeContext): Promise<MemoryToolRecord>;
|
|
144
|
-
deleteMemory(args: {
|
|
145
|
-
memoryId: string;
|
|
146
|
-
}, runtimeContext: MemoryToolRuntimeContext): Promise<{
|
|
147
|
-
id?: string;
|
|
148
|
-
}>;
|
|
149
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ToolFunction } from '../../scripting/javascript/JavascriptExecutionToolsOptions';
|
|
2
|
-
import type { string_javascript_name } from '../../types/string_person_fullname';
|
|
3
|
-
/**
|
|
4
|
-
* Gets MEMORY tool function implementations.
|
|
5
|
-
*
|
|
6
|
-
* @private function of MemoryCommitmentDefinition
|
|
7
|
-
*/
|
|
8
|
-
export declare function createMemoryToolFunctions(): Record<string_javascript_name, ToolFunction>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements';
|
|
2
|
-
/**
|
|
3
|
-
* Concrete type of tool definitions in `AgentModelRequirements`.
|
|
4
|
-
*
|
|
5
|
-
* @private type of MemoryCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
type AgentModelTools = NonNullable<AgentModelRequirements['tools']>;
|
|
8
|
-
/**
|
|
9
|
-
* Creates MEMORY tool definitions while preserving already-registered tools.
|
|
10
|
-
*
|
|
11
|
-
* @private function of MemoryCommitmentDefinition
|
|
12
|
-
*/
|
|
13
|
-
export declare function createMemoryTools(existingTools: AgentModelRequirements['tools']): AgentModelTools;
|
|
14
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { DeleteMemoryToolResult, MemoryToolAction, MemoryToolRuntimeAdapter, MemoryToolRuntimeContext, RetrieveMemoryToolResult, StoreMemoryToolResult, UpdateMemoryToolResult } from './MemoryToolRuntimeAdapter';
|
|
2
|
-
/**
|
|
3
|
-
* Return type of MEMORY adapter resolution helper.
|
|
4
|
-
*
|
|
5
|
-
* @private type of MemoryCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
type MemoryToolRuntimeAdapterResolution = {
|
|
8
|
-
adapter: MemoryToolRuntimeAdapter | null;
|
|
9
|
-
disabledResult: RetrieveMemoryToolResult | StoreMemoryToolResult | UpdateMemoryToolResult | DeleteMemoryToolResult | null;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Gets the runtime adapter and returns a disabled result when unavailable.
|
|
13
|
-
*
|
|
14
|
-
* @private function of MemoryCommitmentDefinition
|
|
15
|
-
*/
|
|
16
|
-
export declare function getMemoryToolRuntimeAdapterOrDisabledResult(action: MemoryToolAction, runtimeContext: MemoryToolRuntimeContext): MemoryToolRuntimeAdapterResolution;
|
|
17
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { string_javascript_name } from '../../types/string_person_fullname';
|
|
2
|
-
/**
|
|
3
|
-
* Gets human-readable titles for MEMORY tool functions.
|
|
4
|
-
*
|
|
5
|
-
* @private function of MemoryCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
export declare function getMemoryToolTitles(): Record<string_javascript_name, string>;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import type { DeleteMemoryToolArgs, RetrieveMemoryToolArgs, StoreMemoryToolArgs, UpdateMemoryToolArgs } from './MemoryToolRuntimeAdapter';
|
|
2
|
-
/**
|
|
3
|
-
* Parsed retrieve memory arguments.
|
|
4
|
-
*
|
|
5
|
-
* @private type of MemoryCommitmentDefinition
|
|
6
|
-
*/
|
|
7
|
-
type ParsedRetrieveMemoryArgs = {
|
|
8
|
-
query?: string;
|
|
9
|
-
limit?: number;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Parsed store memory arguments.
|
|
13
|
-
*
|
|
14
|
-
* @private type of MemoryCommitmentDefinition
|
|
15
|
-
*/
|
|
16
|
-
type ParsedStoreMemoryArgs = {
|
|
17
|
-
content: string;
|
|
18
|
-
isGlobal: boolean;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Parsed update memory arguments.
|
|
22
|
-
*
|
|
23
|
-
* @private type of MemoryCommitmentDefinition
|
|
24
|
-
*/
|
|
25
|
-
type ParsedUpdateMemoryArgs = {
|
|
26
|
-
memoryId: string;
|
|
27
|
-
content: string;
|
|
28
|
-
isGlobal?: boolean;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Parsed delete memory arguments.
|
|
32
|
-
*
|
|
33
|
-
* @private type of MemoryCommitmentDefinition
|
|
34
|
-
*/
|
|
35
|
-
type ParsedDeleteMemoryArgs = {
|
|
36
|
-
memoryId: string;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Collection of MEMORY tool argument parsers.
|
|
40
|
-
*
|
|
41
|
-
* @private function of MemoryCommitmentDefinition
|
|
42
|
-
*/
|
|
43
|
-
export declare const parseMemoryToolArgs: {
|
|
44
|
-
/**
|
|
45
|
-
* Parses retrieve memory arguments.
|
|
46
|
-
*/
|
|
47
|
-
retrieve(args: RetrieveMemoryToolArgs): ParsedRetrieveMemoryArgs;
|
|
48
|
-
/**
|
|
49
|
-
* Parses store memory arguments.
|
|
50
|
-
*/
|
|
51
|
-
store(args: StoreMemoryToolArgs): ParsedStoreMemoryArgs;
|
|
52
|
-
/**
|
|
53
|
-
* Parses update memory arguments.
|
|
54
|
-
*/
|
|
55
|
-
update(args: UpdateMemoryToolArgs): ParsedUpdateMemoryArgs;
|
|
56
|
-
/**
|
|
57
|
-
* Parses delete memory arguments.
|
|
58
|
-
*/
|
|
59
|
-
delete(args: DeleteMemoryToolArgs): ParsedDeleteMemoryArgs;
|
|
60
|
-
};
|
|
61
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { TODO_any } from '../../utils/organization/TODO_any';
|
|
2
|
-
import type { MemoryToolRuntimeContext } from './MemoryToolRuntimeAdapter';
|
|
3
|
-
/**
|
|
4
|
-
* Resolves runtime context from hidden tool arguments.
|
|
5
|
-
*
|
|
6
|
-
* @private function of MemoryCommitmentDefinition
|
|
7
|
-
*/
|
|
8
|
-
export declare function resolveMemoryRuntimeContext(args: Record<string, TODO_any>): MemoryToolRuntimeContext;
|