@kitman-sh/sdk 0.10.82 → 0.10.83
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/build/index.js +2 -2
- package/dist/{chunk-fc5r66fq.js → chunk-3pz068kn.js} +11 -5
- package/dist/{chunk-0f530caz.js → chunk-cqknxyv9.js} +88 -47
- package/dist/loop/index.js +7 -1
- package/dist/program/index.js +2 -2
- package/package.json +1 -1
- package/types/packages/core/src/a2a.d.ts +577 -0
- package/types/packages/core/src/agent-capabilities.d.ts +1434 -0
- package/types/packages/core/src/agent-launch-snapshot.d.ts +44 -0
- package/types/packages/core/src/approval-queue.d.ts +126 -0
- package/types/packages/core/src/audit.d.ts +52 -0
- package/types/packages/core/src/change-delivery.d.ts +39 -0
- package/types/packages/core/src/change-request-review.d.ts +361 -0
- package/types/packages/core/src/change-request.d.ts +288 -0
- package/types/packages/core/src/connection.d.ts +33 -0
- package/types/packages/core/src/context-feedback.d.ts +89 -0
- package/types/packages/core/src/data-lifecycle.d.ts +195 -0
- package/types/packages/core/src/decision.d.ts +48 -0
- package/types/packages/core/src/delivery-operation.d.ts +125 -0
- package/types/packages/core/src/delivery-policy.d.ts +174 -0
- package/types/packages/core/src/enterprise-forge.d.ts +19 -0
- package/types/packages/core/src/epic-delivery.d.ts +38 -0
- package/types/packages/core/src/external-effect.d.ts +313 -0
- package/types/packages/core/src/fix-flow.d.ts +149 -0
- package/types/packages/core/src/following.d.ts +59 -0
- package/types/packages/core/src/github-delivery-fixtures.d.ts +28 -0
- package/types/packages/core/src/github-delivery.d.ts +78 -0
- package/types/packages/core/src/gitlab-delivery-fixtures.d.ts +26 -0
- package/types/packages/core/src/gitlab-delivery.d.ts +76 -0
- package/types/packages/core/src/global-search.d.ts +42 -0
- package/types/packages/core/src/id.d.ts +1 -0
- package/types/packages/core/src/integration.d.ts +276 -0
- package/types/packages/core/src/intent.d.ts +260 -0
- package/types/packages/core/src/kit-install.d.ts +130 -0
- package/types/packages/core/src/live.d.ts +8231 -0
- package/types/packages/core/src/marketplace.d.ts +168 -0
- package/types/packages/core/src/me.d.ts +31 -0
- package/types/packages/core/src/memory.d.ts +93 -0
- package/types/packages/core/src/my-teams.d.ts +1599 -0
- package/types/packages/core/src/notification.d.ts +250 -0
- package/types/packages/core/src/observability.d.ts +175 -0
- package/types/packages/core/src/owner.d.ts +15 -0
- package/types/packages/core/src/personal-development-profile.d.ts +11 -0
- package/types/packages/core/src/platform-release.d.ts +60 -0
- package/types/packages/core/src/program-credential.d.ts +10 -0
- package/types/packages/core/src/provider-safe-text.d.ts +2 -0
- package/types/packages/core/src/push.d.ts +68 -0
- package/types/packages/core/src/run-display.d.ts +22 -0
- package/types/packages/core/src/run-file.d.ts +190 -0
- package/types/packages/core/src/run-graph.d.ts +67 -0
- package/types/packages/core/src/run-journal.d.ts +28 -0
- package/types/packages/core/src/run-launch.d.ts +82 -0
- package/types/packages/core/src/runner-eligibility.d.ts +62 -0
- package/types/packages/core/src/runner-routing.d.ts +11 -0
- package/types/packages/core/src/runner-trust.d.ts +67 -0
- package/types/packages/core/src/runner.d.ts +4076 -0
- package/types/packages/core/src/scope-directory.d.ts +100 -0
- package/types/packages/core/src/session.d.ts +90 -0
- package/types/packages/core/src/step-brief.d.ts +70 -0
- package/types/packages/core/src/storage.d.ts +49 -0
- package/types/packages/core/src/sync-kit.d.ts +595 -0
- package/types/packages/core/src/task-detail.d.ts +511 -0
- package/types/packages/core/src/task-execution-record.d.ts +620 -0
- package/types/packages/core/src/task-key.d.ts +9 -0
- package/types/packages/core/src/task.d.ts +588 -0
- package/types/packages/core/src/team-context.d.ts +43 -0
- package/types/packages/core/src/transcript.d.ts +250 -0
- package/types/packages/core/src/trust-panel.d.ts +27 -0
- package/types/packages/core/src/work-unit.d.ts +33 -1
- package/types/packages/core/src/workspace.d.ts +167 -0
- package/types/packages/live/src/rpc/runner-client.d.ts +15 -0
- package/types/packages/live/src/rpc/runner-group.d.ts +1515 -1486
- package/types/packages/sdk/src/loop/activities.d.ts +3 -0
- package/types/packages/sdk/src/loop/index.d.ts +1 -0
- package/types/packages/sdk/src/loop/resolve.d.ts +13 -0
- package/types/packages/sdk/src/loop/steps.d.ts +5 -0
- package/types/packages/sdk/src/loop/sync.d.ts +8 -1
- package/types/packages/sdk/src/loop/test-loop.d.ts +7 -0
- package/types/packages/sdk/src/program/engine.d.ts +2 -1
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
/**
|
|
3
|
+
* A Kit in npm, which Add installs, or in git, which Add lists in the deployed Kit by merge request; Kitman keeps no
|
|
4
|
+
* copy of it (ADR-0071).
|
|
5
|
+
*/
|
|
6
|
+
export declare const MarketplaceReference: Schema.Struct<{
|
|
7
|
+
readonly id: Schema.String;
|
|
8
|
+
readonly kind: Schema.Literal<"kit">;
|
|
9
|
+
readonly name: Schema.String;
|
|
10
|
+
readonly publisher: Schema.String;
|
|
11
|
+
readonly description: Schema.String;
|
|
12
|
+
readonly category: Schema.String;
|
|
13
|
+
/** The name a configuration depends on it by. */
|
|
14
|
+
readonly package: Schema.String;
|
|
15
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
16
|
+
readonly type: Schema.Literal<"npm">;
|
|
17
|
+
readonly version: Schema.optionalKey<Schema.String>;
|
|
18
|
+
}>, Schema.Struct<{
|
|
19
|
+
readonly type: Schema.Literal<"git">;
|
|
20
|
+
readonly url: Schema.String;
|
|
21
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
22
|
+
}>]>;
|
|
23
|
+
/** The Loops it provides, each by its id and the name the package exports it under. */
|
|
24
|
+
readonly loops: Schema.$Array<Schema.Struct<{
|
|
25
|
+
readonly id: Schema.String;
|
|
26
|
+
readonly export: Schema.String;
|
|
27
|
+
}>>;
|
|
28
|
+
}>;
|
|
29
|
+
export type MarketplaceReference = typeof MarketplaceReference.Type;
|
|
30
|
+
export declare const MarketplaceReferences: Schema.$Array<Schema.Struct<{
|
|
31
|
+
readonly id: Schema.String;
|
|
32
|
+
readonly kind: Schema.Literal<"kit">;
|
|
33
|
+
readonly name: Schema.String;
|
|
34
|
+
readonly publisher: Schema.String;
|
|
35
|
+
readonly description: Schema.String;
|
|
36
|
+
readonly category: Schema.String;
|
|
37
|
+
/** The name a configuration depends on it by. */
|
|
38
|
+
readonly package: Schema.String;
|
|
39
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
40
|
+
readonly type: Schema.Literal<"npm">;
|
|
41
|
+
readonly version: Schema.optionalKey<Schema.String>;
|
|
42
|
+
}>, Schema.Struct<{
|
|
43
|
+
readonly type: Schema.Literal<"git">;
|
|
44
|
+
readonly url: Schema.String;
|
|
45
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
46
|
+
}>]>;
|
|
47
|
+
/** The Loops it provides, each by its id and the name the package exports it under. */
|
|
48
|
+
readonly loops: Schema.$Array<Schema.Struct<{
|
|
49
|
+
readonly id: Schema.String;
|
|
50
|
+
readonly export: Schema.String;
|
|
51
|
+
}>>;
|
|
52
|
+
}>>;
|
|
53
|
+
/** Kitman's official Kits. */
|
|
54
|
+
export declare const officialMarketplaceReferences: readonly MarketplaceReference[];
|
|
55
|
+
export declare const MarketplaceItemKind: Schema.Literal<"kit">;
|
|
56
|
+
export type MarketplaceItemKind = typeof MarketplaceItemKind.Type;
|
|
57
|
+
export declare const MarketplaceItemState: Schema.Union<readonly [Schema.Struct<{
|
|
58
|
+
readonly state: Schema.Literal<"add">;
|
|
59
|
+
}>, Schema.Struct<{
|
|
60
|
+
readonly state: Schema.Literal<"merge_request_open">;
|
|
61
|
+
readonly forge: Schema.String;
|
|
62
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
63
|
+
readonly number: Schema.optionalKey<Schema.String>;
|
|
64
|
+
}>, Schema.Struct<{
|
|
65
|
+
readonly state: Schema.Literal<"added">;
|
|
66
|
+
}>, Schema.Struct<{
|
|
67
|
+
readonly state: Schema.Literal<"installed">;
|
|
68
|
+
/** Absent until an install carried over from the old Kit model is first resolved. */
|
|
69
|
+
readonly version: Schema.optionalKey<Schema.String>;
|
|
70
|
+
readonly pinnedVersion: Schema.optionalKey<Schema.String>;
|
|
71
|
+
readonly problem: Schema.optionalKey<Schema.String>;
|
|
72
|
+
/** The person its Loops act for; with nobody, they start only once someone Adds it again. */
|
|
73
|
+
readonly actsFor: Schema.optionalKey<Schema.String>;
|
|
74
|
+
}>]>;
|
|
75
|
+
export type MarketplaceItemState = typeof MarketplaceItemState.Type;
|
|
76
|
+
export declare const MarketplaceItem: Schema.Struct<{
|
|
77
|
+
readonly id: Schema.String;
|
|
78
|
+
readonly kind: Schema.Literal<"kit">;
|
|
79
|
+
readonly name: Schema.String;
|
|
80
|
+
readonly publisher: Schema.String;
|
|
81
|
+
readonly description: Schema.String;
|
|
82
|
+
readonly category: Schema.String;
|
|
83
|
+
/** Where it comes from, such as `npm @kitman-sh/software-engineering`. */
|
|
84
|
+
readonly source: Schema.String;
|
|
85
|
+
/** How a referenced Kit is added: installed from npm by its name, or by merge request from git; absent for the old model. */
|
|
86
|
+
readonly reference: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
87
|
+
readonly type: Schema.Literal<"npm">;
|
|
88
|
+
readonly name: Schema.String;
|
|
89
|
+
}>, Schema.Struct<{
|
|
90
|
+
readonly type: Schema.Literal<"git">;
|
|
91
|
+
}>]>>;
|
|
92
|
+
readonly status: Schema.Union<readonly [Schema.Struct<{
|
|
93
|
+
readonly state: Schema.Literal<"add">;
|
|
94
|
+
}>, Schema.Struct<{
|
|
95
|
+
readonly state: Schema.Literal<"merge_request_open">;
|
|
96
|
+
readonly forge: Schema.String;
|
|
97
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
98
|
+
readonly number: Schema.optionalKey<Schema.String>;
|
|
99
|
+
}>, Schema.Struct<{
|
|
100
|
+
readonly state: Schema.Literal<"added">;
|
|
101
|
+
}>, Schema.Struct<{
|
|
102
|
+
readonly state: Schema.Literal<"installed">;
|
|
103
|
+
/** Absent until an install carried over from the old Kit model is first resolved. */
|
|
104
|
+
readonly version: Schema.optionalKey<Schema.String>;
|
|
105
|
+
readonly pinnedVersion: Schema.optionalKey<Schema.String>;
|
|
106
|
+
readonly problem: Schema.optionalKey<Schema.String>;
|
|
107
|
+
/** The person its Loops act for; with nobody, they start only once someone Adds it again. */
|
|
108
|
+
readonly actsFor: Schema.optionalKey<Schema.String>;
|
|
109
|
+
}>]>;
|
|
110
|
+
}>;
|
|
111
|
+
export type MarketplaceItem = typeof MarketplaceItem.Type;
|
|
112
|
+
export declare const MarketplaceList: Schema.Struct<{
|
|
113
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
114
|
+
readonly id: Schema.String;
|
|
115
|
+
readonly kind: Schema.Literal<"kit">;
|
|
116
|
+
readonly name: Schema.String;
|
|
117
|
+
readonly publisher: Schema.String;
|
|
118
|
+
readonly description: Schema.String;
|
|
119
|
+
readonly category: Schema.String;
|
|
120
|
+
/** Where it comes from, such as `npm @kitman-sh/software-engineering`. */
|
|
121
|
+
readonly source: Schema.String;
|
|
122
|
+
/** How a referenced Kit is added: installed from npm by its name, or by merge request from git; absent for the old model. */
|
|
123
|
+
readonly reference: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
124
|
+
readonly type: Schema.Literal<"npm">;
|
|
125
|
+
readonly name: Schema.String;
|
|
126
|
+
}>, Schema.Struct<{
|
|
127
|
+
readonly type: Schema.Literal<"git">;
|
|
128
|
+
}>]>>;
|
|
129
|
+
readonly status: Schema.Union<readonly [Schema.Struct<{
|
|
130
|
+
readonly state: Schema.Literal<"add">;
|
|
131
|
+
}>, Schema.Struct<{
|
|
132
|
+
readonly state: Schema.Literal<"merge_request_open">;
|
|
133
|
+
readonly forge: Schema.String;
|
|
134
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
135
|
+
readonly number: Schema.optionalKey<Schema.String>;
|
|
136
|
+
}>, Schema.Struct<{
|
|
137
|
+
readonly state: Schema.Literal<"added">;
|
|
138
|
+
}>, Schema.Struct<{
|
|
139
|
+
readonly state: Schema.Literal<"installed">;
|
|
140
|
+
/** Absent until an install carried over from the old Kit model is first resolved. */
|
|
141
|
+
readonly version: Schema.optionalKey<Schema.String>;
|
|
142
|
+
readonly pinnedVersion: Schema.optionalKey<Schema.String>;
|
|
143
|
+
readonly problem: Schema.optionalKey<Schema.String>;
|
|
144
|
+
/** The person its Loops act for; with nobody, they start only once someone Adds it again. */
|
|
145
|
+
readonly actsFor: Schema.optionalKey<Schema.String>;
|
|
146
|
+
}>]>;
|
|
147
|
+
}>>;
|
|
148
|
+
}>;
|
|
149
|
+
export type MarketplaceList = typeof MarketplaceList.Type;
|
|
150
|
+
/** Adds an item to the Workspace, or to one of its Teams. */
|
|
151
|
+
export declare const MarketplaceAdd: Schema.Struct<{
|
|
152
|
+
readonly kind: Schema.Literal<"kit">;
|
|
153
|
+
readonly id: Schema.String;
|
|
154
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
155
|
+
}>;
|
|
156
|
+
export type MarketplaceAdd = typeof MarketplaceAdd.Type;
|
|
157
|
+
export declare const referenceSource: (reference: MarketplaceReference) => string;
|
|
158
|
+
/** The files a configuration merge request changes to add `reference`; `placed` is false when its Kit cannot be extended. */
|
|
159
|
+
export declare const addConfigReference: (files: {
|
|
160
|
+
readonly packageJson: string;
|
|
161
|
+
readonly config: string | undefined;
|
|
162
|
+
}, reference: MarketplaceReference) => {
|
|
163
|
+
placed: boolean;
|
|
164
|
+
changes: {
|
|
165
|
+
path: string;
|
|
166
|
+
content: string;
|
|
167
|
+
}[];
|
|
168
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
export declare const ActorCredentialType: Schema.Union<readonly [Schema.Literal<"human_session">, Schema.Literal<"human_oauth">, Schema.Literal<"agent_auth">]>;
|
|
3
|
+
export declare const Me: Schema.Union<readonly [Schema.Struct<{
|
|
4
|
+
readonly workspaceId: Schema.optionalKey<Schema.String>;
|
|
5
|
+
readonly activeWorkspaceId: Schema.optionalKey<Schema.String>;
|
|
6
|
+
readonly workspaceRole: Schema.optionalKey<Schema.String>;
|
|
7
|
+
readonly displayName: Schema.optionalKey<Schema.String>;
|
|
8
|
+
readonly avatarUrl: Schema.optionalKey<Schema.String>;
|
|
9
|
+
readonly actorType: Schema.Literal<"human">;
|
|
10
|
+
readonly actorId: Schema.String;
|
|
11
|
+
readonly userId: Schema.String;
|
|
12
|
+
readonly credentialType: Schema.Union<readonly [Schema.Literal<"human_session">, Schema.Literal<"human_oauth">]>;
|
|
13
|
+
}>, Schema.Struct<{
|
|
14
|
+
readonly workspaceId: Schema.optionalKey<Schema.String>;
|
|
15
|
+
readonly activeWorkspaceId: Schema.optionalKey<Schema.String>;
|
|
16
|
+
readonly workspaceRole: Schema.optionalKey<Schema.String>;
|
|
17
|
+
readonly actorType: Schema.Literal<"delegated_agent">;
|
|
18
|
+
readonly actorId: Schema.String;
|
|
19
|
+
readonly delegatedByUserId: Schema.String;
|
|
20
|
+
readonly toolName: Schema.String;
|
|
21
|
+
readonly credentialType: Schema.Literal<"agent_auth">;
|
|
22
|
+
}>, Schema.Struct<{
|
|
23
|
+
readonly workspaceId: Schema.optionalKey<Schema.String>;
|
|
24
|
+
readonly activeWorkspaceId: Schema.optionalKey<Schema.String>;
|
|
25
|
+
readonly workspaceRole: Schema.optionalKey<Schema.String>;
|
|
26
|
+
readonly actorType: Schema.Literal<"agent">;
|
|
27
|
+
readonly actorId: Schema.String;
|
|
28
|
+
readonly agentId: Schema.String;
|
|
29
|
+
readonly credentialType: Schema.Literal<"agent_auth">;
|
|
30
|
+
}>]>;
|
|
31
|
+
export type Me = (typeof Me)['Type'];
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
export declare const MemoryStatuses: readonly ['proposed', 'accepted', 'rejected', 'deprecated'];
|
|
3
|
+
export declare const DefaultMemoryStatus = "proposed";
|
|
4
|
+
export declare const MemoryStatus: Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>;
|
|
5
|
+
export declare const MemoryScopes: readonly ['workspace', 'repository', 'loop', 'kit', 'team', 'task'];
|
|
6
|
+
export declare const MemoryScope: Schema.Literals<readonly ["workspace", "repository", "loop", "kit", "team", "task"]>;
|
|
7
|
+
export declare const MemoryConfidences: readonly ['low', 'medium', 'high'];
|
|
8
|
+
export declare const DefaultMemoryConfidence = "medium";
|
|
9
|
+
export declare const MemoryConfidence: Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"medium">, Schema.Literal<"high">]>;
|
|
10
|
+
export declare const MemorySourceType: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">, Schema.Literal<"run">]>;
|
|
11
|
+
export declare const MaxMemoryContentLength = 10000;
|
|
12
|
+
export declare const DefaultMemoryListLimit = 50;
|
|
13
|
+
export declare const MaxMemoryListLimit = 100;
|
|
14
|
+
export declare const Memory: Schema.Struct<{
|
|
15
|
+
readonly id: Schema.String;
|
|
16
|
+
readonly workspaceId: Schema.String;
|
|
17
|
+
readonly scopeType: Schema.Literals<readonly ["workspace", "repository", "loop", "kit", "team", "task"]>;
|
|
18
|
+
readonly scopeId: Schema.String;
|
|
19
|
+
readonly content: Schema.String;
|
|
20
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>;
|
|
21
|
+
readonly confidence: Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"medium">, Schema.Literal<"high">]>;
|
|
22
|
+
readonly sourceType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">, Schema.Literal<"run">]>>;
|
|
23
|
+
readonly sourceId: Schema.optionalKey<Schema.String>;
|
|
24
|
+
readonly createdByActorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
25
|
+
readonly createdByActorId: Schema.String;
|
|
26
|
+
readonly approvedByUserId: Schema.optionalKey<Schema.String>;
|
|
27
|
+
readonly createdAt: Schema.String;
|
|
28
|
+
readonly updatedAt: Schema.String;
|
|
29
|
+
}>;
|
|
30
|
+
export declare const MemoryPropose: Schema.Struct<{
|
|
31
|
+
readonly scopeType: Schema.Literals<readonly ["workspace", "repository", "loop", "kit", "team", "task"]>;
|
|
32
|
+
readonly scopeId: Schema.String;
|
|
33
|
+
readonly content: Schema.String;
|
|
34
|
+
readonly confidence: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"medium">, Schema.Literal<"high">]>>;
|
|
35
|
+
readonly sourceType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">, Schema.Literal<"run">]>>;
|
|
36
|
+
readonly sourceId: Schema.optionalKey<Schema.String>;
|
|
37
|
+
}>;
|
|
38
|
+
/** New words for proposed Memory, before it is reviewed. */
|
|
39
|
+
export declare const MemoryEdit: Schema.Struct<{
|
|
40
|
+
readonly content: Schema.String;
|
|
41
|
+
}>;
|
|
42
|
+
export declare const MemoryListQuery: Schema.Struct<{
|
|
43
|
+
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>>;
|
|
44
|
+
readonly scopeType: Schema.optionalKey<Schema.Literals<readonly ["workspace", "repository", "loop", "kit", "team", "task"]>>;
|
|
45
|
+
readonly scopeId: Schema.optionalKey<Schema.String>;
|
|
46
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.FiniteFromString]>>;
|
|
47
|
+
}>;
|
|
48
|
+
export declare const MemoryList: Schema.Struct<{
|
|
49
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
50
|
+
readonly id: Schema.String;
|
|
51
|
+
readonly workspaceId: Schema.String;
|
|
52
|
+
readonly scopeType: Schema.Literals<readonly ["workspace", "repository", "loop", "kit", "team", "task"]>;
|
|
53
|
+
readonly scopeId: Schema.String;
|
|
54
|
+
readonly content: Schema.String;
|
|
55
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>;
|
|
56
|
+
readonly confidence: Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"medium">, Schema.Literal<"high">]>;
|
|
57
|
+
readonly sourceType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">, Schema.Literal<"run">]>>;
|
|
58
|
+
readonly sourceId: Schema.optionalKey<Schema.String>;
|
|
59
|
+
readonly createdByActorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
60
|
+
readonly createdByActorId: Schema.String;
|
|
61
|
+
readonly approvedByUserId: Schema.optionalKey<Schema.String>;
|
|
62
|
+
readonly createdAt: Schema.String;
|
|
63
|
+
readonly updatedAt: Schema.String;
|
|
64
|
+
}>>;
|
|
65
|
+
}>;
|
|
66
|
+
export declare const MemoryTransitionResult: Schema.Struct<{
|
|
67
|
+
readonly memory: Schema.Struct<{
|
|
68
|
+
readonly id: Schema.String;
|
|
69
|
+
readonly workspaceId: Schema.String;
|
|
70
|
+
readonly scopeType: Schema.Literals<readonly ["workspace", "repository", "loop", "kit", "team", "task"]>;
|
|
71
|
+
readonly scopeId: Schema.String;
|
|
72
|
+
readonly content: Schema.String;
|
|
73
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>;
|
|
74
|
+
readonly confidence: Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"medium">, Schema.Literal<"high">]>;
|
|
75
|
+
readonly sourceType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">, Schema.Literal<"run">]>>;
|
|
76
|
+
readonly sourceId: Schema.optionalKey<Schema.String>;
|
|
77
|
+
readonly createdByActorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
78
|
+
readonly createdByActorId: Schema.String;
|
|
79
|
+
readonly approvedByUserId: Schema.optionalKey<Schema.String>;
|
|
80
|
+
readonly createdAt: Schema.String;
|
|
81
|
+
readonly updatedAt: Schema.String;
|
|
82
|
+
}>;
|
|
83
|
+
}>;
|
|
84
|
+
export type MemoryStatus = (typeof MemoryStatus)['Type'];
|
|
85
|
+
export type MemoryEdit = (typeof MemoryEdit)['Type'];
|
|
86
|
+
export type MemoryScope = (typeof MemoryScope)['Type'];
|
|
87
|
+
export type MemoryConfidence = (typeof MemoryConfidence)['Type'];
|
|
88
|
+
export type MemorySourceType = (typeof MemorySourceType)['Type'];
|
|
89
|
+
export type Memory = (typeof Memory)['Type'];
|
|
90
|
+
export type MemoryPropose = (typeof MemoryPropose)['Type'];
|
|
91
|
+
export type MemoryListQuery = (typeof MemoryListQuery)['Type'];
|
|
92
|
+
export type MemoryList = (typeof MemoryList)['Type'];
|
|
93
|
+
export type MemoryTransitionResult = (typeof MemoryTransitionResult)['Type'];
|