mtmsdk 0.0.51 → 0.0.52
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/dist/gomtmapi/@tanstack/react-query.gen.d.ts +1 -13
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +1 -37
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi/index.d.ts +2 -2
- package/dist/gomtmapi/index.d.ts.map +1 -1
- package/dist/gomtmapi/index.js +1 -1
- package/dist/gomtmapi/index.js.map +1 -1
- package/dist/gomtmapi/schemas.gen.d.ts +0 -57
- package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi/schemas.gen.js +0 -60
- package/dist/gomtmapi/schemas.gen.js.map +1 -1
- package/dist/gomtmapi/sdk.gen.d.ts +1 -13
- package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi/sdk.gen.js +0 -26
- package/dist/gomtmapi/sdk.gen.js.map +1 -1
- package/dist/gomtmapi/types.gen.d.ts +0 -94
- package/dist/gomtmapi/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.d.ts +0 -62
- package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.js +0 -51
- package/dist/gomtmapi/zod.gen.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/schema.d.ts +1 -11
- package/dist/lib/schema.d.ts.map +1 -1
- package/dist/lib/schema.js +0 -9
- package/dist/lib/schema.js.map +1 -1
- package/dist/mtgate_api/client.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client.gen.js +1 -1
- package/dist/mtgate_api/client.gen.js.map +1 -1
- package/dist/mtgate_api/index.d.ts +2 -2
- package/dist/mtgate_api/index.d.ts.map +1 -1
- package/dist/mtgate_api/index.js +1 -1
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +0 -8
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +1 -29
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +1 -200
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/openclaw/gateway.d.ts.map +1 -1
- package/dist/openclaw/gateway.js +1 -1
- package/dist/openclaw/gateway.js.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.d.ts +39 -65
- package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.js +19 -65
- package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -1
- package/dist/sbmng/index.d.ts +2 -2
- package/dist/sbmng/index.d.ts.map +1 -1
- package/dist/sbmng/index.js +1 -1
- package/dist/sbmng/index.js.map +1 -1
- package/dist/sbmng/schemas.gen.d.ts +6 -95
- package/dist/sbmng/schemas.gen.d.ts.map +1 -1
- package/dist/sbmng/schemas.gen.js +7 -139
- package/dist/sbmng/schemas.gen.js.map +1 -1
- package/dist/sbmng/sdk.gen.d.ts +7 -17
- package/dist/sbmng/sdk.gen.d.ts.map +1 -1
- package/dist/sbmng/sdk.gen.js +10 -32
- package/dist/sbmng/sdk.gen.js.map +1 -1
- package/dist/sbmng/types.gen.d.ts +41 -157
- package/dist/sbmng/types.gen.d.ts.map +1 -1
- package/dist/supabase/supabase-client.d.ts +85 -181
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +170 -362
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/build-query-opts.d.ts +6 -2
- package/dist/supabase/use-sb-query/build-query-opts.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/build-query-opts.js +8 -4
- package/dist/supabase/use-sb-query/build-query-opts.js.map +1 -1
- package/dist/supabase/use-sb-query/use-query.d.ts +9 -6
- package/dist/supabase/use-sb-query/use-query.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/use-query.js.map +1 -1
- package/dist/supabase/use-sb-query/use-rpc-query.d.ts +25 -17
- package/dist/supabase/use-sb-query/use-rpc-query.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/use-rpc-query.js +48 -26
- package/dist/supabase/use-sb-query/use-rpc-query.js.map +1 -1
- package/dist/types/database.schemas.d.ts +129 -222
- package/dist/types/database.schemas.d.ts.map +1 -1
- package/dist/types/database.schemas.js +112 -124
- package/dist/types/database.schemas.js.map +1 -1
- package/dist/types/database.types.d.ts +85 -181
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +30 -59
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -3
- package/dist/types/index.js.map +1 -1
- package/package.json +105 -110
- package/src/cloud-account/platform-configs.ts +73 -73
- package/src/gomtmapi/@tanstack/react-query.gen.ts +537 -575
- package/src/gomtmapi/client/client.gen.ts +311 -311
- package/src/gomtmapi/client/index.ts +25 -25
- package/src/gomtmapi/client/types.gen.ts +241 -241
- package/src/gomtmapi/client/utils.gen.ts +332 -332
- package/src/gomtmapi/client.gen.ts +16 -16
- package/src/gomtmapi/core/auth.gen.ts +42 -42
- package/src/gomtmapi/core/bodySerializer.gen.ts +100 -100
- package/src/gomtmapi/core/params.gen.ts +176 -176
- package/src/gomtmapi/core/pathSerializer.gen.ts +181 -181
- package/src/gomtmapi/core/queryKeySerializer.gen.ts +136 -136
- package/src/gomtmapi/core/serverSentEvents.gen.ts +266 -266
- package/src/gomtmapi/core/types.gen.ts +118 -118
- package/src/gomtmapi/core/utils.gen.ts +143 -143
- package/src/gomtmapi/index.ts +4 -4
- package/src/gomtmapi/schemas.gen.ts +532 -596
- package/src/gomtmapi/sdk.gen.ts +371 -399
- package/src/gomtmapi/types.gen.ts +854 -962
- package/src/gomtmapi/zod.gen.ts +448 -507
- package/src/index.ts +4 -5
- package/src/lib/aisdk/types.ts +7 -7
- package/src/lib/logger/index.ts +8 -8
- package/src/lib/schema.ts +37 -50
- package/src/mtgate_api/client/client.gen.ts +311 -311
- package/src/mtgate_api/client/index.ts +25 -25
- package/src/mtgate_api/client/types.gen.ts +241 -241
- package/src/mtgate_api/client/utils.gen.ts +332 -332
- package/src/mtgate_api/client.gen.ts +16 -16
- package/src/mtgate_api/core/auth.gen.ts +42 -42
- package/src/mtgate_api/core/bodySerializer.gen.ts +100 -100
- package/src/mtgate_api/core/params.gen.ts +176 -176
- package/src/mtgate_api/core/pathSerializer.gen.ts +181 -181
- package/src/mtgate_api/core/queryKeySerializer.gen.ts +136 -136
- package/src/mtgate_api/core/serverSentEvents.gen.ts +266 -266
- package/src/mtgate_api/core/types.gen.ts +118 -118
- package/src/mtgate_api/core/utils.gen.ts +143 -143
- package/src/mtgate_api/index.ts +4 -4
- package/src/mtgate_api/sdk.gen.ts +17 -54
- package/src/mtgate_api/types.gen.ts +5 -239
- package/src/openclaw/client-info.ts +54 -54
- package/src/openclaw/device-auth-utils.ts +26 -26
- package/src/openclaw/device-auth.ts +99 -99
- package/src/openclaw/device-identity.ts +108 -108
- package/src/openclaw/gateway.ts +392 -392
- package/src/openclaw/types.ts +518 -518
- package/src/sbmng/@tanstack/react-query.gen.ts +2967 -3017
- package/src/sbmng/client/client.gen.ts +311 -311
- package/src/sbmng/client/index.ts +25 -25
- package/src/sbmng/client/types.gen.ts +241 -241
- package/src/sbmng/client/utils.gen.ts +332 -332
- package/src/sbmng/client.gen.ts +16 -16
- package/src/sbmng/core/auth.gen.ts +42 -42
- package/src/sbmng/core/bodySerializer.gen.ts +100 -100
- package/src/sbmng/core/params.gen.ts +176 -176
- package/src/sbmng/core/pathSerializer.gen.ts +181 -181
- package/src/sbmng/core/queryKeySerializer.gen.ts +136 -136
- package/src/sbmng/core/serverSentEvents.gen.ts +266 -266
- package/src/sbmng/core/types.gen.ts +118 -118
- package/src/sbmng/core/utils.gen.ts +143 -143
- package/src/sbmng/index.ts +4 -4
- package/src/sbmng/schemas.gen.ts +9671 -9805
- package/src/sbmng/sdk.gen.ts +1755 -1780
- package/src/sbmng/types.gen.ts +7886 -8016
- package/src/supabase/auth-provider.tsx +67 -67
- package/src/supabase/context.tsx +51 -51
- package/src/supabase/cursor-pagination.ts +155 -155
- package/src/supabase/schema/browser.ts +44 -44
- package/src/supabase/schema/index.ts +25 -25
- package/src/supabase/supabase-client.ts +30 -30
- package/src/supabase/supabase.ts +67 -67
- package/src/supabase/use-sb-query/build-query-opts.ts +68 -56
- package/src/supabase/use-sb-query/key.ts +57 -57
- package/src/supabase/use-sb-query/use-query.ts +352 -340
- package/src/supabase/use-sb-query/use-rpc-mutation.ts +83 -83
- package/src/supabase/use-sb-query/use-rpc-query.ts +267 -231
- package/src/supabase/utils.ts +75 -75
- package/src/types/database.schemas.ts +4359 -4378
- package/src/types/database.types.ts +4182 -4288
- package/src/types/index.ts +85 -102
- package/dist/adk/api/client.d.ts +0 -9
- package/dist/adk/api/client.d.ts.map +0 -1
- package/dist/adk/api/client.js +0 -39
- package/dist/adk/api/client.js.map +0 -1
- package/dist/adk/core/constants/tool-icons.d.ts +0 -21
- package/dist/adk/core/constants/tool-icons.d.ts.map +0 -1
- package/dist/adk/core/constants/tool-icons.js +0 -47
- package/dist/adk/core/constants/tool-icons.js.map +0 -1
- package/dist/adk/core/models/AgentBuilder.d.ts +0 -77
- package/dist/adk/core/models/AgentBuilder.d.ts.map +0 -1
- package/dist/adk/core/models/AgentBuilder.js +0 -18
- package/dist/adk/core/models/AgentBuilder.js.map +0 -1
- package/dist/adk/core/models/AgentRunRequest.d.ts +0 -37
- package/dist/adk/core/models/AgentRunRequest.d.ts.map +0 -1
- package/dist/adk/core/models/AgentRunRequest.js +0 -18
- package/dist/adk/core/models/AgentRunRequest.js.map +0 -1
- package/dist/adk/core/models/Eval.d.ts +0 -55
- package/dist/adk/core/models/Eval.d.ts.map +0 -1
- package/dist/adk/core/models/Eval.js +0 -27
- package/dist/adk/core/models/Eval.js.map +0 -1
- package/dist/adk/core/models/LiveRequest.d.ts +0 -23
- package/dist/adk/core/models/LiveRequest.d.ts.map +0 -1
- package/dist/adk/core/models/LiveRequest.js +0 -18
- package/dist/adk/core/models/LiveRequest.js.map +0 -1
- package/dist/adk/core/models/RuntimeConfig.d.ts +0 -32
- package/dist/adk/core/models/RuntimeConfig.d.ts.map +0 -1
- package/dist/adk/core/models/RuntimeConfig.js +0 -18
- package/dist/adk/core/models/RuntimeConfig.js.map +0 -1
- package/dist/adk/core/models/Session.d.ts +0 -117
- package/dist/adk/core/models/Session.d.ts.map +0 -1
- package/dist/adk/core/models/Session.js +0 -31
- package/dist/adk/core/models/Session.js.map +0 -1
- package/dist/adk/core/models/Trace.d.ts +0 -40
- package/dist/adk/core/models/Trace.d.ts.map +0 -1
- package/dist/adk/core/models/Trace.js +0 -2
- package/dist/adk/core/models/Trace.js.map +0 -1
- package/dist/adk/core/models/types.d.ts +0 -338
- package/dist/adk/core/models/types.d.ts.map +0 -1
- package/dist/adk/core/models/types.js +0 -189
- package/dist/adk/core/models/types.js.map +0 -1
- package/dist/lib/utils.d.ts +0 -14
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/utils.js +0 -45
- package/dist/lib/utils.js.map +0 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +0 -166
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +0 -118
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +0 -1
- package/dist/mtgate_api/schemas.gen.d.ts +0 -233
- package/dist/mtgate_api/schemas.gen.d.ts.map +0 -1
- package/dist/mtgate_api/schemas.gen.js +0 -277
- package/dist/mtgate_api/schemas.gen.js.map +0 -1
- package/dist/mtgate_api/zod.gen.d.ts +0 -321
- package/dist/mtgate_api/zod.gen.d.ts.map +0 -1
- package/dist/mtgate_api/zod.gen.js +0 -148
- package/dist/mtgate_api/zod.gen.js.map +0 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts +0 -949
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.js +0 -917
- package/dist/mtmai_api/@tanstack/react-query.gen.js.map +0 -1
- package/dist/mtmai_api/client/client.gen.d.ts +0 -3
- package/dist/mtmai_api/client/client.gen.d.ts.map +0 -1
- package/dist/mtmai_api/client/client.gen.js +0 -236
- package/dist/mtmai_api/client/client.gen.js.map +0 -1
- package/dist/mtmai_api/client/index.d.ts +0 -9
- package/dist/mtmai_api/client/index.d.ts.map +0 -1
- package/dist/mtmai_api/client/index.js +0 -7
- package/dist/mtmai_api/client/index.js.map +0 -1
- package/dist/mtmai_api/client/types.gen.d.ts +0 -118
- package/dist/mtmai_api/client/types.gen.d.ts.map +0 -1
- package/dist/mtmai_api/client/types.gen.js +0 -3
- package/dist/mtmai_api/client/types.gen.js.map +0 -1
- package/dist/mtmai_api/client/utils.gen.d.ts +0 -34
- package/dist/mtmai_api/client/utils.gen.d.ts.map +0 -1
- package/dist/mtmai_api/client/utils.gen.js +0 -232
- package/dist/mtmai_api/client/utils.gen.js.map +0 -1
- package/dist/mtmai_api/client.gen.d.ts +0 -13
- package/dist/mtmai_api/client.gen.d.ts.map +0 -1
- package/dist/mtmai_api/client.gen.js +0 -4
- package/dist/mtmai_api/client.gen.js.map +0 -1
- package/dist/mtmai_api/core/auth.gen.d.ts +0 -19
- package/dist/mtmai_api/core/auth.gen.d.ts.map +0 -1
- package/dist/mtmai_api/core/auth.gen.js +0 -15
- package/dist/mtmai_api/core/auth.gen.js.map +0 -1
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts +0 -26
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/mtmai_api/core/bodySerializer.gen.js +0 -58
- package/dist/mtmai_api/core/bodySerializer.gen.js.map +0 -1
- package/dist/mtmai_api/core/params.gen.d.ts +0 -44
- package/dist/mtmai_api/core/params.gen.d.ts.map +0 -1
- package/dist/mtmai_api/core/params.gen.js +0 -101
- package/dist/mtmai_api/core/params.gen.js.map +0 -1
- package/dist/mtmai_api/core/pathSerializer.gen.d.ts +0 -34
- package/dist/mtmai_api/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/mtmai_api/core/pathSerializer.gen.js +0 -115
- package/dist/mtmai_api/core/pathSerializer.gen.js.map +0 -1
- package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/mtmai_api/core/queryKeySerializer.gen.js +0 -100
- package/dist/mtmai_api/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/mtmai_api/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/mtmai_api/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/mtmai_api/core/serverSentEvents.gen.js +0 -138
- package/dist/mtmai_api/core/serverSentEvents.gen.js.map +0 -1
- package/dist/mtmai_api/core/types.gen.d.ts +0 -79
- package/dist/mtmai_api/core/types.gen.d.ts.map +0 -1
- package/dist/mtmai_api/core/types.gen.js +0 -3
- package/dist/mtmai_api/core/types.gen.js.map +0 -1
- package/dist/mtmai_api/core/utils.gen.d.ts +0 -20
- package/dist/mtmai_api/core/utils.gen.d.ts.map +0 -1
- package/dist/mtmai_api/core/utils.gen.js +0 -88
- package/dist/mtmai_api/core/utils.gen.js.map +0 -1
- package/dist/mtmai_api/index.d.ts +0 -3
- package/dist/mtmai_api/index.d.ts.map +0 -1
- package/dist/mtmai_api/index.js +0 -4
- package/dist/mtmai_api/index.js.map +0 -1
- package/dist/mtmai_api/schemas.gen.d.ts +0 -7721
- package/dist/mtmai_api/schemas.gen.d.ts.map +0 -1
- package/dist/mtmai_api/schemas.gen.js +0 -9774
- package/dist/mtmai_api/schemas.gen.js.map +0 -1
- package/dist/mtmai_api/sdk.gen.d.ts +0 -282
- package/dist/mtmai_api/sdk.gen.d.ts.map +0 -1
- package/dist/mtmai_api/sdk.gen.js +0 -404
- package/dist/mtmai_api/sdk.gen.js.map +0 -1
- package/dist/mtmai_api/types.gen.d.ts +0 -7152
- package/dist/mtmai_api/types.gen.d.ts.map +0 -1
- package/dist/mtmai_api/types.gen.js +0 -253
- package/dist/mtmai_api/types.gen.js.map +0 -1
- package/dist/mtmai_api/zod.gen.d.ts +0 -55827
- package/dist/mtmai_api/zod.gen.d.ts.map +0 -1
- package/dist/mtmai_api/zod.gen.js +0 -4805
- package/dist/mtmai_api/zod.gen.js.map +0 -1
- package/dist/supabase/use-sb-query/prefetch.d.ts +0 -10
- package/dist/supabase/use-sb-query/prefetch.d.ts.map +0 -1
- package/dist/supabase/use-sb-query/prefetch.js +0 -14
- package/dist/supabase/use-sb-query/prefetch.js.map +0 -1
- package/src/adk/api/client.ts +0 -46
- package/src/adk/core/constants/tool-icons.ts +0 -51
- package/src/adk/core/models/AgentBuilder.ts +0 -80
- package/src/adk/core/models/AgentRunRequest.ts +0 -33
- package/src/adk/core/models/Eval.ts +0 -70
- package/src/adk/core/models/LiveRequest.ts +0 -23
- package/src/adk/core/models/RuntimeConfig.ts +0 -33
- package/src/adk/core/models/Session.ts +0 -52
- package/src/adk/core/models/Trace.ts +0 -42
- package/src/adk/core/models/types.ts +0 -255
- package/src/lib/utils.ts +0 -54
- package/src/mtgate_api/@tanstack/react-query.gen.ts +0 -142
- package/src/mtgate_api/schemas.gen.ts +0 -290
- package/src/mtgate_api/zod.gen.ts +0 -176
- package/src/mtmai_api/@tanstack/react-query.gen.ts +0 -1010
- package/src/mtmai_api/client/client.gen.ts +0 -311
- package/src/mtmai_api/client/index.ts +0 -25
- package/src/mtmai_api/client/types.gen.ts +0 -241
- package/src/mtmai_api/client/utils.gen.ts +0 -332
- package/src/mtmai_api/client.gen.ts +0 -16
- package/src/mtmai_api/core/auth.gen.ts +0 -42
- package/src/mtmai_api/core/bodySerializer.gen.ts +0 -100
- package/src/mtmai_api/core/params.gen.ts +0 -176
- package/src/mtmai_api/core/pathSerializer.gen.ts +0 -181
- package/src/mtmai_api/core/queryKeySerializer.gen.ts +0 -136
- package/src/mtmai_api/core/serverSentEvents.gen.ts +0 -266
- package/src/mtmai_api/core/types.gen.ts +0 -118
- package/src/mtmai_api/core/utils.gen.ts +0 -143
- package/src/mtmai_api/index.ts +0 -4
- package/src/mtmai_api/schemas.gen.ts +0 -9980
- package/src/mtmai_api/sdk.gen.ts +0 -471
- package/src/mtmai_api/types.gen.ts +0 -7609
- package/src/mtmai_api/zod.gen.ts +0 -5101
- package/src/supabase/use-sb-query/prefetch.ts +0 -59
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* Runtime configuration for the ADK web app. Corresponds to the JSON file
|
|
19
|
-
* read by the web app at runtime (runtime-config.json).
|
|
20
|
-
*/
|
|
21
|
-
export declare interface RuntimeConfig {
|
|
22
|
-
backendUrl: string;
|
|
23
|
-
logo?: LogoConfig;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Logo configuration for the ADK web app.
|
|
27
|
-
*/
|
|
28
|
-
export declare interface LogoConfig {
|
|
29
|
-
text: string;
|
|
30
|
-
imageUrl: string;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=RuntimeConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimeConfig.d.ts","sourceRoot":"","sources":["../../../../src/adk/core/models/RuntimeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;GAGG;AACH,MAAM,CAAC,OAAO,WAAW,aAAa;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,UAAU;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=RuntimeConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimeConfig.js","sourceRoot":"","sources":["../../../../src/adk/core/models/RuntimeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import z from "zod";
|
|
18
|
-
import { type Event } from "./types";
|
|
19
|
-
/**
|
|
20
|
-
* Interface representing the state of a Session.
|
|
21
|
-
*/
|
|
22
|
-
export type SessionState = {
|
|
23
|
-
[key: string]: unknown;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Interface representing a Session.
|
|
27
|
-
*/
|
|
28
|
-
export declare interface Session {
|
|
29
|
-
id?: string;
|
|
30
|
-
appName?: string;
|
|
31
|
-
userId?: string;
|
|
32
|
-
state?: SessionState;
|
|
33
|
-
events?: Event[];
|
|
34
|
-
lastUpdateTime?: number;
|
|
35
|
-
}
|
|
36
|
-
export declare const zAdkSessionState: z.ZodAny;
|
|
37
|
-
export declare const zAdkSession: z.ZodObject<{
|
|
38
|
-
id: z.ZodOptional<z.ZodString>;
|
|
39
|
-
appName: z.ZodOptional<z.ZodString>;
|
|
40
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
41
|
-
state: z.ZodAny;
|
|
42
|
-
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
|
-
id: z.ZodOptional<z.ZodString>;
|
|
44
|
-
author: z.ZodOptional<z.ZodString>;
|
|
45
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
46
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
47
|
-
message: z.ZodOptional<z.ZodString>;
|
|
48
|
-
artifactDelta: z.ZodOptional<z.ZodAny>;
|
|
49
|
-
functionCall: z.ZodOptional<z.ZodObject<{
|
|
50
|
-
id: z.ZodOptional<z.ZodString>;
|
|
51
|
-
name: z.ZodString;
|
|
52
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
53
|
-
}, z.core.$strip>>;
|
|
54
|
-
functionResponse: z.ZodOptional<z.ZodObject<{
|
|
55
|
-
id: z.ZodOptional<z.ZodString>;
|
|
56
|
-
name: z.ZodString;
|
|
57
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
58
|
-
}, z.core.$strip>>;
|
|
59
|
-
finishReason: z.ZodOptional<z.ZodString>;
|
|
60
|
-
}, z.core.$strip>>;
|
|
61
|
-
longRunningToolIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
63
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
64
|
-
content: z.ZodOptional<z.ZodObject<{
|
|
65
|
-
role: z.ZodString;
|
|
66
|
-
parts: z.ZodArray<z.ZodObject<{
|
|
67
|
-
text: z.ZodOptional<z.ZodString>;
|
|
68
|
-
inlineData: z.ZodOptional<z.ZodObject<{
|
|
69
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
70
|
-
data: z.ZodString;
|
|
71
|
-
}, z.core.$strip>>;
|
|
72
|
-
functionCall: z.ZodOptional<z.ZodObject<{
|
|
73
|
-
id: z.ZodOptional<z.ZodString>;
|
|
74
|
-
name: z.ZodString;
|
|
75
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
76
|
-
}, z.core.$strip>>;
|
|
77
|
-
functionResponse: z.ZodOptional<z.ZodObject<{
|
|
78
|
-
id: z.ZodOptional<z.ZodString>;
|
|
79
|
-
name: z.ZodString;
|
|
80
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
81
|
-
}, z.core.$strip>>;
|
|
82
|
-
thought: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
-
fileData: z.ZodOptional<z.ZodObject<{
|
|
84
|
-
mimeType: z.ZodString;
|
|
85
|
-
fileUri: z.ZodString;
|
|
86
|
-
}, z.core.$strip>>;
|
|
87
|
-
executableCode: z.ZodOptional<z.ZodObject<{
|
|
88
|
-
language: z.ZodEnum<{
|
|
89
|
-
UNKNOWN: "UNKNOWN";
|
|
90
|
-
PYTHON: "PYTHON";
|
|
91
|
-
}>;
|
|
92
|
-
code: z.ZodString;
|
|
93
|
-
}, z.core.$strip>>;
|
|
94
|
-
codeExecutionResult: z.ZodOptional<z.ZodObject<{
|
|
95
|
-
outcome: z.ZodEnum<{
|
|
96
|
-
UNKNOWN: "UNKNOWN";
|
|
97
|
-
OK: "OK";
|
|
98
|
-
FAILED: "FAILED";
|
|
99
|
-
DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
|
|
100
|
-
}>;
|
|
101
|
-
output: z.ZodString;
|
|
102
|
-
}, z.core.$strip>>;
|
|
103
|
-
}, z.core.$strip>>;
|
|
104
|
-
}, z.core.$strip>>;
|
|
105
|
-
error: z.ZodOptional<z.ZodString>;
|
|
106
|
-
errorMessage: z.ZodOptional<z.ZodString>;
|
|
107
|
-
errorCode: z.ZodOptional<z.ZodString>;
|
|
108
|
-
groundingMetadata: z.ZodOptional<z.ZodAny>;
|
|
109
|
-
usageMetadata: z.ZodOptional<z.ZodAny>;
|
|
110
|
-
citationMetadata: z.ZodOptional<z.ZodAny>;
|
|
111
|
-
customMetadata: z.ZodOptional<z.ZodAny>;
|
|
112
|
-
turnComplete: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
-
interrupted: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
-
}, z.core.$strip>>>;
|
|
115
|
-
updateAt: z.ZodOptional<z.ZodISODateTime>;
|
|
116
|
-
}, z.core.$strip>;
|
|
117
|
-
//# sourceMappingURL=Session.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Session.d.ts","sourceRoot":"","sources":["../../../../src/adk/core/models/Session.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,KAAK,KAAK,EAAa,MAAM,SAAS,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,OAAO;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,UAAU,CAAC;AAExC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUtB,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import z from "zod";
|
|
18
|
-
import { zAdkEvent } from "./types";
|
|
19
|
-
export const zAdkSessionState = z.any();
|
|
20
|
-
export const zAdkSession = z.object({
|
|
21
|
-
id: z.string().optional(),
|
|
22
|
-
appName: z.string().optional(),
|
|
23
|
-
userId: z.string().optional(),
|
|
24
|
-
state: zAdkSessionState,
|
|
25
|
-
events: z.array(zAdkEvent).optional(),
|
|
26
|
-
// lastUpdateTime: z.number(), //删除
|
|
27
|
-
updateAt: z.iso.datetime().optional(), //新增
|
|
28
|
-
// updateAt: z.coerce.date(),
|
|
29
|
-
// updateAt: z.date().optional(), //新增
|
|
30
|
-
});
|
|
31
|
-
//# sourceMappingURL=Session.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../../src/adk/core/models/Session.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAc,SAAS,EAAE,MAAM,SAAS,CAAC;AAqBhD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;AAExC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE;IACpC,mCAAmC;IACpC,QAAQ,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,IAAI;IAC3C,6BAA6B;IAC7B,sCAAsC;CACtC,CAAC,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export declare interface Span {
|
|
18
|
-
name: string;
|
|
19
|
-
start_time: number;
|
|
20
|
-
end_time: number;
|
|
21
|
-
span_id: string;
|
|
22
|
-
parent_span_id?: string;
|
|
23
|
-
trace_id: string;
|
|
24
|
-
attributes?: any;
|
|
25
|
-
children?: Span[];
|
|
26
|
-
invoc_id?: string;
|
|
27
|
-
'gcp.vertex.agent.llm_request'?: string;
|
|
28
|
-
'gcp.vertex.agent.llm_response'?: string;
|
|
29
|
-
}
|
|
30
|
-
export declare interface SpanNode extends Span {
|
|
31
|
-
children: SpanNode[];
|
|
32
|
-
depth: number;
|
|
33
|
-
duration: number;
|
|
34
|
-
id: string;
|
|
35
|
-
}
|
|
36
|
-
export declare interface TimeTick {
|
|
37
|
-
position: number;
|
|
38
|
-
label: string;
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=Trace.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Trace.d.ts","sourceRoot":"","sources":["../../../../src/adk/core/models/Trace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,WAAW,IAAI;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C;AAED,MAAM,CAAC,OAAO,WAAW,QAAS,SAAQ,IAAI;IAC5C,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Trace.js","sourceRoot":"","sources":["../../../../src/adk/core/models/Trace.ts"],"names":[],"mappings":""}
|
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
import z from "zod";
|
|
2
|
-
export declare const zAdkBlob: z.ZodObject<{
|
|
3
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
4
|
-
data: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
export type Blob = z.infer<typeof zAdkBlob>;
|
|
7
|
-
export declare const zAdkFunctionCall: z.ZodObject<{
|
|
8
|
-
id: z.ZodOptional<z.ZodString>;
|
|
9
|
-
name: z.ZodString;
|
|
10
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export type FunctionCall = z.infer<typeof zAdkFunctionCall>;
|
|
13
|
-
export declare const zAdkFunctionResp: z.ZodObject<{
|
|
14
|
-
id: z.ZodOptional<z.ZodString>;
|
|
15
|
-
name: z.ZodString;
|
|
16
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
export type FunctionResponse = z.infer<typeof zAdkFunctionResp>;
|
|
19
|
-
export declare const zAdkFileData: z.ZodObject<{
|
|
20
|
-
mimeType: z.ZodString;
|
|
21
|
-
fileUri: z.ZodString;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
export type FileData = z.infer<typeof zAdkFileData>;
|
|
24
|
-
export declare const zAdkExecutableCode: z.ZodObject<{
|
|
25
|
-
language: z.ZodEnum<{
|
|
26
|
-
UNKNOWN: "UNKNOWN";
|
|
27
|
-
PYTHON: "PYTHON";
|
|
28
|
-
}>;
|
|
29
|
-
code: z.ZodString;
|
|
30
|
-
}, z.core.$strip>;
|
|
31
|
-
export type ExecutableCode = z.infer<typeof zAdkExecutableCode>;
|
|
32
|
-
export declare const zAdkCodeExecutionResult: z.ZodObject<{
|
|
33
|
-
outcome: z.ZodEnum<{
|
|
34
|
-
UNKNOWN: "UNKNOWN";
|
|
35
|
-
OK: "OK";
|
|
36
|
-
FAILED: "FAILED";
|
|
37
|
-
DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
|
|
38
|
-
}>;
|
|
39
|
-
output: z.ZodString;
|
|
40
|
-
}, z.core.$strip>;
|
|
41
|
-
export type CodeExecutionResult = z.infer<typeof zAdkCodeExecutionResult>;
|
|
42
|
-
export declare const zAdkPart: z.ZodObject<{
|
|
43
|
-
text: z.ZodOptional<z.ZodString>;
|
|
44
|
-
inlineData: z.ZodOptional<z.ZodObject<{
|
|
45
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
46
|
-
data: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>;
|
|
48
|
-
functionCall: z.ZodOptional<z.ZodObject<{
|
|
49
|
-
id: z.ZodOptional<z.ZodString>;
|
|
50
|
-
name: z.ZodString;
|
|
51
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
52
|
-
}, z.core.$strip>>;
|
|
53
|
-
functionResponse: z.ZodOptional<z.ZodObject<{
|
|
54
|
-
id: z.ZodOptional<z.ZodString>;
|
|
55
|
-
name: z.ZodString;
|
|
56
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
57
|
-
}, z.core.$strip>>;
|
|
58
|
-
thought: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
-
fileData: z.ZodOptional<z.ZodObject<{
|
|
60
|
-
mimeType: z.ZodString;
|
|
61
|
-
fileUri: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>;
|
|
63
|
-
executableCode: z.ZodOptional<z.ZodObject<{
|
|
64
|
-
language: z.ZodEnum<{
|
|
65
|
-
UNKNOWN: "UNKNOWN";
|
|
66
|
-
PYTHON: "PYTHON";
|
|
67
|
-
}>;
|
|
68
|
-
code: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>;
|
|
70
|
-
codeExecutionResult: z.ZodOptional<z.ZodObject<{
|
|
71
|
-
outcome: z.ZodEnum<{
|
|
72
|
-
UNKNOWN: "UNKNOWN";
|
|
73
|
-
OK: "OK";
|
|
74
|
-
FAILED: "FAILED";
|
|
75
|
-
DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
|
|
76
|
-
}>;
|
|
77
|
-
output: z.ZodString;
|
|
78
|
-
}, z.core.$strip>>;
|
|
79
|
-
}, z.core.$strip>;
|
|
80
|
-
export type Part = z.infer<typeof zAdkPart>;
|
|
81
|
-
export declare interface GenAiContent {
|
|
82
|
-
role: string;
|
|
83
|
-
parts: Part[];
|
|
84
|
-
}
|
|
85
|
-
export declare const zGenaiContent: z.ZodObject<{
|
|
86
|
-
role: z.ZodString;
|
|
87
|
-
parts: z.ZodArray<z.ZodObject<{
|
|
88
|
-
text: z.ZodOptional<z.ZodString>;
|
|
89
|
-
inlineData: z.ZodOptional<z.ZodObject<{
|
|
90
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
91
|
-
data: z.ZodString;
|
|
92
|
-
}, z.core.$strip>>;
|
|
93
|
-
functionCall: z.ZodOptional<z.ZodObject<{
|
|
94
|
-
id: z.ZodOptional<z.ZodString>;
|
|
95
|
-
name: z.ZodString;
|
|
96
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
97
|
-
}, z.core.$strip>>;
|
|
98
|
-
functionResponse: z.ZodOptional<z.ZodObject<{
|
|
99
|
-
id: z.ZodOptional<z.ZodString>;
|
|
100
|
-
name: z.ZodString;
|
|
101
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
102
|
-
}, z.core.$strip>>;
|
|
103
|
-
thought: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
-
fileData: z.ZodOptional<z.ZodObject<{
|
|
105
|
-
mimeType: z.ZodString;
|
|
106
|
-
fileUri: z.ZodString;
|
|
107
|
-
}, z.core.$strip>>;
|
|
108
|
-
executableCode: z.ZodOptional<z.ZodObject<{
|
|
109
|
-
language: z.ZodEnum<{
|
|
110
|
-
UNKNOWN: "UNKNOWN";
|
|
111
|
-
PYTHON: "PYTHON";
|
|
112
|
-
}>;
|
|
113
|
-
code: z.ZodString;
|
|
114
|
-
}, z.core.$strip>>;
|
|
115
|
-
codeExecutionResult: z.ZodOptional<z.ZodObject<{
|
|
116
|
-
outcome: z.ZodEnum<{
|
|
117
|
-
UNKNOWN: "UNKNOWN";
|
|
118
|
-
OK: "OK";
|
|
119
|
-
FAILED: "FAILED";
|
|
120
|
-
DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
|
|
121
|
-
}>;
|
|
122
|
-
output: z.ZodString;
|
|
123
|
-
}, z.core.$strip>>;
|
|
124
|
-
}, z.core.$strip>>;
|
|
125
|
-
}, z.core.$strip>;
|
|
126
|
-
export declare interface LlmRequest {
|
|
127
|
-
contents: GenAiContent[];
|
|
128
|
-
}
|
|
129
|
-
export declare const zAdkLlmRequest: z.ZodObject<{
|
|
130
|
-
contents: z.ZodArray<z.ZodObject<{
|
|
131
|
-
role: z.ZodString;
|
|
132
|
-
parts: z.ZodArray<z.ZodObject<{
|
|
133
|
-
text: z.ZodOptional<z.ZodString>;
|
|
134
|
-
inlineData: z.ZodOptional<z.ZodObject<{
|
|
135
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
136
|
-
data: z.ZodString;
|
|
137
|
-
}, z.core.$strip>>;
|
|
138
|
-
functionCall: z.ZodOptional<z.ZodObject<{
|
|
139
|
-
id: z.ZodOptional<z.ZodString>;
|
|
140
|
-
name: z.ZodString;
|
|
141
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
142
|
-
}, z.core.$strip>>;
|
|
143
|
-
functionResponse: z.ZodOptional<z.ZodObject<{
|
|
144
|
-
id: z.ZodOptional<z.ZodString>;
|
|
145
|
-
name: z.ZodString;
|
|
146
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
147
|
-
}, z.core.$strip>>;
|
|
148
|
-
thought: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
-
fileData: z.ZodOptional<z.ZodObject<{
|
|
150
|
-
mimeType: z.ZodString;
|
|
151
|
-
fileUri: z.ZodString;
|
|
152
|
-
}, z.core.$strip>>;
|
|
153
|
-
executableCode: z.ZodOptional<z.ZodObject<{
|
|
154
|
-
language: z.ZodEnum<{
|
|
155
|
-
UNKNOWN: "UNKNOWN";
|
|
156
|
-
PYTHON: "PYTHON";
|
|
157
|
-
}>;
|
|
158
|
-
code: z.ZodString;
|
|
159
|
-
}, z.core.$strip>>;
|
|
160
|
-
codeExecutionResult: z.ZodOptional<z.ZodObject<{
|
|
161
|
-
outcome: z.ZodEnum<{
|
|
162
|
-
UNKNOWN: "UNKNOWN";
|
|
163
|
-
OK: "OK";
|
|
164
|
-
FAILED: "FAILED";
|
|
165
|
-
DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
|
|
166
|
-
}>;
|
|
167
|
-
output: z.ZodString;
|
|
168
|
-
}, z.core.$strip>>;
|
|
169
|
-
}, z.core.$strip>>;
|
|
170
|
-
}, z.core.$strip>>;
|
|
171
|
-
}, z.core.$strip>;
|
|
172
|
-
export declare const zAdkEventActions: z.ZodObject<{
|
|
173
|
-
message: z.ZodOptional<z.ZodString>;
|
|
174
|
-
artifactDelta: z.ZodOptional<z.ZodAny>;
|
|
175
|
-
functionCall: z.ZodOptional<z.ZodObject<{
|
|
176
|
-
id: z.ZodOptional<z.ZodString>;
|
|
177
|
-
name: z.ZodString;
|
|
178
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
179
|
-
}, z.core.$strip>>;
|
|
180
|
-
functionResponse: z.ZodOptional<z.ZodObject<{
|
|
181
|
-
id: z.ZodOptional<z.ZodString>;
|
|
182
|
-
name: z.ZodString;
|
|
183
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
184
|
-
}, z.core.$strip>>;
|
|
185
|
-
finishReason: z.ZodOptional<z.ZodString>;
|
|
186
|
-
}, z.core.$strip>;
|
|
187
|
-
export type EventActions = z.infer<typeof zAdkEventActions>;
|
|
188
|
-
export declare const zAdkEvent: z.ZodObject<{
|
|
189
|
-
id: z.ZodOptional<z.ZodString>;
|
|
190
|
-
author: z.ZodOptional<z.ZodString>;
|
|
191
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
192
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
193
|
-
message: z.ZodOptional<z.ZodString>;
|
|
194
|
-
artifactDelta: z.ZodOptional<z.ZodAny>;
|
|
195
|
-
functionCall: z.ZodOptional<z.ZodObject<{
|
|
196
|
-
id: z.ZodOptional<z.ZodString>;
|
|
197
|
-
name: z.ZodString;
|
|
198
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
199
|
-
}, z.core.$strip>>;
|
|
200
|
-
functionResponse: z.ZodOptional<z.ZodObject<{
|
|
201
|
-
id: z.ZodOptional<z.ZodString>;
|
|
202
|
-
name: z.ZodString;
|
|
203
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
204
|
-
}, z.core.$strip>>;
|
|
205
|
-
finishReason: z.ZodOptional<z.ZodString>;
|
|
206
|
-
}, z.core.$strip>>;
|
|
207
|
-
longRunningToolIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
209
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
210
|
-
content: z.ZodOptional<z.ZodObject<{
|
|
211
|
-
role: z.ZodString;
|
|
212
|
-
parts: z.ZodArray<z.ZodObject<{
|
|
213
|
-
text: z.ZodOptional<z.ZodString>;
|
|
214
|
-
inlineData: z.ZodOptional<z.ZodObject<{
|
|
215
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
216
|
-
data: z.ZodString;
|
|
217
|
-
}, z.core.$strip>>;
|
|
218
|
-
functionCall: z.ZodOptional<z.ZodObject<{
|
|
219
|
-
id: z.ZodOptional<z.ZodString>;
|
|
220
|
-
name: z.ZodString;
|
|
221
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
222
|
-
}, z.core.$strip>>;
|
|
223
|
-
functionResponse: z.ZodOptional<z.ZodObject<{
|
|
224
|
-
id: z.ZodOptional<z.ZodString>;
|
|
225
|
-
name: z.ZodString;
|
|
226
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
227
|
-
}, z.core.$strip>>;
|
|
228
|
-
thought: z.ZodOptional<z.ZodBoolean>;
|
|
229
|
-
fileData: z.ZodOptional<z.ZodObject<{
|
|
230
|
-
mimeType: z.ZodString;
|
|
231
|
-
fileUri: z.ZodString;
|
|
232
|
-
}, z.core.$strip>>;
|
|
233
|
-
executableCode: z.ZodOptional<z.ZodObject<{
|
|
234
|
-
language: z.ZodEnum<{
|
|
235
|
-
UNKNOWN: "UNKNOWN";
|
|
236
|
-
PYTHON: "PYTHON";
|
|
237
|
-
}>;
|
|
238
|
-
code: z.ZodString;
|
|
239
|
-
}, z.core.$strip>>;
|
|
240
|
-
codeExecutionResult: z.ZodOptional<z.ZodObject<{
|
|
241
|
-
outcome: z.ZodEnum<{
|
|
242
|
-
UNKNOWN: "UNKNOWN";
|
|
243
|
-
OK: "OK";
|
|
244
|
-
FAILED: "FAILED";
|
|
245
|
-
DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
|
|
246
|
-
}>;
|
|
247
|
-
output: z.ZodString;
|
|
248
|
-
}, z.core.$strip>>;
|
|
249
|
-
}, z.core.$strip>>;
|
|
250
|
-
}, z.core.$strip>>;
|
|
251
|
-
error: z.ZodOptional<z.ZodString>;
|
|
252
|
-
errorMessage: z.ZodOptional<z.ZodString>;
|
|
253
|
-
errorCode: z.ZodOptional<z.ZodString>;
|
|
254
|
-
groundingMetadata: z.ZodOptional<z.ZodAny>;
|
|
255
|
-
usageMetadata: z.ZodOptional<z.ZodAny>;
|
|
256
|
-
citationMetadata: z.ZodOptional<z.ZodAny>;
|
|
257
|
-
customMetadata: z.ZodOptional<z.ZodAny>;
|
|
258
|
-
turnComplete: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
-
interrupted: z.ZodOptional<z.ZodBoolean>;
|
|
260
|
-
}, z.core.$strip>;
|
|
261
|
-
export type Event = z.infer<typeof zAdkEvent>;
|
|
262
|
-
/**
|
|
263
|
-
* 数据库对应的 Event 结构,通常与 API Event 结构一致
|
|
264
|
-
*/
|
|
265
|
-
export declare const zDbAdkEvent: z.ZodObject<{
|
|
266
|
-
id: z.ZodOptional<z.ZodString>;
|
|
267
|
-
author: z.ZodOptional<z.ZodString>;
|
|
268
|
-
invocationId: z.ZodOptional<z.ZodString>;
|
|
269
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
270
|
-
message: z.ZodOptional<z.ZodString>;
|
|
271
|
-
artifactDelta: z.ZodOptional<z.ZodAny>;
|
|
272
|
-
functionCall: z.ZodOptional<z.ZodObject<{
|
|
273
|
-
id: z.ZodOptional<z.ZodString>;
|
|
274
|
-
name: z.ZodString;
|
|
275
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
276
|
-
}, z.core.$strip>>;
|
|
277
|
-
functionResponse: z.ZodOptional<z.ZodObject<{
|
|
278
|
-
id: z.ZodOptional<z.ZodString>;
|
|
279
|
-
name: z.ZodString;
|
|
280
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
281
|
-
}, z.core.$strip>>;
|
|
282
|
-
finishReason: z.ZodOptional<z.ZodString>;
|
|
283
|
-
}, z.core.$strip>>;
|
|
284
|
-
longRunningToolIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
285
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
286
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
287
|
-
content: z.ZodOptional<z.ZodObject<{
|
|
288
|
-
role: z.ZodString;
|
|
289
|
-
parts: z.ZodArray<z.ZodObject<{
|
|
290
|
-
text: z.ZodOptional<z.ZodString>;
|
|
291
|
-
inlineData: z.ZodOptional<z.ZodObject<{
|
|
292
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
293
|
-
data: z.ZodString;
|
|
294
|
-
}, z.core.$strip>>;
|
|
295
|
-
functionCall: z.ZodOptional<z.ZodObject<{
|
|
296
|
-
id: z.ZodOptional<z.ZodString>;
|
|
297
|
-
name: z.ZodString;
|
|
298
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
299
|
-
}, z.core.$strip>>;
|
|
300
|
-
functionResponse: z.ZodOptional<z.ZodObject<{
|
|
301
|
-
id: z.ZodOptional<z.ZodString>;
|
|
302
|
-
name: z.ZodString;
|
|
303
|
-
response: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
304
|
-
}, z.core.$strip>>;
|
|
305
|
-
thought: z.ZodOptional<z.ZodBoolean>;
|
|
306
|
-
fileData: z.ZodOptional<z.ZodObject<{
|
|
307
|
-
mimeType: z.ZodString;
|
|
308
|
-
fileUri: z.ZodString;
|
|
309
|
-
}, z.core.$strip>>;
|
|
310
|
-
executableCode: z.ZodOptional<z.ZodObject<{
|
|
311
|
-
language: z.ZodEnum<{
|
|
312
|
-
UNKNOWN: "UNKNOWN";
|
|
313
|
-
PYTHON: "PYTHON";
|
|
314
|
-
}>;
|
|
315
|
-
code: z.ZodString;
|
|
316
|
-
}, z.core.$strip>>;
|
|
317
|
-
codeExecutionResult: z.ZodOptional<z.ZodObject<{
|
|
318
|
-
outcome: z.ZodEnum<{
|
|
319
|
-
UNKNOWN: "UNKNOWN";
|
|
320
|
-
OK: "OK";
|
|
321
|
-
FAILED: "FAILED";
|
|
322
|
-
DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
|
|
323
|
-
}>;
|
|
324
|
-
output: z.ZodString;
|
|
325
|
-
}, z.core.$strip>>;
|
|
326
|
-
}, z.core.$strip>>;
|
|
327
|
-
}, z.core.$strip>>;
|
|
328
|
-
error: z.ZodOptional<z.ZodString>;
|
|
329
|
-
errorMessage: z.ZodOptional<z.ZodString>;
|
|
330
|
-
errorCode: z.ZodOptional<z.ZodString>;
|
|
331
|
-
groundingMetadata: z.ZodOptional<z.ZodAny>;
|
|
332
|
-
usageMetadata: z.ZodOptional<z.ZodAny>;
|
|
333
|
-
citationMetadata: z.ZodOptional<z.ZodAny>;
|
|
334
|
-
customMetadata: z.ZodOptional<z.ZodAny>;
|
|
335
|
-
turnComplete: z.ZodOptional<z.ZodBoolean>;
|
|
336
|
-
interrupted: z.ZodOptional<z.ZodBoolean>;
|
|
337
|
-
}, z.core.$strip>;
|
|
338
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/adk/core/models/types.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,QAAQ;;;iBAGG,CAAA;AAExB,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAA;AAE3C,eAAO,MAAM,gBAAgB;;;;iBAKI,CAAA;AAEjC,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE3D,eAAO,MAAM,gBAAgB;;;;iBAII,CAAA;AAEjC,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE/D,eAAO,MAAM,YAAY;;;iBAGI,CAAA;AAE7B,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AAEnD,eAAO,MAAM,kBAAkB;;;;;;iBAGG,CAAA;AAElC,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE/D,eAAO,MAAM,uBAAuB;;;;;;;;iBAGG,CAAA;AAEvC,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAGzE,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBASG,CAAA;AAExB,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAA;AAE3C,MAAM,CAAC,OAAO,WAAW,YAAY;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,IAAI,EAAE,CAAC;CACf;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGG,CAAA;AAE7B,MAAM,CAAC,OAAO,WAAW,UAAU;IACjC,QAAQ,EAAE,YAAY,EAAE,CAAC;CAC1B;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEG,CAAA;AAE9B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;iBAMG,CAAA;AAEhC,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAK3D,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBG,CAAA;AAEzB,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AAE7C;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAA"}
|