weave-typescript 0.51.2 → 0.52.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/dist/google/protobuf/duration.pb.d.ts +99 -0
- package/dist/google/protobuf/duration.pb.js +93 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/weave/authz/v1/index.d.ts +1 -0
- package/dist/weave/authz/v1/index.js +38 -0
- package/dist/weave/authz/v1/options.pb.d.ts +52 -0
- package/dist/weave/authz/v1/options.pb.js +403 -0
- package/dist/weave/filter/v1/index.d.ts +1 -0
- package/dist/weave/filter/v1/index.js +38 -0
- package/dist/{weaveapi/atc/v1/message.pb.d.ts → weave/filter/v1/options.pb.d.ts} +33 -21
- package/dist/weave/filter/v1/options.pb.js +417 -0
- package/dist/weave/index.d.ts +2 -0
- package/dist/weave/index.js +39 -0
- package/dist/weaveapi/agent/v1/agent.pb.d.ts +137 -188
- package/dist/weaveapi/agent/v1/agent.pb.js +891 -2151
- package/dist/weaveapi/agent/v1/index.d.ts +1 -1
- package/dist/weaveapi/agent/v1/index.js +2 -2
- package/dist/weaveapi/agent/v1/run.pb.d.ts +289 -0
- package/dist/weaveapi/agent/v1/run.pb.js +2763 -0
- package/dist/weaveapi/auth/v1/auth.pb.d.ts +67 -14
- package/dist/weaveapi/auth/v1/auth.pb.js +829 -89
- package/dist/weaveapi/auth/v1/index.d.ts +4 -1
- package/dist/weaveapi/auth/v1/index.js +5 -2
- package/dist/weaveapi/auth/v1/{service.pb.d.ts → organization_admin.pb.d.ts} +39 -530
- package/dist/weaveapi/auth/v1/{service.pb.js → organization_admin.pb.js} +2978 -5812
- package/dist/weaveapi/auth/v1/personal_access_token.pb.d.ts +114 -0
- package/dist/weaveapi/auth/v1/personal_access_token.pb.js +750 -0
- package/dist/weaveapi/auth/v1/profile.pb.d.ts +161 -0
- package/dist/weaveapi/auth/v1/profile.pb.js +1007 -0
- package/dist/weaveapi/auth/v1/session.pb.d.ts +460 -0
- package/dist/weaveapi/auth/v1/session.pb.js +3544 -0
- package/dist/weaveapi/chat/v1/chat.pb.d.ts +377 -149
- package/dist/weaveapi/chat/v1/chat.pb.js +3492 -1614
- package/dist/weaveapi/chat/v1/index.d.ts +0 -1
- package/dist/weaveapi/chat/v1/index.js +1 -2
- package/dist/weaveapi/consolidation/v1/consolidation.pb.d.ts +95 -0
- package/dist/weaveapi/consolidation/v1/consolidation.pb.js +770 -1
- package/dist/weaveapi/consolidation/v1/index.d.ts +0 -1
- package/dist/weaveapi/consolidation/v1/index.js +1 -2
- package/dist/weaveapi/content/v1/content.pb.d.ts +63 -0
- package/dist/weaveapi/content/v1/content.pb.js +470 -0
- package/dist/weaveapi/content/v1/index.d.ts +1 -0
- package/dist/weaveapi/content/v1/index.js +38 -0
- package/dist/weaveapi/gateway/v1/gateway.pb.d.ts +247 -523
- package/dist/weaveapi/gateway/v1/gateway.pb.js +1648 -5783
- package/dist/weaveapi/gateway/v1/index.d.ts +0 -1
- package/dist/weaveapi/gateway/v1/index.js +1 -2
- package/dist/weaveapi/index.d.ts +5 -5
- package/dist/weaveapi/index.js +6 -6
- package/dist/weaveapi/inference/v1/generate.pb.d.ts +120 -0
- package/dist/weaveapi/inference/v1/generate.pb.js +1159 -0
- package/dist/weaveapi/inference/v1/index.d.ts +4 -0
- package/dist/weaveapi/{provider → inference}/v1/index.js +4 -2
- package/dist/weaveapi/{model → inference}/v1/model.pb.d.ts +52 -15
- package/dist/weaveapi/{model → inference}/v1/model.pb.js +529 -116
- package/dist/weaveapi/{model/v1/service.pb.d.ts → inference/v1/model_route.pb.d.ts} +182 -110
- package/dist/weaveapi/{model/v1/service.pb.js → inference/v1/model_route.pb.js} +2197 -1061
- package/dist/weaveapi/inference/v1/provider.pb.d.ts +264 -0
- package/dist/weaveapi/inference/v1/provider.pb.js +2590 -0
- package/dist/weaveapi/ingestion/v1/index.d.ts +0 -2
- package/dist/weaveapi/ingestion/v1/index.js +1 -3
- package/dist/weaveapi/ingestion/v1/ingestion.pb.d.ts +543 -0
- package/dist/weaveapi/ingestion/v1/ingestion.pb.js +5550 -16
- package/dist/weaveapi/initialization/v1/index.d.ts +1 -0
- package/dist/weaveapi/initialization/v1/index.js +38 -0
- package/dist/weaveapi/initialization/v1/initialization.pb.d.ts +99 -0
- package/dist/weaveapi/initialization/v1/initialization.pb.js +510 -0
- package/dist/weaveapi/organization/v1/index.d.ts +0 -1
- package/dist/weaveapi/organization/v1/index.js +1 -2
- package/dist/weaveapi/organization/v1/organization.pb.d.ts +241 -0
- package/dist/weaveapi/organization/v1/organization.pb.js +1838 -1
- package/dist/weaveapi/reporting/index.d.ts +1 -0
- package/dist/weaveapi/reporting/index.js +38 -0
- package/dist/weaveapi/{task → reporting}/v1/index.d.ts +1 -1
- package/dist/weaveapi/{model → reporting}/v1/index.js +2 -2
- package/dist/weaveapi/reporting/v1/service.pb.d.ts +38 -0
- package/dist/weaveapi/reporting/v1/service.pb.js +167 -0
- package/dist/weaveapi/reporting/v1/usage.pb.d.ts +150 -0
- package/dist/weaveapi/reporting/v1/usage.pb.js +1837 -0
- package/dist/weaveapi/retrieval/v1/index.d.ts +0 -1
- package/dist/weaveapi/retrieval/v1/index.js +1 -2
- package/dist/weaveapi/retrieval/v1/retrieval.pb.d.ts +96 -2
- package/dist/weaveapi/retrieval/v1/retrieval.pb.js +690 -10
- package/dist/weaveapi/tool/index.d.ts +1 -0
- package/dist/weaveapi/tool/index.js +38 -0
- package/dist/weaveapi/tool/v1/index.d.ts +1 -0
- package/dist/weaveapi/tool/v1/index.js +38 -0
- package/dist/weaveapi/tool/v1/tool.pb.d.ts +370 -0
- package/dist/weaveapi/tool/v1/tool.pb.js +2717 -0
- package/dist/weaveapi/workflow/v1/index.d.ts +1 -1
- package/dist/weaveapi/workflow/v1/index.js +2 -2
- package/dist/weaveapi/workflow/v1/run.pb.d.ts +244 -0
- package/dist/weaveapi/workflow/v1/run.pb.js +2084 -0
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +122 -275
- package/dist/weaveapi/workflow/v1/workflow.pb.js +790 -3261
- package/dist/weavesql/weavedb/agent_sql.d.ts +173 -477
- package/dist/weavesql/weavedb/agent_sql.js +281 -758
- package/dist/weavesql/weavedb/authorization_outbox_sql.d.ts +261 -0
- package/dist/weavesql/weavedb/authorization_outbox_sql.js +445 -0
- package/dist/weavesql/weavedb/chat_sql.d.ts +103 -345
- package/dist/weavesql/weavedb/chat_sql.js +312 -597
- package/dist/weavesql/weavedb/document_consolidation_sql.d.ts +217 -0
- package/dist/weavesql/weavedb/document_consolidation_sql.js +486 -0
- package/dist/weavesql/weavedb/document_ingestion_sql.d.ts +1433 -0
- package/dist/weavesql/weavedb/document_ingestion_sql.js +3488 -0
- package/dist/weavesql/weavedb/document_retrieval_sql.d.ts +314 -0
- package/dist/weavesql/weavedb/document_retrieval_sql.js +965 -0
- package/dist/weavesql/weavedb/document_table_sql.d.ts +6 -6
- package/dist/weavesql/weavedb/document_table_sql.js +12 -12
- package/dist/weavesql/weavedb/identity_sql.d.ts +1014 -0
- package/dist/weavesql/weavedb/identity_sql.js +1811 -0
- package/dist/weavesql/weavedb/inference_model_route_sql.d.ts +161 -0
- package/dist/weavesql/weavedb/inference_model_route_sql.js +408 -0
- package/dist/weavesql/weavedb/inference_provider_sql.d.ts +125 -0
- package/dist/weavesql/weavedb/inference_provider_sql.js +228 -0
- package/dist/weavesql/weavedb/initialization_sql.d.ts +15 -0
- package/dist/weavesql/weavedb/initialization_sql.js +33 -0
- package/dist/weavesql/weavedb/model_catalog_sql.d.ts +6 -6
- package/dist/weavesql/weavedb/model_catalog_sql.js +6 -6
- package/dist/weavesql/weavedb/organization_sql.d.ts +22 -102
- package/dist/weavesql/weavedb/organization_sql.js +54 -262
- package/dist/weavesql/weavedb/tool_sql.d.ts +209 -0
- package/dist/weavesql/weavedb/tool_sql.js +407 -0
- package/dist/weavesql/weavedb/usage_sql.d.ts +356 -0
- package/dist/weavesql/weavedb/usage_sql.js +568 -0
- package/dist/weavesql/weavedb/workflow_sql.d.ts +159 -546
- package/dist/weavesql/weavedb/workflow_sql.js +281 -909
- package/package.json +2 -2
- package/dist/weaveapi/agent/v1/service.pb.d.ts +0 -397
- package/dist/weaveapi/agent/v1/service.pb.js +0 -3152
- package/dist/weaveapi/atc/v1/event.pb.d.ts +0 -134
- package/dist/weaveapi/atc/v1/event.pb.js +0 -1124
- package/dist/weaveapi/atc/v1/index.d.ts +0 -5
- package/dist/weaveapi/atc/v1/index.js +0 -42
- package/dist/weaveapi/atc/v1/message.pb.js +0 -287
- package/dist/weaveapi/atc/v1/process.pb.d.ts +0 -91
- package/dist/weaveapi/atc/v1/process.pb.js +0 -658
- package/dist/weaveapi/atc/v1/run.pb.d.ts +0 -71
- package/dist/weaveapi/atc/v1/run.pb.js +0 -525
- package/dist/weaveapi/atc/v1/service.pb.d.ts +0 -472
- package/dist/weaveapi/atc/v1/service.pb.js +0 -3093
- package/dist/weaveapi/chat/v1/service.pb.d.ts +0 -345
- package/dist/weaveapi/chat/v1/service.pb.js +0 -2545
- package/dist/weaveapi/consolidation/v1/service.pb.d.ts +0 -93
- package/dist/weaveapi/consolidation/v1/service.pb.js +0 -427
- package/dist/weaveapi/gateway/v1/service.pb.d.ts +0 -235
- package/dist/weaveapi/gateway/v1/service.pb.js +0 -651
- package/dist/weaveapi/ingestion/v1/service.pb.d.ts +0 -420
- package/dist/weaveapi/ingestion/v1/service.pb.js +0 -2311
- package/dist/weaveapi/ingestion/v1/table.pb.d.ts +0 -121
- package/dist/weaveapi/ingestion/v1/table.pb.js +0 -1478
- package/dist/weaveapi/model/v1/index.d.ts +0 -2
- package/dist/weaveapi/organization/v1/service.pb.d.ts +0 -261
- package/dist/weaveapi/organization/v1/service.pb.js +0 -1561
- package/dist/weaveapi/project/v1/index.d.ts +0 -2
- package/dist/weaveapi/project/v1/index.js +0 -39
- package/dist/weaveapi/project/v1/project.pb.d.ts +0 -105
- package/dist/weaveapi/project/v1/project.pb.js +0 -1004
- package/dist/weaveapi/project/v1/service.pb.d.ts +0 -247
- package/dist/weaveapi/project/v1/service.pb.js +0 -1994
- package/dist/weaveapi/provider/v1/index.d.ts +0 -2
- package/dist/weaveapi/provider/v1/provider.pb.d.ts +0 -137
- package/dist/weaveapi/provider/v1/provider.pb.js +0 -1000
- package/dist/weaveapi/provider/v1/service.pb.d.ts +0 -223
- package/dist/weaveapi/provider/v1/service.pb.js +0 -1888
- package/dist/weaveapi/retrieval/v1/service.pb.d.ts +0 -93
- package/dist/weaveapi/retrieval/v1/service.pb.js +0 -385
- package/dist/weaveapi/task/v1/index.js +0 -39
- package/dist/weaveapi/task/v1/service.pb.d.ts +0 -172
- package/dist/weaveapi/task/v1/service.pb.js +0 -1436
- package/dist/weaveapi/task/v1/task.pb.d.ts +0 -85
- package/dist/weaveapi/task/v1/task.pb.js +0 -802
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +0 -392
- package/dist/weaveapi/workflow/v1/service.pb.js +0 -3146
- /package/dist/{weaveapi/atc → weave/authz}/index.d.ts +0 -0
- /package/dist/{weaveapi/atc → weave/authz}/index.js +0 -0
- /package/dist/{weaveapi/model → weave/filter}/index.d.ts +0 -0
- /package/dist/{weaveapi/model → weave/filter}/index.js +0 -0
- /package/dist/weaveapi/{project → content}/index.d.ts +0 -0
- /package/dist/weaveapi/{project → content}/index.js +0 -0
- /package/dist/weaveapi/{provider → inference}/index.d.ts +0 -0
- /package/dist/weaveapi/{provider → inference}/index.js +0 -0
- /package/dist/weaveapi/{task → initialization}/index.d.ts +0 -0
- /package/dist/weaveapi/{task → initialization}/index.js +0 -0
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
export declare const protobufPackage = "weaveapi.atc.v1";
|
|
3
|
-
export declare enum InspectionCategory {
|
|
4
|
-
INSPECTION_CATEGORY_UNSPECIFIED = 0,
|
|
5
|
-
INSPECTION_CATEGORY_MEMORY = 1,
|
|
6
|
-
INSPECTION_CATEGORY_ARTIFACT = 2,
|
|
7
|
-
INSPECTION_CATEGORY_SECRET = 3,
|
|
8
|
-
INSPECTION_CATEGORY_POLICY = 4,
|
|
9
|
-
INSPECTION_CATEGORY_API = 5,
|
|
10
|
-
INSPECTION_CATEGORY_STORAGE = 6,
|
|
11
|
-
INSPECTION_CATEGORY_PROCESS = 7,
|
|
12
|
-
UNRECOGNIZED = -1
|
|
13
|
-
}
|
|
14
|
-
export declare function inspectionCategoryFromJSON(object: any): InspectionCategory;
|
|
15
|
-
export declare function inspectionCategoryToJSON(object: InspectionCategory): string;
|
|
16
|
-
export declare enum InspectionAction {
|
|
17
|
-
INSPECTION_ACTION_UNSPECIFIED = 0,
|
|
18
|
-
INSPECTION_ACTION_READ = 1,
|
|
19
|
-
INSPECTION_ACTION_WRITE = 2,
|
|
20
|
-
INSPECTION_ACTION_QUERY = 3,
|
|
21
|
-
INSPECTION_ACTION_REQUEST = 4,
|
|
22
|
-
INSPECTION_ACTION_RESPOND = 5,
|
|
23
|
-
INSPECTION_ACTION_STREAM = 6,
|
|
24
|
-
INSPECTION_ACTION_SCAN = 7,
|
|
25
|
-
INSPECTION_ACTION_EVALUATE = 8,
|
|
26
|
-
UNRECOGNIZED = -1
|
|
27
|
-
}
|
|
28
|
-
export declare function inspectionActionFromJSON(object: any): InspectionAction;
|
|
29
|
-
export declare function inspectionActionToJSON(object: InspectionAction): string;
|
|
30
|
-
export declare enum InspectionOutcome {
|
|
31
|
-
INSPECTION_OUTCOME_UNSPECIFIED = 0,
|
|
32
|
-
INSPECTION_OUTCOME_ALLOWED = 1,
|
|
33
|
-
INSPECTION_OUTCOME_DENIED = 2,
|
|
34
|
-
INSPECTION_OUTCOME_ERROR = 3,
|
|
35
|
-
INSPECTION_OUTCOME_SUCCESS = 4,
|
|
36
|
-
INSPECTION_OUTCOME_PARTIAL = 5,
|
|
37
|
-
UNRECOGNIZED = -1
|
|
38
|
-
}
|
|
39
|
-
export declare function inspectionOutcomeFromJSON(object: any): InspectionOutcome;
|
|
40
|
-
export declare function inspectionOutcomeToJSON(object: InspectionOutcome): string;
|
|
41
|
-
export declare enum InspectionSubjectKind {
|
|
42
|
-
INSPECTION_SUBJECT_KIND_UNSPECIFIED = 0,
|
|
43
|
-
INSPECTION_SUBJECT_KIND_RUN = 1,
|
|
44
|
-
INSPECTION_SUBJECT_KIND_PROCESS = 2,
|
|
45
|
-
INSPECTION_SUBJECT_KIND_MEMORY_NAMESPACE = 3,
|
|
46
|
-
INSPECTION_SUBJECT_KIND_ARTIFACT = 4,
|
|
47
|
-
INSPECTION_SUBJECT_KIND_ARTIFACT_SPACE = 5,
|
|
48
|
-
INSPECTION_SUBJECT_KIND_SECRET = 6,
|
|
49
|
-
INSPECTION_SUBJECT_KIND_POLICY = 7,
|
|
50
|
-
INSPECTION_SUBJECT_KIND_POLICY_VERSION = 8,
|
|
51
|
-
INSPECTION_SUBJECT_KIND_TENANT = 9,
|
|
52
|
-
INSPECTION_SUBJECT_KIND_TOOL_RUN = 10,
|
|
53
|
-
INSPECTION_SUBJECT_KIND_REVIEW = 11,
|
|
54
|
-
UNRECOGNIZED = -1
|
|
55
|
-
}
|
|
56
|
-
export declare function inspectionSubjectKindFromJSON(object: any): InspectionSubjectKind;
|
|
57
|
-
export declare function inspectionSubjectKindToJSON(object: InspectionSubjectKind): string;
|
|
58
|
-
export declare enum InspectionActorKind {
|
|
59
|
-
INSPECTION_ACTOR_KIND_UNSPECIFIED = 0,
|
|
60
|
-
INSPECTION_ACTOR_KIND_USER = 1,
|
|
61
|
-
INSPECTION_ACTOR_KIND_AGENT_PROCESS = 2,
|
|
62
|
-
INSPECTION_ACTOR_KIND_SYSTEM = 3,
|
|
63
|
-
INSPECTION_ACTOR_KIND_API_CALLER = 4,
|
|
64
|
-
INSPECTION_ACTOR_KIND_SUPERVISOR = 5,
|
|
65
|
-
UNRECOGNIZED = -1
|
|
66
|
-
}
|
|
67
|
-
export declare function inspectionActorKindFromJSON(object: any): InspectionActorKind;
|
|
68
|
-
export declare function inspectionActorKindToJSON(object: InspectionActorKind): string;
|
|
69
|
-
/** Event is an immutable record in the append-only run history. */
|
|
70
|
-
export interface Event {
|
|
71
|
-
eventId: string;
|
|
72
|
-
runId: string;
|
|
73
|
-
eventType: string;
|
|
74
|
-
sequence: number;
|
|
75
|
-
data: Uint8Array;
|
|
76
|
-
causationId: string;
|
|
77
|
-
correlationId: string;
|
|
78
|
-
occurredAt: Date | undefined;
|
|
79
|
-
}
|
|
80
|
-
export interface InspectionSubject {
|
|
81
|
-
kind: InspectionSubjectKind;
|
|
82
|
-
id: string;
|
|
83
|
-
}
|
|
84
|
-
export interface InspectionActor {
|
|
85
|
-
kind: InspectionActorKind;
|
|
86
|
-
id: string;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* InspectionEvent is an immutable observation recorded outside the durable
|
|
90
|
-
* run history.
|
|
91
|
-
*/
|
|
92
|
-
export interface InspectionEvent {
|
|
93
|
-
eventId: string;
|
|
94
|
-
tenantId: string;
|
|
95
|
-
eventType: string;
|
|
96
|
-
category: InspectionCategory;
|
|
97
|
-
subject: InspectionSubject | undefined;
|
|
98
|
-
actor: InspectionActor | undefined;
|
|
99
|
-
runId: string;
|
|
100
|
-
processId: string;
|
|
101
|
-
action: InspectionAction;
|
|
102
|
-
outcome: InspectionOutcome;
|
|
103
|
-
reason: string;
|
|
104
|
-
correlationId: string;
|
|
105
|
-
causationId: string;
|
|
106
|
-
data: Uint8Array;
|
|
107
|
-
schemaVersion: number;
|
|
108
|
-
sequence: number;
|
|
109
|
-
occurredAt: Date | undefined;
|
|
110
|
-
expiresAt: Date | undefined;
|
|
111
|
-
}
|
|
112
|
-
export declare const Event: MessageFns<Event>;
|
|
113
|
-
export declare const InspectionSubject: MessageFns<InspectionSubject>;
|
|
114
|
-
export declare const InspectionActor: MessageFns<InspectionActor>;
|
|
115
|
-
export declare const InspectionEvent: MessageFns<InspectionEvent>;
|
|
116
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
117
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
118
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
119
|
-
} : Partial<T>;
|
|
120
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
121
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
122
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
123
|
-
} & {
|
|
124
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
125
|
-
};
|
|
126
|
-
export interface MessageFns<T> {
|
|
127
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
128
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
129
|
-
fromJSON(object: any): T;
|
|
130
|
-
toJSON(message: T): unknown;
|
|
131
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
132
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
133
|
-
}
|
|
134
|
-
export {};
|