@kitman-sh/sdk 0.7.2 → 0.7.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/dist/build/index.js +2 -2
- package/dist/{chunk-zp7s46pz.js → chunk-7jc5y0mj.js} +2 -2
- package/dist/{chunk-7hwhxthh.js → chunk-p8v1smcg.js} +1 -1
- package/dist/loop/index.js +1 -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-environment.d.ts +16 -16
- 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 +146 -0
- package/types/packages/core/src/change-request.d.ts +432 -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/engineering-resources.d.ts +24 -0
- package/types/packages/core/src/enterprise-code-host.d.ts +18 -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/index.d.ts +0 -1
- package/types/packages/core/src/integration.d.ts +275 -0
- package/types/packages/core/src/intent.d.ts +260 -0
- package/types/packages/core/src/json.d.ts +10 -0
- package/types/packages/core/src/kit.d.ts +12 -12
- package/types/packages/core/src/live.d.ts +8318 -0
- package/types/packages/core/src/me.d.ts +31 -0
- package/types/packages/core/src/memory.d.ts +88 -0
- package/types/packages/core/src/my-teams.d.ts +1230 -0
- package/types/packages/core/src/notification.d.ts +181 -0
- package/types/packages/core/src/observability.d.ts +175 -0
- package/types/packages/core/src/package.d.ts +369 -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/project.d.ts +66 -0
- package/types/packages/core/src/provider-safe-text.d.ts +2 -0
- package/types/packages/core/src/repo-binding.d.ts +131 -0
- package/types/packages/core/src/run-journal.d.ts +28 -0
- package/types/packages/core/src/run-launch.d.ts +67 -0
- package/types/packages/core/src/runner-eligibility.d.ts +43 -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 +3776 -0
- package/types/packages/core/src/scope-directory.d.ts +100 -0
- package/types/packages/core/src/secret.d.ts +37 -0
- package/types/packages/core/src/session.d.ts +90 -0
- package/types/packages/core/src/step-brief.d.ts +50 -0
- package/types/packages/core/src/sync-kit.d.ts +587 -0
- package/types/packages/core/src/task-detail.d.ts +491 -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 +543 -0
- package/types/packages/core/src/work-unit.d.ts +740 -0
- package/types/packages/core/src/workspace.d.ts +96 -0
- package/types/packages/live/src/rpc/runner-group.d.ts +216 -216
|
@@ -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,88 @@
|
|
|
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 ['kit', 'project', 'task'];
|
|
6
|
+
export declare const MemoryScope: Schema.Union<readonly [Schema.Literal<"kit">, Schema.Literal<"project">, Schema.Literal<"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">]>;
|
|
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.Union<readonly [Schema.Literal<"kit">, Schema.Literal<"project">, Schema.Literal<"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">]>>;
|
|
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.Union<readonly [Schema.Literal<"kit">, Schema.Literal<"project">, Schema.Literal<"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">]>>;
|
|
36
|
+
readonly sourceId: Schema.optionalKey<Schema.String>;
|
|
37
|
+
}>;
|
|
38
|
+
export declare const MemoryListQuery: Schema.Struct<{
|
|
39
|
+
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>>;
|
|
40
|
+
readonly scopeType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"kit">, Schema.Literal<"project">, Schema.Literal<"task">]>>;
|
|
41
|
+
readonly scopeId: Schema.optionalKey<Schema.String>;
|
|
42
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.FiniteFromString]>>;
|
|
43
|
+
}>;
|
|
44
|
+
export declare const MemoryList: Schema.Struct<{
|
|
45
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
46
|
+
readonly id: Schema.String;
|
|
47
|
+
readonly workspaceId: Schema.String;
|
|
48
|
+
readonly scopeType: Schema.Union<readonly [Schema.Literal<"kit">, Schema.Literal<"project">, Schema.Literal<"task">]>;
|
|
49
|
+
readonly scopeId: Schema.String;
|
|
50
|
+
readonly content: Schema.String;
|
|
51
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>;
|
|
52
|
+
readonly confidence: Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"medium">, Schema.Literal<"high">]>;
|
|
53
|
+
readonly sourceType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">]>>;
|
|
54
|
+
readonly sourceId: Schema.optionalKey<Schema.String>;
|
|
55
|
+
readonly createdByActorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
56
|
+
readonly createdByActorId: Schema.String;
|
|
57
|
+
readonly approvedByUserId: Schema.optionalKey<Schema.String>;
|
|
58
|
+
readonly createdAt: Schema.String;
|
|
59
|
+
readonly updatedAt: Schema.String;
|
|
60
|
+
}>>;
|
|
61
|
+
}>;
|
|
62
|
+
export declare const MemoryTransitionResult: Schema.Struct<{
|
|
63
|
+
readonly memory: Schema.Struct<{
|
|
64
|
+
readonly id: Schema.String;
|
|
65
|
+
readonly workspaceId: Schema.String;
|
|
66
|
+
readonly scopeType: Schema.Union<readonly [Schema.Literal<"kit">, Schema.Literal<"project">, Schema.Literal<"task">]>;
|
|
67
|
+
readonly scopeId: Schema.String;
|
|
68
|
+
readonly content: Schema.String;
|
|
69
|
+
readonly status: Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>;
|
|
70
|
+
readonly confidence: Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"medium">, Schema.Literal<"high">]>;
|
|
71
|
+
readonly sourceType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">]>>;
|
|
72
|
+
readonly sourceId: Schema.optionalKey<Schema.String>;
|
|
73
|
+
readonly createdByActorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
74
|
+
readonly createdByActorId: Schema.String;
|
|
75
|
+
readonly approvedByUserId: Schema.optionalKey<Schema.String>;
|
|
76
|
+
readonly createdAt: Schema.String;
|
|
77
|
+
readonly updatedAt: Schema.String;
|
|
78
|
+
}>;
|
|
79
|
+
}>;
|
|
80
|
+
export type MemoryStatus = (typeof MemoryStatus)['Type'];
|
|
81
|
+
export type MemoryScope = (typeof MemoryScope)['Type'];
|
|
82
|
+
export type MemoryConfidence = (typeof MemoryConfidence)['Type'];
|
|
83
|
+
export type MemorySourceType = (typeof MemorySourceType)['Type'];
|
|
84
|
+
export type Memory = (typeof Memory)['Type'];
|
|
85
|
+
export type MemoryPropose = (typeof MemoryPropose)['Type'];
|
|
86
|
+
export type MemoryListQuery = (typeof MemoryListQuery)['Type'];
|
|
87
|
+
export type MemoryList = (typeof MemoryList)['Type'];
|
|
88
|
+
export type MemoryTransitionResult = (typeof MemoryTransitionResult)['Type'];
|