@kitman-sh/sdk 0.7.1 → 0.7.2

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.
Files changed (61) hide show
  1. package/package.json +1 -1
  2. package/types/packages/core/src/a2a.d.ts +0 -577
  3. package/types/packages/core/src/agent-capabilities.d.ts +0 -1434
  4. package/types/packages/core/src/agent-launch-snapshot.d.ts +0 -44
  5. package/types/packages/core/src/approval-queue.d.ts +0 -126
  6. package/types/packages/core/src/audit.d.ts +0 -52
  7. package/types/packages/core/src/change-delivery.d.ts +0 -39
  8. package/types/packages/core/src/change-request-review.d.ts +0 -146
  9. package/types/packages/core/src/change-request.d.ts +0 -432
  10. package/types/packages/core/src/connection.d.ts +0 -33
  11. package/types/packages/core/src/context-feedback.d.ts +0 -89
  12. package/types/packages/core/src/data-lifecycle.d.ts +0 -195
  13. package/types/packages/core/src/decision.d.ts +0 -48
  14. package/types/packages/core/src/delivery-operation.d.ts +0 -125
  15. package/types/packages/core/src/delivery-policy.d.ts +0 -174
  16. package/types/packages/core/src/engineering-resources.d.ts +0 -26
  17. package/types/packages/core/src/enterprise-code-host.d.ts +0 -18
  18. package/types/packages/core/src/epic-delivery.d.ts +0 -38
  19. package/types/packages/core/src/external-effect.d.ts +0 -313
  20. package/types/packages/core/src/fix-flow.d.ts +0 -149
  21. package/types/packages/core/src/following.d.ts +0 -59
  22. package/types/packages/core/src/github-delivery-fixtures.d.ts +0 -28
  23. package/types/packages/core/src/github-delivery.d.ts +0 -78
  24. package/types/packages/core/src/gitlab-delivery-fixtures.d.ts +0 -26
  25. package/types/packages/core/src/gitlab-delivery.d.ts +0 -76
  26. package/types/packages/core/src/global-search.d.ts +0 -42
  27. package/types/packages/core/src/id.d.ts +0 -1
  28. package/types/packages/core/src/integration.d.ts +0 -255
  29. package/types/packages/core/src/intent.d.ts +0 -260
  30. package/types/packages/core/src/json.d.ts +0 -10
  31. package/types/packages/core/src/kit-taxonomy.d.ts +0 -21
  32. package/types/packages/core/src/live.d.ts +0 -8309
  33. package/types/packages/core/src/me.d.ts +0 -31
  34. package/types/packages/core/src/memory.d.ts +0 -88
  35. package/types/packages/core/src/my-teams.d.ts +0 -1230
  36. package/types/packages/core/src/notification.d.ts +0 -181
  37. package/types/packages/core/src/observability.d.ts +0 -175
  38. package/types/packages/core/src/package.d.ts +0 -369
  39. package/types/packages/core/src/personal-development-profile.d.ts +0 -11
  40. package/types/packages/core/src/platform-release.d.ts +0 -60
  41. package/types/packages/core/src/program-credential.d.ts +0 -10
  42. package/types/packages/core/src/project.d.ts +0 -66
  43. package/types/packages/core/src/provider-safe-text.d.ts +0 -2
  44. package/types/packages/core/src/repo-binding.d.ts +0 -131
  45. package/types/packages/core/src/run-journal.d.ts +0 -28
  46. package/types/packages/core/src/run-launch.d.ts +0 -67
  47. package/types/packages/core/src/runner-eligibility.d.ts +0 -43
  48. package/types/packages/core/src/runner-routing.d.ts +0 -11
  49. package/types/packages/core/src/runner-trust.d.ts +0 -67
  50. package/types/packages/core/src/runner.d.ts +0 -3750
  51. package/types/packages/core/src/scope-directory.d.ts +0 -100
  52. package/types/packages/core/src/secret.d.ts +0 -37
  53. package/types/packages/core/src/session.d.ts +0 -90
  54. package/types/packages/core/src/step-brief.d.ts +0 -50
  55. package/types/packages/core/src/sync-kit.d.ts +0 -587
  56. package/types/packages/core/src/task-detail.d.ts +0 -491
  57. package/types/packages/core/src/task-execution-record.d.ts +0 -620
  58. package/types/packages/core/src/task-key.d.ts +0 -9
  59. package/types/packages/core/src/task.d.ts +0 -543
  60. package/types/packages/core/src/work-unit.d.ts +0 -740
  61. package/types/packages/core/src/workspace.d.ts +0 -96
@@ -1,260 +0,0 @@
1
- import * as Schema from 'effect/Schema';
2
- export declare const RunIntentConstraint: Schema.Struct<{
3
- readonly id: Schema.String;
4
- readonly text: Schema.String;
5
- readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
6
- readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
7
- readonly source: Schema.Union<readonly [Schema.Literal<"launch">, Schema.Literal<"repository">, Schema.Literal<"plan">, Schema.Literal<"parent">, Schema.Literal<"human">]>;
8
- readonly rule: Schema.optionalKey<Schema.Struct<{
9
- readonly kind: Schema.Literal<"protected_paths">;
10
- readonly globs: Schema.$Array<Schema.String>;
11
- }>>;
12
- }>;
13
- export type RunIntentConstraint = (typeof RunIntentConstraint)['Type'];
14
- /** One version of a Run's Intent, with what changed and who changed it. */
15
- export declare const RunIntentVersion: Schema.Struct<{
16
- readonly version: Schema.Int;
17
- readonly goal: Schema.String;
18
- readonly doneWhen: Schema.$Array<Schema.String>;
19
- readonly constraints: Schema.$Array<Schema.Struct<{
20
- readonly id: Schema.String;
21
- readonly text: Schema.String;
22
- readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
23
- readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
24
- readonly source: Schema.Union<readonly [Schema.Literal<"launch">, Schema.Literal<"repository">, Schema.Literal<"plan">, Schema.Literal<"parent">, Schema.Literal<"human">]>;
25
- readonly rule: Schema.optionalKey<Schema.Struct<{
26
- readonly kind: Schema.Literal<"protected_paths">;
27
- readonly globs: Schema.$Array<Schema.String>;
28
- }>>;
29
- }>>;
30
- readonly corrections: Schema.Boolean;
31
- readonly removedConstraintIds: Schema.$Array<Schema.String>;
32
- readonly change: Schema.String;
33
- readonly author: Schema.Struct<{
34
- readonly actorType: Schema.String;
35
- readonly actorId: Schema.String;
36
- }>;
37
- readonly createdAt: Schema.String;
38
- }>;
39
- export type RunIntentVersion = (typeof RunIntentVersion)['Type'];
40
- /** What a Run is held to: its current Intent and every version, oldest first. */
41
- export declare const RunIntent: Schema.Struct<{
42
- readonly runId: Schema.String;
43
- readonly current: Schema.optionalKey<Schema.Struct<{
44
- readonly version: Schema.Int;
45
- readonly goal: Schema.String;
46
- readonly doneWhen: Schema.$Array<Schema.String>;
47
- readonly constraints: Schema.$Array<Schema.Struct<{
48
- readonly id: Schema.String;
49
- readonly text: Schema.String;
50
- readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
51
- readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
52
- readonly source: Schema.Union<readonly [Schema.Literal<"launch">, Schema.Literal<"repository">, Schema.Literal<"plan">, Schema.Literal<"parent">, Schema.Literal<"human">]>;
53
- readonly rule: Schema.optionalKey<Schema.Struct<{
54
- readonly kind: Schema.Literal<"protected_paths">;
55
- readonly globs: Schema.$Array<Schema.String>;
56
- }>>;
57
- }>>;
58
- readonly corrections: Schema.Boolean;
59
- readonly removedConstraintIds: Schema.$Array<Schema.String>;
60
- readonly change: Schema.String;
61
- readonly author: Schema.Struct<{
62
- readonly actorType: Schema.String;
63
- readonly actorId: Schema.String;
64
- }>;
65
- readonly createdAt: Schema.String;
66
- }>>;
67
- readonly versions: Schema.$Array<Schema.Struct<{
68
- readonly version: Schema.Int;
69
- readonly goal: Schema.String;
70
- readonly doneWhen: Schema.$Array<Schema.String>;
71
- readonly constraints: Schema.$Array<Schema.Struct<{
72
- readonly id: Schema.String;
73
- readonly text: Schema.String;
74
- readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
75
- readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
76
- readonly source: Schema.Union<readonly [Schema.Literal<"launch">, Schema.Literal<"repository">, Schema.Literal<"plan">, Schema.Literal<"parent">, Schema.Literal<"human">]>;
77
- readonly rule: Schema.optionalKey<Schema.Struct<{
78
- readonly kind: Schema.Literal<"protected_paths">;
79
- readonly globs: Schema.$Array<Schema.String>;
80
- }>>;
81
- }>>;
82
- readonly corrections: Schema.Boolean;
83
- readonly removedConstraintIds: Schema.$Array<Schema.String>;
84
- readonly change: Schema.String;
85
- readonly author: Schema.Struct<{
86
- readonly actorType: Schema.String;
87
- readonly actorId: Schema.String;
88
- }>;
89
- readonly createdAt: Schema.String;
90
- }>>;
91
- }>;
92
- export type RunIntent = (typeof RunIntent)['Type'];
93
- export declare const RunIntentAmend: Schema.Union<readonly [Schema.Struct<{
94
- readonly kind: Schema.Literal<"set_goal">;
95
- readonly goal: Schema.String;
96
- }>, Schema.Struct<{
97
- readonly kind: Schema.Literal<"add_constraint">;
98
- /** `rule:protected_paths:<glob>[,<glob>…]` spells a rule; any other text is semantic. */
99
- readonly constraint: Schema.String;
100
- }>, Schema.Struct<{
101
- readonly kind: Schema.Literal<"remove_constraint">;
102
- readonly id: Schema.String;
103
- }>, Schema.Struct<{
104
- readonly kind: Schema.Literal<"set_corrections">;
105
- readonly on: Schema.Boolean;
106
- }>]>;
107
- export type RunIntentAmend = (typeof RunIntentAmend)['Type'];
108
- /** A constraint every Run on a repository starts with, as a person spelled it. */
109
- export declare const StandingConstraint: Schema.Struct<{
110
- readonly id: Schema.String;
111
- readonly repoBindingId: Schema.String;
112
- readonly text: Schema.String;
113
- readonly addedByUserId: Schema.String;
114
- readonly createdAt: Schema.String;
115
- }>;
116
- export type StandingConstraint = (typeof StandingConstraint)['Type'];
117
- export declare const StandingConstraintList: Schema.Struct<{
118
- readonly items: Schema.$Array<Schema.Struct<{
119
- readonly id: Schema.String;
120
- readonly repoBindingId: Schema.String;
121
- readonly text: Schema.String;
122
- readonly addedByUserId: Schema.String;
123
- readonly createdAt: Schema.String;
124
- }>>;
125
- }>;
126
- export type StandingConstraintList = (typeof StandingConstraintList)['Type'];
127
- export declare const StandingConstraintAdd: Schema.Struct<{
128
- /** `rule:protected_paths:<glob>[,<glob>…]` spells a rule; any other text is semantic. */
129
- readonly text: Schema.String;
130
- }>;
131
- export type StandingConstraintAdd = (typeof StandingConstraintAdd)['Type'];
132
- export declare const DriftResolution: Schema.Struct<{
133
- readonly status: Schema.Literals<readonly ["open", "correction_sent", "escalated", "verified", "dismissed"]>;
134
- readonly intentVersion: Schema.Int;
135
- readonly at: Schema.String;
136
- readonly reason: Schema.optionalKey<Schema.String>;
137
- readonly actor: Schema.optionalKey<Schema.Struct<{
138
- readonly actorType: Schema.String;
139
- readonly actorId: Schema.String;
140
- }>>;
141
- }>;
142
- /** What a check found against one of the Run's constraints, and its resolutions, oldest first. */
143
- export declare const DriftReport: Schema.Struct<{
144
- readonly constraintId: Schema.String;
145
- readonly constraintText: Schema.String;
146
- readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
147
- readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
148
- readonly intentVersion: Schema.Int;
149
- readonly citedPaths: Schema.$Array<Schema.String>;
150
- readonly truncated: Schema.Boolean;
151
- readonly status: Schema.Literals<readonly ["open", "correction_sent", "escalated", "verified", "dismissed"]>;
152
- readonly history: Schema.$Array<Schema.Struct<{
153
- readonly status: Schema.Literals<readonly ["open", "correction_sent", "escalated", "verified", "dismissed"]>;
154
- readonly intentVersion: Schema.Int;
155
- readonly at: Schema.String;
156
- readonly reason: Schema.optionalKey<Schema.String>;
157
- readonly actor: Schema.optionalKey<Schema.Struct<{
158
- readonly actorType: Schema.String;
159
- readonly actorId: Schema.String;
160
- }>>;
161
- }>>;
162
- }>;
163
- export type DriftReport = (typeof DriftReport)['Type'];
164
- /** An accepted agent Step's boundary: what evidence it had, and why its rules went unchecked if they did. */
165
- export declare const RunBoundary: Schema.Struct<{
166
- readonly stepAttemptId: Schema.String;
167
- readonly stepKey: Schema.String;
168
- readonly intentVersion: Schema.optionalKey<Schema.Int>;
169
- readonly evidence: Schema.optionalKey<Schema.Struct<{
170
- readonly kind: Schema.Union<readonly [Schema.Literal<"change">, Schema.Literal<"output">]>;
171
- readonly changedPaths: Schema.optionalKey<Schema.$Array<Schema.String>>;
172
- readonly truncated: Schema.Boolean;
173
- }>>;
174
- readonly uncheckedReason: Schema.optionalKey<Schema.String>;
175
- readonly createdAt: Schema.String;
176
- }>;
177
- export type RunBoundary = (typeof RunBoundary)['Type'];
178
- /** A `judge` StepAttempt's verdicts on the Run's semantic constraints, and at the finish its goal and doneWhen. */
179
- export declare const RunJudgement: Schema.Struct<{
180
- readonly id: Schema.String;
181
- readonly final: Schema.Boolean;
182
- readonly status: Schema.Literals<readonly ["queued", "running", "judged", "skipped"]>;
183
- readonly stepAttemptId: Schema.optionalKey<Schema.String>;
184
- readonly intentVersion: Schema.optionalKey<Schema.Int>;
185
- readonly constraints: Schema.optionalKey<Schema.$Array<Schema.Struct<{
186
- readonly constraintId: Schema.String;
187
- readonly verdict: Schema.Literals<readonly ["holds", "breached", "unverified"]>;
188
- readonly citations: Schema.$Array<Schema.Struct<{
189
- readonly path: Schema.String;
190
- readonly line: Schema.optionalKey<Schema.Int>;
191
- }>>;
192
- }>>>;
193
- readonly goal: Schema.optionalKey<Schema.Literals<readonly ["met", "not_met", "unverified"]>>;
194
- readonly doneWhen: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["met", "not_met", "unverified"]>>>;
195
- readonly skipReason: Schema.optionalKey<Schema.String>;
196
- readonly createdAt: Schema.String;
197
- readonly settledAt: Schema.optionalKey<Schema.String>;
198
- }>;
199
- export type RunJudgement = (typeof RunJudgement)['Type'];
200
- export declare const RunDrift: Schema.Struct<{
201
- readonly runId: Schema.String;
202
- readonly reports: Schema.$Array<Schema.Struct<{
203
- readonly constraintId: Schema.String;
204
- readonly constraintText: Schema.String;
205
- readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
206
- readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
207
- readonly intentVersion: Schema.Int;
208
- readonly citedPaths: Schema.$Array<Schema.String>;
209
- readonly truncated: Schema.Boolean;
210
- readonly status: Schema.Literals<readonly ["open", "correction_sent", "escalated", "verified", "dismissed"]>;
211
- readonly history: Schema.$Array<Schema.Struct<{
212
- readonly status: Schema.Literals<readonly ["open", "correction_sent", "escalated", "verified", "dismissed"]>;
213
- readonly intentVersion: Schema.Int;
214
- readonly at: Schema.String;
215
- readonly reason: Schema.optionalKey<Schema.String>;
216
- readonly actor: Schema.optionalKey<Schema.Struct<{
217
- readonly actorType: Schema.String;
218
- readonly actorId: Schema.String;
219
- }>>;
220
- }>>;
221
- }>>;
222
- readonly boundaries: Schema.$Array<Schema.Struct<{
223
- readonly stepAttemptId: Schema.String;
224
- readonly stepKey: Schema.String;
225
- readonly intentVersion: Schema.optionalKey<Schema.Int>;
226
- readonly evidence: Schema.optionalKey<Schema.Struct<{
227
- readonly kind: Schema.Union<readonly [Schema.Literal<"change">, Schema.Literal<"output">]>;
228
- readonly changedPaths: Schema.optionalKey<Schema.$Array<Schema.String>>;
229
- readonly truncated: Schema.Boolean;
230
- }>>;
231
- readonly uncheckedReason: Schema.optionalKey<Schema.String>;
232
- readonly createdAt: Schema.String;
233
- }>>;
234
- /** Oldest first. */
235
- readonly judgements: Schema.$Array<Schema.Struct<{
236
- readonly id: Schema.String;
237
- readonly final: Schema.Boolean;
238
- readonly status: Schema.Literals<readonly ["queued", "running", "judged", "skipped"]>;
239
- readonly stepAttemptId: Schema.optionalKey<Schema.String>;
240
- readonly intentVersion: Schema.optionalKey<Schema.Int>;
241
- readonly constraints: Schema.optionalKey<Schema.$Array<Schema.Struct<{
242
- readonly constraintId: Schema.String;
243
- readonly verdict: Schema.Literals<readonly ["holds", "breached", "unverified"]>;
244
- readonly citations: Schema.$Array<Schema.Struct<{
245
- readonly path: Schema.String;
246
- readonly line: Schema.optionalKey<Schema.Int>;
247
- }>>;
248
- }>>>;
249
- readonly goal: Schema.optionalKey<Schema.Literals<readonly ["met", "not_met", "unverified"]>>;
250
- readonly doneWhen: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["met", "not_met", "unverified"]>>>;
251
- readonly skipReason: Schema.optionalKey<Schema.String>;
252
- readonly createdAt: Schema.String;
253
- readonly settledAt: Schema.optionalKey<Schema.String>;
254
- }>>;
255
- }>;
256
- export type RunDrift = (typeof RunDrift)['Type'];
257
- export declare const RunDriftDismiss: Schema.Struct<{
258
- readonly reason: Schema.String;
259
- }>;
260
- export type RunDriftDismiss = (typeof RunDriftDismiss)['Type'];
@@ -1,10 +0,0 @@
1
- import * as Schema from 'effect/Schema';
2
- export declare const decodeJsonString: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<Schema.Json, Schema.SchemaError, never>;
3
- export declare const decodeJsonStringOption: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Option").Option<Schema.Json>;
4
- export declare const encodeJsonStringSync: (input: Schema.Json, options?: import("effect/SchemaAST").ParseOptions) => string;
5
- /** Two-space indented JSON text, for files people read. */
6
- export declare const encodePrettyJsonString: (input: Schema.Json, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<string, Schema.SchemaError, never>;
7
- /** Decodes JSON text, throwing on invalid input; for code that runs outside an Effect. */
8
- export declare const decodeJsonStringSync: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Schema.Json;
9
- /** JSON text for a value of any shape (diagnostics and assertions); `JSON.stringify` semantics. */
10
- export declare const encodeUnknownJsonStringSync: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string;
@@ -1,21 +0,0 @@
1
- import type { KitCreate } from './kit';
2
- type SimplifiedKitDefinition = KitCreate & {
3
- readonly slug: string;
4
- readonly marketplace: {
5
- readonly visibility: 'public';
6
- readonly trusted: true;
7
- readonly reviewStatus: 'approved';
8
- readonly installable: true;
9
- };
10
- };
11
- export declare const ComplianceKitSections: {
12
- readonly 'privacy-ai-governance': readonly ['ai-inventory', 'aia-generation', 'pia-generation', 'use-case-triage', 'dsar-response', 'policy-monitor', 'policy-diff', 'policy-redraft', 'policy-drafting', 'policy-starter', 'reg-feed-watcher', 'reg-gap-analysis', 'gaps', 'comments', 'launch-review', 'feature-risk-assessment'];
13
- readonly 'commercial-legal': readonly ['nda-review', 'saas-msa-review', 'vendor-agreement-review', 'vendor-ai-review', 'dpa-review', 'material-contract-schedule', 'diligence-issue-extraction', 'closing-checklist', 'renewal-tracker', 'stakeholder-summary', 'amendment-history'];
14
- readonly 'legal-operations': readonly ['matter-intake', 'matter-briefing', 'matter-update', 'matter-close', 'matter-workspace', 'chronology', 'deadlines', 'client-letter', 'client-intake', 'review', 'memo', 'legal-writing', 'research-start', 'status', 'pdf'];
15
- readonly 'litigation-investigations': readonly ['demand-intake', 'demand-draft', 'demand-received', 'cease-desist', 'subpoena-triage', 'deposition-prep', 'privilege-log-review', 'legal-hold', 'claim-chart', 'brief-section-drafter', 'investigation-open', 'investigation-add', 'investigation-query', 'investigation-memo', 'investigation-summary'];
16
- readonly 'legal-education': readonly ['bar-prep-questions', 'case-brief', 'cold-call-prep', 'exam-forecast', 'flashcards', 'irac-practice', 'outline-builder', 'session', 'socratic-drill', 'study-plan', 'ramp', 'semester-handoff', 'supervisor-review-queue', 'build-guide'];
17
- readonly 'claims-review': readonly ['marketing-claims-review'];
18
- };
19
- export declare const SimplifiedKitTaxonomy: readonly [SimplifiedKitDefinition, SimplifiedKitDefinition, SimplifiedKitDefinition, SimplifiedKitDefinition, SimplifiedKitDefinition, SimplifiedKitDefinition];
20
- export declare const SimplifiedKitSlugs: string[];
21
- export {};