@valon-technologies/gestalt 0.0.1-alpha.16 → 0.0.1-alpha.18
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 +70 -80
- package/package.json +2 -2
- package/src/agent-manager.ts +33 -2
- package/src/agent.ts +31 -11
- package/src/api.ts +12 -0
- package/src/authorization.ts +3 -2
- package/src/cache.ts +14 -3
- package/src/http-subject.ts +5 -1
- package/src/index.ts +3 -5
- package/src/indexeddb.ts +3 -2
- package/{gen → src/internal/gen}/v1/agent_pb.ts +280 -201
- package/{gen → src/internal/gen}/v1/authentication_pb.ts +1 -1
- package/{gen → src/internal/gen}/v1/authorization_pb.ts +1 -1
- package/{gen → src/internal/gen}/v1/cache_pb.ts +1 -1
- package/{gen → src/internal/gen}/v1/datastore_pb.ts +1 -1
- package/src/internal/gen/v1/external_credential_pb.ts +679 -0
- package/{gen → src/internal/gen}/v1/plugin_pb.ts +38 -14
- package/{gen → src/internal/gen}/v1/pluginruntime_pb.ts +15 -130
- package/{gen → src/internal/gen}/v1/runtime_pb.ts +1 -1
- package/{gen → src/internal/gen}/v1/s3_pb.ts +1 -1
- package/{gen → src/internal/gen}/v1/secrets_pb.ts +1 -1
- package/{gen → src/internal/gen}/v1/workflow_pb.ts +11 -6
- package/src/invoker.ts +27 -2
- package/src/pluginruntime.ts +2 -27
- package/src/runtime-log-host.ts +29 -3
- package/src/runtime.ts +14 -9
- package/src/s3.ts +43 -7
- package/src/test-agent-contract.ts +43 -0
- package/src/workflow-manager.ts +42 -2
- package/src/workflow.ts +16 -2
- package/tsconfig.json +1 -1
- package/gen/v1/external_credential_pb.ts +0 -274
- /package/{gen → src/internal/gen}/google/rpc/status_pb.ts +0 -0
package/src/index.ts
CHANGED
|
@@ -52,6 +52,7 @@ export {
|
|
|
52
52
|
responseBrand,
|
|
53
53
|
request,
|
|
54
54
|
type Access,
|
|
55
|
+
type Host,
|
|
55
56
|
type MaybePromise,
|
|
56
57
|
type Credential,
|
|
57
58
|
type OperationResult,
|
|
@@ -201,16 +202,13 @@ export {
|
|
|
201
202
|
} from "./provider.ts";
|
|
202
203
|
export {
|
|
203
204
|
PluginRuntimeEgressMode,
|
|
204
|
-
PluginRuntimeHostServiceAccess,
|
|
205
205
|
PluginRuntimeProvider,
|
|
206
206
|
createPluginRuntimeProviderService,
|
|
207
207
|
definePluginRuntimeProvider,
|
|
208
208
|
isPluginRuntimeProvider,
|
|
209
|
-
type BindPluginRuntimeHostServiceRequest,
|
|
210
209
|
type GetPluginRuntimeSessionRequest,
|
|
211
210
|
type HostedPlugin,
|
|
212
211
|
type ListPluginRuntimeSessionsRequest,
|
|
213
|
-
type PluginRuntimeHostServiceBinding,
|
|
214
212
|
type PluginRuntimeProviderOptions,
|
|
215
213
|
type PluginRuntimeSession,
|
|
216
214
|
type PluginRuntimeSupport,
|
|
@@ -366,10 +364,10 @@ export {
|
|
|
366
364
|
type ListAgentProviderTurnEventsRequest,
|
|
367
365
|
type ListAgentProviderTurnsRequest,
|
|
368
366
|
type ListedAgentTool,
|
|
367
|
+
type ResolveAgentConnectionRequest,
|
|
369
368
|
type ResolveAgentProviderInteractionRequest,
|
|
369
|
+
type ResolvedAgentConnection,
|
|
370
370
|
type ResolvedAgentTool,
|
|
371
|
-
type SearchAgentToolsRequest,
|
|
372
|
-
type SearchAgentToolsResponse,
|
|
373
371
|
type UpdateAgentProviderSessionRequest,
|
|
374
372
|
} from "./agent.ts";
|
|
375
373
|
export {
|
package/src/indexeddb.ts
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
CursorDirection as ProtoCursorDirection,
|
|
8
8
|
TransactionMode as ProtoTransactionMode,
|
|
9
9
|
TransactionDurabilityHint as ProtoTransactionDurabilityHint,
|
|
10
|
-
} from "
|
|
10
|
+
} from "./internal/gen/v1/datastore_pb";
|
|
11
11
|
|
|
12
12
|
const ENV_INDEXEDDB_SOCKET = "GESTALT_INDEXEDDB_SOCKET";
|
|
13
13
|
const INDEXEDDB_SOCKET_TOKEN_SUFFIX = "_TOKEN";
|
|
@@ -536,7 +536,8 @@ export class IndexedDB {
|
|
|
536
536
|
...(transportOptions.nodeOptions
|
|
537
537
|
? {
|
|
538
538
|
nodeOptions: {
|
|
539
|
-
createConnection: () =>
|
|
539
|
+
createConnection: () =>
|
|
540
|
+
connect({ path: transportOptions.nodeOptions!.path }),
|
|
540
541
|
},
|
|
541
542
|
}
|
|
542
543
|
: {}),
|